@everymatrix/cashier-method-details 1.85.23 → 1.86.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. package/components/{CashierError-D1eXSPCU.cjs → CashierError-0ryZiOME.cjs} +5 -5
  2. package/components/{CashierError-a_fg14Ao.js → CashierError-KZG3X_VW.js} +632 -655
  3. package/components/{CashierError-BhvXibYp.js → CashierError-qzZcJhp7.js} +664 -687
  4. package/components/{CashierMethodDetails-CyESQ02E.js → CashierMethodDetails-Ci_KcLF2.js} +2229 -2208
  5. package/components/{CashierMethodDetails-DGS2bnlD.js → CashierMethodDetails-DiIuR1qE.js} +2141 -2120
  6. package/components/CashierMethodDetails-DqgFo-Zf.cjs +100 -0
  7. package/components/{CashierModal-BYpgx6QJ.js → CashierModal-DHyc4Yo0.js} +1 -1
  8. package/components/{CashierModal-Chx6_FMq.cjs → CashierModal-DeCFU_ep.cjs} +1 -1
  9. package/components/{CashierModal-DG7GJYM8.js → CashierModal-m7cXuxT1.js} +1 -1
  10. package/components/{CashierNotifications-BRaNYGz7.js → CashierNotifications-Bo4IAEf_.js} +1 -1
  11. package/components/{CashierNotifications-CUXgbtIZ.js → CashierNotifications-DGAnrrsp.js} +1 -1
  12. package/components/{CashierNotifications-B4KaGVBQ.cjs → CashierNotifications-DTeolEy1.cjs} +1 -1
  13. package/components/{CashierReceiptPage-sQj-rgas.js → CashierReceiptPage-BOqnf35Q.js} +2 -2
  14. package/components/{CashierReceiptPage-Dgl6FZak.cjs → CashierReceiptPage-BiPrXfCL.cjs} +1 -1
  15. package/components/{CashierReceiptPage-ONfK_iKE.js → CashierReceiptPage-CoCpQjJ1.js} +2 -2
  16. package/es2015/cashier-method-details.cjs +1 -1
  17. package/es2015/cashier-method-details.js +1 -1
  18. package/esnext/cashier-method-details.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CashierMethodDetails-DEvP7akh.cjs +0 -100
@@ -1,17 +1,17 @@
1
1
  var Ar = Object.defineProperty, Pr = Object.defineProperties;
2
2
  var Or = Object.getOwnPropertyDescriptors;
3
- var mt = Object.getOwnPropertySymbols;
4
- var Cr = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable;
5
- var Ue = (e, t, r) => t in e ? Ar(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
3
+ var ft = Object.getOwnPropertySymbols;
4
+ var Ir = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable;
5
+ var Ue = (e, t, r) => t in e ? Ar(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Cr.call(t, r) && Ue(e, r, t[r]);
8
- if (mt)
9
- for (var r of mt(t))
10
- Ir.call(t, r) && Ue(e, r, t[r]);
7
+ Ir.call(t, r) && Ue(e, r, t[r]);
8
+ if (ft)
9
+ for (var r of ft(t))
10
+ Cr.call(t, r) && Ue(e, r, t[r]);
11
11
  return e;
12
- }, pt = (e, t) => Pr(e, Or(t));
12
+ }, dt = (e, t) => Pr(e, Or(t));
13
13
  var B = (e, t, r) => (Ue(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var gt = (e, t, r) => new Promise((n, i) => {
14
+ var pt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -30,7 +30,7 @@ var gt = (e, t, r) => new Promise((n, i) => {
30
30
  import "../stencil/ui-image-CP8Lp7fB.js";
31
31
  function A() {
32
32
  }
33
- const Gt = (e) => e;
33
+ const Ut = (e) => e;
34
34
  function Mr(e, t) {
35
35
  for (const r in t)
36
36
  e[r] = t[r];
@@ -39,24 +39,24 @@ function Mr(e, t) {
39
39
  e
40
40
  );
41
41
  }
42
- function Ft(e) {
42
+ function Gt(e) {
43
43
  return e();
44
44
  }
45
- function bt() {
45
+ function gt() {
46
46
  return /* @__PURE__ */ Object.create(null);
47
47
  }
48
48
  function U(e) {
49
- e.forEach(Ft);
49
+ e.forEach(Gt);
50
50
  }
51
51
  function ce(e) {
52
52
  return typeof e == "function";
53
53
  }
54
- function jt(e, t) {
54
+ function Ft(e, t) {
55
55
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
56
56
  }
57
- let ge;
58
- function yt(e, t) {
59
- return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
57
+ let pe;
58
+ function bt(e, t) {
59
+ return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
60
60
  }
61
61
  function Nr(e) {
62
62
  return Object.keys(e).length === 0;
@@ -70,23 +70,23 @@ function at(e, ...t) {
70
70
  const r = e.subscribe(...t);
71
71
  return r.unsubscribe ? () => r.unsubscribe() : r;
72
72
  }
73
- function fs(e) {
73
+ function cs(e) {
74
74
  let t;
75
75
  return at(e, (r) => t = r)(), t;
76
76
  }
77
77
  function Lr(e, t, r) {
78
78
  e.$$.on_destroy.push(at(t, r));
79
79
  }
80
- function be(e, t, r, n) {
80
+ function ge(e, t, r, n) {
81
81
  if (e) {
82
- const i = zt(e, t, r, n);
82
+ const i = jt(e, t, r, n);
83
83
  return e[0](i);
84
84
  }
85
85
  }
86
- function zt(e, t, r, n) {
86
+ function jt(e, t, r, n) {
87
87
  return e[1] && n ? Mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
88
88
  }
89
- function ye(e, t, r, n) {
89
+ function be(e, t, r, n) {
90
90
  if (e[2] && n) {
91
91
  const i = e[2](n(r));
92
92
  if (t.dirty === void 0)
@@ -101,13 +101,13 @@ function ye(e, t, r, n) {
101
101
  }
102
102
  return t.dirty;
103
103
  }
104
- function _e(e, t, r, n, i, s) {
104
+ function ye(e, t, r, n, i, s) {
105
105
  if (i) {
106
- const o = zt(t, r, n, s);
106
+ const o = jt(t, r, n, s);
107
107
  e.p(o, i);
108
108
  }
109
109
  }
110
- function ve(e) {
110
+ function _e(e) {
111
111
  if (e.ctx.length > 32) {
112
112
  const t = [], r = e.ctx.length / 32;
113
113
  for (let n = 0; n < r; n++)
@@ -116,37 +116,37 @@ function ve(e) {
116
116
  }
117
117
  return -1;
118
118
  }
119
- const Vt = typeof window != "undefined";
120
- let Xt = Vt ? () => window.performance.now() : () => Date.now(), ut = Vt ? (e) => requestAnimationFrame(e) : A;
121
- const J = /* @__PURE__ */ new Set();
122
- function Wt(e) {
123
- J.forEach((t) => {
124
- t.c(e) || (J.delete(t), t.f());
125
- }), J.size !== 0 && ut(Wt);
119
+ const zt = typeof window != "undefined";
120
+ let Vt = zt ? () => window.performance.now() : () => Date.now(), ut = zt ? (e) => requestAnimationFrame(e) : A;
121
+ const W = /* @__PURE__ */ new Set();
122
+ function Xt(e) {
123
+ W.forEach((t) => {
124
+ t.c(e) || (W.delete(t), t.f());
125
+ }), W.size !== 0 && ut(Xt);
126
126
  }
127
- function Zt(e) {
127
+ function Wt(e) {
128
128
  let t;
129
- return J.size === 0 && ut(Wt), {
129
+ return W.size === 0 && ut(Xt), {
130
130
  promise: new Promise((r) => {
131
- J.add(t = { c: e, f: r });
131
+ W.add(t = { c: e, f: r });
132
132
  }),
133
133
  abort() {
134
- J.delete(t);
134
+ W.delete(t);
135
135
  }
136
136
  };
137
137
  }
138
- const ms = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
138
+ const fs = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
139
139
  // @ts-ignore Node typings have this
140
140
  global
141
141
  );
142
- function N(e, t) {
142
+ function L(e, t) {
143
143
  e.appendChild(t);
144
144
  }
145
145
  function $r(e, t, r) {
146
146
  const n = lt(e);
147
147
  if (!n.getElementById(t)) {
148
- const i = P("style");
149
- i.id = t, i.textContent = r, Jt(n, i);
148
+ const i = M("style");
149
+ i.id = t, i.textContent = r, Zt(n, i);
150
150
  }
151
151
  }
152
152
  function lt(e) {
@@ -160,87 +160,87 @@ function lt(e) {
160
160
  ) : e.ownerDocument;
161
161
  }
162
162
  function Rr(e) {
163
- const t = P("style");
164
- return t.textContent = "/* empty */", Jt(lt(e), t), t.sheet;
163
+ const t = M("style");
164
+ return t.textContent = "/* empty */", Zt(lt(e), t), t.sheet;
165
165
  }
166
- function Jt(e, t) {
167
- return N(
166
+ function Zt(e, t) {
167
+ return L(
168
168
  /** @type {Document} */
169
169
  e.head || e,
170
170
  t
171
171
  ), t.sheet;
172
172
  }
173
- function j(e, t, r) {
173
+ function ee(e, t, r) {
174
174
  e.insertBefore(t, r || null);
175
175
  }
176
- function L(e) {
176
+ function $(e) {
177
177
  e.parentNode && e.parentNode.removeChild(e);
178
178
  }
179
- function ds(e, t) {
179
+ function ms(e, t) {
180
180
  for (let r = 0; r < e.length; r += 1)
181
181
  e[r] && e[r].d(t);
182
182
  }
183
- function P(e) {
183
+ function M(e) {
184
184
  return document.createElement(e);
185
185
  }
186
- function ps(e) {
186
+ function ds(e) {
187
187
  return document.createElementNS("http://www.w3.org/2000/svg", e);
188
188
  }
189
- function fe(e) {
189
+ function Le(e) {
190
190
  return document.createTextNode(e);
191
191
  }
192
192
  function Ge() {
193
- return fe(" ");
193
+ return Le(" ");
194
194
  }
195
195
  function Dr() {
196
- return fe("");
196
+ return Le("");
197
197
  }
198
198
  function Je(e, t, r, n) {
199
199
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
200
200
  }
201
- function gs(e) {
201
+ function ps(e) {
202
202
  return function(t) {
203
203
  return t.preventDefault(), e.call(this, t);
204
204
  };
205
205
  }
206
- function F(e, t, r) {
206
+ function J(e, t, r) {
207
207
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
208
208
  }
209
- function Ee(e, t, r) {
209
+ function ve(e, t, r) {
210
210
  const n = t.toLowerCase();
211
- 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);
211
+ 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);
212
212
  }
213
- function bs(e) {
213
+ function gs(e) {
214
214
  return e === "" ? null : +e;
215
215
  }
216
216
  function kr(e) {
217
217
  return Array.from(e.childNodes);
218
218
  }
219
- function ht(e, t) {
219
+ function Jt(e, t) {
220
220
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
221
221
  t);
222
222
  }
223
- function ys(e, t) {
223
+ function bs(e, t) {
224
224
  e.value = t == null ? "" : t;
225
225
  }
226
- function _s(e, t, r, n) {
226
+ function ys(e, t, r, n) {
227
227
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
228
228
  }
229
- let xe;
229
+ let Ee;
230
230
  function Ur() {
231
- if (xe === void 0) {
232
- xe = !1;
231
+ if (Ee === void 0) {
232
+ Ee = !1;
233
233
  try {
234
234
  typeof window != "undefined" && window.parent && window.parent.document;
235
235
  } catch (e) {
236
- xe = !0;
236
+ Ee = !0;
237
237
  }
238
238
  }
239
- return xe;
239
+ return Ee;
240
240
  }
241
- function vs(e, t) {
241
+ function _s(e, t) {
242
242
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
243
- const n = P("iframe");
243
+ const n = M("iframe");
244
244
  n.setAttribute(
245
245
  "style",
246
246
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
@@ -256,11 +256,11 @@ function vs(e, t) {
256
256
  }
257
257
  )) : (n.src = "about:blank", n.onload = () => {
258
258
  s = Je(n.contentWindow, "resize", t), t();
259
- }), N(e, n), () => {
260
- (i || s && n.contentWindow) && s(), L(n);
259
+ }), L(e, n), () => {
260
+ (i || s && n.contentWindow) && s(), $(n);
261
261
  };
262
262
  }
263
- function Es(e, t, r) {
263
+ function vs(e, t, r) {
264
264
  e.classList.toggle(t, !!r);
265
265
  }
266
266
  function Gr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
@@ -275,8 +275,8 @@ function Fr(e) {
275
275
  }
276
276
  ), t;
277
277
  }
278
- const Pe = /* @__PURE__ */ new Map();
279
- let Oe = 0;
278
+ const Ae = /* @__PURE__ */ new Map();
279
+ let Pe = 0;
280
280
  function jr(e) {
281
281
  let t = 5381, r = e.length;
282
282
  for (; r--; )
@@ -285,36 +285,36 @@ function jr(e) {
285
285
  }
286
286
  function zr(e, t) {
287
287
  const r = { stylesheet: Rr(t), rules: {} };
288
- return Pe.set(e, r), r;
288
+ return Ae.set(e, r), r;
289
289
  }
290
290
  function qt(e, t, r, n, i, s, o, a = 0) {
291
291
  const h = 16.666 / n;
292
292
  let u = `{
293
293
  `;
294
294
  for (let E = 0; E <= 1; E += h) {
295
- const x = t + (r - t) * s(E);
296
- u += E * 100 + `%{${o(x, 1 - x)}}
295
+ const _ = t + (r - t) * s(E);
296
+ u += E * 100 + `%{${o(_, 1 - _)}}
297
297
  `;
298
298
  }
299
299
  const l = u + `100% {${o(r, 1 - r)}}
300
- }`, f = `__svelte_${jr(l)}_${a}`, c = lt(e), { stylesheet: d, rules: g } = Pe.get(c) || zr(c, e);
301
- g[f] || (g[f] = !0, d.insertRule(`@keyframes ${f} ${l}`, d.cssRules.length));
300
+ }`, c = `__svelte_${jr(l)}_${a}`, m = lt(e), { stylesheet: d, rules: p } = Ae.get(m) || zr(m, e);
301
+ p[c] || (p[c] = !0, d.insertRule(`@keyframes ${c} ${l}`, d.cssRules.length));
302
302
  const b = e.style.animation || "";
303
- return e.style.animation = `${b ? `${b}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Oe += 1, f;
303
+ return e.style.animation = `${b ? `${b}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Pe += 1, c;
304
304
  }
305
305
  function qe(e, t) {
306
306
  const r = (e.style.animation || "").split(", "), n = r.filter(
307
307
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
308
308
  // remove all Svelte animations
309
309
  ), i = r.length - n.length;
310
- i && (e.style.animation = n.join(", "), Oe -= i, Oe || Vr());
310
+ i && (e.style.animation = n.join(", "), Pe -= i, Pe || Vr());
311
311
  }
312
312
  function Vr() {
313
313
  ut(() => {
314
- Oe || (Pe.forEach((e) => {
314
+ Pe || (Ae.forEach((e) => {
315
315
  const { ownerNode: t } = e.stylesheet;
316
- t && L(t);
317
- }), Pe.clear());
316
+ t && $(t);
317
+ }), Ae.clear());
318
318
  });
319
319
  }
320
320
  let ae;
@@ -329,48 +329,48 @@ function Xr() {
329
329
  function Wr(e) {
330
330
  Xr().$$.on_mount.push(e);
331
331
  }
332
- function xs(e, t) {
332
+ function Es(e, t) {
333
333
  const r = e.$$.callbacks[t.type];
334
334
  r && r.slice().forEach((n) => n.call(this, t));
335
335
  }
336
- const W = [], Qe = [];
337
- let q = [];
338
- const _t = [], Qt = /* @__PURE__ */ Promise.resolve();
336
+ const V = [], Qe = [];
337
+ let Z = [];
338
+ const yt = [], Qt = /* @__PURE__ */ Promise.resolve();
339
339
  let Ye = !1;
340
340
  function Yt() {
341
- Ye || (Ye = !0, Qt.then($));
341
+ Ye || (Ye = !0, Qt.then(N));
342
342
  }
343
- function ws() {
343
+ function xs() {
344
344
  return Yt(), Qt;
345
345
  }
346
346
  function ue(e) {
347
- q.push(e);
347
+ Z.push(e);
348
348
  }
349
349
  const Fe = /* @__PURE__ */ new Set();
350
- let V = 0;
351
- function $() {
352
- if (V !== 0)
350
+ let j = 0;
351
+ function N() {
352
+ if (j !== 0)
353
353
  return;
354
354
  const e = ae;
355
355
  do {
356
356
  try {
357
- for (; V < W.length; ) {
358
- const t = W[V];
359
- V++, oe(t), Zr(t.$$);
357
+ for (; j < V.length; ) {
358
+ const t = V[j];
359
+ j++, oe(t), Zr(t.$$);
360
360
  }
361
361
  } catch (t) {
362
- throw W.length = 0, V = 0, t;
362
+ throw V.length = 0, j = 0, t;
363
363
  }
364
- for (oe(null), W.length = 0, V = 0; Qe.length; )
364
+ for (oe(null), V.length = 0, j = 0; Qe.length; )
365
365
  Qe.pop()();
366
- for (let t = 0; t < q.length; t += 1) {
367
- const r = q[t];
366
+ for (let t = 0; t < Z.length; t += 1) {
367
+ const r = Z[t];
368
368
  Fe.has(r) || (Fe.add(r), r());
369
369
  }
370
- q.length = 0;
371
- } while (W.length);
372
- for (; _t.length; )
373
- _t.pop()();
370
+ Z.length = 0;
371
+ } while (V.length);
372
+ for (; yt.length; )
373
+ yt.pop()();
374
374
  Ye = !1, Fe.clear(), oe(e);
375
375
  }
376
376
  function Zr(e) {
@@ -382,7 +382,7 @@ function Zr(e) {
382
382
  }
383
383
  function Jr(e) {
384
384
  const t = [], r = [];
385
- q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
385
+ Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
386
386
  }
387
387
  let ne;
388
388
  function Kt() {
@@ -390,12 +390,12 @@ function Kt() {
390
390
  ne = null;
391
391
  })), ne;
392
392
  }
393
- function Ce(e, t, r) {
393
+ function Oe(e, t, r) {
394
394
  e.dispatchEvent(Gr(`${t ? "intro" : "outro"}${r}`));
395
395
  }
396
- const He = /* @__PURE__ */ new Set();
396
+ const Te = /* @__PURE__ */ new Set();
397
397
  let D;
398
- function Ts() {
398
+ function ws() {
399
399
  D = {
400
400
  r: 0,
401
401
  c: [],
@@ -403,24 +403,24 @@ function Ts() {
403
403
  // parent group
404
404
  };
405
405
  }
406
- function Hs() {
406
+ function Ts() {
407
407
  D.r || U(D.c), D = D.p;
408
408
  }
409
- function Z(e, t) {
410
- e && e.i && (He.delete(e), e.i(t));
409
+ function X(e, t) {
410
+ e && e.i && (Te.delete(e), e.i(t));
411
411
  }
412
- function we(e, t, r, n) {
412
+ function xe(e, t, r, n) {
413
413
  if (e && e.o) {
414
- if (He.has(e))
414
+ if (Te.has(e))
415
415
  return;
416
- He.add(e), D.c.push(() => {
417
- He.delete(e), n && (r && e.d(1), n());
416
+ Te.add(e), D.c.push(() => {
417
+ Te.delete(e), n && (r && e.d(1), n());
418
418
  }), e.o(t);
419
419
  } else
420
420
  n && n();
421
421
  }
422
422
  const er = { duration: 0 };
423
- function Ss(e, t, r) {
423
+ function Hs(e, t, r) {
424
424
  const n = { direction: "in" };
425
425
  let i = t(e, r, n), s = !1, o, a, h = 0;
426
426
  function u() {
@@ -428,40 +428,40 @@ function Ss(e, t, r) {
428
428
  }
429
429
  function l() {
430
430
  const {
431
- delay: c = 0,
431
+ delay: m = 0,
432
432
  duration: d = 300,
433
- easing: g = Gt,
433
+ easing: p = Ut,
434
434
  tick: b = A,
435
435
  css: E
436
436
  } = i || er;
437
- E && (o = qt(e, 0, 1, d, c, g, E, h++)), b(0, 1);
438
- const x = Xt() + c, p = x + d;
439
- a && a.abort(), s = !0, ue(() => Ce(e, !0, "start")), a = Zt((m) => {
437
+ E && (o = qt(e, 0, 1, d, m, p, E, h++)), b(0, 1);
438
+ const _ = Vt() + m, f = _ + d;
439
+ a && a.abort(), s = !0, ue(() => Oe(e, !0, "start")), a = Wt((g) => {
440
440
  if (s) {
441
- if (m >= p)
442
- return b(1, 0), Ce(e, !0, "end"), u(), s = !1;
443
- if (m >= x) {
444
- const v = g((m - x) / d);
445
- b(v, 1 - v);
441
+ if (g >= f)
442
+ return b(1, 0), Oe(e, !0, "end"), u(), s = !1;
443
+ if (g >= _) {
444
+ const S = p((g - _) / d);
445
+ b(S, 1 - S);
446
446
  }
447
447
  }
448
448
  return s;
449
449
  });
450
450
  }
451
- let f = !1;
451
+ let c = !1;
452
452
  return {
453
453
  start() {
454
- f || (f = !0, qe(e), ce(i) ? (i = i(n), Kt().then(l)) : l());
454
+ c || (c = !0, qe(e), ce(i) ? (i = i(n), Kt().then(l)) : l());
455
455
  },
456
456
  invalidate() {
457
- f = !1;
457
+ c = !1;
458
458
  },
459
459
  end() {
460
460
  s && (u(), s = !1);
461
461
  }
462
462
  };
463
463
  }
464
- function Bs(e, t, r) {
464
+ function Ss(e, t, r) {
465
465
  const n = { direction: "out" };
466
466
  let i = t(e, r, n), s = !0, o;
467
467
  const a = D;
@@ -470,21 +470,21 @@ function Bs(e, t, r) {
470
470
  function u() {
471
471
  const {
472
472
  delay: l = 0,
473
- duration: f = 300,
474
- easing: c = Gt,
473
+ duration: c = 300,
474
+ easing: m = Ut,
475
475
  tick: d = A,
476
- css: g
476
+ css: p
477
477
  } = i || er;
478
- g && (o = qt(e, 1, 0, f, l, c, g));
479
- const b = Xt() + l, E = b + f;
480
- ue(() => Ce(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
481
- e.inert, e.inert = !0), Zt((x) => {
478
+ p && (o = qt(e, 1, 0, c, l, m, p));
479
+ const b = Vt() + l, E = b + c;
480
+ ue(() => Oe(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
481
+ e.inert, e.inert = !0), Wt((_) => {
482
482
  if (s) {
483
- if (x >= E)
484
- return d(0, 1), Ce(e, !1, "end"), --a.r || U(a.c), !1;
485
- if (x >= b) {
486
- const p = c((x - b) / f);
487
- d(1 - p, p);
483
+ if (_ >= E)
484
+ return d(0, 1), Oe(e, !1, "end"), --a.r || U(a.c), !1;
485
+ if (_ >= b) {
486
+ const f = m((_ - b) / c);
487
+ d(1 - f, f);
488
488
  }
489
489
  }
490
490
  return s;
@@ -498,43 +498,43 @@ function Bs(e, t, r) {
498
498
  }
499
499
  };
500
500
  }
501
- function As(e) {
501
+ function Bs(e) {
502
502
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
503
503
  }
504
- function Ps(e, t) {
504
+ function As(e, t) {
505
505
  e.d(1), t.delete(e.key);
506
506
  }
507
- function Os(e, t, r, n, i, s, o, a, h, u, l, f) {
508
- let c = e.length, d = s.length, g = c;
507
+ function Ps(e, t, r, n, i, s, o, a, h, u, l, c) {
508
+ let m = e.length, d = s.length, p = m;
509
509
  const b = {};
510
- for (; g--; )
511
- b[e[g].key] = g;
512
- const E = [], x = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), m = [];
513
- for (g = d; g--; ) {
514
- const H = f(i, s, g), C = r(H);
515
- let I = o.get(C);
516
- I ? m.push(() => I.p(H, t)) : (I = u(C, H), I.c()), x.set(C, E[g] = I), C in b && p.set(C, Math.abs(g - b[C]));
510
+ for (; p--; )
511
+ b[e[p].key] = p;
512
+ const E = [], _ = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Map(), g = [];
513
+ for (p = d; p--; ) {
514
+ const T = c(i, s, p), O = r(T);
515
+ let I = o.get(O);
516
+ I ? g.push(() => I.p(T, t)) : (I = u(O, T), I.c()), _.set(O, E[p] = I), O in b && f.set(O, Math.abs(p - b[O]));
517
517
  }
518
- const v = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
519
- function R(H) {
520
- Z(H, 1), H.m(a, l), o.set(H.key, H), l = H.first, d--;
518
+ const S = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
519
+ function R(T) {
520
+ X(T, 1), T.m(a, l), o.set(T.key, T), l = T.first, d--;
521
521
  }
522
- for (; c && d; ) {
523
- const H = E[d - 1], C = e[c - 1], I = H.key, pe = C.key;
524
- H === C ? (l = H.first, c--, d--) : x.has(pe) ? !o.has(I) || v.has(I) ? R(H) : O.has(pe) ? c-- : p.get(I) > p.get(pe) ? (O.add(I), R(H)) : (v.add(pe), c--) : (h(C, o), c--);
522
+ for (; m && d; ) {
523
+ const T = E[d - 1], O = e[m - 1], I = T.key, de = O.key;
524
+ T === O ? (l = T.first, m--, d--) : _.has(de) ? !o.has(I) || S.has(I) ? R(T) : P.has(de) ? m-- : f.get(I) > f.get(de) ? (P.add(I), R(T)) : (S.add(de), m--) : (h(O, o), m--);
525
525
  }
526
- for (; c--; ) {
527
- const H = e[c];
528
- x.has(H.key) || h(H, o);
526
+ for (; m--; ) {
527
+ const T = e[m];
528
+ _.has(T.key) || h(T, o);
529
529
  }
530
530
  for (; d; )
531
531
  R(E[d - 1]);
532
- return U(m), E;
532
+ return U(g), E;
533
533
  }
534
534
  function qr(e, t, r) {
535
535
  const { fragment: n, after_update: i } = e.$$;
536
536
  n && n.m(t, r), ue(() => {
537
- const s = e.$$.on_mount.map(Ft).filter(ce);
537
+ const s = e.$$.on_mount.map(Gt).filter(ce);
538
538
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : U(s), e.$$.on_mount = [];
539
539
  }), i.forEach(ue);
540
540
  }
@@ -543,7 +543,7 @@ function Qr(e, t) {
543
543
  r.fragment !== null && (Jr(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
544
544
  }
545
545
  function Yr(e, t) {
546
- e.$$.dirty[0] === -1 && (W.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
546
+ e.$$.dirty[0] === -1 && (V.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
547
547
  }
548
548
  function Kr(e, t, r, n, i, s, o = null, a = [-1]) {
549
549
  const h = ae;
@@ -555,7 +555,7 @@ function Kr(e, t, r, n, i, s, o = null, a = [-1]) {
555
555
  props: s,
556
556
  update: A,
557
557
  not_equal: i,
558
- bound: bt(),
558
+ bound: gt(),
559
559
  // lifecycle
560
560
  on_mount: [],
561
561
  on_destroy: [],
@@ -564,23 +564,23 @@ function Kr(e, t, r, n, i, s, o = null, a = [-1]) {
564
564
  after_update: [],
565
565
  context: new Map(t.context || (h ? h.$$.context : [])),
566
566
  // everything else
567
- callbacks: bt(),
567
+ callbacks: gt(),
568
568
  dirty: a,
569
569
  skip_bound: !1,
570
570
  root: t.target || h.$$.root
571
571
  };
572
572
  o && o(u.root);
573
573
  let l = !1;
574
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
575
- const g = d.length ? d[0] : c;
576
- return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), l && Yr(e, f)), c;
574
+ if (u.ctx = r ? r(e, t.props || {}, (c, m, ...d) => {
575
+ const p = d.length ? d[0] : m;
576
+ return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && Yr(e, c)), m;
577
577
  }) : [], u.update(), l = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
578
578
  if (t.hydrate) {
579
- const f = kr(t.target);
580
- u.fragment && u.fragment.l(f), f.forEach(L);
579
+ const c = kr(t.target);
580
+ u.fragment && u.fragment.l(c), c.forEach($);
581
581
  } else
582
582
  u.fragment && u.fragment.c();
583
- t.intro && Z(e.$$.fragment), qr(e, t.target, t.anchor), $();
583
+ t.intro && X(e.$$.fragment), qr(e, t.target, t.anchor), N();
584
584
  }
585
585
  oe(h);
586
586
  }
@@ -622,24 +622,24 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
622
622
  }
623
623
  }
624
624
  connectedCallback() {
625
- return gt(this, null, function* () {
625
+ return pt(this, null, function* () {
626
626
  if (this.$$cn = !0, !this.$$c) {
627
627
  let t = function(s) {
628
628
  return () => {
629
629
  let o;
630
630
  return {
631
631
  c: function() {
632
- o = P("slot"), s !== "default" && F(o, "name", s);
632
+ o = M("slot"), s !== "default" && J(o, "name", s);
633
633
  },
634
634
  /**
635
635
  * @param {HTMLElement} target
636
636
  * @param {HTMLElement} [anchor]
637
637
  */
638
638
  m: function(u, l) {
639
- j(u, o, l);
639
+ ee(u, o, l);
640
640
  },
641
641
  d: function(u) {
642
- u && L(o);
642
+ u && $(o);
643
643
  }
644
644
  };
645
645
  };
@@ -651,13 +651,13 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
651
651
  s in n && (r[s] = [t(s)]);
652
652
  for (const s of this.attributes) {
653
653
  const o = this.$$g_p(s.name);
654
- o in this.$$d || (this.$$d[o] = Se(o, s.value, this.$$p_d, "toProp"));
654
+ o in this.$$d || (this.$$d[o] = He(o, s.value, this.$$p_d, "toProp"));
655
655
  }
656
656
  for (const s in this.$$p_d)
657
657
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
658
658
  this.$$c = new this.$$ctor({
659
659
  target: this.shadowRoot || this,
660
- props: pt(dt({}, this.$$d), {
660
+ props: dt(mt({}, this.$$d), {
661
661
  $$slots: r,
662
662
  $$scope: {
663
663
  ctx: []
@@ -668,7 +668,7 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
668
668
  this.$$r = !0;
669
669
  for (const s in this.$$p_d)
670
670
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
671
- const o = Se(
671
+ const o = He(
672
672
  s,
673
673
  this.$$d[s],
674
674
  this.$$p_d,
@@ -692,7 +692,7 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
692
692
  // and setting attributes through setAttribute etc, this is helpful
693
693
  attributeChangedCallback(t, r, n) {
694
694
  var i;
695
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Se(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
695
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = He(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
696
696
  }
697
697
  disconnectedCallback() {
698
698
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -705,7 +705,7 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
705
705
  ) || t;
706
706
  }
707
707
  });
708
- function Se(e, t, r, n) {
708
+ function He(e, t, r, n) {
709
709
  var s;
710
710
  const i = (s = r[e]) == null ? void 0 : s.type;
711
711
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -753,7 +753,7 @@ function en(e, t, r, n, i, s) {
753
753
  },
754
754
  set(h) {
755
755
  var u;
756
- h = Se(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
756
+ h = He(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
757
757
  }
758
758
  });
759
759
  }), n.forEach((a) => {
@@ -814,7 +814,7 @@ class tn {
814
814
  }
815
815
  const rn = "4";
816
816
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rn);
817
- const X = [];
817
+ const z = [];
818
818
  function nn(e, t) {
819
819
  return {
820
820
  subscribe: $e(e, t).subscribe
@@ -824,14 +824,14 @@ function $e(e, t = A) {
824
824
  let r;
825
825
  const n = /* @__PURE__ */ new Set();
826
826
  function i(a) {
827
- if (jt(e, a) && (e = a, r)) {
828
- const h = !X.length;
827
+ if (Ft(e, a) && (e = a, r)) {
828
+ const h = !z.length;
829
829
  for (const u of n)
830
- u[1](), X.push(u, e);
830
+ u[1](), z.push(u, e);
831
831
  if (h) {
832
- for (let u = 0; u < X.length; u += 2)
833
- X[u][0](X[u + 1]);
834
- X.length = 0;
832
+ for (let u = 0; u < z.length; u += 2)
833
+ z[u][0](z[u + 1]);
834
+ z.length = 0;
835
835
  }
836
836
  }
837
837
  }
@@ -854,30 +854,30 @@ function te(e, t, r) {
854
854
  return nn(r, (o, a) => {
855
855
  let h = !1;
856
856
  const u = [];
857
- let l = 0, f = A;
858
- const c = () => {
857
+ let l = 0, c = A;
858
+ const m = () => {
859
859
  if (l)
860
860
  return;
861
- f();
862
- const g = t(n ? u[0] : u, o, a);
863
- s ? o(g) : f = ce(g) ? g : A;
861
+ c();
862
+ const p = t(n ? u[0] : u, o, a);
863
+ s ? o(p) : c = ce(p) ? p : A;
864
864
  }, d = i.map(
865
- (g, b) => at(
866
- g,
865
+ (p, b) => at(
866
+ p,
867
867
  (E) => {
868
- u[b] = E, l &= ~(1 << b), h && c();
868
+ u[b] = E, l &= ~(1 << b), h && m();
869
869
  },
870
870
  () => {
871
871
  l |= 1 << b;
872
872
  }
873
873
  )
874
874
  );
875
- return h = !0, c(), function() {
876
- U(d), f(), h = !1;
875
+ return h = !0, m(), function() {
876
+ U(d), c(), h = !1;
877
877
  };
878
878
  });
879
879
  }
880
- var Cs = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
880
+ var Os = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
881
881
  function sn(e) {
882
882
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
883
883
  }
@@ -899,7 +899,7 @@ function fn(e) {
899
899
  return Array.isArray(e) ? [] : {};
900
900
  }
901
901
  function le(e, t) {
902
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(fn(e), e, t) : e;
902
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(fn(e), e, t) : e;
903
903
  }
904
904
  function mn(e, t, r) {
905
905
  return e.concat(t).map(function(n) {
@@ -908,16 +908,16 @@ function mn(e, t, r) {
908
908
  }
909
909
  function dn(e, t) {
910
910
  if (!t.customMerge)
911
- return Q;
911
+ return q;
912
912
  var r = t.customMerge(e);
913
- return typeof r == "function" ? r : Q;
913
+ return typeof r == "function" ? r : q;
914
914
  }
915
915
  function pn(e) {
916
916
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
917
917
  return Object.propertyIsEnumerable.call(e, t);
918
918
  }) : [];
919
919
  }
920
- function vt(e) {
920
+ function _t(e) {
921
921
  return Object.keys(e).concat(pn(e));
922
922
  }
923
923
  function rr(e, t) {
@@ -932,25 +932,25 @@ function gn(e, t) {
932
932
  }
933
933
  function bn(e, t, r) {
934
934
  var n = {};
935
- return r.isMergeableObject(e) && vt(e).forEach(function(i) {
935
+ return r.isMergeableObject(e) && _t(e).forEach(function(i) {
936
936
  n[i] = le(e[i], r);
937
- }), vt(t).forEach(function(i) {
937
+ }), _t(t).forEach(function(i) {
938
938
  gn(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
939
939
  }), n;
940
940
  }
941
- function Q(e, t, r) {
941
+ function q(e, t, r) {
942
942
  r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = le;
943
943
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
944
944
  return s ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : le(t, r);
945
945
  }
946
- Q.all = function(t, r) {
946
+ q.all = function(t, r) {
947
947
  if (!Array.isArray(t))
948
948
  throw new Error("first argument should be an array");
949
949
  return t.reduce(function(n, i) {
950
- return Q(n, i, r);
950
+ return q(n, i, r);
951
951
  }, {});
952
952
  };
953
- var yn = Q, _n = yn;
953
+ var yn = q, _n = yn;
954
954
  const vn = /* @__PURE__ */ sn(_n);
955
955
  var Ke = function(e, t) {
956
956
  return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
@@ -969,15 +969,15 @@ function Re(e, t) {
969
969
  }
970
970
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
971
971
  }
972
- var M = function() {
973
- return M = Object.assign || function(t) {
972
+ var C = function() {
973
+ return C = Object.assign || function(t) {
974
974
  for (var r, n = 1, i = arguments.length; n < i; n++) {
975
975
  r = arguments[n];
976
976
  for (var s in r)
977
977
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
978
978
  }
979
979
  return t;
980
- }, M.apply(this, arguments);
980
+ }, C.apply(this, arguments);
981
981
  };
982
982
  function En(e, t) {
983
983
  var r = {};
@@ -1056,51 +1056,51 @@ var y;
1056
1056
  (function(e) {
1057
1057
  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";
1058
1058
  })(y || (y = {}));
1059
- var w;
1059
+ var x;
1060
1060
  (function(e) {
1061
1061
  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";
1062
- })(w || (w = {}));
1063
- var Y;
1062
+ })(x || (x = {}));
1063
+ var Q;
1064
1064
  (function(e) {
1065
1065
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1066
- })(Y || (Y = {}));
1067
- function Et(e) {
1068
- return e.type === w.literal;
1066
+ })(Q || (Q = {}));
1067
+ function vt(e) {
1068
+ return e.type === x.literal;
1069
1069
  }
1070
1070
  function Pn(e) {
1071
- return e.type === w.argument;
1071
+ return e.type === x.argument;
1072
1072
  }
1073
1073
  function sr(e) {
1074
- return e.type === w.number;
1074
+ return e.type === x.number;
1075
1075
  }
1076
1076
  function or(e) {
1077
- return e.type === w.date;
1077
+ return e.type === x.date;
1078
1078
  }
1079
1079
  function ar(e) {
1080
- return e.type === w.time;
1080
+ return e.type === x.time;
1081
1081
  }
1082
1082
  function ur(e) {
1083
- return e.type === w.select;
1083
+ return e.type === x.select;
1084
1084
  }
1085
1085
  function lr(e) {
1086
- return e.type === w.plural;
1086
+ return e.type === x.plural;
1087
1087
  }
1088
1088
  function On(e) {
1089
- return e.type === w.pound;
1089
+ return e.type === x.pound;
1090
1090
  }
1091
1091
  function hr(e) {
1092
- return e.type === w.tag;
1092
+ return e.type === x.tag;
1093
1093
  }
1094
1094
  function cr(e) {
1095
- return !!(e && typeof e == "object" && e.type === Y.number);
1095
+ return !!(e && typeof e == "object" && e.type === Q.number);
1096
1096
  }
1097
1097
  function et(e) {
1098
- return !!(e && typeof e == "object" && e.type === Y.dateTime);
1098
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
1099
1099
  }
1100
- var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[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;
1101
- function In(e) {
1100
+ var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, In = /(?:[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;
1101
+ function Cn(e) {
1102
1102
  var t = {};
1103
- return e.replace(Cn, function(r) {
1103
+ return e.replace(In, function(r) {
1104
1104
  var n = r.length;
1105
1105
  switch (r[0]) {
1106
1106
  case "G":
@@ -1189,29 +1189,29 @@ function In(e) {
1189
1189
  return "";
1190
1190
  }), t;
1191
1191
  }
1192
- var T = function() {
1193
- return T = Object.assign || function(t) {
1192
+ var w = function() {
1193
+ return w = Object.assign || function(t) {
1194
1194
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1195
1195
  r = arguments[n];
1196
1196
  for (var s in r)
1197
1197
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1198
1198
  }
1199
1199
  return t;
1200
- }, T.apply(this, arguments);
1200
+ }, w.apply(this, arguments);
1201
1201
  };
1202
1202
  var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1203
1203
  function Nn(e) {
1204
1204
  if (e.length === 0)
1205
1205
  throw new Error("Number skeleton cannot be empty");
1206
- for (var t = e.split(Mn).filter(function(c) {
1207
- return c.length > 0;
1206
+ for (var t = e.split(Mn).filter(function(m) {
1207
+ return m.length > 0;
1208
1208
  }), r = [], n = 0, i = t; n < i.length; n++) {
1209
1209
  var s = i[n], o = s.split("/");
1210
1210
  if (o.length === 0)
1211
1211
  throw new Error("Invalid number skeleton");
1212
1212
  for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1213
- var f = l[u];
1214
- if (f.length === 0)
1213
+ var c = l[u];
1214
+ if (c.length === 0)
1215
1215
  throw new Error("Invalid number skeleton");
1216
1216
  }
1217
1217
  r.push({ stem: a, options: h });
@@ -1221,8 +1221,8 @@ function Nn(e) {
1221
1221
  function Ln(e) {
1222
1222
  return e.replace(/^(.*?)-/, "");
1223
1223
  }
1224
- var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
1225
- function wt(e) {
1224
+ var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
1225
+ function xt(e) {
1226
1226
  var t = {};
1227
1227
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
1228
1228
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
@@ -1282,7 +1282,7 @@ function Rn(e) {
1282
1282
  }
1283
1283
  return t;
1284
1284
  }
1285
- function Tt(e) {
1285
+ function wt(e) {
1286
1286
  var t = {}, r = pr(e);
1287
1287
  return r || t;
1288
1288
  }
@@ -1321,13 +1321,13 @@ function Dn(e) {
1321
1321
  t.notation = "compact", t.compactDisplay = "long";
1322
1322
  continue;
1323
1323
  case "scientific":
1324
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1325
- return T(T({}, h), Tt(u));
1324
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1325
+ return w(w({}, h), wt(u));
1326
1326
  }, {}));
1327
1327
  continue;
1328
1328
  case "engineering":
1329
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1330
- return T(T({}, h), Tt(u));
1329
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1330
+ return w(w({}, h), wt(u));
1331
1331
  }, {}));
1332
1332
  continue;
1333
1333
  case "notation-simple":
@@ -1372,11 +1372,11 @@ function Dn(e) {
1372
1372
  case "integer-width":
1373
1373
  if (i.options.length > 1)
1374
1374
  throw new RangeError("integer-width stems only accept a single optional option");
1375
- i.options[0].replace($n, function(h, u, l, f, c, d) {
1375
+ i.options[0].replace($n, function(h, u, l, c, m, d) {
1376
1376
  if (u)
1377
1377
  t.minimumIntegerDigits = l.length;
1378
1378
  else {
1379
- if (f && c)
1379
+ if (c && m)
1380
1380
  throw new Error("We currently do not support maximum integer digits");
1381
1381
  if (d)
1382
1382
  throw new Error("We currently do not support exact integer digits");
@@ -1389,28 +1389,28 @@ function Dn(e) {
1389
1389
  t.minimumIntegerDigits = i.stem.length;
1390
1390
  continue;
1391
1391
  }
1392
- if (xt.test(i.stem)) {
1392
+ if (Et.test(i.stem)) {
1393
1393
  if (i.options.length > 1)
1394
1394
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1395
- i.stem.replace(xt, function(h, u, l, f, c, d) {
1396
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1395
+ i.stem.replace(Et, function(h, u, l, c, m, d) {
1396
+ 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), "";
1397
1397
  });
1398
1398
  var s = i.options[0];
1399
- s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), wt(s)));
1399
+ s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), xt(s)));
1400
1400
  continue;
1401
1401
  }
1402
1402
  if (mr.test(i.stem)) {
1403
- t = T(T({}, t), wt(i.stem));
1403
+ t = w(w({}, t), xt(i.stem));
1404
1404
  continue;
1405
1405
  }
1406
1406
  var o = pr(i.stem);
1407
- o && (t = T(T({}, t), o));
1407
+ o && (t = w(w({}, t), o));
1408
1408
  var a = Rn(i.stem);
1409
- a && (t = T(T({}, t), a));
1409
+ a && (t = w(w({}, t), a));
1410
1410
  }
1411
1411
  return t;
1412
1412
  }
1413
- var Te = {
1413
+ var we = {
1414
1414
  "001": [
1415
1415
  "H",
1416
1416
  "h"
@@ -2860,11 +2860,11 @@ function Un(e) {
2860
2860
  }
2861
2861
  var r = e.language, n;
2862
2862
  r !== "root" && (n = e.maximize().region);
2863
- var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
2863
+ var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
2864
2864
  return i[0];
2865
2865
  }
2866
2866
  var Xe, Gn = new RegExp("^".concat(fr.source, "*")), Fn = new RegExp("".concat(fr.source, "*$"));
2867
- function _(e, t) {
2867
+ function v(e, t) {
2868
2868
  return { start: e, end: t };
2869
2869
  }
2870
2870
  var jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), zn = !!String.fromCodePoint, Vn = !!Object.fromEntries, Xn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Jn = !!Number.isSafeInteger, qn = Jn ? Number.isSafeInteger : function(e) {
@@ -2876,7 +2876,7 @@ try {
2876
2876
  } catch (e) {
2877
2877
  tt = !1;
2878
2878
  }
2879
- var Ht = jn ? (
2879
+ var Tt = jn ? (
2880
2880
  // Native
2881
2881
  function(t, r, n) {
2882
2882
  return t.startsWith(r, n);
@@ -2898,7 +2898,7 @@ var Ht = jn ? (
2898
2898
  }
2899
2899
  return n;
2900
2900
  }
2901
- ), St = (
2901
+ ), Ht = (
2902
2902
  // native
2903
2903
  Vn ? Object.fromEntries : (
2904
2904
  // Ponyfill
@@ -2950,11 +2950,11 @@ function br(e, t) {
2950
2950
  }
2951
2951
  var nt;
2952
2952
  if (tt) {
2953
- var Bt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2953
+ var St = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2954
2954
  nt = function(t, r) {
2955
2955
  var n;
2956
- Bt.lastIndex = r;
2957
- var i = Bt.exec(t);
2956
+ St.lastIndex = r;
2957
+ var i = St.exec(t);
2958
2958
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2959
2959
  };
2960
2960
  } else
@@ -2991,13 +2991,13 @@ var ei = (
2991
2991
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2992
2992
  var a = this.clonePosition();
2993
2993
  this.bump(), i.push({
2994
- type: w.pound,
2995
- location: _(a, this.clonePosition())
2994
+ type: x.pound,
2995
+ location: v(a, this.clonePosition())
2996
2996
  });
2997
2997
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2998
2998
  if (n)
2999
2999
  break;
3000
- return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3000
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3001
3001
  } else if (s === 60 && !this.ignoreTag && it(this.peek() || 0)) {
3002
3002
  var o = this.parseTag(t, r);
3003
3003
  if (o.err)
@@ -3019,9 +3019,9 @@ var ei = (
3019
3019
  if (this.bumpSpace(), this.bumpIf("/>"))
3020
3020
  return {
3021
3021
  val: {
3022
- type: w.literal,
3022
+ type: x.literal,
3023
3023
  value: "<".concat(i, "/>"),
3024
- location: _(n, this.clonePosition())
3024
+ location: v(n, this.clonePosition())
3025
3025
  },
3026
3026
  err: null
3027
3027
  };
@@ -3032,21 +3032,21 @@ var ei = (
3032
3032
  var o = s.val, a = this.clonePosition();
3033
3033
  if (this.bumpIf("</")) {
3034
3034
  if (this.isEOF() || !it(this.char()))
3035
- return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
3035
+ return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
3036
3036
  var h = this.clonePosition(), u = this.parseTagName();
3037
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3037
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3038
3038
  val: {
3039
- type: w.tag,
3039
+ type: x.tag,
3040
3040
  value: i,
3041
3041
  children: o,
3042
- location: _(n, this.clonePosition())
3042
+ location: v(n, this.clonePosition())
3043
3043
  },
3044
3044
  err: null
3045
- } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
3045
+ } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
3046
3046
  } else
3047
- return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
3047
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3048
3048
  } else
3049
- return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
3049
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3050
3050
  }, e.prototype.parseTagName = function() {
3051
3051
  var t = this.offset();
3052
3052
  for (this.bump(); !this.isEOF() && ri(this.char()); )
@@ -3071,9 +3071,9 @@ var ei = (
3071
3071
  }
3072
3072
  break;
3073
3073
  }
3074
- var h = _(n, this.clonePosition());
3074
+ var h = v(n, this.clonePosition());
3075
3075
  return {
3076
- val: { type: w.literal, value: i, location: h },
3076
+ val: { type: x.literal, value: i, location: h },
3077
3077
  err: null
3078
3078
  };
3079
3079
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -3121,40 +3121,40 @@ var ei = (
3121
3121
  }, e.prototype.parseArgument = function(t, r) {
3122
3122
  var n = this.clonePosition();
3123
3123
  if (this.bump(), this.bumpSpace(), this.isEOF())
3124
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3124
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3125
3125
  if (this.char() === 125)
3126
- return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3126
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3127
3127
  var i = this.parseIdentifierIfPossible().value;
3128
3128
  if (!i)
3129
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3129
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3130
3130
  if (this.bumpSpace(), this.isEOF())
3131
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3131
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3132
3132
  switch (this.char()) {
3133
3133
  case 125:
3134
3134
  return this.bump(), {
3135
3135
  val: {
3136
- type: w.argument,
3136
+ type: x.argument,
3137
3137
  // value does not include the opening and closing braces.
3138
3138
  value: i,
3139
- location: _(n, this.clonePosition())
3139
+ location: v(n, this.clonePosition())
3140
3140
  },
3141
3141
  err: null
3142
3142
  };
3143
3143
  case 44:
3144
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3144
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3145
3145
  default:
3146
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3146
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3147
3147
  }
3148
3148
  }, e.prototype.parseIdentifierIfPossible = function() {
3149
3149
  var t = this.clonePosition(), r = this.offset(), n = nt(this.message, r), i = r + n.length;
3150
3150
  this.bumpTo(i);
3151
- var s = this.clonePosition(), o = _(t, s);
3151
+ var s = this.clonePosition(), o = v(t, s);
3152
3152
  return { value: n, location: o };
3153
3153
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3154
3154
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3155
3155
  switch (a) {
3156
3156
  case "":
3157
- return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, h));
3157
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(o, h));
3158
3158
  case "number":
3159
3159
  case "date":
3160
3160
  case "time": {
@@ -3162,47 +3162,47 @@ var ei = (
3162
3162
  var u = null;
3163
3163
  if (this.bumpIf(",")) {
3164
3164
  this.bumpSpace();
3165
- var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3166
- if (f.err)
3167
- return f;
3168
- var c = Kn(f.val);
3169
- if (c.length === 0)
3170
- return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3171
- var d = _(l, this.clonePosition());
3172
- u = { style: c, styleLocation: d };
3165
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3166
+ if (c.err)
3167
+ return c;
3168
+ var m = Kn(c.val);
3169
+ if (m.length === 0)
3170
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3171
+ var d = v(l, this.clonePosition());
3172
+ u = { style: m, styleLocation: d };
3173
3173
  }
3174
- var g = this.tryParseArgumentClose(i);
3175
- if (g.err)
3176
- return g;
3177
- var b = _(i, this.clonePosition());
3178
- if (u && Ht(u == null ? void 0 : u.style, "::", 0)) {
3174
+ var p = this.tryParseArgumentClose(i);
3175
+ if (p.err)
3176
+ return p;
3177
+ var b = v(i, this.clonePosition());
3178
+ if (u && Tt(u == null ? void 0 : u.style, "::", 0)) {
3179
3179
  var E = Yn(u.style.slice(2));
3180
3180
  if (a === "number") {
3181
- var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3182
- return f.err ? f : {
3183
- val: { type: w.number, value: n, location: b, style: f.val },
3181
+ var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3182
+ return c.err ? c : {
3183
+ val: { type: x.number, value: n, location: b, style: c.val },
3184
3184
  err: null
3185
3185
  };
3186
3186
  } else {
3187
3187
  if (E.length === 0)
3188
3188
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
3189
- var x = E;
3190
- this.locale && (x = kn(E, this.locale));
3191
- var c = {
3192
- type: Y.dateTime,
3193
- pattern: x,
3189
+ var _ = E;
3190
+ this.locale && (_ = kn(E, this.locale));
3191
+ var m = {
3192
+ type: Q.dateTime,
3193
+ pattern: _,
3194
3194
  location: u.styleLocation,
3195
- parsedOptions: this.shouldParseSkeletons ? In(x) : {}
3196
- }, p = a === "date" ? w.date : w.time;
3195
+ parsedOptions: this.shouldParseSkeletons ? Cn(_) : {}
3196
+ }, f = a === "date" ? x.date : x.time;
3197
3197
  return {
3198
- val: { type: p, value: n, location: b, style: c },
3198
+ val: { type: f, value: n, location: b, style: m },
3199
3199
  err: null
3200
3200
  };
3201
3201
  }
3202
3202
  }
3203
3203
  return {
3204
3204
  val: {
3205
- type: a === "number" ? w.number : a === "date" ? w.date : w.time,
3205
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3206
3206
  value: n,
3207
3207
  location: b,
3208
3208
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -3213,52 +3213,52 @@ var ei = (
3213
3213
  case "plural":
3214
3214
  case "selectordinal":
3215
3215
  case "select": {
3216
- var m = this.clonePosition();
3216
+ var g = this.clonePosition();
3217
3217
  if (this.bumpSpace(), !this.bumpIf(","))
3218
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(m, Ie({}, m)));
3218
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(g, Ie({}, g)));
3219
3219
  this.bumpSpace();
3220
- var v = this.parseIdentifierIfPossible(), O = 0;
3221
- if (a !== "select" && v.value === "offset") {
3220
+ var S = this.parseIdentifierIfPossible(), P = 0;
3221
+ if (a !== "select" && S.value === "offset") {
3222
3222
  if (!this.bumpIf(":"))
3223
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3223
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3224
3224
  this.bumpSpace();
3225
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3226
- if (f.err)
3227
- return f;
3228
- this.bumpSpace(), v = this.parseIdentifierIfPossible(), O = f.val;
3225
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3226
+ if (c.err)
3227
+ return c;
3228
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), P = c.val;
3229
3229
  }
3230
- var R = this.tryParsePluralOrSelectOptions(t, a, r, v);
3230
+ var R = this.tryParsePluralOrSelectOptions(t, a, r, S);
3231
3231
  if (R.err)
3232
3232
  return R;
3233
- var g = this.tryParseArgumentClose(i);
3234
- if (g.err)
3235
- return g;
3236
- var H = _(i, this.clonePosition());
3233
+ var p = this.tryParseArgumentClose(i);
3234
+ if (p.err)
3235
+ return p;
3236
+ var T = v(i, this.clonePosition());
3237
3237
  return a === "select" ? {
3238
3238
  val: {
3239
- type: w.select,
3239
+ type: x.select,
3240
3240
  value: n,
3241
- options: St(R.val),
3242
- location: H
3241
+ options: Ht(R.val),
3242
+ location: T
3243
3243
  },
3244
3244
  err: null
3245
3245
  } : {
3246
3246
  val: {
3247
- type: w.plural,
3247
+ type: x.plural,
3248
3248
  value: n,
3249
- options: St(R.val),
3250
- offset: O,
3249
+ options: Ht(R.val),
3250
+ offset: P,
3251
3251
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3252
- location: H
3252
+ location: T
3253
3253
  },
3254
3254
  err: null
3255
3255
  };
3256
3256
  }
3257
3257
  default:
3258
- return this.error(y.INVALID_ARGUMENT_TYPE, _(o, h));
3258
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(o, h));
3259
3259
  }
3260
3260
  }, e.prototype.tryParseArgumentClose = function(t) {
3261
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3261
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3262
3262
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3263
3263
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3264
3264
  var n = this.char();
@@ -3267,7 +3267,7 @@ var ei = (
3267
3267
  this.bump();
3268
3268
  var i = this.clonePosition();
3269
3269
  if (!this.bumpUntil("'"))
3270
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3270
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3271
3271
  this.bump();
3272
3272
  break;
3273
3273
  }
@@ -3303,7 +3303,7 @@ var ei = (
3303
3303
  }
3304
3304
  return {
3305
3305
  val: {
3306
- type: Y.number,
3306
+ type: Q.number,
3307
3307
  tokens: n,
3308
3308
  location: r,
3309
3309
  parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
@@ -3313,12 +3313,12 @@ var ei = (
3313
3313
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3314
3314
  for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3315
3315
  if (u.length === 0) {
3316
- var f = this.clonePosition();
3316
+ var c = this.clonePosition();
3317
3317
  if (r !== "select" && this.bumpIf("=")) {
3318
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3319
- if (c.err)
3320
- return c;
3321
- l = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3318
+ var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3319
+ if (m.err)
3320
+ return m;
3321
+ l = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3322
3322
  } else
3323
3323
  break;
3324
3324
  }
@@ -3327,22 +3327,22 @@ var ei = (
3327
3327
  u === "other" && (o = !0), this.bumpSpace();
3328
3328
  var d = this.clonePosition();
3329
3329
  if (!this.bumpIf("{"))
3330
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3331
- var g = this.parseMessage(t + 1, r, n);
3332
- if (g.err)
3333
- return g;
3330
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3331
+ var p = this.parseMessage(t + 1, r, n);
3332
+ if (p.err)
3333
+ return p;
3334
3334
  var b = this.tryParseArgumentClose(d);
3335
3335
  if (b.err)
3336
3336
  return b;
3337
3337
  a.push([
3338
3338
  u,
3339
3339
  {
3340
- value: g.val,
3341
- location: _(d, this.clonePosition())
3340
+ value: p.val,
3341
+ location: v(d, this.clonePosition())
3342
3342
  }
3343
3343
  ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3344
3344
  }
3345
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3345
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3346
3346
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3347
3347
  var n = 1, i = this.clonePosition();
3348
3348
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3353,7 +3353,7 @@ var ei = (
3353
3353
  else
3354
3354
  break;
3355
3355
  }
3356
- var h = _(i, this.clonePosition());
3356
+ var h = v(i, this.clonePosition());
3357
3357
  return s ? (o *= n, qn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3358
3358
  }, e.prototype.offset = function() {
3359
3359
  return this.position.offset;
@@ -3388,7 +3388,7 @@ var ei = (
3388
3388
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3389
3389
  }
3390
3390
  }, e.prototype.bumpIf = function(t) {
3391
- if (Ht(this.message, t, this.offset())) {
3391
+ if (Tt(this.message, t, this.offset())) {
3392
3392
  for (var r = 0; r < t.length; r++)
3393
3393
  this.bump();
3394
3394
  return !0;
@@ -3453,10 +3453,10 @@ function ii(e, t) {
3453
3453
  }
3454
3454
  return t != null && t.captureLocation || st(r.val), r.val;
3455
3455
  }
3456
- var K;
3456
+ var Y;
3457
3457
  (function(e) {
3458
3458
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3459
- })(K || (K = {}));
3459
+ })(Y || (Y = {}));
3460
3460
  var De = (
3461
3461
  /** @class */
3462
3462
  function(e) {
@@ -3469,12 +3469,12 @@ var De = (
3469
3469
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3470
3470
  }, t;
3471
3471
  }(Error)
3472
- ), At = (
3472
+ ), Bt = (
3473
3473
  /** @class */
3474
3474
  function(e) {
3475
3475
  Re(t, e);
3476
3476
  function t(r, n, i, s) {
3477
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, s) || this;
3477
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, s) || this;
3478
3478
  }
3479
3479
  return t;
3480
3480
  }(De)
@@ -3483,7 +3483,7 @@ var De = (
3483
3483
  function(e) {
3484
3484
  Re(t, e);
3485
3485
  function t(r, n, i) {
3486
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3486
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3487
3487
  }
3488
3488
  return t;
3489
3489
  }(De)
@@ -3492,130 +3492,130 @@ var De = (
3492
3492
  function(e) {
3493
3493
  Re(t, e);
3494
3494
  function t(r, n) {
3495
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3495
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3496
3496
  }
3497
3497
  return t;
3498
3498
  }(De)
3499
- ), S;
3499
+ ), H;
3500
3500
  (function(e) {
3501
3501
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3502
- })(S || (S = {}));
3502
+ })(H || (H = {}));
3503
3503
  function ai(e) {
3504
3504
  return e.length < 2 ? e : e.reduce(function(t, r) {
3505
3505
  var n = t[t.length - 1];
3506
- return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3506
+ return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3507
3507
  }, []);
3508
3508
  }
3509
3509
  function ui(e) {
3510
3510
  return typeof e == "function";
3511
3511
  }
3512
- function Be(e, t, r, n, i, s, o) {
3513
- if (e.length === 1 && Et(e[0]))
3512
+ function Se(e, t, r, n, i, s, o) {
3513
+ if (e.length === 1 && vt(e[0]))
3514
3514
  return [
3515
3515
  {
3516
- type: S.literal,
3516
+ type: H.literal,
3517
3517
  value: e[0].value
3518
3518
  }
3519
3519
  ];
3520
3520
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3521
3521
  var l = u[h];
3522
- if (Et(l)) {
3522
+ if (vt(l)) {
3523
3523
  a.push({
3524
- type: S.literal,
3524
+ type: H.literal,
3525
3525
  value: l.value
3526
3526
  });
3527
3527
  continue;
3528
3528
  }
3529
3529
  if (On(l)) {
3530
3530
  typeof s == "number" && a.push({
3531
- type: S.literal,
3531
+ type: H.literal,
3532
3532
  value: r.getNumberFormat(t).format(s)
3533
3533
  });
3534
3534
  continue;
3535
3535
  }
3536
- var f = l.value;
3537
- if (!(i && f in i))
3538
- throw new oi(f, o);
3539
- var c = i[f];
3536
+ var c = l.value;
3537
+ if (!(i && c in i))
3538
+ throw new oi(c, o);
3539
+ var m = i[c];
3540
3540
  if (Pn(l)) {
3541
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3542
- type: typeof c == "string" ? S.literal : S.object,
3543
- value: c
3541
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3542
+ type: typeof m == "string" ? H.literal : H.object,
3543
+ value: m
3544
3544
  });
3545
3545
  continue;
3546
3546
  }
3547
3547
  if (or(l)) {
3548
3548
  var d = typeof l.style == "string" ? n.date[l.style] : et(l.style) ? l.style.parsedOptions : void 0;
3549
3549
  a.push({
3550
- type: S.literal,
3551
- value: r.getDateTimeFormat(t, d).format(c)
3550
+ type: H.literal,
3551
+ value: r.getDateTimeFormat(t, d).format(m)
3552
3552
  });
3553
3553
  continue;
3554
3554
  }
3555
3555
  if (ar(l)) {
3556
3556
  var d = typeof l.style == "string" ? n.time[l.style] : et(l.style) ? l.style.parsedOptions : n.time.medium;
3557
3557
  a.push({
3558
- type: S.literal,
3559
- value: r.getDateTimeFormat(t, d).format(c)
3558
+ type: H.literal,
3559
+ value: r.getDateTimeFormat(t, d).format(m)
3560
3560
  });
3561
3561
  continue;
3562
3562
  }
3563
3563
  if (sr(l)) {
3564
3564
  var d = typeof l.style == "string" ? n.number[l.style] : cr(l.style) ? l.style.parsedOptions : void 0;
3565
- d && d.scale && (c = c * (d.scale || 1)), a.push({
3566
- type: S.literal,
3567
- value: r.getNumberFormat(t, d).format(c)
3565
+ d && d.scale && (m = m * (d.scale || 1)), a.push({
3566
+ type: H.literal,
3567
+ value: r.getNumberFormat(t, d).format(m)
3568
3568
  });
3569
3569
  continue;
3570
3570
  }
3571
3571
  if (hr(l)) {
3572
- var g = l.children, b = l.value, E = i[b];
3572
+ var p = l.children, b = l.value, E = i[b];
3573
3573
  if (!ui(E))
3574
3574
  throw new si(b, "function", o);
3575
- var x = Be(g, t, r, n, i, s), p = E(x.map(function(O) {
3576
- return O.value;
3575
+ var _ = Se(p, t, r, n, i, s), f = E(_.map(function(P) {
3576
+ return P.value;
3577
3577
  }));
3578
- Array.isArray(p) || (p = [p]), a.push.apply(a, p.map(function(O) {
3578
+ Array.isArray(f) || (f = [f]), a.push.apply(a, f.map(function(P) {
3579
3579
  return {
3580
- type: typeof O == "string" ? S.literal : S.object,
3581
- value: O
3580
+ type: typeof P == "string" ? H.literal : H.object,
3581
+ value: P
3582
3582
  };
3583
3583
  }));
3584
3584
  }
3585
3585
  if (ur(l)) {
3586
- var m = l.options[c] || l.options.other;
3587
- if (!m)
3588
- throw new At(l.value, c, Object.keys(l.options), o);
3589
- a.push.apply(a, Be(m.value, t, r, n, i));
3586
+ var g = l.options[m] || l.options.other;
3587
+ if (!g)
3588
+ throw new Bt(l.value, m, Object.keys(l.options), o);
3589
+ a.push.apply(a, Se(g.value, t, r, n, i));
3590
3590
  continue;
3591
3591
  }
3592
3592
  if (lr(l)) {
3593
- var m = l.options["=".concat(c)];
3594
- if (!m) {
3593
+ var g = l.options["=".concat(m)];
3594
+ if (!g) {
3595
3595
  if (!Intl.PluralRules)
3596
3596
  throw new De(`Intl.PluralRules is not available in this environment.
3597
3597
  Try polyfilling it using "@formatjs/intl-pluralrules"
3598
- `, K.MISSING_INTL_API, o);
3599
- var v = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3600
- m = l.options[v] || l.options.other;
3598
+ `, Y.MISSING_INTL_API, o);
3599
+ var S = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
3600
+ g = l.options[S] || l.options.other;
3601
3601
  }
3602
- if (!m)
3603
- throw new At(l.value, c, Object.keys(l.options), o);
3604
- a.push.apply(a, Be(m.value, t, r, n, i, c - (l.offset || 0)));
3602
+ if (!g)
3603
+ throw new Bt(l.value, m, Object.keys(l.options), o);
3604
+ a.push.apply(a, Se(g.value, t, r, n, i, m - (l.offset || 0)));
3605
3605
  continue;
3606
3606
  }
3607
3607
  }
3608
3608
  return ai(a);
3609
3609
  }
3610
3610
  function li(e, t) {
3611
- return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3612
- return r[n] = M(M({}, e[n]), t[n] || {}), r;
3611
+ return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3612
+ return r[n] = C(C({}, e[n]), t[n] || {}), r;
3613
3613
  }, {})) : e;
3614
3614
  }
3615
3615
  function hi(e, t) {
3616
3616
  return t ? Object.keys(e).reduce(function(r, n) {
3617
3617
  return r[n] = li(e[n], t[n]), r;
3618
- }, M({}, e)) : e;
3618
+ }, C({}, e)) : e;
3619
3619
  }
3620
3620
  function We(e) {
3621
3621
  return {
@@ -3677,12 +3677,12 @@ var _r = (
3677
3677
  var u = s.formatToParts(h);
3678
3678
  if (u.length === 1)
3679
3679
  return u[0].value;
3680
- var l = u.reduce(function(f, c) {
3681
- return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3680
+ var l = u.reduce(function(c, m) {
3681
+ return !c.length || m.type !== H.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3682
3682
  }, []);
3683
3683
  return l.length <= 1 ? l[0] || "" : l;
3684
3684
  }, this.formatToParts = function(h) {
3685
- return Be(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3685
+ return Se(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3686
3686
  }, this.resolvedOptions = function() {
3687
3687
  var h;
3688
3688
  return {
@@ -3696,7 +3696,7 @@ var _r = (
3696
3696
  var o = i || {};
3697
3697
  o.formatters;
3698
3698
  var a = En(o, ["formatters"]);
3699
- this.ast = e.__parse(t, M(M({}, a), { locale: this.resolvedLocale }));
3699
+ this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
3700
3700
  } else
3701
3701
  this.ast = t;
3702
3702
  if (!Array.isArray(this.ast))
@@ -3801,20 +3801,20 @@ const k = {}, mi = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][
3801
3801
  return;
3802
3802
  if (t in k && e in k[t])
3803
3803
  return k[t][e];
3804
- const r = de(t);
3804
+ const r = me(t);
3805
3805
  for (let n = 0; n < r.length; n++) {
3806
3806
  const i = r[n], s = pi(i, e);
3807
3807
  if (s)
3808
3808
  return mi(e, t, s);
3809
3809
  }
3810
3810
  };
3811
- let ct;
3812
- const me = $e({});
3811
+ let ht;
3812
+ const fe = $e({});
3813
3813
  function di(e) {
3814
- return ct[e] || null;
3814
+ return ht[e] || null;
3815
3815
  }
3816
3816
  function Er(e) {
3817
- return e in ct;
3817
+ return e in ht;
3818
3818
  }
3819
3819
  function pi(e, t) {
3820
3820
  if (!Er(e))
@@ -3825,7 +3825,7 @@ function pi(e, t) {
3825
3825
  function gi(e) {
3826
3826
  if (e == null)
3827
3827
  return;
3828
- const t = de(e);
3828
+ const t = me(e);
3829
3829
  for (let r = 0; r < t.length; r++) {
3830
3830
  const n = t[r];
3831
3831
  if (Er(n))
@@ -3833,28 +3833,28 @@ function gi(e) {
3833
3833
  }
3834
3834
  }
3835
3835
  function xr(e, ...t) {
3836
- delete k[e], me.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
3836
+ delete k[e], fe.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
3837
3837
  }
3838
3838
  te(
3839
- [me],
3839
+ [fe],
3840
3840
  ([e]) => Object.keys(e)
3841
3841
  );
3842
- me.subscribe((e) => ct = e);
3843
- const Ae = {};
3842
+ fe.subscribe((e) => ht = e);
3843
+ const Be = {};
3844
3844
  function bi(e, t) {
3845
- Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
3845
+ Be[e].delete(t), Be[e].size === 0 && delete Be[e];
3846
3846
  }
3847
3847
  function wr(e) {
3848
- return Ae[e];
3848
+ return Be[e];
3849
3849
  }
3850
3850
  function yi(e) {
3851
- return de(e).map((t) => {
3851
+ return me(e).map((t) => {
3852
3852
  const r = wr(t);
3853
3853
  return [t, r ? [...r] : []];
3854
3854
  }).filter(([, t]) => t.length > 0);
3855
3855
  }
3856
- function Me(e) {
3857
- return e == null ? !1 : de(e).some(
3856
+ function Ce(e) {
3857
+ return e == null ? !1 : me(e).some(
3858
3858
  (t) => {
3859
3859
  var r;
3860
3860
  return (r = wr(t)) == null ? void 0 : r.size;
@@ -3868,7 +3868,7 @@ function _i(e, t) {
3868
3868
  }
3869
3869
  const ie = {};
3870
3870
  function Tr(e) {
3871
- if (!Me(e))
3871
+ if (!Ce(e))
3872
3872
  return e in ie ? ie[e] : Promise.resolve();
3873
3873
  const t = yi(e);
3874
3874
  return ie[e] = Promise.all(
@@ -3876,17 +3876,17 @@ function Tr(e) {
3876
3876
  ([r, n]) => _i(r, n)
3877
3877
  )
3878
3878
  ).then(() => {
3879
- if (Me(e))
3879
+ if (Ce(e))
3880
3880
  return Tr(e);
3881
3881
  delete ie[e];
3882
3882
  }), ie[e];
3883
3883
  }
3884
- var Pt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, xi = (e, t) => {
3884
+ var At = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, xi = (e, t) => {
3885
3885
  var r = {};
3886
3886
  for (var n in e)
3887
3887
  vi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3888
- if (e != null && Pt)
3889
- for (var n of Pt(e))
3888
+ if (e != null && At)
3889
+ for (var n of At(e))
3890
3890
  t.indexOf(n) < 0 && Ei.call(e, n) && (r[n] = e[n]);
3891
3891
  return r;
3892
3892
  };
@@ -3922,9 +3922,9 @@ const wi = {
3922
3922
  };
3923
3923
  function Ti({ locale: e, id: t }) {
3924
3924
  console.warn(
3925
- `[svelte-i18n] The message "${t}" was not found in "${de(
3925
+ `[svelte-i18n] The message "${t}" was not found in "${me(
3926
3926
  e
3927
- ).join('", "')}".${Me(G()) ? `
3927
+ ).join('", "')}".${Ce(G()) ? `
3928
3928
 
3929
3929
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3930
3930
  );
@@ -3937,7 +3937,7 @@ const Hi = {
3937
3937
  handleMissingMessage: void 0,
3938
3938
  ignoreTag: !0
3939
3939
  }, se = Hi;
3940
- function ee() {
3940
+ function K() {
3941
3941
  return se;
3942
3942
  }
3943
3943
  function Si(e) {
@@ -3953,47 +3953,47 @@ function Si(e) {
3953
3953
  }
3954
3954
  return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Ti : console.warn(
3955
3955
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3956
- )), Object.assign(se, n, { initialLocale: i }), r && ("number" in r && Object.assign(se.formats.number, r.number), "date" in r && Object.assign(se.formats.date, r.date), "time" in r && Object.assign(se.formats.time, r.time)), z.set(i);
3956
+ )), Object.assign(se, n, { initialLocale: i }), r && ("number" in r && Object.assign(se.formats.number, r.number), "date" in r && Object.assign(se.formats.date, r.date), "time" in r && Object.assign(se.formats.time, r.time)), F.set(i);
3957
3957
  }
3958
3958
  const Ze = $e(!1);
3959
- var Bi = Object.defineProperty, Ai = Object.defineProperties, Pi = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ii = (e, t) => {
3959
+ var Bi = Object.defineProperty, Ai = Object.defineProperties, Pi = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ci = (e, t) => {
3960
3960
  for (var r in t || (t = {}))
3961
- Oi.call(t, r) && Ct(e, r, t[r]);
3962
- if (Ot)
3963
- for (var r of Ot(t))
3964
- Ci.call(t, r) && Ct(e, r, t[r]);
3961
+ Oi.call(t, r) && Ot(e, r, t[r]);
3962
+ if (Pt)
3963
+ for (var r of Pt(t))
3964
+ Ii.call(t, r) && Ot(e, r, t[r]);
3965
3965
  return e;
3966
3966
  }, Mi = (e, t) => Ai(e, Pi(t));
3967
3967
  let ot;
3968
- const Ne = $e(null);
3968
+ const Me = $e(null);
3969
3969
  function It(e) {
3970
3970
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3971
3971
  }
3972
- function de(e, t = ee().fallbackLocale) {
3972
+ function me(e, t = K().fallbackLocale) {
3973
3973
  const r = It(e);
3974
3974
  return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
3975
3975
  }
3976
3976
  function G() {
3977
3977
  return ot != null ? ot : void 0;
3978
3978
  }
3979
- Ne.subscribe((e) => {
3979
+ Me.subscribe((e) => {
3980
3980
  ot = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3981
3981
  });
3982
3982
  const Ni = (e) => {
3983
- if (e && gi(e) && Me(e)) {
3984
- const { loadingDelay: t } = ee();
3983
+ if (e && gi(e) && Ce(e)) {
3984
+ const { loadingDelay: t } = K();
3985
3985
  let r;
3986
3986
  return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
3987
3987
  () => Ze.set(!0),
3988
3988
  t
3989
3989
  ) : Ze.set(!0), Tr(e).then(() => {
3990
- Ne.set(e);
3990
+ Me.set(e);
3991
3991
  }).finally(() => {
3992
3992
  clearTimeout(r), Ze.set(!1);
3993
3993
  });
3994
3994
  }
3995
- return Ne.set(e);
3996
- }, z = Mi(Ii({}, Ne), {
3995
+ return Me.set(e);
3996
+ }, F = Mi(Ci({}, Me), {
3997
3997
  set: Ni
3998
3998
  }), ke = (e) => {
3999
3999
  const t = /* @__PURE__ */ Object.create(null);
@@ -4002,24 +4002,24 @@ const Ni = (e) => {
4002
4002
  return i in t ? t[i] : t[i] = e(n);
4003
4003
  };
4004
4004
  };
4005
- var Li = Object.defineProperty, Le = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4005
+ var Li = Object.defineProperty, Ne = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4006
4006
  for (var r in t || (t = {}))
4007
- Hr.call(t, r) && Mt(e, r, t[r]);
4008
- if (Le)
4009
- for (var r of Le(t))
4010
- Sr.call(t, r) && Mt(e, r, t[r]);
4007
+ Hr.call(t, r) && Ct(e, r, t[r]);
4008
+ if (Ne)
4009
+ for (var r of Ne(t))
4010
+ Sr.call(t, r) && Ct(e, r, t[r]);
4011
4011
  return e;
4012
4012
  }, re = (e, t) => {
4013
4013
  var r = {};
4014
4014
  for (var n in e)
4015
4015
  Hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4016
- if (e != null && Le)
4017
- for (var n of Le(e))
4016
+ if (e != null && Ne)
4017
+ for (var n of Ne(e))
4018
4018
  t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
4019
4019
  return r;
4020
4020
  };
4021
4021
  const he = (e, t) => {
4022
- const { formats: r } = ee();
4022
+ const { formats: r } = K();
4023
4023
  if (e in r && t in r[e])
4024
4024
  return r[e][t];
4025
4025
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
@@ -4052,25 +4052,25 @@ const he = (e, t) => {
4052
4052
  } = t, n = re(t, [
4053
4053
  "locale"
4054
4054
  ]);
4055
- return $i(ft({ locale: r }, n));
4055
+ return $i(ct({ locale: r }, n));
4056
4056
  }, Ui = (e = {}) => {
4057
4057
  var t = e, {
4058
4058
  locale: r = G()
4059
4059
  } = t, n = re(t, [
4060
4060
  "locale"
4061
4061
  ]);
4062
- return Ri(ft({ locale: r }, n));
4062
+ return Ri(ct({ locale: r }, n));
4063
4063
  }, Gi = (e = {}) => {
4064
4064
  var t = e, {
4065
4065
  locale: r = G()
4066
4066
  } = t, n = re(t, [
4067
4067
  "locale"
4068
4068
  ]);
4069
- return Di(ft({ locale: r }, n));
4069
+ return Di(ct({ locale: r }, n));
4070
4070
  }, Fi = ke(
4071
4071
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4072
- (e, t = G()) => new _r(e, t, ee().formats, {
4073
- ignoreTag: ee().ignoreTag
4072
+ (e, t = G()) => new _r(e, t, K().formats, {
4073
+ ignoreTag: K().ignoreTag
4074
4074
  })
4075
4075
  ), ji = (e, t = {}) => {
4076
4076
  var r, n, i, s;
@@ -4087,28 +4087,28 @@ const he = (e, t) => {
4087
4087
  );
4088
4088
  let l = vr(e, h);
4089
4089
  if (!l)
4090
- l = (s = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4090
+ l = (s = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4091
4091
  else if (typeof l != "string")
4092
4092
  return console.warn(
4093
4093
  `[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.`
4094
4094
  ), l;
4095
4095
  if (!a)
4096
4096
  return l;
4097
- let f = l;
4097
+ let c = l;
4098
4098
  try {
4099
- f = Fi(l, h).format(a);
4100
- } catch (c) {
4101
- c instanceof Error && console.warn(
4099
+ c = Fi(l, h).format(a);
4100
+ } catch (m) {
4101
+ m instanceof Error && console.warn(
4102
4102
  `[svelte-i18n] Message "${e}" has syntax error:`,
4103
- c.message
4103
+ m.message
4104
4104
  );
4105
4105
  }
4106
- return f;
4107
- }, zi = (e, t) => Gi(t).format(e), Vi = (e, t) => Ui(t).format(e), Xi = (e, t) => ki(t).format(e), Wi = (e, t = G()) => vr(e, t), Zi = te([z, me], () => ji);
4108
- te([z], () => zi);
4109
- te([z], () => Vi);
4110
- te([z], () => Xi);
4111
- te([z, me], () => Wi);
4106
+ return c;
4107
+ }, zi = (e, t) => Gi(t).format(e), Vi = (e, t) => Ui(t).format(e), Xi = (e, t) => ki(t).format(e), Wi = (e, t = G()) => vr(e, t), Zi = te([F, fe], () => ji);
4108
+ te([F], () => zi);
4109
+ te([F], () => Vi);
4110
+ te([F], () => Xi);
4111
+ te([F, fe], () => Wi);
4112
4112
  function Ji(e, t) {
4113
4113
  if (e) {
4114
4114
  const r = document.createElement("style");
@@ -4134,15 +4134,15 @@ function Qi(e, t, r) {
4134
4134
  });
4135
4135
  }
4136
4136
  }
4137
- function Nt(e, t) {
4137
+ function Mt(e, t) {
4138
4138
  xr(e, t);
4139
4139
  }
4140
4140
  function Yi(e) {
4141
4141
  Si({
4142
4142
  fallbackLocale: "en"
4143
- }), z.set(e);
4143
+ }), F.set(e);
4144
4144
  }
4145
- const Lt = {
4145
+ const Nt = {
4146
4146
  en: {
4147
4147
  errorGeneralTitle: "Error Occurred",
4148
4148
  errorGeneralText: "Something went wrong",
@@ -4199,71 +4199,49 @@ const Lt = {
4199
4199
  function Ki(e) {
4200
4200
  $r(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}");
4201
4201
  }
4202
- const es = (e) => ({}), $t = (e) => ({}), ts = (e) => ({}), Rt = (e) => ({}), rs = (e) => ({}), Dt = (e) => ({}), ns = (e) => ({}), kt = (e) => ({ class: "CashierErrorIcon" });
4203
- function Ut(e) {
4202
+ const es = (e) => ({}), Lt = (e) => ({}), ts = (e) => ({}), $t = (e) => ({}), rs = (e) => ({}), Rt = (e) => ({}), ns = (e) => ({}), Dt = (e) => ({ class: "CashierErrorIcon" });
4203
+ function kt(e) {
4204
4204
  let t, r;
4205
4205
  return {
4206
4206
  c() {
4207
- t = P("ui-image"), yt(t.src, r = `${/*assetsurl*/
4208
- e[0]}/error-general-icon.png`) || Ee(t, "src", r), Ee(t, "width", "300px"), Ee(t, "alt", "error");
4207
+ t = M("ui-image"), bt(t.src, r = `${/*assetsurl*/
4208
+ e[0]}/error-general-icon.png`) || ve(t, "src", r), ve(t, "width", "300px"), ve(t, "alt", "error");
4209
4209
  },
4210
4210
  m(n, i) {
4211
- j(n, t, i);
4211
+ ee(n, t, i);
4212
4212
  },
4213
4213
  p(n, i) {
4214
4214
  i & /*assetsurl*/
4215
- 1 && !yt(t.src, r = `${/*assetsurl*/
4216
- n[0]}/error-general-icon.png`) && Ee(t, "src", r);
4215
+ 1 && !bt(t.src, r = `${/*assetsurl*/
4216
+ n[0]}/error-general-icon.png`) && ve(t, "src", r);
4217
4217
  },
4218
4218
  d(n) {
4219
- n && L(t);
4219
+ n && $(t);
4220
4220
  }
4221
4221
  };
4222
4222
  }
4223
4223
  function is(e) {
4224
4224
  let t, r = (
4225
4225
  /*assetsurl*/
4226
- e[0] && Ut(e)
4226
+ e[0] && kt(e)
4227
4227
  );
4228
4228
  return {
4229
4229
  c() {
4230
4230
  r && r.c(), t = Dr();
4231
4231
  },
4232
4232
  m(n, i) {
4233
- r && r.m(n, i), j(n, t, i);
4233
+ r && r.m(n, i), ee(n, t, i);
4234
4234
  },
4235
4235
  p(n, i) {
4236
4236
  /*assetsurl*/
4237
- n[0] ? r ? r.p(n, i) : (r = Ut(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4237
+ n[0] ? r ? r.p(n, i) : (r = kt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4238
4238
  },
4239
4239
  d(n) {
4240
- n && L(t), r && r.d(n);
4240
+ n && $(t), r && r.d(n);
4241
4241
  }
4242
4242
  };
4243
4243
  }
4244
4244
  function ss(e) {
4245
- let t, r = (
4246
- /*$_*/
4247
- e[3]("errorGeneralTitle") + ""
4248
- ), n;
4249
- return {
4250
- c() {
4251
- t = P("span"), n = fe(r), F(t, "class", "CashierErrorTitle");
4252
- },
4253
- m(i, s) {
4254
- j(i, t, s), N(t, n);
4255
- },
4256
- p(i, s) {
4257
- s & /*$_*/
4258
- 8 && r !== (r = /*$_*/
4259
- i[3]("errorGeneralTitle") + "") && ht(n, r);
4260
- },
4261
- d(i) {
4262
- i && L(t);
4263
- }
4264
- };
4265
- }
4266
- function os(e) {
4267
4245
  let t, r = (
4268
4246
  /*$_*/
4269
4247
  e[3](`${/*errorcode*/
@@ -4271,33 +4249,33 @@ function os(e) {
4271
4249
  ), n;
4272
4250
  return {
4273
4251
  c() {
4274
- t = P("span"), n = fe(r), F(t, "class", "CashierErrorText");
4252
+ t = M("span"), n = Le(r), J(t, "class", "CashierErrorText");
4275
4253
  },
4276
4254
  m(i, s) {
4277
- j(i, t, s), N(t, n);
4255
+ ee(i, t, s), L(t, n);
4278
4256
  },
4279
4257
  p(i, s) {
4280
4258
  s & /*$_, errorcode*/
4281
4259
  10 && r !== (r = /*$_*/
4282
4260
  i[3](`${/*errorcode*/
4283
- i[1] || "errorGeneralText"}`) + "") && ht(n, r);
4261
+ i[1] || "errorGeneralText"}`) + "") && Jt(n, r);
4284
4262
  },
4285
4263
  d(i) {
4286
- i && L(t);
4264
+ i && $(t);
4287
4265
  }
4288
4266
  };
4289
4267
  }
4290
- function as(e) {
4268
+ function os(e) {
4291
4269
  let t, r, n = (
4292
4270
  /*$_*/
4293
4271
  e[3]("errorGeneralButton") + ""
4294
4272
  ), i, s, o;
4295
4273
  return {
4296
4274
  c() {
4297
- t = P("button"), r = P("span"), i = fe(n), F(t, "class", "CashierErrorButton");
4275
+ t = M("button"), r = M("span"), i = Le(n), J(t, "class", "CashierErrorButton");
4298
4276
  },
4299
4277
  m(a, h) {
4300
- j(a, t, h), N(t, r), N(r, i), s || (o = Je(
4278
+ ee(a, t, h), L(t, r), L(r, i), s || (o = Je(
4301
4279
  t,
4302
4280
  "click",
4303
4281
  /*close*/
@@ -4307,186 +4285,185 @@ function as(e) {
4307
4285
  p(a, h) {
4308
4286
  h & /*$_*/
4309
4287
  8 && n !== (n = /*$_*/
4310
- a[3]("errorGeneralButton") + "") && ht(i, n);
4288
+ a[3]("errorGeneralButton") + "") && Jt(i, n);
4311
4289
  },
4312
4290
  d(a) {
4313
- a && L(t), s = !1, o();
4291
+ a && $(t), s = !1, o();
4314
4292
  }
4315
4293
  };
4316
4294
  }
4317
- function us(e) {
4295
+ function as(e) {
4318
4296
  let t, r, n, i, s, o;
4319
4297
  const a = (
4320
4298
  /*#slots*/
4321
4299
  e[11].icon
4322
- ), h = be(
4300
+ ), h = ge(
4323
4301
  a,
4324
4302
  e,
4325
4303
  /*$$scope*/
4326
4304
  e[10],
4327
- kt
4305
+ Dt
4328
4306
  ), u = h || is(e), l = (
4329
4307
  /*#slots*/
4330
4308
  e[11].title
4331
- ), f = be(
4309
+ ), c = ge(
4332
4310
  l,
4333
4311
  e,
4334
4312
  /*$$scope*/
4335
4313
  e[10],
4336
- Dt
4337
- ), c = f || ss(e), d = (
4314
+ Rt
4315
+ ), m = (
4338
4316
  /*#slots*/
4339
4317
  e[11].text
4340
- ), g = be(
4341
- d,
4318
+ ), d = ge(
4319
+ m,
4342
4320
  e,
4343
4321
  /*$$scope*/
4344
4322
  e[10],
4345
- Rt
4346
- ), b = g || os(e), E = (
4323
+ $t
4324
+ ), p = d || ss(e), b = (
4347
4325
  /*#slots*/
4348
4326
  e[11].button
4349
- ), x = be(
4350
- E,
4327
+ ), E = ge(
4328
+ b,
4351
4329
  e,
4352
4330
  /*$$scope*/
4353
4331
  e[10],
4354
- $t
4355
- ), p = x || as(e);
4332
+ Lt
4333
+ ), _ = E || os(e);
4356
4334
  return {
4357
4335
  c() {
4358
- t = P("div"), r = P("div"), u && u.c(), n = Ge(), c && c.c(), i = Ge(), b && b.c(), s = Ge(), p && p.c(), F(r, "class", "CashierErrorContent"), F(t, "class", "CashierError");
4336
+ t = M("div"), r = M("div"), u && u.c(), n = Ge(), c && c.c(), i = Ge(), p && p.c(), s = Ge(), _ && _.c(), J(r, "class", "CashierErrorContent"), J(t, "class", "CashierError");
4359
4337
  },
4360
- m(m, v) {
4361
- j(m, t, v), N(t, r), u && u.m(r, null), N(r, n), c && c.m(r, null), N(r, i), b && b.m(r, null), N(r, s), p && p.m(r, null), e[12](t), o = !0;
4338
+ m(f, g) {
4339
+ ee(f, t, g), L(t, r), u && u.m(r, null), L(r, n), c && c.m(r, null), L(r, i), p && p.m(r, null), L(r, s), _ && _.m(r, null), e[12](t), o = !0;
4362
4340
  },
4363
- p(m, [v]) {
4364
- h ? h.p && (!o || v & /*$$scope*/
4365
- 1024) && _e(
4341
+ p(f, [g]) {
4342
+ h ? h.p && (!o || g & /*$$scope*/
4343
+ 1024) && ye(
4366
4344
  h,
4367
4345
  a,
4368
- m,
4346
+ f,
4369
4347
  /*$$scope*/
4370
- m[10],
4371
- o ? ye(
4348
+ f[10],
4349
+ o ? be(
4372
4350
  a,
4373
4351
  /*$$scope*/
4374
- m[10],
4375
- v,
4352
+ f[10],
4353
+ g,
4376
4354
  ns
4377
- ) : ve(
4355
+ ) : _e(
4378
4356
  /*$$scope*/
4379
- m[10]
4357
+ f[10]
4380
4358
  ),
4381
- kt
4382
- ) : u && u.p && (!o || v & /*assetsurl*/
4383
- 1) && u.p(m, o ? v : -1), f ? f.p && (!o || v & /*$$scope*/
4384
- 1024) && _e(
4385
- f,
4359
+ Dt
4360
+ ) : u && u.p && (!o || g & /*assetsurl*/
4361
+ 1) && u.p(f, o ? g : -1), c && c.p && (!o || g & /*$$scope*/
4362
+ 1024) && ye(
4363
+ c,
4386
4364
  l,
4387
- m,
4365
+ f,
4388
4366
  /*$$scope*/
4389
- m[10],
4390
- o ? ye(
4367
+ f[10],
4368
+ o ? be(
4391
4369
  l,
4392
4370
  /*$$scope*/
4393
- m[10],
4394
- v,
4371
+ f[10],
4372
+ g,
4395
4373
  rs
4396
- ) : ve(
4374
+ ) : _e(
4397
4375
  /*$$scope*/
4398
- m[10]
4376
+ f[10]
4399
4377
  ),
4400
- Dt
4401
- ) : c && c.p && (!o || v & /*$_*/
4402
- 8) && c.p(m, o ? v : -1), g ? g.p && (!o || v & /*$$scope*/
4403
- 1024) && _e(
4404
- g,
4378
+ Rt
4379
+ ), d ? d.p && (!o || g & /*$$scope*/
4380
+ 1024) && ye(
4405
4381
  d,
4406
4382
  m,
4383
+ f,
4407
4384
  /*$$scope*/
4408
- m[10],
4409
- o ? ye(
4410
- d,
4385
+ f[10],
4386
+ o ? be(
4387
+ m,
4411
4388
  /*$$scope*/
4412
- m[10],
4413
- v,
4389
+ f[10],
4390
+ g,
4414
4391
  ts
4415
- ) : ve(
4392
+ ) : _e(
4416
4393
  /*$$scope*/
4417
- m[10]
4394
+ f[10]
4418
4395
  ),
4419
- Rt
4420
- ) : b && b.p && (!o || v & /*$_, errorcode*/
4421
- 10) && b.p(m, o ? v : -1), x ? x.p && (!o || v & /*$$scope*/
4422
- 1024) && _e(
4423
- x,
4396
+ $t
4397
+ ) : p && p.p && (!o || g & /*$_, errorcode*/
4398
+ 10) && p.p(f, o ? g : -1), E ? E.p && (!o || g & /*$$scope*/
4399
+ 1024) && ye(
4424
4400
  E,
4425
- m,
4401
+ b,
4402
+ f,
4426
4403
  /*$$scope*/
4427
- m[10],
4428
- o ? ye(
4429
- E,
4404
+ f[10],
4405
+ o ? be(
4406
+ b,
4430
4407
  /*$$scope*/
4431
- m[10],
4432
- v,
4408
+ f[10],
4409
+ g,
4433
4410
  es
4434
- ) : ve(
4411
+ ) : _e(
4435
4412
  /*$$scope*/
4436
- m[10]
4413
+ f[10]
4437
4414
  ),
4438
- $t
4439
- ) : p && p.p && (!o || v & /*$_*/
4440
- 8) && p.p(m, o ? v : -1);
4415
+ Lt
4416
+ ) : _ && _.p && (!o || g & /*$_*/
4417
+ 8) && _.p(f, o ? g : -1);
4441
4418
  },
4442
- i(m) {
4443
- o || (Z(u, m), Z(c, m), Z(b, m), Z(p, m), o = !0);
4419
+ i(f) {
4420
+ o || (X(u, f), X(c, f), X(p, f), X(_, f), o = !0);
4444
4421
  },
4445
- o(m) {
4446
- we(u, m), we(c, m), we(b, m), we(p, m), o = !1;
4422
+ o(f) {
4423
+ xe(u, f), xe(c, f), xe(p, f), xe(_, f), o = !1;
4447
4424
  },
4448
- d(m) {
4449
- m && L(t), u && u.d(m), c && c.d(m), b && b.d(m), p && p.d(m), e[12](null);
4425
+ d(f) {
4426
+ f && $(t), u && u.d(f), c && c.d(f), p && p.d(f), _ && _.d(f), e[12](null);
4450
4427
  }
4451
4428
  };
4452
4429
  }
4453
- function ls(e, t, r) {
4430
+ function us(e, t, r) {
4454
4431
  let n;
4455
- Lr(e, Zi, (p) => r(3, n = p));
4456
- let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { mbsource: c = "" } = t, d;
4457
- const g = () => {
4432
+ Lr(e, Zi, (f) => r(3, n = f));
4433
+ 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;
4434
+ const p = () => {
4458
4435
  Yi(a);
4459
4436
  }, b = () => {
4460
- fetch(f).then((m) => m.json()).then((m) => {
4461
- Object.keys(m).forEach((v) => {
4462
- Nt(v, m[v]);
4437
+ fetch(c).then((g) => g.json()).then((g) => {
4438
+ Object.keys(g).forEach((S) => {
4439
+ Mt(S, g[S]);
4463
4440
  });
4464
- }).catch((m) => {
4465
- console.error(m);
4441
+ }).catch((g) => {
4442
+ console.error(g);
4466
4443
  });
4467
4444
  };
4468
- Object.keys(Lt).forEach((p) => {
4469
- Nt(p, Lt[p]);
4445
+ Object.keys(Nt).forEach((f) => {
4446
+ Mt(f, Nt[f]);
4470
4447
  });
4471
4448
  const E = () => {
4472
4449
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4473
4450
  };
4474
4451
  Wr(() => () => {
4475
4452
  });
4476
- function x(p) {
4477
- Qe[p ? "unshift" : "push"](() => {
4478
- d = p, r(2, d);
4453
+ function _(f) {
4454
+ Qe[f ? "unshift" : "push"](() => {
4455
+ d = f, r(2, d);
4479
4456
  });
4480
4457
  }
4481
- return e.$$set = (p) => {
4482
- "assetsurl" in p && r(0, o = p.assetsurl), "lang" in p && r(5, a = p.lang), "errorcode" in p && r(1, h = p.errorcode), "clientstyling" in p && r(6, u = p.clientstyling), "clientstylingurl" in p && r(7, l = p.clientstylingurl), "translationurl" in p && r(8, f = p.translationurl), "mbsource" in p && r(9, c = p.mbsource), "$$scope" in p && r(10, s = p.$$scope);
4458
+ return e.$$set = (f) => {
4459
+ "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);
4483
4460
  }, e.$$.update = () => {
4484
4461
  e.$$.dirty & /*lang*/
4485
- 32 && a && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4462
+ 32 && a && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4486
4463
  68 && u && d && Ji(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4487
4464
  132 && l && d && qi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4488
- 516 && c && d && Qi(d, `${c}.Style`), e.$$.dirty & /*translationurl*/
4489
- 256 && f && b();
4465
+ 516 && m && d && Qi(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
4466
+ 256 && c && b();
4490
4467
  }, [
4491
4468
  o,
4492
4469
  h,
@@ -4496,11 +4473,11 @@ function ls(e, t, r) {
4496
4473
  a,
4497
4474
  u,
4498
4475
  l,
4499
- f,
4500
4476
  c,
4477
+ m,
4501
4478
  s,
4502
4479
  i,
4503
- x
4480
+ _
4504
4481
  ];
4505
4482
  }
4506
4483
  class Br extends tn {
@@ -4508,9 +4485,9 @@ class Br extends tn {
4508
4485
  super(), Kr(
4509
4486
  this,
4510
4487
  t,
4511
- ls,
4512
4488
  us,
4513
- jt,
4489
+ as,
4490
+ Ft,
4514
4491
  {
4515
4492
  assetsurl: 0,
4516
4493
  lang: 5,
@@ -4527,43 +4504,43 @@ class Br extends tn {
4527
4504
  return this.$$.ctx[0];
4528
4505
  }
4529
4506
  set assetsurl(t) {
4530
- this.$$set({ assetsurl: t }), $();
4507
+ this.$$set({ assetsurl: t }), N();
4531
4508
  }
4532
4509
  get lang() {
4533
4510
  return this.$$.ctx[5];
4534
4511
  }
4535
4512
  set lang(t) {
4536
- this.$$set({ lang: t }), $();
4513
+ this.$$set({ lang: t }), N();
4537
4514
  }
4538
4515
  get errorcode() {
4539
4516
  return this.$$.ctx[1];
4540
4517
  }
4541
4518
  set errorcode(t) {
4542
- this.$$set({ errorcode: t }), $();
4519
+ this.$$set({ errorcode: t }), N();
4543
4520
  }
4544
4521
  get clientstyling() {
4545
4522
  return this.$$.ctx[6];
4546
4523
  }
4547
4524
  set clientstyling(t) {
4548
- this.$$set({ clientstyling: t }), $();
4525
+ this.$$set({ clientstyling: t }), N();
4549
4526
  }
4550
4527
  get clientstylingurl() {
4551
4528
  return this.$$.ctx[7];
4552
4529
  }
4553
4530
  set clientstylingurl(t) {
4554
- this.$$set({ clientstylingurl: t }), $();
4531
+ this.$$set({ clientstylingurl: t }), N();
4555
4532
  }
4556
4533
  get translationurl() {
4557
4534
  return this.$$.ctx[8];
4558
4535
  }
4559
4536
  set translationurl(t) {
4560
- this.$$set({ translationurl: t }), $();
4537
+ this.$$set({ translationurl: t }), N();
4561
4538
  }
4562
4539
  get mbsource() {
4563
4540
  return this.$$.ctx[9];
4564
4541
  }
4565
4542
  set mbsource(t) {
4566
- this.$$set({ mbsource: t }), $();
4543
+ this.$$set({ mbsource: t }), N();
4567
4544
  }
4568
4545
  }
4569
4546
  en(Br, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
@@ -4572,65 +4549,65 @@ const Is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4572
4549
  default: Br
4573
4550
  }, Symbol.toStringTag, { value: "Module" }));
4574
4551
  export {
4575
- z as $,
4576
- bs as A,
4577
- Ee as B,
4552
+ F as $,
4553
+ gs as A,
4554
+ ve as B,
4578
4555
  Dr as C,
4579
- ws as D,
4580
- Es as E,
4581
- ps as F,
4582
- As as G,
4583
- yt as H,
4584
- ht as I,
4585
- Os as J,
4586
- gs as K,
4587
- fe as L,
4556
+ xs as D,
4557
+ vs as E,
4558
+ ds as F,
4559
+ Bs as G,
4560
+ bt as H,
4561
+ Jt as I,
4562
+ Ps as J,
4563
+ ps as K,
4564
+ Le as L,
4588
4565
  U as M,
4589
- ys as N,
4590
- _s as O,
4591
- ds as P,
4592
- Ps as Q,
4566
+ bs as N,
4567
+ ys as O,
4568
+ ms as P,
4569
+ As as Q,
4593
4570
  Ji as R,
4594
4571
  tn as S,
4595
4572
  qi as T,
4596
4573
  Qi as U,
4597
- we as V,
4598
- Z as W,
4599
- Ts as X,
4600
- Hs as Y,
4601
- be as Z,
4602
- _e as _,
4574
+ xe as V,
4575
+ X as W,
4576
+ ws as X,
4577
+ Ts as Y,
4578
+ ge as Z,
4579
+ ye as _,
4603
4580
  xr as a,
4604
- ve as a0,
4605
- ye as a1,
4606
- vs as a2,
4607
- Gt as a3,
4608
- Bs as a4,
4609
- Ss as a5,
4581
+ _e as a0,
4582
+ be as a1,
4583
+ _s as a2,
4584
+ Ut as a3,
4585
+ Ss as a4,
4586
+ Hs as a5,
4610
4587
  Is as a6,
4611
4588
  Zi as b,
4612
- Cs as c,
4589
+ Os as c,
4613
4590
  sn as d,
4614
4591
  Kr as e,
4615
- $ as f,
4616
- fs as g,
4592
+ N as f,
4593
+ cs as g,
4617
4594
  en as h,
4618
4595
  Si as i,
4619
4596
  $r as j,
4620
4597
  ue as k,
4621
- L as l,
4622
- j as m,
4598
+ $ as l,
4599
+ ee as m,
4623
4600
  A as n,
4624
- N as o,
4601
+ L as o,
4625
4602
  Je as p,
4626
- ms as q,
4627
- P as r,
4628
- jt as s,
4603
+ fs as q,
4604
+ M as r,
4605
+ Ft as s,
4629
4606
  Ge as t,
4630
- F as u,
4607
+ J as u,
4631
4608
  Lr as v,
4632
4609
  $e as w,
4633
4610
  Wr as x,
4634
- xs as y,
4611
+ Es as y,
4635
4612
  Qe as z
4636
4613
  };