@everymatrix/cashier-iframe-redirect 1.74.3 → 1.74.4
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-HKFANYfC.js → CashierHeader-BdlgQxeq.js} +424 -426
- package/components/CashierHeader-DA2pPhHF.cjs +18 -0
- package/components/{CashierHeader-D-MmeP6r.js → CashierHeader-DjdNN8dr.js} +274 -276
- package/components/{CashierIframeRedirect-CYsB2y28.cjs → CashierIframeRedirect-BO2snwWb.cjs} +1 -1
- package/components/{CashierIframeRedirect-CT7z_d8o.js → CashierIframeRedirect-DdxT6W0J.js} +7 -7
- package/components/{CashierIframeRedirect-BLi8tzxq.js → CashierIframeRedirect-DzKrVC1W.js} +7 -7
- package/components/{CashierSpinner-BQHFuc1O.js → CashierSpinner-2Ixyimor.js} +5 -5
- package/components/{CashierSpinner-BSiTSZKj.js → CashierSpinner-CR1AP65q.js} +5 -5
- package/components/{CashierSpinner-i5zpty0N.cjs → CashierSpinner-DXsFc8Xm.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-BEHMHJL-.cjs +0 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function B() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function er(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,29 +8,29 @@ function Kt(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function yt(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function Qe() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
17
|
function ee(e) {
|
|
18
|
-
e.forEach(
|
|
18
|
+
e.forEach(yt);
|
|
19
19
|
}
|
|
20
20
|
function je(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function xt(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 tr(e) {
|
|
31
31
|
return Object.keys(e).length === 0;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Et(e, ...t) {
|
|
34
34
|
if (e == null) {
|
|
35
35
|
for (const n of t)
|
|
36
36
|
n(void 0);
|
|
@@ -39,17 +39,17 @@ function xt(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 rr(e, t, r) {
|
|
43
|
+
e.$$.on_destroy.push(Et(t, r));
|
|
44
44
|
}
|
|
45
45
|
function ye(e, t, r, n) {
|
|
46
46
|
if (e) {
|
|
47
|
-
const i =
|
|
47
|
+
const i = vt(e, t, r, n);
|
|
48
48
|
return e[0](i);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return e[1] && n ?
|
|
51
|
+
function vt(e, t, r, n) {
|
|
52
|
+
return e[1] && n ? er(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 = vt(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 nr(e, t, r) {
|
|
88
|
+
const n = ir(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, sr(n, i);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function ir(e) {
|
|
95
95
|
if (!e)
|
|
96
96
|
return document;
|
|
97
97
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -101,7 +101,7 @@ function nr(e) {
|
|
|
101
101
|
t
|
|
102
102
|
) : e.ownerDocument;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function sr(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 Ht() {
|
|
127
127
|
return ke("");
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Bt(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 or(e) {
|
|
140
140
|
return Array.from(e.childNodes);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function ar(e, t) {
|
|
143
143
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
144
144
|
t);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function ur(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 hr() {
|
|
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 lr(e) {
|
|
165
|
+
hr().$$.on_mount.push(e);
|
|
166
166
|
}
|
|
167
167
|
const U = [], Pe = [];
|
|
168
168
|
let D = [];
|
|
169
|
-
const
|
|
169
|
+
const Je = [], fr = /* @__PURE__ */ Promise.resolve();
|
|
170
170
|
let Le = !1;
|
|
171
|
-
function
|
|
172
|
-
Le || (Le = !0,
|
|
171
|
+
function cr() {
|
|
172
|
+
Le || (Le = !0, fr.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), mr(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 (; Je.length; )
|
|
201
|
+
Je.pop()();
|
|
202
202
|
Le = !1, He.clear(), q(e);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function mr(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 dr(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 br;
|
|
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), br.c.push(() => {
|
|
225
225
|
oe.delete(e);
|
|
226
226
|
}), e.o(t);
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function pr(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(yt).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 gr(e, t) {
|
|
237
237
|
const r = e.$$;
|
|
238
|
-
r.fragment !== null && (
|
|
238
|
+
r.fragment !== null && (dr(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 _r(e, t) {
|
|
241
|
+
e.$$.dirty[0] === -1 && (U.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function yr(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 _r(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: Qe(),
|
|
254
254
|
// lifecycle
|
|
255
255
|
on_mount: [],
|
|
256
256
|
on_destroy: [],
|
|
@@ -259,7 +259,7 @@ function _r(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: Qe(),
|
|
263
263
|
dirty: o,
|
|
264
264
|
skip_bound: !1,
|
|
265
265
|
root: t.target || l.$$.root
|
|
@@ -268,19 +268,19 @@ function _r(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 && _r(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 = or(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), pr(e, t.target, t.anchor), T();
|
|
279
279
|
}
|
|
280
280
|
q(l);
|
|
281
281
|
}
|
|
282
|
-
let
|
|
283
|
-
typeof HTMLElement == "function" && (
|
|
282
|
+
let Tt;
|
|
283
|
+
typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
284
284
|
/** The Svelte component constructor */
|
|
285
285
|
$$ctor;
|
|
286
286
|
/** Slots */
|
|
@@ -339,7 +339,7 @@ typeof HTMLElement == "function" && (Bt = 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 = ur(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 xr(e, t, r, n, i, s) {
|
|
430
|
+
let u = class extends Tt {
|
|
431
431
|
constructor() {
|
|
432
432
|
super(e, r, i), this.$$p_d = t;
|
|
433
433
|
}
|
|
@@ -455,7 +455,7 @@ function yr(e, t, r, n, i, s) {
|
|
|
455
455
|
}), e.element = /** @type {any} */
|
|
456
456
|
u, u;
|
|
457
457
|
}
|
|
458
|
-
class
|
|
458
|
+
class Er {
|
|
459
459
|
/**
|
|
460
460
|
* ### PRIVATE API
|
|
461
461
|
*
|
|
@@ -474,7 +474,7 @@ class xr {
|
|
|
474
474
|
$$set = void 0;
|
|
475
475
|
/** @returns {void} */
|
|
476
476
|
$destroy() {
|
|
477
|
-
|
|
477
|
+
gr(this, 1), this.$destroy = B;
|
|
478
478
|
}
|
|
479
479
|
/**
|
|
480
480
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -496,13 +496,13 @@ class xr {
|
|
|
496
496
|
* @returns {void}
|
|
497
497
|
*/
|
|
498
498
|
$set(t) {
|
|
499
|
-
this.$$set && !
|
|
499
|
+
this.$$set && !tr(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 vr = "4";
|
|
503
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vr);
|
|
504
504
|
const R = [];
|
|
505
|
-
function
|
|
505
|
+
function Hr(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 (xt(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 Hr(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, _) => Et(
|
|
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.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
567
|
+
function Br(e) {
|
|
568
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
569
569
|
}
|
|
570
|
-
var
|
|
571
|
-
return
|
|
570
|
+
var Tr = function(t) {
|
|
571
|
+
return wr(t) && !Sr(t);
|
|
572
572
|
};
|
|
573
|
-
function
|
|
573
|
+
function wr(e) {
|
|
574
574
|
return !!e && typeof e == "object";
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function Sr(e) {
|
|
577
577
|
var t = Object.prototype.toString.call(e);
|
|
578
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
579
|
-
}
|
|
580
|
-
var Sr = typeof Symbol == "function" && Symbol.for, Ar = Sr ? Symbol.for("react.element") : 60103;
|
|
581
|
-
function Or(e) {
|
|
582
|
-
return e.$$typeof === Ar;
|
|
578
|
+
return t === "[object RegExp]" || t === "[object Date]" || Cr(e);
|
|
583
579
|
}
|
|
580
|
+
var Ar = typeof Symbol == "function" && Symbol.for, Or = Ar ? Symbol.for("react.element") : 60103;
|
|
584
581
|
function Cr(e) {
|
|
582
|
+
return e.$$typeof === Or;
|
|
583
|
+
}
|
|
584
|
+
function Pr(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(Pr(e), e, t) : e;
|
|
589
589
|
}
|
|
590
|
-
function
|
|
590
|
+
function Lr(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 Nr(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 Ir(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 Ye(e) {
|
|
607
|
+
return Object.keys(e).concat(Ir(e));
|
|
608
608
|
}
|
|
609
|
-
function
|
|
609
|
+
function wt(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 Mr(e, t) {
|
|
617
|
+
return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function $r(e, t, r) {
|
|
620
620
|
var n = {};
|
|
621
|
-
return r.isMergeableObject(e) &&
|
|
621
|
+
return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
|
|
622
622
|
n[i] = Y(e[i], r);
|
|
623
|
-
}),
|
|
624
|
-
|
|
623
|
+
}), Ye(t).forEach(function(i) {
|
|
624
|
+
Mr(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nr(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 || Lr, r.isMergeableObject = r.isMergeableObject || Tr, 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) : $r(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 Rr = G, Ur = Rr;
|
|
640
|
+
const Dr = /* @__PURE__ */ Br(Ur);
|
|
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 Gr(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,57 +695,55 @@ 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 : Xr, i = t && t.strategy ? t.strategy : jr;
|
|
699
699
|
return i(e, {
|
|
700
700
|
cache: r,
|
|
701
701
|
serializer: n
|
|
702
702
|
});
|
|
703
703
|
}
|
|
704
|
-
function
|
|
704
|
+
function Fr(e) {
|
|
705
705
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
706
706
|
}
|
|
707
|
-
function
|
|
708
|
-
var i =
|
|
707
|
+
function St(e, t, r, n) {
|
|
708
|
+
var i = Fr(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 At(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 Fr(e, t) {
|
|
719
|
-
var r = e.length === 1 ? wt : St;
|
|
720
|
-
return Ve(e, this, r, t.cache.create(), t.serializer);
|
|
721
|
-
}
|
|
722
718
|
function jr(e, t) {
|
|
723
|
-
|
|
719
|
+
var r = e.length === 1 ? St : At;
|
|
720
|
+
return Ve(e, this, r, t.cache.create(), t.serializer);
|
|
724
721
|
}
|
|
725
722
|
function kr(e, t) {
|
|
726
|
-
return Ve(e, this,
|
|
723
|
+
return Ve(e, this, At, t.cache.create(), t.serializer);
|
|
727
724
|
}
|
|
728
|
-
|
|
725
|
+
function Vr(e, t) {
|
|
726
|
+
return Ve(e, this, St, t.cache.create(), t.serializer);
|
|
727
|
+
}
|
|
728
|
+
var Xr = function() {
|
|
729
729
|
return JSON.stringify(arguments);
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
}()
|
|
742
|
-
), zr = {
|
|
730
|
+
};
|
|
731
|
+
function Xe() {
|
|
732
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
733
|
+
}
|
|
734
|
+
Xe.prototype.get = function(e) {
|
|
735
|
+
return this.cache[e];
|
|
736
|
+
};
|
|
737
|
+
Xe.prototype.set = function(e, t) {
|
|
738
|
+
this.cache[e] = t;
|
|
739
|
+
};
|
|
740
|
+
var zr = {
|
|
743
741
|
create: function() {
|
|
744
|
-
return new
|
|
742
|
+
return new Xe();
|
|
745
743
|
}
|
|
746
744
|
}, Se = {
|
|
747
|
-
variadic:
|
|
748
|
-
monadic:
|
|
745
|
+
variadic: kr,
|
|
746
|
+
monadic: Vr
|
|
749
747
|
}, b;
|
|
750
748
|
(function(e) {
|
|
751
749
|
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";
|
|
@@ -758,40 +756,40 @@ var F;
|
|
|
758
756
|
(function(e) {
|
|
759
757
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
760
758
|
})(F || (F = {}));
|
|
761
|
-
function
|
|
759
|
+
function Ke(e) {
|
|
762
760
|
return e.type === x.literal;
|
|
763
761
|
}
|
|
764
762
|
function Wr(e) {
|
|
765
763
|
return e.type === x.argument;
|
|
766
764
|
}
|
|
767
|
-
function
|
|
765
|
+
function Ot(e) {
|
|
768
766
|
return e.type === x.number;
|
|
769
767
|
}
|
|
770
|
-
function
|
|
768
|
+
function Ct(e) {
|
|
771
769
|
return e.type === x.date;
|
|
772
770
|
}
|
|
773
|
-
function
|
|
771
|
+
function Pt(e) {
|
|
774
772
|
return e.type === x.time;
|
|
775
773
|
}
|
|
776
|
-
function
|
|
774
|
+
function Lt(e) {
|
|
777
775
|
return e.type === x.select;
|
|
778
776
|
}
|
|
779
|
-
function
|
|
777
|
+
function Nt(e) {
|
|
780
778
|
return e.type === x.plural;
|
|
781
779
|
}
|
|
782
780
|
function Zr(e) {
|
|
783
781
|
return e.type === x.pound;
|
|
784
782
|
}
|
|
785
|
-
function
|
|
783
|
+
function It(e) {
|
|
786
784
|
return e.type === x.tag;
|
|
787
785
|
}
|
|
788
|
-
function
|
|
786
|
+
function Mt(e) {
|
|
789
787
|
return !!(e && typeof e == "object" && e.type === F.number);
|
|
790
788
|
}
|
|
791
789
|
function Me(e) {
|
|
792
790
|
return !!(e && typeof e == "object" && e.type === F.dateTime);
|
|
793
791
|
}
|
|
794
|
-
var
|
|
792
|
+
var $t = /[ \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;
|
|
795
793
|
function qr(e) {
|
|
796
794
|
var t = {};
|
|
797
795
|
return e.replace(Qr, function(r) {
|
|
@@ -905,14 +903,14 @@ function Yr(e) {
|
|
|
905
903
|
function Kr(e) {
|
|
906
904
|
return e.replace(/^(.*?)-/, "");
|
|
907
905
|
}
|
|
908
|
-
var
|
|
909
|
-
function
|
|
906
|
+
var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rt = /^(@+)?(\+|#+)?[rs]?$/g, en = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
|
|
907
|
+
function tt(e) {
|
|
910
908
|
var t = {};
|
|
911
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
909
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rt, function(r, n, i) {
|
|
912
910
|
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)), "";
|
|
913
911
|
}), t;
|
|
914
912
|
}
|
|
915
|
-
function
|
|
913
|
+
function Dt(e) {
|
|
916
914
|
switch (e) {
|
|
917
915
|
case "sign-auto":
|
|
918
916
|
return {
|
|
@@ -960,14 +958,14 @@ function tn(e) {
|
|
|
960
958
|
notation: "scientific"
|
|
961
959
|
}, e = e.slice(1)), t) {
|
|
962
960
|
var r = e.slice(0, 2);
|
|
963
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
961
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ut.test(e))
|
|
964
962
|
throw new Error("Malformed concise eng/scientific notation");
|
|
965
963
|
t.minimumIntegerDigits = e.length;
|
|
966
964
|
}
|
|
967
965
|
return t;
|
|
968
966
|
}
|
|
969
|
-
function
|
|
970
|
-
var t = {}, r =
|
|
967
|
+
function rt(e) {
|
|
968
|
+
var t = {}, r = Dt(e);
|
|
971
969
|
return r || t;
|
|
972
970
|
}
|
|
973
971
|
function rn(e) {
|
|
@@ -1006,12 +1004,12 @@ function rn(e) {
|
|
|
1006
1004
|
continue;
|
|
1007
1005
|
case "scientific":
|
|
1008
1006
|
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
|
|
1009
|
-
return y(y({}, l),
|
|
1007
|
+
return y(y({}, l), rt(a));
|
|
1010
1008
|
}, {}));
|
|
1011
1009
|
continue;
|
|
1012
1010
|
case "engineering":
|
|
1013
1011
|
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
|
|
1014
|
-
return y(y({}, l),
|
|
1012
|
+
return y(y({}, l), rt(a));
|
|
1015
1013
|
}, {}));
|
|
1016
1014
|
continue;
|
|
1017
1015
|
case "notation-simple":
|
|
@@ -1069,25 +1067,25 @@ function rn(e) {
|
|
|
1069
1067
|
});
|
|
1070
1068
|
continue;
|
|
1071
1069
|
}
|
|
1072
|
-
if (
|
|
1070
|
+
if (Ut.test(i.stem)) {
|
|
1073
1071
|
t.minimumIntegerDigits = i.stem.length;
|
|
1074
1072
|
continue;
|
|
1075
1073
|
}
|
|
1076
|
-
if (
|
|
1074
|
+
if (et.test(i.stem)) {
|
|
1077
1075
|
if (i.options.length > 1)
|
|
1078
1076
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1079
|
-
i.stem.replace(
|
|
1077
|
+
i.stem.replace(et, function(l, a, h, c, m, d) {
|
|
1080
1078
|
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), "";
|
|
1081
1079
|
});
|
|
1082
1080
|
var s = i.options[0];
|
|
1083
|
-
s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t),
|
|
1081
|
+
s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), tt(s)));
|
|
1084
1082
|
continue;
|
|
1085
1083
|
}
|
|
1086
|
-
if (
|
|
1087
|
-
t = y(y({}, t),
|
|
1084
|
+
if (Rt.test(i.stem)) {
|
|
1085
|
+
t = y(y({}, t), tt(i.stem));
|
|
1088
1086
|
continue;
|
|
1089
1087
|
}
|
|
1090
|
-
var u =
|
|
1088
|
+
var u = Dt(i.stem);
|
|
1091
1089
|
u && (t = y(y({}, t), u));
|
|
1092
1090
|
var o = tn(i.stem);
|
|
1093
1091
|
o && (t = y(y({}, t), o));
|
|
@@ -2547,7 +2545,7 @@ function sn(e) {
|
|
|
2547
2545
|
var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
|
|
2548
2546
|
return i[0];
|
|
2549
2547
|
}
|
|
2550
|
-
var Ae, on = new RegExp("^".concat(
|
|
2548
|
+
var Ae, on = new RegExp("^".concat($t.source, "*")), an = new RegExp("".concat($t.source, "*$"));
|
|
2551
2549
|
function p(e, t) {
|
|
2552
2550
|
return { start: e, end: t };
|
|
2553
2551
|
}
|
|
@@ -2555,12 +2553,12 @@ var un = !!String.prototype.startsWith && "_a".startsWith("a", 1), hn = !!String
|
|
|
2555
2553
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2556
2554
|
}, $e = !0;
|
|
2557
2555
|
try {
|
|
2558
|
-
var pn =
|
|
2556
|
+
var pn = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2559
2557
|
$e = ((Ae = pn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
|
|
2560
2558
|
} catch {
|
|
2561
2559
|
$e = !1;
|
|
2562
2560
|
}
|
|
2563
|
-
var
|
|
2561
|
+
var nt = un ? (
|
|
2564
2562
|
// Native
|
|
2565
2563
|
function(t, r, n) {
|
|
2566
2564
|
return t.startsWith(r, n);
|
|
@@ -2582,7 +2580,7 @@ var rt = un ? (
|
|
|
2582
2580
|
}
|
|
2583
2581
|
return n;
|
|
2584
2582
|
}
|
|
2585
|
-
),
|
|
2583
|
+
), it = (
|
|
2586
2584
|
// native
|
|
2587
2585
|
ln ? Object.fromEntries : (
|
|
2588
2586
|
// Ponyfill
|
|
@@ -2594,7 +2592,7 @@ var rt = un ? (
|
|
|
2594
2592
|
return r;
|
|
2595
2593
|
}
|
|
2596
2594
|
)
|
|
2597
|
-
),
|
|
2595
|
+
), Gt = fn ? (
|
|
2598
2596
|
// Native
|
|
2599
2597
|
function(t, r) {
|
|
2600
2598
|
return t.codePointAt(r);
|
|
@@ -2629,23 +2627,23 @@ var rt = un ? (
|
|
|
2629
2627
|
return t.replace(an, "");
|
|
2630
2628
|
}
|
|
2631
2629
|
);
|
|
2632
|
-
function
|
|
2630
|
+
function Ft(e, t) {
|
|
2633
2631
|
return new RegExp(e, t);
|
|
2634
2632
|
}
|
|
2635
2633
|
var Ue;
|
|
2636
2634
|
if ($e) {
|
|
2637
|
-
var
|
|
2635
|
+
var st = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2638
2636
|
Ue = function(t, r) {
|
|
2639
2637
|
var n;
|
|
2640
|
-
|
|
2641
|
-
var i =
|
|
2638
|
+
st.lastIndex = r;
|
|
2639
|
+
var i = st.exec(t);
|
|
2642
2640
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2643
2641
|
};
|
|
2644
2642
|
} else
|
|
2645
2643
|
Ue = function(t, r) {
|
|
2646
2644
|
for (var n = []; ; ) {
|
|
2647
|
-
var i =
|
|
2648
|
-
if (i === void 0 ||
|
|
2645
|
+
var i = Gt(t, r);
|
|
2646
|
+
if (i === void 0 || jt(i) || vn(i))
|
|
2649
2647
|
break;
|
|
2650
2648
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2651
2649
|
}
|
|
@@ -2859,7 +2857,7 @@ var yn = (
|
|
|
2859
2857
|
if (f.err)
|
|
2860
2858
|
return f;
|
|
2861
2859
|
var _ = p(i, this.clonePosition());
|
|
2862
|
-
if (a &&
|
|
2860
|
+
if (a && nt(a?.style, "::", 0)) {
|
|
2863
2861
|
var v = gn(a.style.slice(2));
|
|
2864
2862
|
if (o === "number") {
|
|
2865
2863
|
var c = this.parseNumberSkeletonFromString(v, a.styleLocation);
|
|
@@ -2922,7 +2920,7 @@ var yn = (
|
|
|
2922
2920
|
val: {
|
|
2923
2921
|
type: x.select,
|
|
2924
2922
|
value: n,
|
|
2925
|
-
options:
|
|
2923
|
+
options: it(M.val),
|
|
2926
2924
|
location: ne
|
|
2927
2925
|
},
|
|
2928
2926
|
err: null
|
|
@@ -2930,7 +2928,7 @@ var yn = (
|
|
|
2930
2928
|
val: {
|
|
2931
2929
|
type: x.plural,
|
|
2932
2930
|
value: n,
|
|
2933
|
-
options:
|
|
2931
|
+
options: it(M.val),
|
|
2934
2932
|
offset: w,
|
|
2935
2933
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2936
2934
|
location: ne
|
|
@@ -3053,7 +3051,7 @@ var yn = (
|
|
|
3053
3051
|
var t = this.position.offset;
|
|
3054
3052
|
if (t >= this.message.length)
|
|
3055
3053
|
throw Error("out of bound");
|
|
3056
|
-
var r =
|
|
3054
|
+
var r = Gt(this.message, t);
|
|
3057
3055
|
if (r === void 0)
|
|
3058
3056
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3059
3057
|
return r;
|
|
@@ -3072,7 +3070,7 @@ var yn = (
|
|
|
3072
3070
|
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);
|
|
3073
3071
|
}
|
|
3074
3072
|
}, e.prototype.bumpIf = function(t) {
|
|
3075
|
-
if (
|
|
3073
|
+
if (nt(this.message, t, this.offset())) {
|
|
3076
3074
|
for (var r = 0; r < t.length; r++)
|
|
3077
3075
|
this.bump();
|
|
3078
3076
|
return !0;
|
|
@@ -3094,7 +3092,7 @@ var yn = (
|
|
|
3094
3092
|
break;
|
|
3095
3093
|
}
|
|
3096
3094
|
}, e.prototype.bumpSpace = function() {
|
|
3097
|
-
for (; !this.isEOF() &&
|
|
3095
|
+
for (; !this.isEOF() && jt(this.char()); )
|
|
3098
3096
|
this.bump();
|
|
3099
3097
|
}, e.prototype.peek = function() {
|
|
3100
3098
|
if (this.isEOF())
|
|
@@ -3113,7 +3111,7 @@ function xn(e) {
|
|
|
3113
3111
|
function En(e) {
|
|
3114
3112
|
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;
|
|
3115
3113
|
}
|
|
3116
|
-
function
|
|
3114
|
+
function jt(e) {
|
|
3117
3115
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3118
3116
|
}
|
|
3119
3117
|
function vn(e) {
|
|
@@ -3121,11 +3119,11 @@ function vn(e) {
|
|
|
3121
3119
|
}
|
|
3122
3120
|
function Ge(e) {
|
|
3123
3121
|
e.forEach(function(t) {
|
|
3124
|
-
if (delete t.location,
|
|
3122
|
+
if (delete t.location, Lt(t) || Nt(t))
|
|
3125
3123
|
for (var r in t.options)
|
|
3126
3124
|
delete t.options[r].location, Ge(t.options[r].value);
|
|
3127
3125
|
else
|
|
3128
|
-
|
|
3126
|
+
Ot(t) && Mt(t.style) || (Ct(t) || Pt(t)) && Me(t.style) ? delete t.style.location : It(t) && Ge(t.children);
|
|
3129
3127
|
});
|
|
3130
3128
|
}
|
|
3131
3129
|
function Hn(e, t) {
|
|
@@ -3153,7 +3151,7 @@ var ge = (
|
|
|
3153
3151
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3154
3152
|
}, t;
|
|
3155
3153
|
}(Error)
|
|
3156
|
-
),
|
|
3154
|
+
), ot = (
|
|
3157
3155
|
/** @class */
|
|
3158
3156
|
function(e) {
|
|
3159
3157
|
pe(t, e);
|
|
@@ -3194,7 +3192,7 @@ function Sn(e) {
|
|
|
3194
3192
|
return typeof e == "function";
|
|
3195
3193
|
}
|
|
3196
3194
|
function he(e, t, r, n, i, s, u) {
|
|
3197
|
-
if (e.length === 1 &&
|
|
3195
|
+
if (e.length === 1 && Ke(e[0]))
|
|
3198
3196
|
return [
|
|
3199
3197
|
{
|
|
3200
3198
|
type: E.literal,
|
|
@@ -3203,7 +3201,7 @@ function he(e, t, r, n, i, s, u) {
|
|
|
3203
3201
|
];
|
|
3204
3202
|
for (var o = [], l = 0, a = e; l < a.length; l++) {
|
|
3205
3203
|
var h = a[l];
|
|
3206
|
-
if (
|
|
3204
|
+
if (Ke(h)) {
|
|
3207
3205
|
o.push({
|
|
3208
3206
|
type: E.literal,
|
|
3209
3207
|
value: h.value
|
|
@@ -3228,7 +3226,7 @@ function he(e, t, r, n, i, s, u) {
|
|
|
3228
3226
|
});
|
|
3229
3227
|
continue;
|
|
3230
3228
|
}
|
|
3231
|
-
if (
|
|
3229
|
+
if (Ct(h)) {
|
|
3232
3230
|
var d = typeof h.style == "string" ? n.date[h.style] : Me(h.style) ? h.style.parsedOptions : void 0;
|
|
3233
3231
|
o.push({
|
|
3234
3232
|
type: E.literal,
|
|
@@ -3236,7 +3234,7 @@ function he(e, t, r, n, i, s, u) {
|
|
|
3236
3234
|
});
|
|
3237
3235
|
continue;
|
|
3238
3236
|
}
|
|
3239
|
-
if (
|
|
3237
|
+
if (Pt(h)) {
|
|
3240
3238
|
var d = typeof h.style == "string" ? n.time[h.style] : Me(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3241
3239
|
o.push({
|
|
3242
3240
|
type: E.literal,
|
|
@@ -3244,15 +3242,15 @@ function he(e, t, r, n, i, s, u) {
|
|
|
3244
3242
|
});
|
|
3245
3243
|
continue;
|
|
3246
3244
|
}
|
|
3247
|
-
if (
|
|
3248
|
-
var d = typeof h.style == "string" ? n.number[h.style] :
|
|
3245
|
+
if (Ot(h)) {
|
|
3246
|
+
var d = typeof h.style == "string" ? n.number[h.style] : Mt(h.style) ? h.style.parsedOptions : void 0;
|
|
3249
3247
|
d && d.scale && (m = m * (d.scale || 1)), o.push({
|
|
3250
3248
|
type: E.literal,
|
|
3251
3249
|
value: r.getNumberFormat(t, d).format(m)
|
|
3252
3250
|
});
|
|
3253
3251
|
continue;
|
|
3254
3252
|
}
|
|
3255
|
-
if (
|
|
3253
|
+
if (It(h)) {
|
|
3256
3254
|
var f = h.children, _ = h.value, v = i[_];
|
|
3257
3255
|
if (!Sn(v))
|
|
3258
3256
|
throw new Bn(_, "function", u);
|
|
@@ -3266,14 +3264,14 @@ function he(e, t, r, n, i, s, u) {
|
|
|
3266
3264
|
};
|
|
3267
3265
|
}));
|
|
3268
3266
|
}
|
|
3269
|
-
if (
|
|
3267
|
+
if (Lt(h)) {
|
|
3270
3268
|
var H = h.options[m] || h.options.other;
|
|
3271
3269
|
if (!H)
|
|
3272
|
-
throw new
|
|
3270
|
+
throw new ot(h.value, m, Object.keys(h.options), u);
|
|
3273
3271
|
o.push.apply(o, he(H.value, t, r, n, i));
|
|
3274
3272
|
continue;
|
|
3275
3273
|
}
|
|
3276
|
-
if (
|
|
3274
|
+
if (Nt(h)) {
|
|
3277
3275
|
var H = h.options["=".concat(m)];
|
|
3278
3276
|
if (!H) {
|
|
3279
3277
|
if (!Intl.PluralRules)
|
|
@@ -3284,7 +3282,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3284
3282
|
H = h.options[L] || h.options.other;
|
|
3285
3283
|
}
|
|
3286
3284
|
if (!H)
|
|
3287
|
-
throw new
|
|
3285
|
+
throw new ot(h.value, m, Object.keys(h.options), u);
|
|
3288
3286
|
o.push.apply(o, he(H.value, t, r, n, i, m - (h.offset || 0)));
|
|
3289
3287
|
continue;
|
|
3290
3288
|
}
|
|
@@ -3347,7 +3345,7 @@ function Cn(e) {
|
|
|
3347
3345
|
})
|
|
3348
3346
|
};
|
|
3349
3347
|
}
|
|
3350
|
-
var
|
|
3348
|
+
var kt = (
|
|
3351
3349
|
/** @class */
|
|
3352
3350
|
function() {
|
|
3353
3351
|
function e(t, r, n, i) {
|
|
@@ -3379,7 +3377,7 @@ var jt = (
|
|
|
3379
3377
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3380
3378
|
var u = i || {};
|
|
3381
3379
|
u.formatters;
|
|
3382
|
-
var o =
|
|
3380
|
+
var o = Gr(u, ["formatters"]);
|
|
3383
3381
|
this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
|
|
3384
3382
|
} else
|
|
3385
3383
|
this.ast = t;
|
|
@@ -3480,7 +3478,7 @@ function Pn(e, t) {
|
|
|
3480
3478
|
n = void 0;
|
|
3481
3479
|
return n;
|
|
3482
3480
|
}
|
|
3483
|
-
const O = {}, Ln = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r),
|
|
3481
|
+
const O = {}, Ln = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Vt = (e, t) => {
|
|
3484
3482
|
if (t == null)
|
|
3485
3483
|
return;
|
|
3486
3484
|
if (t in O && e in O[t])
|
|
@@ -3492,16 +3490,16 @@ const O = {}, Ln = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][
|
|
|
3492
3490
|
return Ln(e, t, s);
|
|
3493
3491
|
}
|
|
3494
3492
|
};
|
|
3495
|
-
let
|
|
3493
|
+
let ze;
|
|
3496
3494
|
const te = be({});
|
|
3497
3495
|
function Nn(e) {
|
|
3498
|
-
return
|
|
3496
|
+
return ze[e] || null;
|
|
3499
3497
|
}
|
|
3500
|
-
function
|
|
3501
|
-
return e in
|
|
3498
|
+
function Xt(e) {
|
|
3499
|
+
return e in ze;
|
|
3502
3500
|
}
|
|
3503
3501
|
function In(e, t) {
|
|
3504
|
-
if (!
|
|
3502
|
+
if (!Xt(e))
|
|
3505
3503
|
return null;
|
|
3506
3504
|
const r = Nn(e);
|
|
3507
3505
|
return Pn(r, t);
|
|
@@ -3512,28 +3510,28 @@ function Mn(e) {
|
|
|
3512
3510
|
const t = re(e);
|
|
3513
3511
|
for (let r = 0; r < t.length; r++) {
|
|
3514
3512
|
const n = t[r];
|
|
3515
|
-
if (
|
|
3513
|
+
if (Xt(n))
|
|
3516
3514
|
return n;
|
|
3517
3515
|
}
|
|
3518
3516
|
}
|
|
3519
|
-
function
|
|
3520
|
-
delete O[e], te.update((r) => (r[e] =
|
|
3517
|
+
function zt(e, ...t) {
|
|
3518
|
+
delete O[e], te.update((r) => (r[e] = Dr.all([r[e] || {}, ...t]), r));
|
|
3521
3519
|
}
|
|
3522
3520
|
z(
|
|
3523
3521
|
[te],
|
|
3524
3522
|
([e]) => Object.keys(e)
|
|
3525
3523
|
);
|
|
3526
|
-
te.subscribe((e) =>
|
|
3524
|
+
te.subscribe((e) => ze = e);
|
|
3527
3525
|
const le = {};
|
|
3528
3526
|
function $n(e, t) {
|
|
3529
3527
|
le[e].delete(t), le[e].size === 0 && delete le[e];
|
|
3530
3528
|
}
|
|
3531
|
-
function
|
|
3529
|
+
function Wt(e) {
|
|
3532
3530
|
return le[e];
|
|
3533
3531
|
}
|
|
3534
3532
|
function Rn(e) {
|
|
3535
3533
|
return re(e).map((t) => {
|
|
3536
|
-
const r =
|
|
3534
|
+
const r = Wt(t);
|
|
3537
3535
|
return [t, r ? [...r] : []];
|
|
3538
3536
|
}).filter(([, t]) => t.length > 0);
|
|
3539
3537
|
}
|
|
@@ -3541,17 +3539,17 @@ function ce(e) {
|
|
|
3541
3539
|
return e == null ? !1 : re(e).some(
|
|
3542
3540
|
(t) => {
|
|
3543
3541
|
var r;
|
|
3544
|
-
return (r =
|
|
3542
|
+
return (r = Wt(t)) == null ? void 0 : r.size;
|
|
3545
3543
|
}
|
|
3546
3544
|
);
|
|
3547
3545
|
}
|
|
3548
3546
|
function Un(e, t) {
|
|
3549
3547
|
return Promise.all(
|
|
3550
3548
|
t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
|
|
3551
|
-
).then((n) =>
|
|
3549
|
+
).then((n) => zt(e, ...n));
|
|
3552
3550
|
}
|
|
3553
3551
|
const Z = {};
|
|
3554
|
-
function
|
|
3552
|
+
function Zt(e) {
|
|
3555
3553
|
if (!ce(e))
|
|
3556
3554
|
return e in Z ? Z[e] : Promise.resolve();
|
|
3557
3555
|
const t = Rn(e);
|
|
@@ -3561,16 +3559,16 @@ function Wt(e) {
|
|
|
3561
3559
|
)
|
|
3562
3560
|
).then(() => {
|
|
3563
3561
|
if (ce(e))
|
|
3564
|
-
return
|
|
3562
|
+
return Zt(e);
|
|
3565
3563
|
delete Z[e];
|
|
3566
3564
|
}), Z[e];
|
|
3567
3565
|
}
|
|
3568
|
-
var
|
|
3566
|
+
var at = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, Fn = (e, t) => {
|
|
3569
3567
|
var r = {};
|
|
3570
3568
|
for (var n in e)
|
|
3571
3569
|
Dn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3572
|
-
if (e != null &&
|
|
3573
|
-
for (var n of
|
|
3570
|
+
if (e != null && at)
|
|
3571
|
+
for (var n of at(e))
|
|
3574
3572
|
t.indexOf(n) < 0 && Gn.call(e, n) && (r[n] = e[n]);
|
|
3575
3573
|
return r;
|
|
3576
3574
|
};
|
|
@@ -3629,7 +3627,7 @@ function Xn(e) {
|
|
|
3629
3627
|
let i = e.fallbackLocale;
|
|
3630
3628
|
if (e.initialLocale)
|
|
3631
3629
|
try {
|
|
3632
|
-
|
|
3630
|
+
kt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3633
3631
|
} catch {
|
|
3634
3632
|
console.warn(
|
|
3635
3633
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
@@ -3640,22 +3638,22 @@ function Xn(e) {
|
|
|
3640
3638
|
)), 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);
|
|
3641
3639
|
}
|
|
3642
3640
|
const Ce = be(!1);
|
|
3643
|
-
var zn = Object.defineProperty, Wn = Object.defineProperties, Zn = Object.getOwnPropertyDescriptors,
|
|
3644
|
-
for (var r in t)
|
|
3645
|
-
Qn.call(t, r) &&
|
|
3646
|
-
if (
|
|
3647
|
-
for (var r of
|
|
3648
|
-
qn.call(t, r) &&
|
|
3641
|
+
var zn = Object.defineProperty, Wn = Object.defineProperties, Zn = Object.getOwnPropertyDescriptors, ut = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jn = (e, t) => {
|
|
3642
|
+
for (var r in t || (t = {}))
|
|
3643
|
+
Qn.call(t, r) && ht(e, r, t[r]);
|
|
3644
|
+
if (ut)
|
|
3645
|
+
for (var r of ut(t))
|
|
3646
|
+
qn.call(t, r) && ht(e, r, t[r]);
|
|
3649
3647
|
return e;
|
|
3650
3648
|
}, Yn = (e, t) => Wn(e, Zn(t));
|
|
3651
3649
|
let Fe;
|
|
3652
3650
|
const me = be(null);
|
|
3653
|
-
function
|
|
3651
|
+
function lt(e) {
|
|
3654
3652
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3655
3653
|
}
|
|
3656
3654
|
function re(e, t = k().fallbackLocale) {
|
|
3657
|
-
const r =
|
|
3658
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3655
|
+
const r = lt(e);
|
|
3656
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...lt(t)])] : r;
|
|
3659
3657
|
}
|
|
3660
3658
|
function P() {
|
|
3661
3659
|
return Fe ?? void 0;
|
|
@@ -3670,7 +3668,7 @@ const Kn = (e) => {
|
|
|
3670
3668
|
return typeof window < "u" && P() != null && t ? r = window.setTimeout(
|
|
3671
3669
|
() => Ce.set(!0),
|
|
3672
3670
|
t
|
|
3673
|
-
) : Ce.set(!0),
|
|
3671
|
+
) : Ce.set(!0), Zt(e).then(() => {
|
|
3674
3672
|
me.set(e);
|
|
3675
3673
|
}).finally(() => {
|
|
3676
3674
|
clearTimeout(r), Ce.set(!1);
|
|
@@ -3686,20 +3684,20 @@ const Kn = (e) => {
|
|
|
3686
3684
|
return i in t ? t[i] : t[i] = e(n);
|
|
3687
3685
|
};
|
|
3688
3686
|
};
|
|
3689
|
-
var ei = Object.defineProperty, de = Object.getOwnPropertySymbols,
|
|
3687
|
+
var ei = Object.defineProperty, de = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
|
|
3690
3688
|
for (var r in t || (t = {}))
|
|
3691
|
-
|
|
3689
|
+
Qt.call(t, r) && ft(e, r, t[r]);
|
|
3692
3690
|
if (de)
|
|
3693
3691
|
for (var r of de(t))
|
|
3694
|
-
|
|
3692
|
+
qt.call(t, r) && ft(e, r, t[r]);
|
|
3695
3693
|
return e;
|
|
3696
3694
|
}, W = (e, t) => {
|
|
3697
3695
|
var r = {};
|
|
3698
3696
|
for (var n in e)
|
|
3699
|
-
|
|
3697
|
+
Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3700
3698
|
if (e != null && de)
|
|
3701
3699
|
for (var n of de(e))
|
|
3702
|
-
t.indexOf(n) < 0 &&
|
|
3700
|
+
t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
|
|
3703
3701
|
return r;
|
|
3704
3702
|
};
|
|
3705
3703
|
const K = (e, t) => {
|
|
@@ -3736,24 +3734,24 @@ const K = (e, t) => {
|
|
|
3736
3734
|
} = t, n = W(t, [
|
|
3737
3735
|
"locale"
|
|
3738
3736
|
]);
|
|
3739
|
-
return ti(
|
|
3737
|
+
return ti(We({ locale: r }, n));
|
|
3740
3738
|
}, si = (e = {}) => {
|
|
3741
3739
|
var t = e, {
|
|
3742
3740
|
locale: r = P()
|
|
3743
3741
|
} = t, n = W(t, [
|
|
3744
3742
|
"locale"
|
|
3745
3743
|
]);
|
|
3746
|
-
return ri(
|
|
3744
|
+
return ri(We({ locale: r }, n));
|
|
3747
3745
|
}, oi = (e = {}) => {
|
|
3748
3746
|
var t = e, {
|
|
3749
3747
|
locale: r = P()
|
|
3750
3748
|
} = t, n = W(t, [
|
|
3751
3749
|
"locale"
|
|
3752
3750
|
]);
|
|
3753
|
-
return ni(
|
|
3751
|
+
return ni(We({ locale: r }, n));
|
|
3754
3752
|
}, ai = _e(
|
|
3755
3753
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3756
|
-
(e, t = P()) => new
|
|
3754
|
+
(e, t = P()) => new kt(e, t, k().formats, {
|
|
3757
3755
|
ignoreTag: k().ignoreTag
|
|
3758
3756
|
})
|
|
3759
3757
|
), ui = (e, t = {}) => {
|
|
@@ -3769,7 +3767,7 @@ const K = (e, t) => {
|
|
|
3769
3767
|
throw new Error(
|
|
3770
3768
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3771
3769
|
);
|
|
3772
|
-
let h =
|
|
3770
|
+
let h = Vt(e, l);
|
|
3773
3771
|
if (!h)
|
|
3774
3772
|
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;
|
|
3775
3773
|
else if (typeof h != "string")
|
|
@@ -3788,7 +3786,7 @@ const K = (e, t) => {
|
|
|
3788
3786
|
);
|
|
3789
3787
|
}
|
|
3790
3788
|
return c;
|
|
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()) =>
|
|
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()) => Vt(e, t), mi = z([I, te], () => ui);
|
|
3792
3790
|
z([I], () => hi);
|
|
3793
3791
|
z([I], () => li);
|
|
3794
3792
|
z([I], () => fi);
|
|
@@ -3816,15 +3814,15 @@ function pi(e, t, r) {
|
|
|
3816
3814
|
});
|
|
3817
3815
|
}
|
|
3818
3816
|
}
|
|
3819
|
-
function
|
|
3820
|
-
|
|
3817
|
+
function ct(e, t) {
|
|
3818
|
+
zt(e, t);
|
|
3821
3819
|
}
|
|
3822
3820
|
function gi(e) {
|
|
3823
3821
|
Xn({
|
|
3824
3822
|
fallbackLocale: "en"
|
|
3825
3823
|
}), I.set(e);
|
|
3826
3824
|
}
|
|
3827
|
-
const
|
|
3825
|
+
const mt = {
|
|
3828
3826
|
en: {
|
|
3829
3827
|
header: {
|
|
3830
3828
|
general: "Cashier",
|
|
@@ -3848,17 +3846,17 @@ const ct = {
|
|
|
3848
3846
|
}
|
|
3849
3847
|
};
|
|
3850
3848
|
function _i(e) {
|
|
3851
|
-
|
|
3849
|
+
nr(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}");
|
|
3852
3850
|
}
|
|
3853
|
-
const yi = (e) => ({}),
|
|
3854
|
-
function
|
|
3851
|
+
const yi = (e) => ({}), dt = (e) => ({}), xi = (e) => ({}), bt = (e) => ({}), Ei = (e) => ({}), pt = (e) => ({});
|
|
3852
|
+
function gt(e) {
|
|
3855
3853
|
let t, r, n;
|
|
3856
3854
|
return {
|
|
3857
3855
|
c() {
|
|
3858
3856
|
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");
|
|
3859
3857
|
},
|
|
3860
3858
|
m(i, s) {
|
|
3861
|
-
N(i, t, s), r || (n =
|
|
3859
|
+
N(i, t, s), r || (n = Bt(
|
|
3862
3860
|
t,
|
|
3863
3861
|
"click",
|
|
3864
3862
|
/*back*/
|
|
@@ -3874,18 +3872,18 @@ function pt(e) {
|
|
|
3874
3872
|
function vi(e) {
|
|
3875
3873
|
let t, r = (
|
|
3876
3874
|
/*backButton*/
|
|
3877
|
-
e[1] &&
|
|
3875
|
+
e[1] && gt(e)
|
|
3878
3876
|
);
|
|
3879
3877
|
return {
|
|
3880
3878
|
c() {
|
|
3881
|
-
r && r.c(), t =
|
|
3879
|
+
r && r.c(), t = Ht();
|
|
3882
3880
|
},
|
|
3883
3881
|
m(n, i) {
|
|
3884
3882
|
r && r.m(n, i), N(n, t, i);
|
|
3885
3883
|
},
|
|
3886
3884
|
p(n, i) {
|
|
3887
3885
|
/*backButton*/
|
|
3888
|
-
n[1] ? r ? r.p(n, i) : (r =
|
|
3886
|
+
n[1] ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
3889
3887
|
},
|
|
3890
3888
|
d(n) {
|
|
3891
3889
|
n && C(t), r && r.d(n);
|
|
@@ -3913,21 +3911,21 @@ function Hi(e) {
|
|
|
3913
3911
|
i[4](
|
|
3914
3912
|
/*titleText*/
|
|
3915
3913
|
i[2]
|
|
3916
|
-
) + "") &&
|
|
3914
|
+
) + "") && ar(n, r);
|
|
3917
3915
|
},
|
|
3918
3916
|
d(i) {
|
|
3919
3917
|
i && C(t);
|
|
3920
3918
|
}
|
|
3921
3919
|
};
|
|
3922
3920
|
}
|
|
3923
|
-
function
|
|
3921
|
+
function _t(e) {
|
|
3924
3922
|
let t, r, n;
|
|
3925
3923
|
return {
|
|
3926
3924
|
c() {
|
|
3927
3925
|
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");
|
|
3928
3926
|
},
|
|
3929
3927
|
m(i, s) {
|
|
3930
|
-
N(i, t, s), r || (n =
|
|
3928
|
+
N(i, t, s), r || (n = Bt(
|
|
3931
3929
|
t,
|
|
3932
3930
|
"click",
|
|
3933
3931
|
/*close*/
|
|
@@ -3943,18 +3941,18 @@ function gt(e) {
|
|
|
3943
3941
|
function Bi(e) {
|
|
3944
3942
|
let t, r = (
|
|
3945
3943
|
/*closeButton*/
|
|
3946
|
-
e[3] &&
|
|
3944
|
+
e[3] && _t(e)
|
|
3947
3945
|
);
|
|
3948
3946
|
return {
|
|
3949
3947
|
c() {
|
|
3950
|
-
r && r.c(), t =
|
|
3948
|
+
r && r.c(), t = Ht();
|
|
3951
3949
|
},
|
|
3952
3950
|
m(n, i) {
|
|
3953
3951
|
r && r.m(n, i), N(n, t, i);
|
|
3954
3952
|
},
|
|
3955
3953
|
p(n, i) {
|
|
3956
3954
|
/*closeButton*/
|
|
3957
|
-
n[3] ? r ? r.p(n, i) : (r =
|
|
3955
|
+
n[3] ? r ? r.p(n, i) : (r = _t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
3958
3956
|
},
|
|
3959
3957
|
d(n) {
|
|
3960
3958
|
n && C(t), r && r.d(n);
|
|
@@ -3971,7 +3969,7 @@ function Ti(e) {
|
|
|
3971
3969
|
e,
|
|
3972
3970
|
/*$$scope*/
|
|
3973
3971
|
e[15],
|
|
3974
|
-
|
|
3972
|
+
pt
|
|
3975
3973
|
), o = u || vi(e), l = (
|
|
3976
3974
|
/*#slots*/
|
|
3977
3975
|
e[16].title
|
|
@@ -3980,7 +3978,7 @@ function Ti(e) {
|
|
|
3980
3978
|
e,
|
|
3981
3979
|
/*$$scope*/
|
|
3982
3980
|
e[15],
|
|
3983
|
-
|
|
3981
|
+
bt
|
|
3984
3982
|
), h = a || Hi(e), c = (
|
|
3985
3983
|
/*#slots*/
|
|
3986
3984
|
e[16].rightButton
|
|
@@ -3989,14 +3987,14 @@ function Ti(e) {
|
|
|
3989
3987
|
e,
|
|
3990
3988
|
/*$$scope*/
|
|
3991
3989
|
e[15],
|
|
3992
|
-
|
|
3990
|
+
dt
|
|
3993
3991
|
), d = m || Bi(e);
|
|
3994
3992
|
return {
|
|
3995
3993
|
c() {
|
|
3996
|
-
t = V("div"), o.c(), r =
|
|
3994
|
+
t = V("div"), o && o.c(), r = qe(), h && h.c(), n = qe(), d && d.c(), X(t, "class", "CashierHeader");
|
|
3997
3995
|
},
|
|
3998
3996
|
m(f, _) {
|
|
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;
|
|
3997
|
+
N(f, t, _), o && o.m(t, null), fe(t, r), h && h.m(t, null), fe(t, n), d && d.m(t, null), e[17](t), i = !0;
|
|
4000
3998
|
},
|
|
4001
3999
|
p(f, [_]) {
|
|
4002
4000
|
u ? u.p && (!i || _ & /*$$scope*/
|
|
@@ -4016,8 +4014,8 @@ function Ti(e) {
|
|
|
4016
4014
|
/*$$scope*/
|
|
4017
4015
|
f[15]
|
|
4018
4016
|
),
|
|
4019
|
-
|
|
4020
|
-
) : o.p && (!i || _ & /*backButton*/
|
|
4017
|
+
pt
|
|
4018
|
+
) : o && o.p && (!i || _ & /*backButton*/
|
|
4021
4019
|
2) && o.p(f, i ? _ : -1), a ? a.p && (!i || _ & /*$$scope*/
|
|
4022
4020
|
32768) && Ee(
|
|
4023
4021
|
a,
|
|
@@ -4035,8 +4033,8 @@ function Ti(e) {
|
|
|
4035
4033
|
/*$$scope*/
|
|
4036
4034
|
f[15]
|
|
4037
4035
|
),
|
|
4038
|
-
|
|
4039
|
-
) : h.p && (!i || _ & /*$_, titleText*/
|
|
4036
|
+
bt
|
|
4037
|
+
) : h && h.p && (!i || _ & /*$_, titleText*/
|
|
4040
4038
|
20) && h.p(f, i ? _ : -1), m ? m.p && (!i || _ & /*$$scope*/
|
|
4041
4039
|
32768) && Ee(
|
|
4042
4040
|
m,
|
|
@@ -4054,8 +4052,8 @@ function Ti(e) {
|
|
|
4054
4052
|
/*$$scope*/
|
|
4055
4053
|
f[15]
|
|
4056
4054
|
),
|
|
4057
|
-
|
|
4058
|
-
) : d.p && (!i || _ & /*closeButton*/
|
|
4055
|
+
dt
|
|
4056
|
+
) : d && d.p && (!i || _ & /*closeButton*/
|
|
4059
4057
|
8) && d.p(f, i ? _ : -1);
|
|
4060
4058
|
},
|
|
4061
4059
|
i(f) {
|
|
@@ -4065,25 +4063,25 @@ function Ti(e) {
|
|
|
4065
4063
|
Be(o, f), Be(h, f), Be(d, f), i = !1;
|
|
4066
4064
|
},
|
|
4067
4065
|
d(f) {
|
|
4068
|
-
f && C(t), o.d(f), h.d(f), d.d(f), e[17](null);
|
|
4066
|
+
f && C(t), o && o.d(f), h && h.d(f), d && d.d(f), e[17](null);
|
|
4069
4067
|
}
|
|
4070
4068
|
};
|
|
4071
4069
|
}
|
|
4072
4070
|
function wi(e, t, r) {
|
|
4073
4071
|
let n;
|
|
4074
|
-
|
|
4072
|
+
rr(e, mi, (g) => r(4, n = g));
|
|
4075
4073
|
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;
|
|
4076
4074
|
const A = () => {
|
|
4077
4075
|
fetch(l).then((g) => g.json()).then((g) => {
|
|
4078
|
-
Object.keys(g).forEach((
|
|
4079
|
-
|
|
4076
|
+
Object.keys(g).forEach((Ze) => {
|
|
4077
|
+
ct(Ze, g[Ze]);
|
|
4080
4078
|
});
|
|
4081
4079
|
}).catch((g) => {
|
|
4082
4080
|
console.log(g);
|
|
4083
4081
|
});
|
|
4084
4082
|
};
|
|
4085
|
-
Object.keys(
|
|
4086
|
-
|
|
4083
|
+
Object.keys(mt).forEach((g) => {
|
|
4084
|
+
ct(g, mt[g]);
|
|
4087
4085
|
});
|
|
4088
4086
|
const H = () => {
|
|
4089
4087
|
gi(c);
|
|
@@ -4095,12 +4093,12 @@ function wi(e, t, r) {
|
|
|
4095
4093
|
r(1, _ = !!a && a !== "false");
|
|
4096
4094
|
}, ne = () => {
|
|
4097
4095
|
r(3, S = !!m && m !== "false");
|
|
4098
|
-
},
|
|
4096
|
+
}, Yt = () => {
|
|
4099
4097
|
r(2, v = h || "header.general");
|
|
4100
4098
|
};
|
|
4101
|
-
|
|
4099
|
+
lr(() => () => {
|
|
4102
4100
|
});
|
|
4103
|
-
function
|
|
4101
|
+
function Kt(g) {
|
|
4104
4102
|
Pe[g ? "unshift" : "push"](() => {
|
|
4105
4103
|
f = g, r(0, f);
|
|
4106
4104
|
});
|
|
@@ -4110,7 +4108,7 @@ function wi(e, t, r) {
|
|
|
4110
4108
|
}, e.$$.update = () => {
|
|
4111
4109
|
e.$$.dirty & /*lang*/
|
|
4112
4110
|
4096 && c && H(), e.$$.dirty & /*lang, title*/
|
|
4113
|
-
6144 && c && h &&
|
|
4111
|
+
6144 && c && h && Yt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4114
4112
|
129 && u && f && di(f, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4115
4113
|
257 && o && f && bi(f, o), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4116
4114
|
16385 && d && f && pi(f, `${d}.Style`), e.$$.dirty & /*lang, translationurl*/
|
|
@@ -4135,17 +4133,17 @@ function wi(e, t, r) {
|
|
|
4135
4133
|
d,
|
|
4136
4134
|
s,
|
|
4137
4135
|
i,
|
|
4138
|
-
|
|
4136
|
+
Kt
|
|
4139
4137
|
];
|
|
4140
4138
|
}
|
|
4141
|
-
class
|
|
4139
|
+
class Jt extends Er {
|
|
4142
4140
|
constructor(t) {
|
|
4143
|
-
super(),
|
|
4141
|
+
super(), yr(
|
|
4144
4142
|
this,
|
|
4145
4143
|
t,
|
|
4146
4144
|
wi,
|
|
4147
4145
|
Ti,
|
|
4148
|
-
|
|
4146
|
+
xt,
|
|
4149
4147
|
{
|
|
4150
4148
|
clientstyling: 7,
|
|
4151
4149
|
clientstylingurl: 8,
|
|
@@ -4208,35 +4206,35 @@ class qt extends xr {
|
|
|
4208
4206
|
this.$$set({ mbsource: t }), T();
|
|
4209
4207
|
}
|
|
4210
4208
|
}
|
|
4211
|
-
|
|
4209
|
+
xr(Jt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
4212
4210
|
const Oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4213
4211
|
__proto__: null,
|
|
4214
|
-
default:
|
|
4212
|
+
default: Jt
|
|
4215
4213
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4216
4214
|
export {
|
|
4217
4215
|
I as $,
|
|
4218
4216
|
Oi as C,
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4217
|
+
Er as S,
|
|
4218
|
+
zt as a,
|
|
4219
|
+
yr as b,
|
|
4220
|
+
xr as c,
|
|
4221
|
+
nr as d,
|
|
4224
4222
|
V as e,
|
|
4225
4223
|
T as f,
|
|
4226
|
-
|
|
4224
|
+
qe as g,
|
|
4227
4225
|
Ai as h,
|
|
4228
4226
|
Xn as i,
|
|
4229
4227
|
Si as j,
|
|
4230
4228
|
X as k,
|
|
4231
4229
|
N as l,
|
|
4232
4230
|
fe as m,
|
|
4233
|
-
|
|
4231
|
+
Bt as n,
|
|
4234
4232
|
B as o,
|
|
4235
4233
|
C as p,
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4234
|
+
lr as q,
|
|
4235
|
+
bi as r,
|
|
4236
|
+
xt as s,
|
|
4237
|
+
pi as t,
|
|
4238
|
+
Pe as u,
|
|
4239
|
+
di as v
|
|
4242
4240
|
};
|