@everymatrix/cashier-receipt-page-nd 1.69.157 → 1.69.163

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import "../stencil/ui-image-Ch-GHki1.js";
2
- function S() {
2
+ function w() {
3
3
  }
4
- const Pt = (e) => e;
4
+ const At = (e) => e;
5
5
  function pr(e, t) {
6
6
  for (const r in t)
7
7
  e[r] = t[r];
@@ -10,24 +10,24 @@ function pr(e, t) {
10
10
  e
11
11
  );
12
12
  }
13
- function Ot(e) {
13
+ function Pt(e) {
14
14
  return e();
15
15
  }
16
- function st() {
16
+ function it() {
17
17
  return /* @__PURE__ */ Object.create(null);
18
18
  }
19
- function R(e) {
20
- e.forEach(Ot);
19
+ function $(e) {
20
+ e.forEach(Pt);
21
21
  }
22
22
  function oe(e) {
23
23
  return typeof e == "function";
24
24
  }
25
- function Ct(e, t) {
25
+ function Ot(e, t) {
26
26
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
27
27
  }
28
- let ce;
29
- function ot(e, t) {
30
- return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
28
+ let he;
29
+ function st(e, t) {
30
+ return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
31
31
  }
32
32
  function gr(e) {
33
33
  return Object.keys(e).length === 0;
@@ -36,7 +36,7 @@ function It(e, ...t) {
36
36
  if (e == null) {
37
37
  for (const n of t)
38
38
  n(void 0);
39
- return S;
39
+ return w;
40
40
  }
41
41
  const r = e.subscribe(...t);
42
42
  return r.unsubscribe ? () => r.unsubscribe() : r;
@@ -44,16 +44,16 @@ function It(e, ...t) {
44
44
  function br(e, t, r) {
45
45
  e.$$.on_destroy.push(It(t, r));
46
46
  }
47
- function fe(e, t, r, n) {
47
+ function ce(e, t, r, n) {
48
48
  if (e) {
49
- const i = Nt(e, t, r, n);
49
+ const i = Ct(e, t, r, n);
50
50
  return e[0](i);
51
51
  }
52
52
  }
53
- function Nt(e, t, r, n) {
53
+ function Ct(e, t, r, n) {
54
54
  return e[1] && n ? pr(r.ctx.slice(), e[1](n(t))) : r.ctx;
55
55
  }
56
- function me(e, t, r, n) {
56
+ function fe(e, t, r, n) {
57
57
  if (e[2] && n) {
58
58
  const i = e[2](n(r));
59
59
  if (t.dirty === void 0)
@@ -68,13 +68,13 @@ function me(e, t, r, n) {
68
68
  }
69
69
  return t.dirty;
70
70
  }
71
- function de(e, t, r, n, i, s) {
71
+ function me(e, t, r, n, i, s) {
72
72
  if (i) {
73
- const o = Nt(t, r, n, s);
73
+ const o = Ct(t, r, n, s);
74
74
  e.p(o, i);
75
75
  }
76
76
  }
77
- function pe(e) {
77
+ function de(e) {
78
78
  if (e.ctx.length > 32) {
79
79
  const t = [], r = e.ctx.length / 32;
80
80
  for (let n = 0; n < r; n++)
@@ -83,22 +83,22 @@ function pe(e) {
83
83
  }
84
84
  return -1;
85
85
  }
86
- const Lt = typeof window < "u";
87
- let Mt = Lt ? () => window.performance.now() : () => Date.now(), Ke = Lt ? (e) => requestAnimationFrame(e) : S;
88
- const j = /* @__PURE__ */ new Set();
89
- function $t(e) {
90
- j.forEach((t) => {
91
- t.c(e) || (j.delete(t), t.f());
92
- }), j.size !== 0 && Ke($t);
86
+ const Nt = typeof window < "u";
87
+ let Lt = Nt ? () => window.performance.now() : () => Date.now(), Ke = Nt ? (e) => requestAnimationFrame(e) : w;
88
+ const G = /* @__PURE__ */ new Set();
89
+ function Mt(e) {
90
+ G.forEach((t) => {
91
+ t.c(e) || (G.delete(t), t.f());
92
+ }), G.size !== 0 && Ke(Mt);
93
93
  }
94
- function Rt(e) {
94
+ function $t(e) {
95
95
  let t;
96
- return j.size === 0 && Ke($t), {
96
+ return G.size === 0 && Ke(Mt), {
97
97
  promise: new Promise((r) => {
98
- j.add(t = { c: e, f: r });
98
+ G.add(t = { c: e, f: r });
99
99
  }),
100
100
  abort() {
101
- j.delete(t);
101
+ G.delete(t);
102
102
  }
103
103
  };
104
104
  }
@@ -108,8 +108,8 @@ function O(e, t) {
108
108
  function yr(e, t, r) {
109
109
  const n = et(e);
110
110
  if (!n.getElementById(t)) {
111
- const i = A("style");
112
- i.id = t, i.textContent = r, Dt(n, i);
111
+ const i = P("style");
112
+ i.id = t, i.textContent = r, Rt(n, i);
113
113
  }
114
114
  }
115
115
  function et(e) {
@@ -123,55 +123,55 @@ function et(e) {
123
123
  ) : e.ownerDocument;
124
124
  }
125
125
  function _r(e) {
126
- const t = A("style");
127
- return t.textContent = "/* empty */", Dt(et(e), t), t.sheet;
126
+ const t = P("style");
127
+ return t.textContent = "/* empty */", Rt(et(e), t), t.sheet;
128
128
  }
129
- function Dt(e, t) {
129
+ function Rt(e, t) {
130
130
  return O(
131
131
  /** @type {Document} */
132
132
  e.head || e,
133
133
  t
134
134
  ), t.sheet;
135
135
  }
136
- function D(e, t, r) {
136
+ function Z(e, t, r) {
137
137
  e.insertBefore(t, r || null);
138
138
  }
139
- function C(e) {
139
+ function N(e) {
140
140
  e.parentNode && e.parentNode.removeChild(e);
141
141
  }
142
- function Ji(e, t) {
142
+ function Zi(e, t) {
143
143
  for (let r = 0; r < e.length; r += 1)
144
144
  e[r] && e[r].d(t);
145
145
  }
146
- function A(e) {
146
+ function P(e) {
147
147
  return document.createElement(e);
148
148
  }
149
- function qi(e) {
149
+ function Ji(e) {
150
150
  return document.createElementNS("http://www.w3.org/2000/svg", e);
151
151
  }
152
- function ae(e) {
152
+ function Pe(e) {
153
153
  return document.createTextNode(e);
154
154
  }
155
155
  function Le() {
156
- return ae(" ");
156
+ return Pe(" ");
157
157
  }
158
158
  function Er() {
159
- return ae("");
159
+ return Pe("");
160
160
  }
161
161
  function vr(e, t, r, n) {
162
162
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
163
163
  }
164
- function $(e, t, r) {
164
+ function j(e, t, r) {
165
165
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
166
166
  }
167
- function ge(e, t, r) {
167
+ function pe(e, t, r) {
168
168
  const n = t.toLowerCase();
169
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : $(e, t, r);
169
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : j(e, t, r);
170
170
  }
171
171
  function xr(e) {
172
172
  return Array.from(e.childNodes);
173
173
  }
174
- function tt(e, t) {
174
+ function Dt(e, t) {
175
175
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
176
176
  t);
177
177
  }
@@ -187,8 +187,8 @@ function Hr(e) {
187
187
  }
188
188
  ), t;
189
189
  }
190
- const Te = /* @__PURE__ */ new Map();
191
- let He = 0;
190
+ const xe = /* @__PURE__ */ new Map();
191
+ let Te = 0;
192
192
  function wr(e) {
193
193
  let t = 5381, r = e.length;
194
194
  for (; r--; )
@@ -197,36 +197,36 @@ function wr(e) {
197
197
  }
198
198
  function Sr(e, t) {
199
199
  const r = { stylesheet: _r(t), rules: {} };
200
- return Te.set(e, r), r;
200
+ return xe.set(e, r), r;
201
201
  }
202
- function kt(e, t, r, n, i, s, o, a = 0) {
202
+ function Ut(e, t, r, n, i, s, o, a = 0) {
203
203
  const h = 16.666 / n;
204
204
  let u = `{
205
205
  `;
206
206
  for (let v = 0; v <= 1; v += h) {
207
- const T = t + (r - t) * s(v);
208
- u += v * 100 + `%{${o(T, 1 - T)}}
207
+ const E = t + (r - t) * s(v);
208
+ u += v * 100 + `%{${o(E, 1 - E)}}
209
209
  `;
210
210
  }
211
211
  const l = u + `100% {${o(r, 1 - r)}}
212
- }`, f = `__svelte_${wr(l)}_${a}`, c = et(e), { stylesheet: p, rules: b } = Te.get(c) || Sr(c, e);
213
- b[f] || (b[f] = !0, p.insertRule(`@keyframes ${f} ${l}`, p.cssRules.length));
214
- const g = e.style.animation || "";
215
- return e.style.animation = `${g ? `${g}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, He += 1, f;
212
+ }`, c = `__svelte_${wr(l)}_${a}`, m = et(e), { stylesheet: d, rules: p } = xe.get(m) || Sr(m, e);
213
+ p[c] || (p[c] = !0, d.insertRule(`@keyframes ${c} ${l}`, d.cssRules.length));
214
+ const _ = e.style.animation || "";
215
+ return e.style.animation = `${_ ? `${_}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Te += 1, c;
216
216
  }
217
217
  function Fe(e, t) {
218
218
  const r = (e.style.animation || "").split(", "), n = r.filter(
219
219
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
220
220
  // remove all Svelte animations
221
221
  ), i = r.length - n.length;
222
- i && (e.style.animation = n.join(", "), He -= i, He || Br());
222
+ i && (e.style.animation = n.join(", "), Te -= i, Te || Br());
223
223
  }
224
224
  function Br() {
225
225
  Ke(() => {
226
- He || (Te.forEach((e) => {
226
+ Te || (xe.forEach((e) => {
227
227
  const { ownerNode: t } = e.stylesheet;
228
- t && C(t);
229
- }), Te.clear());
228
+ t && N(t);
229
+ }), xe.clear());
230
230
  });
231
231
  }
232
232
  let re;
@@ -241,66 +241,66 @@ function Ar() {
241
241
  function Pr(e) {
242
242
  Ar().$$.on_mount.push(e);
243
243
  }
244
- const F = [], je = [];
245
- let z = [];
246
- const at = [], Or = /* @__PURE__ */ Promise.resolve();
244
+ const k = [], je = [];
245
+ let F = [];
246
+ const ot = [], Or = /* @__PURE__ */ Promise.resolve();
247
247
  let ze = !1;
248
- function Cr() {
249
- ze || (ze = !0, Or.then(P));
248
+ function Ir() {
249
+ ze || (ze = !0, Or.then(A));
250
250
  }
251
251
  function ne(e) {
252
- z.push(e);
252
+ F.push(e);
253
253
  }
254
254
  const Me = /* @__PURE__ */ new Set();
255
- let U = 0;
256
- function P() {
257
- if (U !== 0)
255
+ let D = 0;
256
+ function A() {
257
+ if (D !== 0)
258
258
  return;
259
259
  const e = re;
260
260
  do {
261
261
  try {
262
- for (; U < F.length; ) {
263
- const t = F[U];
264
- U++, te(t), Ir(t.$$);
262
+ for (; D < k.length; ) {
263
+ const t = k[D];
264
+ D++, te(t), Cr(t.$$);
265
265
  }
266
266
  } catch (t) {
267
- throw F.length = 0, U = 0, t;
267
+ throw k.length = 0, D = 0, t;
268
268
  }
269
- for (te(null), F.length = 0, U = 0; je.length; )
269
+ for (te(null), k.length = 0, D = 0; je.length; )
270
270
  je.pop()();
271
- for (let t = 0; t < z.length; t += 1) {
272
- const r = z[t];
271
+ for (let t = 0; t < F.length; t += 1) {
272
+ const r = F[t];
273
273
  Me.has(r) || (Me.add(r), r());
274
274
  }
275
- z.length = 0;
276
- } while (F.length);
277
- for (; at.length; )
278
- at.pop()();
275
+ F.length = 0;
276
+ } while (k.length);
277
+ for (; ot.length; )
278
+ ot.pop()();
279
279
  ze = !1, Me.clear(), te(e);
280
280
  }
281
- function Ir(e) {
281
+ function Cr(e) {
282
282
  if (e.fragment !== null) {
283
- e.update(), R(e.before_update);
283
+ e.update(), $(e.before_update);
284
284
  const t = e.dirty;
285
285
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ne);
286
286
  }
287
287
  }
288
288
  function Nr(e) {
289
289
  const t = [], r = [];
290
- z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
290
+ F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
291
291
  }
292
292
  let Q;
293
- function Ut() {
293
+ function kt() {
294
294
  return Q || (Q = Promise.resolve(), Q.then(() => {
295
295
  Q = null;
296
296
  })), Q;
297
297
  }
298
- function we(e, t, r) {
298
+ function He(e, t, r) {
299
299
  e.dispatchEvent(Tr(`${t ? "intro" : "outro"}${r}`));
300
300
  }
301
- const _e = /* @__PURE__ */ new Set();
301
+ const ye = /* @__PURE__ */ new Set();
302
302
  let I;
303
- function Qi() {
303
+ function qi() {
304
304
  I = {
305
305
  r: 0,
306
306
  c: [],
@@ -308,24 +308,24 @@ function Qi() {
308
308
  // parent group
309
309
  };
310
310
  }
311
- function Yi() {
312
- I.r || R(I.c), I = I.p;
311
+ function Qi() {
312
+ I.r || $(I.c), I = I.p;
313
313
  }
314
314
  function K(e, t) {
315
- e && e.i && (_e.delete(e), e.i(t));
315
+ e && e.i && (ye.delete(e), e.i(t));
316
316
  }
317
- function be(e, t, r, n) {
317
+ function ge(e, t, r, n) {
318
318
  if (e && e.o) {
319
- if (_e.has(e))
319
+ if (ye.has(e))
320
320
  return;
321
- _e.add(e), I.c.push(() => {
322
- _e.delete(e), n && (r && e.d(1), n());
321
+ ye.add(e), I.c.push(() => {
322
+ ye.delete(e), n && (r && e.d(1), n());
323
323
  }), e.o(t);
324
324
  } else
325
325
  n && n();
326
326
  }
327
327
  const Gt = { duration: 0 };
328
- function Ki(e, t, r) {
328
+ function Yi(e, t, r) {
329
329
  const n = { direction: "in" };
330
330
  let i = t(e, r, n), s = !1, o, a, h = 0;
331
331
  function u() {
@@ -333,40 +333,40 @@ function Ki(e, t, r) {
333
333
  }
334
334
  function l() {
335
335
  const {
336
- delay: c = 0,
337
- duration: p = 300,
338
- easing: b = Pt,
339
- tick: g = S,
336
+ delay: m = 0,
337
+ duration: d = 300,
338
+ easing: p = At,
339
+ tick: _ = w,
340
340
  css: v
341
341
  } = i || Gt;
342
- v && (o = kt(e, 0, 1, p, c, b, v, h++)), g(0, 1);
343
- const T = Mt() + c, d = T + p;
344
- a && a.abort(), s = !0, ne(() => we(e, !0, "start")), a = Rt((m) => {
342
+ v && (o = Ut(e, 0, 1, d, m, p, v, h++)), _(0, 1);
343
+ const E = Lt() + m, f = E + d;
344
+ a && a.abort(), s = !0, ne(() => He(e, !0, "start")), a = $t((g) => {
345
345
  if (s) {
346
- if (m >= d)
347
- return g(1, 0), we(e, !0, "end"), u(), s = !1;
348
- if (m >= T) {
349
- const E = b((m - T) / p);
350
- g(E, 1 - E);
346
+ if (g >= f)
347
+ return _(1, 0), He(e, !0, "end"), u(), s = !1;
348
+ if (g >= E) {
349
+ const S = p((g - E) / d);
350
+ _(S, 1 - S);
351
351
  }
352
352
  }
353
353
  return s;
354
354
  });
355
355
  }
356
- let f = !1;
356
+ let c = !1;
357
357
  return {
358
358
  start() {
359
- f || (f = !0, Fe(e), oe(i) ? (i = i(n), Ut().then(l)) : l());
359
+ c || (c = !0, Fe(e), oe(i) ? (i = i(n), kt().then(l)) : l());
360
360
  },
361
361
  invalidate() {
362
- f = !1;
362
+ c = !1;
363
363
  },
364
364
  end() {
365
365
  s && (u(), s = !1);
366
366
  }
367
367
  };
368
368
  }
369
- function es(e, t, r) {
369
+ function Ki(e, t, r) {
370
370
  const n = { direction: "out" };
371
371
  let i = t(e, r, n), s = !0, o;
372
372
  const a = I;
@@ -375,27 +375,27 @@ function es(e, t, r) {
375
375
  function u() {
376
376
  const {
377
377
  delay: l = 0,
378
- duration: f = 300,
379
- easing: c = Pt,
380
- tick: p = S,
381
- css: b
378
+ duration: c = 300,
379
+ easing: m = At,
380
+ tick: d = w,
381
+ css: p
382
382
  } = i || Gt;
383
- b && (o = kt(e, 1, 0, f, l, c, b));
384
- const g = Mt() + l, v = g + f;
385
- ne(() => we(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
386
- e.inert, e.inert = !0), Rt((T) => {
383
+ p && (o = Ut(e, 1, 0, c, l, m, p));
384
+ const _ = Lt() + l, v = _ + c;
385
+ ne(() => He(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
386
+ e.inert, e.inert = !0), $t((E) => {
387
387
  if (s) {
388
- if (T >= v)
389
- return p(0, 1), we(e, !1, "end"), --a.r || R(a.c), !1;
390
- if (T >= g) {
391
- const d = c((T - g) / f);
392
- p(1 - d, d);
388
+ if (E >= v)
389
+ return d(0, 1), He(e, !1, "end"), --a.r || $(a.c), !1;
390
+ if (E >= _) {
391
+ const f = m((E - _) / c);
392
+ d(1 - f, f);
393
393
  }
394
394
  }
395
395
  return s;
396
396
  });
397
397
  }
398
- return oe(i) ? Ut().then(() => {
398
+ return oe(i) ? kt().then(() => {
399
399
  i = i(n), u();
400
400
  }) : u(), {
401
401
  end(l) {
@@ -403,22 +403,22 @@ function es(e, t, r) {
403
403
  }
404
404
  };
405
405
  }
406
- function ts(e) {
406
+ function es(e) {
407
407
  return e?.length !== void 0 ? e : Array.from(e);
408
408
  }
409
409
  function Lr(e, t, r) {
410
410
  const { fragment: n, after_update: i } = e.$$;
411
411
  n && n.m(t, r), ne(() => {
412
- const s = e.$$.on_mount.map(Ot).filter(oe);
413
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : R(s), e.$$.on_mount = [];
412
+ const s = e.$$.on_mount.map(Pt).filter(oe);
413
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : $(s), e.$$.on_mount = [];
414
414
  }), i.forEach(ne);
415
415
  }
416
416
  function Mr(e, t) {
417
417
  const r = e.$$;
418
- r.fragment !== null && (Nr(r.after_update), R(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
418
+ r.fragment !== null && (Nr(r.after_update), $(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
419
419
  }
420
420
  function $r(e, t) {
421
- e.$$.dirty[0] === -1 && (F.push(e), Cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
421
+ e.$$.dirty[0] === -1 && (k.push(e), Ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
422
422
  }
423
423
  function Rr(e, t, r, n, i, s, o = null, a = [-1]) {
424
424
  const h = re;
@@ -428,9 +428,9 @@ function Rr(e, t, r, n, i, s, o = null, a = [-1]) {
428
428
  ctx: [],
429
429
  // state
430
430
  props: s,
431
- update: S,
431
+ update: w,
432
432
  not_equal: i,
433
- bound: st(),
433
+ bound: it(),
434
434
  // lifecycle
435
435
  on_mount: [],
436
436
  on_destroy: [],
@@ -439,23 +439,23 @@ function Rr(e, t, r, n, i, s, o = null, a = [-1]) {
439
439
  after_update: [],
440
440
  context: new Map(t.context || (h ? h.$$.context : [])),
441
441
  // everything else
442
- callbacks: st(),
442
+ callbacks: it(),
443
443
  dirty: a,
444
444
  skip_bound: !1,
445
445
  root: t.target || h.$$.root
446
446
  };
447
447
  o && o(u.root);
448
448
  let l = !1;
449
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
450
- const b = p.length ? p[0] : c;
451
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), l && $r(e, f)), c;
452
- }) : [], u.update(), l = !0, R(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
449
+ if (u.ctx = r ? r(e, t.props || {}, (c, m, ...d) => {
450
+ const p = d.length ? d[0] : m;
451
+ return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && $r(e, c)), m;
452
+ }) : [], u.update(), l = !0, $(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
453
453
  if (t.hydrate) {
454
- const f = xr(t.target);
455
- u.fragment && u.fragment.l(f), f.forEach(C);
454
+ const c = xr(t.target);
455
+ u.fragment && u.fragment.l(c), c.forEach(N);
456
456
  } else
457
457
  u.fragment && u.fragment.c();
458
- t.intro && K(e.$$.fragment), Lr(e, t.target, t.anchor), P();
458
+ t.intro && K(e.$$.fragment), Lr(e, t.target, t.anchor), A();
459
459
  }
460
460
  te(h);
461
461
  }
@@ -502,17 +502,17 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
502
502
  let s;
503
503
  return {
504
504
  c: function() {
505
- s = A("slot"), i !== "default" && $(s, "name", i);
505
+ s = P("slot"), i !== "default" && j(s, "name", i);
506
506
  },
507
507
  /**
508
508
  * @param {HTMLElement} target
509
509
  * @param {HTMLElement} [anchor]
510
510
  */
511
511
  m: function(h, u) {
512
- D(h, s, u);
512
+ Z(h, s, u);
513
513
  },
514
514
  d: function(h) {
515
- h && C(s);
515
+ h && N(s);
516
516
  }
517
517
  };
518
518
  };
@@ -524,7 +524,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
524
524
  i in r && (t[i] = [e(i)]);
525
525
  for (const i of this.attributes) {
526
526
  const s = this.$$g_p(i.name);
527
- s in this.$$d || (this.$$d[s] = Ee(s, i.value, this.$$p_d, "toProp"));
527
+ s in this.$$d || (this.$$d[s] = _e(s, i.value, this.$$p_d, "toProp"));
528
528
  }
529
529
  for (const i in this.$$p_d)
530
530
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -542,7 +542,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
542
542
  this.$$r = !0;
543
543
  for (const i in this.$$p_d)
544
544
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
545
- const s = Ee(
545
+ const s = _e(
546
546
  i,
547
547
  this.$$d[i],
548
548
  this.$$p_d,
@@ -564,7 +564,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
564
564
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
565
565
  // and setting attributes through setAttribute etc, this is helpful
566
566
  attributeChangedCallback(e, t, r) {
567
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ee(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
567
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = _e(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
568
568
  }
569
569
  disconnectedCallback() {
570
570
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -577,7 +577,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
577
577
  ) || e;
578
578
  }
579
579
  });
580
- function Ee(e, t, r, n) {
580
+ function _e(e, t, r, n) {
581
581
  const i = r[e]?.type;
582
582
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
583
583
  return t;
@@ -623,7 +623,7 @@ function Dr(e, t, r, n, i, s) {
623
623
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
624
624
  },
625
625
  set(h) {
626
- h = Ee(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
626
+ h = _e(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
627
627
  }
628
628
  });
629
629
  }), n.forEach((a) => {
@@ -635,7 +635,7 @@ function Dr(e, t, r, n, i, s) {
635
635
  }), e.element = /** @type {any} */
636
636
  o, o;
637
637
  }
638
- class kr {
638
+ class Ur {
639
639
  /**
640
640
  * ### PRIVATE API
641
641
  *
@@ -654,7 +654,7 @@ class kr {
654
654
  $$set = void 0;
655
655
  /** @returns {void} */
656
656
  $destroy() {
657
- Mr(this, 1), this.$destroy = S;
657
+ Mr(this, 1), this.$destroy = w;
658
658
  }
659
659
  /**
660
660
  * @template {Extract<keyof Events, string>} K
@@ -664,7 +664,7 @@ class kr {
664
664
  */
665
665
  $on(t, r) {
666
666
  if (!oe(r))
667
- return S;
667
+ return w;
668
668
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
669
669
  return n.push(r), () => {
670
670
  const i = n.indexOf(r);
@@ -679,35 +679,35 @@ class kr {
679
679
  this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
680
680
  }
681
681
  }
682
- const Ur = "4";
683
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
684
- const G = [];
682
+ const kr = "4";
683
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
684
+ const U = [];
685
685
  function Gr(e, t) {
686
686
  return {
687
687
  subscribe: Oe(e, t).subscribe
688
688
  };
689
689
  }
690
- function Oe(e, t = S) {
690
+ function Oe(e, t = w) {
691
691
  let r;
692
692
  const n = /* @__PURE__ */ new Set();
693
693
  function i(a) {
694
- if (Ct(e, a) && (e = a, r)) {
695
- const h = !G.length;
694
+ if (Ot(e, a) && (e = a, r)) {
695
+ const h = !U.length;
696
696
  for (const u of n)
697
- u[1](), G.push(u, e);
697
+ u[1](), U.push(u, e);
698
698
  if (h) {
699
- for (let u = 0; u < G.length; u += 2)
700
- G[u][0](G[u + 1]);
701
- G.length = 0;
699
+ for (let u = 0; u < U.length; u += 2)
700
+ U[u][0](U[u + 1]);
701
+ U.length = 0;
702
702
  }
703
703
  }
704
704
  }
705
705
  function s(a) {
706
706
  i(a(e));
707
707
  }
708
- function o(a, h = S) {
708
+ function o(a, h = w) {
709
709
  const u = [a, h];
710
- return n.add(u), n.size === 1 && (r = t(i, s) || S), a(e), () => {
710
+ return n.add(u), n.size === 1 && (r = t(i, s) || w), a(e), () => {
711
711
  n.delete(u), n.size === 0 && r && (r(), r = null);
712
712
  };
713
713
  }
@@ -721,30 +721,30 @@ function J(e, t, r) {
721
721
  return Gr(r, (o, a) => {
722
722
  let h = !1;
723
723
  const u = [];
724
- let l = 0, f = S;
725
- const c = () => {
724
+ let l = 0, c = w;
725
+ const m = () => {
726
726
  if (l)
727
727
  return;
728
- f();
729
- const b = t(n ? u[0] : u, o, a);
730
- s ? o(b) : f = oe(b) ? b : S;
731
- }, p = i.map(
732
- (b, g) => It(
733
- b,
728
+ c();
729
+ const p = t(n ? u[0] : u, o, a);
730
+ s ? o(p) : c = oe(p) ? p : w;
731
+ }, d = i.map(
732
+ (p, _) => It(
733
+ p,
734
734
  (v) => {
735
- u[g] = v, l &= ~(1 << g), h && c();
735
+ u[_] = v, l &= ~(1 << _), h && m();
736
736
  },
737
737
  () => {
738
- l |= 1 << g;
738
+ l |= 1 << _;
739
739
  }
740
740
  )
741
741
  );
742
- return h = !0, c(), function() {
743
- R(p), f(), h = !1;
742
+ return h = !0, m(), function() {
743
+ $(d), c(), h = !1;
744
744
  };
745
745
  });
746
746
  }
747
- var rs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
747
+ var ts = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
748
748
  function Fr(e) {
749
749
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
750
750
  }
@@ -766,7 +766,7 @@ function Jr(e) {
766
766
  return Array.isArray(e) ? [] : {};
767
767
  }
768
768
  function ie(e, t) {
769
- return t.clone !== !1 && t.isMergeableObject(e) ? V(Jr(e), e, t) : e;
769
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(Jr(e), e, t) : e;
770
770
  }
771
771
  function qr(e, t, r) {
772
772
  return e.concat(t).map(function(n) {
@@ -775,16 +775,16 @@ function qr(e, t, r) {
775
775
  }
776
776
  function Qr(e, t) {
777
777
  if (!t.customMerge)
778
- return V;
778
+ return z;
779
779
  var r = t.customMerge(e);
780
- return typeof r == "function" ? r : V;
780
+ return typeof r == "function" ? r : z;
781
781
  }
782
782
  function Yr(e) {
783
783
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
784
784
  return Object.propertyIsEnumerable.call(e, t);
785
785
  }) : [];
786
786
  }
787
- function ut(e) {
787
+ function at(e) {
788
788
  return Object.keys(e).concat(Yr(e));
789
789
  }
790
790
  function jt(e, t) {
@@ -799,25 +799,25 @@ function Kr(e, t) {
799
799
  }
800
800
  function en(e, t, r) {
801
801
  var n = {};
802
- return r.isMergeableObject(e) && ut(e).forEach(function(i) {
802
+ return r.isMergeableObject(e) && at(e).forEach(function(i) {
803
803
  n[i] = ie(e[i], r);
804
- }), ut(t).forEach(function(i) {
804
+ }), at(t).forEach(function(i) {
805
805
  Kr(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
806
806
  }), n;
807
807
  }
808
- function V(e, t, r) {
808
+ function z(e, t, r) {
809
809
  r = r || {}, r.arrayMerge = r.arrayMerge || qr, r.isMergeableObject = r.isMergeableObject || jr, r.cloneUnlessOtherwiseSpecified = ie;
810
810
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
811
811
  return s ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : ie(t, r);
812
812
  }
813
- V.all = function(t, r) {
813
+ z.all = function(t, r) {
814
814
  if (!Array.isArray(t))
815
815
  throw new Error("first argument should be an array");
816
816
  return t.reduce(function(n, i) {
817
- return V(n, i, r);
817
+ return z(n, i, r);
818
818
  }, {});
819
819
  };
820
- var tn = V, rn = tn;
820
+ var tn = z, rn = tn;
821
821
  const nn = /* @__PURE__ */ Fr(rn);
822
822
  var Ve = function(e, t) {
823
823
  return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
@@ -827,7 +827,7 @@ var Ve = function(e, t) {
827
827
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
828
828
  }, Ve(e, t);
829
829
  };
830
- function Ce(e, t) {
830
+ function Ie(e, t) {
831
831
  if (typeof t != "function" && t !== null)
832
832
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
833
833
  Ve(e, t);
@@ -909,29 +909,29 @@ var hn = function() {
909
909
  }
910
910
  }, De = {
911
911
  variadic: ln
912
- }, Se = function() {
913
- return Se = Object.assign || function(t) {
912
+ }, we = function() {
913
+ return we = Object.assign || function(t) {
914
914
  for (var r, n = 1, i = arguments.length; n < i; n++) {
915
915
  r = arguments[n];
916
916
  for (var s in r)
917
917
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
918
918
  }
919
919
  return t;
920
- }, Se.apply(this, arguments);
920
+ }, we.apply(this, arguments);
921
921
  };
922
- var y;
922
+ var b;
923
923
  (function(e) {
924
924
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
925
- })(y || (y = {}));
925
+ })(b || (b = {}));
926
926
  var x;
927
927
  (function(e) {
928
928
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
929
929
  })(x || (x = {}));
930
- var X;
930
+ var V;
931
931
  (function(e) {
932
932
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
933
- })(X || (X = {}));
934
- function lt(e) {
933
+ })(V || (V = {}));
934
+ function ut(e) {
935
935
  return e.type === x.literal;
936
936
  }
937
937
  function mn(e) {
@@ -959,10 +959,10 @@ function Qt(e) {
959
959
  return e.type === x.tag;
960
960
  }
961
961
  function Yt(e) {
962
- return !!(e && typeof e == "object" && e.type === X.number);
962
+ return !!(e && typeof e == "object" && e.type === V.number);
963
963
  }
964
964
  function Xe(e) {
965
- return !!(e && typeof e == "object" && e.type === X.dateTime);
965
+ return !!(e && typeof e == "object" && e.type === V.dateTime);
966
966
  }
967
967
  var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
968
968
  function gn(e) {
@@ -1056,29 +1056,29 @@ function gn(e) {
1056
1056
  return "";
1057
1057
  }), t;
1058
1058
  }
1059
- var H = function() {
1060
- return H = Object.assign || function(t) {
1059
+ var T = function() {
1060
+ return T = Object.assign || function(t) {
1061
1061
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1062
1062
  r = arguments[n];
1063
1063
  for (var s in r)
1064
1064
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1065
1065
  }
1066
1066
  return t;
1067
- }, H.apply(this, arguments);
1067
+ }, T.apply(this, arguments);
1068
1068
  };
1069
1069
  var bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1070
1070
  function yn(e) {
1071
1071
  if (e.length === 0)
1072
1072
  throw new Error("Number skeleton cannot be empty");
1073
- for (var t = e.split(bn).filter(function(c) {
1074
- return c.length > 0;
1073
+ for (var t = e.split(bn).filter(function(m) {
1074
+ return m.length > 0;
1075
1075
  }), r = [], n = 0, i = t; n < i.length; n++) {
1076
1076
  var s = i[n], o = s.split("/");
1077
1077
  if (o.length === 0)
1078
1078
  throw new Error("Invalid number skeleton");
1079
1079
  for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1080
- var f = l[u];
1081
- if (f.length === 0)
1080
+ var c = l[u];
1081
+ if (c.length === 0)
1082
1082
  throw new Error("Invalid number skeleton");
1083
1083
  }
1084
1084
  r.push({ stem: a, options: h });
@@ -1088,8 +1088,8 @@ function yn(e) {
1088
1088
  function _n(e) {
1089
1089
  return e.replace(/^(.*?)-/, "");
1090
1090
  }
1091
- var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, En = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1092
- function ct(e) {
1091
+ var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, En = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1092
+ function ht(e) {
1093
1093
  var t = {};
1094
1094
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1095
1095
  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)), "";
@@ -1149,7 +1149,7 @@ function vn(e) {
1149
1149
  }
1150
1150
  return t;
1151
1151
  }
1152
- function ft(e) {
1152
+ function ct(e) {
1153
1153
  var t = {}, r = rr(e);
1154
1154
  return r || t;
1155
1155
  }
@@ -1188,13 +1188,13 @@ function xn(e) {
1188
1188
  t.notation = "compact", t.compactDisplay = "long";
1189
1189
  continue;
1190
1190
  case "scientific":
1191
- t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1192
- return H(H({}, h), ft(u));
1191
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1192
+ return T(T({}, h), ct(u));
1193
1193
  }, {}));
1194
1194
  continue;
1195
1195
  case "engineering":
1196
- t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1197
- return H(H({}, h), ft(u));
1196
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1197
+ return T(T({}, h), ct(u));
1198
1198
  }, {}));
1199
1199
  continue;
1200
1200
  case "notation-simple":
@@ -1239,13 +1239,13 @@ function xn(e) {
1239
1239
  case "integer-width":
1240
1240
  if (i.options.length > 1)
1241
1241
  throw new RangeError("integer-width stems only accept a single optional option");
1242
- i.options[0].replace(En, function(h, u, l, f, c, p) {
1242
+ i.options[0].replace(En, function(h, u, l, c, m, d) {
1243
1243
  if (u)
1244
1244
  t.minimumIntegerDigits = l.length;
1245
1245
  else {
1246
- if (f && c)
1246
+ if (c && m)
1247
1247
  throw new Error("We currently do not support maximum integer digits");
1248
- if (p)
1248
+ if (d)
1249
1249
  throw new Error("We currently do not support exact integer digits");
1250
1250
  }
1251
1251
  return "";
@@ -1256,28 +1256,28 @@ function xn(e) {
1256
1256
  t.minimumIntegerDigits = i.stem.length;
1257
1257
  continue;
1258
1258
  }
1259
- if (ht.test(i.stem)) {
1259
+ if (lt.test(i.stem)) {
1260
1260
  if (i.options.length > 1)
1261
1261
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1262
- i.stem.replace(ht, function(h, u, l, f, c, p) {
1263
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1262
+ i.stem.replace(lt, function(h, u, l, c, m, d) {
1263
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1264
1264
  });
1265
1265
  var s = i.options[0];
1266
- s === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = H(H({}, t), ct(s)));
1266
+ s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), ht(s)));
1267
1267
  continue;
1268
1268
  }
1269
1269
  if (er.test(i.stem)) {
1270
- t = H(H({}, t), ct(i.stem));
1270
+ t = T(T({}, t), ht(i.stem));
1271
1271
  continue;
1272
1272
  }
1273
1273
  var o = rr(i.stem);
1274
- o && (t = H(H({}, t), o));
1274
+ o && (t = T(T({}, t), o));
1275
1275
  var a = vn(i.stem);
1276
- a && (t = H(H({}, t), a));
1276
+ a && (t = T(T({}, t), a));
1277
1277
  }
1278
1278
  return t;
1279
1279
  }
1280
- var ye = {
1280
+ var be = {
1281
1281
  "001": [
1282
1282
  "H",
1283
1283
  "h"
@@ -2727,23 +2727,23 @@ function Hn(e) {
2727
2727
  }
2728
2728
  var r = e.language, n;
2729
2729
  r !== "root" && (n = e.maximize().region);
2730
- var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
2730
+ var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
2731
2731
  return i[0];
2732
2732
  }
2733
- var ke, wn = new RegExp("^".concat(Kt.source, "*")), Sn = new RegExp("".concat(Kt.source, "*$"));
2734
- function _(e, t) {
2733
+ var Ue, wn = new RegExp("^".concat(Kt.source, "*")), Sn = new RegExp("".concat(Kt.source, "*$"));
2734
+ function y(e, t) {
2735
2735
  return { start: e, end: t };
2736
2736
  }
2737
- var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), An = !!String.fromCodePoint, Pn = !!Object.fromEntries, On = !!String.prototype.codePointAt, Cn = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Nn = !!Number.isSafeInteger, Ln = Nn ? Number.isSafeInteger : function(e) {
2737
+ var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), An = !!String.fromCodePoint, Pn = !!Object.fromEntries, On = !!String.prototype.codePointAt, In = !!String.prototype.trimStart, Cn = !!String.prototype.trimEnd, Nn = !!Number.isSafeInteger, Ln = Nn ? Number.isSafeInteger : function(e) {
2738
2738
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2739
2739
  }, We = !0;
2740
2740
  try {
2741
2741
  var Mn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2742
- We = ((ke = Mn.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
2742
+ We = ((Ue = Mn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2743
2743
  } catch {
2744
2744
  We = !1;
2745
2745
  }
2746
- var mt = Bn ? (
2746
+ var ft = Bn ? (
2747
2747
  // Native
2748
2748
  function(t, r, n) {
2749
2749
  return t.startsWith(r, n);
@@ -2765,7 +2765,7 @@ var mt = Bn ? (
2765
2765
  }
2766
2766
  return n;
2767
2767
  }
2768
- ), dt = (
2768
+ ), mt = (
2769
2769
  // native
2770
2770
  Pn ? Object.fromEntries : (
2771
2771
  // Ponyfill
@@ -2791,7 +2791,7 @@ var mt = Bn ? (
2791
2791
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2792
2792
  }
2793
2793
  }
2794
- ), $n = Cn ? (
2794
+ ), $n = In ? (
2795
2795
  // Native
2796
2796
  function(t) {
2797
2797
  return t.trimStart();
@@ -2801,7 +2801,7 @@ var mt = Bn ? (
2801
2801
  function(t) {
2802
2802
  return t.replace(wn, "");
2803
2803
  }
2804
- ), Rn = In ? (
2804
+ ), Rn = Cn ? (
2805
2805
  // Native
2806
2806
  function(t) {
2807
2807
  return t.trimEnd();
@@ -2817,11 +2817,11 @@ function ir(e, t) {
2817
2817
  }
2818
2818
  var Je;
2819
2819
  if (We) {
2820
- var pt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2820
+ var dt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2821
2821
  Je = function(t, r) {
2822
2822
  var n;
2823
- pt.lastIndex = r;
2824
- var i = pt.exec(t);
2823
+ dt.lastIndex = r;
2824
+ var i = dt.exec(t);
2825
2825
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2826
2826
  };
2827
2827
  } else
@@ -2859,12 +2859,12 @@ var Dn = (
2859
2859
  var a = this.clonePosition();
2860
2860
  this.bump(), i.push({
2861
2861
  type: x.pound,
2862
- location: _(a, this.clonePosition())
2862
+ location: y(a, this.clonePosition())
2863
2863
  });
2864
2864
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2865
2865
  if (n)
2866
2866
  break;
2867
- return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2867
+ return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2868
2868
  } else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
2869
2869
  var o = this.parseTag(t, r);
2870
2870
  if (o.err)
@@ -2888,7 +2888,7 @@ var Dn = (
2888
2888
  val: {
2889
2889
  type: x.literal,
2890
2890
  value: "<".concat(i, "/>"),
2891
- location: _(n, this.clonePosition())
2891
+ location: y(n, this.clonePosition())
2892
2892
  },
2893
2893
  err: null
2894
2894
  };
@@ -2899,24 +2899,24 @@ var Dn = (
2899
2899
  var o = s.val, a = this.clonePosition();
2900
2900
  if (this.bumpIf("</")) {
2901
2901
  if (this.isEOF() || !qe(this.char()))
2902
- return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
2902
+ return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
2903
2903
  var h = this.clonePosition(), u = this.parseTagName();
2904
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2904
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2905
2905
  val: {
2906
2906
  type: x.tag,
2907
2907
  value: i,
2908
2908
  children: o,
2909
- location: _(n, this.clonePosition())
2909
+ location: y(n, this.clonePosition())
2910
2910
  },
2911
2911
  err: null
2912
- } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
2912
+ } : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
2913
2913
  } else
2914
- return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2914
+ return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
2915
2915
  } else
2916
- return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2916
+ return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
2917
2917
  }, e.prototype.parseTagName = function() {
2918
2918
  var t = this.offset();
2919
- for (this.bump(); !this.isEOF() && Un(this.char()); )
2919
+ for (this.bump(); !this.isEOF() && kn(this.char()); )
2920
2920
  this.bump();
2921
2921
  return this.message.slice(t, this.offset());
2922
2922
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2938,14 +2938,14 @@ var Dn = (
2938
2938
  }
2939
2939
  break;
2940
2940
  }
2941
- var h = _(n, this.clonePosition());
2941
+ var h = y(n, this.clonePosition());
2942
2942
  return {
2943
2943
  val: { type: x.literal, value: i, location: h },
2944
2944
  err: null
2945
2945
  };
2946
2946
  }, e.prototype.tryParseLeftAngleBracket = function() {
2947
2947
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2948
- !kn(this.peek() || 0)) ? (this.bump(), "<") : null;
2948
+ !Un(this.peek() || 0)) ? (this.bump(), "<") : null;
2949
2949
  }, e.prototype.tryParseQuote = function(t) {
2950
2950
  if (this.isEOF() || this.char() !== 39)
2951
2951
  return null;
@@ -2988,14 +2988,14 @@ var Dn = (
2988
2988
  }, e.prototype.parseArgument = function(t, r) {
2989
2989
  var n = this.clonePosition();
2990
2990
  if (this.bump(), this.bumpSpace(), this.isEOF())
2991
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2991
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2992
2992
  if (this.char() === 125)
2993
- return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2993
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
2994
2994
  var i = this.parseIdentifierIfPossible().value;
2995
2995
  if (!i)
2996
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2996
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2997
2997
  if (this.bumpSpace(), this.isEOF())
2998
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2998
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2999
2999
  switch (this.char()) {
3000
3000
  case 125:
3001
3001
  return this.bump(), {
@@ -3003,25 +3003,25 @@ var Dn = (
3003
3003
  type: x.argument,
3004
3004
  // value does not include the opening and closing braces.
3005
3005
  value: i,
3006
- location: _(n, this.clonePosition())
3006
+ location: y(n, this.clonePosition())
3007
3007
  },
3008
3008
  err: null
3009
3009
  };
3010
3010
  case 44:
3011
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3011
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3012
3012
  default:
3013
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3013
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3014
3014
  }
3015
3015
  }, e.prototype.parseIdentifierIfPossible = function() {
3016
3016
  var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3017
3017
  this.bumpTo(i);
3018
- var s = this.clonePosition(), o = _(t, s);
3018
+ var s = this.clonePosition(), o = y(t, s);
3019
3019
  return { value: n, location: o };
3020
3020
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3021
3021
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3022
3022
  switch (a) {
3023
3023
  case "":
3024
- return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, h));
3024
+ return this.error(b.EXPECT_ARGUMENT_TYPE, y(o, h));
3025
3025
  case "number":
3026
3026
  case "date":
3027
3027
  case "time": {
@@ -3029,40 +3029,40 @@ var Dn = (
3029
3029
  var u = null;
3030
3030
  if (this.bumpIf(",")) {
3031
3031
  this.bumpSpace();
3032
- var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3033
- if (f.err)
3034
- return f;
3035
- var c = Rn(f.val);
3036
- if (c.length === 0)
3037
- return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3038
- var p = _(l, this.clonePosition());
3039
- u = { style: c, styleLocation: p };
3032
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3033
+ if (c.err)
3034
+ return c;
3035
+ var m = Rn(c.val);
3036
+ if (m.length === 0)
3037
+ return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3038
+ var d = y(l, this.clonePosition());
3039
+ u = { style: m, styleLocation: d };
3040
3040
  }
3041
- var b = this.tryParseArgumentClose(i);
3042
- if (b.err)
3043
- return b;
3044
- var g = _(i, this.clonePosition());
3045
- if (u && mt(u?.style, "::", 0)) {
3041
+ var p = this.tryParseArgumentClose(i);
3042
+ if (p.err)
3043
+ return p;
3044
+ var _ = y(i, this.clonePosition());
3045
+ if (u && ft(u?.style, "::", 0)) {
3046
3046
  var v = $n(u.style.slice(2));
3047
3047
  if (a === "number") {
3048
- var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
3049
- return f.err ? f : {
3050
- val: { type: x.number, value: n, location: g, style: f.val },
3048
+ var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3049
+ return c.err ? c : {
3050
+ val: { type: x.number, value: n, location: _, style: c.val },
3051
3051
  err: null
3052
3052
  };
3053
3053
  } else {
3054
3054
  if (v.length === 0)
3055
- return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3056
- var T = v;
3057
- this.locale && (T = Tn(v, this.locale));
3058
- var c = {
3059
- type: X.dateTime,
3060
- pattern: T,
3055
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, _);
3056
+ var E = v;
3057
+ this.locale && (E = Tn(v, this.locale));
3058
+ var m = {
3059
+ type: V.dateTime,
3060
+ pattern: E,
3061
3061
  location: u.styleLocation,
3062
- parsedOptions: this.shouldParseSkeletons ? gn(T) : {}
3063
- }, d = a === "date" ? x.date : x.time;
3062
+ parsedOptions: this.shouldParseSkeletons ? gn(E) : {}
3063
+ }, f = a === "date" ? x.date : x.time;
3064
3064
  return {
3065
- val: { type: d, value: n, location: g, style: c },
3065
+ val: { type: f, value: n, location: _, style: m },
3066
3066
  err: null
3067
3067
  };
3068
3068
  }
@@ -3071,7 +3071,7 @@ var Dn = (
3071
3071
  val: {
3072
3072
  type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3073
3073
  value: n,
3074
- location: g,
3074
+ location: _,
3075
3075
  style: (s = u?.style) !== null && s !== void 0 ? s : null
3076
3076
  },
3077
3077
  err: null
@@ -3080,52 +3080,52 @@ var Dn = (
3080
3080
  case "plural":
3081
3081
  case "selectordinal":
3082
3082
  case "select": {
3083
- var m = this.clonePosition();
3083
+ var g = this.clonePosition();
3084
3084
  if (this.bumpSpace(), !this.bumpIf(","))
3085
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(m, Se({}, m)));
3085
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g, we({}, g)));
3086
3086
  this.bumpSpace();
3087
- var E = this.parseIdentifierIfPossible(), M = 0;
3088
- if (a !== "select" && E.value === "offset") {
3087
+ var S = this.parseIdentifierIfPossible(), M = 0;
3088
+ if (a !== "select" && S.value === "offset") {
3089
3089
  if (!this.bumpIf(":"))
3090
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3090
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3091
3091
  this.bumpSpace();
3092
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3093
- if (f.err)
3094
- return f;
3095
- this.bumpSpace(), E = this.parseIdentifierIfPossible(), M = f.val;
3092
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3093
+ if (c.err)
3094
+ return c;
3095
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), M = c.val;
3096
3096
  }
3097
- var he = this.tryParsePluralOrSelectOptions(t, a, r, E);
3098
- if (he.err)
3099
- return he;
3100
- var b = this.tryParseArgumentClose(i);
3101
- if (b.err)
3102
- return b;
3103
- var it = _(i, this.clonePosition());
3097
+ var le = this.tryParsePluralOrSelectOptions(t, a, r, S);
3098
+ if (le.err)
3099
+ return le;
3100
+ var p = this.tryParseArgumentClose(i);
3101
+ if (p.err)
3102
+ return p;
3103
+ var nt = y(i, this.clonePosition());
3104
3104
  return a === "select" ? {
3105
3105
  val: {
3106
3106
  type: x.select,
3107
3107
  value: n,
3108
- options: dt(he.val),
3109
- location: it
3108
+ options: mt(le.val),
3109
+ location: nt
3110
3110
  },
3111
3111
  err: null
3112
3112
  } : {
3113
3113
  val: {
3114
3114
  type: x.plural,
3115
3115
  value: n,
3116
- options: dt(he.val),
3116
+ options: mt(le.val),
3117
3117
  offset: M,
3118
3118
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3119
- location: it
3119
+ location: nt
3120
3120
  },
3121
3121
  err: null
3122
3122
  };
3123
3123
  }
3124
3124
  default:
3125
- return this.error(y.INVALID_ARGUMENT_TYPE, _(o, h));
3125
+ return this.error(b.INVALID_ARGUMENT_TYPE, y(o, h));
3126
3126
  }
3127
3127
  }, e.prototype.tryParseArgumentClose = function(t) {
3128
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3128
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3129
3129
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3130
3130
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3131
3131
  var n = this.char();
@@ -3134,7 +3134,7 @@ var Dn = (
3134
3134
  this.bump();
3135
3135
  var i = this.clonePosition();
3136
3136
  if (!this.bumpUntil("'"))
3137
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3137
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3138
3138
  this.bump();
3139
3139
  break;
3140
3140
  }
@@ -3166,11 +3166,11 @@ var Dn = (
3166
3166
  try {
3167
3167
  n = yn(t);
3168
3168
  } catch {
3169
- return this.error(y.INVALID_NUMBER_SKELETON, r);
3169
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3170
3170
  }
3171
3171
  return {
3172
3172
  val: {
3173
- type: X.number,
3173
+ type: V.number,
3174
3174
  tokens: n,
3175
3175
  location: r,
3176
3176
  parsedOptions: this.shouldParseSkeletons ? xn(n) : {}
@@ -3180,36 +3180,36 @@ var Dn = (
3180
3180
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3181
3181
  for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3182
3182
  if (u.length === 0) {
3183
- var f = this.clonePosition();
3183
+ var c = this.clonePosition();
3184
3184
  if (r !== "select" && this.bumpIf("=")) {
3185
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3186
- if (c.err)
3187
- return c;
3188
- l = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3185
+ var m = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3186
+ if (m.err)
3187
+ return m;
3188
+ l = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3189
3189
  } else
3190
3190
  break;
3191
3191
  }
3192
3192
  if (h.has(u))
3193
- return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3193
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3194
3194
  u === "other" && (o = !0), this.bumpSpace();
3195
- var p = this.clonePosition();
3195
+ var d = this.clonePosition();
3196
3196
  if (!this.bumpIf("{"))
3197
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3198
- var b = this.parseMessage(t + 1, r, n);
3199
- if (b.err)
3200
- return b;
3201
- var g = this.tryParseArgumentClose(p);
3202
- if (g.err)
3203
- return g;
3197
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3198
+ var p = this.parseMessage(t + 1, r, n);
3199
+ if (p.err)
3200
+ return p;
3201
+ var _ = this.tryParseArgumentClose(d);
3202
+ if (_.err)
3203
+ return _;
3204
3204
  a.push([
3205
3205
  u,
3206
3206
  {
3207
- value: b.val,
3208
- location: _(p, this.clonePosition())
3207
+ value: p.val,
3208
+ location: y(d, this.clonePosition())
3209
3209
  }
3210
3210
  ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3211
3211
  }
3212
- 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 };
3212
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3213
3213
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3214
3214
  var n = 1, i = this.clonePosition();
3215
3215
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3220,7 +3220,7 @@ var Dn = (
3220
3220
  else
3221
3221
  break;
3222
3222
  }
3223
- var h = _(i, this.clonePosition());
3223
+ var h = y(i, this.clonePosition());
3224
3224
  return s ? (o *= n, Ln(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3225
3225
  }, e.prototype.offset = function() {
3226
3226
  return this.position.offset;
@@ -3255,7 +3255,7 @@ var Dn = (
3255
3255
  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);
3256
3256
  }
3257
3257
  }, e.prototype.bumpIf = function(t) {
3258
- if (mt(this.message, t, this.offset())) {
3258
+ if (ft(this.message, t, this.offset())) {
3259
3259
  for (var r = 0; r < t.length; r++)
3260
3260
  this.bump();
3261
3261
  return !0;
@@ -3290,10 +3290,10 @@ var Dn = (
3290
3290
  function qe(e) {
3291
3291
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3292
3292
  }
3293
- function kn(e) {
3293
+ function Un(e) {
3294
3294
  return qe(e) || e === 47;
3295
3295
  }
3296
- function Un(e) {
3296
+ function kn(e) {
3297
3297
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3298
3298
  }
3299
3299
  function sr(e) {
@@ -3312,22 +3312,22 @@ function Qe(e) {
3312
3312
  });
3313
3313
  }
3314
3314
  function Fn(e, t) {
3315
- t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3315
+ t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3316
3316
  var r = new Dn(e, t).parse();
3317
3317
  if (r.err) {
3318
- var n = SyntaxError(y[r.err.kind]);
3318
+ var n = SyntaxError(b[r.err.kind]);
3319
3319
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3320
3320
  }
3321
3321
  return t?.captureLocation || Qe(r.val), r.val;
3322
3322
  }
3323
- var W;
3323
+ var X;
3324
3324
  (function(e) {
3325
3325
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3326
- })(W || (W = {}));
3327
- var Ie = (
3326
+ })(X || (X = {}));
3327
+ var Ce = (
3328
3328
  /** @class */
3329
3329
  function(e) {
3330
- Ce(t, e);
3330
+ Ie(t, e);
3331
3331
  function t(r, n, i) {
3332
3332
  var s = e.call(this, r) || this;
3333
3333
  return s.code = n, s.originalMessage = i, s;
@@ -3336,139 +3336,139 @@ var Ie = (
3336
3336
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3337
3337
  }, t;
3338
3338
  }(Error)
3339
- ), gt = (
3339
+ ), pt = (
3340
3340
  /** @class */
3341
3341
  function(e) {
3342
- Ce(t, e);
3342
+ Ie(t, e);
3343
3343
  function t(r, n, i, s) {
3344
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, s) || this;
3344
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
3345
3345
  }
3346
3346
  return t;
3347
- }(Ie)
3347
+ }(Ce)
3348
3348
  ), jn = (
3349
3349
  /** @class */
3350
3350
  function(e) {
3351
- Ce(t, e);
3351
+ Ie(t, e);
3352
3352
  function t(r, n, i) {
3353
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3353
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3354
3354
  }
3355
3355
  return t;
3356
- }(Ie)
3356
+ }(Ce)
3357
3357
  ), zn = (
3358
3358
  /** @class */
3359
3359
  function(e) {
3360
- Ce(t, e);
3360
+ Ie(t, e);
3361
3361
  function t(r, n) {
3362
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3362
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3363
3363
  }
3364
3364
  return t;
3365
- }(Ie)
3366
- ), w;
3365
+ }(Ce)
3366
+ ), H;
3367
3367
  (function(e) {
3368
3368
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3369
- })(w || (w = {}));
3369
+ })(H || (H = {}));
3370
3370
  function Vn(e) {
3371
3371
  return e.length < 2 ? e : e.reduce(function(t, r) {
3372
3372
  var n = t[t.length - 1];
3373
- return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3373
+ return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3374
3374
  }, []);
3375
3375
  }
3376
3376
  function Xn(e) {
3377
3377
  return typeof e == "function";
3378
3378
  }
3379
- function ve(e, t, r, n, i, s, o) {
3380
- if (e.length === 1 && lt(e[0]))
3379
+ function Ee(e, t, r, n, i, s, o) {
3380
+ if (e.length === 1 && ut(e[0]))
3381
3381
  return [
3382
3382
  {
3383
- type: w.literal,
3383
+ type: H.literal,
3384
3384
  value: e[0].value
3385
3385
  }
3386
3386
  ];
3387
3387
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3388
3388
  var l = u[h];
3389
- if (lt(l)) {
3389
+ if (ut(l)) {
3390
3390
  a.push({
3391
- type: w.literal,
3391
+ type: H.literal,
3392
3392
  value: l.value
3393
3393
  });
3394
3394
  continue;
3395
3395
  }
3396
3396
  if (dn(l)) {
3397
3397
  typeof s == "number" && a.push({
3398
- type: w.literal,
3398
+ type: H.literal,
3399
3399
  value: r.getNumberFormat(t).format(s)
3400
3400
  });
3401
3401
  continue;
3402
3402
  }
3403
- var f = l.value;
3404
- if (!(i && f in i))
3405
- throw new zn(f, o);
3406
- var c = i[f];
3403
+ var c = l.value;
3404
+ if (!(i && c in i))
3405
+ throw new zn(c, o);
3406
+ var m = i[c];
3407
3407
  if (mn(l)) {
3408
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3409
- type: typeof c == "string" ? w.literal : w.object,
3410
- value: c
3408
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3409
+ type: typeof m == "string" ? H.literal : H.object,
3410
+ value: m
3411
3411
  });
3412
3412
  continue;
3413
3413
  }
3414
3414
  if (Wt(l)) {
3415
- var p = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3415
+ var d = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3416
3416
  a.push({
3417
- type: w.literal,
3418
- value: r.getDateTimeFormat(t, p).format(c)
3417
+ type: H.literal,
3418
+ value: r.getDateTimeFormat(t, d).format(m)
3419
3419
  });
3420
3420
  continue;
3421
3421
  }
3422
3422
  if (Zt(l)) {
3423
- var p = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3423
+ var d = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3424
3424
  a.push({
3425
- type: w.literal,
3426
- value: r.getDateTimeFormat(t, p).format(c)
3425
+ type: H.literal,
3426
+ value: r.getDateTimeFormat(t, d).format(m)
3427
3427
  });
3428
3428
  continue;
3429
3429
  }
3430
3430
  if (Xt(l)) {
3431
- var p = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3432
- p && p.scale && (c = c * (p.scale || 1)), a.push({
3433
- type: w.literal,
3434
- value: r.getNumberFormat(t, p).format(c)
3431
+ var d = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3432
+ d && d.scale && (m = m * (d.scale || 1)), a.push({
3433
+ type: H.literal,
3434
+ value: r.getNumberFormat(t, d).format(m)
3435
3435
  });
3436
3436
  continue;
3437
3437
  }
3438
3438
  if (Qt(l)) {
3439
- var b = l.children, g = l.value, v = i[g];
3439
+ var p = l.children, _ = l.value, v = i[_];
3440
3440
  if (!Xn(v))
3441
- throw new jn(g, "function", o);
3442
- var T = ve(b, t, r, n, i, s), d = v(T.map(function(M) {
3441
+ throw new jn(_, "function", o);
3442
+ var E = Ee(p, t, r, n, i, s), f = v(E.map(function(M) {
3443
3443
  return M.value;
3444
3444
  }));
3445
- Array.isArray(d) || (d = [d]), a.push.apply(a, d.map(function(M) {
3445
+ Array.isArray(f) || (f = [f]), a.push.apply(a, f.map(function(M) {
3446
3446
  return {
3447
- type: typeof M == "string" ? w.literal : w.object,
3447
+ type: typeof M == "string" ? H.literal : H.object,
3448
3448
  value: M
3449
3449
  };
3450
3450
  }));
3451
3451
  }
3452
3452
  if (Jt(l)) {
3453
- var m = l.options[c] || l.options.other;
3454
- if (!m)
3455
- throw new gt(l.value, c, Object.keys(l.options), o);
3456
- a.push.apply(a, ve(m.value, t, r, n, i));
3453
+ var g = l.options[m] || l.options.other;
3454
+ if (!g)
3455
+ throw new pt(l.value, m, Object.keys(l.options), o);
3456
+ a.push.apply(a, Ee(g.value, t, r, n, i));
3457
3457
  continue;
3458
3458
  }
3459
3459
  if (qt(l)) {
3460
- var m = l.options["=".concat(c)];
3461
- if (!m) {
3460
+ var g = l.options["=".concat(m)];
3461
+ if (!g) {
3462
3462
  if (!Intl.PluralRules)
3463
- throw new Ie(`Intl.PluralRules is not available in this environment.
3463
+ throw new Ce(`Intl.PluralRules is not available in this environment.
3464
3464
  Try polyfilling it using "@formatjs/intl-pluralrules"
3465
- `, W.MISSING_INTL_API, o);
3466
- var E = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3467
- m = l.options[E] || l.options.other;
3465
+ `, X.MISSING_INTL_API, o);
3466
+ var S = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
3467
+ g = l.options[S] || l.options.other;
3468
3468
  }
3469
- if (!m)
3470
- throw new gt(l.value, c, Object.keys(l.options), o);
3471
- a.push.apply(a, ve(m.value, t, r, n, i, c - (l.offset || 0)));
3469
+ if (!g)
3470
+ throw new pt(l.value, m, Object.keys(l.options), o);
3471
+ a.push.apply(a, Ee(g.value, t, r, n, i, m - (l.offset || 0)));
3472
3472
  continue;
3473
3473
  }
3474
3474
  }
@@ -3484,7 +3484,7 @@ function Zn(e, t) {
3484
3484
  return r[n] = Wn(e[n], t[n]), r;
3485
3485
  }, B({}, e)) : e;
3486
3486
  }
3487
- function Ue(e) {
3487
+ function ke(e) {
3488
3488
  return {
3489
3489
  create: function() {
3490
3490
  return {
@@ -3509,7 +3509,7 @@ function Jn(e) {
3509
3509
  r[n] = arguments[n];
3510
3510
  return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
3511
3511
  }, {
3512
- cache: Ue(e.number),
3512
+ cache: ke(e.number),
3513
3513
  strategy: De.variadic
3514
3514
  }),
3515
3515
  getDateTimeFormat: Re(function() {
@@ -3517,7 +3517,7 @@ function Jn(e) {
3517
3517
  r[n] = arguments[n];
3518
3518
  return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
3519
3519
  }, {
3520
- cache: Ue(e.dateTime),
3520
+ cache: ke(e.dateTime),
3521
3521
  strategy: De.variadic
3522
3522
  }),
3523
3523
  getPluralRules: Re(function() {
@@ -3525,7 +3525,7 @@ function Jn(e) {
3525
3525
  r[n] = arguments[n];
3526
3526
  return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
3527
3527
  }, {
3528
- cache: Ue(e.pluralRules),
3528
+ cache: ke(e.pluralRules),
3529
3529
  strategy: De.variadic
3530
3530
  })
3531
3531
  };
@@ -3544,12 +3544,12 @@ var or = (
3544
3544
  var u = s.formatToParts(h);
3545
3545
  if (u.length === 1)
3546
3546
  return u[0].value;
3547
- var l = u.reduce(function(f, c) {
3548
- return !f.length || c.type !== w.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3547
+ var l = u.reduce(function(c, m) {
3548
+ return !c.length || m.type !== H.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3549
3549
  }, []);
3550
3550
  return l.length <= 1 ? l[0] || "" : l;
3551
3551
  }, this.formatToParts = function(h) {
3552
- return ve(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3552
+ return Ee(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3553
3553
  }, this.resolvedOptions = function() {
3554
3554
  var h;
3555
3555
  return {
@@ -3663,25 +3663,25 @@ function qn(e, t) {
3663
3663
  n = void 0;
3664
3664
  return n;
3665
3665
  }
3666
- const N = {}, Qn = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), ar = (e, t) => {
3666
+ const C = {}, Qn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), ar = (e, t) => {
3667
3667
  if (t == null)
3668
3668
  return;
3669
- if (t in N && e in N[t])
3670
- return N[t][e];
3671
- const r = le(t);
3669
+ if (t in C && e in C[t])
3670
+ return C[t][e];
3671
+ const r = ue(t);
3672
3672
  for (let n = 0; n < r.length; n++) {
3673
3673
  const i = r[n], s = Kn(i, e);
3674
3674
  if (s)
3675
3675
  return Qn(e, t, s);
3676
3676
  }
3677
3677
  };
3678
- let rt;
3679
- const ue = Oe({});
3678
+ let tt;
3679
+ const ae = Oe({});
3680
3680
  function Yn(e) {
3681
- return rt[e] || null;
3681
+ return tt[e] || null;
3682
3682
  }
3683
3683
  function ur(e) {
3684
- return e in rt;
3684
+ return e in tt;
3685
3685
  }
3686
3686
  function Kn(e, t) {
3687
3687
  if (!ur(e))
@@ -3692,7 +3692,7 @@ function Kn(e, t) {
3692
3692
  function ei(e) {
3693
3693
  if (e == null)
3694
3694
  return;
3695
- const t = le(e);
3695
+ const t = ue(e);
3696
3696
  for (let r = 0; r < t.length; r++) {
3697
3697
  const n = t[r];
3698
3698
  if (ur(n))
@@ -3700,28 +3700,28 @@ function ei(e) {
3700
3700
  }
3701
3701
  }
3702
3702
  function lr(e, ...t) {
3703
- delete N[e], ue.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
3703
+ delete C[e], ae.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
3704
3704
  }
3705
3705
  J(
3706
- [ue],
3706
+ [ae],
3707
3707
  ([e]) => Object.keys(e)
3708
3708
  );
3709
- ue.subscribe((e) => rt = e);
3710
- const xe = {};
3709
+ ae.subscribe((e) => tt = e);
3710
+ const ve = {};
3711
3711
  function ti(e, t) {
3712
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3712
+ ve[e].delete(t), ve[e].size === 0 && delete ve[e];
3713
3713
  }
3714
3714
  function hr(e) {
3715
- return xe[e];
3715
+ return ve[e];
3716
3716
  }
3717
3717
  function ri(e) {
3718
- return le(e).map((t) => {
3718
+ return ue(e).map((t) => {
3719
3719
  const r = hr(t);
3720
3720
  return [t, r ? [...r] : []];
3721
3721
  }).filter(([, t]) => t.length > 0);
3722
3722
  }
3723
- function Be(e) {
3724
- return e == null ? !1 : le(e).some(
3723
+ function Se(e) {
3724
+ return e == null ? !1 : ue(e).some(
3725
3725
  (t) => {
3726
3726
  var r;
3727
3727
  return (r = hr(t)) == null ? void 0 : r.size;
@@ -3735,7 +3735,7 @@ function ni(e, t) {
3735
3735
  }
3736
3736
  const Y = {};
3737
3737
  function cr(e) {
3738
- if (!Be(e))
3738
+ if (!Se(e))
3739
3739
  return e in Y ? Y[e] : Promise.resolve();
3740
3740
  const t = ri(e);
3741
3741
  return Y[e] = Promise.all(
@@ -3743,17 +3743,17 @@ function cr(e) {
3743
3743
  ([r, n]) => ni(r, n)
3744
3744
  )
3745
3745
  ).then(() => {
3746
- if (Be(e))
3746
+ if (Se(e))
3747
3747
  return cr(e);
3748
3748
  delete Y[e];
3749
3749
  }), Y[e];
3750
3750
  }
3751
- var bt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, oi = (e, t) => {
3751
+ var gt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, oi = (e, t) => {
3752
3752
  var r = {};
3753
3753
  for (var n in e)
3754
3754
  ii.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3755
- if (e != null && bt)
3756
- for (var n of bt(e))
3755
+ if (e != null && gt)
3756
+ for (var n of gt(e))
3757
3757
  t.indexOf(n) < 0 && si.call(e, n) && (r[n] = e[n]);
3758
3758
  return r;
3759
3759
  };
@@ -3789,9 +3789,9 @@ const ai = {
3789
3789
  };
3790
3790
  function ui({ locale: e, id: t }) {
3791
3791
  console.warn(
3792
- `[svelte-i18n] The message "${t}" was not found in "${le(
3792
+ `[svelte-i18n] The message "${t}" was not found in "${ue(
3793
3793
  e
3794
- ).join('", "')}".${Be(L()) ? `
3794
+ ).join('", "')}".${Se(L()) ? `
3795
3795
 
3796
3796
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3797
3797
  );
@@ -3804,7 +3804,7 @@ const li = {
3804
3804
  handleMissingMessage: void 0,
3805
3805
  ignoreTag: !0
3806
3806
  }, ee = li;
3807
- function Z() {
3807
+ function W() {
3808
3808
  return ee;
3809
3809
  }
3810
3810
  function hi(e) {
@@ -3820,47 +3820,47 @@ function hi(e) {
3820
3820
  }
3821
3821
  return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ui : console.warn(
3822
3822
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3823
- )), Object.assign(ee, n, { initialLocale: i }), r && ("number" in r && Object.assign(ee.formats.number, r.number), "date" in r && Object.assign(ee.formats.date, r.date), "time" in r && Object.assign(ee.formats.time, r.time)), k.set(i);
3823
+ )), Object.assign(ee, n, { initialLocale: i }), r && ("number" in r && Object.assign(ee.formats.number, r.number), "date" in r && Object.assign(ee.formats.date, r.date), "time" in r && Object.assign(ee.formats.time, r.time)), R.set(i);
3824
3824
  }
3825
3825
  const Ge = Oe(!1);
3826
- var ci = Object.defineProperty, fi = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gi = (e, t) => {
3826
+ var ci = Object.defineProperty, fi = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gi = (e, t) => {
3827
3827
  for (var r in t || (t = {}))
3828
- di.call(t, r) && _t(e, r, t[r]);
3829
- if (yt)
3830
- for (var r of yt(t))
3831
- pi.call(t, r) && _t(e, r, t[r]);
3828
+ di.call(t, r) && yt(e, r, t[r]);
3829
+ if (bt)
3830
+ for (var r of bt(t))
3831
+ pi.call(t, r) && yt(e, r, t[r]);
3832
3832
  return e;
3833
3833
  }, bi = (e, t) => fi(e, mi(t));
3834
3834
  let Ye;
3835
- const Ae = Oe(null);
3836
- function Et(e) {
3835
+ const Be = Oe(null);
3836
+ function _t(e) {
3837
3837
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3838
3838
  }
3839
- function le(e, t = Z().fallbackLocale) {
3840
- const r = Et(e);
3841
- return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
3839
+ function ue(e, t = W().fallbackLocale) {
3840
+ const r = _t(e);
3841
+ return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
3842
3842
  }
3843
3843
  function L() {
3844
3844
  return Ye ?? void 0;
3845
3845
  }
3846
- Ae.subscribe((e) => {
3846
+ Be.subscribe((e) => {
3847
3847
  Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3848
3848
  });
3849
3849
  const yi = (e) => {
3850
- if (e && ei(e) && Be(e)) {
3851
- const { loadingDelay: t } = Z();
3850
+ if (e && ei(e) && Se(e)) {
3851
+ const { loadingDelay: t } = W();
3852
3852
  let r;
3853
3853
  return typeof window < "u" && L() != null && t ? r = window.setTimeout(
3854
3854
  () => Ge.set(!0),
3855
3855
  t
3856
3856
  ) : Ge.set(!0), cr(e).then(() => {
3857
- Ae.set(e);
3857
+ Be.set(e);
3858
3858
  }).finally(() => {
3859
3859
  clearTimeout(r), Ge.set(!1);
3860
3860
  });
3861
3861
  }
3862
- return Ae.set(e);
3863
- }, k = bi(gi({}, Ae), {
3862
+ return Be.set(e);
3863
+ }, R = bi(gi({}, Be), {
3864
3864
  set: yi
3865
3865
  }), Ne = (e) => {
3866
3866
  const t = /* @__PURE__ */ Object.create(null);
@@ -3869,24 +3869,24 @@ const yi = (e) => {
3869
3869
  return i in t ? t[i] : t[i] = e(n);
3870
3870
  };
3871
3871
  };
3872
- var _i = Object.defineProperty, Pe = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
3872
+ var _i = Object.defineProperty, Ae = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3873
3873
  for (var r in t || (t = {}))
3874
- fr.call(t, r) && vt(e, r, t[r]);
3875
- if (Pe)
3876
- for (var r of Pe(t))
3877
- mr.call(t, r) && vt(e, r, t[r]);
3874
+ fr.call(t, r) && Et(e, r, t[r]);
3875
+ if (Ae)
3876
+ for (var r of Ae(t))
3877
+ mr.call(t, r) && Et(e, r, t[r]);
3878
3878
  return e;
3879
3879
  }, q = (e, t) => {
3880
3880
  var r = {};
3881
3881
  for (var n in e)
3882
3882
  fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3883
- if (e != null && Pe)
3884
- for (var n of Pe(e))
3883
+ if (e != null && Ae)
3884
+ for (var n of Ae(e))
3885
3885
  t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3886
3886
  return r;
3887
3887
  };
3888
3888
  const se = (e, t) => {
3889
- const { formats: r } = Z();
3889
+ const { formats: r } = W();
3890
3890
  if (e in r && t in r[e])
3891
3891
  return r[e][t];
3892
3892
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
@@ -3919,25 +3919,25 @@ const se = (e, t) => {
3919
3919
  } = t, n = q(t, [
3920
3920
  "locale"
3921
3921
  ]);
3922
- return Ei(nt({ locale: r }, n));
3922
+ return Ei(rt({ locale: r }, n));
3923
3923
  }, Hi = (e = {}) => {
3924
3924
  var t = e, {
3925
3925
  locale: r = L()
3926
3926
  } = t, n = q(t, [
3927
3927
  "locale"
3928
3928
  ]);
3929
- return vi(nt({ locale: r }, n));
3929
+ return vi(rt({ locale: r }, n));
3930
3930
  }, wi = (e = {}) => {
3931
3931
  var t = e, {
3932
3932
  locale: r = L()
3933
3933
  } = t, n = q(t, [
3934
3934
  "locale"
3935
3935
  ]);
3936
- return xi(nt({ locale: r }, n));
3936
+ return xi(rt({ locale: r }, n));
3937
3937
  }, Si = Ne(
3938
3938
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3939
- (e, t = L()) => new or(e, t, Z().formats, {
3940
- ignoreTag: Z().ignoreTag
3939
+ (e, t = L()) => new or(e, t, W().formats, {
3940
+ ignoreTag: W().ignoreTag
3941
3941
  })
3942
3942
  ), Bi = (e, t = {}) => {
3943
3943
  var r, n, i, s;
@@ -3954,28 +3954,28 @@ const se = (e, t) => {
3954
3954
  );
3955
3955
  let l = ar(e, h);
3956
3956
  if (!l)
3957
- l = (s = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3957
+ l = (s = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3958
3958
  else if (typeof l != "string")
3959
3959
  return console.warn(
3960
3960
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3961
3961
  ), l;
3962
3962
  if (!a)
3963
3963
  return l;
3964
- let f = l;
3964
+ let c = l;
3965
3965
  try {
3966
- f = Si(l, h).format(a);
3967
- } catch (c) {
3968
- c instanceof Error && console.warn(
3966
+ c = Si(l, h).format(a);
3967
+ } catch (m) {
3968
+ m instanceof Error && console.warn(
3969
3969
  `[svelte-i18n] Message "${e}" has syntax error:`,
3970
- c.message
3970
+ m.message
3971
3971
  );
3972
3972
  }
3973
- return f;
3974
- }, Ai = (e, t) => wi(t).format(e), Pi = (e, t) => Hi(t).format(e), Oi = (e, t) => Ti(t).format(e), Ci = (e, t = L()) => ar(e, t), Ii = J([k, ue], () => Bi);
3975
- J([k], () => Ai);
3976
- J([k], () => Pi);
3977
- J([k], () => Oi);
3978
- J([k, ue], () => Ci);
3973
+ return c;
3974
+ }, Ai = (e, t) => wi(t).format(e), Pi = (e, t) => Hi(t).format(e), Oi = (e, t) => Ti(t).format(e), Ii = (e, t = L()) => ar(e, t), Ci = J([R, ae], () => Bi);
3975
+ J([R], () => Ai);
3976
+ J([R], () => Pi);
3977
+ J([R], () => Oi);
3978
+ J([R, ae], () => Ii);
3979
3979
  function Ni(e, t) {
3980
3980
  if (e) {
3981
3981
  const r = document.createElement("style");
@@ -4001,15 +4001,15 @@ function Mi(e, t, r) {
4001
4001
  });
4002
4002
  }
4003
4003
  }
4004
- function xt(e, t) {
4004
+ function vt(e, t) {
4005
4005
  lr(e, t);
4006
4006
  }
4007
4007
  function $i(e) {
4008
4008
  hi({
4009
4009
  fallbackLocale: "en"
4010
- }), k.set(e);
4010
+ }), R.set(e);
4011
4011
  }
4012
- const Tt = {
4012
+ const xt = {
4013
4013
  en: {
4014
4014
  errorGeneralTitle: "Error Occurred",
4015
4015
  errorGeneralText: "Something went wrong",
@@ -4066,71 +4066,49 @@ const Tt = {
4066
4066
  function Ri(e) {
4067
4067
  yr(e, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}");
4068
4068
  }
4069
- const Di = (e) => ({}), Ht = (e) => ({}), ki = (e) => ({}), wt = (e) => ({}), Ui = (e) => ({}), St = (e) => ({}), Gi = (e) => ({}), Bt = (e) => ({ class: "CashierErrorIcon" });
4070
- function At(e) {
4069
+ const Di = (e) => ({}), Tt = (e) => ({}), Ui = (e) => ({}), Ht = (e) => ({}), ki = (e) => ({}), wt = (e) => ({}), Gi = (e) => ({}), St = (e) => ({ class: "CashierErrorIcon" });
4070
+ function Bt(e) {
4071
4071
  let t, r;
4072
4072
  return {
4073
4073
  c() {
4074
- t = A("ui-image"), ot(t.src, r = `${/*assetsurl*/
4075
- e[0]}/error-general-icon.png`) || ge(t, "src", r), ge(t, "width", "300px"), ge(t, "alt", "error");
4074
+ t = P("ui-image"), st(t.src, r = `${/*assetsurl*/
4075
+ e[0]}/error-general-icon.png`) || pe(t, "src", r), pe(t, "width", "300px"), pe(t, "alt", "error");
4076
4076
  },
4077
4077
  m(n, i) {
4078
- D(n, t, i);
4078
+ Z(n, t, i);
4079
4079
  },
4080
4080
  p(n, i) {
4081
4081
  i & /*assetsurl*/
4082
- 1 && !ot(t.src, r = `${/*assetsurl*/
4083
- n[0]}/error-general-icon.png`) && ge(t, "src", r);
4082
+ 1 && !st(t.src, r = `${/*assetsurl*/
4083
+ n[0]}/error-general-icon.png`) && pe(t, "src", r);
4084
4084
  },
4085
4085
  d(n) {
4086
- n && C(t);
4086
+ n && N(t);
4087
4087
  }
4088
4088
  };
4089
4089
  }
4090
4090
  function Fi(e) {
4091
4091
  let t, r = (
4092
4092
  /*assetsurl*/
4093
- e[0] && At(e)
4093
+ e[0] && Bt(e)
4094
4094
  );
4095
4095
  return {
4096
4096
  c() {
4097
4097
  r && r.c(), t = Er();
4098
4098
  },
4099
4099
  m(n, i) {
4100
- r && r.m(n, i), D(n, t, i);
4100
+ r && r.m(n, i), Z(n, t, i);
4101
4101
  },
4102
4102
  p(n, i) {
4103
4103
  /*assetsurl*/
4104
- n[0] ? r ? r.p(n, i) : (r = At(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4104
+ n[0] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4105
4105
  },
4106
4106
  d(n) {
4107
- n && C(t), r && r.d(n);
4107
+ n && N(t), r && r.d(n);
4108
4108
  }
4109
4109
  };
4110
4110
  }
4111
4111
  function ji(e) {
4112
- let t, r = (
4113
- /*$_*/
4114
- e[3]("errorGeneralTitle") + ""
4115
- ), n;
4116
- return {
4117
- c() {
4118
- t = A("span"), n = ae(r), $(t, "class", "CashierErrorTitle");
4119
- },
4120
- m(i, s) {
4121
- D(i, t, s), O(t, n);
4122
- },
4123
- p(i, s) {
4124
- s & /*$_*/
4125
- 8 && r !== (r = /*$_*/
4126
- i[3]("errorGeneralTitle") + "") && tt(n, r);
4127
- },
4128
- d(i) {
4129
- i && C(t);
4130
- }
4131
- };
4132
- }
4133
- function zi(e) {
4134
4112
  let t, r = (
4135
4113
  /*$_*/
4136
4114
  e[3](`${/*errorcode*/
@@ -4138,33 +4116,33 @@ function zi(e) {
4138
4116
  ), n;
4139
4117
  return {
4140
4118
  c() {
4141
- t = A("span"), n = ae(r), $(t, "class", "CashierErrorText");
4119
+ t = P("span"), n = Pe(r), j(t, "class", "CashierErrorText");
4142
4120
  },
4143
4121
  m(i, s) {
4144
- D(i, t, s), O(t, n);
4122
+ Z(i, t, s), O(t, n);
4145
4123
  },
4146
4124
  p(i, s) {
4147
4125
  s & /*$_, errorcode*/
4148
4126
  10 && r !== (r = /*$_*/
4149
4127
  i[3](`${/*errorcode*/
4150
- i[1] || "errorGeneralText"}`) + "") && tt(n, r);
4128
+ i[1] || "errorGeneralText"}`) + "") && Dt(n, r);
4151
4129
  },
4152
4130
  d(i) {
4153
- i && C(t);
4131
+ i && N(t);
4154
4132
  }
4155
4133
  };
4156
4134
  }
4157
- function Vi(e) {
4135
+ function zi(e) {
4158
4136
  let t, r, n = (
4159
4137
  /*$_*/
4160
4138
  e[3]("errorGeneralButton") + ""
4161
4139
  ), i, s, o;
4162
4140
  return {
4163
4141
  c() {
4164
- t = A("button"), r = A("span"), i = ae(n), $(t, "class", "CashierErrorButton");
4142
+ t = P("button"), r = P("span"), i = Pe(n), j(t, "class", "CashierErrorButton");
4165
4143
  },
4166
4144
  m(a, h) {
4167
- D(a, t, h), O(t, r), O(r, i), s || (o = vr(
4145
+ Z(a, t, h), O(t, r), O(r, i), s || (o = vr(
4168
4146
  t,
4169
4147
  "click",
4170
4148
  /*close*/
@@ -4174,210 +4152,209 @@ function Vi(e) {
4174
4152
  p(a, h) {
4175
4153
  h & /*$_*/
4176
4154
  8 && n !== (n = /*$_*/
4177
- a[3]("errorGeneralButton") + "") && tt(i, n);
4155
+ a[3]("errorGeneralButton") + "") && Dt(i, n);
4178
4156
  },
4179
4157
  d(a) {
4180
- a && C(t), s = !1, o();
4158
+ a && N(t), s = !1, o();
4181
4159
  }
4182
4160
  };
4183
4161
  }
4184
- function Xi(e) {
4162
+ function Vi(e) {
4185
4163
  let t, r, n, i, s, o;
4186
4164
  const a = (
4187
4165
  /*#slots*/
4188
4166
  e[11].icon
4189
- ), h = fe(
4167
+ ), h = ce(
4190
4168
  a,
4191
4169
  e,
4192
4170
  /*$$scope*/
4193
4171
  e[10],
4194
- Bt
4172
+ St
4195
4173
  ), u = h || Fi(e), l = (
4196
4174
  /*#slots*/
4197
4175
  e[11].title
4198
- ), f = fe(
4176
+ ), c = ce(
4199
4177
  l,
4200
4178
  e,
4201
4179
  /*$$scope*/
4202
4180
  e[10],
4203
- St
4204
- ), c = f || ji(e), p = (
4181
+ wt
4182
+ ), m = (
4205
4183
  /*#slots*/
4206
4184
  e[11].text
4207
- ), b = fe(
4208
- p,
4185
+ ), d = ce(
4186
+ m,
4209
4187
  e,
4210
4188
  /*$$scope*/
4211
4189
  e[10],
4212
- wt
4213
- ), g = b || zi(e), v = (
4190
+ Ht
4191
+ ), p = d || ji(e), _ = (
4214
4192
  /*#slots*/
4215
4193
  e[11].button
4216
- ), T = fe(
4217
- v,
4194
+ ), v = ce(
4195
+ _,
4218
4196
  e,
4219
4197
  /*$$scope*/
4220
4198
  e[10],
4221
- Ht
4222
- ), d = T || Vi(e);
4199
+ Tt
4200
+ ), E = v || zi(e);
4223
4201
  return {
4224
4202
  c() {
4225
- t = A("div"), r = A("div"), u && u.c(), n = Le(), c && c.c(), i = Le(), g && g.c(), s = Le(), d && d.c(), $(r, "class", "CashierErrorContent"), $(t, "class", "CashierError");
4203
+ t = P("div"), r = P("div"), u && u.c(), n = Le(), c && c.c(), i = Le(), p && p.c(), s = Le(), E && E.c(), j(r, "class", "CashierErrorContent"), j(t, "class", "CashierError");
4226
4204
  },
4227
- m(m, E) {
4228
- D(m, t, E), O(t, r), u && u.m(r, null), O(r, n), c && c.m(r, null), O(r, i), g && g.m(r, null), O(r, s), d && d.m(r, null), e[12](t), o = !0;
4205
+ m(f, g) {
4206
+ Z(f, t, g), O(t, r), u && u.m(r, null), O(r, n), c && c.m(r, null), O(r, i), p && p.m(r, null), O(r, s), E && E.m(r, null), e[12](t), o = !0;
4229
4207
  },
4230
- p(m, [E]) {
4231
- h ? h.p && (!o || E & /*$$scope*/
4232
- 1024) && de(
4208
+ p(f, [g]) {
4209
+ h ? h.p && (!o || g & /*$$scope*/
4210
+ 1024) && me(
4233
4211
  h,
4234
4212
  a,
4235
- m,
4213
+ f,
4236
4214
  /*$$scope*/
4237
- m[10],
4238
- o ? me(
4215
+ f[10],
4216
+ o ? fe(
4239
4217
  a,
4240
4218
  /*$$scope*/
4241
- m[10],
4242
- E,
4219
+ f[10],
4220
+ g,
4243
4221
  Gi
4244
- ) : pe(
4222
+ ) : de(
4245
4223
  /*$$scope*/
4246
- m[10]
4224
+ f[10]
4247
4225
  ),
4248
- Bt
4249
- ) : u && u.p && (!o || E & /*assetsurl*/
4250
- 1) && u.p(m, o ? E : -1), f ? f.p && (!o || E & /*$$scope*/
4251
- 1024) && de(
4252
- f,
4226
+ St
4227
+ ) : u && u.p && (!o || g & /*assetsurl*/
4228
+ 1) && u.p(f, o ? g : -1), c && c.p && (!o || g & /*$$scope*/
4229
+ 1024) && me(
4230
+ c,
4253
4231
  l,
4254
- m,
4232
+ f,
4255
4233
  /*$$scope*/
4256
- m[10],
4257
- o ? me(
4234
+ f[10],
4235
+ o ? fe(
4258
4236
  l,
4259
4237
  /*$$scope*/
4260
- m[10],
4261
- E,
4262
- Ui
4263
- ) : pe(
4238
+ f[10],
4239
+ g,
4240
+ ki
4241
+ ) : de(
4264
4242
  /*$$scope*/
4265
- m[10]
4243
+ f[10]
4266
4244
  ),
4267
- St
4268
- ) : c && c.p && (!o || E & /*$_*/
4269
- 8) && c.p(m, o ? E : -1), b ? b.p && (!o || E & /*$$scope*/
4270
- 1024) && de(
4271
- b,
4272
- p,
4245
+ wt
4246
+ ), d ? d.p && (!o || g & /*$$scope*/
4247
+ 1024) && me(
4248
+ d,
4273
4249
  m,
4250
+ f,
4274
4251
  /*$$scope*/
4275
- m[10],
4276
- o ? me(
4277
- p,
4252
+ f[10],
4253
+ o ? fe(
4254
+ m,
4278
4255
  /*$$scope*/
4279
- m[10],
4280
- E,
4281
- ki
4282
- ) : pe(
4256
+ f[10],
4257
+ g,
4258
+ Ui
4259
+ ) : de(
4283
4260
  /*$$scope*/
4284
- m[10]
4261
+ f[10]
4285
4262
  ),
4286
- wt
4287
- ) : g && g.p && (!o || E & /*$_, errorcode*/
4288
- 10) && g.p(m, o ? E : -1), T ? T.p && (!o || E & /*$$scope*/
4289
- 1024) && de(
4290
- T,
4263
+ Ht
4264
+ ) : p && p.p && (!o || g & /*$_, errorcode*/
4265
+ 10) && p.p(f, o ? g : -1), v ? v.p && (!o || g & /*$$scope*/
4266
+ 1024) && me(
4291
4267
  v,
4292
- m,
4268
+ _,
4269
+ f,
4293
4270
  /*$$scope*/
4294
- m[10],
4295
- o ? me(
4296
- v,
4271
+ f[10],
4272
+ o ? fe(
4273
+ _,
4297
4274
  /*$$scope*/
4298
- m[10],
4299
- E,
4275
+ f[10],
4276
+ g,
4300
4277
  Di
4301
- ) : pe(
4278
+ ) : de(
4302
4279
  /*$$scope*/
4303
- m[10]
4280
+ f[10]
4304
4281
  ),
4305
- Ht
4306
- ) : d && d.p && (!o || E & /*$_*/
4307
- 8) && d.p(m, o ? E : -1);
4282
+ Tt
4283
+ ) : E && E.p && (!o || g & /*$_*/
4284
+ 8) && E.p(f, o ? g : -1);
4308
4285
  },
4309
- i(m) {
4310
- o || (K(u, m), K(c, m), K(g, m), K(d, m), o = !0);
4286
+ i(f) {
4287
+ o || (K(u, f), K(c, f), K(p, f), K(E, f), o = !0);
4311
4288
  },
4312
- o(m) {
4313
- be(u, m), be(c, m), be(g, m), be(d, m), o = !1;
4289
+ o(f) {
4290
+ ge(u, f), ge(c, f), ge(p, f), ge(E, f), o = !1;
4314
4291
  },
4315
- d(m) {
4316
- m && C(t), u && u.d(m), c && c.d(m), g && g.d(m), d && d.d(m), e[12](null);
4292
+ d(f) {
4293
+ f && N(t), u && u.d(f), c && c.d(f), p && p.d(f), E && E.d(f), e[12](null);
4317
4294
  }
4318
4295
  };
4319
4296
  }
4320
- function Wi(e, t, r) {
4297
+ function Xi(e, t, r) {
4321
4298
  let n;
4322
- br(e, Ii, (d) => r(3, n = d));
4323
- 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, p;
4324
- const b = () => {
4299
+ br(e, Ci, (f) => r(3, n = f));
4300
+ let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: m = "" } = t, d;
4301
+ const p = () => {
4325
4302
  $i(a);
4326
- }, g = () => {
4327
- fetch(f).then((m) => m.json()).then((m) => {
4328
- Object.keys(m).forEach((E) => {
4329
- xt(E, m[E]);
4303
+ }, _ = () => {
4304
+ fetch(c).then((g) => g.json()).then((g) => {
4305
+ Object.keys(g).forEach((S) => {
4306
+ vt(S, g[S]);
4330
4307
  });
4331
- }).catch((m) => {
4332
- console.error(m);
4308
+ }).catch((g) => {
4309
+ console.error(g);
4333
4310
  });
4334
4311
  };
4335
- Object.keys(Tt).forEach((d) => {
4336
- xt(d, Tt[d]);
4312
+ Object.keys(xt).forEach((f) => {
4313
+ vt(f, xt[f]);
4337
4314
  });
4338
4315
  const v = () => {
4339
4316
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4340
4317
  };
4341
4318
  Pr(() => () => {
4342
4319
  });
4343
- function T(d) {
4344
- je[d ? "unshift" : "push"](() => {
4345
- p = d, r(2, p);
4320
+ function E(f) {
4321
+ je[f ? "unshift" : "push"](() => {
4322
+ d = f, r(2, d);
4346
4323
  });
4347
4324
  }
4348
- return e.$$set = (d) => {
4349
- "assetsurl" in d && r(0, o = d.assetsurl), "lang" in d && r(5, a = d.lang), "errorcode" in d && r(1, h = d.errorcode), "clientstyling" in d && r(6, u = d.clientstyling), "clientstylingurl" in d && r(7, l = d.clientstylingurl), "translationurl" in d && r(8, f = d.translationurl), "mbsource" in d && r(9, c = d.mbsource), "$$scope" in d && r(10, s = d.$$scope);
4325
+ return e.$$set = (f) => {
4326
+ "assetsurl" in f && r(0, o = f.assetsurl), "lang" in f && r(5, a = f.lang), "errorcode" in f && r(1, h = f.errorcode), "clientstyling" in f && r(6, u = f.clientstyling), "clientstylingurl" in f && r(7, l = f.clientstylingurl), "translationurl" in f && r(8, c = f.translationurl), "mbsource" in f && r(9, m = f.mbsource), "$$scope" in f && r(10, s = f.$$scope);
4350
4327
  }, e.$$.update = () => {
4351
4328
  e.$$.dirty & /*lang*/
4352
- 32 && a && b(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4353
- 68 && u && p && Ni(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4354
- 132 && l && p && Li(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4355
- 516 && c && p && Mi(p, `${c}.Style`), e.$$.dirty & /*translationurl*/
4356
- 256 && f && g();
4329
+ 32 && a && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4330
+ 68 && u && d && Ni(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4331
+ 132 && l && d && Li(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4332
+ 516 && m && d && Mi(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
4333
+ 256 && c && _();
4357
4334
  }, [
4358
4335
  o,
4359
4336
  h,
4360
- p,
4337
+ d,
4361
4338
  n,
4362
4339
  v,
4363
4340
  a,
4364
4341
  u,
4365
4342
  l,
4366
- f,
4367
4343
  c,
4344
+ m,
4368
4345
  s,
4369
4346
  i,
4370
- T
4347
+ E
4371
4348
  ];
4372
4349
  }
4373
- class dr extends kr {
4350
+ class dr extends Ur {
4374
4351
  constructor(t) {
4375
4352
  super(), Rr(
4376
4353
  this,
4377
4354
  t,
4378
- Wi,
4379
4355
  Xi,
4380
- Ct,
4356
+ Vi,
4357
+ Ot,
4381
4358
  {
4382
4359
  assetsurl: 0,
4383
4360
  lang: 5,
@@ -4394,93 +4371,93 @@ class dr extends kr {
4394
4371
  return this.$$.ctx[0];
4395
4372
  }
4396
4373
  set assetsurl(t) {
4397
- this.$$set({ assetsurl: t }), P();
4374
+ this.$$set({ assetsurl: t }), A();
4398
4375
  }
4399
4376
  get lang() {
4400
4377
  return this.$$.ctx[5];
4401
4378
  }
4402
4379
  set lang(t) {
4403
- this.$$set({ lang: t }), P();
4380
+ this.$$set({ lang: t }), A();
4404
4381
  }
4405
4382
  get errorcode() {
4406
4383
  return this.$$.ctx[1];
4407
4384
  }
4408
4385
  set errorcode(t) {
4409
- this.$$set({ errorcode: t }), P();
4386
+ this.$$set({ errorcode: t }), A();
4410
4387
  }
4411
4388
  get clientstyling() {
4412
4389
  return this.$$.ctx[6];
4413
4390
  }
4414
4391
  set clientstyling(t) {
4415
- this.$$set({ clientstyling: t }), P();
4392
+ this.$$set({ clientstyling: t }), A();
4416
4393
  }
4417
4394
  get clientstylingurl() {
4418
4395
  return this.$$.ctx[7];
4419
4396
  }
4420
4397
  set clientstylingurl(t) {
4421
- this.$$set({ clientstylingurl: t }), P();
4398
+ this.$$set({ clientstylingurl: t }), A();
4422
4399
  }
4423
4400
  get translationurl() {
4424
4401
  return this.$$.ctx[8];
4425
4402
  }
4426
4403
  set translationurl(t) {
4427
- this.$$set({ translationurl: t }), P();
4404
+ this.$$set({ translationurl: t }), A();
4428
4405
  }
4429
4406
  get mbsource() {
4430
4407
  return this.$$.ctx[9];
4431
4408
  }
4432
4409
  set mbsource(t) {
4433
- this.$$set({ mbsource: t }), P();
4410
+ this.$$set({ mbsource: t }), A();
4434
4411
  }
4435
4412
  }
4436
4413
  Dr(dr, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4437
- const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4414
+ const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4438
4415
  __proto__: null,
4439
4416
  default: dr
4440
4417
  }, Symbol.toStringTag, { value: "Module" }));
4441
4418
  export {
4442
- k as $,
4443
- tt as A,
4444
- ae as B,
4445
- ge as C,
4419
+ R as $,
4420
+ Dt as A,
4421
+ Pe as B,
4422
+ pe as C,
4446
4423
  vr as D,
4447
4424
  Er as E,
4448
- ts as F,
4449
- Ji as G,
4450
- qi as H,
4451
- R as I,
4452
- ot as J,
4453
- Qi as K,
4454
- Ii as L,
4425
+ es as F,
4426
+ Zi as G,
4427
+ Ji as H,
4428
+ $ as I,
4429
+ st as J,
4430
+ qi as K,
4431
+ Ci as L,
4455
4432
  Ni as M,
4456
4433
  Li as N,
4457
4434
  Mi as O,
4458
- ns as P,
4459
- kr as S,
4435
+ rs as P,
4436
+ Ur as S,
4460
4437
  lr as a,
4461
4438
  hi as b,
4462
- rs as c,
4439
+ ts as c,
4463
4440
  Dr as d,
4464
4441
  Rr as e,
4465
- P as f,
4442
+ A as f,
4466
4443
  Fr as g,
4467
4444
  yr as h,
4468
- Pt as i,
4469
- C as j,
4470
- D as k,
4471
- A as l,
4472
- $ as m,
4473
- S as n,
4445
+ At as i,
4446
+ N as j,
4447
+ Z as k,
4448
+ P as l,
4449
+ j as m,
4450
+ w as n,
4474
4451
  br as o,
4475
4452
  Pr as p,
4476
4453
  je as q,
4477
- be as r,
4478
- Ct as s,
4454
+ ge as r,
4455
+ Ot as s,
4479
4456
  K as t,
4480
- Yi as u,
4457
+ Qi as u,
4481
4458
  O as v,
4482
4459
  Le as w,
4483
- es as x,
4460
+ Ki as x,
4484
4461
  ne as y,
4485
- Ki as z
4462
+ Yi as z
4486
4463
  };