@everymatrix/player-account-product-restriction 1.76.13 → 1.76.14
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-2ovv4Md_.js → PlayerAccountGeneralConfirmationModal-Dch5EDSU.js} +813 -834
- package/components/PlayerAccountGeneralConfirmationModal-Djrizs-P.cjs +21 -0
- package/components/{PlayerAccountGeneralConfirmationModal-B5YXlgy2.js → PlayerAccountGeneralConfirmationModal-DnoeUTWG.js} +814 -835
- package/components/{PlayerAccountModal-h55amKkM.js → PlayerAccountModal--i7vegAu.js} +17 -17
- package/components/{PlayerAccountModal-Bj4WVhh1.cjs → PlayerAccountModal-BAdv2e_o.cjs} +1 -1
- package/components/{PlayerAccountModal-DVL1hHz_.js → PlayerAccountModal-BVhAnI2b.js} +21 -21
- package/components/{PlayerAccountProductRestriction-NlEA2SvN.cjs → PlayerAccountProductRestriction-BDJ2r0Kd.cjs} +267 -267
- package/components/{PlayerAccountProductRestriction-96TLIXUz.js → PlayerAccountProductRestriction-BqMKwaTl.js} +1736 -1736
- package/components/{PlayerAccountProductRestriction-BRCJYDr6.js → PlayerAccountProductRestriction-C2Rf-4Fy.js} +1718 -1718
- package/es2015/player-account-product-restriction.cjs +1 -1
- package/es2015/player-account-product-restriction.js +1 -1
- package/esnext/player-account-product-restriction.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-BtPvM93e.js +519 -0
- package/stencil/index-b2193545-CgelUAhE.cjs +1 -0
- package/stencil/index-b2193545-D_KBbaD-.js +503 -0
- package/stencil/{ui-skeleton-BL4789dS.cjs → ui-skeleton-BPqjm-YB.cjs} +1 -1
- package/stencil/{ui-skeleton-Ca5rz3Hv.js → ui-skeleton-CWuMYFGQ.js} +2 -2
- package/stencil/{ui-skeleton-hI4GeaLk.js → ui-skeleton-NZtdK490.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-xLf3HyeB.cjs → ui-skeleton-ae35c6f2-CKJgMm_5.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BDBUiN3S.js → ui-skeleton-ae35c6f2-CW3z59Qf.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-Cn0ZM_hs.js → ui-skeleton-ae35c6f2-DlexSQlT.js} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-PCbzMqfA.cjs +0 -21
- package/stencil/index-b2193545-BeKKnKhR.js +0 -519
- package/stencil/index-b2193545-HC0t7mHa.js +0 -503
- package/stencil/index-b2193545-YW9b062G.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var Rr = Object.prototype.hasOwnProperty,
|
|
5
|
-
var
|
|
1
|
+
var Mr = Object.defineProperty, Nr = Object.defineProperties;
|
|
2
|
+
var Lr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ct = Object.getOwnPropertySymbols;
|
|
4
|
+
var Rr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Oe = (e, t, r) => t in e ? Mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
Rr.call(t, r) &&
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Rr.call(t, r) && Oe(e, r, t[r]);
|
|
8
|
+
if (ct)
|
|
9
|
+
for (var r of ct(t))
|
|
10
|
+
$r.call(t, r) && Oe(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var O = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, mt = (e, t) => Nr(e, Lr(t));
|
|
13
|
+
var O = (e, t, r) => (Oe(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var dt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -29,8 +29,8 @@ var bt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function N() {
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
function
|
|
32
|
+
const Gr = (e) => e;
|
|
33
|
+
function Ur(e, t) {
|
|
34
34
|
for (const r in t)
|
|
35
35
|
e[r] = t[r];
|
|
36
36
|
return (
|
|
@@ -38,25 +38,25 @@ function Dr(e, t) {
|
|
|
38
38
|
e
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Vt(e) {
|
|
42
42
|
return e();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function pt() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
47
|
function U(e) {
|
|
48
|
-
e.forEach(
|
|
48
|
+
e.forEach(Vt);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Te(e) {
|
|
51
51
|
return typeof e == "function";
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Xt(e, t) {
|
|
54
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function Dr(e) {
|
|
57
57
|
return Object.keys(e).length === 0;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function zt(e, ...t) {
|
|
60
60
|
if (e == null) {
|
|
61
61
|
for (const n of t)
|
|
62
62
|
n(void 0);
|
|
@@ -65,19 +65,19 @@ function Zt(e, ...t) {
|
|
|
65
65
|
const r = e.subscribe(...t);
|
|
66
66
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
e.$$.on_destroy.push(
|
|
68
|
+
function Fr(e, t, r) {
|
|
69
|
+
e.$$.on_destroy.push(zt(t, r));
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function jr(e, t, r, n) {
|
|
72
72
|
if (e) {
|
|
73
|
-
const i =
|
|
73
|
+
const i = Wt(e, t, r, n);
|
|
74
74
|
return e[0](i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
return e[1] && n ?
|
|
77
|
+
function Wt(e, t, r, n) {
|
|
78
|
+
return e[1] && n ? Ur(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function kr(e, t, r, n) {
|
|
81
81
|
if (e[2] && n) {
|
|
82
82
|
const i = e[2](n(r));
|
|
83
83
|
if (t.dirty === void 0)
|
|
@@ -92,13 +92,13 @@ function Vr(e, t, r, n) {
|
|
|
92
92
|
}
|
|
93
93
|
return t.dirty;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function Vr(e, t, r, n, i, o) {
|
|
96
96
|
if (i) {
|
|
97
|
-
const s =
|
|
97
|
+
const s = Wt(t, r, n, o);
|
|
98
98
|
e.p(s, i);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Xr(e) {
|
|
102
102
|
if (e.ctx.length > 32) {
|
|
103
103
|
const t = [], r = e.ctx.length / 32;
|
|
104
104
|
for (let n = 0; n < r; n++)
|
|
@@ -107,17 +107,17 @@ function zr(e) {
|
|
|
107
107
|
}
|
|
108
108
|
return -1;
|
|
109
109
|
}
|
|
110
|
-
const
|
|
111
|
-
let
|
|
110
|
+
const Zt = typeof window != "undefined";
|
|
111
|
+
let zr = Zt ? () => window.performance.now() : () => Date.now(), nt = Zt ? (e) => requestAnimationFrame(e) : N;
|
|
112
112
|
const z = /* @__PURE__ */ new Set();
|
|
113
|
-
function
|
|
113
|
+
function Qt(e) {
|
|
114
114
|
z.forEach((t) => {
|
|
115
115
|
t.c(e) || (z.delete(t), t.f());
|
|
116
|
-
}), z.size !== 0 &&
|
|
116
|
+
}), z.size !== 0 && nt(Qt);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Wr(e) {
|
|
119
119
|
let t;
|
|
120
|
-
return z.size === 0 &&
|
|
120
|
+
return z.size === 0 && nt(Qt), {
|
|
121
121
|
promise: new Promise((r) => {
|
|
122
122
|
z.add(t = { c: e, f: r });
|
|
123
123
|
}),
|
|
@@ -129,14 +129,14 @@ function Zr(e) {
|
|
|
129
129
|
function C(e, t) {
|
|
130
130
|
e.appendChild(t);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
const n =
|
|
132
|
+
function Zr(e, t, r) {
|
|
133
|
+
const n = it(e);
|
|
134
134
|
if (!n.getElementById(t)) {
|
|
135
135
|
const i = M("style");
|
|
136
|
-
i.id = t, i.textContent = r,
|
|
136
|
+
i.id = t, i.textContent = r, Jt(n, i);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function it(e) {
|
|
140
140
|
if (!e)
|
|
141
141
|
return document;
|
|
142
142
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -146,66 +146,66 @@ function ut(e) {
|
|
|
146
146
|
t
|
|
147
147
|
) : e.ownerDocument;
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Qr(e) {
|
|
150
150
|
const t = M("style");
|
|
151
|
-
return t.textContent = "/* empty */",
|
|
151
|
+
return t.textContent = "/* empty */", Jt(it(e), t), t.sheet;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function Jt(e, t) {
|
|
154
154
|
return C(
|
|
155
155
|
/** @type {Document} */
|
|
156
156
|
e.head || e,
|
|
157
157
|
t
|
|
158
158
|
), t.sheet;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function ue(e, t, r) {
|
|
161
161
|
e.insertBefore(t, r || null);
|
|
162
162
|
}
|
|
163
163
|
function D(e) {
|
|
164
164
|
e.parentNode && e.parentNode.removeChild(e);
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Mo(e, t) {
|
|
167
167
|
for (let r = 0; r < e.length; r += 1)
|
|
168
168
|
e[r] && e[r].d(t);
|
|
169
169
|
}
|
|
170
170
|
function M(e) {
|
|
171
171
|
return document.createElement(e);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function bt(e) {
|
|
174
174
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function le(e) {
|
|
177
177
|
return document.createTextNode(e);
|
|
178
178
|
}
|
|
179
179
|
function fe() {
|
|
180
|
-
return
|
|
180
|
+
return le(" ");
|
|
181
181
|
}
|
|
182
|
-
function
|
|
183
|
-
return
|
|
182
|
+
function No() {
|
|
183
|
+
return le("");
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Fe(e, t, r, n) {
|
|
186
186
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
187
187
|
}
|
|
188
188
|
function H(e, t, r) {
|
|
189
189
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function Lo(e, t, r) {
|
|
192
192
|
const n = t.toLowerCase();
|
|
193
193
|
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);
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function Jr(e) {
|
|
196
196
|
return Array.from(e.childNodes);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function ot(e, t) {
|
|
199
199
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
200
200
|
t);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function Ro(e, t, r) {
|
|
203
203
|
e.classList.toggle(t, !!r);
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function qr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
206
206
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Yr(e) {
|
|
209
209
|
const t = {};
|
|
210
210
|
return e.childNodes.forEach(
|
|
211
211
|
/** @param {Element} node */
|
|
@@ -216,17 +216,17 @@ function Kr(e) {
|
|
|
216
216
|
}
|
|
217
217
|
const _e = /* @__PURE__ */ new Map();
|
|
218
218
|
let xe = 0;
|
|
219
|
-
function
|
|
219
|
+
function Kr(e) {
|
|
220
220
|
let t = 5381, r = e.length;
|
|
221
221
|
for (; r--; )
|
|
222
222
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
223
223
|
return t >>> 0;
|
|
224
224
|
}
|
|
225
|
-
function
|
|
226
|
-
const r = { stylesheet:
|
|
225
|
+
function en(e, t) {
|
|
226
|
+
const r = { stylesheet: Qr(t), rules: {} };
|
|
227
227
|
return _e.set(e, r), r;
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function gt(e, t, r, n, i, o, s, a = 0) {
|
|
230
230
|
const l = 16.666 / n;
|
|
231
231
|
let u = `{
|
|
232
232
|
`;
|
|
@@ -236,156 +236,156 @@ function vt(e, t, r, n, i, o, s, a = 0) {
|
|
|
236
236
|
`;
|
|
237
237
|
}
|
|
238
238
|
const h = u + `100% {${s(r, 1 - r)}}
|
|
239
|
-
}`, c = `__svelte_${
|
|
240
|
-
m[c] || (m[c] = !0,
|
|
241
|
-
const
|
|
242
|
-
return e.style.animation = `${
|
|
239
|
+
}`, c = `__svelte_${Kr(h)}_${a}`, f = it(e), { stylesheet: d, rules: m } = _e.get(f) || en(f, e);
|
|
240
|
+
m[c] || (m[c] = !0, d.insertRule(`@keyframes ${c} ${h}`, d.cssRules.length));
|
|
241
|
+
const p = e.style.animation || "";
|
|
242
|
+
return e.style.animation = `${p ? `${p}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function tn(e, t) {
|
|
245
245
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
246
246
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
247
247
|
// remove all Svelte animations
|
|
248
248
|
), i = r.length - n.length;
|
|
249
|
-
i && (e.style.animation = n.join(", "), xe -= i, xe ||
|
|
249
|
+
i && (e.style.animation = n.join(", "), xe -= i, xe || rn());
|
|
250
250
|
}
|
|
251
|
-
function
|
|
252
|
-
|
|
251
|
+
function rn() {
|
|
252
|
+
nt(() => {
|
|
253
253
|
xe || (_e.forEach((e) => {
|
|
254
254
|
const { ownerNode: t } = e.stylesheet;
|
|
255
255
|
t && D(t);
|
|
256
256
|
}), _e.clear());
|
|
257
257
|
});
|
|
258
258
|
}
|
|
259
|
-
let
|
|
260
|
-
function
|
|
261
|
-
|
|
259
|
+
let oe;
|
|
260
|
+
function ie(e) {
|
|
261
|
+
oe = e;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
264
|
-
if (!
|
|
263
|
+
function nn() {
|
|
264
|
+
if (!oe)
|
|
265
265
|
throw new Error("Function called outside component initialization");
|
|
266
|
-
return
|
|
266
|
+
return oe;
|
|
267
267
|
}
|
|
268
|
-
function
|
|
269
|
-
|
|
268
|
+
function on(e) {
|
|
269
|
+
nn().$$.on_mount.push(e);
|
|
270
270
|
}
|
|
271
|
-
const X = [],
|
|
271
|
+
const X = [], je = [];
|
|
272
272
|
let W = [];
|
|
273
|
-
const
|
|
274
|
-
let
|
|
275
|
-
function
|
|
276
|
-
|
|
273
|
+
const yt = [], sn = /* @__PURE__ */ Promise.resolve();
|
|
274
|
+
let ke = !1;
|
|
275
|
+
function an() {
|
|
276
|
+
ke || (ke = !0, sn.then(I));
|
|
277
277
|
}
|
|
278
278
|
function Ee(e) {
|
|
279
279
|
W.push(e);
|
|
280
280
|
}
|
|
281
|
-
const
|
|
281
|
+
const Ie = /* @__PURE__ */ new Set();
|
|
282
282
|
let k = 0;
|
|
283
283
|
function I() {
|
|
284
284
|
if (k !== 0)
|
|
285
285
|
return;
|
|
286
|
-
const e =
|
|
286
|
+
const e = oe;
|
|
287
287
|
do {
|
|
288
288
|
try {
|
|
289
289
|
for (; k < X.length; ) {
|
|
290
290
|
const t = X[k];
|
|
291
|
-
k++,
|
|
291
|
+
k++, ie(t), un(t.$$);
|
|
292
292
|
}
|
|
293
293
|
} catch (t) {
|
|
294
294
|
throw X.length = 0, k = 0, t;
|
|
295
295
|
}
|
|
296
|
-
for (
|
|
297
|
-
|
|
296
|
+
for (ie(null), X.length = 0, k = 0; je.length; )
|
|
297
|
+
je.pop()();
|
|
298
298
|
for (let t = 0; t < W.length; t += 1) {
|
|
299
299
|
const r = W[t];
|
|
300
|
-
|
|
300
|
+
Ie.has(r) || (Ie.add(r), r());
|
|
301
301
|
}
|
|
302
302
|
W.length = 0;
|
|
303
303
|
} while (X.length);
|
|
304
|
-
for (;
|
|
305
|
-
|
|
306
|
-
|
|
304
|
+
for (; yt.length; )
|
|
305
|
+
yt.pop()();
|
|
306
|
+
ke = !1, Ie.clear(), ie(e);
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function un(e) {
|
|
309
309
|
if (e.fragment !== null) {
|
|
310
310
|
e.update(), U(e.before_update);
|
|
311
311
|
const t = e.dirty;
|
|
312
312
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function ln(e) {
|
|
316
316
|
const t = [], r = [];
|
|
317
317
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
318
318
|
}
|
|
319
|
-
let
|
|
320
|
-
function
|
|
321
|
-
return
|
|
322
|
-
|
|
323
|
-
})),
|
|
319
|
+
let re;
|
|
320
|
+
function hn() {
|
|
321
|
+
return re || (re = Promise.resolve(), re.then(() => {
|
|
322
|
+
re = null;
|
|
323
|
+
})), re;
|
|
324
324
|
}
|
|
325
|
-
function
|
|
326
|
-
e.dispatchEvent(
|
|
325
|
+
function Me(e, t, r) {
|
|
326
|
+
e.dispatchEvent(qr(`${t ? "intro" : "outro"}${r}`));
|
|
327
327
|
}
|
|
328
|
-
const
|
|
329
|
-
let
|
|
330
|
-
function
|
|
331
|
-
|
|
328
|
+
const pe = /* @__PURE__ */ new Set();
|
|
329
|
+
let L;
|
|
330
|
+
function $o() {
|
|
331
|
+
L = {
|
|
332
332
|
r: 0,
|
|
333
333
|
c: [],
|
|
334
|
-
p:
|
|
334
|
+
p: L
|
|
335
335
|
// parent group
|
|
336
336
|
};
|
|
337
337
|
}
|
|
338
|
-
function
|
|
339
|
-
|
|
338
|
+
function Go() {
|
|
339
|
+
L.r || U(L.c), L = L.p;
|
|
340
340
|
}
|
|
341
|
-
function
|
|
342
|
-
e && e.i && (
|
|
341
|
+
function qt(e, t) {
|
|
342
|
+
e && e.i && (pe.delete(e), e.i(t));
|
|
343
343
|
}
|
|
344
|
-
function
|
|
344
|
+
function cn(e, t, r, n) {
|
|
345
345
|
if (e && e.o) {
|
|
346
|
-
if (
|
|
346
|
+
if (pe.has(e))
|
|
347
347
|
return;
|
|
348
|
-
|
|
349
|
-
|
|
348
|
+
pe.add(e), L.c.push(() => {
|
|
349
|
+
pe.delete(e), n && (r && e.d(1), n());
|
|
350
350
|
}), e.o(t);
|
|
351
351
|
} else
|
|
352
352
|
n && n();
|
|
353
353
|
}
|
|
354
|
-
const
|
|
355
|
-
function
|
|
354
|
+
const fn = { duration: 0 };
|
|
355
|
+
function Uo(e, t, r, n) {
|
|
356
356
|
let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, l = null, u = null, h;
|
|
357
357
|
function c() {
|
|
358
|
-
u &&
|
|
358
|
+
u && tn(e, u);
|
|
359
359
|
}
|
|
360
|
-
function f(m,
|
|
360
|
+
function f(m, p) {
|
|
361
361
|
const g = (
|
|
362
362
|
/** @type {Program['d']} */
|
|
363
363
|
m.b - s
|
|
364
364
|
);
|
|
365
|
-
return
|
|
365
|
+
return p *= Math.abs(g), {
|
|
366
366
|
a: s,
|
|
367
367
|
b: m.b,
|
|
368
368
|
d: g,
|
|
369
|
-
duration:
|
|
369
|
+
duration: p,
|
|
370
370
|
start: m.start,
|
|
371
|
-
end: m.start +
|
|
371
|
+
end: m.start + p,
|
|
372
372
|
group: m.group
|
|
373
373
|
};
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function d(m) {
|
|
376
376
|
const {
|
|
377
|
-
delay:
|
|
377
|
+
delay: p = 0,
|
|
378
378
|
duration: g = 300,
|
|
379
|
-
easing: A =
|
|
379
|
+
easing: A = Gr,
|
|
380
380
|
tick: T = N,
|
|
381
381
|
css: x
|
|
382
|
-
} = o ||
|
|
383
|
-
start:
|
|
382
|
+
} = o || fn, w = {
|
|
383
|
+
start: zr() + p,
|
|
384
384
|
b: m
|
|
385
385
|
};
|
|
386
|
-
m || (
|
|
387
|
-
e.inert, e.inert = !0)), a || l ? l =
|
|
388
|
-
if (l && b > l.start && (a = f(l, g), l = null,
|
|
386
|
+
m || (w.group = L, L.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
387
|
+
e.inert, e.inert = !0)), a || l ? l = w : (x && (c(), u = gt(e, s, m, g, p, A, x)), m && T(0, 1), a = f(w, g), Ee(() => Me(e, m, "start")), Wr((b) => {
|
|
388
|
+
if (l && b > l.start && (a = f(l, g), l = null, Me(e, a.b, "start"), x && (c(), u = gt(
|
|
389
389
|
e,
|
|
390
390
|
s,
|
|
391
391
|
a.b,
|
|
@@ -395,7 +395,7 @@ function Fo(e, t, r, n) {
|
|
|
395
395
|
o.css
|
|
396
396
|
))), a) {
|
|
397
397
|
if (b >= a.end)
|
|
398
|
-
T(s = a.b, 1 - s),
|
|
398
|
+
T(s = a.b, 1 - s), Me(e, a.b, "end"), l || (a.b ? c() : --a.group.r || U(a.group.c)), a = null;
|
|
399
399
|
else if (b >= a.start) {
|
|
400
400
|
const B = b - a.start;
|
|
401
401
|
s = a.a + a.d * A(B / a.duration), T(s, 1 - s);
|
|
@@ -406,35 +406,35 @@ function Fo(e, t, r, n) {
|
|
|
406
406
|
}
|
|
407
407
|
return {
|
|
408
408
|
run(m) {
|
|
409
|
-
|
|
410
|
-
o = o({ direction: m ? "in" : "out" }),
|
|
411
|
-
}) :
|
|
409
|
+
Te(o) ? hn().then(() => {
|
|
410
|
+
o = o({ direction: m ? "in" : "out" }), d(m);
|
|
411
|
+
}) : d(m);
|
|
412
412
|
},
|
|
413
413
|
end() {
|
|
414
414
|
c(), a = l = null;
|
|
415
415
|
}
|
|
416
416
|
};
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function Do(e) {
|
|
419
419
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function mn(e, t, r) {
|
|
422
422
|
const { fragment: n, after_update: i } = e.$$;
|
|
423
423
|
n && n.m(t, r), Ee(() => {
|
|
424
|
-
const o = e.$$.on_mount.map(
|
|
424
|
+
const o = e.$$.on_mount.map(Vt).filter(Te);
|
|
425
425
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
|
|
426
426
|
}), i.forEach(Ee);
|
|
427
427
|
}
|
|
428
428
|
function dn(e, t) {
|
|
429
429
|
const r = e.$$;
|
|
430
|
-
r.fragment !== null && (
|
|
430
|
+
r.fragment !== null && (ln(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
431
431
|
}
|
|
432
|
-
function
|
|
433
|
-
e.$$.dirty[0] === -1 && (X.push(e),
|
|
432
|
+
function pn(e, t) {
|
|
433
|
+
e.$$.dirty[0] === -1 && (X.push(e), an(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
434
434
|
}
|
|
435
|
-
function
|
|
436
|
-
const l =
|
|
437
|
-
|
|
435
|
+
function bn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
436
|
+
const l = oe;
|
|
437
|
+
ie(e);
|
|
438
438
|
const u = e.$$ = {
|
|
439
439
|
fragment: null,
|
|
440
440
|
ctx: [],
|
|
@@ -442,7 +442,7 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
442
442
|
props: o,
|
|
443
443
|
update: N,
|
|
444
444
|
not_equal: i,
|
|
445
|
-
bound:
|
|
445
|
+
bound: pt(),
|
|
446
446
|
// lifecycle
|
|
447
447
|
on_mount: [],
|
|
448
448
|
on_destroy: [],
|
|
@@ -451,28 +451,28 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
451
451
|
after_update: [],
|
|
452
452
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
453
453
|
// everything else
|
|
454
|
-
callbacks:
|
|
454
|
+
callbacks: pt(),
|
|
455
455
|
dirty: a,
|
|
456
456
|
skip_bound: !1,
|
|
457
457
|
root: t.target || l.$$.root
|
|
458
458
|
};
|
|
459
459
|
s && s(u.root);
|
|
460
460
|
let h = !1;
|
|
461
|
-
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
462
|
-
const m =
|
|
463
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h &&
|
|
461
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
462
|
+
const m = d.length ? d[0] : f;
|
|
463
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && pn(e, c)), f;
|
|
464
464
|
}) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
465
465
|
if (t.hydrate) {
|
|
466
|
-
const c =
|
|
466
|
+
const c = Jr(t.target);
|
|
467
467
|
u.fragment && u.fragment.l(c), c.forEach(D);
|
|
468
468
|
} else
|
|
469
469
|
u.fragment && u.fragment.c();
|
|
470
|
-
t.intro &&
|
|
470
|
+
t.intro && qt(e.$$.fragment), mn(e, t.target, t.anchor), I();
|
|
471
471
|
}
|
|
472
|
-
|
|
472
|
+
ie(l);
|
|
473
473
|
}
|
|
474
|
-
let
|
|
475
|
-
typeof HTMLElement == "function" && (
|
|
474
|
+
let Yt;
|
|
475
|
+
typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
476
476
|
constructor(t, r, n) {
|
|
477
477
|
super();
|
|
478
478
|
/** The Svelte component constructor */
|
|
@@ -509,7 +509,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
511
|
connectedCallback() {
|
|
512
|
-
return
|
|
512
|
+
return dt(this, null, function* () {
|
|
513
513
|
if (this.$$cn = !0, !this.$$c) {
|
|
514
514
|
let t = function(o) {
|
|
515
515
|
return () => {
|
|
@@ -523,7 +523,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
523
523
|
* @param {HTMLElement} [anchor]
|
|
524
524
|
*/
|
|
525
525
|
m: function(u, h) {
|
|
526
|
-
|
|
526
|
+
ue(u, s, h);
|
|
527
527
|
},
|
|
528
528
|
d: function(u) {
|
|
529
529
|
u && D(s);
|
|
@@ -533,7 +533,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
533
533
|
};
|
|
534
534
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
535
535
|
return;
|
|
536
|
-
const r = {}, n =
|
|
536
|
+
const r = {}, n = Yr(this);
|
|
537
537
|
for (const o of this.$$s)
|
|
538
538
|
o in n && (r[o] = [t(o)]);
|
|
539
539
|
for (const o of this.attributes) {
|
|
@@ -544,7 +544,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
544
544
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
545
545
|
this.$$c = new this.$$ctor({
|
|
546
546
|
target: this.shadowRoot || this,
|
|
547
|
-
props:
|
|
547
|
+
props: mt(ft({}, this.$$d), {
|
|
548
548
|
$$slots: r,
|
|
549
549
|
$$scope: {
|
|
550
550
|
ctx: []
|
|
@@ -622,8 +622,8 @@ function be(e, t, r, n) {
|
|
|
622
622
|
return t;
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
|
-
function
|
|
626
|
-
let s = class extends
|
|
625
|
+
function gn(e, t, r, n, i, o) {
|
|
626
|
+
let s = class extends Yt {
|
|
627
627
|
constructor() {
|
|
628
628
|
super(e, r, i), this.$$p_d = t;
|
|
629
629
|
}
|
|
@@ -653,7 +653,7 @@ function yn(e, t, r, n, i, o) {
|
|
|
653
653
|
}), e.element = /** @type {any} */
|
|
654
654
|
s, s;
|
|
655
655
|
}
|
|
656
|
-
class
|
|
656
|
+
class yn {
|
|
657
657
|
constructor() {
|
|
658
658
|
/**
|
|
659
659
|
* ### PRIVATE API
|
|
@@ -683,7 +683,7 @@ class vn {
|
|
|
683
683
|
* @returns {() => void}
|
|
684
684
|
*/
|
|
685
685
|
$on(t, r) {
|
|
686
|
-
if (!
|
|
686
|
+
if (!Te(r))
|
|
687
687
|
return N;
|
|
688
688
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
689
689
|
return n.push(r), () => {
|
|
@@ -696,11 +696,11 @@ class vn {
|
|
|
696
696
|
* @returns {void}
|
|
697
697
|
*/
|
|
698
698
|
$set(t) {
|
|
699
|
-
this.$$set && !
|
|
699
|
+
this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
700
700
|
}
|
|
701
701
|
}
|
|
702
|
-
const
|
|
703
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
702
|
+
const vn = "4";
|
|
703
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vn);
|
|
704
704
|
/*! *****************************************************************************
|
|
705
705
|
Copyright (c) Microsoft Corporation.
|
|
706
706
|
|
|
@@ -715,24 +715,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
715
715
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
716
716
|
PERFORMANCE OF THIS SOFTWARE.
|
|
717
717
|
***************************************************************************** */
|
|
718
|
-
var
|
|
719
|
-
return
|
|
718
|
+
var Ve = function(e, t) {
|
|
719
|
+
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
720
720
|
r.__proto__ = n;
|
|
721
721
|
} || function(r, n) {
|
|
722
722
|
for (var i in n)
|
|
723
723
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
724
|
-
},
|
|
724
|
+
}, Ve(e, t);
|
|
725
725
|
};
|
|
726
|
-
function
|
|
726
|
+
function $(e, t) {
|
|
727
727
|
if (typeof t != "function" && t !== null)
|
|
728
728
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
729
|
-
|
|
729
|
+
Ve(e, t);
|
|
730
730
|
function r() {
|
|
731
731
|
this.constructor = e;
|
|
732
732
|
}
|
|
733
733
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
var E = function() {
|
|
736
|
+
return E = Object.assign || function(t) {
|
|
737
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
738
|
+
r = arguments[n];
|
|
739
|
+
for (var o in r)
|
|
740
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
741
|
+
}
|
|
742
|
+
return t;
|
|
743
|
+
}, E.apply(this, arguments);
|
|
744
|
+
};
|
|
745
|
+
function _n(e, t) {
|
|
746
|
+
var r = {};
|
|
747
|
+
for (var n in e)
|
|
748
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
749
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
750
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
751
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
752
|
+
return r;
|
|
753
|
+
}
|
|
754
|
+
function Xe(e) {
|
|
736
755
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
737
756
|
if (r)
|
|
738
757
|
return r.call(e);
|
|
@@ -744,7 +763,7 @@ function We(e) {
|
|
|
744
763
|
};
|
|
745
764
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
746
765
|
}
|
|
747
|
-
function
|
|
766
|
+
function ze(e, t) {
|
|
748
767
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
749
768
|
if (!r)
|
|
750
769
|
return e;
|
|
@@ -764,8 +783,8 @@ function Ze(e, t) {
|
|
|
764
783
|
}
|
|
765
784
|
return o;
|
|
766
785
|
}
|
|
767
|
-
function
|
|
768
|
-
if (arguments.length === 2)
|
|
786
|
+
function Z(e, t, r) {
|
|
787
|
+
if (r || arguments.length === 2)
|
|
769
788
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
770
789
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
771
790
|
return e.concat(o || t);
|
|
@@ -773,13 +792,13 @@ function Qe(e, t, r) {
|
|
|
773
792
|
function R(e) {
|
|
774
793
|
return typeof e == "function";
|
|
775
794
|
}
|
|
776
|
-
function
|
|
795
|
+
function Kt(e) {
|
|
777
796
|
var t = function(n) {
|
|
778
797
|
Error.call(n), n.stack = new Error().stack;
|
|
779
798
|
}, r = e(t);
|
|
780
799
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
781
800
|
}
|
|
782
|
-
var
|
|
801
|
+
var Ne = Kt(function(e) {
|
|
783
802
|
return function(r) {
|
|
784
803
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
785
804
|
` + r.map(function(n, i) {
|
|
@@ -788,13 +807,13 @@ var $e = tr(function(e) {
|
|
|
788
807
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
789
808
|
};
|
|
790
809
|
});
|
|
791
|
-
function
|
|
810
|
+
function We(e, t) {
|
|
792
811
|
if (e) {
|
|
793
812
|
var r = e.indexOf(t);
|
|
794
813
|
0 <= r && e.splice(r, 1);
|
|
795
814
|
}
|
|
796
815
|
}
|
|
797
|
-
var
|
|
816
|
+
var He = function() {
|
|
798
817
|
function e(t) {
|
|
799
818
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
800
819
|
}
|
|
@@ -806,12 +825,12 @@ var Ae = function() {
|
|
|
806
825
|
if (s)
|
|
807
826
|
if (this._parentage = null, Array.isArray(s))
|
|
808
827
|
try {
|
|
809
|
-
for (var a =
|
|
828
|
+
for (var a = Xe(s), l = a.next(); !l.done; l = a.next()) {
|
|
810
829
|
var u = l.value;
|
|
811
830
|
u.remove(this);
|
|
812
831
|
}
|
|
813
|
-
} catch (
|
|
814
|
-
t = { error:
|
|
832
|
+
} catch (p) {
|
|
833
|
+
t = { error: p };
|
|
815
834
|
} finally {
|
|
816
835
|
try {
|
|
817
836
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -826,26 +845,26 @@ var Ae = function() {
|
|
|
826
845
|
if (R(h))
|
|
827
846
|
try {
|
|
828
847
|
h();
|
|
829
|
-
} catch (
|
|
830
|
-
o =
|
|
848
|
+
} catch (p) {
|
|
849
|
+
o = p instanceof Ne ? p.errors : [p];
|
|
831
850
|
}
|
|
832
851
|
var c = this._finalizers;
|
|
833
852
|
if (c) {
|
|
834
853
|
this._finalizers = null;
|
|
835
854
|
try {
|
|
836
|
-
for (var f =
|
|
837
|
-
var m =
|
|
855
|
+
for (var f = Xe(c), d = f.next(); !d.done; d = f.next()) {
|
|
856
|
+
var m = d.value;
|
|
838
857
|
try {
|
|
839
|
-
|
|
840
|
-
} catch (
|
|
841
|
-
o = o != null ? o : [],
|
|
858
|
+
vt(m);
|
|
859
|
+
} catch (p) {
|
|
860
|
+
o = o != null ? o : [], p instanceof Ne ? o = Z(Z([], ze(o)), ze(p.errors)) : o.push(p);
|
|
842
861
|
}
|
|
843
862
|
}
|
|
844
|
-
} catch (
|
|
845
|
-
n = { error:
|
|
863
|
+
} catch (p) {
|
|
864
|
+
n = { error: p };
|
|
846
865
|
} finally {
|
|
847
866
|
try {
|
|
848
|
-
|
|
867
|
+
d && !d.done && (i = f.return) && i.call(f);
|
|
849
868
|
} finally {
|
|
850
869
|
if (n)
|
|
851
870
|
throw n.error;
|
|
@@ -853,13 +872,13 @@ var Ae = function() {
|
|
|
853
872
|
}
|
|
854
873
|
}
|
|
855
874
|
if (o)
|
|
856
|
-
throw new
|
|
875
|
+
throw new Ne(o);
|
|
857
876
|
}
|
|
858
877
|
}, e.prototype.add = function(t) {
|
|
859
878
|
var r;
|
|
860
879
|
if (t && t !== this)
|
|
861
880
|
if (this.closed)
|
|
862
|
-
|
|
881
|
+
vt(t);
|
|
863
882
|
else {
|
|
864
883
|
if (t instanceof e) {
|
|
865
884
|
if (t.closed || t._hasParent(this))
|
|
@@ -876,52 +895,56 @@ var Ae = function() {
|
|
|
876
895
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
877
896
|
}, e.prototype._removeParent = function(t) {
|
|
878
897
|
var r = this._parentage;
|
|
879
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
898
|
+
r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
|
|
880
899
|
}, e.prototype.remove = function(t) {
|
|
881
900
|
var r = this._finalizers;
|
|
882
|
-
r &&
|
|
901
|
+
r && We(r, t), t instanceof e && t._removeParent(this);
|
|
883
902
|
}, e.EMPTY = function() {
|
|
884
903
|
var t = new e();
|
|
885
904
|
return t.closed = !0, t;
|
|
886
905
|
}(), e;
|
|
887
|
-
}(),
|
|
888
|
-
function
|
|
889
|
-
return e instanceof
|
|
906
|
+
}(), er = He.EMPTY;
|
|
907
|
+
function tr(e) {
|
|
908
|
+
return e instanceof He || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
890
909
|
}
|
|
891
|
-
function
|
|
910
|
+
function vt(e) {
|
|
892
911
|
R(e) ? e() : e.unsubscribe();
|
|
893
912
|
}
|
|
894
|
-
var
|
|
895
|
-
|
|
896
|
-
|
|
913
|
+
var rr = {
|
|
914
|
+
onUnhandledError: null,
|
|
915
|
+
onStoppedNotification: null,
|
|
916
|
+
Promise: void 0,
|
|
917
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
918
|
+
useDeprecatedNextContext: !1
|
|
919
|
+
}, xn = {
|
|
897
920
|
setTimeout: function(e, t) {
|
|
898
921
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
899
922
|
r[n - 2] = arguments[n];
|
|
900
|
-
return setTimeout.apply(void 0,
|
|
923
|
+
return setTimeout.apply(void 0, Z([e, t], ze(r)));
|
|
901
924
|
},
|
|
902
925
|
clearTimeout: function(e) {
|
|
903
926
|
return clearTimeout(e);
|
|
904
927
|
},
|
|
905
928
|
delegate: void 0
|
|
906
929
|
};
|
|
907
|
-
function
|
|
908
|
-
|
|
930
|
+
function En(e) {
|
|
931
|
+
xn.setTimeout(function() {
|
|
909
932
|
throw e;
|
|
910
933
|
});
|
|
911
934
|
}
|
|
912
|
-
function
|
|
935
|
+
function _t() {
|
|
913
936
|
}
|
|
914
937
|
function ge(e) {
|
|
915
938
|
e();
|
|
916
939
|
}
|
|
917
|
-
var
|
|
918
|
-
|
|
940
|
+
var nr = function(e) {
|
|
941
|
+
$(t, e);
|
|
919
942
|
function t(r) {
|
|
920
943
|
var n = e.call(this) || this;
|
|
921
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
944
|
+
return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = Hn, n;
|
|
922
945
|
}
|
|
923
946
|
return t.create = function(r, n, i) {
|
|
924
|
-
return new
|
|
947
|
+
return new Ze(r, n, i);
|
|
925
948
|
}, t.prototype.next = function(r) {
|
|
926
949
|
this.isStopped || this._next(r);
|
|
927
950
|
}, t.prototype.error = function(r) {
|
|
@@ -945,7 +968,11 @@ var ir = function(e) {
|
|
|
945
968
|
this.unsubscribe();
|
|
946
969
|
}
|
|
947
970
|
}, t;
|
|
948
|
-
}(
|
|
971
|
+
}(He), wn = Function.prototype.bind;
|
|
972
|
+
function Le(e, t) {
|
|
973
|
+
return wn.call(e, t);
|
|
974
|
+
}
|
|
975
|
+
var Sn = function() {
|
|
949
976
|
function e(t) {
|
|
950
977
|
this.partialObserver = t;
|
|
951
978
|
}
|
|
@@ -976,29 +1003,41 @@ var ir = function(e) {
|
|
|
976
1003
|
me(r);
|
|
977
1004
|
}
|
|
978
1005
|
}, e;
|
|
979
|
-
}(),
|
|
980
|
-
|
|
1006
|
+
}(), Ze = function(e) {
|
|
1007
|
+
$(t, e);
|
|
981
1008
|
function t(r, n, i) {
|
|
982
1009
|
var o = e.call(this) || this, s;
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
1010
|
+
if (R(r) || !r)
|
|
1011
|
+
s = {
|
|
1012
|
+
next: r != null ? r : void 0,
|
|
1013
|
+
error: n != null ? n : void 0,
|
|
1014
|
+
complete: i != null ? i : void 0
|
|
1015
|
+
};
|
|
1016
|
+
else {
|
|
1017
|
+
var a;
|
|
1018
|
+
o && rr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
1019
|
+
return o.unsubscribe();
|
|
1020
|
+
}, s = {
|
|
1021
|
+
next: r.next && Le(r.next, a),
|
|
1022
|
+
error: r.error && Le(r.error, a),
|
|
1023
|
+
complete: r.complete && Le(r.complete, a)
|
|
1024
|
+
}) : s = r;
|
|
1025
|
+
}
|
|
1026
|
+
return o.destination = new Sn(s), o;
|
|
988
1027
|
}
|
|
989
1028
|
return t;
|
|
990
|
-
}(
|
|
1029
|
+
}(nr);
|
|
991
1030
|
function me(e) {
|
|
992
|
-
|
|
1031
|
+
En(e);
|
|
993
1032
|
}
|
|
994
1033
|
function Tn(e) {
|
|
995
1034
|
throw e;
|
|
996
1035
|
}
|
|
997
1036
|
var Hn = {
|
|
998
1037
|
closed: !0,
|
|
999
|
-
next:
|
|
1038
|
+
next: _t,
|
|
1000
1039
|
error: Tn,
|
|
1001
|
-
complete:
|
|
1040
|
+
complete: _t
|
|
1002
1041
|
}, An = function() {
|
|
1003
1042
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1004
1043
|
}();
|
|
@@ -1012,7 +1051,7 @@ function Cn(e) {
|
|
|
1012
1051
|
}, r);
|
|
1013
1052
|
};
|
|
1014
1053
|
}
|
|
1015
|
-
var
|
|
1054
|
+
var xt = function() {
|
|
1016
1055
|
function e(t) {
|
|
1017
1056
|
t && (this._subscribe = t);
|
|
1018
1057
|
}
|
|
@@ -1020,7 +1059,7 @@ var wt = function() {
|
|
|
1020
1059
|
var r = new e();
|
|
1021
1060
|
return r.source = this, r.operator = t, r;
|
|
1022
1061
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1023
|
-
var i = this, o = On(t) ? t : new
|
|
1062
|
+
var i = this, o = On(t) ? t : new Ze(t, r, n);
|
|
1024
1063
|
return ge(function() {
|
|
1025
1064
|
var s = i, a = s.operator, l = s.source;
|
|
1026
1065
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1033,8 +1072,8 @@ var wt = function() {
|
|
|
1033
1072
|
}
|
|
1034
1073
|
}, e.prototype.forEach = function(t, r) {
|
|
1035
1074
|
var n = this;
|
|
1036
|
-
return r =
|
|
1037
|
-
var s = new
|
|
1075
|
+
return r = Et(r), new r(function(i, o) {
|
|
1076
|
+
var s = new Ze({
|
|
1038
1077
|
next: function(a) {
|
|
1039
1078
|
try {
|
|
1040
1079
|
t(a);
|
|
@@ -1058,7 +1097,7 @@ var wt = function() {
|
|
|
1058
1097
|
return Cn(t)(this);
|
|
1059
1098
|
}, e.prototype.toPromise = function(t) {
|
|
1060
1099
|
var r = this;
|
|
1061
|
-
return t =
|
|
1100
|
+
return t = Et(t), new t(function(n, i) {
|
|
1062
1101
|
var o;
|
|
1063
1102
|
r.subscribe(function(s) {
|
|
1064
1103
|
return o = s;
|
|
@@ -1072,28 +1111,28 @@ var wt = function() {
|
|
|
1072
1111
|
return new e(t);
|
|
1073
1112
|
}, e;
|
|
1074
1113
|
}();
|
|
1075
|
-
function
|
|
1114
|
+
function Et(e) {
|
|
1076
1115
|
var t;
|
|
1077
|
-
return (t = e != null ? e :
|
|
1116
|
+
return (t = e != null ? e : rr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1078
1117
|
}
|
|
1079
1118
|
function Pn(e) {
|
|
1080
1119
|
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
1081
1120
|
}
|
|
1082
1121
|
function On(e) {
|
|
1083
|
-
return e && e instanceof
|
|
1122
|
+
return e && e instanceof nr || Pn(e) && tr(e);
|
|
1084
1123
|
}
|
|
1085
|
-
var In =
|
|
1124
|
+
var In = Kt(function(e) {
|
|
1086
1125
|
return function() {
|
|
1087
1126
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1088
1127
|
};
|
|
1089
|
-
}),
|
|
1090
|
-
|
|
1128
|
+
}), ir = function(e) {
|
|
1129
|
+
$(t, e);
|
|
1091
1130
|
function t() {
|
|
1092
1131
|
var r = e.call(this) || this;
|
|
1093
1132
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1094
1133
|
}
|
|
1095
1134
|
return t.prototype.lift = function(r) {
|
|
1096
|
-
var n = new
|
|
1135
|
+
var n = new wt(this, this);
|
|
1097
1136
|
return n.operator = r, n;
|
|
1098
1137
|
}, t.prototype._throwIfClosed = function() {
|
|
1099
1138
|
if (this.closed)
|
|
@@ -1105,7 +1144,7 @@ var In = tr(function(e) {
|
|
|
1105
1144
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1106
1145
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1107
1146
|
try {
|
|
1108
|
-
for (var s =
|
|
1147
|
+
for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
1109
1148
|
var l = a.value;
|
|
1110
1149
|
l.next(r);
|
|
1111
1150
|
}
|
|
@@ -1154,20 +1193,20 @@ var In = tr(function(e) {
|
|
|
1154
1193
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1155
1194
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1156
1195
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1157
|
-
return o || s ?
|
|
1158
|
-
n.currentObservers = null,
|
|
1196
|
+
return o || s ? er : (this.currentObservers = null, a.push(r), new He(function() {
|
|
1197
|
+
n.currentObservers = null, We(a, r);
|
|
1159
1198
|
}));
|
|
1160
1199
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1161
1200
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1162
1201
|
i ? r.error(o) : s && r.complete();
|
|
1163
1202
|
}, t.prototype.asObservable = function() {
|
|
1164
|
-
var r = new
|
|
1203
|
+
var r = new xt();
|
|
1165
1204
|
return r.source = this, r;
|
|
1166
1205
|
}, t.create = function(r, n) {
|
|
1167
|
-
return new
|
|
1206
|
+
return new wt(r, n);
|
|
1168
1207
|
}, t;
|
|
1169
|
-
}(
|
|
1170
|
-
|
|
1208
|
+
}(xt), wt = function(e) {
|
|
1209
|
+
$(t, e);
|
|
1171
1210
|
function t(r, n) {
|
|
1172
1211
|
var i = e.call(this) || this;
|
|
1173
1212
|
return i.destination = r, i.source = n, i;
|
|
@@ -1183,17 +1222,17 @@ var In = tr(function(e) {
|
|
|
1183
1222
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1184
1223
|
}, t.prototype._subscribe = function(r) {
|
|
1185
1224
|
var n, i;
|
|
1186
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1225
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
|
|
1187
1226
|
}, t;
|
|
1188
|
-
}(
|
|
1227
|
+
}(ir), or = {
|
|
1189
1228
|
now: function() {
|
|
1190
|
-
return (
|
|
1229
|
+
return (or.delegate || Date).now();
|
|
1191
1230
|
},
|
|
1192
1231
|
delegate: void 0
|
|
1193
1232
|
}, Mn = function(e) {
|
|
1194
|
-
|
|
1233
|
+
$(t, e);
|
|
1195
1234
|
function t(r, n, i) {
|
|
1196
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1235
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
|
|
1197
1236
|
var o = e.call(this) || this;
|
|
1198
1237
|
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;
|
|
1199
1238
|
}
|
|
@@ -1213,24 +1252,24 @@ var In = tr(function(e) {
|
|
|
1213
1252
|
u && o.splice(0, u + 1);
|
|
1214
1253
|
}
|
|
1215
1254
|
}, t;
|
|
1216
|
-
}(
|
|
1217
|
-
const
|
|
1218
|
-
if (
|
|
1255
|
+
}(ir);
|
|
1256
|
+
const St = [], Tt = {}, Nn = (e, t = 0) => {
|
|
1257
|
+
if (St.indexOf(e) == -1) {
|
|
1219
1258
|
const r = new Mn(t);
|
|
1220
|
-
|
|
1259
|
+
Tt[e] = r, St.push(e);
|
|
1221
1260
|
}
|
|
1222
|
-
return
|
|
1261
|
+
return Tt[e];
|
|
1223
1262
|
}, V = [];
|
|
1224
1263
|
function Ln(e, t) {
|
|
1225
1264
|
return {
|
|
1226
|
-
subscribe:
|
|
1265
|
+
subscribe: Ae(e, t).subscribe
|
|
1227
1266
|
};
|
|
1228
1267
|
}
|
|
1229
|
-
function
|
|
1268
|
+
function Ae(e, t = N) {
|
|
1230
1269
|
let r;
|
|
1231
1270
|
const n = /* @__PURE__ */ new Set();
|
|
1232
1271
|
function i(a) {
|
|
1233
|
-
if (
|
|
1272
|
+
if (Xt(e, a) && (e = a, r)) {
|
|
1234
1273
|
const l = !V.length;
|
|
1235
1274
|
for (const u of n)
|
|
1236
1275
|
u[1](), V.push(u, e);
|
|
@@ -1252,7 +1291,7 @@ function Be(e, t = N) {
|
|
|
1252
1291
|
}
|
|
1253
1292
|
return { set: i, update: o, subscribe: s };
|
|
1254
1293
|
}
|
|
1255
|
-
function
|
|
1294
|
+
function K(e, t, r) {
|
|
1256
1295
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1257
1296
|
if (!i.every(Boolean))
|
|
1258
1297
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1266,28 +1305,28 @@ function Y(e, t, r) {
|
|
|
1266
1305
|
return;
|
|
1267
1306
|
c();
|
|
1268
1307
|
const m = t(n ? u[0] : u, s, a);
|
|
1269
|
-
o ? s(m) : c =
|
|
1270
|
-
},
|
|
1271
|
-
(m,
|
|
1308
|
+
o ? s(m) : c = Te(m) ? m : N;
|
|
1309
|
+
}, d = i.map(
|
|
1310
|
+
(m, p) => zt(
|
|
1272
1311
|
m,
|
|
1273
1312
|
(g) => {
|
|
1274
|
-
u[
|
|
1313
|
+
u[p] = g, h &= ~(1 << p), l && f();
|
|
1275
1314
|
},
|
|
1276
1315
|
() => {
|
|
1277
|
-
h |= 1 <<
|
|
1316
|
+
h |= 1 << p;
|
|
1278
1317
|
}
|
|
1279
1318
|
)
|
|
1280
1319
|
);
|
|
1281
1320
|
return l = !0, f(), function() {
|
|
1282
|
-
U(
|
|
1321
|
+
U(d), c(), l = !1;
|
|
1283
1322
|
};
|
|
1284
1323
|
});
|
|
1285
1324
|
}
|
|
1286
|
-
var
|
|
1287
|
-
function
|
|
1325
|
+
var Fo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
1326
|
+
function Rn(e) {
|
|
1288
1327
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1289
1328
|
}
|
|
1290
|
-
var
|
|
1329
|
+
var $n = function(t) {
|
|
1291
1330
|
return Gn(t) && !Un(t);
|
|
1292
1331
|
};
|
|
1293
1332
|
function Gn(e) {
|
|
@@ -1304,29 +1343,29 @@ function jn(e) {
|
|
|
1304
1343
|
function kn(e) {
|
|
1305
1344
|
return Array.isArray(e) ? [] : {};
|
|
1306
1345
|
}
|
|
1307
|
-
function
|
|
1308
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1346
|
+
function se(e, t) {
|
|
1347
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q(kn(e), e, t) : e;
|
|
1309
1348
|
}
|
|
1310
1349
|
function Vn(e, t, r) {
|
|
1311
1350
|
return e.concat(t).map(function(n) {
|
|
1312
|
-
return
|
|
1351
|
+
return se(n, r);
|
|
1313
1352
|
});
|
|
1314
1353
|
}
|
|
1315
1354
|
function Xn(e, t) {
|
|
1316
1355
|
if (!t.customMerge)
|
|
1317
|
-
return
|
|
1356
|
+
return Q;
|
|
1318
1357
|
var r = t.customMerge(e);
|
|
1319
|
-
return typeof r == "function" ? r :
|
|
1358
|
+
return typeof r == "function" ? r : Q;
|
|
1320
1359
|
}
|
|
1321
1360
|
function zn(e) {
|
|
1322
1361
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1323
1362
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1324
1363
|
}) : [];
|
|
1325
1364
|
}
|
|
1326
|
-
function
|
|
1365
|
+
function Ht(e) {
|
|
1327
1366
|
return Object.keys(e).concat(zn(e));
|
|
1328
1367
|
}
|
|
1329
|
-
function
|
|
1368
|
+
function sr(e, t) {
|
|
1330
1369
|
try {
|
|
1331
1370
|
return t in e;
|
|
1332
1371
|
} catch (r) {
|
|
@@ -1334,179 +1373,129 @@ function ar(e, t) {
|
|
|
1334
1373
|
}
|
|
1335
1374
|
}
|
|
1336
1375
|
function Wn(e, t) {
|
|
1337
|
-
return
|
|
1376
|
+
return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1338
1377
|
}
|
|
1339
1378
|
function Zn(e, t, r) {
|
|
1340
1379
|
var n = {};
|
|
1341
|
-
return r.isMergeableObject(e) &&
|
|
1342
|
-
n[i] =
|
|
1343
|
-
}),
|
|
1344
|
-
Wn(e, i) || (
|
|
1380
|
+
return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
|
|
1381
|
+
n[i] = se(e[i], r);
|
|
1382
|
+
}), Ht(t).forEach(function(i) {
|
|
1383
|
+
Wn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
|
|
1345
1384
|
}), n;
|
|
1346
1385
|
}
|
|
1347
|
-
function
|
|
1348
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject ||
|
|
1386
|
+
function Q(e, t, r) {
|
|
1387
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = se;
|
|
1349
1388
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1350
|
-
return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) :
|
|
1389
|
+
return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) : se(t, r);
|
|
1351
1390
|
}
|
|
1352
|
-
|
|
1391
|
+
Q.all = function(t, r) {
|
|
1353
1392
|
if (!Array.isArray(t))
|
|
1354
1393
|
throw new Error("first argument should be an array");
|
|
1355
1394
|
return t.reduce(function(n, i) {
|
|
1356
|
-
return
|
|
1395
|
+
return Q(n, i, r);
|
|
1357
1396
|
}, {});
|
|
1358
1397
|
};
|
|
1359
|
-
var Qn =
|
|
1360
|
-
const qn = /* @__PURE__ */
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
r.__proto__ = n;
|
|
1364
|
-
} || function(r, n) {
|
|
1365
|
-
for (var i in n)
|
|
1366
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1367
|
-
}, Ye(e, t);
|
|
1368
|
-
};
|
|
1369
|
-
function Ce(e, t) {
|
|
1370
|
-
if (typeof t != "function" && t !== null)
|
|
1371
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1372
|
-
Ye(e, t);
|
|
1373
|
-
function r() {
|
|
1374
|
-
this.constructor = e;
|
|
1375
|
-
}
|
|
1376
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1377
|
-
}
|
|
1378
|
-
var L = function() {
|
|
1379
|
-
return L = Object.assign || function(t) {
|
|
1380
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1381
|
-
r = arguments[n];
|
|
1382
|
-
for (var o in r)
|
|
1383
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1384
|
-
}
|
|
1385
|
-
return t;
|
|
1386
|
-
}, L.apply(this, arguments);
|
|
1387
|
-
};
|
|
1388
|
-
function Yn(e, t) {
|
|
1389
|
-
var r = {};
|
|
1390
|
-
for (var n in e)
|
|
1391
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1392
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1393
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1394
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1395
|
-
return r;
|
|
1396
|
-
}
|
|
1397
|
-
function Re(e, t, r) {
|
|
1398
|
-
if (r || arguments.length === 2)
|
|
1399
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1400
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1401
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1402
|
-
}
|
|
1403
|
-
function Ge(e, t) {
|
|
1404
|
-
var r = t && t.cache ? t.cache : oi, n = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ti;
|
|
1398
|
+
var Qn = Q, Jn = Qn;
|
|
1399
|
+
const qn = /* @__PURE__ */ Rn(Jn);
|
|
1400
|
+
function Re(e, t) {
|
|
1401
|
+
var r = t && t.cache ? t.cache : ni, n = t && t.serializer ? t.serializer : ri, i = t && t.strategy ? t.strategy : Kn;
|
|
1405
1402
|
return i(e, {
|
|
1406
1403
|
cache: r,
|
|
1407
1404
|
serializer: n
|
|
1408
1405
|
});
|
|
1409
1406
|
}
|
|
1410
|
-
function
|
|
1407
|
+
function Yn(e) {
|
|
1411
1408
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1412
1409
|
}
|
|
1413
|
-
function
|
|
1414
|
-
var i =
|
|
1410
|
+
function ar(e, t, r, n) {
|
|
1411
|
+
var i = Yn(n) ? n : r(n), o = t.get(i);
|
|
1415
1412
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1416
1413
|
}
|
|
1417
1414
|
function ur(e, t, r) {
|
|
1418
1415
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1419
1416
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1420
1417
|
}
|
|
1421
|
-
function
|
|
1418
|
+
function st(e, t, r, n, i) {
|
|
1422
1419
|
return r.bind(t, e, n, i);
|
|
1423
1420
|
}
|
|
1424
|
-
function
|
|
1425
|
-
var r = e.length === 1 ?
|
|
1426
|
-
return
|
|
1421
|
+
function Kn(e, t) {
|
|
1422
|
+
var r = e.length === 1 ? ar : ur;
|
|
1423
|
+
return st(e, this, r, t.cache.create(), t.serializer);
|
|
1427
1424
|
}
|
|
1428
|
-
function
|
|
1429
|
-
return
|
|
1425
|
+
function ei(e, t) {
|
|
1426
|
+
return st(e, this, ur, t.cache.create(), t.serializer);
|
|
1427
|
+
}
|
|
1428
|
+
function ti(e, t) {
|
|
1429
|
+
return st(e, this, ar, t.cache.create(), t.serializer);
|
|
1430
1430
|
}
|
|
1431
|
-
var
|
|
1431
|
+
var ri = function() {
|
|
1432
1432
|
return JSON.stringify(arguments);
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
}()
|
|
1445
|
-
), oi = {
|
|
1433
|
+
};
|
|
1434
|
+
function at() {
|
|
1435
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1436
|
+
}
|
|
1437
|
+
at.prototype.get = function(e) {
|
|
1438
|
+
return this.cache[e];
|
|
1439
|
+
};
|
|
1440
|
+
at.prototype.set = function(e, t) {
|
|
1441
|
+
this.cache[e] = t;
|
|
1442
|
+
};
|
|
1443
|
+
var ni = {
|
|
1446
1444
|
create: function() {
|
|
1447
|
-
return new
|
|
1445
|
+
return new at();
|
|
1448
1446
|
}
|
|
1449
|
-
},
|
|
1450
|
-
variadic:
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1454
|
-
r = arguments[n];
|
|
1455
|
-
for (var o in r)
|
|
1456
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1457
|
-
}
|
|
1458
|
-
return t;
|
|
1459
|
-
}, we.apply(this, arguments);
|
|
1460
|
-
};
|
|
1461
|
-
var y;
|
|
1447
|
+
}, $e = {
|
|
1448
|
+
variadic: ei,
|
|
1449
|
+
monadic: ti
|
|
1450
|
+
}, y;
|
|
1462
1451
|
(function(e) {
|
|
1463
1452
|
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";
|
|
1464
1453
|
})(y || (y = {}));
|
|
1465
|
-
var
|
|
1454
|
+
var S;
|
|
1466
1455
|
(function(e) {
|
|
1467
1456
|
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";
|
|
1468
|
-
})(
|
|
1469
|
-
var
|
|
1457
|
+
})(S || (S = {}));
|
|
1458
|
+
var J;
|
|
1470
1459
|
(function(e) {
|
|
1471
1460
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1472
|
-
})(
|
|
1473
|
-
function
|
|
1474
|
-
return e.type ===
|
|
1461
|
+
})(J || (J = {}));
|
|
1462
|
+
function At(e) {
|
|
1463
|
+
return e.type === S.literal;
|
|
1475
1464
|
}
|
|
1476
|
-
function
|
|
1477
|
-
return e.type ===
|
|
1465
|
+
function ii(e) {
|
|
1466
|
+
return e.type === S.argument;
|
|
1467
|
+
}
|
|
1468
|
+
function lr(e) {
|
|
1469
|
+
return e.type === S.number;
|
|
1478
1470
|
}
|
|
1479
1471
|
function hr(e) {
|
|
1480
|
-
return e.type ===
|
|
1472
|
+
return e.type === S.date;
|
|
1481
1473
|
}
|
|
1482
1474
|
function cr(e) {
|
|
1483
|
-
return e.type ===
|
|
1475
|
+
return e.type === S.time;
|
|
1484
1476
|
}
|
|
1485
1477
|
function fr(e) {
|
|
1486
|
-
return e.type ===
|
|
1478
|
+
return e.type === S.select;
|
|
1487
1479
|
}
|
|
1488
1480
|
function mr(e) {
|
|
1489
|
-
return e.type ===
|
|
1481
|
+
return e.type === S.plural;
|
|
1490
1482
|
}
|
|
1491
|
-
function
|
|
1492
|
-
return e.type ===
|
|
1493
|
-
}
|
|
1494
|
-
function ai(e) {
|
|
1495
|
-
return e.type === w.pound;
|
|
1483
|
+
function oi(e) {
|
|
1484
|
+
return e.type === S.pound;
|
|
1496
1485
|
}
|
|
1497
1486
|
function dr(e) {
|
|
1498
|
-
return e.type ===
|
|
1487
|
+
return e.type === S.tag;
|
|
1499
1488
|
}
|
|
1500
|
-
function
|
|
1501
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1489
|
+
function pr(e) {
|
|
1490
|
+
return !!(e && typeof e == "object" && e.type === J.number);
|
|
1502
1491
|
}
|
|
1503
|
-
function
|
|
1504
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1492
|
+
function Qe(e) {
|
|
1493
|
+
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
1505
1494
|
}
|
|
1506
|
-
var
|
|
1507
|
-
function
|
|
1495
|
+
var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, si = /(?:[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;
|
|
1496
|
+
function ai(e) {
|
|
1508
1497
|
var t = {};
|
|
1509
|
-
return e.replace(
|
|
1498
|
+
return e.replace(si, function(r) {
|
|
1510
1499
|
var n = r.length;
|
|
1511
1500
|
switch (r[0]) {
|
|
1512
1501
|
case "G":
|
|
@@ -1595,21 +1584,11 @@ function li(e) {
|
|
|
1595
1584
|
return "";
|
|
1596
1585
|
}), t;
|
|
1597
1586
|
}
|
|
1598
|
-
var
|
|
1599
|
-
|
|
1600
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1601
|
-
r = arguments[n];
|
|
1602
|
-
for (var o in r)
|
|
1603
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1604
|
-
}
|
|
1605
|
-
return t;
|
|
1606
|
-
}, S.apply(this, arguments);
|
|
1607
|
-
};
|
|
1608
|
-
var hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1609
|
-
function ci(e) {
|
|
1587
|
+
var ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1588
|
+
function li(e) {
|
|
1610
1589
|
if (e.length === 0)
|
|
1611
1590
|
throw new Error("Number skeleton cannot be empty");
|
|
1612
|
-
for (var t = e.split(
|
|
1591
|
+
for (var t = e.split(ui).filter(function(f) {
|
|
1613
1592
|
return f.length > 0;
|
|
1614
1593
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1615
1594
|
var o = i[n], s = o.split("/");
|
|
@@ -1624,17 +1603,17 @@ function ci(e) {
|
|
|
1624
1603
|
}
|
|
1625
1604
|
return r;
|
|
1626
1605
|
}
|
|
1627
|
-
function
|
|
1606
|
+
function hi(e) {
|
|
1628
1607
|
return e.replace(/^(.*?)-/, "");
|
|
1629
1608
|
}
|
|
1630
|
-
var
|
|
1631
|
-
function
|
|
1609
|
+
var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ci = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
|
|
1610
|
+
function Ct(e) {
|
|
1632
1611
|
var t = {};
|
|
1633
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1612
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
|
|
1634
1613
|
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)), "";
|
|
1635
1614
|
}), t;
|
|
1636
1615
|
}
|
|
1637
|
-
function
|
|
1616
|
+
function vr(e) {
|
|
1638
1617
|
switch (e) {
|
|
1639
1618
|
case "sign-auto":
|
|
1640
1619
|
return {
|
|
@@ -1674,7 +1653,7 @@ function _r(e) {
|
|
|
1674
1653
|
};
|
|
1675
1654
|
}
|
|
1676
1655
|
}
|
|
1677
|
-
function
|
|
1656
|
+
function fi(e) {
|
|
1678
1657
|
var t;
|
|
1679
1658
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1680
1659
|
notation: "engineering"
|
|
@@ -1682,17 +1661,17 @@ function pi(e) {
|
|
|
1682
1661
|
notation: "scientific"
|
|
1683
1662
|
}, e = e.slice(1)), t) {
|
|
1684
1663
|
var r = e.slice(0, 2);
|
|
1685
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1664
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
|
|
1686
1665
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1687
1666
|
t.minimumIntegerDigits = e.length;
|
|
1688
1667
|
}
|
|
1689
1668
|
return t;
|
|
1690
1669
|
}
|
|
1691
|
-
function
|
|
1692
|
-
var t = {}, r =
|
|
1670
|
+
function Pt(e) {
|
|
1671
|
+
var t = {}, r = vr(e);
|
|
1693
1672
|
return r || t;
|
|
1694
1673
|
}
|
|
1695
|
-
function
|
|
1674
|
+
function mi(e) {
|
|
1696
1675
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1697
1676
|
var i = n[r];
|
|
1698
1677
|
switch (i.stem) {
|
|
@@ -1716,7 +1695,7 @@ function di(e) {
|
|
|
1716
1695
|
continue;
|
|
1717
1696
|
case "measure-unit":
|
|
1718
1697
|
case "unit":
|
|
1719
|
-
t.style = "unit", t.unit =
|
|
1698
|
+
t.style = "unit", t.unit = hi(i.options[0]);
|
|
1720
1699
|
continue;
|
|
1721
1700
|
case "compact-short":
|
|
1722
1701
|
case "K":
|
|
@@ -1727,13 +1706,13 @@ function di(e) {
|
|
|
1727
1706
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1728
1707
|
continue;
|
|
1729
1708
|
case "scientific":
|
|
1730
|
-
t =
|
|
1731
|
-
return
|
|
1709
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1710
|
+
return E(E({}, l), Pt(u));
|
|
1732
1711
|
}, {}));
|
|
1733
1712
|
continue;
|
|
1734
1713
|
case "engineering":
|
|
1735
|
-
t =
|
|
1736
|
-
return
|
|
1714
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1715
|
+
return E(E({}, l), Pt(u));
|
|
1737
1716
|
}, {}));
|
|
1738
1717
|
continue;
|
|
1739
1718
|
case "notation-simple":
|
|
@@ -1778,45 +1757,45 @@ function di(e) {
|
|
|
1778
1757
|
case "integer-width":
|
|
1779
1758
|
if (i.options.length > 1)
|
|
1780
1759
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1781
|
-
i.options[0].replace(
|
|
1760
|
+
i.options[0].replace(ci, function(l, u, h, c, f, d) {
|
|
1782
1761
|
if (u)
|
|
1783
1762
|
t.minimumIntegerDigits = h.length;
|
|
1784
1763
|
else {
|
|
1785
1764
|
if (c && f)
|
|
1786
1765
|
throw new Error("We currently do not support maximum integer digits");
|
|
1787
|
-
if (
|
|
1766
|
+
if (d)
|
|
1788
1767
|
throw new Error("We currently do not support exact integer digits");
|
|
1789
1768
|
}
|
|
1790
1769
|
return "";
|
|
1791
1770
|
});
|
|
1792
1771
|
continue;
|
|
1793
1772
|
}
|
|
1794
|
-
if (
|
|
1773
|
+
if (yr.test(i.stem)) {
|
|
1795
1774
|
t.minimumIntegerDigits = i.stem.length;
|
|
1796
1775
|
continue;
|
|
1797
1776
|
}
|
|
1798
|
-
if (
|
|
1777
|
+
if (Bt.test(i.stem)) {
|
|
1799
1778
|
if (i.options.length > 1)
|
|
1800
1779
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1801
|
-
i.stem.replace(
|
|
1802
|
-
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1780
|
+
i.stem.replace(Bt, function(l, u, h, c, f, d) {
|
|
1781
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1803
1782
|
});
|
|
1804
1783
|
var o = i.options[0];
|
|
1805
|
-
o === "w" ? t =
|
|
1784
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Ct(o)));
|
|
1806
1785
|
continue;
|
|
1807
1786
|
}
|
|
1808
|
-
if (
|
|
1809
|
-
t =
|
|
1787
|
+
if (gr.test(i.stem)) {
|
|
1788
|
+
t = E(E({}, t), Ct(i.stem));
|
|
1810
1789
|
continue;
|
|
1811
1790
|
}
|
|
1812
|
-
var s =
|
|
1813
|
-
s && (t =
|
|
1814
|
-
var a =
|
|
1815
|
-
a && (t =
|
|
1791
|
+
var s = vr(i.stem);
|
|
1792
|
+
s && (t = E(E({}, t), s));
|
|
1793
|
+
var a = fi(i.stem);
|
|
1794
|
+
a && (t = E(E({}, t), a));
|
|
1816
1795
|
}
|
|
1817
1796
|
return t;
|
|
1818
1797
|
}
|
|
1819
|
-
var
|
|
1798
|
+
var de = {
|
|
1820
1799
|
"001": [
|
|
1821
1800
|
"H",
|
|
1822
1801
|
"h"
|
|
@@ -3231,13 +3210,13 @@ var pe = {
|
|
|
3231
3210
|
"h"
|
|
3232
3211
|
]
|
|
3233
3212
|
};
|
|
3234
|
-
function
|
|
3213
|
+
function di(e, t) {
|
|
3235
3214
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3236
3215
|
var i = e.charAt(n);
|
|
3237
3216
|
if (i === "j") {
|
|
3238
3217
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3239
3218
|
o++, n++;
|
|
3240
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3219
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = pi(t);
|
|
3241
3220
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3242
3221
|
r += l;
|
|
3243
3222
|
for (; s-- > 0; )
|
|
@@ -3247,7 +3226,7 @@ function bi(e, t) {
|
|
|
3247
3226
|
}
|
|
3248
3227
|
return r;
|
|
3249
3228
|
}
|
|
3250
|
-
function
|
|
3229
|
+
function pi(e) {
|
|
3251
3230
|
var t = e.hourCycle;
|
|
3252
3231
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3253
3232
|
e.hourCycles && // @ts-ignore
|
|
@@ -3266,23 +3245,23 @@ function gi(e) {
|
|
|
3266
3245
|
}
|
|
3267
3246
|
var r = e.language, n;
|
|
3268
3247
|
r !== "root" && (n = e.maximize().region);
|
|
3269
|
-
var i =
|
|
3248
|
+
var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
|
|
3270
3249
|
return i[0];
|
|
3271
3250
|
}
|
|
3272
|
-
var
|
|
3251
|
+
var Ge, bi = new RegExp("^".concat(br.source, "*")), gi = new RegExp("".concat(br.source, "*$"));
|
|
3273
3252
|
function _(e, t) {
|
|
3274
3253
|
return { start: e, end: t };
|
|
3275
3254
|
}
|
|
3276
|
-
var
|
|
3255
|
+
var yi = !!String.prototype.startsWith && "_a".startsWith("a", 1), vi = !!String.fromCodePoint, _i = !!Object.fromEntries, xi = !!String.prototype.codePointAt, Ei = !!String.prototype.trimStart, wi = !!String.prototype.trimEnd, Si = !!Number.isSafeInteger, Ti = Si ? Number.isSafeInteger : function(e) {
|
|
3277
3256
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3278
|
-
},
|
|
3257
|
+
}, Je = !0;
|
|
3279
3258
|
try {
|
|
3280
|
-
var
|
|
3281
|
-
|
|
3259
|
+
var Hi = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3260
|
+
Je = ((Ge = Hi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
|
3282
3261
|
} catch (e) {
|
|
3283
|
-
|
|
3262
|
+
Je = !1;
|
|
3284
3263
|
}
|
|
3285
|
-
var
|
|
3264
|
+
var Ot = yi ? (
|
|
3286
3265
|
// Native
|
|
3287
3266
|
function(t, r, n) {
|
|
3288
3267
|
return t.startsWith(r, n);
|
|
@@ -3292,7 +3271,7 @@ var Mt = _i ? (
|
|
|
3292
3271
|
function(t, r, n) {
|
|
3293
3272
|
return t.slice(n, n + r.length) === r;
|
|
3294
3273
|
}
|
|
3295
|
-
),
|
|
3274
|
+
), qe = vi ? String.fromCodePoint : (
|
|
3296
3275
|
// IE11
|
|
3297
3276
|
function() {
|
|
3298
3277
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3304,9 +3283,9 @@ var Mt = _i ? (
|
|
|
3304
3283
|
}
|
|
3305
3284
|
return n;
|
|
3306
3285
|
}
|
|
3307
|
-
),
|
|
3286
|
+
), It = (
|
|
3308
3287
|
// native
|
|
3309
|
-
|
|
3288
|
+
_i ? Object.fromEntries : (
|
|
3310
3289
|
// Ponyfill
|
|
3311
3290
|
function(t) {
|
|
3312
3291
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3316,7 +3295,7 @@ var Mt = _i ? (
|
|
|
3316
3295
|
return r;
|
|
3317
3296
|
}
|
|
3318
3297
|
)
|
|
3319
|
-
),
|
|
3298
|
+
), _r = xi ? (
|
|
3320
3299
|
// Native
|
|
3321
3300
|
function(t, r) {
|
|
3322
3301
|
return t.codePointAt(r);
|
|
@@ -3330,7 +3309,7 @@ var Mt = _i ? (
|
|
|
3330
3309
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3331
3310
|
}
|
|
3332
3311
|
}
|
|
3333
|
-
),
|
|
3312
|
+
), Ai = Ei ? (
|
|
3334
3313
|
// Native
|
|
3335
3314
|
function(t) {
|
|
3336
3315
|
return t.trimStart();
|
|
@@ -3338,9 +3317,9 @@ var Mt = _i ? (
|
|
|
3338
3317
|
) : (
|
|
3339
3318
|
// Ponyfill
|
|
3340
3319
|
function(t) {
|
|
3341
|
-
return t.replace(
|
|
3320
|
+
return t.replace(bi, "");
|
|
3342
3321
|
}
|
|
3343
|
-
),
|
|
3322
|
+
), Bi = wi ? (
|
|
3344
3323
|
// Native
|
|
3345
3324
|
function(t) {
|
|
3346
3325
|
return t.trimEnd();
|
|
@@ -3348,32 +3327,32 @@ var Mt = _i ? (
|
|
|
3348
3327
|
) : (
|
|
3349
3328
|
// Ponyfill
|
|
3350
3329
|
function(t) {
|
|
3351
|
-
return t.replace(
|
|
3330
|
+
return t.replace(gi, "");
|
|
3352
3331
|
}
|
|
3353
3332
|
);
|
|
3354
|
-
function
|
|
3333
|
+
function xr(e, t) {
|
|
3355
3334
|
return new RegExp(e, t);
|
|
3356
3335
|
}
|
|
3357
|
-
var
|
|
3358
|
-
if (
|
|
3359
|
-
var
|
|
3360
|
-
|
|
3336
|
+
var Ye;
|
|
3337
|
+
if (Je) {
|
|
3338
|
+
var Mt = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3339
|
+
Ye = function(t, r) {
|
|
3361
3340
|
var n;
|
|
3362
|
-
|
|
3363
|
-
var i =
|
|
3341
|
+
Mt.lastIndex = r;
|
|
3342
|
+
var i = Mt.exec(t);
|
|
3364
3343
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3365
3344
|
};
|
|
3366
3345
|
} else
|
|
3367
|
-
|
|
3346
|
+
Ye = function(t, r) {
|
|
3368
3347
|
for (var n = []; ; ) {
|
|
3369
|
-
var i =
|
|
3370
|
-
if (i === void 0 ||
|
|
3348
|
+
var i = _r(t, r);
|
|
3349
|
+
if (i === void 0 || Er(i) || Ii(i))
|
|
3371
3350
|
break;
|
|
3372
3351
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3373
3352
|
}
|
|
3374
|
-
return
|
|
3353
|
+
return qe.apply(void 0, n);
|
|
3375
3354
|
};
|
|
3376
|
-
var
|
|
3355
|
+
var Ci = (
|
|
3377
3356
|
/** @class */
|
|
3378
3357
|
function() {
|
|
3379
3358
|
function e(t, r) {
|
|
@@ -3397,14 +3376,14 @@ var Oi = (
|
|
|
3397
3376
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3398
3377
|
var a = this.clonePosition();
|
|
3399
3378
|
this.bump(), i.push({
|
|
3400
|
-
type:
|
|
3379
|
+
type: S.pound,
|
|
3401
3380
|
location: _(a, this.clonePosition())
|
|
3402
3381
|
});
|
|
3403
3382
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3404
3383
|
if (n)
|
|
3405
3384
|
break;
|
|
3406
3385
|
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3407
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3386
|
+
} else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
|
|
3408
3387
|
var s = this.parseTag(t, r);
|
|
3409
3388
|
if (s.err)
|
|
3410
3389
|
return s;
|
|
@@ -3425,7 +3404,7 @@ var Oi = (
|
|
|
3425
3404
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3426
3405
|
return {
|
|
3427
3406
|
val: {
|
|
3428
|
-
type:
|
|
3407
|
+
type: S.literal,
|
|
3429
3408
|
value: "<".concat(i, "/>"),
|
|
3430
3409
|
location: _(n, this.clonePosition())
|
|
3431
3410
|
},
|
|
@@ -3437,12 +3416,12 @@ var Oi = (
|
|
|
3437
3416
|
return o;
|
|
3438
3417
|
var s = o.val, a = this.clonePosition();
|
|
3439
3418
|
if (this.bumpIf("</")) {
|
|
3440
|
-
if (this.isEOF() || !
|
|
3419
|
+
if (this.isEOF() || !Ke(this.char()))
|
|
3441
3420
|
return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
|
|
3442
3421
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3443
3422
|
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3444
3423
|
val: {
|
|
3445
|
-
type:
|
|
3424
|
+
type: S.tag,
|
|
3446
3425
|
value: i,
|
|
3447
3426
|
children: s,
|
|
3448
3427
|
location: _(n, this.clonePosition())
|
|
@@ -3455,7 +3434,7 @@ var Oi = (
|
|
|
3455
3434
|
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
3456
3435
|
}, e.prototype.parseTagName = function() {
|
|
3457
3436
|
var t = this.offset();
|
|
3458
|
-
for (this.bump(); !this.isEOF() &&
|
|
3437
|
+
for (this.bump(); !this.isEOF() && Oi(this.char()); )
|
|
3459
3438
|
this.bump();
|
|
3460
3439
|
return this.message.slice(t, this.offset());
|
|
3461
3440
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3479,12 +3458,12 @@ var Oi = (
|
|
|
3479
3458
|
}
|
|
3480
3459
|
var l = _(n, this.clonePosition());
|
|
3481
3460
|
return {
|
|
3482
|
-
val: { type:
|
|
3461
|
+
val: { type: S.literal, value: i, location: l },
|
|
3483
3462
|
err: null
|
|
3484
3463
|
};
|
|
3485
3464
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3486
3465
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3487
|
-
!
|
|
3466
|
+
!Pi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3488
3467
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3489
3468
|
if (this.isEOF() || this.char() !== 39)
|
|
3490
3469
|
return null;
|
|
@@ -3518,12 +3497,12 @@ var Oi = (
|
|
|
3518
3497
|
r.push(n);
|
|
3519
3498
|
this.bump();
|
|
3520
3499
|
}
|
|
3521
|
-
return
|
|
3500
|
+
return qe.apply(void 0, r);
|
|
3522
3501
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3523
3502
|
if (this.isEOF())
|
|
3524
3503
|
return null;
|
|
3525
3504
|
var n = this.char();
|
|
3526
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3505
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
|
|
3527
3506
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3528
3507
|
var n = this.clonePosition();
|
|
3529
3508
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3539,7 +3518,7 @@ var Oi = (
|
|
|
3539
3518
|
case 125:
|
|
3540
3519
|
return this.bump(), {
|
|
3541
3520
|
val: {
|
|
3542
|
-
type:
|
|
3521
|
+
type: S.argument,
|
|
3543
3522
|
// value does not include the opening and closing braces.
|
|
3544
3523
|
value: i,
|
|
3545
3524
|
location: _(n, this.clonePosition())
|
|
@@ -3552,7 +3531,7 @@ var Oi = (
|
|
|
3552
3531
|
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3553
3532
|
}
|
|
3554
3533
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3555
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3534
|
+
var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
|
|
3556
3535
|
this.bumpTo(i);
|
|
3557
3536
|
var o = this.clonePosition(), s = _(t, o);
|
|
3558
3537
|
return { value: n, location: s };
|
|
@@ -3571,46 +3550,46 @@ var Oi = (
|
|
|
3571
3550
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3572
3551
|
if (c.err)
|
|
3573
3552
|
return c;
|
|
3574
|
-
var f =
|
|
3553
|
+
var f = Bi(c.val);
|
|
3575
3554
|
if (f.length === 0)
|
|
3576
3555
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3577
|
-
var
|
|
3578
|
-
u = { style: f, styleLocation:
|
|
3556
|
+
var d = _(h, this.clonePosition());
|
|
3557
|
+
u = { style: f, styleLocation: d };
|
|
3579
3558
|
}
|
|
3580
3559
|
var m = this.tryParseArgumentClose(i);
|
|
3581
3560
|
if (m.err)
|
|
3582
3561
|
return m;
|
|
3583
|
-
var
|
|
3584
|
-
if (u &&
|
|
3585
|
-
var g =
|
|
3562
|
+
var p = _(i, this.clonePosition());
|
|
3563
|
+
if (u && Ot(u == null ? void 0 : u.style, "::", 0)) {
|
|
3564
|
+
var g = Ai(u.style.slice(2));
|
|
3586
3565
|
if (a === "number") {
|
|
3587
3566
|
var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
|
3588
3567
|
return c.err ? c : {
|
|
3589
|
-
val: { type:
|
|
3568
|
+
val: { type: S.number, value: n, location: p, style: c.val },
|
|
3590
3569
|
err: null
|
|
3591
3570
|
};
|
|
3592
3571
|
} else {
|
|
3593
3572
|
if (g.length === 0)
|
|
3594
|
-
return this.error(y.EXPECT_DATE_TIME_SKELETON,
|
|
3573
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
|
|
3595
3574
|
var A = g;
|
|
3596
|
-
this.locale && (A =
|
|
3575
|
+
this.locale && (A = di(g, this.locale));
|
|
3597
3576
|
var f = {
|
|
3598
|
-
type:
|
|
3577
|
+
type: J.dateTime,
|
|
3599
3578
|
pattern: A,
|
|
3600
3579
|
location: u.styleLocation,
|
|
3601
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3602
|
-
}, T = a === "date" ?
|
|
3580
|
+
parsedOptions: this.shouldParseSkeletons ? ai(A) : {}
|
|
3581
|
+
}, T = a === "date" ? S.date : S.time;
|
|
3603
3582
|
return {
|
|
3604
|
-
val: { type: T, value: n, location:
|
|
3583
|
+
val: { type: T, value: n, location: p, style: f },
|
|
3605
3584
|
err: null
|
|
3606
3585
|
};
|
|
3607
3586
|
}
|
|
3608
3587
|
}
|
|
3609
3588
|
return {
|
|
3610
3589
|
val: {
|
|
3611
|
-
type: a === "number" ?
|
|
3590
|
+
type: a === "number" ? S.number : a === "date" ? S.date : S.time,
|
|
3612
3591
|
value: n,
|
|
3613
|
-
location:
|
|
3592
|
+
location: p,
|
|
3614
3593
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3615
3594
|
},
|
|
3616
3595
|
err: null
|
|
@@ -3621,19 +3600,19 @@ var Oi = (
|
|
|
3621
3600
|
case "select": {
|
|
3622
3601
|
var x = this.clonePosition();
|
|
3623
3602
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3624
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x,
|
|
3603
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, E({}, x)));
|
|
3625
3604
|
this.bumpSpace();
|
|
3626
|
-
var
|
|
3627
|
-
if (a !== "select" &&
|
|
3605
|
+
var w = this.parseIdentifierIfPossible(), b = 0;
|
|
3606
|
+
if (a !== "select" && w.value === "offset") {
|
|
3628
3607
|
if (!this.bumpIf(":"))
|
|
3629
3608
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3630
3609
|
this.bumpSpace();
|
|
3631
3610
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3632
3611
|
if (c.err)
|
|
3633
3612
|
return c;
|
|
3634
|
-
this.bumpSpace(),
|
|
3613
|
+
this.bumpSpace(), w = this.parseIdentifierIfPossible(), b = c.val;
|
|
3635
3614
|
}
|
|
3636
|
-
var B = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
3615
|
+
var B = this.tryParsePluralOrSelectOptions(t, a, r, w);
|
|
3637
3616
|
if (B.err)
|
|
3638
3617
|
return B;
|
|
3639
3618
|
var m = this.tryParseArgumentClose(i);
|
|
@@ -3642,17 +3621,17 @@ var Oi = (
|
|
|
3642
3621
|
var ce = _(i, this.clonePosition());
|
|
3643
3622
|
return a === "select" ? {
|
|
3644
3623
|
val: {
|
|
3645
|
-
type:
|
|
3624
|
+
type: S.select,
|
|
3646
3625
|
value: n,
|
|
3647
|
-
options:
|
|
3626
|
+
options: It(B.val),
|
|
3648
3627
|
location: ce
|
|
3649
3628
|
},
|
|
3650
3629
|
err: null
|
|
3651
3630
|
} : {
|
|
3652
3631
|
val: {
|
|
3653
|
-
type:
|
|
3632
|
+
type: S.plural,
|
|
3654
3633
|
value: n,
|
|
3655
|
-
options:
|
|
3634
|
+
options: It(B.val),
|
|
3656
3635
|
offset: b,
|
|
3657
3636
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3658
3637
|
location: ce
|
|
@@ -3703,16 +3682,16 @@ var Oi = (
|
|
|
3703
3682
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3704
3683
|
var n = [];
|
|
3705
3684
|
try {
|
|
3706
|
-
n =
|
|
3685
|
+
n = li(t);
|
|
3707
3686
|
} catch (i) {
|
|
3708
3687
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3709
3688
|
}
|
|
3710
3689
|
return {
|
|
3711
3690
|
val: {
|
|
3712
|
-
type:
|
|
3691
|
+
type: J.number,
|
|
3713
3692
|
tokens: n,
|
|
3714
3693
|
location: r,
|
|
3715
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3694
|
+
parsedOptions: this.shouldParseSkeletons ? mi(n) : {}
|
|
3716
3695
|
},
|
|
3717
3696
|
err: null
|
|
3718
3697
|
};
|
|
@@ -3731,20 +3710,20 @@ var Oi = (
|
|
|
3731
3710
|
if (l.has(u))
|
|
3732
3711
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3733
3712
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3734
|
-
var
|
|
3713
|
+
var d = this.clonePosition();
|
|
3735
3714
|
if (!this.bumpIf("{"))
|
|
3736
3715
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3737
3716
|
var m = this.parseMessage(t + 1, r, n);
|
|
3738
3717
|
if (m.err)
|
|
3739
3718
|
return m;
|
|
3740
|
-
var
|
|
3741
|
-
if (
|
|
3742
|
-
return
|
|
3719
|
+
var p = this.tryParseArgumentClose(d);
|
|
3720
|
+
if (p.err)
|
|
3721
|
+
return p;
|
|
3743
3722
|
a.push([
|
|
3744
3723
|
u,
|
|
3745
3724
|
{
|
|
3746
3725
|
value: m.val,
|
|
3747
|
-
location: _(
|
|
3726
|
+
location: _(d, this.clonePosition())
|
|
3748
3727
|
}
|
|
3749
3728
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3750
3729
|
}
|
|
@@ -3760,7 +3739,7 @@ var Oi = (
|
|
|
3760
3739
|
break;
|
|
3761
3740
|
}
|
|
3762
3741
|
var l = _(i, this.clonePosition());
|
|
3763
|
-
return o ? (s *= n,
|
|
3742
|
+
return o ? (s *= n, Ti(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3764
3743
|
}, e.prototype.offset = function() {
|
|
3765
3744
|
return this.position.offset;
|
|
3766
3745
|
}, e.prototype.isEOF = function() {
|
|
@@ -3775,7 +3754,7 @@ var Oi = (
|
|
|
3775
3754
|
var t = this.position.offset;
|
|
3776
3755
|
if (t >= this.message.length)
|
|
3777
3756
|
throw Error("out of bound");
|
|
3778
|
-
var r =
|
|
3757
|
+
var r = _r(this.message, t);
|
|
3779
3758
|
if (r === void 0)
|
|
3780
3759
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3781
3760
|
return r;
|
|
@@ -3794,7 +3773,7 @@ var Oi = (
|
|
|
3794
3773
|
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);
|
|
3795
3774
|
}
|
|
3796
3775
|
}, e.prototype.bumpIf = function(t) {
|
|
3797
|
-
if (
|
|
3776
|
+
if (Ot(this.message, t, this.offset())) {
|
|
3798
3777
|
for (var r = 0; r < t.length; r++)
|
|
3799
3778
|
this.bump();
|
|
3800
3779
|
return !0;
|
|
@@ -3816,7 +3795,7 @@ var Oi = (
|
|
|
3816
3795
|
break;
|
|
3817
3796
|
}
|
|
3818
3797
|
}, e.prototype.bumpSpace = function() {
|
|
3819
|
-
for (; !this.isEOF() &&
|
|
3798
|
+
for (; !this.isEOF() && Er(this.char()); )
|
|
3820
3799
|
this.bump();
|
|
3821
3800
|
}, e.prototype.peek = function() {
|
|
3822
3801
|
if (this.isEOF())
|
|
@@ -3826,47 +3805,47 @@ var Oi = (
|
|
|
3826
3805
|
}, e;
|
|
3827
3806
|
}()
|
|
3828
3807
|
);
|
|
3829
|
-
function
|
|
3808
|
+
function Ke(e) {
|
|
3830
3809
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3831
3810
|
}
|
|
3832
|
-
function
|
|
3833
|
-
return
|
|
3811
|
+
function Pi(e) {
|
|
3812
|
+
return Ke(e) || e === 47;
|
|
3834
3813
|
}
|
|
3835
|
-
function
|
|
3814
|
+
function Oi(e) {
|
|
3836
3815
|
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;
|
|
3837
3816
|
}
|
|
3838
|
-
function
|
|
3817
|
+
function Er(e) {
|
|
3839
3818
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3840
3819
|
}
|
|
3841
|
-
function
|
|
3820
|
+
function Ii(e) {
|
|
3842
3821
|
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;
|
|
3843
3822
|
}
|
|
3844
|
-
function
|
|
3823
|
+
function et(e) {
|
|
3845
3824
|
e.forEach(function(t) {
|
|
3846
|
-
if (delete t.location,
|
|
3825
|
+
if (delete t.location, fr(t) || mr(t))
|
|
3847
3826
|
for (var r in t.options)
|
|
3848
|
-
delete t.options[r].location,
|
|
3827
|
+
delete t.options[r].location, et(t.options[r].value);
|
|
3849
3828
|
else
|
|
3850
|
-
|
|
3829
|
+
lr(t) && pr(t.style) || (hr(t) || cr(t)) && Qe(t.style) ? delete t.style.location : dr(t) && et(t.children);
|
|
3851
3830
|
});
|
|
3852
3831
|
}
|
|
3853
|
-
function
|
|
3854
|
-
t === void 0 && (t = {}), t =
|
|
3855
|
-
var r = new
|
|
3832
|
+
function Mi(e, t) {
|
|
3833
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3834
|
+
var r = new Ci(e, t).parse();
|
|
3856
3835
|
if (r.err) {
|
|
3857
3836
|
var n = SyntaxError(y[r.err.kind]);
|
|
3858
3837
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3859
3838
|
}
|
|
3860
|
-
return t != null && t.captureLocation ||
|
|
3839
|
+
return t != null && t.captureLocation || et(r.val), r.val;
|
|
3861
3840
|
}
|
|
3862
|
-
var
|
|
3841
|
+
var q;
|
|
3863
3842
|
(function(e) {
|
|
3864
3843
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3865
|
-
})(
|
|
3866
|
-
var
|
|
3844
|
+
})(q || (q = {}));
|
|
3845
|
+
var Be = (
|
|
3867
3846
|
/** @class */
|
|
3868
3847
|
function(e) {
|
|
3869
|
-
|
|
3848
|
+
$(t, e);
|
|
3870
3849
|
function t(r, n, i) {
|
|
3871
3850
|
var o = e.call(this, r) || this;
|
|
3872
3851
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3875,48 +3854,48 @@ var Pe = (
|
|
|
3875
3854
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3876
3855
|
}, t;
|
|
3877
3856
|
}(Error)
|
|
3878
|
-
),
|
|
3857
|
+
), Nt = (
|
|
3879
3858
|
/** @class */
|
|
3880
3859
|
function(e) {
|
|
3881
|
-
|
|
3860
|
+
$(t, e);
|
|
3882
3861
|
function t(r, n, i, o) {
|
|
3883
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3862
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
|
|
3884
3863
|
}
|
|
3885
3864
|
return t;
|
|
3886
|
-
}(
|
|
3887
|
-
),
|
|
3865
|
+
}(Be)
|
|
3866
|
+
), Ni = (
|
|
3888
3867
|
/** @class */
|
|
3889
3868
|
function(e) {
|
|
3890
|
-
|
|
3869
|
+
$(t, e);
|
|
3891
3870
|
function t(r, n, i) {
|
|
3892
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3871
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
|
|
3893
3872
|
}
|
|
3894
3873
|
return t;
|
|
3895
|
-
}(
|
|
3896
|
-
),
|
|
3874
|
+
}(Be)
|
|
3875
|
+
), Li = (
|
|
3897
3876
|
/** @class */
|
|
3898
3877
|
function(e) {
|
|
3899
|
-
|
|
3878
|
+
$(t, e);
|
|
3900
3879
|
function t(r, n) {
|
|
3901
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3880
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
|
|
3902
3881
|
}
|
|
3903
3882
|
return t;
|
|
3904
|
-
}(
|
|
3883
|
+
}(Be)
|
|
3905
3884
|
), P;
|
|
3906
3885
|
(function(e) {
|
|
3907
3886
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3908
3887
|
})(P || (P = {}));
|
|
3909
|
-
function
|
|
3888
|
+
function Ri(e) {
|
|
3910
3889
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3911
3890
|
var n = t[t.length - 1];
|
|
3912
3891
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3913
3892
|
}, []);
|
|
3914
3893
|
}
|
|
3915
|
-
function
|
|
3894
|
+
function $i(e) {
|
|
3916
3895
|
return typeof e == "function";
|
|
3917
3896
|
}
|
|
3918
3897
|
function ye(e, t, r, n, i, o, s) {
|
|
3919
|
-
if (e.length === 1 &&
|
|
3898
|
+
if (e.length === 1 && At(e[0]))
|
|
3920
3899
|
return [
|
|
3921
3900
|
{
|
|
3922
3901
|
type: P.literal,
|
|
@@ -3925,14 +3904,14 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3925
3904
|
];
|
|
3926
3905
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3927
3906
|
var h = u[l];
|
|
3928
|
-
if (
|
|
3907
|
+
if (At(h)) {
|
|
3929
3908
|
a.push({
|
|
3930
3909
|
type: P.literal,
|
|
3931
3910
|
value: h.value
|
|
3932
3911
|
});
|
|
3933
3912
|
continue;
|
|
3934
3913
|
}
|
|
3935
|
-
if (
|
|
3914
|
+
if (oi(h)) {
|
|
3936
3915
|
typeof o == "number" && a.push({
|
|
3937
3916
|
type: P.literal,
|
|
3938
3917
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3941,43 +3920,43 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3941
3920
|
}
|
|
3942
3921
|
var c = h.value;
|
|
3943
3922
|
if (!(i && c in i))
|
|
3944
|
-
throw new
|
|
3923
|
+
throw new Li(c, s);
|
|
3945
3924
|
var f = i[c];
|
|
3946
|
-
if (
|
|
3925
|
+
if (ii(h)) {
|
|
3947
3926
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3948
3927
|
type: typeof f == "string" ? P.literal : P.object,
|
|
3949
3928
|
value: f
|
|
3950
3929
|
});
|
|
3951
3930
|
continue;
|
|
3952
3931
|
}
|
|
3953
|
-
if (
|
|
3954
|
-
var
|
|
3932
|
+
if (hr(h)) {
|
|
3933
|
+
var d = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
|
|
3955
3934
|
a.push({
|
|
3956
3935
|
type: P.literal,
|
|
3957
|
-
value: r.getDateTimeFormat(t,
|
|
3936
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3958
3937
|
});
|
|
3959
3938
|
continue;
|
|
3960
3939
|
}
|
|
3961
|
-
if (
|
|
3962
|
-
var
|
|
3940
|
+
if (cr(h)) {
|
|
3941
|
+
var d = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3963
3942
|
a.push({
|
|
3964
3943
|
type: P.literal,
|
|
3965
|
-
value: r.getDateTimeFormat(t,
|
|
3944
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3966
3945
|
});
|
|
3967
3946
|
continue;
|
|
3968
3947
|
}
|
|
3969
|
-
if (
|
|
3970
|
-
var
|
|
3971
|
-
|
|
3948
|
+
if (lr(h)) {
|
|
3949
|
+
var d = typeof h.style == "string" ? n.number[h.style] : pr(h.style) ? h.style.parsedOptions : void 0;
|
|
3950
|
+
d && d.scale && (f = f * (d.scale || 1)), a.push({
|
|
3972
3951
|
type: P.literal,
|
|
3973
|
-
value: r.getNumberFormat(t,
|
|
3952
|
+
value: r.getNumberFormat(t, d).format(f)
|
|
3974
3953
|
});
|
|
3975
3954
|
continue;
|
|
3976
3955
|
}
|
|
3977
3956
|
if (dr(h)) {
|
|
3978
|
-
var m = h.children,
|
|
3979
|
-
if (
|
|
3980
|
-
throw new
|
|
3957
|
+
var m = h.children, p = h.value, g = i[p];
|
|
3958
|
+
if (!$i(g))
|
|
3959
|
+
throw new Ni(p, "function", s);
|
|
3981
3960
|
var A = ye(m, t, r, n, i, o), T = g(A.map(function(b) {
|
|
3982
3961
|
return b.value;
|
|
3983
3962
|
}));
|
|
@@ -3988,42 +3967,42 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3988
3967
|
};
|
|
3989
3968
|
}));
|
|
3990
3969
|
}
|
|
3991
|
-
if (
|
|
3970
|
+
if (fr(h)) {
|
|
3992
3971
|
var x = h.options[f] || h.options.other;
|
|
3993
3972
|
if (!x)
|
|
3994
|
-
throw new
|
|
3973
|
+
throw new Nt(h.value, f, Object.keys(h.options), s);
|
|
3995
3974
|
a.push.apply(a, ye(x.value, t, r, n, i));
|
|
3996
3975
|
continue;
|
|
3997
3976
|
}
|
|
3998
|
-
if (
|
|
3977
|
+
if (mr(h)) {
|
|
3999
3978
|
var x = h.options["=".concat(f)];
|
|
4000
3979
|
if (!x) {
|
|
4001
3980
|
if (!Intl.PluralRules)
|
|
4002
|
-
throw new
|
|
3981
|
+
throw new Be(`Intl.PluralRules is not available in this environment.
|
|
4003
3982
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4004
|
-
`,
|
|
4005
|
-
var
|
|
4006
|
-
x = h.options[
|
|
3983
|
+
`, q.MISSING_INTL_API, s);
|
|
3984
|
+
var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3985
|
+
x = h.options[w] || h.options.other;
|
|
4007
3986
|
}
|
|
4008
3987
|
if (!x)
|
|
4009
|
-
throw new
|
|
3988
|
+
throw new Nt(h.value, f, Object.keys(h.options), s);
|
|
4010
3989
|
a.push.apply(a, ye(x.value, t, r, n, i, f - (h.offset || 0)));
|
|
4011
3990
|
continue;
|
|
4012
3991
|
}
|
|
4013
3992
|
}
|
|
4014
|
-
return
|
|
3993
|
+
return Ri(a);
|
|
4015
3994
|
}
|
|
4016
|
-
function
|
|
4017
|
-
return t ?
|
|
4018
|
-
return r[n] =
|
|
3995
|
+
function Gi(e, t) {
|
|
3996
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3997
|
+
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
4019
3998
|
}, {})) : e;
|
|
4020
3999
|
}
|
|
4021
|
-
function
|
|
4000
|
+
function Ui(e, t) {
|
|
4022
4001
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4023
|
-
return r[n] =
|
|
4024
|
-
},
|
|
4002
|
+
return r[n] = Gi(e[n], t[n]), r;
|
|
4003
|
+
}, E({}, e)) : e;
|
|
4025
4004
|
}
|
|
4026
|
-
function
|
|
4005
|
+
function Ue(e) {
|
|
4027
4006
|
return {
|
|
4028
4007
|
create: function() {
|
|
4029
4008
|
return {
|
|
@@ -4037,39 +4016,39 @@ function Fe(e) {
|
|
|
4037
4016
|
}
|
|
4038
4017
|
};
|
|
4039
4018
|
}
|
|
4040
|
-
function
|
|
4019
|
+
function Di(e) {
|
|
4041
4020
|
return e === void 0 && (e = {
|
|
4042
4021
|
number: {},
|
|
4043
4022
|
dateTime: {},
|
|
4044
4023
|
pluralRules: {}
|
|
4045
4024
|
}), {
|
|
4046
|
-
getNumberFormat:
|
|
4025
|
+
getNumberFormat: Re(function() {
|
|
4047
4026
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4048
4027
|
r[n] = arguments[n];
|
|
4049
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4028
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
|
|
4050
4029
|
}, {
|
|
4051
|
-
cache:
|
|
4052
|
-
strategy:
|
|
4030
|
+
cache: Ue(e.number),
|
|
4031
|
+
strategy: $e.variadic
|
|
4053
4032
|
}),
|
|
4054
|
-
getDateTimeFormat:
|
|
4033
|
+
getDateTimeFormat: Re(function() {
|
|
4055
4034
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4056
4035
|
r[n] = arguments[n];
|
|
4057
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4036
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
|
|
4058
4037
|
}, {
|
|
4059
|
-
cache:
|
|
4060
|
-
strategy:
|
|
4038
|
+
cache: Ue(e.dateTime),
|
|
4039
|
+
strategy: $e.variadic
|
|
4061
4040
|
}),
|
|
4062
|
-
getPluralRules:
|
|
4041
|
+
getPluralRules: Re(function() {
|
|
4063
4042
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4064
4043
|
r[n] = arguments[n];
|
|
4065
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4044
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
|
|
4066
4045
|
}, {
|
|
4067
|
-
cache:
|
|
4068
|
-
strategy:
|
|
4046
|
+
cache: Ue(e.pluralRules),
|
|
4047
|
+
strategy: $e.variadic
|
|
4069
4048
|
})
|
|
4070
4049
|
};
|
|
4071
4050
|
}
|
|
4072
|
-
var
|
|
4051
|
+
var Fi = (
|
|
4073
4052
|
/** @class */
|
|
4074
4053
|
function() {
|
|
4075
4054
|
function e(t, r, n, i) {
|
|
@@ -4101,13 +4080,13 @@ var ki = (
|
|
|
4101
4080
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4102
4081
|
var s = i || {};
|
|
4103
4082
|
s.formatters;
|
|
4104
|
-
var a =
|
|
4105
|
-
this.ast = e.__parse(t,
|
|
4083
|
+
var a = _n(s, ["formatters"]);
|
|
4084
|
+
this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
|
|
4106
4085
|
} else
|
|
4107
4086
|
this.ast = t;
|
|
4108
4087
|
if (!Array.isArray(this.ast))
|
|
4109
4088
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4110
|
-
this.formats =
|
|
4089
|
+
this.formats = Ui(e.formats, n), this.formatters = i && i.formatters || Di(this.formatterCache);
|
|
4111
4090
|
}
|
|
4112
4091
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4113
4092
|
get: function() {
|
|
@@ -4120,7 +4099,7 @@ var ki = (
|
|
|
4120
4099
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4121
4100
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4122
4101
|
}
|
|
4123
|
-
}, e.__parse =
|
|
4102
|
+
}, e.__parse = Mi, e.formats = {
|
|
4124
4103
|
number: {
|
|
4125
4104
|
integer: {
|
|
4126
4105
|
maximumFractionDigits: 0
|
|
@@ -4181,7 +4160,7 @@ var ki = (
|
|
|
4181
4160
|
}, e;
|
|
4182
4161
|
}()
|
|
4183
4162
|
);
|
|
4184
|
-
function
|
|
4163
|
+
function ji(e, t) {
|
|
4185
4164
|
if (t == null)
|
|
4186
4165
|
return;
|
|
4187
4166
|
if (t in e)
|
|
@@ -4202,92 +4181,92 @@ function Vi(e, t) {
|
|
|
4202
4181
|
n = void 0;
|
|
4203
4182
|
return n;
|
|
4204
4183
|
}
|
|
4205
|
-
const G = {},
|
|
4184
|
+
const G = {}, ki = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), wr = (e, t) => {
|
|
4206
4185
|
if (t == null)
|
|
4207
4186
|
return;
|
|
4208
4187
|
if (t in G && e in G[t])
|
|
4209
4188
|
return G[t][e];
|
|
4210
|
-
const r =
|
|
4189
|
+
const r = Ce(t);
|
|
4211
4190
|
for (let n = 0; n < r.length; n++) {
|
|
4212
|
-
const i = r[n], o =
|
|
4191
|
+
const i = r[n], o = Xi(i, e);
|
|
4213
4192
|
if (o)
|
|
4214
|
-
return
|
|
4193
|
+
return ki(e, t, o);
|
|
4215
4194
|
}
|
|
4216
4195
|
};
|
|
4217
|
-
let
|
|
4218
|
-
const he =
|
|
4219
|
-
function
|
|
4220
|
-
return
|
|
4196
|
+
let ut;
|
|
4197
|
+
const he = Ae({});
|
|
4198
|
+
function Vi(e) {
|
|
4199
|
+
return ut[e] || null;
|
|
4221
4200
|
}
|
|
4222
|
-
function
|
|
4223
|
-
return e in
|
|
4201
|
+
function Sr(e) {
|
|
4202
|
+
return e in ut;
|
|
4224
4203
|
}
|
|
4225
|
-
function
|
|
4226
|
-
if (!
|
|
4204
|
+
function Xi(e, t) {
|
|
4205
|
+
if (!Sr(e))
|
|
4227
4206
|
return null;
|
|
4228
|
-
const r =
|
|
4229
|
-
return
|
|
4207
|
+
const r = Vi(e);
|
|
4208
|
+
return ji(r, t);
|
|
4230
4209
|
}
|
|
4231
|
-
function
|
|
4210
|
+
function zi(e) {
|
|
4232
4211
|
if (e == null)
|
|
4233
4212
|
return;
|
|
4234
|
-
const t =
|
|
4213
|
+
const t = Ce(e);
|
|
4235
4214
|
for (let r = 0; r < t.length; r++) {
|
|
4236
4215
|
const n = t[r];
|
|
4237
|
-
if (
|
|
4216
|
+
if (Sr(n))
|
|
4238
4217
|
return n;
|
|
4239
4218
|
}
|
|
4240
4219
|
}
|
|
4241
|
-
function
|
|
4220
|
+
function Tr(e, ...t) {
|
|
4242
4221
|
delete G[e], he.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
|
|
4243
4222
|
}
|
|
4244
|
-
|
|
4223
|
+
K(
|
|
4245
4224
|
[he],
|
|
4246
4225
|
([e]) => Object.keys(e)
|
|
4247
4226
|
);
|
|
4248
|
-
he.subscribe((e) =>
|
|
4227
|
+
he.subscribe((e) => ut = e);
|
|
4249
4228
|
const ve = {};
|
|
4250
|
-
function
|
|
4229
|
+
function Wi(e, t) {
|
|
4251
4230
|
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
|
4252
4231
|
}
|
|
4253
|
-
function
|
|
4232
|
+
function Hr(e) {
|
|
4254
4233
|
return ve[e];
|
|
4255
4234
|
}
|
|
4256
|
-
function
|
|
4257
|
-
return
|
|
4258
|
-
const r =
|
|
4235
|
+
function Zi(e) {
|
|
4236
|
+
return Ce(e).map((t) => {
|
|
4237
|
+
const r = Hr(t);
|
|
4259
4238
|
return [t, r ? [...r] : []];
|
|
4260
4239
|
}).filter(([, t]) => t.length > 0);
|
|
4261
4240
|
}
|
|
4262
|
-
function
|
|
4263
|
-
return e == null ? !1 :
|
|
4241
|
+
function tt(e) {
|
|
4242
|
+
return e == null ? !1 : Ce(e).some(
|
|
4264
4243
|
(t) => {
|
|
4265
4244
|
var r;
|
|
4266
|
-
return (r =
|
|
4245
|
+
return (r = Hr(t)) == null ? void 0 : r.size;
|
|
4267
4246
|
}
|
|
4268
4247
|
);
|
|
4269
4248
|
}
|
|
4270
|
-
function
|
|
4249
|
+
function Qi(e, t) {
|
|
4271
4250
|
return Promise.all(
|
|
4272
|
-
t.map((n) => (
|
|
4273
|
-
).then((n) =>
|
|
4274
|
-
}
|
|
4275
|
-
const
|
|
4276
|
-
function
|
|
4277
|
-
if (!
|
|
4278
|
-
return e in
|
|
4279
|
-
const t =
|
|
4280
|
-
return
|
|
4251
|
+
t.map((n) => (Wi(e, n), n().then((i) => i.default || i)))
|
|
4252
|
+
).then((n) => Tr(e, ...n));
|
|
4253
|
+
}
|
|
4254
|
+
const ne = {};
|
|
4255
|
+
function Ar(e) {
|
|
4256
|
+
if (!tt(e))
|
|
4257
|
+
return e in ne ? ne[e] : Promise.resolve();
|
|
4258
|
+
const t = Zi(e);
|
|
4259
|
+
return ne[e] = Promise.all(
|
|
4281
4260
|
t.map(
|
|
4282
|
-
([r, n]) =>
|
|
4261
|
+
([r, n]) => Qi(r, n)
|
|
4283
4262
|
)
|
|
4284
4263
|
).then(() => {
|
|
4285
|
-
if (
|
|
4286
|
-
return
|
|
4287
|
-
delete
|
|
4288
|
-
}),
|
|
4264
|
+
if (tt(e))
|
|
4265
|
+
return Ar(e);
|
|
4266
|
+
delete ne[e];
|
|
4267
|
+
}), ne[e];
|
|
4289
4268
|
}
|
|
4290
|
-
const
|
|
4269
|
+
const Ji = {
|
|
4291
4270
|
number: {
|
|
4292
4271
|
scientific: { notation: "scientific" },
|
|
4293
4272
|
engineering: { notation: "engineering" },
|
|
@@ -4316,135 +4295,135 @@ const Yi = {
|
|
|
4316
4295
|
timeZoneName: "short"
|
|
4317
4296
|
}
|
|
4318
4297
|
}
|
|
4319
|
-
},
|
|
4298
|
+
}, qi = {
|
|
4320
4299
|
fallbackLocale: null,
|
|
4321
4300
|
loadingDelay: 200,
|
|
4322
|
-
formats:
|
|
4301
|
+
formats: Ji,
|
|
4323
4302
|
warnOnMissingMessages: !0,
|
|
4324
4303
|
handleMissingMessage: void 0,
|
|
4325
4304
|
ignoreTag: !0
|
|
4326
|
-
},
|
|
4327
|
-
function
|
|
4328
|
-
return
|
|
4305
|
+
}, Yi = qi;
|
|
4306
|
+
function Y() {
|
|
4307
|
+
return Yi;
|
|
4329
4308
|
}
|
|
4330
|
-
const
|
|
4331
|
-
var
|
|
4309
|
+
const De = Ae(!1);
|
|
4310
|
+
var Ki = Object.defineProperty, eo = Object.defineProperties, to = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, ro = Object.prototype.hasOwnProperty, no = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, io = (e, t) => {
|
|
4332
4311
|
for (var r in t || (t = {}))
|
|
4333
|
-
|
|
4334
|
-
if (
|
|
4335
|
-
for (var r of
|
|
4336
|
-
|
|
4312
|
+
ro.call(t, r) && Rt(e, r, t[r]);
|
|
4313
|
+
if (Lt)
|
|
4314
|
+
for (var r of Lt(t))
|
|
4315
|
+
no.call(t, r) && Rt(e, r, t[r]);
|
|
4337
4316
|
return e;
|
|
4338
|
-
},
|
|
4339
|
-
let
|
|
4340
|
-
const
|
|
4341
|
-
function
|
|
4317
|
+
}, oo = (e, t) => eo(e, to(t));
|
|
4318
|
+
let rt;
|
|
4319
|
+
const we = Ae(null);
|
|
4320
|
+
function $t(e) {
|
|
4342
4321
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4343
4322
|
}
|
|
4344
|
-
function
|
|
4345
|
-
const r =
|
|
4346
|
-
return t ? [.../* @__PURE__ */ new Set([...r,
|
|
4323
|
+
function Ce(e, t = Y().fallbackLocale) {
|
|
4324
|
+
const r = $t(e);
|
|
4325
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
|
|
4347
4326
|
}
|
|
4348
4327
|
function F() {
|
|
4349
|
-
return
|
|
4328
|
+
return rt != null ? rt : void 0;
|
|
4350
4329
|
}
|
|
4351
|
-
|
|
4352
|
-
|
|
4330
|
+
we.subscribe((e) => {
|
|
4331
|
+
rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4353
4332
|
});
|
|
4354
|
-
const
|
|
4355
|
-
if (e &&
|
|
4356
|
-
const { loadingDelay: t } =
|
|
4333
|
+
const so = (e) => {
|
|
4334
|
+
if (e && zi(e) && tt(e)) {
|
|
4335
|
+
const { loadingDelay: t } = Y();
|
|
4357
4336
|
let r;
|
|
4358
4337
|
return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
|
|
4359
|
-
() =>
|
|
4338
|
+
() => De.set(!0),
|
|
4360
4339
|
t
|
|
4361
|
-
) :
|
|
4362
|
-
|
|
4340
|
+
) : De.set(!0), Ar(e).then(() => {
|
|
4341
|
+
we.set(e);
|
|
4363
4342
|
}).finally(() => {
|
|
4364
|
-
clearTimeout(r),
|
|
4343
|
+
clearTimeout(r), De.set(!1);
|
|
4365
4344
|
});
|
|
4366
4345
|
}
|
|
4367
|
-
return
|
|
4368
|
-
},
|
|
4369
|
-
set:
|
|
4370
|
-
}),
|
|
4346
|
+
return we.set(e);
|
|
4347
|
+
}, ee = oo(io({}, we), {
|
|
4348
|
+
set: so
|
|
4349
|
+
}), Pe = (e) => {
|
|
4371
4350
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4372
4351
|
return (n) => {
|
|
4373
4352
|
const i = JSON.stringify(n);
|
|
4374
4353
|
return i in t ? t[i] : t[i] = e(n);
|
|
4375
4354
|
};
|
|
4376
4355
|
};
|
|
4377
|
-
var
|
|
4356
|
+
var ao = Object.defineProperty, Se = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
|
4378
4357
|
for (var r in t || (t = {}))
|
|
4379
|
-
|
|
4380
|
-
if (
|
|
4381
|
-
for (var r of
|
|
4382
|
-
|
|
4358
|
+
Br.call(t, r) && Gt(e, r, t[r]);
|
|
4359
|
+
if (Se)
|
|
4360
|
+
for (var r of Se(t))
|
|
4361
|
+
Cr.call(t, r) && Gt(e, r, t[r]);
|
|
4383
4362
|
return e;
|
|
4384
|
-
},
|
|
4363
|
+
}, te = (e, t) => {
|
|
4385
4364
|
var r = {};
|
|
4386
4365
|
for (var n in e)
|
|
4387
|
-
|
|
4388
|
-
if (e != null &&
|
|
4389
|
-
for (var n of
|
|
4390
|
-
t.indexOf(n) < 0 &&
|
|
4366
|
+
Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4367
|
+
if (e != null && Se)
|
|
4368
|
+
for (var n of Se(e))
|
|
4369
|
+
t.indexOf(n) < 0 && Cr.call(e, n) && (r[n] = e[n]);
|
|
4391
4370
|
return r;
|
|
4392
4371
|
};
|
|
4393
|
-
const
|
|
4394
|
-
const { formats: r } =
|
|
4372
|
+
const ae = (e, t) => {
|
|
4373
|
+
const { formats: r } = Y();
|
|
4395
4374
|
if (e in r && t in r[e])
|
|
4396
4375
|
return r[e][t];
|
|
4397
4376
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4398
|
-
},
|
|
4377
|
+
}, uo = Pe(
|
|
4399
4378
|
(e) => {
|
|
4400
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4379
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4401
4380
|
if (r == null)
|
|
4402
4381
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4403
|
-
return n && (i =
|
|
4382
|
+
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
4404
4383
|
}
|
|
4405
|
-
),
|
|
4384
|
+
), lo = Pe(
|
|
4406
4385
|
(e) => {
|
|
4407
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4386
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4408
4387
|
if (r == null)
|
|
4409
4388
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4410
|
-
return n ? i =
|
|
4389
|
+
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4411
4390
|
}
|
|
4412
|
-
),
|
|
4391
|
+
), ho = Pe(
|
|
4413
4392
|
(e) => {
|
|
4414
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4393
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4415
4394
|
if (r == null)
|
|
4416
4395
|
throw new Error(
|
|
4417
4396
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4418
4397
|
);
|
|
4419
|
-
return n ? i =
|
|
4398
|
+
return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4420
4399
|
}
|
|
4421
|
-
),
|
|
4400
|
+
), co = (e = {}) => {
|
|
4422
4401
|
var t = e, {
|
|
4423
4402
|
locale: r = F()
|
|
4424
|
-
} = t, n =
|
|
4403
|
+
} = t, n = te(t, [
|
|
4425
4404
|
"locale"
|
|
4426
4405
|
]);
|
|
4427
|
-
return
|
|
4428
|
-
},
|
|
4406
|
+
return uo(lt({ locale: r }, n));
|
|
4407
|
+
}, fo = (e = {}) => {
|
|
4429
4408
|
var t = e, {
|
|
4430
4409
|
locale: r = F()
|
|
4431
|
-
} = t, n =
|
|
4410
|
+
} = t, n = te(t, [
|
|
4432
4411
|
"locale"
|
|
4433
4412
|
]);
|
|
4434
|
-
return
|
|
4435
|
-
},
|
|
4413
|
+
return lo(lt({ locale: r }, n));
|
|
4414
|
+
}, mo = (e = {}) => {
|
|
4436
4415
|
var t = e, {
|
|
4437
4416
|
locale: r = F()
|
|
4438
|
-
} = t, n =
|
|
4417
|
+
} = t, n = te(t, [
|
|
4439
4418
|
"locale"
|
|
4440
4419
|
]);
|
|
4441
|
-
return
|
|
4442
|
-
},
|
|
4420
|
+
return ho(lt({ locale: r }, n));
|
|
4421
|
+
}, po = Pe(
|
|
4443
4422
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4444
|
-
(e, t = F()) => new
|
|
4445
|
-
ignoreTag:
|
|
4423
|
+
(e, t = F()) => new Fi(e, t, Y().formats, {
|
|
4424
|
+
ignoreTag: Y().ignoreTag
|
|
4446
4425
|
})
|
|
4447
|
-
),
|
|
4426
|
+
), bo = (e, t = {}) => {
|
|
4448
4427
|
var r, n, i, o;
|
|
4449
4428
|
let s = t;
|
|
4450
4429
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4457,9 +4436,9 @@ const se = (e, t) => {
|
|
|
4457
4436
|
throw new Error(
|
|
4458
4437
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4459
4438
|
);
|
|
4460
|
-
let h =
|
|
4439
|
+
let h = wr(e, l);
|
|
4461
4440
|
if (!h)
|
|
4462
|
-
h = (o = (i = (n = (r =
|
|
4441
|
+
h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4463
4442
|
else if (typeof h != "string")
|
|
4464
4443
|
return console.warn(
|
|
4465
4444
|
`[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.`
|
|
@@ -4468,7 +4447,7 @@ const se = (e, t) => {
|
|
|
4468
4447
|
return h;
|
|
4469
4448
|
let c = h;
|
|
4470
4449
|
try {
|
|
4471
|
-
c =
|
|
4450
|
+
c = po(h, l).format(a);
|
|
4472
4451
|
} catch (f) {
|
|
4473
4452
|
f instanceof Error && console.warn(
|
|
4474
4453
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4476,20 +4455,20 @@ const se = (e, t) => {
|
|
|
4476
4455
|
);
|
|
4477
4456
|
}
|
|
4478
4457
|
return c;
|
|
4479
|
-
},
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4458
|
+
}, go = (e, t) => mo(t).format(e), yo = (e, t) => fo(t).format(e), vo = (e, t) => co(t).format(e), _o = (e, t = F()) => wr(e, t), xo = K([ee, he], () => bo);
|
|
4459
|
+
K([ee], () => go);
|
|
4460
|
+
K([ee], () => yo);
|
|
4461
|
+
K([ee], () => vo);
|
|
4462
|
+
K([ee, he], () => _o);
|
|
4484
4463
|
window.emWidgets = { topic: Nn };
|
|
4485
|
-
const
|
|
4486
|
-
function
|
|
4464
|
+
const Eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4465
|
+
function wo(e, t) {
|
|
4487
4466
|
if (e) {
|
|
4488
4467
|
const r = document.createElement("style");
|
|
4489
4468
|
r.innerHTML = t, e.appendChild(r);
|
|
4490
4469
|
}
|
|
4491
4470
|
}
|
|
4492
|
-
function
|
|
4471
|
+
function So(e, t) {
|
|
4493
4472
|
const r = new URL(t);
|
|
4494
4473
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4495
4474
|
const i = document.createElement("style");
|
|
@@ -4498,7 +4477,7 @@ function Ho(e, t) {
|
|
|
4498
4477
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4499
4478
|
});
|
|
4500
4479
|
}
|
|
4501
|
-
function
|
|
4480
|
+
function To(e, t, r) {
|
|
4502
4481
|
if (window.emMessageBus) {
|
|
4503
4482
|
const n = document.createElement("style");
|
|
4504
4483
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4506,13 +4485,13 @@ function Ao(e, t, r) {
|
|
|
4506
4485
|
});
|
|
4507
4486
|
}
|
|
4508
4487
|
}
|
|
4509
|
-
function
|
|
4510
|
-
|
|
4488
|
+
function Ut(e, t) {
|
|
4489
|
+
Tr(e, t);
|
|
4511
4490
|
}
|
|
4512
|
-
function
|
|
4513
|
-
|
|
4491
|
+
function Ho(e) {
|
|
4492
|
+
ee.set(e);
|
|
4514
4493
|
}
|
|
4515
|
-
const
|
|
4494
|
+
const Dt = {
|
|
4516
4495
|
en: {
|
|
4517
4496
|
cancel: "Cancel",
|
|
4518
4497
|
confirm: "Confirm"
|
|
@@ -4558,18 +4537,18 @@ const jt = {
|
|
|
4558
4537
|
confirm: "Confirm"
|
|
4559
4538
|
}
|
|
4560
4539
|
};
|
|
4561
|
-
function
|
|
4562
|
-
|
|
4540
|
+
function Ao(e) {
|
|
4541
|
+
Zr(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}');
|
|
4563
4542
|
}
|
|
4564
|
-
const
|
|
4565
|
-
function
|
|
4543
|
+
const Bo = (e) => ({}), Ft = (e) => ({});
|
|
4544
|
+
function Co(e) {
|
|
4566
4545
|
let t, r;
|
|
4567
4546
|
return {
|
|
4568
4547
|
c() {
|
|
4569
|
-
t =
|
|
4548
|
+
t = bt("svg"), r = bt("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");
|
|
4570
4549
|
},
|
|
4571
4550
|
m(n, i) {
|
|
4572
|
-
|
|
4551
|
+
ue(n, t, i), C(t, r);
|
|
4573
4552
|
},
|
|
4574
4553
|
p: N,
|
|
4575
4554
|
d(n) {
|
|
@@ -4577,21 +4556,21 @@ function Oo(e) {
|
|
|
4577
4556
|
}
|
|
4578
4557
|
};
|
|
4579
4558
|
}
|
|
4580
|
-
function
|
|
4559
|
+
function jt(e) {
|
|
4581
4560
|
let t, r, n;
|
|
4582
4561
|
return {
|
|
4583
4562
|
c() {
|
|
4584
|
-
t = M("div"), r = M("h2"), n =
|
|
4563
|
+
t = M("div"), r = M("h2"), n = le(
|
|
4585
4564
|
/*modaltitle*/
|
|
4586
4565
|
e[1]
|
|
4587
4566
|
), H(t, "class", "GeneralConfirmationTitle");
|
|
4588
4567
|
},
|
|
4589
4568
|
m(i, o) {
|
|
4590
|
-
|
|
4569
|
+
ue(i, t, o), C(t, r), C(r, n);
|
|
4591
4570
|
},
|
|
4592
4571
|
p(i, o) {
|
|
4593
4572
|
o & /*modaltitle*/
|
|
4594
|
-
2 &&
|
|
4573
|
+
2 && ot(
|
|
4595
4574
|
n,
|
|
4596
4575
|
/*modaltitle*/
|
|
4597
4576
|
i[1]
|
|
@@ -4602,17 +4581,17 @@ function Vt(e) {
|
|
|
4602
4581
|
}
|
|
4603
4582
|
};
|
|
4604
4583
|
}
|
|
4605
|
-
function
|
|
4584
|
+
function kt(e) {
|
|
4606
4585
|
let t, r = (
|
|
4607
4586
|
/*$_*/
|
|
4608
4587
|
e[4]("cancel") + ""
|
|
4609
4588
|
), n, i, o;
|
|
4610
4589
|
return {
|
|
4611
4590
|
c() {
|
|
4612
|
-
t = M("button"), n =
|
|
4591
|
+
t = M("button"), n = le(r), H(t, "class", "GeneralCancelButton");
|
|
4613
4592
|
},
|
|
4614
4593
|
m(s, a) {
|
|
4615
|
-
|
|
4594
|
+
ue(s, t, a), C(t, n), i || (o = Fe(
|
|
4616
4595
|
t,
|
|
4617
4596
|
"click",
|
|
4618
4597
|
/*click_handler*/
|
|
@@ -4622,52 +4601,52 @@ function Xt(e) {
|
|
|
4622
4601
|
p(s, a) {
|
|
4623
4602
|
a & /*$_*/
|
|
4624
4603
|
16 && r !== (r = /*$_*/
|
|
4625
|
-
s[4]("cancel") + "") &&
|
|
4604
|
+
s[4]("cancel") + "") && ot(n, r);
|
|
4626
4605
|
},
|
|
4627
4606
|
d(s) {
|
|
4628
4607
|
s && D(t), i = !1, o();
|
|
4629
4608
|
}
|
|
4630
4609
|
};
|
|
4631
4610
|
}
|
|
4632
|
-
function
|
|
4611
|
+
function Po(e) {
|
|
4633
4612
|
let t, r, n, i, o, s, a, l, u, h, c = (
|
|
4634
4613
|
/*$_*/
|
|
4635
4614
|
e[4]("confirm") + ""
|
|
4636
|
-
), f,
|
|
4615
|
+
), f, d, m, p;
|
|
4637
4616
|
const g = (
|
|
4638
4617
|
/*#slots*/
|
|
4639
4618
|
e[16].close
|
|
4640
|
-
), A =
|
|
4619
|
+
), A = jr(
|
|
4641
4620
|
g,
|
|
4642
4621
|
e,
|
|
4643
4622
|
/*$$scope*/
|
|
4644
4623
|
e[15],
|
|
4645
|
-
|
|
4646
|
-
), T = A ||
|
|
4624
|
+
Ft
|
|
4625
|
+
), T = A || Co();
|
|
4647
4626
|
let x = (
|
|
4648
4627
|
/*modaltitle*/
|
|
4649
|
-
e[1] &&
|
|
4650
|
-
),
|
|
4628
|
+
e[1] && jt(e)
|
|
4629
|
+
), w = (
|
|
4651
4630
|
/*hascancelbutton*/
|
|
4652
|
-
e[2] &&
|
|
4631
|
+
e[2] && kt(e)
|
|
4653
4632
|
);
|
|
4654
4633
|
return {
|
|
4655
4634
|
c() {
|
|
4656
|
-
t = M("div"), r = M("div"), n = M("span"), T && T.c(), i = fe(), x && x.c(), o = fe(), s = M("div"), a = fe(), l = M("div"),
|
|
4635
|
+
t = M("div"), r = M("div"), n = M("span"), T && T.c(), i = fe(), x && x.c(), o = fe(), s = M("div"), a = fe(), l = M("div"), w && w.c(), u = fe(), h = M("button"), f = le(c), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(h, "class", "GeneralConfirmButton"), H(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4657
4636
|
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4658
4637
|
(e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4659
4638
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4660
4639
|
},
|
|
4661
4640
|
m(b, B) {
|
|
4662
|
-
|
|
4663
|
-
e[0], C(r, a), C(r, l),
|
|
4664
|
-
|
|
4641
|
+
ue(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, s), s.innerHTML = /*modaltext*/
|
|
4642
|
+
e[0], C(r, a), C(r, l), w && w.m(l, null), C(l, u), C(l, h), C(h, f), e[19](t), d = !0, m || (p = [
|
|
4643
|
+
Fe(
|
|
4665
4644
|
n,
|
|
4666
4645
|
"click",
|
|
4667
4646
|
/*close*/
|
|
4668
4647
|
e[6]
|
|
4669
4648
|
),
|
|
4670
|
-
|
|
4649
|
+
Fe(
|
|
4671
4650
|
h,
|
|
4672
4651
|
"click",
|
|
4673
4652
|
/*click_handler_1*/
|
|
@@ -4676,82 +4655,82 @@ function Io(e) {
|
|
|
4676
4655
|
], m = !0);
|
|
4677
4656
|
},
|
|
4678
4657
|
p(b, [B]) {
|
|
4679
|
-
A && A.p && (!
|
|
4680
|
-
32768) &&
|
|
4658
|
+
A && A.p && (!d || B & /*$$scope*/
|
|
4659
|
+
32768) && Vr(
|
|
4681
4660
|
A,
|
|
4682
4661
|
g,
|
|
4683
4662
|
b,
|
|
4684
4663
|
/*$$scope*/
|
|
4685
4664
|
b[15],
|
|
4686
|
-
|
|
4665
|
+
d ? kr(
|
|
4687
4666
|
g,
|
|
4688
4667
|
/*$$scope*/
|
|
4689
4668
|
b[15],
|
|
4690
4669
|
B,
|
|
4691
|
-
|
|
4692
|
-
) :
|
|
4670
|
+
Bo
|
|
4671
|
+
) : Xr(
|
|
4693
4672
|
/*$$scope*/
|
|
4694
4673
|
b[15]
|
|
4695
4674
|
),
|
|
4696
|
-
|
|
4675
|
+
Ft
|
|
4697
4676
|
), /*modaltitle*/
|
|
4698
|
-
b[1] ? x ? x.p(b, B) : (x =
|
|
4677
|
+
b[1] ? x ? x.p(b, B) : (x = jt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!d || B & /*modaltext*/
|
|
4699
4678
|
1) && (s.innerHTML = /*modaltext*/
|
|
4700
4679
|
b[0]), /*hascancelbutton*/
|
|
4701
|
-
b[2] ?
|
|
4680
|
+
b[2] ? w ? w.p(b, B) : (w = kt(b), w.c(), w.m(l, u)) : w && (w.d(1), w = null), (!d || B & /*$_*/
|
|
4702
4681
|
16) && c !== (c = /*$_*/
|
|
4703
|
-
b[4]("confirm") + "") &&
|
|
4682
|
+
b[4]("confirm") + "") && ot(f, c);
|
|
4704
4683
|
},
|
|
4705
4684
|
i(b) {
|
|
4706
|
-
|
|
4685
|
+
d || (qt(T, b), d = !0);
|
|
4707
4686
|
},
|
|
4708
4687
|
o(b) {
|
|
4709
|
-
|
|
4688
|
+
cn(T, b), d = !1;
|
|
4710
4689
|
},
|
|
4711
4690
|
d(b) {
|
|
4712
|
-
b && D(t), T && T.d(b), x && x.d(),
|
|
4691
|
+
b && D(t), T && T.d(b), x && x.d(), w && w.d(), e[19](null), m = !1, U(p);
|
|
4713
4692
|
}
|
|
4714
4693
|
};
|
|
4715
4694
|
}
|
|
4716
|
-
function
|
|
4695
|
+
function Oo(e, t, r) {
|
|
4717
4696
|
let n;
|
|
4718
|
-
|
|
4719
|
-
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl:
|
|
4697
|
+
Fr(e, xo, (v) => r(4, n = v));
|
|
4698
|
+
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: m = "" } = t, { mbsource: p } = t, g, A = window.navigator.userAgent, T = Eo(A) !== "PC";
|
|
4720
4699
|
const x = () => {
|
|
4721
4700
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4722
|
-
},
|
|
4701
|
+
}, w = (v) => {
|
|
4723
4702
|
v === "confirm" && u && window.postMessage(u, window.location.href), v === "cancel" && h && window.postMessage(h, window.location.href), x();
|
|
4724
4703
|
}, b = () => {
|
|
4725
4704
|
fetch(m).then((j) => j.json()).then((j) => {
|
|
4726
|
-
Object.keys(j).forEach((
|
|
4727
|
-
|
|
4705
|
+
Object.keys(j).forEach((ht) => {
|
|
4706
|
+
Ut(ht, j[ht]);
|
|
4728
4707
|
});
|
|
4729
4708
|
}).catch((j) => {
|
|
4730
4709
|
console.log(j);
|
|
4731
4710
|
});
|
|
4732
4711
|
};
|
|
4733
|
-
Object.keys(
|
|
4734
|
-
|
|
4712
|
+
Object.keys(Dt).forEach((v) => {
|
|
4713
|
+
Ut(v, Dt[v]);
|
|
4735
4714
|
});
|
|
4736
4715
|
const B = () => {
|
|
4737
|
-
|
|
4716
|
+
Ho(c);
|
|
4738
4717
|
};
|
|
4739
|
-
|
|
4718
|
+
on(() => () => {
|
|
4740
4719
|
});
|
|
4741
|
-
const ce = () =>
|
|
4742
|
-
function
|
|
4743
|
-
|
|
4720
|
+
const ce = () => w("cancel"), Or = () => w("confirm");
|
|
4721
|
+
function Ir(v) {
|
|
4722
|
+
je[v ? "unshift" : "push"](() => {
|
|
4744
4723
|
g = v, r(3, g);
|
|
4745
4724
|
});
|
|
4746
4725
|
}
|
|
4747
4726
|
return e.$$set = (v) => {
|
|
4748
|
-
"modaltext" in v && r(0, s = v.modaltext), "modaltitle" in v && r(1, a = 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,
|
|
4727
|
+
"modaltext" in v && r(0, s = v.modaltext), "modaltitle" in v && r(1, a = v.modaltitle), "hascancelbutton" in v && r(2, l = v.hascancelbutton), "modalconfirmevent" in v && r(8, u = v.modalconfirmevent), "modalcancelevent" in v && r(9, h = v.modalcancelevent), "lang" in v && r(10, c = v.lang), "clientstyling" in v && r(11, f = v.clientstyling), "clientstylingurl" in v && r(12, d = v.clientstylingurl), "translationurl" in v && r(13, m = v.translationurl), "mbsource" in v && r(14, p = v.mbsource), "$$scope" in v && r(15, o = v.$$scope);
|
|
4749
4728
|
}, e.$$.update = () => {
|
|
4750
4729
|
e.$$.dirty & /*modaltext, lang*/
|
|
4751
4730
|
1025 && s && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4752
|
-
2056 && f && g &&
|
|
4753
|
-
4104 &&
|
|
4754
|
-
16392 &&
|
|
4731
|
+
2056 && f && g && wo(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4732
|
+
4104 && d && g && So(g, d), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4733
|
+
16392 && p && g && To(g, `${p}.Style`), e.$$.dirty & /*translationurl*/
|
|
4755
4734
|
8192 && m && b();
|
|
4756
4735
|
}, [
|
|
4757
4736
|
s,
|
|
@@ -4761,29 +4740,29 @@ function Mo(e, t, r) {
|
|
|
4761
4740
|
n,
|
|
4762
4741
|
T,
|
|
4763
4742
|
x,
|
|
4764
|
-
|
|
4743
|
+
w,
|
|
4765
4744
|
u,
|
|
4766
4745
|
h,
|
|
4767
4746
|
c,
|
|
4768
4747
|
f,
|
|
4769
|
-
p,
|
|
4770
|
-
m,
|
|
4771
4748
|
d,
|
|
4749
|
+
m,
|
|
4750
|
+
p,
|
|
4772
4751
|
o,
|
|
4773
4752
|
i,
|
|
4774
4753
|
ce,
|
|
4775
|
-
|
|
4776
|
-
|
|
4754
|
+
Or,
|
|
4755
|
+
Ir
|
|
4777
4756
|
];
|
|
4778
4757
|
}
|
|
4779
|
-
class
|
|
4758
|
+
class Pr extends yn {
|
|
4780
4759
|
constructor(t) {
|
|
4781
|
-
super(),
|
|
4760
|
+
super(), bn(
|
|
4782
4761
|
this,
|
|
4783
4762
|
t,
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4763
|
+
Oo,
|
|
4764
|
+
Po,
|
|
4765
|
+
Xt,
|
|
4787
4766
|
{
|
|
4788
4767
|
modaltext: 0,
|
|
4789
4768
|
modaltitle: 1,
|
|
@@ -4796,7 +4775,7 @@ class Or extends vn {
|
|
|
4796
4775
|
translationurl: 13,
|
|
4797
4776
|
mbsource: 14
|
|
4798
4777
|
},
|
|
4799
|
-
|
|
4778
|
+
Ao
|
|
4800
4779
|
);
|
|
4801
4780
|
}
|
|
4802
4781
|
get modaltext() {
|
|
@@ -4860,57 +4839,57 @@ class Or extends vn {
|
|
|
4860
4839
|
this.$$set({ mbsource: t }), I();
|
|
4861
4840
|
}
|
|
4862
4841
|
}
|
|
4863
|
-
|
|
4864
|
-
const
|
|
4842
|
+
gn(Pr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4843
|
+
const jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4865
4844
|
__proto__: null,
|
|
4866
|
-
default:
|
|
4845
|
+
default: Pr
|
|
4867
4846
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4868
4847
|
export {
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4848
|
+
ee as $,
|
|
4849
|
+
wo as A,
|
|
4850
|
+
Fo as B,
|
|
4851
|
+
Rn as C,
|
|
4852
|
+
Tr as D,
|
|
4874
4853
|
N as E,
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4854
|
+
Fr as F,
|
|
4855
|
+
Eo as G,
|
|
4856
|
+
Do as H,
|
|
4857
|
+
fe as I,
|
|
4858
|
+
le as J,
|
|
4859
|
+
bt as K,
|
|
4860
|
+
Ro as L,
|
|
4861
|
+
Fe as M,
|
|
4862
|
+
ot as N,
|
|
4863
|
+
Mo as O,
|
|
4864
|
+
U as P,
|
|
4865
|
+
Lo as Q,
|
|
4866
|
+
xo as R,
|
|
4867
|
+
yn as S,
|
|
4868
|
+
jo as T,
|
|
4869
|
+
bn as a,
|
|
4870
|
+
Zr as b,
|
|
4871
|
+
gn as c,
|
|
4872
|
+
ue as d,
|
|
4873
|
+
No as e,
|
|
4895
4874
|
I as f,
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4875
|
+
cn as g,
|
|
4876
|
+
Go as h,
|
|
4877
|
+
Gr as i,
|
|
4878
|
+
D as j,
|
|
4879
|
+
So as k,
|
|
4880
|
+
To as l,
|
|
4881
|
+
jr as m,
|
|
4882
|
+
M as n,
|
|
4883
|
+
on as o,
|
|
4884
|
+
H as p,
|
|
4885
|
+
C as q,
|
|
4886
|
+
Xr as r,
|
|
4887
|
+
Xt as s,
|
|
4888
|
+
qt as t,
|
|
4889
|
+
Vr as u,
|
|
4890
|
+
kr as v,
|
|
4891
|
+
Ee as w,
|
|
4892
|
+
Uo as x,
|
|
4893
|
+
$o as y,
|
|
4894
|
+
je as z
|
|
4916
4895
|
};
|