@everymatrix/player-account-self-exclusion-nd 1.77.20 → 1.77.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGeneralConfirmationModal-jyYO-Fkt.js → PlayerAccountGeneralConfirmationModal-CF0gIxAh.js} +850 -807
- package/components/PlayerAccountGeneralConfirmationModal-CepZsQsl.cjs +21 -0
- package/components/{PlayerAccountGeneralConfirmationModal-CiMX3WWK.js → PlayerAccountGeneralConfirmationModal-DTX1CBzd.js} +854 -811
- package/components/{PlayerAccountModal-Dm1IMhsb.js → PlayerAccountModal-CJKwahNB.js} +1 -1
- package/components/{PlayerAccountModal-BHmYtAZI.cjs → PlayerAccountModal-D5N72NeZ.cjs} +1 -1
- package/components/{PlayerAccountModal-OJIGC8aB.js → PlayerAccountModal-Db-SglWF.js} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-DRCw5URI.js → PlayerAccountSelfExclusionNd-BxmnRxYL.js} +1139 -1135
- package/components/{PlayerAccountSelfExclusionNd-CjoMP-Zz.js → PlayerAccountSelfExclusionNd-By_-FjjY.js} +840 -836
- package/components/{PlayerAccountSelfExclusionNd-DHZnhlCF.cjs → PlayerAccountSelfExclusionNd-_oUe60S2.cjs} +155 -155
- 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/components/PlayerAccountGeneralConfirmationModal-Mf-wuYBa.cjs +0 -21
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function M() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const Br = (e) => e;
|
|
4
|
+
function Cr(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
7
7
|
return (
|
|
@@ -9,25 +9,25 @@ function Sr(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Dt(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ct() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function G(e) {
|
|
19
|
-
e.forEach(
|
|
19
|
+
e.forEach(Dt);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Te(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Ft(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function Pr(e) {
|
|
28
28
|
return Object.keys(e).length === 0;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function jt(e, ...t) {
|
|
31
31
|
if (e == null) {
|
|
32
32
|
for (const n of t)
|
|
33
33
|
n(void 0);
|
|
@@ -36,19 +36,19 @@ function $t(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 Or(e, t, r) {
|
|
40
|
+
e.$$.on_destroy.push(jt(t, r));
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Ir(e, t, r, n) {
|
|
43
43
|
if (e) {
|
|
44
|
-
const i =
|
|
44
|
+
const i = kt(e, t, r, n);
|
|
45
45
|
return e[0](i);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
return e[1] && n ?
|
|
48
|
+
function kt(e, t, r, n) {
|
|
49
|
+
return e[1] && n ? Cr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Mr(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 Br(e, t, r, n) {
|
|
|
63
63
|
}
|
|
64
64
|
return t.dirty;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Nr(e, t, r, n, i, o) {
|
|
67
67
|
if (i) {
|
|
68
|
-
const a =
|
|
68
|
+
const a = kt(t, r, n, o);
|
|
69
69
|
e.p(a, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Lr(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 Pr(e) {
|
|
|
78
78
|
}
|
|
79
79
|
return -1;
|
|
80
80
|
}
|
|
81
|
-
const
|
|
82
|
-
let
|
|
81
|
+
const Vt = typeof window < "u";
|
|
82
|
+
let $r = Vt ? () => window.performance.now() : () => Date.now(), ot = Vt ? (e) => requestAnimationFrame(e) : M;
|
|
83
83
|
const X = /* @__PURE__ */ new Set();
|
|
84
|
-
function
|
|
84
|
+
function Xt(e) {
|
|
85
85
|
X.forEach((t) => {
|
|
86
86
|
t.c(e) || (X.delete(t), t.f());
|
|
87
|
-
}), X.size !== 0 &&
|
|
87
|
+
}), X.size !== 0 && ot(Xt);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Rr(e) {
|
|
90
90
|
let t;
|
|
91
|
-
return X.size === 0 &&
|
|
91
|
+
return X.size === 0 && ot(Xt), {
|
|
92
92
|
promise: new Promise((r) => {
|
|
93
93
|
X.add(t = { c: e, f: r });
|
|
94
94
|
}),
|
|
@@ -100,14 +100,14 @@ function Ir(e) {
|
|
|
100
100
|
function C(e, t) {
|
|
101
101
|
e.appendChild(t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
const n =
|
|
103
|
+
function Gr(e, t, r) {
|
|
104
|
+
const n = st(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, zt(n, i);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function st(e) {
|
|
111
111
|
if (!e)
|
|
112
112
|
return document;
|
|
113
113
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -117,69 +117,69 @@ function tt(e) {
|
|
|
117
117
|
t
|
|
118
118
|
) : e.ownerDocument;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Ur(e) {
|
|
121
121
|
const t = I("style");
|
|
122
|
-
return t.textContent = "/* empty */",
|
|
122
|
+
return t.textContent = "/* empty */", zt(st(e), t), t.sheet;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function zt(e, t) {
|
|
125
125
|
return C(
|
|
126
126
|
/** @type {Document} */
|
|
127
127
|
e.head || e,
|
|
128
128
|
t
|
|
129
129
|
), t.sheet;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function se(e, t, r) {
|
|
132
132
|
e.insertBefore(t, r || null);
|
|
133
133
|
}
|
|
134
134
|
function U(e) {
|
|
135
135
|
e.parentNode && e.parentNode.removeChild(e);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function wo(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 ft(e) {
|
|
145
145
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function ae(e) {
|
|
148
148
|
return document.createTextNode(e);
|
|
149
149
|
}
|
|
150
150
|
function ce() {
|
|
151
|
-
return
|
|
151
|
+
return ae(" ");
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
return
|
|
153
|
+
function So() {
|
|
154
|
+
return ae("");
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Fe(e, t, r, n) {
|
|
157
157
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
158
158
|
}
|
|
159
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 To(e, t, r) {
|
|
163
163
|
const n = t.toLowerCase();
|
|
164
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 Dr(e) {
|
|
167
167
|
return Array.from(e.childNodes);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function at(e, t) {
|
|
170
170
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
171
171
|
t);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function Ho(e, t, r, n) {
|
|
174
174
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function Ao(e, t, r) {
|
|
177
177
|
e.classList.toggle(t, !!r);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function Fr(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 jr(e) {
|
|
183
183
|
const t = {};
|
|
184
184
|
return e.childNodes.forEach(
|
|
185
185
|
/** @param {Element} node */
|
|
@@ -190,17 +190,17 @@ function $r(e) {
|
|
|
190
190
|
}
|
|
191
191
|
const ve = /* @__PURE__ */ new Map();
|
|
192
192
|
let _e = 0;
|
|
193
|
-
function
|
|
193
|
+
function kr(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:
|
|
199
|
+
function Vr(e, t) {
|
|
200
|
+
const r = { stylesheet: Ur(t), rules: {} };
|
|
201
201
|
return ve.set(e, r), r;
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function mt(e, t, r, n, i, o, a, s = 0) {
|
|
204
204
|
const l = 16.666 / n;
|
|
205
205
|
let u = `{
|
|
206
206
|
`;
|
|
@@ -210,156 +210,156 @@ function ut(e, t, r, n, i, o, a, s = 0) {
|
|
|
210
210
|
`;
|
|
211
211
|
}
|
|
212
212
|
const h = u + `100% {${a(r, 1 - r)}}
|
|
213
|
-
}`, c = `__svelte_${
|
|
214
|
-
m[c] || (m[c] = !0,
|
|
215
|
-
const
|
|
216
|
-
return e.style.animation = `${
|
|
213
|
+
}`, c = `__svelte_${kr(h)}_${s}`, f = st(e), { stylesheet: p, rules: m } = ve.get(f) || Vr(f, e);
|
|
214
|
+
m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
|
|
215
|
+
const d = e.style.animation || "";
|
|
216
|
+
return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, _e += 1, c;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Xr(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(", "), _e -= i, _e ||
|
|
223
|
+
i && (e.style.animation = n.join(", "), _e -= i, _e || zr());
|
|
224
224
|
}
|
|
225
|
-
function
|
|
226
|
-
|
|
225
|
+
function zr() {
|
|
226
|
+
ot(() => {
|
|
227
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
|
-
let
|
|
234
|
-
function
|
|
235
|
-
|
|
233
|
+
let ne;
|
|
234
|
+
function re(e) {
|
|
235
|
+
ne = e;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
238
|
-
if (!
|
|
237
|
+
function Wr() {
|
|
238
|
+
if (!ne)
|
|
239
239
|
throw new Error("Function called outside component initialization");
|
|
240
|
-
return
|
|
240
|
+
return ne;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
243
|
-
|
|
242
|
+
function Zr(e) {
|
|
243
|
+
Wr().$$.on_mount.push(e);
|
|
244
244
|
}
|
|
245
|
-
const V = [],
|
|
245
|
+
const V = [], je = [];
|
|
246
246
|
let z = [];
|
|
247
|
-
const
|
|
248
|
-
let
|
|
249
|
-
function
|
|
250
|
-
|
|
247
|
+
const pt = [], Qr = /* @__PURE__ */ Promise.resolve();
|
|
248
|
+
let ke = !1;
|
|
249
|
+
function Jr() {
|
|
250
|
+
ke || (ke = !0, Qr.then(O));
|
|
251
251
|
}
|
|
252
252
|
function xe(e) {
|
|
253
253
|
z.push(e);
|
|
254
254
|
}
|
|
255
|
-
const
|
|
255
|
+
const Ie = /* @__PURE__ */ new Set();
|
|
256
256
|
let j = 0;
|
|
257
257
|
function O() {
|
|
258
258
|
if (j !== 0)
|
|
259
259
|
return;
|
|
260
|
-
const e =
|
|
260
|
+
const e = ne;
|
|
261
261
|
do {
|
|
262
262
|
try {
|
|
263
263
|
for (; j < V.length; ) {
|
|
264
264
|
const t = V[j];
|
|
265
|
-
j++,
|
|
265
|
+
j++, re(t), qr(t.$$);
|
|
266
266
|
}
|
|
267
267
|
} catch (t) {
|
|
268
268
|
throw V.length = 0, j = 0, t;
|
|
269
269
|
}
|
|
270
|
-
for (
|
|
271
|
-
|
|
270
|
+
for (re(null), V.length = 0, j = 0; je.length; )
|
|
271
|
+
je.pop()();
|
|
272
272
|
for (let t = 0; t < z.length; t += 1) {
|
|
273
273
|
const r = z[t];
|
|
274
|
-
|
|
274
|
+
Ie.has(r) || (Ie.add(r), r());
|
|
275
275
|
}
|
|
276
276
|
z.length = 0;
|
|
277
277
|
} while (V.length);
|
|
278
|
-
for (;
|
|
279
|
-
|
|
280
|
-
|
|
278
|
+
for (; pt.length; )
|
|
279
|
+
pt.pop()();
|
|
280
|
+
ke = !1, Ie.clear(), re(e);
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function qr(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 Yr(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
|
-
let
|
|
294
|
-
function
|
|
295
|
-
return
|
|
296
|
-
|
|
297
|
-
})),
|
|
293
|
+
let ee;
|
|
294
|
+
function Kr() {
|
|
295
|
+
return ee || (ee = Promise.resolve(), ee.then(() => {
|
|
296
|
+
ee = null;
|
|
297
|
+
})), ee;
|
|
298
298
|
}
|
|
299
|
-
function
|
|
300
|
-
e.dispatchEvent(
|
|
299
|
+
function Me(e, t, r) {
|
|
300
|
+
e.dispatchEvent(Fr(`${t ? "intro" : "outro"}${r}`));
|
|
301
301
|
}
|
|
302
|
-
const
|
|
303
|
-
let
|
|
304
|
-
function
|
|
305
|
-
|
|
302
|
+
const pe = /* @__PURE__ */ new Set();
|
|
303
|
+
let L;
|
|
304
|
+
function Bo() {
|
|
305
|
+
L = {
|
|
306
306
|
r: 0,
|
|
307
307
|
c: [],
|
|
308
|
-
p:
|
|
308
|
+
p: L
|
|
309
309
|
// parent group
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
|
-
function
|
|
313
|
-
|
|
312
|
+
function Co() {
|
|
313
|
+
L.r || G(L.c), L = L.p;
|
|
314
314
|
}
|
|
315
|
-
function
|
|
316
|
-
e && e.i && (
|
|
315
|
+
function Wt(e, t) {
|
|
316
|
+
e && e.i && (pe.delete(e), e.i(t));
|
|
317
317
|
}
|
|
318
|
-
function
|
|
318
|
+
function en(e, t, r, n) {
|
|
319
319
|
if (e && e.o) {
|
|
320
|
-
if (
|
|
320
|
+
if (pe.has(e))
|
|
321
321
|
return;
|
|
322
|
-
|
|
323
|
-
|
|
322
|
+
pe.add(e), L.c.push(() => {
|
|
323
|
+
pe.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 tn = { duration: 0 };
|
|
329
|
+
function Po(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
331
|
function c() {
|
|
332
|
-
u &&
|
|
332
|
+
u && Xr(e, u);
|
|
333
333
|
}
|
|
334
|
-
function f(m,
|
|
334
|
+
function f(m, d) {
|
|
335
335
|
const g = (
|
|
336
336
|
/** @type {Program['d']} */
|
|
337
337
|
m.b - a
|
|
338
338
|
);
|
|
339
|
-
return
|
|
339
|
+
return d *= Math.abs(g), {
|
|
340
340
|
a,
|
|
341
341
|
b: m.b,
|
|
342
342
|
d: g,
|
|
343
|
-
duration:
|
|
343
|
+
duration: d,
|
|
344
344
|
start: m.start,
|
|
345
|
-
end: m.start +
|
|
345
|
+
end: m.start + d,
|
|
346
346
|
group: m.group
|
|
347
347
|
};
|
|
348
348
|
}
|
|
349
|
-
function
|
|
349
|
+
function p(m) {
|
|
350
350
|
const {
|
|
351
|
-
delay:
|
|
351
|
+
delay: d = 0,
|
|
352
352
|
duration: g = 300,
|
|
353
|
-
easing: A =
|
|
353
|
+
easing: A = Br,
|
|
354
354
|
tick: T = M,
|
|
355
355
|
css: x
|
|
356
|
-
} = o ||
|
|
357
|
-
start:
|
|
356
|
+
} = o || tn, E = {
|
|
357
|
+
start: $r() + d,
|
|
358
358
|
b: m
|
|
359
359
|
};
|
|
360
|
-
m || (
|
|
361
|
-
e.inert, e.inert = !0)), s || l ? l =
|
|
362
|
-
if (l && b > l.start && (s = f(l, g), l = null,
|
|
360
|
+
m || (E.group = L, L.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
361
|
+
e.inert, e.inert = !0)), s || l ? l = E : (x && (c(), u = mt(e, a, m, g, d, A, x)), m && T(0, 1), s = f(E, g), xe(() => Me(e, m, "start")), Rr((b) => {
|
|
362
|
+
if (l && b > l.start && (s = f(l, g), l = null, Me(e, s.b, "start"), x && (c(), u = mt(
|
|
363
363
|
e,
|
|
364
364
|
a,
|
|
365
365
|
s.b,
|
|
@@ -369,7 +369,7 @@ function To(e, t, r, n) {
|
|
|
369
369
|
o.css
|
|
370
370
|
))), s) {
|
|
371
371
|
if (b >= s.end)
|
|
372
|
-
T(a = s.b, 1 - a),
|
|
372
|
+
T(a = s.b, 1 - a), Me(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
375
|
a = s.a + s.d * A(B / s.duration), T(a, 1 - a);
|
|
@@ -380,35 +380,35 @@ function To(e, t, r, n) {
|
|
|
380
380
|
}
|
|
381
381
|
return {
|
|
382
382
|
run(m) {
|
|
383
|
-
|
|
384
|
-
o = o({ direction: m ? "in" : "out" }),
|
|
385
|
-
}) :
|
|
383
|
+
Te(o) ? Kr().then(() => {
|
|
384
|
+
o = o({ direction: m ? "in" : "out" }), p(m);
|
|
385
|
+
}) : p(m);
|
|
386
386
|
},
|
|
387
387
|
end() {
|
|
388
388
|
c(), s = l = null;
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function Oo(e) {
|
|
393
393
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function rn(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(Dt).filter(Te);
|
|
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 nn(e, t) {
|
|
403
403
|
const r = e.$$;
|
|
404
|
-
r.fragment !== null && (
|
|
404
|
+
r.fragment !== null && (Yr(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 on(e, t) {
|
|
407
|
+
e.$$.dirty[0] === -1 && (V.push(e), Jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
408
408
|
}
|
|
409
|
-
function
|
|
410
|
-
const l =
|
|
411
|
-
|
|
409
|
+
function sn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
410
|
+
const l = ne;
|
|
411
|
+
re(e);
|
|
412
412
|
const u = e.$$ = {
|
|
413
413
|
fragment: null,
|
|
414
414
|
ctx: [],
|
|
@@ -416,7 +416,7 @@ function en(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: ct(),
|
|
420
420
|
// lifecycle
|
|
421
421
|
on_mount: [],
|
|
422
422
|
on_destroy: [],
|
|
@@ -425,28 +425,28 @@ function en(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: ct(),
|
|
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 || {}, (c, f, ...
|
|
436
|
-
const m =
|
|
437
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h &&
|
|
435
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
436
|
+
const m = p.length ? p[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 && on(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 c =
|
|
440
|
+
const c = Dr(t.target);
|
|
441
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 && Wt(e.$$.fragment), rn(e, t.target, t.anchor), O();
|
|
445
445
|
}
|
|
446
|
-
|
|
446
|
+
re(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 */
|
|
@@ -495,7 +495,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
|
|
|
495
495
|
* @param {HTMLElement} [anchor]
|
|
496
496
|
*/
|
|
497
497
|
m: function(l, u) {
|
|
498
|
-
|
|
498
|
+
se(l, o, u);
|
|
499
499
|
},
|
|
500
500
|
d: function(l) {
|
|
501
501
|
l && U(o);
|
|
@@ -505,12 +505,12 @@ typeof HTMLElement == "function" && (kt = 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 = jr(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) {
|
|
512
512
|
const o = this.$$g_p(i.name);
|
|
513
|
-
o in this.$$d || (this.$$d[o] =
|
|
513
|
+
o in this.$$d || (this.$$d[o] = de(o, i.value, this.$$p_d, "toProp"));
|
|
514
514
|
}
|
|
515
515
|
for (const i in this.$$p_d)
|
|
516
516
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -528,7 +528,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
|
|
|
528
528
|
this.$$r = !0;
|
|
529
529
|
for (const i in this.$$p_d)
|
|
530
530
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
531
|
-
const o =
|
|
531
|
+
const o = de(
|
|
532
532
|
i,
|
|
533
533
|
this.$$d[i],
|
|
534
534
|
this.$$p_d,
|
|
@@ -550,7 +550,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
|
|
|
550
550
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
551
551
|
// and setting attributes through setAttribute etc, this is helpful
|
|
552
552
|
attributeChangedCallback(e, t, r) {
|
|
553
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
553
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = de(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
554
554
|
}
|
|
555
555
|
disconnectedCallback() {
|
|
556
556
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -563,7 +563,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
|
|
|
563
563
|
) || e;
|
|
564
564
|
}
|
|
565
565
|
});
|
|
566
|
-
function
|
|
566
|
+
function de(e, t, r, n) {
|
|
567
567
|
const i = r[e]?.type;
|
|
568
568
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
569
569
|
return t;
|
|
@@ -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 an(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
|
}
|
|
@@ -609,7 +609,7 @@ function tn(e, t, r, n, i, o) {
|
|
|
609
609
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
610
610
|
},
|
|
611
611
|
set(l) {
|
|
612
|
-
l =
|
|
612
|
+
l = de(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
|
|
613
613
|
}
|
|
614
614
|
});
|
|
615
615
|
}), n.forEach((s) => {
|
|
@@ -621,7 +621,7 @@ function tn(e, t, r, n, i, o) {
|
|
|
621
621
|
}), e.element = /** @type {any} */
|
|
622
622
|
a, a;
|
|
623
623
|
}
|
|
624
|
-
class
|
|
624
|
+
class un {
|
|
625
625
|
/**
|
|
626
626
|
* ### PRIVATE API
|
|
627
627
|
*
|
|
@@ -640,7 +640,7 @@ class rn {
|
|
|
640
640
|
$$set = void 0;
|
|
641
641
|
/** @returns {void} */
|
|
642
642
|
$destroy() {
|
|
643
|
-
|
|
643
|
+
nn(this, 1), this.$destroy = M;
|
|
644
644
|
}
|
|
645
645
|
/**
|
|
646
646
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -649,7 +649,7 @@ class rn {
|
|
|
649
649
|
* @returns {() => void}
|
|
650
650
|
*/
|
|
651
651
|
$on(t, r) {
|
|
652
|
-
if (!
|
|
652
|
+
if (!Te(r))
|
|
653
653
|
return M;
|
|
654
654
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
655
655
|
return n.push(r), () => {
|
|
@@ -662,11 +662,11 @@ class rn {
|
|
|
662
662
|
* @returns {void}
|
|
663
663
|
*/
|
|
664
664
|
$set(t) {
|
|
665
|
-
this.$$set && !
|
|
665
|
+
this.$$set && !Pr(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 ln = "4";
|
|
669
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ln);
|
|
670
670
|
/*! *****************************************************************************
|
|
671
671
|
Copyright (c) Microsoft Corporation.
|
|
672
672
|
|
|
@@ -681,43 +681,24 @@ 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 Ve = function(e, t) {
|
|
685
|
+
return Ve = 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
|
+
}, Ve(e, t);
|
|
691
691
|
};
|
|
692
|
-
function
|
|
692
|
+
function ue(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
|
+
Ve(e, t);
|
|
696
696
|
function r() {
|
|
697
697
|
this.constructor = e;
|
|
698
698
|
}
|
|
699
699
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
700
700
|
}
|
|
701
|
-
|
|
702
|
-
return E = Object.assign || function(t) {
|
|
703
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
704
|
-
r = arguments[n];
|
|
705
|
-
for (var o in r)
|
|
706
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
707
|
-
}
|
|
708
|
-
return t;
|
|
709
|
-
}, E.apply(this, arguments);
|
|
710
|
-
};
|
|
711
|
-
function on(e, t) {
|
|
712
|
-
var r = {};
|
|
713
|
-
for (var n in e)
|
|
714
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
715
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
716
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
717
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
718
|
-
return r;
|
|
719
|
-
}
|
|
720
|
-
function je(e) {
|
|
701
|
+
function Xe(e) {
|
|
721
702
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
722
703
|
if (r)
|
|
723
704
|
return r.call(e);
|
|
@@ -729,7 +710,7 @@ function je(e) {
|
|
|
729
710
|
};
|
|
730
711
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
731
712
|
}
|
|
732
|
-
function
|
|
713
|
+
function ze(e, t) {
|
|
733
714
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
734
715
|
if (!r)
|
|
735
716
|
return e;
|
|
@@ -749,22 +730,22 @@ function ke(e, t) {
|
|
|
749
730
|
}
|
|
750
731
|
return o;
|
|
751
732
|
}
|
|
752
|
-
function
|
|
753
|
-
if (
|
|
733
|
+
function We(e, t, r) {
|
|
734
|
+
if (arguments.length === 2)
|
|
754
735
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
755
736
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
756
737
|
return e.concat(o || t);
|
|
757
738
|
}
|
|
758
|
-
function
|
|
739
|
+
function $(e) {
|
|
759
740
|
return typeof e == "function";
|
|
760
741
|
}
|
|
761
|
-
function
|
|
742
|
+
function Qt(e) {
|
|
762
743
|
var t = function(n) {
|
|
763
744
|
Error.call(n), n.stack = new Error().stack;
|
|
764
745
|
}, r = e(t);
|
|
765
746
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
766
747
|
}
|
|
767
|
-
var
|
|
748
|
+
var Ne = Qt(function(e) {
|
|
768
749
|
return function(r) {
|
|
769
750
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
770
751
|
` + r.map(function(n, i) {
|
|
@@ -773,13 +754,13 @@ var Ie = Vt(function(e) {
|
|
|
773
754
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
774
755
|
};
|
|
775
756
|
});
|
|
776
|
-
function
|
|
757
|
+
function Ze(e, t) {
|
|
777
758
|
if (e) {
|
|
778
759
|
var r = e.indexOf(t);
|
|
779
760
|
0 <= r && e.splice(r, 1);
|
|
780
761
|
}
|
|
781
762
|
}
|
|
782
|
-
var
|
|
763
|
+
var He = function() {
|
|
783
764
|
function e(t) {
|
|
784
765
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
785
766
|
}
|
|
@@ -791,12 +772,12 @@ var Te = function() {
|
|
|
791
772
|
if (a)
|
|
792
773
|
if (this._parentage = null, Array.isArray(a))
|
|
793
774
|
try {
|
|
794
|
-
for (var s =
|
|
775
|
+
for (var s = Xe(a), l = s.next(); !l.done; l = s.next()) {
|
|
795
776
|
var u = l.value;
|
|
796
777
|
u.remove(this);
|
|
797
778
|
}
|
|
798
|
-
} catch (
|
|
799
|
-
t = { error:
|
|
779
|
+
} catch (d) {
|
|
780
|
+
t = { error: d };
|
|
800
781
|
} finally {
|
|
801
782
|
try {
|
|
802
783
|
l && !l.done && (r = s.return) && r.call(s);
|
|
@@ -808,29 +789,29 @@ var Te = function() {
|
|
|
808
789
|
else
|
|
809
790
|
a.remove(this);
|
|
810
791
|
var h = this.initialTeardown;
|
|
811
|
-
if (
|
|
792
|
+
if ($(h))
|
|
812
793
|
try {
|
|
813
794
|
h();
|
|
814
|
-
} catch (
|
|
815
|
-
o =
|
|
795
|
+
} catch (d) {
|
|
796
|
+
o = d instanceof Ne ? d.errors : [d];
|
|
816
797
|
}
|
|
817
798
|
var c = this._finalizers;
|
|
818
799
|
if (c) {
|
|
819
800
|
this._finalizers = null;
|
|
820
801
|
try {
|
|
821
|
-
for (var f =
|
|
822
|
-
var m =
|
|
802
|
+
for (var f = Xe(c), p = f.next(); !p.done; p = f.next()) {
|
|
803
|
+
var m = p.value;
|
|
823
804
|
try {
|
|
824
|
-
|
|
825
|
-
} catch (
|
|
826
|
-
o = o ?? [],
|
|
805
|
+
dt(m);
|
|
806
|
+
} catch (d) {
|
|
807
|
+
o = o ?? [], d instanceof Ne ? o = We(We([], ze(o)), ze(d.errors)) : o.push(d);
|
|
827
808
|
}
|
|
828
809
|
}
|
|
829
|
-
} catch (
|
|
830
|
-
n = { error:
|
|
810
|
+
} catch (d) {
|
|
811
|
+
n = { error: d };
|
|
831
812
|
} finally {
|
|
832
813
|
try {
|
|
833
|
-
|
|
814
|
+
p && !p.done && (i = f.return) && i.call(f);
|
|
834
815
|
} finally {
|
|
835
816
|
if (n)
|
|
836
817
|
throw n.error;
|
|
@@ -838,13 +819,13 @@ var Te = function() {
|
|
|
838
819
|
}
|
|
839
820
|
}
|
|
840
821
|
if (o)
|
|
841
|
-
throw new
|
|
822
|
+
throw new Ne(o);
|
|
842
823
|
}
|
|
843
824
|
}, e.prototype.add = function(t) {
|
|
844
825
|
var r;
|
|
845
826
|
if (t && t !== this)
|
|
846
827
|
if (this.closed)
|
|
847
|
-
|
|
828
|
+
dt(t);
|
|
848
829
|
else {
|
|
849
830
|
if (t instanceof e) {
|
|
850
831
|
if (t.closed || t._hasParent(this))
|
|
@@ -861,52 +842,52 @@ var Te = function() {
|
|
|
861
842
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
862
843
|
}, e.prototype._removeParent = function(t) {
|
|
863
844
|
var r = this._parentage;
|
|
864
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
845
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
|
|
865
846
|
}, e.prototype.remove = function(t) {
|
|
866
847
|
var r = this._finalizers;
|
|
867
|
-
r &&
|
|
848
|
+
r && Ze(r, t), t instanceof e && t._removeParent(this);
|
|
868
849
|
}, e.EMPTY = function() {
|
|
869
850
|
var t = new e();
|
|
870
851
|
return t.closed = !0, t;
|
|
871
852
|
}(), e;
|
|
872
|
-
}(),
|
|
873
|
-
function
|
|
874
|
-
return e instanceof
|
|
853
|
+
}(), Jt = He.EMPTY;
|
|
854
|
+
function qt(e) {
|
|
855
|
+
return e instanceof He || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
875
856
|
}
|
|
876
|
-
function
|
|
877
|
-
|
|
857
|
+
function dt(e) {
|
|
858
|
+
$(e) ? e() : e.unsubscribe();
|
|
878
859
|
}
|
|
879
|
-
var
|
|
860
|
+
var hn = {
|
|
880
861
|
Promise: void 0
|
|
881
|
-
},
|
|
862
|
+
}, cn = {
|
|
882
863
|
setTimeout: function(e, t) {
|
|
883
864
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
884
865
|
r[n - 2] = arguments[n];
|
|
885
|
-
return setTimeout.apply(void 0,
|
|
866
|
+
return setTimeout.apply(void 0, We([e, t], ze(r)));
|
|
886
867
|
},
|
|
887
868
|
clearTimeout: function(e) {
|
|
888
869
|
return clearTimeout(e);
|
|
889
870
|
},
|
|
890
871
|
delegate: void 0
|
|
891
872
|
};
|
|
892
|
-
function
|
|
893
|
-
|
|
873
|
+
function fn(e) {
|
|
874
|
+
cn.setTimeout(function() {
|
|
894
875
|
throw e;
|
|
895
876
|
});
|
|
896
877
|
}
|
|
897
|
-
function
|
|
878
|
+
function bt() {
|
|
898
879
|
}
|
|
899
880
|
function be(e) {
|
|
900
881
|
e();
|
|
901
882
|
}
|
|
902
|
-
var
|
|
903
|
-
|
|
883
|
+
var Yt = function(e) {
|
|
884
|
+
ue(t, e);
|
|
904
885
|
function t(r) {
|
|
905
886
|
var n = e.call(this) || this;
|
|
906
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
887
|
+
return n.isStopped = !1, r ? (n.destination = r, qt(r) && r.add(n)) : n.destination = dn, n;
|
|
907
888
|
}
|
|
908
889
|
return t.create = function(r, n, i) {
|
|
909
|
-
return new
|
|
890
|
+
return new Qe(r, n, i);
|
|
910
891
|
}, t.prototype.next = function(r) {
|
|
911
892
|
this.isStopped || this._next(r);
|
|
912
893
|
}, t.prototype.error = function(r) {
|
|
@@ -930,7 +911,7 @@ var Wt = function(e) {
|
|
|
930
911
|
this.unsubscribe();
|
|
931
912
|
}
|
|
932
913
|
}, t;
|
|
933
|
-
}(
|
|
914
|
+
}(He), mn = function() {
|
|
934
915
|
function e(t) {
|
|
935
916
|
this.partialObserver = t;
|
|
936
917
|
}
|
|
@@ -961,43 +942,43 @@ var Wt = function(e) {
|
|
|
961
942
|
fe(r);
|
|
962
943
|
}
|
|
963
944
|
}, e;
|
|
964
|
-
}(),
|
|
965
|
-
|
|
945
|
+
}(), Qe = function(e) {
|
|
946
|
+
ue(t, e);
|
|
966
947
|
function t(r, n, i) {
|
|
967
948
|
var o = e.call(this) || this, a;
|
|
968
|
-
return
|
|
949
|
+
return $(r) || !r ? a = {
|
|
969
950
|
next: r ?? void 0,
|
|
970
951
|
error: n ?? void 0,
|
|
971
952
|
complete: i ?? void 0
|
|
972
|
-
} : a = r, o.destination = new
|
|
953
|
+
} : a = r, o.destination = new mn(a), o;
|
|
973
954
|
}
|
|
974
955
|
return t;
|
|
975
|
-
}(
|
|
956
|
+
}(Yt);
|
|
976
957
|
function fe(e) {
|
|
977
|
-
|
|
958
|
+
fn(e);
|
|
978
959
|
}
|
|
979
|
-
function
|
|
960
|
+
function pn(e) {
|
|
980
961
|
throw e;
|
|
981
962
|
}
|
|
982
|
-
var
|
|
963
|
+
var dn = {
|
|
983
964
|
closed: !0,
|
|
984
|
-
next:
|
|
985
|
-
error:
|
|
986
|
-
complete:
|
|
987
|
-
},
|
|
965
|
+
next: bt,
|
|
966
|
+
error: pn,
|
|
967
|
+
complete: bt
|
|
968
|
+
}, bn = function() {
|
|
988
969
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
989
970
|
}();
|
|
990
|
-
function
|
|
971
|
+
function gn(e) {
|
|
991
972
|
return e;
|
|
992
973
|
}
|
|
993
|
-
function
|
|
994
|
-
return e.length === 0 ?
|
|
974
|
+
function yn(e) {
|
|
975
|
+
return e.length === 0 ? gn : e.length === 1 ? e[0] : function(r) {
|
|
995
976
|
return e.reduce(function(n, i) {
|
|
996
977
|
return i(n);
|
|
997
978
|
}, r);
|
|
998
979
|
};
|
|
999
980
|
}
|
|
1000
|
-
var
|
|
981
|
+
var gt = function() {
|
|
1001
982
|
function e(t) {
|
|
1002
983
|
t && (this._subscribe = t);
|
|
1003
984
|
}
|
|
@@ -1005,7 +986,7 @@ var ft = function() {
|
|
|
1005
986
|
var r = new e();
|
|
1006
987
|
return r.source = this, r.operator = t, r;
|
|
1007
988
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1008
|
-
var i = this, o =
|
|
989
|
+
var i = this, o = _n(t) ? t : new Qe(t, r, n);
|
|
1009
990
|
return be(function() {
|
|
1010
991
|
var a = i, s = a.operator, l = a.source;
|
|
1011
992
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1018,8 +999,8 @@ var ft = function() {
|
|
|
1018
999
|
}
|
|
1019
1000
|
}, e.prototype.forEach = function(t, r) {
|
|
1020
1001
|
var n = this;
|
|
1021
|
-
return r =
|
|
1022
|
-
var a = new
|
|
1002
|
+
return r = yt(r), new r(function(i, o) {
|
|
1003
|
+
var a = new Qe({
|
|
1023
1004
|
next: function(s) {
|
|
1024
1005
|
try {
|
|
1025
1006
|
t(s);
|
|
@@ -1035,15 +1016,15 @@ var ft = function() {
|
|
|
1035
1016
|
}, e.prototype._subscribe = function(t) {
|
|
1036
1017
|
var r;
|
|
1037
1018
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1038
|
-
}, e.prototype[
|
|
1019
|
+
}, e.prototype[bn] = function() {
|
|
1039
1020
|
return this;
|
|
1040
1021
|
}, e.prototype.pipe = function() {
|
|
1041
1022
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1042
1023
|
t[r] = arguments[r];
|
|
1043
|
-
return
|
|
1024
|
+
return yn(t)(this);
|
|
1044
1025
|
}, e.prototype.toPromise = function(t) {
|
|
1045
1026
|
var r = this;
|
|
1046
|
-
return t =
|
|
1027
|
+
return t = yt(t), new t(function(n, i) {
|
|
1047
1028
|
var o;
|
|
1048
1029
|
r.subscribe(function(a) {
|
|
1049
1030
|
return o = a;
|
|
@@ -1057,32 +1038,32 @@ var ft = function() {
|
|
|
1057
1038
|
return new e(t);
|
|
1058
1039
|
}, e;
|
|
1059
1040
|
}();
|
|
1060
|
-
function
|
|
1041
|
+
function yt(e) {
|
|
1061
1042
|
var t;
|
|
1062
|
-
return (t = e ??
|
|
1043
|
+
return (t = e ?? hn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1063
1044
|
}
|
|
1064
|
-
function
|
|
1065
|
-
return e &&
|
|
1045
|
+
function vn(e) {
|
|
1046
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
1066
1047
|
}
|
|
1067
|
-
function
|
|
1068
|
-
return e && e instanceof
|
|
1048
|
+
function _n(e) {
|
|
1049
|
+
return e && e instanceof Yt || vn(e) && qt(e);
|
|
1069
1050
|
}
|
|
1070
|
-
var
|
|
1051
|
+
var xn = Qt(function(e) {
|
|
1071
1052
|
return function() {
|
|
1072
1053
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1073
1054
|
};
|
|
1074
|
-
}),
|
|
1075
|
-
|
|
1055
|
+
}), Kt = function(e) {
|
|
1056
|
+
ue(t, e);
|
|
1076
1057
|
function t() {
|
|
1077
1058
|
var r = e.call(this) || this;
|
|
1078
1059
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1079
1060
|
}
|
|
1080
1061
|
return t.prototype.lift = function(r) {
|
|
1081
|
-
var n = new
|
|
1062
|
+
var n = new vt(this, this);
|
|
1082
1063
|
return n.operator = r, n;
|
|
1083
1064
|
}, t.prototype._throwIfClosed = function() {
|
|
1084
1065
|
if (this.closed)
|
|
1085
|
-
throw new
|
|
1066
|
+
throw new xn();
|
|
1086
1067
|
}, t.prototype.next = function(r) {
|
|
1087
1068
|
var n = this;
|
|
1088
1069
|
be(function() {
|
|
@@ -1090,7 +1071,7 @@ var gn = Vt(function(e) {
|
|
|
1090
1071
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1091
1072
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1092
1073
|
try {
|
|
1093
|
-
for (var a =
|
|
1074
|
+
for (var a = Xe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1094
1075
|
var l = s.value;
|
|
1095
1076
|
l.next(r);
|
|
1096
1077
|
}
|
|
@@ -1139,20 +1120,20 @@ var gn = Vt(function(e) {
|
|
|
1139
1120
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1140
1121
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1141
1122
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1142
|
-
return o || a ?
|
|
1143
|
-
n.currentObservers = null,
|
|
1123
|
+
return o || a ? Jt : (this.currentObservers = null, s.push(r), new He(function() {
|
|
1124
|
+
n.currentObservers = null, Ze(s, r);
|
|
1144
1125
|
}));
|
|
1145
1126
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1146
1127
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1147
1128
|
i ? r.error(o) : a && r.complete();
|
|
1148
1129
|
}, t.prototype.asObservable = function() {
|
|
1149
|
-
var r = new
|
|
1130
|
+
var r = new gt();
|
|
1150
1131
|
return r.source = this, r;
|
|
1151
1132
|
}, t.create = function(r, n) {
|
|
1152
|
-
return new
|
|
1133
|
+
return new vt(r, n);
|
|
1153
1134
|
}, t;
|
|
1154
|
-
}(
|
|
1155
|
-
|
|
1135
|
+
}(gt), vt = function(e) {
|
|
1136
|
+
ue(t, e);
|
|
1156
1137
|
function t(r, n) {
|
|
1157
1138
|
var i = e.call(this) || this;
|
|
1158
1139
|
return i.destination = r, i.source = n, i;
|
|
@@ -1168,17 +1149,17 @@ var gn = Vt(function(e) {
|
|
|
1168
1149
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1169
1150
|
}, t.prototype._subscribe = function(r) {
|
|
1170
1151
|
var n, i;
|
|
1171
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1152
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Jt;
|
|
1172
1153
|
}, t;
|
|
1173
|
-
}(
|
|
1154
|
+
}(Kt), er = {
|
|
1174
1155
|
now: function() {
|
|
1175
|
-
return (
|
|
1156
|
+
return (er.delegate || Date).now();
|
|
1176
1157
|
},
|
|
1177
1158
|
delegate: void 0
|
|
1178
|
-
},
|
|
1179
|
-
|
|
1159
|
+
}, En = function(e) {
|
|
1160
|
+
ue(t, e);
|
|
1180
1161
|
function t(r, n, i) {
|
|
1181
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1162
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = er);
|
|
1182
1163
|
var o = e.call(this) || this;
|
|
1183
1164
|
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;
|
|
1184
1165
|
}
|
|
@@ -1198,24 +1179,24 @@ var gn = Vt(function(e) {
|
|
|
1198
1179
|
u && o.splice(0, u + 1);
|
|
1199
1180
|
}
|
|
1200
1181
|
}, t;
|
|
1201
|
-
}(
|
|
1202
|
-
const
|
|
1203
|
-
if (
|
|
1204
|
-
const r = new
|
|
1205
|
-
|
|
1182
|
+
}(Kt);
|
|
1183
|
+
const _t = [], xt = {}, wn = (e, t = 0) => {
|
|
1184
|
+
if (_t.indexOf(e) == -1) {
|
|
1185
|
+
const r = new En(t);
|
|
1186
|
+
xt[e] = r, _t.push(e);
|
|
1206
1187
|
}
|
|
1207
|
-
return
|
|
1188
|
+
return xt[e];
|
|
1208
1189
|
}, k = [];
|
|
1209
|
-
function
|
|
1190
|
+
function Sn(e, t) {
|
|
1210
1191
|
return {
|
|
1211
|
-
subscribe:
|
|
1192
|
+
subscribe: Ae(e, t).subscribe
|
|
1212
1193
|
};
|
|
1213
1194
|
}
|
|
1214
|
-
function
|
|
1195
|
+
function Ae(e, t = M) {
|
|
1215
1196
|
let r;
|
|
1216
1197
|
const n = /* @__PURE__ */ new Set();
|
|
1217
1198
|
function i(s) {
|
|
1218
|
-
if (
|
|
1199
|
+
if (Ft(e, s) && (e = s, r)) {
|
|
1219
1200
|
const l = !k.length;
|
|
1220
1201
|
for (const u of n)
|
|
1221
1202
|
u[1](), k.push(u, e);
|
|
@@ -1237,12 +1218,12 @@ function He(e, t = M) {
|
|
|
1237
1218
|
}
|
|
1238
1219
|
return { set: i, update: o, subscribe: a };
|
|
1239
1220
|
}
|
|
1240
|
-
function
|
|
1221
|
+
function q(e, t, r) {
|
|
1241
1222
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1242
1223
|
if (!i.every(Boolean))
|
|
1243
1224
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1244
1225
|
const o = t.length < 2;
|
|
1245
|
-
return
|
|
1226
|
+
return Sn(r, (a, s) => {
|
|
1246
1227
|
let l = !1;
|
|
1247
1228
|
const u = [];
|
|
1248
1229
|
let h = 0, c = M;
|
|
@@ -1251,129 +1232,171 @@ function Y(e, t, r) {
|
|
|
1251
1232
|
return;
|
|
1252
1233
|
c();
|
|
1253
1234
|
const m = t(n ? u[0] : u, a, s);
|
|
1254
|
-
o ? a(m) : c =
|
|
1255
|
-
},
|
|
1256
|
-
(m,
|
|
1235
|
+
o ? a(m) : c = Te(m) ? m : M;
|
|
1236
|
+
}, p = i.map(
|
|
1237
|
+
(m, d) => jt(
|
|
1257
1238
|
m,
|
|
1258
1239
|
(g) => {
|
|
1259
|
-
u[
|
|
1240
|
+
u[d] = g, h &= ~(1 << d), l && f();
|
|
1260
1241
|
},
|
|
1261
1242
|
() => {
|
|
1262
|
-
h |= 1 <<
|
|
1243
|
+
h |= 1 << d;
|
|
1263
1244
|
}
|
|
1264
1245
|
)
|
|
1265
1246
|
);
|
|
1266
1247
|
return l = !0, f(), function() {
|
|
1267
|
-
G(
|
|
1248
|
+
G(p), c(), l = !1;
|
|
1268
1249
|
};
|
|
1269
1250
|
});
|
|
1270
1251
|
}
|
|
1271
|
-
var
|
|
1272
|
-
function
|
|
1252
|
+
var Io = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1253
|
+
function Tn(e) {
|
|
1273
1254
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1274
1255
|
}
|
|
1275
|
-
var
|
|
1276
|
-
return
|
|
1256
|
+
var Hn = function(t) {
|
|
1257
|
+
return An(t) && !Bn(t);
|
|
1277
1258
|
};
|
|
1278
|
-
function
|
|
1259
|
+
function An(e) {
|
|
1279
1260
|
return !!e && typeof e == "object";
|
|
1280
1261
|
}
|
|
1281
|
-
function
|
|
1262
|
+
function Bn(e) {
|
|
1282
1263
|
var t = Object.prototype.toString.call(e);
|
|
1283
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1264
|
+
return t === "[object RegExp]" || t === "[object Date]" || On(e);
|
|
1284
1265
|
}
|
|
1285
|
-
var
|
|
1286
|
-
function
|
|
1287
|
-
return e.$$typeof ===
|
|
1266
|
+
var Cn = typeof Symbol == "function" && Symbol.for, Pn = Cn ? Symbol.for("react.element") : 60103;
|
|
1267
|
+
function On(e) {
|
|
1268
|
+
return e.$$typeof === Pn;
|
|
1288
1269
|
}
|
|
1289
|
-
function
|
|
1270
|
+
function In(e) {
|
|
1290
1271
|
return Array.isArray(e) ? [] : {};
|
|
1291
1272
|
}
|
|
1292
|
-
function
|
|
1293
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1273
|
+
function ie(e, t) {
|
|
1274
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? W(In(e), e, t) : e;
|
|
1294
1275
|
}
|
|
1295
|
-
function
|
|
1276
|
+
function Mn(e, t, r) {
|
|
1296
1277
|
return e.concat(t).map(function(n) {
|
|
1297
|
-
return
|
|
1278
|
+
return ie(n, r);
|
|
1298
1279
|
});
|
|
1299
1280
|
}
|
|
1300
|
-
function
|
|
1281
|
+
function Nn(e, t) {
|
|
1301
1282
|
if (!t.customMerge)
|
|
1302
|
-
return
|
|
1283
|
+
return W;
|
|
1303
1284
|
var r = t.customMerge(e);
|
|
1304
|
-
return typeof r == "function" ? r :
|
|
1285
|
+
return typeof r == "function" ? r : W;
|
|
1305
1286
|
}
|
|
1306
|
-
function
|
|
1287
|
+
function Ln(e) {
|
|
1307
1288
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1308
1289
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1309
1290
|
}) : [];
|
|
1310
1291
|
}
|
|
1311
|
-
function
|
|
1312
|
-
return Object.keys(e).concat(
|
|
1292
|
+
function Et(e) {
|
|
1293
|
+
return Object.keys(e).concat(Ln(e));
|
|
1313
1294
|
}
|
|
1314
|
-
function
|
|
1295
|
+
function tr(e, t) {
|
|
1315
1296
|
try {
|
|
1316
1297
|
return t in e;
|
|
1317
1298
|
} catch {
|
|
1318
1299
|
return !1;
|
|
1319
1300
|
}
|
|
1320
1301
|
}
|
|
1321
|
-
function
|
|
1322
|
-
return
|
|
1302
|
+
function $n(e, t) {
|
|
1303
|
+
return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1323
1304
|
}
|
|
1324
|
-
function
|
|
1305
|
+
function Rn(e, t, r) {
|
|
1325
1306
|
var n = {};
|
|
1326
|
-
return r.isMergeableObject(e) &&
|
|
1327
|
-
n[i] =
|
|
1328
|
-
}),
|
|
1329
|
-
|
|
1307
|
+
return r.isMergeableObject(e) && Et(e).forEach(function(i) {
|
|
1308
|
+
n[i] = ie(e[i], r);
|
|
1309
|
+
}), Et(t).forEach(function(i) {
|
|
1310
|
+
$n(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
1330
1311
|
}), n;
|
|
1331
1312
|
}
|
|
1332
|
-
function
|
|
1333
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1313
|
+
function W(e, t, r) {
|
|
1314
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Hn, r.cloneUnlessOtherwiseSpecified = ie;
|
|
1334
1315
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1335
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1316
|
+
return o ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : ie(t, r);
|
|
1336
1317
|
}
|
|
1337
|
-
|
|
1318
|
+
W.all = function(t, r) {
|
|
1338
1319
|
if (!Array.isArray(t))
|
|
1339
1320
|
throw new Error("first argument should be an array");
|
|
1340
1321
|
return t.reduce(function(n, i) {
|
|
1341
|
-
return
|
|
1322
|
+
return W(n, i, r);
|
|
1342
1323
|
}, {});
|
|
1343
1324
|
};
|
|
1344
|
-
var
|
|
1345
|
-
const
|
|
1346
|
-
function
|
|
1347
|
-
|
|
1325
|
+
var Gn = W, Un = Gn;
|
|
1326
|
+
const Dn = /* @__PURE__ */ Tn(Un);
|
|
1327
|
+
var Je = function(e, t) {
|
|
1328
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1329
|
+
r.__proto__ = n;
|
|
1330
|
+
} || function(r, n) {
|
|
1331
|
+
for (var i in n)
|
|
1332
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1333
|
+
}, Je(e, t);
|
|
1334
|
+
};
|
|
1335
|
+
function Be(e, t) {
|
|
1336
|
+
if (typeof t != "function" && t !== null)
|
|
1337
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1338
|
+
Je(e, t);
|
|
1339
|
+
function r() {
|
|
1340
|
+
this.constructor = e;
|
|
1341
|
+
}
|
|
1342
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1343
|
+
}
|
|
1344
|
+
var N = function() {
|
|
1345
|
+
return N = Object.assign || function(t) {
|
|
1346
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1347
|
+
r = arguments[n];
|
|
1348
|
+
for (var o in r)
|
|
1349
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1350
|
+
}
|
|
1351
|
+
return t;
|
|
1352
|
+
}, N.apply(this, arguments);
|
|
1353
|
+
};
|
|
1354
|
+
function Fn(e, t) {
|
|
1355
|
+
var r = {};
|
|
1356
|
+
for (var n in e)
|
|
1357
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1358
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1359
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1360
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1361
|
+
return r;
|
|
1362
|
+
}
|
|
1363
|
+
function Le(e, t, r) {
|
|
1364
|
+
if (r || arguments.length === 2)
|
|
1365
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1366
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1367
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1368
|
+
}
|
|
1369
|
+
function $e(e, t) {
|
|
1370
|
+
var r = t && t.cache ? t.cache : Zn, n = t && t.serializer ? t.serializer : zn, i = t && t.strategy ? t.strategy : Vn;
|
|
1348
1371
|
return i(e, {
|
|
1349
1372
|
cache: r,
|
|
1350
1373
|
serializer: n
|
|
1351
1374
|
});
|
|
1352
1375
|
}
|
|
1353
|
-
function
|
|
1376
|
+
function jn(e) {
|
|
1354
1377
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1355
1378
|
}
|
|
1356
|
-
function
|
|
1357
|
-
var i =
|
|
1379
|
+
function kn(e, t, r, n) {
|
|
1380
|
+
var i = jn(n) ? n : r(n), o = t.get(i);
|
|
1358
1381
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1359
1382
|
}
|
|
1360
|
-
function
|
|
1383
|
+
function rr(e, t, r) {
|
|
1361
1384
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1362
1385
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1363
1386
|
}
|
|
1364
|
-
function
|
|
1387
|
+
function nr(e, t, r, n, i) {
|
|
1365
1388
|
return r.bind(t, e, n, i);
|
|
1366
1389
|
}
|
|
1367
|
-
function
|
|
1368
|
-
var r = e.length === 1 ?
|
|
1369
|
-
return
|
|
1390
|
+
function Vn(e, t) {
|
|
1391
|
+
var r = e.length === 1 ? kn : rr;
|
|
1392
|
+
return nr(e, this, r, t.cache.create(), t.serializer);
|
|
1370
1393
|
}
|
|
1371
|
-
function
|
|
1372
|
-
return
|
|
1394
|
+
function Xn(e, t) {
|
|
1395
|
+
return nr(e, this, rr, t.cache.create(), t.serializer);
|
|
1373
1396
|
}
|
|
1374
|
-
var
|
|
1397
|
+
var zn = function() {
|
|
1375
1398
|
return JSON.stringify(arguments);
|
|
1376
|
-
},
|
|
1399
|
+
}, Wn = (
|
|
1377
1400
|
/** @class */
|
|
1378
1401
|
function() {
|
|
1379
1402
|
function e() {
|
|
@@ -1385,61 +1408,71 @@ var Fn = function() {
|
|
|
1385
1408
|
this.cache[t] = r;
|
|
1386
1409
|
}, e;
|
|
1387
1410
|
}()
|
|
1388
|
-
),
|
|
1411
|
+
), Zn = {
|
|
1389
1412
|
create: function() {
|
|
1390
|
-
return new
|
|
1413
|
+
return new Wn();
|
|
1391
1414
|
}
|
|
1392
|
-
},
|
|
1393
|
-
variadic:
|
|
1394
|
-
},
|
|
1415
|
+
}, Re = {
|
|
1416
|
+
variadic: Xn
|
|
1417
|
+
}, Ee = function() {
|
|
1418
|
+
return Ee = Object.assign || function(t) {
|
|
1419
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1420
|
+
r = arguments[n];
|
|
1421
|
+
for (var o in r)
|
|
1422
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1423
|
+
}
|
|
1424
|
+
return t;
|
|
1425
|
+
}, Ee.apply(this, arguments);
|
|
1426
|
+
};
|
|
1427
|
+
var y;
|
|
1395
1428
|
(function(e) {
|
|
1396
1429
|
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";
|
|
1397
1430
|
})(y || (y = {}));
|
|
1398
|
-
var
|
|
1431
|
+
var w;
|
|
1399
1432
|
(function(e) {
|
|
1400
1433
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1401
|
-
})(
|
|
1402
|
-
var
|
|
1434
|
+
})(w || (w = {}));
|
|
1435
|
+
var Z;
|
|
1403
1436
|
(function(e) {
|
|
1404
1437
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1405
|
-
})(
|
|
1406
|
-
function
|
|
1407
|
-
return e.type ===
|
|
1438
|
+
})(Z || (Z = {}));
|
|
1439
|
+
function wt(e) {
|
|
1440
|
+
return e.type === w.literal;
|
|
1408
1441
|
}
|
|
1409
|
-
function
|
|
1410
|
-
return e.type ===
|
|
1442
|
+
function Qn(e) {
|
|
1443
|
+
return e.type === w.argument;
|
|
1411
1444
|
}
|
|
1412
|
-
function
|
|
1413
|
-
return e.type ===
|
|
1445
|
+
function ir(e) {
|
|
1446
|
+
return e.type === w.number;
|
|
1414
1447
|
}
|
|
1415
|
-
function
|
|
1416
|
-
return e.type ===
|
|
1448
|
+
function or(e) {
|
|
1449
|
+
return e.type === w.date;
|
|
1417
1450
|
}
|
|
1418
|
-
function
|
|
1419
|
-
return e.type ===
|
|
1451
|
+
function sr(e) {
|
|
1452
|
+
return e.type === w.time;
|
|
1420
1453
|
}
|
|
1421
|
-
function
|
|
1422
|
-
return e.type ===
|
|
1454
|
+
function ar(e) {
|
|
1455
|
+
return e.type === w.select;
|
|
1423
1456
|
}
|
|
1424
|
-
function
|
|
1425
|
-
return e.type ===
|
|
1457
|
+
function ur(e) {
|
|
1458
|
+
return e.type === w.plural;
|
|
1426
1459
|
}
|
|
1427
|
-
function
|
|
1428
|
-
return e.type ===
|
|
1460
|
+
function Jn(e) {
|
|
1461
|
+
return e.type === w.pound;
|
|
1429
1462
|
}
|
|
1430
|
-
function
|
|
1431
|
-
return e.type ===
|
|
1463
|
+
function lr(e) {
|
|
1464
|
+
return e.type === w.tag;
|
|
1432
1465
|
}
|
|
1433
|
-
function
|
|
1434
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1466
|
+
function hr(e) {
|
|
1467
|
+
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1435
1468
|
}
|
|
1436
|
-
function
|
|
1437
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1469
|
+
function qe(e) {
|
|
1470
|
+
return !!(e && typeof e == "object" && e.type === Z.dateTime);
|
|
1438
1471
|
}
|
|
1439
|
-
var
|
|
1440
|
-
function
|
|
1472
|
+
var cr = /[ \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;
|
|
1473
|
+
function Yn(e) {
|
|
1441
1474
|
var t = {};
|
|
1442
|
-
return e.replace(
|
|
1475
|
+
return e.replace(qn, function(r) {
|
|
1443
1476
|
var n = r.length;
|
|
1444
1477
|
switch (r[0]) {
|
|
1445
1478
|
case "G":
|
|
@@ -1528,11 +1561,21 @@ function Wn(e) {
|
|
|
1528
1561
|
return "";
|
|
1529
1562
|
}), t;
|
|
1530
1563
|
}
|
|
1531
|
-
var
|
|
1532
|
-
function
|
|
1564
|
+
var S = function() {
|
|
1565
|
+
return S = Object.assign || function(t) {
|
|
1566
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1567
|
+
r = arguments[n];
|
|
1568
|
+
for (var o in r)
|
|
1569
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1570
|
+
}
|
|
1571
|
+
return t;
|
|
1572
|
+
}, S.apply(this, arguments);
|
|
1573
|
+
};
|
|
1574
|
+
var Kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1575
|
+
function ei(e) {
|
|
1533
1576
|
if (e.length === 0)
|
|
1534
1577
|
throw new Error("Number skeleton cannot be empty");
|
|
1535
|
-
for (var t = e.split(
|
|
1578
|
+
for (var t = e.split(Kn).filter(function(f) {
|
|
1536
1579
|
return f.length > 0;
|
|
1537
1580
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1538
1581
|
var o = i[n], a = o.split("/");
|
|
@@ -1547,17 +1590,17 @@ function Qn(e) {
|
|
|
1547
1590
|
}
|
|
1548
1591
|
return r;
|
|
1549
1592
|
}
|
|
1550
|
-
function
|
|
1593
|
+
function ti(e) {
|
|
1551
1594
|
return e.replace(/^(.*?)-/, "");
|
|
1552
1595
|
}
|
|
1553
|
-
var
|
|
1554
|
-
function
|
|
1596
|
+
var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, ri = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
|
|
1597
|
+
function Tt(e) {
|
|
1555
1598
|
var t = {};
|
|
1556
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1599
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, n, i) {
|
|
1557
1600
|
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)), "";
|
|
1558
1601
|
}), t;
|
|
1559
1602
|
}
|
|
1560
|
-
function
|
|
1603
|
+
function pr(e) {
|
|
1561
1604
|
switch (e) {
|
|
1562
1605
|
case "sign-auto":
|
|
1563
1606
|
return {
|
|
@@ -1597,7 +1640,7 @@ function lr(e) {
|
|
|
1597
1640
|
};
|
|
1598
1641
|
}
|
|
1599
1642
|
}
|
|
1600
|
-
function
|
|
1643
|
+
function ni(e) {
|
|
1601
1644
|
var t;
|
|
1602
1645
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1603
1646
|
notation: "engineering"
|
|
@@ -1605,17 +1648,17 @@ function Yn(e) {
|
|
|
1605
1648
|
notation: "scientific"
|
|
1606
1649
|
}, e = e.slice(1)), t) {
|
|
1607
1650
|
var r = e.slice(0, 2);
|
|
1608
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1651
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
|
|
1609
1652
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1610
1653
|
t.minimumIntegerDigits = e.length;
|
|
1611
1654
|
}
|
|
1612
1655
|
return t;
|
|
1613
1656
|
}
|
|
1614
|
-
function
|
|
1615
|
-
var t = {}, r =
|
|
1657
|
+
function Ht(e) {
|
|
1658
|
+
var t = {}, r = pr(e);
|
|
1616
1659
|
return r || t;
|
|
1617
1660
|
}
|
|
1618
|
-
function
|
|
1661
|
+
function ii(e) {
|
|
1619
1662
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1620
1663
|
var i = n[r];
|
|
1621
1664
|
switch (i.stem) {
|
|
@@ -1639,7 +1682,7 @@ function Kn(e) {
|
|
|
1639
1682
|
continue;
|
|
1640
1683
|
case "measure-unit":
|
|
1641
1684
|
case "unit":
|
|
1642
|
-
t.style = "unit", t.unit =
|
|
1685
|
+
t.style = "unit", t.unit = ti(i.options[0]);
|
|
1643
1686
|
continue;
|
|
1644
1687
|
case "compact-short":
|
|
1645
1688
|
case "K":
|
|
@@ -1650,13 +1693,13 @@ function Kn(e) {
|
|
|
1650
1693
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1651
1694
|
continue;
|
|
1652
1695
|
case "scientific":
|
|
1653
|
-
t =
|
|
1654
|
-
return
|
|
1696
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1697
|
+
return S(S({}, l), Ht(u));
|
|
1655
1698
|
}, {}));
|
|
1656
1699
|
continue;
|
|
1657
1700
|
case "engineering":
|
|
1658
|
-
t =
|
|
1659
|
-
return
|
|
1701
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1702
|
+
return S(S({}, l), Ht(u));
|
|
1660
1703
|
}, {}));
|
|
1661
1704
|
continue;
|
|
1662
1705
|
case "notation-simple":
|
|
@@ -1701,41 +1744,41 @@ function Kn(e) {
|
|
|
1701
1744
|
case "integer-width":
|
|
1702
1745
|
if (i.options.length > 1)
|
|
1703
1746
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1704
|
-
i.options[0].replace(
|
|
1747
|
+
i.options[0].replace(ri, function(l, u, h, c, f, p) {
|
|
1705
1748
|
if (u)
|
|
1706
1749
|
t.minimumIntegerDigits = h.length;
|
|
1707
1750
|
else {
|
|
1708
1751
|
if (c && f)
|
|
1709
1752
|
throw new Error("We currently do not support maximum integer digits");
|
|
1710
|
-
if (
|
|
1753
|
+
if (p)
|
|
1711
1754
|
throw new Error("We currently do not support exact integer digits");
|
|
1712
1755
|
}
|
|
1713
1756
|
return "";
|
|
1714
1757
|
});
|
|
1715
1758
|
continue;
|
|
1716
1759
|
}
|
|
1717
|
-
if (
|
|
1760
|
+
if (mr.test(i.stem)) {
|
|
1718
1761
|
t.minimumIntegerDigits = i.stem.length;
|
|
1719
1762
|
continue;
|
|
1720
1763
|
}
|
|
1721
|
-
if (
|
|
1764
|
+
if (St.test(i.stem)) {
|
|
1722
1765
|
if (i.options.length > 1)
|
|
1723
1766
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1724
|
-
i.stem.replace(
|
|
1725
|
-
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1767
|
+
i.stem.replace(St, function(l, u, h, c, f, p) {
|
|
1768
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1726
1769
|
});
|
|
1727
1770
|
var o = i.options[0];
|
|
1728
|
-
o === "w" ? t =
|
|
1771
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Tt(o)));
|
|
1729
1772
|
continue;
|
|
1730
1773
|
}
|
|
1731
|
-
if (
|
|
1732
|
-
t =
|
|
1774
|
+
if (fr.test(i.stem)) {
|
|
1775
|
+
t = S(S({}, t), Tt(i.stem));
|
|
1733
1776
|
continue;
|
|
1734
1777
|
}
|
|
1735
|
-
var a =
|
|
1736
|
-
a && (t =
|
|
1737
|
-
var s =
|
|
1738
|
-
s && (t =
|
|
1778
|
+
var a = pr(i.stem);
|
|
1779
|
+
a && (t = S(S({}, t), a));
|
|
1780
|
+
var s = ni(i.stem);
|
|
1781
|
+
s && (t = S(S({}, t), s));
|
|
1739
1782
|
}
|
|
1740
1783
|
return t;
|
|
1741
1784
|
}
|
|
@@ -3154,13 +3197,13 @@ var me = {
|
|
|
3154
3197
|
"h"
|
|
3155
3198
|
]
|
|
3156
3199
|
};
|
|
3157
|
-
function
|
|
3200
|
+
function oi(e, t) {
|
|
3158
3201
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3159
3202
|
var i = e.charAt(n);
|
|
3160
3203
|
if (i === "j") {
|
|
3161
3204
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3162
3205
|
o++, n++;
|
|
3163
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3206
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = si(t);
|
|
3164
3207
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3165
3208
|
r += l;
|
|
3166
3209
|
for (; a-- > 0; )
|
|
@@ -3170,7 +3213,7 @@ function ei(e, t) {
|
|
|
3170
3213
|
}
|
|
3171
3214
|
return r;
|
|
3172
3215
|
}
|
|
3173
|
-
function
|
|
3216
|
+
function si(e) {
|
|
3174
3217
|
var t = e.hourCycle;
|
|
3175
3218
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3176
3219
|
e.hourCycles && // @ts-ignore
|
|
@@ -3192,20 +3235,20 @@ function ti(e) {
|
|
|
3192
3235
|
var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
|
|
3193
3236
|
return i[0];
|
|
3194
3237
|
}
|
|
3195
|
-
var
|
|
3238
|
+
var Ge, ai = new RegExp("^".concat(cr.source, "*")), ui = new RegExp("".concat(cr.source, "*$"));
|
|
3196
3239
|
function _(e, t) {
|
|
3197
3240
|
return { start: e, end: t };
|
|
3198
3241
|
}
|
|
3199
|
-
var
|
|
3242
|
+
var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), hi = !!String.fromCodePoint, ci = !!Object.fromEntries, fi = !!String.prototype.codePointAt, mi = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, bi = di ? Number.isSafeInteger : function(e) {
|
|
3200
3243
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3201
|
-
},
|
|
3244
|
+
}, Ye = !0;
|
|
3202
3245
|
try {
|
|
3203
|
-
var
|
|
3204
|
-
|
|
3246
|
+
var gi = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3247
|
+
Ye = ((Ge = gi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
|
3205
3248
|
} catch {
|
|
3206
|
-
|
|
3249
|
+
Ye = !1;
|
|
3207
3250
|
}
|
|
3208
|
-
var
|
|
3251
|
+
var At = li ? (
|
|
3209
3252
|
// Native
|
|
3210
3253
|
function(t, r, n) {
|
|
3211
3254
|
return t.startsWith(r, n);
|
|
@@ -3215,7 +3258,7 @@ var Et = ii ? (
|
|
|
3215
3258
|
function(t, r, n) {
|
|
3216
3259
|
return t.slice(n, n + r.length) === r;
|
|
3217
3260
|
}
|
|
3218
|
-
),
|
|
3261
|
+
), Ke = hi ? String.fromCodePoint : (
|
|
3219
3262
|
// IE11
|
|
3220
3263
|
function() {
|
|
3221
3264
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3227,9 +3270,9 @@ var Et = ii ? (
|
|
|
3227
3270
|
}
|
|
3228
3271
|
return n;
|
|
3229
3272
|
}
|
|
3230
|
-
),
|
|
3273
|
+
), Bt = (
|
|
3231
3274
|
// native
|
|
3232
|
-
|
|
3275
|
+
ci ? Object.fromEntries : (
|
|
3233
3276
|
// Ponyfill
|
|
3234
3277
|
function(t) {
|
|
3235
3278
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3239,7 +3282,7 @@ var Et = ii ? (
|
|
|
3239
3282
|
return r;
|
|
3240
3283
|
}
|
|
3241
3284
|
)
|
|
3242
|
-
),
|
|
3285
|
+
), dr = fi ? (
|
|
3243
3286
|
// Native
|
|
3244
3287
|
function(t, r) {
|
|
3245
3288
|
return t.codePointAt(r);
|
|
@@ -3253,7 +3296,7 @@ var Et = ii ? (
|
|
|
3253
3296
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3254
3297
|
}
|
|
3255
3298
|
}
|
|
3256
|
-
),
|
|
3299
|
+
), yi = mi ? (
|
|
3257
3300
|
// Native
|
|
3258
3301
|
function(t) {
|
|
3259
3302
|
return t.trimStart();
|
|
@@ -3261,9 +3304,9 @@ var Et = ii ? (
|
|
|
3261
3304
|
) : (
|
|
3262
3305
|
// Ponyfill
|
|
3263
3306
|
function(t) {
|
|
3264
|
-
return t.replace(
|
|
3307
|
+
return t.replace(ai, "");
|
|
3265
3308
|
}
|
|
3266
|
-
),
|
|
3309
|
+
), vi = pi ? (
|
|
3267
3310
|
// Native
|
|
3268
3311
|
function(t) {
|
|
3269
3312
|
return t.trimEnd();
|
|
@@ -3271,32 +3314,32 @@ var Et = ii ? (
|
|
|
3271
3314
|
) : (
|
|
3272
3315
|
// Ponyfill
|
|
3273
3316
|
function(t) {
|
|
3274
|
-
return t.replace(
|
|
3317
|
+
return t.replace(ui, "");
|
|
3275
3318
|
}
|
|
3276
3319
|
);
|
|
3277
|
-
function
|
|
3320
|
+
function br(e, t) {
|
|
3278
3321
|
return new RegExp(e, t);
|
|
3279
3322
|
}
|
|
3280
|
-
var
|
|
3281
|
-
if (
|
|
3282
|
-
var
|
|
3283
|
-
|
|
3323
|
+
var et;
|
|
3324
|
+
if (Ye) {
|
|
3325
|
+
var Ct = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3326
|
+
et = function(t, r) {
|
|
3284
3327
|
var n;
|
|
3285
|
-
|
|
3286
|
-
var i =
|
|
3328
|
+
Ct.lastIndex = r;
|
|
3329
|
+
var i = Ct.exec(t);
|
|
3287
3330
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3288
3331
|
};
|
|
3289
3332
|
} else
|
|
3290
|
-
|
|
3333
|
+
et = function(t, r) {
|
|
3291
3334
|
for (var n = []; ; ) {
|
|
3292
|
-
var i =
|
|
3293
|
-
if (i === void 0 ||
|
|
3335
|
+
var i = dr(t, r);
|
|
3336
|
+
if (i === void 0 || gr(i) || wi(i))
|
|
3294
3337
|
break;
|
|
3295
3338
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3296
3339
|
}
|
|
3297
|
-
return
|
|
3340
|
+
return Ke.apply(void 0, n);
|
|
3298
3341
|
};
|
|
3299
|
-
var
|
|
3342
|
+
var _i = (
|
|
3300
3343
|
/** @class */
|
|
3301
3344
|
function() {
|
|
3302
3345
|
function e(t, r) {
|
|
@@ -3320,14 +3363,14 @@ var pi = (
|
|
|
3320
3363
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3321
3364
|
var s = this.clonePosition();
|
|
3322
3365
|
this.bump(), i.push({
|
|
3323
|
-
type:
|
|
3366
|
+
type: w.pound,
|
|
3324
3367
|
location: _(s, this.clonePosition())
|
|
3325
3368
|
});
|
|
3326
3369
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3327
3370
|
if (n)
|
|
3328
3371
|
break;
|
|
3329
3372
|
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3330
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3373
|
+
} else if (o === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
|
|
3331
3374
|
var a = this.parseTag(t, r);
|
|
3332
3375
|
if (a.err)
|
|
3333
3376
|
return a;
|
|
@@ -3348,7 +3391,7 @@ var pi = (
|
|
|
3348
3391
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3349
3392
|
return {
|
|
3350
3393
|
val: {
|
|
3351
|
-
type:
|
|
3394
|
+
type: w.literal,
|
|
3352
3395
|
value: "<".concat(i, "/>"),
|
|
3353
3396
|
location: _(n, this.clonePosition())
|
|
3354
3397
|
},
|
|
@@ -3360,12 +3403,12 @@ var pi = (
|
|
|
3360
3403
|
return o;
|
|
3361
3404
|
var a = o.val, s = this.clonePosition();
|
|
3362
3405
|
if (this.bumpIf("</")) {
|
|
3363
|
-
if (this.isEOF() || !
|
|
3406
|
+
if (this.isEOF() || !tt(this.char()))
|
|
3364
3407
|
return this.error(y.INVALID_TAG, _(s, this.clonePosition()));
|
|
3365
3408
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3366
3409
|
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3367
3410
|
val: {
|
|
3368
|
-
type:
|
|
3411
|
+
type: w.tag,
|
|
3369
3412
|
value: i,
|
|
3370
3413
|
children: a,
|
|
3371
3414
|
location: _(n, this.clonePosition())
|
|
@@ -3378,7 +3421,7 @@ var pi = (
|
|
|
3378
3421
|
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
3379
3422
|
}, e.prototype.parseTagName = function() {
|
|
3380
3423
|
var t = this.offset();
|
|
3381
|
-
for (this.bump(); !this.isEOF() &&
|
|
3424
|
+
for (this.bump(); !this.isEOF() && Ei(this.char()); )
|
|
3382
3425
|
this.bump();
|
|
3383
3426
|
return this.message.slice(t, this.offset());
|
|
3384
3427
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3402,12 +3445,12 @@ var pi = (
|
|
|
3402
3445
|
}
|
|
3403
3446
|
var l = _(n, this.clonePosition());
|
|
3404
3447
|
return {
|
|
3405
|
-
val: { type:
|
|
3448
|
+
val: { type: w.literal, value: i, location: l },
|
|
3406
3449
|
err: null
|
|
3407
3450
|
};
|
|
3408
3451
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3409
3452
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3410
|
-
!
|
|
3453
|
+
!xi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3411
3454
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3412
3455
|
if (this.isEOF() || this.char() !== 39)
|
|
3413
3456
|
return null;
|
|
@@ -3441,12 +3484,12 @@ var pi = (
|
|
|
3441
3484
|
r.push(n);
|
|
3442
3485
|
this.bump();
|
|
3443
3486
|
}
|
|
3444
|
-
return
|
|
3487
|
+
return Ke.apply(void 0, r);
|
|
3445
3488
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3446
3489
|
if (this.isEOF())
|
|
3447
3490
|
return null;
|
|
3448
3491
|
var n = this.char();
|
|
3449
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3492
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
|
|
3450
3493
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3451
3494
|
var n = this.clonePosition();
|
|
3452
3495
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3462,7 +3505,7 @@ var pi = (
|
|
|
3462
3505
|
case 125:
|
|
3463
3506
|
return this.bump(), {
|
|
3464
3507
|
val: {
|
|
3465
|
-
type:
|
|
3508
|
+
type: w.argument,
|
|
3466
3509
|
// value does not include the opening and closing braces.
|
|
3467
3510
|
value: i,
|
|
3468
3511
|
location: _(n, this.clonePosition())
|
|
@@ -3475,7 +3518,7 @@ var pi = (
|
|
|
3475
3518
|
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3476
3519
|
}
|
|
3477
3520
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3478
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3521
|
+
var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
|
|
3479
3522
|
this.bumpTo(i);
|
|
3480
3523
|
var o = this.clonePosition(), a = _(t, o);
|
|
3481
3524
|
return { value: n, location: a };
|
|
@@ -3494,46 +3537,46 @@ var pi = (
|
|
|
3494
3537
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3495
3538
|
if (c.err)
|
|
3496
3539
|
return c;
|
|
3497
|
-
var f =
|
|
3540
|
+
var f = vi(c.val);
|
|
3498
3541
|
if (f.length === 0)
|
|
3499
3542
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3500
|
-
var
|
|
3501
|
-
u = { style: f, styleLocation:
|
|
3543
|
+
var p = _(h, this.clonePosition());
|
|
3544
|
+
u = { style: f, styleLocation: p };
|
|
3502
3545
|
}
|
|
3503
3546
|
var m = this.tryParseArgumentClose(i);
|
|
3504
3547
|
if (m.err)
|
|
3505
3548
|
return m;
|
|
3506
|
-
var
|
|
3507
|
-
if (u &&
|
|
3508
|
-
var g =
|
|
3549
|
+
var d = _(i, this.clonePosition());
|
|
3550
|
+
if (u && At(u?.style, "::", 0)) {
|
|
3551
|
+
var g = yi(u.style.slice(2));
|
|
3509
3552
|
if (s === "number") {
|
|
3510
3553
|
var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
|
3511
3554
|
return c.err ? c : {
|
|
3512
|
-
val: { type:
|
|
3555
|
+
val: { type: w.number, value: n, location: d, style: c.val },
|
|
3513
3556
|
err: null
|
|
3514
3557
|
};
|
|
3515
3558
|
} else {
|
|
3516
3559
|
if (g.length === 0)
|
|
3517
|
-
return this.error(y.EXPECT_DATE_TIME_SKELETON,
|
|
3560
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, d);
|
|
3518
3561
|
var A = g;
|
|
3519
|
-
this.locale && (A =
|
|
3562
|
+
this.locale && (A = oi(g, this.locale));
|
|
3520
3563
|
var f = {
|
|
3521
|
-
type:
|
|
3564
|
+
type: Z.dateTime,
|
|
3522
3565
|
pattern: A,
|
|
3523
3566
|
location: u.styleLocation,
|
|
3524
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3525
|
-
}, T = s === "date" ?
|
|
3567
|
+
parsedOptions: this.shouldParseSkeletons ? Yn(A) : {}
|
|
3568
|
+
}, T = s === "date" ? w.date : w.time;
|
|
3526
3569
|
return {
|
|
3527
|
-
val: { type: T, value: n, location:
|
|
3570
|
+
val: { type: T, value: n, location: d, style: f },
|
|
3528
3571
|
err: null
|
|
3529
3572
|
};
|
|
3530
3573
|
}
|
|
3531
3574
|
}
|
|
3532
3575
|
return {
|
|
3533
3576
|
val: {
|
|
3534
|
-
type: s === "number" ?
|
|
3577
|
+
type: s === "number" ? w.number : s === "date" ? w.date : w.time,
|
|
3535
3578
|
value: n,
|
|
3536
|
-
location:
|
|
3579
|
+
location: d,
|
|
3537
3580
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3538
3581
|
},
|
|
3539
3582
|
err: null
|
|
@@ -3544,19 +3587,19 @@ var pi = (
|
|
|
3544
3587
|
case "select": {
|
|
3545
3588
|
var x = this.clonePosition();
|
|
3546
3589
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3547
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x,
|
|
3590
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, Ee({}, x)));
|
|
3548
3591
|
this.bumpSpace();
|
|
3549
|
-
var
|
|
3550
|
-
if (s !== "select" &&
|
|
3592
|
+
var E = this.parseIdentifierIfPossible(), b = 0;
|
|
3593
|
+
if (s !== "select" && E.value === "offset") {
|
|
3551
3594
|
if (!this.bumpIf(":"))
|
|
3552
3595
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3553
3596
|
this.bumpSpace();
|
|
3554
3597
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3555
3598
|
if (c.err)
|
|
3556
3599
|
return c;
|
|
3557
|
-
this.bumpSpace(),
|
|
3600
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), b = c.val;
|
|
3558
3601
|
}
|
|
3559
|
-
var B = this.tryParsePluralOrSelectOptions(t, s, r,
|
|
3602
|
+
var B = this.tryParsePluralOrSelectOptions(t, s, r, E);
|
|
3560
3603
|
if (B.err)
|
|
3561
3604
|
return B;
|
|
3562
3605
|
var m = this.tryParseArgumentClose(i);
|
|
@@ -3565,17 +3608,17 @@ var pi = (
|
|
|
3565
3608
|
var he = _(i, this.clonePosition());
|
|
3566
3609
|
return s === "select" ? {
|
|
3567
3610
|
val: {
|
|
3568
|
-
type:
|
|
3611
|
+
type: w.select,
|
|
3569
3612
|
value: n,
|
|
3570
|
-
options:
|
|
3613
|
+
options: Bt(B.val),
|
|
3571
3614
|
location: he
|
|
3572
3615
|
},
|
|
3573
3616
|
err: null
|
|
3574
3617
|
} : {
|
|
3575
3618
|
val: {
|
|
3576
|
-
type:
|
|
3619
|
+
type: w.plural,
|
|
3577
3620
|
value: n,
|
|
3578
|
-
options:
|
|
3621
|
+
options: Bt(B.val),
|
|
3579
3622
|
offset: b,
|
|
3580
3623
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3581
3624
|
location: he
|
|
@@ -3626,16 +3669,16 @@ var pi = (
|
|
|
3626
3669
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3627
3670
|
var n = [];
|
|
3628
3671
|
try {
|
|
3629
|
-
n =
|
|
3672
|
+
n = ei(t);
|
|
3630
3673
|
} catch {
|
|
3631
3674
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3632
3675
|
}
|
|
3633
3676
|
return {
|
|
3634
3677
|
val: {
|
|
3635
|
-
type:
|
|
3678
|
+
type: Z.number,
|
|
3636
3679
|
tokens: n,
|
|
3637
3680
|
location: r,
|
|
3638
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3681
|
+
parsedOptions: this.shouldParseSkeletons ? ii(n) : {}
|
|
3639
3682
|
},
|
|
3640
3683
|
err: null
|
|
3641
3684
|
};
|
|
@@ -3654,20 +3697,20 @@ var pi = (
|
|
|
3654
3697
|
if (l.has(u))
|
|
3655
3698
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3656
3699
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3657
|
-
var
|
|
3700
|
+
var p = this.clonePosition();
|
|
3658
3701
|
if (!this.bumpIf("{"))
|
|
3659
3702
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3660
3703
|
var m = this.parseMessage(t + 1, r, n);
|
|
3661
3704
|
if (m.err)
|
|
3662
3705
|
return m;
|
|
3663
|
-
var
|
|
3664
|
-
if (
|
|
3665
|
-
return
|
|
3706
|
+
var d = this.tryParseArgumentClose(p);
|
|
3707
|
+
if (d.err)
|
|
3708
|
+
return d;
|
|
3666
3709
|
s.push([
|
|
3667
3710
|
u,
|
|
3668
3711
|
{
|
|
3669
3712
|
value: m.val,
|
|
3670
|
-
location: _(
|
|
3713
|
+
location: _(p, this.clonePosition())
|
|
3671
3714
|
}
|
|
3672
3715
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3673
3716
|
}
|
|
@@ -3683,7 +3726,7 @@ var pi = (
|
|
|
3683
3726
|
break;
|
|
3684
3727
|
}
|
|
3685
3728
|
var l = _(i, this.clonePosition());
|
|
3686
|
-
return o ? (a *= n,
|
|
3729
|
+
return o ? (a *= n, bi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3687
3730
|
}, e.prototype.offset = function() {
|
|
3688
3731
|
return this.position.offset;
|
|
3689
3732
|
}, e.prototype.isEOF = function() {
|
|
@@ -3698,7 +3741,7 @@ var pi = (
|
|
|
3698
3741
|
var t = this.position.offset;
|
|
3699
3742
|
if (t >= this.message.length)
|
|
3700
3743
|
throw Error("out of bound");
|
|
3701
|
-
var r =
|
|
3744
|
+
var r = dr(this.message, t);
|
|
3702
3745
|
if (r === void 0)
|
|
3703
3746
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3704
3747
|
return r;
|
|
@@ -3717,7 +3760,7 @@ var pi = (
|
|
|
3717
3760
|
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);
|
|
3718
3761
|
}
|
|
3719
3762
|
}, e.prototype.bumpIf = function(t) {
|
|
3720
|
-
if (
|
|
3763
|
+
if (At(this.message, t, this.offset())) {
|
|
3721
3764
|
for (var r = 0; r < t.length; r++)
|
|
3722
3765
|
this.bump();
|
|
3723
3766
|
return !0;
|
|
@@ -3739,7 +3782,7 @@ var pi = (
|
|
|
3739
3782
|
break;
|
|
3740
3783
|
}
|
|
3741
3784
|
}, e.prototype.bumpSpace = function() {
|
|
3742
|
-
for (; !this.isEOF() &&
|
|
3785
|
+
for (; !this.isEOF() && gr(this.char()); )
|
|
3743
3786
|
this.bump();
|
|
3744
3787
|
}, e.prototype.peek = function() {
|
|
3745
3788
|
if (this.isEOF())
|
|
@@ -3749,47 +3792,47 @@ var pi = (
|
|
|
3749
3792
|
}, e;
|
|
3750
3793
|
}()
|
|
3751
3794
|
);
|
|
3752
|
-
function
|
|
3795
|
+
function tt(e) {
|
|
3753
3796
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3754
3797
|
}
|
|
3755
|
-
function
|
|
3756
|
-
return
|
|
3798
|
+
function xi(e) {
|
|
3799
|
+
return tt(e) || e === 47;
|
|
3757
3800
|
}
|
|
3758
|
-
function
|
|
3801
|
+
function Ei(e) {
|
|
3759
3802
|
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;
|
|
3760
3803
|
}
|
|
3761
|
-
function
|
|
3804
|
+
function gr(e) {
|
|
3762
3805
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3763
3806
|
}
|
|
3764
|
-
function
|
|
3807
|
+
function wi(e) {
|
|
3765
3808
|
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;
|
|
3766
3809
|
}
|
|
3767
|
-
function
|
|
3810
|
+
function rt(e) {
|
|
3768
3811
|
e.forEach(function(t) {
|
|
3769
|
-
if (delete t.location,
|
|
3812
|
+
if (delete t.location, ar(t) || ur(t))
|
|
3770
3813
|
for (var r in t.options)
|
|
3771
|
-
delete t.options[r].location,
|
|
3814
|
+
delete t.options[r].location, rt(t.options[r].value);
|
|
3772
3815
|
else
|
|
3773
|
-
|
|
3816
|
+
ir(t) && hr(t.style) || (or(t) || sr(t)) && qe(t.style) ? delete t.style.location : lr(t) && rt(t.children);
|
|
3774
3817
|
});
|
|
3775
3818
|
}
|
|
3776
|
-
function
|
|
3777
|
-
t === void 0 && (t = {}), t =
|
|
3778
|
-
var r = new
|
|
3819
|
+
function Si(e, t) {
|
|
3820
|
+
t === void 0 && (t = {}), t = Ee({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3821
|
+
var r = new _i(e, t).parse();
|
|
3779
3822
|
if (r.err) {
|
|
3780
3823
|
var n = SyntaxError(y[r.err.kind]);
|
|
3781
3824
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3782
3825
|
}
|
|
3783
|
-
return t?.captureLocation ||
|
|
3826
|
+
return t?.captureLocation || rt(r.val), r.val;
|
|
3784
3827
|
}
|
|
3785
|
-
var
|
|
3828
|
+
var Q;
|
|
3786
3829
|
(function(e) {
|
|
3787
3830
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3788
|
-
})(
|
|
3789
|
-
var
|
|
3831
|
+
})(Q || (Q = {}));
|
|
3832
|
+
var Ce = (
|
|
3790
3833
|
/** @class */
|
|
3791
3834
|
function(e) {
|
|
3792
|
-
|
|
3835
|
+
Be(t, e);
|
|
3793
3836
|
function t(r, n, i) {
|
|
3794
3837
|
var o = e.call(this, r) || this;
|
|
3795
3838
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3798,48 +3841,48 @@ var Ae = (
|
|
|
3798
3841
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3799
3842
|
}, t;
|
|
3800
3843
|
}(Error)
|
|
3801
|
-
),
|
|
3844
|
+
), Pt = (
|
|
3802
3845
|
/** @class */
|
|
3803
3846
|
function(e) {
|
|
3804
|
-
|
|
3847
|
+
Be(t, e);
|
|
3805
3848
|
function t(r, n, i, o) {
|
|
3806
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3849
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
|
|
3807
3850
|
}
|
|
3808
3851
|
return t;
|
|
3809
|
-
}(
|
|
3810
|
-
),
|
|
3852
|
+
}(Ce)
|
|
3853
|
+
), Ti = (
|
|
3811
3854
|
/** @class */
|
|
3812
3855
|
function(e) {
|
|
3813
|
-
|
|
3856
|
+
Be(t, e);
|
|
3814
3857
|
function t(r, n, i) {
|
|
3815
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3858
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
|
|
3816
3859
|
}
|
|
3817
3860
|
return t;
|
|
3818
|
-
}(
|
|
3819
|
-
),
|
|
3861
|
+
}(Ce)
|
|
3862
|
+
), Hi = (
|
|
3820
3863
|
/** @class */
|
|
3821
3864
|
function(e) {
|
|
3822
|
-
|
|
3865
|
+
Be(t, e);
|
|
3823
3866
|
function t(r, n) {
|
|
3824
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3867
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
|
|
3825
3868
|
}
|
|
3826
3869
|
return t;
|
|
3827
|
-
}(
|
|
3870
|
+
}(Ce)
|
|
3828
3871
|
), P;
|
|
3829
3872
|
(function(e) {
|
|
3830
3873
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3831
3874
|
})(P || (P = {}));
|
|
3832
|
-
function
|
|
3875
|
+
function Ai(e) {
|
|
3833
3876
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3834
3877
|
var n = t[t.length - 1];
|
|
3835
3878
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3836
3879
|
}, []);
|
|
3837
3880
|
}
|
|
3838
|
-
function
|
|
3881
|
+
function Bi(e) {
|
|
3839
3882
|
return typeof e == "function";
|
|
3840
3883
|
}
|
|
3841
3884
|
function ge(e, t, r, n, i, o, a) {
|
|
3842
|
-
if (e.length === 1 &&
|
|
3885
|
+
if (e.length === 1 && wt(e[0]))
|
|
3843
3886
|
return [
|
|
3844
3887
|
{
|
|
3845
3888
|
type: P.literal,
|
|
@@ -3848,14 +3891,14 @@ function ge(e, t, r, n, i, o, a) {
|
|
|
3848
3891
|
];
|
|
3849
3892
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3850
3893
|
var h = u[l];
|
|
3851
|
-
if (
|
|
3894
|
+
if (wt(h)) {
|
|
3852
3895
|
s.push({
|
|
3853
3896
|
type: P.literal,
|
|
3854
3897
|
value: h.value
|
|
3855
3898
|
});
|
|
3856
3899
|
continue;
|
|
3857
3900
|
}
|
|
3858
|
-
if (
|
|
3901
|
+
if (Jn(h)) {
|
|
3859
3902
|
typeof o == "number" && s.push({
|
|
3860
3903
|
type: P.literal,
|
|
3861
3904
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3864,43 +3907,43 @@ function ge(e, t, r, n, i, o, a) {
|
|
|
3864
3907
|
}
|
|
3865
3908
|
var c = h.value;
|
|
3866
3909
|
if (!(i && c in i))
|
|
3867
|
-
throw new
|
|
3910
|
+
throw new Hi(c, a);
|
|
3868
3911
|
var f = i[c];
|
|
3869
|
-
if (
|
|
3912
|
+
if (Qn(h)) {
|
|
3870
3913
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3871
3914
|
type: typeof f == "string" ? P.literal : P.object,
|
|
3872
3915
|
value: f
|
|
3873
3916
|
});
|
|
3874
3917
|
continue;
|
|
3875
3918
|
}
|
|
3876
|
-
if (
|
|
3877
|
-
var
|
|
3919
|
+
if (or(h)) {
|
|
3920
|
+
var p = typeof h.style == "string" ? n.date[h.style] : qe(h.style) ? h.style.parsedOptions : void 0;
|
|
3878
3921
|
s.push({
|
|
3879
3922
|
type: P.literal,
|
|
3880
|
-
value: r.getDateTimeFormat(t,
|
|
3923
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3881
3924
|
});
|
|
3882
3925
|
continue;
|
|
3883
3926
|
}
|
|
3884
|
-
if (
|
|
3885
|
-
var
|
|
3927
|
+
if (sr(h)) {
|
|
3928
|
+
var p = typeof h.style == "string" ? n.time[h.style] : qe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3886
3929
|
s.push({
|
|
3887
3930
|
type: P.literal,
|
|
3888
|
-
value: r.getDateTimeFormat(t,
|
|
3931
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3889
3932
|
});
|
|
3890
3933
|
continue;
|
|
3891
3934
|
}
|
|
3892
|
-
if (
|
|
3893
|
-
var
|
|
3894
|
-
|
|
3935
|
+
if (ir(h)) {
|
|
3936
|
+
var p = typeof h.style == "string" ? n.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
|
|
3937
|
+
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3895
3938
|
type: P.literal,
|
|
3896
|
-
value: r.getNumberFormat(t,
|
|
3939
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3897
3940
|
});
|
|
3898
3941
|
continue;
|
|
3899
3942
|
}
|
|
3900
|
-
if (
|
|
3901
|
-
var m = h.children,
|
|
3902
|
-
if (!
|
|
3903
|
-
throw new
|
|
3943
|
+
if (lr(h)) {
|
|
3944
|
+
var m = h.children, d = h.value, g = i[d];
|
|
3945
|
+
if (!Bi(g))
|
|
3946
|
+
throw new Ti(d, "function", a);
|
|
3904
3947
|
var A = ge(m, t, r, n, i, o), T = g(A.map(function(b) {
|
|
3905
3948
|
return b.value;
|
|
3906
3949
|
}));
|
|
@@ -3911,42 +3954,42 @@ function ge(e, t, r, n, i, o, a) {
|
|
|
3911
3954
|
};
|
|
3912
3955
|
}));
|
|
3913
3956
|
}
|
|
3914
|
-
if (
|
|
3957
|
+
if (ar(h)) {
|
|
3915
3958
|
var x = h.options[f] || h.options.other;
|
|
3916
3959
|
if (!x)
|
|
3917
|
-
throw new
|
|
3960
|
+
throw new Pt(h.value, f, Object.keys(h.options), a);
|
|
3918
3961
|
s.push.apply(s, ge(x.value, t, r, n, i));
|
|
3919
3962
|
continue;
|
|
3920
3963
|
}
|
|
3921
|
-
if (
|
|
3964
|
+
if (ur(h)) {
|
|
3922
3965
|
var x = h.options["=".concat(f)];
|
|
3923
3966
|
if (!x) {
|
|
3924
3967
|
if (!Intl.PluralRules)
|
|
3925
|
-
throw new
|
|
3968
|
+
throw new Ce(`Intl.PluralRules is not available in this environment.
|
|
3926
3969
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3927
|
-
`,
|
|
3928
|
-
var
|
|
3929
|
-
x = h.options[
|
|
3970
|
+
`, Q.MISSING_INTL_API, a);
|
|
3971
|
+
var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3972
|
+
x = h.options[E] || h.options.other;
|
|
3930
3973
|
}
|
|
3931
3974
|
if (!x)
|
|
3932
|
-
throw new
|
|
3975
|
+
throw new Pt(h.value, f, Object.keys(h.options), a);
|
|
3933
3976
|
s.push.apply(s, ge(x.value, t, r, n, i, f - (h.offset || 0)));
|
|
3934
3977
|
continue;
|
|
3935
3978
|
}
|
|
3936
3979
|
}
|
|
3937
|
-
return
|
|
3980
|
+
return Ai(s);
|
|
3938
3981
|
}
|
|
3939
|
-
function
|
|
3940
|
-
return t ?
|
|
3941
|
-
return r[n] =
|
|
3982
|
+
function Ci(e, t) {
|
|
3983
|
+
return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3984
|
+
return r[n] = N(N({}, e[n]), t[n] || {}), r;
|
|
3942
3985
|
}, {})) : e;
|
|
3943
3986
|
}
|
|
3944
|
-
function
|
|
3987
|
+
function Pi(e, t) {
|
|
3945
3988
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3946
|
-
return r[n] =
|
|
3947
|
-
},
|
|
3989
|
+
return r[n] = Ci(e[n], t[n]), r;
|
|
3990
|
+
}, N({}, e)) : e;
|
|
3948
3991
|
}
|
|
3949
|
-
function
|
|
3992
|
+
function Ue(e) {
|
|
3950
3993
|
return {
|
|
3951
3994
|
create: function() {
|
|
3952
3995
|
return {
|
|
@@ -3960,39 +4003,39 @@ function Re(e) {
|
|
|
3960
4003
|
}
|
|
3961
4004
|
};
|
|
3962
4005
|
}
|
|
3963
|
-
function
|
|
4006
|
+
function Oi(e) {
|
|
3964
4007
|
return e === void 0 && (e = {
|
|
3965
4008
|
number: {},
|
|
3966
4009
|
dateTime: {},
|
|
3967
4010
|
pluralRules: {}
|
|
3968
4011
|
}), {
|
|
3969
|
-
getNumberFormat:
|
|
4012
|
+
getNumberFormat: $e(function() {
|
|
3970
4013
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3971
4014
|
r[n] = arguments[n];
|
|
3972
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4015
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Le([void 0], r, !1)))();
|
|
3973
4016
|
}, {
|
|
3974
|
-
cache:
|
|
3975
|
-
strategy:
|
|
4017
|
+
cache: Ue(e.number),
|
|
4018
|
+
strategy: Re.variadic
|
|
3976
4019
|
}),
|
|
3977
|
-
getDateTimeFormat:
|
|
4020
|
+
getDateTimeFormat: $e(function() {
|
|
3978
4021
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3979
4022
|
r[n] = arguments[n];
|
|
3980
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4023
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Le([void 0], r, !1)))();
|
|
3981
4024
|
}, {
|
|
3982
|
-
cache:
|
|
3983
|
-
strategy:
|
|
4025
|
+
cache: Ue(e.dateTime),
|
|
4026
|
+
strategy: Re.variadic
|
|
3984
4027
|
}),
|
|
3985
|
-
getPluralRules:
|
|
4028
|
+
getPluralRules: $e(function() {
|
|
3986
4029
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3987
4030
|
r[n] = arguments[n];
|
|
3988
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4031
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Le([void 0], r, !1)))();
|
|
3989
4032
|
}, {
|
|
3990
|
-
cache:
|
|
3991
|
-
strategy:
|
|
4033
|
+
cache: Ue(e.pluralRules),
|
|
4034
|
+
strategy: Re.variadic
|
|
3992
4035
|
})
|
|
3993
4036
|
};
|
|
3994
4037
|
}
|
|
3995
|
-
var
|
|
4038
|
+
var Ii = (
|
|
3996
4039
|
/** @class */
|
|
3997
4040
|
function() {
|
|
3998
4041
|
function e(t, r, n, i) {
|
|
@@ -4024,13 +4067,13 @@ var Ai = (
|
|
|
4024
4067
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4025
4068
|
var a = i || {};
|
|
4026
4069
|
a.formatters;
|
|
4027
|
-
var s =
|
|
4028
|
-
this.ast = e.__parse(t,
|
|
4070
|
+
var s = Fn(a, ["formatters"]);
|
|
4071
|
+
this.ast = e.__parse(t, N(N({}, s), { locale: this.resolvedLocale }));
|
|
4029
4072
|
} else
|
|
4030
4073
|
this.ast = t;
|
|
4031
4074
|
if (!Array.isArray(this.ast))
|
|
4032
4075
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4033
|
-
this.formats =
|
|
4076
|
+
this.formats = Pi(e.formats, n), this.formatters = i && i.formatters || Oi(this.formatterCache);
|
|
4034
4077
|
}
|
|
4035
4078
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4036
4079
|
get: function() {
|
|
@@ -4043,7 +4086,7 @@ var Ai = (
|
|
|
4043
4086
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4044
4087
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4045
4088
|
}
|
|
4046
|
-
}, e.__parse =
|
|
4089
|
+
}, e.__parse = Si, e.formats = {
|
|
4047
4090
|
number: {
|
|
4048
4091
|
integer: {
|
|
4049
4092
|
maximumFractionDigits: 0
|
|
@@ -4104,7 +4147,7 @@ var Ai = (
|
|
|
4104
4147
|
}, e;
|
|
4105
4148
|
}()
|
|
4106
4149
|
);
|
|
4107
|
-
function
|
|
4150
|
+
function Mi(e, t) {
|
|
4108
4151
|
if (t == null)
|
|
4109
4152
|
return;
|
|
4110
4153
|
if (t in e)
|
|
@@ -4125,92 +4168,92 @@ function Bi(e, t) {
|
|
|
4125
4168
|
n = void 0;
|
|
4126
4169
|
return n;
|
|
4127
4170
|
}
|
|
4128
|
-
const
|
|
4171
|
+
const R = {}, Ni = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), yr = (e, t) => {
|
|
4129
4172
|
if (t == null)
|
|
4130
4173
|
return;
|
|
4131
|
-
if (t in
|
|
4132
|
-
return
|
|
4133
|
-
const r =
|
|
4174
|
+
if (t in R && e in R[t])
|
|
4175
|
+
return R[t][e];
|
|
4176
|
+
const r = Pe(t);
|
|
4134
4177
|
for (let n = 0; n < r.length; n++) {
|
|
4135
|
-
const i = r[n], o =
|
|
4178
|
+
const i = r[n], o = $i(i, e);
|
|
4136
4179
|
if (o)
|
|
4137
|
-
return
|
|
4180
|
+
return Ni(e, t, o);
|
|
4138
4181
|
}
|
|
4139
4182
|
};
|
|
4140
|
-
let
|
|
4141
|
-
const le =
|
|
4142
|
-
function
|
|
4143
|
-
return
|
|
4183
|
+
let ut;
|
|
4184
|
+
const le = Ae({});
|
|
4185
|
+
function Li(e) {
|
|
4186
|
+
return ut[e] || null;
|
|
4144
4187
|
}
|
|
4145
|
-
function
|
|
4146
|
-
return e in
|
|
4188
|
+
function vr(e) {
|
|
4189
|
+
return e in ut;
|
|
4147
4190
|
}
|
|
4148
|
-
function
|
|
4149
|
-
if (!
|
|
4191
|
+
function $i(e, t) {
|
|
4192
|
+
if (!vr(e))
|
|
4150
4193
|
return null;
|
|
4151
|
-
const r =
|
|
4152
|
-
return
|
|
4194
|
+
const r = Li(e);
|
|
4195
|
+
return Mi(r, t);
|
|
4153
4196
|
}
|
|
4154
|
-
function
|
|
4197
|
+
function Ri(e) {
|
|
4155
4198
|
if (e == null)
|
|
4156
4199
|
return;
|
|
4157
|
-
const t =
|
|
4200
|
+
const t = Pe(e);
|
|
4158
4201
|
for (let r = 0; r < t.length; r++) {
|
|
4159
4202
|
const n = t[r];
|
|
4160
|
-
if (
|
|
4203
|
+
if (vr(n))
|
|
4161
4204
|
return n;
|
|
4162
4205
|
}
|
|
4163
4206
|
}
|
|
4164
|
-
function
|
|
4165
|
-
delete
|
|
4207
|
+
function _r(e, ...t) {
|
|
4208
|
+
delete R[e], le.update((r) => (r[e] = Dn.all([r[e] || {}, ...t]), r));
|
|
4166
4209
|
}
|
|
4167
|
-
|
|
4210
|
+
q(
|
|
4168
4211
|
[le],
|
|
4169
4212
|
([e]) => Object.keys(e)
|
|
4170
4213
|
);
|
|
4171
|
-
le.subscribe((e) =>
|
|
4214
|
+
le.subscribe((e) => ut = e);
|
|
4172
4215
|
const ye = {};
|
|
4173
|
-
function
|
|
4216
|
+
function Gi(e, t) {
|
|
4174
4217
|
ye[e].delete(t), ye[e].size === 0 && delete ye[e];
|
|
4175
4218
|
}
|
|
4176
|
-
function
|
|
4219
|
+
function xr(e) {
|
|
4177
4220
|
return ye[e];
|
|
4178
4221
|
}
|
|
4179
|
-
function
|
|
4180
|
-
return
|
|
4181
|
-
const r =
|
|
4222
|
+
function Ui(e) {
|
|
4223
|
+
return Pe(e).map((t) => {
|
|
4224
|
+
const r = xr(t);
|
|
4182
4225
|
return [t, r ? [...r] : []];
|
|
4183
4226
|
}).filter(([, t]) => t.length > 0);
|
|
4184
4227
|
}
|
|
4185
|
-
function
|
|
4186
|
-
return e == null ? !1 :
|
|
4228
|
+
function nt(e) {
|
|
4229
|
+
return e == null ? !1 : Pe(e).some(
|
|
4187
4230
|
(t) => {
|
|
4188
4231
|
var r;
|
|
4189
|
-
return (r =
|
|
4232
|
+
return (r = xr(t)) == null ? void 0 : r.size;
|
|
4190
4233
|
}
|
|
4191
4234
|
);
|
|
4192
4235
|
}
|
|
4193
|
-
function
|
|
4236
|
+
function Di(e, t) {
|
|
4194
4237
|
return Promise.all(
|
|
4195
|
-
t.map((n) => (
|
|
4196
|
-
).then((n) =>
|
|
4197
|
-
}
|
|
4198
|
-
const
|
|
4199
|
-
function
|
|
4200
|
-
if (!
|
|
4201
|
-
return e in
|
|
4202
|
-
const t =
|
|
4203
|
-
return
|
|
4238
|
+
t.map((n) => (Gi(e, n), n().then((i) => i.default || i)))
|
|
4239
|
+
).then((n) => _r(e, ...n));
|
|
4240
|
+
}
|
|
4241
|
+
const te = {};
|
|
4242
|
+
function Er(e) {
|
|
4243
|
+
if (!nt(e))
|
|
4244
|
+
return e in te ? te[e] : Promise.resolve();
|
|
4245
|
+
const t = Ui(e);
|
|
4246
|
+
return te[e] = Promise.all(
|
|
4204
4247
|
t.map(
|
|
4205
|
-
([r, n]) =>
|
|
4248
|
+
([r, n]) => Di(r, n)
|
|
4206
4249
|
)
|
|
4207
4250
|
).then(() => {
|
|
4208
|
-
if (
|
|
4209
|
-
return
|
|
4210
|
-
delete
|
|
4211
|
-
}),
|
|
4251
|
+
if (nt(e))
|
|
4252
|
+
return Er(e);
|
|
4253
|
+
delete te[e];
|
|
4254
|
+
}), te[e];
|
|
4212
4255
|
}
|
|
4213
|
-
const
|
|
4256
|
+
const Fi = {
|
|
4214
4257
|
number: {
|
|
4215
4258
|
scientific: { notation: "scientific" },
|
|
4216
4259
|
engineering: { notation: "engineering" },
|
|
@@ -4239,135 +4282,135 @@ const Ri = {
|
|
|
4239
4282
|
timeZoneName: "short"
|
|
4240
4283
|
}
|
|
4241
4284
|
}
|
|
4242
|
-
},
|
|
4285
|
+
}, ji = {
|
|
4243
4286
|
fallbackLocale: null,
|
|
4244
4287
|
loadingDelay: 200,
|
|
4245
|
-
formats:
|
|
4288
|
+
formats: Fi,
|
|
4246
4289
|
warnOnMissingMessages: !0,
|
|
4247
4290
|
handleMissingMessage: void 0,
|
|
4248
4291
|
ignoreTag: !0
|
|
4249
|
-
},
|
|
4250
|
-
function
|
|
4251
|
-
return
|
|
4292
|
+
}, ki = ji;
|
|
4293
|
+
function J() {
|
|
4294
|
+
return ki;
|
|
4252
4295
|
}
|
|
4253
|
-
const
|
|
4254
|
-
var
|
|
4296
|
+
const De = Ae(!1);
|
|
4297
|
+
var Vi = Object.defineProperty, Xi = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Wi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qi = (e, t) => {
|
|
4255
4298
|
for (var r in t || (t = {}))
|
|
4256
|
-
|
|
4257
|
-
if (
|
|
4258
|
-
for (var r of
|
|
4259
|
-
|
|
4299
|
+
Wi.call(t, r) && It(e, r, t[r]);
|
|
4300
|
+
if (Ot)
|
|
4301
|
+
for (var r of Ot(t))
|
|
4302
|
+
Zi.call(t, r) && It(e, r, t[r]);
|
|
4260
4303
|
return e;
|
|
4261
|
-
},
|
|
4262
|
-
let
|
|
4263
|
-
const
|
|
4264
|
-
function
|
|
4304
|
+
}, Ji = (e, t) => Xi(e, zi(t));
|
|
4305
|
+
let it;
|
|
4306
|
+
const we = Ae(null);
|
|
4307
|
+
function Mt(e) {
|
|
4265
4308
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4266
4309
|
}
|
|
4267
|
-
function
|
|
4268
|
-
const r =
|
|
4269
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4310
|
+
function Pe(e, t = J().fallbackLocale) {
|
|
4311
|
+
const r = Mt(e);
|
|
4312
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
|
|
4270
4313
|
}
|
|
4271
4314
|
function D() {
|
|
4272
|
-
return
|
|
4315
|
+
return it ?? void 0;
|
|
4273
4316
|
}
|
|
4274
|
-
|
|
4275
|
-
|
|
4317
|
+
we.subscribe((e) => {
|
|
4318
|
+
it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4276
4319
|
});
|
|
4277
|
-
const
|
|
4278
|
-
if (e &&
|
|
4279
|
-
const { loadingDelay: t } =
|
|
4320
|
+
const qi = (e) => {
|
|
4321
|
+
if (e && Ri(e) && nt(e)) {
|
|
4322
|
+
const { loadingDelay: t } = J();
|
|
4280
4323
|
let r;
|
|
4281
4324
|
return typeof window < "u" && D() != null && t ? r = window.setTimeout(
|
|
4282
|
-
() =>
|
|
4325
|
+
() => De.set(!0),
|
|
4283
4326
|
t
|
|
4284
|
-
) :
|
|
4285
|
-
|
|
4327
|
+
) : De.set(!0), Er(e).then(() => {
|
|
4328
|
+
we.set(e);
|
|
4286
4329
|
}).finally(() => {
|
|
4287
|
-
clearTimeout(r),
|
|
4330
|
+
clearTimeout(r), De.set(!1);
|
|
4288
4331
|
});
|
|
4289
4332
|
}
|
|
4290
|
-
return
|
|
4291
|
-
},
|
|
4292
|
-
set:
|
|
4293
|
-
}),
|
|
4333
|
+
return we.set(e);
|
|
4334
|
+
}, Y = Ji(Qi({}, we), {
|
|
4335
|
+
set: qi
|
|
4336
|
+
}), Oe = (e) => {
|
|
4294
4337
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4295
4338
|
return (n) => {
|
|
4296
4339
|
const i = JSON.stringify(n);
|
|
4297
4340
|
return i in t ? t[i] : t[i] = e(n);
|
|
4298
4341
|
};
|
|
4299
4342
|
};
|
|
4300
|
-
var
|
|
4343
|
+
var Yi = Object.defineProperty, Se = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
|
4301
4344
|
for (var r in t || (t = {}))
|
|
4302
|
-
|
|
4303
|
-
if (
|
|
4304
|
-
for (var r of
|
|
4305
|
-
|
|
4345
|
+
wr.call(t, r) && Nt(e, r, t[r]);
|
|
4346
|
+
if (Se)
|
|
4347
|
+
for (var r of Se(t))
|
|
4348
|
+
Sr.call(t, r) && Nt(e, r, t[r]);
|
|
4306
4349
|
return e;
|
|
4307
|
-
},
|
|
4350
|
+
}, K = (e, t) => {
|
|
4308
4351
|
var r = {};
|
|
4309
4352
|
for (var n in e)
|
|
4310
|
-
|
|
4311
|
-
if (e != null &&
|
|
4312
|
-
for (var n of
|
|
4313
|
-
t.indexOf(n) < 0 &&
|
|
4353
|
+
wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4354
|
+
if (e != null && Se)
|
|
4355
|
+
for (var n of Se(e))
|
|
4356
|
+
t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
|
|
4314
4357
|
return r;
|
|
4315
4358
|
};
|
|
4316
|
-
const
|
|
4317
|
-
const { formats: r } =
|
|
4359
|
+
const oe = (e, t) => {
|
|
4360
|
+
const { formats: r } = J();
|
|
4318
4361
|
if (e in r && t in r[e])
|
|
4319
4362
|
return r[e][t];
|
|
4320
4363
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4321
|
-
},
|
|
4364
|
+
}, Ki = Oe(
|
|
4322
4365
|
(e) => {
|
|
4323
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4366
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4324
4367
|
if (r == null)
|
|
4325
4368
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4326
|
-
return n && (i =
|
|
4369
|
+
return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
|
|
4327
4370
|
}
|
|
4328
|
-
),
|
|
4371
|
+
), eo = Oe(
|
|
4329
4372
|
(e) => {
|
|
4330
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4373
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4331
4374
|
if (r == null)
|
|
4332
4375
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4333
|
-
return n ? i =
|
|
4376
|
+
return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4334
4377
|
}
|
|
4335
|
-
),
|
|
4378
|
+
), to = Oe(
|
|
4336
4379
|
(e) => {
|
|
4337
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4380
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4338
4381
|
if (r == null)
|
|
4339
4382
|
throw new Error(
|
|
4340
4383
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4341
4384
|
);
|
|
4342
|
-
return n ? i =
|
|
4385
|
+
return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4343
4386
|
}
|
|
4344
|
-
),
|
|
4387
|
+
), ro = (e = {}) => {
|
|
4345
4388
|
var t = e, {
|
|
4346
4389
|
locale: r = D()
|
|
4347
|
-
} = t, n =
|
|
4390
|
+
} = t, n = K(t, [
|
|
4348
4391
|
"locale"
|
|
4349
4392
|
]);
|
|
4350
|
-
return
|
|
4351
|
-
},
|
|
4393
|
+
return Ki(lt({ locale: r }, n));
|
|
4394
|
+
}, no = (e = {}) => {
|
|
4352
4395
|
var t = e, {
|
|
4353
4396
|
locale: r = D()
|
|
4354
|
-
} = t, n =
|
|
4397
|
+
} = t, n = K(t, [
|
|
4355
4398
|
"locale"
|
|
4356
4399
|
]);
|
|
4357
|
-
return
|
|
4358
|
-
},
|
|
4400
|
+
return eo(lt({ locale: r }, n));
|
|
4401
|
+
}, io = (e = {}) => {
|
|
4359
4402
|
var t = e, {
|
|
4360
4403
|
locale: r = D()
|
|
4361
|
-
} = t, n =
|
|
4404
|
+
} = t, n = K(t, [
|
|
4362
4405
|
"locale"
|
|
4363
4406
|
]);
|
|
4364
|
-
return
|
|
4365
|
-
},
|
|
4407
|
+
return to(lt({ locale: r }, n));
|
|
4408
|
+
}, oo = Oe(
|
|
4366
4409
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4367
|
-
(e, t = D()) => new
|
|
4368
|
-
ignoreTag:
|
|
4410
|
+
(e, t = D()) => new Ii(e, t, J().formats, {
|
|
4411
|
+
ignoreTag: J().ignoreTag
|
|
4369
4412
|
})
|
|
4370
|
-
),
|
|
4413
|
+
), so = (e, t = {}) => {
|
|
4371
4414
|
var r, n, i, o;
|
|
4372
4415
|
let a = t;
|
|
4373
4416
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4380,9 +4423,9 @@ const se = (e, t) => {
|
|
|
4380
4423
|
throw new Error(
|
|
4381
4424
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4382
4425
|
);
|
|
4383
|
-
let h =
|
|
4426
|
+
let h = yr(e, l);
|
|
4384
4427
|
if (!h)
|
|
4385
|
-
h = (o = (i = (n = (r =
|
|
4428
|
+
h = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4386
4429
|
else if (typeof h != "string")
|
|
4387
4430
|
return console.warn(
|
|
4388
4431
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4391,7 +4434,7 @@ const se = (e, t) => {
|
|
|
4391
4434
|
return h;
|
|
4392
4435
|
let c = h;
|
|
4393
4436
|
try {
|
|
4394
|
-
c =
|
|
4437
|
+
c = oo(h, l).format(s);
|
|
4395
4438
|
} catch (f) {
|
|
4396
4439
|
f instanceof Error && console.warn(
|
|
4397
4440
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4399,20 +4442,20 @@ const se = (e, t) => {
|
|
|
4399
4442
|
);
|
|
4400
4443
|
}
|
|
4401
4444
|
return c;
|
|
4402
|
-
},
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
window.emWidgets = { topic:
|
|
4408
|
-
const
|
|
4409
|
-
function
|
|
4445
|
+
}, ao = (e, t) => io(t).format(e), uo = (e, t) => no(t).format(e), lo = (e, t) => ro(t).format(e), ho = (e, t = D()) => yr(e, t), co = q([Y, le], () => so);
|
|
4446
|
+
q([Y], () => ao);
|
|
4447
|
+
q([Y], () => uo);
|
|
4448
|
+
q([Y], () => lo);
|
|
4449
|
+
q([Y, le], () => ho);
|
|
4450
|
+
window.emWidgets = { topic: wn };
|
|
4451
|
+
const fo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4452
|
+
function mo(e, t) {
|
|
4410
4453
|
if (e) {
|
|
4411
4454
|
const r = document.createElement("style");
|
|
4412
4455
|
r.innerHTML = t, e.appendChild(r);
|
|
4413
4456
|
}
|
|
4414
4457
|
}
|
|
4415
|
-
function
|
|
4458
|
+
function po(e, t) {
|
|
4416
4459
|
const r = new URL(t);
|
|
4417
4460
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4418
4461
|
const i = document.createElement("style");
|
|
@@ -4421,7 +4464,7 @@ function lo(e, t) {
|
|
|
4421
4464
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4422
4465
|
});
|
|
4423
4466
|
}
|
|
4424
|
-
function
|
|
4467
|
+
function bo(e, t, r) {
|
|
4425
4468
|
if (window.emMessageBus) {
|
|
4426
4469
|
const n = document.createElement("style");
|
|
4427
4470
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4429,13 +4472,13 @@ function ho(e, t, r) {
|
|
|
4429
4472
|
});
|
|
4430
4473
|
}
|
|
4431
4474
|
}
|
|
4432
|
-
function
|
|
4433
|
-
|
|
4475
|
+
function Lt(e, t) {
|
|
4476
|
+
_r(e, t);
|
|
4434
4477
|
}
|
|
4435
|
-
function
|
|
4436
|
-
|
|
4478
|
+
function go(e) {
|
|
4479
|
+
Y.set(e);
|
|
4437
4480
|
}
|
|
4438
|
-
const
|
|
4481
|
+
const $t = {
|
|
4439
4482
|
en: {
|
|
4440
4483
|
cancel: "Cancel",
|
|
4441
4484
|
confirm: "Confirm"
|
|
@@ -4481,18 +4524,18 @@ const Ot = {
|
|
|
4481
4524
|
confirm: "Confirm"
|
|
4482
4525
|
}
|
|
4483
4526
|
};
|
|
4484
|
-
function
|
|
4485
|
-
|
|
4527
|
+
function yo(e) {
|
|
4528
|
+
Gr(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}');
|
|
4486
4529
|
}
|
|
4487
|
-
const
|
|
4488
|
-
function
|
|
4530
|
+
const vo = (e) => ({}), Rt = (e) => ({});
|
|
4531
|
+
function _o(e) {
|
|
4489
4532
|
let t, r;
|
|
4490
4533
|
return {
|
|
4491
4534
|
c() {
|
|
4492
|
-
t =
|
|
4535
|
+
t = ft("svg"), r = ft("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");
|
|
4493
4536
|
},
|
|
4494
4537
|
m(n, i) {
|
|
4495
|
-
|
|
4538
|
+
se(n, t, i), C(t, r);
|
|
4496
4539
|
},
|
|
4497
4540
|
p: M,
|
|
4498
4541
|
d(n) {
|
|
@@ -4500,21 +4543,21 @@ function po(e) {
|
|
|
4500
4543
|
}
|
|
4501
4544
|
};
|
|
4502
4545
|
}
|
|
4503
|
-
function
|
|
4546
|
+
function Gt(e) {
|
|
4504
4547
|
let t, r, n;
|
|
4505
4548
|
return {
|
|
4506
4549
|
c() {
|
|
4507
|
-
t = I("div"), r = I("h2"), n =
|
|
4550
|
+
t = I("div"), r = I("h2"), n = ae(
|
|
4508
4551
|
/*modaltitle*/
|
|
4509
4552
|
e[1]
|
|
4510
4553
|
), H(t, "class", "GeneralConfirmationTitle");
|
|
4511
4554
|
},
|
|
4512
4555
|
m(i, o) {
|
|
4513
|
-
|
|
4556
|
+
se(i, t, o), C(t, r), C(r, n);
|
|
4514
4557
|
},
|
|
4515
4558
|
p(i, o) {
|
|
4516
4559
|
o & /*modaltitle*/
|
|
4517
|
-
2 &&
|
|
4560
|
+
2 && at(
|
|
4518
4561
|
n,
|
|
4519
4562
|
/*modaltitle*/
|
|
4520
4563
|
i[1]
|
|
@@ -4525,17 +4568,17 @@ function Mt(e) {
|
|
|
4525
4568
|
}
|
|
4526
4569
|
};
|
|
4527
4570
|
}
|
|
4528
|
-
function
|
|
4571
|
+
function Ut(e) {
|
|
4529
4572
|
let t, r = (
|
|
4530
4573
|
/*$_*/
|
|
4531
4574
|
e[4]("cancel") + ""
|
|
4532
4575
|
), n, i, o;
|
|
4533
4576
|
return {
|
|
4534
4577
|
c() {
|
|
4535
|
-
t = I("button"), n =
|
|
4578
|
+
t = I("button"), n = ae(r), H(t, "class", "GeneralCancelButton");
|
|
4536
4579
|
},
|
|
4537
4580
|
m(a, s) {
|
|
4538
|
-
|
|
4581
|
+
se(a, t, s), C(t, n), i || (o = Fe(
|
|
4539
4582
|
t,
|
|
4540
4583
|
"click",
|
|
4541
4584
|
/*click_handler*/
|
|
@@ -4545,52 +4588,52 @@ function Nt(e) {
|
|
|
4545
4588
|
p(a, s) {
|
|
4546
4589
|
s & /*$_*/
|
|
4547
4590
|
16 && r !== (r = /*$_*/
|
|
4548
|
-
a[4]("cancel") + "") &&
|
|
4591
|
+
a[4]("cancel") + "") && at(n, r);
|
|
4549
4592
|
},
|
|
4550
4593
|
d(a) {
|
|
4551
4594
|
a && U(t), i = !1, o();
|
|
4552
4595
|
}
|
|
4553
4596
|
};
|
|
4554
4597
|
}
|
|
4555
|
-
function
|
|
4598
|
+
function xo(e) {
|
|
4556
4599
|
let t, r, n, i, o, a, s, l, u, h, c = (
|
|
4557
4600
|
/*$_*/
|
|
4558
4601
|
e[4]("confirm") + ""
|
|
4559
|
-
), f,
|
|
4602
|
+
), f, p, m, d;
|
|
4560
4603
|
const g = (
|
|
4561
4604
|
/*#slots*/
|
|
4562
4605
|
e[16].close
|
|
4563
|
-
), A =
|
|
4606
|
+
), A = Ir(
|
|
4564
4607
|
g,
|
|
4565
4608
|
e,
|
|
4566
4609
|
/*$$scope*/
|
|
4567
4610
|
e[15],
|
|
4568
|
-
|
|
4569
|
-
), T = A ||
|
|
4611
|
+
Rt
|
|
4612
|
+
), T = A || _o();
|
|
4570
4613
|
let x = (
|
|
4571
4614
|
/*modaltitle*/
|
|
4572
|
-
e[1] &&
|
|
4573
|
-
),
|
|
4615
|
+
e[1] && Gt(e)
|
|
4616
|
+
), E = (
|
|
4574
4617
|
/*hascancelbutton*/
|
|
4575
|
-
e[2] &&
|
|
4618
|
+
e[2] && Ut(e)
|
|
4576
4619
|
);
|
|
4577
4620
|
return {
|
|
4578
4621
|
c() {
|
|
4579
|
-
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"),
|
|
4622
|
+
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"), E && E.c(), u = ce(), h = I("button"), f = ae(c), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(a, "class", "GeneralConfirmationContent"), H(h, "class", "GeneralConfirmButton"), H(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4580
4623
|
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4581
4624
|
(e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4582
4625
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4583
4626
|
},
|
|
4584
4627
|
m(b, B) {
|
|
4585
|
-
|
|
4586
|
-
e[0], C(r, s), C(r, l),
|
|
4587
|
-
|
|
4628
|
+
se(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*/
|
|
4629
|
+
e[0], C(r, s), C(r, l), E && E.m(l, null), C(l, u), C(l, h), C(h, f), e[19](t), p = !0, m || (d = [
|
|
4630
|
+
Fe(
|
|
4588
4631
|
n,
|
|
4589
4632
|
"click",
|
|
4590
4633
|
/*close*/
|
|
4591
4634
|
e[6]
|
|
4592
4635
|
),
|
|
4593
|
-
|
|
4636
|
+
Fe(
|
|
4594
4637
|
h,
|
|
4595
4638
|
"click",
|
|
4596
4639
|
/*click_handler_1*/
|
|
@@ -4599,82 +4642,82 @@ function bo(e) {
|
|
|
4599
4642
|
], m = !0);
|
|
4600
4643
|
},
|
|
4601
4644
|
p(b, [B]) {
|
|
4602
|
-
A && A.p && (!
|
|
4603
|
-
32768) &&
|
|
4645
|
+
A && A.p && (!p || B & /*$$scope*/
|
|
4646
|
+
32768) && Nr(
|
|
4604
4647
|
A,
|
|
4605
4648
|
g,
|
|
4606
4649
|
b,
|
|
4607
4650
|
/*$$scope*/
|
|
4608
4651
|
b[15],
|
|
4609
|
-
|
|
4652
|
+
p ? Mr(
|
|
4610
4653
|
g,
|
|
4611
4654
|
/*$$scope*/
|
|
4612
4655
|
b[15],
|
|
4613
4656
|
B,
|
|
4614
|
-
|
|
4615
|
-
) :
|
|
4657
|
+
vo
|
|
4658
|
+
) : Lr(
|
|
4616
4659
|
/*$$scope*/
|
|
4617
4660
|
b[15]
|
|
4618
4661
|
),
|
|
4619
|
-
|
|
4662
|
+
Rt
|
|
4620
4663
|
), /*modaltitle*/
|
|
4621
|
-
b[1] ? x ? x.p(b, B) : (x =
|
|
4664
|
+
b[1] ? x ? x.p(b, B) : (x = Gt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!p || B & /*modaltext*/
|
|
4622
4665
|
1) && (a.innerHTML = /*modaltext*/
|
|
4623
4666
|
b[0]), /*hascancelbutton*/
|
|
4624
|
-
b[2] ?
|
|
4667
|
+
b[2] ? E ? E.p(b, B) : (E = Ut(b), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!p || B & /*$_*/
|
|
4625
4668
|
16) && c !== (c = /*$_*/
|
|
4626
|
-
b[4]("confirm") + "") &&
|
|
4669
|
+
b[4]("confirm") + "") && at(f, c);
|
|
4627
4670
|
},
|
|
4628
4671
|
i(b) {
|
|
4629
|
-
|
|
4672
|
+
p || (Wt(T, b), p = !0);
|
|
4630
4673
|
},
|
|
4631
4674
|
o(b) {
|
|
4632
|
-
|
|
4675
|
+
en(T, b), p = !1;
|
|
4633
4676
|
},
|
|
4634
4677
|
d(b) {
|
|
4635
|
-
b && U(t), T && T.d(b), x && x.d(),
|
|
4678
|
+
b && U(t), T && T.d(b), x && x.d(), E && E.d(), e[19](null), m = !1, G(d);
|
|
4636
4679
|
}
|
|
4637
4680
|
};
|
|
4638
4681
|
}
|
|
4639
|
-
function
|
|
4682
|
+
function Eo(e, t, r) {
|
|
4640
4683
|
let n;
|
|
4641
|
-
|
|
4642
|
-
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:
|
|
4684
|
+
Or(e, co, (v) => r(4, n = v));
|
|
4685
|
+
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: p = "" } = t, { translationurl: m = "" } = t, { mbsource: d } = t, g, A = window.navigator.userAgent, T = fo(A) !== "PC";
|
|
4643
4686
|
const x = () => {
|
|
4644
4687
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4645
|
-
},
|
|
4688
|
+
}, E = (v) => {
|
|
4646
4689
|
v === "confirm" && u && window.postMessage(u, window.location.href), v === "cancel" && h && window.postMessage(h, window.location.href), x();
|
|
4647
4690
|
}, b = () => {
|
|
4648
4691
|
fetch(m).then((F) => F.json()).then((F) => {
|
|
4649
|
-
Object.keys(F).forEach((
|
|
4650
|
-
|
|
4692
|
+
Object.keys(F).forEach((ht) => {
|
|
4693
|
+
Lt(ht, F[ht]);
|
|
4651
4694
|
});
|
|
4652
4695
|
}).catch((F) => {
|
|
4653
4696
|
console.log(F);
|
|
4654
4697
|
});
|
|
4655
4698
|
};
|
|
4656
|
-
Object.keys(
|
|
4657
|
-
|
|
4699
|
+
Object.keys($t).forEach((v) => {
|
|
4700
|
+
Lt(v, $t[v]);
|
|
4658
4701
|
});
|
|
4659
4702
|
const B = () => {
|
|
4660
|
-
|
|
4703
|
+
go(c);
|
|
4661
4704
|
};
|
|
4662
|
-
|
|
4705
|
+
Zr(() => () => {
|
|
4663
4706
|
});
|
|
4664
|
-
const he = () =>
|
|
4665
|
-
function
|
|
4666
|
-
|
|
4707
|
+
const he = () => E("cancel"), Hr = () => E("confirm");
|
|
4708
|
+
function Ar(v) {
|
|
4709
|
+
je[v ? "unshift" : "push"](() => {
|
|
4667
4710
|
g = v, r(3, g);
|
|
4668
4711
|
});
|
|
4669
4712
|
}
|
|
4670
4713
|
return e.$$set = (v) => {
|
|
4671
|
-
"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,
|
|
4714
|
+
"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, p = v.clientstylingurl), "translationurl" in v && r(13, m = v.translationurl), "mbsource" in v && r(14, d = v.mbsource), "$$scope" in v && r(15, o = v.$$scope);
|
|
4672
4715
|
}, e.$$.update = () => {
|
|
4673
4716
|
e.$$.dirty & /*modaltext, lang*/
|
|
4674
4717
|
1025 && a && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4675
|
-
2056 && f && g &&
|
|
4676
|
-
4104 &&
|
|
4677
|
-
16392 &&
|
|
4718
|
+
2056 && f && g && mo(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4719
|
+
4104 && p && g && po(g, p), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4720
|
+
16392 && d && g && bo(g, `${d}.Style`), e.$$.dirty & /*translationurl*/
|
|
4678
4721
|
8192 && m && b();
|
|
4679
4722
|
}, [
|
|
4680
4723
|
a,
|
|
@@ -4684,29 +4727,29 @@ function go(e, t, r) {
|
|
|
4684
4727
|
n,
|
|
4685
4728
|
T,
|
|
4686
4729
|
x,
|
|
4687
|
-
|
|
4730
|
+
E,
|
|
4688
4731
|
u,
|
|
4689
4732
|
h,
|
|
4690
4733
|
c,
|
|
4691
4734
|
f,
|
|
4692
|
-
d,
|
|
4693
|
-
m,
|
|
4694
4735
|
p,
|
|
4736
|
+
m,
|
|
4737
|
+
d,
|
|
4695
4738
|
o,
|
|
4696
4739
|
i,
|
|
4697
4740
|
he,
|
|
4698
|
-
|
|
4699
|
-
|
|
4741
|
+
Hr,
|
|
4742
|
+
Ar
|
|
4700
4743
|
];
|
|
4701
4744
|
}
|
|
4702
|
-
class
|
|
4745
|
+
class Tr extends un {
|
|
4703
4746
|
constructor(t) {
|
|
4704
|
-
super(),
|
|
4747
|
+
super(), sn(
|
|
4705
4748
|
this,
|
|
4706
4749
|
t,
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4750
|
+
Eo,
|
|
4751
|
+
xo,
|
|
4752
|
+
Ft,
|
|
4710
4753
|
{
|
|
4711
4754
|
modaltext: 0,
|
|
4712
4755
|
modaltitle: 1,
|
|
@@ -4719,7 +4762,7 @@ class _r extends rn {
|
|
|
4719
4762
|
translationurl: 13,
|
|
4720
4763
|
mbsource: 14
|
|
4721
4764
|
},
|
|
4722
|
-
|
|
4765
|
+
yo
|
|
4723
4766
|
);
|
|
4724
4767
|
}
|
|
4725
4768
|
get modaltext() {
|
|
@@ -4783,58 +4826,58 @@ class _r extends rn {
|
|
|
4783
4826
|
this.$$set({ mbsource: t }), O();
|
|
4784
4827
|
}
|
|
4785
4828
|
}
|
|
4786
|
-
|
|
4787
|
-
const
|
|
4829
|
+
an(Tr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4830
|
+
const Mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4788
4831
|
__proto__: null,
|
|
4789
|
-
default:
|
|
4832
|
+
default: Tr
|
|
4790
4833
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4791
4834
|
export {
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4835
|
+
Y as $,
|
|
4836
|
+
bo as A,
|
|
4837
|
+
Io as B,
|
|
4838
|
+
Tn as C,
|
|
4839
|
+
_r as D,
|
|
4797
4840
|
M as E,
|
|
4798
|
-
|
|
4799
|
-
|
|
4841
|
+
Or as F,
|
|
4842
|
+
fo as G,
|
|
4800
4843
|
ce as H,
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4844
|
+
To as I,
|
|
4845
|
+
Ho as J,
|
|
4846
|
+
Oo as K,
|
|
4847
|
+
wo as L,
|
|
4805
4848
|
G as M,
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4849
|
+
at as N,
|
|
4850
|
+
Ao as O,
|
|
4851
|
+
Fe as P,
|
|
4852
|
+
ae as Q,
|
|
4853
|
+
ft as R,
|
|
4854
|
+
un as S,
|
|
4855
|
+
co as T,
|
|
4856
|
+
Mo as U,
|
|
4857
|
+
sn as a,
|
|
4858
|
+
Gr as b,
|
|
4859
|
+
an as c,
|
|
4817
4860
|
U as d,
|
|
4818
|
-
|
|
4861
|
+
Wt as e,
|
|
4819
4862
|
O as f,
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4863
|
+
Bo as g,
|
|
4864
|
+
Co as h,
|
|
4865
|
+
Br as i,
|
|
4866
|
+
se as j,
|
|
4867
|
+
So as k,
|
|
4868
|
+
Ir as l,
|
|
4869
|
+
Po as m,
|
|
4827
4870
|
xe as n,
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4871
|
+
Zr as o,
|
|
4872
|
+
Lr as p,
|
|
4873
|
+
Mr as q,
|
|
4831
4874
|
C as r,
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4875
|
+
Ft as s,
|
|
4876
|
+
en as t,
|
|
4877
|
+
Nr as u,
|
|
4835
4878
|
I as v,
|
|
4836
4879
|
H as w,
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4880
|
+
je as x,
|
|
4881
|
+
mo as y,
|
|
4882
|
+
po as z
|
|
4840
4883
|
};
|