@everymatrix/player-account-gaming-limits-group-edit 1.77.18 → 1.77.20
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-CcypFBEg.js → PlayerAccountGamingLimitsConfirmationModal-CrmIvMJ8.js} +798 -841
- package/components/{PlayerAccountGamingLimitsConfirmationModal-knclXBnO.js → PlayerAccountGamingLimitsConfirmationModal-D4mH7E4U.js} +813 -856
- package/components/PlayerAccountGamingLimitsConfirmationModal-DVwN2sdw.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-MbTaZ7rO.cjs → PlayerAccountGamingLimitsGroupEdit-B8sQh4MQ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CWy0VE0e.js → PlayerAccountGamingLimitsGroupEdit-CQ-G-c8E.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-Bj64v19X.js → PlayerAccountGamingLimitsGroupEdit-Doco4KK_.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPopup-BhlhhddY.cjs → PlayerAccountGamingLimitsPopup-CQ-38g45.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-55-IEbr5.js → PlayerAccountGamingLimitsPopup-CeYp3O9s.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BMYkuQKt.js → PlayerAccountGamingLimitsPopup-D1gDQwNI.js} +1 -1
- package/components/{PlayerAccountModal-DD4JQR4E.cjs → PlayerAccountModal-BA2MIx1o.cjs} +1 -1
- package/components/{PlayerAccountModal-CHdyT8ES.js → PlayerAccountModal-BqiXnPNm.js} +1 -1
- package/components/{PlayerAccountModal-Fz0yTv_L.js → PlayerAccountModal-IFfzwuvK.js} +1 -1
- package/es2015/player-account-gaming-limits-group-edit.cjs +1 -1
- package/es2015/player-account-gaming-limits-group-edit.js +1 -1
- package/esnext/player-account-gaming-limits-group-edit.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-DPlt6mFk.cjs +0 -21
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
function
|
|
1
|
+
function O() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const xr = (t) => t;
|
|
4
|
+
function Er(t, e) {
|
|
5
5
|
for (const r in e)
|
|
6
6
|
t[r] = e[r];
|
|
7
7
|
return (
|
|
@@ -9,46 +9,46 @@ function Cr(t, e) {
|
|
|
9
9
|
t
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Ie(t) {
|
|
13
13
|
return t();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function se() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function U(t) {
|
|
19
|
-
t.forEach(
|
|
19
|
+
t.forEach(Ie);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Et(t) {
|
|
22
22
|
return typeof t == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Me(t, e) {
|
|
25
25
|
return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function wr(t) {
|
|
28
28
|
return Object.keys(t).length === 0;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function Ne(t, ...e) {
|
|
31
31
|
if (t == null) {
|
|
32
32
|
for (const n of e)
|
|
33
33
|
n(void 0);
|
|
34
|
-
return
|
|
34
|
+
return O;
|
|
35
35
|
}
|
|
36
36
|
const r = t.subscribe(...e);
|
|
37
37
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
t.$$.on_destroy.push(
|
|
39
|
+
function Sr(t, e, r) {
|
|
40
|
+
t.$$.on_destroy.push(Ne(e, r));
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Tr(t, e, r, n) {
|
|
43
43
|
if (t) {
|
|
44
|
-
const i =
|
|
44
|
+
const i = $e(t, e, r, n);
|
|
45
45
|
return t[0](i);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
return t[1] && n ?
|
|
48
|
+
function $e(t, e, r, n) {
|
|
49
|
+
return t[1] && n ? Er(r.ctx.slice(), t[1](n(e))) : r.ctx;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Hr(t, e, r, n) {
|
|
52
52
|
if (t[2] && n) {
|
|
53
53
|
const i = t[2](n(r));
|
|
54
54
|
if (e.dirty === void 0)
|
|
@@ -63,13 +63,13 @@ function Or(t, e, r, n) {
|
|
|
63
63
|
}
|
|
64
64
|
return e.dirty;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Cr(t, e, r, n, i, o) {
|
|
67
67
|
if (i) {
|
|
68
|
-
const a =
|
|
68
|
+
const a = $e(e, r, n, o);
|
|
69
69
|
t.p(a, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Br(t) {
|
|
73
73
|
if (t.ctx.length > 32) {
|
|
74
74
|
const e = [], r = t.ctx.length / 32;
|
|
75
75
|
for (let n = 0; n < r; n++)
|
|
@@ -78,17 +78,17 @@ function Ir(t) {
|
|
|
78
78
|
}
|
|
79
79
|
return -1;
|
|
80
80
|
}
|
|
81
|
-
const
|
|
82
|
-
let
|
|
81
|
+
const Re = typeof window < "u";
|
|
82
|
+
let Ar = Re ? () => window.performance.now() : () => Date.now(), te = Re ? (t) => requestAnimationFrame(t) : O;
|
|
83
83
|
const X = /* @__PURE__ */ new Set();
|
|
84
|
-
function
|
|
84
|
+
function Ge(t) {
|
|
85
85
|
X.forEach((e) => {
|
|
86
86
|
e.c(t) || (X.delete(e), e.f());
|
|
87
|
-
}), X.size !== 0 &&
|
|
87
|
+
}), X.size !== 0 && te(Ge);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Pr(t) {
|
|
90
90
|
let e;
|
|
91
|
-
return X.size === 0 &&
|
|
91
|
+
return X.size === 0 && te(Ge), {
|
|
92
92
|
promise: new Promise((r) => {
|
|
93
93
|
X.add(e = { c: t, f: r });
|
|
94
94
|
}),
|
|
@@ -100,14 +100,14 @@ function Nr(t) {
|
|
|
100
100
|
function P(t, e) {
|
|
101
101
|
t.appendChild(e);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
const n =
|
|
103
|
+
function Lr(t, e, r) {
|
|
104
|
+
const n = ee(t);
|
|
105
105
|
if (!n.getElementById(e)) {
|
|
106
106
|
const i = I("style");
|
|
107
|
-
i.id = e, i.textContent = r,
|
|
107
|
+
i.id = e, i.textContent = r, Ue(n, i);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function ee(t) {
|
|
111
111
|
if (!t)
|
|
112
112
|
return document;
|
|
113
113
|
const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
@@ -117,46 +117,46 @@ function se(t) {
|
|
|
117
117
|
e
|
|
118
118
|
) : t.ownerDocument;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Or(t) {
|
|
121
121
|
const e = I("style");
|
|
122
|
-
return e.textContent = "/* empty */",
|
|
122
|
+
return e.textContent = "/* empty */", Ue(ee(t), e), e.sheet;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Ue(t, e) {
|
|
125
125
|
return P(
|
|
126
126
|
/** @type {Document} */
|
|
127
127
|
t.head || t,
|
|
128
128
|
e
|
|
129
129
|
), e.sheet;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function re(t, e, r) {
|
|
132
132
|
t.insertBefore(e, r || null);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function ut(t) {
|
|
135
135
|
t.parentNode && t.parentNode.removeChild(t);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function bo(t, e) {
|
|
138
138
|
for (let r = 0; r < t.length; r += 1)
|
|
139
139
|
t[r] && t[r].d(e);
|
|
140
140
|
}
|
|
141
141
|
function I(t) {
|
|
142
142
|
return document.createElement(t);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function ae(t) {
|
|
145
145
|
return document.createElementNS("http://www.w3.org/2000/svg", t);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function nt(t) {
|
|
148
148
|
return document.createTextNode(t);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
return
|
|
150
|
+
function Bt() {
|
|
151
|
+
return nt(" ");
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
return
|
|
153
|
+
function go() {
|
|
154
|
+
return nt("");
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function At(t, e, r, n) {
|
|
157
157
|
return t.addEventListener(e, r, n), () => t.removeEventListener(e, r, n);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function yo(t) {
|
|
160
160
|
return function(e) {
|
|
161
161
|
return e.preventDefault(), t.call(this, e);
|
|
162
162
|
};
|
|
@@ -164,24 +164,24 @@ function wo(t) {
|
|
|
164
164
|
function H(t, e, r) {
|
|
165
165
|
r == null ? t.removeAttribute(e) : t.getAttribute(e) !== r && t.setAttribute(e, r);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function vo(t, e, r) {
|
|
168
168
|
const n = e.toLowerCase();
|
|
169
169
|
n in t ? t[n] = typeof t[n] == "boolean" && r === "" ? !0 : r : e in t ? t[e] = typeof t[e] == "boolean" && r === "" ? !0 : r : H(t, e, r);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function _o(t) {
|
|
172
172
|
return t === "" ? null : +t;
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Ir(t) {
|
|
175
175
|
return Array.from(t.childNodes);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Pt(t, e) {
|
|
178
178
|
e = "" + e, t.data !== e && (t.data = /** @type {string} */
|
|
179
179
|
e);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function xo(t, e) {
|
|
182
182
|
t.value = e ?? "";
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Eo(t, e, r) {
|
|
185
185
|
for (let n = 0; n < t.options.length; n += 1) {
|
|
186
186
|
const i = t.options[n];
|
|
187
187
|
if (i.__value === e) {
|
|
@@ -191,14 +191,14 @@ function Co(t, e, r) {
|
|
|
191
191
|
}
|
|
192
192
|
(!r || e !== void 0) && (t.selectedIndex = -1);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function wo(t) {
|
|
195
195
|
const e = t.querySelector(":checked");
|
|
196
196
|
return e && e.__value;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Mr(t, e, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
199
199
|
return new CustomEvent(t, { detail: e, bubbles: r, cancelable: n });
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function Nr(t) {
|
|
202
202
|
const e = {};
|
|
203
203
|
return t.childNodes.forEach(
|
|
204
204
|
/** @param {Element} node */
|
|
@@ -209,17 +209,17 @@ function Dr(t) {
|
|
|
209
209
|
}
|
|
210
210
|
const gt = /* @__PURE__ */ new Map();
|
|
211
211
|
let yt = 0;
|
|
212
|
-
function
|
|
212
|
+
function $r(t) {
|
|
213
213
|
let e = 5381, r = t.length;
|
|
214
214
|
for (; r--; )
|
|
215
215
|
e = (e << 5) - e ^ t.charCodeAt(r);
|
|
216
216
|
return e >>> 0;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
219
|
-
const r = { stylesheet:
|
|
218
|
+
function Rr(t, e) {
|
|
219
|
+
const r = { stylesheet: Or(e), rules: {} };
|
|
220
220
|
return gt.set(t, r), r;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function ue(t, e, 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 me(t, e, 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_${$r(h)}_${s}`, f = ee(t), { stylesheet: p, rules: m } = gt.get(f) || Rr(f, t);
|
|
233
233
|
m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
|
|
234
234
|
const d = t.style.animation || "";
|
|
235
235
|
return t.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, yt += 1, c;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function Gr(t, e) {
|
|
238
238
|
const r = (t.style.animation || "").split(", "), n = r.filter(
|
|
239
239
|
e ? (o) => o.indexOf(e) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
240
240
|
// remove all Svelte animations
|
|
241
241
|
), i = r.length - n.length;
|
|
242
|
-
i && (t.style.animation = n.join(", "), yt -= i, yt ||
|
|
242
|
+
i && (t.style.animation = n.join(", "), yt -= i, yt || Ur());
|
|
243
243
|
}
|
|
244
|
-
function
|
|
245
|
-
|
|
244
|
+
function Ur() {
|
|
245
|
+
te(() => {
|
|
246
246
|
yt || (gt.forEach((t) => {
|
|
247
247
|
const { ownerNode: e } = t.stylesheet;
|
|
248
|
-
e &&
|
|
248
|
+
e && ut(e);
|
|
249
249
|
}), gt.clear());
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
let
|
|
253
|
-
function
|
|
254
|
-
|
|
252
|
+
let ot;
|
|
253
|
+
function it(t) {
|
|
254
|
+
ot = t;
|
|
255
255
|
}
|
|
256
|
-
function
|
|
257
|
-
if (!
|
|
256
|
+
function Dr() {
|
|
257
|
+
if (!ot)
|
|
258
258
|
throw new Error("Function called outside component initialization");
|
|
259
|
-
return
|
|
259
|
+
return ot;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
|
|
261
|
+
function Fr(t) {
|
|
262
|
+
Dr().$$.on_mount.push(t);
|
|
263
263
|
}
|
|
264
|
-
const V = [],
|
|
264
|
+
const V = [], Ut = [];
|
|
265
265
|
let z = [];
|
|
266
|
-
const
|
|
267
|
-
let
|
|
268
|
-
function
|
|
269
|
-
|
|
266
|
+
const le = [], jr = /* @__PURE__ */ Promise.resolve();
|
|
267
|
+
let Dt = !1;
|
|
268
|
+
function kr() {
|
|
269
|
+
Dt || (Dt = !0, jr.then(M));
|
|
270
270
|
}
|
|
271
271
|
function vt(t) {
|
|
272
272
|
z.push(t);
|
|
273
273
|
}
|
|
274
|
-
const
|
|
274
|
+
const Lt = /* @__PURE__ */ new Set();
|
|
275
275
|
let j = 0;
|
|
276
|
-
function
|
|
276
|
+
function M() {
|
|
277
277
|
if (j !== 0)
|
|
278
278
|
return;
|
|
279
|
-
const t =
|
|
279
|
+
const t = ot;
|
|
280
280
|
do {
|
|
281
281
|
try {
|
|
282
282
|
for (; j < V.length; ) {
|
|
283
283
|
const e = V[j];
|
|
284
|
-
j++,
|
|
284
|
+
j++, it(e), Vr(e.$$);
|
|
285
285
|
}
|
|
286
286
|
} catch (e) {
|
|
287
287
|
throw V.length = 0, j = 0, e;
|
|
288
288
|
}
|
|
289
|
-
for (
|
|
290
|
-
|
|
289
|
+
for (it(null), V.length = 0, j = 0; Ut.length; )
|
|
290
|
+
Ut.pop()();
|
|
291
291
|
for (let e = 0; e < z.length; e += 1) {
|
|
292
292
|
const r = z[e];
|
|
293
|
-
|
|
293
|
+
Lt.has(r) || (Lt.add(r), r());
|
|
294
294
|
}
|
|
295
295
|
z.length = 0;
|
|
296
296
|
} while (V.length);
|
|
297
|
-
for (;
|
|
298
|
-
|
|
299
|
-
|
|
297
|
+
for (; le.length; )
|
|
298
|
+
le.pop()();
|
|
299
|
+
Dt = !1, Lt.clear(), it(t);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function Vr(t) {
|
|
302
302
|
if (t.fragment !== null) {
|
|
303
303
|
t.update(), U(t.before_update);
|
|
304
304
|
const e = t.dirty;
|
|
305
305
|
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(vt);
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function Xr(t) {
|
|
309
309
|
const e = [], r = [];
|
|
310
310
|
z.forEach((n) => t.indexOf(n) === -1 ? e.push(n) : r.push(n)), r.forEach((n) => n()), z = e;
|
|
311
311
|
}
|
|
312
|
-
let
|
|
313
|
-
function
|
|
314
|
-
return
|
|
315
|
-
|
|
316
|
-
})),
|
|
312
|
+
let et;
|
|
313
|
+
function zr() {
|
|
314
|
+
return et || (et = Promise.resolve(), et.then(() => {
|
|
315
|
+
et = null;
|
|
316
|
+
})), et;
|
|
317
317
|
}
|
|
318
|
-
function
|
|
319
|
-
t.dispatchEvent(
|
|
318
|
+
function Ot(t, e, r) {
|
|
319
|
+
t.dispatchEvent(Mr(`${e ? "intro" : "outro"}${r}`));
|
|
320
320
|
}
|
|
321
321
|
const ft = /* @__PURE__ */ new Set();
|
|
322
|
-
let
|
|
323
|
-
function
|
|
324
|
-
|
|
322
|
+
let N;
|
|
323
|
+
function So() {
|
|
324
|
+
N = {
|
|
325
325
|
r: 0,
|
|
326
326
|
c: [],
|
|
327
|
-
p:
|
|
327
|
+
p: N
|
|
328
328
|
// parent group
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
function
|
|
332
|
-
|
|
331
|
+
function To() {
|
|
332
|
+
N.r || U(N.c), N = N.p;
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function De(t, e) {
|
|
335
335
|
t && t.i && (ft.delete(t), t.i(e));
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function Wr(t, e, r, n) {
|
|
338
338
|
if (t && t.o) {
|
|
339
339
|
if (ft.has(t))
|
|
340
340
|
return;
|
|
341
|
-
ft.add(t),
|
|
341
|
+
ft.add(t), N.c.push(() => {
|
|
342
342
|
ft.delete(t), n && (r && t.d(1), n());
|
|
343
343
|
}), t.o(e);
|
|
344
344
|
} else
|
|
345
345
|
n && n();
|
|
346
346
|
}
|
|
347
|
-
const
|
|
348
|
-
function
|
|
347
|
+
const Zr = { duration: 0 };
|
|
348
|
+
function Ho(t, e, r, n) {
|
|
349
349
|
let o = e(t, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
|
|
350
350
|
function c() {
|
|
351
|
-
u &&
|
|
351
|
+
u && Gr(t, u);
|
|
352
352
|
}
|
|
353
353
|
function f(m, d) {
|
|
354
354
|
const v = (
|
|
@@ -369,16 +369,16 @@ function Oo(t, e, r, n) {
|
|
|
369
369
|
const {
|
|
370
370
|
delay: d = 0,
|
|
371
371
|
duration: v = 300,
|
|
372
|
-
easing: T =
|
|
373
|
-
tick: C =
|
|
372
|
+
easing: T = xr,
|
|
373
|
+
tick: C = O,
|
|
374
374
|
css: S
|
|
375
|
-
} = o ||
|
|
376
|
-
start:
|
|
375
|
+
} = o || Zr, B = {
|
|
376
|
+
start: Ar() + d,
|
|
377
377
|
b: m
|
|
378
378
|
};
|
|
379
|
-
m || (B.group =
|
|
380
|
-
t.inert, t.inert = !0)), s || l ? l = B : (S && (c(), u =
|
|
381
|
-
if (l &&
|
|
379
|
+
m || (B.group = N, N.r += 1), "inert" in t && (m ? h !== void 0 && (t.inert = h) : (h = /** @type {HTMLElement} */
|
|
380
|
+
t.inert, t.inert = !0)), s || l ? l = B : (S && (c(), u = ue(t, a, m, v, d, T, S)), m && C(0, 1), s = f(B, v), vt(() => Ot(t, m, "start")), Pr((w) => {
|
|
381
|
+
if (l && w > l.start && (s = f(l, v), l = null, Ot(t, s.b, "start"), S && (c(), u = ue(
|
|
382
382
|
t,
|
|
383
383
|
a,
|
|
384
384
|
s.b,
|
|
@@ -387,11 +387,11 @@ function Oo(t, e, 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 (w >= s.end)
|
|
391
|
+
C(a = s.b, 1 - a), Ot(t, s.b, "end"), l || (s.b ? c() : --s.group.r || U(s.group.c)), s = null;
|
|
392
|
+
else if (w >= s.start) {
|
|
393
|
+
const x = w - s.start;
|
|
394
|
+
a = s.a + s.d * T(x / s.duration), C(a, 1 - a);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
return !!(s || l);
|
|
@@ -399,7 +399,7 @@ function Oo(t, e, r, n) {
|
|
|
399
399
|
}
|
|
400
400
|
return {
|
|
401
401
|
run(m) {
|
|
402
|
-
|
|
402
|
+
Et(o) ? zr().then(() => {
|
|
403
403
|
o = o({ direction: m ? "in" : "out" }), p(m);
|
|
404
404
|
}) : p(m);
|
|
405
405
|
},
|
|
@@ -408,34 +408,34 @@ function Oo(t, e, r, n) {
|
|
|
408
408
|
}
|
|
409
409
|
};
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function Co(t) {
|
|
412
412
|
return t?.length !== void 0 ? t : Array.from(t);
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function Qr(t, e, r) {
|
|
415
415
|
const { fragment: n, after_update: i } = t.$$;
|
|
416
416
|
n && n.m(e, r), vt(() => {
|
|
417
|
-
const o = t.$$.on_mount.map(
|
|
417
|
+
const o = t.$$.on_mount.map(Ie).filter(Et);
|
|
418
418
|
t.$$.on_destroy ? t.$$.on_destroy.push(...o) : U(o), t.$$.on_mount = [];
|
|
419
419
|
}), i.forEach(vt);
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function Jr(t, e) {
|
|
422
422
|
const r = t.$$;
|
|
423
|
-
r.fragment !== null && (
|
|
423
|
+
r.fragment !== null && (Xr(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(e), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
424
424
|
}
|
|
425
|
-
function
|
|
426
|
-
t.$$.dirty[0] === -1 && (V.push(t),
|
|
425
|
+
function qr(t, e) {
|
|
426
|
+
t.$$.dirty[0] === -1 && (V.push(t), kr(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
427
427
|
}
|
|
428
|
-
function
|
|
429
|
-
const l =
|
|
430
|
-
|
|
428
|
+
function Yr(t, e, r, n, i, o, a = null, s = [-1]) {
|
|
429
|
+
const l = ot;
|
|
430
|
+
it(t);
|
|
431
431
|
const u = t.$$ = {
|
|
432
432
|
fragment: null,
|
|
433
433
|
ctx: [],
|
|
434
434
|
// state
|
|
435
435
|
props: o,
|
|
436
|
-
update:
|
|
436
|
+
update: O,
|
|
437
437
|
not_equal: i,
|
|
438
|
-
bound:
|
|
438
|
+
bound: se(),
|
|
439
439
|
// lifecycle
|
|
440
440
|
on_mount: [],
|
|
441
441
|
on_destroy: [],
|
|
@@ -444,7 +444,7 @@ function nn(t, e, r, n, i, o, a = null, s = [-1]) {
|
|
|
444
444
|
after_update: [],
|
|
445
445
|
context: new Map(e.context || (l ? l.$$.context : [])),
|
|
446
446
|
// everything else
|
|
447
|
-
callbacks:
|
|
447
|
+
callbacks: se(),
|
|
448
448
|
dirty: s,
|
|
449
449
|
skip_bound: !1,
|
|
450
450
|
root: e.target || l.$$.root
|
|
@@ -453,19 +453,19 @@ function nn(t, e, r, n, i, o, a = null, s = [-1]) {
|
|
|
453
453
|
let h = !1;
|
|
454
454
|
if (u.ctx = r ? r(t, e.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 && qr(t, c)), f;
|
|
457
457
|
}) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, e.target) {
|
|
458
458
|
if (e.hydrate) {
|
|
459
|
-
const c =
|
|
460
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
459
|
+
const c = Ir(e.target);
|
|
460
|
+
u.fragment && u.fragment.l(c), c.forEach(ut);
|
|
461
461
|
} else
|
|
462
462
|
u.fragment && u.fragment.c();
|
|
463
|
-
e.intro &&
|
|
463
|
+
e.intro && De(t.$$.fragment), Qr(t, e.target, e.anchor), M();
|
|
464
464
|
}
|
|
465
|
-
|
|
465
|
+
it(l);
|
|
466
466
|
}
|
|
467
|
-
let
|
|
468
|
-
typeof HTMLElement == "function" && (
|
|
467
|
+
let Fe;
|
|
468
|
+
typeof HTMLElement == "function" && (Fe = class extends HTMLElement {
|
|
469
469
|
/** The Svelte component constructor */
|
|
470
470
|
$$ctor;
|
|
471
471
|
/** Slots */
|
|
@@ -514,17 +514,17 @@ typeof HTMLElement == "function" && (ze = class extends HTMLElement {
|
|
|
514
514
|
* @param {HTMLElement} [anchor]
|
|
515
515
|
*/
|
|
516
516
|
m: function(l, u) {
|
|
517
|
-
|
|
517
|
+
re(l, o, u);
|
|
518
518
|
},
|
|
519
519
|
d: function(l) {
|
|
520
|
-
l &&
|
|
520
|
+
l && ut(o);
|
|
521
521
|
}
|
|
522
522
|
};
|
|
523
523
|
};
|
|
524
524
|
};
|
|
525
525
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
526
526
|
return;
|
|
527
|
-
const e = {}, r =
|
|
527
|
+
const e = {}, r = Nr(this);
|
|
528
528
|
for (const i of this.$$s)
|
|
529
529
|
i in r && (e[i] = [t(i)]);
|
|
530
530
|
for (const i of this.attributes) {
|
|
@@ -611,8 +611,8 @@ function mt(t, e, r, n) {
|
|
|
611
611
|
return e;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
function
|
|
615
|
-
let a = class extends
|
|
614
|
+
function Kr(t, e, r, n, i, o) {
|
|
615
|
+
let a = class extends Fe {
|
|
616
616
|
constructor() {
|
|
617
617
|
super(t, r, i), this.$$p_d = e;
|
|
618
618
|
}
|
|
@@ -640,7 +640,7 @@ function on(t, e, r, n, i, o) {
|
|
|
640
640
|
}), t.element = /** @type {any} */
|
|
641
641
|
a, a;
|
|
642
642
|
}
|
|
643
|
-
class
|
|
643
|
+
class tn {
|
|
644
644
|
/**
|
|
645
645
|
* ### PRIVATE API
|
|
646
646
|
*
|
|
@@ -659,7 +659,7 @@ class sn {
|
|
|
659
659
|
$$set = void 0;
|
|
660
660
|
/** @returns {void} */
|
|
661
661
|
$destroy() {
|
|
662
|
-
|
|
662
|
+
Jr(this, 1), this.$destroy = O;
|
|
663
663
|
}
|
|
664
664
|
/**
|
|
665
665
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -668,8 +668,8 @@ class sn {
|
|
|
668
668
|
* @returns {() => void}
|
|
669
669
|
*/
|
|
670
670
|
$on(e, r) {
|
|
671
|
-
if (!
|
|
672
|
-
return
|
|
671
|
+
if (!Et(r))
|
|
672
|
+
return O;
|
|
673
673
|
const n = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
|
|
674
674
|
return n.push(r), () => {
|
|
675
675
|
const i = n.indexOf(r);
|
|
@@ -681,11 +681,11 @@ class sn {
|
|
|
681
681
|
* @returns {void}
|
|
682
682
|
*/
|
|
683
683
|
$set(e) {
|
|
684
|
-
this.$$set && !
|
|
684
|
+
this.$$set && !wr(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
|
-
const
|
|
688
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
687
|
+
const en = "4";
|
|
688
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
|
|
689
689
|
/*! *****************************************************************************
|
|
690
690
|
Copyright (c) Microsoft Corporation.
|
|
691
691
|
|
|
@@ -700,24 +700,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
700
700
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
701
701
|
PERFORMANCE OF THIS SOFTWARE.
|
|
702
702
|
***************************************************************************** */
|
|
703
|
-
var
|
|
704
|
-
return
|
|
703
|
+
var Ft = function(t, e) {
|
|
704
|
+
return Ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
705
705
|
r.__proto__ = n;
|
|
706
706
|
} || function(r, n) {
|
|
707
707
|
for (var i in n)
|
|
708
708
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
709
|
-
},
|
|
709
|
+
}, Ft(t, e);
|
|
710
710
|
};
|
|
711
|
-
function
|
|
711
|
+
function R(t, e) {
|
|
712
712
|
if (typeof e != "function" && e !== null)
|
|
713
713
|
throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
|
|
714
|
-
|
|
714
|
+
Ft(t, e);
|
|
715
715
|
function r() {
|
|
716
716
|
this.constructor = t;
|
|
717
717
|
}
|
|
718
718
|
t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r());
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
var _ = function() {
|
|
721
|
+
return _ = Object.assign || function(e) {
|
|
722
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
723
|
+
r = arguments[n];
|
|
724
|
+
for (var o in r)
|
|
725
|
+
Object.prototype.hasOwnProperty.call(r, o) && (e[o] = r[o]);
|
|
726
|
+
}
|
|
727
|
+
return e;
|
|
728
|
+
}, _.apply(this, arguments);
|
|
729
|
+
};
|
|
730
|
+
function rn(t, e) {
|
|
731
|
+
var r = {};
|
|
732
|
+
for (var n in t)
|
|
733
|
+
Object.prototype.hasOwnProperty.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
|
|
734
|
+
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
735
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(t); i < n.length; i++)
|
|
736
|
+
e.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[i]) && (r[n[i]] = t[n[i]]);
|
|
737
|
+
return r;
|
|
738
|
+
}
|
|
739
|
+
function jt(t) {
|
|
721
740
|
var e = typeof Symbol == "function" && Symbol.iterator, r = e && t[e], n = 0;
|
|
722
741
|
if (r)
|
|
723
742
|
return r.call(t);
|
|
@@ -729,7 +748,7 @@ function Xt(t) {
|
|
|
729
748
|
};
|
|
730
749
|
throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
731
750
|
}
|
|
732
|
-
function
|
|
751
|
+
function kt(t, e) {
|
|
733
752
|
var r = typeof Symbol == "function" && t[Symbol.iterator];
|
|
734
753
|
if (!r)
|
|
735
754
|
return t;
|
|
@@ -749,22 +768,22 @@ function zt(t, e) {
|
|
|
749
768
|
}
|
|
750
769
|
return o;
|
|
751
770
|
}
|
|
752
|
-
function
|
|
753
|
-
if (arguments.length === 2)
|
|
771
|
+
function W(t, e, r) {
|
|
772
|
+
if (r || arguments.length === 2)
|
|
754
773
|
for (var n = 0, i = e.length, o; n < i; n++)
|
|
755
774
|
(o || !(n in e)) && (o || (o = Array.prototype.slice.call(e, 0, n)), o[n] = e[n]);
|
|
756
775
|
return t.concat(o || e);
|
|
757
776
|
}
|
|
758
|
-
function
|
|
777
|
+
function $(t) {
|
|
759
778
|
return typeof t == "function";
|
|
760
779
|
}
|
|
761
|
-
function
|
|
780
|
+
function je(t) {
|
|
762
781
|
var e = function(n) {
|
|
763
782
|
Error.call(n), n.stack = new Error().stack;
|
|
764
783
|
}, r = t(e);
|
|
765
784
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
766
785
|
}
|
|
767
|
-
var
|
|
786
|
+
var It = je(function(t) {
|
|
768
787
|
return function(r) {
|
|
769
788
|
t(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
770
789
|
` + r.map(function(n, i) {
|
|
@@ -773,13 +792,13 @@ var Nt = We(function(t) {
|
|
|
773
792
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
774
793
|
};
|
|
775
794
|
});
|
|
776
|
-
function
|
|
795
|
+
function Vt(t, e) {
|
|
777
796
|
if (t) {
|
|
778
797
|
var r = t.indexOf(e);
|
|
779
798
|
0 <= r && t.splice(r, 1);
|
|
780
799
|
}
|
|
781
800
|
}
|
|
782
|
-
var
|
|
801
|
+
var wt = function() {
|
|
783
802
|
function t(e) {
|
|
784
803
|
this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
785
804
|
}
|
|
@@ -791,7 +810,7 @@ var St = function() {
|
|
|
791
810
|
if (a)
|
|
792
811
|
if (this._parentage = null, Array.isArray(a))
|
|
793
812
|
try {
|
|
794
|
-
for (var s =
|
|
813
|
+
for (var s = jt(a), l = s.next(); !l.done; l = s.next()) {
|
|
795
814
|
var u = l.value;
|
|
796
815
|
u.remove(this);
|
|
797
816
|
}
|
|
@@ -808,22 +827,22 @@ var St = function() {
|
|
|
808
827
|
else
|
|
809
828
|
a.remove(this);
|
|
810
829
|
var h = this.initialTeardown;
|
|
811
|
-
if (
|
|
830
|
+
if ($(h))
|
|
812
831
|
try {
|
|
813
832
|
h();
|
|
814
833
|
} catch (d) {
|
|
815
|
-
o = d instanceof
|
|
834
|
+
o = d instanceof It ? d.errors : [d];
|
|
816
835
|
}
|
|
817
836
|
var c = this._finalizers;
|
|
818
837
|
if (c) {
|
|
819
838
|
this._finalizers = null;
|
|
820
839
|
try {
|
|
821
|
-
for (var f =
|
|
840
|
+
for (var f = jt(c), p = f.next(); !p.done; p = f.next()) {
|
|
822
841
|
var m = p.value;
|
|
823
842
|
try {
|
|
824
|
-
|
|
843
|
+
he(m);
|
|
825
844
|
} catch (d) {
|
|
826
|
-
o = o ?? [], d instanceof
|
|
845
|
+
o = o ?? [], d instanceof It ? o = W(W([], kt(o)), kt(d.errors)) : o.push(d);
|
|
827
846
|
}
|
|
828
847
|
}
|
|
829
848
|
} catch (d) {
|
|
@@ -838,13 +857,13 @@ var St = function() {
|
|
|
838
857
|
}
|
|
839
858
|
}
|
|
840
859
|
if (o)
|
|
841
|
-
throw new
|
|
860
|
+
throw new It(o);
|
|
842
861
|
}
|
|
843
862
|
}, t.prototype.add = function(e) {
|
|
844
863
|
var r;
|
|
845
864
|
if (e && e !== this)
|
|
846
865
|
if (this.closed)
|
|
847
|
-
|
|
866
|
+
he(e);
|
|
848
867
|
else {
|
|
849
868
|
if (e instanceof t) {
|
|
850
869
|
if (e.closed || e._hasParent(this))
|
|
@@ -861,52 +880,52 @@ var St = function() {
|
|
|
861
880
|
this._parentage = Array.isArray(r) ? (r.push(e), r) : r ? [r, e] : e;
|
|
862
881
|
}, t.prototype._removeParent = function(e) {
|
|
863
882
|
var r = this._parentage;
|
|
864
|
-
r === e ? this._parentage = null : Array.isArray(r) &&
|
|
883
|
+
r === e ? this._parentage = null : Array.isArray(r) && Vt(r, e);
|
|
865
884
|
}, t.prototype.remove = function(e) {
|
|
866
885
|
var r = this._finalizers;
|
|
867
|
-
r &&
|
|
886
|
+
r && Vt(r, e), e instanceof t && e._removeParent(this);
|
|
868
887
|
}, t.EMPTY = function() {
|
|
869
888
|
var e = new t();
|
|
870
889
|
return e.closed = !0, e;
|
|
871
890
|
}(), t;
|
|
872
|
-
}(),
|
|
873
|
-
function
|
|
874
|
-
return t instanceof
|
|
891
|
+
}(), ke = wt.EMPTY;
|
|
892
|
+
function Ve(t) {
|
|
893
|
+
return t instanceof wt || t && "closed" in t && $(t.remove) && $(t.add) && $(t.unsubscribe);
|
|
875
894
|
}
|
|
876
|
-
function
|
|
877
|
-
|
|
895
|
+
function he(t) {
|
|
896
|
+
$(t) ? t() : t.unsubscribe();
|
|
878
897
|
}
|
|
879
|
-
var
|
|
898
|
+
var nn = {
|
|
880
899
|
Promise: void 0
|
|
881
|
-
},
|
|
900
|
+
}, on = {
|
|
882
901
|
setTimeout: function(t, e) {
|
|
883
902
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
884
903
|
r[n - 2] = arguments[n];
|
|
885
|
-
return setTimeout.apply(void 0,
|
|
904
|
+
return setTimeout.apply(void 0, W([t, e], kt(r)));
|
|
886
905
|
},
|
|
887
906
|
clearTimeout: function(t) {
|
|
888
907
|
return clearTimeout(t);
|
|
889
908
|
},
|
|
890
909
|
delegate: void 0
|
|
891
910
|
};
|
|
892
|
-
function
|
|
893
|
-
|
|
911
|
+
function sn(t) {
|
|
912
|
+
on.setTimeout(function() {
|
|
894
913
|
throw t;
|
|
895
914
|
});
|
|
896
915
|
}
|
|
897
|
-
function
|
|
916
|
+
function ce() {
|
|
898
917
|
}
|
|
899
918
|
function pt(t) {
|
|
900
919
|
t();
|
|
901
920
|
}
|
|
902
|
-
var
|
|
903
|
-
|
|
921
|
+
var Xe = function(t) {
|
|
922
|
+
R(e, t);
|
|
904
923
|
function e(r) {
|
|
905
924
|
var n = t.call(this) || this;
|
|
906
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
925
|
+
return n.isStopped = !1, r ? (n.destination = r, Ve(r) && r.add(n)) : n.destination = ln, n;
|
|
907
926
|
}
|
|
908
927
|
return e.create = function(r, n, i) {
|
|
909
|
-
return new
|
|
928
|
+
return new Xt(r, n, i);
|
|
910
929
|
}, e.prototype.next = function(r) {
|
|
911
930
|
this.isStopped || this._next(r);
|
|
912
931
|
}, e.prototype.error = function(r) {
|
|
@@ -930,7 +949,7 @@ var Je = function(t) {
|
|
|
930
949
|
this.unsubscribe();
|
|
931
950
|
}
|
|
932
951
|
}, e;
|
|
933
|
-
}(
|
|
952
|
+
}(wt), an = function() {
|
|
934
953
|
function t(e) {
|
|
935
954
|
this.partialObserver = e;
|
|
936
955
|
}
|
|
@@ -961,43 +980,43 @@ var Je = function(t) {
|
|
|
961
980
|
ht(r);
|
|
962
981
|
}
|
|
963
982
|
}, t;
|
|
964
|
-
}(),
|
|
965
|
-
|
|
983
|
+
}(), Xt = function(t) {
|
|
984
|
+
R(e, t);
|
|
966
985
|
function e(r, n, i) {
|
|
967
986
|
var o = t.call(this) || this, a;
|
|
968
|
-
return
|
|
987
|
+
return $(r) || !r ? a = {
|
|
969
988
|
next: r ?? void 0,
|
|
970
989
|
error: n ?? void 0,
|
|
971
990
|
complete: i ?? void 0
|
|
972
|
-
} : a = r, o.destination = new
|
|
991
|
+
} : a = r, o.destination = new an(a), o;
|
|
973
992
|
}
|
|
974
993
|
return e;
|
|
975
|
-
}(
|
|
994
|
+
}(Xe);
|
|
976
995
|
function ht(t) {
|
|
977
|
-
|
|
996
|
+
sn(t);
|
|
978
997
|
}
|
|
979
|
-
function
|
|
998
|
+
function un(t) {
|
|
980
999
|
throw t;
|
|
981
1000
|
}
|
|
982
|
-
var
|
|
1001
|
+
var ln = {
|
|
983
1002
|
closed: !0,
|
|
984
|
-
next:
|
|
985
|
-
error:
|
|
986
|
-
complete:
|
|
987
|
-
},
|
|
1003
|
+
next: ce,
|
|
1004
|
+
error: un,
|
|
1005
|
+
complete: ce
|
|
1006
|
+
}, hn = function() {
|
|
988
1007
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
989
1008
|
}();
|
|
990
|
-
function
|
|
1009
|
+
function cn(t) {
|
|
991
1010
|
return t;
|
|
992
1011
|
}
|
|
993
|
-
function
|
|
994
|
-
return t.length === 0 ?
|
|
1012
|
+
function fn(t) {
|
|
1013
|
+
return t.length === 0 ? cn : t.length === 1 ? t[0] : function(r) {
|
|
995
1014
|
return t.reduce(function(n, i) {
|
|
996
1015
|
return i(n);
|
|
997
1016
|
}, r);
|
|
998
1017
|
};
|
|
999
1018
|
}
|
|
1000
|
-
var
|
|
1019
|
+
var fe = function() {
|
|
1001
1020
|
function t(e) {
|
|
1002
1021
|
e && (this._subscribe = e);
|
|
1003
1022
|
}
|
|
@@ -1005,7 +1024,7 @@ var ge = function() {
|
|
|
1005
1024
|
var r = new t();
|
|
1006
1025
|
return r.source = this, r.operator = e, r;
|
|
1007
1026
|
}, t.prototype.subscribe = function(e, r, n) {
|
|
1008
|
-
var i = this, o =
|
|
1027
|
+
var i = this, o = pn(e) ? e : new Xt(e, r, n);
|
|
1009
1028
|
return pt(function() {
|
|
1010
1029
|
var a = i, s = a.operator, l = a.source;
|
|
1011
1030
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1018,8 +1037,8 @@ var ge = function() {
|
|
|
1018
1037
|
}
|
|
1019
1038
|
}, t.prototype.forEach = function(e, r) {
|
|
1020
1039
|
var n = this;
|
|
1021
|
-
return r =
|
|
1022
|
-
var a = new
|
|
1040
|
+
return r = me(r), new r(function(i, o) {
|
|
1041
|
+
var a = new Xt({
|
|
1023
1042
|
next: function(s) {
|
|
1024
1043
|
try {
|
|
1025
1044
|
e(s);
|
|
@@ -1035,15 +1054,15 @@ var ge = function() {
|
|
|
1035
1054
|
}, t.prototype._subscribe = function(e) {
|
|
1036
1055
|
var r;
|
|
1037
1056
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(e);
|
|
1038
|
-
}, t.prototype[
|
|
1057
|
+
}, t.prototype[hn] = function() {
|
|
1039
1058
|
return this;
|
|
1040
1059
|
}, t.prototype.pipe = function() {
|
|
1041
1060
|
for (var e = [], r = 0; r < arguments.length; r++)
|
|
1042
1061
|
e[r] = arguments[r];
|
|
1043
|
-
return
|
|
1062
|
+
return fn(e)(this);
|
|
1044
1063
|
}, t.prototype.toPromise = function(e) {
|
|
1045
1064
|
var r = this;
|
|
1046
|
-
return e =
|
|
1065
|
+
return e = me(e), new e(function(n, i) {
|
|
1047
1066
|
var o;
|
|
1048
1067
|
r.subscribe(function(a) {
|
|
1049
1068
|
return o = a;
|
|
@@ -1057,32 +1076,32 @@ var ge = function() {
|
|
|
1057
1076
|
return new t(e);
|
|
1058
1077
|
}, t;
|
|
1059
1078
|
}();
|
|
1060
|
-
function
|
|
1079
|
+
function me(t) {
|
|
1061
1080
|
var e;
|
|
1062
|
-
return (e = t ??
|
|
1081
|
+
return (e = t ?? nn.Promise) !== null && e !== void 0 ? e : Promise;
|
|
1063
1082
|
}
|
|
1064
|
-
function
|
|
1065
|
-
return t &&
|
|
1083
|
+
function mn(t) {
|
|
1084
|
+
return t && $(t.next) && $(t.error) && $(t.complete);
|
|
1066
1085
|
}
|
|
1067
|
-
function
|
|
1068
|
-
return t && t instanceof
|
|
1086
|
+
function pn(t) {
|
|
1087
|
+
return t && t instanceof Xe || mn(t) && Ve(t);
|
|
1069
1088
|
}
|
|
1070
|
-
var
|
|
1089
|
+
var dn = je(function(t) {
|
|
1071
1090
|
return function() {
|
|
1072
1091
|
t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1073
1092
|
};
|
|
1074
|
-
}),
|
|
1075
|
-
|
|
1093
|
+
}), ze = function(t) {
|
|
1094
|
+
R(e, t);
|
|
1076
1095
|
function e() {
|
|
1077
1096
|
var r = t.call(this) || this;
|
|
1078
1097
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1079
1098
|
}
|
|
1080
1099
|
return e.prototype.lift = function(r) {
|
|
1081
|
-
var n = new
|
|
1100
|
+
var n = new pe(this, this);
|
|
1082
1101
|
return n.operator = r, n;
|
|
1083
1102
|
}, e.prototype._throwIfClosed = function() {
|
|
1084
1103
|
if (this.closed)
|
|
1085
|
-
throw new
|
|
1104
|
+
throw new dn();
|
|
1086
1105
|
}, e.prototype.next = function(r) {
|
|
1087
1106
|
var n = this;
|
|
1088
1107
|
pt(function() {
|
|
@@ -1090,7 +1109,7 @@ var vn = We(function(t) {
|
|
|
1090
1109
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1091
1110
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1092
1111
|
try {
|
|
1093
|
-
for (var a =
|
|
1112
|
+
for (var a = jt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1094
1113
|
var l = s.value;
|
|
1095
1114
|
l.next(r);
|
|
1096
1115
|
}
|
|
@@ -1139,20 +1158,20 @@ var vn = We(function(t) {
|
|
|
1139
1158
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1140
1159
|
}, e.prototype._innerSubscribe = function(r) {
|
|
1141
1160
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1142
|
-
return o || a ?
|
|
1143
|
-
n.currentObservers = null,
|
|
1161
|
+
return o || a ? ke : (this.currentObservers = null, s.push(r), new wt(function() {
|
|
1162
|
+
n.currentObservers = null, Vt(s, r);
|
|
1144
1163
|
}));
|
|
1145
1164
|
}, e.prototype._checkFinalizedStatuses = function(r) {
|
|
1146
1165
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1147
1166
|
i ? r.error(o) : a && r.complete();
|
|
1148
1167
|
}, e.prototype.asObservable = function() {
|
|
1149
|
-
var r = new
|
|
1168
|
+
var r = new fe();
|
|
1150
1169
|
return r.source = this, r;
|
|
1151
1170
|
}, e.create = function(r, n) {
|
|
1152
|
-
return new
|
|
1171
|
+
return new pe(r, n);
|
|
1153
1172
|
}, e;
|
|
1154
|
-
}(
|
|
1155
|
-
|
|
1173
|
+
}(fe), pe = function(t) {
|
|
1174
|
+
R(e, t);
|
|
1156
1175
|
function e(r, n) {
|
|
1157
1176
|
var i = t.call(this) || this;
|
|
1158
1177
|
return i.destination = r, i.source = n, i;
|
|
@@ -1168,17 +1187,17 @@ var vn = We(function(t) {
|
|
|
1168
1187
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1169
1188
|
}, e.prototype._subscribe = function(r) {
|
|
1170
1189
|
var n, i;
|
|
1171
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1190
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ke;
|
|
1172
1191
|
}, e;
|
|
1173
|
-
}(
|
|
1192
|
+
}(ze), We = {
|
|
1174
1193
|
now: function() {
|
|
1175
|
-
return (
|
|
1194
|
+
return (We.delegate || Date).now();
|
|
1176
1195
|
},
|
|
1177
1196
|
delegate: void 0
|
|
1178
|
-
},
|
|
1179
|
-
|
|
1197
|
+
}, bn = function(t) {
|
|
1198
|
+
R(e, t);
|
|
1180
1199
|
function e(r, n, i) {
|
|
1181
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1200
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = We);
|
|
1182
1201
|
var o = t.call(this) || this;
|
|
1183
1202
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1184
1203
|
}
|
|
@@ -1198,24 +1217,24 @@ var vn = We(function(t) {
|
|
|
1198
1217
|
u && o.splice(0, u + 1);
|
|
1199
1218
|
}
|
|
1200
1219
|
}, e;
|
|
1201
|
-
}(
|
|
1202
|
-
const
|
|
1203
|
-
if (
|
|
1204
|
-
const r = new
|
|
1205
|
-
|
|
1220
|
+
}(ze);
|
|
1221
|
+
const de = [], be = {}, gn = (t, e = 0) => {
|
|
1222
|
+
if (de.indexOf(t) == -1) {
|
|
1223
|
+
const r = new bn(e);
|
|
1224
|
+
be[t] = r, de.push(t);
|
|
1206
1225
|
}
|
|
1207
|
-
return
|
|
1226
|
+
return be[t];
|
|
1208
1227
|
}, k = [];
|
|
1209
|
-
function
|
|
1228
|
+
function yn(t, e) {
|
|
1210
1229
|
return {
|
|
1211
|
-
subscribe:
|
|
1230
|
+
subscribe: St(t, e).subscribe
|
|
1212
1231
|
};
|
|
1213
1232
|
}
|
|
1214
|
-
function
|
|
1233
|
+
function St(t, e = O) {
|
|
1215
1234
|
let r;
|
|
1216
1235
|
const n = /* @__PURE__ */ new Set();
|
|
1217
1236
|
function i(s) {
|
|
1218
|
-
if (
|
|
1237
|
+
if (Me(t, s) && (t = s, r)) {
|
|
1219
1238
|
const l = !k.length;
|
|
1220
1239
|
for (const u of n)
|
|
1221
1240
|
u[1](), k.push(u, t);
|
|
@@ -1229,31 +1248,31 @@ function Tt(t, e = L) {
|
|
|
1229
1248
|
function o(s) {
|
|
1230
1249
|
i(s(t));
|
|
1231
1250
|
}
|
|
1232
|
-
function a(s, l =
|
|
1251
|
+
function a(s, l = O) {
|
|
1233
1252
|
const u = [s, l];
|
|
1234
|
-
return n.add(u), n.size === 1 && (r = e(i, o) ||
|
|
1253
|
+
return n.add(u), n.size === 1 && (r = e(i, o) || O), s(t), () => {
|
|
1235
1254
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1236
1255
|
};
|
|
1237
1256
|
}
|
|
1238
1257
|
return { set: i, update: o, subscribe: a };
|
|
1239
1258
|
}
|
|
1240
|
-
function
|
|
1259
|
+
function Y(t, e, r) {
|
|
1241
1260
|
const n = !Array.isArray(t), i = n ? [t] : t;
|
|
1242
1261
|
if (!i.every(Boolean))
|
|
1243
1262
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1244
1263
|
const o = e.length < 2;
|
|
1245
|
-
return
|
|
1264
|
+
return yn(r, (a, s) => {
|
|
1246
1265
|
let l = !1;
|
|
1247
1266
|
const u = [];
|
|
1248
|
-
let h = 0, c =
|
|
1267
|
+
let h = 0, c = O;
|
|
1249
1268
|
const f = () => {
|
|
1250
1269
|
if (h)
|
|
1251
1270
|
return;
|
|
1252
1271
|
c();
|
|
1253
1272
|
const m = e(n ? u[0] : u, a, s);
|
|
1254
|
-
o ? a(m) : c =
|
|
1273
|
+
o ? a(m) : c = Et(m) ? m : O;
|
|
1255
1274
|
}, p = i.map(
|
|
1256
|
-
(m, d) =>
|
|
1275
|
+
(m, d) => Ne(
|
|
1257
1276
|
m,
|
|
1258
1277
|
(v) => {
|
|
1259
1278
|
u[d] = v, h &= ~(1 << d), l && f();
|
|
@@ -1268,153 +1287,111 @@ function q(t, e, r) {
|
|
|
1268
1287
|
};
|
|
1269
1288
|
});
|
|
1270
1289
|
}
|
|
1271
|
-
function
|
|
1290
|
+
function vn(t) {
|
|
1272
1291
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
1273
1292
|
}
|
|
1274
|
-
var
|
|
1275
|
-
return
|
|
1293
|
+
var _n = function(e) {
|
|
1294
|
+
return xn(e) && !En(e);
|
|
1276
1295
|
};
|
|
1277
|
-
function
|
|
1296
|
+
function xn(t) {
|
|
1278
1297
|
return !!t && typeof t == "object";
|
|
1279
1298
|
}
|
|
1280
|
-
function
|
|
1299
|
+
function En(t) {
|
|
1281
1300
|
var e = Object.prototype.toString.call(t);
|
|
1282
|
-
return e === "[object RegExp]" || e === "[object Date]" ||
|
|
1301
|
+
return e === "[object RegExp]" || e === "[object Date]" || Tn(t);
|
|
1283
1302
|
}
|
|
1284
|
-
var
|
|
1285
|
-
function
|
|
1286
|
-
return t.$$typeof ===
|
|
1303
|
+
var wn = typeof Symbol == "function" && Symbol.for, Sn = wn ? Symbol.for("react.element") : 60103;
|
|
1304
|
+
function Tn(t) {
|
|
1305
|
+
return t.$$typeof === Sn;
|
|
1287
1306
|
}
|
|
1288
|
-
function
|
|
1307
|
+
function Hn(t) {
|
|
1289
1308
|
return Array.isArray(t) ? [] : {};
|
|
1290
1309
|
}
|
|
1291
|
-
function
|
|
1292
|
-
return e.clone !== !1 && e.isMergeableObject(t) ?
|
|
1310
|
+
function st(t, e) {
|
|
1311
|
+
return e.clone !== !1 && e.isMergeableObject(t) ? Z(Hn(t), t, e) : t;
|
|
1293
1312
|
}
|
|
1294
|
-
function
|
|
1313
|
+
function Cn(t, e, r) {
|
|
1295
1314
|
return t.concat(e).map(function(n) {
|
|
1296
|
-
return
|
|
1315
|
+
return st(n, r);
|
|
1297
1316
|
});
|
|
1298
1317
|
}
|
|
1299
|
-
function
|
|
1318
|
+
function Bn(t, e) {
|
|
1300
1319
|
if (!e.customMerge)
|
|
1301
|
-
return
|
|
1320
|
+
return Z;
|
|
1302
1321
|
var r = e.customMerge(t);
|
|
1303
|
-
return typeof r == "function" ? r :
|
|
1322
|
+
return typeof r == "function" ? r : Z;
|
|
1304
1323
|
}
|
|
1305
|
-
function
|
|
1324
|
+
function An(t) {
|
|
1306
1325
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(e) {
|
|
1307
1326
|
return Object.propertyIsEnumerable.call(t, e);
|
|
1308
1327
|
}) : [];
|
|
1309
1328
|
}
|
|
1310
|
-
function
|
|
1311
|
-
return Object.keys(t).concat(
|
|
1329
|
+
function ge(t) {
|
|
1330
|
+
return Object.keys(t).concat(An(t));
|
|
1312
1331
|
}
|
|
1313
|
-
function
|
|
1332
|
+
function Ze(t, e) {
|
|
1314
1333
|
try {
|
|
1315
1334
|
return e in t;
|
|
1316
1335
|
} catch {
|
|
1317
1336
|
return !1;
|
|
1318
1337
|
}
|
|
1319
1338
|
}
|
|
1320
|
-
function
|
|
1321
|
-
return
|
|
1339
|
+
function Pn(t, e) {
|
|
1340
|
+
return Ze(t, e) && !(Object.hasOwnProperty.call(t, e) && Object.propertyIsEnumerable.call(t, e));
|
|
1322
1341
|
}
|
|
1323
|
-
function
|
|
1342
|
+
function Ln(t, e, r) {
|
|
1324
1343
|
var n = {};
|
|
1325
|
-
return r.isMergeableObject(t) &&
|
|
1326
|
-
n[i] =
|
|
1327
|
-
}),
|
|
1328
|
-
|
|
1344
|
+
return r.isMergeableObject(t) && ge(t).forEach(function(i) {
|
|
1345
|
+
n[i] = st(t[i], r);
|
|
1346
|
+
}), ge(e).forEach(function(i) {
|
|
1347
|
+
Pn(t, i) || (Ze(t, i) && r.isMergeableObject(e[i]) ? n[i] = Bn(i, r)(t[i], e[i], r) : n[i] = st(e[i], r));
|
|
1329
1348
|
}), n;
|
|
1330
1349
|
}
|
|
1331
|
-
function
|
|
1332
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1350
|
+
function Z(t, e, r) {
|
|
1351
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Cn, r.isMergeableObject = r.isMergeableObject || _n, r.cloneUnlessOtherwiseSpecified = st;
|
|
1333
1352
|
var n = Array.isArray(e), i = Array.isArray(t), o = n === i;
|
|
1334
|
-
return o ? n ? r.arrayMerge(t, e, r) :
|
|
1353
|
+
return o ? n ? r.arrayMerge(t, e, r) : Ln(t, e, r) : st(e, r);
|
|
1335
1354
|
}
|
|
1336
|
-
|
|
1355
|
+
Z.all = function(e, r) {
|
|
1337
1356
|
if (!Array.isArray(e))
|
|
1338
1357
|
throw new Error("first argument should be an array");
|
|
1339
1358
|
return e.reduce(function(n, i) {
|
|
1340
|
-
return
|
|
1359
|
+
return Z(n, i, r);
|
|
1341
1360
|
}, {});
|
|
1342
1361
|
};
|
|
1343
|
-
var
|
|
1344
|
-
const
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
r.__proto__ = n;
|
|
1348
|
-
} || function(r, n) {
|
|
1349
|
-
for (var i in n)
|
|
1350
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1351
|
-
}, Jt(t, e);
|
|
1352
|
-
};
|
|
1353
|
-
function Ht(t, e) {
|
|
1354
|
-
if (typeof e != "function" && e !== null)
|
|
1355
|
-
throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
|
|
1356
|
-
Jt(t, e);
|
|
1357
|
-
function r() {
|
|
1358
|
-
this.constructor = t;
|
|
1359
|
-
}
|
|
1360
|
-
t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r());
|
|
1361
|
-
}
|
|
1362
|
-
var M = function() {
|
|
1363
|
-
return M = Object.assign || function(e) {
|
|
1364
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1365
|
-
r = arguments[n];
|
|
1366
|
-
for (var o in r)
|
|
1367
|
-
Object.prototype.hasOwnProperty.call(r, o) && (e[o] = r[o]);
|
|
1368
|
-
}
|
|
1369
|
-
return e;
|
|
1370
|
-
}, M.apply(this, arguments);
|
|
1371
|
-
};
|
|
1372
|
-
function Un(t, e) {
|
|
1373
|
-
var r = {};
|
|
1374
|
-
for (var n in t)
|
|
1375
|
-
Object.prototype.hasOwnProperty.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
|
|
1376
|
-
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1377
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(t); i < n.length; i++)
|
|
1378
|
-
e.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[i]) && (r[n[i]] = t[n[i]]);
|
|
1379
|
-
return r;
|
|
1380
|
-
}
|
|
1381
|
-
function $t(t, e, r) {
|
|
1382
|
-
if (r || arguments.length === 2)
|
|
1383
|
-
for (var n = 0, i = e.length, o; n < i; n++)
|
|
1384
|
-
(o || !(n in e)) && (o || (o = Array.prototype.slice.call(e, 0, n)), o[n] = e[n]);
|
|
1385
|
-
return t.concat(o || Array.prototype.slice.call(e));
|
|
1386
|
-
}
|
|
1387
|
-
function Rt(t, e) {
|
|
1388
|
-
var r = e && e.cache ? e.cache : zn, n = e && e.serializer ? e.serializer : Vn, i = e && e.strategy ? e.strategy : jn;
|
|
1362
|
+
var On = Z, In = On;
|
|
1363
|
+
const Mn = /* @__PURE__ */ vn(In);
|
|
1364
|
+
function Mt(t, e) {
|
|
1365
|
+
var r = e && e.cache ? e.cache : Fn, n = e && e.serializer ? e.serializer : Un, i = e && e.strategy ? e.strategy : Rn;
|
|
1389
1366
|
return i(t, {
|
|
1390
1367
|
cache: r,
|
|
1391
1368
|
serializer: n
|
|
1392
1369
|
});
|
|
1393
1370
|
}
|
|
1394
|
-
function
|
|
1371
|
+
function Nn(t) {
|
|
1395
1372
|
return t == null || typeof t == "number" || typeof t == "boolean";
|
|
1396
1373
|
}
|
|
1397
|
-
function
|
|
1398
|
-
var i =
|
|
1374
|
+
function $n(t, e, r, n) {
|
|
1375
|
+
var i = Nn(n) ? n : r(n), o = e.get(i);
|
|
1399
1376
|
return typeof o > "u" && (o = t.call(this, n), e.set(i, o)), o;
|
|
1400
1377
|
}
|
|
1401
|
-
function
|
|
1378
|
+
function Qe(t, e, r) {
|
|
1402
1379
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = e.get(i);
|
|
1403
1380
|
return typeof o > "u" && (o = t.apply(this, n), e.set(i, o)), o;
|
|
1404
1381
|
}
|
|
1405
|
-
function
|
|
1382
|
+
function Je(t, e, r, n, i) {
|
|
1406
1383
|
return r.bind(e, t, n, i);
|
|
1407
1384
|
}
|
|
1408
|
-
function
|
|
1409
|
-
var r = t.length === 1 ?
|
|
1410
|
-
return
|
|
1385
|
+
function Rn(t, e) {
|
|
1386
|
+
var r = t.length === 1 ? $n : Qe;
|
|
1387
|
+
return Je(t, this, r, e.cache.create(), e.serializer);
|
|
1411
1388
|
}
|
|
1412
|
-
function
|
|
1413
|
-
return
|
|
1389
|
+
function Gn(t, e) {
|
|
1390
|
+
return Je(t, this, Qe, e.cache.create(), e.serializer);
|
|
1414
1391
|
}
|
|
1415
|
-
var
|
|
1392
|
+
var Un = function() {
|
|
1416
1393
|
return JSON.stringify(arguments);
|
|
1417
|
-
},
|
|
1394
|
+
}, Dn = (
|
|
1418
1395
|
/** @class */
|
|
1419
1396
|
function() {
|
|
1420
1397
|
function t() {
|
|
@@ -1426,71 +1403,61 @@ var Vn = function() {
|
|
|
1426
1403
|
this.cache[e] = r;
|
|
1427
1404
|
}, t;
|
|
1428
1405
|
}()
|
|
1429
|
-
),
|
|
1406
|
+
), Fn = {
|
|
1430
1407
|
create: function() {
|
|
1431
|
-
return new
|
|
1408
|
+
return new Dn();
|
|
1432
1409
|
}
|
|
1433
|
-
},
|
|
1434
|
-
variadic:
|
|
1435
|
-
},
|
|
1436
|
-
return _t = Object.assign || function(e) {
|
|
1437
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1438
|
-
r = arguments[n];
|
|
1439
|
-
for (var o in r)
|
|
1440
|
-
Object.prototype.hasOwnProperty.call(r, o) && (e[o] = r[o]);
|
|
1441
|
-
}
|
|
1442
|
-
return e;
|
|
1443
|
-
}, _t.apply(this, arguments);
|
|
1444
|
-
};
|
|
1445
|
-
var b;
|
|
1410
|
+
}, Nt = {
|
|
1411
|
+
variadic: Gn
|
|
1412
|
+
}, b;
|
|
1446
1413
|
(function(t) {
|
|
1447
1414
|
t[t.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", t[t.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", t[t.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", t[t.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", t[t.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", t[t.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", t[t.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", t[t.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", t[t.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", t[t.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", t[t.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", t[t.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", t[t.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", t[t.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", t[t.INVALID_TAG = 23] = "INVALID_TAG", t[t.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", t[t.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", t[t.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1448
1415
|
})(b || (b = {}));
|
|
1449
|
-
var
|
|
1416
|
+
var E;
|
|
1450
1417
|
(function(t) {
|
|
1451
1418
|
t[t.literal = 0] = "literal", t[t.argument = 1] = "argument", t[t.number = 2] = "number", t[t.date = 3] = "date", t[t.time = 4] = "time", t[t.select = 5] = "select", t[t.plural = 6] = "plural", t[t.pound = 7] = "pound", t[t.tag = 8] = "tag";
|
|
1452
|
-
})(
|
|
1453
|
-
var
|
|
1419
|
+
})(E || (E = {}));
|
|
1420
|
+
var Q;
|
|
1454
1421
|
(function(t) {
|
|
1455
1422
|
t[t.number = 0] = "number", t[t.dateTime = 1] = "dateTime";
|
|
1456
|
-
})(
|
|
1457
|
-
function
|
|
1458
|
-
return t.type ===
|
|
1423
|
+
})(Q || (Q = {}));
|
|
1424
|
+
function ye(t) {
|
|
1425
|
+
return t.type === E.literal;
|
|
1459
1426
|
}
|
|
1460
|
-
function
|
|
1461
|
-
return t.type ===
|
|
1427
|
+
function jn(t) {
|
|
1428
|
+
return t.type === E.argument;
|
|
1462
1429
|
}
|
|
1463
|
-
function
|
|
1464
|
-
return t.type ===
|
|
1430
|
+
function qe(t) {
|
|
1431
|
+
return t.type === E.number;
|
|
1465
1432
|
}
|
|
1466
|
-
function
|
|
1467
|
-
return t.type ===
|
|
1433
|
+
function Ye(t) {
|
|
1434
|
+
return t.type === E.date;
|
|
1468
1435
|
}
|
|
1469
|
-
function
|
|
1470
|
-
return t.type ===
|
|
1436
|
+
function Ke(t) {
|
|
1437
|
+
return t.type === E.time;
|
|
1471
1438
|
}
|
|
1472
|
-
function
|
|
1473
|
-
return t.type ===
|
|
1439
|
+
function tr(t) {
|
|
1440
|
+
return t.type === E.select;
|
|
1474
1441
|
}
|
|
1475
|
-
function
|
|
1476
|
-
return t.type ===
|
|
1442
|
+
function er(t) {
|
|
1443
|
+
return t.type === E.plural;
|
|
1477
1444
|
}
|
|
1478
|
-
function
|
|
1479
|
-
return t.type ===
|
|
1445
|
+
function kn(t) {
|
|
1446
|
+
return t.type === E.pound;
|
|
1480
1447
|
}
|
|
1481
|
-
function
|
|
1482
|
-
return t.type ===
|
|
1448
|
+
function rr(t) {
|
|
1449
|
+
return t.type === E.tag;
|
|
1483
1450
|
}
|
|
1484
|
-
function
|
|
1485
|
-
return !!(t && typeof t == "object" && t.type ===
|
|
1451
|
+
function nr(t) {
|
|
1452
|
+
return !!(t && typeof t == "object" && t.type === Q.number);
|
|
1486
1453
|
}
|
|
1487
|
-
function
|
|
1488
|
-
return !!(t && typeof t == "object" && t.type ===
|
|
1454
|
+
function zt(t) {
|
|
1455
|
+
return !!(t && typeof t == "object" && t.type === Q.dateTime);
|
|
1489
1456
|
}
|
|
1490
|
-
var
|
|
1491
|
-
function
|
|
1457
|
+
var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vn = /(?:[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;
|
|
1458
|
+
function Xn(t) {
|
|
1492
1459
|
var e = {};
|
|
1493
|
-
return t.replace(
|
|
1460
|
+
return t.replace(Vn, function(r) {
|
|
1494
1461
|
var n = r.length;
|
|
1495
1462
|
switch (r[0]) {
|
|
1496
1463
|
case "G":
|
|
@@ -1579,21 +1546,11 @@ function Jn(t) {
|
|
|
1579
1546
|
return "";
|
|
1580
1547
|
}), e;
|
|
1581
1548
|
}
|
|
1582
|
-
var
|
|
1583
|
-
|
|
1584
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1585
|
-
r = arguments[n];
|
|
1586
|
-
for (var o in r)
|
|
1587
|
-
Object.prototype.hasOwnProperty.call(r, o) && (e[o] = r[o]);
|
|
1588
|
-
}
|
|
1589
|
-
return e;
|
|
1590
|
-
}, w.apply(this, arguments);
|
|
1591
|
-
};
|
|
1592
|
-
var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1593
|
-
function Yn(t) {
|
|
1549
|
+
var zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1550
|
+
function Wn(t) {
|
|
1594
1551
|
if (t.length === 0)
|
|
1595
1552
|
throw new Error("Number skeleton cannot be empty");
|
|
1596
|
-
for (var e = t.split(
|
|
1553
|
+
for (var e = t.split(zn).filter(function(f) {
|
|
1597
1554
|
return f.length > 0;
|
|
1598
1555
|
}), r = [], n = 0, i = e; n < i.length; n++) {
|
|
1599
1556
|
var o = i[n], a = o.split("/");
|
|
@@ -1608,17 +1565,17 @@ function Yn(t) {
|
|
|
1608
1565
|
}
|
|
1609
1566
|
return r;
|
|
1610
1567
|
}
|
|
1611
|
-
function
|
|
1568
|
+
function Zn(t) {
|
|
1612
1569
|
return t.replace(/^(.*?)-/, "");
|
|
1613
1570
|
}
|
|
1614
|
-
var
|
|
1615
|
-
function
|
|
1571
|
+
var ve = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Qn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
|
|
1572
|
+
function _e(t) {
|
|
1616
1573
|
var e = {};
|
|
1617
|
-
return t[t.length - 1] === "r" ? e.roundingPriority = "morePrecision" : t[t.length - 1] === "s" && (e.roundingPriority = "lessPrecision"), t.replace(
|
|
1574
|
+
return t[t.length - 1] === "r" ? e.roundingPriority = "morePrecision" : t[t.length - 1] === "s" && (e.roundingPriority = "lessPrecision"), t.replace(or, function(r, n, i) {
|
|
1618
1575
|
return typeof i != "string" ? (e.minimumSignificantDigits = n.length, e.maximumSignificantDigits = n.length) : i === "+" ? e.minimumSignificantDigits = n.length : n[0] === "#" ? e.maximumSignificantDigits = n.length : (e.minimumSignificantDigits = n.length, e.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1619
1576
|
}), e;
|
|
1620
1577
|
}
|
|
1621
|
-
function
|
|
1578
|
+
function ar(t) {
|
|
1622
1579
|
switch (t) {
|
|
1623
1580
|
case "sign-auto":
|
|
1624
1581
|
return {
|
|
@@ -1658,7 +1615,7 @@ function fr(t) {
|
|
|
1658
1615
|
};
|
|
1659
1616
|
}
|
|
1660
1617
|
}
|
|
1661
|
-
function
|
|
1618
|
+
function Jn(t) {
|
|
1662
1619
|
var e;
|
|
1663
1620
|
if (t[0] === "E" && t[1] === "E" ? (e = {
|
|
1664
1621
|
notation: "engineering"
|
|
@@ -1666,17 +1623,17 @@ function ei(t) {
|
|
|
1666
1623
|
notation: "scientific"
|
|
1667
1624
|
}, t = t.slice(1)), e) {
|
|
1668
1625
|
var r = t.slice(0, 2);
|
|
1669
|
-
if (r === "+!" ? (e.signDisplay = "always", t = t.slice(2)) : r === "+?" && (e.signDisplay = "exceptZero", t = t.slice(2)), !
|
|
1626
|
+
if (r === "+!" ? (e.signDisplay = "always", t = t.slice(2)) : r === "+?" && (e.signDisplay = "exceptZero", t = t.slice(2)), !sr.test(t))
|
|
1670
1627
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1671
1628
|
e.minimumIntegerDigits = t.length;
|
|
1672
1629
|
}
|
|
1673
1630
|
return e;
|
|
1674
1631
|
}
|
|
1675
|
-
function
|
|
1676
|
-
var e = {}, r =
|
|
1632
|
+
function xe(t) {
|
|
1633
|
+
var e = {}, r = ar(t);
|
|
1677
1634
|
return r || e;
|
|
1678
1635
|
}
|
|
1679
|
-
function
|
|
1636
|
+
function qn(t) {
|
|
1680
1637
|
for (var e = {}, r = 0, n = t; r < n.length; r++) {
|
|
1681
1638
|
var i = n[r];
|
|
1682
1639
|
switch (i.stem) {
|
|
@@ -1700,7 +1657,7 @@ function ri(t) {
|
|
|
1700
1657
|
continue;
|
|
1701
1658
|
case "measure-unit":
|
|
1702
1659
|
case "unit":
|
|
1703
|
-
e.style = "unit", e.unit =
|
|
1660
|
+
e.style = "unit", e.unit = Zn(i.options[0]);
|
|
1704
1661
|
continue;
|
|
1705
1662
|
case "compact-short":
|
|
1706
1663
|
case "K":
|
|
@@ -1711,13 +1668,13 @@ function ri(t) {
|
|
|
1711
1668
|
e.notation = "compact", e.compactDisplay = "long";
|
|
1712
1669
|
continue;
|
|
1713
1670
|
case "scientific":
|
|
1714
|
-
e =
|
|
1715
|
-
return
|
|
1671
|
+
e = _(_(_({}, e), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1672
|
+
return _(_({}, l), xe(u));
|
|
1716
1673
|
}, {}));
|
|
1717
1674
|
continue;
|
|
1718
1675
|
case "engineering":
|
|
1719
|
-
e =
|
|
1720
|
-
return
|
|
1676
|
+
e = _(_(_({}, e), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1677
|
+
return _(_({}, l), xe(u));
|
|
1721
1678
|
}, {}));
|
|
1722
1679
|
continue;
|
|
1723
1680
|
case "notation-simple":
|
|
@@ -1762,7 +1719,7 @@ function ri(t) {
|
|
|
1762
1719
|
case "integer-width":
|
|
1763
1720
|
if (i.options.length > 1)
|
|
1764
1721
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1765
|
-
i.options[0].replace(
|
|
1722
|
+
i.options[0].replace(Qn, function(l, u, h, c, f, p) {
|
|
1766
1723
|
if (u)
|
|
1767
1724
|
e.minimumIntegerDigits = h.length;
|
|
1768
1725
|
else {
|
|
@@ -1775,28 +1732,28 @@ function ri(t) {
|
|
|
1775
1732
|
});
|
|
1776
1733
|
continue;
|
|
1777
1734
|
}
|
|
1778
|
-
if (
|
|
1735
|
+
if (sr.test(i.stem)) {
|
|
1779
1736
|
e.minimumIntegerDigits = i.stem.length;
|
|
1780
1737
|
continue;
|
|
1781
1738
|
}
|
|
1782
|
-
if (
|
|
1739
|
+
if (ve.test(i.stem)) {
|
|
1783
1740
|
if (i.options.length > 1)
|
|
1784
1741
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1785
|
-
i.stem.replace(
|
|
1742
|
+
i.stem.replace(ve, function(l, u, h, c, f, p) {
|
|
1786
1743
|
return h === "*" ? e.minimumFractionDigits = u.length : c && c[0] === "#" ? e.maximumFractionDigits = c.length : f && p ? (e.minimumFractionDigits = f.length, e.maximumFractionDigits = f.length + p.length) : (e.minimumFractionDigits = u.length, e.maximumFractionDigits = u.length), "";
|
|
1787
1744
|
});
|
|
1788
1745
|
var o = i.options[0];
|
|
1789
|
-
o === "w" ? e =
|
|
1746
|
+
o === "w" ? e = _(_({}, e), { trailingZeroDisplay: "stripIfInteger" }) : o && (e = _(_({}, e), _e(o)));
|
|
1790
1747
|
continue;
|
|
1791
1748
|
}
|
|
1792
|
-
if (
|
|
1793
|
-
e =
|
|
1749
|
+
if (or.test(i.stem)) {
|
|
1750
|
+
e = _(_({}, e), _e(i.stem));
|
|
1794
1751
|
continue;
|
|
1795
1752
|
}
|
|
1796
|
-
var a =
|
|
1797
|
-
a && (e =
|
|
1798
|
-
var s =
|
|
1799
|
-
s && (e =
|
|
1753
|
+
var a = ar(i.stem);
|
|
1754
|
+
a && (e = _(_({}, e), a));
|
|
1755
|
+
var s = Jn(i.stem);
|
|
1756
|
+
s && (e = _(_({}, e), s));
|
|
1800
1757
|
}
|
|
1801
1758
|
return e;
|
|
1802
1759
|
}
|
|
@@ -3215,13 +3172,13 @@ var ct = {
|
|
|
3215
3172
|
"h"
|
|
3216
3173
|
]
|
|
3217
3174
|
};
|
|
3218
|
-
function
|
|
3175
|
+
function Yn(t, e) {
|
|
3219
3176
|
for (var r = "", n = 0; n < t.length; n++) {
|
|
3220
3177
|
var i = t.charAt(n);
|
|
3221
3178
|
if (i === "j") {
|
|
3222
3179
|
for (var o = 0; n + 1 < t.length && t.charAt(n + 1) === i; )
|
|
3223
3180
|
o++, n++;
|
|
3224
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3181
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Kn(e);
|
|
3225
3182
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3226
3183
|
r += l;
|
|
3227
3184
|
for (; a-- > 0; )
|
|
@@ -3231,7 +3188,7 @@ function ni(t, e) {
|
|
|
3231
3188
|
}
|
|
3232
3189
|
return r;
|
|
3233
3190
|
}
|
|
3234
|
-
function
|
|
3191
|
+
function Kn(t) {
|
|
3235
3192
|
var e = t.hourCycle;
|
|
3236
3193
|
if (e === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3237
3194
|
t.hourCycles && // @ts-ignore
|
|
@@ -3253,20 +3210,20 @@ function ii(t) {
|
|
|
3253
3210
|
var i = ct[n || ""] || ct[r || ""] || ct["".concat(r, "-001")] || ct["001"];
|
|
3254
3211
|
return i[0];
|
|
3255
3212
|
}
|
|
3256
|
-
var
|
|
3213
|
+
var $t, ti = new RegExp("^".concat(ir.source, "*")), ei = new RegExp("".concat(ir.source, "*$"));
|
|
3257
3214
|
function y(t, e) {
|
|
3258
3215
|
return { start: t, end: e };
|
|
3259
3216
|
}
|
|
3260
|
-
var
|
|
3217
|
+
var ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), ni = !!String.fromCodePoint, ii = !!Object.fromEntries, oi = !!String.prototype.codePointAt, si = !!String.prototype.trimStart, ai = !!String.prototype.trimEnd, ui = !!Number.isSafeInteger, li = ui ? Number.isSafeInteger : function(t) {
|
|
3261
3218
|
return typeof t == "number" && isFinite(t) && Math.floor(t) === t && Math.abs(t) <= 9007199254740991;
|
|
3262
|
-
},
|
|
3219
|
+
}, Wt = !0;
|
|
3263
3220
|
try {
|
|
3264
|
-
var
|
|
3265
|
-
|
|
3221
|
+
var hi = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3222
|
+
Wt = (($t = hi.exec("a")) === null || $t === void 0 ? void 0 : $t[0]) === "a";
|
|
3266
3223
|
} catch {
|
|
3267
|
-
|
|
3224
|
+
Wt = !1;
|
|
3268
3225
|
}
|
|
3269
|
-
var
|
|
3226
|
+
var Ee = ri ? (
|
|
3270
3227
|
// Native
|
|
3271
3228
|
function(e, r, n) {
|
|
3272
3229
|
return e.startsWith(r, n);
|
|
@@ -3276,7 +3233,7 @@ var Ce = ai ? (
|
|
|
3276
3233
|
function(e, r, n) {
|
|
3277
3234
|
return e.slice(n, n + r.length) === r;
|
|
3278
3235
|
}
|
|
3279
|
-
),
|
|
3236
|
+
), Zt = ni ? String.fromCodePoint : (
|
|
3280
3237
|
// IE11
|
|
3281
3238
|
function() {
|
|
3282
3239
|
for (var e = [], r = 0; r < arguments.length; r++)
|
|
@@ -3288,9 +3245,9 @@ var Ce = ai ? (
|
|
|
3288
3245
|
}
|
|
3289
3246
|
return n;
|
|
3290
3247
|
}
|
|
3291
|
-
),
|
|
3248
|
+
), we = (
|
|
3292
3249
|
// native
|
|
3293
|
-
|
|
3250
|
+
ii ? Object.fromEntries : (
|
|
3294
3251
|
// Ponyfill
|
|
3295
3252
|
function(e) {
|
|
3296
3253
|
for (var r = {}, n = 0, i = e; n < i.length; n++) {
|
|
@@ -3300,7 +3257,7 @@ var Ce = ai ? (
|
|
|
3300
3257
|
return r;
|
|
3301
3258
|
}
|
|
3302
3259
|
)
|
|
3303
|
-
),
|
|
3260
|
+
), ur = oi ? (
|
|
3304
3261
|
// Native
|
|
3305
3262
|
function(e, r) {
|
|
3306
3263
|
return e.codePointAt(r);
|
|
@@ -3314,7 +3271,7 @@ var Ce = ai ? (
|
|
|
3314
3271
|
return i < 55296 || i > 56319 || r + 1 === n || (o = e.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3315
3272
|
}
|
|
3316
3273
|
}
|
|
3317
|
-
),
|
|
3274
|
+
), ci = si ? (
|
|
3318
3275
|
// Native
|
|
3319
3276
|
function(e) {
|
|
3320
3277
|
return e.trimStart();
|
|
@@ -3322,9 +3279,9 @@ var Ce = ai ? (
|
|
|
3322
3279
|
) : (
|
|
3323
3280
|
// Ponyfill
|
|
3324
3281
|
function(e) {
|
|
3325
|
-
return e.replace(
|
|
3282
|
+
return e.replace(ti, "");
|
|
3326
3283
|
}
|
|
3327
|
-
),
|
|
3284
|
+
), fi = ai ? (
|
|
3328
3285
|
// Native
|
|
3329
3286
|
function(e) {
|
|
3330
3287
|
return e.trimEnd();
|
|
@@ -3332,32 +3289,32 @@ var Ce = ai ? (
|
|
|
3332
3289
|
) : (
|
|
3333
3290
|
// Ponyfill
|
|
3334
3291
|
function(e) {
|
|
3335
|
-
return e.replace(
|
|
3292
|
+
return e.replace(ei, "");
|
|
3336
3293
|
}
|
|
3337
3294
|
);
|
|
3338
|
-
function
|
|
3295
|
+
function lr(t, e) {
|
|
3339
3296
|
return new RegExp(t, e);
|
|
3340
3297
|
}
|
|
3341
|
-
var
|
|
3342
|
-
if (
|
|
3343
|
-
var
|
|
3344
|
-
|
|
3298
|
+
var Qt;
|
|
3299
|
+
if (Wt) {
|
|
3300
|
+
var Se = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3301
|
+
Qt = function(e, r) {
|
|
3345
3302
|
var n;
|
|
3346
|
-
|
|
3347
|
-
var i =
|
|
3303
|
+
Se.lastIndex = r;
|
|
3304
|
+
var i = Se.exec(e);
|
|
3348
3305
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3349
3306
|
};
|
|
3350
3307
|
} else
|
|
3351
|
-
|
|
3308
|
+
Qt = function(e, r) {
|
|
3352
3309
|
for (var n = []; ; ) {
|
|
3353
|
-
var i =
|
|
3354
|
-
if (i === void 0 ||
|
|
3310
|
+
var i = ur(e, r);
|
|
3311
|
+
if (i === void 0 || hr(i) || bi(i))
|
|
3355
3312
|
break;
|
|
3356
3313
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3357
3314
|
}
|
|
3358
|
-
return
|
|
3315
|
+
return Zt.apply(void 0, n);
|
|
3359
3316
|
};
|
|
3360
|
-
var
|
|
3317
|
+
var mi = (
|
|
3361
3318
|
/** @class */
|
|
3362
3319
|
function() {
|
|
3363
3320
|
function t(e, r) {
|
|
@@ -3381,14 +3338,14 @@ var yi = (
|
|
|
3381
3338
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3382
3339
|
var s = this.clonePosition();
|
|
3383
3340
|
this.bump(), i.push({
|
|
3384
|
-
type:
|
|
3341
|
+
type: E.pound,
|
|
3385
3342
|
location: y(s, this.clonePosition())
|
|
3386
3343
|
});
|
|
3387
3344
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3388
3345
|
if (n)
|
|
3389
3346
|
break;
|
|
3390
3347
|
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3391
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3348
|
+
} else if (o === 60 && !this.ignoreTag && Jt(this.peek() || 0)) {
|
|
3392
3349
|
var a = this.parseTag(e, r);
|
|
3393
3350
|
if (a.err)
|
|
3394
3351
|
return a;
|
|
@@ -3409,7 +3366,7 @@ var yi = (
|
|
|
3409
3366
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3410
3367
|
return {
|
|
3411
3368
|
val: {
|
|
3412
|
-
type:
|
|
3369
|
+
type: E.literal,
|
|
3413
3370
|
value: "<".concat(i, "/>"),
|
|
3414
3371
|
location: y(n, this.clonePosition())
|
|
3415
3372
|
},
|
|
@@ -3421,12 +3378,12 @@ var yi = (
|
|
|
3421
3378
|
return o;
|
|
3422
3379
|
var a = o.val, s = this.clonePosition();
|
|
3423
3380
|
if (this.bumpIf("</")) {
|
|
3424
|
-
if (this.isEOF() || !
|
|
3381
|
+
if (this.isEOF() || !Jt(this.char()))
|
|
3425
3382
|
return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
|
|
3426
3383
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3427
3384
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3428
3385
|
val: {
|
|
3429
|
-
type:
|
|
3386
|
+
type: E.tag,
|
|
3430
3387
|
value: i,
|
|
3431
3388
|
children: a,
|
|
3432
3389
|
location: y(n, this.clonePosition())
|
|
@@ -3439,7 +3396,7 @@ var yi = (
|
|
|
3439
3396
|
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
3440
3397
|
}, t.prototype.parseTagName = function() {
|
|
3441
3398
|
var e = this.offset();
|
|
3442
|
-
for (this.bump(); !this.isEOF() &&
|
|
3399
|
+
for (this.bump(); !this.isEOF() && di(this.char()); )
|
|
3443
3400
|
this.bump();
|
|
3444
3401
|
return this.message.slice(e, this.offset());
|
|
3445
3402
|
}, t.prototype.parseLiteral = function(e, r) {
|
|
@@ -3463,12 +3420,12 @@ var yi = (
|
|
|
3463
3420
|
}
|
|
3464
3421
|
var l = y(n, this.clonePosition());
|
|
3465
3422
|
return {
|
|
3466
|
-
val: { type:
|
|
3423
|
+
val: { type: E.literal, value: i, location: l },
|
|
3467
3424
|
err: null
|
|
3468
3425
|
};
|
|
3469
3426
|
}, t.prototype.tryParseLeftAngleBracket = function() {
|
|
3470
3427
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3471
|
-
!
|
|
3428
|
+
!pi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3472
3429
|
}, t.prototype.tryParseQuote = function(e) {
|
|
3473
3430
|
if (this.isEOF() || this.char() !== 39)
|
|
3474
3431
|
return null;
|
|
@@ -3502,12 +3459,12 @@ var yi = (
|
|
|
3502
3459
|
r.push(n);
|
|
3503
3460
|
this.bump();
|
|
3504
3461
|
}
|
|
3505
|
-
return
|
|
3462
|
+
return Zt.apply(void 0, r);
|
|
3506
3463
|
}, t.prototype.tryParseUnquoted = function(e, r) {
|
|
3507
3464
|
if (this.isEOF())
|
|
3508
3465
|
return null;
|
|
3509
3466
|
var n = this.char();
|
|
3510
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && e > 0 ? null : (this.bump(),
|
|
3467
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && e > 0 ? null : (this.bump(), Zt(n));
|
|
3511
3468
|
}, t.prototype.parseArgument = function(e, r) {
|
|
3512
3469
|
var n = this.clonePosition();
|
|
3513
3470
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3523,7 +3480,7 @@ var yi = (
|
|
|
3523
3480
|
case 125:
|
|
3524
3481
|
return this.bump(), {
|
|
3525
3482
|
val: {
|
|
3526
|
-
type:
|
|
3483
|
+
type: E.argument,
|
|
3527
3484
|
// value does not include the opening and closing braces.
|
|
3528
3485
|
value: i,
|
|
3529
3486
|
location: y(n, this.clonePosition())
|
|
@@ -3536,7 +3493,7 @@ var yi = (
|
|
|
3536
3493
|
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3537
3494
|
}
|
|
3538
3495
|
}, t.prototype.parseIdentifierIfPossible = function() {
|
|
3539
|
-
var e = this.clonePosition(), r = this.offset(), n =
|
|
3496
|
+
var e = this.clonePosition(), r = this.offset(), n = Qt(this.message, r), i = r + n.length;
|
|
3540
3497
|
this.bumpTo(i);
|
|
3541
3498
|
var o = this.clonePosition(), a = y(e, o);
|
|
3542
3499
|
return { value: n, location: a };
|
|
@@ -3555,7 +3512,7 @@ var yi = (
|
|
|
3555
3512
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3556
3513
|
if (c.err)
|
|
3557
3514
|
return c;
|
|
3558
|
-
var f =
|
|
3515
|
+
var f = fi(c.val);
|
|
3559
3516
|
if (f.length === 0)
|
|
3560
3517
|
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3561
3518
|
var p = y(h, this.clonePosition());
|
|
@@ -3565,25 +3522,25 @@ var yi = (
|
|
|
3565
3522
|
if (m.err)
|
|
3566
3523
|
return m;
|
|
3567
3524
|
var d = y(i, this.clonePosition());
|
|
3568
|
-
if (u &&
|
|
3569
|
-
var v =
|
|
3525
|
+
if (u && Ee(u?.style, "::", 0)) {
|
|
3526
|
+
var v = ci(u.style.slice(2));
|
|
3570
3527
|
if (s === "number") {
|
|
3571
3528
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3572
3529
|
return c.err ? c : {
|
|
3573
|
-
val: { type:
|
|
3530
|
+
val: { type: E.number, value: n, location: d, style: c.val },
|
|
3574
3531
|
err: null
|
|
3575
3532
|
};
|
|
3576
3533
|
} else {
|
|
3577
3534
|
if (v.length === 0)
|
|
3578
3535
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3579
3536
|
var T = v;
|
|
3580
|
-
this.locale && (T =
|
|
3537
|
+
this.locale && (T = Yn(v, this.locale));
|
|
3581
3538
|
var f = {
|
|
3582
|
-
type:
|
|
3539
|
+
type: Q.dateTime,
|
|
3583
3540
|
pattern: T,
|
|
3584
3541
|
location: u.styleLocation,
|
|
3585
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3586
|
-
}, C = s === "date" ?
|
|
3542
|
+
parsedOptions: this.shouldParseSkeletons ? Xn(T) : {}
|
|
3543
|
+
}, C = s === "date" ? E.date : E.time;
|
|
3587
3544
|
return {
|
|
3588
3545
|
val: { type: C, value: n, location: d, style: f },
|
|
3589
3546
|
err: null
|
|
@@ -3592,7 +3549,7 @@ var yi = (
|
|
|
3592
3549
|
}
|
|
3593
3550
|
return {
|
|
3594
3551
|
val: {
|
|
3595
|
-
type: s === "number" ?
|
|
3552
|
+
type: s === "number" ? E.number : s === "date" ? E.date : E.time,
|
|
3596
3553
|
value: n,
|
|
3597
3554
|
location: d,
|
|
3598
3555
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3605,9 +3562,9 @@ var yi = (
|
|
|
3605
3562
|
case "select": {
|
|
3606
3563
|
var S = this.clonePosition();
|
|
3607
3564
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3608
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S,
|
|
3565
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S, _({}, S)));
|
|
3609
3566
|
this.bumpSpace();
|
|
3610
|
-
var B = this.parseIdentifierIfPossible(),
|
|
3567
|
+
var B = this.parseIdentifierIfPossible(), w = 0;
|
|
3611
3568
|
if (s !== "select" && B.value === "offset") {
|
|
3612
3569
|
if (!this.bumpIf(":"))
|
|
3613
3570
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
@@ -3615,31 +3572,31 @@ var yi = (
|
|
|
3615
3572
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3616
3573
|
if (c.err)
|
|
3617
3574
|
return c;
|
|
3618
|
-
this.bumpSpace(), B = this.parseIdentifierIfPossible(),
|
|
3575
|
+
this.bumpSpace(), B = this.parseIdentifierIfPossible(), w = c.val;
|
|
3619
3576
|
}
|
|
3620
|
-
var
|
|
3621
|
-
if (
|
|
3622
|
-
return
|
|
3577
|
+
var x = this.tryParsePluralOrSelectOptions(e, s, r, B);
|
|
3578
|
+
if (x.err)
|
|
3579
|
+
return x;
|
|
3623
3580
|
var m = this.tryParseArgumentClose(i);
|
|
3624
3581
|
if (m.err)
|
|
3625
3582
|
return m;
|
|
3626
|
-
var
|
|
3583
|
+
var L = y(i, this.clonePosition());
|
|
3627
3584
|
return s === "select" ? {
|
|
3628
3585
|
val: {
|
|
3629
|
-
type:
|
|
3586
|
+
type: E.select,
|
|
3630
3587
|
value: n,
|
|
3631
|
-
options:
|
|
3632
|
-
location:
|
|
3588
|
+
options: we(x.val),
|
|
3589
|
+
location: L
|
|
3633
3590
|
},
|
|
3634
3591
|
err: null
|
|
3635
3592
|
} : {
|
|
3636
3593
|
val: {
|
|
3637
|
-
type:
|
|
3594
|
+
type: E.plural,
|
|
3638
3595
|
value: n,
|
|
3639
|
-
options:
|
|
3640
|
-
offset:
|
|
3596
|
+
options: we(x.val),
|
|
3597
|
+
offset: w,
|
|
3641
3598
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3642
|
-
location:
|
|
3599
|
+
location: L
|
|
3643
3600
|
},
|
|
3644
3601
|
err: null
|
|
3645
3602
|
};
|
|
@@ -3687,16 +3644,16 @@ var yi = (
|
|
|
3687
3644
|
}, t.prototype.parseNumberSkeletonFromString = function(e, r) {
|
|
3688
3645
|
var n = [];
|
|
3689
3646
|
try {
|
|
3690
|
-
n =
|
|
3647
|
+
n = Wn(e);
|
|
3691
3648
|
} catch {
|
|
3692
3649
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3693
3650
|
}
|
|
3694
3651
|
return {
|
|
3695
3652
|
val: {
|
|
3696
|
-
type:
|
|
3653
|
+
type: Q.number,
|
|
3697
3654
|
tokens: n,
|
|
3698
3655
|
location: r,
|
|
3699
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3656
|
+
parsedOptions: this.shouldParseSkeletons ? qn(n) : {}
|
|
3700
3657
|
},
|
|
3701
3658
|
err: null
|
|
3702
3659
|
};
|
|
@@ -3744,7 +3701,7 @@ var yi = (
|
|
|
3744
3701
|
break;
|
|
3745
3702
|
}
|
|
3746
3703
|
var l = y(i, this.clonePosition());
|
|
3747
|
-
return o ? (a *= n,
|
|
3704
|
+
return o ? (a *= n, li(a) ? { val: a, err: null } : this.error(r, l)) : this.error(e, l);
|
|
3748
3705
|
}, t.prototype.offset = function() {
|
|
3749
3706
|
return this.position.offset;
|
|
3750
3707
|
}, t.prototype.isEOF = function() {
|
|
@@ -3759,7 +3716,7 @@ var yi = (
|
|
|
3759
3716
|
var e = this.position.offset;
|
|
3760
3717
|
if (e >= this.message.length)
|
|
3761
3718
|
throw Error("out of bound");
|
|
3762
|
-
var r =
|
|
3719
|
+
var r = ur(this.message, e);
|
|
3763
3720
|
if (r === void 0)
|
|
3764
3721
|
throw Error("Offset ".concat(e, " is at invalid UTF-16 code unit boundary"));
|
|
3765
3722
|
return r;
|
|
@@ -3778,7 +3735,7 @@ var yi = (
|
|
|
3778
3735
|
e === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += e < 65536 ? 1 : 2);
|
|
3779
3736
|
}
|
|
3780
3737
|
}, t.prototype.bumpIf = function(e) {
|
|
3781
|
-
if (
|
|
3738
|
+
if (Ee(this.message, e, this.offset())) {
|
|
3782
3739
|
for (var r = 0; r < e.length; r++)
|
|
3783
3740
|
this.bump();
|
|
3784
3741
|
return !0;
|
|
@@ -3800,7 +3757,7 @@ var yi = (
|
|
|
3800
3757
|
break;
|
|
3801
3758
|
}
|
|
3802
3759
|
}, t.prototype.bumpSpace = function() {
|
|
3803
|
-
for (; !this.isEOF() &&
|
|
3760
|
+
for (; !this.isEOF() && hr(this.char()); )
|
|
3804
3761
|
this.bump();
|
|
3805
3762
|
}, t.prototype.peek = function() {
|
|
3806
3763
|
if (this.isEOF())
|
|
@@ -3810,47 +3767,47 @@ var yi = (
|
|
|
3810
3767
|
}, t;
|
|
3811
3768
|
}()
|
|
3812
3769
|
);
|
|
3813
|
-
function
|
|
3770
|
+
function Jt(t) {
|
|
3814
3771
|
return t >= 97 && t <= 122 || t >= 65 && t <= 90;
|
|
3815
3772
|
}
|
|
3816
|
-
function
|
|
3817
|
-
return
|
|
3773
|
+
function pi(t) {
|
|
3774
|
+
return Jt(t) || t === 47;
|
|
3818
3775
|
}
|
|
3819
|
-
function
|
|
3776
|
+
function di(t) {
|
|
3820
3777
|
return t === 45 || t === 46 || t >= 48 && t <= 57 || t === 95 || t >= 97 && t <= 122 || t >= 65 && t <= 90 || t == 183 || t >= 192 && t <= 214 || t >= 216 && t <= 246 || t >= 248 && t <= 893 || t >= 895 && t <= 8191 || t >= 8204 && t <= 8205 || t >= 8255 && t <= 8256 || t >= 8304 && t <= 8591 || t >= 11264 && t <= 12271 || t >= 12289 && t <= 55295 || t >= 63744 && t <= 64975 || t >= 65008 && t <= 65533 || t >= 65536 && t <= 983039;
|
|
3821
3778
|
}
|
|
3822
|
-
function
|
|
3779
|
+
function hr(t) {
|
|
3823
3780
|
return t >= 9 && t <= 13 || t === 32 || t === 133 || t >= 8206 && t <= 8207 || t === 8232 || t === 8233;
|
|
3824
3781
|
}
|
|
3825
|
-
function
|
|
3782
|
+
function bi(t) {
|
|
3826
3783
|
return t >= 33 && t <= 35 || t === 36 || t >= 37 && t <= 39 || t === 40 || t === 41 || t === 42 || t === 43 || t === 44 || t === 45 || t >= 46 && t <= 47 || t >= 58 && t <= 59 || t >= 60 && t <= 62 || t >= 63 && t <= 64 || t === 91 || t === 92 || t === 93 || t === 94 || t === 96 || t === 123 || t === 124 || t === 125 || t === 126 || t === 161 || t >= 162 && t <= 165 || t === 166 || t === 167 || t === 169 || t === 171 || t === 172 || t === 174 || t === 176 || t === 177 || t === 182 || t === 187 || t === 191 || t === 215 || t === 247 || t >= 8208 && t <= 8213 || t >= 8214 && t <= 8215 || t === 8216 || t === 8217 || t === 8218 || t >= 8219 && t <= 8220 || t === 8221 || t === 8222 || t === 8223 || t >= 8224 && t <= 8231 || t >= 8240 && t <= 8248 || t === 8249 || t === 8250 || t >= 8251 && t <= 8254 || t >= 8257 && t <= 8259 || t === 8260 || t === 8261 || t === 8262 || t >= 8263 && t <= 8273 || t === 8274 || t === 8275 || t >= 8277 && t <= 8286 || t >= 8592 && t <= 8596 || t >= 8597 && t <= 8601 || t >= 8602 && t <= 8603 || t >= 8604 && t <= 8607 || t === 8608 || t >= 8609 && t <= 8610 || t === 8611 || t >= 8612 && t <= 8613 || t === 8614 || t >= 8615 && t <= 8621 || t === 8622 || t >= 8623 && t <= 8653 || t >= 8654 && t <= 8655 || t >= 8656 && t <= 8657 || t === 8658 || t === 8659 || t === 8660 || t >= 8661 && t <= 8691 || t >= 8692 && t <= 8959 || t >= 8960 && t <= 8967 || t === 8968 || t === 8969 || t === 8970 || t === 8971 || t >= 8972 && t <= 8991 || t >= 8992 && t <= 8993 || t >= 8994 && t <= 9e3 || t === 9001 || t === 9002 || t >= 9003 && t <= 9083 || t === 9084 || t >= 9085 && t <= 9114 || t >= 9115 && t <= 9139 || t >= 9140 && t <= 9179 || t >= 9180 && t <= 9185 || t >= 9186 && t <= 9254 || t >= 9255 && t <= 9279 || t >= 9280 && t <= 9290 || t >= 9291 && t <= 9311 || t >= 9472 && t <= 9654 || t === 9655 || t >= 9656 && t <= 9664 || t === 9665 || t >= 9666 && t <= 9719 || t >= 9720 && t <= 9727 || t >= 9728 && t <= 9838 || t === 9839 || t >= 9840 && t <= 10087 || t === 10088 || t === 10089 || t === 10090 || t === 10091 || t === 10092 || t === 10093 || t === 10094 || t === 10095 || t === 10096 || t === 10097 || t === 10098 || t === 10099 || t === 10100 || t === 10101 || t >= 10132 && t <= 10175 || t >= 10176 && t <= 10180 || t === 10181 || t === 10182 || t >= 10183 && t <= 10213 || t === 10214 || t === 10215 || t === 10216 || t === 10217 || t === 10218 || t === 10219 || t === 10220 || t === 10221 || t === 10222 || t === 10223 || t >= 10224 && t <= 10239 || t >= 10240 && t <= 10495 || t >= 10496 && t <= 10626 || t === 10627 || t === 10628 || t === 10629 || t === 10630 || t === 10631 || t === 10632 || t === 10633 || t === 10634 || t === 10635 || t === 10636 || t === 10637 || t === 10638 || t === 10639 || t === 10640 || t === 10641 || t === 10642 || t === 10643 || t === 10644 || t === 10645 || t === 10646 || t === 10647 || t === 10648 || t >= 10649 && t <= 10711 || t === 10712 || t === 10713 || t === 10714 || t === 10715 || t >= 10716 && t <= 10747 || t === 10748 || t === 10749 || t >= 10750 && t <= 11007 || t >= 11008 && t <= 11055 || t >= 11056 && t <= 11076 || t >= 11077 && t <= 11078 || t >= 11079 && t <= 11084 || t >= 11085 && t <= 11123 || t >= 11124 && t <= 11125 || t >= 11126 && t <= 11157 || t === 11158 || t >= 11159 && t <= 11263 || t >= 11776 && t <= 11777 || t === 11778 || t === 11779 || t === 11780 || t === 11781 || t >= 11782 && t <= 11784 || t === 11785 || t === 11786 || t === 11787 || t === 11788 || t === 11789 || t >= 11790 && t <= 11798 || t === 11799 || t >= 11800 && t <= 11801 || t === 11802 || t === 11803 || t === 11804 || t === 11805 || t >= 11806 && t <= 11807 || t === 11808 || t === 11809 || t === 11810 || t === 11811 || t === 11812 || t === 11813 || t === 11814 || t === 11815 || t === 11816 || t === 11817 || t >= 11818 && t <= 11822 || t === 11823 || t >= 11824 && t <= 11833 || t >= 11834 && t <= 11835 || t >= 11836 && t <= 11839 || t === 11840 || t === 11841 || t === 11842 || t >= 11843 && t <= 11855 || t >= 11856 && t <= 11857 || t === 11858 || t >= 11859 && t <= 11903 || t >= 12289 && t <= 12291 || t === 12296 || t === 12297 || t === 12298 || t === 12299 || t === 12300 || t === 12301 || t === 12302 || t === 12303 || t === 12304 || t === 12305 || t >= 12306 && t <= 12307 || t === 12308 || t === 12309 || t === 12310 || t === 12311 || t === 12312 || t === 12313 || t === 12314 || t === 12315 || t === 12316 || t === 12317 || t >= 12318 && t <= 12319 || t === 12320 || t === 12336 || t === 64830 || t === 64831 || t >= 65093 && t <= 65094;
|
|
3827
3784
|
}
|
|
3828
|
-
function
|
|
3785
|
+
function qt(t) {
|
|
3829
3786
|
t.forEach(function(e) {
|
|
3830
|
-
if (delete e.location,
|
|
3787
|
+
if (delete e.location, tr(e) || er(e))
|
|
3831
3788
|
for (var r in e.options)
|
|
3832
|
-
delete e.options[r].location,
|
|
3789
|
+
delete e.options[r].location, qt(e.options[r].value);
|
|
3833
3790
|
else
|
|
3834
|
-
|
|
3791
|
+
qe(e) && nr(e.style) || (Ye(e) || Ke(e)) && zt(e.style) ? delete e.style.location : rr(e) && qt(e.children);
|
|
3835
3792
|
});
|
|
3836
3793
|
}
|
|
3837
|
-
function
|
|
3838
|
-
e === void 0 && (e = {}), e =
|
|
3839
|
-
var r = new
|
|
3794
|
+
function gi(t, e) {
|
|
3795
|
+
e === void 0 && (e = {}), e = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, e);
|
|
3796
|
+
var r = new mi(t, e).parse();
|
|
3840
3797
|
if (r.err) {
|
|
3841
3798
|
var n = SyntaxError(b[r.err.kind]);
|
|
3842
3799
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3843
3800
|
}
|
|
3844
|
-
return e?.captureLocation ||
|
|
3801
|
+
return e?.captureLocation || qt(r.val), r.val;
|
|
3845
3802
|
}
|
|
3846
|
-
var
|
|
3803
|
+
var J;
|
|
3847
3804
|
(function(t) {
|
|
3848
3805
|
t.MISSING_VALUE = "MISSING_VALUE", t.INVALID_VALUE = "INVALID_VALUE", t.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3849
|
-
})(
|
|
3850
|
-
var
|
|
3806
|
+
})(J || (J = {}));
|
|
3807
|
+
var Tt = (
|
|
3851
3808
|
/** @class */
|
|
3852
3809
|
function(t) {
|
|
3853
|
-
|
|
3810
|
+
R(e, t);
|
|
3854
3811
|
function e(r, n, i) {
|
|
3855
3812
|
var o = t.call(this, r) || this;
|
|
3856
3813
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3859,48 +3816,48 @@ var Ct = (
|
|
|
3859
3816
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3860
3817
|
}, e;
|
|
3861
3818
|
}(Error)
|
|
3862
|
-
),
|
|
3819
|
+
), Te = (
|
|
3863
3820
|
/** @class */
|
|
3864
3821
|
function(t) {
|
|
3865
|
-
|
|
3822
|
+
R(e, t);
|
|
3866
3823
|
function e(r, n, i, o) {
|
|
3867
|
-
return t.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3824
|
+
return t.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
|
|
3868
3825
|
}
|
|
3869
3826
|
return e;
|
|
3870
|
-
}(
|
|
3871
|
-
),
|
|
3827
|
+
}(Tt)
|
|
3828
|
+
), yi = (
|
|
3872
3829
|
/** @class */
|
|
3873
3830
|
function(t) {
|
|
3874
|
-
|
|
3831
|
+
R(e, t);
|
|
3875
3832
|
function e(r, n, i) {
|
|
3876
|
-
return t.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3833
|
+
return t.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3877
3834
|
}
|
|
3878
3835
|
return e;
|
|
3879
|
-
}(
|
|
3880
|
-
),
|
|
3836
|
+
}(Tt)
|
|
3837
|
+
), vi = (
|
|
3881
3838
|
/** @class */
|
|
3882
3839
|
function(t) {
|
|
3883
|
-
|
|
3840
|
+
R(e, t);
|
|
3884
3841
|
function e(r, n) {
|
|
3885
|
-
return t.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3842
|
+
return t.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3886
3843
|
}
|
|
3887
3844
|
return e;
|
|
3888
|
-
}(
|
|
3845
|
+
}(Tt)
|
|
3889
3846
|
), A;
|
|
3890
3847
|
(function(t) {
|
|
3891
3848
|
t[t.literal = 0] = "literal", t[t.object = 1] = "object";
|
|
3892
3849
|
})(A || (A = {}));
|
|
3893
|
-
function
|
|
3850
|
+
function _i(t) {
|
|
3894
3851
|
return t.length < 2 ? t : t.reduce(function(e, r) {
|
|
3895
3852
|
var n = e[e.length - 1];
|
|
3896
3853
|
return !n || n.type !== A.literal || r.type !== A.literal ? e.push(r) : n.value += r.value, e;
|
|
3897
3854
|
}, []);
|
|
3898
3855
|
}
|
|
3899
|
-
function
|
|
3856
|
+
function xi(t) {
|
|
3900
3857
|
return typeof t == "function";
|
|
3901
3858
|
}
|
|
3902
3859
|
function dt(t, e, r, n, i, o, a) {
|
|
3903
|
-
if (t.length === 1 &&
|
|
3860
|
+
if (t.length === 1 && ye(t[0]))
|
|
3904
3861
|
return [
|
|
3905
3862
|
{
|
|
3906
3863
|
type: A.literal,
|
|
@@ -3909,14 +3866,14 @@ function dt(t, e, r, n, i, o, a) {
|
|
|
3909
3866
|
];
|
|
3910
3867
|
for (var s = [], l = 0, u = t; l < u.length; l++) {
|
|
3911
3868
|
var h = u[l];
|
|
3912
|
-
if (
|
|
3869
|
+
if (ye(h)) {
|
|
3913
3870
|
s.push({
|
|
3914
3871
|
type: A.literal,
|
|
3915
3872
|
value: h.value
|
|
3916
3873
|
});
|
|
3917
3874
|
continue;
|
|
3918
3875
|
}
|
|
3919
|
-
if (
|
|
3876
|
+
if (kn(h)) {
|
|
3920
3877
|
typeof o == "number" && s.push({
|
|
3921
3878
|
type: A.literal,
|
|
3922
3879
|
value: r.getNumberFormat(e).format(o)
|
|
@@ -3925,89 +3882,89 @@ function dt(t, e, r, n, i, o, a) {
|
|
|
3925
3882
|
}
|
|
3926
3883
|
var c = h.value;
|
|
3927
3884
|
if (!(i && c in i))
|
|
3928
|
-
throw new
|
|
3885
|
+
throw new vi(c, a);
|
|
3929
3886
|
var f = i[c];
|
|
3930
|
-
if (
|
|
3887
|
+
if (jn(h)) {
|
|
3931
3888
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3932
3889
|
type: typeof f == "string" ? A.literal : A.object,
|
|
3933
3890
|
value: f
|
|
3934
3891
|
});
|
|
3935
3892
|
continue;
|
|
3936
3893
|
}
|
|
3937
|
-
if (
|
|
3938
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3894
|
+
if (Ye(h)) {
|
|
3895
|
+
var p = typeof h.style == "string" ? n.date[h.style] : zt(h.style) ? h.style.parsedOptions : void 0;
|
|
3939
3896
|
s.push({
|
|
3940
3897
|
type: A.literal,
|
|
3941
3898
|
value: r.getDateTimeFormat(e, p).format(f)
|
|
3942
3899
|
});
|
|
3943
3900
|
continue;
|
|
3944
3901
|
}
|
|
3945
|
-
if (
|
|
3946
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3902
|
+
if (Ke(h)) {
|
|
3903
|
+
var p = typeof h.style == "string" ? n.time[h.style] : zt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3947
3904
|
s.push({
|
|
3948
3905
|
type: A.literal,
|
|
3949
3906
|
value: r.getDateTimeFormat(e, p).format(f)
|
|
3950
3907
|
});
|
|
3951
3908
|
continue;
|
|
3952
3909
|
}
|
|
3953
|
-
if (
|
|
3954
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3910
|
+
if (qe(h)) {
|
|
3911
|
+
var p = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
|
|
3955
3912
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3956
3913
|
type: A.literal,
|
|
3957
3914
|
value: r.getNumberFormat(e, p).format(f)
|
|
3958
3915
|
});
|
|
3959
3916
|
continue;
|
|
3960
3917
|
}
|
|
3961
|
-
if (
|
|
3918
|
+
if (rr(h)) {
|
|
3962
3919
|
var m = h.children, d = h.value, v = i[d];
|
|
3963
|
-
if (!
|
|
3964
|
-
throw new
|
|
3965
|
-
var T = dt(m, e, r, n, i, o), C = v(T.map(function(
|
|
3966
|
-
return
|
|
3920
|
+
if (!xi(v))
|
|
3921
|
+
throw new yi(d, "function", a);
|
|
3922
|
+
var T = dt(m, e, r, n, i, o), C = v(T.map(function(w) {
|
|
3923
|
+
return w.value;
|
|
3967
3924
|
}));
|
|
3968
|
-
Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(
|
|
3925
|
+
Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(w) {
|
|
3969
3926
|
return {
|
|
3970
|
-
type: typeof
|
|
3971
|
-
value:
|
|
3927
|
+
type: typeof w == "string" ? A.literal : A.object,
|
|
3928
|
+
value: w
|
|
3972
3929
|
};
|
|
3973
3930
|
}));
|
|
3974
3931
|
}
|
|
3975
|
-
if (
|
|
3932
|
+
if (tr(h)) {
|
|
3976
3933
|
var S = h.options[f] || h.options.other;
|
|
3977
3934
|
if (!S)
|
|
3978
|
-
throw new
|
|
3935
|
+
throw new Te(h.value, f, Object.keys(h.options), a);
|
|
3979
3936
|
s.push.apply(s, dt(S.value, e, r, n, i));
|
|
3980
3937
|
continue;
|
|
3981
3938
|
}
|
|
3982
|
-
if (
|
|
3939
|
+
if (er(h)) {
|
|
3983
3940
|
var S = h.options["=".concat(f)];
|
|
3984
3941
|
if (!S) {
|
|
3985
3942
|
if (!Intl.PluralRules)
|
|
3986
|
-
throw new
|
|
3943
|
+
throw new Tt(`Intl.PluralRules is not available in this environment.
|
|
3987
3944
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3988
|
-
`,
|
|
3945
|
+
`, J.MISSING_INTL_API, a);
|
|
3989
3946
|
var B = r.getPluralRules(e, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3990
3947
|
S = h.options[B] || h.options.other;
|
|
3991
3948
|
}
|
|
3992
3949
|
if (!S)
|
|
3993
|
-
throw new
|
|
3950
|
+
throw new Te(h.value, f, Object.keys(h.options), a);
|
|
3994
3951
|
s.push.apply(s, dt(S.value, e, r, n, i, f - (h.offset || 0)));
|
|
3995
3952
|
continue;
|
|
3996
3953
|
}
|
|
3997
3954
|
}
|
|
3998
|
-
return
|
|
3955
|
+
return _i(s);
|
|
3999
3956
|
}
|
|
4000
|
-
function
|
|
4001
|
-
return e ?
|
|
4002
|
-
return r[n] =
|
|
3957
|
+
function Ei(t, e) {
|
|
3958
|
+
return e ? _(_(_({}, t || {}), e || {}), Object.keys(t).reduce(function(r, n) {
|
|
3959
|
+
return r[n] = _(_({}, t[n]), e[n] || {}), r;
|
|
4003
3960
|
}, {})) : t;
|
|
4004
3961
|
}
|
|
4005
|
-
function
|
|
3962
|
+
function wi(t, e) {
|
|
4006
3963
|
return e ? Object.keys(t).reduce(function(r, n) {
|
|
4007
|
-
return r[n] =
|
|
4008
|
-
},
|
|
3964
|
+
return r[n] = Ei(t[n], e[n]), r;
|
|
3965
|
+
}, _({}, t)) : t;
|
|
4009
3966
|
}
|
|
4010
|
-
function
|
|
3967
|
+
function Rt(t) {
|
|
4011
3968
|
return {
|
|
4012
3969
|
create: function() {
|
|
4013
3970
|
return {
|
|
@@ -4021,39 +3978,39 @@ function Dt(t) {
|
|
|
4021
3978
|
}
|
|
4022
3979
|
};
|
|
4023
3980
|
}
|
|
4024
|
-
function
|
|
3981
|
+
function Si(t) {
|
|
4025
3982
|
return t === void 0 && (t = {
|
|
4026
3983
|
number: {},
|
|
4027
3984
|
dateTime: {},
|
|
4028
3985
|
pluralRules: {}
|
|
4029
3986
|
}), {
|
|
4030
|
-
getNumberFormat:
|
|
3987
|
+
getNumberFormat: Mt(function() {
|
|
4031
3988
|
for (var e, r = [], n = 0; n < arguments.length; n++)
|
|
4032
3989
|
r[n] = arguments[n];
|
|
4033
|
-
return new ((e = Intl.NumberFormat).bind.apply(e,
|
|
3990
|
+
return new ((e = Intl.NumberFormat).bind.apply(e, W([void 0], r, !1)))();
|
|
4034
3991
|
}, {
|
|
4035
|
-
cache:
|
|
4036
|
-
strategy:
|
|
3992
|
+
cache: Rt(t.number),
|
|
3993
|
+
strategy: Nt.variadic
|
|
4037
3994
|
}),
|
|
4038
|
-
getDateTimeFormat:
|
|
3995
|
+
getDateTimeFormat: Mt(function() {
|
|
4039
3996
|
for (var e, r = [], n = 0; n < arguments.length; n++)
|
|
4040
3997
|
r[n] = arguments[n];
|
|
4041
|
-
return new ((e = Intl.DateTimeFormat).bind.apply(e,
|
|
3998
|
+
return new ((e = Intl.DateTimeFormat).bind.apply(e, W([void 0], r, !1)))();
|
|
4042
3999
|
}, {
|
|
4043
|
-
cache:
|
|
4044
|
-
strategy:
|
|
4000
|
+
cache: Rt(t.dateTime),
|
|
4001
|
+
strategy: Nt.variadic
|
|
4045
4002
|
}),
|
|
4046
|
-
getPluralRules:
|
|
4003
|
+
getPluralRules: Mt(function() {
|
|
4047
4004
|
for (var e, r = [], n = 0; n < arguments.length; n++)
|
|
4048
4005
|
r[n] = arguments[n];
|
|
4049
|
-
return new ((e = Intl.PluralRules).bind.apply(e,
|
|
4006
|
+
return new ((e = Intl.PluralRules).bind.apply(e, W([void 0], r, !1)))();
|
|
4050
4007
|
}, {
|
|
4051
|
-
cache:
|
|
4052
|
-
strategy:
|
|
4008
|
+
cache: Rt(t.pluralRules),
|
|
4009
|
+
strategy: Nt.variadic
|
|
4053
4010
|
})
|
|
4054
4011
|
};
|
|
4055
4012
|
}
|
|
4056
|
-
var
|
|
4013
|
+
var Ti = (
|
|
4057
4014
|
/** @class */
|
|
4058
4015
|
function() {
|
|
4059
4016
|
function t(e, r, n, i) {
|
|
@@ -4085,13 +4042,13 @@ var Pi = (
|
|
|
4085
4042
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4086
4043
|
var a = i || {};
|
|
4087
4044
|
a.formatters;
|
|
4088
|
-
var s =
|
|
4089
|
-
this.ast = t.__parse(e,
|
|
4045
|
+
var s = rn(a, ["formatters"]);
|
|
4046
|
+
this.ast = t.__parse(e, _(_({}, s), { locale: this.resolvedLocale }));
|
|
4090
4047
|
} else
|
|
4091
4048
|
this.ast = e;
|
|
4092
4049
|
if (!Array.isArray(this.ast))
|
|
4093
4050
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4094
|
-
this.formats =
|
|
4051
|
+
this.formats = wi(t.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
|
|
4095
4052
|
}
|
|
4096
4053
|
return Object.defineProperty(t, "defaultLocale", {
|
|
4097
4054
|
get: function() {
|
|
@@ -4104,7 +4061,7 @@ var Pi = (
|
|
|
4104
4061
|
var r = Intl.NumberFormat.supportedLocalesOf(e);
|
|
4105
4062
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof e == "string" ? e : e[0]);
|
|
4106
4063
|
}
|
|
4107
|
-
}, t.__parse =
|
|
4064
|
+
}, t.__parse = gi, t.formats = {
|
|
4108
4065
|
number: {
|
|
4109
4066
|
integer: {
|
|
4110
4067
|
maximumFractionDigits: 0
|
|
@@ -4165,7 +4122,7 @@ var Pi = (
|
|
|
4165
4122
|
}, t;
|
|
4166
4123
|
}()
|
|
4167
4124
|
);
|
|
4168
|
-
function
|
|
4125
|
+
function Hi(t, e) {
|
|
4169
4126
|
if (e == null)
|
|
4170
4127
|
return;
|
|
4171
4128
|
if (e in t)
|
|
@@ -4186,92 +4143,92 @@ function Oi(t, e) {
|
|
|
4186
4143
|
n = void 0;
|
|
4187
4144
|
return n;
|
|
4188
4145
|
}
|
|
4189
|
-
const G = {},
|
|
4146
|
+
const G = {}, Ci = (t, e, r) => r && (e in G || (G[e] = {}), t in G[e] || (G[e][t] = r), r), cr = (t, e) => {
|
|
4190
4147
|
if (e == null)
|
|
4191
4148
|
return;
|
|
4192
4149
|
if (e in G && t in G[e])
|
|
4193
4150
|
return G[e][t];
|
|
4194
|
-
const r =
|
|
4151
|
+
const r = Ht(e);
|
|
4195
4152
|
for (let n = 0; n < r.length; n++) {
|
|
4196
|
-
const i = r[n], o =
|
|
4153
|
+
const i = r[n], o = Ai(i, t);
|
|
4197
4154
|
if (o)
|
|
4198
|
-
return
|
|
4155
|
+
return Ci(t, e, o);
|
|
4199
4156
|
}
|
|
4200
4157
|
};
|
|
4201
|
-
let
|
|
4202
|
-
const lt =
|
|
4203
|
-
function
|
|
4204
|
-
return
|
|
4158
|
+
let ne;
|
|
4159
|
+
const lt = St({});
|
|
4160
|
+
function Bi(t) {
|
|
4161
|
+
return ne[t] || null;
|
|
4205
4162
|
}
|
|
4206
|
-
function
|
|
4207
|
-
return t in
|
|
4163
|
+
function fr(t) {
|
|
4164
|
+
return t in ne;
|
|
4208
4165
|
}
|
|
4209
|
-
function
|
|
4210
|
-
if (!
|
|
4166
|
+
function Ai(t, e) {
|
|
4167
|
+
if (!fr(t))
|
|
4211
4168
|
return null;
|
|
4212
|
-
const r =
|
|
4213
|
-
return
|
|
4169
|
+
const r = Bi(t);
|
|
4170
|
+
return Hi(r, e);
|
|
4214
4171
|
}
|
|
4215
|
-
function
|
|
4172
|
+
function Pi(t) {
|
|
4216
4173
|
if (t == null)
|
|
4217
4174
|
return;
|
|
4218
|
-
const e =
|
|
4175
|
+
const e = Ht(t);
|
|
4219
4176
|
for (let r = 0; r < e.length; r++) {
|
|
4220
4177
|
const n = e[r];
|
|
4221
|
-
if (
|
|
4178
|
+
if (fr(n))
|
|
4222
4179
|
return n;
|
|
4223
4180
|
}
|
|
4224
4181
|
}
|
|
4225
|
-
function
|
|
4226
|
-
delete G[t], lt.update((r) => (r[t] =
|
|
4182
|
+
function mr(t, ...e) {
|
|
4183
|
+
delete G[t], lt.update((r) => (r[t] = Mn.all([r[t] || {}, ...e]), r));
|
|
4227
4184
|
}
|
|
4228
|
-
|
|
4185
|
+
Y(
|
|
4229
4186
|
[lt],
|
|
4230
4187
|
([t]) => Object.keys(t)
|
|
4231
4188
|
);
|
|
4232
|
-
lt.subscribe((t) =>
|
|
4189
|
+
lt.subscribe((t) => ne = t);
|
|
4233
4190
|
const bt = {};
|
|
4234
|
-
function
|
|
4191
|
+
function Li(t, e) {
|
|
4235
4192
|
bt[t].delete(e), bt[t].size === 0 && delete bt[t];
|
|
4236
4193
|
}
|
|
4237
|
-
function
|
|
4194
|
+
function pr(t) {
|
|
4238
4195
|
return bt[t];
|
|
4239
4196
|
}
|
|
4240
|
-
function
|
|
4241
|
-
return
|
|
4242
|
-
const r =
|
|
4197
|
+
function Oi(t) {
|
|
4198
|
+
return Ht(t).map((e) => {
|
|
4199
|
+
const r = pr(e);
|
|
4243
4200
|
return [e, r ? [...r] : []];
|
|
4244
4201
|
}).filter(([, e]) => e.length > 0);
|
|
4245
4202
|
}
|
|
4246
|
-
function
|
|
4247
|
-
return t == null ? !1 :
|
|
4203
|
+
function Yt(t) {
|
|
4204
|
+
return t == null ? !1 : Ht(t).some(
|
|
4248
4205
|
(e) => {
|
|
4249
4206
|
var r;
|
|
4250
|
-
return (r =
|
|
4207
|
+
return (r = pr(e)) == null ? void 0 : r.size;
|
|
4251
4208
|
}
|
|
4252
4209
|
);
|
|
4253
4210
|
}
|
|
4254
|
-
function
|
|
4211
|
+
function Ii(t, e) {
|
|
4255
4212
|
return Promise.all(
|
|
4256
|
-
e.map((n) => (
|
|
4257
|
-
).then((n) =>
|
|
4258
|
-
}
|
|
4259
|
-
const
|
|
4260
|
-
function
|
|
4261
|
-
if (!
|
|
4262
|
-
return t in
|
|
4263
|
-
const e =
|
|
4264
|
-
return
|
|
4213
|
+
e.map((n) => (Li(t, n), n().then((i) => i.default || i)))
|
|
4214
|
+
).then((n) => mr(t, ...n));
|
|
4215
|
+
}
|
|
4216
|
+
const rt = {};
|
|
4217
|
+
function dr(t) {
|
|
4218
|
+
if (!Yt(t))
|
|
4219
|
+
return t in rt ? rt[t] : Promise.resolve();
|
|
4220
|
+
const e = Oi(t);
|
|
4221
|
+
return rt[t] = Promise.all(
|
|
4265
4222
|
e.map(
|
|
4266
|
-
([r, n]) =>
|
|
4223
|
+
([r, n]) => Ii(r, n)
|
|
4267
4224
|
)
|
|
4268
4225
|
).then(() => {
|
|
4269
|
-
if (
|
|
4270
|
-
return
|
|
4271
|
-
delete
|
|
4272
|
-
}),
|
|
4226
|
+
if (Yt(t))
|
|
4227
|
+
return dr(t);
|
|
4228
|
+
delete rt[t];
|
|
4229
|
+
}), rt[t];
|
|
4273
4230
|
}
|
|
4274
|
-
const
|
|
4231
|
+
const Mi = {
|
|
4275
4232
|
number: {
|
|
4276
4233
|
scientific: { notation: "scientific" },
|
|
4277
4234
|
engineering: { notation: "engineering" },
|
|
@@ -4300,135 +4257,135 @@ const Ui = {
|
|
|
4300
4257
|
timeZoneName: "short"
|
|
4301
4258
|
}
|
|
4302
4259
|
}
|
|
4303
|
-
},
|
|
4260
|
+
}, Ni = {
|
|
4304
4261
|
fallbackLocale: null,
|
|
4305
4262
|
loadingDelay: 200,
|
|
4306
|
-
formats:
|
|
4263
|
+
formats: Mi,
|
|
4307
4264
|
warnOnMissingMessages: !0,
|
|
4308
4265
|
handleMissingMessage: void 0,
|
|
4309
4266
|
ignoreTag: !0
|
|
4310
|
-
},
|
|
4311
|
-
function
|
|
4312
|
-
return
|
|
4267
|
+
}, $i = Ni;
|
|
4268
|
+
function q() {
|
|
4269
|
+
return $i;
|
|
4313
4270
|
}
|
|
4314
|
-
const
|
|
4315
|
-
var
|
|
4271
|
+
const Gt = St(!1);
|
|
4272
|
+
var Ri = Object.defineProperty, Gi = Object.defineProperties, Ui = Object.getOwnPropertyDescriptors, He = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Fi = Object.prototype.propertyIsEnumerable, Ce = (t, e, r) => e in t ? Ri(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, ji = (t, e) => {
|
|
4316
4273
|
for (var r in e || (e = {}))
|
|
4317
|
-
|
|
4318
|
-
if (
|
|
4319
|
-
for (var r of
|
|
4320
|
-
|
|
4274
|
+
Di.call(e, r) && Ce(t, r, e[r]);
|
|
4275
|
+
if (He)
|
|
4276
|
+
for (var r of He(e))
|
|
4277
|
+
Fi.call(e, r) && Ce(t, r, e[r]);
|
|
4321
4278
|
return t;
|
|
4322
|
-
},
|
|
4323
|
-
let
|
|
4324
|
-
const
|
|
4325
|
-
function
|
|
4279
|
+
}, ki = (t, e) => Gi(t, Ui(e));
|
|
4280
|
+
let Kt;
|
|
4281
|
+
const _t = St(null);
|
|
4282
|
+
function Be(t) {
|
|
4326
4283
|
return t.split("-").map((e, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4327
4284
|
}
|
|
4328
|
-
function
|
|
4329
|
-
const r =
|
|
4330
|
-
return e ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4285
|
+
function Ht(t, e = q().fallbackLocale) {
|
|
4286
|
+
const r = Be(t);
|
|
4287
|
+
return e ? [.../* @__PURE__ */ new Set([...r, ...Be(e)])] : r;
|
|
4331
4288
|
}
|
|
4332
4289
|
function D() {
|
|
4333
|
-
return
|
|
4290
|
+
return Kt ?? void 0;
|
|
4334
4291
|
}
|
|
4335
|
-
|
|
4336
|
-
|
|
4292
|
+
_t.subscribe((t) => {
|
|
4293
|
+
Kt = t ?? void 0, typeof window < "u" && t != null && document.documentElement.setAttribute("lang", t);
|
|
4337
4294
|
});
|
|
4338
|
-
const
|
|
4339
|
-
if (t &&
|
|
4340
|
-
const { loadingDelay: e } =
|
|
4295
|
+
const Vi = (t) => {
|
|
4296
|
+
if (t && Pi(t) && Yt(t)) {
|
|
4297
|
+
const { loadingDelay: e } = q();
|
|
4341
4298
|
let r;
|
|
4342
4299
|
return typeof window < "u" && D() != null && e ? r = window.setTimeout(
|
|
4343
|
-
() =>
|
|
4300
|
+
() => Gt.set(!0),
|
|
4344
4301
|
e
|
|
4345
|
-
) :
|
|
4346
|
-
|
|
4302
|
+
) : Gt.set(!0), dr(t).then(() => {
|
|
4303
|
+
_t.set(t);
|
|
4347
4304
|
}).finally(() => {
|
|
4348
|
-
clearTimeout(r),
|
|
4305
|
+
clearTimeout(r), Gt.set(!1);
|
|
4349
4306
|
});
|
|
4350
4307
|
}
|
|
4351
|
-
return
|
|
4352
|
-
},
|
|
4353
|
-
set:
|
|
4354
|
-
}),
|
|
4308
|
+
return _t.set(t);
|
|
4309
|
+
}, K = ki(ji({}, _t), {
|
|
4310
|
+
set: Vi
|
|
4311
|
+
}), Ct = (t) => {
|
|
4355
4312
|
const e = /* @__PURE__ */ Object.create(null);
|
|
4356
4313
|
return (n) => {
|
|
4357
4314
|
const i = JSON.stringify(n);
|
|
4358
4315
|
return i in e ? e[i] : e[i] = t(n);
|
|
4359
4316
|
};
|
|
4360
4317
|
};
|
|
4361
|
-
var
|
|
4318
|
+
var Xi = Object.defineProperty, xt = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Ae = (t, e, r) => e in t ? Xi(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, ie = (t, e) => {
|
|
4362
4319
|
for (var r in e || (e = {}))
|
|
4363
|
-
|
|
4364
|
-
if (
|
|
4365
|
-
for (var r of
|
|
4366
|
-
|
|
4320
|
+
br.call(e, r) && Ae(t, r, e[r]);
|
|
4321
|
+
if (xt)
|
|
4322
|
+
for (var r of xt(e))
|
|
4323
|
+
gr.call(e, r) && Ae(t, r, e[r]);
|
|
4367
4324
|
return t;
|
|
4368
|
-
},
|
|
4325
|
+
}, tt = (t, e) => {
|
|
4369
4326
|
var r = {};
|
|
4370
4327
|
for (var n in t)
|
|
4371
|
-
|
|
4372
|
-
if (t != null &&
|
|
4373
|
-
for (var n of
|
|
4374
|
-
e.indexOf(n) < 0 &&
|
|
4328
|
+
br.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
|
|
4329
|
+
if (t != null && xt)
|
|
4330
|
+
for (var n of xt(t))
|
|
4331
|
+
e.indexOf(n) < 0 && gr.call(t, n) && (r[n] = t[n]);
|
|
4375
4332
|
return r;
|
|
4376
4333
|
};
|
|
4377
|
-
const
|
|
4378
|
-
const { formats: r } =
|
|
4334
|
+
const at = (t, e) => {
|
|
4335
|
+
const { formats: r } = q();
|
|
4379
4336
|
if (t in r && e in r[t])
|
|
4380
4337
|
return r[t][e];
|
|
4381
4338
|
throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`);
|
|
4382
|
-
},
|
|
4339
|
+
}, zi = Ct(
|
|
4383
4340
|
(t) => {
|
|
4384
|
-
var e = t, { locale: r, format: n } = e, i =
|
|
4341
|
+
var e = t, { locale: r, format: n } = e, i = tt(e, ["locale", "format"]);
|
|
4385
4342
|
if (r == null)
|
|
4386
4343
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4387
|
-
return n && (i =
|
|
4344
|
+
return n && (i = at("number", n)), new Intl.NumberFormat(r, i);
|
|
4388
4345
|
}
|
|
4389
|
-
),
|
|
4346
|
+
), Wi = Ct(
|
|
4390
4347
|
(t) => {
|
|
4391
|
-
var e = t, { locale: r, format: n } = e, i =
|
|
4348
|
+
var e = t, { locale: r, format: n } = e, i = tt(e, ["locale", "format"]);
|
|
4392
4349
|
if (r == null)
|
|
4393
4350
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4394
|
-
return n ? i =
|
|
4351
|
+
return n ? i = at("date", n) : Object.keys(i).length === 0 && (i = at("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4395
4352
|
}
|
|
4396
|
-
),
|
|
4353
|
+
), Zi = Ct(
|
|
4397
4354
|
(t) => {
|
|
4398
|
-
var e = t, { locale: r, format: n } = e, i =
|
|
4355
|
+
var e = t, { locale: r, format: n } = e, i = tt(e, ["locale", "format"]);
|
|
4399
4356
|
if (r == null)
|
|
4400
4357
|
throw new Error(
|
|
4401
4358
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4402
4359
|
);
|
|
4403
|
-
return n ? i =
|
|
4360
|
+
return n ? i = at("time", n) : Object.keys(i).length === 0 && (i = at("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4404
4361
|
}
|
|
4405
|
-
),
|
|
4362
|
+
), Qi = (t = {}) => {
|
|
4406
4363
|
var e = t, {
|
|
4407
4364
|
locale: r = D()
|
|
4408
|
-
} = e, n =
|
|
4365
|
+
} = e, n = tt(e, [
|
|
4409
4366
|
"locale"
|
|
4410
4367
|
]);
|
|
4411
|
-
return
|
|
4412
|
-
},
|
|
4368
|
+
return zi(ie({ locale: r }, n));
|
|
4369
|
+
}, Ji = (t = {}) => {
|
|
4413
4370
|
var e = t, {
|
|
4414
4371
|
locale: r = D()
|
|
4415
|
-
} = e, n =
|
|
4372
|
+
} = e, n = tt(e, [
|
|
4416
4373
|
"locale"
|
|
4417
4374
|
]);
|
|
4418
|
-
return
|
|
4419
|
-
},
|
|
4375
|
+
return Wi(ie({ locale: r }, n));
|
|
4376
|
+
}, qi = (t = {}) => {
|
|
4420
4377
|
var e = t, {
|
|
4421
4378
|
locale: r = D()
|
|
4422
|
-
} = e, n =
|
|
4379
|
+
} = e, n = tt(e, [
|
|
4423
4380
|
"locale"
|
|
4424
4381
|
]);
|
|
4425
|
-
return
|
|
4426
|
-
},
|
|
4382
|
+
return Zi(ie({ locale: r }, n));
|
|
4383
|
+
}, Yi = Ct(
|
|
4427
4384
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4428
|
-
(t, e = D()) => new
|
|
4429
|
-
ignoreTag:
|
|
4385
|
+
(t, e = D()) => new Ti(t, e, q().formats, {
|
|
4386
|
+
ignoreTag: q().ignoreTag
|
|
4430
4387
|
})
|
|
4431
|
-
),
|
|
4388
|
+
), Ki = (t, e = {}) => {
|
|
4432
4389
|
var r, n, i, o;
|
|
4433
4390
|
let a = e;
|
|
4434
4391
|
typeof t == "object" && (a = t, t = a.id);
|
|
@@ -4441,9 +4398,9 @@ const st = (t, e) => {
|
|
|
4441
4398
|
throw new Error(
|
|
4442
4399
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4443
4400
|
);
|
|
4444
|
-
let h =
|
|
4401
|
+
let h = cr(t, l);
|
|
4445
4402
|
if (!h)
|
|
4446
|
-
h = (o = (i = (n = (r =
|
|
4403
|
+
h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: t, defaultValue: u })) != null ? i : u) != null ? o : t;
|
|
4447
4404
|
else if (typeof h != "string")
|
|
4448
4405
|
return console.warn(
|
|
4449
4406
|
`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4452,7 +4409,7 @@ const st = (t, e) => {
|
|
|
4452
4409
|
return h;
|
|
4453
4410
|
let c = h;
|
|
4454
4411
|
try {
|
|
4455
|
-
c =
|
|
4412
|
+
c = Yi(h, l).format(s);
|
|
4456
4413
|
} catch (f) {
|
|
4457
4414
|
f instanceof Error && console.warn(
|
|
4458
4415
|
`[svelte-i18n] Message "${t}" has syntax error:`,
|
|
@@ -4460,20 +4417,20 @@ const st = (t, e) => {
|
|
|
4460
4417
|
);
|
|
4461
4418
|
}
|
|
4462
4419
|
return c;
|
|
4463
|
-
},
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
window.emWidgets = { topic:
|
|
4469
|
-
const
|
|
4470
|
-
function
|
|
4420
|
+
}, to = (t, e) => qi(e).format(t), eo = (t, e) => Ji(e).format(t), ro = (t, e) => Qi(e).format(t), no = (t, e = D()) => cr(t, e), io = Y([K, lt], () => Ki);
|
|
4421
|
+
Y([K], () => to);
|
|
4422
|
+
Y([K], () => eo);
|
|
4423
|
+
Y([K], () => ro);
|
|
4424
|
+
Y([K, lt], () => no);
|
|
4425
|
+
window.emWidgets = { topic: gn };
|
|
4426
|
+
const oo = (t) => t.toLowerCase().match(/android/i) ? "Android" : t.toLowerCase().match(/iphone/i) ? "iPhone" : t.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4427
|
+
function so(t, e) {
|
|
4471
4428
|
if (t) {
|
|
4472
4429
|
const r = document.createElement("style");
|
|
4473
4430
|
r.innerHTML = e, t.appendChild(r);
|
|
4474
4431
|
}
|
|
4475
4432
|
}
|
|
4476
|
-
function
|
|
4433
|
+
function ao(t, e) {
|
|
4477
4434
|
const r = new URL(e);
|
|
4478
4435
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4479
4436
|
const i = document.createElement("style");
|
|
@@ -4482,7 +4439,7 @@ function fo(t, e) {
|
|
|
4482
4439
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4483
4440
|
});
|
|
4484
4441
|
}
|
|
4485
|
-
function
|
|
4442
|
+
function uo(t, e, r) {
|
|
4486
4443
|
if (window.emMessageBus) {
|
|
4487
4444
|
const n = document.createElement("style");
|
|
4488
4445
|
window.emMessageBus.subscribe(e, (i) => {
|
|
@@ -4490,13 +4447,13 @@ function mo(t, e, r) {
|
|
|
4490
4447
|
});
|
|
4491
4448
|
}
|
|
4492
4449
|
}
|
|
4493
|
-
function
|
|
4494
|
-
|
|
4450
|
+
function Pe(t, e) {
|
|
4451
|
+
mr(t, e);
|
|
4495
4452
|
}
|
|
4496
|
-
function
|
|
4497
|
-
|
|
4453
|
+
function lo(t) {
|
|
4454
|
+
K.set(t);
|
|
4498
4455
|
}
|
|
4499
|
-
const
|
|
4456
|
+
const Le = {
|
|
4500
4457
|
en: {
|
|
4501
4458
|
cancel: "Cancel",
|
|
4502
4459
|
confirm: "Confirm"
|
|
@@ -4542,26 +4499,26 @@ const $e = {
|
|
|
4542
4499
|
confirm: "Confirm"
|
|
4543
4500
|
}
|
|
4544
4501
|
};
|
|
4545
|
-
function
|
|
4546
|
-
|
|
4502
|
+
function ho(t) {
|
|
4503
|
+
Lr(t, "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}');
|
|
4547
4504
|
}
|
|
4548
|
-
const
|
|
4549
|
-
function
|
|
4505
|
+
const co = (t) => ({}), Oe = (t) => ({});
|
|
4506
|
+
function fo(t) {
|
|
4550
4507
|
let e, r;
|
|
4551
4508
|
return {
|
|
4552
4509
|
c() {
|
|
4553
|
-
e =
|
|
4510
|
+
e = ae("svg"), r = ae("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(e, "class", "w-6 h-6"), H(e, "fill", "none"), H(e, "stroke", "currentColor"), H(e, "viewBox", "0 0 24 24"), H(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
4554
4511
|
},
|
|
4555
4512
|
m(n, i) {
|
|
4556
|
-
|
|
4513
|
+
re(n, e, i), P(e, r);
|
|
4557
4514
|
},
|
|
4558
|
-
p:
|
|
4515
|
+
p: O,
|
|
4559
4516
|
d(n) {
|
|
4560
|
-
n &&
|
|
4517
|
+
n && ut(e);
|
|
4561
4518
|
}
|
|
4562
4519
|
};
|
|
4563
4520
|
}
|
|
4564
|
-
function
|
|
4521
|
+
function mo(t) {
|
|
4565
4522
|
let e, r, n, i, o, a, s, l, u, h = (
|
|
4566
4523
|
/*$_*/
|
|
4567
4524
|
t[2]("cancel") + ""
|
|
@@ -4572,38 +4529,38 @@ function vo(t) {
|
|
|
4572
4529
|
const S = (
|
|
4573
4530
|
/*#slots*/
|
|
4574
4531
|
t[14].close
|
|
4575
|
-
), B =
|
|
4532
|
+
), B = Tr(
|
|
4576
4533
|
S,
|
|
4577
4534
|
t,
|
|
4578
4535
|
/*$$scope*/
|
|
4579
4536
|
t[13],
|
|
4580
|
-
|
|
4581
|
-
),
|
|
4537
|
+
Oe
|
|
4538
|
+
), w = B || fo();
|
|
4582
4539
|
return {
|
|
4583
4540
|
c() {
|
|
4584
|
-
e = I("div"), r = I("div"), n = I("span"),
|
|
4541
|
+
e = I("div"), r = I("div"), n = I("span"), w && w.c(), i = Bt(), o = I("div"), a = nt(
|
|
4585
4542
|
/*modaltext*/
|
|
4586
4543
|
t[0]
|
|
4587
|
-
), s =
|
|
4544
|
+
), s = Bt(), l = I("div"), u = I("button"), c = nt(h), f = Bt(), p = I("button"), d = nt(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*/
|
|
4588
4545
|
(t[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), H(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
|
|
4589
4546
|
(t[3] ? "GamingLimitsConfirmationContainerMobile" : "")), H(e, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
|
|
4590
4547
|
(t[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
|
|
4591
4548
|
},
|
|
4592
|
-
m(
|
|
4593
|
-
|
|
4594
|
-
|
|
4549
|
+
m(x, L) {
|
|
4550
|
+
re(x, e, L), P(e, r), P(r, n), w && w.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), t[15](e), v = !0, T || (C = [
|
|
4551
|
+
At(
|
|
4595
4552
|
n,
|
|
4596
4553
|
"click",
|
|
4597
4554
|
/*close*/
|
|
4598
4555
|
t[4]
|
|
4599
4556
|
),
|
|
4600
|
-
|
|
4557
|
+
At(
|
|
4601
4558
|
u,
|
|
4602
4559
|
"click",
|
|
4603
4560
|
/*cancelChanges*/
|
|
4604
4561
|
t[6]
|
|
4605
4562
|
),
|
|
4606
|
-
|
|
4563
|
+
At(
|
|
4607
4564
|
p,
|
|
4608
4565
|
"click",
|
|
4609
4566
|
/*confirmChanges*/
|
|
@@ -4611,64 +4568,64 @@ function vo(t) {
|
|
|
4611
4568
|
)
|
|
4612
4569
|
], T = !0);
|
|
4613
4570
|
},
|
|
4614
|
-
p(
|
|
4615
|
-
B && B.p && (!v ||
|
|
4616
|
-
8192) &&
|
|
4571
|
+
p(x, [L]) {
|
|
4572
|
+
B && B.p && (!v || L & /*$$scope*/
|
|
4573
|
+
8192) && Cr(
|
|
4617
4574
|
B,
|
|
4618
4575
|
S,
|
|
4619
|
-
|
|
4576
|
+
x,
|
|
4620
4577
|
/*$$scope*/
|
|
4621
|
-
|
|
4622
|
-
v ?
|
|
4578
|
+
x[13],
|
|
4579
|
+
v ? Hr(
|
|
4623
4580
|
S,
|
|
4624
4581
|
/*$$scope*/
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
) :
|
|
4582
|
+
x[13],
|
|
4583
|
+
L,
|
|
4584
|
+
co
|
|
4585
|
+
) : Br(
|
|
4629
4586
|
/*$$scope*/
|
|
4630
|
-
|
|
4587
|
+
x[13]
|
|
4631
4588
|
),
|
|
4632
|
-
|
|
4633
|
-
), (!v ||
|
|
4634
|
-
1) &&
|
|
4589
|
+
Oe
|
|
4590
|
+
), (!v || L & /*modaltext*/
|
|
4591
|
+
1) && Pt(
|
|
4635
4592
|
a,
|
|
4636
4593
|
/*modaltext*/
|
|
4637
|
-
|
|
4638
|
-
), (!v ||
|
|
4594
|
+
x[0]
|
|
4595
|
+
), (!v || L & /*$_*/
|
|
4639
4596
|
4) && h !== (h = /*$_*/
|
|
4640
|
-
|
|
4597
|
+
x[2]("cancel") + "") && Pt(c, h), (!v || L & /*$_*/
|
|
4641
4598
|
4) && m !== (m = /*$_*/
|
|
4642
|
-
|
|
4599
|
+
x[2]("confirm") + "") && Pt(d, m);
|
|
4643
4600
|
},
|
|
4644
|
-
i(
|
|
4645
|
-
v || (
|
|
4601
|
+
i(x) {
|
|
4602
|
+
v || (De(w, x), v = !0);
|
|
4646
4603
|
},
|
|
4647
|
-
o(
|
|
4648
|
-
|
|
4604
|
+
o(x) {
|
|
4605
|
+
Wr(w, x), v = !1;
|
|
4649
4606
|
},
|
|
4650
|
-
d(
|
|
4651
|
-
|
|
4607
|
+
d(x) {
|
|
4608
|
+
x && ut(e), w && w.d(x), t[15](null), T = !1, U(C);
|
|
4652
4609
|
}
|
|
4653
4610
|
};
|
|
4654
4611
|
}
|
|
4655
|
-
function
|
|
4612
|
+
function po(t, e, r) {
|
|
4656
4613
|
let n;
|
|
4657
|
-
|
|
4614
|
+
Sr(t, io, (g) => r(2, n = g));
|
|
4658
4615
|
let { $$slots: i = {}, $$scope: o } = e, { modaltext: a = "Are you sure that you want to perform this action?" } = e, { modalsource: s = "" } = e, { lang: l = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: h = "" } = e, { mbsource: c } = e, { translationurl: f = "" } = e;
|
|
4659
4616
|
const p = () => {
|
|
4660
4617
|
fetch(f).then((F) => F.json()).then((F) => {
|
|
4661
|
-
Object.keys(F).forEach((
|
|
4662
|
-
|
|
4618
|
+
Object.keys(F).forEach((oe) => {
|
|
4619
|
+
Pe(oe, F[oe]);
|
|
4663
4620
|
});
|
|
4664
4621
|
}).catch((F) => {
|
|
4665
4622
|
console.log(F);
|
|
4666
4623
|
});
|
|
4667
4624
|
};
|
|
4668
|
-
Object.keys(
|
|
4669
|
-
|
|
4625
|
+
Object.keys(Le).forEach((g) => {
|
|
4626
|
+
Pe(g, Le[g]);
|
|
4670
4627
|
});
|
|
4671
|
-
let m, d = window.navigator.userAgent, v =
|
|
4628
|
+
let m, d = window.navigator.userAgent, v = oo(d) !== "PC", T = {}, C = "";
|
|
4672
4629
|
const S = () => {
|
|
4673
4630
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4674
4631
|
}, B = () => {
|
|
@@ -4680,23 +4637,23 @@ function _o(t, e, r) {
|
|
|
4680
4637
|
},
|
|
4681
4638
|
window.location.href
|
|
4682
4639
|
), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4683
|
-
},
|
|
4640
|
+
}, w = () => {
|
|
4684
4641
|
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);
|
|
4685
|
-
},
|
|
4642
|
+
}, x = (g) => g === "Time Limit" ? "cumulativeSessionLimits" : g === "Deposit Limit" ? "depositLimits" : g === "Wagering Limit" ? "wageringLimit" : "lossLimit", L = (g) => {
|
|
4686
4643
|
if (g.data)
|
|
4687
4644
|
switch (g.data.type) {
|
|
4688
4645
|
case "DeleteLimitsItem":
|
|
4689
|
-
T = g.data.removeData, C =
|
|
4646
|
+
T = g.data.removeData, C = x(g.data.removeName);
|
|
4690
4647
|
break;
|
|
4691
4648
|
}
|
|
4692
|
-
},
|
|
4693
|
-
|
|
4649
|
+
}, vr = () => {
|
|
4650
|
+
lo(l);
|
|
4694
4651
|
};
|
|
4695
|
-
|
|
4696
|
-
window.removeEventListener("message",
|
|
4652
|
+
Fr(() => (window.addEventListener("message", L, !1), () => {
|
|
4653
|
+
window.removeEventListener("message", L);
|
|
4697
4654
|
}));
|
|
4698
|
-
function
|
|
4699
|
-
|
|
4655
|
+
function _r(g) {
|
|
4656
|
+
Ut[g ? "unshift" : "push"](() => {
|
|
4700
4657
|
m = g, r(1, m);
|
|
4701
4658
|
});
|
|
4702
4659
|
}
|
|
@@ -4704,10 +4661,10 @@ function _o(t, e, r) {
|
|
|
4704
4661
|
"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);
|
|
4705
4662
|
}, t.$$.update = () => {
|
|
4706
4663
|
t.$$.dirty & /*modaltext, modalsource, lang*/
|
|
4707
|
-
385 && a && s && l &&
|
|
4708
|
-
514 && u && m &&
|
|
4709
|
-
1026 && h && m &&
|
|
4710
|
-
2050 && c && m &&
|
|
4664
|
+
385 && a && s && l && vr(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4665
|
+
514 && u && m && so(m, u), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4666
|
+
1026 && h && m && ao(m, h), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4667
|
+
2050 && c && m && uo(m, `${c}.Style`), t.$$.dirty & /*translationurl*/
|
|
4711
4668
|
4096 && f && p();
|
|
4712
4669
|
}, [
|
|
4713
4670
|
a,
|
|
@@ -4716,7 +4673,7 @@ function _o(t, e, r) {
|
|
|
4716
4673
|
v,
|
|
4717
4674
|
S,
|
|
4718
4675
|
B,
|
|
4719
|
-
|
|
4676
|
+
w,
|
|
4720
4677
|
s,
|
|
4721
4678
|
l,
|
|
4722
4679
|
u,
|
|
@@ -4725,17 +4682,17 @@ function _o(t, e, r) {
|
|
|
4725
4682
|
f,
|
|
4726
4683
|
o,
|
|
4727
4684
|
i,
|
|
4728
|
-
|
|
4685
|
+
_r
|
|
4729
4686
|
];
|
|
4730
4687
|
}
|
|
4731
|
-
class
|
|
4688
|
+
class yr extends tn {
|
|
4732
4689
|
constructor(e) {
|
|
4733
|
-
super(),
|
|
4690
|
+
super(), Yr(
|
|
4734
4691
|
this,
|
|
4735
4692
|
e,
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4693
|
+
po,
|
|
4694
|
+
mo,
|
|
4695
|
+
Me,
|
|
4739
4696
|
{
|
|
4740
4697
|
modaltext: 0,
|
|
4741
4698
|
modalsource: 7,
|
|
@@ -4745,106 +4702,106 @@ class wr extends sn {
|
|
|
4745
4702
|
mbsource: 11,
|
|
4746
4703
|
translationurl: 12
|
|
4747
4704
|
},
|
|
4748
|
-
|
|
4705
|
+
ho
|
|
4749
4706
|
);
|
|
4750
4707
|
}
|
|
4751
4708
|
get modaltext() {
|
|
4752
4709
|
return this.$$.ctx[0];
|
|
4753
4710
|
}
|
|
4754
4711
|
set modaltext(e) {
|
|
4755
|
-
this.$$set({ modaltext: e }),
|
|
4712
|
+
this.$$set({ modaltext: e }), M();
|
|
4756
4713
|
}
|
|
4757
4714
|
get modalsource() {
|
|
4758
4715
|
return this.$$.ctx[7];
|
|
4759
4716
|
}
|
|
4760
4717
|
set modalsource(e) {
|
|
4761
|
-
this.$$set({ modalsource: e }),
|
|
4718
|
+
this.$$set({ modalsource: e }), M();
|
|
4762
4719
|
}
|
|
4763
4720
|
get lang() {
|
|
4764
4721
|
return this.$$.ctx[8];
|
|
4765
4722
|
}
|
|
4766
4723
|
set lang(e) {
|
|
4767
|
-
this.$$set({ lang: e }),
|
|
4724
|
+
this.$$set({ lang: e }), M();
|
|
4768
4725
|
}
|
|
4769
4726
|
get clientstyling() {
|
|
4770
4727
|
return this.$$.ctx[9];
|
|
4771
4728
|
}
|
|
4772
4729
|
set clientstyling(e) {
|
|
4773
|
-
this.$$set({ clientstyling: e }),
|
|
4730
|
+
this.$$set({ clientstyling: e }), M();
|
|
4774
4731
|
}
|
|
4775
4732
|
get clientstylingurl() {
|
|
4776
4733
|
return this.$$.ctx[10];
|
|
4777
4734
|
}
|
|
4778
4735
|
set clientstylingurl(e) {
|
|
4779
|
-
this.$$set({ clientstylingurl: e }),
|
|
4736
|
+
this.$$set({ clientstylingurl: e }), M();
|
|
4780
4737
|
}
|
|
4781
4738
|
get mbsource() {
|
|
4782
4739
|
return this.$$.ctx[11];
|
|
4783
4740
|
}
|
|
4784
4741
|
set mbsource(e) {
|
|
4785
|
-
this.$$set({ mbsource: e }),
|
|
4742
|
+
this.$$set({ mbsource: e }), M();
|
|
4786
4743
|
}
|
|
4787
4744
|
get translationurl() {
|
|
4788
4745
|
return this.$$.ctx[12];
|
|
4789
4746
|
}
|
|
4790
4747
|
set translationurl(e) {
|
|
4791
|
-
this.$$set({ translationurl: e }),
|
|
4748
|
+
this.$$set({ translationurl: e }), M();
|
|
4792
4749
|
}
|
|
4793
4750
|
}
|
|
4794
|
-
|
|
4795
|
-
const
|
|
4751
|
+
Kr(yr, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
|
|
4752
|
+
const Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4796
4753
|
__proto__: null,
|
|
4797
|
-
default:
|
|
4754
|
+
default: yr
|
|
4798
4755
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4799
4756
|
export {
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4757
|
+
K as $,
|
|
4758
|
+
_o as A,
|
|
4759
|
+
Ut as B,
|
|
4760
|
+
go as C,
|
|
4761
|
+
Eo as D,
|
|
4762
|
+
Et as E,
|
|
4763
|
+
xo as F,
|
|
4807
4764
|
vt as G,
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4765
|
+
io as H,
|
|
4766
|
+
so as I,
|
|
4767
|
+
ao as J,
|
|
4768
|
+
uo as K,
|
|
4769
|
+
xr as L,
|
|
4770
|
+
Wr as M,
|
|
4771
|
+
De as N,
|
|
4772
|
+
To as O,
|
|
4773
|
+
Tr as P,
|
|
4774
|
+
Ho as Q,
|
|
4775
|
+
Cr as R,
|
|
4776
|
+
tn as S,
|
|
4777
|
+
Br as T,
|
|
4778
|
+
Hr as U,
|
|
4779
|
+
So as V,
|
|
4780
|
+
Bo as W,
|
|
4781
|
+
mr as a,
|
|
4782
|
+
Lr as b,
|
|
4783
|
+
Kr as c,
|
|
4784
|
+
ut as d,
|
|
4785
|
+
Pt as e,
|
|
4786
|
+
M as f,
|
|
4787
|
+
vo as g,
|
|
4831
4788
|
H as h,
|
|
4832
|
-
|
|
4833
|
-
|
|
4789
|
+
Yr as i,
|
|
4790
|
+
re as j,
|
|
4834
4791
|
P as k,
|
|
4835
|
-
|
|
4792
|
+
At as l,
|
|
4836
4793
|
I as m,
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4794
|
+
O as n,
|
|
4795
|
+
Bt as o,
|
|
4796
|
+
yo as p,
|
|
4797
|
+
ae as q,
|
|
4841
4798
|
U as r,
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4799
|
+
Me as s,
|
|
4800
|
+
nt as t,
|
|
4801
|
+
Sr as u,
|
|
4802
|
+
oo as v,
|
|
4803
|
+
Fr as w,
|
|
4804
|
+
Co as x,
|
|
4805
|
+
bo as y,
|
|
4806
|
+
wo as z
|
|
4850
4807
|
};
|