@everymatrix/cashier-methods-list 1.94.36 → 1.94.38
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/{CashierMethodsList-JWFVpzR9.js → CashierMethodsList-B9Lg8EG8.js} +257 -221
- package/components/{CashierMethodsList-BNO_3M_F.cjs → CashierMethodsList-BIMdZpJT.cjs} +4 -4
- package/components/{CashierMethodsList-Vzg-wLI3.js → CashierMethodsList-BLNkFl4M.js} +247 -211
- package/es2015/cashier-methods-list.cjs +1 -1
- package/es2015/cashier-methods-list.js +1 -1
- package/esnext/cashier-methods-list.js +1 -1
- package/package.json +1 -1
|
@@ -37,14 +37,14 @@ function Jt(e, t, r) {
|
|
|
37
37
|
function S(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function An(e, t, r) {
|
|
41
|
+
const n = Hn(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
43
|
const i = C("style");
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
44
|
+
i.id = t, i.textContent = r, On(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Hn(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,7 +54,7 @@ function On(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function On(e, t) {
|
|
58
58
|
return S(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
@@ -113,7 +113,7 @@ function $n(e) {
|
|
|
113
113
|
), t;
|
|
114
114
|
}
|
|
115
115
|
let je;
|
|
116
|
-
function
|
|
116
|
+
function Ge(e) {
|
|
117
117
|
je = e;
|
|
118
118
|
}
|
|
119
119
|
function Bn() {
|
|
@@ -125,14 +125,14 @@ function Nn(e) {
|
|
|
125
125
|
Bn().$$.on_mount.push(e);
|
|
126
126
|
}
|
|
127
127
|
const Pe = [], xt = [];
|
|
128
|
-
let
|
|
128
|
+
let He = [];
|
|
129
129
|
const qt = [], In = /* @__PURE__ */ Promise.resolve();
|
|
130
130
|
let St = !1;
|
|
131
131
|
function Dn() {
|
|
132
132
|
St || (St = !0, In.then(j));
|
|
133
133
|
}
|
|
134
134
|
function Mt(e) {
|
|
135
|
-
|
|
135
|
+
He.push(e);
|
|
136
136
|
}
|
|
137
137
|
const dt = /* @__PURE__ */ new Set();
|
|
138
138
|
let Me = 0;
|
|
@@ -144,22 +144,22 @@ function j() {
|
|
|
144
144
|
try {
|
|
145
145
|
for (; Me < Pe.length; ) {
|
|
146
146
|
const t = Pe[Me];
|
|
147
|
-
Me++,
|
|
147
|
+
Me++, Ge(t), Rn(t.$$);
|
|
148
148
|
}
|
|
149
149
|
} catch (t) {
|
|
150
150
|
throw Pe.length = 0, Me = 0, t;
|
|
151
151
|
}
|
|
152
|
-
for (
|
|
152
|
+
for (Ge(null), Pe.length = 0, Me = 0; xt.length; )
|
|
153
153
|
xt.pop()();
|
|
154
|
-
for (let t = 0; t <
|
|
155
|
-
const r =
|
|
154
|
+
for (let t = 0; t < He.length; t += 1) {
|
|
155
|
+
const r = He[t];
|
|
156
156
|
dt.has(r) || (dt.add(r), r());
|
|
157
157
|
}
|
|
158
|
-
|
|
158
|
+
He.length = 0;
|
|
159
159
|
} while (Pe.length);
|
|
160
160
|
for (; qt.length; )
|
|
161
161
|
qt.pop()();
|
|
162
|
-
St = !1, dt.clear(),
|
|
162
|
+
St = !1, dt.clear(), Ge(e);
|
|
163
163
|
}
|
|
164
164
|
function Rn(e) {
|
|
165
165
|
if (e.fragment !== null) {
|
|
@@ -170,16 +170,16 @@ function Rn(e) {
|
|
|
170
170
|
}
|
|
171
171
|
function Un(e) {
|
|
172
172
|
const t = [], r = [];
|
|
173
|
-
|
|
173
|
+
He.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), He = t;
|
|
174
174
|
}
|
|
175
175
|
const Fn = /* @__PURE__ */ new Set();
|
|
176
|
-
function
|
|
176
|
+
function kn(e, t) {
|
|
177
177
|
e && e.i && (Fn.delete(e), e.i(t));
|
|
178
178
|
}
|
|
179
179
|
function Qt(e) {
|
|
180
180
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Gn(e, t, r) {
|
|
183
183
|
const { fragment: n, after_update: i } = e.$$;
|
|
184
184
|
n && n.m(t, r), Mt(() => {
|
|
185
185
|
const o = e.$$.on_mount.map($r).filter(Ft);
|
|
@@ -195,7 +195,7 @@ function Vn(e, t) {
|
|
|
195
195
|
}
|
|
196
196
|
function zn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
197
197
|
const l = je;
|
|
198
|
-
|
|
198
|
+
Ge(e);
|
|
199
199
|
const u = e.$$ = {
|
|
200
200
|
fragment: null,
|
|
201
201
|
ctx: [],
|
|
@@ -228,9 +228,9 @@ function zn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
228
228
|
u.fragment && u.fragment.l(c), c.forEach(ie);
|
|
229
229
|
} else
|
|
230
230
|
u.fragment && u.fragment.c();
|
|
231
|
-
t.intro &&
|
|
231
|
+
t.intro && kn(e.$$.fragment), Gn(e, t.target, t.anchor), j();
|
|
232
232
|
}
|
|
233
|
-
|
|
233
|
+
Ge(l);
|
|
234
234
|
}
|
|
235
235
|
let Dr;
|
|
236
236
|
typeof HTMLElement == "function" && (Dr = class extends HTMLElement {
|
|
@@ -504,8 +504,8 @@ function Ne(e, t, r) {
|
|
|
504
504
|
}, w = i.map(
|
|
505
505
|
(M, d) => Nr(
|
|
506
506
|
M,
|
|
507
|
-
(
|
|
508
|
-
u[d] =
|
|
507
|
+
(O) => {
|
|
508
|
+
u[d] = O, h &= ~(1 << d), l && y();
|
|
509
509
|
},
|
|
510
510
|
() => {
|
|
511
511
|
h |= 1 << d;
|
|
@@ -518,7 +518,7 @@ function Ne(e, t, r) {
|
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
520
|
var Rr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
521
|
-
function
|
|
521
|
+
function kt(e) {
|
|
522
522
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
523
523
|
}
|
|
524
524
|
var Jn = function(t) {
|
|
@@ -539,7 +539,7 @@ function ri(e) {
|
|
|
539
539
|
return Array.isArray(e) ? [] : {};
|
|
540
540
|
}
|
|
541
541
|
function Ve(e, t) {
|
|
542
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
542
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Oe(ri(e), e, t) : e;
|
|
543
543
|
}
|
|
544
544
|
function ni(e, t, r) {
|
|
545
545
|
return e.concat(t).map(function(n) {
|
|
@@ -548,9 +548,9 @@ function ni(e, t, r) {
|
|
|
548
548
|
}
|
|
549
549
|
function ii(e, t) {
|
|
550
550
|
if (!t.customMerge)
|
|
551
|
-
return
|
|
551
|
+
return Oe;
|
|
552
552
|
var r = t.customMerge(e);
|
|
553
|
-
return typeof r == "function" ? r :
|
|
553
|
+
return typeof r == "function" ? r : Oe;
|
|
554
554
|
}
|
|
555
555
|
function oi(e) {
|
|
556
556
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -578,20 +578,20 @@ function ai(e, t, r) {
|
|
|
578
578
|
si(e, i) || (Ur(e, i) && r.isMergeableObject(t[i]) ? n[i] = ii(i, r)(e[i], t[i], r) : n[i] = Ve(t[i], r));
|
|
579
579
|
}), n;
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function Oe(e, t, r) {
|
|
582
582
|
r = r || {}, r.arrayMerge = r.arrayMerge || ni, r.isMergeableObject = r.isMergeableObject || Jn, r.cloneUnlessOtherwiseSpecified = Ve;
|
|
583
583
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
584
584
|
return o ? n ? r.arrayMerge(e, t, r) : ai(e, t, r) : Ve(t, r);
|
|
585
585
|
}
|
|
586
|
-
|
|
586
|
+
Oe.all = function(t, r) {
|
|
587
587
|
if (!Array.isArray(t))
|
|
588
588
|
throw new Error("first argument should be an array");
|
|
589
589
|
return t.reduce(function(n, i) {
|
|
590
|
-
return
|
|
590
|
+
return Oe(n, i, r);
|
|
591
591
|
}, {});
|
|
592
592
|
};
|
|
593
|
-
var ui =
|
|
594
|
-
const hi = /* @__PURE__ */
|
|
593
|
+
var ui = Oe, li = ui;
|
|
594
|
+
const hi = /* @__PURE__ */ kt(li);
|
|
595
595
|
var Tt = function(e, t) {
|
|
596
596
|
return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
597
597
|
r.__proto__ = n;
|
|
@@ -652,15 +652,15 @@ function Fr(e, t, r) {
|
|
|
652
652
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
653
653
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function kr(e, t, r, n, i) {
|
|
656
656
|
return r.bind(t, e, n, i);
|
|
657
657
|
}
|
|
658
658
|
function di(e, t) {
|
|
659
659
|
var r = e.length === 1 ? mi : Fr;
|
|
660
|
-
return
|
|
660
|
+
return kr(e, this, r, t.cache.create(), t.serializer);
|
|
661
661
|
}
|
|
662
662
|
function pi(e, t) {
|
|
663
|
-
return
|
|
663
|
+
return kr(e, this, Fr, t.cache.create(), t.serializer);
|
|
664
664
|
}
|
|
665
665
|
var gi = function() {
|
|
666
666
|
return JSON.stringify(arguments);
|
|
@@ -696,40 +696,40 @@ var P;
|
|
|
696
696
|
(function(e) {
|
|
697
697
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
698
698
|
})(P || (P = {}));
|
|
699
|
-
var
|
|
699
|
+
var k;
|
|
700
700
|
(function(e) {
|
|
701
701
|
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";
|
|
702
|
-
})(
|
|
702
|
+
})(k || (k = {}));
|
|
703
703
|
var Le;
|
|
704
704
|
(function(e) {
|
|
705
705
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
706
706
|
})(Le || (Le = {}));
|
|
707
707
|
function er(e) {
|
|
708
|
-
return e.type ===
|
|
708
|
+
return e.type === k.literal;
|
|
709
709
|
}
|
|
710
710
|
function vi(e) {
|
|
711
|
-
return e.type ===
|
|
711
|
+
return e.type === k.argument;
|
|
712
712
|
}
|
|
713
|
-
function
|
|
714
|
-
return e.type ===
|
|
713
|
+
function Gr(e) {
|
|
714
|
+
return e.type === k.number;
|
|
715
715
|
}
|
|
716
716
|
function jr(e) {
|
|
717
|
-
return e.type ===
|
|
717
|
+
return e.type === k.date;
|
|
718
718
|
}
|
|
719
719
|
function Vr(e) {
|
|
720
|
-
return e.type ===
|
|
720
|
+
return e.type === k.time;
|
|
721
721
|
}
|
|
722
722
|
function zr(e) {
|
|
723
|
-
return e.type ===
|
|
723
|
+
return e.type === k.select;
|
|
724
724
|
}
|
|
725
725
|
function Wr(e) {
|
|
726
|
-
return e.type ===
|
|
726
|
+
return e.type === k.plural;
|
|
727
727
|
}
|
|
728
728
|
function _i(e) {
|
|
729
|
-
return e.type ===
|
|
729
|
+
return e.type === k.pound;
|
|
730
730
|
}
|
|
731
731
|
function Xr(e) {
|
|
732
|
-
return e.type ===
|
|
732
|
+
return e.type === k.tag;
|
|
733
733
|
}
|
|
734
734
|
function Yr(e) {
|
|
735
735
|
return !!(e && typeof e == "object" && e.type === Le.number);
|
|
@@ -829,15 +829,15 @@ function wi(e) {
|
|
|
829
829
|
return "";
|
|
830
830
|
}), t;
|
|
831
831
|
}
|
|
832
|
-
var
|
|
833
|
-
return
|
|
832
|
+
var G = function() {
|
|
833
|
+
return G = Object.assign || function(t) {
|
|
834
834
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
835
835
|
r = arguments[n];
|
|
836
836
|
for (var o in r)
|
|
837
837
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
838
838
|
}
|
|
839
839
|
return t;
|
|
840
|
-
},
|
|
840
|
+
}, G.apply(this, arguments);
|
|
841
841
|
};
|
|
842
842
|
var xi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
843
843
|
function Si(e) {
|
|
@@ -926,7 +926,7 @@ function nr(e) {
|
|
|
926
926
|
var t = {}, r = Qr(e);
|
|
927
927
|
return r || t;
|
|
928
928
|
}
|
|
929
|
-
function
|
|
929
|
+
function Ai(e) {
|
|
930
930
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
931
931
|
var i = n[r];
|
|
932
932
|
switch (i.stem) {
|
|
@@ -961,13 +961,13 @@ function Hi(e) {
|
|
|
961
961
|
t.notation = "compact", t.compactDisplay = "long";
|
|
962
962
|
continue;
|
|
963
963
|
case "scientific":
|
|
964
|
-
t =
|
|
965
|
-
return
|
|
964
|
+
t = G(G(G({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
965
|
+
return G(G({}, l), nr(u));
|
|
966
966
|
}, {}));
|
|
967
967
|
continue;
|
|
968
968
|
case "engineering":
|
|
969
|
-
t =
|
|
970
|
-
return
|
|
969
|
+
t = G(G(G({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
970
|
+
return G(G({}, l), nr(u));
|
|
971
971
|
}, {}));
|
|
972
972
|
continue;
|
|
973
973
|
case "notation-simple":
|
|
@@ -1036,17 +1036,17 @@ function Hi(e) {
|
|
|
1036
1036
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : y && w ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + w.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1037
1037
|
});
|
|
1038
1038
|
var o = i.options[0];
|
|
1039
|
-
o === "w" ? t =
|
|
1039
|
+
o === "w" ? t = G(G({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = G(G({}, t), rr(o)));
|
|
1040
1040
|
continue;
|
|
1041
1041
|
}
|
|
1042
1042
|
if (Jr.test(i.stem)) {
|
|
1043
|
-
t =
|
|
1043
|
+
t = G(G({}, t), rr(i.stem));
|
|
1044
1044
|
continue;
|
|
1045
1045
|
}
|
|
1046
1046
|
var s = Qr(i.stem);
|
|
1047
|
-
s && (t =
|
|
1047
|
+
s && (t = G(G({}, t), s));
|
|
1048
1048
|
var a = Pi(i.stem);
|
|
1049
|
-
a && (t =
|
|
1049
|
+
a && (t = G(G({}, t), a));
|
|
1050
1050
|
}
|
|
1051
1051
|
return t;
|
|
1052
1052
|
}
|
|
@@ -2465,13 +2465,13 @@ var qe = {
|
|
|
2465
2465
|
"h"
|
|
2466
2466
|
]
|
|
2467
2467
|
};
|
|
2468
|
-
function
|
|
2468
|
+
function Hi(e, t) {
|
|
2469
2469
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2470
2470
|
var i = e.charAt(n);
|
|
2471
2471
|
if (i === "j") {
|
|
2472
2472
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2473
2473
|
o++, n++;
|
|
2474
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2474
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Oi(t);
|
|
2475
2475
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2476
2476
|
r += l;
|
|
2477
2477
|
for (; s-- > 0; )
|
|
@@ -2481,7 +2481,7 @@ function Oi(e, t) {
|
|
|
2481
2481
|
}
|
|
2482
2482
|
return r;
|
|
2483
2483
|
}
|
|
2484
|
-
function
|
|
2484
|
+
function Oi(e) {
|
|
2485
2485
|
var t = e.hourCycle;
|
|
2486
2486
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2487
2487
|
e.hourCycles && // @ts-ignore
|
|
@@ -2504,17 +2504,17 @@ function Ai(e) {
|
|
|
2504
2504
|
return i[0];
|
|
2505
2505
|
}
|
|
2506
2506
|
var yt, Li = new RegExp("^".concat(Zr.source, "*")), Ci = new RegExp("".concat(Zr.source, "*$"));
|
|
2507
|
-
function
|
|
2507
|
+
function H(e, t) {
|
|
2508
2508
|
return { start: e, end: t };
|
|
2509
2509
|
}
|
|
2510
2510
|
var $i = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bi = !!String.fromCodePoint, Ni = !!Object.fromEntries, Ii = !!String.prototype.codePointAt, Di = !!String.prototype.trimStart, Ri = !!String.prototype.trimEnd, Ui = !!Number.isSafeInteger, Fi = Ui ? Number.isSafeInteger : function(e) {
|
|
2511
2511
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2512
|
-
},
|
|
2512
|
+
}, At = !0;
|
|
2513
2513
|
try {
|
|
2514
|
-
var
|
|
2515
|
-
|
|
2514
|
+
var ki = en("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2515
|
+
At = ((yt = ki.exec("a")) === null || yt === void 0 ? void 0 : yt[0]) === "a";
|
|
2516
2516
|
} catch {
|
|
2517
|
-
|
|
2517
|
+
At = !1;
|
|
2518
2518
|
}
|
|
2519
2519
|
var ir = $i ? (
|
|
2520
2520
|
// Native
|
|
@@ -2526,7 +2526,7 @@ var ir = $i ? (
|
|
|
2526
2526
|
function(t, r, n) {
|
|
2527
2527
|
return t.slice(n, n + r.length) === r;
|
|
2528
2528
|
}
|
|
2529
|
-
),
|
|
2529
|
+
), Ht = Bi ? String.fromCodePoint : (
|
|
2530
2530
|
// IE11
|
|
2531
2531
|
function() {
|
|
2532
2532
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2564,7 +2564,7 @@ var ir = $i ? (
|
|
|
2564
2564
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2565
2565
|
}
|
|
2566
2566
|
}
|
|
2567
|
-
),
|
|
2567
|
+
), Gi = Di ? (
|
|
2568
2568
|
// Native
|
|
2569
2569
|
function(t) {
|
|
2570
2570
|
return t.trimStart();
|
|
@@ -2588,24 +2588,24 @@ var ir = $i ? (
|
|
|
2588
2588
|
function en(e, t) {
|
|
2589
2589
|
return new RegExp(e, t);
|
|
2590
2590
|
}
|
|
2591
|
-
var
|
|
2592
|
-
if (
|
|
2591
|
+
var Ot;
|
|
2592
|
+
if (At) {
|
|
2593
2593
|
var sr = en("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2594
|
-
|
|
2594
|
+
Ot = function(t, r) {
|
|
2595
2595
|
var n;
|
|
2596
2596
|
sr.lastIndex = r;
|
|
2597
2597
|
var i = sr.exec(t);
|
|
2598
2598
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2599
2599
|
};
|
|
2600
2600
|
} else
|
|
2601
|
-
|
|
2601
|
+
Ot = function(t, r) {
|
|
2602
2602
|
for (var n = []; ; ) {
|
|
2603
2603
|
var i = Kr(t, r);
|
|
2604
2604
|
if (i === void 0 || tn(i) || Xi(i))
|
|
2605
2605
|
break;
|
|
2606
2606
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2607
2607
|
}
|
|
2608
|
-
return
|
|
2608
|
+
return Ht.apply(void 0, n);
|
|
2609
2609
|
};
|
|
2610
2610
|
var Vi = (
|
|
2611
2611
|
/** @class */
|
|
@@ -2631,13 +2631,13 @@ var Vi = (
|
|
|
2631
2631
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2632
2632
|
var a = this.clonePosition();
|
|
2633
2633
|
this.bump(), i.push({
|
|
2634
|
-
type:
|
|
2635
|
-
location:
|
|
2634
|
+
type: k.pound,
|
|
2635
|
+
location: H(a, this.clonePosition())
|
|
2636
2636
|
});
|
|
2637
2637
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2638
2638
|
if (n)
|
|
2639
2639
|
break;
|
|
2640
|
-
return this.error(P.UNMATCHED_CLOSING_TAG,
|
|
2640
|
+
return this.error(P.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
|
|
2641
2641
|
} else if (o === 60 && !this.ignoreTag && Lt(this.peek() || 0)) {
|
|
2642
2642
|
var s = this.parseTag(t, r);
|
|
2643
2643
|
if (s.err)
|
|
@@ -2659,9 +2659,9 @@ var Vi = (
|
|
|
2659
2659
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2660
2660
|
return {
|
|
2661
2661
|
val: {
|
|
2662
|
-
type:
|
|
2662
|
+
type: k.literal,
|
|
2663
2663
|
value: "<".concat(i, "/>"),
|
|
2664
|
-
location:
|
|
2664
|
+
location: H(n, this.clonePosition())
|
|
2665
2665
|
},
|
|
2666
2666
|
err: null
|
|
2667
2667
|
};
|
|
@@ -2672,21 +2672,21 @@ var Vi = (
|
|
|
2672
2672
|
var s = o.val, a = this.clonePosition();
|
|
2673
2673
|
if (this.bumpIf("</")) {
|
|
2674
2674
|
if (this.isEOF() || !Lt(this.char()))
|
|
2675
|
-
return this.error(P.INVALID_TAG,
|
|
2675
|
+
return this.error(P.INVALID_TAG, H(a, this.clonePosition()));
|
|
2676
2676
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
2677
|
-
return i !== u ? this.error(P.UNMATCHED_CLOSING_TAG,
|
|
2677
|
+
return i !== u ? this.error(P.UNMATCHED_CLOSING_TAG, H(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2678
2678
|
val: {
|
|
2679
|
-
type:
|
|
2679
|
+
type: k.tag,
|
|
2680
2680
|
value: i,
|
|
2681
2681
|
children: s,
|
|
2682
|
-
location:
|
|
2682
|
+
location: H(n, this.clonePosition())
|
|
2683
2683
|
},
|
|
2684
2684
|
err: null
|
|
2685
|
-
} : this.error(P.INVALID_TAG,
|
|
2685
|
+
} : this.error(P.INVALID_TAG, H(a, this.clonePosition())));
|
|
2686
2686
|
} else
|
|
2687
|
-
return this.error(P.UNCLOSED_TAG,
|
|
2687
|
+
return this.error(P.UNCLOSED_TAG, H(n, this.clonePosition()));
|
|
2688
2688
|
} else
|
|
2689
|
-
return this.error(P.INVALID_TAG,
|
|
2689
|
+
return this.error(P.INVALID_TAG, H(n, this.clonePosition()));
|
|
2690
2690
|
}, e.prototype.parseTagName = function() {
|
|
2691
2691
|
var t = this.offset();
|
|
2692
2692
|
for (this.bump(); !this.isEOF() && Wi(this.char()); )
|
|
@@ -2711,9 +2711,9 @@ var Vi = (
|
|
|
2711
2711
|
}
|
|
2712
2712
|
break;
|
|
2713
2713
|
}
|
|
2714
|
-
var l =
|
|
2714
|
+
var l = H(n, this.clonePosition());
|
|
2715
2715
|
return {
|
|
2716
|
-
val: { type:
|
|
2716
|
+
val: { type: k.literal, value: i, location: l },
|
|
2717
2717
|
err: null
|
|
2718
2718
|
};
|
|
2719
2719
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -2752,49 +2752,49 @@ var Vi = (
|
|
|
2752
2752
|
r.push(n);
|
|
2753
2753
|
this.bump();
|
|
2754
2754
|
}
|
|
2755
|
-
return
|
|
2755
|
+
return Ht.apply(void 0, r);
|
|
2756
2756
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2757
2757
|
if (this.isEOF())
|
|
2758
2758
|
return null;
|
|
2759
2759
|
var n = this.char();
|
|
2760
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2760
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ht(n));
|
|
2761
2761
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2762
2762
|
var n = this.clonePosition();
|
|
2763
2763
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2764
|
-
return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2764
|
+
return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition()));
|
|
2765
2765
|
if (this.char() === 125)
|
|
2766
|
-
return this.bump(), this.error(P.EMPTY_ARGUMENT,
|
|
2766
|
+
return this.bump(), this.error(P.EMPTY_ARGUMENT, H(n, this.clonePosition()));
|
|
2767
2767
|
var i = this.parseIdentifierIfPossible().value;
|
|
2768
2768
|
if (!i)
|
|
2769
|
-
return this.error(P.MALFORMED_ARGUMENT,
|
|
2769
|
+
return this.error(P.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
|
|
2770
2770
|
if (this.bumpSpace(), this.isEOF())
|
|
2771
|
-
return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2771
|
+
return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition()));
|
|
2772
2772
|
switch (this.char()) {
|
|
2773
2773
|
case 125:
|
|
2774
2774
|
return this.bump(), {
|
|
2775
2775
|
val: {
|
|
2776
|
-
type:
|
|
2776
|
+
type: k.argument,
|
|
2777
2777
|
// value does not include the opening and closing braces.
|
|
2778
2778
|
value: i,
|
|
2779
|
-
location:
|
|
2779
|
+
location: H(n, this.clonePosition())
|
|
2780
2780
|
},
|
|
2781
2781
|
err: null
|
|
2782
2782
|
};
|
|
2783
2783
|
case 44:
|
|
2784
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2784
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2785
2785
|
default:
|
|
2786
|
-
return this.error(P.MALFORMED_ARGUMENT,
|
|
2786
|
+
return this.error(P.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
|
|
2787
2787
|
}
|
|
2788
2788
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2789
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2789
|
+
var t = this.clonePosition(), r = this.offset(), n = Ot(this.message, r), i = r + n.length;
|
|
2790
2790
|
this.bumpTo(i);
|
|
2791
|
-
var o = this.clonePosition(), s =
|
|
2791
|
+
var o = this.clonePosition(), s = H(t, o);
|
|
2792
2792
|
return { value: n, location: s };
|
|
2793
2793
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2794
2794
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2795
2795
|
switch (a) {
|
|
2796
2796
|
case "":
|
|
2797
|
-
return this.error(P.EXPECT_ARGUMENT_TYPE,
|
|
2797
|
+
return this.error(P.EXPECT_ARGUMENT_TYPE, H(s, l));
|
|
2798
2798
|
case "number":
|
|
2799
2799
|
case "date":
|
|
2800
2800
|
case "time": {
|
|
@@ -2807,33 +2807,33 @@ var Vi = (
|
|
|
2807
2807
|
return c;
|
|
2808
2808
|
var y = ji(c.val);
|
|
2809
2809
|
if (y.length === 0)
|
|
2810
|
-
return this.error(P.EXPECT_ARGUMENT_STYLE,
|
|
2811
|
-
var w =
|
|
2810
|
+
return this.error(P.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
|
|
2811
|
+
var w = H(h, this.clonePosition());
|
|
2812
2812
|
u = { style: y, styleLocation: w };
|
|
2813
2813
|
}
|
|
2814
2814
|
var M = this.tryParseArgumentClose(i);
|
|
2815
2815
|
if (M.err)
|
|
2816
2816
|
return M;
|
|
2817
|
-
var d =
|
|
2817
|
+
var d = H(i, this.clonePosition());
|
|
2818
2818
|
if (u && ir(u?.style, "::", 0)) {
|
|
2819
|
-
var
|
|
2819
|
+
var O = Gi(u.style.slice(2));
|
|
2820
2820
|
if (a === "number") {
|
|
2821
|
-
var c = this.parseNumberSkeletonFromString(
|
|
2821
|
+
var c = this.parseNumberSkeletonFromString(O, u.styleLocation);
|
|
2822
2822
|
return c.err ? c : {
|
|
2823
|
-
val: { type:
|
|
2823
|
+
val: { type: k.number, value: n, location: d, style: c.val },
|
|
2824
2824
|
err: null
|
|
2825
2825
|
};
|
|
2826
2826
|
} else {
|
|
2827
|
-
if (
|
|
2827
|
+
if (O.length === 0)
|
|
2828
2828
|
return this.error(P.EXPECT_DATE_TIME_SKELETON, d);
|
|
2829
|
-
var I =
|
|
2830
|
-
this.locale && (I =
|
|
2829
|
+
var I = O;
|
|
2830
|
+
this.locale && (I = Hi(O, this.locale));
|
|
2831
2831
|
var y = {
|
|
2832
2832
|
type: Le.dateTime,
|
|
2833
2833
|
pattern: I,
|
|
2834
2834
|
location: u.styleLocation,
|
|
2835
2835
|
parsedOptions: this.shouldParseSkeletons ? wi(I) : {}
|
|
2836
|
-
}, D = a === "date" ?
|
|
2836
|
+
}, D = a === "date" ? k.date : k.time;
|
|
2837
2837
|
return {
|
|
2838
2838
|
val: { type: D, value: n, location: d, style: y },
|
|
2839
2839
|
err: null
|
|
@@ -2842,7 +2842,7 @@ var Vi = (
|
|
|
2842
2842
|
}
|
|
2843
2843
|
return {
|
|
2844
2844
|
val: {
|
|
2845
|
-
type: a === "number" ?
|
|
2845
|
+
type: a === "number" ? k.number : a === "date" ? k.date : k.time,
|
|
2846
2846
|
value: n,
|
|
2847
2847
|
location: d,
|
|
2848
2848
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -2853,14 +2853,14 @@ var Vi = (
|
|
|
2853
2853
|
case "plural":
|
|
2854
2854
|
case "selectordinal":
|
|
2855
2855
|
case "select": {
|
|
2856
|
-
var
|
|
2856
|
+
var A = this.clonePosition();
|
|
2857
2857
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2858
|
-
return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
2858
|
+
return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, H(A, st({}, A)));
|
|
2859
2859
|
this.bumpSpace();
|
|
2860
2860
|
var z = this.parseIdentifierIfPossible(), U = 0;
|
|
2861
2861
|
if (a !== "select" && z.value === "offset") {
|
|
2862
2862
|
if (!this.bumpIf(":"))
|
|
2863
|
-
return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
2863
|
+
return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
|
|
2864
2864
|
this.bumpSpace();
|
|
2865
2865
|
var c = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2866
2866
|
if (c.err)
|
|
@@ -2873,10 +2873,10 @@ var Vi = (
|
|
|
2873
2873
|
var M = this.tryParseArgumentClose(i);
|
|
2874
2874
|
if (M.err)
|
|
2875
2875
|
return M;
|
|
2876
|
-
var X =
|
|
2876
|
+
var X = H(i, this.clonePosition());
|
|
2877
2877
|
return a === "select" ? {
|
|
2878
2878
|
val: {
|
|
2879
|
-
type:
|
|
2879
|
+
type: k.select,
|
|
2880
2880
|
value: n,
|
|
2881
2881
|
options: or(F.val),
|
|
2882
2882
|
location: X
|
|
@@ -2884,7 +2884,7 @@ var Vi = (
|
|
|
2884
2884
|
err: null
|
|
2885
2885
|
} : {
|
|
2886
2886
|
val: {
|
|
2887
|
-
type:
|
|
2887
|
+
type: k.plural,
|
|
2888
2888
|
value: n,
|
|
2889
2889
|
options: or(F.val),
|
|
2890
2890
|
offset: U,
|
|
@@ -2895,10 +2895,10 @@ var Vi = (
|
|
|
2895
2895
|
};
|
|
2896
2896
|
}
|
|
2897
2897
|
default:
|
|
2898
|
-
return this.error(P.INVALID_ARGUMENT_TYPE,
|
|
2898
|
+
return this.error(P.INVALID_ARGUMENT_TYPE, H(s, l));
|
|
2899
2899
|
}
|
|
2900
2900
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2901
|
-
return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2901
|
+
return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, H(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2902
2902
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2903
2903
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2904
2904
|
var n = this.char();
|
|
@@ -2907,7 +2907,7 @@ var Vi = (
|
|
|
2907
2907
|
this.bump();
|
|
2908
2908
|
var i = this.clonePosition();
|
|
2909
2909
|
if (!this.bumpUntil("'"))
|
|
2910
|
-
return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
2910
|
+
return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, H(i, this.clonePosition()));
|
|
2911
2911
|
this.bump();
|
|
2912
2912
|
break;
|
|
2913
2913
|
}
|
|
@@ -2946,7 +2946,7 @@ var Vi = (
|
|
|
2946
2946
|
type: Le.number,
|
|
2947
2947
|
tokens: n,
|
|
2948
2948
|
location: r,
|
|
2949
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2949
|
+
parsedOptions: this.shouldParseSkeletons ? Ai(n) : {}
|
|
2950
2950
|
},
|
|
2951
2951
|
err: null
|
|
2952
2952
|
};
|
|
@@ -2958,7 +2958,7 @@ var Vi = (
|
|
|
2958
2958
|
var y = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2959
2959
|
if (y.err)
|
|
2960
2960
|
return y;
|
|
2961
|
-
h =
|
|
2961
|
+
h = H(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
2962
2962
|
} else
|
|
2963
2963
|
break;
|
|
2964
2964
|
}
|
|
@@ -2967,7 +2967,7 @@ var Vi = (
|
|
|
2967
2967
|
u === "other" && (s = !0), this.bumpSpace();
|
|
2968
2968
|
var w = this.clonePosition();
|
|
2969
2969
|
if (!this.bumpIf("{"))
|
|
2970
|
-
return this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
2970
|
+
return this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, H(this.clonePosition(), this.clonePosition()));
|
|
2971
2971
|
var M = this.parseMessage(t + 1, r, n);
|
|
2972
2972
|
if (M.err)
|
|
2973
2973
|
return M;
|
|
@@ -2978,11 +2978,11 @@ var Vi = (
|
|
|
2978
2978
|
u,
|
|
2979
2979
|
{
|
|
2980
2980
|
value: M.val,
|
|
2981
|
-
location:
|
|
2981
|
+
location: H(w, this.clonePosition())
|
|
2982
2982
|
}
|
|
2983
2983
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
2984
2984
|
}
|
|
2985
|
-
return a.length === 0 ? this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
2985
|
+
return a.length === 0 ? this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(P.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
2986
2986
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2987
2987
|
var n = 1, i = this.clonePosition();
|
|
2988
2988
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -2993,7 +2993,7 @@ var Vi = (
|
|
|
2993
2993
|
else
|
|
2994
2994
|
break;
|
|
2995
2995
|
}
|
|
2996
|
-
var l =
|
|
2996
|
+
var l = H(i, this.clonePosition());
|
|
2997
2997
|
return o ? (s *= n, Fi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
2998
2998
|
}, e.prototype.offset = function() {
|
|
2999
2999
|
return this.position.offset;
|
|
@@ -3081,7 +3081,7 @@ function Ct(e) {
|
|
|
3081
3081
|
for (var r in t.options)
|
|
3082
3082
|
delete t.options[r].location, Ct(t.options[r].value);
|
|
3083
3083
|
else
|
|
3084
|
-
|
|
3084
|
+
Gr(t) && Yr(t.style) || (jr(t) || Vr(t)) && Pt(t.style) ? delete t.style.location : Xr(t) && Ct(t.children);
|
|
3085
3085
|
});
|
|
3086
3086
|
}
|
|
3087
3087
|
function Yi(e, t) {
|
|
@@ -3200,7 +3200,7 @@ function tt(e, t, r, n, i, o, s) {
|
|
|
3200
3200
|
});
|
|
3201
3201
|
continue;
|
|
3202
3202
|
}
|
|
3203
|
-
if (
|
|
3203
|
+
if (Gr(h)) {
|
|
3204
3204
|
var w = typeof h.style == "string" ? n.number[h.style] : Yr(h.style) ? h.style.parsedOptions : void 0;
|
|
3205
3205
|
w && w.scale && (y = y * (w.scale || 1)), a.push({
|
|
3206
3206
|
type: K.literal,
|
|
@@ -3209,10 +3209,10 @@ function tt(e, t, r, n, i, o, s) {
|
|
|
3209
3209
|
continue;
|
|
3210
3210
|
}
|
|
3211
3211
|
if (Xr(h)) {
|
|
3212
|
-
var M = h.children, d = h.value,
|
|
3213
|
-
if (!Qi(
|
|
3212
|
+
var M = h.children, d = h.value, O = i[d];
|
|
3213
|
+
if (!Qi(O))
|
|
3214
3214
|
throw new Zi(d, "function", s);
|
|
3215
|
-
var I = tt(M, t, r, n, i, o), D =
|
|
3215
|
+
var I = tt(M, t, r, n, i, o), D = O(I.map(function(U) {
|
|
3216
3216
|
return U.value;
|
|
3217
3217
|
}));
|
|
3218
3218
|
Array.isArray(D) || (D = [D]), a.push.apply(a, D.map(function(U) {
|
|
@@ -3223,25 +3223,25 @@ function tt(e, t, r, n, i, o, s) {
|
|
|
3223
3223
|
}));
|
|
3224
3224
|
}
|
|
3225
3225
|
if (zr(h)) {
|
|
3226
|
-
var
|
|
3227
|
-
if (!
|
|
3226
|
+
var A = h.options[y] || h.options.other;
|
|
3227
|
+
if (!A)
|
|
3228
3228
|
throw new ar(h.value, y, Object.keys(h.options), s);
|
|
3229
|
-
a.push.apply(a, tt(
|
|
3229
|
+
a.push.apply(a, tt(A.value, t, r, n, i));
|
|
3230
3230
|
continue;
|
|
3231
3231
|
}
|
|
3232
3232
|
if (Wr(h)) {
|
|
3233
|
-
var
|
|
3234
|
-
if (!
|
|
3233
|
+
var A = h.options["=".concat(y)];
|
|
3234
|
+
if (!A) {
|
|
3235
3235
|
if (!Intl.PluralRules)
|
|
3236
3236
|
throw new ct(`Intl.PluralRules is not available in this environment.
|
|
3237
3237
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3238
3238
|
`, Ce.MISSING_INTL_API, s);
|
|
3239
3239
|
var z = r.getPluralRules(t, { type: h.pluralType }).select(y - (h.offset || 0));
|
|
3240
|
-
|
|
3240
|
+
A = h.options[z] || h.options.other;
|
|
3241
3241
|
}
|
|
3242
|
-
if (!
|
|
3242
|
+
if (!A)
|
|
3243
3243
|
throw new ar(h.value, y, Object.keys(h.options), s);
|
|
3244
|
-
a.push.apply(a, tt(
|
|
3244
|
+
a.push.apply(a, tt(A.value, t, r, n, i, y - (h.offset || 0)));
|
|
3245
3245
|
continue;
|
|
3246
3246
|
}
|
|
3247
3247
|
}
|
|
@@ -3448,13 +3448,13 @@ const ve = {}, no = (e, t, r) => r && (t in ve || (ve[t] = {}), e in ve[t] || (v
|
|
|
3448
3448
|
return no(e, t, o);
|
|
3449
3449
|
}
|
|
3450
3450
|
};
|
|
3451
|
-
let
|
|
3451
|
+
let Gt;
|
|
3452
3452
|
const Xe = We({});
|
|
3453
3453
|
function io(e) {
|
|
3454
|
-
return
|
|
3454
|
+
return Gt[e] || null;
|
|
3455
3455
|
}
|
|
3456
3456
|
function on(e) {
|
|
3457
|
-
return e in
|
|
3457
|
+
return e in Gt;
|
|
3458
3458
|
}
|
|
3459
3459
|
function oo(e, t) {
|
|
3460
3460
|
if (!on(e))
|
|
@@ -3479,7 +3479,7 @@ Ne(
|
|
|
3479
3479
|
[Xe],
|
|
3480
3480
|
([e]) => Object.keys(e)
|
|
3481
3481
|
);
|
|
3482
|
-
Xe.subscribe((e) =>
|
|
3482
|
+
Xe.subscribe((e) => Gt = e);
|
|
3483
3483
|
const rt = {};
|
|
3484
3484
|
function ao(e, t) {
|
|
3485
3485
|
rt[e].delete(t), rt[e].size === 0 && delete rt[e];
|
|
@@ -3670,14 +3670,14 @@ const ze = (e, t) => {
|
|
|
3670
3670
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3671
3671
|
return n && (i = ze("number", n)), new Intl.NumberFormat(r, i);
|
|
3672
3672
|
}
|
|
3673
|
-
),
|
|
3673
|
+
), Ao = ft(
|
|
3674
3674
|
(e) => {
|
|
3675
3675
|
var t = e, { locale: r, format: n } = t, i = Ie(t, ["locale", "format"]);
|
|
3676
3676
|
if (r == null)
|
|
3677
3677
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3678
3678
|
return n ? i = ze("date", n) : Object.keys(i).length === 0 && (i = ze("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3679
3679
|
}
|
|
3680
|
-
),
|
|
3680
|
+
), Ho = ft(
|
|
3681
3681
|
(e) => {
|
|
3682
3682
|
var t = e, { locale: r, format: n } = t, i = Ie(t, ["locale", "format"]);
|
|
3683
3683
|
if (r == null)
|
|
@@ -3686,7 +3686,7 @@ const ze = (e, t) => {
|
|
|
3686
3686
|
);
|
|
3687
3687
|
return n ? i = ze("time", n) : Object.keys(i).length === 0 && (i = ze("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3688
3688
|
}
|
|
3689
|
-
),
|
|
3689
|
+
), Oo = (e = {}) => {
|
|
3690
3690
|
var t = e, {
|
|
3691
3691
|
locale: r = _e()
|
|
3692
3692
|
} = t, n = Ie(t, [
|
|
@@ -3699,14 +3699,14 @@ const ze = (e, t) => {
|
|
|
3699
3699
|
} = t, n = Ie(t, [
|
|
3700
3700
|
"locale"
|
|
3701
3701
|
]);
|
|
3702
|
-
return
|
|
3702
|
+
return Ao(jt({ locale: r }, n));
|
|
3703
3703
|
}, Co = (e = {}) => {
|
|
3704
3704
|
var t = e, {
|
|
3705
3705
|
locale: r = _e()
|
|
3706
3706
|
} = t, n = Ie(t, [
|
|
3707
3707
|
"locale"
|
|
3708
3708
|
]);
|
|
3709
|
-
return
|
|
3709
|
+
return Ho(jt({ locale: r }, n));
|
|
3710
3710
|
}, $o = ft(
|
|
3711
3711
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3712
3712
|
(e, t = _e()) => new rn(e, t, $e().formats, {
|
|
@@ -3744,7 +3744,7 @@ const ze = (e, t) => {
|
|
|
3744
3744
|
);
|
|
3745
3745
|
}
|
|
3746
3746
|
return c;
|
|
3747
|
-
}, No = (e, t) => Co(t).format(e), Io = (e, t) => Lo(t).format(e), Do = (e, t) =>
|
|
3747
|
+
}, No = (e, t) => Co(t).format(e), Io = (e, t) => Lo(t).format(e), Do = (e, t) => Oo(t).format(e), Ro = (e, t = _e()) => nn(e, t), Uo = Ne([xe, Xe], () => Bo);
|
|
3748
3748
|
Ne([xe], () => No);
|
|
3749
3749
|
Ne([xe], () => Io);
|
|
3750
3750
|
Ne([xe], () => Do);
|
|
@@ -3793,15 +3793,51 @@ const dr = {
|
|
|
3793
3793
|
promoLabel: "Recommandé",
|
|
3794
3794
|
otherMethodsTitle: "Toutes les méthodes",
|
|
3795
3795
|
otherMethodsDescription: "Découvrez notre incroyable sélection de produits uniques à ne pas manquer !"
|
|
3796
|
+
},
|
|
3797
|
+
da: {
|
|
3798
|
+
generalMin: "Min",
|
|
3799
|
+
generalMax: "Maks",
|
|
3800
|
+
showAll: "VIS ALLE",
|
|
3801
|
+
showLess: "VIS FÆRRE",
|
|
3802
|
+
error: "Fejl",
|
|
3803
|
+
noPaymentMethods: "Ingen betalingsmetoder tilgængelige",
|
|
3804
|
+
favorite: "Favorit",
|
|
3805
|
+
promoLabel: "Anbefalet",
|
|
3806
|
+
otherMethodsTitle: "Alle metoder",
|
|
3807
|
+
otherMethodsDescription: "Oplev vores utrolige udvalg af unikke produkter, som du ikke vil gå glip af!"
|
|
3808
|
+
},
|
|
3809
|
+
de: {
|
|
3810
|
+
generalMin: "Min",
|
|
3811
|
+
generalMax: "Max",
|
|
3812
|
+
showAll: "ALLE ANZEIGEN",
|
|
3813
|
+
showLess: "WENIGER ANZEIGEN",
|
|
3814
|
+
error: "Fehler",
|
|
3815
|
+
noPaymentMethods: "Keine Zahlungsmethoden verfügbar",
|
|
3816
|
+
favorite: "Favorit",
|
|
3817
|
+
promoLabel: "Empfohlen",
|
|
3818
|
+
otherMethodsTitle: "Alle Methoden",
|
|
3819
|
+
otherMethodsDescription: "Entdecken Sie unsere unglaubliche Auswahl an einzigartigen Produkten, die Sie nicht verpassen möchten!"
|
|
3820
|
+
},
|
|
3821
|
+
nl: {
|
|
3822
|
+
generalMin: "Min",
|
|
3823
|
+
generalMax: "Max",
|
|
3824
|
+
showAll: "ALLES TONEN",
|
|
3825
|
+
showLess: "MINDER TONEN",
|
|
3826
|
+
error: "Fout",
|
|
3827
|
+
noPaymentMethods: "Geen betaalmethoden beschikbaar",
|
|
3828
|
+
favorite: "Favoriet",
|
|
3829
|
+
promoLabel: "Aanbevolen",
|
|
3830
|
+
otherMethodsTitle: "Alle methoden",
|
|
3831
|
+
otherMethodsDescription: "Ontdek onze ongelooflijke selectie van unieke producten die u niet wilt missen!"
|
|
3796
3832
|
}
|
|
3797
|
-
},
|
|
3798
|
-
function
|
|
3833
|
+
}, Ae = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
3834
|
+
function ko(e, t) {
|
|
3799
3835
|
if (e) {
|
|
3800
3836
|
const r = document.createElement("style");
|
|
3801
3837
|
r.innerHTML = t, e.appendChild(r);
|
|
3802
3838
|
}
|
|
3803
3839
|
}
|
|
3804
|
-
function
|
|
3840
|
+
function Go(e, t) {
|
|
3805
3841
|
if (!e || !t)
|
|
3806
3842
|
return;
|
|
3807
3843
|
const r = new URL(t);
|
|
@@ -3817,11 +3853,11 @@ function jo(e, t, r, n = !1) {
|
|
|
3817
3853
|
return;
|
|
3818
3854
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
3819
3855
|
return r = Vo(e, t), r;
|
|
3820
|
-
window[
|
|
3856
|
+
window[Ae] || (window[Ae] = {}), r = zo(e, t);
|
|
3821
3857
|
const o = r.unsubscribe.bind(r), s = () => {
|
|
3822
|
-
if (window[
|
|
3823
|
-
const a = window[
|
|
3824
|
-
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[
|
|
3858
|
+
if (window[Ae][t]) {
|
|
3859
|
+
const a = window[Ae][t];
|
|
3860
|
+
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[Ae][t];
|
|
3825
3861
|
}
|
|
3826
3862
|
o();
|
|
3827
3863
|
};
|
|
@@ -3837,7 +3873,7 @@ function zo(e, t) {
|
|
|
3837
3873
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
3838
3874
|
if (!e)
|
|
3839
3875
|
return;
|
|
3840
|
-
const n = e.getRootNode(), i = window[
|
|
3876
|
+
const n = e.getRootNode(), i = window[Ae];
|
|
3841
3877
|
let o = i[t] && i[t].sheet;
|
|
3842
3878
|
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
3843
3879
|
sheet: o,
|
|
@@ -4367,9 +4403,9 @@ const _r = [], Er = {}, os = (e, t = 0) => {
|
|
|
4367
4403
|
}
|
|
4368
4404
|
return Er[e];
|
|
4369
4405
|
};
|
|
4370
|
-
let it = "en-UK", bn = "true", Fe = 2,
|
|
4406
|
+
let it = "en-UK", bn = "true", Fe = 2, ke = "";
|
|
4371
4407
|
const ss = (e, t, r, n) => {
|
|
4372
|
-
it = e || "en-UK", bn = t || "true", Fe = +n || 0,
|
|
4408
|
+
it = e || "en-UK", bn = t || "true", Fe = +n || 0, ke = r || "";
|
|
4373
4409
|
}, Ke = (e, t, r = {}, n = !0) => {
|
|
4374
4410
|
const i = {
|
|
4375
4411
|
maximumFractionDigits: Fe,
|
|
@@ -4382,17 +4418,17 @@ const ss = (e, t, r, n) => {
|
|
|
4382
4418
|
...r
|
|
4383
4419
|
};
|
|
4384
4420
|
try {
|
|
4385
|
-
if (!
|
|
4421
|
+
if (!ke)
|
|
4386
4422
|
return new Intl.NumberFormat(it, i).format(e);
|
|
4387
4423
|
const s = new Intl.NumberFormat(it, i).formatToParts(e), { currencyPart: a = "", amountPart: l = "" } = s.reduce((h, c) => (c.type === "currency" ? h.currencyPart = c : h.amountPart += c.value, h), { currencyPart: "", amountPart: "" });
|
|
4388
|
-
return
|
|
4424
|
+
return ke === "before" ? `${a || i.currency || ""} ${l}` : `${l} ${a || i.currency || ""}`;
|
|
4389
4425
|
} catch (o) {
|
|
4390
4426
|
console.info(o);
|
|
4391
4427
|
const s = new Intl.NumberFormat(it, {
|
|
4392
4428
|
maximumFractionDigits: Fe,
|
|
4393
4429
|
minimumFractionDigits: Fe
|
|
4394
4430
|
}).format(e);
|
|
4395
|
-
return
|
|
4431
|
+
return ke ? ke === "before" ? `${i.currency || ""} ${s}` : `${s} ${i.currency || ""}` : `${i.currency || ""} ${s}`;
|
|
4396
4432
|
}
|
|
4397
4433
|
};
|
|
4398
4434
|
window.emWidgets = { topic: os };
|
|
@@ -4403,15 +4439,15 @@ var yn = { exports: {} };
|
|
|
4403
4439
|
(function(r, n) {
|
|
4404
4440
|
e.exports = n();
|
|
4405
4441
|
})(Rr, function() {
|
|
4406
|
-
var r = 1e3, n = 6e4, i = 36e5, o = "millisecond", s = "second", a = "minute", l = "hour", u = "day", h = "week", c = "month", y = "quarter", w = "year", M = "date", d = "Invalid Date",
|
|
4442
|
+
var r = 1e3, n = 6e4, i = 36e5, o = "millisecond", s = "second", a = "minute", l = "hour", u = "day", h = "week", c = "month", y = "quarter", w = "year", M = "date", d = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, D = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(E) {
|
|
4407
4443
|
var g = ["th", "st", "nd", "rd"], f = E % 100;
|
|
4408
4444
|
return "[" + E + (g[(f - 20) % 10] || g[f] || g[0]) + "]";
|
|
4409
|
-
} },
|
|
4445
|
+
} }, A = function(E, g, f) {
|
|
4410
4446
|
var b = String(E);
|
|
4411
4447
|
return !b || b.length >= g ? E : "" + Array(g + 1 - b.length).join(f) + E;
|
|
4412
|
-
}, z = { s:
|
|
4448
|
+
}, z = { s: A, z: function(E) {
|
|
4413
4449
|
var g = -E.utcOffset(), f = Math.abs(g), b = Math.floor(f / 60), p = f % 60;
|
|
4414
|
-
return (g <= 0 ? "+" : "-") +
|
|
4450
|
+
return (g <= 0 ? "+" : "-") + A(b, 2, "0") + ":" + A(p, 2, "0");
|
|
4415
4451
|
}, m: function E(g, f) {
|
|
4416
4452
|
if (g.date() < f.date())
|
|
4417
4453
|
return -E(f, g);
|
|
@@ -4466,7 +4502,7 @@ var yn = { exports: {} };
|
|
|
4466
4502
|
if (p instanceof Date)
|
|
4467
4503
|
return new Date(p);
|
|
4468
4504
|
if (typeof p == "string" && !/Z$/i.test(p)) {
|
|
4469
|
-
var _ = p.match(
|
|
4505
|
+
var _ = p.match(O);
|
|
4470
4506
|
if (_) {
|
|
4471
4507
|
var x = _[2] - 1 || 0, N = (_[7] || "0").substring(0, 3);
|
|
4472
4508
|
return v ? new Date(Date.UTC(_[1], x, _[3] || 1, _[4] || 0, _[5] || 0, _[6] || 0, N)) : new Date(_[1], x, _[3] || 1, _[4] || 0, _[5] || 0, _[6] || 0, N);
|
|
@@ -4689,7 +4725,7 @@ var yn = { exports: {} };
|
|
|
4689
4725
|
});
|
|
4690
4726
|
})(yn);
|
|
4691
4727
|
var us = yn.exports;
|
|
4692
|
-
const wr = /* @__PURE__ */
|
|
4728
|
+
const wr = /* @__PURE__ */ kt(us);
|
|
4693
4729
|
var vn = { exports: {} };
|
|
4694
4730
|
(function(e, t) {
|
|
4695
4731
|
(function(r, n) {
|
|
@@ -4699,11 +4735,11 @@ var vn = { exports: {} };
|
|
|
4699
4735
|
return function(o, s, a) {
|
|
4700
4736
|
var l = s.prototype;
|
|
4701
4737
|
a.utc = function(d) {
|
|
4702
|
-
var
|
|
4703
|
-
return new s(
|
|
4738
|
+
var O = { date: d, utc: !0, args: arguments };
|
|
4739
|
+
return new s(O);
|
|
4704
4740
|
}, l.utc = function(d) {
|
|
4705
|
-
var
|
|
4706
|
-
return d ?
|
|
4741
|
+
var O = a(this.toDate(), { locale: this.$L, utc: !0 });
|
|
4742
|
+
return d ? O.add(this.utcOffset(), r) : O;
|
|
4707
4743
|
}, l.local = function() {
|
|
4708
4744
|
return a(this.toDate(), { locale: this.$L, utc: !1 });
|
|
4709
4745
|
};
|
|
@@ -4720,7 +4756,7 @@ var vn = { exports: {} };
|
|
|
4720
4756
|
h.call(this);
|
|
4721
4757
|
};
|
|
4722
4758
|
var c = l.utcOffset;
|
|
4723
|
-
l.utcOffset = function(d,
|
|
4759
|
+
l.utcOffset = function(d, O) {
|
|
4724
4760
|
var I = this.$utils().u;
|
|
4725
4761
|
if (I(d))
|
|
4726
4762
|
return this.$u ? 0 : I(this.$offset) ? c.call(this) : this.$offset;
|
|
@@ -4733,20 +4769,20 @@ var vn = { exports: {} };
|
|
|
4733
4769
|
return W === 0 ? 0 : ee === "+" ? W : -W;
|
|
4734
4770
|
}(d), d === null))
|
|
4735
4771
|
return this;
|
|
4736
|
-
var D = Math.abs(d) <= 16 ? 60 * d : d,
|
|
4737
|
-
if (
|
|
4738
|
-
return
|
|
4772
|
+
var D = Math.abs(d) <= 16 ? 60 * d : d, A = this;
|
|
4773
|
+
if (O)
|
|
4774
|
+
return A.$offset = D, A.$u = d === 0, A;
|
|
4739
4775
|
if (d !== 0) {
|
|
4740
4776
|
var z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4741
|
-
(
|
|
4777
|
+
(A = this.local().add(D + z, r)).$offset = D, A.$x.$localOffset = z;
|
|
4742
4778
|
} else
|
|
4743
|
-
|
|
4744
|
-
return
|
|
4779
|
+
A = this.utc();
|
|
4780
|
+
return A;
|
|
4745
4781
|
};
|
|
4746
4782
|
var y = l.format;
|
|
4747
4783
|
l.format = function(d) {
|
|
4748
|
-
var
|
|
4749
|
-
return y.call(this,
|
|
4784
|
+
var O = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
4785
|
+
return y.call(this, O);
|
|
4750
4786
|
}, l.valueOf = function() {
|
|
4751
4787
|
var d = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
4752
4788
|
return this.$d.valueOf() - 6e4 * d;
|
|
@@ -4762,20 +4798,20 @@ var vn = { exports: {} };
|
|
|
4762
4798
|
return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : w.call(this);
|
|
4763
4799
|
};
|
|
4764
4800
|
var M = l.diff;
|
|
4765
|
-
l.diff = function(d,
|
|
4801
|
+
l.diff = function(d, O, I) {
|
|
4766
4802
|
if (d && this.$u === d.$u)
|
|
4767
|
-
return M.call(this, d,
|
|
4768
|
-
var D = this.local(),
|
|
4769
|
-
return M.call(D,
|
|
4803
|
+
return M.call(this, d, O, I);
|
|
4804
|
+
var D = this.local(), A = a(d).local();
|
|
4805
|
+
return M.call(D, A, O, I);
|
|
4770
4806
|
};
|
|
4771
4807
|
};
|
|
4772
4808
|
});
|
|
4773
4809
|
})(vn);
|
|
4774
4810
|
var ls = vn.exports;
|
|
4775
|
-
const hs = /* @__PURE__ */
|
|
4811
|
+
const hs = /* @__PURE__ */ kt(ls);
|
|
4776
4812
|
let xr = We(null);
|
|
4777
4813
|
function cs(e) {
|
|
4778
|
-
|
|
4814
|
+
An(e, "svelte-njj9wo", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;max-width:100%;gap:5px;margin:10px}.SelectorWrapper{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;cursor:pointer;position:relative;box-sizing:border-box;padding:5px 0;border-radius:10px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);overflow:hidden;z-index:1;transition:transform 0.3s ease-in-out}.SelectorWrapper:hover{box-shadow:inset 0px 0px 7px var(--emw--color-primary);transform:scale(1.02)}.SelectorWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CashierMethodListWidget{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));height:100%;padding-bottom:20px}.MethodsListDescription{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:10px}.MethodsListDescription h3{font-size:12px;text-transform:uppercase;margin:10px 0}.MethodsListDescription p{color:white;opacity:0.55;font-size:12px}.MethodLogo{margin:5px}.MethodLogo img{width:100%;height:100%;max-height:22px}.MethodPromoLabel{background:var(--emw--color-button-background, #f1f3ff);color:var(--emw--color-primary, #f9c405);font-size:14px;font-weight:700;text-transform:uppercase;padding:5px 10px;min-width:100px;border-radius:10px;margin:10px;text-align:center}.MethodInfo{width:100%;height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start}.MethodTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));margin:5px;word-break:break-word;font-weight:var(--emw--font-weight-bold, 700);line-height:10px}.MethodLimits{word-break:break-word;margin:5px}.Limits{max-width:100%;font-weight:var(--emw--font-weight-normal, 300);font-style:normal;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.7}.MethodFavorite{font-size:var(--emw--font-size-x-small, 8px);color:var(--emw--color-typography, #fff);background-color:var(--emw--color-red, red);border-radius:15px;margin:0 5px;line-height:10px;height:16px}.MethodFavorite p{padding:3px}.PaymentProcessing{padding:5px;color:var(--emw--color-primary, #ffce00);font-style:italic;font-size:var(--emw--font-size-small, 12px)}@media(min-width: 499px){.MethodLogo{margin:5px}.MethodLogo img{width:100%;height:100%;max-height:36px}.SelectorWrapper{padding:10px}.MethodTitle{font-size:var(--emw--font-size-medium, 12px)}.Limits{font-size:var(--emw--font-size-small, 10px)}}@media(max-width: 500px){.PaymentProcessing{font-size:var(--emw--font-size-x-small, 8px)}.MethodTitle{font-size:var(--emw--font-size-small, 10px)}.Limits{font-size:var(--emw--font-size-x-small, 8px)}}.EmptyContentMessageWrapper{position:relative;display:flex;justify-content:flex-end}.EmptyContentMessageContent{display:flex;flex-direction:column;row-gap:var(--emw--spacing-small, 12px);bottom:10%}.EmptyContentMessageImg{width:250px}.EmptyContentMessageImg img{border-radius:0 0 var(--emw--border-radius-medium-plus, 6px) 0;height:100%;width:100%}.EmptyContentMessageTitle{font-size:var(--emw--font-size-medium, 20px);font-weight:var(--emw--font-weight-bold, 800);line-height:calc(var(--emw--font-size-medium, 16px) + 4px);color:var(--emw--color-primary);text-transform:uppercase}.EmptyContentMessageText{word-break:break-word;font-size:var(--emw--font-size-small, 14px);line-height:calc(var(--emw--font-size-medium, 16px) + 4px);color:var(--emw--color-typography, #fff)}.EmptyContentMessageDesktop{justify-content:flex-start}.EmptyContentMessageDesktop .EmptyContentMessageContent{bottom:auto;margin-top:10px}.EmptyContentMessageDesktop .EmptyContentMessageImg{width:auto}.EmptyContentMessageDesktop .EmptyContentMessageImg img{transform:scaleX(-1)}.IconWarning{width:30px;display:flex}.IconWarning svg{height:18px;fill:var(--emw--color-warning, rgb(250, 146, 0))}.ShowAllButton{cursor:pointer;color:var(--emw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #f7f8fa);line-height:normal;border:1px solid var(--emw--color-grey-105, #e8e9eb);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}.ErrorMessage{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}');
|
|
4779
4815
|
}
|
|
4780
4816
|
function Sr(e, t, r) {
|
|
4781
4817
|
const n = e.slice();
|
|
@@ -4845,7 +4881,7 @@ function fs(e) {
|
|
|
4845
4881
|
e[11]
|
|
4846
4882
|
), n = [];
|
|
4847
4883
|
for (let i = 0; i < r.length; i += 1)
|
|
4848
|
-
n[i] =
|
|
4884
|
+
n[i] = Or(Sr(e, r, i));
|
|
4849
4885
|
return {
|
|
4850
4886
|
c() {
|
|
4851
4887
|
for (let i = 0; i < n.length; i += 1)
|
|
@@ -4867,7 +4903,7 @@ function fs(e) {
|
|
|
4867
4903
|
let s;
|
|
4868
4904
|
for (s = 0; s < r.length; s += 1) {
|
|
4869
4905
|
const a = Sr(i, r, s);
|
|
4870
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4906
|
+
n[s] ? n[s].p(a, o) : (n[s] = Or(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4871
4907
|
}
|
|
4872
4908
|
for (; s < n.length; s += 1)
|
|
4873
4909
|
n[s].d(1);
|
|
@@ -4939,7 +4975,7 @@ function Pr(e) {
|
|
|
4939
4975
|
}
|
|
4940
4976
|
};
|
|
4941
4977
|
}
|
|
4942
|
-
function
|
|
4978
|
+
function Ar(e) {
|
|
4943
4979
|
let t, r = (
|
|
4944
4980
|
/*$_*/
|
|
4945
4981
|
e[17](`${/*type*/
|
|
@@ -4965,7 +5001,7 @@ function Hr(e) {
|
|
|
4965
5001
|
}
|
|
4966
5002
|
};
|
|
4967
5003
|
}
|
|
4968
|
-
function
|
|
5004
|
+
function Hr(e) {
|
|
4969
5005
|
let t, r = (
|
|
4970
5006
|
/*$_*/
|
|
4971
5007
|
e[17](`${/*type*/
|
|
@@ -4991,12 +5027,12 @@ function Or(e) {
|
|
|
4991
5027
|
}
|
|
4992
5028
|
};
|
|
4993
5029
|
}
|
|
4994
|
-
function
|
|
5030
|
+
function Or(e) {
|
|
4995
5031
|
let t, r, n, i, o, s, a, l, u, h, c, y = (
|
|
4996
5032
|
/*payMeth*/
|
|
4997
5033
|
(e[58].Label || /*payMeth*/
|
|
4998
5034
|
e[58].Name) + ""
|
|
4999
|
-
), w, M, d,
|
|
5035
|
+
), w, M, d, O, I, D, A = (
|
|
5000
5036
|
/*$_*/
|
|
5001
5037
|
e[17]("generalMin") + ""
|
|
5002
5038
|
), z, U, F = Ke(
|
|
@@ -5052,9 +5088,9 @@ function Ar(e) {
|
|
|
5052
5088
|
/*payMeth*/
|
|
5053
5089
|
e[58].isMethodPromoted && Pr(e)
|
|
5054
5090
|
), _ = !/*desktopView*/
|
|
5055
|
-
e[13] &&
|
|
5091
|
+
e[13] && Ar(e), x = (
|
|
5056
5092
|
/*desktopView*/
|
|
5057
|
-
e[13] &&
|
|
5093
|
+
e[13] && Hr(e)
|
|
5058
5094
|
);
|
|
5059
5095
|
function N() {
|
|
5060
5096
|
return (
|
|
@@ -5067,13 +5103,13 @@ function Ar(e) {
|
|
|
5067
5103
|
}
|
|
5068
5104
|
return {
|
|
5069
5105
|
c() {
|
|
5070
|
-
t = C("div"), r = C("div"), n = C("img"), s = re(), a = C("div"), v && v.c(), l = re(), u = C("div"), h = C("div"), c = C("span"), w = J(y), M = re(), _ && _.c(), d = re(),
|
|
5106
|
+
t = C("div"), r = C("div"), n = C("img"), s = re(), a = C("div"), v && v.c(), l = re(), u = C("div"), h = C("div"), c = C("span"), w = J(y), M = re(), _ && _.c(), d = re(), O = C("div"), I = C("span"), D = C("p"), z = J(A), U = re(), X = J(F), ee = re(), W = C("p"), T = J(B), ce = re(), E = J(fe), g = re(), x && x.c(), f = re(), Zt(n.src, i = /*payMeth*/
|
|
5071
5107
|
e[58].LogoRelativeUrl ? `${window.origin}${/*payMeth*/
|
|
5072
5108
|
e[58].LogoRelativeUrl}` : (
|
|
5073
5109
|
/*payMeth*/
|
|
5074
5110
|
e[58].LogoUrl
|
|
5075
5111
|
)) || R(n, "src", i), R(n, "alt", o = /*payMeth*/
|
|
5076
|
-
e[58].Label), R(r, "class", "MethodLogo"), R(a, "class", "MethodFavorite"), R(h, "class", "MethodTitle"), R(I, "class", "Limits"), R(
|
|
5112
|
+
e[58].Label), R(r, "class", "MethodLogo"), R(a, "class", "MethodFavorite"), R(h, "class", "MethodTitle"), R(I, "class", "Limits"), R(O, "class", "MethodLimits"), R(u, "class", "MethodInfo"), R(t, "class", "SelectorWrapper"), ot(
|
|
5077
5113
|
t,
|
|
5078
5114
|
"checked",
|
|
5079
5115
|
/*selectedPaymentMethod*/
|
|
@@ -5082,7 +5118,7 @@ function Ar(e) {
|
|
|
5082
5118
|
);
|
|
5083
5119
|
},
|
|
5084
5120
|
m($, L) {
|
|
5085
|
-
se($, t, L), S(t, r), S(r, n), S(t, s), S(t, a), v && v.m(a, null), S(t, l), S(t, u), S(u, h), S(h, c), S(c, w), S(u, M), _ && _.m(u, null), S(u, d), S(u,
|
|
5121
|
+
se($, t, L), S(t, r), S(r, n), S(t, s), S(t, a), v && v.m(a, null), S(t, l), S(t, u), S(u, h), S(h, c), S(c, w), S(u, M), _ && _.m(u, null), S(u, d), S(u, O), S(O, I), S(I, D), S(D, z), S(D, U), S(D, X), S(I, ee), S(I, W), S(W, T), S(W, ce), S(W, E), S(u, g), x && x.m(u, null), S(t, f), b || (p = [
|
|
5086
5122
|
wt(t, "click", N),
|
|
5087
5123
|
wt(t, "keyup", gs)
|
|
5088
5124
|
], b = !0);
|
|
@@ -5101,9 +5137,9 @@ function Ar(e) {
|
|
|
5101
5137
|
2048 && y !== (y = /*payMeth*/
|
|
5102
5138
|
(e[58].Label || /*payMeth*/
|
|
5103
5139
|
e[58].Name) + "") && ne(w, y), /*desktopView*/
|
|
5104
|
-
e[13] ? _ && (_.d(1), _ = null) : _ ? _.p(e, L) : (_ =
|
|
5105
|
-
131072 &&
|
|
5106
|
-
e[17]("generalMin") + "") && ne(z,
|
|
5140
|
+
e[13] ? _ && (_.d(1), _ = null) : _ ? _.p(e, L) : (_ = Ar(e), _.c(), _.m(u, d)), L[0] & /*$_*/
|
|
5141
|
+
131072 && A !== (A = /*$_*/
|
|
5142
|
+
e[17]("generalMin") + "") && ne(z, A), L[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
5107
5143
|
67840 && F !== (F = Ke(
|
|
5108
5144
|
/*payMeth*/
|
|
5109
5145
|
e[58].DisplayCurrency.MinAmountLimit,
|
|
@@ -5154,7 +5190,7 @@ function Ar(e) {
|
|
|
5154
5190
|
)
|
|
5155
5191
|
}
|
|
5156
5192
|
) + "") && ne(E, fe), /*desktopView*/
|
|
5157
|
-
e[13] ? x ? x.p(e, L) : (x =
|
|
5193
|
+
e[13] ? x ? x.p(e, L) : (x = Hr(e), x.c(), x.m(u, null)) : x && (x.d(1), x = null), L[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
|
|
5158
5194
|
2560 && ot(
|
|
5159
5195
|
t,
|
|
5160
5196
|
"checked",
|
|
@@ -5321,7 +5357,7 @@ const ps = "PaymentPromotion", gs = () => {
|
|
|
5321
5357
|
function bs(e, t, r) {
|
|
5322
5358
|
let n, i, o;
|
|
5323
5359
|
Jt(e, Uo, (m) => r(17, i = m)), Jt(e, xr, (m) => r(42, o = m)), wr.extend(hs);
|
|
5324
|
-
let { lang: s = "en" } = t, { local: a = "en-US" } = t, { endpoint: l } = t, { paymentsession: u } = t, { playersession: h } = t, { customerid: c } = t, { assetsurl: y } = t, { currency: w } = t, { numberofmethodsshown: M } = t, { translationurl: d = "" } = t, { mbsource:
|
|
5360
|
+
let { lang: s = "en" } = t, { local: a = "en-US" } = t, { endpoint: l } = t, { paymentsession: u } = t, { playersession: h } = t, { customerid: c } = t, { assetsurl: y } = t, { currency: w } = t, { numberofmethodsshown: M } = t, { translationurl: d = "" } = t, { mbsource: O } = t, { clientstyling: I } = t, { clientstylingurl: D } = t, { currencydecimals: A = "0" } = t, { currencysymbol: z = "" } = t, { currencyposition: U = "" } = t, { promotedmethods: F = "false" } = t, { type: X } = t, { userroles: ee = "" } = t, W, B = {}, T, ce, fe = window.navigator.userAgent, E = [], g, f = "", b = [], p = [], v = "", _, x = !0, N = !1, $ = !1, L = [];
|
|
5325
5361
|
var Y;
|
|
5326
5362
|
(function(m) {
|
|
5327
5363
|
m.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", m.Success = "Success", m.JwtTokenError = "JwtTokenError";
|
|
@@ -5442,7 +5478,7 @@ function bs(e, t, r) {
|
|
|
5442
5478
|
}, xn = () => {
|
|
5443
5479
|
ee.length > 0 && (L = ee.split(","));
|
|
5444
5480
|
};
|
|
5445
|
-
Nn(() => (_n(), ss(a, z, U,
|
|
5481
|
+
Nn(() => (_n(), ss(a, z, U, A), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", Wt), () => {
|
|
5446
5482
|
window.removeEventListener("message", Wt);
|
|
5447
5483
|
}));
|
|
5448
5484
|
const Sn = (m) => ye(m), Mn = () => Vt();
|
|
@@ -5452,22 +5488,22 @@ function bs(e, t, r) {
|
|
|
5452
5488
|
});
|
|
5453
5489
|
}
|
|
5454
5490
|
return e.$$set = (m) => {
|
|
5455
|
-
"lang" in m && r(0, s = m.lang), "local" in m && r(20, a = m.local), "endpoint" in m && r(21, l = m.endpoint), "paymentsession" in m && r(22, u = m.paymentsession), "playersession" in m && r(23, h = m.playersession), "customerid" in m && r(24, c = m.customerid), "assetsurl" in m && r(1, y = m.assetsurl), "currency" in m && r(25, w = m.currency), "numberofmethodsshown" in m && r(26, M = m.numberofmethodsshown), "translationurl" in m && r(2, d = m.translationurl), "mbsource" in m && r(3,
|
|
5491
|
+
"lang" in m && r(0, s = m.lang), "local" in m && r(20, a = m.local), "endpoint" in m && r(21, l = m.endpoint), "paymentsession" in m && r(22, u = m.paymentsession), "playersession" in m && r(23, h = m.playersession), "customerid" in m && r(24, c = m.customerid), "assetsurl" in m && r(1, y = m.assetsurl), "currency" in m && r(25, w = m.currency), "numberofmethodsshown" in m && r(26, M = m.numberofmethodsshown), "translationurl" in m && r(2, d = m.translationurl), "mbsource" in m && r(3, O = m.mbsource), "clientstyling" in m && r(4, I = m.clientstyling), "clientstylingurl" in m && r(5, D = m.clientstylingurl), "currencydecimals" in m && r(27, A = m.currencydecimals), "currencysymbol" in m && r(28, z = m.currencysymbol), "currencyposition" in m && r(29, U = m.currencyposition), "promotedmethods" in m && r(30, F = m.promotedmethods), "type" in m && r(6, X = m.type), "userroles" in m && r(31, ee = m.userroles);
|
|
5456
5492
|
}, e.$$.update = () => {
|
|
5457
5493
|
e.$$.dirty[1] & /*userroles*/
|
|
5458
5494
|
1 && ee && xn(), e.$$.dirty[0] & /*endpoint, paymentsession, customerid, currency*/
|
|
5459
5495
|
56623104 && l && !u && c && Ee({ currency: w }), e.$$.dirty[0] & /*lang*/
|
|
5460
5496
|
1 && s && me(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5461
|
-
144 && I && T &&
|
|
5462
|
-
160 && D && T &&
|
|
5463
|
-
136 &&
|
|
5497
|
+
144 && I && T && ko(T, I), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5498
|
+
160 && D && T && Go(T, D), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5499
|
+
136 && O && T && jo(T, `${O}.Style`, ce), e.$$.dirty[0] & /*lang, translationurl*/
|
|
5464
5500
|
5 && s && d && be(), e.$$.dirty[0] & /*currencydecimals*/
|
|
5465
|
-
134217728 && r(16, n = Number(
|
|
5501
|
+
134217728 && r(16, n = Number(A));
|
|
5466
5502
|
}, [
|
|
5467
5503
|
s,
|
|
5468
5504
|
y,
|
|
5469
5505
|
d,
|
|
5470
|
-
|
|
5506
|
+
O,
|
|
5471
5507
|
I,
|
|
5472
5508
|
D,
|
|
5473
5509
|
X,
|
|
@@ -5491,7 +5527,7 @@ function bs(e, t, r) {
|
|
|
5491
5527
|
c,
|
|
5492
5528
|
w,
|
|
5493
5529
|
M,
|
|
5494
|
-
|
|
5530
|
+
A,
|
|
5495
5531
|
z,
|
|
5496
5532
|
U,
|
|
5497
5533
|
F,
|