@everymatrix/cashier-method-details 1.85.17 → 1.85.18

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 (28) hide show
  1. package/components/{CashierError-DHPOZnyt.js → CashierError-BhvXibYp.js} +1133 -1109
  2. package/components/CashierError-D1eXSPCU.cjs +8 -0
  3. package/components/{CashierError-CUmHm-N_.js → CashierError-a_fg14Ao.js} +1048 -1024
  4. package/components/CashierMethodDetails-C2BAJBTY.cjs +100 -0
  5. package/components/CashierMethodDetails-CVXOiLWJ.js +10762 -0
  6. package/components/CashierMethodDetails-VJp42yMX.js +10720 -0
  7. package/components/CashierModal-Cebv8Eg_.js +358 -0
  8. package/components/CashierModal-CyMyw8WK.js +342 -0
  9. package/components/CashierModal-D28LMEeL.cjs +1 -0
  10. package/components/{CashierNotifications-Dm98E5vd.cjs → CashierNotifications-B4KaGVBQ.cjs} +1 -1
  11. package/components/{CashierNotifications-DU9GNF3t.js → CashierNotifications-BRaNYGz7.js} +19 -19
  12. package/components/{CashierNotifications-DeY6s2of.js → CashierNotifications-CUXgbtIZ.js} +17 -17
  13. package/components/CashierReceiptPage-BMVJK-t4.js +1840 -0
  14. package/components/{CashierReceiptPage-Dl8xh9yu.js → CashierReceiptPage-CnBjTPDD.js} +860 -715
  15. package/components/CashierReceiptPage-isL4z11i.cjs +26 -0
  16. package/es2015/cashier-method-details.cjs +1 -1
  17. package/es2015/cashier-method-details.js +1 -1
  18. package/esnext/cashier-method-details.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CashierError-ChKkrToC.cjs +0 -8
  21. package/components/CashierMethodDetails-Bkv9rWDz.js +0 -9546
  22. package/components/CashierMethodDetails-C7crbp8C.js +0 -9523
  23. package/components/CashierMethodDetails-_8B2PVw7.cjs +0 -100
  24. package/components/CashierModal-DaSRKM6d.js +0 -263
  25. package/components/CashierModal-FBlLErTI.js +0 -263
  26. package/components/CashierModal-b_Xfv3we.cjs +0 -1
  27. package/components/CashierReceiptPage-CuAvXvTB.cjs +0 -26
  28. package/components/CashierReceiptPage-lXXFerwV.js +0 -1695
@@ -1,37 +1,37 @@
1
- var yr = Object.defineProperty, _r = Object.defineProperties;
2
- var Er = Object.getOwnPropertyDescriptors;
3
- var ut = Object.getOwnPropertySymbols;
4
- var vr = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable;
5
- var Le = (e, t, r) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
1
+ var Ar = Object.defineProperty, Pr = Object.defineProperties;
2
+ var Or = Object.getOwnPropertyDescriptors;
3
+ var mt = Object.getOwnPropertySymbols;
4
+ var Cr = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable;
5
+ var Ue = (e, t, r) => t in e ? Ar(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- vr.call(t, r) && Le(e, r, t[r]);
8
- if (ut)
9
- for (var r of ut(t))
10
- xr.call(t, r) && Le(e, r, t[r]);
7
+ Cr.call(t, r) && Ue(e, r, t[r]);
8
+ if (mt)
9
+ for (var r of mt(t))
10
+ Ir.call(t, r) && Ue(e, r, t[r]);
11
11
  return e;
12
- }, ht = (e, t) => _r(e, Er(t));
13
- var B = (e, t, r) => (Le(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ct = (e, t, r) => new Promise((n, i) => {
15
- var s = (l) => {
12
+ }, pt = (e, t) => Pr(e, Or(t));
13
+ var B = (e, t, r) => (Ue(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var gt = (e, t, r) => new Promise((n, i) => {
15
+ var s = (h) => {
16
16
  try {
17
- a(r.next(l));
17
+ a(r.next(h));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
- }, o = (l) => {
21
+ }, o = (h) => {
22
22
  try {
23
- a(r.throw(l));
23
+ a(r.throw(h));
24
24
  } catch (u) {
25
25
  i(u);
26
26
  }
27
- }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
27
+ }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
30
  import "../stencil/ui-image-CP8Lp7fB.js";
31
31
  function A() {
32
32
  }
33
- const Tr = (e) => e;
34
- function wr(e, t) {
33
+ const Gt = (e) => e;
34
+ function Mr(e, t) {
35
35
  for (const r in t)
36
36
  e[r] = t[r];
37
37
  return (
@@ -39,29 +39,29 @@ function wr(e, t) {
39
39
  e
40
40
  );
41
41
  }
42
- function Dt(e) {
42
+ function Ft(e) {
43
43
  return e();
44
44
  }
45
- function ft() {
45
+ function bt() {
46
46
  return /* @__PURE__ */ Object.create(null);
47
47
  }
48
48
  function U(e) {
49
- e.forEach(Dt);
49
+ e.forEach(Ft);
50
50
  }
51
- function Oe(e) {
51
+ function ce(e) {
52
52
  return typeof e == "function";
53
53
  }
54
- function Ut(e, t) {
54
+ function jt(e, t) {
55
55
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
56
56
  }
57
- let ce;
58
- function mt(e, t) {
59
- return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
57
+ let ge;
58
+ function yt(e, t) {
59
+ return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
60
60
  }
61
- function Hr(e) {
61
+ function Nr(e) {
62
62
  return Object.keys(e).length === 0;
63
63
  }
64
- function Gt(e, ...t) {
64
+ function at(e, ...t) {
65
65
  if (e == null) {
66
66
  for (const n of t)
67
67
  n(void 0);
@@ -70,19 +70,23 @@ function Gt(e, ...t) {
70
70
  const r = e.subscribe(...t);
71
71
  return r.unsubscribe ? () => r.unsubscribe() : r;
72
72
  }
73
- function Sr(e, t, r) {
74
- e.$$.on_destroy.push(Gt(t, r));
73
+ function fs(e) {
74
+ let t;
75
+ return at(e, (r) => t = r)(), t;
76
+ }
77
+ function Lr(e, t, r) {
78
+ e.$$.on_destroy.push(at(t, r));
75
79
  }
76
- function pe(e, t, r, n) {
80
+ function be(e, t, r, n) {
77
81
  if (e) {
78
- const i = kt(e, t, r, n);
82
+ const i = zt(e, t, r, n);
79
83
  return e[0](i);
80
84
  }
81
85
  }
82
- function kt(e, t, r, n) {
83
- return e[1] && n ? wr(r.ctx.slice(), e[1](n(t))) : r.ctx;
86
+ function zt(e, t, r, n) {
87
+ return e[1] && n ? Mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
84
88
  }
85
- function ge(e, t, r, n) {
89
+ function ye(e, t, r, n) {
86
90
  if (e[2] && n) {
87
91
  const i = e[2](n(r));
88
92
  if (t.dirty === void 0)
@@ -97,13 +101,13 @@ function ge(e, t, r, n) {
97
101
  }
98
102
  return t.dirty;
99
103
  }
100
- function be(e, t, r, n, i, s) {
104
+ function _e(e, t, r, n, i, s) {
101
105
  if (i) {
102
- const o = kt(t, r, n, s);
106
+ const o = zt(t, r, n, s);
103
107
  e.p(o, i);
104
108
  }
105
109
  }
106
- function ye(e) {
110
+ function ve(e) {
107
111
  if (e.ctx.length > 32) {
108
112
  const t = [], r = e.ctx.length / 32;
109
113
  for (let n = 0; n < r; n++)
@@ -112,40 +116,40 @@ function ye(e) {
112
116
  }
113
117
  return -1;
114
118
  }
115
- const Ft = typeof window != "undefined";
116
- let Br = Ft ? () => window.performance.now() : () => Date.now(), rt = Ft ? (e) => requestAnimationFrame(e) : A;
117
- const W = /* @__PURE__ */ new Set();
118
- function jt(e) {
119
- W.forEach((t) => {
120
- t.c(e) || (W.delete(t), t.f());
121
- }), W.size !== 0 && rt(jt);
119
+ const Vt = typeof window != "undefined";
120
+ let Xt = Vt ? () => window.performance.now() : () => Date.now(), ut = Vt ? (e) => requestAnimationFrame(e) : A;
121
+ const J = /* @__PURE__ */ new Set();
122
+ function Wt(e) {
123
+ J.forEach((t) => {
124
+ t.c(e) || (J.delete(t), t.f());
125
+ }), J.size !== 0 && ut(Wt);
122
126
  }
123
- function Ar(e) {
127
+ function Zt(e) {
124
128
  let t;
125
- return W.size === 0 && rt(jt), {
129
+ return J.size === 0 && ut(Wt), {
126
130
  promise: new Promise((r) => {
127
- W.add(t = { c: e, f: r });
131
+ J.add(t = { c: e, f: r });
128
132
  }),
129
133
  abort() {
130
- W.delete(t);
134
+ J.delete(t);
131
135
  }
132
136
  };
133
137
  }
134
- const fs = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
138
+ const ms = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
135
139
  // @ts-ignore Node typings have this
136
140
  global
137
141
  );
138
- function I(e, t) {
142
+ function N(e, t) {
139
143
  e.appendChild(t);
140
144
  }
141
- function Pr(e, t, r) {
142
- const n = nt(e);
145
+ function $r(e, t, r) {
146
+ const n = lt(e);
143
147
  if (!n.getElementById(t)) {
144
148
  const i = P("style");
145
- i.id = t, i.textContent = r, zt(n, i);
149
+ i.id = t, i.textContent = r, Jt(n, i);
146
150
  }
147
151
  }
148
- function nt(e) {
152
+ function lt(e) {
149
153
  if (!e)
150
154
  return document;
151
155
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -155,95 +159,95 @@ function nt(e) {
155
159
  t
156
160
  ) : e.ownerDocument;
157
161
  }
158
- function Or(e) {
162
+ function Rr(e) {
159
163
  const t = P("style");
160
- return t.textContent = "/* empty */", zt(nt(e), t), t.sheet;
164
+ return t.textContent = "/* empty */", Jt(lt(e), t), t.sheet;
161
165
  }
162
- function zt(e, t) {
163
- return I(
166
+ function Jt(e, t) {
167
+ return N(
164
168
  /** @type {Document} */
165
169
  e.head || e,
166
170
  t
167
171
  ), t.sheet;
168
172
  }
169
- function G(e, t, r) {
173
+ function j(e, t, r) {
170
174
  e.insertBefore(t, r || null);
171
175
  }
172
- function N(e) {
176
+ function L(e) {
173
177
  e.parentNode && e.parentNode.removeChild(e);
174
178
  }
175
- function ms(e, t) {
179
+ function ds(e, t) {
176
180
  for (let r = 0; r < e.length; r += 1)
177
181
  e[r] && e[r].d(t);
178
182
  }
179
183
  function P(e) {
180
184
  return document.createElement(e);
181
185
  }
182
- function ds(e) {
186
+ function ps(e) {
183
187
  return document.createElementNS("http://www.w3.org/2000/svg", e);
184
188
  }
185
- function ue(e) {
189
+ function fe(e) {
186
190
  return document.createTextNode(e);
187
191
  }
188
- function $e() {
189
- return ue(" ");
192
+ function Ge() {
193
+ return fe(" ");
190
194
  }
191
- function Cr() {
192
- return ue("");
195
+ function Dr() {
196
+ return fe("");
193
197
  }
194
- function Ve(e, t, r, n) {
198
+ function Je(e, t, r, n) {
195
199
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
196
200
  }
197
- function ps(e) {
201
+ function gs(e) {
198
202
  return function(t) {
199
203
  return t.preventDefault(), e.call(this, t);
200
204
  };
201
205
  }
202
- function D(e, t, r) {
206
+ function F(e, t, r) {
203
207
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
204
208
  }
205
- function fe(e, t, r) {
209
+ function Ee(e, t, r) {
206
210
  const n = t.toLowerCase();
207
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : D(e, t, r);
211
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : F(e, t, r);
208
212
  }
209
- function gs(e) {
213
+ function bs(e) {
210
214
  return e === "" ? null : +e;
211
215
  }
212
- function Ir(e) {
216
+ function kr(e) {
213
217
  return Array.from(e.childNodes);
214
218
  }
215
- function it(e, t) {
219
+ function ht(e, t) {
216
220
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
217
221
  t);
218
222
  }
219
- function bs(e, t) {
223
+ function ys(e, t) {
220
224
  e.value = t == null ? "" : t;
221
225
  }
222
- function ys(e, t, r, n) {
226
+ function _s(e, t, r, n) {
223
227
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
224
228
  }
225
- let me;
226
- function Nr() {
227
- if (me === void 0) {
228
- me = !1;
229
+ let xe;
230
+ function Ur() {
231
+ if (xe === void 0) {
232
+ xe = !1;
229
233
  try {
230
234
  typeof window != "undefined" && window.parent && window.parent.document;
231
235
  } catch (e) {
232
- me = !0;
236
+ xe = !0;
233
237
  }
234
238
  }
235
- return me;
239
+ return xe;
236
240
  }
237
- function _s(e, t) {
241
+ function vs(e, t) {
238
242
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
239
243
  const n = P("iframe");
240
244
  n.setAttribute(
241
245
  "style",
242
246
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
243
247
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
244
- const i = Nr();
248
+ const i = Ur();
245
249
  let s;
246
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Ve(
250
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Je(
247
251
  window,
248
252
  "message",
249
253
  /** @param {MessageEvent} event */
@@ -251,18 +255,18 @@ function _s(e, t) {
251
255
  o.source === n.contentWindow && t();
252
256
  }
253
257
  )) : (n.src = "about:blank", n.onload = () => {
254
- s = Ve(n.contentWindow, "resize", t), t();
255
- }), I(e, n), () => {
256
- (i || s && n.contentWindow) && s(), N(n);
258
+ s = Je(n.contentWindow, "resize", t), t();
259
+ }), N(e, n), () => {
260
+ (i || s && n.contentWindow) && s(), L(n);
257
261
  };
258
262
  }
259
263
  function Es(e, t, r) {
260
264
  e.classList.toggle(t, !!r);
261
265
  }
262
- function Mr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
266
+ function Gr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
263
267
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
264
268
  }
265
- function Lr(e) {
269
+ function Fr(e) {
266
270
  const t = {};
267
271
  return e.childNodes.forEach(
268
272
  /** @param {Element} node */
@@ -271,227 +275,279 @@ function Lr(e) {
271
275
  }
272
276
  ), t;
273
277
  }
274
- const Te = /* @__PURE__ */ new Map();
275
- let we = 0;
276
- function $r(e) {
278
+ const Pe = /* @__PURE__ */ new Map();
279
+ let Oe = 0;
280
+ function jr(e) {
277
281
  let t = 5381, r = e.length;
278
282
  for (; r--; )
279
283
  t = (t << 5) - t ^ e.charCodeAt(r);
280
284
  return t >>> 0;
281
285
  }
282
- function Rr(e, t) {
283
- const r = { stylesheet: Or(t), rules: {} };
284
- return Te.set(e, r), r;
286
+ function zr(e, t) {
287
+ const r = { stylesheet: Rr(t), rules: {} };
288
+ return Pe.set(e, r), r;
285
289
  }
286
- function dt(e, t, r, n, i, s, o, a = 0) {
287
- const l = 16.666 / n;
290
+ function qt(e, t, r, n, i, s, o, a = 0) {
291
+ const h = 16.666 / n;
288
292
  let u = `{
289
293
  `;
290
- for (let p = 0; p <= 1; p += l) {
291
- const d = t + (r - t) * s(p);
292
- u += p * 100 + `%{${o(d, 1 - d)}}
294
+ for (let E = 0; E <= 1; E += h) {
295
+ const x = t + (r - t) * s(E);
296
+ u += E * 100 + `%{${o(x, 1 - x)}}
293
297
  `;
294
298
  }
295
- const h = u + `100% {${o(r, 1 - r)}}
296
- }`, f = `__svelte_${$r(h)}_${a}`, c = nt(e), { stylesheet: y, rules: m } = Te.get(c) || Rr(c, e);
297
- m[f] || (m[f] = !0, y.insertRule(`@keyframes ${f} ${h}`, y.cssRules.length));
299
+ const l = u + `100% {${o(r, 1 - r)}}
300
+ }`, f = `__svelte_${jr(l)}_${a}`, c = lt(e), { stylesheet: d, rules: g } = Pe.get(c) || zr(c, e);
301
+ g[f] || (g[f] = !0, d.insertRule(`@keyframes ${f} ${l}`, d.cssRules.length));
298
302
  const b = e.style.animation || "";
299
- return e.style.animation = `${b ? `${b}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, we += 1, f;
303
+ return e.style.animation = `${b ? `${b}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Oe += 1, f;
300
304
  }
301
- function Dr(e, t) {
305
+ function qe(e, t) {
302
306
  const r = (e.style.animation || "").split(", "), n = r.filter(
303
307
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
304
308
  // remove all Svelte animations
305
309
  ), i = r.length - n.length;
306
- i && (e.style.animation = n.join(", "), we -= i, we || Ur());
310
+ i && (e.style.animation = n.join(", "), Oe -= i, Oe || Vr());
307
311
  }
308
- function Ur() {
309
- rt(() => {
310
- we || (Te.forEach((e) => {
312
+ function Vr() {
313
+ ut(() => {
314
+ Oe || (Pe.forEach((e) => {
311
315
  const { ownerNode: t } = e.stylesheet;
312
- t && N(t);
313
- }), Te.clear());
316
+ t && L(t);
317
+ }), Pe.clear());
314
318
  });
315
319
  }
316
- let se;
317
- function ie(e) {
318
- se = e;
320
+ let ae;
321
+ function oe(e) {
322
+ ae = e;
319
323
  }
320
- function Gr() {
321
- if (!se)
324
+ function Xr() {
325
+ if (!ae)
322
326
  throw new Error("Function called outside component initialization");
323
- return se;
327
+ return ae;
324
328
  }
325
- function kr(e) {
326
- Gr().$$.on_mount.push(e);
327
- }
328
- const V = [], Xe = [];
329
- let Z = [];
330
- const pt = [], Fr = /* @__PURE__ */ Promise.resolve();
331
- let We = !1;
332
- function jr() {
333
- We || (We = !0, Fr.then(O));
334
- }
335
- function He(e) {
336
- Z.push(e);
337
- }
338
- const Re = /* @__PURE__ */ new Set();
339
- let j = 0;
340
- function O() {
341
- if (j !== 0)
329
+ function Wr(e) {
330
+ Xr().$$.on_mount.push(e);
331
+ }
332
+ function xs(e, t) {
333
+ const r = e.$$.callbacks[t.type];
334
+ r && r.slice().forEach((n) => n.call(this, t));
335
+ }
336
+ const W = [], Qe = [];
337
+ let q = [];
338
+ const _t = [], Qt = /* @__PURE__ */ Promise.resolve();
339
+ let Ye = !1;
340
+ function Yt() {
341
+ Ye || (Ye = !0, Qt.then($));
342
+ }
343
+ function ws() {
344
+ return Yt(), Qt;
345
+ }
346
+ function ue(e) {
347
+ q.push(e);
348
+ }
349
+ const Fe = /* @__PURE__ */ new Set();
350
+ let V = 0;
351
+ function $() {
352
+ if (V !== 0)
342
353
  return;
343
- const e = se;
354
+ const e = ae;
344
355
  do {
345
356
  try {
346
- for (; j < V.length; ) {
347
- const t = V[j];
348
- j++, ie(t), zr(t.$$);
357
+ for (; V < W.length; ) {
358
+ const t = W[V];
359
+ V++, oe(t), Zr(t.$$);
349
360
  }
350
361
  } catch (t) {
351
- throw V.length = 0, j = 0, t;
362
+ throw W.length = 0, V = 0, t;
352
363
  }
353
- for (ie(null), V.length = 0, j = 0; Xe.length; )
354
- Xe.pop()();
355
- for (let t = 0; t < Z.length; t += 1) {
356
- const r = Z[t];
357
- Re.has(r) || (Re.add(r), r());
364
+ for (oe(null), W.length = 0, V = 0; Qe.length; )
365
+ Qe.pop()();
366
+ for (let t = 0; t < q.length; t += 1) {
367
+ const r = q[t];
368
+ Fe.has(r) || (Fe.add(r), r());
358
369
  }
359
- Z.length = 0;
360
- } while (V.length);
361
- for (; pt.length; )
362
- pt.pop()();
363
- We = !1, Re.clear(), ie(e);
370
+ q.length = 0;
371
+ } while (W.length);
372
+ for (; _t.length; )
373
+ _t.pop()();
374
+ Ye = !1, Fe.clear(), oe(e);
364
375
  }
365
- function zr(e) {
376
+ function Zr(e) {
366
377
  if (e.fragment !== null) {
367
378
  e.update(), U(e.before_update);
368
379
  const t = e.dirty;
369
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(He);
380
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ue);
370
381
  }
371
382
  }
372
- function Vr(e) {
383
+ function Jr(e) {
373
384
  const t = [], r = [];
374
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
385
+ q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
375
386
  }
376
- let te;
377
- function Xr() {
378
- return te || (te = Promise.resolve(), te.then(() => {
379
- te = null;
380
- })), te;
387
+ let ne;
388
+ function Kt() {
389
+ return ne || (ne = Promise.resolve(), ne.then(() => {
390
+ ne = null;
391
+ })), ne;
381
392
  }
382
- function De(e, t, r) {
383
- e.dispatchEvent(Mr(`${t ? "intro" : "outro"}${r}`));
393
+ function Ce(e, t, r) {
394
+ e.dispatchEvent(Gr(`${t ? "intro" : "outro"}${r}`));
384
395
  }
385
- const _e = /* @__PURE__ */ new Set();
386
- let M;
387
- function Wr() {
388
- M = {
396
+ const He = /* @__PURE__ */ new Set();
397
+ let D;
398
+ function Ts() {
399
+ D = {
389
400
  r: 0,
390
401
  c: [],
391
- p: M
402
+ p: D
392
403
  // parent group
393
404
  };
394
405
  }
395
- function Zr() {
396
- M.r || U(M.c), M = M.p;
406
+ function Hs() {
407
+ D.r || U(D.c), D = D.p;
397
408
  }
398
- function L(e, t) {
399
- e && e.i && (_e.delete(e), e.i(t));
409
+ function Z(e, t) {
410
+ e && e.i && (He.delete(e), e.i(t));
400
411
  }
401
- function X(e, t, r, n) {
412
+ function we(e, t, r, n) {
402
413
  if (e && e.o) {
403
- if (_e.has(e))
414
+ if (He.has(e))
404
415
  return;
405
- _e.add(e), M.c.push(() => {
406
- _e.delete(e), n && (r && e.d(1), n());
416
+ He.add(e), D.c.push(() => {
417
+ He.delete(e), n && (r && e.d(1), n());
407
418
  }), e.o(t);
408
419
  } else
409
420
  n && n();
410
421
  }
411
- const Jr = { duration: 0 };
412
- function vs(e, t, r, n) {
413
- let s = t(e, r, { direction: "both" }), o = n ? 0 : 1, a = null, l = null, u = null, h;
414
- function f() {
415
- u && Dr(e, u);
422
+ const er = { duration: 0 };
423
+ function Ss(e, t, r) {
424
+ const n = { direction: "in" };
425
+ let i = t(e, r, n), s = !1, o, a, h = 0;
426
+ function u() {
427
+ o && qe(e, o);
416
428
  }
417
- function c(m, b) {
418
- const p = (
419
- /** @type {Program['d']} */
420
- m.b - o
421
- );
422
- return b *= Math.abs(p), {
423
- a: o,
424
- b: m.b,
425
- d: p,
426
- duration: b,
427
- start: m.start,
428
- end: m.start + b,
429
- group: m.group
430
- };
431
- }
432
- function y(m) {
429
+ function l() {
433
430
  const {
434
- delay: b = 0,
435
- duration: p = 300,
436
- easing: d = Tr,
437
- tick: v = A,
438
- css: g
439
- } = s || Jr, w = {
440
- start: Br() + b,
441
- b: m
442
- };
443
- m || (w.group = M, M.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
444
- e.inert, e.inert = !0)), a || l ? l = w : (g && (f(), u = dt(e, o, m, p, b, d, g)), m && v(0, 1), a = c(w, p), He(() => De(e, m, "start")), Ar((H) => {
445
- if (l && H > l.start && (a = c(l, p), l = null, De(e, a.b, "start"), g && (f(), u = dt(
446
- e,
447
- o,
448
- a.b,
449
- a.duration,
450
- 0,
451
- d,
452
- s.css
453
- ))), a) {
454
- if (H >= a.end)
455
- v(o = a.b, 1 - o), De(e, a.b, "end"), l || (a.b ? f() : --a.group.r || U(a.group.c)), a = null;
456
- else if (H >= a.start) {
457
- const F = H - a.start;
458
- o = a.a + a.d * d(F / a.duration), v(o, 1 - o);
431
+ delay: c = 0,
432
+ duration: d = 300,
433
+ easing: g = Gt,
434
+ tick: b = A,
435
+ css: E
436
+ } = i || er;
437
+ E && (o = qt(e, 0, 1, d, c, g, E, h++)), b(0, 1);
438
+ const x = Xt() + c, p = x + d;
439
+ a && a.abort(), s = !0, ue(() => Ce(e, !0, "start")), a = Zt((m) => {
440
+ if (s) {
441
+ if (m >= p)
442
+ return b(1, 0), Ce(e, !0, "end"), u(), s = !1;
443
+ if (m >= x) {
444
+ const v = g((m - x) / d);
445
+ b(v, 1 - v);
459
446
  }
460
447
  }
461
- return !!(a || l);
462
- }));
448
+ return s;
449
+ });
463
450
  }
451
+ let f = !1;
464
452
  return {
465
- run(m) {
466
- Oe(s) ? Xr().then(() => {
467
- s = s({ direction: m ? "in" : "out" }), y(m);
468
- }) : y(m);
453
+ start() {
454
+ f || (f = !0, qe(e), ce(i) ? (i = i(n), Kt().then(l)) : l());
455
+ },
456
+ invalidate() {
457
+ f = !1;
469
458
  },
470
459
  end() {
471
- f(), a = l = null;
460
+ s && (u(), s = !1);
472
461
  }
473
462
  };
474
463
  }
475
- function xs(e) {
464
+ function Bs(e, t, r) {
465
+ const n = { direction: "out" };
466
+ let i = t(e, r, n), s = !0, o;
467
+ const a = D;
468
+ a.r += 1;
469
+ let h;
470
+ function u() {
471
+ const {
472
+ delay: l = 0,
473
+ duration: f = 300,
474
+ easing: c = Gt,
475
+ tick: d = A,
476
+ css: g
477
+ } = i || er;
478
+ g && (o = qt(e, 1, 0, f, l, c, g));
479
+ const b = Xt() + l, E = b + f;
480
+ ue(() => Ce(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
481
+ e.inert, e.inert = !0), Zt((x) => {
482
+ if (s) {
483
+ if (x >= E)
484
+ return d(0, 1), Ce(e, !1, "end"), --a.r || U(a.c), !1;
485
+ if (x >= b) {
486
+ const p = c((x - b) / f);
487
+ d(1 - p, p);
488
+ }
489
+ }
490
+ return s;
491
+ });
492
+ }
493
+ return ce(i) ? Kt().then(() => {
494
+ i = i(n), u();
495
+ }) : u(), {
496
+ end(l) {
497
+ l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (o && qe(e, o), s = !1);
498
+ }
499
+ };
500
+ }
501
+ function As(e) {
476
502
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
477
503
  }
504
+ function Ps(e, t) {
505
+ e.d(1), t.delete(e.key);
506
+ }
507
+ function Os(e, t, r, n, i, s, o, a, h, u, l, f) {
508
+ let c = e.length, d = s.length, g = c;
509
+ const b = {};
510
+ for (; g--; )
511
+ b[e[g].key] = g;
512
+ const E = [], x = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), m = [];
513
+ for (g = d; g--; ) {
514
+ const H = f(i, s, g), C = r(H);
515
+ let I = o.get(C);
516
+ I ? m.push(() => I.p(H, t)) : (I = u(C, H), I.c()), x.set(C, E[g] = I), C in b && p.set(C, Math.abs(g - b[C]));
517
+ }
518
+ const v = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
519
+ function R(H) {
520
+ Z(H, 1), H.m(a, l), o.set(H.key, H), l = H.first, d--;
521
+ }
522
+ for (; c && d; ) {
523
+ const H = E[d - 1], C = e[c - 1], I = H.key, pe = C.key;
524
+ H === C ? (l = H.first, c--, d--) : x.has(pe) ? !o.has(I) || v.has(I) ? R(H) : O.has(pe) ? c-- : p.get(I) > p.get(pe) ? (O.add(I), R(H)) : (v.add(pe), c--) : (h(C, o), c--);
525
+ }
526
+ for (; c--; ) {
527
+ const H = e[c];
528
+ x.has(H.key) || h(H, o);
529
+ }
530
+ for (; d; )
531
+ R(E[d - 1]);
532
+ return U(m), E;
533
+ }
478
534
  function qr(e, t, r) {
479
535
  const { fragment: n, after_update: i } = e.$$;
480
- n && n.m(t, r), He(() => {
481
- const s = e.$$.on_mount.map(Dt).filter(Oe);
536
+ n && n.m(t, r), ue(() => {
537
+ const s = e.$$.on_mount.map(Ft).filter(ce);
482
538
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : U(s), e.$$.on_mount = [];
483
- }), i.forEach(He);
539
+ }), i.forEach(ue);
484
540
  }
485
541
  function Qr(e, t) {
486
542
  const r = e.$$;
487
- r.fragment !== null && (Vr(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
543
+ r.fragment !== null && (Jr(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
488
544
  }
489
545
  function Yr(e, t) {
490
- e.$$.dirty[0] === -1 && (V.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
546
+ e.$$.dirty[0] === -1 && (W.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
491
547
  }
492
548
  function Kr(e, t, r, n, i, s, o = null, a = [-1]) {
493
- const l = se;
494
- ie(e);
549
+ const h = ae;
550
+ oe(e);
495
551
  const u = e.$$ = {
496
552
  fragment: null,
497
553
  ctx: [],
@@ -499,37 +555,37 @@ function Kr(e, t, r, n, i, s, o = null, a = [-1]) {
499
555
  props: s,
500
556
  update: A,
501
557
  not_equal: i,
502
- bound: ft(),
558
+ bound: bt(),
503
559
  // lifecycle
504
560
  on_mount: [],
505
561
  on_destroy: [],
506
562
  on_disconnect: [],
507
563
  before_update: [],
508
564
  after_update: [],
509
- context: new Map(t.context || (l ? l.$$.context : [])),
565
+ context: new Map(t.context || (h ? h.$$.context : [])),
510
566
  // everything else
511
- callbacks: ft(),
567
+ callbacks: bt(),
512
568
  dirty: a,
513
569
  skip_bound: !1,
514
- root: t.target || l.$$.root
570
+ root: t.target || h.$$.root
515
571
  };
516
572
  o && o(u.root);
517
- let h = !1;
518
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
519
- const m = y.length ? y[0] : c;
520
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Yr(e, f)), c;
521
- }) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
573
+ let l = !1;
574
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
575
+ const g = d.length ? d[0] : c;
576
+ return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), l && Yr(e, f)), c;
577
+ }) : [], u.update(), l = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
522
578
  if (t.hydrate) {
523
- const f = Ir(t.target);
524
- u.fragment && u.fragment.l(f), f.forEach(N);
579
+ const f = kr(t.target);
580
+ u.fragment && u.fragment.l(f), f.forEach(L);
525
581
  } else
526
582
  u.fragment && u.fragment.c();
527
- t.intro && L(e.$$.fragment), qr(e, t.target, t.anchor), O();
583
+ t.intro && Z(e.$$.fragment), qr(e, t.target, t.anchor), $();
528
584
  }
529
- ie(l);
585
+ oe(h);
530
586
  }
531
- let Vt;
532
- typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
587
+ let tr;
588
+ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
533
589
  constructor(t, r, n) {
534
590
  super();
535
591
  /** The Svelte component constructor */
@@ -566,42 +622,42 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
566
622
  }
567
623
  }
568
624
  connectedCallback() {
569
- return ct(this, null, function* () {
625
+ return gt(this, null, function* () {
570
626
  if (this.$$cn = !0, !this.$$c) {
571
627
  let t = function(s) {
572
628
  return () => {
573
629
  let o;
574
630
  return {
575
631
  c: function() {
576
- o = P("slot"), s !== "default" && D(o, "name", s);
632
+ o = P("slot"), s !== "default" && F(o, "name", s);
577
633
  },
578
634
  /**
579
635
  * @param {HTMLElement} target
580
636
  * @param {HTMLElement} [anchor]
581
637
  */
582
- m: function(u, h) {
583
- G(u, o, h);
638
+ m: function(u, l) {
639
+ j(u, o, l);
584
640
  },
585
641
  d: function(u) {
586
- u && N(o);
642
+ u && L(o);
587
643
  }
588
644
  };
589
645
  };
590
646
  };
591
647
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
592
648
  return;
593
- const r = {}, n = Lr(this);
649
+ const r = {}, n = Fr(this);
594
650
  for (const s of this.$$s)
595
651
  s in n && (r[s] = [t(s)]);
596
652
  for (const s of this.attributes) {
597
653
  const o = this.$$g_p(s.name);
598
- o in this.$$d || (this.$$d[o] = Ee(o, s.value, this.$$p_d, "toProp"));
654
+ o in this.$$d || (this.$$d[o] = Se(o, s.value, this.$$p_d, "toProp"));
599
655
  }
600
656
  for (const s in this.$$p_d)
601
657
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
602
658
  this.$$c = new this.$$ctor({
603
659
  target: this.shadowRoot || this,
604
- props: ht(lt({}, this.$$d), {
660
+ props: pt(dt({}, this.$$d), {
605
661
  $$slots: r,
606
662
  $$scope: {
607
663
  ctx: []
@@ -612,7 +668,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
612
668
  this.$$r = !0;
613
669
  for (const s in this.$$p_d)
614
670
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
615
- const o = Ee(
671
+ const o = Se(
616
672
  s,
617
673
  this.$$d[s],
618
674
  this.$$p_d,
@@ -636,7 +692,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
636
692
  // and setting attributes through setAttribute etc, this is helpful
637
693
  attributeChangedCallback(t, r, n) {
638
694
  var i;
639
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
695
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Se(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
640
696
  }
641
697
  disconnectedCallback() {
642
698
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -649,7 +705,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
649
705
  ) || t;
650
706
  }
651
707
  });
652
- function Ee(e, t, r, n) {
708
+ function Se(e, t, r, n) {
653
709
  var s;
654
710
  const i = (s = r[e]) == null ? void 0 : s.type;
655
711
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -680,7 +736,7 @@ function Ee(e, t, r, n) {
680
736
  }
681
737
  }
682
738
  function en(e, t, r, n, i, s) {
683
- let o = class extends Vt {
739
+ let o = class extends tr {
684
740
  constructor() {
685
741
  super(e, r, i), this.$$p_d = t;
686
742
  }
@@ -695,16 +751,16 @@ function en(e, t, r, n, i, s) {
695
751
  get() {
696
752
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
697
753
  },
698
- set(l) {
754
+ set(h) {
699
755
  var u;
700
- l = Ee(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
756
+ h = Se(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
701
757
  }
702
758
  });
703
759
  }), n.forEach((a) => {
704
760
  Object.defineProperty(o.prototype, a, {
705
761
  get() {
706
- var l;
707
- return (l = this.$$c) == null ? void 0 : l[a];
762
+ var h;
763
+ return (h = this.$$c) == null ? void 0 : h[a];
708
764
  }
709
765
  });
710
766
  }), e.element = /** @type {any} */
@@ -740,7 +796,7 @@ class tn {
740
796
  * @returns {() => void}
741
797
  */
742
798
  $on(t, r) {
743
- if (!Oe(r))
799
+ if (!ce(r))
744
800
  return A;
745
801
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
746
802
  return n.push(r), () => {
@@ -753,75 +809,75 @@ class tn {
753
809
  * @returns {void}
754
810
  */
755
811
  $set(t) {
756
- this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
812
+ this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
757
813
  }
758
814
  }
759
815
  const rn = "4";
760
816
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rn);
761
- const z = [];
817
+ const X = [];
762
818
  function nn(e, t) {
763
819
  return {
764
- subscribe: Ce(e, t).subscribe
820
+ subscribe: $e(e, t).subscribe
765
821
  };
766
822
  }
767
- function Ce(e, t = A) {
823
+ function $e(e, t = A) {
768
824
  let r;
769
825
  const n = /* @__PURE__ */ new Set();
770
826
  function i(a) {
771
- if (Ut(e, a) && (e = a, r)) {
772
- const l = !z.length;
827
+ if (jt(e, a) && (e = a, r)) {
828
+ const h = !X.length;
773
829
  for (const u of n)
774
- u[1](), z.push(u, e);
775
- if (l) {
776
- for (let u = 0; u < z.length; u += 2)
777
- z[u][0](z[u + 1]);
778
- z.length = 0;
830
+ u[1](), X.push(u, e);
831
+ if (h) {
832
+ for (let u = 0; u < X.length; u += 2)
833
+ X[u][0](X[u + 1]);
834
+ X.length = 0;
779
835
  }
780
836
  }
781
837
  }
782
838
  function s(a) {
783
839
  i(a(e));
784
840
  }
785
- function o(a, l = A) {
786
- const u = [a, l];
841
+ function o(a, h = A) {
842
+ const u = [a, h];
787
843
  return n.add(u), n.size === 1 && (r = t(i, s) || A), a(e), () => {
788
844
  n.delete(u), n.size === 0 && r && (r(), r = null);
789
845
  };
790
846
  }
791
847
  return { set: i, update: s, subscribe: o };
792
848
  }
793
- function K(e, t, r) {
849
+ function te(e, t, r) {
794
850
  const n = !Array.isArray(e), i = n ? [e] : e;
795
851
  if (!i.every(Boolean))
796
852
  throw new Error("derived() expects stores as input, got a falsy value");
797
853
  const s = t.length < 2;
798
854
  return nn(r, (o, a) => {
799
- let l = !1;
855
+ let h = !1;
800
856
  const u = [];
801
- let h = 0, f = A;
857
+ let l = 0, f = A;
802
858
  const c = () => {
803
- if (h)
859
+ if (l)
804
860
  return;
805
861
  f();
806
- const m = t(n ? u[0] : u, o, a);
807
- s ? o(m) : f = Oe(m) ? m : A;
808
- }, y = i.map(
809
- (m, b) => Gt(
810
- m,
811
- (p) => {
812
- u[b] = p, h &= ~(1 << b), l && c();
862
+ const g = t(n ? u[0] : u, o, a);
863
+ s ? o(g) : f = ce(g) ? g : A;
864
+ }, d = i.map(
865
+ (g, b) => at(
866
+ g,
867
+ (E) => {
868
+ u[b] = E, l &= ~(1 << b), h && c();
813
869
  },
814
870
  () => {
815
- h |= 1 << b;
871
+ l |= 1 << b;
816
872
  }
817
873
  )
818
874
  );
819
- return l = !0, c(), function() {
820
- U(y), f(), l = !1;
875
+ return h = !0, c(), function() {
876
+ U(d), f(), h = !1;
821
877
  };
822
878
  });
823
879
  }
824
- var Ts = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
880
+ var Cs = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
825
881
  function sn(e) {
826
882
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
827
883
  }
@@ -842,29 +898,29 @@ function cn(e) {
842
898
  function fn(e) {
843
899
  return Array.isArray(e) ? [] : {};
844
900
  }
845
- function oe(e, t) {
846
- return t.clone !== !1 && t.isMergeableObject(e) ? J(fn(e), e, t) : e;
901
+ function le(e, t) {
902
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(fn(e), e, t) : e;
847
903
  }
848
904
  function mn(e, t, r) {
849
905
  return e.concat(t).map(function(n) {
850
- return oe(n, r);
906
+ return le(n, r);
851
907
  });
852
908
  }
853
909
  function dn(e, t) {
854
910
  if (!t.customMerge)
855
- return J;
911
+ return Q;
856
912
  var r = t.customMerge(e);
857
- return typeof r == "function" ? r : J;
913
+ return typeof r == "function" ? r : Q;
858
914
  }
859
915
  function pn(e) {
860
916
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
861
917
  return Object.propertyIsEnumerable.call(e, t);
862
918
  }) : [];
863
919
  }
864
- function gt(e) {
920
+ function vt(e) {
865
921
  return Object.keys(e).concat(pn(e));
866
922
  }
867
- function Xt(e, t) {
923
+ function rr(e, t) {
868
924
  try {
869
925
  return t in e;
870
926
  } catch (r) {
@@ -872,58 +928,58 @@ function Xt(e, t) {
872
928
  }
873
929
  }
874
930
  function gn(e, t) {
875
- return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
931
+ return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
876
932
  }
877
933
  function bn(e, t, r) {
878
934
  var n = {};
879
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
880
- n[i] = oe(e[i], r);
881
- }), gt(t).forEach(function(i) {
882
- gn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
935
+ return r.isMergeableObject(e) && vt(e).forEach(function(i) {
936
+ n[i] = le(e[i], r);
937
+ }), vt(t).forEach(function(i) {
938
+ gn(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
883
939
  }), n;
884
940
  }
885
- function J(e, t, r) {
886
- r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = oe;
941
+ function Q(e, t, r) {
942
+ r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = le;
887
943
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
888
- return s ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : oe(t, r);
944
+ return s ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : le(t, r);
889
945
  }
890
- J.all = function(t, r) {
946
+ Q.all = function(t, r) {
891
947
  if (!Array.isArray(t))
892
948
  throw new Error("first argument should be an array");
893
949
  return t.reduce(function(n, i) {
894
- return J(n, i, r);
950
+ return Q(n, i, r);
895
951
  }, {});
896
952
  };
897
- var yn = J, _n = yn;
898
- const En = /* @__PURE__ */ sn(_n);
899
- var Ze = function(e, t) {
900
- return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
953
+ var yn = Q, _n = yn;
954
+ const vn = /* @__PURE__ */ sn(_n);
955
+ var Ke = function(e, t) {
956
+ return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
901
957
  r.__proto__ = n;
902
958
  } || function(r, n) {
903
959
  for (var i in n)
904
960
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
905
- }, Ze(e, t);
961
+ }, Ke(e, t);
906
962
  };
907
- function Ie(e, t) {
963
+ function Re(e, t) {
908
964
  if (typeof t != "function" && t !== null)
909
965
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
910
- Ze(e, t);
966
+ Ke(e, t);
911
967
  function r() {
912
968
  this.constructor = e;
913
969
  }
914
970
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
915
971
  }
916
- var C = function() {
917
- return C = Object.assign || function(t) {
972
+ var M = function() {
973
+ return M = Object.assign || function(t) {
918
974
  for (var r, n = 1, i = arguments.length; n < i; n++) {
919
975
  r = arguments[n];
920
976
  for (var s in r)
921
977
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
922
978
  }
923
979
  return t;
924
- }, C.apply(this, arguments);
980
+ }, M.apply(this, arguments);
925
981
  };
926
- function vn(e, t) {
982
+ function En(e, t) {
927
983
  var r = {};
928
984
  for (var n in e)
929
985
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -932,14 +988,14 @@ function vn(e, t) {
932
988
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
933
989
  return r;
934
990
  }
935
- function Ue(e, t, r) {
991
+ function je(e, t, r) {
936
992
  if (r || arguments.length === 2)
937
993
  for (var n = 0, i = t.length, s; n < i; n++)
938
994
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
939
995
  return e.concat(s || Array.prototype.slice.call(t));
940
996
  }
941
- function Ge(e, t) {
942
- var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : wn;
997
+ function ze(e, t) {
998
+ var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : Tn;
943
999
  return i(e, {
944
1000
  cache: r,
945
1001
  serializer: n
@@ -948,23 +1004,23 @@ function Ge(e, t) {
948
1004
  function xn(e) {
949
1005
  return e == null || typeof e == "number" || typeof e == "boolean";
950
1006
  }
951
- function Tn(e, t, r, n) {
1007
+ function wn(e, t, r, n) {
952
1008
  var i = xn(n) ? n : r(n), s = t.get(i);
953
1009
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
954
1010
  }
955
- function Wt(e, t, r) {
1011
+ function nr(e, t, r) {
956
1012
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
957
1013
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
958
1014
  }
959
- function Zt(e, t, r, n, i) {
1015
+ function ir(e, t, r, n, i) {
960
1016
  return r.bind(t, e, n, i);
961
1017
  }
962
- function wn(e, t) {
963
- var r = e.length === 1 ? Tn : Wt;
964
- return Zt(e, this, r, t.cache.create(), t.serializer);
1018
+ function Tn(e, t) {
1019
+ var r = e.length === 1 ? wn : nr;
1020
+ return ir(e, this, r, t.cache.create(), t.serializer);
965
1021
  }
966
1022
  function Hn(e, t) {
967
- return Zt(e, this, Wt, t.cache.create(), t.serializer);
1023
+ return ir(e, this, nr, t.cache.create(), t.serializer);
968
1024
  }
969
1025
  var Sn = function() {
970
1026
  return JSON.stringify(arguments);
@@ -984,64 +1040,64 @@ var Sn = function() {
984
1040
  create: function() {
985
1041
  return new Bn();
986
1042
  }
987
- }, ke = {
1043
+ }, Ve = {
988
1044
  variadic: Hn
989
- }, Se = function() {
990
- return Se = Object.assign || function(t) {
1045
+ }, Ie = function() {
1046
+ return Ie = Object.assign || function(t) {
991
1047
  for (var r, n = 1, i = arguments.length; n < i; n++) {
992
1048
  r = arguments[n];
993
1049
  for (var s in r)
994
1050
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
995
1051
  }
996
1052
  return t;
997
- }, Se.apply(this, arguments);
1053
+ }, Ie.apply(this, arguments);
998
1054
  };
999
- var _;
1055
+ var y;
1000
1056
  (function(e) {
1001
1057
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1002
- })(_ || (_ = {}));
1003
- var x;
1058
+ })(y || (y = {}));
1059
+ var w;
1004
1060
  (function(e) {
1005
1061
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1006
- })(x || (x = {}));
1007
- var q;
1062
+ })(w || (w = {}));
1063
+ var Y;
1008
1064
  (function(e) {
1009
1065
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1010
- })(q || (q = {}));
1011
- function bt(e) {
1012
- return e.type === x.literal;
1066
+ })(Y || (Y = {}));
1067
+ function Et(e) {
1068
+ return e.type === w.literal;
1013
1069
  }
1014
1070
  function Pn(e) {
1015
- return e.type === x.argument;
1071
+ return e.type === w.argument;
1016
1072
  }
1017
- function Jt(e) {
1018
- return e.type === x.number;
1073
+ function sr(e) {
1074
+ return e.type === w.number;
1019
1075
  }
1020
- function qt(e) {
1021
- return e.type === x.date;
1076
+ function or(e) {
1077
+ return e.type === w.date;
1022
1078
  }
1023
- function Qt(e) {
1024
- return e.type === x.time;
1079
+ function ar(e) {
1080
+ return e.type === w.time;
1025
1081
  }
1026
- function Yt(e) {
1027
- return e.type === x.select;
1082
+ function ur(e) {
1083
+ return e.type === w.select;
1028
1084
  }
1029
- function Kt(e) {
1030
- return e.type === x.plural;
1085
+ function lr(e) {
1086
+ return e.type === w.plural;
1031
1087
  }
1032
1088
  function On(e) {
1033
- return e.type === x.pound;
1089
+ return e.type === w.pound;
1034
1090
  }
1035
- function er(e) {
1036
- return e.type === x.tag;
1091
+ function hr(e) {
1092
+ return e.type === w.tag;
1037
1093
  }
1038
- function tr(e) {
1039
- return !!(e && typeof e == "object" && e.type === q.number);
1094
+ function cr(e) {
1095
+ return !!(e && typeof e == "object" && e.type === Y.number);
1040
1096
  }
1041
- function Je(e) {
1042
- return !!(e && typeof e == "object" && e.type === q.dateTime);
1097
+ function et(e) {
1098
+ return !!(e && typeof e == "object" && e.type === Y.dateTime);
1043
1099
  }
1044
- var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1100
+ var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1045
1101
  function In(e) {
1046
1102
  var t = {};
1047
1103
  return e.replace(Cn, function(r) {
@@ -1143,36 +1199,36 @@ var T = function() {
1143
1199
  return t;
1144
1200
  }, T.apply(this, arguments);
1145
1201
  };
1146
- var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1147
- function Mn(e) {
1202
+ var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1203
+ function Nn(e) {
1148
1204
  if (e.length === 0)
1149
1205
  throw new Error("Number skeleton cannot be empty");
1150
- for (var t = e.split(Nn).filter(function(c) {
1206
+ for (var t = e.split(Mn).filter(function(c) {
1151
1207
  return c.length > 0;
1152
1208
  }), r = [], n = 0, i = t; n < i.length; n++) {
1153
1209
  var s = i[n], o = s.split("/");
1154
1210
  if (o.length === 0)
1155
1211
  throw new Error("Invalid number skeleton");
1156
- for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
1157
- var f = h[u];
1212
+ for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1213
+ var f = l[u];
1158
1214
  if (f.length === 0)
1159
1215
  throw new Error("Invalid number skeleton");
1160
1216
  }
1161
- r.push({ stem: a, options: l });
1217
+ r.push({ stem: a, options: h });
1162
1218
  }
1163
1219
  return r;
1164
1220
  }
1165
1221
  function Ln(e) {
1166
1222
  return e.replace(/^(.*?)-/, "");
1167
1223
  }
1168
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
1169
- function _t(e) {
1224
+ var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
1225
+ function wt(e) {
1170
1226
  var t = {};
1171
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
1227
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
1172
1228
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1173
1229
  }), t;
1174
1230
  }
1175
- function sr(e) {
1231
+ function pr(e) {
1176
1232
  switch (e) {
1177
1233
  case "sign-auto":
1178
1234
  return {
@@ -1220,14 +1276,14 @@ function Rn(e) {
1220
1276
  notation: "scientific"
1221
1277
  }, e = e.slice(1)), t) {
1222
1278
  var r = e.slice(0, 2);
1223
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
1279
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
1224
1280
  throw new Error("Malformed concise eng/scientific notation");
1225
1281
  t.minimumIntegerDigits = e.length;
1226
1282
  }
1227
1283
  return t;
1228
1284
  }
1229
- function Et(e) {
1230
- var t = {}, r = sr(e);
1285
+ function Tt(e) {
1286
+ var t = {}, r = pr(e);
1231
1287
  return r || t;
1232
1288
  }
1233
1289
  function Dn(e) {
@@ -1265,13 +1321,13 @@ function Dn(e) {
1265
1321
  t.notation = "compact", t.compactDisplay = "long";
1266
1322
  continue;
1267
1323
  case "scientific":
1268
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1269
- return T(T({}, l), Et(u));
1324
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1325
+ return T(T({}, h), Tt(u));
1270
1326
  }, {}));
1271
1327
  continue;
1272
1328
  case "engineering":
1273
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1274
- return T(T({}, l), Et(u));
1329
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1330
+ return T(T({}, h), Tt(u));
1275
1331
  }, {}));
1276
1332
  continue;
1277
1333
  case "notation-simple":
@@ -1316,45 +1372,45 @@ function Dn(e) {
1316
1372
  case "integer-width":
1317
1373
  if (i.options.length > 1)
1318
1374
  throw new RangeError("integer-width stems only accept a single optional option");
1319
- i.options[0].replace($n, function(l, u, h, f, c, y) {
1375
+ i.options[0].replace($n, function(h, u, l, f, c, d) {
1320
1376
  if (u)
1321
- t.minimumIntegerDigits = h.length;
1377
+ t.minimumIntegerDigits = l.length;
1322
1378
  else {
1323
1379
  if (f && c)
1324
1380
  throw new Error("We currently do not support maximum integer digits");
1325
- if (y)
1381
+ if (d)
1326
1382
  throw new Error("We currently do not support exact integer digits");
1327
1383
  }
1328
1384
  return "";
1329
1385
  });
1330
1386
  continue;
1331
1387
  }
1332
- if (ir.test(i.stem)) {
1388
+ if (dr.test(i.stem)) {
1333
1389
  t.minimumIntegerDigits = i.stem.length;
1334
1390
  continue;
1335
1391
  }
1336
- if (yt.test(i.stem)) {
1392
+ if (xt.test(i.stem)) {
1337
1393
  if (i.options.length > 1)
1338
1394
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1339
- i.stem.replace(yt, function(l, u, h, f, c, y) {
1340
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1395
+ i.stem.replace(xt, function(h, u, l, f, c, d) {
1396
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1341
1397
  });
1342
1398
  var s = i.options[0];
1343
- s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), _t(s)));
1399
+ s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), wt(s)));
1344
1400
  continue;
1345
1401
  }
1346
- if (nr.test(i.stem)) {
1347
- t = T(T({}, t), _t(i.stem));
1402
+ if (mr.test(i.stem)) {
1403
+ t = T(T({}, t), wt(i.stem));
1348
1404
  continue;
1349
1405
  }
1350
- var o = sr(i.stem);
1406
+ var o = pr(i.stem);
1351
1407
  o && (t = T(T({}, t), o));
1352
1408
  var a = Rn(i.stem);
1353
1409
  a && (t = T(T({}, t), a));
1354
1410
  }
1355
1411
  return t;
1356
1412
  }
1357
- var de = {
1413
+ var Te = {
1358
1414
  "001": [
1359
1415
  "H",
1360
1416
  "h"
@@ -2769,15 +2825,15 @@ var de = {
2769
2825
  "h"
2770
2826
  ]
2771
2827
  };
2772
- function Un(e, t) {
2828
+ function kn(e, t) {
2773
2829
  for (var r = "", n = 0; n < e.length; n++) {
2774
2830
  var i = e.charAt(n);
2775
2831
  if (i === "j") {
2776
2832
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2777
2833
  s++, n++;
2778
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Gn(t);
2834
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Un(t);
2779
2835
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2780
- r += l;
2836
+ r += h;
2781
2837
  for (; o-- > 0; )
2782
2838
  r = u + r;
2783
2839
  } else
@@ -2785,7 +2841,7 @@ function Un(e, t) {
2785
2841
  }
2786
2842
  return r;
2787
2843
  }
2788
- function Gn(e) {
2844
+ function Un(e) {
2789
2845
  var t = e.hourCycle;
2790
2846
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2791
2847
  e.hourCycles && // @ts-ignore
@@ -2804,23 +2860,23 @@ function Gn(e) {
2804
2860
  }
2805
2861
  var r = e.language, n;
2806
2862
  r !== "root" && (n = e.maximize().region);
2807
- var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
2863
+ var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
2808
2864
  return i[0];
2809
2865
  }
2810
- var Fe, kn = new RegExp("^".concat(rr.source, "*")), Fn = new RegExp("".concat(rr.source, "*$"));
2811
- function E(e, t) {
2866
+ var Xe, Gn = new RegExp("^".concat(fr.source, "*")), Fn = new RegExp("".concat(fr.source, "*$"));
2867
+ function _(e, t) {
2812
2868
  return { start: e, end: t };
2813
2869
  }
2814
2870
  var jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), zn = !!String.fromCodePoint, Vn = !!Object.fromEntries, Xn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Jn = !!Number.isSafeInteger, qn = Jn ? Number.isSafeInteger : function(e) {
2815
2871
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2816
- }, qe = !0;
2872
+ }, tt = !0;
2817
2873
  try {
2818
- var Qn = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2819
- qe = ((Fe = Qn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2874
+ var Qn = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2875
+ tt = ((Xe = Qn.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
2820
2876
  } catch (e) {
2821
- qe = !1;
2877
+ tt = !1;
2822
2878
  }
2823
- var vt = jn ? (
2879
+ var Ht = jn ? (
2824
2880
  // Native
2825
2881
  function(t, r, n) {
2826
2882
  return t.startsWith(r, n);
@@ -2830,7 +2886,7 @@ var vt = jn ? (
2830
2886
  function(t, r, n) {
2831
2887
  return t.slice(n, n + r.length) === r;
2832
2888
  }
2833
- ), Qe = zn ? String.fromCodePoint : (
2889
+ ), rt = zn ? String.fromCodePoint : (
2834
2890
  // IE11
2835
2891
  function() {
2836
2892
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2842,7 +2898,7 @@ var vt = jn ? (
2842
2898
  }
2843
2899
  return n;
2844
2900
  }
2845
- ), xt = (
2901
+ ), St = (
2846
2902
  // native
2847
2903
  Vn ? Object.fromEntries : (
2848
2904
  // Ponyfill
@@ -2854,7 +2910,7 @@ var vt = jn ? (
2854
2910
  return r;
2855
2911
  }
2856
2912
  )
2857
- ), or = Xn ? (
2913
+ ), gr = Xn ? (
2858
2914
  // Native
2859
2915
  function(t, r) {
2860
2916
  return t.codePointAt(r);
@@ -2876,7 +2932,7 @@ var vt = jn ? (
2876
2932
  ) : (
2877
2933
  // Ponyfill
2878
2934
  function(t) {
2879
- return t.replace(kn, "");
2935
+ return t.replace(Gn, "");
2880
2936
  }
2881
2937
  ), Kn = Zn ? (
2882
2938
  // Native
@@ -2889,27 +2945,27 @@ var vt = jn ? (
2889
2945
  return t.replace(Fn, "");
2890
2946
  }
2891
2947
  );
2892
- function ar(e, t) {
2948
+ function br(e, t) {
2893
2949
  return new RegExp(e, t);
2894
2950
  }
2895
- var Ye;
2896
- if (qe) {
2897
- var Tt = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2898
- Ye = function(t, r) {
2951
+ var nt;
2952
+ if (tt) {
2953
+ var Bt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2954
+ nt = function(t, r) {
2899
2955
  var n;
2900
- Tt.lastIndex = r;
2901
- var i = Tt.exec(t);
2956
+ Bt.lastIndex = r;
2957
+ var i = Bt.exec(t);
2902
2958
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2903
2959
  };
2904
2960
  } else
2905
- Ye = function(t, r) {
2961
+ nt = function(t, r) {
2906
2962
  for (var n = []; ; ) {
2907
- var i = or(t, r);
2908
- if (i === void 0 || ur(i) || ni(i))
2963
+ var i = gr(t, r);
2964
+ if (i === void 0 || yr(i) || ni(i))
2909
2965
  break;
2910
2966
  n.push(i), r += i >= 65536 ? 2 : 1;
2911
2967
  }
2912
- return Qe.apply(void 0, n);
2968
+ return rt.apply(void 0, n);
2913
2969
  };
2914
2970
  var ei = (
2915
2971
  /** @class */
@@ -2935,14 +2991,14 @@ var ei = (
2935
2991
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2936
2992
  var a = this.clonePosition();
2937
2993
  this.bump(), i.push({
2938
- type: x.pound,
2939
- location: E(a, this.clonePosition())
2994
+ type: w.pound,
2995
+ location: _(a, this.clonePosition())
2940
2996
  });
2941
2997
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2942
2998
  if (n)
2943
2999
  break;
2944
- return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
2945
- } else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3000
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3001
+ } else if (s === 60 && !this.ignoreTag && it(this.peek() || 0)) {
2946
3002
  var o = this.parseTag(t, r);
2947
3003
  if (o.err)
2948
3004
  return o;
@@ -2963,9 +3019,9 @@ var ei = (
2963
3019
  if (this.bumpSpace(), this.bumpIf("/>"))
2964
3020
  return {
2965
3021
  val: {
2966
- type: x.literal,
3022
+ type: w.literal,
2967
3023
  value: "<".concat(i, "/>"),
2968
- location: E(n, this.clonePosition())
3024
+ location: _(n, this.clonePosition())
2969
3025
  },
2970
3026
  err: null
2971
3027
  };
@@ -2975,22 +3031,22 @@ var ei = (
2975
3031
  return s;
2976
3032
  var o = s.val, a = this.clonePosition();
2977
3033
  if (this.bumpIf("</")) {
2978
- if (this.isEOF() || !Ke(this.char()))
2979
- return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
2980
- var l = this.clonePosition(), u = this.parseTagName();
2981
- return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3034
+ if (this.isEOF() || !it(this.char()))
3035
+ return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
3036
+ var h = this.clonePosition(), u = this.parseTagName();
3037
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2982
3038
  val: {
2983
- type: x.tag,
3039
+ type: w.tag,
2984
3040
  value: i,
2985
3041
  children: o,
2986
- location: E(n, this.clonePosition())
3042
+ location: _(n, this.clonePosition())
2987
3043
  },
2988
3044
  err: null
2989
- } : this.error(_.INVALID_TAG, E(a, this.clonePosition())));
3045
+ } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
2990
3046
  } else
2991
- return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
3047
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2992
3048
  } else
2993
- return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3049
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2994
3050
  }, e.prototype.parseTagName = function() {
2995
3051
  var t = this.offset();
2996
3052
  for (this.bump(); !this.isEOF() && ri(this.char()); )
@@ -3015,9 +3071,9 @@ var ei = (
3015
3071
  }
3016
3072
  break;
3017
3073
  }
3018
- var l = E(n, this.clonePosition());
3074
+ var h = _(n, this.clonePosition());
3019
3075
  return {
3020
- val: { type: x.literal, value: i, location: l },
3076
+ val: { type: w.literal, value: i, location: h },
3021
3077
  err: null
3022
3078
  };
3023
3079
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -3056,49 +3112,49 @@ var ei = (
3056
3112
  r.push(n);
3057
3113
  this.bump();
3058
3114
  }
3059
- return Qe.apply(void 0, r);
3115
+ return rt.apply(void 0, r);
3060
3116
  }, e.prototype.tryParseUnquoted = function(t, r) {
3061
3117
  if (this.isEOF())
3062
3118
  return null;
3063
3119
  var n = this.char();
3064
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3120
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), rt(n));
3065
3121
  }, e.prototype.parseArgument = function(t, r) {
3066
3122
  var n = this.clonePosition();
3067
3123
  if (this.bump(), this.bumpSpace(), this.isEOF())
3068
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3124
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3069
3125
  if (this.char() === 125)
3070
- return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
3126
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3071
3127
  var i = this.parseIdentifierIfPossible().value;
3072
3128
  if (!i)
3073
- return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3129
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3074
3130
  if (this.bumpSpace(), this.isEOF())
3075
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3131
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3076
3132
  switch (this.char()) {
3077
3133
  case 125:
3078
3134
  return this.bump(), {
3079
3135
  val: {
3080
- type: x.argument,
3136
+ type: w.argument,
3081
3137
  // value does not include the opening and closing braces.
3082
3138
  value: i,
3083
- location: E(n, this.clonePosition())
3139
+ location: _(n, this.clonePosition())
3084
3140
  },
3085
3141
  err: null
3086
3142
  };
3087
3143
  case 44:
3088
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3144
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3089
3145
  default:
3090
- return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3146
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3091
3147
  }
3092
3148
  }, e.prototype.parseIdentifierIfPossible = function() {
3093
- var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3149
+ var t = this.clonePosition(), r = this.offset(), n = nt(this.message, r), i = r + n.length;
3094
3150
  this.bumpTo(i);
3095
- var s = this.clonePosition(), o = E(t, s);
3151
+ var s = this.clonePosition(), o = _(t, s);
3096
3152
  return { value: n, location: o };
3097
3153
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3098
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3154
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3099
3155
  switch (a) {
3100
3156
  case "":
3101
- return this.error(_.EXPECT_ARGUMENT_TYPE, E(o, l));
3157
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, h));
3102
3158
  case "number":
3103
3159
  case "date":
3104
3160
  case "time": {
@@ -3106,47 +3162,47 @@ var ei = (
3106
3162
  var u = null;
3107
3163
  if (this.bumpIf(",")) {
3108
3164
  this.bumpSpace();
3109
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3165
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3110
3166
  if (f.err)
3111
3167
  return f;
3112
3168
  var c = Kn(f.val);
3113
3169
  if (c.length === 0)
3114
- return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3115
- var y = E(h, this.clonePosition());
3116
- u = { style: c, styleLocation: y };
3170
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3171
+ var d = _(l, this.clonePosition());
3172
+ u = { style: c, styleLocation: d };
3117
3173
  }
3118
- var m = this.tryParseArgumentClose(i);
3119
- if (m.err)
3120
- return m;
3121
- var b = E(i, this.clonePosition());
3122
- if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
3123
- var p = Yn(u.style.slice(2));
3174
+ var g = this.tryParseArgumentClose(i);
3175
+ if (g.err)
3176
+ return g;
3177
+ var b = _(i, this.clonePosition());
3178
+ if (u && Ht(u == null ? void 0 : u.style, "::", 0)) {
3179
+ var E = Yn(u.style.slice(2));
3124
3180
  if (a === "number") {
3125
- var f = this.parseNumberSkeletonFromString(p, u.styleLocation);
3181
+ var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3126
3182
  return f.err ? f : {
3127
- val: { type: x.number, value: n, location: b, style: f.val },
3183
+ val: { type: w.number, value: n, location: b, style: f.val },
3128
3184
  err: null
3129
3185
  };
3130
3186
  } else {
3131
- if (p.length === 0)
3132
- return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
3133
- var d = p;
3134
- this.locale && (d = Un(p, this.locale));
3187
+ if (E.length === 0)
3188
+ return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
3189
+ var x = E;
3190
+ this.locale && (x = kn(E, this.locale));
3135
3191
  var c = {
3136
- type: q.dateTime,
3137
- pattern: d,
3192
+ type: Y.dateTime,
3193
+ pattern: x,
3138
3194
  location: u.styleLocation,
3139
- parsedOptions: this.shouldParseSkeletons ? In(d) : {}
3140
- }, v = a === "date" ? x.date : x.time;
3195
+ parsedOptions: this.shouldParseSkeletons ? In(x) : {}
3196
+ }, p = a === "date" ? w.date : w.time;
3141
3197
  return {
3142
- val: { type: v, value: n, location: b, style: c },
3198
+ val: { type: p, value: n, location: b, style: c },
3143
3199
  err: null
3144
3200
  };
3145
3201
  }
3146
3202
  }
3147
3203
  return {
3148
3204
  val: {
3149
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3205
+ type: a === "number" ? w.number : a === "date" ? w.date : w.time,
3150
3206
  value: n,
3151
3207
  location: b,
3152
3208
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -3157,52 +3213,52 @@ var ei = (
3157
3213
  case "plural":
3158
3214
  case "selectordinal":
3159
3215
  case "select": {
3160
- var g = this.clonePosition();
3216
+ var m = this.clonePosition();
3161
3217
  if (this.bumpSpace(), !this.bumpIf(","))
3162
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(g, Se({}, g)));
3218
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(m, Ie({}, m)));
3163
3219
  this.bumpSpace();
3164
- var w = this.parseIdentifierIfPossible(), H = 0;
3165
- if (a !== "select" && w.value === "offset") {
3220
+ var v = this.parseIdentifierIfPossible(), O = 0;
3221
+ if (a !== "select" && v.value === "offset") {
3166
3222
  if (!this.bumpIf(":"))
3167
- return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3223
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3168
3224
  this.bumpSpace();
3169
- var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3225
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3170
3226
  if (f.err)
3171
3227
  return f;
3172
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), H = f.val;
3228
+ this.bumpSpace(), v = this.parseIdentifierIfPossible(), O = f.val;
3173
3229
  }
3174
- var F = this.tryParsePluralOrSelectOptions(t, a, r, w);
3175
- if (F.err)
3176
- return F;
3177
- var m = this.tryParseArgumentClose(i);
3178
- if (m.err)
3179
- return m;
3180
- var at = E(i, this.clonePosition());
3230
+ var R = this.tryParsePluralOrSelectOptions(t, a, r, v);
3231
+ if (R.err)
3232
+ return R;
3233
+ var g = this.tryParseArgumentClose(i);
3234
+ if (g.err)
3235
+ return g;
3236
+ var H = _(i, this.clonePosition());
3181
3237
  return a === "select" ? {
3182
3238
  val: {
3183
- type: x.select,
3239
+ type: w.select,
3184
3240
  value: n,
3185
- options: xt(F.val),
3186
- location: at
3241
+ options: St(R.val),
3242
+ location: H
3187
3243
  },
3188
3244
  err: null
3189
3245
  } : {
3190
3246
  val: {
3191
- type: x.plural,
3247
+ type: w.plural,
3192
3248
  value: n,
3193
- options: xt(F.val),
3194
- offset: H,
3249
+ options: St(R.val),
3250
+ offset: O,
3195
3251
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3196
- location: at
3252
+ location: H
3197
3253
  },
3198
3254
  err: null
3199
3255
  };
3200
3256
  }
3201
3257
  default:
3202
- return this.error(_.INVALID_ARGUMENT_TYPE, E(o, l));
3258
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(o, h));
3203
3259
  }
3204
3260
  }, e.prototype.tryParseArgumentClose = function(t) {
3205
- return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3261
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3206
3262
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3207
3263
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3208
3264
  var n = this.char();
@@ -3211,7 +3267,7 @@ var ei = (
3211
3267
  this.bump();
3212
3268
  var i = this.clonePosition();
3213
3269
  if (!this.bumpUntil("'"))
3214
- return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
3270
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3215
3271
  this.bump();
3216
3272
  break;
3217
3273
  }
@@ -3241,13 +3297,13 @@ var ei = (
3241
3297
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3242
3298
  var n = [];
3243
3299
  try {
3244
- n = Mn(t);
3300
+ n = Nn(t);
3245
3301
  } catch (i) {
3246
- return this.error(_.INVALID_NUMBER_SKELETON, r);
3302
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
3247
3303
  }
3248
3304
  return {
3249
3305
  val: {
3250
- type: q.number,
3306
+ type: Y.number,
3251
3307
  tokens: n,
3252
3308
  location: r,
3253
3309
  parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
@@ -3255,38 +3311,38 @@ var ei = (
3255
3311
  err: null
3256
3312
  };
3257
3313
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3258
- for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3314
+ for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3259
3315
  if (u.length === 0) {
3260
3316
  var f = this.clonePosition();
3261
3317
  if (r !== "select" && this.bumpIf("=")) {
3262
- var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3318
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3263
3319
  if (c.err)
3264
3320
  return c;
3265
- h = E(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3321
+ l = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3266
3322
  } else
3267
3323
  break;
3268
3324
  }
3269
- if (l.has(u))
3270
- return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3325
+ if (h.has(u))
3326
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3271
3327
  u === "other" && (o = !0), this.bumpSpace();
3272
- var y = this.clonePosition();
3328
+ var d = this.clonePosition();
3273
3329
  if (!this.bumpIf("{"))
3274
- return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3275
- var m = this.parseMessage(t + 1, r, n);
3276
- if (m.err)
3277
- return m;
3278
- var b = this.tryParseArgumentClose(y);
3330
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3331
+ var g = this.parseMessage(t + 1, r, n);
3332
+ if (g.err)
3333
+ return g;
3334
+ var b = this.tryParseArgumentClose(d);
3279
3335
  if (b.err)
3280
3336
  return b;
3281
3337
  a.push([
3282
3338
  u,
3283
3339
  {
3284
- value: m.val,
3285
- location: E(y, this.clonePosition())
3340
+ value: g.val,
3341
+ location: _(d, this.clonePosition())
3286
3342
  }
3287
- ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3343
+ ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3288
3344
  }
3289
- return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3345
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3290
3346
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3291
3347
  var n = 1, i = this.clonePosition();
3292
3348
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3297,8 +3353,8 @@ var ei = (
3297
3353
  else
3298
3354
  break;
3299
3355
  }
3300
- var l = E(i, this.clonePosition());
3301
- return s ? (o *= n, qn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3356
+ var h = _(i, this.clonePosition());
3357
+ return s ? (o *= n, qn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3302
3358
  }, e.prototype.offset = function() {
3303
3359
  return this.position.offset;
3304
3360
  }, e.prototype.isEOF = function() {
@@ -3313,7 +3369,7 @@ var ei = (
3313
3369
  var t = this.position.offset;
3314
3370
  if (t >= this.message.length)
3315
3371
  throw Error("out of bound");
3316
- var r = or(this.message, t);
3372
+ var r = gr(this.message, t);
3317
3373
  if (r === void 0)
3318
3374
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3319
3375
  return r;
@@ -3332,7 +3388,7 @@ var ei = (
3332
3388
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3333
3389
  }
3334
3390
  }, e.prototype.bumpIf = function(t) {
3335
- if (vt(this.message, t, this.offset())) {
3391
+ if (Ht(this.message, t, this.offset())) {
3336
3392
  for (var r = 0; r < t.length; r++)
3337
3393
  this.bump();
3338
3394
  return !0;
@@ -3354,7 +3410,7 @@ var ei = (
3354
3410
  break;
3355
3411
  }
3356
3412
  }, e.prototype.bumpSpace = function() {
3357
- for (; !this.isEOF() && ur(this.char()); )
3413
+ for (; !this.isEOF() && yr(this.char()); )
3358
3414
  this.bump();
3359
3415
  }, e.prototype.peek = function() {
3360
3416
  if (this.isEOF())
@@ -3364,47 +3420,47 @@ var ei = (
3364
3420
  }, e;
3365
3421
  }()
3366
3422
  );
3367
- function Ke(e) {
3423
+ function it(e) {
3368
3424
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3369
3425
  }
3370
3426
  function ti(e) {
3371
- return Ke(e) || e === 47;
3427
+ return it(e) || e === 47;
3372
3428
  }
3373
3429
  function ri(e) {
3374
3430
  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;
3375
3431
  }
3376
- function ur(e) {
3432
+ function yr(e) {
3377
3433
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3378
3434
  }
3379
3435
  function ni(e) {
3380
3436
  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;
3381
3437
  }
3382
- function et(e) {
3438
+ function st(e) {
3383
3439
  e.forEach(function(t) {
3384
- if (delete t.location, Yt(t) || Kt(t))
3440
+ if (delete t.location, ur(t) || lr(t))
3385
3441
  for (var r in t.options)
3386
- delete t.options[r].location, et(t.options[r].value);
3442
+ delete t.options[r].location, st(t.options[r].value);
3387
3443
  else
3388
- Jt(t) && tr(t.style) || (qt(t) || Qt(t)) && Je(t.style) ? delete t.style.location : er(t) && et(t.children);
3444
+ sr(t) && cr(t.style) || (or(t) || ar(t)) && et(t.style) ? delete t.style.location : hr(t) && st(t.children);
3389
3445
  });
3390
3446
  }
3391
3447
  function ii(e, t) {
3392
- t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3448
+ t === void 0 && (t = {}), t = Ie({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3393
3449
  var r = new ei(e, t).parse();
3394
3450
  if (r.err) {
3395
- var n = SyntaxError(_[r.err.kind]);
3451
+ var n = SyntaxError(y[r.err.kind]);
3396
3452
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3397
3453
  }
3398
- return t != null && t.captureLocation || et(r.val), r.val;
3454
+ return t != null && t.captureLocation || st(r.val), r.val;
3399
3455
  }
3400
- var Q;
3456
+ var K;
3401
3457
  (function(e) {
3402
3458
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3403
- })(Q || (Q = {}));
3404
- var Ne = (
3459
+ })(K || (K = {}));
3460
+ var De = (
3405
3461
  /** @class */
3406
3462
  function(e) {
3407
- Ie(t, e);
3463
+ Re(t, e);
3408
3464
  function t(r, n, i) {
3409
3465
  var s = e.call(this, r) || this;
3410
3466
  return s.code = n, s.originalMessage = i, s;
@@ -3413,33 +3469,33 @@ var Ne = (
3413
3469
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3414
3470
  }, t;
3415
3471
  }(Error)
3416
- ), wt = (
3472
+ ), At = (
3417
3473
  /** @class */
3418
3474
  function(e) {
3419
- Ie(t, e);
3475
+ Re(t, e);
3420
3476
  function t(r, n, i, s) {
3421
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, s) || this;
3477
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, s) || this;
3422
3478
  }
3423
3479
  return t;
3424
- }(Ne)
3480
+ }(De)
3425
3481
  ), si = (
3426
3482
  /** @class */
3427
3483
  function(e) {
3428
- Ie(t, e);
3484
+ Re(t, e);
3429
3485
  function t(r, n, i) {
3430
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3486
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3431
3487
  }
3432
3488
  return t;
3433
- }(Ne)
3489
+ }(De)
3434
3490
  ), oi = (
3435
3491
  /** @class */
3436
3492
  function(e) {
3437
- Ie(t, e);
3493
+ Re(t, e);
3438
3494
  function t(r, n) {
3439
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3495
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3440
3496
  }
3441
3497
  return t;
3442
- }(Ne)
3498
+ }(De)
3443
3499
  ), S;
3444
3500
  (function(e) {
3445
3501
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -3453,115 +3509,115 @@ function ai(e) {
3453
3509
  function ui(e) {
3454
3510
  return typeof e == "function";
3455
3511
  }
3456
- function ve(e, t, r, n, i, s, o) {
3457
- if (e.length === 1 && bt(e[0]))
3512
+ function Be(e, t, r, n, i, s, o) {
3513
+ if (e.length === 1 && Et(e[0]))
3458
3514
  return [
3459
3515
  {
3460
3516
  type: S.literal,
3461
3517
  value: e[0].value
3462
3518
  }
3463
3519
  ];
3464
- for (var a = [], l = 0, u = e; l < u.length; l++) {
3465
- var h = u[l];
3466
- if (bt(h)) {
3520
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3521
+ var l = u[h];
3522
+ if (Et(l)) {
3467
3523
  a.push({
3468
3524
  type: S.literal,
3469
- value: h.value
3525
+ value: l.value
3470
3526
  });
3471
3527
  continue;
3472
3528
  }
3473
- if (On(h)) {
3529
+ if (On(l)) {
3474
3530
  typeof s == "number" && a.push({
3475
3531
  type: S.literal,
3476
3532
  value: r.getNumberFormat(t).format(s)
3477
3533
  });
3478
3534
  continue;
3479
3535
  }
3480
- var f = h.value;
3536
+ var f = l.value;
3481
3537
  if (!(i && f in i))
3482
3538
  throw new oi(f, o);
3483
3539
  var c = i[f];
3484
- if (Pn(h)) {
3540
+ if (Pn(l)) {
3485
3541
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3486
3542
  type: typeof c == "string" ? S.literal : S.object,
3487
3543
  value: c
3488
3544
  });
3489
3545
  continue;
3490
3546
  }
3491
- if (qt(h)) {
3492
- var y = typeof h.style == "string" ? n.date[h.style] : Je(h.style) ? h.style.parsedOptions : void 0;
3547
+ if (or(l)) {
3548
+ var d = typeof l.style == "string" ? n.date[l.style] : et(l.style) ? l.style.parsedOptions : void 0;
3493
3549
  a.push({
3494
3550
  type: S.literal,
3495
- value: r.getDateTimeFormat(t, y).format(c)
3551
+ value: r.getDateTimeFormat(t, d).format(c)
3496
3552
  });
3497
3553
  continue;
3498
3554
  }
3499
- if (Qt(h)) {
3500
- var y = typeof h.style == "string" ? n.time[h.style] : Je(h.style) ? h.style.parsedOptions : n.time.medium;
3555
+ if (ar(l)) {
3556
+ var d = typeof l.style == "string" ? n.time[l.style] : et(l.style) ? l.style.parsedOptions : n.time.medium;
3501
3557
  a.push({
3502
3558
  type: S.literal,
3503
- value: r.getDateTimeFormat(t, y).format(c)
3559
+ value: r.getDateTimeFormat(t, d).format(c)
3504
3560
  });
3505
3561
  continue;
3506
3562
  }
3507
- if (Jt(h)) {
3508
- var y = typeof h.style == "string" ? n.number[h.style] : tr(h.style) ? h.style.parsedOptions : void 0;
3509
- y && y.scale && (c = c * (y.scale || 1)), a.push({
3563
+ if (sr(l)) {
3564
+ var d = typeof l.style == "string" ? n.number[l.style] : cr(l.style) ? l.style.parsedOptions : void 0;
3565
+ d && d.scale && (c = c * (d.scale || 1)), a.push({
3510
3566
  type: S.literal,
3511
- value: r.getNumberFormat(t, y).format(c)
3567
+ value: r.getNumberFormat(t, d).format(c)
3512
3568
  });
3513
3569
  continue;
3514
3570
  }
3515
- if (er(h)) {
3516
- var m = h.children, b = h.value, p = i[b];
3517
- if (!ui(p))
3571
+ if (hr(l)) {
3572
+ var g = l.children, b = l.value, E = i[b];
3573
+ if (!ui(E))
3518
3574
  throw new si(b, "function", o);
3519
- var d = ve(m, t, r, n, i, s), v = p(d.map(function(H) {
3520
- return H.value;
3575
+ var x = Be(g, t, r, n, i, s), p = E(x.map(function(O) {
3576
+ return O.value;
3521
3577
  }));
3522
- Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(H) {
3578
+ Array.isArray(p) || (p = [p]), a.push.apply(a, p.map(function(O) {
3523
3579
  return {
3524
- type: typeof H == "string" ? S.literal : S.object,
3525
- value: H
3580
+ type: typeof O == "string" ? S.literal : S.object,
3581
+ value: O
3526
3582
  };
3527
3583
  }));
3528
3584
  }
3529
- if (Yt(h)) {
3530
- var g = h.options[c] || h.options.other;
3531
- if (!g)
3532
- throw new wt(h.value, c, Object.keys(h.options), o);
3533
- a.push.apply(a, ve(g.value, t, r, n, i));
3585
+ if (ur(l)) {
3586
+ var m = l.options[c] || l.options.other;
3587
+ if (!m)
3588
+ throw new At(l.value, c, Object.keys(l.options), o);
3589
+ a.push.apply(a, Be(m.value, t, r, n, i));
3534
3590
  continue;
3535
3591
  }
3536
- if (Kt(h)) {
3537
- var g = h.options["=".concat(c)];
3538
- if (!g) {
3592
+ if (lr(l)) {
3593
+ var m = l.options["=".concat(c)];
3594
+ if (!m) {
3539
3595
  if (!Intl.PluralRules)
3540
- throw new Ne(`Intl.PluralRules is not available in this environment.
3596
+ throw new De(`Intl.PluralRules is not available in this environment.
3541
3597
  Try polyfilling it using "@formatjs/intl-pluralrules"
3542
- `, Q.MISSING_INTL_API, o);
3543
- var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3544
- g = h.options[w] || h.options.other;
3598
+ `, K.MISSING_INTL_API, o);
3599
+ var v = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3600
+ m = l.options[v] || l.options.other;
3545
3601
  }
3546
- if (!g)
3547
- throw new wt(h.value, c, Object.keys(h.options), o);
3548
- a.push.apply(a, ve(g.value, t, r, n, i, c - (h.offset || 0)));
3602
+ if (!m)
3603
+ throw new At(l.value, c, Object.keys(l.options), o);
3604
+ a.push.apply(a, Be(m.value, t, r, n, i, c - (l.offset || 0)));
3549
3605
  continue;
3550
3606
  }
3551
3607
  }
3552
3608
  return ai(a);
3553
3609
  }
3554
3610
  function li(e, t) {
3555
- return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3556
- return r[n] = C(C({}, e[n]), t[n] || {}), r;
3611
+ return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3612
+ return r[n] = M(M({}, e[n]), t[n] || {}), r;
3557
3613
  }, {})) : e;
3558
3614
  }
3559
3615
  function hi(e, t) {
3560
3616
  return t ? Object.keys(e).reduce(function(r, n) {
3561
3617
  return r[n] = li(e[n], t[n]), r;
3562
- }, C({}, e)) : e;
3618
+ }, M({}, e)) : e;
3563
3619
  }
3564
- function je(e) {
3620
+ function We(e) {
3565
3621
  return {
3566
3622
  create: function() {
3567
3623
  return {
@@ -3581,33 +3637,33 @@ function ci(e) {
3581
3637
  dateTime: {},
3582
3638
  pluralRules: {}
3583
3639
  }), {
3584
- getNumberFormat: Ge(function() {
3640
+ getNumberFormat: ze(function() {
3585
3641
  for (var t, r = [], n = 0; n < arguments.length; n++)
3586
3642
  r[n] = arguments[n];
3587
- return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
3643
+ return new ((t = Intl.NumberFormat).bind.apply(t, je([void 0], r, !1)))();
3588
3644
  }, {
3589
- cache: je(e.number),
3590
- strategy: ke.variadic
3645
+ cache: We(e.number),
3646
+ strategy: Ve.variadic
3591
3647
  }),
3592
- getDateTimeFormat: Ge(function() {
3648
+ getDateTimeFormat: ze(function() {
3593
3649
  for (var t, r = [], n = 0; n < arguments.length; n++)
3594
3650
  r[n] = arguments[n];
3595
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
3651
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, je([void 0], r, !1)))();
3596
3652
  }, {
3597
- cache: je(e.dateTime),
3598
- strategy: ke.variadic
3653
+ cache: We(e.dateTime),
3654
+ strategy: Ve.variadic
3599
3655
  }),
3600
- getPluralRules: Ge(function() {
3656
+ getPluralRules: ze(function() {
3601
3657
  for (var t, r = [], n = 0; n < arguments.length; n++)
3602
3658
  r[n] = arguments[n];
3603
- return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
3659
+ return new ((t = Intl.PluralRules).bind.apply(t, je([void 0], r, !1)))();
3604
3660
  }, {
3605
- cache: je(e.pluralRules),
3606
- strategy: ke.variadic
3661
+ cache: We(e.pluralRules),
3662
+ strategy: Ve.variadic
3607
3663
  })
3608
3664
  };
3609
3665
  }
3610
- var lr = (
3666
+ var _r = (
3611
3667
  /** @class */
3612
3668
  function() {
3613
3669
  function e(t, r, n, i) {
@@ -3617,20 +3673,20 @@ var lr = (
3617
3673
  number: {},
3618
3674
  dateTime: {},
3619
3675
  pluralRules: {}
3620
- }, this.format = function(l) {
3621
- var u = s.formatToParts(l);
3676
+ }, this.format = function(h) {
3677
+ var u = s.formatToParts(h);
3622
3678
  if (u.length === 1)
3623
3679
  return u[0].value;
3624
- var h = u.reduce(function(f, c) {
3680
+ var l = u.reduce(function(f, c) {
3625
3681
  return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3626
3682
  }, []);
3627
- return h.length <= 1 ? h[0] || "" : h;
3628
- }, this.formatToParts = function(l) {
3629
- return ve(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3683
+ return l.length <= 1 ? l[0] || "" : l;
3684
+ }, this.formatToParts = function(h) {
3685
+ return Be(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3630
3686
  }, this.resolvedOptions = function() {
3631
- var l;
3687
+ var h;
3632
3688
  return {
3633
- locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3689
+ locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3634
3690
  };
3635
3691
  }, this.getAst = function() {
3636
3692
  return s.ast;
@@ -3639,8 +3695,8 @@ var lr = (
3639
3695
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3640
3696
  var o = i || {};
3641
3697
  o.formatters;
3642
- var a = vn(o, ["formatters"]);
3643
- this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
3698
+ var a = En(o, ["formatters"]);
3699
+ this.ast = e.__parse(t, M(M({}, a), { locale: this.resolvedLocale }));
3644
3700
  } else
3645
3701
  this.ast = t;
3646
3702
  if (!Array.isArray(this.ast))
@@ -3740,28 +3796,28 @@ function fi(e, t) {
3740
3796
  n = void 0;
3741
3797
  return n;
3742
3798
  }
3743
- const $ = {}, mi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), hr = (e, t) => {
3799
+ const k = {}, mi = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), vr = (e, t) => {
3744
3800
  if (t == null)
3745
3801
  return;
3746
- if (t in $ && e in $[t])
3747
- return $[t][e];
3748
- const r = he(t);
3802
+ if (t in k && e in k[t])
3803
+ return k[t][e];
3804
+ const r = de(t);
3749
3805
  for (let n = 0; n < r.length; n++) {
3750
3806
  const i = r[n], s = pi(i, e);
3751
3807
  if (s)
3752
3808
  return mi(e, t, s);
3753
3809
  }
3754
3810
  };
3755
- let st;
3756
- const le = Ce({});
3811
+ let ct;
3812
+ const me = $e({});
3757
3813
  function di(e) {
3758
- return st[e] || null;
3814
+ return ct[e] || null;
3759
3815
  }
3760
- function cr(e) {
3761
- return e in st;
3816
+ function Er(e) {
3817
+ return e in ct;
3762
3818
  }
3763
3819
  function pi(e, t) {
3764
- if (!cr(e))
3820
+ if (!Er(e))
3765
3821
  return null;
3766
3822
  const r = di(e);
3767
3823
  return fi(r, t);
@@ -3769,72 +3825,72 @@ function pi(e, t) {
3769
3825
  function gi(e) {
3770
3826
  if (e == null)
3771
3827
  return;
3772
- const t = he(e);
3828
+ const t = de(e);
3773
3829
  for (let r = 0; r < t.length; r++) {
3774
3830
  const n = t[r];
3775
- if (cr(n))
3831
+ if (Er(n))
3776
3832
  return n;
3777
3833
  }
3778
3834
  }
3779
- function fr(e, ...t) {
3780
- delete $[e], le.update((r) => (r[e] = En.all([r[e] || {}, ...t]), r));
3835
+ function xr(e, ...t) {
3836
+ delete k[e], me.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
3781
3837
  }
3782
- K(
3783
- [le],
3838
+ te(
3839
+ [me],
3784
3840
  ([e]) => Object.keys(e)
3785
3841
  );
3786
- le.subscribe((e) => st = e);
3787
- const xe = {};
3842
+ me.subscribe((e) => ct = e);
3843
+ const Ae = {};
3788
3844
  function bi(e, t) {
3789
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3845
+ Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
3790
3846
  }
3791
- function mr(e) {
3792
- return xe[e];
3847
+ function wr(e) {
3848
+ return Ae[e];
3793
3849
  }
3794
3850
  function yi(e) {
3795
- return he(e).map((t) => {
3796
- const r = mr(t);
3851
+ return de(e).map((t) => {
3852
+ const r = wr(t);
3797
3853
  return [t, r ? [...r] : []];
3798
3854
  }).filter(([, t]) => t.length > 0);
3799
3855
  }
3800
- function Be(e) {
3801
- return e == null ? !1 : he(e).some(
3856
+ function Me(e) {
3857
+ return e == null ? !1 : de(e).some(
3802
3858
  (t) => {
3803
3859
  var r;
3804
- return (r = mr(t)) == null ? void 0 : r.size;
3860
+ return (r = wr(t)) == null ? void 0 : r.size;
3805
3861
  }
3806
3862
  );
3807
3863
  }
3808
3864
  function _i(e, t) {
3809
3865
  return Promise.all(
3810
3866
  t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
3811
- ).then((n) => fr(e, ...n));
3867
+ ).then((n) => xr(e, ...n));
3812
3868
  }
3813
- const re = {};
3814
- function dr(e) {
3815
- if (!Be(e))
3816
- return e in re ? re[e] : Promise.resolve();
3869
+ const ie = {};
3870
+ function Tr(e) {
3871
+ if (!Me(e))
3872
+ return e in ie ? ie[e] : Promise.resolve();
3817
3873
  const t = yi(e);
3818
- return re[e] = Promise.all(
3874
+ return ie[e] = Promise.all(
3819
3875
  t.map(
3820
3876
  ([r, n]) => _i(r, n)
3821
3877
  )
3822
3878
  ).then(() => {
3823
- if (Be(e))
3824
- return dr(e);
3825
- delete re[e];
3826
- }), re[e];
3879
+ if (Me(e))
3880
+ return Tr(e);
3881
+ delete ie[e];
3882
+ }), ie[e];
3827
3883
  }
3828
- var Ht = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, xi = (e, t) => {
3884
+ var Pt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, xi = (e, t) => {
3829
3885
  var r = {};
3830
3886
  for (var n in e)
3831
- Ei.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3832
- if (e != null && Ht)
3833
- for (var n of Ht(e))
3834
- t.indexOf(n) < 0 && vi.call(e, n) && (r[n] = e[n]);
3887
+ vi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3888
+ if (e != null && Pt)
3889
+ for (var n of Pt(e))
3890
+ t.indexOf(n) < 0 && Ei.call(e, n) && (r[n] = e[n]);
3835
3891
  return r;
3836
3892
  };
3837
- const Ti = {
3893
+ const wi = {
3838
3894
  number: {
3839
3895
  scientific: { notation: "scientific" },
3840
3896
  engineering: { notation: "engineering" },
@@ -3864,11 +3920,11 @@ const Ti = {
3864
3920
  }
3865
3921
  }
3866
3922
  };
3867
- function wi({ locale: e, id: t }) {
3923
+ function Ti({ locale: e, id: t }) {
3868
3924
  console.warn(
3869
- `[svelte-i18n] The message "${t}" was not found in "${he(
3925
+ `[svelte-i18n] The message "${t}" was not found in "${de(
3870
3926
  e
3871
- ).join('", "')}".${Be(R()) ? `
3927
+ ).join('", "')}".${Me(G()) ? `
3872
3928
 
3873
3929
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3874
3930
  );
@@ -3876,145 +3932,145 @@ Note: there are at least one loader still registered to this locale that wasn't
3876
3932
  const Hi = {
3877
3933
  fallbackLocale: null,
3878
3934
  loadingDelay: 200,
3879
- formats: Ti,
3935
+ formats: wi,
3880
3936
  warnOnMissingMessages: !0,
3881
3937
  handleMissingMessage: void 0,
3882
3938
  ignoreTag: !0
3883
- }, ne = Hi;
3884
- function Y() {
3885
- return ne;
3939
+ }, se = Hi;
3940
+ function ee() {
3941
+ return se;
3886
3942
  }
3887
3943
  function Si(e) {
3888
3944
  const t = e, { formats: r } = t, n = xi(t, ["formats"]);
3889
3945
  let i = e.fallbackLocale;
3890
3946
  if (e.initialLocale)
3891
3947
  try {
3892
- lr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3948
+ _r.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3893
3949
  } catch (s) {
3894
3950
  console.warn(
3895
3951
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3896
3952
  );
3897
3953
  }
3898
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = wi : console.warn(
3954
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Ti : console.warn(
3899
3955
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3900
- )), Object.assign(ne, n, { initialLocale: i }), r && ("number" in r && Object.assign(ne.formats.number, r.number), "date" in r && Object.assign(ne.formats.date, r.date), "time" in r && Object.assign(ne.formats.time, r.time)), k.set(i);
3956
+ )), Object.assign(se, n, { initialLocale: i }), r && ("number" in r && Object.assign(se.formats.number, r.number), "date" in r && Object.assign(se.formats.date, r.date), "time" in r && Object.assign(se.formats.time, r.time)), z.set(i);
3901
3957
  }
3902
- const ze = Ce(!1);
3903
- var Bi = Object.defineProperty, Ai = Object.defineProperties, Pi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ii = (e, t) => {
3958
+ const Ze = $e(!1);
3959
+ var Bi = Object.defineProperty, Ai = Object.defineProperties, Pi = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ii = (e, t) => {
3904
3960
  for (var r in t || (t = {}))
3905
- Oi.call(t, r) && Bt(e, r, t[r]);
3906
- if (St)
3907
- for (var r of St(t))
3908
- Ci.call(t, r) && Bt(e, r, t[r]);
3961
+ Oi.call(t, r) && Ct(e, r, t[r]);
3962
+ if (Ot)
3963
+ for (var r of Ot(t))
3964
+ Ci.call(t, r) && Ct(e, r, t[r]);
3909
3965
  return e;
3910
- }, Ni = (e, t) => Ai(e, Pi(t));
3911
- let tt;
3912
- const Ae = Ce(null);
3913
- function At(e) {
3966
+ }, Mi = (e, t) => Ai(e, Pi(t));
3967
+ let ot;
3968
+ const Ne = $e(null);
3969
+ function It(e) {
3914
3970
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3915
3971
  }
3916
- function he(e, t = Y().fallbackLocale) {
3917
- const r = At(e);
3918
- return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
3972
+ function de(e, t = ee().fallbackLocale) {
3973
+ const r = It(e);
3974
+ return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
3919
3975
  }
3920
- function R() {
3921
- return tt != null ? tt : void 0;
3976
+ function G() {
3977
+ return ot != null ? ot : void 0;
3922
3978
  }
3923
- Ae.subscribe((e) => {
3924
- tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3979
+ Ne.subscribe((e) => {
3980
+ ot = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3925
3981
  });
3926
- const Mi = (e) => {
3927
- if (e && gi(e) && Be(e)) {
3928
- const { loadingDelay: t } = Y();
3982
+ const Ni = (e) => {
3983
+ if (e && gi(e) && Me(e)) {
3984
+ const { loadingDelay: t } = ee();
3929
3985
  let r;
3930
- return typeof window != "undefined" && R() != null && t ? r = window.setTimeout(
3931
- () => ze.set(!0),
3986
+ return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
3987
+ () => Ze.set(!0),
3932
3988
  t
3933
- ) : ze.set(!0), dr(e).then(() => {
3934
- Ae.set(e);
3989
+ ) : Ze.set(!0), Tr(e).then(() => {
3990
+ Ne.set(e);
3935
3991
  }).finally(() => {
3936
- clearTimeout(r), ze.set(!1);
3992
+ clearTimeout(r), Ze.set(!1);
3937
3993
  });
3938
3994
  }
3939
- return Ae.set(e);
3940
- }, k = Ni(Ii({}, Ae), {
3941
- set: Mi
3942
- }), Me = (e) => {
3995
+ return Ne.set(e);
3996
+ }, z = Mi(Ii({}, Ne), {
3997
+ set: Ni
3998
+ }), ke = (e) => {
3943
3999
  const t = /* @__PURE__ */ Object.create(null);
3944
4000
  return (n) => {
3945
4001
  const i = JSON.stringify(n);
3946
4002
  return i in t ? t[i] : t[i] = e(n);
3947
4003
  };
3948
4004
  };
3949
- var Li = Object.defineProperty, Pe = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
4005
+ var Li = Object.defineProperty, Le = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
3950
4006
  for (var r in t || (t = {}))
3951
- pr.call(t, r) && Pt(e, r, t[r]);
3952
- if (Pe)
3953
- for (var r of Pe(t))
3954
- gr.call(t, r) && Pt(e, r, t[r]);
4007
+ Hr.call(t, r) && Mt(e, r, t[r]);
4008
+ if (Le)
4009
+ for (var r of Le(t))
4010
+ Sr.call(t, r) && Mt(e, r, t[r]);
3955
4011
  return e;
3956
- }, ee = (e, t) => {
4012
+ }, re = (e, t) => {
3957
4013
  var r = {};
3958
4014
  for (var n in e)
3959
- pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3960
- if (e != null && Pe)
3961
- for (var n of Pe(e))
3962
- t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4015
+ Hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4016
+ if (e != null && Le)
4017
+ for (var n of Le(e))
4018
+ t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
3963
4019
  return r;
3964
4020
  };
3965
- const ae = (e, t) => {
3966
- const { formats: r } = Y();
4021
+ const he = (e, t) => {
4022
+ const { formats: r } = ee();
3967
4023
  if (e in r && t in r[e])
3968
4024
  return r[e][t];
3969
4025
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3970
- }, $i = Me(
4026
+ }, $i = ke(
3971
4027
  (e) => {
3972
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4028
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3973
4029
  if (r == null)
3974
4030
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3975
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4031
+ return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
3976
4032
  }
3977
- ), Ri = Me(
4033
+ ), Ri = ke(
3978
4034
  (e) => {
3979
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4035
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3980
4036
  if (r == null)
3981
4037
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3982
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4038
+ return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
3983
4039
  }
3984
- ), Di = Me(
4040
+ ), Di = ke(
3985
4041
  (e) => {
3986
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4042
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3987
4043
  if (r == null)
3988
4044
  throw new Error(
3989
4045
  '[svelte-i18n] A "locale" must be set to format time values'
3990
4046
  );
3991
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4047
+ return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
3992
4048
  }
3993
- ), Ui = (e = {}) => {
4049
+ ), ki = (e = {}) => {
3994
4050
  var t = e, {
3995
- locale: r = R()
3996
- } = t, n = ee(t, [
4051
+ locale: r = G()
4052
+ } = t, n = re(t, [
3997
4053
  "locale"
3998
4054
  ]);
3999
- return $i(ot({ locale: r }, n));
4000
- }, Gi = (e = {}) => {
4055
+ return $i(ft({ locale: r }, n));
4056
+ }, Ui = (e = {}) => {
4001
4057
  var t = e, {
4002
- locale: r = R()
4003
- } = t, n = ee(t, [
4058
+ locale: r = G()
4059
+ } = t, n = re(t, [
4004
4060
  "locale"
4005
4061
  ]);
4006
- return Ri(ot({ locale: r }, n));
4007
- }, ki = (e = {}) => {
4062
+ return Ri(ft({ locale: r }, n));
4063
+ }, Gi = (e = {}) => {
4008
4064
  var t = e, {
4009
- locale: r = R()
4010
- } = t, n = ee(t, [
4065
+ locale: r = G()
4066
+ } = t, n = re(t, [
4011
4067
  "locale"
4012
4068
  ]);
4013
- return Di(ot({ locale: r }, n));
4014
- }, Fi = Me(
4069
+ return Di(ft({ locale: r }, n));
4070
+ }, Fi = ke(
4015
4071
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4016
- (e, t = R()) => new lr(e, t, Y().formats, {
4017
- ignoreTag: Y().ignoreTag
4072
+ (e, t = G()) => new _r(e, t, ee().formats, {
4073
+ ignoreTag: ee().ignoreTag
4018
4074
  })
4019
4075
  ), ji = (e, t = {}) => {
4020
4076
  var r, n, i, s;
@@ -4022,25 +4078,25 @@ const ae = (e, t) => {
4022
4078
  typeof e == "object" && (o = e, e = o.id);
4023
4079
  const {
4024
4080
  values: a,
4025
- locale: l = R(),
4081
+ locale: h = G(),
4026
4082
  default: u
4027
4083
  } = o;
4028
- if (l == null)
4084
+ if (h == null)
4029
4085
  throw new Error(
4030
4086
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4031
4087
  );
4032
- let h = hr(e, l);
4033
- if (!h)
4034
- h = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4035
- else if (typeof h != "string")
4088
+ let l = vr(e, h);
4089
+ if (!l)
4090
+ l = (s = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4091
+ else if (typeof l != "string")
4036
4092
  return console.warn(
4037
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4038
- ), h;
4093
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4094
+ ), l;
4039
4095
  if (!a)
4040
- return h;
4041
- let f = h;
4096
+ return l;
4097
+ let f = l;
4042
4098
  try {
4043
- f = Fi(h, l).format(a);
4099
+ f = Fi(l, h).format(a);
4044
4100
  } catch (c) {
4045
4101
  c instanceof Error && console.warn(
4046
4102
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4048,11 +4104,11 @@ const ae = (e, t) => {
4048
4104
  );
4049
4105
  }
4050
4106
  return f;
4051
- }, zi = (e, t) => ki(t).format(e), Vi = (e, t) => Gi(t).format(e), Xi = (e, t) => Ui(t).format(e), Wi = (e, t = R()) => hr(e, t), Zi = K([k, le], () => ji);
4052
- K([k], () => zi);
4053
- K([k], () => Vi);
4054
- K([k], () => Xi);
4055
- K([k, le], () => Wi);
4107
+ }, zi = (e, t) => Gi(t).format(e), Vi = (e, t) => Ui(t).format(e), Xi = (e, t) => ki(t).format(e), Wi = (e, t = G()) => vr(e, t), Zi = te([z, me], () => ji);
4108
+ te([z], () => zi);
4109
+ te([z], () => Vi);
4110
+ te([z], () => Xi);
4111
+ te([z, me], () => Wi);
4056
4112
  function Ji(e, t) {
4057
4113
  if (e) {
4058
4114
  const r = document.createElement("style");
@@ -4060,6 +4116,8 @@ function Ji(e, t) {
4060
4116
  }
4061
4117
  }
4062
4118
  function qi(e, t) {
4119
+ if (!e || !t)
4120
+ return;
4063
4121
  const r = new URL(t);
4064
4122
  fetch(r.href).then((n) => n.text()).then((n) => {
4065
4123
  const i = document.createElement("style");
@@ -4076,15 +4134,15 @@ function Qi(e, t, r) {
4076
4134
  });
4077
4135
  }
4078
4136
  }
4079
- function Ot(e, t) {
4080
- fr(e, t);
4137
+ function Nt(e, t) {
4138
+ xr(e, t);
4081
4139
  }
4082
4140
  function Yi(e) {
4083
4141
  Si({
4084
4142
  fallbackLocale: "en"
4085
- }), k.set(e);
4143
+ }), z.set(e);
4086
4144
  }
4087
- const Ct = {
4145
+ const Lt = {
4088
4146
  en: {
4089
4147
  errorGeneralTitle: "Error Occurred",
4090
4148
  errorGeneralText: "Something went wrong",
@@ -4139,172 +4197,120 @@ const Ct = {
4139
4197
  }
4140
4198
  };
4141
4199
  function Ki(e) {
4142
- Pr(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}");
4200
+ $r(e, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}");
4143
4201
  }
4144
- const es = (e) => ({}), It = (e) => ({}), ts = (e) => ({}), Nt = (e) => ({}), rs = (e) => ({}), Mt = (e) => ({}), ns = (e) => ({}), Lt = (e) => ({ class: "CashierErrorIcon" });
4145
- function $t(e) {
4202
+ const es = (e) => ({}), $t = (e) => ({}), ts = (e) => ({}), Rt = (e) => ({}), rs = (e) => ({}), Dt = (e) => ({}), ns = (e) => ({}), kt = (e) => ({ class: "CashierErrorIcon" });
4203
+ function Ut(e) {
4146
4204
  let t, r;
4147
4205
  return {
4148
4206
  c() {
4149
- t = P("ui-image"), mt(t.src, r = `${/*assetsurl*/
4150
- e[0]}/error-general-icon.png`) || fe(t, "src", r), fe(t, "width", "300px"), fe(t, "alt", "error");
4207
+ t = P("ui-image"), yt(t.src, r = `${/*assetsurl*/
4208
+ e[0]}/error-general-icon.png`) || Ee(t, "src", r), Ee(t, "width", "300px"), Ee(t, "alt", "error");
4151
4209
  },
4152
4210
  m(n, i) {
4153
- G(n, t, i);
4211
+ j(n, t, i);
4154
4212
  },
4155
4213
  p(n, i) {
4156
4214
  i & /*assetsurl*/
4157
- 1 && !mt(t.src, r = `${/*assetsurl*/
4158
- n[0]}/error-general-icon.png`) && fe(t, "src", r);
4215
+ 1 && !yt(t.src, r = `${/*assetsurl*/
4216
+ n[0]}/error-general-icon.png`) && Ee(t, "src", r);
4159
4217
  },
4160
4218
  d(n) {
4161
- n && N(t);
4219
+ n && L(t);
4162
4220
  }
4163
4221
  };
4164
4222
  }
4165
4223
  function is(e) {
4166
4224
  let t, r = (
4167
4225
  /*assetsurl*/
4168
- e[0] && $t(e)
4226
+ e[0] && Ut(e)
4169
4227
  );
4170
4228
  return {
4171
4229
  c() {
4172
- r && r.c(), t = Cr();
4230
+ r && r.c(), t = Dr();
4173
4231
  },
4174
4232
  m(n, i) {
4175
- r && r.m(n, i), G(n, t, i);
4233
+ r && r.m(n, i), j(n, t, i);
4176
4234
  },
4177
4235
  p(n, i) {
4178
4236
  /*assetsurl*/
4179
- n[0] ? r ? r.p(n, i) : (r = $t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4237
+ n[0] ? r ? r.p(n, i) : (r = Ut(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4180
4238
  },
4181
4239
  d(n) {
4182
- n && N(t), r && r.d(n);
4240
+ n && L(t), r && r.d(n);
4183
4241
  }
4184
4242
  };
4185
4243
  }
4186
4244
  function ss(e) {
4187
4245
  let t, r = (
4188
4246
  /*$_*/
4189
- e[4]("errorGeneralTitle") + ""
4247
+ e[3]("errorGeneralTitle") + ""
4190
4248
  ), n;
4191
4249
  return {
4192
4250
  c() {
4193
- t = P("span"), n = ue(r), D(t, "class", "CashierErrorTitle");
4251
+ t = P("span"), n = fe(r), F(t, "class", "CashierErrorTitle");
4194
4252
  },
4195
4253
  m(i, s) {
4196
- G(i, t, s), I(t, n);
4254
+ j(i, t, s), N(t, n);
4197
4255
  },
4198
4256
  p(i, s) {
4199
4257
  s & /*$_*/
4200
- 16 && r !== (r = /*$_*/
4201
- i[4]("errorGeneralTitle") + "") && it(n, r);
4258
+ 8 && r !== (r = /*$_*/
4259
+ i[3]("errorGeneralTitle") + "") && ht(n, r);
4202
4260
  },
4203
4261
  d(i) {
4204
- i && N(t);
4262
+ i && L(t);
4205
4263
  }
4206
4264
  };
4207
4265
  }
4208
4266
  function os(e) {
4209
4267
  let t, r = (
4210
4268
  /*$_*/
4211
- e[4](`${/*errorcode*/
4212
- e[2] || "errorGeneralText"}`) + ""
4269
+ e[3](`${/*errorcode*/
4270
+ e[1] || "errorGeneralText"}`) + ""
4213
4271
  ), n;
4214
4272
  return {
4215
4273
  c() {
4216
- t = P("span"), n = ue(r), D(t, "class", "CashierErrorText");
4274
+ t = P("span"), n = fe(r), F(t, "class", "CashierErrorText");
4217
4275
  },
4218
4276
  m(i, s) {
4219
- G(i, t, s), I(t, n);
4277
+ j(i, t, s), N(t, n);
4220
4278
  },
4221
4279
  p(i, s) {
4222
4280
  s & /*$_, errorcode*/
4223
- 20 && r !== (r = /*$_*/
4224
- i[4](`${/*errorcode*/
4225
- i[2] || "errorGeneralText"}`) + "") && it(n, r);
4281
+ 10 && r !== (r = /*$_*/
4282
+ i[3](`${/*errorcode*/
4283
+ i[1] || "errorGeneralText"}`) + "") && ht(n, r);
4226
4284
  },
4227
4285
  d(i) {
4228
- i && N(t);
4229
- }
4230
- };
4231
- }
4232
- function Rt(e) {
4233
- let t;
4234
- const r = (
4235
- /*#slots*/
4236
- e[12].button
4237
- ), n = pe(
4238
- r,
4239
- e,
4240
- /*$$scope*/
4241
- e[11],
4242
- It
4243
- ), i = n || as(e);
4244
- return {
4245
- c() {
4246
- i && i.c();
4247
- },
4248
- m(s, o) {
4249
- i && i.m(s, o), t = !0;
4250
- },
4251
- p(s, o) {
4252
- n ? n.p && (!t || o & /*$$scope*/
4253
- 2048) && be(
4254
- n,
4255
- r,
4256
- s,
4257
- /*$$scope*/
4258
- s[11],
4259
- t ? ge(
4260
- r,
4261
- /*$$scope*/
4262
- s[11],
4263
- o,
4264
- es
4265
- ) : ye(
4266
- /*$$scope*/
4267
- s[11]
4268
- ),
4269
- It
4270
- ) : i && i.p && (!t || o & /*$_*/
4271
- 16) && i.p(s, t ? o : -1);
4272
- },
4273
- i(s) {
4274
- t || (L(i, s), t = !0);
4275
- },
4276
- o(s) {
4277
- X(i, s), t = !1;
4278
- },
4279
- d(s) {
4280
- i && i.d(s);
4286
+ i && L(t);
4281
4287
  }
4282
4288
  };
4283
4289
  }
4284
4290
  function as(e) {
4285
4291
  let t, r, n = (
4286
4292
  /*$_*/
4287
- e[4]("errorGeneralButton") + ""
4293
+ e[3]("errorGeneralButton") + ""
4288
4294
  ), i, s, o;
4289
4295
  return {
4290
4296
  c() {
4291
- t = P("button"), r = P("span"), i = ue(n), D(t, "class", "CashierErrorButton");
4297
+ t = P("button"), r = P("span"), i = fe(n), F(t, "class", "CashierErrorButton");
4292
4298
  },
4293
- m(a, l) {
4294
- G(a, t, l), I(t, r), I(r, i), s || (o = Ve(
4299
+ m(a, h) {
4300
+ j(a, t, h), N(t, r), N(r, i), s || (o = Je(
4295
4301
  t,
4296
4302
  "click",
4297
4303
  /*close*/
4298
- e[5]
4304
+ e[4]
4299
4305
  ), s = !0);
4300
4306
  },
4301
- p(a, l) {
4302
- l & /*$_*/
4303
- 16 && n !== (n = /*$_*/
4304
- a[4]("errorGeneralButton") + "") && it(i, n);
4307
+ p(a, h) {
4308
+ h & /*$_*/
4309
+ 8 && n !== (n = /*$_*/
4310
+ a[3]("errorGeneralButton") + "") && ht(i, n);
4305
4311
  },
4306
4312
  d(a) {
4307
- a && N(t), s = !1, o();
4313
+ a && L(t), s = !1, o();
4308
4314
  }
4309
4315
  };
4310
4316
  }
@@ -4312,189 +4318,207 @@ function us(e) {
4312
4318
  let t, r, n, i, s, o;
4313
4319
  const a = (
4314
4320
  /*#slots*/
4315
- e[12].icon
4316
- ), l = pe(
4321
+ e[11].icon
4322
+ ), h = be(
4317
4323
  a,
4318
4324
  e,
4319
4325
  /*$$scope*/
4320
- e[11],
4321
- Lt
4322
- ), u = l || is(e), h = (
4326
+ e[10],
4327
+ kt
4328
+ ), u = h || is(e), l = (
4323
4329
  /*#slots*/
4324
- e[12].title
4325
- ), f = pe(
4326
- h,
4330
+ e[11].title
4331
+ ), f = be(
4332
+ l,
4333
+ e,
4334
+ /*$$scope*/
4335
+ e[10],
4336
+ Dt
4337
+ ), c = f || ss(e), d = (
4338
+ /*#slots*/
4339
+ e[11].text
4340
+ ), g = be(
4341
+ d,
4327
4342
  e,
4328
4343
  /*$$scope*/
4329
- e[11],
4330
- Mt
4331
- ), c = f || ss(e), y = (
4344
+ e[10],
4345
+ Rt
4346
+ ), b = g || os(e), E = (
4332
4347
  /*#slots*/
4333
- e[12].text
4334
- ), m = pe(
4335
- y,
4348
+ e[11].button
4349
+ ), x = be(
4350
+ E,
4336
4351
  e,
4337
4352
  /*$$scope*/
4338
- e[11],
4339
- Nt
4340
- ), b = m || os(e);
4341
- let p = (!/*hidebuttons*/
4342
- e[1] || /*hidebuttons*/
4343
- e[1] === "false") && Rt(e);
4353
+ e[10],
4354
+ $t
4355
+ ), p = x || as(e);
4344
4356
  return {
4345
4357
  c() {
4346
- t = P("div"), r = P("div"), u && u.c(), n = $e(), c && c.c(), i = $e(), b && b.c(), s = $e(), p && p.c(), D(r, "class", "CashierErrorContent"), D(t, "class", "CashierError");
4358
+ t = P("div"), r = P("div"), u && u.c(), n = Ge(), c && c.c(), i = Ge(), b && b.c(), s = Ge(), p && p.c(), F(r, "class", "CashierErrorContent"), F(t, "class", "CashierError");
4347
4359
  },
4348
- m(d, v) {
4349
- G(d, t, v), I(t, r), u && u.m(r, null), I(r, n), c && c.m(r, null), I(r, i), b && b.m(r, null), I(r, s), p && p.m(r, null), e[13](t), o = !0;
4360
+ m(m, v) {
4361
+ j(m, t, v), N(t, r), u && u.m(r, null), N(r, n), c && c.m(r, null), N(r, i), b && b.m(r, null), N(r, s), p && p.m(r, null), e[12](t), o = !0;
4350
4362
  },
4351
- p(d, [v]) {
4352
- l ? l.p && (!o || v & /*$$scope*/
4353
- 2048) && be(
4354
- l,
4363
+ p(m, [v]) {
4364
+ h ? h.p && (!o || v & /*$$scope*/
4365
+ 1024) && _e(
4366
+ h,
4355
4367
  a,
4356
- d,
4368
+ m,
4357
4369
  /*$$scope*/
4358
- d[11],
4359
- o ? ge(
4370
+ m[10],
4371
+ o ? ye(
4360
4372
  a,
4361
4373
  /*$$scope*/
4362
- d[11],
4374
+ m[10],
4363
4375
  v,
4364
4376
  ns
4365
- ) : ye(
4377
+ ) : ve(
4366
4378
  /*$$scope*/
4367
- d[11]
4379
+ m[10]
4368
4380
  ),
4369
- Lt
4381
+ kt
4370
4382
  ) : u && u.p && (!o || v & /*assetsurl*/
4371
- 1) && u.p(d, o ? v : -1), f ? f.p && (!o || v & /*$$scope*/
4372
- 2048) && be(
4383
+ 1) && u.p(m, o ? v : -1), f ? f.p && (!o || v & /*$$scope*/
4384
+ 1024) && _e(
4373
4385
  f,
4374
- h,
4375
- d,
4386
+ l,
4387
+ m,
4376
4388
  /*$$scope*/
4377
- d[11],
4378
- o ? ge(
4379
- h,
4389
+ m[10],
4390
+ o ? ye(
4391
+ l,
4380
4392
  /*$$scope*/
4381
- d[11],
4393
+ m[10],
4382
4394
  v,
4383
4395
  rs
4384
- ) : ye(
4396
+ ) : ve(
4385
4397
  /*$$scope*/
4386
- d[11]
4398
+ m[10]
4387
4399
  ),
4388
- Mt
4400
+ Dt
4389
4401
  ) : c && c.p && (!o || v & /*$_*/
4390
- 16) && c.p(d, o ? v : -1), m ? m.p && (!o || v & /*$$scope*/
4391
- 2048) && be(
4392
- m,
4393
- y,
4402
+ 8) && c.p(m, o ? v : -1), g ? g.p && (!o || v & /*$$scope*/
4403
+ 1024) && _e(
4404
+ g,
4394
4405
  d,
4406
+ m,
4395
4407
  /*$$scope*/
4396
- d[11],
4397
- o ? ge(
4398
- y,
4408
+ m[10],
4409
+ o ? ye(
4410
+ d,
4399
4411
  /*$$scope*/
4400
- d[11],
4412
+ m[10],
4401
4413
  v,
4402
4414
  ts
4403
- ) : ye(
4415
+ ) : ve(
4404
4416
  /*$$scope*/
4405
- d[11]
4417
+ m[10]
4406
4418
  ),
4407
- Nt
4419
+ Rt
4408
4420
  ) : b && b.p && (!o || v & /*$_, errorcode*/
4409
- 20) && b.p(d, o ? v : -1), !/*hidebuttons*/
4410
- d[1] || /*hidebuttons*/
4411
- d[1] === "false" ? p ? (p.p(d, v), v & /*hidebuttons*/
4412
- 2 && L(p, 1)) : (p = Rt(d), p.c(), L(p, 1), p.m(r, null)) : p && (Wr(), X(p, 1, 1, () => {
4413
- p = null;
4414
- }), Zr());
4421
+ 10) && b.p(m, o ? v : -1), x ? x.p && (!o || v & /*$$scope*/
4422
+ 1024) && _e(
4423
+ x,
4424
+ E,
4425
+ m,
4426
+ /*$$scope*/
4427
+ m[10],
4428
+ o ? ye(
4429
+ E,
4430
+ /*$$scope*/
4431
+ m[10],
4432
+ v,
4433
+ es
4434
+ ) : ve(
4435
+ /*$$scope*/
4436
+ m[10]
4437
+ ),
4438
+ $t
4439
+ ) : p && p.p && (!o || v & /*$_*/
4440
+ 8) && p.p(m, o ? v : -1);
4415
4441
  },
4416
- i(d) {
4417
- o || (L(u, d), L(c, d), L(b, d), L(p), o = !0);
4442
+ i(m) {
4443
+ o || (Z(u, m), Z(c, m), Z(b, m), Z(p, m), o = !0);
4418
4444
  },
4419
- o(d) {
4420
- X(u, d), X(c, d), X(b, d), X(p), o = !1;
4445
+ o(m) {
4446
+ we(u, m), we(c, m), we(b, m), we(p, m), o = !1;
4421
4447
  },
4422
- d(d) {
4423
- d && N(t), u && u.d(d), c && c.d(d), b && b.d(d), p && p.d(), e[13](null);
4448
+ d(m) {
4449
+ m && L(t), u && u.d(m), c && c.d(m), b && b.d(m), p && p.d(m), e[12](null);
4424
4450
  }
4425
4451
  };
4426
4452
  }
4427
4453
  function ls(e, t, r) {
4428
4454
  let n;
4429
- Sr(e, Zi, (g) => r(4, n = g));
4430
- let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { hidebuttons: l = "" } = t, { errorcode: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: c = "" } = t, { mbsource: y = "" } = t, m;
4431
- const b = () => {
4455
+ Lr(e, Zi, (p) => r(3, n = p));
4456
+ let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { mbsource: c = "" } = t, d;
4457
+ const g = () => {
4432
4458
  Yi(a);
4433
- }, p = () => {
4434
- fetch(c).then((w) => w.json()).then((w) => {
4435
- Object.keys(w).forEach((H) => {
4436
- Ot(H, w[H]);
4459
+ }, b = () => {
4460
+ fetch(f).then((m) => m.json()).then((m) => {
4461
+ Object.keys(m).forEach((v) => {
4462
+ Nt(v, m[v]);
4437
4463
  });
4438
- }).catch((w) => {
4439
- console.error(w);
4464
+ }).catch((m) => {
4465
+ console.error(m);
4440
4466
  });
4441
4467
  };
4442
- Object.keys(Ct).forEach((g) => {
4443
- Ot(g, Ct[g]);
4468
+ Object.keys(Lt).forEach((p) => {
4469
+ Nt(p, Lt[p]);
4444
4470
  });
4445
- const d = () => {
4471
+ const E = () => {
4446
4472
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4447
4473
  };
4448
- kr(() => () => {
4474
+ Wr(() => () => {
4449
4475
  });
4450
- function v(g) {
4451
- Xe[g ? "unshift" : "push"](() => {
4452
- m = g, r(3, m);
4476
+ function x(p) {
4477
+ Qe[p ? "unshift" : "push"](() => {
4478
+ d = p, r(2, d);
4453
4479
  });
4454
4480
  }
4455
- return e.$$set = (g) => {
4456
- "assetsurl" in g && r(0, o = g.assetsurl), "lang" in g && r(6, a = g.lang), "hidebuttons" in g && r(1, l = g.hidebuttons), "errorcode" in g && r(2, u = g.errorcode), "clientstyling" in g && r(7, h = g.clientstyling), "clientstylingurl" in g && r(8, f = g.clientstylingurl), "translationurl" in g && r(9, c = g.translationurl), "mbsource" in g && r(10, y = g.mbsource), "$$scope" in g && r(11, s = g.$$scope);
4481
+ return e.$$set = (p) => {
4482
+ "assetsurl" in p && r(0, o = p.assetsurl), "lang" in p && r(5, a = p.lang), "errorcode" in p && r(1, h = p.errorcode), "clientstyling" in p && r(6, u = p.clientstyling), "clientstylingurl" in p && r(7, l = p.clientstylingurl), "translationurl" in p && r(8, f = p.translationurl), "mbsource" in p && r(9, c = p.mbsource), "$$scope" in p && r(10, s = p.$$scope);
4457
4483
  }, e.$$.update = () => {
4458
4484
  e.$$.dirty & /*lang*/
4459
- 64 && a && b(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4460
- 136 && h && m && Ji(m, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4461
- 264 && f && m && qi(m, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4462
- 1032 && y && m && Qi(m, `${y}.Style`), e.$$.dirty & /*translationurl*/
4463
- 512 && c && p();
4485
+ 32 && a && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4486
+ 68 && u && d && Ji(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4487
+ 132 && l && d && qi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4488
+ 516 && c && d && Qi(d, `${c}.Style`), e.$$.dirty & /*translationurl*/
4489
+ 256 && f && b();
4464
4490
  }, [
4465
4491
  o,
4466
- l,
4467
- u,
4468
- m,
4469
- n,
4492
+ h,
4470
4493
  d,
4494
+ n,
4495
+ E,
4471
4496
  a,
4472
- h,
4497
+ u,
4498
+ l,
4473
4499
  f,
4474
4500
  c,
4475
- y,
4476
4501
  s,
4477
4502
  i,
4478
- v
4503
+ x
4479
4504
  ];
4480
4505
  }
4481
- class br extends tn {
4506
+ class Br extends tn {
4482
4507
  constructor(t) {
4483
4508
  super(), Kr(
4484
4509
  this,
4485
4510
  t,
4486
4511
  ls,
4487
4512
  us,
4488
- Ut,
4513
+ jt,
4489
4514
  {
4490
4515
  assetsurl: 0,
4491
- lang: 6,
4492
- hidebuttons: 1,
4493
- errorcode: 2,
4494
- clientstyling: 7,
4495
- clientstylingurl: 8,
4496
- translationurl: 9,
4497
- mbsource: 10
4516
+ lang: 5,
4517
+ errorcode: 1,
4518
+ clientstyling: 6,
4519
+ clientstylingurl: 7,
4520
+ translationurl: 8,
4521
+ mbsource: 9
4498
4522
  },
4499
4523
  Ki
4500
4524
  );
@@ -4503,110 +4527,110 @@ class br extends tn {
4503
4527
  return this.$$.ctx[0];
4504
4528
  }
4505
4529
  set assetsurl(t) {
4506
- this.$$set({ assetsurl: t }), O();
4530
+ this.$$set({ assetsurl: t }), $();
4507
4531
  }
4508
4532
  get lang() {
4509
- return this.$$.ctx[6];
4533
+ return this.$$.ctx[5];
4510
4534
  }
4511
4535
  set lang(t) {
4512
- this.$$set({ lang: t }), O();
4513
- }
4514
- get hidebuttons() {
4515
- return this.$$.ctx[1];
4516
- }
4517
- set hidebuttons(t) {
4518
- this.$$set({ hidebuttons: t }), O();
4536
+ this.$$set({ lang: t }), $();
4519
4537
  }
4520
4538
  get errorcode() {
4521
- return this.$$.ctx[2];
4539
+ return this.$$.ctx[1];
4522
4540
  }
4523
4541
  set errorcode(t) {
4524
- this.$$set({ errorcode: t }), O();
4542
+ this.$$set({ errorcode: t }), $();
4525
4543
  }
4526
4544
  get clientstyling() {
4527
- return this.$$.ctx[7];
4545
+ return this.$$.ctx[6];
4528
4546
  }
4529
4547
  set clientstyling(t) {
4530
- this.$$set({ clientstyling: t }), O();
4548
+ this.$$set({ clientstyling: t }), $();
4531
4549
  }
4532
4550
  get clientstylingurl() {
4533
- return this.$$.ctx[8];
4551
+ return this.$$.ctx[7];
4534
4552
  }
4535
4553
  set clientstylingurl(t) {
4536
- this.$$set({ clientstylingurl: t }), O();
4554
+ this.$$set({ clientstylingurl: t }), $();
4537
4555
  }
4538
4556
  get translationurl() {
4539
- return this.$$.ctx[9];
4557
+ return this.$$.ctx[8];
4540
4558
  }
4541
4559
  set translationurl(t) {
4542
- this.$$set({ translationurl: t }), O();
4560
+ this.$$set({ translationurl: t }), $();
4543
4561
  }
4544
4562
  get mbsource() {
4545
- return this.$$.ctx[10];
4563
+ return this.$$.ctx[9];
4546
4564
  }
4547
4565
  set mbsource(t) {
4548
- this.$$set({ mbsource: t }), O();
4566
+ this.$$set({ mbsource: t }), $();
4549
4567
  }
4550
4568
  }
4551
- en(br, { assetsurl: {}, lang: {}, hidebuttons: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4552
- const ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4569
+ en(Br, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4570
+ const Is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4553
4571
  __proto__: null,
4554
- default: br
4572
+ default: Br
4555
4573
  }, Symbol.toStringTag, { value: "Module" }));
4556
4574
  export {
4557
- k as $,
4558
- gs as A,
4559
- Xe as B,
4560
- Es as C,
4561
- xs as D,
4562
- ms as E,
4563
- mt as F,
4564
- ps as G,
4565
- U as H,
4566
- bs as I,
4567
- ds as J,
4568
- ys as K,
4569
- Zi as L,
4570
- Ji as M,
4571
- qi as N,
4572
- Qi as O,
4573
- Tr as P,
4574
- X as Q,
4575
- L as R,
4575
+ z as $,
4576
+ bs as A,
4577
+ Ee as B,
4578
+ Dr as C,
4579
+ ws as D,
4580
+ Es as E,
4581
+ ps as F,
4582
+ As as G,
4583
+ yt as H,
4584
+ ht as I,
4585
+ Os as J,
4586
+ gs as K,
4587
+ fe as L,
4588
+ U as M,
4589
+ ys as N,
4590
+ _s as O,
4591
+ ds as P,
4592
+ Ps as Q,
4593
+ Ji as R,
4576
4594
  tn as S,
4577
- Wr as T,
4578
- Zr as U,
4579
- pe as V,
4580
- vs as W,
4581
- be as X,
4582
- ye as Y,
4583
- ge as Z,
4584
- _s as _,
4585
- fr as a,
4586
- ws as a0,
4587
- Kr as b,
4588
- Ts as c,
4589
- en as d,
4590
- Pr as e,
4591
- O as f,
4592
- sn as g,
4593
- He as h,
4595
+ qi as T,
4596
+ Qi as U,
4597
+ we as V,
4598
+ Z as W,
4599
+ Ts as X,
4600
+ Hs as Y,
4601
+ be as Z,
4602
+ _e as _,
4603
+ xr as a,
4604
+ ve as a0,
4605
+ ye as a1,
4606
+ vs as a2,
4607
+ Gt as a3,
4608
+ Bs as a4,
4609
+ Ss as a5,
4610
+ Is as a6,
4611
+ Zi as b,
4612
+ Cs as c,
4613
+ sn as d,
4614
+ Kr as e,
4615
+ $ as f,
4616
+ fs as g,
4617
+ en as h,
4594
4618
  Si as i,
4595
- N as j,
4596
- G as k,
4597
- I as l,
4598
- Ve as m,
4619
+ $r as j,
4620
+ ue as k,
4621
+ L as l,
4622
+ j as m,
4599
4623
  A as n,
4600
- fs as o,
4601
- P as p,
4602
- $e as q,
4603
- D as r,
4604
- Ut as s,
4605
- Sr as t,
4606
- kr as u,
4607
- Cr as v,
4608
- Ce as w,
4609
- it as x,
4610
- fe as y,
4611
- ue as z
4624
+ N as o,
4625
+ Je as p,
4626
+ ms as q,
4627
+ P as r,
4628
+ jt as s,
4629
+ Ge as t,
4630
+ F as u,
4631
+ Lr as v,
4632
+ $e as w,
4633
+ Wr as x,
4634
+ xs as y,
4635
+ Qe as z
4612
4636
  };