@everymatrix/cashier-verifications 1.52.6 → 1.53.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CashierVerifications-C0AVUPTF.js → CashierVerifications-JkolbxVP.js} +1136 -1173
- package/components/{CashierVideoModal-kYAQNcsM.js → CashierVideoModal-Bjnq9rNA.js} +13 -13
- package/esnext/cashier-verifications.js +14 -0
- package/package.json +8 -9
- package/components/CashierVerifications-C2dYV8Km.cjs +0 -5
- package/components/CashierVideoModal-D0zHNTJv.cjs +0 -1
- package/es2015/cashier-verifications.cjs +0 -1
- package/es2015/cashier-verifications.js +0 -16
|
@@ -1,79 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
var Rr = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var Ht = Object.getOwnPropertySymbols;
|
|
4
|
-
var kr = Object.prototype.hasOwnProperty, Ur = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Ke = (e, t, r) => t in e ? Ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, At = (e, t) => {
|
|
6
|
-
for (var r in t || (t = {}))
|
|
7
|
-
kr.call(t, r) && Ke(e, r, t[r]);
|
|
8
|
-
if (Ht)
|
|
9
|
-
for (var r of Ht(t))
|
|
10
|
-
Ur.call(t, r) && Ke(e, r, t[r]);
|
|
11
|
-
return e;
|
|
12
|
-
}, Ot = (e, t) => Nr(e, Rr(t));
|
|
13
|
-
var Z = (e, t, r) => Ke(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var Pt = (e, t, r) => new Promise((i, n) => {
|
|
15
|
-
var s = (o) => {
|
|
16
|
-
try {
|
|
17
|
-
l(r.next(o));
|
|
18
|
-
} catch (u) {
|
|
19
|
-
n(u);
|
|
20
|
-
}
|
|
21
|
-
}, a = (o) => {
|
|
22
|
-
try {
|
|
23
|
-
l(r.throw(o));
|
|
24
|
-
} catch (u) {
|
|
25
|
-
n(u);
|
|
26
|
-
}
|
|
27
|
-
}, l = (o) => o.done ? i(o.value) : Promise.resolve(o.value).then(s, a);
|
|
28
|
-
l((r = r.apply(e, t)).next());
|
|
29
|
-
});
|
|
30
|
-
function K() {
|
|
1
|
+
function Q() {
|
|
31
2
|
}
|
|
32
|
-
function
|
|
3
|
+
function qt(e) {
|
|
33
4
|
return e();
|
|
34
5
|
}
|
|
35
|
-
function
|
|
6
|
+
function wt() {
|
|
36
7
|
return /* @__PURE__ */ Object.create(null);
|
|
37
8
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
9
|
+
function Ie(e) {
|
|
10
|
+
e.forEach(qt);
|
|
40
11
|
}
|
|
41
|
-
function
|
|
12
|
+
function gt(e) {
|
|
42
13
|
return typeof e == "function";
|
|
43
14
|
}
|
|
44
|
-
function
|
|
15
|
+
function Yt(e, t) {
|
|
45
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
17
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
18
|
+
let ke;
|
|
19
|
+
function Kn(e, t) {
|
|
20
|
+
return e === t ? !0 : (ke || (ke = document.createElement("a")), ke.href = t, e === ke.href);
|
|
50
21
|
}
|
|
51
|
-
function
|
|
22
|
+
function Ar(e) {
|
|
52
23
|
return Object.keys(e).length === 0;
|
|
53
24
|
}
|
|
54
|
-
function
|
|
25
|
+
function Zt(e, ...t) {
|
|
55
26
|
if (e == null) {
|
|
56
27
|
for (const i of t)
|
|
57
28
|
i(void 0);
|
|
58
|
-
return
|
|
29
|
+
return Q;
|
|
59
30
|
}
|
|
60
31
|
const r = e.subscribe(...t);
|
|
61
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
33
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Pr(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(Zt(t, r));
|
|
65
36
|
}
|
|
66
|
-
function
|
|
37
|
+
function re(e, t) {
|
|
67
38
|
e.appendChild(t);
|
|
68
39
|
}
|
|
69
|
-
function
|
|
70
|
-
const i =
|
|
40
|
+
function $r(e, t, r) {
|
|
41
|
+
const i = Br(e);
|
|
71
42
|
if (!i.getElementById(t)) {
|
|
72
|
-
const n =
|
|
73
|
-
n.id = t, n.textContent = r,
|
|
43
|
+
const n = Z("style");
|
|
44
|
+
n.id = t, n.textContent = r, Mr(i, n);
|
|
74
45
|
}
|
|
75
46
|
}
|
|
76
|
-
function
|
|
47
|
+
function Br(e) {
|
|
77
48
|
if (!e) return document;
|
|
78
49
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
79
50
|
return t && /** @type {ShadowRoot} */
|
|
@@ -82,59 +53,59 @@ function jr(e) {
|
|
|
82
53
|
t
|
|
83
54
|
) : e.ownerDocument;
|
|
84
55
|
}
|
|
85
|
-
function
|
|
86
|
-
return
|
|
56
|
+
function Mr(e, t) {
|
|
57
|
+
return re(
|
|
87
58
|
/** @type {Document} */
|
|
88
59
|
e.head || e,
|
|
89
60
|
t
|
|
90
61
|
), t.sheet;
|
|
91
62
|
}
|
|
92
|
-
function
|
|
63
|
+
function ae(e, t, r) {
|
|
93
64
|
e.insertBefore(t, r || null);
|
|
94
65
|
}
|
|
95
|
-
function
|
|
66
|
+
function ie(e) {
|
|
96
67
|
e.parentNode && e.parentNode.removeChild(e);
|
|
97
68
|
}
|
|
98
|
-
function
|
|
69
|
+
function Cr(e, t) {
|
|
99
70
|
for (let r = 0; r < e.length; r += 1)
|
|
100
71
|
e[r] && e[r].d(t);
|
|
101
72
|
}
|
|
102
|
-
function
|
|
73
|
+
function Z(e) {
|
|
103
74
|
return document.createElement(e);
|
|
104
75
|
}
|
|
105
|
-
function
|
|
76
|
+
function es(e) {
|
|
106
77
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
107
78
|
}
|
|
108
|
-
function
|
|
79
|
+
function vt(e) {
|
|
109
80
|
return document.createTextNode(e);
|
|
110
81
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
82
|
+
function xe() {
|
|
83
|
+
return vt(" ");
|
|
113
84
|
}
|
|
114
|
-
function
|
|
115
|
-
return
|
|
85
|
+
function ts() {
|
|
86
|
+
return vt("");
|
|
116
87
|
}
|
|
117
|
-
function
|
|
88
|
+
function bt(e, t, r, i) {
|
|
118
89
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
119
90
|
}
|
|
120
|
-
function
|
|
91
|
+
function K(e, t, r) {
|
|
121
92
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
122
93
|
}
|
|
123
|
-
function
|
|
94
|
+
function le(e, t, r) {
|
|
124
95
|
const i = t.toLowerCase();
|
|
125
|
-
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
96
|
+
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : K(e, t, r);
|
|
126
97
|
}
|
|
127
|
-
function
|
|
98
|
+
function Dr(e) {
|
|
128
99
|
return Array.from(e.childNodes);
|
|
129
100
|
}
|
|
130
|
-
function
|
|
101
|
+
function Ir(e, t) {
|
|
131
102
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
132
103
|
t);
|
|
133
104
|
}
|
|
134
|
-
function
|
|
105
|
+
function Ee(e, t, r) {
|
|
135
106
|
e.classList.toggle(t, !!r);
|
|
136
107
|
}
|
|
137
|
-
function
|
|
108
|
+
function Lr(e) {
|
|
138
109
|
const t = {};
|
|
139
110
|
return e.childNodes.forEach(
|
|
140
111
|
/** @param {Element} node */
|
|
@@ -143,96 +114,96 @@ function Yr(e) {
|
|
|
143
114
|
}
|
|
144
115
|
), t;
|
|
145
116
|
}
|
|
146
|
-
let
|
|
147
|
-
function
|
|
148
|
-
|
|
117
|
+
let Me;
|
|
118
|
+
function Be(e) {
|
|
119
|
+
Me = e;
|
|
149
120
|
}
|
|
150
|
-
function
|
|
151
|
-
if (!
|
|
152
|
-
return
|
|
121
|
+
function Nr() {
|
|
122
|
+
if (!Me) throw new Error("Function called outside component initialization");
|
|
123
|
+
return Me;
|
|
153
124
|
}
|
|
154
|
-
function
|
|
155
|
-
|
|
125
|
+
function rs(e) {
|
|
126
|
+
Nr().$$.on_mount.push(e);
|
|
156
127
|
}
|
|
157
|
-
const
|
|
158
|
-
let
|
|
159
|
-
const
|
|
160
|
-
let
|
|
161
|
-
function
|
|
162
|
-
|
|
128
|
+
const ye = [], st = [];
|
|
129
|
+
let _e = [];
|
|
130
|
+
const St = [], Rr = /* @__PURE__ */ Promise.resolve();
|
|
131
|
+
let ot = !1;
|
|
132
|
+
function kr() {
|
|
133
|
+
ot || (ot = !0, Rr.then(te));
|
|
163
134
|
}
|
|
164
|
-
function
|
|
165
|
-
|
|
135
|
+
function at(e) {
|
|
136
|
+
_e.push(e);
|
|
166
137
|
}
|
|
167
|
-
const
|
|
168
|
-
let
|
|
169
|
-
function
|
|
170
|
-
if (
|
|
138
|
+
const Qe = /* @__PURE__ */ new Set();
|
|
139
|
+
let ve = 0;
|
|
140
|
+
function te() {
|
|
141
|
+
if (ve !== 0)
|
|
171
142
|
return;
|
|
172
|
-
const e =
|
|
143
|
+
const e = Me;
|
|
173
144
|
do {
|
|
174
145
|
try {
|
|
175
|
-
for (;
|
|
176
|
-
const t =
|
|
177
|
-
|
|
146
|
+
for (; ve < ye.length; ) {
|
|
147
|
+
const t = ye[ve];
|
|
148
|
+
ve++, Be(t), Ur(t.$$);
|
|
178
149
|
}
|
|
179
150
|
} catch (t) {
|
|
180
|
-
throw
|
|
151
|
+
throw ye.length = 0, ve = 0, t;
|
|
181
152
|
}
|
|
182
|
-
for (
|
|
183
|
-
for (let t = 0; t <
|
|
184
|
-
const r =
|
|
185
|
-
|
|
153
|
+
for (Be(null), ye.length = 0, ve = 0; st.length; ) st.pop()();
|
|
154
|
+
for (let t = 0; t < _e.length; t += 1) {
|
|
155
|
+
const r = _e[t];
|
|
156
|
+
Qe.has(r) || (Qe.add(r), r());
|
|
186
157
|
}
|
|
187
|
-
|
|
188
|
-
} while (
|
|
189
|
-
for (;
|
|
190
|
-
|
|
191
|
-
|
|
158
|
+
_e.length = 0;
|
|
159
|
+
} while (ye.length);
|
|
160
|
+
for (; St.length; )
|
|
161
|
+
St.pop()();
|
|
162
|
+
ot = !1, Qe.clear(), Be(e);
|
|
192
163
|
}
|
|
193
|
-
function
|
|
164
|
+
function Ur(e) {
|
|
194
165
|
if (e.fragment !== null) {
|
|
195
|
-
e.update(),
|
|
166
|
+
e.update(), Ie(e.before_update);
|
|
196
167
|
const t = e.dirty;
|
|
197
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
168
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
|
|
198
169
|
}
|
|
199
170
|
}
|
|
200
|
-
function
|
|
171
|
+
function Fr(e) {
|
|
201
172
|
const t = [], r = [];
|
|
202
|
-
|
|
173
|
+
_e.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), _e = t;
|
|
203
174
|
}
|
|
204
|
-
const
|
|
205
|
-
function
|
|
206
|
-
e && e.i && (
|
|
175
|
+
const Vr = /* @__PURE__ */ new Set();
|
|
176
|
+
function Gr(e, t) {
|
|
177
|
+
e && e.i && (Vr.delete(e), e.i(t));
|
|
207
178
|
}
|
|
208
|
-
function
|
|
209
|
-
return
|
|
179
|
+
function Tt(e) {
|
|
180
|
+
return e?.length !== void 0 ? e : Array.from(e);
|
|
210
181
|
}
|
|
211
|
-
function
|
|
182
|
+
function jr(e, t, r) {
|
|
212
183
|
const { fragment: i, after_update: n } = e.$$;
|
|
213
|
-
i && i.m(t, r),
|
|
214
|
-
const s = e.$$.on_mount.map(
|
|
215
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
216
|
-
}), n.forEach(
|
|
184
|
+
i && i.m(t, r), at(() => {
|
|
185
|
+
const s = e.$$.on_mount.map(qt).filter(gt);
|
|
186
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ie(s), e.$$.on_mount = [];
|
|
187
|
+
}), n.forEach(at);
|
|
217
188
|
}
|
|
218
|
-
function
|
|
189
|
+
function zr(e, t) {
|
|
219
190
|
const r = e.$$;
|
|
220
|
-
r.fragment !== null && (
|
|
191
|
+
r.fragment !== null && (Fr(r.after_update), Ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
221
192
|
}
|
|
222
|
-
function
|
|
223
|
-
e.$$.dirty[0] === -1 && (
|
|
193
|
+
function Xr(e, t) {
|
|
194
|
+
e.$$.dirty[0] === -1 && (ye.push(e), kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
224
195
|
}
|
|
225
|
-
function
|
|
226
|
-
const o =
|
|
227
|
-
|
|
196
|
+
function Wr(e, t, r, i, n, s, l = null, a = [-1]) {
|
|
197
|
+
const o = Me;
|
|
198
|
+
Be(e);
|
|
228
199
|
const u = e.$$ = {
|
|
229
200
|
fragment: null,
|
|
230
201
|
ctx: [],
|
|
231
202
|
// state
|
|
232
203
|
props: s,
|
|
233
|
-
update:
|
|
204
|
+
update: Q,
|
|
234
205
|
not_equal: n,
|
|
235
|
-
bound:
|
|
206
|
+
bound: wt(),
|
|
236
207
|
// lifecycle
|
|
237
208
|
on_mount: [],
|
|
238
209
|
on_destroy: [],
|
|
@@ -241,150 +212,146 @@ function oi(e, t, r, i, n, s, a = null, l = [-1]) {
|
|
|
241
212
|
after_update: [],
|
|
242
213
|
context: new Map(t.context || (o ? o.$$.context : [])),
|
|
243
214
|
// everything else
|
|
244
|
-
callbacks:
|
|
245
|
-
dirty:
|
|
215
|
+
callbacks: wt(),
|
|
216
|
+
dirty: a,
|
|
246
217
|
skip_bound: !1,
|
|
247
218
|
root: t.target || o.$$.root
|
|
248
219
|
};
|
|
249
|
-
|
|
220
|
+
l && l(u.root);
|
|
250
221
|
let h = !1;
|
|
251
222
|
if (u.ctx = r ? r(e, t.props || {}, (c, m, ...E) => {
|
|
252
223
|
const H = E.length ? E[0] : m;
|
|
253
|
-
return u.ctx && n(u.ctx[c], u.ctx[c] = H) && (!u.skip_bound && u.bound[c] && u.bound[c](H), h &&
|
|
254
|
-
}) : [], u.update(), h = !0,
|
|
224
|
+
return u.ctx && n(u.ctx[c], u.ctx[c] = H) && (!u.skip_bound && u.bound[c] && u.bound[c](H), h && Xr(e, c)), m;
|
|
225
|
+
}) : [], u.update(), h = !0, Ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
255
226
|
if (t.hydrate) {
|
|
256
|
-
const c =
|
|
257
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
227
|
+
const c = Dr(t.target);
|
|
228
|
+
u.fragment && u.fragment.l(c), c.forEach(ie);
|
|
258
229
|
} else
|
|
259
230
|
u.fragment && u.fragment.c();
|
|
260
|
-
t.intro &&
|
|
231
|
+
t.intro && Gr(e.$$.fragment), jr(e, t.target, t.anchor), te();
|
|
261
232
|
}
|
|
262
|
-
|
|
263
|
-
}
|
|
264
|
-
let
|
|
265
|
-
typeof HTMLElement == "function" && (
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
this.$$ctor = t, this.$$s = r, i && this.attachShadow({ mode: "open" });
|
|
233
|
+
Be(o);
|
|
234
|
+
}
|
|
235
|
+
let Jt;
|
|
236
|
+
typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
237
|
+
/** The Svelte component constructor */
|
|
238
|
+
$$ctor;
|
|
239
|
+
/** Slots */
|
|
240
|
+
$$s;
|
|
241
|
+
/** The Svelte component instance */
|
|
242
|
+
$$c;
|
|
243
|
+
/** Whether or not the custom element is connected */
|
|
244
|
+
$$cn = !1;
|
|
245
|
+
/** Component props data */
|
|
246
|
+
$$d = {};
|
|
247
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
248
|
+
$$r = !1;
|
|
249
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
250
|
+
$$p_d = {};
|
|
251
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
252
|
+
$$l = {};
|
|
253
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
254
|
+
$$l_u = /* @__PURE__ */ new Map();
|
|
255
|
+
constructor(e, t, r) {
|
|
256
|
+
super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
|
|
287
257
|
}
|
|
288
|
-
addEventListener(t, r
|
|
289
|
-
if (this.$$l[
|
|
290
|
-
const
|
|
291
|
-
this.$$l_u.set(
|
|
258
|
+
addEventListener(e, t, r) {
|
|
259
|
+
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
260
|
+
const i = this.$$c.$on(e, t);
|
|
261
|
+
this.$$l_u.set(t, i);
|
|
292
262
|
}
|
|
293
|
-
super.addEventListener(t, r
|
|
263
|
+
super.addEventListener(e, t, r);
|
|
294
264
|
}
|
|
295
|
-
removeEventListener(t, r
|
|
296
|
-
if (super.removeEventListener(t, r
|
|
297
|
-
const
|
|
298
|
-
|
|
265
|
+
removeEventListener(e, t, r) {
|
|
266
|
+
if (super.removeEventListener(e, t, r), this.$$c) {
|
|
267
|
+
const i = this.$$l_u.get(t);
|
|
268
|
+
i && (i(), this.$$l_u.delete(t));
|
|
299
269
|
}
|
|
300
270
|
}
|
|
301
|
-
connectedCallback() {
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
}
|
|
321
|
-
};
|
|
271
|
+
async connectedCallback() {
|
|
272
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
273
|
+
let e = function(n) {
|
|
274
|
+
return () => {
|
|
275
|
+
let s;
|
|
276
|
+
return {
|
|
277
|
+
c: function() {
|
|
278
|
+
s = Z("slot"), n !== "default" && K(s, "name", n);
|
|
279
|
+
},
|
|
280
|
+
/**
|
|
281
|
+
* @param {HTMLElement} target
|
|
282
|
+
* @param {HTMLElement} [anchor]
|
|
283
|
+
*/
|
|
284
|
+
m: function(o, u) {
|
|
285
|
+
ae(o, s, u);
|
|
286
|
+
},
|
|
287
|
+
d: function(o) {
|
|
288
|
+
o && ie(s);
|
|
289
|
+
}
|
|
322
290
|
};
|
|
323
291
|
};
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
292
|
+
};
|
|
293
|
+
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
294
|
+
return;
|
|
295
|
+
const t = {}, r = Lr(this);
|
|
296
|
+
for (const n of this.$$s)
|
|
297
|
+
n in r && (t[n] = [e(n)]);
|
|
298
|
+
for (const n of this.attributes) {
|
|
299
|
+
const s = this.$$g_p(n.name);
|
|
300
|
+
s in this.$$d || (this.$$d[s] = Fe(s, n.value, this.$$p_d, "toProp"));
|
|
301
|
+
}
|
|
302
|
+
for (const n in this.$$p_d)
|
|
303
|
+
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
304
|
+
this.$$c = new this.$$ctor({
|
|
305
|
+
target: this.shadowRoot || this,
|
|
306
|
+
props: {
|
|
307
|
+
...this.$$d,
|
|
308
|
+
$$slots: t,
|
|
309
|
+
$$scope: {
|
|
310
|
+
ctx: []
|
|
311
|
+
}
|
|
332
312
|
}
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
this.$$
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
this.$$r = !0;
|
|
346
|
-
for (const s in this.$$p_d)
|
|
347
|
-
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
348
|
-
const a = Ge(
|
|
349
|
-
s,
|
|
350
|
-
this.$$d[s],
|
|
351
|
-
this.$$p_d,
|
|
352
|
-
"toAttribute"
|
|
353
|
-
);
|
|
354
|
-
a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
|
|
355
|
-
}
|
|
356
|
-
this.$$r = !1;
|
|
357
|
-
};
|
|
358
|
-
this.$$c.$$.after_update.push(n), n();
|
|
359
|
-
for (const s in this.$$l)
|
|
360
|
-
for (const a of this.$$l[s]) {
|
|
361
|
-
const l = this.$$c.$on(s, a);
|
|
362
|
-
this.$$l_u.set(a, l);
|
|
313
|
+
});
|
|
314
|
+
const i = () => {
|
|
315
|
+
this.$$r = !0;
|
|
316
|
+
for (const n in this.$$p_d)
|
|
317
|
+
if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
|
|
318
|
+
const s = Fe(
|
|
319
|
+
n,
|
|
320
|
+
this.$$d[n],
|
|
321
|
+
this.$$p_d,
|
|
322
|
+
"toAttribute"
|
|
323
|
+
);
|
|
324
|
+
s == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, s);
|
|
363
325
|
}
|
|
364
|
-
this.$$
|
|
365
|
-
}
|
|
366
|
-
|
|
326
|
+
this.$$r = !1;
|
|
327
|
+
};
|
|
328
|
+
this.$$c.$$.after_update.push(i), i();
|
|
329
|
+
for (const n in this.$$l)
|
|
330
|
+
for (const s of this.$$l[n]) {
|
|
331
|
+
const l = this.$$c.$on(n, s);
|
|
332
|
+
this.$$l_u.set(s, l);
|
|
333
|
+
}
|
|
334
|
+
this.$$l = {};
|
|
335
|
+
}
|
|
367
336
|
}
|
|
368
337
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
369
338
|
// and setting attributes through setAttribute etc, this is helpful
|
|
370
|
-
attributeChangedCallback(t, r
|
|
371
|
-
|
|
372
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ge(t, i, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [t]: this.$$d[t] }));
|
|
339
|
+
attributeChangedCallback(e, t, r) {
|
|
340
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
373
341
|
}
|
|
374
342
|
disconnectedCallback() {
|
|
375
343
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
376
344
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
377
345
|
});
|
|
378
346
|
}
|
|
379
|
-
$$g_p(
|
|
347
|
+
$$g_p(e) {
|
|
380
348
|
return Object.keys(this.$$p_d).find(
|
|
381
|
-
(
|
|
382
|
-
) ||
|
|
349
|
+
(t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
|
|
350
|
+
) || e;
|
|
383
351
|
}
|
|
384
352
|
});
|
|
385
|
-
function
|
|
386
|
-
|
|
387
|
-
const n = (s = r[e]) == null ? void 0 : s.type;
|
|
353
|
+
function Fe(e, t, r, i) {
|
|
354
|
+
const n = r[e]?.type;
|
|
388
355
|
if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
|
|
389
356
|
return t;
|
|
390
357
|
if (i === "toAttribute")
|
|
@@ -395,7 +362,7 @@ function Ge(e, t, r, i) {
|
|
|
395
362
|
case "Boolean":
|
|
396
363
|
return t ? "" : null;
|
|
397
364
|
case "Number":
|
|
398
|
-
return t
|
|
365
|
+
return t ?? null;
|
|
399
366
|
default:
|
|
400
367
|
return t;
|
|
401
368
|
}
|
|
@@ -412,59 +379,55 @@ function Ge(e, t, r, i) {
|
|
|
412
379
|
return t;
|
|
413
380
|
}
|
|
414
381
|
}
|
|
415
|
-
function
|
|
416
|
-
let
|
|
382
|
+
function qr(e, t, r, i, n, s) {
|
|
383
|
+
let l = class extends Jt {
|
|
417
384
|
constructor() {
|
|
418
385
|
super(e, r, n), this.$$p_d = t;
|
|
419
386
|
}
|
|
420
387
|
static get observedAttributes() {
|
|
421
388
|
return Object.keys(t).map(
|
|
422
|
-
(
|
|
389
|
+
(a) => (t[a].attribute || a).toLowerCase()
|
|
423
390
|
);
|
|
424
391
|
}
|
|
425
392
|
};
|
|
426
|
-
return Object.keys(t).forEach((
|
|
427
|
-
Object.defineProperty(
|
|
393
|
+
return Object.keys(t).forEach((a) => {
|
|
394
|
+
Object.defineProperty(l.prototype, a, {
|
|
428
395
|
get() {
|
|
429
|
-
return this.$$c &&
|
|
396
|
+
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
430
397
|
},
|
|
431
398
|
set(o) {
|
|
432
|
-
|
|
433
|
-
o = Ge(l, o, t), this.$$d[l] = o, (u = this.$$c) == null || u.$set({ [l]: o });
|
|
399
|
+
o = Fe(a, o, t), this.$$d[a] = o, this.$$c?.$set({ [a]: o });
|
|
434
400
|
}
|
|
435
401
|
});
|
|
436
|
-
}), i.forEach((
|
|
437
|
-
Object.defineProperty(
|
|
402
|
+
}), i.forEach((a) => {
|
|
403
|
+
Object.defineProperty(l.prototype, a, {
|
|
438
404
|
get() {
|
|
439
|
-
|
|
440
|
-
return (o = this.$$c) == null ? void 0 : o[l];
|
|
405
|
+
return this.$$c?.[a];
|
|
441
406
|
}
|
|
442
407
|
});
|
|
443
408
|
}), e.element = /** @type {any} */
|
|
444
|
-
|
|
445
|
-
}
|
|
446
|
-
class
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
Z(this, "$$set");
|
|
464
|
-
}
|
|
409
|
+
l, l;
|
|
410
|
+
}
|
|
411
|
+
class Yr {
|
|
412
|
+
/**
|
|
413
|
+
* ### PRIVATE API
|
|
414
|
+
*
|
|
415
|
+
* Do not use, may change at any time
|
|
416
|
+
*
|
|
417
|
+
* @type {any}
|
|
418
|
+
*/
|
|
419
|
+
$$ = void 0;
|
|
420
|
+
/**
|
|
421
|
+
* ### PRIVATE API
|
|
422
|
+
*
|
|
423
|
+
* Do not use, may change at any time
|
|
424
|
+
*
|
|
425
|
+
* @type {any}
|
|
426
|
+
*/
|
|
427
|
+
$$set = void 0;
|
|
465
428
|
/** @returns {void} */
|
|
466
429
|
$destroy() {
|
|
467
|
-
|
|
430
|
+
zr(this, 1), this.$destroy = Q;
|
|
468
431
|
}
|
|
469
432
|
/**
|
|
470
433
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -473,8 +436,8 @@ class ui {
|
|
|
473
436
|
* @returns {() => void}
|
|
474
437
|
*/
|
|
475
438
|
$on(t, r) {
|
|
476
|
-
if (!
|
|
477
|
-
return
|
|
439
|
+
if (!gt(r))
|
|
440
|
+
return Q;
|
|
478
441
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
479
442
|
return i.push(r), () => {
|
|
480
443
|
const n = i.indexOf(r);
|
|
@@ -486,60 +449,60 @@ class ui {
|
|
|
486
449
|
* @returns {void}
|
|
487
450
|
*/
|
|
488
451
|
$set(t) {
|
|
489
|
-
this.$$set && !
|
|
452
|
+
this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
490
453
|
}
|
|
491
454
|
}
|
|
492
|
-
const
|
|
493
|
-
typeof window
|
|
494
|
-
const
|
|
495
|
-
function
|
|
455
|
+
const Zr = "4";
|
|
456
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
|
|
457
|
+
const be = [];
|
|
458
|
+
function Jr(e, t) {
|
|
496
459
|
return {
|
|
497
|
-
subscribe:
|
|
460
|
+
subscribe: We(e, t).subscribe
|
|
498
461
|
};
|
|
499
462
|
}
|
|
500
|
-
function
|
|
463
|
+
function We(e, t = Q) {
|
|
501
464
|
let r;
|
|
502
465
|
const i = /* @__PURE__ */ new Set();
|
|
503
|
-
function n(
|
|
504
|
-
if (
|
|
505
|
-
const o = !
|
|
466
|
+
function n(a) {
|
|
467
|
+
if (Yt(e, a) && (e = a, r)) {
|
|
468
|
+
const o = !be.length;
|
|
506
469
|
for (const u of i)
|
|
507
|
-
u[1](),
|
|
470
|
+
u[1](), be.push(u, e);
|
|
508
471
|
if (o) {
|
|
509
|
-
for (let u = 0; u <
|
|
510
|
-
|
|
511
|
-
|
|
472
|
+
for (let u = 0; u < be.length; u += 2)
|
|
473
|
+
be[u][0](be[u + 1]);
|
|
474
|
+
be.length = 0;
|
|
512
475
|
}
|
|
513
476
|
}
|
|
514
477
|
}
|
|
515
|
-
function s(
|
|
516
|
-
n(
|
|
478
|
+
function s(a) {
|
|
479
|
+
n(a(e));
|
|
517
480
|
}
|
|
518
|
-
function a
|
|
519
|
-
const u = [
|
|
520
|
-
return i.add(u), i.size === 1 && (r = t(n, s) ||
|
|
481
|
+
function l(a, o = Q) {
|
|
482
|
+
const u = [a, o];
|
|
483
|
+
return i.add(u), i.size === 1 && (r = t(n, s) || Q), a(e), () => {
|
|
521
484
|
i.delete(u), i.size === 0 && r && (r(), r = null);
|
|
522
485
|
};
|
|
523
486
|
}
|
|
524
|
-
return { set: n, update: s, subscribe:
|
|
487
|
+
return { set: n, update: s, subscribe: l };
|
|
525
488
|
}
|
|
526
|
-
function
|
|
489
|
+
function Oe(e, t, r) {
|
|
527
490
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
528
491
|
if (!n.every(Boolean))
|
|
529
492
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
530
493
|
const s = t.length < 2;
|
|
531
|
-
return
|
|
494
|
+
return Jr(r, (l, a) => {
|
|
532
495
|
let o = !1;
|
|
533
496
|
const u = [];
|
|
534
|
-
let h = 0, c =
|
|
497
|
+
let h = 0, c = Q;
|
|
535
498
|
const m = () => {
|
|
536
499
|
if (h)
|
|
537
500
|
return;
|
|
538
501
|
c();
|
|
539
|
-
const H = t(i ? u[0] : u,
|
|
540
|
-
s ?
|
|
502
|
+
const H = t(i ? u[0] : u, l, a);
|
|
503
|
+
s ? l(H) : c = gt(H) ? H : Q;
|
|
541
504
|
}, E = n.map(
|
|
542
|
-
(H, v) =>
|
|
505
|
+
(H, v) => Zt(
|
|
543
506
|
H,
|
|
544
507
|
($) => {
|
|
545
508
|
u[v] = $, h &= ~(1 << v), o && m();
|
|
@@ -550,111 +513,111 @@ function Pe(e, t, r) {
|
|
|
550
513
|
)
|
|
551
514
|
);
|
|
552
515
|
return o = !0, m(), function() {
|
|
553
|
-
|
|
516
|
+
Ie(E), c(), o = !1;
|
|
554
517
|
};
|
|
555
518
|
});
|
|
556
519
|
}
|
|
557
|
-
var
|
|
558
|
-
function
|
|
520
|
+
var Qt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
521
|
+
function yt(e) {
|
|
559
522
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
560
523
|
}
|
|
561
|
-
var
|
|
562
|
-
return
|
|
524
|
+
var Qr = function(t) {
|
|
525
|
+
return Kr(t) && !ei(t);
|
|
563
526
|
};
|
|
564
|
-
function
|
|
527
|
+
function Kr(e) {
|
|
565
528
|
return !!e && typeof e == "object";
|
|
566
529
|
}
|
|
567
|
-
function
|
|
530
|
+
function ei(e) {
|
|
568
531
|
var t = Object.prototype.toString.call(e);
|
|
569
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
532
|
+
return t === "[object RegExp]" || t === "[object Date]" || ii(e);
|
|
570
533
|
}
|
|
571
|
-
var
|
|
572
|
-
function
|
|
573
|
-
return e.$$typeof ===
|
|
534
|
+
var ti = typeof Symbol == "function" && Symbol.for, ri = ti ? Symbol.for("react.element") : 60103;
|
|
535
|
+
function ii(e) {
|
|
536
|
+
return e.$$typeof === ri;
|
|
574
537
|
}
|
|
575
|
-
function
|
|
538
|
+
function ni(e) {
|
|
576
539
|
return Array.isArray(e) ? [] : {};
|
|
577
540
|
}
|
|
578
|
-
function
|
|
579
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
541
|
+
function Ce(e, t) {
|
|
542
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? we(ni(e), e, t) : e;
|
|
580
543
|
}
|
|
581
|
-
function
|
|
544
|
+
function si(e, t, r) {
|
|
582
545
|
return e.concat(t).map(function(i) {
|
|
583
|
-
return
|
|
546
|
+
return Ce(i, r);
|
|
584
547
|
});
|
|
585
548
|
}
|
|
586
|
-
function
|
|
549
|
+
function oi(e, t) {
|
|
587
550
|
if (!t.customMerge)
|
|
588
|
-
return
|
|
551
|
+
return we;
|
|
589
552
|
var r = t.customMerge(e);
|
|
590
|
-
return typeof r == "function" ? r :
|
|
553
|
+
return typeof r == "function" ? r : we;
|
|
591
554
|
}
|
|
592
|
-
function
|
|
555
|
+
function ai(e) {
|
|
593
556
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
594
557
|
return Object.propertyIsEnumerable.call(e, t);
|
|
595
558
|
}) : [];
|
|
596
559
|
}
|
|
597
|
-
function
|
|
598
|
-
return Object.keys(e).concat(
|
|
560
|
+
function Ht(e) {
|
|
561
|
+
return Object.keys(e).concat(ai(e));
|
|
599
562
|
}
|
|
600
|
-
function
|
|
563
|
+
function Kt(e, t) {
|
|
601
564
|
try {
|
|
602
565
|
return t in e;
|
|
603
|
-
} catch
|
|
566
|
+
} catch {
|
|
604
567
|
return !1;
|
|
605
568
|
}
|
|
606
569
|
}
|
|
607
|
-
function
|
|
608
|
-
return
|
|
570
|
+
function ui(e, t) {
|
|
571
|
+
return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
609
572
|
}
|
|
610
|
-
function
|
|
573
|
+
function li(e, t, r) {
|
|
611
574
|
var i = {};
|
|
612
|
-
return r.isMergeableObject(e) &&
|
|
613
|
-
i[n] =
|
|
614
|
-
}),
|
|
615
|
-
|
|
575
|
+
return r.isMergeableObject(e) && Ht(e).forEach(function(n) {
|
|
576
|
+
i[n] = Ce(e[n], r);
|
|
577
|
+
}), Ht(t).forEach(function(n) {
|
|
578
|
+
ui(e, n) || (Kt(e, n) && r.isMergeableObject(t[n]) ? i[n] = oi(n, r)(e[n], t[n], r) : i[n] = Ce(t[n], r));
|
|
616
579
|
}), i;
|
|
617
580
|
}
|
|
618
|
-
function
|
|
619
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
581
|
+
function we(e, t, r) {
|
|
582
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || si, r.isMergeableObject = r.isMergeableObject || Qr, r.cloneUnlessOtherwiseSpecified = Ce;
|
|
620
583
|
var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
|
|
621
|
-
return s ? i ? r.arrayMerge(e, t, r) :
|
|
584
|
+
return s ? i ? r.arrayMerge(e, t, r) : li(e, t, r) : Ce(t, r);
|
|
622
585
|
}
|
|
623
|
-
|
|
586
|
+
we.all = function(t, r) {
|
|
624
587
|
if (!Array.isArray(t))
|
|
625
588
|
throw new Error("first argument should be an array");
|
|
626
589
|
return t.reduce(function(i, n) {
|
|
627
|
-
return
|
|
590
|
+
return we(i, n, r);
|
|
628
591
|
}, {});
|
|
629
592
|
};
|
|
630
|
-
var
|
|
631
|
-
const
|
|
632
|
-
var
|
|
633
|
-
return
|
|
593
|
+
var hi = we, fi = hi;
|
|
594
|
+
const ci = /* @__PURE__ */ yt(fi);
|
|
595
|
+
var ut = function(e, t) {
|
|
596
|
+
return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
634
597
|
r.__proto__ = i;
|
|
635
598
|
} || function(r, i) {
|
|
636
599
|
for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
637
|
-
},
|
|
600
|
+
}, ut(e, t);
|
|
638
601
|
};
|
|
639
|
-
function
|
|
602
|
+
function qe(e, t) {
|
|
640
603
|
if (typeof t != "function" && t !== null)
|
|
641
604
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
642
|
-
|
|
605
|
+
ut(e, t);
|
|
643
606
|
function r() {
|
|
644
607
|
this.constructor = e;
|
|
645
608
|
}
|
|
646
609
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
647
610
|
}
|
|
648
|
-
var
|
|
649
|
-
return
|
|
611
|
+
var A = function() {
|
|
612
|
+
return A = Object.assign || function(t) {
|
|
650
613
|
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
651
614
|
r = arguments[i];
|
|
652
615
|
for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
653
616
|
}
|
|
654
617
|
return t;
|
|
655
|
-
},
|
|
618
|
+
}, A.apply(this, arguments);
|
|
656
619
|
};
|
|
657
|
-
function
|
|
620
|
+
function di(e, t) {
|
|
658
621
|
var r = {};
|
|
659
622
|
for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
660
623
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -662,61 +625,63 @@ function Hi(e, t) {
|
|
|
662
625
|
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
663
626
|
return r;
|
|
664
627
|
}
|
|
665
|
-
function
|
|
628
|
+
function Ke(e, t, r) {
|
|
666
629
|
if (r || arguments.length === 2) for (var i = 0, n = t.length, s; i < n; i++)
|
|
667
630
|
(s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
|
|
668
631
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
669
632
|
}
|
|
670
|
-
function
|
|
671
|
-
var r = t && t.cache ? t.cache :
|
|
633
|
+
function et(e, t) {
|
|
634
|
+
var r = t && t.cache ? t.cache : xi, i = t && t.serializer ? t.serializer : bi, n = t && t.strategy ? t.strategy : pi;
|
|
672
635
|
return n(e, {
|
|
673
636
|
cache: r,
|
|
674
637
|
serializer: i
|
|
675
638
|
});
|
|
676
639
|
}
|
|
677
|
-
function
|
|
640
|
+
function mi(e) {
|
|
678
641
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
679
642
|
}
|
|
680
|
-
function
|
|
681
|
-
var n =
|
|
682
|
-
return typeof s
|
|
643
|
+
function er(e, t, r, i) {
|
|
644
|
+
var n = mi(i) ? i : r(i), s = t.get(n);
|
|
645
|
+
return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
|
|
683
646
|
}
|
|
684
|
-
function
|
|
647
|
+
function tr(e, t, r) {
|
|
685
648
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
|
|
686
|
-
return typeof s
|
|
649
|
+
return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
|
|
687
650
|
}
|
|
688
|
-
function
|
|
651
|
+
function xt(e, t, r, i, n) {
|
|
689
652
|
return r.bind(t, e, i, n);
|
|
690
653
|
}
|
|
691
|
-
function
|
|
692
|
-
var r = e.length === 1 ?
|
|
693
|
-
return
|
|
654
|
+
function pi(e, t) {
|
|
655
|
+
var r = e.length === 1 ? er : tr;
|
|
656
|
+
return xt(e, this, r, t.cache.create(), t.serializer);
|
|
694
657
|
}
|
|
695
|
-
function
|
|
696
|
-
return
|
|
658
|
+
function gi(e, t) {
|
|
659
|
+
return xt(e, this, tr, t.cache.create(), t.serializer);
|
|
697
660
|
}
|
|
698
|
-
function
|
|
699
|
-
return
|
|
661
|
+
function vi(e, t) {
|
|
662
|
+
return xt(e, this, er, t.cache.create(), t.serializer);
|
|
700
663
|
}
|
|
701
|
-
var
|
|
664
|
+
var bi = function() {
|
|
702
665
|
return JSON.stringify(arguments);
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
666
|
+
}, yi = (
|
|
667
|
+
/** @class */
|
|
668
|
+
function() {
|
|
669
|
+
function e() {
|
|
670
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
671
|
+
}
|
|
672
|
+
return e.prototype.get = function(t) {
|
|
673
|
+
return this.cache[t];
|
|
674
|
+
}, e.prototype.set = function(t, r) {
|
|
675
|
+
this.cache[t] = r;
|
|
676
|
+
}, e;
|
|
677
|
+
}()
|
|
678
|
+
), xi = {
|
|
714
679
|
create: function() {
|
|
715
|
-
return new
|
|
680
|
+
return new yi();
|
|
716
681
|
}
|
|
717
|
-
},
|
|
718
|
-
variadic:
|
|
719
|
-
monadic:
|
|
682
|
+
}, tt = {
|
|
683
|
+
variadic: gi,
|
|
684
|
+
monadic: vi
|
|
720
685
|
}, T;
|
|
721
686
|
(function(e) {
|
|
722
687
|
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";
|
|
@@ -725,47 +690,47 @@ var C;
|
|
|
725
690
|
(function(e) {
|
|
726
691
|
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";
|
|
727
692
|
})(C || (C = {}));
|
|
728
|
-
var
|
|
693
|
+
var Se;
|
|
729
694
|
(function(e) {
|
|
730
695
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
731
|
-
})(
|
|
732
|
-
function
|
|
696
|
+
})(Se || (Se = {}));
|
|
697
|
+
function Ot(e) {
|
|
733
698
|
return e.type === C.literal;
|
|
734
699
|
}
|
|
735
|
-
function
|
|
700
|
+
function _i(e) {
|
|
736
701
|
return e.type === C.argument;
|
|
737
702
|
}
|
|
738
|
-
function
|
|
703
|
+
function rr(e) {
|
|
739
704
|
return e.type === C.number;
|
|
740
705
|
}
|
|
741
|
-
function
|
|
706
|
+
function ir(e) {
|
|
742
707
|
return e.type === C.date;
|
|
743
708
|
}
|
|
744
|
-
function
|
|
709
|
+
function nr(e) {
|
|
745
710
|
return e.type === C.time;
|
|
746
711
|
}
|
|
747
|
-
function
|
|
712
|
+
function sr(e) {
|
|
748
713
|
return e.type === C.select;
|
|
749
714
|
}
|
|
750
|
-
function
|
|
715
|
+
function or(e) {
|
|
751
716
|
return e.type === C.plural;
|
|
752
717
|
}
|
|
753
|
-
function
|
|
718
|
+
function Ei(e) {
|
|
754
719
|
return e.type === C.pound;
|
|
755
720
|
}
|
|
756
|
-
function
|
|
721
|
+
function ar(e) {
|
|
757
722
|
return e.type === C.tag;
|
|
758
723
|
}
|
|
759
|
-
function
|
|
760
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
724
|
+
function ur(e) {
|
|
725
|
+
return !!(e && typeof e == "object" && e.type === Se.number);
|
|
761
726
|
}
|
|
762
|
-
function
|
|
763
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
727
|
+
function lt(e) {
|
|
728
|
+
return !!(e && typeof e == "object" && e.type === Se.dateTime);
|
|
764
729
|
}
|
|
765
|
-
var
|
|
766
|
-
function
|
|
730
|
+
var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wi = /(?:[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;
|
|
731
|
+
function Si(e) {
|
|
767
732
|
var t = {};
|
|
768
|
-
return e.replace(
|
|
733
|
+
return e.replace(wi, function(r) {
|
|
769
734
|
var i = r.length;
|
|
770
735
|
switch (r[0]) {
|
|
771
736
|
case "G":
|
|
@@ -854,36 +819,36 @@ function Ii(e) {
|
|
|
854
819
|
return "";
|
|
855
820
|
}), t;
|
|
856
821
|
}
|
|
857
|
-
var
|
|
858
|
-
function
|
|
822
|
+
var Ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
823
|
+
function Hi(e) {
|
|
859
824
|
if (e.length === 0)
|
|
860
825
|
throw new Error("Number skeleton cannot be empty");
|
|
861
|
-
for (var t = e.split(
|
|
826
|
+
for (var t = e.split(Ti).filter(function(m) {
|
|
862
827
|
return m.length > 0;
|
|
863
828
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
864
|
-
var s = n[i],
|
|
865
|
-
if (
|
|
829
|
+
var s = n[i], l = s.split("/");
|
|
830
|
+
if (l.length === 0)
|
|
866
831
|
throw new Error("Invalid number skeleton");
|
|
867
|
-
for (var
|
|
832
|
+
for (var a = l[0], o = l.slice(1), u = 0, h = o; u < h.length; u++) {
|
|
868
833
|
var c = h[u];
|
|
869
834
|
if (c.length === 0)
|
|
870
835
|
throw new Error("Invalid number skeleton");
|
|
871
836
|
}
|
|
872
|
-
r.push({ stem:
|
|
837
|
+
r.push({ stem: a, options: o });
|
|
873
838
|
}
|
|
874
839
|
return r;
|
|
875
840
|
}
|
|
876
|
-
function
|
|
841
|
+
function Oi(e) {
|
|
877
842
|
return e.replace(/^(.*?)-/, "");
|
|
878
843
|
}
|
|
879
|
-
var
|
|
880
|
-
function
|
|
844
|
+
var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
|
|
845
|
+
function Pt(e) {
|
|
881
846
|
var t = {};
|
|
882
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
847
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, i, n) {
|
|
883
848
|
return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
|
|
884
849
|
}), t;
|
|
885
850
|
}
|
|
886
|
-
function
|
|
851
|
+
function cr(e) {
|
|
887
852
|
switch (e) {
|
|
888
853
|
case "sign-auto":
|
|
889
854
|
return {
|
|
@@ -923,7 +888,7 @@ function yr(e) {
|
|
|
923
888
|
};
|
|
924
889
|
}
|
|
925
890
|
}
|
|
926
|
-
function
|
|
891
|
+
function Pi(e) {
|
|
927
892
|
var t;
|
|
928
893
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
929
894
|
notation: "engineering"
|
|
@@ -931,17 +896,17 @@ function Fi(e) {
|
|
|
931
896
|
notation: "scientific"
|
|
932
897
|
}, e = e.slice(1)), t) {
|
|
933
898
|
var r = e.slice(0, 2);
|
|
934
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
899
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
|
|
935
900
|
throw new Error("Malformed concise eng/scientific notation");
|
|
936
901
|
t.minimumIntegerDigits = e.length;
|
|
937
902
|
}
|
|
938
903
|
return t;
|
|
939
904
|
}
|
|
940
|
-
function
|
|
941
|
-
var t = {}, r =
|
|
905
|
+
function $t(e) {
|
|
906
|
+
var t = {}, r = cr(e);
|
|
942
907
|
return r || t;
|
|
943
908
|
}
|
|
944
|
-
function
|
|
909
|
+
function $i(e) {
|
|
945
910
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
946
911
|
var n = i[r];
|
|
947
912
|
switch (n.stem) {
|
|
@@ -965,7 +930,7 @@ function Vi(e) {
|
|
|
965
930
|
continue;
|
|
966
931
|
case "measure-unit":
|
|
967
932
|
case "unit":
|
|
968
|
-
t.style = "unit", t.unit =
|
|
933
|
+
t.style = "unit", t.unit = Oi(n.options[0]);
|
|
969
934
|
continue;
|
|
970
935
|
case "compact-short":
|
|
971
936
|
case "K":
|
|
@@ -976,13 +941,13 @@ function Vi(e) {
|
|
|
976
941
|
t.notation = "compact", t.compactDisplay = "long";
|
|
977
942
|
continue;
|
|
978
943
|
case "scientific":
|
|
979
|
-
t =
|
|
980
|
-
return
|
|
944
|
+
t = A(A(A({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
|
|
945
|
+
return A(A({}, o), $t(u));
|
|
981
946
|
}, {}));
|
|
982
947
|
continue;
|
|
983
948
|
case "engineering":
|
|
984
|
-
t =
|
|
985
|
-
return
|
|
949
|
+
t = A(A(A({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
|
|
950
|
+
return A(A({}, o), $t(u));
|
|
986
951
|
}, {}));
|
|
987
952
|
continue;
|
|
988
953
|
case "notation-simple":
|
|
@@ -1027,7 +992,7 @@ function Vi(e) {
|
|
|
1027
992
|
case "integer-width":
|
|
1028
993
|
if (n.options.length > 1)
|
|
1029
994
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1030
|
-
n.options[0].replace(
|
|
995
|
+
n.options[0].replace(Ai, function(o, u, h, c, m, E) {
|
|
1031
996
|
if (u)
|
|
1032
997
|
t.minimumIntegerDigits = h.length;
|
|
1033
998
|
else {
|
|
@@ -1040,32 +1005,32 @@ function Vi(e) {
|
|
|
1040
1005
|
});
|
|
1041
1006
|
continue;
|
|
1042
1007
|
}
|
|
1043
|
-
if (
|
|
1008
|
+
if (fr.test(n.stem)) {
|
|
1044
1009
|
t.minimumIntegerDigits = n.stem.length;
|
|
1045
1010
|
continue;
|
|
1046
1011
|
}
|
|
1047
|
-
if (
|
|
1012
|
+
if (At.test(n.stem)) {
|
|
1048
1013
|
if (n.options.length > 1)
|
|
1049
1014
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1050
|
-
n.stem.replace(
|
|
1015
|
+
n.stem.replace(At, function(o, u, h, c, m, E) {
|
|
1051
1016
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && E ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1052
1017
|
});
|
|
1053
1018
|
var s = n.options[0];
|
|
1054
|
-
s === "w" ? t =
|
|
1019
|
+
s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), Pt(s)));
|
|
1055
1020
|
continue;
|
|
1056
1021
|
}
|
|
1057
|
-
if (
|
|
1058
|
-
t =
|
|
1022
|
+
if (hr.test(n.stem)) {
|
|
1023
|
+
t = A(A({}, t), Pt(n.stem));
|
|
1059
1024
|
continue;
|
|
1060
1025
|
}
|
|
1061
|
-
var
|
|
1062
|
-
|
|
1063
|
-
var
|
|
1064
|
-
|
|
1026
|
+
var l = cr(n.stem);
|
|
1027
|
+
l && (t = A(A({}, t), l));
|
|
1028
|
+
var a = Pi(n.stem);
|
|
1029
|
+
a && (t = A(A({}, t), a));
|
|
1065
1030
|
}
|
|
1066
1031
|
return t;
|
|
1067
1032
|
}
|
|
1068
|
-
var
|
|
1033
|
+
var Ue = {
|
|
1069
1034
|
"001": [
|
|
1070
1035
|
"H",
|
|
1071
1036
|
"h"
|
|
@@ -2480,22 +2445,22 @@ var Ve = {
|
|
|
2480
2445
|
"h"
|
|
2481
2446
|
]
|
|
2482
2447
|
};
|
|
2483
|
-
function
|
|
2448
|
+
function Bi(e, t) {
|
|
2484
2449
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
2485
2450
|
var n = e.charAt(i);
|
|
2486
2451
|
if (n === "j") {
|
|
2487
2452
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2488
2453
|
s++, i++;
|
|
2489
|
-
var
|
|
2490
|
-
for ((u == "H" || u == "k") && (
|
|
2454
|
+
var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Mi(t);
|
|
2455
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2491
2456
|
r += o;
|
|
2492
|
-
for (;
|
|
2457
|
+
for (; l-- > 0; )
|
|
2493
2458
|
r = u + r;
|
|
2494
2459
|
} else n === "J" ? r += "H" : r += n;
|
|
2495
2460
|
}
|
|
2496
2461
|
return r;
|
|
2497
2462
|
}
|
|
2498
|
-
function
|
|
2463
|
+
function Mi(e) {
|
|
2499
2464
|
var t = e.hourCycle;
|
|
2500
2465
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2501
2466
|
e.hourCycles && // @ts-ignore
|
|
@@ -2514,23 +2479,23 @@ function ji(e) {
|
|
|
2514
2479
|
}
|
|
2515
2480
|
var r = e.language, i;
|
|
2516
2481
|
r !== "root" && (i = e.maximize().region);
|
|
2517
|
-
var n =
|
|
2482
|
+
var n = Ue[i || ""] || Ue[r || ""] || Ue["".concat(r, "-001")] || Ue["001"];
|
|
2518
2483
|
return n[0];
|
|
2519
2484
|
}
|
|
2520
|
-
var
|
|
2521
|
-
function
|
|
2485
|
+
var rt, Ci = new RegExp("^".concat(lr.source, "*")), Di = new RegExp("".concat(lr.source, "*$"));
|
|
2486
|
+
function O(e, t) {
|
|
2522
2487
|
return { start: e, end: t };
|
|
2523
2488
|
}
|
|
2524
|
-
var
|
|
2489
|
+
var Ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), Li = !!String.fromCodePoint, Ni = !!Object.fromEntries, Ri = !!String.prototype.codePointAt, ki = !!String.prototype.trimStart, Ui = !!String.prototype.trimEnd, Fi = !!Number.isSafeInteger, Vi = Fi ? Number.isSafeInteger : function(e) {
|
|
2525
2490
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2526
|
-
},
|
|
2491
|
+
}, ht = !0;
|
|
2527
2492
|
try {
|
|
2528
|
-
var
|
|
2529
|
-
|
|
2530
|
-
} catch
|
|
2531
|
-
|
|
2493
|
+
var Gi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2494
|
+
ht = ((rt = Gi.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
|
|
2495
|
+
} catch {
|
|
2496
|
+
ht = !1;
|
|
2532
2497
|
}
|
|
2533
|
-
var
|
|
2498
|
+
var Bt = Ii ? (
|
|
2534
2499
|
// Native
|
|
2535
2500
|
function(t, r, i) {
|
|
2536
2501
|
return t.startsWith(r, i);
|
|
@@ -2540,31 +2505,31 @@ var Rt = Wi ? (
|
|
|
2540
2505
|
function(t, r, i) {
|
|
2541
2506
|
return t.slice(i, i + r.length) === r;
|
|
2542
2507
|
}
|
|
2543
|
-
),
|
|
2508
|
+
), ft = Li ? String.fromCodePoint : (
|
|
2544
2509
|
// IE11
|
|
2545
2510
|
function() {
|
|
2546
2511
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2547
2512
|
t[r] = arguments[r];
|
|
2548
|
-
for (var i = "", n = t.length, s = 0,
|
|
2549
|
-
if (
|
|
2550
|
-
throw RangeError(
|
|
2551
|
-
i +=
|
|
2513
|
+
for (var i = "", n = t.length, s = 0, l; n > s; ) {
|
|
2514
|
+
if (l = t[s++], l > 1114111)
|
|
2515
|
+
throw RangeError(l + " is not a valid code point");
|
|
2516
|
+
i += l < 65536 ? String.fromCharCode(l) : String.fromCharCode(((l -= 65536) >> 10) + 55296, l % 1024 + 56320);
|
|
2552
2517
|
}
|
|
2553
2518
|
return i;
|
|
2554
2519
|
}
|
|
2555
|
-
),
|
|
2520
|
+
), Mt = (
|
|
2556
2521
|
// native
|
|
2557
|
-
|
|
2522
|
+
Ni ? Object.fromEntries : (
|
|
2558
2523
|
// Ponyfill
|
|
2559
2524
|
function(t) {
|
|
2560
2525
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
2561
|
-
var s = n[i],
|
|
2562
|
-
r[
|
|
2526
|
+
var s = n[i], l = s[0], a = s[1];
|
|
2527
|
+
r[l] = a;
|
|
2563
2528
|
}
|
|
2564
2529
|
return r;
|
|
2565
2530
|
}
|
|
2566
2531
|
)
|
|
2567
|
-
),
|
|
2532
|
+
), dr = Ri ? (
|
|
2568
2533
|
// Native
|
|
2569
2534
|
function(t, r) {
|
|
2570
2535
|
return t.codePointAt(r);
|
|
@@ -2578,7 +2543,7 @@ var Rt = Wi ? (
|
|
|
2578
2543
|
return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2579
2544
|
}
|
|
2580
2545
|
}
|
|
2581
|
-
),
|
|
2546
|
+
), ji = ki ? (
|
|
2582
2547
|
// Native
|
|
2583
2548
|
function(t) {
|
|
2584
2549
|
return t.trimStart();
|
|
@@ -2586,9 +2551,9 @@ var Rt = Wi ? (
|
|
|
2586
2551
|
) : (
|
|
2587
2552
|
// Ponyfill
|
|
2588
2553
|
function(t) {
|
|
2589
|
-
return t.replace(
|
|
2554
|
+
return t.replace(Ci, "");
|
|
2590
2555
|
}
|
|
2591
|
-
),
|
|
2556
|
+
), zi = Ui ? (
|
|
2592
2557
|
// Native
|
|
2593
2558
|
function(t) {
|
|
2594
2559
|
return t.trimEnd();
|
|
@@ -2596,32 +2561,32 @@ var Rt = Wi ? (
|
|
|
2596
2561
|
) : (
|
|
2597
2562
|
// Ponyfill
|
|
2598
2563
|
function(t) {
|
|
2599
|
-
return t.replace(
|
|
2564
|
+
return t.replace(Di, "");
|
|
2600
2565
|
}
|
|
2601
2566
|
);
|
|
2602
|
-
function
|
|
2567
|
+
function mr(e, t) {
|
|
2603
2568
|
return new RegExp(e, t);
|
|
2604
2569
|
}
|
|
2605
|
-
var
|
|
2606
|
-
if (
|
|
2607
|
-
var
|
|
2608
|
-
|
|
2570
|
+
var ct;
|
|
2571
|
+
if (ht) {
|
|
2572
|
+
var Ct = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2573
|
+
ct = function(t, r) {
|
|
2609
2574
|
var i;
|
|
2610
|
-
|
|
2611
|
-
var n =
|
|
2575
|
+
Ct.lastIndex = r;
|
|
2576
|
+
var n = Ct.exec(t);
|
|
2612
2577
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2613
2578
|
};
|
|
2614
2579
|
} else
|
|
2615
|
-
|
|
2580
|
+
ct = function(t, r) {
|
|
2616
2581
|
for (var i = []; ; ) {
|
|
2617
|
-
var n =
|
|
2618
|
-
if (n === void 0 ||
|
|
2582
|
+
var n = dr(t, r);
|
|
2583
|
+
if (n === void 0 || pr(n) || Yi(n))
|
|
2619
2584
|
break;
|
|
2620
2585
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
2621
2586
|
}
|
|
2622
|
-
return
|
|
2587
|
+
return ft.apply(void 0, i);
|
|
2623
2588
|
};
|
|
2624
|
-
var
|
|
2589
|
+
var Xi = (
|
|
2625
2590
|
/** @class */
|
|
2626
2591
|
function() {
|
|
2627
2592
|
function e(t, r) {
|
|
@@ -2635,33 +2600,33 @@ var sn = (
|
|
|
2635
2600
|
for (var n = []; !this.isEOF(); ) {
|
|
2636
2601
|
var s = this.char();
|
|
2637
2602
|
if (s === 123) {
|
|
2638
|
-
var
|
|
2639
|
-
if (
|
|
2640
|
-
return
|
|
2641
|
-
n.push(
|
|
2603
|
+
var l = this.parseArgument(t, i);
|
|
2604
|
+
if (l.err)
|
|
2605
|
+
return l;
|
|
2606
|
+
n.push(l.val);
|
|
2642
2607
|
} else {
|
|
2643
2608
|
if (s === 125 && t > 0)
|
|
2644
2609
|
break;
|
|
2645
2610
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2646
|
-
var
|
|
2611
|
+
var a = this.clonePosition();
|
|
2647
2612
|
this.bump(), n.push({
|
|
2648
2613
|
type: C.pound,
|
|
2649
|
-
location:
|
|
2614
|
+
location: O(a, this.clonePosition())
|
|
2650
2615
|
});
|
|
2651
2616
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2652
2617
|
if (i)
|
|
2653
2618
|
break;
|
|
2654
|
-
return this.error(T.UNMATCHED_CLOSING_TAG,
|
|
2655
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2656
|
-
var
|
|
2657
|
-
if (
|
|
2658
|
-
return
|
|
2659
|
-
n.push(
|
|
2619
|
+
return this.error(T.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
|
|
2620
|
+
} else if (s === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
|
|
2621
|
+
var l = this.parseTag(t, r);
|
|
2622
|
+
if (l.err)
|
|
2623
|
+
return l;
|
|
2624
|
+
n.push(l.val);
|
|
2660
2625
|
} else {
|
|
2661
|
-
var
|
|
2662
|
-
if (
|
|
2663
|
-
return
|
|
2664
|
-
n.push(
|
|
2626
|
+
var l = this.parseLiteral(t, r);
|
|
2627
|
+
if (l.err)
|
|
2628
|
+
return l;
|
|
2629
|
+
n.push(l.val);
|
|
2665
2630
|
}
|
|
2666
2631
|
}
|
|
2667
2632
|
}
|
|
@@ -2675,7 +2640,7 @@ var sn = (
|
|
|
2675
2640
|
val: {
|
|
2676
2641
|
type: C.literal,
|
|
2677
2642
|
value: "<".concat(n, "/>"),
|
|
2678
|
-
location:
|
|
2643
|
+
location: O(i, this.clonePosition())
|
|
2679
2644
|
},
|
|
2680
2645
|
err: null
|
|
2681
2646
|
};
|
|
@@ -2683,27 +2648,27 @@ var sn = (
|
|
|
2683
2648
|
var s = this.parseMessage(t + 1, r, !0);
|
|
2684
2649
|
if (s.err)
|
|
2685
2650
|
return s;
|
|
2686
|
-
var
|
|
2651
|
+
var l = s.val, a = this.clonePosition();
|
|
2687
2652
|
if (this.bumpIf("</")) {
|
|
2688
|
-
if (this.isEOF() || !
|
|
2689
|
-
return this.error(T.INVALID_TAG,
|
|
2653
|
+
if (this.isEOF() || !dt(this.char()))
|
|
2654
|
+
return this.error(T.INVALID_TAG, O(a, this.clonePosition()));
|
|
2690
2655
|
var o = this.clonePosition(), u = this.parseTagName();
|
|
2691
|
-
return n !== u ? this.error(T.UNMATCHED_CLOSING_TAG,
|
|
2656
|
+
return n !== u ? this.error(T.UNMATCHED_CLOSING_TAG, O(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2692
2657
|
val: {
|
|
2693
2658
|
type: C.tag,
|
|
2694
2659
|
value: n,
|
|
2695
|
-
children:
|
|
2696
|
-
location:
|
|
2660
|
+
children: l,
|
|
2661
|
+
location: O(i, this.clonePosition())
|
|
2697
2662
|
},
|
|
2698
2663
|
err: null
|
|
2699
|
-
} : this.error(T.INVALID_TAG,
|
|
2664
|
+
} : this.error(T.INVALID_TAG, O(a, this.clonePosition())));
|
|
2700
2665
|
} else
|
|
2701
|
-
return this.error(T.UNCLOSED_TAG,
|
|
2666
|
+
return this.error(T.UNCLOSED_TAG, O(i, this.clonePosition()));
|
|
2702
2667
|
} else
|
|
2703
|
-
return this.error(T.INVALID_TAG,
|
|
2668
|
+
return this.error(T.INVALID_TAG, O(i, this.clonePosition()));
|
|
2704
2669
|
}, e.prototype.parseTagName = function() {
|
|
2705
2670
|
var t = this.offset();
|
|
2706
|
-
for (this.bump(); !this.isEOF() &&
|
|
2671
|
+
for (this.bump(); !this.isEOF() && qi(this.char()); )
|
|
2707
2672
|
this.bump();
|
|
2708
2673
|
return this.message.slice(t, this.offset());
|
|
2709
2674
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2713,26 +2678,26 @@ var sn = (
|
|
|
2713
2678
|
n += s;
|
|
2714
2679
|
continue;
|
|
2715
2680
|
}
|
|
2716
|
-
var
|
|
2717
|
-
if (a) {
|
|
2718
|
-
n += a;
|
|
2719
|
-
continue;
|
|
2720
|
-
}
|
|
2721
|
-
var l = this.tryParseLeftAngleBracket();
|
|
2681
|
+
var l = this.tryParseUnquoted(t, r);
|
|
2722
2682
|
if (l) {
|
|
2723
2683
|
n += l;
|
|
2724
2684
|
continue;
|
|
2725
2685
|
}
|
|
2686
|
+
var a = this.tryParseLeftAngleBracket();
|
|
2687
|
+
if (a) {
|
|
2688
|
+
n += a;
|
|
2689
|
+
continue;
|
|
2690
|
+
}
|
|
2726
2691
|
break;
|
|
2727
2692
|
}
|
|
2728
|
-
var o =
|
|
2693
|
+
var o = O(i, this.clonePosition());
|
|
2729
2694
|
return {
|
|
2730
2695
|
val: { type: C.literal, value: n, location: o },
|
|
2731
2696
|
err: null
|
|
2732
2697
|
};
|
|
2733
2698
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2734
2699
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2735
|
-
!
|
|
2700
|
+
!Wi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2736
2701
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2737
2702
|
if (this.isEOF() || this.char() !== 39)
|
|
2738
2703
|
return null;
|
|
@@ -2766,23 +2731,23 @@ var sn = (
|
|
|
2766
2731
|
r.push(i);
|
|
2767
2732
|
this.bump();
|
|
2768
2733
|
}
|
|
2769
|
-
return
|
|
2734
|
+
return ft.apply(void 0, r);
|
|
2770
2735
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2771
2736
|
if (this.isEOF())
|
|
2772
2737
|
return null;
|
|
2773
2738
|
var i = this.char();
|
|
2774
|
-
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(),
|
|
2739
|
+
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ft(i));
|
|
2775
2740
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2776
2741
|
var i = this.clonePosition();
|
|
2777
2742
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2778
|
-
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2743
|
+
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition()));
|
|
2779
2744
|
if (this.char() === 125)
|
|
2780
|
-
return this.bump(), this.error(T.EMPTY_ARGUMENT,
|
|
2745
|
+
return this.bump(), this.error(T.EMPTY_ARGUMENT, O(i, this.clonePosition()));
|
|
2781
2746
|
var n = this.parseIdentifierIfPossible().value;
|
|
2782
2747
|
if (!n)
|
|
2783
|
-
return this.error(T.MALFORMED_ARGUMENT,
|
|
2748
|
+
return this.error(T.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
|
|
2784
2749
|
if (this.bumpSpace(), this.isEOF())
|
|
2785
|
-
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2750
|
+
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition()));
|
|
2786
2751
|
switch (this.char()) {
|
|
2787
2752
|
case 125:
|
|
2788
2753
|
return this.bump(), {
|
|
@@ -2790,25 +2755,25 @@ var sn = (
|
|
|
2790
2755
|
type: C.argument,
|
|
2791
2756
|
// value does not include the opening and closing braces.
|
|
2792
2757
|
value: n,
|
|
2793
|
-
location:
|
|
2758
|
+
location: O(i, this.clonePosition())
|
|
2794
2759
|
},
|
|
2795
2760
|
err: null
|
|
2796
2761
|
};
|
|
2797
2762
|
case 44:
|
|
2798
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2763
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
|
|
2799
2764
|
default:
|
|
2800
|
-
return this.error(T.MALFORMED_ARGUMENT,
|
|
2765
|
+
return this.error(T.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
|
|
2801
2766
|
}
|
|
2802
2767
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2803
|
-
var t = this.clonePosition(), r = this.offset(), i =
|
|
2768
|
+
var t = this.clonePosition(), r = this.offset(), i = ct(this.message, r), n = r + i.length;
|
|
2804
2769
|
this.bumpTo(n);
|
|
2805
|
-
var s = this.clonePosition(),
|
|
2806
|
-
return { value: i, location:
|
|
2770
|
+
var s = this.clonePosition(), l = O(t, s);
|
|
2771
|
+
return { value: i, location: l };
|
|
2807
2772
|
}, e.prototype.parseArgumentOptions = function(t, r, i, n) {
|
|
2808
|
-
var s,
|
|
2809
|
-
switch (
|
|
2773
|
+
var s, l = this.clonePosition(), a = this.parseIdentifierIfPossible().value, o = this.clonePosition();
|
|
2774
|
+
switch (a) {
|
|
2810
2775
|
case "":
|
|
2811
|
-
return this.error(T.EXPECT_ARGUMENT_TYPE,
|
|
2776
|
+
return this.error(T.EXPECT_ARGUMENT_TYPE, O(l, o));
|
|
2812
2777
|
case "number":
|
|
2813
2778
|
case "date":
|
|
2814
2779
|
case "time": {
|
|
@@ -2819,19 +2784,19 @@ var sn = (
|
|
|
2819
2784
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2820
2785
|
if (c.err)
|
|
2821
2786
|
return c;
|
|
2822
|
-
var m =
|
|
2787
|
+
var m = zi(c.val);
|
|
2823
2788
|
if (m.length === 0)
|
|
2824
|
-
return this.error(T.EXPECT_ARGUMENT_STYLE,
|
|
2825
|
-
var E =
|
|
2789
|
+
return this.error(T.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
|
|
2790
|
+
var E = O(h, this.clonePosition());
|
|
2826
2791
|
u = { style: m, styleLocation: E };
|
|
2827
2792
|
}
|
|
2828
2793
|
var H = this.tryParseArgumentClose(n);
|
|
2829
2794
|
if (H.err)
|
|
2830
2795
|
return H;
|
|
2831
|
-
var v =
|
|
2832
|
-
if (u &&
|
|
2833
|
-
var $ =
|
|
2834
|
-
if (
|
|
2796
|
+
var v = O(n, this.clonePosition());
|
|
2797
|
+
if (u && Bt(u?.style, "::", 0)) {
|
|
2798
|
+
var $ = ji(u.style.slice(2));
|
|
2799
|
+
if (a === "number") {
|
|
2835
2800
|
var c = this.parseNumberSkeletonFromString($, u.styleLocation);
|
|
2836
2801
|
return c.err ? c : {
|
|
2837
2802
|
val: { type: C.number, value: i, location: v, style: c.val },
|
|
@@ -2840,14 +2805,14 @@ var sn = (
|
|
|
2840
2805
|
} else {
|
|
2841
2806
|
if ($.length === 0)
|
|
2842
2807
|
return this.error(T.EXPECT_DATE_TIME_SKELETON, v);
|
|
2843
|
-
var
|
|
2844
|
-
this.locale && (
|
|
2808
|
+
var V = $;
|
|
2809
|
+
this.locale && (V = Bi($, this.locale));
|
|
2845
2810
|
var m = {
|
|
2846
|
-
type:
|
|
2847
|
-
pattern:
|
|
2811
|
+
type: Se.dateTime,
|
|
2812
|
+
pattern: V,
|
|
2848
2813
|
location: u.styleLocation,
|
|
2849
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2850
|
-
}, U =
|
|
2814
|
+
parsedOptions: this.shouldParseSkeletons ? Si(V) : {}
|
|
2815
|
+
}, U = a === "date" ? C.date : C.time;
|
|
2851
2816
|
return {
|
|
2852
2817
|
val: { type: U, value: i, location: v, style: m },
|
|
2853
2818
|
err: null
|
|
@@ -2856,10 +2821,10 @@ var sn = (
|
|
|
2856
2821
|
}
|
|
2857
2822
|
return {
|
|
2858
2823
|
val: {
|
|
2859
|
-
type:
|
|
2824
|
+
type: a === "number" ? C.number : a === "date" ? C.date : C.time,
|
|
2860
2825
|
value: i,
|
|
2861
2826
|
location: v,
|
|
2862
|
-
style: (s = u
|
|
2827
|
+
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
2863
2828
|
},
|
|
2864
2829
|
err: null
|
|
2865
2830
|
};
|
|
@@ -2867,52 +2832,52 @@ var sn = (
|
|
|
2867
2832
|
case "plural":
|
|
2868
2833
|
case "selectordinal":
|
|
2869
2834
|
case "select": {
|
|
2870
|
-
var
|
|
2835
|
+
var B = this.clonePosition();
|
|
2871
2836
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2872
|
-
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
2837
|
+
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, O(B, A({}, B)));
|
|
2873
2838
|
this.bumpSpace();
|
|
2874
|
-
var
|
|
2875
|
-
if (
|
|
2839
|
+
var z = this.parseIdentifierIfPossible(), I = 0;
|
|
2840
|
+
if (a !== "select" && z.value === "offset") {
|
|
2876
2841
|
if (!this.bumpIf(":"))
|
|
2877
|
-
return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
2842
|
+
return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
|
|
2878
2843
|
this.bumpSpace();
|
|
2879
2844
|
var c = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2880
2845
|
if (c.err)
|
|
2881
2846
|
return c;
|
|
2882
|
-
this.bumpSpace(),
|
|
2847
|
+
this.bumpSpace(), z = this.parseIdentifierIfPossible(), I = c.val;
|
|
2883
2848
|
}
|
|
2884
|
-
var
|
|
2885
|
-
if (
|
|
2886
|
-
return
|
|
2849
|
+
var L = this.tryParsePluralOrSelectOptions(t, a, r, z);
|
|
2850
|
+
if (L.err)
|
|
2851
|
+
return L;
|
|
2887
2852
|
var H = this.tryParseArgumentClose(n);
|
|
2888
2853
|
if (H.err)
|
|
2889
2854
|
return H;
|
|
2890
|
-
var
|
|
2891
|
-
return
|
|
2855
|
+
var q = O(n, this.clonePosition());
|
|
2856
|
+
return a === "select" ? {
|
|
2892
2857
|
val: {
|
|
2893
2858
|
type: C.select,
|
|
2894
2859
|
value: i,
|
|
2895
|
-
options:
|
|
2896
|
-
location:
|
|
2860
|
+
options: Mt(L.val),
|
|
2861
|
+
location: q
|
|
2897
2862
|
},
|
|
2898
2863
|
err: null
|
|
2899
2864
|
} : {
|
|
2900
2865
|
val: {
|
|
2901
2866
|
type: C.plural,
|
|
2902
2867
|
value: i,
|
|
2903
|
-
options:
|
|
2904
|
-
offset:
|
|
2905
|
-
pluralType:
|
|
2906
|
-
location:
|
|
2868
|
+
options: Mt(L.val),
|
|
2869
|
+
offset: I,
|
|
2870
|
+
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2871
|
+
location: q
|
|
2907
2872
|
},
|
|
2908
2873
|
err: null
|
|
2909
2874
|
};
|
|
2910
2875
|
}
|
|
2911
2876
|
default:
|
|
2912
|
-
return this.error(T.INVALID_ARGUMENT_TYPE,
|
|
2877
|
+
return this.error(T.INVALID_ARGUMENT_TYPE, O(l, o));
|
|
2913
2878
|
}
|
|
2914
2879
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2915
|
-
return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2880
|
+
return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, O(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2916
2881
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2917
2882
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2918
2883
|
var i = this.char();
|
|
@@ -2921,7 +2886,7 @@ var sn = (
|
|
|
2921
2886
|
this.bump();
|
|
2922
2887
|
var n = this.clonePosition();
|
|
2923
2888
|
if (!this.bumpUntil("'"))
|
|
2924
|
-
return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
2889
|
+
return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, O(n, this.clonePosition()));
|
|
2925
2890
|
this.bump();
|
|
2926
2891
|
break;
|
|
2927
2892
|
}
|
|
@@ -2951,64 +2916,64 @@ var sn = (
|
|
|
2951
2916
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2952
2917
|
var i = [];
|
|
2953
2918
|
try {
|
|
2954
|
-
i =
|
|
2955
|
-
} catch
|
|
2919
|
+
i = Hi(t);
|
|
2920
|
+
} catch {
|
|
2956
2921
|
return this.error(T.INVALID_NUMBER_SKELETON, r);
|
|
2957
2922
|
}
|
|
2958
2923
|
return {
|
|
2959
2924
|
val: {
|
|
2960
|
-
type:
|
|
2925
|
+
type: Se.number,
|
|
2961
2926
|
tokens: i,
|
|
2962
2927
|
location: r,
|
|
2963
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2928
|
+
parsedOptions: this.shouldParseSkeletons ? $i(i) : {}
|
|
2964
2929
|
},
|
|
2965
2930
|
err: null
|
|
2966
2931
|
};
|
|
2967
2932
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
|
|
2968
|
-
for (var s,
|
|
2933
|
+
for (var s, l = !1, a = [], o = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
|
|
2969
2934
|
if (u.length === 0) {
|
|
2970
2935
|
var c = this.clonePosition();
|
|
2971
2936
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2972
2937
|
var m = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2973
2938
|
if (m.err)
|
|
2974
2939
|
return m;
|
|
2975
|
-
h =
|
|
2940
|
+
h = O(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
2976
2941
|
} else
|
|
2977
2942
|
break;
|
|
2978
2943
|
}
|
|
2979
2944
|
if (o.has(u))
|
|
2980
2945
|
return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
2981
|
-
u === "other" && (
|
|
2946
|
+
u === "other" && (l = !0), this.bumpSpace();
|
|
2982
2947
|
var E = this.clonePosition();
|
|
2983
2948
|
if (!this.bumpIf("{"))
|
|
2984
|
-
return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
2949
|
+
return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
|
|
2985
2950
|
var H = this.parseMessage(t + 1, r, i);
|
|
2986
2951
|
if (H.err)
|
|
2987
2952
|
return H;
|
|
2988
2953
|
var v = this.tryParseArgumentClose(E);
|
|
2989
2954
|
if (v.err)
|
|
2990
2955
|
return v;
|
|
2991
|
-
|
|
2956
|
+
a.push([
|
|
2992
2957
|
u,
|
|
2993
2958
|
{
|
|
2994
2959
|
value: H.val,
|
|
2995
|
-
location:
|
|
2960
|
+
location: O(E, this.clonePosition())
|
|
2996
2961
|
}
|
|
2997
2962
|
]), o.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
|
|
2998
2963
|
}
|
|
2999
|
-
return
|
|
2964
|
+
return a.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(T.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3000
2965
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3001
2966
|
var i = 1, n = this.clonePosition();
|
|
3002
2967
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
3003
|
-
for (var s = !1,
|
|
3004
|
-
var
|
|
3005
|
-
if (
|
|
3006
|
-
s = !0,
|
|
2968
|
+
for (var s = !1, l = 0; !this.isEOF(); ) {
|
|
2969
|
+
var a = this.char();
|
|
2970
|
+
if (a >= 48 && a <= 57)
|
|
2971
|
+
s = !0, l = l * 10 + (a - 48), this.bump();
|
|
3007
2972
|
else
|
|
3008
2973
|
break;
|
|
3009
2974
|
}
|
|
3010
|
-
var o =
|
|
3011
|
-
return s ? (
|
|
2975
|
+
var o = O(n, this.clonePosition());
|
|
2976
|
+
return s ? (l *= i, Vi(l) ? { val: l, err: null } : this.error(r, o)) : this.error(t, o);
|
|
3012
2977
|
}, e.prototype.offset = function() {
|
|
3013
2978
|
return this.position.offset;
|
|
3014
2979
|
}, e.prototype.isEOF = function() {
|
|
@@ -3023,7 +2988,7 @@ var sn = (
|
|
|
3023
2988
|
var t = this.position.offset;
|
|
3024
2989
|
if (t >= this.message.length)
|
|
3025
2990
|
throw Error("out of bound");
|
|
3026
|
-
var r =
|
|
2991
|
+
var r = dr(this.message, t);
|
|
3027
2992
|
if (r === void 0)
|
|
3028
2993
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3029
2994
|
return r;
|
|
@@ -3042,7 +3007,7 @@ var sn = (
|
|
|
3042
3007
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3043
3008
|
}
|
|
3044
3009
|
}, e.prototype.bumpIf = function(t) {
|
|
3045
|
-
if (
|
|
3010
|
+
if (Bt(this.message, t, this.offset())) {
|
|
3046
3011
|
for (var r = 0; r < t.length; r++)
|
|
3047
3012
|
this.bump();
|
|
3048
3013
|
return !0;
|
|
@@ -3064,56 +3029,56 @@ var sn = (
|
|
|
3064
3029
|
break;
|
|
3065
3030
|
}
|
|
3066
3031
|
}, e.prototype.bumpSpace = function() {
|
|
3067
|
-
for (; !this.isEOF() &&
|
|
3032
|
+
for (; !this.isEOF() && pr(this.char()); )
|
|
3068
3033
|
this.bump();
|
|
3069
3034
|
}, e.prototype.peek = function() {
|
|
3070
3035
|
if (this.isEOF())
|
|
3071
3036
|
return null;
|
|
3072
3037
|
var t = this.char(), r = this.offset(), i = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3073
|
-
return i
|
|
3038
|
+
return i ?? null;
|
|
3074
3039
|
}, e;
|
|
3075
3040
|
}()
|
|
3076
3041
|
);
|
|
3077
|
-
function
|
|
3042
|
+
function dt(e) {
|
|
3078
3043
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3079
3044
|
}
|
|
3080
|
-
function
|
|
3081
|
-
return
|
|
3045
|
+
function Wi(e) {
|
|
3046
|
+
return dt(e) || e === 47;
|
|
3082
3047
|
}
|
|
3083
|
-
function
|
|
3048
|
+
function qi(e) {
|
|
3084
3049
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3085
3050
|
}
|
|
3086
|
-
function
|
|
3051
|
+
function pr(e) {
|
|
3087
3052
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3088
3053
|
}
|
|
3089
|
-
function
|
|
3054
|
+
function Yi(e) {
|
|
3090
3055
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3091
3056
|
}
|
|
3092
|
-
function
|
|
3057
|
+
function mt(e) {
|
|
3093
3058
|
e.forEach(function(t) {
|
|
3094
|
-
if (delete t.location,
|
|
3059
|
+
if (delete t.location, sr(t) || or(t))
|
|
3095
3060
|
for (var r in t.options)
|
|
3096
|
-
delete t.options[r].location,
|
|
3097
|
-
else
|
|
3061
|
+
delete t.options[r].location, mt(t.options[r].value);
|
|
3062
|
+
else rr(t) && ur(t.style) || (ir(t) || nr(t)) && lt(t.style) ? delete t.style.location : ar(t) && mt(t.children);
|
|
3098
3063
|
});
|
|
3099
3064
|
}
|
|
3100
|
-
function
|
|
3101
|
-
t === void 0 && (t = {}), t =
|
|
3102
|
-
var r = new
|
|
3065
|
+
function Zi(e, t) {
|
|
3066
|
+
t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3067
|
+
var r = new Xi(e, t).parse();
|
|
3103
3068
|
if (r.err) {
|
|
3104
3069
|
var i = SyntaxError(T[r.err.kind]);
|
|
3105
3070
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3106
3071
|
}
|
|
3107
|
-
return t
|
|
3072
|
+
return t?.captureLocation || mt(r.val), r.val;
|
|
3108
3073
|
}
|
|
3109
|
-
var
|
|
3074
|
+
var Te;
|
|
3110
3075
|
(function(e) {
|
|
3111
3076
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3112
|
-
})(
|
|
3113
|
-
var
|
|
3077
|
+
})(Te || (Te = {}));
|
|
3078
|
+
var Ye = (
|
|
3114
3079
|
/** @class */
|
|
3115
3080
|
function(e) {
|
|
3116
|
-
|
|
3081
|
+
qe(t, e);
|
|
3117
3082
|
function t(r, i, n) {
|
|
3118
3083
|
var s = e.call(this, r) || this;
|
|
3119
3084
|
return s.code = i, s.originalMessage = n, s;
|
|
@@ -3122,155 +3087,155 @@ var Je = (
|
|
|
3122
3087
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3123
3088
|
}, t;
|
|
3124
3089
|
}(Error)
|
|
3125
|
-
),
|
|
3090
|
+
), Dt = (
|
|
3126
3091
|
/** @class */
|
|
3127
3092
|
function(e) {
|
|
3128
|
-
|
|
3093
|
+
qe(t, e);
|
|
3129
3094
|
function t(r, i, n, s) {
|
|
3130
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3095
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Te.INVALID_VALUE, s) || this;
|
|
3131
3096
|
}
|
|
3132
3097
|
return t;
|
|
3133
|
-
}(
|
|
3134
|
-
),
|
|
3098
|
+
}(Ye)
|
|
3099
|
+
), Ji = (
|
|
3135
3100
|
/** @class */
|
|
3136
3101
|
function(e) {
|
|
3137
|
-
|
|
3102
|
+
qe(t, e);
|
|
3138
3103
|
function t(r, i, n) {
|
|
3139
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i),
|
|
3104
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Te.INVALID_VALUE, n) || this;
|
|
3140
3105
|
}
|
|
3141
3106
|
return t;
|
|
3142
|
-
}(
|
|
3143
|
-
),
|
|
3107
|
+
}(Ye)
|
|
3108
|
+
), Qi = (
|
|
3144
3109
|
/** @class */
|
|
3145
3110
|
function(e) {
|
|
3146
|
-
|
|
3111
|
+
qe(t, e);
|
|
3147
3112
|
function t(r, i) {
|
|
3148
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'),
|
|
3113
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Te.MISSING_VALUE, i) || this;
|
|
3149
3114
|
}
|
|
3150
3115
|
return t;
|
|
3151
|
-
}(
|
|
3152
|
-
),
|
|
3116
|
+
}(Ye)
|
|
3117
|
+
), j;
|
|
3153
3118
|
(function(e) {
|
|
3154
3119
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3155
|
-
})(
|
|
3156
|
-
function
|
|
3120
|
+
})(j || (j = {}));
|
|
3121
|
+
function Ki(e) {
|
|
3157
3122
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3158
3123
|
var i = t[t.length - 1];
|
|
3159
|
-
return !i || i.type !==
|
|
3124
|
+
return !i || i.type !== j.literal || r.type !== j.literal ? t.push(r) : i.value += r.value, t;
|
|
3160
3125
|
}, []);
|
|
3161
3126
|
}
|
|
3162
|
-
function
|
|
3127
|
+
function en(e) {
|
|
3163
3128
|
return typeof e == "function";
|
|
3164
3129
|
}
|
|
3165
|
-
function
|
|
3166
|
-
if (e.length === 1 &&
|
|
3130
|
+
function Ve(e, t, r, i, n, s, l) {
|
|
3131
|
+
if (e.length === 1 && Ot(e[0]))
|
|
3167
3132
|
return [
|
|
3168
3133
|
{
|
|
3169
|
-
type:
|
|
3134
|
+
type: j.literal,
|
|
3170
3135
|
value: e[0].value
|
|
3171
3136
|
}
|
|
3172
3137
|
];
|
|
3173
|
-
for (var
|
|
3138
|
+
for (var a = [], o = 0, u = e; o < u.length; o++) {
|
|
3174
3139
|
var h = u[o];
|
|
3175
|
-
if (
|
|
3176
|
-
|
|
3177
|
-
type:
|
|
3140
|
+
if (Ot(h)) {
|
|
3141
|
+
a.push({
|
|
3142
|
+
type: j.literal,
|
|
3178
3143
|
value: h.value
|
|
3179
3144
|
});
|
|
3180
3145
|
continue;
|
|
3181
3146
|
}
|
|
3182
|
-
if (
|
|
3183
|
-
typeof s == "number" &&
|
|
3184
|
-
type:
|
|
3147
|
+
if (Ei(h)) {
|
|
3148
|
+
typeof s == "number" && a.push({
|
|
3149
|
+
type: j.literal,
|
|
3185
3150
|
value: r.getNumberFormat(t).format(s)
|
|
3186
3151
|
});
|
|
3187
3152
|
continue;
|
|
3188
3153
|
}
|
|
3189
3154
|
var c = h.value;
|
|
3190
3155
|
if (!(n && c in n))
|
|
3191
|
-
throw new
|
|
3156
|
+
throw new Qi(c, l);
|
|
3192
3157
|
var m = n[c];
|
|
3193
|
-
if (
|
|
3194
|
-
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""),
|
|
3195
|
-
type: typeof m == "string" ?
|
|
3158
|
+
if (_i(h)) {
|
|
3159
|
+
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
|
|
3160
|
+
type: typeof m == "string" ? j.literal : j.object,
|
|
3196
3161
|
value: m
|
|
3197
3162
|
});
|
|
3198
3163
|
continue;
|
|
3199
3164
|
}
|
|
3200
|
-
if (
|
|
3201
|
-
var E = typeof h.style == "string" ? i.date[h.style] :
|
|
3202
|
-
|
|
3203
|
-
type:
|
|
3165
|
+
if (ir(h)) {
|
|
3166
|
+
var E = typeof h.style == "string" ? i.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
|
|
3167
|
+
a.push({
|
|
3168
|
+
type: j.literal,
|
|
3204
3169
|
value: r.getDateTimeFormat(t, E).format(m)
|
|
3205
3170
|
});
|
|
3206
3171
|
continue;
|
|
3207
3172
|
}
|
|
3208
|
-
if (
|
|
3209
|
-
var E = typeof h.style == "string" ? i.time[h.style] :
|
|
3210
|
-
|
|
3211
|
-
type:
|
|
3173
|
+
if (nr(h)) {
|
|
3174
|
+
var E = typeof h.style == "string" ? i.time[h.style] : lt(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3175
|
+
a.push({
|
|
3176
|
+
type: j.literal,
|
|
3212
3177
|
value: r.getDateTimeFormat(t, E).format(m)
|
|
3213
3178
|
});
|
|
3214
3179
|
continue;
|
|
3215
3180
|
}
|
|
3216
|
-
if (
|
|
3217
|
-
var E = typeof h.style == "string" ? i.number[h.style] :
|
|
3218
|
-
E && E.scale && (m = m * (E.scale || 1)),
|
|
3219
|
-
type:
|
|
3181
|
+
if (rr(h)) {
|
|
3182
|
+
var E = typeof h.style == "string" ? i.number[h.style] : ur(h.style) ? h.style.parsedOptions : void 0;
|
|
3183
|
+
E && E.scale && (m = m * (E.scale || 1)), a.push({
|
|
3184
|
+
type: j.literal,
|
|
3220
3185
|
value: r.getNumberFormat(t, E).format(m)
|
|
3221
3186
|
});
|
|
3222
3187
|
continue;
|
|
3223
3188
|
}
|
|
3224
|
-
if (
|
|
3189
|
+
if (ar(h)) {
|
|
3225
3190
|
var H = h.children, v = h.value, $ = n[v];
|
|
3226
|
-
if (!
|
|
3227
|
-
throw new
|
|
3228
|
-
var
|
|
3229
|
-
return
|
|
3191
|
+
if (!en($))
|
|
3192
|
+
throw new Ji(v, "function", l);
|
|
3193
|
+
var V = Ve(H, t, r, i, n, s), U = $(V.map(function(I) {
|
|
3194
|
+
return I.value;
|
|
3230
3195
|
}));
|
|
3231
|
-
Array.isArray(U) || (U = [U]),
|
|
3196
|
+
Array.isArray(U) || (U = [U]), a.push.apply(a, U.map(function(I) {
|
|
3232
3197
|
return {
|
|
3233
|
-
type: typeof
|
|
3234
|
-
value:
|
|
3198
|
+
type: typeof I == "string" ? j.literal : j.object,
|
|
3199
|
+
value: I
|
|
3235
3200
|
};
|
|
3236
3201
|
}));
|
|
3237
3202
|
}
|
|
3238
|
-
if (
|
|
3239
|
-
var
|
|
3240
|
-
if (!
|
|
3241
|
-
throw new
|
|
3242
|
-
|
|
3203
|
+
if (sr(h)) {
|
|
3204
|
+
var B = h.options[m] || h.options.other;
|
|
3205
|
+
if (!B)
|
|
3206
|
+
throw new Dt(h.value, m, Object.keys(h.options), l);
|
|
3207
|
+
a.push.apply(a, Ve(B.value, t, r, i, n));
|
|
3243
3208
|
continue;
|
|
3244
3209
|
}
|
|
3245
|
-
if (
|
|
3246
|
-
var
|
|
3247
|
-
if (!
|
|
3210
|
+
if (or(h)) {
|
|
3211
|
+
var B = h.options["=".concat(m)];
|
|
3212
|
+
if (!B) {
|
|
3248
3213
|
if (!Intl.PluralRules)
|
|
3249
|
-
throw new
|
|
3214
|
+
throw new Ye(`Intl.PluralRules is not available in this environment.
|
|
3250
3215
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3251
|
-
`,
|
|
3252
|
-
var
|
|
3253
|
-
|
|
3216
|
+
`, Te.MISSING_INTL_API, l);
|
|
3217
|
+
var z = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
|
|
3218
|
+
B = h.options[z] || h.options.other;
|
|
3254
3219
|
}
|
|
3255
|
-
if (!
|
|
3256
|
-
throw new
|
|
3257
|
-
|
|
3220
|
+
if (!B)
|
|
3221
|
+
throw new Dt(h.value, m, Object.keys(h.options), l);
|
|
3222
|
+
a.push.apply(a, Ve(B.value, t, r, i, n, m - (h.offset || 0)));
|
|
3258
3223
|
continue;
|
|
3259
3224
|
}
|
|
3260
3225
|
}
|
|
3261
|
-
return
|
|
3226
|
+
return Ki(a);
|
|
3262
3227
|
}
|
|
3263
|
-
function
|
|
3264
|
-
return t ?
|
|
3265
|
-
return r[i] =
|
|
3228
|
+
function tn(e, t) {
|
|
3229
|
+
return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3230
|
+
return r[i] = A(A({}, e[i]), t[i] || {}), r;
|
|
3266
3231
|
}, {})) : e;
|
|
3267
3232
|
}
|
|
3268
|
-
function
|
|
3233
|
+
function rn(e, t) {
|
|
3269
3234
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3270
|
-
return r[i] =
|
|
3271
|
-
},
|
|
3235
|
+
return r[i] = tn(e[i], t[i]), r;
|
|
3236
|
+
}, A({}, e)) : e;
|
|
3272
3237
|
}
|
|
3273
|
-
function
|
|
3238
|
+
function it(e) {
|
|
3274
3239
|
return {
|
|
3275
3240
|
create: function() {
|
|
3276
3241
|
return {
|
|
@@ -3284,39 +3249,39 @@ function st(e) {
|
|
|
3284
3249
|
}
|
|
3285
3250
|
};
|
|
3286
3251
|
}
|
|
3287
|
-
function
|
|
3252
|
+
function nn(e) {
|
|
3288
3253
|
return e === void 0 && (e = {
|
|
3289
3254
|
number: {},
|
|
3290
3255
|
dateTime: {},
|
|
3291
3256
|
pluralRules: {}
|
|
3292
3257
|
}), {
|
|
3293
|
-
getNumberFormat:
|
|
3258
|
+
getNumberFormat: et(function() {
|
|
3294
3259
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3295
3260
|
r[i] = arguments[i];
|
|
3296
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3261
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ke([void 0], r, !1)))();
|
|
3297
3262
|
}, {
|
|
3298
|
-
cache:
|
|
3299
|
-
strategy:
|
|
3263
|
+
cache: it(e.number),
|
|
3264
|
+
strategy: tt.variadic
|
|
3300
3265
|
}),
|
|
3301
|
-
getDateTimeFormat:
|
|
3266
|
+
getDateTimeFormat: et(function() {
|
|
3302
3267
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3303
3268
|
r[i] = arguments[i];
|
|
3304
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3269
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ke([void 0], r, !1)))();
|
|
3305
3270
|
}, {
|
|
3306
|
-
cache:
|
|
3307
|
-
strategy:
|
|
3271
|
+
cache: it(e.dateTime),
|
|
3272
|
+
strategy: tt.variadic
|
|
3308
3273
|
}),
|
|
3309
|
-
getPluralRules:
|
|
3274
|
+
getPluralRules: et(function() {
|
|
3310
3275
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3311
3276
|
r[i] = arguments[i];
|
|
3312
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3277
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ke([void 0], r, !1)))();
|
|
3313
3278
|
}, {
|
|
3314
|
-
cache:
|
|
3315
|
-
strategy:
|
|
3279
|
+
cache: it(e.pluralRules),
|
|
3280
|
+
strategy: tt.variadic
|
|
3316
3281
|
})
|
|
3317
3282
|
};
|
|
3318
3283
|
}
|
|
3319
|
-
var
|
|
3284
|
+
var gr = (
|
|
3320
3285
|
/** @class */
|
|
3321
3286
|
function() {
|
|
3322
3287
|
function e(t, r, i, n) {
|
|
@@ -3331,11 +3296,11 @@ var wr = (
|
|
|
3331
3296
|
if (u.length === 1)
|
|
3332
3297
|
return u[0].value;
|
|
3333
3298
|
var h = u.reduce(function(c, m) {
|
|
3334
|
-
return !c.length || m.type !==
|
|
3299
|
+
return !c.length || m.type !== j.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
|
|
3335
3300
|
}, []);
|
|
3336
3301
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3337
3302
|
}, this.formatToParts = function(o) {
|
|
3338
|
-
return
|
|
3303
|
+
return Ve(s.ast, s.locales, s.formatters, s.formats, o, void 0, s.message);
|
|
3339
3304
|
}, this.resolvedOptions = function() {
|
|
3340
3305
|
var o;
|
|
3341
3306
|
return {
|
|
@@ -3346,15 +3311,15 @@ var wr = (
|
|
|
3346
3311
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3347
3312
|
if (this.message = t, !e.__parse)
|
|
3348
3313
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3349
|
-
var
|
|
3350
|
-
|
|
3351
|
-
var
|
|
3352
|
-
this.ast = e.__parse(t,
|
|
3314
|
+
var l = n || {};
|
|
3315
|
+
l.formatters;
|
|
3316
|
+
var a = di(l, ["formatters"]);
|
|
3317
|
+
this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
|
|
3353
3318
|
} else
|
|
3354
3319
|
this.ast = t;
|
|
3355
3320
|
if (!Array.isArray(this.ast))
|
|
3356
3321
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3357
|
-
this.formats =
|
|
3322
|
+
this.formats = rn(e.formats, i), this.formatters = n && n.formatters || nn(this.formatterCache);
|
|
3358
3323
|
}
|
|
3359
3324
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3360
3325
|
get: function() {
|
|
@@ -3363,11 +3328,11 @@ var wr = (
|
|
|
3363
3328
|
enumerable: !1,
|
|
3364
3329
|
configurable: !0
|
|
3365
3330
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3366
|
-
if (typeof Intl.Locale
|
|
3331
|
+
if (!(typeof Intl.Locale > "u")) {
|
|
3367
3332
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3368
3333
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3369
3334
|
}
|
|
3370
|
-
}, e.__parse =
|
|
3335
|
+
}, e.__parse = Zi, e.formats = {
|
|
3371
3336
|
number: {
|
|
3372
3337
|
integer: {
|
|
3373
3338
|
maximumFractionDigits: 0
|
|
@@ -3428,7 +3393,7 @@ var wr = (
|
|
|
3428
3393
|
}, e;
|
|
3429
3394
|
}()
|
|
3430
3395
|
);
|
|
3431
|
-
function
|
|
3396
|
+
function sn(e, t) {
|
|
3432
3397
|
if (t == null)
|
|
3433
3398
|
return;
|
|
3434
3399
|
if (t in e)
|
|
@@ -3449,101 +3414,101 @@ function vn(e, t) {
|
|
|
3449
3414
|
i = void 0;
|
|
3450
3415
|
return i;
|
|
3451
3416
|
}
|
|
3452
|
-
const
|
|
3417
|
+
const he = {}, on = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), vr = (e, t) => {
|
|
3453
3418
|
if (t == null)
|
|
3454
3419
|
return;
|
|
3455
|
-
if (t in
|
|
3456
|
-
return
|
|
3457
|
-
const r =
|
|
3420
|
+
if (t in he && e in he[t])
|
|
3421
|
+
return he[t][e];
|
|
3422
|
+
const r = Ne(t);
|
|
3458
3423
|
for (let i = 0; i < r.length; i++) {
|
|
3459
|
-
const n = r[i], s =
|
|
3424
|
+
const n = r[i], s = un(n, e);
|
|
3460
3425
|
if (s)
|
|
3461
|
-
return
|
|
3426
|
+
return on(e, t, s);
|
|
3462
3427
|
}
|
|
3463
3428
|
};
|
|
3464
|
-
let
|
|
3465
|
-
const
|
|
3466
|
-
function
|
|
3467
|
-
return
|
|
3429
|
+
let _t;
|
|
3430
|
+
const Le = We({});
|
|
3431
|
+
function an(e) {
|
|
3432
|
+
return _t[e] || null;
|
|
3468
3433
|
}
|
|
3469
|
-
function
|
|
3470
|
-
return e in
|
|
3434
|
+
function br(e) {
|
|
3435
|
+
return e in _t;
|
|
3471
3436
|
}
|
|
3472
|
-
function
|
|
3473
|
-
if (!
|
|
3437
|
+
function un(e, t) {
|
|
3438
|
+
if (!br(e))
|
|
3474
3439
|
return null;
|
|
3475
|
-
const r =
|
|
3476
|
-
return
|
|
3440
|
+
const r = an(e);
|
|
3441
|
+
return sn(r, t);
|
|
3477
3442
|
}
|
|
3478
|
-
function
|
|
3443
|
+
function ln(e) {
|
|
3479
3444
|
if (e == null)
|
|
3480
3445
|
return;
|
|
3481
|
-
const t =
|
|
3446
|
+
const t = Ne(e);
|
|
3482
3447
|
for (let r = 0; r < t.length; r++) {
|
|
3483
3448
|
const i = t[r];
|
|
3484
|
-
if (
|
|
3449
|
+
if (br(i))
|
|
3485
3450
|
return i;
|
|
3486
3451
|
}
|
|
3487
3452
|
}
|
|
3488
|
-
function
|
|
3489
|
-
delete
|
|
3453
|
+
function yr(e, ...t) {
|
|
3454
|
+
delete he[e], Le.update((r) => (r[e] = ci.all([r[e] || {}, ...t]), r));
|
|
3490
3455
|
}
|
|
3491
|
-
|
|
3492
|
-
[
|
|
3456
|
+
Oe(
|
|
3457
|
+
[Le],
|
|
3493
3458
|
([e]) => Object.keys(e)
|
|
3494
3459
|
);
|
|
3495
|
-
|
|
3496
|
-
const
|
|
3497
|
-
function
|
|
3498
|
-
|
|
3460
|
+
Le.subscribe((e) => _t = e);
|
|
3461
|
+
const Ge = {};
|
|
3462
|
+
function hn(e, t) {
|
|
3463
|
+
Ge[e].delete(t), Ge[e].size === 0 && delete Ge[e];
|
|
3499
3464
|
}
|
|
3500
|
-
function
|
|
3501
|
-
return
|
|
3465
|
+
function xr(e) {
|
|
3466
|
+
return Ge[e];
|
|
3502
3467
|
}
|
|
3503
|
-
function
|
|
3504
|
-
return
|
|
3505
|
-
const r =
|
|
3468
|
+
function fn(e) {
|
|
3469
|
+
return Ne(e).map((t) => {
|
|
3470
|
+
const r = xr(t);
|
|
3506
3471
|
return [t, r ? [...r] : []];
|
|
3507
3472
|
}).filter(([, t]) => t.length > 0);
|
|
3508
3473
|
}
|
|
3509
|
-
function
|
|
3510
|
-
return e == null ? !1 :
|
|
3474
|
+
function je(e) {
|
|
3475
|
+
return e == null ? !1 : Ne(e).some(
|
|
3511
3476
|
(t) => {
|
|
3512
3477
|
var r;
|
|
3513
|
-
return (r =
|
|
3478
|
+
return (r = xr(t)) == null ? void 0 : r.size;
|
|
3514
3479
|
}
|
|
3515
3480
|
);
|
|
3516
3481
|
}
|
|
3517
|
-
function
|
|
3482
|
+
function cn(e, t) {
|
|
3518
3483
|
return Promise.all(
|
|
3519
|
-
t.map((i) => (
|
|
3520
|
-
).then((i) =>
|
|
3521
|
-
}
|
|
3522
|
-
const
|
|
3523
|
-
function
|
|
3524
|
-
if (!
|
|
3525
|
-
return e in
|
|
3526
|
-
const t =
|
|
3527
|
-
return
|
|
3484
|
+
t.map((i) => (hn(e, i), i().then((n) => n.default || n)))
|
|
3485
|
+
).then((i) => yr(e, ...i));
|
|
3486
|
+
}
|
|
3487
|
+
const Pe = {};
|
|
3488
|
+
function _r(e) {
|
|
3489
|
+
if (!je(e))
|
|
3490
|
+
return e in Pe ? Pe[e] : Promise.resolve();
|
|
3491
|
+
const t = fn(e);
|
|
3492
|
+
return Pe[e] = Promise.all(
|
|
3528
3493
|
t.map(
|
|
3529
|
-
([r, i]) =>
|
|
3494
|
+
([r, i]) => cn(r, i)
|
|
3530
3495
|
)
|
|
3531
3496
|
).then(() => {
|
|
3532
|
-
if (
|
|
3533
|
-
return
|
|
3534
|
-
delete
|
|
3535
|
-
}),
|
|
3497
|
+
if (je(e))
|
|
3498
|
+
return _r(e);
|
|
3499
|
+
delete Pe[e];
|
|
3500
|
+
}), Pe[e];
|
|
3536
3501
|
}
|
|
3537
|
-
var
|
|
3502
|
+
var It = Object.getOwnPropertySymbols, dn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable, pn = (e, t) => {
|
|
3538
3503
|
var r = {};
|
|
3539
3504
|
for (var i in e)
|
|
3540
|
-
|
|
3541
|
-
if (e != null &&
|
|
3542
|
-
for (var i of
|
|
3543
|
-
t.indexOf(i) < 0 &&
|
|
3505
|
+
dn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
3506
|
+
if (e != null && It)
|
|
3507
|
+
for (var i of It(e))
|
|
3508
|
+
t.indexOf(i) < 0 && mn.call(e, i) && (r[i] = e[i]);
|
|
3544
3509
|
return r;
|
|
3545
3510
|
};
|
|
3546
|
-
const
|
|
3511
|
+
const gn = {
|
|
3547
3512
|
number: {
|
|
3548
3513
|
scientific: { notation: "scientific" },
|
|
3549
3514
|
engineering: { notation: "engineering" },
|
|
@@ -3573,183 +3538,183 @@ const On = {
|
|
|
3573
3538
|
}
|
|
3574
3539
|
}
|
|
3575
3540
|
};
|
|
3576
|
-
function
|
|
3541
|
+
function vn({ locale: e, id: t }) {
|
|
3577
3542
|
console.warn(
|
|
3578
|
-
`[svelte-i18n] The message "${t}" was not found in "${
|
|
3543
|
+
`[svelte-i18n] The message "${t}" was not found in "${Ne(
|
|
3579
3544
|
e
|
|
3580
|
-
).join('", "')}".${
|
|
3545
|
+
).join('", "')}".${je(fe()) ? `
|
|
3581
3546
|
|
|
3582
3547
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3583
3548
|
);
|
|
3584
3549
|
}
|
|
3585
|
-
const
|
|
3550
|
+
const bn = {
|
|
3586
3551
|
fallbackLocale: null,
|
|
3587
3552
|
loadingDelay: 200,
|
|
3588
|
-
formats:
|
|
3553
|
+
formats: gn,
|
|
3589
3554
|
warnOnMissingMessages: !0,
|
|
3590
3555
|
handleMissingMessage: void 0,
|
|
3591
3556
|
ignoreTag: !0
|
|
3592
|
-
},
|
|
3593
|
-
function
|
|
3594
|
-
return
|
|
3557
|
+
}, $e = bn;
|
|
3558
|
+
function He() {
|
|
3559
|
+
return $e;
|
|
3595
3560
|
}
|
|
3596
|
-
function
|
|
3597
|
-
const t = e, { formats: r } = t, i =
|
|
3561
|
+
function yn(e) {
|
|
3562
|
+
const t = e, { formats: r } = t, i = pn(t, ["formats"]);
|
|
3598
3563
|
let n = e.fallbackLocale;
|
|
3599
3564
|
if (e.initialLocale)
|
|
3600
3565
|
try {
|
|
3601
|
-
|
|
3602
|
-
} catch
|
|
3566
|
+
gr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
|
|
3567
|
+
} catch {
|
|
3603
3568
|
console.warn(
|
|
3604
3569
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3605
3570
|
);
|
|
3606
3571
|
}
|
|
3607
|
-
return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage =
|
|
3572
|
+
return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = vn : console.warn(
|
|
3608
3573
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3609
|
-
)), Object.assign(
|
|
3610
|
-
}
|
|
3611
|
-
const
|
|
3612
|
-
var
|
|
3613
|
-
for (var r in t
|
|
3614
|
-
|
|
3615
|
-
if (
|
|
3616
|
-
for (var r of
|
|
3617
|
-
|
|
3574
|
+
)), Object.assign($e, i, { initialLocale: n }), r && ("number" in r && Object.assign($e.formats.number, r.number), "date" in r && Object.assign($e.formats.date, r.date), "time" in r && Object.assign($e.formats.time, r.time)), de.set(n);
|
|
3575
|
+
}
|
|
3576
|
+
const nt = We(!1);
|
|
3577
|
+
var xn = Object.defineProperty, _n = Object.defineProperties, En = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, wn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tn = (e, t) => {
|
|
3578
|
+
for (var r in t)
|
|
3579
|
+
wn.call(t, r) && Nt(e, r, t[r]);
|
|
3580
|
+
if (Lt)
|
|
3581
|
+
for (var r of Lt(t))
|
|
3582
|
+
Sn.call(t, r) && Nt(e, r, t[r]);
|
|
3618
3583
|
return e;
|
|
3619
|
-
},
|
|
3620
|
-
let
|
|
3621
|
-
const
|
|
3622
|
-
function
|
|
3584
|
+
}, Hn = (e, t) => _n(e, En(t));
|
|
3585
|
+
let pt;
|
|
3586
|
+
const ze = We(null);
|
|
3587
|
+
function Rt(e) {
|
|
3623
3588
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
3624
3589
|
}
|
|
3625
|
-
function
|
|
3626
|
-
const r =
|
|
3627
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3590
|
+
function Ne(e, t = He().fallbackLocale) {
|
|
3591
|
+
const r = Rt(e);
|
|
3592
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
|
|
3628
3593
|
}
|
|
3629
|
-
function
|
|
3630
|
-
return
|
|
3594
|
+
function fe() {
|
|
3595
|
+
return pt ?? void 0;
|
|
3631
3596
|
}
|
|
3632
|
-
|
|
3633
|
-
|
|
3597
|
+
ze.subscribe((e) => {
|
|
3598
|
+
pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3634
3599
|
});
|
|
3635
|
-
const
|
|
3636
|
-
if (e &&
|
|
3637
|
-
const { loadingDelay: t } =
|
|
3600
|
+
const On = (e) => {
|
|
3601
|
+
if (e && ln(e) && je(e)) {
|
|
3602
|
+
const { loadingDelay: t } = He();
|
|
3638
3603
|
let r;
|
|
3639
|
-
return typeof window
|
|
3640
|
-
() =>
|
|
3604
|
+
return typeof window < "u" && fe() != null && t ? r = window.setTimeout(
|
|
3605
|
+
() => nt.set(!0),
|
|
3641
3606
|
t
|
|
3642
|
-
) :
|
|
3643
|
-
|
|
3607
|
+
) : nt.set(!0), _r(e).then(() => {
|
|
3608
|
+
ze.set(e);
|
|
3644
3609
|
}).finally(() => {
|
|
3645
|
-
clearTimeout(r),
|
|
3610
|
+
clearTimeout(r), nt.set(!1);
|
|
3646
3611
|
});
|
|
3647
3612
|
}
|
|
3648
|
-
return
|
|
3649
|
-
},
|
|
3650
|
-
set:
|
|
3651
|
-
}),
|
|
3613
|
+
return ze.set(e);
|
|
3614
|
+
}, de = Hn(Tn({}, ze), {
|
|
3615
|
+
set: On
|
|
3616
|
+
}), Ze = (e) => {
|
|
3652
3617
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3653
3618
|
return (i) => {
|
|
3654
3619
|
const n = JSON.stringify(i);
|
|
3655
3620
|
return n in t ? t[n] : t[n] = e(i);
|
|
3656
3621
|
};
|
|
3657
3622
|
};
|
|
3658
|
-
var
|
|
3623
|
+
var An = Object.defineProperty, Xe = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
|
|
3659
3624
|
for (var r in t || (t = {}))
|
|
3660
|
-
|
|
3661
|
-
if (
|
|
3662
|
-
for (var r of
|
|
3663
|
-
|
|
3625
|
+
Er.call(t, r) && kt(e, r, t[r]);
|
|
3626
|
+
if (Xe)
|
|
3627
|
+
for (var r of Xe(t))
|
|
3628
|
+
wr.call(t, r) && kt(e, r, t[r]);
|
|
3664
3629
|
return e;
|
|
3665
|
-
},
|
|
3630
|
+
}, Ae = (e, t) => {
|
|
3666
3631
|
var r = {};
|
|
3667
3632
|
for (var i in e)
|
|
3668
|
-
|
|
3669
|
-
if (e != null &&
|
|
3670
|
-
for (var i of
|
|
3671
|
-
t.indexOf(i) < 0 &&
|
|
3633
|
+
Er.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
3634
|
+
if (e != null && Xe)
|
|
3635
|
+
for (var i of Xe(e))
|
|
3636
|
+
t.indexOf(i) < 0 && wr.call(e, i) && (r[i] = e[i]);
|
|
3672
3637
|
return r;
|
|
3673
3638
|
};
|
|
3674
|
-
const
|
|
3675
|
-
const { formats: r } =
|
|
3639
|
+
const De = (e, t) => {
|
|
3640
|
+
const { formats: r } = He();
|
|
3676
3641
|
if (e in r && t in r[e])
|
|
3677
3642
|
return r[e][t];
|
|
3678
3643
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3679
|
-
},
|
|
3644
|
+
}, Pn = Ze(
|
|
3680
3645
|
(e) => {
|
|
3681
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3646
|
+
var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
|
|
3682
3647
|
if (r == null)
|
|
3683
3648
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3684
|
-
return i && (n =
|
|
3649
|
+
return i && (n = De("number", i)), new Intl.NumberFormat(r, n);
|
|
3685
3650
|
}
|
|
3686
|
-
),
|
|
3651
|
+
), $n = Ze(
|
|
3687
3652
|
(e) => {
|
|
3688
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3653
|
+
var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
|
|
3689
3654
|
if (r == null)
|
|
3690
3655
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3691
|
-
return i ? n =
|
|
3656
|
+
return i ? n = De("date", i) : Object.keys(n).length === 0 && (n = De("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
3692
3657
|
}
|
|
3693
|
-
),
|
|
3658
|
+
), Bn = Ze(
|
|
3694
3659
|
(e) => {
|
|
3695
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3660
|
+
var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
|
|
3696
3661
|
if (r == null)
|
|
3697
3662
|
throw new Error(
|
|
3698
3663
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3699
3664
|
);
|
|
3700
|
-
return i ? n =
|
|
3665
|
+
return i ? n = De("time", i) : Object.keys(n).length === 0 && (n = De("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
3701
3666
|
}
|
|
3702
|
-
),
|
|
3667
|
+
), Mn = (e = {}) => {
|
|
3703
3668
|
var t = e, {
|
|
3704
|
-
locale: r =
|
|
3705
|
-
} = t, i =
|
|
3669
|
+
locale: r = fe()
|
|
3670
|
+
} = t, i = Ae(t, [
|
|
3706
3671
|
"locale"
|
|
3707
3672
|
]);
|
|
3708
|
-
return
|
|
3709
|
-
},
|
|
3673
|
+
return Pn(Et({ locale: r }, i));
|
|
3674
|
+
}, Cn = (e = {}) => {
|
|
3710
3675
|
var t = e, {
|
|
3711
|
-
locale: r =
|
|
3712
|
-
} = t, i =
|
|
3676
|
+
locale: r = fe()
|
|
3677
|
+
} = t, i = Ae(t, [
|
|
3713
3678
|
"locale"
|
|
3714
3679
|
]);
|
|
3715
|
-
return
|
|
3716
|
-
},
|
|
3680
|
+
return $n(Et({ locale: r }, i));
|
|
3681
|
+
}, Dn = (e = {}) => {
|
|
3717
3682
|
var t = e, {
|
|
3718
|
-
locale: r =
|
|
3719
|
-
} = t, i =
|
|
3683
|
+
locale: r = fe()
|
|
3684
|
+
} = t, i = Ae(t, [
|
|
3720
3685
|
"locale"
|
|
3721
3686
|
]);
|
|
3722
|
-
return
|
|
3723
|
-
},
|
|
3687
|
+
return Bn(Et({ locale: r }, i));
|
|
3688
|
+
}, In = Ze(
|
|
3724
3689
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3725
|
-
(e, t =
|
|
3726
|
-
ignoreTag:
|
|
3690
|
+
(e, t = fe()) => new gr(e, t, He().formats, {
|
|
3691
|
+
ignoreTag: He().ignoreTag
|
|
3727
3692
|
})
|
|
3728
|
-
),
|
|
3693
|
+
), Ln = (e, t = {}) => {
|
|
3729
3694
|
var r, i, n, s;
|
|
3730
|
-
let
|
|
3731
|
-
typeof e == "object" && (
|
|
3695
|
+
let l = t;
|
|
3696
|
+
typeof e == "object" && (l = e, e = l.id);
|
|
3732
3697
|
const {
|
|
3733
|
-
values:
|
|
3734
|
-
locale: o =
|
|
3698
|
+
values: a,
|
|
3699
|
+
locale: o = fe(),
|
|
3735
3700
|
default: u
|
|
3736
|
-
} =
|
|
3701
|
+
} = l;
|
|
3737
3702
|
if (o == null)
|
|
3738
3703
|
throw new Error(
|
|
3739
3704
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3740
3705
|
);
|
|
3741
|
-
let h =
|
|
3706
|
+
let h = vr(e, o);
|
|
3742
3707
|
if (!h)
|
|
3743
|
-
h = (s = (n = (i = (r =
|
|
3708
|
+
h = (s = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
|
|
3744
3709
|
else if (typeof h != "string")
|
|
3745
3710
|
return console.warn(
|
|
3746
3711
|
`[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.`
|
|
3747
3712
|
), h;
|
|
3748
|
-
if (!
|
|
3713
|
+
if (!a)
|
|
3749
3714
|
return h;
|
|
3750
3715
|
let c = h;
|
|
3751
3716
|
try {
|
|
3752
|
-
c =
|
|
3717
|
+
c = In(h, o).format(a);
|
|
3753
3718
|
} catch (m) {
|
|
3754
3719
|
m instanceof Error && console.warn(
|
|
3755
3720
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3757,20 +3722,20 @@ const Ie = (e, t) => {
|
|
|
3757
3722
|
);
|
|
3758
3723
|
}
|
|
3759
3724
|
return c;
|
|
3760
|
-
},
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
function
|
|
3766
|
-
|
|
3767
|
-
}
|
|
3768
|
-
function
|
|
3769
|
-
|
|
3725
|
+
}, Nn = (e, t) => Dn(t).format(e), Rn = (e, t) => Cn(t).format(e), kn = (e, t) => Mn(t).format(e), Un = (e, t = fe()) => vr(e, t), Fn = Oe([de, Le], () => Ln);
|
|
3726
|
+
Oe([de], () => Nn);
|
|
3727
|
+
Oe([de], () => Rn);
|
|
3728
|
+
Oe([de], () => kn);
|
|
3729
|
+
Oe([de, Le], () => Un);
|
|
3730
|
+
function Ut(e, t) {
|
|
3731
|
+
yr(e, t);
|
|
3732
|
+
}
|
|
3733
|
+
function Vn(e) {
|
|
3734
|
+
yn({
|
|
3770
3735
|
fallbackLocale: "en"
|
|
3771
|
-
}),
|
|
3736
|
+
}), de.set(e);
|
|
3772
3737
|
}
|
|
3773
|
-
const
|
|
3738
|
+
const Ft = {
|
|
3774
3739
|
en: {
|
|
3775
3740
|
"verification.video.how-to": "How to verify yourself",
|
|
3776
3741
|
"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",
|
|
@@ -3826,7 +3791,7 @@ const qt = {
|
|
|
3826
3791
|
"verification.shuftipro.validations-started": "After completing verification, please proceed with the transaction"
|
|
3827
3792
|
}
|
|
3828
3793
|
};
|
|
3829
|
-
if (typeof window
|
|
3794
|
+
if (typeof window < "u") {
|
|
3830
3795
|
let e = function(t) {
|
|
3831
3796
|
return function(...r) {
|
|
3832
3797
|
try {
|
|
@@ -3838,24 +3803,24 @@ if (typeof window != "undefined") {
|
|
|
3838
3803
|
}
|
|
3839
3804
|
};
|
|
3840
3805
|
};
|
|
3841
|
-
customElements.define = e(customElements.define), import("./CashierVideoModal-
|
|
3806
|
+
customElements.define = e(customElements.define), import("./CashierVideoModal-Bjnq9rNA.js").then(({ default: t }) => {
|
|
3842
3807
|
!customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
|
|
3843
3808
|
});
|
|
3844
3809
|
}
|
|
3845
|
-
var
|
|
3810
|
+
var Sr = { exports: {} };
|
|
3846
3811
|
(function(e, t) {
|
|
3847
3812
|
(function(r, i) {
|
|
3848
3813
|
e.exports = i();
|
|
3849
|
-
})(
|
|
3850
|
-
var r = 1e3, i = 6e4, n = 36e5, s = "millisecond",
|
|
3814
|
+
})(Qt, function() {
|
|
3815
|
+
var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", l = "second", a = "minute", o = "hour", u = "day", h = "week", c = "month", m = "quarter", E = "year", H = "date", v = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, U = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
|
|
3851
3816
|
var g = ["th", "st", "nd", "rd"], d = x % 100;
|
|
3852
3817
|
return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
|
|
3853
|
-
} },
|
|
3818
|
+
} }, B = function(x, g, d) {
|
|
3854
3819
|
var b = String(x);
|
|
3855
3820
|
return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(d) + x;
|
|
3856
|
-
},
|
|
3821
|
+
}, z = { s: B, z: function(x) {
|
|
3857
3822
|
var g = -x.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), p = d % 60;
|
|
3858
|
-
return (g <= 0 ? "+" : "-") +
|
|
3823
|
+
return (g <= 0 ? "+" : "-") + B(b, 2, "0") + ":" + B(p, 2, "0");
|
|
3859
3824
|
}, m: function x(g, d) {
|
|
3860
3825
|
if (g.date() < d.date()) return -x(d, g);
|
|
3861
3826
|
var b = 12 * (d.year() - g.year()) + (d.month() - g.month()), p = g.clone().add(b, c), _ = d - p < 0, w = g.clone().add(b + (_ ? -1 : 1), c);
|
|
@@ -3863,37 +3828,37 @@ var Br = { exports: {} };
|
|
|
3863
3828
|
}, a: function(x) {
|
|
3864
3829
|
return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
|
|
3865
3830
|
}, p: function(x) {
|
|
3866
|
-
return { M: c, y: E, w: h, d: u, D: H, h: o, m:
|
|
3831
|
+
return { M: c, y: E, w: h, d: u, D: H, h: o, m: a, s: l, ms: s, Q: m }[x] || String(x || "").toLowerCase().replace(/s$/, "");
|
|
3867
3832
|
}, u: function(x) {
|
|
3868
3833
|
return x === void 0;
|
|
3869
|
-
} },
|
|
3870
|
-
I
|
|
3871
|
-
var
|
|
3872
|
-
return x instanceof
|
|
3873
|
-
},
|
|
3834
|
+
} }, I = "en", L = {};
|
|
3835
|
+
L[I] = U;
|
|
3836
|
+
var q = "$isDayjsObject", R = function(x) {
|
|
3837
|
+
return x instanceof me || !(!x || !x[q]);
|
|
3838
|
+
}, X = function x(g, d, b) {
|
|
3874
3839
|
var p;
|
|
3875
|
-
if (!g) return
|
|
3840
|
+
if (!g) return I;
|
|
3876
3841
|
if (typeof g == "string") {
|
|
3877
3842
|
var _ = g.toLowerCase();
|
|
3878
|
-
|
|
3843
|
+
L[_] && (p = _), d && (L[_] = d, p = _);
|
|
3879
3844
|
var w = g.split("-");
|
|
3880
3845
|
if (!p && w.length > 1) return x(w[0]);
|
|
3881
3846
|
} else {
|
|
3882
|
-
var
|
|
3883
|
-
|
|
3847
|
+
var M = g.name;
|
|
3848
|
+
L[M] = g, p = M;
|
|
3884
3849
|
}
|
|
3885
|
-
return !b && p && (
|
|
3850
|
+
return !b && p && (I = p), p || !b && I;
|
|
3886
3851
|
}, k = function(x, g) {
|
|
3887
3852
|
if (R(x)) return x.clone();
|
|
3888
3853
|
var d = typeof g == "object" ? g : {};
|
|
3889
|
-
return d.date = x, d.args = arguments, new
|
|
3890
|
-
}, P =
|
|
3891
|
-
P.l =
|
|
3854
|
+
return d.date = x, d.args = arguments, new me(d);
|
|
3855
|
+
}, P = z;
|
|
3856
|
+
P.l = X, P.i = R, P.w = function(x, g) {
|
|
3892
3857
|
return k(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
|
|
3893
3858
|
};
|
|
3894
|
-
var
|
|
3859
|
+
var me = function() {
|
|
3895
3860
|
function x(d) {
|
|
3896
|
-
this.$L =
|
|
3861
|
+
this.$L = X(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[q] = !0;
|
|
3897
3862
|
}
|
|
3898
3863
|
var g = x.prototype;
|
|
3899
3864
|
return g.parse = function(d) {
|
|
@@ -3905,8 +3870,8 @@ var Br = { exports: {} };
|
|
|
3905
3870
|
if (typeof p == "string" && !/Z$/i.test(p)) {
|
|
3906
3871
|
var w = p.match($);
|
|
3907
3872
|
if (w) {
|
|
3908
|
-
var
|
|
3909
|
-
return _ ? new Date(Date.UTC(w[1],
|
|
3873
|
+
var M = w[2] - 1 || 0, D = (w[7] || "0").substring(0, 3);
|
|
3874
|
+
return _ ? new Date(Date.UTC(w[1], M, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D)) : new Date(w[1], M, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D);
|
|
3910
3875
|
}
|
|
3911
3876
|
}
|
|
3912
3877
|
return new Date(p);
|
|
@@ -3932,40 +3897,40 @@ var Br = { exports: {} };
|
|
|
3932
3897
|
}, g.valueOf = function() {
|
|
3933
3898
|
return this.$d.getTime();
|
|
3934
3899
|
}, g.startOf = function(d, b) {
|
|
3935
|
-
var p = this, _ = !!P.u(b) || b, w = P.p(d),
|
|
3936
|
-
var
|
|
3937
|
-
return _ ?
|
|
3938
|
-
}, D = function(
|
|
3939
|
-
return P.w(p.toDate()[
|
|
3940
|
-
}, N = this.$W, F = this.$M,
|
|
3900
|
+
var p = this, _ = !!P.u(b) || b, w = P.p(d), M = function(oe, G) {
|
|
3901
|
+
var J = P.w(p.$u ? Date.UTC(p.$y, G, oe) : new Date(p.$y, G, oe), p);
|
|
3902
|
+
return _ ? J : J.endOf(u);
|
|
3903
|
+
}, D = function(oe, G) {
|
|
3904
|
+
return P.w(p.toDate()[oe].apply(p.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), p);
|
|
3905
|
+
}, N = this.$W, F = this.$M, W = this.$D, ue = "set" + (this.$u ? "UTC" : "");
|
|
3941
3906
|
switch (w) {
|
|
3942
3907
|
case E:
|
|
3943
|
-
return _ ?
|
|
3908
|
+
return _ ? M(1, 0) : M(31, 11);
|
|
3944
3909
|
case c:
|
|
3945
|
-
return _ ?
|
|
3910
|
+
return _ ? M(1, F) : M(0, F + 1);
|
|
3946
3911
|
case h:
|
|
3947
|
-
var
|
|
3948
|
-
return
|
|
3912
|
+
var ne = this.$locale().weekStart || 0, se = (N < ne ? N + 7 : N) - ne;
|
|
3913
|
+
return M(_ ? W - se : W + (6 - se), F);
|
|
3949
3914
|
case u:
|
|
3950
3915
|
case H:
|
|
3951
|
-
return D(
|
|
3916
|
+
return D(ue + "Hours", 0);
|
|
3952
3917
|
case o:
|
|
3953
|
-
return D(
|
|
3954
|
-
case l:
|
|
3955
|
-
return D(le + "Seconds", 2);
|
|
3918
|
+
return D(ue + "Minutes", 1);
|
|
3956
3919
|
case a:
|
|
3957
|
-
return D(
|
|
3920
|
+
return D(ue + "Seconds", 2);
|
|
3921
|
+
case l:
|
|
3922
|
+
return D(ue + "Milliseconds", 3);
|
|
3958
3923
|
default:
|
|
3959
3924
|
return this.clone();
|
|
3960
3925
|
}
|
|
3961
3926
|
}, g.endOf = function(d) {
|
|
3962
3927
|
return this.startOf(d, !1);
|
|
3963
3928
|
}, g.$set = function(d, b) {
|
|
3964
|
-
var p, _ = P.p(d), w = "set" + (this.$u ? "UTC" : ""),
|
|
3929
|
+
var p, _ = P.p(d), w = "set" + (this.$u ? "UTC" : ""), M = (p = {}, p[u] = w + "Date", p[H] = w + "Date", p[c] = w + "Month", p[E] = w + "FullYear", p[o] = w + "Hours", p[a] = w + "Minutes", p[l] = w + "Seconds", p[s] = w + "Milliseconds", p)[_], D = _ === u ? this.$D + (b - this.$W) : b;
|
|
3965
3930
|
if (_ === c || _ === E) {
|
|
3966
3931
|
var N = this.clone().set(H, 1);
|
|
3967
|
-
N.$d[
|
|
3968
|
-
} else
|
|
3932
|
+
N.$d[M](D), N.init(), this.$d = N.set(H, Math.min(this.$D, N.daysInMonth())).$d;
|
|
3933
|
+
} else M && this.$d[M](D);
|
|
3969
3934
|
return this.init(), this;
|
|
3970
3935
|
}, g.set = function(d, b) {
|
|
3971
3936
|
return this.clone().$set(d, b);
|
|
@@ -3974,32 +3939,32 @@ var Br = { exports: {} };
|
|
|
3974
3939
|
}, g.add = function(d, b) {
|
|
3975
3940
|
var p, _ = this;
|
|
3976
3941
|
d = Number(d);
|
|
3977
|
-
var w = P.p(b),
|
|
3978
|
-
var
|
|
3979
|
-
return P.w(
|
|
3942
|
+
var w = P.p(b), M = function(F) {
|
|
3943
|
+
var W = k(_);
|
|
3944
|
+
return P.w(W.date(W.date() + Math.round(F * d)), _);
|
|
3980
3945
|
};
|
|
3981
3946
|
if (w === c) return this.set(c, this.$M + d);
|
|
3982
3947
|
if (w === E) return this.set(E, this.$y + d);
|
|
3983
|
-
if (w === u) return
|
|
3984
|
-
if (w === h) return
|
|
3985
|
-
var D = (p = {}, p[
|
|
3948
|
+
if (w === u) return M(1);
|
|
3949
|
+
if (w === h) return M(7);
|
|
3950
|
+
var D = (p = {}, p[a] = i, p[o] = n, p[l] = r, p)[w] || 1, N = this.$d.getTime() + d * D;
|
|
3986
3951
|
return P.w(N, this);
|
|
3987
3952
|
}, g.subtract = function(d, b) {
|
|
3988
3953
|
return this.add(-1 * d, b);
|
|
3989
3954
|
}, g.format = function(d) {
|
|
3990
3955
|
var b = this, p = this.$locale();
|
|
3991
3956
|
if (!this.isValid()) return p.invalidDate || v;
|
|
3992
|
-
var _ = d || "YYYY-MM-DDTHH:mm:ssZ", w = P.z(this),
|
|
3993
|
-
return
|
|
3994
|
-
},
|
|
3995
|
-
return P.s(
|
|
3996
|
-
},
|
|
3997
|
-
var
|
|
3998
|
-
return
|
|
3957
|
+
var _ = d || "YYYY-MM-DDTHH:mm:ssZ", w = P.z(this), M = this.$H, D = this.$m, N = this.$M, F = p.weekdays, W = p.months, ue = p.meridiem, ne = function(G, J, ce, pe) {
|
|
3958
|
+
return G && (G[J] || G(b, _)) || ce[J].slice(0, pe);
|
|
3959
|
+
}, se = function(G) {
|
|
3960
|
+
return P.s(M % 12 || 12, G, "0");
|
|
3961
|
+
}, oe = ue || function(G, J, ce) {
|
|
3962
|
+
var pe = G < 12 ? "AM" : "PM";
|
|
3963
|
+
return ce ? pe.toLowerCase() : pe;
|
|
3999
3964
|
};
|
|
4000
|
-
return _.replace(
|
|
4001
|
-
return
|
|
4002
|
-
switch (
|
|
3965
|
+
return _.replace(V, function(G, J) {
|
|
3966
|
+
return J || function(ce) {
|
|
3967
|
+
switch (ce) {
|
|
4003
3968
|
case "YY":
|
|
4004
3969
|
return String(b.$y).slice(-2);
|
|
4005
3970
|
case "YYYY":
|
|
@@ -4009,9 +3974,9 @@ var Br = { exports: {} };
|
|
|
4009
3974
|
case "MM":
|
|
4010
3975
|
return P.s(N + 1, 2, "0");
|
|
4011
3976
|
case "MMM":
|
|
4012
|
-
return
|
|
3977
|
+
return ne(p.monthsShort, N, W, 3);
|
|
4013
3978
|
case "MMMM":
|
|
4014
|
-
return
|
|
3979
|
+
return ne(W, N);
|
|
4015
3980
|
case "D":
|
|
4016
3981
|
return b.$D;
|
|
4017
3982
|
case "DD":
|
|
@@ -4019,23 +3984,23 @@ var Br = { exports: {} };
|
|
|
4019
3984
|
case "d":
|
|
4020
3985
|
return String(b.$W);
|
|
4021
3986
|
case "dd":
|
|
4022
|
-
return
|
|
3987
|
+
return ne(p.weekdaysMin, b.$W, F, 2);
|
|
4023
3988
|
case "ddd":
|
|
4024
|
-
return
|
|
3989
|
+
return ne(p.weekdaysShort, b.$W, F, 3);
|
|
4025
3990
|
case "dddd":
|
|
4026
3991
|
return F[b.$W];
|
|
4027
3992
|
case "H":
|
|
4028
|
-
return String(
|
|
3993
|
+
return String(M);
|
|
4029
3994
|
case "HH":
|
|
4030
|
-
return P.s(
|
|
3995
|
+
return P.s(M, 2, "0");
|
|
4031
3996
|
case "h":
|
|
4032
|
-
return
|
|
3997
|
+
return se(1);
|
|
4033
3998
|
case "hh":
|
|
4034
|
-
return
|
|
3999
|
+
return se(2);
|
|
4035
4000
|
case "a":
|
|
4036
|
-
return
|
|
4001
|
+
return oe(M, D, !0);
|
|
4037
4002
|
case "A":
|
|
4038
|
-
return
|
|
4003
|
+
return oe(M, D, !1);
|
|
4039
4004
|
case "m":
|
|
4040
4005
|
return String(D);
|
|
4041
4006
|
case "mm":
|
|
@@ -4050,23 +4015,23 @@ var Br = { exports: {} };
|
|
|
4050
4015
|
return w;
|
|
4051
4016
|
}
|
|
4052
4017
|
return null;
|
|
4053
|
-
}(
|
|
4018
|
+
}(G) || w.replace(":", "");
|
|
4054
4019
|
});
|
|
4055
4020
|
}, g.utcOffset = function() {
|
|
4056
4021
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4057
4022
|
}, g.diff = function(d, b, p) {
|
|
4058
|
-
var _, w = this,
|
|
4023
|
+
var _, w = this, M = P.p(b), D = k(d), N = (D.utcOffset() - this.utcOffset()) * i, F = this - D, W = function() {
|
|
4059
4024
|
return P.m(w, D);
|
|
4060
4025
|
};
|
|
4061
|
-
switch (
|
|
4026
|
+
switch (M) {
|
|
4062
4027
|
case E:
|
|
4063
|
-
_ =
|
|
4028
|
+
_ = W() / 12;
|
|
4064
4029
|
break;
|
|
4065
4030
|
case c:
|
|
4066
|
-
_ =
|
|
4031
|
+
_ = W();
|
|
4067
4032
|
break;
|
|
4068
4033
|
case m:
|
|
4069
|
-
_ =
|
|
4034
|
+
_ = W() / 3;
|
|
4070
4035
|
break;
|
|
4071
4036
|
case h:
|
|
4072
4037
|
_ = (F - N) / 6048e5;
|
|
@@ -4077,10 +4042,10 @@ var Br = { exports: {} };
|
|
|
4077
4042
|
case o:
|
|
4078
4043
|
_ = F / n;
|
|
4079
4044
|
break;
|
|
4080
|
-
case
|
|
4045
|
+
case a:
|
|
4081
4046
|
_ = F / i;
|
|
4082
4047
|
break;
|
|
4083
|
-
case
|
|
4048
|
+
case l:
|
|
4084
4049
|
_ = F / r;
|
|
4085
4050
|
break;
|
|
4086
4051
|
default:
|
|
@@ -4090,10 +4055,10 @@ var Br = { exports: {} };
|
|
|
4090
4055
|
}, g.daysInMonth = function() {
|
|
4091
4056
|
return this.endOf(c).$D;
|
|
4092
4057
|
}, g.$locale = function() {
|
|
4093
|
-
return
|
|
4058
|
+
return L[this.$L];
|
|
4094
4059
|
}, g.locale = function(d, b) {
|
|
4095
4060
|
if (!d) return this.$L;
|
|
4096
|
-
var p = this.clone(), _ =
|
|
4061
|
+
var p = this.clone(), _ = X(d, b, !0);
|
|
4097
4062
|
return _ && (p.$L = _), p;
|
|
4098
4063
|
}, g.clone = function() {
|
|
4099
4064
|
return P.w(this.$d, this);
|
|
@@ -4106,36 +4071,36 @@ var Br = { exports: {} };
|
|
|
4106
4071
|
}, g.toString = function() {
|
|
4107
4072
|
return this.$d.toUTCString();
|
|
4108
4073
|
}, x;
|
|
4109
|
-
}(),
|
|
4110
|
-
return k.prototype =
|
|
4111
|
-
|
|
4074
|
+
}(), Re = me.prototype;
|
|
4075
|
+
return k.prototype = Re, [["$ms", s], ["$s", l], ["$m", a], ["$H", o], ["$W", u], ["$M", c], ["$y", E], ["$D", H]].forEach(function(x) {
|
|
4076
|
+
Re[x[1]] = function(g) {
|
|
4112
4077
|
return this.$g(g, x[0], x[1]);
|
|
4113
4078
|
};
|
|
4114
4079
|
}), k.extend = function(x, g) {
|
|
4115
|
-
return x.$i || (x(g,
|
|
4116
|
-
}, k.locale =
|
|
4080
|
+
return x.$i || (x(g, me, k), x.$i = !0), k;
|
|
4081
|
+
}, k.locale = X, k.isDayjs = R, k.unix = function(x) {
|
|
4117
4082
|
return k(1e3 * x);
|
|
4118
|
-
}, k.en = I
|
|
4083
|
+
}, k.en = L[I], k.Ls = L, k.p = {}, k;
|
|
4119
4084
|
});
|
|
4120
|
-
})(
|
|
4121
|
-
var
|
|
4122
|
-
const
|
|
4123
|
-
var
|
|
4085
|
+
})(Sr);
|
|
4086
|
+
var Gn = Sr.exports;
|
|
4087
|
+
const Vt = /* @__PURE__ */ yt(Gn);
|
|
4088
|
+
var Tr = { exports: {} };
|
|
4124
4089
|
(function(e, t) {
|
|
4125
4090
|
(function(r, i) {
|
|
4126
4091
|
e.exports = i();
|
|
4127
|
-
})(
|
|
4092
|
+
})(Qt, function() {
|
|
4128
4093
|
var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
|
|
4129
|
-
return function(s,
|
|
4130
|
-
var o =
|
|
4131
|
-
|
|
4094
|
+
return function(s, l, a) {
|
|
4095
|
+
var o = l.prototype;
|
|
4096
|
+
a.utc = function(v) {
|
|
4132
4097
|
var $ = { date: v, utc: !0, args: arguments };
|
|
4133
|
-
return new
|
|
4098
|
+
return new l($);
|
|
4134
4099
|
}, o.utc = function(v) {
|
|
4135
|
-
var $ =
|
|
4100
|
+
var $ = a(this.toDate(), { locale: this.$L, utc: !0 });
|
|
4136
4101
|
return v ? $.add(this.utcOffset(), r) : $;
|
|
4137
4102
|
}, o.local = function() {
|
|
4138
|
-
return
|
|
4103
|
+
return a(this.toDate(), { locale: this.$L, utc: !1 });
|
|
4139
4104
|
};
|
|
4140
4105
|
var u = o.parse;
|
|
4141
4106
|
o.parse = function(v) {
|
|
@@ -4150,22 +4115,22 @@ var Mr = { exports: {} };
|
|
|
4150
4115
|
};
|
|
4151
4116
|
var c = o.utcOffset;
|
|
4152
4117
|
o.utcOffset = function(v, $) {
|
|
4153
|
-
var
|
|
4154
|
-
if (
|
|
4155
|
-
if (typeof v == "string" && (v = function(
|
|
4156
|
-
|
|
4157
|
-
var
|
|
4158
|
-
if (!
|
|
4159
|
-
var
|
|
4160
|
-
return
|
|
4118
|
+
var V = this.$utils().u;
|
|
4119
|
+
if (V(v)) return this.$u ? 0 : V(this.$offset) ? c.call(this) : this.$offset;
|
|
4120
|
+
if (typeof v == "string" && (v = function(I) {
|
|
4121
|
+
I === void 0 && (I = "");
|
|
4122
|
+
var L = I.match(i);
|
|
4123
|
+
if (!L) return null;
|
|
4124
|
+
var q = ("" + L[0]).match(n) || ["-", 0, 0], R = q[0], X = 60 * +q[1] + +q[2];
|
|
4125
|
+
return X === 0 ? 0 : R === "+" ? X : -X;
|
|
4161
4126
|
}(v), v === null)) return this;
|
|
4162
|
-
var U = Math.abs(v) <= 16 ? 60 * v : v,
|
|
4163
|
-
if ($) return
|
|
4127
|
+
var U = Math.abs(v) <= 16 ? 60 * v : v, B = this;
|
|
4128
|
+
if ($) return B.$offset = U, B.$u = v === 0, B;
|
|
4164
4129
|
if (v !== 0) {
|
|
4165
|
-
var
|
|
4166
|
-
(
|
|
4167
|
-
} else
|
|
4168
|
-
return
|
|
4130
|
+
var z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4131
|
+
(B = this.local().add(U + z, r)).$offset = U, B.$x.$localOffset = z;
|
|
4132
|
+
} else B = this.utc();
|
|
4133
|
+
return B;
|
|
4169
4134
|
};
|
|
4170
4135
|
var m = o.format;
|
|
4171
4136
|
o.format = function(v) {
|
|
@@ -4183,58 +4148,58 @@ var Mr = { exports: {} };
|
|
|
4183
4148
|
};
|
|
4184
4149
|
var E = o.toDate;
|
|
4185
4150
|
o.toDate = function(v) {
|
|
4186
|
-
return v === "s" && this.$offset ?
|
|
4151
|
+
return v === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : E.call(this);
|
|
4187
4152
|
};
|
|
4188
4153
|
var H = o.diff;
|
|
4189
|
-
o.diff = function(v, $,
|
|
4190
|
-
if (v && this.$u === v.$u) return H.call(this, v, $,
|
|
4191
|
-
var U = this.local(),
|
|
4192
|
-
return H.call(U,
|
|
4154
|
+
o.diff = function(v, $, V) {
|
|
4155
|
+
if (v && this.$u === v.$u) return H.call(this, v, $, V);
|
|
4156
|
+
var U = this.local(), B = a(v).local();
|
|
4157
|
+
return H.call(U, B, $, V);
|
|
4193
4158
|
};
|
|
4194
4159
|
};
|
|
4195
4160
|
});
|
|
4196
|
-
})(
|
|
4197
|
-
var
|
|
4198
|
-
const
|
|
4199
|
-
function
|
|
4200
|
-
|
|
4161
|
+
})(Tr);
|
|
4162
|
+
var jn = Tr.exports;
|
|
4163
|
+
const zn = /* @__PURE__ */ yt(jn);
|
|
4164
|
+
function Xn(e) {
|
|
4165
|
+
$r(e, "svelte-ektv0y", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
|
|
4201
4166
|
}
|
|
4202
|
-
function
|
|
4167
|
+
function Gt(e, t, r) {
|
|
4203
4168
|
const i = e.slice();
|
|
4204
4169
|
return i[49] = t[r], i[51] = r, i;
|
|
4205
4170
|
}
|
|
4206
|
-
function
|
|
4207
|
-
let t, r, i, n, s =
|
|
4171
|
+
function jt(e) {
|
|
4172
|
+
let t, r, i, n, s = Tt(
|
|
4208
4173
|
/*displayMessages*/
|
|
4209
4174
|
e[4]
|
|
4210
|
-
),
|
|
4175
|
+
), l = [];
|
|
4211
4176
|
for (let o = 0; o < s.length; o += 1)
|
|
4212
|
-
|
|
4213
|
-
let
|
|
4177
|
+
l[o] = Xt(Gt(e, s, o));
|
|
4178
|
+
let a = (
|
|
4214
4179
|
/*videoExists*/
|
|
4215
|
-
e[7] &&
|
|
4180
|
+
e[7] && Wt(e)
|
|
4216
4181
|
);
|
|
4217
4182
|
return {
|
|
4218
4183
|
c() {
|
|
4219
|
-
t =
|
|
4220
|
-
for (let o = 0; o <
|
|
4221
|
-
|
|
4222
|
-
r =
|
|
4184
|
+
t = Z("div");
|
|
4185
|
+
for (let o = 0; o < l.length; o += 1)
|
|
4186
|
+
l[o].c();
|
|
4187
|
+
r = xe(), a && a.c(), i = xe(), n = Z("cashier-video-modal"), K(t, "class", "CashierVerificationsWrapper"), le(
|
|
4223
4188
|
n,
|
|
4224
4189
|
"clientstylingurl",
|
|
4225
4190
|
/*clientstylingurl*/
|
|
4226
4191
|
e[1]
|
|
4227
|
-
),
|
|
4192
|
+
), le(
|
|
4228
4193
|
n,
|
|
4229
4194
|
"clientstyling",
|
|
4230
4195
|
/*clientstyling*/
|
|
4231
4196
|
e[0]
|
|
4232
|
-
),
|
|
4197
|
+
), le(
|
|
4233
4198
|
n,
|
|
4234
4199
|
"ismobileview",
|
|
4235
4200
|
/*ismobileview*/
|
|
4236
4201
|
e[2]
|
|
4237
|
-
),
|
|
4202
|
+
), le(
|
|
4238
4203
|
n,
|
|
4239
4204
|
"videosrc",
|
|
4240
4205
|
/*videoSrc*/
|
|
@@ -4242,48 +4207,48 @@ function Jt(e) {
|
|
|
4242
4207
|
);
|
|
4243
4208
|
},
|
|
4244
4209
|
m(o, u) {
|
|
4245
|
-
|
|
4246
|
-
for (let h = 0; h <
|
|
4247
|
-
|
|
4248
|
-
|
|
4210
|
+
ae(o, t, u);
|
|
4211
|
+
for (let h = 0; h < l.length; h += 1)
|
|
4212
|
+
l[h] && l[h].m(t, null);
|
|
4213
|
+
ae(o, r, u), a && a.m(o, u), ae(o, i, u), ae(o, n, u);
|
|
4249
4214
|
},
|
|
4250
4215
|
p(o, u) {
|
|
4251
4216
|
if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
|
|
4252
4217
|
1072) {
|
|
4253
|
-
s =
|
|
4218
|
+
s = Tt(
|
|
4254
4219
|
/*displayMessages*/
|
|
4255
4220
|
o[4]
|
|
4256
4221
|
);
|
|
4257
4222
|
let h;
|
|
4258
4223
|
for (h = 0; h < s.length; h += 1) {
|
|
4259
|
-
const c =
|
|
4260
|
-
|
|
4224
|
+
const c = Gt(o, s, h);
|
|
4225
|
+
l[h] ? l[h].p(c, u) : (l[h] = Xt(c), l[h].c(), l[h].m(t, null));
|
|
4261
4226
|
}
|
|
4262
|
-
for (; h <
|
|
4263
|
-
|
|
4264
|
-
|
|
4227
|
+
for (; h < l.length; h += 1)
|
|
4228
|
+
l[h].d(1);
|
|
4229
|
+
l.length = s.length;
|
|
4265
4230
|
}
|
|
4266
4231
|
/*videoExists*/
|
|
4267
|
-
o[7] ?
|
|
4268
|
-
2 &&
|
|
4232
|
+
o[7] ? a ? a.p(o, u) : (a = Wt(o), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null), u[0] & /*clientstylingurl*/
|
|
4233
|
+
2 && le(
|
|
4269
4234
|
n,
|
|
4270
4235
|
"clientstylingurl",
|
|
4271
4236
|
/*clientstylingurl*/
|
|
4272
4237
|
o[1]
|
|
4273
4238
|
), u[0] & /*clientstyling*/
|
|
4274
|
-
1 &&
|
|
4239
|
+
1 && le(
|
|
4275
4240
|
n,
|
|
4276
4241
|
"clientstyling",
|
|
4277
4242
|
/*clientstyling*/
|
|
4278
4243
|
o[0]
|
|
4279
4244
|
), u[0] & /*ismobileview*/
|
|
4280
|
-
4 &&
|
|
4245
|
+
4 && le(
|
|
4281
4246
|
n,
|
|
4282
4247
|
"ismobileview",
|
|
4283
4248
|
/*ismobileview*/
|
|
4284
4249
|
o[2]
|
|
4285
4250
|
), u[0] & /*videoSrc*/
|
|
4286
|
-
256 &&
|
|
4251
|
+
256 && le(
|
|
4287
4252
|
n,
|
|
4288
4253
|
"videosrc",
|
|
4289
4254
|
/*videoSrc*/
|
|
@@ -4291,11 +4256,11 @@ function Jt(e) {
|
|
|
4291
4256
|
);
|
|
4292
4257
|
},
|
|
4293
4258
|
d(o) {
|
|
4294
|
-
o && (
|
|
4259
|
+
o && (ie(t), ie(r), ie(i), ie(n)), Cr(l, o), a && a.d(o);
|
|
4295
4260
|
}
|
|
4296
4261
|
};
|
|
4297
4262
|
}
|
|
4298
|
-
function
|
|
4263
|
+
function zt(e) {
|
|
4299
4264
|
let t, r, i;
|
|
4300
4265
|
function n(...s) {
|
|
4301
4266
|
return (
|
|
@@ -4309,27 +4274,27 @@ function Qt(e) {
|
|
|
4309
4274
|
}
|
|
4310
4275
|
return {
|
|
4311
4276
|
c() {
|
|
4312
|
-
t =
|
|
4277
|
+
t = Z("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>', K(t, "class", "CashierVerificationChevron");
|
|
4313
4278
|
},
|
|
4314
|
-
m(s,
|
|
4315
|
-
|
|
4279
|
+
m(s, l) {
|
|
4280
|
+
ae(s, t, l), r || (i = bt(t, "click", n), r = !0);
|
|
4316
4281
|
},
|
|
4317
|
-
p(s,
|
|
4282
|
+
p(s, l) {
|
|
4318
4283
|
e = s;
|
|
4319
4284
|
},
|
|
4320
4285
|
d(s) {
|
|
4321
|
-
s &&
|
|
4286
|
+
s && ie(t), r = !1, i();
|
|
4322
4287
|
}
|
|
4323
4288
|
};
|
|
4324
4289
|
}
|
|
4325
|
-
function
|
|
4290
|
+
function Xt(e) {
|
|
4326
4291
|
let t, r, i, n, s = (
|
|
4327
4292
|
/*message*/
|
|
4328
4293
|
e[49] + ""
|
|
4329
|
-
),
|
|
4294
|
+
), l, a, o, u, h = (
|
|
4330
4295
|
/*displayMessages*/
|
|
4331
4296
|
e[4].length > 1 && /*index*/
|
|
4332
|
-
e[51] === 0 &&
|
|
4297
|
+
e[51] === 0 && zt(e)
|
|
4333
4298
|
);
|
|
4334
4299
|
function c(...m) {
|
|
4335
4300
|
return (
|
|
@@ -4343,7 +4308,7 @@ function Kt(e) {
|
|
|
4343
4308
|
}
|
|
4344
4309
|
return {
|
|
4345
4310
|
c() {
|
|
4346
|
-
t =
|
|
4311
|
+
t = Z("div"), r = Z("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 = xe(), n = Z("p"), l = xe(), h && h.c(), a = xe(), K(r, "class", "IconVerification"), K(n, "class", "text"), K(t, "class", "CashierVerificationMessage"), Ee(
|
|
4347
4312
|
t,
|
|
4348
4313
|
"ShowAll",
|
|
4349
4314
|
/*allVerificationsVisible*/
|
|
@@ -4351,15 +4316,15 @@ function Kt(e) {
|
|
|
4351
4316
|
);
|
|
4352
4317
|
},
|
|
4353
4318
|
m(m, E) {
|
|
4354
|
-
|
|
4319
|
+
ae(m, t, E), re(t, r), re(t, i), re(t, n), n.innerHTML = s, re(t, l), h && h.m(t, null), re(t, a), o || (u = bt(t, "click", c), o = !0);
|
|
4355
4320
|
},
|
|
4356
4321
|
p(m, E) {
|
|
4357
4322
|
e = m, E[0] & /*displayMessages*/
|
|
4358
4323
|
16 && s !== (s = /*message*/
|
|
4359
4324
|
e[49] + "") && (n.innerHTML = s), /*displayMessages*/
|
|
4360
4325
|
e[4].length > 1 && /*index*/
|
|
4361
|
-
e[51] === 0 ? h ? h.p(e, E) : (h =
|
|
4362
|
-
32 &&
|
|
4326
|
+
e[51] === 0 ? h ? h.p(e, E) : (h = zt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), E[0] & /*allVerificationsVisible*/
|
|
4327
|
+
32 && Ee(
|
|
4363
4328
|
t,
|
|
4364
4329
|
"ShowAll",
|
|
4365
4330
|
/*allVerificationsVisible*/
|
|
@@ -4367,37 +4332,37 @@ function Kt(e) {
|
|
|
4367
4332
|
);
|
|
4368
4333
|
},
|
|
4369
4334
|
d(m) {
|
|
4370
|
-
m &&
|
|
4335
|
+
m && ie(t), h && h.d(), o = !1, u();
|
|
4371
4336
|
}
|
|
4372
4337
|
};
|
|
4373
4338
|
}
|
|
4374
|
-
function
|
|
4339
|
+
function Wt(e) {
|
|
4375
4340
|
let t, r, i, n, s = (
|
|
4376
4341
|
/*$_*/
|
|
4377
4342
|
e[9]("verification.video.how-to") + ""
|
|
4378
|
-
),
|
|
4343
|
+
), l, a, o;
|
|
4379
4344
|
return {
|
|
4380
4345
|
c() {
|
|
4381
|
-
t =
|
|
4346
|
+
t = Z("div"), r = Z("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 = xe(), n = Z("div"), l = vt(s), K(r, "class", "IconVideo"), K(n, "class", "CashierVerificationVideoLink"), Ee(
|
|
4382
4347
|
n,
|
|
4383
4348
|
"CashierVerificationVideoLinkDesktop",
|
|
4384
4349
|
/*desktopView*/
|
|
4385
4350
|
e[6]
|
|
4386
|
-
),
|
|
4351
|
+
), K(t, "class", "CashierVerificationVideo");
|
|
4387
4352
|
},
|
|
4388
4353
|
m(u, h) {
|
|
4389
|
-
|
|
4354
|
+
ae(u, t, h), re(t, r), re(t, i), re(t, n), re(n, l), a || (o = bt(
|
|
4390
4355
|
n,
|
|
4391
4356
|
"click",
|
|
4392
4357
|
/*click_handler_2*/
|
|
4393
4358
|
e[20]
|
|
4394
|
-
),
|
|
4359
|
+
), a = !0);
|
|
4395
4360
|
},
|
|
4396
4361
|
p(u, h) {
|
|
4397
4362
|
h[0] & /*$_*/
|
|
4398
4363
|
512 && s !== (s = /*$_*/
|
|
4399
|
-
u[9]("verification.video.how-to") + "") &&
|
|
4400
|
-
64 &&
|
|
4364
|
+
u[9]("verification.video.how-to") + "") && Ir(l, s), h[0] & /*desktopView*/
|
|
4365
|
+
64 && Ee(
|
|
4401
4366
|
n,
|
|
4402
4367
|
"CashierVerificationVideoLinkDesktop",
|
|
4403
4368
|
/*desktopView*/
|
|
@@ -4405,18 +4370,18 @@ function er(e) {
|
|
|
4405
4370
|
);
|
|
4406
4371
|
},
|
|
4407
4372
|
d(u) {
|
|
4408
|
-
u &&
|
|
4373
|
+
u && ie(t), a = !1, o();
|
|
4409
4374
|
}
|
|
4410
4375
|
};
|
|
4411
4376
|
}
|
|
4412
|
-
function
|
|
4377
|
+
function Wn(e) {
|
|
4413
4378
|
let t, r = (
|
|
4414
4379
|
/*displayMessages*/
|
|
4415
|
-
e[4] &&
|
|
4380
|
+
e[4] && jt(e)
|
|
4416
4381
|
);
|
|
4417
4382
|
return {
|
|
4418
4383
|
c() {
|
|
4419
|
-
t =
|
|
4384
|
+
t = Z("div"), r && r.c(), K(t, "class", "CashierVerifications"), Ee(
|
|
4420
4385
|
t,
|
|
4421
4386
|
"CashierVerificationsDesktop",
|
|
4422
4387
|
/*desktopView*/
|
|
@@ -4424,69 +4389,69 @@ function ss(e) {
|
|
|
4424
4389
|
);
|
|
4425
4390
|
},
|
|
4426
4391
|
m(i, n) {
|
|
4427
|
-
|
|
4392
|
+
ae(i, t, n), r && r.m(t, null), e[21](t);
|
|
4428
4393
|
},
|
|
4429
4394
|
p(i, n) {
|
|
4430
4395
|
/*displayMessages*/
|
|
4431
|
-
i[4] ? r ? r.p(i, n) : (r =
|
|
4432
|
-
64 &&
|
|
4396
|
+
i[4] ? r ? r.p(i, n) : (r = jt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
|
|
4397
|
+
64 && Ee(
|
|
4433
4398
|
t,
|
|
4434
4399
|
"CashierVerificationsDesktop",
|
|
4435
4400
|
/*desktopView*/
|
|
4436
4401
|
i[6]
|
|
4437
4402
|
);
|
|
4438
4403
|
},
|
|
4439
|
-
i:
|
|
4440
|
-
o:
|
|
4404
|
+
i: Q,
|
|
4405
|
+
o: Q,
|
|
4441
4406
|
d(i) {
|
|
4442
|
-
i &&
|
|
4407
|
+
i && ie(t), r && r.d(), e[21](null);
|
|
4443
4408
|
}
|
|
4444
4409
|
};
|
|
4445
4410
|
}
|
|
4446
|
-
const
|
|
4447
|
-
function
|
|
4411
|
+
const qn = "verification_explanation_video_widgets.MP4", Yn = "760px", Zn = "510px";
|
|
4412
|
+
function Jn(e, t, r) {
|
|
4448
4413
|
let i;
|
|
4449
|
-
|
|
4450
|
-
let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl:
|
|
4451
|
-
var
|
|
4414
|
+
Pr(e, Fn, (f) => r(9, i = f)), Vt.extend(zn);
|
|
4415
|
+
let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { session: u = "" } = t, { customerid: h = "" } = t, { ismobileview: c = "" } = t, m, E = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), v, $, V, U = !0, B = !0, z = !1, I = "";
|
|
4416
|
+
var L;
|
|
4452
4417
|
(function(f) {
|
|
4453
4418
|
f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
|
|
4454
|
-
})(
|
|
4455
|
-
var
|
|
4419
|
+
})(L || (L = {}));
|
|
4420
|
+
var q;
|
|
4456
4421
|
(function(f) {
|
|
4457
4422
|
f.Requested = "Requested";
|
|
4458
|
-
})(
|
|
4423
|
+
})(q || (q = {}));
|
|
4459
4424
|
var R;
|
|
4460
4425
|
(function(f) {
|
|
4461
4426
|
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";
|
|
4462
4427
|
})(R || (R = {}));
|
|
4463
|
-
var
|
|
4428
|
+
var X;
|
|
4464
4429
|
(function(f) {
|
|
4465
4430
|
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";
|
|
4466
|
-
})(
|
|
4431
|
+
})(X || (X = {}));
|
|
4467
4432
|
const k = [
|
|
4468
4433
|
R.InProgress,
|
|
4469
4434
|
R.Referred,
|
|
4470
4435
|
R.AwaitingForResponse
|
|
4471
4436
|
], P = () => {
|
|
4472
|
-
let f =
|
|
4437
|
+
let f = l;
|
|
4473
4438
|
if (f)
|
|
4474
4439
|
return fetch(f).then((y) => y.json()).then((y) => {
|
|
4475
4440
|
Object.keys(y).forEach((S) => {
|
|
4476
|
-
|
|
4441
|
+
Ut(S, y[S]);
|
|
4477
4442
|
});
|
|
4478
4443
|
}).catch((y) => {
|
|
4479
4444
|
console.log(y);
|
|
4480
4445
|
});
|
|
4481
4446
|
};
|
|
4482
|
-
Object.keys(
|
|
4483
|
-
|
|
4447
|
+
Object.keys(Ft).forEach((f) => {
|
|
4448
|
+
Ut(f, Ft[f]);
|
|
4484
4449
|
});
|
|
4485
|
-
const
|
|
4486
|
-
|
|
4487
|
-
},
|
|
4450
|
+
const me = () => {
|
|
4451
|
+
Vn(s);
|
|
4452
|
+
}, Re = () => {
|
|
4488
4453
|
let f = document.createElement("style");
|
|
4489
|
-
f.innerHTML =
|
|
4454
|
+
f.innerHTML = a, m.appendChild(f);
|
|
4490
4455
|
}, x = () => {
|
|
4491
4456
|
let f = new URL(o), y = document.createElement("style");
|
|
4492
4457
|
fetch(f.href).then((S) => S.text()).then((S) => {
|
|
@@ -4501,11 +4466,11 @@ function as(e, t, r) {
|
|
|
4501
4466
|
const { merchantId: f, customerId: y } = d();
|
|
4502
4467
|
if (!f)
|
|
4503
4468
|
return;
|
|
4504
|
-
const S = new URL(`${n}/v1/player/verification/GetKYCStatus`),
|
|
4505
|
-
|
|
4506
|
-
const
|
|
4469
|
+
const S = new URL(`${n}/v1/player/verification/GetKYCStatus`), Y = new Headers();
|
|
4470
|
+
Y.append("accept", "application/json"), Y.append("Content-Type", "application/json"), Y.append("X-Client-Request-Timestamp", Vt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
4471
|
+
const Je = {
|
|
4507
4472
|
method: "POST",
|
|
4508
|
-
headers:
|
|
4473
|
+
headers: Y,
|
|
4509
4474
|
body: JSON.stringify({
|
|
4510
4475
|
MerchantId: f,
|
|
4511
4476
|
CustomerId: y,
|
|
@@ -4513,23 +4478,22 @@ function as(e, t, r) {
|
|
|
4513
4478
|
AllParameters: !1
|
|
4514
4479
|
})
|
|
4515
4480
|
};
|
|
4516
|
-
fetch(S,
|
|
4517
|
-
r(17, $ =
|
|
4518
|
-
|
|
4519
|
-
}), r(4,
|
|
4481
|
+
fetch(S, Je).then((ge) => ge.json()).then((ge) => {
|
|
4482
|
+
r(17, $ = ge.StaticCdnUrl + "/cashier/operator-assets/" + f), v = b(ge.Verifications), v.VerificationStatuses.forEach((ee) => {
|
|
4483
|
+
ee.VerificationUrlType !== "Widget" && E.add(ee.Vendor);
|
|
4484
|
+
}), r(4, V = N());
|
|
4520
4485
|
});
|
|
4521
4486
|
}, d = () => {
|
|
4522
4487
|
let f = u.split(".")[1];
|
|
4523
4488
|
if (f) {
|
|
4524
4489
|
let y = JSON.parse(atob(f));
|
|
4525
4490
|
return {
|
|
4526
|
-
merchantId: y
|
|
4527
|
-
customerId: `${y
|
|
4491
|
+
merchantId: y?.mid,
|
|
4492
|
+
customerId: `${y?.mid}~${h}`
|
|
4528
4493
|
};
|
|
4529
4494
|
}
|
|
4530
4495
|
return { merchantId: null, customerId: null };
|
|
4531
4496
|
}, b = (f) => {
|
|
4532
|
-
var S;
|
|
4533
4497
|
if (!f || !f.length)
|
|
4534
4498
|
return {
|
|
4535
4499
|
VerificationSummaryStatus: R.Unverified,
|
|
@@ -4537,33 +4501,30 @@ function as(e, t, r) {
|
|
|
4537
4501
|
};
|
|
4538
4502
|
const y = w(f);
|
|
4539
4503
|
if (y && y.length) {
|
|
4540
|
-
const
|
|
4504
|
+
const S = p(y);
|
|
4541
4505
|
return {
|
|
4542
|
-
VerificationSummaryStatus:
|
|
4543
|
-
VerificationUrl:
|
|
4544
|
-
VerificationStatuses: _(y,
|
|
4506
|
+
VerificationSummaryStatus: S.Status,
|
|
4507
|
+
VerificationUrl: S.Flags?.DeferredUrlKey,
|
|
4508
|
+
VerificationStatuses: _(y, S.Status)
|
|
4545
4509
|
};
|
|
4546
4510
|
} else
|
|
4547
4511
|
return {
|
|
4548
|
-
VerificationSummaryStatus: f.some((
|
|
4512
|
+
VerificationSummaryStatus: f.some((Y) => Y.Status === R.Failed) ? R.Failed : R.Verified,
|
|
4549
4513
|
VerificationStatuses: _(f, [R.Failed])
|
|
4550
4514
|
};
|
|
4551
4515
|
}, p = (f) => f.reduce(
|
|
4552
4516
|
(y, S) => y ? new Date(y) < new Date(S) ? S : y : S,
|
|
4553
4517
|
0
|
|
4554
|
-
), _ = (f, y) => f.filter((S) => y.includes(S.Status)).map((S) => {
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
};
|
|
4563
|
-
}), w = (f) => f.filter((y) => k.includes(y.Status) ? y.Flags && y.Flags.DeferredUrlKey || B(y) || D(y) : !1), B = (f) => {
|
|
4564
|
-
const y = f.Documents && f.VendorName === I.Manual, S = Object.values(f.Documents).some((V) => V.Status === Y.Requested);
|
|
4518
|
+
), _ = (f, y) => f.filter((S) => y.includes(S.Status)).map((S) => ({
|
|
4519
|
+
Type: S.Type,
|
|
4520
|
+
Vendor: S.VendorName,
|
|
4521
|
+
VerificationDocuments: S.Documents ? [...Object.values(S.Documents)] : [],
|
|
4522
|
+
VerificationUrlType: S.Flags?.DeferredUrlTypeKey,
|
|
4523
|
+
VerificationUrl: S.Flags?.DeferredUrlKey
|
|
4524
|
+
})), w = (f) => f.filter((y) => k.includes(y.Status) ? y.Flags && y.Flags.DeferredUrlKey || M(y) || D(y) : !1), M = (f) => {
|
|
4525
|
+
const y = f.Documents && f.VendorName === L.Manual, S = Object.values(f.Documents).some((Y) => Y.Status === q.Requested);
|
|
4565
4526
|
return y && S;
|
|
4566
|
-
}, D = (f) => f.VendorName ===
|
|
4527
|
+
}, D = (f) => f.VendorName === L.ShuftiPro && f.Status === R.Referred, N = () => {
|
|
4567
4528
|
switch (v.VerificationSummaryStatus) {
|
|
4568
4529
|
case R.InProgress:
|
|
4569
4530
|
const f = [];
|
|
@@ -4577,97 +4538,103 @@ function as(e, t, r) {
|
|
|
4577
4538
|
}
|
|
4578
4539
|
}, F = (f) => {
|
|
4579
4540
|
const y = v.VerificationStatuses.filter((S) => S.Vendor === f);
|
|
4580
|
-
if (f ===
|
|
4581
|
-
return
|
|
4541
|
+
if (f === L.ShuftiPro)
|
|
4542
|
+
return W(y);
|
|
4582
4543
|
{
|
|
4583
|
-
const S = i("verification.idenfy.link-name"),
|
|
4544
|
+
const S = i("verification.idenfy.link-name"), Y = {
|
|
4584
4545
|
link: `<a href="${y[0].VerificationUrl}" target="_blank">${S}</a>`
|
|
4585
4546
|
};
|
|
4586
|
-
return i("verification.idenfy.in-progress", { values:
|
|
4547
|
+
return i("verification.idenfy.in-progress", { values: Y });
|
|
4587
4548
|
}
|
|
4588
|
-
},
|
|
4589
|
-
const y = [], S = {},
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4549
|
+
}, W = (f) => {
|
|
4550
|
+
const y = [], S = {}, Y = [
|
|
4551
|
+
X.Biometric,
|
|
4552
|
+
X.Documents,
|
|
4553
|
+
X.ProofOfAddress
|
|
4593
4554
|
];
|
|
4594
|
-
f.forEach((
|
|
4595
|
-
|
|
4555
|
+
f.forEach((ee) => {
|
|
4556
|
+
Y.includes(ee.Type) && (y.push(ee.Type), S[ee.Type] = ue(ee, ne(ee.Type)));
|
|
4596
4557
|
});
|
|
4597
|
-
let
|
|
4598
|
-
return
|
|
4599
|
-
},
|
|
4558
|
+
let Je = y.every((ee) => H.has(ee)), ge = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
|
|
4559
|
+
return Je ? i("verification.shuftipro.validations-started") : i(ge, { values: S });
|
|
4560
|
+
}, ue = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, ne = (f) => i(`verification.shuftipro.link-name.${f}`), se = (f, y) => {
|
|
4600
4561
|
if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
|
|
4601
4562
|
if (f.target.closest(".verificationLink")) {
|
|
4602
4563
|
const S = f.target.className.split(" ")[1];
|
|
4603
|
-
H.add(S), r(4,
|
|
4564
|
+
H.add(S), r(4, V = N());
|
|
4604
4565
|
}
|
|
4605
4566
|
return;
|
|
4606
4567
|
}
|
|
4607
4568
|
y === 0 && r(5, U = !U);
|
|
4608
|
-
},
|
|
4609
|
-
r(6,
|
|
4610
|
-
},
|
|
4611
|
-
r(8,
|
|
4569
|
+
}, oe = () => {
|
|
4570
|
+
r(6, B = c === "false");
|
|
4571
|
+
}, G = () => {
|
|
4572
|
+
r(8, I = $ + "/" + s + "/" + qn);
|
|
4612
4573
|
try {
|
|
4613
|
-
fetch(
|
|
4614
|
-
r(7,
|
|
4574
|
+
fetch(I, { method: "HEAD" }).then((f) => {
|
|
4575
|
+
r(7, z = f.ok);
|
|
4615
4576
|
});
|
|
4616
|
-
} catch
|
|
4617
|
-
r(7,
|
|
4577
|
+
} catch {
|
|
4578
|
+
r(7, z = !1);
|
|
4618
4579
|
}
|
|
4619
|
-
},
|
|
4620
|
-
window.postMessage(
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4580
|
+
}, J = () => {
|
|
4581
|
+
window.postMessage(
|
|
4582
|
+
{
|
|
4583
|
+
type: "ShowCashierVideoModal",
|
|
4584
|
+
details: B ? Yn : Zn
|
|
4585
|
+
},
|
|
4586
|
+
window.location.href
|
|
4587
|
+
);
|
|
4588
|
+
}, ce = (f, y) => se(y, f), pe = (f, y) => se(y, f), Hr = () => J();
|
|
4589
|
+
function Or(f) {
|
|
4590
|
+
st[f ? "unshift" : "push"](() => {
|
|
4624
4591
|
m = f, r(3, m);
|
|
4625
4592
|
});
|
|
4626
4593
|
}
|
|
4627
4594
|
return e.$$set = (f) => {
|
|
4628
|
-
"endpoint" in f && r(12, n = f.endpoint), "lang" in f && r(13, s = f.lang), "translationurl" in f && r(14,
|
|
4595
|
+
"endpoint" in f && r(12, n = f.endpoint), "lang" in f && r(13, s = f.lang), "translationurl" in f && r(14, l = f.translationurl), "clientstyling" in f && r(0, a = f.clientstyling), "clientstylingurl" in f && r(1, o = f.clientstylingurl), "session" in f && r(15, u = f.session), "customerid" in f && r(16, h = f.customerid), "ismobileview" in f && r(2, c = f.ismobileview);
|
|
4629
4596
|
}, e.$$.update = () => {
|
|
4630
4597
|
e.$$.dirty[0] & /*lang*/
|
|
4631
|
-
8192 && s &&
|
|
4598
|
+
8192 && s && me(), e.$$.dirty[0] & /*endpoint, session*/
|
|
4632
4599
|
36864 && n && u && g(), e.$$.dirty[0] & /*translationurl*/
|
|
4633
|
-
16384 &&
|
|
4634
|
-
9 &&
|
|
4600
|
+
16384 && l && P(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4601
|
+
9 && a && m && Re(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4635
4602
|
10 && o && m && x(), e.$$.dirty[0] & /*ismobileview*/
|
|
4636
|
-
4 && c &&
|
|
4637
|
-
131072 && $ &&
|
|
4603
|
+
4 && c && oe(), e.$$.dirty[0] & /*staticCdnUrl*/
|
|
4604
|
+
131072 && $ && G();
|
|
4638
4605
|
}, [
|
|
4639
|
-
|
|
4606
|
+
a,
|
|
4640
4607
|
o,
|
|
4641
4608
|
c,
|
|
4642
4609
|
m,
|
|
4643
|
-
|
|
4610
|
+
V,
|
|
4644
4611
|
U,
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4612
|
+
B,
|
|
4613
|
+
z,
|
|
4614
|
+
I,
|
|
4648
4615
|
i,
|
|
4649
|
-
|
|
4650
|
-
|
|
4616
|
+
se,
|
|
4617
|
+
J,
|
|
4651
4618
|
n,
|
|
4652
4619
|
s,
|
|
4653
|
-
|
|
4620
|
+
l,
|
|
4654
4621
|
u,
|
|
4655
4622
|
h,
|
|
4656
4623
|
$,
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4624
|
+
ce,
|
|
4625
|
+
pe,
|
|
4626
|
+
Hr,
|
|
4627
|
+
Or
|
|
4661
4628
|
];
|
|
4662
4629
|
}
|
|
4663
|
-
class
|
|
4630
|
+
class Qn extends Yr {
|
|
4664
4631
|
constructor(t) {
|
|
4665
|
-
super(),
|
|
4632
|
+
super(), Wr(
|
|
4666
4633
|
this,
|
|
4667
4634
|
t,
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4635
|
+
Jn,
|
|
4636
|
+
Wn,
|
|
4637
|
+
Yt,
|
|
4671
4638
|
{
|
|
4672
4639
|
endpoint: 12,
|
|
4673
4640
|
lang: 13,
|
|
@@ -4678,7 +4645,7 @@ class Cr extends ui {
|
|
|
4678
4645
|
customerid: 16,
|
|
4679
4646
|
ismobileview: 2
|
|
4680
4647
|
},
|
|
4681
|
-
|
|
4648
|
+
Xn,
|
|
4682
4649
|
[-1, -1]
|
|
4683
4650
|
);
|
|
4684
4651
|
}
|
|
@@ -4686,76 +4653,72 @@ class Cr extends ui {
|
|
|
4686
4653
|
return this.$$.ctx[12];
|
|
4687
4654
|
}
|
|
4688
4655
|
set endpoint(t) {
|
|
4689
|
-
this.$$set({ endpoint: t }),
|
|
4656
|
+
this.$$set({ endpoint: t }), te();
|
|
4690
4657
|
}
|
|
4691
4658
|
get lang() {
|
|
4692
4659
|
return this.$$.ctx[13];
|
|
4693
4660
|
}
|
|
4694
4661
|
set lang(t) {
|
|
4695
|
-
this.$$set({ lang: t }),
|
|
4662
|
+
this.$$set({ lang: t }), te();
|
|
4696
4663
|
}
|
|
4697
4664
|
get translationurl() {
|
|
4698
4665
|
return this.$$.ctx[14];
|
|
4699
4666
|
}
|
|
4700
4667
|
set translationurl(t) {
|
|
4701
|
-
this.$$set({ translationurl: t }),
|
|
4668
|
+
this.$$set({ translationurl: t }), te();
|
|
4702
4669
|
}
|
|
4703
4670
|
get clientstyling() {
|
|
4704
4671
|
return this.$$.ctx[0];
|
|
4705
4672
|
}
|
|
4706
4673
|
set clientstyling(t) {
|
|
4707
|
-
this.$$set({ clientstyling: t }),
|
|
4674
|
+
this.$$set({ clientstyling: t }), te();
|
|
4708
4675
|
}
|
|
4709
4676
|
get clientstylingurl() {
|
|
4710
4677
|
return this.$$.ctx[1];
|
|
4711
4678
|
}
|
|
4712
4679
|
set clientstylingurl(t) {
|
|
4713
|
-
this.$$set({ clientstylingurl: t }),
|
|
4680
|
+
this.$$set({ clientstylingurl: t }), te();
|
|
4714
4681
|
}
|
|
4715
4682
|
get session() {
|
|
4716
4683
|
return this.$$.ctx[15];
|
|
4717
4684
|
}
|
|
4718
4685
|
set session(t) {
|
|
4719
|
-
this.$$set({ session: t }),
|
|
4686
|
+
this.$$set({ session: t }), te();
|
|
4720
4687
|
}
|
|
4721
4688
|
get customerid() {
|
|
4722
4689
|
return this.$$.ctx[16];
|
|
4723
4690
|
}
|
|
4724
4691
|
set customerid(t) {
|
|
4725
|
-
this.$$set({ customerid: t }),
|
|
4692
|
+
this.$$set({ customerid: t }), te();
|
|
4726
4693
|
}
|
|
4727
4694
|
get ismobileview() {
|
|
4728
4695
|
return this.$$.ctx[2];
|
|
4729
4696
|
}
|
|
4730
4697
|
set ismobileview(t) {
|
|
4731
|
-
this.$$set({ ismobileview: t }),
|
|
4698
|
+
this.$$set({ ismobileview: t }), te();
|
|
4732
4699
|
}
|
|
4733
4700
|
}
|
|
4734
|
-
|
|
4735
|
-
const ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4736
|
-
__proto__: null,
|
|
4737
|
-
default: Cr
|
|
4738
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
4701
|
+
qr(Qn, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
|
|
4739
4702
|
export {
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4703
|
+
Qn as C,
|
|
4704
|
+
Yr as S,
|
|
4705
|
+
$r as a,
|
|
4706
|
+
ae as b,
|
|
4707
|
+
qr as c,
|
|
4708
|
+
ie as d,
|
|
4709
|
+
ts as e,
|
|
4710
|
+
te as f,
|
|
4711
|
+
Z as g,
|
|
4712
|
+
xe as h,
|
|
4713
|
+
Wr as i,
|
|
4714
|
+
Kn as j,
|
|
4715
|
+
K as k,
|
|
4716
|
+
re as l,
|
|
4717
|
+
es as m,
|
|
4718
|
+
Q as n,
|
|
4719
|
+
rs as o,
|
|
4720
|
+
bt as p,
|
|
4721
|
+
st as q,
|
|
4722
|
+
Yt as s,
|
|
4723
|
+
Ee as t
|
|
4761
4724
|
};
|