@everymatrix/cashier-error 1.87.27 → 1.87.29
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.
- package/components/{CashierError-Df1n7BCH.js → CashierError-Ak6bkMp4.js} +163 -157
- package/components/{CashierError-DK8uGHGC.js → CashierError-Zgfqyr0T.js} +183 -177
- package/components/{CashierError-BE_NPMOU.cjs → CashierError-c_jrgBMH.cjs} +3 -3
- package/es2015/cashier-error.cjs +1 -1
- package/es2015/cashier-error.js +1 -1
- package/esnext/cashier-error.js +1 -1
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ function Ze() {
|
|
|
18
18
|
function re(e) {
|
|
19
19
|
e.forEach(_t);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function We(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
24
|
function Et(e, t) {
|
|
@@ -82,13 +82,13 @@ function he(e) {
|
|
|
82
82
|
}
|
|
83
83
|
return -1;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function O(e, t) {
|
|
86
86
|
e.appendChild(t);
|
|
87
87
|
}
|
|
88
88
|
function er(e, t, r) {
|
|
89
89
|
const n = tr(e);
|
|
90
90
|
if (!n.getElementById(t)) {
|
|
91
|
-
const i =
|
|
91
|
+
const i = L("style");
|
|
92
92
|
i.id = t, i.textContent = r, rr(n, i);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -103,19 +103,19 @@ function tr(e) {
|
|
|
103
103
|
) : e.ownerDocument;
|
|
104
104
|
}
|
|
105
105
|
function rr(e, t) {
|
|
106
|
-
return
|
|
106
|
+
return O(
|
|
107
107
|
/** @type {Document} */
|
|
108
108
|
e.head || e,
|
|
109
109
|
t
|
|
110
110
|
), t.sheet;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function W(e, t, r) {
|
|
113
113
|
e.insertBefore(t, r || null);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function N(e) {
|
|
116
116
|
e.parentNode && e.parentNode.removeChild(e);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function L(e) {
|
|
119
119
|
return document.createElement(e);
|
|
120
120
|
}
|
|
121
121
|
function xe(e) {
|
|
@@ -165,7 +165,7 @@ function ar() {
|
|
|
165
165
|
function ur(e) {
|
|
166
166
|
ar().$$.on_mount.push(e);
|
|
167
167
|
}
|
|
168
|
-
const D = [],
|
|
168
|
+
const D = [], Me = [];
|
|
169
169
|
let k = [];
|
|
170
170
|
const Qe = [], lr = /* @__PURE__ */ Promise.resolve();
|
|
171
171
|
let Re = !1;
|
|
@@ -190,8 +190,8 @@ function B() {
|
|
|
190
190
|
} catch (t) {
|
|
191
191
|
throw D.length = 0, R = 0, t;
|
|
192
192
|
}
|
|
193
|
-
for (Q(null), D.length = 0, R = 0;
|
|
194
|
-
|
|
193
|
+
for (Q(null), D.length = 0, R = 0; Me.length; )
|
|
194
|
+
Me.pop()();
|
|
195
195
|
for (let t = 0; t < k.length; t += 1) {
|
|
196
196
|
const r = k[t];
|
|
197
197
|
Be.has(r) || (Be.add(r), r());
|
|
@@ -230,7 +230,7 @@ function fe(e, t, r, n) {
|
|
|
230
230
|
function dr(e, t, r) {
|
|
231
231
|
const { fragment: n, after_update: i } = e.$$;
|
|
232
232
|
n && n.m(t, r), $e(() => {
|
|
233
|
-
const o = e.$$.on_mount.map(_t).filter(
|
|
233
|
+
const o = e.$$.on_mount.map(_t).filter(We);
|
|
234
234
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
|
|
235
235
|
}), i.forEach($e);
|
|
236
236
|
}
|
|
@@ -273,7 +273,7 @@ function gr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
273
273
|
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
274
274
|
if (t.hydrate) {
|
|
275
275
|
const c = or(t.target);
|
|
276
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
276
|
+
u.fragment && u.fragment.l(c), c.forEach(N);
|
|
277
277
|
} else
|
|
278
278
|
u.fragment && u.fragment.c();
|
|
279
279
|
t.intro && Z(e.$$.fragment), dr(e, t.target, t.anchor), B();
|
|
@@ -323,17 +323,17 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
323
323
|
let o;
|
|
324
324
|
return {
|
|
325
325
|
c: function() {
|
|
326
|
-
o =
|
|
326
|
+
o = L("slot"), i !== "default" && G(o, "name", i);
|
|
327
327
|
},
|
|
328
328
|
/**
|
|
329
329
|
* @param {HTMLElement} target
|
|
330
330
|
* @param {HTMLElement} [anchor]
|
|
331
331
|
*/
|
|
332
332
|
m: function(h, u) {
|
|
333
|
-
|
|
333
|
+
W(h, o, u);
|
|
334
334
|
},
|
|
335
335
|
d: function(h) {
|
|
336
|
-
h &&
|
|
336
|
+
h && N(o);
|
|
337
337
|
}
|
|
338
338
|
};
|
|
339
339
|
};
|
|
@@ -484,7 +484,7 @@ class vr {
|
|
|
484
484
|
* @returns {() => void}
|
|
485
485
|
*/
|
|
486
486
|
$on(t, r) {
|
|
487
|
-
if (!
|
|
487
|
+
if (!We(r))
|
|
488
488
|
return P;
|
|
489
489
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
490
490
|
return n.push(r), () => {
|
|
@@ -587,7 +587,7 @@ function Te(e, t = P) {
|
|
|
587
587
|
}
|
|
588
588
|
return { set: i, update: o, subscribe: s };
|
|
589
589
|
}
|
|
590
|
-
function
|
|
590
|
+
function X(e, t, r) {
|
|
591
591
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
592
592
|
if (!i.every(Boolean))
|
|
593
593
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -601,7 +601,7 @@ function W(e, t, r) {
|
|
|
601
601
|
return;
|
|
602
602
|
c();
|
|
603
603
|
const b = t(n ? u[0] : u, s, a);
|
|
604
|
-
o ? s(b) : c =
|
|
604
|
+
o ? s(b) : c = We(b) ? b : P;
|
|
605
605
|
}, p = i.map(
|
|
606
606
|
(b, E) => xt(
|
|
607
607
|
b,
|
|
@@ -622,26 +622,26 @@ function Ar(e) {
|
|
|
622
622
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
623
623
|
}
|
|
624
624
|
var Br = function(t) {
|
|
625
|
-
return Pr(t) && !
|
|
625
|
+
return Pr(t) && !Or(t);
|
|
626
626
|
};
|
|
627
627
|
function Pr(e) {
|
|
628
628
|
return !!e && typeof e == "object";
|
|
629
629
|
}
|
|
630
|
-
function
|
|
630
|
+
function Or(e) {
|
|
631
631
|
var t = Object.prototype.toString.call(e);
|
|
632
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
632
|
+
return t === "[object RegExp]" || t === "[object Date]" || Ir(e);
|
|
633
633
|
}
|
|
634
|
-
var
|
|
635
|
-
function
|
|
636
|
-
return e.$$typeof ===
|
|
634
|
+
var Cr = typeof Symbol == "function" && Symbol.for, Lr = Cr ? Symbol.for("react.element") : 60103;
|
|
635
|
+
function Ir(e) {
|
|
636
|
+
return e.$$typeof === Lr;
|
|
637
637
|
}
|
|
638
|
-
function
|
|
638
|
+
function Nr(e) {
|
|
639
639
|
return Array.isArray(e) ? [] : {};
|
|
640
640
|
}
|
|
641
641
|
function ee(e, t) {
|
|
642
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
642
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(Nr(e), e, t) : e;
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function Mr(e, t, r) {
|
|
645
645
|
return e.concat(t).map(function(n) {
|
|
646
646
|
return ee(n, r);
|
|
647
647
|
});
|
|
@@ -679,7 +679,7 @@ function Ur(e, t, r) {
|
|
|
679
679
|
}), n;
|
|
680
680
|
}
|
|
681
681
|
function F(e, t, r) {
|
|
682
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
682
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Mr, r.isMergeableObject = r.isMergeableObject || Br, r.cloneUnlessOtherwiseSpecified = ee;
|
|
683
683
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
684
684
|
return o ? n ? r.arrayMerge(e, t, r) : Ur(e, t, r) : ee(t, r);
|
|
685
685
|
}
|
|
@@ -719,7 +719,7 @@ var A = function() {
|
|
|
719
719
|
return t;
|
|
720
720
|
}, A.apply(this, arguments);
|
|
721
721
|
};
|
|
722
|
-
function
|
|
722
|
+
function zr(e, t) {
|
|
723
723
|
var r = {};
|
|
724
724
|
for (var n in e)
|
|
725
725
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -734,18 +734,18 @@ function Pe(e, t, r) {
|
|
|
734
734
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
735
735
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
736
736
|
}
|
|
737
|
-
function
|
|
738
|
-
var r = t && t.cache ? t.cache : Zr, n = t && t.serializer ? t.serializer : qr, i = t && t.strategy ? t.strategy :
|
|
737
|
+
function Oe(e, t) {
|
|
738
|
+
var r = t && t.cache ? t.cache : Zr, n = t && t.serializer ? t.serializer : qr, i = t && t.strategy ? t.strategy : Wr;
|
|
739
739
|
return i(e, {
|
|
740
740
|
cache: r,
|
|
741
741
|
serializer: n
|
|
742
742
|
});
|
|
743
743
|
}
|
|
744
|
-
function
|
|
744
|
+
function jr(e) {
|
|
745
745
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
746
746
|
}
|
|
747
747
|
function Vr(e, t, r, n) {
|
|
748
|
-
var i =
|
|
748
|
+
var i = jr(n) ? n : r(n), o = t.get(i);
|
|
749
749
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
750
750
|
}
|
|
751
751
|
function At(e, t, r) {
|
|
@@ -755,11 +755,11 @@ function At(e, t, r) {
|
|
|
755
755
|
function Bt(e, t, r, n, i) {
|
|
756
756
|
return r.bind(t, e, n, i);
|
|
757
757
|
}
|
|
758
|
-
function
|
|
758
|
+
function Wr(e, t) {
|
|
759
759
|
var r = e.length === 1 ? Vr : At;
|
|
760
760
|
return Bt(e, this, r, t.cache.create(), t.serializer);
|
|
761
761
|
}
|
|
762
|
-
function
|
|
762
|
+
function Xr(e, t) {
|
|
763
763
|
return Bt(e, this, At, t.cache.create(), t.serializer);
|
|
764
764
|
}
|
|
765
765
|
var qr = function() {
|
|
@@ -780,8 +780,8 @@ var qr = function() {
|
|
|
780
780
|
create: function() {
|
|
781
781
|
return new Jr();
|
|
782
782
|
}
|
|
783
|
-
},
|
|
784
|
-
variadic:
|
|
783
|
+
}, Ce = {
|
|
784
|
+
variadic: Xr
|
|
785
785
|
}, ye = function() {
|
|
786
786
|
return ye = Object.assign || function(t) {
|
|
787
787
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
@@ -800,10 +800,10 @@ var v;
|
|
|
800
800
|
(function(e) {
|
|
801
801
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
802
802
|
})(v || (v = {}));
|
|
803
|
-
var
|
|
803
|
+
var z;
|
|
804
804
|
(function(e) {
|
|
805
805
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
806
|
-
})(
|
|
806
|
+
})(z || (z = {}));
|
|
807
807
|
function et(e) {
|
|
808
808
|
return e.type === v.literal;
|
|
809
809
|
}
|
|
@@ -813,29 +813,29 @@ function Yr(e) {
|
|
|
813
813
|
function Pt(e) {
|
|
814
814
|
return e.type === v.number;
|
|
815
815
|
}
|
|
816
|
-
function
|
|
816
|
+
function Ot(e) {
|
|
817
817
|
return e.type === v.date;
|
|
818
818
|
}
|
|
819
|
-
function
|
|
819
|
+
function Ct(e) {
|
|
820
820
|
return e.type === v.time;
|
|
821
821
|
}
|
|
822
|
-
function
|
|
822
|
+
function Lt(e) {
|
|
823
823
|
return e.type === v.select;
|
|
824
824
|
}
|
|
825
|
-
function
|
|
825
|
+
function It(e) {
|
|
826
826
|
return e.type === v.plural;
|
|
827
827
|
}
|
|
828
828
|
function Qr(e) {
|
|
829
829
|
return e.type === v.pound;
|
|
830
830
|
}
|
|
831
|
-
function
|
|
831
|
+
function Nt(e) {
|
|
832
832
|
return e.type === v.tag;
|
|
833
833
|
}
|
|
834
|
-
function
|
|
835
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
834
|
+
function Mt(e) {
|
|
835
|
+
return !!(e && typeof e == "object" && e.type === z.number);
|
|
836
836
|
}
|
|
837
837
|
function Ue(e) {
|
|
838
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
838
|
+
return !!(e && typeof e == "object" && e.type === z.dateTime);
|
|
839
839
|
}
|
|
840
840
|
var Rt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kr = /(?:[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;
|
|
841
841
|
function en(e) {
|
|
@@ -2603,7 +2603,7 @@ function ln(e) {
|
|
|
2603
2603
|
var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
|
|
2604
2604
|
return i[0];
|
|
2605
2605
|
}
|
|
2606
|
-
var
|
|
2606
|
+
var Le, hn = new RegExp("^".concat(Rt.source, "*")), cn = new RegExp("".concat(Rt.source, "*$"));
|
|
2607
2607
|
function y(e, t) {
|
|
2608
2608
|
return { start: e, end: t };
|
|
2609
2609
|
}
|
|
@@ -2612,7 +2612,7 @@ var fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), mn = !!String
|
|
|
2612
2612
|
}, ke = !0;
|
|
2613
2613
|
try {
|
|
2614
2614
|
var _n = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2615
|
-
ke = ((
|
|
2615
|
+
ke = ((Le = _n.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
|
|
2616
2616
|
} catch {
|
|
2617
2617
|
ke = !1;
|
|
2618
2618
|
}
|
|
@@ -2738,7 +2738,7 @@ var Tn = (
|
|
|
2738
2738
|
if (n)
|
|
2739
2739
|
break;
|
|
2740
2740
|
return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
2741
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2741
|
+
} else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
|
|
2742
2742
|
var s = this.parseTag(t, r);
|
|
2743
2743
|
if (s.err)
|
|
2744
2744
|
return s;
|
|
@@ -2771,7 +2771,7 @@ var Tn = (
|
|
|
2771
2771
|
return o;
|
|
2772
2772
|
var s = o.val, a = this.clonePosition();
|
|
2773
2773
|
if (this.bumpIf("</")) {
|
|
2774
|
-
if (this.isEOF() || !
|
|
2774
|
+
if (this.isEOF() || !ze(this.char()))
|
|
2775
2775
|
return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
|
|
2776
2776
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
2777
2777
|
return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -2929,7 +2929,7 @@ var Tn = (
|
|
|
2929
2929
|
var x = T;
|
|
2930
2930
|
this.locale && (x = un(T, this.locale));
|
|
2931
2931
|
var f = {
|
|
2932
|
-
type:
|
|
2932
|
+
type: z.dateTime,
|
|
2933
2933
|
pattern: x,
|
|
2934
2934
|
location: u.styleLocation,
|
|
2935
2935
|
parsedOptions: this.shouldParseSkeletons ? en(x) : {}
|
|
@@ -3043,7 +3043,7 @@ var Tn = (
|
|
|
3043
3043
|
}
|
|
3044
3044
|
return {
|
|
3045
3045
|
val: {
|
|
3046
|
-
type:
|
|
3046
|
+
type: z.number,
|
|
3047
3047
|
tokens: n,
|
|
3048
3048
|
location: r,
|
|
3049
3049
|
parsedOptions: this.shouldParseSkeletons ? an(n) : {}
|
|
@@ -3160,11 +3160,11 @@ var Tn = (
|
|
|
3160
3160
|
}, e;
|
|
3161
3161
|
}()
|
|
3162
3162
|
);
|
|
3163
|
-
function
|
|
3163
|
+
function ze(e) {
|
|
3164
3164
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3165
3165
|
}
|
|
3166
3166
|
function Hn(e) {
|
|
3167
|
-
return
|
|
3167
|
+
return ze(e) || e === 47;
|
|
3168
3168
|
}
|
|
3169
3169
|
function Sn(e) {
|
|
3170
3170
|
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;
|
|
@@ -3175,13 +3175,13 @@ function Ft(e) {
|
|
|
3175
3175
|
function wn(e) {
|
|
3176
3176
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3177
3177
|
}
|
|
3178
|
-
function
|
|
3178
|
+
function je(e) {
|
|
3179
3179
|
e.forEach(function(t) {
|
|
3180
|
-
if (delete t.location,
|
|
3180
|
+
if (delete t.location, Lt(t) || It(t))
|
|
3181
3181
|
for (var r in t.options)
|
|
3182
|
-
delete t.options[r].location,
|
|
3182
|
+
delete t.options[r].location, je(t.options[r].value);
|
|
3183
3183
|
else
|
|
3184
|
-
Pt(t) &&
|
|
3184
|
+
Pt(t) && Mt(t.style) || (Ot(t) || Ct(t)) && Ue(t.style) ? delete t.style.location : Nt(t) && je(t.children);
|
|
3185
3185
|
});
|
|
3186
3186
|
}
|
|
3187
3187
|
function An(e, t) {
|
|
@@ -3191,12 +3191,12 @@ function An(e, t) {
|
|
|
3191
3191
|
var n = SyntaxError(g[r.err.kind]);
|
|
3192
3192
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3193
3193
|
}
|
|
3194
|
-
return t?.captureLocation ||
|
|
3194
|
+
return t?.captureLocation || je(r.val), r.val;
|
|
3195
3195
|
}
|
|
3196
|
-
var
|
|
3196
|
+
var j;
|
|
3197
3197
|
(function(e) {
|
|
3198
3198
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3199
|
-
})(
|
|
3199
|
+
})(j || (j = {}));
|
|
3200
3200
|
var Se = (
|
|
3201
3201
|
/** @class */
|
|
3202
3202
|
function(e) {
|
|
@@ -3214,7 +3214,7 @@ var Se = (
|
|
|
3214
3214
|
function(e) {
|
|
3215
3215
|
He(t, e);
|
|
3216
3216
|
function t(r, n, i, o) {
|
|
3217
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3217
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
|
|
3218
3218
|
}
|
|
3219
3219
|
return t;
|
|
3220
3220
|
}(Se)
|
|
@@ -3223,7 +3223,7 @@ var Se = (
|
|
|
3223
3223
|
function(e) {
|
|
3224
3224
|
He(t, e);
|
|
3225
3225
|
function t(r, n, i) {
|
|
3226
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3226
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
|
|
3227
3227
|
}
|
|
3228
3228
|
return t;
|
|
3229
3229
|
}(Se)
|
|
@@ -3232,7 +3232,7 @@ var Se = (
|
|
|
3232
3232
|
function(e) {
|
|
3233
3233
|
He(t, e);
|
|
3234
3234
|
function t(r, n) {
|
|
3235
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3235
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
|
|
3236
3236
|
}
|
|
3237
3237
|
return t;
|
|
3238
3238
|
}(Se)
|
|
@@ -3240,13 +3240,13 @@ var Se = (
|
|
|
3240
3240
|
(function(e) {
|
|
3241
3241
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3242
3242
|
})(H || (H = {}));
|
|
3243
|
-
function
|
|
3243
|
+
function On(e) {
|
|
3244
3244
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3245
3245
|
var n = t[t.length - 1];
|
|
3246
3246
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
|
3247
3247
|
}, []);
|
|
3248
3248
|
}
|
|
3249
|
-
function
|
|
3249
|
+
function Cn(e) {
|
|
3250
3250
|
return typeof e == "function";
|
|
3251
3251
|
}
|
|
3252
3252
|
function be(e, t, r, n, i, o, s) {
|
|
@@ -3284,7 +3284,7 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3284
3284
|
});
|
|
3285
3285
|
continue;
|
|
3286
3286
|
}
|
|
3287
|
-
if (
|
|
3287
|
+
if (Ot(l)) {
|
|
3288
3288
|
var p = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
|
|
3289
3289
|
a.push({
|
|
3290
3290
|
type: H.literal,
|
|
@@ -3292,7 +3292,7 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3292
3292
|
});
|
|
3293
3293
|
continue;
|
|
3294
3294
|
}
|
|
3295
|
-
if (
|
|
3295
|
+
if (Ct(l)) {
|
|
3296
3296
|
var p = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3297
3297
|
a.push({
|
|
3298
3298
|
type: H.literal,
|
|
@@ -3301,16 +3301,16 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3301
3301
|
continue;
|
|
3302
3302
|
}
|
|
3303
3303
|
if (Pt(l)) {
|
|
3304
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3304
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Mt(l.style) ? l.style.parsedOptions : void 0;
|
|
3305
3305
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3306
3306
|
type: H.literal,
|
|
3307
3307
|
value: r.getNumberFormat(t, p).format(f)
|
|
3308
3308
|
});
|
|
3309
3309
|
continue;
|
|
3310
3310
|
}
|
|
3311
|
-
if (
|
|
3311
|
+
if (Nt(l)) {
|
|
3312
3312
|
var b = l.children, E = l.value, T = i[E];
|
|
3313
|
-
if (!
|
|
3313
|
+
if (!Cn(T))
|
|
3314
3314
|
throw new Bn(E, "function", s);
|
|
3315
3315
|
var x = be(b, t, r, n, i, o), d = T(x.map(function(w) {
|
|
3316
3316
|
return w.value;
|
|
@@ -3322,20 +3322,20 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3322
3322
|
};
|
|
3323
3323
|
}));
|
|
3324
3324
|
}
|
|
3325
|
-
if (
|
|
3325
|
+
if (Lt(l)) {
|
|
3326
3326
|
var m = l.options[f] || l.options.other;
|
|
3327
3327
|
if (!m)
|
|
3328
3328
|
throw new at(l.value, f, Object.keys(l.options), s);
|
|
3329
3329
|
a.push.apply(a, be(m.value, t, r, n, i));
|
|
3330
3330
|
continue;
|
|
3331
3331
|
}
|
|
3332
|
-
if (
|
|
3332
|
+
if (It(l)) {
|
|
3333
3333
|
var m = l.options["=".concat(f)];
|
|
3334
3334
|
if (!m) {
|
|
3335
3335
|
if (!Intl.PluralRules)
|
|
3336
3336
|
throw new Se(`Intl.PluralRules is not available in this environment.
|
|
3337
3337
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3338
|
-
`,
|
|
3338
|
+
`, j.MISSING_INTL_API, s);
|
|
3339
3339
|
var S = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3340
3340
|
m = l.options[S] || l.options.other;
|
|
3341
3341
|
}
|
|
@@ -3345,19 +3345,19 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3345
3345
|
continue;
|
|
3346
3346
|
}
|
|
3347
3347
|
}
|
|
3348
|
-
return
|
|
3348
|
+
return On(a);
|
|
3349
3349
|
}
|
|
3350
|
-
function
|
|
3350
|
+
function Ln(e, t) {
|
|
3351
3351
|
return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3352
3352
|
return r[n] = A(A({}, e[n]), t[n] || {}), r;
|
|
3353
3353
|
}, {})) : e;
|
|
3354
3354
|
}
|
|
3355
|
-
function
|
|
3355
|
+
function In(e, t) {
|
|
3356
3356
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3357
|
-
return r[n] =
|
|
3357
|
+
return r[n] = Ln(e[n], t[n]), r;
|
|
3358
3358
|
}, A({}, e)) : e;
|
|
3359
3359
|
}
|
|
3360
|
-
function
|
|
3360
|
+
function Ie(e) {
|
|
3361
3361
|
return {
|
|
3362
3362
|
create: function() {
|
|
3363
3363
|
return {
|
|
@@ -3371,39 +3371,39 @@ function Le(e) {
|
|
|
3371
3371
|
}
|
|
3372
3372
|
};
|
|
3373
3373
|
}
|
|
3374
|
-
function
|
|
3374
|
+
function Nn(e) {
|
|
3375
3375
|
return e === void 0 && (e = {
|
|
3376
3376
|
number: {},
|
|
3377
3377
|
dateTime: {},
|
|
3378
3378
|
pluralRules: {}
|
|
3379
3379
|
}), {
|
|
3380
|
-
getNumberFormat:
|
|
3380
|
+
getNumberFormat: Oe(function() {
|
|
3381
3381
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3382
3382
|
r[n] = arguments[n];
|
|
3383
3383
|
return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3384
3384
|
}, {
|
|
3385
|
-
cache:
|
|
3386
|
-
strategy:
|
|
3385
|
+
cache: Ie(e.number),
|
|
3386
|
+
strategy: Ce.variadic
|
|
3387
3387
|
}),
|
|
3388
|
-
getDateTimeFormat:
|
|
3388
|
+
getDateTimeFormat: Oe(function() {
|
|
3389
3389
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3390
3390
|
r[n] = arguments[n];
|
|
3391
3391
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3392
3392
|
}, {
|
|
3393
|
-
cache:
|
|
3394
|
-
strategy:
|
|
3393
|
+
cache: Ie(e.dateTime),
|
|
3394
|
+
strategy: Ce.variadic
|
|
3395
3395
|
}),
|
|
3396
|
-
getPluralRules:
|
|
3396
|
+
getPluralRules: Oe(function() {
|
|
3397
3397
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3398
3398
|
r[n] = arguments[n];
|
|
3399
3399
|
return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3400
3400
|
}, {
|
|
3401
|
-
cache:
|
|
3402
|
-
strategy:
|
|
3401
|
+
cache: Ie(e.pluralRules),
|
|
3402
|
+
strategy: Ce.variadic
|
|
3403
3403
|
})
|
|
3404
3404
|
};
|
|
3405
3405
|
}
|
|
3406
|
-
var
|
|
3406
|
+
var zt = (
|
|
3407
3407
|
/** @class */
|
|
3408
3408
|
function() {
|
|
3409
3409
|
function e(t, r, n, i) {
|
|
@@ -3435,13 +3435,13 @@ var jt = (
|
|
|
3435
3435
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3436
3436
|
var s = i || {};
|
|
3437
3437
|
s.formatters;
|
|
3438
|
-
var a =
|
|
3438
|
+
var a = zr(s, ["formatters"]);
|
|
3439
3439
|
this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
|
|
3440
3440
|
} else
|
|
3441
3441
|
this.ast = t;
|
|
3442
3442
|
if (!Array.isArray(this.ast))
|
|
3443
3443
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3444
|
-
this.formats =
|
|
3444
|
+
this.formats = In(e.formats, n), this.formatters = i && i.formatters || Nn(this.formatterCache);
|
|
3445
3445
|
}
|
|
3446
3446
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3447
3447
|
get: function() {
|
|
@@ -3515,7 +3515,7 @@ var jt = (
|
|
|
3515
3515
|
}, e;
|
|
3516
3516
|
}()
|
|
3517
3517
|
);
|
|
3518
|
-
function
|
|
3518
|
+
function Mn(e, t) {
|
|
3519
3519
|
if (t == null)
|
|
3520
3520
|
return;
|
|
3521
3521
|
if (t in e)
|
|
@@ -3536,11 +3536,11 @@ function Nn(e, t) {
|
|
|
3536
3536
|
n = void 0;
|
|
3537
3537
|
return n;
|
|
3538
3538
|
}
|
|
3539
|
-
const
|
|
3539
|
+
const C = {}, Rn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), jt = (e, t) => {
|
|
3540
3540
|
if (t == null)
|
|
3541
3541
|
return;
|
|
3542
|
-
if (t in
|
|
3543
|
-
return
|
|
3542
|
+
if (t in C && e in C[t])
|
|
3543
|
+
return C[t][e];
|
|
3544
3544
|
const r = ie(t);
|
|
3545
3545
|
for (let n = 0; n < r.length; n++) {
|
|
3546
3546
|
const i = r[n], o = Dn(i, e);
|
|
@@ -3548,19 +3548,19 @@ const O = {}, Rn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][
|
|
|
3548
3548
|
return Rn(e, t, o);
|
|
3549
3549
|
}
|
|
3550
3550
|
};
|
|
3551
|
-
let
|
|
3551
|
+
let Xe;
|
|
3552
3552
|
const ne = Te({});
|
|
3553
3553
|
function $n(e) {
|
|
3554
|
-
return
|
|
3554
|
+
return Xe[e] || null;
|
|
3555
3555
|
}
|
|
3556
3556
|
function Vt(e) {
|
|
3557
|
-
return e in
|
|
3557
|
+
return e in Xe;
|
|
3558
3558
|
}
|
|
3559
3559
|
function Dn(e, t) {
|
|
3560
3560
|
if (!Vt(e))
|
|
3561
3561
|
return null;
|
|
3562
3562
|
const r = $n(e);
|
|
3563
|
-
return
|
|
3563
|
+
return Mn(r, t);
|
|
3564
3564
|
}
|
|
3565
3565
|
function Un(e) {
|
|
3566
3566
|
if (e == null)
|
|
@@ -3572,24 +3572,24 @@ function Un(e) {
|
|
|
3572
3572
|
return n;
|
|
3573
3573
|
}
|
|
3574
3574
|
}
|
|
3575
|
-
function
|
|
3576
|
-
delete
|
|
3575
|
+
function Wt(e, ...t) {
|
|
3576
|
+
delete C[e], ne.update((r) => (r[e] = Fr.all([r[e] || {}, ...t]), r));
|
|
3577
3577
|
}
|
|
3578
|
-
|
|
3578
|
+
X(
|
|
3579
3579
|
[ne],
|
|
3580
3580
|
([e]) => Object.keys(e)
|
|
3581
3581
|
);
|
|
3582
|
-
ne.subscribe((e) =>
|
|
3582
|
+
ne.subscribe((e) => Xe = e);
|
|
3583
3583
|
const ge = {};
|
|
3584
3584
|
function kn(e, t) {
|
|
3585
3585
|
ge[e].delete(t), ge[e].size === 0 && delete ge[e];
|
|
3586
3586
|
}
|
|
3587
|
-
function
|
|
3587
|
+
function Xt(e) {
|
|
3588
3588
|
return ge[e];
|
|
3589
3589
|
}
|
|
3590
3590
|
function Gn(e) {
|
|
3591
3591
|
return ie(e).map((t) => {
|
|
3592
|
-
const r =
|
|
3592
|
+
const r = Xt(t);
|
|
3593
3593
|
return [t, r ? [...r] : []];
|
|
3594
3594
|
}).filter(([, t]) => t.length > 0);
|
|
3595
3595
|
}
|
|
@@ -3597,14 +3597,14 @@ function ve(e) {
|
|
|
3597
3597
|
return e == null ? !1 : ie(e).some(
|
|
3598
3598
|
(t) => {
|
|
3599
3599
|
var r;
|
|
3600
|
-
return (r =
|
|
3600
|
+
return (r = Xt(t)) == null ? void 0 : r.size;
|
|
3601
3601
|
}
|
|
3602
3602
|
);
|
|
3603
3603
|
}
|
|
3604
3604
|
function Fn(e, t) {
|
|
3605
3605
|
return Promise.all(
|
|
3606
3606
|
t.map((n) => (kn(e, n), n().then((i) => i.default || i)))
|
|
3607
|
-
).then((n) =>
|
|
3607
|
+
).then((n) => Wt(e, ...n));
|
|
3608
3608
|
}
|
|
3609
3609
|
const J = {};
|
|
3610
3610
|
function qt(e) {
|
|
@@ -3621,16 +3621,16 @@ function qt(e) {
|
|
|
3621
3621
|
delete J[e];
|
|
3622
3622
|
}), J[e];
|
|
3623
3623
|
}
|
|
3624
|
-
var ut = Object.getOwnPropertySymbols,
|
|
3624
|
+
var ut = Object.getOwnPropertySymbols, zn = Object.prototype.hasOwnProperty, jn = Object.prototype.propertyIsEnumerable, Vn = (e, t) => {
|
|
3625
3625
|
var r = {};
|
|
3626
3626
|
for (var n in e)
|
|
3627
|
-
|
|
3627
|
+
zn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3628
3628
|
if (e != null && ut)
|
|
3629
3629
|
for (var n of ut(e))
|
|
3630
|
-
t.indexOf(n) < 0 &&
|
|
3630
|
+
t.indexOf(n) < 0 && jn.call(e, n) && (r[n] = e[n]);
|
|
3631
3631
|
return r;
|
|
3632
3632
|
};
|
|
3633
|
-
const
|
|
3633
|
+
const Wn = {
|
|
3634
3634
|
number: {
|
|
3635
3635
|
scientific: { notation: "scientific" },
|
|
3636
3636
|
engineering: { notation: "engineering" },
|
|
@@ -3660,11 +3660,11 @@ const Xn = {
|
|
|
3660
3660
|
}
|
|
3661
3661
|
}
|
|
3662
3662
|
};
|
|
3663
|
-
function
|
|
3663
|
+
function Xn({ locale: e, id: t }) {
|
|
3664
3664
|
console.warn(
|
|
3665
3665
|
`[svelte-i18n] The message "${t}" was not found in "${ie(
|
|
3666
3666
|
e
|
|
3667
|
-
).join('", "')}".${ve(
|
|
3667
|
+
).join('", "')}".${ve(I()) ? `
|
|
3668
3668
|
|
|
3669
3669
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3670
3670
|
);
|
|
@@ -3672,7 +3672,7 @@ Note: there are at least one loader still registered to this locale that wasn't
|
|
|
3672
3672
|
const qn = {
|
|
3673
3673
|
fallbackLocale: null,
|
|
3674
3674
|
loadingDelay: 200,
|
|
3675
|
-
formats:
|
|
3675
|
+
formats: Wn,
|
|
3676
3676
|
warnOnMissingMessages: !0,
|
|
3677
3677
|
handleMissingMessage: void 0,
|
|
3678
3678
|
ignoreTag: !0
|
|
@@ -3685,17 +3685,17 @@ function Jn(e) {
|
|
|
3685
3685
|
let i = e.fallbackLocale;
|
|
3686
3686
|
if (e.initialLocale)
|
|
3687
3687
|
try {
|
|
3688
|
-
|
|
3688
|
+
zt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3689
3689
|
} catch {
|
|
3690
3690
|
console.warn(
|
|
3691
3691
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3692
3692
|
);
|
|
3693
3693
|
}
|
|
3694
|
-
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage =
|
|
3694
|
+
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Xn : console.warn(
|
|
3695
3695
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3696
|
-
)), Object.assign(Y, n, { initialLocale: i }), r && ("number" in r && Object.assign(Y.formats.number, r.number), "date" in r && Object.assign(Y.formats.date, r.date), "time" in r && Object.assign(Y.formats.time, r.time)),
|
|
3696
|
+
)), Object.assign(Y, n, { initialLocale: i }), r && ("number" in r && Object.assign(Y.formats.number, r.number), "date" in r && Object.assign(Y.formats.date, r.date), "time" in r && Object.assign(Y.formats.time, r.time)), M.set(i);
|
|
3697
3697
|
}
|
|
3698
|
-
const
|
|
3698
|
+
const Ne = Te(!1);
|
|
3699
3699
|
var Zn = Object.defineProperty, Yn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, lt = Object.getOwnPropertySymbols, Kn = Object.prototype.hasOwnProperty, ei = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ti = (e, t) => {
|
|
3700
3700
|
for (var r in t || (t = {}))
|
|
3701
3701
|
Kn.call(t, r) && ht(e, r, t[r]);
|
|
@@ -3713,7 +3713,7 @@ function ie(e, t = V().fallbackLocale) {
|
|
|
3713
3713
|
const r = ct(e);
|
|
3714
3714
|
return t ? [.../* @__PURE__ */ new Set([...r, ...ct(t)])] : r;
|
|
3715
3715
|
}
|
|
3716
|
-
function
|
|
3716
|
+
function I() {
|
|
3717
3717
|
return Ve ?? void 0;
|
|
3718
3718
|
}
|
|
3719
3719
|
_e.subscribe((e) => {
|
|
@@ -3723,17 +3723,17 @@ const ni = (e) => {
|
|
|
3723
3723
|
if (e && Un(e) && ve(e)) {
|
|
3724
3724
|
const { loadingDelay: t } = V();
|
|
3725
3725
|
let r;
|
|
3726
|
-
return typeof window < "u" &&
|
|
3727
|
-
() =>
|
|
3726
|
+
return typeof window < "u" && I() != null && t ? r = window.setTimeout(
|
|
3727
|
+
() => Ne.set(!0),
|
|
3728
3728
|
t
|
|
3729
|
-
) :
|
|
3729
|
+
) : Ne.set(!0), qt(e).then(() => {
|
|
3730
3730
|
_e.set(e);
|
|
3731
3731
|
}).finally(() => {
|
|
3732
|
-
clearTimeout(r),
|
|
3732
|
+
clearTimeout(r), Ne.set(!1);
|
|
3733
3733
|
});
|
|
3734
3734
|
}
|
|
3735
3735
|
return _e.set(e);
|
|
3736
|
-
},
|
|
3736
|
+
}, M = ri(ti({}, _e), {
|
|
3737
3737
|
set: ni
|
|
3738
3738
|
}), we = (e) => {
|
|
3739
3739
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -3788,28 +3788,28 @@ const te = (e, t) => {
|
|
|
3788
3788
|
}
|
|
3789
3789
|
), ui = (e = {}) => {
|
|
3790
3790
|
var t = e, {
|
|
3791
|
-
locale: r =
|
|
3791
|
+
locale: r = I()
|
|
3792
3792
|
} = t, n = q(t, [
|
|
3793
3793
|
"locale"
|
|
3794
3794
|
]);
|
|
3795
3795
|
return oi(qe({ locale: r }, n));
|
|
3796
3796
|
}, li = (e = {}) => {
|
|
3797
3797
|
var t = e, {
|
|
3798
|
-
locale: r =
|
|
3798
|
+
locale: r = I()
|
|
3799
3799
|
} = t, n = q(t, [
|
|
3800
3800
|
"locale"
|
|
3801
3801
|
]);
|
|
3802
3802
|
return si(qe({ locale: r }, n));
|
|
3803
3803
|
}, hi = (e = {}) => {
|
|
3804
3804
|
var t = e, {
|
|
3805
|
-
locale: r =
|
|
3805
|
+
locale: r = I()
|
|
3806
3806
|
} = t, n = q(t, [
|
|
3807
3807
|
"locale"
|
|
3808
3808
|
]);
|
|
3809
3809
|
return ai(qe({ locale: r }, n));
|
|
3810
3810
|
}, ci = we(
|
|
3811
3811
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3812
|
-
(e, t =
|
|
3812
|
+
(e, t = I()) => new zt(e, t, V().formats, {
|
|
3813
3813
|
ignoreTag: V().ignoreTag
|
|
3814
3814
|
})
|
|
3815
3815
|
), fi = (e, t = {}) => {
|
|
@@ -3818,14 +3818,14 @@ const te = (e, t) => {
|
|
|
3818
3818
|
typeof e == "object" && (s = e, e = s.id);
|
|
3819
3819
|
const {
|
|
3820
3820
|
values: a,
|
|
3821
|
-
locale: h =
|
|
3821
|
+
locale: h = I(),
|
|
3822
3822
|
default: u
|
|
3823
3823
|
} = s;
|
|
3824
3824
|
if (h == null)
|
|
3825
3825
|
throw new Error(
|
|
3826
3826
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3827
3827
|
);
|
|
3828
|
-
let l =
|
|
3828
|
+
let l = jt(e, h);
|
|
3829
3829
|
if (!l)
|
|
3830
3830
|
l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
3831
3831
|
else if (typeof l != "string")
|
|
@@ -3844,18 +3844,18 @@ const te = (e, t) => {
|
|
|
3844
3844
|
);
|
|
3845
3845
|
}
|
|
3846
3846
|
return c;
|
|
3847
|
-
}, mi = (e, t) => hi(t).format(e), di = (e, t) => li(t).format(e), pi = (e, t) => ui(t).format(e), bi = (e, t =
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3847
|
+
}, mi = (e, t) => hi(t).format(e), di = (e, t) => li(t).format(e), pi = (e, t) => ui(t).format(e), bi = (e, t = I()) => jt(e, t), gi = X([M, ne], () => fi);
|
|
3848
|
+
X([M], () => mi);
|
|
3849
|
+
X([M], () => di);
|
|
3850
|
+
X([M], () => pi);
|
|
3851
|
+
X([M, ne], () => bi);
|
|
3852
3852
|
function mt(e, t) {
|
|
3853
|
-
|
|
3853
|
+
Wt(e, t);
|
|
3854
3854
|
}
|
|
3855
3855
|
function yi(e) {
|
|
3856
3856
|
Jn({
|
|
3857
3857
|
fallbackLocale: "en"
|
|
3858
|
-
}),
|
|
3858
|
+
}), M.set(e);
|
|
3859
3859
|
}
|
|
3860
3860
|
const dt = {
|
|
3861
3861
|
en: {
|
|
@@ -3885,7 +3885,9 @@ const dt = {
|
|
|
3885
3885
|
DeclinedByMerchant: "We apologise, but transaction has been closed by merchant. Please contact Customer Support for further assistance.",
|
|
3886
3886
|
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",
|
|
3887
3887
|
OnlyOnePendingTransactionPerUserlsAllowed: "Only one pending transaction per user is allowed",
|
|
3888
|
-
TransactionFrequencyLimitReached: "Transaction frequency limit reached"
|
|
3888
|
+
TransactionFrequencyLimitReached: "Transaction frequency limit reached",
|
|
3889
|
+
NotMappedVendorError: "Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider",
|
|
3890
|
+
LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider"
|
|
3889
3891
|
},
|
|
3890
3892
|
tr: {
|
|
3891
3893
|
errorGeneralTitle: "Hata oluştu",
|
|
@@ -3914,7 +3916,9 @@ const dt = {
|
|
|
3914
3916
|
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.",
|
|
3915
3917
|
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.",
|
|
3916
3918
|
OnlyOnePendingTransactionPerUserlsAllowed: "Devam eden bir talebiniz olduğu için șu anda yeni bir işlem başlatılamaz.",
|
|
3917
|
-
TransactionFrequencyLimitReached: "İşlem sıklığı limiti aşıldı"
|
|
3919
|
+
TransactionFrequencyLimitReached: "İşlem sıklığı limiti aşıldı",
|
|
3920
|
+
NotMappedVendorError: "Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin",
|
|
3921
|
+
LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin"
|
|
3918
3922
|
},
|
|
3919
3923
|
fr: {
|
|
3920
3924
|
errorGeneralTitle: "Une erreur s’est produite",
|
|
@@ -3943,7 +3947,9 @@ const dt = {
|
|
|
3943
3947
|
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.",
|
|
3944
3948
|
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",
|
|
3945
3949
|
OnlyOnePendingTransactionPerUserlsAllowed: "Une seule transaction en attente par utilisateur est autorisée",
|
|
3946
|
-
TransactionFrequencyLimitReached: "Limite de fréquence des transactions atteinte"
|
|
3950
|
+
TransactionFrequencyLimitReached: "Limite de fréquence des transactions atteinte",
|
|
3951
|
+
NotMappedVendorError: "Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication",
|
|
3952
|
+
LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication"
|
|
3947
3953
|
}
|
|
3948
3954
|
};
|
|
3949
3955
|
function vi(e) {
|
|
@@ -3954,11 +3960,11 @@ function vt(e) {
|
|
|
3954
3960
|
let t, r;
|
|
3955
3961
|
return {
|
|
3956
3962
|
c() {
|
|
3957
|
-
t =
|
|
3963
|
+
t = L("ui-image"), Ye(t.src, r = `${/*assetsurl*/
|
|
3958
3964
|
e[0]}/error-general-icon.png`) || ce(t, "src", r), ce(t, "width", "300px"), ce(t, "alt", "error");
|
|
3959
3965
|
},
|
|
3960
3966
|
m(n, i) {
|
|
3961
|
-
|
|
3967
|
+
W(n, t, i);
|
|
3962
3968
|
},
|
|
3963
3969
|
p(n, i) {
|
|
3964
3970
|
i & /*assetsurl*/
|
|
@@ -3966,7 +3972,7 @@ function vt(e) {
|
|
|
3966
3972
|
n[0]}/error-general-icon.png`) && ce(t, "src", r);
|
|
3967
3973
|
},
|
|
3968
3974
|
d(n) {
|
|
3969
|
-
n &&
|
|
3975
|
+
n && N(t);
|
|
3970
3976
|
}
|
|
3971
3977
|
};
|
|
3972
3978
|
}
|
|
@@ -3980,14 +3986,14 @@ function Hi(e) {
|
|
|
3980
3986
|
r && r.c(), t = nr();
|
|
3981
3987
|
},
|
|
3982
3988
|
m(n, i) {
|
|
3983
|
-
r && r.m(n, i),
|
|
3989
|
+
r && r.m(n, i), W(n, t, i);
|
|
3984
3990
|
},
|
|
3985
3991
|
p(n, i) {
|
|
3986
3992
|
/*assetsurl*/
|
|
3987
3993
|
n[0] ? r ? r.p(n, i) : (r = vt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
3988
3994
|
},
|
|
3989
3995
|
d(n) {
|
|
3990
|
-
n &&
|
|
3996
|
+
n && N(t), r && r.d(n);
|
|
3991
3997
|
}
|
|
3992
3998
|
};
|
|
3993
3999
|
}
|
|
@@ -3999,10 +4005,10 @@ function Si(e) {
|
|
|
3999
4005
|
), n;
|
|
4000
4006
|
return {
|
|
4001
4007
|
c() {
|
|
4002
|
-
t =
|
|
4008
|
+
t = L("span"), n = xe(r), G(t, "class", "CashierErrorText");
|
|
4003
4009
|
},
|
|
4004
4010
|
m(i, o) {
|
|
4005
|
-
|
|
4011
|
+
W(i, t, o), O(t, n);
|
|
4006
4012
|
},
|
|
4007
4013
|
p(i, o) {
|
|
4008
4014
|
o & /*$_, errorcode*/
|
|
@@ -4011,7 +4017,7 @@ function Si(e) {
|
|
|
4011
4017
|
i[1] || "errorGeneralText"}`) + "") && Ht(n, r);
|
|
4012
4018
|
},
|
|
4013
4019
|
d(i) {
|
|
4014
|
-
i &&
|
|
4020
|
+
i && N(t);
|
|
4015
4021
|
}
|
|
4016
4022
|
};
|
|
4017
4023
|
}
|
|
@@ -4022,10 +4028,10 @@ function wi(e) {
|
|
|
4022
4028
|
), i, o, s;
|
|
4023
4029
|
return {
|
|
4024
4030
|
c() {
|
|
4025
|
-
t =
|
|
4031
|
+
t = L("button"), r = L("span"), i = xe(n), G(t, "class", "CashierErrorButton");
|
|
4026
4032
|
},
|
|
4027
4033
|
m(a, h) {
|
|
4028
|
-
|
|
4034
|
+
W(a, t, h), O(t, r), O(r, i), o || (s = ir(
|
|
4029
4035
|
t,
|
|
4030
4036
|
"click",
|
|
4031
4037
|
/*close*/
|
|
@@ -4038,7 +4044,7 @@ function wi(e) {
|
|
|
4038
4044
|
a[3]("errorGeneralButton") + "") && Ht(i, n);
|
|
4039
4045
|
},
|
|
4040
4046
|
d(a) {
|
|
4041
|
-
a &&
|
|
4047
|
+
a && N(t), o = !1, s();
|
|
4042
4048
|
}
|
|
4043
4049
|
};
|
|
4044
4050
|
}
|
|
@@ -4083,10 +4089,10 @@ function Ai(e) {
|
|
|
4083
4089
|
), x = T || wi(e);
|
|
4084
4090
|
return {
|
|
4085
4091
|
c() {
|
|
4086
|
-
t =
|
|
4092
|
+
t = L("div"), r = L("div"), u && u.c(), n = Ae(), c && c.c(), i = Ae(), b && b.c(), o = Ae(), x && x.c(), G(r, "class", "CashierErrorContent"), G(t, "class", "CashierError");
|
|
4087
4093
|
},
|
|
4088
4094
|
m(d, m) {
|
|
4089
|
-
|
|
4095
|
+
W(d, t, m), O(t, r), u && u.m(r, null), O(r, n), c && c.m(r, null), O(r, i), b && b.m(r, null), O(r, o), x && x.m(r, null), e[12](t), s = !0;
|
|
4090
4096
|
},
|
|
4091
4097
|
p(d, [m]) {
|
|
4092
4098
|
h ? h.p && (!s || m & /*$$scope*/
|
|
@@ -4173,7 +4179,7 @@ function Ai(e) {
|
|
|
4173
4179
|
fe(u, d), fe(c, d), fe(b, d), fe(x, d), s = !1;
|
|
4174
4180
|
},
|
|
4175
4181
|
d(d) {
|
|
4176
|
-
d &&
|
|
4182
|
+
d && N(t), u && u.d(d), c && c.d(d), b && b.d(d), x && x.d(d), e[12](null);
|
|
4177
4183
|
}
|
|
4178
4184
|
};
|
|
4179
4185
|
}
|
|
@@ -4201,7 +4207,7 @@ function Bi(e, t, r) {
|
|
|
4201
4207
|
ur(() => () => {
|
|
4202
4208
|
});
|
|
4203
4209
|
function d(m) {
|
|
4204
|
-
|
|
4210
|
+
Me[m ? "unshift" : "push"](() => {
|
|
4205
4211
|
p = m, r(2, p);
|
|
4206
4212
|
});
|
|
4207
4213
|
}
|