@everymatrix/cashier-verifications 1.49.2 → 1.50.1
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/CashierVerifications-BZm37mXz.cjs +5 -0
- package/components/{CashierVerifications-B5yMTtR9.js → CashierVerifications-CzlFnRY3.js} +550 -549
- package/components/{CashierVideoModal-DdLPfB0q.cjs → CashierVideoModal-CV8uIf5-.cjs} +1 -1
- package/components/{CashierVideoModal-BJBn3Hzn.js → CashierVideoModal-ZVGTUU-8.js} +1 -1
- package/es2015/cashier-verifications.cjs +1 -1
- package/es2015/cashier-verifications.js +1 -1
- package/package.json +1 -1
- package/components/CashierVerifications-CKHauoyK.cjs +0 -5
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var Lr = Object.defineProperty, Nr = Object.defineProperties;
|
|
2
2
|
var Rr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Ht = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var Ke = (e, t, r) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r,
|
|
4
|
+
var Ur = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ke = (e, t, r) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, At = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
Ur.call(t, r) && Ke(e, r, t[r]);
|
|
8
8
|
if (Ht)
|
|
9
9
|
for (var r of Ht(t))
|
|
10
|
-
|
|
10
|
+
kr.call(t, r) && Ke(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Ot = (e, t) => Nr(e, Rr(t));
|
|
13
13
|
var Z = (e, t, r) => Ke(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var Pt = (e, t, r) => new Promise((i, n) => {
|
|
15
15
|
var s = (o) => {
|
|
@@ -27,7 +27,7 @@ var Pt = (e, t, r) => new Promise((i, n) => {
|
|
|
27
27
|
}, l = (o) => o.done ? i(o.value) : Promise.resolve(o.value).then(s, a);
|
|
28
28
|
l((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function K() {
|
|
31
31
|
}
|
|
32
32
|
function tr(e) {
|
|
33
33
|
return e();
|
|
@@ -44,9 +44,9 @@ function bt(e) {
|
|
|
44
44
|
function rr(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
let
|
|
47
|
+
let ke;
|
|
48
48
|
function ls(e, t) {
|
|
49
|
-
return e === t ? !0 : (
|
|
49
|
+
return e === t ? !0 : (ke || (ke = document.createElement("a")), ke.href = t, e === ke.href);
|
|
50
50
|
}
|
|
51
51
|
function Fr(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
@@ -55,7 +55,7 @@ function ir(e, ...t) {
|
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const i of t)
|
|
57
57
|
i(void 0);
|
|
58
|
-
return
|
|
58
|
+
return K;
|
|
59
59
|
}
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
@@ -108,7 +108,7 @@ function hs(e) {
|
|
|
108
108
|
function yt(e) {
|
|
109
109
|
return document.createTextNode(e);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function Ee() {
|
|
112
112
|
return yt(" ");
|
|
113
113
|
}
|
|
114
114
|
function fs() {
|
|
@@ -117,12 +117,12 @@ function fs() {
|
|
|
117
117
|
function xt(e, t, r, i) {
|
|
118
118
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function ee(e, t, r) {
|
|
121
121
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
122
122
|
}
|
|
123
123
|
function fe(e, t, r) {
|
|
124
124
|
const i = t.toLowerCase();
|
|
125
|
-
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
125
|
+
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : ee(e, t, r);
|
|
126
126
|
}
|
|
127
127
|
function Wr(e) {
|
|
128
128
|
return Array.from(e.childNodes);
|
|
@@ -154,38 +154,38 @@ function Zr() {
|
|
|
154
154
|
function cs(e) {
|
|
155
155
|
Zr().$$.on_mount.push(e);
|
|
156
156
|
}
|
|
157
|
-
const
|
|
158
|
-
let
|
|
157
|
+
const _e = [], at = [];
|
|
158
|
+
let we = [];
|
|
159
159
|
const Bt = [], Jr = /* @__PURE__ */ Promise.resolve();
|
|
160
160
|
let ut = !1;
|
|
161
161
|
function Qr() {
|
|
162
|
-
ut || (ut = !0, Jr.then(
|
|
162
|
+
ut || (ut = !0, Jr.then(re));
|
|
163
163
|
}
|
|
164
164
|
function lt(e) {
|
|
165
|
-
|
|
165
|
+
we.push(e);
|
|
166
166
|
}
|
|
167
167
|
const et = /* @__PURE__ */ new Set();
|
|
168
|
-
let
|
|
169
|
-
function
|
|
170
|
-
if (
|
|
168
|
+
let ye = 0;
|
|
169
|
+
function re() {
|
|
170
|
+
if (ye !== 0)
|
|
171
171
|
return;
|
|
172
172
|
const e = Ce;
|
|
173
173
|
do {
|
|
174
174
|
try {
|
|
175
|
-
for (;
|
|
176
|
-
const t =
|
|
177
|
-
|
|
175
|
+
for (; ye < _e.length; ) {
|
|
176
|
+
const t = _e[ye];
|
|
177
|
+
ye++, Me(t), Kr(t.$$);
|
|
178
178
|
}
|
|
179
179
|
} catch (t) {
|
|
180
|
-
throw
|
|
180
|
+
throw _e.length = 0, ye = 0, t;
|
|
181
181
|
}
|
|
182
|
-
for (Me(null),
|
|
183
|
-
for (let t = 0; t <
|
|
184
|
-
const r =
|
|
182
|
+
for (Me(null), _e.length = 0, ye = 0; at.length; ) at.pop()();
|
|
183
|
+
for (let t = 0; t < we.length; t += 1) {
|
|
184
|
+
const r = we[t];
|
|
185
185
|
et.has(r) || (et.add(r), r());
|
|
186
186
|
}
|
|
187
|
-
|
|
188
|
-
} while (
|
|
187
|
+
we.length = 0;
|
|
188
|
+
} while (_e.length);
|
|
189
189
|
for (; Bt.length; )
|
|
190
190
|
Bt.pop()();
|
|
191
191
|
ut = !1, et.clear(), Me(e);
|
|
@@ -199,7 +199,7 @@ function Kr(e) {
|
|
|
199
199
|
}
|
|
200
200
|
function ei(e) {
|
|
201
201
|
const t = [], r = [];
|
|
202
|
-
|
|
202
|
+
we.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), we = t;
|
|
203
203
|
}
|
|
204
204
|
const ti = /* @__PURE__ */ new Set();
|
|
205
205
|
function ri(e, t) {
|
|
@@ -220,7 +220,7 @@ function ni(e, t) {
|
|
|
220
220
|
r.fragment !== null && (ei(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
221
221
|
}
|
|
222
222
|
function si(e, t) {
|
|
223
|
-
e.$$.dirty[0] === -1 && (
|
|
223
|
+
e.$$.dirty[0] === -1 && (_e.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
224
224
|
}
|
|
225
225
|
function oi(e, t, r, i, n, s, a = null, l = [-1]) {
|
|
226
226
|
const o = Ce;
|
|
@@ -230,7 +230,7 @@ function oi(e, t, r, i, n, s, a = null, l = [-1]) {
|
|
|
230
230
|
ctx: [],
|
|
231
231
|
// state
|
|
232
232
|
props: s,
|
|
233
|
-
update:
|
|
233
|
+
update: K,
|
|
234
234
|
not_equal: n,
|
|
235
235
|
bound: $t(),
|
|
236
236
|
// lifecycle
|
|
@@ -248,16 +248,16 @@ function oi(e, t, r, i, n, s, a = null, l = [-1]) {
|
|
|
248
248
|
};
|
|
249
249
|
a && a(u.root);
|
|
250
250
|
let h = !1;
|
|
251
|
-
if (u.ctx = r ? r(e, t.props || {}, (c,
|
|
252
|
-
const H =
|
|
253
|
-
return u.ctx && n(u.ctx[c], u.ctx[c] = H) && (!u.skip_bound && u.bound[c] && u.bound[c](H), h && si(e, c)),
|
|
251
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, m, ...E) => {
|
|
252
|
+
const H = E.length ? E[0] : m;
|
|
253
|
+
return u.ctx && n(u.ctx[c], u.ctx[c] = H) && (!u.skip_bound && u.bound[c] && u.bound[c](H), h && si(e, c)), m;
|
|
254
254
|
}) : [], u.update(), h = !0, Le(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
255
255
|
if (t.hydrate) {
|
|
256
256
|
const c = Wr(t.target);
|
|
257
257
|
u.fragment && u.fragment.l(c), c.forEach(ne);
|
|
258
258
|
} else
|
|
259
259
|
u.fragment && u.fragment.c();
|
|
260
|
-
t.intro && ri(e.$$.fragment), ii(e, t.target, t.anchor),
|
|
260
|
+
t.intro && ri(e.$$.fragment), ii(e, t.target, t.anchor), re();
|
|
261
261
|
}
|
|
262
262
|
Me(o);
|
|
263
263
|
}
|
|
@@ -306,7 +306,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
|
|
|
306
306
|
let a;
|
|
307
307
|
return {
|
|
308
308
|
c: function() {
|
|
309
|
-
a = J("slot"), s !== "default" &&
|
|
309
|
+
a = J("slot"), s !== "default" && ee(a, "name", s);
|
|
310
310
|
},
|
|
311
311
|
/**
|
|
312
312
|
* @param {HTMLElement} target
|
|
@@ -334,7 +334,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
|
|
|
334
334
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
335
335
|
this.$$c = new this.$$ctor({
|
|
336
336
|
target: this.shadowRoot || this,
|
|
337
|
-
props: At(
|
|
337
|
+
props: Ot(At({}, this.$$d), {
|
|
338
338
|
$$slots: r,
|
|
339
339
|
$$scope: {
|
|
340
340
|
ctx: []
|
|
@@ -464,7 +464,7 @@ class ui {
|
|
|
464
464
|
}
|
|
465
465
|
/** @returns {void} */
|
|
466
466
|
$destroy() {
|
|
467
|
-
ni(this, 1), this.$destroy =
|
|
467
|
+
ni(this, 1), this.$destroy = K;
|
|
468
468
|
}
|
|
469
469
|
/**
|
|
470
470
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -474,7 +474,7 @@ class ui {
|
|
|
474
474
|
*/
|
|
475
475
|
$on(t, r) {
|
|
476
476
|
if (!bt(r))
|
|
477
|
-
return
|
|
477
|
+
return K;
|
|
478
478
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
479
479
|
return i.push(r), () => {
|
|
480
480
|
const n = i.indexOf(r);
|
|
@@ -491,33 +491,33 @@ class ui {
|
|
|
491
491
|
}
|
|
492
492
|
const li = "4";
|
|
493
493
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(li);
|
|
494
|
-
const
|
|
494
|
+
const xe = [];
|
|
495
495
|
function hi(e, t) {
|
|
496
496
|
return {
|
|
497
497
|
subscribe: Ye(e, t).subscribe
|
|
498
498
|
};
|
|
499
499
|
}
|
|
500
|
-
function Ye(e, t =
|
|
500
|
+
function Ye(e, t = K) {
|
|
501
501
|
let r;
|
|
502
502
|
const i = /* @__PURE__ */ new Set();
|
|
503
503
|
function n(l) {
|
|
504
504
|
if (rr(e, l) && (e = l, r)) {
|
|
505
|
-
const o = !
|
|
505
|
+
const o = !xe.length;
|
|
506
506
|
for (const u of i)
|
|
507
|
-
u[1](),
|
|
507
|
+
u[1](), xe.push(u, e);
|
|
508
508
|
if (o) {
|
|
509
|
-
for (let u = 0; u <
|
|
510
|
-
|
|
511
|
-
|
|
509
|
+
for (let u = 0; u < xe.length; u += 2)
|
|
510
|
+
xe[u][0](xe[u + 1]);
|
|
511
|
+
xe.length = 0;
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
function s(l) {
|
|
516
516
|
n(l(e));
|
|
517
517
|
}
|
|
518
|
-
function a(l, o =
|
|
518
|
+
function a(l, o = K) {
|
|
519
519
|
const u = [l, o];
|
|
520
|
-
return i.add(u), i.size === 1 && (r = t(n, s) ||
|
|
520
|
+
return i.add(u), i.size === 1 && (r = t(n, s) || K), l(e), () => {
|
|
521
521
|
i.delete(u), i.size === 0 && r && (r(), r = null);
|
|
522
522
|
};
|
|
523
523
|
}
|
|
@@ -531,26 +531,26 @@ function Oe(e, t, r) {
|
|
|
531
531
|
return hi(r, (a, l) => {
|
|
532
532
|
let o = !1;
|
|
533
533
|
const u = [];
|
|
534
|
-
let h = 0, c =
|
|
535
|
-
const
|
|
534
|
+
let h = 0, c = K;
|
|
535
|
+
const m = () => {
|
|
536
536
|
if (h)
|
|
537
537
|
return;
|
|
538
538
|
c();
|
|
539
539
|
const H = t(i ? u[0] : u, a, l);
|
|
540
|
-
s ? a(H) : c = bt(H) ? H :
|
|
541
|
-
},
|
|
540
|
+
s ? a(H) : c = bt(H) ? H : K;
|
|
541
|
+
}, E = n.map(
|
|
542
542
|
(H, v) => ir(
|
|
543
543
|
H,
|
|
544
544
|
($) => {
|
|
545
|
-
u[v] = $, h &= ~(1 << v), o &&
|
|
545
|
+
u[v] = $, h &= ~(1 << v), o && m();
|
|
546
546
|
},
|
|
547
547
|
() => {
|
|
548
548
|
h |= 1 << v;
|
|
549
549
|
}
|
|
550
550
|
)
|
|
551
551
|
);
|
|
552
|
-
return o = !0,
|
|
553
|
-
Le(
|
|
552
|
+
return o = !0, m(), function() {
|
|
553
|
+
Le(E), c(), o = !1;
|
|
554
554
|
};
|
|
555
555
|
});
|
|
556
556
|
}
|
|
@@ -576,7 +576,7 @@ function vi(e) {
|
|
|
576
576
|
return Array.isArray(e) ? [] : {};
|
|
577
577
|
}
|
|
578
578
|
function De(e, t) {
|
|
579
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
579
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Se(vi(e), e, t) : e;
|
|
580
580
|
}
|
|
581
581
|
function bi(e, t, r) {
|
|
582
582
|
return e.concat(t).map(function(i) {
|
|
@@ -585,9 +585,9 @@ function bi(e, t, r) {
|
|
|
585
585
|
}
|
|
586
586
|
function yi(e, t) {
|
|
587
587
|
if (!t.customMerge)
|
|
588
|
-
return
|
|
588
|
+
return Se;
|
|
589
589
|
var r = t.customMerge(e);
|
|
590
|
-
return typeof r == "function" ? r :
|
|
590
|
+
return typeof r == "function" ? r : Se;
|
|
591
591
|
}
|
|
592
592
|
function xi(e) {
|
|
593
593
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -615,19 +615,19 @@ function Ei(e, t, r) {
|
|
|
615
615
|
_i(e, n) || (or(e, n) && r.isMergeableObject(t[n]) ? i[n] = yi(n, r)(e[n], t[n], r) : i[n] = De(t[n], r));
|
|
616
616
|
}), i;
|
|
617
617
|
}
|
|
618
|
-
function
|
|
618
|
+
function Se(e, t, r) {
|
|
619
619
|
r = r || {}, r.arrayMerge = r.arrayMerge || bi, r.isMergeableObject = r.isMergeableObject || fi, r.cloneUnlessOtherwiseSpecified = De;
|
|
620
620
|
var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
|
|
621
621
|
return s ? i ? r.arrayMerge(e, t, r) : Ei(e, t, r) : De(t, r);
|
|
622
622
|
}
|
|
623
|
-
|
|
623
|
+
Se.all = function(t, r) {
|
|
624
624
|
if (!Array.isArray(t))
|
|
625
625
|
throw new Error("first argument should be an array");
|
|
626
626
|
return t.reduce(function(i, n) {
|
|
627
|
-
return
|
|
627
|
+
return Se(i, n, r);
|
|
628
628
|
}, {});
|
|
629
629
|
};
|
|
630
|
-
var wi =
|
|
630
|
+
var wi = Se, Si = wi;
|
|
631
631
|
const Ti = /* @__PURE__ */ _t(Si);
|
|
632
632
|
var ht = function(e, t) {
|
|
633
633
|
return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
@@ -645,14 +645,14 @@ function Ze(e, t) {
|
|
|
645
645
|
}
|
|
646
646
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
647
647
|
}
|
|
648
|
-
var
|
|
649
|
-
return
|
|
648
|
+
var O = function() {
|
|
649
|
+
return O = Object.assign || function(t) {
|
|
650
650
|
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
651
651
|
r = arguments[i];
|
|
652
652
|
for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
653
653
|
}
|
|
654
654
|
return t;
|
|
655
|
-
},
|
|
655
|
+
}, O.apply(this, arguments);
|
|
656
656
|
};
|
|
657
657
|
function Hi(e, t) {
|
|
658
658
|
var r = {};
|
|
@@ -667,7 +667,57 @@ function tt(e, t, r) {
|
|
|
667
667
|
(s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
|
|
668
668
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
669
669
|
}
|
|
670
|
-
|
|
670
|
+
function rt(e, t) {
|
|
671
|
+
var r = t && t.cache ? t.cache : Mi, i = t && t.serializer ? t.serializer : Bi, n = t && t.strategy ? t.strategy : Oi;
|
|
672
|
+
return n(e, {
|
|
673
|
+
cache: r,
|
|
674
|
+
serializer: i
|
|
675
|
+
});
|
|
676
|
+
}
|
|
677
|
+
function Ai(e) {
|
|
678
|
+
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
679
|
+
}
|
|
680
|
+
function ar(e, t, r, i) {
|
|
681
|
+
var n = Ai(i) ? i : r(i), s = t.get(n);
|
|
682
|
+
return typeof s == "undefined" && (s = e.call(this, i), t.set(n, s)), s;
|
|
683
|
+
}
|
|
684
|
+
function ur(e, t, r) {
|
|
685
|
+
var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
|
|
686
|
+
return typeof s == "undefined" && (s = e.apply(this, i), t.set(n, s)), s;
|
|
687
|
+
}
|
|
688
|
+
function Et(e, t, r, i, n) {
|
|
689
|
+
return r.bind(t, e, i, n);
|
|
690
|
+
}
|
|
691
|
+
function Oi(e, t) {
|
|
692
|
+
var r = e.length === 1 ? ar : ur;
|
|
693
|
+
return Et(e, this, r, t.cache.create(), t.serializer);
|
|
694
|
+
}
|
|
695
|
+
function Pi(e, t) {
|
|
696
|
+
return Et(e, this, ur, t.cache.create(), t.serializer);
|
|
697
|
+
}
|
|
698
|
+
function $i(e, t) {
|
|
699
|
+
return Et(e, this, ar, t.cache.create(), t.serializer);
|
|
700
|
+
}
|
|
701
|
+
var Bi = function() {
|
|
702
|
+
return JSON.stringify(arguments);
|
|
703
|
+
};
|
|
704
|
+
function wt() {
|
|
705
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
706
|
+
}
|
|
707
|
+
wt.prototype.get = function(e) {
|
|
708
|
+
return this.cache[e];
|
|
709
|
+
};
|
|
710
|
+
wt.prototype.set = function(e, t) {
|
|
711
|
+
this.cache[e] = t;
|
|
712
|
+
};
|
|
713
|
+
var Mi = {
|
|
714
|
+
create: function() {
|
|
715
|
+
return new wt();
|
|
716
|
+
}
|
|
717
|
+
}, it = {
|
|
718
|
+
variadic: Pi,
|
|
719
|
+
monadic: $i
|
|
720
|
+
}, T;
|
|
671
721
|
(function(e) {
|
|
672
722
|
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";
|
|
673
723
|
})(T || (T = {}));
|
|
@@ -675,47 +725,47 @@ var C;
|
|
|
675
725
|
(function(e) {
|
|
676
726
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
677
727
|
})(C || (C = {}));
|
|
678
|
-
var
|
|
728
|
+
var Te;
|
|
679
729
|
(function(e) {
|
|
680
730
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
681
|
-
})(
|
|
731
|
+
})(Te || (Te = {}));
|
|
682
732
|
function Dt(e) {
|
|
683
733
|
return e.type === C.literal;
|
|
684
734
|
}
|
|
685
|
-
function
|
|
735
|
+
function Ci(e) {
|
|
686
736
|
return e.type === C.argument;
|
|
687
737
|
}
|
|
688
|
-
function
|
|
738
|
+
function lr(e) {
|
|
689
739
|
return e.type === C.number;
|
|
690
740
|
}
|
|
691
|
-
function
|
|
741
|
+
function hr(e) {
|
|
692
742
|
return e.type === C.date;
|
|
693
743
|
}
|
|
694
|
-
function
|
|
744
|
+
function fr(e) {
|
|
695
745
|
return e.type === C.time;
|
|
696
746
|
}
|
|
697
|
-
function
|
|
747
|
+
function cr(e) {
|
|
698
748
|
return e.type === C.select;
|
|
699
749
|
}
|
|
700
|
-
function
|
|
750
|
+
function dr(e) {
|
|
701
751
|
return e.type === C.plural;
|
|
702
752
|
}
|
|
703
|
-
function
|
|
753
|
+
function Di(e) {
|
|
704
754
|
return e.type === C.pound;
|
|
705
755
|
}
|
|
706
|
-
function
|
|
756
|
+
function mr(e) {
|
|
707
757
|
return e.type === C.tag;
|
|
708
758
|
}
|
|
709
|
-
function
|
|
710
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
759
|
+
function pr(e) {
|
|
760
|
+
return !!(e && typeof e == "object" && e.type === Te.number);
|
|
711
761
|
}
|
|
712
762
|
function ft(e) {
|
|
713
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
763
|
+
return !!(e && typeof e == "object" && e.type === Te.dateTime);
|
|
714
764
|
}
|
|
715
|
-
var
|
|
716
|
-
function
|
|
765
|
+
var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ii = /(?:[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;
|
|
766
|
+
function Li(e) {
|
|
717
767
|
var t = {};
|
|
718
|
-
return e.replace(
|
|
768
|
+
return e.replace(Ii, function(r) {
|
|
719
769
|
var i = r.length;
|
|
720
770
|
switch (r[0]) {
|
|
721
771
|
case "G":
|
|
@@ -804,12 +854,12 @@ function $i(e) {
|
|
|
804
854
|
return "";
|
|
805
855
|
}), t;
|
|
806
856
|
}
|
|
807
|
-
var
|
|
808
|
-
function
|
|
857
|
+
var Ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
858
|
+
function Ri(e) {
|
|
809
859
|
if (e.length === 0)
|
|
810
860
|
throw new Error("Number skeleton cannot be empty");
|
|
811
|
-
for (var t = e.split(
|
|
812
|
-
return
|
|
861
|
+
for (var t = e.split(Ni).filter(function(m) {
|
|
862
|
+
return m.length > 0;
|
|
813
863
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
814
864
|
var s = n[i], a = s.split("/");
|
|
815
865
|
if (a.length === 0)
|
|
@@ -823,17 +873,17 @@ function Mi(e) {
|
|
|
823
873
|
}
|
|
824
874
|
return r;
|
|
825
875
|
}
|
|
826
|
-
function
|
|
876
|
+
function Ui(e) {
|
|
827
877
|
return e.replace(/^(.*?)-/, "");
|
|
828
878
|
}
|
|
829
|
-
var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
879
|
+
var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g, ki = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
|
|
830
880
|
function Lt(e) {
|
|
831
881
|
var t = {};
|
|
832
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
882
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vr, function(r, i, n) {
|
|
833
883
|
return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
|
|
834
884
|
}), t;
|
|
835
885
|
}
|
|
836
|
-
function
|
|
886
|
+
function yr(e) {
|
|
837
887
|
switch (e) {
|
|
838
888
|
case "sign-auto":
|
|
839
889
|
return {
|
|
@@ -873,7 +923,7 @@ function vr(e) {
|
|
|
873
923
|
};
|
|
874
924
|
}
|
|
875
925
|
}
|
|
876
|
-
function
|
|
926
|
+
function Fi(e) {
|
|
877
927
|
var t;
|
|
878
928
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
879
929
|
notation: "engineering"
|
|
@@ -881,17 +931,17 @@ function Ii(e) {
|
|
|
881
931
|
notation: "scientific"
|
|
882
932
|
}, e = e.slice(1)), t) {
|
|
883
933
|
var r = e.slice(0, 2);
|
|
884
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
934
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
|
|
885
935
|
throw new Error("Malformed concise eng/scientific notation");
|
|
886
936
|
t.minimumIntegerDigits = e.length;
|
|
887
937
|
}
|
|
888
938
|
return t;
|
|
889
939
|
}
|
|
890
940
|
function Nt(e) {
|
|
891
|
-
var t = {}, r =
|
|
941
|
+
var t = {}, r = yr(e);
|
|
892
942
|
return r || t;
|
|
893
943
|
}
|
|
894
|
-
function
|
|
944
|
+
function Gi(e) {
|
|
895
945
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
896
946
|
var n = i[r];
|
|
897
947
|
switch (n.stem) {
|
|
@@ -915,7 +965,7 @@ function Li(e) {
|
|
|
915
965
|
continue;
|
|
916
966
|
case "measure-unit":
|
|
917
967
|
case "unit":
|
|
918
|
-
t.style = "unit", t.unit =
|
|
968
|
+
t.style = "unit", t.unit = Ui(n.options[0]);
|
|
919
969
|
continue;
|
|
920
970
|
case "compact-short":
|
|
921
971
|
case "K":
|
|
@@ -926,13 +976,13 @@ function Li(e) {
|
|
|
926
976
|
t.notation = "compact", t.compactDisplay = "long";
|
|
927
977
|
continue;
|
|
928
978
|
case "scientific":
|
|
929
|
-
t =
|
|
930
|
-
return
|
|
979
|
+
t = O(O(O({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
|
|
980
|
+
return O(O({}, o), Nt(u));
|
|
931
981
|
}, {}));
|
|
932
982
|
continue;
|
|
933
983
|
case "engineering":
|
|
934
|
-
t =
|
|
935
|
-
return
|
|
984
|
+
t = O(O(O({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
|
|
985
|
+
return O(O({}, o), Nt(u));
|
|
936
986
|
}, {}));
|
|
937
987
|
continue;
|
|
938
988
|
case "notation-simple":
|
|
@@ -977,41 +1027,41 @@ function Li(e) {
|
|
|
977
1027
|
case "integer-width":
|
|
978
1028
|
if (n.options.length > 1)
|
|
979
1029
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
980
|
-
n.options[0].replace(
|
|
1030
|
+
n.options[0].replace(ki, function(o, u, h, c, m, E) {
|
|
981
1031
|
if (u)
|
|
982
1032
|
t.minimumIntegerDigits = h.length;
|
|
983
1033
|
else {
|
|
984
|
-
if (c &&
|
|
1034
|
+
if (c && m)
|
|
985
1035
|
throw new Error("We currently do not support maximum integer digits");
|
|
986
|
-
if (
|
|
1036
|
+
if (E)
|
|
987
1037
|
throw new Error("We currently do not support exact integer digits");
|
|
988
1038
|
}
|
|
989
1039
|
return "";
|
|
990
1040
|
});
|
|
991
1041
|
continue;
|
|
992
1042
|
}
|
|
993
|
-
if (
|
|
1043
|
+
if (br.test(n.stem)) {
|
|
994
1044
|
t.minimumIntegerDigits = n.stem.length;
|
|
995
1045
|
continue;
|
|
996
1046
|
}
|
|
997
1047
|
if (It.test(n.stem)) {
|
|
998
1048
|
if (n.options.length > 1)
|
|
999
1049
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1000
|
-
n.stem.replace(It, function(o, u, h, c,
|
|
1001
|
-
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length :
|
|
1050
|
+
n.stem.replace(It, function(o, u, h, c, m, E) {
|
|
1051
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && E ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1002
1052
|
});
|
|
1003
1053
|
var s = n.options[0];
|
|
1004
|
-
s === "w" ? t =
|
|
1054
|
+
s === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = O(O({}, t), Lt(s)));
|
|
1005
1055
|
continue;
|
|
1006
1056
|
}
|
|
1007
|
-
if (
|
|
1008
|
-
t =
|
|
1057
|
+
if (vr.test(n.stem)) {
|
|
1058
|
+
t = O(O({}, t), Lt(n.stem));
|
|
1009
1059
|
continue;
|
|
1010
1060
|
}
|
|
1011
|
-
var a =
|
|
1012
|
-
a && (t =
|
|
1013
|
-
var l =
|
|
1014
|
-
l && (t =
|
|
1061
|
+
var a = yr(n.stem);
|
|
1062
|
+
a && (t = O(O({}, t), a));
|
|
1063
|
+
var l = Fi(n.stem);
|
|
1064
|
+
l && (t = O(O({}, t), l));
|
|
1015
1065
|
}
|
|
1016
1066
|
return t;
|
|
1017
1067
|
}
|
|
@@ -1020,6 +1070,12 @@ var Fe = {
|
|
|
1020
1070
|
"H",
|
|
1021
1071
|
"h"
|
|
1022
1072
|
],
|
|
1073
|
+
419: [
|
|
1074
|
+
"h",
|
|
1075
|
+
"H",
|
|
1076
|
+
"hB",
|
|
1077
|
+
"hb"
|
|
1078
|
+
],
|
|
1023
1079
|
AC: [
|
|
1024
1080
|
"H",
|
|
1025
1081
|
"h",
|
|
@@ -1068,8 +1124,8 @@ var Fe = {
|
|
|
1068
1124
|
"hB"
|
|
1069
1125
|
],
|
|
1070
1126
|
AR: [
|
|
1071
|
-
"H",
|
|
1072
1127
|
"h",
|
|
1128
|
+
"H",
|
|
1073
1129
|
"hB",
|
|
1074
1130
|
"hb"
|
|
1075
1131
|
],
|
|
@@ -1159,9 +1215,9 @@ var Fe = {
|
|
|
1159
1215
|
"H"
|
|
1160
1216
|
],
|
|
1161
1217
|
BO: [
|
|
1218
|
+
"h",
|
|
1162
1219
|
"H",
|
|
1163
1220
|
"hB",
|
|
1164
|
-
"h",
|
|
1165
1221
|
"hb"
|
|
1166
1222
|
],
|
|
1167
1223
|
BQ: [
|
|
@@ -1238,8 +1294,8 @@ var Fe = {
|
|
|
1238
1294
|
"hB"
|
|
1239
1295
|
],
|
|
1240
1296
|
CL: [
|
|
1241
|
-
"H",
|
|
1242
1297
|
"h",
|
|
1298
|
+
"H",
|
|
1243
1299
|
"hB",
|
|
1244
1300
|
"hb"
|
|
1245
1301
|
],
|
|
@@ -1264,14 +1320,14 @@ var Fe = {
|
|
|
1264
1320
|
"H"
|
|
1265
1321
|
],
|
|
1266
1322
|
CR: [
|
|
1267
|
-
"H",
|
|
1268
1323
|
"h",
|
|
1324
|
+
"H",
|
|
1269
1325
|
"hB",
|
|
1270
1326
|
"hb"
|
|
1271
1327
|
],
|
|
1272
1328
|
CU: [
|
|
1273
|
-
"H",
|
|
1274
1329
|
"h",
|
|
1330
|
+
"H",
|
|
1275
1331
|
"hB",
|
|
1276
1332
|
"hb"
|
|
1277
1333
|
],
|
|
@@ -1340,9 +1396,9 @@ var Fe = {
|
|
|
1340
1396
|
"hb"
|
|
1341
1397
|
],
|
|
1342
1398
|
EC: [
|
|
1399
|
+
"h",
|
|
1343
1400
|
"H",
|
|
1344
1401
|
"hB",
|
|
1345
|
-
"h",
|
|
1346
1402
|
"hb"
|
|
1347
1403
|
],
|
|
1348
1404
|
EE: [
|
|
@@ -1478,8 +1534,8 @@ var Fe = {
|
|
|
1478
1534
|
"hB"
|
|
1479
1535
|
],
|
|
1480
1536
|
GT: [
|
|
1481
|
-
"H",
|
|
1482
1537
|
"h",
|
|
1538
|
+
"H",
|
|
1483
1539
|
"hB",
|
|
1484
1540
|
"hb"
|
|
1485
1541
|
],
|
|
@@ -1506,8 +1562,8 @@ var Fe = {
|
|
|
1506
1562
|
"H"
|
|
1507
1563
|
],
|
|
1508
1564
|
HN: [
|
|
1509
|
-
"H",
|
|
1510
1565
|
"h",
|
|
1566
|
+
"H",
|
|
1511
1567
|
"hB",
|
|
1512
1568
|
"hb"
|
|
1513
1569
|
],
|
|
@@ -1821,8 +1877,8 @@ var Fe = {
|
|
|
1821
1877
|
"hB"
|
|
1822
1878
|
],
|
|
1823
1879
|
MX: [
|
|
1824
|
-
"H",
|
|
1825
1880
|
"h",
|
|
1881
|
+
"H",
|
|
1826
1882
|
"hB",
|
|
1827
1883
|
"hb"
|
|
1828
1884
|
],
|
|
@@ -1862,8 +1918,8 @@ var Fe = {
|
|
|
1862
1918
|
"hB"
|
|
1863
1919
|
],
|
|
1864
1920
|
NI: [
|
|
1865
|
-
"H",
|
|
1866
1921
|
"h",
|
|
1922
|
+
"H",
|
|
1867
1923
|
"hB",
|
|
1868
1924
|
"hb"
|
|
1869
1925
|
],
|
|
@@ -1911,9 +1967,9 @@ var Fe = {
|
|
|
1911
1967
|
"hb"
|
|
1912
1968
|
],
|
|
1913
1969
|
PE: [
|
|
1970
|
+
"h",
|
|
1914
1971
|
"H",
|
|
1915
1972
|
"hB",
|
|
1916
|
-
"h",
|
|
1917
1973
|
"hb"
|
|
1918
1974
|
],
|
|
1919
1975
|
PF: [
|
|
@@ -1971,8 +2027,8 @@ var Fe = {
|
|
|
1971
2027
|
"H"
|
|
1972
2028
|
],
|
|
1973
2029
|
PY: [
|
|
1974
|
-
"H",
|
|
1975
2030
|
"h",
|
|
2031
|
+
"H",
|
|
1976
2032
|
"hB",
|
|
1977
2033
|
"hb"
|
|
1978
2034
|
],
|
|
@@ -2085,8 +2141,8 @@ var Fe = {
|
|
|
2085
2141
|
"hB"
|
|
2086
2142
|
],
|
|
2087
2143
|
SV: [
|
|
2088
|
-
"H",
|
|
2089
2144
|
"h",
|
|
2145
|
+
"H",
|
|
2090
2146
|
"hB",
|
|
2091
2147
|
"hb"
|
|
2092
2148
|
],
|
|
@@ -2208,8 +2264,8 @@ var Fe = {
|
|
|
2208
2264
|
"hB"
|
|
2209
2265
|
],
|
|
2210
2266
|
UY: [
|
|
2211
|
-
"H",
|
|
2212
2267
|
"h",
|
|
2268
|
+
"H",
|
|
2213
2269
|
"hB",
|
|
2214
2270
|
"hb"
|
|
2215
2271
|
],
|
|
@@ -2317,37 +2373,37 @@ var Fe = {
|
|
|
2317
2373
|
"H",
|
|
2318
2374
|
"hB"
|
|
2319
2375
|
],
|
|
2320
|
-
"
|
|
2321
|
-
"H",
|
|
2376
|
+
"en-HK": [
|
|
2322
2377
|
"h",
|
|
2323
|
-
"
|
|
2324
|
-
"
|
|
2378
|
+
"hb",
|
|
2379
|
+
"H",
|
|
2380
|
+
"hB"
|
|
2325
2381
|
],
|
|
2326
|
-
"
|
|
2382
|
+
"en-IL": [
|
|
2327
2383
|
"H",
|
|
2328
2384
|
"h",
|
|
2329
|
-
"
|
|
2330
|
-
"
|
|
2385
|
+
"hb",
|
|
2386
|
+
"hB"
|
|
2331
2387
|
],
|
|
2332
|
-
"
|
|
2333
|
-
"H",
|
|
2388
|
+
"en-MY": [
|
|
2334
2389
|
"h",
|
|
2335
|
-
"
|
|
2336
|
-
"
|
|
2390
|
+
"hb",
|
|
2391
|
+
"H",
|
|
2392
|
+
"hB"
|
|
2337
2393
|
],
|
|
2338
|
-
"es-
|
|
2394
|
+
"es-BR": [
|
|
2339
2395
|
"H",
|
|
2340
2396
|
"h",
|
|
2341
2397
|
"hB",
|
|
2342
2398
|
"hb"
|
|
2343
2399
|
],
|
|
2344
|
-
"es-
|
|
2400
|
+
"es-ES": [
|
|
2345
2401
|
"H",
|
|
2346
2402
|
"h",
|
|
2347
2403
|
"hB",
|
|
2348
2404
|
"hb"
|
|
2349
2405
|
],
|
|
2350
|
-
"es-
|
|
2406
|
+
"es-GQ": [
|
|
2351
2407
|
"H",
|
|
2352
2408
|
"h",
|
|
2353
2409
|
"hB",
|
|
@@ -2424,13 +2480,13 @@ var Fe = {
|
|
|
2424
2480
|
"h"
|
|
2425
2481
|
]
|
|
2426
2482
|
};
|
|
2427
|
-
function
|
|
2483
|
+
function Vi(e, t) {
|
|
2428
2484
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
2429
2485
|
var n = e.charAt(i);
|
|
2430
2486
|
if (n === "j") {
|
|
2431
2487
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2432
2488
|
s++, i++;
|
|
2433
|
-
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), o = "a", u =
|
|
2489
|
+
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = ji(t);
|
|
2434
2490
|
for ((u == "H" || u == "k") && (l = 0); l-- > 0; )
|
|
2435
2491
|
r += o;
|
|
2436
2492
|
for (; a-- > 0; )
|
|
@@ -2439,7 +2495,7 @@ function Ni(e, t) {
|
|
|
2439
2495
|
}
|
|
2440
2496
|
return r;
|
|
2441
2497
|
}
|
|
2442
|
-
function
|
|
2498
|
+
function ji(e) {
|
|
2443
2499
|
var t = e.hourCycle;
|
|
2444
2500
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2445
2501
|
e.hourCycles && // @ts-ignore
|
|
@@ -2461,20 +2517,20 @@ function Ri(e) {
|
|
|
2461
2517
|
var n = Fe[i || ""] || Fe[r || ""] || Fe["".concat(r, "-001")] || Fe["001"];
|
|
2462
2518
|
return n[0];
|
|
2463
2519
|
}
|
|
2464
|
-
var
|
|
2465
|
-
function
|
|
2520
|
+
var nt, zi = new RegExp("^".concat(gr.source, "*")), Xi = new RegExp("".concat(gr.source, "*$"));
|
|
2521
|
+
function A(e, t) {
|
|
2466
2522
|
return { start: e, end: t };
|
|
2467
2523
|
}
|
|
2468
|
-
var
|
|
2524
|
+
var Wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), qi = !!String.fromCodePoint, Yi = !!Object.fromEntries, Zi = !!String.prototype.codePointAt, Ji = !!String.prototype.trimStart, Qi = !!String.prototype.trimEnd, Ki = !!Number.isSafeInteger, en = Ki ? Number.isSafeInteger : function(e) {
|
|
2469
2525
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2470
2526
|
}, ct = !0;
|
|
2471
2527
|
try {
|
|
2472
|
-
var
|
|
2473
|
-
ct = ((
|
|
2528
|
+
var tn = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2529
|
+
ct = ((nt = tn.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
|
|
2474
2530
|
} catch (e) {
|
|
2475
2531
|
ct = !1;
|
|
2476
2532
|
}
|
|
2477
|
-
var Rt =
|
|
2533
|
+
var Rt = Wi ? (
|
|
2478
2534
|
// Native
|
|
2479
2535
|
function(t, r, i) {
|
|
2480
2536
|
return t.startsWith(r, i);
|
|
@@ -2484,7 +2540,7 @@ var Rt = Fi ? (
|
|
|
2484
2540
|
function(t, r, i) {
|
|
2485
2541
|
return t.slice(i, i + r.length) === r;
|
|
2486
2542
|
}
|
|
2487
|
-
), dt =
|
|
2543
|
+
), dt = qi ? String.fromCodePoint : (
|
|
2488
2544
|
// IE11
|
|
2489
2545
|
function() {
|
|
2490
2546
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2496,9 +2552,9 @@ var Rt = Fi ? (
|
|
|
2496
2552
|
}
|
|
2497
2553
|
return i;
|
|
2498
2554
|
}
|
|
2499
|
-
),
|
|
2555
|
+
), Ut = (
|
|
2500
2556
|
// native
|
|
2501
|
-
|
|
2557
|
+
Yi ? Object.fromEntries : (
|
|
2502
2558
|
// Ponyfill
|
|
2503
2559
|
function(t) {
|
|
2504
2560
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
@@ -2508,7 +2564,7 @@ var Rt = Fi ? (
|
|
|
2508
2564
|
return r;
|
|
2509
2565
|
}
|
|
2510
2566
|
)
|
|
2511
|
-
),
|
|
2567
|
+
), xr = Zi ? (
|
|
2512
2568
|
// Native
|
|
2513
2569
|
function(t, r) {
|
|
2514
2570
|
return t.codePointAt(r);
|
|
@@ -2522,7 +2578,7 @@ var Rt = Fi ? (
|
|
|
2522
2578
|
return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2523
2579
|
}
|
|
2524
2580
|
}
|
|
2525
|
-
),
|
|
2581
|
+
), rn = Ji ? (
|
|
2526
2582
|
// Native
|
|
2527
2583
|
function(t) {
|
|
2528
2584
|
return t.trimStart();
|
|
@@ -2530,9 +2586,9 @@ var Rt = Fi ? (
|
|
|
2530
2586
|
) : (
|
|
2531
2587
|
// Ponyfill
|
|
2532
2588
|
function(t) {
|
|
2533
|
-
return t.replace(
|
|
2589
|
+
return t.replace(zi, "");
|
|
2534
2590
|
}
|
|
2535
|
-
),
|
|
2591
|
+
), nn = Qi ? (
|
|
2536
2592
|
// Native
|
|
2537
2593
|
function(t) {
|
|
2538
2594
|
return t.trimEnd();
|
|
@@ -2540,32 +2596,32 @@ var Rt = Fi ? (
|
|
|
2540
2596
|
) : (
|
|
2541
2597
|
// Ponyfill
|
|
2542
2598
|
function(t) {
|
|
2543
|
-
return t.replace(
|
|
2599
|
+
return t.replace(Xi, "");
|
|
2544
2600
|
}
|
|
2545
2601
|
);
|
|
2546
|
-
function
|
|
2602
|
+
function _r(e, t) {
|
|
2547
2603
|
return new RegExp(e, t);
|
|
2548
2604
|
}
|
|
2549
2605
|
var mt;
|
|
2550
2606
|
if (ct) {
|
|
2551
|
-
var
|
|
2607
|
+
var kt = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2552
2608
|
mt = function(t, r) {
|
|
2553
2609
|
var i;
|
|
2554
|
-
|
|
2555
|
-
var n =
|
|
2610
|
+
kt.lastIndex = r;
|
|
2611
|
+
var n = kt.exec(t);
|
|
2556
2612
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2557
2613
|
};
|
|
2558
2614
|
} else
|
|
2559
2615
|
mt = function(t, r) {
|
|
2560
2616
|
for (var i = []; ; ) {
|
|
2561
|
-
var n =
|
|
2562
|
-
if (n === void 0 ||
|
|
2617
|
+
var n = xr(t, r);
|
|
2618
|
+
if (n === void 0 || Er(n) || un(n))
|
|
2563
2619
|
break;
|
|
2564
2620
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
2565
2621
|
}
|
|
2566
2622
|
return dt.apply(void 0, i);
|
|
2567
2623
|
};
|
|
2568
|
-
var
|
|
2624
|
+
var sn = (
|
|
2569
2625
|
/** @class */
|
|
2570
2626
|
function() {
|
|
2571
2627
|
function e(t, r) {
|
|
@@ -2590,12 +2646,12 @@ var Qi = (
|
|
|
2590
2646
|
var l = this.clonePosition();
|
|
2591
2647
|
this.bump(), n.push({
|
|
2592
2648
|
type: C.pound,
|
|
2593
|
-
location:
|
|
2649
|
+
location: A(l, this.clonePosition())
|
|
2594
2650
|
});
|
|
2595
2651
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2596
2652
|
if (i)
|
|
2597
2653
|
break;
|
|
2598
|
-
return this.error(T.UNMATCHED_CLOSING_TAG,
|
|
2654
|
+
return this.error(T.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
|
|
2599
2655
|
} else if (s === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
|
|
2600
2656
|
var a = this.parseTag(t, r);
|
|
2601
2657
|
if (a.err)
|
|
@@ -2619,7 +2675,7 @@ var Qi = (
|
|
|
2619
2675
|
val: {
|
|
2620
2676
|
type: C.literal,
|
|
2621
2677
|
value: "<".concat(n, "/>"),
|
|
2622
|
-
location:
|
|
2678
|
+
location: A(i, this.clonePosition())
|
|
2623
2679
|
},
|
|
2624
2680
|
err: null
|
|
2625
2681
|
};
|
|
@@ -2630,24 +2686,24 @@ var Qi = (
|
|
|
2630
2686
|
var a = s.val, l = this.clonePosition();
|
|
2631
2687
|
if (this.bumpIf("</")) {
|
|
2632
2688
|
if (this.isEOF() || !pt(this.char()))
|
|
2633
|
-
return this.error(T.INVALID_TAG,
|
|
2689
|
+
return this.error(T.INVALID_TAG, A(l, this.clonePosition()));
|
|
2634
2690
|
var o = this.clonePosition(), u = this.parseTagName();
|
|
2635
|
-
return n !== u ? this.error(T.UNMATCHED_CLOSING_TAG,
|
|
2691
|
+
return n !== u ? this.error(T.UNMATCHED_CLOSING_TAG, A(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2636
2692
|
val: {
|
|
2637
2693
|
type: C.tag,
|
|
2638
2694
|
value: n,
|
|
2639
2695
|
children: a,
|
|
2640
|
-
location:
|
|
2696
|
+
location: A(i, this.clonePosition())
|
|
2641
2697
|
},
|
|
2642
2698
|
err: null
|
|
2643
|
-
} : this.error(T.INVALID_TAG,
|
|
2699
|
+
} : this.error(T.INVALID_TAG, A(l, this.clonePosition())));
|
|
2644
2700
|
} else
|
|
2645
|
-
return this.error(T.UNCLOSED_TAG,
|
|
2701
|
+
return this.error(T.UNCLOSED_TAG, A(i, this.clonePosition()));
|
|
2646
2702
|
} else
|
|
2647
|
-
return this.error(T.INVALID_TAG,
|
|
2703
|
+
return this.error(T.INVALID_TAG, A(i, this.clonePosition()));
|
|
2648
2704
|
}, e.prototype.parseTagName = function() {
|
|
2649
2705
|
var t = this.offset();
|
|
2650
|
-
for (this.bump(); !this.isEOF() &&
|
|
2706
|
+
for (this.bump(); !this.isEOF() && an(this.char()); )
|
|
2651
2707
|
this.bump();
|
|
2652
2708
|
return this.message.slice(t, this.offset());
|
|
2653
2709
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2669,14 +2725,14 @@ var Qi = (
|
|
|
2669
2725
|
}
|
|
2670
2726
|
break;
|
|
2671
2727
|
}
|
|
2672
|
-
var o =
|
|
2728
|
+
var o = A(i, this.clonePosition());
|
|
2673
2729
|
return {
|
|
2674
2730
|
val: { type: C.literal, value: n, location: o },
|
|
2675
2731
|
err: null
|
|
2676
2732
|
};
|
|
2677
2733
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2678
2734
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2679
|
-
!
|
|
2735
|
+
!on(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2680
2736
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2681
2737
|
if (this.isEOF() || this.char() !== 39)
|
|
2682
2738
|
return null;
|
|
@@ -2719,14 +2775,14 @@ var Qi = (
|
|
|
2719
2775
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2720
2776
|
var i = this.clonePosition();
|
|
2721
2777
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2722
|
-
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2778
|
+
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
|
|
2723
2779
|
if (this.char() === 125)
|
|
2724
|
-
return this.bump(), this.error(T.EMPTY_ARGUMENT,
|
|
2780
|
+
return this.bump(), this.error(T.EMPTY_ARGUMENT, A(i, this.clonePosition()));
|
|
2725
2781
|
var n = this.parseIdentifierIfPossible().value;
|
|
2726
2782
|
if (!n)
|
|
2727
|
-
return this.error(T.MALFORMED_ARGUMENT,
|
|
2783
|
+
return this.error(T.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
|
|
2728
2784
|
if (this.bumpSpace(), this.isEOF())
|
|
2729
|
-
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2785
|
+
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
|
|
2730
2786
|
switch (this.char()) {
|
|
2731
2787
|
case 125:
|
|
2732
2788
|
return this.bump(), {
|
|
@@ -2734,25 +2790,25 @@ var Qi = (
|
|
|
2734
2790
|
type: C.argument,
|
|
2735
2791
|
// value does not include the opening and closing braces.
|
|
2736
2792
|
value: n,
|
|
2737
|
-
location:
|
|
2793
|
+
location: A(i, this.clonePosition())
|
|
2738
2794
|
},
|
|
2739
2795
|
err: null
|
|
2740
2796
|
};
|
|
2741
2797
|
case 44:
|
|
2742
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2798
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
|
|
2743
2799
|
default:
|
|
2744
|
-
return this.error(T.MALFORMED_ARGUMENT,
|
|
2800
|
+
return this.error(T.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
|
|
2745
2801
|
}
|
|
2746
2802
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2747
2803
|
var t = this.clonePosition(), r = this.offset(), i = mt(this.message, r), n = r + i.length;
|
|
2748
2804
|
this.bumpTo(n);
|
|
2749
|
-
var s = this.clonePosition(), a =
|
|
2805
|
+
var s = this.clonePosition(), a = A(t, s);
|
|
2750
2806
|
return { value: i, location: a };
|
|
2751
2807
|
}, e.prototype.parseArgumentOptions = function(t, r, i, n) {
|
|
2752
2808
|
var s, a = this.clonePosition(), l = this.parseIdentifierIfPossible().value, o = this.clonePosition();
|
|
2753
2809
|
switch (l) {
|
|
2754
2810
|
case "":
|
|
2755
|
-
return this.error(T.EXPECT_ARGUMENT_TYPE,
|
|
2811
|
+
return this.error(T.EXPECT_ARGUMENT_TYPE, A(a, o));
|
|
2756
2812
|
case "number":
|
|
2757
2813
|
case "date":
|
|
2758
2814
|
case "time": {
|
|
@@ -2763,18 +2819,18 @@ var Qi = (
|
|
|
2763
2819
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2764
2820
|
if (c.err)
|
|
2765
2821
|
return c;
|
|
2766
|
-
var
|
|
2767
|
-
if (
|
|
2768
|
-
return this.error(T.EXPECT_ARGUMENT_STYLE,
|
|
2769
|
-
var
|
|
2770
|
-
u = { style:
|
|
2822
|
+
var m = nn(c.val);
|
|
2823
|
+
if (m.length === 0)
|
|
2824
|
+
return this.error(T.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
|
|
2825
|
+
var E = A(h, this.clonePosition());
|
|
2826
|
+
u = { style: m, styleLocation: E };
|
|
2771
2827
|
}
|
|
2772
2828
|
var H = this.tryParseArgumentClose(n);
|
|
2773
2829
|
if (H.err)
|
|
2774
2830
|
return H;
|
|
2775
|
-
var v =
|
|
2831
|
+
var v = A(n, this.clonePosition());
|
|
2776
2832
|
if (u && Rt(u == null ? void 0 : u.style, "::", 0)) {
|
|
2777
|
-
var $ =
|
|
2833
|
+
var $ = rn(u.style.slice(2));
|
|
2778
2834
|
if (l === "number") {
|
|
2779
2835
|
var c = this.parseNumberSkeletonFromString($, u.styleLocation);
|
|
2780
2836
|
return c.err ? c : {
|
|
@@ -2785,15 +2841,15 @@ var Qi = (
|
|
|
2785
2841
|
if ($.length === 0)
|
|
2786
2842
|
return this.error(T.EXPECT_DATE_TIME_SKELETON, v);
|
|
2787
2843
|
var V = $;
|
|
2788
|
-
this.locale && (V =
|
|
2789
|
-
var
|
|
2790
|
-
type:
|
|
2844
|
+
this.locale && (V = Vi($, this.locale));
|
|
2845
|
+
var m = {
|
|
2846
|
+
type: Te.dateTime,
|
|
2791
2847
|
pattern: V,
|
|
2792
2848
|
location: u.styleLocation,
|
|
2793
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2794
|
-
},
|
|
2849
|
+
parsedOptions: this.shouldParseSkeletons ? Li(V) : {}
|
|
2850
|
+
}, k = l === "date" ? C.date : C.time;
|
|
2795
2851
|
return {
|
|
2796
|
-
val: { type:
|
|
2852
|
+
val: { type: k, value: i, location: v, style: m },
|
|
2797
2853
|
err: null
|
|
2798
2854
|
};
|
|
2799
2855
|
}
|
|
@@ -2813,12 +2869,12 @@ var Qi = (
|
|
|
2813
2869
|
case "select": {
|
|
2814
2870
|
var M = this.clonePosition();
|
|
2815
2871
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2816
|
-
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
2872
|
+
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, A(M, O({}, M)));
|
|
2817
2873
|
this.bumpSpace();
|
|
2818
2874
|
var X = this.parseIdentifierIfPossible(), I = 0;
|
|
2819
2875
|
if (l !== "select" && X.value === "offset") {
|
|
2820
2876
|
if (!this.bumpIf(":"))
|
|
2821
|
-
return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
2877
|
+
return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
|
|
2822
2878
|
this.bumpSpace();
|
|
2823
2879
|
var c = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2824
2880
|
if (c.err)
|
|
@@ -2831,12 +2887,12 @@ var Qi = (
|
|
|
2831
2887
|
var H = this.tryParseArgumentClose(n);
|
|
2832
2888
|
if (H.err)
|
|
2833
2889
|
return H;
|
|
2834
|
-
var Y =
|
|
2890
|
+
var Y = A(n, this.clonePosition());
|
|
2835
2891
|
return l === "select" ? {
|
|
2836
2892
|
val: {
|
|
2837
2893
|
type: C.select,
|
|
2838
2894
|
value: i,
|
|
2839
|
-
options:
|
|
2895
|
+
options: Ut(L.val),
|
|
2840
2896
|
location: Y
|
|
2841
2897
|
},
|
|
2842
2898
|
err: null
|
|
@@ -2844,7 +2900,7 @@ var Qi = (
|
|
|
2844
2900
|
val: {
|
|
2845
2901
|
type: C.plural,
|
|
2846
2902
|
value: i,
|
|
2847
|
-
options:
|
|
2903
|
+
options: Ut(L.val),
|
|
2848
2904
|
offset: I,
|
|
2849
2905
|
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
2850
2906
|
location: Y
|
|
@@ -2853,10 +2909,10 @@ var Qi = (
|
|
|
2853
2909
|
};
|
|
2854
2910
|
}
|
|
2855
2911
|
default:
|
|
2856
|
-
return this.error(T.INVALID_ARGUMENT_TYPE,
|
|
2912
|
+
return this.error(T.INVALID_ARGUMENT_TYPE, A(a, o));
|
|
2857
2913
|
}
|
|
2858
2914
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2859
|
-
return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2915
|
+
return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2860
2916
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2861
2917
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2862
2918
|
var i = this.char();
|
|
@@ -2865,7 +2921,7 @@ var Qi = (
|
|
|
2865
2921
|
this.bump();
|
|
2866
2922
|
var n = this.clonePosition();
|
|
2867
2923
|
if (!this.bumpUntil("'"))
|
|
2868
|
-
return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
2924
|
+
return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, A(n, this.clonePosition()));
|
|
2869
2925
|
this.bump();
|
|
2870
2926
|
break;
|
|
2871
2927
|
}
|
|
@@ -2895,16 +2951,16 @@ var Qi = (
|
|
|
2895
2951
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2896
2952
|
var i = [];
|
|
2897
2953
|
try {
|
|
2898
|
-
i =
|
|
2954
|
+
i = Ri(t);
|
|
2899
2955
|
} catch (n) {
|
|
2900
2956
|
return this.error(T.INVALID_NUMBER_SKELETON, r);
|
|
2901
2957
|
}
|
|
2902
2958
|
return {
|
|
2903
2959
|
val: {
|
|
2904
|
-
type:
|
|
2960
|
+
type: Te.number,
|
|
2905
2961
|
tokens: i,
|
|
2906
2962
|
location: r,
|
|
2907
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2963
|
+
parsedOptions: this.shouldParseSkeletons ? Gi(i) : {}
|
|
2908
2964
|
},
|
|
2909
2965
|
err: null
|
|
2910
2966
|
};
|
|
@@ -2913,34 +2969,34 @@ var Qi = (
|
|
|
2913
2969
|
if (u.length === 0) {
|
|
2914
2970
|
var c = this.clonePosition();
|
|
2915
2971
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2916
|
-
var
|
|
2917
|
-
if (
|
|
2918
|
-
return
|
|
2919
|
-
h =
|
|
2972
|
+
var m = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2973
|
+
if (m.err)
|
|
2974
|
+
return m;
|
|
2975
|
+
h = A(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
2920
2976
|
} else
|
|
2921
2977
|
break;
|
|
2922
2978
|
}
|
|
2923
2979
|
if (o.has(u))
|
|
2924
2980
|
return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
2925
2981
|
u === "other" && (a = !0), this.bumpSpace();
|
|
2926
|
-
var
|
|
2982
|
+
var E = this.clonePosition();
|
|
2927
2983
|
if (!this.bumpIf("{"))
|
|
2928
|
-
return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
2984
|
+
return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
|
|
2929
2985
|
var H = this.parseMessage(t + 1, r, i);
|
|
2930
2986
|
if (H.err)
|
|
2931
2987
|
return H;
|
|
2932
|
-
var v = this.tryParseArgumentClose(
|
|
2988
|
+
var v = this.tryParseArgumentClose(E);
|
|
2933
2989
|
if (v.err)
|
|
2934
2990
|
return v;
|
|
2935
2991
|
l.push([
|
|
2936
2992
|
u,
|
|
2937
2993
|
{
|
|
2938
2994
|
value: H.val,
|
|
2939
|
-
location:
|
|
2995
|
+
location: A(E, this.clonePosition())
|
|
2940
2996
|
}
|
|
2941
2997
|
]), o.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
|
|
2942
2998
|
}
|
|
2943
|
-
return l.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
2999
|
+
return l.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(T.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
2944
3000
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2945
3001
|
var i = 1, n = this.clonePosition();
|
|
2946
3002
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
@@ -2951,8 +3007,8 @@ var Qi = (
|
|
|
2951
3007
|
else
|
|
2952
3008
|
break;
|
|
2953
3009
|
}
|
|
2954
|
-
var o =
|
|
2955
|
-
return s ? (a *= i,
|
|
3010
|
+
var o = A(n, this.clonePosition());
|
|
3011
|
+
return s ? (a *= i, en(a) ? { val: a, err: null } : this.error(r, o)) : this.error(t, o);
|
|
2956
3012
|
}, e.prototype.offset = function() {
|
|
2957
3013
|
return this.position.offset;
|
|
2958
3014
|
}, e.prototype.isEOF = function() {
|
|
@@ -2967,7 +3023,7 @@ var Qi = (
|
|
|
2967
3023
|
var t = this.position.offset;
|
|
2968
3024
|
if (t >= this.message.length)
|
|
2969
3025
|
throw Error("out of bound");
|
|
2970
|
-
var r =
|
|
3026
|
+
var r = xr(this.message, t);
|
|
2971
3027
|
if (r === void 0)
|
|
2972
3028
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
2973
3029
|
return r;
|
|
@@ -3008,7 +3064,7 @@ var Qi = (
|
|
|
3008
3064
|
break;
|
|
3009
3065
|
}
|
|
3010
3066
|
}, e.prototype.bumpSpace = function() {
|
|
3011
|
-
for (; !this.isEOF() &&
|
|
3067
|
+
for (; !this.isEOF() && Er(this.char()); )
|
|
3012
3068
|
this.bump();
|
|
3013
3069
|
}, e.prototype.peek = function() {
|
|
3014
3070
|
if (this.isEOF())
|
|
@@ -3021,89 +3077,39 @@ var Qi = (
|
|
|
3021
3077
|
function pt(e) {
|
|
3022
3078
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3023
3079
|
}
|
|
3024
|
-
function
|
|
3080
|
+
function on(e) {
|
|
3025
3081
|
return pt(e) || e === 47;
|
|
3026
3082
|
}
|
|
3027
|
-
function
|
|
3083
|
+
function an(e) {
|
|
3028
3084
|
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;
|
|
3029
3085
|
}
|
|
3030
|
-
function
|
|
3086
|
+
function Er(e) {
|
|
3031
3087
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3032
3088
|
}
|
|
3033
|
-
function
|
|
3089
|
+
function un(e) {
|
|
3034
3090
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3035
3091
|
}
|
|
3036
3092
|
function gt(e) {
|
|
3037
3093
|
e.forEach(function(t) {
|
|
3038
|
-
if (delete t.location,
|
|
3094
|
+
if (delete t.location, cr(t) || dr(t))
|
|
3039
3095
|
for (var r in t.options)
|
|
3040
3096
|
delete t.options[r].location, gt(t.options[r].value);
|
|
3041
|
-
else
|
|
3097
|
+
else lr(t) && pr(t.style) || (hr(t) || fr(t)) && ft(t.style) ? delete t.style.location : mr(t) && gt(t.children);
|
|
3042
3098
|
});
|
|
3043
3099
|
}
|
|
3044
|
-
function
|
|
3045
|
-
t === void 0 && (t = {}), t =
|
|
3046
|
-
var r = new
|
|
3100
|
+
function ln(e, t) {
|
|
3101
|
+
t === void 0 && (t = {}), t = O({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3102
|
+
var r = new sn(e, t).parse();
|
|
3047
3103
|
if (r.err) {
|
|
3048
3104
|
var i = SyntaxError(T[r.err.kind]);
|
|
3049
3105
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3050
3106
|
}
|
|
3051
3107
|
return t != null && t.captureLocation || gt(r.val), r.val;
|
|
3052
3108
|
}
|
|
3053
|
-
|
|
3054
|
-
var r = t && t.cache ? t.cache : ln, i = t && t.serializer ? t.serializer : un, n = t && t.strategy ? t.strategy : sn;
|
|
3055
|
-
return n(e, {
|
|
3056
|
-
cache: r,
|
|
3057
|
-
serializer: i
|
|
3058
|
-
});
|
|
3059
|
-
}
|
|
3060
|
-
function nn(e) {
|
|
3061
|
-
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3062
|
-
}
|
|
3063
|
-
function _r(e, t, r, i) {
|
|
3064
|
-
var n = nn(i) ? i : r(i), s = t.get(n);
|
|
3065
|
-
return typeof s == "undefined" && (s = e.call(this, i), t.set(n, s)), s;
|
|
3066
|
-
}
|
|
3067
|
-
function Er(e, t, r) {
|
|
3068
|
-
var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
|
|
3069
|
-
return typeof s == "undefined" && (s = e.apply(this, i), t.set(n, s)), s;
|
|
3070
|
-
}
|
|
3071
|
-
function Et(e, t, r, i, n) {
|
|
3072
|
-
return r.bind(t, e, i, n);
|
|
3073
|
-
}
|
|
3074
|
-
function sn(e, t) {
|
|
3075
|
-
var r = e.length === 1 ? _r : Er;
|
|
3076
|
-
return Et(e, this, r, t.cache.create(), t.serializer);
|
|
3077
|
-
}
|
|
3078
|
-
function on(e, t) {
|
|
3079
|
-
return Et(e, this, Er, t.cache.create(), t.serializer);
|
|
3080
|
-
}
|
|
3081
|
-
function an(e, t) {
|
|
3082
|
-
return Et(e, this, _r, t.cache.create(), t.serializer);
|
|
3083
|
-
}
|
|
3084
|
-
var un = function() {
|
|
3085
|
-
return JSON.stringify(arguments);
|
|
3086
|
-
};
|
|
3087
|
-
function wt() {
|
|
3088
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3089
|
-
}
|
|
3090
|
-
wt.prototype.get = function(e) {
|
|
3091
|
-
return this.cache[e];
|
|
3092
|
-
};
|
|
3093
|
-
wt.prototype.set = function(e, t) {
|
|
3094
|
-
this.cache[e] = t;
|
|
3095
|
-
};
|
|
3096
|
-
var ln = {
|
|
3097
|
-
create: function() {
|
|
3098
|
-
return new wt();
|
|
3099
|
-
}
|
|
3100
|
-
}, nt = {
|
|
3101
|
-
variadic: on,
|
|
3102
|
-
monadic: an
|
|
3103
|
-
}, Te;
|
|
3109
|
+
var He;
|
|
3104
3110
|
(function(e) {
|
|
3105
3111
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3106
|
-
})(
|
|
3112
|
+
})(He || (He = {}));
|
|
3107
3113
|
var Je = (
|
|
3108
3114
|
/** @class */
|
|
3109
3115
|
function(e) {
|
|
@@ -3121,7 +3127,7 @@ var Je = (
|
|
|
3121
3127
|
function(e) {
|
|
3122
3128
|
Ze(t, e);
|
|
3123
3129
|
function t(r, i, n, s) {
|
|
3124
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3130
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), He.INVALID_VALUE, s) || this;
|
|
3125
3131
|
}
|
|
3126
3132
|
return t;
|
|
3127
3133
|
}(Je)
|
|
@@ -3130,7 +3136,7 @@ var Je = (
|
|
|
3130
3136
|
function(e) {
|
|
3131
3137
|
Ze(t, e);
|
|
3132
3138
|
function t(r, i, n) {
|
|
3133
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i),
|
|
3139
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), He.INVALID_VALUE, n) || this;
|
|
3134
3140
|
}
|
|
3135
3141
|
return t;
|
|
3136
3142
|
}(Je)
|
|
@@ -3139,7 +3145,7 @@ var Je = (
|
|
|
3139
3145
|
function(e) {
|
|
3140
3146
|
Ze(t, e);
|
|
3141
3147
|
function t(r, i) {
|
|
3142
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'),
|
|
3148
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), He.MISSING_VALUE, i) || this;
|
|
3143
3149
|
}
|
|
3144
3150
|
return t;
|
|
3145
3151
|
}(Je)
|
|
@@ -3173,7 +3179,7 @@ function Ve(e, t, r, i, n, s, a) {
|
|
|
3173
3179
|
});
|
|
3174
3180
|
continue;
|
|
3175
3181
|
}
|
|
3176
|
-
if (
|
|
3182
|
+
if (Di(h)) {
|
|
3177
3183
|
typeof s == "number" && l.push({
|
|
3178
3184
|
type: z.literal,
|
|
3179
3185
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3183,86 +3189,86 @@ function Ve(e, t, r, i, n, s, a) {
|
|
|
3183
3189
|
var c = h.value;
|
|
3184
3190
|
if (!(n && c in n))
|
|
3185
3191
|
throw new fn(c, a);
|
|
3186
|
-
var
|
|
3187
|
-
if (
|
|
3188
|
-
(!
|
|
3189
|
-
type: typeof
|
|
3190
|
-
value:
|
|
3192
|
+
var m = n[c];
|
|
3193
|
+
if (Ci(h)) {
|
|
3194
|
+
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), l.push({
|
|
3195
|
+
type: typeof m == "string" ? z.literal : z.object,
|
|
3196
|
+
value: m
|
|
3191
3197
|
});
|
|
3192
3198
|
continue;
|
|
3193
3199
|
}
|
|
3194
|
-
if (
|
|
3195
|
-
var
|
|
3200
|
+
if (hr(h)) {
|
|
3201
|
+
var E = typeof h.style == "string" ? i.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
|
|
3196
3202
|
l.push({
|
|
3197
3203
|
type: z.literal,
|
|
3198
|
-
value: r.getDateTimeFormat(t,
|
|
3204
|
+
value: r.getDateTimeFormat(t, E).format(m)
|
|
3199
3205
|
});
|
|
3200
3206
|
continue;
|
|
3201
3207
|
}
|
|
3202
|
-
if (
|
|
3203
|
-
var
|
|
3208
|
+
if (fr(h)) {
|
|
3209
|
+
var E = typeof h.style == "string" ? i.time[h.style] : ft(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3204
3210
|
l.push({
|
|
3205
3211
|
type: z.literal,
|
|
3206
|
-
value: r.getDateTimeFormat(t,
|
|
3212
|
+
value: r.getDateTimeFormat(t, E).format(m)
|
|
3207
3213
|
});
|
|
3208
3214
|
continue;
|
|
3209
3215
|
}
|
|
3210
|
-
if (
|
|
3211
|
-
var
|
|
3212
|
-
|
|
3216
|
+
if (lr(h)) {
|
|
3217
|
+
var E = typeof h.style == "string" ? i.number[h.style] : pr(h.style) ? h.style.parsedOptions : void 0;
|
|
3218
|
+
E && E.scale && (m = m * (E.scale || 1)), l.push({
|
|
3213
3219
|
type: z.literal,
|
|
3214
|
-
value: r.getNumberFormat(t,
|
|
3220
|
+
value: r.getNumberFormat(t, E).format(m)
|
|
3215
3221
|
});
|
|
3216
3222
|
continue;
|
|
3217
3223
|
}
|
|
3218
|
-
if (
|
|
3224
|
+
if (mr(h)) {
|
|
3219
3225
|
var H = h.children, v = h.value, $ = n[v];
|
|
3220
3226
|
if (!dn($))
|
|
3221
3227
|
throw new hn(v, "function", a);
|
|
3222
|
-
var V = Ve(H, t, r, i, n, s),
|
|
3228
|
+
var V = Ve(H, t, r, i, n, s), k = $(V.map(function(I) {
|
|
3223
3229
|
return I.value;
|
|
3224
3230
|
}));
|
|
3225
|
-
Array.isArray(
|
|
3231
|
+
Array.isArray(k) || (k = [k]), l.push.apply(l, k.map(function(I) {
|
|
3226
3232
|
return {
|
|
3227
3233
|
type: typeof I == "string" ? z.literal : z.object,
|
|
3228
3234
|
value: I
|
|
3229
3235
|
};
|
|
3230
3236
|
}));
|
|
3231
3237
|
}
|
|
3232
|
-
if (
|
|
3233
|
-
var M = h.options[
|
|
3238
|
+
if (cr(h)) {
|
|
3239
|
+
var M = h.options[m] || h.options.other;
|
|
3234
3240
|
if (!M)
|
|
3235
|
-
throw new Ft(h.value,
|
|
3241
|
+
throw new Ft(h.value, m, Object.keys(h.options), a);
|
|
3236
3242
|
l.push.apply(l, Ve(M.value, t, r, i, n));
|
|
3237
3243
|
continue;
|
|
3238
3244
|
}
|
|
3239
|
-
if (
|
|
3240
|
-
var M = h.options["=".concat(
|
|
3245
|
+
if (dr(h)) {
|
|
3246
|
+
var M = h.options["=".concat(m)];
|
|
3241
3247
|
if (!M) {
|
|
3242
3248
|
if (!Intl.PluralRules)
|
|
3243
3249
|
throw new Je(`Intl.PluralRules is not available in this environment.
|
|
3244
3250
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3245
|
-
`,
|
|
3246
|
-
var X = r.getPluralRules(t, { type: h.pluralType }).select(
|
|
3251
|
+
`, He.MISSING_INTL_API, a);
|
|
3252
|
+
var X = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
|
|
3247
3253
|
M = h.options[X] || h.options.other;
|
|
3248
3254
|
}
|
|
3249
3255
|
if (!M)
|
|
3250
|
-
throw new Ft(h.value,
|
|
3251
|
-
l.push.apply(l, Ve(M.value, t, r, i, n,
|
|
3256
|
+
throw new Ft(h.value, m, Object.keys(h.options), a);
|
|
3257
|
+
l.push.apply(l, Ve(M.value, t, r, i, n, m - (h.offset || 0)));
|
|
3252
3258
|
continue;
|
|
3253
3259
|
}
|
|
3254
3260
|
}
|
|
3255
3261
|
return cn(l);
|
|
3256
3262
|
}
|
|
3257
3263
|
function mn(e, t) {
|
|
3258
|
-
return t ?
|
|
3259
|
-
return r[i] =
|
|
3264
|
+
return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3265
|
+
return r[i] = O(O({}, e[i]), t[i] || {}), r;
|
|
3260
3266
|
}, {})) : e;
|
|
3261
3267
|
}
|
|
3262
3268
|
function pn(e, t) {
|
|
3263
3269
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3264
3270
|
return r[i] = mn(e[i], t[i]), r;
|
|
3265
|
-
},
|
|
3271
|
+
}, O({}, e)) : e;
|
|
3266
3272
|
}
|
|
3267
3273
|
function st(e) {
|
|
3268
3274
|
return {
|
|
@@ -3284,29 +3290,29 @@ function gn(e) {
|
|
|
3284
3290
|
dateTime: {},
|
|
3285
3291
|
pluralRules: {}
|
|
3286
3292
|
}), {
|
|
3287
|
-
getNumberFormat:
|
|
3293
|
+
getNumberFormat: rt(function() {
|
|
3288
3294
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3289
3295
|
r[i] = arguments[i];
|
|
3290
3296
|
return new ((t = Intl.NumberFormat).bind.apply(t, tt([void 0], r, !1)))();
|
|
3291
3297
|
}, {
|
|
3292
3298
|
cache: st(e.number),
|
|
3293
|
-
strategy:
|
|
3299
|
+
strategy: it.variadic
|
|
3294
3300
|
}),
|
|
3295
|
-
getDateTimeFormat:
|
|
3301
|
+
getDateTimeFormat: rt(function() {
|
|
3296
3302
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3297
3303
|
r[i] = arguments[i];
|
|
3298
3304
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, tt([void 0], r, !1)))();
|
|
3299
3305
|
}, {
|
|
3300
3306
|
cache: st(e.dateTime),
|
|
3301
|
-
strategy:
|
|
3307
|
+
strategy: it.variadic
|
|
3302
3308
|
}),
|
|
3303
|
-
getPluralRules:
|
|
3309
|
+
getPluralRules: rt(function() {
|
|
3304
3310
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3305
3311
|
r[i] = arguments[i];
|
|
3306
3312
|
return new ((t = Intl.PluralRules).bind.apply(t, tt([void 0], r, !1)))();
|
|
3307
3313
|
}, {
|
|
3308
3314
|
cache: st(e.pluralRules),
|
|
3309
|
-
strategy:
|
|
3315
|
+
strategy: it.variadic
|
|
3310
3316
|
})
|
|
3311
3317
|
};
|
|
3312
3318
|
}
|
|
@@ -3314,8 +3320,9 @@ var wr = (
|
|
|
3314
3320
|
/** @class */
|
|
3315
3321
|
function() {
|
|
3316
3322
|
function e(t, r, i, n) {
|
|
3323
|
+
r === void 0 && (r = e.defaultLocale);
|
|
3317
3324
|
var s = this;
|
|
3318
|
-
if (
|
|
3325
|
+
if (this.formatterCache = {
|
|
3319
3326
|
number: {},
|
|
3320
3327
|
dateTime: {},
|
|
3321
3328
|
pluralRules: {}
|
|
@@ -3323,8 +3330,8 @@ var wr = (
|
|
|
3323
3330
|
var u = s.formatToParts(o);
|
|
3324
3331
|
if (u.length === 1)
|
|
3325
3332
|
return u[0].value;
|
|
3326
|
-
var h = u.reduce(function(c,
|
|
3327
|
-
return !c.length ||
|
|
3333
|
+
var h = u.reduce(function(c, m) {
|
|
3334
|
+
return !c.length || m.type !== z.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
|
|
3328
3335
|
}, []);
|
|
3329
3336
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3330
3337
|
}, this.formatToParts = function(o) {
|
|
@@ -3342,7 +3349,7 @@ var wr = (
|
|
|
3342
3349
|
var a = n || {};
|
|
3343
3350
|
a.formatters;
|
|
3344
3351
|
var l = Hi(a, ["formatters"]);
|
|
3345
|
-
this.ast = e.__parse(t,
|
|
3352
|
+
this.ast = e.__parse(t, O(O({}, l), { locale: this.resolvedLocale }));
|
|
3346
3353
|
} else
|
|
3347
3354
|
this.ast = t;
|
|
3348
3355
|
if (!Array.isArray(this.ast))
|
|
@@ -3360,7 +3367,7 @@ var wr = (
|
|
|
3360
3367
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3361
3368
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3362
3369
|
}
|
|
3363
|
-
}, e.__parse =
|
|
3370
|
+
}, e.__parse = ln, e.formats = {
|
|
3364
3371
|
number: {
|
|
3365
3372
|
integer: {
|
|
3366
3373
|
maximumFractionDigits: 0
|
|
@@ -3490,12 +3497,12 @@ const je = {};
|
|
|
3490
3497
|
function En(e, t) {
|
|
3491
3498
|
je[e].delete(t), je[e].size === 0 && delete je[e];
|
|
3492
3499
|
}
|
|
3493
|
-
function
|
|
3500
|
+
function Ar(e) {
|
|
3494
3501
|
return je[e];
|
|
3495
3502
|
}
|
|
3496
3503
|
function wn(e) {
|
|
3497
3504
|
return Re(e).map((t) => {
|
|
3498
|
-
const r =
|
|
3505
|
+
const r = Ar(t);
|
|
3499
3506
|
return [t, r ? [...r] : []];
|
|
3500
3507
|
}).filter(([, t]) => t.length > 0);
|
|
3501
3508
|
}
|
|
@@ -3503,7 +3510,7 @@ function Xe(e) {
|
|
|
3503
3510
|
return e == null ? !1 : Re(e).some(
|
|
3504
3511
|
(t) => {
|
|
3505
3512
|
var r;
|
|
3506
|
-
return (r =
|
|
3513
|
+
return (r = Ar(t)) == null ? void 0 : r.size;
|
|
3507
3514
|
}
|
|
3508
3515
|
);
|
|
3509
3516
|
}
|
|
@@ -3513,7 +3520,7 @@ function Sn(e, t) {
|
|
|
3513
3520
|
).then((i) => Hr(e, ...i));
|
|
3514
3521
|
}
|
|
3515
3522
|
const $e = {};
|
|
3516
|
-
function
|
|
3523
|
+
function Or(e) {
|
|
3517
3524
|
if (!Xe(e))
|
|
3518
3525
|
return e in $e ? $e[e] : Promise.resolve();
|
|
3519
3526
|
const t = wn(e);
|
|
@@ -3523,11 +3530,11 @@ function Ar(e) {
|
|
|
3523
3530
|
)
|
|
3524
3531
|
).then(() => {
|
|
3525
3532
|
if (Xe(e))
|
|
3526
|
-
return
|
|
3533
|
+
return Or(e);
|
|
3527
3534
|
delete $e[e];
|
|
3528
3535
|
}), $e[e];
|
|
3529
3536
|
}
|
|
3530
|
-
var Gt = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable,
|
|
3537
|
+
var Gt = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, An = (e, t) => {
|
|
3531
3538
|
var r = {};
|
|
3532
3539
|
for (var i in e)
|
|
3533
3540
|
Tn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
@@ -3536,7 +3543,7 @@ var Gt = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Hn
|
|
|
3536
3543
|
t.indexOf(i) < 0 && Hn.call(e, i) && (r[i] = e[i]);
|
|
3537
3544
|
return r;
|
|
3538
3545
|
};
|
|
3539
|
-
const
|
|
3546
|
+
const On = {
|
|
3540
3547
|
number: {
|
|
3541
3548
|
scientific: { notation: "scientific" },
|
|
3542
3549
|
engineering: { notation: "engineering" },
|
|
@@ -3578,16 +3585,16 @@ Note: there are at least one loader still registered to this locale that wasn't
|
|
|
3578
3585
|
const $n = {
|
|
3579
3586
|
fallbackLocale: null,
|
|
3580
3587
|
loadingDelay: 200,
|
|
3581
|
-
formats:
|
|
3588
|
+
formats: On,
|
|
3582
3589
|
warnOnMissingMessages: !0,
|
|
3583
3590
|
handleMissingMessage: void 0,
|
|
3584
3591
|
ignoreTag: !0
|
|
3585
3592
|
}, Be = $n;
|
|
3586
|
-
function
|
|
3593
|
+
function Ae() {
|
|
3587
3594
|
return Be;
|
|
3588
3595
|
}
|
|
3589
3596
|
function Bn(e) {
|
|
3590
|
-
const t = e, { formats: r } = t, i =
|
|
3597
|
+
const t = e, { formats: r } = t, i = An(t, ["formats"]);
|
|
3591
3598
|
let n = e.fallbackLocale;
|
|
3592
3599
|
if (e.initialLocale)
|
|
3593
3600
|
try {
|
|
@@ -3615,7 +3622,7 @@ const We = Ye(null);
|
|
|
3615
3622
|
function zt(e) {
|
|
3616
3623
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
3617
3624
|
}
|
|
3618
|
-
function Re(e, t =
|
|
3625
|
+
function Re(e, t = Ae().fallbackLocale) {
|
|
3619
3626
|
const r = zt(e);
|
|
3620
3627
|
return t ? [.../* @__PURE__ */ new Set([...r, ...zt(t)])] : r;
|
|
3621
3628
|
}
|
|
@@ -3625,14 +3632,14 @@ function de() {
|
|
|
3625
3632
|
We.subscribe((e) => {
|
|
3626
3633
|
vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3627
3634
|
});
|
|
3628
|
-
const
|
|
3635
|
+
const Un = (e) => {
|
|
3629
3636
|
if (e && _n(e) && Xe(e)) {
|
|
3630
|
-
const { loadingDelay: t } =
|
|
3637
|
+
const { loadingDelay: t } = Ae();
|
|
3631
3638
|
let r;
|
|
3632
3639
|
return typeof window != "undefined" && de() != null && t ? r = window.setTimeout(
|
|
3633
3640
|
() => ot.set(!0),
|
|
3634
3641
|
t
|
|
3635
|
-
) : ot.set(!0),
|
|
3642
|
+
) : ot.set(!0), Or(e).then(() => {
|
|
3636
3643
|
We.set(e);
|
|
3637
3644
|
}).finally(() => {
|
|
3638
3645
|
clearTimeout(r), ot.set(!1);
|
|
@@ -3640,7 +3647,7 @@ const kn = (e) => {
|
|
|
3640
3647
|
}
|
|
3641
3648
|
return We.set(e);
|
|
3642
3649
|
}, pe = Rn(Nn({}, We), {
|
|
3643
|
-
set:
|
|
3650
|
+
set: Un
|
|
3644
3651
|
}), Qe = (e) => {
|
|
3645
3652
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3646
3653
|
return (i) => {
|
|
@@ -3648,14 +3655,14 @@ const kn = (e) => {
|
|
|
3648
3655
|
return n in t ? t[n] : t[n] = e(i);
|
|
3649
3656
|
};
|
|
3650
3657
|
};
|
|
3651
|
-
var
|
|
3658
|
+
var kn = Object.defineProperty, qe = Object.getOwnPropertySymbols, Pr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
|
|
3652
3659
|
for (var r in t || (t = {}))
|
|
3653
3660
|
Pr.call(t, r) && Xt(e, r, t[r]);
|
|
3654
3661
|
if (qe)
|
|
3655
3662
|
for (var r of qe(t))
|
|
3656
3663
|
$r.call(t, r) && Xt(e, r, t[r]);
|
|
3657
3664
|
return e;
|
|
3658
|
-
},
|
|
3665
|
+
}, Pe = (e, t) => {
|
|
3659
3666
|
var r = {};
|
|
3660
3667
|
for (var i in e)
|
|
3661
3668
|
Pr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
@@ -3665,27 +3672,27 @@ var Un = Object.defineProperty, qe = Object.getOwnPropertySymbols, Pr = Object.p
|
|
|
3665
3672
|
return r;
|
|
3666
3673
|
};
|
|
3667
3674
|
const Ie = (e, t) => {
|
|
3668
|
-
const { formats: r } =
|
|
3675
|
+
const { formats: r } = Ae();
|
|
3669
3676
|
if (e in r && t in r[e])
|
|
3670
3677
|
return r[e][t];
|
|
3671
3678
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3672
3679
|
}, Fn = Qe(
|
|
3673
3680
|
(e) => {
|
|
3674
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3681
|
+
var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
|
|
3675
3682
|
if (r == null)
|
|
3676
3683
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3677
3684
|
return i && (n = Ie("number", i)), new Intl.NumberFormat(r, n);
|
|
3678
3685
|
}
|
|
3679
3686
|
), Gn = Qe(
|
|
3680
3687
|
(e) => {
|
|
3681
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3688
|
+
var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
|
|
3682
3689
|
if (r == null)
|
|
3683
3690
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3684
3691
|
return i ? n = Ie("date", i) : Object.keys(n).length === 0 && (n = Ie("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
3685
3692
|
}
|
|
3686
3693
|
), Vn = Qe(
|
|
3687
3694
|
(e) => {
|
|
3688
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3695
|
+
var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
|
|
3689
3696
|
if (r == null)
|
|
3690
3697
|
throw new Error(
|
|
3691
3698
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
@@ -3695,28 +3702,28 @@ const Ie = (e, t) => {
|
|
|
3695
3702
|
), jn = (e = {}) => {
|
|
3696
3703
|
var t = e, {
|
|
3697
3704
|
locale: r = de()
|
|
3698
|
-
} = t, i =
|
|
3705
|
+
} = t, i = Pe(t, [
|
|
3699
3706
|
"locale"
|
|
3700
3707
|
]);
|
|
3701
3708
|
return Fn(Tt({ locale: r }, i));
|
|
3702
3709
|
}, zn = (e = {}) => {
|
|
3703
3710
|
var t = e, {
|
|
3704
3711
|
locale: r = de()
|
|
3705
|
-
} = t, i =
|
|
3712
|
+
} = t, i = Pe(t, [
|
|
3706
3713
|
"locale"
|
|
3707
3714
|
]);
|
|
3708
3715
|
return Gn(Tt({ locale: r }, i));
|
|
3709
3716
|
}, Xn = (e = {}) => {
|
|
3710
3717
|
var t = e, {
|
|
3711
3718
|
locale: r = de()
|
|
3712
|
-
} = t, i =
|
|
3719
|
+
} = t, i = Pe(t, [
|
|
3713
3720
|
"locale"
|
|
3714
3721
|
]);
|
|
3715
3722
|
return Vn(Tt({ locale: r }, i));
|
|
3716
3723
|
}, Wn = Qe(
|
|
3717
3724
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3718
|
-
(e, t = de()) => new wr(e, t,
|
|
3719
|
-
ignoreTag:
|
|
3725
|
+
(e, t = de()) => new wr(e, t, Ae().formats, {
|
|
3726
|
+
ignoreTag: Ae().ignoreTag
|
|
3720
3727
|
})
|
|
3721
3728
|
), qn = (e, t = {}) => {
|
|
3722
3729
|
var r, i, n, s;
|
|
@@ -3733,7 +3740,7 @@ const Ie = (e, t) => {
|
|
|
3733
3740
|
);
|
|
3734
3741
|
let h = Sr(e, o);
|
|
3735
3742
|
if (!h)
|
|
3736
|
-
h = (s = (n = (i = (r =
|
|
3743
|
+
h = (s = (n = (i = (r = Ae()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
|
|
3737
3744
|
else if (typeof h != "string")
|
|
3738
3745
|
return console.warn(
|
|
3739
3746
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3743,10 +3750,10 @@ const Ie = (e, t) => {
|
|
|
3743
3750
|
let c = h;
|
|
3744
3751
|
try {
|
|
3745
3752
|
c = Wn(h, o).format(l);
|
|
3746
|
-
} catch (
|
|
3747
|
-
|
|
3753
|
+
} catch (m) {
|
|
3754
|
+
m instanceof Error && console.warn(
|
|
3748
3755
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3749
|
-
|
|
3756
|
+
m.message
|
|
3750
3757
|
);
|
|
3751
3758
|
}
|
|
3752
3759
|
return c;
|
|
@@ -3831,7 +3838,7 @@ if (typeof window != "undefined") {
|
|
|
3831
3838
|
}
|
|
3832
3839
|
};
|
|
3833
3840
|
};
|
|
3834
|
-
customElements.define = e(customElements.define), import("./CashierVideoModal-
|
|
3841
|
+
customElements.define = e(customElements.define), import("./CashierVideoModal-ZVGTUU-8.js").then(({ default: t }) => {
|
|
3835
3842
|
!customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
|
|
3836
3843
|
});
|
|
3837
3844
|
}
|
|
@@ -3840,69 +3847,69 @@ var Br = { exports: {} };
|
|
|
3840
3847
|
(function(r, i) {
|
|
3841
3848
|
e.exports = i();
|
|
3842
3849
|
})(sr, function() {
|
|
3843
|
-
var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", a = "second", l = "minute", o = "hour", u = "day", h = "week", c = "month",
|
|
3844
|
-
var g = ["th", "st", "nd", "rd"], d =
|
|
3845
|
-
return "[" +
|
|
3846
|
-
} }, M = function(
|
|
3847
|
-
var b = String(
|
|
3848
|
-
return !b || b.length >= g ?
|
|
3849
|
-
}, X = { s: M, z: function(
|
|
3850
|
-
var g = -
|
|
3851
|
-
return (g <= 0 ? "+" : "-") + M(b, 2, "0") + ":" + M(
|
|
3852
|
-
}, m: function
|
|
3853
|
-
if (g.date() < d.date()) return -
|
|
3854
|
-
var b = 12 * (d.year() - g.year()) + (d.month() - g.month()),
|
|
3855
|
-
return +(-(b + (d -
|
|
3856
|
-
}, a: function(
|
|
3857
|
-
return
|
|
3858
|
-
}, p: function(
|
|
3859
|
-
return { M: c, y:
|
|
3860
|
-
}, u: function(
|
|
3861
|
-
return
|
|
3850
|
+
var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", a = "second", l = "minute", o = "hour", u = "day", h = "week", c = "month", m = "quarter", E = "year", H = "date", v = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, k = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
|
|
3851
|
+
var g = ["th", "st", "nd", "rd"], d = x % 100;
|
|
3852
|
+
return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
|
|
3853
|
+
} }, M = function(x, g, d) {
|
|
3854
|
+
var b = String(x);
|
|
3855
|
+
return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(d) + x;
|
|
3856
|
+
}, X = { s: M, z: function(x) {
|
|
3857
|
+
var g = -x.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), p = d % 60;
|
|
3858
|
+
return (g <= 0 ? "+" : "-") + M(b, 2, "0") + ":" + M(p, 2, "0");
|
|
3859
|
+
}, m: function x(g, d) {
|
|
3860
|
+
if (g.date() < d.date()) return -x(d, g);
|
|
3861
|
+
var b = 12 * (d.year() - g.year()) + (d.month() - g.month()), p = g.clone().add(b, c), _ = d - p < 0, w = g.clone().add(b + (_ ? -1 : 1), c);
|
|
3862
|
+
return +(-(b + (d - p) / (_ ? p - w : w - p)) || 0);
|
|
3863
|
+
}, a: function(x) {
|
|
3864
|
+
return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
|
|
3865
|
+
}, p: function(x) {
|
|
3866
|
+
return { M: c, y: E, w: h, d: u, D: H, h: o, m: l, s: a, ms: s, Q: m }[x] || String(x || "").toLowerCase().replace(/s$/, "");
|
|
3867
|
+
}, u: function(x) {
|
|
3868
|
+
return x === void 0;
|
|
3862
3869
|
} }, I = "en", L = {};
|
|
3863
|
-
L[I] =
|
|
3864
|
-
var Y = "$isDayjsObject", R = function(
|
|
3865
|
-
return
|
|
3866
|
-
}, W = function
|
|
3867
|
-
var
|
|
3870
|
+
L[I] = k;
|
|
3871
|
+
var Y = "$isDayjsObject", R = function(x) {
|
|
3872
|
+
return x instanceof ge || !(!x || !x[Y]);
|
|
3873
|
+
}, W = function x(g, d, b) {
|
|
3874
|
+
var p;
|
|
3868
3875
|
if (!g) return I;
|
|
3869
3876
|
if (typeof g == "string") {
|
|
3870
|
-
var
|
|
3871
|
-
L[
|
|
3877
|
+
var _ = g.toLowerCase();
|
|
3878
|
+
L[_] && (p = _), d && (L[_] = d, p = _);
|
|
3872
3879
|
var w = g.split("-");
|
|
3873
|
-
if (!
|
|
3880
|
+
if (!p && w.length > 1) return x(w[0]);
|
|
3874
3881
|
} else {
|
|
3875
3882
|
var B = g.name;
|
|
3876
|
-
L[B] = g,
|
|
3883
|
+
L[B] = g, p = B;
|
|
3877
3884
|
}
|
|
3878
|
-
return !b &&
|
|
3879
|
-
},
|
|
3880
|
-
if (R(
|
|
3885
|
+
return !b && p && (I = p), p || !b && I;
|
|
3886
|
+
}, U = function(x, g) {
|
|
3887
|
+
if (R(x)) return x.clone();
|
|
3881
3888
|
var d = typeof g == "object" ? g : {};
|
|
3882
|
-
return d.date =
|
|
3889
|
+
return d.date = x, d.args = arguments, new ge(d);
|
|
3883
3890
|
}, P = X;
|
|
3884
|
-
P.l = W, P.i = R, P.w = function(
|
|
3885
|
-
return
|
|
3891
|
+
P.l = W, P.i = R, P.w = function(x, g) {
|
|
3892
|
+
return U(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
|
|
3886
3893
|
};
|
|
3887
3894
|
var ge = function() {
|
|
3888
|
-
function
|
|
3895
|
+
function x(d) {
|
|
3889
3896
|
this.$L = W(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[Y] = !0;
|
|
3890
3897
|
}
|
|
3891
|
-
var g =
|
|
3898
|
+
var g = x.prototype;
|
|
3892
3899
|
return g.parse = function(d) {
|
|
3893
3900
|
this.$d = function(b) {
|
|
3894
|
-
var
|
|
3895
|
-
if (
|
|
3896
|
-
if (P.u(
|
|
3897
|
-
if (
|
|
3898
|
-
if (typeof
|
|
3899
|
-
var w =
|
|
3901
|
+
var p = b.date, _ = b.utc;
|
|
3902
|
+
if (p === null) return /* @__PURE__ */ new Date(NaN);
|
|
3903
|
+
if (P.u(p)) return /* @__PURE__ */ new Date();
|
|
3904
|
+
if (p instanceof Date) return new Date(p);
|
|
3905
|
+
if (typeof p == "string" && !/Z$/i.test(p)) {
|
|
3906
|
+
var w = p.match($);
|
|
3900
3907
|
if (w) {
|
|
3901
3908
|
var B = w[2] - 1 || 0, D = (w[7] || "0").substring(0, 3);
|
|
3902
|
-
return
|
|
3909
|
+
return _ ? new Date(Date.UTC(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D)) : new Date(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D);
|
|
3903
3910
|
}
|
|
3904
3911
|
}
|
|
3905
|
-
return new Date(
|
|
3912
|
+
return new Date(p);
|
|
3906
3913
|
}(d), this.init();
|
|
3907
3914
|
}, g.init = function() {
|
|
3908
3915
|
var d = this.$d;
|
|
@@ -3912,33 +3919,33 @@ var Br = { exports: {} };
|
|
|
3912
3919
|
}, g.isValid = function() {
|
|
3913
3920
|
return this.$d.toString() !== v;
|
|
3914
3921
|
}, g.isSame = function(d, b) {
|
|
3915
|
-
var
|
|
3916
|
-
return this.startOf(b) <=
|
|
3922
|
+
var p = U(d);
|
|
3923
|
+
return this.startOf(b) <= p && p <= this.endOf(b);
|
|
3917
3924
|
}, g.isAfter = function(d, b) {
|
|
3918
|
-
return
|
|
3925
|
+
return U(d) < this.startOf(b);
|
|
3919
3926
|
}, g.isBefore = function(d, b) {
|
|
3920
|
-
return this.endOf(b) <
|
|
3921
|
-
}, g.$g = function(d, b,
|
|
3922
|
-
return P.u(d) ? this[b] : this.set(
|
|
3927
|
+
return this.endOf(b) < U(d);
|
|
3928
|
+
}, g.$g = function(d, b, p) {
|
|
3929
|
+
return P.u(d) ? this[b] : this.set(p, d);
|
|
3923
3930
|
}, g.unix = function() {
|
|
3924
3931
|
return Math.floor(this.valueOf() / 1e3);
|
|
3925
3932
|
}, g.valueOf = function() {
|
|
3926
3933
|
return this.$d.getTime();
|
|
3927
3934
|
}, g.startOf = function(d, b) {
|
|
3928
|
-
var
|
|
3929
|
-
var Q = P.w(
|
|
3930
|
-
return
|
|
3935
|
+
var p = this, _ = !!P.u(b) || b, w = P.p(d), B = function(ae, j) {
|
|
3936
|
+
var Q = P.w(p.$u ? Date.UTC(p.$y, j, ae) : new Date(p.$y, j, ae), p);
|
|
3937
|
+
return _ ? Q : Q.endOf(u);
|
|
3931
3938
|
}, D = function(ae, j) {
|
|
3932
|
-
return P.w(
|
|
3939
|
+
return P.w(p.toDate()[ae].apply(p.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(j)), p);
|
|
3933
3940
|
}, N = this.$W, F = this.$M, q = this.$D, le = "set" + (this.$u ? "UTC" : "");
|
|
3934
3941
|
switch (w) {
|
|
3935
|
-
case
|
|
3936
|
-
return
|
|
3942
|
+
case E:
|
|
3943
|
+
return _ ? B(1, 0) : B(31, 11);
|
|
3937
3944
|
case c:
|
|
3938
|
-
return
|
|
3945
|
+
return _ ? B(1, F) : B(0, F + 1);
|
|
3939
3946
|
case h:
|
|
3940
3947
|
var se = this.$locale().weekStart || 0, oe = (N < se ? N + 7 : N) - se;
|
|
3941
|
-
return B(
|
|
3948
|
+
return B(_ ? q - oe : q + (6 - oe), F);
|
|
3942
3949
|
case u:
|
|
3943
3950
|
case H:
|
|
3944
3951
|
return D(le + "Hours", 0);
|
|
@@ -3954,8 +3961,8 @@ var Br = { exports: {} };
|
|
|
3954
3961
|
}, g.endOf = function(d) {
|
|
3955
3962
|
return this.startOf(d, !1);
|
|
3956
3963
|
}, g.$set = function(d, b) {
|
|
3957
|
-
var
|
|
3958
|
-
if (
|
|
3964
|
+
var p, _ = P.p(d), w = "set" + (this.$u ? "UTC" : ""), B = (p = {}, p[u] = w + "Date", p[H] = w + "Date", p[c] = w + "Month", p[E] = w + "FullYear", p[o] = w + "Hours", p[l] = w + "Minutes", p[a] = w + "Seconds", p[s] = w + "Milliseconds", p)[_], D = _ === u ? this.$D + (b - this.$W) : b;
|
|
3965
|
+
if (_ === c || _ === E) {
|
|
3959
3966
|
var N = this.clone().set(H, 1);
|
|
3960
3967
|
N.$d[B](D), N.init(), this.$d = N.set(H, Math.min(this.$D, N.daysInMonth())).$d;
|
|
3961
3968
|
} else B && this.$d[B](D);
|
|
@@ -3965,32 +3972,32 @@ var Br = { exports: {} };
|
|
|
3965
3972
|
}, g.get = function(d) {
|
|
3966
3973
|
return this[P.p(d)]();
|
|
3967
3974
|
}, g.add = function(d, b) {
|
|
3968
|
-
var
|
|
3975
|
+
var p, _ = this;
|
|
3969
3976
|
d = Number(d);
|
|
3970
3977
|
var w = P.p(b), B = function(F) {
|
|
3971
|
-
var q =
|
|
3972
|
-
return P.w(q.date(q.date() + Math.round(F * d)),
|
|
3978
|
+
var q = U(_);
|
|
3979
|
+
return P.w(q.date(q.date() + Math.round(F * d)), _);
|
|
3973
3980
|
};
|
|
3974
3981
|
if (w === c) return this.set(c, this.$M + d);
|
|
3975
|
-
if (w ===
|
|
3982
|
+
if (w === E) return this.set(E, this.$y + d);
|
|
3976
3983
|
if (w === u) return B(1);
|
|
3977
3984
|
if (w === h) return B(7);
|
|
3978
|
-
var D = (
|
|
3985
|
+
var D = (p = {}, p[l] = i, p[o] = n, p[a] = r, p)[w] || 1, N = this.$d.getTime() + d * D;
|
|
3979
3986
|
return P.w(N, this);
|
|
3980
3987
|
}, g.subtract = function(d, b) {
|
|
3981
3988
|
return this.add(-1 * d, b);
|
|
3982
3989
|
}, g.format = function(d) {
|
|
3983
|
-
var b = this,
|
|
3984
|
-
if (!this.isValid()) return
|
|
3985
|
-
var
|
|
3986
|
-
return j && (j[Q] || j(b,
|
|
3990
|
+
var b = this, p = this.$locale();
|
|
3991
|
+
if (!this.isValid()) return p.invalidDate || v;
|
|
3992
|
+
var _ = d || "YYYY-MM-DDTHH:mm:ssZ", w = P.z(this), B = this.$H, D = this.$m, N = this.$M, F = p.weekdays, q = p.months, le = p.meridiem, se = function(j, Q, me, ve) {
|
|
3993
|
+
return j && (j[Q] || j(b, _)) || me[Q].slice(0, ve);
|
|
3987
3994
|
}, oe = function(j) {
|
|
3988
3995
|
return P.s(B % 12 || 12, j, "0");
|
|
3989
3996
|
}, ae = le || function(j, Q, me) {
|
|
3990
3997
|
var ve = j < 12 ? "AM" : "PM";
|
|
3991
3998
|
return me ? ve.toLowerCase() : ve;
|
|
3992
3999
|
};
|
|
3993
|
-
return
|
|
4000
|
+
return _.replace(V, function(j, Q) {
|
|
3994
4001
|
return Q || function(me) {
|
|
3995
4002
|
switch (me) {
|
|
3996
4003
|
case "YY":
|
|
@@ -4002,7 +4009,7 @@ var Br = { exports: {} };
|
|
|
4002
4009
|
case "MM":
|
|
4003
4010
|
return P.s(N + 1, 2, "0");
|
|
4004
4011
|
case "MMM":
|
|
4005
|
-
return se(
|
|
4012
|
+
return se(p.monthsShort, N, q, 3);
|
|
4006
4013
|
case "MMMM":
|
|
4007
4014
|
return se(q, N);
|
|
4008
4015
|
case "D":
|
|
@@ -4012,9 +4019,9 @@ var Br = { exports: {} };
|
|
|
4012
4019
|
case "d":
|
|
4013
4020
|
return String(b.$W);
|
|
4014
4021
|
case "dd":
|
|
4015
|
-
return se(
|
|
4022
|
+
return se(p.weekdaysMin, b.$W, F, 2);
|
|
4016
4023
|
case "ddd":
|
|
4017
|
-
return se(
|
|
4024
|
+
return se(p.weekdaysShort, b.$W, F, 3);
|
|
4018
4025
|
case "dddd":
|
|
4019
4026
|
return F[b.$W];
|
|
4020
4027
|
case "H":
|
|
@@ -4047,47 +4054,47 @@ var Br = { exports: {} };
|
|
|
4047
4054
|
});
|
|
4048
4055
|
}, g.utcOffset = function() {
|
|
4049
4056
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4050
|
-
}, g.diff = function(d, b,
|
|
4051
|
-
var
|
|
4057
|
+
}, g.diff = function(d, b, p) {
|
|
4058
|
+
var _, w = this, B = P.p(b), D = U(d), N = (D.utcOffset() - this.utcOffset()) * i, F = this - D, q = function() {
|
|
4052
4059
|
return P.m(w, D);
|
|
4053
4060
|
};
|
|
4054
4061
|
switch (B) {
|
|
4055
|
-
case
|
|
4056
|
-
|
|
4062
|
+
case E:
|
|
4063
|
+
_ = q() / 12;
|
|
4057
4064
|
break;
|
|
4058
4065
|
case c:
|
|
4059
|
-
|
|
4066
|
+
_ = q();
|
|
4060
4067
|
break;
|
|
4061
|
-
case
|
|
4062
|
-
|
|
4068
|
+
case m:
|
|
4069
|
+
_ = q() / 3;
|
|
4063
4070
|
break;
|
|
4064
4071
|
case h:
|
|
4065
|
-
|
|
4072
|
+
_ = (F - N) / 6048e5;
|
|
4066
4073
|
break;
|
|
4067
4074
|
case u:
|
|
4068
|
-
|
|
4075
|
+
_ = (F - N) / 864e5;
|
|
4069
4076
|
break;
|
|
4070
4077
|
case o:
|
|
4071
|
-
|
|
4078
|
+
_ = F / n;
|
|
4072
4079
|
break;
|
|
4073
4080
|
case l:
|
|
4074
|
-
|
|
4081
|
+
_ = F / i;
|
|
4075
4082
|
break;
|
|
4076
4083
|
case a:
|
|
4077
|
-
|
|
4084
|
+
_ = F / r;
|
|
4078
4085
|
break;
|
|
4079
4086
|
default:
|
|
4080
|
-
|
|
4087
|
+
_ = F;
|
|
4081
4088
|
}
|
|
4082
|
-
return
|
|
4089
|
+
return p ? _ : P.a(_);
|
|
4083
4090
|
}, g.daysInMonth = function() {
|
|
4084
4091
|
return this.endOf(c).$D;
|
|
4085
4092
|
}, g.$locale = function() {
|
|
4086
4093
|
return L[this.$L];
|
|
4087
4094
|
}, g.locale = function(d, b) {
|
|
4088
4095
|
if (!d) return this.$L;
|
|
4089
|
-
var
|
|
4090
|
-
return
|
|
4096
|
+
var p = this.clone(), _ = W(d, b, !0);
|
|
4097
|
+
return _ && (p.$L = _), p;
|
|
4091
4098
|
}, g.clone = function() {
|
|
4092
4099
|
return P.w(this.$d, this);
|
|
4093
4100
|
}, g.toDate = function() {
|
|
@@ -4098,17 +4105,17 @@ var Br = { exports: {} };
|
|
|
4098
4105
|
return this.$d.toISOString();
|
|
4099
4106
|
}, g.toString = function() {
|
|
4100
4107
|
return this.$d.toUTCString();
|
|
4101
|
-
},
|
|
4102
|
-
}(),
|
|
4103
|
-
return
|
|
4104
|
-
|
|
4105
|
-
return this.$g(g,
|
|
4108
|
+
}, x;
|
|
4109
|
+
}(), Ue = ge.prototype;
|
|
4110
|
+
return U.prototype = Ue, [["$ms", s], ["$s", a], ["$m", l], ["$H", o], ["$W", u], ["$M", c], ["$y", E], ["$D", H]].forEach(function(x) {
|
|
4111
|
+
Ue[x[1]] = function(g) {
|
|
4112
|
+
return this.$g(g, x[0], x[1]);
|
|
4106
4113
|
};
|
|
4107
|
-
}),
|
|
4108
|
-
return
|
|
4109
|
-
},
|
|
4110
|
-
return
|
|
4111
|
-
},
|
|
4114
|
+
}), U.extend = function(x, g) {
|
|
4115
|
+
return x.$i || (x(g, ge, U), x.$i = !0), U;
|
|
4116
|
+
}, U.locale = W, U.isDayjs = R, U.unix = function(x) {
|
|
4117
|
+
return U(1e3 * x);
|
|
4118
|
+
}, U.en = L[I], U.Ls = L, U.p = {}, U;
|
|
4112
4119
|
});
|
|
4113
4120
|
})(Br);
|
|
4114
4121
|
var ts = Br.exports;
|
|
@@ -4152,18 +4159,18 @@ var Mr = { exports: {} };
|
|
|
4152
4159
|
var Y = ("" + L[0]).match(n) || ["-", 0, 0], R = Y[0], W = 60 * +Y[1] + +Y[2];
|
|
4153
4160
|
return W === 0 ? 0 : R === "+" ? W : -W;
|
|
4154
4161
|
}(v), v === null)) return this;
|
|
4155
|
-
var
|
|
4156
|
-
if ($) return M.$offset =
|
|
4162
|
+
var k = Math.abs(v) <= 16 ? 60 * v : v, M = this;
|
|
4163
|
+
if ($) return M.$offset = k, M.$u = v === 0, M;
|
|
4157
4164
|
if (v !== 0) {
|
|
4158
4165
|
var X = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4159
|
-
(M = this.local().add(
|
|
4166
|
+
(M = this.local().add(k + X, r)).$offset = k, M.$x.$localOffset = X;
|
|
4160
4167
|
} else M = this.utc();
|
|
4161
4168
|
return M;
|
|
4162
4169
|
};
|
|
4163
|
-
var
|
|
4170
|
+
var m = o.format;
|
|
4164
4171
|
o.format = function(v) {
|
|
4165
4172
|
var $ = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
4166
|
-
return
|
|
4173
|
+
return m.call(this, $);
|
|
4167
4174
|
}, o.valueOf = function() {
|
|
4168
4175
|
var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
4169
4176
|
return this.$d.valueOf() - 6e4 * v;
|
|
@@ -4174,15 +4181,15 @@ var Mr = { exports: {} };
|
|
|
4174
4181
|
}, o.toString = function() {
|
|
4175
4182
|
return this.toDate().toUTCString();
|
|
4176
4183
|
};
|
|
4177
|
-
var
|
|
4184
|
+
var E = o.toDate;
|
|
4178
4185
|
o.toDate = function(v) {
|
|
4179
|
-
return v === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() :
|
|
4186
|
+
return v === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : E.call(this);
|
|
4180
4187
|
};
|
|
4181
4188
|
var H = o.diff;
|
|
4182
4189
|
o.diff = function(v, $, V) {
|
|
4183
4190
|
if (v && this.$u === v.$u) return H.call(this, v, $, V);
|
|
4184
|
-
var
|
|
4185
|
-
return H.call(
|
|
4191
|
+
var k = this.local(), M = l(v).local();
|
|
4192
|
+
return H.call(k, M, $, V);
|
|
4186
4193
|
};
|
|
4187
4194
|
};
|
|
4188
4195
|
});
|
|
@@ -4212,7 +4219,7 @@ function Jt(e) {
|
|
|
4212
4219
|
t = J("div");
|
|
4213
4220
|
for (let o = 0; o < a.length; o += 1)
|
|
4214
4221
|
a[o].c();
|
|
4215
|
-
r =
|
|
4222
|
+
r = Ee(), l && l.c(), i = Ee(), n = J("cashier-video-modal"), ee(t, "class", "CashierVerificationsWrapper"), fe(
|
|
4216
4223
|
n,
|
|
4217
4224
|
"clientstylingurl",
|
|
4218
4225
|
/*clientstylingurl*/
|
|
@@ -4302,7 +4309,7 @@ function Qt(e) {
|
|
|
4302
4309
|
}
|
|
4303
4310
|
return {
|
|
4304
4311
|
c() {
|
|
4305
|
-
t = J("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>',
|
|
4312
|
+
t = J("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', ee(t, "class", "CashierVerificationChevron");
|
|
4306
4313
|
},
|
|
4307
4314
|
m(s, a) {
|
|
4308
4315
|
ue(s, t, a), r || (i = xt(t, "click", n), r = !0);
|
|
@@ -4324,34 +4331,34 @@ function Kt(e) {
|
|
|
4324
4331
|
e[4].length > 1 && /*index*/
|
|
4325
4332
|
e[51] === 0 && Qt(e)
|
|
4326
4333
|
);
|
|
4327
|
-
function c(...
|
|
4334
|
+
function c(...m) {
|
|
4328
4335
|
return (
|
|
4329
4336
|
/*click_handler_1*/
|
|
4330
4337
|
e[19](
|
|
4331
4338
|
/*index*/
|
|
4332
4339
|
e[51],
|
|
4333
|
-
...
|
|
4340
|
+
...m
|
|
4334
4341
|
)
|
|
4335
4342
|
);
|
|
4336
4343
|
}
|
|
4337
4344
|
return {
|
|
4338
4345
|
c() {
|
|
4339
|
-
t = J("div"), r = J("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i =
|
|
4346
|
+
t = J("div"), r = J("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = Ee(), n = J("p"), a = Ee(), h && h.c(), l = Ee(), ee(r, "class", "IconVerification"), ee(n, "class", "text"), ee(t, "class", "CashierVerificationMessage"), ze(
|
|
4340
4347
|
t,
|
|
4341
4348
|
"ShowAll",
|
|
4342
4349
|
/*allVerificationsVisible*/
|
|
4343
4350
|
e[5]
|
|
4344
4351
|
);
|
|
4345
4352
|
},
|
|
4346
|
-
m(
|
|
4347
|
-
ue(
|
|
4353
|
+
m(m, E) {
|
|
4354
|
+
ue(m, t, E), ie(t, r), ie(t, i), ie(t, n), n.innerHTML = s, ie(t, a), h && h.m(t, null), ie(t, l), o || (u = xt(t, "click", c), o = !0);
|
|
4348
4355
|
},
|
|
4349
|
-
p(
|
|
4350
|
-
e =
|
|
4356
|
+
p(m, E) {
|
|
4357
|
+
e = m, E[0] & /*displayMessages*/
|
|
4351
4358
|
16 && s !== (s = /*message*/
|
|
4352
4359
|
e[49] + "") && (n.innerHTML = s), /*displayMessages*/
|
|
4353
4360
|
e[4].length > 1 && /*index*/
|
|
4354
|
-
e[51] === 0 ? h ? h.p(e,
|
|
4361
|
+
e[51] === 0 ? h ? h.p(e, E) : (h = Qt(e), h.c(), h.m(t, l)) : h && (h.d(1), h = null), E[0] & /*allVerificationsVisible*/
|
|
4355
4362
|
32 && ze(
|
|
4356
4363
|
t,
|
|
4357
4364
|
"ShowAll",
|
|
@@ -4359,8 +4366,8 @@ function Kt(e) {
|
|
|
4359
4366
|
e[5]
|
|
4360
4367
|
);
|
|
4361
4368
|
},
|
|
4362
|
-
d(
|
|
4363
|
-
|
|
4369
|
+
d(m) {
|
|
4370
|
+
m && ne(t), h && h.d(), o = !1, u();
|
|
4364
4371
|
}
|
|
4365
4372
|
};
|
|
4366
4373
|
}
|
|
@@ -4371,7 +4378,7 @@ function er(e) {
|
|
|
4371
4378
|
), a, l, o;
|
|
4372
4379
|
return {
|
|
4373
4380
|
c() {
|
|
4374
|
-
t = J("div"), r = J("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i =
|
|
4381
|
+
t = J("div"), r = J("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = Ee(), n = J("div"), a = yt(s), ee(r, "class", "IconVideo"), ee(n, "class", "CashierVerificationVideoLink"), ee(t, "class", "CashierVerificationVideo");
|
|
4375
4382
|
},
|
|
4376
4383
|
m(u, h) {
|
|
4377
4384
|
ue(u, t, h), ie(t, r), ie(t, i), ie(t, n), ie(n, a), l || (o = xt(
|
|
@@ -4398,7 +4405,7 @@ function ss(e) {
|
|
|
4398
4405
|
);
|
|
4399
4406
|
return {
|
|
4400
4407
|
c() {
|
|
4401
|
-
t = J("div"), r && r.c(),
|
|
4408
|
+
t = J("div"), r && r.c(), ee(t, "class", "CashierVerifications"), ze(
|
|
4402
4409
|
t,
|
|
4403
4410
|
"CashierVerificationsDesktop",
|
|
4404
4411
|
/*desktopView*/
|
|
@@ -4418,8 +4425,8 @@ function ss(e) {
|
|
|
4418
4425
|
i[6]
|
|
4419
4426
|
);
|
|
4420
4427
|
},
|
|
4421
|
-
i:
|
|
4422
|
-
o:
|
|
4428
|
+
i: K,
|
|
4429
|
+
o: K,
|
|
4423
4430
|
d(i) {
|
|
4424
4431
|
i && ne(t), r && r.d(), e[21](null);
|
|
4425
4432
|
}
|
|
@@ -4429,7 +4436,7 @@ const os = "verification_explanation_video_widgets.MP4";
|
|
|
4429
4436
|
function as(e, t, r) {
|
|
4430
4437
|
let i;
|
|
4431
4438
|
Gr(e, Kn, (f) => r(9, i = f)), Yt.extend(is);
|
|
4432
|
-
let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, {
|
|
4439
|
+
let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: o = "" } = t, { session: u = "" } = t, { customerid: h = "" } = t, { ismobileview: c = "" } = t, m, E = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), v, $, V, k = !0, M = !0, X = !1, I = "";
|
|
4433
4440
|
var L;
|
|
4434
4441
|
(function(f) {
|
|
4435
4442
|
f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
|
|
@@ -4446,7 +4453,7 @@ function as(e, t, r) {
|
|
|
4446
4453
|
(function(f) {
|
|
4447
4454
|
f.Unknown = "Unknown", f.Documents = "Documents", f.Age = "Age", f.Pep = "Pep", f.Sanction = "Sanction", f.Aml = "Aml", f.ProofOfAddress = "ProofOfAddress", f.SourceOfWealth = "SourceOfWealth", f.SocialMedia = "SocialMedia", f.Biometric = "Biometric";
|
|
4448
4455
|
})(W || (W = {}));
|
|
4449
|
-
const
|
|
4456
|
+
const U = [
|
|
4450
4457
|
R.InProgress,
|
|
4451
4458
|
R.Referred,
|
|
4452
4459
|
R.AwaitingForResponse
|
|
@@ -4466,15 +4473,15 @@ function as(e, t, r) {
|
|
|
4466
4473
|
});
|
|
4467
4474
|
const ge = () => {
|
|
4468
4475
|
es(s);
|
|
4469
|
-
},
|
|
4476
|
+
}, Ue = () => {
|
|
4470
4477
|
let f = document.createElement("style");
|
|
4471
|
-
f.innerHTML =
|
|
4472
|
-
},
|
|
4473
|
-
let f = new URL(
|
|
4478
|
+
f.innerHTML = l, m.appendChild(f);
|
|
4479
|
+
}, x = () => {
|
|
4480
|
+
let f = new URL(o), y = document.createElement("style");
|
|
4474
4481
|
fetch(f.href).then((S) => S.text()).then((S) => {
|
|
4475
4482
|
y.innerHTML = S, setTimeout(
|
|
4476
4483
|
() => {
|
|
4477
|
-
|
|
4484
|
+
m.appendChild(y);
|
|
4478
4485
|
},
|
|
4479
4486
|
1
|
|
4480
4487
|
);
|
|
@@ -4495,18 +4502,18 @@ function as(e, t, r) {
|
|
|
4495
4502
|
AllParameters: !1
|
|
4496
4503
|
})
|
|
4497
4504
|
};
|
|
4498
|
-
fetch(S, he).then((
|
|
4499
|
-
$ = b(
|
|
4500
|
-
|
|
4505
|
+
fetch(S, he).then((be) => be.json()).then((be) => {
|
|
4506
|
+
r(17, $ = be.StaticCdnUrl + "/cashier/operator-assets/" + f), v = b(be.Verifications), v.VerificationStatuses.forEach((te) => {
|
|
4507
|
+
te.VerificationUrlType !== "Widget" && E.add(te.Vendor);
|
|
4501
4508
|
}), r(4, V = N());
|
|
4502
4509
|
});
|
|
4503
4510
|
}, d = () => {
|
|
4504
|
-
let f =
|
|
4511
|
+
let f = u.split(".")[1];
|
|
4505
4512
|
if (f) {
|
|
4506
4513
|
let y = JSON.parse(atob(f));
|
|
4507
4514
|
return {
|
|
4508
4515
|
merchantId: y == null ? void 0 : y.mid,
|
|
4509
|
-
customerId: `${y == null ? void 0 : y.mid}~${
|
|
4516
|
+
customerId: `${y == null ? void 0 : y.mid}~${h}`
|
|
4510
4517
|
};
|
|
4511
4518
|
}
|
|
4512
4519
|
return { merchantId: null, customerId: null };
|
|
@@ -4519,21 +4526,21 @@ function as(e, t, r) {
|
|
|
4519
4526
|
};
|
|
4520
4527
|
const y = w(f);
|
|
4521
4528
|
if (y && y.length) {
|
|
4522
|
-
const G =
|
|
4529
|
+
const G = p(y);
|
|
4523
4530
|
return {
|
|
4524
4531
|
VerificationSummaryStatus: G.Status,
|
|
4525
4532
|
VerificationUrl: (S = G.Flags) == null ? void 0 : S.DeferredUrlKey,
|
|
4526
|
-
VerificationStatuses:
|
|
4533
|
+
VerificationStatuses: _(y, G.Status)
|
|
4527
4534
|
};
|
|
4528
4535
|
} else
|
|
4529
4536
|
return {
|
|
4530
4537
|
VerificationSummaryStatus: f.some((he) => he.Status === R.Failed) ? R.Failed : R.Verified,
|
|
4531
|
-
VerificationStatuses:
|
|
4538
|
+
VerificationStatuses: _(f, [R.Failed])
|
|
4532
4539
|
};
|
|
4533
|
-
},
|
|
4540
|
+
}, p = (f) => f.reduce(
|
|
4534
4541
|
(y, S) => y ? new Date(y) < new Date(S) ? S : y : S,
|
|
4535
4542
|
0
|
|
4536
|
-
),
|
|
4543
|
+
), _ = (f, y) => f.filter((S) => y.includes(S.Status)).map((S) => {
|
|
4537
4544
|
var G, he;
|
|
4538
4545
|
return {
|
|
4539
4546
|
Type: S.Type,
|
|
@@ -4542,14 +4549,14 @@ function as(e, t, r) {
|
|
|
4542
4549
|
VerificationUrlType: (G = S.Flags) == null ? void 0 : G.DeferredUrlTypeKey,
|
|
4543
4550
|
VerificationUrl: (he = S.Flags) == null ? void 0 : he.DeferredUrlKey
|
|
4544
4551
|
};
|
|
4545
|
-
}), w = (f) => f.filter((y) =>
|
|
4552
|
+
}), w = (f) => f.filter((y) => U.includes(y.Status) ? y.Flags && y.Flags.DeferredUrlKey || B(y) || D(y) : !1), B = (f) => {
|
|
4546
4553
|
const y = f.Documents && f.VendorName === L.Manual, S = Object.values(f.Documents).some((G) => G.Status === Y.Requested);
|
|
4547
4554
|
return y && S;
|
|
4548
4555
|
}, D = (f) => f.VendorName === L.ShuftiPro && f.Status === R.Referred, N = () => {
|
|
4549
|
-
switch (
|
|
4556
|
+
switch (v.VerificationSummaryStatus) {
|
|
4550
4557
|
case R.InProgress:
|
|
4551
4558
|
const f = [];
|
|
4552
|
-
return
|
|
4559
|
+
return E.forEach((y) => {
|
|
4553
4560
|
f.push(F(y));
|
|
4554
4561
|
}), f;
|
|
4555
4562
|
case R.Referred:
|
|
@@ -4558,7 +4565,7 @@ function as(e, t, r) {
|
|
|
4558
4565
|
return [i("verification.message.failed")];
|
|
4559
4566
|
}
|
|
4560
4567
|
}, F = (f) => {
|
|
4561
|
-
const y =
|
|
4568
|
+
const y = v.VerificationStatuses.filter((S) => S.Vendor === f);
|
|
4562
4569
|
if (f === L.ShuftiPro)
|
|
4563
4570
|
return q(y);
|
|
4564
4571
|
{
|
|
@@ -4573,24 +4580,24 @@ function as(e, t, r) {
|
|
|
4573
4580
|
W.Documents,
|
|
4574
4581
|
W.ProofOfAddress
|
|
4575
4582
|
];
|
|
4576
|
-
f.forEach((
|
|
4577
|
-
G.includes(
|
|
4583
|
+
f.forEach((te) => {
|
|
4584
|
+
G.includes(te.Type) && (y.push(te.Type), S[te.Type] = le(te, se(te.Type)));
|
|
4578
4585
|
});
|
|
4579
|
-
let he = y.every((
|
|
4580
|
-
return he ? i("verification.shuftipro.validations-started") : i(
|
|
4586
|
+
let he = y.every((te) => H.has(te)), be = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
|
|
4587
|
+
return he ? i("verification.shuftipro.validations-started") : i(be, { values: S });
|
|
4581
4588
|
}, le = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, se = (f) => i(`verification.shuftipro.link-name.${f}`), oe = (f, y) => {
|
|
4582
4589
|
if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
|
|
4583
4590
|
if (f.target.closest(".verificationLink")) {
|
|
4584
4591
|
const S = f.target.className.split(" ")[1];
|
|
4585
|
-
|
|
4592
|
+
H.add(S), r(4, V = N());
|
|
4586
4593
|
}
|
|
4587
4594
|
return;
|
|
4588
4595
|
}
|
|
4589
|
-
y === 0 && r(5,
|
|
4596
|
+
y === 0 && r(5, k = !k);
|
|
4590
4597
|
}, ae = () => {
|
|
4591
|
-
r(6, M =
|
|
4598
|
+
r(6, M = c === "false");
|
|
4592
4599
|
}, j = () => {
|
|
4593
|
-
r(8, I =
|
|
4600
|
+
r(8, I = $ + "/" + s + "/" + os);
|
|
4594
4601
|
try {
|
|
4595
4602
|
fetch(I, { method: "HEAD" }).then((f) => {
|
|
4596
4603
|
r(7, X = f.ok);
|
|
@@ -4603,26 +4610,27 @@ function as(e, t, r) {
|
|
|
4603
4610
|
}, me = (f, y) => oe(y, f), ve = (f, y) => oe(y, f), Dr = () => Q();
|
|
4604
4611
|
function Ir(f) {
|
|
4605
4612
|
at[f ? "unshift" : "push"](() => {
|
|
4606
|
-
|
|
4613
|
+
m = f, r(3, m);
|
|
4607
4614
|
});
|
|
4608
4615
|
}
|
|
4609
4616
|
return e.$$set = (f) => {
|
|
4610
|
-
"endpoint" in f && r(12, n = f.endpoint), "lang" in f && r(13, s = f.lang), "translationurl" in f && r(14, a = f.translationurl), "
|
|
4617
|
+
"endpoint" in f && r(12, n = f.endpoint), "lang" in f && r(13, s = f.lang), "translationurl" in f && r(14, a = f.translationurl), "clientstyling" in f && r(0, l = f.clientstyling), "clientstylingurl" in f && r(1, o = f.clientstylingurl), "session" in f && r(15, u = f.session), "customerid" in f && r(16, h = f.customerid), "ismobileview" in f && r(2, c = f.ismobileview);
|
|
4611
4618
|
}, e.$$.update = () => {
|
|
4612
4619
|
e.$$.dirty[0] & /*lang*/
|
|
4613
4620
|
8192 && s && ge(), e.$$.dirty[0] & /*endpoint, session*/
|
|
4614
|
-
|
|
4621
|
+
36864 && n && u && g(), e.$$.dirty[0] & /*translationurl*/
|
|
4615
4622
|
16384 && a && P(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4616
|
-
9 &&
|
|
4617
|
-
10 &&
|
|
4618
|
-
4 &&
|
|
4619
|
-
|
|
4623
|
+
9 && l && m && Ue(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4624
|
+
10 && o && m && x(), e.$$.dirty[0] & /*ismobileview*/
|
|
4625
|
+
4 && c && ae(), e.$$.dirty[0] & /*staticCdnUrl*/
|
|
4626
|
+
131072 && $ && j();
|
|
4627
|
+
}, [
|
|
4628
|
+
l,
|
|
4620
4629
|
o,
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
x,
|
|
4630
|
+
c,
|
|
4631
|
+
m,
|
|
4624
4632
|
V,
|
|
4625
|
-
|
|
4633
|
+
k,
|
|
4626
4634
|
M,
|
|
4627
4635
|
X,
|
|
4628
4636
|
I,
|
|
@@ -4632,9 +4640,9 @@ function as(e, t, r) {
|
|
|
4632
4640
|
n,
|
|
4633
4641
|
s,
|
|
4634
4642
|
a,
|
|
4635
|
-
|
|
4643
|
+
u,
|
|
4636
4644
|
h,
|
|
4637
|
-
|
|
4645
|
+
$,
|
|
4638
4646
|
me,
|
|
4639
4647
|
ve,
|
|
4640
4648
|
Dr,
|
|
@@ -4653,11 +4661,10 @@ class Cr extends ui {
|
|
|
4653
4661
|
endpoint: 12,
|
|
4654
4662
|
lang: 13,
|
|
4655
4663
|
translationurl: 14,
|
|
4656
|
-
assetsurl: 15,
|
|
4657
4664
|
clientstyling: 0,
|
|
4658
4665
|
clientstylingurl: 1,
|
|
4659
|
-
session:
|
|
4660
|
-
customerid:
|
|
4666
|
+
session: 15,
|
|
4667
|
+
customerid: 16,
|
|
4661
4668
|
ismobileview: 2
|
|
4662
4669
|
},
|
|
4663
4670
|
ns,
|
|
@@ -4668,58 +4675,52 @@ class Cr extends ui {
|
|
|
4668
4675
|
return this.$$.ctx[12];
|
|
4669
4676
|
}
|
|
4670
4677
|
set endpoint(t) {
|
|
4671
|
-
this.$$set({ endpoint: t }),
|
|
4678
|
+
this.$$set({ endpoint: t }), re();
|
|
4672
4679
|
}
|
|
4673
4680
|
get lang() {
|
|
4674
4681
|
return this.$$.ctx[13];
|
|
4675
4682
|
}
|
|
4676
4683
|
set lang(t) {
|
|
4677
|
-
this.$$set({ lang: t }),
|
|
4684
|
+
this.$$set({ lang: t }), re();
|
|
4678
4685
|
}
|
|
4679
4686
|
get translationurl() {
|
|
4680
4687
|
return this.$$.ctx[14];
|
|
4681
4688
|
}
|
|
4682
4689
|
set translationurl(t) {
|
|
4683
|
-
this.$$set({ translationurl: t }),
|
|
4684
|
-
}
|
|
4685
|
-
get assetsurl() {
|
|
4686
|
-
return this.$$.ctx[15];
|
|
4687
|
-
}
|
|
4688
|
-
set assetsurl(t) {
|
|
4689
|
-
this.$$set({ assetsurl: t }), K();
|
|
4690
|
+
this.$$set({ translationurl: t }), re();
|
|
4690
4691
|
}
|
|
4691
4692
|
get clientstyling() {
|
|
4692
4693
|
return this.$$.ctx[0];
|
|
4693
4694
|
}
|
|
4694
4695
|
set clientstyling(t) {
|
|
4695
|
-
this.$$set({ clientstyling: t }),
|
|
4696
|
+
this.$$set({ clientstyling: t }), re();
|
|
4696
4697
|
}
|
|
4697
4698
|
get clientstylingurl() {
|
|
4698
4699
|
return this.$$.ctx[1];
|
|
4699
4700
|
}
|
|
4700
4701
|
set clientstylingurl(t) {
|
|
4701
|
-
this.$$set({ clientstylingurl: t }),
|
|
4702
|
+
this.$$set({ clientstylingurl: t }), re();
|
|
4702
4703
|
}
|
|
4703
4704
|
get session() {
|
|
4704
|
-
return this.$$.ctx[
|
|
4705
|
+
return this.$$.ctx[15];
|
|
4705
4706
|
}
|
|
4706
4707
|
set session(t) {
|
|
4707
|
-
this.$$set({ session: t }),
|
|
4708
|
+
this.$$set({ session: t }), re();
|
|
4708
4709
|
}
|
|
4709
4710
|
get customerid() {
|
|
4710
|
-
return this.$$.ctx[
|
|
4711
|
+
return this.$$.ctx[16];
|
|
4711
4712
|
}
|
|
4712
4713
|
set customerid(t) {
|
|
4713
|
-
this.$$set({ customerid: t }),
|
|
4714
|
+
this.$$set({ customerid: t }), re();
|
|
4714
4715
|
}
|
|
4715
4716
|
get ismobileview() {
|
|
4716
4717
|
return this.$$.ctx[2];
|
|
4717
4718
|
}
|
|
4718
4719
|
set ismobileview(t) {
|
|
4719
|
-
this.$$set({ ismobileview: t }),
|
|
4720
|
+
this.$$set({ ismobileview: t }), re();
|
|
4720
4721
|
}
|
|
4721
4722
|
}
|
|
4722
|
-
ai(Cr, { endpoint: {}, lang: {}, translationurl: {},
|
|
4723
|
+
ai(Cr, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
|
|
4723
4724
|
const ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4724
4725
|
__proto__: null,
|
|
4725
4726
|
default: Cr
|
|
@@ -4732,15 +4733,15 @@ export {
|
|
|
4732
4733
|
ai as c,
|
|
4733
4734
|
ne as d,
|
|
4734
4735
|
fs as e,
|
|
4735
|
-
|
|
4736
|
+
re as f,
|
|
4736
4737
|
J as g,
|
|
4737
|
-
|
|
4738
|
+
Ee as h,
|
|
4738
4739
|
oi as i,
|
|
4739
4740
|
ls as j,
|
|
4740
|
-
|
|
4741
|
+
ee as k,
|
|
4741
4742
|
ie as l,
|
|
4742
4743
|
hs as m,
|
|
4743
|
-
|
|
4744
|
+
K as n,
|
|
4744
4745
|
cs as o,
|
|
4745
4746
|
xt as p,
|
|
4746
4747
|
at as q,
|