@everymatrix/cashier-receipt-page-nd 1.69.190 → 1.69.304

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,36 +1,36 @@
1
- var vr = Object.defineProperty, xr = Object.defineProperties;
1
+ var Er = Object.defineProperty, xr = Object.defineProperties;
2
2
  var Tr = Object.getOwnPropertyDescriptors;
3
- var ot = Object.getOwnPropertySymbols;
3
+ var at = Object.getOwnPropertySymbols;
4
4
  var Hr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable;
5
- var Me = (e, t, r) => t in e ? vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
5
+ var Ne = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Hr.call(t, r) && Me(e, r, t[r]);
8
- if (ot)
9
- for (var r of ot(t))
10
- wr.call(t, r) && Me(e, r, t[r]);
7
+ Hr.call(t, r) && Ne(e, r, t[r]);
8
+ if (at)
9
+ for (var r of at(t))
10
+ wr.call(t, r) && Ne(e, r, t[r]);
11
11
  return e;
12
12
  }, ut = (e, t) => xr(e, Tr(t));
13
- var w = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var w = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var lt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
- a(r.next(h));
17
+ o(r.next(h));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
- }, o = (h) => {
21
+ }, a = (h) => {
22
22
  try {
23
- a(r.throw(h));
23
+ o(r.throw(h));
24
24
  } catch (u) {
25
25
  i(u);
26
26
  }
27
- }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
- a((r = r.apply(e, t)).next());
27
+ }, o = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, a);
28
+ o((r = r.apply(e, t)).next());
29
29
  });
30
30
  import "../stencil/ui-image-CP8Lp7fB.js";
31
31
  function S() {
32
32
  }
33
- const Lt = (e) => e;
33
+ const Mt = (e) => e;
34
34
  function Sr(e, t) {
35
35
  for (const r in t)
36
36
  e[r] = t[r];
@@ -39,16 +39,16 @@ function Sr(e, t) {
39
39
  e
40
40
  );
41
41
  }
42
- function Mt(e) {
42
+ function Nt(e) {
43
43
  return e();
44
44
  }
45
45
  function ht() {
46
46
  return /* @__PURE__ */ Object.create(null);
47
47
  }
48
48
  function R(e) {
49
- e.forEach(Mt);
49
+ e.forEach(Nt);
50
50
  }
51
- function ae(e) {
51
+ function oe(e) {
52
52
  return typeof e == "function";
53
53
  }
54
54
  function $t(e, t) {
@@ -58,7 +58,7 @@ let ce;
58
58
  function ct(e, t) {
59
59
  return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
60
60
  }
61
- function Br(e) {
61
+ function Ar(e) {
62
62
  return Object.keys(e).length === 0;
63
63
  }
64
64
  function Rt(e, ...t) {
@@ -70,7 +70,7 @@ function Rt(e, ...t) {
70
70
  const r = e.subscribe(...t);
71
71
  return r.unsubscribe ? () => r.unsubscribe() : r;
72
72
  }
73
- function Ar(e, t, r) {
73
+ function Br(e, t, r) {
74
74
  e.$$.on_destroy.push(Rt(t, r));
75
75
  }
76
76
  function fe(e, t, r, n) {
@@ -88,9 +88,9 @@ function me(e, t, r, n) {
88
88
  if (t.dirty === void 0)
89
89
  return i;
90
90
  if (typeof i == "object") {
91
- const s = [], o = Math.max(t.dirty.length, i.length);
92
- for (let a = 0; a < o; a += 1)
93
- s[a] = t.dirty[a] | i[a];
91
+ const s = [], a = Math.max(t.dirty.length, i.length);
92
+ for (let o = 0; o < a; o += 1)
93
+ s[o] = t.dirty[o] | i[o];
94
94
  return s;
95
95
  }
96
96
  return t.dirty | i;
@@ -99,8 +99,8 @@ function me(e, t, r, n) {
99
99
  }
100
100
  function de(e, t, r, n, i, s) {
101
101
  if (i) {
102
- const o = Dt(t, r, n, s);
103
- e.p(o, i);
102
+ const a = Dt(t, r, n, s);
103
+ e.p(a, i);
104
104
  }
105
105
  }
106
106
  function pe(e) {
@@ -113,16 +113,16 @@ function pe(e) {
113
113
  return -1;
114
114
  }
115
115
  const Ut = typeof window != "undefined";
116
- let Gt = Ut ? () => window.performance.now() : () => Date.now(), tt = Ut ? (e) => requestAnimationFrame(e) : S;
116
+ let kt = Ut ? () => window.performance.now() : () => Date.now(), tt = Ut ? (e) => requestAnimationFrame(e) : S;
117
117
  const F = /* @__PURE__ */ new Set();
118
- function kt(e) {
118
+ function Gt(e) {
119
119
  F.forEach((t) => {
120
120
  t.c(e) || (F.delete(t), t.f());
121
- }), F.size !== 0 && tt(kt);
121
+ }), F.size !== 0 && tt(Gt);
122
122
  }
123
123
  function Ft(e) {
124
124
  let t;
125
- return F.size === 0 && tt(kt), {
125
+ return F.size === 0 && tt(Gt), {
126
126
  promise: new Promise((r) => {
127
127
  F.add(t = { c: e, f: r });
128
128
  }),
@@ -131,14 +131,14 @@ function Ft(e) {
131
131
  }
132
132
  };
133
133
  }
134
- function I(e, t) {
134
+ function C(e, t) {
135
135
  e.appendChild(t);
136
136
  }
137
137
  function Pr(e, t, r) {
138
138
  const n = rt(e);
139
139
  if (!n.getElementById(t)) {
140
140
  const i = O("style");
141
- i.id = t, i.textContent = r, jt(n, i);
141
+ i.id = t, i.textContent = r, zt(n, i);
142
142
  }
143
143
  }
144
144
  function rt(e) {
@@ -153,10 +153,10 @@ function rt(e) {
153
153
  }
154
154
  function Or(e) {
155
155
  const t = O("style");
156
- return t.textContent = "/* empty */", jt(rt(e), t), t.sheet;
156
+ return t.textContent = "/* empty */", zt(rt(e), t), t.sheet;
157
157
  }
158
- function jt(e, t) {
159
- return I(
158
+ function zt(e, t) {
159
+ return C(
160
160
  /** @type {Document} */
161
161
  e.head || e,
162
162
  t
@@ -165,17 +165,17 @@ function jt(e, t) {
165
165
  function J(e, t, r) {
166
166
  e.insertBefore(t, r || null);
167
167
  }
168
- function L(e) {
168
+ function M(e) {
169
169
  e.parentNode && e.parentNode.removeChild(e);
170
170
  }
171
- function os(e, t) {
171
+ function as(e, t) {
172
172
  for (let r = 0; r < e.length; r += 1)
173
173
  e[r] && e[r].d(t);
174
174
  }
175
175
  function O(e) {
176
176
  return document.createElement(e);
177
177
  }
178
- function as(e) {
178
+ function os(e) {
179
179
  return document.createElementNS("http://www.w3.org/2000/svg", e);
180
180
  }
181
181
  function Oe(e) {
@@ -184,30 +184,30 @@ function Oe(e) {
184
184
  function $e() {
185
185
  return Oe(" ");
186
186
  }
187
- function Ir() {
187
+ function Cr() {
188
188
  return Oe("");
189
189
  }
190
- function Cr(e, t, r, n) {
190
+ function Ir(e, t, r, n) {
191
191
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
192
192
  }
193
- function z(e, t, r) {
193
+ function j(e, t, r) {
194
194
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
195
195
  }
196
196
  function ge(e, t, r) {
197
197
  const n = t.toLowerCase();
198
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : z(e, t, r);
198
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : j(e, t, r);
199
199
  }
200
- function Nr(e) {
200
+ function Lr(e) {
201
201
  return Array.from(e.childNodes);
202
202
  }
203
- function zt(e, t) {
203
+ function jt(e, t) {
204
204
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
205
205
  t);
206
206
  }
207
- function Lr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
207
+ function Mr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
208
208
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
209
209
  }
210
- function Mr(e) {
210
+ function Nr(e) {
211
211
  const t = {};
212
212
  return e.childNodes.forEach(
213
213
  /** @param {Element} node */
@@ -228,22 +228,22 @@ function Rr(e, t) {
228
228
  const r = { stylesheet: Or(t), rules: {} };
229
229
  return Te.set(e, r), r;
230
230
  }
231
- function Vt(e, t, r, n, i, s, o, a = 0) {
231
+ function Vt(e, t, r, n, i, s, a, o = 0) {
232
232
  const h = 16.666 / n;
233
233
  let u = `{
234
234
  `;
235
- for (let v = 0; v <= 1; v += h) {
236
- const E = t + (r - t) * s(v);
237
- u += v * 100 + `%{${o(E, 1 - E)}}
235
+ for (let E = 0; E <= 1; E += h) {
236
+ const _ = t + (r - t) * s(E);
237
+ u += E * 100 + `%{${a(_, 1 - _)}}
238
238
  `;
239
239
  }
240
- const l = u + `100% {${o(r, 1 - r)}}
241
- }`, c = `__svelte_${$r(l)}_${a}`, m = rt(e), { stylesheet: d, rules: p } = Te.get(m) || Rr(m, e);
240
+ const l = u + `100% {${a(r, 1 - r)}}
241
+ }`, c = `__svelte_${$r(l)}_${o}`, m = rt(e), { stylesheet: d, rules: p } = Te.get(m) || Rr(m, e);
242
242
  p[c] || (p[c] = !0, d.insertRule(`@keyframes ${c} ${l}`, d.cssRules.length));
243
- const _ = e.style.animation || "";
244
- return e.style.animation = `${_ ? `${_}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, He += 1, c;
243
+ const v = e.style.animation || "";
244
+ return e.style.animation = `${v ? `${v}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, He += 1, c;
245
245
  }
246
- function ze(e, t) {
246
+ function je(e, t) {
247
247
  const r = (e.style.animation || "").split(", "), n = r.filter(
248
248
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
249
249
  // remove all Svelte animations
@@ -254,7 +254,7 @@ function Dr() {
254
254
  tt(() => {
255
255
  He || (Te.forEach((e) => {
256
256
  const { ownerNode: t } = e.stylesheet;
257
- t && L(t);
257
+ t && M(t);
258
258
  }), Te.clear());
259
259
  });
260
260
  }
@@ -267,18 +267,18 @@ function Ur() {
267
267
  throw new Error("Function called outside component initialization");
268
268
  return ne;
269
269
  }
270
- function Gr(e) {
270
+ function kr(e) {
271
271
  Ur().$$.on_mount.push(e);
272
272
  }
273
- const k = [], Ve = [];
274
- let j = [];
275
- const ft = [], kr = /* @__PURE__ */ Promise.resolve();
273
+ const G = [], Ve = [];
274
+ let z = [];
275
+ const ft = [], Gr = /* @__PURE__ */ Promise.resolve();
276
276
  let Xe = !1;
277
277
  function Fr() {
278
- Xe || (Xe = !0, kr.then(P));
278
+ Xe || (Xe = !0, Gr.then(P));
279
279
  }
280
280
  function ie(e) {
281
- j.push(e);
281
+ z.push(e);
282
282
  }
283
283
  const Re = /* @__PURE__ */ new Set();
284
284
  let U = 0;
@@ -288,35 +288,35 @@ function P() {
288
288
  const e = ne;
289
289
  do {
290
290
  try {
291
- for (; U < k.length; ) {
292
- const t = k[U];
293
- U++, re(t), jr(t.$$);
291
+ for (; U < G.length; ) {
292
+ const t = G[U];
293
+ U++, re(t), zr(t.$$);
294
294
  }
295
295
  } catch (t) {
296
- throw k.length = 0, U = 0, t;
296
+ throw G.length = 0, U = 0, t;
297
297
  }
298
- for (re(null), k.length = 0, U = 0; Ve.length; )
298
+ for (re(null), G.length = 0, U = 0; Ve.length; )
299
299
  Ve.pop()();
300
- for (let t = 0; t < j.length; t += 1) {
301
- const r = j[t];
300
+ for (let t = 0; t < z.length; t += 1) {
301
+ const r = z[t];
302
302
  Re.has(r) || (Re.add(r), r());
303
303
  }
304
- j.length = 0;
305
- } while (k.length);
304
+ z.length = 0;
305
+ } while (G.length);
306
306
  for (; ft.length; )
307
307
  ft.pop()();
308
308
  Xe = !1, Re.clear(), re(e);
309
309
  }
310
- function jr(e) {
310
+ function zr(e) {
311
311
  if (e.fragment !== null) {
312
312
  e.update(), R(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(ie);
315
315
  }
316
316
  }
317
- function zr(e) {
317
+ function jr(e) {
318
318
  const t = [], r = [];
319
- j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
319
+ z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
320
320
  }
321
321
  let Y;
322
322
  function Xt() {
@@ -325,30 +325,30 @@ function Xt() {
325
325
  })), Y;
326
326
  }
327
327
  function we(e, t, r) {
328
- e.dispatchEvent(Lr(`${t ? "intro" : "outro"}${r}`));
328
+ e.dispatchEvent(Mr(`${t ? "intro" : "outro"}${r}`));
329
329
  }
330
- const _e = /* @__PURE__ */ new Set();
331
- let C;
330
+ const ve = /* @__PURE__ */ new Set();
331
+ let I;
332
332
  function us() {
333
- C = {
333
+ I = {
334
334
  r: 0,
335
335
  c: [],
336
- p: C
336
+ p: I
337
337
  // parent group
338
338
  };
339
339
  }
340
340
  function ls() {
341
- C.r || R(C.c), C = C.p;
341
+ I.r || R(I.c), I = I.p;
342
342
  }
343
343
  function ee(e, t) {
344
- e && e.i && (_e.delete(e), e.i(t));
344
+ e && e.i && (ve.delete(e), e.i(t));
345
345
  }
346
346
  function be(e, t, r, n) {
347
347
  if (e && e.o) {
348
- if (_e.has(e))
348
+ if (ve.has(e))
349
349
  return;
350
- _e.add(e), C.c.push(() => {
351
- _e.delete(e), n && (r && e.d(1), n());
350
+ ve.add(e), I.c.push(() => {
351
+ ve.delete(e), n && (r && e.d(1), n());
352
352
  }), e.o(t);
353
353
  } else
354
354
  n && n();
@@ -356,27 +356,27 @@ function be(e, t, r, n) {
356
356
  const Wt = { duration: 0 };
357
357
  function hs(e, t, r) {
358
358
  const n = { direction: "in" };
359
- let i = t(e, r, n), s = !1, o, a, h = 0;
359
+ let i = t(e, r, n), s = !1, a, o, h = 0;
360
360
  function u() {
361
- o && ze(e, o);
361
+ a && je(e, a);
362
362
  }
363
363
  function l() {
364
364
  const {
365
365
  delay: m = 0,
366
366
  duration: d = 300,
367
- easing: p = Lt,
368
- tick: _ = S,
369
- css: v
367
+ easing: p = Mt,
368
+ tick: v = S,
369
+ css: E
370
370
  } = i || Wt;
371
- v && (o = Vt(e, 0, 1, d, m, p, v, h++)), _(0, 1);
372
- const E = Gt() + m, f = E + d;
373
- a && a.abort(), s = !0, ie(() => we(e, !0, "start")), a = Ft((g) => {
371
+ E && (a = Vt(e, 0, 1, d, m, p, E, h++)), v(0, 1);
372
+ const _ = kt() + m, f = _ + d;
373
+ o && o.abort(), s = !0, ie(() => we(e, !0, "start")), o = Ft((g) => {
374
374
  if (s) {
375
375
  if (g >= f)
376
- return _(1, 0), we(e, !0, "end"), u(), s = !1;
377
- if (g >= E) {
378
- const B = p((g - E) / d);
379
- _(B, 1 - B);
376
+ return v(1, 0), we(e, !0, "end"), u(), s = !1;
377
+ if (g >= _) {
378
+ const A = p((g - _) / d);
379
+ v(A, 1 - A);
380
380
  }
381
381
  }
382
382
  return s;
@@ -385,7 +385,7 @@ function hs(e, t, r) {
385
385
  let c = !1;
386
386
  return {
387
387
  start() {
388
- c || (c = !0, ze(e), ae(i) ? (i = i(n), Xt().then(l)) : l());
388
+ c || (c = !0, je(e), oe(i) ? (i = i(n), Xt().then(l)) : l());
389
389
  },
390
390
  invalidate() {
391
391
  c = !1;
@@ -397,38 +397,38 @@ function hs(e, t, r) {
397
397
  }
398
398
  function cs(e, t, r) {
399
399
  const n = { direction: "out" };
400
- let i = t(e, r, n), s = !0, o;
401
- const a = C;
402
- a.r += 1;
400
+ let i = t(e, r, n), s = !0, a;
401
+ const o = I;
402
+ o.r += 1;
403
403
  let h;
404
404
  function u() {
405
405
  const {
406
406
  delay: l = 0,
407
407
  duration: c = 300,
408
- easing: m = Lt,
408
+ easing: m = Mt,
409
409
  tick: d = S,
410
410
  css: p
411
411
  } = i || Wt;
412
- p && (o = Vt(e, 1, 0, c, l, m, p));
413
- const _ = Gt() + l, v = _ + c;
412
+ p && (a = Vt(e, 1, 0, c, l, m, p));
413
+ const v = kt() + l, E = v + c;
414
414
  ie(() => we(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
415
- e.inert, e.inert = !0), Ft((E) => {
415
+ e.inert, e.inert = !0), Ft((_) => {
416
416
  if (s) {
417
- if (E >= v)
418
- return d(0, 1), we(e, !1, "end"), --a.r || R(a.c), !1;
419
- if (E >= _) {
420
- const f = m((E - _) / c);
417
+ if (_ >= E)
418
+ return d(0, 1), we(e, !1, "end"), --o.r || R(o.c), !1;
419
+ if (_ >= v) {
420
+ const f = m((_ - v) / c);
421
421
  d(1 - f, f);
422
422
  }
423
423
  }
424
424
  return s;
425
425
  });
426
426
  }
427
- return ae(i) ? Xt().then(() => {
427
+ return oe(i) ? Xt().then(() => {
428
428
  i = i(n), u();
429
429
  }) : u(), {
430
430
  end(l) {
431
- l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (o && ze(e, o), s = !1);
431
+ l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (a && je(e, a), s = !1);
432
432
  }
433
433
  };
434
434
  }
@@ -438,18 +438,18 @@ function fs(e) {
438
438
  function Vr(e, t, r) {
439
439
  const { fragment: n, after_update: i } = e.$$;
440
440
  n && n.m(t, r), ie(() => {
441
- const s = e.$$.on_mount.map(Mt).filter(ae);
441
+ const s = e.$$.on_mount.map(Nt).filter(oe);
442
442
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : R(s), e.$$.on_mount = [];
443
443
  }), i.forEach(ie);
444
444
  }
445
445
  function Xr(e, t) {
446
446
  const r = e.$$;
447
- r.fragment !== null && (zr(r.after_update), R(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
447
+ r.fragment !== null && (jr(r.after_update), R(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
448
448
  }
449
449
  function Wr(e, t) {
450
- e.$$.dirty[0] === -1 && (k.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
450
+ e.$$.dirty[0] === -1 && (G.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
451
451
  }
452
- function Zr(e, t, r, n, i, s, o = null, a = [-1]) {
452
+ function qr(e, t, r, n, i, s, a = null, o = [-1]) {
453
453
  const h = ne;
454
454
  re(e);
455
455
  const u = e.$$ = {
@@ -469,27 +469,27 @@ function Zr(e, t, r, n, i, s, o = null, a = [-1]) {
469
469
  context: new Map(t.context || (h ? h.$$.context : [])),
470
470
  // everything else
471
471
  callbacks: ht(),
472
- dirty: a,
472
+ dirty: o,
473
473
  skip_bound: !1,
474
474
  root: t.target || h.$$.root
475
475
  };
476
- o && o(u.root);
476
+ a && a(u.root);
477
477
  let l = !1;
478
478
  if (u.ctx = r ? r(e, t.props || {}, (c, m, ...d) => {
479
479
  const p = d.length ? d[0] : m;
480
480
  return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && Wr(e, c)), m;
481
481
  }) : [], u.update(), l = !0, R(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
482
482
  if (t.hydrate) {
483
- const c = Nr(t.target);
484
- u.fragment && u.fragment.l(c), c.forEach(L);
483
+ const c = Lr(t.target);
484
+ u.fragment && u.fragment.l(c), c.forEach(M);
485
485
  } else
486
486
  u.fragment && u.fragment.c();
487
487
  t.intro && ee(e.$$.fragment), Vr(e, t.target, t.anchor), P();
488
488
  }
489
489
  re(h);
490
490
  }
491
- let Zt;
492
- typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
491
+ let qt;
492
+ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
493
493
  constructor(t, r, n) {
494
494
  super();
495
495
  /** The Svelte component constructor */
@@ -530,38 +530,38 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
530
530
  if (this.$$cn = !0, !this.$$c) {
531
531
  let t = function(s) {
532
532
  return () => {
533
- let o;
533
+ let a;
534
534
  return {
535
535
  c: function() {
536
- o = O("slot"), s !== "default" && z(o, "name", s);
536
+ a = O("slot"), s !== "default" && j(a, "name", s);
537
537
  },
538
538
  /**
539
539
  * @param {HTMLElement} target
540
540
  * @param {HTMLElement} [anchor]
541
541
  */
542
542
  m: function(u, l) {
543
- J(u, o, l);
543
+ J(u, a, l);
544
544
  },
545
545
  d: function(u) {
546
- u && L(o);
546
+ u && M(a);
547
547
  }
548
548
  };
549
549
  };
550
550
  };
551
551
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
552
552
  return;
553
- const r = {}, n = Mr(this);
553
+ const r = {}, n = Nr(this);
554
554
  for (const s of this.$$s)
555
555
  s in n && (r[s] = [t(s)]);
556
556
  for (const s of this.attributes) {
557
- const o = this.$$g_p(s.name);
558
- o in this.$$d || (this.$$d[o] = Ee(o, s.value, this.$$p_d, "toProp"));
557
+ const a = this.$$g_p(s.name);
558
+ a in this.$$d || (this.$$d[a] = _e(a, s.value, this.$$p_d, "toProp"));
559
559
  }
560
560
  for (const s in this.$$p_d)
561
561
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
562
562
  this.$$c = new this.$$ctor({
563
563
  target: this.shadowRoot || this,
564
- props: ut(at({}, this.$$d), {
564
+ props: ut(ot({}, this.$$d), {
565
565
  $$slots: r,
566
566
  $$scope: {
567
567
  ctx: []
@@ -572,21 +572,21 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
572
572
  this.$$r = !0;
573
573
  for (const s in this.$$p_d)
574
574
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
575
- const o = Ee(
575
+ const a = _e(
576
576
  s,
577
577
  this.$$d[s],
578
578
  this.$$p_d,
579
579
  "toAttribute"
580
580
  );
581
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
581
+ a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
582
582
  }
583
583
  this.$$r = !1;
584
584
  };
585
585
  this.$$c.$$.after_update.push(i), i();
586
586
  for (const s in this.$$l)
587
- for (const o of this.$$l[s]) {
588
- const a = this.$$c.$on(s, o);
589
- this.$$l_u.set(o, a);
587
+ for (const a of this.$$l[s]) {
588
+ const o = this.$$c.$on(s, a);
589
+ this.$$l_u.set(a, o);
590
590
  }
591
591
  this.$$l = {};
592
592
  }
@@ -596,7 +596,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
596
596
  // and setting attributes through setAttribute etc, this is helpful
597
597
  attributeChangedCallback(t, r, n) {
598
598
  var i;
599
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
599
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = _e(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
600
600
  }
601
601
  disconnectedCallback() {
602
602
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -609,7 +609,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
609
609
  ) || t;
610
610
  }
611
611
  });
612
- function Ee(e, t, r, n) {
612
+ function _e(e, t, r, n) {
613
613
  var s;
614
614
  const i = (s = r[e]) == null ? void 0 : s.type;
615
615
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -640,37 +640,37 @@ function Ee(e, t, r, n) {
640
640
  }
641
641
  }
642
642
  function Jr(e, t, r, n, i, s) {
643
- let o = class extends Zt {
643
+ let a = class extends qt {
644
644
  constructor() {
645
645
  super(e, r, i), this.$$p_d = t;
646
646
  }
647
647
  static get observedAttributes() {
648
648
  return Object.keys(t).map(
649
- (a) => (t[a].attribute || a).toLowerCase()
649
+ (o) => (t[o].attribute || o).toLowerCase()
650
650
  );
651
651
  }
652
652
  };
653
- return Object.keys(t).forEach((a) => {
654
- Object.defineProperty(o.prototype, a, {
653
+ return Object.keys(t).forEach((o) => {
654
+ Object.defineProperty(a.prototype, o, {
655
655
  get() {
656
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
656
+ return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
657
657
  },
658
658
  set(h) {
659
659
  var u;
660
- h = Ee(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
660
+ h = _e(o, h, t), this.$$d[o] = h, (u = this.$$c) == null || u.$set({ [o]: h });
661
661
  }
662
662
  });
663
- }), n.forEach((a) => {
664
- Object.defineProperty(o.prototype, a, {
663
+ }), n.forEach((o) => {
664
+ Object.defineProperty(a.prototype, o, {
665
665
  get() {
666
666
  var h;
667
- return (h = this.$$c) == null ? void 0 : h[a];
667
+ return (h = this.$$c) == null ? void 0 : h[o];
668
668
  }
669
669
  });
670
670
  }), e.element = /** @type {any} */
671
- o, o;
671
+ a, a;
672
672
  }
673
- class qr {
673
+ class Zr {
674
674
  constructor() {
675
675
  /**
676
676
  * ### PRIVATE API
@@ -700,7 +700,7 @@ class qr {
700
700
  * @returns {() => void}
701
701
  */
702
702
  $on(t, r) {
703
- if (!ae(r))
703
+ if (!oe(r))
704
704
  return S;
705
705
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
706
706
  return n.push(r), () => {
@@ -713,49 +713,49 @@ class qr {
713
713
  * @returns {void}
714
714
  */
715
715
  $set(t) {
716
- this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
716
+ this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
717
717
  }
718
718
  }
719
719
  const Qr = "4";
720
720
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
721
- const G = [];
721
+ const k = [];
722
722
  function Yr(e, t) {
723
723
  return {
724
- subscribe: Ie(e, t).subscribe
724
+ subscribe: Ce(e, t).subscribe
725
725
  };
726
726
  }
727
- function Ie(e, t = S) {
727
+ function Ce(e, t = S) {
728
728
  let r;
729
729
  const n = /* @__PURE__ */ new Set();
730
- function i(a) {
731
- if ($t(e, a) && (e = a, r)) {
732
- const h = !G.length;
730
+ function i(o) {
731
+ if ($t(e, o) && (e = o, r)) {
732
+ const h = !k.length;
733
733
  for (const u of n)
734
- u[1](), G.push(u, e);
734
+ u[1](), k.push(u, e);
735
735
  if (h) {
736
- for (let u = 0; u < G.length; u += 2)
737
- G[u][0](G[u + 1]);
738
- G.length = 0;
736
+ for (let u = 0; u < k.length; u += 2)
737
+ k[u][0](k[u + 1]);
738
+ k.length = 0;
739
739
  }
740
740
  }
741
741
  }
742
- function s(a) {
743
- i(a(e));
742
+ function s(o) {
743
+ i(o(e));
744
744
  }
745
- function o(a, h = S) {
746
- const u = [a, h];
747
- return n.add(u), n.size === 1 && (r = t(i, s) || S), a(e), () => {
745
+ function a(o, h = S) {
746
+ const u = [o, h];
747
+ return n.add(u), n.size === 1 && (r = t(i, s) || S), o(e), () => {
748
748
  n.delete(u), n.size === 0 && r && (r(), r = null);
749
749
  };
750
750
  }
751
- return { set: i, update: s, subscribe: o };
751
+ return { set: i, update: s, subscribe: a };
752
752
  }
753
- function q(e, t, r) {
753
+ function Z(e, t, r) {
754
754
  const n = !Array.isArray(e), i = n ? [e] : e;
755
755
  if (!i.every(Boolean))
756
756
  throw new Error("derived() expects stores as input, got a falsy value");
757
757
  const s = t.length < 2;
758
- return Yr(r, (o, a) => {
758
+ return Yr(r, (a, o) => {
759
759
  let h = !1;
760
760
  const u = [];
761
761
  let l = 0, c = S;
@@ -763,16 +763,16 @@ function q(e, t, r) {
763
763
  if (l)
764
764
  return;
765
765
  c();
766
- const p = t(n ? u[0] : u, o, a);
767
- s ? o(p) : c = ae(p) ? p : S;
766
+ const p = t(n ? u[0] : u, a, o);
767
+ s ? a(p) : c = oe(p) ? p : S;
768
768
  }, d = i.map(
769
- (p, _) => Rt(
769
+ (p, v) => Rt(
770
770
  p,
771
- (v) => {
772
- u[_] = v, l &= ~(1 << _), h && m();
771
+ (E) => {
772
+ u[v] = E, l &= ~(1 << v), h && m();
773
773
  },
774
774
  () => {
775
- l |= 1 << _;
775
+ l |= 1 << v;
776
776
  }
777
777
  )
778
778
  );
@@ -793,17 +793,17 @@ function tn(e) {
793
793
  }
794
794
  function rn(e) {
795
795
  var t = Object.prototype.toString.call(e);
796
- return t === "[object RegExp]" || t === "[object Date]" || on(e);
796
+ return t === "[object RegExp]" || t === "[object Date]" || an(e);
797
797
  }
798
798
  var nn = typeof Symbol == "function" && Symbol.for, sn = nn ? Symbol.for("react.element") : 60103;
799
- function on(e) {
799
+ function an(e) {
800
800
  return e.$$typeof === sn;
801
801
  }
802
- function an(e) {
802
+ function on(e) {
803
803
  return Array.isArray(e) ? [] : {};
804
804
  }
805
805
  function se(e, t) {
806
- return t.clone !== !1 && t.isMergeableObject(e) ? V(an(e), e, t) : e;
806
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(on(e), e, t) : e;
807
807
  }
808
808
  function un(e, t, r) {
809
809
  return e.concat(t).map(function(n) {
@@ -864,7 +864,7 @@ var We = function(e, t) {
864
864
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
865
865
  }, We(e, t);
866
866
  };
867
- function Ce(e, t) {
867
+ function Ie(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
870
  We(e, t);
@@ -873,15 +873,15 @@ function Ce(e, t) {
873
873
  }
874
874
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
875
875
  }
876
- var A = function() {
877
- return A = Object.assign || function(t) {
876
+ var B = function() {
877
+ return B = Object.assign || function(t) {
878
878
  for (var r, n = 1, i = arguments.length; n < i; n++) {
879
879
  r = arguments[n];
880
880
  for (var s in r)
881
881
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
882
882
  }
883
883
  return t;
884
- }, A.apply(this, arguments);
884
+ }, B.apply(this, arguments);
885
885
  };
886
886
  function gn(e, t) {
887
887
  var r = {};
@@ -899,7 +899,7 @@ function De(e, t, r) {
899
899
  return e.concat(s || Array.prototype.slice.call(t));
900
900
  }
901
901
  function Ue(e, t) {
902
- var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : _n;
902
+ var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : vn;
903
903
  return i(e, {
904
904
  cache: r,
905
905
  serializer: n
@@ -912,21 +912,21 @@ function yn(e, t, r, n) {
912
912
  var i = bn(n) ? n : r(n), s = t.get(i);
913
913
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
914
914
  }
915
- function qt(e, t, r) {
915
+ function Zt(e, t, r) {
916
916
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
917
917
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
918
918
  }
919
919
  function Qt(e, t, r, n, i) {
920
920
  return r.bind(t, e, n, i);
921
921
  }
922
- function _n(e, t) {
923
- var r = e.length === 1 ? yn : qt;
922
+ function vn(e, t) {
923
+ var r = e.length === 1 ? yn : Zt;
924
924
  return Qt(e, this, r, t.cache.create(), t.serializer);
925
925
  }
926
- function En(e, t) {
927
- return Qt(e, this, qt, t.cache.create(), t.serializer);
926
+ function _n(e, t) {
927
+ return Qt(e, this, Zt, t.cache.create(), t.serializer);
928
928
  }
929
- var vn = function() {
929
+ var En = function() {
930
930
  return JSON.stringify(arguments);
931
931
  }, xn = (
932
932
  /** @class */
@@ -944,8 +944,8 @@ var vn = function() {
944
944
  create: function() {
945
945
  return new xn();
946
946
  }
947
- }, Ge = {
948
- variadic: En
947
+ }, ke = {
948
+ variadic: _n
949
949
  }, Se = function() {
950
950
  return Se = Object.assign || function(t) {
951
951
  for (var r, n = 1, i = arguments.length; n < i; n++) {
@@ -998,11 +998,11 @@ function nr(e) {
998
998
  function ir(e) {
999
999
  return !!(e && typeof e == "object" && e.type === X.number);
1000
1000
  }
1001
- function Ze(e) {
1001
+ function qe(e) {
1002
1002
  return !!(e && typeof e == "object" && e.type === X.dateTime);
1003
1003
  }
1004
1004
  var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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 Bn(e) {
1005
+ function An(e) {
1006
1006
  var t = {};
1007
1007
  return e.replace(Sn, function(r) {
1008
1008
  var n = r.length;
@@ -1103,32 +1103,32 @@ var T = function() {
1103
1103
  return t;
1104
1104
  }, T.apply(this, arguments);
1105
1105
  };
1106
- var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1106
+ var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1107
1107
  function Pn(e) {
1108
1108
  if (e.length === 0)
1109
1109
  throw new Error("Number skeleton cannot be empty");
1110
- for (var t = e.split(An).filter(function(m) {
1110
+ for (var t = e.split(Bn).filter(function(m) {
1111
1111
  return m.length > 0;
1112
1112
  }), r = [], n = 0, i = t; n < i.length; n++) {
1113
- var s = i[n], o = s.split("/");
1114
- if (o.length === 0)
1113
+ var s = i[n], a = s.split("/");
1114
+ if (a.length === 0)
1115
1115
  throw new Error("Invalid number skeleton");
1116
- for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1116
+ for (var o = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1117
1117
  var c = l[u];
1118
1118
  if (c.length === 0)
1119
1119
  throw new Error("Invalid number skeleton");
1120
1120
  }
1121
- r.push({ stem: a, options: h });
1121
+ r.push({ stem: o, options: h });
1122
1122
  }
1123
1123
  return r;
1124
1124
  }
1125
1125
  function On(e) {
1126
1126
  return e.replace(/^(.*?)-/, "");
1127
1127
  }
1128
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1128
+ var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Cn = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
1129
1129
  function gt(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(or, function(r, n, i) {
1131
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
1132
1132
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1133
1133
  }), t;
1134
1134
  }
@@ -1172,7 +1172,7 @@ function ur(e) {
1172
1172
  };
1173
1173
  }
1174
1174
  }
1175
- function Cn(e) {
1175
+ function In(e) {
1176
1176
  var t;
1177
1177
  if (e[0] === "E" && e[1] === "E" ? (t = {
1178
1178
  notation: "engineering"
@@ -1180,7 +1180,7 @@ function Cn(e) {
1180
1180
  notation: "scientific"
1181
1181
  }, e = e.slice(1)), t) {
1182
1182
  var r = e.slice(0, 2);
1183
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
1183
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
1184
1184
  throw new Error("Malformed concise eng/scientific notation");
1185
1185
  t.minimumIntegerDigits = e.length;
1186
1186
  }
@@ -1190,7 +1190,7 @@ function bt(e) {
1190
1190
  var t = {}, r = ur(e);
1191
1191
  return r || t;
1192
1192
  }
1193
- function Nn(e) {
1193
+ function Ln(e) {
1194
1194
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1195
1195
  var i = n[r];
1196
1196
  switch (i.stem) {
@@ -1276,7 +1276,7 @@ function Nn(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(In, function(h, u, l, c, m, d) {
1279
+ i.options[0].replace(Cn, function(h, u, l, c, m, d) {
1280
1280
  if (u)
1281
1281
  t.minimumIntegerDigits = l.length;
1282
1282
  else {
@@ -1289,7 +1289,7 @@ function Nn(e) {
1289
1289
  });
1290
1290
  continue;
1291
1291
  }
1292
- if (ar.test(i.stem)) {
1292
+ if (or.test(i.stem)) {
1293
1293
  t.minimumIntegerDigits = i.stem.length;
1294
1294
  continue;
1295
1295
  }
@@ -1303,14 +1303,14 @@ function Nn(e) {
1303
1303
  s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), gt(s)));
1304
1304
  continue;
1305
1305
  }
1306
- if (or.test(i.stem)) {
1306
+ if (ar.test(i.stem)) {
1307
1307
  t = T(T({}, t), gt(i.stem));
1308
1308
  continue;
1309
1309
  }
1310
- var o = ur(i.stem);
1311
- o && (t = T(T({}, t), o));
1312
- var a = Cn(i.stem);
1310
+ var a = ur(i.stem);
1313
1311
  a && (t = T(T({}, t), a));
1312
+ var o = In(i.stem);
1313
+ o && (t = T(T({}, t), o));
1314
1314
  }
1315
1315
  return t;
1316
1316
  }
@@ -2729,23 +2729,23 @@ var ye = {
2729
2729
  "h"
2730
2730
  ]
2731
2731
  };
2732
- function Ln(e, t) {
2732
+ function Mn(e, t) {
2733
2733
  for (var r = "", n = 0; n < e.length; n++) {
2734
2734
  var i = e.charAt(n);
2735
2735
  if (i === "j") {
2736
2736
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2737
2737
  s++, n++;
2738
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Mn(t);
2739
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2738
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Nn(t);
2739
+ for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2740
2740
  r += h;
2741
- for (; o-- > 0; )
2741
+ for (; a-- > 0; )
2742
2742
  r = u + r;
2743
2743
  } else
2744
2744
  i === "J" ? r += "H" : r += i;
2745
2745
  }
2746
2746
  return r;
2747
2747
  }
2748
- function Mn(e) {
2748
+ function Nn(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,16 +2767,16 @@ function Mn(e) {
2767
2767
  var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
2768
2768
  return i[0];
2769
2769
  }
2770
- var ke, $n = new RegExp("^".concat(sr.source, "*")), Rn = new RegExp("".concat(sr.source, "*$"));
2770
+ var Ge, $n = new RegExp("^".concat(sr.source, "*")), Rn = new RegExp("".concat(sr.source, "*$"));
2771
2771
  function y(e, t) {
2772
2772
  return { start: e, end: t };
2773
2773
  }
2774
- var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Gn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Vn = zn ? Number.isSafeInteger : function(e) {
2774
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, kn = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, Vn = jn ? Number.isSafeInteger : function(e) {
2775
2775
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2776
2776
  }, Je = !0;
2777
2777
  try {
2778
2778
  var Xn = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2779
- Je = ((ke = Xn.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
2779
+ Je = ((Ge = Xn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2780
2780
  } catch (e) {
2781
2781
  Je = !1;
2782
2782
  }
@@ -2790,31 +2790,31 @@ var yt = Dn ? (
2790
2790
  function(t, r, n) {
2791
2791
  return t.slice(n, n + r.length) === r;
2792
2792
  }
2793
- ), qe = Un ? String.fromCodePoint : (
2793
+ ), Ze = Un ? String.fromCodePoint : (
2794
2794
  // IE11
2795
2795
  function() {
2796
2796
  for (var t = [], r = 0; r < arguments.length; r++)
2797
2797
  t[r] = arguments[r];
2798
- for (var n = "", i = t.length, s = 0, o; i > s; ) {
2799
- if (o = t[s++], o > 1114111)
2800
- throw RangeError(o + " is not a valid code point");
2801
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2798
+ for (var n = "", i = t.length, s = 0, a; i > s; ) {
2799
+ if (a = t[s++], a > 1114111)
2800
+ throw RangeError(a + " is not a valid code point");
2801
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2802
2802
  }
2803
2803
  return n;
2804
2804
  }
2805
- ), _t = (
2805
+ ), vt = (
2806
2806
  // native
2807
- Gn ? Object.fromEntries : (
2807
+ kn ? Object.fromEntries : (
2808
2808
  // Ponyfill
2809
2809
  function(t) {
2810
2810
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2811
- var s = i[n], o = s[0], a = s[1];
2812
- r[o] = a;
2811
+ var s = i[n], a = s[0], o = s[1];
2812
+ r[a] = o;
2813
2813
  }
2814
2814
  return r;
2815
2815
  }
2816
2816
  )
2817
- ), lr = kn ? (
2817
+ ), lr = Gn ? (
2818
2818
  // Native
2819
2819
  function(t, r) {
2820
2820
  return t.codePointAt(r);
@@ -2838,7 +2838,7 @@ var yt = Dn ? (
2838
2838
  function(t) {
2839
2839
  return t.replace($n, "");
2840
2840
  }
2841
- ), Zn = jn ? (
2841
+ ), qn = zn ? (
2842
2842
  // Native
2843
2843
  function(t) {
2844
2844
  return t.trimEnd();
@@ -2854,11 +2854,11 @@ function hr(e, t) {
2854
2854
  }
2855
2855
  var Qe;
2856
2856
  if (Je) {
2857
- var Et = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2857
+ var _t = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2858
2858
  Qe = function(t, r) {
2859
2859
  var n;
2860
- Et.lastIndex = r;
2861
- var i = Et.exec(t);
2860
+ _t.lastIndex = r;
2861
+ var i = _t.exec(t);
2862
2862
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2863
2863
  };
2864
2864
  } else
@@ -2869,7 +2869,7 @@ if (Je) {
2869
2869
  break;
2870
2870
  n.push(i), r += i >= 65536 ? 2 : 1;
2871
2871
  }
2872
- return qe.apply(void 0, n);
2872
+ return Ze.apply(void 0, n);
2873
2873
  };
2874
2874
  var Jn = (
2875
2875
  /** @class */
@@ -2885,33 +2885,33 @@ var Jn = (
2885
2885
  for (var i = []; !this.isEOF(); ) {
2886
2886
  var s = this.char();
2887
2887
  if (s === 123) {
2888
- var o = this.parseArgument(t, n);
2889
- if (o.err)
2890
- return o;
2891
- i.push(o.val);
2888
+ var a = this.parseArgument(t, n);
2889
+ if (a.err)
2890
+ return a;
2891
+ i.push(a.val);
2892
2892
  } else {
2893
2893
  if (s === 125 && t > 0)
2894
2894
  break;
2895
2895
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2896
- var a = this.clonePosition();
2896
+ var o = this.clonePosition();
2897
2897
  this.bump(), i.push({
2898
2898
  type: x.pound,
2899
- location: y(a, this.clonePosition())
2899
+ location: y(o, this.clonePosition())
2900
2900
  });
2901
2901
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2902
2902
  if (n)
2903
2903
  break;
2904
2904
  return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2905
2905
  } else if (s === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
2906
- var o = this.parseTag(t, r);
2907
- if (o.err)
2908
- return o;
2909
- i.push(o.val);
2906
+ var a = this.parseTag(t, r);
2907
+ if (a.err)
2908
+ return a;
2909
+ i.push(a.val);
2910
2910
  } else {
2911
- var o = this.parseLiteral(t, r);
2912
- if (o.err)
2913
- return o;
2914
- i.push(o.val);
2911
+ var a = this.parseLiteral(t, r);
2912
+ if (a.err)
2913
+ return a;
2914
+ i.push(a.val);
2915
2915
  }
2916
2916
  }
2917
2917
  }
@@ -2933,20 +2933,20 @@ var Jn = (
2933
2933
  var s = this.parseMessage(t + 1, r, !0);
2934
2934
  if (s.err)
2935
2935
  return s;
2936
- var o = s.val, a = this.clonePosition();
2936
+ var a = s.val, o = this.clonePosition();
2937
2937
  if (this.bumpIf("</")) {
2938
2938
  if (this.isEOF() || !Ye(this.char()))
2939
- return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
2939
+ return this.error(b.INVALID_TAG, y(o, this.clonePosition()));
2940
2940
  var h = this.clonePosition(), u = this.parseTagName();
2941
2941
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2942
2942
  val: {
2943
2943
  type: x.tag,
2944
2944
  value: i,
2945
- children: o,
2945
+ children: a,
2946
2946
  location: y(n, this.clonePosition())
2947
2947
  },
2948
2948
  err: null
2949
- } : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
2949
+ } : this.error(b.INVALID_TAG, y(o, this.clonePosition())));
2950
2950
  } else
2951
2951
  return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
2952
2952
  } else
@@ -2963,16 +2963,16 @@ var Jn = (
2963
2963
  i += s;
2964
2964
  continue;
2965
2965
  }
2966
- var o = this.tryParseUnquoted(t, r);
2967
- if (o) {
2968
- i += o;
2969
- continue;
2970
- }
2971
- var a = this.tryParseLeftAngleBracket();
2966
+ var a = this.tryParseUnquoted(t, r);
2972
2967
  if (a) {
2973
2968
  i += a;
2974
2969
  continue;
2975
2970
  }
2971
+ var o = this.tryParseLeftAngleBracket();
2972
+ if (o) {
2973
+ i += o;
2974
+ continue;
2975
+ }
2976
2976
  break;
2977
2977
  }
2978
2978
  var h = y(n, this.clonePosition());
@@ -2982,7 +2982,7 @@ var Jn = (
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
- !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
2985
+ !Zn(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 Jn = (
3016
3016
  r.push(n);
3017
3017
  this.bump();
3018
3018
  }
3019
- return qe.apply(void 0, r);
3019
+ return Ze.apply(void 0, r);
3020
3020
  }, e.prototype.tryParseUnquoted = function(t, r) {
3021
3021
  if (this.isEOF())
3022
3022
  return null;
3023
3023
  var n = this.char();
3024
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3024
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
3025
3025
  }, e.prototype.parseArgument = function(t, r) {
3026
3026
  var n = this.clonePosition();
3027
3027
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3052,13 +3052,13 @@ var Jn = (
3052
3052
  }, e.prototype.parseIdentifierIfPossible = function() {
3053
3053
  var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3054
3054
  this.bumpTo(i);
3055
- var s = this.clonePosition(), o = y(t, s);
3056
- return { value: n, location: o };
3055
+ var s = this.clonePosition(), a = y(t, s);
3056
+ return { value: n, location: a };
3057
3057
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3058
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3059
- switch (a) {
3058
+ var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3059
+ switch (o) {
3060
3060
  case "":
3061
- return this.error(b.EXPECT_ARGUMENT_TYPE, y(o, h));
3061
+ return this.error(b.EXPECT_ARGUMENT_TYPE, y(a, h));
3062
3062
  case "number":
3063
3063
  case "date":
3064
3064
  case "time": {
@@ -3069,7 +3069,7 @@ var Jn = (
3069
3069
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3070
3070
  if (c.err)
3071
3071
  return c;
3072
- var m = Zn(c.val);
3072
+ var m = qn(c.val);
3073
3073
  if (m.length === 0)
3074
3074
  return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3075
3075
  var d = y(l, this.clonePosition());
@@ -3078,37 +3078,37 @@ var Jn = (
3078
3078
  var p = this.tryParseArgumentClose(i);
3079
3079
  if (p.err)
3080
3080
  return p;
3081
- var _ = y(i, this.clonePosition());
3081
+ var v = y(i, this.clonePosition());
3082
3082
  if (u && yt(u == null ? void 0 : u.style, "::", 0)) {
3083
- var v = Wn(u.style.slice(2));
3084
- if (a === "number") {
3085
- var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3083
+ var E = Wn(u.style.slice(2));
3084
+ if (o === "number") {
3085
+ var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3086
3086
  return c.err ? c : {
3087
- val: { type: x.number, value: n, location: _, style: c.val },
3087
+ val: { type: x.number, value: n, location: v, style: c.val },
3088
3088
  err: null
3089
3089
  };
3090
3090
  } else {
3091
- if (v.length === 0)
3092
- return this.error(b.EXPECT_DATE_TIME_SKELETON, _);
3093
- var E = v;
3094
- this.locale && (E = Ln(v, this.locale));
3091
+ if (E.length === 0)
3092
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, v);
3093
+ var _ = E;
3094
+ this.locale && (_ = Mn(E, this.locale));
3095
3095
  var m = {
3096
3096
  type: X.dateTime,
3097
- pattern: E,
3097
+ pattern: _,
3098
3098
  location: u.styleLocation,
3099
- parsedOptions: this.shouldParseSkeletons ? Bn(E) : {}
3100
- }, f = a === "date" ? x.date : x.time;
3099
+ parsedOptions: this.shouldParseSkeletons ? An(_) : {}
3100
+ }, f = o === "date" ? x.date : x.time;
3101
3101
  return {
3102
- val: { type: f, value: n, location: _, style: m },
3102
+ val: { type: f, value: n, location: v, style: m },
3103
3103
  err: null
3104
3104
  };
3105
3105
  }
3106
3106
  }
3107
3107
  return {
3108
3108
  val: {
3109
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3109
+ type: o === "number" ? x.number : o === "date" ? x.date : x.time,
3110
3110
  value: n,
3111
- location: _,
3111
+ location: v,
3112
3112
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
3113
3113
  },
3114
3114
  err: null
@@ -3121,28 +3121,28 @@ var Jn = (
3121
3121
  if (this.bumpSpace(), !this.bumpIf(","))
3122
3122
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g, Se({}, g)));
3123
3123
  this.bumpSpace();
3124
- var B = this.parseIdentifierIfPossible(), $ = 0;
3125
- if (a !== "select" && B.value === "offset") {
3124
+ var A = this.parseIdentifierIfPossible(), $ = 0;
3125
+ if (o !== "select" && A.value === "offset") {
3126
3126
  if (!this.bumpIf(":"))
3127
3127
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3128
3128
  this.bumpSpace();
3129
3129
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3130
3130
  if (c.err)
3131
3131
  return c;
3132
- this.bumpSpace(), B = this.parseIdentifierIfPossible(), $ = c.val;
3132
+ this.bumpSpace(), A = this.parseIdentifierIfPossible(), $ = c.val;
3133
3133
  }
3134
- var he = this.tryParsePluralOrSelectOptions(t, a, r, B);
3134
+ var he = this.tryParsePluralOrSelectOptions(t, o, r, A);
3135
3135
  if (he.err)
3136
3136
  return he;
3137
3137
  var p = this.tryParseArgumentClose(i);
3138
3138
  if (p.err)
3139
3139
  return p;
3140
3140
  var st = y(i, this.clonePosition());
3141
- return a === "select" ? {
3141
+ return o === "select" ? {
3142
3142
  val: {
3143
3143
  type: x.select,
3144
3144
  value: n,
3145
- options: _t(he.val),
3145
+ options: vt(he.val),
3146
3146
  location: st
3147
3147
  },
3148
3148
  err: null
@@ -3150,16 +3150,16 @@ var Jn = (
3150
3150
  val: {
3151
3151
  type: x.plural,
3152
3152
  value: n,
3153
- options: _t(he.val),
3153
+ options: vt(he.val),
3154
3154
  offset: $,
3155
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3155
+ pluralType: o === "plural" ? "cardinal" : "ordinal",
3156
3156
  location: st
3157
3157
  },
3158
3158
  err: null
3159
3159
  };
3160
3160
  }
3161
3161
  default:
3162
- return this.error(b.INVALID_ARGUMENT_TYPE, y(o, h));
3162
+ return this.error(b.INVALID_ARGUMENT_TYPE, y(a, h));
3163
3163
  }
3164
3164
  }, e.prototype.tryParseArgumentClose = function(t) {
3165
3165
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3210,12 +3210,12 @@ var Jn = (
3210
3210
  type: X.number,
3211
3211
  tokens: n,
3212
3212
  location: r,
3213
- parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3213
+ parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
3214
3214
  },
3215
3215
  err: null
3216
3216
  };
3217
3217
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3218
- for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3218
+ for (var s, a = !1, o = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3219
3219
  if (u.length === 0) {
3220
3220
  var c = this.clonePosition();
3221
3221
  if (r !== "select" && this.bumpIf("=")) {
@@ -3228,17 +3228,17 @@ var Jn = (
3228
3228
  }
3229
3229
  if (h.has(u))
3230
3230
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3231
- u === "other" && (o = !0), this.bumpSpace();
3231
+ u === "other" && (a = !0), this.bumpSpace();
3232
3232
  var d = this.clonePosition();
3233
3233
  if (!this.bumpIf("{"))
3234
3234
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3235
3235
  var p = this.parseMessage(t + 1, r, n);
3236
3236
  if (p.err)
3237
3237
  return p;
3238
- var _ = this.tryParseArgumentClose(d);
3239
- if (_.err)
3240
- return _;
3241
- a.push([
3238
+ var v = this.tryParseArgumentClose(d);
3239
+ if (v.err)
3240
+ return v;
3241
+ o.push([
3242
3242
  u,
3243
3243
  {
3244
3244
  value: p.val,
@@ -3246,19 +3246,19 @@ var Jn = (
3246
3246
  }
3247
3247
  ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3248
3248
  }
3249
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3249
+ return o.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3250
3250
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3251
3251
  var n = 1, i = this.clonePosition();
3252
3252
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3253
- for (var s = !1, o = 0; !this.isEOF(); ) {
3254
- var a = this.char();
3255
- if (a >= 48 && a <= 57)
3256
- s = !0, o = o * 10 + (a - 48), this.bump();
3253
+ for (var s = !1, a = 0; !this.isEOF(); ) {
3254
+ var o = this.char();
3255
+ if (o >= 48 && o <= 57)
3256
+ s = !0, a = a * 10 + (o - 48), this.bump();
3257
3257
  else
3258
3258
  break;
3259
3259
  }
3260
3260
  var h = y(i, this.clonePosition());
3261
- return s ? (o *= n, Vn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3261
+ return s ? (a *= n, Vn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3262
3262
  }, e.prototype.offset = function() {
3263
3263
  return this.position.offset;
3264
3264
  }, e.prototype.isEOF = function() {
@@ -3327,7 +3327,7 @@ var Jn = (
3327
3327
  function Ye(e) {
3328
3328
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3329
3329
  }
3330
- function qn(e) {
3330
+ function Zn(e) {
3331
3331
  return Ye(e) || e === 47;
3332
3332
  }
3333
3333
  function Qn(e) {
@@ -3345,7 +3345,7 @@ function Ke(e) {
3345
3345
  for (var r in t.options)
3346
3346
  delete t.options[r].location, Ke(t.options[r].value);
3347
3347
  else
3348
- Yt(t) && ir(t.style) || (Kt(t) || er(t)) && Ze(t.style) ? delete t.style.location : nr(t) && Ke(t.children);
3348
+ Yt(t) && ir(t.style) || (Kt(t) || er(t)) && qe(t.style) ? delete t.style.location : nr(t) && Ke(t.children);
3349
3349
  });
3350
3350
  }
3351
3351
  function Kn(e, t) {
@@ -3361,10 +3361,10 @@ var W;
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
  })(W || (W = {}));
3364
- var Ne = (
3364
+ var Le = (
3365
3365
  /** @class */
3366
3366
  function(e) {
3367
- Ce(t, e);
3367
+ Ie(t, e);
3368
3368
  function t(r, n, i) {
3369
3369
  var s = e.call(this, r) || this;
3370
3370
  return s.code = n, s.originalMessage = i, s;
@@ -3373,33 +3373,33 @@ var Ne = (
3373
3373
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3374
3374
  }, t;
3375
3375
  }(Error)
3376
- ), vt = (
3376
+ ), Et = (
3377
3377
  /** @class */
3378
3378
  function(e) {
3379
- Ce(t, e);
3379
+ Ie(t, e);
3380
3380
  function t(r, n, i, s) {
3381
3381
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, s) || this;
3382
3382
  }
3383
3383
  return t;
3384
- }(Ne)
3384
+ }(Le)
3385
3385
  ), ei = (
3386
3386
  /** @class */
3387
3387
  function(e) {
3388
- Ce(t, e);
3388
+ Ie(t, e);
3389
3389
  function t(r, n, i) {
3390
3390
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3391
3391
  }
3392
3392
  return t;
3393
- }(Ne)
3393
+ }(Le)
3394
3394
  ), ti = (
3395
3395
  /** @class */
3396
3396
  function(e) {
3397
- Ce(t, e);
3397
+ Ie(t, e);
3398
3398
  function t(r, n) {
3399
3399
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3400
3400
  }
3401
3401
  return t;
3402
- }(Ne)
3402
+ }(Le)
3403
3403
  ), H;
3404
3404
  (function(e) {
3405
3405
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -3413,7 +3413,7 @@ function ri(e) {
3413
3413
  function ni(e) {
3414
3414
  return typeof e == "function";
3415
3415
  }
3416
- function ve(e, t, r, n, i, s, o) {
3416
+ function Ee(e, t, r, n, i, s, a) {
3417
3417
  if (e.length === 1 && dt(e[0]))
3418
3418
  return [
3419
3419
  {
@@ -3421,17 +3421,17 @@ function ve(e, t, r, n, i, s, o) {
3421
3421
  value: e[0].value
3422
3422
  }
3423
3423
  ];
3424
- for (var a = [], h = 0, u = e; h < u.length; h++) {
3424
+ for (var o = [], h = 0, u = e; h < u.length; h++) {
3425
3425
  var l = u[h];
3426
3426
  if (dt(l)) {
3427
- a.push({
3427
+ o.push({
3428
3428
  type: H.literal,
3429
3429
  value: l.value
3430
3430
  });
3431
3431
  continue;
3432
3432
  }
3433
3433
  if (wn(l)) {
3434
- typeof s == "number" && a.push({
3434
+ typeof s == "number" && o.push({
3435
3435
  type: H.literal,
3436
3436
  value: r.getNumberFormat(t).format(s)
3437
3437
  });
@@ -3439,26 +3439,26 @@ function ve(e, t, r, n, i, s, o) {
3439
3439
  }
3440
3440
  var c = l.value;
3441
3441
  if (!(i && c in i))
3442
- throw new ti(c, o);
3442
+ throw new ti(c, a);
3443
3443
  var m = i[c];
3444
3444
  if (Hn(l)) {
3445
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3445
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), o.push({
3446
3446
  type: typeof m == "string" ? H.literal : H.object,
3447
3447
  value: m
3448
3448
  });
3449
3449
  continue;
3450
3450
  }
3451
3451
  if (Kt(l)) {
3452
- var d = typeof l.style == "string" ? n.date[l.style] : Ze(l.style) ? l.style.parsedOptions : void 0;
3453
- a.push({
3452
+ var d = typeof l.style == "string" ? n.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
3453
+ o.push({
3454
3454
  type: H.literal,
3455
3455
  value: r.getDateTimeFormat(t, d).format(m)
3456
3456
  });
3457
3457
  continue;
3458
3458
  }
3459
3459
  if (er(l)) {
3460
- var d = typeof l.style == "string" ? n.time[l.style] : Ze(l.style) ? l.style.parsedOptions : n.time.medium;
3461
- a.push({
3460
+ var d = typeof l.style == "string" ? n.time[l.style] : qe(l.style) ? l.style.parsedOptions : n.time.medium;
3461
+ o.push({
3462
3462
  type: H.literal,
3463
3463
  value: r.getDateTimeFormat(t, d).format(m)
3464
3464
  });
@@ -3466,20 +3466,20 @@ function ve(e, t, r, n, i, s, o) {
3466
3466
  }
3467
3467
  if (Yt(l)) {
3468
3468
  var d = typeof l.style == "string" ? n.number[l.style] : ir(l.style) ? l.style.parsedOptions : void 0;
3469
- d && d.scale && (m = m * (d.scale || 1)), a.push({
3469
+ d && d.scale && (m = m * (d.scale || 1)), o.push({
3470
3470
  type: H.literal,
3471
3471
  value: r.getNumberFormat(t, d).format(m)
3472
3472
  });
3473
3473
  continue;
3474
3474
  }
3475
3475
  if (nr(l)) {
3476
- var p = l.children, _ = l.value, v = i[_];
3477
- if (!ni(v))
3478
- throw new ei(_, "function", o);
3479
- var E = ve(p, t, r, n, i, s), f = v(E.map(function($) {
3476
+ var p = l.children, v = l.value, E = i[v];
3477
+ if (!ni(E))
3478
+ throw new ei(v, "function", a);
3479
+ var _ = Ee(p, t, r, n, i, s), f = E(_.map(function($) {
3480
3480
  return $.value;
3481
3481
  }));
3482
- Array.isArray(f) || (f = [f]), a.push.apply(a, f.map(function($) {
3482
+ Array.isArray(f) || (f = [f]), o.push.apply(o, f.map(function($) {
3483
3483
  return {
3484
3484
  type: typeof $ == "string" ? H.literal : H.object,
3485
3485
  value: $
@@ -3489,37 +3489,37 @@ function ve(e, t, r, n, i, s, o) {
3489
3489
  if (tr(l)) {
3490
3490
  var g = l.options[m] || l.options.other;
3491
3491
  if (!g)
3492
- throw new vt(l.value, m, Object.keys(l.options), o);
3493
- a.push.apply(a, ve(g.value, t, r, n, i));
3492
+ throw new Et(l.value, m, Object.keys(l.options), a);
3493
+ o.push.apply(o, Ee(g.value, t, r, n, i));
3494
3494
  continue;
3495
3495
  }
3496
3496
  if (rr(l)) {
3497
3497
  var g = l.options["=".concat(m)];
3498
3498
  if (!g) {
3499
3499
  if (!Intl.PluralRules)
3500
- throw new Ne(`Intl.PluralRules is not available in this environment.
3500
+ throw new Le(`Intl.PluralRules is not available in this environment.
3501
3501
  Try polyfilling it using "@formatjs/intl-pluralrules"
3502
- `, W.MISSING_INTL_API, o);
3503
- var B = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
3504
- g = l.options[B] || l.options.other;
3502
+ `, W.MISSING_INTL_API, a);
3503
+ var A = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
3504
+ g = l.options[A] || l.options.other;
3505
3505
  }
3506
3506
  if (!g)
3507
- throw new vt(l.value, m, Object.keys(l.options), o);
3508
- a.push.apply(a, ve(g.value, t, r, n, i, m - (l.offset || 0)));
3507
+ throw new Et(l.value, m, Object.keys(l.options), a);
3508
+ o.push.apply(o, Ee(g.value, t, r, n, i, m - (l.offset || 0)));
3509
3509
  continue;
3510
3510
  }
3511
3511
  }
3512
- return ri(a);
3512
+ return ri(o);
3513
3513
  }
3514
3514
  function ii(e, t) {
3515
- return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3516
- return r[n] = A(A({}, e[n]), t[n] || {}), r;
3515
+ return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3516
+ return r[n] = B(B({}, e[n]), t[n] || {}), r;
3517
3517
  }, {})) : e;
3518
3518
  }
3519
3519
  function si(e, t) {
3520
3520
  return t ? Object.keys(e).reduce(function(r, n) {
3521
3521
  return r[n] = ii(e[n], t[n]), r;
3522
- }, A({}, e)) : e;
3522
+ }, B({}, e)) : e;
3523
3523
  }
3524
3524
  function Fe(e) {
3525
3525
  return {
@@ -3535,7 +3535,7 @@ function Fe(e) {
3535
3535
  }
3536
3536
  };
3537
3537
  }
3538
- function oi(e) {
3538
+ function ai(e) {
3539
3539
  return e === void 0 && (e = {
3540
3540
  number: {},
3541
3541
  dateTime: {},
@@ -3547,7 +3547,7 @@ function oi(e) {
3547
3547
  return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
3548
3548
  }, {
3549
3549
  cache: Fe(e.number),
3550
- strategy: Ge.variadic
3550
+ strategy: ke.variadic
3551
3551
  }),
3552
3552
  getDateTimeFormat: Ue(function() {
3553
3553
  for (var t, r = [], n = 0; n < arguments.length; n++)
@@ -3555,7 +3555,7 @@ function oi(e) {
3555
3555
  return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
3556
3556
  }, {
3557
3557
  cache: Fe(e.dateTime),
3558
- strategy: Ge.variadic
3558
+ strategy: ke.variadic
3559
3559
  }),
3560
3560
  getPluralRules: Ue(function() {
3561
3561
  for (var t, r = [], n = 0; n < arguments.length; n++)
@@ -3563,7 +3563,7 @@ function oi(e) {
3563
3563
  return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
3564
3564
  }, {
3565
3565
  cache: Fe(e.pluralRules),
3566
- strategy: Ge.variadic
3566
+ strategy: ke.variadic
3567
3567
  })
3568
3568
  };
3569
3569
  }
@@ -3586,7 +3586,7 @@ var fr = (
3586
3586
  }, []);
3587
3587
  return l.length <= 1 ? l[0] || "" : l;
3588
3588
  }, this.formatToParts = function(h) {
3589
- return ve(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3589
+ return Ee(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3590
3590
  }, this.resolvedOptions = function() {
3591
3591
  var h;
3592
3592
  return {
@@ -3597,15 +3597,15 @@ var fr = (
3597
3597
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3598
3598
  if (this.message = t, !e.__parse)
3599
3599
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3600
- var o = i || {};
3601
- o.formatters;
3602
- var a = gn(o, ["formatters"]);
3603
- this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3600
+ var a = i || {};
3601
+ a.formatters;
3602
+ var o = gn(a, ["formatters"]);
3603
+ this.ast = e.__parse(t, B(B({}, 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 = si(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3608
+ this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3609
3609
  }
3610
3610
  return Object.defineProperty(e, "defaultLocale", {
3611
3611
  get: function() {
@@ -3679,7 +3679,7 @@ var fr = (
3679
3679
  }, e;
3680
3680
  }()
3681
3681
  );
3682
- function ai(e, t) {
3682
+ function oi(e, t) {
3683
3683
  if (t == null)
3684
3684
  return;
3685
3685
  if (t in e)
@@ -3700,11 +3700,11 @@ function ai(e, t) {
3700
3700
  n = void 0;
3701
3701
  return n;
3702
3702
  }
3703
- const N = {}, ui = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), mr = (e, t) => {
3703
+ const L = {}, ui = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), mr = (e, t) => {
3704
3704
  if (t == null)
3705
3705
  return;
3706
- if (t in N && e in N[t])
3707
- return N[t][e];
3706
+ if (t in L && e in L[t])
3707
+ return L[t][e];
3708
3708
  const r = le(t);
3709
3709
  for (let n = 0; n < r.length; n++) {
3710
3710
  const i = r[n], s = hi(i, e);
@@ -3713,7 +3713,7 @@ const N = {}, ui = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][
3713
3713
  }
3714
3714
  };
3715
3715
  let nt;
3716
- const ue = Ie({});
3716
+ const ue = Ce({});
3717
3717
  function li(e) {
3718
3718
  return nt[e] || null;
3719
3719
  }
@@ -3724,7 +3724,7 @@ function hi(e, t) {
3724
3724
  if (!dr(e))
3725
3725
  return null;
3726
3726
  const r = li(e);
3727
- return ai(r, t);
3727
+ return oi(r, t);
3728
3728
  }
3729
3729
  function ci(e) {
3730
3730
  if (e == null)
@@ -3737,9 +3737,9 @@ function ci(e) {
3737
3737
  }
3738
3738
  }
3739
3739
  function pr(e, ...t) {
3740
- delete N[e], ue.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
3740
+ delete L[e], ue.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
3741
3741
  }
3742
- q(
3742
+ Z(
3743
3743
  [ue],
3744
3744
  ([e]) => Object.keys(e)
3745
3745
  );
@@ -3757,7 +3757,7 @@ function mi(e) {
3757
3757
  return [t, r ? [...r] : []];
3758
3758
  }).filter(([, t]) => t.length > 0);
3759
3759
  }
3760
- function Be(e) {
3760
+ function Ae(e) {
3761
3761
  return e == null ? !1 : le(e).some(
3762
3762
  (t) => {
3763
3763
  var r;
@@ -3772,7 +3772,7 @@ function di(e, t) {
3772
3772
  }
3773
3773
  const K = {};
3774
3774
  function br(e) {
3775
- if (!Be(e))
3775
+ if (!Ae(e))
3776
3776
  return e in K ? K[e] : Promise.resolve();
3777
3777
  const t = mi(e);
3778
3778
  return K[e] = Promise.all(
@@ -3780,7 +3780,7 @@ function br(e) {
3780
3780
  ([r, n]) => di(r, n)
3781
3781
  )
3782
3782
  ).then(() => {
3783
- if (Be(e))
3783
+ if (Ae(e))
3784
3784
  return br(e);
3785
3785
  delete K[e];
3786
3786
  }), K[e];
@@ -3824,27 +3824,27 @@ const yi = {
3824
3824
  }
3825
3825
  }
3826
3826
  };
3827
- function _i({ locale: e, id: t }) {
3827
+ function vi({ locale: e, id: t }) {
3828
3828
  console.warn(
3829
3829
  `[svelte-i18n] The message "${t}" was not found in "${le(
3830
3830
  e
3831
- ).join('", "')}".${Be(M()) ? `
3831
+ ).join('", "')}".${Ae(N()) ? `
3832
3832
 
3833
3833
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3834
3834
  );
3835
3835
  }
3836
- const Ei = {
3836
+ const _i = {
3837
3837
  fallbackLocale: null,
3838
3838
  loadingDelay: 200,
3839
3839
  formats: yi,
3840
3840
  warnOnMissingMessages: !0,
3841
3841
  handleMissingMessage: void 0,
3842
3842
  ignoreTag: !0
3843
- }, te = Ei;
3844
- function Z() {
3843
+ }, te = _i;
3844
+ function q() {
3845
3845
  return te;
3846
3846
  }
3847
- function vi(e) {
3847
+ function Ei(e) {
3848
3848
  const t = e, { formats: r } = t, n = bi(t, ["formats"]);
3849
3849
  let i = e.fallbackLocale;
3850
3850
  if (e.initialLocale)
@@ -3855,63 +3855,63 @@ function vi(e) {
3855
3855
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3856
3856
  );
3857
3857
  }
3858
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = _i : console.warn(
3858
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = vi : console.warn(
3859
3859
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3860
3860
  )), Object.assign(te, n, { initialLocale: i }), r && ("number" in r && Object.assign(te.formats.number, r.number), "date" in r && Object.assign(te.formats.date, r.date), "time" in r && Object.assign(te.formats.time, r.time)), D.set(i);
3861
3861
  }
3862
- const je = Ie(!1);
3863
- var xi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
3862
+ const ze = Ce(!1);
3863
+ var xi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
3864
3864
  for (var r in t || (t = {}))
3865
3865
  wi.call(t, r) && Ht(e, r, t[r]);
3866
3866
  if (Tt)
3867
3867
  for (var r of Tt(t))
3868
3868
  Si.call(t, r) && Ht(e, r, t[r]);
3869
3869
  return e;
3870
- }, Ai = (e, t) => Ti(e, Hi(t));
3870
+ }, Bi = (e, t) => Ti(e, Hi(t));
3871
3871
  let et;
3872
- const Ae = Ie(null);
3872
+ const Be = Ce(null);
3873
3873
  function wt(e) {
3874
3874
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3875
3875
  }
3876
- function le(e, t = Z().fallbackLocale) {
3876
+ function le(e, t = q().fallbackLocale) {
3877
3877
  const r = wt(e);
3878
3878
  return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
3879
3879
  }
3880
- function M() {
3880
+ function N() {
3881
3881
  return et != null ? et : void 0;
3882
3882
  }
3883
- Ae.subscribe((e) => {
3883
+ Be.subscribe((e) => {
3884
3884
  et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3885
3885
  });
3886
3886
  const Pi = (e) => {
3887
- if (e && ci(e) && Be(e)) {
3888
- const { loadingDelay: t } = Z();
3887
+ if (e && ci(e) && Ae(e)) {
3888
+ const { loadingDelay: t } = q();
3889
3889
  let r;
3890
- return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
3891
- () => je.set(!0),
3890
+ return typeof window != "undefined" && N() != null && t ? r = window.setTimeout(
3891
+ () => ze.set(!0),
3892
3892
  t
3893
- ) : je.set(!0), br(e).then(() => {
3894
- Ae.set(e);
3893
+ ) : ze.set(!0), br(e).then(() => {
3894
+ Be.set(e);
3895
3895
  }).finally(() => {
3896
- clearTimeout(r), je.set(!1);
3896
+ clearTimeout(r), ze.set(!1);
3897
3897
  });
3898
3898
  }
3899
- return Ae.set(e);
3900
- }, D = Ai(Bi({}, Ae), {
3899
+ return Be.set(e);
3900
+ }, D = Bi(Ai({}, Be), {
3901
3901
  set: Pi
3902
- }), Le = (e) => {
3902
+ }), Me = (e) => {
3903
3903
  const t = /* @__PURE__ */ Object.create(null);
3904
3904
  return (n) => {
3905
3905
  const i = JSON.stringify(n);
3906
3906
  return i in t ? t[i] : t[i] = e(n);
3907
3907
  };
3908
3908
  };
3909
- var Oi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3909
+ var Oi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3910
3910
  for (var r in t || (t = {}))
3911
3911
  yr.call(t, r) && St(e, r, t[r]);
3912
3912
  if (Pe)
3913
3913
  for (var r of Pe(t))
3914
- _r.call(t, r) && St(e, r, t[r]);
3914
+ vr.call(t, r) && St(e, r, t[r]);
3915
3915
  return e;
3916
3916
  }, Q = (e, t) => {
3917
3917
  var r = {};
@@ -3919,88 +3919,88 @@ var Oi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, yr = Object.p
3919
3919
  yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3920
3920
  if (e != null && Pe)
3921
3921
  for (var n of Pe(e))
3922
- t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
3922
+ t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
3923
3923
  return r;
3924
3924
  };
3925
- const oe = (e, t) => {
3926
- const { formats: r } = Z();
3925
+ const ae = (e, t) => {
3926
+ const { formats: r } = q();
3927
3927
  if (e in r && t in r[e])
3928
3928
  return r[e][t];
3929
3929
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3930
- }, Ii = Le(
3930
+ }, Ci = Me(
3931
3931
  (e) => {
3932
3932
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3933
3933
  if (r == null)
3934
3934
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3935
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3935
+ return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
3936
3936
  }
3937
- ), Ci = Le(
3937
+ ), Ii = Me(
3938
3938
  (e) => {
3939
3939
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3940
3940
  if (r == null)
3941
3941
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3942
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3942
+ return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
3943
3943
  }
3944
- ), Ni = Le(
3944
+ ), Li = Me(
3945
3945
  (e) => {
3946
3946
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3947
3947
  if (r == null)
3948
3948
  throw new Error(
3949
3949
  '[svelte-i18n] A "locale" must be set to format time values'
3950
3950
  );
3951
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3951
+ return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
3952
3952
  }
3953
- ), Li = (e = {}) => {
3953
+ ), Mi = (e = {}) => {
3954
3954
  var t = e, {
3955
- locale: r = M()
3955
+ locale: r = N()
3956
3956
  } = t, n = Q(t, [
3957
3957
  "locale"
3958
3958
  ]);
3959
- return Ii(it({ locale: r }, n));
3960
- }, Mi = (e = {}) => {
3959
+ return Ci(it({ locale: r }, n));
3960
+ }, Ni = (e = {}) => {
3961
3961
  var t = e, {
3962
- locale: r = M()
3962
+ locale: r = N()
3963
3963
  } = t, n = Q(t, [
3964
3964
  "locale"
3965
3965
  ]);
3966
- return Ci(it({ locale: r }, n));
3966
+ return Ii(it({ locale: r }, n));
3967
3967
  }, $i = (e = {}) => {
3968
3968
  var t = e, {
3969
- locale: r = M()
3969
+ locale: r = N()
3970
3970
  } = t, n = Q(t, [
3971
3971
  "locale"
3972
3972
  ]);
3973
- return Ni(it({ locale: r }, n));
3974
- }, Ri = Le(
3973
+ return Li(it({ locale: r }, n));
3974
+ }, Ri = Me(
3975
3975
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3976
- (e, t = M()) => new fr(e, t, Z().formats, {
3977
- ignoreTag: Z().ignoreTag
3976
+ (e, t = N()) => new fr(e, t, q().formats, {
3977
+ ignoreTag: q().ignoreTag
3978
3978
  })
3979
3979
  ), Di = (e, t = {}) => {
3980
3980
  var r, n, i, s;
3981
- let o = t;
3982
- typeof e == "object" && (o = e, e = o.id);
3981
+ let a = t;
3982
+ typeof e == "object" && (a = e, e = a.id);
3983
3983
  const {
3984
- values: a,
3985
- locale: h = M(),
3984
+ values: o,
3985
+ locale: h = N(),
3986
3986
  default: u
3987
- } = o;
3987
+ } = a;
3988
3988
  if (h == null)
3989
3989
  throw new Error(
3990
3990
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3991
3991
  );
3992
3992
  let l = mr(e, h);
3993
3993
  if (!l)
3994
- l = (s = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3994
+ l = (s = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3995
3995
  else if (typeof l != "string")
3996
3996
  return console.warn(
3997
3997
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3998
3998
  ), l;
3999
- if (!a)
3999
+ if (!o)
4000
4000
  return l;
4001
4001
  let c = l;
4002
4002
  try {
4003
- c = Ri(l, h).format(a);
4003
+ c = Ri(l, h).format(o);
4004
4004
  } catch (m) {
4005
4005
  m instanceof Error && console.warn(
4006
4006
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4008,12 +4008,12 @@ const oe = (e, t) => {
4008
4008
  );
4009
4009
  }
4010
4010
  return c;
4011
- }, Ui = (e, t) => $i(t).format(e), Gi = (e, t) => Mi(t).format(e), ki = (e, t) => Li(t).format(e), Fi = (e, t = M()) => mr(e, t), ji = q([D, ue], () => Di);
4012
- q([D], () => Ui);
4013
- q([D], () => Gi);
4014
- q([D], () => ki);
4015
- q([D, ue], () => Fi);
4016
- function zi(e, t) {
4011
+ }, Ui = (e, t) => $i(t).format(e), ki = (e, t) => Ni(t).format(e), Gi = (e, t) => Mi(t).format(e), Fi = (e, t = N()) => mr(e, t), zi = Z([D, ue], () => Di);
4012
+ Z([D], () => Ui);
4013
+ Z([D], () => ki);
4014
+ Z([D], () => Gi);
4015
+ Z([D, ue], () => Fi);
4016
+ function ji(e, t) {
4017
4017
  if (e) {
4018
4018
  const r = document.createElement("style");
4019
4019
  r.innerHTML = t, e.appendChild(r);
@@ -4038,15 +4038,15 @@ function Xi(e, t, r) {
4038
4038
  });
4039
4039
  }
4040
4040
  }
4041
- function Bt(e, t) {
4041
+ function At(e, t) {
4042
4042
  pr(e, t);
4043
4043
  }
4044
4044
  function Wi(e) {
4045
- vi({
4045
+ Ei({
4046
4046
  fallbackLocale: "en"
4047
4047
  }), D.set(e);
4048
4048
  }
4049
- const At = {
4049
+ const Bt = {
4050
4050
  en: {
4051
4051
  errorGeneralTitle: "Error Occurred",
4052
4052
  errorGeneralText: "Something went wrong",
@@ -4071,7 +4071,10 @@ const At = {
4071
4071
  TransactionCodeIsInvalid: "Transaction code is invalid",
4072
4072
  InvalidSession: "Your session has expired. Please try again",
4073
4073
  TwoFactorAuthRequired: "Two-factor authentication is required",
4074
- DeclinedByMerchant: "We apologise, but transaction has been closed by merchant. Please contact Customer Support for further assistance."
4074
+ DeclinedByMerchant: "We apologise, but transaction has been closed by merchant. Please contact Customer Support for further assistance.",
4075
+ FraudSuspectedError: "We apologise, but we are unable to process your transaction at this time, please try later or contact Customer Support for further assistance. Error Code 22020",
4076
+ OnlyOnePendingTransactionPerUserlsAllowed: "Only one pending transaction per user is allowed",
4077
+ TransactionFrequencyLimitReached: "Transaction frequency limit reached"
4075
4078
  },
4076
4079
  tr: {
4077
4080
  errorGeneralTitle: "Hata oluştu",
@@ -4097,14 +4100,46 @@ const At = {
4097
4100
  TransactionCodeIsInvalid: "Transaction code is invalid",
4098
4101
  InvalidSession: "Beklenmedik bir hata oluştu, lütfen tekrar deneyin.",
4099
4102
  TwoFactorAuthRequired: "İki faktörlü kimlik doğrulama gereklidi",
4100
- DeclinedByMerchant: "Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin."
4103
+ DeclinedByMerchant: "Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin.",
4104
+ FraudSuspectedError: "Üzgünüz, ancak işleminizi şu anda gerçekleştiremiyoruz. Lütfen daha sonra tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 22020.",
4105
+ OnlyOnePendingTransactionPerUserlsAllowed: "Devam eden bir talebiniz olduğu için șu anda yeni bir işlem başlatılamaz.",
4106
+ TransactionFrequencyLimitReached: "İşlem sıklığı limiti aşıldı"
4107
+ },
4108
+ fr: {
4109
+ errorGeneralTitle: "Une erreur s’est produite",
4110
+ errorGeneralText: "Une erreur est survenue",
4111
+ errorGeneralButton: "FERMER",
4112
+ PlayerSessionIsNotValid: "La session du joueur n’est pas valide",
4113
+ VendorCommunicationError: "Nous sommes désolés, mais votre prestataire de paiement a refusé de traiter la demande en raison d’une erreur technique. Veuillez réessayer plus tard ou contacter votre prestataire de paiement pour obtenir de l’aide. Code d’erreur 21297",
4114
+ PaymentMethodNotAllowed: "Nous sommes désolés, mais ce moyen de paiement n’est pas disponible pour le moment. Veuillez contacter le service client pour obtenir de l’aide. Code d’erreur 11402",
4115
+ InvalidPaymentDetails: "Nous sommes désolés, mais vos informations de paiement ne sont pas valides. Veuillez vérifier que vous avez correctement saisi toutes les informations de paiement et réessayer, ou contacter le service client pour obtenir de l’aide. Code d’erreur 13555",
4116
+ MerchantUserHasWithdrawBlockRole: "Cher joueur ! Veuillez noter que vous n’êtes actuellement pas autorisé à initier des opérations de retrait depuis votre compte joueur. Code d’erreur : 21122",
4117
+ MerchantUserHasDepositBlockRole: "Cher joueur ! Veuillez noter que vous n’êtes actuellement pas autorisé à initier des opérations de dépôt depuis votre compte joueur. Code d’erreur : 21123",
4118
+ JwtTokenError: "IDX12741 : le JWT doit comporter trois segments (JWS) ou cinq segments (JWE).",
4119
+ TransactionIsBlockedDueToNotCompletedKyc: "Nous sommes désolés, mais nous ne pouvons pas traiter la transaction car vous n’avez pas complété le KYC. Veuillez vérifier votre identité ou contacter le service client pour obtenir de l’aide. Code d’erreur 23601",
4120
+ InsufficientCasinoFunds: "Votre retrait dépasse votre solde disponible. Veuillez vérifier votre solde disponible afin d’ajuster le montant du retrait",
4121
+ DepositWageringLimit: "Attention ! Le solde de vos gains est inférieur au montant que vous souhaitez retirer.",
4122
+ AmountMinLimitExceeded: "Le montant est inférieur à la limite minimale du moyen de paiement",
4123
+ AmountMaxLimitExceeded: "Le montant est supérieur à la limite maximale du moyen de paiement",
4124
+ AmountIsMissing: "Le montant est manquant",
4125
+ MaxCustomerTransactionsCountReached: "Il semble que vous ayez atteint la limite de fréquence des tentatives de transaction par minute. Le serveur met trop de temps à répondre. Veuillez patienter un moment et réessayer plus tard",
4126
+ VendorTimeoutError: "Il semble que le prestataire de paiement rencontre des problèmes. Le serveur met trop de temps à répondre. Veuillez patienter un moment et réessayer plus tard. Code d’erreur 21292",
4127
+ MerchantUserAccountIsInactive: "Refusé : le compte utilisateur marchand est inactif",
4128
+ MerchantUserHasDepositDenyRole: "Refusé : l’utilisateur marchand a un rôle interdisant les dépôts",
4129
+ TransactionCodeIsInvalid: "Le code de transaction n’est pas valide",
4130
+ InvalidSession: "Votre session a expiré. Veuillez réessayer",
4131
+ TwoFactorAuthRequired: "L’authentification à deux facteurs est requise",
4132
+ DeclinedByMerchant: "Nous sommes désolés, mais la transaction a été clôturée par le marchand. Veuillez contacter le service client pour obtenir de l’aide.",
4133
+ FraudSuspectedError: "Nous sommes désolés, mais nous ne pouvons pas traiter votre transaction pour le moment. Veuillez réessayer plus tard ou contacter le service client pour obtenir de l’aide. Code d’erreur 22020",
4134
+ OnlyOnePendingTransactionPerUserlsAllowed: "Une seule transaction en attente par utilisateur est autorisée",
4135
+ TransactionFrequencyLimitReached: "Limite de fréquence des transactions atteinte"
4101
4136
  }
4102
4137
  };
4103
- function Zi(e) {
4138
+ function qi(e) {
4104
4139
  Pr(e, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}");
4105
4140
  }
4106
- const Ji = (e) => ({}), Pt = (e) => ({}), qi = (e) => ({}), Ot = (e) => ({}), Qi = (e) => ({}), It = (e) => ({}), Yi = (e) => ({}), Ct = (e) => ({ class: "CashierErrorIcon" });
4107
- function Nt(e) {
4141
+ const Ji = (e) => ({}), Pt = (e) => ({}), Zi = (e) => ({}), Ot = (e) => ({}), Qi = (e) => ({}), Ct = (e) => ({}), Yi = (e) => ({}), It = (e) => ({ class: "CashierErrorIcon" });
4142
+ function Lt(e) {
4108
4143
  let t, r;
4109
4144
  return {
4110
4145
  c() {
@@ -4120,28 +4155,28 @@ function Nt(e) {
4120
4155
  n[0]}/error-general-icon.png`) && ge(t, "src", r);
4121
4156
  },
4122
4157
  d(n) {
4123
- n && L(t);
4158
+ n && M(t);
4124
4159
  }
4125
4160
  };
4126
4161
  }
4127
4162
  function Ki(e) {
4128
4163
  let t, r = (
4129
4164
  /*assetsurl*/
4130
- e[0] && Nt(e)
4165
+ e[0] && Lt(e)
4131
4166
  );
4132
4167
  return {
4133
4168
  c() {
4134
- r && r.c(), t = Ir();
4169
+ r && r.c(), t = Cr();
4135
4170
  },
4136
4171
  m(n, i) {
4137
4172
  r && r.m(n, i), J(n, t, i);
4138
4173
  },
4139
4174
  p(n, i) {
4140
4175
  /*assetsurl*/
4141
- n[0] ? r ? r.p(n, i) : (r = Nt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4176
+ n[0] ? r ? r.p(n, i) : (r = Lt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4142
4177
  },
4143
4178
  d(n) {
4144
- n && L(t), r && r.d(n);
4179
+ n && M(t), r && r.d(n);
4145
4180
  }
4146
4181
  };
4147
4182
  }
@@ -4153,19 +4188,19 @@ function es(e) {
4153
4188
  ), n;
4154
4189
  return {
4155
4190
  c() {
4156
- t = O("span"), n = Oe(r), z(t, "class", "CashierErrorText");
4191
+ t = O("span"), n = Oe(r), j(t, "class", "CashierErrorText");
4157
4192
  },
4158
4193
  m(i, s) {
4159
- J(i, t, s), I(t, n);
4194
+ J(i, t, s), C(t, n);
4160
4195
  },
4161
4196
  p(i, s) {
4162
4197
  s & /*$_, errorcode*/
4163
4198
  10 && r !== (r = /*$_*/
4164
4199
  i[3](`${/*errorcode*/
4165
- i[1] || "errorGeneralText"}`) + "") && zt(n, r);
4200
+ i[1] || "errorGeneralText"}`) + "") && jt(n, r);
4166
4201
  },
4167
4202
  d(i) {
4168
- i && L(t);
4203
+ i && M(t);
4169
4204
  }
4170
4205
  };
4171
4206
  }
@@ -4173,40 +4208,40 @@ function ts(e) {
4173
4208
  let t, r, n = (
4174
4209
  /*$_*/
4175
4210
  e[3]("errorGeneralButton") + ""
4176
- ), i, s, o;
4211
+ ), i, s, a;
4177
4212
  return {
4178
4213
  c() {
4179
- t = O("button"), r = O("span"), i = Oe(n), z(t, "class", "CashierErrorButton");
4214
+ t = O("button"), r = O("span"), i = Oe(n), j(t, "class", "CashierErrorButton");
4180
4215
  },
4181
- m(a, h) {
4182
- J(a, t, h), I(t, r), I(r, i), s || (o = Cr(
4216
+ m(o, h) {
4217
+ J(o, t, h), C(t, r), C(r, i), s || (a = Ir(
4183
4218
  t,
4184
4219
  "click",
4185
4220
  /*close*/
4186
4221
  e[4]
4187
4222
  ), s = !0);
4188
4223
  },
4189
- p(a, h) {
4224
+ p(o, h) {
4190
4225
  h & /*$_*/
4191
4226
  8 && n !== (n = /*$_*/
4192
- a[3]("errorGeneralButton") + "") && zt(i, n);
4227
+ o[3]("errorGeneralButton") + "") && jt(i, n);
4193
4228
  },
4194
- d(a) {
4195
- a && L(t), s = !1, o();
4229
+ d(o) {
4230
+ o && M(t), s = !1, a();
4196
4231
  }
4197
4232
  };
4198
4233
  }
4199
4234
  function rs(e) {
4200
- let t, r, n, i, s, o;
4201
- const a = (
4235
+ let t, r, n, i, s, a;
4236
+ const o = (
4202
4237
  /*#slots*/
4203
4238
  e[11].icon
4204
4239
  ), h = fe(
4205
- a,
4240
+ o,
4206
4241
  e,
4207
4242
  /*$$scope*/
4208
4243
  e[10],
4209
- Ct
4244
+ It
4210
4245
  ), u = h || Ki(e), l = (
4211
4246
  /*#slots*/
4212
4247
  e[11].title
@@ -4215,7 +4250,7 @@ function rs(e) {
4215
4250
  e,
4216
4251
  /*$$scope*/
4217
4252
  e[10],
4218
- It
4253
+ Ct
4219
4254
  ), m = (
4220
4255
  /*#slots*/
4221
4256
  e[11].text
@@ -4225,33 +4260,33 @@ function rs(e) {
4225
4260
  /*$$scope*/
4226
4261
  e[10],
4227
4262
  Ot
4228
- ), p = d || es(e), _ = (
4263
+ ), p = d || es(e), v = (
4229
4264
  /*#slots*/
4230
4265
  e[11].button
4231
- ), v = fe(
4232
- _,
4266
+ ), E = fe(
4267
+ v,
4233
4268
  e,
4234
4269
  /*$$scope*/
4235
4270
  e[10],
4236
4271
  Pt
4237
- ), E = v || ts(e);
4272
+ ), _ = E || ts(e);
4238
4273
  return {
4239
4274
  c() {
4240
- t = O("div"), r = O("div"), u && u.c(), n = $e(), c && c.c(), i = $e(), p && p.c(), s = $e(), E && E.c(), z(r, "class", "CashierErrorContent"), z(t, "class", "CashierError");
4275
+ t = O("div"), r = O("div"), u && u.c(), n = $e(), c && c.c(), i = $e(), p && p.c(), s = $e(), _ && _.c(), j(r, "class", "CashierErrorContent"), j(t, "class", "CashierError");
4241
4276
  },
4242
4277
  m(f, g) {
4243
- J(f, t, g), I(t, r), u && u.m(r, null), I(r, n), c && c.m(r, null), I(r, i), p && p.m(r, null), I(r, s), E && E.m(r, null), e[12](t), o = !0;
4278
+ J(f, t, g), C(t, r), u && u.m(r, null), C(r, n), c && c.m(r, null), C(r, i), p && p.m(r, null), C(r, s), _ && _.m(r, null), e[12](t), a = !0;
4244
4279
  },
4245
4280
  p(f, [g]) {
4246
- h ? h.p && (!o || g & /*$$scope*/
4281
+ h ? h.p && (!a || g & /*$$scope*/
4247
4282
  1024) && de(
4248
4283
  h,
4249
- a,
4284
+ o,
4250
4285
  f,
4251
4286
  /*$$scope*/
4252
4287
  f[10],
4253
- o ? me(
4254
- a,
4288
+ a ? me(
4289
+ o,
4255
4290
  /*$$scope*/
4256
4291
  f[10],
4257
4292
  g,
@@ -4260,16 +4295,16 @@ function rs(e) {
4260
4295
  /*$$scope*/
4261
4296
  f[10]
4262
4297
  ),
4263
- Ct
4264
- ) : u && u.p && (!o || g & /*assetsurl*/
4265
- 1) && u.p(f, o ? g : -1), c && c.p && (!o || g & /*$$scope*/
4298
+ It
4299
+ ) : u && u.p && (!a || g & /*assetsurl*/
4300
+ 1) && u.p(f, a ? g : -1), c && c.p && (!a || g & /*$$scope*/
4266
4301
  1024) && de(
4267
4302
  c,
4268
4303
  l,
4269
4304
  f,
4270
4305
  /*$$scope*/
4271
4306
  f[10],
4272
- o ? me(
4307
+ a ? me(
4273
4308
  l,
4274
4309
  /*$$scope*/
4275
4310
  f[10],
@@ -4279,35 +4314,35 @@ function rs(e) {
4279
4314
  /*$$scope*/
4280
4315
  f[10]
4281
4316
  ),
4282
- It
4283
- ), d ? d.p && (!o || g & /*$$scope*/
4317
+ Ct
4318
+ ), d ? d.p && (!a || g & /*$$scope*/
4284
4319
  1024) && de(
4285
4320
  d,
4286
4321
  m,
4287
4322
  f,
4288
4323
  /*$$scope*/
4289
4324
  f[10],
4290
- o ? me(
4325
+ a ? me(
4291
4326
  m,
4292
4327
  /*$$scope*/
4293
4328
  f[10],
4294
4329
  g,
4295
- qi
4330
+ Zi
4296
4331
  ) : pe(
4297
4332
  /*$$scope*/
4298
4333
  f[10]
4299
4334
  ),
4300
4335
  Ot
4301
- ) : p && p.p && (!o || g & /*$_, errorcode*/
4302
- 10) && p.p(f, o ? g : -1), v ? v.p && (!o || g & /*$$scope*/
4336
+ ) : p && p.p && (!a || g & /*$_, errorcode*/
4337
+ 10) && p.p(f, a ? g : -1), E ? E.p && (!a || g & /*$$scope*/
4303
4338
  1024) && de(
4339
+ E,
4304
4340
  v,
4305
- _,
4306
4341
  f,
4307
4342
  /*$$scope*/
4308
4343
  f[10],
4309
- o ? me(
4310
- _,
4344
+ a ? me(
4345
+ v,
4311
4346
  /*$$scope*/
4312
4347
  f[10],
4313
4348
  g,
@@ -4317,76 +4352,76 @@ function rs(e) {
4317
4352
  f[10]
4318
4353
  ),
4319
4354
  Pt
4320
- ) : E && E.p && (!o || g & /*$_*/
4321
- 8) && E.p(f, o ? g : -1);
4355
+ ) : _ && _.p && (!a || g & /*$_*/
4356
+ 8) && _.p(f, a ? g : -1);
4322
4357
  },
4323
4358
  i(f) {
4324
- o || (ee(u, f), ee(c, f), ee(p, f), ee(E, f), o = !0);
4359
+ a || (ee(u, f), ee(c, f), ee(p, f), ee(_, f), a = !0);
4325
4360
  },
4326
4361
  o(f) {
4327
- be(u, f), be(c, f), be(p, f), be(E, f), o = !1;
4362
+ be(u, f), be(c, f), be(p, f), be(_, f), a = !1;
4328
4363
  },
4329
4364
  d(f) {
4330
- f && L(t), u && u.d(f), c && c.d(f), p && p.d(f), E && E.d(f), e[12](null);
4365
+ f && M(t), u && u.d(f), c && c.d(f), p && p.d(f), _ && _.d(f), e[12](null);
4331
4366
  }
4332
4367
  };
4333
4368
  }
4334
4369
  function ns(e, t, r) {
4335
4370
  let n;
4336
- Ar(e, ji, (f) => r(3, n = f));
4337
- let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: m = "" } = t, d;
4371
+ Br(e, zi, (f) => r(3, n = f));
4372
+ let { $$slots: i = {}, $$scope: s } = t, { assetsurl: a = "" } = t, { lang: o = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: m = "" } = t, d;
4338
4373
  const p = () => {
4339
- Wi(a);
4340
- }, _ = () => {
4374
+ Wi(o);
4375
+ }, v = () => {
4341
4376
  fetch(c).then((g) => g.json()).then((g) => {
4342
- Object.keys(g).forEach((B) => {
4343
- Bt(B, g[B]);
4377
+ Object.keys(g).forEach((A) => {
4378
+ At(A, g[A]);
4344
4379
  });
4345
4380
  }).catch((g) => {
4346
4381
  console.error(g);
4347
4382
  });
4348
4383
  };
4349
- Object.keys(At).forEach((f) => {
4350
- Bt(f, At[f]);
4384
+ Object.keys(Bt).forEach((f) => {
4385
+ At(f, Bt[f]);
4351
4386
  });
4352
- const v = () => {
4387
+ const E = () => {
4353
4388
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4354
4389
  };
4355
- Gr(() => () => {
4390
+ kr(() => () => {
4356
4391
  });
4357
- function E(f) {
4392
+ function _(f) {
4358
4393
  Ve[f ? "unshift" : "push"](() => {
4359
4394
  d = f, r(2, d);
4360
4395
  });
4361
4396
  }
4362
4397
  return e.$$set = (f) => {
4363
- "assetsurl" in f && r(0, o = f.assetsurl), "lang" in f && r(5, a = f.lang), "errorcode" in f && r(1, h = f.errorcode), "clientstyling" in f && r(6, u = f.clientstyling), "clientstylingurl" in f && r(7, l = f.clientstylingurl), "translationurl" in f && r(8, c = f.translationurl), "mbsource" in f && r(9, m = f.mbsource), "$$scope" in f && r(10, s = f.$$scope);
4398
+ "assetsurl" in f && r(0, a = f.assetsurl), "lang" in f && r(5, o = f.lang), "errorcode" in f && r(1, h = f.errorcode), "clientstyling" in f && r(6, u = f.clientstyling), "clientstylingurl" in f && r(7, l = f.clientstylingurl), "translationurl" in f && r(8, c = f.translationurl), "mbsource" in f && r(9, m = f.mbsource), "$$scope" in f && r(10, s = f.$$scope);
4364
4399
  }, e.$$.update = () => {
4365
4400
  e.$$.dirty & /*lang*/
4366
- 32 && a && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4367
- 68 && u && d && zi(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4401
+ 32 && o && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4402
+ 68 && u && d && ji(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4368
4403
  132 && l && d && Vi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4369
4404
  516 && m && d && Xi(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
4370
- 256 && c && _();
4405
+ 256 && c && v();
4371
4406
  }, [
4372
- o,
4407
+ a,
4373
4408
  h,
4374
4409
  d,
4375
4410
  n,
4376
- v,
4377
- a,
4411
+ E,
4412
+ o,
4378
4413
  u,
4379
4414
  l,
4380
4415
  c,
4381
4416
  m,
4382
4417
  s,
4383
4418
  i,
4384
- E
4419
+ _
4385
4420
  ];
4386
4421
  }
4387
- class Er extends qr {
4422
+ class _r extends Zr {
4388
4423
  constructor(t) {
4389
- super(), Zr(
4424
+ super(), qr(
4390
4425
  this,
4391
4426
  t,
4392
4427
  ns,
@@ -4401,7 +4436,7 @@ class Er extends qr {
4401
4436
  translationurl: 8,
4402
4437
  mbsource: 9
4403
4438
  },
4404
- Zi
4439
+ qi
4405
4440
  );
4406
4441
  }
4407
4442
  get assetsurl() {
@@ -4447,53 +4482,53 @@ class Er extends qr {
4447
4482
  this.$$set({ mbsource: t }), P();
4448
4483
  }
4449
4484
  }
4450
- Jr(Er, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4485
+ Jr(_r, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4451
4486
  const ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4452
4487
  __proto__: null,
4453
- default: Er
4488
+ default: _r
4454
4489
  }, Symbol.toStringTag, { value: "Module" }));
4455
4490
  export {
4456
4491
  D as $,
4457
4492
  hs as A,
4458
- zt as B,
4493
+ jt as B,
4459
4494
  Oe as C,
4460
4495
  ge as D,
4461
4496
  R as E,
4462
- Cr as F,
4463
- Ir as G,
4497
+ Ir as F,
4498
+ Cr as G,
4464
4499
  fs as H,
4465
- os as I,
4466
- as as J,
4500
+ as as I,
4501
+ os as J,
4467
4502
  ct as K,
4468
- ji as L,
4469
- zi as M,
4503
+ zi as L,
4504
+ ji as M,
4470
4505
  Vi as N,
4471
4506
  Xi as O,
4472
4507
  ds as P,
4473
- qr as S,
4508
+ Zr as S,
4474
4509
  pr as a,
4475
- vi as b,
4510
+ Ei as b,
4476
4511
  ms as c,
4477
- Zr as d,
4512
+ qr as d,
4478
4513
  Jr as e,
4479
4514
  P as f,
4480
4515
  Kr as g,
4481
4516
  Pr as h,
4482
- Lt as i,
4483
- L as j,
4517
+ Mt as i,
4518
+ M as j,
4484
4519
  J as k,
4485
4520
  O as l,
4486
- z as m,
4521
+ j as m,
4487
4522
  S as n,
4488
- Ar as o,
4489
- Gr as p,
4523
+ Br as o,
4524
+ kr as p,
4490
4525
  Ve as q,
4491
4526
  us as r,
4492
4527
  $t as s,
4493
4528
  ee as t,
4494
4529
  be as u,
4495
4530
  ls as v,
4496
- I as w,
4531
+ C as w,
4497
4532
  $e as x,
4498
4533
  cs as y,
4499
4534
  ie as z