@everymatrix/cashier-verifications 1.74.1 → 1.74.3
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-CNVgxinr.js → CashierVerifications-BWymI-rg.js} +954 -920
- package/components/CashierVerifications-D5u6_Riu.cjs +18 -0
- package/components/{CashierVerifications-BAf8u9ns.js → CashierVerifications-DGho0seC.js} +1039 -1005
- package/components/CashierVideoModal-BPGMPPir.js +654 -0
- package/components/CashierVideoModal-DO7SHLdt.js +654 -0
- package/components/CashierVideoModal-MFRT1gz3.cjs +3 -0
- 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-CxzuhF7y.cjs +0 -5
- package/components/CashierVideoModal-Bix664Mn.cjs +0 -16
- package/components/CashierVideoModal-CdjPH9oY.js +0 -719
- package/components/CashierVideoModal-Dna7BzOD.js +0 -719
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function ee() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Yt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function St() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function Le(e) {
|
|
10
|
+
e.forEach(Yt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function gt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Zt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
let
|
|
19
|
-
function
|
|
20
|
-
return e === t ? !0 : (
|
|
18
|
+
let Ue;
|
|
19
|
+
function as(e, t) {
|
|
20
|
+
return e === t ? !0 : (Ue || (Ue = document.createElement("a")), Ue.href = t, e === Ue.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Mr(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Jt(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const i of t)
|
|
28
28
|
i(void 0);
|
|
@@ -31,20 +31,20 @@ function Qt(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Tt(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(Jt(t, r));
|
|
36
36
|
}
|
|
37
37
|
function ne(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const i =
|
|
40
|
+
function Cr(e, t, r) {
|
|
41
|
+
const i = Dr(e);
|
|
42
42
|
if (!i.getElementById(t)) {
|
|
43
43
|
const n = q("style");
|
|
44
|
-
n.id = t, n.textContent = r,
|
|
44
|
+
n.id = t, n.textContent = r, Lr(i, n);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Dr(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,39 +54,39 @@ function Lr(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function Lr(e, t) {
|
|
58
58
|
return ne(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
61
61
|
t
|
|
62
62
|
), t.sheet;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function se(e, t, r) {
|
|
65
65
|
e.insertBefore(t, r || null);
|
|
66
66
|
}
|
|
67
67
|
function K(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Ir(e, t) {
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
74
74
|
function q(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function us(e) {
|
|
78
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function bt(e) {
|
|
81
81
|
return document.createTextNode(e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
return
|
|
83
|
+
function _e() {
|
|
84
|
+
return bt(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function ls() {
|
|
87
|
+
return bt("");
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function vt(e, t, r, i) {
|
|
90
90
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
91
91
|
}
|
|
92
92
|
function te(e, t, r) {
|
|
@@ -96,17 +96,17 @@ function J(e, t, r) {
|
|
|
96
96
|
const i = t.toLowerCase();
|
|
97
97
|
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : te(e, t, r);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Nr(e) {
|
|
100
100
|
return Array.from(e.childNodes);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Rr(e, t) {
|
|
103
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
104
104
|
t);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function Ee(e, t, r) {
|
|
107
107
|
e.classList.toggle(t, !!r);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function kr(e) {
|
|
110
110
|
const t = {};
|
|
111
111
|
return e.childNodes.forEach(
|
|
112
112
|
/** @param {Element} node */
|
|
@@ -115,90 +115,90 @@ function Ur(e) {
|
|
|
115
115
|
}
|
|
116
116
|
), t;
|
|
117
117
|
}
|
|
118
|
-
let
|
|
119
|
-
function
|
|
120
|
-
|
|
118
|
+
let Me;
|
|
119
|
+
function $e(e) {
|
|
120
|
+
Me = e;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
if (!
|
|
122
|
+
function Ur() {
|
|
123
|
+
if (!Me)
|
|
124
124
|
throw new Error("Function called outside component initialization");
|
|
125
|
-
return
|
|
125
|
+
return Me;
|
|
126
126
|
}
|
|
127
|
-
function
|
|
128
|
-
|
|
127
|
+
function Fr(e) {
|
|
128
|
+
Ur().$$.on_mount.push(e);
|
|
129
129
|
}
|
|
130
|
-
const
|
|
131
|
-
let
|
|
132
|
-
const
|
|
133
|
-
let
|
|
134
|
-
function
|
|
135
|
-
|
|
130
|
+
const ye = [], st = [];
|
|
131
|
+
let xe = [];
|
|
132
|
+
const Ht = [], Vr = /* @__PURE__ */ Promise.resolve();
|
|
133
|
+
let ot = !1;
|
|
134
|
+
function Gr() {
|
|
135
|
+
ot || (ot = !0, Vr.then(Z));
|
|
136
136
|
}
|
|
137
|
-
function
|
|
138
|
-
|
|
137
|
+
function at(e) {
|
|
138
|
+
xe.push(e);
|
|
139
139
|
}
|
|
140
|
-
const
|
|
140
|
+
const Qe = /* @__PURE__ */ new Set();
|
|
141
141
|
let be = 0;
|
|
142
142
|
function Z() {
|
|
143
143
|
if (be !== 0)
|
|
144
144
|
return;
|
|
145
|
-
const e =
|
|
145
|
+
const e = Me;
|
|
146
146
|
do {
|
|
147
147
|
try {
|
|
148
|
-
for (; be <
|
|
149
|
-
const t =
|
|
150
|
-
be++,
|
|
148
|
+
for (; be < ye.length; ) {
|
|
149
|
+
const t = ye[be];
|
|
150
|
+
be++, $e(t), jr(t.$$);
|
|
151
151
|
}
|
|
152
152
|
} catch (t) {
|
|
153
|
-
throw
|
|
153
|
+
throw ye.length = 0, be = 0, t;
|
|
154
154
|
}
|
|
155
|
-
for (
|
|
156
|
-
|
|
157
|
-
for (let t = 0; t <
|
|
158
|
-
const r =
|
|
159
|
-
|
|
155
|
+
for ($e(null), ye.length = 0, be = 0; st.length; )
|
|
156
|
+
st.pop()();
|
|
157
|
+
for (let t = 0; t < xe.length; t += 1) {
|
|
158
|
+
const r = xe[t];
|
|
159
|
+
Qe.has(r) || (Qe.add(r), r());
|
|
160
160
|
}
|
|
161
|
-
|
|
162
|
-
} while (
|
|
163
|
-
for (;
|
|
164
|
-
|
|
165
|
-
|
|
161
|
+
xe.length = 0;
|
|
162
|
+
} while (ye.length);
|
|
163
|
+
for (; Ht.length; )
|
|
164
|
+
Ht.pop()();
|
|
165
|
+
ot = !1, Qe.clear(), $e(e);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function jr(e) {
|
|
168
168
|
if (e.fragment !== null) {
|
|
169
|
-
e.update(),
|
|
169
|
+
e.update(), Le(e.before_update);
|
|
170
170
|
const t = e.dirty;
|
|
171
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
171
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function zr(e) {
|
|
175
175
|
const t = [], r = [];
|
|
176
|
-
|
|
176
|
+
xe.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), xe = t;
|
|
177
177
|
}
|
|
178
|
-
const
|
|
179
|
-
function
|
|
180
|
-
e && e.i && (
|
|
178
|
+
const Xr = /* @__PURE__ */ new Set();
|
|
179
|
+
function Wr(e, t) {
|
|
180
|
+
e && e.i && (Xr.delete(e), e.i(t));
|
|
181
181
|
}
|
|
182
182
|
function Pt(e) {
|
|
183
183
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function qr(e, t, r) {
|
|
186
186
|
const { fragment: i, after_update: n } = e.$$;
|
|
187
|
-
i && i.m(t, r),
|
|
188
|
-
const s = e.$$.on_mount.map(
|
|
189
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
190
|
-
}), n.forEach(
|
|
187
|
+
i && i.m(t, r), at(() => {
|
|
188
|
+
const s = e.$$.on_mount.map(Yt).filter(gt);
|
|
189
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Le(s), e.$$.on_mount = [];
|
|
190
|
+
}), n.forEach(at);
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function Yr(e, t) {
|
|
193
193
|
const r = e.$$;
|
|
194
|
-
r.fragment !== null && (
|
|
194
|
+
r.fragment !== null && (zr(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
e.$$.dirty[0] === -1 && (
|
|
196
|
+
function Zr(e, t) {
|
|
197
|
+
e.$$.dirty[0] === -1 && (ye.push(e), Gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
198
198
|
}
|
|
199
|
-
function
|
|
200
|
-
const
|
|
201
|
-
|
|
199
|
+
function Jr(e, t, r, i, n, s, o = null, u = [-1]) {
|
|
200
|
+
const a = Me;
|
|
201
|
+
$e(e);
|
|
202
202
|
const l = e.$$ = {
|
|
203
203
|
fragment: null,
|
|
204
204
|
ctx: [],
|
|
@@ -206,37 +206,37 @@ function Qr(e, t, r, i, n, s, a = null, u = [-1]) {
|
|
|
206
206
|
props: s,
|
|
207
207
|
update: ee,
|
|
208
208
|
not_equal: n,
|
|
209
|
-
bound:
|
|
209
|
+
bound: St(),
|
|
210
210
|
// lifecycle
|
|
211
211
|
on_mount: [],
|
|
212
212
|
on_destroy: [],
|
|
213
213
|
on_disconnect: [],
|
|
214
214
|
before_update: [],
|
|
215
215
|
after_update: [],
|
|
216
|
-
context: new Map(t.context || (
|
|
216
|
+
context: new Map(t.context || (a ? a.$$.context : [])),
|
|
217
217
|
// everything else
|
|
218
|
-
callbacks:
|
|
218
|
+
callbacks: St(),
|
|
219
219
|
dirty: u,
|
|
220
220
|
skip_bound: !1,
|
|
221
|
-
root: t.target ||
|
|
221
|
+
root: t.target || a.$$.root
|
|
222
222
|
};
|
|
223
|
-
|
|
223
|
+
o && o(l.root);
|
|
224
224
|
let h = !1;
|
|
225
225
|
if (l.ctx = r ? r(e, t.props || {}, (c, p, ..._) => {
|
|
226
226
|
const S = _.length ? _[0] : p;
|
|
227
|
-
return l.ctx && n(l.ctx[c], l.ctx[c] = S) && (!l.skip_bound && l.bound[c] && l.bound[c](S), h &&
|
|
228
|
-
}) : [], l.update(), h = !0,
|
|
227
|
+
return l.ctx && n(l.ctx[c], l.ctx[c] = S) && (!l.skip_bound && l.bound[c] && l.bound[c](S), h && Zr(e, c)), p;
|
|
228
|
+
}) : [], l.update(), h = !0, Le(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
|
|
229
229
|
if (t.hydrate) {
|
|
230
|
-
const c =
|
|
230
|
+
const c = Nr(t.target);
|
|
231
231
|
l.fragment && l.fragment.l(c), c.forEach(K);
|
|
232
232
|
} else
|
|
233
233
|
l.fragment && l.fragment.c();
|
|
234
|
-
t.intro &&
|
|
234
|
+
t.intro && Wr(e.$$.fragment), qr(e, t.target, t.anchor), Z();
|
|
235
235
|
}
|
|
236
|
-
|
|
236
|
+
$e(a);
|
|
237
237
|
}
|
|
238
|
-
let
|
|
239
|
-
typeof HTMLElement == "function" && (
|
|
238
|
+
let Qt;
|
|
239
|
+
typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
240
240
|
/** The Svelte component constructor */
|
|
241
241
|
$$ctor;
|
|
242
242
|
/** Slots */
|
|
@@ -284,23 +284,23 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
284
284
|
* @param {HTMLElement} target
|
|
285
285
|
* @param {HTMLElement} [anchor]
|
|
286
286
|
*/
|
|
287
|
-
m: function(
|
|
288
|
-
|
|
287
|
+
m: function(a, l) {
|
|
288
|
+
se(a, s, l);
|
|
289
289
|
},
|
|
290
|
-
d: function(
|
|
291
|
-
|
|
290
|
+
d: function(a) {
|
|
291
|
+
a && K(s);
|
|
292
292
|
}
|
|
293
293
|
};
|
|
294
294
|
};
|
|
295
295
|
};
|
|
296
296
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
297
297
|
return;
|
|
298
|
-
const t = {}, r =
|
|
298
|
+
const t = {}, r = kr(this);
|
|
299
299
|
for (const n of this.$$s)
|
|
300
300
|
n in r && (t[n] = [e(n)]);
|
|
301
301
|
for (const n of this.attributes) {
|
|
302
302
|
const s = this.$$g_p(n.name);
|
|
303
|
-
s in this.$$d || (this.$$d[s] =
|
|
303
|
+
s in this.$$d || (this.$$d[s] = Ve(s, n.value, this.$$p_d, "toProp"));
|
|
304
304
|
}
|
|
305
305
|
for (const n in this.$$p_d)
|
|
306
306
|
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
@@ -318,7 +318,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
318
318
|
this.$$r = !0;
|
|
319
319
|
for (const n in this.$$p_d)
|
|
320
320
|
if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
|
|
321
|
-
const s =
|
|
321
|
+
const s = Ve(
|
|
322
322
|
n,
|
|
323
323
|
this.$$d[n],
|
|
324
324
|
this.$$p_d,
|
|
@@ -331,8 +331,8 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
331
331
|
this.$$c.$$.after_update.push(i), i();
|
|
332
332
|
for (const n in this.$$l)
|
|
333
333
|
for (const s of this.$$l[n]) {
|
|
334
|
-
const
|
|
335
|
-
this.$$l_u.set(s,
|
|
334
|
+
const o = this.$$c.$on(n, s);
|
|
335
|
+
this.$$l_u.set(s, o);
|
|
336
336
|
}
|
|
337
337
|
this.$$l = {};
|
|
338
338
|
}
|
|
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
340
340
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
341
341
|
// and setting attributes through setAttribute etc, this is helpful
|
|
342
342
|
attributeChangedCallback(e, t, r) {
|
|
343
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
343
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
344
344
|
}
|
|
345
345
|
disconnectedCallback() {
|
|
346
346
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -353,7 +353,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
353
353
|
) || e;
|
|
354
354
|
}
|
|
355
355
|
});
|
|
356
|
-
function
|
|
356
|
+
function Ve(e, t, r, i) {
|
|
357
357
|
const n = r[e]?.type;
|
|
358
358
|
if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
|
|
359
359
|
return t;
|
|
@@ -382,8 +382,8 @@ function Ge(e, t, r, i) {
|
|
|
382
382
|
return t;
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
function
|
|
386
|
-
let
|
|
385
|
+
function Qr(e, t, r, i, n, s) {
|
|
386
|
+
let o = class extends Qt {
|
|
387
387
|
constructor() {
|
|
388
388
|
super(e, r, n), this.$$p_d = t;
|
|
389
389
|
}
|
|
@@ -394,24 +394,24 @@ function Kr(e, t, r, i, n, s) {
|
|
|
394
394
|
}
|
|
395
395
|
};
|
|
396
396
|
return Object.keys(t).forEach((u) => {
|
|
397
|
-
Object.defineProperty(
|
|
397
|
+
Object.defineProperty(o.prototype, u, {
|
|
398
398
|
get() {
|
|
399
399
|
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
|
400
400
|
},
|
|
401
|
-
set(
|
|
402
|
-
|
|
401
|
+
set(a) {
|
|
402
|
+
a = Ve(u, a, t), this.$$d[u] = a, this.$$c?.$set({ [u]: a });
|
|
403
403
|
}
|
|
404
404
|
});
|
|
405
405
|
}), i.forEach((u) => {
|
|
406
|
-
Object.defineProperty(
|
|
406
|
+
Object.defineProperty(o.prototype, u, {
|
|
407
407
|
get() {
|
|
408
408
|
return this.$$c?.[u];
|
|
409
409
|
}
|
|
410
410
|
});
|
|
411
411
|
}), e.element = /** @type {any} */
|
|
412
|
-
|
|
412
|
+
o, o;
|
|
413
413
|
}
|
|
414
|
-
class
|
|
414
|
+
class Kr {
|
|
415
415
|
/**
|
|
416
416
|
* ### PRIVATE API
|
|
417
417
|
*
|
|
@@ -430,7 +430,7 @@ class ei {
|
|
|
430
430
|
$$set = void 0;
|
|
431
431
|
/** @returns {void} */
|
|
432
432
|
$destroy() {
|
|
433
|
-
|
|
433
|
+
Yr(this, 1), this.$destroy = ee;
|
|
434
434
|
}
|
|
435
435
|
/**
|
|
436
436
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -439,7 +439,7 @@ class ei {
|
|
|
439
439
|
* @returns {() => void}
|
|
440
440
|
*/
|
|
441
441
|
$on(t, r) {
|
|
442
|
-
if (!
|
|
442
|
+
if (!gt(r))
|
|
443
443
|
return ee;
|
|
444
444
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
445
445
|
return i.push(r), () => {
|
|
@@ -452,175 +452,189 @@ class ei {
|
|
|
452
452
|
* @returns {void}
|
|
453
453
|
*/
|
|
454
454
|
$set(t) {
|
|
455
|
-
this.$$set && !
|
|
455
|
+
this.$$set && !Mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
|
-
const
|
|
459
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
460
|
-
const
|
|
461
|
-
function
|
|
458
|
+
const ei = "4";
|
|
459
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ei);
|
|
460
|
+
const ve = [];
|
|
461
|
+
function ti(e, t) {
|
|
462
462
|
return {
|
|
463
|
-
subscribe:
|
|
463
|
+
subscribe: Ie(e, t).subscribe
|
|
464
464
|
};
|
|
465
465
|
}
|
|
466
|
-
function
|
|
466
|
+
function Ie(e, t = ee) {
|
|
467
467
|
let r;
|
|
468
468
|
const i = /* @__PURE__ */ new Set();
|
|
469
469
|
function n(u) {
|
|
470
|
-
if (
|
|
471
|
-
const
|
|
470
|
+
if (Zt(e, u) && (e = u, r)) {
|
|
471
|
+
const a = !ve.length;
|
|
472
472
|
for (const l of i)
|
|
473
|
-
l[1](),
|
|
474
|
-
if (
|
|
475
|
-
for (let l = 0; l <
|
|
476
|
-
|
|
477
|
-
|
|
473
|
+
l[1](), ve.push(l, e);
|
|
474
|
+
if (a) {
|
|
475
|
+
for (let l = 0; l < ve.length; l += 2)
|
|
476
|
+
ve[l][0](ve[l + 1]);
|
|
477
|
+
ve.length = 0;
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
481
|
function s(u) {
|
|
482
482
|
n(u(e));
|
|
483
483
|
}
|
|
484
|
-
function
|
|
485
|
-
const l = [u,
|
|
484
|
+
function o(u, a = ee) {
|
|
485
|
+
const l = [u, a];
|
|
486
486
|
return i.add(l), i.size === 1 && (r = t(n, s) || ee), u(e), () => {
|
|
487
487
|
i.delete(l), i.size === 0 && r && (r(), r = null);
|
|
488
488
|
};
|
|
489
489
|
}
|
|
490
|
-
return { set: n, update: s, subscribe:
|
|
490
|
+
return { set: n, update: s, subscribe: o };
|
|
491
491
|
}
|
|
492
492
|
function Pe(e, t, r) {
|
|
493
493
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
494
494
|
if (!n.every(Boolean))
|
|
495
495
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
496
496
|
const s = t.length < 2;
|
|
497
|
-
return
|
|
498
|
-
let
|
|
497
|
+
return ti(r, (o, u) => {
|
|
498
|
+
let a = !1;
|
|
499
499
|
const l = [];
|
|
500
500
|
let h = 0, c = ee;
|
|
501
501
|
const p = () => {
|
|
502
502
|
if (h)
|
|
503
503
|
return;
|
|
504
504
|
c();
|
|
505
|
-
const S = t(i ? l[0] : l,
|
|
506
|
-
s ?
|
|
505
|
+
const S = t(i ? l[0] : l, o, u);
|
|
506
|
+
s ? o(S) : c = gt(S) ? S : ee;
|
|
507
507
|
}, _ = n.map(
|
|
508
|
-
(S,
|
|
508
|
+
(S, b) => Jt(
|
|
509
509
|
S,
|
|
510
|
-
(
|
|
511
|
-
l[
|
|
510
|
+
(M) => {
|
|
511
|
+
l[b] = M, h &= ~(1 << b), a && p();
|
|
512
512
|
},
|
|
513
513
|
() => {
|
|
514
|
-
h |= 1 <<
|
|
514
|
+
h |= 1 << b;
|
|
515
515
|
}
|
|
516
516
|
)
|
|
517
517
|
);
|
|
518
|
-
return
|
|
519
|
-
|
|
518
|
+
return a = !0, p(), function() {
|
|
519
|
+
Le(_), c(), a = !1;
|
|
520
520
|
};
|
|
521
521
|
});
|
|
522
522
|
}
|
|
523
|
-
var
|
|
524
|
-
function
|
|
523
|
+
var Kt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
524
|
+
function yt(e) {
|
|
525
525
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
526
526
|
}
|
|
527
|
-
var
|
|
528
|
-
return
|
|
527
|
+
var ri = function(t) {
|
|
528
|
+
return ii(t) && !ni(t);
|
|
529
529
|
};
|
|
530
|
-
function
|
|
530
|
+
function ii(e) {
|
|
531
531
|
return !!e && typeof e == "object";
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function ni(e) {
|
|
534
534
|
var t = Object.prototype.toString.call(e);
|
|
535
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
535
|
+
return t === "[object RegExp]" || t === "[object Date]" || ai(e);
|
|
536
536
|
}
|
|
537
|
-
var
|
|
538
|
-
function
|
|
539
|
-
return e.$$typeof ===
|
|
537
|
+
var si = typeof Symbol == "function" && Symbol.for, oi = si ? Symbol.for("react.element") : 60103;
|
|
538
|
+
function ai(e) {
|
|
539
|
+
return e.$$typeof === oi;
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function ui(e) {
|
|
542
542
|
return Array.isArray(e) ? [] : {};
|
|
543
543
|
}
|
|
544
|
-
function
|
|
545
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
544
|
+
function Ce(e, t) {
|
|
545
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? we(ui(e), e, t) : e;
|
|
546
546
|
}
|
|
547
|
-
function
|
|
547
|
+
function li(e, t, r) {
|
|
548
548
|
return e.concat(t).map(function(i) {
|
|
549
|
-
return
|
|
549
|
+
return Ce(i, r);
|
|
550
550
|
});
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function hi(e, t) {
|
|
553
553
|
if (!t.customMerge)
|
|
554
|
-
return
|
|
554
|
+
return we;
|
|
555
555
|
var r = t.customMerge(e);
|
|
556
|
-
return typeof r == "function" ? r :
|
|
556
|
+
return typeof r == "function" ? r : we;
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function fi(e) {
|
|
559
559
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
560
560
|
return Object.propertyIsEnumerable.call(e, t);
|
|
561
561
|
}) : [];
|
|
562
562
|
}
|
|
563
|
-
function
|
|
564
|
-
return Object.keys(e).concat(
|
|
563
|
+
function Ot(e) {
|
|
564
|
+
return Object.keys(e).concat(fi(e));
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function er(e, t) {
|
|
567
567
|
try {
|
|
568
568
|
return t in e;
|
|
569
569
|
} catch {
|
|
570
570
|
return !1;
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
|
-
function
|
|
574
|
-
return
|
|
573
|
+
function ci(e, t) {
|
|
574
|
+
return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function di(e, t, r) {
|
|
577
577
|
var i = {};
|
|
578
|
-
return r.isMergeableObject(e) &&
|
|
579
|
-
i[n] =
|
|
580
|
-
}),
|
|
581
|
-
|
|
578
|
+
return r.isMergeableObject(e) && Ot(e).forEach(function(n) {
|
|
579
|
+
i[n] = Ce(e[n], r);
|
|
580
|
+
}), Ot(t).forEach(function(n) {
|
|
581
|
+
ci(e, n) || (er(e, n) && r.isMergeableObject(t[n]) ? i[n] = hi(n, r)(e[n], t[n], r) : i[n] = Ce(t[n], r));
|
|
582
582
|
}), i;
|
|
583
583
|
}
|
|
584
|
-
function
|
|
585
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
584
|
+
function we(e, t, r) {
|
|
585
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || li, r.isMergeableObject = r.isMergeableObject || ri, r.cloneUnlessOtherwiseSpecified = Ce;
|
|
586
586
|
var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
|
|
587
|
-
return s ? i ? r.arrayMerge(e, t, r) :
|
|
587
|
+
return s ? i ? r.arrayMerge(e, t, r) : di(e, t, r) : Ce(t, r);
|
|
588
588
|
}
|
|
589
|
-
|
|
589
|
+
we.all = function(t, r) {
|
|
590
590
|
if (!Array.isArray(t))
|
|
591
591
|
throw new Error("first argument should be an array");
|
|
592
592
|
return t.reduce(function(i, n) {
|
|
593
|
-
return
|
|
593
|
+
return we(i, n, r);
|
|
594
594
|
}, {});
|
|
595
595
|
};
|
|
596
|
-
var
|
|
597
|
-
const
|
|
598
|
-
|
|
599
|
-
|
|
596
|
+
var mi = we, pi = mi;
|
|
597
|
+
const gi = /* @__PURE__ */ yt(pi);
|
|
598
|
+
/*! *****************************************************************************
|
|
599
|
+
Copyright (c) Microsoft Corporation.
|
|
600
|
+
|
|
601
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
602
|
+
purpose with or without fee is hereby granted.
|
|
603
|
+
|
|
604
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
605
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
606
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
607
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
608
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
609
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
610
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
611
|
+
***************************************************************************** */
|
|
612
|
+
var ut = function(e, t) {
|
|
613
|
+
return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
600
614
|
r.__proto__ = i;
|
|
601
615
|
} || function(r, i) {
|
|
602
616
|
for (var n in i)
|
|
603
617
|
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
604
|
-
},
|
|
618
|
+
}, ut(e, t);
|
|
605
619
|
};
|
|
606
|
-
function
|
|
620
|
+
function qe(e, t) {
|
|
607
621
|
if (typeof t != "function" && t !== null)
|
|
608
622
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
609
|
-
|
|
623
|
+
ut(e, t);
|
|
610
624
|
function r() {
|
|
611
625
|
this.constructor = e;
|
|
612
626
|
}
|
|
613
627
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
614
628
|
}
|
|
615
|
-
var
|
|
616
|
-
return
|
|
629
|
+
var A = function() {
|
|
630
|
+
return A = Object.assign || function(t) {
|
|
617
631
|
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
618
632
|
r = arguments[i];
|
|
619
633
|
for (var s in r)
|
|
620
634
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
621
635
|
}
|
|
622
636
|
return t;
|
|
623
|
-
},
|
|
637
|
+
}, A.apply(this, arguments);
|
|
624
638
|
};
|
|
625
639
|
function bi(e, t) {
|
|
626
640
|
var r = {};
|
|
@@ -631,43 +645,78 @@ function bi(e, t) {
|
|
|
631
645
|
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
632
646
|
return r;
|
|
633
647
|
}
|
|
634
|
-
function
|
|
648
|
+
function hs(e) {
|
|
649
|
+
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
650
|
+
if (r)
|
|
651
|
+
return r.call(e);
|
|
652
|
+
if (e && typeof e.length == "number")
|
|
653
|
+
return {
|
|
654
|
+
next: function() {
|
|
655
|
+
return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
|
|
656
|
+
}
|
|
657
|
+
};
|
|
658
|
+
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
659
|
+
}
|
|
660
|
+
function fs(e, t) {
|
|
661
|
+
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
662
|
+
if (!r)
|
|
663
|
+
return e;
|
|
664
|
+
var i = r.call(e), n, s = [], o;
|
|
665
|
+
try {
|
|
666
|
+
for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
|
|
667
|
+
s.push(n.value);
|
|
668
|
+
} catch (u) {
|
|
669
|
+
o = { error: u };
|
|
670
|
+
} finally {
|
|
671
|
+
try {
|
|
672
|
+
n && !n.done && (r = i.return) && r.call(i);
|
|
673
|
+
} finally {
|
|
674
|
+
if (o)
|
|
675
|
+
throw o.error;
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
return s;
|
|
679
|
+
}
|
|
680
|
+
function Ke(e, t, r) {
|
|
635
681
|
if (r || arguments.length === 2)
|
|
636
682
|
for (var i = 0, n = t.length, s; i < n; i++)
|
|
637
683
|
(s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
|
|
638
|
-
return e.concat(s ||
|
|
684
|
+
return e.concat(s || t);
|
|
639
685
|
}
|
|
640
|
-
function
|
|
641
|
-
var r = t && t.cache ? t.cache :
|
|
686
|
+
function et(e, t) {
|
|
687
|
+
var r = t && t.cache ? t.cache : Si, i = t && t.serializer ? t.serializer : Ei, n = t && t.strategy ? t.strategy : yi;
|
|
642
688
|
return n(e, {
|
|
643
689
|
cache: r,
|
|
644
690
|
serializer: i
|
|
645
691
|
});
|
|
646
692
|
}
|
|
647
|
-
function
|
|
693
|
+
function vi(e) {
|
|
648
694
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
649
695
|
}
|
|
650
|
-
function
|
|
651
|
-
var n =
|
|
696
|
+
function tr(e, t, r, i) {
|
|
697
|
+
var n = vi(i) ? i : r(i), s = t.get(n);
|
|
652
698
|
return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
|
|
653
699
|
}
|
|
654
700
|
function rr(e, t, r) {
|
|
655
701
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
|
|
656
702
|
return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
|
|
657
703
|
}
|
|
658
|
-
function
|
|
704
|
+
function _t(e, t, r, i, n) {
|
|
659
705
|
return r.bind(t, e, i, n);
|
|
660
706
|
}
|
|
661
|
-
function
|
|
662
|
-
var r = e.length === 1 ?
|
|
663
|
-
return
|
|
707
|
+
function yi(e, t) {
|
|
708
|
+
var r = e.length === 1 ? tr : rr;
|
|
709
|
+
return _t(e, this, r, t.cache.create(), t.serializer);
|
|
710
|
+
}
|
|
711
|
+
function _i(e, t) {
|
|
712
|
+
return _t(e, this, rr, t.cache.create(), t.serializer);
|
|
664
713
|
}
|
|
665
|
-
function
|
|
666
|
-
return
|
|
714
|
+
function xi(e, t) {
|
|
715
|
+
return _t(e, this, tr, t.cache.create(), t.serializer);
|
|
667
716
|
}
|
|
668
|
-
var
|
|
717
|
+
var Ei = function() {
|
|
669
718
|
return JSON.stringify(arguments);
|
|
670
|
-
},
|
|
719
|
+
}, wi = (
|
|
671
720
|
/** @class */
|
|
672
721
|
function() {
|
|
673
722
|
function e() {
|
|
@@ -679,69 +728,60 @@ var wi = function() {
|
|
|
679
728
|
this.cache[t] = r;
|
|
680
729
|
}, e;
|
|
681
730
|
}()
|
|
682
|
-
),
|
|
731
|
+
), Si = {
|
|
683
732
|
create: function() {
|
|
684
|
-
return new
|
|
733
|
+
return new wi();
|
|
685
734
|
}
|
|
686
|
-
},
|
|
687
|
-
variadic:
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
691
|
-
r = arguments[i];
|
|
692
|
-
for (var s in r)
|
|
693
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
694
|
-
}
|
|
695
|
-
return t;
|
|
696
|
-
}, Xe.apply(this, arguments);
|
|
697
|
-
};
|
|
698
|
-
var H;
|
|
735
|
+
}, tt = {
|
|
736
|
+
variadic: _i,
|
|
737
|
+
monadic: xi
|
|
738
|
+
}, H;
|
|
699
739
|
(function(e) {
|
|
700
740
|
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";
|
|
701
741
|
})(H || (H = {}));
|
|
702
|
-
var
|
|
742
|
+
var D;
|
|
703
743
|
(function(e) {
|
|
704
744
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
705
|
-
})(
|
|
706
|
-
var
|
|
745
|
+
})(D || (D = {}));
|
|
746
|
+
var Se;
|
|
707
747
|
(function(e) {
|
|
708
748
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
709
|
-
})(
|
|
710
|
-
function
|
|
711
|
-
return e.type ===
|
|
749
|
+
})(Se || (Se = {}));
|
|
750
|
+
function At(e) {
|
|
751
|
+
return e.type === D.literal;
|
|
712
752
|
}
|
|
713
|
-
function
|
|
714
|
-
return e.type ===
|
|
753
|
+
function Ti(e) {
|
|
754
|
+
return e.type === D.argument;
|
|
755
|
+
}
|
|
756
|
+
function ir(e) {
|
|
757
|
+
return e.type === D.number;
|
|
715
758
|
}
|
|
716
759
|
function nr(e) {
|
|
717
|
-
return e.type ===
|
|
760
|
+
return e.type === D.date;
|
|
718
761
|
}
|
|
719
762
|
function sr(e) {
|
|
720
|
-
return e.type ===
|
|
763
|
+
return e.type === D.time;
|
|
721
764
|
}
|
|
722
765
|
function or(e) {
|
|
723
|
-
return e.type ===
|
|
766
|
+
return e.type === D.select;
|
|
724
767
|
}
|
|
725
768
|
function ar(e) {
|
|
726
|
-
return e.type ===
|
|
769
|
+
return e.type === D.plural;
|
|
727
770
|
}
|
|
728
|
-
function
|
|
729
|
-
return e.type ===
|
|
771
|
+
function Hi(e) {
|
|
772
|
+
return e.type === D.pound;
|
|
730
773
|
}
|
|
731
|
-
function
|
|
732
|
-
return e.type ===
|
|
774
|
+
function ur(e) {
|
|
775
|
+
return e.type === D.tag;
|
|
733
776
|
}
|
|
734
777
|
function lr(e) {
|
|
735
|
-
return e.type ===
|
|
736
|
-
}
|
|
737
|
-
function hr(e) {
|
|
738
|
-
return !!(e && typeof e == "object" && e.type === Te.number);
|
|
778
|
+
return !!(e && typeof e == "object" && e.type === Se.number);
|
|
739
779
|
}
|
|
740
|
-
function
|
|
741
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
780
|
+
function lt(e) {
|
|
781
|
+
return !!(e && typeof e == "object" && e.type === Se.dateTime);
|
|
742
782
|
}
|
|
743
|
-
var
|
|
744
|
-
function
|
|
783
|
+
var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pi = /(?:[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;
|
|
784
|
+
function Oi(e) {
|
|
745
785
|
var t = {};
|
|
746
786
|
return e.replace(Pi, function(r) {
|
|
747
787
|
var i = r.length;
|
|
@@ -832,46 +872,36 @@ function Ai(e) {
|
|
|
832
872
|
return "";
|
|
833
873
|
}), t;
|
|
834
874
|
}
|
|
835
|
-
var
|
|
836
|
-
return L = Object.assign || function(t) {
|
|
837
|
-
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
838
|
-
r = arguments[i];
|
|
839
|
-
for (var s in r)
|
|
840
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
841
|
-
}
|
|
842
|
-
return t;
|
|
843
|
-
}, L.apply(this, arguments);
|
|
844
|
-
};
|
|
845
|
-
var $i = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
875
|
+
var Ai = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
846
876
|
function Bi(e) {
|
|
847
877
|
if (e.length === 0)
|
|
848
878
|
throw new Error("Number skeleton cannot be empty");
|
|
849
|
-
for (var t = e.split(
|
|
879
|
+
for (var t = e.split(Ai).filter(function(p) {
|
|
850
880
|
return p.length > 0;
|
|
851
881
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
852
|
-
var s = n[i],
|
|
853
|
-
if (
|
|
882
|
+
var s = n[i], o = s.split("/");
|
|
883
|
+
if (o.length === 0)
|
|
854
884
|
throw new Error("Invalid number skeleton");
|
|
855
|
-
for (var u =
|
|
885
|
+
for (var u = o[0], a = o.slice(1), l = 0, h = a; l < h.length; l++) {
|
|
856
886
|
var c = h[l];
|
|
857
887
|
if (c.length === 0)
|
|
858
888
|
throw new Error("Invalid number skeleton");
|
|
859
889
|
}
|
|
860
|
-
r.push({ stem: u, options:
|
|
890
|
+
r.push({ stem: u, options: a });
|
|
861
891
|
}
|
|
862
892
|
return r;
|
|
863
893
|
}
|
|
864
|
-
function
|
|
894
|
+
function $i(e) {
|
|
865
895
|
return e.replace(/^(.*?)-/, "");
|
|
866
896
|
}
|
|
867
|
-
var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
868
|
-
function
|
|
897
|
+
var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Mi = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
|
|
898
|
+
function $t(e) {
|
|
869
899
|
var t = {};
|
|
870
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
900
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, i, n) {
|
|
871
901
|
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)), "";
|
|
872
902
|
}), t;
|
|
873
903
|
}
|
|
874
|
-
function
|
|
904
|
+
function dr(e) {
|
|
875
905
|
switch (e) {
|
|
876
906
|
case "sign-auto":
|
|
877
907
|
return {
|
|
@@ -911,7 +941,7 @@ function mr(e) {
|
|
|
911
941
|
};
|
|
912
942
|
}
|
|
913
943
|
}
|
|
914
|
-
function
|
|
944
|
+
function Ci(e) {
|
|
915
945
|
var t;
|
|
916
946
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
917
947
|
notation: "engineering"
|
|
@@ -919,17 +949,17 @@ function Di(e) {
|
|
|
919
949
|
notation: "scientific"
|
|
920
950
|
}, e = e.slice(1)), t) {
|
|
921
951
|
var r = e.slice(0, 2);
|
|
922
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
952
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
|
|
923
953
|
throw new Error("Malformed concise eng/scientific notation");
|
|
924
954
|
t.minimumIntegerDigits = e.length;
|
|
925
955
|
}
|
|
926
956
|
return t;
|
|
927
957
|
}
|
|
928
|
-
function
|
|
929
|
-
var t = {}, r =
|
|
958
|
+
function Mt(e) {
|
|
959
|
+
var t = {}, r = dr(e);
|
|
930
960
|
return r || t;
|
|
931
961
|
}
|
|
932
|
-
function
|
|
962
|
+
function Di(e) {
|
|
933
963
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
934
964
|
var n = i[r];
|
|
935
965
|
switch (n.stem) {
|
|
@@ -953,7 +983,7 @@ function Li(e) {
|
|
|
953
983
|
continue;
|
|
954
984
|
case "measure-unit":
|
|
955
985
|
case "unit":
|
|
956
|
-
t.style = "unit", t.unit =
|
|
986
|
+
t.style = "unit", t.unit = $i(n.options[0]);
|
|
957
987
|
continue;
|
|
958
988
|
case "compact-short":
|
|
959
989
|
case "K":
|
|
@@ -964,13 +994,13 @@ function Li(e) {
|
|
|
964
994
|
t.notation = "compact", t.compactDisplay = "long";
|
|
965
995
|
continue;
|
|
966
996
|
case "scientific":
|
|
967
|
-
t =
|
|
968
|
-
return
|
|
997
|
+
t = A(A(A({}, t), { notation: "scientific" }), n.options.reduce(function(a, l) {
|
|
998
|
+
return A(A({}, a), Mt(l));
|
|
969
999
|
}, {}));
|
|
970
1000
|
continue;
|
|
971
1001
|
case "engineering":
|
|
972
|
-
t =
|
|
973
|
-
return
|
|
1002
|
+
t = A(A(A({}, t), { notation: "engineering" }), n.options.reduce(function(a, l) {
|
|
1003
|
+
return A(A({}, a), Mt(l));
|
|
974
1004
|
}, {}));
|
|
975
1005
|
continue;
|
|
976
1006
|
case "notation-simple":
|
|
@@ -1015,7 +1045,7 @@ function Li(e) {
|
|
|
1015
1045
|
case "integer-width":
|
|
1016
1046
|
if (n.options.length > 1)
|
|
1017
1047
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1018
|
-
n.options[0].replace(
|
|
1048
|
+
n.options[0].replace(Mi, function(a, l, h, c, p, _) {
|
|
1019
1049
|
if (l)
|
|
1020
1050
|
t.minimumIntegerDigits = h.length;
|
|
1021
1051
|
else {
|
|
@@ -1028,32 +1058,32 @@ function Li(e) {
|
|
|
1028
1058
|
});
|
|
1029
1059
|
continue;
|
|
1030
1060
|
}
|
|
1031
|
-
if (
|
|
1061
|
+
if (cr.test(n.stem)) {
|
|
1032
1062
|
t.minimumIntegerDigits = n.stem.length;
|
|
1033
1063
|
continue;
|
|
1034
1064
|
}
|
|
1035
1065
|
if (Bt.test(n.stem)) {
|
|
1036
1066
|
if (n.options.length > 1)
|
|
1037
1067
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1038
|
-
n.stem.replace(Bt, function(
|
|
1068
|
+
n.stem.replace(Bt, function(a, l, h, c, p, _) {
|
|
1039
1069
|
return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && _ ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + _.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1040
1070
|
});
|
|
1041
1071
|
var s = n.options[0];
|
|
1042
|
-
s === "w" ? t =
|
|
1072
|
+
s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), $t(s)));
|
|
1043
1073
|
continue;
|
|
1044
1074
|
}
|
|
1045
|
-
if (
|
|
1046
|
-
t =
|
|
1075
|
+
if (fr.test(n.stem)) {
|
|
1076
|
+
t = A(A({}, t), $t(n.stem));
|
|
1047
1077
|
continue;
|
|
1048
1078
|
}
|
|
1049
|
-
var
|
|
1050
|
-
|
|
1051
|
-
var u =
|
|
1052
|
-
u && (t =
|
|
1079
|
+
var o = dr(n.stem);
|
|
1080
|
+
o && (t = A(A({}, t), o));
|
|
1081
|
+
var u = Ci(n.stem);
|
|
1082
|
+
u && (t = A(A({}, t), u));
|
|
1053
1083
|
}
|
|
1054
1084
|
return t;
|
|
1055
1085
|
}
|
|
1056
|
-
var
|
|
1086
|
+
var Fe = {
|
|
1057
1087
|
"001": [
|
|
1058
1088
|
"H",
|
|
1059
1089
|
"h"
|
|
@@ -2468,23 +2498,23 @@ var Ve = {
|
|
|
2468
2498
|
"h"
|
|
2469
2499
|
]
|
|
2470
2500
|
};
|
|
2471
|
-
function
|
|
2501
|
+
function Li(e, t) {
|
|
2472
2502
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
2473
2503
|
var n = e.charAt(i);
|
|
2474
2504
|
if (n === "j") {
|
|
2475
2505
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2476
2506
|
s++, i++;
|
|
2477
|
-
var
|
|
2507
|
+
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), a = "a", l = Ii(t);
|
|
2478
2508
|
for ((l == "H" || l == "k") && (u = 0); u-- > 0; )
|
|
2479
|
-
r +=
|
|
2480
|
-
for (;
|
|
2509
|
+
r += a;
|
|
2510
|
+
for (; o-- > 0; )
|
|
2481
2511
|
r = l + r;
|
|
2482
2512
|
} else
|
|
2483
2513
|
n === "J" ? r += "H" : r += n;
|
|
2484
2514
|
}
|
|
2485
2515
|
return r;
|
|
2486
2516
|
}
|
|
2487
|
-
function
|
|
2517
|
+
function Ii(e) {
|
|
2488
2518
|
var t = e.hourCycle;
|
|
2489
2519
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2490
2520
|
e.hourCycles && // @ts-ignore
|
|
@@ -2503,23 +2533,23 @@ function Ni(e) {
|
|
|
2503
2533
|
}
|
|
2504
2534
|
var r = e.language, i;
|
|
2505
2535
|
r !== "root" && (i = e.maximize().region);
|
|
2506
|
-
var n =
|
|
2536
|
+
var n = Fe[i || ""] || Fe[r || ""] || Fe["".concat(r, "-001")] || Fe["001"];
|
|
2507
2537
|
return n[0];
|
|
2508
2538
|
}
|
|
2509
|
-
var
|
|
2510
|
-
function
|
|
2539
|
+
var rt, Ni = new RegExp("^".concat(hr.source, "*")), Ri = new RegExp("".concat(hr.source, "*$"));
|
|
2540
|
+
function P(e, t) {
|
|
2511
2541
|
return { start: e, end: t };
|
|
2512
2542
|
}
|
|
2513
|
-
var
|
|
2543
|
+
var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ui = !!String.fromCodePoint, Fi = !!Object.fromEntries, Vi = !!String.prototype.codePointAt, Gi = !!String.prototype.trimStart, ji = !!String.prototype.trimEnd, zi = !!Number.isSafeInteger, Xi = zi ? Number.isSafeInteger : function(e) {
|
|
2514
2544
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2515
|
-
},
|
|
2545
|
+
}, ht = !0;
|
|
2516
2546
|
try {
|
|
2517
|
-
var
|
|
2518
|
-
|
|
2547
|
+
var Wi = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2548
|
+
ht = ((rt = Wi.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
|
|
2519
2549
|
} catch {
|
|
2520
|
-
|
|
2550
|
+
ht = !1;
|
|
2521
2551
|
}
|
|
2522
|
-
var
|
|
2552
|
+
var Ct = ki ? (
|
|
2523
2553
|
// Native
|
|
2524
2554
|
function(t, r, i) {
|
|
2525
2555
|
return t.startsWith(r, i);
|
|
@@ -2529,31 +2559,31 @@ var Dt = Ui ? (
|
|
|
2529
2559
|
function(t, r, i) {
|
|
2530
2560
|
return t.slice(i, i + r.length) === r;
|
|
2531
2561
|
}
|
|
2532
|
-
),
|
|
2562
|
+
), ft = Ui ? String.fromCodePoint : (
|
|
2533
2563
|
// IE11
|
|
2534
2564
|
function() {
|
|
2535
2565
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2536
2566
|
t[r] = arguments[r];
|
|
2537
|
-
for (var i = "", n = t.length, s = 0,
|
|
2538
|
-
if (
|
|
2539
|
-
throw RangeError(
|
|
2540
|
-
i +=
|
|
2567
|
+
for (var i = "", n = t.length, s = 0, o; n > s; ) {
|
|
2568
|
+
if (o = t[s++], o > 1114111)
|
|
2569
|
+
throw RangeError(o + " is not a valid code point");
|
|
2570
|
+
i += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
2541
2571
|
}
|
|
2542
2572
|
return i;
|
|
2543
2573
|
}
|
|
2544
|
-
),
|
|
2574
|
+
), Dt = (
|
|
2545
2575
|
// native
|
|
2546
|
-
|
|
2576
|
+
Fi ? Object.fromEntries : (
|
|
2547
2577
|
// Ponyfill
|
|
2548
2578
|
function(t) {
|
|
2549
2579
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
2550
|
-
var s = n[i],
|
|
2551
|
-
r[
|
|
2580
|
+
var s = n[i], o = s[0], u = s[1];
|
|
2581
|
+
r[o] = u;
|
|
2552
2582
|
}
|
|
2553
2583
|
return r;
|
|
2554
2584
|
}
|
|
2555
2585
|
)
|
|
2556
|
-
),
|
|
2586
|
+
), mr = Vi ? (
|
|
2557
2587
|
// Native
|
|
2558
2588
|
function(t, r) {
|
|
2559
2589
|
return t.codePointAt(r);
|
|
@@ -2567,7 +2597,7 @@ var Dt = Ui ? (
|
|
|
2567
2597
|
return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2568
2598
|
}
|
|
2569
2599
|
}
|
|
2570
|
-
),
|
|
2600
|
+
), qi = Gi ? (
|
|
2571
2601
|
// Native
|
|
2572
2602
|
function(t) {
|
|
2573
2603
|
return t.trimStart();
|
|
@@ -2575,9 +2605,9 @@ var Dt = Ui ? (
|
|
|
2575
2605
|
) : (
|
|
2576
2606
|
// Ponyfill
|
|
2577
2607
|
function(t) {
|
|
2578
|
-
return t.replace(
|
|
2608
|
+
return t.replace(Ni, "");
|
|
2579
2609
|
}
|
|
2580
|
-
),
|
|
2610
|
+
), Yi = ji ? (
|
|
2581
2611
|
// Native
|
|
2582
2612
|
function(t) {
|
|
2583
2613
|
return t.trimEnd();
|
|
@@ -2585,32 +2615,32 @@ var Dt = Ui ? (
|
|
|
2585
2615
|
) : (
|
|
2586
2616
|
// Ponyfill
|
|
2587
2617
|
function(t) {
|
|
2588
|
-
return t.replace(
|
|
2618
|
+
return t.replace(Ri, "");
|
|
2589
2619
|
}
|
|
2590
2620
|
);
|
|
2591
|
-
function
|
|
2621
|
+
function pr(e, t) {
|
|
2592
2622
|
return new RegExp(e, t);
|
|
2593
2623
|
}
|
|
2594
|
-
var
|
|
2595
|
-
if (
|
|
2596
|
-
var
|
|
2597
|
-
|
|
2624
|
+
var ct;
|
|
2625
|
+
if (ht) {
|
|
2626
|
+
var Lt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2627
|
+
ct = function(t, r) {
|
|
2598
2628
|
var i;
|
|
2599
|
-
|
|
2600
|
-
var n =
|
|
2629
|
+
Lt.lastIndex = r;
|
|
2630
|
+
var n = Lt.exec(t);
|
|
2601
2631
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2602
2632
|
};
|
|
2603
2633
|
} else
|
|
2604
|
-
|
|
2634
|
+
ct = function(t, r) {
|
|
2605
2635
|
for (var i = []; ; ) {
|
|
2606
|
-
var n =
|
|
2607
|
-
if (n === void 0 ||
|
|
2636
|
+
var n = mr(t, r);
|
|
2637
|
+
if (n === void 0 || gr(n) || Ki(n))
|
|
2608
2638
|
break;
|
|
2609
2639
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
2610
2640
|
}
|
|
2611
|
-
return
|
|
2641
|
+
return ft.apply(void 0, i);
|
|
2612
2642
|
};
|
|
2613
|
-
var
|
|
2643
|
+
var Zi = (
|
|
2614
2644
|
/** @class */
|
|
2615
2645
|
function() {
|
|
2616
2646
|
function e(t, r) {
|
|
@@ -2624,33 +2654,33 @@ var Ji = (
|
|
|
2624
2654
|
for (var n = []; !this.isEOF(); ) {
|
|
2625
2655
|
var s = this.char();
|
|
2626
2656
|
if (s === 123) {
|
|
2627
|
-
var
|
|
2628
|
-
if (
|
|
2629
|
-
return
|
|
2630
|
-
n.push(
|
|
2657
|
+
var o = this.parseArgument(t, i);
|
|
2658
|
+
if (o.err)
|
|
2659
|
+
return o;
|
|
2660
|
+
n.push(o.val);
|
|
2631
2661
|
} else {
|
|
2632
2662
|
if (s === 125 && t > 0)
|
|
2633
2663
|
break;
|
|
2634
2664
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2635
2665
|
var u = this.clonePosition();
|
|
2636
2666
|
this.bump(), n.push({
|
|
2637
|
-
type:
|
|
2638
|
-
location:
|
|
2667
|
+
type: D.pound,
|
|
2668
|
+
location: P(u, this.clonePosition())
|
|
2639
2669
|
});
|
|
2640
2670
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2641
2671
|
if (i)
|
|
2642
2672
|
break;
|
|
2643
|
-
return this.error(H.UNMATCHED_CLOSING_TAG,
|
|
2644
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2645
|
-
var
|
|
2646
|
-
if (
|
|
2647
|
-
return
|
|
2648
|
-
n.push(
|
|
2673
|
+
return this.error(H.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
|
|
2674
|
+
} else if (s === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
|
|
2675
|
+
var o = this.parseTag(t, r);
|
|
2676
|
+
if (o.err)
|
|
2677
|
+
return o;
|
|
2678
|
+
n.push(o.val);
|
|
2649
2679
|
} else {
|
|
2650
|
-
var
|
|
2651
|
-
if (
|
|
2652
|
-
return
|
|
2653
|
-
n.push(
|
|
2680
|
+
var o = this.parseLiteral(t, r);
|
|
2681
|
+
if (o.err)
|
|
2682
|
+
return o;
|
|
2683
|
+
n.push(o.val);
|
|
2654
2684
|
}
|
|
2655
2685
|
}
|
|
2656
2686
|
}
|
|
@@ -2662,9 +2692,9 @@ var Ji = (
|
|
|
2662
2692
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2663
2693
|
return {
|
|
2664
2694
|
val: {
|
|
2665
|
-
type:
|
|
2695
|
+
type: D.literal,
|
|
2666
2696
|
value: "<".concat(n, "/>"),
|
|
2667
|
-
location:
|
|
2697
|
+
location: P(i, this.clonePosition())
|
|
2668
2698
|
},
|
|
2669
2699
|
err: null
|
|
2670
2700
|
};
|
|
@@ -2672,27 +2702,27 @@ var Ji = (
|
|
|
2672
2702
|
var s = this.parseMessage(t + 1, r, !0);
|
|
2673
2703
|
if (s.err)
|
|
2674
2704
|
return s;
|
|
2675
|
-
var
|
|
2705
|
+
var o = s.val, u = this.clonePosition();
|
|
2676
2706
|
if (this.bumpIf("</")) {
|
|
2677
|
-
if (this.isEOF() || !
|
|
2678
|
-
return this.error(H.INVALID_TAG,
|
|
2679
|
-
var
|
|
2680
|
-
return n !== l ? this.error(H.UNMATCHED_CLOSING_TAG,
|
|
2707
|
+
if (this.isEOF() || !dt(this.char()))
|
|
2708
|
+
return this.error(H.INVALID_TAG, P(u, this.clonePosition()));
|
|
2709
|
+
var a = this.clonePosition(), l = this.parseTagName();
|
|
2710
|
+
return n !== l ? this.error(H.UNMATCHED_CLOSING_TAG, P(a, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2681
2711
|
val: {
|
|
2682
|
-
type:
|
|
2712
|
+
type: D.tag,
|
|
2683
2713
|
value: n,
|
|
2684
|
-
children:
|
|
2685
|
-
location:
|
|
2714
|
+
children: o,
|
|
2715
|
+
location: P(i, this.clonePosition())
|
|
2686
2716
|
},
|
|
2687
2717
|
err: null
|
|
2688
|
-
} : this.error(H.INVALID_TAG,
|
|
2718
|
+
} : this.error(H.INVALID_TAG, P(u, this.clonePosition())));
|
|
2689
2719
|
} else
|
|
2690
|
-
return this.error(H.UNCLOSED_TAG,
|
|
2720
|
+
return this.error(H.UNCLOSED_TAG, P(i, this.clonePosition()));
|
|
2691
2721
|
} else
|
|
2692
|
-
return this.error(H.INVALID_TAG,
|
|
2722
|
+
return this.error(H.INVALID_TAG, P(i, this.clonePosition()));
|
|
2693
2723
|
}, e.prototype.parseTagName = function() {
|
|
2694
2724
|
var t = this.offset();
|
|
2695
|
-
for (this.bump(); !this.isEOF() &&
|
|
2725
|
+
for (this.bump(); !this.isEOF() && Qi(this.char()); )
|
|
2696
2726
|
this.bump();
|
|
2697
2727
|
return this.message.slice(t, this.offset());
|
|
2698
2728
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2702,9 +2732,9 @@ var Ji = (
|
|
|
2702
2732
|
n += s;
|
|
2703
2733
|
continue;
|
|
2704
2734
|
}
|
|
2705
|
-
var
|
|
2706
|
-
if (
|
|
2707
|
-
n +=
|
|
2735
|
+
var o = this.tryParseUnquoted(t, r);
|
|
2736
|
+
if (o) {
|
|
2737
|
+
n += o;
|
|
2708
2738
|
continue;
|
|
2709
2739
|
}
|
|
2710
2740
|
var u = this.tryParseLeftAngleBracket();
|
|
@@ -2714,14 +2744,14 @@ var Ji = (
|
|
|
2714
2744
|
}
|
|
2715
2745
|
break;
|
|
2716
2746
|
}
|
|
2717
|
-
var
|
|
2747
|
+
var a = P(i, this.clonePosition());
|
|
2718
2748
|
return {
|
|
2719
|
-
val: { type:
|
|
2749
|
+
val: { type: D.literal, value: n, location: a },
|
|
2720
2750
|
err: null
|
|
2721
2751
|
};
|
|
2722
2752
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2723
2753
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2724
|
-
!
|
|
2754
|
+
!Ji(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2725
2755
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2726
2756
|
if (this.isEOF() || this.char() !== 39)
|
|
2727
2757
|
return null;
|
|
@@ -2755,49 +2785,49 @@ var Ji = (
|
|
|
2755
2785
|
r.push(i);
|
|
2756
2786
|
this.bump();
|
|
2757
2787
|
}
|
|
2758
|
-
return
|
|
2788
|
+
return ft.apply(void 0, r);
|
|
2759
2789
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2760
2790
|
if (this.isEOF())
|
|
2761
2791
|
return null;
|
|
2762
2792
|
var i = this.char();
|
|
2763
|
-
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(),
|
|
2793
|
+
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ft(i));
|
|
2764
2794
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2765
2795
|
var i = this.clonePosition();
|
|
2766
2796
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2767
|
-
return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2797
|
+
return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
|
|
2768
2798
|
if (this.char() === 125)
|
|
2769
|
-
return this.bump(), this.error(H.EMPTY_ARGUMENT,
|
|
2799
|
+
return this.bump(), this.error(H.EMPTY_ARGUMENT, P(i, this.clonePosition()));
|
|
2770
2800
|
var n = this.parseIdentifierIfPossible().value;
|
|
2771
2801
|
if (!n)
|
|
2772
|
-
return this.error(H.MALFORMED_ARGUMENT,
|
|
2802
|
+
return this.error(H.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
|
|
2773
2803
|
if (this.bumpSpace(), this.isEOF())
|
|
2774
|
-
return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2804
|
+
return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
|
|
2775
2805
|
switch (this.char()) {
|
|
2776
2806
|
case 125:
|
|
2777
2807
|
return this.bump(), {
|
|
2778
2808
|
val: {
|
|
2779
|
-
type:
|
|
2809
|
+
type: D.argument,
|
|
2780
2810
|
// value does not include the opening and closing braces.
|
|
2781
2811
|
value: n,
|
|
2782
|
-
location:
|
|
2812
|
+
location: P(i, this.clonePosition())
|
|
2783
2813
|
},
|
|
2784
2814
|
err: null
|
|
2785
2815
|
};
|
|
2786
2816
|
case 44:
|
|
2787
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2817
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
|
|
2788
2818
|
default:
|
|
2789
|
-
return this.error(H.MALFORMED_ARGUMENT,
|
|
2819
|
+
return this.error(H.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
|
|
2790
2820
|
}
|
|
2791
2821
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2792
|
-
var t = this.clonePosition(), r = this.offset(), i =
|
|
2822
|
+
var t = this.clonePosition(), r = this.offset(), i = ct(this.message, r), n = r + i.length;
|
|
2793
2823
|
this.bumpTo(n);
|
|
2794
|
-
var s = this.clonePosition(),
|
|
2795
|
-
return { value: i, location:
|
|
2824
|
+
var s = this.clonePosition(), o = P(t, s);
|
|
2825
|
+
return { value: i, location: o };
|
|
2796
2826
|
}, e.prototype.parseArgumentOptions = function(t, r, i, n) {
|
|
2797
|
-
var s,
|
|
2827
|
+
var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, a = this.clonePosition();
|
|
2798
2828
|
switch (u) {
|
|
2799
2829
|
case "":
|
|
2800
|
-
return this.error(H.EXPECT_ARGUMENT_TYPE,
|
|
2830
|
+
return this.error(H.EXPECT_ARGUMENT_TYPE, P(o, a));
|
|
2801
2831
|
case "number":
|
|
2802
2832
|
case "date":
|
|
2803
2833
|
case "time": {
|
|
@@ -2808,46 +2838,46 @@ var Ji = (
|
|
|
2808
2838
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2809
2839
|
if (c.err)
|
|
2810
2840
|
return c;
|
|
2811
|
-
var p =
|
|
2841
|
+
var p = Yi(c.val);
|
|
2812
2842
|
if (p.length === 0)
|
|
2813
|
-
return this.error(H.EXPECT_ARGUMENT_STYLE,
|
|
2814
|
-
var _ =
|
|
2843
|
+
return this.error(H.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
|
|
2844
|
+
var _ = P(h, this.clonePosition());
|
|
2815
2845
|
l = { style: p, styleLocation: _ };
|
|
2816
2846
|
}
|
|
2817
2847
|
var S = this.tryParseArgumentClose(n);
|
|
2818
2848
|
if (S.err)
|
|
2819
2849
|
return S;
|
|
2820
|
-
var
|
|
2821
|
-
if (l &&
|
|
2822
|
-
var
|
|
2850
|
+
var b = P(n, this.clonePosition());
|
|
2851
|
+
if (l && Ct(l?.style, "::", 0)) {
|
|
2852
|
+
var M = qi(l.style.slice(2));
|
|
2823
2853
|
if (u === "number") {
|
|
2824
|
-
var c = this.parseNumberSkeletonFromString(
|
|
2854
|
+
var c = this.parseNumberSkeletonFromString(M, l.styleLocation);
|
|
2825
2855
|
return c.err ? c : {
|
|
2826
|
-
val: { type:
|
|
2856
|
+
val: { type: D.number, value: i, location: b, style: c.val },
|
|
2827
2857
|
err: null
|
|
2828
2858
|
};
|
|
2829
2859
|
} else {
|
|
2830
|
-
if (
|
|
2831
|
-
return this.error(H.EXPECT_DATE_TIME_SKELETON,
|
|
2832
|
-
var V =
|
|
2833
|
-
this.locale && (V =
|
|
2860
|
+
if (M.length === 0)
|
|
2861
|
+
return this.error(H.EXPECT_DATE_TIME_SKELETON, b);
|
|
2862
|
+
var V = M;
|
|
2863
|
+
this.locale && (V = Li(M, this.locale));
|
|
2834
2864
|
var p = {
|
|
2835
|
-
type:
|
|
2865
|
+
type: Se.dateTime,
|
|
2836
2866
|
pattern: V,
|
|
2837
2867
|
location: l.styleLocation,
|
|
2838
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2839
|
-
}, R = u === "date" ?
|
|
2868
|
+
parsedOptions: this.shouldParseSkeletons ? Oi(V) : {}
|
|
2869
|
+
}, R = u === "date" ? D.date : D.time;
|
|
2840
2870
|
return {
|
|
2841
|
-
val: { type: R, value: i, location:
|
|
2871
|
+
val: { type: R, value: i, location: b, style: p },
|
|
2842
2872
|
err: null
|
|
2843
2873
|
};
|
|
2844
2874
|
}
|
|
2845
2875
|
}
|
|
2846
2876
|
return {
|
|
2847
2877
|
val: {
|
|
2848
|
-
type: u === "number" ?
|
|
2878
|
+
type: u === "number" ? D.number : u === "date" ? D.date : D.time,
|
|
2849
2879
|
value: i,
|
|
2850
|
-
location:
|
|
2880
|
+
location: b,
|
|
2851
2881
|
style: (s = l?.style) !== null && s !== void 0 ? s : null
|
|
2852
2882
|
},
|
|
2853
2883
|
err: null
|
|
@@ -2856,14 +2886,14 @@ var Ji = (
|
|
|
2856
2886
|
case "plural":
|
|
2857
2887
|
case "selectordinal":
|
|
2858
2888
|
case "select": {
|
|
2859
|
-
var
|
|
2889
|
+
var B = this.clonePosition();
|
|
2860
2890
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2861
|
-
return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
2891
|
+
return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, P(B, A({}, B)));
|
|
2862
2892
|
this.bumpSpace();
|
|
2863
2893
|
var z = this.parseIdentifierIfPossible(), I = 0;
|
|
2864
2894
|
if (u !== "select" && z.value === "offset") {
|
|
2865
2895
|
if (!this.bumpIf(":"))
|
|
2866
|
-
return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
2896
|
+
return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
|
|
2867
2897
|
this.bumpSpace();
|
|
2868
2898
|
var c = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2869
2899
|
if (c.err)
|
|
@@ -2876,20 +2906,20 @@ var Ji = (
|
|
|
2876
2906
|
var S = this.tryParseArgumentClose(n);
|
|
2877
2907
|
if (S.err)
|
|
2878
2908
|
return S;
|
|
2879
|
-
var W =
|
|
2909
|
+
var W = P(n, this.clonePosition());
|
|
2880
2910
|
return u === "select" ? {
|
|
2881
2911
|
val: {
|
|
2882
|
-
type:
|
|
2912
|
+
type: D.select,
|
|
2883
2913
|
value: i,
|
|
2884
|
-
options:
|
|
2914
|
+
options: Dt(U.val),
|
|
2885
2915
|
location: W
|
|
2886
2916
|
},
|
|
2887
2917
|
err: null
|
|
2888
2918
|
} : {
|
|
2889
2919
|
val: {
|
|
2890
|
-
type:
|
|
2920
|
+
type: D.plural,
|
|
2891
2921
|
value: i,
|
|
2892
|
-
options:
|
|
2922
|
+
options: Dt(U.val),
|
|
2893
2923
|
offset: I,
|
|
2894
2924
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2895
2925
|
location: W
|
|
@@ -2898,10 +2928,10 @@ var Ji = (
|
|
|
2898
2928
|
};
|
|
2899
2929
|
}
|
|
2900
2930
|
default:
|
|
2901
|
-
return this.error(H.INVALID_ARGUMENT_TYPE,
|
|
2931
|
+
return this.error(H.INVALID_ARGUMENT_TYPE, P(o, a));
|
|
2902
2932
|
}
|
|
2903
2933
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2904
|
-
return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2934
|
+
return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2905
2935
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2906
2936
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2907
2937
|
var i = this.char();
|
|
@@ -2910,7 +2940,7 @@ var Ji = (
|
|
|
2910
2940
|
this.bump();
|
|
2911
2941
|
var n = this.clonePosition();
|
|
2912
2942
|
if (!this.bumpUntil("'"))
|
|
2913
|
-
return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
2943
|
+
return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, P(n, this.clonePosition()));
|
|
2914
2944
|
this.bump();
|
|
2915
2945
|
break;
|
|
2916
2946
|
}
|
|
@@ -2946,58 +2976,58 @@ var Ji = (
|
|
|
2946
2976
|
}
|
|
2947
2977
|
return {
|
|
2948
2978
|
val: {
|
|
2949
|
-
type:
|
|
2979
|
+
type: Se.number,
|
|
2950
2980
|
tokens: i,
|
|
2951
2981
|
location: r,
|
|
2952
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2982
|
+
parsedOptions: this.shouldParseSkeletons ? Di(i) : {}
|
|
2953
2983
|
},
|
|
2954
2984
|
err: null
|
|
2955
2985
|
};
|
|
2956
2986
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
|
|
2957
|
-
for (var s,
|
|
2987
|
+
for (var s, o = !1, u = [], a = /* @__PURE__ */ new Set(), l = n.value, h = n.location; ; ) {
|
|
2958
2988
|
if (l.length === 0) {
|
|
2959
2989
|
var c = this.clonePosition();
|
|
2960
2990
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2961
2991
|
var p = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2962
2992
|
if (p.err)
|
|
2963
2993
|
return p;
|
|
2964
|
-
h =
|
|
2994
|
+
h = P(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
|
|
2965
2995
|
} else
|
|
2966
2996
|
break;
|
|
2967
2997
|
}
|
|
2968
|
-
if (
|
|
2998
|
+
if (a.has(l))
|
|
2969
2999
|
return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
2970
|
-
l === "other" && (
|
|
3000
|
+
l === "other" && (o = !0), this.bumpSpace();
|
|
2971
3001
|
var _ = this.clonePosition();
|
|
2972
3002
|
if (!this.bumpIf("{"))
|
|
2973
|
-
return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3003
|
+
return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
|
|
2974
3004
|
var S = this.parseMessage(t + 1, r, i);
|
|
2975
3005
|
if (S.err)
|
|
2976
3006
|
return S;
|
|
2977
|
-
var
|
|
2978
|
-
if (
|
|
2979
|
-
return
|
|
3007
|
+
var b = this.tryParseArgumentClose(_);
|
|
3008
|
+
if (b.err)
|
|
3009
|
+
return b;
|
|
2980
3010
|
u.push([
|
|
2981
3011
|
l,
|
|
2982
3012
|
{
|
|
2983
3013
|
value: S.val,
|
|
2984
|
-
location:
|
|
3014
|
+
location: P(_, this.clonePosition())
|
|
2985
3015
|
}
|
|
2986
|
-
]),
|
|
3016
|
+
]), a.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, h = s.location;
|
|
2987
3017
|
}
|
|
2988
|
-
return u.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3018
|
+
return u.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, P(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(H.MISSING_OTHER_CLAUSE, P(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
|
2989
3019
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2990
3020
|
var i = 1, n = this.clonePosition();
|
|
2991
3021
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
2992
|
-
for (var s = !1,
|
|
3022
|
+
for (var s = !1, o = 0; !this.isEOF(); ) {
|
|
2993
3023
|
var u = this.char();
|
|
2994
3024
|
if (u >= 48 && u <= 57)
|
|
2995
|
-
s = !0,
|
|
3025
|
+
s = !0, o = o * 10 + (u - 48), this.bump();
|
|
2996
3026
|
else
|
|
2997
3027
|
break;
|
|
2998
3028
|
}
|
|
2999
|
-
var
|
|
3000
|
-
return s ? (
|
|
3029
|
+
var a = P(n, this.clonePosition());
|
|
3030
|
+
return s ? (o *= i, Xi(o) ? { val: o, err: null } : this.error(r, a)) : this.error(t, a);
|
|
3001
3031
|
}, e.prototype.offset = function() {
|
|
3002
3032
|
return this.position.offset;
|
|
3003
3033
|
}, e.prototype.isEOF = function() {
|
|
@@ -3012,7 +3042,7 @@ var Ji = (
|
|
|
3012
3042
|
var t = this.position.offset;
|
|
3013
3043
|
if (t >= this.message.length)
|
|
3014
3044
|
throw Error("out of bound");
|
|
3015
|
-
var r =
|
|
3045
|
+
var r = mr(this.message, t);
|
|
3016
3046
|
if (r === void 0)
|
|
3017
3047
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3018
3048
|
return r;
|
|
@@ -3031,7 +3061,7 @@ var Ji = (
|
|
|
3031
3061
|
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);
|
|
3032
3062
|
}
|
|
3033
3063
|
}, e.prototype.bumpIf = function(t) {
|
|
3034
|
-
if (
|
|
3064
|
+
if (Ct(this.message, t, this.offset())) {
|
|
3035
3065
|
for (var r = 0; r < t.length; r++)
|
|
3036
3066
|
this.bump();
|
|
3037
3067
|
return !0;
|
|
@@ -3053,7 +3083,7 @@ var Ji = (
|
|
|
3053
3083
|
break;
|
|
3054
3084
|
}
|
|
3055
3085
|
}, e.prototype.bumpSpace = function() {
|
|
3056
|
-
for (; !this.isEOF() &&
|
|
3086
|
+
for (; !this.isEOF() && gr(this.char()); )
|
|
3057
3087
|
this.bump();
|
|
3058
3088
|
}, e.prototype.peek = function() {
|
|
3059
3089
|
if (this.isEOF())
|
|
@@ -3063,47 +3093,47 @@ var Ji = (
|
|
|
3063
3093
|
}, e;
|
|
3064
3094
|
}()
|
|
3065
3095
|
);
|
|
3066
|
-
function
|
|
3096
|
+
function dt(e) {
|
|
3067
3097
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3068
3098
|
}
|
|
3069
|
-
function
|
|
3070
|
-
return
|
|
3099
|
+
function Ji(e) {
|
|
3100
|
+
return dt(e) || e === 47;
|
|
3071
3101
|
}
|
|
3072
|
-
function
|
|
3102
|
+
function Qi(e) {
|
|
3073
3103
|
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;
|
|
3074
3104
|
}
|
|
3075
|
-
function
|
|
3105
|
+
function gr(e) {
|
|
3076
3106
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3077
3107
|
}
|
|
3078
|
-
function
|
|
3108
|
+
function Ki(e) {
|
|
3079
3109
|
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;
|
|
3080
3110
|
}
|
|
3081
|
-
function
|
|
3111
|
+
function mt(e) {
|
|
3082
3112
|
e.forEach(function(t) {
|
|
3083
|
-
if (delete t.location,
|
|
3113
|
+
if (delete t.location, or(t) || ar(t))
|
|
3084
3114
|
for (var r in t.options)
|
|
3085
|
-
delete t.options[r].location,
|
|
3115
|
+
delete t.options[r].location, mt(t.options[r].value);
|
|
3086
3116
|
else
|
|
3087
|
-
|
|
3117
|
+
ir(t) && lr(t.style) || (nr(t) || sr(t)) && lt(t.style) ? delete t.style.location : ur(t) && mt(t.children);
|
|
3088
3118
|
});
|
|
3089
3119
|
}
|
|
3090
|
-
function
|
|
3091
|
-
t === void 0 && (t = {}), t =
|
|
3092
|
-
var r = new
|
|
3120
|
+
function en(e, t) {
|
|
3121
|
+
t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3122
|
+
var r = new Zi(e, t).parse();
|
|
3093
3123
|
if (r.err) {
|
|
3094
3124
|
var i = SyntaxError(H[r.err.kind]);
|
|
3095
3125
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3096
3126
|
}
|
|
3097
|
-
return t?.captureLocation ||
|
|
3127
|
+
return t?.captureLocation || mt(r.val), r.val;
|
|
3098
3128
|
}
|
|
3099
|
-
var
|
|
3129
|
+
var Te;
|
|
3100
3130
|
(function(e) {
|
|
3101
3131
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3102
|
-
})(
|
|
3103
|
-
var
|
|
3132
|
+
})(Te || (Te = {}));
|
|
3133
|
+
var Ye = (
|
|
3104
3134
|
/** @class */
|
|
3105
3135
|
function(e) {
|
|
3106
|
-
|
|
3136
|
+
qe(t, e);
|
|
3107
3137
|
function t(r, i, n) {
|
|
3108
3138
|
var s = e.call(this, r) || this;
|
|
3109
3139
|
return s.code = i, s.originalMessage = n, s;
|
|
@@ -3112,64 +3142,64 @@ var Je = (
|
|
|
3112
3142
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3113
3143
|
}, t;
|
|
3114
3144
|
}(Error)
|
|
3115
|
-
),
|
|
3145
|
+
), It = (
|
|
3116
3146
|
/** @class */
|
|
3117
3147
|
function(e) {
|
|
3118
|
-
|
|
3148
|
+
qe(t, e);
|
|
3119
3149
|
function t(r, i, n, s) {
|
|
3120
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3150
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Te.INVALID_VALUE, s) || this;
|
|
3121
3151
|
}
|
|
3122
3152
|
return t;
|
|
3123
|
-
}(
|
|
3124
|
-
),
|
|
3153
|
+
}(Ye)
|
|
3154
|
+
), tn = (
|
|
3125
3155
|
/** @class */
|
|
3126
3156
|
function(e) {
|
|
3127
|
-
|
|
3157
|
+
qe(t, e);
|
|
3128
3158
|
function t(r, i, n) {
|
|
3129
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i),
|
|
3159
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Te.INVALID_VALUE, n) || this;
|
|
3130
3160
|
}
|
|
3131
3161
|
return t;
|
|
3132
|
-
}(
|
|
3133
|
-
),
|
|
3162
|
+
}(Ye)
|
|
3163
|
+
), rn = (
|
|
3134
3164
|
/** @class */
|
|
3135
3165
|
function(e) {
|
|
3136
|
-
|
|
3166
|
+
qe(t, e);
|
|
3137
3167
|
function t(r, i) {
|
|
3138
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'),
|
|
3168
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Te.MISSING_VALUE, i) || this;
|
|
3139
3169
|
}
|
|
3140
3170
|
return t;
|
|
3141
|
-
}(
|
|
3171
|
+
}(Ye)
|
|
3142
3172
|
), j;
|
|
3143
3173
|
(function(e) {
|
|
3144
3174
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3145
3175
|
})(j || (j = {}));
|
|
3146
|
-
function
|
|
3176
|
+
function nn(e) {
|
|
3147
3177
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3148
3178
|
var i = t[t.length - 1];
|
|
3149
3179
|
return !i || i.type !== j.literal || r.type !== j.literal ? t.push(r) : i.value += r.value, t;
|
|
3150
3180
|
}, []);
|
|
3151
3181
|
}
|
|
3152
|
-
function
|
|
3182
|
+
function sn(e) {
|
|
3153
3183
|
return typeof e == "function";
|
|
3154
3184
|
}
|
|
3155
|
-
function
|
|
3156
|
-
if (e.length === 1 &&
|
|
3185
|
+
function Ge(e, t, r, i, n, s, o) {
|
|
3186
|
+
if (e.length === 1 && At(e[0]))
|
|
3157
3187
|
return [
|
|
3158
3188
|
{
|
|
3159
3189
|
type: j.literal,
|
|
3160
3190
|
value: e[0].value
|
|
3161
3191
|
}
|
|
3162
3192
|
];
|
|
3163
|
-
for (var u = [],
|
|
3164
|
-
var h = l[
|
|
3165
|
-
if (
|
|
3193
|
+
for (var u = [], a = 0, l = e; a < l.length; a++) {
|
|
3194
|
+
var h = l[a];
|
|
3195
|
+
if (At(h)) {
|
|
3166
3196
|
u.push({
|
|
3167
3197
|
type: j.literal,
|
|
3168
3198
|
value: h.value
|
|
3169
3199
|
});
|
|
3170
3200
|
continue;
|
|
3171
3201
|
}
|
|
3172
|
-
if (
|
|
3202
|
+
if (Hi(h)) {
|
|
3173
3203
|
typeof s == "number" && u.push({
|
|
3174
3204
|
type: j.literal,
|
|
3175
3205
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3178,44 +3208,44 @@ function je(e, t, r, i, n, s, a) {
|
|
|
3178
3208
|
}
|
|
3179
3209
|
var c = h.value;
|
|
3180
3210
|
if (!(n && c in n))
|
|
3181
|
-
throw new
|
|
3211
|
+
throw new rn(c, o);
|
|
3182
3212
|
var p = n[c];
|
|
3183
|
-
if (
|
|
3213
|
+
if (Ti(h)) {
|
|
3184
3214
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), u.push({
|
|
3185
3215
|
type: typeof p == "string" ? j.literal : j.object,
|
|
3186
3216
|
value: p
|
|
3187
3217
|
});
|
|
3188
3218
|
continue;
|
|
3189
3219
|
}
|
|
3190
|
-
if (
|
|
3191
|
-
var _ = typeof h.style == "string" ? i.date[h.style] :
|
|
3220
|
+
if (nr(h)) {
|
|
3221
|
+
var _ = typeof h.style == "string" ? i.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
|
|
3192
3222
|
u.push({
|
|
3193
3223
|
type: j.literal,
|
|
3194
3224
|
value: r.getDateTimeFormat(t, _).format(p)
|
|
3195
3225
|
});
|
|
3196
3226
|
continue;
|
|
3197
3227
|
}
|
|
3198
|
-
if (
|
|
3199
|
-
var _ = typeof h.style == "string" ? i.time[h.style] :
|
|
3228
|
+
if (sr(h)) {
|
|
3229
|
+
var _ = typeof h.style == "string" ? i.time[h.style] : lt(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3200
3230
|
u.push({
|
|
3201
3231
|
type: j.literal,
|
|
3202
3232
|
value: r.getDateTimeFormat(t, _).format(p)
|
|
3203
3233
|
});
|
|
3204
3234
|
continue;
|
|
3205
3235
|
}
|
|
3206
|
-
if (
|
|
3207
|
-
var _ = typeof h.style == "string" ? i.number[h.style] :
|
|
3236
|
+
if (ir(h)) {
|
|
3237
|
+
var _ = typeof h.style == "string" ? i.number[h.style] : lr(h.style) ? h.style.parsedOptions : void 0;
|
|
3208
3238
|
_ && _.scale && (p = p * (_.scale || 1)), u.push({
|
|
3209
3239
|
type: j.literal,
|
|
3210
3240
|
value: r.getNumberFormat(t, _).format(p)
|
|
3211
3241
|
});
|
|
3212
3242
|
continue;
|
|
3213
3243
|
}
|
|
3214
|
-
if (
|
|
3215
|
-
var S = h.children,
|
|
3216
|
-
if (!
|
|
3217
|
-
throw new
|
|
3218
|
-
var V =
|
|
3244
|
+
if (ur(h)) {
|
|
3245
|
+
var S = h.children, b = h.value, M = n[b];
|
|
3246
|
+
if (!sn(M))
|
|
3247
|
+
throw new tn(b, "function", o);
|
|
3248
|
+
var V = Ge(S, t, r, i, n, s), R = M(V.map(function(I) {
|
|
3219
3249
|
return I.value;
|
|
3220
3250
|
}));
|
|
3221
3251
|
Array.isArray(R) || (R = [R]), u.push.apply(u, R.map(function(I) {
|
|
@@ -3225,42 +3255,42 @@ function je(e, t, r, i, n, s, a) {
|
|
|
3225
3255
|
};
|
|
3226
3256
|
}));
|
|
3227
3257
|
}
|
|
3228
|
-
if (
|
|
3229
|
-
var
|
|
3230
|
-
if (!
|
|
3231
|
-
throw new
|
|
3232
|
-
u.push.apply(u,
|
|
3258
|
+
if (or(h)) {
|
|
3259
|
+
var B = h.options[p] || h.options.other;
|
|
3260
|
+
if (!B)
|
|
3261
|
+
throw new It(h.value, p, Object.keys(h.options), o);
|
|
3262
|
+
u.push.apply(u, Ge(B.value, t, r, i, n));
|
|
3233
3263
|
continue;
|
|
3234
3264
|
}
|
|
3235
|
-
if (
|
|
3236
|
-
var
|
|
3237
|
-
if (!
|
|
3265
|
+
if (ar(h)) {
|
|
3266
|
+
var B = h.options["=".concat(p)];
|
|
3267
|
+
if (!B) {
|
|
3238
3268
|
if (!Intl.PluralRules)
|
|
3239
|
-
throw new
|
|
3269
|
+
throw new Ye(`Intl.PluralRules is not available in this environment.
|
|
3240
3270
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3241
|
-
`,
|
|
3271
|
+
`, Te.MISSING_INTL_API, o);
|
|
3242
3272
|
var z = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
|
|
3243
|
-
|
|
3273
|
+
B = h.options[z] || h.options.other;
|
|
3244
3274
|
}
|
|
3245
|
-
if (!
|
|
3246
|
-
throw new
|
|
3247
|
-
u.push.apply(u,
|
|
3275
|
+
if (!B)
|
|
3276
|
+
throw new It(h.value, p, Object.keys(h.options), o);
|
|
3277
|
+
u.push.apply(u, Ge(B.value, t, r, i, n, p - (h.offset || 0)));
|
|
3248
3278
|
continue;
|
|
3249
3279
|
}
|
|
3250
3280
|
}
|
|
3251
|
-
return
|
|
3281
|
+
return nn(u);
|
|
3252
3282
|
}
|
|
3253
|
-
function
|
|
3254
|
-
return t ?
|
|
3255
|
-
return r[i] =
|
|
3283
|
+
function on(e, t) {
|
|
3284
|
+
return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3285
|
+
return r[i] = A(A({}, e[i]), t[i] || {}), r;
|
|
3256
3286
|
}, {})) : e;
|
|
3257
3287
|
}
|
|
3258
|
-
function
|
|
3288
|
+
function an(e, t) {
|
|
3259
3289
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3260
|
-
return r[i] =
|
|
3261
|
-
},
|
|
3290
|
+
return r[i] = on(e[i], t[i]), r;
|
|
3291
|
+
}, A({}, e)) : e;
|
|
3262
3292
|
}
|
|
3263
|
-
function
|
|
3293
|
+
function it(e) {
|
|
3264
3294
|
return {
|
|
3265
3295
|
create: function() {
|
|
3266
3296
|
return {
|
|
@@ -3274,35 +3304,35 @@ function st(e) {
|
|
|
3274
3304
|
}
|
|
3275
3305
|
};
|
|
3276
3306
|
}
|
|
3277
|
-
function
|
|
3307
|
+
function un(e) {
|
|
3278
3308
|
return e === void 0 && (e = {
|
|
3279
3309
|
number: {},
|
|
3280
3310
|
dateTime: {},
|
|
3281
3311
|
pluralRules: {}
|
|
3282
3312
|
}), {
|
|
3283
|
-
getNumberFormat:
|
|
3313
|
+
getNumberFormat: et(function() {
|
|
3284
3314
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3285
3315
|
r[i] = arguments[i];
|
|
3286
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3316
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ke([void 0], r, !1)))();
|
|
3287
3317
|
}, {
|
|
3288
|
-
cache:
|
|
3289
|
-
strategy:
|
|
3318
|
+
cache: it(e.number),
|
|
3319
|
+
strategy: tt.variadic
|
|
3290
3320
|
}),
|
|
3291
|
-
getDateTimeFormat:
|
|
3321
|
+
getDateTimeFormat: et(function() {
|
|
3292
3322
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3293
3323
|
r[i] = arguments[i];
|
|
3294
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3324
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ke([void 0], r, !1)))();
|
|
3295
3325
|
}, {
|
|
3296
|
-
cache:
|
|
3297
|
-
strategy:
|
|
3326
|
+
cache: it(e.dateTime),
|
|
3327
|
+
strategy: tt.variadic
|
|
3298
3328
|
}),
|
|
3299
|
-
getPluralRules:
|
|
3329
|
+
getPluralRules: et(function() {
|
|
3300
3330
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3301
3331
|
r[i] = arguments[i];
|
|
3302
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3332
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ke([void 0], r, !1)))();
|
|
3303
3333
|
}, {
|
|
3304
|
-
cache:
|
|
3305
|
-
strategy:
|
|
3334
|
+
cache: it(e.pluralRules),
|
|
3335
|
+
strategy: tt.variadic
|
|
3306
3336
|
})
|
|
3307
3337
|
};
|
|
3308
3338
|
}
|
|
@@ -3316,35 +3346,35 @@ var br = (
|
|
|
3316
3346
|
number: {},
|
|
3317
3347
|
dateTime: {},
|
|
3318
3348
|
pluralRules: {}
|
|
3319
|
-
}, this.format = function(
|
|
3320
|
-
var l = s.formatToParts(
|
|
3349
|
+
}, this.format = function(a) {
|
|
3350
|
+
var l = s.formatToParts(a);
|
|
3321
3351
|
if (l.length === 1)
|
|
3322
3352
|
return l[0].value;
|
|
3323
3353
|
var h = l.reduce(function(c, p) {
|
|
3324
3354
|
return !c.length || p.type !== j.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
|
|
3325
3355
|
}, []);
|
|
3326
3356
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3327
|
-
}, this.formatToParts = function(
|
|
3328
|
-
return
|
|
3357
|
+
}, this.formatToParts = function(a) {
|
|
3358
|
+
return Ge(s.ast, s.locales, s.formatters, s.formats, a, void 0, s.message);
|
|
3329
3359
|
}, this.resolvedOptions = function() {
|
|
3330
|
-
var
|
|
3360
|
+
var a;
|
|
3331
3361
|
return {
|
|
3332
|
-
locale: ((
|
|
3362
|
+
locale: ((a = s.resolvedLocale) === null || a === void 0 ? void 0 : a.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
|
|
3333
3363
|
};
|
|
3334
3364
|
}, this.getAst = function() {
|
|
3335
3365
|
return s.ast;
|
|
3336
3366
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3337
3367
|
if (this.message = t, !e.__parse)
|
|
3338
3368
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3339
|
-
var
|
|
3340
|
-
|
|
3341
|
-
var u = bi(
|
|
3342
|
-
this.ast = e.__parse(t,
|
|
3369
|
+
var o = n || {};
|
|
3370
|
+
o.formatters;
|
|
3371
|
+
var u = bi(o, ["formatters"]);
|
|
3372
|
+
this.ast = e.__parse(t, A(A({}, u), { locale: this.resolvedLocale }));
|
|
3343
3373
|
} else
|
|
3344
3374
|
this.ast = t;
|
|
3345
3375
|
if (!Array.isArray(this.ast))
|
|
3346
3376
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3347
|
-
this.formats =
|
|
3377
|
+
this.formats = an(e.formats, i), this.formatters = n && n.formatters || un(this.formatterCache);
|
|
3348
3378
|
}
|
|
3349
3379
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3350
3380
|
get: function() {
|
|
@@ -3357,7 +3387,7 @@ var br = (
|
|
|
3357
3387
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3358
3388
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3359
3389
|
}
|
|
3360
|
-
}, e.__parse =
|
|
3390
|
+
}, e.__parse = en, e.formats = {
|
|
3361
3391
|
number: {
|
|
3362
3392
|
integer: {
|
|
3363
3393
|
maximumFractionDigits: 0
|
|
@@ -3418,7 +3448,7 @@ var br = (
|
|
|
3418
3448
|
}, e;
|
|
3419
3449
|
}()
|
|
3420
3450
|
);
|
|
3421
|
-
function
|
|
3451
|
+
function ln(e, t) {
|
|
3422
3452
|
if (t == null)
|
|
3423
3453
|
return;
|
|
3424
3454
|
if (t in e)
|
|
@@ -3439,101 +3469,101 @@ function hn(e, t) {
|
|
|
3439
3469
|
i = void 0;
|
|
3440
3470
|
return i;
|
|
3441
3471
|
}
|
|
3442
|
-
const
|
|
3472
|
+
const fe = {}, hn = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), vr = (e, t) => {
|
|
3443
3473
|
if (t == null)
|
|
3444
3474
|
return;
|
|
3445
|
-
if (t in
|
|
3446
|
-
return
|
|
3447
|
-
const r =
|
|
3475
|
+
if (t in fe && e in fe[t])
|
|
3476
|
+
return fe[t][e];
|
|
3477
|
+
const r = Re(t);
|
|
3448
3478
|
for (let i = 0; i < r.length; i++) {
|
|
3449
|
-
const n = r[i], s =
|
|
3479
|
+
const n = r[i], s = cn(n, e);
|
|
3450
3480
|
if (s)
|
|
3451
|
-
return
|
|
3481
|
+
return hn(e, t, s);
|
|
3452
3482
|
}
|
|
3453
3483
|
};
|
|
3454
|
-
let
|
|
3455
|
-
const
|
|
3456
|
-
function
|
|
3457
|
-
return
|
|
3484
|
+
let xt;
|
|
3485
|
+
const Ne = Ie({});
|
|
3486
|
+
function fn(e) {
|
|
3487
|
+
return xt[e] || null;
|
|
3458
3488
|
}
|
|
3459
|
-
function
|
|
3460
|
-
return e in
|
|
3489
|
+
function yr(e) {
|
|
3490
|
+
return e in xt;
|
|
3461
3491
|
}
|
|
3462
|
-
function
|
|
3463
|
-
if (!
|
|
3492
|
+
function cn(e, t) {
|
|
3493
|
+
if (!yr(e))
|
|
3464
3494
|
return null;
|
|
3465
|
-
const r =
|
|
3466
|
-
return
|
|
3495
|
+
const r = fn(e);
|
|
3496
|
+
return ln(r, t);
|
|
3467
3497
|
}
|
|
3468
|
-
function
|
|
3498
|
+
function dn(e) {
|
|
3469
3499
|
if (e == null)
|
|
3470
3500
|
return;
|
|
3471
|
-
const t =
|
|
3501
|
+
const t = Re(e);
|
|
3472
3502
|
for (let r = 0; r < t.length; r++) {
|
|
3473
3503
|
const i = t[r];
|
|
3474
|
-
if (
|
|
3504
|
+
if (yr(i))
|
|
3475
3505
|
return i;
|
|
3476
3506
|
}
|
|
3477
3507
|
}
|
|
3478
|
-
function
|
|
3479
|
-
delete
|
|
3508
|
+
function _r(e, ...t) {
|
|
3509
|
+
delete fe[e], Ne.update((r) => (r[e] = gi.all([r[e] || {}, ...t]), r));
|
|
3480
3510
|
}
|
|
3481
3511
|
Pe(
|
|
3482
|
-
[
|
|
3512
|
+
[Ne],
|
|
3483
3513
|
([e]) => Object.keys(e)
|
|
3484
3514
|
);
|
|
3485
|
-
|
|
3486
|
-
const
|
|
3487
|
-
function
|
|
3488
|
-
|
|
3515
|
+
Ne.subscribe((e) => xt = e);
|
|
3516
|
+
const je = {};
|
|
3517
|
+
function mn(e, t) {
|
|
3518
|
+
je[e].delete(t), je[e].size === 0 && delete je[e];
|
|
3489
3519
|
}
|
|
3490
|
-
function
|
|
3491
|
-
return
|
|
3520
|
+
function xr(e) {
|
|
3521
|
+
return je[e];
|
|
3492
3522
|
}
|
|
3493
|
-
function
|
|
3494
|
-
return
|
|
3495
|
-
const r =
|
|
3523
|
+
function pn(e) {
|
|
3524
|
+
return Re(e).map((t) => {
|
|
3525
|
+
const r = xr(t);
|
|
3496
3526
|
return [t, r ? [...r] : []];
|
|
3497
3527
|
}).filter(([, t]) => t.length > 0);
|
|
3498
3528
|
}
|
|
3499
|
-
function
|
|
3500
|
-
return e == null ? !1 :
|
|
3529
|
+
function ze(e) {
|
|
3530
|
+
return e == null ? !1 : Re(e).some(
|
|
3501
3531
|
(t) => {
|
|
3502
3532
|
var r;
|
|
3503
|
-
return (r =
|
|
3533
|
+
return (r = xr(t)) == null ? void 0 : r.size;
|
|
3504
3534
|
}
|
|
3505
3535
|
);
|
|
3506
3536
|
}
|
|
3507
|
-
function
|
|
3537
|
+
function gn(e, t) {
|
|
3508
3538
|
return Promise.all(
|
|
3509
|
-
t.map((i) => (
|
|
3510
|
-
).then((i) =>
|
|
3511
|
-
}
|
|
3512
|
-
const
|
|
3513
|
-
function
|
|
3514
|
-
if (!
|
|
3515
|
-
return e in
|
|
3516
|
-
const t =
|
|
3517
|
-
return
|
|
3539
|
+
t.map((i) => (mn(e, i), i().then((n) => n.default || n)))
|
|
3540
|
+
).then((i) => _r(e, ...i));
|
|
3541
|
+
}
|
|
3542
|
+
const Ae = {};
|
|
3543
|
+
function Er(e) {
|
|
3544
|
+
if (!ze(e))
|
|
3545
|
+
return e in Ae ? Ae[e] : Promise.resolve();
|
|
3546
|
+
const t = pn(e);
|
|
3547
|
+
return Ae[e] = Promise.all(
|
|
3518
3548
|
t.map(
|
|
3519
|
-
([r, i]) =>
|
|
3549
|
+
([r, i]) => gn(r, i)
|
|
3520
3550
|
)
|
|
3521
3551
|
).then(() => {
|
|
3522
|
-
if (
|
|
3523
|
-
return
|
|
3524
|
-
delete
|
|
3525
|
-
}),
|
|
3552
|
+
if (ze(e))
|
|
3553
|
+
return Er(e);
|
|
3554
|
+
delete Ae[e];
|
|
3555
|
+
}), Ae[e];
|
|
3526
3556
|
}
|
|
3527
|
-
var
|
|
3557
|
+
var Nt = Object.getOwnPropertySymbols, bn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable, yn = (e, t) => {
|
|
3528
3558
|
var r = {};
|
|
3529
3559
|
for (var i in e)
|
|
3530
3560
|
bn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
3531
|
-
if (e != null &&
|
|
3532
|
-
for (var i of
|
|
3533
|
-
t.indexOf(i) < 0 &&
|
|
3561
|
+
if (e != null && Nt)
|
|
3562
|
+
for (var i of Nt(e))
|
|
3563
|
+
t.indexOf(i) < 0 && vn.call(e, i) && (r[i] = e[i]);
|
|
3534
3564
|
return r;
|
|
3535
3565
|
};
|
|
3536
|
-
const
|
|
3566
|
+
const _n = {
|
|
3537
3567
|
number: {
|
|
3538
3568
|
scientific: { notation: "scientific" },
|
|
3539
3569
|
engineering: { notation: "engineering" },
|
|
@@ -3563,28 +3593,28 @@ const xn = {
|
|
|
3563
3593
|
}
|
|
3564
3594
|
}
|
|
3565
3595
|
};
|
|
3566
|
-
function
|
|
3596
|
+
function xn({ locale: e, id: t }) {
|
|
3567
3597
|
console.warn(
|
|
3568
|
-
`[svelte-i18n] The message "${t}" was not found in "${
|
|
3598
|
+
`[svelte-i18n] The message "${t}" was not found in "${Re(
|
|
3569
3599
|
e
|
|
3570
|
-
).join('", "')}".${
|
|
3600
|
+
).join('", "')}".${ze(ce()) ? `
|
|
3571
3601
|
|
|
3572
3602
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3573
3603
|
);
|
|
3574
3604
|
}
|
|
3575
|
-
const
|
|
3605
|
+
const En = {
|
|
3576
3606
|
fallbackLocale: null,
|
|
3577
3607
|
loadingDelay: 200,
|
|
3578
|
-
formats:
|
|
3608
|
+
formats: _n,
|
|
3579
3609
|
warnOnMissingMessages: !0,
|
|
3580
3610
|
handleMissingMessage: void 0,
|
|
3581
3611
|
ignoreTag: !0
|
|
3582
|
-
}, Be =
|
|
3583
|
-
function
|
|
3612
|
+
}, Be = En;
|
|
3613
|
+
function He() {
|
|
3584
3614
|
return Be;
|
|
3585
3615
|
}
|
|
3586
|
-
function
|
|
3587
|
-
const t = e, { formats: r } = t, i =
|
|
3616
|
+
function wn(e) {
|
|
3617
|
+
const t = e, { formats: r } = t, i = yn(t, ["formats"]);
|
|
3588
3618
|
let n = e.fallbackLocale;
|
|
3589
3619
|
if (e.initialLocale)
|
|
3590
3620
|
try {
|
|
@@ -3594,143 +3624,143 @@ function Sn(e) {
|
|
|
3594
3624
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3595
3625
|
);
|
|
3596
3626
|
}
|
|
3597
|
-
return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage =
|
|
3627
|
+
return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = xn : console.warn(
|
|
3598
3628
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3599
|
-
)), Object.assign(Be, i, { initialLocale: n }), r && ("number" in r && Object.assign(Be.formats.number, r.number), "date" in r && Object.assign(Be.formats.date, r.date), "time" in r && Object.assign(Be.formats.time, r.time)),
|
|
3600
|
-
}
|
|
3601
|
-
const
|
|
3602
|
-
var
|
|
3603
|
-
for (var r in t
|
|
3604
|
-
Pn.call(t, r) &&
|
|
3605
|
-
if (
|
|
3606
|
-
for (var r of
|
|
3607
|
-
|
|
3629
|
+
)), Object.assign(Be, i, { initialLocale: n }), r && ("number" in r && Object.assign(Be.formats.number, r.number), "date" in r && Object.assign(Be.formats.date, r.date), "time" in r && Object.assign(Be.formats.time, r.time)), pe.set(n);
|
|
3630
|
+
}
|
|
3631
|
+
const nt = Ie(!1);
|
|
3632
|
+
var Sn = Object.defineProperty, Tn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, Pn = Object.prototype.hasOwnProperty, On = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? Sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
|
|
3633
|
+
for (var r in t)
|
|
3634
|
+
Pn.call(t, r) && kt(e, r, t[r]);
|
|
3635
|
+
if (Rt)
|
|
3636
|
+
for (var r of Rt(t))
|
|
3637
|
+
On.call(t, r) && kt(e, r, t[r]);
|
|
3608
3638
|
return e;
|
|
3609
|
-
}, Bn = (e, t) =>
|
|
3610
|
-
let
|
|
3611
|
-
const
|
|
3612
|
-
function
|
|
3639
|
+
}, Bn = (e, t) => Tn(e, Hn(t));
|
|
3640
|
+
let pt;
|
|
3641
|
+
const Xe = Ie(null);
|
|
3642
|
+
function Ut(e) {
|
|
3613
3643
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
3614
3644
|
}
|
|
3615
|
-
function
|
|
3616
|
-
const r =
|
|
3617
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3645
|
+
function Re(e, t = He().fallbackLocale) {
|
|
3646
|
+
const r = Ut(e);
|
|
3647
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
|
|
3618
3648
|
}
|
|
3619
|
-
function
|
|
3620
|
-
return
|
|
3649
|
+
function ce() {
|
|
3650
|
+
return pt ?? void 0;
|
|
3621
3651
|
}
|
|
3622
|
-
|
|
3623
|
-
|
|
3652
|
+
Xe.subscribe((e) => {
|
|
3653
|
+
pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3624
3654
|
});
|
|
3625
|
-
const
|
|
3626
|
-
if (e &&
|
|
3627
|
-
const { loadingDelay: t } =
|
|
3655
|
+
const $n = (e) => {
|
|
3656
|
+
if (e && dn(e) && ze(e)) {
|
|
3657
|
+
const { loadingDelay: t } = He();
|
|
3628
3658
|
let r;
|
|
3629
|
-
return typeof window < "u" &&
|
|
3630
|
-
() =>
|
|
3659
|
+
return typeof window < "u" && ce() != null && t ? r = window.setTimeout(
|
|
3660
|
+
() => nt.set(!0),
|
|
3631
3661
|
t
|
|
3632
|
-
) :
|
|
3633
|
-
|
|
3662
|
+
) : nt.set(!0), Er(e).then(() => {
|
|
3663
|
+
Xe.set(e);
|
|
3634
3664
|
}).finally(() => {
|
|
3635
|
-
clearTimeout(r),
|
|
3665
|
+
clearTimeout(r), nt.set(!1);
|
|
3636
3666
|
});
|
|
3637
3667
|
}
|
|
3638
|
-
return
|
|
3639
|
-
},
|
|
3640
|
-
set:
|
|
3641
|
-
}),
|
|
3668
|
+
return Xe.set(e);
|
|
3669
|
+
}, pe = Bn(An({}, Xe), {
|
|
3670
|
+
set: $n
|
|
3671
|
+
}), Ze = (e) => {
|
|
3642
3672
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3643
3673
|
return (i) => {
|
|
3644
3674
|
const n = JSON.stringify(i);
|
|
3645
3675
|
return n in t ? t[n] : t[n] = e(i);
|
|
3646
3676
|
};
|
|
3647
3677
|
};
|
|
3648
|
-
var
|
|
3678
|
+
var Mn = Object.defineProperty, We = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
|
|
3649
3679
|
for (var r in t || (t = {}))
|
|
3650
|
-
|
|
3651
|
-
if (
|
|
3652
|
-
for (var r of
|
|
3653
|
-
|
|
3680
|
+
wr.call(t, r) && Ft(e, r, t[r]);
|
|
3681
|
+
if (We)
|
|
3682
|
+
for (var r of We(t))
|
|
3683
|
+
Sr.call(t, r) && Ft(e, r, t[r]);
|
|
3654
3684
|
return e;
|
|
3655
|
-
},
|
|
3685
|
+
}, Oe = (e, t) => {
|
|
3656
3686
|
var r = {};
|
|
3657
3687
|
for (var i in e)
|
|
3658
|
-
|
|
3659
|
-
if (e != null &&
|
|
3660
|
-
for (var i of
|
|
3661
|
-
t.indexOf(i) < 0 &&
|
|
3688
|
+
wr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
3689
|
+
if (e != null && We)
|
|
3690
|
+
for (var i of We(e))
|
|
3691
|
+
t.indexOf(i) < 0 && Sr.call(e, i) && (r[i] = e[i]);
|
|
3662
3692
|
return r;
|
|
3663
3693
|
};
|
|
3664
|
-
const
|
|
3665
|
-
const { formats: r } =
|
|
3694
|
+
const De = (e, t) => {
|
|
3695
|
+
const { formats: r } = He();
|
|
3666
3696
|
if (e in r && t in r[e])
|
|
3667
3697
|
return r[e][t];
|
|
3668
3698
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3669
|
-
},
|
|
3699
|
+
}, Cn = Ze(
|
|
3670
3700
|
(e) => {
|
|
3671
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3701
|
+
var t = e, { locale: r, format: i } = t, n = Oe(t, ["locale", "format"]);
|
|
3672
3702
|
if (r == null)
|
|
3673
3703
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3674
|
-
return i && (n =
|
|
3704
|
+
return i && (n = De("number", i)), new Intl.NumberFormat(r, n);
|
|
3675
3705
|
}
|
|
3676
|
-
),
|
|
3706
|
+
), Dn = Ze(
|
|
3677
3707
|
(e) => {
|
|
3678
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3708
|
+
var t = e, { locale: r, format: i } = t, n = Oe(t, ["locale", "format"]);
|
|
3679
3709
|
if (r == null)
|
|
3680
3710
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3681
|
-
return i ? n =
|
|
3711
|
+
return i ? n = De("date", i) : Object.keys(n).length === 0 && (n = De("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
3682
3712
|
}
|
|
3683
|
-
),
|
|
3713
|
+
), Ln = Ze(
|
|
3684
3714
|
(e) => {
|
|
3685
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3715
|
+
var t = e, { locale: r, format: i } = t, n = Oe(t, ["locale", "format"]);
|
|
3686
3716
|
if (r == null)
|
|
3687
3717
|
throw new Error(
|
|
3688
3718
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3689
3719
|
);
|
|
3690
|
-
return i ? n =
|
|
3720
|
+
return i ? n = De("time", i) : Object.keys(n).length === 0 && (n = De("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
3691
3721
|
}
|
|
3692
|
-
),
|
|
3722
|
+
), In = (e = {}) => {
|
|
3693
3723
|
var t = e, {
|
|
3694
|
-
locale: r =
|
|
3695
|
-
} = t, i =
|
|
3724
|
+
locale: r = ce()
|
|
3725
|
+
} = t, i = Oe(t, [
|
|
3696
3726
|
"locale"
|
|
3697
3727
|
]);
|
|
3698
|
-
return
|
|
3699
|
-
},
|
|
3728
|
+
return Cn(Et({ locale: r }, i));
|
|
3729
|
+
}, Nn = (e = {}) => {
|
|
3700
3730
|
var t = e, {
|
|
3701
|
-
locale: r =
|
|
3702
|
-
} = t, i =
|
|
3731
|
+
locale: r = ce()
|
|
3732
|
+
} = t, i = Oe(t, [
|
|
3703
3733
|
"locale"
|
|
3704
3734
|
]);
|
|
3705
|
-
return
|
|
3706
|
-
},
|
|
3735
|
+
return Dn(Et({ locale: r }, i));
|
|
3736
|
+
}, Rn = (e = {}) => {
|
|
3707
3737
|
var t = e, {
|
|
3708
|
-
locale: r =
|
|
3709
|
-
} = t, i =
|
|
3738
|
+
locale: r = ce()
|
|
3739
|
+
} = t, i = Oe(t, [
|
|
3710
3740
|
"locale"
|
|
3711
3741
|
]);
|
|
3712
|
-
return
|
|
3713
|
-
},
|
|
3742
|
+
return Ln(Et({ locale: r }, i));
|
|
3743
|
+
}, kn = Ze(
|
|
3714
3744
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3715
|
-
(e, t =
|
|
3716
|
-
ignoreTag:
|
|
3745
|
+
(e, t = ce()) => new br(e, t, He().formats, {
|
|
3746
|
+
ignoreTag: He().ignoreTag
|
|
3717
3747
|
})
|
|
3718
|
-
),
|
|
3748
|
+
), Un = (e, t = {}) => {
|
|
3719
3749
|
var r, i, n, s;
|
|
3720
|
-
let
|
|
3721
|
-
typeof e == "object" && (
|
|
3750
|
+
let o = t;
|
|
3751
|
+
typeof e == "object" && (o = e, e = o.id);
|
|
3722
3752
|
const {
|
|
3723
3753
|
values: u,
|
|
3724
|
-
locale:
|
|
3754
|
+
locale: a = ce(),
|
|
3725
3755
|
default: l
|
|
3726
|
-
} =
|
|
3727
|
-
if (
|
|
3756
|
+
} = o;
|
|
3757
|
+
if (a == null)
|
|
3728
3758
|
throw new Error(
|
|
3729
3759
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3730
3760
|
);
|
|
3731
|
-
let h =
|
|
3761
|
+
let h = vr(e, a);
|
|
3732
3762
|
if (!h)
|
|
3733
|
-
h = (s = (n = (i = (r =
|
|
3763
|
+
h = (s = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: a, id: e, defaultValue: l })) != null ? n : l) != null ? s : e;
|
|
3734
3764
|
else if (typeof h != "string")
|
|
3735
3765
|
return console.warn(
|
|
3736
3766
|
`[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.`
|
|
@@ -3739,7 +3769,7 @@ const Le = (e, t) => {
|
|
|
3739
3769
|
return h;
|
|
3740
3770
|
let c = h;
|
|
3741
3771
|
try {
|
|
3742
|
-
c =
|
|
3772
|
+
c = kn(h, a).format(u);
|
|
3743
3773
|
} catch (p) {
|
|
3744
3774
|
p instanceof Error && console.warn(
|
|
3745
3775
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3747,20 +3777,20 @@ const Le = (e, t) => {
|
|
|
3747
3777
|
);
|
|
3748
3778
|
}
|
|
3749
3779
|
return c;
|
|
3750
|
-
},
|
|
3751
|
-
Pe([
|
|
3752
|
-
Pe([
|
|
3753
|
-
Pe([
|
|
3754
|
-
Pe([
|
|
3755
|
-
function
|
|
3756
|
-
|
|
3757
|
-
}
|
|
3758
|
-
function
|
|
3759
|
-
|
|
3780
|
+
}, Fn = (e, t) => Rn(t).format(e), Vn = (e, t) => Nn(t).format(e), Gn = (e, t) => In(t).format(e), jn = (e, t = ce()) => vr(e, t), zn = Pe([pe, Ne], () => Un);
|
|
3781
|
+
Pe([pe], () => Fn);
|
|
3782
|
+
Pe([pe], () => Vn);
|
|
3783
|
+
Pe([pe], () => Gn);
|
|
3784
|
+
Pe([pe, Ne], () => jn);
|
|
3785
|
+
function Vt(e, t) {
|
|
3786
|
+
_r(e, t);
|
|
3787
|
+
}
|
|
3788
|
+
function Xn(e) {
|
|
3789
|
+
wn({
|
|
3760
3790
|
fallbackLocale: "en"
|
|
3761
|
-
}),
|
|
3791
|
+
}), pe.set(e);
|
|
3762
3792
|
}
|
|
3763
|
-
const
|
|
3793
|
+
const Gt = {
|
|
3764
3794
|
en: {
|
|
3765
3795
|
"verification.video.how-to": "How to verify yourself",
|
|
3766
3796
|
"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",
|
|
@@ -3828,18 +3858,18 @@ if (typeof window < "u") {
|
|
|
3828
3858
|
}
|
|
3829
3859
|
};
|
|
3830
3860
|
};
|
|
3831
|
-
customElements.define = e(customElements.define), import("./CashierVideoModal-
|
|
3861
|
+
customElements.define = e(customElements.define), import("./CashierVideoModal-BPGMPPir.js").then(({ default: t }) => {
|
|
3832
3862
|
!customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
|
|
3833
3863
|
});
|
|
3834
3864
|
}
|
|
3835
|
-
let
|
|
3836
|
-
function
|
|
3865
|
+
let Wn = Ie(null);
|
|
3866
|
+
function qn(e, t) {
|
|
3837
3867
|
if (e) {
|
|
3838
3868
|
const r = document.createElement("style");
|
|
3839
3869
|
r.innerHTML = t, e.appendChild(r);
|
|
3840
3870
|
}
|
|
3841
3871
|
}
|
|
3842
|
-
function
|
|
3872
|
+
function Yn(e, t) {
|
|
3843
3873
|
const r = new URL(t);
|
|
3844
3874
|
fetch(r.href).then((i) => i.text()).then((i) => {
|
|
3845
3875
|
const n = document.createElement("style");
|
|
@@ -3848,7 +3878,7 @@ function Zn(e, t) {
|
|
|
3848
3878
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
3849
3879
|
});
|
|
3850
3880
|
}
|
|
3851
|
-
function
|
|
3881
|
+
function Zn(e, t, r) {
|
|
3852
3882
|
if (window.emMessageBus) {
|
|
3853
3883
|
const i = document.createElement("style");
|
|
3854
3884
|
window.emMessageBus.subscribe(t, (n) => {
|
|
@@ -3856,36 +3886,36 @@ function Jn(e, t, r) {
|
|
|
3856
3886
|
});
|
|
3857
3887
|
}
|
|
3858
3888
|
}
|
|
3859
|
-
var
|
|
3889
|
+
var Tr = { exports: {} };
|
|
3860
3890
|
(function(e, t) {
|
|
3861
3891
|
(function(r, i) {
|
|
3862
3892
|
e.exports = i();
|
|
3863
|
-
})(
|
|
3864
|
-
var r = 1e3, i = 6e4, n = 36e5, s = "millisecond",
|
|
3893
|
+
})(Kt, function() {
|
|
3894
|
+
var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", o = "second", u = "minute", a = "hour", l = "day", h = "week", c = "month", p = "quarter", _ = "year", S = "date", b = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { 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) {
|
|
3865
3895
|
var g = ["th", "st", "nd", "rd"], d = x % 100;
|
|
3866
3896
|
return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
|
|
3867
|
-
} },
|
|
3868
|
-
var
|
|
3869
|
-
return !
|
|
3870
|
-
}, z = { s:
|
|
3871
|
-
var g = -x.utcOffset(), d = Math.abs(g),
|
|
3872
|
-
return (g <= 0 ? "+" : "-") +
|
|
3897
|
+
} }, B = function(x, g, d) {
|
|
3898
|
+
var v = String(x);
|
|
3899
|
+
return !v || v.length >= g ? x : "" + Array(g + 1 - v.length).join(d) + x;
|
|
3900
|
+
}, z = { s: B, z: function(x) {
|
|
3901
|
+
var g = -x.utcOffset(), d = Math.abs(g), v = Math.floor(d / 60), m = d % 60;
|
|
3902
|
+
return (g <= 0 ? "+" : "-") + B(v, 2, "0") + ":" + B(m, 2, "0");
|
|
3873
3903
|
}, m: function x(g, d) {
|
|
3874
3904
|
if (g.date() < d.date())
|
|
3875
3905
|
return -x(d, g);
|
|
3876
|
-
var
|
|
3877
|
-
return +(-(
|
|
3906
|
+
var v = 12 * (d.year() - g.year()) + (d.month() - g.month()), m = g.clone().add(v, c), E = d - m < 0, w = g.clone().add(v + (E ? -1 : 1), c);
|
|
3907
|
+
return +(-(v + (d - m) / (E ? m - w : w - m)) || 0);
|
|
3878
3908
|
}, a: function(x) {
|
|
3879
3909
|
return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
|
|
3880
3910
|
}, p: function(x) {
|
|
3881
|
-
return { M: c, y: _, w: h, d: l, D: S, h:
|
|
3911
|
+
return { M: c, y: _, w: h, d: l, D: S, h: a, m: u, s: o, ms: s, Q: p }[x] || String(x || "").toLowerCase().replace(/s$/, "");
|
|
3882
3912
|
}, u: function(x) {
|
|
3883
3913
|
return x === void 0;
|
|
3884
3914
|
} }, I = "en", U = {};
|
|
3885
3915
|
U[I] = R;
|
|
3886
|
-
var W = "$isDayjsObject",
|
|
3916
|
+
var W = "$isDayjsObject", oe = function(x) {
|
|
3887
3917
|
return x instanceof k || !(!x || !x[W]);
|
|
3888
|
-
}, Y = function x(g, d,
|
|
3918
|
+
}, Y = function x(g, d, v) {
|
|
3889
3919
|
var m;
|
|
3890
3920
|
if (!g)
|
|
3891
3921
|
return I;
|
|
@@ -3899,15 +3929,15 @@ var Hr = { exports: {} };
|
|
|
3899
3929
|
var $ = g.name;
|
|
3900
3930
|
U[$] = g, m = $;
|
|
3901
3931
|
}
|
|
3902
|
-
return !
|
|
3903
|
-
},
|
|
3904
|
-
if (
|
|
3932
|
+
return !v && m && (I = m), m || !v && I;
|
|
3933
|
+
}, C = function(x, g) {
|
|
3934
|
+
if (oe(x))
|
|
3905
3935
|
return x.clone();
|
|
3906
3936
|
var d = typeof g == "object" ? g : {};
|
|
3907
3937
|
return d.date = x, d.args = arguments, new k(d);
|
|
3908
|
-
},
|
|
3909
|
-
|
|
3910
|
-
return
|
|
3938
|
+
}, O = z;
|
|
3939
|
+
O.l = Y, O.i = oe, O.w = function(x, g) {
|
|
3940
|
+
return C(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
|
|
3911
3941
|
};
|
|
3912
3942
|
var k = function() {
|
|
3913
3943
|
function x(d) {
|
|
@@ -3915,19 +3945,19 @@ var Hr = { exports: {} };
|
|
|
3915
3945
|
}
|
|
3916
3946
|
var g = x.prototype;
|
|
3917
3947
|
return g.parse = function(d) {
|
|
3918
|
-
this.$d = function(
|
|
3919
|
-
var m =
|
|
3948
|
+
this.$d = function(v) {
|
|
3949
|
+
var m = v.date, E = v.utc;
|
|
3920
3950
|
if (m === null)
|
|
3921
3951
|
return /* @__PURE__ */ new Date(NaN);
|
|
3922
|
-
if (
|
|
3952
|
+
if (O.u(m))
|
|
3923
3953
|
return /* @__PURE__ */ new Date();
|
|
3924
3954
|
if (m instanceof Date)
|
|
3925
3955
|
return new Date(m);
|
|
3926
3956
|
if (typeof m == "string" && !/Z$/i.test(m)) {
|
|
3927
|
-
var w = m.match(
|
|
3957
|
+
var w = m.match(M);
|
|
3928
3958
|
if (w) {
|
|
3929
|
-
var $ = w[2] - 1 || 0,
|
|
3930
|
-
return E ? new Date(Date.UTC(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0,
|
|
3959
|
+
var $ = w[2] - 1 || 0, L = (w[7] || "0").substring(0, 3);
|
|
3960
|
+
return E ? new Date(Date.UTC(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L)) : new Date(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L);
|
|
3931
3961
|
}
|
|
3932
3962
|
}
|
|
3933
3963
|
return new Date(m);
|
|
@@ -3936,69 +3966,69 @@ var Hr = { exports: {} };
|
|
|
3936
3966
|
var d = this.$d;
|
|
3937
3967
|
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();
|
|
3938
3968
|
}, g.$utils = function() {
|
|
3939
|
-
return
|
|
3969
|
+
return O;
|
|
3940
3970
|
}, g.isValid = function() {
|
|
3941
|
-
return this.$d.toString() !==
|
|
3942
|
-
}, g.isSame = function(d,
|
|
3943
|
-
var m =
|
|
3944
|
-
return this.startOf(
|
|
3945
|
-
}, g.isAfter = function(d,
|
|
3946
|
-
return
|
|
3947
|
-
}, g.isBefore = function(d,
|
|
3948
|
-
return this.endOf(
|
|
3949
|
-
}, g.$g = function(d,
|
|
3950
|
-
return
|
|
3971
|
+
return this.$d.toString() !== b;
|
|
3972
|
+
}, g.isSame = function(d, v) {
|
|
3973
|
+
var m = C(d);
|
|
3974
|
+
return this.startOf(v) <= m && m <= this.endOf(v);
|
|
3975
|
+
}, g.isAfter = function(d, v) {
|
|
3976
|
+
return C(d) < this.startOf(v);
|
|
3977
|
+
}, g.isBefore = function(d, v) {
|
|
3978
|
+
return this.endOf(v) < C(d);
|
|
3979
|
+
}, g.$g = function(d, v, m) {
|
|
3980
|
+
return O.u(d) ? this[v] : this.set(m, d);
|
|
3951
3981
|
}, g.unix = function() {
|
|
3952
3982
|
return Math.floor(this.valueOf() / 1e3);
|
|
3953
3983
|
}, g.valueOf = function() {
|
|
3954
3984
|
return this.$d.getTime();
|
|
3955
|
-
}, g.startOf = function(d,
|
|
3956
|
-
var m = this, E = !!
|
|
3957
|
-
var ie =
|
|
3985
|
+
}, g.startOf = function(d, v) {
|
|
3986
|
+
var m = this, E = !!O.u(v) || v, w = O.p(d), $ = function(ae, G) {
|
|
3987
|
+
var ie = O.w(m.$u ? Date.UTC(m.$y, G, ae) : new Date(m.$y, G, ae), m);
|
|
3958
3988
|
return E ? ie : ie.endOf(l);
|
|
3959
|
-
},
|
|
3960
|
-
return
|
|
3961
|
-
}, N = this.$W, F = this.$M, X = this.$D,
|
|
3989
|
+
}, L = function(ae, G) {
|
|
3990
|
+
return O.w(m.toDate()[ae].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), m);
|
|
3991
|
+
}, N = this.$W, F = this.$M, X = this.$D, he = "set" + (this.$u ? "UTC" : "");
|
|
3962
3992
|
switch (w) {
|
|
3963
3993
|
case _:
|
|
3964
3994
|
return E ? $(1, 0) : $(31, 11);
|
|
3965
3995
|
case c:
|
|
3966
3996
|
return E ? $(1, F) : $(0, F + 1);
|
|
3967
3997
|
case h:
|
|
3968
|
-
var re = this.$locale().weekStart || 0,
|
|
3969
|
-
return $(E ? X -
|
|
3998
|
+
var re = this.$locale().weekStart || 0, de = (N < re ? N + 7 : N) - re;
|
|
3999
|
+
return $(E ? X - de : X + (6 - de), F);
|
|
3970
4000
|
case l:
|
|
3971
4001
|
case S:
|
|
3972
|
-
return
|
|
3973
|
-
case o:
|
|
3974
|
-
return D(fe + "Minutes", 1);
|
|
3975
|
-
case u:
|
|
3976
|
-
return D(fe + "Seconds", 2);
|
|
4002
|
+
return L(he + "Hours", 0);
|
|
3977
4003
|
case a:
|
|
3978
|
-
return
|
|
4004
|
+
return L(he + "Minutes", 1);
|
|
4005
|
+
case u:
|
|
4006
|
+
return L(he + "Seconds", 2);
|
|
4007
|
+
case o:
|
|
4008
|
+
return L(he + "Milliseconds", 3);
|
|
3979
4009
|
default:
|
|
3980
4010
|
return this.clone();
|
|
3981
4011
|
}
|
|
3982
4012
|
}, g.endOf = function(d) {
|
|
3983
4013
|
return this.startOf(d, !1);
|
|
3984
|
-
}, g.$set = function(d,
|
|
3985
|
-
var m, E =
|
|
4014
|
+
}, g.$set = function(d, v) {
|
|
4015
|
+
var m, E = O.p(d), w = "set" + (this.$u ? "UTC" : ""), $ = (m = {}, m[l] = w + "Date", m[S] = w + "Date", m[c] = w + "Month", m[_] = w + "FullYear", m[a] = w + "Hours", m[u] = w + "Minutes", m[o] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], L = E === l ? this.$D + (v - this.$W) : v;
|
|
3986
4016
|
if (E === c || E === _) {
|
|
3987
4017
|
var N = this.clone().set(S, 1);
|
|
3988
|
-
N.$d[$](
|
|
4018
|
+
N.$d[$](L), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
|
|
3989
4019
|
} else
|
|
3990
|
-
$ && this.$d[$](
|
|
4020
|
+
$ && this.$d[$](L);
|
|
3991
4021
|
return this.init(), this;
|
|
3992
|
-
}, g.set = function(d,
|
|
3993
|
-
return this.clone().$set(d,
|
|
4022
|
+
}, g.set = function(d, v) {
|
|
4023
|
+
return this.clone().$set(d, v);
|
|
3994
4024
|
}, g.get = function(d) {
|
|
3995
|
-
return this[
|
|
3996
|
-
}, g.add = function(d,
|
|
4025
|
+
return this[O.p(d)]();
|
|
4026
|
+
}, g.add = function(d, v) {
|
|
3997
4027
|
var m, E = this;
|
|
3998
4028
|
d = Number(d);
|
|
3999
|
-
var w =
|
|
4000
|
-
var X =
|
|
4001
|
-
return
|
|
4029
|
+
var w = O.p(v), $ = function(F) {
|
|
4030
|
+
var X = C(E);
|
|
4031
|
+
return O.w(X.date(X.date() + Math.round(F * d)), E);
|
|
4002
4032
|
};
|
|
4003
4033
|
if (w === c)
|
|
4004
4034
|
return this.set(c, this.$M + d);
|
|
@@ -4008,71 +4038,71 @@ var Hr = { exports: {} };
|
|
|
4008
4038
|
return $(1);
|
|
4009
4039
|
if (w === h)
|
|
4010
4040
|
return $(7);
|
|
4011
|
-
var
|
|
4012
|
-
return
|
|
4013
|
-
}, g.subtract = function(d,
|
|
4014
|
-
return this.add(-1 * d,
|
|
4041
|
+
var L = (m = {}, m[u] = i, m[a] = n, m[o] = r, m)[w] || 1, N = this.$d.getTime() + d * L;
|
|
4042
|
+
return O.w(N, this);
|
|
4043
|
+
}, g.subtract = function(d, v) {
|
|
4044
|
+
return this.add(-1 * d, v);
|
|
4015
4045
|
}, g.format = function(d) {
|
|
4016
|
-
var
|
|
4046
|
+
var v = this, m = this.$locale();
|
|
4017
4047
|
if (!this.isValid())
|
|
4018
|
-
return m.invalidDate ||
|
|
4019
|
-
var E = d || "YYYY-MM-DDTHH:mm:ssZ", w =
|
|
4020
|
-
return G && (G[ie] || G(
|
|
4021
|
-
},
|
|
4022
|
-
return
|
|
4023
|
-
},
|
|
4024
|
-
var
|
|
4025
|
-
return
|
|
4048
|
+
return m.invalidDate || b;
|
|
4049
|
+
var E = d || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this), $ = this.$H, L = this.$m, N = this.$M, F = m.weekdays, X = m.months, he = m.meridiem, re = function(G, ie, ue, ge) {
|
|
4050
|
+
return G && (G[ie] || G(v, E)) || ue[ie].slice(0, ge);
|
|
4051
|
+
}, de = function(G) {
|
|
4052
|
+
return O.s($ % 12 || 12, G, "0");
|
|
4053
|
+
}, ae = he || function(G, ie, ue) {
|
|
4054
|
+
var ge = G < 12 ? "AM" : "PM";
|
|
4055
|
+
return ue ? ge.toLowerCase() : ge;
|
|
4026
4056
|
};
|
|
4027
4057
|
return E.replace(V, function(G, ie) {
|
|
4028
|
-
return ie || function(
|
|
4029
|
-
switch (
|
|
4058
|
+
return ie || function(ue) {
|
|
4059
|
+
switch (ue) {
|
|
4030
4060
|
case "YY":
|
|
4031
|
-
return String(
|
|
4061
|
+
return String(v.$y).slice(-2);
|
|
4032
4062
|
case "YYYY":
|
|
4033
|
-
return
|
|
4063
|
+
return O.s(v.$y, 4, "0");
|
|
4034
4064
|
case "M":
|
|
4035
4065
|
return N + 1;
|
|
4036
4066
|
case "MM":
|
|
4037
|
-
return
|
|
4067
|
+
return O.s(N + 1, 2, "0");
|
|
4038
4068
|
case "MMM":
|
|
4039
4069
|
return re(m.monthsShort, N, X, 3);
|
|
4040
4070
|
case "MMMM":
|
|
4041
4071
|
return re(X, N);
|
|
4042
4072
|
case "D":
|
|
4043
|
-
return
|
|
4073
|
+
return v.$D;
|
|
4044
4074
|
case "DD":
|
|
4045
|
-
return
|
|
4075
|
+
return O.s(v.$D, 2, "0");
|
|
4046
4076
|
case "d":
|
|
4047
|
-
return String(
|
|
4077
|
+
return String(v.$W);
|
|
4048
4078
|
case "dd":
|
|
4049
|
-
return re(m.weekdaysMin,
|
|
4079
|
+
return re(m.weekdaysMin, v.$W, F, 2);
|
|
4050
4080
|
case "ddd":
|
|
4051
|
-
return re(m.weekdaysShort,
|
|
4081
|
+
return re(m.weekdaysShort, v.$W, F, 3);
|
|
4052
4082
|
case "dddd":
|
|
4053
|
-
return F[
|
|
4083
|
+
return F[v.$W];
|
|
4054
4084
|
case "H":
|
|
4055
4085
|
return String($);
|
|
4056
4086
|
case "HH":
|
|
4057
|
-
return
|
|
4087
|
+
return O.s($, 2, "0");
|
|
4058
4088
|
case "h":
|
|
4059
|
-
return
|
|
4089
|
+
return de(1);
|
|
4060
4090
|
case "hh":
|
|
4061
|
-
return
|
|
4091
|
+
return de(2);
|
|
4062
4092
|
case "a":
|
|
4063
|
-
return
|
|
4093
|
+
return ae($, L, !0);
|
|
4064
4094
|
case "A":
|
|
4065
|
-
return
|
|
4095
|
+
return ae($, L, !1);
|
|
4066
4096
|
case "m":
|
|
4067
|
-
return String(
|
|
4097
|
+
return String(L);
|
|
4068
4098
|
case "mm":
|
|
4069
|
-
return
|
|
4099
|
+
return O.s(L, 2, "0");
|
|
4070
4100
|
case "s":
|
|
4071
|
-
return String(
|
|
4101
|
+
return String(v.$s);
|
|
4072
4102
|
case "ss":
|
|
4073
|
-
return
|
|
4103
|
+
return O.s(v.$s, 2, "0");
|
|
4074
4104
|
case "SSS":
|
|
4075
|
-
return
|
|
4105
|
+
return O.s(v.$ms, 3, "0");
|
|
4076
4106
|
case "Z":
|
|
4077
4107
|
return w;
|
|
4078
4108
|
}
|
|
@@ -4081,9 +4111,9 @@ var Hr = { exports: {} };
|
|
|
4081
4111
|
});
|
|
4082
4112
|
}, g.utcOffset = function() {
|
|
4083
4113
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4084
|
-
}, g.diff = function(d,
|
|
4085
|
-
var E, w = this, $ =
|
|
4086
|
-
return
|
|
4114
|
+
}, g.diff = function(d, v, m) {
|
|
4115
|
+
var E, w = this, $ = O.p(v), L = C(d), N = (L.utcOffset() - this.utcOffset()) * i, F = this - L, X = function() {
|
|
4116
|
+
return O.m(w, L);
|
|
4087
4117
|
};
|
|
4088
4118
|
switch ($) {
|
|
4089
4119
|
case _:
|
|
@@ -4101,30 +4131,30 @@ var Hr = { exports: {} };
|
|
|
4101
4131
|
case l:
|
|
4102
4132
|
E = (F - N) / 864e5;
|
|
4103
4133
|
break;
|
|
4104
|
-
case
|
|
4134
|
+
case a:
|
|
4105
4135
|
E = F / n;
|
|
4106
4136
|
break;
|
|
4107
4137
|
case u:
|
|
4108
4138
|
E = F / i;
|
|
4109
4139
|
break;
|
|
4110
|
-
case
|
|
4140
|
+
case o:
|
|
4111
4141
|
E = F / r;
|
|
4112
4142
|
break;
|
|
4113
4143
|
default:
|
|
4114
4144
|
E = F;
|
|
4115
4145
|
}
|
|
4116
|
-
return m ? E :
|
|
4146
|
+
return m ? E : O.a(E);
|
|
4117
4147
|
}, g.daysInMonth = function() {
|
|
4118
4148
|
return this.endOf(c).$D;
|
|
4119
4149
|
}, g.$locale = function() {
|
|
4120
4150
|
return U[this.$L];
|
|
4121
|
-
}, g.locale = function(d,
|
|
4151
|
+
}, g.locale = function(d, v) {
|
|
4122
4152
|
if (!d)
|
|
4123
4153
|
return this.$L;
|
|
4124
|
-
var m = this.clone(), E = Y(d,
|
|
4154
|
+
var m = this.clone(), E = Y(d, v, !0);
|
|
4125
4155
|
return E && (m.$L = E), m;
|
|
4126
4156
|
}, g.clone = function() {
|
|
4127
|
-
return
|
|
4157
|
+
return O.w(this.$d, this);
|
|
4128
4158
|
}, g.toDate = function() {
|
|
4129
4159
|
return new Date(this.valueOf());
|
|
4130
4160
|
}, g.toJSON = function() {
|
|
@@ -4134,127 +4164,127 @@ var Hr = { exports: {} };
|
|
|
4134
4164
|
}, g.toString = function() {
|
|
4135
4165
|
return this.$d.toUTCString();
|
|
4136
4166
|
}, x;
|
|
4137
|
-
}(),
|
|
4138
|
-
return
|
|
4139
|
-
|
|
4167
|
+
}(), le = k.prototype;
|
|
4168
|
+
return C.prototype = le, [["$ms", s], ["$s", o], ["$m", u], ["$H", a], ["$W", l], ["$M", c], ["$y", _], ["$D", S]].forEach(function(x) {
|
|
4169
|
+
le[x[1]] = function(g) {
|
|
4140
4170
|
return this.$g(g, x[0], x[1]);
|
|
4141
4171
|
};
|
|
4142
|
-
}),
|
|
4143
|
-
return x.$i || (x(g, k,
|
|
4144
|
-
},
|
|
4145
|
-
return
|
|
4146
|
-
},
|
|
4172
|
+
}), C.extend = function(x, g) {
|
|
4173
|
+
return x.$i || (x(g, k, C), x.$i = !0), C;
|
|
4174
|
+
}, C.locale = Y, C.isDayjs = oe, C.unix = function(x) {
|
|
4175
|
+
return C(1e3 * x);
|
|
4176
|
+
}, C.en = U[I], C.Ls = U, C.p = {}, C;
|
|
4147
4177
|
});
|
|
4148
|
-
})(
|
|
4149
|
-
var
|
|
4150
|
-
const
|
|
4151
|
-
var
|
|
4178
|
+
})(Tr);
|
|
4179
|
+
var Jn = Tr.exports;
|
|
4180
|
+
const jt = /* @__PURE__ */ yt(Jn);
|
|
4181
|
+
var Hr = { exports: {} };
|
|
4152
4182
|
(function(e, t) {
|
|
4153
4183
|
(function(r, i) {
|
|
4154
4184
|
e.exports = i();
|
|
4155
|
-
})(
|
|
4185
|
+
})(Kt, function() {
|
|
4156
4186
|
var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
|
|
4157
|
-
return function(s,
|
|
4158
|
-
var
|
|
4159
|
-
u.utc = function(
|
|
4160
|
-
var
|
|
4161
|
-
return new
|
|
4162
|
-
},
|
|
4163
|
-
var
|
|
4164
|
-
return
|
|
4165
|
-
},
|
|
4187
|
+
return function(s, o, u) {
|
|
4188
|
+
var a = o.prototype;
|
|
4189
|
+
u.utc = function(b) {
|
|
4190
|
+
var M = { date: b, utc: !0, args: arguments };
|
|
4191
|
+
return new o(M);
|
|
4192
|
+
}, a.utc = function(b) {
|
|
4193
|
+
var M = u(this.toDate(), { locale: this.$L, utc: !0 });
|
|
4194
|
+
return b ? M.add(this.utcOffset(), r) : M;
|
|
4195
|
+
}, a.local = function() {
|
|
4166
4196
|
return u(this.toDate(), { locale: this.$L, utc: !1 });
|
|
4167
4197
|
};
|
|
4168
|
-
var l =
|
|
4169
|
-
|
|
4170
|
-
|
|
4198
|
+
var l = a.parse;
|
|
4199
|
+
a.parse = function(b) {
|
|
4200
|
+
b.utc && (this.$u = !0), this.$utils().u(b.$offset) || (this.$offset = b.$offset), l.call(this, b);
|
|
4171
4201
|
};
|
|
4172
|
-
var h =
|
|
4173
|
-
|
|
4202
|
+
var h = a.init;
|
|
4203
|
+
a.init = function() {
|
|
4174
4204
|
if (this.$u) {
|
|
4175
|
-
var
|
|
4176
|
-
this.$y =
|
|
4205
|
+
var b = this.$d;
|
|
4206
|
+
this.$y = b.getUTCFullYear(), this.$M = b.getUTCMonth(), this.$D = b.getUTCDate(), this.$W = b.getUTCDay(), this.$H = b.getUTCHours(), this.$m = b.getUTCMinutes(), this.$s = b.getUTCSeconds(), this.$ms = b.getUTCMilliseconds();
|
|
4177
4207
|
} else
|
|
4178
4208
|
h.call(this);
|
|
4179
4209
|
};
|
|
4180
|
-
var c =
|
|
4181
|
-
|
|
4210
|
+
var c = a.utcOffset;
|
|
4211
|
+
a.utcOffset = function(b, M) {
|
|
4182
4212
|
var V = this.$utils().u;
|
|
4183
|
-
if (V(
|
|
4213
|
+
if (V(b))
|
|
4184
4214
|
return this.$u ? 0 : V(this.$offset) ? c.call(this) : this.$offset;
|
|
4185
|
-
if (typeof
|
|
4215
|
+
if (typeof b == "string" && (b = function(I) {
|
|
4186
4216
|
I === void 0 && (I = "");
|
|
4187
4217
|
var U = I.match(i);
|
|
4188
4218
|
if (!U)
|
|
4189
4219
|
return null;
|
|
4190
|
-
var W = ("" + U[0]).match(n) || ["-", 0, 0],
|
|
4191
|
-
return Y === 0 ? 0 :
|
|
4192
|
-
}(
|
|
4220
|
+
var W = ("" + U[0]).match(n) || ["-", 0, 0], oe = W[0], Y = 60 * +W[1] + +W[2];
|
|
4221
|
+
return Y === 0 ? 0 : oe === "+" ? Y : -Y;
|
|
4222
|
+
}(b), b === null))
|
|
4193
4223
|
return this;
|
|
4194
|
-
var R = Math.abs(
|
|
4195
|
-
if (
|
|
4196
|
-
return
|
|
4197
|
-
if (
|
|
4224
|
+
var R = Math.abs(b) <= 16 ? 60 * b : b, B = this;
|
|
4225
|
+
if (M)
|
|
4226
|
+
return B.$offset = R, B.$u = b === 0, B;
|
|
4227
|
+
if (b !== 0) {
|
|
4198
4228
|
var z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4199
|
-
(
|
|
4229
|
+
(B = this.local().add(R + z, r)).$offset = R, B.$x.$localOffset = z;
|
|
4200
4230
|
} else
|
|
4201
|
-
|
|
4202
|
-
return
|
|
4231
|
+
B = this.utc();
|
|
4232
|
+
return B;
|
|
4203
4233
|
};
|
|
4204
|
-
var p =
|
|
4205
|
-
|
|
4206
|
-
var
|
|
4207
|
-
return p.call(this,
|
|
4208
|
-
},
|
|
4209
|
-
var
|
|
4210
|
-
return this.$d.valueOf() - 6e4 *
|
|
4211
|
-
},
|
|
4234
|
+
var p = a.format;
|
|
4235
|
+
a.format = function(b) {
|
|
4236
|
+
var M = b || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
4237
|
+
return p.call(this, M);
|
|
4238
|
+
}, a.valueOf = function() {
|
|
4239
|
+
var b = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
4240
|
+
return this.$d.valueOf() - 6e4 * b;
|
|
4241
|
+
}, a.isUTC = function() {
|
|
4212
4242
|
return !!this.$u;
|
|
4213
|
-
},
|
|
4243
|
+
}, a.toISOString = function() {
|
|
4214
4244
|
return this.toDate().toISOString();
|
|
4215
|
-
},
|
|
4245
|
+
}, a.toString = function() {
|
|
4216
4246
|
return this.toDate().toUTCString();
|
|
4217
4247
|
};
|
|
4218
|
-
var _ =
|
|
4219
|
-
|
|
4220
|
-
return
|
|
4248
|
+
var _ = a.toDate;
|
|
4249
|
+
a.toDate = function(b) {
|
|
4250
|
+
return b === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : _.call(this);
|
|
4221
4251
|
};
|
|
4222
|
-
var S =
|
|
4223
|
-
|
|
4224
|
-
if (
|
|
4225
|
-
return S.call(this,
|
|
4226
|
-
var R = this.local(),
|
|
4227
|
-
return S.call(R,
|
|
4252
|
+
var S = a.diff;
|
|
4253
|
+
a.diff = function(b, M, V) {
|
|
4254
|
+
if (b && this.$u === b.$u)
|
|
4255
|
+
return S.call(this, b, M, V);
|
|
4256
|
+
var R = this.local(), B = u(b).local();
|
|
4257
|
+
return S.call(R, B, M, V);
|
|
4228
4258
|
};
|
|
4229
4259
|
};
|
|
4230
4260
|
});
|
|
4231
|
-
})(
|
|
4232
|
-
var
|
|
4233
|
-
const
|
|
4234
|
-
function
|
|
4235
|
-
|
|
4261
|
+
})(Hr);
|
|
4262
|
+
var Qn = Hr.exports;
|
|
4263
|
+
const Kn = /* @__PURE__ */ yt(Qn);
|
|
4264
|
+
function es(e) {
|
|
4265
|
+
Cr(e, "svelte-3ui5us", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative;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)}");
|
|
4236
4266
|
}
|
|
4237
|
-
function
|
|
4267
|
+
function zt(e, t, r) {
|
|
4238
4268
|
const i = e.slice();
|
|
4239
4269
|
return i[54] = t[r], i[56] = r, i;
|
|
4240
4270
|
}
|
|
4241
|
-
function
|
|
4271
|
+
function ts(e) {
|
|
4242
4272
|
let t, r, i, n, s = Pt(
|
|
4243
4273
|
/*displayMessages*/
|
|
4244
4274
|
e[4]
|
|
4245
|
-
),
|
|
4246
|
-
for (let
|
|
4247
|
-
a
|
|
4275
|
+
), o = [];
|
|
4276
|
+
for (let a = 0; a < s.length; a += 1)
|
|
4277
|
+
o[a] = Wt(zt(e, s, a));
|
|
4248
4278
|
let u = (
|
|
4249
4279
|
/*videoExists*/
|
|
4250
|
-
e[7] &&
|
|
4280
|
+
e[7] && qt(e)
|
|
4251
4281
|
);
|
|
4252
4282
|
return {
|
|
4253
4283
|
c() {
|
|
4254
4284
|
t = q("div");
|
|
4255
|
-
for (let
|
|
4256
|
-
a
|
|
4257
|
-
r =
|
|
4285
|
+
for (let a = 0; a < o.length; a += 1)
|
|
4286
|
+
o[a].c();
|
|
4287
|
+
r = _e(), u && u.c(), i = _e(), n = q("cashier-video-modal"), te(t, "class", "CashierVerificationsWrapper"), J(
|
|
4258
4288
|
n,
|
|
4259
4289
|
"clientstylingurl",
|
|
4260
4290
|
/*clientstylingurl*/
|
|
@@ -4276,61 +4306,61 @@ function rs(e) {
|
|
|
4276
4306
|
e[8]
|
|
4277
4307
|
);
|
|
4278
4308
|
},
|
|
4279
|
-
m(
|
|
4280
|
-
|
|
4281
|
-
for (let h = 0; h <
|
|
4282
|
-
|
|
4283
|
-
|
|
4309
|
+
m(a, l) {
|
|
4310
|
+
se(a, t, l);
|
|
4311
|
+
for (let h = 0; h < o.length; h += 1)
|
|
4312
|
+
o[h] && o[h].m(t, null);
|
|
4313
|
+
se(a, r, l), u && u.m(a, l), se(a, i, l), se(a, n, l);
|
|
4284
4314
|
},
|
|
4285
|
-
p(
|
|
4315
|
+
p(a, l) {
|
|
4286
4316
|
if (l[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
|
|
4287
4317
|
2096) {
|
|
4288
4318
|
s = Pt(
|
|
4289
4319
|
/*displayMessages*/
|
|
4290
|
-
|
|
4320
|
+
a[4]
|
|
4291
4321
|
);
|
|
4292
4322
|
let h;
|
|
4293
4323
|
for (h = 0; h < s.length; h += 1) {
|
|
4294
|
-
const c =
|
|
4295
|
-
|
|
4324
|
+
const c = zt(a, s, h);
|
|
4325
|
+
o[h] ? o[h].p(c, l) : (o[h] = Wt(c), o[h].c(), o[h].m(t, null));
|
|
4296
4326
|
}
|
|
4297
|
-
for (; h <
|
|
4298
|
-
|
|
4299
|
-
|
|
4327
|
+
for (; h < o.length; h += 1)
|
|
4328
|
+
o[h].d(1);
|
|
4329
|
+
o.length = s.length;
|
|
4300
4330
|
}
|
|
4301
4331
|
/*videoExists*/
|
|
4302
|
-
|
|
4332
|
+
a[7] ? u ? u.p(a, l) : (u = qt(a), u.c(), u.m(i.parentNode, i)) : u && (u.d(1), u = null), l[0] & /*clientstylingurl*/
|
|
4303
4333
|
2 && J(
|
|
4304
4334
|
n,
|
|
4305
4335
|
"clientstylingurl",
|
|
4306
4336
|
/*clientstylingurl*/
|
|
4307
|
-
|
|
4337
|
+
a[1]
|
|
4308
4338
|
), l[0] & /*clientstyling*/
|
|
4309
4339
|
1 && J(
|
|
4310
4340
|
n,
|
|
4311
4341
|
"clientstyling",
|
|
4312
4342
|
/*clientstyling*/
|
|
4313
|
-
|
|
4343
|
+
a[0]
|
|
4314
4344
|
), l[0] & /*ismobileview*/
|
|
4315
4345
|
4 && J(
|
|
4316
4346
|
n,
|
|
4317
4347
|
"ismobileview",
|
|
4318
4348
|
/*ismobileview*/
|
|
4319
|
-
|
|
4349
|
+
a[2]
|
|
4320
4350
|
), l[0] & /*videoSrc*/
|
|
4321
4351
|
256 && J(
|
|
4322
4352
|
n,
|
|
4323
4353
|
"videosrc",
|
|
4324
4354
|
/*videoSrc*/
|
|
4325
|
-
|
|
4355
|
+
a[8]
|
|
4326
4356
|
);
|
|
4327
4357
|
},
|
|
4328
|
-
d(
|
|
4329
|
-
|
|
4358
|
+
d(a) {
|
|
4359
|
+
a && (K(t), K(r), K(i), K(n)), Ir(o, a), u && u.d(a);
|
|
4330
4360
|
}
|
|
4331
4361
|
};
|
|
4332
4362
|
}
|
|
4333
|
-
function
|
|
4363
|
+
function rs(e) {
|
|
4334
4364
|
let t;
|
|
4335
4365
|
return {
|
|
4336
4366
|
c() {
|
|
@@ -4347,7 +4377,7 @@ function is(e) {
|
|
|
4347
4377
|
);
|
|
4348
4378
|
},
|
|
4349
4379
|
m(r, i) {
|
|
4350
|
-
|
|
4380
|
+
se(r, t, i);
|
|
4351
4381
|
},
|
|
4352
4382
|
p(r, i) {
|
|
4353
4383
|
i[0] & /*clientstylingurl*/
|
|
@@ -4369,7 +4399,7 @@ function is(e) {
|
|
|
4369
4399
|
}
|
|
4370
4400
|
};
|
|
4371
4401
|
}
|
|
4372
|
-
function
|
|
4402
|
+
function Xt(e) {
|
|
4373
4403
|
let t, r, i;
|
|
4374
4404
|
function n(...s) {
|
|
4375
4405
|
return (
|
|
@@ -4385,10 +4415,10 @@ function Wt(e) {
|
|
|
4385
4415
|
c() {
|
|
4386
4416
|
t = q("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', te(t, "class", "CashierVerificationChevron");
|
|
4387
4417
|
},
|
|
4388
|
-
m(s,
|
|
4389
|
-
|
|
4418
|
+
m(s, o) {
|
|
4419
|
+
se(s, t, o), r || (i = vt(t, "click", n), r = !0);
|
|
4390
4420
|
},
|
|
4391
|
-
p(s,
|
|
4421
|
+
p(s, o) {
|
|
4392
4422
|
e = s;
|
|
4393
4423
|
},
|
|
4394
4424
|
d(s) {
|
|
@@ -4396,14 +4426,14 @@ function Wt(e) {
|
|
|
4396
4426
|
}
|
|
4397
4427
|
};
|
|
4398
4428
|
}
|
|
4399
|
-
function
|
|
4429
|
+
function Wt(e) {
|
|
4400
4430
|
let t, r, i, n, s = (
|
|
4401
4431
|
/*message*/
|
|
4402
4432
|
e[54] + ""
|
|
4403
|
-
),
|
|
4433
|
+
), o, u, a, l, h = (
|
|
4404
4434
|
/*displayMessages*/
|
|
4405
4435
|
e[4].length > 1 && /*index*/
|
|
4406
|
-
e[56] === 0 &&
|
|
4436
|
+
e[56] === 0 && Xt(e)
|
|
4407
4437
|
);
|
|
4408
4438
|
function c(...p) {
|
|
4409
4439
|
return (
|
|
@@ -4417,7 +4447,7 @@ function qt(e) {
|
|
|
4417
4447
|
}
|
|
4418
4448
|
return {
|
|
4419
4449
|
c() {
|
|
4420
|
-
t = q("div"), r = q("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i =
|
|
4450
|
+
t = q("div"), r = q("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = _e(), n = q("p"), o = _e(), h && h.c(), u = _e(), te(r, "class", "IconVerification"), te(n, "class", "text"), te(t, "class", "CashierVerificationMessage"), Ee(
|
|
4421
4451
|
t,
|
|
4422
4452
|
"ShowAll",
|
|
4423
4453
|
/*allVerificationsVisible*/
|
|
@@ -4425,15 +4455,15 @@ function qt(e) {
|
|
|
4425
4455
|
);
|
|
4426
4456
|
},
|
|
4427
4457
|
m(p, _) {
|
|
4428
|
-
|
|
4458
|
+
se(p, t, _), ne(t, r), ne(t, i), ne(t, n), n.innerHTML = s, ne(t, o), h && h.m(t, null), ne(t, u), a || (l = vt(t, "click", c), a = !0);
|
|
4429
4459
|
},
|
|
4430
4460
|
p(p, _) {
|
|
4431
4461
|
e = p, _[0] & /*displayMessages*/
|
|
4432
4462
|
16 && s !== (s = /*message*/
|
|
4433
4463
|
e[54] + "") && (n.innerHTML = s), /*displayMessages*/
|
|
4434
4464
|
e[4].length > 1 && /*index*/
|
|
4435
|
-
e[56] === 0 ? h ? h.p(e, _) : (h =
|
|
4436
|
-
32 &&
|
|
4465
|
+
e[56] === 0 ? h ? h.p(e, _) : (h = Xt(e), h.c(), h.m(t, u)) : h && (h.d(1), h = null), _[0] & /*allVerificationsVisible*/
|
|
4466
|
+
32 && Ee(
|
|
4437
4467
|
t,
|
|
4438
4468
|
"ShowAll",
|
|
4439
4469
|
/*allVerificationsVisible*/
|
|
@@ -4441,18 +4471,18 @@ function qt(e) {
|
|
|
4441
4471
|
);
|
|
4442
4472
|
},
|
|
4443
4473
|
d(p) {
|
|
4444
|
-
p && K(t), h && h.d(),
|
|
4474
|
+
p && K(t), h && h.d(), a = !1, l();
|
|
4445
4475
|
}
|
|
4446
4476
|
};
|
|
4447
4477
|
}
|
|
4448
|
-
function
|
|
4478
|
+
function qt(e) {
|
|
4449
4479
|
let t, r, i, n, s = (
|
|
4450
4480
|
/*$_*/
|
|
4451
4481
|
e[10]("verification.video.how-to") + ""
|
|
4452
|
-
),
|
|
4482
|
+
), o, u, a;
|
|
4453
4483
|
return {
|
|
4454
4484
|
c() {
|
|
4455
|
-
t = q("div"), r = q("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i =
|
|
4485
|
+
t = q("div"), r = q("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = _e(), n = q("div"), o = bt(s), te(r, "class", "IconVideo"), te(n, "class", "CashierVerificationVideoLink"), Ee(
|
|
4456
4486
|
n,
|
|
4457
4487
|
"CashierVerificationVideoLinkDesktop",
|
|
4458
4488
|
/*desktopView*/
|
|
@@ -4460,7 +4490,7 @@ function Yt(e) {
|
|
|
4460
4490
|
), te(t, "class", "CashierVerificationVideo");
|
|
4461
4491
|
},
|
|
4462
4492
|
m(l, h) {
|
|
4463
|
-
|
|
4493
|
+
se(l, t, h), ne(t, r), ne(t, i), ne(t, n), ne(n, o), u || (a = vt(
|
|
4464
4494
|
n,
|
|
4465
4495
|
"click",
|
|
4466
4496
|
/*click_handler_2*/
|
|
@@ -4470,8 +4500,8 @@ function Yt(e) {
|
|
|
4470
4500
|
p(l, h) {
|
|
4471
4501
|
h[0] & /*$_*/
|
|
4472
4502
|
1024 && s !== (s = /*$_*/
|
|
4473
|
-
l[10]("verification.video.how-to") + "") &&
|
|
4474
|
-
64 &&
|
|
4503
|
+
l[10]("verification.video.how-to") + "") && Rr(o, s), h[0] & /*desktopView*/
|
|
4504
|
+
64 && Ee(
|
|
4475
4505
|
n,
|
|
4476
4506
|
"CashierVerificationVideoLinkDesktop",
|
|
4477
4507
|
/*desktopView*/
|
|
@@ -4479,40 +4509,40 @@ function Yt(e) {
|
|
|
4479
4509
|
);
|
|
4480
4510
|
},
|
|
4481
4511
|
d(l) {
|
|
4482
|
-
l && K(t), u = !1,
|
|
4512
|
+
l && K(t), u = !1, a();
|
|
4483
4513
|
}
|
|
4484
4514
|
};
|
|
4485
4515
|
}
|
|
4486
|
-
function
|
|
4516
|
+
function is(e) {
|
|
4487
4517
|
let t;
|
|
4488
|
-
function r(s,
|
|
4518
|
+
function r(s, o) {
|
|
4489
4519
|
if (
|
|
4490
4520
|
/*isLoading*/
|
|
4491
4521
|
s[9]
|
|
4492
4522
|
)
|
|
4493
|
-
return
|
|
4523
|
+
return rs;
|
|
4494
4524
|
if (
|
|
4495
4525
|
/*displayMessages*/
|
|
4496
4526
|
s[4]
|
|
4497
4527
|
)
|
|
4498
|
-
return
|
|
4528
|
+
return ts;
|
|
4499
4529
|
}
|
|
4500
4530
|
let i = r(e), n = i && i(e);
|
|
4501
4531
|
return {
|
|
4502
4532
|
c() {
|
|
4503
|
-
t = q("div"), n && n.c(), te(t, "class", "CashierVerifications"),
|
|
4533
|
+
t = q("div"), n && n.c(), te(t, "class", "CashierVerifications"), Ee(
|
|
4504
4534
|
t,
|
|
4505
4535
|
"CashierVerificationsDesktop",
|
|
4506
4536
|
/*desktopView*/
|
|
4507
4537
|
e[6]
|
|
4508
4538
|
);
|
|
4509
4539
|
},
|
|
4510
|
-
m(s,
|
|
4511
|
-
|
|
4540
|
+
m(s, o) {
|
|
4541
|
+
se(s, t, o), n && n.m(t, null), e[24](t);
|
|
4512
4542
|
},
|
|
4513
|
-
p(s,
|
|
4514
|
-
i === (i = r(s)) && n ? n.p(s,
|
|
4515
|
-
64 &&
|
|
4543
|
+
p(s, o) {
|
|
4544
|
+
i === (i = r(s)) && n ? n.p(s, o) : (n && n.d(1), n = i && i(s), n && (n.c(), n.m(t, null))), o[0] & /*desktopView*/
|
|
4545
|
+
64 && Ee(
|
|
4516
4546
|
t,
|
|
4517
4547
|
"CashierVerificationsDesktop",
|
|
4518
4548
|
/*desktopView*/
|
|
@@ -4526,27 +4556,27 @@ function ns(e) {
|
|
|
4526
4556
|
}
|
|
4527
4557
|
};
|
|
4528
4558
|
}
|
|
4529
|
-
const
|
|
4530
|
-
function
|
|
4559
|
+
const ns = "verification_explanation_video_widgets.MP4";
|
|
4560
|
+
function ss(e, t, r) {
|
|
4531
4561
|
let i, n;
|
|
4532
|
-
|
|
4533
|
-
let { endpoint: s } = t, { lang:
|
|
4534
|
-
var
|
|
4562
|
+
Tt(e, zn, (f) => r(10, i = f)), Tt(e, Wn, (f) => r(30, n = f)), jt.extend(Kn);
|
|
4563
|
+
let { endpoint: s } = t, { lang: o = "en" } = t, { translationurl: u = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { session: h = "" } = t, { customerid: c = "" } = t, { ismobileview: p = "" } = t, { playersession: _ = "" } = t, { mbsource: S = "" } = t, b, M = /* @__PURE__ */ new Set(), V = /* @__PURE__ */ new Set(), R, B, z, I = !0, U = !0, W = !1, oe = "", Y = !1;
|
|
4564
|
+
var C;
|
|
4535
4565
|
(function(f) {
|
|
4536
4566
|
f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
|
|
4537
|
-
})(
|
|
4538
|
-
var
|
|
4567
|
+
})(C || (C = {}));
|
|
4568
|
+
var O;
|
|
4539
4569
|
(function(f) {
|
|
4540
4570
|
f.Requested = "Requested";
|
|
4541
|
-
})(
|
|
4571
|
+
})(O || (O = {}));
|
|
4542
4572
|
var k;
|
|
4543
4573
|
(function(f) {
|
|
4544
4574
|
f.Unknown = "Unknown", f.Unverified = "Unverified", f.InProgress = "InProgress", f.Failed = "Failed", f.Verified = "Verified", f.Referred = "Referred", f.True = "True", f.False = "False", f.AwaitingForResponse = "AwaitingForResponse";
|
|
4545
4575
|
})(k || (k = {}));
|
|
4546
|
-
var
|
|
4576
|
+
var le;
|
|
4547
4577
|
(function(f) {
|
|
4548
4578
|
f.Unknown = "Unknown", f.Documents = "Documents", f.Age = "Age", f.Pep = "Pep", f.Sanction = "Sanction", f.Aml = "Aml", f.ProofOfAddress = "ProofOfAddress", f.SourceOfWealth = "SourceOfWealth", f.SocialMedia = "SocialMedia", f.Biometric = "Biometric";
|
|
4549
|
-
})(
|
|
4579
|
+
})(le || (le = {})), Fr(() => () => {
|
|
4550
4580
|
});
|
|
4551
4581
|
const x = [
|
|
4552
4582
|
k.InProgress,
|
|
@@ -4557,34 +4587,34 @@ function os(e, t, r) {
|
|
|
4557
4587
|
if (f)
|
|
4558
4588
|
return fetch(f).then((y) => y.json()).then((y) => {
|
|
4559
4589
|
Object.keys(y).forEach((T) => {
|
|
4560
|
-
|
|
4590
|
+
Vt(T, y[T]);
|
|
4561
4591
|
});
|
|
4562
4592
|
}).catch((y) => {
|
|
4563
4593
|
console.log(y);
|
|
4564
4594
|
});
|
|
4565
4595
|
};
|
|
4566
|
-
Object.keys(
|
|
4567
|
-
|
|
4596
|
+
Object.keys(Gt).forEach((f) => {
|
|
4597
|
+
Vt(f, Gt[f]);
|
|
4568
4598
|
});
|
|
4569
4599
|
const d = () => {
|
|
4570
|
-
|
|
4571
|
-
},
|
|
4572
|
-
r(20,
|
|
4573
|
-
const f = new URL(`${s}/v1/player/${c}/verification/GetKYCCustomerStatus?language=${
|
|
4574
|
-
y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${_}`), y.append("X-Client-Request-Timestamp",
|
|
4600
|
+
Xn(o);
|
|
4601
|
+
}, v = () => {
|
|
4602
|
+
r(20, B = w());
|
|
4603
|
+
const f = new URL(`${s}/v1/player/${c}/verification/GetKYCCustomerStatus?language=${o}`), y = new Headers();
|
|
4604
|
+
y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${_}`), y.append("X-Client-Request-Timestamp", jt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
4575
4605
|
const T = {
|
|
4576
4606
|
method: "POST",
|
|
4577
4607
|
headers: y,
|
|
4578
4608
|
body: JSON.stringify({})
|
|
4579
4609
|
};
|
|
4580
4610
|
r(9, Y = !0), fetch(f, T).then((Q) => Q.json()).then((Q) => {
|
|
4581
|
-
const
|
|
4582
|
-
R = $(
|
|
4583
|
-
|
|
4611
|
+
const Je = m(Q?.Verifications);
|
|
4612
|
+
R = $(Je), R.VerificationStatuses.forEach((ke) => {
|
|
4613
|
+
ke.VerificationUrlType !== "Widget" && M.add(ke.Vendor);
|
|
4584
4614
|
}), r(4, z = re());
|
|
4585
4615
|
}).finally(() => r(9, Y = !1));
|
|
4586
4616
|
}, m = (f) => f ? f.sort((y, T) => new Date(T.Created).getTime() - new Date(y.Created).getTime()) : [], E = () => {
|
|
4587
|
-
n &&
|
|
4617
|
+
n && v();
|
|
4588
4618
|
}, w = () => {
|
|
4589
4619
|
let f = (h || n).split(".")[1];
|
|
4590
4620
|
if (f) {
|
|
@@ -4600,7 +4630,7 @@ function os(e, t, r) {
|
|
|
4600
4630
|
};
|
|
4601
4631
|
const y = F(f);
|
|
4602
4632
|
if (y && y.length) {
|
|
4603
|
-
const T =
|
|
4633
|
+
const T = L(y);
|
|
4604
4634
|
return {
|
|
4605
4635
|
VerificationSummaryStatus: T.Status,
|
|
4606
4636
|
VerificationUrl: T.Flags?.DeferredUrlKey,
|
|
@@ -4611,7 +4641,7 @@ function os(e, t, r) {
|
|
|
4611
4641
|
VerificationSummaryStatus: f.some((Q) => Q.Status === k.Failed) ? k.Failed : k.Verified,
|
|
4612
4642
|
VerificationStatuses: N(f, [k.Failed])
|
|
4613
4643
|
};
|
|
4614
|
-
},
|
|
4644
|
+
}, L = (f) => f.reduce(
|
|
4615
4645
|
(y, T) => y ? new Date(y) < new Date(T) ? T : y : T,
|
|
4616
4646
|
0
|
|
4617
4647
|
), N = (f, y) => f.filter((T) => y.includes(T.Status)).map((T) => ({
|
|
@@ -4620,43 +4650,43 @@ function os(e, t, r) {
|
|
|
4620
4650
|
VerificationDocuments: T.Documents ? [...T.Documents] : [],
|
|
4621
4651
|
VerificationUrlType: T.FlowInfo?.Type,
|
|
4622
4652
|
VerificationUrl: T.FlowInfo?.Url
|
|
4623
|
-
})), F = (f) => f.filter((y) => x.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || X(y) ||
|
|
4624
|
-
const y = f.Documents && f.VendorName ===
|
|
4653
|
+
})), F = (f) => f.filter((y) => x.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || X(y) || he(y) : !1), X = (f) => {
|
|
4654
|
+
const y = f.Documents && f.VendorName === C.Manual, T = f.Documents && f.Documents.some((Q) => Q.Status === O.Requested);
|
|
4625
4655
|
return y && T;
|
|
4626
|
-
},
|
|
4656
|
+
}, he = (f) => f.VendorName === C.ShuftiPro && f.Status === k.Referred, re = () => {
|
|
4627
4657
|
switch (R.VerificationSummaryStatus) {
|
|
4628
4658
|
case k.InProgress:
|
|
4629
4659
|
const f = [];
|
|
4630
|
-
return
|
|
4631
|
-
f.push(
|
|
4660
|
+
return M.forEach((y) => {
|
|
4661
|
+
f.push(de(y));
|
|
4632
4662
|
}), f;
|
|
4633
4663
|
case k.Referred:
|
|
4634
4664
|
return [i("verification.idenfy.referred-awaiting")];
|
|
4635
4665
|
case k.Failed:
|
|
4636
4666
|
return [i("verification.message.failed")];
|
|
4637
4667
|
}
|
|
4638
|
-
},
|
|
4668
|
+
}, de = (f) => {
|
|
4639
4669
|
const y = R.VerificationStatuses.filter((T) => T.Vendor === f);
|
|
4640
|
-
if (f ===
|
|
4641
|
-
return
|
|
4670
|
+
if (f === C.ShuftiPro)
|
|
4671
|
+
return ae(y);
|
|
4642
4672
|
{
|
|
4643
4673
|
const T = i("verification.idenfy.link-name"), Q = {
|
|
4644
4674
|
link: `<a href="${y[0].VerificationUrl}" target="_blank">${T}</a>`
|
|
4645
4675
|
};
|
|
4646
4676
|
return i("verification.idenfy.in-progress", { values: Q });
|
|
4647
4677
|
}
|
|
4648
|
-
},
|
|
4678
|
+
}, ae = (f) => {
|
|
4649
4679
|
const y = [], T = {}, Q = [
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4680
|
+
le.Biometric,
|
|
4681
|
+
le.Documents,
|
|
4682
|
+
le.ProofOfAddress
|
|
4653
4683
|
];
|
|
4654
|
-
f.forEach((
|
|
4655
|
-
Q.includes(
|
|
4684
|
+
f.forEach((me) => {
|
|
4685
|
+
Q.includes(me.Type) && (y.push(me.Type), T[me.Type] = G(me, ie(me.Type)));
|
|
4656
4686
|
});
|
|
4657
|
-
let
|
|
4658
|
-
return
|
|
4659
|
-
}, G = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, ie = (f) => i(`verification.shuftipro.link-name.${f}`),
|
|
4687
|
+
let Je = y.every((me) => V.has(me)), ke = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
|
|
4688
|
+
return Je ? i("verification.shuftipro.validations-started") : i(ke, { values: T });
|
|
4689
|
+
}, G = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, ie = (f) => i(`verification.shuftipro.link-name.${f}`), ue = (f, y) => {
|
|
4660
4690
|
if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
|
|
4661
4691
|
if (f.target.closest(".verificationLink")) {
|
|
4662
4692
|
const T = f.target.className.split(" ")[1];
|
|
@@ -4665,74 +4695,74 @@ function os(e, t, r) {
|
|
|
4665
4695
|
return;
|
|
4666
4696
|
}
|
|
4667
4697
|
y === 0 && r(5, I = !I);
|
|
4668
|
-
},
|
|
4698
|
+
}, ge = () => {
|
|
4669
4699
|
r(6, U = p === "false");
|
|
4670
4700
|
}, Pr = () => {
|
|
4671
|
-
r(8,
|
|
4701
|
+
r(8, oe = B + "/" + o + "/" + ns);
|
|
4672
4702
|
try {
|
|
4673
|
-
fetch(
|
|
4703
|
+
fetch(oe, { method: "HEAD" }).then((f) => {
|
|
4674
4704
|
r(7, W = f.ok);
|
|
4675
4705
|
});
|
|
4676
4706
|
} catch {
|
|
4677
4707
|
r(7, W = !1);
|
|
4678
4708
|
}
|
|
4679
|
-
},
|
|
4709
|
+
}, wt = () => {
|
|
4680
4710
|
window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
|
|
4681
|
-
},
|
|
4682
|
-
function
|
|
4683
|
-
|
|
4684
|
-
|
|
4711
|
+
}, Or = (f, y) => ue(y, f), Ar = (f, y) => ue(y, f), Br = () => wt();
|
|
4712
|
+
function $r(f) {
|
|
4713
|
+
st[f ? "unshift" : "push"](() => {
|
|
4714
|
+
b = f, r(3, b);
|
|
4685
4715
|
});
|
|
4686
4716
|
}
|
|
4687
4717
|
return e.$$set = (f) => {
|
|
4688
|
-
"endpoint" in f && r(13, s = f.endpoint), "lang" in f && r(14,
|
|
4718
|
+
"endpoint" in f && r(13, s = f.endpoint), "lang" in f && r(14, o = f.lang), "translationurl" in f && r(15, u = f.translationurl), "clientstyling" in f && r(0, a = f.clientstyling), "clientstylingurl" in f && r(1, l = f.clientstylingurl), "session" in f && r(16, h = f.session), "customerid" in f && r(17, c = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview), "playersession" in f && r(18, _ = f.playersession), "mbsource" in f && r(19, S = f.mbsource);
|
|
4689
4719
|
}, e.$$.update = () => {
|
|
4690
4720
|
e.$$.dirty[0] & /*lang*/
|
|
4691
|
-
16384 &&
|
|
4692
|
-
335872 && s && h && _ &&
|
|
4721
|
+
16384 && o && d(), e.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
4722
|
+
335872 && s && h && _ && v(), e.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
4693
4723
|
335872 && s && !h && _ && E(), e.$$.dirty[0] & /*translationurl*/
|
|
4694
4724
|
32768 && u && g(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4695
|
-
9 &&
|
|
4696
|
-
10 && l &&
|
|
4697
|
-
4 && p &&
|
|
4698
|
-
1048576 &&
|
|
4699
|
-
524296 && S &&
|
|
4725
|
+
9 && a && b && qn(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4726
|
+
10 && l && b && Yn(), e.$$.dirty[0] & /*ismobileview*/
|
|
4727
|
+
4 && p && ge(), e.$$.dirty[0] & /*staticCdnUrl*/
|
|
4728
|
+
1048576 && B && Pr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4729
|
+
524296 && S && b && Zn(b, `${S}.Style`);
|
|
4700
4730
|
}, [
|
|
4701
|
-
|
|
4731
|
+
a,
|
|
4702
4732
|
l,
|
|
4703
4733
|
p,
|
|
4704
|
-
|
|
4734
|
+
b,
|
|
4705
4735
|
z,
|
|
4706
4736
|
I,
|
|
4707
4737
|
U,
|
|
4708
4738
|
W,
|
|
4709
|
-
|
|
4739
|
+
oe,
|
|
4710
4740
|
Y,
|
|
4711
4741
|
i,
|
|
4712
|
-
|
|
4713
|
-
|
|
4742
|
+
ue,
|
|
4743
|
+
wt,
|
|
4714
4744
|
s,
|
|
4715
|
-
|
|
4745
|
+
o,
|
|
4716
4746
|
u,
|
|
4717
4747
|
h,
|
|
4718
4748
|
c,
|
|
4719
4749
|
_,
|
|
4720
4750
|
S,
|
|
4721
|
-
|
|
4751
|
+
B,
|
|
4752
|
+
Or,
|
|
4722
4753
|
Ar,
|
|
4723
|
-
$r,
|
|
4724
4754
|
Br,
|
|
4725
|
-
|
|
4755
|
+
$r
|
|
4726
4756
|
];
|
|
4727
4757
|
}
|
|
4728
|
-
class
|
|
4758
|
+
class os extends Kr {
|
|
4729
4759
|
constructor(t) {
|
|
4730
|
-
super(),
|
|
4760
|
+
super(), Jr(
|
|
4731
4761
|
this,
|
|
4732
4762
|
t,
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4763
|
+
ss,
|
|
4764
|
+
is,
|
|
4765
|
+
Zt,
|
|
4736
4766
|
{
|
|
4737
4767
|
endpoint: 13,
|
|
4738
4768
|
lang: 14,
|
|
@@ -4745,7 +4775,7 @@ class as extends ei {
|
|
|
4745
4775
|
playersession: 18,
|
|
4746
4776
|
mbsource: 19
|
|
4747
4777
|
},
|
|
4748
|
-
|
|
4778
|
+
es,
|
|
4749
4779
|
[-1, -1]
|
|
4750
4780
|
);
|
|
4751
4781
|
}
|
|
@@ -4810,30 +4840,34 @@ class as extends ei {
|
|
|
4810
4840
|
this.$$set({ mbsource: t }), Z();
|
|
4811
4841
|
}
|
|
4812
4842
|
}
|
|
4813
|
-
|
|
4843
|
+
Qr(os, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {}, mbsource: {} }, [], [], !0);
|
|
4814
4844
|
export {
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4845
|
+
os as C,
|
|
4846
|
+
Kr as S,
|
|
4847
|
+
hs as _,
|
|
4848
|
+
Ke as a,
|
|
4849
|
+
fs as b,
|
|
4850
|
+
qe as c,
|
|
4851
|
+
Qr as d,
|
|
4852
|
+
Cr as e,
|
|
4822
4853
|
Z as f,
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4854
|
+
ls as g,
|
|
4855
|
+
se as h,
|
|
4856
|
+
Jr as i,
|
|
4857
|
+
K as j,
|
|
4827
4858
|
q as k,
|
|
4828
|
-
|
|
4829
|
-
|
|
4859
|
+
_e as l,
|
|
4860
|
+
as as m,
|
|
4830
4861
|
ee as n,
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4862
|
+
Fr as o,
|
|
4863
|
+
te as p,
|
|
4864
|
+
ne as q,
|
|
4865
|
+
us as r,
|
|
4866
|
+
Zt as s,
|
|
4867
|
+
Ee as t,
|
|
4868
|
+
vt as u,
|
|
4869
|
+
st as v,
|
|
4870
|
+
qn as w,
|
|
4871
|
+
Yn as x,
|
|
4872
|
+
Zn as y
|
|
4839
4873
|
};
|