@everymatrix/cashier-page 1.77.3 → 1.77.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/components/{CashierError-BuW5dJfP.js → CashierError-BfI-dhBA.js} +470 -488
  2. package/components/{CashierError-BL7OTzSK.js → CashierError-BpHmWAV4.js} +622 -640
  3. package/components/{CashierError-BEEnpeVH.cjs → CashierError-Cwc-x7-n.cjs} +4 -4
  4. package/components/CashierHeader-BmFnfiuo.cjs +1 -0
  5. package/components/{CashierHeader-FDYsDrpF.js → CashierHeader-Dg0BUudB.js} +73 -73
  6. package/components/{CashierHeader-CkyrZZ8s.js → CashierHeader-gXrzXYdb.js} +74 -74
  7. package/components/{CashierIframeRedirect-wlE_YN39.js → CashierIframeRedirect-B2qLdGXs.js} +3 -3
  8. package/components/{CashierIframeRedirect-CmdPA_aZ.js → CashierIframeRedirect-CK8r-ttq.js} +3 -3
  9. package/components/{CashierIframeRedirect-Db-zgjwP.cjs → CashierIframeRedirect-yYx9jiwQ.cjs} +1 -1
  10. package/components/{CashierMethodDetails-B7K0CIlB.cjs → CashierMethodDetails-C8Aujapw.cjs} +5 -5
  11. package/components/{CashierMethodDetails-C7dG4t8m.js → CashierMethodDetails-CMJ3AZ1w.js} +126 -126
  12. package/components/{CashierMethodDetails-BSBqkHNa.js → CashierMethodDetails-DUoeeyvh.js} +126 -126
  13. package/components/{CashierMethodsList-gPmctW-Q.js → CashierMethodsList-CGzThcle.js} +256 -256
  14. package/components/CashierMethodsList-CPkX_Quy.cjs +1 -0
  15. package/components/{CashierMethodsList-FNgy0d7U.js → CashierMethodsList-Dg2r9AfY.js} +239 -239
  16. package/components/{CashierModal-CIWk9EpH.js → CashierModal-BH_3F3zD.js} +36 -36
  17. package/components/{CashierModal-vCh-dC6Q.cjs → CashierModal-ChQ4v8zb.cjs} +1 -1
  18. package/components/{CashierModal-BAzO-8NU.js → CashierModal-DPu1DYOz.js} +32 -32
  19. package/components/{CashierNotifications-Bgf97-ym.cjs → CashierNotifications-CvyXyy3e.cjs} +1 -1
  20. package/components/{CashierNotifications-BhA-DfA9.js → CashierNotifications-DJkU9Qld.js} +1 -1
  21. package/components/{CashierNotifications-CfzNxd6q.js → CashierNotifications-DalsZ-_b.js} +1 -1
  22. package/components/CashierPage-BE-30dWS.cjs +1 -0
  23. package/components/{CashierPage-D8YY3wAI.js → CashierPage-BPE6GQlI.js} +576 -594
  24. package/components/{CashierPage-DbHvX6nI.js → CashierPage-VLpP-BiO.js} +585 -603
  25. package/components/{CashierReceiptPage-A1MYfWGW.js → CashierReceiptPage-BBA-8TRN.js} +3 -3
  26. package/components/{CashierReceiptPage-CQyluI1J.cjs → CashierReceiptPage-CO3ZVCdS.cjs} +1 -1
  27. package/components/{CashierReceiptPage-BzjCwk2b.js → CashierReceiptPage-DFrIxtqP.js} +3 -3
  28. package/components/{CashierSessionExpirationModal-CtakjuI_.js → CashierSessionExpirationModal-BD8QkE1D.js} +444 -462
  29. package/components/{CashierSessionExpirationModal-YWIpKzje.js → CashierSessionExpirationModal-DXyum0E9.js} +402 -420
  30. package/components/CashierSessionExpirationModal-IPLl_Pgb.cjs +2 -0
  31. package/components/{CashierSpinner-DXrTfpLq.js → CashierSpinner-ApTRgAwC.js} +1 -1
  32. package/components/{CashierSpinner-CAqB2_pw.js → CashierSpinner-BtqGjC-Z.js} +1 -1
  33. package/components/{CashierSpinner-DTztqXMW.cjs → CashierSpinner-DLi9367a.cjs} +1 -1
  34. package/components/CashierTransactionHistory-B6b6N-V8.js +1305 -0
  35. package/components/CashierTransactionHistory-DUK3EI4M.cjs +1 -0
  36. package/components/CashierTransactionHistory-iszMiNkq.js +1305 -0
  37. package/components/CashierVerifications-BeUxv_g0.js +612 -0
  38. package/components/CashierVerifications-C2--15rP.js +608 -0
  39. package/components/CashierVerifications-D71jldwG.cjs +1 -0
  40. package/components/{TxnStatusIcon-DPmmaKoK.js → TxnStatusIcon-B464k5IP.js} +1 -1
  41. package/components/{TxnStatusIcon-ClddwA7r.js → TxnStatusIcon-DLRJaQNz.js} +1 -1
  42. package/components/{TxnStatusIcon-Dapc6xhT.cjs → TxnStatusIcon-Q02UYwzX.cjs} +1 -1
  43. package/components/{TxnTypeIcons-w8LBVBiN.cjs → TxnTypeIcons-BfcVtJl5.cjs} +1 -1
  44. package/components/{TxnTypeIcons-CEcfPpqm.js → TxnTypeIcons-Ct2XFW1C.js} +1 -1
  45. package/components/{TxnTypeIcons-CWojIltL.js → TxnTypeIcons-DROxy56q.js} +1 -1
  46. package/es2015/cashier-page.cjs +1 -1
  47. package/es2015/cashier-page.js +1 -1
  48. package/esnext/cashier-page.js +1 -1
  49. package/package.json +1 -1
  50. package/components/CashierHeader-D5eAmyvG.cjs +0 -1
  51. package/components/CashierMethodsList-pakwpTY2.cjs +0 -1
  52. package/components/CashierPage-DcwM8mwG.cjs +0 -1
  53. package/components/CashierSessionExpirationModal-Bh3jmXl_.cjs +0 -2
  54. package/components/CashierTransactionHistory-U9Il8eZb.js +0 -1305
  55. package/components/CashierTransactionHistory-Y1g5hagc.js +0 -1305
  56. package/components/CashierTransactionHistory-c_0mTjNo.cjs +0 -1
  57. package/components/CashierVerifications-BA7PsePr.js +0 -608
  58. package/components/CashierVerifications-BTvFySIg.js +0 -604
  59. package/components/CashierVerifications-BlWTY2gh.cjs +0 -1
@@ -2,7 +2,7 @@ import "../stencil/ui-image-BRBJSkg1.js";
2
2
  function B() {
3
3
  }
4
4
  const rt = (e) => e;
5
- function yr(e, t) {
5
+ function _r(e, t) {
6
6
  for (const r in t)
7
7
  e[r] = t[r];
8
8
  return (
@@ -10,29 +10,29 @@ function yr(e, t) {
10
10
  e
11
11
  );
12
12
  }
13
- function Rt(e) {
13
+ function Dt(e) {
14
14
  return e();
15
15
  }
16
16
  function mt() {
17
17
  return /* @__PURE__ */ Object.create(null);
18
18
  }
19
- function R(e) {
20
- e.forEach(Rt);
19
+ function $(e) {
20
+ e.forEach(Dt);
21
21
  }
22
22
  function ee(e) {
23
23
  return typeof e == "function";
24
24
  }
25
- function Dt(e, t) {
25
+ function kt(e, t) {
26
26
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
27
27
  }
28
28
  let me;
29
29
  function dt(e, t) {
30
30
  return e === t ? !0 : (me || (me = document.createElement("a")), me.href = t, e === me.href);
31
31
  }
32
- function _r(e) {
32
+ function Er(e) {
33
33
  return Object.keys(e).length === 0;
34
34
  }
35
- function kt(e, ...t) {
35
+ function Ut(e, ...t) {
36
36
  if (e == null) {
37
37
  for (const n of t)
38
38
  n(void 0);
@@ -41,17 +41,17 @@ function kt(e, ...t) {
41
41
  const r = e.subscribe(...t);
42
42
  return r.unsubscribe ? () => r.unsubscribe() : r;
43
43
  }
44
- function Er(e, t, r) {
45
- e.$$.on_destroy.push(kt(t, r));
44
+ function vr(e, t, r) {
45
+ e.$$.on_destroy.push(Ut(t, r));
46
46
  }
47
47
  function be(e, t, r, n) {
48
48
  if (e) {
49
- const i = Ut(e, t, r, n);
49
+ const i = Gt(e, t, r, n);
50
50
  return e[0](i);
51
51
  }
52
52
  }
53
- function Ut(e, t, r, n) {
54
- return e[1] && n ? yr(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
+ function Gt(e, t, r, n) {
54
+ return e[1] && n ? _r(r.ctx.slice(), e[1](n(t))) : r.ctx;
55
55
  }
56
56
  function ye(e, t, r, n) {
57
57
  if (e[2] && n) {
@@ -59,9 +59,9 @@ function ye(e, t, r, n) {
59
59
  if (t.dirty === void 0)
60
60
  return i;
61
61
  if (typeof i == "object") {
62
- const s = [], o = Math.max(t.dirty.length, i.length);
63
- for (let a = 0; a < o; a += 1)
64
- s[a] = t.dirty[a] | i[a];
62
+ const s = [], a = Math.max(t.dirty.length, i.length);
63
+ for (let o = 0; o < a; o += 1)
64
+ s[o] = t.dirty[o] | i[o];
65
65
  return s;
66
66
  }
67
67
  return t.dirty | i;
@@ -70,8 +70,8 @@ function ye(e, t, r, n) {
70
70
  }
71
71
  function _e(e, t, r, n, i, s) {
72
72
  if (i) {
73
- const o = Ut(t, r, n, s);
74
- e.p(o, i);
73
+ const a = Gt(t, r, n, s);
74
+ e.p(a, i);
75
75
  }
76
76
  }
77
77
  function Ee(e) {
@@ -83,20 +83,20 @@ function Ee(e) {
83
83
  }
84
84
  return -1;
85
85
  }
86
- function ts(e) {
86
+ function es(e) {
87
87
  return e ?? "";
88
88
  }
89
- const Gt = typeof window < "u";
90
- let nt = Gt ? () => window.performance.now() : () => Date.now(), it = Gt ? (e) => requestAnimationFrame(e) : B;
89
+ const Ft = typeof window < "u";
90
+ let nt = Ft ? () => window.performance.now() : () => Date.now(), it = Ft ? (e) => requestAnimationFrame(e) : B;
91
91
  const W = /* @__PURE__ */ new Set();
92
- function Ft(e) {
92
+ function jt(e) {
93
93
  W.forEach((t) => {
94
94
  t.c(e) || (W.delete(t), t.f());
95
- }), W.size !== 0 && it(Ft);
95
+ }), W.size !== 0 && it(jt);
96
96
  }
97
97
  function st(e) {
98
98
  let t;
99
- return W.size === 0 && it(Ft), {
99
+ return W.size === 0 && it(jt), {
100
100
  promise: new Promise((r) => {
101
101
  W.add(t = { c: e, f: r });
102
102
  }),
@@ -105,18 +105,18 @@ function st(e) {
105
105
  }
106
106
  };
107
107
  }
108
- const rs = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
108
+ const ts = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
109
109
  // @ts-ignore Node typings have this
110
110
  global
111
111
  );
112
- function I(e, t) {
112
+ function C(e, t) {
113
113
  e.appendChild(t);
114
114
  }
115
- function vr(e, t, r) {
115
+ function xr(e, t, r) {
116
116
  const n = ot(e);
117
117
  if (!n.getElementById(t)) {
118
118
  const i = A("style");
119
- i.id = t, i.textContent = r, jt(n, i);
119
+ i.id = t, i.textContent = r, zt(n, i);
120
120
  }
121
121
  }
122
122
  function ot(e) {
@@ -129,31 +129,31 @@ function ot(e) {
129
129
  t
130
130
  ) : e.ownerDocument;
131
131
  }
132
- function xr(e) {
132
+ function Tr(e) {
133
133
  const t = A("style");
134
- return t.textContent = "/* empty */", jt(ot(e), t), t.sheet;
134
+ return t.textContent = "/* empty */", zt(ot(e), t), t.sheet;
135
135
  }
136
- function jt(e, t) {
137
- return I(
136
+ function zt(e, t) {
137
+ return C(
138
138
  /** @type {Document} */
139
139
  e.head || e,
140
140
  t
141
141
  ), t.sheet;
142
142
  }
143
- function D(e, t, r) {
143
+ function U(e, t, r) {
144
144
  e.insertBefore(t, r || null);
145
145
  }
146
- function P(e) {
146
+ function N(e) {
147
147
  e.parentNode && e.parentNode.removeChild(e);
148
148
  }
149
- function ns(e, t) {
149
+ function rs(e, t) {
150
150
  for (let r = 0; r < e.length; r += 1)
151
151
  e[r] && e[r].d(t);
152
152
  }
153
153
  function A(e) {
154
154
  return document.createElement(e);
155
155
  }
156
- function is(e) {
156
+ function ns(e) {
157
157
  return document.createElementNS("http://www.w3.org/2000/svg", e);
158
158
  }
159
159
  function he(e) {
@@ -162,42 +162,42 @@ function he(e) {
162
162
  function Re() {
163
163
  return he(" ");
164
164
  }
165
- function Tr() {
165
+ function wr() {
166
166
  return he("");
167
167
  }
168
168
  function Ve(e, t, r, n) {
169
169
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
170
170
  }
171
- function ss(e) {
171
+ function is(e) {
172
172
  return function(t) {
173
173
  return t.preventDefault(), e.call(this, t);
174
174
  };
175
175
  }
176
- function $(e, t, r) {
176
+ function k(e, t, r) {
177
177
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
178
178
  }
179
179
  function de(e, t, r) {
180
180
  const n = t.toLowerCase();
181
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : $(e, t, r);
181
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : k(e, t, r);
182
182
  }
183
- function os(e) {
183
+ function ss(e) {
184
184
  return e === "" ? null : +e;
185
185
  }
186
- function wr(e) {
186
+ function Hr(e) {
187
187
  return Array.from(e.childNodes);
188
188
  }
189
189
  function at(e, t) {
190
190
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
191
191
  t);
192
192
  }
193
- function as(e, t) {
193
+ function os(e, t) {
194
194
  e.value = t ?? "";
195
195
  }
196
- function us(e, t, r, n) {
196
+ function as(e, t, r, n) {
197
197
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
198
198
  }
199
199
  let pe;
200
- function Hr() {
200
+ function Sr() {
201
201
  if (pe === void 0) {
202
202
  pe = !1;
203
203
  try {
@@ -208,35 +208,35 @@ function Hr() {
208
208
  }
209
209
  return pe;
210
210
  }
211
- function ls(e, t) {
211
+ function us(e, t) {
212
212
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
213
213
  const n = A("iframe");
214
214
  n.setAttribute(
215
215
  "style",
216
216
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
217
217
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
218
- const i = Hr();
218
+ const i = Sr();
219
219
  let s;
220
220
  return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Ve(
221
221
  window,
222
222
  "message",
223
223
  /** @param {MessageEvent} event */
224
- (o) => {
225
- o.source === n.contentWindow && t();
224
+ (a) => {
225
+ a.source === n.contentWindow && t();
226
226
  }
227
227
  )) : (n.src = "about:blank", n.onload = () => {
228
228
  s = Ve(n.contentWindow, "resize", t), t();
229
- }), I(e, n), () => {
230
- (i || s && n.contentWindow) && s(), P(n);
229
+ }), C(e, n), () => {
230
+ (i || s && n.contentWindow) && s(), N(n);
231
231
  };
232
232
  }
233
- function hs(e, t, r) {
233
+ function ls(e, t, r) {
234
234
  e.classList.toggle(t, !!r);
235
235
  }
236
- function Sr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
236
+ function Br(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
237
237
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
238
238
  }
239
- function Br(e) {
239
+ function Ar(e) {
240
240
  const t = {};
241
241
  return e.childNodes.forEach(
242
242
  /** @param {Element} node */
@@ -247,27 +247,27 @@ function Br(e) {
247
247
  }
248
248
  const He = /* @__PURE__ */ new Map();
249
249
  let Se = 0;
250
- function Ar(e) {
250
+ function Pr(e) {
251
251
  let t = 5381, r = e.length;
252
252
  for (; r--; )
253
253
  t = (t << 5) - t ^ e.charCodeAt(r);
254
254
  return t >>> 0;
255
255
  }
256
- function Pr(e, t) {
257
- const r = { stylesheet: xr(t), rules: {} };
256
+ function Or(e, t) {
257
+ const r = { stylesheet: Tr(t), rules: {} };
258
258
  return He.set(e, r), r;
259
259
  }
260
- function Be(e, t, r, n, i, s, o, a = 0) {
260
+ function Be(e, t, r, n, i, s, a, o = 0) {
261
261
  const h = 16.666 / n;
262
262
  let u = `{
263
263
  `;
264
264
  for (let g = 0; g <= 1; g += h) {
265
265
  const d = t + (r - t) * s(g);
266
- u += g * 100 + `%{${o(d, 1 - d)}}
266
+ u += g * 100 + `%{${a(d, 1 - d)}}
267
267
  `;
268
268
  }
269
- const l = u + `100% {${o(r, 1 - r)}}
270
- }`, c = `__svelte_${Ar(l)}_${a}`, f = ot(e), { stylesheet: y, rules: m } = He.get(f) || Pr(f, e);
269
+ const l = u + `100% {${a(r, 1 - r)}}
270
+ }`, c = `__svelte_${Pr(l)}_${o}`, f = ot(e), { stylesheet: y, rules: m } = He.get(f) || Or(f, e);
271
271
  m[c] || (m[c] = !0, y.insertRule(`@keyframes ${c} ${l}`, y.cssRules.length));
272
272
  const p = e.style.animation || "";
273
273
  return e.style.animation = `${p ? `${p}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Se += 1, c;
@@ -277,13 +277,13 @@ function Ae(e, t) {
277
277
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
278
278
  // remove all Svelte animations
279
279
  ), i = r.length - n.length;
280
- i && (e.style.animation = n.join(", "), Se -= i, Se || Or());
280
+ i && (e.style.animation = n.join(", "), Se -= i, Se || Cr());
281
281
  }
282
- function Or() {
282
+ function Cr() {
283
283
  it(() => {
284
284
  Se || (He.forEach((e) => {
285
285
  const { ownerNode: t } = e.stylesheet;
286
- t && P(t);
286
+ t && N(t);
287
287
  }), He.clear());
288
288
  });
289
289
  }
@@ -291,30 +291,30 @@ let ae;
291
291
  function oe(e) {
292
292
  ae = e;
293
293
  }
294
- function zt() {
294
+ function Vt() {
295
295
  if (!ae)
296
296
  throw new Error("Function called outside component initialization");
297
297
  return ae;
298
298
  }
299
- function Cr(e) {
300
- zt().$$.on_mount.push(e);
299
+ function Ir(e) {
300
+ Vt().$$.on_mount.push(e);
301
301
  }
302
- function cs(e) {
303
- zt().$$.on_destroy.push(e);
302
+ function hs(e) {
303
+ Vt().$$.on_destroy.push(e);
304
304
  }
305
305
  const V = [], Xe = [];
306
306
  let Z = [];
307
- const pt = [], Ir = /* @__PURE__ */ Promise.resolve();
307
+ const pt = [], Nr = /* @__PURE__ */ Promise.resolve();
308
308
  let We = !1;
309
- function Nr() {
310
- We || (We = !0, Ir.then(O));
309
+ function Mr() {
310
+ We || (We = !0, Nr.then(P));
311
311
  }
312
312
  function J(e) {
313
313
  Z.push(e);
314
314
  }
315
315
  const De = /* @__PURE__ */ new Set();
316
316
  let j = 0;
317
- function O() {
317
+ function P() {
318
318
  if (j !== 0)
319
319
  return;
320
320
  const e = ae;
@@ -322,7 +322,7 @@ function O() {
322
322
  try {
323
323
  for (; j < V.length; ) {
324
324
  const t = V[j];
325
- j++, oe(t), Mr(t.$$);
325
+ j++, oe(t), Lr(t.$$);
326
326
  }
327
327
  } catch (t) {
328
328
  throw V.length = 0, j = 0, t;
@@ -339,14 +339,14 @@ function O() {
339
339
  pt.pop()();
340
340
  We = !1, De.clear(), oe(e);
341
341
  }
342
- function Mr(e) {
342
+ function Lr(e) {
343
343
  if (e.fragment !== null) {
344
- e.update(), R(e.before_update);
344
+ e.update(), $(e.before_update);
345
345
  const t = e.dirty;
346
346
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(J);
347
347
  }
348
348
  }
349
- function Lr(e) {
349
+ function $r(e) {
350
350
  const t = [], r = [];
351
351
  Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
352
352
  }
@@ -356,21 +356,21 @@ function ut() {
356
356
  ne = null;
357
357
  })), ne;
358
358
  }
359
- function U(e, t, r) {
360
- e.dispatchEvent(Sr(`${t ? "intro" : "outro"}${r}`));
359
+ function D(e, t, r) {
360
+ e.dispatchEvent(Br(`${t ? "intro" : "outro"}${r}`));
361
361
  }
362
362
  const ve = /* @__PURE__ */ new Set();
363
- let N;
364
- function $r() {
365
- N = {
363
+ let I;
364
+ function Rr() {
365
+ I = {
366
366
  r: 0,
367
367
  c: [],
368
- p: N
368
+ p: I
369
369
  // parent group
370
370
  };
371
371
  }
372
- function Rr() {
373
- N.r || R(N.c), N = N.p;
372
+ function Dr() {
373
+ I.r || $(I.c), I = I.p;
374
374
  }
375
375
  function M(e, t) {
376
376
  e && e.i && (ve.delete(e), e.i(t));
@@ -379,18 +379,18 @@ function X(e, t, r, n) {
379
379
  if (e && e.o) {
380
380
  if (ve.has(e))
381
381
  return;
382
- ve.add(e), N.c.push(() => {
382
+ ve.add(e), I.c.push(() => {
383
383
  ve.delete(e), n && (r && e.d(1), n());
384
384
  }), e.o(t);
385
385
  } else
386
386
  n && n();
387
387
  }
388
388
  const lt = { duration: 0 };
389
- function fs(e, t, r) {
389
+ function cs(e, t, r) {
390
390
  const n = { direction: "in" };
391
- let i = t(e, r, n), s = !1, o, a, h = 0;
391
+ let i = t(e, r, n), s = !1, a, o, h = 0;
392
392
  function u() {
393
- o && Ae(e, o);
393
+ a && Ae(e, a);
394
394
  }
395
395
  function l() {
396
396
  const {
@@ -400,12 +400,12 @@ function fs(e, t, r) {
400
400
  tick: p = B,
401
401
  css: g
402
402
  } = i || lt;
403
- g && (o = Be(e, 0, 1, y, f, m, g, h++)), p(0, 1);
403
+ g && (a = Be(e, 0, 1, y, f, m, g, h++)), p(0, 1);
404
404
  const d = nt() + f, E = d + y;
405
- a && a.abort(), s = !0, J(() => U(e, !0, "start")), a = st((b) => {
405
+ o && o.abort(), s = !0, J(() => D(e, !0, "start")), o = st((b) => {
406
406
  if (s) {
407
407
  if (b >= E)
408
- return p(1, 0), U(e, !0, "end"), u(), s = !1;
408
+ return p(1, 0), D(e, !0, "end"), u(), s = !1;
409
409
  if (b >= d) {
410
410
  const w = m((b - d) / y);
411
411
  p(w, 1 - w);
@@ -427,11 +427,11 @@ function fs(e, t, r) {
427
427
  }
428
428
  };
429
429
  }
430
- function ms(e, t, r) {
430
+ function fs(e, t, r) {
431
431
  const n = { direction: "out" };
432
- let i = t(e, r, n), s = !0, o;
433
- const a = N;
434
- a.r += 1;
432
+ let i = t(e, r, n), s = !0, a;
433
+ const o = I;
434
+ o.r += 1;
435
435
  let h;
436
436
  function u() {
437
437
  const {
@@ -441,13 +441,13 @@ function ms(e, t, r) {
441
441
  tick: y = B,
442
442
  css: m
443
443
  } = i || lt;
444
- m && (o = Be(e, 1, 0, c, l, f, m));
444
+ m && (a = Be(e, 1, 0, c, l, f, m));
445
445
  const p = nt() + l, g = p + c;
446
- J(() => U(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
446
+ J(() => D(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
447
447
  e.inert, e.inert = !0), st((d) => {
448
448
  if (s) {
449
449
  if (d >= g)
450
- return y(0, 1), U(e, !1, "end"), --a.r || R(a.c), !1;
450
+ return y(0, 1), D(e, !1, "end"), --o.r || $(o.c), !1;
451
451
  if (d >= p) {
452
452
  const E = f((d - p) / c);
453
453
  y(1 - E, E);
@@ -460,22 +460,22 @@ function ms(e, t, r) {
460
460
  i = i(n), u();
461
461
  }) : u(), {
462
462
  end(l) {
463
- l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (o && Ae(e, o), s = !1);
463
+ l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (a && Ae(e, a), s = !1);
464
464
  }
465
465
  };
466
466
  }
467
- function ds(e, t, r, n) {
468
- let s = t(e, r, { direction: "both" }), o = n ? 0 : 1, a = null, h = null, u = null, l;
467
+ function ms(e, t, r, n) {
468
+ let s = t(e, r, { direction: "both" }), a = n ? 0 : 1, o = null, h = null, u = null, l;
469
469
  function c() {
470
470
  u && Ae(e, u);
471
471
  }
472
472
  function f(m, p) {
473
473
  const g = (
474
474
  /** @type {Program['d']} */
475
- m.b - o
475
+ m.b - a
476
476
  );
477
477
  return p *= Math.abs(g), {
478
- a: o,
478
+ a,
479
479
  b: m.b,
480
480
  d: g,
481
481
  duration: p,
@@ -495,25 +495,25 @@ function ds(e, t, r, n) {
495
495
  start: nt() + p,
496
496
  b: m
497
497
  };
498
- m || (w.group = N, N.r += 1), "inert" in e && (m ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
499
- e.inert, e.inert = !0)), a || h ? h = w : (b && (c(), u = Be(e, o, m, g, p, d, b)), m && E(0, 1), a = f(w, g), J(() => U(e, m, "start")), st((H) => {
500
- if (h && H > h.start && (a = f(h, g), h = null, U(e, a.b, "start"), b && (c(), u = Be(
498
+ m || (w.group = I, I.r += 1), "inert" in e && (m ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
499
+ e.inert, e.inert = !0)), o || h ? h = w : (b && (c(), u = Be(e, a, m, g, p, d, b)), m && E(0, 1), o = f(w, g), J(() => D(e, m, "start")), st((H) => {
500
+ if (h && H > h.start && (o = f(h, g), h = null, D(e, o.b, "start"), b && (c(), u = Be(
501
501
  e,
502
- o,
503
- a.b,
504
- a.duration,
502
+ a,
503
+ o.b,
504
+ o.duration,
505
505
  0,
506
506
  d,
507
507
  s.css
508
- ))), a) {
509
- if (H >= a.end)
510
- E(o = a.b, 1 - o), U(e, a.b, "end"), h || (a.b ? c() : --a.group.r || R(a.group.c)), a = null;
511
- else if (H >= a.start) {
512
- const F = H - a.start;
513
- o = a.a + a.d * d(F / a.duration), E(o, 1 - o);
508
+ ))), o) {
509
+ if (H >= o.end)
510
+ E(a = o.b, 1 - a), D(e, o.b, "end"), h || (o.b ? c() : --o.group.r || $(o.group.c)), o = null;
511
+ else if (H >= o.start) {
512
+ const F = H - o.start;
513
+ a = o.a + o.d * d(F / o.duration), E(a, 1 - a);
514
514
  }
515
515
  }
516
- return !!(a || h);
516
+ return !!(o || h);
517
517
  }));
518
518
  }
519
519
  return {
@@ -523,31 +523,31 @@ function ds(e, t, r, n) {
523
523
  }) : y(m);
524
524
  },
525
525
  end() {
526
- c(), a = h = null;
526
+ c(), o = h = null;
527
527
  }
528
528
  };
529
529
  }
530
- function ps(e) {
530
+ function ds(e) {
531
531
  return e?.length !== void 0 ? e : Array.from(e);
532
532
  }
533
- function gs(e) {
533
+ function ps(e) {
534
534
  e && e.c();
535
535
  }
536
- function Dr(e, t, r) {
536
+ function kr(e, t, r) {
537
537
  const { fragment: n, after_update: i } = e.$$;
538
538
  n && n.m(t, r), J(() => {
539
- const s = e.$$.on_mount.map(Rt).filter(ee);
540
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : R(s), e.$$.on_mount = [];
539
+ const s = e.$$.on_mount.map(Dt).filter(ee);
540
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : $(s), e.$$.on_mount = [];
541
541
  }), i.forEach(J);
542
542
  }
543
- function kr(e, t) {
543
+ function Ur(e, t) {
544
544
  const r = e.$$;
545
- r.fragment !== null && (Lr(r.after_update), R(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
545
+ r.fragment !== null && ($r(r.after_update), $(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
546
546
  }
547
- function Ur(e, t) {
548
- e.$$.dirty[0] === -1 && (V.push(e), Nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
547
+ function Gr(e, t) {
548
+ e.$$.dirty[0] === -1 && (V.push(e), Mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
549
549
  }
550
- function Gr(e, t, r, n, i, s, o = null, a = [-1]) {
550
+ function Fr(e, t, r, n, i, s, a = null, o = [-1]) {
551
551
  const h = ae;
552
552
  oe(e);
553
553
  const u = e.$$ = {
@@ -567,27 +567,27 @@ function Gr(e, t, r, n, i, s, o = null, a = [-1]) {
567
567
  context: new Map(t.context || (h ? h.$$.context : [])),
568
568
  // everything else
569
569
  callbacks: mt(),
570
- dirty: a,
570
+ dirty: o,
571
571
  skip_bound: !1,
572
572
  root: t.target || h.$$.root
573
573
  };
574
- o && o(u.root);
574
+ a && a(u.root);
575
575
  let l = !1;
576
576
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...y) => {
577
577
  const m = y.length ? y[0] : f;
578
- return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Ur(e, c)), f;
579
- }) : [], u.update(), l = !0, R(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
578
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Gr(e, c)), f;
579
+ }) : [], u.update(), l = !0, $(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
580
580
  if (t.hydrate) {
581
- const c = wr(t.target);
582
- u.fragment && u.fragment.l(c), c.forEach(P);
581
+ const c = Hr(t.target);
582
+ u.fragment && u.fragment.l(c), c.forEach(N);
583
583
  } else
584
584
  u.fragment && u.fragment.c();
585
- t.intro && M(e.$$.fragment), Dr(e, t.target, t.anchor), O();
585
+ t.intro && M(e.$$.fragment), kr(e, t.target, t.anchor), P();
586
586
  }
587
587
  oe(h);
588
588
  }
589
- let Vt;
590
- typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
589
+ let Xt;
590
+ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
591
591
  /** The Svelte component constructor */
592
592
  $$ctor;
593
593
  /** Slots */
@@ -629,24 +629,24 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
629
629
  let s;
630
630
  return {
631
631
  c: function() {
632
- s = A("slot"), i !== "default" && $(s, "name", i);
632
+ s = A("slot"), i !== "default" && k(s, "name", i);
633
633
  },
634
634
  /**
635
635
  * @param {HTMLElement} target
636
636
  * @param {HTMLElement} [anchor]
637
637
  */
638
638
  m: function(h, u) {
639
- D(h, s, u);
639
+ U(h, s, u);
640
640
  },
641
641
  d: function(h) {
642
- h && P(s);
642
+ h && N(s);
643
643
  }
644
644
  };
645
645
  };
646
646
  };
647
647
  if (await Promise.resolve(), !this.$$cn || this.$$c)
648
648
  return;
649
- const t = {}, r = Br(this);
649
+ const t = {}, r = Ar(this);
650
650
  for (const i of this.$$s)
651
651
  i in r && (t[i] = [e(i)]);
652
652
  for (const i of this.attributes) {
@@ -682,8 +682,8 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
682
682
  this.$$c.$$.after_update.push(n), n();
683
683
  for (const i in this.$$l)
684
684
  for (const s of this.$$l[i]) {
685
- const o = this.$$c.$on(i, s);
686
- this.$$l_u.set(s, o);
685
+ const a = this.$$c.$on(i, s);
686
+ this.$$l_u.set(s, a);
687
687
  }
688
688
  this.$$l = {};
689
689
  }
@@ -733,36 +733,36 @@ function xe(e, t, r, n) {
733
733
  return t;
734
734
  }
735
735
  }
736
- function Fr(e, t, r, n, i, s) {
737
- let o = class extends Vt {
736
+ function jr(e, t, r, n, i, s) {
737
+ let a = class extends Xt {
738
738
  constructor() {
739
739
  super(e, r, i), this.$$p_d = t;
740
740
  }
741
741
  static get observedAttributes() {
742
742
  return Object.keys(t).map(
743
- (a) => (t[a].attribute || a).toLowerCase()
743
+ (o) => (t[o].attribute || o).toLowerCase()
744
744
  );
745
745
  }
746
746
  };
747
- return Object.keys(t).forEach((a) => {
748
- Object.defineProperty(o.prototype, a, {
747
+ return Object.keys(t).forEach((o) => {
748
+ Object.defineProperty(a.prototype, o, {
749
749
  get() {
750
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
750
+ return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
751
751
  },
752
752
  set(h) {
753
- h = xe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
753
+ h = xe(o, h, t), this.$$d[o] = h, this.$$c?.$set({ [o]: h });
754
754
  }
755
755
  });
756
- }), n.forEach((a) => {
757
- Object.defineProperty(o.prototype, a, {
756
+ }), n.forEach((o) => {
757
+ Object.defineProperty(a.prototype, o, {
758
758
  get() {
759
- return this.$$c?.[a];
759
+ return this.$$c?.[o];
760
760
  }
761
761
  });
762
762
  }), e.element = /** @type {any} */
763
- o, o;
763
+ a, a;
764
764
  }
765
- class jr {
765
+ class zr {
766
766
  /**
767
767
  * ### PRIVATE API
768
768
  *
@@ -781,7 +781,7 @@ class jr {
781
781
  $$set = void 0;
782
782
  /** @returns {void} */
783
783
  $destroy() {
784
- kr(this, 1), this.$destroy = B;
784
+ Ur(this, 1), this.$destroy = B;
785
785
  }
786
786
  /**
787
787
  * @template {Extract<keyof Events, string>} K
@@ -803,13 +803,13 @@ class jr {
803
803
  * @returns {void}
804
804
  */
805
805
  $set(t) {
806
- this.$$set && !_r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
806
+ this.$$set && !Er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
807
807
  }
808
808
  }
809
- const zr = "4";
810
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
809
+ const Vr = "4";
810
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Vr);
811
811
  const z = [];
812
- function Vr(e, t) {
812
+ function Xr(e, t) {
813
813
  return {
814
814
  subscribe: Ne(e, t).subscribe
815
815
  };
@@ -817,8 +817,8 @@ function Vr(e, t) {
817
817
  function Ne(e, t = B) {
818
818
  let r;
819
819
  const n = /* @__PURE__ */ new Set();
820
- function i(a) {
821
- if (Dt(e, a) && (e = a, r)) {
820
+ function i(o) {
821
+ if (kt(e, o) && (e = o, r)) {
822
822
  const h = !z.length;
823
823
  for (const u of n)
824
824
  u[1](), z.push(u, e);
@@ -829,23 +829,23 @@ function Ne(e, t = B) {
829
829
  }
830
830
  }
831
831
  }
832
- function s(a) {
833
- i(a(e));
832
+ function s(o) {
833
+ i(o(e));
834
834
  }
835
- function o(a, h = B) {
836
- const u = [a, h];
837
- return n.add(u), n.size === 1 && (r = t(i, s) || B), a(e), () => {
835
+ function a(o, h = B) {
836
+ const u = [o, h];
837
+ return n.add(u), n.size === 1 && (r = t(i, s) || B), o(e), () => {
838
838
  n.delete(u), n.size === 0 && r && (r(), r = null);
839
839
  };
840
840
  }
841
- return { set: i, update: s, subscribe: o };
841
+ return { set: i, update: s, subscribe: a };
842
842
  }
843
843
  function te(e, t, r) {
844
844
  const n = !Array.isArray(e), i = n ? [e] : e;
845
845
  if (!i.every(Boolean))
846
846
  throw new Error("derived() expects stores as input, got a falsy value");
847
847
  const s = t.length < 2;
848
- return Vr(r, (o, a) => {
848
+ return Xr(r, (a, o) => {
849
849
  let h = !1;
850
850
  const u = [];
851
851
  let l = 0, c = B;
@@ -853,10 +853,10 @@ function te(e, t, r) {
853
853
  if (l)
854
854
  return;
855
855
  c();
856
- const m = t(n ? u[0] : u, o, a);
857
- s ? o(m) : c = ee(m) ? m : B;
856
+ const m = t(n ? u[0] : u, a, o);
857
+ s ? a(m) : c = ee(m) ? m : B;
858
858
  }, y = i.map(
859
- (m, p) => kt(
859
+ (m, p) => Ut(
860
860
  m,
861
861
  (g) => {
862
862
  u[p] = g, l &= ~(1 << p), h && f();
@@ -867,75 +867,75 @@ function te(e, t, r) {
867
867
  )
868
868
  );
869
869
  return h = !0, f(), function() {
870
- R(y), c(), h = !1;
870
+ $(y), c(), h = !1;
871
871
  };
872
872
  });
873
873
  }
874
- var bs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
875
- function Xr(e) {
874
+ var gs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
875
+ function Wr(e) {
876
876
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
877
877
  }
878
- var Wr = function(t) {
879
- return Zr(t) && !Jr(t);
878
+ var Zr = function(t) {
879
+ return Jr(t) && !qr(t);
880
880
  };
881
- function Zr(e) {
881
+ function Jr(e) {
882
882
  return !!e && typeof e == "object";
883
883
  }
884
- function Jr(e) {
884
+ function qr(e) {
885
885
  var t = Object.prototype.toString.call(e);
886
- return t === "[object RegExp]" || t === "[object Date]" || Yr(e);
887
- }
888
- var qr = typeof Symbol == "function" && Symbol.for, Qr = qr ? Symbol.for("react.element") : 60103;
889
- function Yr(e) {
890
- return e.$$typeof === Qr;
886
+ return t === "[object RegExp]" || t === "[object Date]" || Kr(e);
891
887
  }
888
+ var Qr = typeof Symbol == "function" && Symbol.for, Yr = Qr ? Symbol.for("react.element") : 60103;
892
889
  function Kr(e) {
890
+ return e.$$typeof === Yr;
891
+ }
892
+ function en(e) {
893
893
  return Array.isArray(e) ? [] : {};
894
894
  }
895
895
  function ue(e, t) {
896
- return t.clone !== !1 && t.isMergeableObject(e) ? q(Kr(e), e, t) : e;
896
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(en(e), e, t) : e;
897
897
  }
898
- function en(e, t, r) {
898
+ function tn(e, t, r) {
899
899
  return e.concat(t).map(function(n) {
900
900
  return ue(n, r);
901
901
  });
902
902
  }
903
- function tn(e, t) {
903
+ function rn(e, t) {
904
904
  if (!t.customMerge)
905
905
  return q;
906
906
  var r = t.customMerge(e);
907
907
  return typeof r == "function" ? r : q;
908
908
  }
909
- function rn(e) {
909
+ function nn(e) {
910
910
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
911
911
  return Object.propertyIsEnumerable.call(e, t);
912
912
  }) : [];
913
913
  }
914
914
  function gt(e) {
915
- return Object.keys(e).concat(rn(e));
915
+ return Object.keys(e).concat(nn(e));
916
916
  }
917
- function Xt(e, t) {
917
+ function Wt(e, t) {
918
918
  try {
919
919
  return t in e;
920
920
  } catch {
921
921
  return !1;
922
922
  }
923
923
  }
924
- function nn(e, t) {
925
- return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
924
+ function sn(e, t) {
925
+ return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
926
926
  }
927
- function sn(e, t, r) {
927
+ function on(e, t, r) {
928
928
  var n = {};
929
929
  return r.isMergeableObject(e) && gt(e).forEach(function(i) {
930
930
  n[i] = ue(e[i], r);
931
931
  }), gt(t).forEach(function(i) {
932
- nn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = tn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
932
+ sn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = rn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
933
933
  }), n;
934
934
  }
935
935
  function q(e, t, r) {
936
- r = r || {}, r.arrayMerge = r.arrayMerge || en, r.isMergeableObject = r.isMergeableObject || Wr, r.cloneUnlessOtherwiseSpecified = ue;
936
+ r = r || {}, r.arrayMerge = r.arrayMerge || tn, r.isMergeableObject = r.isMergeableObject || Zr, r.cloneUnlessOtherwiseSpecified = ue;
937
937
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
938
- return s ? n ? r.arrayMerge(e, t, r) : sn(e, t, r) : ue(t, r);
938
+ return s ? n ? r.arrayMerge(e, t, r) : on(e, t, r) : ue(t, r);
939
939
  }
940
940
  q.all = function(t, r) {
941
941
  if (!Array.isArray(t))
@@ -944,8 +944,8 @@ q.all = function(t, r) {
944
944
  return q(n, i, r);
945
945
  }, {});
946
946
  };
947
- var on = q, an = on;
948
- const un = /* @__PURE__ */ Xr(an);
947
+ var an = q, un = an;
948
+ const ln = /* @__PURE__ */ Wr(un);
949
949
  var Ze = function(e, t) {
950
950
  return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
951
951
  r.__proto__ = n;
@@ -963,17 +963,17 @@ function Me(e, t) {
963
963
  }
964
964
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
965
965
  }
966
- var C = function() {
967
- return C = Object.assign || function(t) {
966
+ var O = function() {
967
+ return O = Object.assign || function(t) {
968
968
  for (var r, n = 1, i = arguments.length; n < i; n++) {
969
969
  r = arguments[n];
970
970
  for (var s in r)
971
971
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
972
972
  }
973
973
  return t;
974
- }, C.apply(this, arguments);
974
+ }, O.apply(this, arguments);
975
975
  };
976
- function ln(e, t) {
976
+ function hn(e, t) {
977
977
  var r = {};
978
978
  for (var n in e)
979
979
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -989,36 +989,36 @@ function ke(e, t, r) {
989
989
  return e.concat(s || Array.prototype.slice.call(t));
990
990
  }
991
991
  function Ue(e, t) {
992
- var r = t && t.cache ? t.cache : gn, n = t && t.serializer ? t.serializer : dn, i = t && t.strategy ? t.strategy : fn;
992
+ var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : pn, i = t && t.strategy ? t.strategy : mn;
993
993
  return i(e, {
994
994
  cache: r,
995
995
  serializer: n
996
996
  });
997
997
  }
998
- function hn(e) {
998
+ function cn(e) {
999
999
  return e == null || typeof e == "number" || typeof e == "boolean";
1000
1000
  }
1001
- function cn(e, t, r, n) {
1002
- var i = hn(n) ? n : r(n), s = t.get(i);
1001
+ function fn(e, t, r, n) {
1002
+ var i = cn(n) ? n : r(n), s = t.get(i);
1003
1003
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1004
1004
  }
1005
- function Wt(e, t, r) {
1005
+ function Zt(e, t, r) {
1006
1006
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1007
1007
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1008
1008
  }
1009
- function Zt(e, t, r, n, i) {
1009
+ function Jt(e, t, r, n, i) {
1010
1010
  return r.bind(t, e, n, i);
1011
1011
  }
1012
- function fn(e, t) {
1013
- var r = e.length === 1 ? cn : Wt;
1014
- return Zt(e, this, r, t.cache.create(), t.serializer);
1015
- }
1016
1012
  function mn(e, t) {
1017
- return Zt(e, this, Wt, t.cache.create(), t.serializer);
1013
+ var r = e.length === 1 ? fn : Zt;
1014
+ return Jt(e, this, r, t.cache.create(), t.serializer);
1015
+ }
1016
+ function dn(e, t) {
1017
+ return Jt(e, this, Zt, t.cache.create(), t.serializer);
1018
1018
  }
1019
- var dn = function() {
1019
+ var pn = function() {
1020
1020
  return JSON.stringify(arguments);
1021
- }, pn = (
1021
+ }, gn = (
1022
1022
  /** @class */
1023
1023
  function() {
1024
1024
  function e() {
@@ -1030,12 +1030,12 @@ var dn = function() {
1030
1030
  this.cache[t] = r;
1031
1031
  }, e;
1032
1032
  }()
1033
- ), gn = {
1033
+ ), bn = {
1034
1034
  create: function() {
1035
- return new pn();
1035
+ return new gn();
1036
1036
  }
1037
1037
  }, Ge = {
1038
- variadic: mn
1038
+ variadic: dn
1039
1039
  }, Pe = function() {
1040
1040
  return Pe = Object.assign || function(t) {
1041
1041
  for (var r, n = 1, i = arguments.length; n < i; n++) {
@@ -1061,40 +1061,40 @@ var Q;
1061
1061
  function bt(e) {
1062
1062
  return e.type === x.literal;
1063
1063
  }
1064
- function bn(e) {
1064
+ function yn(e) {
1065
1065
  return e.type === x.argument;
1066
1066
  }
1067
- function Jt(e) {
1067
+ function qt(e) {
1068
1068
  return e.type === x.number;
1069
1069
  }
1070
- function qt(e) {
1070
+ function Qt(e) {
1071
1071
  return e.type === x.date;
1072
1072
  }
1073
- function Qt(e) {
1073
+ function Yt(e) {
1074
1074
  return e.type === x.time;
1075
1075
  }
1076
- function Yt(e) {
1076
+ function Kt(e) {
1077
1077
  return e.type === x.select;
1078
1078
  }
1079
- function Kt(e) {
1079
+ function er(e) {
1080
1080
  return e.type === x.plural;
1081
1081
  }
1082
- function yn(e) {
1082
+ function _n(e) {
1083
1083
  return e.type === x.pound;
1084
1084
  }
1085
- function er(e) {
1085
+ function tr(e) {
1086
1086
  return e.type === x.tag;
1087
1087
  }
1088
- function tr(e) {
1088
+ function rr(e) {
1089
1089
  return !!(e && typeof e == "object" && e.type === Q.number);
1090
1090
  }
1091
1091
  function Je(e) {
1092
1092
  return !!(e && typeof e == "object" && e.type === Q.dateTime);
1093
1093
  }
1094
- var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _n = /(?:[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;
1095
- function En(e) {
1094
+ var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, En = /(?:[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;
1095
+ function vn(e) {
1096
1096
  var t = {};
1097
- return e.replace(_n, function(r) {
1097
+ return e.replace(En, function(r) {
1098
1098
  var n = r.length;
1099
1099
  switch (r[0]) {
1100
1100
  case "G":
@@ -1193,36 +1193,36 @@ var T = function() {
1193
1193
  return t;
1194
1194
  }, T.apply(this, arguments);
1195
1195
  };
1196
- var vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1197
- function xn(e) {
1196
+ var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1197
+ function Tn(e) {
1198
1198
  if (e.length === 0)
1199
1199
  throw new Error("Number skeleton cannot be empty");
1200
- for (var t = e.split(vn).filter(function(f) {
1200
+ for (var t = e.split(xn).filter(function(f) {
1201
1201
  return f.length > 0;
1202
1202
  }), r = [], n = 0, i = t; n < i.length; n++) {
1203
- var s = i[n], o = s.split("/");
1204
- if (o.length === 0)
1203
+ var s = i[n], a = s.split("/");
1204
+ if (a.length === 0)
1205
1205
  throw new Error("Invalid number skeleton");
1206
- for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1206
+ for (var o = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1207
1207
  var c = l[u];
1208
1208
  if (c.length === 0)
1209
1209
  throw new Error("Invalid number skeleton");
1210
1210
  }
1211
- r.push({ stem: a, options: h });
1211
+ r.push({ stem: o, options: h });
1212
1212
  }
1213
1213
  return r;
1214
1214
  }
1215
- function Tn(e) {
1215
+ function wn(e) {
1216
1216
  return e.replace(/^(.*?)-/, "");
1217
1217
  }
1218
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, wn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
1218
+ var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1219
1219
  function _t(e) {
1220
1220
  var t = {};
1221
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
1221
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
1222
1222
  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)), "";
1223
1223
  }), t;
1224
1224
  }
1225
- function sr(e) {
1225
+ function or(e) {
1226
1226
  switch (e) {
1227
1227
  case "sign-auto":
1228
1228
  return {
@@ -1262,7 +1262,7 @@ function sr(e) {
1262
1262
  };
1263
1263
  }
1264
1264
  }
1265
- function Hn(e) {
1265
+ function Sn(e) {
1266
1266
  var t;
1267
1267
  if (e[0] === "E" && e[1] === "E" ? (t = {
1268
1268
  notation: "engineering"
@@ -1270,17 +1270,17 @@ function Hn(e) {
1270
1270
  notation: "scientific"
1271
1271
  }, e = e.slice(1)), t) {
1272
1272
  var r = e.slice(0, 2);
1273
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
1273
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1274
1274
  throw new Error("Malformed concise eng/scientific notation");
1275
1275
  t.minimumIntegerDigits = e.length;
1276
1276
  }
1277
1277
  return t;
1278
1278
  }
1279
1279
  function Et(e) {
1280
- var t = {}, r = sr(e);
1280
+ var t = {}, r = or(e);
1281
1281
  return r || t;
1282
1282
  }
1283
- function Sn(e) {
1283
+ function Bn(e) {
1284
1284
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1285
1285
  var i = n[r];
1286
1286
  switch (i.stem) {
@@ -1304,7 +1304,7 @@ function Sn(e) {
1304
1304
  continue;
1305
1305
  case "measure-unit":
1306
1306
  case "unit":
1307
- t.style = "unit", t.unit = Tn(i.options[0]);
1307
+ t.style = "unit", t.unit = wn(i.options[0]);
1308
1308
  continue;
1309
1309
  case "compact-short":
1310
1310
  case "K":
@@ -1366,7 +1366,7 @@ function Sn(e) {
1366
1366
  case "integer-width":
1367
1367
  if (i.options.length > 1)
1368
1368
  throw new RangeError("integer-width stems only accept a single optional option");
1369
- i.options[0].replace(wn, function(h, u, l, c, f, y) {
1369
+ i.options[0].replace(Hn, function(h, u, l, c, f, y) {
1370
1370
  if (u)
1371
1371
  t.minimumIntegerDigits = l.length;
1372
1372
  else {
@@ -1379,7 +1379,7 @@ function Sn(e) {
1379
1379
  });
1380
1380
  continue;
1381
1381
  }
1382
- if (ir.test(i.stem)) {
1382
+ if (sr.test(i.stem)) {
1383
1383
  t.minimumIntegerDigits = i.stem.length;
1384
1384
  continue;
1385
1385
  }
@@ -1393,14 +1393,14 @@ function Sn(e) {
1393
1393
  s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), _t(s)));
1394
1394
  continue;
1395
1395
  }
1396
- if (nr.test(i.stem)) {
1396
+ if (ir.test(i.stem)) {
1397
1397
  t = T(T({}, t), _t(i.stem));
1398
1398
  continue;
1399
1399
  }
1400
- var o = sr(i.stem);
1401
- o && (t = T(T({}, t), o));
1402
- var a = Hn(i.stem);
1400
+ var a = or(i.stem);
1403
1401
  a && (t = T(T({}, t), a));
1402
+ var o = Sn(i.stem);
1403
+ o && (t = T(T({}, t), o));
1404
1404
  }
1405
1405
  return t;
1406
1406
  }
@@ -2819,23 +2819,23 @@ var ge = {
2819
2819
  "h"
2820
2820
  ]
2821
2821
  };
2822
- function Bn(e, t) {
2822
+ function An(e, t) {
2823
2823
  for (var r = "", n = 0; n < e.length; n++) {
2824
2824
  var i = e.charAt(n);
2825
2825
  if (i === "j") {
2826
2826
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2827
2827
  s++, n++;
2828
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = An(t);
2829
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2828
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Pn(t);
2829
+ for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2830
2830
  r += h;
2831
- for (; o-- > 0; )
2831
+ for (; a-- > 0; )
2832
2832
  r = u + r;
2833
2833
  } else
2834
2834
  i === "J" ? r += "H" : r += i;
2835
2835
  }
2836
2836
  return r;
2837
2837
  }
2838
- function An(e) {
2838
+ function Pn(e) {
2839
2839
  var t = e.hourCycle;
2840
2840
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2841
2841
  e.hourCycles && // @ts-ignore
@@ -2857,20 +2857,20 @@ function An(e) {
2857
2857
  var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2858
2858
  return i[0];
2859
2859
  }
2860
- var Fe, Pn = new RegExp("^".concat(rr.source, "*")), On = new RegExp("".concat(rr.source, "*$"));
2860
+ var Fe, On = new RegExp("^".concat(nr.source, "*")), Cn = new RegExp("".concat(nr.source, "*$"));
2861
2861
  function v(e, t) {
2862
2862
  return { start: e, end: t };
2863
2863
  }
2864
- var Cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Nn = !!Object.fromEntries, Mn = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, $n = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, Dn = Rn ? Number.isSafeInteger : function(e) {
2864
+ var In = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, Mn = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, kn = Dn ? Number.isSafeInteger : function(e) {
2865
2865
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2866
2866
  }, qe = !0;
2867
2867
  try {
2868
- var kn = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2869
- qe = ((Fe = kn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2868
+ var Un = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2869
+ qe = ((Fe = Un.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2870
2870
  } catch {
2871
2871
  qe = !1;
2872
2872
  }
2873
- var vt = Cn ? (
2873
+ var vt = In ? (
2874
2874
  // Native
2875
2875
  function(t, r, n) {
2876
2876
  return t.startsWith(r, n);
@@ -2880,31 +2880,31 @@ var vt = Cn ? (
2880
2880
  function(t, r, n) {
2881
2881
  return t.slice(n, n + r.length) === r;
2882
2882
  }
2883
- ), Qe = In ? String.fromCodePoint : (
2883
+ ), Qe = Nn ? String.fromCodePoint : (
2884
2884
  // IE11
2885
2885
  function() {
2886
2886
  for (var t = [], r = 0; r < arguments.length; r++)
2887
2887
  t[r] = arguments[r];
2888
- for (var n = "", i = t.length, s = 0, o; i > s; ) {
2889
- if (o = t[s++], o > 1114111)
2890
- throw RangeError(o + " is not a valid code point");
2891
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2888
+ for (var n = "", i = t.length, s = 0, a; i > s; ) {
2889
+ if (a = t[s++], a > 1114111)
2890
+ throw RangeError(a + " is not a valid code point");
2891
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2892
2892
  }
2893
2893
  return n;
2894
2894
  }
2895
2895
  ), xt = (
2896
2896
  // native
2897
- Nn ? Object.fromEntries : (
2897
+ Mn ? Object.fromEntries : (
2898
2898
  // Ponyfill
2899
2899
  function(t) {
2900
2900
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2901
- var s = i[n], o = s[0], a = s[1];
2902
- r[o] = a;
2901
+ var s = i[n], a = s[0], o = s[1];
2902
+ r[a] = o;
2903
2903
  }
2904
2904
  return r;
2905
2905
  }
2906
2906
  )
2907
- ), or = Mn ? (
2907
+ ), ar = Ln ? (
2908
2908
  // Native
2909
2909
  function(t, r) {
2910
2910
  return t.codePointAt(r);
@@ -2918,7 +2918,7 @@ var vt = Cn ? (
2918
2918
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2919
2919
  }
2920
2920
  }
2921
- ), Un = Ln ? (
2921
+ ), Gn = $n ? (
2922
2922
  // Native
2923
2923
  function(t) {
2924
2924
  return t.trimStart();
@@ -2926,9 +2926,9 @@ var vt = Cn ? (
2926
2926
  ) : (
2927
2927
  // Ponyfill
2928
2928
  function(t) {
2929
- return t.replace(Pn, "");
2929
+ return t.replace(On, "");
2930
2930
  }
2931
- ), Gn = $n ? (
2931
+ ), Fn = Rn ? (
2932
2932
  // Native
2933
2933
  function(t) {
2934
2934
  return t.trimEnd();
@@ -2936,15 +2936,15 @@ var vt = Cn ? (
2936
2936
  ) : (
2937
2937
  // Ponyfill
2938
2938
  function(t) {
2939
- return t.replace(On, "");
2939
+ return t.replace(Cn, "");
2940
2940
  }
2941
2941
  );
2942
- function ar(e, t) {
2942
+ function ur(e, t) {
2943
2943
  return new RegExp(e, t);
2944
2944
  }
2945
2945
  var Ye;
2946
2946
  if (qe) {
2947
- var Tt = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2947
+ var Tt = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2948
2948
  Ye = function(t, r) {
2949
2949
  var n;
2950
2950
  Tt.lastIndex = r;
@@ -2954,14 +2954,14 @@ if (qe) {
2954
2954
  } else
2955
2955
  Ye = function(t, r) {
2956
2956
  for (var n = []; ; ) {
2957
- var i = or(t, r);
2958
- if (i === void 0 || ur(i) || Vn(i))
2957
+ var i = ar(t, r);
2958
+ if (i === void 0 || lr(i) || Xn(i))
2959
2959
  break;
2960
2960
  n.push(i), r += i >= 65536 ? 2 : 1;
2961
2961
  }
2962
2962
  return Qe.apply(void 0, n);
2963
2963
  };
2964
- var Fn = (
2964
+ var jn = (
2965
2965
  /** @class */
2966
2966
  function() {
2967
2967
  function e(t, r) {
@@ -2975,33 +2975,33 @@ var Fn = (
2975
2975
  for (var i = []; !this.isEOF(); ) {
2976
2976
  var s = this.char();
2977
2977
  if (s === 123) {
2978
- var o = this.parseArgument(t, n);
2979
- if (o.err)
2980
- return o;
2981
- i.push(o.val);
2978
+ var a = this.parseArgument(t, n);
2979
+ if (a.err)
2980
+ return a;
2981
+ i.push(a.val);
2982
2982
  } else {
2983
2983
  if (s === 125 && t > 0)
2984
2984
  break;
2985
2985
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2986
- var a = this.clonePosition();
2986
+ var o = this.clonePosition();
2987
2987
  this.bump(), i.push({
2988
2988
  type: x.pound,
2989
- location: v(a, this.clonePosition())
2989
+ location: v(o, this.clonePosition())
2990
2990
  });
2991
2991
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2992
2992
  if (n)
2993
2993
  break;
2994
2994
  return this.error(_.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2995
2995
  } else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
2996
- var o = this.parseTag(t, r);
2997
- if (o.err)
2998
- return o;
2999
- i.push(o.val);
2996
+ var a = this.parseTag(t, r);
2997
+ if (a.err)
2998
+ return a;
2999
+ i.push(a.val);
3000
3000
  } else {
3001
- var o = this.parseLiteral(t, r);
3002
- if (o.err)
3003
- return o;
3004
- i.push(o.val);
3001
+ var a = this.parseLiteral(t, r);
3002
+ if (a.err)
3003
+ return a;
3004
+ i.push(a.val);
3005
3005
  }
3006
3006
  }
3007
3007
  }
@@ -3023,27 +3023,27 @@ var Fn = (
3023
3023
  var s = this.parseMessage(t + 1, r, !0);
3024
3024
  if (s.err)
3025
3025
  return s;
3026
- var o = s.val, a = this.clonePosition();
3026
+ var a = s.val, o = this.clonePosition();
3027
3027
  if (this.bumpIf("</")) {
3028
3028
  if (this.isEOF() || !Ke(this.char()))
3029
- return this.error(_.INVALID_TAG, v(a, this.clonePosition()));
3029
+ return this.error(_.INVALID_TAG, v(o, this.clonePosition()));
3030
3030
  var h = this.clonePosition(), u = this.parseTagName();
3031
3031
  return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3032
3032
  val: {
3033
3033
  type: x.tag,
3034
3034
  value: i,
3035
- children: o,
3035
+ children: a,
3036
3036
  location: v(n, this.clonePosition())
3037
3037
  },
3038
3038
  err: null
3039
- } : this.error(_.INVALID_TAG, v(a, this.clonePosition())));
3039
+ } : this.error(_.INVALID_TAG, v(o, this.clonePosition())));
3040
3040
  } else
3041
3041
  return this.error(_.UNCLOSED_TAG, v(n, this.clonePosition()));
3042
3042
  } else
3043
3043
  return this.error(_.INVALID_TAG, v(n, this.clonePosition()));
3044
3044
  }, e.prototype.parseTagName = function() {
3045
3045
  var t = this.offset();
3046
- for (this.bump(); !this.isEOF() && zn(this.char()); )
3046
+ for (this.bump(); !this.isEOF() && Vn(this.char()); )
3047
3047
  this.bump();
3048
3048
  return this.message.slice(t, this.offset());
3049
3049
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3053,16 +3053,16 @@ var Fn = (
3053
3053
  i += s;
3054
3054
  continue;
3055
3055
  }
3056
- var o = this.tryParseUnquoted(t, r);
3057
- if (o) {
3058
- i += o;
3059
- continue;
3060
- }
3061
- var a = this.tryParseLeftAngleBracket();
3056
+ var a = this.tryParseUnquoted(t, r);
3062
3057
  if (a) {
3063
3058
  i += a;
3064
3059
  continue;
3065
3060
  }
3061
+ var o = this.tryParseLeftAngleBracket();
3062
+ if (o) {
3063
+ i += o;
3064
+ continue;
3065
+ }
3066
3066
  break;
3067
3067
  }
3068
3068
  var h = v(n, this.clonePosition());
@@ -3072,7 +3072,7 @@ var Fn = (
3072
3072
  };
3073
3073
  }, e.prototype.tryParseLeftAngleBracket = function() {
3074
3074
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3075
- !jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3075
+ !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3076
3076
  }, e.prototype.tryParseQuote = function(t) {
3077
3077
  if (this.isEOF() || this.char() !== 39)
3078
3078
  return null;
@@ -3142,13 +3142,13 @@ var Fn = (
3142
3142
  }, e.prototype.parseIdentifierIfPossible = function() {
3143
3143
  var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3144
3144
  this.bumpTo(i);
3145
- var s = this.clonePosition(), o = v(t, s);
3146
- return { value: n, location: o };
3145
+ var s = this.clonePosition(), a = v(t, s);
3146
+ return { value: n, location: a };
3147
3147
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3148
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3149
- switch (a) {
3148
+ var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3149
+ switch (o) {
3150
3150
  case "":
3151
- return this.error(_.EXPECT_ARGUMENT_TYPE, v(o, h));
3151
+ return this.error(_.EXPECT_ARGUMENT_TYPE, v(a, h));
3152
3152
  case "number":
3153
3153
  case "date":
3154
3154
  case "time": {
@@ -3159,7 +3159,7 @@ var Fn = (
3159
3159
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3160
3160
  if (c.err)
3161
3161
  return c;
3162
- var f = Gn(c.val);
3162
+ var f = Fn(c.val);
3163
3163
  if (f.length === 0)
3164
3164
  return this.error(_.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3165
3165
  var y = v(l, this.clonePosition());
@@ -3170,8 +3170,8 @@ var Fn = (
3170
3170
  return m;
3171
3171
  var p = v(i, this.clonePosition());
3172
3172
  if (u && vt(u?.style, "::", 0)) {
3173
- var g = Un(u.style.slice(2));
3174
- if (a === "number") {
3173
+ var g = Gn(u.style.slice(2));
3174
+ if (o === "number") {
3175
3175
  var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
3176
3176
  return c.err ? c : {
3177
3177
  val: { type: x.number, value: n, location: p, style: c.val },
@@ -3181,13 +3181,13 @@ var Fn = (
3181
3181
  if (g.length === 0)
3182
3182
  return this.error(_.EXPECT_DATE_TIME_SKELETON, p);
3183
3183
  var d = g;
3184
- this.locale && (d = Bn(g, this.locale));
3184
+ this.locale && (d = An(g, this.locale));
3185
3185
  var f = {
3186
3186
  type: Q.dateTime,
3187
3187
  pattern: d,
3188
3188
  location: u.styleLocation,
3189
- parsedOptions: this.shouldParseSkeletons ? En(d) : {}
3190
- }, E = a === "date" ? x.date : x.time;
3189
+ parsedOptions: this.shouldParseSkeletons ? vn(d) : {}
3190
+ }, E = o === "date" ? x.date : x.time;
3191
3191
  return {
3192
3192
  val: { type: E, value: n, location: p, style: f },
3193
3193
  err: null
@@ -3196,7 +3196,7 @@ var Fn = (
3196
3196
  }
3197
3197
  return {
3198
3198
  val: {
3199
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3199
+ type: o === "number" ? x.number : o === "date" ? x.date : x.time,
3200
3200
  value: n,
3201
3201
  location: p,
3202
3202
  style: (s = u?.style) !== null && s !== void 0 ? s : null
@@ -3212,7 +3212,7 @@ var Fn = (
3212
3212
  return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, v(b, Pe({}, b)));
3213
3213
  this.bumpSpace();
3214
3214
  var w = this.parseIdentifierIfPossible(), H = 0;
3215
- if (a !== "select" && w.value === "offset") {
3215
+ if (o !== "select" && w.value === "offset") {
3216
3216
  if (!this.bumpIf(":"))
3217
3217
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3218
3218
  this.bumpSpace();
@@ -3221,14 +3221,14 @@ var Fn = (
3221
3221
  return c;
3222
3222
  this.bumpSpace(), w = this.parseIdentifierIfPossible(), H = c.val;
3223
3223
  }
3224
- var F = this.tryParsePluralOrSelectOptions(t, a, r, w);
3224
+ var F = this.tryParsePluralOrSelectOptions(t, o, r, w);
3225
3225
  if (F.err)
3226
3226
  return F;
3227
3227
  var m = this.tryParseArgumentClose(i);
3228
3228
  if (m.err)
3229
3229
  return m;
3230
3230
  var ft = v(i, this.clonePosition());
3231
- return a === "select" ? {
3231
+ return o === "select" ? {
3232
3232
  val: {
3233
3233
  type: x.select,
3234
3234
  value: n,
@@ -3242,14 +3242,14 @@ var Fn = (
3242
3242
  value: n,
3243
3243
  options: xt(F.val),
3244
3244
  offset: H,
3245
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3245
+ pluralType: o === "plural" ? "cardinal" : "ordinal",
3246
3246
  location: ft
3247
3247
  },
3248
3248
  err: null
3249
3249
  };
3250
3250
  }
3251
3251
  default:
3252
- return this.error(_.INVALID_ARGUMENT_TYPE, v(o, h));
3252
+ return this.error(_.INVALID_ARGUMENT_TYPE, v(a, h));
3253
3253
  }
3254
3254
  }, e.prototype.tryParseArgumentClose = function(t) {
3255
3255
  return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3291,7 +3291,7 @@ var Fn = (
3291
3291
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3292
3292
  var n = [];
3293
3293
  try {
3294
- n = xn(t);
3294
+ n = Tn(t);
3295
3295
  } catch {
3296
3296
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3297
3297
  }
@@ -3300,12 +3300,12 @@ var Fn = (
3300
3300
  type: Q.number,
3301
3301
  tokens: n,
3302
3302
  location: r,
3303
- parsedOptions: this.shouldParseSkeletons ? Sn(n) : {}
3303
+ parsedOptions: this.shouldParseSkeletons ? Bn(n) : {}
3304
3304
  },
3305
3305
  err: null
3306
3306
  };
3307
3307
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3308
- for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3308
+ for (var s, a = !1, o = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3309
3309
  if (u.length === 0) {
3310
3310
  var c = this.clonePosition();
3311
3311
  if (r !== "select" && this.bumpIf("=")) {
@@ -3318,7 +3318,7 @@ var Fn = (
3318
3318
  }
3319
3319
  if (h.has(u))
3320
3320
  return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3321
- u === "other" && (o = !0), this.bumpSpace();
3321
+ u === "other" && (a = !0), this.bumpSpace();
3322
3322
  var y = this.clonePosition();
3323
3323
  if (!this.bumpIf("{"))
3324
3324
  return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
@@ -3328,7 +3328,7 @@ var Fn = (
3328
3328
  var p = this.tryParseArgumentClose(y);
3329
3329
  if (p.err)
3330
3330
  return p;
3331
- a.push([
3331
+ o.push([
3332
3332
  u,
3333
3333
  {
3334
3334
  value: m.val,
@@ -3336,19 +3336,19 @@ var Fn = (
3336
3336
  }
3337
3337
  ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3338
3338
  }
3339
- return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3339
+ return o.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3340
3340
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3341
3341
  var n = 1, i = this.clonePosition();
3342
3342
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3343
- for (var s = !1, o = 0; !this.isEOF(); ) {
3344
- var a = this.char();
3345
- if (a >= 48 && a <= 57)
3346
- s = !0, o = o * 10 + (a - 48), this.bump();
3343
+ for (var s = !1, a = 0; !this.isEOF(); ) {
3344
+ var o = this.char();
3345
+ if (o >= 48 && o <= 57)
3346
+ s = !0, a = a * 10 + (o - 48), this.bump();
3347
3347
  else
3348
3348
  break;
3349
3349
  }
3350
3350
  var h = v(i, this.clonePosition());
3351
- return s ? (o *= n, Dn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3351
+ return s ? (a *= n, kn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3352
3352
  }, e.prototype.offset = function() {
3353
3353
  return this.position.offset;
3354
3354
  }, e.prototype.isEOF = function() {
@@ -3363,7 +3363,7 @@ var Fn = (
3363
3363
  var t = this.position.offset;
3364
3364
  if (t >= this.message.length)
3365
3365
  throw Error("out of bound");
3366
- var r = or(this.message, t);
3366
+ var r = ar(this.message, t);
3367
3367
  if (r === void 0)
3368
3368
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3369
3369
  return r;
@@ -3404,7 +3404,7 @@ var Fn = (
3404
3404
  break;
3405
3405
  }
3406
3406
  }, e.prototype.bumpSpace = function() {
3407
- for (; !this.isEOF() && ur(this.char()); )
3407
+ for (; !this.isEOF() && lr(this.char()); )
3408
3408
  this.bump();
3409
3409
  }, e.prototype.peek = function() {
3410
3410
  if (this.isEOF())
@@ -3417,30 +3417,30 @@ var Fn = (
3417
3417
  function Ke(e) {
3418
3418
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3419
3419
  }
3420
- function jn(e) {
3420
+ function zn(e) {
3421
3421
  return Ke(e) || e === 47;
3422
3422
  }
3423
- function zn(e) {
3423
+ function Vn(e) {
3424
3424
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3425
3425
  }
3426
- function ur(e) {
3426
+ function lr(e) {
3427
3427
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3428
3428
  }
3429
- function Vn(e) {
3429
+ function Xn(e) {
3430
3430
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3431
3431
  }
3432
3432
  function et(e) {
3433
3433
  e.forEach(function(t) {
3434
- if (delete t.location, Yt(t) || Kt(t))
3434
+ if (delete t.location, Kt(t) || er(t))
3435
3435
  for (var r in t.options)
3436
3436
  delete t.options[r].location, et(t.options[r].value);
3437
3437
  else
3438
- Jt(t) && tr(t.style) || (qt(t) || Qt(t)) && Je(t.style) ? delete t.style.location : er(t) && et(t.children);
3438
+ qt(t) && rr(t.style) || (Qt(t) || Yt(t)) && Je(t.style) ? delete t.style.location : tr(t) && et(t.children);
3439
3439
  });
3440
3440
  }
3441
- function Xn(e, t) {
3441
+ function Wn(e, t) {
3442
3442
  t === void 0 && (t = {}), t = Pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3443
- var r = new Fn(e, t).parse();
3443
+ var r = new jn(e, t).parse();
3444
3444
  if (r.err) {
3445
3445
  var n = SyntaxError(_[r.err.kind]);
3446
3446
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3472,7 +3472,7 @@ var Le = (
3472
3472
  }
3473
3473
  return t;
3474
3474
  }(Le)
3475
- ), Wn = (
3475
+ ), Zn = (
3476
3476
  /** @class */
3477
3477
  function(e) {
3478
3478
  Me(t, e);
@@ -3481,7 +3481,7 @@ var Le = (
3481
3481
  }
3482
3482
  return t;
3483
3483
  }(Le)
3484
- ), Zn = (
3484
+ ), Jn = (
3485
3485
  /** @class */
3486
3486
  function(e) {
3487
3487
  Me(t, e);
@@ -3494,16 +3494,16 @@ var Le = (
3494
3494
  (function(e) {
3495
3495
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3496
3496
  })(S || (S = {}));
3497
- function Jn(e) {
3497
+ function qn(e) {
3498
3498
  return e.length < 2 ? e : e.reduce(function(t, r) {
3499
3499
  var n = t[t.length - 1];
3500
3500
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3501
3501
  }, []);
3502
3502
  }
3503
- function qn(e) {
3503
+ function Qn(e) {
3504
3504
  return typeof e == "function";
3505
3505
  }
3506
- function Te(e, t, r, n, i, s, o) {
3506
+ function Te(e, t, r, n, i, s, a) {
3507
3507
  if (e.length === 1 && bt(e[0]))
3508
3508
  return [
3509
3509
  {
@@ -3511,17 +3511,17 @@ function Te(e, t, r, n, i, s, o) {
3511
3511
  value: e[0].value
3512
3512
  }
3513
3513
  ];
3514
- for (var a = [], h = 0, u = e; h < u.length; h++) {
3514
+ for (var o = [], h = 0, u = e; h < u.length; h++) {
3515
3515
  var l = u[h];
3516
3516
  if (bt(l)) {
3517
- a.push({
3517
+ o.push({
3518
3518
  type: S.literal,
3519
3519
  value: l.value
3520
3520
  });
3521
3521
  continue;
3522
3522
  }
3523
- if (yn(l)) {
3524
- typeof s == "number" && a.push({
3523
+ if (_n(l)) {
3524
+ typeof s == "number" && o.push({
3525
3525
  type: S.literal,
3526
3526
  value: r.getNumberFormat(t).format(s)
3527
3527
  });
@@ -3529,87 +3529,87 @@ function Te(e, t, r, n, i, s, o) {
3529
3529
  }
3530
3530
  var c = l.value;
3531
3531
  if (!(i && c in i))
3532
- throw new Zn(c, o);
3532
+ throw new Jn(c, a);
3533
3533
  var f = i[c];
3534
- if (bn(l)) {
3535
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3534
+ if (yn(l)) {
3535
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3536
3536
  type: typeof f == "string" ? S.literal : S.object,
3537
3537
  value: f
3538
3538
  });
3539
3539
  continue;
3540
3540
  }
3541
- if (qt(l)) {
3541
+ if (Qt(l)) {
3542
3542
  var y = typeof l.style == "string" ? n.date[l.style] : Je(l.style) ? l.style.parsedOptions : void 0;
3543
- a.push({
3543
+ o.push({
3544
3544
  type: S.literal,
3545
3545
  value: r.getDateTimeFormat(t, y).format(f)
3546
3546
  });
3547
3547
  continue;
3548
3548
  }
3549
- if (Qt(l)) {
3549
+ if (Yt(l)) {
3550
3550
  var y = typeof l.style == "string" ? n.time[l.style] : Je(l.style) ? l.style.parsedOptions : n.time.medium;
3551
- a.push({
3551
+ o.push({
3552
3552
  type: S.literal,
3553
3553
  value: r.getDateTimeFormat(t, y).format(f)
3554
3554
  });
3555
3555
  continue;
3556
3556
  }
3557
- if (Jt(l)) {
3558
- var y = typeof l.style == "string" ? n.number[l.style] : tr(l.style) ? l.style.parsedOptions : void 0;
3559
- y && y.scale && (f = f * (y.scale || 1)), a.push({
3557
+ if (qt(l)) {
3558
+ var y = typeof l.style == "string" ? n.number[l.style] : rr(l.style) ? l.style.parsedOptions : void 0;
3559
+ y && y.scale && (f = f * (y.scale || 1)), o.push({
3560
3560
  type: S.literal,
3561
3561
  value: r.getNumberFormat(t, y).format(f)
3562
3562
  });
3563
3563
  continue;
3564
3564
  }
3565
- if (er(l)) {
3565
+ if (tr(l)) {
3566
3566
  var m = l.children, p = l.value, g = i[p];
3567
- if (!qn(g))
3568
- throw new Wn(p, "function", o);
3567
+ if (!Qn(g))
3568
+ throw new Zn(p, "function", a);
3569
3569
  var d = Te(m, t, r, n, i, s), E = g(d.map(function(H) {
3570
3570
  return H.value;
3571
3571
  }));
3572
- Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(H) {
3572
+ Array.isArray(E) || (E = [E]), o.push.apply(o, E.map(function(H) {
3573
3573
  return {
3574
3574
  type: typeof H == "string" ? S.literal : S.object,
3575
3575
  value: H
3576
3576
  };
3577
3577
  }));
3578
3578
  }
3579
- if (Yt(l)) {
3579
+ if (Kt(l)) {
3580
3580
  var b = l.options[f] || l.options.other;
3581
3581
  if (!b)
3582
- throw new wt(l.value, f, Object.keys(l.options), o);
3583
- a.push.apply(a, Te(b.value, t, r, n, i));
3582
+ throw new wt(l.value, f, Object.keys(l.options), a);
3583
+ o.push.apply(o, Te(b.value, t, r, n, i));
3584
3584
  continue;
3585
3585
  }
3586
- if (Kt(l)) {
3586
+ if (er(l)) {
3587
3587
  var b = l.options["=".concat(f)];
3588
3588
  if (!b) {
3589
3589
  if (!Intl.PluralRules)
3590
3590
  throw new Le(`Intl.PluralRules is not available in this environment.
3591
3591
  Try polyfilling it using "@formatjs/intl-pluralrules"
3592
- `, Y.MISSING_INTL_API, o);
3592
+ `, Y.MISSING_INTL_API, a);
3593
3593
  var w = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3594
3594
  b = l.options[w] || l.options.other;
3595
3595
  }
3596
3596
  if (!b)
3597
- throw new wt(l.value, f, Object.keys(l.options), o);
3598
- a.push.apply(a, Te(b.value, t, r, n, i, f - (l.offset || 0)));
3597
+ throw new wt(l.value, f, Object.keys(l.options), a);
3598
+ o.push.apply(o, Te(b.value, t, r, n, i, f - (l.offset || 0)));
3599
3599
  continue;
3600
3600
  }
3601
3601
  }
3602
- return Jn(a);
3602
+ return qn(o);
3603
3603
  }
3604
- function Qn(e, t) {
3605
- return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3606
- return r[n] = C(C({}, e[n]), t[n] || {}), r;
3604
+ function Yn(e, t) {
3605
+ return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3606
+ return r[n] = O(O({}, e[n]), t[n] || {}), r;
3607
3607
  }, {})) : e;
3608
3608
  }
3609
- function Yn(e, t) {
3609
+ function Kn(e, t) {
3610
3610
  return t ? Object.keys(e).reduce(function(r, n) {
3611
- return r[n] = Qn(e[n], t[n]), r;
3612
- }, C({}, e)) : e;
3611
+ return r[n] = Yn(e[n], t[n]), r;
3612
+ }, O({}, e)) : e;
3613
3613
  }
3614
3614
  function je(e) {
3615
3615
  return {
@@ -3625,7 +3625,7 @@ function je(e) {
3625
3625
  }
3626
3626
  };
3627
3627
  }
3628
- function Kn(e) {
3628
+ function ei(e) {
3629
3629
  return e === void 0 && (e = {
3630
3630
  number: {},
3631
3631
  dateTime: {},
@@ -3657,7 +3657,7 @@ function Kn(e) {
3657
3657
  })
3658
3658
  };
3659
3659
  }
3660
- var lr = (
3660
+ var hr = (
3661
3661
  /** @class */
3662
3662
  function() {
3663
3663
  function e(t, r, n, i) {
@@ -3687,15 +3687,15 @@ var lr = (
3687
3687
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3688
3688
  if (this.message = t, !e.__parse)
3689
3689
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3690
- var o = i || {};
3691
- o.formatters;
3692
- var a = ln(o, ["formatters"]);
3693
- this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
3690
+ var a = i || {};
3691
+ a.formatters;
3692
+ var o = hn(a, ["formatters"]);
3693
+ this.ast = e.__parse(t, O(O({}, o), { locale: this.resolvedLocale }));
3694
3694
  } else
3695
3695
  this.ast = t;
3696
3696
  if (!Array.isArray(this.ast))
3697
3697
  throw new TypeError("A message must be provided as a String or AST.");
3698
- this.formats = Yn(e.formats, n), this.formatters = i && i.formatters || Kn(this.formatterCache);
3698
+ this.formats = Kn(e.formats, n), this.formatters = i && i.formatters || ei(this.formatterCache);
3699
3699
  }
3700
3700
  return Object.defineProperty(e, "defaultLocale", {
3701
3701
  get: function() {
@@ -3708,7 +3708,7 @@ var lr = (
3708
3708
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3709
3709
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3710
3710
  }
3711
- }, e.__parse = Xn, e.formats = {
3711
+ }, e.__parse = Wn, e.formats = {
3712
3712
  number: {
3713
3713
  integer: {
3714
3714
  maximumFractionDigits: 0
@@ -3769,7 +3769,7 @@ var lr = (
3769
3769
  }, e;
3770
3770
  }()
3771
3771
  );
3772
- function ei(e, t) {
3772
+ function ti(e, t) {
3773
3773
  if (t == null)
3774
3774
  return;
3775
3775
  if (t in e)
@@ -3790,44 +3790,44 @@ function ei(e, t) {
3790
3790
  n = void 0;
3791
3791
  return n;
3792
3792
  }
3793
- const L = {}, ti = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), hr = (e, t) => {
3793
+ const L = {}, ri = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), cr = (e, t) => {
3794
3794
  if (t == null)
3795
3795
  return;
3796
3796
  if (t in L && e in L[t])
3797
3797
  return L[t][e];
3798
3798
  const r = fe(t);
3799
3799
  for (let n = 0; n < r.length; n++) {
3800
- const i = r[n], s = ni(i, e);
3800
+ const i = r[n], s = ii(i, e);
3801
3801
  if (s)
3802
- return ti(e, t, s);
3802
+ return ri(e, t, s);
3803
3803
  }
3804
3804
  };
3805
3805
  let ht;
3806
3806
  const ce = Ne({});
3807
- function ri(e) {
3807
+ function ni(e) {
3808
3808
  return ht[e] || null;
3809
3809
  }
3810
- function cr(e) {
3810
+ function fr(e) {
3811
3811
  return e in ht;
3812
3812
  }
3813
- function ni(e, t) {
3814
- if (!cr(e))
3813
+ function ii(e, t) {
3814
+ if (!fr(e))
3815
3815
  return null;
3816
- const r = ri(e);
3817
- return ei(r, t);
3816
+ const r = ni(e);
3817
+ return ti(r, t);
3818
3818
  }
3819
- function ii(e) {
3819
+ function si(e) {
3820
3820
  if (e == null)
3821
3821
  return;
3822
3822
  const t = fe(e);
3823
3823
  for (let r = 0; r < t.length; r++) {
3824
3824
  const n = t[r];
3825
- if (cr(n))
3825
+ if (fr(n))
3826
3826
  return n;
3827
3827
  }
3828
3828
  }
3829
- function fr(e, ...t) {
3830
- delete L[e], ce.update((r) => (r[e] = un.all([r[e] || {}, ...t]), r));
3829
+ function mr(e, ...t) {
3830
+ delete L[e], ce.update((r) => (r[e] = ln.all([r[e] || {}, ...t]), r));
3831
3831
  }
3832
3832
  te(
3833
3833
  [ce],
@@ -3835,15 +3835,15 @@ te(
3835
3835
  );
3836
3836
  ce.subscribe((e) => ht = e);
3837
3837
  const we = {};
3838
- function si(e, t) {
3838
+ function oi(e, t) {
3839
3839
  we[e].delete(t), we[e].size === 0 && delete we[e];
3840
3840
  }
3841
- function mr(e) {
3841
+ function dr(e) {
3842
3842
  return we[e];
3843
3843
  }
3844
- function oi(e) {
3844
+ function ai(e) {
3845
3845
  return fe(e).map((t) => {
3846
- const r = mr(t);
3846
+ const r = dr(t);
3847
3847
  return [t, r ? [...r] : []];
3848
3848
  }).filter(([, t]) => t.length > 0);
3849
3849
  }
@@ -3851,40 +3851,40 @@ function Oe(e) {
3851
3851
  return e == null ? !1 : fe(e).some(
3852
3852
  (t) => {
3853
3853
  var r;
3854
- return (r = mr(t)) == null ? void 0 : r.size;
3854
+ return (r = dr(t)) == null ? void 0 : r.size;
3855
3855
  }
3856
3856
  );
3857
3857
  }
3858
- function ai(e, t) {
3858
+ function ui(e, t) {
3859
3859
  return Promise.all(
3860
- t.map((n) => (si(e, n), n().then((i) => i.default || i)))
3861
- ).then((n) => fr(e, ...n));
3860
+ t.map((n) => (oi(e, n), n().then((i) => i.default || i)))
3861
+ ).then((n) => mr(e, ...n));
3862
3862
  }
3863
3863
  const ie = {};
3864
- function dr(e) {
3864
+ function pr(e) {
3865
3865
  if (!Oe(e))
3866
3866
  return e in ie ? ie[e] : Promise.resolve();
3867
- const t = oi(e);
3867
+ const t = ai(e);
3868
3868
  return ie[e] = Promise.all(
3869
3869
  t.map(
3870
- ([r, n]) => ai(r, n)
3870
+ ([r, n]) => ui(r, n)
3871
3871
  )
3872
3872
  ).then(() => {
3873
3873
  if (Oe(e))
3874
- return dr(e);
3874
+ return pr(e);
3875
3875
  delete ie[e];
3876
3876
  }), ie[e];
3877
3877
  }
3878
- var Ht = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, hi = (e, t) => {
3878
+ var Ht = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, ci = (e, t) => {
3879
3879
  var r = {};
3880
3880
  for (var n in e)
3881
- ui.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3881
+ li.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3882
3882
  if (e != null && Ht)
3883
3883
  for (var n of Ht(e))
3884
- t.indexOf(n) < 0 && li.call(e, n) && (r[n] = e[n]);
3884
+ t.indexOf(n) < 0 && hi.call(e, n) && (r[n] = e[n]);
3885
3885
  return r;
3886
3886
  };
3887
- const ci = {
3887
+ const fi = {
3888
3888
  number: {
3889
3889
  scientific: { notation: "scientific" },
3890
3890
  engineering: { notation: "engineering" },
@@ -3914,50 +3914,50 @@ const ci = {
3914
3914
  }
3915
3915
  }
3916
3916
  };
3917
- function fi({ locale: e, id: t }) {
3917
+ function mi({ locale: e, id: t }) {
3918
3918
  console.warn(
3919
3919
  `[svelte-i18n] The message "${t}" was not found in "${fe(
3920
3920
  e
3921
- ).join('", "')}".${Oe(k()) ? `
3921
+ ).join('", "')}".${Oe(R()) ? `
3922
3922
 
3923
3923
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3924
3924
  );
3925
3925
  }
3926
- const mi = {
3926
+ const di = {
3927
3927
  fallbackLocale: null,
3928
3928
  loadingDelay: 200,
3929
- formats: ci,
3929
+ formats: fi,
3930
3930
  warnOnMissingMessages: !0,
3931
3931
  handleMissingMessage: void 0,
3932
3932
  ignoreTag: !0
3933
- }, se = mi;
3933
+ }, se = di;
3934
3934
  function K() {
3935
3935
  return se;
3936
3936
  }
3937
- function di(e) {
3938
- const t = e, { formats: r } = t, n = hi(t, ["formats"]);
3937
+ function pi(e) {
3938
+ const t = e, { formats: r } = t, n = ci(t, ["formats"]);
3939
3939
  let i = e.fallbackLocale;
3940
3940
  if (e.initialLocale)
3941
3941
  try {
3942
- lr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3942
+ hr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3943
3943
  } catch {
3944
3944
  console.warn(
3945
3945
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3946
3946
  );
3947
3947
  }
3948
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = fi : console.warn(
3948
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = mi : console.warn(
3949
3949
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3950
3950
  )), 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)), G.set(i);
3951
3951
  }
3952
3952
  const ze = Ne(!1);
3953
- var pi = Object.defineProperty, gi = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
3953
+ var gi = Object.defineProperty, bi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vi = (e, t) => {
3954
3954
  for (var r in t || (t = {}))
3955
- yi.call(t, r) && Bt(e, r, t[r]);
3955
+ _i.call(t, r) && Bt(e, r, t[r]);
3956
3956
  if (St)
3957
3957
  for (var r of St(t))
3958
- _i.call(t, r) && Bt(e, r, t[r]);
3958
+ Ei.call(t, r) && Bt(e, r, t[r]);
3959
3959
  return e;
3960
- }, vi = (e, t) => gi(e, bi(t));
3960
+ }, xi = (e, t) => bi(e, yi(t));
3961
3961
  let tt;
3962
3962
  const Ce = Ne(null);
3963
3963
  function At(e) {
@@ -3967,28 +3967,28 @@ function fe(e, t = K().fallbackLocale) {
3967
3967
  const r = At(e);
3968
3968
  return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
3969
3969
  }
3970
- function k() {
3970
+ function R() {
3971
3971
  return tt ?? void 0;
3972
3972
  }
3973
3973
  Ce.subscribe((e) => {
3974
3974
  tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3975
3975
  });
3976
- const xi = (e) => {
3977
- if (e && ii(e) && Oe(e)) {
3976
+ const Ti = (e) => {
3977
+ if (e && si(e) && Oe(e)) {
3978
3978
  const { loadingDelay: t } = K();
3979
3979
  let r;
3980
- return typeof window < "u" && k() != null && t ? r = window.setTimeout(
3980
+ return typeof window < "u" && R() != null && t ? r = window.setTimeout(
3981
3981
  () => ze.set(!0),
3982
3982
  t
3983
- ) : ze.set(!0), dr(e).then(() => {
3983
+ ) : ze.set(!0), pr(e).then(() => {
3984
3984
  Ce.set(e);
3985
3985
  }).finally(() => {
3986
3986
  clearTimeout(r), ze.set(!1);
3987
3987
  });
3988
3988
  }
3989
3989
  return Ce.set(e);
3990
- }, G = vi(Ei({}, Ce), {
3991
- set: xi
3990
+ }, G = xi(vi({}, Ce), {
3991
+ set: Ti
3992
3992
  }), $e = (e) => {
3993
3993
  const t = /* @__PURE__ */ Object.create(null);
3994
3994
  return (n) => {
@@ -3996,20 +3996,20 @@ const xi = (e) => {
3996
3996
  return i in t ? t[i] : t[i] = e(n);
3997
3997
  };
3998
3998
  };
3999
- var Ti = Object.defineProperty, Ie = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
3999
+ var wi = Object.defineProperty, Ie = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4000
4000
  for (var r in t || (t = {}))
4001
- pr.call(t, r) && Pt(e, r, t[r]);
4001
+ gr.call(t, r) && Pt(e, r, t[r]);
4002
4002
  if (Ie)
4003
4003
  for (var r of Ie(t))
4004
- gr.call(t, r) && Pt(e, r, t[r]);
4004
+ br.call(t, r) && Pt(e, r, t[r]);
4005
4005
  return e;
4006
4006
  }, re = (e, t) => {
4007
4007
  var r = {};
4008
4008
  for (var n in e)
4009
- pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4009
+ gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4010
4010
  if (e != null && Ie)
4011
4011
  for (var n of Ie(e))
4012
- t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4012
+ t.indexOf(n) < 0 && br.call(e, n) && (r[n] = e[n]);
4013
4013
  return r;
4014
4014
  };
4015
4015
  const le = (e, t) => {
@@ -4017,21 +4017,21 @@ const le = (e, t) => {
4017
4017
  if (e in r && t in r[e])
4018
4018
  return r[e][t];
4019
4019
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4020
- }, wi = $e(
4020
+ }, Hi = $e(
4021
4021
  (e) => {
4022
4022
  var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4023
4023
  if (r == null)
4024
4024
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4025
4025
  return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4026
4026
  }
4027
- ), Hi = $e(
4027
+ ), Si = $e(
4028
4028
  (e) => {
4029
4029
  var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4030
4030
  if (r == null)
4031
4031
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4032
4032
  return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4033
4033
  }
4034
- ), Si = $e(
4034
+ ), Bi = $e(
4035
4035
  (e) => {
4036
4036
  var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4037
4037
  if (r == null)
@@ -4040,57 +4040,57 @@ const le = (e, t) => {
4040
4040
  );
4041
4041
  return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4042
4042
  }
4043
- ), Bi = (e = {}) => {
4043
+ ), Ai = (e = {}) => {
4044
4044
  var t = e, {
4045
- locale: r = k()
4045
+ locale: r = R()
4046
4046
  } = t, n = re(t, [
4047
4047
  "locale"
4048
4048
  ]);
4049
- return wi(ct({ locale: r }, n));
4050
- }, Ai = (e = {}) => {
4049
+ return Hi(ct({ locale: r }, n));
4050
+ }, Pi = (e = {}) => {
4051
4051
  var t = e, {
4052
- locale: r = k()
4052
+ locale: r = R()
4053
4053
  } = t, n = re(t, [
4054
4054
  "locale"
4055
4055
  ]);
4056
- return Hi(ct({ locale: r }, n));
4057
- }, Pi = (e = {}) => {
4056
+ return Si(ct({ locale: r }, n));
4057
+ }, Oi = (e = {}) => {
4058
4058
  var t = e, {
4059
- locale: r = k()
4059
+ locale: r = R()
4060
4060
  } = t, n = re(t, [
4061
4061
  "locale"
4062
4062
  ]);
4063
- return Si(ct({ locale: r }, n));
4064
- }, Oi = $e(
4063
+ return Bi(ct({ locale: r }, n));
4064
+ }, Ci = $e(
4065
4065
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4066
- (e, t = k()) => new lr(e, t, K().formats, {
4066
+ (e, t = R()) => new hr(e, t, K().formats, {
4067
4067
  ignoreTag: K().ignoreTag
4068
4068
  })
4069
- ), Ci = (e, t = {}) => {
4069
+ ), Ii = (e, t = {}) => {
4070
4070
  var r, n, i, s;
4071
- let o = t;
4072
- typeof e == "object" && (o = e, e = o.id);
4071
+ let a = t;
4072
+ typeof e == "object" && (a = e, e = a.id);
4073
4073
  const {
4074
- values: a,
4075
- locale: h = k(),
4074
+ values: o,
4075
+ locale: h = R(),
4076
4076
  default: u
4077
- } = o;
4077
+ } = a;
4078
4078
  if (h == null)
4079
4079
  throw new Error(
4080
4080
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4081
4081
  );
4082
- let l = hr(e, h);
4082
+ let l = cr(e, h);
4083
4083
  if (!l)
4084
4084
  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;
4085
4085
  else if (typeof l != "string")
4086
4086
  return console.warn(
4087
4087
  `[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.`
4088
4088
  ), l;
4089
- if (!a)
4089
+ if (!o)
4090
4090
  return l;
4091
4091
  let c = l;
4092
4092
  try {
4093
- c = Oi(l, h).format(a);
4093
+ c = Ci(l, h).format(o);
4094
4094
  } catch (f) {
4095
4095
  f instanceof Error && console.warn(
4096
4096
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4098,18 +4098,18 @@ const le = (e, t) => {
4098
4098
  );
4099
4099
  }
4100
4100
  return c;
4101
- }, Ii = (e, t) => Pi(t).format(e), Ni = (e, t) => Ai(t).format(e), Mi = (e, t) => Bi(t).format(e), Li = (e, t = k()) => hr(e, t), $i = te([G, ce], () => Ci);
4102
- te([G], () => Ii);
4101
+ }, Ni = (e, t) => Oi(t).format(e), Mi = (e, t) => Pi(t).format(e), Li = (e, t) => Ai(t).format(e), $i = (e, t = R()) => cr(e, t), Ri = te([G, ce], () => Ii);
4103
4102
  te([G], () => Ni);
4104
4103
  te([G], () => Mi);
4105
- te([G, ce], () => Li);
4106
- function Ri(e, t) {
4104
+ te([G], () => Li);
4105
+ te([G, ce], () => $i);
4106
+ function Di(e, t) {
4107
4107
  if (e) {
4108
4108
  const r = document.createElement("style");
4109
4109
  r.innerHTML = t, e.appendChild(r);
4110
4110
  }
4111
4111
  }
4112
- function Di(e, t) {
4112
+ function ki(e, t) {
4113
4113
  const r = new URL(t);
4114
4114
  fetch(r.href).then((n) => n.text()).then((n) => {
4115
4115
  const i = document.createElement("style");
@@ -4118,7 +4118,7 @@ function Di(e, t) {
4118
4118
  console.error("There was an error while trying to load client styling from URL", n);
4119
4119
  });
4120
4120
  }
4121
- function ki(e, t, r) {
4121
+ function Ui(e, t, r) {
4122
4122
  if (window.emMessageBus) {
4123
4123
  const n = document.createElement("style");
4124
4124
  window.emMessageBus.subscribe(t, (i) => {
@@ -4127,10 +4127,10 @@ function ki(e, t, r) {
4127
4127
  }
4128
4128
  }
4129
4129
  function Ot(e, t) {
4130
- fr(e, t);
4130
+ mr(e, t);
4131
4131
  }
4132
- function Ui(e) {
4133
- di({
4132
+ function Gi(e) {
4133
+ pi({
4134
4134
  fallbackLocale: "en"
4135
4135
  }), G.set(e);
4136
4136
  }
@@ -4188,26 +4188,11 @@ const Ct = {
4188
4188
  DeclinedByMerchant: "Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin."
4189
4189
  }
4190
4190
  };
4191
- function Gi(e) {
4192
- vr(e, "svelte-s6qloq", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto}.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-black, #000);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-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.ImagePlaceholder{margin-top:20px;height:200px;width:100%;background:#E6E6E6}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:120%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--emw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #5C950F)}.CashierErrorContent ui-image img{width:300px}");
4191
+ function Fi(e) {
4192
+ xr(e, "svelte-1dt5wyw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;border-radius:10px;border:1px solid var(--emw--color-grey-105, #E8E9EB);background-color:var(--emw--color-white, #ffffff);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-black, #000);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-gray-290, #666);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-white, #fff);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, #3854FF)}.CashierErrorButton:hover{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorContent ui-image img{width:300px}");
4193
4193
  }
4194
- const Fi = (e) => ({}), It = (e) => ({}), ji = (e) => ({}), Nt = (e) => ({}), zi = (e) => ({}), Mt = (e) => ({}), Vi = (e) => ({}), Lt = (e) => ({ class: "CashierErrorIcon" });
4195
- function Xi(e) {
4196
- let t;
4197
- return {
4198
- c() {
4199
- t = A("div"), $(t, "class", "ImagePlaceholder Error");
4200
- },
4201
- m(r, n) {
4202
- D(r, t, n);
4203
- },
4204
- p: B,
4205
- d(r) {
4206
- r && P(t);
4207
- }
4208
- };
4209
- }
4210
- function Wi(e) {
4194
+ const ji = (e) => ({}), It = (e) => ({}), zi = (e) => ({}), Nt = (e) => ({}), Vi = (e) => ({}), Mt = (e) => ({}), Xi = (e) => ({}), Lt = (e) => ({ class: "CashierErrorIcon" });
4195
+ function $t(e) {
4211
4196
  let t, r;
4212
4197
  return {
4213
4198
  c() {
@@ -4215,7 +4200,7 @@ function Wi(e) {
4215
4200
  e[0]}/error-general-icon.png`) || de(t, "src", r), de(t, "width", "300px"), de(t, "alt", "error");
4216
4201
  },
4217
4202
  m(n, i) {
4218
- D(n, t, i);
4203
+ U(n, t, i);
4219
4204
  },
4220
4205
  p(n, i) {
4221
4206
  i & /*assetsurl*/
@@ -4223,45 +4208,42 @@ function Wi(e) {
4223
4208
  n[0]}/error-general-icon.png`) && de(t, "src", r);
4224
4209
  },
4225
4210
  d(n) {
4226
- n && P(t);
4211
+ n && N(t);
4227
4212
  }
4228
4213
  };
4229
4214
  }
4230
- function Zi(e) {
4231
- let t;
4232
- function r(s, o) {
4233
- return (
4234
- /*assetsurl*/
4235
- s[0] ? Wi : Xi
4236
- );
4237
- }
4238
- let n = r(e), i = n(e);
4215
+ function Wi(e) {
4216
+ let t, r = (
4217
+ /*assetsurl*/
4218
+ e[0] && $t(e)
4219
+ );
4239
4220
  return {
4240
4221
  c() {
4241
- i.c(), t = Tr();
4222
+ r && r.c(), t = wr();
4242
4223
  },
4243
- m(s, o) {
4244
- i.m(s, o), D(s, t, o);
4224
+ m(n, i) {
4225
+ r && r.m(n, i), U(n, t, i);
4245
4226
  },
4246
- p(s, o) {
4247
- n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
4227
+ p(n, i) {
4228
+ /*assetsurl*/
4229
+ n[0] ? r ? r.p(n, i) : (r = $t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4248
4230
  },
4249
- d(s) {
4250
- s && P(t), i.d(s);
4231
+ d(n) {
4232
+ n && N(t), r && r.d(n);
4251
4233
  }
4252
4234
  };
4253
4235
  }
4254
- function Ji(e) {
4236
+ function Zi(e) {
4255
4237
  let t, r = (
4256
4238
  /*$_*/
4257
4239
  e[4]("errorGeneralTitle") + ""
4258
4240
  ), n;
4259
4241
  return {
4260
4242
  c() {
4261
- t = A("span"), n = he(r), $(t, "class", "CashierErrorTitle");
4243
+ t = A("span"), n = he(r), k(t, "class", "CashierErrorTitle");
4262
4244
  },
4263
4245
  m(i, s) {
4264
- D(i, t, s), I(t, n);
4246
+ U(i, t, s), C(t, n);
4265
4247
  },
4266
4248
  p(i, s) {
4267
4249
  s & /*$_*/
@@ -4269,11 +4251,11 @@ function Ji(e) {
4269
4251
  i[4]("errorGeneralTitle") + "") && at(n, r);
4270
4252
  },
4271
4253
  d(i) {
4272
- i && P(t);
4254
+ i && N(t);
4273
4255
  }
4274
4256
  };
4275
4257
  }
4276
- function qi(e) {
4258
+ function Ji(e) {
4277
4259
  let t, r = (
4278
4260
  /*$_*/
4279
4261
  e[4](`${/*errorcode*/
@@ -4281,10 +4263,10 @@ function qi(e) {
4281
4263
  ), n;
4282
4264
  return {
4283
4265
  c() {
4284
- t = A("span"), n = he(r), $(t, "class", "CashierErrorText");
4266
+ t = A("span"), n = he(r), k(t, "class", "CashierErrorText");
4285
4267
  },
4286
4268
  m(i, s) {
4287
- D(i, t, s), I(t, n);
4269
+ U(i, t, s), C(t, n);
4288
4270
  },
4289
4271
  p(i, s) {
4290
4272
  s & /*$_, errorcode*/
@@ -4293,11 +4275,11 @@ function qi(e) {
4293
4275
  i[2] || "errorGeneralText"}`) + "") && at(n, r);
4294
4276
  },
4295
4277
  d(i) {
4296
- i && P(t);
4278
+ i && N(t);
4297
4279
  }
4298
4280
  };
4299
4281
  }
4300
- function $t(e) {
4282
+ function Rt(e) {
4301
4283
  let t;
4302
4284
  const r = (
4303
4285
  /*#slots*/
@@ -4308,16 +4290,16 @@ function $t(e) {
4308
4290
  /*$$scope*/
4309
4291
  e[11],
4310
4292
  It
4311
- ), i = n || Qi(e);
4293
+ ), i = n || qi(e);
4312
4294
  return {
4313
4295
  c() {
4314
4296
  i && i.c();
4315
4297
  },
4316
- m(s, o) {
4317
- i && i.m(s, o), t = !0;
4298
+ m(s, a) {
4299
+ i && i.m(s, a), t = !0;
4318
4300
  },
4319
- p(s, o) {
4320
- n ? n.p && (!t || o & /*$$scope*/
4301
+ p(s, a) {
4302
+ n ? n.p && (!t || a & /*$$scope*/
4321
4303
  2048) && _e(
4322
4304
  n,
4323
4305
  r,
@@ -4328,15 +4310,15 @@ function $t(e) {
4328
4310
  r,
4329
4311
  /*$$scope*/
4330
4312
  s[11],
4331
- o,
4332
- Fi
4313
+ a,
4314
+ ji
4333
4315
  ) : Ee(
4334
4316
  /*$$scope*/
4335
4317
  s[11]
4336
4318
  ),
4337
4319
  It
4338
- ) : i && i.p && (!t || o & /*$_*/
4339
- 16) && i.p(s, t ? o : -1);
4320
+ ) : i && i.p && (!t || a & /*$_*/
4321
+ 16) && i.p(s, t ? a : -1);
4340
4322
  },
4341
4323
  i(s) {
4342
4324
  t || (M(i, s), t = !0);
@@ -4349,45 +4331,45 @@ function $t(e) {
4349
4331
  }
4350
4332
  };
4351
4333
  }
4352
- function Qi(e) {
4334
+ function qi(e) {
4353
4335
  let t, r, n = (
4354
4336
  /*$_*/
4355
4337
  e[4]("errorGeneralButton") + ""
4356
- ), i, s, o;
4338
+ ), i, s, a;
4357
4339
  return {
4358
4340
  c() {
4359
- t = A("button"), r = A("span"), i = he(n), $(t, "class", "CashierErrorButton");
4341
+ t = A("button"), r = A("span"), i = he(n), k(t, "class", "CashierErrorButton");
4360
4342
  },
4361
- m(a, h) {
4362
- D(a, t, h), I(t, r), I(r, i), s || (o = Ve(
4343
+ m(o, h) {
4344
+ U(o, t, h), C(t, r), C(r, i), s || (a = Ve(
4363
4345
  t,
4364
4346
  "click",
4365
4347
  /*close*/
4366
4348
  e[5]
4367
4349
  ), s = !0);
4368
4350
  },
4369
- p(a, h) {
4351
+ p(o, h) {
4370
4352
  h & /*$_*/
4371
4353
  16 && n !== (n = /*$_*/
4372
- a[4]("errorGeneralButton") + "") && at(i, n);
4354
+ o[4]("errorGeneralButton") + "") && at(i, n);
4373
4355
  },
4374
- d(a) {
4375
- a && P(t), s = !1, o();
4356
+ d(o) {
4357
+ o && N(t), s = !1, a();
4376
4358
  }
4377
4359
  };
4378
4360
  }
4379
- function Yi(e) {
4380
- let t, r, n, i, s, o;
4381
- const a = (
4361
+ function Qi(e) {
4362
+ let t, r, n, i, s, a;
4363
+ const o = (
4382
4364
  /*#slots*/
4383
4365
  e[12].icon
4384
4366
  ), h = be(
4385
- a,
4367
+ o,
4386
4368
  e,
4387
4369
  /*$$scope*/
4388
4370
  e[11],
4389
4371
  Lt
4390
- ), u = h || Zi(e), l = (
4372
+ ), u = h || Wi(e), l = (
4391
4373
  /*#slots*/
4392
4374
  e[12].title
4393
4375
  ), c = be(
@@ -4396,7 +4378,7 @@ function Yi(e) {
4396
4378
  /*$$scope*/
4397
4379
  e[11],
4398
4380
  Mt
4399
- ), f = c || Ji(e), y = (
4381
+ ), f = c || Zi(e), y = (
4400
4382
  /*#slots*/
4401
4383
  e[12].text
4402
4384
  ), m = be(
@@ -4405,99 +4387,99 @@ function Yi(e) {
4405
4387
  /*$$scope*/
4406
4388
  e[11],
4407
4389
  Nt
4408
- ), p = m || qi(e);
4390
+ ), p = m || Ji(e);
4409
4391
  let g = (!/*hidebuttons*/
4410
4392
  e[1] || /*hidebuttons*/
4411
- e[1] === "false") && $t(e);
4393
+ e[1] === "false") && Rt(e);
4412
4394
  return {
4413
4395
  c() {
4414
- t = A("div"), r = A("div"), u && u.c(), n = Re(), f && f.c(), i = Re(), p && p.c(), s = Re(), g && g.c(), $(r, "class", "CashierErrorContent"), $(t, "class", "CashierError");
4396
+ t = A("div"), r = A("div"), u && u.c(), n = Re(), f && f.c(), i = Re(), p && p.c(), s = Re(), g && g.c(), k(r, "class", "CashierErrorContent"), k(t, "class", "CashierError");
4415
4397
  },
4416
4398
  m(d, E) {
4417
- D(d, t, E), I(t, r), u && u.m(r, null), I(r, n), f && f.m(r, null), I(r, i), p && p.m(r, null), I(r, s), g && g.m(r, null), e[13](t), o = !0;
4399
+ U(d, t, E), C(t, r), u && u.m(r, null), C(r, n), f && f.m(r, null), C(r, i), p && p.m(r, null), C(r, s), g && g.m(r, null), e[13](t), a = !0;
4418
4400
  },
4419
4401
  p(d, [E]) {
4420
- h ? h.p && (!o || E & /*$$scope*/
4402
+ h ? h.p && (!a || E & /*$$scope*/
4421
4403
  2048) && _e(
4422
4404
  h,
4423
- a,
4405
+ o,
4424
4406
  d,
4425
4407
  /*$$scope*/
4426
4408
  d[11],
4427
- o ? ye(
4428
- a,
4409
+ a ? ye(
4410
+ o,
4429
4411
  /*$$scope*/
4430
4412
  d[11],
4431
4413
  E,
4432
- Vi
4414
+ Xi
4433
4415
  ) : Ee(
4434
4416
  /*$$scope*/
4435
4417
  d[11]
4436
4418
  ),
4437
4419
  Lt
4438
- ) : u && u.p && (!o || E & /*assetsurl*/
4439
- 1) && u.p(d, o ? E : -1), c ? c.p && (!o || E & /*$$scope*/
4420
+ ) : u && u.p && (!a || E & /*assetsurl*/
4421
+ 1) && u.p(d, a ? E : -1), c ? c.p && (!a || E & /*$$scope*/
4440
4422
  2048) && _e(
4441
4423
  c,
4442
4424
  l,
4443
4425
  d,
4444
4426
  /*$$scope*/
4445
4427
  d[11],
4446
- o ? ye(
4428
+ a ? ye(
4447
4429
  l,
4448
4430
  /*$$scope*/
4449
4431
  d[11],
4450
4432
  E,
4451
- zi
4433
+ Vi
4452
4434
  ) : Ee(
4453
4435
  /*$$scope*/
4454
4436
  d[11]
4455
4437
  ),
4456
4438
  Mt
4457
- ) : f && f.p && (!o || E & /*$_*/
4458
- 16) && f.p(d, o ? E : -1), m ? m.p && (!o || E & /*$$scope*/
4439
+ ) : f && f.p && (!a || E & /*$_*/
4440
+ 16) && f.p(d, a ? E : -1), m ? m.p && (!a || E & /*$$scope*/
4459
4441
  2048) && _e(
4460
4442
  m,
4461
4443
  y,
4462
4444
  d,
4463
4445
  /*$$scope*/
4464
4446
  d[11],
4465
- o ? ye(
4447
+ a ? ye(
4466
4448
  y,
4467
4449
  /*$$scope*/
4468
4450
  d[11],
4469
4451
  E,
4470
- ji
4452
+ zi
4471
4453
  ) : Ee(
4472
4454
  /*$$scope*/
4473
4455
  d[11]
4474
4456
  ),
4475
4457
  Nt
4476
- ) : p && p.p && (!o || E & /*$_, errorcode*/
4477
- 20) && p.p(d, o ? E : -1), !/*hidebuttons*/
4458
+ ) : p && p.p && (!a || E & /*$_, errorcode*/
4459
+ 20) && p.p(d, a ? E : -1), !/*hidebuttons*/
4478
4460
  d[1] || /*hidebuttons*/
4479
4461
  d[1] === "false" ? g ? (g.p(d, E), E & /*hidebuttons*/
4480
- 2 && M(g, 1)) : (g = $t(d), g.c(), M(g, 1), g.m(r, null)) : g && ($r(), X(g, 1, 1, () => {
4462
+ 2 && M(g, 1)) : (g = Rt(d), g.c(), M(g, 1), g.m(r, null)) : g && (Rr(), X(g, 1, 1, () => {
4481
4463
  g = null;
4482
- }), Rr());
4464
+ }), Dr());
4483
4465
  },
4484
4466
  i(d) {
4485
- o || (M(u, d), M(f, d), M(p, d), M(g), o = !0);
4467
+ a || (M(u, d), M(f, d), M(p, d), M(g), a = !0);
4486
4468
  },
4487
4469
  o(d) {
4488
- X(u, d), X(f, d), X(p, d), X(g), o = !1;
4470
+ X(u, d), X(f, d), X(p, d), X(g), a = !1;
4489
4471
  },
4490
4472
  d(d) {
4491
- d && P(t), u && u.d(d), f && f.d(d), p && p.d(d), g && g.d(), e[13](null);
4473
+ d && N(t), u && u.d(d), f && f.d(d), p && p.d(d), g && g.d(), e[13](null);
4492
4474
  }
4493
4475
  };
4494
4476
  }
4495
- function Ki(e, t, r) {
4477
+ function Yi(e, t, r) {
4496
4478
  let n;
4497
- Er(e, $i, (b) => r(4, n = b));
4498
- let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { hidebuttons: h = "" } = t, { errorcode: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { mbsource: y = "" } = t, m;
4479
+ vr(e, Ri, (b) => r(4, n = b));
4480
+ let { $$slots: i = {}, $$scope: s } = t, { assetsurl: a = "" } = t, { lang: o = "en" } = t, { hidebuttons: h = "" } = t, { errorcode: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { mbsource: y = "" } = t, m;
4499
4481
  const p = () => {
4500
- Ui(a);
4482
+ Gi(o);
4501
4483
  }, g = () => {
4502
4484
  fetch(f).then((w) => w.json()).then((w) => {
4503
4485
  Object.keys(w).forEach((H) => {
@@ -4513,7 +4495,7 @@ function Ki(e, t, r) {
4513
4495
  const d = () => {
4514
4496
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4515
4497
  };
4516
- Cr(() => () => {
4498
+ Ir(() => () => {
4517
4499
  });
4518
4500
  function E(b) {
4519
4501
  Xe[b ? "unshift" : "push"](() => {
@@ -4521,22 +4503,22 @@ function Ki(e, t, r) {
4521
4503
  });
4522
4504
  }
4523
4505
  return e.$$set = (b) => {
4524
- "assetsurl" in b && r(0, o = b.assetsurl), "lang" in b && r(6, a = b.lang), "hidebuttons" in b && r(1, h = b.hidebuttons), "errorcode" in b && r(2, u = b.errorcode), "clientstyling" in b && r(7, l = b.clientstyling), "clientstylingurl" in b && r(8, c = b.clientstylingurl), "translationurl" in b && r(9, f = b.translationurl), "mbsource" in b && r(10, y = b.mbsource), "$$scope" in b && r(11, s = b.$$scope);
4506
+ "assetsurl" in b && r(0, a = b.assetsurl), "lang" in b && r(6, o = b.lang), "hidebuttons" in b && r(1, h = b.hidebuttons), "errorcode" in b && r(2, u = b.errorcode), "clientstyling" in b && r(7, l = b.clientstyling), "clientstylingurl" in b && r(8, c = b.clientstylingurl), "translationurl" in b && r(9, f = b.translationurl), "mbsource" in b && r(10, y = b.mbsource), "$$scope" in b && r(11, s = b.$$scope);
4525
4507
  }, e.$$.update = () => {
4526
4508
  e.$$.dirty & /*lang*/
4527
- 64 && a && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4528
- 136 && l && m && Ri(m, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4529
- 264 && c && m && Di(m, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4530
- 1032 && y && m && ki(m, `${y}.Style`), e.$$.dirty & /*translationurl*/
4509
+ 64 && o && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4510
+ 136 && l && m && Di(m, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4511
+ 264 && c && m && ki(m, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4512
+ 1032 && y && m && Ui(m, `${y}.Style`), e.$$.dirty & /*translationurl*/
4531
4513
  512 && f && g();
4532
4514
  }, [
4533
- o,
4515
+ a,
4534
4516
  h,
4535
4517
  u,
4536
4518
  m,
4537
4519
  n,
4538
4520
  d,
4539
- a,
4521
+ o,
4540
4522
  l,
4541
4523
  c,
4542
4524
  f,
@@ -4546,14 +4528,14 @@ function Ki(e, t, r) {
4546
4528
  E
4547
4529
  ];
4548
4530
  }
4549
- class br extends jr {
4531
+ class yr extends zr {
4550
4532
  constructor(t) {
4551
- super(), Gr(
4533
+ super(), Fr(
4552
4534
  this,
4553
4535
  t,
4554
- Ki,
4555
4536
  Yi,
4556
- Dt,
4537
+ Qi,
4538
+ kt,
4557
4539
  {
4558
4540
  assetsurl: 0,
4559
4541
  lang: 6,
@@ -4564,122 +4546,122 @@ class br extends jr {
4564
4546
  translationurl: 9,
4565
4547
  mbsource: 10
4566
4548
  },
4567
- Gi
4549
+ Fi
4568
4550
  );
4569
4551
  }
4570
4552
  get assetsurl() {
4571
4553
  return this.$$.ctx[0];
4572
4554
  }
4573
4555
  set assetsurl(t) {
4574
- this.$$set({ assetsurl: t }), O();
4556
+ this.$$set({ assetsurl: t }), P();
4575
4557
  }
4576
4558
  get lang() {
4577
4559
  return this.$$.ctx[6];
4578
4560
  }
4579
4561
  set lang(t) {
4580
- this.$$set({ lang: t }), O();
4562
+ this.$$set({ lang: t }), P();
4581
4563
  }
4582
4564
  get hidebuttons() {
4583
4565
  return this.$$.ctx[1];
4584
4566
  }
4585
4567
  set hidebuttons(t) {
4586
- this.$$set({ hidebuttons: t }), O();
4568
+ this.$$set({ hidebuttons: t }), P();
4587
4569
  }
4588
4570
  get errorcode() {
4589
4571
  return this.$$.ctx[2];
4590
4572
  }
4591
4573
  set errorcode(t) {
4592
- this.$$set({ errorcode: t }), O();
4574
+ this.$$set({ errorcode: t }), P();
4593
4575
  }
4594
4576
  get clientstyling() {
4595
4577
  return this.$$.ctx[7];
4596
4578
  }
4597
4579
  set clientstyling(t) {
4598
- this.$$set({ clientstyling: t }), O();
4580
+ this.$$set({ clientstyling: t }), P();
4599
4581
  }
4600
4582
  get clientstylingurl() {
4601
4583
  return this.$$.ctx[8];
4602
4584
  }
4603
4585
  set clientstylingurl(t) {
4604
- this.$$set({ clientstylingurl: t }), O();
4586
+ this.$$set({ clientstylingurl: t }), P();
4605
4587
  }
4606
4588
  get translationurl() {
4607
4589
  return this.$$.ctx[9];
4608
4590
  }
4609
4591
  set translationurl(t) {
4610
- this.$$set({ translationurl: t }), O();
4592
+ this.$$set({ translationurl: t }), P();
4611
4593
  }
4612
4594
  get mbsource() {
4613
4595
  return this.$$.ctx[10];
4614
4596
  }
4615
4597
  set mbsource(t) {
4616
- this.$$set({ mbsource: t }), O();
4598
+ this.$$set({ mbsource: t }), P();
4617
4599
  }
4618
4600
  }
4619
- Fr(br, { assetsurl: {}, lang: {}, hidebuttons: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4620
- const ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4601
+ jr(yr, { assetsurl: {}, lang: {}, hidebuttons: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4602
+ const bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4621
4603
  __proto__: null,
4622
- default: br
4604
+ default: yr
4623
4605
  }, Symbol.toStringTag, { value: "Module" }));
4624
4606
  export {
4625
4607
  G as $,
4626
4608
  Ve as A,
4627
- $i as B,
4628
- Ri as C,
4629
- Di as D,
4630
- ki as E,
4609
+ Ri as B,
4610
+ Di as C,
4611
+ ki as D,
4612
+ Ui as E,
4631
4613
  de as F,
4632
4614
  dt as G,
4633
4615
  Ne as H,
4634
- Xr as I,
4635
- bs as J,
4616
+ Wr as I,
4617
+ gs as J,
4636
4618
  J as K,
4637
- rs as L,
4638
- os as M,
4639
- hs as N,
4640
- ps as O,
4641
- ns as P,
4642
- ss as Q,
4643
- R,
4644
- jr as S,
4645
- as as T,
4646
- is as U,
4647
- us as V,
4619
+ ts as L,
4620
+ ss as M,
4621
+ ls as N,
4622
+ ds as O,
4623
+ rs as P,
4624
+ is as Q,
4625
+ $ as R,
4626
+ zr as S,
4627
+ os as T,
4628
+ ns as U,
4629
+ as as V,
4648
4630
  rt as W,
4649
- $r as X,
4650
- Rr as Y,
4651
- ds as Z,
4652
- ls as _,
4653
- fr as a,
4654
- cs as a0,
4655
- ms as a1,
4656
- fs as a2,
4657
- ts as a3,
4658
- kr as a4,
4659
- Dr as a5,
4660
- gs as a6,
4661
- ys as a7,
4662
- Gr as b,
4663
- Fr as c,
4664
- vr as d,
4631
+ Rr as X,
4632
+ Dr as Y,
4633
+ ms as Z,
4634
+ us as _,
4635
+ mr as a,
4636
+ hs as a0,
4637
+ fs as a1,
4638
+ cs as a2,
4639
+ es as a3,
4640
+ Ur as a4,
4641
+ kr as a5,
4642
+ ps as a6,
4643
+ bs as a7,
4644
+ Fr as b,
4645
+ jr as c,
4646
+ xr as d,
4665
4647
  be as e,
4666
- O as f,
4667
- P as g,
4648
+ P as f,
4649
+ N as g,
4668
4650
  M as h,
4669
- di as i,
4651
+ pi as i,
4670
4652
  Ee as j,
4671
4653
  ye as k,
4672
- D as l,
4673
- I as m,
4654
+ U as l,
4655
+ C as m,
4674
4656
  A as n,
4675
4657
  Re as o,
4676
- $ as p,
4677
- Er as q,
4678
- Cr as r,
4679
- Dt as s,
4658
+ k as p,
4659
+ vr as q,
4660
+ Ir as r,
4661
+ kt as s,
4680
4662
  X as t,
4681
4663
  _e as u,
4682
- Tr as v,
4664
+ wr as v,
4683
4665
  at as w,
4684
4666
  he as x,
4685
4667
  Xe as y,