@everymatrix/player-account-gaming-limits-info-card 1.86.4 → 1.86.6
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/{PlayerAccountGamingLimitsConfirmationModal-SvPCyUaX.js → PlayerAccountGamingLimitsConfirmationModal-CPjx_DH_.js} +858 -837
- package/components/{PlayerAccountGamingLimitsConfirmationModal-C4Dz27ih.js → PlayerAccountGamingLimitsConfirmationModal-Csrimoqp.js} +843 -822
- package/components/PlayerAccountGamingLimitsConfirmationModal-RcOa0NNg.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-M2IoKtNL.js → PlayerAccountGamingLimitsGroupEdit-Ca1m5XU8.js} +54 -56
- package/components/PlayerAccountGamingLimitsGroupEdit-Cqs__n7J.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-BfvzTuTq.js → PlayerAccountGamingLimitsGroupEdit-DSun0_Zz.js} +54 -56
- package/components/{PlayerAccountGamingLimitsInfoCard-DWA74Hy9.cjs → PlayerAccountGamingLimitsInfoCard-BQDa_Mg_.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-ByFShT-D.js → PlayerAccountGamingLimitsInfoCard-C88f1sX4.js} +122 -122
- package/components/{PlayerAccountGamingLimitsInfoCard-4YX3-aGI.js → PlayerAccountGamingLimitsInfoCard-DzK7V5Rg.js} +121 -121
- package/components/{PlayerAccountGamingLimitsPopup-DRb7Bh4V.cjs → PlayerAccountGamingLimitsPopup-4zxoW8_v.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-D5t58Dh9.js → PlayerAccountGamingLimitsPopup-Ce55cV9R.js} +32 -32
- package/components/{PlayerAccountGamingLimitsPopup-CzCXVil-.js → PlayerAccountGamingLimitsPopup-DHSJ1hpq.js} +27 -27
- package/components/{PlayerAccountModal-Dq5DG-1T.js → PlayerAccountModal-0pqyx-hh.js} +28 -28
- package/components/{PlayerAccountModal-G6YE_K9q.js → PlayerAccountModal-AxHHIdPq.js} +28 -28
- package/components/{PlayerAccountModal-DeMC4pd5.cjs → PlayerAccountModal-DJEDpoZF.cjs} +1 -1
- package/es2015/player-account-gaming-limits-info-card.cjs +1 -1
- package/es2015/player-account-gaming-limits-info-card.js +1 -1
- package/esnext/player-account-gaming-limits-info-card.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-CWWYAWLE.cjs +0 -21
- package/components/PlayerAccountGamingLimitsGroupEdit-BPDeFoM9.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
function
|
|
1
|
+
function L() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const Hr = (e) => e;
|
|
4
|
+
function Cr(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
7
7
|
return (
|
|
@@ -9,46 +9,46 @@ function Hr(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Gt(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ct() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function U(e) {
|
|
19
|
-
e.forEach(
|
|
19
|
+
e.forEach(Gt);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function we(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Ut(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function Ar(e) {
|
|
28
28
|
return Object.keys(e).length === 0;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function Dt(e, ...t) {
|
|
31
31
|
if (e == null) {
|
|
32
32
|
for (const n of t)
|
|
33
33
|
n(void 0);
|
|
34
|
-
return
|
|
34
|
+
return L;
|
|
35
35
|
}
|
|
36
36
|
const r = e.subscribe(...t);
|
|
37
37
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
38
38
|
}
|
|
39
39
|
function Br(e, t, r) {
|
|
40
|
-
e.$$.on_destroy.push(
|
|
40
|
+
e.$$.on_destroy.push(Dt(t, r));
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Pr(e, t, r, n) {
|
|
43
43
|
if (e) {
|
|
44
|
-
const i =
|
|
44
|
+
const i = Ft(e, t, r, n);
|
|
45
45
|
return e[0](i);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
return e[1] && n ?
|
|
48
|
+
function Ft(e, t, r, n) {
|
|
49
|
+
return e[1] && n ? Cr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Or(e, t, r, n) {
|
|
52
52
|
if (e[2] && n) {
|
|
53
53
|
const i = e[2](n(r));
|
|
54
54
|
if (t.dirty === void 0)
|
|
@@ -65,11 +65,11 @@ function Pr(e, t, r, n) {
|
|
|
65
65
|
}
|
|
66
66
|
function Lr(e, t, r, n, i, o) {
|
|
67
67
|
if (i) {
|
|
68
|
-
const a =
|
|
68
|
+
const a = Ft(t, r, n, o);
|
|
69
69
|
e.p(a, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Ir(e) {
|
|
73
73
|
if (e.ctx.length > 32) {
|
|
74
74
|
const t = [], r = e.ctx.length / 32;
|
|
75
75
|
for (let n = 0; n < r; n++)
|
|
@@ -78,17 +78,17 @@ function Or(e) {
|
|
|
78
78
|
}
|
|
79
79
|
return -1;
|
|
80
80
|
}
|
|
81
|
-
const
|
|
82
|
-
let
|
|
81
|
+
const jt = typeof window < "u";
|
|
82
|
+
let Mr = jt ? () => window.performance.now() : () => Date.now(), ot = jt ? (e) => requestAnimationFrame(e) : L;
|
|
83
83
|
const X = /* @__PURE__ */ new Set();
|
|
84
|
-
function
|
|
84
|
+
function kt(e) {
|
|
85
85
|
X.forEach((t) => {
|
|
86
86
|
t.c(e) || (X.delete(t), t.f());
|
|
87
|
-
}), X.size !== 0 &&
|
|
87
|
+
}), X.size !== 0 && ot(kt);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Nr(e) {
|
|
90
90
|
let t;
|
|
91
|
-
return X.size === 0 &&
|
|
91
|
+
return X.size === 0 && ot(kt), {
|
|
92
92
|
promise: new Promise((r) => {
|
|
93
93
|
X.add(t = { c: e, f: r });
|
|
94
94
|
}),
|
|
@@ -100,14 +100,14 @@ function Mr(e) {
|
|
|
100
100
|
function P(e, t) {
|
|
101
101
|
e.appendChild(t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
const n =
|
|
103
|
+
function $r(e, t, r) {
|
|
104
|
+
const n = st(e);
|
|
105
105
|
if (!n.getElementById(t)) {
|
|
106
106
|
const i = I("style");
|
|
107
|
-
i.id = t, i.textContent = r,
|
|
107
|
+
i.id = t, i.textContent = r, Vt(n, i);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function st(e) {
|
|
111
111
|
if (!e)
|
|
112
112
|
return document;
|
|
113
113
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -117,46 +117,46 @@ function rt(e) {
|
|
|
117
117
|
t
|
|
118
118
|
) : e.ownerDocument;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Rr(e) {
|
|
121
121
|
const t = I("style");
|
|
122
|
-
return t.textContent = "/* empty */",
|
|
122
|
+
return t.textContent = "/* empty */", Vt(st(e), t), t.sheet;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Vt(e, t) {
|
|
125
125
|
return P(
|
|
126
126
|
/** @type {Document} */
|
|
127
127
|
e.head || e,
|
|
128
128
|
t
|
|
129
129
|
), t.sheet;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function at(e, t, r) {
|
|
132
132
|
e.insertBefore(t, r || null);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function ae(e) {
|
|
135
135
|
e.parentNode && e.parentNode.removeChild(e);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function xo(e, t) {
|
|
138
138
|
for (let r = 0; r < e.length; r += 1)
|
|
139
139
|
e[r] && e[r].d(t);
|
|
140
140
|
}
|
|
141
141
|
function I(e) {
|
|
142
142
|
return document.createElement(e);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function ft(e) {
|
|
145
145
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function re(e) {
|
|
148
148
|
return document.createTextNode(e);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
return
|
|
150
|
+
function Pe() {
|
|
151
|
+
return re(" ");
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
return
|
|
153
|
+
function Eo() {
|
|
154
|
+
return re("");
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Oe(e, t, r, n) {
|
|
157
157
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function wo(e) {
|
|
160
160
|
return function(t) {
|
|
161
161
|
return t.preventDefault(), e.call(this, t);
|
|
162
162
|
};
|
|
@@ -164,24 +164,24 @@ function xo(e) {
|
|
|
164
164
|
function H(e, t, r) {
|
|
165
165
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function So(e, t, r) {
|
|
168
168
|
const n = t.toLowerCase();
|
|
169
169
|
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);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function To(e) {
|
|
172
172
|
return e === "" ? null : +e;
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Gr(e) {
|
|
175
175
|
return Array.from(e.childNodes);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Le(e, t) {
|
|
178
178
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
179
179
|
t);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function Ho(e, t) {
|
|
182
182
|
e.value = t ?? "";
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Co(e, t, r) {
|
|
185
185
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
186
186
|
const i = e.options[n];
|
|
187
187
|
if (i.__value === t) {
|
|
@@ -191,14 +191,14 @@ function To(e, t, r) {
|
|
|
191
191
|
}
|
|
192
192
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function Ao(e) {
|
|
195
195
|
const t = e.querySelector(":checked");
|
|
196
196
|
return t && t.__value;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Ur(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
199
199
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function Dr(e) {
|
|
202
202
|
const t = {};
|
|
203
203
|
return e.childNodes.forEach(
|
|
204
204
|
/** @param {Element} node */
|
|
@@ -209,17 +209,17 @@ function Ur(e) {
|
|
|
209
209
|
}
|
|
210
210
|
const ge = /* @__PURE__ */ new Map();
|
|
211
211
|
let ye = 0;
|
|
212
|
-
function
|
|
212
|
+
function Fr(e) {
|
|
213
213
|
let t = 5381, r = e.length;
|
|
214
214
|
for (; r--; )
|
|
215
215
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
216
216
|
return t >>> 0;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
219
|
-
const r = { stylesheet:
|
|
218
|
+
function jr(e, t) {
|
|
219
|
+
const r = { stylesheet: Rr(t), rules: {} };
|
|
220
220
|
return ge.set(e, r), r;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function mt(e, t, r, n, i, o, a, s = 0) {
|
|
223
223
|
const l = 16.666 / n;
|
|
224
224
|
let u = `{
|
|
225
225
|
`;
|
|
@@ -229,126 +229,126 @@ function ct(e, t, r, n, i, o, a, s = 0) {
|
|
|
229
229
|
`;
|
|
230
230
|
}
|
|
231
231
|
const h = u + `100% {${a(r, 1 - r)}}
|
|
232
|
-
}`, c = `__svelte_${
|
|
232
|
+
}`, c = `__svelte_${Fr(h)}_${s}`, f = st(e), { stylesheet: p, rules: m } = ge.get(f) || jr(f, e);
|
|
233
233
|
m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
|
|
234
234
|
const d = e.style.animation || "";
|
|
235
235
|
return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, ye += 1, c;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function kr(e, t) {
|
|
238
238
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
239
239
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
240
240
|
// remove all Svelte animations
|
|
241
241
|
), i = r.length - n.length;
|
|
242
|
-
i && (e.style.animation = n.join(", "), ye -= i, ye ||
|
|
242
|
+
i && (e.style.animation = n.join(", "), ye -= i, ye || Vr());
|
|
243
243
|
}
|
|
244
|
-
function
|
|
245
|
-
|
|
244
|
+
function Vr() {
|
|
245
|
+
ot(() => {
|
|
246
246
|
ye || (ge.forEach((e) => {
|
|
247
247
|
const { ownerNode: t } = e.stylesheet;
|
|
248
|
-
t &&
|
|
248
|
+
t && ae(t);
|
|
249
249
|
}), ge.clear());
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
let
|
|
253
|
-
function
|
|
254
|
-
|
|
252
|
+
let ie;
|
|
253
|
+
function ne(e) {
|
|
254
|
+
ie = e;
|
|
255
255
|
}
|
|
256
|
-
function
|
|
257
|
-
if (!
|
|
256
|
+
function Xr() {
|
|
257
|
+
if (!ie)
|
|
258
258
|
throw new Error("Function called outside component initialization");
|
|
259
|
-
return
|
|
259
|
+
return ie;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
|
|
261
|
+
function zr(e) {
|
|
262
|
+
Xr().$$.on_mount.push(e);
|
|
263
263
|
}
|
|
264
|
-
const V = [],
|
|
264
|
+
const V = [], je = [];
|
|
265
265
|
let z = [];
|
|
266
|
-
const
|
|
267
|
-
let
|
|
268
|
-
function
|
|
269
|
-
|
|
266
|
+
const pt = [], Wr = /* @__PURE__ */ Promise.resolve();
|
|
267
|
+
let ke = !1;
|
|
268
|
+
function Zr() {
|
|
269
|
+
ke || (ke = !0, Wr.then(N));
|
|
270
270
|
}
|
|
271
271
|
function ve(e) {
|
|
272
272
|
z.push(e);
|
|
273
273
|
}
|
|
274
|
-
const
|
|
274
|
+
const Ie = /* @__PURE__ */ new Set();
|
|
275
275
|
let j = 0;
|
|
276
|
-
function
|
|
276
|
+
function N() {
|
|
277
277
|
if (j !== 0)
|
|
278
278
|
return;
|
|
279
|
-
const e =
|
|
279
|
+
const e = ie;
|
|
280
280
|
do {
|
|
281
281
|
try {
|
|
282
282
|
for (; j < V.length; ) {
|
|
283
283
|
const t = V[j];
|
|
284
|
-
j++,
|
|
284
|
+
j++, ne(t), Qr(t.$$);
|
|
285
285
|
}
|
|
286
286
|
} catch (t) {
|
|
287
287
|
throw V.length = 0, j = 0, t;
|
|
288
288
|
}
|
|
289
|
-
for (
|
|
290
|
-
|
|
289
|
+
for (ne(null), V.length = 0, j = 0; je.length; )
|
|
290
|
+
je.pop()();
|
|
291
291
|
for (let t = 0; t < z.length; t += 1) {
|
|
292
292
|
const r = z[t];
|
|
293
|
-
|
|
293
|
+
Ie.has(r) || (Ie.add(r), r());
|
|
294
294
|
}
|
|
295
295
|
z.length = 0;
|
|
296
296
|
} while (V.length);
|
|
297
|
-
for (;
|
|
298
|
-
|
|
299
|
-
|
|
297
|
+
for (; pt.length; )
|
|
298
|
+
pt.pop()();
|
|
299
|
+
ke = !1, Ie.clear(), ne(e);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function Qr(e) {
|
|
302
302
|
if (e.fragment !== null) {
|
|
303
303
|
e.update(), U(e.before_update);
|
|
304
304
|
const t = e.dirty;
|
|
305
305
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ve);
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function Jr(e) {
|
|
309
309
|
const t = [], r = [];
|
|
310
310
|
z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
|
|
311
311
|
}
|
|
312
|
-
let
|
|
313
|
-
function
|
|
314
|
-
return
|
|
315
|
-
|
|
316
|
-
})),
|
|
312
|
+
let ee;
|
|
313
|
+
function qr() {
|
|
314
|
+
return ee || (ee = Promise.resolve(), ee.then(() => {
|
|
315
|
+
ee = null;
|
|
316
|
+
})), ee;
|
|
317
317
|
}
|
|
318
|
-
function
|
|
319
|
-
e.dispatchEvent(
|
|
318
|
+
function Me(e, t, r) {
|
|
319
|
+
e.dispatchEvent(Ur(`${t ? "intro" : "outro"}${r}`));
|
|
320
320
|
}
|
|
321
321
|
const fe = /* @__PURE__ */ new Set();
|
|
322
|
-
let
|
|
323
|
-
function
|
|
324
|
-
|
|
322
|
+
let $;
|
|
323
|
+
function Bo() {
|
|
324
|
+
$ = {
|
|
325
325
|
r: 0,
|
|
326
326
|
c: [],
|
|
327
|
-
p:
|
|
327
|
+
p: $
|
|
328
328
|
// parent group
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
function
|
|
332
|
-
|
|
331
|
+
function Po() {
|
|
332
|
+
$.r || U($.c), $ = $.p;
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function Xt(e, t) {
|
|
335
335
|
e && e.i && (fe.delete(e), e.i(t));
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function Yr(e, t, r, n) {
|
|
338
338
|
if (e && e.o) {
|
|
339
339
|
if (fe.has(e))
|
|
340
340
|
return;
|
|
341
|
-
fe.add(e),
|
|
341
|
+
fe.add(e), $.c.push(() => {
|
|
342
342
|
fe.delete(e), n && (r && e.d(1), n());
|
|
343
343
|
}), e.o(t);
|
|
344
344
|
} else
|
|
345
345
|
n && n();
|
|
346
346
|
}
|
|
347
|
-
const
|
|
348
|
-
function
|
|
347
|
+
const Kr = { duration: 0 };
|
|
348
|
+
function Oo(e, t, r, n) {
|
|
349
349
|
let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
|
|
350
350
|
function c() {
|
|
351
|
-
u &&
|
|
351
|
+
u && kr(e, u);
|
|
352
352
|
}
|
|
353
353
|
function f(m, d) {
|
|
354
354
|
const v = (
|
|
@@ -369,16 +369,16 @@ function Ao(e, t, r, n) {
|
|
|
369
369
|
const {
|
|
370
370
|
delay: d = 0,
|
|
371
371
|
duration: v = 300,
|
|
372
|
-
easing: T =
|
|
373
|
-
tick: C =
|
|
372
|
+
easing: T = Hr,
|
|
373
|
+
tick: C = L,
|
|
374
374
|
css: S
|
|
375
|
-
} = o ||
|
|
376
|
-
start:
|
|
375
|
+
} = o || Kr, A = {
|
|
376
|
+
start: Mr() + d,
|
|
377
377
|
b: m
|
|
378
378
|
};
|
|
379
|
-
m || (
|
|
380
|
-
e.inert, e.inert = !0)), s || l ? l =
|
|
381
|
-
if (l &&
|
|
379
|
+
m || (A.group = $, $.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
380
|
+
e.inert, e.inert = !0)), s || l ? l = A : (S && (c(), u = mt(e, a, m, v, d, T, S)), m && C(0, 1), s = f(A, v), ve(() => Me(e, m, "start")), Nr((E) => {
|
|
381
|
+
if (l && E > l.start && (s = f(l, v), l = null, Me(e, s.b, "start"), S && (c(), u = mt(
|
|
382
382
|
e,
|
|
383
383
|
a,
|
|
384
384
|
s.b,
|
|
@@ -387,11 +387,11 @@ function Ao(e, t, r, n) {
|
|
|
387
387
|
T,
|
|
388
388
|
o.css
|
|
389
389
|
))), s) {
|
|
390
|
-
if (
|
|
391
|
-
C(a = s.b, 1 - a),
|
|
392
|
-
else if (
|
|
393
|
-
const
|
|
394
|
-
a = s.a + s.d * T(
|
|
390
|
+
if (E >= s.end)
|
|
391
|
+
C(a = s.b, 1 - a), Me(e, s.b, "end"), l || (s.b ? c() : --s.group.r || U(s.group.c)), s = null;
|
|
392
|
+
else if (E >= s.start) {
|
|
393
|
+
const _ = E - s.start;
|
|
394
|
+
a = s.a + s.d * T(_ / s.duration), C(a, 1 - a);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
return !!(s || l);
|
|
@@ -399,7 +399,7 @@ function Ao(e, t, r, n) {
|
|
|
399
399
|
}
|
|
400
400
|
return {
|
|
401
401
|
run(m) {
|
|
402
|
-
|
|
402
|
+
we(o) ? qr().then(() => {
|
|
403
403
|
o = o({ direction: m ? "in" : "out" }), p(m);
|
|
404
404
|
}) : p(m);
|
|
405
405
|
},
|
|
@@ -408,34 +408,34 @@ function Ao(e, t, r, n) {
|
|
|
408
408
|
}
|
|
409
409
|
};
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function Lo(e) {
|
|
412
412
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function en(e, t, r) {
|
|
415
415
|
const { fragment: n, after_update: i } = e.$$;
|
|
416
416
|
n && n.m(t, r), ve(() => {
|
|
417
|
-
const o = e.$$.on_mount.map(
|
|
417
|
+
const o = e.$$.on_mount.map(Gt).filter(we);
|
|
418
418
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
|
|
419
419
|
}), i.forEach(ve);
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function tn(e, t) {
|
|
422
422
|
const r = e.$$;
|
|
423
|
-
r.fragment !== null && (
|
|
423
|
+
r.fragment !== null && (Jr(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
424
424
|
}
|
|
425
|
-
function
|
|
426
|
-
e.$$.dirty[0] === -1 && (V.push(e),
|
|
425
|
+
function rn(e, t) {
|
|
426
|
+
e.$$.dirty[0] === -1 && (V.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
427
427
|
}
|
|
428
|
-
function
|
|
429
|
-
const l =
|
|
430
|
-
|
|
428
|
+
function nn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
429
|
+
const l = ie;
|
|
430
|
+
ne(e);
|
|
431
431
|
const u = e.$$ = {
|
|
432
432
|
fragment: null,
|
|
433
433
|
ctx: [],
|
|
434
434
|
// state
|
|
435
435
|
props: o,
|
|
436
|
-
update:
|
|
436
|
+
update: L,
|
|
437
437
|
not_equal: i,
|
|
438
|
-
bound:
|
|
438
|
+
bound: ct(),
|
|
439
439
|
// lifecycle
|
|
440
440
|
on_mount: [],
|
|
441
441
|
on_destroy: [],
|
|
@@ -444,7 +444,7 @@ function rn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
444
444
|
after_update: [],
|
|
445
445
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
446
446
|
// everything else
|
|
447
|
-
callbacks:
|
|
447
|
+
callbacks: ct(),
|
|
448
448
|
dirty: s,
|
|
449
449
|
skip_bound: !1,
|
|
450
450
|
root: t.target || l.$$.root
|
|
@@ -453,19 +453,19 @@ function rn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
453
453
|
let h = !1;
|
|
454
454
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
455
455
|
const m = p.length ? p[0] : f;
|
|
456
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h &&
|
|
456
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && rn(e, c)), f;
|
|
457
457
|
}) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
458
458
|
if (t.hydrate) {
|
|
459
|
-
const c =
|
|
460
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
459
|
+
const c = Gr(t.target);
|
|
460
|
+
u.fragment && u.fragment.l(c), c.forEach(ae);
|
|
461
461
|
} else
|
|
462
462
|
u.fragment && u.fragment.c();
|
|
463
|
-
t.intro &&
|
|
463
|
+
t.intro && Xt(e.$$.fragment), en(e, t.target, t.anchor), N();
|
|
464
464
|
}
|
|
465
|
-
|
|
465
|
+
ne(l);
|
|
466
466
|
}
|
|
467
|
-
let
|
|
468
|
-
typeof HTMLElement == "function" && (
|
|
467
|
+
let zt;
|
|
468
|
+
typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
469
469
|
/** The Svelte component constructor */
|
|
470
470
|
$$ctor;
|
|
471
471
|
/** Slots */
|
|
@@ -514,17 +514,17 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
|
|
|
514
514
|
* @param {HTMLElement} [anchor]
|
|
515
515
|
*/
|
|
516
516
|
m: function(l, u) {
|
|
517
|
-
|
|
517
|
+
at(l, o, u);
|
|
518
518
|
},
|
|
519
519
|
d: function(l) {
|
|
520
|
-
l &&
|
|
520
|
+
l && ae(o);
|
|
521
521
|
}
|
|
522
522
|
};
|
|
523
523
|
};
|
|
524
524
|
};
|
|
525
525
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
526
526
|
return;
|
|
527
|
-
const t = {}, r =
|
|
527
|
+
const t = {}, r = Dr(this);
|
|
528
528
|
for (const i of this.$$s)
|
|
529
529
|
i in r && (t[i] = [e(i)]);
|
|
530
530
|
for (const i of this.attributes) {
|
|
@@ -611,8 +611,8 @@ function me(e, t, r, n) {
|
|
|
611
611
|
return t;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
function
|
|
615
|
-
let a = class extends
|
|
614
|
+
function on(e, t, r, n, i, o) {
|
|
615
|
+
let a = class extends zt {
|
|
616
616
|
constructor() {
|
|
617
617
|
super(e, r, i), this.$$p_d = t;
|
|
618
618
|
}
|
|
@@ -640,7 +640,7 @@ function nn(e, t, r, n, i, o) {
|
|
|
640
640
|
}), e.element = /** @type {any} */
|
|
641
641
|
a, a;
|
|
642
642
|
}
|
|
643
|
-
class
|
|
643
|
+
class sn {
|
|
644
644
|
/**
|
|
645
645
|
* ### PRIVATE API
|
|
646
646
|
*
|
|
@@ -659,7 +659,7 @@ class on {
|
|
|
659
659
|
$$set = void 0;
|
|
660
660
|
/** @returns {void} */
|
|
661
661
|
$destroy() {
|
|
662
|
-
|
|
662
|
+
tn(this, 1), this.$destroy = L;
|
|
663
663
|
}
|
|
664
664
|
/**
|
|
665
665
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -668,8 +668,8 @@ class on {
|
|
|
668
668
|
* @returns {() => void}
|
|
669
669
|
*/
|
|
670
670
|
$on(t, r) {
|
|
671
|
-
if (!
|
|
672
|
-
return
|
|
671
|
+
if (!we(r))
|
|
672
|
+
return L;
|
|
673
673
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
674
674
|
return n.push(r), () => {
|
|
675
675
|
const i = n.indexOf(r);
|
|
@@ -681,18 +681,18 @@ class on {
|
|
|
681
681
|
* @returns {void}
|
|
682
682
|
*/
|
|
683
683
|
$set(t) {
|
|
684
|
-
this.$$set && !
|
|
684
|
+
this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
|
-
const
|
|
688
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
689
|
-
function
|
|
687
|
+
const an = "4";
|
|
688
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
|
|
689
|
+
function un(e, t) {
|
|
690
690
|
if (e) {
|
|
691
691
|
const r = document.createElement("style");
|
|
692
692
|
r.innerHTML = t, e.appendChild(r);
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function ln(e, t) {
|
|
696
696
|
if (!e || !t)
|
|
697
697
|
return;
|
|
698
698
|
const r = new URL(t);
|
|
@@ -703,7 +703,7 @@ function un(e, t) {
|
|
|
703
703
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
704
704
|
});
|
|
705
705
|
}
|
|
706
|
-
function
|
|
706
|
+
function hn(e, t, r) {
|
|
707
707
|
if (window.emMessageBus) {
|
|
708
708
|
const n = document.createElement("style");
|
|
709
709
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -725,43 +725,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
725
725
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
726
726
|
PERFORMANCE OF THIS SOFTWARE.
|
|
727
727
|
***************************************************************************** */
|
|
728
|
-
var
|
|
729
|
-
return
|
|
728
|
+
var Ve = function(e, t) {
|
|
729
|
+
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
730
730
|
r.__proto__ = n;
|
|
731
731
|
} || function(r, n) {
|
|
732
732
|
for (var i in n)
|
|
733
733
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
734
|
-
},
|
|
734
|
+
}, Ve(e, t);
|
|
735
735
|
};
|
|
736
|
-
function
|
|
736
|
+
function ue(e, t) {
|
|
737
737
|
if (typeof t != "function" && t !== null)
|
|
738
738
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
739
|
-
|
|
739
|
+
Ve(e, t);
|
|
740
740
|
function r() {
|
|
741
741
|
this.constructor = e;
|
|
742
742
|
}
|
|
743
743
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
744
744
|
}
|
|
745
|
-
|
|
746
|
-
return _ = Object.assign || function(t) {
|
|
747
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
748
|
-
r = arguments[n];
|
|
749
|
-
for (var o in r)
|
|
750
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
751
|
-
}
|
|
752
|
-
return t;
|
|
753
|
-
}, _.apply(this, arguments);
|
|
754
|
-
};
|
|
755
|
-
function hn(e, t) {
|
|
756
|
-
var r = {};
|
|
757
|
-
for (var n in e)
|
|
758
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
759
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
760
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
761
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
762
|
-
return r;
|
|
763
|
-
}
|
|
764
|
-
function ke(e) {
|
|
745
|
+
function Xe(e) {
|
|
765
746
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
766
747
|
if (r)
|
|
767
748
|
return r.call(e);
|
|
@@ -773,7 +754,7 @@ function ke(e) {
|
|
|
773
754
|
};
|
|
774
755
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
775
756
|
}
|
|
776
|
-
function
|
|
757
|
+
function ze(e, t) {
|
|
777
758
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
778
759
|
if (!r)
|
|
779
760
|
return e;
|
|
@@ -793,22 +774,22 @@ function Ve(e, t) {
|
|
|
793
774
|
}
|
|
794
775
|
return o;
|
|
795
776
|
}
|
|
796
|
-
function
|
|
797
|
-
if (
|
|
777
|
+
function We(e, t, r) {
|
|
778
|
+
if (arguments.length === 2)
|
|
798
779
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
799
780
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
800
781
|
return e.concat(o || t);
|
|
801
782
|
}
|
|
802
|
-
function
|
|
783
|
+
function R(e) {
|
|
803
784
|
return typeof e == "function";
|
|
804
785
|
}
|
|
805
|
-
function
|
|
786
|
+
function Wt(e) {
|
|
806
787
|
var t = function(n) {
|
|
807
788
|
Error.call(n), n.stack = new Error().stack;
|
|
808
789
|
}, r = e(t);
|
|
809
790
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
810
791
|
}
|
|
811
|
-
var
|
|
792
|
+
var Ne = Wt(function(e) {
|
|
812
793
|
return function(r) {
|
|
813
794
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
814
795
|
` + r.map(function(n, i) {
|
|
@@ -817,13 +798,13 @@ var Ie = Xt(function(e) {
|
|
|
817
798
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
818
799
|
};
|
|
819
800
|
});
|
|
820
|
-
function
|
|
801
|
+
function Ze(e, t) {
|
|
821
802
|
if (e) {
|
|
822
803
|
var r = e.indexOf(t);
|
|
823
804
|
0 <= r && e.splice(r, 1);
|
|
824
805
|
}
|
|
825
806
|
}
|
|
826
|
-
var
|
|
807
|
+
var Se = function() {
|
|
827
808
|
function e(t) {
|
|
828
809
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
829
810
|
}
|
|
@@ -835,7 +816,7 @@ var we = function() {
|
|
|
835
816
|
if (a)
|
|
836
817
|
if (this._parentage = null, Array.isArray(a))
|
|
837
818
|
try {
|
|
838
|
-
for (var s =
|
|
819
|
+
for (var s = Xe(a), l = s.next(); !l.done; l = s.next()) {
|
|
839
820
|
var u = l.value;
|
|
840
821
|
u.remove(this);
|
|
841
822
|
}
|
|
@@ -852,22 +833,22 @@ var we = function() {
|
|
|
852
833
|
else
|
|
853
834
|
a.remove(this);
|
|
854
835
|
var h = this.initialTeardown;
|
|
855
|
-
if (
|
|
836
|
+
if (R(h))
|
|
856
837
|
try {
|
|
857
838
|
h();
|
|
858
839
|
} catch (d) {
|
|
859
|
-
o = d instanceof
|
|
840
|
+
o = d instanceof Ne ? d.errors : [d];
|
|
860
841
|
}
|
|
861
842
|
var c = this._finalizers;
|
|
862
843
|
if (c) {
|
|
863
844
|
this._finalizers = null;
|
|
864
845
|
try {
|
|
865
|
-
for (var f =
|
|
846
|
+
for (var f = Xe(c), p = f.next(); !p.done; p = f.next()) {
|
|
866
847
|
var m = p.value;
|
|
867
848
|
try {
|
|
868
|
-
|
|
849
|
+
dt(m);
|
|
869
850
|
} catch (d) {
|
|
870
|
-
o = o ?? [], d instanceof
|
|
851
|
+
o = o ?? [], d instanceof Ne ? o = We(We([], ze(o)), ze(d.errors)) : o.push(d);
|
|
871
852
|
}
|
|
872
853
|
}
|
|
873
854
|
} catch (d) {
|
|
@@ -882,13 +863,13 @@ var we = function() {
|
|
|
882
863
|
}
|
|
883
864
|
}
|
|
884
865
|
if (o)
|
|
885
|
-
throw new
|
|
866
|
+
throw new Ne(o);
|
|
886
867
|
}
|
|
887
868
|
}, e.prototype.add = function(t) {
|
|
888
869
|
var r;
|
|
889
870
|
if (t && t !== this)
|
|
890
871
|
if (this.closed)
|
|
891
|
-
|
|
872
|
+
dt(t);
|
|
892
873
|
else {
|
|
893
874
|
if (t instanceof e) {
|
|
894
875
|
if (t.closed || t._hasParent(this))
|
|
@@ -905,56 +886,52 @@ var we = function() {
|
|
|
905
886
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
906
887
|
}, e.prototype._removeParent = function(t) {
|
|
907
888
|
var r = this._parentage;
|
|
908
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
889
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
|
|
909
890
|
}, e.prototype.remove = function(t) {
|
|
910
891
|
var r = this._finalizers;
|
|
911
|
-
r &&
|
|
892
|
+
r && Ze(r, t), t instanceof e && t._removeParent(this);
|
|
912
893
|
}, e.EMPTY = function() {
|
|
913
894
|
var t = new e();
|
|
914
895
|
return t.closed = !0, t;
|
|
915
896
|
}(), e;
|
|
916
|
-
}(),
|
|
917
|
-
function
|
|
918
|
-
return e instanceof
|
|
919
|
-
}
|
|
920
|
-
function
|
|
921
|
-
|
|
922
|
-
}
|
|
923
|
-
var
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
Promise: void 0,
|
|
927
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
928
|
-
useDeprecatedNextContext: !1
|
|
929
|
-
}, cn = {
|
|
897
|
+
}(), Zt = Se.EMPTY;
|
|
898
|
+
function Qt(e) {
|
|
899
|
+
return e instanceof Se || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
900
|
+
}
|
|
901
|
+
function dt(e) {
|
|
902
|
+
R(e) ? e() : e.unsubscribe();
|
|
903
|
+
}
|
|
904
|
+
var cn = {
|
|
905
|
+
Promise: void 0
|
|
906
|
+
}, fn = {
|
|
930
907
|
setTimeout: function(e, t) {
|
|
931
908
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
932
909
|
r[n - 2] = arguments[n];
|
|
933
|
-
return setTimeout.apply(void 0,
|
|
910
|
+
return setTimeout.apply(void 0, We([e, t], ze(r)));
|
|
934
911
|
},
|
|
935
912
|
clearTimeout: function(e) {
|
|
936
913
|
return clearTimeout(e);
|
|
937
914
|
},
|
|
938
915
|
delegate: void 0
|
|
939
916
|
};
|
|
940
|
-
function
|
|
941
|
-
|
|
917
|
+
function mn(e) {
|
|
918
|
+
fn.setTimeout(function() {
|
|
942
919
|
throw e;
|
|
943
920
|
});
|
|
944
921
|
}
|
|
945
|
-
function
|
|
922
|
+
function bt() {
|
|
946
923
|
}
|
|
947
924
|
function pe(e) {
|
|
948
925
|
e();
|
|
949
926
|
}
|
|
950
|
-
var
|
|
951
|
-
|
|
927
|
+
var Jt = function(e) {
|
|
928
|
+
ue(t, e);
|
|
952
929
|
function t(r) {
|
|
953
930
|
var n = e.call(this) || this;
|
|
954
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
931
|
+
return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = bn, n;
|
|
955
932
|
}
|
|
956
933
|
return t.create = function(r, n, i) {
|
|
957
|
-
return new
|
|
934
|
+
return new Qe(r, n, i);
|
|
958
935
|
}, t.prototype.next = function(r) {
|
|
959
936
|
this.isStopped || this._next(r);
|
|
960
937
|
}, t.prototype.error = function(r) {
|
|
@@ -978,11 +955,7 @@ var Qt = function(e) {
|
|
|
978
955
|
this.unsubscribe();
|
|
979
956
|
}
|
|
980
957
|
}, t;
|
|
981
|
-
}(
|
|
982
|
-
function Me(e, t) {
|
|
983
|
-
return mn.call(e, t);
|
|
984
|
-
}
|
|
985
|
-
var pn = function() {
|
|
958
|
+
}(Se), pn = function() {
|
|
986
959
|
function e(t) {
|
|
987
960
|
this.partialObserver = t;
|
|
988
961
|
}
|
|
@@ -1013,41 +986,29 @@ var pn = function() {
|
|
|
1013
986
|
he(r);
|
|
1014
987
|
}
|
|
1015
988
|
}, e;
|
|
1016
|
-
}(),
|
|
1017
|
-
|
|
989
|
+
}(), Qe = function(e) {
|
|
990
|
+
ue(t, e);
|
|
1018
991
|
function t(r, n, i) {
|
|
1019
992
|
var o = e.call(this) || this, a;
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
};
|
|
1026
|
-
else {
|
|
1027
|
-
var s;
|
|
1028
|
-
o && Zt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
1029
|
-
return o.unsubscribe();
|
|
1030
|
-
}, a = {
|
|
1031
|
-
next: r.next && Me(r.next, s),
|
|
1032
|
-
error: r.error && Me(r.error, s),
|
|
1033
|
-
complete: r.complete && Me(r.complete, s)
|
|
1034
|
-
}) : a = r;
|
|
1035
|
-
}
|
|
1036
|
-
return o.destination = new pn(a), o;
|
|
993
|
+
return R(r) || !r ? a = {
|
|
994
|
+
next: r ?? void 0,
|
|
995
|
+
error: n ?? void 0,
|
|
996
|
+
complete: i ?? void 0
|
|
997
|
+
} : a = r, o.destination = new pn(a), o;
|
|
1037
998
|
}
|
|
1038
999
|
return t;
|
|
1039
|
-
}(
|
|
1000
|
+
}(Jt);
|
|
1040
1001
|
function he(e) {
|
|
1041
|
-
|
|
1002
|
+
mn(e);
|
|
1042
1003
|
}
|
|
1043
1004
|
function dn(e) {
|
|
1044
1005
|
throw e;
|
|
1045
1006
|
}
|
|
1046
1007
|
var bn = {
|
|
1047
1008
|
closed: !0,
|
|
1048
|
-
next:
|
|
1009
|
+
next: bt,
|
|
1049
1010
|
error: dn,
|
|
1050
|
-
complete:
|
|
1011
|
+
complete: bt
|
|
1051
1012
|
}, gn = function() {
|
|
1052
1013
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1053
1014
|
}();
|
|
@@ -1061,7 +1022,7 @@ function vn(e) {
|
|
|
1061
1022
|
}, r);
|
|
1062
1023
|
};
|
|
1063
1024
|
}
|
|
1064
|
-
var
|
|
1025
|
+
var gt = function() {
|
|
1065
1026
|
function e(t) {
|
|
1066
1027
|
t && (this._subscribe = t);
|
|
1067
1028
|
}
|
|
@@ -1069,7 +1030,7 @@ var dt = function() {
|
|
|
1069
1030
|
var r = new e();
|
|
1070
1031
|
return r.source = this, r.operator = t, r;
|
|
1071
1032
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1072
|
-
var i = this, o = xn(t) ? t : new
|
|
1033
|
+
var i = this, o = xn(t) ? t : new Qe(t, r, n);
|
|
1073
1034
|
return pe(function() {
|
|
1074
1035
|
var a = i, s = a.operator, l = a.source;
|
|
1075
1036
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1082,8 +1043,8 @@ var dt = function() {
|
|
|
1082
1043
|
}
|
|
1083
1044
|
}, e.prototype.forEach = function(t, r) {
|
|
1084
1045
|
var n = this;
|
|
1085
|
-
return r =
|
|
1086
|
-
var a = new
|
|
1046
|
+
return r = yt(r), new r(function(i, o) {
|
|
1047
|
+
var a = new Qe({
|
|
1087
1048
|
next: function(s) {
|
|
1088
1049
|
try {
|
|
1089
1050
|
t(s);
|
|
@@ -1107,7 +1068,7 @@ var dt = function() {
|
|
|
1107
1068
|
return vn(t)(this);
|
|
1108
1069
|
}, e.prototype.toPromise = function(t) {
|
|
1109
1070
|
var r = this;
|
|
1110
|
-
return t =
|
|
1071
|
+
return t = yt(t), new t(function(n, i) {
|
|
1111
1072
|
var o;
|
|
1112
1073
|
r.subscribe(function(a) {
|
|
1113
1074
|
return o = a;
|
|
@@ -1121,28 +1082,28 @@ var dt = function() {
|
|
|
1121
1082
|
return new e(t);
|
|
1122
1083
|
}, e;
|
|
1123
1084
|
}();
|
|
1124
|
-
function
|
|
1085
|
+
function yt(e) {
|
|
1125
1086
|
var t;
|
|
1126
|
-
return (t = e ??
|
|
1087
|
+
return (t = e ?? cn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1127
1088
|
}
|
|
1128
1089
|
function _n(e) {
|
|
1129
|
-
return e &&
|
|
1090
|
+
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
1130
1091
|
}
|
|
1131
1092
|
function xn(e) {
|
|
1132
|
-
return e && e instanceof
|
|
1093
|
+
return e && e instanceof Jt || _n(e) && Qt(e);
|
|
1133
1094
|
}
|
|
1134
|
-
var En =
|
|
1095
|
+
var En = Wt(function(e) {
|
|
1135
1096
|
return function() {
|
|
1136
1097
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1137
1098
|
};
|
|
1138
|
-
}),
|
|
1139
|
-
|
|
1099
|
+
}), qt = function(e) {
|
|
1100
|
+
ue(t, e);
|
|
1140
1101
|
function t() {
|
|
1141
1102
|
var r = e.call(this) || this;
|
|
1142
1103
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1143
1104
|
}
|
|
1144
1105
|
return t.prototype.lift = function(r) {
|
|
1145
|
-
var n = new
|
|
1106
|
+
var n = new vt(this, this);
|
|
1146
1107
|
return n.operator = r, n;
|
|
1147
1108
|
}, t.prototype._throwIfClosed = function() {
|
|
1148
1109
|
if (this.closed)
|
|
@@ -1154,7 +1115,7 @@ var En = Xt(function(e) {
|
|
|
1154
1115
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1155
1116
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1156
1117
|
try {
|
|
1157
|
-
for (var a =
|
|
1118
|
+
for (var a = Xe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1158
1119
|
var l = s.value;
|
|
1159
1120
|
l.next(r);
|
|
1160
1121
|
}
|
|
@@ -1203,20 +1164,20 @@ var En = Xt(function(e) {
|
|
|
1203
1164
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1204
1165
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1205
1166
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1206
|
-
return o || a ?
|
|
1207
|
-
n.currentObservers = null,
|
|
1167
|
+
return o || a ? Zt : (this.currentObservers = null, s.push(r), new Se(function() {
|
|
1168
|
+
n.currentObservers = null, Ze(s, r);
|
|
1208
1169
|
}));
|
|
1209
1170
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1210
1171
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1211
1172
|
i ? r.error(o) : a && r.complete();
|
|
1212
1173
|
}, t.prototype.asObservable = function() {
|
|
1213
|
-
var r = new
|
|
1174
|
+
var r = new gt();
|
|
1214
1175
|
return r.source = this, r;
|
|
1215
1176
|
}, t.create = function(r, n) {
|
|
1216
|
-
return new
|
|
1177
|
+
return new vt(r, n);
|
|
1217
1178
|
}, t;
|
|
1218
|
-
}(
|
|
1219
|
-
|
|
1179
|
+
}(gt), vt = function(e) {
|
|
1180
|
+
ue(t, e);
|
|
1220
1181
|
function t(r, n) {
|
|
1221
1182
|
var i = e.call(this) || this;
|
|
1222
1183
|
return i.destination = r, i.source = n, i;
|
|
@@ -1232,17 +1193,17 @@ var En = Xt(function(e) {
|
|
|
1232
1193
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1233
1194
|
}, t.prototype._subscribe = function(r) {
|
|
1234
1195
|
var n, i;
|
|
1235
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1196
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Zt;
|
|
1236
1197
|
}, t;
|
|
1237
|
-
}(
|
|
1198
|
+
}(qt), Yt = {
|
|
1238
1199
|
now: function() {
|
|
1239
|
-
return (
|
|
1200
|
+
return (Yt.delegate || Date).now();
|
|
1240
1201
|
},
|
|
1241
1202
|
delegate: void 0
|
|
1242
1203
|
}, wn = function(e) {
|
|
1243
|
-
|
|
1204
|
+
ue(t, e);
|
|
1244
1205
|
function t(r, n, i) {
|
|
1245
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1206
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Yt);
|
|
1246
1207
|
var o = e.call(this) || this;
|
|
1247
1208
|
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;
|
|
1248
1209
|
}
|
|
@@ -1262,24 +1223,24 @@ var En = Xt(function(e) {
|
|
|
1262
1223
|
u && o.splice(0, u + 1);
|
|
1263
1224
|
}
|
|
1264
1225
|
}, t;
|
|
1265
|
-
}(
|
|
1266
|
-
const
|
|
1267
|
-
if (
|
|
1226
|
+
}(qt);
|
|
1227
|
+
const _t = [], xt = {}, Sn = (e, t = 0) => {
|
|
1228
|
+
if (_t.indexOf(e) == -1) {
|
|
1268
1229
|
const r = new wn(t);
|
|
1269
|
-
|
|
1230
|
+
xt[e] = r, _t.push(e);
|
|
1270
1231
|
}
|
|
1271
|
-
return
|
|
1232
|
+
return xt[e];
|
|
1272
1233
|
}, k = [];
|
|
1273
1234
|
function Tn(e, t) {
|
|
1274
1235
|
return {
|
|
1275
|
-
subscribe:
|
|
1236
|
+
subscribe: Te(e, t).subscribe
|
|
1276
1237
|
};
|
|
1277
1238
|
}
|
|
1278
|
-
function
|
|
1239
|
+
function Te(e, t = L) {
|
|
1279
1240
|
let r;
|
|
1280
1241
|
const n = /* @__PURE__ */ new Set();
|
|
1281
1242
|
function i(s) {
|
|
1282
|
-
if (
|
|
1243
|
+
if (Ut(e, s) && (e = s, r)) {
|
|
1283
1244
|
const l = !k.length;
|
|
1284
1245
|
for (const u of n)
|
|
1285
1246
|
u[1](), k.push(u, e);
|
|
@@ -1293,15 +1254,15 @@ function Se(e, t = O) {
|
|
|
1293
1254
|
function o(s) {
|
|
1294
1255
|
i(s(e));
|
|
1295
1256
|
}
|
|
1296
|
-
function a(s, l =
|
|
1257
|
+
function a(s, l = L) {
|
|
1297
1258
|
const u = [s, l];
|
|
1298
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1259
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || L), s(e), () => {
|
|
1299
1260
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1300
1261
|
};
|
|
1301
1262
|
}
|
|
1302
1263
|
return { set: i, update: o, subscribe: a };
|
|
1303
1264
|
}
|
|
1304
|
-
function
|
|
1265
|
+
function q(e, t, r) {
|
|
1305
1266
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1306
1267
|
if (!i.every(Boolean))
|
|
1307
1268
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1309,15 +1270,15 @@ function Y(e, t, r) {
|
|
|
1309
1270
|
return Tn(r, (a, s) => {
|
|
1310
1271
|
let l = !1;
|
|
1311
1272
|
const u = [];
|
|
1312
|
-
let h = 0, c =
|
|
1273
|
+
let h = 0, c = L;
|
|
1313
1274
|
const f = () => {
|
|
1314
1275
|
if (h)
|
|
1315
1276
|
return;
|
|
1316
1277
|
c();
|
|
1317
1278
|
const m = t(n ? u[0] : u, a, s);
|
|
1318
|
-
o ? a(m) : c =
|
|
1279
|
+
o ? a(m) : c = we(m) ? m : L;
|
|
1319
1280
|
}, p = i.map(
|
|
1320
|
-
(m, d) =>
|
|
1281
|
+
(m, d) => Dt(
|
|
1321
1282
|
m,
|
|
1322
1283
|
(v) => {
|
|
1323
1284
|
u[d] = v, h &= ~(1 << d), l && f();
|
|
@@ -1336,45 +1297,45 @@ function Hn(e) {
|
|
|
1336
1297
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1337
1298
|
}
|
|
1338
1299
|
var Cn = function(t) {
|
|
1339
|
-
return
|
|
1300
|
+
return An(t) && !Bn(t);
|
|
1340
1301
|
};
|
|
1341
|
-
function
|
|
1302
|
+
function An(e) {
|
|
1342
1303
|
return !!e && typeof e == "object";
|
|
1343
1304
|
}
|
|
1344
|
-
function
|
|
1305
|
+
function Bn(e) {
|
|
1345
1306
|
var t = Object.prototype.toString.call(e);
|
|
1346
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1307
|
+
return t === "[object RegExp]" || t === "[object Date]" || Ln(e);
|
|
1347
1308
|
}
|
|
1348
|
-
var Pn = typeof Symbol == "function" && Symbol.for,
|
|
1349
|
-
function
|
|
1350
|
-
return e.$$typeof ===
|
|
1309
|
+
var Pn = typeof Symbol == "function" && Symbol.for, On = Pn ? Symbol.for("react.element") : 60103;
|
|
1310
|
+
function Ln(e) {
|
|
1311
|
+
return e.$$typeof === On;
|
|
1351
1312
|
}
|
|
1352
1313
|
function In(e) {
|
|
1353
1314
|
return Array.isArray(e) ? [] : {};
|
|
1354
1315
|
}
|
|
1355
|
-
function
|
|
1356
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1316
|
+
function oe(e, t) {
|
|
1317
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? W(In(e), e, t) : e;
|
|
1357
1318
|
}
|
|
1358
1319
|
function Mn(e, t, r) {
|
|
1359
1320
|
return e.concat(t).map(function(n) {
|
|
1360
|
-
return
|
|
1321
|
+
return oe(n, r);
|
|
1361
1322
|
});
|
|
1362
1323
|
}
|
|
1363
1324
|
function Nn(e, t) {
|
|
1364
1325
|
if (!t.customMerge)
|
|
1365
|
-
return
|
|
1326
|
+
return W;
|
|
1366
1327
|
var r = t.customMerge(e);
|
|
1367
|
-
return typeof r == "function" ? r :
|
|
1328
|
+
return typeof r == "function" ? r : W;
|
|
1368
1329
|
}
|
|
1369
1330
|
function $n(e) {
|
|
1370
1331
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1371
1332
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1372
1333
|
}) : [];
|
|
1373
1334
|
}
|
|
1374
|
-
function
|
|
1335
|
+
function Et(e) {
|
|
1375
1336
|
return Object.keys(e).concat($n(e));
|
|
1376
1337
|
}
|
|
1377
|
-
function
|
|
1338
|
+
function Kt(e, t) {
|
|
1378
1339
|
try {
|
|
1379
1340
|
return t in e;
|
|
1380
1341
|
} catch {
|
|
@@ -1382,129 +1343,179 @@ function Yt(e, t) {
|
|
|
1382
1343
|
}
|
|
1383
1344
|
}
|
|
1384
1345
|
function Rn(e, t) {
|
|
1385
|
-
return
|
|
1346
|
+
return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1386
1347
|
}
|
|
1387
1348
|
function Gn(e, t, r) {
|
|
1388
1349
|
var n = {};
|
|
1389
|
-
return r.isMergeableObject(e) &&
|
|
1390
|
-
n[i] =
|
|
1391
|
-
}),
|
|
1392
|
-
Rn(e, i) || (
|
|
1350
|
+
return r.isMergeableObject(e) && Et(e).forEach(function(i) {
|
|
1351
|
+
n[i] = oe(e[i], r);
|
|
1352
|
+
}), Et(t).forEach(function(i) {
|
|
1353
|
+
Rn(e, i) || (Kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1393
1354
|
}), n;
|
|
1394
1355
|
}
|
|
1395
|
-
function
|
|
1396
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Cn, r.cloneUnlessOtherwiseSpecified =
|
|
1356
|
+
function W(e, t, r) {
|
|
1357
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Cn, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1397
1358
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1398
|
-
return o ? n ? r.arrayMerge(e, t, r) : Gn(e, t, r) :
|
|
1359
|
+
return o ? n ? r.arrayMerge(e, t, r) : Gn(e, t, r) : oe(t, r);
|
|
1399
1360
|
}
|
|
1400
|
-
|
|
1361
|
+
W.all = function(t, r) {
|
|
1401
1362
|
if (!Array.isArray(t))
|
|
1402
1363
|
throw new Error("first argument should be an array");
|
|
1403
1364
|
return t.reduce(function(n, i) {
|
|
1404
|
-
return
|
|
1365
|
+
return W(n, i, r);
|
|
1405
1366
|
}, {});
|
|
1406
1367
|
};
|
|
1407
|
-
var Un =
|
|
1368
|
+
var Un = W, Dn = Un;
|
|
1408
1369
|
const Fn = /* @__PURE__ */ Hn(Dn);
|
|
1409
|
-
function
|
|
1410
|
-
|
|
1370
|
+
var Je = function(e, t) {
|
|
1371
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1372
|
+
r.__proto__ = n;
|
|
1373
|
+
} || function(r, n) {
|
|
1374
|
+
for (var i in n)
|
|
1375
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1376
|
+
}, Je(e, t);
|
|
1377
|
+
};
|
|
1378
|
+
function He(e, t) {
|
|
1379
|
+
if (typeof t != "function" && t !== null)
|
|
1380
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1381
|
+
Je(e, t);
|
|
1382
|
+
function r() {
|
|
1383
|
+
this.constructor = e;
|
|
1384
|
+
}
|
|
1385
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1386
|
+
}
|
|
1387
|
+
var M = function() {
|
|
1388
|
+
return M = Object.assign || function(t) {
|
|
1389
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1390
|
+
r = arguments[n];
|
|
1391
|
+
for (var o in r)
|
|
1392
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1393
|
+
}
|
|
1394
|
+
return t;
|
|
1395
|
+
}, M.apply(this, arguments);
|
|
1396
|
+
};
|
|
1397
|
+
function jn(e, t) {
|
|
1398
|
+
var r = {};
|
|
1399
|
+
for (var n in e)
|
|
1400
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1401
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1402
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1403
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1404
|
+
return r;
|
|
1405
|
+
}
|
|
1406
|
+
function $e(e, t, r) {
|
|
1407
|
+
if (r || arguments.length === 2)
|
|
1408
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1409
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1410
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1411
|
+
}
|
|
1412
|
+
function Re(e, t) {
|
|
1413
|
+
var r = t && t.cache ? t.cache : Qn, n = t && t.serializer ? t.serializer : Wn, i = t && t.strategy ? t.strategy : Xn;
|
|
1411
1414
|
return i(e, {
|
|
1412
1415
|
cache: r,
|
|
1413
1416
|
serializer: n
|
|
1414
1417
|
});
|
|
1415
1418
|
}
|
|
1416
|
-
function
|
|
1419
|
+
function kn(e) {
|
|
1417
1420
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1418
1421
|
}
|
|
1419
|
-
function
|
|
1420
|
-
var i =
|
|
1422
|
+
function Vn(e, t, r, n) {
|
|
1423
|
+
var i = kn(n) ? n : r(n), o = t.get(i);
|
|
1421
1424
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1422
1425
|
}
|
|
1423
1426
|
function er(e, t, r) {
|
|
1424
1427
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1425
1428
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1426
1429
|
}
|
|
1427
|
-
function
|
|
1430
|
+
function tr(e, t, r, n, i) {
|
|
1428
1431
|
return r.bind(t, e, n, i);
|
|
1429
1432
|
}
|
|
1430
|
-
function kn(e, t) {
|
|
1431
|
-
var r = e.length === 1 ? Kt : er;
|
|
1432
|
-
return it(e, this, r, t.cache.create(), t.serializer);
|
|
1433
|
-
}
|
|
1434
|
-
function Vn(e, t) {
|
|
1435
|
-
return it(e, this, er, t.cache.create(), t.serializer);
|
|
1436
|
-
}
|
|
1437
1433
|
function Xn(e, t) {
|
|
1438
|
-
|
|
1434
|
+
var r = e.length === 1 ? Vn : er;
|
|
1435
|
+
return tr(e, this, r, t.cache.create(), t.serializer);
|
|
1439
1436
|
}
|
|
1440
|
-
|
|
1441
|
-
return
|
|
1442
|
-
};
|
|
1443
|
-
function ot() {
|
|
1444
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1437
|
+
function zn(e, t) {
|
|
1438
|
+
return tr(e, this, er, t.cache.create(), t.serializer);
|
|
1445
1439
|
}
|
|
1446
|
-
|
|
1447
|
-
return
|
|
1448
|
-
}
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1440
|
+
var Wn = function() {
|
|
1441
|
+
return JSON.stringify(arguments);
|
|
1442
|
+
}, Zn = (
|
|
1443
|
+
/** @class */
|
|
1444
|
+
function() {
|
|
1445
|
+
function e() {
|
|
1446
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1447
|
+
}
|
|
1448
|
+
return e.prototype.get = function(t) {
|
|
1449
|
+
return this.cache[t];
|
|
1450
|
+
}, e.prototype.set = function(t, r) {
|
|
1451
|
+
this.cache[t] = r;
|
|
1452
|
+
}, e;
|
|
1453
|
+
}()
|
|
1454
|
+
), Qn = {
|
|
1453
1455
|
create: function() {
|
|
1454
|
-
return new
|
|
1456
|
+
return new Zn();
|
|
1455
1457
|
}
|
|
1456
|
-
},
|
|
1457
|
-
variadic:
|
|
1458
|
-
|
|
1459
|
-
|
|
1458
|
+
}, Ge = {
|
|
1459
|
+
variadic: zn
|
|
1460
|
+
}, _e = function() {
|
|
1461
|
+
return _e = Object.assign || function(t) {
|
|
1462
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1463
|
+
r = arguments[n];
|
|
1464
|
+
for (var o in r)
|
|
1465
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1466
|
+
}
|
|
1467
|
+
return t;
|
|
1468
|
+
}, _e.apply(this, arguments);
|
|
1469
|
+
};
|
|
1470
|
+
var b;
|
|
1460
1471
|
(function(e) {
|
|
1461
1472
|
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";
|
|
1462
1473
|
})(b || (b = {}));
|
|
1463
|
-
var
|
|
1474
|
+
var x;
|
|
1464
1475
|
(function(e) {
|
|
1465
1476
|
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";
|
|
1466
|
-
})(
|
|
1467
|
-
var
|
|
1477
|
+
})(x || (x = {}));
|
|
1478
|
+
var Z;
|
|
1468
1479
|
(function(e) {
|
|
1469
1480
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1470
|
-
})(
|
|
1471
|
-
function
|
|
1472
|
-
return e.type ===
|
|
1473
|
-
}
|
|
1474
|
-
function Zn(e) {
|
|
1475
|
-
return e.type === E.argument;
|
|
1481
|
+
})(Z || (Z = {}));
|
|
1482
|
+
function wt(e) {
|
|
1483
|
+
return e.type === x.literal;
|
|
1476
1484
|
}
|
|
1477
|
-
function
|
|
1478
|
-
return e.type ===
|
|
1485
|
+
function Jn(e) {
|
|
1486
|
+
return e.type === x.argument;
|
|
1479
1487
|
}
|
|
1480
1488
|
function rr(e) {
|
|
1481
|
-
return e.type ===
|
|
1489
|
+
return e.type === x.number;
|
|
1482
1490
|
}
|
|
1483
1491
|
function nr(e) {
|
|
1484
|
-
return e.type ===
|
|
1492
|
+
return e.type === x.date;
|
|
1485
1493
|
}
|
|
1486
1494
|
function ir(e) {
|
|
1487
|
-
return e.type ===
|
|
1495
|
+
return e.type === x.time;
|
|
1488
1496
|
}
|
|
1489
1497
|
function or(e) {
|
|
1490
|
-
return e.type ===
|
|
1491
|
-
}
|
|
1492
|
-
function Qn(e) {
|
|
1493
|
-
return e.type === E.pound;
|
|
1498
|
+
return e.type === x.select;
|
|
1494
1499
|
}
|
|
1495
1500
|
function sr(e) {
|
|
1496
|
-
return e.type ===
|
|
1501
|
+
return e.type === x.plural;
|
|
1502
|
+
}
|
|
1503
|
+
function qn(e) {
|
|
1504
|
+
return e.type === x.pound;
|
|
1497
1505
|
}
|
|
1498
1506
|
function ar(e) {
|
|
1499
|
-
return
|
|
1507
|
+
return e.type === x.tag;
|
|
1500
1508
|
}
|
|
1501
|
-
function
|
|
1502
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1509
|
+
function ur(e) {
|
|
1510
|
+
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1503
1511
|
}
|
|
1504
|
-
|
|
1505
|
-
|
|
1512
|
+
function qe(e) {
|
|
1513
|
+
return !!(e && typeof e == "object" && e.type === Z.dateTime);
|
|
1514
|
+
}
|
|
1515
|
+
var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yn = /(?:[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;
|
|
1516
|
+
function Kn(e) {
|
|
1506
1517
|
var t = {};
|
|
1507
|
-
return e.replace(
|
|
1518
|
+
return e.replace(Yn, function(r) {
|
|
1508
1519
|
var n = r.length;
|
|
1509
1520
|
switch (r[0]) {
|
|
1510
1521
|
case "G":
|
|
@@ -1593,11 +1604,21 @@ function qn(e) {
|
|
|
1593
1604
|
return "";
|
|
1594
1605
|
}), t;
|
|
1595
1606
|
}
|
|
1596
|
-
var
|
|
1597
|
-
function
|
|
1607
|
+
var w = function() {
|
|
1608
|
+
return w = Object.assign || function(t) {
|
|
1609
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1610
|
+
r = arguments[n];
|
|
1611
|
+
for (var o in r)
|
|
1612
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1613
|
+
}
|
|
1614
|
+
return t;
|
|
1615
|
+
}, w.apply(this, arguments);
|
|
1616
|
+
};
|
|
1617
|
+
var ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1618
|
+
function ti(e) {
|
|
1598
1619
|
if (e.length === 0)
|
|
1599
1620
|
throw new Error("Number skeleton cannot be empty");
|
|
1600
|
-
for (var t = e.split(
|
|
1621
|
+
for (var t = e.split(ei).filter(function(f) {
|
|
1601
1622
|
return f.length > 0;
|
|
1602
1623
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1603
1624
|
var o = i[n], a = o.split("/");
|
|
@@ -1612,17 +1633,17 @@ function Kn(e) {
|
|
|
1612
1633
|
}
|
|
1613
1634
|
return r;
|
|
1614
1635
|
}
|
|
1615
|
-
function
|
|
1636
|
+
function ri(e) {
|
|
1616
1637
|
return e.replace(/^(.*?)-/, "");
|
|
1617
1638
|
}
|
|
1618
|
-
var
|
|
1619
|
-
function
|
|
1639
|
+
var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, ni = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
|
|
1640
|
+
function Tt(e) {
|
|
1620
1641
|
var t = {};
|
|
1621
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1642
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, n, i) {
|
|
1622
1643
|
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)), "";
|
|
1623
1644
|
}), t;
|
|
1624
1645
|
}
|
|
1625
|
-
function
|
|
1646
|
+
function fr(e) {
|
|
1626
1647
|
switch (e) {
|
|
1627
1648
|
case "sign-auto":
|
|
1628
1649
|
return {
|
|
@@ -1662,7 +1683,7 @@ function cr(e) {
|
|
|
1662
1683
|
};
|
|
1663
1684
|
}
|
|
1664
1685
|
}
|
|
1665
|
-
function
|
|
1686
|
+
function ii(e) {
|
|
1666
1687
|
var t;
|
|
1667
1688
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1668
1689
|
notation: "engineering"
|
|
@@ -1670,17 +1691,17 @@ function ri(e) {
|
|
|
1670
1691
|
notation: "scientific"
|
|
1671
1692
|
}, e = e.slice(1)), t) {
|
|
1672
1693
|
var r = e.slice(0, 2);
|
|
1673
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1694
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
|
|
1674
1695
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1675
1696
|
t.minimumIntegerDigits = e.length;
|
|
1676
1697
|
}
|
|
1677
1698
|
return t;
|
|
1678
1699
|
}
|
|
1679
|
-
function
|
|
1680
|
-
var t = {}, r =
|
|
1700
|
+
function Ht(e) {
|
|
1701
|
+
var t = {}, r = fr(e);
|
|
1681
1702
|
return r || t;
|
|
1682
1703
|
}
|
|
1683
|
-
function
|
|
1704
|
+
function oi(e) {
|
|
1684
1705
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1685
1706
|
var i = n[r];
|
|
1686
1707
|
switch (i.stem) {
|
|
@@ -1704,7 +1725,7 @@ function ni(e) {
|
|
|
1704
1725
|
continue;
|
|
1705
1726
|
case "measure-unit":
|
|
1706
1727
|
case "unit":
|
|
1707
|
-
t.style = "unit", t.unit =
|
|
1728
|
+
t.style = "unit", t.unit = ri(i.options[0]);
|
|
1708
1729
|
continue;
|
|
1709
1730
|
case "compact-short":
|
|
1710
1731
|
case "K":
|
|
@@ -1715,13 +1736,13 @@ function ni(e) {
|
|
|
1715
1736
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1716
1737
|
continue;
|
|
1717
1738
|
case "scientific":
|
|
1718
|
-
t =
|
|
1719
|
-
return
|
|
1739
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1740
|
+
return w(w({}, l), Ht(u));
|
|
1720
1741
|
}, {}));
|
|
1721
1742
|
continue;
|
|
1722
1743
|
case "engineering":
|
|
1723
|
-
t =
|
|
1724
|
-
return
|
|
1744
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1745
|
+
return w(w({}, l), Ht(u));
|
|
1725
1746
|
}, {}));
|
|
1726
1747
|
continue;
|
|
1727
1748
|
case "notation-simple":
|
|
@@ -1766,7 +1787,7 @@ function ni(e) {
|
|
|
1766
1787
|
case "integer-width":
|
|
1767
1788
|
if (i.options.length > 1)
|
|
1768
1789
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1769
|
-
i.options[0].replace(
|
|
1790
|
+
i.options[0].replace(ni, function(l, u, h, c, f, p) {
|
|
1770
1791
|
if (u)
|
|
1771
1792
|
t.minimumIntegerDigits = h.length;
|
|
1772
1793
|
else {
|
|
@@ -1779,28 +1800,28 @@ function ni(e) {
|
|
|
1779
1800
|
});
|
|
1780
1801
|
continue;
|
|
1781
1802
|
}
|
|
1782
|
-
if (
|
|
1803
|
+
if (cr.test(i.stem)) {
|
|
1783
1804
|
t.minimumIntegerDigits = i.stem.length;
|
|
1784
1805
|
continue;
|
|
1785
1806
|
}
|
|
1786
|
-
if (
|
|
1807
|
+
if (St.test(i.stem)) {
|
|
1787
1808
|
if (i.options.length > 1)
|
|
1788
1809
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1789
|
-
i.stem.replace(
|
|
1810
|
+
i.stem.replace(St, function(l, u, h, c, f, p) {
|
|
1790
1811
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1791
1812
|
});
|
|
1792
1813
|
var o = i.options[0];
|
|
1793
|
-
o === "w" ? t =
|
|
1814
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Tt(o)));
|
|
1794
1815
|
continue;
|
|
1795
1816
|
}
|
|
1796
|
-
if (
|
|
1797
|
-
t =
|
|
1817
|
+
if (hr.test(i.stem)) {
|
|
1818
|
+
t = w(w({}, t), Tt(i.stem));
|
|
1798
1819
|
continue;
|
|
1799
1820
|
}
|
|
1800
|
-
var a =
|
|
1801
|
-
a && (t =
|
|
1802
|
-
var s =
|
|
1803
|
-
s && (t =
|
|
1821
|
+
var a = fr(i.stem);
|
|
1822
|
+
a && (t = w(w({}, t), a));
|
|
1823
|
+
var s = ii(i.stem);
|
|
1824
|
+
s && (t = w(w({}, t), s));
|
|
1804
1825
|
}
|
|
1805
1826
|
return t;
|
|
1806
1827
|
}
|
|
@@ -3219,13 +3240,13 @@ var ce = {
|
|
|
3219
3240
|
"h"
|
|
3220
3241
|
]
|
|
3221
3242
|
};
|
|
3222
|
-
function
|
|
3243
|
+
function si(e, t) {
|
|
3223
3244
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3224
3245
|
var i = e.charAt(n);
|
|
3225
3246
|
if (i === "j") {
|
|
3226
3247
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3227
3248
|
o++, n++;
|
|
3228
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3249
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ai(t);
|
|
3229
3250
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3230
3251
|
r += l;
|
|
3231
3252
|
for (; a-- > 0; )
|
|
@@ -3235,7 +3256,7 @@ function ii(e, t) {
|
|
|
3235
3256
|
}
|
|
3236
3257
|
return r;
|
|
3237
3258
|
}
|
|
3238
|
-
function
|
|
3259
|
+
function ai(e) {
|
|
3239
3260
|
var t = e.hourCycle;
|
|
3240
3261
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3241
3262
|
e.hourCycles && // @ts-ignore
|
|
@@ -3257,20 +3278,20 @@ function oi(e) {
|
|
|
3257
3278
|
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
3258
3279
|
return i[0];
|
|
3259
3280
|
}
|
|
3260
|
-
var
|
|
3281
|
+
var Ue, ui = new RegExp("^".concat(lr.source, "*")), li = new RegExp("".concat(lr.source, "*$"));
|
|
3261
3282
|
function y(e, t) {
|
|
3262
3283
|
return { start: e, end: t };
|
|
3263
3284
|
}
|
|
3264
|
-
var
|
|
3285
|
+
var hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ci = !!String.fromCodePoint, fi = !!Object.fromEntries, mi = !!String.prototype.codePointAt, pi = !!String.prototype.trimStart, di = !!String.prototype.trimEnd, bi = !!Number.isSafeInteger, gi = bi ? Number.isSafeInteger : function(e) {
|
|
3265
3286
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3266
|
-
},
|
|
3287
|
+
}, Ye = !0;
|
|
3267
3288
|
try {
|
|
3268
|
-
var
|
|
3269
|
-
|
|
3289
|
+
var yi = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3290
|
+
Ye = ((Ue = yi.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
|
|
3270
3291
|
} catch {
|
|
3271
|
-
|
|
3292
|
+
Ye = !1;
|
|
3272
3293
|
}
|
|
3273
|
-
var
|
|
3294
|
+
var Ct = hi ? (
|
|
3274
3295
|
// Native
|
|
3275
3296
|
function(t, r, n) {
|
|
3276
3297
|
return t.startsWith(r, n);
|
|
@@ -3280,7 +3301,7 @@ var Tt = ui ? (
|
|
|
3280
3301
|
function(t, r, n) {
|
|
3281
3302
|
return t.slice(n, n + r.length) === r;
|
|
3282
3303
|
}
|
|
3283
|
-
),
|
|
3304
|
+
), Ke = ci ? String.fromCodePoint : (
|
|
3284
3305
|
// IE11
|
|
3285
3306
|
function() {
|
|
3286
3307
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3292,9 +3313,9 @@ var Tt = ui ? (
|
|
|
3292
3313
|
}
|
|
3293
3314
|
return n;
|
|
3294
3315
|
}
|
|
3295
|
-
),
|
|
3316
|
+
), At = (
|
|
3296
3317
|
// native
|
|
3297
|
-
|
|
3318
|
+
fi ? Object.fromEntries : (
|
|
3298
3319
|
// Ponyfill
|
|
3299
3320
|
function(t) {
|
|
3300
3321
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3304,7 +3325,7 @@ var Tt = ui ? (
|
|
|
3304
3325
|
return r;
|
|
3305
3326
|
}
|
|
3306
3327
|
)
|
|
3307
|
-
),
|
|
3328
|
+
), mr = mi ? (
|
|
3308
3329
|
// Native
|
|
3309
3330
|
function(t, r) {
|
|
3310
3331
|
return t.codePointAt(r);
|
|
@@ -3318,7 +3339,7 @@ var Tt = ui ? (
|
|
|
3318
3339
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3319
3340
|
}
|
|
3320
3341
|
}
|
|
3321
|
-
),
|
|
3342
|
+
), vi = pi ? (
|
|
3322
3343
|
// Native
|
|
3323
3344
|
function(t) {
|
|
3324
3345
|
return t.trimStart();
|
|
@@ -3326,9 +3347,9 @@ var Tt = ui ? (
|
|
|
3326
3347
|
) : (
|
|
3327
3348
|
// Ponyfill
|
|
3328
3349
|
function(t) {
|
|
3329
|
-
return t.replace(
|
|
3350
|
+
return t.replace(ui, "");
|
|
3330
3351
|
}
|
|
3331
|
-
),
|
|
3352
|
+
), _i = di ? (
|
|
3332
3353
|
// Native
|
|
3333
3354
|
function(t) {
|
|
3334
3355
|
return t.trimEnd();
|
|
@@ -3336,32 +3357,32 @@ var Tt = ui ? (
|
|
|
3336
3357
|
) : (
|
|
3337
3358
|
// Ponyfill
|
|
3338
3359
|
function(t) {
|
|
3339
|
-
return t.replace(
|
|
3360
|
+
return t.replace(li, "");
|
|
3340
3361
|
}
|
|
3341
3362
|
);
|
|
3342
|
-
function
|
|
3363
|
+
function pr(e, t) {
|
|
3343
3364
|
return new RegExp(e, t);
|
|
3344
3365
|
}
|
|
3345
|
-
var
|
|
3346
|
-
if (
|
|
3347
|
-
var
|
|
3348
|
-
|
|
3366
|
+
var et;
|
|
3367
|
+
if (Ye) {
|
|
3368
|
+
var Bt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3369
|
+
et = function(t, r) {
|
|
3349
3370
|
var n;
|
|
3350
|
-
|
|
3351
|
-
var i =
|
|
3371
|
+
Bt.lastIndex = r;
|
|
3372
|
+
var i = Bt.exec(t);
|
|
3352
3373
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3353
3374
|
};
|
|
3354
3375
|
} else
|
|
3355
|
-
|
|
3376
|
+
et = function(t, r) {
|
|
3356
3377
|
for (var n = []; ; ) {
|
|
3357
|
-
var i =
|
|
3358
|
-
if (i === void 0 ||
|
|
3378
|
+
var i = mr(t, r);
|
|
3379
|
+
if (i === void 0 || dr(i) || Si(i))
|
|
3359
3380
|
break;
|
|
3360
3381
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3361
3382
|
}
|
|
3362
|
-
return
|
|
3383
|
+
return Ke.apply(void 0, n);
|
|
3363
3384
|
};
|
|
3364
|
-
var
|
|
3385
|
+
var xi = (
|
|
3365
3386
|
/** @class */
|
|
3366
3387
|
function() {
|
|
3367
3388
|
function e(t, r) {
|
|
@@ -3385,14 +3406,14 @@ var vi = (
|
|
|
3385
3406
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3386
3407
|
var s = this.clonePosition();
|
|
3387
3408
|
this.bump(), i.push({
|
|
3388
|
-
type:
|
|
3409
|
+
type: x.pound,
|
|
3389
3410
|
location: y(s, this.clonePosition())
|
|
3390
3411
|
});
|
|
3391
3412
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3392
3413
|
if (n)
|
|
3393
3414
|
break;
|
|
3394
3415
|
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3395
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3416
|
+
} else if (o === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
|
|
3396
3417
|
var a = this.parseTag(t, r);
|
|
3397
3418
|
if (a.err)
|
|
3398
3419
|
return a;
|
|
@@ -3413,7 +3434,7 @@ var vi = (
|
|
|
3413
3434
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3414
3435
|
return {
|
|
3415
3436
|
val: {
|
|
3416
|
-
type:
|
|
3437
|
+
type: x.literal,
|
|
3417
3438
|
value: "<".concat(i, "/>"),
|
|
3418
3439
|
location: y(n, this.clonePosition())
|
|
3419
3440
|
},
|
|
@@ -3425,12 +3446,12 @@ var vi = (
|
|
|
3425
3446
|
return o;
|
|
3426
3447
|
var a = o.val, s = this.clonePosition();
|
|
3427
3448
|
if (this.bumpIf("</")) {
|
|
3428
|
-
if (this.isEOF() || !
|
|
3449
|
+
if (this.isEOF() || !tt(this.char()))
|
|
3429
3450
|
return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
|
|
3430
3451
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3431
3452
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3432
3453
|
val: {
|
|
3433
|
-
type:
|
|
3454
|
+
type: x.tag,
|
|
3434
3455
|
value: i,
|
|
3435
3456
|
children: a,
|
|
3436
3457
|
location: y(n, this.clonePosition())
|
|
@@ -3443,7 +3464,7 @@ var vi = (
|
|
|
3443
3464
|
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
3444
3465
|
}, e.prototype.parseTagName = function() {
|
|
3445
3466
|
var t = this.offset();
|
|
3446
|
-
for (this.bump(); !this.isEOF() &&
|
|
3467
|
+
for (this.bump(); !this.isEOF() && wi(this.char()); )
|
|
3447
3468
|
this.bump();
|
|
3448
3469
|
return this.message.slice(t, this.offset());
|
|
3449
3470
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3467,12 +3488,12 @@ var vi = (
|
|
|
3467
3488
|
}
|
|
3468
3489
|
var l = y(n, this.clonePosition());
|
|
3469
3490
|
return {
|
|
3470
|
-
val: { type:
|
|
3491
|
+
val: { type: x.literal, value: i, location: l },
|
|
3471
3492
|
err: null
|
|
3472
3493
|
};
|
|
3473
3494
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3474
3495
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3475
|
-
!
|
|
3496
|
+
!Ei(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3476
3497
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3477
3498
|
if (this.isEOF() || this.char() !== 39)
|
|
3478
3499
|
return null;
|
|
@@ -3506,12 +3527,12 @@ var vi = (
|
|
|
3506
3527
|
r.push(n);
|
|
3507
3528
|
this.bump();
|
|
3508
3529
|
}
|
|
3509
|
-
return
|
|
3530
|
+
return Ke.apply(void 0, r);
|
|
3510
3531
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3511
3532
|
if (this.isEOF())
|
|
3512
3533
|
return null;
|
|
3513
3534
|
var n = this.char();
|
|
3514
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3535
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
|
|
3515
3536
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3516
3537
|
var n = this.clonePosition();
|
|
3517
3538
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3527,7 +3548,7 @@ var vi = (
|
|
|
3527
3548
|
case 125:
|
|
3528
3549
|
return this.bump(), {
|
|
3529
3550
|
val: {
|
|
3530
|
-
type:
|
|
3551
|
+
type: x.argument,
|
|
3531
3552
|
// value does not include the opening and closing braces.
|
|
3532
3553
|
value: i,
|
|
3533
3554
|
location: y(n, this.clonePosition())
|
|
@@ -3540,7 +3561,7 @@ var vi = (
|
|
|
3540
3561
|
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3541
3562
|
}
|
|
3542
3563
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3543
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3564
|
+
var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
|
|
3544
3565
|
this.bumpTo(i);
|
|
3545
3566
|
var o = this.clonePosition(), a = y(t, o);
|
|
3546
3567
|
return { value: n, location: a };
|
|
@@ -3559,7 +3580,7 @@ var vi = (
|
|
|
3559
3580
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3560
3581
|
if (c.err)
|
|
3561
3582
|
return c;
|
|
3562
|
-
var f =
|
|
3583
|
+
var f = _i(c.val);
|
|
3563
3584
|
if (f.length === 0)
|
|
3564
3585
|
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3565
3586
|
var p = y(h, this.clonePosition());
|
|
@@ -3569,25 +3590,25 @@ var vi = (
|
|
|
3569
3590
|
if (m.err)
|
|
3570
3591
|
return m;
|
|
3571
3592
|
var d = y(i, this.clonePosition());
|
|
3572
|
-
if (u &&
|
|
3573
|
-
var v =
|
|
3593
|
+
if (u && Ct(u?.style, "::", 0)) {
|
|
3594
|
+
var v = vi(u.style.slice(2));
|
|
3574
3595
|
if (s === "number") {
|
|
3575
3596
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3576
3597
|
return c.err ? c : {
|
|
3577
|
-
val: { type:
|
|
3598
|
+
val: { type: x.number, value: n, location: d, style: c.val },
|
|
3578
3599
|
err: null
|
|
3579
3600
|
};
|
|
3580
3601
|
} else {
|
|
3581
3602
|
if (v.length === 0)
|
|
3582
3603
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3583
3604
|
var T = v;
|
|
3584
|
-
this.locale && (T =
|
|
3605
|
+
this.locale && (T = si(v, this.locale));
|
|
3585
3606
|
var f = {
|
|
3586
|
-
type:
|
|
3607
|
+
type: Z.dateTime,
|
|
3587
3608
|
pattern: T,
|
|
3588
3609
|
location: u.styleLocation,
|
|
3589
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3590
|
-
}, C = s === "date" ?
|
|
3610
|
+
parsedOptions: this.shouldParseSkeletons ? Kn(T) : {}
|
|
3611
|
+
}, C = s === "date" ? x.date : x.time;
|
|
3591
3612
|
return {
|
|
3592
3613
|
val: { type: C, value: n, location: d, style: f },
|
|
3593
3614
|
err: null
|
|
@@ -3596,7 +3617,7 @@ var vi = (
|
|
|
3596
3617
|
}
|
|
3597
3618
|
return {
|
|
3598
3619
|
val: {
|
|
3599
|
-
type: s === "number" ?
|
|
3620
|
+
type: s === "number" ? x.number : s === "date" ? x.date : x.time,
|
|
3600
3621
|
value: n,
|
|
3601
3622
|
location: d,
|
|
3602
3623
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3609,41 +3630,41 @@ var vi = (
|
|
|
3609
3630
|
case "select": {
|
|
3610
3631
|
var S = this.clonePosition();
|
|
3611
3632
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3612
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S,
|
|
3633
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S, _e({}, S)));
|
|
3613
3634
|
this.bumpSpace();
|
|
3614
|
-
var
|
|
3615
|
-
if (s !== "select" &&
|
|
3635
|
+
var A = this.parseIdentifierIfPossible(), E = 0;
|
|
3636
|
+
if (s !== "select" && A.value === "offset") {
|
|
3616
3637
|
if (!this.bumpIf(":"))
|
|
3617
3638
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3618
3639
|
this.bumpSpace();
|
|
3619
3640
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3620
3641
|
if (c.err)
|
|
3621
3642
|
return c;
|
|
3622
|
-
this.bumpSpace(),
|
|
3643
|
+
this.bumpSpace(), A = this.parseIdentifierIfPossible(), E = c.val;
|
|
3623
3644
|
}
|
|
3624
|
-
var
|
|
3625
|
-
if (
|
|
3626
|
-
return
|
|
3645
|
+
var _ = this.tryParsePluralOrSelectOptions(t, s, r, A);
|
|
3646
|
+
if (_.err)
|
|
3647
|
+
return _;
|
|
3627
3648
|
var m = this.tryParseArgumentClose(i);
|
|
3628
3649
|
if (m.err)
|
|
3629
3650
|
return m;
|
|
3630
|
-
var
|
|
3651
|
+
var O = y(i, this.clonePosition());
|
|
3631
3652
|
return s === "select" ? {
|
|
3632
3653
|
val: {
|
|
3633
|
-
type:
|
|
3654
|
+
type: x.select,
|
|
3634
3655
|
value: n,
|
|
3635
|
-
options:
|
|
3636
|
-
location:
|
|
3656
|
+
options: At(_.val),
|
|
3657
|
+
location: O
|
|
3637
3658
|
},
|
|
3638
3659
|
err: null
|
|
3639
3660
|
} : {
|
|
3640
3661
|
val: {
|
|
3641
|
-
type:
|
|
3662
|
+
type: x.plural,
|
|
3642
3663
|
value: n,
|
|
3643
|
-
options:
|
|
3644
|
-
offset:
|
|
3664
|
+
options: At(_.val),
|
|
3665
|
+
offset: E,
|
|
3645
3666
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3646
|
-
location:
|
|
3667
|
+
location: O
|
|
3647
3668
|
},
|
|
3648
3669
|
err: null
|
|
3649
3670
|
};
|
|
@@ -3691,16 +3712,16 @@ var vi = (
|
|
|
3691
3712
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3692
3713
|
var n = [];
|
|
3693
3714
|
try {
|
|
3694
|
-
n =
|
|
3715
|
+
n = ti(t);
|
|
3695
3716
|
} catch {
|
|
3696
3717
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3697
3718
|
}
|
|
3698
3719
|
return {
|
|
3699
3720
|
val: {
|
|
3700
|
-
type:
|
|
3721
|
+
type: Z.number,
|
|
3701
3722
|
tokens: n,
|
|
3702
3723
|
location: r,
|
|
3703
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3724
|
+
parsedOptions: this.shouldParseSkeletons ? oi(n) : {}
|
|
3704
3725
|
},
|
|
3705
3726
|
err: null
|
|
3706
3727
|
};
|
|
@@ -3748,7 +3769,7 @@ var vi = (
|
|
|
3748
3769
|
break;
|
|
3749
3770
|
}
|
|
3750
3771
|
var l = y(i, this.clonePosition());
|
|
3751
|
-
return o ? (a *= n,
|
|
3772
|
+
return o ? (a *= n, gi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3752
3773
|
}, e.prototype.offset = function() {
|
|
3753
3774
|
return this.position.offset;
|
|
3754
3775
|
}, e.prototype.isEOF = function() {
|
|
@@ -3763,7 +3784,7 @@ var vi = (
|
|
|
3763
3784
|
var t = this.position.offset;
|
|
3764
3785
|
if (t >= this.message.length)
|
|
3765
3786
|
throw Error("out of bound");
|
|
3766
|
-
var r =
|
|
3787
|
+
var r = mr(this.message, t);
|
|
3767
3788
|
if (r === void 0)
|
|
3768
3789
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3769
3790
|
return r;
|
|
@@ -3782,7 +3803,7 @@ var vi = (
|
|
|
3782
3803
|
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);
|
|
3783
3804
|
}
|
|
3784
3805
|
}, e.prototype.bumpIf = function(t) {
|
|
3785
|
-
if (
|
|
3806
|
+
if (Ct(this.message, t, this.offset())) {
|
|
3786
3807
|
for (var r = 0; r < t.length; r++)
|
|
3787
3808
|
this.bump();
|
|
3788
3809
|
return !0;
|
|
@@ -3804,7 +3825,7 @@ var vi = (
|
|
|
3804
3825
|
break;
|
|
3805
3826
|
}
|
|
3806
3827
|
}, e.prototype.bumpSpace = function() {
|
|
3807
|
-
for (; !this.isEOF() &&
|
|
3828
|
+
for (; !this.isEOF() && dr(this.char()); )
|
|
3808
3829
|
this.bump();
|
|
3809
3830
|
}, e.prototype.peek = function() {
|
|
3810
3831
|
if (this.isEOF())
|
|
@@ -3814,47 +3835,47 @@ var vi = (
|
|
|
3814
3835
|
}, e;
|
|
3815
3836
|
}()
|
|
3816
3837
|
);
|
|
3817
|
-
function
|
|
3838
|
+
function tt(e) {
|
|
3818
3839
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3819
3840
|
}
|
|
3820
|
-
function
|
|
3821
|
-
return
|
|
3841
|
+
function Ei(e) {
|
|
3842
|
+
return tt(e) || e === 47;
|
|
3822
3843
|
}
|
|
3823
|
-
function
|
|
3844
|
+
function wi(e) {
|
|
3824
3845
|
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;
|
|
3825
3846
|
}
|
|
3826
|
-
function
|
|
3847
|
+
function dr(e) {
|
|
3827
3848
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3828
3849
|
}
|
|
3829
|
-
function
|
|
3850
|
+
function Si(e) {
|
|
3830
3851
|
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;
|
|
3831
3852
|
}
|
|
3832
|
-
function
|
|
3853
|
+
function rt(e) {
|
|
3833
3854
|
e.forEach(function(t) {
|
|
3834
|
-
if (delete t.location,
|
|
3855
|
+
if (delete t.location, or(t) || sr(t))
|
|
3835
3856
|
for (var r in t.options)
|
|
3836
|
-
delete t.options[r].location,
|
|
3857
|
+
delete t.options[r].location, rt(t.options[r].value);
|
|
3837
3858
|
else
|
|
3838
|
-
|
|
3859
|
+
rr(t) && ur(t.style) || (nr(t) || ir(t)) && qe(t.style) ? delete t.style.location : ar(t) && rt(t.children);
|
|
3839
3860
|
});
|
|
3840
3861
|
}
|
|
3841
|
-
function
|
|
3842
|
-
t === void 0 && (t = {}), t =
|
|
3843
|
-
var r = new
|
|
3862
|
+
function Ti(e, t) {
|
|
3863
|
+
t === void 0 && (t = {}), t = _e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3864
|
+
var r = new xi(e, t).parse();
|
|
3844
3865
|
if (r.err) {
|
|
3845
3866
|
var n = SyntaxError(b[r.err.kind]);
|
|
3846
3867
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3847
3868
|
}
|
|
3848
|
-
return t?.captureLocation ||
|
|
3869
|
+
return t?.captureLocation || rt(r.val), r.val;
|
|
3849
3870
|
}
|
|
3850
|
-
var
|
|
3871
|
+
var Q;
|
|
3851
3872
|
(function(e) {
|
|
3852
3873
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3853
|
-
})(
|
|
3854
|
-
var
|
|
3874
|
+
})(Q || (Q = {}));
|
|
3875
|
+
var Ce = (
|
|
3855
3876
|
/** @class */
|
|
3856
3877
|
function(e) {
|
|
3857
|
-
|
|
3878
|
+
He(t, e);
|
|
3858
3879
|
function t(r, n, i) {
|
|
3859
3880
|
var o = e.call(this, r) || this;
|
|
3860
3881
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3863,155 +3884,155 @@ var Te = (
|
|
|
3863
3884
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3864
3885
|
}, t;
|
|
3865
3886
|
}(Error)
|
|
3866
|
-
),
|
|
3887
|
+
), Pt = (
|
|
3867
3888
|
/** @class */
|
|
3868
3889
|
function(e) {
|
|
3869
|
-
|
|
3890
|
+
He(t, e);
|
|
3870
3891
|
function t(r, n, i, o) {
|
|
3871
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3892
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
|
|
3872
3893
|
}
|
|
3873
3894
|
return t;
|
|
3874
|
-
}(
|
|
3875
|
-
),
|
|
3895
|
+
}(Ce)
|
|
3896
|
+
), Hi = (
|
|
3876
3897
|
/** @class */
|
|
3877
3898
|
function(e) {
|
|
3878
|
-
|
|
3899
|
+
He(t, e);
|
|
3879
3900
|
function t(r, n, i) {
|
|
3880
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3901
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
|
|
3881
3902
|
}
|
|
3882
3903
|
return t;
|
|
3883
|
-
}(
|
|
3884
|
-
),
|
|
3904
|
+
}(Ce)
|
|
3905
|
+
), Ci = (
|
|
3885
3906
|
/** @class */
|
|
3886
3907
|
function(e) {
|
|
3887
|
-
|
|
3908
|
+
He(t, e);
|
|
3888
3909
|
function t(r, n) {
|
|
3889
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3910
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
|
|
3890
3911
|
}
|
|
3891
3912
|
return t;
|
|
3892
|
-
}(
|
|
3893
|
-
),
|
|
3913
|
+
}(Ce)
|
|
3914
|
+
), B;
|
|
3894
3915
|
(function(e) {
|
|
3895
3916
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3896
|
-
})(
|
|
3897
|
-
function
|
|
3917
|
+
})(B || (B = {}));
|
|
3918
|
+
function Ai(e) {
|
|
3898
3919
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3899
3920
|
var n = t[t.length - 1];
|
|
3900
|
-
return !n || n.type !==
|
|
3921
|
+
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3901
3922
|
}, []);
|
|
3902
3923
|
}
|
|
3903
|
-
function
|
|
3924
|
+
function Bi(e) {
|
|
3904
3925
|
return typeof e == "function";
|
|
3905
3926
|
}
|
|
3906
3927
|
function de(e, t, r, n, i, o, a) {
|
|
3907
|
-
if (e.length === 1 &&
|
|
3928
|
+
if (e.length === 1 && wt(e[0]))
|
|
3908
3929
|
return [
|
|
3909
3930
|
{
|
|
3910
|
-
type:
|
|
3931
|
+
type: B.literal,
|
|
3911
3932
|
value: e[0].value
|
|
3912
3933
|
}
|
|
3913
3934
|
];
|
|
3914
3935
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3915
3936
|
var h = u[l];
|
|
3916
|
-
if (
|
|
3937
|
+
if (wt(h)) {
|
|
3917
3938
|
s.push({
|
|
3918
|
-
type:
|
|
3939
|
+
type: B.literal,
|
|
3919
3940
|
value: h.value
|
|
3920
3941
|
});
|
|
3921
3942
|
continue;
|
|
3922
3943
|
}
|
|
3923
|
-
if (
|
|
3944
|
+
if (qn(h)) {
|
|
3924
3945
|
typeof o == "number" && s.push({
|
|
3925
|
-
type:
|
|
3946
|
+
type: B.literal,
|
|
3926
3947
|
value: r.getNumberFormat(t).format(o)
|
|
3927
3948
|
});
|
|
3928
3949
|
continue;
|
|
3929
3950
|
}
|
|
3930
3951
|
var c = h.value;
|
|
3931
3952
|
if (!(i && c in i))
|
|
3932
|
-
throw new
|
|
3953
|
+
throw new Ci(c, a);
|
|
3933
3954
|
var f = i[c];
|
|
3934
|
-
if (
|
|
3955
|
+
if (Jn(h)) {
|
|
3935
3956
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3936
|
-
type: typeof f == "string" ?
|
|
3957
|
+
type: typeof f == "string" ? B.literal : B.object,
|
|
3937
3958
|
value: f
|
|
3938
3959
|
});
|
|
3939
3960
|
continue;
|
|
3940
3961
|
}
|
|
3941
|
-
if (
|
|
3942
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3962
|
+
if (nr(h)) {
|
|
3963
|
+
var p = typeof h.style == "string" ? n.date[h.style] : qe(h.style) ? h.style.parsedOptions : void 0;
|
|
3943
3964
|
s.push({
|
|
3944
|
-
type:
|
|
3965
|
+
type: B.literal,
|
|
3945
3966
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3946
3967
|
});
|
|
3947
3968
|
continue;
|
|
3948
3969
|
}
|
|
3949
|
-
if (
|
|
3950
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3970
|
+
if (ir(h)) {
|
|
3971
|
+
var p = typeof h.style == "string" ? n.time[h.style] : qe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3951
3972
|
s.push({
|
|
3952
|
-
type:
|
|
3973
|
+
type: B.literal,
|
|
3953
3974
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3954
3975
|
});
|
|
3955
3976
|
continue;
|
|
3956
3977
|
}
|
|
3957
|
-
if (
|
|
3958
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3978
|
+
if (rr(h)) {
|
|
3979
|
+
var p = typeof h.style == "string" ? n.number[h.style] : ur(h.style) ? h.style.parsedOptions : void 0;
|
|
3959
3980
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3960
|
-
type:
|
|
3981
|
+
type: B.literal,
|
|
3961
3982
|
value: r.getNumberFormat(t, p).format(f)
|
|
3962
3983
|
});
|
|
3963
3984
|
continue;
|
|
3964
3985
|
}
|
|
3965
|
-
if (
|
|
3986
|
+
if (ar(h)) {
|
|
3966
3987
|
var m = h.children, d = h.value, v = i[d];
|
|
3967
|
-
if (!
|
|
3968
|
-
throw new
|
|
3969
|
-
var T = de(m, t, r, n, i, o), C = v(T.map(function(
|
|
3970
|
-
return
|
|
3988
|
+
if (!Bi(v))
|
|
3989
|
+
throw new Hi(d, "function", a);
|
|
3990
|
+
var T = de(m, t, r, n, i, o), C = v(T.map(function(E) {
|
|
3991
|
+
return E.value;
|
|
3971
3992
|
}));
|
|
3972
|
-
Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(
|
|
3993
|
+
Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(E) {
|
|
3973
3994
|
return {
|
|
3974
|
-
type: typeof
|
|
3975
|
-
value:
|
|
3995
|
+
type: typeof E == "string" ? B.literal : B.object,
|
|
3996
|
+
value: E
|
|
3976
3997
|
};
|
|
3977
3998
|
}));
|
|
3978
3999
|
}
|
|
3979
|
-
if (
|
|
4000
|
+
if (or(h)) {
|
|
3980
4001
|
var S = h.options[f] || h.options.other;
|
|
3981
4002
|
if (!S)
|
|
3982
|
-
throw new
|
|
4003
|
+
throw new Pt(h.value, f, Object.keys(h.options), a);
|
|
3983
4004
|
s.push.apply(s, de(S.value, t, r, n, i));
|
|
3984
4005
|
continue;
|
|
3985
4006
|
}
|
|
3986
|
-
if (
|
|
4007
|
+
if (sr(h)) {
|
|
3987
4008
|
var S = h.options["=".concat(f)];
|
|
3988
4009
|
if (!S) {
|
|
3989
4010
|
if (!Intl.PluralRules)
|
|
3990
|
-
throw new
|
|
4011
|
+
throw new Ce(`Intl.PluralRules is not available in this environment.
|
|
3991
4012
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3992
|
-
`,
|
|
3993
|
-
var
|
|
3994
|
-
S = h.options[
|
|
4013
|
+
`, Q.MISSING_INTL_API, a);
|
|
4014
|
+
var A = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
4015
|
+
S = h.options[A] || h.options.other;
|
|
3995
4016
|
}
|
|
3996
4017
|
if (!S)
|
|
3997
|
-
throw new
|
|
4018
|
+
throw new Pt(h.value, f, Object.keys(h.options), a);
|
|
3998
4019
|
s.push.apply(s, de(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3999
4020
|
continue;
|
|
4000
4021
|
}
|
|
4001
4022
|
}
|
|
4002
|
-
return
|
|
4023
|
+
return Ai(s);
|
|
4003
4024
|
}
|
|
4004
|
-
function
|
|
4005
|
-
return t ?
|
|
4006
|
-
return r[n] =
|
|
4025
|
+
function Pi(e, t) {
|
|
4026
|
+
return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4027
|
+
return r[n] = M(M({}, e[n]), t[n] || {}), r;
|
|
4007
4028
|
}, {})) : e;
|
|
4008
4029
|
}
|
|
4009
|
-
function
|
|
4030
|
+
function Oi(e, t) {
|
|
4010
4031
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4011
|
-
return r[n] =
|
|
4012
|
-
},
|
|
4032
|
+
return r[n] = Pi(e[n], t[n]), r;
|
|
4033
|
+
}, M({}, e)) : e;
|
|
4013
4034
|
}
|
|
4014
|
-
function
|
|
4035
|
+
function De(e) {
|
|
4015
4036
|
return {
|
|
4016
4037
|
create: function() {
|
|
4017
4038
|
return {
|
|
@@ -4025,39 +4046,39 @@ function Ge(e) {
|
|
|
4025
4046
|
}
|
|
4026
4047
|
};
|
|
4027
4048
|
}
|
|
4028
|
-
function
|
|
4049
|
+
function Li(e) {
|
|
4029
4050
|
return e === void 0 && (e = {
|
|
4030
4051
|
number: {},
|
|
4031
4052
|
dateTime: {},
|
|
4032
4053
|
pluralRules: {}
|
|
4033
4054
|
}), {
|
|
4034
|
-
getNumberFormat:
|
|
4055
|
+
getNumberFormat: Re(function() {
|
|
4035
4056
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4036
4057
|
r[n] = arguments[n];
|
|
4037
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4058
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
|
|
4038
4059
|
}, {
|
|
4039
|
-
cache:
|
|
4040
|
-
strategy:
|
|
4060
|
+
cache: De(e.number),
|
|
4061
|
+
strategy: Ge.variadic
|
|
4041
4062
|
}),
|
|
4042
|
-
getDateTimeFormat:
|
|
4063
|
+
getDateTimeFormat: Re(function() {
|
|
4043
4064
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4044
4065
|
r[n] = arguments[n];
|
|
4045
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4066
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
|
|
4046
4067
|
}, {
|
|
4047
|
-
cache:
|
|
4048
|
-
strategy:
|
|
4068
|
+
cache: De(e.dateTime),
|
|
4069
|
+
strategy: Ge.variadic
|
|
4049
4070
|
}),
|
|
4050
|
-
getPluralRules:
|
|
4071
|
+
getPluralRules: Re(function() {
|
|
4051
4072
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4052
4073
|
r[n] = arguments[n];
|
|
4053
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4074
|
+
return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
|
|
4054
4075
|
}, {
|
|
4055
|
-
cache:
|
|
4056
|
-
strategy:
|
|
4076
|
+
cache: De(e.pluralRules),
|
|
4077
|
+
strategy: Ge.variadic
|
|
4057
4078
|
})
|
|
4058
4079
|
};
|
|
4059
4080
|
}
|
|
4060
|
-
var
|
|
4081
|
+
var Ii = (
|
|
4061
4082
|
/** @class */
|
|
4062
4083
|
function() {
|
|
4063
4084
|
function e(t, r, n, i) {
|
|
@@ -4072,7 +4093,7 @@ var Li = (
|
|
|
4072
4093
|
if (u.length === 1)
|
|
4073
4094
|
return u[0].value;
|
|
4074
4095
|
var h = u.reduce(function(c, f) {
|
|
4075
|
-
return !c.length || f.type !==
|
|
4096
|
+
return !c.length || f.type !== B.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
4076
4097
|
}, []);
|
|
4077
4098
|
return h.length <= 1 ? h[0] || "" : h;
|
|
4078
4099
|
}, this.formatToParts = function(l) {
|
|
@@ -4089,13 +4110,13 @@ var Li = (
|
|
|
4089
4110
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4090
4111
|
var a = i || {};
|
|
4091
4112
|
a.formatters;
|
|
4092
|
-
var s =
|
|
4093
|
-
this.ast = e.__parse(t,
|
|
4113
|
+
var s = jn(a, ["formatters"]);
|
|
4114
|
+
this.ast = e.__parse(t, M(M({}, s), { locale: this.resolvedLocale }));
|
|
4094
4115
|
} else
|
|
4095
4116
|
this.ast = t;
|
|
4096
4117
|
if (!Array.isArray(this.ast))
|
|
4097
4118
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4098
|
-
this.formats =
|
|
4119
|
+
this.formats = Oi(e.formats, n), this.formatters = i && i.formatters || Li(this.formatterCache);
|
|
4099
4120
|
}
|
|
4100
4121
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4101
4122
|
get: function() {
|
|
@@ -4108,7 +4129,7 @@ var Li = (
|
|
|
4108
4129
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4109
4130
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4110
4131
|
}
|
|
4111
|
-
}, e.__parse =
|
|
4132
|
+
}, e.__parse = Ti, e.formats = {
|
|
4112
4133
|
number: {
|
|
4113
4134
|
integer: {
|
|
4114
4135
|
maximumFractionDigits: 0
|
|
@@ -4169,7 +4190,7 @@ var Li = (
|
|
|
4169
4190
|
}, e;
|
|
4170
4191
|
}()
|
|
4171
4192
|
);
|
|
4172
|
-
function
|
|
4193
|
+
function Mi(e, t) {
|
|
4173
4194
|
if (t == null)
|
|
4174
4195
|
return;
|
|
4175
4196
|
if (t in e)
|
|
@@ -4190,92 +4211,92 @@ function Oi(e, t) {
|
|
|
4190
4211
|
n = void 0;
|
|
4191
4212
|
return n;
|
|
4192
4213
|
}
|
|
4193
|
-
const G = {},
|
|
4214
|
+
const G = {}, Ni = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), br = (e, t) => {
|
|
4194
4215
|
if (t == null)
|
|
4195
4216
|
return;
|
|
4196
4217
|
if (t in G && e in G[t])
|
|
4197
4218
|
return G[t][e];
|
|
4198
|
-
const r =
|
|
4219
|
+
const r = Ae(t);
|
|
4199
4220
|
for (let n = 0; n < r.length; n++) {
|
|
4200
|
-
const i = r[n], o =
|
|
4221
|
+
const i = r[n], o = Ri(i, e);
|
|
4201
4222
|
if (o)
|
|
4202
|
-
return
|
|
4223
|
+
return Ni(e, t, o);
|
|
4203
4224
|
}
|
|
4204
4225
|
};
|
|
4205
|
-
let
|
|
4206
|
-
const le =
|
|
4207
|
-
function
|
|
4208
|
-
return
|
|
4226
|
+
let ut;
|
|
4227
|
+
const le = Te({});
|
|
4228
|
+
function $i(e) {
|
|
4229
|
+
return ut[e] || null;
|
|
4209
4230
|
}
|
|
4210
|
-
function
|
|
4211
|
-
return e in
|
|
4231
|
+
function gr(e) {
|
|
4232
|
+
return e in ut;
|
|
4212
4233
|
}
|
|
4213
|
-
function
|
|
4214
|
-
if (!
|
|
4234
|
+
function Ri(e, t) {
|
|
4235
|
+
if (!gr(e))
|
|
4215
4236
|
return null;
|
|
4216
|
-
const r =
|
|
4217
|
-
return
|
|
4237
|
+
const r = $i(e);
|
|
4238
|
+
return Mi(r, t);
|
|
4218
4239
|
}
|
|
4219
|
-
function
|
|
4240
|
+
function Gi(e) {
|
|
4220
4241
|
if (e == null)
|
|
4221
4242
|
return;
|
|
4222
|
-
const t =
|
|
4243
|
+
const t = Ae(e);
|
|
4223
4244
|
for (let r = 0; r < t.length; r++) {
|
|
4224
4245
|
const n = t[r];
|
|
4225
|
-
if (
|
|
4246
|
+
if (gr(n))
|
|
4226
4247
|
return n;
|
|
4227
4248
|
}
|
|
4228
4249
|
}
|
|
4229
|
-
function
|
|
4250
|
+
function yr(e, ...t) {
|
|
4230
4251
|
delete G[e], le.update((r) => (r[e] = Fn.all([r[e] || {}, ...t]), r));
|
|
4231
4252
|
}
|
|
4232
|
-
|
|
4253
|
+
q(
|
|
4233
4254
|
[le],
|
|
4234
4255
|
([e]) => Object.keys(e)
|
|
4235
4256
|
);
|
|
4236
|
-
le.subscribe((e) =>
|
|
4257
|
+
le.subscribe((e) => ut = e);
|
|
4237
4258
|
const be = {};
|
|
4238
|
-
function
|
|
4259
|
+
function Ui(e, t) {
|
|
4239
4260
|
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
4240
4261
|
}
|
|
4241
|
-
function
|
|
4262
|
+
function vr(e) {
|
|
4242
4263
|
return be[e];
|
|
4243
4264
|
}
|
|
4244
|
-
function
|
|
4245
|
-
return
|
|
4246
|
-
const r =
|
|
4265
|
+
function Di(e) {
|
|
4266
|
+
return Ae(e).map((t) => {
|
|
4267
|
+
const r = vr(t);
|
|
4247
4268
|
return [t, r ? [...r] : []];
|
|
4248
4269
|
}).filter(([, t]) => t.length > 0);
|
|
4249
4270
|
}
|
|
4250
|
-
function
|
|
4251
|
-
return e == null ? !1 :
|
|
4271
|
+
function nt(e) {
|
|
4272
|
+
return e == null ? !1 : Ae(e).some(
|
|
4252
4273
|
(t) => {
|
|
4253
4274
|
var r;
|
|
4254
|
-
return (r =
|
|
4275
|
+
return (r = vr(t)) == null ? void 0 : r.size;
|
|
4255
4276
|
}
|
|
4256
4277
|
);
|
|
4257
4278
|
}
|
|
4258
|
-
function
|
|
4279
|
+
function Fi(e, t) {
|
|
4259
4280
|
return Promise.all(
|
|
4260
|
-
t.map((n) => (
|
|
4261
|
-
).then((n) =>
|
|
4262
|
-
}
|
|
4263
|
-
const
|
|
4264
|
-
function
|
|
4265
|
-
if (!
|
|
4266
|
-
return e in
|
|
4267
|
-
const t =
|
|
4268
|
-
return
|
|
4281
|
+
t.map((n) => (Ui(e, n), n().then((i) => i.default || i)))
|
|
4282
|
+
).then((n) => yr(e, ...n));
|
|
4283
|
+
}
|
|
4284
|
+
const te = {};
|
|
4285
|
+
function _r(e) {
|
|
4286
|
+
if (!nt(e))
|
|
4287
|
+
return e in te ? te[e] : Promise.resolve();
|
|
4288
|
+
const t = Di(e);
|
|
4289
|
+
return te[e] = Promise.all(
|
|
4269
4290
|
t.map(
|
|
4270
|
-
([r, n]) =>
|
|
4291
|
+
([r, n]) => Fi(r, n)
|
|
4271
4292
|
)
|
|
4272
4293
|
).then(() => {
|
|
4273
|
-
if (
|
|
4274
|
-
return
|
|
4275
|
-
delete
|
|
4276
|
-
}),
|
|
4294
|
+
if (nt(e))
|
|
4295
|
+
return _r(e);
|
|
4296
|
+
delete te[e];
|
|
4297
|
+
}), te[e];
|
|
4277
4298
|
}
|
|
4278
|
-
const
|
|
4299
|
+
const ji = {
|
|
4279
4300
|
number: {
|
|
4280
4301
|
scientific: { notation: "scientific" },
|
|
4281
4302
|
engineering: { notation: "engineering" },
|
|
@@ -4304,135 +4325,135 @@ const Di = {
|
|
|
4304
4325
|
timeZoneName: "short"
|
|
4305
4326
|
}
|
|
4306
4327
|
}
|
|
4307
|
-
},
|
|
4328
|
+
}, ki = {
|
|
4308
4329
|
fallbackLocale: null,
|
|
4309
4330
|
loadingDelay: 200,
|
|
4310
|
-
formats:
|
|
4331
|
+
formats: ji,
|
|
4311
4332
|
warnOnMissingMessages: !0,
|
|
4312
4333
|
handleMissingMessage: void 0,
|
|
4313
4334
|
ignoreTag: !0
|
|
4314
|
-
},
|
|
4315
|
-
function
|
|
4316
|
-
return
|
|
4335
|
+
}, Vi = ki;
|
|
4336
|
+
function J() {
|
|
4337
|
+
return Vi;
|
|
4317
4338
|
}
|
|
4318
|
-
const
|
|
4319
|
-
var
|
|
4339
|
+
const Fe = Te(!1);
|
|
4340
|
+
var Xi = Object.defineProperty, zi = Object.defineProperties, Wi = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Zi = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ji = (e, t) => {
|
|
4320
4341
|
for (var r in t || (t = {}))
|
|
4321
|
-
|
|
4322
|
-
if (
|
|
4323
|
-
for (var r of
|
|
4324
|
-
|
|
4342
|
+
Zi.call(t, r) && Lt(e, r, t[r]);
|
|
4343
|
+
if (Ot)
|
|
4344
|
+
for (var r of Ot(t))
|
|
4345
|
+
Qi.call(t, r) && Lt(e, r, t[r]);
|
|
4325
4346
|
return e;
|
|
4326
|
-
},
|
|
4327
|
-
let
|
|
4328
|
-
const
|
|
4329
|
-
function
|
|
4347
|
+
}, qi = (e, t) => zi(e, Wi(t));
|
|
4348
|
+
let it;
|
|
4349
|
+
const xe = Te(null);
|
|
4350
|
+
function It(e) {
|
|
4330
4351
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4331
4352
|
}
|
|
4332
|
-
function
|
|
4333
|
-
const r =
|
|
4334
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4353
|
+
function Ae(e, t = J().fallbackLocale) {
|
|
4354
|
+
const r = It(e);
|
|
4355
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
|
|
4335
4356
|
}
|
|
4336
4357
|
function D() {
|
|
4337
|
-
return
|
|
4358
|
+
return it ?? void 0;
|
|
4338
4359
|
}
|
|
4339
|
-
|
|
4340
|
-
|
|
4360
|
+
xe.subscribe((e) => {
|
|
4361
|
+
it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4341
4362
|
});
|
|
4342
|
-
const
|
|
4343
|
-
if (e &&
|
|
4344
|
-
const { loadingDelay: t } =
|
|
4363
|
+
const Yi = (e) => {
|
|
4364
|
+
if (e && Gi(e) && nt(e)) {
|
|
4365
|
+
const { loadingDelay: t } = J();
|
|
4345
4366
|
let r;
|
|
4346
4367
|
return typeof window < "u" && D() != null && t ? r = window.setTimeout(
|
|
4347
|
-
() =>
|
|
4368
|
+
() => Fe.set(!0),
|
|
4348
4369
|
t
|
|
4349
|
-
) :
|
|
4350
|
-
|
|
4370
|
+
) : Fe.set(!0), _r(e).then(() => {
|
|
4371
|
+
xe.set(e);
|
|
4351
4372
|
}).finally(() => {
|
|
4352
|
-
clearTimeout(r),
|
|
4373
|
+
clearTimeout(r), Fe.set(!1);
|
|
4353
4374
|
});
|
|
4354
4375
|
}
|
|
4355
|
-
return
|
|
4356
|
-
},
|
|
4357
|
-
set:
|
|
4358
|
-
}),
|
|
4376
|
+
return xe.set(e);
|
|
4377
|
+
}, Y = qi(Ji({}, xe), {
|
|
4378
|
+
set: Yi
|
|
4379
|
+
}), Be = (e) => {
|
|
4359
4380
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4360
4381
|
return (n) => {
|
|
4361
4382
|
const i = JSON.stringify(n);
|
|
4362
4383
|
return i in t ? t[i] : t[i] = e(n);
|
|
4363
4384
|
};
|
|
4364
4385
|
};
|
|
4365
|
-
var
|
|
4386
|
+
var Ki = Object.defineProperty, Ee = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
|
4366
4387
|
for (var r in t || (t = {}))
|
|
4367
|
-
|
|
4368
|
-
if (
|
|
4369
|
-
for (var r of
|
|
4370
|
-
|
|
4388
|
+
xr.call(t, r) && Mt(e, r, t[r]);
|
|
4389
|
+
if (Ee)
|
|
4390
|
+
for (var r of Ee(t))
|
|
4391
|
+
Er.call(t, r) && Mt(e, r, t[r]);
|
|
4371
4392
|
return e;
|
|
4372
|
-
},
|
|
4393
|
+
}, K = (e, t) => {
|
|
4373
4394
|
var r = {};
|
|
4374
4395
|
for (var n in e)
|
|
4375
|
-
|
|
4376
|
-
if (e != null &&
|
|
4377
|
-
for (var n of
|
|
4378
|
-
t.indexOf(n) < 0 &&
|
|
4396
|
+
xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4397
|
+
if (e != null && Ee)
|
|
4398
|
+
for (var n of Ee(e))
|
|
4399
|
+
t.indexOf(n) < 0 && Er.call(e, n) && (r[n] = e[n]);
|
|
4379
4400
|
return r;
|
|
4380
4401
|
};
|
|
4381
|
-
const
|
|
4382
|
-
const { formats: r } =
|
|
4402
|
+
const se = (e, t) => {
|
|
4403
|
+
const { formats: r } = J();
|
|
4383
4404
|
if (e in r && t in r[e])
|
|
4384
4405
|
return r[e][t];
|
|
4385
4406
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4386
|
-
},
|
|
4407
|
+
}, eo = Be(
|
|
4387
4408
|
(e) => {
|
|
4388
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4409
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4389
4410
|
if (r == null)
|
|
4390
4411
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4391
|
-
return n && (i =
|
|
4412
|
+
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4392
4413
|
}
|
|
4393
|
-
),
|
|
4414
|
+
), to = Be(
|
|
4394
4415
|
(e) => {
|
|
4395
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4416
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4396
4417
|
if (r == null)
|
|
4397
4418
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4398
|
-
return n ? i =
|
|
4419
|
+
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4399
4420
|
}
|
|
4400
|
-
),
|
|
4421
|
+
), ro = Be(
|
|
4401
4422
|
(e) => {
|
|
4402
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4423
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4403
4424
|
if (r == null)
|
|
4404
4425
|
throw new Error(
|
|
4405
4426
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4406
4427
|
);
|
|
4407
|
-
return n ? i =
|
|
4428
|
+
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4408
4429
|
}
|
|
4409
|
-
),
|
|
4430
|
+
), no = (e = {}) => {
|
|
4410
4431
|
var t = e, {
|
|
4411
4432
|
locale: r = D()
|
|
4412
|
-
} = t, n =
|
|
4433
|
+
} = t, n = K(t, [
|
|
4413
4434
|
"locale"
|
|
4414
4435
|
]);
|
|
4415
|
-
return
|
|
4416
|
-
},
|
|
4436
|
+
return eo(lt({ locale: r }, n));
|
|
4437
|
+
}, io = (e = {}) => {
|
|
4417
4438
|
var t = e, {
|
|
4418
4439
|
locale: r = D()
|
|
4419
|
-
} = t, n =
|
|
4440
|
+
} = t, n = K(t, [
|
|
4420
4441
|
"locale"
|
|
4421
4442
|
]);
|
|
4422
|
-
return
|
|
4423
|
-
},
|
|
4443
|
+
return to(lt({ locale: r }, n));
|
|
4444
|
+
}, oo = (e = {}) => {
|
|
4424
4445
|
var t = e, {
|
|
4425
4446
|
locale: r = D()
|
|
4426
|
-
} = t, n =
|
|
4447
|
+
} = t, n = K(t, [
|
|
4427
4448
|
"locale"
|
|
4428
4449
|
]);
|
|
4429
|
-
return
|
|
4430
|
-
},
|
|
4450
|
+
return ro(lt({ locale: r }, n));
|
|
4451
|
+
}, so = Be(
|
|
4431
4452
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4432
|
-
(e, t = D()) => new
|
|
4433
|
-
ignoreTag:
|
|
4453
|
+
(e, t = D()) => new Ii(e, t, J().formats, {
|
|
4454
|
+
ignoreTag: J().ignoreTag
|
|
4434
4455
|
})
|
|
4435
|
-
),
|
|
4456
|
+
), ao = (e, t = {}) => {
|
|
4436
4457
|
var r, n, i, o;
|
|
4437
4458
|
let a = t;
|
|
4438
4459
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4445,9 +4466,9 @@ const ae = (e, t) => {
|
|
|
4445
4466
|
throw new Error(
|
|
4446
4467
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4447
4468
|
);
|
|
4448
|
-
let h =
|
|
4469
|
+
let h = br(e, l);
|
|
4449
4470
|
if (!h)
|
|
4450
|
-
h = (o = (i = (n = (r =
|
|
4471
|
+
h = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4451
4472
|
else if (typeof h != "string")
|
|
4452
4473
|
return console.warn(
|
|
4453
4474
|
`[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.`
|
|
@@ -4456,7 +4477,7 @@ const ae = (e, t) => {
|
|
|
4456
4477
|
return h;
|
|
4457
4478
|
let c = h;
|
|
4458
4479
|
try {
|
|
4459
|
-
c =
|
|
4480
|
+
c = so(h, l).format(s);
|
|
4460
4481
|
} catch (f) {
|
|
4461
4482
|
f instanceof Error && console.warn(
|
|
4462
4483
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4464,21 +4485,21 @@ const ae = (e, t) => {
|
|
|
4464
4485
|
);
|
|
4465
4486
|
}
|
|
4466
4487
|
return c;
|
|
4467
|
-
},
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4488
|
+
}, uo = (e, t) => oo(t).format(e), lo = (e, t) => io(t).format(e), ho = (e, t) => no(t).format(e), co = (e, t = D()) => br(e, t), fo = q([Y, le], () => ao);
|
|
4489
|
+
q([Y], () => uo);
|
|
4490
|
+
q([Y], () => lo);
|
|
4491
|
+
q([Y], () => ho);
|
|
4492
|
+
q([Y, le], () => co);
|
|
4472
4493
|
window.emWidgets = { topic: Sn };
|
|
4473
|
-
const
|
|
4494
|
+
const mo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4474
4495
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4475
|
-
function
|
|
4476
|
-
|
|
4496
|
+
function Nt(e, t) {
|
|
4497
|
+
yr(e, t);
|
|
4477
4498
|
}
|
|
4478
|
-
function
|
|
4479
|
-
|
|
4499
|
+
function po(e) {
|
|
4500
|
+
Y.set(e);
|
|
4480
4501
|
}
|
|
4481
|
-
const
|
|
4502
|
+
const $t = {
|
|
4482
4503
|
en: {
|
|
4483
4504
|
cancel: "Cancel",
|
|
4484
4505
|
confirm: "Confirm"
|
|
@@ -4524,26 +4545,26 @@ const Mt = {
|
|
|
4524
4545
|
confirm: "Confirm"
|
|
4525
4546
|
}
|
|
4526
4547
|
};
|
|
4527
|
-
function mo(e) {
|
|
4528
|
-
Nr(e, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{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)}.GamingLimitsConfirmationContainer::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)}.GamingLimitsConfirmationContainer::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)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);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)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
|
|
4529
|
-
}
|
|
4530
|
-
const po = (e) => ({}), Nt = (e) => ({});
|
|
4531
4548
|
function bo(e) {
|
|
4549
|
+
$r(e, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{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)}.GamingLimitsConfirmationContainer::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)}.GamingLimitsConfirmationContainer::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)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);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)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
|
|
4550
|
+
}
|
|
4551
|
+
const go = (e) => ({}), Rt = (e) => ({});
|
|
4552
|
+
function yo(e) {
|
|
4532
4553
|
let t, r;
|
|
4533
4554
|
return {
|
|
4534
4555
|
c() {
|
|
4535
|
-
t =
|
|
4556
|
+
t = ft("svg"), r = ft("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4536
4557
|
},
|
|
4537
4558
|
m(n, i) {
|
|
4538
|
-
|
|
4559
|
+
at(n, t, i), P(t, r);
|
|
4539
4560
|
},
|
|
4540
|
-
p:
|
|
4561
|
+
p: L,
|
|
4541
4562
|
d(n) {
|
|
4542
|
-
n &&
|
|
4563
|
+
n && ae(t);
|
|
4543
4564
|
}
|
|
4544
4565
|
};
|
|
4545
4566
|
}
|
|
4546
|
-
function
|
|
4567
|
+
function vo(e) {
|
|
4547
4568
|
let t, r, n, i, o, a, s, l, u, h = (
|
|
4548
4569
|
/*$_*/
|
|
4549
4570
|
e[2]("cancel") + ""
|
|
@@ -4554,38 +4575,38 @@ function go(e) {
|
|
|
4554
4575
|
const S = (
|
|
4555
4576
|
/*#slots*/
|
|
4556
4577
|
e[14].close
|
|
4557
|
-
),
|
|
4578
|
+
), A = Pr(
|
|
4558
4579
|
S,
|
|
4559
4580
|
e,
|
|
4560
4581
|
/*$$scope*/
|
|
4561
4582
|
e[13],
|
|
4562
|
-
|
|
4563
|
-
),
|
|
4583
|
+
Rt
|
|
4584
|
+
), E = A || yo();
|
|
4564
4585
|
return {
|
|
4565
4586
|
c() {
|
|
4566
|
-
t = I("div"), r = I("div"), n = I("span"),
|
|
4587
|
+
t = I("div"), r = I("div"), n = I("span"), E && E.c(), i = Pe(), o = I("div"), a = re(
|
|
4567
4588
|
/*modaltext*/
|
|
4568
4589
|
e[0]
|
|
4569
|
-
), s =
|
|
4590
|
+
), s = Pe(), l = I("div"), u = I("button"), c = re(h), f = Pe(), p = I("button"), d = re(m), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(o, "class", "GamingLimitsConfirmationContent"), H(u, "class", "GamingLimitsCancelButton"), H(p, "class", "GamingLimitsConfirmButton"), H(l, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
|
|
4570
4591
|
(e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), H(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
|
|
4571
4592
|
(e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), H(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
|
|
4572
4593
|
(e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
|
|
4573
4594
|
},
|
|
4574
|
-
m(
|
|
4575
|
-
|
|
4576
|
-
|
|
4595
|
+
m(_, O) {
|
|
4596
|
+
at(_, t, O), P(t, r), P(r, n), E && E.m(n, null), P(r, i), P(r, o), P(o, a), P(r, s), P(r, l), P(l, u), P(u, c), P(l, f), P(l, p), P(p, d), e[15](t), v = !0, T || (C = [
|
|
4597
|
+
Oe(
|
|
4577
4598
|
n,
|
|
4578
4599
|
"click",
|
|
4579
4600
|
/*close*/
|
|
4580
4601
|
e[4]
|
|
4581
4602
|
),
|
|
4582
|
-
|
|
4603
|
+
Oe(
|
|
4583
4604
|
u,
|
|
4584
4605
|
"click",
|
|
4585
4606
|
/*cancelChanges*/
|
|
4586
4607
|
e[6]
|
|
4587
4608
|
),
|
|
4588
|
-
|
|
4609
|
+
Oe(
|
|
4589
4610
|
p,
|
|
4590
4611
|
"click",
|
|
4591
4612
|
/*confirmChanges*/
|
|
@@ -4593,67 +4614,67 @@ function go(e) {
|
|
|
4593
4614
|
)
|
|
4594
4615
|
], T = !0);
|
|
4595
4616
|
},
|
|
4596
|
-
p(
|
|
4597
|
-
|
|
4617
|
+
p(_, [O]) {
|
|
4618
|
+
A && A.p && (!v || O & /*$$scope*/
|
|
4598
4619
|
8192) && Lr(
|
|
4599
|
-
|
|
4620
|
+
A,
|
|
4600
4621
|
S,
|
|
4601
|
-
|
|
4622
|
+
_,
|
|
4602
4623
|
/*$$scope*/
|
|
4603
|
-
|
|
4604
|
-
v ?
|
|
4624
|
+
_[13],
|
|
4625
|
+
v ? Or(
|
|
4605
4626
|
S,
|
|
4606
4627
|
/*$$scope*/
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
) :
|
|
4628
|
+
_[13],
|
|
4629
|
+
O,
|
|
4630
|
+
go
|
|
4631
|
+
) : Ir(
|
|
4611
4632
|
/*$$scope*/
|
|
4612
|
-
|
|
4633
|
+
_[13]
|
|
4613
4634
|
),
|
|
4614
|
-
|
|
4615
|
-
), (!v ||
|
|
4616
|
-
1) &&
|
|
4635
|
+
Rt
|
|
4636
|
+
), (!v || O & /*modaltext*/
|
|
4637
|
+
1) && Le(
|
|
4617
4638
|
a,
|
|
4618
4639
|
/*modaltext*/
|
|
4619
|
-
|
|
4620
|
-
), (!v ||
|
|
4640
|
+
_[0]
|
|
4641
|
+
), (!v || O & /*$_*/
|
|
4621
4642
|
4) && h !== (h = /*$_*/
|
|
4622
|
-
|
|
4643
|
+
_[2]("cancel") + "") && Le(c, h), (!v || O & /*$_*/
|
|
4623
4644
|
4) && m !== (m = /*$_*/
|
|
4624
|
-
|
|
4645
|
+
_[2]("confirm") + "") && Le(d, m);
|
|
4625
4646
|
},
|
|
4626
|
-
i(
|
|
4627
|
-
v || (
|
|
4647
|
+
i(_) {
|
|
4648
|
+
v || (Xt(E, _), v = !0);
|
|
4628
4649
|
},
|
|
4629
|
-
o(
|
|
4630
|
-
|
|
4650
|
+
o(_) {
|
|
4651
|
+
Yr(E, _), v = !1;
|
|
4631
4652
|
},
|
|
4632
|
-
d(
|
|
4633
|
-
|
|
4653
|
+
d(_) {
|
|
4654
|
+
_ && ae(t), E && E.d(_), e[15](null), T = !1, U(C);
|
|
4634
4655
|
}
|
|
4635
4656
|
};
|
|
4636
4657
|
}
|
|
4637
|
-
function
|
|
4658
|
+
function _o(e, t, r) {
|
|
4638
4659
|
let n;
|
|
4639
|
-
Br(e,
|
|
4660
|
+
Br(e, fo, (g) => r(2, n = g));
|
|
4640
4661
|
let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modalsource: s = "" } = t, { lang: l = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t;
|
|
4641
4662
|
const p = () => {
|
|
4642
4663
|
fetch(f).then((F) => F.json()).then((F) => {
|
|
4643
|
-
Object.keys(F).forEach((
|
|
4644
|
-
|
|
4664
|
+
Object.keys(F).forEach((ht) => {
|
|
4665
|
+
Nt(ht, F[ht]);
|
|
4645
4666
|
});
|
|
4646
4667
|
}).catch((F) => {
|
|
4647
4668
|
console.log(F);
|
|
4648
4669
|
});
|
|
4649
4670
|
};
|
|
4650
|
-
Object.keys(
|
|
4651
|
-
|
|
4671
|
+
Object.keys($t).forEach((g) => {
|
|
4672
|
+
Nt(g, $t[g]);
|
|
4652
4673
|
});
|
|
4653
|
-
let m, d = window.navigator.userAgent, v =
|
|
4674
|
+
let m, d = window.navigator.userAgent, v = mo(d) !== "PC", T = {}, C = "";
|
|
4654
4675
|
const S = () => {
|
|
4655
4676
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4656
|
-
},
|
|
4677
|
+
}, A = () => {
|
|
4657
4678
|
s === "groupEdit" ? window.postMessage({ type: "GamingLimitsConfirmChanges" }, window.location.href) : s === "infoCard" && window.postMessage(
|
|
4658
4679
|
{
|
|
4659
4680
|
type: "PlayerAccountGamingLimitDelete",
|
|
@@ -4662,23 +4683,23 @@ function yo(e, t, r) {
|
|
|
4662
4683
|
},
|
|
4663
4684
|
window.location.href
|
|
4664
4685
|
), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4665
|
-
},
|
|
4686
|
+
}, E = () => {
|
|
4666
4687
|
s === "groupEdit" ? window.postMessage({ type: "CancelGamingLimitsChanges" }, window.location.href) : s === "infoCard" && window.postMessage({ type: "CancelGamingLimitsRemove" }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4667
|
-
},
|
|
4688
|
+
}, _ = (g) => g === "Time Limit" ? "cumulativeSessionLimits" : g === "Deposit Limit" ? "depositLimits" : g === "Wagering Limit" ? "wageringLimit" : "lossLimit", O = (g) => {
|
|
4668
4689
|
if (g.data)
|
|
4669
4690
|
switch (g.data.type) {
|
|
4670
4691
|
case "DeleteLimitsItem":
|
|
4671
|
-
T = g.data.removeData, C =
|
|
4692
|
+
T = g.data.removeData, C = _(g.data.removeName);
|
|
4672
4693
|
break;
|
|
4673
4694
|
}
|
|
4674
|
-
},
|
|
4675
|
-
|
|
4695
|
+
}, Sr = () => {
|
|
4696
|
+
po(l);
|
|
4676
4697
|
};
|
|
4677
|
-
|
|
4678
|
-
window.removeEventListener("message",
|
|
4698
|
+
zr(() => (window.addEventListener("message", O, !1), () => {
|
|
4699
|
+
window.removeEventListener("message", O);
|
|
4679
4700
|
}));
|
|
4680
|
-
function
|
|
4681
|
-
|
|
4701
|
+
function Tr(g) {
|
|
4702
|
+
je[g ? "unshift" : "push"](() => {
|
|
4682
4703
|
m = g, r(1, m);
|
|
4683
4704
|
});
|
|
4684
4705
|
}
|
|
@@ -4686,10 +4707,10 @@ function yo(e, t, r) {
|
|
|
4686
4707
|
"modaltext" in g && r(0, a = g.modaltext), "modalsource" in g && r(7, s = g.modalsource), "lang" in g && r(8, l = g.lang), "clientstyling" in g && r(9, u = g.clientstyling), "clientstylingurl" in g && r(10, h = g.clientstylingurl), "mbsource" in g && r(11, c = g.mbsource), "translationurl" in g && r(12, f = g.translationurl), "$$scope" in g && r(13, o = g.$$scope);
|
|
4687
4708
|
}, e.$$.update = () => {
|
|
4688
4709
|
e.$$.dirty & /*modaltext, modalsource, lang*/
|
|
4689
|
-
385 && a && s && l &&
|
|
4690
|
-
514 && u && m &&
|
|
4691
|
-
1026 && h && m &&
|
|
4692
|
-
2050 && c && m &&
|
|
4710
|
+
385 && a && s && l && Sr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4711
|
+
514 && u && m && un(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4712
|
+
1026 && h && m && ln(m, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4713
|
+
2050 && c && m && hn(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
|
|
4693
4714
|
4096 && f && p();
|
|
4694
4715
|
}, [
|
|
4695
4716
|
a,
|
|
@@ -4697,8 +4718,8 @@ function yo(e, t, r) {
|
|
|
4697
4718
|
n,
|
|
4698
4719
|
v,
|
|
4699
4720
|
S,
|
|
4700
|
-
|
|
4701
|
-
|
|
4721
|
+
A,
|
|
4722
|
+
E,
|
|
4702
4723
|
s,
|
|
4703
4724
|
l,
|
|
4704
4725
|
u,
|
|
@@ -4707,17 +4728,17 @@ function yo(e, t, r) {
|
|
|
4707
4728
|
f,
|
|
4708
4729
|
o,
|
|
4709
4730
|
i,
|
|
4710
|
-
|
|
4731
|
+
Tr
|
|
4711
4732
|
];
|
|
4712
4733
|
}
|
|
4713
|
-
class
|
|
4734
|
+
class wr extends sn {
|
|
4714
4735
|
constructor(t) {
|
|
4715
|
-
super(),
|
|
4736
|
+
super(), nn(
|
|
4716
4737
|
this,
|
|
4717
4738
|
t,
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4739
|
+
_o,
|
|
4740
|
+
vo,
|
|
4741
|
+
Ut,
|
|
4721
4742
|
{
|
|
4722
4743
|
modaltext: 0,
|
|
4723
4744
|
modalsource: 7,
|
|
@@ -4727,106 +4748,106 @@ class Er extends on {
|
|
|
4727
4748
|
mbsource: 11,
|
|
4728
4749
|
translationurl: 12
|
|
4729
4750
|
},
|
|
4730
|
-
|
|
4751
|
+
bo
|
|
4731
4752
|
);
|
|
4732
4753
|
}
|
|
4733
4754
|
get modaltext() {
|
|
4734
4755
|
return this.$$.ctx[0];
|
|
4735
4756
|
}
|
|
4736
4757
|
set modaltext(t) {
|
|
4737
|
-
this.$$set({ modaltext: t }),
|
|
4758
|
+
this.$$set({ modaltext: t }), N();
|
|
4738
4759
|
}
|
|
4739
4760
|
get modalsource() {
|
|
4740
4761
|
return this.$$.ctx[7];
|
|
4741
4762
|
}
|
|
4742
4763
|
set modalsource(t) {
|
|
4743
|
-
this.$$set({ modalsource: t }),
|
|
4764
|
+
this.$$set({ modalsource: t }), N();
|
|
4744
4765
|
}
|
|
4745
4766
|
get lang() {
|
|
4746
4767
|
return this.$$.ctx[8];
|
|
4747
4768
|
}
|
|
4748
4769
|
set lang(t) {
|
|
4749
|
-
this.$$set({ lang: t }),
|
|
4770
|
+
this.$$set({ lang: t }), N();
|
|
4750
4771
|
}
|
|
4751
4772
|
get clientstyling() {
|
|
4752
4773
|
return this.$$.ctx[9];
|
|
4753
4774
|
}
|
|
4754
4775
|
set clientstyling(t) {
|
|
4755
|
-
this.$$set({ clientstyling: t }),
|
|
4776
|
+
this.$$set({ clientstyling: t }), N();
|
|
4756
4777
|
}
|
|
4757
4778
|
get clientstylingurl() {
|
|
4758
4779
|
return this.$$.ctx[10];
|
|
4759
4780
|
}
|
|
4760
4781
|
set clientstylingurl(t) {
|
|
4761
|
-
this.$$set({ clientstylingurl: t }),
|
|
4782
|
+
this.$$set({ clientstylingurl: t }), N();
|
|
4762
4783
|
}
|
|
4763
4784
|
get mbsource() {
|
|
4764
4785
|
return this.$$.ctx[11];
|
|
4765
4786
|
}
|
|
4766
4787
|
set mbsource(t) {
|
|
4767
|
-
this.$$set({ mbsource: t }),
|
|
4788
|
+
this.$$set({ mbsource: t }), N();
|
|
4768
4789
|
}
|
|
4769
4790
|
get translationurl() {
|
|
4770
4791
|
return this.$$.ctx[12];
|
|
4771
4792
|
}
|
|
4772
4793
|
set translationurl(t) {
|
|
4773
|
-
this.$$set({ translationurl: t }),
|
|
4794
|
+
this.$$set({ translationurl: t }), N();
|
|
4774
4795
|
}
|
|
4775
4796
|
}
|
|
4776
|
-
|
|
4777
|
-
const
|
|
4797
|
+
on(wr, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
|
|
4798
|
+
const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4778
4799
|
__proto__: null,
|
|
4779
|
-
default:
|
|
4800
|
+
default: wr
|
|
4780
4801
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4781
4802
|
export {
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4803
|
+
Y as $,
|
|
4804
|
+
je as A,
|
|
4805
|
+
Eo as B,
|
|
4806
|
+
Co as C,
|
|
4807
|
+
we as D,
|
|
4808
|
+
Ho as E,
|
|
4809
|
+
ve as F,
|
|
4810
|
+
un as G,
|
|
4811
|
+
ln as H,
|
|
4812
|
+
hn as I,
|
|
4813
|
+
on as J,
|
|
4814
|
+
fo as K,
|
|
4815
|
+
Hr as L,
|
|
4816
|
+
Yr as M,
|
|
4817
|
+
Xt as N,
|
|
4818
|
+
Po as O,
|
|
4819
|
+
Pr as P,
|
|
4820
|
+
Oo as Q,
|
|
4821
|
+
Lr as R,
|
|
4822
|
+
sn as S,
|
|
4823
|
+
Ir as T,
|
|
4824
|
+
Or as U,
|
|
4825
|
+
Bo as V,
|
|
4826
|
+
Io as W,
|
|
4827
|
+
yr as a,
|
|
4828
|
+
$r as b,
|
|
4829
|
+
Le as c,
|
|
4830
|
+
ae as d,
|
|
4831
|
+
So as e,
|
|
4832
|
+
N as f,
|
|
4833
|
+
H as g,
|
|
4834
|
+
at as h,
|
|
4835
|
+
nn as i,
|
|
4836
|
+
P as j,
|
|
4837
|
+
I as k,
|
|
4838
|
+
Oe as l,
|
|
4839
|
+
Pe as m,
|
|
4840
|
+
L as n,
|
|
4841
|
+
ft as o,
|
|
4842
|
+
wo as p,
|
|
4843
|
+
Br as q,
|
|
4823
4844
|
U as r,
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4845
|
+
Ut as s,
|
|
4846
|
+
re as t,
|
|
4847
|
+
mo as u,
|
|
4848
|
+
zr as v,
|
|
4849
|
+
Lo as w,
|
|
4850
|
+
xo as x,
|
|
4851
|
+
Ao as y,
|
|
4852
|
+
To as z
|
|
4832
4853
|
};
|