@everymatrix/cashier-session-expiration-modal 1.74.8 → 1.74.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/{CashierSessionExpirationModal-BOSjOfU2.js → CashierSessionExpirationModal-0NoY0y90.js} +843 -841
- package/components/{CashierSessionExpirationModal-C86Sxd4B.js → CashierSessionExpirationModal-DfvSYdpz.js} +819 -817
- package/components/CashierSessionExpirationModal-uM4jfPMr.cjs +22 -0
- package/es2015/cashier-session-expiration-modal.cjs +1 -1
- package/es2015/cashier-session-expiration-modal.js +1 -1
- package/esnext/cashier-session-expiration-modal.js +1 -1
- package/package.json +1 -1
- package/components/CashierSessionExpirationModal-5NHcewhZ.cjs +0 -22
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function de() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const $r = (e) => e;
|
|
4
|
+
function $i(e, t) {
|
|
5
5
|
for (const n in t)
|
|
6
6
|
e[n] = t[n];
|
|
7
7
|
return (
|
|
@@ -9,29 +9,29 @@ function ji(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function jr(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function rr() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function He(e) {
|
|
19
|
-
e.forEach(
|
|
19
|
+
e.forEach(jr);
|
|
20
20
|
}
|
|
21
21
|
function Vt(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function zr(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
27
|
let St;
|
|
28
28
|
function En(e, t) {
|
|
29
29
|
return e === t ? !0 : (St || (St = document.createElement("a")), St.href = t, e === St.href);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function ji(e) {
|
|
32
32
|
return Object.keys(e).length === 0;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Wr(e, ...t) {
|
|
35
35
|
if (e == null) {
|
|
36
36
|
for (const r of t)
|
|
37
37
|
r(void 0);
|
|
@@ -40,17 +40,17 @@ function Vr(e, ...t) {
|
|
|
40
40
|
const n = e.subscribe(...t);
|
|
41
41
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
e.$$.on_destroy.push(
|
|
43
|
+
function ir(e, t, n) {
|
|
44
|
+
e.$$.on_destroy.push(Wr(t, n));
|
|
45
45
|
}
|
|
46
46
|
function Nt(e, t, n, r) {
|
|
47
47
|
if (e) {
|
|
48
|
-
const i =
|
|
48
|
+
const i = Vr(e, t, n, r);
|
|
49
49
|
return e[0](i);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return e[1] && r ?
|
|
52
|
+
function Vr(e, t, n, r) {
|
|
53
|
+
return e[1] && r ? $i(n.ctx.slice(), e[1](r(t))) : n.ctx;
|
|
54
54
|
}
|
|
55
55
|
function Lt(e, t, n, r) {
|
|
56
56
|
if (e[2] && r) {
|
|
@@ -58,8 +58,8 @@ function Lt(e, t, n, r) {
|
|
|
58
58
|
if (t.dirty === void 0)
|
|
59
59
|
return i;
|
|
60
60
|
if (typeof i == "object") {
|
|
61
|
-
const s = [],
|
|
62
|
-
for (let a = 0; a <
|
|
61
|
+
const s = [], u = Math.max(t.dirty.length, i.length);
|
|
62
|
+
for (let a = 0; a < u; a += 1)
|
|
63
63
|
s[a] = t.dirty[a] | i[a];
|
|
64
64
|
return s;
|
|
65
65
|
}
|
|
@@ -69,8 +69,8 @@ function Lt(e, t, n, r) {
|
|
|
69
69
|
}
|
|
70
70
|
function Ht(e, t, n, r, i, s) {
|
|
71
71
|
if (i) {
|
|
72
|
-
const
|
|
73
|
-
e.p(
|
|
72
|
+
const u = Vr(t, n, r, s);
|
|
73
|
+
e.p(u, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
function Rt(e) {
|
|
@@ -82,17 +82,17 @@ function Rt(e) {
|
|
|
82
82
|
}
|
|
83
83
|
return -1;
|
|
84
84
|
}
|
|
85
|
-
const
|
|
86
|
-
let
|
|
85
|
+
const Xr = typeof window < "u";
|
|
86
|
+
let zi = Xr ? () => window.performance.now() : () => Date.now(), Nn = Xr ? (e) => requestAnimationFrame(e) : de;
|
|
87
87
|
const We = /* @__PURE__ */ new Set();
|
|
88
|
-
function
|
|
88
|
+
function Yr(e) {
|
|
89
89
|
We.forEach((t) => {
|
|
90
90
|
t.c(e) || (We.delete(t), t.f());
|
|
91
|
-
}), We.size !== 0 && Nn(
|
|
91
|
+
}), We.size !== 0 && Nn(Yr);
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function Wi(e) {
|
|
94
94
|
let t;
|
|
95
|
-
return We.size === 0 && Nn(
|
|
95
|
+
return We.size === 0 && Nn(Yr), {
|
|
96
96
|
promise: new Promise((n) => {
|
|
97
97
|
We.add(t = { c: e, f: n });
|
|
98
98
|
}),
|
|
@@ -101,14 +101,14 @@ function Vi(e) {
|
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function q(e, t) {
|
|
105
105
|
e.appendChild(t);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function Vi(e, t, n) {
|
|
108
108
|
const r = Ln(e);
|
|
109
109
|
if (!r.getElementById(t)) {
|
|
110
110
|
const i = te("style");
|
|
111
|
-
i.id = t, i.textContent = n,
|
|
111
|
+
i.id = t, i.textContent = n, Zr(r, i);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
function Ln(e) {
|
|
@@ -121,12 +121,12 @@ function Ln(e) {
|
|
|
121
121
|
t
|
|
122
122
|
) : e.ownerDocument;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Xi(e) {
|
|
125
125
|
const t = te("style");
|
|
126
|
-
return t.textContent = "/* empty */",
|
|
126
|
+
return t.textContent = "/* empty */", Zr(Ln(e), t), t.sheet;
|
|
127
127
|
}
|
|
128
|
-
function
|
|
129
|
-
return
|
|
128
|
+
function Zr(e, t) {
|
|
129
|
+
return q(
|
|
130
130
|
/** @type {Document} */
|
|
131
131
|
e.head || e,
|
|
132
132
|
t
|
|
@@ -141,7 +141,7 @@ function ge(e) {
|
|
|
141
141
|
function te(e) {
|
|
142
142
|
return document.createElement(e);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function sr(e) {
|
|
145
145
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
146
146
|
}
|
|
147
147
|
function Qe(e) {
|
|
@@ -150,7 +150,7 @@ function Qe(e) {
|
|
|
150
150
|
function ft() {
|
|
151
151
|
return Qe(" ");
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function qr() {
|
|
154
154
|
return Qe("");
|
|
155
155
|
}
|
|
156
156
|
function kt(e, t, n, r) {
|
|
@@ -159,7 +159,7 @@ function kt(e, t, n, r) {
|
|
|
159
159
|
function j(e, t, n) {
|
|
160
160
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Yi(e) {
|
|
163
163
|
return Array.from(e.childNodes);
|
|
164
164
|
}
|
|
165
165
|
function Xt(e, t) {
|
|
@@ -167,7 +167,7 @@ function Xt(e, t) {
|
|
|
167
167
|
t);
|
|
168
168
|
}
|
|
169
169
|
let wt;
|
|
170
|
-
function
|
|
170
|
+
function Zi() {
|
|
171
171
|
if (wt === void 0) {
|
|
172
172
|
wt = !1;
|
|
173
173
|
try {
|
|
@@ -178,32 +178,32 @@ function qi() {
|
|
|
178
178
|
}
|
|
179
179
|
return wt;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function qi(e, t) {
|
|
182
182
|
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
|
183
183
|
const r = te("iframe");
|
|
184
184
|
r.setAttribute(
|
|
185
185
|
"style",
|
|
186
186
|
"display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
|
|
187
187
|
), r.setAttribute("aria-hidden", "true"), r.tabIndex = -1;
|
|
188
|
-
const i =
|
|
188
|
+
const i = Zi();
|
|
189
189
|
let s;
|
|
190
190
|
return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = kt(
|
|
191
191
|
window,
|
|
192
192
|
"message",
|
|
193
193
|
/** @param {MessageEvent} event */
|
|
194
|
-
(
|
|
195
|
-
|
|
194
|
+
(u) => {
|
|
195
|
+
u.source === r.contentWindow && t();
|
|
196
196
|
}
|
|
197
197
|
)) : (r.src = "about:blank", r.onload = () => {
|
|
198
198
|
s = kt(r.contentWindow, "resize", t), t();
|
|
199
|
-
}),
|
|
199
|
+
}), q(e, r), () => {
|
|
200
200
|
(i || s && r.contentWindow) && s(), ge(r);
|
|
201
201
|
};
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function Ji(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
|
|
204
204
|
return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Qi(e) {
|
|
207
207
|
const t = {};
|
|
208
208
|
return e.childNodes.forEach(
|
|
209
209
|
/** @param {Element} node */
|
|
@@ -214,39 +214,39 @@ function Ki(e) {
|
|
|
214
214
|
}
|
|
215
215
|
const Ft = /* @__PURE__ */ new Map();
|
|
216
216
|
let Gt = 0;
|
|
217
|
-
function
|
|
217
|
+
function Ki(e) {
|
|
218
218
|
let t = 5381, n = e.length;
|
|
219
219
|
for (; n--; )
|
|
220
220
|
t = (t << 5) - t ^ e.charCodeAt(n);
|
|
221
221
|
return t >>> 0;
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
const n = { stylesheet:
|
|
223
|
+
function es(e, t) {
|
|
224
|
+
const n = { stylesheet: Xi(t), rules: {} };
|
|
225
225
|
return Ft.set(e, n), n;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function or(e, t, n, r, i, s, u, a = 0) {
|
|
228
228
|
const c = 16.666 / r;
|
|
229
|
-
let
|
|
229
|
+
let l = `{
|
|
230
230
|
`;
|
|
231
|
-
for (let
|
|
232
|
-
const $ = t + (n - t) * s(
|
|
233
|
-
|
|
231
|
+
for (let M = 0; M <= 1; M += c) {
|
|
232
|
+
const $ = t + (n - t) * s(M);
|
|
233
|
+
l += M * 100 + `%{${u($, 1 - $)}}
|
|
234
234
|
`;
|
|
235
235
|
}
|
|
236
|
-
const f =
|
|
237
|
-
}`, b = `__svelte_${
|
|
238
|
-
E[b] || (E[b] = !0,
|
|
236
|
+
const f = l + `100% {${u(n, 1 - n)}}
|
|
237
|
+
}`, b = `__svelte_${Ki(f)}_${a}`, y = Ln(e), { stylesheet: O, rules: E } = Ft.get(y) || es(y, e);
|
|
238
|
+
E[b] || (E[b] = !0, O.insertRule(`@keyframes ${b} ${f}`, O.cssRules.length));
|
|
239
239
|
const d = e.style.animation || "";
|
|
240
240
|
return e.style.animation = `${d ? `${d}, ` : ""}${b} ${r}ms linear ${i}ms 1 both`, Gt += 1, b;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function ts(e, t) {
|
|
243
243
|
const n = (e.style.animation || "").split(", "), r = n.filter(
|
|
244
244
|
t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
|
|
245
245
|
// remove all Svelte animations
|
|
246
246
|
), i = n.length - r.length;
|
|
247
|
-
i && (e.style.animation = r.join(", "), Gt -= i, Gt ||
|
|
247
|
+
i && (e.style.animation = r.join(", "), Gt -= i, Gt || ns());
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function ns() {
|
|
250
250
|
Nn(() => {
|
|
251
251
|
Gt || (Ft.forEach((e) => {
|
|
252
252
|
const { ownerNode: t } = e.stylesheet;
|
|
@@ -258,30 +258,30 @@ let dt;
|
|
|
258
258
|
function mt(e) {
|
|
259
259
|
dt = e;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function Jr() {
|
|
262
262
|
if (!dt)
|
|
263
263
|
throw new Error("Function called outside component initialization");
|
|
264
264
|
return dt;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
|
|
266
|
+
function rs(e) {
|
|
267
|
+
Jr().$$.on_mount.push(e);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
270
|
-
|
|
269
|
+
function is(e) {
|
|
270
|
+
Jr().$$.on_destroy.push(e);
|
|
271
271
|
}
|
|
272
272
|
const ze = [], $t = [];
|
|
273
273
|
let Ve = [];
|
|
274
|
-
const
|
|
274
|
+
const ar = [], ss = /* @__PURE__ */ Promise.resolve();
|
|
275
275
|
let _n = !1;
|
|
276
|
-
function
|
|
277
|
-
_n || (_n = !0,
|
|
276
|
+
function os() {
|
|
277
|
+
_n || (_n = !0, ss.then(le));
|
|
278
278
|
}
|
|
279
279
|
function Xe(e) {
|
|
280
280
|
Ve.push(e);
|
|
281
281
|
}
|
|
282
282
|
const sn = /* @__PURE__ */ new Set();
|
|
283
283
|
let $e = 0;
|
|
284
|
-
function
|
|
284
|
+
function le() {
|
|
285
285
|
if ($e !== 0)
|
|
286
286
|
return;
|
|
287
287
|
const e = dt;
|
|
@@ -289,7 +289,7 @@ function ue() {
|
|
|
289
289
|
try {
|
|
290
290
|
for (; $e < ze.length; ) {
|
|
291
291
|
const t = ze[$e];
|
|
292
|
-
$e++, mt(t),
|
|
292
|
+
$e++, mt(t), as(t.$$);
|
|
293
293
|
}
|
|
294
294
|
} catch (t) {
|
|
295
295
|
throw ze.length = 0, $e = 0, t;
|
|
@@ -302,11 +302,11 @@ function ue() {
|
|
|
302
302
|
}
|
|
303
303
|
Ve.length = 0;
|
|
304
304
|
} while (ze.length);
|
|
305
|
-
for (;
|
|
306
|
-
|
|
305
|
+
for (; ar.length; )
|
|
306
|
+
ar.pop()();
|
|
307
307
|
_n = !1, sn.clear(), mt(e);
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function as(e) {
|
|
310
310
|
if (e.fragment !== null) {
|
|
311
311
|
e.update(), He(e.before_update);
|
|
312
312
|
const t = e.dirty;
|
|
@@ -318,17 +318,17 @@ function us(e) {
|
|
|
318
318
|
Ve.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ve = t;
|
|
319
319
|
}
|
|
320
320
|
let it;
|
|
321
|
-
function
|
|
321
|
+
function ls() {
|
|
322
322
|
return it || (it = Promise.resolve(), it.then(() => {
|
|
323
323
|
it = null;
|
|
324
324
|
})), it;
|
|
325
325
|
}
|
|
326
326
|
function on(e, t, n) {
|
|
327
|
-
e.dispatchEvent(
|
|
327
|
+
e.dispatchEvent(Ji(`${t ? "intro" : "outro"}${n}`));
|
|
328
328
|
}
|
|
329
329
|
const Pt = /* @__PURE__ */ new Set();
|
|
330
330
|
let Me;
|
|
331
|
-
function
|
|
331
|
+
function Qr() {
|
|
332
332
|
Me = {
|
|
333
333
|
r: 0,
|
|
334
334
|
c: [],
|
|
@@ -336,7 +336,7 @@ function Kr() {
|
|
|
336
336
|
// parent group
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function Kr() {
|
|
340
340
|
Me.r || He(Me.c), Me = Me.p;
|
|
341
341
|
}
|
|
342
342
|
function Ae(e, t) {
|
|
@@ -352,43 +352,43 @@ function Ne(e, t, n, r) {
|
|
|
352
352
|
} else
|
|
353
353
|
r && r();
|
|
354
354
|
}
|
|
355
|
-
const
|
|
355
|
+
const cs = { duration: 0 };
|
|
356
356
|
function ur(e, t, n, r) {
|
|
357
|
-
let s = t(e, n, { direction: "both" }),
|
|
357
|
+
let s = t(e, n, { direction: "both" }), u = r ? 0 : 1, a = null, c = null, l = null, f;
|
|
358
358
|
function b() {
|
|
359
|
-
|
|
359
|
+
l && ts(e, l);
|
|
360
360
|
}
|
|
361
361
|
function y(E, d) {
|
|
362
|
-
const
|
|
362
|
+
const M = (
|
|
363
363
|
/** @type {Program['d']} */
|
|
364
|
-
E.b -
|
|
364
|
+
E.b - u
|
|
365
365
|
);
|
|
366
|
-
return d *= Math.abs(
|
|
367
|
-
a:
|
|
366
|
+
return d *= Math.abs(M), {
|
|
367
|
+
a: u,
|
|
368
368
|
b: E.b,
|
|
369
|
-
d:
|
|
369
|
+
d: M,
|
|
370
370
|
duration: d,
|
|
371
371
|
start: E.start,
|
|
372
372
|
end: E.start + d,
|
|
373
373
|
group: E.group
|
|
374
374
|
};
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function O(E) {
|
|
377
377
|
const {
|
|
378
378
|
delay: d = 0,
|
|
379
|
-
duration:
|
|
380
|
-
easing: $ =
|
|
379
|
+
duration: M = 300,
|
|
380
|
+
easing: $ = $r,
|
|
381
381
|
tick: U = de,
|
|
382
|
-
css:
|
|
383
|
-
} = s ||
|
|
384
|
-
start:
|
|
382
|
+
css: A
|
|
383
|
+
} = s || cs, H = {
|
|
384
|
+
start: zi() + d,
|
|
385
385
|
b: E
|
|
386
386
|
};
|
|
387
387
|
E || (H.group = Me, Me.r += 1), "inert" in e && (E ? f !== void 0 && (e.inert = f) : (f = /** @type {HTMLElement} */
|
|
388
|
-
e.inert, e.inert = !0)), a || c ? c = H : (
|
|
389
|
-
if (c && I > c.start && (a = y(c,
|
|
388
|
+
e.inert, e.inert = !0)), a || c ? c = H : (A && (b(), l = or(e, u, E, M, d, $, A)), E && U(0, 1), a = y(H, M), Xe(() => on(e, E, "start")), Wi((I) => {
|
|
389
|
+
if (c && I > c.start && (a = y(c, M), c = null, on(e, a.b, "start"), A && (b(), l = or(
|
|
390
390
|
e,
|
|
391
|
-
|
|
391
|
+
u,
|
|
392
392
|
a.b,
|
|
393
393
|
a.duration,
|
|
394
394
|
0,
|
|
@@ -396,10 +396,10 @@ function ur(e, t, n, r) {
|
|
|
396
396
|
s.css
|
|
397
397
|
))), a) {
|
|
398
398
|
if (I >= a.end)
|
|
399
|
-
U(
|
|
399
|
+
U(u = a.b, 1 - u), on(e, a.b, "end"), c || (a.b ? b() : --a.group.r || He(a.group.c)), a = null;
|
|
400
400
|
else if (I >= a.start) {
|
|
401
401
|
const F = I - a.start;
|
|
402
|
-
|
|
402
|
+
u = a.a + a.d * $(F / a.duration), U(u, 1 - u);
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
return !!(a || c);
|
|
@@ -407,40 +407,40 @@ function ur(e, t, n, r) {
|
|
|
407
407
|
}
|
|
408
408
|
return {
|
|
409
409
|
run(E) {
|
|
410
|
-
Vt(s) ?
|
|
411
|
-
s = s({ direction: E ? "in" : "out" }),
|
|
412
|
-
}) :
|
|
410
|
+
Vt(s) ? ls().then(() => {
|
|
411
|
+
s = s({ direction: E ? "in" : "out" }), O(E);
|
|
412
|
+
}) : O(E);
|
|
413
413
|
},
|
|
414
414
|
end() {
|
|
415
415
|
b(), a = c = null;
|
|
416
416
|
}
|
|
417
417
|
};
|
|
418
418
|
}
|
|
419
|
-
function
|
|
419
|
+
function fs(e, t, n) {
|
|
420
420
|
const { fragment: r, after_update: i } = e.$$;
|
|
421
421
|
r && r.m(t, n), Xe(() => {
|
|
422
|
-
const s = e.$$.on_mount.map(
|
|
422
|
+
const s = e.$$.on_mount.map(jr).filter(Vt);
|
|
423
423
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : He(s), e.$$.on_mount = [];
|
|
424
424
|
}), i.forEach(Xe);
|
|
425
425
|
}
|
|
426
|
-
function
|
|
426
|
+
function hs(e, t) {
|
|
427
427
|
const n = e.$$;
|
|
428
428
|
n.fragment !== null && (us(n.after_update), He(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
429
429
|
}
|
|
430
|
-
function
|
|
431
|
-
e.$$.dirty[0] === -1 && (ze.push(e),
|
|
430
|
+
function ms(e, t) {
|
|
431
|
+
e.$$.dirty[0] === -1 && (ze.push(e), os(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
432
432
|
}
|
|
433
|
-
function
|
|
433
|
+
function ds(e, t, n, r, i, s, u = null, a = [-1]) {
|
|
434
434
|
const c = dt;
|
|
435
435
|
mt(e);
|
|
436
|
-
const
|
|
436
|
+
const l = e.$$ = {
|
|
437
437
|
fragment: null,
|
|
438
438
|
ctx: [],
|
|
439
439
|
// state
|
|
440
440
|
props: s,
|
|
441
441
|
update: de,
|
|
442
442
|
not_equal: i,
|
|
443
|
-
bound:
|
|
443
|
+
bound: rr(),
|
|
444
444
|
// lifecycle
|
|
445
445
|
on_mount: [],
|
|
446
446
|
on_destroy: [],
|
|
@@ -449,28 +449,28 @@ function ps(e, t, n, r, i, s, l = null, a = [-1]) {
|
|
|
449
449
|
after_update: [],
|
|
450
450
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
451
451
|
// everything else
|
|
452
|
-
callbacks:
|
|
452
|
+
callbacks: rr(),
|
|
453
453
|
dirty: a,
|
|
454
454
|
skip_bound: !1,
|
|
455
455
|
root: t.target || c.$$.root
|
|
456
456
|
};
|
|
457
|
-
|
|
457
|
+
u && u(l.root);
|
|
458
458
|
let f = !1;
|
|
459
|
-
if (
|
|
460
|
-
const E =
|
|
461
|
-
return
|
|
462
|
-
})
|
|
459
|
+
if (l.ctx = n(e, t.props || {}, (b, y, ...O) => {
|
|
460
|
+
const E = O.length ? O[0] : y;
|
|
461
|
+
return l.ctx && i(l.ctx[b], l.ctx[b] = E) && (!l.skip_bound && l.bound[b] && l.bound[b](E), f && ms(e, b)), y;
|
|
462
|
+
}), l.update(), f = !0, He(l.before_update), l.fragment = r(l.ctx), t.target) {
|
|
463
463
|
if (t.hydrate) {
|
|
464
|
-
const b =
|
|
465
|
-
|
|
464
|
+
const b = Yi(t.target);
|
|
465
|
+
l.fragment && l.fragment.l(b), b.forEach(ge);
|
|
466
466
|
} else
|
|
467
|
-
|
|
468
|
-
t.intro && Ae(e.$$.fragment),
|
|
467
|
+
l.fragment && l.fragment.c();
|
|
468
|
+
t.intro && Ae(e.$$.fragment), fs(e, t.target, t.anchor), le();
|
|
469
469
|
}
|
|
470
470
|
mt(c);
|
|
471
471
|
}
|
|
472
|
-
let
|
|
473
|
-
typeof HTMLElement == "function" && (
|
|
472
|
+
let ei;
|
|
473
|
+
typeof HTMLElement == "function" && (ei = class extends HTMLElement {
|
|
474
474
|
/** The Svelte component constructor */
|
|
475
475
|
$$ctor;
|
|
476
476
|
/** Slots */
|
|
@@ -518,8 +518,8 @@ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
|
|
|
518
518
|
* @param {HTMLElement} target
|
|
519
519
|
* @param {HTMLElement} [anchor]
|
|
520
520
|
*/
|
|
521
|
-
m: function(c,
|
|
522
|
-
Se(c, s,
|
|
521
|
+
m: function(c, l) {
|
|
522
|
+
Se(c, s, l);
|
|
523
523
|
},
|
|
524
524
|
d: function(c) {
|
|
525
525
|
c && ge(s);
|
|
@@ -529,7 +529,7 @@ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
|
|
|
529
529
|
};
|
|
530
530
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
531
531
|
return;
|
|
532
|
-
const t = {}, n =
|
|
532
|
+
const t = {}, n = Qi(this);
|
|
533
533
|
for (const i of this.$$s)
|
|
534
534
|
i in n && (t[i] = [e(i)]);
|
|
535
535
|
for (const i of this.attributes) {
|
|
@@ -565,8 +565,8 @@ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
|
|
|
565
565
|
this.$$c.$$.after_update.push(r), r();
|
|
566
566
|
for (const i in this.$$l)
|
|
567
567
|
for (const s of this.$$l[i]) {
|
|
568
|
-
const
|
|
569
|
-
this.$$l_u.set(s,
|
|
568
|
+
const u = this.$$c.$on(i, s);
|
|
569
|
+
this.$$l_u.set(s, u);
|
|
570
570
|
}
|
|
571
571
|
this.$$l = {};
|
|
572
572
|
}
|
|
@@ -616,8 +616,8 @@ function It(e, t, n, r) {
|
|
|
616
616
|
return t;
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
|
-
function
|
|
620
|
-
let
|
|
619
|
+
function ps(e, t, n, r, i, s) {
|
|
620
|
+
let u = class extends ei {
|
|
621
621
|
constructor() {
|
|
622
622
|
super(e, n, i), this.$$p_d = t;
|
|
623
623
|
}
|
|
@@ -628,7 +628,7 @@ function gs(e, t, n, r, i, s) {
|
|
|
628
628
|
}
|
|
629
629
|
};
|
|
630
630
|
return Object.keys(t).forEach((a) => {
|
|
631
|
-
Object.defineProperty(
|
|
631
|
+
Object.defineProperty(u.prototype, a, {
|
|
632
632
|
get() {
|
|
633
633
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
634
634
|
},
|
|
@@ -637,15 +637,15 @@ function gs(e, t, n, r, i, s) {
|
|
|
637
637
|
}
|
|
638
638
|
});
|
|
639
639
|
}), r.forEach((a) => {
|
|
640
|
-
Object.defineProperty(
|
|
640
|
+
Object.defineProperty(u.prototype, a, {
|
|
641
641
|
get() {
|
|
642
642
|
return this.$$c?.[a];
|
|
643
643
|
}
|
|
644
644
|
});
|
|
645
645
|
}), e.element = /** @type {any} */
|
|
646
|
-
|
|
646
|
+
u, u;
|
|
647
647
|
}
|
|
648
|
-
class
|
|
648
|
+
class gs {
|
|
649
649
|
/**
|
|
650
650
|
* ### PRIVATE API
|
|
651
651
|
*
|
|
@@ -664,7 +664,7 @@ class bs {
|
|
|
664
664
|
$$set = void 0;
|
|
665
665
|
/** @returns {void} */
|
|
666
666
|
$destroy() {
|
|
667
|
-
|
|
667
|
+
hs(this, 1), this.$destroy = de;
|
|
668
668
|
}
|
|
669
669
|
/**
|
|
670
670
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -686,12 +686,12 @@ class bs {
|
|
|
686
686
|
* @returns {void}
|
|
687
687
|
*/
|
|
688
688
|
$set(t) {
|
|
689
|
-
this.$$set && !
|
|
689
|
+
this.$$set && !ji(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
|
-
const
|
|
693
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
694
|
-
function
|
|
692
|
+
const bs = "4";
|
|
693
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(bs);
|
|
694
|
+
function lr(e, { delay: t = 0, duration: n = 400, easing: r = $r } = {}) {
|
|
695
695
|
const i = +getComputedStyle(e).opacity;
|
|
696
696
|
return {
|
|
697
697
|
delay: t,
|
|
@@ -701,7 +701,7 @@ function cr(e, { delay: t = 0, duration: n = 400, easing: r = jr } = {}) {
|
|
|
701
701
|
};
|
|
702
702
|
}
|
|
703
703
|
const je = [];
|
|
704
|
-
function
|
|
704
|
+
function Es(e, t) {
|
|
705
705
|
return {
|
|
706
706
|
subscribe: bt(e, t).subscribe
|
|
707
707
|
};
|
|
@@ -710,13 +710,13 @@ function bt(e, t = de) {
|
|
|
710
710
|
let n;
|
|
711
711
|
const r = /* @__PURE__ */ new Set();
|
|
712
712
|
function i(a) {
|
|
713
|
-
if (
|
|
713
|
+
if (zr(e, a) && (e = a, n)) {
|
|
714
714
|
const c = !je.length;
|
|
715
|
-
for (const
|
|
716
|
-
|
|
715
|
+
for (const l of r)
|
|
716
|
+
l[1](), je.push(l, e);
|
|
717
717
|
if (c) {
|
|
718
|
-
for (let
|
|
719
|
-
je[
|
|
718
|
+
for (let l = 0; l < je.length; l += 2)
|
|
719
|
+
je[l][0](je[l + 1]);
|
|
720
720
|
je.length = 0;
|
|
721
721
|
}
|
|
722
722
|
}
|
|
@@ -724,34 +724,34 @@ function bt(e, t = de) {
|
|
|
724
724
|
function s(a) {
|
|
725
725
|
i(a(e));
|
|
726
726
|
}
|
|
727
|
-
function
|
|
728
|
-
const
|
|
729
|
-
return r.add(
|
|
730
|
-
r.delete(
|
|
727
|
+
function u(a, c = de) {
|
|
728
|
+
const l = [a, c];
|
|
729
|
+
return r.add(l), r.size === 1 && (n = t(i, s) || de), a(e), () => {
|
|
730
|
+
r.delete(l), r.size === 0 && n && (n(), n = null);
|
|
731
731
|
};
|
|
732
732
|
}
|
|
733
|
-
return { set: i, update: s, subscribe:
|
|
733
|
+
return { set: i, update: s, subscribe: u };
|
|
734
734
|
}
|
|
735
735
|
function Ke(e, t, n) {
|
|
736
736
|
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
737
737
|
if (!i.every(Boolean))
|
|
738
738
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
739
739
|
const s = t.length < 2;
|
|
740
|
-
return
|
|
740
|
+
return Es(n, (u, a) => {
|
|
741
741
|
let c = !1;
|
|
742
|
-
const
|
|
742
|
+
const l = [];
|
|
743
743
|
let f = 0, b = de;
|
|
744
744
|
const y = () => {
|
|
745
745
|
if (f)
|
|
746
746
|
return;
|
|
747
747
|
b();
|
|
748
|
-
const E = t(r ?
|
|
749
|
-
s ?
|
|
750
|
-
},
|
|
751
|
-
(E, d) =>
|
|
748
|
+
const E = t(r ? l[0] : l, u, a);
|
|
749
|
+
s ? u(E) : b = Vt(E) ? E : de;
|
|
750
|
+
}, O = i.map(
|
|
751
|
+
(E, d) => Wr(
|
|
752
752
|
E,
|
|
753
|
-
(
|
|
754
|
-
|
|
753
|
+
(M) => {
|
|
754
|
+
l[d] = M, f &= ~(1 << d), c && y();
|
|
755
755
|
},
|
|
756
756
|
() => {
|
|
757
757
|
f |= 1 << d;
|
|
@@ -759,75 +759,75 @@ function Ke(e, t, n) {
|
|
|
759
759
|
)
|
|
760
760
|
);
|
|
761
761
|
return c = !0, y(), function() {
|
|
762
|
-
He(
|
|
762
|
+
He(O), b(), c = !1;
|
|
763
763
|
};
|
|
764
764
|
});
|
|
765
765
|
}
|
|
766
|
-
var
|
|
766
|
+
var ti = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
767
767
|
function Hn(e) {
|
|
768
768
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
769
769
|
}
|
|
770
|
-
var
|
|
771
|
-
return
|
|
770
|
+
var _s = function(t) {
|
|
771
|
+
return ys(t) && !Ts(t);
|
|
772
772
|
};
|
|
773
|
-
function
|
|
773
|
+
function ys(e) {
|
|
774
774
|
return !!e && typeof e == "object";
|
|
775
775
|
}
|
|
776
|
-
function
|
|
776
|
+
function Ts(e) {
|
|
777
777
|
var t = Object.prototype.toString.call(e);
|
|
778
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
778
|
+
return t === "[object RegExp]" || t === "[object Date]" || As(e);
|
|
779
779
|
}
|
|
780
|
-
var
|
|
781
|
-
function
|
|
782
|
-
return e.$$typeof ===
|
|
780
|
+
var xs = typeof Symbol == "function" && Symbol.for, vs = xs ? Symbol.for("react.element") : 60103;
|
|
781
|
+
function As(e) {
|
|
782
|
+
return e.$$typeof === vs;
|
|
783
783
|
}
|
|
784
|
-
function
|
|
784
|
+
function Ss(e) {
|
|
785
785
|
return Array.isArray(e) ? [] : {};
|
|
786
786
|
}
|
|
787
787
|
function pt(e, t) {
|
|
788
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Ye(
|
|
788
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ye(Ss(e), e, t) : e;
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function ws(e, t, n) {
|
|
791
791
|
return e.concat(t).map(function(r) {
|
|
792
792
|
return pt(r, n);
|
|
793
793
|
});
|
|
794
794
|
}
|
|
795
|
-
function
|
|
795
|
+
function Os(e, t) {
|
|
796
796
|
if (!t.customMerge)
|
|
797
797
|
return Ye;
|
|
798
798
|
var n = t.customMerge(e);
|
|
799
799
|
return typeof n == "function" ? n : Ye;
|
|
800
800
|
}
|
|
801
|
-
function
|
|
801
|
+
function Ms(e) {
|
|
802
802
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
803
803
|
return Object.propertyIsEnumerable.call(e, t);
|
|
804
804
|
}) : [];
|
|
805
805
|
}
|
|
806
|
-
function
|
|
807
|
-
return Object.keys(e).concat(
|
|
806
|
+
function cr(e) {
|
|
807
|
+
return Object.keys(e).concat(Ms(e));
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function ni(e, t) {
|
|
810
810
|
try {
|
|
811
811
|
return t in e;
|
|
812
812
|
} catch {
|
|
813
813
|
return !1;
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
|
-
function
|
|
817
|
-
return
|
|
816
|
+
function Cs(e, t) {
|
|
817
|
+
return ni(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
818
818
|
}
|
|
819
|
-
function
|
|
819
|
+
function Ns(e, t, n) {
|
|
820
820
|
var r = {};
|
|
821
|
-
return n.isMergeableObject(e) &&
|
|
821
|
+
return n.isMergeableObject(e) && cr(e).forEach(function(i) {
|
|
822
822
|
r[i] = pt(e[i], n);
|
|
823
|
-
}),
|
|
824
|
-
|
|
823
|
+
}), cr(t).forEach(function(i) {
|
|
824
|
+
Cs(e, i) || (ni(e, i) && n.isMergeableObject(t[i]) ? r[i] = Os(i, n)(e[i], t[i], n) : r[i] = pt(t[i], n));
|
|
825
825
|
}), r;
|
|
826
826
|
}
|
|
827
827
|
function Ye(e, t, n) {
|
|
828
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
828
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || ws, n.isMergeableObject = n.isMergeableObject || _s, n.cloneUnlessOtherwiseSpecified = pt;
|
|
829
829
|
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
830
|
-
return s ? r ? n.arrayMerge(e, t, n) :
|
|
830
|
+
return s ? r ? n.arrayMerge(e, t, n) : Ns(e, t, n) : pt(t, n);
|
|
831
831
|
}
|
|
832
832
|
Ye.all = function(t, n) {
|
|
833
833
|
if (!Array.isArray(t))
|
|
@@ -836,8 +836,8 @@ Ye.all = function(t, n) {
|
|
|
836
836
|
return Ye(r, i, n);
|
|
837
837
|
}, {});
|
|
838
838
|
};
|
|
839
|
-
var
|
|
840
|
-
const
|
|
839
|
+
var Ls = Ye, Hs = Ls;
|
|
840
|
+
const Rs = /* @__PURE__ */ Hn(Hs);
|
|
841
841
|
/*! *****************************************************************************
|
|
842
842
|
Copyright (c) Microsoft Corporation.
|
|
843
843
|
|
|
@@ -879,7 +879,7 @@ var k = function() {
|
|
|
879
879
|
return t;
|
|
880
880
|
}, k.apply(this, arguments);
|
|
881
881
|
};
|
|
882
|
-
function
|
|
882
|
+
function Ps(e, t) {
|
|
883
883
|
var n = {};
|
|
884
884
|
for (var r in e)
|
|
885
885
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -894,102 +894,104 @@ function an(e, t, n) {
|
|
|
894
894
|
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
895
895
|
return e.concat(s || t);
|
|
896
896
|
}
|
|
897
|
-
function
|
|
898
|
-
var n = t && t.cache ? t.cache : Gs, r = t && t.serializer ? t.serializer :
|
|
897
|
+
function un(e, t) {
|
|
898
|
+
var n = t && t.cache ? t.cache : Gs, r = t && t.serializer ? t.serializer : ks, i = t && t.strategy ? t.strategy : Ds;
|
|
899
899
|
return i(e, {
|
|
900
900
|
cache: n,
|
|
901
901
|
serializer: r
|
|
902
902
|
});
|
|
903
903
|
}
|
|
904
|
-
function
|
|
904
|
+
function Is(e) {
|
|
905
905
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
906
906
|
}
|
|
907
|
-
function
|
|
908
|
-
var i =
|
|
907
|
+
function ri(e, t, n, r) {
|
|
908
|
+
var i = Is(r) ? r : n(r), s = t.get(i);
|
|
909
909
|
return typeof s > "u" && (s = e.call(this, r), t.set(i, s)), s;
|
|
910
910
|
}
|
|
911
|
-
function
|
|
911
|
+
function ii(e, t, n) {
|
|
912
912
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
913
913
|
return typeof s > "u" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
914
914
|
}
|
|
915
915
|
function Rn(e, t, n, r, i) {
|
|
916
916
|
return n.bind(t, e, r, i);
|
|
917
917
|
}
|
|
918
|
-
function
|
|
919
|
-
var n = e.length === 1 ?
|
|
918
|
+
function Ds(e, t) {
|
|
919
|
+
var n = e.length === 1 ? ri : ii;
|
|
920
920
|
return Rn(e, this, n, t.cache.create(), t.serializer);
|
|
921
921
|
}
|
|
922
|
-
function
|
|
923
|
-
return Rn(e, this, si, t.cache.create(), t.serializer);
|
|
924
|
-
}
|
|
925
|
-
function ks(e, t) {
|
|
922
|
+
function Bs(e, t) {
|
|
926
923
|
return Rn(e, this, ii, t.cache.create(), t.serializer);
|
|
927
924
|
}
|
|
928
|
-
|
|
929
|
-
return
|
|
930
|
-
};
|
|
931
|
-
function Pn() {
|
|
932
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
925
|
+
function Us(e, t) {
|
|
926
|
+
return Rn(e, this, ri, t.cache.create(), t.serializer);
|
|
933
927
|
}
|
|
934
|
-
|
|
935
|
-
return
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
928
|
+
var ks = function() {
|
|
929
|
+
return JSON.stringify(arguments);
|
|
930
|
+
}, Fs = (
|
|
931
|
+
/** @class */
|
|
932
|
+
function() {
|
|
933
|
+
function e() {
|
|
934
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
935
|
+
}
|
|
936
|
+
return e.prototype.get = function(t) {
|
|
937
|
+
return this.cache[t];
|
|
938
|
+
}, e.prototype.set = function(t, n) {
|
|
939
|
+
this.cache[t] = n;
|
|
940
|
+
}, e;
|
|
941
|
+
}()
|
|
942
|
+
), Gs = {
|
|
941
943
|
create: function() {
|
|
942
|
-
return new
|
|
944
|
+
return new Fs();
|
|
943
945
|
}
|
|
944
|
-
},
|
|
945
|
-
variadic:
|
|
946
|
-
monadic:
|
|
946
|
+
}, ln = {
|
|
947
|
+
variadic: Bs,
|
|
948
|
+
monadic: Us
|
|
947
949
|
}, D;
|
|
948
950
|
(function(e) {
|
|
949
951
|
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";
|
|
950
952
|
})(D || (D = {}));
|
|
951
|
-
var
|
|
953
|
+
var X;
|
|
952
954
|
(function(e) {
|
|
953
955
|
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";
|
|
954
|
-
})(
|
|
956
|
+
})(X || (X = {}));
|
|
955
957
|
var Ze;
|
|
956
958
|
(function(e) {
|
|
957
959
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
958
960
|
})(Ze || (Ze = {}));
|
|
959
|
-
function
|
|
960
|
-
return e.type ===
|
|
961
|
+
function fr(e) {
|
|
962
|
+
return e.type === X.literal;
|
|
961
963
|
}
|
|
962
964
|
function $s(e) {
|
|
963
|
-
return e.type ===
|
|
965
|
+
return e.type === X.argument;
|
|
966
|
+
}
|
|
967
|
+
function si(e) {
|
|
968
|
+
return e.type === X.number;
|
|
964
969
|
}
|
|
965
970
|
function oi(e) {
|
|
966
|
-
return e.type ===
|
|
971
|
+
return e.type === X.date;
|
|
967
972
|
}
|
|
968
973
|
function ai(e) {
|
|
969
|
-
return e.type ===
|
|
970
|
-
}
|
|
971
|
-
function li(e) {
|
|
972
|
-
return e.type === Y.time;
|
|
974
|
+
return e.type === X.time;
|
|
973
975
|
}
|
|
974
976
|
function ui(e) {
|
|
975
|
-
return e.type ===
|
|
977
|
+
return e.type === X.select;
|
|
976
978
|
}
|
|
977
|
-
function
|
|
978
|
-
return e.type ===
|
|
979
|
+
function li(e) {
|
|
980
|
+
return e.type === X.plural;
|
|
979
981
|
}
|
|
980
982
|
function js(e) {
|
|
981
|
-
return e.type ===
|
|
983
|
+
return e.type === X.pound;
|
|
982
984
|
}
|
|
983
|
-
function
|
|
984
|
-
return e.type ===
|
|
985
|
+
function ci(e) {
|
|
986
|
+
return e.type === X.tag;
|
|
985
987
|
}
|
|
986
|
-
function
|
|
988
|
+
function fi(e) {
|
|
987
989
|
return !!(e && typeof e == "object" && e.type === Ze.number);
|
|
988
990
|
}
|
|
989
991
|
function Tn(e) {
|
|
990
992
|
return !!(e && typeof e == "object" && e.type === Ze.dateTime);
|
|
991
993
|
}
|
|
992
|
-
var
|
|
994
|
+
var hi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zs = /(?:[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;
|
|
993
995
|
function Ws(e) {
|
|
994
996
|
var t = {};
|
|
995
997
|
return e.replace(zs, function(n) {
|
|
@@ -1088,11 +1090,11 @@ function Xs(e) {
|
|
|
1088
1090
|
for (var t = e.split(Vs).filter(function(y) {
|
|
1089
1091
|
return y.length > 0;
|
|
1090
1092
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
1091
|
-
var s = i[r],
|
|
1092
|
-
if (
|
|
1093
|
+
var s = i[r], u = s.split("/");
|
|
1094
|
+
if (u.length === 0)
|
|
1093
1095
|
throw new Error("Invalid number skeleton");
|
|
1094
|
-
for (var a =
|
|
1095
|
-
var b = f[
|
|
1096
|
+
for (var a = u[0], c = u.slice(1), l = 0, f = c; l < f.length; l++) {
|
|
1097
|
+
var b = f[l];
|
|
1096
1098
|
if (b.length === 0)
|
|
1097
1099
|
throw new Error("Invalid number skeleton");
|
|
1098
1100
|
}
|
|
@@ -1103,14 +1105,14 @@ function Xs(e) {
|
|
|
1103
1105
|
function Ys(e) {
|
|
1104
1106
|
return e.replace(/^(.*?)-/, "");
|
|
1105
1107
|
}
|
|
1106
|
-
var
|
|
1107
|
-
function
|
|
1108
|
+
var hr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mi = /^(@+)?(\+|#+)?[rs]?$/g, Zs = /(\*)(0+)|(#+)(0+)|(0+)/g, di = /^(0+)$/;
|
|
1109
|
+
function mr(e) {
|
|
1108
1110
|
var t = {};
|
|
1109
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1111
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mi, function(n, r, i) {
|
|
1110
1112
|
return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1111
1113
|
}), t;
|
|
1112
1114
|
}
|
|
1113
|
-
function
|
|
1115
|
+
function pi(e) {
|
|
1114
1116
|
switch (e) {
|
|
1115
1117
|
case "sign-auto":
|
|
1116
1118
|
return {
|
|
@@ -1158,14 +1160,14 @@ function qs(e) {
|
|
|
1158
1160
|
notation: "scientific"
|
|
1159
1161
|
}, e = e.slice(1)), t) {
|
|
1160
1162
|
var n = e.slice(0, 2);
|
|
1161
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1163
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !di.test(e))
|
|
1162
1164
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1163
1165
|
t.minimumIntegerDigits = e.length;
|
|
1164
1166
|
}
|
|
1165
1167
|
return t;
|
|
1166
1168
|
}
|
|
1167
|
-
function
|
|
1168
|
-
var t = {}, n =
|
|
1169
|
+
function dr(e) {
|
|
1170
|
+
var t = {}, n = pi(e);
|
|
1169
1171
|
return n || t;
|
|
1170
1172
|
}
|
|
1171
1173
|
function Js(e) {
|
|
@@ -1203,13 +1205,13 @@ function Js(e) {
|
|
|
1203
1205
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1204
1206
|
continue;
|
|
1205
1207
|
case "scientific":
|
|
1206
|
-
t = k(k(k({}, t), { notation: "scientific" }), i.options.reduce(function(c,
|
|
1207
|
-
return k(k({}, c),
|
|
1208
|
+
t = k(k(k({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
|
|
1209
|
+
return k(k({}, c), dr(l));
|
|
1208
1210
|
}, {}));
|
|
1209
1211
|
continue;
|
|
1210
1212
|
case "engineering":
|
|
1211
|
-
t = k(k(k({}, t), { notation: "engineering" }), i.options.reduce(function(c,
|
|
1212
|
-
return k(k({}, c),
|
|
1213
|
+
t = k(k(k({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
|
|
1214
|
+
return k(k({}, c), dr(l));
|
|
1213
1215
|
}, {}));
|
|
1214
1216
|
continue;
|
|
1215
1217
|
case "notation-simple":
|
|
@@ -1254,39 +1256,39 @@ function Js(e) {
|
|
|
1254
1256
|
case "integer-width":
|
|
1255
1257
|
if (i.options.length > 1)
|
|
1256
1258
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1257
|
-
i.options[0].replace(Zs, function(c,
|
|
1258
|
-
if (
|
|
1259
|
+
i.options[0].replace(Zs, function(c, l, f, b, y, O) {
|
|
1260
|
+
if (l)
|
|
1259
1261
|
t.minimumIntegerDigits = f.length;
|
|
1260
1262
|
else {
|
|
1261
1263
|
if (b && y)
|
|
1262
1264
|
throw new Error("We currently do not support maximum integer digits");
|
|
1263
|
-
if (
|
|
1265
|
+
if (O)
|
|
1264
1266
|
throw new Error("We currently do not support exact integer digits");
|
|
1265
1267
|
}
|
|
1266
1268
|
return "";
|
|
1267
1269
|
});
|
|
1268
1270
|
continue;
|
|
1269
1271
|
}
|
|
1270
|
-
if (
|
|
1272
|
+
if (di.test(i.stem)) {
|
|
1271
1273
|
t.minimumIntegerDigits = i.stem.length;
|
|
1272
1274
|
continue;
|
|
1273
1275
|
}
|
|
1274
|
-
if (
|
|
1276
|
+
if (hr.test(i.stem)) {
|
|
1275
1277
|
if (i.options.length > 1)
|
|
1276
1278
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1277
|
-
i.stem.replace(
|
|
1278
|
-
return f === "*" ? t.minimumFractionDigits =
|
|
1279
|
+
i.stem.replace(hr, function(c, l, f, b, y, O) {
|
|
1280
|
+
return f === "*" ? t.minimumFractionDigits = l.length : b && b[0] === "#" ? t.maximumFractionDigits = b.length : y && O ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + O.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1279
1281
|
});
|
|
1280
1282
|
var s = i.options[0];
|
|
1281
|
-
s === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = k(k({}, t),
|
|
1283
|
+
s === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = k(k({}, t), mr(s)));
|
|
1282
1284
|
continue;
|
|
1283
1285
|
}
|
|
1284
|
-
if (
|
|
1285
|
-
t = k(k({}, t),
|
|
1286
|
+
if (mi.test(i.stem)) {
|
|
1287
|
+
t = k(k({}, t), mr(i.stem));
|
|
1286
1288
|
continue;
|
|
1287
1289
|
}
|
|
1288
|
-
var
|
|
1289
|
-
|
|
1290
|
+
var u = pi(i.stem);
|
|
1291
|
+
u && (t = k(k({}, t), u));
|
|
1290
1292
|
var a = qs(i.stem);
|
|
1291
1293
|
a && (t = k(k({}, t), a));
|
|
1292
1294
|
}
|
|
@@ -2713,11 +2715,11 @@ function Qs(e, t) {
|
|
|
2713
2715
|
if (i === "j") {
|
|
2714
2716
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2715
2717
|
s++, r++;
|
|
2716
|
-
var
|
|
2717
|
-
for ((
|
|
2718
|
+
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), c = "a", l = Ks(t);
|
|
2719
|
+
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2718
2720
|
n += c;
|
|
2719
|
-
for (;
|
|
2720
|
-
n =
|
|
2721
|
+
for (; u-- > 0; )
|
|
2722
|
+
n = l + n;
|
|
2721
2723
|
} else
|
|
2722
2724
|
i === "J" ? n += "H" : n += i;
|
|
2723
2725
|
}
|
|
@@ -2745,20 +2747,20 @@ function Ks(e) {
|
|
|
2745
2747
|
var i = Ot[r || ""] || Ot[n || ""] || Ot["".concat(n, "-001")] || Ot["001"];
|
|
2746
2748
|
return i[0];
|
|
2747
2749
|
}
|
|
2748
|
-
var cn, eo = new RegExp("^".concat(
|
|
2750
|
+
var cn, eo = new RegExp("^".concat(hi.source, "*")), to = new RegExp("".concat(hi.source, "*$"));
|
|
2749
2751
|
function B(e, t) {
|
|
2750
2752
|
return { start: e, end: t };
|
|
2751
2753
|
}
|
|
2752
|
-
var no = !!String.prototype.startsWith && "_a".startsWith("a", 1), ro = !!String.fromCodePoint, io = !!Object.fromEntries, so = !!String.prototype.codePointAt, oo = !!String.prototype.trimStart, ao = !!String.prototype.trimEnd,
|
|
2754
|
+
var no = !!String.prototype.startsWith && "_a".startsWith("a", 1), ro = !!String.fromCodePoint, io = !!Object.fromEntries, so = !!String.prototype.codePointAt, oo = !!String.prototype.trimStart, ao = !!String.prototype.trimEnd, uo = !!Number.isSafeInteger, lo = uo ? Number.isSafeInteger : function(e) {
|
|
2753
2755
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2754
2756
|
}, xn = !0;
|
|
2755
2757
|
try {
|
|
2756
|
-
var co =
|
|
2758
|
+
var co = bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2757
2759
|
xn = ((cn = co.exec("a")) === null || cn === void 0 ? void 0 : cn[0]) === "a";
|
|
2758
2760
|
} catch {
|
|
2759
2761
|
xn = !1;
|
|
2760
2762
|
}
|
|
2761
|
-
var
|
|
2763
|
+
var pr = no ? (
|
|
2762
2764
|
// Native
|
|
2763
2765
|
function(t, n, r) {
|
|
2764
2766
|
return t.startsWith(n, r);
|
|
@@ -2773,26 +2775,26 @@ var gr = no ? (
|
|
|
2773
2775
|
function() {
|
|
2774
2776
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
2775
2777
|
t[n] = arguments[n];
|
|
2776
|
-
for (var r = "", i = t.length, s = 0,
|
|
2777
|
-
if (
|
|
2778
|
-
throw RangeError(
|
|
2779
|
-
r +=
|
|
2778
|
+
for (var r = "", i = t.length, s = 0, u; i > s; ) {
|
|
2779
|
+
if (u = t[s++], u > 1114111)
|
|
2780
|
+
throw RangeError(u + " is not a valid code point");
|
|
2781
|
+
r += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
|
|
2780
2782
|
}
|
|
2781
2783
|
return r;
|
|
2782
2784
|
}
|
|
2783
|
-
),
|
|
2785
|
+
), gr = (
|
|
2784
2786
|
// native
|
|
2785
2787
|
io ? Object.fromEntries : (
|
|
2786
2788
|
// Ponyfill
|
|
2787
2789
|
function(t) {
|
|
2788
2790
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2789
|
-
var s = i[r],
|
|
2790
|
-
n[
|
|
2791
|
+
var s = i[r], u = s[0], a = s[1];
|
|
2792
|
+
n[u] = a;
|
|
2791
2793
|
}
|
|
2792
2794
|
return n;
|
|
2793
2795
|
}
|
|
2794
2796
|
)
|
|
2795
|
-
),
|
|
2797
|
+
), gi = so ? (
|
|
2796
2798
|
// Native
|
|
2797
2799
|
function(t, n) {
|
|
2798
2800
|
return t.codePointAt(n);
|
|
@@ -2827,23 +2829,23 @@ var gr = no ? (
|
|
|
2827
2829
|
return t.replace(to, "");
|
|
2828
2830
|
}
|
|
2829
2831
|
);
|
|
2830
|
-
function
|
|
2832
|
+
function bi(e, t) {
|
|
2831
2833
|
return new RegExp(e, t);
|
|
2832
2834
|
}
|
|
2833
2835
|
var An;
|
|
2834
2836
|
if (xn) {
|
|
2835
|
-
var
|
|
2837
|
+
var br = bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2836
2838
|
An = function(t, n) {
|
|
2837
2839
|
var r;
|
|
2838
|
-
|
|
2839
|
-
var i =
|
|
2840
|
+
br.lastIndex = n;
|
|
2841
|
+
var i = br.exec(t);
|
|
2840
2842
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2841
2843
|
};
|
|
2842
2844
|
} else
|
|
2843
2845
|
An = function(t, n) {
|
|
2844
2846
|
for (var r = []; ; ) {
|
|
2845
|
-
var i =
|
|
2846
|
-
if (i === void 0 ||
|
|
2847
|
+
var i = gi(t, n);
|
|
2848
|
+
if (i === void 0 || Ei(i) || bo(i))
|
|
2847
2849
|
break;
|
|
2848
2850
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2849
2851
|
}
|
|
@@ -2863,17 +2865,17 @@ var mo = (
|
|
|
2863
2865
|
for (var i = []; !this.isEOF(); ) {
|
|
2864
2866
|
var s = this.char();
|
|
2865
2867
|
if (s === 123) {
|
|
2866
|
-
var
|
|
2867
|
-
if (
|
|
2868
|
-
return
|
|
2869
|
-
i.push(
|
|
2868
|
+
var u = this.parseArgument(t, r);
|
|
2869
|
+
if (u.err)
|
|
2870
|
+
return u;
|
|
2871
|
+
i.push(u.val);
|
|
2870
2872
|
} else {
|
|
2871
2873
|
if (s === 125 && t > 0)
|
|
2872
2874
|
break;
|
|
2873
2875
|
if (s === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2874
2876
|
var a = this.clonePosition();
|
|
2875
2877
|
this.bump(), i.push({
|
|
2876
|
-
type:
|
|
2878
|
+
type: X.pound,
|
|
2877
2879
|
location: B(a, this.clonePosition())
|
|
2878
2880
|
});
|
|
2879
2881
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
@@ -2881,15 +2883,15 @@ var mo = (
|
|
|
2881
2883
|
break;
|
|
2882
2884
|
return this.error(D.UNMATCHED_CLOSING_TAG, B(this.clonePosition(), this.clonePosition()));
|
|
2883
2885
|
} else if (s === 60 && !this.ignoreTag && Sn(this.peek() || 0)) {
|
|
2884
|
-
var
|
|
2885
|
-
if (
|
|
2886
|
-
return
|
|
2887
|
-
i.push(
|
|
2886
|
+
var u = this.parseTag(t, n);
|
|
2887
|
+
if (u.err)
|
|
2888
|
+
return u;
|
|
2889
|
+
i.push(u.val);
|
|
2888
2890
|
} else {
|
|
2889
|
-
var
|
|
2890
|
-
if (
|
|
2891
|
-
return
|
|
2892
|
-
i.push(
|
|
2891
|
+
var u = this.parseLiteral(t, n);
|
|
2892
|
+
if (u.err)
|
|
2893
|
+
return u;
|
|
2894
|
+
i.push(u.val);
|
|
2893
2895
|
}
|
|
2894
2896
|
}
|
|
2895
2897
|
}
|
|
@@ -2901,7 +2903,7 @@ var mo = (
|
|
|
2901
2903
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2902
2904
|
return {
|
|
2903
2905
|
val: {
|
|
2904
|
-
type:
|
|
2906
|
+
type: X.literal,
|
|
2905
2907
|
value: "<".concat(i, "/>"),
|
|
2906
2908
|
location: B(r, this.clonePosition())
|
|
2907
2909
|
},
|
|
@@ -2911,16 +2913,16 @@ var mo = (
|
|
|
2911
2913
|
var s = this.parseMessage(t + 1, n, !0);
|
|
2912
2914
|
if (s.err)
|
|
2913
2915
|
return s;
|
|
2914
|
-
var
|
|
2916
|
+
var u = s.val, a = this.clonePosition();
|
|
2915
2917
|
if (this.bumpIf("</")) {
|
|
2916
2918
|
if (this.isEOF() || !Sn(this.char()))
|
|
2917
2919
|
return this.error(D.INVALID_TAG, B(a, this.clonePosition()));
|
|
2918
|
-
var c = this.clonePosition(),
|
|
2919
|
-
return i !==
|
|
2920
|
+
var c = this.clonePosition(), l = this.parseTagName();
|
|
2921
|
+
return i !== l ? this.error(D.UNMATCHED_CLOSING_TAG, B(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2920
2922
|
val: {
|
|
2921
|
-
type:
|
|
2923
|
+
type: X.tag,
|
|
2922
2924
|
value: i,
|
|
2923
|
-
children:
|
|
2925
|
+
children: u,
|
|
2924
2926
|
location: B(r, this.clonePosition())
|
|
2925
2927
|
},
|
|
2926
2928
|
err: null
|
|
@@ -2941,9 +2943,9 @@ var mo = (
|
|
|
2941
2943
|
i += s;
|
|
2942
2944
|
continue;
|
|
2943
2945
|
}
|
|
2944
|
-
var
|
|
2945
|
-
if (
|
|
2946
|
-
i +=
|
|
2946
|
+
var u = this.tryParseUnquoted(t, n);
|
|
2947
|
+
if (u) {
|
|
2948
|
+
i += u;
|
|
2947
2949
|
continue;
|
|
2948
2950
|
}
|
|
2949
2951
|
var a = this.tryParseLeftAngleBracket();
|
|
@@ -2955,7 +2957,7 @@ var mo = (
|
|
|
2955
2957
|
}
|
|
2956
2958
|
var c = B(r, this.clonePosition());
|
|
2957
2959
|
return {
|
|
2958
|
-
val: { type:
|
|
2960
|
+
val: { type: X.literal, value: i, location: c },
|
|
2959
2961
|
err: null
|
|
2960
2962
|
};
|
|
2961
2963
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -3015,7 +3017,7 @@ var mo = (
|
|
|
3015
3017
|
case 125:
|
|
3016
3018
|
return this.bump(), {
|
|
3017
3019
|
val: {
|
|
3018
|
-
type:
|
|
3020
|
+
type: X.argument,
|
|
3019
3021
|
// value does not include the opening and closing braces.
|
|
3020
3022
|
value: i,
|
|
3021
3023
|
location: B(r, this.clonePosition())
|
|
@@ -3030,18 +3032,18 @@ var mo = (
|
|
|
3030
3032
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3031
3033
|
var t = this.clonePosition(), n = this.offset(), r = An(this.message, n), i = n + r.length;
|
|
3032
3034
|
this.bumpTo(i);
|
|
3033
|
-
var s = this.clonePosition(),
|
|
3034
|
-
return { value: r, location:
|
|
3035
|
+
var s = this.clonePosition(), u = B(t, s);
|
|
3036
|
+
return { value: r, location: u };
|
|
3035
3037
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
3036
|
-
var s,
|
|
3038
|
+
var s, u = this.clonePosition(), a = this.parseIdentifierIfPossible().value, c = this.clonePosition();
|
|
3037
3039
|
switch (a) {
|
|
3038
3040
|
case "":
|
|
3039
|
-
return this.error(D.EXPECT_ARGUMENT_TYPE, B(
|
|
3041
|
+
return this.error(D.EXPECT_ARGUMENT_TYPE, B(u, c));
|
|
3040
3042
|
case "number":
|
|
3041
3043
|
case "date":
|
|
3042
3044
|
case "time": {
|
|
3043
3045
|
this.bumpSpace();
|
|
3044
|
-
var
|
|
3046
|
+
var l = null;
|
|
3045
3047
|
if (this.bumpIf(",")) {
|
|
3046
3048
|
this.bumpSpace();
|
|
3047
3049
|
var f = this.clonePosition(), b = this.parseSimpleArgStyleIfPossible();
|
|
@@ -3050,32 +3052,32 @@ var mo = (
|
|
|
3050
3052
|
var y = ho(b.val);
|
|
3051
3053
|
if (y.length === 0)
|
|
3052
3054
|
return this.error(D.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
|
|
3053
|
-
var
|
|
3054
|
-
|
|
3055
|
+
var O = B(f, this.clonePosition());
|
|
3056
|
+
l = { style: y, styleLocation: O };
|
|
3055
3057
|
}
|
|
3056
3058
|
var E = this.tryParseArgumentClose(i);
|
|
3057
3059
|
if (E.err)
|
|
3058
3060
|
return E;
|
|
3059
3061
|
var d = B(i, this.clonePosition());
|
|
3060
|
-
if (
|
|
3061
|
-
var
|
|
3062
|
+
if (l && pr(l?.style, "::", 0)) {
|
|
3063
|
+
var M = fo(l.style.slice(2));
|
|
3062
3064
|
if (a === "number") {
|
|
3063
|
-
var b = this.parseNumberSkeletonFromString(
|
|
3065
|
+
var b = this.parseNumberSkeletonFromString(M, l.styleLocation);
|
|
3064
3066
|
return b.err ? b : {
|
|
3065
|
-
val: { type:
|
|
3067
|
+
val: { type: X.number, value: r, location: d, style: b.val },
|
|
3066
3068
|
err: null
|
|
3067
3069
|
};
|
|
3068
3070
|
} else {
|
|
3069
|
-
if (
|
|
3071
|
+
if (M.length === 0)
|
|
3070
3072
|
return this.error(D.EXPECT_DATE_TIME_SKELETON, d);
|
|
3071
|
-
var $ =
|
|
3072
|
-
this.locale && ($ = Qs(
|
|
3073
|
+
var $ = M;
|
|
3074
|
+
this.locale && ($ = Qs(M, this.locale));
|
|
3073
3075
|
var y = {
|
|
3074
3076
|
type: Ze.dateTime,
|
|
3075
3077
|
pattern: $,
|
|
3076
|
-
location:
|
|
3078
|
+
location: l.styleLocation,
|
|
3077
3079
|
parsedOptions: this.shouldParseSkeletons ? Ws($) : {}
|
|
3078
|
-
}, U = a === "date" ?
|
|
3080
|
+
}, U = a === "date" ? X.date : X.time;
|
|
3079
3081
|
return {
|
|
3080
3082
|
val: { type: U, value: r, location: d, style: y },
|
|
3081
3083
|
err: null
|
|
@@ -3084,10 +3086,10 @@ var mo = (
|
|
|
3084
3086
|
}
|
|
3085
3087
|
return {
|
|
3086
3088
|
val: {
|
|
3087
|
-
type: a === "number" ?
|
|
3089
|
+
type: a === "number" ? X.number : a === "date" ? X.date : X.time,
|
|
3088
3090
|
value: r,
|
|
3089
3091
|
location: d,
|
|
3090
|
-
style: (s =
|
|
3092
|
+
style: (s = l?.style) !== null && s !== void 0 ? s : null
|
|
3091
3093
|
},
|
|
3092
3094
|
err: null
|
|
3093
3095
|
};
|
|
@@ -3095,9 +3097,9 @@ var mo = (
|
|
|
3095
3097
|
case "plural":
|
|
3096
3098
|
case "selectordinal":
|
|
3097
3099
|
case "select": {
|
|
3098
|
-
var
|
|
3100
|
+
var A = this.clonePosition();
|
|
3099
3101
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3100
|
-
return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, B(
|
|
3102
|
+
return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, B(A, k({}, A)));
|
|
3101
3103
|
this.bumpSpace();
|
|
3102
3104
|
var H = this.parseIdentifierIfPossible(), I = 0;
|
|
3103
3105
|
if (a !== "select" && H.value === "offset") {
|
|
@@ -3115,29 +3117,29 @@ var mo = (
|
|
|
3115
3117
|
var E = this.tryParseArgumentClose(i);
|
|
3116
3118
|
if (E.err)
|
|
3117
3119
|
return E;
|
|
3118
|
-
var
|
|
3120
|
+
var Y = B(i, this.clonePosition());
|
|
3119
3121
|
return a === "select" ? {
|
|
3120
3122
|
val: {
|
|
3121
|
-
type:
|
|
3123
|
+
type: X.select,
|
|
3122
3124
|
value: r,
|
|
3123
|
-
options:
|
|
3124
|
-
location:
|
|
3125
|
+
options: gr(F.val),
|
|
3126
|
+
location: Y
|
|
3125
3127
|
},
|
|
3126
3128
|
err: null
|
|
3127
3129
|
} : {
|
|
3128
3130
|
val: {
|
|
3129
|
-
type:
|
|
3131
|
+
type: X.plural,
|
|
3130
3132
|
value: r,
|
|
3131
|
-
options:
|
|
3133
|
+
options: gr(F.val),
|
|
3132
3134
|
offset: I,
|
|
3133
3135
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3134
|
-
location:
|
|
3136
|
+
location: Y
|
|
3135
3137
|
},
|
|
3136
3138
|
err: null
|
|
3137
3139
|
};
|
|
3138
3140
|
}
|
|
3139
3141
|
default:
|
|
3140
|
-
return this.error(D.INVALID_ARGUMENT_TYPE, B(
|
|
3142
|
+
return this.error(D.INVALID_ARGUMENT_TYPE, B(u, c));
|
|
3141
3143
|
}
|
|
3142
3144
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3143
3145
|
return this.isEOF() || this.char() !== 125 ? this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE, B(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3193,50 +3195,50 @@ var mo = (
|
|
|
3193
3195
|
err: null
|
|
3194
3196
|
};
|
|
3195
3197
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3196
|
-
for (var s,
|
|
3197
|
-
if (
|
|
3198
|
+
for (var s, u = !1, a = [], c = /* @__PURE__ */ new Set(), l = i.value, f = i.location; ; ) {
|
|
3199
|
+
if (l.length === 0) {
|
|
3198
3200
|
var b = this.clonePosition();
|
|
3199
3201
|
if (n !== "select" && this.bumpIf("=")) {
|
|
3200
3202
|
var y = this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_SELECTOR, D.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3201
3203
|
if (y.err)
|
|
3202
3204
|
return y;
|
|
3203
|
-
f = B(b, this.clonePosition()),
|
|
3205
|
+
f = B(b, this.clonePosition()), l = this.message.slice(b.offset, this.offset());
|
|
3204
3206
|
} else
|
|
3205
3207
|
break;
|
|
3206
3208
|
}
|
|
3207
|
-
if (c.has(
|
|
3209
|
+
if (c.has(l))
|
|
3208
3210
|
return this.error(n === "select" ? D.DUPLICATE_SELECT_ARGUMENT_SELECTOR : D.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
|
|
3209
|
-
|
|
3210
|
-
var
|
|
3211
|
+
l === "other" && (u = !0), this.bumpSpace();
|
|
3212
|
+
var O = this.clonePosition();
|
|
3211
3213
|
if (!this.bumpIf("{"))
|
|
3212
3214
|
return this.error(n === "select" ? D.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : D.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, B(this.clonePosition(), this.clonePosition()));
|
|
3213
3215
|
var E = this.parseMessage(t + 1, n, r);
|
|
3214
3216
|
if (E.err)
|
|
3215
3217
|
return E;
|
|
3216
|
-
var d = this.tryParseArgumentClose(
|
|
3218
|
+
var d = this.tryParseArgumentClose(O);
|
|
3217
3219
|
if (d.err)
|
|
3218
3220
|
return d;
|
|
3219
3221
|
a.push([
|
|
3220
|
-
|
|
3222
|
+
l,
|
|
3221
3223
|
{
|
|
3222
3224
|
value: E.val,
|
|
3223
|
-
location: B(
|
|
3225
|
+
location: B(O, this.clonePosition())
|
|
3224
3226
|
}
|
|
3225
|
-
]), c.add(
|
|
3227
|
+
]), c.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, f = s.location;
|
|
3226
3228
|
}
|
|
3227
|
-
return a.length === 0 ? this.error(n === "select" ? D.EXPECT_SELECT_ARGUMENT_SELECTOR : D.EXPECT_PLURAL_ARGUMENT_SELECTOR, B(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !
|
|
3229
|
+
return a.length === 0 ? this.error(n === "select" ? D.EXPECT_SELECT_ARGUMENT_SELECTOR : D.EXPECT_PLURAL_ARGUMENT_SELECTOR, B(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(D.MISSING_OTHER_CLAUSE, B(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3228
3230
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3229
3231
|
var r = 1, i = this.clonePosition();
|
|
3230
3232
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3231
|
-
for (var s = !1,
|
|
3233
|
+
for (var s = !1, u = 0; !this.isEOF(); ) {
|
|
3232
3234
|
var a = this.char();
|
|
3233
3235
|
if (a >= 48 && a <= 57)
|
|
3234
|
-
s = !0,
|
|
3236
|
+
s = !0, u = u * 10 + (a - 48), this.bump();
|
|
3235
3237
|
else
|
|
3236
3238
|
break;
|
|
3237
3239
|
}
|
|
3238
3240
|
var c = B(i, this.clonePosition());
|
|
3239
|
-
return s ? (
|
|
3241
|
+
return s ? (u *= r, lo(u) ? { val: u, err: null } : this.error(n, c)) : this.error(t, c);
|
|
3240
3242
|
}, e.prototype.offset = function() {
|
|
3241
3243
|
return this.position.offset;
|
|
3242
3244
|
}, e.prototype.isEOF = function() {
|
|
@@ -3251,7 +3253,7 @@ var mo = (
|
|
|
3251
3253
|
var t = this.position.offset;
|
|
3252
3254
|
if (t >= this.message.length)
|
|
3253
3255
|
throw Error("out of bound");
|
|
3254
|
-
var n =
|
|
3256
|
+
var n = gi(this.message, t);
|
|
3255
3257
|
if (n === void 0)
|
|
3256
3258
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3257
3259
|
return n;
|
|
@@ -3270,7 +3272,7 @@ var mo = (
|
|
|
3270
3272
|
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);
|
|
3271
3273
|
}
|
|
3272
3274
|
}, e.prototype.bumpIf = function(t) {
|
|
3273
|
-
if (
|
|
3275
|
+
if (pr(this.message, t, this.offset())) {
|
|
3274
3276
|
for (var n = 0; n < t.length; n++)
|
|
3275
3277
|
this.bump();
|
|
3276
3278
|
return !0;
|
|
@@ -3292,7 +3294,7 @@ var mo = (
|
|
|
3292
3294
|
break;
|
|
3293
3295
|
}
|
|
3294
3296
|
}, e.prototype.bumpSpace = function() {
|
|
3295
|
-
for (; !this.isEOF() &&
|
|
3297
|
+
for (; !this.isEOF() && Ei(this.char()); )
|
|
3296
3298
|
this.bump();
|
|
3297
3299
|
}, e.prototype.peek = function() {
|
|
3298
3300
|
if (this.isEOF())
|
|
@@ -3311,7 +3313,7 @@ function po(e) {
|
|
|
3311
3313
|
function go(e) {
|
|
3312
3314
|
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;
|
|
3313
3315
|
}
|
|
3314
|
-
function
|
|
3316
|
+
function Ei(e) {
|
|
3315
3317
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3316
3318
|
}
|
|
3317
3319
|
function bo(e) {
|
|
@@ -3319,11 +3321,11 @@ function bo(e) {
|
|
|
3319
3321
|
}
|
|
3320
3322
|
function wn(e) {
|
|
3321
3323
|
e.forEach(function(t) {
|
|
3322
|
-
if (delete t.location, ui(t) ||
|
|
3324
|
+
if (delete t.location, ui(t) || li(t))
|
|
3323
3325
|
for (var n in t.options)
|
|
3324
3326
|
delete t.options[n].location, wn(t.options[n].value);
|
|
3325
3327
|
else
|
|
3326
|
-
|
|
3328
|
+
si(t) && fi(t.style) || (oi(t) || ai(t)) && Tn(t.style) ? delete t.style.location : ci(t) && wn(t.children);
|
|
3327
3329
|
});
|
|
3328
3330
|
}
|
|
3329
3331
|
function Eo(e, t) {
|
|
@@ -3351,7 +3353,7 @@ var Zt = (
|
|
|
3351
3353
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3352
3354
|
}, t;
|
|
3353
3355
|
}(Error)
|
|
3354
|
-
),
|
|
3356
|
+
), Er = (
|
|
3355
3357
|
/** @class */
|
|
3356
3358
|
function(e) {
|
|
3357
3359
|
Yt(t, e);
|
|
@@ -3391,17 +3393,17 @@ function To(e) {
|
|
|
3391
3393
|
function xo(e) {
|
|
3392
3394
|
return typeof e == "function";
|
|
3393
3395
|
}
|
|
3394
|
-
function Dt(e, t, n, r, i, s,
|
|
3395
|
-
if (e.length === 1 &&
|
|
3396
|
+
function Dt(e, t, n, r, i, s, u) {
|
|
3397
|
+
if (e.length === 1 && fr(e[0]))
|
|
3396
3398
|
return [
|
|
3397
3399
|
{
|
|
3398
3400
|
type: ce.literal,
|
|
3399
3401
|
value: e[0].value
|
|
3400
3402
|
}
|
|
3401
3403
|
];
|
|
3402
|
-
for (var a = [], c = 0,
|
|
3403
|
-
var f =
|
|
3404
|
-
if (
|
|
3404
|
+
for (var a = [], c = 0, l = e; c < l.length; c++) {
|
|
3405
|
+
var f = l[c];
|
|
3406
|
+
if (fr(f)) {
|
|
3405
3407
|
a.push({
|
|
3406
3408
|
type: ce.literal,
|
|
3407
3409
|
value: f.value
|
|
@@ -3417,7 +3419,7 @@ function Dt(e, t, n, r, i, s, l) {
|
|
|
3417
3419
|
}
|
|
3418
3420
|
var b = f.value;
|
|
3419
3421
|
if (!(i && b in i))
|
|
3420
|
-
throw new yo(b,
|
|
3422
|
+
throw new yo(b, u);
|
|
3421
3423
|
var y = i[b];
|
|
3422
3424
|
if ($s(f)) {
|
|
3423
3425
|
(!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), a.push({
|
|
@@ -3426,35 +3428,35 @@ function Dt(e, t, n, r, i, s, l) {
|
|
|
3426
3428
|
});
|
|
3427
3429
|
continue;
|
|
3428
3430
|
}
|
|
3429
|
-
if (
|
|
3430
|
-
var
|
|
3431
|
+
if (oi(f)) {
|
|
3432
|
+
var O = typeof f.style == "string" ? r.date[f.style] : Tn(f.style) ? f.style.parsedOptions : void 0;
|
|
3431
3433
|
a.push({
|
|
3432
3434
|
type: ce.literal,
|
|
3433
|
-
value: n.getDateTimeFormat(t,
|
|
3435
|
+
value: n.getDateTimeFormat(t, O).format(y)
|
|
3434
3436
|
});
|
|
3435
3437
|
continue;
|
|
3436
3438
|
}
|
|
3437
|
-
if (
|
|
3438
|
-
var
|
|
3439
|
+
if (ai(f)) {
|
|
3440
|
+
var O = typeof f.style == "string" ? r.time[f.style] : Tn(f.style) ? f.style.parsedOptions : r.time.medium;
|
|
3439
3441
|
a.push({
|
|
3440
3442
|
type: ce.literal,
|
|
3441
|
-
value: n.getDateTimeFormat(t,
|
|
3443
|
+
value: n.getDateTimeFormat(t, O).format(y)
|
|
3442
3444
|
});
|
|
3443
3445
|
continue;
|
|
3444
3446
|
}
|
|
3445
|
-
if (
|
|
3446
|
-
var
|
|
3447
|
-
|
|
3447
|
+
if (si(f)) {
|
|
3448
|
+
var O = typeof f.style == "string" ? r.number[f.style] : fi(f.style) ? f.style.parsedOptions : void 0;
|
|
3449
|
+
O && O.scale && (y = y * (O.scale || 1)), a.push({
|
|
3448
3450
|
type: ce.literal,
|
|
3449
|
-
value: n.getNumberFormat(t,
|
|
3451
|
+
value: n.getNumberFormat(t, O).format(y)
|
|
3450
3452
|
});
|
|
3451
3453
|
continue;
|
|
3452
3454
|
}
|
|
3453
|
-
if (
|
|
3454
|
-
var E = f.children, d = f.value,
|
|
3455
|
-
if (!xo(
|
|
3456
|
-
throw new _o(d, "function",
|
|
3457
|
-
var $ = Dt(E, t, n, r, i, s), U =
|
|
3455
|
+
if (ci(f)) {
|
|
3456
|
+
var E = f.children, d = f.value, M = i[d];
|
|
3457
|
+
if (!xo(M))
|
|
3458
|
+
throw new _o(d, "function", u);
|
|
3459
|
+
var $ = Dt(E, t, n, r, i, s), U = M($.map(function(I) {
|
|
3458
3460
|
return I.value;
|
|
3459
3461
|
}));
|
|
3460
3462
|
Array.isArray(U) || (U = [U]), a.push.apply(a, U.map(function(I) {
|
|
@@ -3465,25 +3467,25 @@ function Dt(e, t, n, r, i, s, l) {
|
|
|
3465
3467
|
}));
|
|
3466
3468
|
}
|
|
3467
3469
|
if (ui(f)) {
|
|
3468
|
-
var
|
|
3469
|
-
if (!
|
|
3470
|
-
throw new
|
|
3471
|
-
a.push.apply(a, Dt(
|
|
3470
|
+
var A = f.options[y] || f.options.other;
|
|
3471
|
+
if (!A)
|
|
3472
|
+
throw new Er(f.value, y, Object.keys(f.options), u);
|
|
3473
|
+
a.push.apply(a, Dt(A.value, t, n, r, i));
|
|
3472
3474
|
continue;
|
|
3473
3475
|
}
|
|
3474
|
-
if (
|
|
3475
|
-
var
|
|
3476
|
-
if (!
|
|
3476
|
+
if (li(f)) {
|
|
3477
|
+
var A = f.options["=".concat(y)];
|
|
3478
|
+
if (!A) {
|
|
3477
3479
|
if (!Intl.PluralRules)
|
|
3478
3480
|
throw new Zt(`Intl.PluralRules is not available in this environment.
|
|
3479
3481
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3480
|
-
`, qe.MISSING_INTL_API,
|
|
3482
|
+
`, qe.MISSING_INTL_API, u);
|
|
3481
3483
|
var H = n.getPluralRules(t, { type: f.pluralType }).select(y - (f.offset || 0));
|
|
3482
|
-
|
|
3484
|
+
A = f.options[H] || f.options.other;
|
|
3483
3485
|
}
|
|
3484
|
-
if (!
|
|
3485
|
-
throw new
|
|
3486
|
-
a.push.apply(a, Dt(
|
|
3486
|
+
if (!A)
|
|
3487
|
+
throw new Er(f.value, y, Object.keys(f.options), u);
|
|
3488
|
+
a.push.apply(a, Dt(A.value, t, n, r, i, y - (f.offset || 0)));
|
|
3487
3489
|
continue;
|
|
3488
3490
|
}
|
|
3489
3491
|
}
|
|
@@ -3519,33 +3521,33 @@ function So(e) {
|
|
|
3519
3521
|
dateTime: {},
|
|
3520
3522
|
pluralRules: {}
|
|
3521
3523
|
}), {
|
|
3522
|
-
getNumberFormat:
|
|
3524
|
+
getNumberFormat: un(function() {
|
|
3523
3525
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3524
3526
|
n[r] = arguments[r];
|
|
3525
3527
|
return new ((t = Intl.NumberFormat).bind.apply(t, an([void 0], n, !1)))();
|
|
3526
3528
|
}, {
|
|
3527
3529
|
cache: fn(e.number),
|
|
3528
|
-
strategy:
|
|
3530
|
+
strategy: ln.variadic
|
|
3529
3531
|
}),
|
|
3530
|
-
getDateTimeFormat:
|
|
3532
|
+
getDateTimeFormat: un(function() {
|
|
3531
3533
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3532
3534
|
n[r] = arguments[r];
|
|
3533
3535
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, an([void 0], n, !1)))();
|
|
3534
3536
|
}, {
|
|
3535
3537
|
cache: fn(e.dateTime),
|
|
3536
|
-
strategy:
|
|
3538
|
+
strategy: ln.variadic
|
|
3537
3539
|
}),
|
|
3538
|
-
getPluralRules:
|
|
3540
|
+
getPluralRules: un(function() {
|
|
3539
3541
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3540
3542
|
n[r] = arguments[r];
|
|
3541
3543
|
return new ((t = Intl.PluralRules).bind.apply(t, an([void 0], n, !1)))();
|
|
3542
3544
|
}, {
|
|
3543
3545
|
cache: fn(e.pluralRules),
|
|
3544
|
-
strategy:
|
|
3546
|
+
strategy: ln.variadic
|
|
3545
3547
|
})
|
|
3546
3548
|
};
|
|
3547
3549
|
}
|
|
3548
|
-
var
|
|
3550
|
+
var _i = (
|
|
3549
3551
|
/** @class */
|
|
3550
3552
|
function() {
|
|
3551
3553
|
function e(t, n, r, i) {
|
|
@@ -3556,10 +3558,10 @@ var yi = (
|
|
|
3556
3558
|
dateTime: {},
|
|
3557
3559
|
pluralRules: {}
|
|
3558
3560
|
}, this.format = function(c) {
|
|
3559
|
-
var
|
|
3560
|
-
if (
|
|
3561
|
-
return
|
|
3562
|
-
var f =
|
|
3561
|
+
var l = s.formatToParts(c);
|
|
3562
|
+
if (l.length === 1)
|
|
3563
|
+
return l[0].value;
|
|
3564
|
+
var f = l.reduce(function(b, y) {
|
|
3563
3565
|
return !b.length || y.type !== ce.literal || typeof b[b.length - 1] != "string" ? b.push(y.value) : b[b.length - 1] += y.value, b;
|
|
3564
3566
|
}, []);
|
|
3565
3567
|
return f.length <= 1 ? f[0] || "" : f;
|
|
@@ -3575,9 +3577,9 @@ var yi = (
|
|
|
3575
3577
|
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
3576
3578
|
if (this.message = t, !e.__parse)
|
|
3577
3579
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3578
|
-
var
|
|
3579
|
-
|
|
3580
|
-
var a =
|
|
3580
|
+
var u = i || {};
|
|
3581
|
+
u.formatters;
|
|
3582
|
+
var a = Ps(u, ["formatters"]);
|
|
3581
3583
|
this.ast = e.__parse(t, k(k({}, a), { locale: this.resolvedLocale }));
|
|
3582
3584
|
} else
|
|
3583
3585
|
this.ast = t;
|
|
@@ -3678,7 +3680,7 @@ function wo(e, t) {
|
|
|
3678
3680
|
r = void 0;
|
|
3679
3681
|
return r;
|
|
3680
3682
|
}
|
|
3681
|
-
const Le = {}, Oo = (e, t, n) => n && (t in Le || (Le[t] = {}), e in Le[t] || (Le[t][e] = n), n),
|
|
3683
|
+
const Le = {}, Oo = (e, t, n) => n && (t in Le || (Le[t] = {}), e in Le[t] || (Le[t][e] = n), n), yi = (e, t) => {
|
|
3682
3684
|
if (t == null)
|
|
3683
3685
|
return;
|
|
3684
3686
|
if (t in Le && e in Le[t])
|
|
@@ -3690,16 +3692,16 @@ const Le = {}, Oo = (e, t, n) => n && (t in Le || (Le[t] = {}), e in Le[t] || (L
|
|
|
3690
3692
|
return Oo(e, t, s);
|
|
3691
3693
|
}
|
|
3692
3694
|
};
|
|
3693
|
-
let
|
|
3695
|
+
let Pn;
|
|
3694
3696
|
const Et = bt({});
|
|
3695
3697
|
function Mo(e) {
|
|
3696
|
-
return
|
|
3698
|
+
return Pn[e] || null;
|
|
3697
3699
|
}
|
|
3698
|
-
function
|
|
3699
|
-
return e in
|
|
3700
|
+
function Ti(e) {
|
|
3701
|
+
return e in Pn;
|
|
3700
3702
|
}
|
|
3701
3703
|
function Co(e, t) {
|
|
3702
|
-
if (!
|
|
3704
|
+
if (!Ti(e))
|
|
3703
3705
|
return null;
|
|
3704
3706
|
const n = Mo(e);
|
|
3705
3707
|
return wo(n, t);
|
|
@@ -3710,28 +3712,28 @@ function No(e) {
|
|
|
3710
3712
|
const t = _t(e);
|
|
3711
3713
|
for (let n = 0; n < t.length; n++) {
|
|
3712
3714
|
const r = t[n];
|
|
3713
|
-
if (
|
|
3715
|
+
if (Ti(r))
|
|
3714
3716
|
return r;
|
|
3715
3717
|
}
|
|
3716
3718
|
}
|
|
3717
|
-
function
|
|
3718
|
-
delete Le[e], Et.update((n) => (n[e] =
|
|
3719
|
+
function xi(e, ...t) {
|
|
3720
|
+
delete Le[e], Et.update((n) => (n[e] = Rs.all([n[e] || {}, ...t]), n));
|
|
3719
3721
|
}
|
|
3720
3722
|
Ke(
|
|
3721
3723
|
[Et],
|
|
3722
3724
|
([e]) => Object.keys(e)
|
|
3723
3725
|
);
|
|
3724
|
-
Et.subscribe((e) =>
|
|
3726
|
+
Et.subscribe((e) => Pn = e);
|
|
3725
3727
|
const Bt = {};
|
|
3726
3728
|
function Lo(e, t) {
|
|
3727
3729
|
Bt[e].delete(t), Bt[e].size === 0 && delete Bt[e];
|
|
3728
3730
|
}
|
|
3729
|
-
function
|
|
3731
|
+
function vi(e) {
|
|
3730
3732
|
return Bt[e];
|
|
3731
3733
|
}
|
|
3732
3734
|
function Ho(e) {
|
|
3733
3735
|
return _t(e).map((t) => {
|
|
3734
|
-
const n =
|
|
3736
|
+
const n = vi(t);
|
|
3735
3737
|
return [t, n ? [...n] : []];
|
|
3736
3738
|
}).filter(([, t]) => t.length > 0);
|
|
3737
3739
|
}
|
|
@@ -3739,17 +3741,17 @@ function jt(e) {
|
|
|
3739
3741
|
return e == null ? !1 : _t(e).some(
|
|
3740
3742
|
(t) => {
|
|
3741
3743
|
var n;
|
|
3742
|
-
return (n =
|
|
3744
|
+
return (n = vi(t)) == null ? void 0 : n.size;
|
|
3743
3745
|
}
|
|
3744
3746
|
);
|
|
3745
3747
|
}
|
|
3746
3748
|
function Ro(e, t) {
|
|
3747
3749
|
return Promise.all(
|
|
3748
3750
|
t.map((r) => (Lo(e, r), r().then((i) => i.default || i)))
|
|
3749
|
-
).then((r) =>
|
|
3751
|
+
).then((r) => xi(e, ...r));
|
|
3750
3752
|
}
|
|
3751
3753
|
const st = {};
|
|
3752
|
-
function
|
|
3754
|
+
function Ai(e) {
|
|
3753
3755
|
if (!jt(e))
|
|
3754
3756
|
return e in st ? st[e] : Promise.resolve();
|
|
3755
3757
|
const t = Ho(e);
|
|
@@ -3759,16 +3761,16 @@ function Si(e) {
|
|
|
3759
3761
|
)
|
|
3760
3762
|
).then(() => {
|
|
3761
3763
|
if (jt(e))
|
|
3762
|
-
return
|
|
3764
|
+
return Ai(e);
|
|
3763
3765
|
delete st[e];
|
|
3764
3766
|
}), st[e];
|
|
3765
3767
|
}
|
|
3766
|
-
var
|
|
3768
|
+
var _r = Object.getOwnPropertySymbols, Po = Object.prototype.hasOwnProperty, Io = Object.prototype.propertyIsEnumerable, Do = (e, t) => {
|
|
3767
3769
|
var n = {};
|
|
3768
3770
|
for (var r in e)
|
|
3769
3771
|
Po.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3770
|
-
if (e != null &&
|
|
3771
|
-
for (var r of
|
|
3772
|
+
if (e != null && _r)
|
|
3773
|
+
for (var r of _r(e))
|
|
3772
3774
|
t.indexOf(r) < 0 && Io.call(e, r) && (n[r] = e[r]);
|
|
3773
3775
|
return n;
|
|
3774
3776
|
};
|
|
@@ -3827,7 +3829,7 @@ function Fo(e) {
|
|
|
3827
3829
|
let i = e.fallbackLocale;
|
|
3828
3830
|
if (e.initialLocale)
|
|
3829
3831
|
try {
|
|
3830
|
-
|
|
3832
|
+
_i.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3831
3833
|
} catch {
|
|
3832
3834
|
console.warn(
|
|
3833
3835
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
@@ -3838,22 +3840,22 @@ function Fo(e) {
|
|
|
3838
3840
|
)), Object.assign(ht, r, { initialLocale: i }), n && ("number" in n && Object.assign(ht.formats.number, n.number), "date" in n && Object.assign(ht.formats.date, n.date), "time" in n && Object.assign(ht.formats.time, n.time)), De.set(i);
|
|
3839
3841
|
}
|
|
3840
3842
|
const hn = bt(!1);
|
|
3841
|
-
var Go = Object.defineProperty, $o = Object.defineProperties, jo = Object.getOwnPropertyDescriptors,
|
|
3842
|
-
for (var n in t
|
|
3843
|
-
zo.call(t, n) &&
|
|
3844
|
-
if (
|
|
3845
|
-
for (var n of
|
|
3846
|
-
Wo.call(t, n) &&
|
|
3843
|
+
var Go = Object.defineProperty, $o = Object.defineProperties, jo = Object.getOwnPropertyDescriptors, yr = Object.getOwnPropertySymbols, zo = Object.prototype.hasOwnProperty, Wo = Object.prototype.propertyIsEnumerable, Tr = (e, t, n) => t in e ? Go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Vo = (e, t) => {
|
|
3844
|
+
for (var n in t)
|
|
3845
|
+
zo.call(t, n) && Tr(e, n, t[n]);
|
|
3846
|
+
if (yr)
|
|
3847
|
+
for (var n of yr(t))
|
|
3848
|
+
Wo.call(t, n) && Tr(e, n, t[n]);
|
|
3847
3849
|
return e;
|
|
3848
3850
|
}, Xo = (e, t) => $o(e, jo(t));
|
|
3849
3851
|
let On;
|
|
3850
3852
|
const zt = bt(null);
|
|
3851
|
-
function
|
|
3853
|
+
function xr(e) {
|
|
3852
3854
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3853
3855
|
}
|
|
3854
3856
|
function _t(e, t = Je().fallbackLocale) {
|
|
3855
|
-
const n =
|
|
3856
|
-
return t ? [.../* @__PURE__ */ new Set([...n, ...
|
|
3857
|
+
const n = xr(e);
|
|
3858
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...xr(t)])] : n;
|
|
3857
3859
|
}
|
|
3858
3860
|
function Re() {
|
|
3859
3861
|
return On ?? void 0;
|
|
@@ -3868,7 +3870,7 @@ const Yo = (e) => {
|
|
|
3868
3870
|
return typeof window < "u" && Re() != null && t ? n = window.setTimeout(
|
|
3869
3871
|
() => hn.set(!0),
|
|
3870
3872
|
t
|
|
3871
|
-
) : hn.set(!0),
|
|
3873
|
+
) : hn.set(!0), Ai(e).then(() => {
|
|
3872
3874
|
zt.set(e);
|
|
3873
3875
|
}).finally(() => {
|
|
3874
3876
|
clearTimeout(n), hn.set(!1);
|
|
@@ -3884,20 +3886,20 @@ const Yo = (e) => {
|
|
|
3884
3886
|
return i in t ? t[i] : t[i] = e(r);
|
|
3885
3887
|
};
|
|
3886
3888
|
};
|
|
3887
|
-
var Zo = Object.defineProperty, Wt = Object.getOwnPropertySymbols,
|
|
3889
|
+
var Zo = Object.defineProperty, Wt = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, wi = Object.prototype.propertyIsEnumerable, vr = (e, t, n) => t in e ? Zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, In = (e, t) => {
|
|
3888
3890
|
for (var n in t || (t = {}))
|
|
3889
|
-
|
|
3891
|
+
Si.call(t, n) && vr(e, n, t[n]);
|
|
3890
3892
|
if (Wt)
|
|
3891
3893
|
for (var n of Wt(t))
|
|
3892
|
-
|
|
3894
|
+
wi.call(t, n) && vr(e, n, t[n]);
|
|
3893
3895
|
return e;
|
|
3894
3896
|
}, et = (e, t) => {
|
|
3895
3897
|
var n = {};
|
|
3896
3898
|
for (var r in e)
|
|
3897
|
-
|
|
3899
|
+
Si.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3898
3900
|
if (e != null && Wt)
|
|
3899
3901
|
for (var r of Wt(e))
|
|
3900
|
-
t.indexOf(r) < 0 &&
|
|
3902
|
+
t.indexOf(r) < 0 && wi.call(e, r) && (n[r] = e[r]);
|
|
3901
3903
|
return n;
|
|
3902
3904
|
};
|
|
3903
3905
|
const gt = (e, t) => {
|
|
@@ -3934,42 +3936,42 @@ const gt = (e, t) => {
|
|
|
3934
3936
|
} = t, r = et(t, [
|
|
3935
3937
|
"locale"
|
|
3936
3938
|
]);
|
|
3937
|
-
return qo(
|
|
3939
|
+
return qo(In({ locale: n }, r));
|
|
3938
3940
|
}, ea = (e = {}) => {
|
|
3939
3941
|
var t = e, {
|
|
3940
3942
|
locale: n = Re()
|
|
3941
3943
|
} = t, r = et(t, [
|
|
3942
3944
|
"locale"
|
|
3943
3945
|
]);
|
|
3944
|
-
return Jo(
|
|
3946
|
+
return Jo(In({ locale: n }, r));
|
|
3945
3947
|
}, ta = (e = {}) => {
|
|
3946
3948
|
var t = e, {
|
|
3947
3949
|
locale: n = Re()
|
|
3948
3950
|
} = t, r = et(t, [
|
|
3949
3951
|
"locale"
|
|
3950
3952
|
]);
|
|
3951
|
-
return Qo(
|
|
3953
|
+
return Qo(In({ locale: n }, r));
|
|
3952
3954
|
}, na = qt(
|
|
3953
3955
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3954
|
-
(e, t = Re()) => new
|
|
3956
|
+
(e, t = Re()) => new _i(e, t, Je().formats, {
|
|
3955
3957
|
ignoreTag: Je().ignoreTag
|
|
3956
3958
|
})
|
|
3957
3959
|
), ra = (e, t = {}) => {
|
|
3958
3960
|
var n, r, i, s;
|
|
3959
|
-
let
|
|
3960
|
-
typeof e == "object" && (
|
|
3961
|
+
let u = t;
|
|
3962
|
+
typeof e == "object" && (u = e, e = u.id);
|
|
3961
3963
|
const {
|
|
3962
3964
|
values: a,
|
|
3963
3965
|
locale: c = Re(),
|
|
3964
|
-
default:
|
|
3965
|
-
} =
|
|
3966
|
+
default: l
|
|
3967
|
+
} = u;
|
|
3966
3968
|
if (c == null)
|
|
3967
3969
|
throw new Error(
|
|
3968
3970
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3969
3971
|
);
|
|
3970
|
-
let f =
|
|
3972
|
+
let f = yi(e, c);
|
|
3971
3973
|
if (!f)
|
|
3972
|
-
f = (s = (i = (r = (n = Je()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue:
|
|
3974
|
+
f = (s = (i = (r = (n = Je()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
|
|
3973
3975
|
else if (typeof f != "string")
|
|
3974
3976
|
return console.warn(
|
|
3975
3977
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3986,20 +3988,20 @@ const gt = (e, t) => {
|
|
|
3986
3988
|
);
|
|
3987
3989
|
}
|
|
3988
3990
|
return b;
|
|
3989
|
-
}, ia = (e, t) => ta(t).format(e), sa = (e, t) => ea(t).format(e), oa = (e, t) => Ko(t).format(e), aa = (e, t = Re()) =>
|
|
3991
|
+
}, ia = (e, t) => ta(t).format(e), sa = (e, t) => ea(t).format(e), oa = (e, t) => Ko(t).format(e), aa = (e, t = Re()) => yi(e, t), ua = Ke([De, Et], () => ra);
|
|
3990
3992
|
Ke([De], () => ia);
|
|
3991
3993
|
Ke([De], () => sa);
|
|
3992
3994
|
Ke([De], () => oa);
|
|
3993
3995
|
Ke([De, Et], () => aa);
|
|
3994
|
-
function
|
|
3995
|
-
|
|
3996
|
+
function Ar(e, t) {
|
|
3997
|
+
xi(e, t);
|
|
3996
3998
|
}
|
|
3997
|
-
function
|
|
3999
|
+
function la(e) {
|
|
3998
4000
|
Fo({
|
|
3999
4001
|
fallbackLocale: "en"
|
|
4000
4002
|
}), De.set(e);
|
|
4001
4003
|
}
|
|
4002
|
-
const
|
|
4004
|
+
const Sr = {
|
|
4003
4005
|
en: {
|
|
4004
4006
|
sessionExpirationHeader: "Session Warning",
|
|
4005
4007
|
sessionExpirationTitle: "Your session is about to expire!",
|
|
@@ -4024,8 +4026,8 @@ const wr = {
|
|
|
4024
4026
|
};
|
|
4025
4027
|
/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
|
|
4026
4028
|
const {
|
|
4027
|
-
entries:
|
|
4028
|
-
setPrototypeOf:
|
|
4029
|
+
entries: Oi,
|
|
4030
|
+
setPrototypeOf: wr,
|
|
4029
4031
|
isFrozen: ca,
|
|
4030
4032
|
getPrototypeOf: fa,
|
|
4031
4033
|
getOwnPropertyDescriptor: ha
|
|
@@ -4033,7 +4035,7 @@ const {
|
|
|
4033
4035
|
let {
|
|
4034
4036
|
freeze: fe,
|
|
4035
4037
|
seal: Ee,
|
|
4036
|
-
create:
|
|
4038
|
+
create: Mi
|
|
4037
4039
|
} = Object, {
|
|
4038
4040
|
apply: Mn,
|
|
4039
4041
|
construct: Cn
|
|
@@ -4050,7 +4052,7 @@ Mn || (Mn = function(t, n, r) {
|
|
|
4050
4052
|
Cn || (Cn = function(t, n) {
|
|
4051
4053
|
return new t(...n);
|
|
4052
4054
|
});
|
|
4053
|
-
const Mt = pe(Array.prototype.forEach),
|
|
4055
|
+
const Mt = pe(Array.prototype.forEach), Or = pe(Array.prototype.pop), ot = pe(Array.prototype.push), Ut = pe(String.prototype.toLowerCase), mn = pe(String.prototype.toString), Mr = pe(String.prototype.match), at = pe(String.prototype.replace), ma = pe(String.prototype.indexOf), da = pe(String.prototype.trim), Te = pe(Object.prototype.hasOwnProperty), ue = pe(RegExp.prototype.test), ut = pa(TypeError);
|
|
4054
4056
|
function pe(e) {
|
|
4055
4057
|
return function(t) {
|
|
4056
4058
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
@@ -4067,7 +4069,7 @@ function pa(e) {
|
|
|
4067
4069
|
}
|
|
4068
4070
|
function P(e, t) {
|
|
4069
4071
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ut;
|
|
4070
|
-
|
|
4072
|
+
wr && wr(e, null);
|
|
4071
4073
|
let r = t.length;
|
|
4072
4074
|
for (; r--; ) {
|
|
4073
4075
|
let i = t[r];
|
|
@@ -4085,12 +4087,12 @@ function ga(e) {
|
|
|
4085
4087
|
return e;
|
|
4086
4088
|
}
|
|
4087
4089
|
function Ie(e) {
|
|
4088
|
-
const t =
|
|
4089
|
-
for (const [n, r] of
|
|
4090
|
+
const t = Mi(null);
|
|
4091
|
+
for (const [n, r] of Oi(e))
|
|
4090
4092
|
Te(e, n) && (Array.isArray(r) ? t[n] = ga(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = Ie(r) : t[n] = r);
|
|
4091
4093
|
return t;
|
|
4092
4094
|
}
|
|
4093
|
-
function
|
|
4095
|
+
function lt(e, t) {
|
|
4094
4096
|
for (; e !== null; ) {
|
|
4095
4097
|
const r = ha(e, t);
|
|
4096
4098
|
if (r) {
|
|
@@ -4106,24 +4108,24 @@ function ut(e, t) {
|
|
|
4106
4108
|
}
|
|
4107
4109
|
return n;
|
|
4108
4110
|
}
|
|
4109
|
-
const
|
|
4111
|
+
const Cr = fe(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), dn = fe(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), pn = fe(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), ba = fe(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), gn = fe(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Ea = fe(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Nr = fe(["#text"]), Lr = fe(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), bn = fe(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Hr = fe(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Ct = fe(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), _a = Ee(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ya = Ee(/<%[\w\W]*|[\w\W]*%>/gm), Ta = Ee(/\${[\w\W]*}/gm), xa = Ee(/^data-[\-\w.\u00B7-\uFFFF]/), va = Ee(/^aria-[\-\w]+$/), Ci = Ee(
|
|
4110
4112
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
4111
4113
|
// eslint-disable-line no-useless-escape
|
|
4112
4114
|
), Aa = Ee(/^(?:\w+script|data):/i), Sa = Ee(
|
|
4113
4115
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
4114
4116
|
// eslint-disable-line no-control-regex
|
|
4115
|
-
),
|
|
4116
|
-
var
|
|
4117
|
+
), Ni = Ee(/^html$/i), wa = Ee(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
4118
|
+
var Rr = /* @__PURE__ */ Object.freeze({
|
|
4117
4119
|
__proto__: null,
|
|
4118
4120
|
MUSTACHE_EXPR: _a,
|
|
4119
4121
|
ERB_EXPR: ya,
|
|
4120
4122
|
TMPLIT_EXPR: Ta,
|
|
4121
4123
|
DATA_ATTR: xa,
|
|
4122
4124
|
ARIA_ATTR: va,
|
|
4123
|
-
IS_ALLOWED_URI:
|
|
4125
|
+
IS_ALLOWED_URI: Ci,
|
|
4124
4126
|
IS_SCRIPT_OR_DATA: Aa,
|
|
4125
4127
|
ATTR_WHITESPACE: Sa,
|
|
4126
|
-
DOCTYPE_NAME:
|
|
4128
|
+
DOCTYPE_NAME: Ni,
|
|
4127
4129
|
CUSTOM_ELEMENT: wa
|
|
4128
4130
|
});
|
|
4129
4131
|
const ct = {
|
|
@@ -4153,20 +4155,20 @@ const ct = {
|
|
|
4153
4155
|
const s = "dompurify" + (r ? "#" + r : "");
|
|
4154
4156
|
try {
|
|
4155
4157
|
return t.createPolicy(s, {
|
|
4156
|
-
createHTML(
|
|
4157
|
-
return
|
|
4158
|
+
createHTML(u) {
|
|
4159
|
+
return u;
|
|
4158
4160
|
},
|
|
4159
|
-
createScriptURL(
|
|
4160
|
-
return
|
|
4161
|
+
createScriptURL(u) {
|
|
4162
|
+
return u;
|
|
4161
4163
|
}
|
|
4162
4164
|
});
|
|
4163
4165
|
} catch {
|
|
4164
4166
|
return console.warn("TrustedTypes policy " + s + " could not be created."), null;
|
|
4165
4167
|
}
|
|
4166
4168
|
};
|
|
4167
|
-
function
|
|
4169
|
+
function Li() {
|
|
4168
4170
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Oa();
|
|
4169
|
-
const t = (w) =>
|
|
4171
|
+
const t = (w) => Li(w);
|
|
4170
4172
|
if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !== ct.document)
|
|
4171
4173
|
return t.isSupported = !1, t;
|
|
4172
4174
|
let {
|
|
@@ -4174,47 +4176,47 @@ function Hi() {
|
|
|
4174
4176
|
} = e;
|
|
4175
4177
|
const r = n, i = r.currentScript, {
|
|
4176
4178
|
DocumentFragment: s,
|
|
4177
|
-
HTMLTemplateElement:
|
|
4179
|
+
HTMLTemplateElement: u,
|
|
4178
4180
|
Node: a,
|
|
4179
4181
|
Element: c,
|
|
4180
|
-
NodeFilter:
|
|
4182
|
+
NodeFilter: l,
|
|
4181
4183
|
NamedNodeMap: f = e.NamedNodeMap || e.MozNamedAttrMap,
|
|
4182
4184
|
HTMLFormElement: b,
|
|
4183
4185
|
DOMParser: y,
|
|
4184
|
-
trustedTypes:
|
|
4185
|
-
} = e, E = c.prototype, d =
|
|
4186
|
-
if (typeof
|
|
4186
|
+
trustedTypes: O
|
|
4187
|
+
} = e, E = c.prototype, d = lt(E, "cloneNode"), M = lt(E, "remove"), $ = lt(E, "nextSibling"), U = lt(E, "childNodes"), A = lt(E, "parentNode");
|
|
4188
|
+
if (typeof u == "function") {
|
|
4187
4189
|
const w = n.createElement("template");
|
|
4188
4190
|
w.content && w.content.ownerDocument && (n = w.content.ownerDocument);
|
|
4189
4191
|
}
|
|
4190
4192
|
let H, I = "";
|
|
4191
4193
|
const {
|
|
4192
4194
|
implementation: F,
|
|
4193
|
-
createNodeIterator:
|
|
4194
|
-
createDocumentFragment:
|
|
4195
|
+
createNodeIterator: Y,
|
|
4196
|
+
createDocumentFragment: J,
|
|
4195
4197
|
getElementsByTagName: Q
|
|
4196
4198
|
} = n, {
|
|
4197
4199
|
importNode: z
|
|
4198
4200
|
} = r;
|
|
4199
|
-
let
|
|
4200
|
-
t.isSupported = typeof
|
|
4201
|
+
let C = {};
|
|
4202
|
+
t.isSupported = typeof Oi == "function" && typeof A == "function" && F && F.createHTMLDocument !== void 0;
|
|
4201
4203
|
const {
|
|
4202
4204
|
MUSTACHE_EXPR: ne,
|
|
4203
4205
|
ERB_EXPR: he,
|
|
4204
|
-
TMPLIT_EXPR:
|
|
4206
|
+
TMPLIT_EXPR: S,
|
|
4205
4207
|
DATA_ATTR: _,
|
|
4206
4208
|
ARIA_ATTR: g,
|
|
4207
4209
|
IS_SCRIPT_OR_DATA: x,
|
|
4208
4210
|
ATTR_WHITESPACE: h,
|
|
4209
4211
|
CUSTOM_ELEMENT: T
|
|
4210
|
-
} =
|
|
4212
|
+
} = Rr;
|
|
4211
4213
|
let {
|
|
4212
4214
|
IS_ALLOWED_URI: N
|
|
4213
|
-
} =
|
|
4214
|
-
const W = P({}, [...
|
|
4215
|
+
} = Rr, L = null;
|
|
4216
|
+
const W = P({}, [...Cr, ...dn, ...pn, ...gn, ...Nr]);
|
|
4215
4217
|
let R = null;
|
|
4216
|
-
const
|
|
4217
|
-
let m = Object.seal(
|
|
4218
|
+
const Z = P({}, [...Lr, ...bn, ...Hr, ...Ct]);
|
|
4219
|
+
let m = Object.seal(Mi(null, {
|
|
4218
4220
|
tagNameCheck: {
|
|
4219
4221
|
writable: !0,
|
|
4220
4222
|
configurable: !1,
|
|
@@ -4233,65 +4235,65 @@ function Hi() {
|
|
|
4233
4235
|
enumerable: !0,
|
|
4234
4236
|
value: !1
|
|
4235
4237
|
}
|
|
4236
|
-
})), G = null, ee = null, K = !0, _e = !0, ie = !1, ye = !0, be = !1, Ce = !0, Pe = !1, Jt = !1, Qt = !1, Be = !1, yt = !1, Tt = !1,
|
|
4237
|
-
const
|
|
4238
|
+
})), G = null, ee = null, K = !0, _e = !0, ie = !1, ye = !0, be = !1, Ce = !0, Pe = !1, Jt = !1, Qt = !1, Be = !1, yt = !1, Tt = !1, Dn = !0, Bn = !1;
|
|
4239
|
+
const Pi = "user-content-";
|
|
4238
4240
|
let Kt = !0, tt = !1, Ue = {}, ke = null;
|
|
4239
|
-
const
|
|
4240
|
-
let
|
|
4241
|
-
const
|
|
4241
|
+
const Un = P({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
4242
|
+
let kn = null;
|
|
4243
|
+
const Fn = P({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
4242
4244
|
let en = null;
|
|
4243
|
-
const
|
|
4245
|
+
const Gn = P({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), xt = "http://www.w3.org/1998/Math/MathML", vt = "http://www.w3.org/2000/svg", we = "http://www.w3.org/1999/xhtml";
|
|
4244
4246
|
let Fe = we, tn = !1, nn = null;
|
|
4245
|
-
const
|
|
4247
|
+
const Ii = P({}, [xt, vt, we], mn);
|
|
4246
4248
|
let nt = null;
|
|
4247
|
-
const
|
|
4249
|
+
const Di = ["application/xhtml+xml", "text/html"], Bi = "text/html";
|
|
4248
4250
|
let re = null, Ge = null;
|
|
4249
|
-
const
|
|
4251
|
+
const Ui = n.createElement("form"), $n = function(o) {
|
|
4250
4252
|
return o instanceof RegExp || o instanceof Function;
|
|
4251
4253
|
}, rn = function() {
|
|
4252
4254
|
let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4253
4255
|
if (!(Ge && Ge === o)) {
|
|
4254
4256
|
if ((!o || typeof o != "object") && (o = {}), o = Ie(o), nt = // eslint-disable-next-line unicorn/prefer-includes
|
|
4255
|
-
|
|
4256
|
-
Ie(
|
|
4257
|
+
Di.indexOf(o.PARSER_MEDIA_TYPE) === -1 ? Bi : o.PARSER_MEDIA_TYPE, re = nt === "application/xhtml+xml" ? mn : Ut, L = Te(o, "ALLOWED_TAGS") ? P({}, o.ALLOWED_TAGS, re) : W, R = Te(o, "ALLOWED_ATTR") ? P({}, o.ALLOWED_ATTR, re) : Z, nn = Te(o, "ALLOWED_NAMESPACES") ? P({}, o.ALLOWED_NAMESPACES, mn) : Ii, en = Te(o, "ADD_URI_SAFE_ATTR") ? P(
|
|
4258
|
+
Ie(Gn),
|
|
4257
4259
|
// eslint-disable-line indent
|
|
4258
4260
|
o.ADD_URI_SAFE_ATTR,
|
|
4259
4261
|
// eslint-disable-line indent
|
|
4260
4262
|
re
|
|
4261
4263
|
// eslint-disable-line indent
|
|
4262
|
-
) :
|
|
4263
|
-
Ie(
|
|
4264
|
+
) : Gn, kn = Te(o, "ADD_DATA_URI_TAGS") ? P(
|
|
4265
|
+
Ie(Fn),
|
|
4264
4266
|
// eslint-disable-line indent
|
|
4265
4267
|
o.ADD_DATA_URI_TAGS,
|
|
4266
4268
|
// eslint-disable-line indent
|
|
4267
4269
|
re
|
|
4268
4270
|
// eslint-disable-line indent
|
|
4269
|
-
) :
|
|
4271
|
+
) : Fn, ke = Te(o, "FORBID_CONTENTS") ? P({}, o.FORBID_CONTENTS, re) : Un, G = Te(o, "FORBID_TAGS") ? P({}, o.FORBID_TAGS, re) : {}, ee = Te(o, "FORBID_ATTR") ? P({}, o.FORBID_ATTR, re) : {}, Ue = Te(o, "USE_PROFILES") ? o.USE_PROFILES : !1, K = o.ALLOW_ARIA_ATTR !== !1, _e = o.ALLOW_DATA_ATTR !== !1, ie = o.ALLOW_UNKNOWN_PROTOCOLS || !1, ye = o.ALLOW_SELF_CLOSE_IN_ATTR !== !1, be = o.SAFE_FOR_TEMPLATES || !1, Ce = o.SAFE_FOR_XML !== !1, Pe = o.WHOLE_DOCUMENT || !1, Be = o.RETURN_DOM || !1, yt = o.RETURN_DOM_FRAGMENT || !1, Tt = o.RETURN_TRUSTED_TYPE || !1, Qt = o.FORCE_BODY || !1, Dn = o.SANITIZE_DOM !== !1, Bn = o.SANITIZE_NAMED_PROPS || !1, Kt = o.KEEP_CONTENT !== !1, tt = o.IN_PLACE || !1, N = o.ALLOWED_URI_REGEXP || Ci, Fe = o.NAMESPACE || we, m = o.CUSTOM_ELEMENT_HANDLING || {}, o.CUSTOM_ELEMENT_HANDLING && $n(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (m.tagNameCheck = o.CUSTOM_ELEMENT_HANDLING.tagNameCheck), o.CUSTOM_ELEMENT_HANDLING && $n(o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (m.attributeNameCheck = o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), o.CUSTOM_ELEMENT_HANDLING && typeof o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (m.allowCustomizedBuiltInElements = o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), be && (_e = !1), yt && (Be = !0), Ue && (L = P({}, Nr), R = [], Ue.html === !0 && (P(L, Cr), P(R, Lr)), Ue.svg === !0 && (P(L, dn), P(R, bn), P(R, Ct)), Ue.svgFilters === !0 && (P(L, pn), P(R, bn), P(R, Ct)), Ue.mathMl === !0 && (P(L, gn), P(R, Hr), P(R, Ct))), o.ADD_TAGS && (L === W && (L = Ie(L)), P(L, o.ADD_TAGS, re)), o.ADD_ATTR && (R === Z && (R = Ie(R)), P(R, o.ADD_ATTR, re)), o.ADD_URI_SAFE_ATTR && P(en, o.ADD_URI_SAFE_ATTR, re), o.FORBID_CONTENTS && (ke === Un && (ke = Ie(ke)), P(ke, o.FORBID_CONTENTS, re)), Kt && (L["#text"] = !0), Pe && P(L, ["html", "head", "body"]), L.table && (P(L, ["tbody"]), delete G.tbody), o.TRUSTED_TYPES_POLICY) {
|
|
4270
4272
|
if (typeof o.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
4271
|
-
throw
|
|
4273
|
+
throw ut('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
4272
4274
|
if (typeof o.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
4273
|
-
throw
|
|
4275
|
+
throw ut('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
4274
4276
|
H = o.TRUSTED_TYPES_POLICY, I = H.createHTML("");
|
|
4275
4277
|
} else
|
|
4276
|
-
H === void 0 && (H = Ma(
|
|
4278
|
+
H === void 0 && (H = Ma(O, i)), H !== null && typeof I == "string" && (I = H.createHTML(""));
|
|
4277
4279
|
fe && fe(o), Ge = o;
|
|
4278
4280
|
}
|
|
4279
|
-
},
|
|
4280
|
-
let p =
|
|
4281
|
+
}, jn = P({}, ["mi", "mo", "mn", "ms", "mtext"]), zn = P({}, ["foreignobject", "annotation-xml"]), ki = P({}, ["title", "style", "font", "a", "script"]), Wn = P({}, [...dn, ...pn, ...ba]), Vn = P({}, [...gn, ...Ea]), Fi = function(o) {
|
|
4282
|
+
let p = A(o);
|
|
4281
4283
|
(!p || !p.tagName) && (p = {
|
|
4282
4284
|
namespaceURI: Fe,
|
|
4283
4285
|
tagName: "template"
|
|
4284
4286
|
});
|
|
4285
|
-
const
|
|
4286
|
-
return nn[o.namespaceURI] ? o.namespaceURI === vt ? p.namespaceURI === we ?
|
|
4287
|
+
const v = Ut(o.tagName), V = Ut(p.tagName);
|
|
4288
|
+
return nn[o.namespaceURI] ? o.namespaceURI === vt ? p.namespaceURI === we ? v === "svg" : p.namespaceURI === xt ? v === "svg" && (V === "annotation-xml" || jn[V]) : !!Wn[v] : o.namespaceURI === xt ? p.namespaceURI === we ? v === "math" : p.namespaceURI === vt ? v === "math" && zn[V] : !!Vn[v] : o.namespaceURI === we ? p.namespaceURI === vt && !zn[V] || p.namespaceURI === xt && !jn[V] ? !1 : !Vn[v] && (ki[v] || !Wn[v]) : !!(nt === "application/xhtml+xml" && nn[o.namespaceURI]) : !1;
|
|
4287
4289
|
}, xe = function(o) {
|
|
4288
4290
|
ot(t.removed, {
|
|
4289
4291
|
element: o
|
|
4290
4292
|
});
|
|
4291
4293
|
try {
|
|
4292
|
-
|
|
4294
|
+
A(o).removeChild(o);
|
|
4293
4295
|
} catch {
|
|
4294
|
-
|
|
4296
|
+
M(o);
|
|
4295
4297
|
}
|
|
4296
4298
|
}, At = function(o, p) {
|
|
4297
4299
|
try {
|
|
@@ -4316,13 +4318,13 @@ function Hi() {
|
|
|
4316
4318
|
p.setAttribute(o, "");
|
|
4317
4319
|
} catch {
|
|
4318
4320
|
}
|
|
4319
|
-
},
|
|
4320
|
-
let p = null,
|
|
4321
|
+
}, Xn = function(o) {
|
|
4322
|
+
let p = null, v = null;
|
|
4321
4323
|
if (Qt)
|
|
4322
4324
|
o = "<remove></remove>" + o;
|
|
4323
4325
|
else {
|
|
4324
|
-
const se =
|
|
4325
|
-
|
|
4326
|
+
const se = Mr(o, /^[\r\n\t ]+/);
|
|
4327
|
+
v = se && se[0];
|
|
4326
4328
|
}
|
|
4327
4329
|
nt === "application/xhtml+xml" && Fe === we && (o = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + o + "</body></html>");
|
|
4328
4330
|
const V = H ? H.createHTML(o) : o;
|
|
@@ -4339,38 +4341,38 @@ function Hi() {
|
|
|
4339
4341
|
}
|
|
4340
4342
|
}
|
|
4341
4343
|
const oe = p.body || p.documentElement;
|
|
4342
|
-
return o &&
|
|
4343
|
-
},
|
|
4344
|
-
return
|
|
4344
|
+
return o && v && oe.insertBefore(n.createTextNode(v), oe.childNodes[0] || null), Fe === we ? Q.call(p, Pe ? "html" : "body")[0] : Pe ? p.documentElement : oe;
|
|
4345
|
+
}, Yn = function(o) {
|
|
4346
|
+
return Y.call(
|
|
4345
4347
|
o.ownerDocument || o,
|
|
4346
4348
|
o,
|
|
4347
4349
|
// eslint-disable-next-line no-bitwise
|
|
4348
|
-
|
|
4350
|
+
l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION,
|
|
4349
4351
|
null
|
|
4350
4352
|
);
|
|
4351
|
-
},
|
|
4353
|
+
}, Zn = function(o) {
|
|
4352
4354
|
return o instanceof b && (typeof o.nodeName != "string" || typeof o.textContent != "string" || typeof o.removeChild != "function" || !(o.attributes instanceof f) || typeof o.removeAttribute != "function" || typeof o.setAttribute != "function" || typeof o.namespaceURI != "string" || typeof o.insertBefore != "function" || typeof o.hasChildNodes != "function");
|
|
4353
|
-
},
|
|
4355
|
+
}, qn = function(o) {
|
|
4354
4356
|
return typeof a == "function" && o instanceof a;
|
|
4355
|
-
}, Oe = function(o, p,
|
|
4356
|
-
|
|
4357
|
-
V.call(t, p,
|
|
4357
|
+
}, Oe = function(o, p, v) {
|
|
4358
|
+
C[o] && Mt(C[o], (V) => {
|
|
4359
|
+
V.call(t, p, v, Ge);
|
|
4358
4360
|
});
|
|
4359
|
-
},
|
|
4361
|
+
}, Jn = function(o) {
|
|
4360
4362
|
let p = null;
|
|
4361
|
-
if (Oe("beforeSanitizeElements", o, null),
|
|
4363
|
+
if (Oe("beforeSanitizeElements", o, null), Zn(o))
|
|
4362
4364
|
return xe(o), !0;
|
|
4363
|
-
const
|
|
4365
|
+
const v = re(o.nodeName);
|
|
4364
4366
|
if (Oe("uponSanitizeElement", o, {
|
|
4365
|
-
tagName:
|
|
4367
|
+
tagName: v,
|
|
4366
4368
|
allowedTags: L
|
|
4367
|
-
}), o.hasChildNodes() && !
|
|
4369
|
+
}), o.hasChildNodes() && !qn(o.firstElementChild) && ue(/<[/\w]/g, o.innerHTML) && ue(/<[/\w]/g, o.textContent) || o.nodeType === ct.progressingInstruction || Ce && o.nodeType === ct.comment && ue(/<[/\w]/g, o.data))
|
|
4368
4370
|
return xe(o), !0;
|
|
4369
|
-
if (!L[
|
|
4370
|
-
if (!G[
|
|
4371
|
+
if (!L[v] || G[v]) {
|
|
4372
|
+
if (!G[v] && Kn(v) && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, v) || m.tagNameCheck instanceof Function && m.tagNameCheck(v)))
|
|
4371
4373
|
return !1;
|
|
4372
|
-
if (Kt && !ke[
|
|
4373
|
-
const V =
|
|
4374
|
+
if (Kt && !ke[v]) {
|
|
4375
|
+
const V = A(o) || o.parentNode, oe = U(o) || o.childNodes;
|
|
4374
4376
|
if (oe && V) {
|
|
4375
4377
|
const se = oe.length;
|
|
4376
4378
|
for (let me = se - 1; me >= 0; --me) {
|
|
@@ -4381,31 +4383,31 @@ function Hi() {
|
|
|
4381
4383
|
}
|
|
4382
4384
|
return xe(o), !0;
|
|
4383
4385
|
}
|
|
4384
|
-
return o instanceof c && !
|
|
4386
|
+
return o instanceof c && !Fi(o) || (v === "noscript" || v === "noembed" || v === "noframes") && ue(/<\/no(script|embed|frames)/i, o.innerHTML) ? (xe(o), !0) : (be && o.nodeType === ct.text && (p = o.textContent, Mt([ne, he, S], (V) => {
|
|
4385
4387
|
p = at(p, V, " ");
|
|
4386
4388
|
}), o.textContent !== p && (ot(t.removed, {
|
|
4387
4389
|
element: o.cloneNode()
|
|
4388
4390
|
}), o.textContent = p)), Oe("afterSanitizeElements", o, null), !1);
|
|
4389
|
-
},
|
|
4390
|
-
if (
|
|
4391
|
+
}, Qn = function(o, p, v) {
|
|
4392
|
+
if (Dn && (p === "id" || p === "name") && (v in n || v in Ui))
|
|
4391
4393
|
return !1;
|
|
4392
|
-
if (!(_e && !ee[p] &&
|
|
4393
|
-
if (!(K &&
|
|
4394
|
+
if (!(_e && !ee[p] && ue(_, p))) {
|
|
4395
|
+
if (!(K && ue(g, p))) {
|
|
4394
4396
|
if (!R[p] || ee[p]) {
|
|
4395
4397
|
if (
|
|
4396
4398
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
4397
4399
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4398
4400
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
4399
|
-
!(
|
|
4401
|
+
!(Kn(o) && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, o) || m.tagNameCheck instanceof Function && m.tagNameCheck(o)) && (m.attributeNameCheck instanceof RegExp && ue(m.attributeNameCheck, p) || m.attributeNameCheck instanceof Function && m.attributeNameCheck(p)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
4400
4402
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4401
|
-
p === "is" && m.allowCustomizedBuiltInElements && (m.tagNameCheck instanceof RegExp &&
|
|
4403
|
+
p === "is" && m.allowCustomizedBuiltInElements && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, v) || m.tagNameCheck instanceof Function && m.tagNameCheck(v)))
|
|
4402
4404
|
)
|
|
4403
4405
|
return !1;
|
|
4404
4406
|
} else if (!en[p]) {
|
|
4405
|
-
if (!
|
|
4406
|
-
if (!((p === "src" || p === "xlink:href" || p === "href") && o !== "script" && ma(
|
|
4407
|
-
if (!(ie && !
|
|
4408
|
-
if (
|
|
4407
|
+
if (!ue(N, at(v, h, ""))) {
|
|
4408
|
+
if (!((p === "src" || p === "xlink:href" || p === "href") && o !== "script" && ma(v, "data:") === 0 && kn[o])) {
|
|
4409
|
+
if (!(ie && !ue(x, at(v, h, "")))) {
|
|
4410
|
+
if (v)
|
|
4409
4411
|
return !1;
|
|
4410
4412
|
}
|
|
4411
4413
|
}
|
|
@@ -4414,16 +4416,16 @@ function Hi() {
|
|
|
4414
4416
|
}
|
|
4415
4417
|
}
|
|
4416
4418
|
return !0;
|
|
4419
|
+
}, Kn = function(o) {
|
|
4420
|
+
return o !== "annotation-xml" && Mr(o, T);
|
|
4417
4421
|
}, er = function(o) {
|
|
4418
|
-
return o !== "annotation-xml" && Cr(o, T);
|
|
4419
|
-
}, tr = function(o) {
|
|
4420
4422
|
Oe("beforeSanitizeAttributes", o, null);
|
|
4421
4423
|
const {
|
|
4422
4424
|
attributes: p
|
|
4423
4425
|
} = o;
|
|
4424
4426
|
if (!p)
|
|
4425
4427
|
return;
|
|
4426
|
-
const
|
|
4428
|
+
const v = {
|
|
4427
4429
|
attrName: "",
|
|
4428
4430
|
attrValue: "",
|
|
4429
4431
|
keepAttr: !0,
|
|
@@ -4437,23 +4439,23 @@ function Hi() {
|
|
|
4437
4439
|
value: ve
|
|
4438
4440
|
} = oe, rt = re(se);
|
|
4439
4441
|
let ae = se === "value" ? ve : da(ve);
|
|
4440
|
-
if (
|
|
4442
|
+
if (v.attrName = rt, v.attrValue = ae, v.keepAttr = !0, v.forceKeepAttr = void 0, Oe("uponSanitizeAttribute", o, v), ae = v.attrValue, Ce && ue(/((--!?|])>)|<\/(style|title)/i, ae)) {
|
|
4441
4443
|
At(se, o);
|
|
4442
4444
|
continue;
|
|
4443
4445
|
}
|
|
4444
|
-
if (
|
|
4446
|
+
if (v.forceKeepAttr || (At(se, o), !v.keepAttr))
|
|
4445
4447
|
continue;
|
|
4446
|
-
if (!ye &&
|
|
4448
|
+
if (!ye && ue(/\/>/i, ae)) {
|
|
4447
4449
|
At(se, o);
|
|
4448
4450
|
continue;
|
|
4449
4451
|
}
|
|
4450
|
-
be && Mt([ne, he,
|
|
4451
|
-
ae = at(ae,
|
|
4452
|
+
be && Mt([ne, he, S], (nr) => {
|
|
4453
|
+
ae = at(ae, nr, " ");
|
|
4452
4454
|
});
|
|
4453
|
-
const
|
|
4454
|
-
if (
|
|
4455
|
-
if (
|
|
4456
|
-
switch (
|
|
4455
|
+
const tr = re(o.nodeName);
|
|
4456
|
+
if (Qn(tr, rt, ae)) {
|
|
4457
|
+
if (Bn && (rt === "id" || rt === "name") && (At(se, o), ae = Pi + ae), H && typeof O == "object" && typeof O.getAttributeType == "function" && !me)
|
|
4458
|
+
switch (O.getAttributeType(tr, rt)) {
|
|
4457
4459
|
case "TrustedHTML": {
|
|
4458
4460
|
ae = H.createHTML(ae);
|
|
4459
4461
|
break;
|
|
@@ -4464,61 +4466,61 @@ function Hi() {
|
|
|
4464
4466
|
}
|
|
4465
4467
|
}
|
|
4466
4468
|
try {
|
|
4467
|
-
me ? o.setAttributeNS(me, se, ae) : o.setAttribute(se, ae),
|
|
4469
|
+
me ? o.setAttributeNS(me, se, ae) : o.setAttribute(se, ae), Zn(o) ? xe(o) : Or(t.removed);
|
|
4468
4470
|
} catch {
|
|
4469
4471
|
}
|
|
4470
4472
|
}
|
|
4471
4473
|
}
|
|
4472
4474
|
Oe("afterSanitizeAttributes", o, null);
|
|
4473
|
-
},
|
|
4475
|
+
}, Gi = function w(o) {
|
|
4474
4476
|
let p = null;
|
|
4475
|
-
const
|
|
4476
|
-
for (Oe("beforeSanitizeShadowDOM", o, null); p =
|
|
4477
|
-
Oe("uponSanitizeShadowNode", p, null), !
|
|
4477
|
+
const v = Yn(o);
|
|
4478
|
+
for (Oe("beforeSanitizeShadowDOM", o, null); p = v.nextNode(); )
|
|
4479
|
+
Oe("uponSanitizeShadowNode", p, null), !Jn(p) && (p.content instanceof s && w(p.content), er(p));
|
|
4478
4480
|
Oe("afterSanitizeShadowDOM", o, null);
|
|
4479
4481
|
};
|
|
4480
4482
|
return t.sanitize = function(w) {
|
|
4481
|
-
let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null,
|
|
4482
|
-
if (tn = !w, tn && (w = "<!-->"), typeof w != "string" && !
|
|
4483
|
+
let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null, v = null, V = null, oe = null;
|
|
4484
|
+
if (tn = !w, tn && (w = "<!-->"), typeof w != "string" && !qn(w))
|
|
4483
4485
|
if (typeof w.toString == "function") {
|
|
4484
4486
|
if (w = w.toString(), typeof w != "string")
|
|
4485
|
-
throw
|
|
4487
|
+
throw ut("dirty is not a string, aborting");
|
|
4486
4488
|
} else
|
|
4487
|
-
throw
|
|
4489
|
+
throw ut("toString is not a function");
|
|
4488
4490
|
if (!t.isSupported)
|
|
4489
4491
|
return w;
|
|
4490
4492
|
if (Jt || rn(o), t.removed = [], typeof w == "string" && (tt = !1), tt) {
|
|
4491
4493
|
if (w.nodeName) {
|
|
4492
4494
|
const ve = re(w.nodeName);
|
|
4493
4495
|
if (!L[ve] || G[ve])
|
|
4494
|
-
throw
|
|
4496
|
+
throw ut("root node is forbidden and cannot be sanitized in-place");
|
|
4495
4497
|
}
|
|
4496
4498
|
} else if (w instanceof a)
|
|
4497
|
-
p =
|
|
4499
|
+
p = Xn("<!---->"), v = p.ownerDocument.importNode(w, !0), v.nodeType === ct.element && v.nodeName === "BODY" || v.nodeName === "HTML" ? p = v : p.appendChild(v);
|
|
4498
4500
|
else {
|
|
4499
4501
|
if (!Be && !be && !Pe && // eslint-disable-next-line unicorn/prefer-includes
|
|
4500
4502
|
w.indexOf("<") === -1)
|
|
4501
4503
|
return H && Tt ? H.createHTML(w) : w;
|
|
4502
|
-
if (p =
|
|
4504
|
+
if (p = Xn(w), !p)
|
|
4503
4505
|
return Be ? null : Tt ? I : "";
|
|
4504
4506
|
}
|
|
4505
4507
|
p && Qt && xe(p.firstChild);
|
|
4506
|
-
const se =
|
|
4508
|
+
const se = Yn(tt ? w : p);
|
|
4507
4509
|
for (; V = se.nextNode(); )
|
|
4508
|
-
|
|
4510
|
+
Jn(V) || (V.content instanceof s && Gi(V.content), er(V));
|
|
4509
4511
|
if (tt)
|
|
4510
4512
|
return w;
|
|
4511
4513
|
if (Be) {
|
|
4512
4514
|
if (yt)
|
|
4513
|
-
for (oe =
|
|
4515
|
+
for (oe = J.call(p.ownerDocument); p.firstChild; )
|
|
4514
4516
|
oe.appendChild(p.firstChild);
|
|
4515
4517
|
else
|
|
4516
4518
|
oe = p;
|
|
4517
4519
|
return (R.shadowroot || R.shadowrootmode) && (oe = z.call(r, oe, !0)), oe;
|
|
4518
4520
|
}
|
|
4519
4521
|
let me = Pe ? p.outerHTML : p.innerHTML;
|
|
4520
|
-
return Pe && L["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name &&
|
|
4521
|
-
` + me), be && Mt([ne, he,
|
|
4522
|
+
return Pe && L["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && ue(Ni, p.ownerDocument.doctype.name) && (me = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
|
|
4523
|
+
` + me), be && Mt([ne, he, S], (ve) => {
|
|
4522
4524
|
me = at(me, ve, " ");
|
|
4523
4525
|
}), H && Tt ? H.createHTML(me) : me;
|
|
4524
4526
|
}, t.setConfig = function() {
|
|
@@ -4528,51 +4530,51 @@ function Hi() {
|
|
|
4528
4530
|
Ge = null, Jt = !1;
|
|
4529
4531
|
}, t.isValidAttribute = function(w, o, p) {
|
|
4530
4532
|
Ge || rn({});
|
|
4531
|
-
const
|
|
4532
|
-
return
|
|
4533
|
+
const v = re(w), V = re(o);
|
|
4534
|
+
return Qn(v, V, p);
|
|
4533
4535
|
}, t.addHook = function(w, o) {
|
|
4534
|
-
typeof o == "function" && (
|
|
4536
|
+
typeof o == "function" && (C[w] = C[w] || [], ot(C[w], o));
|
|
4535
4537
|
}, t.removeHook = function(w) {
|
|
4536
|
-
if (
|
|
4537
|
-
return
|
|
4538
|
+
if (C[w])
|
|
4539
|
+
return Or(C[w]);
|
|
4538
4540
|
}, t.removeHooks = function(w) {
|
|
4539
|
-
|
|
4541
|
+
C[w] && (C[w] = []);
|
|
4540
4542
|
}, t.removeAllHooks = function() {
|
|
4541
|
-
|
|
4543
|
+
C = {};
|
|
4542
4544
|
}, t;
|
|
4543
4545
|
}
|
|
4544
|
-
var
|
|
4546
|
+
var Pr = Li();
|
|
4545
4547
|
const Ca = "data:image/webp;base64,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";
|
|
4546
|
-
var
|
|
4548
|
+
var Hi = { exports: {} };
|
|
4547
4549
|
(function(e, t) {
|
|
4548
4550
|
(function(n, r) {
|
|
4549
4551
|
e.exports = r();
|
|
4550
|
-
})(
|
|
4551
|
-
var n = 1e3, r = 6e4, i = 36e5, s = "millisecond",
|
|
4552
|
-
var _ = ["th", "st", "nd", "rd"], g =
|
|
4553
|
-
return "[" +
|
|
4554
|
-
} },
|
|
4555
|
-
var x = String(
|
|
4556
|
-
return !x || x.length >= _ ?
|
|
4557
|
-
}, H = { s:
|
|
4558
|
-
var _ = -
|
|
4559
|
-
return (_ <= 0 ? "+" : "-") +
|
|
4560
|
-
}, m: function
|
|
4552
|
+
})(ti, function() {
|
|
4553
|
+
var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", u = "second", a = "minute", c = "hour", l = "day", f = "week", b = "month", y = "quarter", O = "year", E = "date", d = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, $ = /\[([^\]]+)]|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(S) {
|
|
4554
|
+
var _ = ["th", "st", "nd", "rd"], g = S % 100;
|
|
4555
|
+
return "[" + S + (_[(g - 20) % 10] || _[g] || _[0]) + "]";
|
|
4556
|
+
} }, A = function(S, _, g) {
|
|
4557
|
+
var x = String(S);
|
|
4558
|
+
return !x || x.length >= _ ? S : "" + Array(_ + 1 - x.length).join(g) + S;
|
|
4559
|
+
}, H = { s: A, z: function(S) {
|
|
4560
|
+
var _ = -S.utcOffset(), g = Math.abs(_), x = Math.floor(g / 60), h = g % 60;
|
|
4561
|
+
return (_ <= 0 ? "+" : "-") + A(x, 2, "0") + ":" + A(h, 2, "0");
|
|
4562
|
+
}, m: function S(_, g) {
|
|
4561
4563
|
if (_.date() < g.date())
|
|
4562
|
-
return -
|
|
4564
|
+
return -S(g, _);
|
|
4563
4565
|
var x = 12 * (g.year() - _.year()) + (g.month() - _.month()), h = _.clone().add(x, b), T = g - h < 0, N = _.clone().add(x + (T ? -1 : 1), b);
|
|
4564
4566
|
return +(-(x + (g - h) / (T ? h - N : N - h)) || 0);
|
|
4565
|
-
}, a: function(
|
|
4566
|
-
return
|
|
4567
|
-
}, p: function(
|
|
4568
|
-
return { M: b, y:
|
|
4569
|
-
}, u: function(
|
|
4570
|
-
return
|
|
4567
|
+
}, a: function(S) {
|
|
4568
|
+
return S < 0 ? Math.ceil(S) || 0 : Math.floor(S);
|
|
4569
|
+
}, p: function(S) {
|
|
4570
|
+
return { M: b, y: O, w: f, d: l, D: E, h: c, m: a, s: u, ms: s, Q: y }[S] || String(S || "").toLowerCase().replace(/s$/, "");
|
|
4571
|
+
}, u: function(S) {
|
|
4572
|
+
return S === void 0;
|
|
4571
4573
|
} }, I = "en", F = {};
|
|
4572
4574
|
F[I] = U;
|
|
4573
|
-
var
|
|
4574
|
-
return
|
|
4575
|
-
}, Q = function
|
|
4575
|
+
var Y = "$isDayjsObject", J = function(S) {
|
|
4576
|
+
return S instanceof ne || !(!S || !S[Y]);
|
|
4577
|
+
}, Q = function S(_, g, x) {
|
|
4576
4578
|
var h;
|
|
4577
4579
|
if (!_)
|
|
4578
4580
|
return I;
|
|
@@ -4581,37 +4583,37 @@ var Ri = { exports: {} };
|
|
|
4581
4583
|
F[T] && (h = T), g && (F[T] = g, h = T);
|
|
4582
4584
|
var N = _.split("-");
|
|
4583
4585
|
if (!h && N.length > 1)
|
|
4584
|
-
return
|
|
4586
|
+
return S(N[0]);
|
|
4585
4587
|
} else {
|
|
4586
4588
|
var L = _.name;
|
|
4587
4589
|
F[L] = _, h = L;
|
|
4588
4590
|
}
|
|
4589
4591
|
return !x && h && (I = h), h || !x && I;
|
|
4590
|
-
}, z = function(
|
|
4591
|
-
if (
|
|
4592
|
-
return
|
|
4592
|
+
}, z = function(S, _) {
|
|
4593
|
+
if (J(S))
|
|
4594
|
+
return S.clone();
|
|
4593
4595
|
var g = typeof _ == "object" ? _ : {};
|
|
4594
|
-
return g.date =
|
|
4595
|
-
},
|
|
4596
|
-
|
|
4597
|
-
return z(
|
|
4596
|
+
return g.date = S, g.args = arguments, new ne(g);
|
|
4597
|
+
}, C = H;
|
|
4598
|
+
C.l = Q, C.i = J, C.w = function(S, _) {
|
|
4599
|
+
return z(S, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
|
|
4598
4600
|
};
|
|
4599
4601
|
var ne = function() {
|
|
4600
|
-
function
|
|
4601
|
-
this.$L = Q(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[
|
|
4602
|
+
function S(g) {
|
|
4603
|
+
this.$L = Q(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[Y] = !0;
|
|
4602
4604
|
}
|
|
4603
|
-
var _ =
|
|
4605
|
+
var _ = S.prototype;
|
|
4604
4606
|
return _.parse = function(g) {
|
|
4605
4607
|
this.$d = function(x) {
|
|
4606
4608
|
var h = x.date, T = x.utc;
|
|
4607
4609
|
if (h === null)
|
|
4608
4610
|
return /* @__PURE__ */ new Date(NaN);
|
|
4609
|
-
if (
|
|
4611
|
+
if (C.u(h))
|
|
4610
4612
|
return /* @__PURE__ */ new Date();
|
|
4611
4613
|
if (h instanceof Date)
|
|
4612
4614
|
return new Date(h);
|
|
4613
4615
|
if (typeof h == "string" && !/Z$/i.test(h)) {
|
|
4614
|
-
var N = h.match(
|
|
4616
|
+
var N = h.match(M);
|
|
4615
4617
|
if (N) {
|
|
4616
4618
|
var L = N[2] - 1 || 0, W = (N[7] || "0").substring(0, 3);
|
|
4617
4619
|
return T ? new Date(Date.UTC(N[1], L, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, W)) : new Date(N[1], L, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, W);
|
|
@@ -4623,7 +4625,7 @@ var Ri = { exports: {} };
|
|
|
4623
4625
|
var g = this.$d;
|
|
4624
4626
|
this.$y = g.getFullYear(), this.$M = g.getMonth(), this.$D = g.getDate(), this.$W = g.getDay(), this.$H = g.getHours(), this.$m = g.getMinutes(), this.$s = g.getSeconds(), this.$ms = g.getMilliseconds();
|
|
4625
4627
|
}, _.$utils = function() {
|
|
4626
|
-
return
|
|
4628
|
+
return C;
|
|
4627
4629
|
}, _.isValid = function() {
|
|
4628
4630
|
return this.$d.toString() !== d;
|
|
4629
4631
|
}, _.isSame = function(g, x) {
|
|
@@ -4634,34 +4636,34 @@ var Ri = { exports: {} };
|
|
|
4634
4636
|
}, _.isBefore = function(g, x) {
|
|
4635
4637
|
return this.endOf(x) < z(g);
|
|
4636
4638
|
}, _.$g = function(g, x, h) {
|
|
4637
|
-
return
|
|
4639
|
+
return C.u(g) ? this[x] : this.set(h, g);
|
|
4638
4640
|
}, _.unix = function() {
|
|
4639
4641
|
return Math.floor(this.valueOf() / 1e3);
|
|
4640
4642
|
}, _.valueOf = function() {
|
|
4641
4643
|
return this.$d.getTime();
|
|
4642
4644
|
}, _.startOf = function(g, x) {
|
|
4643
|
-
var h = this, T = !!
|
|
4644
|
-
var ye =
|
|
4645
|
-
return T ? ye : ye.endOf(
|
|
4645
|
+
var h = this, T = !!C.u(x) || x, N = C.p(g), L = function(_e, ie) {
|
|
4646
|
+
var ye = C.w(h.$u ? Date.UTC(h.$y, ie, _e) : new Date(h.$y, ie, _e), h);
|
|
4647
|
+
return T ? ye : ye.endOf(l);
|
|
4646
4648
|
}, W = function(_e, ie) {
|
|
4647
|
-
return
|
|
4648
|
-
}, R = this.$W,
|
|
4649
|
+
return C.w(h.toDate()[_e].apply(h.toDate("s"), (T ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), h);
|
|
4650
|
+
}, R = this.$W, Z = this.$M, m = this.$D, G = "set" + (this.$u ? "UTC" : "");
|
|
4649
4651
|
switch (N) {
|
|
4650
|
-
case
|
|
4652
|
+
case O:
|
|
4651
4653
|
return T ? L(1, 0) : L(31, 11);
|
|
4652
4654
|
case b:
|
|
4653
|
-
return T ? L(1,
|
|
4655
|
+
return T ? L(1, Z) : L(0, Z + 1);
|
|
4654
4656
|
case f:
|
|
4655
4657
|
var ee = this.$locale().weekStart || 0, K = (R < ee ? R + 7 : R) - ee;
|
|
4656
|
-
return L(T ? m - K : m + (6 - K),
|
|
4657
|
-
case
|
|
4658
|
+
return L(T ? m - K : m + (6 - K), Z);
|
|
4659
|
+
case l:
|
|
4658
4660
|
case E:
|
|
4659
4661
|
return W(G + "Hours", 0);
|
|
4660
4662
|
case c:
|
|
4661
4663
|
return W(G + "Minutes", 1);
|
|
4662
4664
|
case a:
|
|
4663
4665
|
return W(G + "Seconds", 2);
|
|
4664
|
-
case
|
|
4666
|
+
case u:
|
|
4665
4667
|
return W(G + "Milliseconds", 3);
|
|
4666
4668
|
default:
|
|
4667
4669
|
return this.clone();
|
|
@@ -4669,8 +4671,8 @@ var Ri = { exports: {} };
|
|
|
4669
4671
|
}, _.endOf = function(g) {
|
|
4670
4672
|
return this.startOf(g, !1);
|
|
4671
4673
|
}, _.$set = function(g, x) {
|
|
4672
|
-
var h, T =
|
|
4673
|
-
if (T === b || T ===
|
|
4674
|
+
var h, T = C.p(g), N = "set" + (this.$u ? "UTC" : ""), L = (h = {}, h[l] = N + "Date", h[E] = N + "Date", h[b] = N + "Month", h[O] = N + "FullYear", h[c] = N + "Hours", h[a] = N + "Minutes", h[u] = N + "Seconds", h[s] = N + "Milliseconds", h)[T], W = T === l ? this.$D + (x - this.$W) : x;
|
|
4675
|
+
if (T === b || T === O) {
|
|
4674
4676
|
var R = this.clone().set(E, 1);
|
|
4675
4677
|
R.$d[L](W), R.init(), this.$d = R.set(E, Math.min(this.$D, R.daysInMonth())).$d;
|
|
4676
4678
|
} else
|
|
@@ -4679,34 +4681,34 @@ var Ri = { exports: {} };
|
|
|
4679
4681
|
}, _.set = function(g, x) {
|
|
4680
4682
|
return this.clone().$set(g, x);
|
|
4681
4683
|
}, _.get = function(g) {
|
|
4682
|
-
return this[
|
|
4684
|
+
return this[C.p(g)]();
|
|
4683
4685
|
}, _.add = function(g, x) {
|
|
4684
4686
|
var h, T = this;
|
|
4685
4687
|
g = Number(g);
|
|
4686
|
-
var N =
|
|
4688
|
+
var N = C.p(x), L = function(Z) {
|
|
4687
4689
|
var m = z(T);
|
|
4688
|
-
return
|
|
4690
|
+
return C.w(m.date(m.date() + Math.round(Z * g)), T);
|
|
4689
4691
|
};
|
|
4690
4692
|
if (N === b)
|
|
4691
4693
|
return this.set(b, this.$M + g);
|
|
4692
|
-
if (N ===
|
|
4693
|
-
return this.set(
|
|
4694
|
-
if (N ===
|
|
4694
|
+
if (N === O)
|
|
4695
|
+
return this.set(O, this.$y + g);
|
|
4696
|
+
if (N === l)
|
|
4695
4697
|
return L(1);
|
|
4696
4698
|
if (N === f)
|
|
4697
4699
|
return L(7);
|
|
4698
|
-
var W = (h = {}, h[a] = r, h[c] = i, h[
|
|
4699
|
-
return
|
|
4700
|
+
var W = (h = {}, h[a] = r, h[c] = i, h[u] = n, h)[N] || 1, R = this.$d.getTime() + g * W;
|
|
4701
|
+
return C.w(R, this);
|
|
4700
4702
|
}, _.subtract = function(g, x) {
|
|
4701
4703
|
return this.add(-1 * g, x);
|
|
4702
4704
|
}, _.format = function(g) {
|
|
4703
4705
|
var x = this, h = this.$locale();
|
|
4704
4706
|
if (!this.isValid())
|
|
4705
4707
|
return h.invalidDate || d;
|
|
4706
|
-
var T = g || "YYYY-MM-DDTHH:mm:ssZ", N =
|
|
4708
|
+
var T = g || "YYYY-MM-DDTHH:mm:ssZ", N = C.z(this), L = this.$H, W = this.$m, R = this.$M, Z = h.weekdays, m = h.months, G = h.meridiem, ee = function(ie, ye, be, Ce) {
|
|
4707
4709
|
return ie && (ie[ye] || ie(x, T)) || be[ye].slice(0, Ce);
|
|
4708
4710
|
}, K = function(ie) {
|
|
4709
|
-
return
|
|
4711
|
+
return C.s(L % 12 || 12, ie, "0");
|
|
4710
4712
|
}, _e = G || function(ie, ye, be) {
|
|
4711
4713
|
var Ce = ie < 12 ? "AM" : "PM";
|
|
4712
4714
|
return be ? Ce.toLowerCase() : Ce;
|
|
@@ -4717,11 +4719,11 @@ var Ri = { exports: {} };
|
|
|
4717
4719
|
case "YY":
|
|
4718
4720
|
return String(x.$y).slice(-2);
|
|
4719
4721
|
case "YYYY":
|
|
4720
|
-
return
|
|
4722
|
+
return C.s(x.$y, 4, "0");
|
|
4721
4723
|
case "M":
|
|
4722
4724
|
return R + 1;
|
|
4723
4725
|
case "MM":
|
|
4724
|
-
return
|
|
4726
|
+
return C.s(R + 1, 2, "0");
|
|
4725
4727
|
case "MMM":
|
|
4726
4728
|
return ee(h.monthsShort, R, m, 3);
|
|
4727
4729
|
case "MMMM":
|
|
@@ -4729,19 +4731,19 @@ var Ri = { exports: {} };
|
|
|
4729
4731
|
case "D":
|
|
4730
4732
|
return x.$D;
|
|
4731
4733
|
case "DD":
|
|
4732
|
-
return
|
|
4734
|
+
return C.s(x.$D, 2, "0");
|
|
4733
4735
|
case "d":
|
|
4734
4736
|
return String(x.$W);
|
|
4735
4737
|
case "dd":
|
|
4736
|
-
return ee(h.weekdaysMin, x.$W,
|
|
4738
|
+
return ee(h.weekdaysMin, x.$W, Z, 2);
|
|
4737
4739
|
case "ddd":
|
|
4738
|
-
return ee(h.weekdaysShort, x.$W,
|
|
4740
|
+
return ee(h.weekdaysShort, x.$W, Z, 3);
|
|
4739
4741
|
case "dddd":
|
|
4740
|
-
return
|
|
4742
|
+
return Z[x.$W];
|
|
4741
4743
|
case "H":
|
|
4742
4744
|
return String(L);
|
|
4743
4745
|
case "HH":
|
|
4744
|
-
return
|
|
4746
|
+
return C.s(L, 2, "0");
|
|
4745
4747
|
case "h":
|
|
4746
4748
|
return K(1);
|
|
4747
4749
|
case "hh":
|
|
@@ -4753,13 +4755,13 @@ var Ri = { exports: {} };
|
|
|
4753
4755
|
case "m":
|
|
4754
4756
|
return String(W);
|
|
4755
4757
|
case "mm":
|
|
4756
|
-
return
|
|
4758
|
+
return C.s(W, 2, "0");
|
|
4757
4759
|
case "s":
|
|
4758
4760
|
return String(x.$s);
|
|
4759
4761
|
case "ss":
|
|
4760
|
-
return
|
|
4762
|
+
return C.s(x.$s, 2, "0");
|
|
4761
4763
|
case "SSS":
|
|
4762
|
-
return
|
|
4764
|
+
return C.s(x.$ms, 3, "0");
|
|
4763
4765
|
case "Z":
|
|
4764
4766
|
return N;
|
|
4765
4767
|
}
|
|
@@ -4769,11 +4771,11 @@ var Ri = { exports: {} };
|
|
|
4769
4771
|
}, _.utcOffset = function() {
|
|
4770
4772
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4771
4773
|
}, _.diff = function(g, x, h) {
|
|
4772
|
-
var T, N = this, L =
|
|
4773
|
-
return
|
|
4774
|
+
var T, N = this, L = C.p(x), W = z(g), R = (W.utcOffset() - this.utcOffset()) * r, Z = this - W, m = function() {
|
|
4775
|
+
return C.m(N, W);
|
|
4774
4776
|
};
|
|
4775
4777
|
switch (L) {
|
|
4776
|
-
case
|
|
4778
|
+
case O:
|
|
4777
4779
|
T = m() / 12;
|
|
4778
4780
|
break;
|
|
4779
4781
|
case b:
|
|
@@ -4783,24 +4785,24 @@ var Ri = { exports: {} };
|
|
|
4783
4785
|
T = m() / 3;
|
|
4784
4786
|
break;
|
|
4785
4787
|
case f:
|
|
4786
|
-
T = (
|
|
4788
|
+
T = (Z - R) / 6048e5;
|
|
4787
4789
|
break;
|
|
4788
|
-
case
|
|
4789
|
-
T = (
|
|
4790
|
+
case l:
|
|
4791
|
+
T = (Z - R) / 864e5;
|
|
4790
4792
|
break;
|
|
4791
4793
|
case c:
|
|
4792
|
-
T =
|
|
4794
|
+
T = Z / i;
|
|
4793
4795
|
break;
|
|
4794
4796
|
case a:
|
|
4795
|
-
T =
|
|
4797
|
+
T = Z / r;
|
|
4796
4798
|
break;
|
|
4797
|
-
case
|
|
4798
|
-
T =
|
|
4799
|
+
case u:
|
|
4800
|
+
T = Z / n;
|
|
4799
4801
|
break;
|
|
4800
4802
|
default:
|
|
4801
|
-
T =
|
|
4803
|
+
T = Z;
|
|
4802
4804
|
}
|
|
4803
|
-
return h ? T :
|
|
4805
|
+
return h ? T : C.a(T);
|
|
4804
4806
|
}, _.daysInMonth = function() {
|
|
4805
4807
|
return this.endOf(b).$D;
|
|
4806
4808
|
}, _.$locale = function() {
|
|
@@ -4811,7 +4813,7 @@ var Ri = { exports: {} };
|
|
|
4811
4813
|
var h = this.clone(), T = Q(g, x, !0);
|
|
4812
4814
|
return T && (h.$L = T), h;
|
|
4813
4815
|
}, _.clone = function() {
|
|
4814
|
-
return
|
|
4816
|
+
return C.w(this.$d, this);
|
|
4815
4817
|
}, _.toDate = function() {
|
|
4816
4818
|
return new Date(this.valueOf());
|
|
4817
4819
|
}, _.toJSON = function() {
|
|
@@ -4820,41 +4822,41 @@ var Ri = { exports: {} };
|
|
|
4820
4822
|
return this.$d.toISOString();
|
|
4821
4823
|
}, _.toString = function() {
|
|
4822
4824
|
return this.$d.toUTCString();
|
|
4823
|
-
},
|
|
4825
|
+
}, S;
|
|
4824
4826
|
}(), he = ne.prototype;
|
|
4825
|
-
return z.prototype = he, [["$ms", s], ["$s",
|
|
4826
|
-
he[
|
|
4827
|
-
return this.$g(_,
|
|
4827
|
+
return z.prototype = he, [["$ms", s], ["$s", u], ["$m", a], ["$H", c], ["$W", l], ["$M", b], ["$y", O], ["$D", E]].forEach(function(S) {
|
|
4828
|
+
he[S[1]] = function(_) {
|
|
4829
|
+
return this.$g(_, S[0], S[1]);
|
|
4828
4830
|
};
|
|
4829
|
-
}), z.extend = function(
|
|
4830
|
-
return
|
|
4831
|
-
}, z.locale = Q, z.isDayjs =
|
|
4832
|
-
return z(1e3 *
|
|
4831
|
+
}), z.extend = function(S, _) {
|
|
4832
|
+
return S.$i || (S(_, ne, z), S.$i = !0), z;
|
|
4833
|
+
}, z.locale = Q, z.isDayjs = J, z.unix = function(S) {
|
|
4834
|
+
return z(1e3 * S);
|
|
4833
4835
|
}, z.en = F[I], z.Ls = F, z.p = {}, z;
|
|
4834
4836
|
});
|
|
4835
|
-
})(
|
|
4836
|
-
var Na =
|
|
4837
|
-
const
|
|
4838
|
-
var
|
|
4837
|
+
})(Hi);
|
|
4838
|
+
var Na = Hi.exports;
|
|
4839
|
+
const Ir = /* @__PURE__ */ Hn(Na);
|
|
4840
|
+
var Ri = { exports: {} };
|
|
4839
4841
|
(function(e, t) {
|
|
4840
4842
|
(function(n, r) {
|
|
4841
4843
|
e.exports = r();
|
|
4842
|
-
})(
|
|
4844
|
+
})(ti, function() {
|
|
4843
4845
|
var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
|
|
4844
|
-
return function(s,
|
|
4845
|
-
var c =
|
|
4846
|
+
return function(s, u, a) {
|
|
4847
|
+
var c = u.prototype;
|
|
4846
4848
|
a.utc = function(d) {
|
|
4847
|
-
var
|
|
4848
|
-
return new
|
|
4849
|
+
var M = { date: d, utc: !0, args: arguments };
|
|
4850
|
+
return new u(M);
|
|
4849
4851
|
}, c.utc = function(d) {
|
|
4850
|
-
var
|
|
4851
|
-
return d ?
|
|
4852
|
+
var M = a(this.toDate(), { locale: this.$L, utc: !0 });
|
|
4853
|
+
return d ? M.add(this.utcOffset(), n) : M;
|
|
4852
4854
|
}, c.local = function() {
|
|
4853
4855
|
return a(this.toDate(), { locale: this.$L, utc: !1 });
|
|
4854
4856
|
};
|
|
4855
|
-
var
|
|
4857
|
+
var l = c.parse;
|
|
4856
4858
|
c.parse = function(d) {
|
|
4857
|
-
d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset),
|
|
4859
|
+
d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset), l.call(this, d);
|
|
4858
4860
|
};
|
|
4859
4861
|
var f = c.init;
|
|
4860
4862
|
c.init = function() {
|
|
@@ -4865,7 +4867,7 @@ var Pi = { exports: {} };
|
|
|
4865
4867
|
f.call(this);
|
|
4866
4868
|
};
|
|
4867
4869
|
var b = c.utcOffset;
|
|
4868
|
-
c.utcOffset = function(d,
|
|
4870
|
+
c.utcOffset = function(d, M) {
|
|
4869
4871
|
var $ = this.$utils().u;
|
|
4870
4872
|
if ($(d))
|
|
4871
4873
|
return this.$u ? 0 : $(this.$offset) ? b.call(this) : this.$offset;
|
|
@@ -4874,24 +4876,24 @@ var Pi = { exports: {} };
|
|
|
4874
4876
|
var F = I.match(r);
|
|
4875
4877
|
if (!F)
|
|
4876
4878
|
return null;
|
|
4877
|
-
var
|
|
4878
|
-
return Q === 0 ? 0 :
|
|
4879
|
+
var Y = ("" + F[0]).match(i) || ["-", 0, 0], J = Y[0], Q = 60 * +Y[1] + +Y[2];
|
|
4880
|
+
return Q === 0 ? 0 : J === "+" ? Q : -Q;
|
|
4879
4881
|
}(d), d === null))
|
|
4880
4882
|
return this;
|
|
4881
|
-
var U = Math.abs(d) <= 16 ? 60 * d : d,
|
|
4882
|
-
if (
|
|
4883
|
-
return
|
|
4883
|
+
var U = Math.abs(d) <= 16 ? 60 * d : d, A = this;
|
|
4884
|
+
if (M)
|
|
4885
|
+
return A.$offset = U, A.$u = d === 0, A;
|
|
4884
4886
|
if (d !== 0) {
|
|
4885
4887
|
var H = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4886
|
-
(
|
|
4888
|
+
(A = this.local().add(U + H, n)).$offset = U, A.$x.$localOffset = H;
|
|
4887
4889
|
} else
|
|
4888
|
-
|
|
4889
|
-
return
|
|
4890
|
+
A = this.utc();
|
|
4891
|
+
return A;
|
|
4890
4892
|
};
|
|
4891
4893
|
var y = c.format;
|
|
4892
4894
|
c.format = function(d) {
|
|
4893
|
-
var
|
|
4894
|
-
return y.call(this,
|
|
4895
|
+
var M = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
4896
|
+
return y.call(this, M);
|
|
4895
4897
|
}, c.valueOf = function() {
|
|
4896
4898
|
var d = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
4897
4899
|
return this.$d.valueOf() - 6e4 * d;
|
|
@@ -4902,23 +4904,23 @@ var Pi = { exports: {} };
|
|
|
4902
4904
|
}, c.toString = function() {
|
|
4903
4905
|
return this.toDate().toUTCString();
|
|
4904
4906
|
};
|
|
4905
|
-
var
|
|
4907
|
+
var O = c.toDate;
|
|
4906
4908
|
c.toDate = function(d) {
|
|
4907
|
-
return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() :
|
|
4909
|
+
return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : O.call(this);
|
|
4908
4910
|
};
|
|
4909
4911
|
var E = c.diff;
|
|
4910
|
-
c.diff = function(d,
|
|
4912
|
+
c.diff = function(d, M, $) {
|
|
4911
4913
|
if (d && this.$u === d.$u)
|
|
4912
|
-
return E.call(this, d,
|
|
4913
|
-
var U = this.local(),
|
|
4914
|
-
return E.call(U,
|
|
4914
|
+
return E.call(this, d, M, $);
|
|
4915
|
+
var U = this.local(), A = a(d).local();
|
|
4916
|
+
return E.call(U, A, M, $);
|
|
4915
4917
|
};
|
|
4916
4918
|
};
|
|
4917
4919
|
});
|
|
4918
|
-
})(
|
|
4919
|
-
var La =
|
|
4920
|
+
})(Ri);
|
|
4921
|
+
var La = Ri.exports;
|
|
4920
4922
|
const Ha = /* @__PURE__ */ Hn(La);
|
|
4921
|
-
let
|
|
4923
|
+
let Dr = bt(null);
|
|
4922
4924
|
function Ra(e, t) {
|
|
4923
4925
|
if (e) {
|
|
4924
4926
|
const n = document.createElement("style");
|
|
@@ -4943,24 +4945,24 @@ function Ia(e, t, n) {
|
|
|
4943
4945
|
}
|
|
4944
4946
|
}
|
|
4945
4947
|
function Da(e) {
|
|
4946
|
-
|
|
4948
|
+
Vi(e, "svelte-1cb9n1l", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:5;top:0;left:0;background-color:var(--mmw--color-black-transparency-20, rgba(0, 0, 0, 0.2));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);width:400px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0}.CashierSessionExpirationModalHeaderTitle{display:flex;text-align:center;color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis;line-height:calc(var(--emw--font-size-medium, 16px) + 2px)}.CashierSessionExpirationModalContainer{padding:var(--emw--spacing-large, 20px)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--mmw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--emw--spacing-large, 20px)}.CashierSessionExpirationTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierSessionExpirationText{color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierSessionExpirationButton{display:flex;width:100%;height:36px;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0;color:var(--emw--color-white, #FFF);cursor:pointer;text-align:center;font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);line-height:36px;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E);border:none}.CashierSessionExpirationButton:hover{background:var(--mmw--color-main-button-hover, #71B11B)}.CashierSessionExpirationButton:active{background:var(--mmw--color-main-button-active, #5C950F)}.CashierSessionExpirationButton:disabled{background:var(--mmw--color-main-button-disabled, #5C950F)}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}");
|
|
4947
4949
|
}
|
|
4948
|
-
const Ba = (e) => ({}),
|
|
4949
|
-
function
|
|
4950
|
-
let t, n, r, i, s,
|
|
4950
|
+
const Ba = (e) => ({}), Br = (e) => ({}), Ua = (e) => ({}), Ur = (e) => ({}), ka = (e) => ({}), kr = (e) => ({}), Fa = (e) => ({}), Fr = (e) => ({ class: "CashierSessionExpirationIcon" });
|
|
4951
|
+
function Gr(e) {
|
|
4952
|
+
let t, n, r, i, s, u = (
|
|
4951
4953
|
/*$_*/
|
|
4952
4954
|
e[8]("sessionExpirationHeader") + ""
|
|
4953
|
-
), a, c,
|
|
4955
|
+
), a, c, l, f, b, y, O, E, d, M, $, U, A, H, I;
|
|
4954
4956
|
const F = (
|
|
4955
4957
|
/*#slots*/
|
|
4956
4958
|
e[22].icon
|
|
4957
|
-
),
|
|
4959
|
+
), Y = Nt(
|
|
4958
4960
|
F,
|
|
4959
4961
|
e,
|
|
4960
4962
|
/*$$scope*/
|
|
4961
4963
|
e[21],
|
|
4962
|
-
|
|
4963
|
-
),
|
|
4964
|
+
Fr
|
|
4965
|
+
), J = Y || ja(e), Q = (
|
|
4964
4966
|
/*#slots*/
|
|
4965
4967
|
e[22].title
|
|
4966
4968
|
), z = Nt(
|
|
@@ -4968,8 +4970,8 @@ function $r(e) {
|
|
|
4968
4970
|
e,
|
|
4969
4971
|
/*$$scope*/
|
|
4970
4972
|
e[21],
|
|
4971
|
-
|
|
4972
|
-
),
|
|
4973
|
+
kr
|
|
4974
|
+
), C = z || za(e), ne = (
|
|
4973
4975
|
/*#slots*/
|
|
4974
4976
|
e[22].text
|
|
4975
4977
|
), he = Nt(
|
|
@@ -4977,28 +4979,28 @@ function $r(e) {
|
|
|
4977
4979
|
e,
|
|
4978
4980
|
/*$$scope*/
|
|
4979
4981
|
e[21],
|
|
4980
|
-
|
|
4981
|
-
),
|
|
4982
|
+
Ur
|
|
4983
|
+
), S = he || Wa(e), _ = [Xa, Va], g = [];
|
|
4982
4984
|
function x(h, T) {
|
|
4983
4985
|
return (
|
|
4984
4986
|
/*showLoaderButton*/
|
|
4985
4987
|
h[6] ? 0 : 1
|
|
4986
4988
|
);
|
|
4987
4989
|
}
|
|
4988
|
-
return d = x(e),
|
|
4990
|
+
return d = x(e), M = g[d] = _[d](e), {
|
|
4989
4991
|
c() {
|
|
4990
|
-
t = te("div"), n = te("div"), r = te("div"), i = te("div"), s = te("div"), a = Qe(
|
|
4991
|
-
e[6], j(E, "class", "CashierSessionExpirationButton"), j(f, "class", "CashierSessionExpiration"), j(
|
|
4992
|
+
t = te("div"), n = te("div"), r = te("div"), i = te("div"), s = te("div"), a = Qe(u), c = ft(), l = te("div"), f = te("div"), J.c(), b = ft(), C.c(), y = ft(), S.c(), O = ft(), E = te("button"), M.c(), j(s, "class", "CashierSessionExpirationModalHeaderTitle"), j(i, "class", "CashierSessionExpirationModalHeader"), j(E, "type", "button"), E.disabled = /*showLoaderButton*/
|
|
4993
|
+
e[6], j(E, "class", "CashierSessionExpirationButton"), j(f, "class", "CashierSessionExpiration"), j(l, "class", "CashierSessionExpirationModalContainer"), j(r, "class", "CashierSessionExpirationModalWrapper"), j(n, "class", "CashierSessionExpirationModalWindow"), j(n, "id", "CashierSessionExpirationModal"), Xe(() => (
|
|
4992
4994
|
/*div5_elementresize_handler*/
|
|
4993
4995
|
e[24].call(n)
|
|
4994
4996
|
));
|
|
4995
4997
|
},
|
|
4996
4998
|
m(h, T) {
|
|
4997
|
-
Se(h, t, T),
|
|
4999
|
+
Se(h, t, T), q(t, n), q(n, r), q(r, i), q(i, s), q(s, a), q(r, c), q(r, l), q(l, f), J.m(f, null), q(f, b), C.m(f, null), q(f, y), S.m(f, null), q(f, O), q(f, E), g[d].m(E, null), e[23](f), $ = qi(
|
|
4998
5000
|
n,
|
|
4999
5001
|
/*div5_elementresize_handler*/
|
|
5000
5002
|
e[24].bind(n)
|
|
5001
|
-
), e[25](t),
|
|
5003
|
+
), e[25](t), A = !0, H || (I = [
|
|
5002
5004
|
kt(
|
|
5003
5005
|
E,
|
|
5004
5006
|
"click",
|
|
@@ -5014,16 +5016,16 @@ function $r(e) {
|
|
|
5014
5016
|
], H = !0);
|
|
5015
5017
|
},
|
|
5016
5018
|
p(h, T) {
|
|
5017
|
-
e = h, (!
|
|
5018
|
-
256) &&
|
|
5019
|
-
e[8]("sessionExpirationHeader") + "") && Xt(a,
|
|
5019
|
+
e = h, (!A || T[0] & /*$_*/
|
|
5020
|
+
256) && u !== (u = /*$_*/
|
|
5021
|
+
e[8]("sessionExpirationHeader") + "") && Xt(a, u), Y ? Y.p && (!A || T[0] & /*$$scope*/
|
|
5020
5022
|
2097152) && Ht(
|
|
5021
|
-
|
|
5023
|
+
Y,
|
|
5022
5024
|
F,
|
|
5023
5025
|
e,
|
|
5024
5026
|
/*$$scope*/
|
|
5025
5027
|
e[21],
|
|
5026
|
-
|
|
5028
|
+
A ? Lt(
|
|
5027
5029
|
F,
|
|
5028
5030
|
/*$$scope*/
|
|
5029
5031
|
e[21],
|
|
@@ -5033,16 +5035,16 @@ function $r(e) {
|
|
|
5033
5035
|
/*$$scope*/
|
|
5034
5036
|
e[21]
|
|
5035
5037
|
),
|
|
5036
|
-
|
|
5037
|
-
) :
|
|
5038
|
-
8) &&
|
|
5038
|
+
Fr
|
|
5039
|
+
) : J.p && (!A || T[0] & /*assetsurl*/
|
|
5040
|
+
8) && J.p(e, A ? T : [-1, -1]), z ? z.p && (!A || T[0] & /*$$scope*/
|
|
5039
5041
|
2097152) && Ht(
|
|
5040
5042
|
z,
|
|
5041
5043
|
Q,
|
|
5042
5044
|
e,
|
|
5043
5045
|
/*$$scope*/
|
|
5044
5046
|
e[21],
|
|
5045
|
-
|
|
5047
|
+
A ? Lt(
|
|
5046
5048
|
Q,
|
|
5047
5049
|
/*$$scope*/
|
|
5048
5050
|
e[21],
|
|
@@ -5052,16 +5054,16 @@ function $r(e) {
|
|
|
5052
5054
|
/*$$scope*/
|
|
5053
5055
|
e[21]
|
|
5054
5056
|
),
|
|
5055
|
-
|
|
5056
|
-
) :
|
|
5057
|
-
256) &&
|
|
5057
|
+
kr
|
|
5058
|
+
) : C.p && (!A || T[0] & /*$_*/
|
|
5059
|
+
256) && C.p(e, A ? T : [-1, -1]), he ? he.p && (!A || T[0] & /*$$scope*/
|
|
5058
5060
|
2097152) && Ht(
|
|
5059
5061
|
he,
|
|
5060
5062
|
ne,
|
|
5061
5063
|
e,
|
|
5062
5064
|
/*$$scope*/
|
|
5063
5065
|
e[21],
|
|
5064
|
-
|
|
5066
|
+
A ? Lt(
|
|
5065
5067
|
ne,
|
|
5066
5068
|
/*$$scope*/
|
|
5067
5069
|
e[21],
|
|
@@ -5071,32 +5073,32 @@ function $r(e) {
|
|
|
5071
5073
|
/*$$scope*/
|
|
5072
5074
|
e[21]
|
|
5073
5075
|
),
|
|
5074
|
-
|
|
5075
|
-
) :
|
|
5076
|
-
384) &&
|
|
5076
|
+
Ur
|
|
5077
|
+
) : S.p && (!A || T[0] & /*$_, timeLeft*/
|
|
5078
|
+
384) && S.p(e, A ? T : [-1, -1]);
|
|
5077
5079
|
let N = d;
|
|
5078
|
-
d = x(e), d === N ? g[d].p(e, T) : (
|
|
5080
|
+
d = x(e), d === N ? g[d].p(e, T) : (Qr(), Ne(g[N], 1, 1, () => {
|
|
5079
5081
|
g[N] = null;
|
|
5080
|
-
}),
|
|
5082
|
+
}), Kr(), M = g[d], M ? M.p(e, T) : (M = g[d] = _[d](e), M.c()), Ae(M, 1), M.m(E, null)), (!A || T[0] & /*showLoaderButton*/
|
|
5081
5083
|
64) && (E.disabled = /*showLoaderButton*/
|
|
5082
5084
|
e[6]);
|
|
5083
5085
|
},
|
|
5084
5086
|
i(h) {
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
+
A || (Ae(J, h), Ae(C, h), Ae(S, h), Ae(M), h && Xe(() => {
|
|
5088
|
+
A && (U || (U = ur(n, lr, { duration: (
|
|
5087
5089
|
/*duration*/
|
|
5088
5090
|
e[2]
|
|
5089
5091
|
) }, !0)), U.run(1));
|
|
5090
|
-
}),
|
|
5092
|
+
}), A = !0);
|
|
5091
5093
|
},
|
|
5092
5094
|
o(h) {
|
|
5093
|
-
Ne(
|
|
5095
|
+
Ne(J, h), Ne(C, h), Ne(S, h), Ne(M), h && (U || (U = ur(n, lr, { duration: (
|
|
5094
5096
|
/*duration*/
|
|
5095
5097
|
e[2]
|
|
5096
|
-
) }, !1)), U.run(0)),
|
|
5098
|
+
) }, !1)), U.run(0)), A = !1;
|
|
5097
5099
|
},
|
|
5098
5100
|
d(h) {
|
|
5099
|
-
h && ge(t),
|
|
5101
|
+
h && ge(t), J.d(h), C.d(h), S.d(h), g[d].d(), e[23](null), $(), h && U && U.end(), e[25](null), H = !1, He(I);
|
|
5100
5102
|
}
|
|
5101
5103
|
};
|
|
5102
5104
|
}
|
|
@@ -5137,7 +5139,7 @@ function $a(e) {
|
|
|
5137
5139
|
}
|
|
5138
5140
|
function ja(e) {
|
|
5139
5141
|
let t;
|
|
5140
|
-
function n(s,
|
|
5142
|
+
function n(s, u) {
|
|
5141
5143
|
return (
|
|
5142
5144
|
/*assetsurl*/
|
|
5143
5145
|
s[3] ? $a : Ga
|
|
@@ -5146,13 +5148,13 @@ function ja(e) {
|
|
|
5146
5148
|
let r = n(e), i = r(e);
|
|
5147
5149
|
return {
|
|
5148
5150
|
c() {
|
|
5149
|
-
i.c(), t =
|
|
5151
|
+
i.c(), t = qr();
|
|
5150
5152
|
},
|
|
5151
|
-
m(s,
|
|
5152
|
-
i.m(s,
|
|
5153
|
+
m(s, u) {
|
|
5154
|
+
i.m(s, u), Se(s, t, u);
|
|
5153
5155
|
},
|
|
5154
|
-
p(s,
|
|
5155
|
-
r === (r = n(s)) && i ? i.p(s,
|
|
5156
|
+
p(s, u) {
|
|
5157
|
+
r === (r = n(s)) && i ? i.p(s, u) : (i.d(1), i = r(s), i && (i.c(), i.m(t.parentNode, t)));
|
|
5156
5158
|
},
|
|
5157
5159
|
d(s) {
|
|
5158
5160
|
s && ge(t), i.d(s);
|
|
@@ -5169,7 +5171,7 @@ function za(e) {
|
|
|
5169
5171
|
t = te("span"), r = Qe(n), j(t, "class", "CashierSessionExpirationTitle");
|
|
5170
5172
|
},
|
|
5171
5173
|
m(i, s) {
|
|
5172
|
-
Se(i, t, s),
|
|
5174
|
+
Se(i, t, s), q(t, r);
|
|
5173
5175
|
},
|
|
5174
5176
|
p(i, s) {
|
|
5175
5177
|
s[0] & /*$_*/
|
|
@@ -5182,7 +5184,7 @@ function za(e) {
|
|
|
5182
5184
|
};
|
|
5183
5185
|
}
|
|
5184
5186
|
function Wa(e) {
|
|
5185
|
-
let t, n =
|
|
5187
|
+
let t, n = Pr.sanitize(
|
|
5186
5188
|
/*$_*/
|
|
5187
5189
|
e[8]("sessionExpirationGeneralText", { values: { second: (
|
|
5188
5190
|
/*timeLeft*/
|
|
@@ -5198,7 +5200,7 @@ function Wa(e) {
|
|
|
5198
5200
|
},
|
|
5199
5201
|
p(r, i) {
|
|
5200
5202
|
i[0] & /*$_, timeLeft*/
|
|
5201
|
-
384 && n !== (n =
|
|
5203
|
+
384 && n !== (n = Pr.sanitize(
|
|
5202
5204
|
/*$_*/
|
|
5203
5205
|
r[8]("sessionExpirationGeneralText", { values: { second: (
|
|
5204
5206
|
/*timeLeft*/
|
|
@@ -5221,17 +5223,17 @@ function Va(e) {
|
|
|
5221
5223
|
e,
|
|
5222
5224
|
/*$$scope*/
|
|
5223
5225
|
e[21],
|
|
5224
|
-
|
|
5226
|
+
Br
|
|
5225
5227
|
), i = r || Ya(e);
|
|
5226
5228
|
return {
|
|
5227
5229
|
c() {
|
|
5228
|
-
i
|
|
5230
|
+
i.c();
|
|
5229
5231
|
},
|
|
5230
|
-
m(s,
|
|
5231
|
-
i
|
|
5232
|
+
m(s, u) {
|
|
5233
|
+
i.m(s, u), t = !0;
|
|
5232
5234
|
},
|
|
5233
|
-
p(s,
|
|
5234
|
-
r ? r.p && (!t ||
|
|
5235
|
+
p(s, u) {
|
|
5236
|
+
r ? r.p && (!t || u[0] & /*$$scope*/
|
|
5235
5237
|
2097152) && Ht(
|
|
5236
5238
|
r,
|
|
5237
5239
|
n,
|
|
@@ -5242,15 +5244,15 @@ function Va(e) {
|
|
|
5242
5244
|
n,
|
|
5243
5245
|
/*$$scope*/
|
|
5244
5246
|
s[21],
|
|
5245
|
-
|
|
5247
|
+
u,
|
|
5246
5248
|
Ba
|
|
5247
5249
|
) : Rt(
|
|
5248
5250
|
/*$$scope*/
|
|
5249
5251
|
s[21]
|
|
5250
5252
|
),
|
|
5251
|
-
|
|
5252
|
-
) : i
|
|
5253
|
-
256) && i.p(s, t ?
|
|
5253
|
+
Br
|
|
5254
|
+
) : i.p && (!t || u[0] & /*$_*/
|
|
5255
|
+
256) && i.p(s, t ? u : [-1, -1]);
|
|
5254
5256
|
},
|
|
5255
5257
|
i(s) {
|
|
5256
5258
|
t || (Ae(i, s), t = !0);
|
|
@@ -5259,26 +5261,26 @@ function Va(e) {
|
|
|
5259
5261
|
Ne(i, s), t = !1;
|
|
5260
5262
|
},
|
|
5261
5263
|
d(s) {
|
|
5262
|
-
i
|
|
5264
|
+
i.d(s);
|
|
5263
5265
|
}
|
|
5264
5266
|
};
|
|
5265
5267
|
}
|
|
5266
5268
|
function Xa(e) {
|
|
5267
|
-
let t, n, r, i, s,
|
|
5269
|
+
let t, n, r, i, s, u = (
|
|
5268
5270
|
/*$_*/
|
|
5269
5271
|
e[8]("sessionExpirationLoadingButton") + ""
|
|
5270
5272
|
), a;
|
|
5271
5273
|
return {
|
|
5272
5274
|
c() {
|
|
5273
|
-
t = te("div"), n =
|
|
5275
|
+
t = te("div"), n = sr("svg"), r = sr("path"), i = ft(), s = te("span"), a = Qe(u), j(r, "d", "M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"), j(r, "fill", "white"), j(n, "class", "CashierSessionExpirationButtonSpinner"), j(n, "xmlns", "http://www.w3.org/2000/svg"), j(n, "width", "15"), j(n, "height", "14"), j(n, "viewBox", "0 0 15 14"), j(n, "fill", "none"), j(s, "class", "CashierSessionExpirationButtonText");
|
|
5274
5276
|
},
|
|
5275
|
-
m(c,
|
|
5276
|
-
Se(c, t,
|
|
5277
|
+
m(c, l) {
|
|
5278
|
+
Se(c, t, l), q(t, n), q(n, r), q(t, i), q(t, s), q(s, a);
|
|
5277
5279
|
},
|
|
5278
|
-
p(c,
|
|
5279
|
-
|
|
5280
|
-
256 &&
|
|
5281
|
-
c[8]("sessionExpirationLoadingButton") + "") && Xt(a,
|
|
5280
|
+
p(c, l) {
|
|
5281
|
+
l[0] & /*$_*/
|
|
5282
|
+
256 && u !== (u = /*$_*/
|
|
5283
|
+
c[8]("sessionExpirationLoadingButton") + "") && Xt(a, u);
|
|
5282
5284
|
},
|
|
5283
5285
|
i: de,
|
|
5284
5286
|
o: de,
|
|
@@ -5297,7 +5299,7 @@ function Ya(e) {
|
|
|
5297
5299
|
t = te("span"), r = Qe(n), j(t, "class", "CashierSessionExpirationButtonText");
|
|
5298
5300
|
},
|
|
5299
5301
|
m(i, s) {
|
|
5300
|
-
Se(i, t, s),
|
|
5302
|
+
Se(i, t, s), q(t, r);
|
|
5301
5303
|
},
|
|
5302
5304
|
p(i, s) {
|
|
5303
5305
|
s[0] & /*$_*/
|
|
@@ -5312,11 +5314,11 @@ function Ya(e) {
|
|
|
5312
5314
|
function Za(e) {
|
|
5313
5315
|
let t, n, r = (
|
|
5314
5316
|
/*show*/
|
|
5315
|
-
e[5] &&
|
|
5317
|
+
e[5] && Gr(e)
|
|
5316
5318
|
);
|
|
5317
5319
|
return {
|
|
5318
5320
|
c() {
|
|
5319
|
-
r && r.c(), t =
|
|
5321
|
+
r && r.c(), t = qr();
|
|
5320
5322
|
},
|
|
5321
5323
|
m(i, s) {
|
|
5322
5324
|
r && r.m(i, s), Se(i, t, s), n = !0;
|
|
@@ -5324,9 +5326,9 @@ function Za(e) {
|
|
|
5324
5326
|
p(i, s) {
|
|
5325
5327
|
/*show*/
|
|
5326
5328
|
i[5] ? r ? (r.p(i, s), s[0] & /*show*/
|
|
5327
|
-
32 && Ae(r, 1)) : (r =
|
|
5329
|
+
32 && Ae(r, 1)) : (r = Gr(i), r.c(), Ae(r, 1), r.m(t.parentNode, t)) : r && (Qr(), Ne(r, 1, 1, () => {
|
|
5328
5330
|
r = null;
|
|
5329
|
-
}),
|
|
5331
|
+
}), Kr());
|
|
5330
5332
|
},
|
|
5331
5333
|
i(i) {
|
|
5332
5334
|
n || (Ae(r), n = !0);
|
|
@@ -5342,17 +5344,17 @@ function Za(e) {
|
|
|
5342
5344
|
const qa = 90;
|
|
5343
5345
|
function Ja(e, t, n) {
|
|
5344
5346
|
let r, i;
|
|
5345
|
-
|
|
5346
|
-
let { $$slots: s = {}, $$scope:
|
|
5347
|
-
|
|
5348
|
-
let { clientstyling: a = "" } = t, { clientstylingurl: c = "" } = t, { width:
|
|
5347
|
+
ir(e, Dr, (m) => n(20, r = m)), ir(e, ua, (m) => n(8, i = m));
|
|
5348
|
+
let { $$slots: s = {}, $$scope: u } = t;
|
|
5349
|
+
Ir.extend(Ha);
|
|
5350
|
+
let { clientstyling: a = "" } = t, { clientstylingurl: c = "" } = t, { width: l } = t, { height: f } = t, { duration: b = 200 } = t, { assetsurl: y = "" } = t, { lang: O = "en" } = t, { translationurl: E = "" } = t, { endpoint: d } = t, { currency: M } = t, { customerid: $ } = t, { selectedpaymentmethodname: U } = t, { mbsource: A = "" } = t, H, I = !1, F = !1, Y, J, Q, z, C;
|
|
5349
5351
|
var ne;
|
|
5350
5352
|
(function(m) {
|
|
5351
5353
|
m.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", m.Success = "Success", m.JwtTokenError = "JwtTokenError";
|
|
5352
5354
|
})(ne || (ne = {}));
|
|
5353
5355
|
const he = (m) => {
|
|
5354
5356
|
m.data.type === "StartSessionCountdown" && (z = m.data.paymentMethodName);
|
|
5355
|
-
},
|
|
5357
|
+
}, S = (m) => {
|
|
5356
5358
|
try {
|
|
5357
5359
|
return JSON.parse(atob(m.split(".")[1]));
|
|
5358
5360
|
} catch {
|
|
@@ -5362,34 +5364,34 @@ function Ja(e, t, n) {
|
|
|
5362
5364
|
window.postMessage(
|
|
5363
5365
|
{
|
|
5364
5366
|
type: "ErrorResponseCode",
|
|
5365
|
-
errorResponseCode:
|
|
5367
|
+
errorResponseCode: C
|
|
5366
5368
|
},
|
|
5367
5369
|
window.location.href
|
|
5368
5370
|
);
|
|
5369
5371
|
}, g = (m) => {
|
|
5370
5372
|
n(5, I = !1);
|
|
5371
|
-
const G =
|
|
5372
|
-
G && (
|
|
5373
|
+
const G = S(m);
|
|
5374
|
+
G && (J = G?.exp, n(7, Y = J), Q && clearInterval(Q), Q = setInterval(
|
|
5373
5375
|
() => {
|
|
5374
5376
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
5375
|
-
n(7,
|
|
5377
|
+
n(7, Y = J - ee), Y <= qa && n(5, I = !0), ee >= J && (x(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
5376
5378
|
},
|
|
5377
5379
|
1e3
|
|
5378
5380
|
));
|
|
5379
5381
|
}, x = () => {
|
|
5380
|
-
n(7,
|
|
5382
|
+
n(7, Y = 0), n(5, I = !1), clearInterval(Q);
|
|
5381
5383
|
}, h = () => {
|
|
5382
5384
|
if (F)
|
|
5383
5385
|
return;
|
|
5384
5386
|
const m = new URL(`${d}/v1/player/${$}/payment/GetPaymentMethod`), G = new Headers();
|
|
5385
|
-
n(6, F = !0), G.append("accept", "application/json"), G.append("Content-Type", "application/json"), G.append("X-Client-Request-Timestamp",
|
|
5387
|
+
n(6, F = !0), G.append("accept", "application/json"), G.append("Content-Type", "application/json"), G.append("X-Client-Request-Timestamp", Ir.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
5386
5388
|
const ee = {
|
|
5387
5389
|
method: "POST",
|
|
5388
5390
|
mode: "cors",
|
|
5389
5391
|
headers: G,
|
|
5390
5392
|
body: JSON.stringify({
|
|
5391
5393
|
PaymentMethodName: z || U,
|
|
5392
|
-
Currency:
|
|
5394
|
+
Currency: M,
|
|
5393
5395
|
XPaymentSessionToken: r
|
|
5394
5396
|
})
|
|
5395
5397
|
};
|
|
@@ -5405,14 +5407,14 @@ function Ja(e, t, n) {
|
|
|
5405
5407
|
return;
|
|
5406
5408
|
}
|
|
5407
5409
|
if (K.ResponseCode === ne.PlayerSessionIsNotValid || K.ResponseCode === ne.JwtTokenError) {
|
|
5408
|
-
|
|
5410
|
+
C = K.ResponseCode, x(), _();
|
|
5409
5411
|
return;
|
|
5410
5412
|
}
|
|
5411
5413
|
if (K.ResponseCode !== ne.Success) {
|
|
5412
|
-
|
|
5414
|
+
C = K.ResponseCode, x();
|
|
5413
5415
|
return;
|
|
5414
5416
|
}
|
|
5415
|
-
K.XPaymentSessionToken &&
|
|
5417
|
+
K.XPaymentSessionToken && Dr.set(K.XPaymentSessionToken);
|
|
5416
5418
|
}).finally(() => n(6, F = !1));
|
|
5417
5419
|
}, T = (m) => {
|
|
5418
5420
|
const G = m.currentTarget;
|
|
@@ -5420,21 +5422,21 @@ function Ja(e, t, n) {
|
|
|
5420
5422
|
}, N = () => {
|
|
5421
5423
|
fetch(E).then((G) => G.json()).then((G) => {
|
|
5422
5424
|
Object.keys(G).forEach((ee) => {
|
|
5423
|
-
|
|
5425
|
+
Ar(ee, G[ee]);
|
|
5424
5426
|
});
|
|
5425
5427
|
}).catch((G) => {
|
|
5426
5428
|
console.log(G);
|
|
5427
5429
|
});
|
|
5428
5430
|
};
|
|
5429
|
-
Object.keys(
|
|
5430
|
-
|
|
5431
|
+
Object.keys(Sr).forEach((m) => {
|
|
5432
|
+
Ar(m, Sr[m]);
|
|
5431
5433
|
});
|
|
5432
5434
|
const L = () => {
|
|
5433
|
-
|
|
5435
|
+
la(O);
|
|
5434
5436
|
};
|
|
5435
|
-
|
|
5437
|
+
rs(() => (window.addEventListener("message", he, !1), () => {
|
|
5436
5438
|
window.removeEventListener("message", he);
|
|
5437
|
-
})),
|
|
5439
|
+
})), is(() => {
|
|
5438
5440
|
clearInterval(Q);
|
|
5439
5441
|
});
|
|
5440
5442
|
function W(m) {
|
|
@@ -5443,60 +5445,60 @@ function Ja(e, t, n) {
|
|
|
5443
5445
|
});
|
|
5444
5446
|
}
|
|
5445
5447
|
function R() {
|
|
5446
|
-
|
|
5448
|
+
l = this.clientWidth, f = this.clientHeight, n(0, l), n(1, f);
|
|
5447
5449
|
}
|
|
5448
|
-
function
|
|
5450
|
+
function Z(m) {
|
|
5449
5451
|
$t[m ? "unshift" : "push"](() => {
|
|
5450
5452
|
H = m, n(4, H);
|
|
5451
5453
|
});
|
|
5452
5454
|
}
|
|
5453
5455
|
return e.$$set = (m) => {
|
|
5454
|
-
"clientstyling" in m && n(11, a = m.clientstyling), "clientstylingurl" in m && n(12, c = m.clientstylingurl), "width" in m && n(0,
|
|
5456
|
+
"clientstyling" in m && n(11, a = m.clientstyling), "clientstylingurl" in m && n(12, c = m.clientstylingurl), "width" in m && n(0, l = m.width), "height" in m && n(1, f = m.height), "duration" in m && n(2, b = m.duration), "assetsurl" in m && n(3, y = m.assetsurl), "lang" in m && n(13, O = m.lang), "translationurl" in m && n(14, E = m.translationurl), "endpoint" in m && n(15, d = m.endpoint), "currency" in m && n(16, M = m.currency), "customerid" in m && n(17, $ = m.customerid), "selectedpaymentmethodname" in m && n(18, U = m.selectedpaymentmethodname), "mbsource" in m && n(19, A = m.mbsource), "$$scope" in m && n(21, u = m.$$scope);
|
|
5455
5457
|
}, e.$$.update = () => {
|
|
5456
5458
|
e.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
5457
5459
|
1048576 && g(r), e.$$.dirty[0] & /*lang*/
|
|
5458
|
-
8192 &&
|
|
5460
|
+
8192 && O && L(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5459
5461
|
2064 && a && H && Ra(H, a), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5460
5462
|
4112 && c && H && Pa(H, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5461
|
-
524304 &&
|
|
5463
|
+
524304 && A && H && Ia(H, `${A}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5462
5464
|
16384 && E && N();
|
|
5463
5465
|
}, [
|
|
5464
|
-
|
|
5466
|
+
l,
|
|
5465
5467
|
f,
|
|
5466
5468
|
b,
|
|
5467
5469
|
y,
|
|
5468
5470
|
H,
|
|
5469
5471
|
I,
|
|
5470
5472
|
F,
|
|
5471
|
-
|
|
5473
|
+
Y,
|
|
5472
5474
|
i,
|
|
5473
5475
|
h,
|
|
5474
5476
|
T,
|
|
5475
5477
|
a,
|
|
5476
5478
|
c,
|
|
5477
|
-
|
|
5479
|
+
O,
|
|
5478
5480
|
E,
|
|
5479
5481
|
d,
|
|
5480
|
-
|
|
5482
|
+
M,
|
|
5481
5483
|
$,
|
|
5482
5484
|
U,
|
|
5483
|
-
|
|
5485
|
+
A,
|
|
5484
5486
|
r,
|
|
5485
|
-
|
|
5487
|
+
u,
|
|
5486
5488
|
s,
|
|
5487
5489
|
W,
|
|
5488
5490
|
R,
|
|
5489
|
-
|
|
5491
|
+
Z
|
|
5490
5492
|
];
|
|
5491
5493
|
}
|
|
5492
|
-
class Qa extends
|
|
5494
|
+
class Qa extends gs {
|
|
5493
5495
|
constructor(t) {
|
|
5494
|
-
super(),
|
|
5496
|
+
super(), ds(
|
|
5495
5497
|
this,
|
|
5496
5498
|
t,
|
|
5497
5499
|
Ja,
|
|
5498
5500
|
Za,
|
|
5499
|
-
|
|
5501
|
+
zr,
|
|
5500
5502
|
{
|
|
5501
5503
|
clientstyling: 11,
|
|
5502
5504
|
clientstylingurl: 12,
|
|
@@ -5520,82 +5522,82 @@ class Qa extends bs {
|
|
|
5520
5522
|
return this.$$.ctx[11];
|
|
5521
5523
|
}
|
|
5522
5524
|
set clientstyling(t) {
|
|
5523
|
-
this.$$set({ clientstyling: t }),
|
|
5525
|
+
this.$$set({ clientstyling: t }), le();
|
|
5524
5526
|
}
|
|
5525
5527
|
get clientstylingurl() {
|
|
5526
5528
|
return this.$$.ctx[12];
|
|
5527
5529
|
}
|
|
5528
5530
|
set clientstylingurl(t) {
|
|
5529
|
-
this.$$set({ clientstylingurl: t }),
|
|
5531
|
+
this.$$set({ clientstylingurl: t }), le();
|
|
5530
5532
|
}
|
|
5531
5533
|
get width() {
|
|
5532
5534
|
return this.$$.ctx[0];
|
|
5533
5535
|
}
|
|
5534
5536
|
set width(t) {
|
|
5535
|
-
this.$$set({ width: t }),
|
|
5537
|
+
this.$$set({ width: t }), le();
|
|
5536
5538
|
}
|
|
5537
5539
|
get height() {
|
|
5538
5540
|
return this.$$.ctx[1];
|
|
5539
5541
|
}
|
|
5540
5542
|
set height(t) {
|
|
5541
|
-
this.$$set({ height: t }),
|
|
5543
|
+
this.$$set({ height: t }), le();
|
|
5542
5544
|
}
|
|
5543
5545
|
get duration() {
|
|
5544
5546
|
return this.$$.ctx[2];
|
|
5545
5547
|
}
|
|
5546
5548
|
set duration(t) {
|
|
5547
|
-
this.$$set({ duration: t }),
|
|
5549
|
+
this.$$set({ duration: t }), le();
|
|
5548
5550
|
}
|
|
5549
5551
|
get assetsurl() {
|
|
5550
5552
|
return this.$$.ctx[3];
|
|
5551
5553
|
}
|
|
5552
5554
|
set assetsurl(t) {
|
|
5553
|
-
this.$$set({ assetsurl: t }),
|
|
5555
|
+
this.$$set({ assetsurl: t }), le();
|
|
5554
5556
|
}
|
|
5555
5557
|
get lang() {
|
|
5556
5558
|
return this.$$.ctx[13];
|
|
5557
5559
|
}
|
|
5558
5560
|
set lang(t) {
|
|
5559
|
-
this.$$set({ lang: t }),
|
|
5561
|
+
this.$$set({ lang: t }), le();
|
|
5560
5562
|
}
|
|
5561
5563
|
get translationurl() {
|
|
5562
5564
|
return this.$$.ctx[14];
|
|
5563
5565
|
}
|
|
5564
5566
|
set translationurl(t) {
|
|
5565
|
-
this.$$set({ translationurl: t }),
|
|
5567
|
+
this.$$set({ translationurl: t }), le();
|
|
5566
5568
|
}
|
|
5567
5569
|
get endpoint() {
|
|
5568
5570
|
return this.$$.ctx[15];
|
|
5569
5571
|
}
|
|
5570
5572
|
set endpoint(t) {
|
|
5571
|
-
this.$$set({ endpoint: t }),
|
|
5573
|
+
this.$$set({ endpoint: t }), le();
|
|
5572
5574
|
}
|
|
5573
5575
|
get currency() {
|
|
5574
5576
|
return this.$$.ctx[16];
|
|
5575
5577
|
}
|
|
5576
5578
|
set currency(t) {
|
|
5577
|
-
this.$$set({ currency: t }),
|
|
5579
|
+
this.$$set({ currency: t }), le();
|
|
5578
5580
|
}
|
|
5579
5581
|
get customerid() {
|
|
5580
5582
|
return this.$$.ctx[17];
|
|
5581
5583
|
}
|
|
5582
5584
|
set customerid(t) {
|
|
5583
|
-
this.$$set({ customerid: t }),
|
|
5585
|
+
this.$$set({ customerid: t }), le();
|
|
5584
5586
|
}
|
|
5585
5587
|
get selectedpaymentmethodname() {
|
|
5586
5588
|
return this.$$.ctx[18];
|
|
5587
5589
|
}
|
|
5588
5590
|
set selectedpaymentmethodname(t) {
|
|
5589
|
-
this.$$set({ selectedpaymentmethodname: t }),
|
|
5591
|
+
this.$$set({ selectedpaymentmethodname: t }), le();
|
|
5590
5592
|
}
|
|
5591
5593
|
get mbsource() {
|
|
5592
5594
|
return this.$$.ctx[19];
|
|
5593
5595
|
}
|
|
5594
5596
|
set mbsource(t) {
|
|
5595
|
-
this.$$set({ mbsource: t }),
|
|
5597
|
+
this.$$set({ mbsource: t }), le();
|
|
5596
5598
|
}
|
|
5597
5599
|
}
|
|
5598
|
-
|
|
5600
|
+
ps(Qa, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
5599
5601
|
export {
|
|
5600
5602
|
Qa as C
|
|
5601
5603
|
};
|