@everymatrix/cashier-session-expiration-modal 1.77.20 → 1.77.22
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-E2PX0m2X.js → CashierSessionExpirationModal-BAFxIrEq.js} +1139 -1133
- package/components/CashierSessionExpirationModal-DqNHgUjj.cjs +9 -0
- package/components/{CashierSessionExpirationModal-BhM5U6bJ.js → CashierSessionExpirationModal-ge0R8xm0.js} +1146 -1140
- 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-negwAlZX.cjs +0 -22
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function de() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const zr = (e) => e;
|
|
4
|
+
function zi(e, t) {
|
|
5
5
|
for (const n in t)
|
|
6
6
|
e[n] = t[n];
|
|
7
7
|
return (
|
|
@@ -9,29 +9,29 @@ function Gi(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Wr(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function rr() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
e.forEach(
|
|
18
|
+
function Ie(e) {
|
|
19
|
+
e.forEach(Wr);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Yt(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Vr(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
|
-
let
|
|
28
|
-
function
|
|
29
|
-
return e === t ? !0 : (
|
|
27
|
+
let At;
|
|
28
|
+
function ir(e, t) {
|
|
29
|
+
return e === t ? !0 : (At || (At = document.createElement("a")), At.href = t, e === At.href);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function Wi(e) {
|
|
32
32
|
return Object.keys(e).length === 0;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Xr(e, ...t) {
|
|
35
35
|
if (e == null) {
|
|
36
36
|
for (const r of t)
|
|
37
37
|
r(void 0);
|
|
@@ -40,19 +40,19 @@ function Wr(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 or(e, t, n) {
|
|
44
|
+
e.$$.on_destroy.push(Xr(t, n));
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function Nt(e, t, n, r) {
|
|
47
47
|
if (e) {
|
|
48
|
-
const i =
|
|
48
|
+
const i = Yr(e, t, n, r);
|
|
49
49
|
return e[0](i);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return e[1] && r ?
|
|
52
|
+
function Yr(e, t, n, r) {
|
|
53
|
+
return e[1] && r ? zi(n.ctx.slice(), e[1](r(t))) : n.ctx;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Ht(e, t, n, r) {
|
|
56
56
|
if (e[2] && r) {
|
|
57
57
|
const i = e[2](r(n));
|
|
58
58
|
if (t.dirty === void 0)
|
|
@@ -67,13 +67,13 @@ function Nt(e, t, n, r) {
|
|
|
67
67
|
}
|
|
68
68
|
return t.dirty;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function It(e, t, n, r, i, o) {
|
|
71
71
|
if (i) {
|
|
72
|
-
const u =
|
|
72
|
+
const u = Yr(t, n, r, o);
|
|
73
73
|
e.p(u, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Pt(e) {
|
|
77
77
|
if (e.ctx.length > 32) {
|
|
78
78
|
const t = [], n = e.ctx.length / 32;
|
|
79
79
|
for (let r = 0; r < n; r++)
|
|
@@ -82,36 +82,36 @@ function It(e) {
|
|
|
82
82
|
}
|
|
83
83
|
return -1;
|
|
84
84
|
}
|
|
85
|
-
const
|
|
86
|
-
let
|
|
87
|
-
const
|
|
88
|
-
function
|
|
89
|
-
|
|
90
|
-
t.c(e) || (
|
|
91
|
-
}),
|
|
85
|
+
const Zr = typeof window < "u";
|
|
86
|
+
let Vi = Zr ? () => window.performance.now() : () => Date.now(), Nn = Zr ? (e) => requestAnimationFrame(e) : de;
|
|
87
|
+
const Ve = /* @__PURE__ */ new Set();
|
|
88
|
+
function qr(e) {
|
|
89
|
+
Ve.forEach((t) => {
|
|
90
|
+
t.c(e) || (Ve.delete(t), t.f());
|
|
91
|
+
}), Ve.size !== 0 && Nn(qr);
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function Xi(e) {
|
|
94
94
|
let t;
|
|
95
|
-
return
|
|
95
|
+
return Ve.size === 0 && Nn(qr), {
|
|
96
96
|
promise: new Promise((n) => {
|
|
97
|
-
|
|
97
|
+
Ve.add(t = { c: e, f: n });
|
|
98
98
|
}),
|
|
99
99
|
abort() {
|
|
100
|
-
|
|
100
|
+
Ve.delete(t);
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
function J(e, t) {
|
|
105
105
|
e.appendChild(t);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
108
|
-
const r =
|
|
107
|
+
function Yi(e, t, n) {
|
|
108
|
+
const r = Hn(e);
|
|
109
109
|
if (!r.getElementById(t)) {
|
|
110
110
|
const i = re("style");
|
|
111
|
-
i.id = t, i.textContent = n,
|
|
111
|
+
i.id = t, i.textContent = n, Jr(r, i);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Hn(e) {
|
|
115
115
|
if (!e)
|
|
116
116
|
return document;
|
|
117
117
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -121,18 +121,18 @@ function Ln(e) {
|
|
|
121
121
|
t
|
|
122
122
|
) : e.ownerDocument;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Zi(e) {
|
|
125
125
|
const t = re("style");
|
|
126
|
-
return t.textContent = "/* empty */",
|
|
126
|
+
return t.textContent = "/* empty */", Jr(Hn(e), t), t.sheet;
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function Jr(e, t) {
|
|
129
129
|
return J(
|
|
130
130
|
/** @type {Document} */
|
|
131
131
|
e.head || e,
|
|
132
132
|
t
|
|
133
133
|
), t.sheet;
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Ce(e, t, n) {
|
|
136
136
|
e.insertBefore(t, n || null);
|
|
137
137
|
}
|
|
138
138
|
function be(e) {
|
|
@@ -141,53 +141,53 @@ function be(e) {
|
|
|
141
141
|
function re(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
|
-
function
|
|
147
|
+
function Ke(e) {
|
|
148
148
|
return document.createTextNode(e);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
return
|
|
150
|
+
function ht() {
|
|
151
|
+
return Ke(" ");
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
return
|
|
153
|
+
function Qr() {
|
|
154
|
+
return Ke("");
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function kt(e, t, n, r) {
|
|
157
157
|
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function W(e, t, n) {
|
|
160
160
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function qi(e) {
|
|
163
163
|
return Array.from(e.childNodes);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function Zt(e, t) {
|
|
166
166
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
167
167
|
t);
|
|
168
168
|
}
|
|
169
|
-
let
|
|
170
|
-
function
|
|
171
|
-
if (
|
|
172
|
-
|
|
169
|
+
let Ot;
|
|
170
|
+
function Ji() {
|
|
171
|
+
if (Ot === void 0) {
|
|
172
|
+
Ot = !1;
|
|
173
173
|
try {
|
|
174
174
|
typeof window < "u" && window.parent && window.parent.document;
|
|
175
175
|
} catch {
|
|
176
|
-
|
|
176
|
+
Ot = !0;
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
-
return
|
|
179
|
+
return Ot;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function Qi(e, t) {
|
|
182
182
|
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
|
183
183
|
const r = re("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 = Ji();
|
|
189
189
|
let o;
|
|
190
|
-
return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o =
|
|
190
|
+
return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = kt(
|
|
191
191
|
window,
|
|
192
192
|
"message",
|
|
193
193
|
/** @param {MessageEvent} event */
|
|
@@ -195,15 +195,15 @@ function qi(e, t) {
|
|
|
195
195
|
u.source === r.contentWindow && t();
|
|
196
196
|
}
|
|
197
197
|
)) : (r.src = "about:blank", r.onload = () => {
|
|
198
|
-
o =
|
|
198
|
+
o = kt(r.contentWindow, "resize", t), t();
|
|
199
199
|
}), J(e, r), () => {
|
|
200
200
|
(i || o && r.contentWindow) && o(), be(r);
|
|
201
201
|
};
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function Ki(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 eo(e) {
|
|
207
207
|
const t = {};
|
|
208
208
|
return e.childNodes.forEach(
|
|
209
209
|
/** @param {Element} node */
|
|
@@ -212,151 +212,151 @@ function Qi(e) {
|
|
|
212
212
|
}
|
|
213
213
|
), t;
|
|
214
214
|
}
|
|
215
|
-
const
|
|
216
|
-
let
|
|
217
|
-
function
|
|
215
|
+
const Ft = /* @__PURE__ */ new Map();
|
|
216
|
+
let Gt = 0;
|
|
217
|
+
function to(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:
|
|
225
|
-
return
|
|
223
|
+
function no(e, t) {
|
|
224
|
+
const n = { stylesheet: Zi(t), rules: {} };
|
|
225
|
+
return Ft.set(e, n), n;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function ar(e, t, n, r, i, o, u, a = 0) {
|
|
228
228
|
const c = 16.666 / r;
|
|
229
229
|
let l = `{
|
|
230
230
|
`;
|
|
231
231
|
for (let C = 0; C <= 1; C += c) {
|
|
232
|
-
const
|
|
233
|
-
l += C * 100 + `%{${u(
|
|
232
|
+
const F = t + (n - t) * o(C);
|
|
233
|
+
l += C * 100 + `%{${u(F, 1 - F)}}
|
|
234
234
|
`;
|
|
235
235
|
}
|
|
236
236
|
const f = l + `100% {${u(n, 1 - n)}}
|
|
237
|
-
}`, _ = `__svelte_${
|
|
237
|
+
}`, _ = `__svelte_${to(f)}_${a}`, y = Hn(e), { stylesheet: M, rules: b } = Ft.get(y) || no(y, e);
|
|
238
238
|
b[_] || (b[_] = !0, M.insertRule(`@keyframes ${_} ${f}`, M.cssRules.length));
|
|
239
239
|
const d = e.style.animation || "";
|
|
240
|
-
return e.style.animation = `${d ? `${d}, ` : ""}${_} ${r}ms linear ${i}ms 1 both`,
|
|
240
|
+
return e.style.animation = `${d ? `${d}, ` : ""}${_} ${r}ms linear ${i}ms 1 both`, Gt += 1, _;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function ro(e, t) {
|
|
243
243
|
const n = (e.style.animation || "").split(", "), r = n.filter(
|
|
244
244
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
245
245
|
// remove all Svelte animations
|
|
246
246
|
), i = n.length - r.length;
|
|
247
|
-
i && (e.style.animation = r.join(", "),
|
|
247
|
+
i && (e.style.animation = r.join(", "), Gt -= i, Gt || io());
|
|
248
248
|
}
|
|
249
|
-
function
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
function io() {
|
|
250
|
+
Nn(() => {
|
|
251
|
+
Gt || (Ft.forEach((e) => {
|
|
252
252
|
const { ownerNode: t } = e.stylesheet;
|
|
253
253
|
t && be(t);
|
|
254
|
-
}),
|
|
254
|
+
}), Ft.clear());
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
|
-
let
|
|
258
|
-
function
|
|
259
|
-
|
|
257
|
+
let pt;
|
|
258
|
+
function dt(e) {
|
|
259
|
+
pt = e;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
if (!
|
|
261
|
+
function Kr() {
|
|
262
|
+
if (!pt)
|
|
263
263
|
throw new Error("Function called outside component initialization");
|
|
264
|
-
return
|
|
264
|
+
return pt;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
|
|
266
|
+
function oo(e) {
|
|
267
|
+
Kr().$$.on_mount.push(e);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
270
|
-
|
|
269
|
+
function so(e) {
|
|
270
|
+
Kr().$$.on_destroy.push(e);
|
|
271
271
|
}
|
|
272
|
-
const
|
|
273
|
-
let
|
|
274
|
-
const
|
|
275
|
-
let
|
|
276
|
-
function
|
|
277
|
-
|
|
272
|
+
const We = [], jt = [];
|
|
273
|
+
let Xe = [];
|
|
274
|
+
const ur = [], ao = /* @__PURE__ */ Promise.resolve();
|
|
275
|
+
let yn = !1;
|
|
276
|
+
function uo() {
|
|
277
|
+
yn || (yn = !0, ao.then(le));
|
|
278
278
|
}
|
|
279
|
-
function
|
|
280
|
-
|
|
279
|
+
function Ye(e) {
|
|
280
|
+
Xe.push(e);
|
|
281
281
|
}
|
|
282
|
-
const
|
|
283
|
-
let
|
|
282
|
+
const an = /* @__PURE__ */ new Set();
|
|
283
|
+
let je = 0;
|
|
284
284
|
function le() {
|
|
285
|
-
if (
|
|
285
|
+
if (je !== 0)
|
|
286
286
|
return;
|
|
287
|
-
const e =
|
|
287
|
+
const e = pt;
|
|
288
288
|
do {
|
|
289
289
|
try {
|
|
290
|
-
for (;
|
|
291
|
-
const t =
|
|
292
|
-
|
|
290
|
+
for (; je < We.length; ) {
|
|
291
|
+
const t = We[je];
|
|
292
|
+
je++, dt(t), lo(t.$$);
|
|
293
293
|
}
|
|
294
294
|
} catch (t) {
|
|
295
|
-
throw
|
|
295
|
+
throw We.length = 0, je = 0, t;
|
|
296
296
|
}
|
|
297
|
-
for (
|
|
298
|
-
|
|
299
|
-
for (let t = 0; t <
|
|
300
|
-
const n =
|
|
301
|
-
|
|
297
|
+
for (dt(null), We.length = 0, je = 0; jt.length; )
|
|
298
|
+
jt.pop()();
|
|
299
|
+
for (let t = 0; t < Xe.length; t += 1) {
|
|
300
|
+
const n = Xe[t];
|
|
301
|
+
an.has(n) || (an.add(n), n());
|
|
302
302
|
}
|
|
303
|
-
|
|
304
|
-
} while (
|
|
305
|
-
for (;
|
|
306
|
-
|
|
307
|
-
|
|
303
|
+
Xe.length = 0;
|
|
304
|
+
} while (We.length);
|
|
305
|
+
for (; ur.length; )
|
|
306
|
+
ur.pop()();
|
|
307
|
+
yn = !1, an.clear(), dt(e);
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function lo(e) {
|
|
310
310
|
if (e.fragment !== null) {
|
|
311
|
-
e.update(),
|
|
311
|
+
e.update(), Ie(e.before_update);
|
|
312
312
|
const t = e.dirty;
|
|
313
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
313
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function co(e) {
|
|
317
317
|
const t = [], n = [];
|
|
318
|
-
|
|
318
|
+
Xe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Xe = t;
|
|
319
319
|
}
|
|
320
|
-
let
|
|
321
|
-
function
|
|
322
|
-
return
|
|
323
|
-
|
|
324
|
-
})),
|
|
320
|
+
let ot;
|
|
321
|
+
function fo() {
|
|
322
|
+
return ot || (ot = Promise.resolve(), ot.then(() => {
|
|
323
|
+
ot = null;
|
|
324
|
+
})), ot;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
327
|
-
e.dispatchEvent(
|
|
326
|
+
function un(e, t, n) {
|
|
327
|
+
e.dispatchEvent(Ki(`${t ? "intro" : "outro"}${n}`));
|
|
328
328
|
}
|
|
329
|
-
const
|
|
330
|
-
let
|
|
331
|
-
function
|
|
332
|
-
|
|
329
|
+
const Rt = /* @__PURE__ */ new Set();
|
|
330
|
+
let Me;
|
|
331
|
+
function ei() {
|
|
332
|
+
Me = {
|
|
333
333
|
r: 0,
|
|
334
334
|
c: [],
|
|
335
|
-
p:
|
|
335
|
+
p: Me
|
|
336
336
|
// parent group
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
|
-
function
|
|
340
|
-
|
|
339
|
+
function ti() {
|
|
340
|
+
Me.r || Ie(Me.c), Me = Me.p;
|
|
341
341
|
}
|
|
342
342
|
function Se(e, t) {
|
|
343
|
-
e && e.i && (
|
|
343
|
+
e && e.i && (Rt.delete(e), e.i(t));
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function Ne(e, t, n, r) {
|
|
346
346
|
if (e && e.o) {
|
|
347
|
-
if (
|
|
347
|
+
if (Rt.has(e))
|
|
348
348
|
return;
|
|
349
|
-
|
|
350
|
-
|
|
349
|
+
Rt.add(e), Me.c.push(() => {
|
|
350
|
+
Rt.delete(e), r && (n && e.d(1), r());
|
|
351
351
|
}), e.o(t);
|
|
352
352
|
} else
|
|
353
353
|
r && r();
|
|
354
354
|
}
|
|
355
|
-
const
|
|
356
|
-
function
|
|
355
|
+
const ho = { duration: 0 };
|
|
356
|
+
function lr(e, t, n, r) {
|
|
357
357
|
let o = t(e, n, { direction: "both" }), u = r ? 0 : 1, a = null, c = null, l = null, f;
|
|
358
358
|
function _() {
|
|
359
|
-
l &&
|
|
359
|
+
l && ro(e, l);
|
|
360
360
|
}
|
|
361
361
|
function y(b, d) {
|
|
362
362
|
const C = (
|
|
@@ -377,29 +377,29 @@ function ar(e, t, n, r) {
|
|
|
377
377
|
const {
|
|
378
378
|
delay: d = 0,
|
|
379
379
|
duration: C = 300,
|
|
380
|
-
easing:
|
|
380
|
+
easing: F = zr,
|
|
381
381
|
tick: $ = de,
|
|
382
382
|
css: w
|
|
383
|
-
} = o ||
|
|
384
|
-
start:
|
|
383
|
+
} = o || ho, H = {
|
|
384
|
+
start: Vi() + d,
|
|
385
385
|
b
|
|
386
386
|
};
|
|
387
|
-
b || (H.group =
|
|
388
|
-
e.inert, e.inert = !0)), a || c ? c = H : (w && (_(), l =
|
|
389
|
-
if (c && R > c.start && (a = y(c, C), c = null,
|
|
387
|
+
b || (H.group = Me, Me.r += 1), "inert" in e && (b ? f !== void 0 && (e.inert = f) : (f = /** @type {HTMLElement} */
|
|
388
|
+
e.inert, e.inert = !0)), a || c ? c = H : (w && (_(), l = ar(e, u, b, C, d, F, w)), b && $(0, 1), a = y(H, C), Ye(() => un(e, b, "start")), Xi((R) => {
|
|
389
|
+
if (c && R > c.start && (a = y(c, C), c = null, un(e, a.b, "start"), w && (_(), l = ar(
|
|
390
390
|
e,
|
|
391
391
|
u,
|
|
392
392
|
a.b,
|
|
393
393
|
a.duration,
|
|
394
394
|
0,
|
|
395
|
-
|
|
395
|
+
F,
|
|
396
396
|
o.css
|
|
397
397
|
))), a) {
|
|
398
398
|
if (R >= a.end)
|
|
399
|
-
$(u = a.b, 1 - u),
|
|
399
|
+
$(u = a.b, 1 - u), un(e, a.b, "end"), c || (a.b ? _() : --a.group.r || Ie(a.group.c)), a = null;
|
|
400
400
|
else if (R >= a.start) {
|
|
401
|
-
const
|
|
402
|
-
u = a.a + a.d *
|
|
401
|
+
const U = R - a.start;
|
|
402
|
+
u = a.a + a.d * F(U / a.duration), $(u, 1 - u);
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
return !!(a || c);
|
|
@@ -407,7 +407,7 @@ function ar(e, t, n, r) {
|
|
|
407
407
|
}
|
|
408
408
|
return {
|
|
409
409
|
run(b) {
|
|
410
|
-
|
|
410
|
+
Yt(o) ? fo().then(() => {
|
|
411
411
|
o = o({ direction: b ? "in" : "out" }), M(b);
|
|
412
412
|
}) : M(b);
|
|
413
413
|
},
|
|
@@ -416,23 +416,23 @@ function ar(e, t, n, r) {
|
|
|
416
416
|
}
|
|
417
417
|
};
|
|
418
418
|
}
|
|
419
|
-
function
|
|
419
|
+
function mo(e, t, n) {
|
|
420
420
|
const { fragment: r, after_update: i } = e.$$;
|
|
421
|
-
r && r.m(t, n),
|
|
422
|
-
const o = e.$$.on_mount.map(
|
|
423
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
424
|
-
}), i.forEach(
|
|
421
|
+
r && r.m(t, n), Ye(() => {
|
|
422
|
+
const o = e.$$.on_mount.map(Wr).filter(Yt);
|
|
423
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ie(o), e.$$.on_mount = [];
|
|
424
|
+
}), i.forEach(Ye);
|
|
425
425
|
}
|
|
426
|
-
function
|
|
426
|
+
function po(e, t) {
|
|
427
427
|
const n = e.$$;
|
|
428
|
-
n.fragment !== null && (
|
|
428
|
+
n.fragment !== null && (co(n.after_update), Ie(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 && (
|
|
430
|
+
function go(e, t) {
|
|
431
|
+
e.$$.dirty[0] === -1 && (We.push(e), uo(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
432
432
|
}
|
|
433
|
-
function
|
|
434
|
-
const c =
|
|
435
|
-
|
|
433
|
+
function _o(e, t, n, r, i, o, u = null, a = [-1]) {
|
|
434
|
+
const c = pt;
|
|
435
|
+
dt(e);
|
|
436
436
|
const l = e.$$ = {
|
|
437
437
|
fragment: null,
|
|
438
438
|
ctx: [],
|
|
@@ -440,7 +440,7 @@ function po(e, t, n, r, i, o, u = null, a = [-1]) {
|
|
|
440
440
|
props: o,
|
|
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,7 +449,7 @@ function po(e, t, n, r, i, o, u = 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
|
|
@@ -458,19 +458,19 @@ function po(e, t, n, r, i, o, u = null, a = [-1]) {
|
|
|
458
458
|
let f = !1;
|
|
459
459
|
if (l.ctx = n ? n(e, t.props || {}, (_, y, ...M) => {
|
|
460
460
|
const b = M.length ? M[0] : y;
|
|
461
|
-
return l.ctx && i(l.ctx[_], l.ctx[_] = b) && (!l.skip_bound && l.bound[_] && l.bound[_](b), f &&
|
|
462
|
-
}) : [], l.update(), f = !0,
|
|
461
|
+
return l.ctx && i(l.ctx[_], l.ctx[_] = b) && (!l.skip_bound && l.bound[_] && l.bound[_](b), f && go(e, _)), y;
|
|
462
|
+
}) : [], l.update(), f = !0, Ie(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
|
|
463
463
|
if (t.hydrate) {
|
|
464
|
-
const _ =
|
|
464
|
+
const _ = qi(t.target);
|
|
465
465
|
l.fragment && l.fragment.l(_), _.forEach(be);
|
|
466
466
|
} else
|
|
467
467
|
l.fragment && l.fragment.c();
|
|
468
|
-
t.intro && Se(e.$$.fragment),
|
|
468
|
+
t.intro && Se(e.$$.fragment), mo(e, t.target, t.anchor), le();
|
|
469
469
|
}
|
|
470
|
-
|
|
470
|
+
dt(c);
|
|
471
471
|
}
|
|
472
|
-
let
|
|
473
|
-
typeof HTMLElement == "function" && (
|
|
472
|
+
let ni;
|
|
473
|
+
typeof HTMLElement == "function" && (ni = class extends HTMLElement {
|
|
474
474
|
/** The Svelte component constructor */
|
|
475
475
|
$$ctor;
|
|
476
476
|
/** Slots */
|
|
@@ -512,14 +512,14 @@ typeof HTMLElement == "function" && (ei = class extends HTMLElement {
|
|
|
512
512
|
let o;
|
|
513
513
|
return {
|
|
514
514
|
c: function() {
|
|
515
|
-
o = re("slot"), i !== "default" &&
|
|
515
|
+
o = re("slot"), i !== "default" && W(o, "name", i);
|
|
516
516
|
},
|
|
517
517
|
/**
|
|
518
518
|
* @param {HTMLElement} target
|
|
519
519
|
* @param {HTMLElement} [anchor]
|
|
520
520
|
*/
|
|
521
521
|
m: function(c, l) {
|
|
522
|
-
|
|
522
|
+
Ce(c, o, l);
|
|
523
523
|
},
|
|
524
524
|
d: function(c) {
|
|
525
525
|
c && be(o);
|
|
@@ -529,12 +529,12 @@ typeof HTMLElement == "function" && (ei = 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 = eo(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) {
|
|
536
536
|
const o = this.$$g_p(i.name);
|
|
537
|
-
o in this.$$d || (this.$$d[o] =
|
|
537
|
+
o in this.$$d || (this.$$d[o] = Dt(o, i.value, this.$$p_d, "toProp"));
|
|
538
538
|
}
|
|
539
539
|
for (const i in this.$$p_d)
|
|
540
540
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -552,7 +552,7 @@ typeof HTMLElement == "function" && (ei = class extends HTMLElement {
|
|
|
552
552
|
this.$$r = !0;
|
|
553
553
|
for (const i in this.$$p_d)
|
|
554
554
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
555
|
-
const o =
|
|
555
|
+
const o = Dt(
|
|
556
556
|
i,
|
|
557
557
|
this.$$d[i],
|
|
558
558
|
this.$$p_d,
|
|
@@ -574,7 +574,7 @@ typeof HTMLElement == "function" && (ei = class extends HTMLElement {
|
|
|
574
574
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
575
575
|
// and setting attributes through setAttribute etc, this is helpful
|
|
576
576
|
attributeChangedCallback(e, t, n) {
|
|
577
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
577
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Dt(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
578
578
|
}
|
|
579
579
|
disconnectedCallback() {
|
|
580
580
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -587,7 +587,7 @@ typeof HTMLElement == "function" && (ei = class extends HTMLElement {
|
|
|
587
587
|
) || e;
|
|
588
588
|
}
|
|
589
589
|
});
|
|
590
|
-
function
|
|
590
|
+
function Dt(e, t, n, r) {
|
|
591
591
|
const i = n[e]?.type;
|
|
592
592
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
593
593
|
return t;
|
|
@@ -616,8 +616,8 @@ function Rt(e, t, n, r) {
|
|
|
616
616
|
return t;
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
|
-
function
|
|
620
|
-
let u = class extends
|
|
619
|
+
function bo(e, t, n, r, i, o) {
|
|
620
|
+
let u = class extends ni {
|
|
621
621
|
constructor() {
|
|
622
622
|
super(e, n, i), this.$$p_d = t;
|
|
623
623
|
}
|
|
@@ -633,7 +633,7 @@ function go(e, t, n, r, i, o) {
|
|
|
633
633
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
634
634
|
},
|
|
635
635
|
set(c) {
|
|
636
|
-
c =
|
|
636
|
+
c = Dt(a, c, t), this.$$d[a] = c, this.$$c?.$set({ [a]: c });
|
|
637
637
|
}
|
|
638
638
|
});
|
|
639
639
|
}), r.forEach((a) => {
|
|
@@ -645,7 +645,7 @@ function go(e, t, n, r, i, o) {
|
|
|
645
645
|
}), e.element = /** @type {any} */
|
|
646
646
|
u, u;
|
|
647
647
|
}
|
|
648
|
-
class
|
|
648
|
+
class Eo {
|
|
649
649
|
/**
|
|
650
650
|
* ### PRIVATE API
|
|
651
651
|
*
|
|
@@ -664,7 +664,7 @@ class _o {
|
|
|
664
664
|
$$set = void 0;
|
|
665
665
|
/** @returns {void} */
|
|
666
666
|
$destroy() {
|
|
667
|
-
|
|
667
|
+
po(this, 1), this.$destroy = de;
|
|
668
668
|
}
|
|
669
669
|
/**
|
|
670
670
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -673,7 +673,7 @@ class _o {
|
|
|
673
673
|
* @returns {() => void}
|
|
674
674
|
*/
|
|
675
675
|
$on(t, n) {
|
|
676
|
-
if (!
|
|
676
|
+
if (!Yt(n))
|
|
677
677
|
return de;
|
|
678
678
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
679
679
|
return r.push(n), () => {
|
|
@@ -686,12 +686,12 @@ class _o {
|
|
|
686
686
|
* @returns {void}
|
|
687
687
|
*/
|
|
688
688
|
$set(t) {
|
|
689
|
-
this.$$set && !
|
|
689
|
+
this.$$set && !Wi(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 yo = "4";
|
|
693
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yo);
|
|
694
|
+
function cr(e, { delay: t = 0, duration: n = 400, easing: r = zr } = {}) {
|
|
695
695
|
const i = +getComputedStyle(e).opacity;
|
|
696
696
|
return {
|
|
697
697
|
delay: t,
|
|
@@ -700,24 +700,24 @@ function ur(e, { delay: t = 0, duration: n = 400, easing: r = Gr } = {}) {
|
|
|
700
700
|
css: (o) => `opacity: ${o * i}`
|
|
701
701
|
};
|
|
702
702
|
}
|
|
703
|
-
const
|
|
704
|
-
function
|
|
703
|
+
const ze = [];
|
|
704
|
+
function xo(e, t) {
|
|
705
705
|
return {
|
|
706
|
-
subscribe:
|
|
706
|
+
subscribe: bt(e, t).subscribe
|
|
707
707
|
};
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function bt(e, t = de) {
|
|
710
710
|
let n;
|
|
711
711
|
const r = /* @__PURE__ */ new Set();
|
|
712
712
|
function i(a) {
|
|
713
|
-
if (
|
|
714
|
-
const c = !
|
|
713
|
+
if (Vr(e, a) && (e = a, n)) {
|
|
714
|
+
const c = !ze.length;
|
|
715
715
|
for (const l of r)
|
|
716
|
-
l[1](),
|
|
716
|
+
l[1](), ze.push(l, e);
|
|
717
717
|
if (c) {
|
|
718
|
-
for (let l = 0; l <
|
|
719
|
-
|
|
720
|
-
|
|
718
|
+
for (let l = 0; l < ze.length; l += 2)
|
|
719
|
+
ze[l][0](ze[l + 1]);
|
|
720
|
+
ze.length = 0;
|
|
721
721
|
}
|
|
722
722
|
}
|
|
723
723
|
}
|
|
@@ -732,12 +732,12 @@ function _t(e, t = de) {
|
|
|
732
732
|
}
|
|
733
733
|
return { set: i, update: o, subscribe: u };
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function et(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 o = t.length < 2;
|
|
740
|
-
return
|
|
740
|
+
return xo(n, (u, a) => {
|
|
741
741
|
let c = !1;
|
|
742
742
|
const l = [];
|
|
743
743
|
let f = 0, _ = de;
|
|
@@ -746,9 +746,9 @@ function Ke(e, t, n) {
|
|
|
746
746
|
return;
|
|
747
747
|
_();
|
|
748
748
|
const b = t(r ? l[0] : l, u, a);
|
|
749
|
-
o ? u(b) : _ =
|
|
749
|
+
o ? u(b) : _ = Yt(b) ? b : de;
|
|
750
750
|
}, M = i.map(
|
|
751
|
-
(b, d) =>
|
|
751
|
+
(b, d) => Xr(
|
|
752
752
|
b,
|
|
753
753
|
(C) => {
|
|
754
754
|
l[d] = C, f &= ~(1 << d), c && y();
|
|
@@ -759,127 +759,113 @@ function Ke(e, t, n) {
|
|
|
759
759
|
)
|
|
760
760
|
);
|
|
761
761
|
return c = !0, y(), function() {
|
|
762
|
-
|
|
762
|
+
Ie(M), _(), c = !1;
|
|
763
763
|
};
|
|
764
764
|
});
|
|
765
765
|
}
|
|
766
|
-
var
|
|
767
|
-
function
|
|
766
|
+
var ri = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
767
|
+
function In(e) {
|
|
768
768
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
769
769
|
}
|
|
770
|
-
var
|
|
771
|
-
return
|
|
770
|
+
var vo = function(t) {
|
|
771
|
+
return To(t) && !So(t);
|
|
772
772
|
};
|
|
773
|
-
function
|
|
773
|
+
function To(e) {
|
|
774
774
|
return !!e && typeof e == "object";
|
|
775
775
|
}
|
|
776
|
-
function
|
|
776
|
+
function So(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]" || Oo(e);
|
|
779
779
|
}
|
|
780
|
-
var
|
|
781
|
-
function
|
|
782
|
-
return e.$$typeof ===
|
|
780
|
+
var wo = typeof Symbol == "function" && Symbol.for, Ao = wo ? Symbol.for("react.element") : 60103;
|
|
781
|
+
function Oo(e) {
|
|
782
|
+
return e.$$typeof === Ao;
|
|
783
783
|
}
|
|
784
|
-
function
|
|
784
|
+
function Mo(e) {
|
|
785
785
|
return Array.isArray(e) ? [] : {};
|
|
786
786
|
}
|
|
787
|
-
function
|
|
788
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
787
|
+
function gt(e, t) {
|
|
788
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ze(Mo(e), e, t) : e;
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function Co(e, t, n) {
|
|
791
791
|
return e.concat(t).map(function(r) {
|
|
792
|
-
return
|
|
792
|
+
return gt(r, n);
|
|
793
793
|
});
|
|
794
794
|
}
|
|
795
|
-
function
|
|
795
|
+
function Lo(e, t) {
|
|
796
796
|
if (!t.customMerge)
|
|
797
|
-
return
|
|
797
|
+
return Ze;
|
|
798
798
|
var n = t.customMerge(e);
|
|
799
|
-
return typeof n == "function" ? n :
|
|
799
|
+
return typeof n == "function" ? n : Ze;
|
|
800
800
|
}
|
|
801
|
-
function
|
|
801
|
+
function No(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 fr(e) {
|
|
807
|
+
return Object.keys(e).concat(No(e));
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function ii(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 Ho(e, t) {
|
|
817
|
+
return ii(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
818
818
|
}
|
|
819
|
-
function
|
|
819
|
+
function Io(e, t, n) {
|
|
820
820
|
var r = {};
|
|
821
|
-
return n.isMergeableObject(e) &&
|
|
822
|
-
r[i] =
|
|
823
|
-
}),
|
|
824
|
-
|
|
821
|
+
return n.isMergeableObject(e) && fr(e).forEach(function(i) {
|
|
822
|
+
r[i] = gt(e[i], n);
|
|
823
|
+
}), fr(t).forEach(function(i) {
|
|
824
|
+
Ho(e, i) || (ii(e, i) && n.isMergeableObject(t[i]) ? r[i] = Lo(i, n)(e[i], t[i], n) : r[i] = gt(t[i], n));
|
|
825
825
|
}), r;
|
|
826
826
|
}
|
|
827
|
-
function
|
|
828
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
827
|
+
function Ze(e, t, n) {
|
|
828
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Co, n.isMergeableObject = n.isMergeableObject || vo, n.cloneUnlessOtherwiseSpecified = gt;
|
|
829
829
|
var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
|
|
830
|
-
return o ? r ? n.arrayMerge(e, t, n) :
|
|
830
|
+
return o ? r ? n.arrayMerge(e, t, n) : Io(e, t, n) : gt(t, n);
|
|
831
831
|
}
|
|
832
|
-
|
|
832
|
+
Ze.all = function(t, n) {
|
|
833
833
|
if (!Array.isArray(t))
|
|
834
834
|
throw new Error("first argument should be an array");
|
|
835
835
|
return t.reduce(function(r, i) {
|
|
836
|
-
return
|
|
836
|
+
return Ze(r, i, n);
|
|
837
837
|
}, {});
|
|
838
838
|
};
|
|
839
|
-
var
|
|
840
|
-
const
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
845
|
-
purpose with or without fee is hereby granted.
|
|
846
|
-
|
|
847
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
848
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
849
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
850
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
851
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
852
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
853
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
854
|
-
***************************************************************************** */
|
|
855
|
-
var En = function(e, t) {
|
|
856
|
-
return En = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
839
|
+
var Po = Ze, Ro = Po;
|
|
840
|
+
const Do = /* @__PURE__ */ In(Ro);
|
|
841
|
+
var xn = function(e, t) {
|
|
842
|
+
return xn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
857
843
|
n.__proto__ = r;
|
|
858
844
|
} || function(n, r) {
|
|
859
845
|
for (var i in r)
|
|
860
846
|
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
861
|
-
},
|
|
847
|
+
}, xn(e, t);
|
|
862
848
|
};
|
|
863
|
-
function
|
|
849
|
+
function qt(e, t) {
|
|
864
850
|
if (typeof t != "function" && t !== null)
|
|
865
851
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
866
|
-
|
|
852
|
+
xn(e, t);
|
|
867
853
|
function n() {
|
|
868
854
|
this.constructor = e;
|
|
869
855
|
}
|
|
870
856
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
871
857
|
}
|
|
872
|
-
var
|
|
873
|
-
return
|
|
858
|
+
var we = function() {
|
|
859
|
+
return we = Object.assign || function(t) {
|
|
874
860
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
875
861
|
n = arguments[r];
|
|
876
862
|
for (var o in n)
|
|
877
863
|
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
878
864
|
}
|
|
879
865
|
return t;
|
|
880
|
-
},
|
|
866
|
+
}, we.apply(this, arguments);
|
|
881
867
|
};
|
|
882
|
-
function
|
|
868
|
+
function Bo(e, t) {
|
|
883
869
|
var n = {};
|
|
884
870
|
for (var r in e)
|
|
885
871
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -888,43 +874,43 @@ function Ro(e, t) {
|
|
|
888
874
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
889
875
|
return n;
|
|
890
876
|
}
|
|
891
|
-
function
|
|
892
|
-
if (arguments.length === 2)
|
|
877
|
+
function ln(e, t, n) {
|
|
878
|
+
if (n || arguments.length === 2)
|
|
893
879
|
for (var r = 0, i = t.length, o; r < i; r++)
|
|
894
880
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
895
|
-
return e.concat(o || t);
|
|
881
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
896
882
|
}
|
|
897
|
-
function
|
|
898
|
-
var n = t && t.cache ? t.cache :
|
|
883
|
+
function cn(e, t) {
|
|
884
|
+
var n = t && t.cache ? t.cache : zo, r = t && t.serializer ? t.serializer : Go, i = t && t.strategy ? t.strategy : ko;
|
|
899
885
|
return i(e, {
|
|
900
886
|
cache: n,
|
|
901
887
|
serializer: r
|
|
902
888
|
});
|
|
903
889
|
}
|
|
904
|
-
function
|
|
890
|
+
function $o(e) {
|
|
905
891
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
906
892
|
}
|
|
907
|
-
function
|
|
908
|
-
var i =
|
|
893
|
+
function Uo(e, t, n, r) {
|
|
894
|
+
var i = $o(r) ? r : n(r), o = t.get(i);
|
|
909
895
|
return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
|
|
910
896
|
}
|
|
911
|
-
function
|
|
897
|
+
function oi(e, t, n) {
|
|
912
898
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
|
|
913
899
|
return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
|
|
914
900
|
}
|
|
915
|
-
function
|
|
901
|
+
function si(e, t, n, r, i) {
|
|
916
902
|
return n.bind(t, e, r, i);
|
|
917
903
|
}
|
|
918
|
-
function
|
|
919
|
-
var n = e.length === 1 ?
|
|
920
|
-
return
|
|
904
|
+
function ko(e, t) {
|
|
905
|
+
var n = e.length === 1 ? Uo : oi;
|
|
906
|
+
return si(e, this, n, t.cache.create(), t.serializer);
|
|
921
907
|
}
|
|
922
|
-
function
|
|
923
|
-
return
|
|
908
|
+
function Fo(e, t) {
|
|
909
|
+
return si(e, this, oi, t.cache.create(), t.serializer);
|
|
924
910
|
}
|
|
925
|
-
var
|
|
911
|
+
var Go = function() {
|
|
926
912
|
return JSON.stringify(arguments);
|
|
927
|
-
},
|
|
913
|
+
}, jo = (
|
|
928
914
|
/** @class */
|
|
929
915
|
function() {
|
|
930
916
|
function e() {
|
|
@@ -936,61 +922,71 @@ var ko = function() {
|
|
|
936
922
|
this.cache[t] = n;
|
|
937
923
|
}, e;
|
|
938
924
|
}()
|
|
939
|
-
),
|
|
925
|
+
), zo = {
|
|
940
926
|
create: function() {
|
|
941
|
-
return new
|
|
927
|
+
return new jo();
|
|
942
928
|
}
|
|
943
|
-
},
|
|
944
|
-
variadic:
|
|
945
|
-
},
|
|
929
|
+
}, fn = {
|
|
930
|
+
variadic: Fo
|
|
931
|
+
}, zt = function() {
|
|
932
|
+
return zt = Object.assign || function(t) {
|
|
933
|
+
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
934
|
+
n = arguments[r];
|
|
935
|
+
for (var o in n)
|
|
936
|
+
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
937
|
+
}
|
|
938
|
+
return t;
|
|
939
|
+
}, zt.apply(this, arguments);
|
|
940
|
+
};
|
|
941
|
+
var D;
|
|
946
942
|
(function(e) {
|
|
947
943
|
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";
|
|
948
944
|
})(D || (D = {}));
|
|
949
|
-
var
|
|
945
|
+
var X;
|
|
950
946
|
(function(e) {
|
|
951
947
|
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";
|
|
952
|
-
})(
|
|
953
|
-
var
|
|
948
|
+
})(X || (X = {}));
|
|
949
|
+
var qe;
|
|
954
950
|
(function(e) {
|
|
955
951
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
956
|
-
})(
|
|
957
|
-
function
|
|
958
|
-
return e.type ===
|
|
959
|
-
}
|
|
960
|
-
function jo(e) {
|
|
961
|
-
return e.type === Y.argument;
|
|
962
|
-
}
|
|
963
|
-
function oi(e) {
|
|
964
|
-
return e.type === Y.number;
|
|
952
|
+
})(qe || (qe = {}));
|
|
953
|
+
function hr(e) {
|
|
954
|
+
return e.type === X.literal;
|
|
965
955
|
}
|
|
966
|
-
function
|
|
967
|
-
return e.type ===
|
|
956
|
+
function Wo(e) {
|
|
957
|
+
return e.type === X.argument;
|
|
968
958
|
}
|
|
969
959
|
function ai(e) {
|
|
970
|
-
return e.type ===
|
|
960
|
+
return e.type === X.number;
|
|
971
961
|
}
|
|
972
962
|
function ui(e) {
|
|
973
|
-
return e.type ===
|
|
963
|
+
return e.type === X.date;
|
|
974
964
|
}
|
|
975
965
|
function li(e) {
|
|
976
|
-
return e.type ===
|
|
977
|
-
}
|
|
978
|
-
function zo(e) {
|
|
979
|
-
return e.type === Y.pound;
|
|
966
|
+
return e.type === X.time;
|
|
980
967
|
}
|
|
981
968
|
function ci(e) {
|
|
982
|
-
return e.type ===
|
|
969
|
+
return e.type === X.select;
|
|
983
970
|
}
|
|
984
971
|
function fi(e) {
|
|
985
|
-
return
|
|
986
|
-
}
|
|
987
|
-
function yn(e) {
|
|
988
|
-
return !!(e && typeof e == "object" && e.type === Ze.dateTime);
|
|
972
|
+
return e.type === X.plural;
|
|
989
973
|
}
|
|
990
|
-
var hi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wo = /(?:[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;
|
|
991
974
|
function Vo(e) {
|
|
975
|
+
return e.type === X.pound;
|
|
976
|
+
}
|
|
977
|
+
function hi(e) {
|
|
978
|
+
return e.type === X.tag;
|
|
979
|
+
}
|
|
980
|
+
function mi(e) {
|
|
981
|
+
return !!(e && typeof e == "object" && e.type === qe.number);
|
|
982
|
+
}
|
|
983
|
+
function vn(e) {
|
|
984
|
+
return !!(e && typeof e == "object" && e.type === qe.dateTime);
|
|
985
|
+
}
|
|
986
|
+
var di = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xo = /(?:[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;
|
|
987
|
+
function Yo(e) {
|
|
992
988
|
var t = {};
|
|
993
|
-
return e.replace(
|
|
989
|
+
return e.replace(Xo, function(n) {
|
|
994
990
|
var r = n.length;
|
|
995
991
|
switch (n[0]) {
|
|
996
992
|
case "G":
|
|
@@ -1079,11 +1075,21 @@ function Vo(e) {
|
|
|
1079
1075
|
return "";
|
|
1080
1076
|
}), t;
|
|
1081
1077
|
}
|
|
1082
|
-
var
|
|
1083
|
-
function
|
|
1078
|
+
var Z = function() {
|
|
1079
|
+
return Z = Object.assign || function(t) {
|
|
1080
|
+
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
1081
|
+
n = arguments[r];
|
|
1082
|
+
for (var o in n)
|
|
1083
|
+
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
1084
|
+
}
|
|
1085
|
+
return t;
|
|
1086
|
+
}, Z.apply(this, arguments);
|
|
1087
|
+
};
|
|
1088
|
+
var Zo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1089
|
+
function qo(e) {
|
|
1084
1090
|
if (e.length === 0)
|
|
1085
1091
|
throw new Error("Number skeleton cannot be empty");
|
|
1086
|
-
for (var t = e.split(
|
|
1092
|
+
for (var t = e.split(Zo).filter(function(y) {
|
|
1087
1093
|
return y.length > 0;
|
|
1088
1094
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
1089
1095
|
var o = i[r], u = o.split("/");
|
|
@@ -1098,17 +1104,17 @@ function Yo(e) {
|
|
|
1098
1104
|
}
|
|
1099
1105
|
return n;
|
|
1100
1106
|
}
|
|
1101
|
-
function
|
|
1107
|
+
function Jo(e) {
|
|
1102
1108
|
return e.replace(/^(.*?)-/, "");
|
|
1103
1109
|
}
|
|
1104
|
-
var
|
|
1105
|
-
function
|
|
1110
|
+
var mr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pi = /^(@+)?(\+|#+)?[rs]?$/g, Qo = /(\*)(0+)|(#+)(0+)|(0+)/g, gi = /^(0+)$/;
|
|
1111
|
+
function dr(e) {
|
|
1106
1112
|
var t = {};
|
|
1107
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1113
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pi, function(n, r, i) {
|
|
1108
1114
|
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)), "";
|
|
1109
1115
|
}), t;
|
|
1110
1116
|
}
|
|
1111
|
-
function
|
|
1117
|
+
function _i(e) {
|
|
1112
1118
|
switch (e) {
|
|
1113
1119
|
case "sign-auto":
|
|
1114
1120
|
return {
|
|
@@ -1148,7 +1154,7 @@ function pi(e) {
|
|
|
1148
1154
|
};
|
|
1149
1155
|
}
|
|
1150
1156
|
}
|
|
1151
|
-
function
|
|
1157
|
+
function Ko(e) {
|
|
1152
1158
|
var t;
|
|
1153
1159
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1154
1160
|
notation: "engineering"
|
|
@@ -1156,17 +1162,17 @@ function Jo(e) {
|
|
|
1156
1162
|
notation: "scientific"
|
|
1157
1163
|
}, e = e.slice(1)), t) {
|
|
1158
1164
|
var n = e.slice(0, 2);
|
|
1159
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1165
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gi.test(e))
|
|
1160
1166
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1161
1167
|
t.minimumIntegerDigits = e.length;
|
|
1162
1168
|
}
|
|
1163
1169
|
return t;
|
|
1164
1170
|
}
|
|
1165
|
-
function
|
|
1166
|
-
var t = {}, n =
|
|
1171
|
+
function pr(e) {
|
|
1172
|
+
var t = {}, n = _i(e);
|
|
1167
1173
|
return n || t;
|
|
1168
1174
|
}
|
|
1169
|
-
function
|
|
1175
|
+
function es(e) {
|
|
1170
1176
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1171
1177
|
var i = r[n];
|
|
1172
1178
|
switch (i.stem) {
|
|
@@ -1190,7 +1196,7 @@ function Qo(e) {
|
|
|
1190
1196
|
continue;
|
|
1191
1197
|
case "measure-unit":
|
|
1192
1198
|
case "unit":
|
|
1193
|
-
t.style = "unit", t.unit =
|
|
1199
|
+
t.style = "unit", t.unit = Jo(i.options[0]);
|
|
1194
1200
|
continue;
|
|
1195
1201
|
case "compact-short":
|
|
1196
1202
|
case "K":
|
|
@@ -1201,13 +1207,13 @@ function Qo(e) {
|
|
|
1201
1207
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1202
1208
|
continue;
|
|
1203
1209
|
case "scientific":
|
|
1204
|
-
t =
|
|
1205
|
-
return
|
|
1210
|
+
t = Z(Z(Z({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
|
|
1211
|
+
return Z(Z({}, c), pr(l));
|
|
1206
1212
|
}, {}));
|
|
1207
1213
|
continue;
|
|
1208
1214
|
case "engineering":
|
|
1209
|
-
t =
|
|
1210
|
-
return
|
|
1215
|
+
t = Z(Z(Z({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
|
|
1216
|
+
return Z(Z({}, c), pr(l));
|
|
1211
1217
|
}, {}));
|
|
1212
1218
|
continue;
|
|
1213
1219
|
case "notation-simple":
|
|
@@ -1252,7 +1258,7 @@ function Qo(e) {
|
|
|
1252
1258
|
case "integer-width":
|
|
1253
1259
|
if (i.options.length > 1)
|
|
1254
1260
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1255
|
-
i.options[0].replace(
|
|
1261
|
+
i.options[0].replace(Qo, function(c, l, f, _, y, M) {
|
|
1256
1262
|
if (l)
|
|
1257
1263
|
t.minimumIntegerDigits = f.length;
|
|
1258
1264
|
else {
|
|
@@ -1265,32 +1271,32 @@ function Qo(e) {
|
|
|
1265
1271
|
});
|
|
1266
1272
|
continue;
|
|
1267
1273
|
}
|
|
1268
|
-
if (
|
|
1274
|
+
if (gi.test(i.stem)) {
|
|
1269
1275
|
t.minimumIntegerDigits = i.stem.length;
|
|
1270
1276
|
continue;
|
|
1271
1277
|
}
|
|
1272
|
-
if (
|
|
1278
|
+
if (mr.test(i.stem)) {
|
|
1273
1279
|
if (i.options.length > 1)
|
|
1274
1280
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1275
|
-
i.stem.replace(
|
|
1281
|
+
i.stem.replace(mr, function(c, l, f, _, y, M) {
|
|
1276
1282
|
return f === "*" ? t.minimumFractionDigits = l.length : _ && _[0] === "#" ? t.maximumFractionDigits = _.length : y && M ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + M.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1277
1283
|
});
|
|
1278
1284
|
var o = i.options[0];
|
|
1279
|
-
o === "w" ? t =
|
|
1285
|
+
o === "w" ? t = Z(Z({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = Z(Z({}, t), dr(o)));
|
|
1280
1286
|
continue;
|
|
1281
1287
|
}
|
|
1282
|
-
if (
|
|
1283
|
-
t =
|
|
1288
|
+
if (pi.test(i.stem)) {
|
|
1289
|
+
t = Z(Z({}, t), dr(i.stem));
|
|
1284
1290
|
continue;
|
|
1285
1291
|
}
|
|
1286
|
-
var u =
|
|
1287
|
-
u && (t =
|
|
1288
|
-
var a =
|
|
1289
|
-
a && (t =
|
|
1292
|
+
var u = _i(i.stem);
|
|
1293
|
+
u && (t = Z(Z({}, t), u));
|
|
1294
|
+
var a = Ko(i.stem);
|
|
1295
|
+
a && (t = Z(Z({}, t), a));
|
|
1290
1296
|
}
|
|
1291
1297
|
return t;
|
|
1292
1298
|
}
|
|
1293
|
-
var
|
|
1299
|
+
var Mt = {
|
|
1294
1300
|
"001": [
|
|
1295
1301
|
"H",
|
|
1296
1302
|
"h"
|
|
@@ -2705,13 +2711,13 @@ var Ot = {
|
|
|
2705
2711
|
"h"
|
|
2706
2712
|
]
|
|
2707
2713
|
};
|
|
2708
|
-
function
|
|
2714
|
+
function ts(e, t) {
|
|
2709
2715
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
2710
2716
|
var i = e.charAt(r);
|
|
2711
2717
|
if (i === "j") {
|
|
2712
2718
|
for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2713
2719
|
o++, r++;
|
|
2714
|
-
var u = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l =
|
|
2720
|
+
var u = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = ns(t);
|
|
2715
2721
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2716
2722
|
n += c;
|
|
2717
2723
|
for (; u-- > 0; )
|
|
@@ -2721,7 +2727,7 @@ function Ko(e, t) {
|
|
|
2721
2727
|
}
|
|
2722
2728
|
return n;
|
|
2723
2729
|
}
|
|
2724
|
-
function
|
|
2730
|
+
function ns(e) {
|
|
2725
2731
|
var t = e.hourCycle;
|
|
2726
2732
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2727
2733
|
e.hourCycles && // @ts-ignore
|
|
@@ -2740,23 +2746,23 @@ function es(e) {
|
|
|
2740
2746
|
}
|
|
2741
2747
|
var n = e.language, r;
|
|
2742
2748
|
n !== "root" && (r = e.maximize().region);
|
|
2743
|
-
var i =
|
|
2749
|
+
var i = Mt[r || ""] || Mt[n || ""] || Mt["".concat(n, "-001")] || Mt["001"];
|
|
2744
2750
|
return i[0];
|
|
2745
2751
|
}
|
|
2746
|
-
var
|
|
2752
|
+
var hn, rs = new RegExp("^".concat(di.source, "*")), is = new RegExp("".concat(di.source, "*$"));
|
|
2747
2753
|
function B(e, t) {
|
|
2748
2754
|
return { start: e, end: t };
|
|
2749
2755
|
}
|
|
2750
|
-
var
|
|
2756
|
+
var os = !!String.prototype.startsWith && "_a".startsWith("a", 1), ss = !!String.fromCodePoint, as = !!Object.fromEntries, us = !!String.prototype.codePointAt, ls = !!String.prototype.trimStart, cs = !!String.prototype.trimEnd, fs = !!Number.isSafeInteger, hs = fs ? Number.isSafeInteger : function(e) {
|
|
2751
2757
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2752
|
-
},
|
|
2758
|
+
}, Tn = !0;
|
|
2753
2759
|
try {
|
|
2754
|
-
var
|
|
2755
|
-
|
|
2760
|
+
var ms = Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2761
|
+
Tn = ((hn = ms.exec("a")) === null || hn === void 0 ? void 0 : hn[0]) === "a";
|
|
2756
2762
|
} catch {
|
|
2757
|
-
|
|
2763
|
+
Tn = !1;
|
|
2758
2764
|
}
|
|
2759
|
-
var
|
|
2765
|
+
var gr = os ? (
|
|
2760
2766
|
// Native
|
|
2761
2767
|
function(t, n, r) {
|
|
2762
2768
|
return t.startsWith(n, r);
|
|
@@ -2766,7 +2772,7 @@ var dr = rs ? (
|
|
|
2766
2772
|
function(t, n, r) {
|
|
2767
2773
|
return t.slice(r, r + n.length) === n;
|
|
2768
2774
|
}
|
|
2769
|
-
),
|
|
2775
|
+
), Sn = ss ? String.fromCodePoint : (
|
|
2770
2776
|
// IE11
|
|
2771
2777
|
function() {
|
|
2772
2778
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
@@ -2778,9 +2784,9 @@ var dr = rs ? (
|
|
|
2778
2784
|
}
|
|
2779
2785
|
return r;
|
|
2780
2786
|
}
|
|
2781
|
-
),
|
|
2787
|
+
), _r = (
|
|
2782
2788
|
// native
|
|
2783
|
-
|
|
2789
|
+
as ? Object.fromEntries : (
|
|
2784
2790
|
// Ponyfill
|
|
2785
2791
|
function(t) {
|
|
2786
2792
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
@@ -2790,7 +2796,7 @@ var dr = rs ? (
|
|
|
2790
2796
|
return n;
|
|
2791
2797
|
}
|
|
2792
2798
|
)
|
|
2793
|
-
),
|
|
2799
|
+
), bi = us ? (
|
|
2794
2800
|
// Native
|
|
2795
2801
|
function(t, n) {
|
|
2796
2802
|
return t.codePointAt(n);
|
|
@@ -2804,7 +2810,7 @@ var dr = rs ? (
|
|
|
2804
2810
|
return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2805
2811
|
}
|
|
2806
2812
|
}
|
|
2807
|
-
),
|
|
2813
|
+
), ds = ls ? (
|
|
2808
2814
|
// Native
|
|
2809
2815
|
function(t) {
|
|
2810
2816
|
return t.trimStart();
|
|
@@ -2812,9 +2818,9 @@ var dr = rs ? (
|
|
|
2812
2818
|
) : (
|
|
2813
2819
|
// Ponyfill
|
|
2814
2820
|
function(t) {
|
|
2815
|
-
return t.replace(
|
|
2821
|
+
return t.replace(rs, "");
|
|
2816
2822
|
}
|
|
2817
|
-
),
|
|
2823
|
+
), ps = cs ? (
|
|
2818
2824
|
// Native
|
|
2819
2825
|
function(t) {
|
|
2820
2826
|
return t.trimEnd();
|
|
@@ -2822,32 +2828,32 @@ var dr = rs ? (
|
|
|
2822
2828
|
) : (
|
|
2823
2829
|
// Ponyfill
|
|
2824
2830
|
function(t) {
|
|
2825
|
-
return t.replace(
|
|
2831
|
+
return t.replace(is, "");
|
|
2826
2832
|
}
|
|
2827
2833
|
);
|
|
2828
|
-
function
|
|
2834
|
+
function Ei(e, t) {
|
|
2829
2835
|
return new RegExp(e, t);
|
|
2830
2836
|
}
|
|
2831
|
-
var
|
|
2832
|
-
if (
|
|
2833
|
-
var
|
|
2834
|
-
|
|
2837
|
+
var wn;
|
|
2838
|
+
if (Tn) {
|
|
2839
|
+
var br = Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2840
|
+
wn = function(t, n) {
|
|
2835
2841
|
var r;
|
|
2836
|
-
|
|
2837
|
-
var i =
|
|
2842
|
+
br.lastIndex = n;
|
|
2843
|
+
var i = br.exec(t);
|
|
2838
2844
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2839
2845
|
};
|
|
2840
2846
|
} else
|
|
2841
|
-
|
|
2847
|
+
wn = function(t, n) {
|
|
2842
2848
|
for (var r = []; ; ) {
|
|
2843
|
-
var i =
|
|
2844
|
-
if (i === void 0 ||
|
|
2849
|
+
var i = bi(t, n);
|
|
2850
|
+
if (i === void 0 || yi(i) || Es(i))
|
|
2845
2851
|
break;
|
|
2846
2852
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2847
2853
|
}
|
|
2848
|
-
return
|
|
2854
|
+
return Sn.apply(void 0, r);
|
|
2849
2855
|
};
|
|
2850
|
-
var
|
|
2856
|
+
var gs = (
|
|
2851
2857
|
/** @class */
|
|
2852
2858
|
function() {
|
|
2853
2859
|
function e(t, n) {
|
|
@@ -2871,14 +2877,14 @@ var ds = (
|
|
|
2871
2877
|
if (o === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2872
2878
|
var a = this.clonePosition();
|
|
2873
2879
|
this.bump(), i.push({
|
|
2874
|
-
type:
|
|
2880
|
+
type: X.pound,
|
|
2875
2881
|
location: B(a, this.clonePosition())
|
|
2876
2882
|
});
|
|
2877
2883
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2878
2884
|
if (r)
|
|
2879
2885
|
break;
|
|
2880
2886
|
return this.error(D.UNMATCHED_CLOSING_TAG, B(this.clonePosition(), this.clonePosition()));
|
|
2881
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2887
|
+
} else if (o === 60 && !this.ignoreTag && An(this.peek() || 0)) {
|
|
2882
2888
|
var u = this.parseTag(t, n);
|
|
2883
2889
|
if (u.err)
|
|
2884
2890
|
return u;
|
|
@@ -2899,7 +2905,7 @@ var ds = (
|
|
|
2899
2905
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2900
2906
|
return {
|
|
2901
2907
|
val: {
|
|
2902
|
-
type:
|
|
2908
|
+
type: X.literal,
|
|
2903
2909
|
value: "<".concat(i, "/>"),
|
|
2904
2910
|
location: B(r, this.clonePosition())
|
|
2905
2911
|
},
|
|
@@ -2911,12 +2917,12 @@ var ds = (
|
|
|
2911
2917
|
return o;
|
|
2912
2918
|
var u = o.val, a = this.clonePosition();
|
|
2913
2919
|
if (this.bumpIf("</")) {
|
|
2914
|
-
if (this.isEOF() || !
|
|
2920
|
+
if (this.isEOF() || !An(this.char()))
|
|
2915
2921
|
return this.error(D.INVALID_TAG, B(a, this.clonePosition()));
|
|
2916
2922
|
var c = this.clonePosition(), l = this.parseTagName();
|
|
2917
2923
|
return i !== l ? this.error(D.UNMATCHED_CLOSING_TAG, B(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2918
2924
|
val: {
|
|
2919
|
-
type:
|
|
2925
|
+
type: X.tag,
|
|
2920
2926
|
value: i,
|
|
2921
2927
|
children: u,
|
|
2922
2928
|
location: B(r, this.clonePosition())
|
|
@@ -2929,7 +2935,7 @@ var ds = (
|
|
|
2929
2935
|
return this.error(D.INVALID_TAG, B(r, this.clonePosition()));
|
|
2930
2936
|
}, e.prototype.parseTagName = function() {
|
|
2931
2937
|
var t = this.offset();
|
|
2932
|
-
for (this.bump(); !this.isEOF() &&
|
|
2938
|
+
for (this.bump(); !this.isEOF() && bs(this.char()); )
|
|
2933
2939
|
this.bump();
|
|
2934
2940
|
return this.message.slice(t, this.offset());
|
|
2935
2941
|
}, e.prototype.parseLiteral = function(t, n) {
|
|
@@ -2953,12 +2959,12 @@ var ds = (
|
|
|
2953
2959
|
}
|
|
2954
2960
|
var c = B(r, this.clonePosition());
|
|
2955
2961
|
return {
|
|
2956
|
-
val: { type:
|
|
2962
|
+
val: { type: X.literal, value: i, location: c },
|
|
2957
2963
|
err: null
|
|
2958
2964
|
};
|
|
2959
2965
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2960
2966
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2961
|
-
!
|
|
2967
|
+
!_s(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2962
2968
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2963
2969
|
if (this.isEOF() || this.char() !== 39)
|
|
2964
2970
|
return null;
|
|
@@ -2992,12 +2998,12 @@ var ds = (
|
|
|
2992
2998
|
n.push(r);
|
|
2993
2999
|
this.bump();
|
|
2994
3000
|
}
|
|
2995
|
-
return
|
|
3001
|
+
return Sn.apply(void 0, n);
|
|
2996
3002
|
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
2997
3003
|
if (this.isEOF())
|
|
2998
3004
|
return null;
|
|
2999
3005
|
var r = this.char();
|
|
3000
|
-
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(),
|
|
3006
|
+
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Sn(r));
|
|
3001
3007
|
}, e.prototype.parseArgument = function(t, n) {
|
|
3002
3008
|
var r = this.clonePosition();
|
|
3003
3009
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3013,7 +3019,7 @@ var ds = (
|
|
|
3013
3019
|
case 125:
|
|
3014
3020
|
return this.bump(), {
|
|
3015
3021
|
val: {
|
|
3016
|
-
type:
|
|
3022
|
+
type: X.argument,
|
|
3017
3023
|
// value does not include the opening and closing braces.
|
|
3018
3024
|
value: i,
|
|
3019
3025
|
location: B(r, this.clonePosition())
|
|
@@ -3026,7 +3032,7 @@ var ds = (
|
|
|
3026
3032
|
return this.error(D.MALFORMED_ARGUMENT, B(r, this.clonePosition()));
|
|
3027
3033
|
}
|
|
3028
3034
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3029
|
-
var t = this.clonePosition(), n = this.offset(), r =
|
|
3035
|
+
var t = this.clonePosition(), n = this.offset(), r = wn(this.message, n), i = n + r.length;
|
|
3030
3036
|
this.bumpTo(i);
|
|
3031
3037
|
var o = this.clonePosition(), u = B(t, o);
|
|
3032
3038
|
return { value: r, location: u };
|
|
@@ -3045,7 +3051,7 @@ var ds = (
|
|
|
3045
3051
|
var f = this.clonePosition(), _ = this.parseSimpleArgStyleIfPossible();
|
|
3046
3052
|
if (_.err)
|
|
3047
3053
|
return _;
|
|
3048
|
-
var y =
|
|
3054
|
+
var y = ps(_.val);
|
|
3049
3055
|
if (y.length === 0)
|
|
3050
3056
|
return this.error(D.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
|
|
3051
3057
|
var M = B(f, this.clonePosition());
|
|
@@ -3055,25 +3061,25 @@ var ds = (
|
|
|
3055
3061
|
if (b.err)
|
|
3056
3062
|
return b;
|
|
3057
3063
|
var d = B(i, this.clonePosition());
|
|
3058
|
-
if (l &&
|
|
3059
|
-
var C =
|
|
3064
|
+
if (l && gr(l?.style, "::", 0)) {
|
|
3065
|
+
var C = ds(l.style.slice(2));
|
|
3060
3066
|
if (a === "number") {
|
|
3061
3067
|
var _ = this.parseNumberSkeletonFromString(C, l.styleLocation);
|
|
3062
3068
|
return _.err ? _ : {
|
|
3063
|
-
val: { type:
|
|
3069
|
+
val: { type: X.number, value: r, location: d, style: _.val },
|
|
3064
3070
|
err: null
|
|
3065
3071
|
};
|
|
3066
3072
|
} else {
|
|
3067
3073
|
if (C.length === 0)
|
|
3068
3074
|
return this.error(D.EXPECT_DATE_TIME_SKELETON, d);
|
|
3069
|
-
var
|
|
3070
|
-
this.locale && (
|
|
3075
|
+
var F = C;
|
|
3076
|
+
this.locale && (F = ts(C, this.locale));
|
|
3071
3077
|
var y = {
|
|
3072
|
-
type:
|
|
3073
|
-
pattern:
|
|
3078
|
+
type: qe.dateTime,
|
|
3079
|
+
pattern: F,
|
|
3074
3080
|
location: l.styleLocation,
|
|
3075
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3076
|
-
}, $ = a === "date" ?
|
|
3081
|
+
parsedOptions: this.shouldParseSkeletons ? Yo(F) : {}
|
|
3082
|
+
}, $ = a === "date" ? X.date : X.time;
|
|
3077
3083
|
return {
|
|
3078
3084
|
val: { type: $, value: r, location: d, style: y },
|
|
3079
3085
|
err: null
|
|
@@ -3082,7 +3088,7 @@ var ds = (
|
|
|
3082
3088
|
}
|
|
3083
3089
|
return {
|
|
3084
3090
|
val: {
|
|
3085
|
-
type: a === "number" ?
|
|
3091
|
+
type: a === "number" ? X.number : a === "date" ? X.date : X.time,
|
|
3086
3092
|
value: r,
|
|
3087
3093
|
location: d,
|
|
3088
3094
|
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3095,7 +3101,7 @@ var ds = (
|
|
|
3095
3101
|
case "select": {
|
|
3096
3102
|
var w = this.clonePosition();
|
|
3097
3103
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3098
|
-
return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, B(w,
|
|
3104
|
+
return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, B(w, zt({}, w)));
|
|
3099
3105
|
this.bumpSpace();
|
|
3100
3106
|
var H = this.parseIdentifierIfPossible(), R = 0;
|
|
3101
3107
|
if (a !== "select" && H.value === "offset") {
|
|
@@ -3107,29 +3113,29 @@ var ds = (
|
|
|
3107
3113
|
return _;
|
|
3108
3114
|
this.bumpSpace(), H = this.parseIdentifierIfPossible(), R = _.val;
|
|
3109
3115
|
}
|
|
3110
|
-
var
|
|
3111
|
-
if (
|
|
3112
|
-
return
|
|
3116
|
+
var U = this.tryParsePluralOrSelectOptions(t, a, n, H);
|
|
3117
|
+
if (U.err)
|
|
3118
|
+
return U;
|
|
3113
3119
|
var b = this.tryParseArgumentClose(i);
|
|
3114
3120
|
if (b.err)
|
|
3115
3121
|
return b;
|
|
3116
|
-
var
|
|
3122
|
+
var Y = B(i, this.clonePosition());
|
|
3117
3123
|
return a === "select" ? {
|
|
3118
3124
|
val: {
|
|
3119
|
-
type:
|
|
3125
|
+
type: X.select,
|
|
3120
3126
|
value: r,
|
|
3121
|
-
options:
|
|
3122
|
-
location:
|
|
3127
|
+
options: _r(U.val),
|
|
3128
|
+
location: Y
|
|
3123
3129
|
},
|
|
3124
3130
|
err: null
|
|
3125
3131
|
} : {
|
|
3126
3132
|
val: {
|
|
3127
|
-
type:
|
|
3133
|
+
type: X.plural,
|
|
3128
3134
|
value: r,
|
|
3129
|
-
options:
|
|
3135
|
+
options: _r(U.val),
|
|
3130
3136
|
offset: R,
|
|
3131
3137
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3132
|
-
location:
|
|
3138
|
+
location: Y
|
|
3133
3139
|
},
|
|
3134
3140
|
err: null
|
|
3135
3141
|
};
|
|
@@ -3177,16 +3183,16 @@ var ds = (
|
|
|
3177
3183
|
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3178
3184
|
var r = [];
|
|
3179
3185
|
try {
|
|
3180
|
-
r =
|
|
3186
|
+
r = qo(t);
|
|
3181
3187
|
} catch {
|
|
3182
3188
|
return this.error(D.INVALID_NUMBER_SKELETON, n);
|
|
3183
3189
|
}
|
|
3184
3190
|
return {
|
|
3185
3191
|
val: {
|
|
3186
|
-
type:
|
|
3192
|
+
type: qe.number,
|
|
3187
3193
|
tokens: r,
|
|
3188
3194
|
location: n,
|
|
3189
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3195
|
+
parsedOptions: this.shouldParseSkeletons ? es(r) : {}
|
|
3190
3196
|
},
|
|
3191
3197
|
err: null
|
|
3192
3198
|
};
|
|
@@ -3234,7 +3240,7 @@ var ds = (
|
|
|
3234
3240
|
break;
|
|
3235
3241
|
}
|
|
3236
3242
|
var c = B(i, this.clonePosition());
|
|
3237
|
-
return o ? (u *= r,
|
|
3243
|
+
return o ? (u *= r, hs(u) ? { val: u, err: null } : this.error(n, c)) : this.error(t, c);
|
|
3238
3244
|
}, e.prototype.offset = function() {
|
|
3239
3245
|
return this.position.offset;
|
|
3240
3246
|
}, e.prototype.isEOF = function() {
|
|
@@ -3249,7 +3255,7 @@ var ds = (
|
|
|
3249
3255
|
var t = this.position.offset;
|
|
3250
3256
|
if (t >= this.message.length)
|
|
3251
3257
|
throw Error("out of bound");
|
|
3252
|
-
var n =
|
|
3258
|
+
var n = bi(this.message, t);
|
|
3253
3259
|
if (n === void 0)
|
|
3254
3260
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3255
3261
|
return n;
|
|
@@ -3268,7 +3274,7 @@ var ds = (
|
|
|
3268
3274
|
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);
|
|
3269
3275
|
}
|
|
3270
3276
|
}, e.prototype.bumpIf = function(t) {
|
|
3271
|
-
if (
|
|
3277
|
+
if (gr(this.message, t, this.offset())) {
|
|
3272
3278
|
for (var n = 0; n < t.length; n++)
|
|
3273
3279
|
this.bump();
|
|
3274
3280
|
return !0;
|
|
@@ -3290,7 +3296,7 @@ var ds = (
|
|
|
3290
3296
|
break;
|
|
3291
3297
|
}
|
|
3292
3298
|
}, e.prototype.bumpSpace = function() {
|
|
3293
|
-
for (; !this.isEOF() &&
|
|
3299
|
+
for (; !this.isEOF() && yi(this.char()); )
|
|
3294
3300
|
this.bump();
|
|
3295
3301
|
}, e.prototype.peek = function() {
|
|
3296
3302
|
if (this.isEOF())
|
|
@@ -3300,47 +3306,47 @@ var ds = (
|
|
|
3300
3306
|
}, e;
|
|
3301
3307
|
}()
|
|
3302
3308
|
);
|
|
3303
|
-
function
|
|
3309
|
+
function An(e) {
|
|
3304
3310
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3305
3311
|
}
|
|
3306
|
-
function
|
|
3307
|
-
return
|
|
3312
|
+
function _s(e) {
|
|
3313
|
+
return An(e) || e === 47;
|
|
3308
3314
|
}
|
|
3309
|
-
function
|
|
3315
|
+
function bs(e) {
|
|
3310
3316
|
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;
|
|
3311
3317
|
}
|
|
3312
|
-
function
|
|
3318
|
+
function yi(e) {
|
|
3313
3319
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3314
3320
|
}
|
|
3315
|
-
function
|
|
3321
|
+
function Es(e) {
|
|
3316
3322
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3317
3323
|
}
|
|
3318
|
-
function
|
|
3324
|
+
function On(e) {
|
|
3319
3325
|
e.forEach(function(t) {
|
|
3320
|
-
if (delete t.location,
|
|
3326
|
+
if (delete t.location, ci(t) || fi(t))
|
|
3321
3327
|
for (var n in t.options)
|
|
3322
|
-
delete t.options[n].location,
|
|
3328
|
+
delete t.options[n].location, On(t.options[n].value);
|
|
3323
3329
|
else
|
|
3324
|
-
|
|
3330
|
+
ai(t) && mi(t.style) || (ui(t) || li(t)) && vn(t.style) ? delete t.style.location : hi(t) && On(t.children);
|
|
3325
3331
|
});
|
|
3326
3332
|
}
|
|
3327
|
-
function
|
|
3328
|
-
t === void 0 && (t = {}), t =
|
|
3329
|
-
var n = new
|
|
3333
|
+
function ys(e, t) {
|
|
3334
|
+
t === void 0 && (t = {}), t = zt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3335
|
+
var n = new gs(e, t).parse();
|
|
3330
3336
|
if (n.err) {
|
|
3331
3337
|
var r = SyntaxError(D[n.err.kind]);
|
|
3332
3338
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3333
3339
|
}
|
|
3334
|
-
return t?.captureLocation ||
|
|
3340
|
+
return t?.captureLocation || On(n.val), n.val;
|
|
3335
3341
|
}
|
|
3336
|
-
var
|
|
3342
|
+
var Je;
|
|
3337
3343
|
(function(e) {
|
|
3338
3344
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3339
|
-
})(
|
|
3340
|
-
var
|
|
3345
|
+
})(Je || (Je = {}));
|
|
3346
|
+
var Jt = (
|
|
3341
3347
|
/** @class */
|
|
3342
3348
|
function(e) {
|
|
3343
|
-
|
|
3349
|
+
qt(t, e);
|
|
3344
3350
|
function t(n, r, i) {
|
|
3345
3351
|
var o = e.call(this, n) || this;
|
|
3346
3352
|
return o.code = r, o.originalMessage = i, o;
|
|
@@ -3349,48 +3355,48 @@ var Zt = (
|
|
|
3349
3355
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3350
3356
|
}, t;
|
|
3351
3357
|
}(Error)
|
|
3352
|
-
),
|
|
3358
|
+
), Er = (
|
|
3353
3359
|
/** @class */
|
|
3354
3360
|
function(e) {
|
|
3355
|
-
|
|
3361
|
+
qt(t, e);
|
|
3356
3362
|
function t(n, r, i, o) {
|
|
3357
|
-
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3363
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Je.INVALID_VALUE, o) || this;
|
|
3358
3364
|
}
|
|
3359
3365
|
return t;
|
|
3360
|
-
}(
|
|
3361
|
-
),
|
|
3366
|
+
}(Jt)
|
|
3367
|
+
), xs = (
|
|
3362
3368
|
/** @class */
|
|
3363
3369
|
function(e) {
|
|
3364
|
-
|
|
3370
|
+
qt(t, e);
|
|
3365
3371
|
function t(n, r, i) {
|
|
3366
|
-
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r),
|
|
3372
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Je.INVALID_VALUE, i) || this;
|
|
3367
3373
|
}
|
|
3368
3374
|
return t;
|
|
3369
|
-
}(
|
|
3370
|
-
),
|
|
3375
|
+
}(Jt)
|
|
3376
|
+
), vs = (
|
|
3371
3377
|
/** @class */
|
|
3372
3378
|
function(e) {
|
|
3373
|
-
|
|
3379
|
+
qt(t, e);
|
|
3374
3380
|
function t(n, r) {
|
|
3375
|
-
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'),
|
|
3381
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Je.MISSING_VALUE, r) || this;
|
|
3376
3382
|
}
|
|
3377
3383
|
return t;
|
|
3378
|
-
}(
|
|
3384
|
+
}(Jt)
|
|
3379
3385
|
), ce;
|
|
3380
3386
|
(function(e) {
|
|
3381
3387
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3382
3388
|
})(ce || (ce = {}));
|
|
3383
|
-
function
|
|
3389
|
+
function Ts(e) {
|
|
3384
3390
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3385
3391
|
var r = t[t.length - 1];
|
|
3386
3392
|
return !r || r.type !== ce.literal || n.type !== ce.literal ? t.push(n) : r.value += n.value, t;
|
|
3387
3393
|
}, []);
|
|
3388
3394
|
}
|
|
3389
|
-
function
|
|
3395
|
+
function Ss(e) {
|
|
3390
3396
|
return typeof e == "function";
|
|
3391
3397
|
}
|
|
3392
|
-
function
|
|
3393
|
-
if (e.length === 1 &&
|
|
3398
|
+
function Bt(e, t, n, r, i, o, u) {
|
|
3399
|
+
if (e.length === 1 && hr(e[0]))
|
|
3394
3400
|
return [
|
|
3395
3401
|
{
|
|
3396
3402
|
type: ce.literal,
|
|
@@ -3399,14 +3405,14 @@ function Dt(e, t, n, r, i, o, u) {
|
|
|
3399
3405
|
];
|
|
3400
3406
|
for (var a = [], c = 0, l = e; c < l.length; c++) {
|
|
3401
3407
|
var f = l[c];
|
|
3402
|
-
if (
|
|
3408
|
+
if (hr(f)) {
|
|
3403
3409
|
a.push({
|
|
3404
3410
|
type: ce.literal,
|
|
3405
3411
|
value: f.value
|
|
3406
3412
|
});
|
|
3407
3413
|
continue;
|
|
3408
3414
|
}
|
|
3409
|
-
if (
|
|
3415
|
+
if (Vo(f)) {
|
|
3410
3416
|
typeof o == "number" && a.push({
|
|
3411
3417
|
type: ce.literal,
|
|
3412
3418
|
value: n.getNumberFormat(t).format(o)
|
|
@@ -3415,44 +3421,44 @@ function Dt(e, t, n, r, i, o, u) {
|
|
|
3415
3421
|
}
|
|
3416
3422
|
var _ = f.value;
|
|
3417
3423
|
if (!(i && _ in i))
|
|
3418
|
-
throw new
|
|
3424
|
+
throw new vs(_, u);
|
|
3419
3425
|
var y = i[_];
|
|
3420
|
-
if (
|
|
3426
|
+
if (Wo(f)) {
|
|
3421
3427
|
(!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), a.push({
|
|
3422
3428
|
type: typeof y == "string" ? ce.literal : ce.object,
|
|
3423
3429
|
value: y
|
|
3424
3430
|
});
|
|
3425
3431
|
continue;
|
|
3426
3432
|
}
|
|
3427
|
-
if (
|
|
3428
|
-
var M = typeof f.style == "string" ? r.date[f.style] :
|
|
3433
|
+
if (ui(f)) {
|
|
3434
|
+
var M = typeof f.style == "string" ? r.date[f.style] : vn(f.style) ? f.style.parsedOptions : void 0;
|
|
3429
3435
|
a.push({
|
|
3430
3436
|
type: ce.literal,
|
|
3431
3437
|
value: n.getDateTimeFormat(t, M).format(y)
|
|
3432
3438
|
});
|
|
3433
3439
|
continue;
|
|
3434
3440
|
}
|
|
3435
|
-
if (
|
|
3436
|
-
var M = typeof f.style == "string" ? r.time[f.style] :
|
|
3441
|
+
if (li(f)) {
|
|
3442
|
+
var M = typeof f.style == "string" ? r.time[f.style] : vn(f.style) ? f.style.parsedOptions : r.time.medium;
|
|
3437
3443
|
a.push({
|
|
3438
3444
|
type: ce.literal,
|
|
3439
3445
|
value: n.getDateTimeFormat(t, M).format(y)
|
|
3440
3446
|
});
|
|
3441
3447
|
continue;
|
|
3442
3448
|
}
|
|
3443
|
-
if (
|
|
3444
|
-
var M = typeof f.style == "string" ? r.number[f.style] :
|
|
3449
|
+
if (ai(f)) {
|
|
3450
|
+
var M = typeof f.style == "string" ? r.number[f.style] : mi(f.style) ? f.style.parsedOptions : void 0;
|
|
3445
3451
|
M && M.scale && (y = y * (M.scale || 1)), a.push({
|
|
3446
3452
|
type: ce.literal,
|
|
3447
3453
|
value: n.getNumberFormat(t, M).format(y)
|
|
3448
3454
|
});
|
|
3449
3455
|
continue;
|
|
3450
3456
|
}
|
|
3451
|
-
if (
|
|
3457
|
+
if (hi(f)) {
|
|
3452
3458
|
var b = f.children, d = f.value, C = i[d];
|
|
3453
|
-
if (!
|
|
3454
|
-
throw new
|
|
3455
|
-
var
|
|
3459
|
+
if (!Ss(C))
|
|
3460
|
+
throw new xs(d, "function", u);
|
|
3461
|
+
var F = Bt(b, t, n, r, i, o), $ = C(F.map(function(R) {
|
|
3456
3462
|
return R.value;
|
|
3457
3463
|
}));
|
|
3458
3464
|
Array.isArray($) || ($ = [$]), a.push.apply(a, $.map(function(R) {
|
|
@@ -3462,42 +3468,42 @@ function Dt(e, t, n, r, i, o, u) {
|
|
|
3462
3468
|
};
|
|
3463
3469
|
}));
|
|
3464
3470
|
}
|
|
3465
|
-
if (
|
|
3471
|
+
if (ci(f)) {
|
|
3466
3472
|
var w = f.options[y] || f.options.other;
|
|
3467
3473
|
if (!w)
|
|
3468
|
-
throw new
|
|
3469
|
-
a.push.apply(a,
|
|
3474
|
+
throw new Er(f.value, y, Object.keys(f.options), u);
|
|
3475
|
+
a.push.apply(a, Bt(w.value, t, n, r, i));
|
|
3470
3476
|
continue;
|
|
3471
3477
|
}
|
|
3472
|
-
if (
|
|
3478
|
+
if (fi(f)) {
|
|
3473
3479
|
var w = f.options["=".concat(y)];
|
|
3474
3480
|
if (!w) {
|
|
3475
3481
|
if (!Intl.PluralRules)
|
|
3476
|
-
throw new
|
|
3482
|
+
throw new Jt(`Intl.PluralRules is not available in this environment.
|
|
3477
3483
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3478
|
-
`,
|
|
3484
|
+
`, Je.MISSING_INTL_API, u);
|
|
3479
3485
|
var H = n.getPluralRules(t, { type: f.pluralType }).select(y - (f.offset || 0));
|
|
3480
3486
|
w = f.options[H] || f.options.other;
|
|
3481
3487
|
}
|
|
3482
3488
|
if (!w)
|
|
3483
|
-
throw new
|
|
3484
|
-
a.push.apply(a,
|
|
3489
|
+
throw new Er(f.value, y, Object.keys(f.options), u);
|
|
3490
|
+
a.push.apply(a, Bt(w.value, t, n, r, i, y - (f.offset || 0)));
|
|
3485
3491
|
continue;
|
|
3486
3492
|
}
|
|
3487
3493
|
}
|
|
3488
|
-
return
|
|
3494
|
+
return Ts(a);
|
|
3489
3495
|
}
|
|
3490
|
-
function
|
|
3491
|
-
return t ?
|
|
3492
|
-
return n[r] =
|
|
3496
|
+
function ws(e, t) {
|
|
3497
|
+
return t ? we(we(we({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3498
|
+
return n[r] = we(we({}, e[r]), t[r] || {}), n;
|
|
3493
3499
|
}, {})) : e;
|
|
3494
3500
|
}
|
|
3495
|
-
function
|
|
3501
|
+
function As(e, t) {
|
|
3496
3502
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3497
|
-
return n[r] =
|
|
3498
|
-
},
|
|
3503
|
+
return n[r] = ws(e[r], t[r]), n;
|
|
3504
|
+
}, we({}, e)) : e;
|
|
3499
3505
|
}
|
|
3500
|
-
function
|
|
3506
|
+
function mn(e) {
|
|
3501
3507
|
return {
|
|
3502
3508
|
create: function() {
|
|
3503
3509
|
return {
|
|
@@ -3511,39 +3517,39 @@ function fn(e) {
|
|
|
3511
3517
|
}
|
|
3512
3518
|
};
|
|
3513
3519
|
}
|
|
3514
|
-
function
|
|
3520
|
+
function Os(e) {
|
|
3515
3521
|
return e === void 0 && (e = {
|
|
3516
3522
|
number: {},
|
|
3517
3523
|
dateTime: {},
|
|
3518
3524
|
pluralRules: {}
|
|
3519
3525
|
}), {
|
|
3520
|
-
getNumberFormat:
|
|
3526
|
+
getNumberFormat: cn(function() {
|
|
3521
3527
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3522
3528
|
n[r] = arguments[r];
|
|
3523
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3529
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ln([void 0], n, !1)))();
|
|
3524
3530
|
}, {
|
|
3525
|
-
cache:
|
|
3526
|
-
strategy:
|
|
3531
|
+
cache: mn(e.number),
|
|
3532
|
+
strategy: fn.variadic
|
|
3527
3533
|
}),
|
|
3528
|
-
getDateTimeFormat:
|
|
3534
|
+
getDateTimeFormat: cn(function() {
|
|
3529
3535
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3530
3536
|
n[r] = arguments[r];
|
|
3531
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3537
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ln([void 0], n, !1)))();
|
|
3532
3538
|
}, {
|
|
3533
|
-
cache:
|
|
3534
|
-
strategy:
|
|
3539
|
+
cache: mn(e.dateTime),
|
|
3540
|
+
strategy: fn.variadic
|
|
3535
3541
|
}),
|
|
3536
|
-
getPluralRules:
|
|
3542
|
+
getPluralRules: cn(function() {
|
|
3537
3543
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3538
3544
|
n[r] = arguments[r];
|
|
3539
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3545
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ln([void 0], n, !1)))();
|
|
3540
3546
|
}, {
|
|
3541
|
-
cache:
|
|
3542
|
-
strategy:
|
|
3547
|
+
cache: mn(e.pluralRules),
|
|
3548
|
+
strategy: fn.variadic
|
|
3543
3549
|
})
|
|
3544
3550
|
};
|
|
3545
3551
|
}
|
|
3546
|
-
var
|
|
3552
|
+
var xi = (
|
|
3547
3553
|
/** @class */
|
|
3548
3554
|
function() {
|
|
3549
3555
|
function e(t, n, r, i) {
|
|
@@ -3562,7 +3568,7 @@ var Ei = (
|
|
|
3562
3568
|
}, []);
|
|
3563
3569
|
return f.length <= 1 ? f[0] || "" : f;
|
|
3564
3570
|
}, this.formatToParts = function(c) {
|
|
3565
|
-
return
|
|
3571
|
+
return Bt(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
|
|
3566
3572
|
}, this.resolvedOptions = function() {
|
|
3567
3573
|
var c;
|
|
3568
3574
|
return {
|
|
@@ -3575,13 +3581,13 @@ var Ei = (
|
|
|
3575
3581
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3576
3582
|
var u = i || {};
|
|
3577
3583
|
u.formatters;
|
|
3578
|
-
var a =
|
|
3579
|
-
this.ast = e.__parse(t,
|
|
3584
|
+
var a = Bo(u, ["formatters"]);
|
|
3585
|
+
this.ast = e.__parse(t, we(we({}, a), { locale: this.resolvedLocale }));
|
|
3580
3586
|
} else
|
|
3581
3587
|
this.ast = t;
|
|
3582
3588
|
if (!Array.isArray(this.ast))
|
|
3583
3589
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3584
|
-
this.formats =
|
|
3590
|
+
this.formats = As(e.formats, r), this.formatters = i && i.formatters || Os(this.formatterCache);
|
|
3585
3591
|
}
|
|
3586
3592
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3587
3593
|
get: function() {
|
|
@@ -3594,7 +3600,7 @@ var Ei = (
|
|
|
3594
3600
|
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3595
3601
|
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3596
3602
|
}
|
|
3597
|
-
}, e.__parse =
|
|
3603
|
+
}, e.__parse = ys, e.formats = {
|
|
3598
3604
|
number: {
|
|
3599
3605
|
integer: {
|
|
3600
3606
|
maximumFractionDigits: 0
|
|
@@ -3655,7 +3661,7 @@ var Ei = (
|
|
|
3655
3661
|
}, e;
|
|
3656
3662
|
}()
|
|
3657
3663
|
);
|
|
3658
|
-
function
|
|
3664
|
+
function Ms(e, t) {
|
|
3659
3665
|
if (t == null)
|
|
3660
3666
|
return;
|
|
3661
3667
|
if (t in e)
|
|
@@ -3676,101 +3682,101 @@ function As(e, t) {
|
|
|
3676
3682
|
r = void 0;
|
|
3677
3683
|
return r;
|
|
3678
3684
|
}
|
|
3679
|
-
const
|
|
3685
|
+
const He = {}, Cs = (e, t, n) => n && (t in He || (He[t] = {}), e in He[t] || (He[t][e] = n), n), vi = (e, t) => {
|
|
3680
3686
|
if (t == null)
|
|
3681
3687
|
return;
|
|
3682
|
-
if (t in
|
|
3683
|
-
return
|
|
3684
|
-
const n =
|
|
3688
|
+
if (t in He && e in He[t])
|
|
3689
|
+
return He[t][e];
|
|
3690
|
+
const n = yt(t);
|
|
3685
3691
|
for (let r = 0; r < n.length; r++) {
|
|
3686
|
-
const i = n[r], o =
|
|
3692
|
+
const i = n[r], o = Ns(i, e);
|
|
3687
3693
|
if (o)
|
|
3688
|
-
return
|
|
3694
|
+
return Cs(e, t, o);
|
|
3689
3695
|
}
|
|
3690
3696
|
};
|
|
3691
|
-
let
|
|
3692
|
-
const
|
|
3693
|
-
function
|
|
3694
|
-
return
|
|
3697
|
+
let Pn;
|
|
3698
|
+
const Et = bt({});
|
|
3699
|
+
function Ls(e) {
|
|
3700
|
+
return Pn[e] || null;
|
|
3695
3701
|
}
|
|
3696
|
-
function
|
|
3697
|
-
return e in
|
|
3702
|
+
function Ti(e) {
|
|
3703
|
+
return e in Pn;
|
|
3698
3704
|
}
|
|
3699
|
-
function
|
|
3700
|
-
if (!
|
|
3705
|
+
function Ns(e, t) {
|
|
3706
|
+
if (!Ti(e))
|
|
3701
3707
|
return null;
|
|
3702
|
-
const n =
|
|
3703
|
-
return
|
|
3708
|
+
const n = Ls(e);
|
|
3709
|
+
return Ms(n, t);
|
|
3704
3710
|
}
|
|
3705
|
-
function
|
|
3711
|
+
function Hs(e) {
|
|
3706
3712
|
if (e == null)
|
|
3707
3713
|
return;
|
|
3708
|
-
const t =
|
|
3714
|
+
const t = yt(e);
|
|
3709
3715
|
for (let n = 0; n < t.length; n++) {
|
|
3710
3716
|
const r = t[n];
|
|
3711
|
-
if (
|
|
3717
|
+
if (Ti(r))
|
|
3712
3718
|
return r;
|
|
3713
3719
|
}
|
|
3714
3720
|
}
|
|
3715
|
-
function
|
|
3716
|
-
delete
|
|
3721
|
+
function Si(e, ...t) {
|
|
3722
|
+
delete He[e], Et.update((n) => (n[e] = Do.all([n[e] || {}, ...t]), n));
|
|
3717
3723
|
}
|
|
3718
|
-
|
|
3719
|
-
[
|
|
3724
|
+
et(
|
|
3725
|
+
[Et],
|
|
3720
3726
|
([e]) => Object.keys(e)
|
|
3721
3727
|
);
|
|
3722
|
-
|
|
3723
|
-
const
|
|
3724
|
-
function
|
|
3725
|
-
|
|
3728
|
+
Et.subscribe((e) => Pn = e);
|
|
3729
|
+
const $t = {};
|
|
3730
|
+
function Is(e, t) {
|
|
3731
|
+
$t[e].delete(t), $t[e].size === 0 && delete $t[e];
|
|
3726
3732
|
}
|
|
3727
|
-
function
|
|
3728
|
-
return
|
|
3733
|
+
function wi(e) {
|
|
3734
|
+
return $t[e];
|
|
3729
3735
|
}
|
|
3730
|
-
function
|
|
3731
|
-
return
|
|
3732
|
-
const n =
|
|
3736
|
+
function Ps(e) {
|
|
3737
|
+
return yt(e).map((t) => {
|
|
3738
|
+
const n = wi(t);
|
|
3733
3739
|
return [t, n ? [...n] : []];
|
|
3734
3740
|
}).filter(([, t]) => t.length > 0);
|
|
3735
3741
|
}
|
|
3736
|
-
function
|
|
3737
|
-
return e == null ? !1 :
|
|
3742
|
+
function Wt(e) {
|
|
3743
|
+
return e == null ? !1 : yt(e).some(
|
|
3738
3744
|
(t) => {
|
|
3739
3745
|
var n;
|
|
3740
|
-
return (n =
|
|
3746
|
+
return (n = wi(t)) == null ? void 0 : n.size;
|
|
3741
3747
|
}
|
|
3742
3748
|
);
|
|
3743
3749
|
}
|
|
3744
|
-
function
|
|
3750
|
+
function Rs(e, t) {
|
|
3745
3751
|
return Promise.all(
|
|
3746
|
-
t.map((r) => (
|
|
3747
|
-
).then((r) =>
|
|
3748
|
-
}
|
|
3749
|
-
const
|
|
3750
|
-
function
|
|
3751
|
-
if (!
|
|
3752
|
-
return e in
|
|
3753
|
-
const t =
|
|
3754
|
-
return
|
|
3752
|
+
t.map((r) => (Is(e, r), r().then((i) => i.default || i)))
|
|
3753
|
+
).then((r) => Si(e, ...r));
|
|
3754
|
+
}
|
|
3755
|
+
const st = {};
|
|
3756
|
+
function Ai(e) {
|
|
3757
|
+
if (!Wt(e))
|
|
3758
|
+
return e in st ? st[e] : Promise.resolve();
|
|
3759
|
+
const t = Ps(e);
|
|
3760
|
+
return st[e] = Promise.all(
|
|
3755
3761
|
t.map(
|
|
3756
|
-
([n, r]) =>
|
|
3762
|
+
([n, r]) => Rs(n, r)
|
|
3757
3763
|
)
|
|
3758
3764
|
).then(() => {
|
|
3759
|
-
if (
|
|
3760
|
-
return
|
|
3761
|
-
delete
|
|
3762
|
-
}),
|
|
3765
|
+
if (Wt(e))
|
|
3766
|
+
return Ai(e);
|
|
3767
|
+
delete st[e];
|
|
3768
|
+
}), st[e];
|
|
3763
3769
|
}
|
|
3764
|
-
var
|
|
3770
|
+
var yr = Object.getOwnPropertySymbols, Ds = Object.prototype.hasOwnProperty, Bs = Object.prototype.propertyIsEnumerable, $s = (e, t) => {
|
|
3765
3771
|
var n = {};
|
|
3766
3772
|
for (var r in e)
|
|
3767
|
-
|
|
3768
|
-
if (e != null &&
|
|
3769
|
-
for (var r of
|
|
3770
|
-
t.indexOf(r) < 0 &&
|
|
3773
|
+
Ds.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3774
|
+
if (e != null && yr)
|
|
3775
|
+
for (var r of yr(e))
|
|
3776
|
+
t.indexOf(r) < 0 && Bs.call(e, r) && (n[r] = e[r]);
|
|
3771
3777
|
return n;
|
|
3772
3778
|
};
|
|
3773
|
-
const
|
|
3779
|
+
const Us = {
|
|
3774
3780
|
number: {
|
|
3775
3781
|
scientific: { notation: "scientific" },
|
|
3776
3782
|
engineering: { notation: "engineering" },
|
|
@@ -3800,174 +3806,174 @@ const Bs = {
|
|
|
3800
3806
|
}
|
|
3801
3807
|
}
|
|
3802
3808
|
};
|
|
3803
|
-
function
|
|
3809
|
+
function ks({ locale: e, id: t }) {
|
|
3804
3810
|
console.warn(
|
|
3805
|
-
`[svelte-i18n] The message "${t}" was not found in "${
|
|
3811
|
+
`[svelte-i18n] The message "${t}" was not found in "${yt(
|
|
3806
3812
|
e
|
|
3807
|
-
).join('", "')}".${
|
|
3813
|
+
).join('", "')}".${Wt(Pe()) ? `
|
|
3808
3814
|
|
|
3809
3815
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3810
3816
|
);
|
|
3811
3817
|
}
|
|
3812
|
-
const
|
|
3818
|
+
const Fs = {
|
|
3813
3819
|
fallbackLocale: null,
|
|
3814
3820
|
loadingDelay: 200,
|
|
3815
|
-
formats:
|
|
3821
|
+
formats: Us,
|
|
3816
3822
|
warnOnMissingMessages: !0,
|
|
3817
3823
|
handleMissingMessage: void 0,
|
|
3818
3824
|
ignoreTag: !0
|
|
3819
|
-
},
|
|
3820
|
-
function
|
|
3821
|
-
return
|
|
3825
|
+
}, mt = Fs;
|
|
3826
|
+
function Qe() {
|
|
3827
|
+
return mt;
|
|
3822
3828
|
}
|
|
3823
|
-
function
|
|
3824
|
-
const t = e, { formats: n } = t, r =
|
|
3829
|
+
function Gs(e) {
|
|
3830
|
+
const t = e, { formats: n } = t, r = $s(t, ["formats"]);
|
|
3825
3831
|
let i = e.fallbackLocale;
|
|
3826
3832
|
if (e.initialLocale)
|
|
3827
3833
|
try {
|
|
3828
|
-
|
|
3834
|
+
xi.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3829
3835
|
} catch {
|
|
3830
3836
|
console.warn(
|
|
3831
3837
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3832
3838
|
);
|
|
3833
3839
|
}
|
|
3834
|
-
return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage =
|
|
3840
|
+
return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = ks : console.warn(
|
|
3835
3841
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3836
|
-
)), Object.assign(
|
|
3842
|
+
)), Object.assign(mt, r, { initialLocale: i }), n && ("number" in n && Object.assign(mt.formats.number, n.number), "date" in n && Object.assign(mt.formats.date, n.date), "time" in n && Object.assign(mt.formats.time, n.time)), Be.set(i);
|
|
3837
3843
|
}
|
|
3838
|
-
const
|
|
3839
|
-
var
|
|
3844
|
+
const dn = bt(!1);
|
|
3845
|
+
var js = Object.defineProperty, zs = Object.defineProperties, Ws = Object.getOwnPropertyDescriptors, xr = Object.getOwnPropertySymbols, Vs = Object.prototype.hasOwnProperty, Xs = Object.prototype.propertyIsEnumerable, vr = (e, t, n) => t in e ? js(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ys = (e, t) => {
|
|
3840
3846
|
for (var n in t || (t = {}))
|
|
3841
|
-
|
|
3842
|
-
if (
|
|
3843
|
-
for (var n of
|
|
3844
|
-
|
|
3847
|
+
Vs.call(t, n) && vr(e, n, t[n]);
|
|
3848
|
+
if (xr)
|
|
3849
|
+
for (var n of xr(t))
|
|
3850
|
+
Xs.call(t, n) && vr(e, n, t[n]);
|
|
3845
3851
|
return e;
|
|
3846
|
-
},
|
|
3847
|
-
let
|
|
3848
|
-
const
|
|
3849
|
-
function
|
|
3852
|
+
}, Zs = (e, t) => zs(e, Ws(t));
|
|
3853
|
+
let Mn;
|
|
3854
|
+
const Vt = bt(null);
|
|
3855
|
+
function Tr(e) {
|
|
3850
3856
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3851
3857
|
}
|
|
3852
|
-
function
|
|
3853
|
-
const n =
|
|
3854
|
-
return t ? [.../* @__PURE__ */ new Set([...n, ...
|
|
3858
|
+
function yt(e, t = Qe().fallbackLocale) {
|
|
3859
|
+
const n = Tr(e);
|
|
3860
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...Tr(t)])] : n;
|
|
3855
3861
|
}
|
|
3856
|
-
function
|
|
3857
|
-
return
|
|
3862
|
+
function Pe() {
|
|
3863
|
+
return Mn ?? void 0;
|
|
3858
3864
|
}
|
|
3859
|
-
|
|
3860
|
-
|
|
3865
|
+
Vt.subscribe((e) => {
|
|
3866
|
+
Mn = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3861
3867
|
});
|
|
3862
|
-
const
|
|
3863
|
-
if (e &&
|
|
3864
|
-
const { loadingDelay: t } =
|
|
3868
|
+
const qs = (e) => {
|
|
3869
|
+
if (e && Hs(e) && Wt(e)) {
|
|
3870
|
+
const { loadingDelay: t } = Qe();
|
|
3865
3871
|
let n;
|
|
3866
|
-
return typeof window < "u" &&
|
|
3867
|
-
() =>
|
|
3872
|
+
return typeof window < "u" && Pe() != null && t ? n = window.setTimeout(
|
|
3873
|
+
() => dn.set(!0),
|
|
3868
3874
|
t
|
|
3869
|
-
) :
|
|
3870
|
-
|
|
3875
|
+
) : dn.set(!0), Ai(e).then(() => {
|
|
3876
|
+
Vt.set(e);
|
|
3871
3877
|
}).finally(() => {
|
|
3872
|
-
clearTimeout(n),
|
|
3878
|
+
clearTimeout(n), dn.set(!1);
|
|
3873
3879
|
});
|
|
3874
3880
|
}
|
|
3875
|
-
return
|
|
3876
|
-
},
|
|
3877
|
-
set:
|
|
3878
|
-
}),
|
|
3881
|
+
return Vt.set(e);
|
|
3882
|
+
}, Be = Zs(Ys({}, Vt), {
|
|
3883
|
+
set: qs
|
|
3884
|
+
}), Qt = (e) => {
|
|
3879
3885
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3880
3886
|
return (r) => {
|
|
3881
3887
|
const i = JSON.stringify(r);
|
|
3882
3888
|
return i in t ? t[i] : t[i] = e(r);
|
|
3883
3889
|
};
|
|
3884
3890
|
};
|
|
3885
|
-
var
|
|
3891
|
+
var Js = Object.defineProperty, Xt = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, Sr = (e, t, n) => t in e ? Js(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Rn = (e, t) => {
|
|
3886
3892
|
for (var n in t || (t = {}))
|
|
3887
|
-
|
|
3888
|
-
if (
|
|
3889
|
-
for (var n of
|
|
3890
|
-
|
|
3893
|
+
Oi.call(t, n) && Sr(e, n, t[n]);
|
|
3894
|
+
if (Xt)
|
|
3895
|
+
for (var n of Xt(t))
|
|
3896
|
+
Mi.call(t, n) && Sr(e, n, t[n]);
|
|
3891
3897
|
return e;
|
|
3892
|
-
},
|
|
3898
|
+
}, tt = (e, t) => {
|
|
3893
3899
|
var n = {};
|
|
3894
3900
|
for (var r in e)
|
|
3895
|
-
|
|
3896
|
-
if (e != null &&
|
|
3897
|
-
for (var r of
|
|
3898
|
-
t.indexOf(r) < 0 &&
|
|
3901
|
+
Oi.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3902
|
+
if (e != null && Xt)
|
|
3903
|
+
for (var r of Xt(e))
|
|
3904
|
+
t.indexOf(r) < 0 && Mi.call(e, r) && (n[r] = e[r]);
|
|
3899
3905
|
return n;
|
|
3900
3906
|
};
|
|
3901
|
-
const
|
|
3902
|
-
const { formats: n } =
|
|
3907
|
+
const _t = (e, t) => {
|
|
3908
|
+
const { formats: n } = Qe();
|
|
3903
3909
|
if (e in n && t in n[e])
|
|
3904
3910
|
return n[e][t];
|
|
3905
3911
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3906
|
-
},
|
|
3912
|
+
}, Qs = Qt(
|
|
3907
3913
|
(e) => {
|
|
3908
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3914
|
+
var t = e, { locale: n, format: r } = t, i = tt(t, ["locale", "format"]);
|
|
3909
3915
|
if (n == null)
|
|
3910
3916
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3911
|
-
return r && (i =
|
|
3917
|
+
return r && (i = _t("number", r)), new Intl.NumberFormat(n, i);
|
|
3912
3918
|
}
|
|
3913
|
-
),
|
|
3919
|
+
), Ks = Qt(
|
|
3914
3920
|
(e) => {
|
|
3915
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3921
|
+
var t = e, { locale: n, format: r } = t, i = tt(t, ["locale", "format"]);
|
|
3916
3922
|
if (n == null)
|
|
3917
3923
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3918
|
-
return r ? i =
|
|
3924
|
+
return r ? i = _t("date", r) : Object.keys(i).length === 0 && (i = _t("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3919
3925
|
}
|
|
3920
|
-
),
|
|
3926
|
+
), ea = Qt(
|
|
3921
3927
|
(e) => {
|
|
3922
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3928
|
+
var t = e, { locale: n, format: r } = t, i = tt(t, ["locale", "format"]);
|
|
3923
3929
|
if (n == null)
|
|
3924
3930
|
throw new Error(
|
|
3925
3931
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3926
3932
|
);
|
|
3927
|
-
return r ? i =
|
|
3933
|
+
return r ? i = _t("time", r) : Object.keys(i).length === 0 && (i = _t("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3928
3934
|
}
|
|
3929
|
-
),
|
|
3935
|
+
), ta = (e = {}) => {
|
|
3930
3936
|
var t = e, {
|
|
3931
|
-
locale: n =
|
|
3932
|
-
} = t, r =
|
|
3937
|
+
locale: n = Pe()
|
|
3938
|
+
} = t, r = tt(t, [
|
|
3933
3939
|
"locale"
|
|
3934
3940
|
]);
|
|
3935
|
-
return
|
|
3936
|
-
},
|
|
3941
|
+
return Qs(Rn({ locale: n }, r));
|
|
3942
|
+
}, na = (e = {}) => {
|
|
3937
3943
|
var t = e, {
|
|
3938
|
-
locale: n =
|
|
3939
|
-
} = t, r =
|
|
3944
|
+
locale: n = Pe()
|
|
3945
|
+
} = t, r = tt(t, [
|
|
3940
3946
|
"locale"
|
|
3941
3947
|
]);
|
|
3942
|
-
return
|
|
3943
|
-
},
|
|
3948
|
+
return Ks(Rn({ locale: n }, r));
|
|
3949
|
+
}, ra = (e = {}) => {
|
|
3944
3950
|
var t = e, {
|
|
3945
|
-
locale: n =
|
|
3946
|
-
} = t, r =
|
|
3951
|
+
locale: n = Pe()
|
|
3952
|
+
} = t, r = tt(t, [
|
|
3947
3953
|
"locale"
|
|
3948
3954
|
]);
|
|
3949
|
-
return
|
|
3950
|
-
},
|
|
3955
|
+
return ea(Rn({ locale: n }, r));
|
|
3956
|
+
}, ia = Qt(
|
|
3951
3957
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3952
|
-
(e, t =
|
|
3953
|
-
ignoreTag:
|
|
3958
|
+
(e, t = Pe()) => new xi(e, t, Qe().formats, {
|
|
3959
|
+
ignoreTag: Qe().ignoreTag
|
|
3954
3960
|
})
|
|
3955
|
-
),
|
|
3961
|
+
), oa = (e, t = {}) => {
|
|
3956
3962
|
var n, r, i, o;
|
|
3957
3963
|
let u = t;
|
|
3958
3964
|
typeof e == "object" && (u = e, e = u.id);
|
|
3959
3965
|
const {
|
|
3960
3966
|
values: a,
|
|
3961
|
-
locale: c =
|
|
3967
|
+
locale: c = Pe(),
|
|
3962
3968
|
default: l
|
|
3963
3969
|
} = u;
|
|
3964
3970
|
if (c == null)
|
|
3965
3971
|
throw new Error(
|
|
3966
3972
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3967
3973
|
);
|
|
3968
|
-
let f =
|
|
3974
|
+
let f = vi(e, c);
|
|
3969
3975
|
if (!f)
|
|
3970
|
-
f = (o = (i = (r = (n =
|
|
3976
|
+
f = (o = (i = (r = (n = Qe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
3971
3977
|
else if (typeof f != "string")
|
|
3972
3978
|
return console.warn(
|
|
3973
3979
|
`[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.`
|
|
@@ -3976,7 +3982,7 @@ const gt = (e, t) => {
|
|
|
3976
3982
|
return f;
|
|
3977
3983
|
let _ = f;
|
|
3978
3984
|
try {
|
|
3979
|
-
_ =
|
|
3985
|
+
_ = ia(f, c).format(a);
|
|
3980
3986
|
} catch (y) {
|
|
3981
3987
|
y instanceof Error && console.warn(
|
|
3982
3988
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3984,20 +3990,20 @@ const gt = (e, t) => {
|
|
|
3984
3990
|
);
|
|
3985
3991
|
}
|
|
3986
3992
|
return _;
|
|
3987
|
-
},
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
function
|
|
3993
|
-
|
|
3994
|
-
}
|
|
3995
|
-
function
|
|
3996
|
-
|
|
3993
|
+
}, sa = (e, t) => ra(t).format(e), aa = (e, t) => na(t).format(e), ua = (e, t) => ta(t).format(e), la = (e, t = Pe()) => vi(e, t), ca = et([Be, Et], () => oa);
|
|
3994
|
+
et([Be], () => sa);
|
|
3995
|
+
et([Be], () => aa);
|
|
3996
|
+
et([Be], () => ua);
|
|
3997
|
+
et([Be, Et], () => la);
|
|
3998
|
+
function wr(e, t) {
|
|
3999
|
+
Si(e, t);
|
|
4000
|
+
}
|
|
4001
|
+
function fa(e) {
|
|
4002
|
+
Gs({
|
|
3997
4003
|
fallbackLocale: "en"
|
|
3998
|
-
}),
|
|
4004
|
+
}), Be.set(e);
|
|
3999
4005
|
}
|
|
4000
|
-
const
|
|
4006
|
+
const Ar = {
|
|
4001
4007
|
en: {
|
|
4002
4008
|
sessionExpirationHeader: "Session Warning",
|
|
4003
4009
|
sessionExpirationTitle: "Your session is about to expire!",
|
|
@@ -4022,19 +4028,19 @@ const Sr = {
|
|
|
4022
4028
|
};
|
|
4023
4029
|
/*! @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 */
|
|
4024
4030
|
const {
|
|
4025
|
-
entries:
|
|
4026
|
-
setPrototypeOf:
|
|
4027
|
-
isFrozen:
|
|
4028
|
-
getPrototypeOf:
|
|
4029
|
-
getOwnPropertyDescriptor:
|
|
4031
|
+
entries: Ci,
|
|
4032
|
+
setPrototypeOf: Or,
|
|
4033
|
+
isFrozen: ha,
|
|
4034
|
+
getPrototypeOf: ma,
|
|
4035
|
+
getOwnPropertyDescriptor: da
|
|
4030
4036
|
} = Object;
|
|
4031
4037
|
let {
|
|
4032
4038
|
freeze: fe,
|
|
4033
4039
|
seal: _e,
|
|
4034
|
-
create:
|
|
4040
|
+
create: Li
|
|
4035
4041
|
} = Object, {
|
|
4036
|
-
apply:
|
|
4037
|
-
construct:
|
|
4042
|
+
apply: Cn,
|
|
4043
|
+
construct: Ln
|
|
4038
4044
|
} = typeof Reflect < "u" && Reflect;
|
|
4039
4045
|
fe || (fe = function(t) {
|
|
4040
4046
|
return t;
|
|
@@ -4042,98 +4048,98 @@ fe || (fe = function(t) {
|
|
|
4042
4048
|
_e || (_e = function(t) {
|
|
4043
4049
|
return t;
|
|
4044
4050
|
});
|
|
4045
|
-
|
|
4051
|
+
Cn || (Cn = function(t, n, r) {
|
|
4046
4052
|
return t.apply(n, r);
|
|
4047
4053
|
});
|
|
4048
|
-
|
|
4054
|
+
Ln || (Ln = function(t, n) {
|
|
4049
4055
|
return new t(...n);
|
|
4050
4056
|
});
|
|
4051
|
-
const
|
|
4057
|
+
const Ct = pe(Array.prototype.forEach), Mr = pe(Array.prototype.pop), at = pe(Array.prototype.push), Ut = pe(String.prototype.toLowerCase), pn = pe(String.prototype.toString), Cr = pe(String.prototype.match), ut = pe(String.prototype.replace), pa = pe(String.prototype.indexOf), ga = pe(String.prototype.trim), xe = pe(Object.prototype.hasOwnProperty), ue = pe(RegExp.prototype.test), lt = _a(TypeError);
|
|
4052
4058
|
function pe(e) {
|
|
4053
4059
|
return function(t) {
|
|
4054
4060
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
4055
4061
|
r[i - 1] = arguments[i];
|
|
4056
|
-
return
|
|
4062
|
+
return Cn(e, t, r);
|
|
4057
4063
|
};
|
|
4058
4064
|
}
|
|
4059
|
-
function
|
|
4065
|
+
function _a(e) {
|
|
4060
4066
|
return function() {
|
|
4061
4067
|
for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
4062
4068
|
n[r] = arguments[r];
|
|
4063
|
-
return
|
|
4069
|
+
return Ln(e, n);
|
|
4064
4070
|
};
|
|
4065
4071
|
}
|
|
4066
4072
|
function P(e, t) {
|
|
4067
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
4068
|
-
|
|
4073
|
+
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ut;
|
|
4074
|
+
Or && Or(e, null);
|
|
4069
4075
|
let r = t.length;
|
|
4070
4076
|
for (; r--; ) {
|
|
4071
4077
|
let i = t[r];
|
|
4072
4078
|
if (typeof i == "string") {
|
|
4073
4079
|
const o = n(i);
|
|
4074
|
-
o !== i && (
|
|
4080
|
+
o !== i && (ha(t) || (t[r] = o), i = o);
|
|
4075
4081
|
}
|
|
4076
4082
|
e[i] = !0;
|
|
4077
4083
|
}
|
|
4078
4084
|
return e;
|
|
4079
4085
|
}
|
|
4080
|
-
function
|
|
4086
|
+
function ba(e) {
|
|
4081
4087
|
for (let t = 0; t < e.length; t++)
|
|
4082
4088
|
xe(e, t) || (e[t] = null);
|
|
4083
4089
|
return e;
|
|
4084
4090
|
}
|
|
4085
|
-
function
|
|
4086
|
-
const t =
|
|
4087
|
-
for (const [n, r] of
|
|
4088
|
-
xe(e, n) && (Array.isArray(r) ? t[n] =
|
|
4091
|
+
function De(e) {
|
|
4092
|
+
const t = Li(null);
|
|
4093
|
+
for (const [n, r] of Ci(e))
|
|
4094
|
+
xe(e, n) && (Array.isArray(r) ? t[n] = ba(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = De(r) : t[n] = r);
|
|
4089
4095
|
return t;
|
|
4090
4096
|
}
|
|
4091
|
-
function
|
|
4097
|
+
function ct(e, t) {
|
|
4092
4098
|
for (; e !== null; ) {
|
|
4093
|
-
const r =
|
|
4099
|
+
const r = da(e, t);
|
|
4094
4100
|
if (r) {
|
|
4095
4101
|
if (r.get)
|
|
4096
4102
|
return pe(r.get);
|
|
4097
4103
|
if (typeof r.value == "function")
|
|
4098
4104
|
return pe(r.value);
|
|
4099
4105
|
}
|
|
4100
|
-
e =
|
|
4106
|
+
e = ma(e);
|
|
4101
4107
|
}
|
|
4102
4108
|
function n() {
|
|
4103
4109
|
return null;
|
|
4104
4110
|
}
|
|
4105
4111
|
return n;
|
|
4106
4112
|
}
|
|
4107
|
-
const
|
|
4113
|
+
const Lr = 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"]), gn = 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"]), _n = 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"]), Ea = 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"]), bn = 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"]), ya = fe(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Nr = fe(["#text"]), Hr = 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"]), En = 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"]), Ir = 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"]), Lt = fe(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), xa = _e(/\{\{[\w\W]*|[\w\W]*\}\}/gm), va = _e(/<%[\w\W]*|[\w\W]*%>/gm), Ta = _e(/\${[\w\W]*}/gm), Sa = _e(/^data-[\-\w.\u00B7-\uFFFF]/), wa = _e(/^aria-[\-\w]+$/), Ni = _e(
|
|
4108
4114
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
4109
4115
|
// eslint-disable-line no-useless-escape
|
|
4110
|
-
),
|
|
4116
|
+
), Aa = _e(/^(?:\w+script|data):/i), Oa = _e(
|
|
4111
4117
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
4112
4118
|
// eslint-disable-line no-control-regex
|
|
4113
|
-
),
|
|
4114
|
-
var
|
|
4119
|
+
), Hi = _e(/^html$/i), Ma = _e(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
4120
|
+
var Pr = /* @__PURE__ */ Object.freeze({
|
|
4115
4121
|
__proto__: null,
|
|
4116
|
-
MUSTACHE_EXPR:
|
|
4117
|
-
ERB_EXPR:
|
|
4118
|
-
TMPLIT_EXPR:
|
|
4119
|
-
DATA_ATTR:
|
|
4120
|
-
ARIA_ATTR:
|
|
4121
|
-
IS_ALLOWED_URI:
|
|
4122
|
-
IS_SCRIPT_OR_DATA:
|
|
4123
|
-
ATTR_WHITESPACE:
|
|
4124
|
-
DOCTYPE_NAME:
|
|
4125
|
-
CUSTOM_ELEMENT:
|
|
4122
|
+
MUSTACHE_EXPR: xa,
|
|
4123
|
+
ERB_EXPR: va,
|
|
4124
|
+
TMPLIT_EXPR: Ta,
|
|
4125
|
+
DATA_ATTR: Sa,
|
|
4126
|
+
ARIA_ATTR: wa,
|
|
4127
|
+
IS_ALLOWED_URI: Ni,
|
|
4128
|
+
IS_SCRIPT_OR_DATA: Aa,
|
|
4129
|
+
ATTR_WHITESPACE: Oa,
|
|
4130
|
+
DOCTYPE_NAME: Hi,
|
|
4131
|
+
CUSTOM_ELEMENT: Ma
|
|
4126
4132
|
});
|
|
4127
|
-
const
|
|
4133
|
+
const ft = {
|
|
4128
4134
|
element: 1,
|
|
4129
4135
|
text: 3,
|
|
4130
4136
|
// Deprecated
|
|
4131
4137
|
progressingInstruction: 7,
|
|
4132
4138
|
comment: 8,
|
|
4133
4139
|
document: 9
|
|
4134
|
-
},
|
|
4140
|
+
}, Ca = function() {
|
|
4135
4141
|
return typeof window > "u" ? null : window;
|
|
4136
|
-
},
|
|
4142
|
+
}, La = function(t, n) {
|
|
4137
4143
|
if (typeof t != "object" || typeof t.createPolicy != "function")
|
|
4138
4144
|
return null;
|
|
4139
4145
|
let r = null;
|
|
@@ -4153,10 +4159,10 @@ const ct = {
|
|
|
4153
4159
|
return console.warn("TrustedTypes policy " + o + " could not be created."), null;
|
|
4154
4160
|
}
|
|
4155
4161
|
};
|
|
4156
|
-
function
|
|
4157
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
4158
|
-
const t = (A) =>
|
|
4159
|
-
if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !==
|
|
4162
|
+
function Ii() {
|
|
4163
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ca();
|
|
4164
|
+
const t = (A) => Ii(A);
|
|
4165
|
+
if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !== ft.document)
|
|
4160
4166
|
return t.isSupported = !1, t;
|
|
4161
4167
|
let {
|
|
4162
4168
|
document: n
|
|
@@ -4171,39 +4177,39 @@ function Ni() {
|
|
|
4171
4177
|
HTMLFormElement: _,
|
|
4172
4178
|
DOMParser: y,
|
|
4173
4179
|
trustedTypes: M
|
|
4174
|
-
} = e, b = c.prototype, d =
|
|
4180
|
+
} = e, b = c.prototype, d = ct(b, "cloneNode"), C = ct(b, "remove"), F = ct(b, "nextSibling"), $ = ct(b, "childNodes"), w = ct(b, "parentNode");
|
|
4175
4181
|
if (typeof u == "function") {
|
|
4176
4182
|
const A = n.createElement("template");
|
|
4177
4183
|
A.content && A.content.ownerDocument && (n = A.content.ownerDocument);
|
|
4178
4184
|
}
|
|
4179
4185
|
let H, R = "";
|
|
4180
4186
|
const {
|
|
4181
|
-
implementation:
|
|
4182
|
-
createNodeIterator:
|
|
4183
|
-
createDocumentFragment:
|
|
4187
|
+
implementation: U,
|
|
4188
|
+
createNodeIterator: Y,
|
|
4189
|
+
createDocumentFragment: V,
|
|
4184
4190
|
getElementsByTagName: Q
|
|
4185
4191
|
} = n, {
|
|
4186
|
-
importNode:
|
|
4192
|
+
importNode: G
|
|
4187
4193
|
} = r;
|
|
4188
4194
|
let O = {};
|
|
4189
|
-
t.isSupported = typeof
|
|
4195
|
+
t.isSupported = typeof Ci == "function" && typeof w == "function" && U && U.createHTMLDocument !== void 0;
|
|
4190
4196
|
const {
|
|
4191
4197
|
MUSTACHE_EXPR: te,
|
|
4192
4198
|
ERB_EXPR: he,
|
|
4193
|
-
TMPLIT_EXPR:
|
|
4199
|
+
TMPLIT_EXPR: T,
|
|
4194
4200
|
DATA_ATTR: E,
|
|
4195
4201
|
ARIA_ATTR: g,
|
|
4196
|
-
IS_SCRIPT_OR_DATA:
|
|
4202
|
+
IS_SCRIPT_OR_DATA: v,
|
|
4197
4203
|
ATTR_WHITESPACE: h,
|
|
4198
4204
|
CUSTOM_ELEMENT: x
|
|
4199
|
-
} =
|
|
4205
|
+
} = Pr;
|
|
4200
4206
|
let {
|
|
4201
4207
|
IS_ALLOWED_URI: L
|
|
4202
|
-
} =
|
|
4203
|
-
const
|
|
4208
|
+
} = Pr, N = null;
|
|
4209
|
+
const j = P({}, [...Lr, ...gn, ..._n, ...bn, ...Nr]);
|
|
4204
4210
|
let I = null;
|
|
4205
|
-
const q = P({}, [...
|
|
4206
|
-
let m = Object.seal(
|
|
4211
|
+
const q = P({}, [...Hr, ...En, ...Ir, ...Lt]);
|
|
4212
|
+
let m = Object.seal(Li(null, {
|
|
4207
4213
|
tagNameCheck: {
|
|
4208
4214
|
writable: !0,
|
|
4209
4215
|
configurable: !1,
|
|
@@ -4222,59 +4228,59 @@ function Ni() {
|
|
|
4222
4228
|
enumerable: !0,
|
|
4223
4229
|
value: !1
|
|
4224
4230
|
}
|
|
4225
|
-
})),
|
|
4226
|
-
const
|
|
4227
|
-
let
|
|
4228
|
-
const
|
|
4229
|
-
let
|
|
4230
|
-
const
|
|
4231
|
-
let
|
|
4232
|
-
const
|
|
4233
|
-
let
|
|
4234
|
-
const
|
|
4235
|
-
let
|
|
4236
|
-
const
|
|
4237
|
-
let ne = null,
|
|
4238
|
-
const
|
|
4231
|
+
})), k = null, ee = null, K = !0, Ee = !0, ie = !1, ye = !0, ge = !1, Le = !0, Re = !1, Kt = !1, en = !1, $e = !1, xt = !1, vt = !1, Dn = !0, Bn = !1;
|
|
4232
|
+
const Di = "user-content-";
|
|
4233
|
+
let tn = !0, nt = !1, Ue = {}, ke = null;
|
|
4234
|
+
const $n = 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"]);
|
|
4235
|
+
let Un = null;
|
|
4236
|
+
const kn = P({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
4237
|
+
let nn = null;
|
|
4238
|
+
const Fn = P({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Tt = "http://www.w3.org/1998/Math/MathML", St = "http://www.w3.org/2000/svg", Ae = "http://www.w3.org/1999/xhtml";
|
|
4239
|
+
let Fe = Ae, rn = !1, on = null;
|
|
4240
|
+
const Bi = P({}, [Tt, St, Ae], pn);
|
|
4241
|
+
let rt = null;
|
|
4242
|
+
const $i = ["application/xhtml+xml", "text/html"], Ui = "text/html";
|
|
4243
|
+
let ne = null, Ge = null;
|
|
4244
|
+
const ki = n.createElement("form"), Gn = function(s) {
|
|
4239
4245
|
return s instanceof RegExp || s instanceof Function;
|
|
4240
|
-
},
|
|
4246
|
+
}, sn = function() {
|
|
4241
4247
|
let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4242
|
-
if (!(
|
|
4243
|
-
if ((!s || typeof s != "object") && (s = {}), s =
|
|
4244
|
-
|
|
4245
|
-
|
|
4248
|
+
if (!(Ge && Ge === s)) {
|
|
4249
|
+
if ((!s || typeof s != "object") && (s = {}), s = De(s), rt = // eslint-disable-next-line unicorn/prefer-includes
|
|
4250
|
+
$i.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? Ui : s.PARSER_MEDIA_TYPE, ne = rt === "application/xhtml+xml" ? pn : Ut, N = xe(s, "ALLOWED_TAGS") ? P({}, s.ALLOWED_TAGS, ne) : j, I = xe(s, "ALLOWED_ATTR") ? P({}, s.ALLOWED_ATTR, ne) : q, on = xe(s, "ALLOWED_NAMESPACES") ? P({}, s.ALLOWED_NAMESPACES, pn) : Bi, nn = xe(s, "ADD_URI_SAFE_ATTR") ? P(
|
|
4251
|
+
De(Fn),
|
|
4246
4252
|
// eslint-disable-line indent
|
|
4247
4253
|
s.ADD_URI_SAFE_ATTR,
|
|
4248
4254
|
// eslint-disable-line indent
|
|
4249
4255
|
ne
|
|
4250
4256
|
// eslint-disable-line indent
|
|
4251
|
-
) :
|
|
4252
|
-
|
|
4257
|
+
) : Fn, Un = xe(s, "ADD_DATA_URI_TAGS") ? P(
|
|
4258
|
+
De(kn),
|
|
4253
4259
|
// eslint-disable-line indent
|
|
4254
4260
|
s.ADD_DATA_URI_TAGS,
|
|
4255
4261
|
// eslint-disable-line indent
|
|
4256
4262
|
ne
|
|
4257
4263
|
// eslint-disable-line indent
|
|
4258
|
-
) :
|
|
4264
|
+
) : kn, ke = xe(s, "FORBID_CONTENTS") ? P({}, s.FORBID_CONTENTS, ne) : $n, k = xe(s, "FORBID_TAGS") ? P({}, s.FORBID_TAGS, ne) : {}, ee = xe(s, "FORBID_ATTR") ? P({}, s.FORBID_ATTR, ne) : {}, Ue = xe(s, "USE_PROFILES") ? s.USE_PROFILES : !1, K = s.ALLOW_ARIA_ATTR !== !1, Ee = s.ALLOW_DATA_ATTR !== !1, ie = s.ALLOW_UNKNOWN_PROTOCOLS || !1, ye = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ge = s.SAFE_FOR_TEMPLATES || !1, Le = s.SAFE_FOR_XML !== !1, Re = s.WHOLE_DOCUMENT || !1, $e = s.RETURN_DOM || !1, xt = s.RETURN_DOM_FRAGMENT || !1, vt = s.RETURN_TRUSTED_TYPE || !1, en = s.FORCE_BODY || !1, Dn = s.SANITIZE_DOM !== !1, Bn = s.SANITIZE_NAMED_PROPS || !1, tn = s.KEEP_CONTENT !== !1, nt = s.IN_PLACE || !1, L = s.ALLOWED_URI_REGEXP || Ni, Fe = s.NAMESPACE || Ae, m = s.CUSTOM_ELEMENT_HANDLING || {}, s.CUSTOM_ELEMENT_HANDLING && Gn(s.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (m.tagNameCheck = s.CUSTOM_ELEMENT_HANDLING.tagNameCheck), s.CUSTOM_ELEMENT_HANDLING && Gn(s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (m.attributeNameCheck = s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), s.CUSTOM_ELEMENT_HANDLING && typeof s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (m.allowCustomizedBuiltInElements = s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ge && (Ee = !1), xt && ($e = !0), Ue && (N = P({}, Nr), I = [], Ue.html === !0 && (P(N, Lr), P(I, Hr)), Ue.svg === !0 && (P(N, gn), P(I, En), P(I, Lt)), Ue.svgFilters === !0 && (P(N, _n), P(I, En), P(I, Lt)), Ue.mathMl === !0 && (P(N, bn), P(I, Ir), P(I, Lt))), s.ADD_TAGS && (N === j && (N = De(N)), P(N, s.ADD_TAGS, ne)), s.ADD_ATTR && (I === q && (I = De(I)), P(I, s.ADD_ATTR, ne)), s.ADD_URI_SAFE_ATTR && P(nn, s.ADD_URI_SAFE_ATTR, ne), s.FORBID_CONTENTS && (ke === $n && (ke = De(ke)), P(ke, s.FORBID_CONTENTS, ne)), tn && (N["#text"] = !0), Re && P(N, ["html", "head", "body"]), N.table && (P(N, ["tbody"]), delete k.tbody), s.TRUSTED_TYPES_POLICY) {
|
|
4259
4265
|
if (typeof s.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
4260
|
-
throw
|
|
4266
|
+
throw lt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
4261
4267
|
if (typeof s.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
4262
|
-
throw
|
|
4268
|
+
throw lt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
4263
4269
|
H = s.TRUSTED_TYPES_POLICY, R = H.createHTML("");
|
|
4264
4270
|
} else
|
|
4265
|
-
H === void 0 && (H =
|
|
4266
|
-
fe && fe(s),
|
|
4271
|
+
H === void 0 && (H = La(M, i)), H !== null && typeof R == "string" && (R = H.createHTML(""));
|
|
4272
|
+
fe && fe(s), Ge = s;
|
|
4267
4273
|
}
|
|
4268
|
-
},
|
|
4274
|
+
}, jn = P({}, ["mi", "mo", "mn", "ms", "mtext"]), zn = P({}, ["foreignobject", "annotation-xml"]), Fi = P({}, ["title", "style", "font", "a", "script"]), Wn = P({}, [...gn, ..._n, ...Ea]), Vn = P({}, [...bn, ...ya]), Gi = function(s) {
|
|
4269
4275
|
let p = w(s);
|
|
4270
4276
|
(!p || !p.tagName) && (p = {
|
|
4271
|
-
namespaceURI:
|
|
4277
|
+
namespaceURI: Fe,
|
|
4272
4278
|
tagName: "template"
|
|
4273
4279
|
});
|
|
4274
|
-
const S =
|
|
4275
|
-
return
|
|
4276
|
-
},
|
|
4277
|
-
|
|
4280
|
+
const S = Ut(s.tagName), z = Ut(p.tagName);
|
|
4281
|
+
return on[s.namespaceURI] ? s.namespaceURI === St ? p.namespaceURI === Ae ? S === "svg" : p.namespaceURI === Tt ? S === "svg" && (z === "annotation-xml" || jn[z]) : !!Wn[S] : s.namespaceURI === Tt ? p.namespaceURI === Ae ? S === "math" : p.namespaceURI === St ? S === "math" && zn[z] : !!Vn[S] : s.namespaceURI === Ae ? p.namespaceURI === St && !zn[z] || p.namespaceURI === Tt && !jn[z] ? !1 : !Vn[S] && (Fi[S] || !Wn[S]) : !!(rt === "application/xhtml+xml" && on[s.namespaceURI]) : !1;
|
|
4282
|
+
}, ve = function(s) {
|
|
4283
|
+
at(t.removed, {
|
|
4278
4284
|
element: s
|
|
4279
4285
|
});
|
|
4280
4286
|
try {
|
|
@@ -4282,22 +4288,22 @@ function Ni() {
|
|
|
4282
4288
|
} catch {
|
|
4283
4289
|
C(s);
|
|
4284
4290
|
}
|
|
4285
|
-
},
|
|
4291
|
+
}, wt = function(s, p) {
|
|
4286
4292
|
try {
|
|
4287
|
-
|
|
4293
|
+
at(t.removed, {
|
|
4288
4294
|
attribute: p.getAttributeNode(s),
|
|
4289
4295
|
from: p
|
|
4290
4296
|
});
|
|
4291
4297
|
} catch {
|
|
4292
|
-
|
|
4298
|
+
at(t.removed, {
|
|
4293
4299
|
attribute: null,
|
|
4294
4300
|
from: p
|
|
4295
4301
|
});
|
|
4296
4302
|
}
|
|
4297
4303
|
if (p.removeAttribute(s), s === "is" && !I[s])
|
|
4298
|
-
if (
|
|
4304
|
+
if ($e || xt)
|
|
4299
4305
|
try {
|
|
4300
|
-
|
|
4306
|
+
ve(p);
|
|
4301
4307
|
} catch {
|
|
4302
4308
|
}
|
|
4303
4309
|
else
|
|
@@ -4305,78 +4311,78 @@ function Ni() {
|
|
|
4305
4311
|
p.setAttribute(s, "");
|
|
4306
4312
|
} catch {
|
|
4307
4313
|
}
|
|
4308
|
-
},
|
|
4314
|
+
}, Xn = function(s) {
|
|
4309
4315
|
let p = null, S = null;
|
|
4310
|
-
if (
|
|
4316
|
+
if (en)
|
|
4311
4317
|
s = "<remove></remove>" + s;
|
|
4312
4318
|
else {
|
|
4313
|
-
const oe =
|
|
4319
|
+
const oe = Cr(s, /^[\r\n\t ]+/);
|
|
4314
4320
|
S = oe && oe[0];
|
|
4315
4321
|
}
|
|
4316
|
-
|
|
4317
|
-
const
|
|
4318
|
-
if (
|
|
4322
|
+
rt === "application/xhtml+xml" && Fe === Ae && (s = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + s + "</body></html>");
|
|
4323
|
+
const z = H ? H.createHTML(s) : s;
|
|
4324
|
+
if (Fe === Ae)
|
|
4319
4325
|
try {
|
|
4320
|
-
p = new y().parseFromString(
|
|
4326
|
+
p = new y().parseFromString(z, rt);
|
|
4321
4327
|
} catch {
|
|
4322
4328
|
}
|
|
4323
4329
|
if (!p || !p.documentElement) {
|
|
4324
|
-
p =
|
|
4330
|
+
p = U.createDocument(Fe, "template", null);
|
|
4325
4331
|
try {
|
|
4326
|
-
p.documentElement.innerHTML =
|
|
4332
|
+
p.documentElement.innerHTML = rn ? R : z;
|
|
4327
4333
|
} catch {
|
|
4328
4334
|
}
|
|
4329
4335
|
}
|
|
4330
4336
|
const se = p.body || p.documentElement;
|
|
4331
|
-
return s && S && se.insertBefore(n.createTextNode(S), se.childNodes[0] || null),
|
|
4332
|
-
},
|
|
4333
|
-
return
|
|
4337
|
+
return s && S && se.insertBefore(n.createTextNode(S), se.childNodes[0] || null), Fe === Ae ? Q.call(p, Re ? "html" : "body")[0] : Re ? p.documentElement : se;
|
|
4338
|
+
}, Yn = function(s) {
|
|
4339
|
+
return Y.call(
|
|
4334
4340
|
s.ownerDocument || s,
|
|
4335
4341
|
s,
|
|
4336
4342
|
// eslint-disable-next-line no-bitwise
|
|
4337
4343
|
l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION,
|
|
4338
4344
|
null
|
|
4339
4345
|
);
|
|
4340
|
-
},
|
|
4346
|
+
}, Zn = function(s) {
|
|
4341
4347
|
return s instanceof _ && (typeof s.nodeName != "string" || typeof s.textContent != "string" || typeof s.removeChild != "function" || !(s.attributes instanceof f) || typeof s.removeAttribute != "function" || typeof s.setAttribute != "function" || typeof s.namespaceURI != "string" || typeof s.insertBefore != "function" || typeof s.hasChildNodes != "function");
|
|
4342
|
-
},
|
|
4348
|
+
}, qn = function(s) {
|
|
4343
4349
|
return typeof a == "function" && s instanceof a;
|
|
4344
|
-
},
|
|
4345
|
-
O[s] &&
|
|
4346
|
-
|
|
4350
|
+
}, Oe = function(s, p, S) {
|
|
4351
|
+
O[s] && Ct(O[s], (z) => {
|
|
4352
|
+
z.call(t, p, S, Ge);
|
|
4347
4353
|
});
|
|
4348
|
-
},
|
|
4354
|
+
}, Jn = function(s) {
|
|
4349
4355
|
let p = null;
|
|
4350
|
-
if (
|
|
4351
|
-
return
|
|
4356
|
+
if (Oe("beforeSanitizeElements", s, null), Zn(s))
|
|
4357
|
+
return ve(s), !0;
|
|
4352
4358
|
const S = ne(s.nodeName);
|
|
4353
|
-
if (
|
|
4359
|
+
if (Oe("uponSanitizeElement", s, {
|
|
4354
4360
|
tagName: S,
|
|
4355
4361
|
allowedTags: N
|
|
4356
|
-
}), s.hasChildNodes() && !
|
|
4357
|
-
return
|
|
4358
|
-
if (!N[S] ||
|
|
4359
|
-
if (!
|
|
4362
|
+
}), s.hasChildNodes() && !qn(s.firstElementChild) && ue(/<[/\w]/g, s.innerHTML) && ue(/<[/\w]/g, s.textContent) || s.nodeType === ft.progressingInstruction || Le && s.nodeType === ft.comment && ue(/<[/\w]/g, s.data))
|
|
4363
|
+
return ve(s), !0;
|
|
4364
|
+
if (!N[S] || k[S]) {
|
|
4365
|
+
if (!k[S] && Kn(S) && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, S) || m.tagNameCheck instanceof Function && m.tagNameCheck(S)))
|
|
4360
4366
|
return !1;
|
|
4361
|
-
if (
|
|
4362
|
-
const
|
|
4363
|
-
if (se &&
|
|
4367
|
+
if (tn && !ke[S]) {
|
|
4368
|
+
const z = w(s) || s.parentNode, se = $(s) || s.childNodes;
|
|
4369
|
+
if (se && z) {
|
|
4364
4370
|
const oe = se.length;
|
|
4365
4371
|
for (let me = oe - 1; me >= 0; --me) {
|
|
4366
|
-
const
|
|
4367
|
-
|
|
4372
|
+
const Te = d(se[me], !0);
|
|
4373
|
+
Te.__removalCount = (s.__removalCount || 0) + 1, z.insertBefore(Te, F(s));
|
|
4368
4374
|
}
|
|
4369
4375
|
}
|
|
4370
4376
|
}
|
|
4371
|
-
return
|
|
4377
|
+
return ve(s), !0;
|
|
4372
4378
|
}
|
|
4373
|
-
return s instanceof c && !
|
|
4374
|
-
p =
|
|
4375
|
-
}), s.textContent !== p && (
|
|
4379
|
+
return s instanceof c && !Gi(s) || (S === "noscript" || S === "noembed" || S === "noframes") && ue(/<\/no(script|embed|frames)/i, s.innerHTML) ? (ve(s), !0) : (ge && s.nodeType === ft.text && (p = s.textContent, Ct([te, he, T], (z) => {
|
|
4380
|
+
p = ut(p, z, " ");
|
|
4381
|
+
}), s.textContent !== p && (at(t.removed, {
|
|
4376
4382
|
element: s.cloneNode()
|
|
4377
|
-
}), s.textContent = p)),
|
|
4378
|
-
},
|
|
4379
|
-
if (
|
|
4383
|
+
}), s.textContent = p)), Oe("afterSanitizeElements", s, null), !1);
|
|
4384
|
+
}, Qn = function(s, p, S) {
|
|
4385
|
+
if (Dn && (p === "id" || p === "name") && (S in n || S in ki))
|
|
4380
4386
|
return !1;
|
|
4381
4387
|
if (!(Ee && !ee[p] && ue(E, p))) {
|
|
4382
4388
|
if (!(K && ue(g, p))) {
|
|
@@ -4385,15 +4391,15 @@ function Ni() {
|
|
|
4385
4391
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
4386
4392
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4387
4393
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
4388
|
-
!(
|
|
4394
|
+
!(Kn(s) && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, s) || m.tagNameCheck instanceof Function && m.tagNameCheck(s)) && (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
|
|
4389
4395
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4390
4396
|
p === "is" && m.allowCustomizedBuiltInElements && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, S) || m.tagNameCheck instanceof Function && m.tagNameCheck(S)))
|
|
4391
4397
|
)
|
|
4392
4398
|
return !1;
|
|
4393
|
-
} else if (!
|
|
4394
|
-
if (!ue(L,
|
|
4395
|
-
if (!((p === "src" || p === "xlink:href" || p === "href") && s !== "script" &&
|
|
4396
|
-
if (!(ie && !ue(
|
|
4399
|
+
} else if (!nn[p]) {
|
|
4400
|
+
if (!ue(L, ut(S, h, ""))) {
|
|
4401
|
+
if (!((p === "src" || p === "xlink:href" || p === "href") && s !== "script" && pa(S, "data:") === 0 && Un[s])) {
|
|
4402
|
+
if (!(ie && !ue(v, ut(S, h, "")))) {
|
|
4397
4403
|
if (S)
|
|
4398
4404
|
return !1;
|
|
4399
4405
|
}
|
|
@@ -4403,10 +4409,10 @@ function Ni() {
|
|
|
4403
4409
|
}
|
|
4404
4410
|
}
|
|
4405
4411
|
return !0;
|
|
4406
|
-
},
|
|
4407
|
-
return s !== "annotation-xml" &&
|
|
4408
|
-
},
|
|
4409
|
-
|
|
4412
|
+
}, Kn = function(s) {
|
|
4413
|
+
return s !== "annotation-xml" && Cr(s, x);
|
|
4414
|
+
}, er = function(s) {
|
|
4415
|
+
Oe("beforeSanitizeAttributes", s, null);
|
|
4410
4416
|
const {
|
|
4411
4417
|
attributes: p
|
|
4412
4418
|
} = s;
|
|
@@ -4418,31 +4424,31 @@ function Ni() {
|
|
|
4418
4424
|
keepAttr: !0,
|
|
4419
4425
|
allowedAttributes: I
|
|
4420
4426
|
};
|
|
4421
|
-
let
|
|
4422
|
-
for (;
|
|
4423
|
-
const se = p[
|
|
4427
|
+
let z = p.length;
|
|
4428
|
+
for (; z--; ) {
|
|
4429
|
+
const se = p[z], {
|
|
4424
4430
|
name: oe,
|
|
4425
4431
|
namespaceURI: me,
|
|
4426
|
-
value:
|
|
4427
|
-
} = se,
|
|
4428
|
-
let ae = oe === "value" ?
|
|
4429
|
-
if (S.attrName =
|
|
4430
|
-
|
|
4432
|
+
value: Te
|
|
4433
|
+
} = se, it = ne(oe);
|
|
4434
|
+
let ae = oe === "value" ? Te : ga(Te);
|
|
4435
|
+
if (S.attrName = it, S.attrValue = ae, S.keepAttr = !0, S.forceKeepAttr = void 0, Oe("uponSanitizeAttribute", s, S), ae = S.attrValue, Le && ue(/((--!?|])>)|<\/(style|title)/i, ae)) {
|
|
4436
|
+
wt(oe, s);
|
|
4431
4437
|
continue;
|
|
4432
4438
|
}
|
|
4433
|
-
if (S.forceKeepAttr || (
|
|
4439
|
+
if (S.forceKeepAttr || (wt(oe, s), !S.keepAttr))
|
|
4434
4440
|
continue;
|
|
4435
4441
|
if (!ye && ue(/\/>/i, ae)) {
|
|
4436
|
-
|
|
4442
|
+
wt(oe, s);
|
|
4437
4443
|
continue;
|
|
4438
4444
|
}
|
|
4439
|
-
ge &&
|
|
4440
|
-
ae =
|
|
4445
|
+
ge && Ct([te, he, T], (nr) => {
|
|
4446
|
+
ae = ut(ae, nr, " ");
|
|
4441
4447
|
});
|
|
4442
|
-
const
|
|
4443
|
-
if (
|
|
4444
|
-
if (
|
|
4445
|
-
switch (M.getAttributeType(
|
|
4448
|
+
const tr = ne(s.nodeName);
|
|
4449
|
+
if (Qn(tr, it, ae)) {
|
|
4450
|
+
if (Bn && (it === "id" || it === "name") && (wt(oe, s), ae = Di + ae), H && typeof M == "object" && typeof M.getAttributeType == "function" && !me)
|
|
4451
|
+
switch (M.getAttributeType(tr, it)) {
|
|
4446
4452
|
case "TrustedHTML": {
|
|
4447
4453
|
ae = H.createHTML(ae);
|
|
4448
4454
|
break;
|
|
@@ -4453,144 +4459,144 @@ function Ni() {
|
|
|
4453
4459
|
}
|
|
4454
4460
|
}
|
|
4455
4461
|
try {
|
|
4456
|
-
me ? s.setAttributeNS(me, oe, ae) : s.setAttribute(oe, ae),
|
|
4462
|
+
me ? s.setAttributeNS(me, oe, ae) : s.setAttribute(oe, ae), Zn(s) ? ve(s) : Mr(t.removed);
|
|
4457
4463
|
} catch {
|
|
4458
4464
|
}
|
|
4459
4465
|
}
|
|
4460
4466
|
}
|
|
4461
|
-
|
|
4462
|
-
},
|
|
4467
|
+
Oe("afterSanitizeAttributes", s, null);
|
|
4468
|
+
}, ji = function A(s) {
|
|
4463
4469
|
let p = null;
|
|
4464
|
-
const S =
|
|
4465
|
-
for (
|
|
4466
|
-
|
|
4467
|
-
|
|
4470
|
+
const S = Yn(s);
|
|
4471
|
+
for (Oe("beforeSanitizeShadowDOM", s, null); p = S.nextNode(); )
|
|
4472
|
+
Oe("uponSanitizeShadowNode", p, null), !Jn(p) && (p.content instanceof o && A(p.content), er(p));
|
|
4473
|
+
Oe("afterSanitizeShadowDOM", s, null);
|
|
4468
4474
|
};
|
|
4469
4475
|
return t.sanitize = function(A) {
|
|
4470
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null, S = null,
|
|
4471
|
-
if (
|
|
4476
|
+
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null, S = null, z = null, se = null;
|
|
4477
|
+
if (rn = !A, rn && (A = "<!-->"), typeof A != "string" && !qn(A))
|
|
4472
4478
|
if (typeof A.toString == "function") {
|
|
4473
4479
|
if (A = A.toString(), typeof A != "string")
|
|
4474
|
-
throw
|
|
4480
|
+
throw lt("dirty is not a string, aborting");
|
|
4475
4481
|
} else
|
|
4476
|
-
throw
|
|
4482
|
+
throw lt("toString is not a function");
|
|
4477
4483
|
if (!t.isSupported)
|
|
4478
4484
|
return A;
|
|
4479
|
-
if (
|
|
4485
|
+
if (Kt || sn(s), t.removed = [], typeof A == "string" && (nt = !1), nt) {
|
|
4480
4486
|
if (A.nodeName) {
|
|
4481
|
-
const
|
|
4482
|
-
if (!N[
|
|
4483
|
-
throw
|
|
4487
|
+
const Te = ne(A.nodeName);
|
|
4488
|
+
if (!N[Te] || k[Te])
|
|
4489
|
+
throw lt("root node is forbidden and cannot be sanitized in-place");
|
|
4484
4490
|
}
|
|
4485
4491
|
} else if (A instanceof a)
|
|
4486
|
-
p =
|
|
4492
|
+
p = Xn("<!---->"), S = p.ownerDocument.importNode(A, !0), S.nodeType === ft.element && S.nodeName === "BODY" || S.nodeName === "HTML" ? p = S : p.appendChild(S);
|
|
4487
4493
|
else {
|
|
4488
|
-
if (
|
|
4494
|
+
if (!$e && !ge && !Re && // eslint-disable-next-line unicorn/prefer-includes
|
|
4489
4495
|
A.indexOf("<") === -1)
|
|
4490
|
-
return H &&
|
|
4491
|
-
if (p =
|
|
4492
|
-
return
|
|
4496
|
+
return H && vt ? H.createHTML(A) : A;
|
|
4497
|
+
if (p = Xn(A), !p)
|
|
4498
|
+
return $e ? null : vt ? R : "";
|
|
4493
4499
|
}
|
|
4494
|
-
p &&
|
|
4495
|
-
const oe =
|
|
4496
|
-
for (;
|
|
4497
|
-
|
|
4498
|
-
if (
|
|
4500
|
+
p && en && ve(p.firstChild);
|
|
4501
|
+
const oe = Yn(nt ? A : p);
|
|
4502
|
+
for (; z = oe.nextNode(); )
|
|
4503
|
+
Jn(z) || (z.content instanceof o && ji(z.content), er(z));
|
|
4504
|
+
if (nt)
|
|
4499
4505
|
return A;
|
|
4500
|
-
if (
|
|
4501
|
-
if (
|
|
4502
|
-
for (se =
|
|
4506
|
+
if ($e) {
|
|
4507
|
+
if (xt)
|
|
4508
|
+
for (se = V.call(p.ownerDocument); p.firstChild; )
|
|
4503
4509
|
se.appendChild(p.firstChild);
|
|
4504
4510
|
else
|
|
4505
4511
|
se = p;
|
|
4506
|
-
return (I.shadowroot || I.shadowrootmode) && (se =
|
|
4512
|
+
return (I.shadowroot || I.shadowrootmode) && (se = G.call(r, se, !0)), se;
|
|
4507
4513
|
}
|
|
4508
|
-
let me =
|
|
4509
|
-
return
|
|
4510
|
-
` + me), ge &&
|
|
4511
|
-
me =
|
|
4512
|
-
}), H &&
|
|
4514
|
+
let me = Re ? p.outerHTML : p.innerHTML;
|
|
4515
|
+
return Re && N["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && ue(Hi, p.ownerDocument.doctype.name) && (me = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
|
|
4516
|
+
` + me), ge && Ct([te, he, T], (Te) => {
|
|
4517
|
+
me = ut(me, Te, " ");
|
|
4518
|
+
}), H && vt ? H.createHTML(me) : me;
|
|
4513
4519
|
}, t.setConfig = function() {
|
|
4514
4520
|
let A = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4515
|
-
|
|
4521
|
+
sn(A), Kt = !0;
|
|
4516
4522
|
}, t.clearConfig = function() {
|
|
4517
|
-
|
|
4523
|
+
Ge = null, Kt = !1;
|
|
4518
4524
|
}, t.isValidAttribute = function(A, s, p) {
|
|
4519
|
-
|
|
4520
|
-
const S = ne(A),
|
|
4521
|
-
return
|
|
4525
|
+
Ge || sn({});
|
|
4526
|
+
const S = ne(A), z = ne(s);
|
|
4527
|
+
return Qn(S, z, p);
|
|
4522
4528
|
}, t.addHook = function(A, s) {
|
|
4523
|
-
typeof s == "function" && (O[A] = O[A] || [],
|
|
4529
|
+
typeof s == "function" && (O[A] = O[A] || [], at(O[A], s));
|
|
4524
4530
|
}, t.removeHook = function(A) {
|
|
4525
4531
|
if (O[A])
|
|
4526
|
-
return
|
|
4532
|
+
return Mr(O[A]);
|
|
4527
4533
|
}, t.removeHooks = function(A) {
|
|
4528
4534
|
O[A] && (O[A] = []);
|
|
4529
4535
|
}, t.removeAllHooks = function() {
|
|
4530
4536
|
O = {};
|
|
4531
4537
|
}, t;
|
|
4532
4538
|
}
|
|
4533
|
-
var
|
|
4539
|
+
var Rr = Ii(), Pi = { exports: {} };
|
|
4534
4540
|
(function(e, t) {
|
|
4535
4541
|
(function(n, r) {
|
|
4536
4542
|
e.exports = r();
|
|
4537
|
-
})(
|
|
4538
|
-
var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", u = "second", a = "minute", c = "hour", l = "day", f = "week", _ = "month", y = "quarter", M = "year", b = "date", d = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
|
|
4539
|
-
var E = ["th", "st", "nd", "rd"], g =
|
|
4540
|
-
return "[" +
|
|
4541
|
-
} }, w = function(
|
|
4542
|
-
var
|
|
4543
|
-
return !
|
|
4544
|
-
}, H = { s: w, z: function(
|
|
4545
|
-
var E = -
|
|
4546
|
-
return (E <= 0 ? "+" : "-") + w(
|
|
4547
|
-
}, m: function
|
|
4543
|
+
})(ri, function() {
|
|
4544
|
+
var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", u = "second", a = "minute", c = "hour", l = "day", f = "week", _ = "month", y = "quarter", M = "year", b = "date", d = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, F = /\[([^\]]+)]|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, $ = { 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(T) {
|
|
4545
|
+
var E = ["th", "st", "nd", "rd"], g = T % 100;
|
|
4546
|
+
return "[" + T + (E[(g - 20) % 10] || E[g] || E[0]) + "]";
|
|
4547
|
+
} }, w = function(T, E, g) {
|
|
4548
|
+
var v = String(T);
|
|
4549
|
+
return !v || v.length >= E ? T : "" + Array(E + 1 - v.length).join(g) + T;
|
|
4550
|
+
}, H = { s: w, z: function(T) {
|
|
4551
|
+
var E = -T.utcOffset(), g = Math.abs(E), v = Math.floor(g / 60), h = g % 60;
|
|
4552
|
+
return (E <= 0 ? "+" : "-") + w(v, 2, "0") + ":" + w(h, 2, "0");
|
|
4553
|
+
}, m: function T(E, g) {
|
|
4548
4554
|
if (E.date() < g.date())
|
|
4549
|
-
return -
|
|
4550
|
-
var
|
|
4551
|
-
return +(-(
|
|
4552
|
-
}, a: function(
|
|
4553
|
-
return
|
|
4554
|
-
}, p: function(
|
|
4555
|
-
return { M: _, y: M, w: f, d: l, D: b, h: c, m: a, s: u, ms: o, Q: y }[
|
|
4556
|
-
}, u: function(
|
|
4557
|
-
return
|
|
4558
|
-
} }, R = "en",
|
|
4559
|
-
|
|
4560
|
-
var
|
|
4561
|
-
return
|
|
4562
|
-
}, Q = function
|
|
4555
|
+
return -T(g, E);
|
|
4556
|
+
var v = 12 * (g.year() - E.year()) + (g.month() - E.month()), h = E.clone().add(v, _), x = g - h < 0, L = E.clone().add(v + (x ? -1 : 1), _);
|
|
4557
|
+
return +(-(v + (g - h) / (x ? h - L : L - h)) || 0);
|
|
4558
|
+
}, a: function(T) {
|
|
4559
|
+
return T < 0 ? Math.ceil(T) || 0 : Math.floor(T);
|
|
4560
|
+
}, p: function(T) {
|
|
4561
|
+
return { M: _, y: M, w: f, d: l, D: b, h: c, m: a, s: u, ms: o, Q: y }[T] || String(T || "").toLowerCase().replace(/s$/, "");
|
|
4562
|
+
}, u: function(T) {
|
|
4563
|
+
return T === void 0;
|
|
4564
|
+
} }, R = "en", U = {};
|
|
4565
|
+
U[R] = $;
|
|
4566
|
+
var Y = "$isDayjsObject", V = function(T) {
|
|
4567
|
+
return T instanceof te || !(!T || !T[Y]);
|
|
4568
|
+
}, Q = function T(E, g, v) {
|
|
4563
4569
|
var h;
|
|
4564
4570
|
if (!E)
|
|
4565
4571
|
return R;
|
|
4566
4572
|
if (typeof E == "string") {
|
|
4567
4573
|
var x = E.toLowerCase();
|
|
4568
|
-
|
|
4574
|
+
U[x] && (h = x), g && (U[x] = g, h = x);
|
|
4569
4575
|
var L = E.split("-");
|
|
4570
4576
|
if (!h && L.length > 1)
|
|
4571
|
-
return
|
|
4577
|
+
return T(L[0]);
|
|
4572
4578
|
} else {
|
|
4573
4579
|
var N = E.name;
|
|
4574
|
-
|
|
4580
|
+
U[N] = E, h = N;
|
|
4575
4581
|
}
|
|
4576
|
-
return !
|
|
4577
|
-
},
|
|
4578
|
-
if (
|
|
4579
|
-
return
|
|
4582
|
+
return !v && h && (R = h), h || !v && R;
|
|
4583
|
+
}, G = function(T, E) {
|
|
4584
|
+
if (V(T))
|
|
4585
|
+
return T.clone();
|
|
4580
4586
|
var g = typeof E == "object" ? E : {};
|
|
4581
|
-
return g.date =
|
|
4587
|
+
return g.date = T, g.args = arguments, new te(g);
|
|
4582
4588
|
}, O = H;
|
|
4583
|
-
O.l = Q, O.i =
|
|
4584
|
-
return
|
|
4589
|
+
O.l = Q, O.i = V, O.w = function(T, E) {
|
|
4590
|
+
return G(T, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
|
|
4585
4591
|
};
|
|
4586
4592
|
var te = function() {
|
|
4587
|
-
function
|
|
4588
|
-
this.$L = Q(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[
|
|
4593
|
+
function T(g) {
|
|
4594
|
+
this.$L = Q(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[Y] = !0;
|
|
4589
4595
|
}
|
|
4590
|
-
var E =
|
|
4596
|
+
var E = T.prototype;
|
|
4591
4597
|
return E.parse = function(g) {
|
|
4592
|
-
this.$d = function(
|
|
4593
|
-
var h =
|
|
4598
|
+
this.$d = function(v) {
|
|
4599
|
+
var h = v.date, x = v.utc;
|
|
4594
4600
|
if (h === null)
|
|
4595
4601
|
return /* @__PURE__ */ new Date(NaN);
|
|
4596
4602
|
if (O.u(h))
|
|
@@ -4600,8 +4606,8 @@ var Ir = Ni(), Hi = { exports: {} };
|
|
|
4600
4606
|
if (typeof h == "string" && !/Z$/i.test(h)) {
|
|
4601
4607
|
var L = h.match(C);
|
|
4602
4608
|
if (L) {
|
|
4603
|
-
var N = L[2] - 1 || 0,
|
|
4604
|
-
return x ? new Date(Date.UTC(L[1], N, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0,
|
|
4609
|
+
var N = L[2] - 1 || 0, j = (L[7] || "0").substring(0, 3);
|
|
4610
|
+
return x ? new Date(Date.UTC(L[1], N, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, j)) : new Date(L[1], N, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, j);
|
|
4605
4611
|
}
|
|
4606
4612
|
}
|
|
4607
4613
|
return new Date(h);
|
|
@@ -4613,26 +4619,26 @@ var Ir = Ni(), Hi = { exports: {} };
|
|
|
4613
4619
|
return O;
|
|
4614
4620
|
}, E.isValid = function() {
|
|
4615
4621
|
return this.$d.toString() !== d;
|
|
4616
|
-
}, E.isSame = function(g,
|
|
4617
|
-
var h =
|
|
4618
|
-
return this.startOf(
|
|
4619
|
-
}, E.isAfter = function(g,
|
|
4620
|
-
return
|
|
4621
|
-
}, E.isBefore = function(g,
|
|
4622
|
-
return this.endOf(
|
|
4623
|
-
}, E.$g = function(g,
|
|
4624
|
-
return O.u(g) ? this[
|
|
4622
|
+
}, E.isSame = function(g, v) {
|
|
4623
|
+
var h = G(g);
|
|
4624
|
+
return this.startOf(v) <= h && h <= this.endOf(v);
|
|
4625
|
+
}, E.isAfter = function(g, v) {
|
|
4626
|
+
return G(g) < this.startOf(v);
|
|
4627
|
+
}, E.isBefore = function(g, v) {
|
|
4628
|
+
return this.endOf(v) < G(g);
|
|
4629
|
+
}, E.$g = function(g, v, h) {
|
|
4630
|
+
return O.u(g) ? this[v] : this.set(h, g);
|
|
4625
4631
|
}, E.unix = function() {
|
|
4626
4632
|
return Math.floor(this.valueOf() / 1e3);
|
|
4627
4633
|
}, E.valueOf = function() {
|
|
4628
4634
|
return this.$d.getTime();
|
|
4629
|
-
}, E.startOf = function(g,
|
|
4630
|
-
var h = this, x = !!O.u(
|
|
4635
|
+
}, E.startOf = function(g, v) {
|
|
4636
|
+
var h = this, x = !!O.u(v) || v, L = O.p(g), N = function(Ee, ie) {
|
|
4631
4637
|
var ye = O.w(h.$u ? Date.UTC(h.$y, ie, Ee) : new Date(h.$y, ie, Ee), h);
|
|
4632
4638
|
return x ? ye : ye.endOf(l);
|
|
4633
|
-
},
|
|
4639
|
+
}, j = function(Ee, ie) {
|
|
4634
4640
|
return O.w(h.toDate()[Ee].apply(h.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), h);
|
|
4635
|
-
}, I = this.$W, q = this.$M, m = this.$D,
|
|
4641
|
+
}, I = this.$W, q = this.$M, m = this.$D, k = "set" + (this.$u ? "UTC" : "");
|
|
4636
4642
|
switch (L) {
|
|
4637
4643
|
case M:
|
|
4638
4644
|
return x ? N(1, 0) : N(31, 11);
|
|
@@ -4643,35 +4649,35 @@ var Ir = Ni(), Hi = { exports: {} };
|
|
|
4643
4649
|
return N(x ? m - K : m + (6 - K), q);
|
|
4644
4650
|
case l:
|
|
4645
4651
|
case b:
|
|
4646
|
-
return
|
|
4652
|
+
return j(k + "Hours", 0);
|
|
4647
4653
|
case c:
|
|
4648
|
-
return
|
|
4654
|
+
return j(k + "Minutes", 1);
|
|
4649
4655
|
case a:
|
|
4650
|
-
return
|
|
4656
|
+
return j(k + "Seconds", 2);
|
|
4651
4657
|
case u:
|
|
4652
|
-
return
|
|
4658
|
+
return j(k + "Milliseconds", 3);
|
|
4653
4659
|
default:
|
|
4654
4660
|
return this.clone();
|
|
4655
4661
|
}
|
|
4656
4662
|
}, E.endOf = function(g) {
|
|
4657
4663
|
return this.startOf(g, !1);
|
|
4658
|
-
}, E.$set = function(g,
|
|
4659
|
-
var h, x = O.p(g), L = "set" + (this.$u ? "UTC" : ""), N = (h = {}, h[l] = L + "Date", h[b] = L + "Date", h[_] = L + "Month", h[M] = L + "FullYear", h[c] = L + "Hours", h[a] = L + "Minutes", h[u] = L + "Seconds", h[o] = L + "Milliseconds", h)[x],
|
|
4664
|
+
}, E.$set = function(g, v) {
|
|
4665
|
+
var h, x = O.p(g), L = "set" + (this.$u ? "UTC" : ""), N = (h = {}, h[l] = L + "Date", h[b] = L + "Date", h[_] = L + "Month", h[M] = L + "FullYear", h[c] = L + "Hours", h[a] = L + "Minutes", h[u] = L + "Seconds", h[o] = L + "Milliseconds", h)[x], j = x === l ? this.$D + (v - this.$W) : v;
|
|
4660
4666
|
if (x === _ || x === M) {
|
|
4661
4667
|
var I = this.clone().set(b, 1);
|
|
4662
|
-
I.$d[N](
|
|
4668
|
+
I.$d[N](j), I.init(), this.$d = I.set(b, Math.min(this.$D, I.daysInMonth())).$d;
|
|
4663
4669
|
} else
|
|
4664
|
-
N && this.$d[N](
|
|
4670
|
+
N && this.$d[N](j);
|
|
4665
4671
|
return this.init(), this;
|
|
4666
|
-
}, E.set = function(g,
|
|
4667
|
-
return this.clone().$set(g,
|
|
4672
|
+
}, E.set = function(g, v) {
|
|
4673
|
+
return this.clone().$set(g, v);
|
|
4668
4674
|
}, E.get = function(g) {
|
|
4669
4675
|
return this[O.p(g)]();
|
|
4670
|
-
}, E.add = function(g,
|
|
4676
|
+
}, E.add = function(g, v) {
|
|
4671
4677
|
var h, x = this;
|
|
4672
4678
|
g = Number(g);
|
|
4673
|
-
var L = O.p(
|
|
4674
|
-
var m =
|
|
4679
|
+
var L = O.p(v), N = function(q) {
|
|
4680
|
+
var m = G(x);
|
|
4675
4681
|
return O.w(m.date(m.date() + Math.round(q * g)), x);
|
|
4676
4682
|
};
|
|
4677
4683
|
if (L === _)
|
|
@@ -4682,29 +4688,29 @@ var Ir = Ni(), Hi = { exports: {} };
|
|
|
4682
4688
|
return N(1);
|
|
4683
4689
|
if (L === f)
|
|
4684
4690
|
return N(7);
|
|
4685
|
-
var
|
|
4691
|
+
var j = (h = {}, h[a] = r, h[c] = i, h[u] = n, h)[L] || 1, I = this.$d.getTime() + g * j;
|
|
4686
4692
|
return O.w(I, this);
|
|
4687
|
-
}, E.subtract = function(g,
|
|
4688
|
-
return this.add(-1 * g,
|
|
4693
|
+
}, E.subtract = function(g, v) {
|
|
4694
|
+
return this.add(-1 * g, v);
|
|
4689
4695
|
}, E.format = function(g) {
|
|
4690
|
-
var
|
|
4696
|
+
var v = this, h = this.$locale();
|
|
4691
4697
|
if (!this.isValid())
|
|
4692
4698
|
return h.invalidDate || d;
|
|
4693
|
-
var x = g || "YYYY-MM-DDTHH:mm:ssZ", L = O.z(this), N = this.$H,
|
|
4694
|
-
return ie && (ie[ye] || ie(
|
|
4699
|
+
var x = g || "YYYY-MM-DDTHH:mm:ssZ", L = O.z(this), N = this.$H, j = this.$m, I = this.$M, q = h.weekdays, m = h.months, k = h.meridiem, ee = function(ie, ye, ge, Le) {
|
|
4700
|
+
return ie && (ie[ye] || ie(v, x)) || ge[ye].slice(0, Le);
|
|
4695
4701
|
}, K = function(ie) {
|
|
4696
4702
|
return O.s(N % 12 || 12, ie, "0");
|
|
4697
|
-
}, Ee =
|
|
4698
|
-
var
|
|
4699
|
-
return ge ?
|
|
4703
|
+
}, Ee = k || function(ie, ye, ge) {
|
|
4704
|
+
var Le = ie < 12 ? "AM" : "PM";
|
|
4705
|
+
return ge ? Le.toLowerCase() : Le;
|
|
4700
4706
|
};
|
|
4701
|
-
return x.replace(
|
|
4707
|
+
return x.replace(F, function(ie, ye) {
|
|
4702
4708
|
return ye || function(ge) {
|
|
4703
4709
|
switch (ge) {
|
|
4704
4710
|
case "YY":
|
|
4705
|
-
return String(
|
|
4711
|
+
return String(v.$y).slice(-2);
|
|
4706
4712
|
case "YYYY":
|
|
4707
|
-
return O.s(
|
|
4713
|
+
return O.s(v.$y, 4, "0");
|
|
4708
4714
|
case "M":
|
|
4709
4715
|
return I + 1;
|
|
4710
4716
|
case "MM":
|
|
@@ -4714,17 +4720,17 @@ var Ir = Ni(), Hi = { exports: {} };
|
|
|
4714
4720
|
case "MMMM":
|
|
4715
4721
|
return ee(m, I);
|
|
4716
4722
|
case "D":
|
|
4717
|
-
return
|
|
4723
|
+
return v.$D;
|
|
4718
4724
|
case "DD":
|
|
4719
|
-
return O.s(
|
|
4725
|
+
return O.s(v.$D, 2, "0");
|
|
4720
4726
|
case "d":
|
|
4721
|
-
return String(
|
|
4727
|
+
return String(v.$W);
|
|
4722
4728
|
case "dd":
|
|
4723
|
-
return ee(h.weekdaysMin,
|
|
4729
|
+
return ee(h.weekdaysMin, v.$W, q, 2);
|
|
4724
4730
|
case "ddd":
|
|
4725
|
-
return ee(h.weekdaysShort,
|
|
4731
|
+
return ee(h.weekdaysShort, v.$W, q, 3);
|
|
4726
4732
|
case "dddd":
|
|
4727
|
-
return q[
|
|
4733
|
+
return q[v.$W];
|
|
4728
4734
|
case "H":
|
|
4729
4735
|
return String(N);
|
|
4730
4736
|
case "HH":
|
|
@@ -4734,19 +4740,19 @@ var Ir = Ni(), Hi = { exports: {} };
|
|
|
4734
4740
|
case "hh":
|
|
4735
4741
|
return K(2);
|
|
4736
4742
|
case "a":
|
|
4737
|
-
return Ee(N,
|
|
4743
|
+
return Ee(N, j, !0);
|
|
4738
4744
|
case "A":
|
|
4739
|
-
return Ee(N,
|
|
4745
|
+
return Ee(N, j, !1);
|
|
4740
4746
|
case "m":
|
|
4741
|
-
return String(
|
|
4747
|
+
return String(j);
|
|
4742
4748
|
case "mm":
|
|
4743
|
-
return O.s(
|
|
4749
|
+
return O.s(j, 2, "0");
|
|
4744
4750
|
case "s":
|
|
4745
|
-
return String(
|
|
4751
|
+
return String(v.$s);
|
|
4746
4752
|
case "ss":
|
|
4747
|
-
return O.s(
|
|
4753
|
+
return O.s(v.$s, 2, "0");
|
|
4748
4754
|
case "SSS":
|
|
4749
|
-
return O.s(
|
|
4755
|
+
return O.s(v.$ms, 3, "0");
|
|
4750
4756
|
case "Z":
|
|
4751
4757
|
return L;
|
|
4752
4758
|
}
|
|
@@ -4755,9 +4761,9 @@ var Ir = Ni(), Hi = { exports: {} };
|
|
|
4755
4761
|
});
|
|
4756
4762
|
}, E.utcOffset = function() {
|
|
4757
4763
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4758
|
-
}, E.diff = function(g,
|
|
4759
|
-
var x, L = this, N = O.p(
|
|
4760
|
-
return O.m(L,
|
|
4764
|
+
}, E.diff = function(g, v, h) {
|
|
4765
|
+
var x, L = this, N = O.p(v), j = G(g), I = (j.utcOffset() - this.utcOffset()) * r, q = this - j, m = function() {
|
|
4766
|
+
return O.m(L, j);
|
|
4761
4767
|
};
|
|
4762
4768
|
switch (N) {
|
|
4763
4769
|
case M:
|
|
@@ -4791,11 +4797,11 @@ var Ir = Ni(), Hi = { exports: {} };
|
|
|
4791
4797
|
}, E.daysInMonth = function() {
|
|
4792
4798
|
return this.endOf(_).$D;
|
|
4793
4799
|
}, E.$locale = function() {
|
|
4794
|
-
return
|
|
4795
|
-
}, E.locale = function(g,
|
|
4800
|
+
return U[this.$L];
|
|
4801
|
+
}, E.locale = function(g, v) {
|
|
4796
4802
|
if (!g)
|
|
4797
4803
|
return this.$L;
|
|
4798
|
-
var h = this.clone(), x = Q(g,
|
|
4804
|
+
var h = this.clone(), x = Q(g, v, !0);
|
|
4799
4805
|
return x && (h.$L = x), h;
|
|
4800
4806
|
}, E.clone = function() {
|
|
4801
4807
|
return O.w(this.$d, this);
|
|
@@ -4807,26 +4813,26 @@ var Ir = Ni(), Hi = { exports: {} };
|
|
|
4807
4813
|
return this.$d.toISOString();
|
|
4808
4814
|
}, E.toString = function() {
|
|
4809
4815
|
return this.$d.toUTCString();
|
|
4810
|
-
},
|
|
4816
|
+
}, T;
|
|
4811
4817
|
}(), he = te.prototype;
|
|
4812
|
-
return
|
|
4813
|
-
he[
|
|
4814
|
-
return this.$g(E,
|
|
4818
|
+
return G.prototype = he, [["$ms", o], ["$s", u], ["$m", a], ["$H", c], ["$W", l], ["$M", _], ["$y", M], ["$D", b]].forEach(function(T) {
|
|
4819
|
+
he[T[1]] = function(E) {
|
|
4820
|
+
return this.$g(E, T[0], T[1]);
|
|
4815
4821
|
};
|
|
4816
|
-
}),
|
|
4817
|
-
return
|
|
4818
|
-
},
|
|
4819
|
-
return
|
|
4820
|
-
},
|
|
4822
|
+
}), G.extend = function(T, E) {
|
|
4823
|
+
return T.$i || (T(E, te, G), T.$i = !0), G;
|
|
4824
|
+
}, G.locale = Q, G.isDayjs = V, G.unix = function(T) {
|
|
4825
|
+
return G(1e3 * T);
|
|
4826
|
+
}, G.en = U[R], G.Ls = U, G.p = {}, G;
|
|
4821
4827
|
});
|
|
4822
|
-
})(
|
|
4823
|
-
var
|
|
4824
|
-
const
|
|
4825
|
-
var
|
|
4828
|
+
})(Pi);
|
|
4829
|
+
var Na = Pi.exports;
|
|
4830
|
+
const Dr = /* @__PURE__ */ In(Na);
|
|
4831
|
+
var Ri = { exports: {} };
|
|
4826
4832
|
(function(e, t) {
|
|
4827
4833
|
(function(n, r) {
|
|
4828
4834
|
e.exports = r();
|
|
4829
|
-
})(
|
|
4835
|
+
})(ri, function() {
|
|
4830
4836
|
var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
|
|
4831
4837
|
return function(o, u, a) {
|
|
4832
4838
|
var c = u.prototype;
|
|
@@ -4853,16 +4859,16 @@ var Ii = { exports: {} };
|
|
|
4853
4859
|
};
|
|
4854
4860
|
var _ = c.utcOffset;
|
|
4855
4861
|
c.utcOffset = function(d, C) {
|
|
4856
|
-
var
|
|
4857
|
-
if (
|
|
4858
|
-
return this.$u ? 0 :
|
|
4862
|
+
var F = this.$utils().u;
|
|
4863
|
+
if (F(d))
|
|
4864
|
+
return this.$u ? 0 : F(this.$offset) ? _.call(this) : this.$offset;
|
|
4859
4865
|
if (typeof d == "string" && (d = function(R) {
|
|
4860
4866
|
R === void 0 && (R = "");
|
|
4861
|
-
var
|
|
4862
|
-
if (!
|
|
4867
|
+
var U = R.match(r);
|
|
4868
|
+
if (!U)
|
|
4863
4869
|
return null;
|
|
4864
|
-
var
|
|
4865
|
-
return Q === 0 ? 0 :
|
|
4870
|
+
var Y = ("" + U[0]).match(i) || ["-", 0, 0], V = Y[0], Q = 60 * +Y[1] + +Y[2];
|
|
4871
|
+
return Q === 0 ? 0 : V === "+" ? Q : -Q;
|
|
4866
4872
|
}(d), d === null))
|
|
4867
4873
|
return this;
|
|
4868
4874
|
var $ = Math.abs(d) <= 16 ? 60 * d : d, w = this;
|
|
@@ -4894,25 +4900,25 @@ var Ii = { exports: {} };
|
|
|
4894
4900
|
return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : M.call(this);
|
|
4895
4901
|
};
|
|
4896
4902
|
var b = c.diff;
|
|
4897
|
-
c.diff = function(d, C,
|
|
4903
|
+
c.diff = function(d, C, F) {
|
|
4898
4904
|
if (d && this.$u === d.$u)
|
|
4899
|
-
return b.call(this, d, C,
|
|
4905
|
+
return b.call(this, d, C, F);
|
|
4900
4906
|
var $ = this.local(), w = a(d).local();
|
|
4901
|
-
return b.call($, w, C,
|
|
4907
|
+
return b.call($, w, C, F);
|
|
4902
4908
|
};
|
|
4903
4909
|
};
|
|
4904
4910
|
});
|
|
4905
|
-
})(
|
|
4906
|
-
var
|
|
4907
|
-
const
|
|
4908
|
-
let
|
|
4909
|
-
function
|
|
4911
|
+
})(Ri);
|
|
4912
|
+
var Ha = Ri.exports;
|
|
4913
|
+
const Ia = /* @__PURE__ */ In(Ha);
|
|
4914
|
+
let Br = bt(null);
|
|
4915
|
+
function Pa(e, t) {
|
|
4910
4916
|
if (e) {
|
|
4911
4917
|
const n = document.createElement("style");
|
|
4912
4918
|
n.innerHTML = t, e.appendChild(n);
|
|
4913
4919
|
}
|
|
4914
4920
|
}
|
|
4915
|
-
function
|
|
4921
|
+
function Ra(e, t) {
|
|
4916
4922
|
const n = new URL(t);
|
|
4917
4923
|
fetch(n.href).then((r) => r.text()).then((r) => {
|
|
4918
4924
|
const i = document.createElement("style");
|
|
@@ -4921,7 +4927,7 @@ function Ia(e, t) {
|
|
|
4921
4927
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
4922
4928
|
});
|
|
4923
4929
|
}
|
|
4924
|
-
function
|
|
4930
|
+
function Da(e, t, n) {
|
|
4925
4931
|
if (window.emMessageBus) {
|
|
4926
4932
|
const r = document.createElement("style");
|
|
4927
4933
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4929,70 +4935,70 @@ function Pa(e, t, n) {
|
|
|
4929
4935
|
});
|
|
4930
4936
|
}
|
|
4931
4937
|
}
|
|
4932
|
-
function
|
|
4933
|
-
|
|
4938
|
+
function Ba(e) {
|
|
4939
|
+
Yi(e, "svelte-878602", "*,*::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:15;top:0;left:0;background-color:var(--emw--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(--emw--header-height, 40px);background-color:var(--emw--color-gray-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(--emw--color-gray-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(--emw--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)}.CashierSessionExpiration button{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #3854FF)}.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(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #3854FF)}.CashierErrorButton:hover{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:disabled{filter:saturate(50%);opacity:0.5;cursor:auto;pointer-events:none}.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}}");
|
|
4934
4940
|
}
|
|
4935
|
-
const
|
|
4936
|
-
function
|
|
4941
|
+
const $a = (e) => ({}), $r = (e) => ({}), Ua = (e) => ({}), Ur = (e) => ({}), ka = (e) => ({}), kr = (e) => ({}), Fa = (e) => ({}), Fr = (e) => ({ class: "CashierSessionExpirationIcon" });
|
|
4942
|
+
function Gr(e) {
|
|
4937
4943
|
let t, n, r, i, o, u = (
|
|
4938
4944
|
/*$_*/
|
|
4939
4945
|
e[8]("sessionExpirationHeader") + ""
|
|
4940
|
-
), a, c, l, f, _, y, M, b, d, C,
|
|
4941
|
-
const
|
|
4946
|
+
), a, c, l, f, _, y, M, b, d, C, F, $, w, H, R;
|
|
4947
|
+
const U = (
|
|
4942
4948
|
/*#slots*/
|
|
4943
4949
|
e[22].icon
|
|
4944
|
-
),
|
|
4945
|
-
|
|
4950
|
+
), Y = Nt(
|
|
4951
|
+
U,
|
|
4946
4952
|
e,
|
|
4947
4953
|
/*$$scope*/
|
|
4948
4954
|
e[21],
|
|
4949
|
-
|
|
4950
|
-
),
|
|
4955
|
+
Fr
|
|
4956
|
+
), V = Y || Ga(e), Q = (
|
|
4951
4957
|
/*#slots*/
|
|
4952
4958
|
e[22].title
|
|
4953
|
-
),
|
|
4959
|
+
), G = Nt(
|
|
4954
4960
|
Q,
|
|
4955
4961
|
e,
|
|
4956
4962
|
/*$$scope*/
|
|
4957
4963
|
e[21],
|
|
4958
|
-
|
|
4959
|
-
), O =
|
|
4964
|
+
kr
|
|
4965
|
+
), O = G || ja(e), te = (
|
|
4960
4966
|
/*#slots*/
|
|
4961
4967
|
e[22].text
|
|
4962
|
-
), he =
|
|
4968
|
+
), he = Nt(
|
|
4963
4969
|
te,
|
|
4964
4970
|
e,
|
|
4965
4971
|
/*$$scope*/
|
|
4966
4972
|
e[21],
|
|
4967
|
-
|
|
4968
|
-
),
|
|
4969
|
-
function
|
|
4973
|
+
Ur
|
|
4974
|
+
), T = he || za(e), E = [Va, Wa], g = [];
|
|
4975
|
+
function v(h, x) {
|
|
4970
4976
|
return (
|
|
4971
4977
|
/*showLoaderButton*/
|
|
4972
4978
|
h[6] ? 0 : 1
|
|
4973
4979
|
);
|
|
4974
4980
|
}
|
|
4975
|
-
return d =
|
|
4981
|
+
return d = v(e), C = g[d] = E[d](e), {
|
|
4976
4982
|
c() {
|
|
4977
|
-
t = re("div"), n = re("div"), r = re("div"), i = re("div"), o = re("div"), a =
|
|
4978
|
-
e[6],
|
|
4983
|
+
t = re("div"), n = re("div"), r = re("div"), i = re("div"), o = re("div"), a = Ke(u), c = ht(), l = re("div"), f = re("div"), V && V.c(), _ = ht(), O && O.c(), y = ht(), T && T.c(), M = ht(), b = re("button"), C.c(), W(o, "class", "CashierSessionExpirationModalHeaderTitle"), W(i, "class", "CashierSessionExpirationModalHeader"), W(b, "type", "button"), b.disabled = /*showLoaderButton*/
|
|
4984
|
+
e[6], W(b, "class", "CashierSessionExpirationButton"), W(f, "class", "CashierSessionExpiration"), W(l, "class", "CashierSessionExpirationModalContainer"), W(r, "class", "CashierSessionExpirationModalWrapper"), W(n, "class", "CashierSessionExpirationModalWindow"), W(n, "id", "CashierSessionExpirationModal"), Ye(() => (
|
|
4979
4985
|
/*div5_elementresize_handler*/
|
|
4980
4986
|
e[24].call(n)
|
|
4981
4987
|
));
|
|
4982
4988
|
},
|
|
4983
4989
|
m(h, x) {
|
|
4984
|
-
|
|
4990
|
+
Ce(h, t, x), J(t, n), J(n, r), J(r, i), J(i, o), J(o, a), J(r, c), J(r, l), J(l, f), V && V.m(f, null), J(f, _), O && O.m(f, null), J(f, y), T && T.m(f, null), J(f, M), J(f, b), g[d].m(b, null), e[23](f), F = Qi(
|
|
4985
4991
|
n,
|
|
4986
4992
|
/*div5_elementresize_handler*/
|
|
4987
4993
|
e[24].bind(n)
|
|
4988
4994
|
), e[25](t), w = !0, H || (R = [
|
|
4989
|
-
|
|
4995
|
+
kt(
|
|
4990
4996
|
b,
|
|
4991
4997
|
"click",
|
|
4992
4998
|
/*renewSession*/
|
|
4993
4999
|
e[9]
|
|
4994
5000
|
),
|
|
4995
|
-
|
|
5001
|
+
kt(
|
|
4996
5002
|
n,
|
|
4997
5003
|
"click",
|
|
4998
5004
|
/*outOfModalClick*/
|
|
@@ -5003,155 +5009,155 @@ function kr(e) {
|
|
|
5003
5009
|
p(h, x) {
|
|
5004
5010
|
e = h, (!w || x[0] & /*$_*/
|
|
5005
5011
|
256) && u !== (u = /*$_*/
|
|
5006
|
-
e[8]("sessionExpirationHeader") + "") &&
|
|
5007
|
-
2097152) &&
|
|
5008
|
-
|
|
5009
|
-
|
|
5012
|
+
e[8]("sessionExpirationHeader") + "") && Zt(a, u), Y ? Y.p && (!w || x[0] & /*$$scope*/
|
|
5013
|
+
2097152) && It(
|
|
5014
|
+
Y,
|
|
5015
|
+
U,
|
|
5010
5016
|
e,
|
|
5011
5017
|
/*$$scope*/
|
|
5012
5018
|
e[21],
|
|
5013
|
-
w ?
|
|
5014
|
-
|
|
5019
|
+
w ? Ht(
|
|
5020
|
+
U,
|
|
5015
5021
|
/*$$scope*/
|
|
5016
5022
|
e[21],
|
|
5017
5023
|
x,
|
|
5018
|
-
|
|
5019
|
-
) :
|
|
5024
|
+
Fa
|
|
5025
|
+
) : Pt(
|
|
5020
5026
|
/*$$scope*/
|
|
5021
5027
|
e[21]
|
|
5022
5028
|
),
|
|
5023
|
-
|
|
5024
|
-
) :
|
|
5025
|
-
8) &&
|
|
5026
|
-
2097152) &&
|
|
5027
|
-
|
|
5029
|
+
Fr
|
|
5030
|
+
) : V && V.p && (!w || x[0] & /*assetsurl*/
|
|
5031
|
+
8) && V.p(e, w ? x : [-1, -1]), G ? G.p && (!w || x[0] & /*$$scope*/
|
|
5032
|
+
2097152) && It(
|
|
5033
|
+
G,
|
|
5028
5034
|
Q,
|
|
5029
5035
|
e,
|
|
5030
5036
|
/*$$scope*/
|
|
5031
5037
|
e[21],
|
|
5032
|
-
w ?
|
|
5038
|
+
w ? Ht(
|
|
5033
5039
|
Q,
|
|
5034
5040
|
/*$$scope*/
|
|
5035
5041
|
e[21],
|
|
5036
5042
|
x,
|
|
5037
|
-
|
|
5038
|
-
) :
|
|
5043
|
+
ka
|
|
5044
|
+
) : Pt(
|
|
5039
5045
|
/*$$scope*/
|
|
5040
5046
|
e[21]
|
|
5041
5047
|
),
|
|
5042
|
-
|
|
5048
|
+
kr
|
|
5043
5049
|
) : O && O.p && (!w || x[0] & /*$_*/
|
|
5044
5050
|
256) && O.p(e, w ? x : [-1, -1]), he ? he.p && (!w || x[0] & /*$$scope*/
|
|
5045
|
-
2097152) &&
|
|
5051
|
+
2097152) && It(
|
|
5046
5052
|
he,
|
|
5047
5053
|
te,
|
|
5048
5054
|
e,
|
|
5049
5055
|
/*$$scope*/
|
|
5050
5056
|
e[21],
|
|
5051
|
-
w ?
|
|
5057
|
+
w ? Ht(
|
|
5052
5058
|
te,
|
|
5053
5059
|
/*$$scope*/
|
|
5054
5060
|
e[21],
|
|
5055
5061
|
x,
|
|
5056
|
-
|
|
5057
|
-
) :
|
|
5062
|
+
Ua
|
|
5063
|
+
) : Pt(
|
|
5058
5064
|
/*$$scope*/
|
|
5059
5065
|
e[21]
|
|
5060
5066
|
),
|
|
5061
|
-
|
|
5062
|
-
) :
|
|
5063
|
-
384) &&
|
|
5067
|
+
Ur
|
|
5068
|
+
) : T && T.p && (!w || x[0] & /*$_, timeLeft*/
|
|
5069
|
+
384) && T.p(e, w ? x : [-1, -1]);
|
|
5064
5070
|
let L = d;
|
|
5065
|
-
d =
|
|
5071
|
+
d = v(e), d === L ? g[d].p(e, x) : (ei(), Ne(g[L], 1, 1, () => {
|
|
5066
5072
|
g[L] = null;
|
|
5067
|
-
}),
|
|
5073
|
+
}), ti(), C = g[d], C ? C.p(e, x) : (C = g[d] = E[d](e), C.c()), Se(C, 1), C.m(b, null)), (!w || x[0] & /*showLoaderButton*/
|
|
5068
5074
|
64) && (b.disabled = /*showLoaderButton*/
|
|
5069
5075
|
e[6]);
|
|
5070
5076
|
},
|
|
5071
5077
|
i(h) {
|
|
5072
|
-
w || (Se(
|
|
5073
|
-
w && ($ || ($ =
|
|
5078
|
+
w || (Se(V, h), Se(O, h), Se(T, h), Se(C), h && Ye(() => {
|
|
5079
|
+
w && ($ || ($ = lr(n, cr, { duration: (
|
|
5074
5080
|
/*duration*/
|
|
5075
5081
|
e[2]
|
|
5076
5082
|
) }, !0)), $.run(1));
|
|
5077
5083
|
}), w = !0);
|
|
5078
5084
|
},
|
|
5079
5085
|
o(h) {
|
|
5080
|
-
|
|
5086
|
+
Ne(V, h), Ne(O, h), Ne(T, h), Ne(C), h && ($ || ($ = lr(n, cr, { duration: (
|
|
5081
5087
|
/*duration*/
|
|
5082
5088
|
e[2]
|
|
5083
5089
|
) }, !1)), $.run(0)), w = !1;
|
|
5084
5090
|
},
|
|
5085
5091
|
d(h) {
|
|
5086
|
-
h && be(t),
|
|
5092
|
+
h && be(t), V && V.d(h), O && O.d(h), T && T.d(h), g[d].d(), e[23](null), F(), h && $ && $.end(), e[25](null), H = !1, Ie(R);
|
|
5087
5093
|
}
|
|
5088
5094
|
};
|
|
5089
5095
|
}
|
|
5090
|
-
function
|
|
5096
|
+
function jr(e) {
|
|
5091
5097
|
let t, n;
|
|
5092
5098
|
return {
|
|
5093
5099
|
c() {
|
|
5094
|
-
t = re("img"),
|
|
5095
|
-
e[3]}/set-timeout-icon.png`) ||
|
|
5100
|
+
t = re("img"), ir(t.src, n = `${/*assetsurl*/
|
|
5101
|
+
e[3]}/set-timeout-icon.png`) || W(t, "src", n), W(t, "width", "300px"), W(t, "alt", "error");
|
|
5096
5102
|
},
|
|
5097
5103
|
m(r, i) {
|
|
5098
|
-
|
|
5104
|
+
Ce(r, t, i);
|
|
5099
5105
|
},
|
|
5100
5106
|
p(r, i) {
|
|
5101
5107
|
i[0] & /*assetsurl*/
|
|
5102
|
-
8 && !
|
|
5103
|
-
r[3]}/set-timeout-icon.png`) &&
|
|
5108
|
+
8 && !ir(t.src, n = `${/*assetsurl*/
|
|
5109
|
+
r[3]}/set-timeout-icon.png`) && W(t, "src", n);
|
|
5104
5110
|
},
|
|
5105
5111
|
d(r) {
|
|
5106
5112
|
r && be(t);
|
|
5107
5113
|
}
|
|
5108
5114
|
};
|
|
5109
5115
|
}
|
|
5110
|
-
function
|
|
5116
|
+
function Ga(e) {
|
|
5111
5117
|
let t, n = (
|
|
5112
5118
|
/*assetsurl*/
|
|
5113
|
-
e[3] &&
|
|
5119
|
+
e[3] && jr(e)
|
|
5114
5120
|
);
|
|
5115
5121
|
return {
|
|
5116
5122
|
c() {
|
|
5117
|
-
n && n.c(), t =
|
|
5123
|
+
n && n.c(), t = Qr();
|
|
5118
5124
|
},
|
|
5119
5125
|
m(r, i) {
|
|
5120
|
-
n && n.m(r, i),
|
|
5126
|
+
n && n.m(r, i), Ce(r, t, i);
|
|
5121
5127
|
},
|
|
5122
5128
|
p(r, i) {
|
|
5123
5129
|
/*assetsurl*/
|
|
5124
|
-
r[3] ? n ? n.p(r, i) : (n =
|
|
5130
|
+
r[3] ? n ? n.p(r, i) : (n = jr(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
|
|
5125
5131
|
},
|
|
5126
5132
|
d(r) {
|
|
5127
5133
|
r && be(t), n && n.d(r);
|
|
5128
5134
|
}
|
|
5129
5135
|
};
|
|
5130
5136
|
}
|
|
5131
|
-
function
|
|
5137
|
+
function ja(e) {
|
|
5132
5138
|
let t, n = (
|
|
5133
5139
|
/*$_*/
|
|
5134
5140
|
e[8]("sessionExpirationTitle") + ""
|
|
5135
5141
|
), r;
|
|
5136
5142
|
return {
|
|
5137
5143
|
c() {
|
|
5138
|
-
t = re("span"), r =
|
|
5144
|
+
t = re("span"), r = Ke(n), W(t, "class", "CashierSessionExpirationTitle");
|
|
5139
5145
|
},
|
|
5140
5146
|
m(i, o) {
|
|
5141
|
-
|
|
5147
|
+
Ce(i, t, o), J(t, r);
|
|
5142
5148
|
},
|
|
5143
5149
|
p(i, o) {
|
|
5144
5150
|
o[0] & /*$_*/
|
|
5145
5151
|
256 && n !== (n = /*$_*/
|
|
5146
|
-
i[8]("sessionExpirationTitle") + "") &&
|
|
5152
|
+
i[8]("sessionExpirationTitle") + "") && Zt(r, n);
|
|
5147
5153
|
},
|
|
5148
5154
|
d(i) {
|
|
5149
5155
|
i && be(t);
|
|
5150
5156
|
}
|
|
5151
5157
|
};
|
|
5152
5158
|
}
|
|
5153
|
-
function
|
|
5154
|
-
let t, n =
|
|
5159
|
+
function za(e) {
|
|
5160
|
+
let t, n = Rr.sanitize(
|
|
5155
5161
|
/*$_*/
|
|
5156
5162
|
e[8]("sessionExpirationGeneralText", { values: { second: (
|
|
5157
5163
|
/*timeLeft*/
|
|
@@ -5160,14 +5166,14 @@ function Ga(e) {
|
|
|
5160
5166
|
) + "";
|
|
5161
5167
|
return {
|
|
5162
5168
|
c() {
|
|
5163
|
-
t = re("span"),
|
|
5169
|
+
t = re("span"), W(t, "class", "CashierSessionExpirationText");
|
|
5164
5170
|
},
|
|
5165
5171
|
m(r, i) {
|
|
5166
|
-
|
|
5172
|
+
Ce(r, t, i), t.innerHTML = n;
|
|
5167
5173
|
},
|
|
5168
5174
|
p(r, i) {
|
|
5169
5175
|
i[0] & /*$_, timeLeft*/
|
|
5170
|
-
384 && n !== (n =
|
|
5176
|
+
384 && n !== (n = Rr.sanitize(
|
|
5171
5177
|
/*$_*/
|
|
5172
5178
|
r[8]("sessionExpirationGeneralText", { values: { second: (
|
|
5173
5179
|
/*timeLeft*/
|
|
@@ -5180,18 +5186,18 @@ function Ga(e) {
|
|
|
5180
5186
|
}
|
|
5181
5187
|
};
|
|
5182
5188
|
}
|
|
5183
|
-
function
|
|
5189
|
+
function Wa(e) {
|
|
5184
5190
|
let t;
|
|
5185
5191
|
const n = (
|
|
5186
5192
|
/*#slots*/
|
|
5187
5193
|
e[22].button
|
|
5188
|
-
), r =
|
|
5194
|
+
), r = Nt(
|
|
5189
5195
|
n,
|
|
5190
5196
|
e,
|
|
5191
5197
|
/*$$scope*/
|
|
5192
5198
|
e[21],
|
|
5193
|
-
|
|
5194
|
-
), i = r ||
|
|
5199
|
+
$r
|
|
5200
|
+
), i = r || Xa(e);
|
|
5195
5201
|
return {
|
|
5196
5202
|
c() {
|
|
5197
5203
|
i && i.c();
|
|
@@ -5201,23 +5207,23 @@ function ja(e) {
|
|
|
5201
5207
|
},
|
|
5202
5208
|
p(o, u) {
|
|
5203
5209
|
r ? r.p && (!t || u[0] & /*$$scope*/
|
|
5204
|
-
2097152) &&
|
|
5210
|
+
2097152) && It(
|
|
5205
5211
|
r,
|
|
5206
5212
|
n,
|
|
5207
5213
|
o,
|
|
5208
5214
|
/*$$scope*/
|
|
5209
5215
|
o[21],
|
|
5210
|
-
t ?
|
|
5216
|
+
t ? Ht(
|
|
5211
5217
|
n,
|
|
5212
5218
|
/*$$scope*/
|
|
5213
5219
|
o[21],
|
|
5214
5220
|
u,
|
|
5215
|
-
|
|
5216
|
-
) :
|
|
5221
|
+
$a
|
|
5222
|
+
) : Pt(
|
|
5217
5223
|
/*$$scope*/
|
|
5218
5224
|
o[21]
|
|
5219
5225
|
),
|
|
5220
|
-
|
|
5226
|
+
$r
|
|
5221
5227
|
) : i && i.p && (!t || u[0] & /*$_*/
|
|
5222
5228
|
256) && i.p(o, t ? u : [-1, -1]);
|
|
5223
5229
|
},
|
|
@@ -5225,29 +5231,29 @@ function ja(e) {
|
|
|
5225
5231
|
t || (Se(i, o), t = !0);
|
|
5226
5232
|
},
|
|
5227
5233
|
o(o) {
|
|
5228
|
-
|
|
5234
|
+
Ne(i, o), t = !1;
|
|
5229
5235
|
},
|
|
5230
5236
|
d(o) {
|
|
5231
5237
|
i && i.d(o);
|
|
5232
5238
|
}
|
|
5233
5239
|
};
|
|
5234
5240
|
}
|
|
5235
|
-
function
|
|
5241
|
+
function Va(e) {
|
|
5236
5242
|
let t, n, r, i, o, u = (
|
|
5237
5243
|
/*$_*/
|
|
5238
5244
|
e[8]("sessionExpirationLoadingButton") + ""
|
|
5239
5245
|
), a;
|
|
5240
5246
|
return {
|
|
5241
5247
|
c() {
|
|
5242
|
-
t = re("div"), n =
|
|
5248
|
+
t = re("div"), n = sr("svg"), r = sr("path"), i = ht(), o = re("span"), a = Ke(u), W(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"), W(r, "fill", "white"), W(n, "class", "CashierSessionExpirationButtonSpinner"), W(n, "xmlns", "http://www.w3.org/2000/svg"), W(n, "width", "15"), W(n, "height", "14"), W(n, "viewBox", "0 0 15 14"), W(n, "fill", "none"), W(o, "class", "CashierSessionExpirationButtonText");
|
|
5243
5249
|
},
|
|
5244
5250
|
m(c, l) {
|
|
5245
|
-
|
|
5251
|
+
Ce(c, t, l), J(t, n), J(n, r), J(t, i), J(t, o), J(o, a);
|
|
5246
5252
|
},
|
|
5247
5253
|
p(c, l) {
|
|
5248
5254
|
l[0] & /*$_*/
|
|
5249
5255
|
256 && u !== (u = /*$_*/
|
|
5250
|
-
c[8]("sessionExpirationLoadingButton") + "") &&
|
|
5256
|
+
c[8]("sessionExpirationLoadingButton") + "") && Zt(a, u);
|
|
5251
5257
|
},
|
|
5252
5258
|
i: de,
|
|
5253
5259
|
o: de,
|
|
@@ -5256,72 +5262,72 @@ function za(e) {
|
|
|
5256
5262
|
}
|
|
5257
5263
|
};
|
|
5258
5264
|
}
|
|
5259
|
-
function
|
|
5265
|
+
function Xa(e) {
|
|
5260
5266
|
let t, n = (
|
|
5261
5267
|
/*$_*/
|
|
5262
5268
|
e[8]("sessionExpirationGeneralButton") + ""
|
|
5263
5269
|
), r;
|
|
5264
5270
|
return {
|
|
5265
5271
|
c() {
|
|
5266
|
-
t = re("span"), r =
|
|
5272
|
+
t = re("span"), r = Ke(n), W(t, "class", "CashierSessionExpirationButtonText");
|
|
5267
5273
|
},
|
|
5268
5274
|
m(i, o) {
|
|
5269
|
-
|
|
5275
|
+
Ce(i, t, o), J(t, r);
|
|
5270
5276
|
},
|
|
5271
5277
|
p(i, o) {
|
|
5272
5278
|
o[0] & /*$_*/
|
|
5273
5279
|
256 && n !== (n = /*$_*/
|
|
5274
|
-
i[8]("sessionExpirationGeneralButton") + "") &&
|
|
5280
|
+
i[8]("sessionExpirationGeneralButton") + "") && Zt(r, n);
|
|
5275
5281
|
},
|
|
5276
5282
|
d(i) {
|
|
5277
5283
|
i && be(t);
|
|
5278
5284
|
}
|
|
5279
5285
|
};
|
|
5280
5286
|
}
|
|
5281
|
-
function
|
|
5287
|
+
function Ya(e) {
|
|
5282
5288
|
let t, n, r = (
|
|
5283
5289
|
/*show*/
|
|
5284
|
-
e[5] &&
|
|
5290
|
+
e[5] && Gr(e)
|
|
5285
5291
|
);
|
|
5286
5292
|
return {
|
|
5287
5293
|
c() {
|
|
5288
|
-
r && r.c(), t =
|
|
5294
|
+
r && r.c(), t = Qr();
|
|
5289
5295
|
},
|
|
5290
5296
|
m(i, o) {
|
|
5291
|
-
r && r.m(i, o),
|
|
5297
|
+
r && r.m(i, o), Ce(i, t, o), n = !0;
|
|
5292
5298
|
},
|
|
5293
5299
|
p(i, o) {
|
|
5294
5300
|
/*show*/
|
|
5295
5301
|
i[5] ? r ? (r.p(i, o), o[0] & /*show*/
|
|
5296
|
-
32 && Se(r, 1)) : (r =
|
|
5302
|
+
32 && Se(r, 1)) : (r = Gr(i), r.c(), Se(r, 1), r.m(t.parentNode, t)) : r && (ei(), Ne(r, 1, 1, () => {
|
|
5297
5303
|
r = null;
|
|
5298
|
-
}),
|
|
5304
|
+
}), ti());
|
|
5299
5305
|
},
|
|
5300
5306
|
i(i) {
|
|
5301
5307
|
n || (Se(r), n = !0);
|
|
5302
5308
|
},
|
|
5303
5309
|
o(i) {
|
|
5304
|
-
|
|
5310
|
+
Ne(r), n = !1;
|
|
5305
5311
|
},
|
|
5306
5312
|
d(i) {
|
|
5307
5313
|
i && be(t), r && r.d(i);
|
|
5308
5314
|
}
|
|
5309
5315
|
};
|
|
5310
5316
|
}
|
|
5311
|
-
const
|
|
5312
|
-
function
|
|
5317
|
+
const Za = 90;
|
|
5318
|
+
function qa(e, t, n) {
|
|
5313
5319
|
let r, i;
|
|
5314
|
-
|
|
5320
|
+
or(e, Br, (m) => n(20, r = m)), or(e, ca, (m) => n(8, i = m));
|
|
5315
5321
|
let { $$slots: o = {}, $$scope: u } = t;
|
|
5316
|
-
|
|
5317
|
-
let { clientstyling: a = "" } = t, { clientstylingurl: c = "" } = t, { width: l } = t, { height: f } = t, { duration: _ = 200 } = t, { assetsurl: y = "" } = t, { lang: M = "en" } = t, { translationurl: b = "" } = t, { endpoint: d } = t, { currency: C } = t, { customerid:
|
|
5322
|
+
Dr.extend(Ia);
|
|
5323
|
+
let { clientstyling: a = "" } = t, { clientstylingurl: c = "" } = t, { width: l } = t, { height: f } = t, { duration: _ = 200 } = t, { assetsurl: y = "" } = t, { lang: M = "en" } = t, { translationurl: b = "" } = t, { endpoint: d } = t, { currency: C } = t, { customerid: F } = t, { selectedpaymentmethodname: $ } = t, { mbsource: w = "" } = t, H, R = !1, U = !1, Y, V, Q, G, O;
|
|
5318
5324
|
var te;
|
|
5319
5325
|
(function(m) {
|
|
5320
5326
|
m.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", m.Success = "Success", m.JwtTokenError = "JwtTokenError";
|
|
5321
5327
|
})(te || (te = {}));
|
|
5322
5328
|
const he = (m) => {
|
|
5323
|
-
m.data.type === "StartSessionCountdown" && (
|
|
5324
|
-
},
|
|
5329
|
+
m.data.type === "StartSessionCountdown" && (G = m.data.paymentMethodName);
|
|
5330
|
+
}, T = (m) => {
|
|
5325
5331
|
try {
|
|
5326
5332
|
return JSON.parse(atob(m.split(".")[1]));
|
|
5327
5333
|
} catch {
|
|
@@ -5337,27 +5343,27 @@ function Ya(e, t, n) {
|
|
|
5337
5343
|
);
|
|
5338
5344
|
}, g = (m) => {
|
|
5339
5345
|
n(5, R = !1);
|
|
5340
|
-
const
|
|
5341
|
-
|
|
5346
|
+
const k = T(m);
|
|
5347
|
+
k && (V = k?.exp, n(7, Y = V), Q && clearInterval(Q), Q = setInterval(
|
|
5342
5348
|
() => {
|
|
5343
5349
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
5344
|
-
n(7,
|
|
5350
|
+
n(7, Y = V - ee), Y <= Za && n(5, R = !0), ee >= V && (v(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
5345
5351
|
},
|
|
5346
5352
|
1e3
|
|
5347
5353
|
));
|
|
5348
|
-
},
|
|
5349
|
-
n(7,
|
|
5354
|
+
}, v = () => {
|
|
5355
|
+
n(7, Y = 0), n(5, R = !1), clearInterval(Q);
|
|
5350
5356
|
}, h = () => {
|
|
5351
|
-
if (
|
|
5357
|
+
if (U)
|
|
5352
5358
|
return;
|
|
5353
|
-
const m = new URL(`${d}/v1/player/${
|
|
5354
|
-
n(6,
|
|
5359
|
+
const m = new URL(`${d}/v1/player/${F}/payment/GetPaymentMethod`), k = new Headers();
|
|
5360
|
+
n(6, U = !0), k.append("accept", "application/json"), k.append("Content-Type", "application/json"), k.append("X-Client-Request-Timestamp", Dr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
5355
5361
|
const ee = {
|
|
5356
5362
|
method: "POST",
|
|
5357
5363
|
mode: "cors",
|
|
5358
|
-
headers:
|
|
5364
|
+
headers: k,
|
|
5359
5365
|
body: JSON.stringify({
|
|
5360
|
-
PaymentMethodName:
|
|
5366
|
+
PaymentMethodName: G || $,
|
|
5361
5367
|
Currency: C,
|
|
5362
5368
|
XPaymentSessionToken: r
|
|
5363
5369
|
})
|
|
@@ -5370,44 +5376,44 @@ function Ya(e, t, n) {
|
|
|
5370
5376
|
error: K.error
|
|
5371
5377
|
},
|
|
5372
5378
|
window.location.href
|
|
5373
|
-
),
|
|
5379
|
+
), v();
|
|
5374
5380
|
return;
|
|
5375
5381
|
}
|
|
5376
5382
|
if (K.ResponseCode === te.PlayerSessionIsNotValid || K.ResponseCode === te.JwtTokenError) {
|
|
5377
|
-
O = K.ResponseCode,
|
|
5383
|
+
O = K.ResponseCode, v(), E();
|
|
5378
5384
|
return;
|
|
5379
5385
|
}
|
|
5380
5386
|
if (K.ResponseCode !== te.Success) {
|
|
5381
|
-
O = K.ResponseCode,
|
|
5387
|
+
O = K.ResponseCode, v();
|
|
5382
5388
|
return;
|
|
5383
5389
|
}
|
|
5384
|
-
K.XPaymentSessionToken &&
|
|
5385
|
-
}).finally(() => n(6,
|
|
5390
|
+
K.XPaymentSessionToken && Br.set(K.XPaymentSessionToken);
|
|
5391
|
+
}).finally(() => n(6, U = !1));
|
|
5386
5392
|
}, x = (m) => {
|
|
5387
|
-
const
|
|
5388
|
-
m.target ===
|
|
5393
|
+
const k = m.currentTarget;
|
|
5394
|
+
m.target === k && h();
|
|
5389
5395
|
}, L = () => {
|
|
5390
|
-
fetch(b).then((
|
|
5391
|
-
Object.keys(
|
|
5392
|
-
|
|
5396
|
+
fetch(b).then((k) => k.json()).then((k) => {
|
|
5397
|
+
Object.keys(k).forEach((ee) => {
|
|
5398
|
+
wr(ee, k[ee]);
|
|
5393
5399
|
});
|
|
5394
|
-
}).catch((
|
|
5395
|
-
console.log(
|
|
5400
|
+
}).catch((k) => {
|
|
5401
|
+
console.log(k);
|
|
5396
5402
|
});
|
|
5397
5403
|
};
|
|
5398
|
-
Object.keys(
|
|
5399
|
-
|
|
5404
|
+
Object.keys(Ar).forEach((m) => {
|
|
5405
|
+
wr(m, Ar[m]);
|
|
5400
5406
|
});
|
|
5401
5407
|
const N = () => {
|
|
5402
|
-
|
|
5408
|
+
fa(M);
|
|
5403
5409
|
};
|
|
5404
|
-
|
|
5410
|
+
oo(() => (window.addEventListener("message", he, !1), () => {
|
|
5405
5411
|
window.removeEventListener("message", he);
|
|
5406
|
-
})),
|
|
5412
|
+
})), so(() => {
|
|
5407
5413
|
clearInterval(Q);
|
|
5408
5414
|
});
|
|
5409
|
-
function
|
|
5410
|
-
|
|
5415
|
+
function j(m) {
|
|
5416
|
+
jt[m ? "unshift" : "push"](() => {
|
|
5411
5417
|
H = m, n(4, H);
|
|
5412
5418
|
});
|
|
5413
5419
|
}
|
|
@@ -5415,19 +5421,19 @@ function Ya(e, t, n) {
|
|
|
5415
5421
|
l = this.clientWidth, f = this.clientHeight, n(0, l), n(1, f);
|
|
5416
5422
|
}
|
|
5417
5423
|
function q(m) {
|
|
5418
|
-
|
|
5424
|
+
jt[m ? "unshift" : "push"](() => {
|
|
5419
5425
|
H = m, n(4, H);
|
|
5420
5426
|
});
|
|
5421
5427
|
}
|
|
5422
5428
|
return e.$$set = (m) => {
|
|
5423
|
-
"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, _ = m.duration), "assetsurl" in m && n(3, y = m.assetsurl), "lang" in m && n(13, M = m.lang), "translationurl" in m && n(14, b = m.translationurl), "endpoint" in m && n(15, d = m.endpoint), "currency" in m && n(16, C = m.currency), "customerid" in m && n(17,
|
|
5429
|
+
"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, _ = m.duration), "assetsurl" in m && n(3, y = m.assetsurl), "lang" in m && n(13, M = m.lang), "translationurl" in m && n(14, b = m.translationurl), "endpoint" in m && n(15, d = m.endpoint), "currency" in m && n(16, C = m.currency), "customerid" in m && n(17, F = m.customerid), "selectedpaymentmethodname" in m && n(18, $ = m.selectedpaymentmethodname), "mbsource" in m && n(19, w = m.mbsource), "$$scope" in m && n(21, u = m.$$scope);
|
|
5424
5430
|
}, e.$$.update = () => {
|
|
5425
5431
|
e.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
5426
5432
|
1048576 && g(r), e.$$.dirty[0] & /*lang*/
|
|
5427
5433
|
8192 && M && N(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5428
|
-
2064 && a && H &&
|
|
5429
|
-
4112 && c && H &&
|
|
5430
|
-
524304 && w && H &&
|
|
5434
|
+
2064 && a && H && Pa(H, a), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5435
|
+
4112 && c && H && Ra(H, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5436
|
+
524304 && w && H && Da(H, `${w}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5431
5437
|
16384 && b && L();
|
|
5432
5438
|
}, [
|
|
5433
5439
|
l,
|
|
@@ -5436,8 +5442,8 @@ function Ya(e, t, n) {
|
|
|
5436
5442
|
y,
|
|
5437
5443
|
H,
|
|
5438
5444
|
R,
|
|
5439
|
-
|
|
5440
|
-
|
|
5445
|
+
U,
|
|
5446
|
+
Y,
|
|
5441
5447
|
i,
|
|
5442
5448
|
h,
|
|
5443
5449
|
x,
|
|
@@ -5447,25 +5453,25 @@ function Ya(e, t, n) {
|
|
|
5447
5453
|
b,
|
|
5448
5454
|
d,
|
|
5449
5455
|
C,
|
|
5450
|
-
|
|
5456
|
+
F,
|
|
5451
5457
|
$,
|
|
5452
5458
|
w,
|
|
5453
5459
|
r,
|
|
5454
5460
|
u,
|
|
5455
5461
|
o,
|
|
5456
|
-
|
|
5462
|
+
j,
|
|
5457
5463
|
I,
|
|
5458
5464
|
q
|
|
5459
5465
|
];
|
|
5460
5466
|
}
|
|
5461
|
-
class
|
|
5467
|
+
class Ja extends Eo {
|
|
5462
5468
|
constructor(t) {
|
|
5463
|
-
super(),
|
|
5469
|
+
super(), _o(
|
|
5464
5470
|
this,
|
|
5465
5471
|
t,
|
|
5472
|
+
qa,
|
|
5466
5473
|
Ya,
|
|
5467
|
-
|
|
5468
|
-
zr,
|
|
5474
|
+
Vr,
|
|
5469
5475
|
{
|
|
5470
5476
|
clientstyling: 11,
|
|
5471
5477
|
clientstylingurl: 12,
|
|
@@ -5481,7 +5487,7 @@ class Za extends _o {
|
|
|
5481
5487
|
selectedpaymentmethodname: 18,
|
|
5482
5488
|
mbsource: 19
|
|
5483
5489
|
},
|
|
5484
|
-
|
|
5490
|
+
Ba,
|
|
5485
5491
|
[-1, -1]
|
|
5486
5492
|
);
|
|
5487
5493
|
}
|
|
@@ -5564,7 +5570,7 @@ class Za extends _o {
|
|
|
5564
5570
|
this.$$set({ mbsource: t }), le();
|
|
5565
5571
|
}
|
|
5566
5572
|
}
|
|
5567
|
-
|
|
5573
|
+
bo(Ja, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
5568
5574
|
export {
|
|
5569
|
-
|
|
5575
|
+
Ja as C
|
|
5570
5576
|
};
|