@everymatrix/cashier-iframe-redirect 1.74.7 → 1.74.10
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/CashierHeader-BEHMHJL-.cjs +18 -0
- package/components/{CashierHeader-DjdNN8dr.js → CashierHeader-D-MmeP6r.js} +276 -274
- package/components/{CashierHeader-BdlgQxeq.js → CashierHeader-HKFANYfC.js} +426 -424
- package/components/{CashierIframeRedirect-DzKrVC1W.js → CashierIframeRedirect-BLi8tzxq.js} +7 -7
- package/components/{CashierIframeRedirect-DdxT6W0J.js → CashierIframeRedirect-CT7z_d8o.js} +7 -7
- package/components/{CashierIframeRedirect-BO2snwWb.cjs → CashierIframeRedirect-CYsB2y28.cjs} +1 -1
- package/components/{CashierSpinner-2Ixyimor.js → CashierSpinner-BQHFuc1O.js} +5 -5
- package/components/{CashierSpinner-CR1AP65q.js → CashierSpinner-BSiTSZKj.js} +5 -5
- package/components/{CashierSpinner-DXsFc8Xm.cjs → CashierSpinner-i5zpty0N.cjs} +1 -1
- package/es2015/cashier-iframe-redirect.cjs +1 -1
- package/es2015/cashier-iframe-redirect.js +1 -1
- package/esnext/cashier-iframe-redirect.js +1 -1
- package/package.json +1 -1
- package/components/CashierHeader-DA2pPhHF.cjs +0 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function B() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Kt(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,29 +8,29 @@ function er(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function _t(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function Ze() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
17
|
function ee(e) {
|
|
18
|
-
e.forEach(
|
|
18
|
+
e.forEach(_t);
|
|
19
19
|
}
|
|
20
20
|
function je(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function yt(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
26
|
let ie;
|
|
27
27
|
function Si(e, t) {
|
|
28
28
|
return e === t ? !0 : (ie || (ie = document.createElement("a")), ie.href = t, e === ie.href);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function er(e) {
|
|
31
31
|
return Object.keys(e).length === 0;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function xt(e, ...t) {
|
|
34
34
|
if (e == null) {
|
|
35
35
|
for (const n of t)
|
|
36
36
|
n(void 0);
|
|
@@ -39,17 +39,17 @@ function Et(e, ...t) {
|
|
|
39
39
|
const r = e.subscribe(...t);
|
|
40
40
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
e.$$.on_destroy.push(
|
|
42
|
+
function tr(e, t, r) {
|
|
43
|
+
e.$$.on_destroy.push(xt(t, r));
|
|
44
44
|
}
|
|
45
45
|
function ye(e, t, r, n) {
|
|
46
46
|
if (e) {
|
|
47
|
-
const i =
|
|
47
|
+
const i = Et(e, t, r, n);
|
|
48
48
|
return e[0](i);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return e[1] && n ?
|
|
51
|
+
function Et(e, t, r, n) {
|
|
52
|
+
return e[1] && n ? Kt(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
53
53
|
}
|
|
54
54
|
function xe(e, t, r, n) {
|
|
55
55
|
if (e[2] && n) {
|
|
@@ -68,7 +68,7 @@ function xe(e, t, r, n) {
|
|
|
68
68
|
}
|
|
69
69
|
function Ee(e, t, r, n, i, s) {
|
|
70
70
|
if (i) {
|
|
71
|
-
const u =
|
|
71
|
+
const u = Et(t, r, n, s);
|
|
72
72
|
e.p(u, i);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -84,14 +84,14 @@ function ve(e) {
|
|
|
84
84
|
function fe(e, t) {
|
|
85
85
|
e.appendChild(t);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
const n =
|
|
87
|
+
function rr(e, t, r) {
|
|
88
|
+
const n = nr(e);
|
|
89
89
|
if (!n.getElementById(t)) {
|
|
90
90
|
const i = V("style");
|
|
91
|
-
i.id = t, i.textContent = r,
|
|
91
|
+
i.id = t, i.textContent = r, ir(n, i);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function nr(e) {
|
|
95
95
|
if (!e)
|
|
96
96
|
return document;
|
|
97
97
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -101,7 +101,7 @@ function ir(e) {
|
|
|
101
101
|
t
|
|
102
102
|
) : e.ownerDocument;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function ir(e, t) {
|
|
105
105
|
return fe(
|
|
106
106
|
/** @type {Document} */
|
|
107
107
|
e.head || e,
|
|
@@ -120,13 +120,13 @@ function V(e) {
|
|
|
120
120
|
function ke(e) {
|
|
121
121
|
return document.createTextNode(e);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Qe() {
|
|
124
124
|
return ke(" ");
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function vt() {
|
|
127
127
|
return ke("");
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Ht(e, t, r, n) {
|
|
130
130
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
131
131
|
}
|
|
132
132
|
function X(e, t, r) {
|
|
@@ -136,14 +136,14 @@ function Ai(e, t, r) {
|
|
|
136
136
|
const n = t.toLowerCase();
|
|
137
137
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : X(e, t, r);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function sr(e) {
|
|
140
140
|
return Array.from(e.childNodes);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function or(e, t) {
|
|
143
143
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
144
144
|
t);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function ar(e) {
|
|
147
147
|
const t = {};
|
|
148
148
|
return e.childNodes.forEach(
|
|
149
149
|
/** @param {Element} node */
|
|
@@ -156,20 +156,20 @@ let J;
|
|
|
156
156
|
function q(e) {
|
|
157
157
|
J = e;
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function ur() {
|
|
160
160
|
if (!J)
|
|
161
161
|
throw new Error("Function called outside component initialization");
|
|
162
162
|
return J;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
165
|
-
|
|
164
|
+
function hr(e) {
|
|
165
|
+
ur().$$.on_mount.push(e);
|
|
166
166
|
}
|
|
167
167
|
const U = [], Pe = [];
|
|
168
168
|
let D = [];
|
|
169
|
-
const
|
|
169
|
+
const qe = [], lr = /* @__PURE__ */ Promise.resolve();
|
|
170
170
|
let Le = !1;
|
|
171
|
-
function
|
|
172
|
-
Le || (Le = !0,
|
|
171
|
+
function fr() {
|
|
172
|
+
Le || (Le = !0, lr.then(T));
|
|
173
173
|
}
|
|
174
174
|
function Ne(e) {
|
|
175
175
|
D.push(e);
|
|
@@ -184,7 +184,7 @@ function T() {
|
|
|
184
184
|
try {
|
|
185
185
|
for (; $ < U.length; ) {
|
|
186
186
|
const t = U[$];
|
|
187
|
-
$++, q(t),
|
|
187
|
+
$++, q(t), cr(t.$$);
|
|
188
188
|
}
|
|
189
189
|
} catch (t) {
|
|
190
190
|
throw U.length = 0, $ = 0, t;
|
|
@@ -197,23 +197,23 @@ function T() {
|
|
|
197
197
|
}
|
|
198
198
|
D.length = 0;
|
|
199
199
|
} while (U.length);
|
|
200
|
-
for (;
|
|
201
|
-
|
|
200
|
+
for (; qe.length; )
|
|
201
|
+
qe.pop()();
|
|
202
202
|
Le = !1, He.clear(), q(e);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function cr(e) {
|
|
205
205
|
if (e.fragment !== null) {
|
|
206
206
|
e.update(), ee(e.before_update);
|
|
207
207
|
const t = e.dirty;
|
|
208
208
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function mr(e) {
|
|
212
212
|
const t = [], r = [];
|
|
213
213
|
D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
|
|
214
214
|
}
|
|
215
215
|
const oe = /* @__PURE__ */ new Set();
|
|
216
|
-
let
|
|
216
|
+
let dr;
|
|
217
217
|
function ae(e, t) {
|
|
218
218
|
e && e.i && (oe.delete(e), e.i(t));
|
|
219
219
|
}
|
|
@@ -221,26 +221,26 @@ function Be(e, t, r, n) {
|
|
|
221
221
|
if (e && e.o) {
|
|
222
222
|
if (oe.has(e))
|
|
223
223
|
return;
|
|
224
|
-
oe.add(e),
|
|
224
|
+
oe.add(e), dr.c.push(() => {
|
|
225
225
|
oe.delete(e);
|
|
226
226
|
}), e.o(t);
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function br(e, t, r) {
|
|
230
230
|
const { fragment: n, after_update: i } = e.$$;
|
|
231
231
|
n && n.m(t, r), Ne(() => {
|
|
232
|
-
const s = e.$$.on_mount.map(
|
|
232
|
+
const s = e.$$.on_mount.map(_t).filter(je);
|
|
233
233
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
|
|
234
234
|
}), i.forEach(Ne);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function pr(e, t) {
|
|
237
237
|
const r = e.$$;
|
|
238
|
-
r.fragment !== null && (
|
|
238
|
+
r.fragment !== null && (mr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
239
239
|
}
|
|
240
|
-
function
|
|
241
|
-
e.$$.dirty[0] === -1 && (U.push(e),
|
|
240
|
+
function gr(e, t) {
|
|
241
|
+
e.$$.dirty[0] === -1 && (U.push(e), fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function _r(e, t, r, n, i, s, u = null, o = [-1]) {
|
|
244
244
|
const l = J;
|
|
245
245
|
q(e);
|
|
246
246
|
const a = e.$$ = {
|
|
@@ -250,7 +250,7 @@ function yr(e, t, r, n, i, s, u = null, o = [-1]) {
|
|
|
250
250
|
props: s,
|
|
251
251
|
update: B,
|
|
252
252
|
not_equal: i,
|
|
253
|
-
bound:
|
|
253
|
+
bound: Ze(),
|
|
254
254
|
// lifecycle
|
|
255
255
|
on_mount: [],
|
|
256
256
|
on_destroy: [],
|
|
@@ -259,7 +259,7 @@ function yr(e, t, r, n, i, s, u = null, o = [-1]) {
|
|
|
259
259
|
after_update: [],
|
|
260
260
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
261
261
|
// everything else
|
|
262
|
-
callbacks:
|
|
262
|
+
callbacks: Ze(),
|
|
263
263
|
dirty: o,
|
|
264
264
|
skip_bound: !1,
|
|
265
265
|
root: t.target || l.$$.root
|
|
@@ -268,19 +268,19 @@ function yr(e, t, r, n, i, s, u = null, o = [-1]) {
|
|
|
268
268
|
let h = !1;
|
|
269
269
|
if (a.ctx = r ? r(e, t.props || {}, (c, m, ...d) => {
|
|
270
270
|
const f = d.length ? d[0] : m;
|
|
271
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] = f) && (!a.skip_bound && a.bound[c] && a.bound[c](f), h &&
|
|
271
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = f) && (!a.skip_bound && a.bound[c] && a.bound[c](f), h && gr(e, c)), m;
|
|
272
272
|
}) : [], a.update(), h = !0, ee(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
273
273
|
if (t.hydrate) {
|
|
274
|
-
const c =
|
|
274
|
+
const c = sr(t.target);
|
|
275
275
|
a.fragment && a.fragment.l(c), c.forEach(C);
|
|
276
276
|
} else
|
|
277
277
|
a.fragment && a.fragment.c();
|
|
278
|
-
t.intro && ae(e.$$.fragment),
|
|
278
|
+
t.intro && ae(e.$$.fragment), br(e, t.target, t.anchor), T();
|
|
279
279
|
}
|
|
280
280
|
q(l);
|
|
281
281
|
}
|
|
282
|
-
let
|
|
283
|
-
typeof HTMLElement == "function" && (
|
|
282
|
+
let Bt;
|
|
283
|
+
typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
284
284
|
/** The Svelte component constructor */
|
|
285
285
|
$$ctor;
|
|
286
286
|
/** Slots */
|
|
@@ -339,7 +339,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
339
339
|
};
|
|
340
340
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
341
341
|
return;
|
|
342
|
-
const t = {}, r =
|
|
342
|
+
const t = {}, r = ar(this);
|
|
343
343
|
for (const i of this.$$s)
|
|
344
344
|
i in r && (t[i] = [e(i)]);
|
|
345
345
|
for (const i of this.attributes) {
|
|
@@ -426,8 +426,8 @@ function ue(e, t, r, n) {
|
|
|
426
426
|
return t;
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
|
-
function
|
|
430
|
-
let u = class extends
|
|
429
|
+
function yr(e, t, r, n, i, s) {
|
|
430
|
+
let u = class extends Bt {
|
|
431
431
|
constructor() {
|
|
432
432
|
super(e, r, i), this.$$p_d = t;
|
|
433
433
|
}
|
|
@@ -455,7 +455,7 @@ function xr(e, t, r, n, i, s) {
|
|
|
455
455
|
}), e.element = /** @type {any} */
|
|
456
456
|
u, u;
|
|
457
457
|
}
|
|
458
|
-
class
|
|
458
|
+
class xr {
|
|
459
459
|
/**
|
|
460
460
|
* ### PRIVATE API
|
|
461
461
|
*
|
|
@@ -474,7 +474,7 @@ class Er {
|
|
|
474
474
|
$$set = void 0;
|
|
475
475
|
/** @returns {void} */
|
|
476
476
|
$destroy() {
|
|
477
|
-
|
|
477
|
+
pr(this, 1), this.$destroy = B;
|
|
478
478
|
}
|
|
479
479
|
/**
|
|
480
480
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -496,13 +496,13 @@ class Er {
|
|
|
496
496
|
* @returns {void}
|
|
497
497
|
*/
|
|
498
498
|
$set(t) {
|
|
499
|
-
this.$$set && !
|
|
499
|
+
this.$$set && !er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
const
|
|
503
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
502
|
+
const Er = "4";
|
|
503
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
|
|
504
504
|
const R = [];
|
|
505
|
-
function
|
|
505
|
+
function vr(e, t) {
|
|
506
506
|
return {
|
|
507
507
|
subscribe: be(e, t).subscribe
|
|
508
508
|
};
|
|
@@ -511,7 +511,7 @@ function be(e, t = B) {
|
|
|
511
511
|
let r;
|
|
512
512
|
const n = /* @__PURE__ */ new Set();
|
|
513
513
|
function i(o) {
|
|
514
|
-
if (
|
|
514
|
+
if (yt(e, o) && (e = o, r)) {
|
|
515
515
|
const l = !R.length;
|
|
516
516
|
for (const a of n)
|
|
517
517
|
a[1](), R.push(a, e);
|
|
@@ -538,7 +538,7 @@ function z(e, t, r) {
|
|
|
538
538
|
if (!i.every(Boolean))
|
|
539
539
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
540
540
|
const s = t.length < 2;
|
|
541
|
-
return
|
|
541
|
+
return vr(r, (u, o) => {
|
|
542
542
|
let l = !1;
|
|
543
543
|
const a = [];
|
|
544
544
|
let h = 0, c = B;
|
|
@@ -549,7 +549,7 @@ function z(e, t, r) {
|
|
|
549
549
|
const f = t(n ? a[0] : a, u, o);
|
|
550
550
|
s ? u(f) : c = je(f) ? f : B;
|
|
551
551
|
}, d = i.map(
|
|
552
|
-
(f, _) =>
|
|
552
|
+
(f, _) => xt(
|
|
553
553
|
f,
|
|
554
554
|
(v) => {
|
|
555
555
|
a[_] = v, h &= ~(1 << _), l && m();
|
|
@@ -564,70 +564,70 @@ function z(e, t, r) {
|
|
|
564
564
|
};
|
|
565
565
|
});
|
|
566
566
|
}
|
|
567
|
-
function
|
|
568
|
-
return e
|
|
567
|
+
function Hr(e) {
|
|
568
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
569
569
|
}
|
|
570
|
-
var
|
|
571
|
-
return
|
|
570
|
+
var Br = function(t) {
|
|
571
|
+
return Tr(t) && !wr(t);
|
|
572
572
|
};
|
|
573
|
-
function
|
|
573
|
+
function Tr(e) {
|
|
574
574
|
return !!e && typeof e == "object";
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function wr(e) {
|
|
577
577
|
var t = Object.prototype.toString.call(e);
|
|
578
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
578
|
+
return t === "[object RegExp]" || t === "[object Date]" || Or(e);
|
|
579
579
|
}
|
|
580
|
-
var
|
|
581
|
-
function
|
|
582
|
-
return e.$$typeof ===
|
|
580
|
+
var Sr = typeof Symbol == "function" && Symbol.for, Ar = Sr ? Symbol.for("react.element") : 60103;
|
|
581
|
+
function Or(e) {
|
|
582
|
+
return e.$$typeof === Ar;
|
|
583
583
|
}
|
|
584
|
-
function
|
|
584
|
+
function Cr(e) {
|
|
585
585
|
return Array.isArray(e) ? [] : {};
|
|
586
586
|
}
|
|
587
587
|
function Y(e, t) {
|
|
588
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? G(
|
|
588
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? G(Cr(e), e, t) : e;
|
|
589
589
|
}
|
|
590
|
-
function
|
|
590
|
+
function Pr(e, t, r) {
|
|
591
591
|
return e.concat(t).map(function(n) {
|
|
592
592
|
return Y(n, r);
|
|
593
593
|
});
|
|
594
594
|
}
|
|
595
|
-
function
|
|
595
|
+
function Lr(e, t) {
|
|
596
596
|
if (!t.customMerge)
|
|
597
597
|
return G;
|
|
598
598
|
var r = t.customMerge(e);
|
|
599
599
|
return typeof r == "function" ? r : G;
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function Nr(e) {
|
|
602
602
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
603
603
|
return Object.propertyIsEnumerable.call(e, t);
|
|
604
604
|
}) : [];
|
|
605
605
|
}
|
|
606
|
-
function
|
|
607
|
-
return Object.keys(e).concat(
|
|
606
|
+
function Je(e) {
|
|
607
|
+
return Object.keys(e).concat(Nr(e));
|
|
608
608
|
}
|
|
609
|
-
function
|
|
609
|
+
function Tt(e, t) {
|
|
610
610
|
try {
|
|
611
611
|
return t in e;
|
|
612
612
|
} catch {
|
|
613
613
|
return !1;
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
function
|
|
617
|
-
return
|
|
616
|
+
function Ir(e, t) {
|
|
617
|
+
return Tt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function Mr(e, t, r) {
|
|
620
620
|
var n = {};
|
|
621
|
-
return r.isMergeableObject(e) &&
|
|
621
|
+
return r.isMergeableObject(e) && Je(e).forEach(function(i) {
|
|
622
622
|
n[i] = Y(e[i], r);
|
|
623
|
-
}),
|
|
624
|
-
|
|
623
|
+
}), Je(t).forEach(function(i) {
|
|
624
|
+
Ir(e, i) || (Tt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Lr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
625
625
|
}), n;
|
|
626
626
|
}
|
|
627
627
|
function G(e, t, r) {
|
|
628
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
628
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Pr, r.isMergeableObject = r.isMergeableObject || Br, r.cloneUnlessOtherwiseSpecified = Y;
|
|
629
629
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
630
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
630
|
+
return s ? n ? r.arrayMerge(e, t, r) : Mr(e, t, r) : Y(t, r);
|
|
631
631
|
}
|
|
632
632
|
G.all = function(t, r) {
|
|
633
633
|
if (!Array.isArray(t))
|
|
@@ -636,8 +636,8 @@ G.all = function(t, r) {
|
|
|
636
636
|
return G(n, i, r);
|
|
637
637
|
}, {});
|
|
638
638
|
};
|
|
639
|
-
var
|
|
640
|
-
const
|
|
639
|
+
var $r = G, Rr = $r;
|
|
640
|
+
const Ur = /* @__PURE__ */ Hr(Rr);
|
|
641
641
|
/*! *****************************************************************************
|
|
642
642
|
Copyright (c) Microsoft Corporation.
|
|
643
643
|
|
|
@@ -679,7 +679,7 @@ var y = function() {
|
|
|
679
679
|
return t;
|
|
680
680
|
}, y.apply(this, arguments);
|
|
681
681
|
};
|
|
682
|
-
function
|
|
682
|
+
function Dr(e, t) {
|
|
683
683
|
var r = {};
|
|
684
684
|
for (var n in e)
|
|
685
685
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -695,55 +695,57 @@ function Te(e, t, r) {
|
|
|
695
695
|
return e.concat(s || t);
|
|
696
696
|
}
|
|
697
697
|
function we(e, t) {
|
|
698
|
-
var r = t && t.cache ? t.cache : zr, n = t && t.serializer ? t.serializer :
|
|
698
|
+
var r = t && t.cache ? t.cache : zr, n = t && t.serializer ? t.serializer : Vr, i = t && t.strategy ? t.strategy : Fr;
|
|
699
699
|
return i(e, {
|
|
700
700
|
cache: r,
|
|
701
701
|
serializer: n
|
|
702
702
|
});
|
|
703
703
|
}
|
|
704
|
-
function
|
|
704
|
+
function Gr(e) {
|
|
705
705
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
706
706
|
}
|
|
707
|
-
function
|
|
708
|
-
var i =
|
|
707
|
+
function wt(e, t, r, n) {
|
|
708
|
+
var i = Gr(n) ? n : r(n), s = t.get(i);
|
|
709
709
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
710
710
|
}
|
|
711
|
-
function
|
|
711
|
+
function St(e, t, r) {
|
|
712
712
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
713
713
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
714
714
|
}
|
|
715
715
|
function Ve(e, t, r, n, i) {
|
|
716
716
|
return r.bind(t, e, n, i);
|
|
717
717
|
}
|
|
718
|
-
function
|
|
719
|
-
var r = e.length === 1 ?
|
|
718
|
+
function Fr(e, t) {
|
|
719
|
+
var r = e.length === 1 ? wt : St;
|
|
720
720
|
return Ve(e, this, r, t.cache.create(), t.serializer);
|
|
721
721
|
}
|
|
722
|
-
function
|
|
723
|
-
return Ve(e, this, At, t.cache.create(), t.serializer);
|
|
724
|
-
}
|
|
725
|
-
function Vr(e, t) {
|
|
722
|
+
function jr(e, t) {
|
|
726
723
|
return Ve(e, this, St, t.cache.create(), t.serializer);
|
|
727
724
|
}
|
|
728
|
-
|
|
729
|
-
return
|
|
730
|
-
};
|
|
731
|
-
function Xe() {
|
|
732
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
725
|
+
function kr(e, t) {
|
|
726
|
+
return Ve(e, this, wt, t.cache.create(), t.serializer);
|
|
733
727
|
}
|
|
734
|
-
|
|
735
|
-
return
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
728
|
+
var Vr = function() {
|
|
729
|
+
return JSON.stringify(arguments);
|
|
730
|
+
}, Xr = (
|
|
731
|
+
/** @class */
|
|
732
|
+
function() {
|
|
733
|
+
function e() {
|
|
734
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
735
|
+
}
|
|
736
|
+
return e.prototype.get = function(t) {
|
|
737
|
+
return this.cache[t];
|
|
738
|
+
}, e.prototype.set = function(t, r) {
|
|
739
|
+
this.cache[t] = r;
|
|
740
|
+
}, e;
|
|
741
|
+
}()
|
|
742
|
+
), zr = {
|
|
741
743
|
create: function() {
|
|
742
|
-
return new
|
|
744
|
+
return new Xr();
|
|
743
745
|
}
|
|
744
746
|
}, Se = {
|
|
745
|
-
variadic:
|
|
746
|
-
monadic:
|
|
747
|
+
variadic: jr,
|
|
748
|
+
monadic: kr
|
|
747
749
|
}, b;
|
|
748
750
|
(function(e) {
|
|
749
751
|
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";
|
|
@@ -756,40 +758,40 @@ var F;
|
|
|
756
758
|
(function(e) {
|
|
757
759
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
758
760
|
})(F || (F = {}));
|
|
759
|
-
function
|
|
761
|
+
function Ye(e) {
|
|
760
762
|
return e.type === x.literal;
|
|
761
763
|
}
|
|
762
764
|
function Wr(e) {
|
|
763
765
|
return e.type === x.argument;
|
|
764
766
|
}
|
|
765
|
-
function
|
|
767
|
+
function At(e) {
|
|
766
768
|
return e.type === x.number;
|
|
767
769
|
}
|
|
768
|
-
function
|
|
770
|
+
function Ot(e) {
|
|
769
771
|
return e.type === x.date;
|
|
770
772
|
}
|
|
771
|
-
function
|
|
773
|
+
function Ct(e) {
|
|
772
774
|
return e.type === x.time;
|
|
773
775
|
}
|
|
774
|
-
function
|
|
776
|
+
function Pt(e) {
|
|
775
777
|
return e.type === x.select;
|
|
776
778
|
}
|
|
777
|
-
function
|
|
779
|
+
function Lt(e) {
|
|
778
780
|
return e.type === x.plural;
|
|
779
781
|
}
|
|
780
782
|
function Zr(e) {
|
|
781
783
|
return e.type === x.pound;
|
|
782
784
|
}
|
|
783
|
-
function
|
|
785
|
+
function Nt(e) {
|
|
784
786
|
return e.type === x.tag;
|
|
785
787
|
}
|
|
786
|
-
function
|
|
788
|
+
function It(e) {
|
|
787
789
|
return !!(e && typeof e == "object" && e.type === F.number);
|
|
788
790
|
}
|
|
789
791
|
function Me(e) {
|
|
790
792
|
return !!(e && typeof e == "object" && e.type === F.dateTime);
|
|
791
793
|
}
|
|
792
|
-
var
|
|
794
|
+
var Mt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qr = /(?:[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;
|
|
793
795
|
function qr(e) {
|
|
794
796
|
var t = {};
|
|
795
797
|
return e.replace(Qr, function(r) {
|
|
@@ -903,14 +905,14 @@ function Yr(e) {
|
|
|
903
905
|
function Kr(e) {
|
|
904
906
|
return e.replace(/^(.*?)-/, "");
|
|
905
907
|
}
|
|
906
|
-
var
|
|
907
|
-
function
|
|
908
|
+
var Ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, en = /(\*)(0+)|(#+)(0+)|(0+)/g, Rt = /^(0+)$/;
|
|
909
|
+
function et(e) {
|
|
908
910
|
var t = {};
|
|
909
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
911
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($t, function(r, n, i) {
|
|
910
912
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
911
913
|
}), t;
|
|
912
914
|
}
|
|
913
|
-
function
|
|
915
|
+
function Ut(e) {
|
|
914
916
|
switch (e) {
|
|
915
917
|
case "sign-auto":
|
|
916
918
|
return {
|
|
@@ -958,14 +960,14 @@ function tn(e) {
|
|
|
958
960
|
notation: "scientific"
|
|
959
961
|
}, e = e.slice(1)), t) {
|
|
960
962
|
var r = e.slice(0, 2);
|
|
961
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
963
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rt.test(e))
|
|
962
964
|
throw new Error("Malformed concise eng/scientific notation");
|
|
963
965
|
t.minimumIntegerDigits = e.length;
|
|
964
966
|
}
|
|
965
967
|
return t;
|
|
966
968
|
}
|
|
967
|
-
function
|
|
968
|
-
var t = {}, r =
|
|
969
|
+
function tt(e) {
|
|
970
|
+
var t = {}, r = Ut(e);
|
|
969
971
|
return r || t;
|
|
970
972
|
}
|
|
971
973
|
function rn(e) {
|
|
@@ -1004,12 +1006,12 @@ function rn(e) {
|
|
|
1004
1006
|
continue;
|
|
1005
1007
|
case "scientific":
|
|
1006
1008
|
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
|
|
1007
|
-
return y(y({}, l),
|
|
1009
|
+
return y(y({}, l), tt(a));
|
|
1008
1010
|
}, {}));
|
|
1009
1011
|
continue;
|
|
1010
1012
|
case "engineering":
|
|
1011
1013
|
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
|
|
1012
|
-
return y(y({}, l),
|
|
1014
|
+
return y(y({}, l), tt(a));
|
|
1013
1015
|
}, {}));
|
|
1014
1016
|
continue;
|
|
1015
1017
|
case "notation-simple":
|
|
@@ -1067,25 +1069,25 @@ function rn(e) {
|
|
|
1067
1069
|
});
|
|
1068
1070
|
continue;
|
|
1069
1071
|
}
|
|
1070
|
-
if (
|
|
1072
|
+
if (Rt.test(i.stem)) {
|
|
1071
1073
|
t.minimumIntegerDigits = i.stem.length;
|
|
1072
1074
|
continue;
|
|
1073
1075
|
}
|
|
1074
|
-
if (
|
|
1076
|
+
if (Ke.test(i.stem)) {
|
|
1075
1077
|
if (i.options.length > 1)
|
|
1076
1078
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1077
|
-
i.stem.replace(
|
|
1079
|
+
i.stem.replace(Ke, function(l, a, h, c, m, d) {
|
|
1078
1080
|
return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1079
1081
|
});
|
|
1080
1082
|
var s = i.options[0];
|
|
1081
|
-
s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t),
|
|
1083
|
+
s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), et(s)));
|
|
1082
1084
|
continue;
|
|
1083
1085
|
}
|
|
1084
|
-
if (
|
|
1085
|
-
t = y(y({}, t),
|
|
1086
|
+
if ($t.test(i.stem)) {
|
|
1087
|
+
t = y(y({}, t), et(i.stem));
|
|
1086
1088
|
continue;
|
|
1087
1089
|
}
|
|
1088
|
-
var u =
|
|
1090
|
+
var u = Ut(i.stem);
|
|
1089
1091
|
u && (t = y(y({}, t), u));
|
|
1090
1092
|
var o = tn(i.stem);
|
|
1091
1093
|
o && (t = y(y({}, t), o));
|
|
@@ -2545,7 +2547,7 @@ function sn(e) {
|
|
|
2545
2547
|
var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
|
|
2546
2548
|
return i[0];
|
|
2547
2549
|
}
|
|
2548
|
-
var Ae, on = new RegExp("^".concat(
|
|
2550
|
+
var Ae, on = new RegExp("^".concat(Mt.source, "*")), an = new RegExp("".concat(Mt.source, "*$"));
|
|
2549
2551
|
function p(e, t) {
|
|
2550
2552
|
return { start: e, end: t };
|
|
2551
2553
|
}
|
|
@@ -2553,12 +2555,12 @@ var un = !!String.prototype.startsWith && "_a".startsWith("a", 1), hn = !!String
|
|
|
2553
2555
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2554
2556
|
}, $e = !0;
|
|
2555
2557
|
try {
|
|
2556
|
-
var pn =
|
|
2558
|
+
var pn = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2557
2559
|
$e = ((Ae = pn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
|
|
2558
2560
|
} catch {
|
|
2559
2561
|
$e = !1;
|
|
2560
2562
|
}
|
|
2561
|
-
var
|
|
2563
|
+
var rt = un ? (
|
|
2562
2564
|
// Native
|
|
2563
2565
|
function(t, r, n) {
|
|
2564
2566
|
return t.startsWith(r, n);
|
|
@@ -2580,7 +2582,7 @@ var nt = un ? (
|
|
|
2580
2582
|
}
|
|
2581
2583
|
return n;
|
|
2582
2584
|
}
|
|
2583
|
-
),
|
|
2585
|
+
), nt = (
|
|
2584
2586
|
// native
|
|
2585
2587
|
ln ? Object.fromEntries : (
|
|
2586
2588
|
// Ponyfill
|
|
@@ -2592,7 +2594,7 @@ var nt = un ? (
|
|
|
2592
2594
|
return r;
|
|
2593
2595
|
}
|
|
2594
2596
|
)
|
|
2595
|
-
),
|
|
2597
|
+
), Dt = fn ? (
|
|
2596
2598
|
// Native
|
|
2597
2599
|
function(t, r) {
|
|
2598
2600
|
return t.codePointAt(r);
|
|
@@ -2627,23 +2629,23 @@ var nt = un ? (
|
|
|
2627
2629
|
return t.replace(an, "");
|
|
2628
2630
|
}
|
|
2629
2631
|
);
|
|
2630
|
-
function
|
|
2632
|
+
function Gt(e, t) {
|
|
2631
2633
|
return new RegExp(e, t);
|
|
2632
2634
|
}
|
|
2633
2635
|
var Ue;
|
|
2634
2636
|
if ($e) {
|
|
2635
|
-
var
|
|
2637
|
+
var it = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2636
2638
|
Ue = function(t, r) {
|
|
2637
2639
|
var n;
|
|
2638
|
-
|
|
2639
|
-
var i =
|
|
2640
|
+
it.lastIndex = r;
|
|
2641
|
+
var i = it.exec(t);
|
|
2640
2642
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2641
2643
|
};
|
|
2642
2644
|
} else
|
|
2643
2645
|
Ue = function(t, r) {
|
|
2644
2646
|
for (var n = []; ; ) {
|
|
2645
|
-
var i =
|
|
2646
|
-
if (i === void 0 ||
|
|
2647
|
+
var i = Dt(t, r);
|
|
2648
|
+
if (i === void 0 || Ft(i) || vn(i))
|
|
2647
2649
|
break;
|
|
2648
2650
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2649
2651
|
}
|
|
@@ -2857,7 +2859,7 @@ var yn = (
|
|
|
2857
2859
|
if (f.err)
|
|
2858
2860
|
return f;
|
|
2859
2861
|
var _ = p(i, this.clonePosition());
|
|
2860
|
-
if (a &&
|
|
2862
|
+
if (a && rt(a?.style, "::", 0)) {
|
|
2861
2863
|
var v = gn(a.style.slice(2));
|
|
2862
2864
|
if (o === "number") {
|
|
2863
2865
|
var c = this.parseNumberSkeletonFromString(v, a.styleLocation);
|
|
@@ -2920,7 +2922,7 @@ var yn = (
|
|
|
2920
2922
|
val: {
|
|
2921
2923
|
type: x.select,
|
|
2922
2924
|
value: n,
|
|
2923
|
-
options:
|
|
2925
|
+
options: nt(M.val),
|
|
2924
2926
|
location: ne
|
|
2925
2927
|
},
|
|
2926
2928
|
err: null
|
|
@@ -2928,7 +2930,7 @@ var yn = (
|
|
|
2928
2930
|
val: {
|
|
2929
2931
|
type: x.plural,
|
|
2930
2932
|
value: n,
|
|
2931
|
-
options:
|
|
2933
|
+
options: nt(M.val),
|
|
2932
2934
|
offset: w,
|
|
2933
2935
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2934
2936
|
location: ne
|
|
@@ -3051,7 +3053,7 @@ var yn = (
|
|
|
3051
3053
|
var t = this.position.offset;
|
|
3052
3054
|
if (t >= this.message.length)
|
|
3053
3055
|
throw Error("out of bound");
|
|
3054
|
-
var r =
|
|
3056
|
+
var r = Dt(this.message, t);
|
|
3055
3057
|
if (r === void 0)
|
|
3056
3058
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3057
3059
|
return r;
|
|
@@ -3070,7 +3072,7 @@ var yn = (
|
|
|
3070
3072
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3071
3073
|
}
|
|
3072
3074
|
}, e.prototype.bumpIf = function(t) {
|
|
3073
|
-
if (
|
|
3075
|
+
if (rt(this.message, t, this.offset())) {
|
|
3074
3076
|
for (var r = 0; r < t.length; r++)
|
|
3075
3077
|
this.bump();
|
|
3076
3078
|
return !0;
|
|
@@ -3092,7 +3094,7 @@ var yn = (
|
|
|
3092
3094
|
break;
|
|
3093
3095
|
}
|
|
3094
3096
|
}, e.prototype.bumpSpace = function() {
|
|
3095
|
-
for (; !this.isEOF() &&
|
|
3097
|
+
for (; !this.isEOF() && Ft(this.char()); )
|
|
3096
3098
|
this.bump();
|
|
3097
3099
|
}, e.prototype.peek = function() {
|
|
3098
3100
|
if (this.isEOF())
|
|
@@ -3111,7 +3113,7 @@ function xn(e) {
|
|
|
3111
3113
|
function En(e) {
|
|
3112
3114
|
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;
|
|
3113
3115
|
}
|
|
3114
|
-
function
|
|
3116
|
+
function Ft(e) {
|
|
3115
3117
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3116
3118
|
}
|
|
3117
3119
|
function vn(e) {
|
|
@@ -3119,11 +3121,11 @@ function vn(e) {
|
|
|
3119
3121
|
}
|
|
3120
3122
|
function Ge(e) {
|
|
3121
3123
|
e.forEach(function(t) {
|
|
3122
|
-
if (delete t.location,
|
|
3124
|
+
if (delete t.location, Pt(t) || Lt(t))
|
|
3123
3125
|
for (var r in t.options)
|
|
3124
3126
|
delete t.options[r].location, Ge(t.options[r].value);
|
|
3125
3127
|
else
|
|
3126
|
-
|
|
3128
|
+
At(t) && It(t.style) || (Ot(t) || Ct(t)) && Me(t.style) ? delete t.style.location : Nt(t) && Ge(t.children);
|
|
3127
3129
|
});
|
|
3128
3130
|
}
|
|
3129
3131
|
function Hn(e, t) {
|
|
@@ -3151,7 +3153,7 @@ var ge = (
|
|
|
3151
3153
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3152
3154
|
}, t;
|
|
3153
3155
|
}(Error)
|
|
3154
|
-
),
|
|
3156
|
+
), st = (
|
|
3155
3157
|
/** @class */
|
|
3156
3158
|
function(e) {
|
|
3157
3159
|
pe(t, e);
|
|
@@ -3192,7 +3194,7 @@ function Sn(e) {
|
|
|
3192
3194
|
return typeof e == "function";
|
|
3193
3195
|
}
|
|
3194
3196
|
function he(e, t, r, n, i, s, u) {
|
|
3195
|
-
if (e.length === 1 &&
|
|
3197
|
+
if (e.length === 1 && Ye(e[0]))
|
|
3196
3198
|
return [
|
|
3197
3199
|
{
|
|
3198
3200
|
type: E.literal,
|
|
@@ -3201,7 +3203,7 @@ function he(e, t, r, n, i, s, u) {
|
|
|
3201
3203
|
];
|
|
3202
3204
|
for (var o = [], l = 0, a = e; l < a.length; l++) {
|
|
3203
3205
|
var h = a[l];
|
|
3204
|
-
if (
|
|
3206
|
+
if (Ye(h)) {
|
|
3205
3207
|
o.push({
|
|
3206
3208
|
type: E.literal,
|
|
3207
3209
|
value: h.value
|
|
@@ -3226,7 +3228,7 @@ function he(e, t, r, n, i, s, u) {
|
|
|
3226
3228
|
});
|
|
3227
3229
|
continue;
|
|
3228
3230
|
}
|
|
3229
|
-
if (
|
|
3231
|
+
if (Ot(h)) {
|
|
3230
3232
|
var d = typeof h.style == "string" ? n.date[h.style] : Me(h.style) ? h.style.parsedOptions : void 0;
|
|
3231
3233
|
o.push({
|
|
3232
3234
|
type: E.literal,
|
|
@@ -3234,7 +3236,7 @@ function he(e, t, r, n, i, s, u) {
|
|
|
3234
3236
|
});
|
|
3235
3237
|
continue;
|
|
3236
3238
|
}
|
|
3237
|
-
if (
|
|
3239
|
+
if (Ct(h)) {
|
|
3238
3240
|
var d = typeof h.style == "string" ? n.time[h.style] : Me(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3239
3241
|
o.push({
|
|
3240
3242
|
type: E.literal,
|
|
@@ -3242,15 +3244,15 @@ function he(e, t, r, n, i, s, u) {
|
|
|
3242
3244
|
});
|
|
3243
3245
|
continue;
|
|
3244
3246
|
}
|
|
3245
|
-
if (
|
|
3246
|
-
var d = typeof h.style == "string" ? n.number[h.style] :
|
|
3247
|
+
if (At(h)) {
|
|
3248
|
+
var d = typeof h.style == "string" ? n.number[h.style] : It(h.style) ? h.style.parsedOptions : void 0;
|
|
3247
3249
|
d && d.scale && (m = m * (d.scale || 1)), o.push({
|
|
3248
3250
|
type: E.literal,
|
|
3249
3251
|
value: r.getNumberFormat(t, d).format(m)
|
|
3250
3252
|
});
|
|
3251
3253
|
continue;
|
|
3252
3254
|
}
|
|
3253
|
-
if (
|
|
3255
|
+
if (Nt(h)) {
|
|
3254
3256
|
var f = h.children, _ = h.value, v = i[_];
|
|
3255
3257
|
if (!Sn(v))
|
|
3256
3258
|
throw new Bn(_, "function", u);
|
|
@@ -3264,14 +3266,14 @@ function he(e, t, r, n, i, s, u) {
|
|
|
3264
3266
|
};
|
|
3265
3267
|
}));
|
|
3266
3268
|
}
|
|
3267
|
-
if (
|
|
3269
|
+
if (Pt(h)) {
|
|
3268
3270
|
var H = h.options[m] || h.options.other;
|
|
3269
3271
|
if (!H)
|
|
3270
|
-
throw new
|
|
3272
|
+
throw new st(h.value, m, Object.keys(h.options), u);
|
|
3271
3273
|
o.push.apply(o, he(H.value, t, r, n, i));
|
|
3272
3274
|
continue;
|
|
3273
3275
|
}
|
|
3274
|
-
if (
|
|
3276
|
+
if (Lt(h)) {
|
|
3275
3277
|
var H = h.options["=".concat(m)];
|
|
3276
3278
|
if (!H) {
|
|
3277
3279
|
if (!Intl.PluralRules)
|
|
@@ -3282,7 +3284,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3282
3284
|
H = h.options[L] || h.options.other;
|
|
3283
3285
|
}
|
|
3284
3286
|
if (!H)
|
|
3285
|
-
throw new
|
|
3287
|
+
throw new st(h.value, m, Object.keys(h.options), u);
|
|
3286
3288
|
o.push.apply(o, he(H.value, t, r, n, i, m - (h.offset || 0)));
|
|
3287
3289
|
continue;
|
|
3288
3290
|
}
|
|
@@ -3345,7 +3347,7 @@ function Cn(e) {
|
|
|
3345
3347
|
})
|
|
3346
3348
|
};
|
|
3347
3349
|
}
|
|
3348
|
-
var
|
|
3350
|
+
var jt = (
|
|
3349
3351
|
/** @class */
|
|
3350
3352
|
function() {
|
|
3351
3353
|
function e(t, r, n, i) {
|
|
@@ -3377,7 +3379,7 @@ var kt = (
|
|
|
3377
3379
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3378
3380
|
var u = i || {};
|
|
3379
3381
|
u.formatters;
|
|
3380
|
-
var o =
|
|
3382
|
+
var o = Dr(u, ["formatters"]);
|
|
3381
3383
|
this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
|
|
3382
3384
|
} else
|
|
3383
3385
|
this.ast = t;
|
|
@@ -3478,7 +3480,7 @@ function Pn(e, t) {
|
|
|
3478
3480
|
n = void 0;
|
|
3479
3481
|
return n;
|
|
3480
3482
|
}
|
|
3481
|
-
const O = {}, Ln = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r),
|
|
3483
|
+
const O = {}, Ln = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), kt = (e, t) => {
|
|
3482
3484
|
if (t == null)
|
|
3483
3485
|
return;
|
|
3484
3486
|
if (t in O && e in O[t])
|
|
@@ -3490,16 +3492,16 @@ const O = {}, Ln = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][
|
|
|
3490
3492
|
return Ln(e, t, s);
|
|
3491
3493
|
}
|
|
3492
3494
|
};
|
|
3493
|
-
let
|
|
3495
|
+
let Xe;
|
|
3494
3496
|
const te = be({});
|
|
3495
3497
|
function Nn(e) {
|
|
3496
|
-
return
|
|
3498
|
+
return Xe[e] || null;
|
|
3497
3499
|
}
|
|
3498
|
-
function
|
|
3499
|
-
return e in
|
|
3500
|
+
function Vt(e) {
|
|
3501
|
+
return e in Xe;
|
|
3500
3502
|
}
|
|
3501
3503
|
function In(e, t) {
|
|
3502
|
-
if (!
|
|
3504
|
+
if (!Vt(e))
|
|
3503
3505
|
return null;
|
|
3504
3506
|
const r = Nn(e);
|
|
3505
3507
|
return Pn(r, t);
|
|
@@ -3510,28 +3512,28 @@ function Mn(e) {
|
|
|
3510
3512
|
const t = re(e);
|
|
3511
3513
|
for (let r = 0; r < t.length; r++) {
|
|
3512
3514
|
const n = t[r];
|
|
3513
|
-
if (
|
|
3515
|
+
if (Vt(n))
|
|
3514
3516
|
return n;
|
|
3515
3517
|
}
|
|
3516
3518
|
}
|
|
3517
|
-
function
|
|
3518
|
-
delete O[e], te.update((r) => (r[e] =
|
|
3519
|
+
function Xt(e, ...t) {
|
|
3520
|
+
delete O[e], te.update((r) => (r[e] = Ur.all([r[e] || {}, ...t]), r));
|
|
3519
3521
|
}
|
|
3520
3522
|
z(
|
|
3521
3523
|
[te],
|
|
3522
3524
|
([e]) => Object.keys(e)
|
|
3523
3525
|
);
|
|
3524
|
-
te.subscribe((e) =>
|
|
3526
|
+
te.subscribe((e) => Xe = e);
|
|
3525
3527
|
const le = {};
|
|
3526
3528
|
function $n(e, t) {
|
|
3527
3529
|
le[e].delete(t), le[e].size === 0 && delete le[e];
|
|
3528
3530
|
}
|
|
3529
|
-
function
|
|
3531
|
+
function zt(e) {
|
|
3530
3532
|
return le[e];
|
|
3531
3533
|
}
|
|
3532
3534
|
function Rn(e) {
|
|
3533
3535
|
return re(e).map((t) => {
|
|
3534
|
-
const r =
|
|
3536
|
+
const r = zt(t);
|
|
3535
3537
|
return [t, r ? [...r] : []];
|
|
3536
3538
|
}).filter(([, t]) => t.length > 0);
|
|
3537
3539
|
}
|
|
@@ -3539,17 +3541,17 @@ function ce(e) {
|
|
|
3539
3541
|
return e == null ? !1 : re(e).some(
|
|
3540
3542
|
(t) => {
|
|
3541
3543
|
var r;
|
|
3542
|
-
return (r =
|
|
3544
|
+
return (r = zt(t)) == null ? void 0 : r.size;
|
|
3543
3545
|
}
|
|
3544
3546
|
);
|
|
3545
3547
|
}
|
|
3546
3548
|
function Un(e, t) {
|
|
3547
3549
|
return Promise.all(
|
|
3548
3550
|
t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
|
|
3549
|
-
).then((n) =>
|
|
3551
|
+
).then((n) => Xt(e, ...n));
|
|
3550
3552
|
}
|
|
3551
3553
|
const Z = {};
|
|
3552
|
-
function
|
|
3554
|
+
function Wt(e) {
|
|
3553
3555
|
if (!ce(e))
|
|
3554
3556
|
return e in Z ? Z[e] : Promise.resolve();
|
|
3555
3557
|
const t = Rn(e);
|
|
@@ -3559,16 +3561,16 @@ function Zt(e) {
|
|
|
3559
3561
|
)
|
|
3560
3562
|
).then(() => {
|
|
3561
3563
|
if (ce(e))
|
|
3562
|
-
return
|
|
3564
|
+
return Wt(e);
|
|
3563
3565
|
delete Z[e];
|
|
3564
3566
|
}), Z[e];
|
|
3565
3567
|
}
|
|
3566
|
-
var
|
|
3568
|
+
var ot = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, Fn = (e, t) => {
|
|
3567
3569
|
var r = {};
|
|
3568
3570
|
for (var n in e)
|
|
3569
3571
|
Dn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3570
|
-
if (e != null &&
|
|
3571
|
-
for (var n of
|
|
3572
|
+
if (e != null && ot)
|
|
3573
|
+
for (var n of ot(e))
|
|
3572
3574
|
t.indexOf(n) < 0 && Gn.call(e, n) && (r[n] = e[n]);
|
|
3573
3575
|
return r;
|
|
3574
3576
|
};
|
|
@@ -3627,7 +3629,7 @@ function Xn(e) {
|
|
|
3627
3629
|
let i = e.fallbackLocale;
|
|
3628
3630
|
if (e.initialLocale)
|
|
3629
3631
|
try {
|
|
3630
|
-
|
|
3632
|
+
jt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3631
3633
|
} catch {
|
|
3632
3634
|
console.warn(
|
|
3633
3635
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
@@ -3638,22 +3640,22 @@ function Xn(e) {
|
|
|
3638
3640
|
)), Object.assign(Q, n, { initialLocale: i }), r && ("number" in r && Object.assign(Q.formats.number, r.number), "date" in r && Object.assign(Q.formats.date, r.date), "time" in r && Object.assign(Q.formats.time, r.time)), I.set(i);
|
|
3639
3641
|
}
|
|
3640
3642
|
const Ce = be(!1);
|
|
3641
|
-
var zn = Object.defineProperty, Wn = Object.defineProperties, Zn = Object.getOwnPropertyDescriptors,
|
|
3642
|
-
for (var r in t
|
|
3643
|
-
Qn.call(t, r) &&
|
|
3644
|
-
if (
|
|
3645
|
-
for (var r of
|
|
3646
|
-
qn.call(t, r) &&
|
|
3643
|
+
var zn = Object.defineProperty, Wn = Object.defineProperties, Zn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jn = (e, t) => {
|
|
3644
|
+
for (var r in t)
|
|
3645
|
+
Qn.call(t, r) && ut(e, r, t[r]);
|
|
3646
|
+
if (at)
|
|
3647
|
+
for (var r of at(t))
|
|
3648
|
+
qn.call(t, r) && ut(e, r, t[r]);
|
|
3647
3649
|
return e;
|
|
3648
3650
|
}, Yn = (e, t) => Wn(e, Zn(t));
|
|
3649
3651
|
let Fe;
|
|
3650
3652
|
const me = be(null);
|
|
3651
|
-
function
|
|
3653
|
+
function ht(e) {
|
|
3652
3654
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3653
3655
|
}
|
|
3654
3656
|
function re(e, t = k().fallbackLocale) {
|
|
3655
|
-
const r =
|
|
3656
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3657
|
+
const r = ht(e);
|
|
3658
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
|
|
3657
3659
|
}
|
|
3658
3660
|
function P() {
|
|
3659
3661
|
return Fe ?? void 0;
|
|
@@ -3668,7 +3670,7 @@ const Kn = (e) => {
|
|
|
3668
3670
|
return typeof window < "u" && P() != null && t ? r = window.setTimeout(
|
|
3669
3671
|
() => Ce.set(!0),
|
|
3670
3672
|
t
|
|
3671
|
-
) : Ce.set(!0),
|
|
3673
|
+
) : Ce.set(!0), Wt(e).then(() => {
|
|
3672
3674
|
me.set(e);
|
|
3673
3675
|
}).finally(() => {
|
|
3674
3676
|
clearTimeout(r), Ce.set(!1);
|
|
@@ -3684,20 +3686,20 @@ const Kn = (e) => {
|
|
|
3684
3686
|
return i in t ? t[i] : t[i] = e(n);
|
|
3685
3687
|
};
|
|
3686
3688
|
};
|
|
3687
|
-
var ei = Object.defineProperty, de = Object.getOwnPropertySymbols,
|
|
3689
|
+
var ei = Object.defineProperty, de = Object.getOwnPropertySymbols, Zt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
|
|
3688
3690
|
for (var r in t || (t = {}))
|
|
3689
|
-
|
|
3691
|
+
Zt.call(t, r) && lt(e, r, t[r]);
|
|
3690
3692
|
if (de)
|
|
3691
3693
|
for (var r of de(t))
|
|
3692
|
-
|
|
3694
|
+
Qt.call(t, r) && lt(e, r, t[r]);
|
|
3693
3695
|
return e;
|
|
3694
3696
|
}, W = (e, t) => {
|
|
3695
3697
|
var r = {};
|
|
3696
3698
|
for (var n in e)
|
|
3697
|
-
|
|
3699
|
+
Zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3698
3700
|
if (e != null && de)
|
|
3699
3701
|
for (var n of de(e))
|
|
3700
|
-
t.indexOf(n) < 0 &&
|
|
3702
|
+
t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
|
|
3701
3703
|
return r;
|
|
3702
3704
|
};
|
|
3703
3705
|
const K = (e, t) => {
|
|
@@ -3734,24 +3736,24 @@ const K = (e, t) => {
|
|
|
3734
3736
|
} = t, n = W(t, [
|
|
3735
3737
|
"locale"
|
|
3736
3738
|
]);
|
|
3737
|
-
return ti(
|
|
3739
|
+
return ti(ze({ locale: r }, n));
|
|
3738
3740
|
}, si = (e = {}) => {
|
|
3739
3741
|
var t = e, {
|
|
3740
3742
|
locale: r = P()
|
|
3741
3743
|
} = t, n = W(t, [
|
|
3742
3744
|
"locale"
|
|
3743
3745
|
]);
|
|
3744
|
-
return ri(
|
|
3746
|
+
return ri(ze({ locale: r }, n));
|
|
3745
3747
|
}, oi = (e = {}) => {
|
|
3746
3748
|
var t = e, {
|
|
3747
3749
|
locale: r = P()
|
|
3748
3750
|
} = t, n = W(t, [
|
|
3749
3751
|
"locale"
|
|
3750
3752
|
]);
|
|
3751
|
-
return ni(
|
|
3753
|
+
return ni(ze({ locale: r }, n));
|
|
3752
3754
|
}, ai = _e(
|
|
3753
3755
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3754
|
-
(e, t = P()) => new
|
|
3756
|
+
(e, t = P()) => new jt(e, t, k().formats, {
|
|
3755
3757
|
ignoreTag: k().ignoreTag
|
|
3756
3758
|
})
|
|
3757
3759
|
), ui = (e, t = {}) => {
|
|
@@ -3767,7 +3769,7 @@ const K = (e, t) => {
|
|
|
3767
3769
|
throw new Error(
|
|
3768
3770
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3769
3771
|
);
|
|
3770
|
-
let h =
|
|
3772
|
+
let h = kt(e, l);
|
|
3771
3773
|
if (!h)
|
|
3772
3774
|
h = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3773
3775
|
else if (typeof h != "string")
|
|
@@ -3786,7 +3788,7 @@ const K = (e, t) => {
|
|
|
3786
3788
|
);
|
|
3787
3789
|
}
|
|
3788
3790
|
return c;
|
|
3789
|
-
}, hi = (e, t) => oi(t).format(e), li = (e, t) => si(t).format(e), fi = (e, t) => ii(t).format(e), ci = (e, t = P()) =>
|
|
3791
|
+
}, hi = (e, t) => oi(t).format(e), li = (e, t) => si(t).format(e), fi = (e, t) => ii(t).format(e), ci = (e, t = P()) => kt(e, t), mi = z([I, te], () => ui);
|
|
3790
3792
|
z([I], () => hi);
|
|
3791
3793
|
z([I], () => li);
|
|
3792
3794
|
z([I], () => fi);
|
|
@@ -3814,15 +3816,15 @@ function pi(e, t, r) {
|
|
|
3814
3816
|
});
|
|
3815
3817
|
}
|
|
3816
3818
|
}
|
|
3817
|
-
function
|
|
3818
|
-
|
|
3819
|
+
function ft(e, t) {
|
|
3820
|
+
Xt(e, t);
|
|
3819
3821
|
}
|
|
3820
3822
|
function gi(e) {
|
|
3821
3823
|
Xn({
|
|
3822
3824
|
fallbackLocale: "en"
|
|
3823
3825
|
}), I.set(e);
|
|
3824
3826
|
}
|
|
3825
|
-
const
|
|
3827
|
+
const ct = {
|
|
3826
3828
|
en: {
|
|
3827
3829
|
header: {
|
|
3828
3830
|
general: "Cashier",
|
|
@@ -3846,17 +3848,17 @@ const mt = {
|
|
|
3846
3848
|
}
|
|
3847
3849
|
};
|
|
3848
3850
|
function _i(e) {
|
|
3849
|
-
|
|
3851
|
+
rr(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
|
|
3850
3852
|
}
|
|
3851
|
-
const yi = (e) => ({}),
|
|
3852
|
-
function
|
|
3853
|
+
const yi = (e) => ({}), mt = (e) => ({}), xi = (e) => ({}), dt = (e) => ({}), Ei = (e) => ({}), bt = (e) => ({});
|
|
3854
|
+
function pt(e) {
|
|
3853
3855
|
let t, r, n;
|
|
3854
3856
|
return {
|
|
3855
3857
|
c() {
|
|
3856
3858
|
t = V("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', X(t, "class", "CashierHeaderLeftButton");
|
|
3857
3859
|
},
|
|
3858
3860
|
m(i, s) {
|
|
3859
|
-
N(i, t, s), r || (n =
|
|
3861
|
+
N(i, t, s), r || (n = Ht(
|
|
3860
3862
|
t,
|
|
3861
3863
|
"click",
|
|
3862
3864
|
/*back*/
|
|
@@ -3872,18 +3874,18 @@ function gt(e) {
|
|
|
3872
3874
|
function vi(e) {
|
|
3873
3875
|
let t, r = (
|
|
3874
3876
|
/*backButton*/
|
|
3875
|
-
e[1] &&
|
|
3877
|
+
e[1] && pt(e)
|
|
3876
3878
|
);
|
|
3877
3879
|
return {
|
|
3878
3880
|
c() {
|
|
3879
|
-
r && r.c(), t =
|
|
3881
|
+
r && r.c(), t = vt();
|
|
3880
3882
|
},
|
|
3881
3883
|
m(n, i) {
|
|
3882
3884
|
r && r.m(n, i), N(n, t, i);
|
|
3883
3885
|
},
|
|
3884
3886
|
p(n, i) {
|
|
3885
3887
|
/*backButton*/
|
|
3886
|
-
n[1] ? r ? r.p(n, i) : (r =
|
|
3888
|
+
n[1] ? r ? r.p(n, i) : (r = pt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
3887
3889
|
},
|
|
3888
3890
|
d(n) {
|
|
3889
3891
|
n && C(t), r && r.d(n);
|
|
@@ -3911,21 +3913,21 @@ function Hi(e) {
|
|
|
3911
3913
|
i[4](
|
|
3912
3914
|
/*titleText*/
|
|
3913
3915
|
i[2]
|
|
3914
|
-
) + "") &&
|
|
3916
|
+
) + "") && or(n, r);
|
|
3915
3917
|
},
|
|
3916
3918
|
d(i) {
|
|
3917
3919
|
i && C(t);
|
|
3918
3920
|
}
|
|
3919
3921
|
};
|
|
3920
3922
|
}
|
|
3921
|
-
function
|
|
3923
|
+
function gt(e) {
|
|
3922
3924
|
let t, r, n;
|
|
3923
3925
|
return {
|
|
3924
3926
|
c() {
|
|
3925
3927
|
t = V("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', X(t, "class", "CashierHeaderRightButton");
|
|
3926
3928
|
},
|
|
3927
3929
|
m(i, s) {
|
|
3928
|
-
N(i, t, s), r || (n =
|
|
3930
|
+
N(i, t, s), r || (n = Ht(
|
|
3929
3931
|
t,
|
|
3930
3932
|
"click",
|
|
3931
3933
|
/*close*/
|
|
@@ -3941,18 +3943,18 @@ function _t(e) {
|
|
|
3941
3943
|
function Bi(e) {
|
|
3942
3944
|
let t, r = (
|
|
3943
3945
|
/*closeButton*/
|
|
3944
|
-
e[3] &&
|
|
3946
|
+
e[3] && gt(e)
|
|
3945
3947
|
);
|
|
3946
3948
|
return {
|
|
3947
3949
|
c() {
|
|
3948
|
-
r && r.c(), t =
|
|
3950
|
+
r && r.c(), t = vt();
|
|
3949
3951
|
},
|
|
3950
3952
|
m(n, i) {
|
|
3951
3953
|
r && r.m(n, i), N(n, t, i);
|
|
3952
3954
|
},
|
|
3953
3955
|
p(n, i) {
|
|
3954
3956
|
/*closeButton*/
|
|
3955
|
-
n[3] ? r ? r.p(n, i) : (r =
|
|
3957
|
+
n[3] ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
3956
3958
|
},
|
|
3957
3959
|
d(n) {
|
|
3958
3960
|
n && C(t), r && r.d(n);
|
|
@@ -3969,7 +3971,7 @@ function Ti(e) {
|
|
|
3969
3971
|
e,
|
|
3970
3972
|
/*$$scope*/
|
|
3971
3973
|
e[15],
|
|
3972
|
-
|
|
3974
|
+
bt
|
|
3973
3975
|
), o = u || vi(e), l = (
|
|
3974
3976
|
/*#slots*/
|
|
3975
3977
|
e[16].title
|
|
@@ -3978,7 +3980,7 @@ function Ti(e) {
|
|
|
3978
3980
|
e,
|
|
3979
3981
|
/*$$scope*/
|
|
3980
3982
|
e[15],
|
|
3981
|
-
|
|
3983
|
+
dt
|
|
3982
3984
|
), h = a || Hi(e), c = (
|
|
3983
3985
|
/*#slots*/
|
|
3984
3986
|
e[16].rightButton
|
|
@@ -3987,14 +3989,14 @@ function Ti(e) {
|
|
|
3987
3989
|
e,
|
|
3988
3990
|
/*$$scope*/
|
|
3989
3991
|
e[15],
|
|
3990
|
-
|
|
3992
|
+
mt
|
|
3991
3993
|
), d = m || Bi(e);
|
|
3992
3994
|
return {
|
|
3993
3995
|
c() {
|
|
3994
|
-
t = V("div"), o
|
|
3996
|
+
t = V("div"), o.c(), r = Qe(), h.c(), n = Qe(), d.c(), X(t, "class", "CashierHeader");
|
|
3995
3997
|
},
|
|
3996
3998
|
m(f, _) {
|
|
3997
|
-
N(f, t, _), o
|
|
3999
|
+
N(f, t, _), o.m(t, null), fe(t, r), h.m(t, null), fe(t, n), d.m(t, null), e[17](t), i = !0;
|
|
3998
4000
|
},
|
|
3999
4001
|
p(f, [_]) {
|
|
4000
4002
|
u ? u.p && (!i || _ & /*$$scope*/
|
|
@@ -4014,8 +4016,8 @@ function Ti(e) {
|
|
|
4014
4016
|
/*$$scope*/
|
|
4015
4017
|
f[15]
|
|
4016
4018
|
),
|
|
4017
|
-
|
|
4018
|
-
) : o
|
|
4019
|
+
bt
|
|
4020
|
+
) : o.p && (!i || _ & /*backButton*/
|
|
4019
4021
|
2) && o.p(f, i ? _ : -1), a ? a.p && (!i || _ & /*$$scope*/
|
|
4020
4022
|
32768) && Ee(
|
|
4021
4023
|
a,
|
|
@@ -4033,8 +4035,8 @@ function Ti(e) {
|
|
|
4033
4035
|
/*$$scope*/
|
|
4034
4036
|
f[15]
|
|
4035
4037
|
),
|
|
4036
|
-
|
|
4037
|
-
) : h
|
|
4038
|
+
dt
|
|
4039
|
+
) : h.p && (!i || _ & /*$_, titleText*/
|
|
4038
4040
|
20) && h.p(f, i ? _ : -1), m ? m.p && (!i || _ & /*$$scope*/
|
|
4039
4041
|
32768) && Ee(
|
|
4040
4042
|
m,
|
|
@@ -4052,8 +4054,8 @@ function Ti(e) {
|
|
|
4052
4054
|
/*$$scope*/
|
|
4053
4055
|
f[15]
|
|
4054
4056
|
),
|
|
4055
|
-
|
|
4056
|
-
) : d
|
|
4057
|
+
mt
|
|
4058
|
+
) : d.p && (!i || _ & /*closeButton*/
|
|
4057
4059
|
8) && d.p(f, i ? _ : -1);
|
|
4058
4060
|
},
|
|
4059
4061
|
i(f) {
|
|
@@ -4063,25 +4065,25 @@ function Ti(e) {
|
|
|
4063
4065
|
Be(o, f), Be(h, f), Be(d, f), i = !1;
|
|
4064
4066
|
},
|
|
4065
4067
|
d(f) {
|
|
4066
|
-
f && C(t), o
|
|
4068
|
+
f && C(t), o.d(f), h.d(f), d.d(f), e[17](null);
|
|
4067
4069
|
}
|
|
4068
4070
|
};
|
|
4069
4071
|
}
|
|
4070
4072
|
function wi(e, t, r) {
|
|
4071
4073
|
let n;
|
|
4072
|
-
|
|
4074
|
+
tr(e, mi, (g) => r(4, n = g));
|
|
4073
4075
|
let { $$slots: i = {}, $$scope: s } = t, { clientstyling: u = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: a = "" } = t, { title: h = "header.general" } = t, { lang: c = "en" } = t, { showclosebutton: m = "" } = t, { mbsource: d = "" } = t, f, _ = !1, v, S = !1;
|
|
4074
4076
|
const A = () => {
|
|
4075
4077
|
fetch(l).then((g) => g.json()).then((g) => {
|
|
4076
|
-
Object.keys(g).forEach((
|
|
4077
|
-
|
|
4078
|
+
Object.keys(g).forEach((We) => {
|
|
4079
|
+
ft(We, g[We]);
|
|
4078
4080
|
});
|
|
4079
4081
|
}).catch((g) => {
|
|
4080
4082
|
console.log(g);
|
|
4081
4083
|
});
|
|
4082
4084
|
};
|
|
4083
|
-
Object.keys(
|
|
4084
|
-
|
|
4085
|
+
Object.keys(ct).forEach((g) => {
|
|
4086
|
+
ft(g, ct[g]);
|
|
4085
4087
|
});
|
|
4086
4088
|
const H = () => {
|
|
4087
4089
|
gi(c);
|
|
@@ -4093,12 +4095,12 @@ function wi(e, t, r) {
|
|
|
4093
4095
|
r(1, _ = !!a && a !== "false");
|
|
4094
4096
|
}, ne = () => {
|
|
4095
4097
|
r(3, S = !!m && m !== "false");
|
|
4096
|
-
},
|
|
4098
|
+
}, Jt = () => {
|
|
4097
4099
|
r(2, v = h || "header.general");
|
|
4098
4100
|
};
|
|
4099
|
-
|
|
4101
|
+
hr(() => () => {
|
|
4100
4102
|
});
|
|
4101
|
-
function
|
|
4103
|
+
function Yt(g) {
|
|
4102
4104
|
Pe[g ? "unshift" : "push"](() => {
|
|
4103
4105
|
f = g, r(0, f);
|
|
4104
4106
|
});
|
|
@@ -4108,7 +4110,7 @@ function wi(e, t, r) {
|
|
|
4108
4110
|
}, e.$$.update = () => {
|
|
4109
4111
|
e.$$.dirty & /*lang*/
|
|
4110
4112
|
4096 && c && H(), e.$$.dirty & /*lang, title*/
|
|
4111
|
-
6144 && c && h &&
|
|
4113
|
+
6144 && c && h && Jt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4112
4114
|
129 && u && f && di(f, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4113
4115
|
257 && o && f && bi(f, o), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4114
4116
|
16385 && d && f && pi(f, `${d}.Style`), e.$$.dirty & /*lang, translationurl*/
|
|
@@ -4133,17 +4135,17 @@ function wi(e, t, r) {
|
|
|
4133
4135
|
d,
|
|
4134
4136
|
s,
|
|
4135
4137
|
i,
|
|
4136
|
-
|
|
4138
|
+
Yt
|
|
4137
4139
|
];
|
|
4138
4140
|
}
|
|
4139
|
-
class
|
|
4141
|
+
class qt extends xr {
|
|
4140
4142
|
constructor(t) {
|
|
4141
|
-
super(),
|
|
4143
|
+
super(), _r(
|
|
4142
4144
|
this,
|
|
4143
4145
|
t,
|
|
4144
4146
|
wi,
|
|
4145
4147
|
Ti,
|
|
4146
|
-
|
|
4148
|
+
yt,
|
|
4147
4149
|
{
|
|
4148
4150
|
clientstyling: 7,
|
|
4149
4151
|
clientstylingurl: 8,
|
|
@@ -4206,35 +4208,35 @@ class Jt extends Er {
|
|
|
4206
4208
|
this.$$set({ mbsource: t }), T();
|
|
4207
4209
|
}
|
|
4208
4210
|
}
|
|
4209
|
-
|
|
4211
|
+
yr(qt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
4210
4212
|
const Oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4211
4213
|
__proto__: null,
|
|
4212
|
-
default:
|
|
4214
|
+
default: qt
|
|
4213
4215
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4214
4216
|
export {
|
|
4215
4217
|
I as $,
|
|
4216
4218
|
Oi as C,
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4219
|
+
xr as S,
|
|
4220
|
+
Xt as a,
|
|
4221
|
+
_r as b,
|
|
4222
|
+
yr as c,
|
|
4223
|
+
rr as d,
|
|
4222
4224
|
V as e,
|
|
4223
4225
|
T as f,
|
|
4224
|
-
|
|
4226
|
+
Qe as g,
|
|
4225
4227
|
Ai as h,
|
|
4226
4228
|
Xn as i,
|
|
4227
4229
|
Si as j,
|
|
4228
4230
|
X as k,
|
|
4229
4231
|
N as l,
|
|
4230
4232
|
fe as m,
|
|
4231
|
-
|
|
4233
|
+
Ht as n,
|
|
4232
4234
|
B as o,
|
|
4233
4235
|
C as p,
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4236
|
+
hr as q,
|
|
4237
|
+
Pe as r,
|
|
4238
|
+
yt as s,
|
|
4239
|
+
di as t,
|
|
4240
|
+
bi as u,
|
|
4241
|
+
pi as v
|
|
4240
4242
|
};
|