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