@everymatrix/cashier-verifications 1.55.0 → 1.56.0
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-PiqjEGmB.js → CashierVerifications-BkUnqHXL.js} +383 -385
- package/components/{CashierVerifications-CCouLP4O.js → CashierVerifications-C6ZKsJp5.js} +448 -450
- package/components/CashierVerifications-CzbjPCIe.cjs +5 -0
- package/components/{CashierVideoModal-41Z4rYZa.cjs → CashierVideoModal-BJo__hLC.cjs} +1 -1
- package/components/{CashierVideoModal-ByS-T0Aq.js → CashierVideoModal-BmFxk33v.js} +15 -15
- package/components/{CashierVideoModal-CnqeHcuY.js → CashierVideoModal-DE2OHjhr.js} +19 -19
- package/es2015/cashier-verifications.cjs +1 -1
- package/es2015/cashier-verifications.js +1 -1
- package/esnext/cashier-verifications.js +1 -1
- package/package.json +1 -1
- package/components/CashierVerifications-BjUgn5Wb.cjs +0 -5
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Ke = (e, t, r) => t in e ?
|
|
1
|
+
var Dr = Object.defineProperty, Ir = Object.defineProperties;
|
|
2
|
+
var Lr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var St = Object.getOwnPropertySymbols;
|
|
4
|
+
var Nr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ke = (e, t, r) => t in e ? Dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Nr.call(t, r) && Ke(e, r, t[r]);
|
|
8
|
+
if (St)
|
|
9
|
+
for (var r of St(t))
|
|
10
|
+
Rr.call(t, r) && Ke(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Ht = (e, t) => Ir(e, Lr(t));
|
|
13
13
|
var Z = (e, t, r) => Ke(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var
|
|
14
|
+
var Ot = (e, t, r) => new Promise((i, n) => {
|
|
15
15
|
var s = (o) => {
|
|
16
16
|
try {
|
|
17
17
|
l(r.next(o));
|
|
@@ -29,29 +29,29 @@ var Pt = (e, t, r) => new Promise((i, n) => {
|
|
|
29
29
|
});
|
|
30
30
|
function K() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Kt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Pt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function Ne(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(Kt);
|
|
40
40
|
}
|
|
41
41
|
function bt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function er(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let Fe;
|
|
48
|
-
function
|
|
48
|
+
function hs(e, t) {
|
|
49
49
|
return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function kr(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function tr(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const i of t)
|
|
57
57
|
i(void 0);
|
|
@@ -60,20 +60,20 @@ function ir(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function Ur(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(tr(t, r));
|
|
65
65
|
}
|
|
66
66
|
function ie(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const i =
|
|
69
|
+
function Fr(e, t, r) {
|
|
70
|
+
const i = Vr(e);
|
|
71
71
|
if (!i.getElementById(t)) {
|
|
72
72
|
const n = J("style");
|
|
73
|
-
n.id = t, n.textContent = r,
|
|
73
|
+
n.id = t, n.textContent = r, Gr(i, n);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Vr(e) {
|
|
77
77
|
if (!e) return document;
|
|
78
78
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
79
79
|
return t && /** @type {ShadowRoot} */
|
|
@@ -82,7 +82,7 @@ function jr(e) {
|
|
|
82
82
|
t
|
|
83
83
|
) : e.ownerDocument;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function Gr(e, t) {
|
|
86
86
|
return ie(
|
|
87
87
|
/** @type {Document} */
|
|
88
88
|
e.head || e,
|
|
@@ -95,14 +95,14 @@ function ue(e, t, r) {
|
|
|
95
95
|
function ne(e) {
|
|
96
96
|
e.parentNode && e.parentNode.removeChild(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function jr(e, t) {
|
|
99
99
|
for (let r = 0; r < e.length; r += 1)
|
|
100
100
|
e[r] && e[r].d(t);
|
|
101
101
|
}
|
|
102
102
|
function J(e) {
|
|
103
103
|
return document.createElement(e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function fs(e) {
|
|
106
106
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
107
107
|
}
|
|
108
108
|
function yt(e) {
|
|
@@ -111,7 +111,7 @@ function yt(e) {
|
|
|
111
111
|
function Ee() {
|
|
112
112
|
return yt(" ");
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function cs() {
|
|
115
115
|
return yt("");
|
|
116
116
|
}
|
|
117
117
|
function xt(e, t, r, i) {
|
|
@@ -124,17 +124,17 @@ function fe(e, t, r) {
|
|
|
124
124
|
const i = t.toLowerCase();
|
|
125
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
|
-
function
|
|
127
|
+
function zr(e) {
|
|
128
128
|
return Array.from(e.childNodes);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function Xr(e, t) {
|
|
131
131
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
132
132
|
t);
|
|
133
133
|
}
|
|
134
134
|
function Se(e, t, r) {
|
|
135
135
|
e.classList.toggle(t, !!r);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Wr(e) {
|
|
138
138
|
const t = {};
|
|
139
139
|
return e.childNodes.forEach(
|
|
140
140
|
/** @param {Element} node */
|
|
@@ -147,19 +147,19 @@ let De;
|
|
|
147
147
|
function Ce(e) {
|
|
148
148
|
De = e;
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function qr() {
|
|
151
151
|
if (!De) throw new Error("Function called outside component initialization");
|
|
152
152
|
return De;
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
|
|
154
|
+
function ds(e) {
|
|
155
|
+
qr().$$.on_mount.push(e);
|
|
156
156
|
}
|
|
157
157
|
const _e = [], at = [];
|
|
158
158
|
let we = [];
|
|
159
|
-
const
|
|
159
|
+
const At = [], Yr = /* @__PURE__ */ Promise.resolve();
|
|
160
160
|
let ut = !1;
|
|
161
|
-
function
|
|
162
|
-
ut || (ut = !0,
|
|
161
|
+
function Zr() {
|
|
162
|
+
ut || (ut = !0, Yr.then(re));
|
|
163
163
|
}
|
|
164
164
|
function lt(e) {
|
|
165
165
|
we.push(e);
|
|
@@ -174,7 +174,7 @@ function re() {
|
|
|
174
174
|
try {
|
|
175
175
|
for (; ye < _e.length; ) {
|
|
176
176
|
const t = _e[ye];
|
|
177
|
-
ye++, Ce(t),
|
|
177
|
+
ye++, Ce(t), Jr(t.$$);
|
|
178
178
|
}
|
|
179
179
|
} catch (t) {
|
|
180
180
|
throw _e.length = 0, ye = 0, t;
|
|
@@ -186,43 +186,43 @@ function re() {
|
|
|
186
186
|
}
|
|
187
187
|
we.length = 0;
|
|
188
188
|
} while (_e.length);
|
|
189
|
-
for (;
|
|
190
|
-
|
|
189
|
+
for (; At.length; )
|
|
190
|
+
At.pop()();
|
|
191
191
|
ut = !1, et.clear(), Ce(e);
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function Jr(e) {
|
|
194
194
|
if (e.fragment !== null) {
|
|
195
195
|
e.update(), Ne(e.before_update);
|
|
196
196
|
const t = e.dirty;
|
|
197
197
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function Qr(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
|
-
const
|
|
205
|
-
function
|
|
206
|
-
e && e.i && (
|
|
204
|
+
const Kr = /* @__PURE__ */ new Set();
|
|
205
|
+
function ei(e, t) {
|
|
206
|
+
e && e.i && (Kr.delete(e), e.i(t));
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function $t(e) {
|
|
209
209
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function ti(e, t, r) {
|
|
212
212
|
const { fragment: i, after_update: n } = e.$$;
|
|
213
213
|
i && i.m(t, r), lt(() => {
|
|
214
|
-
const s = e.$$.on_mount.map(
|
|
214
|
+
const s = e.$$.on_mount.map(Kt).filter(bt);
|
|
215
215
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ne(s), e.$$.on_mount = [];
|
|
216
216
|
}), n.forEach(lt);
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function ri(e, t) {
|
|
219
219
|
const r = e.$$;
|
|
220
|
-
r.fragment !== null && (
|
|
220
|
+
r.fragment !== null && (Qr(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
221
221
|
}
|
|
222
|
-
function
|
|
223
|
-
e.$$.dirty[0] === -1 && (_e.push(e),
|
|
222
|
+
function ii(e, t) {
|
|
223
|
+
e.$$.dirty[0] === -1 && (_e.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function ni(e, t, r, i, n, s, a = null, l = [-1]) {
|
|
226
226
|
const o = De;
|
|
227
227
|
Ce(e);
|
|
228
228
|
const u = e.$$ = {
|
|
@@ -232,7 +232,7 @@ function oi(e, t, r, i, n, s, a = null, l = [-1]) {
|
|
|
232
232
|
props: s,
|
|
233
233
|
update: K,
|
|
234
234
|
not_equal: n,
|
|
235
|
-
bound:
|
|
235
|
+
bound: Pt(),
|
|
236
236
|
// lifecycle
|
|
237
237
|
on_mount: [],
|
|
238
238
|
on_destroy: [],
|
|
@@ -241,7 +241,7 @@ function oi(e, t, r, i, n, s, a = null, l = [-1]) {
|
|
|
241
241
|
after_update: [],
|
|
242
242
|
context: new Map(t.context || (o ? o.$$.context : [])),
|
|
243
243
|
// everything else
|
|
244
|
-
callbacks:
|
|
244
|
+
callbacks: Pt(),
|
|
245
245
|
dirty: l,
|
|
246
246
|
skip_bound: !1,
|
|
247
247
|
root: t.target || o.$$.root
|
|
@@ -250,19 +250,19 @@ function oi(e, t, r, i, n, s, a = null, l = [-1]) {
|
|
|
250
250
|
let h = !1;
|
|
251
251
|
if (u.ctx = r ? r(e, t.props || {}, (c, m, ...E) => {
|
|
252
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 &&
|
|
253
|
+
return u.ctx && n(u.ctx[c], u.ctx[c] = H) && (!u.skip_bound && u.bound[c] && u.bound[c](H), h && ii(e, c)), m;
|
|
254
254
|
}) : [], u.update(), h = !0, Ne(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
255
255
|
if (t.hydrate) {
|
|
256
|
-
const c =
|
|
256
|
+
const c = zr(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 &&
|
|
260
|
+
t.intro && ei(e.$$.fragment), ti(e, t.target, t.anchor), re();
|
|
261
261
|
}
|
|
262
262
|
Ce(o);
|
|
263
263
|
}
|
|
264
|
-
let
|
|
265
|
-
typeof HTMLElement == "function" && (
|
|
264
|
+
let rr;
|
|
265
|
+
typeof HTMLElement == "function" && (rr = class extends HTMLElement {
|
|
266
266
|
constructor(t, r, i) {
|
|
267
267
|
super();
|
|
268
268
|
/** The Svelte component constructor */
|
|
@@ -299,7 +299,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
|
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
connectedCallback() {
|
|
302
|
-
return
|
|
302
|
+
return Ot(this, null, function* () {
|
|
303
303
|
if (this.$$cn = !0, !this.$$c) {
|
|
304
304
|
let t = function(s) {
|
|
305
305
|
return () => {
|
|
@@ -323,7 +323,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
|
|
|
323
323
|
};
|
|
324
324
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
325
325
|
return;
|
|
326
|
-
const r = {}, i =
|
|
326
|
+
const r = {}, i = Wr(this);
|
|
327
327
|
for (const s of this.$$s)
|
|
328
328
|
s in i && (r[s] = [t(s)]);
|
|
329
329
|
for (const s of this.attributes) {
|
|
@@ -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:
|
|
337
|
+
props: Ht(Tt({}, this.$$d), {
|
|
338
338
|
$$slots: r,
|
|
339
339
|
$$scope: {
|
|
340
340
|
ctx: []
|
|
@@ -412,8 +412,8 @@ function Ge(e, t, r, i) {
|
|
|
412
412
|
return t;
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
function
|
|
416
|
-
let a = class extends
|
|
415
|
+
function si(e, t, r, i, n, s) {
|
|
416
|
+
let a = class extends rr {
|
|
417
417
|
constructor() {
|
|
418
418
|
super(e, r, n), this.$$p_d = t;
|
|
419
419
|
}
|
|
@@ -443,7 +443,7 @@ function ai(e, t, r, i, n, s) {
|
|
|
443
443
|
}), e.element = /** @type {any} */
|
|
444
444
|
a, a;
|
|
445
445
|
}
|
|
446
|
-
class
|
|
446
|
+
class oi {
|
|
447
447
|
constructor() {
|
|
448
448
|
/**
|
|
449
449
|
* ### PRIVATE API
|
|
@@ -464,7 +464,7 @@ class ui {
|
|
|
464
464
|
}
|
|
465
465
|
/** @returns {void} */
|
|
466
466
|
$destroy() {
|
|
467
|
-
|
|
467
|
+
ri(this, 1), this.$destroy = K;
|
|
468
468
|
}
|
|
469
469
|
/**
|
|
470
470
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -486,13 +486,13 @@ class ui {
|
|
|
486
486
|
* @returns {void}
|
|
487
487
|
*/
|
|
488
488
|
$set(t) {
|
|
489
|
-
this.$$set && !
|
|
489
|
+
this.$$set && !kr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
|
-
const
|
|
493
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
492
|
+
const ai = "4";
|
|
493
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ai);
|
|
494
494
|
const xe = [];
|
|
495
|
-
function
|
|
495
|
+
function ui(e, t) {
|
|
496
496
|
return {
|
|
497
497
|
subscribe: Ye(e, t).subscribe
|
|
498
498
|
};
|
|
@@ -501,7 +501,7 @@ function Ye(e, t = K) {
|
|
|
501
501
|
let r;
|
|
502
502
|
const i = /* @__PURE__ */ new Set();
|
|
503
503
|
function n(l) {
|
|
504
|
-
if (
|
|
504
|
+
if (er(e, l) && (e = l, r)) {
|
|
505
505
|
const o = !xe.length;
|
|
506
506
|
for (const u of i)
|
|
507
507
|
u[1](), xe.push(u, e);
|
|
@@ -523,12 +523,12 @@ function Ye(e, t = K) {
|
|
|
523
523
|
}
|
|
524
524
|
return { set: n, update: s, subscribe: a };
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function Ae(e, t, r) {
|
|
527
527
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
528
528
|
if (!n.every(Boolean))
|
|
529
529
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
530
530
|
const s = t.length < 2;
|
|
531
|
-
return
|
|
531
|
+
return ui(r, (a, l) => {
|
|
532
532
|
let o = !1;
|
|
533
533
|
const u = [];
|
|
534
534
|
let h = 0, c = K;
|
|
@@ -539,7 +539,7 @@ function Pe(e, t, r) {
|
|
|
539
539
|
const H = t(i ? u[0] : u, a, l);
|
|
540
540
|
s ? a(H) : c = bt(H) ? H : K;
|
|
541
541
|
}, E = n.map(
|
|
542
|
-
(H, v) =>
|
|
542
|
+
(H, v) => tr(
|
|
543
543
|
H,
|
|
544
544
|
($) => {
|
|
545
545
|
u[v] = $, h &= ~(1 << v), o && m();
|
|
@@ -554,71 +554,71 @@ function Pe(e, t, r) {
|
|
|
554
554
|
};
|
|
555
555
|
});
|
|
556
556
|
}
|
|
557
|
-
var
|
|
557
|
+
var ir = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
558
558
|
function _t(e) {
|
|
559
559
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
560
560
|
}
|
|
561
|
-
var
|
|
562
|
-
return
|
|
561
|
+
var li = function(t) {
|
|
562
|
+
return hi(t) && !fi(t);
|
|
563
563
|
};
|
|
564
|
-
function
|
|
564
|
+
function hi(e) {
|
|
565
565
|
return !!e && typeof e == "object";
|
|
566
566
|
}
|
|
567
|
-
function
|
|
567
|
+
function fi(e) {
|
|
568
568
|
var t = Object.prototype.toString.call(e);
|
|
569
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
569
|
+
return t === "[object RegExp]" || t === "[object Date]" || mi(e);
|
|
570
570
|
}
|
|
571
|
-
var
|
|
572
|
-
function
|
|
573
|
-
return e.$$typeof ===
|
|
571
|
+
var ci = typeof Symbol == "function" && Symbol.for, di = ci ? Symbol.for("react.element") : 60103;
|
|
572
|
+
function mi(e) {
|
|
573
|
+
return e.$$typeof === di;
|
|
574
574
|
}
|
|
575
|
-
function
|
|
575
|
+
function pi(e) {
|
|
576
576
|
return Array.isArray(e) ? [] : {};
|
|
577
577
|
}
|
|
578
578
|
function Ie(e, t) {
|
|
579
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Te(
|
|
579
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Te(pi(e), e, t) : e;
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function gi(e, t, r) {
|
|
582
582
|
return e.concat(t).map(function(i) {
|
|
583
583
|
return Ie(i, r);
|
|
584
584
|
});
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function vi(e, t) {
|
|
587
587
|
if (!t.customMerge)
|
|
588
588
|
return Te;
|
|
589
589
|
var r = t.customMerge(e);
|
|
590
590
|
return typeof r == "function" ? r : Te;
|
|
591
591
|
}
|
|
592
|
-
function
|
|
592
|
+
function bi(e) {
|
|
593
593
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
594
594
|
return Object.propertyIsEnumerable.call(e, t);
|
|
595
595
|
}) : [];
|
|
596
596
|
}
|
|
597
|
-
function
|
|
598
|
-
return Object.keys(e).concat(
|
|
597
|
+
function Bt(e) {
|
|
598
|
+
return Object.keys(e).concat(bi(e));
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function nr(e, t) {
|
|
601
601
|
try {
|
|
602
602
|
return t in e;
|
|
603
603
|
} catch (r) {
|
|
604
604
|
return !1;
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
|
-
function
|
|
608
|
-
return
|
|
607
|
+
function yi(e, t) {
|
|
608
|
+
return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
609
609
|
}
|
|
610
|
-
function
|
|
610
|
+
function xi(e, t, r) {
|
|
611
611
|
var i = {};
|
|
612
|
-
return r.isMergeableObject(e) &&
|
|
612
|
+
return r.isMergeableObject(e) && Bt(e).forEach(function(n) {
|
|
613
613
|
i[n] = Ie(e[n], r);
|
|
614
|
-
}),
|
|
615
|
-
|
|
614
|
+
}), Bt(t).forEach(function(n) {
|
|
615
|
+
yi(e, n) || (nr(e, n) && r.isMergeableObject(t[n]) ? i[n] = vi(n, r)(e[n], t[n], r) : i[n] = Ie(t[n], r));
|
|
616
616
|
}), i;
|
|
617
617
|
}
|
|
618
618
|
function Te(e, t, r) {
|
|
619
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
619
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || gi, r.isMergeableObject = r.isMergeableObject || li, r.cloneUnlessOtherwiseSpecified = Ie;
|
|
620
620
|
var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
|
|
621
|
-
return s ? i ? r.arrayMerge(e, t, r) :
|
|
621
|
+
return s ? i ? r.arrayMerge(e, t, r) : xi(e, t, r) : Ie(t, r);
|
|
622
622
|
}
|
|
623
623
|
Te.all = function(t, r) {
|
|
624
624
|
if (!Array.isArray(t))
|
|
@@ -627,8 +627,8 @@ Te.all = function(t, r) {
|
|
|
627
627
|
return Te(i, n, r);
|
|
628
628
|
}, {});
|
|
629
629
|
};
|
|
630
|
-
var
|
|
631
|
-
const
|
|
630
|
+
var _i = Te, Ei = _i;
|
|
631
|
+
const wi = /* @__PURE__ */ _t(Ei);
|
|
632
632
|
var ht = function(e, t) {
|
|
633
633
|
return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
634
634
|
r.__proto__ = i;
|
|
@@ -645,16 +645,16 @@ 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 P = function() {
|
|
649
|
+
return P = 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
|
+
}, P.apply(this, arguments);
|
|
656
656
|
};
|
|
657
|
-
function
|
|
657
|
+
function Si(e, t) {
|
|
658
658
|
var r = {};
|
|
659
659
|
for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
660
660
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -668,55 +668,53 @@ function tt(e, t, r) {
|
|
|
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 :
|
|
671
|
+
var r = t && t.cache ? t.cache : Bi, i = t && t.serializer ? t.serializer : Ai, n = t && t.strategy ? t.strategy : Oi;
|
|
672
672
|
return n(e, {
|
|
673
673
|
cache: r,
|
|
674
674
|
serializer: i
|
|
675
675
|
});
|
|
676
676
|
}
|
|
677
|
-
function
|
|
677
|
+
function Ti(e) {
|
|
678
678
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
679
679
|
}
|
|
680
|
-
function
|
|
681
|
-
var n =
|
|
680
|
+
function Hi(e, t, r, i) {
|
|
681
|
+
var n = Ti(i) ? i : r(i), s = t.get(n);
|
|
682
682
|
return typeof s == "undefined" && (s = e.call(this, i), t.set(n, s)), s;
|
|
683
683
|
}
|
|
684
|
-
function
|
|
684
|
+
function sr(e, t, r) {
|
|
685
685
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
|
|
686
686
|
return typeof s == "undefined" && (s = e.apply(this, i), t.set(n, s)), s;
|
|
687
687
|
}
|
|
688
|
-
function
|
|
688
|
+
function or(e, t, r, i, n) {
|
|
689
689
|
return r.bind(t, e, i, n);
|
|
690
690
|
}
|
|
691
|
-
function
|
|
692
|
-
var r = e.length === 1 ?
|
|
693
|
-
return
|
|
691
|
+
function Oi(e, t) {
|
|
692
|
+
var r = e.length === 1 ? Hi : sr;
|
|
693
|
+
return or(e, this, r, t.cache.create(), t.serializer);
|
|
694
694
|
}
|
|
695
695
|
function Pi(e, t) {
|
|
696
|
-
return
|
|
697
|
-
}
|
|
698
|
-
function $i(e, t) {
|
|
699
|
-
return Et(e, this, ar, t.cache.create(), t.serializer);
|
|
696
|
+
return or(e, this, sr, t.cache.create(), t.serializer);
|
|
700
697
|
}
|
|
701
|
-
var
|
|
698
|
+
var Ai = function() {
|
|
702
699
|
return JSON.stringify(arguments);
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
700
|
+
}, $i = (
|
|
701
|
+
/** @class */
|
|
702
|
+
function() {
|
|
703
|
+
function e() {
|
|
704
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
705
|
+
}
|
|
706
|
+
return e.prototype.get = function(t) {
|
|
707
|
+
return this.cache[t];
|
|
708
|
+
}, e.prototype.set = function(t, r) {
|
|
709
|
+
this.cache[t] = r;
|
|
710
|
+
}, e;
|
|
711
|
+
}()
|
|
712
|
+
), Bi = {
|
|
714
713
|
create: function() {
|
|
715
|
-
return new
|
|
714
|
+
return new $i();
|
|
716
715
|
}
|
|
717
716
|
}, it = {
|
|
718
|
-
variadic: Pi
|
|
719
|
-
monadic: $i
|
|
717
|
+
variadic: Pi
|
|
720
718
|
}, T;
|
|
721
719
|
(function(e) {
|
|
722
720
|
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";
|
|
@@ -729,43 +727,43 @@ var He;
|
|
|
729
727
|
(function(e) {
|
|
730
728
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
731
729
|
})(He || (He = {}));
|
|
732
|
-
function
|
|
730
|
+
function Mt(e) {
|
|
733
731
|
return e.type === C.literal;
|
|
734
732
|
}
|
|
735
|
-
function
|
|
733
|
+
function Mi(e) {
|
|
736
734
|
return e.type === C.argument;
|
|
737
735
|
}
|
|
738
|
-
function
|
|
736
|
+
function ar(e) {
|
|
739
737
|
return e.type === C.number;
|
|
740
738
|
}
|
|
741
|
-
function
|
|
739
|
+
function ur(e) {
|
|
742
740
|
return e.type === C.date;
|
|
743
741
|
}
|
|
744
|
-
function
|
|
742
|
+
function lr(e) {
|
|
745
743
|
return e.type === C.time;
|
|
746
744
|
}
|
|
747
|
-
function
|
|
745
|
+
function hr(e) {
|
|
748
746
|
return e.type === C.select;
|
|
749
747
|
}
|
|
750
|
-
function
|
|
748
|
+
function fr(e) {
|
|
751
749
|
return e.type === C.plural;
|
|
752
750
|
}
|
|
753
|
-
function
|
|
751
|
+
function Ci(e) {
|
|
754
752
|
return e.type === C.pound;
|
|
755
753
|
}
|
|
756
|
-
function
|
|
754
|
+
function cr(e) {
|
|
757
755
|
return e.type === C.tag;
|
|
758
756
|
}
|
|
759
|
-
function
|
|
757
|
+
function dr(e) {
|
|
760
758
|
return !!(e && typeof e == "object" && e.type === He.number);
|
|
761
759
|
}
|
|
762
760
|
function ft(e) {
|
|
763
761
|
return !!(e && typeof e == "object" && e.type === He.dateTime);
|
|
764
762
|
}
|
|
765
|
-
var
|
|
766
|
-
function
|
|
763
|
+
var mr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Di = /(?:[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;
|
|
764
|
+
function Ii(e) {
|
|
767
765
|
var t = {};
|
|
768
|
-
return e.replace(
|
|
766
|
+
return e.replace(Di, function(r) {
|
|
769
767
|
var i = r.length;
|
|
770
768
|
switch (r[0]) {
|
|
771
769
|
case "G":
|
|
@@ -854,11 +852,11 @@ function Li(e) {
|
|
|
854
852
|
return "";
|
|
855
853
|
}), t;
|
|
856
854
|
}
|
|
857
|
-
var
|
|
858
|
-
function
|
|
855
|
+
var Li = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
856
|
+
function Ni(e) {
|
|
859
857
|
if (e.length === 0)
|
|
860
858
|
throw new Error("Number skeleton cannot be empty");
|
|
861
|
-
for (var t = e.split(
|
|
859
|
+
for (var t = e.split(Li).filter(function(m) {
|
|
862
860
|
return m.length > 0;
|
|
863
861
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
864
862
|
var s = n[i], a = s.split("/");
|
|
@@ -873,17 +871,17 @@ function Ri(e) {
|
|
|
873
871
|
}
|
|
874
872
|
return r;
|
|
875
873
|
}
|
|
876
|
-
function
|
|
874
|
+
function Ri(e) {
|
|
877
875
|
return e.replace(/^(.*?)-/, "");
|
|
878
876
|
}
|
|
879
|
-
var
|
|
880
|
-
function
|
|
877
|
+
var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, ki = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
|
|
878
|
+
function Dt(e) {
|
|
881
879
|
var t = {};
|
|
882
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
880
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, i, n) {
|
|
883
881
|
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)), "";
|
|
884
882
|
}), t;
|
|
885
883
|
}
|
|
886
|
-
function
|
|
884
|
+
function vr(e) {
|
|
887
885
|
switch (e) {
|
|
888
886
|
case "sign-auto":
|
|
889
887
|
return {
|
|
@@ -923,7 +921,7 @@ function yr(e) {
|
|
|
923
921
|
};
|
|
924
922
|
}
|
|
925
923
|
}
|
|
926
|
-
function
|
|
924
|
+
function Ui(e) {
|
|
927
925
|
var t;
|
|
928
926
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
929
927
|
notation: "engineering"
|
|
@@ -931,17 +929,17 @@ function Fi(e) {
|
|
|
931
929
|
notation: "scientific"
|
|
932
930
|
}, e = e.slice(1)), t) {
|
|
933
931
|
var r = e.slice(0, 2);
|
|
934
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
932
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
|
|
935
933
|
throw new Error("Malformed concise eng/scientific notation");
|
|
936
934
|
t.minimumIntegerDigits = e.length;
|
|
937
935
|
}
|
|
938
936
|
return t;
|
|
939
937
|
}
|
|
940
|
-
function
|
|
941
|
-
var t = {}, r =
|
|
938
|
+
function It(e) {
|
|
939
|
+
var t = {}, r = vr(e);
|
|
942
940
|
return r || t;
|
|
943
941
|
}
|
|
944
|
-
function
|
|
942
|
+
function Fi(e) {
|
|
945
943
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
946
944
|
var n = i[r];
|
|
947
945
|
switch (n.stem) {
|
|
@@ -965,7 +963,7 @@ function Vi(e) {
|
|
|
965
963
|
continue;
|
|
966
964
|
case "measure-unit":
|
|
967
965
|
case "unit":
|
|
968
|
-
t.style = "unit", t.unit =
|
|
966
|
+
t.style = "unit", t.unit = Ri(n.options[0]);
|
|
969
967
|
continue;
|
|
970
968
|
case "compact-short":
|
|
971
969
|
case "K":
|
|
@@ -976,13 +974,13 @@ function Vi(e) {
|
|
|
976
974
|
t.notation = "compact", t.compactDisplay = "long";
|
|
977
975
|
continue;
|
|
978
976
|
case "scientific":
|
|
979
|
-
t =
|
|
980
|
-
return
|
|
977
|
+
t = P(P(P({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
|
|
978
|
+
return P(P({}, o), It(u));
|
|
981
979
|
}, {}));
|
|
982
980
|
continue;
|
|
983
981
|
case "engineering":
|
|
984
|
-
t =
|
|
985
|
-
return
|
|
982
|
+
t = P(P(P({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
|
|
983
|
+
return P(P({}, o), It(u));
|
|
986
984
|
}, {}));
|
|
987
985
|
continue;
|
|
988
986
|
case "notation-simple":
|
|
@@ -1027,7 +1025,7 @@ function Vi(e) {
|
|
|
1027
1025
|
case "integer-width":
|
|
1028
1026
|
if (n.options.length > 1)
|
|
1029
1027
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1030
|
-
n.options[0].replace(
|
|
1028
|
+
n.options[0].replace(ki, function(o, u, h, c, m, E) {
|
|
1031
1029
|
if (u)
|
|
1032
1030
|
t.minimumIntegerDigits = h.length;
|
|
1033
1031
|
else {
|
|
@@ -1040,28 +1038,28 @@ function Vi(e) {
|
|
|
1040
1038
|
});
|
|
1041
1039
|
continue;
|
|
1042
1040
|
}
|
|
1043
|
-
if (
|
|
1041
|
+
if (gr.test(n.stem)) {
|
|
1044
1042
|
t.minimumIntegerDigits = n.stem.length;
|
|
1045
1043
|
continue;
|
|
1046
1044
|
}
|
|
1047
|
-
if (
|
|
1045
|
+
if (Ct.test(n.stem)) {
|
|
1048
1046
|
if (n.options.length > 1)
|
|
1049
1047
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1050
|
-
n.stem.replace(
|
|
1048
|
+
n.stem.replace(Ct, function(o, u, h, c, m, E) {
|
|
1051
1049
|
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), "";
|
|
1052
1050
|
});
|
|
1053
1051
|
var s = n.options[0];
|
|
1054
|
-
s === "w" ? t =
|
|
1052
|
+
s === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = P(P({}, t), Dt(s)));
|
|
1055
1053
|
continue;
|
|
1056
1054
|
}
|
|
1057
|
-
if (
|
|
1058
|
-
t =
|
|
1055
|
+
if (pr.test(n.stem)) {
|
|
1056
|
+
t = P(P({}, t), Dt(n.stem));
|
|
1059
1057
|
continue;
|
|
1060
1058
|
}
|
|
1061
|
-
var a =
|
|
1062
|
-
a && (t =
|
|
1063
|
-
var l =
|
|
1064
|
-
l && (t =
|
|
1059
|
+
var a = vr(n.stem);
|
|
1060
|
+
a && (t = P(P({}, t), a));
|
|
1061
|
+
var l = Ui(n.stem);
|
|
1062
|
+
l && (t = P(P({}, t), l));
|
|
1065
1063
|
}
|
|
1066
1064
|
return t;
|
|
1067
1065
|
}
|
|
@@ -2480,13 +2478,13 @@ var Ve = {
|
|
|
2480
2478
|
"h"
|
|
2481
2479
|
]
|
|
2482
2480
|
};
|
|
2483
|
-
function
|
|
2481
|
+
function Vi(e, t) {
|
|
2484
2482
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
2485
2483
|
var n = e.charAt(i);
|
|
2486
2484
|
if (n === "j") {
|
|
2487
2485
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2488
2486
|
s++, i++;
|
|
2489
|
-
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), o = "a", u =
|
|
2487
|
+
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Gi(t);
|
|
2490
2488
|
for ((u == "H" || u == "k") && (l = 0); l-- > 0; )
|
|
2491
2489
|
r += o;
|
|
2492
2490
|
for (; a-- > 0; )
|
|
@@ -2495,7 +2493,7 @@ function Gi(e, t) {
|
|
|
2495
2493
|
}
|
|
2496
2494
|
return r;
|
|
2497
2495
|
}
|
|
2498
|
-
function
|
|
2496
|
+
function Gi(e) {
|
|
2499
2497
|
var t = e.hourCycle;
|
|
2500
2498
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2501
2499
|
e.hourCycles && // @ts-ignore
|
|
@@ -2517,20 +2515,20 @@ function ji(e) {
|
|
|
2517
2515
|
var n = Ve[i || ""] || Ve[r || ""] || Ve["".concat(r, "-001")] || Ve["001"];
|
|
2518
2516
|
return n[0];
|
|
2519
2517
|
}
|
|
2520
|
-
var nt,
|
|
2518
|
+
var nt, ji = new RegExp("^".concat(mr.source, "*")), zi = new RegExp("".concat(mr.source, "*$"));
|
|
2521
2519
|
function O(e, t) {
|
|
2522
2520
|
return { start: e, end: t };
|
|
2523
2521
|
}
|
|
2524
|
-
var
|
|
2522
|
+
var Xi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wi = !!String.fromCodePoint, qi = !!Object.fromEntries, Yi = !!String.prototype.codePointAt, Zi = !!String.prototype.trimStart, Ji = !!String.prototype.trimEnd, Qi = !!Number.isSafeInteger, Ki = Qi ? Number.isSafeInteger : function(e) {
|
|
2525
2523
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2526
2524
|
}, ct = !0;
|
|
2527
2525
|
try {
|
|
2528
|
-
var
|
|
2529
|
-
ct = ((nt =
|
|
2526
|
+
var en = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2527
|
+
ct = ((nt = en.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
|
|
2530
2528
|
} catch (e) {
|
|
2531
2529
|
ct = !1;
|
|
2532
2530
|
}
|
|
2533
|
-
var
|
|
2531
|
+
var Lt = Xi ? (
|
|
2534
2532
|
// Native
|
|
2535
2533
|
function(t, r, i) {
|
|
2536
2534
|
return t.startsWith(r, i);
|
|
@@ -2540,7 +2538,7 @@ var Rt = Wi ? (
|
|
|
2540
2538
|
function(t, r, i) {
|
|
2541
2539
|
return t.slice(i, i + r.length) === r;
|
|
2542
2540
|
}
|
|
2543
|
-
), dt =
|
|
2541
|
+
), dt = Wi ? String.fromCodePoint : (
|
|
2544
2542
|
// IE11
|
|
2545
2543
|
function() {
|
|
2546
2544
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2552,9 +2550,9 @@ var Rt = Wi ? (
|
|
|
2552
2550
|
}
|
|
2553
2551
|
return i;
|
|
2554
2552
|
}
|
|
2555
|
-
),
|
|
2553
|
+
), Nt = (
|
|
2556
2554
|
// native
|
|
2557
|
-
|
|
2555
|
+
qi ? Object.fromEntries : (
|
|
2558
2556
|
// Ponyfill
|
|
2559
2557
|
function(t) {
|
|
2560
2558
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
@@ -2564,7 +2562,7 @@ var Rt = Wi ? (
|
|
|
2564
2562
|
return r;
|
|
2565
2563
|
}
|
|
2566
2564
|
)
|
|
2567
|
-
),
|
|
2565
|
+
), br = Yi ? (
|
|
2568
2566
|
// Native
|
|
2569
2567
|
function(t, r) {
|
|
2570
2568
|
return t.codePointAt(r);
|
|
@@ -2578,7 +2576,7 @@ var Rt = Wi ? (
|
|
|
2578
2576
|
return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2579
2577
|
}
|
|
2580
2578
|
}
|
|
2581
|
-
),
|
|
2579
|
+
), tn = Zi ? (
|
|
2582
2580
|
// Native
|
|
2583
2581
|
function(t) {
|
|
2584
2582
|
return t.trimStart();
|
|
@@ -2586,9 +2584,9 @@ var Rt = Wi ? (
|
|
|
2586
2584
|
) : (
|
|
2587
2585
|
// Ponyfill
|
|
2588
2586
|
function(t) {
|
|
2589
|
-
return t.replace(
|
|
2587
|
+
return t.replace(ji, "");
|
|
2590
2588
|
}
|
|
2591
|
-
),
|
|
2589
|
+
), rn = Ji ? (
|
|
2592
2590
|
// Native
|
|
2593
2591
|
function(t) {
|
|
2594
2592
|
return t.trimEnd();
|
|
@@ -2596,32 +2594,32 @@ var Rt = Wi ? (
|
|
|
2596
2594
|
) : (
|
|
2597
2595
|
// Ponyfill
|
|
2598
2596
|
function(t) {
|
|
2599
|
-
return t.replace(
|
|
2597
|
+
return t.replace(zi, "");
|
|
2600
2598
|
}
|
|
2601
2599
|
);
|
|
2602
|
-
function
|
|
2600
|
+
function yr(e, t) {
|
|
2603
2601
|
return new RegExp(e, t);
|
|
2604
2602
|
}
|
|
2605
2603
|
var mt;
|
|
2606
2604
|
if (ct) {
|
|
2607
|
-
var
|
|
2605
|
+
var Rt = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2608
2606
|
mt = function(t, r) {
|
|
2609
2607
|
var i;
|
|
2610
|
-
|
|
2611
|
-
var n =
|
|
2608
|
+
Rt.lastIndex = r;
|
|
2609
|
+
var n = Rt.exec(t);
|
|
2612
2610
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2613
2611
|
};
|
|
2614
2612
|
} else
|
|
2615
2613
|
mt = function(t, r) {
|
|
2616
2614
|
for (var i = []; ; ) {
|
|
2617
|
-
var n =
|
|
2618
|
-
if (n === void 0 ||
|
|
2615
|
+
var n = br(t, r);
|
|
2616
|
+
if (n === void 0 || xr(n) || an(n))
|
|
2619
2617
|
break;
|
|
2620
2618
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
2621
2619
|
}
|
|
2622
2620
|
return dt.apply(void 0, i);
|
|
2623
2621
|
};
|
|
2624
|
-
var
|
|
2622
|
+
var nn = (
|
|
2625
2623
|
/** @class */
|
|
2626
2624
|
function() {
|
|
2627
2625
|
function e(t, r) {
|
|
@@ -2703,7 +2701,7 @@ var sn = (
|
|
|
2703
2701
|
return this.error(T.INVALID_TAG, O(i, this.clonePosition()));
|
|
2704
2702
|
}, e.prototype.parseTagName = function() {
|
|
2705
2703
|
var t = this.offset();
|
|
2706
|
-
for (this.bump(); !this.isEOF() &&
|
|
2704
|
+
for (this.bump(); !this.isEOF() && on(this.char()); )
|
|
2707
2705
|
this.bump();
|
|
2708
2706
|
return this.message.slice(t, this.offset());
|
|
2709
2707
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2732,7 +2730,7 @@ var sn = (
|
|
|
2732
2730
|
};
|
|
2733
2731
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2734
2732
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2735
|
-
!
|
|
2733
|
+
!sn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2736
2734
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2737
2735
|
if (this.isEOF() || this.char() !== 39)
|
|
2738
2736
|
return null;
|
|
@@ -2819,7 +2817,7 @@ var sn = (
|
|
|
2819
2817
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2820
2818
|
if (c.err)
|
|
2821
2819
|
return c;
|
|
2822
|
-
var m =
|
|
2820
|
+
var m = rn(c.val);
|
|
2823
2821
|
if (m.length === 0)
|
|
2824
2822
|
return this.error(T.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
|
|
2825
2823
|
var E = O(h, this.clonePosition());
|
|
@@ -2829,8 +2827,8 @@ var sn = (
|
|
|
2829
2827
|
if (H.err)
|
|
2830
2828
|
return H;
|
|
2831
2829
|
var v = O(n, this.clonePosition());
|
|
2832
|
-
if (u &&
|
|
2833
|
-
var $ =
|
|
2830
|
+
if (u && Lt(u == null ? void 0 : u.style, "::", 0)) {
|
|
2831
|
+
var $ = tn(u.style.slice(2));
|
|
2834
2832
|
if (l === "number") {
|
|
2835
2833
|
var c = this.parseNumberSkeletonFromString($, u.styleLocation);
|
|
2836
2834
|
return c.err ? c : {
|
|
@@ -2841,12 +2839,12 @@ var sn = (
|
|
|
2841
2839
|
if ($.length === 0)
|
|
2842
2840
|
return this.error(T.EXPECT_DATE_TIME_SKELETON, v);
|
|
2843
2841
|
var G = $;
|
|
2844
|
-
this.locale && (G =
|
|
2842
|
+
this.locale && (G = Vi($, this.locale));
|
|
2845
2843
|
var m = {
|
|
2846
2844
|
type: He.dateTime,
|
|
2847
2845
|
pattern: G,
|
|
2848
2846
|
location: u.styleLocation,
|
|
2849
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2847
|
+
parsedOptions: this.shouldParseSkeletons ? Ii(G) : {}
|
|
2850
2848
|
}, U = l === "date" ? C.date : C.time;
|
|
2851
2849
|
return {
|
|
2852
2850
|
val: { type: U, value: i, location: v, style: m },
|
|
@@ -2869,7 +2867,7 @@ var sn = (
|
|
|
2869
2867
|
case "select": {
|
|
2870
2868
|
var B = this.clonePosition();
|
|
2871
2869
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2872
|
-
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, O(B,
|
|
2870
|
+
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, O(B, P({}, B)));
|
|
2873
2871
|
this.bumpSpace();
|
|
2874
2872
|
var X = this.parseIdentifierIfPossible(), I = 0;
|
|
2875
2873
|
if (l !== "select" && X.value === "offset") {
|
|
@@ -2892,7 +2890,7 @@ var sn = (
|
|
|
2892
2890
|
val: {
|
|
2893
2891
|
type: C.select,
|
|
2894
2892
|
value: i,
|
|
2895
|
-
options:
|
|
2893
|
+
options: Nt(L.val),
|
|
2896
2894
|
location: Y
|
|
2897
2895
|
},
|
|
2898
2896
|
err: null
|
|
@@ -2900,7 +2898,7 @@ var sn = (
|
|
|
2900
2898
|
val: {
|
|
2901
2899
|
type: C.plural,
|
|
2902
2900
|
value: i,
|
|
2903
|
-
options:
|
|
2901
|
+
options: Nt(L.val),
|
|
2904
2902
|
offset: I,
|
|
2905
2903
|
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
2906
2904
|
location: Y
|
|
@@ -2951,7 +2949,7 @@ var sn = (
|
|
|
2951
2949
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2952
2950
|
var i = [];
|
|
2953
2951
|
try {
|
|
2954
|
-
i =
|
|
2952
|
+
i = Ni(t);
|
|
2955
2953
|
} catch (n) {
|
|
2956
2954
|
return this.error(T.INVALID_NUMBER_SKELETON, r);
|
|
2957
2955
|
}
|
|
@@ -2960,7 +2958,7 @@ var sn = (
|
|
|
2960
2958
|
type: He.number,
|
|
2961
2959
|
tokens: i,
|
|
2962
2960
|
location: r,
|
|
2963
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2961
|
+
parsedOptions: this.shouldParseSkeletons ? Fi(i) : {}
|
|
2964
2962
|
},
|
|
2965
2963
|
err: null
|
|
2966
2964
|
};
|
|
@@ -3008,7 +3006,7 @@ var sn = (
|
|
|
3008
3006
|
break;
|
|
3009
3007
|
}
|
|
3010
3008
|
var o = O(n, this.clonePosition());
|
|
3011
|
-
return s ? (a *= i,
|
|
3009
|
+
return s ? (a *= i, Ki(a) ? { val: a, err: null } : this.error(r, o)) : this.error(t, o);
|
|
3012
3010
|
}, e.prototype.offset = function() {
|
|
3013
3011
|
return this.position.offset;
|
|
3014
3012
|
}, e.prototype.isEOF = function() {
|
|
@@ -3023,7 +3021,7 @@ var sn = (
|
|
|
3023
3021
|
var t = this.position.offset;
|
|
3024
3022
|
if (t >= this.message.length)
|
|
3025
3023
|
throw Error("out of bound");
|
|
3026
|
-
var r =
|
|
3024
|
+
var r = br(this.message, t);
|
|
3027
3025
|
if (r === void 0)
|
|
3028
3026
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3029
3027
|
return r;
|
|
@@ -3042,7 +3040,7 @@ var sn = (
|
|
|
3042
3040
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3043
3041
|
}
|
|
3044
3042
|
}, e.prototype.bumpIf = function(t) {
|
|
3045
|
-
if (
|
|
3043
|
+
if (Lt(this.message, t, this.offset())) {
|
|
3046
3044
|
for (var r = 0; r < t.length; r++)
|
|
3047
3045
|
this.bump();
|
|
3048
3046
|
return !0;
|
|
@@ -3064,7 +3062,7 @@ var sn = (
|
|
|
3064
3062
|
break;
|
|
3065
3063
|
}
|
|
3066
3064
|
}, e.prototype.bumpSpace = function() {
|
|
3067
|
-
for (; !this.isEOF() &&
|
|
3065
|
+
for (; !this.isEOF() && xr(this.char()); )
|
|
3068
3066
|
this.bump();
|
|
3069
3067
|
}, e.prototype.peek = function() {
|
|
3070
3068
|
if (this.isEOF())
|
|
@@ -3077,29 +3075,29 @@ var sn = (
|
|
|
3077
3075
|
function pt(e) {
|
|
3078
3076
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3079
3077
|
}
|
|
3080
|
-
function
|
|
3078
|
+
function sn(e) {
|
|
3081
3079
|
return pt(e) || e === 47;
|
|
3082
3080
|
}
|
|
3083
|
-
function
|
|
3081
|
+
function on(e) {
|
|
3084
3082
|
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;
|
|
3085
3083
|
}
|
|
3086
|
-
function
|
|
3084
|
+
function xr(e) {
|
|
3087
3085
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3088
3086
|
}
|
|
3089
|
-
function
|
|
3087
|
+
function an(e) {
|
|
3090
3088
|
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;
|
|
3091
3089
|
}
|
|
3092
3090
|
function gt(e) {
|
|
3093
3091
|
e.forEach(function(t) {
|
|
3094
|
-
if (delete t.location,
|
|
3092
|
+
if (delete t.location, hr(t) || fr(t))
|
|
3095
3093
|
for (var r in t.options)
|
|
3096
3094
|
delete t.options[r].location, gt(t.options[r].value);
|
|
3097
|
-
else
|
|
3095
|
+
else ar(t) && dr(t.style) || (ur(t) || lr(t)) && ft(t.style) ? delete t.style.location : cr(t) && gt(t.children);
|
|
3098
3096
|
});
|
|
3099
3097
|
}
|
|
3100
|
-
function
|
|
3101
|
-
t === void 0 && (t = {}), t =
|
|
3102
|
-
var r = new
|
|
3098
|
+
function un(e, t) {
|
|
3099
|
+
t === void 0 && (t = {}), t = P({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3100
|
+
var r = new nn(e, t).parse();
|
|
3103
3101
|
if (r.err) {
|
|
3104
3102
|
var i = SyntaxError(T[r.err.kind]);
|
|
3105
3103
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
@@ -3122,7 +3120,7 @@ var Je = (
|
|
|
3122
3120
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3123
3121
|
}, t;
|
|
3124
3122
|
}(Error)
|
|
3125
|
-
),
|
|
3123
|
+
), kt = (
|
|
3126
3124
|
/** @class */
|
|
3127
3125
|
function(e) {
|
|
3128
3126
|
Ze(t, e);
|
|
@@ -3131,7 +3129,7 @@ var Je = (
|
|
|
3131
3129
|
}
|
|
3132
3130
|
return t;
|
|
3133
3131
|
}(Je)
|
|
3134
|
-
),
|
|
3132
|
+
), ln = (
|
|
3135
3133
|
/** @class */
|
|
3136
3134
|
function(e) {
|
|
3137
3135
|
Ze(t, e);
|
|
@@ -3140,7 +3138,7 @@ var Je = (
|
|
|
3140
3138
|
}
|
|
3141
3139
|
return t;
|
|
3142
3140
|
}(Je)
|
|
3143
|
-
),
|
|
3141
|
+
), hn = (
|
|
3144
3142
|
/** @class */
|
|
3145
3143
|
function(e) {
|
|
3146
3144
|
Ze(t, e);
|
|
@@ -3153,17 +3151,17 @@ var Je = (
|
|
|
3153
3151
|
(function(e) {
|
|
3154
3152
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3155
3153
|
})(z || (z = {}));
|
|
3156
|
-
function
|
|
3154
|
+
function fn(e) {
|
|
3157
3155
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3158
3156
|
var i = t[t.length - 1];
|
|
3159
3157
|
return !i || i.type !== z.literal || r.type !== z.literal ? t.push(r) : i.value += r.value, t;
|
|
3160
3158
|
}, []);
|
|
3161
3159
|
}
|
|
3162
|
-
function
|
|
3160
|
+
function cn(e) {
|
|
3163
3161
|
return typeof e == "function";
|
|
3164
3162
|
}
|
|
3165
3163
|
function je(e, t, r, i, n, s, a) {
|
|
3166
|
-
if (e.length === 1 &&
|
|
3164
|
+
if (e.length === 1 && Mt(e[0]))
|
|
3167
3165
|
return [
|
|
3168
3166
|
{
|
|
3169
3167
|
type: z.literal,
|
|
@@ -3172,14 +3170,14 @@ function je(e, t, r, i, n, s, a) {
|
|
|
3172
3170
|
];
|
|
3173
3171
|
for (var l = [], o = 0, u = e; o < u.length; o++) {
|
|
3174
3172
|
var h = u[o];
|
|
3175
|
-
if (
|
|
3173
|
+
if (Mt(h)) {
|
|
3176
3174
|
l.push({
|
|
3177
3175
|
type: z.literal,
|
|
3178
3176
|
value: h.value
|
|
3179
3177
|
});
|
|
3180
3178
|
continue;
|
|
3181
3179
|
}
|
|
3182
|
-
if (
|
|
3180
|
+
if (Ci(h)) {
|
|
3183
3181
|
typeof s == "number" && l.push({
|
|
3184
3182
|
type: z.literal,
|
|
3185
3183
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3188,16 +3186,16 @@ function je(e, t, r, i, n, s, a) {
|
|
|
3188
3186
|
}
|
|
3189
3187
|
var c = h.value;
|
|
3190
3188
|
if (!(n && c in n))
|
|
3191
|
-
throw new
|
|
3189
|
+
throw new hn(c, a);
|
|
3192
3190
|
var m = n[c];
|
|
3193
|
-
if (
|
|
3191
|
+
if (Mi(h)) {
|
|
3194
3192
|
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), l.push({
|
|
3195
3193
|
type: typeof m == "string" ? z.literal : z.object,
|
|
3196
3194
|
value: m
|
|
3197
3195
|
});
|
|
3198
3196
|
continue;
|
|
3199
3197
|
}
|
|
3200
|
-
if (
|
|
3198
|
+
if (ur(h)) {
|
|
3201
3199
|
var E = typeof h.style == "string" ? i.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
|
|
3202
3200
|
l.push({
|
|
3203
3201
|
type: z.literal,
|
|
@@ -3205,7 +3203,7 @@ function je(e, t, r, i, n, s, a) {
|
|
|
3205
3203
|
});
|
|
3206
3204
|
continue;
|
|
3207
3205
|
}
|
|
3208
|
-
if (
|
|
3206
|
+
if (lr(h)) {
|
|
3209
3207
|
var E = typeof h.style == "string" ? i.time[h.style] : ft(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3210
3208
|
l.push({
|
|
3211
3209
|
type: z.literal,
|
|
@@ -3213,18 +3211,18 @@ function je(e, t, r, i, n, s, a) {
|
|
|
3213
3211
|
});
|
|
3214
3212
|
continue;
|
|
3215
3213
|
}
|
|
3216
|
-
if (
|
|
3217
|
-
var E = typeof h.style == "string" ? i.number[h.style] :
|
|
3214
|
+
if (ar(h)) {
|
|
3215
|
+
var E = typeof h.style == "string" ? i.number[h.style] : dr(h.style) ? h.style.parsedOptions : void 0;
|
|
3218
3216
|
E && E.scale && (m = m * (E.scale || 1)), l.push({
|
|
3219
3217
|
type: z.literal,
|
|
3220
3218
|
value: r.getNumberFormat(t, E).format(m)
|
|
3221
3219
|
});
|
|
3222
3220
|
continue;
|
|
3223
3221
|
}
|
|
3224
|
-
if (
|
|
3222
|
+
if (cr(h)) {
|
|
3225
3223
|
var H = h.children, v = h.value, $ = n[v];
|
|
3226
|
-
if (!
|
|
3227
|
-
throw new
|
|
3224
|
+
if (!cn($))
|
|
3225
|
+
throw new ln(v, "function", a);
|
|
3228
3226
|
var G = je(H, t, r, i, n, s), U = $(G.map(function(I) {
|
|
3229
3227
|
return I.value;
|
|
3230
3228
|
}));
|
|
@@ -3235,14 +3233,14 @@ function je(e, t, r, i, n, s, a) {
|
|
|
3235
3233
|
};
|
|
3236
3234
|
}));
|
|
3237
3235
|
}
|
|
3238
|
-
if (
|
|
3236
|
+
if (hr(h)) {
|
|
3239
3237
|
var B = h.options[m] || h.options.other;
|
|
3240
3238
|
if (!B)
|
|
3241
|
-
throw new
|
|
3239
|
+
throw new kt(h.value, m, Object.keys(h.options), a);
|
|
3242
3240
|
l.push.apply(l, je(B.value, t, r, i, n));
|
|
3243
3241
|
continue;
|
|
3244
3242
|
}
|
|
3245
|
-
if (
|
|
3243
|
+
if (fr(h)) {
|
|
3246
3244
|
var B = h.options["=".concat(m)];
|
|
3247
3245
|
if (!B) {
|
|
3248
3246
|
if (!Intl.PluralRules)
|
|
@@ -3253,22 +3251,22 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3253
3251
|
B = h.options[X] || h.options.other;
|
|
3254
3252
|
}
|
|
3255
3253
|
if (!B)
|
|
3256
|
-
throw new
|
|
3254
|
+
throw new kt(h.value, m, Object.keys(h.options), a);
|
|
3257
3255
|
l.push.apply(l, je(B.value, t, r, i, n, m - (h.offset || 0)));
|
|
3258
3256
|
continue;
|
|
3259
3257
|
}
|
|
3260
3258
|
}
|
|
3261
|
-
return
|
|
3259
|
+
return fn(l);
|
|
3262
3260
|
}
|
|
3263
|
-
function
|
|
3264
|
-
return t ?
|
|
3265
|
-
return r[i] =
|
|
3261
|
+
function dn(e, t) {
|
|
3262
|
+
return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3263
|
+
return r[i] = P(P({}, e[i]), t[i] || {}), r;
|
|
3266
3264
|
}, {})) : e;
|
|
3267
3265
|
}
|
|
3268
|
-
function
|
|
3266
|
+
function mn(e, t) {
|
|
3269
3267
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3270
|
-
return r[i] =
|
|
3271
|
-
},
|
|
3268
|
+
return r[i] = dn(e[i], t[i]), r;
|
|
3269
|
+
}, P({}, e)) : e;
|
|
3272
3270
|
}
|
|
3273
3271
|
function st(e) {
|
|
3274
3272
|
return {
|
|
@@ -3284,7 +3282,7 @@ function st(e) {
|
|
|
3284
3282
|
}
|
|
3285
3283
|
};
|
|
3286
3284
|
}
|
|
3287
|
-
function
|
|
3285
|
+
function pn(e) {
|
|
3288
3286
|
return e === void 0 && (e = {
|
|
3289
3287
|
number: {},
|
|
3290
3288
|
dateTime: {},
|
|
@@ -3316,7 +3314,7 @@ function gn(e) {
|
|
|
3316
3314
|
})
|
|
3317
3315
|
};
|
|
3318
3316
|
}
|
|
3319
|
-
var
|
|
3317
|
+
var _r = (
|
|
3320
3318
|
/** @class */
|
|
3321
3319
|
function() {
|
|
3322
3320
|
function e(t, r, i, n) {
|
|
@@ -3348,13 +3346,13 @@ var wr = (
|
|
|
3348
3346
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3349
3347
|
var a = n || {};
|
|
3350
3348
|
a.formatters;
|
|
3351
|
-
var l =
|
|
3352
|
-
this.ast = e.__parse(t,
|
|
3349
|
+
var l = Si(a, ["formatters"]);
|
|
3350
|
+
this.ast = e.__parse(t, P(P({}, l), { locale: this.resolvedLocale }));
|
|
3353
3351
|
} else
|
|
3354
3352
|
this.ast = t;
|
|
3355
3353
|
if (!Array.isArray(this.ast))
|
|
3356
3354
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3357
|
-
this.formats =
|
|
3355
|
+
this.formats = mn(e.formats, i), this.formatters = n && n.formatters || pn(this.formatterCache);
|
|
3358
3356
|
}
|
|
3359
3357
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3360
3358
|
get: function() {
|
|
@@ -3367,7 +3365,7 @@ var wr = (
|
|
|
3367
3365
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3368
3366
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3369
3367
|
}
|
|
3370
|
-
}, e.__parse =
|
|
3368
|
+
}, e.__parse = un, e.formats = {
|
|
3371
3369
|
number: {
|
|
3372
3370
|
integer: {
|
|
3373
3371
|
maximumFractionDigits: 0
|
|
@@ -3428,7 +3426,7 @@ var wr = (
|
|
|
3428
3426
|
}, e;
|
|
3429
3427
|
}()
|
|
3430
3428
|
);
|
|
3431
|
-
function
|
|
3429
|
+
function gn(e, t) {
|
|
3432
3430
|
if (t == null)
|
|
3433
3431
|
return;
|
|
3434
3432
|
if (t in e)
|
|
@@ -3449,60 +3447,60 @@ function vn(e, t) {
|
|
|
3449
3447
|
i = void 0;
|
|
3450
3448
|
return i;
|
|
3451
3449
|
}
|
|
3452
|
-
const ce = {},
|
|
3450
|
+
const ce = {}, vn = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Er = (e, t) => {
|
|
3453
3451
|
if (t == null)
|
|
3454
3452
|
return;
|
|
3455
3453
|
if (t in ce && e in ce[t])
|
|
3456
3454
|
return ce[t][e];
|
|
3457
3455
|
const r = ke(t);
|
|
3458
3456
|
for (let i = 0; i < r.length; i++) {
|
|
3459
|
-
const n = r[i], s =
|
|
3457
|
+
const n = r[i], s = yn(n, e);
|
|
3460
3458
|
if (s)
|
|
3461
|
-
return
|
|
3459
|
+
return vn(e, t, s);
|
|
3462
3460
|
}
|
|
3463
3461
|
};
|
|
3464
|
-
let
|
|
3462
|
+
let Et;
|
|
3465
3463
|
const Re = Ye({});
|
|
3466
|
-
function
|
|
3467
|
-
return
|
|
3464
|
+
function bn(e) {
|
|
3465
|
+
return Et[e] || null;
|
|
3468
3466
|
}
|
|
3469
|
-
function
|
|
3470
|
-
return e in
|
|
3467
|
+
function wr(e) {
|
|
3468
|
+
return e in Et;
|
|
3471
3469
|
}
|
|
3472
|
-
function
|
|
3473
|
-
if (!
|
|
3470
|
+
function yn(e, t) {
|
|
3471
|
+
if (!wr(e))
|
|
3474
3472
|
return null;
|
|
3475
|
-
const r =
|
|
3476
|
-
return
|
|
3473
|
+
const r = bn(e);
|
|
3474
|
+
return gn(r, t);
|
|
3477
3475
|
}
|
|
3478
|
-
function
|
|
3476
|
+
function xn(e) {
|
|
3479
3477
|
if (e == null)
|
|
3480
3478
|
return;
|
|
3481
3479
|
const t = ke(e);
|
|
3482
3480
|
for (let r = 0; r < t.length; r++) {
|
|
3483
3481
|
const i = t[r];
|
|
3484
|
-
if (
|
|
3482
|
+
if (wr(i))
|
|
3485
3483
|
return i;
|
|
3486
3484
|
}
|
|
3487
3485
|
}
|
|
3488
|
-
function
|
|
3489
|
-
delete ce[e], Re.update((r) => (r[e] =
|
|
3486
|
+
function Sr(e, ...t) {
|
|
3487
|
+
delete ce[e], Re.update((r) => (r[e] = wi.all([r[e] || {}, ...t]), r));
|
|
3490
3488
|
}
|
|
3491
|
-
|
|
3489
|
+
Ae(
|
|
3492
3490
|
[Re],
|
|
3493
3491
|
([e]) => Object.keys(e)
|
|
3494
3492
|
);
|
|
3495
|
-
Re.subscribe((e) =>
|
|
3493
|
+
Re.subscribe((e) => Et = e);
|
|
3496
3494
|
const ze = {};
|
|
3497
|
-
function
|
|
3495
|
+
function _n(e, t) {
|
|
3498
3496
|
ze[e].delete(t), ze[e].size === 0 && delete ze[e];
|
|
3499
3497
|
}
|
|
3500
|
-
function
|
|
3498
|
+
function Tr(e) {
|
|
3501
3499
|
return ze[e];
|
|
3502
3500
|
}
|
|
3503
|
-
function
|
|
3501
|
+
function En(e) {
|
|
3504
3502
|
return ke(e).map((t) => {
|
|
3505
|
-
const r =
|
|
3503
|
+
const r = Tr(t);
|
|
3506
3504
|
return [t, r ? [...r] : []];
|
|
3507
3505
|
}).filter(([, t]) => t.length > 0);
|
|
3508
3506
|
}
|
|
@@ -3510,40 +3508,40 @@ function Xe(e) {
|
|
|
3510
3508
|
return e == null ? !1 : ke(e).some(
|
|
3511
3509
|
(t) => {
|
|
3512
3510
|
var r;
|
|
3513
|
-
return (r =
|
|
3511
|
+
return (r = Tr(t)) == null ? void 0 : r.size;
|
|
3514
3512
|
}
|
|
3515
3513
|
);
|
|
3516
3514
|
}
|
|
3517
|
-
function
|
|
3515
|
+
function wn(e, t) {
|
|
3518
3516
|
return Promise.all(
|
|
3519
|
-
t.map((i) => (
|
|
3520
|
-
).then((i) =>
|
|
3517
|
+
t.map((i) => (_n(e, i), i().then((n) => n.default || n)))
|
|
3518
|
+
).then((i) => Sr(e, ...i));
|
|
3521
3519
|
}
|
|
3522
3520
|
const Be = {};
|
|
3523
|
-
function
|
|
3521
|
+
function Hr(e) {
|
|
3524
3522
|
if (!Xe(e))
|
|
3525
3523
|
return e in Be ? Be[e] : Promise.resolve();
|
|
3526
|
-
const t =
|
|
3524
|
+
const t = En(e);
|
|
3527
3525
|
return Be[e] = Promise.all(
|
|
3528
3526
|
t.map(
|
|
3529
|
-
([r, i]) =>
|
|
3527
|
+
([r, i]) => wn(r, i)
|
|
3530
3528
|
)
|
|
3531
3529
|
).then(() => {
|
|
3532
3530
|
if (Xe(e))
|
|
3533
|
-
return
|
|
3531
|
+
return Hr(e);
|
|
3534
3532
|
delete Be[e];
|
|
3535
3533
|
}), Be[e];
|
|
3536
3534
|
}
|
|
3537
|
-
var
|
|
3535
|
+
var Ut = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, Hn = (e, t) => {
|
|
3538
3536
|
var r = {};
|
|
3539
3537
|
for (var i in e)
|
|
3540
|
-
|
|
3541
|
-
if (e != null &&
|
|
3542
|
-
for (var i of
|
|
3543
|
-
t.indexOf(i) < 0 &&
|
|
3538
|
+
Sn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
3539
|
+
if (e != null && Ut)
|
|
3540
|
+
for (var i of Ut(e))
|
|
3541
|
+
t.indexOf(i) < 0 && Tn.call(e, i) && (r[i] = e[i]);
|
|
3544
3542
|
return r;
|
|
3545
3543
|
};
|
|
3546
|
-
const
|
|
3544
|
+
const On = {
|
|
3547
3545
|
number: {
|
|
3548
3546
|
scientific: { notation: "scientific" },
|
|
3549
3547
|
engineering: { notation: "engineering" },
|
|
@@ -3582,23 +3580,23 @@ function Pn({ locale: e, id: t }) {
|
|
|
3582
3580
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3583
3581
|
);
|
|
3584
3582
|
}
|
|
3585
|
-
const
|
|
3583
|
+
const An = {
|
|
3586
3584
|
fallbackLocale: null,
|
|
3587
3585
|
loadingDelay: 200,
|
|
3588
|
-
formats:
|
|
3586
|
+
formats: On,
|
|
3589
3587
|
warnOnMissingMessages: !0,
|
|
3590
3588
|
handleMissingMessage: void 0,
|
|
3591
3589
|
ignoreTag: !0
|
|
3592
|
-
}, Me =
|
|
3593
|
-
function
|
|
3590
|
+
}, Me = An;
|
|
3591
|
+
function Pe() {
|
|
3594
3592
|
return Me;
|
|
3595
3593
|
}
|
|
3596
|
-
function
|
|
3597
|
-
const t = e, { formats: r } = t, i =
|
|
3594
|
+
function $n(e) {
|
|
3595
|
+
const t = e, { formats: r } = t, i = Hn(t, ["formats"]);
|
|
3598
3596
|
let n = e.fallbackLocale;
|
|
3599
3597
|
if (e.initialLocale)
|
|
3600
3598
|
try {
|
|
3601
|
-
|
|
3599
|
+
_r.resolveLocale(e.initialLocale) && (n = e.initialLocale);
|
|
3602
3600
|
} catch (s) {
|
|
3603
3601
|
console.warn(
|
|
3604
3602
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
@@ -3609,22 +3607,22 @@ function Bn(e) {
|
|
|
3609
3607
|
)), Object.assign(Me, i, { initialLocale: n }), r && ("number" in r && Object.assign(Me.formats.number, r.number), "date" in r && Object.assign(Me.formats.date, r.date), "time" in r && Object.assign(Me.formats.time, r.time)), pe.set(n);
|
|
3610
3608
|
}
|
|
3611
3609
|
const ot = Ye(!1);
|
|
3612
|
-
var
|
|
3610
|
+
var Bn = Object.defineProperty, Mn = Object.defineProperties, Cn = Object.getOwnPropertyDescriptors, Ft = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, In = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ln = (e, t) => {
|
|
3613
3611
|
for (var r in t || (t = {}))
|
|
3614
|
-
|
|
3615
|
-
if (
|
|
3616
|
-
for (var r of
|
|
3617
|
-
|
|
3612
|
+
Dn.call(t, r) && Vt(e, r, t[r]);
|
|
3613
|
+
if (Ft)
|
|
3614
|
+
for (var r of Ft(t))
|
|
3615
|
+
In.call(t, r) && Vt(e, r, t[r]);
|
|
3618
3616
|
return e;
|
|
3619
|
-
},
|
|
3617
|
+
}, Nn = (e, t) => Mn(e, Cn(t));
|
|
3620
3618
|
let vt;
|
|
3621
3619
|
const We = Ye(null);
|
|
3622
|
-
function
|
|
3620
|
+
function Gt(e) {
|
|
3623
3621
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
3624
3622
|
}
|
|
3625
|
-
function ke(e, t =
|
|
3626
|
-
const r =
|
|
3627
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3623
|
+
function ke(e, t = Pe().fallbackLocale) {
|
|
3624
|
+
const r = Gt(e);
|
|
3625
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
|
|
3628
3626
|
}
|
|
3629
3627
|
function de() {
|
|
3630
3628
|
return vt != null ? vt : void 0;
|
|
@@ -3632,22 +3630,22 @@ function de() {
|
|
|
3632
3630
|
We.subscribe((e) => {
|
|
3633
3631
|
vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3634
3632
|
});
|
|
3635
|
-
const
|
|
3636
|
-
if (e &&
|
|
3637
|
-
const { loadingDelay: t } =
|
|
3633
|
+
const Rn = (e) => {
|
|
3634
|
+
if (e && xn(e) && Xe(e)) {
|
|
3635
|
+
const { loadingDelay: t } = Pe();
|
|
3638
3636
|
let r;
|
|
3639
3637
|
return typeof window != "undefined" && de() != null && t ? r = window.setTimeout(
|
|
3640
3638
|
() => ot.set(!0),
|
|
3641
3639
|
t
|
|
3642
|
-
) : ot.set(!0),
|
|
3640
|
+
) : ot.set(!0), Hr(e).then(() => {
|
|
3643
3641
|
We.set(e);
|
|
3644
3642
|
}).finally(() => {
|
|
3645
3643
|
clearTimeout(r), ot.set(!1);
|
|
3646
3644
|
});
|
|
3647
3645
|
}
|
|
3648
3646
|
return We.set(e);
|
|
3649
|
-
}, pe =
|
|
3650
|
-
set:
|
|
3647
|
+
}, pe = Nn(Ln({}, We), {
|
|
3648
|
+
set: Rn
|
|
3651
3649
|
}), Qe = (e) => {
|
|
3652
3650
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3653
3651
|
return (i) => {
|
|
@@ -3655,42 +3653,42 @@ const kn = (e) => {
|
|
|
3655
3653
|
return n in t ? t[n] : t[n] = e(i);
|
|
3656
3654
|
};
|
|
3657
3655
|
};
|
|
3658
|
-
var
|
|
3656
|
+
var kn = Object.defineProperty, qe = Object.getOwnPropertySymbols, Or = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
|
|
3659
3657
|
for (var r in t || (t = {}))
|
|
3660
|
-
|
|
3658
|
+
Or.call(t, r) && jt(e, r, t[r]);
|
|
3661
3659
|
if (qe)
|
|
3662
3660
|
for (var r of qe(t))
|
|
3663
|
-
|
|
3661
|
+
Pr.call(t, r) && jt(e, r, t[r]);
|
|
3664
3662
|
return e;
|
|
3665
3663
|
}, $e = (e, t) => {
|
|
3666
3664
|
var r = {};
|
|
3667
3665
|
for (var i in e)
|
|
3668
|
-
|
|
3666
|
+
Or.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
3669
3667
|
if (e != null && qe)
|
|
3670
3668
|
for (var i of qe(e))
|
|
3671
|
-
t.indexOf(i) < 0 &&
|
|
3669
|
+
t.indexOf(i) < 0 && Pr.call(e, i) && (r[i] = e[i]);
|
|
3672
3670
|
return r;
|
|
3673
3671
|
};
|
|
3674
3672
|
const Le = (e, t) => {
|
|
3675
|
-
const { formats: r } =
|
|
3673
|
+
const { formats: r } = Pe();
|
|
3676
3674
|
if (e in r && t in r[e])
|
|
3677
3675
|
return r[e][t];
|
|
3678
3676
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3679
|
-
},
|
|
3677
|
+
}, Un = Qe(
|
|
3680
3678
|
(e) => {
|
|
3681
3679
|
var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
|
|
3682
3680
|
if (r == null)
|
|
3683
3681
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3684
3682
|
return i && (n = Le("number", i)), new Intl.NumberFormat(r, n);
|
|
3685
3683
|
}
|
|
3686
|
-
),
|
|
3684
|
+
), Fn = Qe(
|
|
3687
3685
|
(e) => {
|
|
3688
3686
|
var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
|
|
3689
3687
|
if (r == null)
|
|
3690
3688
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3691
3689
|
return i ? n = Le("date", i) : Object.keys(n).length === 0 && (n = Le("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
3692
3690
|
}
|
|
3693
|
-
),
|
|
3691
|
+
), Vn = Qe(
|
|
3694
3692
|
(e) => {
|
|
3695
3693
|
var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
|
|
3696
3694
|
if (r == null)
|
|
@@ -3699,33 +3697,33 @@ const Le = (e, t) => {
|
|
|
3699
3697
|
);
|
|
3700
3698
|
return i ? n = Le("time", i) : Object.keys(n).length === 0 && (n = Le("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
3701
3699
|
}
|
|
3702
|
-
),
|
|
3700
|
+
), Gn = (e = {}) => {
|
|
3703
3701
|
var t = e, {
|
|
3704
3702
|
locale: r = de()
|
|
3705
3703
|
} = t, i = $e(t, [
|
|
3706
3704
|
"locale"
|
|
3707
3705
|
]);
|
|
3708
|
-
return
|
|
3709
|
-
},
|
|
3706
|
+
return Un(wt({ locale: r }, i));
|
|
3707
|
+
}, jn = (e = {}) => {
|
|
3710
3708
|
var t = e, {
|
|
3711
3709
|
locale: r = de()
|
|
3712
3710
|
} = t, i = $e(t, [
|
|
3713
3711
|
"locale"
|
|
3714
3712
|
]);
|
|
3715
|
-
return
|
|
3716
|
-
},
|
|
3713
|
+
return Fn(wt({ locale: r }, i));
|
|
3714
|
+
}, zn = (e = {}) => {
|
|
3717
3715
|
var t = e, {
|
|
3718
3716
|
locale: r = de()
|
|
3719
3717
|
} = t, i = $e(t, [
|
|
3720
3718
|
"locale"
|
|
3721
3719
|
]);
|
|
3722
|
-
return
|
|
3723
|
-
},
|
|
3720
|
+
return Vn(wt({ locale: r }, i));
|
|
3721
|
+
}, Xn = Qe(
|
|
3724
3722
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3725
|
-
(e, t = de()) => new
|
|
3726
|
-
ignoreTag:
|
|
3723
|
+
(e, t = de()) => new _r(e, t, Pe().formats, {
|
|
3724
|
+
ignoreTag: Pe().ignoreTag
|
|
3727
3725
|
})
|
|
3728
|
-
),
|
|
3726
|
+
), Wn = (e, t = {}) => {
|
|
3729
3727
|
var r, i, n, s;
|
|
3730
3728
|
let a = t;
|
|
3731
3729
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3738,9 +3736,9 @@ const Le = (e, t) => {
|
|
|
3738
3736
|
throw new Error(
|
|
3739
3737
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3740
3738
|
);
|
|
3741
|
-
let h =
|
|
3739
|
+
let h = Er(e, o);
|
|
3742
3740
|
if (!h)
|
|
3743
|
-
h = (s = (n = (i = (r =
|
|
3741
|
+
h = (s = (n = (i = (r = Pe()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
|
|
3744
3742
|
else if (typeof h != "string")
|
|
3745
3743
|
return console.warn(
|
|
3746
3744
|
`[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.`
|
|
@@ -3749,7 +3747,7 @@ const Le = (e, t) => {
|
|
|
3749
3747
|
return h;
|
|
3750
3748
|
let c = h;
|
|
3751
3749
|
try {
|
|
3752
|
-
c =
|
|
3750
|
+
c = Xn(h, o).format(l);
|
|
3753
3751
|
} catch (m) {
|
|
3754
3752
|
m instanceof Error && console.warn(
|
|
3755
3753
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3757,20 +3755,20 @@ const Le = (e, t) => {
|
|
|
3757
3755
|
);
|
|
3758
3756
|
}
|
|
3759
3757
|
return c;
|
|
3760
|
-
},
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
function
|
|
3766
|
-
|
|
3767
|
-
}
|
|
3768
|
-
function
|
|
3769
|
-
|
|
3758
|
+
}, qn = (e, t) => zn(t).format(e), Yn = (e, t) => jn(t).format(e), Zn = (e, t) => Gn(t).format(e), Jn = (e, t = de()) => Er(e, t), Qn = Ae([pe, Re], () => Wn);
|
|
3759
|
+
Ae([pe], () => qn);
|
|
3760
|
+
Ae([pe], () => Yn);
|
|
3761
|
+
Ae([pe], () => Zn);
|
|
3762
|
+
Ae([pe, Re], () => Jn);
|
|
3763
|
+
function zt(e, t) {
|
|
3764
|
+
Sr(e, t);
|
|
3765
|
+
}
|
|
3766
|
+
function Kn(e) {
|
|
3767
|
+
$n({
|
|
3770
3768
|
fallbackLocale: "en"
|
|
3771
3769
|
}), pe.set(e);
|
|
3772
3770
|
}
|
|
3773
|
-
const
|
|
3771
|
+
const Xt = {
|
|
3774
3772
|
en: {
|
|
3775
3773
|
"verification.video.how-to": "How to verify yourself",
|
|
3776
3774
|
"verification.idenfy.referred-awaiting": "ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back",
|
|
@@ -3838,15 +3836,15 @@ if (typeof window != "undefined") {
|
|
|
3838
3836
|
}
|
|
3839
3837
|
};
|
|
3840
3838
|
};
|
|
3841
|
-
customElements.define = e(customElements.define), import("./CashierVideoModal-
|
|
3839
|
+
customElements.define = e(customElements.define), import("./CashierVideoModal-DE2OHjhr.js").then(({ default: t }) => {
|
|
3842
3840
|
!customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
|
|
3843
3841
|
});
|
|
3844
3842
|
}
|
|
3845
|
-
var
|
|
3843
|
+
var Ar = { exports: {} };
|
|
3846
3844
|
(function(e, t) {
|
|
3847
3845
|
(function(r, i) {
|
|
3848
3846
|
e.exports = i();
|
|
3849
|
-
})(
|
|
3847
|
+
})(ir, function() {
|
|
3850
3848
|
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+)?$/, G = /\[([^\]]+)]|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, U = { 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
3849
|
var g = ["th", "st", "nd", "rd"], d = x % 100;
|
|
3852
3850
|
return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
|
|
@@ -3887,8 +3885,8 @@ var Br = { exports: {} };
|
|
|
3887
3885
|
if (R(x)) return x.clone();
|
|
3888
3886
|
var d = typeof g == "object" ? g : {};
|
|
3889
3887
|
return d.date = x, d.args = arguments, new ge(d);
|
|
3890
|
-
},
|
|
3891
|
-
|
|
3888
|
+
}, A = X;
|
|
3889
|
+
A.l = W, A.i = R, A.w = function(x, g) {
|
|
3892
3890
|
return k(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
|
|
3893
3891
|
};
|
|
3894
3892
|
var ge = function() {
|
|
@@ -3900,7 +3898,7 @@ var Br = { exports: {} };
|
|
|
3900
3898
|
this.$d = function(b) {
|
|
3901
3899
|
var p = b.date, _ = b.utc;
|
|
3902
3900
|
if (p === null) return /* @__PURE__ */ new Date(NaN);
|
|
3903
|
-
if (
|
|
3901
|
+
if (A.u(p)) return /* @__PURE__ */ new Date();
|
|
3904
3902
|
if (p instanceof Date) return new Date(p);
|
|
3905
3903
|
if (typeof p == "string" && !/Z$/i.test(p)) {
|
|
3906
3904
|
var w = p.match($);
|
|
@@ -3915,7 +3913,7 @@ var Br = { exports: {} };
|
|
|
3915
3913
|
var d = this.$d;
|
|
3916
3914
|
this.$y = d.getFullYear(), this.$M = d.getMonth(), this.$D = d.getDate(), this.$W = d.getDay(), this.$H = d.getHours(), this.$m = d.getMinutes(), this.$s = d.getSeconds(), this.$ms = d.getMilliseconds();
|
|
3917
3915
|
}, g.$utils = function() {
|
|
3918
|
-
return
|
|
3916
|
+
return A;
|
|
3919
3917
|
}, g.isValid = function() {
|
|
3920
3918
|
return this.$d.toString() !== v;
|
|
3921
3919
|
}, g.isSame = function(d, b) {
|
|
@@ -3926,17 +3924,17 @@ var Br = { exports: {} };
|
|
|
3926
3924
|
}, g.isBefore = function(d, b) {
|
|
3927
3925
|
return this.endOf(b) < k(d);
|
|
3928
3926
|
}, g.$g = function(d, b, p) {
|
|
3929
|
-
return
|
|
3927
|
+
return A.u(d) ? this[b] : this.set(p, d);
|
|
3930
3928
|
}, g.unix = function() {
|
|
3931
3929
|
return Math.floor(this.valueOf() / 1e3);
|
|
3932
3930
|
}, g.valueOf = function() {
|
|
3933
3931
|
return this.$d.getTime();
|
|
3934
3932
|
}, g.startOf = function(d, b) {
|
|
3935
|
-
var p = this, _ = !!
|
|
3936
|
-
var Q =
|
|
3933
|
+
var p = this, _ = !!A.u(b) || b, w = A.p(d), M = function(ae, j) {
|
|
3934
|
+
var Q = A.w(p.$u ? Date.UTC(p.$y, j, ae) : new Date(p.$y, j, ae), p);
|
|
3937
3935
|
return _ ? Q : Q.endOf(u);
|
|
3938
3936
|
}, D = function(ae, j) {
|
|
3939
|
-
return
|
|
3937
|
+
return A.w(p.toDate()[ae].apply(p.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(j)), p);
|
|
3940
3938
|
}, N = this.$W, F = this.$M, q = this.$D, le = "set" + (this.$u ? "UTC" : "");
|
|
3941
3939
|
switch (w) {
|
|
3942
3940
|
case E:
|
|
@@ -3961,7 +3959,7 @@ var Br = { exports: {} };
|
|
|
3961
3959
|
}, g.endOf = function(d) {
|
|
3962
3960
|
return this.startOf(d, !1);
|
|
3963
3961
|
}, g.$set = function(d, b) {
|
|
3964
|
-
var p, _ =
|
|
3962
|
+
var p, _ = A.p(d), w = "set" + (this.$u ? "UTC" : ""), M = (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
3963
|
if (_ === c || _ === E) {
|
|
3966
3964
|
var N = this.clone().set(H, 1);
|
|
3967
3965
|
N.$d[M](D), N.init(), this.$d = N.set(H, Math.min(this.$D, N.daysInMonth())).$d;
|
|
@@ -3970,29 +3968,29 @@ var Br = { exports: {} };
|
|
|
3970
3968
|
}, g.set = function(d, b) {
|
|
3971
3969
|
return this.clone().$set(d, b);
|
|
3972
3970
|
}, g.get = function(d) {
|
|
3973
|
-
return this[
|
|
3971
|
+
return this[A.p(d)]();
|
|
3974
3972
|
}, g.add = function(d, b) {
|
|
3975
3973
|
var p, _ = this;
|
|
3976
3974
|
d = Number(d);
|
|
3977
|
-
var w =
|
|
3975
|
+
var w = A.p(b), M = function(F) {
|
|
3978
3976
|
var q = k(_);
|
|
3979
|
-
return
|
|
3977
|
+
return A.w(q.date(q.date() + Math.round(F * d)), _);
|
|
3980
3978
|
};
|
|
3981
3979
|
if (w === c) return this.set(c, this.$M + d);
|
|
3982
3980
|
if (w === E) return this.set(E, this.$y + d);
|
|
3983
3981
|
if (w === u) return M(1);
|
|
3984
3982
|
if (w === h) return M(7);
|
|
3985
3983
|
var D = (p = {}, p[l] = i, p[o] = n, p[a] = r, p)[w] || 1, N = this.$d.getTime() + d * D;
|
|
3986
|
-
return
|
|
3984
|
+
return A.w(N, this);
|
|
3987
3985
|
}, g.subtract = function(d, b) {
|
|
3988
3986
|
return this.add(-1 * d, b);
|
|
3989
3987
|
}, g.format = function(d) {
|
|
3990
3988
|
var b = this, p = this.$locale();
|
|
3991
3989
|
if (!this.isValid()) return p.invalidDate || v;
|
|
3992
|
-
var _ = d || "YYYY-MM-DDTHH:mm:ssZ", w =
|
|
3990
|
+
var _ = d || "YYYY-MM-DDTHH:mm:ssZ", w = A.z(this), M = this.$H, D = this.$m, N = this.$M, F = p.weekdays, q = p.months, le = p.meridiem, se = function(j, Q, me, ve) {
|
|
3993
3991
|
return j && (j[Q] || j(b, _)) || me[Q].slice(0, ve);
|
|
3994
3992
|
}, oe = function(j) {
|
|
3995
|
-
return
|
|
3993
|
+
return A.s(M % 12 || 12, j, "0");
|
|
3996
3994
|
}, ae = le || function(j, Q, me) {
|
|
3997
3995
|
var ve = j < 12 ? "AM" : "PM";
|
|
3998
3996
|
return me ? ve.toLowerCase() : ve;
|
|
@@ -4003,11 +4001,11 @@ var Br = { exports: {} };
|
|
|
4003
4001
|
case "YY":
|
|
4004
4002
|
return String(b.$y).slice(-2);
|
|
4005
4003
|
case "YYYY":
|
|
4006
|
-
return
|
|
4004
|
+
return A.s(b.$y, 4, "0");
|
|
4007
4005
|
case "M":
|
|
4008
4006
|
return N + 1;
|
|
4009
4007
|
case "MM":
|
|
4010
|
-
return
|
|
4008
|
+
return A.s(N + 1, 2, "0");
|
|
4011
4009
|
case "MMM":
|
|
4012
4010
|
return se(p.monthsShort, N, q, 3);
|
|
4013
4011
|
case "MMMM":
|
|
@@ -4015,7 +4013,7 @@ var Br = { exports: {} };
|
|
|
4015
4013
|
case "D":
|
|
4016
4014
|
return b.$D;
|
|
4017
4015
|
case "DD":
|
|
4018
|
-
return
|
|
4016
|
+
return A.s(b.$D, 2, "0");
|
|
4019
4017
|
case "d":
|
|
4020
4018
|
return String(b.$W);
|
|
4021
4019
|
case "dd":
|
|
@@ -4027,7 +4025,7 @@ var Br = { exports: {} };
|
|
|
4027
4025
|
case "H":
|
|
4028
4026
|
return String(M);
|
|
4029
4027
|
case "HH":
|
|
4030
|
-
return
|
|
4028
|
+
return A.s(M, 2, "0");
|
|
4031
4029
|
case "h":
|
|
4032
4030
|
return oe(1);
|
|
4033
4031
|
case "hh":
|
|
@@ -4039,13 +4037,13 @@ var Br = { exports: {} };
|
|
|
4039
4037
|
case "m":
|
|
4040
4038
|
return String(D);
|
|
4041
4039
|
case "mm":
|
|
4042
|
-
return
|
|
4040
|
+
return A.s(D, 2, "0");
|
|
4043
4041
|
case "s":
|
|
4044
4042
|
return String(b.$s);
|
|
4045
4043
|
case "ss":
|
|
4046
|
-
return
|
|
4044
|
+
return A.s(b.$s, 2, "0");
|
|
4047
4045
|
case "SSS":
|
|
4048
|
-
return
|
|
4046
|
+
return A.s(b.$ms, 3, "0");
|
|
4049
4047
|
case "Z":
|
|
4050
4048
|
return w;
|
|
4051
4049
|
}
|
|
@@ -4055,8 +4053,8 @@ var Br = { exports: {} };
|
|
|
4055
4053
|
}, g.utcOffset = function() {
|
|
4056
4054
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4057
4055
|
}, g.diff = function(d, b, p) {
|
|
4058
|
-
var _, w = this, M =
|
|
4059
|
-
return
|
|
4056
|
+
var _, w = this, M = A.p(b), D = k(d), N = (D.utcOffset() - this.utcOffset()) * i, F = this - D, q = function() {
|
|
4057
|
+
return A.m(w, D);
|
|
4060
4058
|
};
|
|
4061
4059
|
switch (M) {
|
|
4062
4060
|
case E:
|
|
@@ -4086,7 +4084,7 @@ var Br = { exports: {} };
|
|
|
4086
4084
|
default:
|
|
4087
4085
|
_ = F;
|
|
4088
4086
|
}
|
|
4089
|
-
return p ? _ :
|
|
4087
|
+
return p ? _ : A.a(_);
|
|
4090
4088
|
}, g.daysInMonth = function() {
|
|
4091
4089
|
return this.endOf(c).$D;
|
|
4092
4090
|
}, g.$locale = function() {
|
|
@@ -4096,7 +4094,7 @@ var Br = { exports: {} };
|
|
|
4096
4094
|
var p = this.clone(), _ = W(d, b, !0);
|
|
4097
4095
|
return _ && (p.$L = _), p;
|
|
4098
4096
|
}, g.clone = function() {
|
|
4099
|
-
return
|
|
4097
|
+
return A.w(this.$d, this);
|
|
4100
4098
|
}, g.toDate = function() {
|
|
4101
4099
|
return new Date(this.valueOf());
|
|
4102
4100
|
}, g.toJSON = function() {
|
|
@@ -4117,14 +4115,14 @@ var Br = { exports: {} };
|
|
|
4117
4115
|
return k(1e3 * x);
|
|
4118
4116
|
}, k.en = L[I], k.Ls = L, k.p = {}, k;
|
|
4119
4117
|
});
|
|
4120
|
-
})(
|
|
4121
|
-
var
|
|
4122
|
-
const
|
|
4123
|
-
var
|
|
4118
|
+
})(Ar);
|
|
4119
|
+
var es = Ar.exports;
|
|
4120
|
+
const Wt = /* @__PURE__ */ _t(es);
|
|
4121
|
+
var $r = { exports: {} };
|
|
4124
4122
|
(function(e, t) {
|
|
4125
4123
|
(function(r, i) {
|
|
4126
4124
|
e.exports = i();
|
|
4127
|
-
})(
|
|
4125
|
+
})(ir, function() {
|
|
4128
4126
|
var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
|
|
4129
4127
|
return function(s, a, l) {
|
|
4130
4128
|
var o = a.prototype;
|
|
@@ -4193,26 +4191,26 @@ var Mr = { exports: {} };
|
|
|
4193
4191
|
};
|
|
4194
4192
|
};
|
|
4195
4193
|
});
|
|
4196
|
-
})(
|
|
4197
|
-
var
|
|
4198
|
-
const
|
|
4199
|
-
function
|
|
4200
|
-
|
|
4194
|
+
})($r);
|
|
4195
|
+
var ts = $r.exports;
|
|
4196
|
+
const rs = /* @__PURE__ */ _t(ts);
|
|
4197
|
+
function is(e) {
|
|
4198
|
+
Fr(e, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
|
|
4201
4199
|
}
|
|
4202
|
-
function
|
|
4200
|
+
function qt(e, t, r) {
|
|
4203
4201
|
const i = e.slice();
|
|
4204
4202
|
return i[49] = t[r], i[51] = r, i;
|
|
4205
4203
|
}
|
|
4206
|
-
function
|
|
4207
|
-
let t, r, i, n, s =
|
|
4204
|
+
function Yt(e) {
|
|
4205
|
+
let t, r, i, n, s = $t(
|
|
4208
4206
|
/*displayMessages*/
|
|
4209
4207
|
e[4]
|
|
4210
4208
|
), a = [];
|
|
4211
4209
|
for (let o = 0; o < s.length; o += 1)
|
|
4212
|
-
a[o] =
|
|
4210
|
+
a[o] = Jt(qt(e, s, o));
|
|
4213
4211
|
let l = (
|
|
4214
4212
|
/*videoExists*/
|
|
4215
|
-
e[7] &&
|
|
4213
|
+
e[7] && Qt(e)
|
|
4216
4214
|
);
|
|
4217
4215
|
return {
|
|
4218
4216
|
c() {
|
|
@@ -4250,21 +4248,21 @@ function Jt(e) {
|
|
|
4250
4248
|
p(o, u) {
|
|
4251
4249
|
if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
|
|
4252
4250
|
1072) {
|
|
4253
|
-
s =
|
|
4251
|
+
s = $t(
|
|
4254
4252
|
/*displayMessages*/
|
|
4255
4253
|
o[4]
|
|
4256
4254
|
);
|
|
4257
4255
|
let h;
|
|
4258
4256
|
for (h = 0; h < s.length; h += 1) {
|
|
4259
|
-
const c =
|
|
4260
|
-
a[h] ? a[h].p(c, u) : (a[h] =
|
|
4257
|
+
const c = qt(o, s, h);
|
|
4258
|
+
a[h] ? a[h].p(c, u) : (a[h] = Jt(c), a[h].c(), a[h].m(t, null));
|
|
4261
4259
|
}
|
|
4262
4260
|
for (; h < a.length; h += 1)
|
|
4263
4261
|
a[h].d(1);
|
|
4264
4262
|
a.length = s.length;
|
|
4265
4263
|
}
|
|
4266
4264
|
/*videoExists*/
|
|
4267
|
-
o[7] ? l ? l.p(o, u) : (l =
|
|
4265
|
+
o[7] ? l ? l.p(o, u) : (l = Qt(o), l.c(), l.m(i.parentNode, i)) : l && (l.d(1), l = null), u[0] & /*clientstylingurl*/
|
|
4268
4266
|
2 && fe(
|
|
4269
4267
|
n,
|
|
4270
4268
|
"clientstylingurl",
|
|
@@ -4291,11 +4289,11 @@ function Jt(e) {
|
|
|
4291
4289
|
);
|
|
4292
4290
|
},
|
|
4293
4291
|
d(o) {
|
|
4294
|
-
o && (ne(t), ne(r), ne(i), ne(n)),
|
|
4292
|
+
o && (ne(t), ne(r), ne(i), ne(n)), jr(a, o), l && l.d(o);
|
|
4295
4293
|
}
|
|
4296
4294
|
};
|
|
4297
4295
|
}
|
|
4298
|
-
function
|
|
4296
|
+
function Zt(e) {
|
|
4299
4297
|
let t, r, i;
|
|
4300
4298
|
function n(...s) {
|
|
4301
4299
|
return (
|
|
@@ -4322,14 +4320,14 @@ function Qt(e) {
|
|
|
4322
4320
|
}
|
|
4323
4321
|
};
|
|
4324
4322
|
}
|
|
4325
|
-
function
|
|
4323
|
+
function Jt(e) {
|
|
4326
4324
|
let t, r, i, n, s = (
|
|
4327
4325
|
/*message*/
|
|
4328
4326
|
e[49] + ""
|
|
4329
4327
|
), a, l, o, u, h = (
|
|
4330
4328
|
/*displayMessages*/
|
|
4331
4329
|
e[4].length > 1 && /*index*/
|
|
4332
|
-
e[51] === 0 &&
|
|
4330
|
+
e[51] === 0 && Zt(e)
|
|
4333
4331
|
);
|
|
4334
4332
|
function c(...m) {
|
|
4335
4333
|
return (
|
|
@@ -4358,7 +4356,7 @@ function Kt(e) {
|
|
|
4358
4356
|
16 && s !== (s = /*message*/
|
|
4359
4357
|
e[49] + "") && (n.innerHTML = s), /*displayMessages*/
|
|
4360
4358
|
e[4].length > 1 && /*index*/
|
|
4361
|
-
e[51] === 0 ? h ? h.p(e, E) : (h =
|
|
4359
|
+
e[51] === 0 ? h ? h.p(e, E) : (h = Zt(e), h.c(), h.m(t, l)) : h && (h.d(1), h = null), E[0] & /*allVerificationsVisible*/
|
|
4362
4360
|
32 && Se(
|
|
4363
4361
|
t,
|
|
4364
4362
|
"ShowAll",
|
|
@@ -4371,7 +4369,7 @@ function Kt(e) {
|
|
|
4371
4369
|
}
|
|
4372
4370
|
};
|
|
4373
4371
|
}
|
|
4374
|
-
function
|
|
4372
|
+
function Qt(e) {
|
|
4375
4373
|
let t, r, i, n, s = (
|
|
4376
4374
|
/*$_*/
|
|
4377
4375
|
e[9]("verification.video.how-to") + ""
|
|
@@ -4396,7 +4394,7 @@ function er(e) {
|
|
|
4396
4394
|
p(u, h) {
|
|
4397
4395
|
h[0] & /*$_*/
|
|
4398
4396
|
512 && s !== (s = /*$_*/
|
|
4399
|
-
u[9]("verification.video.how-to") + "") &&
|
|
4397
|
+
u[9]("verification.video.how-to") + "") && Xr(a, s), h[0] & /*desktopView*/
|
|
4400
4398
|
64 && Se(
|
|
4401
4399
|
n,
|
|
4402
4400
|
"CashierVerificationVideoLinkDesktop",
|
|
@@ -4409,10 +4407,10 @@ function er(e) {
|
|
|
4409
4407
|
}
|
|
4410
4408
|
};
|
|
4411
4409
|
}
|
|
4412
|
-
function
|
|
4410
|
+
function ns(e) {
|
|
4413
4411
|
let t, r = (
|
|
4414
4412
|
/*displayMessages*/
|
|
4415
|
-
e[4] &&
|
|
4413
|
+
e[4] && Yt(e)
|
|
4416
4414
|
);
|
|
4417
4415
|
return {
|
|
4418
4416
|
c() {
|
|
@@ -4428,7 +4426,7 @@ function ss(e) {
|
|
|
4428
4426
|
},
|
|
4429
4427
|
p(i, n) {
|
|
4430
4428
|
/*displayMessages*/
|
|
4431
|
-
i[4] ? r ? r.p(i, n) : (r =
|
|
4429
|
+
i[4] ? r ? r.p(i, n) : (r = Yt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
|
|
4432
4430
|
64 && Se(
|
|
4433
4431
|
t,
|
|
4434
4432
|
"CashierVerificationsDesktop",
|
|
@@ -4443,10 +4441,10 @@ function ss(e) {
|
|
|
4443
4441
|
}
|
|
4444
4442
|
};
|
|
4445
4443
|
}
|
|
4446
|
-
const
|
|
4447
|
-
function
|
|
4444
|
+
const ss = "verification_explanation_video_widgets.MP4", os = "700px", as = "500px";
|
|
4445
|
+
function us(e, t, r) {
|
|
4448
4446
|
let i;
|
|
4449
|
-
|
|
4447
|
+
Ur(e, Qn, (f) => r(9, i = f)), Wt.extend(rs);
|
|
4450
4448
|
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, $, G, U = !0, B = !0, X = !1, I = "";
|
|
4451
4449
|
var L;
|
|
4452
4450
|
(function(f) {
|
|
@@ -4468,22 +4466,22 @@ function ls(e, t, r) {
|
|
|
4468
4466
|
R.InProgress,
|
|
4469
4467
|
R.Referred,
|
|
4470
4468
|
R.AwaitingForResponse
|
|
4471
|
-
],
|
|
4469
|
+
], A = () => {
|
|
4472
4470
|
let f = a;
|
|
4473
4471
|
if (f)
|
|
4474
4472
|
return fetch(f).then((y) => y.json()).then((y) => {
|
|
4475
4473
|
Object.keys(y).forEach((S) => {
|
|
4476
|
-
|
|
4474
|
+
zt(S, y[S]);
|
|
4477
4475
|
});
|
|
4478
4476
|
}).catch((y) => {
|
|
4479
4477
|
console.log(y);
|
|
4480
4478
|
});
|
|
4481
4479
|
};
|
|
4482
|
-
Object.keys(
|
|
4483
|
-
|
|
4480
|
+
Object.keys(Xt).forEach((f) => {
|
|
4481
|
+
zt(f, Xt[f]);
|
|
4484
4482
|
});
|
|
4485
4483
|
const ge = () => {
|
|
4486
|
-
|
|
4484
|
+
Kn(s);
|
|
4487
4485
|
}, Ue = () => {
|
|
4488
4486
|
let f = document.createElement("style");
|
|
4489
4487
|
f.innerHTML = l, m.appendChild(f);
|
|
@@ -4502,7 +4500,7 @@ function ls(e, t, r) {
|
|
|
4502
4500
|
if (!f)
|
|
4503
4501
|
return;
|
|
4504
4502
|
const S = new URL(`${n}/v1/player/verification/GetKYCStatus`), V = new Headers();
|
|
4505
|
-
V.append("accept", "application/json"), V.append("Content-Type", "application/json"), V.append("X-Client-Request-Timestamp",
|
|
4503
|
+
V.append("accept", "application/json"), V.append("Content-Type", "application/json"), V.append("X-Client-Request-Timestamp", Wt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
4506
4504
|
const he = {
|
|
4507
4505
|
method: "POST",
|
|
4508
4506
|
headers: V,
|
|
@@ -4608,7 +4606,7 @@ function ls(e, t, r) {
|
|
|
4608
4606
|
}, ae = () => {
|
|
4609
4607
|
r(6, B = c === "false");
|
|
4610
4608
|
}, j = () => {
|
|
4611
|
-
r(8, I = $ + "/" + s + "/" +
|
|
4609
|
+
r(8, I = $ + "/" + s + "/" + ss);
|
|
4612
4610
|
try {
|
|
4613
4611
|
fetch(I, { method: "HEAD" }).then((f) => {
|
|
4614
4612
|
r(7, X = f.ok);
|
|
@@ -4620,12 +4618,12 @@ function ls(e, t, r) {
|
|
|
4620
4618
|
window.postMessage(
|
|
4621
4619
|
{
|
|
4622
4620
|
type: "ShowCashierVideoModal",
|
|
4623
|
-
details: B ?
|
|
4621
|
+
details: B ? os : as
|
|
4624
4622
|
},
|
|
4625
4623
|
window.location.href
|
|
4626
4624
|
);
|
|
4627
|
-
}, me = (f, y) => oe(y, f), ve = (f, y) => oe(y, f),
|
|
4628
|
-
function
|
|
4625
|
+
}, me = (f, y) => oe(y, f), ve = (f, y) => oe(y, f), Mr = () => Q();
|
|
4626
|
+
function Cr(f) {
|
|
4629
4627
|
at[f ? "unshift" : "push"](() => {
|
|
4630
4628
|
m = f, r(3, m);
|
|
4631
4629
|
});
|
|
@@ -4636,7 +4634,7 @@ function ls(e, t, r) {
|
|
|
4636
4634
|
e.$$.dirty[0] & /*lang*/
|
|
4637
4635
|
8192 && s && ge(), e.$$.dirty[0] & /*endpoint, session*/
|
|
4638
4636
|
36864 && n && u && g(), e.$$.dirty[0] & /*translationurl*/
|
|
4639
|
-
16384 && a &&
|
|
4637
|
+
16384 && a && A(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4640
4638
|
9 && l && m && Ue(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4641
4639
|
10 && o && m && x(), e.$$.dirty[0] & /*ismobileview*/
|
|
4642
4640
|
4 && c && ae(), e.$$.dirty[0] & /*staticCdnUrl*/
|
|
@@ -4662,18 +4660,18 @@ function ls(e, t, r) {
|
|
|
4662
4660
|
$,
|
|
4663
4661
|
me,
|
|
4664
4662
|
ve,
|
|
4665
|
-
|
|
4666
|
-
|
|
4663
|
+
Mr,
|
|
4664
|
+
Cr
|
|
4667
4665
|
];
|
|
4668
4666
|
}
|
|
4669
|
-
class
|
|
4667
|
+
class Br extends oi {
|
|
4670
4668
|
constructor(t) {
|
|
4671
|
-
super(),
|
|
4669
|
+
super(), ni(
|
|
4672
4670
|
this,
|
|
4673
4671
|
t,
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4672
|
+
us,
|
|
4673
|
+
ns,
|
|
4674
|
+
er,
|
|
4677
4675
|
{
|
|
4678
4676
|
endpoint: 12,
|
|
4679
4677
|
lang: 13,
|
|
@@ -4684,7 +4682,7 @@ class Cr extends ui {
|
|
|
4684
4682
|
customerid: 16,
|
|
4685
4683
|
ismobileview: 2
|
|
4686
4684
|
},
|
|
4687
|
-
|
|
4685
|
+
is,
|
|
4688
4686
|
[-1, -1]
|
|
4689
4687
|
);
|
|
4690
4688
|
}
|
|
@@ -4737,31 +4735,31 @@ class Cr extends ui {
|
|
|
4737
4735
|
this.$$set({ ismobileview: t }), re();
|
|
4738
4736
|
}
|
|
4739
4737
|
}
|
|
4740
|
-
|
|
4741
|
-
const
|
|
4738
|
+
si(Br, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
|
|
4739
|
+
const ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4742
4740
|
__proto__: null,
|
|
4743
|
-
default:
|
|
4741
|
+
default: Br
|
|
4744
4742
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4745
4743
|
export {
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4744
|
+
ms as C,
|
|
4745
|
+
oi as S,
|
|
4746
|
+
Fr as a,
|
|
4749
4747
|
ue as b,
|
|
4750
|
-
|
|
4748
|
+
hs as c,
|
|
4751
4749
|
ne as d,
|
|
4752
|
-
|
|
4750
|
+
cs as e,
|
|
4753
4751
|
re as f,
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4752
|
+
ee as g,
|
|
4753
|
+
ie as h,
|
|
4754
|
+
ni as i,
|
|
4755
|
+
J as j,
|
|
4756
|
+
Ee as k,
|
|
4757
|
+
at as l,
|
|
4758
|
+
xt as m,
|
|
4761
4759
|
K as n,
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4760
|
+
ds as o,
|
|
4761
|
+
fs as p,
|
|
4762
|
+
si as q,
|
|
4763
|
+
er as s,
|
|
4766
4764
|
Se as t
|
|
4767
4765
|
};
|