@everymatrix/cashier-receipt-page 1.98.95 → 1.98.100

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,16 +1,16 @@
1
- var Dn = Object.defineProperty, zn = Object.defineProperties;
2
- var Rn = Object.getOwnPropertyDescriptors;
3
- var gt = Object.getOwnPropertySymbols;
4
- var Un = Object.prototype.hasOwnProperty, $n = Object.prototype.propertyIsEnumerable;
5
- var Ge = (e, t, n) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, pt = (e, t) => {
1
+ var zn = Object.defineProperty, Rn = Object.defineProperties;
2
+ var Un = Object.getOwnPropertyDescriptors;
3
+ var Et = Object.getOwnPropertySymbols;
4
+ var $n = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable;
5
+ var je = (e, t, n) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, bt = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- Un.call(t, n) && Ge(e, n, t[n]);
8
- if (gt)
9
- for (var n of gt(t))
10
- $n.call(t, n) && Ge(e, n, t[n]);
7
+ $n.call(t, n) && je(e, n, t[n]);
8
+ if (Et)
9
+ for (var n of Et(t))
10
+ Gn.call(t, n) && je(e, n, t[n]);
11
11
  return e;
12
- }, Et = (e, t) => zn(e, Rn(t));
13
- var B = (e, t, n) => (Ge(e, typeof t != "symbol" ? t + "" : t, n), n);
12
+ }, yt = (e, t) => Rn(e, Un(t));
13
+ var B = (e, t, n) => (je(e, typeof t != "symbol" ? t + "" : t, n), n);
14
14
  var se = (e, t, n) => new Promise((r, i) => {
15
15
  var a = (u) => {
16
16
  try {
@@ -30,8 +30,8 @@ var se = (e, t, n) => new Promise((r, i) => {
30
30
  import "../stencil/ui-image-CP8Lp7fB.js";
31
31
  function I() {
32
32
  }
33
- const Wt = (e) => e;
34
- function Gn(e, t) {
33
+ const Xt = (e) => e;
34
+ function jn(e, t) {
35
35
  for (const n in t)
36
36
  e[n] = t[n];
37
37
  return (
@@ -39,29 +39,29 @@ function Gn(e, t) {
39
39
  e
40
40
  );
41
41
  }
42
- function qt(e) {
42
+ function Zt(e) {
43
43
  return e();
44
44
  }
45
- function bt() {
45
+ function vt() {
46
46
  return /* @__PURE__ */ Object.create(null);
47
47
  }
48
48
  function U(e) {
49
- e.forEach(qt);
49
+ e.forEach(Zt);
50
50
  }
51
51
  function Ee(e) {
52
52
  return typeof e == "function";
53
53
  }
54
- function Xt(e, t) {
54
+ function Kt(e, t) {
55
55
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
56
56
  }
57
57
  let ve;
58
- function yt(e, t) {
58
+ function Ft(e, t) {
59
59
  return e === t ? !0 : (ve || (ve = document.createElement("a")), ve.href = t, e === ve.href);
60
60
  }
61
- function jn(e) {
61
+ function Vn(e) {
62
62
  return Object.keys(e).length === 0;
63
63
  }
64
- function Zt(e, ...t) {
64
+ function Jt(e, ...t) {
65
65
  if (e == null) {
66
66
  for (const r of t)
67
67
  r(void 0);
@@ -70,17 +70,17 @@ function Zt(e, ...t) {
70
70
  const n = e.subscribe(...t);
71
71
  return n.unsubscribe ? () => n.unsubscribe() : n;
72
72
  }
73
- function Vn(e, t, n) {
74
- e.$$.on_destroy.push(Zt(t, n));
73
+ function Wn(e, t, n) {
74
+ e.$$.on_destroy.push(Jt(t, n));
75
75
  }
76
76
  function Fe(e, t, n, r) {
77
77
  if (e) {
78
- const i = Kt(e, t, n, r);
78
+ const i = Yt(e, t, n, r);
79
79
  return e[0](i);
80
80
  }
81
81
  }
82
- function Kt(e, t, n, r) {
83
- return e[1] && r ? Gn(n.ctx.slice(), e[1](r(t))) : n.ctx;
82
+ function Yt(e, t, n, r) {
83
+ return e[1] && r ? jn(n.ctx.slice(), e[1](r(t))) : n.ctx;
84
84
  }
85
85
  function xe(e, t, n, r) {
86
86
  if (e[2] && r) {
@@ -99,7 +99,7 @@ function xe(e, t, n, r) {
99
99
  }
100
100
  function _e(e, t, n, r, i, a) {
101
101
  if (i) {
102
- const s = Kt(t, n, r, a);
102
+ const s = Yt(t, n, r, a);
103
103
  e.p(s, i);
104
104
  }
105
105
  }
@@ -112,17 +112,17 @@ function ke(e) {
112
112
  }
113
113
  return -1;
114
114
  }
115
- const Jt = typeof window != "undefined";
116
- let Yt = Jt ? () => window.performance.now() : () => Date.now(), lt = Jt ? (e) => requestAnimationFrame(e) : I;
115
+ const Qt = typeof window != "undefined";
116
+ let en = Qt ? () => window.performance.now() : () => Date.now(), ut = Qt ? (e) => requestAnimationFrame(e) : I;
117
117
  const X = /* @__PURE__ */ new Set();
118
- function Qt(e) {
118
+ function tn(e) {
119
119
  X.forEach((t) => {
120
120
  t.c(e) || (X.delete(t), t.f());
121
- }), X.size !== 0 && lt(Qt);
121
+ }), X.size !== 0 && ut(tn);
122
122
  }
123
- function en(e) {
123
+ function nn(e) {
124
124
  let t;
125
- return X.size === 0 && lt(Qt), {
125
+ return X.size === 0 && ut(tn), {
126
126
  promise: new Promise((n) => {
127
127
  X.add(t = { c: e, f: n });
128
128
  }),
@@ -134,14 +134,14 @@ function en(e) {
134
134
  function A(e, t) {
135
135
  e.appendChild(t);
136
136
  }
137
- function Wn(e, t, n) {
138
- const r = ut(e);
137
+ function qn(e, t, n) {
138
+ const r = ct(e);
139
139
  if (!r.getElementById(t)) {
140
140
  const i = C("style");
141
- i.id = t, i.textContent = n, tn(r, i);
141
+ i.id = t, i.textContent = n, rn(r, i);
142
142
  }
143
143
  }
144
- function ut(e) {
144
+ function ct(e) {
145
145
  if (!e)
146
146
  return document;
147
147
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -151,11 +151,11 @@ function ut(e) {
151
151
  t
152
152
  ) : e.ownerDocument;
153
153
  }
154
- function qn(e) {
154
+ function Xn(e) {
155
155
  const t = C("style");
156
- return t.textContent = "/* empty */", tn(ut(e), t), t.sheet;
156
+ return t.textContent = "/* empty */", rn(ct(e), t), t.sheet;
157
157
  }
158
- function tn(e, t) {
158
+ function rn(e, t) {
159
159
  return A(
160
160
  /** @type {Document} */
161
161
  e.head || e,
@@ -168,14 +168,14 @@ function S(e, t, n) {
168
168
  function T(e) {
169
169
  e.parentNode && e.parentNode.removeChild(e);
170
170
  }
171
- function Oa(e, t) {
171
+ function Da(e, t) {
172
172
  for (let n = 0; n < e.length; n += 1)
173
173
  e[n] && e[n].d(t);
174
174
  }
175
175
  function C(e) {
176
176
  return document.createElement(e);
177
177
  }
178
- function Ma(e) {
178
+ function za(e) {
179
179
  return document.createElementNS("http://www.w3.org/2000/svg", e);
180
180
  }
181
181
  function z(e) {
@@ -184,10 +184,10 @@ function z(e) {
184
184
  function Z() {
185
185
  return z(" ");
186
186
  }
187
- function ct() {
187
+ function dt() {
188
188
  return z("");
189
189
  }
190
- function Xn(e, t, n, r) {
190
+ function Zn(e, t, n, r) {
191
191
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
192
192
  }
193
193
  function M(e, t, n) {
@@ -197,17 +197,17 @@ function Te(e, t, n) {
197
197
  const r = t.toLowerCase();
198
198
  r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : M(e, t, n);
199
199
  }
200
- function Zn(e) {
200
+ function Kn(e) {
201
201
  return Array.from(e.childNodes);
202
202
  }
203
203
  function J(e, t) {
204
204
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
205
205
  t);
206
206
  }
207
- function Kn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
207
+ function Jn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
208
208
  return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
209
209
  }
210
- function Jn(e) {
210
+ function Yn(e) {
211
211
  const t = {};
212
212
  return e.childNodes.forEach(
213
213
  /** @param {Element} node */
@@ -218,17 +218,17 @@ function Jn(e) {
218
218
  }
219
219
  const He = /* @__PURE__ */ new Map();
220
220
  let Pe = 0;
221
- function Yn(e) {
221
+ function Qn(e) {
222
222
  let t = 5381, n = e.length;
223
223
  for (; n--; )
224
224
  t = (t << 5) - t ^ e.charCodeAt(n);
225
225
  return t >>> 0;
226
226
  }
227
- function Qn(e, t) {
228
- const n = { stylesheet: qn(t), rules: {} };
227
+ function er(e, t) {
228
+ const n = { stylesheet: Xn(t), rules: {} };
229
229
  return He.set(e, n), n;
230
230
  }
231
- function nn(e, t, n, r, i, a, s, o = 0) {
231
+ function an(e, t, n, r, i, a, s, o = 0) {
232
232
  const u = 16.666 / r;
233
233
  let l = `{
234
234
  `;
@@ -238,20 +238,20 @@ function nn(e, t, n, r, i, a, s, o = 0) {
238
238
  `;
239
239
  }
240
240
  const c = l + `100% {${s(n, 1 - n)}}
241
- }`, d = `__svelte_${Yn(c)}_${o}`, h = ut(e), { stylesheet: g, rules: f } = He.get(h) || Qn(h, e);
241
+ }`, d = `__svelte_${Qn(c)}_${o}`, h = ct(e), { stylesheet: g, rules: f } = He.get(h) || er(h, e);
242
242
  f[d] || (f[d] = !0, g.insertRule(`@keyframes ${d} ${c}`, g.cssRules.length));
243
243
  const y = e.style.animation || "";
244
244
  return e.style.animation = `${y ? `${y}, ` : ""}${d} ${r}ms linear ${i}ms 1 both`, Pe += 1, d;
245
245
  }
246
- function Je(e, t) {
246
+ function Ye(e, t) {
247
247
  const n = (e.style.animation || "").split(", "), r = n.filter(
248
248
  t ? (a) => a.indexOf(t) < 0 : (a) => a.indexOf("__svelte") === -1
249
249
  // remove all Svelte animations
250
250
  ), i = n.length - r.length;
251
- i && (e.style.animation = r.join(", "), Pe -= i, Pe || er());
251
+ i && (e.style.animation = r.join(", "), Pe -= i, Pe || tr());
252
252
  }
253
- function er() {
254
- lt(() => {
253
+ function tr() {
254
+ ut(() => {
255
255
  Pe || (He.forEach((e) => {
256
256
  const { ownerNode: t } = e.stylesheet;
257
257
  t && T(t);
@@ -262,25 +262,25 @@ let he;
262
262
  function de(e) {
263
263
  he = e;
264
264
  }
265
- function tr() {
265
+ function nr() {
266
266
  if (!he)
267
267
  throw new Error("Function called outside component initialization");
268
268
  return he;
269
269
  }
270
- function nr(e) {
271
- tr().$$.on_mount.push(e);
270
+ function rr(e) {
271
+ nr().$$.on_mount.push(e);
272
272
  }
273
- const W = [], Ye = [];
273
+ const W = [], Qe = [];
274
274
  let K = [];
275
- const vt = [], rr = /* @__PURE__ */ Promise.resolve();
276
- let Qe = !1;
277
- function ir() {
278
- Qe || (Qe = !0, rr.then(P));
275
+ const xt = [], ir = /* @__PURE__ */ Promise.resolve();
276
+ let et = !1;
277
+ function ar() {
278
+ et || (et = !0, ir.then(P));
279
279
  }
280
280
  function me(e) {
281
281
  K.push(e);
282
282
  }
283
- const je = /* @__PURE__ */ new Set();
283
+ const Ve = /* @__PURE__ */ new Set();
284
284
  let j = 0;
285
285
  function P() {
286
286
  if (j !== 0)
@@ -290,46 +290,46 @@ function P() {
290
290
  try {
291
291
  for (; j < W.length; ) {
292
292
  const t = W[j];
293
- j++, de(t), ar(t.$$);
293
+ j++, de(t), sr(t.$$);
294
294
  }
295
295
  } catch (t) {
296
296
  throw W.length = 0, j = 0, t;
297
297
  }
298
- for (de(null), W.length = 0, j = 0; Ye.length; )
299
- Ye.pop()();
298
+ for (de(null), W.length = 0, j = 0; Qe.length; )
299
+ Qe.pop()();
300
300
  for (let t = 0; t < K.length; t += 1) {
301
301
  const n = K[t];
302
- je.has(n) || (je.add(n), n());
302
+ Ve.has(n) || (Ve.add(n), n());
303
303
  }
304
304
  K.length = 0;
305
305
  } while (W.length);
306
- for (; vt.length; )
307
- vt.pop()();
308
- Qe = !1, je.clear(), de(e);
306
+ for (; xt.length; )
307
+ xt.pop()();
308
+ et = !1, Ve.clear(), de(e);
309
309
  }
310
- function ar(e) {
310
+ function sr(e) {
311
311
  if (e.fragment !== null) {
312
312
  e.update(), U(e.before_update);
313
313
  const t = e.dirty;
314
314
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(me);
315
315
  }
316
316
  }
317
- function sr(e) {
317
+ function or(e) {
318
318
  const t = [], n = [];
319
319
  K.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), K = t;
320
320
  }
321
321
  let oe;
322
- function rn() {
322
+ function sn() {
323
323
  return oe || (oe = Promise.resolve(), oe.then(() => {
324
324
  oe = null;
325
325
  })), oe;
326
326
  }
327
327
  function Le(e, t, n) {
328
- e.dispatchEvent(Kn(`${t ? "intro" : "outro"}${n}`));
328
+ e.dispatchEvent(Jn(`${t ? "intro" : "outro"}${n}`));
329
329
  }
330
330
  const Be = /* @__PURE__ */ new Set();
331
331
  let N;
332
- function Na() {
332
+ function Ra() {
333
333
  N = {
334
334
  r: 0,
335
335
  c: [],
@@ -337,7 +337,7 @@ function Na() {
337
337
  // parent group
338
338
  };
339
339
  }
340
- function Da() {
340
+ function Ua() {
341
341
  N.r || U(N.c), N = N.p;
342
342
  }
343
343
  function ue(e, t) {
@@ -353,24 +353,24 @@ function we(e, t, n, r) {
353
353
  } else
354
354
  r && r();
355
355
  }
356
- const an = { duration: 0 };
357
- function za(e, t, n) {
356
+ const on = { duration: 0 };
357
+ function $a(e, t, n) {
358
358
  const r = { direction: "in" };
359
359
  let i = t(e, n, r), a = !1, s, o, u = 0;
360
360
  function l() {
361
- s && Je(e, s);
361
+ s && Ye(e, s);
362
362
  }
363
363
  function c() {
364
364
  const {
365
365
  delay: h = 0,
366
366
  duration: g = 300,
367
- easing: f = Wt,
367
+ easing: f = Xt,
368
368
  tick: y = I,
369
369
  css: x
370
- } = i || an;
371
- x && (s = nn(e, 0, 1, g, h, f, x, u++)), y(0, 1);
372
- const E = Yt() + h, m = E + g;
373
- o && o.abort(), a = !0, me(() => Le(e, !0, "start")), o = en((v) => {
370
+ } = i || on;
371
+ x && (s = an(e, 0, 1, g, h, f, x, u++)), y(0, 1);
372
+ const E = en() + h, m = E + g;
373
+ o && o.abort(), a = !0, me(() => Le(e, !0, "start")), o = nn((v) => {
374
374
  if (a) {
375
375
  if (v >= m)
376
376
  return y(1, 0), Le(e, !0, "end"), l(), a = !1;
@@ -385,7 +385,7 @@ function za(e, t, n) {
385
385
  let d = !1;
386
386
  return {
387
387
  start() {
388
- d || (d = !0, Je(e), Ee(i) ? (i = i(r), rn().then(c)) : c());
388
+ d || (d = !0, Ye(e), Ee(i) ? (i = i(r), sn().then(c)) : c());
389
389
  },
390
390
  invalidate() {
391
391
  d = !1;
@@ -395,7 +395,7 @@ function za(e, t, n) {
395
395
  }
396
396
  };
397
397
  }
398
- function Ra(e, t, n) {
398
+ function Ga(e, t, n) {
399
399
  const r = { direction: "out" };
400
400
  let i = t(e, n, r), a = !0, s;
401
401
  const o = N;
@@ -405,14 +405,14 @@ function Ra(e, t, n) {
405
405
  const {
406
406
  delay: c = 0,
407
407
  duration: d = 300,
408
- easing: h = Wt,
408
+ easing: h = Xt,
409
409
  tick: g = I,
410
410
  css: f
411
- } = i || an;
412
- f && (s = nn(e, 1, 0, d, c, h, f));
413
- const y = Yt() + c, x = y + d;
411
+ } = i || on;
412
+ f && (s = an(e, 1, 0, d, c, h, f));
413
+ const y = en() + c, x = y + d;
414
414
  me(() => Le(e, !1, "start")), "inert" in e && (u = /** @type {HTMLElement} */
415
- e.inert, e.inert = !0), en((E) => {
415
+ e.inert, e.inert = !0), nn((E) => {
416
416
  if (a) {
417
417
  if (E >= x)
418
418
  return g(0, 1), Le(e, !1, "end"), --o.r || U(o.c), !1;
@@ -424,32 +424,32 @@ function Ra(e, t, n) {
424
424
  return a;
425
425
  });
426
426
  }
427
- return Ee(i) ? rn().then(() => {
427
+ return Ee(i) ? sn().then(() => {
428
428
  i = i(r), l();
429
429
  }) : l(), {
430
430
  end(c) {
431
- c && "inert" in e && (e.inert = u), c && i.tick && i.tick(1, 0), a && (s && Je(e, s), a = !1);
431
+ c && "inert" in e && (e.inert = u), c && i.tick && i.tick(1, 0), a && (s && Ye(e, s), a = !1);
432
432
  }
433
433
  };
434
434
  }
435
- function Ua(e) {
435
+ function ja(e) {
436
436
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
437
437
  }
438
- function or(e, t, n) {
438
+ function lr(e, t, n) {
439
439
  const { fragment: r, after_update: i } = e.$$;
440
440
  r && r.m(t, n), me(() => {
441
- const a = e.$$.on_mount.map(qt).filter(Ee);
441
+ const a = e.$$.on_mount.map(Zt).filter(Ee);
442
442
  e.$$.on_destroy ? e.$$.on_destroy.push(...a) : U(a), e.$$.on_mount = [];
443
443
  }), i.forEach(me);
444
444
  }
445
- function lr(e, t) {
445
+ function ur(e, t) {
446
446
  const n = e.$$;
447
- n.fragment !== null && (sr(n.after_update), U(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
447
+ n.fragment !== null && (or(n.after_update), U(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
448
448
  }
449
- function ur(e, t) {
450
- e.$$.dirty[0] === -1 && (W.push(e), ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
449
+ function cr(e, t) {
450
+ e.$$.dirty[0] === -1 && (W.push(e), ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
451
451
  }
452
- function cr(e, t, n, r, i, a, s = null, o = [-1]) {
452
+ function dr(e, t, n, r, i, a, s = null, o = [-1]) {
453
453
  const u = he;
454
454
  de(e);
455
455
  const l = e.$$ = {
@@ -459,7 +459,7 @@ function cr(e, t, n, r, i, a, s = null, o = [-1]) {
459
459
  props: a,
460
460
  update: I,
461
461
  not_equal: i,
462
- bound: bt(),
462
+ bound: vt(),
463
463
  // lifecycle
464
464
  on_mount: [],
465
465
  on_destroy: [],
@@ -468,7 +468,7 @@ function cr(e, t, n, r, i, a, s = null, o = [-1]) {
468
468
  after_update: [],
469
469
  context: new Map(t.context || (u ? u.$$.context : [])),
470
470
  // everything else
471
- callbacks: bt(),
471
+ callbacks: vt(),
472
472
  dirty: o,
473
473
  skip_bound: !1,
474
474
  root: t.target || u.$$.root
@@ -477,19 +477,19 @@ function cr(e, t, n, r, i, a, s = null, o = [-1]) {
477
477
  let c = !1;
478
478
  if (l.ctx = n ? n(e, t.props || {}, (d, h, ...g) => {
479
479
  const f = g.length ? g[0] : h;
480
- return l.ctx && i(l.ctx[d], l.ctx[d] = f) && (!l.skip_bound && l.bound[d] && l.bound[d](f), c && ur(e, d)), h;
480
+ return l.ctx && i(l.ctx[d], l.ctx[d] = f) && (!l.skip_bound && l.bound[d] && l.bound[d](f), c && cr(e, d)), h;
481
481
  }) : [], l.update(), c = !0, U(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
482
482
  if (t.hydrate) {
483
- const d = Zn(t.target);
483
+ const d = Kn(t.target);
484
484
  l.fragment && l.fragment.l(d), d.forEach(T);
485
485
  } else
486
486
  l.fragment && l.fragment.c();
487
- t.intro && ue(e.$$.fragment), or(e, t.target, t.anchor), P();
487
+ t.intro && ue(e.$$.fragment), lr(e, t.target, t.anchor), P();
488
488
  }
489
489
  de(u);
490
490
  }
491
- let sn;
492
- typeof HTMLElement == "function" && (sn = class extends HTMLElement {
491
+ let ln;
492
+ typeof HTMLElement == "function" && (ln = class extends HTMLElement {
493
493
  constructor(t, n, r) {
494
494
  super();
495
495
  /** The Svelte component constructor */
@@ -550,7 +550,7 @@ typeof HTMLElement == "function" && (sn = class extends HTMLElement {
550
550
  };
551
551
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
552
552
  return;
553
- const n = {}, r = Jn(this);
553
+ const n = {}, r = Yn(this);
554
554
  for (const a of this.$$s)
555
555
  a in r && (n[a] = [t(a)]);
556
556
  for (const a of this.attributes) {
@@ -561,7 +561,7 @@ typeof HTMLElement == "function" && (sn = class extends HTMLElement {
561
561
  !(a in this.$$d) && this[a] !== void 0 && (this.$$d[a] = this[a], delete this[a]);
562
562
  this.$$c = new this.$$ctor({
563
563
  target: this.shadowRoot || this,
564
- props: Et(pt({}, this.$$d), {
564
+ props: yt(bt({}, this.$$d), {
565
565
  $$slots: n,
566
566
  $$scope: {
567
567
  ctx: []
@@ -639,8 +639,8 @@ function Ae(e, t, n, r) {
639
639
  return t;
640
640
  }
641
641
  }
642
- function dr(e, t, n, r, i, a) {
643
- let s = class extends sn {
642
+ function hr(e, t, n, r, i, a) {
643
+ let s = class extends ln {
644
644
  constructor() {
645
645
  super(e, n, i), this.$$p_d = t;
646
646
  }
@@ -670,7 +670,7 @@ function dr(e, t, n, r, i, a) {
670
670
  }), e.element = /** @type {any} */
671
671
  s, s;
672
672
  }
673
- class hr {
673
+ class mr {
674
674
  constructor() {
675
675
  /**
676
676
  * ### PRIVATE API
@@ -691,7 +691,7 @@ class hr {
691
691
  }
692
692
  /** @returns {void} */
693
693
  $destroy() {
694
- lr(this, 1), this.$destroy = I;
694
+ ur(this, 1), this.$destroy = I;
695
695
  }
696
696
  /**
697
697
  * @template {Extract<keyof Events, string>} K
@@ -713,22 +713,22 @@ class hr {
713
713
  * @returns {void}
714
714
  */
715
715
  $set(t) {
716
- this.$$set && !jn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
716
+ this.$$set && !Vn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
717
717
  }
718
718
  }
719
- const mr = "4";
720
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mr);
719
+ const fr = "4";
720
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fr);
721
721
  const V = [];
722
- function fr(e, t) {
722
+ function gr(e, t) {
723
723
  return {
724
- subscribe: ze(e, t).subscribe
724
+ subscribe: Re(e, t).subscribe
725
725
  };
726
726
  }
727
- function ze(e, t = I) {
727
+ function Re(e, t = I) {
728
728
  let n;
729
729
  const r = /* @__PURE__ */ new Set();
730
730
  function i(o) {
731
- if (Xt(e, o) && (e = o, n)) {
731
+ if (Kt(e, o) && (e = o, n)) {
732
732
  const u = !V.length;
733
733
  for (const l of r)
734
734
  l[1](), V.push(l, e);
@@ -755,7 +755,7 @@ function re(e, t, n) {
755
755
  if (!i.every(Boolean))
756
756
  throw new Error("derived() expects stores as input, got a falsy value");
757
757
  const a = t.length < 2;
758
- return fr(n, (s, o) => {
758
+ return gr(n, (s, o) => {
759
759
  let u = !1;
760
760
  const l = [];
761
761
  let c = 0, d = I;
@@ -766,7 +766,7 @@ function re(e, t, n) {
766
766
  const f = t(r ? l[0] : l, s, o);
767
767
  a ? s(f) : d = Ee(f) ? f : I;
768
768
  }, g = i.map(
769
- (f, y) => Zt(
769
+ (f, y) => Jt(
770
770
  f,
771
771
  (x) => {
772
772
  l[y] = x, c &= ~(1 << y), u && h();
@@ -781,71 +781,71 @@ function re(e, t, n) {
781
781
  };
782
782
  });
783
783
  }
784
- var $a = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
785
- function gr(e) {
784
+ var Va = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
785
+ function pr(e) {
786
786
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
787
787
  }
788
- var pr = function(t) {
789
- return Er(t) && !br(t);
788
+ var Er = function(t) {
789
+ return br(t) && !yr(t);
790
790
  };
791
- function Er(e) {
791
+ function br(e) {
792
792
  return !!e && typeof e == "object";
793
793
  }
794
- function br(e) {
794
+ function yr(e) {
795
795
  var t = Object.prototype.toString.call(e);
796
- return t === "[object RegExp]" || t === "[object Date]" || Fr(e);
797
- }
798
- var yr = typeof Symbol == "function" && Symbol.for, vr = yr ? Symbol.for("react.element") : 60103;
799
- function Fr(e) {
800
- return e.$$typeof === vr;
796
+ return t === "[object RegExp]" || t === "[object Date]" || xr(e);
801
797
  }
798
+ var vr = typeof Symbol == "function" && Symbol.for, Fr = vr ? Symbol.for("react.element") : 60103;
802
799
  function xr(e) {
800
+ return e.$$typeof === Fr;
801
+ }
802
+ function _r(e) {
803
803
  return Array.isArray(e) ? [] : {};
804
804
  }
805
805
  function fe(e, t) {
806
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(xr(e), e, t) : e;
806
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(_r(e), e, t) : e;
807
807
  }
808
- function _r(e, t, n) {
808
+ function kr(e, t, n) {
809
809
  return e.concat(t).map(function(r) {
810
810
  return fe(r, n);
811
811
  });
812
812
  }
813
- function kr(e, t) {
813
+ function Tr(e, t) {
814
814
  if (!t.customMerge)
815
815
  return Y;
816
816
  var n = t.customMerge(e);
817
817
  return typeof n == "function" ? n : Y;
818
818
  }
819
- function Tr(e) {
819
+ function wr(e) {
820
820
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
821
821
  return Object.propertyIsEnumerable.call(e, t);
822
822
  }) : [];
823
823
  }
824
- function Ft(e) {
825
- return Object.keys(e).concat(Tr(e));
824
+ function _t(e) {
825
+ return Object.keys(e).concat(wr(e));
826
826
  }
827
- function on(e, t) {
827
+ function un(e, t) {
828
828
  try {
829
829
  return t in e;
830
830
  } catch (n) {
831
831
  return !1;
832
832
  }
833
833
  }
834
- function wr(e, t) {
835
- return on(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
834
+ function Sr(e, t) {
835
+ return un(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
836
836
  }
837
- function Sr(e, t, n) {
837
+ function Br(e, t, n) {
838
838
  var r = {};
839
- return n.isMergeableObject(e) && Ft(e).forEach(function(i) {
839
+ return n.isMergeableObject(e) && _t(e).forEach(function(i) {
840
840
  r[i] = fe(e[i], n);
841
- }), Ft(t).forEach(function(i) {
842
- wr(e, i) || (on(e, i) && n.isMergeableObject(t[i]) ? r[i] = kr(i, n)(e[i], t[i], n) : r[i] = fe(t[i], n));
841
+ }), _t(t).forEach(function(i) {
842
+ Sr(e, i) || (un(e, i) && n.isMergeableObject(t[i]) ? r[i] = Tr(i, n)(e[i], t[i], n) : r[i] = fe(t[i], n));
843
843
  }), r;
844
844
  }
845
845
  function Y(e, t, n) {
846
- n = n || {}, n.arrayMerge = n.arrayMerge || _r, n.isMergeableObject = n.isMergeableObject || pr, n.cloneUnlessOtherwiseSpecified = fe;
846
+ n = n || {}, n.arrayMerge = n.arrayMerge || kr, n.isMergeableObject = n.isMergeableObject || Er, n.cloneUnlessOtherwiseSpecified = fe;
847
847
  var r = Array.isArray(t), i = Array.isArray(e), a = r === i;
848
- return a ? r ? n.arrayMerge(e, t, n) : Sr(e, t, n) : fe(t, n);
848
+ return a ? r ? n.arrayMerge(e, t, n) : Br(e, t, n) : fe(t, n);
849
849
  }
850
850
  Y.all = function(t, n) {
851
851
  if (!Array.isArray(t))
@@ -854,20 +854,20 @@ Y.all = function(t, n) {
854
854
  return Y(r, i, n);
855
855
  }, {});
856
856
  };
857
- var Br = Y, Ar = Br;
858
- const Ir = /* @__PURE__ */ gr(Ar);
859
- var et = function(e, t) {
860
- return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
857
+ var Ar = Y, Ir = Ar;
858
+ const Cr = /* @__PURE__ */ pr(Ir);
859
+ var tt = function(e, t) {
860
+ return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
861
861
  n.__proto__ = r;
862
862
  } || function(n, r) {
863
863
  for (var i in r)
864
864
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
865
- }, et(e, t);
865
+ }, tt(e, t);
866
866
  };
867
- function Re(e, t) {
867
+ function Ue(e, t) {
868
868
  if (typeof t != "function" && t !== null)
869
869
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
870
- et(e, t);
870
+ tt(e, t);
871
871
  function n() {
872
872
  this.constructor = e;
873
873
  }
@@ -883,7 +883,7 @@ var L = function() {
883
883
  return t;
884
884
  }, L.apply(this, arguments);
885
885
  };
886
- function Cr(e, t) {
886
+ function Hr(e, t) {
887
887
  var n = {};
888
888
  for (var r in e)
889
889
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -892,43 +892,43 @@ function Cr(e, t) {
892
892
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
893
893
  return n;
894
894
  }
895
- function Ve(e, t, n) {
895
+ function We(e, t, n) {
896
896
  if (n || arguments.length === 2)
897
897
  for (var r = 0, i = t.length, a; r < i; r++)
898
898
  (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
899
899
  return e.concat(a || Array.prototype.slice.call(t));
900
900
  }
901
- function We(e, t) {
902
- var n = t && t.cache ? t.cache : Dr, r = t && t.serializer ? t.serializer : Mr, i = t && t.strategy ? t.strategy : Lr;
901
+ function qe(e, t) {
902
+ var n = t && t.cache ? t.cache : zr, r = t && t.serializer ? t.serializer : Nr, i = t && t.strategy ? t.strategy : Or;
903
903
  return i(e, {
904
904
  cache: n,
905
905
  serializer: r
906
906
  });
907
907
  }
908
- function Hr(e) {
908
+ function Pr(e) {
909
909
  return e == null || typeof e == "number" || typeof e == "boolean";
910
910
  }
911
- function Pr(e, t, n, r) {
912
- var i = Hr(r) ? r : n(r), a = t.get(i);
911
+ function Lr(e, t, n, r) {
912
+ var i = Pr(r) ? r : n(r), a = t.get(i);
913
913
  return typeof a == "undefined" && (a = e.call(this, r), t.set(i, a)), a;
914
914
  }
915
- function ln(e, t, n) {
915
+ function cn(e, t, n) {
916
916
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
917
917
  return typeof a == "undefined" && (a = e.apply(this, r), t.set(i, a)), a;
918
918
  }
919
- function un(e, t, n, r, i) {
919
+ function dn(e, t, n, r, i) {
920
920
  return n.bind(t, e, r, i);
921
921
  }
922
- function Lr(e, t) {
923
- var n = e.length === 1 ? Pr : ln;
924
- return un(e, this, n, t.cache.create(), t.serializer);
925
- }
926
922
  function Or(e, t) {
927
- return un(e, this, ln, t.cache.create(), t.serializer);
923
+ var n = e.length === 1 ? Lr : cn;
924
+ return dn(e, this, n, t.cache.create(), t.serializer);
925
+ }
926
+ function Mr(e, t) {
927
+ return dn(e, this, cn, t.cache.create(), t.serializer);
928
928
  }
929
- var Mr = function() {
929
+ var Nr = function() {
930
930
  return JSON.stringify(arguments);
931
- }, Nr = (
931
+ }, Dr = (
932
932
  /** @class */
933
933
  function() {
934
934
  function e() {
@@ -940,12 +940,12 @@ var Mr = function() {
940
940
  this.cache[t] = n;
941
941
  }, e;
942
942
  }()
943
- ), Dr = {
943
+ ), zr = {
944
944
  create: function() {
945
- return new Nr();
945
+ return new Dr();
946
946
  }
947
- }, qe = {
948
- variadic: Or
947
+ }, Xe = {
948
+ variadic: Mr
949
949
  }, Oe = function() {
950
950
  return Oe = Object.assign || function(t) {
951
951
  for (var n, r = 1, i = arguments.length; r < i; r++) {
@@ -968,43 +968,43 @@ var Q;
968
968
  (function(e) {
969
969
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
970
970
  })(Q || (Q = {}));
971
- function xt(e) {
971
+ function kt(e) {
972
972
  return e.type === _.literal;
973
973
  }
974
- function zr(e) {
974
+ function Rr(e) {
975
975
  return e.type === _.argument;
976
976
  }
977
- function cn(e) {
977
+ function hn(e) {
978
978
  return e.type === _.number;
979
979
  }
980
- function dn(e) {
980
+ function mn(e) {
981
981
  return e.type === _.date;
982
982
  }
983
- function hn(e) {
983
+ function fn(e) {
984
984
  return e.type === _.time;
985
985
  }
986
- function mn(e) {
986
+ function gn(e) {
987
987
  return e.type === _.select;
988
988
  }
989
- function fn(e) {
989
+ function pn(e) {
990
990
  return e.type === _.plural;
991
991
  }
992
- function Rr(e) {
992
+ function Ur(e) {
993
993
  return e.type === _.pound;
994
994
  }
995
- function gn(e) {
995
+ function En(e) {
996
996
  return e.type === _.tag;
997
997
  }
998
- function pn(e) {
998
+ function bn(e) {
999
999
  return !!(e && typeof e == "object" && e.type === Q.number);
1000
1000
  }
1001
- function tt(e) {
1001
+ function nt(e) {
1002
1002
  return !!(e && typeof e == "object" && e.type === Q.dateTime);
1003
1003
  }
1004
- var En = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ur = /(?:[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;
1005
- function $r(e) {
1004
+ var yn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $r = /(?:[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;
1005
+ function Gr(e) {
1006
1006
  var t = {};
1007
- return e.replace(Ur, function(n) {
1007
+ return e.replace($r, function(n) {
1008
1008
  var r = n.length;
1009
1009
  switch (n[0]) {
1010
1010
  case "G":
@@ -1103,11 +1103,11 @@ var k = function() {
1103
1103
  return t;
1104
1104
  }, k.apply(this, arguments);
1105
1105
  };
1106
- var Gr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1107
- function jr(e) {
1106
+ var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1107
+ function Vr(e) {
1108
1108
  if (e.length === 0)
1109
1109
  throw new Error("Number skeleton cannot be empty");
1110
- for (var t = e.split(Gr).filter(function(h) {
1110
+ for (var t = e.split(jr).filter(function(h) {
1111
1111
  return h.length > 0;
1112
1112
  }), n = [], r = 0, i = t; r < i.length; r++) {
1113
1113
  var a = i[r], s = a.split("/");
@@ -1122,17 +1122,17 @@ function jr(e) {
1122
1122
  }
1123
1123
  return n;
1124
1124
  }
1125
- function Vr(e) {
1125
+ function Wr(e) {
1126
1126
  return e.replace(/^(.*?)-/, "");
1127
1127
  }
1128
- var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, bn = /^(@+)?(\+|#+)?[rs]?$/g, Wr = /(\*)(0+)|(#+)(0+)|(0+)/g, yn = /^(0+)$/;
1129
- function kt(e) {
1128
+ var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vn = /^(@+)?(\+|#+)?[rs]?$/g, qr = /(\*)(0+)|(#+)(0+)|(0+)/g, Fn = /^(0+)$/;
1129
+ function wt(e) {
1130
1130
  var t = {};
1131
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(bn, function(n, r, i) {
1131
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vn, function(n, r, i) {
1132
1132
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1133
1133
  }), t;
1134
1134
  }
1135
- function vn(e) {
1135
+ function xn(e) {
1136
1136
  switch (e) {
1137
1137
  case "sign-auto":
1138
1138
  return {
@@ -1172,7 +1172,7 @@ function vn(e) {
1172
1172
  };
1173
1173
  }
1174
1174
  }
1175
- function qr(e) {
1175
+ function Xr(e) {
1176
1176
  var t;
1177
1177
  if (e[0] === "E" && e[1] === "E" ? (t = {
1178
1178
  notation: "engineering"
@@ -1180,17 +1180,17 @@ function qr(e) {
1180
1180
  notation: "scientific"
1181
1181
  }, e = e.slice(1)), t) {
1182
1182
  var n = e.slice(0, 2);
1183
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yn.test(e))
1183
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Fn.test(e))
1184
1184
  throw new Error("Malformed concise eng/scientific notation");
1185
1185
  t.minimumIntegerDigits = e.length;
1186
1186
  }
1187
1187
  return t;
1188
1188
  }
1189
- function Tt(e) {
1190
- var t = {}, n = vn(e);
1189
+ function St(e) {
1190
+ var t = {}, n = xn(e);
1191
1191
  return n || t;
1192
1192
  }
1193
- function Xr(e) {
1193
+ function Zr(e) {
1194
1194
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1195
1195
  var i = r[n];
1196
1196
  switch (i.stem) {
@@ -1214,7 +1214,7 @@ function Xr(e) {
1214
1214
  continue;
1215
1215
  case "measure-unit":
1216
1216
  case "unit":
1217
- t.style = "unit", t.unit = Vr(i.options[0]);
1217
+ t.style = "unit", t.unit = Wr(i.options[0]);
1218
1218
  continue;
1219
1219
  case "compact-short":
1220
1220
  case "K":
@@ -1226,12 +1226,12 @@ function Xr(e) {
1226
1226
  continue;
1227
1227
  case "scientific":
1228
1228
  t = k(k(k({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1229
- return k(k({}, u), Tt(l));
1229
+ return k(k({}, u), St(l));
1230
1230
  }, {}));
1231
1231
  continue;
1232
1232
  case "engineering":
1233
1233
  t = k(k(k({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1234
- return k(k({}, u), Tt(l));
1234
+ return k(k({}, u), St(l));
1235
1235
  }, {}));
1236
1236
  continue;
1237
1237
  case "notation-simple":
@@ -1276,7 +1276,7 @@ function Xr(e) {
1276
1276
  case "integer-width":
1277
1277
  if (i.options.length > 1)
1278
1278
  throw new RangeError("integer-width stems only accept a single optional option");
1279
- i.options[0].replace(Wr, function(u, l, c, d, h, g) {
1279
+ i.options[0].replace(qr, function(u, l, c, d, h, g) {
1280
1280
  if (l)
1281
1281
  t.minimumIntegerDigits = c.length;
1282
1282
  else {
@@ -1289,27 +1289,27 @@ function Xr(e) {
1289
1289
  });
1290
1290
  continue;
1291
1291
  }
1292
- if (yn.test(i.stem)) {
1292
+ if (Fn.test(i.stem)) {
1293
1293
  t.minimumIntegerDigits = i.stem.length;
1294
1294
  continue;
1295
1295
  }
1296
- if (_t.test(i.stem)) {
1296
+ if (Tt.test(i.stem)) {
1297
1297
  if (i.options.length > 1)
1298
1298
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1299
- i.stem.replace(_t, function(u, l, c, d, h, g) {
1299
+ i.stem.replace(Tt, function(u, l, c, d, h, g) {
1300
1300
  return c === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : h && g ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + g.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1301
1301
  });
1302
1302
  var a = i.options[0];
1303
- a === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = k(k({}, t), kt(a)));
1303
+ a === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = k(k({}, t), wt(a)));
1304
1304
  continue;
1305
1305
  }
1306
- if (bn.test(i.stem)) {
1307
- t = k(k({}, t), kt(i.stem));
1306
+ if (vn.test(i.stem)) {
1307
+ t = k(k({}, t), wt(i.stem));
1308
1308
  continue;
1309
1309
  }
1310
- var s = vn(i.stem);
1310
+ var s = xn(i.stem);
1311
1311
  s && (t = k(k({}, t), s));
1312
- var o = qr(i.stem);
1312
+ var o = Xr(i.stem);
1313
1313
  o && (t = k(k({}, t), o));
1314
1314
  }
1315
1315
  return t;
@@ -2729,13 +2729,13 @@ var Se = {
2729
2729
  "h"
2730
2730
  ]
2731
2731
  };
2732
- function Zr(e, t) {
2732
+ function Kr(e, t) {
2733
2733
  for (var n = "", r = 0; r < e.length; r++) {
2734
2734
  var i = e.charAt(r);
2735
2735
  if (i === "j") {
2736
2736
  for (var a = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2737
2737
  a++, r++;
2738
- var s = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), u = "a", l = Kr(t);
2738
+ var s = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), u = "a", l = Jr(t);
2739
2739
  for ((l == "H" || l == "k") && (o = 0); o-- > 0; )
2740
2740
  n += u;
2741
2741
  for (; s-- > 0; )
@@ -2745,7 +2745,7 @@ function Zr(e, t) {
2745
2745
  }
2746
2746
  return n;
2747
2747
  }
2748
- function Kr(e) {
2748
+ function Jr(e) {
2749
2749
  var t = e.hourCycle;
2750
2750
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2751
2751
  e.hourCycles && // @ts-ignore
@@ -2767,20 +2767,20 @@ function Kr(e) {
2767
2767
  var i = Se[r || ""] || Se[n || ""] || Se["".concat(n, "-001")] || Se["001"];
2768
2768
  return i[0];
2769
2769
  }
2770
- var Xe, Jr = new RegExp("^".concat(En.source, "*")), Yr = new RegExp("".concat(En.source, "*$"));
2770
+ var Ze, Yr = new RegExp("^".concat(yn.source, "*")), Qr = new RegExp("".concat(yn.source, "*$"));
2771
2771
  function F(e, t) {
2772
2772
  return { start: e, end: t };
2773
2773
  }
2774
- var Qr = !!String.prototype.startsWith && "_a".startsWith("a", 1), ei = !!String.fromCodePoint, ti = !!Object.fromEntries, ni = !!String.prototype.codePointAt, ri = !!String.prototype.trimStart, ii = !!String.prototype.trimEnd, ai = !!Number.isSafeInteger, si = ai ? Number.isSafeInteger : function(e) {
2774
+ var ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), ti = !!String.fromCodePoint, ni = !!Object.fromEntries, ri = !!String.prototype.codePointAt, ii = !!String.prototype.trimStart, ai = !!String.prototype.trimEnd, si = !!Number.isSafeInteger, oi = si ? Number.isSafeInteger : function(e) {
2775
2775
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2776
- }, nt = !0;
2776
+ }, rt = !0;
2777
2777
  try {
2778
- var oi = xn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2779
- nt = ((Xe = oi.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
2778
+ var li = kn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2779
+ rt = ((Ze = li.exec("a")) === null || Ze === void 0 ? void 0 : Ze[0]) === "a";
2780
2780
  } catch (e) {
2781
- nt = !1;
2781
+ rt = !1;
2782
2782
  }
2783
- var wt = Qr ? (
2783
+ var Bt = ei ? (
2784
2784
  // Native
2785
2785
  function(t, n, r) {
2786
2786
  return t.startsWith(n, r);
@@ -2790,7 +2790,7 @@ var wt = Qr ? (
2790
2790
  function(t, n, r) {
2791
2791
  return t.slice(r, r + n.length) === n;
2792
2792
  }
2793
- ), rt = ei ? String.fromCodePoint : (
2793
+ ), it = ti ? String.fromCodePoint : (
2794
2794
  // IE11
2795
2795
  function() {
2796
2796
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -2802,9 +2802,9 @@ var wt = Qr ? (
2802
2802
  }
2803
2803
  return r;
2804
2804
  }
2805
- ), St = (
2805
+ ), At = (
2806
2806
  // native
2807
- ti ? Object.fromEntries : (
2807
+ ni ? Object.fromEntries : (
2808
2808
  // Ponyfill
2809
2809
  function(t) {
2810
2810
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -2814,7 +2814,7 @@ var wt = Qr ? (
2814
2814
  return n;
2815
2815
  }
2816
2816
  )
2817
- ), Fn = ni ? (
2817
+ ), _n = ri ? (
2818
2818
  // Native
2819
2819
  function(t, n) {
2820
2820
  return t.codePointAt(n);
@@ -2828,7 +2828,7 @@ var wt = Qr ? (
2828
2828
  return i < 55296 || i > 56319 || n + 1 === r || (a = t.charCodeAt(n + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2829
2829
  }
2830
2830
  }
2831
- ), li = ri ? (
2831
+ ), ui = ii ? (
2832
2832
  // Native
2833
2833
  function(t) {
2834
2834
  return t.trimStart();
@@ -2836,9 +2836,9 @@ var wt = Qr ? (
2836
2836
  ) : (
2837
2837
  // Ponyfill
2838
2838
  function(t) {
2839
- return t.replace(Jr, "");
2839
+ return t.replace(Yr, "");
2840
2840
  }
2841
- ), ui = ii ? (
2841
+ ), ci = ai ? (
2842
2842
  // Native
2843
2843
  function(t) {
2844
2844
  return t.trimEnd();
@@ -2846,32 +2846,32 @@ var wt = Qr ? (
2846
2846
  ) : (
2847
2847
  // Ponyfill
2848
2848
  function(t) {
2849
- return t.replace(Yr, "");
2849
+ return t.replace(Qr, "");
2850
2850
  }
2851
2851
  );
2852
- function xn(e, t) {
2852
+ function kn(e, t) {
2853
2853
  return new RegExp(e, t);
2854
2854
  }
2855
- var it;
2856
- if (nt) {
2857
- var Bt = xn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2858
- it = function(t, n) {
2855
+ var at;
2856
+ if (rt) {
2857
+ var It = kn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2858
+ at = function(t, n) {
2859
2859
  var r;
2860
- Bt.lastIndex = n;
2861
- var i = Bt.exec(t);
2860
+ It.lastIndex = n;
2861
+ var i = It.exec(t);
2862
2862
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2863
2863
  };
2864
2864
  } else
2865
- it = function(t, n) {
2865
+ at = function(t, n) {
2866
2866
  for (var r = []; ; ) {
2867
- var i = Fn(t, n);
2868
- if (i === void 0 || _n(i) || mi(i))
2867
+ var i = _n(t, n);
2868
+ if (i === void 0 || Tn(i) || fi(i))
2869
2869
  break;
2870
2870
  r.push(i), n += i >= 65536 ? 2 : 1;
2871
2871
  }
2872
- return rt.apply(void 0, r);
2872
+ return it.apply(void 0, r);
2873
2873
  };
2874
- var ci = (
2874
+ var di = (
2875
2875
  /** @class */
2876
2876
  function() {
2877
2877
  function e(t, n) {
@@ -2902,7 +2902,7 @@ var ci = (
2902
2902
  if (r)
2903
2903
  break;
2904
2904
  return this.error(b.UNMATCHED_CLOSING_TAG, F(this.clonePosition(), this.clonePosition()));
2905
- } else if (a === 60 && !this.ignoreTag && at(this.peek() || 0)) {
2905
+ } else if (a === 60 && !this.ignoreTag && st(this.peek() || 0)) {
2906
2906
  var s = this.parseTag(t, n);
2907
2907
  if (s.err)
2908
2908
  return s;
@@ -2935,7 +2935,7 @@ var ci = (
2935
2935
  return a;
2936
2936
  var s = a.val, o = this.clonePosition();
2937
2937
  if (this.bumpIf("</")) {
2938
- if (this.isEOF() || !at(this.char()))
2938
+ if (this.isEOF() || !st(this.char()))
2939
2939
  return this.error(b.INVALID_TAG, F(o, this.clonePosition()));
2940
2940
  var u = this.clonePosition(), l = this.parseTagName();
2941
2941
  return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, F(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2953,7 +2953,7 @@ var ci = (
2953
2953
  return this.error(b.INVALID_TAG, F(r, this.clonePosition()));
2954
2954
  }, e.prototype.parseTagName = function() {
2955
2955
  var t = this.offset();
2956
- for (this.bump(); !this.isEOF() && hi(this.char()); )
2956
+ for (this.bump(); !this.isEOF() && mi(this.char()); )
2957
2957
  this.bump();
2958
2958
  return this.message.slice(t, this.offset());
2959
2959
  }, e.prototype.parseLiteral = function(t, n) {
@@ -2982,7 +2982,7 @@ var ci = (
2982
2982
  };
2983
2983
  }, e.prototype.tryParseLeftAngleBracket = function() {
2984
2984
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2985
- !di(this.peek() || 0)) ? (this.bump(), "<") : null;
2985
+ !hi(this.peek() || 0)) ? (this.bump(), "<") : null;
2986
2986
  }, e.prototype.tryParseQuote = function(t) {
2987
2987
  if (this.isEOF() || this.char() !== 39)
2988
2988
  return null;
@@ -3016,12 +3016,12 @@ var ci = (
3016
3016
  n.push(r);
3017
3017
  this.bump();
3018
3018
  }
3019
- return rt.apply(void 0, n);
3019
+ return it.apply(void 0, n);
3020
3020
  }, e.prototype.tryParseUnquoted = function(t, n) {
3021
3021
  if (this.isEOF())
3022
3022
  return null;
3023
3023
  var r = this.char();
3024
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), rt(r));
3024
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), it(r));
3025
3025
  }, e.prototype.parseArgument = function(t, n) {
3026
3026
  var r = this.clonePosition();
3027
3027
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3050,7 +3050,7 @@ var ci = (
3050
3050
  return this.error(b.MALFORMED_ARGUMENT, F(r, this.clonePosition()));
3051
3051
  }
3052
3052
  }, e.prototype.parseIdentifierIfPossible = function() {
3053
- var t = this.clonePosition(), n = this.offset(), r = it(this.message, n), i = n + r.length;
3053
+ var t = this.clonePosition(), n = this.offset(), r = at(this.message, n), i = n + r.length;
3054
3054
  this.bumpTo(i);
3055
3055
  var a = this.clonePosition(), s = F(t, a);
3056
3056
  return { value: r, location: s };
@@ -3069,7 +3069,7 @@ var ci = (
3069
3069
  var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3070
3070
  if (d.err)
3071
3071
  return d;
3072
- var h = ui(d.val);
3072
+ var h = ci(d.val);
3073
3073
  if (h.length === 0)
3074
3074
  return this.error(b.EXPECT_ARGUMENT_STYLE, F(this.clonePosition(), this.clonePosition()));
3075
3075
  var g = F(c, this.clonePosition());
@@ -3079,8 +3079,8 @@ var ci = (
3079
3079
  if (f.err)
3080
3080
  return f;
3081
3081
  var y = F(i, this.clonePosition());
3082
- if (l && wt(l == null ? void 0 : l.style, "::", 0)) {
3083
- var x = li(l.style.slice(2));
3082
+ if (l && Bt(l == null ? void 0 : l.style, "::", 0)) {
3083
+ var x = ui(l.style.slice(2));
3084
3084
  if (o === "number") {
3085
3085
  var d = this.parseNumberSkeletonFromString(x, l.styleLocation);
3086
3086
  return d.err ? d : {
@@ -3091,12 +3091,12 @@ var ci = (
3091
3091
  if (x.length === 0)
3092
3092
  return this.error(b.EXPECT_DATE_TIME_SKELETON, y);
3093
3093
  var E = x;
3094
- this.locale && (E = Zr(x, this.locale));
3094
+ this.locale && (E = Kr(x, this.locale));
3095
3095
  var h = {
3096
3096
  type: Q.dateTime,
3097
3097
  pattern: E,
3098
3098
  location: l.styleLocation,
3099
- parsedOptions: this.shouldParseSkeletons ? $r(E) : {}
3099
+ parsedOptions: this.shouldParseSkeletons ? Gr(E) : {}
3100
3100
  }, m = o === "date" ? _.date : _.time;
3101
3101
  return {
3102
3102
  val: { type: m, value: r, location: y, style: h },
@@ -3142,7 +3142,7 @@ var ci = (
3142
3142
  val: {
3143
3143
  type: _.select,
3144
3144
  value: r,
3145
- options: St(G.val),
3145
+ options: At(G.val),
3146
3146
  location: ye
3147
3147
  },
3148
3148
  err: null
@@ -3150,7 +3150,7 @@ var ci = (
3150
3150
  val: {
3151
3151
  type: _.plural,
3152
3152
  value: r,
3153
- options: St(G.val),
3153
+ options: At(G.val),
3154
3154
  offset: O,
3155
3155
  pluralType: o === "plural" ? "cardinal" : "ordinal",
3156
3156
  location: ye
@@ -3201,7 +3201,7 @@ var ci = (
3201
3201
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3202
3202
  var r = [];
3203
3203
  try {
3204
- r = jr(t);
3204
+ r = Vr(t);
3205
3205
  } catch (i) {
3206
3206
  return this.error(b.INVALID_NUMBER_SKELETON, n);
3207
3207
  }
@@ -3210,7 +3210,7 @@ var ci = (
3210
3210
  type: Q.number,
3211
3211
  tokens: r,
3212
3212
  location: n,
3213
- parsedOptions: this.shouldParseSkeletons ? Xr(r) : {}
3213
+ parsedOptions: this.shouldParseSkeletons ? Zr(r) : {}
3214
3214
  },
3215
3215
  err: null
3216
3216
  };
@@ -3258,7 +3258,7 @@ var ci = (
3258
3258
  break;
3259
3259
  }
3260
3260
  var u = F(i, this.clonePosition());
3261
- return a ? (s *= r, si(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3261
+ return a ? (s *= r, oi(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3262
3262
  }, e.prototype.offset = function() {
3263
3263
  return this.position.offset;
3264
3264
  }, e.prototype.isEOF = function() {
@@ -3273,7 +3273,7 @@ var ci = (
3273
3273
  var t = this.position.offset;
3274
3274
  if (t >= this.message.length)
3275
3275
  throw Error("out of bound");
3276
- var n = Fn(this.message, t);
3276
+ var n = _n(this.message, t);
3277
3277
  if (n === void 0)
3278
3278
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3279
3279
  return n;
@@ -3292,7 +3292,7 @@ var ci = (
3292
3292
  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);
3293
3293
  }
3294
3294
  }, e.prototype.bumpIf = function(t) {
3295
- if (wt(this.message, t, this.offset())) {
3295
+ if (Bt(this.message, t, this.offset())) {
3296
3296
  for (var n = 0; n < t.length; n++)
3297
3297
  this.bump();
3298
3298
  return !0;
@@ -3314,7 +3314,7 @@ var ci = (
3314
3314
  break;
3315
3315
  }
3316
3316
  }, e.prototype.bumpSpace = function() {
3317
- for (; !this.isEOF() && _n(this.char()); )
3317
+ for (; !this.isEOF() && Tn(this.char()); )
3318
3318
  this.bump();
3319
3319
  }, e.prototype.peek = function() {
3320
3320
  if (this.isEOF())
@@ -3324,47 +3324,47 @@ var ci = (
3324
3324
  }, e;
3325
3325
  }()
3326
3326
  );
3327
- function at(e) {
3327
+ function st(e) {
3328
3328
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3329
3329
  }
3330
- function di(e) {
3331
- return at(e) || e === 47;
3332
- }
3333
3330
  function hi(e) {
3331
+ return st(e) || e === 47;
3332
+ }
3333
+ function mi(e) {
3334
3334
  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;
3335
3335
  }
3336
- function _n(e) {
3336
+ function Tn(e) {
3337
3337
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3338
3338
  }
3339
- function mi(e) {
3339
+ function fi(e) {
3340
3340
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3341
3341
  }
3342
- function st(e) {
3342
+ function ot(e) {
3343
3343
  e.forEach(function(t) {
3344
- if (delete t.location, mn(t) || fn(t))
3344
+ if (delete t.location, gn(t) || pn(t))
3345
3345
  for (var n in t.options)
3346
- delete t.options[n].location, st(t.options[n].value);
3346
+ delete t.options[n].location, ot(t.options[n].value);
3347
3347
  else
3348
- cn(t) && pn(t.style) || (dn(t) || hn(t)) && tt(t.style) ? delete t.style.location : gn(t) && st(t.children);
3348
+ hn(t) && bn(t.style) || (mn(t) || fn(t)) && nt(t.style) ? delete t.style.location : En(t) && ot(t.children);
3349
3349
  });
3350
3350
  }
3351
- function fi(e, t) {
3351
+ function gi(e, t) {
3352
3352
  t === void 0 && (t = {}), t = Oe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3353
- var n = new ci(e, t).parse();
3353
+ var n = new di(e, t).parse();
3354
3354
  if (n.err) {
3355
3355
  var r = SyntaxError(b[n.err.kind]);
3356
3356
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3357
3357
  }
3358
- return t != null && t.captureLocation || st(n.val), n.val;
3358
+ return t != null && t.captureLocation || ot(n.val), n.val;
3359
3359
  }
3360
3360
  var ee;
3361
3361
  (function(e) {
3362
3362
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3363
3363
  })(ee || (ee = {}));
3364
- var Ue = (
3364
+ var $e = (
3365
3365
  /** @class */
3366
3366
  function(e) {
3367
- Re(t, e);
3367
+ Ue(t, e);
3368
3368
  function t(n, r, i) {
3369
3369
  var a = e.call(this, n) || this;
3370
3370
  return a.code = r, a.originalMessage = i, a;
@@ -3373,48 +3373,48 @@ var Ue = (
3373
3373
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3374
3374
  }, t;
3375
3375
  }(Error)
3376
- ), At = (
3376
+ ), Ct = (
3377
3377
  /** @class */
3378
3378
  function(e) {
3379
- Re(t, e);
3379
+ Ue(t, e);
3380
3380
  function t(n, r, i, a) {
3381
3381
  return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, a) || this;
3382
3382
  }
3383
3383
  return t;
3384
- }(Ue)
3385
- ), gi = (
3384
+ }($e)
3385
+ ), pi = (
3386
3386
  /** @class */
3387
3387
  function(e) {
3388
- Re(t, e);
3388
+ Ue(t, e);
3389
3389
  function t(n, r, i) {
3390
3390
  return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ee.INVALID_VALUE, i) || this;
3391
3391
  }
3392
3392
  return t;
3393
- }(Ue)
3394
- ), pi = (
3393
+ }($e)
3394
+ ), Ei = (
3395
3395
  /** @class */
3396
3396
  function(e) {
3397
- Re(t, e);
3397
+ Ue(t, e);
3398
3398
  function t(n, r) {
3399
3399
  return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ee.MISSING_VALUE, r) || this;
3400
3400
  }
3401
3401
  return t;
3402
- }(Ue)
3402
+ }($e)
3403
3403
  ), w;
3404
3404
  (function(e) {
3405
3405
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3406
3406
  })(w || (w = {}));
3407
- function Ei(e) {
3407
+ function bi(e) {
3408
3408
  return e.length < 2 ? e : e.reduce(function(t, n) {
3409
3409
  var r = t[t.length - 1];
3410
3410
  return !r || r.type !== w.literal || n.type !== w.literal ? t.push(n) : r.value += n.value, t;
3411
3411
  }, []);
3412
3412
  }
3413
- function bi(e) {
3413
+ function yi(e) {
3414
3414
  return typeof e == "function";
3415
3415
  }
3416
3416
  function Ie(e, t, n, r, i, a, s) {
3417
- if (e.length === 1 && xt(e[0]))
3417
+ if (e.length === 1 && kt(e[0]))
3418
3418
  return [
3419
3419
  {
3420
3420
  type: w.literal,
@@ -3423,14 +3423,14 @@ function Ie(e, t, n, r, i, a, s) {
3423
3423
  ];
3424
3424
  for (var o = [], u = 0, l = e; u < l.length; u++) {
3425
3425
  var c = l[u];
3426
- if (xt(c)) {
3426
+ if (kt(c)) {
3427
3427
  o.push({
3428
3428
  type: w.literal,
3429
3429
  value: c.value
3430
3430
  });
3431
3431
  continue;
3432
3432
  }
3433
- if (Rr(c)) {
3433
+ if (Ur(c)) {
3434
3434
  typeof a == "number" && o.push({
3435
3435
  type: w.literal,
3436
3436
  value: n.getNumberFormat(t).format(a)
@@ -3439,43 +3439,43 @@ function Ie(e, t, n, r, i, a, s) {
3439
3439
  }
3440
3440
  var d = c.value;
3441
3441
  if (!(i && d in i))
3442
- throw new pi(d, s);
3442
+ throw new Ei(d, s);
3443
3443
  var h = i[d];
3444
- if (zr(c)) {
3444
+ if (Rr(c)) {
3445
3445
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), o.push({
3446
3446
  type: typeof h == "string" ? w.literal : w.object,
3447
3447
  value: h
3448
3448
  });
3449
3449
  continue;
3450
3450
  }
3451
- if (dn(c)) {
3452
- var g = typeof c.style == "string" ? r.date[c.style] : tt(c.style) ? c.style.parsedOptions : void 0;
3451
+ if (mn(c)) {
3452
+ var g = typeof c.style == "string" ? r.date[c.style] : nt(c.style) ? c.style.parsedOptions : void 0;
3453
3453
  o.push({
3454
3454
  type: w.literal,
3455
3455
  value: n.getDateTimeFormat(t, g).format(h)
3456
3456
  });
3457
3457
  continue;
3458
3458
  }
3459
- if (hn(c)) {
3460
- var g = typeof c.style == "string" ? r.time[c.style] : tt(c.style) ? c.style.parsedOptions : r.time.medium;
3459
+ if (fn(c)) {
3460
+ var g = typeof c.style == "string" ? r.time[c.style] : nt(c.style) ? c.style.parsedOptions : r.time.medium;
3461
3461
  o.push({
3462
3462
  type: w.literal,
3463
3463
  value: n.getDateTimeFormat(t, g).format(h)
3464
3464
  });
3465
3465
  continue;
3466
3466
  }
3467
- if (cn(c)) {
3468
- var g = typeof c.style == "string" ? r.number[c.style] : pn(c.style) ? c.style.parsedOptions : void 0;
3467
+ if (hn(c)) {
3468
+ var g = typeof c.style == "string" ? r.number[c.style] : bn(c.style) ? c.style.parsedOptions : void 0;
3469
3469
  g && g.scale && (h = h * (g.scale || 1)), o.push({
3470
3470
  type: w.literal,
3471
3471
  value: n.getNumberFormat(t, g).format(h)
3472
3472
  });
3473
3473
  continue;
3474
3474
  }
3475
- if (gn(c)) {
3475
+ if (En(c)) {
3476
3476
  var f = c.children, y = c.value, x = i[y];
3477
- if (!bi(x))
3478
- throw new gi(y, "function", s);
3477
+ if (!yi(x))
3478
+ throw new pi(y, "function", s);
3479
3479
  var E = Ie(f, t, n, r, i, a), m = x(E.map(function(O) {
3480
3480
  return O.value;
3481
3481
  }));
@@ -3486,42 +3486,42 @@ function Ie(e, t, n, r, i, a, s) {
3486
3486
  };
3487
3487
  }));
3488
3488
  }
3489
- if (mn(c)) {
3489
+ if (gn(c)) {
3490
3490
  var v = c.options[h] || c.options.other;
3491
3491
  if (!v)
3492
- throw new At(c.value, h, Object.keys(c.options), s);
3492
+ throw new Ct(c.value, h, Object.keys(c.options), s);
3493
3493
  o.push.apply(o, Ie(v.value, t, n, r, i));
3494
3494
  continue;
3495
3495
  }
3496
- if (fn(c)) {
3496
+ if (pn(c)) {
3497
3497
  var v = c.options["=".concat(h)];
3498
3498
  if (!v) {
3499
3499
  if (!Intl.PluralRules)
3500
- throw new Ue(`Intl.PluralRules is not available in this environment.
3500
+ throw new $e(`Intl.PluralRules is not available in this environment.
3501
3501
  Try polyfilling it using "@formatjs/intl-pluralrules"
3502
3502
  `, ee.MISSING_INTL_API, s);
3503
3503
  var H = n.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3504
3504
  v = c.options[H] || c.options.other;
3505
3505
  }
3506
3506
  if (!v)
3507
- throw new At(c.value, h, Object.keys(c.options), s);
3507
+ throw new Ct(c.value, h, Object.keys(c.options), s);
3508
3508
  o.push.apply(o, Ie(v.value, t, n, r, i, h - (c.offset || 0)));
3509
3509
  continue;
3510
3510
  }
3511
3511
  }
3512
- return Ei(o);
3512
+ return bi(o);
3513
3513
  }
3514
- function yi(e, t) {
3514
+ function vi(e, t) {
3515
3515
  return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3516
3516
  return n[r] = L(L({}, e[r]), t[r] || {}), n;
3517
3517
  }, {})) : e;
3518
3518
  }
3519
- function vi(e, t) {
3519
+ function Fi(e, t) {
3520
3520
  return t ? Object.keys(e).reduce(function(n, r) {
3521
- return n[r] = yi(e[r], t[r]), n;
3521
+ return n[r] = vi(e[r], t[r]), n;
3522
3522
  }, L({}, e)) : e;
3523
3523
  }
3524
- function Ze(e) {
3524
+ function Ke(e) {
3525
3525
  return {
3526
3526
  create: function() {
3527
3527
  return {
@@ -3535,39 +3535,39 @@ function Ze(e) {
3535
3535
  }
3536
3536
  };
3537
3537
  }
3538
- function Fi(e) {
3538
+ function xi(e) {
3539
3539
  return e === void 0 && (e = {
3540
3540
  number: {},
3541
3541
  dateTime: {},
3542
3542
  pluralRules: {}
3543
3543
  }), {
3544
- getNumberFormat: We(function() {
3544
+ getNumberFormat: qe(function() {
3545
3545
  for (var t, n = [], r = 0; r < arguments.length; r++)
3546
3546
  n[r] = arguments[r];
3547
- return new ((t = Intl.NumberFormat).bind.apply(t, Ve([void 0], n, !1)))();
3547
+ return new ((t = Intl.NumberFormat).bind.apply(t, We([void 0], n, !1)))();
3548
3548
  }, {
3549
- cache: Ze(e.number),
3550
- strategy: qe.variadic
3549
+ cache: Ke(e.number),
3550
+ strategy: Xe.variadic
3551
3551
  }),
3552
- getDateTimeFormat: We(function() {
3552
+ getDateTimeFormat: qe(function() {
3553
3553
  for (var t, n = [], r = 0; r < arguments.length; r++)
3554
3554
  n[r] = arguments[r];
3555
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ve([void 0], n, !1)))();
3555
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, We([void 0], n, !1)))();
3556
3556
  }, {
3557
- cache: Ze(e.dateTime),
3558
- strategy: qe.variadic
3557
+ cache: Ke(e.dateTime),
3558
+ strategy: Xe.variadic
3559
3559
  }),
3560
- getPluralRules: We(function() {
3560
+ getPluralRules: qe(function() {
3561
3561
  for (var t, n = [], r = 0; r < arguments.length; r++)
3562
3562
  n[r] = arguments[r];
3563
- return new ((t = Intl.PluralRules).bind.apply(t, Ve([void 0], n, !1)))();
3563
+ return new ((t = Intl.PluralRules).bind.apply(t, We([void 0], n, !1)))();
3564
3564
  }, {
3565
- cache: Ze(e.pluralRules),
3566
- strategy: qe.variadic
3565
+ cache: Ke(e.pluralRules),
3566
+ strategy: Xe.variadic
3567
3567
  })
3568
3568
  };
3569
3569
  }
3570
- var kn = (
3570
+ var wn = (
3571
3571
  /** @class */
3572
3572
  function() {
3573
3573
  function e(t, n, r, i) {
@@ -3599,13 +3599,13 @@ var kn = (
3599
3599
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3600
3600
  var s = i || {};
3601
3601
  s.formatters;
3602
- var o = Cr(s, ["formatters"]);
3602
+ var o = Hr(s, ["formatters"]);
3603
3603
  this.ast = e.__parse(t, L(L({}, o), { locale: this.resolvedLocale }));
3604
3604
  } else
3605
3605
  this.ast = t;
3606
3606
  if (!Array.isArray(this.ast))
3607
3607
  throw new TypeError("A message must be provided as a String or AST.");
3608
- this.formats = vi(e.formats, r), this.formatters = i && i.formatters || Fi(this.formatterCache);
3608
+ this.formats = Fi(e.formats, r), this.formatters = i && i.formatters || xi(this.formatterCache);
3609
3609
  }
3610
3610
  return Object.defineProperty(e, "defaultLocale", {
3611
3611
  get: function() {
@@ -3618,7 +3618,7 @@ var kn = (
3618
3618
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3619
3619
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3620
3620
  }
3621
- }, e.__parse = fi, e.formats = {
3621
+ }, e.__parse = gi, e.formats = {
3622
3622
  number: {
3623
3623
  integer: {
3624
3624
  maximumFractionDigits: 0
@@ -3679,7 +3679,7 @@ var kn = (
3679
3679
  }, e;
3680
3680
  }()
3681
3681
  );
3682
- function xi(e, t) {
3682
+ function _i(e, t) {
3683
3683
  if (t == null)
3684
3684
  return;
3685
3685
  if (t in e)
@@ -3700,60 +3700,60 @@ function xi(e, t) {
3700
3700
  r = void 0;
3701
3701
  return r;
3702
3702
  }
3703
- const D = {}, _i = (e, t, n) => n && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = n), n), Tn = (e, t) => {
3703
+ const D = {}, ki = (e, t, n) => n && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = n), n), Sn = (e, t) => {
3704
3704
  if (t == null)
3705
3705
  return;
3706
3706
  if (t in D && e in D[t])
3707
3707
  return D[t][e];
3708
3708
  const n = be(t);
3709
3709
  for (let r = 0; r < n.length; r++) {
3710
- const i = n[r], a = Ti(i, e);
3710
+ const i = n[r], a = wi(i, e);
3711
3711
  if (a)
3712
- return _i(e, t, a);
3712
+ return ki(e, t, a);
3713
3713
  }
3714
3714
  };
3715
- let dt;
3716
- const ie = ze({});
3717
- function ki(e) {
3718
- return dt[e] || null;
3715
+ let ht;
3716
+ const ie = Re({});
3717
+ function Ti(e) {
3718
+ return ht[e] || null;
3719
3719
  }
3720
- function wn(e) {
3721
- return e in dt;
3720
+ function Bn(e) {
3721
+ return e in ht;
3722
3722
  }
3723
- function Ti(e, t) {
3724
- if (!wn(e))
3723
+ function wi(e, t) {
3724
+ if (!Bn(e))
3725
3725
  return null;
3726
- const n = ki(e);
3727
- return xi(n, t);
3726
+ const n = Ti(e);
3727
+ return _i(n, t);
3728
3728
  }
3729
- function wi(e) {
3729
+ function Si(e) {
3730
3730
  if (e == null)
3731
3731
  return;
3732
3732
  const t = be(e);
3733
3733
  for (let n = 0; n < t.length; n++) {
3734
3734
  const r = t[n];
3735
- if (wn(r))
3735
+ if (Bn(r))
3736
3736
  return r;
3737
3737
  }
3738
3738
  }
3739
- function Sn(e, ...t) {
3740
- delete D[e], ie.update((n) => (n[e] = Ir.all([n[e] || {}, ...t]), n));
3739
+ function An(e, ...t) {
3740
+ delete D[e], ie.update((n) => (n[e] = Cr.all([n[e] || {}, ...t]), n));
3741
3741
  }
3742
3742
  re(
3743
3743
  [ie],
3744
3744
  ([e]) => Object.keys(e)
3745
3745
  );
3746
- ie.subscribe((e) => dt = e);
3746
+ ie.subscribe((e) => ht = e);
3747
3747
  const Ce = {};
3748
- function Si(e, t) {
3748
+ function Bi(e, t) {
3749
3749
  Ce[e].delete(t), Ce[e].size === 0 && delete Ce[e];
3750
3750
  }
3751
- function Bn(e) {
3751
+ function In(e) {
3752
3752
  return Ce[e];
3753
3753
  }
3754
- function Bi(e) {
3754
+ function Ai(e) {
3755
3755
  return be(e).map((t) => {
3756
- const n = Bn(t);
3756
+ const n = In(t);
3757
3757
  return [t, n ? [...n] : []];
3758
3758
  }).filter(([, t]) => t.length > 0);
3759
3759
  }
@@ -3761,40 +3761,40 @@ function Me(e) {
3761
3761
  return e == null ? !1 : be(e).some(
3762
3762
  (t) => {
3763
3763
  var n;
3764
- return (n = Bn(t)) == null ? void 0 : n.size;
3764
+ return (n = In(t)) == null ? void 0 : n.size;
3765
3765
  }
3766
3766
  );
3767
3767
  }
3768
- function Ai(e, t) {
3768
+ function Ii(e, t) {
3769
3769
  return Promise.all(
3770
- t.map((r) => (Si(e, r), r().then((i) => i.default || i)))
3771
- ).then((r) => Sn(e, ...r));
3770
+ t.map((r) => (Bi(e, r), r().then((i) => i.default || i)))
3771
+ ).then((r) => An(e, ...r));
3772
3772
  }
3773
3773
  const le = {};
3774
- function An(e) {
3774
+ function Cn(e) {
3775
3775
  if (!Me(e))
3776
3776
  return e in le ? le[e] : Promise.resolve();
3777
- const t = Bi(e);
3777
+ const t = Ai(e);
3778
3778
  return le[e] = Promise.all(
3779
3779
  t.map(
3780
- ([n, r]) => Ai(n, r)
3780
+ ([n, r]) => Ii(n, r)
3781
3781
  )
3782
3782
  ).then(() => {
3783
3783
  if (Me(e))
3784
- return An(e);
3784
+ return Cn(e);
3785
3785
  delete le[e];
3786
3786
  }), le[e];
3787
3787
  }
3788
- var It = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Hi = (e, t) => {
3788
+ var Ht = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, Pi = (e, t) => {
3789
3789
  var n = {};
3790
3790
  for (var r in e)
3791
- Ii.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3792
- if (e != null && It)
3793
- for (var r of It(e))
3794
- t.indexOf(r) < 0 && Ci.call(e, r) && (n[r] = e[r]);
3791
+ Ci.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3792
+ if (e != null && Ht)
3793
+ for (var r of Ht(e))
3794
+ t.indexOf(r) < 0 && Hi.call(e, r) && (n[r] = e[r]);
3795
3795
  return n;
3796
3796
  };
3797
- const Pi = {
3797
+ const Li = {
3798
3798
  number: {
3799
3799
  scientific: { notation: "scientific" },
3800
3800
  engineering: { notation: "engineering" },
@@ -3824,7 +3824,7 @@ const Pi = {
3824
3824
  }
3825
3825
  }
3826
3826
  };
3827
- function Li({ locale: e, id: t }) {
3827
+ function Oi({ locale: e, id: t }) {
3828
3828
  console.warn(
3829
3829
  `[svelte-i18n] The message "${t}" was not found in "${be(
3830
3830
  e
@@ -3833,93 +3833,93 @@ function Li({ locale: e, id: t }) {
3833
3833
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3834
3834
  );
3835
3835
  }
3836
- const Oi = {
3836
+ const Mi = {
3837
3837
  fallbackLocale: null,
3838
3838
  loadingDelay: 200,
3839
- formats: Pi,
3839
+ formats: Li,
3840
3840
  warnOnMissingMessages: !0,
3841
3841
  handleMissingMessage: void 0,
3842
3842
  ignoreTag: !0
3843
- }, ce = Oi;
3843
+ }, ce = Mi;
3844
3844
  function te() {
3845
3845
  return ce;
3846
3846
  }
3847
- function Mi(e) {
3848
- const t = e, { formats: n } = t, r = Hi(t, ["formats"]);
3847
+ function Ni(e) {
3848
+ const t = e, { formats: n } = t, r = Pi(t, ["formats"]);
3849
3849
  let i = e.fallbackLocale;
3850
3850
  if (e.initialLocale)
3851
3851
  try {
3852
- kn.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3852
+ wn.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3853
3853
  } catch (a) {
3854
3854
  console.warn(
3855
3855
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3856
3856
  );
3857
3857
  }
3858
- return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = Li : console.warn(
3858
+ return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = Oi : console.warn(
3859
3859
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3860
3860
  )), Object.assign(ce, r, { initialLocale: i }), n && ("number" in n && Object.assign(ce.formats.number, n.number), "date" in n && Object.assign(ce.formats.date, n.date), "time" in n && Object.assign(ce.formats.time, n.time)), $.set(i);
3861
3861
  }
3862
- const Ke = ze(!1);
3863
- var Ni = Object.defineProperty, Di = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, Ht = (e, t, n) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $i = (e, t) => {
3862
+ const Je = Re(!1);
3863
+ var Di = Object.defineProperty, zi = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, Lt = (e, t, n) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Gi = (e, t) => {
3864
3864
  for (var n in t || (t = {}))
3865
- Ri.call(t, n) && Ht(e, n, t[n]);
3866
- if (Ct)
3867
- for (var n of Ct(t))
3868
- Ui.call(t, n) && Ht(e, n, t[n]);
3865
+ Ui.call(t, n) && Lt(e, n, t[n]);
3866
+ if (Pt)
3867
+ for (var n of Pt(t))
3868
+ $i.call(t, n) && Lt(e, n, t[n]);
3869
3869
  return e;
3870
- }, Gi = (e, t) => Di(e, zi(t));
3871
- let ot;
3872
- const Ne = ze(null);
3873
- function Pt(e) {
3870
+ }, ji = (e, t) => zi(e, Ri(t));
3871
+ let lt;
3872
+ const Ne = Re(null);
3873
+ function Ot(e) {
3874
3874
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3875
3875
  }
3876
3876
  function be(e, t = te().fallbackLocale) {
3877
- const n = Pt(e);
3878
- return t ? [.../* @__PURE__ */ new Set([...n, ...Pt(t)])] : n;
3877
+ const n = Ot(e);
3878
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Ot(t)])] : n;
3879
3879
  }
3880
3880
  function R() {
3881
- return ot != null ? ot : void 0;
3881
+ return lt != null ? lt : void 0;
3882
3882
  }
3883
3883
  Ne.subscribe((e) => {
3884
- ot = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3884
+ lt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3885
3885
  });
3886
- const ji = (e) => {
3887
- if (e && wi(e) && Me(e)) {
3886
+ const Vi = (e) => {
3887
+ if (e && Si(e) && Me(e)) {
3888
3888
  const { loadingDelay: t } = te();
3889
3889
  let n;
3890
3890
  return typeof window != "undefined" && R() != null && t ? n = window.setTimeout(
3891
- () => Ke.set(!0),
3891
+ () => Je.set(!0),
3892
3892
  t
3893
- ) : Ke.set(!0), An(e).then(() => {
3893
+ ) : Je.set(!0), Cn(e).then(() => {
3894
3894
  Ne.set(e);
3895
3895
  }).finally(() => {
3896
- clearTimeout(n), Ke.set(!1);
3896
+ clearTimeout(n), Je.set(!1);
3897
3897
  });
3898
3898
  }
3899
3899
  return Ne.set(e);
3900
- }, $ = Gi($i({}, Ne), {
3901
- set: ji
3902
- }), $e = (e) => {
3900
+ }, $ = ji(Gi({}, Ne), {
3901
+ set: Vi
3902
+ }), Ge = (e) => {
3903
3903
  const t = /* @__PURE__ */ Object.create(null);
3904
3904
  return (r) => {
3905
3905
  const i = JSON.stringify(r);
3906
3906
  return i in t ? t[i] : t[i] = e(r);
3907
3907
  };
3908
3908
  };
3909
- var Vi = Object.defineProperty, De = Object.getOwnPropertySymbols, In = Object.prototype.hasOwnProperty, Cn = Object.prototype.propertyIsEnumerable, Lt = (e, t, n) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ht = (e, t) => {
3909
+ var Wi = Object.defineProperty, De = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable, Mt = (e, t, n) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, mt = (e, t) => {
3910
3910
  for (var n in t || (t = {}))
3911
- In.call(t, n) && Lt(e, n, t[n]);
3911
+ Hn.call(t, n) && Mt(e, n, t[n]);
3912
3912
  if (De)
3913
3913
  for (var n of De(t))
3914
- Cn.call(t, n) && Lt(e, n, t[n]);
3914
+ Pn.call(t, n) && Mt(e, n, t[n]);
3915
3915
  return e;
3916
3916
  }, ae = (e, t) => {
3917
3917
  var n = {};
3918
3918
  for (var r in e)
3919
- In.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3919
+ Hn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3920
3920
  if (e != null && De)
3921
3921
  for (var r of De(e))
3922
- t.indexOf(r) < 0 && Cn.call(e, r) && (n[r] = e[r]);
3922
+ t.indexOf(r) < 0 && Pn.call(e, r) && (n[r] = e[r]);
3923
3923
  return n;
3924
3924
  };
3925
3925
  const ge = (e, t) => {
@@ -3927,21 +3927,21 @@ const ge = (e, t) => {
3927
3927
  if (e in n && t in n[e])
3928
3928
  return n[e][t];
3929
3929
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3930
- }, Wi = $e(
3930
+ }, qi = Ge(
3931
3931
  (e) => {
3932
3932
  var t = e, { locale: n, format: r } = t, i = ae(t, ["locale", "format"]);
3933
3933
  if (n == null)
3934
3934
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3935
3935
  return r && (i = ge("number", r)), new Intl.NumberFormat(n, i);
3936
3936
  }
3937
- ), qi = $e(
3937
+ ), Xi = Ge(
3938
3938
  (e) => {
3939
3939
  var t = e, { locale: n, format: r } = t, i = ae(t, ["locale", "format"]);
3940
3940
  if (n == null)
3941
3941
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3942
3942
  return r ? i = ge("date", r) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(n, i);
3943
3943
  }
3944
- ), Xi = $e(
3944
+ ), Zi = Ge(
3945
3945
  (e) => {
3946
3946
  var t = e, { locale: n, format: r } = t, i = ae(t, ["locale", "format"]);
3947
3947
  if (n == null)
@@ -3950,33 +3950,33 @@ const ge = (e, t) => {
3950
3950
  );
3951
3951
  return r ? i = ge("time", r) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(n, i);
3952
3952
  }
3953
- ), Zi = (e = {}) => {
3953
+ ), Ki = (e = {}) => {
3954
3954
  var t = e, {
3955
3955
  locale: n = R()
3956
3956
  } = t, r = ae(t, [
3957
3957
  "locale"
3958
3958
  ]);
3959
- return Wi(ht({ locale: n }, r));
3960
- }, Ki = (e = {}) => {
3959
+ return qi(mt({ locale: n }, r));
3960
+ }, Ji = (e = {}) => {
3961
3961
  var t = e, {
3962
3962
  locale: n = R()
3963
3963
  } = t, r = ae(t, [
3964
3964
  "locale"
3965
3965
  ]);
3966
- return qi(ht({ locale: n }, r));
3967
- }, Ji = (e = {}) => {
3966
+ return Xi(mt({ locale: n }, r));
3967
+ }, Yi = (e = {}) => {
3968
3968
  var t = e, {
3969
3969
  locale: n = R()
3970
3970
  } = t, r = ae(t, [
3971
3971
  "locale"
3972
3972
  ]);
3973
- return Xi(ht({ locale: n }, r));
3974
- }, Yi = $e(
3973
+ return Zi(mt({ locale: n }, r));
3974
+ }, Qi = Ge(
3975
3975
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3976
- (e, t = R()) => new kn(e, t, te().formats, {
3976
+ (e, t = R()) => new wn(e, t, te().formats, {
3977
3977
  ignoreTag: te().ignoreTag
3978
3978
  })
3979
- ), Qi = (e, t = {}) => {
3979
+ ), ea = (e, t = {}) => {
3980
3980
  var n, r, i, a;
3981
3981
  let s = t;
3982
3982
  typeof e == "object" && (s = e, e = s.id);
@@ -3989,7 +3989,7 @@ const ge = (e, t) => {
3989
3989
  throw new Error(
3990
3990
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3991
3991
  );
3992
- let c = Tn(e, u);
3992
+ let c = Sn(e, u);
3993
3993
  if (!c)
3994
3994
  c = (a = (i = (r = (n = te()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? a : e;
3995
3995
  else if (typeof c != "string")
@@ -4000,7 +4000,7 @@ const ge = (e, t) => {
4000
4000
  return c;
4001
4001
  let d = c;
4002
4002
  try {
4003
- d = Yi(c, u).format(o);
4003
+ d = Qi(c, u).format(o);
4004
4004
  } catch (h) {
4005
4005
  h instanceof Error && console.warn(
4006
4006
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4008,26 +4008,26 @@ const ge = (e, t) => {
4008
4008
  );
4009
4009
  }
4010
4010
  return d;
4011
- }, ea = (e, t) => Ji(t).format(e), ta = (e, t) => Ki(t).format(e), na = (e, t) => Zi(t).format(e), ra = (e, t = R()) => Tn(e, t), ia = re([$, ie], () => Qi);
4012
- re([$], () => ea);
4011
+ }, ta = (e, t) => Yi(t).format(e), na = (e, t) => Ji(t).format(e), ra = (e, t) => Ki(t).format(e), ia = (e, t = R()) => Sn(e, t), aa = re([$, ie], () => ea);
4013
4012
  re([$], () => ta);
4014
4013
  re([$], () => na);
4015
- re([$, ie], () => ra);
4016
- const aa = "EMWCashierTranslations", sa = 1, ne = "feTranslations", Hn = () => typeof indexedDB != "undefined";
4017
- function Pn() {
4014
+ re([$], () => ra);
4015
+ re([$, ie], () => ia);
4016
+ const sa = "EMWCashierTranslations", oa = 1, ne = "feTranslations", Ln = () => typeof indexedDB != "undefined";
4017
+ function On() {
4018
4018
  return new Promise((e, t) => {
4019
- const n = indexedDB.open(aa, sa);
4019
+ const n = indexedDB.open(sa, oa);
4020
4020
  n.onupgradeneeded = () => {
4021
4021
  n.result.objectStoreNames.contains(ne) || n.result.createObjectStore(ne, { keyPath: "lang" });
4022
4022
  }, n.onsuccess = () => e(n.result), n.onerror = () => t(n.error);
4023
4023
  });
4024
4024
  }
4025
- function Ot(e) {
4025
+ function Nt(e) {
4026
4026
  return se(this, null, function* () {
4027
- if (!Hn())
4027
+ if (!Ln())
4028
4028
  return null;
4029
4029
  try {
4030
- const t = yield Pn();
4030
+ const t = yield On();
4031
4031
  return yield new Promise((n, r) => {
4032
4032
  const i = t.transaction(ne, "readonly").objectStore(ne).get(e);
4033
4033
  i.onsuccess = () => n(i.result || null), i.onerror = () => r(i.error);
@@ -4037,11 +4037,11 @@ function Ot(e) {
4037
4037
  }
4038
4038
  });
4039
4039
  }
4040
- function oa(e, t, n) {
4040
+ function la(e, t, n) {
4041
4041
  return se(this, null, function* () {
4042
- if (Hn())
4042
+ if (Ln())
4043
4043
  try {
4044
- const r = yield Pn();
4044
+ const r = yield On();
4045
4045
  yield new Promise((i, a) => {
4046
4046
  const s = r.transaction(ne, "readwrite");
4047
4047
  s.objectStore(ne).put({ lang: e, fileUrl: t, translations: n }), s.oncomplete = () => i(), s.onerror = () => a(s.error);
@@ -4051,54 +4051,60 @@ function oa(e, t, n) {
4051
4051
  }
4052
4052
  });
4053
4053
  }
4054
- function la(e) {
4054
+ function ua(e) {
4055
4055
  return Object.keys(e || {}).reduce((t, n) => (t[n] = e[n], t), {});
4056
4056
  }
4057
- const Mt = (e) => {
4057
+ const Dt = (e) => {
4058
4058
  const t = new URL(e);
4059
4059
  return t.searchParams.set("_", Date.now().toString()), t;
4060
4060
  };
4061
- function Ga(e, t) {
4061
+ function Wa(e, t) {
4062
4062
  return se(this, null, function* () {
4063
4063
  try {
4064
4064
  const { url: n, language: r } = yield fetch(
4065
- Mt(`${e}/api/payment/v1/localization/${t}/url`)
4066
- ).then((u) => u.json()), i = r || t, a = yield Ot(i);
4065
+ Dt(`${e}/api/payment/v1/localization/${t}/url`)
4066
+ ).then((u) => u.json()), i = r || t, a = yield Nt(i);
4067
4067
  if (!n)
4068
4068
  return a ? { lang: i, translations: a.translations } : null;
4069
4069
  if ((a == null ? void 0 : a.fileUrl) === n)
4070
4070
  return { lang: i, translations: a.translations };
4071
- const s = yield fetch(Mt(n)).then((u) => u.json()), o = la(s);
4072
- return yield oa(i, n, o), { lang: i, translations: o };
4071
+ const s = yield fetch(Dt(n)).then((u) => u.json()), o = ua(s);
4072
+ return yield la(i, n, o), { lang: i, translations: o };
4073
4073
  } catch (n) {
4074
4074
  console.error("Failed to resolve remote FE translations, falling back to cache.", n);
4075
- const r = yield Ot(t);
4075
+ const r = yield Nt(t);
4076
4076
  return r ? { lang: t, translations: r.translations } : null;
4077
4077
  }
4078
4078
  });
4079
4079
  }
4080
- const ua = "FE.errorGeneralText", ca = (e) => /^[A-Za-z][A-Za-z0-9_]*$/.test(e), da = (e) => /\s/.test(e), Ln = (e) => e == null ? "" : String(e).trim();
4081
- function On(e, t) {
4082
- return [e, t].map(Ln).find(ca) || "";
4080
+ const ca = "FE.errorGeneralText", da = (e) => /^[A-Za-z][A-Za-z0-9_]*$/.test(e), ze = (e) => /^\d+$/.test(e), Mn = (e) => da(e) || ze(e), ha = (e) => /\s/.test(e), ft = (e) => e == null ? "" : String(e).trim();
4081
+ function ma(e, t) {
4082
+ return [e, t].map(ft).find(Mn) || "";
4083
4083
  }
4084
- function ha(e) {
4084
+ function fa(e) {
4085
4085
  if (!e)
4086
4086
  return [];
4087
+ if (ze(e))
4088
+ return [e, `FE.${e}`];
4087
4089
  const t = `FE.${e.charAt(0).toLowerCase()}${e.slice(1)}`, n = `FE.${e}`;
4088
4090
  return t === n ? [n] : [t, n];
4089
4091
  }
4090
- function ma({ code: e, message: t }, n, r = ua) {
4091
- const i = On(e, t), a = ha(i).map((s) => ({ key: s, text: n(s) })).find(({ key: s, text: o }) => o && o !== s);
4092
- return a ? a.text : [t, e].map(Ln).find(da) || n(r);
4092
+ function ga(e, t) {
4093
+ const n = [e, t].map(ft).filter(Mn);
4094
+ return [...n.filter(ze), ...n.filter((r) => !ze(r))];
4095
+ }
4096
+ function pa({ code: e, message: t }, n, r = ca) {
4097
+ const i = ga(e, t).flatMap(fa).map((a) => ({ key: a, text: n(a) })).find(({ key: a, text: s }) => s && s !== a);
4098
+ return i ? i.text : [t, e].map(ft).find(ha) || n(r);
4093
4099
  }
4094
4100
  const q = "__WIDGET_GLOBAL_STYLE_CACHE__";
4095
- function fa(e, t) {
4101
+ function Ea(e, t) {
4096
4102
  if (e) {
4097
4103
  const n = document.createElement("style");
4098
4104
  n.innerHTML = t, e.appendChild(n);
4099
4105
  }
4100
4106
  }
4101
- function ga(e, t) {
4107
+ function ba(e, t) {
4102
4108
  if (!e || !t)
4103
4109
  return;
4104
4110
  const n = new URL(t);
@@ -4109,12 +4115,12 @@ function ga(e, t) {
4109
4115
  console.error("There was an error while trying to load client styling from URL", r);
4110
4116
  });
4111
4117
  }
4112
- function pa(e, t, n, r = !1) {
4118
+ function ya(e, t, n, r = !1) {
4113
4119
  if (!window.emMessageBus)
4114
4120
  return;
4115
4121
  if (!("adoptedStyleSheets" in Document.prototype) || !r)
4116
- return n = Ea(e, t), n;
4117
- window[q] || (window[q] = {}), n = ba(e, t);
4122
+ return n = va(e, t), n;
4123
+ window[q] || (window[q] = {}), n = Fa(e, t);
4118
4124
  const a = n.unsubscribe.bind(n), s = () => {
4119
4125
  if (window[q][t]) {
4120
4126
  const o = window[q][t];
@@ -4124,13 +4130,13 @@ function pa(e, t, n, r = !1) {
4124
4130
  };
4125
4131
  return n.unsubscribe = s, n;
4126
4132
  }
4127
- function Ea(e, t) {
4133
+ function va(e, t) {
4128
4134
  const n = document.createElement("style");
4129
4135
  return window.emMessageBus.subscribe(t, (r) => {
4130
4136
  e && (n.innerHTML = r, e.appendChild(n));
4131
4137
  });
4132
4138
  }
4133
- function ba(e, t) {
4139
+ function Fa(e, t) {
4134
4140
  return window.emMessageBus.subscribe(t, (n) => {
4135
4141
  if (!e)
4136
4142
  return;
@@ -4144,18 +4150,18 @@ function ba(e, t) {
4144
4150
  s.includes(a) || (r.adoptedStyleSheets = [...s, a]);
4145
4151
  });
4146
4152
  }
4147
- const pe = typeof window != "undefined" && window.__EMWCashierI18n || { dictionary: ie, locale: $, init: Mi, addMessages: Sn, format: ia };
4153
+ const pe = typeof window != "undefined" && window.__EMWCashierI18n || { dictionary: ie, locale: $, init: Ni, addMessages: An, format: aa };
4148
4154
  typeof window != "undefined" && !window.__EMWCashierI18n && (window.__EMWCashierI18n = pe);
4149
- const ya = pe.format;
4150
- function Nt(e, t) {
4155
+ const xa = pe.format;
4156
+ function zt(e, t) {
4151
4157
  pe.addMessages(e, t);
4152
4158
  }
4153
- function va(e) {
4159
+ function _a(e) {
4154
4160
  pe.init({
4155
4161
  fallbackLocale: "en"
4156
4162
  }), pe.locale.set(e);
4157
4163
  }
4158
- const Dt = {
4164
+ const Rt = {
4159
4165
  en: {
4160
4166
  "FE.DailyTransactionFrequencyLimitReached": "The transaction cannot be performed at the moment, please try again later.",
4161
4167
  "FE.vendorMicroserviceCommunicationError": "We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",
@@ -4590,15 +4596,15 @@ const Dt = {
4590
4596
  "FE.CardTokenIsBlocked": "Kart tokeni bloklanıb"
4591
4597
  }
4592
4598
  };
4593
- function Fa(e) {
4594
- Wn(e, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.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}');
4599
+ function ka(e) {
4600
+ qn(e, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.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}');
4595
4601
  }
4596
- const xa = (e) => ({}), zt = (e) => ({}), _a = (e) => ({}), Rt = (e) => ({}), ka = (e) => ({}), Ut = (e) => ({}), Ta = (e) => ({}), $t = (e) => ({});
4597
- function Gt(e) {
4602
+ const Ta = (e) => ({}), Ut = (e) => ({}), wa = (e) => ({}), $t = (e) => ({}), Sa = (e) => ({}), Gt = (e) => ({}), Ba = (e) => ({}), jt = (e) => ({});
4603
+ function Vt(e) {
4598
4604
  let t, n;
4599
4605
  return {
4600
4606
  c() {
4601
- t = C("ui-image"), yt(t.src, n = `${/*assetsurl*/
4607
+ t = C("ui-image"), Ft(t.src, n = `${/*assetsurl*/
4602
4608
  e[0]}/error-general-icon.png`) || Te(t, "src", n), Te(t, "width", "300px"), Te(t, "alt", "error");
4603
4609
  },
4604
4610
  m(r, i) {
@@ -4606,7 +4612,7 @@ function Gt(e) {
4606
4612
  },
4607
4613
  p(r, i) {
4608
4614
  i & /*assetsurl*/
4609
- 1 && !yt(t.src, n = `${/*assetsurl*/
4615
+ 1 && !Ft(t.src, n = `${/*assetsurl*/
4610
4616
  r[0]}/error-general-icon.png`) && Te(t, "src", n);
4611
4617
  },
4612
4618
  d(r) {
@@ -4614,39 +4620,39 @@ function Gt(e) {
4614
4620
  }
4615
4621
  };
4616
4622
  }
4617
- function wa(e) {
4623
+ function Aa(e) {
4618
4624
  let t, n = (
4619
4625
  /*assetsurl*/
4620
- e[0] && Gt(e)
4626
+ e[0] && Vt(e)
4621
4627
  );
4622
4628
  return {
4623
4629
  c() {
4624
- n && n.c(), t = ct();
4630
+ n && n.c(), t = dt();
4625
4631
  },
4626
4632
  m(r, i) {
4627
4633
  n && n.m(r, i), S(r, t, i);
4628
4634
  },
4629
4635
  p(r, i) {
4630
4636
  /*assetsurl*/
4631
- r[0] ? n ? n.p(r, i) : (n = Gt(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
4637
+ r[0] ? n ? n.p(r, i) : (n = Vt(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
4632
4638
  },
4633
4639
  d(r) {
4634
4640
  r && T(t), n && n.d(r);
4635
4641
  }
4636
4642
  };
4637
4643
  }
4638
- function jt(e) {
4644
+ function Wt(e) {
4639
4645
  let t;
4640
4646
  function n(a, s) {
4641
4647
  return (
4642
4648
  /*depositWageringAmount*/
4643
- a[3] < 0 ? Ba : Sa
4649
+ a[3] < 0 ? Ca : Ia
4644
4650
  );
4645
4651
  }
4646
4652
  let r = n(e), i = r(e);
4647
4653
  return {
4648
4654
  c() {
4649
- i.c(), t = ct();
4655
+ i.c(), t = dt();
4650
4656
  },
4651
4657
  m(a, s) {
4652
4658
  i.m(a, s), S(a, t, s);
@@ -4659,13 +4665,13 @@ function jt(e) {
4659
4665
  }
4660
4666
  };
4661
4667
  }
4662
- function Sa(e) {
4668
+ function Ia(e) {
4663
4669
  let t, n = (
4664
4670
  /*$_*/
4665
4671
  e[2]("FE.depositWageringLimitText") + ""
4666
4672
  ), r, i, a = (
4667
4673
  /*depositWageringAmount*/
4668
- e[3] > 0 && Vt(e)
4674
+ e[3] > 0 && qt(e)
4669
4675
  );
4670
4676
  return {
4671
4677
  c() {
@@ -4678,14 +4684,14 @@ function Sa(e) {
4678
4684
  o & /*$_*/
4679
4685
  4 && n !== (n = /*$_*/
4680
4686
  s[2]("FE.depositWageringLimitText") + "") && J(r, n), /*depositWageringAmount*/
4681
- s[3] > 0 ? a ? a.p(s, o) : (a = Vt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4687
+ s[3] > 0 ? a ? a.p(s, o) : (a = qt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4682
4688
  },
4683
4689
  d(s) {
4684
4690
  s && T(t), a && a.d();
4685
4691
  }
4686
4692
  };
4687
4693
  }
4688
- function Ba(e) {
4694
+ function Ca(e) {
4689
4695
  let t, n, r = (
4690
4696
  /*$_*/
4691
4697
  e[2]("FE.depositWageringFetching") + ""
@@ -4707,7 +4713,7 @@ function Ba(e) {
4707
4713
  }
4708
4714
  };
4709
4715
  }
4710
- function Vt(e) {
4716
+ function qt(e) {
4711
4717
  let t, n, r;
4712
4718
  return {
4713
4719
  c() {
@@ -4740,17 +4746,17 @@ function Vt(e) {
4740
4746
  }
4741
4747
  };
4742
4748
  }
4743
- function Aa(e) {
4749
+ function Ha(e) {
4744
4750
  let t, n, r, i, a = (
4745
4751
  /*resolvedErrorCode*/
4746
- e[6] == "DepositWageringLimit" && jt(e)
4752
+ e[6] == "DepositWageringLimit" && Wt(e)
4747
4753
  );
4748
4754
  return {
4749
4755
  c() {
4750
4756
  t = C("span"), n = z(
4751
4757
  /*shownError*/
4752
4758
  e[5]
4753
- ), r = Z(), a && a.c(), i = ct(), M(t, "class", "CashierErrorText");
4759
+ ), r = Z(), a && a.c(), i = dt(), M(t, "class", "CashierErrorText");
4754
4760
  },
4755
4761
  m(s, o) {
4756
4762
  S(s, t, o), A(t, n), S(s, r, o), a && a.m(s, o), S(s, i, o);
@@ -4762,14 +4768,14 @@ function Aa(e) {
4762
4768
  /*shownError*/
4763
4769
  s[5]
4764
4770
  ), /*resolvedErrorCode*/
4765
- s[6] == "DepositWageringLimit" ? a ? a.p(s, o) : (a = jt(s), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null);
4771
+ s[6] == "DepositWageringLimit" ? a ? a.p(s, o) : (a = Wt(s), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null);
4766
4772
  },
4767
4773
  d(s) {
4768
4774
  s && (T(t), T(r), T(i)), a && a.d(s);
4769
4775
  }
4770
4776
  };
4771
4777
  }
4772
- function Ia(e) {
4778
+ function Pa(e) {
4773
4779
  let t, n, r = (
4774
4780
  /*$_*/
4775
4781
  e[2]("FE.errorGeneralButton") + ""
@@ -4779,7 +4785,7 @@ function Ia(e) {
4779
4785
  t = C("button"), n = C("span"), i = z(r), M(t, "class", "CashierErrorButton");
4780
4786
  },
4781
4787
  m(o, u) {
4782
- S(o, t, u), A(t, n), A(n, i), a || (s = Xn(
4788
+ S(o, t, u), A(t, n), A(n, i), a || (s = Zn(
4783
4789
  t,
4784
4790
  "click",
4785
4791
  /*close*/
@@ -4796,7 +4802,7 @@ function Ia(e) {
4796
4802
  }
4797
4803
  };
4798
4804
  }
4799
- function Ca(e) {
4805
+ function La(e) {
4800
4806
  let t, n, r, i, a, s;
4801
4807
  const o = (
4802
4808
  /*#slots*/
@@ -4806,8 +4812,8 @@ function Ca(e) {
4806
4812
  e,
4807
4813
  /*$$scope*/
4808
4814
  e[16],
4809
- $t
4810
- ), l = u || wa(e), c = (
4815
+ jt
4816
+ ), l = u || Aa(e), c = (
4811
4817
  /*#slots*/
4812
4818
  e[17].title
4813
4819
  ), d = Fe(
@@ -4815,7 +4821,7 @@ function Ca(e) {
4815
4821
  e,
4816
4822
  /*$$scope*/
4817
4823
  e[16],
4818
- Ut
4824
+ Gt
4819
4825
  ), h = (
4820
4826
  /*#slots*/
4821
4827
  e[17].text
@@ -4824,8 +4830,8 @@ function Ca(e) {
4824
4830
  e,
4825
4831
  /*$$scope*/
4826
4832
  e[16],
4827
- Rt
4828
- ), f = g || Aa(e), y = (
4833
+ $t
4834
+ ), f = g || Ha(e), y = (
4829
4835
  /*#slots*/
4830
4836
  e[17].button
4831
4837
  ), x = Fe(
@@ -4833,8 +4839,8 @@ function Ca(e) {
4833
4839
  e,
4834
4840
  /*$$scope*/
4835
4841
  e[16],
4836
- zt
4837
- ), E = x || Ia(e);
4842
+ Ut
4843
+ ), E = x || Pa(e);
4838
4844
  return {
4839
4845
  c() {
4840
4846
  t = C("div"), n = C("div"), l && l.c(), r = Z(), d && d.c(), i = Z(), f && f.c(), a = Z(), E && E.c(), M(n, "class", "CashierErrorContent"), M(t, "class", "CashierError");
@@ -4855,12 +4861,12 @@ function Ca(e) {
4855
4861
  /*$$scope*/
4856
4862
  m[16],
4857
4863
  v,
4858
- Ta
4864
+ Ba
4859
4865
  ) : ke(
4860
4866
  /*$$scope*/
4861
4867
  m[16]
4862
4868
  ),
4863
- $t
4869
+ jt
4864
4870
  ) : l && l.p && (!s || v & /*assetsurl*/
4865
4871
  1) && l.p(m, s ? v : -1), d && d.p && (!s || v & /*$$scope*/
4866
4872
  65536) && _e(
@@ -4874,12 +4880,12 @@ function Ca(e) {
4874
4880
  /*$$scope*/
4875
4881
  m[16],
4876
4882
  v,
4877
- ka
4883
+ Sa
4878
4884
  ) : ke(
4879
4885
  /*$$scope*/
4880
4886
  m[16]
4881
4887
  ),
4882
- Ut
4888
+ Gt
4883
4889
  ), g ? g.p && (!s || v & /*$$scope*/
4884
4890
  65536) && _e(
4885
4891
  g,
@@ -4892,12 +4898,12 @@ function Ca(e) {
4892
4898
  /*$$scope*/
4893
4899
  m[16],
4894
4900
  v,
4895
- _a
4901
+ wa
4896
4902
  ) : ke(
4897
4903
  /*$$scope*/
4898
4904
  m[16]
4899
4905
  ),
4900
- Rt
4906
+ $t
4901
4907
  ) : f && f.p && (!s || v & /*$_, depositWageringAmount, depositWageringCurrency, resolvedErrorCode, shownError*/
4902
4908
  124) && f.p(m, s ? v : -1), x ? x.p && (!s || v & /*$$scope*/
4903
4909
  65536) && _e(
@@ -4911,12 +4917,12 @@ function Ca(e) {
4911
4917
  /*$$scope*/
4912
4918
  m[16],
4913
4919
  v,
4914
- xa
4920
+ Ta
4915
4921
  ) : ke(
4916
4922
  /*$$scope*/
4917
4923
  m[16]
4918
4924
  ),
4919
- zt
4925
+ Ut
4920
4926
  ) : E && E.p && (!s || v & /*$_*/
4921
4927
  4) && E.p(m, s ? v : -1);
4922
4928
  },
@@ -4931,27 +4937,27 @@ function Ca(e) {
4931
4937
  }
4932
4938
  };
4933
4939
  }
4934
- function Ha(e, t, n) {
4940
+ function Oa(e, t, n) {
4935
4941
  let r, i, a;
4936
- Vn(e, ya, (p) => n(2, a = p));
4942
+ Wn(e, xa, (p) => n(2, a = p));
4937
4943
  let { $$slots: s = {}, $$scope: o } = t, { assetsurl: u = "" } = t, { lang: l = "en" } = t, { errorcode: c = "" } = t, { errormessage: d = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: g = "" } = t, { translationurl: f = "" } = t, { mbsource: y = "" } = t, { usecashiertranslations: x = "false" } = t, E, m, v = -1, H;
4938
4944
  const O = () => {
4939
- va(l);
4945
+ _a(l);
4940
4946
  }, G = () => {
4941
4947
  fetch(f).then((p) => p.json()).then((p) => {
4942
- Object.keys(p).forEach((ft) => {
4943
- Nt(ft, p[ft]);
4948
+ Object.keys(p).forEach((pt) => {
4949
+ zt(pt, p[pt]);
4944
4950
  });
4945
4951
  }).catch((p) => {
4946
4952
  console.log(p);
4947
4953
  });
4948
4954
  };
4949
- x == "false" && Object.keys(Dt).forEach((p) => {
4950
- Nt(p, Dt[p]);
4955
+ x == "false" && Object.keys(Rt).forEach((p) => {
4956
+ zt(p, Rt[p]);
4951
4957
  });
4952
4958
  const ye = () => {
4953
4959
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4954
- }, mt = (p) => {
4960
+ }, gt = (p) => {
4955
4961
  if (p.data)
4956
4962
  switch (p.data.type) {
4957
4963
  case "DepositWageringAmount":
@@ -4959,11 +4965,11 @@ function Ha(e, t, n) {
4959
4965
  break;
4960
4966
  }
4961
4967
  };
4962
- nr(() => (window.addEventListener("message", mt, !1), () => {
4963
- window.removeEventListener("message", mt);
4968
+ rr(() => (window.addEventListener("message", gt, !1), () => {
4969
+ window.removeEventListener("message", gt);
4964
4970
  }));
4965
- function Nn(p) {
4966
- Ye[p ? "unshift" : "push"](() => {
4971
+ function Dn(p) {
4972
+ Qe[p ? "unshift" : "push"](() => {
4967
4973
  E = p, n(1, E);
4968
4974
  });
4969
4975
  }
@@ -4972,12 +4978,12 @@ function Ha(e, t, n) {
4972
4978
  }, e.$$.update = () => {
4973
4979
  e.$$.dirty & /*lang*/
4974
4980
  256 && l && O(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4975
- 2050 && h && E && fa(E, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4976
- 4098 && g && E && ga(E, g), e.$$.dirty & /*mbsource, customStylingContainer*/
4977
- 16386 && y && E && pa(E, `${y}.Style`, m), e.$$.dirty & /*usecashiertranslations, translationurl*/
4981
+ 2050 && h && E && Ea(E, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4982
+ 4098 && g && E && ba(E, g), e.$$.dirty & /*mbsource, customStylingContainer*/
4983
+ 16386 && y && E && ya(E, `${y}.Style`, m), e.$$.dirty & /*usecashiertranslations, translationurl*/
4978
4984
  40960 && x == "false" && f && G(), e.$$.dirty & /*errorcode, errormessage*/
4979
- 1536 && n(6, r = On(c, d)), e.$$.dirty & /*errorcode, errormessage, $_*/
4980
- 1540 && n(5, i = ma({ code: c, message: d }, a));
4985
+ 1536 && n(6, r = ma(c, d)), e.$$.dirty & /*errorcode, errormessage, $_*/
4986
+ 1540 && n(5, i = pa({ code: c, message: d }, a));
4981
4987
  }, [
4982
4988
  u,
4983
4989
  E,
@@ -4997,17 +5003,17 @@ function Ha(e, t, n) {
4997
5003
  x,
4998
5004
  o,
4999
5005
  s,
5000
- Nn
5006
+ Dn
5001
5007
  ];
5002
5008
  }
5003
- class Mn extends hr {
5009
+ class Nn extends mr {
5004
5010
  constructor(t) {
5005
- super(), cr(
5011
+ super(), dr(
5006
5012
  this,
5007
5013
  t,
5008
- Ha,
5009
- Ca,
5010
- Xt,
5014
+ Oa,
5015
+ La,
5016
+ Kt,
5011
5017
  {
5012
5018
  assetsurl: 0,
5013
5019
  lang: 8,
@@ -5019,7 +5025,7 @@ class Mn extends hr {
5019
5025
  mbsource: 14,
5020
5026
  usecashiertranslations: 15
5021
5027
  },
5022
- Fa
5028
+ ka
5023
5029
  );
5024
5030
  }
5025
5031
  get assetsurl() {
@@ -5077,56 +5083,56 @@ class Mn extends hr {
5077
5083
  this.$$set({ usecashiertranslations: t }), P();
5078
5084
  }
5079
5085
  }
5080
- dr(Mn, { assetsurl: {}, lang: {}, errorcode: {}, errormessage: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, usecashiertranslations: {} }, ["icon", "title", "text", "button"], [], !0);
5081
- const ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5086
+ hr(Nn, { assetsurl: {}, lang: {}, errorcode: {}, errormessage: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, usecashiertranslations: {} }, ["icon", "title", "text", "button"], [], !0);
5087
+ const qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5082
5088
  __proto__: null,
5083
- default: Mn
5089
+ default: Nn
5084
5090
  }, Symbol.toStringTag, { value: "Module" }));
5085
5091
  export {
5086
- ia as $,
5092
+ aa as $,
5087
5093
  Z as A,
5088
- Ra as B,
5094
+ Ga as B,
5089
5095
  me as C,
5090
- za as D,
5096
+ $a as D,
5091
5097
  J as E,
5092
5098
  z as F,
5093
5099
  Te as G,
5094
5100
  U as H,
5095
- Xn as I,
5096
- ct as J,
5097
- Ua as K,
5098
- Oa as L,
5099
- Ma as M,
5100
- yt as N,
5101
- fa as O,
5102
- ga as P,
5103
- pa as Q,
5104
- ja as R,
5105
- hr as S,
5106
- Sn as a,
5107
- Mi as b,
5101
+ Zn as I,
5102
+ dt as J,
5103
+ ja as K,
5104
+ Da as L,
5105
+ za as M,
5106
+ Ft as N,
5107
+ Ea as O,
5108
+ ba as P,
5109
+ ya as Q,
5110
+ qa as R,
5111
+ mr as S,
5112
+ An as a,
5113
+ Ni as b,
5108
5114
  $ as c,
5109
5115
  ie as d,
5110
- $a as e,
5111
- cr as f,
5112
- gr as g,
5116
+ Va as e,
5117
+ dr as f,
5118
+ pr as g,
5113
5119
  P as h,
5114
- Wt as i,
5115
- dr as j,
5116
- Wn as k,
5120
+ Xt as i,
5121
+ hr as j,
5122
+ qn as k,
5117
5123
  T as l,
5118
5124
  S as m,
5119
5125
  I as n,
5120
5126
  C as o,
5121
5127
  M as p,
5122
- Vn as q,
5123
- nr as r,
5124
- Xt as s,
5125
- Ga as t,
5126
- Ye as u,
5128
+ Wn as q,
5129
+ rr as r,
5130
+ Kt as s,
5131
+ Wa as t,
5132
+ Qe as u,
5127
5133
  ue as v,
5128
- Na as w,
5134
+ Ra as w,
5129
5135
  we as x,
5130
- Da as y,
5136
+ Ua as y,
5131
5137
  A as z
5132
5138
  };