@everymatrix/player-account-self-exclusion 1.76.1 → 1.76.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGeneralConfirmationModal-DeKth9rU.js → PlayerAccountGeneralConfirmationModal-CS1zuABb.js} +1245 -1259
- package/components/PlayerAccountGeneralConfirmationModal-D8QZ1uxf.cjs +21 -0
- package/components/{PlayerAccountGeneralConfirmationModal-COn8IPHo.js → PlayerAccountGeneralConfirmationModal-owYYN2xC.js} +762 -776
- package/components/{PlayerAccountModal-bhlvepWR.js → PlayerAccountModal-BrWvsXQ0.js} +10 -10
- package/components/{PlayerAccountModal-1yio55uP.js → PlayerAccountModal-BtSzAR0U.js} +10 -10
- package/components/{PlayerAccountModal-hE4QiaWT.cjs → PlayerAccountModal-DLpxMnuu.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-DeQSE8Na.cjs → PlayerAccountSelfExclusion-Chfq6D8a.cjs} +151 -151
- package/components/{PlayerAccountSelfExclusion-9rv40tnZ.js → PlayerAccountSelfExclusion-CxRBv09F.js} +1050 -1051
- package/components/{PlayerAccountSelfExclusion-AFSSdKA9.js → PlayerAccountSelfExclusion-njw-vBa2.js} +1033 -1034
- package/es2015/player-account-self-exclusion.cjs +1 -1
- package/es2015/player-account-self-exclusion.js +1 -1
- package/esnext/player-account-self-exclusion.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-b2193545-BtPvM93e.js → index-b2193545-BbCeNxUG.js} +176 -176
- package/stencil/{index-b2193545-D_KBbaD-.js → index-b2193545-C9PH-6qK.js} +169 -169
- package/stencil/index-b2193545-D-u-gzj3.cjs +1 -0
- package/stencil/{ui-skeleton-NZtdK490.js → ui-skeleton-BKDs0-7H.js} +2 -2
- package/stencil/{ui-skeleton-CWuMYFGQ.js → ui-skeleton-CJbkvgG7.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-CKJgMm_5.cjs → ui-skeleton-ae35c6f2-CXlvqczG.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-DlexSQlT.js → ui-skeleton-ae35c6f2-ZB0isFAq.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CW3z59Qf.js → ui-skeleton-ae35c6f2-gun6WX2F.js} +1 -1
- package/stencil/{ui-skeleton-BPqjm-YB.cjs → ui-skeleton-bhljBTS7.cjs} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-CTkrsADp.cjs +0 -21
- package/stencil/index-b2193545-CgelUAhE.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function M() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const Sr = (e) => e;
|
|
4
|
+
function Tr(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
7
7
|
return (
|
|
@@ -9,25 +9,25 @@ function Br(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Rt(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function at() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function G(e) {
|
|
19
|
-
e.forEach(
|
|
19
|
+
e.forEach(Rt);
|
|
20
20
|
}
|
|
21
21
|
function Se(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function $t(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function Hr(e) {
|
|
28
28
|
return Object.keys(e).length === 0;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function Gt(e, ...t) {
|
|
31
31
|
if (e == null) {
|
|
32
32
|
for (const n of t)
|
|
33
33
|
n(void 0);
|
|
@@ -36,19 +36,19 @@ function Dt(e, ...t) {
|
|
|
36
36
|
const r = e.subscribe(...t);
|
|
37
37
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
e.$$.on_destroy.push(
|
|
39
|
+
function Ar(e, t, r) {
|
|
40
|
+
e.$$.on_destroy.push(Gt(t, r));
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Br(e, t, r, n) {
|
|
43
43
|
if (e) {
|
|
44
|
-
const i =
|
|
44
|
+
const i = Ut(e, t, r, n);
|
|
45
45
|
return e[0](i);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
return e[1] && n ?
|
|
48
|
+
function Ut(e, t, r, n) {
|
|
49
|
+
return e[1] && n ? Tr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Cr(e, t, r, n) {
|
|
52
52
|
if (e[2] && n) {
|
|
53
53
|
const i = e[2](n(r));
|
|
54
54
|
if (t.dirty === void 0)
|
|
@@ -63,13 +63,13 @@ function Ir(e, t, r, n) {
|
|
|
63
63
|
}
|
|
64
64
|
return t.dirty;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Pr(e, t, r, n, i, o) {
|
|
67
67
|
if (i) {
|
|
68
|
-
const a =
|
|
68
|
+
const a = Ut(t, r, n, o);
|
|
69
69
|
e.p(a, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Or(e) {
|
|
73
73
|
if (e.ctx.length > 32) {
|
|
74
74
|
const t = [], r = e.ctx.length / 32;
|
|
75
75
|
for (let n = 0; n < r; n++)
|
|
@@ -78,17 +78,17 @@ function Nr(e) {
|
|
|
78
78
|
}
|
|
79
79
|
return -1;
|
|
80
80
|
}
|
|
81
|
-
const
|
|
82
|
-
let
|
|
81
|
+
const Dt = typeof window < "u";
|
|
82
|
+
let Ir = Dt ? () => window.performance.now() : () => Date.now(), et = Dt ? (e) => requestAnimationFrame(e) : M;
|
|
83
83
|
const X = /* @__PURE__ */ new Set();
|
|
84
|
-
function
|
|
84
|
+
function Ft(e) {
|
|
85
85
|
X.forEach((t) => {
|
|
86
86
|
t.c(e) || (X.delete(t), t.f());
|
|
87
|
-
}), X.size !== 0 &&
|
|
87
|
+
}), X.size !== 0 && et(Ft);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Mr(e) {
|
|
90
90
|
let t;
|
|
91
|
-
return X.size === 0 &&
|
|
91
|
+
return X.size === 0 && et(Ft), {
|
|
92
92
|
promise: new Promise((r) => {
|
|
93
93
|
X.add(t = { c: e, f: r });
|
|
94
94
|
}),
|
|
@@ -100,14 +100,14 @@ function Rr(e) {
|
|
|
100
100
|
function C(e, t) {
|
|
101
101
|
e.appendChild(t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
const n =
|
|
103
|
+
function Nr(e, t, r) {
|
|
104
|
+
const n = tt(e);
|
|
105
105
|
if (!n.getElementById(t)) {
|
|
106
106
|
const i = I("style");
|
|
107
|
-
i.id = t, i.textContent = r,
|
|
107
|
+
i.id = t, i.textContent = r, jt(n, i);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function tt(e) {
|
|
111
111
|
if (!e)
|
|
112
112
|
return document;
|
|
113
113
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -117,11 +117,11 @@ function rt(e) {
|
|
|
117
117
|
t
|
|
118
118
|
) : e.ownerDocument;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Lr(e) {
|
|
121
121
|
const t = I("style");
|
|
122
|
-
return t.textContent = "/* empty */",
|
|
122
|
+
return t.textContent = "/* empty */", jt(tt(e), t), t.sheet;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function jt(e, t) {
|
|
125
125
|
return C(
|
|
126
126
|
/** @type {Document} */
|
|
127
127
|
e.head || e,
|
|
@@ -134,52 +134,52 @@ function ae(e, t, r) {
|
|
|
134
134
|
function U(e) {
|
|
135
135
|
e.parentNode && e.parentNode.removeChild(e);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function _o(e, t) {
|
|
138
138
|
for (let r = 0; r < e.length; r += 1)
|
|
139
139
|
e[r] && e[r].d(t);
|
|
140
140
|
}
|
|
141
141
|
function I(e) {
|
|
142
142
|
return document.createElement(e);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function ut(e) {
|
|
145
145
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
146
146
|
}
|
|
147
147
|
function ue(e) {
|
|
148
148
|
return document.createTextNode(e);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function fe() {
|
|
151
151
|
return ue(" ");
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function vo() {
|
|
154
154
|
return ue("");
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Ge(e, t, r, n) {
|
|
157
157
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function T(e, t, r) {
|
|
160
160
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function xo(e, t, r) {
|
|
163
163
|
const n = t.toLowerCase();
|
|
164
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
164
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : T(e, t, r);
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Rr(e) {
|
|
167
167
|
return Array.from(e.childNodes);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function rt(e, t) {
|
|
170
170
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
171
171
|
t);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function Eo(e, t, r, n) {
|
|
174
174
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function wo(e, t, r) {
|
|
177
177
|
e.classList.toggle(t, !!r);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function $r(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
180
180
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Gr(e) {
|
|
183
183
|
const t = {};
|
|
184
184
|
return e.childNodes.forEach(
|
|
185
185
|
/** @param {Element} node */
|
|
@@ -188,66 +188,66 @@ function Fr(e) {
|
|
|
188
188
|
}
|
|
189
189
|
), t;
|
|
190
190
|
}
|
|
191
|
-
const
|
|
192
|
-
let
|
|
193
|
-
function
|
|
191
|
+
const _e = /* @__PURE__ */ new Map();
|
|
192
|
+
let ve = 0;
|
|
193
|
+
function Ur(e) {
|
|
194
194
|
let t = 5381, r = e.length;
|
|
195
195
|
for (; r--; )
|
|
196
196
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
197
197
|
return t >>> 0;
|
|
198
198
|
}
|
|
199
|
-
function
|
|
200
|
-
const r = { stylesheet:
|
|
201
|
-
return
|
|
199
|
+
function Dr(e, t) {
|
|
200
|
+
const r = { stylesheet: Lr(t), rules: {} };
|
|
201
|
+
return _e.set(e, r), r;
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function lt(e, t, r, n, i, o, a, s = 0) {
|
|
204
204
|
const l = 16.666 / n;
|
|
205
205
|
let u = `{
|
|
206
206
|
`;
|
|
207
207
|
for (let g = 0; g <= 1; g += l) {
|
|
208
|
-
const
|
|
209
|
-
u += g * 100 + `%{${a(
|
|
208
|
+
const H = t + (r - t) * o(g);
|
|
209
|
+
u += g * 100 + `%{${a(H, 1 - H)}}
|
|
210
210
|
`;
|
|
211
211
|
}
|
|
212
212
|
const h = u + `100% {${a(r, 1 - r)}}
|
|
213
|
-
}`,
|
|
214
|
-
|
|
213
|
+
}`, f = `__svelte_${Ur(h)}_${s}`, c = tt(e), { stylesheet: m, rules: d } = _e.get(c) || Dr(c, e);
|
|
214
|
+
d[f] || (d[f] = !0, m.insertRule(`@keyframes ${f} ${h}`, m.cssRules.length));
|
|
215
215
|
const p = e.style.animation || "";
|
|
216
|
-
return e.style.animation = `${p ? `${p}, ` : ""}${
|
|
216
|
+
return e.style.animation = `${p ? `${p}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, ve += 1, f;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Fr(e, t) {
|
|
219
219
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
220
220
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
221
221
|
// remove all Svelte animations
|
|
222
222
|
), i = r.length - n.length;
|
|
223
|
-
i && (e.style.animation = n.join(", "),
|
|
223
|
+
i && (e.style.animation = n.join(", "), ve -= i, ve || jr());
|
|
224
224
|
}
|
|
225
|
-
function
|
|
226
|
-
|
|
227
|
-
|
|
225
|
+
function jr() {
|
|
226
|
+
et(() => {
|
|
227
|
+
ve || (_e.forEach((e) => {
|
|
228
228
|
const { ownerNode: t } = e.stylesheet;
|
|
229
229
|
t && U(t);
|
|
230
|
-
}),
|
|
230
|
+
}), _e.clear());
|
|
231
231
|
});
|
|
232
232
|
}
|
|
233
233
|
let ie;
|
|
234
234
|
function ne(e) {
|
|
235
235
|
ie = e;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function kr() {
|
|
238
238
|
if (!ie)
|
|
239
239
|
throw new Error("Function called outside component initialization");
|
|
240
240
|
return ie;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
243
|
-
|
|
242
|
+
function Vr(e) {
|
|
243
|
+
kr().$$.on_mount.push(e);
|
|
244
244
|
}
|
|
245
|
-
const V = [],
|
|
245
|
+
const V = [], Ue = [];
|
|
246
246
|
let z = [];
|
|
247
|
-
const
|
|
248
|
-
let
|
|
249
|
-
function
|
|
250
|
-
|
|
247
|
+
const ht = [], Xr = /* @__PURE__ */ Promise.resolve();
|
|
248
|
+
let De = !1;
|
|
249
|
+
function zr() {
|
|
250
|
+
De || (De = !0, Xr.then(O));
|
|
251
251
|
}
|
|
252
252
|
function xe(e) {
|
|
253
253
|
z.push(e);
|
|
@@ -262,46 +262,46 @@ function O() {
|
|
|
262
262
|
try {
|
|
263
263
|
for (; j < V.length; ) {
|
|
264
264
|
const t = V[j];
|
|
265
|
-
j++, ne(t),
|
|
265
|
+
j++, ne(t), Wr(t.$$);
|
|
266
266
|
}
|
|
267
267
|
} catch (t) {
|
|
268
268
|
throw V.length = 0, j = 0, t;
|
|
269
269
|
}
|
|
270
|
-
for (ne(null), V.length = 0, j = 0;
|
|
271
|
-
|
|
270
|
+
for (ne(null), V.length = 0, j = 0; Ue.length; )
|
|
271
|
+
Ue.pop()();
|
|
272
272
|
for (let t = 0; t < z.length; t += 1) {
|
|
273
273
|
const r = z[t];
|
|
274
274
|
Pe.has(r) || (Pe.add(r), r());
|
|
275
275
|
}
|
|
276
276
|
z.length = 0;
|
|
277
277
|
} while (V.length);
|
|
278
|
-
for (;
|
|
279
|
-
|
|
280
|
-
|
|
278
|
+
for (; ht.length; )
|
|
279
|
+
ht.pop()();
|
|
280
|
+
De = !1, Pe.clear(), ne(e);
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function Wr(e) {
|
|
283
283
|
if (e.fragment !== null) {
|
|
284
284
|
e.update(), G(e.before_update);
|
|
285
285
|
const t = e.dirty;
|
|
286
286
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(xe);
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
|
-
function
|
|
289
|
+
function Zr(e) {
|
|
290
290
|
const t = [], r = [];
|
|
291
291
|
z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
|
|
292
292
|
}
|
|
293
293
|
let te;
|
|
294
|
-
function
|
|
294
|
+
function Qr() {
|
|
295
295
|
return te || (te = Promise.resolve(), te.then(() => {
|
|
296
296
|
te = null;
|
|
297
297
|
})), te;
|
|
298
298
|
}
|
|
299
299
|
function Oe(e, t, r) {
|
|
300
|
-
e.dispatchEvent(
|
|
300
|
+
e.dispatchEvent($r(`${t ? "intro" : "outro"}${r}`));
|
|
301
301
|
}
|
|
302
|
-
const
|
|
302
|
+
const me = /* @__PURE__ */ new Set();
|
|
303
303
|
let N;
|
|
304
|
-
function
|
|
304
|
+
function So() {
|
|
305
305
|
N = {
|
|
306
306
|
r: 0,
|
|
307
307
|
c: [],
|
|
@@ -309,104 +309,104 @@ function Ho() {
|
|
|
309
309
|
// parent group
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function To() {
|
|
313
313
|
N.r || G(N.c), N = N.p;
|
|
314
314
|
}
|
|
315
|
-
function
|
|
316
|
-
e && e.i && (
|
|
315
|
+
function kt(e, t) {
|
|
316
|
+
e && e.i && (me.delete(e), e.i(t));
|
|
317
317
|
}
|
|
318
|
-
function
|
|
318
|
+
function Jr(e, t, r, n) {
|
|
319
319
|
if (e && e.o) {
|
|
320
|
-
if (
|
|
320
|
+
if (me.has(e))
|
|
321
321
|
return;
|
|
322
|
-
|
|
323
|
-
|
|
322
|
+
me.add(e), N.c.push(() => {
|
|
323
|
+
me.delete(e), n && (r && e.d(1), n());
|
|
324
324
|
}), e.o(t);
|
|
325
325
|
} else
|
|
326
326
|
n && n();
|
|
327
327
|
}
|
|
328
|
-
const
|
|
329
|
-
function
|
|
328
|
+
const qr = { duration: 0 };
|
|
329
|
+
function Ho(e, t, r, n) {
|
|
330
330
|
let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
|
|
331
|
-
function
|
|
332
|
-
u &&
|
|
331
|
+
function f() {
|
|
332
|
+
u && Fr(e, u);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function c(d, p) {
|
|
335
335
|
const g = (
|
|
336
336
|
/** @type {Program['d']} */
|
|
337
|
-
|
|
337
|
+
d.b - a
|
|
338
338
|
);
|
|
339
339
|
return p *= Math.abs(g), {
|
|
340
340
|
a,
|
|
341
|
-
b:
|
|
341
|
+
b: d.b,
|
|
342
342
|
d: g,
|
|
343
343
|
duration: p,
|
|
344
|
-
start:
|
|
345
|
-
end:
|
|
346
|
-
group:
|
|
344
|
+
start: d.start,
|
|
345
|
+
end: d.start + p,
|
|
346
|
+
group: d.group
|
|
347
347
|
};
|
|
348
348
|
}
|
|
349
|
-
function d
|
|
349
|
+
function m(d) {
|
|
350
350
|
const {
|
|
351
351
|
delay: p = 0,
|
|
352
352
|
duration: g = 300,
|
|
353
|
-
easing:
|
|
354
|
-
tick:
|
|
353
|
+
easing: H = Sr,
|
|
354
|
+
tick: A = M,
|
|
355
355
|
css: x
|
|
356
|
-
} = o ||
|
|
357
|
-
start:
|
|
358
|
-
b:
|
|
356
|
+
} = o || qr, w = {
|
|
357
|
+
start: Ir() + p,
|
|
358
|
+
b: d
|
|
359
359
|
};
|
|
360
|
-
|
|
361
|
-
e.inert, e.inert = !0)), s || l ? l = w : (x && (
|
|
362
|
-
if (l && b > l.start && (s =
|
|
360
|
+
d || (w.group = N, N.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
361
|
+
e.inert, e.inert = !0)), s || l ? l = w : (x && (f(), u = lt(e, a, d, g, p, H, x)), d && A(0, 1), s = c(w, g), xe(() => Oe(e, d, "start")), Mr((b) => {
|
|
362
|
+
if (l && b > l.start && (s = c(l, g), l = null, Oe(e, s.b, "start"), x && (f(), u = lt(
|
|
363
363
|
e,
|
|
364
364
|
a,
|
|
365
365
|
s.b,
|
|
366
366
|
s.duration,
|
|
367
367
|
0,
|
|
368
|
-
|
|
368
|
+
H,
|
|
369
369
|
o.css
|
|
370
370
|
))), s) {
|
|
371
371
|
if (b >= s.end)
|
|
372
|
-
|
|
372
|
+
A(a = s.b, 1 - a), Oe(e, s.b, "end"), l || (s.b ? f() : --s.group.r || G(s.group.c)), s = null;
|
|
373
373
|
else if (b >= s.start) {
|
|
374
374
|
const B = b - s.start;
|
|
375
|
-
a = s.a + s.d *
|
|
375
|
+
a = s.a + s.d * H(B / s.duration), A(a, 1 - a);
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
378
|
return !!(s || l);
|
|
379
379
|
}));
|
|
380
380
|
}
|
|
381
381
|
return {
|
|
382
|
-
run(
|
|
383
|
-
Se(o) ?
|
|
384
|
-
o = o({ direction:
|
|
385
|
-
}) : d
|
|
382
|
+
run(d) {
|
|
383
|
+
Se(o) ? Qr().then(() => {
|
|
384
|
+
o = o({ direction: d ? "in" : "out" }), m(d);
|
|
385
|
+
}) : m(d);
|
|
386
386
|
},
|
|
387
387
|
end() {
|
|
388
|
-
|
|
388
|
+
f(), s = l = null;
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function Ao(e) {
|
|
393
393
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function Yr(e, t, r) {
|
|
396
396
|
const { fragment: n, after_update: i } = e.$$;
|
|
397
397
|
n && n.m(t, r), xe(() => {
|
|
398
|
-
const o = e.$$.on_mount.map(
|
|
398
|
+
const o = e.$$.on_mount.map(Rt).filter(Se);
|
|
399
399
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
|
|
400
400
|
}), i.forEach(xe);
|
|
401
401
|
}
|
|
402
|
-
function
|
|
402
|
+
function Kr(e, t) {
|
|
403
403
|
const r = e.$$;
|
|
404
|
-
r.fragment !== null && (
|
|
404
|
+
r.fragment !== null && (Zr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
405
405
|
}
|
|
406
|
-
function
|
|
407
|
-
e.$$.dirty[0] === -1 && (V.push(e),
|
|
406
|
+
function en(e, t) {
|
|
407
|
+
e.$$.dirty[0] === -1 && (V.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function tn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
410
410
|
const l = ie;
|
|
411
411
|
ne(e);
|
|
412
412
|
const u = e.$$ = {
|
|
@@ -416,7 +416,7 @@ function on(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
416
416
|
props: o,
|
|
417
417
|
update: M,
|
|
418
418
|
not_equal: i,
|
|
419
|
-
bound:
|
|
419
|
+
bound: at(),
|
|
420
420
|
// lifecycle
|
|
421
421
|
on_mount: [],
|
|
422
422
|
on_destroy: [],
|
|
@@ -425,28 +425,28 @@ function on(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
425
425
|
after_update: [],
|
|
426
426
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
427
427
|
// everything else
|
|
428
|
-
callbacks:
|
|
428
|
+
callbacks: at(),
|
|
429
429
|
dirty: s,
|
|
430
430
|
skip_bound: !1,
|
|
431
431
|
root: t.target || l.$$.root
|
|
432
432
|
};
|
|
433
433
|
a && a(u.root);
|
|
434
434
|
let h = !1;
|
|
435
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
436
|
-
const
|
|
437
|
-
return u.ctx && i(u.ctx[
|
|
435
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
|
|
436
|
+
const d = m.length ? m[0] : c;
|
|
437
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && en(e, f)), c;
|
|
438
438
|
}) : [], u.update(), h = !0, G(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
439
439
|
if (t.hydrate) {
|
|
440
|
-
const
|
|
441
|
-
u.fragment && u.fragment.l(
|
|
440
|
+
const f = Rr(t.target);
|
|
441
|
+
u.fragment && u.fragment.l(f), f.forEach(U);
|
|
442
442
|
} else
|
|
443
443
|
u.fragment && u.fragment.c();
|
|
444
|
-
t.intro &&
|
|
444
|
+
t.intro && kt(e.$$.fragment), Yr(e, t.target, t.anchor), O();
|
|
445
445
|
}
|
|
446
446
|
ne(l);
|
|
447
447
|
}
|
|
448
|
-
let
|
|
449
|
-
typeof HTMLElement == "function" && (
|
|
448
|
+
let Vt;
|
|
449
|
+
typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
|
|
450
450
|
/** The Svelte component constructor */
|
|
451
451
|
$$ctor;
|
|
452
452
|
/** Slots */
|
|
@@ -488,7 +488,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
488
488
|
let o;
|
|
489
489
|
return {
|
|
490
490
|
c: function() {
|
|
491
|
-
o = I("slot"), i !== "default" &&
|
|
491
|
+
o = I("slot"), i !== "default" && T(o, "name", i);
|
|
492
492
|
},
|
|
493
493
|
/**
|
|
494
494
|
* @param {HTMLElement} target
|
|
@@ -505,7 +505,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
505
505
|
};
|
|
506
506
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
507
507
|
return;
|
|
508
|
-
const t = {}, r =
|
|
508
|
+
const t = {}, r = Gr(this);
|
|
509
509
|
for (const i of this.$$s)
|
|
510
510
|
i in r && (t[i] = [e(i)]);
|
|
511
511
|
for (const i of this.attributes) {
|
|
@@ -592,8 +592,8 @@ function pe(e, t, r, n) {
|
|
|
592
592
|
return t;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
function
|
|
596
|
-
let a = class extends
|
|
595
|
+
function rn(e, t, r, n, i, o) {
|
|
596
|
+
let a = class extends Vt {
|
|
597
597
|
constructor() {
|
|
598
598
|
super(e, r, i), this.$$p_d = t;
|
|
599
599
|
}
|
|
@@ -621,7 +621,7 @@ function sn(e, t, r, n, i, o) {
|
|
|
621
621
|
}), e.element = /** @type {any} */
|
|
622
622
|
a, a;
|
|
623
623
|
}
|
|
624
|
-
class
|
|
624
|
+
class nn {
|
|
625
625
|
/**
|
|
626
626
|
* ### PRIVATE API
|
|
627
627
|
*
|
|
@@ -640,7 +640,7 @@ class an {
|
|
|
640
640
|
$$set = void 0;
|
|
641
641
|
/** @returns {void} */
|
|
642
642
|
$destroy() {
|
|
643
|
-
|
|
643
|
+
Kr(this, 1), this.$destroy = M;
|
|
644
644
|
}
|
|
645
645
|
/**
|
|
646
646
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -662,11 +662,11 @@ class an {
|
|
|
662
662
|
* @returns {void}
|
|
663
663
|
*/
|
|
664
664
|
$set(t) {
|
|
665
|
-
this.$$set && !
|
|
665
|
+
this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
|
-
const
|
|
669
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
668
|
+
const on = "4";
|
|
669
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
|
|
670
670
|
/*! *****************************************************************************
|
|
671
671
|
Copyright (c) Microsoft Corporation.
|
|
672
672
|
|
|
@@ -681,18 +681,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
681
681
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
682
682
|
PERFORMANCE OF THIS SOFTWARE.
|
|
683
683
|
***************************************************************************** */
|
|
684
|
-
var
|
|
685
|
-
return
|
|
684
|
+
var Fe = function(e, t) {
|
|
685
|
+
return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
686
686
|
r.__proto__ = n;
|
|
687
687
|
} || function(r, n) {
|
|
688
688
|
for (var i in n)
|
|
689
689
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
690
|
-
},
|
|
690
|
+
}, Fe(e, t);
|
|
691
691
|
};
|
|
692
692
|
function R(e, t) {
|
|
693
693
|
if (typeof t != "function" && t !== null)
|
|
694
694
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
695
|
-
|
|
695
|
+
Fe(e, t);
|
|
696
696
|
function r() {
|
|
697
697
|
this.constructor = e;
|
|
698
698
|
}
|
|
@@ -708,7 +708,7 @@ var E = function() {
|
|
|
708
708
|
return t;
|
|
709
709
|
}, E.apply(this, arguments);
|
|
710
710
|
};
|
|
711
|
-
function
|
|
711
|
+
function sn(e, t) {
|
|
712
712
|
var r = {};
|
|
713
713
|
for (var n in e)
|
|
714
714
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -717,7 +717,7 @@ function ln(e, t) {
|
|
|
717
717
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
718
718
|
return r;
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function je(e) {
|
|
721
721
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
722
722
|
if (r)
|
|
723
723
|
return r.call(e);
|
|
@@ -729,7 +729,7 @@ function ke(e) {
|
|
|
729
729
|
};
|
|
730
730
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
731
731
|
}
|
|
732
|
-
function
|
|
732
|
+
function ke(e, t) {
|
|
733
733
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
734
734
|
if (!r)
|
|
735
735
|
return e;
|
|
@@ -758,13 +758,13 @@ function W(e, t, r) {
|
|
|
758
758
|
function L(e) {
|
|
759
759
|
return typeof e == "function";
|
|
760
760
|
}
|
|
761
|
-
function
|
|
761
|
+
function Xt(e) {
|
|
762
762
|
var t = function(n) {
|
|
763
763
|
Error.call(n), n.stack = new Error().stack;
|
|
764
764
|
}, r = e(t);
|
|
765
765
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
766
766
|
}
|
|
767
|
-
var Ie =
|
|
767
|
+
var Ie = Xt(function(e) {
|
|
768
768
|
return function(r) {
|
|
769
769
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
770
770
|
` + r.map(function(n, i) {
|
|
@@ -773,7 +773,7 @@ var Ie = Wt(function(e) {
|
|
|
773
773
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
774
774
|
};
|
|
775
775
|
});
|
|
776
|
-
function
|
|
776
|
+
function Ve(e, t) {
|
|
777
777
|
if (e) {
|
|
778
778
|
var r = e.indexOf(t);
|
|
779
779
|
0 <= r && e.splice(r, 1);
|
|
@@ -791,7 +791,7 @@ var Te = function() {
|
|
|
791
791
|
if (a)
|
|
792
792
|
if (this._parentage = null, Array.isArray(a))
|
|
793
793
|
try {
|
|
794
|
-
for (var s =
|
|
794
|
+
for (var s = je(a), l = s.next(); !l.done; l = s.next()) {
|
|
795
795
|
var u = l.value;
|
|
796
796
|
u.remove(this);
|
|
797
797
|
}
|
|
@@ -814,23 +814,23 @@ var Te = function() {
|
|
|
814
814
|
} catch (p) {
|
|
815
815
|
o = p instanceof Ie ? p.errors : [p];
|
|
816
816
|
}
|
|
817
|
-
var
|
|
818
|
-
if (
|
|
817
|
+
var f = this._finalizers;
|
|
818
|
+
if (f) {
|
|
819
819
|
this._finalizers = null;
|
|
820
820
|
try {
|
|
821
|
-
for (var
|
|
822
|
-
var
|
|
821
|
+
for (var c = je(f), m = c.next(); !m.done; m = c.next()) {
|
|
822
|
+
var d = m.value;
|
|
823
823
|
try {
|
|
824
|
-
|
|
824
|
+
ft(d);
|
|
825
825
|
} catch (p) {
|
|
826
|
-
o = o ?? [], p instanceof Ie ? o = W(W([],
|
|
826
|
+
o = o ?? [], p instanceof Ie ? o = W(W([], ke(o)), ke(p.errors)) : o.push(p);
|
|
827
827
|
}
|
|
828
828
|
}
|
|
829
829
|
} catch (p) {
|
|
830
830
|
n = { error: p };
|
|
831
831
|
} finally {
|
|
832
832
|
try {
|
|
833
|
-
|
|
833
|
+
m && !m.done && (i = c.return) && i.call(c);
|
|
834
834
|
} finally {
|
|
835
835
|
if (n)
|
|
836
836
|
throw n.error;
|
|
@@ -844,7 +844,7 @@ var Te = function() {
|
|
|
844
844
|
var r;
|
|
845
845
|
if (t && t !== this)
|
|
846
846
|
if (this.closed)
|
|
847
|
-
|
|
847
|
+
ft(t);
|
|
848
848
|
else {
|
|
849
849
|
if (t instanceof e) {
|
|
850
850
|
if (t.closed || t._hasParent(this))
|
|
@@ -861,56 +861,56 @@ var Te = function() {
|
|
|
861
861
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
862
862
|
}, e.prototype._removeParent = function(t) {
|
|
863
863
|
var r = this._parentage;
|
|
864
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
864
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ve(r, t);
|
|
865
865
|
}, e.prototype.remove = function(t) {
|
|
866
866
|
var r = this._finalizers;
|
|
867
|
-
r &&
|
|
867
|
+
r && Ve(r, t), t instanceof e && t._removeParent(this);
|
|
868
868
|
}, e.EMPTY = function() {
|
|
869
869
|
var t = new e();
|
|
870
870
|
return t.closed = !0, t;
|
|
871
871
|
}(), e;
|
|
872
|
-
}(),
|
|
873
|
-
function
|
|
872
|
+
}(), zt = Te.EMPTY;
|
|
873
|
+
function Wt(e) {
|
|
874
874
|
return e instanceof Te || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
|
|
875
875
|
}
|
|
876
|
-
function
|
|
876
|
+
function ft(e) {
|
|
877
877
|
L(e) ? e() : e.unsubscribe();
|
|
878
878
|
}
|
|
879
|
-
var
|
|
879
|
+
var an = {
|
|
880
880
|
onUnhandledError: null,
|
|
881
881
|
onStoppedNotification: null,
|
|
882
882
|
Promise: void 0,
|
|
883
883
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
884
884
|
useDeprecatedNextContext: !1
|
|
885
|
-
},
|
|
885
|
+
}, un = {
|
|
886
886
|
setTimeout: function(e, t) {
|
|
887
887
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
888
888
|
r[n - 2] = arguments[n];
|
|
889
|
-
return setTimeout.apply(void 0, W([e, t],
|
|
889
|
+
return setTimeout.apply(void 0, W([e, t], ke(r)));
|
|
890
890
|
},
|
|
891
891
|
clearTimeout: function(e) {
|
|
892
892
|
return clearTimeout(e);
|
|
893
893
|
},
|
|
894
894
|
delegate: void 0
|
|
895
895
|
};
|
|
896
|
-
function
|
|
897
|
-
|
|
896
|
+
function ln(e) {
|
|
897
|
+
un.setTimeout(function() {
|
|
898
898
|
throw e;
|
|
899
899
|
});
|
|
900
900
|
}
|
|
901
|
-
function
|
|
901
|
+
function ct() {
|
|
902
902
|
}
|
|
903
903
|
function be(e) {
|
|
904
904
|
e();
|
|
905
905
|
}
|
|
906
|
-
var
|
|
906
|
+
var Zt = function(e) {
|
|
907
907
|
R(t, e);
|
|
908
908
|
function t(r) {
|
|
909
909
|
var n = e.call(this) || this;
|
|
910
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
910
|
+
return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = cn, n;
|
|
911
911
|
}
|
|
912
912
|
return t.create = function(r, n, i) {
|
|
913
|
-
return new
|
|
913
|
+
return new Xe(r, n, i);
|
|
914
914
|
}, t.prototype.next = function(r) {
|
|
915
915
|
this.isStopped || this._next(r);
|
|
916
916
|
}, t.prototype.error = function(r) {
|
|
@@ -934,11 +934,7 @@ var qt = function(e) {
|
|
|
934
934
|
this.unsubscribe();
|
|
935
935
|
}
|
|
936
936
|
}, t;
|
|
937
|
-
}(Te),
|
|
938
|
-
function Me(e, t) {
|
|
939
|
-
return fn.call(e, t);
|
|
940
|
-
}
|
|
941
|
-
var mn = function() {
|
|
937
|
+
}(Te), hn = function() {
|
|
942
938
|
function e(t) {
|
|
943
939
|
this.partialObserver = t;
|
|
944
940
|
}
|
|
@@ -948,7 +944,7 @@ var mn = function() {
|
|
|
948
944
|
try {
|
|
949
945
|
r.next(t);
|
|
950
946
|
} catch (n) {
|
|
951
|
-
|
|
947
|
+
ce(n);
|
|
952
948
|
}
|
|
953
949
|
}, e.prototype.error = function(t) {
|
|
954
950
|
var r = this.partialObserver;
|
|
@@ -956,68 +952,56 @@ var mn = function() {
|
|
|
956
952
|
try {
|
|
957
953
|
r.error(t);
|
|
958
954
|
} catch (n) {
|
|
959
|
-
|
|
955
|
+
ce(n);
|
|
960
956
|
}
|
|
961
957
|
else
|
|
962
|
-
|
|
958
|
+
ce(t);
|
|
963
959
|
}, e.prototype.complete = function() {
|
|
964
960
|
var t = this.partialObserver;
|
|
965
961
|
if (t.complete)
|
|
966
962
|
try {
|
|
967
963
|
t.complete();
|
|
968
964
|
} catch (r) {
|
|
969
|
-
|
|
965
|
+
ce(r);
|
|
970
966
|
}
|
|
971
967
|
}, e;
|
|
972
|
-
}(),
|
|
968
|
+
}(), Xe = function(e) {
|
|
973
969
|
R(t, e);
|
|
974
970
|
function t(r, n, i) {
|
|
975
971
|
var o = e.call(this) || this, a;
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
};
|
|
982
|
-
else {
|
|
983
|
-
var s;
|
|
984
|
-
o && Jt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
985
|
-
return o.unsubscribe();
|
|
986
|
-
}, a = {
|
|
987
|
-
next: r.next && Me(r.next, s),
|
|
988
|
-
error: r.error && Me(r.error, s),
|
|
989
|
-
complete: r.complete && Me(r.complete, s)
|
|
990
|
-
}) : a = r;
|
|
991
|
-
}
|
|
992
|
-
return o.destination = new mn(a), o;
|
|
972
|
+
return L(r) || !r ? a = {
|
|
973
|
+
next: r ?? void 0,
|
|
974
|
+
error: n ?? void 0,
|
|
975
|
+
complete: i ?? void 0
|
|
976
|
+
} : a = r, o.destination = new hn(a), o;
|
|
993
977
|
}
|
|
994
978
|
return t;
|
|
995
|
-
}(
|
|
996
|
-
function
|
|
997
|
-
|
|
979
|
+
}(Zt);
|
|
980
|
+
function ce(e) {
|
|
981
|
+
ln(e);
|
|
998
982
|
}
|
|
999
|
-
function
|
|
983
|
+
function fn(e) {
|
|
1000
984
|
throw e;
|
|
1001
985
|
}
|
|
1002
|
-
var
|
|
986
|
+
var cn = {
|
|
1003
987
|
closed: !0,
|
|
1004
|
-
next:
|
|
1005
|
-
error:
|
|
1006
|
-
complete:
|
|
1007
|
-
},
|
|
988
|
+
next: ct,
|
|
989
|
+
error: fn,
|
|
990
|
+
complete: ct
|
|
991
|
+
}, dn = function() {
|
|
1008
992
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1009
993
|
}();
|
|
1010
|
-
function
|
|
994
|
+
function mn(e) {
|
|
1011
995
|
return e;
|
|
1012
996
|
}
|
|
1013
|
-
function
|
|
1014
|
-
return e.length === 0 ?
|
|
997
|
+
function pn(e) {
|
|
998
|
+
return e.length === 0 ? mn : e.length === 1 ? e[0] : function(r) {
|
|
1015
999
|
return e.reduce(function(n, i) {
|
|
1016
1000
|
return i(n);
|
|
1017
1001
|
}, r);
|
|
1018
1002
|
};
|
|
1019
1003
|
}
|
|
1020
|
-
var
|
|
1004
|
+
var dt = function() {
|
|
1021
1005
|
function e(t) {
|
|
1022
1006
|
t && (this._subscribe = t);
|
|
1023
1007
|
}
|
|
@@ -1025,7 +1009,7 @@ var pt = function() {
|
|
|
1025
1009
|
var r = new e();
|
|
1026
1010
|
return r.source = this, r.operator = t, r;
|
|
1027
1011
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1028
|
-
var i = this, o =
|
|
1012
|
+
var i = this, o = gn(t) ? t : new Xe(t, r, n);
|
|
1029
1013
|
return be(function() {
|
|
1030
1014
|
var a = i, s = a.operator, l = a.source;
|
|
1031
1015
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1038,8 +1022,8 @@ var pt = function() {
|
|
|
1038
1022
|
}
|
|
1039
1023
|
}, e.prototype.forEach = function(t, r) {
|
|
1040
1024
|
var n = this;
|
|
1041
|
-
return r =
|
|
1042
|
-
var a = new
|
|
1025
|
+
return r = mt(r), new r(function(i, o) {
|
|
1026
|
+
var a = new Xe({
|
|
1043
1027
|
next: function(s) {
|
|
1044
1028
|
try {
|
|
1045
1029
|
t(s);
|
|
@@ -1055,15 +1039,15 @@ var pt = function() {
|
|
|
1055
1039
|
}, e.prototype._subscribe = function(t) {
|
|
1056
1040
|
var r;
|
|
1057
1041
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1058
|
-
}, e.prototype[
|
|
1042
|
+
}, e.prototype[dn] = function() {
|
|
1059
1043
|
return this;
|
|
1060
1044
|
}, e.prototype.pipe = function() {
|
|
1061
1045
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1062
1046
|
t[r] = arguments[r];
|
|
1063
|
-
return
|
|
1047
|
+
return pn(t)(this);
|
|
1064
1048
|
}, e.prototype.toPromise = function(t) {
|
|
1065
1049
|
var r = this;
|
|
1066
|
-
return t =
|
|
1050
|
+
return t = mt(t), new t(function(n, i) {
|
|
1067
1051
|
var o;
|
|
1068
1052
|
r.subscribe(function(a) {
|
|
1069
1053
|
return o = a;
|
|
@@ -1077,32 +1061,32 @@ var pt = function() {
|
|
|
1077
1061
|
return new e(t);
|
|
1078
1062
|
}, e;
|
|
1079
1063
|
}();
|
|
1080
|
-
function
|
|
1064
|
+
function mt(e) {
|
|
1081
1065
|
var t;
|
|
1082
|
-
return (t = e ??
|
|
1066
|
+
return (t = e ?? an.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1083
1067
|
}
|
|
1084
|
-
function
|
|
1068
|
+
function bn(e) {
|
|
1085
1069
|
return e && L(e.next) && L(e.error) && L(e.complete);
|
|
1086
1070
|
}
|
|
1087
|
-
function
|
|
1088
|
-
return e && e instanceof
|
|
1071
|
+
function gn(e) {
|
|
1072
|
+
return e && e instanceof Zt || bn(e) && Wt(e);
|
|
1089
1073
|
}
|
|
1090
|
-
var
|
|
1074
|
+
var yn = Xt(function(e) {
|
|
1091
1075
|
return function() {
|
|
1092
1076
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1093
1077
|
};
|
|
1094
|
-
}),
|
|
1078
|
+
}), Qt = function(e) {
|
|
1095
1079
|
R(t, e);
|
|
1096
1080
|
function t() {
|
|
1097
1081
|
var r = e.call(this) || this;
|
|
1098
1082
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1099
1083
|
}
|
|
1100
1084
|
return t.prototype.lift = function(r) {
|
|
1101
|
-
var n = new
|
|
1085
|
+
var n = new pt(this, this);
|
|
1102
1086
|
return n.operator = r, n;
|
|
1103
1087
|
}, t.prototype._throwIfClosed = function() {
|
|
1104
1088
|
if (this.closed)
|
|
1105
|
-
throw new
|
|
1089
|
+
throw new yn();
|
|
1106
1090
|
}, t.prototype.next = function(r) {
|
|
1107
1091
|
var n = this;
|
|
1108
1092
|
be(function() {
|
|
@@ -1110,7 +1094,7 @@ var xn = Wt(function(e) {
|
|
|
1110
1094
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1111
1095
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1112
1096
|
try {
|
|
1113
|
-
for (var a =
|
|
1097
|
+
for (var a = je(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1114
1098
|
var l = s.value;
|
|
1115
1099
|
l.next(r);
|
|
1116
1100
|
}
|
|
@@ -1159,19 +1143,19 @@ var xn = Wt(function(e) {
|
|
|
1159
1143
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1160
1144
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1161
1145
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1162
|
-
return o || a ?
|
|
1163
|
-
n.currentObservers = null,
|
|
1146
|
+
return o || a ? zt : (this.currentObservers = null, s.push(r), new Te(function() {
|
|
1147
|
+
n.currentObservers = null, Ve(s, r);
|
|
1164
1148
|
}));
|
|
1165
1149
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1166
1150
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1167
1151
|
i ? r.error(o) : a && r.complete();
|
|
1168
1152
|
}, t.prototype.asObservable = function() {
|
|
1169
|
-
var r = new
|
|
1153
|
+
var r = new dt();
|
|
1170
1154
|
return r.source = this, r;
|
|
1171
1155
|
}, t.create = function(r, n) {
|
|
1172
|
-
return new
|
|
1156
|
+
return new pt(r, n);
|
|
1173
1157
|
}, t;
|
|
1174
|
-
}(
|
|
1158
|
+
}(dt), pt = function(e) {
|
|
1175
1159
|
R(t, e);
|
|
1176
1160
|
function t(r, n) {
|
|
1177
1161
|
var i = e.call(this) || this;
|
|
@@ -1188,17 +1172,17 @@ var xn = Wt(function(e) {
|
|
|
1188
1172
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1189
1173
|
}, t.prototype._subscribe = function(r) {
|
|
1190
1174
|
var n, i;
|
|
1191
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1175
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zt;
|
|
1192
1176
|
}, t;
|
|
1193
|
-
}(
|
|
1177
|
+
}(Qt), Jt = {
|
|
1194
1178
|
now: function() {
|
|
1195
|
-
return (
|
|
1179
|
+
return (Jt.delegate || Date).now();
|
|
1196
1180
|
},
|
|
1197
1181
|
delegate: void 0
|
|
1198
|
-
},
|
|
1182
|
+
}, _n = function(e) {
|
|
1199
1183
|
R(t, e);
|
|
1200
1184
|
function t(r, n, i) {
|
|
1201
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1185
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
|
|
1202
1186
|
var o = e.call(this) || this;
|
|
1203
1187
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1204
1188
|
}
|
|
@@ -1218,15 +1202,15 @@ var xn = Wt(function(e) {
|
|
|
1218
1202
|
u && o.splice(0, u + 1);
|
|
1219
1203
|
}
|
|
1220
1204
|
}, t;
|
|
1221
|
-
}(
|
|
1222
|
-
const
|
|
1223
|
-
if (
|
|
1224
|
-
const r = new
|
|
1225
|
-
|
|
1205
|
+
}(Qt);
|
|
1206
|
+
const bt = [], gt = {}, vn = (e, t = 0) => {
|
|
1207
|
+
if (bt.indexOf(e) == -1) {
|
|
1208
|
+
const r = new _n(t);
|
|
1209
|
+
gt[e] = r, bt.push(e);
|
|
1226
1210
|
}
|
|
1227
|
-
return
|
|
1211
|
+
return gt[e];
|
|
1228
1212
|
}, k = [];
|
|
1229
|
-
function
|
|
1213
|
+
function xn(e, t) {
|
|
1230
1214
|
return {
|
|
1231
1215
|
subscribe: He(e, t).subscribe
|
|
1232
1216
|
};
|
|
@@ -1235,7 +1219,7 @@ function He(e, t = M) {
|
|
|
1235
1219
|
let r;
|
|
1236
1220
|
const n = /* @__PURE__ */ new Set();
|
|
1237
1221
|
function i(s) {
|
|
1238
|
-
if (
|
|
1222
|
+
if ($t(e, s) && (e = s, r)) {
|
|
1239
1223
|
const l = !k.length;
|
|
1240
1224
|
for (const u of n)
|
|
1241
1225
|
u[1](), k.push(u, e);
|
|
@@ -1262,97 +1246,97 @@ function Y(e, t, r) {
|
|
|
1262
1246
|
if (!i.every(Boolean))
|
|
1263
1247
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1264
1248
|
const o = t.length < 2;
|
|
1265
|
-
return
|
|
1249
|
+
return xn(r, (a, s) => {
|
|
1266
1250
|
let l = !1;
|
|
1267
1251
|
const u = [];
|
|
1268
|
-
let h = 0,
|
|
1269
|
-
const
|
|
1252
|
+
let h = 0, f = M;
|
|
1253
|
+
const c = () => {
|
|
1270
1254
|
if (h)
|
|
1271
1255
|
return;
|
|
1272
|
-
|
|
1273
|
-
const
|
|
1274
|
-
o ? a(
|
|
1275
|
-
},
|
|
1276
|
-
(
|
|
1277
|
-
|
|
1256
|
+
f();
|
|
1257
|
+
const d = t(n ? u[0] : u, a, s);
|
|
1258
|
+
o ? a(d) : f = Se(d) ? d : M;
|
|
1259
|
+
}, m = i.map(
|
|
1260
|
+
(d, p) => Gt(
|
|
1261
|
+
d,
|
|
1278
1262
|
(g) => {
|
|
1279
|
-
u[p] = g, h &= ~(1 << p), l &&
|
|
1263
|
+
u[p] = g, h &= ~(1 << p), l && c();
|
|
1280
1264
|
},
|
|
1281
1265
|
() => {
|
|
1282
1266
|
h |= 1 << p;
|
|
1283
1267
|
}
|
|
1284
1268
|
)
|
|
1285
1269
|
);
|
|
1286
|
-
return l = !0,
|
|
1287
|
-
G(
|
|
1270
|
+
return l = !0, c(), function() {
|
|
1271
|
+
G(m), f(), l = !1;
|
|
1288
1272
|
};
|
|
1289
1273
|
});
|
|
1290
1274
|
}
|
|
1291
|
-
var
|
|
1292
|
-
function
|
|
1275
|
+
var Bo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1276
|
+
function En(e) {
|
|
1293
1277
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1294
1278
|
}
|
|
1295
|
-
var
|
|
1296
|
-
return
|
|
1279
|
+
var wn = function(t) {
|
|
1280
|
+
return Sn(t) && !Tn(t);
|
|
1297
1281
|
};
|
|
1298
|
-
function
|
|
1282
|
+
function Sn(e) {
|
|
1299
1283
|
return !!e && typeof e == "object";
|
|
1300
1284
|
}
|
|
1301
|
-
function
|
|
1285
|
+
function Tn(e) {
|
|
1302
1286
|
var t = Object.prototype.toString.call(e);
|
|
1303
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1287
|
+
return t === "[object RegExp]" || t === "[object Date]" || Bn(e);
|
|
1304
1288
|
}
|
|
1305
|
-
var
|
|
1306
|
-
function
|
|
1307
|
-
return e.$$typeof ===
|
|
1289
|
+
var Hn = typeof Symbol == "function" && Symbol.for, An = Hn ? Symbol.for("react.element") : 60103;
|
|
1290
|
+
function Bn(e) {
|
|
1291
|
+
return e.$$typeof === An;
|
|
1308
1292
|
}
|
|
1309
|
-
function
|
|
1293
|
+
function Cn(e) {
|
|
1310
1294
|
return Array.isArray(e) ? [] : {};
|
|
1311
1295
|
}
|
|
1312
1296
|
function oe(e, t) {
|
|
1313
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Z(
|
|
1297
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(Cn(e), e, t) : e;
|
|
1314
1298
|
}
|
|
1315
|
-
function
|
|
1299
|
+
function Pn(e, t, r) {
|
|
1316
1300
|
return e.concat(t).map(function(n) {
|
|
1317
1301
|
return oe(n, r);
|
|
1318
1302
|
});
|
|
1319
1303
|
}
|
|
1320
|
-
function
|
|
1304
|
+
function On(e, t) {
|
|
1321
1305
|
if (!t.customMerge)
|
|
1322
1306
|
return Z;
|
|
1323
1307
|
var r = t.customMerge(e);
|
|
1324
1308
|
return typeof r == "function" ? r : Z;
|
|
1325
1309
|
}
|
|
1326
|
-
function
|
|
1310
|
+
function In(e) {
|
|
1327
1311
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1328
1312
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1329
1313
|
}) : [];
|
|
1330
1314
|
}
|
|
1331
|
-
function
|
|
1332
|
-
return Object.keys(e).concat(
|
|
1315
|
+
function yt(e) {
|
|
1316
|
+
return Object.keys(e).concat(In(e));
|
|
1333
1317
|
}
|
|
1334
|
-
function
|
|
1318
|
+
function qt(e, t) {
|
|
1335
1319
|
try {
|
|
1336
1320
|
return t in e;
|
|
1337
1321
|
} catch {
|
|
1338
1322
|
return !1;
|
|
1339
1323
|
}
|
|
1340
1324
|
}
|
|
1341
|
-
function
|
|
1342
|
-
return
|
|
1325
|
+
function Mn(e, t) {
|
|
1326
|
+
return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1343
1327
|
}
|
|
1344
|
-
function
|
|
1328
|
+
function Nn(e, t, r) {
|
|
1345
1329
|
var n = {};
|
|
1346
|
-
return r.isMergeableObject(e) &&
|
|
1330
|
+
return r.isMergeableObject(e) && yt(e).forEach(function(i) {
|
|
1347
1331
|
n[i] = oe(e[i], r);
|
|
1348
|
-
}),
|
|
1349
|
-
|
|
1332
|
+
}), yt(t).forEach(function(i) {
|
|
1333
|
+
Mn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1350
1334
|
}), n;
|
|
1351
1335
|
}
|
|
1352
1336
|
function Z(e, t, r) {
|
|
1353
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1337
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Pn, r.isMergeableObject = r.isMergeableObject || wn, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1354
1338
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1355
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1339
|
+
return o ? n ? r.arrayMerge(e, t, r) : Nn(e, t, r) : oe(t, r);
|
|
1356
1340
|
}
|
|
1357
1341
|
Z.all = function(t, r) {
|
|
1358
1342
|
if (!Array.isArray(t))
|
|
@@ -1361,58 +1345,60 @@ Z.all = function(t, r) {
|
|
|
1361
1345
|
return Z(n, i, r);
|
|
1362
1346
|
}, {});
|
|
1363
1347
|
};
|
|
1364
|
-
var
|
|
1365
|
-
const
|
|
1366
|
-
function
|
|
1367
|
-
var r = t && t.cache ? t.cache :
|
|
1348
|
+
var Ln = Z, Rn = Ln;
|
|
1349
|
+
const $n = /* @__PURE__ */ En(Rn);
|
|
1350
|
+
function Me(e, t) {
|
|
1351
|
+
var r = t && t.cache ? t.cache : Vn, n = t && t.serializer ? t.serializer : jn, i = t && t.strategy ? t.strategy : Un;
|
|
1368
1352
|
return i(e, {
|
|
1369
1353
|
cache: r,
|
|
1370
1354
|
serializer: n
|
|
1371
1355
|
});
|
|
1372
1356
|
}
|
|
1373
|
-
function
|
|
1357
|
+
function Gn(e) {
|
|
1374
1358
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1375
1359
|
}
|
|
1376
|
-
function
|
|
1377
|
-
var i =
|
|
1360
|
+
function Yt(e, t, r, n) {
|
|
1361
|
+
var i = Gn(n) ? n : r(n), o = t.get(i);
|
|
1378
1362
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1379
1363
|
}
|
|
1380
|
-
function
|
|
1364
|
+
function Kt(e, t, r) {
|
|
1381
1365
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1382
1366
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1383
1367
|
}
|
|
1384
|
-
function
|
|
1368
|
+
function nt(e, t, r, n, i) {
|
|
1385
1369
|
return r.bind(t, e, n, i);
|
|
1386
1370
|
}
|
|
1387
|
-
function
|
|
1388
|
-
var r = e.length === 1 ?
|
|
1389
|
-
return
|
|
1371
|
+
function Un(e, t) {
|
|
1372
|
+
var r = e.length === 1 ? Yt : Kt;
|
|
1373
|
+
return nt(e, this, r, t.cache.create(), t.serializer);
|
|
1390
1374
|
}
|
|
1391
|
-
function
|
|
1392
|
-
return
|
|
1375
|
+
function Dn(e, t) {
|
|
1376
|
+
return nt(e, this, Kt, t.cache.create(), t.serializer);
|
|
1393
1377
|
}
|
|
1394
|
-
function
|
|
1395
|
-
return
|
|
1378
|
+
function Fn(e, t) {
|
|
1379
|
+
return nt(e, this, Yt, t.cache.create(), t.serializer);
|
|
1396
1380
|
}
|
|
1397
|
-
var
|
|
1381
|
+
var jn = function() {
|
|
1398
1382
|
return JSON.stringify(arguments);
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1383
|
+
}, kn = (
|
|
1384
|
+
/** @class */
|
|
1385
|
+
function() {
|
|
1386
|
+
function e() {
|
|
1387
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1388
|
+
}
|
|
1389
|
+
return e.prototype.get = function(t) {
|
|
1390
|
+
return this.cache[t];
|
|
1391
|
+
}, e.prototype.set = function(t, r) {
|
|
1392
|
+
this.cache[t] = r;
|
|
1393
|
+
}, e;
|
|
1394
|
+
}()
|
|
1395
|
+
), Vn = {
|
|
1410
1396
|
create: function() {
|
|
1411
|
-
return new
|
|
1397
|
+
return new kn();
|
|
1412
1398
|
}
|
|
1413
|
-
},
|
|
1414
|
-
variadic:
|
|
1415
|
-
monadic:
|
|
1399
|
+
}, Ne = {
|
|
1400
|
+
variadic: Dn,
|
|
1401
|
+
monadic: Fn
|
|
1416
1402
|
}, y;
|
|
1417
1403
|
(function(e) {
|
|
1418
1404
|
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";
|
|
@@ -1425,43 +1411,43 @@ var Q;
|
|
|
1425
1411
|
(function(e) {
|
|
1426
1412
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1427
1413
|
})(Q || (Q = {}));
|
|
1428
|
-
function
|
|
1414
|
+
function _t(e) {
|
|
1429
1415
|
return e.type === S.literal;
|
|
1430
1416
|
}
|
|
1431
|
-
function
|
|
1417
|
+
function Xn(e) {
|
|
1432
1418
|
return e.type === S.argument;
|
|
1433
1419
|
}
|
|
1434
|
-
function
|
|
1420
|
+
function er(e) {
|
|
1435
1421
|
return e.type === S.number;
|
|
1436
1422
|
}
|
|
1437
|
-
function
|
|
1423
|
+
function tr(e) {
|
|
1438
1424
|
return e.type === S.date;
|
|
1439
1425
|
}
|
|
1440
|
-
function
|
|
1426
|
+
function rr(e) {
|
|
1441
1427
|
return e.type === S.time;
|
|
1442
1428
|
}
|
|
1443
|
-
function
|
|
1429
|
+
function nr(e) {
|
|
1444
1430
|
return e.type === S.select;
|
|
1445
1431
|
}
|
|
1446
|
-
function
|
|
1432
|
+
function ir(e) {
|
|
1447
1433
|
return e.type === S.plural;
|
|
1448
1434
|
}
|
|
1449
|
-
function
|
|
1435
|
+
function zn(e) {
|
|
1450
1436
|
return e.type === S.pound;
|
|
1451
1437
|
}
|
|
1452
|
-
function
|
|
1438
|
+
function or(e) {
|
|
1453
1439
|
return e.type === S.tag;
|
|
1454
1440
|
}
|
|
1455
|
-
function
|
|
1441
|
+
function sr(e) {
|
|
1456
1442
|
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1457
1443
|
}
|
|
1458
|
-
function
|
|
1444
|
+
function ze(e) {
|
|
1459
1445
|
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1460
1446
|
}
|
|
1461
|
-
var
|
|
1462
|
-
function
|
|
1447
|
+
var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[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;
|
|
1448
|
+
function Zn(e) {
|
|
1463
1449
|
var t = {};
|
|
1464
|
-
return e.replace(
|
|
1450
|
+
return e.replace(Wn, function(r) {
|
|
1465
1451
|
var n = r.length;
|
|
1466
1452
|
switch (r[0]) {
|
|
1467
1453
|
case "G":
|
|
@@ -1550,36 +1536,36 @@ function Jn(e) {
|
|
|
1550
1536
|
return "";
|
|
1551
1537
|
}), t;
|
|
1552
1538
|
}
|
|
1553
|
-
var
|
|
1554
|
-
function
|
|
1539
|
+
var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1540
|
+
function Jn(e) {
|
|
1555
1541
|
if (e.length === 0)
|
|
1556
1542
|
throw new Error("Number skeleton cannot be empty");
|
|
1557
|
-
for (var t = e.split(
|
|
1558
|
-
return
|
|
1543
|
+
for (var t = e.split(Qn).filter(function(c) {
|
|
1544
|
+
return c.length > 0;
|
|
1559
1545
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1560
1546
|
var o = i[n], a = o.split("/");
|
|
1561
1547
|
if (a.length === 0)
|
|
1562
1548
|
throw new Error("Invalid number skeleton");
|
|
1563
1549
|
for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1564
|
-
var
|
|
1565
|
-
if (
|
|
1550
|
+
var f = h[u];
|
|
1551
|
+
if (f.length === 0)
|
|
1566
1552
|
throw new Error("Invalid number skeleton");
|
|
1567
1553
|
}
|
|
1568
1554
|
r.push({ stem: s, options: l });
|
|
1569
1555
|
}
|
|
1570
1556
|
return r;
|
|
1571
1557
|
}
|
|
1572
|
-
function
|
|
1558
|
+
function qn(e) {
|
|
1573
1559
|
return e.replace(/^(.*?)-/, "");
|
|
1574
1560
|
}
|
|
1575
|
-
var
|
|
1576
|
-
function
|
|
1561
|
+
var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Yn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
|
|
1562
|
+
function xt(e) {
|
|
1577
1563
|
var t = {};
|
|
1578
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1564
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
|
|
1579
1565
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1580
1566
|
}), t;
|
|
1581
1567
|
}
|
|
1582
|
-
function
|
|
1568
|
+
function hr(e) {
|
|
1583
1569
|
switch (e) {
|
|
1584
1570
|
case "sign-auto":
|
|
1585
1571
|
return {
|
|
@@ -1619,7 +1605,7 @@ function mr(e) {
|
|
|
1619
1605
|
};
|
|
1620
1606
|
}
|
|
1621
1607
|
}
|
|
1622
|
-
function
|
|
1608
|
+
function Kn(e) {
|
|
1623
1609
|
var t;
|
|
1624
1610
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1625
1611
|
notation: "engineering"
|
|
@@ -1627,17 +1613,17 @@ function ti(e) {
|
|
|
1627
1613
|
notation: "scientific"
|
|
1628
1614
|
}, e = e.slice(1)), t) {
|
|
1629
1615
|
var r = e.slice(0, 2);
|
|
1630
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1616
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
|
|
1631
1617
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1632
1618
|
t.minimumIntegerDigits = e.length;
|
|
1633
1619
|
}
|
|
1634
1620
|
return t;
|
|
1635
1621
|
}
|
|
1636
|
-
function
|
|
1637
|
-
var t = {}, r =
|
|
1622
|
+
function Et(e) {
|
|
1623
|
+
var t = {}, r = hr(e);
|
|
1638
1624
|
return r || t;
|
|
1639
1625
|
}
|
|
1640
|
-
function
|
|
1626
|
+
function ei(e) {
|
|
1641
1627
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1642
1628
|
var i = n[r];
|
|
1643
1629
|
switch (i.stem) {
|
|
@@ -1661,7 +1647,7 @@ function ri(e) {
|
|
|
1661
1647
|
continue;
|
|
1662
1648
|
case "measure-unit":
|
|
1663
1649
|
case "unit":
|
|
1664
|
-
t.style = "unit", t.unit =
|
|
1650
|
+
t.style = "unit", t.unit = qn(i.options[0]);
|
|
1665
1651
|
continue;
|
|
1666
1652
|
case "compact-short":
|
|
1667
1653
|
case "K":
|
|
@@ -1673,12 +1659,12 @@ function ri(e) {
|
|
|
1673
1659
|
continue;
|
|
1674
1660
|
case "scientific":
|
|
1675
1661
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1676
|
-
return E(E({}, l),
|
|
1662
|
+
return E(E({}, l), Et(u));
|
|
1677
1663
|
}, {}));
|
|
1678
1664
|
continue;
|
|
1679
1665
|
case "engineering":
|
|
1680
1666
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1681
|
-
return E(E({}, l),
|
|
1667
|
+
return E(E({}, l), Et(u));
|
|
1682
1668
|
}, {}));
|
|
1683
1669
|
continue;
|
|
1684
1670
|
case "notation-simple":
|
|
@@ -1723,45 +1709,45 @@ function ri(e) {
|
|
|
1723
1709
|
case "integer-width":
|
|
1724
1710
|
if (i.options.length > 1)
|
|
1725
1711
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1726
|
-
i.options[0].replace(
|
|
1712
|
+
i.options[0].replace(Yn, function(l, u, h, f, c, m) {
|
|
1727
1713
|
if (u)
|
|
1728
1714
|
t.minimumIntegerDigits = h.length;
|
|
1729
1715
|
else {
|
|
1730
|
-
if (
|
|
1716
|
+
if (f && c)
|
|
1731
1717
|
throw new Error("We currently do not support maximum integer digits");
|
|
1732
|
-
if (
|
|
1718
|
+
if (m)
|
|
1733
1719
|
throw new Error("We currently do not support exact integer digits");
|
|
1734
1720
|
}
|
|
1735
1721
|
return "";
|
|
1736
1722
|
});
|
|
1737
1723
|
continue;
|
|
1738
1724
|
}
|
|
1739
|
-
if (
|
|
1725
|
+
if (lr.test(i.stem)) {
|
|
1740
1726
|
t.minimumIntegerDigits = i.stem.length;
|
|
1741
1727
|
continue;
|
|
1742
1728
|
}
|
|
1743
|
-
if (
|
|
1729
|
+
if (vt.test(i.stem)) {
|
|
1744
1730
|
if (i.options.length > 1)
|
|
1745
1731
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1746
|
-
i.stem.replace(
|
|
1747
|
-
return h === "*" ? t.minimumFractionDigits = u.length :
|
|
1732
|
+
i.stem.replace(vt, function(l, u, h, f, c, m) {
|
|
1733
|
+
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1748
1734
|
});
|
|
1749
1735
|
var o = i.options[0];
|
|
1750
|
-
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t),
|
|
1736
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), xt(o)));
|
|
1751
1737
|
continue;
|
|
1752
1738
|
}
|
|
1753
|
-
if (
|
|
1754
|
-
t = E(E({}, t),
|
|
1739
|
+
if (ur.test(i.stem)) {
|
|
1740
|
+
t = E(E({}, t), xt(i.stem));
|
|
1755
1741
|
continue;
|
|
1756
1742
|
}
|
|
1757
|
-
var a =
|
|
1743
|
+
var a = hr(i.stem);
|
|
1758
1744
|
a && (t = E(E({}, t), a));
|
|
1759
|
-
var s =
|
|
1745
|
+
var s = Kn(i.stem);
|
|
1760
1746
|
s && (t = E(E({}, t), s));
|
|
1761
1747
|
}
|
|
1762
1748
|
return t;
|
|
1763
1749
|
}
|
|
1764
|
-
var
|
|
1750
|
+
var de = {
|
|
1765
1751
|
"001": [
|
|
1766
1752
|
"H",
|
|
1767
1753
|
"h"
|
|
@@ -3176,13 +3162,13 @@ var me = {
|
|
|
3176
3162
|
"h"
|
|
3177
3163
|
]
|
|
3178
3164
|
};
|
|
3179
|
-
function
|
|
3165
|
+
function ti(e, t) {
|
|
3180
3166
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3181
3167
|
var i = e.charAt(n);
|
|
3182
3168
|
if (i === "j") {
|
|
3183
3169
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3184
3170
|
o++, n++;
|
|
3185
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3171
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ri(t);
|
|
3186
3172
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3187
3173
|
r += l;
|
|
3188
3174
|
for (; a-- > 0; )
|
|
@@ -3192,7 +3178,7 @@ function ni(e, t) {
|
|
|
3192
3178
|
}
|
|
3193
3179
|
return r;
|
|
3194
3180
|
}
|
|
3195
|
-
function
|
|
3181
|
+
function ri(e) {
|
|
3196
3182
|
var t = e.hourCycle;
|
|
3197
3183
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3198
3184
|
e.hourCycles && // @ts-ignore
|
|
@@ -3211,23 +3197,23 @@ function ii(e) {
|
|
|
3211
3197
|
}
|
|
3212
3198
|
var r = e.language, n;
|
|
3213
3199
|
r !== "root" && (n = e.maximize().region);
|
|
3214
|
-
var i =
|
|
3200
|
+
var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
|
|
3215
3201
|
return i[0];
|
|
3216
3202
|
}
|
|
3217
|
-
var
|
|
3218
|
-
function
|
|
3203
|
+
var Le, ni = new RegExp("^".concat(ar.source, "*")), ii = new RegExp("".concat(ar.source, "*$"));
|
|
3204
|
+
function v(e, t) {
|
|
3219
3205
|
return { start: e, end: t };
|
|
3220
3206
|
}
|
|
3221
|
-
var
|
|
3207
|
+
var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), si = !!String.fromCodePoint, ai = !!Object.fromEntries, ui = !!String.prototype.codePointAt, li = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, fi = !!Number.isSafeInteger, ci = fi ? Number.isSafeInteger : function(e) {
|
|
3222
3208
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3223
|
-
},
|
|
3209
|
+
}, We = !0;
|
|
3224
3210
|
try {
|
|
3225
|
-
var
|
|
3226
|
-
|
|
3211
|
+
var di = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3212
|
+
We = ((Le = di.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
|
|
3227
3213
|
} catch {
|
|
3228
|
-
|
|
3214
|
+
We = !1;
|
|
3229
3215
|
}
|
|
3230
|
-
var
|
|
3216
|
+
var wt = oi ? (
|
|
3231
3217
|
// Native
|
|
3232
3218
|
function(t, r, n) {
|
|
3233
3219
|
return t.startsWith(r, n);
|
|
@@ -3237,7 +3223,7 @@ var Tt = ai ? (
|
|
|
3237
3223
|
function(t, r, n) {
|
|
3238
3224
|
return t.slice(n, n + r.length) === r;
|
|
3239
3225
|
}
|
|
3240
|
-
),
|
|
3226
|
+
), Ze = si ? String.fromCodePoint : (
|
|
3241
3227
|
// IE11
|
|
3242
3228
|
function() {
|
|
3243
3229
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3249,9 +3235,9 @@ var Tt = ai ? (
|
|
|
3249
3235
|
}
|
|
3250
3236
|
return n;
|
|
3251
3237
|
}
|
|
3252
|
-
),
|
|
3238
|
+
), St = (
|
|
3253
3239
|
// native
|
|
3254
|
-
|
|
3240
|
+
ai ? Object.fromEntries : (
|
|
3255
3241
|
// Ponyfill
|
|
3256
3242
|
function(t) {
|
|
3257
3243
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3261,7 +3247,7 @@ var Tt = ai ? (
|
|
|
3261
3247
|
return r;
|
|
3262
3248
|
}
|
|
3263
3249
|
)
|
|
3264
|
-
),
|
|
3250
|
+
), fr = ui ? (
|
|
3265
3251
|
// Native
|
|
3266
3252
|
function(t, r) {
|
|
3267
3253
|
return t.codePointAt(r);
|
|
@@ -3275,7 +3261,7 @@ var Tt = ai ? (
|
|
|
3275
3261
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3276
3262
|
}
|
|
3277
3263
|
}
|
|
3278
|
-
),
|
|
3264
|
+
), mi = li ? (
|
|
3279
3265
|
// Native
|
|
3280
3266
|
function(t) {
|
|
3281
3267
|
return t.trimStart();
|
|
@@ -3283,9 +3269,9 @@ var Tt = ai ? (
|
|
|
3283
3269
|
) : (
|
|
3284
3270
|
// Ponyfill
|
|
3285
3271
|
function(t) {
|
|
3286
|
-
return t.replace(
|
|
3272
|
+
return t.replace(ni, "");
|
|
3287
3273
|
}
|
|
3288
|
-
),
|
|
3274
|
+
), pi = hi ? (
|
|
3289
3275
|
// Native
|
|
3290
3276
|
function(t) {
|
|
3291
3277
|
return t.trimEnd();
|
|
@@ -3293,32 +3279,32 @@ var Tt = ai ? (
|
|
|
3293
3279
|
) : (
|
|
3294
3280
|
// Ponyfill
|
|
3295
3281
|
function(t) {
|
|
3296
|
-
return t.replace(
|
|
3282
|
+
return t.replace(ii, "");
|
|
3297
3283
|
}
|
|
3298
3284
|
);
|
|
3299
|
-
function
|
|
3285
|
+
function cr(e, t) {
|
|
3300
3286
|
return new RegExp(e, t);
|
|
3301
3287
|
}
|
|
3302
|
-
var
|
|
3303
|
-
if (
|
|
3304
|
-
var
|
|
3305
|
-
|
|
3288
|
+
var Qe;
|
|
3289
|
+
if (We) {
|
|
3290
|
+
var Tt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3291
|
+
Qe = function(t, r) {
|
|
3306
3292
|
var n;
|
|
3307
|
-
|
|
3308
|
-
var i =
|
|
3293
|
+
Tt.lastIndex = r;
|
|
3294
|
+
var i = Tt.exec(t);
|
|
3309
3295
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3310
3296
|
};
|
|
3311
3297
|
} else
|
|
3312
|
-
|
|
3298
|
+
Qe = function(t, r) {
|
|
3313
3299
|
for (var n = []; ; ) {
|
|
3314
|
-
var i =
|
|
3315
|
-
if (i === void 0 ||
|
|
3300
|
+
var i = fr(t, r);
|
|
3301
|
+
if (i === void 0 || dr(i) || _i(i))
|
|
3316
3302
|
break;
|
|
3317
3303
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3318
3304
|
}
|
|
3319
|
-
return
|
|
3305
|
+
return Ze.apply(void 0, n);
|
|
3320
3306
|
};
|
|
3321
|
-
var
|
|
3307
|
+
var bi = (
|
|
3322
3308
|
/** @class */
|
|
3323
3309
|
function() {
|
|
3324
3310
|
function e(t, r) {
|
|
@@ -3343,13 +3329,13 @@ var yi = (
|
|
|
3343
3329
|
var s = this.clonePosition();
|
|
3344
3330
|
this.bump(), i.push({
|
|
3345
3331
|
type: S.pound,
|
|
3346
|
-
location:
|
|
3332
|
+
location: v(s, this.clonePosition())
|
|
3347
3333
|
});
|
|
3348
3334
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3349
3335
|
if (n)
|
|
3350
3336
|
break;
|
|
3351
|
-
return this.error(y.UNMATCHED_CLOSING_TAG,
|
|
3352
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3337
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3338
|
+
} else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
|
|
3353
3339
|
var a = this.parseTag(t, r);
|
|
3354
3340
|
if (a.err)
|
|
3355
3341
|
return a;
|
|
@@ -3372,7 +3358,7 @@ var yi = (
|
|
|
3372
3358
|
val: {
|
|
3373
3359
|
type: S.literal,
|
|
3374
3360
|
value: "<".concat(i, "/>"),
|
|
3375
|
-
location:
|
|
3361
|
+
location: v(n, this.clonePosition())
|
|
3376
3362
|
},
|
|
3377
3363
|
err: null
|
|
3378
3364
|
};
|
|
@@ -3382,25 +3368,25 @@ var yi = (
|
|
|
3382
3368
|
return o;
|
|
3383
3369
|
var a = o.val, s = this.clonePosition();
|
|
3384
3370
|
if (this.bumpIf("</")) {
|
|
3385
|
-
if (this.isEOF() || !
|
|
3386
|
-
return this.error(y.INVALID_TAG,
|
|
3371
|
+
if (this.isEOF() || !Je(this.char()))
|
|
3372
|
+
return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
|
|
3387
3373
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3388
|
-
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG,
|
|
3374
|
+
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3389
3375
|
val: {
|
|
3390
3376
|
type: S.tag,
|
|
3391
3377
|
value: i,
|
|
3392
3378
|
children: a,
|
|
3393
|
-
location:
|
|
3379
|
+
location: v(n, this.clonePosition())
|
|
3394
3380
|
},
|
|
3395
3381
|
err: null
|
|
3396
|
-
} : this.error(y.INVALID_TAG,
|
|
3382
|
+
} : this.error(y.INVALID_TAG, v(s, this.clonePosition())));
|
|
3397
3383
|
} else
|
|
3398
|
-
return this.error(y.UNCLOSED_TAG,
|
|
3384
|
+
return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
|
|
3399
3385
|
} else
|
|
3400
|
-
return this.error(y.INVALID_TAG,
|
|
3386
|
+
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
|
3401
3387
|
}, e.prototype.parseTagName = function() {
|
|
3402
3388
|
var t = this.offset();
|
|
3403
|
-
for (this.bump(); !this.isEOF() &&
|
|
3389
|
+
for (this.bump(); !this.isEOF() && yi(this.char()); )
|
|
3404
3390
|
this.bump();
|
|
3405
3391
|
return this.message.slice(t, this.offset());
|
|
3406
3392
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3422,14 +3408,14 @@ var yi = (
|
|
|
3422
3408
|
}
|
|
3423
3409
|
break;
|
|
3424
3410
|
}
|
|
3425
|
-
var l =
|
|
3411
|
+
var l = v(n, this.clonePosition());
|
|
3426
3412
|
return {
|
|
3427
3413
|
val: { type: S.literal, value: i, location: l },
|
|
3428
3414
|
err: null
|
|
3429
3415
|
};
|
|
3430
3416
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3431
3417
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3432
|
-
!
|
|
3418
|
+
!gi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3433
3419
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3434
3420
|
if (this.isEOF() || this.char() !== 39)
|
|
3435
3421
|
return null;
|
|
@@ -3463,23 +3449,23 @@ var yi = (
|
|
|
3463
3449
|
r.push(n);
|
|
3464
3450
|
this.bump();
|
|
3465
3451
|
}
|
|
3466
|
-
return
|
|
3452
|
+
return Ze.apply(void 0, r);
|
|
3467
3453
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3468
3454
|
if (this.isEOF())
|
|
3469
3455
|
return null;
|
|
3470
3456
|
var n = this.char();
|
|
3471
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3457
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
|
|
3472
3458
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3473
3459
|
var n = this.clonePosition();
|
|
3474
3460
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3475
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3461
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
3476
3462
|
if (this.char() === 125)
|
|
3477
|
-
return this.bump(), this.error(y.EMPTY_ARGUMENT,
|
|
3463
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
|
|
3478
3464
|
var i = this.parseIdentifierIfPossible().value;
|
|
3479
3465
|
if (!i)
|
|
3480
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
3466
|
+
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3481
3467
|
if (this.bumpSpace(), this.isEOF())
|
|
3482
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3468
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
3483
3469
|
switch (this.char()) {
|
|
3484
3470
|
case 125:
|
|
3485
3471
|
return this.bump(), {
|
|
@@ -3487,25 +3473,25 @@ var yi = (
|
|
|
3487
3473
|
type: S.argument,
|
|
3488
3474
|
// value does not include the opening and closing braces.
|
|
3489
3475
|
value: i,
|
|
3490
|
-
location:
|
|
3476
|
+
location: v(n, this.clonePosition())
|
|
3491
3477
|
},
|
|
3492
3478
|
err: null
|
|
3493
3479
|
};
|
|
3494
3480
|
case 44:
|
|
3495
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3481
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3496
3482
|
default:
|
|
3497
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
3483
|
+
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3498
3484
|
}
|
|
3499
3485
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3500
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3486
|
+
var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
|
|
3501
3487
|
this.bumpTo(i);
|
|
3502
|
-
var o = this.clonePosition(), a =
|
|
3488
|
+
var o = this.clonePosition(), a = v(t, o);
|
|
3503
3489
|
return { value: n, location: a };
|
|
3504
3490
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3505
3491
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3506
3492
|
switch (s) {
|
|
3507
3493
|
case "":
|
|
3508
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE,
|
|
3494
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, l));
|
|
3509
3495
|
case "number":
|
|
3510
3496
|
case "date":
|
|
3511
3497
|
case "time": {
|
|
@@ -3513,40 +3499,40 @@ var yi = (
|
|
|
3513
3499
|
var u = null;
|
|
3514
3500
|
if (this.bumpIf(",")) {
|
|
3515
3501
|
this.bumpSpace();
|
|
3516
|
-
var h = this.clonePosition(),
|
|
3517
|
-
if (
|
|
3518
|
-
return
|
|
3519
|
-
var
|
|
3520
|
-
if (
|
|
3521
|
-
return this.error(y.EXPECT_ARGUMENT_STYLE,
|
|
3522
|
-
var
|
|
3523
|
-
u = { style:
|
|
3502
|
+
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3503
|
+
if (f.err)
|
|
3504
|
+
return f;
|
|
3505
|
+
var c = pi(f.val);
|
|
3506
|
+
if (c.length === 0)
|
|
3507
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3508
|
+
var m = v(h, this.clonePosition());
|
|
3509
|
+
u = { style: c, styleLocation: m };
|
|
3524
3510
|
}
|
|
3525
|
-
var
|
|
3526
|
-
if (
|
|
3527
|
-
return
|
|
3528
|
-
var p =
|
|
3529
|
-
if (u &&
|
|
3530
|
-
var g =
|
|
3511
|
+
var d = this.tryParseArgumentClose(i);
|
|
3512
|
+
if (d.err)
|
|
3513
|
+
return d;
|
|
3514
|
+
var p = v(i, this.clonePosition());
|
|
3515
|
+
if (u && wt(u?.style, "::", 0)) {
|
|
3516
|
+
var g = mi(u.style.slice(2));
|
|
3531
3517
|
if (s === "number") {
|
|
3532
|
-
var
|
|
3533
|
-
return
|
|
3534
|
-
val: { type: S.number, value: n, location: p, style:
|
|
3518
|
+
var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
|
3519
|
+
return f.err ? f : {
|
|
3520
|
+
val: { type: S.number, value: n, location: p, style: f.val },
|
|
3535
3521
|
err: null
|
|
3536
3522
|
};
|
|
3537
3523
|
} else {
|
|
3538
3524
|
if (g.length === 0)
|
|
3539
3525
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
|
|
3540
|
-
var
|
|
3541
|
-
this.locale && (
|
|
3542
|
-
var
|
|
3526
|
+
var H = g;
|
|
3527
|
+
this.locale && (H = ti(g, this.locale));
|
|
3528
|
+
var c = {
|
|
3543
3529
|
type: Q.dateTime,
|
|
3544
|
-
pattern:
|
|
3530
|
+
pattern: H,
|
|
3545
3531
|
location: u.styleLocation,
|
|
3546
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3547
|
-
},
|
|
3532
|
+
parsedOptions: this.shouldParseSkeletons ? Zn(H) : {}
|
|
3533
|
+
}, A = s === "date" ? S.date : S.time;
|
|
3548
3534
|
return {
|
|
3549
|
-
val: { type:
|
|
3535
|
+
val: { type: A, value: n, location: p, style: c },
|
|
3550
3536
|
err: null
|
|
3551
3537
|
};
|
|
3552
3538
|
}
|
|
@@ -3566,30 +3552,30 @@ var yi = (
|
|
|
3566
3552
|
case "select": {
|
|
3567
3553
|
var x = this.clonePosition();
|
|
3568
3554
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3569
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3555
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(x, E({}, x)));
|
|
3570
3556
|
this.bumpSpace();
|
|
3571
3557
|
var w = this.parseIdentifierIfPossible(), b = 0;
|
|
3572
3558
|
if (s !== "select" && w.value === "offset") {
|
|
3573
3559
|
if (!this.bumpIf(":"))
|
|
3574
|
-
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3560
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3575
3561
|
this.bumpSpace();
|
|
3576
|
-
var
|
|
3577
|
-
if (
|
|
3578
|
-
return
|
|
3579
|
-
this.bumpSpace(), w = this.parseIdentifierIfPossible(), b =
|
|
3562
|
+
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3563
|
+
if (f.err)
|
|
3564
|
+
return f;
|
|
3565
|
+
this.bumpSpace(), w = this.parseIdentifierIfPossible(), b = f.val;
|
|
3580
3566
|
}
|
|
3581
3567
|
var B = this.tryParsePluralOrSelectOptions(t, s, r, w);
|
|
3582
3568
|
if (B.err)
|
|
3583
3569
|
return B;
|
|
3584
|
-
var
|
|
3585
|
-
if (
|
|
3586
|
-
return
|
|
3587
|
-
var he =
|
|
3570
|
+
var d = this.tryParseArgumentClose(i);
|
|
3571
|
+
if (d.err)
|
|
3572
|
+
return d;
|
|
3573
|
+
var he = v(i, this.clonePosition());
|
|
3588
3574
|
return s === "select" ? {
|
|
3589
3575
|
val: {
|
|
3590
3576
|
type: S.select,
|
|
3591
3577
|
value: n,
|
|
3592
|
-
options:
|
|
3578
|
+
options: St(B.val),
|
|
3593
3579
|
location: he
|
|
3594
3580
|
},
|
|
3595
3581
|
err: null
|
|
@@ -3597,7 +3583,7 @@ var yi = (
|
|
|
3597
3583
|
val: {
|
|
3598
3584
|
type: S.plural,
|
|
3599
3585
|
value: n,
|
|
3600
|
-
options:
|
|
3586
|
+
options: St(B.val),
|
|
3601
3587
|
offset: b,
|
|
3602
3588
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3603
3589
|
location: he
|
|
@@ -3606,10 +3592,10 @@ var yi = (
|
|
|
3606
3592
|
};
|
|
3607
3593
|
}
|
|
3608
3594
|
default:
|
|
3609
|
-
return this.error(y.INVALID_ARGUMENT_TYPE,
|
|
3595
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, v(a, l));
|
|
3610
3596
|
}
|
|
3611
3597
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3612
|
-
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3598
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3613
3599
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3614
3600
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3615
3601
|
var n = this.char();
|
|
@@ -3618,7 +3604,7 @@ var yi = (
|
|
|
3618
3604
|
this.bump();
|
|
3619
3605
|
var i = this.clonePosition();
|
|
3620
3606
|
if (!this.bumpUntil("'"))
|
|
3621
|
-
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3607
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
|
|
3622
3608
|
this.bump();
|
|
3623
3609
|
break;
|
|
3624
3610
|
}
|
|
@@ -3648,7 +3634,7 @@ var yi = (
|
|
|
3648
3634
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3649
3635
|
var n = [];
|
|
3650
3636
|
try {
|
|
3651
|
-
n =
|
|
3637
|
+
n = Jn(t);
|
|
3652
3638
|
} catch {
|
|
3653
3639
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3654
3640
|
}
|
|
@@ -3657,43 +3643,43 @@ var yi = (
|
|
|
3657
3643
|
type: Q.number,
|
|
3658
3644
|
tokens: n,
|
|
3659
3645
|
location: r,
|
|
3660
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3646
|
+
parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
|
|
3661
3647
|
},
|
|
3662
3648
|
err: null
|
|
3663
3649
|
};
|
|
3664
3650
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3665
3651
|
for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3666
3652
|
if (u.length === 0) {
|
|
3667
|
-
var
|
|
3653
|
+
var f = this.clonePosition();
|
|
3668
3654
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3669
|
-
var
|
|
3670
|
-
if (
|
|
3671
|
-
return
|
|
3672
|
-
h =
|
|
3655
|
+
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3656
|
+
if (c.err)
|
|
3657
|
+
return c;
|
|
3658
|
+
h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3673
3659
|
} else
|
|
3674
3660
|
break;
|
|
3675
3661
|
}
|
|
3676
3662
|
if (l.has(u))
|
|
3677
3663
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3678
3664
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3679
|
-
var
|
|
3665
|
+
var m = this.clonePosition();
|
|
3680
3666
|
if (!this.bumpIf("{"))
|
|
3681
|
-
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3682
|
-
var
|
|
3683
|
-
if (
|
|
3684
|
-
return
|
|
3685
|
-
var p = this.tryParseArgumentClose(
|
|
3667
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
3668
|
+
var d = this.parseMessage(t + 1, r, n);
|
|
3669
|
+
if (d.err)
|
|
3670
|
+
return d;
|
|
3671
|
+
var p = this.tryParseArgumentClose(m);
|
|
3686
3672
|
if (p.err)
|
|
3687
3673
|
return p;
|
|
3688
3674
|
s.push([
|
|
3689
3675
|
u,
|
|
3690
3676
|
{
|
|
3691
|
-
value:
|
|
3692
|
-
location:
|
|
3677
|
+
value: d.val,
|
|
3678
|
+
location: v(m, this.clonePosition())
|
|
3693
3679
|
}
|
|
3694
3680
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3695
3681
|
}
|
|
3696
|
-
return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3682
|
+
return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3697
3683
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3698
3684
|
var n = 1, i = this.clonePosition();
|
|
3699
3685
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3704,8 +3690,8 @@ var yi = (
|
|
|
3704
3690
|
else
|
|
3705
3691
|
break;
|
|
3706
3692
|
}
|
|
3707
|
-
var l =
|
|
3708
|
-
return o ? (a *= n,
|
|
3693
|
+
var l = v(i, this.clonePosition());
|
|
3694
|
+
return o ? (a *= n, ci(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3709
3695
|
}, e.prototype.offset = function() {
|
|
3710
3696
|
return this.position.offset;
|
|
3711
3697
|
}, e.prototype.isEOF = function() {
|
|
@@ -3720,7 +3706,7 @@ var yi = (
|
|
|
3720
3706
|
var t = this.position.offset;
|
|
3721
3707
|
if (t >= this.message.length)
|
|
3722
3708
|
throw Error("out of bound");
|
|
3723
|
-
var r =
|
|
3709
|
+
var r = fr(this.message, t);
|
|
3724
3710
|
if (r === void 0)
|
|
3725
3711
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3726
3712
|
return r;
|
|
@@ -3739,7 +3725,7 @@ var yi = (
|
|
|
3739
3725
|
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);
|
|
3740
3726
|
}
|
|
3741
3727
|
}, e.prototype.bumpIf = function(t) {
|
|
3742
|
-
if (
|
|
3728
|
+
if (wt(this.message, t, this.offset())) {
|
|
3743
3729
|
for (var r = 0; r < t.length; r++)
|
|
3744
3730
|
this.bump();
|
|
3745
3731
|
return !0;
|
|
@@ -3761,7 +3747,7 @@ var yi = (
|
|
|
3761
3747
|
break;
|
|
3762
3748
|
}
|
|
3763
3749
|
}, e.prototype.bumpSpace = function() {
|
|
3764
|
-
for (; !this.isEOF() &&
|
|
3750
|
+
for (; !this.isEOF() && dr(this.char()); )
|
|
3765
3751
|
this.bump();
|
|
3766
3752
|
}, e.prototype.peek = function() {
|
|
3767
3753
|
if (this.isEOF())
|
|
@@ -3771,38 +3757,38 @@ var yi = (
|
|
|
3771
3757
|
}, e;
|
|
3772
3758
|
}()
|
|
3773
3759
|
);
|
|
3774
|
-
function
|
|
3760
|
+
function Je(e) {
|
|
3775
3761
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3776
3762
|
}
|
|
3777
|
-
function
|
|
3778
|
-
return
|
|
3763
|
+
function gi(e) {
|
|
3764
|
+
return Je(e) || e === 47;
|
|
3779
3765
|
}
|
|
3780
|
-
function
|
|
3766
|
+
function yi(e) {
|
|
3781
3767
|
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;
|
|
3782
3768
|
}
|
|
3783
|
-
function
|
|
3769
|
+
function dr(e) {
|
|
3784
3770
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3785
3771
|
}
|
|
3786
|
-
function
|
|
3772
|
+
function _i(e) {
|
|
3787
3773
|
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;
|
|
3788
3774
|
}
|
|
3789
|
-
function
|
|
3775
|
+
function qe(e) {
|
|
3790
3776
|
e.forEach(function(t) {
|
|
3791
|
-
if (delete t.location,
|
|
3777
|
+
if (delete t.location, nr(t) || ir(t))
|
|
3792
3778
|
for (var r in t.options)
|
|
3793
|
-
delete t.options[r].location,
|
|
3779
|
+
delete t.options[r].location, qe(t.options[r].value);
|
|
3794
3780
|
else
|
|
3795
|
-
|
|
3781
|
+
er(t) && sr(t.style) || (tr(t) || rr(t)) && ze(t.style) ? delete t.style.location : or(t) && qe(t.children);
|
|
3796
3782
|
});
|
|
3797
3783
|
}
|
|
3798
|
-
function
|
|
3784
|
+
function vi(e, t) {
|
|
3799
3785
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3800
|
-
var r = new
|
|
3786
|
+
var r = new bi(e, t).parse();
|
|
3801
3787
|
if (r.err) {
|
|
3802
3788
|
var n = SyntaxError(y[r.err.kind]);
|
|
3803
3789
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3804
3790
|
}
|
|
3805
|
-
return t?.captureLocation ||
|
|
3791
|
+
return t?.captureLocation || qe(r.val), r.val;
|
|
3806
3792
|
}
|
|
3807
3793
|
var J;
|
|
3808
3794
|
(function(e) {
|
|
@@ -3820,7 +3806,7 @@ var Ae = (
|
|
|
3820
3806
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3821
3807
|
}, t;
|
|
3822
3808
|
}(Error)
|
|
3823
|
-
),
|
|
3809
|
+
), Ht = (
|
|
3824
3810
|
/** @class */
|
|
3825
3811
|
function(e) {
|
|
3826
3812
|
R(t, e);
|
|
@@ -3829,7 +3815,7 @@ var Ae = (
|
|
|
3829
3815
|
}
|
|
3830
3816
|
return t;
|
|
3831
3817
|
}(Ae)
|
|
3832
|
-
),
|
|
3818
|
+
), xi = (
|
|
3833
3819
|
/** @class */
|
|
3834
3820
|
function(e) {
|
|
3835
3821
|
R(t, e);
|
|
@@ -3838,7 +3824,7 @@ var Ae = (
|
|
|
3838
3824
|
}
|
|
3839
3825
|
return t;
|
|
3840
3826
|
}(Ae)
|
|
3841
|
-
),
|
|
3827
|
+
), Ei = (
|
|
3842
3828
|
/** @class */
|
|
3843
3829
|
function(e) {
|
|
3844
3830
|
R(t, e);
|
|
@@ -3851,17 +3837,17 @@ var Ae = (
|
|
|
3851
3837
|
(function(e) {
|
|
3852
3838
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3853
3839
|
})(P || (P = {}));
|
|
3854
|
-
function
|
|
3840
|
+
function wi(e) {
|
|
3855
3841
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3856
3842
|
var n = t[t.length - 1];
|
|
3857
3843
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3858
3844
|
}, []);
|
|
3859
3845
|
}
|
|
3860
|
-
function
|
|
3846
|
+
function Si(e) {
|
|
3861
3847
|
return typeof e == "function";
|
|
3862
3848
|
}
|
|
3863
3849
|
function ge(e, t, r, n, i, o, a) {
|
|
3864
|
-
if (e.length === 1 &&
|
|
3850
|
+
if (e.length === 1 && _t(e[0]))
|
|
3865
3851
|
return [
|
|
3866
3852
|
{
|
|
3867
3853
|
type: P.literal,
|
|
@@ -3870,105 +3856,105 @@ function ge(e, t, r, n, i, o, a) {
|
|
|
3870
3856
|
];
|
|
3871
3857
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3872
3858
|
var h = u[l];
|
|
3873
|
-
if (
|
|
3859
|
+
if (_t(h)) {
|
|
3874
3860
|
s.push({
|
|
3875
3861
|
type: P.literal,
|
|
3876
3862
|
value: h.value
|
|
3877
3863
|
});
|
|
3878
3864
|
continue;
|
|
3879
3865
|
}
|
|
3880
|
-
if (
|
|
3866
|
+
if (zn(h)) {
|
|
3881
3867
|
typeof o == "number" && s.push({
|
|
3882
3868
|
type: P.literal,
|
|
3883
3869
|
value: r.getNumberFormat(t).format(o)
|
|
3884
3870
|
});
|
|
3885
3871
|
continue;
|
|
3886
3872
|
}
|
|
3887
|
-
var
|
|
3888
|
-
if (!(i &&
|
|
3889
|
-
throw new
|
|
3890
|
-
var
|
|
3891
|
-
if (
|
|
3892
|
-
(!
|
|
3893
|
-
type: typeof
|
|
3894
|
-
value:
|
|
3873
|
+
var f = h.value;
|
|
3874
|
+
if (!(i && f in i))
|
|
3875
|
+
throw new Ei(f, a);
|
|
3876
|
+
var c = i[f];
|
|
3877
|
+
if (Xn(h)) {
|
|
3878
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3879
|
+
type: typeof c == "string" ? P.literal : P.object,
|
|
3880
|
+
value: c
|
|
3895
3881
|
});
|
|
3896
3882
|
continue;
|
|
3897
3883
|
}
|
|
3898
|
-
if (
|
|
3899
|
-
var
|
|
3884
|
+
if (tr(h)) {
|
|
3885
|
+
var m = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
|
|
3900
3886
|
s.push({
|
|
3901
3887
|
type: P.literal,
|
|
3902
|
-
value: r.getDateTimeFormat(t,
|
|
3888
|
+
value: r.getDateTimeFormat(t, m).format(c)
|
|
3903
3889
|
});
|
|
3904
3890
|
continue;
|
|
3905
3891
|
}
|
|
3906
|
-
if (
|
|
3907
|
-
var
|
|
3892
|
+
if (rr(h)) {
|
|
3893
|
+
var m = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3908
3894
|
s.push({
|
|
3909
3895
|
type: P.literal,
|
|
3910
|
-
value: r.getDateTimeFormat(t,
|
|
3896
|
+
value: r.getDateTimeFormat(t, m).format(c)
|
|
3911
3897
|
});
|
|
3912
3898
|
continue;
|
|
3913
3899
|
}
|
|
3914
|
-
if (
|
|
3915
|
-
var
|
|
3916
|
-
|
|
3900
|
+
if (er(h)) {
|
|
3901
|
+
var m = typeof h.style == "string" ? n.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
|
|
3902
|
+
m && m.scale && (c = c * (m.scale || 1)), s.push({
|
|
3917
3903
|
type: P.literal,
|
|
3918
|
-
value: r.getNumberFormat(t,
|
|
3904
|
+
value: r.getNumberFormat(t, m).format(c)
|
|
3919
3905
|
});
|
|
3920
3906
|
continue;
|
|
3921
3907
|
}
|
|
3922
|
-
if (
|
|
3923
|
-
var
|
|
3924
|
-
if (!
|
|
3925
|
-
throw new
|
|
3926
|
-
var
|
|
3908
|
+
if (or(h)) {
|
|
3909
|
+
var d = h.children, p = h.value, g = i[p];
|
|
3910
|
+
if (!Si(g))
|
|
3911
|
+
throw new xi(p, "function", a);
|
|
3912
|
+
var H = ge(d, t, r, n, i, o), A = g(H.map(function(b) {
|
|
3927
3913
|
return b.value;
|
|
3928
3914
|
}));
|
|
3929
|
-
Array.isArray(
|
|
3915
|
+
Array.isArray(A) || (A = [A]), s.push.apply(s, A.map(function(b) {
|
|
3930
3916
|
return {
|
|
3931
3917
|
type: typeof b == "string" ? P.literal : P.object,
|
|
3932
3918
|
value: b
|
|
3933
3919
|
};
|
|
3934
3920
|
}));
|
|
3935
3921
|
}
|
|
3936
|
-
if (
|
|
3937
|
-
var x = h.options[
|
|
3922
|
+
if (nr(h)) {
|
|
3923
|
+
var x = h.options[c] || h.options.other;
|
|
3938
3924
|
if (!x)
|
|
3939
|
-
throw new
|
|
3925
|
+
throw new Ht(h.value, c, Object.keys(h.options), a);
|
|
3940
3926
|
s.push.apply(s, ge(x.value, t, r, n, i));
|
|
3941
3927
|
continue;
|
|
3942
3928
|
}
|
|
3943
|
-
if (
|
|
3944
|
-
var x = h.options["=".concat(
|
|
3929
|
+
if (ir(h)) {
|
|
3930
|
+
var x = h.options["=".concat(c)];
|
|
3945
3931
|
if (!x) {
|
|
3946
3932
|
if (!Intl.PluralRules)
|
|
3947
3933
|
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
3948
3934
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3949
3935
|
`, J.MISSING_INTL_API, a);
|
|
3950
|
-
var w = r.getPluralRules(t, { type: h.pluralType }).select(
|
|
3936
|
+
var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3951
3937
|
x = h.options[w] || h.options.other;
|
|
3952
3938
|
}
|
|
3953
3939
|
if (!x)
|
|
3954
|
-
throw new
|
|
3955
|
-
s.push.apply(s, ge(x.value, t, r, n, i,
|
|
3940
|
+
throw new Ht(h.value, c, Object.keys(h.options), a);
|
|
3941
|
+
s.push.apply(s, ge(x.value, t, r, n, i, c - (h.offset || 0)));
|
|
3956
3942
|
continue;
|
|
3957
3943
|
}
|
|
3958
3944
|
}
|
|
3959
|
-
return
|
|
3945
|
+
return wi(s);
|
|
3960
3946
|
}
|
|
3961
|
-
function
|
|
3947
|
+
function Ti(e, t) {
|
|
3962
3948
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3963
3949
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3964
3950
|
}, {})) : e;
|
|
3965
3951
|
}
|
|
3966
|
-
function
|
|
3952
|
+
function Hi(e, t) {
|
|
3967
3953
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3968
|
-
return r[n] =
|
|
3954
|
+
return r[n] = Ti(e[n], t[n]), r;
|
|
3969
3955
|
}, E({}, e)) : e;
|
|
3970
3956
|
}
|
|
3971
|
-
function
|
|
3957
|
+
function Re(e) {
|
|
3972
3958
|
return {
|
|
3973
3959
|
create: function() {
|
|
3974
3960
|
return {
|
|
@@ -3982,39 +3968,39 @@ function $e(e) {
|
|
|
3982
3968
|
}
|
|
3983
3969
|
};
|
|
3984
3970
|
}
|
|
3985
|
-
function
|
|
3971
|
+
function Ai(e) {
|
|
3986
3972
|
return e === void 0 && (e = {
|
|
3987
3973
|
number: {},
|
|
3988
3974
|
dateTime: {},
|
|
3989
3975
|
pluralRules: {}
|
|
3990
3976
|
}), {
|
|
3991
|
-
getNumberFormat:
|
|
3977
|
+
getNumberFormat: Me(function() {
|
|
3992
3978
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3993
3979
|
r[n] = arguments[n];
|
|
3994
3980
|
return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
3995
3981
|
}, {
|
|
3996
|
-
cache:
|
|
3997
|
-
strategy:
|
|
3982
|
+
cache: Re(e.number),
|
|
3983
|
+
strategy: Ne.variadic
|
|
3998
3984
|
}),
|
|
3999
|
-
getDateTimeFormat:
|
|
3985
|
+
getDateTimeFormat: Me(function() {
|
|
4000
3986
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4001
3987
|
r[n] = arguments[n];
|
|
4002
3988
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
4003
3989
|
}, {
|
|
4004
|
-
cache:
|
|
4005
|
-
strategy:
|
|
3990
|
+
cache: Re(e.dateTime),
|
|
3991
|
+
strategy: Ne.variadic
|
|
4006
3992
|
}),
|
|
4007
|
-
getPluralRules:
|
|
3993
|
+
getPluralRules: Me(function() {
|
|
4008
3994
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4009
3995
|
r[n] = arguments[n];
|
|
4010
3996
|
return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
|
|
4011
3997
|
}, {
|
|
4012
|
-
cache:
|
|
4013
|
-
strategy:
|
|
3998
|
+
cache: Re(e.pluralRules),
|
|
3999
|
+
strategy: Ne.variadic
|
|
4014
4000
|
})
|
|
4015
4001
|
};
|
|
4016
4002
|
}
|
|
4017
|
-
var
|
|
4003
|
+
var Bi = (
|
|
4018
4004
|
/** @class */
|
|
4019
4005
|
function() {
|
|
4020
4006
|
function e(t, r, n, i) {
|
|
@@ -4028,8 +4014,8 @@ var Pi = (
|
|
|
4028
4014
|
var u = o.formatToParts(l);
|
|
4029
4015
|
if (u.length === 1)
|
|
4030
4016
|
return u[0].value;
|
|
4031
|
-
var h = u.reduce(function(
|
|
4032
|
-
return !
|
|
4017
|
+
var h = u.reduce(function(f, c) {
|
|
4018
|
+
return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
4033
4019
|
}, []);
|
|
4034
4020
|
return h.length <= 1 ? h[0] || "" : h;
|
|
4035
4021
|
}, this.formatToParts = function(l) {
|
|
@@ -4046,13 +4032,13 @@ var Pi = (
|
|
|
4046
4032
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4047
4033
|
var a = i || {};
|
|
4048
4034
|
a.formatters;
|
|
4049
|
-
var s =
|
|
4035
|
+
var s = sn(a, ["formatters"]);
|
|
4050
4036
|
this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
|
|
4051
4037
|
} else
|
|
4052
4038
|
this.ast = t;
|
|
4053
4039
|
if (!Array.isArray(this.ast))
|
|
4054
4040
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4055
|
-
this.formats =
|
|
4041
|
+
this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Ai(this.formatterCache);
|
|
4056
4042
|
}
|
|
4057
4043
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4058
4044
|
get: function() {
|
|
@@ -4065,7 +4051,7 @@ var Pi = (
|
|
|
4065
4051
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4066
4052
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4067
4053
|
}
|
|
4068
|
-
}, e.__parse =
|
|
4054
|
+
}, e.__parse = vi, e.formats = {
|
|
4069
4055
|
number: {
|
|
4070
4056
|
integer: {
|
|
4071
4057
|
maximumFractionDigits: 0
|
|
@@ -4126,7 +4112,7 @@ var Pi = (
|
|
|
4126
4112
|
}, e;
|
|
4127
4113
|
}()
|
|
4128
4114
|
);
|
|
4129
|
-
function
|
|
4115
|
+
function Ci(e, t) {
|
|
4130
4116
|
if (t == null)
|
|
4131
4117
|
return;
|
|
4132
4118
|
if (t in e)
|
|
@@ -4147,92 +4133,92 @@ function Oi(e, t) {
|
|
|
4147
4133
|
n = void 0;
|
|
4148
4134
|
return n;
|
|
4149
4135
|
}
|
|
4150
|
-
const $ = {},
|
|
4136
|
+
const $ = {}, Pi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), mr = (e, t) => {
|
|
4151
4137
|
if (t == null)
|
|
4152
4138
|
return;
|
|
4153
4139
|
if (t in $ && e in $[t])
|
|
4154
4140
|
return $[t][e];
|
|
4155
4141
|
const r = Be(t);
|
|
4156
4142
|
for (let n = 0; n < r.length; n++) {
|
|
4157
|
-
const i = r[n], o =
|
|
4143
|
+
const i = r[n], o = Ii(i, e);
|
|
4158
4144
|
if (o)
|
|
4159
|
-
return
|
|
4145
|
+
return Pi(e, t, o);
|
|
4160
4146
|
}
|
|
4161
4147
|
};
|
|
4162
|
-
let
|
|
4148
|
+
let it;
|
|
4163
4149
|
const le = He({});
|
|
4164
|
-
function
|
|
4165
|
-
return
|
|
4150
|
+
function Oi(e) {
|
|
4151
|
+
return it[e] || null;
|
|
4166
4152
|
}
|
|
4167
|
-
function
|
|
4168
|
-
return e in
|
|
4153
|
+
function pr(e) {
|
|
4154
|
+
return e in it;
|
|
4169
4155
|
}
|
|
4170
|
-
function
|
|
4171
|
-
if (!
|
|
4156
|
+
function Ii(e, t) {
|
|
4157
|
+
if (!pr(e))
|
|
4172
4158
|
return null;
|
|
4173
|
-
const r =
|
|
4174
|
-
return
|
|
4159
|
+
const r = Oi(e);
|
|
4160
|
+
return Ci(r, t);
|
|
4175
4161
|
}
|
|
4176
|
-
function
|
|
4162
|
+
function Mi(e) {
|
|
4177
4163
|
if (e == null)
|
|
4178
4164
|
return;
|
|
4179
4165
|
const t = Be(e);
|
|
4180
4166
|
for (let r = 0; r < t.length; r++) {
|
|
4181
4167
|
const n = t[r];
|
|
4182
|
-
if (
|
|
4168
|
+
if (pr(n))
|
|
4183
4169
|
return n;
|
|
4184
4170
|
}
|
|
4185
4171
|
}
|
|
4186
|
-
function
|
|
4187
|
-
delete $[e], le.update((r) => (r[e] =
|
|
4172
|
+
function br(e, ...t) {
|
|
4173
|
+
delete $[e], le.update((r) => (r[e] = $n.all([r[e] || {}, ...t]), r));
|
|
4188
4174
|
}
|
|
4189
4175
|
Y(
|
|
4190
4176
|
[le],
|
|
4191
4177
|
([e]) => Object.keys(e)
|
|
4192
4178
|
);
|
|
4193
|
-
le.subscribe((e) =>
|
|
4179
|
+
le.subscribe((e) => it = e);
|
|
4194
4180
|
const ye = {};
|
|
4195
|
-
function
|
|
4181
|
+
function Ni(e, t) {
|
|
4196
4182
|
ye[e].delete(t), ye[e].size === 0 && delete ye[e];
|
|
4197
4183
|
}
|
|
4198
|
-
function
|
|
4184
|
+
function gr(e) {
|
|
4199
4185
|
return ye[e];
|
|
4200
4186
|
}
|
|
4201
|
-
function
|
|
4187
|
+
function Li(e) {
|
|
4202
4188
|
return Be(e).map((t) => {
|
|
4203
|
-
const r =
|
|
4189
|
+
const r = gr(t);
|
|
4204
4190
|
return [t, r ? [...r] : []];
|
|
4205
4191
|
}).filter(([, t]) => t.length > 0);
|
|
4206
4192
|
}
|
|
4207
|
-
function
|
|
4193
|
+
function Ye(e) {
|
|
4208
4194
|
return e == null ? !1 : Be(e).some(
|
|
4209
4195
|
(t) => {
|
|
4210
4196
|
var r;
|
|
4211
|
-
return (r =
|
|
4197
|
+
return (r = gr(t)) == null ? void 0 : r.size;
|
|
4212
4198
|
}
|
|
4213
4199
|
);
|
|
4214
4200
|
}
|
|
4215
|
-
function
|
|
4201
|
+
function Ri(e, t) {
|
|
4216
4202
|
return Promise.all(
|
|
4217
|
-
t.map((n) => (
|
|
4218
|
-
).then((n) =>
|
|
4203
|
+
t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
|
|
4204
|
+
).then((n) => br(e, ...n));
|
|
4219
4205
|
}
|
|
4220
4206
|
const re = {};
|
|
4221
|
-
function
|
|
4222
|
-
if (!
|
|
4207
|
+
function yr(e) {
|
|
4208
|
+
if (!Ye(e))
|
|
4223
4209
|
return e in re ? re[e] : Promise.resolve();
|
|
4224
|
-
const t =
|
|
4210
|
+
const t = Li(e);
|
|
4225
4211
|
return re[e] = Promise.all(
|
|
4226
4212
|
t.map(
|
|
4227
|
-
([r, n]) =>
|
|
4213
|
+
([r, n]) => Ri(r, n)
|
|
4228
4214
|
)
|
|
4229
4215
|
).then(() => {
|
|
4230
|
-
if (
|
|
4231
|
-
return
|
|
4216
|
+
if (Ye(e))
|
|
4217
|
+
return yr(e);
|
|
4232
4218
|
delete re[e];
|
|
4233
4219
|
}), re[e];
|
|
4234
4220
|
}
|
|
4235
|
-
const
|
|
4221
|
+
const $i = {
|
|
4236
4222
|
number: {
|
|
4237
4223
|
scientific: { notation: "scientific" },
|
|
4238
4224
|
engineering: { notation: "engineering" },
|
|
@@ -4261,57 +4247,57 @@ const Ui = {
|
|
|
4261
4247
|
timeZoneName: "short"
|
|
4262
4248
|
}
|
|
4263
4249
|
}
|
|
4264
|
-
},
|
|
4250
|
+
}, Gi = {
|
|
4265
4251
|
fallbackLocale: null,
|
|
4266
4252
|
loadingDelay: 200,
|
|
4267
|
-
formats:
|
|
4253
|
+
formats: $i,
|
|
4268
4254
|
warnOnMissingMessages: !0,
|
|
4269
4255
|
handleMissingMessage: void 0,
|
|
4270
4256
|
ignoreTag: !0
|
|
4271
|
-
},
|
|
4257
|
+
}, Ui = Gi;
|
|
4272
4258
|
function q() {
|
|
4273
|
-
return
|
|
4274
|
-
}
|
|
4275
|
-
const
|
|
4276
|
-
var
|
|
4277
|
-
for (var r in t
|
|
4278
|
-
|
|
4279
|
-
if (
|
|
4280
|
-
for (var r of
|
|
4281
|
-
|
|
4259
|
+
return Ui;
|
|
4260
|
+
}
|
|
4261
|
+
const $e = He(!1);
|
|
4262
|
+
var Di = Object.defineProperty, Fi = Object.defineProperties, ji = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Vi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
|
|
4263
|
+
for (var r in t)
|
|
4264
|
+
ki.call(t, r) && Bt(e, r, t[r]);
|
|
4265
|
+
if (At)
|
|
4266
|
+
for (var r of At(t))
|
|
4267
|
+
Vi.call(t, r) && Bt(e, r, t[r]);
|
|
4282
4268
|
return e;
|
|
4283
|
-
},
|
|
4284
|
-
let
|
|
4269
|
+
}, zi = (e, t) => Fi(e, ji(t));
|
|
4270
|
+
let Ke;
|
|
4285
4271
|
const Ee = He(null);
|
|
4286
|
-
function
|
|
4272
|
+
function Ct(e) {
|
|
4287
4273
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4288
4274
|
}
|
|
4289
4275
|
function Be(e, t = q().fallbackLocale) {
|
|
4290
|
-
const r =
|
|
4291
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4276
|
+
const r = Ct(e);
|
|
4277
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
|
|
4292
4278
|
}
|
|
4293
4279
|
function D() {
|
|
4294
|
-
return
|
|
4280
|
+
return Ke ?? void 0;
|
|
4295
4281
|
}
|
|
4296
4282
|
Ee.subscribe((e) => {
|
|
4297
|
-
|
|
4283
|
+
Ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4298
4284
|
});
|
|
4299
|
-
const
|
|
4300
|
-
if (e &&
|
|
4285
|
+
const Wi = (e) => {
|
|
4286
|
+
if (e && Mi(e) && Ye(e)) {
|
|
4301
4287
|
const { loadingDelay: t } = q();
|
|
4302
4288
|
let r;
|
|
4303
4289
|
return typeof window < "u" && D() != null && t ? r = window.setTimeout(
|
|
4304
|
-
() =>
|
|
4290
|
+
() => $e.set(!0),
|
|
4305
4291
|
t
|
|
4306
|
-
) :
|
|
4292
|
+
) : $e.set(!0), yr(e).then(() => {
|
|
4307
4293
|
Ee.set(e);
|
|
4308
4294
|
}).finally(() => {
|
|
4309
|
-
clearTimeout(r),
|
|
4295
|
+
clearTimeout(r), $e.set(!1);
|
|
4310
4296
|
});
|
|
4311
4297
|
}
|
|
4312
4298
|
return Ee.set(e);
|
|
4313
|
-
}, K =
|
|
4314
|
-
set:
|
|
4299
|
+
}, K = zi(Xi({}, Ee), {
|
|
4300
|
+
set: Wi
|
|
4315
4301
|
}), Ce = (e) => {
|
|
4316
4302
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4317
4303
|
return (n) => {
|
|
@@ -4319,20 +4305,20 @@ const Qi = (e) => {
|
|
|
4319
4305
|
return i in t ? t[i] : t[i] = e(n);
|
|
4320
4306
|
};
|
|
4321
4307
|
};
|
|
4322
|
-
var
|
|
4308
|
+
var Zi = Object.defineProperty, we = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
|
|
4323
4309
|
for (var r in t || (t = {}))
|
|
4324
|
-
|
|
4310
|
+
_r.call(t, r) && Pt(e, r, t[r]);
|
|
4325
4311
|
if (we)
|
|
4326
4312
|
for (var r of we(t))
|
|
4327
|
-
|
|
4313
|
+
vr.call(t, r) && Pt(e, r, t[r]);
|
|
4328
4314
|
return e;
|
|
4329
4315
|
}, ee = (e, t) => {
|
|
4330
4316
|
var r = {};
|
|
4331
4317
|
for (var n in e)
|
|
4332
|
-
|
|
4318
|
+
_r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4333
4319
|
if (e != null && we)
|
|
4334
4320
|
for (var n of we(e))
|
|
4335
|
-
t.indexOf(n) < 0 &&
|
|
4321
|
+
t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
|
|
4336
4322
|
return r;
|
|
4337
4323
|
};
|
|
4338
4324
|
const se = (e, t) => {
|
|
@@ -4340,21 +4326,21 @@ const se = (e, t) => {
|
|
|
4340
4326
|
if (e in r && t in r[e])
|
|
4341
4327
|
return r[e][t];
|
|
4342
4328
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4343
|
-
},
|
|
4329
|
+
}, Qi = Ce(
|
|
4344
4330
|
(e) => {
|
|
4345
4331
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4346
4332
|
if (r == null)
|
|
4347
4333
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4348
4334
|
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4349
4335
|
}
|
|
4350
|
-
),
|
|
4336
|
+
), Ji = Ce(
|
|
4351
4337
|
(e) => {
|
|
4352
4338
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4353
4339
|
if (r == null)
|
|
4354
4340
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4355
4341
|
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4356
4342
|
}
|
|
4357
|
-
),
|
|
4343
|
+
), qi = Ce(
|
|
4358
4344
|
(e) => {
|
|
4359
4345
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4360
4346
|
if (r == null)
|
|
@@ -4363,33 +4349,33 @@ const se = (e, t) => {
|
|
|
4363
4349
|
);
|
|
4364
4350
|
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4365
4351
|
}
|
|
4366
|
-
),
|
|
4352
|
+
), Yi = (e = {}) => {
|
|
4367
4353
|
var t = e, {
|
|
4368
4354
|
locale: r = D()
|
|
4369
4355
|
} = t, n = ee(t, [
|
|
4370
4356
|
"locale"
|
|
4371
4357
|
]);
|
|
4372
|
-
return
|
|
4373
|
-
},
|
|
4358
|
+
return Qi(ot({ locale: r }, n));
|
|
4359
|
+
}, Ki = (e = {}) => {
|
|
4374
4360
|
var t = e, {
|
|
4375
4361
|
locale: r = D()
|
|
4376
4362
|
} = t, n = ee(t, [
|
|
4377
4363
|
"locale"
|
|
4378
4364
|
]);
|
|
4379
|
-
return
|
|
4380
|
-
},
|
|
4365
|
+
return Ji(ot({ locale: r }, n));
|
|
4366
|
+
}, eo = (e = {}) => {
|
|
4381
4367
|
var t = e, {
|
|
4382
4368
|
locale: r = D()
|
|
4383
4369
|
} = t, n = ee(t, [
|
|
4384
4370
|
"locale"
|
|
4385
4371
|
]);
|
|
4386
|
-
return
|
|
4387
|
-
},
|
|
4372
|
+
return qi(ot({ locale: r }, n));
|
|
4373
|
+
}, to = Ce(
|
|
4388
4374
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4389
|
-
(e, t = D()) => new
|
|
4375
|
+
(e, t = D()) => new Bi(e, t, q().formats, {
|
|
4390
4376
|
ignoreTag: q().ignoreTag
|
|
4391
4377
|
})
|
|
4392
|
-
),
|
|
4378
|
+
), ro = (e, t = {}) => {
|
|
4393
4379
|
var r, n, i, o;
|
|
4394
4380
|
let a = t;
|
|
4395
4381
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4402,7 +4388,7 @@ const se = (e, t) => {
|
|
|
4402
4388
|
throw new Error(
|
|
4403
4389
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4404
4390
|
);
|
|
4405
|
-
let h =
|
|
4391
|
+
let h = mr(e, l);
|
|
4406
4392
|
if (!h)
|
|
4407
4393
|
h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4408
4394
|
else if (typeof h != "string")
|
|
@@ -4411,30 +4397,30 @@ const se = (e, t) => {
|
|
|
4411
4397
|
), h;
|
|
4412
4398
|
if (!s)
|
|
4413
4399
|
return h;
|
|
4414
|
-
let
|
|
4400
|
+
let f = h;
|
|
4415
4401
|
try {
|
|
4416
|
-
|
|
4417
|
-
} catch (
|
|
4418
|
-
|
|
4402
|
+
f = to(h, l).format(s);
|
|
4403
|
+
} catch (c) {
|
|
4404
|
+
c instanceof Error && console.warn(
|
|
4419
4405
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4420
|
-
|
|
4406
|
+
c.message
|
|
4421
4407
|
);
|
|
4422
4408
|
}
|
|
4423
|
-
return
|
|
4424
|
-
},
|
|
4409
|
+
return f;
|
|
4410
|
+
}, no = (e, t) => eo(t).format(e), io = (e, t) => Ki(t).format(e), oo = (e, t) => Yi(t).format(e), so = (e, t = D()) => mr(e, t), ao = Y([K, le], () => ro);
|
|
4411
|
+
Y([K], () => no);
|
|
4412
|
+
Y([K], () => io);
|
|
4425
4413
|
Y([K], () => oo);
|
|
4426
|
-
Y([K], () => so);
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
const ho = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4431
|
-
function co(e, t) {
|
|
4414
|
+
Y([K, le], () => so);
|
|
4415
|
+
window.emWidgets = { topic: vn };
|
|
4416
|
+
const uo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4417
|
+
function lo(e, t) {
|
|
4432
4418
|
if (e) {
|
|
4433
4419
|
const r = document.createElement("style");
|
|
4434
4420
|
r.innerHTML = t, e.appendChild(r);
|
|
4435
4421
|
}
|
|
4436
4422
|
}
|
|
4437
|
-
function
|
|
4423
|
+
function ho(e, t) {
|
|
4438
4424
|
const r = new URL(t);
|
|
4439
4425
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4440
4426
|
const i = document.createElement("style");
|
|
@@ -4443,7 +4429,7 @@ function fo(e, t) {
|
|
|
4443
4429
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4444
4430
|
});
|
|
4445
4431
|
}
|
|
4446
|
-
function
|
|
4432
|
+
function fo(e, t, r) {
|
|
4447
4433
|
if (window.emMessageBus) {
|
|
4448
4434
|
const n = document.createElement("style");
|
|
4449
4435
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4451,13 +4437,13 @@ function mo(e, t, r) {
|
|
|
4451
4437
|
});
|
|
4452
4438
|
}
|
|
4453
4439
|
}
|
|
4454
|
-
function
|
|
4455
|
-
|
|
4440
|
+
function Ot(e, t) {
|
|
4441
|
+
br(e, t);
|
|
4456
4442
|
}
|
|
4457
|
-
function
|
|
4443
|
+
function co(e) {
|
|
4458
4444
|
K.set(e);
|
|
4459
4445
|
}
|
|
4460
|
-
const
|
|
4446
|
+
const It = {
|
|
4461
4447
|
en: {
|
|
4462
4448
|
cancel: "Cancel",
|
|
4463
4449
|
confirm: "Confirm"
|
|
@@ -4503,15 +4489,15 @@ const Nt = {
|
|
|
4503
4489
|
confirm: "Confirm"
|
|
4504
4490
|
}
|
|
4505
4491
|
};
|
|
4506
|
-
function
|
|
4507
|
-
|
|
4492
|
+
function mo(e) {
|
|
4493
|
+
Nr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
4508
4494
|
}
|
|
4509
|
-
const
|
|
4510
|
-
function
|
|
4495
|
+
const po = (e) => ({}), Mt = (e) => ({});
|
|
4496
|
+
function bo(e) {
|
|
4511
4497
|
let t, r;
|
|
4512
4498
|
return {
|
|
4513
4499
|
c() {
|
|
4514
|
-
t =
|
|
4500
|
+
t = ut("svg"), r = ut("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4515
4501
|
},
|
|
4516
4502
|
m(n, i) {
|
|
4517
4503
|
ae(n, t, i), C(t, r);
|
|
@@ -4522,21 +4508,21 @@ function yo(e) {
|
|
|
4522
4508
|
}
|
|
4523
4509
|
};
|
|
4524
4510
|
}
|
|
4525
|
-
function
|
|
4511
|
+
function Nt(e) {
|
|
4526
4512
|
let t, r, n;
|
|
4527
4513
|
return {
|
|
4528
4514
|
c() {
|
|
4529
4515
|
t = I("div"), r = I("h2"), n = ue(
|
|
4530
4516
|
/*modaltitle*/
|
|
4531
4517
|
e[1]
|
|
4532
|
-
),
|
|
4518
|
+
), T(t, "class", "GeneralConfirmationTitle");
|
|
4533
4519
|
},
|
|
4534
4520
|
m(i, o) {
|
|
4535
4521
|
ae(i, t, o), C(t, r), C(r, n);
|
|
4536
4522
|
},
|
|
4537
4523
|
p(i, o) {
|
|
4538
4524
|
o & /*modaltitle*/
|
|
4539
|
-
2 &&
|
|
4525
|
+
2 && rt(
|
|
4540
4526
|
n,
|
|
4541
4527
|
/*modaltitle*/
|
|
4542
4528
|
i[1]
|
|
@@ -4547,17 +4533,17 @@ function Rt(e) {
|
|
|
4547
4533
|
}
|
|
4548
4534
|
};
|
|
4549
4535
|
}
|
|
4550
|
-
function
|
|
4536
|
+
function Lt(e) {
|
|
4551
4537
|
let t, r = (
|
|
4552
4538
|
/*$_*/
|
|
4553
4539
|
e[4]("cancel") + ""
|
|
4554
4540
|
), n, i, o;
|
|
4555
4541
|
return {
|
|
4556
4542
|
c() {
|
|
4557
|
-
t = I("button"), n = ue(r),
|
|
4543
|
+
t = I("button"), n = ue(r), T(t, "class", "GeneralCancelButton");
|
|
4558
4544
|
},
|
|
4559
4545
|
m(a, s) {
|
|
4560
|
-
ae(a, t, s), C(t, n), i || (o =
|
|
4546
|
+
ae(a, t, s), C(t, n), i || (o = Ge(
|
|
4561
4547
|
t,
|
|
4562
4548
|
"click",
|
|
4563
4549
|
/*click_handler*/
|
|
@@ -4567,168 +4553,168 @@ function $t(e) {
|
|
|
4567
4553
|
p(a, s) {
|
|
4568
4554
|
s & /*$_*/
|
|
4569
4555
|
16 && r !== (r = /*$_*/
|
|
4570
|
-
a[4]("cancel") + "") &&
|
|
4556
|
+
a[4]("cancel") + "") && rt(n, r);
|
|
4571
4557
|
},
|
|
4572
4558
|
d(a) {
|
|
4573
4559
|
a && U(t), i = !1, o();
|
|
4574
4560
|
}
|
|
4575
4561
|
};
|
|
4576
4562
|
}
|
|
4577
|
-
function
|
|
4578
|
-
let t, r, n, i, o, a, s, l, u, h,
|
|
4563
|
+
function go(e) {
|
|
4564
|
+
let t, r, n, i, o, a, s, l, u, h, f = (
|
|
4579
4565
|
/*$_*/
|
|
4580
4566
|
e[4]("confirm") + ""
|
|
4581
|
-
),
|
|
4567
|
+
), c, m, d, p;
|
|
4582
4568
|
const g = (
|
|
4583
4569
|
/*#slots*/
|
|
4584
4570
|
e[16].close
|
|
4585
|
-
),
|
|
4571
|
+
), H = Br(
|
|
4586
4572
|
g,
|
|
4587
4573
|
e,
|
|
4588
4574
|
/*$$scope*/
|
|
4589
4575
|
e[15],
|
|
4590
|
-
|
|
4591
|
-
),
|
|
4576
|
+
Mt
|
|
4577
|
+
), A = H || bo();
|
|
4592
4578
|
let x = (
|
|
4593
4579
|
/*modaltitle*/
|
|
4594
|
-
e[1] &&
|
|
4580
|
+
e[1] && Nt(e)
|
|
4595
4581
|
), w = (
|
|
4596
4582
|
/*hascancelbutton*/
|
|
4597
|
-
e[2] &&
|
|
4583
|
+
e[2] && Lt(e)
|
|
4598
4584
|
);
|
|
4599
4585
|
return {
|
|
4600
4586
|
c() {
|
|
4601
|
-
t = I("div"), r = I("div"), n = I("span"),
|
|
4602
|
-
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")),
|
|
4603
|
-
(e[5] ? "GeneralConfirmationContainerMobile" : "")),
|
|
4587
|
+
t = I("div"), r = I("div"), n = I("span"), A.c(), i = fe(), x && x.c(), o = fe(), a = I("div"), s = fe(), l = I("div"), w && w.c(), u = fe(), h = I("button"), c = ue(f), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(a, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4588
|
+
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4589
|
+
(e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4604
4590
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4605
4591
|
},
|
|
4606
4592
|
m(b, B) {
|
|
4607
|
-
ae(b, t, B), C(t, r), C(r, n),
|
|
4608
|
-
e[0], C(r, s), C(r, l), w && w.m(l, null), C(l, u), C(l, h), C(h,
|
|
4609
|
-
|
|
4593
|
+
ae(b, t, B), C(t, r), C(r, n), A.m(n, null), C(r, i), x && x.m(r, null), C(r, o), C(r, a), a.innerHTML = /*modaltext*/
|
|
4594
|
+
e[0], C(r, s), C(r, l), w && w.m(l, null), C(l, u), C(l, h), C(h, c), e[19](t), m = !0, d || (p = [
|
|
4595
|
+
Ge(
|
|
4610
4596
|
n,
|
|
4611
4597
|
"click",
|
|
4612
4598
|
/*close*/
|
|
4613
4599
|
e[6]
|
|
4614
4600
|
),
|
|
4615
|
-
|
|
4601
|
+
Ge(
|
|
4616
4602
|
h,
|
|
4617
4603
|
"click",
|
|
4618
4604
|
/*click_handler_1*/
|
|
4619
4605
|
e[18]
|
|
4620
4606
|
)
|
|
4621
|
-
],
|
|
4607
|
+
], d = !0);
|
|
4622
4608
|
},
|
|
4623
4609
|
p(b, [B]) {
|
|
4624
|
-
|
|
4625
|
-
32768) &&
|
|
4626
|
-
|
|
4610
|
+
H && H.p && (!m || B & /*$$scope*/
|
|
4611
|
+
32768) && Pr(
|
|
4612
|
+
H,
|
|
4627
4613
|
g,
|
|
4628
4614
|
b,
|
|
4629
4615
|
/*$$scope*/
|
|
4630
4616
|
b[15],
|
|
4631
|
-
|
|
4617
|
+
m ? Cr(
|
|
4632
4618
|
g,
|
|
4633
4619
|
/*$$scope*/
|
|
4634
4620
|
b[15],
|
|
4635
4621
|
B,
|
|
4636
|
-
|
|
4637
|
-
) :
|
|
4622
|
+
po
|
|
4623
|
+
) : Or(
|
|
4638
4624
|
/*$$scope*/
|
|
4639
4625
|
b[15]
|
|
4640
4626
|
),
|
|
4641
|
-
|
|
4627
|
+
Mt
|
|
4642
4628
|
), /*modaltitle*/
|
|
4643
|
-
b[1] ? x ? x.p(b, B) : (x =
|
|
4629
|
+
b[1] ? x ? x.p(b, B) : (x = Nt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!m || B & /*modaltext*/
|
|
4644
4630
|
1) && (a.innerHTML = /*modaltext*/
|
|
4645
4631
|
b[0]), /*hascancelbutton*/
|
|
4646
|
-
b[2] ? w ? w.p(b, B) : (w =
|
|
4647
|
-
16) &&
|
|
4648
|
-
b[4]("confirm") + "") &&
|
|
4632
|
+
b[2] ? w ? w.p(b, B) : (w = Lt(b), w.c(), w.m(l, u)) : w && (w.d(1), w = null), (!m || B & /*$_*/
|
|
4633
|
+
16) && f !== (f = /*$_*/
|
|
4634
|
+
b[4]("confirm") + "") && rt(c, f);
|
|
4649
4635
|
},
|
|
4650
4636
|
i(b) {
|
|
4651
|
-
|
|
4637
|
+
m || (kt(A, b), m = !0);
|
|
4652
4638
|
},
|
|
4653
4639
|
o(b) {
|
|
4654
|
-
|
|
4640
|
+
Jr(A, b), m = !1;
|
|
4655
4641
|
},
|
|
4656
4642
|
d(b) {
|
|
4657
|
-
b && U(t),
|
|
4643
|
+
b && U(t), A.d(b), x && x.d(), w && w.d(), e[19](null), d = !1, G(p);
|
|
4658
4644
|
}
|
|
4659
4645
|
};
|
|
4660
4646
|
}
|
|
4661
|
-
function
|
|
4647
|
+
function yo(e, t, r) {
|
|
4662
4648
|
let n;
|
|
4663
|
-
|
|
4664
|
-
let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modaltitle: s = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang:
|
|
4649
|
+
Ar(e, ao, (_) => r(4, n = _));
|
|
4650
|
+
let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modaltitle: s = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: f = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, { mbsource: p } = t, g, H = window.navigator.userAgent, A = uo(H) !== "PC";
|
|
4665
4651
|
const x = () => {
|
|
4666
4652
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4667
|
-
}, w = (
|
|
4668
|
-
|
|
4653
|
+
}, w = (_) => {
|
|
4654
|
+
_ === "confirm" && u && window.postMessage(u, window.location.href), _ === "cancel" && h && window.postMessage(h, window.location.href), x();
|
|
4669
4655
|
}, b = () => {
|
|
4670
|
-
fetch(
|
|
4671
|
-
Object.keys(F).forEach((
|
|
4672
|
-
|
|
4656
|
+
fetch(d).then((F) => F.json()).then((F) => {
|
|
4657
|
+
Object.keys(F).forEach((st) => {
|
|
4658
|
+
Ot(st, F[st]);
|
|
4673
4659
|
});
|
|
4674
4660
|
}).catch((F) => {
|
|
4675
4661
|
console.log(F);
|
|
4676
4662
|
});
|
|
4677
4663
|
};
|
|
4678
|
-
Object.keys(
|
|
4679
|
-
|
|
4664
|
+
Object.keys(It).forEach((_) => {
|
|
4665
|
+
Ot(_, It[_]);
|
|
4680
4666
|
});
|
|
4681
4667
|
const B = () => {
|
|
4682
|
-
|
|
4668
|
+
co(f);
|
|
4683
4669
|
};
|
|
4684
|
-
|
|
4670
|
+
Vr(() => () => {
|
|
4685
4671
|
});
|
|
4686
|
-
const he = () => w("cancel"),
|
|
4687
|
-
function
|
|
4688
|
-
|
|
4689
|
-
g =
|
|
4672
|
+
const he = () => w("cancel"), Er = () => w("confirm");
|
|
4673
|
+
function wr(_) {
|
|
4674
|
+
Ue[_ ? "unshift" : "push"](() => {
|
|
4675
|
+
g = _, r(3, g);
|
|
4690
4676
|
});
|
|
4691
4677
|
}
|
|
4692
|
-
return e.$$set = (
|
|
4693
|
-
"modaltext" in
|
|
4678
|
+
return e.$$set = (_) => {
|
|
4679
|
+
"modaltext" in _ && r(0, a = _.modaltext), "modaltitle" in _ && r(1, s = _.modaltitle), "hascancelbutton" in _ && r(2, l = _.hascancelbutton), "modalconfirmevent" in _ && r(8, u = _.modalconfirmevent), "modalcancelevent" in _ && r(9, h = _.modalcancelevent), "lang" in _ && r(10, f = _.lang), "clientstyling" in _ && r(11, c = _.clientstyling), "clientstylingurl" in _ && r(12, m = _.clientstylingurl), "translationurl" in _ && r(13, d = _.translationurl), "mbsource" in _ && r(14, p = _.mbsource), "$$scope" in _ && r(15, o = _.$$scope);
|
|
4694
4680
|
}, e.$$.update = () => {
|
|
4695
4681
|
e.$$.dirty & /*modaltext, lang*/
|
|
4696
|
-
1025 && a &&
|
|
4697
|
-
2056 &&
|
|
4698
|
-
4104 &&
|
|
4699
|
-
16392 && p && g &&
|
|
4700
|
-
8192 &&
|
|
4682
|
+
1025 && a && f && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4683
|
+
2056 && c && g && lo(g, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4684
|
+
4104 && m && g && ho(g, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4685
|
+
16392 && p && g && fo(g, `${p}.Style`), e.$$.dirty & /*translationurl*/
|
|
4686
|
+
8192 && d && b();
|
|
4701
4687
|
}, [
|
|
4702
4688
|
a,
|
|
4703
4689
|
s,
|
|
4704
4690
|
l,
|
|
4705
4691
|
g,
|
|
4706
4692
|
n,
|
|
4707
|
-
|
|
4693
|
+
A,
|
|
4708
4694
|
x,
|
|
4709
4695
|
w,
|
|
4710
4696
|
u,
|
|
4711
4697
|
h,
|
|
4712
|
-
c,
|
|
4713
4698
|
f,
|
|
4714
|
-
|
|
4699
|
+
c,
|
|
4715
4700
|
m,
|
|
4701
|
+
d,
|
|
4716
4702
|
p,
|
|
4717
4703
|
o,
|
|
4718
4704
|
i,
|
|
4719
4705
|
he,
|
|
4720
|
-
|
|
4721
|
-
|
|
4706
|
+
Er,
|
|
4707
|
+
wr
|
|
4722
4708
|
];
|
|
4723
4709
|
}
|
|
4724
|
-
class
|
|
4710
|
+
class xr extends nn {
|
|
4725
4711
|
constructor(t) {
|
|
4726
|
-
super(),
|
|
4712
|
+
super(), tn(
|
|
4727
4713
|
this,
|
|
4728
4714
|
t,
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4715
|
+
yo,
|
|
4716
|
+
go,
|
|
4717
|
+
$t,
|
|
4732
4718
|
{
|
|
4733
4719
|
modaltext: 0,
|
|
4734
4720
|
modaltitle: 1,
|
|
@@ -4741,7 +4727,7 @@ class Sr extends an {
|
|
|
4741
4727
|
translationurl: 13,
|
|
4742
4728
|
mbsource: 14
|
|
4743
4729
|
},
|
|
4744
|
-
|
|
4730
|
+
mo
|
|
4745
4731
|
);
|
|
4746
4732
|
}
|
|
4747
4733
|
get modaltext() {
|
|
@@ -4805,58 +4791,58 @@ class Sr extends an {
|
|
|
4805
4791
|
this.$$set({ mbsource: t }), O();
|
|
4806
4792
|
}
|
|
4807
4793
|
}
|
|
4808
|
-
|
|
4809
|
-
const
|
|
4794
|
+
rn(xr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4795
|
+
const Co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4810
4796
|
__proto__: null,
|
|
4811
|
-
default:
|
|
4797
|
+
default: xr
|
|
4812
4798
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4813
4799
|
export {
|
|
4814
4800
|
K as $,
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4801
|
+
fo as A,
|
|
4802
|
+
Bo as B,
|
|
4803
|
+
En as C,
|
|
4804
|
+
br as D,
|
|
4819
4805
|
M as E,
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4806
|
+
Ar as F,
|
|
4807
|
+
uo as G,
|
|
4808
|
+
Ao as H,
|
|
4809
|
+
fe as I,
|
|
4824
4810
|
ue as J,
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4811
|
+
ut as K,
|
|
4812
|
+
wo as L,
|
|
4813
|
+
Ge as M,
|
|
4814
|
+
rt as N,
|
|
4815
|
+
_o as O,
|
|
4830
4816
|
G as P,
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4817
|
+
xo as Q,
|
|
4818
|
+
Eo as R,
|
|
4819
|
+
nn as S,
|
|
4820
|
+
ao as T,
|
|
4821
|
+
Co as U,
|
|
4822
|
+
tn as a,
|
|
4823
|
+
Nr as b,
|
|
4824
|
+
rn as c,
|
|
4839
4825
|
ae as d,
|
|
4840
|
-
|
|
4826
|
+
vo as e,
|
|
4841
4827
|
O as f,
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4828
|
+
Jr as g,
|
|
4829
|
+
To as h,
|
|
4830
|
+
Sr as i,
|
|
4845
4831
|
U as j,
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4832
|
+
Br as k,
|
|
4833
|
+
I as l,
|
|
4834
|
+
T as m,
|
|
4835
|
+
C as n,
|
|
4836
|
+
Vr as o,
|
|
4837
|
+
Or as p,
|
|
4838
|
+
Cr as q,
|
|
4839
|
+
xe as r,
|
|
4840
|
+
$t as s,
|
|
4841
|
+
kt as t,
|
|
4842
|
+
Pr as u,
|
|
4843
|
+
Ho as v,
|
|
4844
|
+
So as w,
|
|
4845
|
+
Ue as x,
|
|
4846
|
+
lo as y,
|
|
4847
|
+
ho as z
|
|
4862
4848
|
};
|