@everymatrix/cashier-receipt-page-nd 0.2.13 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import "../stencil/ui-image-Ch-GHki1.js";
2
2
  function w() {
3
3
  }
4
- const At = (e) => e;
4
+ const Bt = (e) => e;
5
5
  function pr(e, t) {
6
6
  for (const r in t)
7
7
  e[r] = t[r];
@@ -84,16 +84,16 @@ function de(e) {
84
84
  return -1;
85
85
  }
86
86
  const Lt = typeof window < "u";
87
- let Nt = Lt ? () => window.performance.now() : () => Date.now(), Ke = Lt ? (e) => requestAnimationFrame(e) : w;
87
+ let Mt = Lt ? () => window.performance.now() : () => Date.now(), Ke = Lt ? (e) => requestAnimationFrame(e) : w;
88
88
  const G = /* @__PURE__ */ new Set();
89
- function Mt(e) {
89
+ function Nt(e) {
90
90
  G.forEach((t) => {
91
91
  t.c(e) || (G.delete(t), t.f());
92
- }), G.size !== 0 && Ke(Mt);
92
+ }), G.size !== 0 && Ke(Nt);
93
93
  }
94
94
  function $t(e) {
95
95
  let t;
96
- return G.size === 0 && Ke(Mt), {
96
+ return G.size === 0 && Ke(Nt), {
97
97
  promise: new Promise((r) => {
98
98
  G.add(t = { c: e, f: r });
99
99
  }),
@@ -133,13 +133,13 @@ function Rt(e, t) {
133
133
  t
134
134
  ), t.sheet;
135
135
  }
136
- function Z(e, t, r) {
136
+ function q(e, t, r) {
137
137
  e.insertBefore(t, r || null);
138
138
  }
139
139
  function L(e) {
140
140
  e.parentNode && e.parentNode.removeChild(e);
141
141
  }
142
- function Zi(e, t) {
142
+ function qi(e, t) {
143
143
  for (let r = 0; r < e.length; r += 1)
144
144
  e[r] && e[r].d(t);
145
145
  }
@@ -152,21 +152,21 @@ function Ji(e) {
152
152
  function Pe(e) {
153
153
  return document.createTextNode(e);
154
154
  }
155
- function Ne() {
155
+ function Me() {
156
156
  return Pe(" ");
157
157
  }
158
- function Er() {
158
+ function vr() {
159
159
  return Pe("");
160
160
  }
161
- function vr(e, t, r, n) {
161
+ function Er(e, t, r, n) {
162
162
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
163
163
  }
164
- function j(e, t, r) {
164
+ function z(e, t, r) {
165
165
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
166
166
  }
167
167
  function pe(e, t, r) {
168
168
  const n = t.toLowerCase();
169
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : j(e, t, r);
169
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : z(e, t, r);
170
170
  }
171
171
  function xr(e) {
172
172
  return Array.from(e.childNodes);
@@ -203,9 +203,9 @@ function Ut(e, t, r, n, i, s, a, o = 0) {
203
203
  const h = 16.666 / n;
204
204
  let u = `{
205
205
  `;
206
- for (let v = 0; v <= 1; v += h) {
207
- const E = t + (r - t) * s(v);
208
- u += v * 100 + `%{${a(E, 1 - E)}}
206
+ for (let E = 0; E <= 1; E += h) {
207
+ const v = t + (r - t) * s(E);
208
+ u += E * 100 + `%{${a(v, 1 - v)}}
209
209
  `;
210
210
  }
211
211
  const l = u + `100% {${a(r, 1 - r)}}
@@ -219,9 +219,9 @@ function Fe(e, t) {
219
219
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
220
220
  // remove all Svelte animations
221
221
  ), i = r.length - n.length;
222
- i && (e.style.animation = n.join(", "), Te -= i, Te || Br());
222
+ i && (e.style.animation = n.join(", "), Te -= i, Te || Ar());
223
223
  }
224
- function Br() {
224
+ function Ar() {
225
225
  Ke(() => {
226
226
  Te || (xe.forEach((e) => {
227
227
  const { ownerNode: t } = e.stylesheet;
@@ -233,27 +233,27 @@ let re;
233
233
  function te(e) {
234
234
  re = e;
235
235
  }
236
- function Ar() {
236
+ function Br() {
237
237
  if (!re)
238
238
  throw new Error("Function called outside component initialization");
239
239
  return re;
240
240
  }
241
241
  function Pr(e) {
242
- Ar().$$.on_mount.push(e);
242
+ Br().$$.on_mount.push(e);
243
243
  }
244
- const k = [], je = [];
244
+ const k = [], ze = [];
245
245
  let F = [];
246
246
  const at = [], Or = /* @__PURE__ */ Promise.resolve();
247
- let ze = !1;
247
+ let je = !1;
248
248
  function Cr() {
249
- ze || (ze = !0, Or.then(A));
249
+ je || (je = !0, Or.then(B));
250
250
  }
251
251
  function ne(e) {
252
252
  F.push(e);
253
253
  }
254
- const Me = /* @__PURE__ */ new Set();
254
+ const Ne = /* @__PURE__ */ new Set();
255
255
  let D = 0;
256
- function A() {
256
+ function B() {
257
257
  if (D !== 0)
258
258
  return;
259
259
  const e = re;
@@ -266,17 +266,17 @@ function A() {
266
266
  } catch (t) {
267
267
  throw k.length = 0, D = 0, t;
268
268
  }
269
- for (te(null), k.length = 0, D = 0; je.length; )
270
- je.pop()();
269
+ for (te(null), k.length = 0, D = 0; ze.length; )
270
+ ze.pop()();
271
271
  for (let t = 0; t < F.length; t += 1) {
272
272
  const r = F[t];
273
- Me.has(r) || (Me.add(r), r());
273
+ Ne.has(r) || (Ne.add(r), r());
274
274
  }
275
275
  F.length = 0;
276
276
  } while (k.length);
277
277
  for (; at.length; )
278
278
  at.pop()();
279
- ze = !1, Me.clear(), te(e);
279
+ je = !1, Ne.clear(), te(e);
280
280
  }
281
281
  function Ir(e) {
282
282
  if (e.fragment !== null) {
@@ -300,7 +300,7 @@ function He(e, t, r) {
300
300
  }
301
301
  const ye = /* @__PURE__ */ new Set();
302
302
  let C;
303
- function qi() {
303
+ function Zi() {
304
304
  C = {
305
305
  r: 0,
306
306
  c: [],
@@ -335,18 +335,18 @@ function Yi(e, t, r) {
335
335
  const {
336
336
  delay: m = 0,
337
337
  duration: d = 300,
338
- easing: p = At,
338
+ easing: p = Bt,
339
339
  tick: _ = w,
340
- css: v
340
+ css: E
341
341
  } = i || Gt;
342
- v && (a = Ut(e, 0, 1, d, m, p, v, h++)), _(0, 1);
343
- const E = Nt() + m, f = E + d;
342
+ E && (a = Ut(e, 0, 1, d, m, p, E, h++)), _(0, 1);
343
+ const v = Mt() + m, f = v + d;
344
344
  o && o.abort(), s = !0, ne(() => He(e, !0, "start")), o = $t((g) => {
345
345
  if (s) {
346
346
  if (g >= f)
347
347
  return _(1, 0), He(e, !0, "end"), u(), s = !1;
348
- if (g >= E) {
349
- const S = p((g - E) / d);
348
+ if (g >= v) {
349
+ const S = p((g - v) / d);
350
350
  _(S, 1 - S);
351
351
  }
352
352
  }
@@ -376,19 +376,19 @@ function Ki(e, t, r) {
376
376
  const {
377
377
  delay: l = 0,
378
378
  duration: c = 300,
379
- easing: m = At,
379
+ easing: m = Bt,
380
380
  tick: d = w,
381
381
  css: p
382
382
  } = i || Gt;
383
383
  p && (a = Ut(e, 1, 0, c, l, m, p));
384
- const _ = Nt() + l, v = _ + c;
384
+ const _ = Mt() + l, E = _ + c;
385
385
  ne(() => He(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
386
- e.inert, e.inert = !0), $t((E) => {
386
+ e.inert, e.inert = !0), $t((v) => {
387
387
  if (s) {
388
- if (E >= v)
388
+ if (v >= E)
389
389
  return d(0, 1), He(e, !1, "end"), --o.r || $(o.c), !1;
390
- if (E >= _) {
391
- const f = m((E - _) / c);
390
+ if (v >= _) {
391
+ const f = m((v - _) / c);
392
392
  d(1 - f, f);
393
393
  }
394
394
  }
@@ -406,14 +406,14 @@ function Ki(e, t, r) {
406
406
  function es(e) {
407
407
  return e?.length !== void 0 ? e : Array.from(e);
408
408
  }
409
- function Nr(e, t, r) {
409
+ function Mr(e, t, r) {
410
410
  const { fragment: n, after_update: i } = e.$$;
411
411
  n && n.m(t, r), ne(() => {
412
412
  const s = e.$$.on_mount.map(Pt).filter(ae);
413
413
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : $(s), e.$$.on_mount = [];
414
414
  }), i.forEach(ne);
415
415
  }
416
- function Mr(e, t) {
416
+ function Nr(e, t) {
417
417
  const r = e.$$;
418
418
  r.fragment !== null && (Lr(r.after_update), $(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
419
419
  }
@@ -455,7 +455,7 @@ function Rr(e, t, r, n, i, s, a = null, o = [-1]) {
455
455
  u.fragment && u.fragment.l(c), c.forEach(L);
456
456
  } else
457
457
  u.fragment && u.fragment.c();
458
- t.intro && K(e.$$.fragment), Nr(e, t.target, t.anchor), A();
458
+ t.intro && K(e.$$.fragment), Mr(e, t.target, t.anchor), B();
459
459
  }
460
460
  te(h);
461
461
  }
@@ -502,14 +502,14 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
502
502
  let s;
503
503
  return {
504
504
  c: function() {
505
- s = P("slot"), i !== "default" && j(s, "name", i);
505
+ s = P("slot"), i !== "default" && z(s, "name", i);
506
506
  },
507
507
  /**
508
508
  * @param {HTMLElement} target
509
509
  * @param {HTMLElement} [anchor]
510
510
  */
511
511
  m: function(h, u) {
512
- Z(h, s, u);
512
+ q(h, s, u);
513
513
  },
514
514
  d: function(h) {
515
515
  h && L(s);
@@ -654,7 +654,7 @@ class Ur {
654
654
  $$set = void 0;
655
655
  /** @returns {void} */
656
656
  $destroy() {
657
- Mr(this, 1), this.$destroy = w;
657
+ Nr(this, 1), this.$destroy = w;
658
658
  }
659
659
  /**
660
660
  * @template {Extract<keyof Events, string>} K
@@ -731,8 +731,8 @@ function J(e, t, r) {
731
731
  }, d = i.map(
732
732
  (p, _) => Ct(
733
733
  p,
734
- (v) => {
735
- u[_] = v, l &= ~(1 << _), h && m();
734
+ (E) => {
735
+ u[_] = E, l &= ~(1 << _), h && m();
736
736
  },
737
737
  () => {
738
738
  l |= 1 << _;
@@ -748,36 +748,36 @@ var ts = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
748
748
  function Fr(e) {
749
749
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
750
750
  }
751
- var jr = function(t) {
752
- return zr(t) && !Vr(t);
751
+ var zr = function(t) {
752
+ return jr(t) && !Vr(t);
753
753
  };
754
- function zr(e) {
754
+ function jr(e) {
755
755
  return !!e && typeof e == "object";
756
756
  }
757
757
  function Vr(e) {
758
758
  var t = Object.prototype.toString.call(e);
759
- return t === "[object RegExp]" || t === "[object Date]" || Zr(e);
759
+ return t === "[object RegExp]" || t === "[object Date]" || qr(e);
760
760
  }
761
761
  var Xr = typeof Symbol == "function" && Symbol.for, Wr = Xr ? Symbol.for("react.element") : 60103;
762
- function Zr(e) {
762
+ function qr(e) {
763
763
  return e.$$typeof === Wr;
764
764
  }
765
765
  function Jr(e) {
766
766
  return Array.isArray(e) ? [] : {};
767
767
  }
768
768
  function ie(e, t) {
769
- return t.clone !== !1 && t.isMergeableObject(e) ? z(Jr(e), e, t) : e;
769
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(Jr(e), e, t) : e;
770
770
  }
771
- function qr(e, t, r) {
771
+ function Zr(e, t, r) {
772
772
  return e.concat(t).map(function(n) {
773
773
  return ie(n, r);
774
774
  });
775
775
  }
776
776
  function Qr(e, t) {
777
777
  if (!t.customMerge)
778
- return z;
778
+ return j;
779
779
  var r = t.customMerge(e);
780
- return typeof r == "function" ? r : z;
780
+ return typeof r == "function" ? r : j;
781
781
  }
782
782
  function Yr(e) {
783
783
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -787,7 +787,7 @@ function Yr(e) {
787
787
  function ot(e) {
788
788
  return Object.keys(e).concat(Yr(e));
789
789
  }
790
- function jt(e, t) {
790
+ function zt(e, t) {
791
791
  try {
792
792
  return t in e;
793
793
  } catch {
@@ -795,29 +795,29 @@ function jt(e, t) {
795
795
  }
796
796
  }
797
797
  function Kr(e, t) {
798
- return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
798
+ return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
799
799
  }
800
800
  function en(e, t, r) {
801
801
  var n = {};
802
802
  return r.isMergeableObject(e) && ot(e).forEach(function(i) {
803
803
  n[i] = ie(e[i], r);
804
804
  }), ot(t).forEach(function(i) {
805
- Kr(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
805
+ Kr(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
806
806
  }), n;
807
807
  }
808
- function z(e, t, r) {
809
- r = r || {}, r.arrayMerge = r.arrayMerge || qr, r.isMergeableObject = r.isMergeableObject || jr, r.cloneUnlessOtherwiseSpecified = ie;
808
+ function j(e, t, r) {
809
+ r = r || {}, r.arrayMerge = r.arrayMerge || Zr, r.isMergeableObject = r.isMergeableObject || zr, r.cloneUnlessOtherwiseSpecified = ie;
810
810
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
811
811
  return s ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : ie(t, r);
812
812
  }
813
- z.all = function(t, r) {
813
+ j.all = function(t, r) {
814
814
  if (!Array.isArray(t))
815
815
  throw new Error("first argument should be an array");
816
816
  return t.reduce(function(n, i) {
817
- return z(n, i, r);
817
+ return j(n, i, r);
818
818
  }, {});
819
819
  };
820
- var tn = z, rn = tn;
820
+ var tn = j, rn = tn;
821
821
  const nn = /* @__PURE__ */ Fr(rn);
822
822
  var Ve = function(e, t) {
823
823
  return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
@@ -836,15 +836,15 @@ function Ce(e, t) {
836
836
  }
837
837
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
838
838
  }
839
- var B = function() {
840
- return B = Object.assign || function(t) {
839
+ var A = function() {
840
+ return A = Object.assign || function(t) {
841
841
  for (var r, n = 1, i = arguments.length; n < i; n++) {
842
842
  r = arguments[n];
843
843
  for (var s in r)
844
844
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
845
845
  }
846
846
  return t;
847
- }, B.apply(this, arguments);
847
+ }, A.apply(this, arguments);
848
848
  };
849
849
  function sn(e, t) {
850
850
  var r = {};
@@ -875,7 +875,7 @@ function on(e, t, r, n) {
875
875
  var i = an(n) ? n : r(n), s = t.get(i);
876
876
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
877
877
  }
878
- function zt(e, t, r) {
878
+ function jt(e, t, r) {
879
879
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
880
880
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
881
881
  }
@@ -883,11 +883,11 @@ function Vt(e, t, r, n, i) {
883
883
  return r.bind(t, e, n, i);
884
884
  }
885
885
  function un(e, t) {
886
- var r = e.length === 1 ? on : zt;
886
+ var r = e.length === 1 ? on : jt;
887
887
  return Vt(e, this, r, t.cache.create(), t.serializer);
888
888
  }
889
889
  function ln(e, t) {
890
- return Vt(e, this, zt, t.cache.create(), t.serializer);
890
+ return Vt(e, this, jt, t.cache.create(), t.serializer);
891
891
  }
892
892
  var hn = function() {
893
893
  return JSON.stringify(arguments);
@@ -943,13 +943,13 @@ function Xt(e) {
943
943
  function Wt(e) {
944
944
  return e.type === x.date;
945
945
  }
946
- function Zt(e) {
946
+ function qt(e) {
947
947
  return e.type === x.time;
948
948
  }
949
949
  function Jt(e) {
950
950
  return e.type === x.select;
951
951
  }
952
- function qt(e) {
952
+ function Zt(e) {
953
953
  return e.type === x.plural;
954
954
  }
955
955
  function dn(e) {
@@ -1088,7 +1088,7 @@ function yn(e) {
1088
1088
  function _n(e) {
1089
1089
  return e.replace(/^(.*?)-/, "");
1090
1090
  }
1091
- var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, En = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1091
+ var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1092
1092
  function ht(e) {
1093
1093
  var t = {};
1094
1094
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
@@ -1135,7 +1135,7 @@ function rr(e) {
1135
1135
  };
1136
1136
  }
1137
1137
  }
1138
- function vn(e) {
1138
+ function En(e) {
1139
1139
  var t;
1140
1140
  if (e[0] === "E" && e[1] === "E" ? (t = {
1141
1141
  notation: "engineering"
@@ -1239,7 +1239,7 @@ function xn(e) {
1239
1239
  case "integer-width":
1240
1240
  if (i.options.length > 1)
1241
1241
  throw new RangeError("integer-width stems only accept a single optional option");
1242
- i.options[0].replace(En, function(h, u, l, c, m, d) {
1242
+ i.options[0].replace(vn, function(h, u, l, c, m, d) {
1243
1243
  if (u)
1244
1244
  t.minimumIntegerDigits = l.length;
1245
1245
  else {
@@ -1272,7 +1272,7 @@ function xn(e) {
1272
1272
  }
1273
1273
  var a = rr(i.stem);
1274
1274
  a && (t = T(T({}, t), a));
1275
- var o = vn(i.stem);
1275
+ var o = En(i.stem);
1276
1276
  o && (t = T(T({}, t), o));
1277
1277
  }
1278
1278
  return t;
@@ -2734,16 +2734,16 @@ var Ue, wn = new RegExp("^".concat(Kt.source, "*")), Sn = new RegExp("".concat(K
2734
2734
  function y(e, t) {
2735
2735
  return { start: e, end: t };
2736
2736
  }
2737
- var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), An = !!String.fromCodePoint, Pn = !!Object.fromEntries, On = !!String.prototype.codePointAt, Cn = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Ln = !!Number.isSafeInteger, Nn = Ln ? Number.isSafeInteger : function(e) {
2737
+ var An = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bn = !!String.fromCodePoint, Pn = !!Object.fromEntries, On = !!String.prototype.codePointAt, Cn = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Ln = !!Number.isSafeInteger, Mn = Ln ? Number.isSafeInteger : function(e) {
2738
2738
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2739
2739
  }, We = !0;
2740
2740
  try {
2741
- var Mn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2742
- We = ((Ue = Mn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2741
+ var Nn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2742
+ We = ((Ue = Nn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2743
2743
  } catch {
2744
2744
  We = !1;
2745
2745
  }
2746
- var ft = Bn ? (
2746
+ var ft = An ? (
2747
2747
  // Native
2748
2748
  function(t, r, n) {
2749
2749
  return t.startsWith(r, n);
@@ -2753,7 +2753,7 @@ var ft = Bn ? (
2753
2753
  function(t, r, n) {
2754
2754
  return t.slice(n, n + r.length) === r;
2755
2755
  }
2756
- ), Ze = An ? String.fromCodePoint : (
2756
+ ), qe = Bn ? String.fromCodePoint : (
2757
2757
  // IE11
2758
2758
  function() {
2759
2759
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2832,7 +2832,7 @@ if (We) {
2832
2832
  break;
2833
2833
  n.push(i), r += i >= 65536 ? 2 : 1;
2834
2834
  }
2835
- return Ze.apply(void 0, n);
2835
+ return qe.apply(void 0, n);
2836
2836
  };
2837
2837
  var Dn = (
2838
2838
  /** @class */
@@ -2865,7 +2865,7 @@ var Dn = (
2865
2865
  if (n)
2866
2866
  break;
2867
2867
  return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2868
- } else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
2868
+ } else if (s === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
2869
2869
  var a = this.parseTag(t, r);
2870
2870
  if (a.err)
2871
2871
  return a;
@@ -2898,7 +2898,7 @@ var Dn = (
2898
2898
  return s;
2899
2899
  var a = s.val, o = this.clonePosition();
2900
2900
  if (this.bumpIf("</")) {
2901
- if (this.isEOF() || !qe(this.char()))
2901
+ if (this.isEOF() || !Ze(this.char()))
2902
2902
  return this.error(b.INVALID_TAG, y(o, this.clonePosition()));
2903
2903
  var h = this.clonePosition(), u = this.parseTagName();
2904
2904
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2979,12 +2979,12 @@ var Dn = (
2979
2979
  r.push(n);
2980
2980
  this.bump();
2981
2981
  }
2982
- return Ze.apply(void 0, r);
2982
+ return qe.apply(void 0, r);
2983
2983
  }, e.prototype.tryParseUnquoted = function(t, r) {
2984
2984
  if (this.isEOF())
2985
2985
  return null;
2986
2986
  var n = this.char();
2987
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2987
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
2988
2988
  }, e.prototype.parseArgument = function(t, r) {
2989
2989
  var n = this.clonePosition();
2990
2990
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3043,23 +3043,23 @@ var Dn = (
3043
3043
  return p;
3044
3044
  var _ = y(i, this.clonePosition());
3045
3045
  if (u && ft(u?.style, "::", 0)) {
3046
- var v = $n(u.style.slice(2));
3046
+ var E = $n(u.style.slice(2));
3047
3047
  if (o === "number") {
3048
- var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3048
+ var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3049
3049
  return c.err ? c : {
3050
3050
  val: { type: x.number, value: n, location: _, style: c.val },
3051
3051
  err: null
3052
3052
  };
3053
3053
  } else {
3054
- if (v.length === 0)
3054
+ if (E.length === 0)
3055
3055
  return this.error(b.EXPECT_DATE_TIME_SKELETON, _);
3056
- var E = v;
3057
- this.locale && (E = Tn(v, this.locale));
3056
+ var v = E;
3057
+ this.locale && (v = Tn(E, this.locale));
3058
3058
  var m = {
3059
3059
  type: V.dateTime,
3060
- pattern: E,
3060
+ pattern: v,
3061
3061
  location: u.styleLocation,
3062
- parsedOptions: this.shouldParseSkeletons ? gn(E) : {}
3062
+ parsedOptions: this.shouldParseSkeletons ? gn(v) : {}
3063
3063
  }, f = o === "date" ? x.date : x.time;
3064
3064
  return {
3065
3065
  val: { type: f, value: n, location: _, style: m },
@@ -3084,7 +3084,7 @@ var Dn = (
3084
3084
  if (this.bumpSpace(), !this.bumpIf(","))
3085
3085
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g, we({}, g)));
3086
3086
  this.bumpSpace();
3087
- var S = this.parseIdentifierIfPossible(), M = 0;
3087
+ var S = this.parseIdentifierIfPossible(), N = 0;
3088
3088
  if (o !== "select" && S.value === "offset") {
3089
3089
  if (!this.bumpIf(":"))
3090
3090
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
@@ -3092,7 +3092,7 @@ var Dn = (
3092
3092
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3093
3093
  if (c.err)
3094
3094
  return c;
3095
- this.bumpSpace(), S = this.parseIdentifierIfPossible(), M = c.val;
3095
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), N = c.val;
3096
3096
  }
3097
3097
  var le = this.tryParsePluralOrSelectOptions(t, o, r, S);
3098
3098
  if (le.err)
@@ -3114,7 +3114,7 @@ var Dn = (
3114
3114
  type: x.plural,
3115
3115
  value: n,
3116
3116
  options: mt(le.val),
3117
- offset: M,
3117
+ offset: N,
3118
3118
  pluralType: o === "plural" ? "cardinal" : "ordinal",
3119
3119
  location: nt
3120
3120
  },
@@ -3221,7 +3221,7 @@ var Dn = (
3221
3221
  break;
3222
3222
  }
3223
3223
  var h = y(i, this.clonePosition());
3224
- return s ? (a *= n, Nn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3224
+ return s ? (a *= n, Mn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3225
3225
  }, e.prototype.offset = function() {
3226
3226
  return this.position.offset;
3227
3227
  }, e.prototype.isEOF = function() {
@@ -3287,11 +3287,11 @@ var Dn = (
3287
3287
  }, e;
3288
3288
  }()
3289
3289
  );
3290
- function qe(e) {
3290
+ function Ze(e) {
3291
3291
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3292
3292
  }
3293
3293
  function Un(e) {
3294
- return qe(e) || e === 47;
3294
+ return Ze(e) || e === 47;
3295
3295
  }
3296
3296
  function kn(e) {
3297
3297
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
@@ -3304,11 +3304,11 @@ function Gn(e) {
3304
3304
  }
3305
3305
  function Qe(e) {
3306
3306
  e.forEach(function(t) {
3307
- if (delete t.location, Jt(t) || qt(t))
3307
+ if (delete t.location, Jt(t) || Zt(t))
3308
3308
  for (var r in t.options)
3309
3309
  delete t.options[r].location, Qe(t.options[r].value);
3310
3310
  else
3311
- Xt(t) && Yt(t.style) || (Wt(t) || Zt(t)) && Xe(t.style) ? delete t.style.location : Qt(t) && Qe(t.children);
3311
+ Xt(t) && Yt(t.style) || (Wt(t) || qt(t)) && Xe(t.style) ? delete t.style.location : Qt(t) && Qe(t.children);
3312
3312
  });
3313
3313
  }
3314
3314
  function Fn(e, t) {
@@ -3345,7 +3345,7 @@ var Ie = (
3345
3345
  }
3346
3346
  return t;
3347
3347
  }(Ie)
3348
- ), jn = (
3348
+ ), zn = (
3349
3349
  /** @class */
3350
3350
  function(e) {
3351
3351
  Ce(t, e);
@@ -3354,7 +3354,7 @@ var Ie = (
3354
3354
  }
3355
3355
  return t;
3356
3356
  }(Ie)
3357
- ), zn = (
3357
+ ), jn = (
3358
3358
  /** @class */
3359
3359
  function(e) {
3360
3360
  Ce(t, e);
@@ -3376,7 +3376,7 @@ function Vn(e) {
3376
3376
  function Xn(e) {
3377
3377
  return typeof e == "function";
3378
3378
  }
3379
- function Ee(e, t, r, n, i, s, a) {
3379
+ function ve(e, t, r, n, i, s, a) {
3380
3380
  if (e.length === 1 && ut(e[0]))
3381
3381
  return [
3382
3382
  {
@@ -3402,7 +3402,7 @@ function Ee(e, t, r, n, i, s, a) {
3402
3402
  }
3403
3403
  var c = l.value;
3404
3404
  if (!(i && c in i))
3405
- throw new zn(c, a);
3405
+ throw new jn(c, a);
3406
3406
  var m = i[c];
3407
3407
  if (mn(l)) {
3408
3408
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), o.push({
@@ -3419,7 +3419,7 @@ function Ee(e, t, r, n, i, s, a) {
3419
3419
  });
3420
3420
  continue;
3421
3421
  }
3422
- if (Zt(l)) {
3422
+ if (qt(l)) {
3423
3423
  var d = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3424
3424
  o.push({
3425
3425
  type: H.literal,
@@ -3436,16 +3436,16 @@ function Ee(e, t, r, n, i, s, a) {
3436
3436
  continue;
3437
3437
  }
3438
3438
  if (Qt(l)) {
3439
- var p = l.children, _ = l.value, v = i[_];
3440
- if (!Xn(v))
3441
- throw new jn(_, "function", a);
3442
- var E = Ee(p, t, r, n, i, s), f = v(E.map(function(M) {
3443
- return M.value;
3439
+ var p = l.children, _ = l.value, E = i[_];
3440
+ if (!Xn(E))
3441
+ throw new zn(_, "function", a);
3442
+ var v = ve(p, t, r, n, i, s), f = E(v.map(function(N) {
3443
+ return N.value;
3444
3444
  }));
3445
- Array.isArray(f) || (f = [f]), o.push.apply(o, f.map(function(M) {
3445
+ Array.isArray(f) || (f = [f]), o.push.apply(o, f.map(function(N) {
3446
3446
  return {
3447
- type: typeof M == "string" ? H.literal : H.object,
3448
- value: M
3447
+ type: typeof N == "string" ? H.literal : H.object,
3448
+ value: N
3449
3449
  };
3450
3450
  }));
3451
3451
  }
@@ -3453,10 +3453,10 @@ function Ee(e, t, r, n, i, s, a) {
3453
3453
  var g = l.options[m] || l.options.other;
3454
3454
  if (!g)
3455
3455
  throw new pt(l.value, m, Object.keys(l.options), a);
3456
- o.push.apply(o, Ee(g.value, t, r, n, i));
3456
+ o.push.apply(o, ve(g.value, t, r, n, i));
3457
3457
  continue;
3458
3458
  }
3459
- if (qt(l)) {
3459
+ if (Zt(l)) {
3460
3460
  var g = l.options["=".concat(m)];
3461
3461
  if (!g) {
3462
3462
  if (!Intl.PluralRules)
@@ -3468,21 +3468,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3468
3468
  }
3469
3469
  if (!g)
3470
3470
  throw new pt(l.value, m, Object.keys(l.options), a);
3471
- o.push.apply(o, Ee(g.value, t, r, n, i, m - (l.offset || 0)));
3471
+ o.push.apply(o, ve(g.value, t, r, n, i, m - (l.offset || 0)));
3472
3472
  continue;
3473
3473
  }
3474
3474
  }
3475
3475
  return Vn(o);
3476
3476
  }
3477
3477
  function Wn(e, t) {
3478
- return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3479
- return r[n] = B(B({}, e[n]), t[n] || {}), r;
3478
+ return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3479
+ return r[n] = A(A({}, e[n]), t[n] || {}), r;
3480
3480
  }, {})) : e;
3481
3481
  }
3482
- function Zn(e, t) {
3482
+ function qn(e, t) {
3483
3483
  return t ? Object.keys(e).reduce(function(r, n) {
3484
3484
  return r[n] = Wn(e[n], t[n]), r;
3485
- }, B({}, e)) : e;
3485
+ }, A({}, e)) : e;
3486
3486
  }
3487
3487
  function ke(e) {
3488
3488
  return {
@@ -3549,7 +3549,7 @@ var ar = (
3549
3549
  }, []);
3550
3550
  return l.length <= 1 ? l[0] || "" : l;
3551
3551
  }, this.formatToParts = function(h) {
3552
- return Ee(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3552
+ return ve(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3553
3553
  }, this.resolvedOptions = function() {
3554
3554
  var h;
3555
3555
  return {
@@ -3563,12 +3563,12 @@ var ar = (
3563
3563
  var a = i || {};
3564
3564
  a.formatters;
3565
3565
  var o = sn(a, ["formatters"]);
3566
- this.ast = e.__parse(t, B(B({}, o), { locale: this.resolvedLocale }));
3566
+ this.ast = e.__parse(t, A(A({}, o), { locale: this.resolvedLocale }));
3567
3567
  } else
3568
3568
  this.ast = t;
3569
3569
  if (!Array.isArray(this.ast))
3570
3570
  throw new TypeError("A message must be provided as a String or AST.");
3571
- this.formats = Zn(e.formats, n), this.formatters = i && i.formatters || Jn(this.formatterCache);
3571
+ this.formats = qn(e.formats, n), this.formatters = i && i.formatters || Jn(this.formatterCache);
3572
3572
  }
3573
3573
  return Object.defineProperty(e, "defaultLocale", {
3574
3574
  get: function() {
@@ -3642,7 +3642,7 @@ var ar = (
3642
3642
  }, e;
3643
3643
  }()
3644
3644
  );
3645
- function qn(e, t) {
3645
+ function Zn(e, t) {
3646
3646
  if (t == null)
3647
3647
  return;
3648
3648
  if (t in e)
@@ -3687,7 +3687,7 @@ function Kn(e, t) {
3687
3687
  if (!ur(e))
3688
3688
  return null;
3689
3689
  const r = Yn(e);
3690
- return qn(r, t);
3690
+ return Zn(r, t);
3691
3691
  }
3692
3692
  function ei(e) {
3693
3693
  if (e == null)
@@ -3707,12 +3707,12 @@ J(
3707
3707
  ([e]) => Object.keys(e)
3708
3708
  );
3709
3709
  oe.subscribe((e) => tt = e);
3710
- const ve = {};
3710
+ const Ee = {};
3711
3711
  function ti(e, t) {
3712
- ve[e].delete(t), ve[e].size === 0 && delete ve[e];
3712
+ Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3713
3713
  }
3714
3714
  function hr(e) {
3715
- return ve[e];
3715
+ return Ee[e];
3716
3716
  }
3717
3717
  function ri(e) {
3718
3718
  return ue(e).map((t) => {
@@ -3791,7 +3791,7 @@ function ui({ locale: e, id: t }) {
3791
3791
  console.warn(
3792
3792
  `[svelte-i18n] The message "${t}" was not found in "${ue(
3793
3793
  e
3794
- ).join('", "')}".${Se(N()) ? `
3794
+ ).join('", "')}".${Se(M()) ? `
3795
3795
 
3796
3796
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3797
3797
  );
@@ -3832,7 +3832,7 @@ var ci = Object.defineProperty, fi = Object.defineProperties, mi = Object.getOwn
3832
3832
  return e;
3833
3833
  }, bi = (e, t) => fi(e, mi(t));
3834
3834
  let Ye;
3835
- const Be = Oe(null);
3835
+ const Ae = Oe(null);
3836
3836
  function _t(e) {
3837
3837
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3838
3838
  }
@@ -3840,27 +3840,27 @@ function ue(e, t = W().fallbackLocale) {
3840
3840
  const r = _t(e);
3841
3841
  return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
3842
3842
  }
3843
- function N() {
3843
+ function M() {
3844
3844
  return Ye ?? void 0;
3845
3845
  }
3846
- Be.subscribe((e) => {
3846
+ Ae.subscribe((e) => {
3847
3847
  Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3848
3848
  });
3849
3849
  const yi = (e) => {
3850
3850
  if (e && ei(e) && Se(e)) {
3851
3851
  const { loadingDelay: t } = W();
3852
3852
  let r;
3853
- return typeof window < "u" && N() != null && t ? r = window.setTimeout(
3853
+ return typeof window < "u" && M() != null && t ? r = window.setTimeout(
3854
3854
  () => Ge.set(!0),
3855
3855
  t
3856
3856
  ) : Ge.set(!0), cr(e).then(() => {
3857
- Be.set(e);
3857
+ Ae.set(e);
3858
3858
  }).finally(() => {
3859
3859
  clearTimeout(r), Ge.set(!1);
3860
3860
  });
3861
3861
  }
3862
- return Be.set(e);
3863
- }, R = bi(gi({}, Be), {
3862
+ return Ae.set(e);
3863
+ }, R = bi(gi({}, Ae), {
3864
3864
  set: yi
3865
3865
  }), Le = (e) => {
3866
3866
  const t = /* @__PURE__ */ Object.create(null);
@@ -3869,19 +3869,19 @@ const yi = (e) => {
3869
3869
  return i in t ? t[i] : t[i] = e(n);
3870
3870
  };
3871
3871
  };
3872
- var _i = Object.defineProperty, Ae = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3872
+ var _i = Object.defineProperty, Be = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3873
3873
  for (var r in t || (t = {}))
3874
- fr.call(t, r) && Et(e, r, t[r]);
3875
- if (Ae)
3876
- for (var r of Ae(t))
3877
- mr.call(t, r) && Et(e, r, t[r]);
3874
+ fr.call(t, r) && vt(e, r, t[r]);
3875
+ if (Be)
3876
+ for (var r of Be(t))
3877
+ mr.call(t, r) && vt(e, r, t[r]);
3878
3878
  return e;
3879
- }, q = (e, t) => {
3879
+ }, Z = (e, t) => {
3880
3880
  var r = {};
3881
3881
  for (var n in e)
3882
3882
  fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3883
- if (e != null && Ae)
3884
- for (var n of Ae(e))
3883
+ if (e != null && Be)
3884
+ for (var n of Be(e))
3885
3885
  t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3886
3886
  return r;
3887
3887
  };
@@ -3890,23 +3890,23 @@ const se = (e, t) => {
3890
3890
  if (e in r && t in r[e])
3891
3891
  return r[e][t];
3892
3892
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3893
- }, Ei = Le(
3893
+ }, vi = Le(
3894
3894
  (e) => {
3895
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3895
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3896
3896
  if (r == null)
3897
3897
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3898
3898
  return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3899
3899
  }
3900
- ), vi = Le(
3900
+ ), Ei = Le(
3901
3901
  (e) => {
3902
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3902
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3903
3903
  if (r == null)
3904
3904
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3905
3905
  return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3906
3906
  }
3907
3907
  ), xi = Le(
3908
3908
  (e) => {
3909
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3909
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3910
3910
  if (r == null)
3911
3911
  throw new Error(
3912
3912
  '[svelte-i18n] A "locale" must be set to format time values'
@@ -3915,37 +3915,37 @@ const se = (e, t) => {
3915
3915
  }
3916
3916
  ), Ti = (e = {}) => {
3917
3917
  var t = e, {
3918
- locale: r = N()
3919
- } = t, n = q(t, [
3918
+ locale: r = M()
3919
+ } = t, n = Z(t, [
3920
3920
  "locale"
3921
3921
  ]);
3922
- return Ei(rt({ locale: r }, n));
3922
+ return vi(rt({ locale: r }, n));
3923
3923
  }, Hi = (e = {}) => {
3924
3924
  var t = e, {
3925
- locale: r = N()
3926
- } = t, n = q(t, [
3925
+ locale: r = M()
3926
+ } = t, n = Z(t, [
3927
3927
  "locale"
3928
3928
  ]);
3929
- return vi(rt({ locale: r }, n));
3929
+ return Ei(rt({ locale: r }, n));
3930
3930
  }, wi = (e = {}) => {
3931
3931
  var t = e, {
3932
- locale: r = N()
3933
- } = t, n = q(t, [
3932
+ locale: r = M()
3933
+ } = t, n = Z(t, [
3934
3934
  "locale"
3935
3935
  ]);
3936
3936
  return xi(rt({ locale: r }, n));
3937
3937
  }, Si = Le(
3938
3938
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3939
- (e, t = N()) => new ar(e, t, W().formats, {
3939
+ (e, t = M()) => new ar(e, t, W().formats, {
3940
3940
  ignoreTag: W().ignoreTag
3941
3941
  })
3942
- ), Bi = (e, t = {}) => {
3942
+ ), Ai = (e, t = {}) => {
3943
3943
  var r, n, i, s;
3944
3944
  let a = t;
3945
3945
  typeof e == "object" && (a = e, e = a.id);
3946
3946
  const {
3947
3947
  values: o,
3948
- locale: h = N(),
3948
+ locale: h = M(),
3949
3949
  default: u
3950
3950
  } = a;
3951
3951
  if (h == null)
@@ -3971,8 +3971,8 @@ const se = (e, t) => {
3971
3971
  );
3972
3972
  }
3973
3973
  return c;
3974
- }, Ai = (e, t) => wi(t).format(e), Pi = (e, t) => Hi(t).format(e), Oi = (e, t) => Ti(t).format(e), Ci = (e, t = N()) => or(e, t), Ii = J([R, oe], () => Bi);
3975
- J([R], () => Ai);
3974
+ }, Bi = (e, t) => wi(t).format(e), Pi = (e, t) => Hi(t).format(e), Oi = (e, t) => Ti(t).format(e), Ci = (e, t = M()) => or(e, t), Ii = J([R, oe], () => Ai);
3975
+ J([R], () => Bi);
3976
3976
  J([R], () => Pi);
3977
3977
  J([R], () => Oi);
3978
3978
  J([R, oe], () => Ci);
@@ -3982,7 +3982,7 @@ function Li(e, t) {
3982
3982
  r.innerHTML = t, e.appendChild(r);
3983
3983
  }
3984
3984
  }
3985
- function Ni(e, t) {
3985
+ function Mi(e, t) {
3986
3986
  if (!e || !t)
3987
3987
  return;
3988
3988
  const r = new URL(t);
@@ -3993,7 +3993,7 @@ function Ni(e, t) {
3993
3993
  console.error("There was an error while trying to load client styling from URL", n);
3994
3994
  });
3995
3995
  }
3996
- function Mi(e, t, r) {
3996
+ function Ni(e, t, r) {
3997
3997
  if (window.emMessageBus) {
3998
3998
  const n = document.createElement("style");
3999
3999
  window.emMessageBus.subscribe(t, (i) => {
@@ -4001,7 +4001,7 @@ function Mi(e, t, r) {
4001
4001
  });
4002
4002
  }
4003
4003
  }
4004
- function vt(e, t) {
4004
+ function Et(e, t) {
4005
4005
  lr(e, t);
4006
4006
  }
4007
4007
  function $i(e) {
@@ -4067,13 +4067,42 @@ const xt = {
4067
4067
  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.",
4068
4068
  OnlyOnePendingTransactionPerUserlsAllowed: "Devam eden bir talebiniz olduğu için șu anda yeni bir işlem başlatılamaz.",
4069
4069
  TransactionFrequencyLimitReached: "İşlem sıklığı limiti aşıldı"
4070
+ },
4071
+ fr: {
4072
+ errorGeneralTitle: "Une erreur s’est produite",
4073
+ errorGeneralText: "Une erreur est survenue",
4074
+ errorGeneralButton: "FERMER",
4075
+ PlayerSessionIsNotValid: "La session du joueur n’est pas valide",
4076
+ 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",
4077
+ 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",
4078
+ 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",
4079
+ 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",
4080
+ 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",
4081
+ JwtTokenError: "IDX12741 : le JWT doit comporter trois segments (JWS) ou cinq segments (JWE).",
4082
+ 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",
4083
+ InsufficientCasinoFunds: "Votre retrait dépasse votre solde disponible. Veuillez vérifier votre solde disponible afin d’ajuster le montant du retrait",
4084
+ DepositWageringLimit: "Attention ! Le solde de vos gains est inférieur au montant que vous souhaitez retirer.",
4085
+ AmountMinLimitExceeded: "Le montant est inférieur à la limite minimale du moyen de paiement",
4086
+ AmountMaxLimitExceeded: "Le montant est supérieur à la limite maximale du moyen de paiement",
4087
+ AmountIsMissing: "Le montant est manquant",
4088
+ 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",
4089
+ 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",
4090
+ MerchantUserAccountIsInactive: "Refusé : le compte utilisateur marchand est inactif",
4091
+ MerchantUserHasDepositDenyRole: "Refusé : l’utilisateur marchand a un rôle interdisant les dépôts",
4092
+ TransactionCodeIsInvalid: "Le code de transaction n’est pas valide",
4093
+ InvalidSession: "Votre session a expiré. Veuillez réessayer",
4094
+ TwoFactorAuthRequired: "L’authentification à deux facteurs est requise",
4095
+ 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.",
4096
+ 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",
4097
+ OnlyOnePendingTransactionPerUserlsAllowed: "Une seule transaction en attente par utilisateur est autorisée",
4098
+ TransactionFrequencyLimitReached: "Limite de fréquence des transactions atteinte"
4070
4099
  }
4071
4100
  };
4072
4101
  function Ri(e) {
4073
4102
  yr(e, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}");
4074
4103
  }
4075
4104
  const Di = (e) => ({}), Tt = (e) => ({}), Ui = (e) => ({}), Ht = (e) => ({}), ki = (e) => ({}), wt = (e) => ({}), Gi = (e) => ({}), St = (e) => ({ class: "CashierErrorIcon" });
4076
- function Bt(e) {
4105
+ function At(e) {
4077
4106
  let t, r;
4078
4107
  return {
4079
4108
  c() {
@@ -4081,7 +4110,7 @@ function Bt(e) {
4081
4110
  e[0]}/error-general-icon.png`) || pe(t, "src", r), pe(t, "width", "300px"), pe(t, "alt", "error");
4082
4111
  },
4083
4112
  m(n, i) {
4084
- Z(n, t, i);
4113
+ q(n, t, i);
4085
4114
  },
4086
4115
  p(n, i) {
4087
4116
  i & /*assetsurl*/
@@ -4096,25 +4125,25 @@ function Bt(e) {
4096
4125
  function Fi(e) {
4097
4126
  let t, r = (
4098
4127
  /*assetsurl*/
4099
- e[0] && Bt(e)
4128
+ e[0] && At(e)
4100
4129
  );
4101
4130
  return {
4102
4131
  c() {
4103
- r && r.c(), t = Er();
4132
+ r && r.c(), t = vr();
4104
4133
  },
4105
4134
  m(n, i) {
4106
- r && r.m(n, i), Z(n, t, i);
4135
+ r && r.m(n, i), q(n, t, i);
4107
4136
  },
4108
4137
  p(n, i) {
4109
4138
  /*assetsurl*/
4110
- n[0] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4139
+ n[0] ? r ? r.p(n, i) : (r = At(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4111
4140
  },
4112
4141
  d(n) {
4113
4142
  n && L(t), r && r.d(n);
4114
4143
  }
4115
4144
  };
4116
4145
  }
4117
- function ji(e) {
4146
+ function zi(e) {
4118
4147
  let t, r = (
4119
4148
  /*$_*/
4120
4149
  e[3](`${/*errorcode*/
@@ -4122,10 +4151,10 @@ function ji(e) {
4122
4151
  ), n;
4123
4152
  return {
4124
4153
  c() {
4125
- t = P("span"), n = Pe(r), j(t, "class", "CashierErrorText");
4154
+ t = P("span"), n = Pe(r), z(t, "class", "CashierErrorText");
4126
4155
  },
4127
4156
  m(i, s) {
4128
- Z(i, t, s), O(t, n);
4157
+ q(i, t, s), O(t, n);
4129
4158
  },
4130
4159
  p(i, s) {
4131
4160
  s & /*$_, errorcode*/
@@ -4138,17 +4167,17 @@ function ji(e) {
4138
4167
  }
4139
4168
  };
4140
4169
  }
4141
- function zi(e) {
4170
+ function ji(e) {
4142
4171
  let t, r, n = (
4143
4172
  /*$_*/
4144
4173
  e[3]("errorGeneralButton") + ""
4145
4174
  ), i, s, a;
4146
4175
  return {
4147
4176
  c() {
4148
- t = P("button"), r = P("span"), i = Pe(n), j(t, "class", "CashierErrorButton");
4177
+ t = P("button"), r = P("span"), i = Pe(n), z(t, "class", "CashierErrorButton");
4149
4178
  },
4150
4179
  m(o, h) {
4151
- Z(o, t, h), O(t, r), O(r, i), s || (a = vr(
4180
+ q(o, t, h), O(t, r), O(r, i), s || (a = Er(
4152
4181
  t,
4153
4182
  "click",
4154
4183
  /*close*/
@@ -4194,22 +4223,22 @@ function Vi(e) {
4194
4223
  /*$$scope*/
4195
4224
  e[10],
4196
4225
  Ht
4197
- ), p = d || ji(e), _ = (
4226
+ ), p = d || zi(e), _ = (
4198
4227
  /*#slots*/
4199
4228
  e[11].button
4200
- ), v = ce(
4229
+ ), E = ce(
4201
4230
  _,
4202
4231
  e,
4203
4232
  /*$$scope*/
4204
4233
  e[10],
4205
4234
  Tt
4206
- ), E = v || zi(e);
4235
+ ), v = E || ji(e);
4207
4236
  return {
4208
4237
  c() {
4209
- t = P("div"), r = P("div"), u && u.c(), n = Ne(), c && c.c(), i = Ne(), p && p.c(), s = Ne(), E && E.c(), j(r, "class", "CashierErrorContent"), j(t, "class", "CashierError");
4238
+ t = P("div"), r = P("div"), u && u.c(), n = Me(), c && c.c(), i = Me(), p && p.c(), s = Me(), v && v.c(), z(r, "class", "CashierErrorContent"), z(t, "class", "CashierError");
4210
4239
  },
4211
4240
  m(f, g) {
4212
- Z(f, t, g), O(t, r), u && u.m(r, null), O(r, n), c && c.m(r, null), O(r, i), p && p.m(r, null), O(r, s), E && E.m(r, null), e[12](t), a = !0;
4241
+ q(f, t, g), O(t, r), u && u.m(r, null), O(r, n), c && c.m(r, null), O(r, i), p && p.m(r, null), O(r, s), v && v.m(r, null), e[12](t), a = !0;
4213
4242
  },
4214
4243
  p(f, [g]) {
4215
4244
  h ? h.p && (!a || g & /*$$scope*/
@@ -4268,9 +4297,9 @@ function Vi(e) {
4268
4297
  ),
4269
4298
  Ht
4270
4299
  ) : p && p.p && (!a || g & /*$_, errorcode*/
4271
- 10) && p.p(f, a ? g : -1), v ? v.p && (!a || g & /*$$scope*/
4300
+ 10) && p.p(f, a ? g : -1), E ? E.p && (!a || g & /*$$scope*/
4272
4301
  1024) && me(
4273
- v,
4302
+ E,
4274
4303
  _,
4275
4304
  f,
4276
4305
  /*$$scope*/
@@ -4286,17 +4315,17 @@ function Vi(e) {
4286
4315
  f[10]
4287
4316
  ),
4288
4317
  Tt
4289
- ) : E && E.p && (!a || g & /*$_*/
4290
- 8) && E.p(f, a ? g : -1);
4318
+ ) : v && v.p && (!a || g & /*$_*/
4319
+ 8) && v.p(f, a ? g : -1);
4291
4320
  },
4292
4321
  i(f) {
4293
- a || (K(u, f), K(c, f), K(p, f), K(E, f), a = !0);
4322
+ a || (K(u, f), K(c, f), K(p, f), K(v, f), a = !0);
4294
4323
  },
4295
4324
  o(f) {
4296
- ge(u, f), ge(c, f), ge(p, f), ge(E, f), a = !1;
4325
+ ge(u, f), ge(c, f), ge(p, f), ge(v, f), a = !1;
4297
4326
  },
4298
4327
  d(f) {
4299
- f && L(t), u && u.d(f), c && c.d(f), p && p.d(f), E && E.d(f), e[12](null);
4328
+ f && L(t), u && u.d(f), c && c.d(f), p && p.d(f), v && v.d(f), e[12](null);
4300
4329
  }
4301
4330
  };
4302
4331
  }
@@ -4309,22 +4338,22 @@ function Xi(e, t, r) {
4309
4338
  }, _ = () => {
4310
4339
  fetch(c).then((g) => g.json()).then((g) => {
4311
4340
  Object.keys(g).forEach((S) => {
4312
- vt(S, g[S]);
4341
+ Et(S, g[S]);
4313
4342
  });
4314
4343
  }).catch((g) => {
4315
4344
  console.error(g);
4316
4345
  });
4317
4346
  };
4318
4347
  Object.keys(xt).forEach((f) => {
4319
- vt(f, xt[f]);
4348
+ Et(f, xt[f]);
4320
4349
  });
4321
- const v = () => {
4350
+ const E = () => {
4322
4351
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4323
4352
  };
4324
4353
  Pr(() => () => {
4325
4354
  });
4326
- function E(f) {
4327
- je[f ? "unshift" : "push"](() => {
4355
+ function v(f) {
4356
+ ze[f ? "unshift" : "push"](() => {
4328
4357
  d = f, r(2, d);
4329
4358
  });
4330
4359
  }
@@ -4334,15 +4363,15 @@ function Xi(e, t, r) {
4334
4363
  e.$$.dirty & /*lang*/
4335
4364
  32 && o && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4336
4365
  68 && u && d && Li(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4337
- 132 && l && d && Ni(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4338
- 516 && m && d && Mi(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
4366
+ 132 && l && d && Mi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4367
+ 516 && m && d && Ni(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
4339
4368
  256 && c && _();
4340
4369
  }, [
4341
4370
  a,
4342
4371
  h,
4343
4372
  d,
4344
4373
  n,
4345
- v,
4374
+ E,
4346
4375
  o,
4347
4376
  u,
4348
4377
  l,
@@ -4350,7 +4379,7 @@ function Xi(e, t, r) {
4350
4379
  m,
4351
4380
  s,
4352
4381
  i,
4353
- E
4382
+ v
4354
4383
  ];
4355
4384
  }
4356
4385
  class dr extends Ur {
@@ -4377,43 +4406,43 @@ class dr extends Ur {
4377
4406
  return this.$$.ctx[0];
4378
4407
  }
4379
4408
  set assetsurl(t) {
4380
- this.$$set({ assetsurl: t }), A();
4409
+ this.$$set({ assetsurl: t }), B();
4381
4410
  }
4382
4411
  get lang() {
4383
4412
  return this.$$.ctx[5];
4384
4413
  }
4385
4414
  set lang(t) {
4386
- this.$$set({ lang: t }), A();
4415
+ this.$$set({ lang: t }), B();
4387
4416
  }
4388
4417
  get errorcode() {
4389
4418
  return this.$$.ctx[1];
4390
4419
  }
4391
4420
  set errorcode(t) {
4392
- this.$$set({ errorcode: t }), A();
4421
+ this.$$set({ errorcode: t }), B();
4393
4422
  }
4394
4423
  get clientstyling() {
4395
4424
  return this.$$.ctx[6];
4396
4425
  }
4397
4426
  set clientstyling(t) {
4398
- this.$$set({ clientstyling: t }), A();
4427
+ this.$$set({ clientstyling: t }), B();
4399
4428
  }
4400
4429
  get clientstylingurl() {
4401
4430
  return this.$$.ctx[7];
4402
4431
  }
4403
4432
  set clientstylingurl(t) {
4404
- this.$$set({ clientstylingurl: t }), A();
4433
+ this.$$set({ clientstylingurl: t }), B();
4405
4434
  }
4406
4435
  get translationurl() {
4407
4436
  return this.$$.ctx[8];
4408
4437
  }
4409
4438
  set translationurl(t) {
4410
- this.$$set({ translationurl: t }), A();
4439
+ this.$$set({ translationurl: t }), B();
4411
4440
  }
4412
4441
  get mbsource() {
4413
4442
  return this.$$.ctx[9];
4414
4443
  }
4415
4444
  set mbsource(t) {
4416
- this.$$set({ mbsource: t }), A();
4445
+ this.$$set({ mbsource: t }), B();
4417
4446
  }
4418
4447
  }
4419
4448
  Dr(dr, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
@@ -4427,17 +4456,17 @@ export {
4427
4456
  Pe as B,
4428
4457
  pe as C,
4429
4458
  $ as D,
4430
- vr as E,
4431
- Er as F,
4459
+ Er as E,
4460
+ vr as F,
4432
4461
  es as G,
4433
- Zi as H,
4462
+ qi as H,
4434
4463
  Ji as I,
4435
4464
  st as J,
4436
- qi as K,
4465
+ Zi as K,
4437
4466
  Ii as L,
4438
4467
  Li as M,
4439
- Ni as N,
4440
- Mi as O,
4468
+ Mi as N,
4469
+ Ni as O,
4441
4470
  rs as P,
4442
4471
  Ur as S,
4443
4472
  lr as a,
@@ -4445,24 +4474,24 @@ export {
4445
4474
  ts as c,
4446
4475
  Dr as d,
4447
4476
  Rr as e,
4448
- A as f,
4477
+ B as f,
4449
4478
  Fr as g,
4450
4479
  yr as h,
4451
- At as i,
4480
+ Bt as i,
4452
4481
  L as j,
4453
- Z as k,
4482
+ q as k,
4454
4483
  P as l,
4455
- j as m,
4484
+ z as m,
4456
4485
  w as n,
4457
4486
  br as o,
4458
4487
  Pr as p,
4459
- je as q,
4488
+ ze as q,
4460
4489
  ge as r,
4461
4490
  Ot as s,
4462
4491
  K as t,
4463
4492
  Qi as u,
4464
4493
  O as v,
4465
- Ne as w,
4494
+ Me as w,
4466
4495
  Ki as x,
4467
4496
  ne as y,
4468
4497
  Yi as z