@everymatrix/player-account-gaming-limits-info-card 1.86.2 → 1.86.4
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-Csrimoqp.js → PlayerAccountGamingLimitsConfirmationModal-C4Dz27ih.js} +822 -843
- package/components/PlayerAccountGamingLimitsConfirmationModal-CWWYAWLE.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CPjx_DH_.js → PlayerAccountGamingLimitsConfirmationModal-SvPCyUaX.js} +837 -858
- package/components/PlayerAccountGamingLimitsGroupEdit-BPDeFoM9.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-DSun0_Zz.js → PlayerAccountGamingLimitsGroupEdit-BfvzTuTq.js} +56 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-Ca1m5XU8.js → PlayerAccountGamingLimitsGroupEdit-M2IoKtNL.js} +56 -54
- package/components/{PlayerAccountGamingLimitsInfoCard-DzK7V5Rg.js → PlayerAccountGamingLimitsInfoCard-4YX3-aGI.js} +121 -121
- package/components/{PlayerAccountGamingLimitsInfoCard-C88f1sX4.js → PlayerAccountGamingLimitsInfoCard-ByFShT-D.js} +122 -122
- package/components/{PlayerAccountGamingLimitsInfoCard-BQDa_Mg_.cjs → PlayerAccountGamingLimitsInfoCard-DWA74Hy9.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DHSJ1hpq.js → PlayerAccountGamingLimitsPopup-CzCXVil-.js} +27 -27
- package/components/{PlayerAccountGamingLimitsPopup-Ce55cV9R.js → PlayerAccountGamingLimitsPopup-D5t58Dh9.js} +32 -32
- package/components/{PlayerAccountGamingLimitsPopup-4zxoW8_v.cjs → PlayerAccountGamingLimitsPopup-DRb7Bh4V.cjs} +1 -1
- package/components/{PlayerAccountModal-DJEDpoZF.cjs → PlayerAccountModal-DeMC4pd5.cjs} +1 -1
- package/components/{PlayerAccountModal-0pqyx-hh.js → PlayerAccountModal-Dq5DG-1T.js} +28 -28
- package/components/{PlayerAccountModal-AxHHIdPq.js → PlayerAccountModal-G6YE_K9q.js} +28 -28
- package/es2015/player-account-gaming-limits-info-card.cjs +1 -1
- package/es2015/player-account-gaming-limits-info-card.js +1 -1
- package/esnext/player-account-gaming-limits-info-card.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-RcOa0NNg.cjs +0 -21
- package/components/PlayerAccountGamingLimitsGroupEdit-Cqs__n7J.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var Lr = Object.defineProperty,
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Lr = Object.defineProperty, Or = Object.defineProperties;
|
|
2
|
+
var Ir = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ct = Object.getOwnPropertySymbols;
|
|
4
|
+
var Mr = Object.prototype.hasOwnProperty, Nr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ae = (e, t, r) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Mr.call(t, r) && Ae(e, r, t[r]);
|
|
8
|
+
if (ct)
|
|
9
|
+
for (var r of ct(t))
|
|
10
|
+
Nr.call(t, r) && Ae(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, mt = (e, t) => Or(e, Ir(t));
|
|
13
|
+
var O = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var pt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(l));
|
|
@@ -29,8 +29,8 @@ var bt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function I() {
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
function
|
|
32
|
+
const $r = (e) => e;
|
|
33
|
+
function Rr(e, t) {
|
|
34
34
|
for (const r in t)
|
|
35
35
|
e[r] = t[r];
|
|
36
36
|
return (
|
|
@@ -38,25 +38,25 @@ function Gr(e, t) {
|
|
|
38
38
|
e
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function jt(e) {
|
|
42
42
|
return e();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function dt() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
47
|
function D(e) {
|
|
48
|
-
e.forEach(
|
|
48
|
+
e.forEach(jt);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function we(e) {
|
|
51
51
|
return typeof e == "function";
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function kt(e, t) {
|
|
54
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function Gr(e) {
|
|
57
57
|
return Object.keys(e).length === 0;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Vt(e, ...t) {
|
|
60
60
|
if (e == null) {
|
|
61
61
|
for (const n of t)
|
|
62
62
|
n(void 0);
|
|
@@ -65,19 +65,19 @@ function zt(e, ...t) {
|
|
|
65
65
|
const r = e.subscribe(...t);
|
|
66
66
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
e.$$.on_destroy.push(
|
|
68
|
+
function Ur(e, t, r) {
|
|
69
|
+
e.$$.on_destroy.push(Vt(t, r));
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Dr(e, t, r, n) {
|
|
72
72
|
if (e) {
|
|
73
|
-
const i =
|
|
73
|
+
const i = Xt(e, t, r, n);
|
|
74
74
|
return e[0](i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
return e[1] && n ?
|
|
77
|
+
function Xt(e, t, r, n) {
|
|
78
|
+
return e[1] && n ? Rr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Fr(e, t, r, n) {
|
|
81
81
|
if (e[2] && n) {
|
|
82
82
|
const i = e[2](n(r));
|
|
83
83
|
if (t.dirty === void 0)
|
|
@@ -92,13 +92,13 @@ function jr(e, t, r, n) {
|
|
|
92
92
|
}
|
|
93
93
|
return t.dirty;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function jr(e, t, r, n, i, o) {
|
|
96
96
|
if (i) {
|
|
97
|
-
const a =
|
|
97
|
+
const a = Xt(t, r, n, o);
|
|
98
98
|
e.p(a, i);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function kr(e) {
|
|
102
102
|
if (e.ctx.length > 32) {
|
|
103
103
|
const t = [], r = e.ctx.length / 32;
|
|
104
104
|
for (let n = 0; n < r; n++)
|
|
@@ -107,17 +107,17 @@ function Vr(e) {
|
|
|
107
107
|
}
|
|
108
108
|
return -1;
|
|
109
109
|
}
|
|
110
|
-
const
|
|
111
|
-
let
|
|
110
|
+
const zt = typeof window != "undefined";
|
|
111
|
+
let Vr = zt ? () => window.performance.now() : () => Date.now(), nt = zt ? (e) => requestAnimationFrame(e) : I;
|
|
112
112
|
const z = /* @__PURE__ */ new Set();
|
|
113
|
-
function
|
|
113
|
+
function Wt(e) {
|
|
114
114
|
z.forEach((t) => {
|
|
115
115
|
t.c(e) || (z.delete(t), t.f());
|
|
116
|
-
}), z.size !== 0 &&
|
|
116
|
+
}), z.size !== 0 && nt(Wt);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Xr(e) {
|
|
119
119
|
let t;
|
|
120
|
-
return z.size === 0 &&
|
|
120
|
+
return z.size === 0 && nt(Wt), {
|
|
121
121
|
promise: new Promise((r) => {
|
|
122
122
|
z.add(t = { c: e, f: r });
|
|
123
123
|
}),
|
|
@@ -129,14 +129,14 @@ function zr(e) {
|
|
|
129
129
|
function P(e, t) {
|
|
130
130
|
e.appendChild(t);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
const n =
|
|
132
|
+
function zr(e, t, r) {
|
|
133
|
+
const n = it(e);
|
|
134
134
|
if (!n.getElementById(t)) {
|
|
135
135
|
const i = M("style");
|
|
136
|
-
i.id = t, i.textContent = r,
|
|
136
|
+
i.id = t, i.textContent = r, Zt(n, i);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function it(e) {
|
|
140
140
|
if (!e)
|
|
141
141
|
return document;
|
|
142
142
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -146,46 +146,46 @@ function ut(e) {
|
|
|
146
146
|
t
|
|
147
147
|
) : e.ownerDocument;
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Wr(e) {
|
|
150
150
|
const t = M("style");
|
|
151
|
-
return t.textContent = "/* empty */",
|
|
151
|
+
return t.textContent = "/* empty */", Zt(it(e), t), t.sheet;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function Zt(e, t) {
|
|
154
154
|
return P(
|
|
155
155
|
/** @type {Document} */
|
|
156
156
|
e.head || e,
|
|
157
157
|
t
|
|
158
158
|
), t.sheet;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function ot(e, t, r) {
|
|
161
161
|
e.insertBefore(t, r || null);
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function le(e) {
|
|
164
164
|
e.parentNode && e.parentNode.removeChild(e);
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Lo(e, t) {
|
|
167
167
|
for (let r = 0; r < e.length; r += 1)
|
|
168
168
|
e[r] && e[r].d(t);
|
|
169
169
|
}
|
|
170
170
|
function M(e) {
|
|
171
171
|
return document.createElement(e);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function bt(e) {
|
|
174
174
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function ie(e) {
|
|
177
177
|
return document.createTextNode(e);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
180
|
-
return
|
|
179
|
+
function Pe() {
|
|
180
|
+
return ie(" ");
|
|
181
181
|
}
|
|
182
|
-
function
|
|
183
|
-
return
|
|
182
|
+
function Oo() {
|
|
183
|
+
return ie("");
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Le(e, t, r, n) {
|
|
186
186
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function Io(e) {
|
|
189
189
|
return function(t) {
|
|
190
190
|
return t.preventDefault(), e.call(this, t);
|
|
191
191
|
};
|
|
@@ -193,24 +193,24 @@ function No(e) {
|
|
|
193
193
|
function H(e, t, r) {
|
|
194
194
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function Mo(e, t, r) {
|
|
197
197
|
const n = t.toLowerCase();
|
|
198
198
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function No(e) {
|
|
201
201
|
return e === "" ? null : +e;
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function Zr(e) {
|
|
204
204
|
return Array.from(e.childNodes);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Oe(e, t) {
|
|
207
207
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
208
208
|
t);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function $o(e, t) {
|
|
211
211
|
e.value = t == null ? "" : t;
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function Ro(e, t, r) {
|
|
214
214
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
215
215
|
const i = e.options[n];
|
|
216
216
|
if (i.__value === t) {
|
|
@@ -220,14 +220,14 @@ function Uo(e, t, r) {
|
|
|
220
220
|
}
|
|
221
221
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function Go(e) {
|
|
224
224
|
const t = e.querySelector(":checked");
|
|
225
225
|
return t && t.__value;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function Qr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
228
228
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function Jr(e) {
|
|
231
231
|
const t = {};
|
|
232
232
|
return e.childNodes.forEach(
|
|
233
233
|
/** @param {Element} node */
|
|
@@ -238,17 +238,17 @@ function qr(e) {
|
|
|
238
238
|
}
|
|
239
239
|
const ye = /* @__PURE__ */ new Map();
|
|
240
240
|
let ve = 0;
|
|
241
|
-
function
|
|
241
|
+
function qr(e) {
|
|
242
242
|
let t = 5381, r = e.length;
|
|
243
243
|
for (; r--; )
|
|
244
244
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
245
245
|
return t >>> 0;
|
|
246
246
|
}
|
|
247
|
-
function
|
|
248
|
-
const r = { stylesheet:
|
|
247
|
+
function Yr(e, t) {
|
|
248
|
+
const r = { stylesheet: Wr(t), rules: {} };
|
|
249
249
|
return ye.set(e, r), r;
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function gt(e, t, r, n, i, o, a, s = 0) {
|
|
252
252
|
const l = 16.666 / n;
|
|
253
253
|
let u = `{
|
|
254
254
|
`;
|
|
@@ -258,126 +258,126 @@ function vt(e, t, r, n, i, o, a, s = 0) {
|
|
|
258
258
|
`;
|
|
259
259
|
}
|
|
260
260
|
const h = u + `100% {${a(r, 1 - r)}}
|
|
261
|
-
}`, c = `__svelte_${
|
|
261
|
+
}`, c = `__svelte_${qr(h)}_${s}`, f = it(e), { stylesheet: p, rules: m } = ye.get(f) || Yr(f, e);
|
|
262
262
|
m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
|
|
263
263
|
const d = e.style.animation || "";
|
|
264
264
|
return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, ve += 1, c;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function Kr(e, t) {
|
|
267
267
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
268
268
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
269
269
|
// remove all Svelte animations
|
|
270
270
|
), i = r.length - n.length;
|
|
271
|
-
i && (e.style.animation = n.join(", "), ve -= i, ve ||
|
|
271
|
+
i && (e.style.animation = n.join(", "), ve -= i, ve || en());
|
|
272
272
|
}
|
|
273
|
-
function
|
|
274
|
-
|
|
273
|
+
function en() {
|
|
274
|
+
nt(() => {
|
|
275
275
|
ve || (ye.forEach((e) => {
|
|
276
276
|
const { ownerNode: t } = e.stylesheet;
|
|
277
|
-
t &&
|
|
277
|
+
t && le(t);
|
|
278
278
|
}), ye.clear());
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
|
-
let
|
|
282
|
-
function
|
|
283
|
-
|
|
281
|
+
let se;
|
|
282
|
+
function oe(e) {
|
|
283
|
+
se = e;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
286
|
-
if (!
|
|
285
|
+
function tn() {
|
|
286
|
+
if (!se)
|
|
287
287
|
throw new Error("Function called outside component initialization");
|
|
288
|
-
return
|
|
288
|
+
return se;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
|
|
290
|
+
function rn(e) {
|
|
291
|
+
tn().$$.on_mount.push(e);
|
|
292
292
|
}
|
|
293
|
-
const X = [],
|
|
293
|
+
const X = [], je = [];
|
|
294
294
|
let W = [];
|
|
295
|
-
const
|
|
296
|
-
let
|
|
297
|
-
function
|
|
298
|
-
|
|
295
|
+
const yt = [], nn = /* @__PURE__ */ Promise.resolve();
|
|
296
|
+
let ke = !1;
|
|
297
|
+
function on() {
|
|
298
|
+
ke || (ke = !0, nn.then(N));
|
|
299
299
|
}
|
|
300
300
|
function _e(e) {
|
|
301
301
|
W.push(e);
|
|
302
302
|
}
|
|
303
|
-
const
|
|
303
|
+
const Ie = /* @__PURE__ */ new Set();
|
|
304
304
|
let k = 0;
|
|
305
|
-
function
|
|
305
|
+
function N() {
|
|
306
306
|
if (k !== 0)
|
|
307
307
|
return;
|
|
308
|
-
const e =
|
|
308
|
+
const e = se;
|
|
309
309
|
do {
|
|
310
310
|
try {
|
|
311
311
|
for (; k < X.length; ) {
|
|
312
312
|
const t = X[k];
|
|
313
|
-
k++,
|
|
313
|
+
k++, oe(t), sn(t.$$);
|
|
314
314
|
}
|
|
315
315
|
} catch (t) {
|
|
316
316
|
throw X.length = 0, k = 0, t;
|
|
317
317
|
}
|
|
318
|
-
for (
|
|
319
|
-
|
|
318
|
+
for (oe(null), X.length = 0, k = 0; je.length; )
|
|
319
|
+
je.pop()();
|
|
320
320
|
for (let t = 0; t < W.length; t += 1) {
|
|
321
321
|
const r = W[t];
|
|
322
|
-
|
|
322
|
+
Ie.has(r) || (Ie.add(r), r());
|
|
323
323
|
}
|
|
324
324
|
W.length = 0;
|
|
325
325
|
} while (X.length);
|
|
326
|
-
for (;
|
|
327
|
-
|
|
328
|
-
|
|
326
|
+
for (; yt.length; )
|
|
327
|
+
yt.pop()();
|
|
328
|
+
ke = !1, Ie.clear(), oe(e);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function sn(e) {
|
|
331
331
|
if (e.fragment !== null) {
|
|
332
332
|
e.update(), D(e.before_update);
|
|
333
333
|
const t = e.dirty;
|
|
334
334
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_e);
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function an(e) {
|
|
338
338
|
const t = [], r = [];
|
|
339
339
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
340
340
|
}
|
|
341
|
-
let
|
|
342
|
-
function
|
|
343
|
-
return
|
|
344
|
-
|
|
345
|
-
})),
|
|
341
|
+
let re;
|
|
342
|
+
function un() {
|
|
343
|
+
return re || (re = Promise.resolve(), re.then(() => {
|
|
344
|
+
re = null;
|
|
345
|
+
})), re;
|
|
346
346
|
}
|
|
347
|
-
function
|
|
348
|
-
e.dispatchEvent(
|
|
347
|
+
function Me(e, t, r) {
|
|
348
|
+
e.dispatchEvent(Qr(`${t ? "intro" : "outro"}${r}`));
|
|
349
349
|
}
|
|
350
350
|
const me = /* @__PURE__ */ new Set();
|
|
351
|
-
let
|
|
352
|
-
function
|
|
353
|
-
|
|
351
|
+
let $;
|
|
352
|
+
function Uo() {
|
|
353
|
+
$ = {
|
|
354
354
|
r: 0,
|
|
355
355
|
c: [],
|
|
356
|
-
p:
|
|
356
|
+
p: $
|
|
357
357
|
// parent group
|
|
358
358
|
};
|
|
359
359
|
}
|
|
360
|
-
function
|
|
361
|
-
|
|
360
|
+
function Do() {
|
|
361
|
+
$.r || D($.c), $ = $.p;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
363
|
+
function Qt(e, t) {
|
|
364
364
|
e && e.i && (me.delete(e), e.i(t));
|
|
365
365
|
}
|
|
366
|
-
function
|
|
366
|
+
function ln(e, t, r, n) {
|
|
367
367
|
if (e && e.o) {
|
|
368
368
|
if (me.has(e))
|
|
369
369
|
return;
|
|
370
|
-
me.add(e),
|
|
370
|
+
me.add(e), $.c.push(() => {
|
|
371
371
|
me.delete(e), n && (r && e.d(1), n());
|
|
372
372
|
}), e.o(t);
|
|
373
373
|
} else
|
|
374
374
|
n && n();
|
|
375
375
|
}
|
|
376
|
-
const
|
|
377
|
-
function
|
|
376
|
+
const hn = { duration: 0 };
|
|
377
|
+
function Fo(e, t, r, n) {
|
|
378
378
|
let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
|
|
379
379
|
function c() {
|
|
380
|
-
u &&
|
|
380
|
+
u && Kr(e, u);
|
|
381
381
|
}
|
|
382
382
|
function f(m, d) {
|
|
383
383
|
const v = (
|
|
@@ -398,16 +398,16 @@ function ko(e, t, r, n) {
|
|
|
398
398
|
const {
|
|
399
399
|
delay: d = 0,
|
|
400
400
|
duration: v = 300,
|
|
401
|
-
easing: T =
|
|
401
|
+
easing: T = $r,
|
|
402
402
|
tick: C = I,
|
|
403
403
|
css: S
|
|
404
|
-
} = o ||
|
|
405
|
-
start:
|
|
404
|
+
} = o || hn, B = {
|
|
405
|
+
start: Vr() + d,
|
|
406
406
|
b: m
|
|
407
407
|
};
|
|
408
|
-
m || (
|
|
409
|
-
e.inert, e.inert = !0)), s || l ? l =
|
|
410
|
-
if (l &&
|
|
408
|
+
m || (B.group = $, $.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
409
|
+
e.inert, e.inert = !0)), s || l ? l = B : (S && (c(), u = gt(e, a, m, v, d, T, S)), m && C(0, 1), s = f(B, v), _e(() => Me(e, m, "start")), Xr((w) => {
|
|
410
|
+
if (l && w > l.start && (s = f(l, v), l = null, Me(e, s.b, "start"), S && (c(), u = gt(
|
|
411
411
|
e,
|
|
412
412
|
a,
|
|
413
413
|
s.b,
|
|
@@ -416,11 +416,11 @@ function ko(e, t, r, n) {
|
|
|
416
416
|
T,
|
|
417
417
|
o.css
|
|
418
418
|
))), s) {
|
|
419
|
-
if (
|
|
420
|
-
C(a = s.b, 1 - a),
|
|
421
|
-
else if (
|
|
422
|
-
const
|
|
423
|
-
a = s.a + s.d * T(
|
|
419
|
+
if (w >= s.end)
|
|
420
|
+
C(a = s.b, 1 - a), Me(e, s.b, "end"), l || (s.b ? c() : --s.group.r || D(s.group.c)), s = null;
|
|
421
|
+
else if (w >= s.start) {
|
|
422
|
+
const x = w - s.start;
|
|
423
|
+
a = s.a + s.d * T(x / s.duration), C(a, 1 - a);
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
426
|
return !!(s || l);
|
|
@@ -428,7 +428,7 @@ function ko(e, t, r, n) {
|
|
|
428
428
|
}
|
|
429
429
|
return {
|
|
430
430
|
run(m) {
|
|
431
|
-
|
|
431
|
+
we(o) ? un().then(() => {
|
|
432
432
|
o = o({ direction: m ? "in" : "out" }), p(m);
|
|
433
433
|
}) : p(m);
|
|
434
434
|
},
|
|
@@ -437,26 +437,26 @@ function ko(e, t, r, n) {
|
|
|
437
437
|
}
|
|
438
438
|
};
|
|
439
439
|
}
|
|
440
|
-
function
|
|
440
|
+
function jo(e) {
|
|
441
441
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
442
442
|
}
|
|
443
|
-
function
|
|
443
|
+
function cn(e, t, r) {
|
|
444
444
|
const { fragment: n, after_update: i } = e.$$;
|
|
445
445
|
n && n.m(t, r), _e(() => {
|
|
446
|
-
const o = e.$$.on_mount.map(
|
|
446
|
+
const o = e.$$.on_mount.map(jt).filter(we);
|
|
447
447
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : D(o), e.$$.on_mount = [];
|
|
448
448
|
}), i.forEach(_e);
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function fn(e, t) {
|
|
451
451
|
const r = e.$$;
|
|
452
|
-
r.fragment !== null && (
|
|
452
|
+
r.fragment !== null && (an(r.after_update), D(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
453
453
|
}
|
|
454
|
-
function
|
|
455
|
-
e.$$.dirty[0] === -1 && (X.push(e),
|
|
454
|
+
function mn(e, t) {
|
|
455
|
+
e.$$.dirty[0] === -1 && (X.push(e), on(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
456
456
|
}
|
|
457
|
-
function
|
|
458
|
-
const l =
|
|
459
|
-
|
|
457
|
+
function pn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
458
|
+
const l = se;
|
|
459
|
+
oe(e);
|
|
460
460
|
const u = e.$$ = {
|
|
461
461
|
fragment: null,
|
|
462
462
|
ctx: [],
|
|
@@ -464,7 +464,7 @@ function dn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
464
464
|
props: o,
|
|
465
465
|
update: I,
|
|
466
466
|
not_equal: i,
|
|
467
|
-
bound:
|
|
467
|
+
bound: dt(),
|
|
468
468
|
// lifecycle
|
|
469
469
|
on_mount: [],
|
|
470
470
|
on_destroy: [],
|
|
@@ -473,7 +473,7 @@ function dn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
473
473
|
after_update: [],
|
|
474
474
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
475
475
|
// everything else
|
|
476
|
-
callbacks:
|
|
476
|
+
callbacks: dt(),
|
|
477
477
|
dirty: s,
|
|
478
478
|
skip_bound: !1,
|
|
479
479
|
root: t.target || l.$$.root
|
|
@@ -482,39 +482,39 @@ function dn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
482
482
|
let h = !1;
|
|
483
483
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
484
484
|
const m = p.length ? p[0] : f;
|
|
485
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h &&
|
|
485
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && mn(e, c)), f;
|
|
486
486
|
}) : [], u.update(), h = !0, D(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
487
487
|
if (t.hydrate) {
|
|
488
|
-
const c =
|
|
489
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
488
|
+
const c = Zr(t.target);
|
|
489
|
+
u.fragment && u.fragment.l(c), c.forEach(le);
|
|
490
490
|
} else
|
|
491
491
|
u.fragment && u.fragment.c();
|
|
492
|
-
t.intro &&
|
|
492
|
+
t.intro && Qt(e.$$.fragment), cn(e, t.target, t.anchor), N();
|
|
493
493
|
}
|
|
494
|
-
|
|
494
|
+
oe(l);
|
|
495
495
|
}
|
|
496
|
-
let
|
|
497
|
-
typeof HTMLElement == "function" && (
|
|
496
|
+
let Jt;
|
|
497
|
+
typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
498
498
|
constructor(t, r, n) {
|
|
499
499
|
super();
|
|
500
500
|
/** The Svelte component constructor */
|
|
501
|
-
|
|
501
|
+
O(this, "$$ctor");
|
|
502
502
|
/** Slots */
|
|
503
|
-
|
|
503
|
+
O(this, "$$s");
|
|
504
504
|
/** The Svelte component instance */
|
|
505
|
-
|
|
505
|
+
O(this, "$$c");
|
|
506
506
|
/** Whether or not the custom element is connected */
|
|
507
|
-
|
|
507
|
+
O(this, "$$cn", !1);
|
|
508
508
|
/** Component props data */
|
|
509
|
-
|
|
509
|
+
O(this, "$$d", {});
|
|
510
510
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
511
|
-
|
|
511
|
+
O(this, "$$r", !1);
|
|
512
512
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
513
|
-
|
|
513
|
+
O(this, "$$p_d", {});
|
|
514
514
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
515
|
-
|
|
515
|
+
O(this, "$$l", {});
|
|
516
516
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
517
|
-
|
|
517
|
+
O(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
518
518
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
519
519
|
}
|
|
520
520
|
addEventListener(t, r, n) {
|
|
@@ -531,7 +531,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
connectedCallback() {
|
|
534
|
-
return
|
|
534
|
+
return pt(this, null, function* () {
|
|
535
535
|
if (this.$$cn = !0, !this.$$c) {
|
|
536
536
|
let t = function(o) {
|
|
537
537
|
return () => {
|
|
@@ -545,17 +545,17 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
|
545
545
|
* @param {HTMLElement} [anchor]
|
|
546
546
|
*/
|
|
547
547
|
m: function(u, h) {
|
|
548
|
-
|
|
548
|
+
ot(u, a, h);
|
|
549
549
|
},
|
|
550
550
|
d: function(u) {
|
|
551
|
-
u &&
|
|
551
|
+
u && le(a);
|
|
552
552
|
}
|
|
553
553
|
};
|
|
554
554
|
};
|
|
555
555
|
};
|
|
556
556
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
557
557
|
return;
|
|
558
|
-
const r = {}, n =
|
|
558
|
+
const r = {}, n = Jr(this);
|
|
559
559
|
for (const o of this.$$s)
|
|
560
560
|
o in n && (r[o] = [t(o)]);
|
|
561
561
|
for (const o of this.attributes) {
|
|
@@ -566,7 +566,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
|
566
566
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
567
567
|
this.$$c = new this.$$ctor({
|
|
568
568
|
target: this.shadowRoot || this,
|
|
569
|
-
props:
|
|
569
|
+
props: mt(ft({}, this.$$d), {
|
|
570
570
|
$$slots: r,
|
|
571
571
|
$$scope: {
|
|
572
572
|
ctx: []
|
|
@@ -644,8 +644,8 @@ function pe(e, t, r, n) {
|
|
|
644
644
|
return t;
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
|
-
function
|
|
648
|
-
let a = class extends
|
|
647
|
+
function dn(e, t, r, n, i, o) {
|
|
648
|
+
let a = class extends Jt {
|
|
649
649
|
constructor() {
|
|
650
650
|
super(e, r, i), this.$$p_d = t;
|
|
651
651
|
}
|
|
@@ -675,7 +675,7 @@ function bn(e, t, r, n, i, o) {
|
|
|
675
675
|
}), e.element = /** @type {any} */
|
|
676
676
|
a, a;
|
|
677
677
|
}
|
|
678
|
-
class
|
|
678
|
+
class bn {
|
|
679
679
|
constructor() {
|
|
680
680
|
/**
|
|
681
681
|
* ### PRIVATE API
|
|
@@ -684,7 +684,7 @@ class gn {
|
|
|
684
684
|
*
|
|
685
685
|
* @type {any}
|
|
686
686
|
*/
|
|
687
|
-
|
|
687
|
+
O(this, "$$");
|
|
688
688
|
/**
|
|
689
689
|
* ### PRIVATE API
|
|
690
690
|
*
|
|
@@ -692,11 +692,11 @@ class gn {
|
|
|
692
692
|
*
|
|
693
693
|
* @type {any}
|
|
694
694
|
*/
|
|
695
|
-
|
|
695
|
+
O(this, "$$set");
|
|
696
696
|
}
|
|
697
697
|
/** @returns {void} */
|
|
698
698
|
$destroy() {
|
|
699
|
-
|
|
699
|
+
fn(this, 1), this.$destroy = I;
|
|
700
700
|
}
|
|
701
701
|
/**
|
|
702
702
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -705,7 +705,7 @@ class gn {
|
|
|
705
705
|
* @returns {() => void}
|
|
706
706
|
*/
|
|
707
707
|
$on(t, r) {
|
|
708
|
-
if (!
|
|
708
|
+
if (!we(r))
|
|
709
709
|
return I;
|
|
710
710
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
711
711
|
return n.push(r), () => {
|
|
@@ -718,18 +718,18 @@ class gn {
|
|
|
718
718
|
* @returns {void}
|
|
719
719
|
*/
|
|
720
720
|
$set(t) {
|
|
721
|
-
this.$$set && !
|
|
721
|
+
this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
722
722
|
}
|
|
723
723
|
}
|
|
724
|
-
const
|
|
725
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
726
|
-
function
|
|
724
|
+
const gn = "4";
|
|
725
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
|
|
726
|
+
function yn(e, t) {
|
|
727
727
|
if (e) {
|
|
728
728
|
const r = document.createElement("style");
|
|
729
729
|
r.innerHTML = t, e.appendChild(r);
|
|
730
730
|
}
|
|
731
731
|
}
|
|
732
|
-
function
|
|
732
|
+
function vn(e, t) {
|
|
733
733
|
if (!e || !t)
|
|
734
734
|
return;
|
|
735
735
|
const r = new URL(t);
|
|
@@ -740,7 +740,7 @@ function _n(e, t) {
|
|
|
740
740
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
741
741
|
});
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function _n(e, t, r) {
|
|
744
744
|
if (window.emMessageBus) {
|
|
745
745
|
const n = document.createElement("style");
|
|
746
746
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -762,24 +762,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
762
762
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
763
763
|
PERFORMANCE OF THIS SOFTWARE.
|
|
764
764
|
***************************************************************************** */
|
|
765
|
-
var
|
|
766
|
-
return
|
|
765
|
+
var Ve = function(e, t) {
|
|
766
|
+
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
767
767
|
r.__proto__ = n;
|
|
768
768
|
} || function(r, n) {
|
|
769
769
|
for (var i in n)
|
|
770
770
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
771
|
-
},
|
|
771
|
+
}, Ve(e, t);
|
|
772
772
|
};
|
|
773
|
-
function
|
|
773
|
+
function G(e, t) {
|
|
774
774
|
if (typeof t != "function" && t !== null)
|
|
775
775
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
776
|
-
|
|
776
|
+
Ve(e, t);
|
|
777
777
|
function r() {
|
|
778
778
|
this.constructor = e;
|
|
779
779
|
}
|
|
780
780
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
var _ = function() {
|
|
783
|
+
return _ = Object.assign || function(t) {
|
|
784
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
785
|
+
r = arguments[n];
|
|
786
|
+
for (var o in r)
|
|
787
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
788
|
+
}
|
|
789
|
+
return t;
|
|
790
|
+
}, _.apply(this, arguments);
|
|
791
|
+
};
|
|
792
|
+
function xn(e, t) {
|
|
793
|
+
var r = {};
|
|
794
|
+
for (var n in e)
|
|
795
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
796
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
797
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
798
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
799
|
+
return r;
|
|
800
|
+
}
|
|
801
|
+
function Xe(e) {
|
|
783
802
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
784
803
|
if (r)
|
|
785
804
|
return r.call(e);
|
|
@@ -791,7 +810,7 @@ function We(e) {
|
|
|
791
810
|
};
|
|
792
811
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
793
812
|
}
|
|
794
|
-
function
|
|
813
|
+
function ze(e, t) {
|
|
795
814
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
796
815
|
if (!r)
|
|
797
816
|
return e;
|
|
@@ -811,22 +830,22 @@ function Ze(e, t) {
|
|
|
811
830
|
}
|
|
812
831
|
return o;
|
|
813
832
|
}
|
|
814
|
-
function
|
|
815
|
-
if (arguments.length === 2)
|
|
833
|
+
function Z(e, t, r) {
|
|
834
|
+
if (r || arguments.length === 2)
|
|
816
835
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
817
836
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
818
837
|
return e.concat(o || t);
|
|
819
838
|
}
|
|
820
|
-
function
|
|
839
|
+
function R(e) {
|
|
821
840
|
return typeof e == "function";
|
|
822
841
|
}
|
|
823
|
-
function
|
|
842
|
+
function qt(e) {
|
|
824
843
|
var t = function(n) {
|
|
825
844
|
Error.call(n), n.stack = new Error().stack;
|
|
826
845
|
}, r = e(t);
|
|
827
846
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
828
847
|
}
|
|
829
|
-
var
|
|
848
|
+
var Ne = qt(function(e) {
|
|
830
849
|
return function(r) {
|
|
831
850
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
832
851
|
` + r.map(function(n, i) {
|
|
@@ -835,13 +854,13 @@ var Re = Kt(function(e) {
|
|
|
835
854
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
836
855
|
};
|
|
837
856
|
});
|
|
838
|
-
function
|
|
857
|
+
function We(e, t) {
|
|
839
858
|
if (e) {
|
|
840
859
|
var r = e.indexOf(t);
|
|
841
860
|
0 <= r && e.splice(r, 1);
|
|
842
861
|
}
|
|
843
862
|
}
|
|
844
|
-
var
|
|
863
|
+
var Se = function() {
|
|
845
864
|
function e(t) {
|
|
846
865
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
847
866
|
}
|
|
@@ -853,7 +872,7 @@ var Te = function() {
|
|
|
853
872
|
if (a)
|
|
854
873
|
if (this._parentage = null, Array.isArray(a))
|
|
855
874
|
try {
|
|
856
|
-
for (var s =
|
|
875
|
+
for (var s = Xe(a), l = s.next(); !l.done; l = s.next()) {
|
|
857
876
|
var u = l.value;
|
|
858
877
|
u.remove(this);
|
|
859
878
|
}
|
|
@@ -870,22 +889,22 @@ var Te = function() {
|
|
|
870
889
|
else
|
|
871
890
|
a.remove(this);
|
|
872
891
|
var h = this.initialTeardown;
|
|
873
|
-
if (
|
|
892
|
+
if (R(h))
|
|
874
893
|
try {
|
|
875
894
|
h();
|
|
876
895
|
} catch (d) {
|
|
877
|
-
o = d instanceof
|
|
896
|
+
o = d instanceof Ne ? d.errors : [d];
|
|
878
897
|
}
|
|
879
898
|
var c = this._finalizers;
|
|
880
899
|
if (c) {
|
|
881
900
|
this._finalizers = null;
|
|
882
901
|
try {
|
|
883
|
-
for (var f =
|
|
902
|
+
for (var f = Xe(c), p = f.next(); !p.done; p = f.next()) {
|
|
884
903
|
var m = p.value;
|
|
885
904
|
try {
|
|
886
|
-
|
|
905
|
+
vt(m);
|
|
887
906
|
} catch (d) {
|
|
888
|
-
o = o != null ? o : [], d instanceof
|
|
907
|
+
o = o != null ? o : [], d instanceof Ne ? o = Z(Z([], ze(o)), ze(d.errors)) : o.push(d);
|
|
889
908
|
}
|
|
890
909
|
}
|
|
891
910
|
} catch (d) {
|
|
@@ -900,13 +919,13 @@ var Te = function() {
|
|
|
900
919
|
}
|
|
901
920
|
}
|
|
902
921
|
if (o)
|
|
903
|
-
throw new
|
|
922
|
+
throw new Ne(o);
|
|
904
923
|
}
|
|
905
924
|
}, e.prototype.add = function(t) {
|
|
906
925
|
var r;
|
|
907
926
|
if (t && t !== this)
|
|
908
927
|
if (this.closed)
|
|
909
|
-
|
|
928
|
+
vt(t);
|
|
910
929
|
else {
|
|
911
930
|
if (t instanceof e) {
|
|
912
931
|
if (t.closed || t._hasParent(this))
|
|
@@ -923,52 +942,56 @@ var Te = function() {
|
|
|
923
942
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
924
943
|
}, e.prototype._removeParent = function(t) {
|
|
925
944
|
var r = this._parentage;
|
|
926
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
945
|
+
r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
|
|
927
946
|
}, e.prototype.remove = function(t) {
|
|
928
947
|
var r = this._finalizers;
|
|
929
|
-
r &&
|
|
948
|
+
r && We(r, t), t instanceof e && t._removeParent(this);
|
|
930
949
|
}, e.EMPTY = function() {
|
|
931
950
|
var t = new e();
|
|
932
951
|
return t.closed = !0, t;
|
|
933
952
|
}(), e;
|
|
934
|
-
}(),
|
|
935
|
-
function
|
|
936
|
-
return e instanceof
|
|
937
|
-
}
|
|
938
|
-
function
|
|
939
|
-
|
|
940
|
-
}
|
|
941
|
-
var
|
|
942
|
-
|
|
943
|
-
|
|
953
|
+
}(), Yt = Se.EMPTY;
|
|
954
|
+
function Kt(e) {
|
|
955
|
+
return e instanceof Se || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
956
|
+
}
|
|
957
|
+
function vt(e) {
|
|
958
|
+
R(e) ? e() : e.unsubscribe();
|
|
959
|
+
}
|
|
960
|
+
var er = {
|
|
961
|
+
onUnhandledError: null,
|
|
962
|
+
onStoppedNotification: null,
|
|
963
|
+
Promise: void 0,
|
|
964
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
965
|
+
useDeprecatedNextContext: !1
|
|
966
|
+
}, En = {
|
|
944
967
|
setTimeout: function(e, t) {
|
|
945
968
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
946
969
|
r[n - 2] = arguments[n];
|
|
947
|
-
return setTimeout.apply(void 0,
|
|
970
|
+
return setTimeout.apply(void 0, Z([e, t], ze(r)));
|
|
948
971
|
},
|
|
949
972
|
clearTimeout: function(e) {
|
|
950
973
|
return clearTimeout(e);
|
|
951
974
|
},
|
|
952
975
|
delegate: void 0
|
|
953
976
|
};
|
|
954
|
-
function
|
|
955
|
-
|
|
977
|
+
function wn(e) {
|
|
978
|
+
En.setTimeout(function() {
|
|
956
979
|
throw e;
|
|
957
980
|
});
|
|
958
981
|
}
|
|
959
|
-
function
|
|
982
|
+
function _t() {
|
|
960
983
|
}
|
|
961
984
|
function de(e) {
|
|
962
985
|
e();
|
|
963
986
|
}
|
|
964
|
-
var
|
|
965
|
-
|
|
987
|
+
var tr = function(e) {
|
|
988
|
+
G(t, e);
|
|
966
989
|
function t(r) {
|
|
967
990
|
var n = e.call(this) || this;
|
|
968
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
991
|
+
return n.isStopped = !1, r ? (n.destination = r, Kt(r) && r.add(n)) : n.destination = Cn, n;
|
|
969
992
|
}
|
|
970
993
|
return t.create = function(r, n, i) {
|
|
971
|
-
return new
|
|
994
|
+
return new Ze(r, n, i);
|
|
972
995
|
}, t.prototype.next = function(r) {
|
|
973
996
|
this.isStopped || this._next(r);
|
|
974
997
|
}, t.prototype.error = function(r) {
|
|
@@ -992,7 +1015,11 @@ var rr = function(e) {
|
|
|
992
1015
|
this.unsubscribe();
|
|
993
1016
|
}
|
|
994
1017
|
}, t;
|
|
995
|
-
}(
|
|
1018
|
+
}(Se), Sn = Function.prototype.bind;
|
|
1019
|
+
function $e(e, t) {
|
|
1020
|
+
return Sn.call(e, t);
|
|
1021
|
+
}
|
|
1022
|
+
var Tn = function() {
|
|
996
1023
|
function e(t) {
|
|
997
1024
|
this.partialObserver = t;
|
|
998
1025
|
}
|
|
@@ -1023,43 +1050,55 @@ var rr = function(e) {
|
|
|
1023
1050
|
ce(r);
|
|
1024
1051
|
}
|
|
1025
1052
|
}, e;
|
|
1026
|
-
}(),
|
|
1027
|
-
|
|
1053
|
+
}(), Ze = function(e) {
|
|
1054
|
+
G(t, e);
|
|
1028
1055
|
function t(r, n, i) {
|
|
1029
1056
|
var o = e.call(this) || this, a;
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1057
|
+
if (R(r) || !r)
|
|
1058
|
+
a = {
|
|
1059
|
+
next: r != null ? r : void 0,
|
|
1060
|
+
error: n != null ? n : void 0,
|
|
1061
|
+
complete: i != null ? i : void 0
|
|
1062
|
+
};
|
|
1063
|
+
else {
|
|
1064
|
+
var s;
|
|
1065
|
+
o && er.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
1066
|
+
return o.unsubscribe();
|
|
1067
|
+
}, a = {
|
|
1068
|
+
next: r.next && $e(r.next, s),
|
|
1069
|
+
error: r.error && $e(r.error, s),
|
|
1070
|
+
complete: r.complete && $e(r.complete, s)
|
|
1071
|
+
}) : a = r;
|
|
1072
|
+
}
|
|
1073
|
+
return o.destination = new Tn(a), o;
|
|
1035
1074
|
}
|
|
1036
1075
|
return t;
|
|
1037
|
-
}(
|
|
1076
|
+
}(tr);
|
|
1038
1077
|
function ce(e) {
|
|
1039
|
-
|
|
1078
|
+
wn(e);
|
|
1040
1079
|
}
|
|
1041
1080
|
function Hn(e) {
|
|
1042
1081
|
throw e;
|
|
1043
1082
|
}
|
|
1044
1083
|
var Cn = {
|
|
1045
1084
|
closed: !0,
|
|
1046
|
-
next:
|
|
1085
|
+
next: _t,
|
|
1047
1086
|
error: Hn,
|
|
1048
|
-
complete:
|
|
1049
|
-
},
|
|
1087
|
+
complete: _t
|
|
1088
|
+
}, Bn = function() {
|
|
1050
1089
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1051
1090
|
}();
|
|
1052
|
-
function
|
|
1091
|
+
function An(e) {
|
|
1053
1092
|
return e;
|
|
1054
1093
|
}
|
|
1055
1094
|
function Pn(e) {
|
|
1056
|
-
return e.length === 0 ?
|
|
1095
|
+
return e.length === 0 ? An : e.length === 1 ? e[0] : function(r) {
|
|
1057
1096
|
return e.reduce(function(n, i) {
|
|
1058
1097
|
return i(n);
|
|
1059
1098
|
}, r);
|
|
1060
1099
|
};
|
|
1061
1100
|
}
|
|
1062
|
-
var
|
|
1101
|
+
var xt = function() {
|
|
1063
1102
|
function e(t) {
|
|
1064
1103
|
t && (this._subscribe = t);
|
|
1065
1104
|
}
|
|
@@ -1067,7 +1106,7 @@ var wt = function() {
|
|
|
1067
1106
|
var r = new e();
|
|
1068
1107
|
return r.source = this, r.operator = t, r;
|
|
1069
1108
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1070
|
-
var i = this, o =
|
|
1109
|
+
var i = this, o = On(t) ? t : new Ze(t, r, n);
|
|
1071
1110
|
return de(function() {
|
|
1072
1111
|
var a = i, s = a.operator, l = a.source;
|
|
1073
1112
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1080,8 +1119,8 @@ var wt = function() {
|
|
|
1080
1119
|
}
|
|
1081
1120
|
}, e.prototype.forEach = function(t, r) {
|
|
1082
1121
|
var n = this;
|
|
1083
|
-
return r =
|
|
1084
|
-
var a = new
|
|
1122
|
+
return r = Et(r), new r(function(i, o) {
|
|
1123
|
+
var a = new Ze({
|
|
1085
1124
|
next: function(s) {
|
|
1086
1125
|
try {
|
|
1087
1126
|
t(s);
|
|
@@ -1097,7 +1136,7 @@ var wt = function() {
|
|
|
1097
1136
|
}, e.prototype._subscribe = function(t) {
|
|
1098
1137
|
var r;
|
|
1099
1138
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1100
|
-
}, e.prototype[
|
|
1139
|
+
}, e.prototype[Bn] = function() {
|
|
1101
1140
|
return this;
|
|
1102
1141
|
}, e.prototype.pipe = function() {
|
|
1103
1142
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -1105,7 +1144,7 @@ var wt = function() {
|
|
|
1105
1144
|
return Pn(t)(this);
|
|
1106
1145
|
}, e.prototype.toPromise = function(t) {
|
|
1107
1146
|
var r = this;
|
|
1108
|
-
return t =
|
|
1147
|
+
return t = Et(t), new t(function(n, i) {
|
|
1109
1148
|
var o;
|
|
1110
1149
|
r.subscribe(function(a) {
|
|
1111
1150
|
return o = a;
|
|
@@ -1119,28 +1158,28 @@ var wt = function() {
|
|
|
1119
1158
|
return new e(t);
|
|
1120
1159
|
}, e;
|
|
1121
1160
|
}();
|
|
1122
|
-
function
|
|
1161
|
+
function Et(e) {
|
|
1123
1162
|
var t;
|
|
1124
|
-
return (t = e != null ? e :
|
|
1125
|
-
}
|
|
1126
|
-
function On(e) {
|
|
1127
|
-
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
1163
|
+
return (t = e != null ? e : er.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1128
1164
|
}
|
|
1129
1165
|
function Ln(e) {
|
|
1130
|
-
return e && e
|
|
1166
|
+
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
1131
1167
|
}
|
|
1132
|
-
|
|
1168
|
+
function On(e) {
|
|
1169
|
+
return e && e instanceof tr || Ln(e) && Kt(e);
|
|
1170
|
+
}
|
|
1171
|
+
var In = qt(function(e) {
|
|
1133
1172
|
return function() {
|
|
1134
1173
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1135
1174
|
};
|
|
1136
|
-
}),
|
|
1137
|
-
|
|
1175
|
+
}), rr = function(e) {
|
|
1176
|
+
G(t, e);
|
|
1138
1177
|
function t() {
|
|
1139
1178
|
var r = e.call(this) || this;
|
|
1140
1179
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1141
1180
|
}
|
|
1142
1181
|
return t.prototype.lift = function(r) {
|
|
1143
|
-
var n = new
|
|
1182
|
+
var n = new wt(this, this);
|
|
1144
1183
|
return n.operator = r, n;
|
|
1145
1184
|
}, t.prototype._throwIfClosed = function() {
|
|
1146
1185
|
if (this.closed)
|
|
@@ -1152,7 +1191,7 @@ var In = Kt(function(e) {
|
|
|
1152
1191
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1153
1192
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1154
1193
|
try {
|
|
1155
|
-
for (var a =
|
|
1194
|
+
for (var a = Xe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1156
1195
|
var l = s.value;
|
|
1157
1196
|
l.next(r);
|
|
1158
1197
|
}
|
|
@@ -1201,20 +1240,20 @@ var In = Kt(function(e) {
|
|
|
1201
1240
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1202
1241
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1203
1242
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1204
|
-
return o || a ?
|
|
1205
|
-
n.currentObservers = null,
|
|
1243
|
+
return o || a ? Yt : (this.currentObservers = null, s.push(r), new Se(function() {
|
|
1244
|
+
n.currentObservers = null, We(s, r);
|
|
1206
1245
|
}));
|
|
1207
1246
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1208
1247
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1209
1248
|
i ? r.error(o) : a && r.complete();
|
|
1210
1249
|
}, t.prototype.asObservable = function() {
|
|
1211
|
-
var r = new
|
|
1250
|
+
var r = new xt();
|
|
1212
1251
|
return r.source = this, r;
|
|
1213
1252
|
}, t.create = function(r, n) {
|
|
1214
|
-
return new
|
|
1253
|
+
return new wt(r, n);
|
|
1215
1254
|
}, t;
|
|
1216
|
-
}(
|
|
1217
|
-
|
|
1255
|
+
}(xt), wt = function(e) {
|
|
1256
|
+
G(t, e);
|
|
1218
1257
|
function t(r, n) {
|
|
1219
1258
|
var i = e.call(this) || this;
|
|
1220
1259
|
return i.destination = r, i.source = n, i;
|
|
@@ -1230,17 +1269,17 @@ var In = Kt(function(e) {
|
|
|
1230
1269
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1231
1270
|
}, t.prototype._subscribe = function(r) {
|
|
1232
1271
|
var n, i;
|
|
1233
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1272
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Yt;
|
|
1234
1273
|
}, t;
|
|
1235
|
-
}(
|
|
1274
|
+
}(rr), nr = {
|
|
1236
1275
|
now: function() {
|
|
1237
|
-
return (
|
|
1276
|
+
return (nr.delegate || Date).now();
|
|
1238
1277
|
},
|
|
1239
1278
|
delegate: void 0
|
|
1240
1279
|
}, Mn = function(e) {
|
|
1241
|
-
|
|
1280
|
+
G(t, e);
|
|
1242
1281
|
function t(r, n, i) {
|
|
1243
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1282
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = nr);
|
|
1244
1283
|
var o = e.call(this) || this;
|
|
1245
1284
|
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;
|
|
1246
1285
|
}
|
|
@@ -1260,24 +1299,24 @@ var In = Kt(function(e) {
|
|
|
1260
1299
|
u && o.splice(0, u + 1);
|
|
1261
1300
|
}
|
|
1262
1301
|
}, t;
|
|
1263
|
-
}(
|
|
1264
|
-
const
|
|
1265
|
-
if (
|
|
1302
|
+
}(rr);
|
|
1303
|
+
const St = [], Tt = {}, Nn = (e, t = 0) => {
|
|
1304
|
+
if (St.indexOf(e) == -1) {
|
|
1266
1305
|
const r = new Mn(t);
|
|
1267
|
-
|
|
1306
|
+
Tt[e] = r, St.push(e);
|
|
1268
1307
|
}
|
|
1269
|
-
return
|
|
1308
|
+
return Tt[e];
|
|
1270
1309
|
}, V = [];
|
|
1271
1310
|
function $n(e, t) {
|
|
1272
1311
|
return {
|
|
1273
|
-
subscribe:
|
|
1312
|
+
subscribe: Te(e, t).subscribe
|
|
1274
1313
|
};
|
|
1275
1314
|
}
|
|
1276
|
-
function
|
|
1315
|
+
function Te(e, t = I) {
|
|
1277
1316
|
let r;
|
|
1278
1317
|
const n = /* @__PURE__ */ new Set();
|
|
1279
1318
|
function i(s) {
|
|
1280
|
-
if (
|
|
1319
|
+
if (kt(e, s) && (e = s, r)) {
|
|
1281
1320
|
const l = !V.length;
|
|
1282
1321
|
for (const u of n)
|
|
1283
1322
|
u[1](), V.push(u, e);
|
|
@@ -1299,7 +1338,7 @@ function He(e, t = I) {
|
|
|
1299
1338
|
}
|
|
1300
1339
|
return { set: i, update: o, subscribe: a };
|
|
1301
1340
|
}
|
|
1302
|
-
function
|
|
1341
|
+
function K(e, t, r) {
|
|
1303
1342
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1304
1343
|
if (!i.every(Boolean))
|
|
1305
1344
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1313,9 +1352,9 @@ function Y(e, t, r) {
|
|
|
1313
1352
|
return;
|
|
1314
1353
|
c();
|
|
1315
1354
|
const m = t(n ? u[0] : u, a, s);
|
|
1316
|
-
o ? a(m) : c =
|
|
1355
|
+
o ? a(m) : c = we(m) ? m : I;
|
|
1317
1356
|
}, p = i.map(
|
|
1318
|
-
(m, d) =>
|
|
1357
|
+
(m, d) => Vt(
|
|
1319
1358
|
m,
|
|
1320
1359
|
(v) => {
|
|
1321
1360
|
u[d] = v, h &= ~(1 << d), l && f();
|
|
@@ -1350,29 +1389,29 @@ function kn(e) {
|
|
|
1350
1389
|
function Vn(e) {
|
|
1351
1390
|
return Array.isArray(e) ? [] : {};
|
|
1352
1391
|
}
|
|
1353
|
-
function
|
|
1354
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1392
|
+
function ae(e, t) {
|
|
1393
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q(Vn(e), e, t) : e;
|
|
1355
1394
|
}
|
|
1356
1395
|
function Xn(e, t, r) {
|
|
1357
1396
|
return e.concat(t).map(function(n) {
|
|
1358
|
-
return
|
|
1397
|
+
return ae(n, r);
|
|
1359
1398
|
});
|
|
1360
1399
|
}
|
|
1361
1400
|
function zn(e, t) {
|
|
1362
1401
|
if (!t.customMerge)
|
|
1363
|
-
return
|
|
1402
|
+
return Q;
|
|
1364
1403
|
var r = t.customMerge(e);
|
|
1365
|
-
return typeof r == "function" ? r :
|
|
1404
|
+
return typeof r == "function" ? r : Q;
|
|
1366
1405
|
}
|
|
1367
1406
|
function Wn(e) {
|
|
1368
1407
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1369
1408
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1370
1409
|
}) : [];
|
|
1371
1410
|
}
|
|
1372
|
-
function
|
|
1411
|
+
function Ht(e) {
|
|
1373
1412
|
return Object.keys(e).concat(Wn(e));
|
|
1374
1413
|
}
|
|
1375
|
-
function
|
|
1414
|
+
function ir(e, t) {
|
|
1376
1415
|
try {
|
|
1377
1416
|
return t in e;
|
|
1378
1417
|
} catch (r) {
|
|
@@ -1380,179 +1419,129 @@ function or(e, t) {
|
|
|
1380
1419
|
}
|
|
1381
1420
|
}
|
|
1382
1421
|
function Zn(e, t) {
|
|
1383
|
-
return
|
|
1422
|
+
return ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1384
1423
|
}
|
|
1385
1424
|
function Qn(e, t, r) {
|
|
1386
1425
|
var n = {};
|
|
1387
|
-
return r.isMergeableObject(e) &&
|
|
1388
|
-
n[i] =
|
|
1389
|
-
}),
|
|
1390
|
-
Zn(e, i) || (
|
|
1426
|
+
return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
|
|
1427
|
+
n[i] = ae(e[i], r);
|
|
1428
|
+
}), Ht(t).forEach(function(i) {
|
|
1429
|
+
Zn(e, i) || (ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = zn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
|
|
1391
1430
|
}), n;
|
|
1392
1431
|
}
|
|
1393
|
-
function
|
|
1394
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Xn, r.isMergeableObject = r.isMergeableObject || Gn, r.cloneUnlessOtherwiseSpecified =
|
|
1432
|
+
function Q(e, t, r) {
|
|
1433
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Xn, r.isMergeableObject = r.isMergeableObject || Gn, r.cloneUnlessOtherwiseSpecified = ae;
|
|
1395
1434
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1396
|
-
return o ? n ? r.arrayMerge(e, t, r) : Qn(e, t, r) :
|
|
1435
|
+
return o ? n ? r.arrayMerge(e, t, r) : Qn(e, t, r) : ae(t, r);
|
|
1397
1436
|
}
|
|
1398
|
-
|
|
1437
|
+
Q.all = function(t, r) {
|
|
1399
1438
|
if (!Array.isArray(t))
|
|
1400
1439
|
throw new Error("first argument should be an array");
|
|
1401
1440
|
return t.reduce(function(n, i) {
|
|
1402
|
-
return
|
|
1441
|
+
return Q(n, i, r);
|
|
1403
1442
|
}, {});
|
|
1404
1443
|
};
|
|
1405
|
-
var Jn =
|
|
1444
|
+
var Jn = Q, qn = Jn;
|
|
1406
1445
|
const Yn = /* @__PURE__ */ Rn(qn);
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
r.__proto__ = n;
|
|
1410
|
-
} || function(r, n) {
|
|
1411
|
-
for (var i in n)
|
|
1412
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1413
|
-
}, Ye(e, t);
|
|
1414
|
-
};
|
|
1415
|
-
function Ce(e, t) {
|
|
1416
|
-
if (typeof t != "function" && t !== null)
|
|
1417
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1418
|
-
Ye(e, t);
|
|
1419
|
-
function r() {
|
|
1420
|
-
this.constructor = e;
|
|
1421
|
-
}
|
|
1422
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1423
|
-
}
|
|
1424
|
-
var N = function() {
|
|
1425
|
-
return N = Object.assign || function(t) {
|
|
1426
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1427
|
-
r = arguments[n];
|
|
1428
|
-
for (var o in r)
|
|
1429
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1430
|
-
}
|
|
1431
|
-
return t;
|
|
1432
|
-
}, N.apply(this, arguments);
|
|
1433
|
-
};
|
|
1434
|
-
function Kn(e, t) {
|
|
1435
|
-
var r = {};
|
|
1436
|
-
for (var n in e)
|
|
1437
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1438
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1439
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1440
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1441
|
-
return r;
|
|
1442
|
-
}
|
|
1443
|
-
function Ge(e, t, r) {
|
|
1444
|
-
if (r || arguments.length === 2)
|
|
1445
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1446
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1447
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1448
|
-
}
|
|
1449
|
-
function Ue(e, t) {
|
|
1450
|
-
var r = t && t.cache ? t.cache : si, n = t && t.serializer ? t.serializer : ii, i = t && t.strategy ? t.strategy : ri;
|
|
1446
|
+
function Re(e, t) {
|
|
1447
|
+
var r = t && t.cache ? t.cache : ii, n = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ei;
|
|
1451
1448
|
return i(e, {
|
|
1452
1449
|
cache: r,
|
|
1453
1450
|
serializer: n
|
|
1454
1451
|
});
|
|
1455
1452
|
}
|
|
1456
|
-
function
|
|
1453
|
+
function Kn(e) {
|
|
1457
1454
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1458
1455
|
}
|
|
1459
|
-
function
|
|
1460
|
-
var i =
|
|
1456
|
+
function or(e, t, r, n) {
|
|
1457
|
+
var i = Kn(n) ? n : r(n), o = t.get(i);
|
|
1461
1458
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1462
1459
|
}
|
|
1463
1460
|
function sr(e, t, r) {
|
|
1464
1461
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1465
1462
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1466
1463
|
}
|
|
1467
|
-
function
|
|
1464
|
+
function st(e, t, r, n, i) {
|
|
1468
1465
|
return r.bind(t, e, n, i);
|
|
1469
1466
|
}
|
|
1470
|
-
function
|
|
1471
|
-
var r = e.length === 1 ?
|
|
1472
|
-
return
|
|
1467
|
+
function ei(e, t) {
|
|
1468
|
+
var r = e.length === 1 ? or : sr;
|
|
1469
|
+
return st(e, this, r, t.cache.create(), t.serializer);
|
|
1470
|
+
}
|
|
1471
|
+
function ti(e, t) {
|
|
1472
|
+
return st(e, this, sr, t.cache.create(), t.serializer);
|
|
1473
1473
|
}
|
|
1474
|
-
function
|
|
1475
|
-
return
|
|
1474
|
+
function ri(e, t) {
|
|
1475
|
+
return st(e, this, or, t.cache.create(), t.serializer);
|
|
1476
1476
|
}
|
|
1477
|
-
var
|
|
1477
|
+
var ni = function() {
|
|
1478
1478
|
return JSON.stringify(arguments);
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
}()
|
|
1491
|
-
), si = {
|
|
1479
|
+
};
|
|
1480
|
+
function at() {
|
|
1481
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1482
|
+
}
|
|
1483
|
+
at.prototype.get = function(e) {
|
|
1484
|
+
return this.cache[e];
|
|
1485
|
+
};
|
|
1486
|
+
at.prototype.set = function(e, t) {
|
|
1487
|
+
this.cache[e] = t;
|
|
1488
|
+
};
|
|
1489
|
+
var ii = {
|
|
1492
1490
|
create: function() {
|
|
1493
|
-
return new
|
|
1491
|
+
return new at();
|
|
1494
1492
|
}
|
|
1495
|
-
},
|
|
1496
|
-
variadic:
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1500
|
-
r = arguments[n];
|
|
1501
|
-
for (var o in r)
|
|
1502
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1503
|
-
}
|
|
1504
|
-
return t;
|
|
1505
|
-
}, xe.apply(this, arguments);
|
|
1506
|
-
};
|
|
1507
|
-
var b;
|
|
1493
|
+
}, Ge = {
|
|
1494
|
+
variadic: ti,
|
|
1495
|
+
monadic: ri
|
|
1496
|
+
}, b;
|
|
1508
1497
|
(function(e) {
|
|
1509
1498
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1510
1499
|
})(b || (b = {}));
|
|
1511
|
-
var
|
|
1500
|
+
var E;
|
|
1512
1501
|
(function(e) {
|
|
1513
1502
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1514
|
-
})(
|
|
1515
|
-
var
|
|
1503
|
+
})(E || (E = {}));
|
|
1504
|
+
var J;
|
|
1516
1505
|
(function(e) {
|
|
1517
1506
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1518
|
-
})(
|
|
1519
|
-
function
|
|
1520
|
-
return e.type ===
|
|
1507
|
+
})(J || (J = {}));
|
|
1508
|
+
function Ct(e) {
|
|
1509
|
+
return e.type === E.literal;
|
|
1510
|
+
}
|
|
1511
|
+
function oi(e) {
|
|
1512
|
+
return e.type === E.argument;
|
|
1521
1513
|
}
|
|
1522
|
-
function
|
|
1523
|
-
return e.type ===
|
|
1514
|
+
function ar(e) {
|
|
1515
|
+
return e.type === E.number;
|
|
1524
1516
|
}
|
|
1525
1517
|
function ur(e) {
|
|
1526
|
-
return e.type ===
|
|
1518
|
+
return e.type === E.date;
|
|
1527
1519
|
}
|
|
1528
1520
|
function lr(e) {
|
|
1529
|
-
return e.type ===
|
|
1521
|
+
return e.type === E.time;
|
|
1530
1522
|
}
|
|
1531
1523
|
function hr(e) {
|
|
1532
|
-
return e.type ===
|
|
1524
|
+
return e.type === E.select;
|
|
1533
1525
|
}
|
|
1534
1526
|
function cr(e) {
|
|
1535
|
-
return e.type ===
|
|
1527
|
+
return e.type === E.plural;
|
|
1536
1528
|
}
|
|
1537
|
-
function
|
|
1538
|
-
return e.type ===
|
|
1529
|
+
function si(e) {
|
|
1530
|
+
return e.type === E.pound;
|
|
1539
1531
|
}
|
|
1540
|
-
function
|
|
1541
|
-
return e.type ===
|
|
1532
|
+
function fr(e) {
|
|
1533
|
+
return e.type === E.tag;
|
|
1542
1534
|
}
|
|
1543
1535
|
function mr(e) {
|
|
1544
|
-
return e.type ===
|
|
1536
|
+
return !!(e && typeof e == "object" && e.type === J.number);
|
|
1545
1537
|
}
|
|
1546
|
-
function
|
|
1547
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1548
|
-
}
|
|
1549
|
-
function Ke(e) {
|
|
1550
|
-
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1538
|
+
function Qe(e) {
|
|
1539
|
+
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
1551
1540
|
}
|
|
1552
|
-
var
|
|
1553
|
-
function
|
|
1541
|
+
var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ai = /(?:[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;
|
|
1542
|
+
function ui(e) {
|
|
1554
1543
|
var t = {};
|
|
1555
|
-
return e.replace(
|
|
1544
|
+
return e.replace(ai, function(r) {
|
|
1556
1545
|
var n = r.length;
|
|
1557
1546
|
switch (r[0]) {
|
|
1558
1547
|
case "G":
|
|
@@ -1641,21 +1630,11 @@ function hi(e) {
|
|
|
1641
1630
|
return "";
|
|
1642
1631
|
}), t;
|
|
1643
1632
|
}
|
|
1644
|
-
var
|
|
1645
|
-
|
|
1646
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1647
|
-
r = arguments[n];
|
|
1648
|
-
for (var o in r)
|
|
1649
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1650
|
-
}
|
|
1651
|
-
return t;
|
|
1652
|
-
}, w.apply(this, arguments);
|
|
1653
|
-
};
|
|
1654
|
-
var ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1655
|
-
function fi(e) {
|
|
1633
|
+
var li = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1634
|
+
function hi(e) {
|
|
1656
1635
|
if (e.length === 0)
|
|
1657
1636
|
throw new Error("Number skeleton cannot be empty");
|
|
1658
|
-
for (var t = e.split(
|
|
1637
|
+
for (var t = e.split(li).filter(function(f) {
|
|
1659
1638
|
return f.length > 0;
|
|
1660
1639
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1661
1640
|
var o = i[n], a = o.split("/");
|
|
@@ -1670,17 +1649,17 @@ function fi(e) {
|
|
|
1670
1649
|
}
|
|
1671
1650
|
return r;
|
|
1672
1651
|
}
|
|
1673
|
-
function
|
|
1652
|
+
function ci(e) {
|
|
1674
1653
|
return e.replace(/^(.*?)-/, "");
|
|
1675
1654
|
}
|
|
1676
|
-
var
|
|
1677
|
-
function
|
|
1655
|
+
var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dr = /^(@+)?(\+|#+)?[rs]?$/g, fi = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
|
|
1656
|
+
function At(e) {
|
|
1678
1657
|
var t = {};
|
|
1679
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1658
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(dr, function(r, n, i) {
|
|
1680
1659
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1681
1660
|
}), t;
|
|
1682
1661
|
}
|
|
1683
|
-
function
|
|
1662
|
+
function gr(e) {
|
|
1684
1663
|
switch (e) {
|
|
1685
1664
|
case "sign-auto":
|
|
1686
1665
|
return {
|
|
@@ -1720,7 +1699,7 @@ function yr(e) {
|
|
|
1720
1699
|
};
|
|
1721
1700
|
}
|
|
1722
1701
|
}
|
|
1723
|
-
function
|
|
1702
|
+
function mi(e) {
|
|
1724
1703
|
var t;
|
|
1725
1704
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1726
1705
|
notation: "engineering"
|
|
@@ -1728,17 +1707,17 @@ function di(e) {
|
|
|
1728
1707
|
notation: "scientific"
|
|
1729
1708
|
}, e = e.slice(1)), t) {
|
|
1730
1709
|
var r = e.slice(0, 2);
|
|
1731
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1710
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
|
|
1732
1711
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1733
1712
|
t.minimumIntegerDigits = e.length;
|
|
1734
1713
|
}
|
|
1735
1714
|
return t;
|
|
1736
1715
|
}
|
|
1737
|
-
function
|
|
1738
|
-
var t = {}, r =
|
|
1716
|
+
function Pt(e) {
|
|
1717
|
+
var t = {}, r = gr(e);
|
|
1739
1718
|
return r || t;
|
|
1740
1719
|
}
|
|
1741
|
-
function
|
|
1720
|
+
function pi(e) {
|
|
1742
1721
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1743
1722
|
var i = n[r];
|
|
1744
1723
|
switch (i.stem) {
|
|
@@ -1762,7 +1741,7 @@ function bi(e) {
|
|
|
1762
1741
|
continue;
|
|
1763
1742
|
case "measure-unit":
|
|
1764
1743
|
case "unit":
|
|
1765
|
-
t.style = "unit", t.unit =
|
|
1744
|
+
t.style = "unit", t.unit = ci(i.options[0]);
|
|
1766
1745
|
continue;
|
|
1767
1746
|
case "compact-short":
|
|
1768
1747
|
case "K":
|
|
@@ -1773,13 +1752,13 @@ function bi(e) {
|
|
|
1773
1752
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1774
1753
|
continue;
|
|
1775
1754
|
case "scientific":
|
|
1776
|
-
t =
|
|
1777
|
-
return
|
|
1755
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1756
|
+
return _(_({}, l), Pt(u));
|
|
1778
1757
|
}, {}));
|
|
1779
1758
|
continue;
|
|
1780
1759
|
case "engineering":
|
|
1781
|
-
t =
|
|
1782
|
-
return
|
|
1760
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1761
|
+
return _(_({}, l), Pt(u));
|
|
1783
1762
|
}, {}));
|
|
1784
1763
|
continue;
|
|
1785
1764
|
case "notation-simple":
|
|
@@ -1824,7 +1803,7 @@ function bi(e) {
|
|
|
1824
1803
|
case "integer-width":
|
|
1825
1804
|
if (i.options.length > 1)
|
|
1826
1805
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1827
|
-
i.options[0].replace(
|
|
1806
|
+
i.options[0].replace(fi, function(l, u, h, c, f, p) {
|
|
1828
1807
|
if (u)
|
|
1829
1808
|
t.minimumIntegerDigits = h.length;
|
|
1830
1809
|
else {
|
|
@@ -1837,28 +1816,28 @@ function bi(e) {
|
|
|
1837
1816
|
});
|
|
1838
1817
|
continue;
|
|
1839
1818
|
}
|
|
1840
|
-
if (
|
|
1819
|
+
if (br.test(i.stem)) {
|
|
1841
1820
|
t.minimumIntegerDigits = i.stem.length;
|
|
1842
1821
|
continue;
|
|
1843
1822
|
}
|
|
1844
|
-
if (
|
|
1823
|
+
if (Bt.test(i.stem)) {
|
|
1845
1824
|
if (i.options.length > 1)
|
|
1846
1825
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1847
|
-
i.stem.replace(
|
|
1826
|
+
i.stem.replace(Bt, function(l, u, h, c, f, p) {
|
|
1848
1827
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1849
1828
|
});
|
|
1850
1829
|
var o = i.options[0];
|
|
1851
|
-
o === "w" ? t =
|
|
1830
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), At(o)));
|
|
1852
1831
|
continue;
|
|
1853
1832
|
}
|
|
1854
|
-
if (
|
|
1855
|
-
t =
|
|
1833
|
+
if (dr.test(i.stem)) {
|
|
1834
|
+
t = _(_({}, t), At(i.stem));
|
|
1856
1835
|
continue;
|
|
1857
1836
|
}
|
|
1858
|
-
var a =
|
|
1859
|
-
a && (t =
|
|
1860
|
-
var s =
|
|
1861
|
-
s && (t =
|
|
1837
|
+
var a = gr(i.stem);
|
|
1838
|
+
a && (t = _(_({}, t), a));
|
|
1839
|
+
var s = mi(i.stem);
|
|
1840
|
+
s && (t = _(_({}, t), s));
|
|
1862
1841
|
}
|
|
1863
1842
|
return t;
|
|
1864
1843
|
}
|
|
@@ -3277,13 +3256,13 @@ var fe = {
|
|
|
3277
3256
|
"h"
|
|
3278
3257
|
]
|
|
3279
3258
|
};
|
|
3280
|
-
function
|
|
3259
|
+
function di(e, t) {
|
|
3281
3260
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3282
3261
|
var i = e.charAt(n);
|
|
3283
3262
|
if (i === "j") {
|
|
3284
3263
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3285
3264
|
o++, n++;
|
|
3286
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3265
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = bi(t);
|
|
3287
3266
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3288
3267
|
r += l;
|
|
3289
3268
|
for (; a-- > 0; )
|
|
@@ -3293,7 +3272,7 @@ function gi(e, t) {
|
|
|
3293
3272
|
}
|
|
3294
3273
|
return r;
|
|
3295
3274
|
}
|
|
3296
|
-
function
|
|
3275
|
+
function bi(e) {
|
|
3297
3276
|
var t = e.hourCycle;
|
|
3298
3277
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3299
3278
|
e.hourCycles && // @ts-ignore
|
|
@@ -3315,20 +3294,20 @@ function yi(e) {
|
|
|
3315
3294
|
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
3316
3295
|
return i[0];
|
|
3317
3296
|
}
|
|
3318
|
-
var
|
|
3297
|
+
var Ue, gi = new RegExp("^".concat(pr.source, "*")), yi = new RegExp("".concat(pr.source, "*$"));
|
|
3319
3298
|
function y(e, t) {
|
|
3320
3299
|
return { start: e, end: t };
|
|
3321
3300
|
}
|
|
3322
|
-
var
|
|
3301
|
+
var vi = !!String.prototype.startsWith && "_a".startsWith("a", 1), _i = !!String.fromCodePoint, xi = !!Object.fromEntries, Ei = !!String.prototype.codePointAt, wi = !!String.prototype.trimStart, Si = !!String.prototype.trimEnd, Ti = !!Number.isSafeInteger, Hi = Ti ? Number.isSafeInteger : function(e) {
|
|
3323
3302
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3324
|
-
},
|
|
3303
|
+
}, Je = !0;
|
|
3325
3304
|
try {
|
|
3326
|
-
var
|
|
3327
|
-
|
|
3305
|
+
var Ci = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3306
|
+
Je = ((Ue = Ci.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
|
|
3328
3307
|
} catch (e) {
|
|
3329
|
-
|
|
3308
|
+
Je = !1;
|
|
3330
3309
|
}
|
|
3331
|
-
var
|
|
3310
|
+
var Lt = vi ? (
|
|
3332
3311
|
// Native
|
|
3333
3312
|
function(t, r, n) {
|
|
3334
3313
|
return t.startsWith(r, n);
|
|
@@ -3338,7 +3317,7 @@ var It = xi ? (
|
|
|
3338
3317
|
function(t, r, n) {
|
|
3339
3318
|
return t.slice(n, n + r.length) === r;
|
|
3340
3319
|
}
|
|
3341
|
-
),
|
|
3320
|
+
), qe = _i ? String.fromCodePoint : (
|
|
3342
3321
|
// IE11
|
|
3343
3322
|
function() {
|
|
3344
3323
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3350,9 +3329,9 @@ var It = xi ? (
|
|
|
3350
3329
|
}
|
|
3351
3330
|
return n;
|
|
3352
3331
|
}
|
|
3353
|
-
),
|
|
3332
|
+
), Ot = (
|
|
3354
3333
|
// native
|
|
3355
|
-
|
|
3334
|
+
xi ? Object.fromEntries : (
|
|
3356
3335
|
// Ponyfill
|
|
3357
3336
|
function(t) {
|
|
3358
3337
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3362,7 +3341,7 @@ var It = xi ? (
|
|
|
3362
3341
|
return r;
|
|
3363
3342
|
}
|
|
3364
3343
|
)
|
|
3365
|
-
),
|
|
3344
|
+
), yr = Ei ? (
|
|
3366
3345
|
// Native
|
|
3367
3346
|
function(t, r) {
|
|
3368
3347
|
return t.codePointAt(r);
|
|
@@ -3376,7 +3355,7 @@ var It = xi ? (
|
|
|
3376
3355
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3377
3356
|
}
|
|
3378
3357
|
}
|
|
3379
|
-
),
|
|
3358
|
+
), Bi = wi ? (
|
|
3380
3359
|
// Native
|
|
3381
3360
|
function(t) {
|
|
3382
3361
|
return t.trimStart();
|
|
@@ -3384,9 +3363,9 @@ var It = xi ? (
|
|
|
3384
3363
|
) : (
|
|
3385
3364
|
// Ponyfill
|
|
3386
3365
|
function(t) {
|
|
3387
|
-
return t.replace(
|
|
3366
|
+
return t.replace(gi, "");
|
|
3388
3367
|
}
|
|
3389
|
-
),
|
|
3368
|
+
), Ai = Si ? (
|
|
3390
3369
|
// Native
|
|
3391
3370
|
function(t) {
|
|
3392
3371
|
return t.trimEnd();
|
|
@@ -3394,32 +3373,32 @@ var It = xi ? (
|
|
|
3394
3373
|
) : (
|
|
3395
3374
|
// Ponyfill
|
|
3396
3375
|
function(t) {
|
|
3397
|
-
return t.replace(
|
|
3376
|
+
return t.replace(yi, "");
|
|
3398
3377
|
}
|
|
3399
3378
|
);
|
|
3400
|
-
function
|
|
3379
|
+
function vr(e, t) {
|
|
3401
3380
|
return new RegExp(e, t);
|
|
3402
3381
|
}
|
|
3403
|
-
var
|
|
3404
|
-
if (
|
|
3405
|
-
var
|
|
3406
|
-
|
|
3382
|
+
var Ye;
|
|
3383
|
+
if (Je) {
|
|
3384
|
+
var It = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3385
|
+
Ye = function(t, r) {
|
|
3407
3386
|
var n;
|
|
3408
|
-
|
|
3409
|
-
var i =
|
|
3387
|
+
It.lastIndex = r;
|
|
3388
|
+
var i = It.exec(t);
|
|
3410
3389
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3411
3390
|
};
|
|
3412
3391
|
} else
|
|
3413
|
-
|
|
3392
|
+
Ye = function(t, r) {
|
|
3414
3393
|
for (var n = []; ; ) {
|
|
3415
|
-
var i =
|
|
3416
|
-
if (i === void 0 ||
|
|
3394
|
+
var i = yr(t, r);
|
|
3395
|
+
if (i === void 0 || _r(i) || Ii(i))
|
|
3417
3396
|
break;
|
|
3418
3397
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3419
3398
|
}
|
|
3420
|
-
return
|
|
3399
|
+
return qe.apply(void 0, n);
|
|
3421
3400
|
};
|
|
3422
|
-
var
|
|
3401
|
+
var Pi = (
|
|
3423
3402
|
/** @class */
|
|
3424
3403
|
function() {
|
|
3425
3404
|
function e(t, r) {
|
|
@@ -3443,14 +3422,14 @@ var Li = (
|
|
|
3443
3422
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3444
3423
|
var s = this.clonePosition();
|
|
3445
3424
|
this.bump(), i.push({
|
|
3446
|
-
type:
|
|
3425
|
+
type: E.pound,
|
|
3447
3426
|
location: y(s, this.clonePosition())
|
|
3448
3427
|
});
|
|
3449
3428
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3450
3429
|
if (n)
|
|
3451
3430
|
break;
|
|
3452
3431
|
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3453
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3432
|
+
} else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
|
|
3454
3433
|
var a = this.parseTag(t, r);
|
|
3455
3434
|
if (a.err)
|
|
3456
3435
|
return a;
|
|
@@ -3471,7 +3450,7 @@ var Li = (
|
|
|
3471
3450
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3472
3451
|
return {
|
|
3473
3452
|
val: {
|
|
3474
|
-
type:
|
|
3453
|
+
type: E.literal,
|
|
3475
3454
|
value: "<".concat(i, "/>"),
|
|
3476
3455
|
location: y(n, this.clonePosition())
|
|
3477
3456
|
},
|
|
@@ -3483,12 +3462,12 @@ var Li = (
|
|
|
3483
3462
|
return o;
|
|
3484
3463
|
var a = o.val, s = this.clonePosition();
|
|
3485
3464
|
if (this.bumpIf("</")) {
|
|
3486
|
-
if (this.isEOF() || !
|
|
3465
|
+
if (this.isEOF() || !Ke(this.char()))
|
|
3487
3466
|
return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
|
|
3488
3467
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3489
3468
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3490
3469
|
val: {
|
|
3491
|
-
type:
|
|
3470
|
+
type: E.tag,
|
|
3492
3471
|
value: i,
|
|
3493
3472
|
children: a,
|
|
3494
3473
|
location: y(n, this.clonePosition())
|
|
@@ -3501,7 +3480,7 @@ var Li = (
|
|
|
3501
3480
|
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
3502
3481
|
}, e.prototype.parseTagName = function() {
|
|
3503
3482
|
var t = this.offset();
|
|
3504
|
-
for (this.bump(); !this.isEOF() &&
|
|
3483
|
+
for (this.bump(); !this.isEOF() && Oi(this.char()); )
|
|
3505
3484
|
this.bump();
|
|
3506
3485
|
return this.message.slice(t, this.offset());
|
|
3507
3486
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3525,12 +3504,12 @@ var Li = (
|
|
|
3525
3504
|
}
|
|
3526
3505
|
var l = y(n, this.clonePosition());
|
|
3527
3506
|
return {
|
|
3528
|
-
val: { type:
|
|
3507
|
+
val: { type: E.literal, value: i, location: l },
|
|
3529
3508
|
err: null
|
|
3530
3509
|
};
|
|
3531
3510
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3532
3511
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3533
|
-
!
|
|
3512
|
+
!Li(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3534
3513
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3535
3514
|
if (this.isEOF() || this.char() !== 39)
|
|
3536
3515
|
return null;
|
|
@@ -3564,12 +3543,12 @@ var Li = (
|
|
|
3564
3543
|
r.push(n);
|
|
3565
3544
|
this.bump();
|
|
3566
3545
|
}
|
|
3567
|
-
return
|
|
3546
|
+
return qe.apply(void 0, r);
|
|
3568
3547
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3569
3548
|
if (this.isEOF())
|
|
3570
3549
|
return null;
|
|
3571
3550
|
var n = this.char();
|
|
3572
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3551
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
|
|
3573
3552
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3574
3553
|
var n = this.clonePosition();
|
|
3575
3554
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3585,7 +3564,7 @@ var Li = (
|
|
|
3585
3564
|
case 125:
|
|
3586
3565
|
return this.bump(), {
|
|
3587
3566
|
val: {
|
|
3588
|
-
type:
|
|
3567
|
+
type: E.argument,
|
|
3589
3568
|
// value does not include the opening and closing braces.
|
|
3590
3569
|
value: i,
|
|
3591
3570
|
location: y(n, this.clonePosition())
|
|
@@ -3598,7 +3577,7 @@ var Li = (
|
|
|
3598
3577
|
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3599
3578
|
}
|
|
3600
3579
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3601
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3580
|
+
var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
|
|
3602
3581
|
this.bumpTo(i);
|
|
3603
3582
|
var o = this.clonePosition(), a = y(t, o);
|
|
3604
3583
|
return { value: n, location: a };
|
|
@@ -3617,7 +3596,7 @@ var Li = (
|
|
|
3617
3596
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3618
3597
|
if (c.err)
|
|
3619
3598
|
return c;
|
|
3620
|
-
var f =
|
|
3599
|
+
var f = Ai(c.val);
|
|
3621
3600
|
if (f.length === 0)
|
|
3622
3601
|
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3623
3602
|
var p = y(h, this.clonePosition());
|
|
@@ -3627,25 +3606,25 @@ var Li = (
|
|
|
3627
3606
|
if (m.err)
|
|
3628
3607
|
return m;
|
|
3629
3608
|
var d = y(i, this.clonePosition());
|
|
3630
|
-
if (u &&
|
|
3631
|
-
var v =
|
|
3609
|
+
if (u && Lt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3610
|
+
var v = Bi(u.style.slice(2));
|
|
3632
3611
|
if (s === "number") {
|
|
3633
3612
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3634
3613
|
return c.err ? c : {
|
|
3635
|
-
val: { type:
|
|
3614
|
+
val: { type: E.number, value: n, location: d, style: c.val },
|
|
3636
3615
|
err: null
|
|
3637
3616
|
};
|
|
3638
3617
|
} else {
|
|
3639
3618
|
if (v.length === 0)
|
|
3640
3619
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3641
3620
|
var T = v;
|
|
3642
|
-
this.locale && (T =
|
|
3621
|
+
this.locale && (T = di(v, this.locale));
|
|
3643
3622
|
var f = {
|
|
3644
|
-
type:
|
|
3623
|
+
type: J.dateTime,
|
|
3645
3624
|
pattern: T,
|
|
3646
3625
|
location: u.styleLocation,
|
|
3647
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3648
|
-
}, C = s === "date" ?
|
|
3626
|
+
parsedOptions: this.shouldParseSkeletons ? ui(T) : {}
|
|
3627
|
+
}, C = s === "date" ? E.date : E.time;
|
|
3649
3628
|
return {
|
|
3650
3629
|
val: { type: C, value: n, location: d, style: f },
|
|
3651
3630
|
err: null
|
|
@@ -3654,7 +3633,7 @@ var Li = (
|
|
|
3654
3633
|
}
|
|
3655
3634
|
return {
|
|
3656
3635
|
val: {
|
|
3657
|
-
type: s === "number" ?
|
|
3636
|
+
type: s === "number" ? E.number : s === "date" ? E.date : E.time,
|
|
3658
3637
|
value: n,
|
|
3659
3638
|
location: d,
|
|
3660
3639
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3667,41 +3646,41 @@ var Li = (
|
|
|
3667
3646
|
case "select": {
|
|
3668
3647
|
var S = this.clonePosition();
|
|
3669
3648
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3670
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S,
|
|
3649
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S, _({}, S)));
|
|
3671
3650
|
this.bumpSpace();
|
|
3672
|
-
var
|
|
3673
|
-
if (s !== "select" &&
|
|
3651
|
+
var B = this.parseIdentifierIfPossible(), w = 0;
|
|
3652
|
+
if (s !== "select" && B.value === "offset") {
|
|
3674
3653
|
if (!this.bumpIf(":"))
|
|
3675
3654
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3676
3655
|
this.bumpSpace();
|
|
3677
3656
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3678
3657
|
if (c.err)
|
|
3679
3658
|
return c;
|
|
3680
|
-
this.bumpSpace(),
|
|
3659
|
+
this.bumpSpace(), B = this.parseIdentifierIfPossible(), w = c.val;
|
|
3681
3660
|
}
|
|
3682
|
-
var
|
|
3683
|
-
if (
|
|
3684
|
-
return
|
|
3661
|
+
var x = this.tryParsePluralOrSelectOptions(t, s, r, B);
|
|
3662
|
+
if (x.err)
|
|
3663
|
+
return x;
|
|
3685
3664
|
var m = this.tryParseArgumentClose(i);
|
|
3686
3665
|
if (m.err)
|
|
3687
3666
|
return m;
|
|
3688
|
-
var
|
|
3667
|
+
var L = y(i, this.clonePosition());
|
|
3689
3668
|
return s === "select" ? {
|
|
3690
3669
|
val: {
|
|
3691
|
-
type:
|
|
3670
|
+
type: E.select,
|
|
3692
3671
|
value: n,
|
|
3693
|
-
options:
|
|
3694
|
-
location:
|
|
3672
|
+
options: Ot(x.val),
|
|
3673
|
+
location: L
|
|
3695
3674
|
},
|
|
3696
3675
|
err: null
|
|
3697
3676
|
} : {
|
|
3698
3677
|
val: {
|
|
3699
|
-
type:
|
|
3678
|
+
type: E.plural,
|
|
3700
3679
|
value: n,
|
|
3701
|
-
options:
|
|
3702
|
-
offset:
|
|
3680
|
+
options: Ot(x.val),
|
|
3681
|
+
offset: w,
|
|
3703
3682
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3704
|
-
location:
|
|
3683
|
+
location: L
|
|
3705
3684
|
},
|
|
3706
3685
|
err: null
|
|
3707
3686
|
};
|
|
@@ -3749,16 +3728,16 @@ var Li = (
|
|
|
3749
3728
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3750
3729
|
var n = [];
|
|
3751
3730
|
try {
|
|
3752
|
-
n =
|
|
3731
|
+
n = hi(t);
|
|
3753
3732
|
} catch (i) {
|
|
3754
3733
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3755
3734
|
}
|
|
3756
3735
|
return {
|
|
3757
3736
|
val: {
|
|
3758
|
-
type:
|
|
3737
|
+
type: J.number,
|
|
3759
3738
|
tokens: n,
|
|
3760
3739
|
location: r,
|
|
3761
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3740
|
+
parsedOptions: this.shouldParseSkeletons ? pi(n) : {}
|
|
3762
3741
|
},
|
|
3763
3742
|
err: null
|
|
3764
3743
|
};
|
|
@@ -3806,7 +3785,7 @@ var Li = (
|
|
|
3806
3785
|
break;
|
|
3807
3786
|
}
|
|
3808
3787
|
var l = y(i, this.clonePosition());
|
|
3809
|
-
return o ? (a *= n,
|
|
3788
|
+
return o ? (a *= n, Hi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3810
3789
|
}, e.prototype.offset = function() {
|
|
3811
3790
|
return this.position.offset;
|
|
3812
3791
|
}, e.prototype.isEOF = function() {
|
|
@@ -3821,7 +3800,7 @@ var Li = (
|
|
|
3821
3800
|
var t = this.position.offset;
|
|
3822
3801
|
if (t >= this.message.length)
|
|
3823
3802
|
throw Error("out of bound");
|
|
3824
|
-
var r =
|
|
3803
|
+
var r = yr(this.message, t);
|
|
3825
3804
|
if (r === void 0)
|
|
3826
3805
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3827
3806
|
return r;
|
|
@@ -3840,7 +3819,7 @@ var Li = (
|
|
|
3840
3819
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3841
3820
|
}
|
|
3842
3821
|
}, e.prototype.bumpIf = function(t) {
|
|
3843
|
-
if (
|
|
3822
|
+
if (Lt(this.message, t, this.offset())) {
|
|
3844
3823
|
for (var r = 0; r < t.length; r++)
|
|
3845
3824
|
this.bump();
|
|
3846
3825
|
return !0;
|
|
@@ -3862,7 +3841,7 @@ var Li = (
|
|
|
3862
3841
|
break;
|
|
3863
3842
|
}
|
|
3864
3843
|
}, e.prototype.bumpSpace = function() {
|
|
3865
|
-
for (; !this.isEOF() &&
|
|
3844
|
+
for (; !this.isEOF() && _r(this.char()); )
|
|
3866
3845
|
this.bump();
|
|
3867
3846
|
}, e.prototype.peek = function() {
|
|
3868
3847
|
if (this.isEOF())
|
|
@@ -3872,47 +3851,47 @@ var Li = (
|
|
|
3872
3851
|
}, e;
|
|
3873
3852
|
}()
|
|
3874
3853
|
);
|
|
3875
|
-
function
|
|
3854
|
+
function Ke(e) {
|
|
3876
3855
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3877
3856
|
}
|
|
3878
|
-
function
|
|
3879
|
-
return
|
|
3857
|
+
function Li(e) {
|
|
3858
|
+
return Ke(e) || e === 47;
|
|
3880
3859
|
}
|
|
3881
|
-
function
|
|
3860
|
+
function Oi(e) {
|
|
3882
3861
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3883
3862
|
}
|
|
3884
|
-
function
|
|
3863
|
+
function _r(e) {
|
|
3885
3864
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3886
3865
|
}
|
|
3887
|
-
function
|
|
3866
|
+
function Ii(e) {
|
|
3888
3867
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3889
3868
|
}
|
|
3890
|
-
function
|
|
3869
|
+
function et(e) {
|
|
3891
3870
|
e.forEach(function(t) {
|
|
3892
|
-
if (delete t.location,
|
|
3871
|
+
if (delete t.location, hr(t) || cr(t))
|
|
3893
3872
|
for (var r in t.options)
|
|
3894
|
-
delete t.options[r].location,
|
|
3873
|
+
delete t.options[r].location, et(t.options[r].value);
|
|
3895
3874
|
else
|
|
3896
|
-
|
|
3875
|
+
ar(t) && mr(t.style) || (ur(t) || lr(t)) && Qe(t.style) ? delete t.style.location : fr(t) && et(t.children);
|
|
3897
3876
|
});
|
|
3898
3877
|
}
|
|
3899
|
-
function
|
|
3900
|
-
t === void 0 && (t = {}), t =
|
|
3901
|
-
var r = new
|
|
3878
|
+
function Mi(e, t) {
|
|
3879
|
+
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3880
|
+
var r = new Pi(e, t).parse();
|
|
3902
3881
|
if (r.err) {
|
|
3903
3882
|
var n = SyntaxError(b[r.err.kind]);
|
|
3904
3883
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3905
3884
|
}
|
|
3906
|
-
return t != null && t.captureLocation ||
|
|
3885
|
+
return t != null && t.captureLocation || et(r.val), r.val;
|
|
3907
3886
|
}
|
|
3908
|
-
var
|
|
3887
|
+
var q;
|
|
3909
3888
|
(function(e) {
|
|
3910
3889
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3911
|
-
})(
|
|
3912
|
-
var
|
|
3890
|
+
})(q || (q = {}));
|
|
3891
|
+
var He = (
|
|
3913
3892
|
/** @class */
|
|
3914
3893
|
function(e) {
|
|
3915
|
-
|
|
3894
|
+
G(t, e);
|
|
3916
3895
|
function t(r, n, i) {
|
|
3917
3896
|
var o = e.call(this, r) || this;
|
|
3918
3897
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3921,155 +3900,155 @@ var Ae = (
|
|
|
3921
3900
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3922
3901
|
}, t;
|
|
3923
3902
|
}(Error)
|
|
3924
|
-
),
|
|
3903
|
+
), Mt = (
|
|
3925
3904
|
/** @class */
|
|
3926
3905
|
function(e) {
|
|
3927
|
-
|
|
3906
|
+
G(t, e);
|
|
3928
3907
|
function t(r, n, i, o) {
|
|
3929
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3908
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
|
|
3930
3909
|
}
|
|
3931
3910
|
return t;
|
|
3932
|
-
}(
|
|
3933
|
-
),
|
|
3911
|
+
}(He)
|
|
3912
|
+
), Ni = (
|
|
3934
3913
|
/** @class */
|
|
3935
3914
|
function(e) {
|
|
3936
|
-
|
|
3915
|
+
G(t, e);
|
|
3937
3916
|
function t(r, n, i) {
|
|
3938
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3917
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
|
|
3939
3918
|
}
|
|
3940
3919
|
return t;
|
|
3941
|
-
}(
|
|
3942
|
-
),
|
|
3920
|
+
}(He)
|
|
3921
|
+
), $i = (
|
|
3943
3922
|
/** @class */
|
|
3944
3923
|
function(e) {
|
|
3945
|
-
|
|
3924
|
+
G(t, e);
|
|
3946
3925
|
function t(r, n) {
|
|
3947
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3926
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
|
|
3948
3927
|
}
|
|
3949
3928
|
return t;
|
|
3950
|
-
}(
|
|
3951
|
-
),
|
|
3929
|
+
}(He)
|
|
3930
|
+
), A;
|
|
3952
3931
|
(function(e) {
|
|
3953
3932
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3954
|
-
})(
|
|
3955
|
-
function
|
|
3933
|
+
})(A || (A = {}));
|
|
3934
|
+
function Ri(e) {
|
|
3956
3935
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3957
3936
|
var n = t[t.length - 1];
|
|
3958
|
-
return !n || n.type !==
|
|
3937
|
+
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3959
3938
|
}, []);
|
|
3960
3939
|
}
|
|
3961
|
-
function
|
|
3940
|
+
function Gi(e) {
|
|
3962
3941
|
return typeof e == "function";
|
|
3963
3942
|
}
|
|
3964
3943
|
function be(e, t, r, n, i, o, a) {
|
|
3965
|
-
if (e.length === 1 &&
|
|
3944
|
+
if (e.length === 1 && Ct(e[0]))
|
|
3966
3945
|
return [
|
|
3967
3946
|
{
|
|
3968
|
-
type:
|
|
3947
|
+
type: A.literal,
|
|
3969
3948
|
value: e[0].value
|
|
3970
3949
|
}
|
|
3971
3950
|
];
|
|
3972
3951
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3973
3952
|
var h = u[l];
|
|
3974
|
-
if (
|
|
3953
|
+
if (Ct(h)) {
|
|
3975
3954
|
s.push({
|
|
3976
|
-
type:
|
|
3955
|
+
type: A.literal,
|
|
3977
3956
|
value: h.value
|
|
3978
3957
|
});
|
|
3979
3958
|
continue;
|
|
3980
3959
|
}
|
|
3981
|
-
if (
|
|
3960
|
+
if (si(h)) {
|
|
3982
3961
|
typeof o == "number" && s.push({
|
|
3983
|
-
type:
|
|
3962
|
+
type: A.literal,
|
|
3984
3963
|
value: r.getNumberFormat(t).format(o)
|
|
3985
3964
|
});
|
|
3986
3965
|
continue;
|
|
3987
3966
|
}
|
|
3988
3967
|
var c = h.value;
|
|
3989
3968
|
if (!(i && c in i))
|
|
3990
|
-
throw new
|
|
3969
|
+
throw new $i(c, a);
|
|
3991
3970
|
var f = i[c];
|
|
3992
|
-
if (
|
|
3971
|
+
if (oi(h)) {
|
|
3993
3972
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3994
|
-
type: typeof f == "string" ?
|
|
3973
|
+
type: typeof f == "string" ? A.literal : A.object,
|
|
3995
3974
|
value: f
|
|
3996
3975
|
});
|
|
3997
3976
|
continue;
|
|
3998
3977
|
}
|
|
3999
|
-
if (
|
|
4000
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3978
|
+
if (ur(h)) {
|
|
3979
|
+
var p = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
|
|
4001
3980
|
s.push({
|
|
4002
|
-
type:
|
|
3981
|
+
type: A.literal,
|
|
4003
3982
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
4004
3983
|
});
|
|
4005
3984
|
continue;
|
|
4006
3985
|
}
|
|
4007
|
-
if (
|
|
4008
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3986
|
+
if (lr(h)) {
|
|
3987
|
+
var p = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
4009
3988
|
s.push({
|
|
4010
|
-
type:
|
|
3989
|
+
type: A.literal,
|
|
4011
3990
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
4012
3991
|
});
|
|
4013
3992
|
continue;
|
|
4014
3993
|
}
|
|
4015
|
-
if (
|
|
4016
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3994
|
+
if (ar(h)) {
|
|
3995
|
+
var p = typeof h.style == "string" ? n.number[h.style] : mr(h.style) ? h.style.parsedOptions : void 0;
|
|
4017
3996
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
4018
|
-
type:
|
|
3997
|
+
type: A.literal,
|
|
4019
3998
|
value: r.getNumberFormat(t, p).format(f)
|
|
4020
3999
|
});
|
|
4021
4000
|
continue;
|
|
4022
4001
|
}
|
|
4023
|
-
if (
|
|
4002
|
+
if (fr(h)) {
|
|
4024
4003
|
var m = h.children, d = h.value, v = i[d];
|
|
4025
|
-
if (!
|
|
4026
|
-
throw new
|
|
4027
|
-
var T = be(m, t, r, n, i, o), C = v(T.map(function(
|
|
4028
|
-
return
|
|
4004
|
+
if (!Gi(v))
|
|
4005
|
+
throw new Ni(d, "function", a);
|
|
4006
|
+
var T = be(m, t, r, n, i, o), C = v(T.map(function(w) {
|
|
4007
|
+
return w.value;
|
|
4029
4008
|
}));
|
|
4030
|
-
Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(
|
|
4009
|
+
Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(w) {
|
|
4031
4010
|
return {
|
|
4032
|
-
type: typeof
|
|
4033
|
-
value:
|
|
4011
|
+
type: typeof w == "string" ? A.literal : A.object,
|
|
4012
|
+
value: w
|
|
4034
4013
|
};
|
|
4035
4014
|
}));
|
|
4036
4015
|
}
|
|
4037
|
-
if (
|
|
4016
|
+
if (hr(h)) {
|
|
4038
4017
|
var S = h.options[f] || h.options.other;
|
|
4039
4018
|
if (!S)
|
|
4040
|
-
throw new
|
|
4019
|
+
throw new Mt(h.value, f, Object.keys(h.options), a);
|
|
4041
4020
|
s.push.apply(s, be(S.value, t, r, n, i));
|
|
4042
4021
|
continue;
|
|
4043
4022
|
}
|
|
4044
|
-
if (
|
|
4023
|
+
if (cr(h)) {
|
|
4045
4024
|
var S = h.options["=".concat(f)];
|
|
4046
4025
|
if (!S) {
|
|
4047
4026
|
if (!Intl.PluralRules)
|
|
4048
|
-
throw new
|
|
4027
|
+
throw new He(`Intl.PluralRules is not available in this environment.
|
|
4049
4028
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4050
|
-
`,
|
|
4051
|
-
var
|
|
4052
|
-
S = h.options[
|
|
4029
|
+
`, q.MISSING_INTL_API, a);
|
|
4030
|
+
var B = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
4031
|
+
S = h.options[B] || h.options.other;
|
|
4053
4032
|
}
|
|
4054
4033
|
if (!S)
|
|
4055
|
-
throw new
|
|
4034
|
+
throw new Mt(h.value, f, Object.keys(h.options), a);
|
|
4056
4035
|
s.push.apply(s, be(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
4057
4036
|
continue;
|
|
4058
4037
|
}
|
|
4059
4038
|
}
|
|
4060
|
-
return
|
|
4039
|
+
return Ri(s);
|
|
4061
4040
|
}
|
|
4062
|
-
function
|
|
4063
|
-
return t ?
|
|
4064
|
-
return r[n] =
|
|
4041
|
+
function Ui(e, t) {
|
|
4042
|
+
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4043
|
+
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
4065
4044
|
}, {})) : e;
|
|
4066
4045
|
}
|
|
4067
|
-
function
|
|
4046
|
+
function Di(e, t) {
|
|
4068
4047
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4069
|
-
return r[n] =
|
|
4070
|
-
},
|
|
4048
|
+
return r[n] = Ui(e[n], t[n]), r;
|
|
4049
|
+
}, _({}, e)) : e;
|
|
4071
4050
|
}
|
|
4072
|
-
function
|
|
4051
|
+
function De(e) {
|
|
4073
4052
|
return {
|
|
4074
4053
|
create: function() {
|
|
4075
4054
|
return {
|
|
@@ -4083,39 +4062,39 @@ function je(e) {
|
|
|
4083
4062
|
}
|
|
4084
4063
|
};
|
|
4085
4064
|
}
|
|
4086
|
-
function
|
|
4065
|
+
function Fi(e) {
|
|
4087
4066
|
return e === void 0 && (e = {
|
|
4088
4067
|
number: {},
|
|
4089
4068
|
dateTime: {},
|
|
4090
4069
|
pluralRules: {}
|
|
4091
4070
|
}), {
|
|
4092
|
-
getNumberFormat:
|
|
4071
|
+
getNumberFormat: Re(function() {
|
|
4093
4072
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4094
4073
|
r[n] = arguments[n];
|
|
4095
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4074
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
|
|
4096
4075
|
}, {
|
|
4097
|
-
cache:
|
|
4098
|
-
strategy:
|
|
4076
|
+
cache: De(e.number),
|
|
4077
|
+
strategy: Ge.variadic
|
|
4099
4078
|
}),
|
|
4100
|
-
getDateTimeFormat:
|
|
4079
|
+
getDateTimeFormat: Re(function() {
|
|
4101
4080
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4102
4081
|
r[n] = arguments[n];
|
|
4103
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4082
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
|
|
4104
4083
|
}, {
|
|
4105
|
-
cache:
|
|
4106
|
-
strategy:
|
|
4084
|
+
cache: De(e.dateTime),
|
|
4085
|
+
strategy: Ge.variadic
|
|
4107
4086
|
}),
|
|
4108
|
-
getPluralRules:
|
|
4087
|
+
getPluralRules: Re(function() {
|
|
4109
4088
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4110
4089
|
r[n] = arguments[n];
|
|
4111
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4090
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
|
|
4112
4091
|
}, {
|
|
4113
|
-
cache:
|
|
4114
|
-
strategy:
|
|
4092
|
+
cache: De(e.pluralRules),
|
|
4093
|
+
strategy: Ge.variadic
|
|
4115
4094
|
})
|
|
4116
4095
|
};
|
|
4117
4096
|
}
|
|
4118
|
-
var
|
|
4097
|
+
var ji = (
|
|
4119
4098
|
/** @class */
|
|
4120
4099
|
function() {
|
|
4121
4100
|
function e(t, r, n, i) {
|
|
@@ -4130,7 +4109,7 @@ var Vi = (
|
|
|
4130
4109
|
if (u.length === 1)
|
|
4131
4110
|
return u[0].value;
|
|
4132
4111
|
var h = u.reduce(function(c, f) {
|
|
4133
|
-
return !c.length || f.type !==
|
|
4112
|
+
return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
4134
4113
|
}, []);
|
|
4135
4114
|
return h.length <= 1 ? h[0] || "" : h;
|
|
4136
4115
|
}, this.formatToParts = function(l) {
|
|
@@ -4147,13 +4126,13 @@ var Vi = (
|
|
|
4147
4126
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4148
4127
|
var a = i || {};
|
|
4149
4128
|
a.formatters;
|
|
4150
|
-
var s =
|
|
4151
|
-
this.ast = e.__parse(t,
|
|
4129
|
+
var s = xn(a, ["formatters"]);
|
|
4130
|
+
this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
|
|
4152
4131
|
} else
|
|
4153
4132
|
this.ast = t;
|
|
4154
4133
|
if (!Array.isArray(this.ast))
|
|
4155
4134
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4156
|
-
this.formats =
|
|
4135
|
+
this.formats = Di(e.formats, n), this.formatters = i && i.formatters || Fi(this.formatterCache);
|
|
4157
4136
|
}
|
|
4158
4137
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4159
4138
|
get: function() {
|
|
@@ -4166,7 +4145,7 @@ var Vi = (
|
|
|
4166
4145
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4167
4146
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4168
4147
|
}
|
|
4169
|
-
}, e.__parse =
|
|
4148
|
+
}, e.__parse = Mi, e.formats = {
|
|
4170
4149
|
number: {
|
|
4171
4150
|
integer: {
|
|
4172
4151
|
maximumFractionDigits: 0
|
|
@@ -4227,7 +4206,7 @@ var Vi = (
|
|
|
4227
4206
|
}, e;
|
|
4228
4207
|
}()
|
|
4229
4208
|
);
|
|
4230
|
-
function
|
|
4209
|
+
function ki(e, t) {
|
|
4231
4210
|
if (t == null)
|
|
4232
4211
|
return;
|
|
4233
4212
|
if (t in e)
|
|
@@ -4248,92 +4227,92 @@ function Xi(e, t) {
|
|
|
4248
4227
|
n = void 0;
|
|
4249
4228
|
return n;
|
|
4250
4229
|
}
|
|
4251
|
-
const U = {},
|
|
4230
|
+
const U = {}, Vi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), xr = (e, t) => {
|
|
4252
4231
|
if (t == null)
|
|
4253
4232
|
return;
|
|
4254
4233
|
if (t in U && e in U[t])
|
|
4255
4234
|
return U[t][e];
|
|
4256
|
-
const r =
|
|
4235
|
+
const r = Ce(t);
|
|
4257
4236
|
for (let n = 0; n < r.length; n++) {
|
|
4258
|
-
const i = r[n], o =
|
|
4237
|
+
const i = r[n], o = zi(i, e);
|
|
4259
4238
|
if (o)
|
|
4260
|
-
return
|
|
4239
|
+
return Vi(e, t, o);
|
|
4261
4240
|
}
|
|
4262
4241
|
};
|
|
4263
|
-
let
|
|
4264
|
-
const he =
|
|
4265
|
-
function
|
|
4266
|
-
return
|
|
4242
|
+
let ut;
|
|
4243
|
+
const he = Te({});
|
|
4244
|
+
function Xi(e) {
|
|
4245
|
+
return ut[e] || null;
|
|
4267
4246
|
}
|
|
4268
|
-
function
|
|
4269
|
-
return e in
|
|
4247
|
+
function Er(e) {
|
|
4248
|
+
return e in ut;
|
|
4270
4249
|
}
|
|
4271
|
-
function
|
|
4272
|
-
if (!
|
|
4250
|
+
function zi(e, t) {
|
|
4251
|
+
if (!Er(e))
|
|
4273
4252
|
return null;
|
|
4274
|
-
const r =
|
|
4275
|
-
return
|
|
4253
|
+
const r = Xi(e);
|
|
4254
|
+
return ki(r, t);
|
|
4276
4255
|
}
|
|
4277
|
-
function
|
|
4256
|
+
function Wi(e) {
|
|
4278
4257
|
if (e == null)
|
|
4279
4258
|
return;
|
|
4280
|
-
const t =
|
|
4259
|
+
const t = Ce(e);
|
|
4281
4260
|
for (let r = 0; r < t.length; r++) {
|
|
4282
4261
|
const n = t[r];
|
|
4283
|
-
if (
|
|
4262
|
+
if (Er(n))
|
|
4284
4263
|
return n;
|
|
4285
4264
|
}
|
|
4286
4265
|
}
|
|
4287
|
-
function
|
|
4266
|
+
function wr(e, ...t) {
|
|
4288
4267
|
delete U[e], he.update((r) => (r[e] = Yn.all([r[e] || {}, ...t]), r));
|
|
4289
4268
|
}
|
|
4290
|
-
|
|
4269
|
+
K(
|
|
4291
4270
|
[he],
|
|
4292
4271
|
([e]) => Object.keys(e)
|
|
4293
4272
|
);
|
|
4294
|
-
he.subscribe((e) =>
|
|
4273
|
+
he.subscribe((e) => ut = e);
|
|
4295
4274
|
const ge = {};
|
|
4296
|
-
function
|
|
4275
|
+
function Zi(e, t) {
|
|
4297
4276
|
ge[e].delete(t), ge[e].size === 0 && delete ge[e];
|
|
4298
4277
|
}
|
|
4299
|
-
function
|
|
4278
|
+
function Sr(e) {
|
|
4300
4279
|
return ge[e];
|
|
4301
4280
|
}
|
|
4302
|
-
function
|
|
4303
|
-
return
|
|
4304
|
-
const r =
|
|
4281
|
+
function Qi(e) {
|
|
4282
|
+
return Ce(e).map((t) => {
|
|
4283
|
+
const r = Sr(t);
|
|
4305
4284
|
return [t, r ? [...r] : []];
|
|
4306
4285
|
}).filter(([, t]) => t.length > 0);
|
|
4307
4286
|
}
|
|
4308
|
-
function
|
|
4309
|
-
return e == null ? !1 :
|
|
4287
|
+
function tt(e) {
|
|
4288
|
+
return e == null ? !1 : Ce(e).some(
|
|
4310
4289
|
(t) => {
|
|
4311
4290
|
var r;
|
|
4312
|
-
return (r =
|
|
4291
|
+
return (r = Sr(t)) == null ? void 0 : r.size;
|
|
4313
4292
|
}
|
|
4314
4293
|
);
|
|
4315
4294
|
}
|
|
4316
|
-
function
|
|
4295
|
+
function Ji(e, t) {
|
|
4317
4296
|
return Promise.all(
|
|
4318
|
-
t.map((n) => (
|
|
4319
|
-
).then((n) =>
|
|
4320
|
-
}
|
|
4321
|
-
const
|
|
4322
|
-
function
|
|
4323
|
-
if (!
|
|
4324
|
-
return e in
|
|
4325
|
-
const t =
|
|
4326
|
-
return
|
|
4297
|
+
t.map((n) => (Zi(e, n), n().then((i) => i.default || i)))
|
|
4298
|
+
).then((n) => wr(e, ...n));
|
|
4299
|
+
}
|
|
4300
|
+
const ne = {};
|
|
4301
|
+
function Tr(e) {
|
|
4302
|
+
if (!tt(e))
|
|
4303
|
+
return e in ne ? ne[e] : Promise.resolve();
|
|
4304
|
+
const t = Qi(e);
|
|
4305
|
+
return ne[e] = Promise.all(
|
|
4327
4306
|
t.map(
|
|
4328
|
-
([r, n]) =>
|
|
4307
|
+
([r, n]) => Ji(r, n)
|
|
4329
4308
|
)
|
|
4330
4309
|
).then(() => {
|
|
4331
|
-
if (
|
|
4332
|
-
return
|
|
4333
|
-
delete
|
|
4334
|
-
}),
|
|
4310
|
+
if (tt(e))
|
|
4311
|
+
return Tr(e);
|
|
4312
|
+
delete ne[e];
|
|
4313
|
+
}), ne[e];
|
|
4335
4314
|
}
|
|
4336
|
-
const
|
|
4315
|
+
const qi = {
|
|
4337
4316
|
number: {
|
|
4338
4317
|
scientific: { notation: "scientific" },
|
|
4339
4318
|
engineering: { notation: "engineering" },
|
|
@@ -4362,135 +4341,135 @@ const Ki = {
|
|
|
4362
4341
|
timeZoneName: "short"
|
|
4363
4342
|
}
|
|
4364
4343
|
}
|
|
4365
|
-
},
|
|
4344
|
+
}, Yi = {
|
|
4366
4345
|
fallbackLocale: null,
|
|
4367
4346
|
loadingDelay: 200,
|
|
4368
|
-
formats:
|
|
4347
|
+
formats: qi,
|
|
4369
4348
|
warnOnMissingMessages: !0,
|
|
4370
4349
|
handleMissingMessage: void 0,
|
|
4371
4350
|
ignoreTag: !0
|
|
4372
|
-
},
|
|
4373
|
-
function
|
|
4374
|
-
return
|
|
4351
|
+
}, Ki = Yi;
|
|
4352
|
+
function Y() {
|
|
4353
|
+
return Ki;
|
|
4375
4354
|
}
|
|
4376
|
-
const
|
|
4377
|
-
var
|
|
4355
|
+
const Fe = Te(!1);
|
|
4356
|
+
var eo = Object.defineProperty, to = Object.defineProperties, ro = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, no = Object.prototype.hasOwnProperty, io = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oo = (e, t) => {
|
|
4378
4357
|
for (var r in t || (t = {}))
|
|
4379
|
-
|
|
4380
|
-
if (
|
|
4381
|
-
for (var r of
|
|
4382
|
-
|
|
4358
|
+
no.call(t, r) && $t(e, r, t[r]);
|
|
4359
|
+
if (Nt)
|
|
4360
|
+
for (var r of Nt(t))
|
|
4361
|
+
io.call(t, r) && $t(e, r, t[r]);
|
|
4383
4362
|
return e;
|
|
4384
|
-
},
|
|
4385
|
-
let
|
|
4386
|
-
const
|
|
4387
|
-
function
|
|
4363
|
+
}, so = (e, t) => to(e, ro(t));
|
|
4364
|
+
let rt;
|
|
4365
|
+
const xe = Te(null);
|
|
4366
|
+
function Rt(e) {
|
|
4388
4367
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4389
4368
|
}
|
|
4390
|
-
function
|
|
4391
|
-
const r =
|
|
4392
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4369
|
+
function Ce(e, t = Y().fallbackLocale) {
|
|
4370
|
+
const r = Rt(e);
|
|
4371
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
|
|
4393
4372
|
}
|
|
4394
4373
|
function F() {
|
|
4395
|
-
return
|
|
4374
|
+
return rt != null ? rt : void 0;
|
|
4396
4375
|
}
|
|
4397
|
-
|
|
4398
|
-
|
|
4376
|
+
xe.subscribe((e) => {
|
|
4377
|
+
rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4399
4378
|
});
|
|
4400
|
-
const
|
|
4401
|
-
if (e &&
|
|
4402
|
-
const { loadingDelay: t } =
|
|
4379
|
+
const ao = (e) => {
|
|
4380
|
+
if (e && Wi(e) && tt(e)) {
|
|
4381
|
+
const { loadingDelay: t } = Y();
|
|
4403
4382
|
let r;
|
|
4404
4383
|
return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
|
|
4405
|
-
() =>
|
|
4384
|
+
() => Fe.set(!0),
|
|
4406
4385
|
t
|
|
4407
|
-
) :
|
|
4408
|
-
|
|
4386
|
+
) : Fe.set(!0), Tr(e).then(() => {
|
|
4387
|
+
xe.set(e);
|
|
4409
4388
|
}).finally(() => {
|
|
4410
|
-
clearTimeout(r),
|
|
4389
|
+
clearTimeout(r), Fe.set(!1);
|
|
4411
4390
|
});
|
|
4412
4391
|
}
|
|
4413
|
-
return
|
|
4414
|
-
},
|
|
4415
|
-
set:
|
|
4416
|
-
}),
|
|
4392
|
+
return xe.set(e);
|
|
4393
|
+
}, ee = so(oo({}, xe), {
|
|
4394
|
+
set: ao
|
|
4395
|
+
}), Be = (e) => {
|
|
4417
4396
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4418
4397
|
return (n) => {
|
|
4419
4398
|
const i = JSON.stringify(n);
|
|
4420
4399
|
return i in t ? t[i] : t[i] = e(n);
|
|
4421
4400
|
};
|
|
4422
4401
|
};
|
|
4423
|
-
var
|
|
4402
|
+
var uo = Object.defineProperty, Ee = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
|
4424
4403
|
for (var r in t || (t = {}))
|
|
4425
|
-
|
|
4426
|
-
if (
|
|
4427
|
-
for (var r of
|
|
4428
|
-
|
|
4404
|
+
Hr.call(t, r) && Gt(e, r, t[r]);
|
|
4405
|
+
if (Ee)
|
|
4406
|
+
for (var r of Ee(t))
|
|
4407
|
+
Cr.call(t, r) && Gt(e, r, t[r]);
|
|
4429
4408
|
return e;
|
|
4430
|
-
},
|
|
4409
|
+
}, te = (e, t) => {
|
|
4431
4410
|
var r = {};
|
|
4432
4411
|
for (var n in e)
|
|
4433
|
-
|
|
4434
|
-
if (e != null &&
|
|
4435
|
-
for (var n of
|
|
4436
|
-
t.indexOf(n) < 0 &&
|
|
4412
|
+
Hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4413
|
+
if (e != null && Ee)
|
|
4414
|
+
for (var n of Ee(e))
|
|
4415
|
+
t.indexOf(n) < 0 && Cr.call(e, n) && (r[n] = e[n]);
|
|
4437
4416
|
return r;
|
|
4438
4417
|
};
|
|
4439
|
-
const
|
|
4440
|
-
const { formats: r } =
|
|
4418
|
+
const ue = (e, t) => {
|
|
4419
|
+
const { formats: r } = Y();
|
|
4441
4420
|
if (e in r && t in r[e])
|
|
4442
4421
|
return r[e][t];
|
|
4443
4422
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4444
|
-
},
|
|
4423
|
+
}, lo = Be(
|
|
4445
4424
|
(e) => {
|
|
4446
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4425
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4447
4426
|
if (r == null)
|
|
4448
4427
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4449
|
-
return n && (i =
|
|
4428
|
+
return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
|
|
4450
4429
|
}
|
|
4451
|
-
),
|
|
4430
|
+
), ho = Be(
|
|
4452
4431
|
(e) => {
|
|
4453
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4432
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4454
4433
|
if (r == null)
|
|
4455
4434
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4456
|
-
return n ? i =
|
|
4435
|
+
return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4457
4436
|
}
|
|
4458
|
-
),
|
|
4437
|
+
), co = Be(
|
|
4459
4438
|
(e) => {
|
|
4460
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4439
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4461
4440
|
if (r == null)
|
|
4462
4441
|
throw new Error(
|
|
4463
4442
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4464
4443
|
);
|
|
4465
|
-
return n ? i =
|
|
4444
|
+
return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4466
4445
|
}
|
|
4467
|
-
),
|
|
4446
|
+
), fo = (e = {}) => {
|
|
4468
4447
|
var t = e, {
|
|
4469
4448
|
locale: r = F()
|
|
4470
|
-
} = t, n =
|
|
4449
|
+
} = t, n = te(t, [
|
|
4471
4450
|
"locale"
|
|
4472
4451
|
]);
|
|
4473
|
-
return
|
|
4474
|
-
},
|
|
4452
|
+
return lo(lt({ locale: r }, n));
|
|
4453
|
+
}, mo = (e = {}) => {
|
|
4475
4454
|
var t = e, {
|
|
4476
4455
|
locale: r = F()
|
|
4477
|
-
} = t, n =
|
|
4456
|
+
} = t, n = te(t, [
|
|
4478
4457
|
"locale"
|
|
4479
4458
|
]);
|
|
4480
|
-
return
|
|
4481
|
-
},
|
|
4459
|
+
return ho(lt({ locale: r }, n));
|
|
4460
|
+
}, po = (e = {}) => {
|
|
4482
4461
|
var t = e, {
|
|
4483
4462
|
locale: r = F()
|
|
4484
|
-
} = t, n =
|
|
4463
|
+
} = t, n = te(t, [
|
|
4485
4464
|
"locale"
|
|
4486
4465
|
]);
|
|
4487
|
-
return
|
|
4488
|
-
},
|
|
4466
|
+
return co(lt({ locale: r }, n));
|
|
4467
|
+
}, bo = Be(
|
|
4489
4468
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4490
|
-
(e, t = F()) => new
|
|
4491
|
-
ignoreTag:
|
|
4469
|
+
(e, t = F()) => new ji(e, t, Y().formats, {
|
|
4470
|
+
ignoreTag: Y().ignoreTag
|
|
4492
4471
|
})
|
|
4493
|
-
),
|
|
4472
|
+
), go = (e, t = {}) => {
|
|
4494
4473
|
var r, n, i, o;
|
|
4495
4474
|
let a = t;
|
|
4496
4475
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4503,9 +4482,9 @@ const ae = (e, t) => {
|
|
|
4503
4482
|
throw new Error(
|
|
4504
4483
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4505
4484
|
);
|
|
4506
|
-
let h =
|
|
4485
|
+
let h = xr(e, l);
|
|
4507
4486
|
if (!h)
|
|
4508
|
-
h = (o = (i = (n = (r =
|
|
4487
|
+
h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4509
4488
|
else if (typeof h != "string")
|
|
4510
4489
|
return console.warn(
|
|
4511
4490
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4514,7 +4493,7 @@ const ae = (e, t) => {
|
|
|
4514
4493
|
return h;
|
|
4515
4494
|
let c = h;
|
|
4516
4495
|
try {
|
|
4517
|
-
c =
|
|
4496
|
+
c = bo(h, l).format(s);
|
|
4518
4497
|
} catch (f) {
|
|
4519
4498
|
f instanceof Error && console.warn(
|
|
4520
4499
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4522,21 +4501,21 @@ const ae = (e, t) => {
|
|
|
4522
4501
|
);
|
|
4523
4502
|
}
|
|
4524
4503
|
return c;
|
|
4525
|
-
},
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4504
|
+
}, yo = (e, t) => po(t).format(e), vo = (e, t) => mo(t).format(e), _o = (e, t) => fo(t).format(e), xo = (e, t = F()) => xr(e, t), Eo = K([ee, he], () => go);
|
|
4505
|
+
K([ee], () => yo);
|
|
4506
|
+
K([ee], () => vo);
|
|
4507
|
+
K([ee], () => _o);
|
|
4508
|
+
K([ee, he], () => xo);
|
|
4530
4509
|
window.emWidgets = { topic: Nn };
|
|
4531
|
-
const
|
|
4510
|
+
const wo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4532
4511
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4533
|
-
function
|
|
4534
|
-
|
|
4512
|
+
function Ut(e, t) {
|
|
4513
|
+
wr(e, t);
|
|
4535
4514
|
}
|
|
4536
|
-
function
|
|
4537
|
-
|
|
4515
|
+
function So(e) {
|
|
4516
|
+
ee.set(e);
|
|
4538
4517
|
}
|
|
4539
|
-
const
|
|
4518
|
+
const Dt = {
|
|
4540
4519
|
en: {
|
|
4541
4520
|
cancel: "Cancel",
|
|
4542
4521
|
confirm: "Confirm"
|
|
@@ -4582,26 +4561,26 @@ const jt = {
|
|
|
4582
4561
|
confirm: "Confirm"
|
|
4583
4562
|
}
|
|
4584
4563
|
};
|
|
4585
|
-
function
|
|
4586
|
-
|
|
4564
|
+
function To(e) {
|
|
4565
|
+
zr(e, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
|
|
4587
4566
|
}
|
|
4588
|
-
const
|
|
4589
|
-
function
|
|
4567
|
+
const Ho = (e) => ({}), Ft = (e) => ({});
|
|
4568
|
+
function Co(e) {
|
|
4590
4569
|
let t, r;
|
|
4591
4570
|
return {
|
|
4592
4571
|
c() {
|
|
4593
|
-
t =
|
|
4572
|
+
t = bt("svg"), r = bt("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4594
4573
|
},
|
|
4595
4574
|
m(n, i) {
|
|
4596
|
-
|
|
4575
|
+
ot(n, t, i), P(t, r);
|
|
4597
4576
|
},
|
|
4598
4577
|
p: I,
|
|
4599
4578
|
d(n) {
|
|
4600
|
-
n &&
|
|
4579
|
+
n && le(t);
|
|
4601
4580
|
}
|
|
4602
4581
|
};
|
|
4603
4582
|
}
|
|
4604
|
-
function
|
|
4583
|
+
function Bo(e) {
|
|
4605
4584
|
let t, r, n, i, o, a, s, l, u, h = (
|
|
4606
4585
|
/*$_*/
|
|
4607
4586
|
e[2]("cancel") + ""
|
|
@@ -4612,38 +4591,38 @@ function Po(e) {
|
|
|
4612
4591
|
const S = (
|
|
4613
4592
|
/*#slots*/
|
|
4614
4593
|
e[14].close
|
|
4615
|
-
),
|
|
4594
|
+
), B = Dr(
|
|
4616
4595
|
S,
|
|
4617
4596
|
e,
|
|
4618
4597
|
/*$$scope*/
|
|
4619
4598
|
e[13],
|
|
4620
|
-
|
|
4621
|
-
),
|
|
4599
|
+
Ft
|
|
4600
|
+
), w = B || Co();
|
|
4622
4601
|
return {
|
|
4623
4602
|
c() {
|
|
4624
|
-
t = M("div"), r = M("div"), n = M("span"),
|
|
4603
|
+
t = M("div"), r = M("div"), n = M("span"), w && w.c(), i = Pe(), o = M("div"), a = ie(
|
|
4625
4604
|
/*modaltext*/
|
|
4626
4605
|
e[0]
|
|
4627
|
-
), s =
|
|
4606
|
+
), s = Pe(), l = M("div"), u = M("button"), c = ie(h), f = Pe(), p = M("button"), d = ie(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*/
|
|
4628
4607
|
(e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), H(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
|
|
4629
4608
|
(e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), H(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
|
|
4630
4609
|
(e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
|
|
4631
4610
|
},
|
|
4632
|
-
m(
|
|
4633
|
-
|
|
4634
|
-
|
|
4611
|
+
m(x, L) {
|
|
4612
|
+
ot(x, t, L), P(t, 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), e[15](t), v = !0, T || (C = [
|
|
4613
|
+
Le(
|
|
4635
4614
|
n,
|
|
4636
4615
|
"click",
|
|
4637
4616
|
/*close*/
|
|
4638
4617
|
e[4]
|
|
4639
4618
|
),
|
|
4640
|
-
|
|
4619
|
+
Le(
|
|
4641
4620
|
u,
|
|
4642
4621
|
"click",
|
|
4643
4622
|
/*cancelChanges*/
|
|
4644
4623
|
e[6]
|
|
4645
4624
|
),
|
|
4646
|
-
|
|
4625
|
+
Le(
|
|
4647
4626
|
p,
|
|
4648
4627
|
"click",
|
|
4649
4628
|
/*confirmChanges*/
|
|
@@ -4651,67 +4630,67 @@ function Po(e) {
|
|
|
4651
4630
|
)
|
|
4652
4631
|
], T = !0);
|
|
4653
4632
|
},
|
|
4654
|
-
p(
|
|
4655
|
-
|
|
4656
|
-
8192) &&
|
|
4657
|
-
|
|
4633
|
+
p(x, [L]) {
|
|
4634
|
+
B && B.p && (!v || L & /*$$scope*/
|
|
4635
|
+
8192) && jr(
|
|
4636
|
+
B,
|
|
4658
4637
|
S,
|
|
4659
|
-
|
|
4638
|
+
x,
|
|
4660
4639
|
/*$$scope*/
|
|
4661
|
-
|
|
4662
|
-
v ?
|
|
4640
|
+
x[13],
|
|
4641
|
+
v ? Fr(
|
|
4663
4642
|
S,
|
|
4664
4643
|
/*$$scope*/
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
) :
|
|
4644
|
+
x[13],
|
|
4645
|
+
L,
|
|
4646
|
+
Ho
|
|
4647
|
+
) : kr(
|
|
4669
4648
|
/*$$scope*/
|
|
4670
|
-
|
|
4649
|
+
x[13]
|
|
4671
4650
|
),
|
|
4672
|
-
|
|
4673
|
-
), (!v ||
|
|
4674
|
-
1) &&
|
|
4651
|
+
Ft
|
|
4652
|
+
), (!v || L & /*modaltext*/
|
|
4653
|
+
1) && Oe(
|
|
4675
4654
|
a,
|
|
4676
4655
|
/*modaltext*/
|
|
4677
|
-
|
|
4678
|
-
), (!v ||
|
|
4656
|
+
x[0]
|
|
4657
|
+
), (!v || L & /*$_*/
|
|
4679
4658
|
4) && h !== (h = /*$_*/
|
|
4680
|
-
|
|
4659
|
+
x[2]("cancel") + "") && Oe(c, h), (!v || L & /*$_*/
|
|
4681
4660
|
4) && m !== (m = /*$_*/
|
|
4682
|
-
|
|
4661
|
+
x[2]("confirm") + "") && Oe(d, m);
|
|
4683
4662
|
},
|
|
4684
|
-
i(
|
|
4685
|
-
v || (
|
|
4663
|
+
i(x) {
|
|
4664
|
+
v || (Qt(w, x), v = !0);
|
|
4686
4665
|
},
|
|
4687
|
-
o(
|
|
4688
|
-
|
|
4666
|
+
o(x) {
|
|
4667
|
+
ln(w, x), v = !1;
|
|
4689
4668
|
},
|
|
4690
|
-
d(
|
|
4691
|
-
|
|
4669
|
+
d(x) {
|
|
4670
|
+
x && le(t), w && w.d(x), e[15](null), T = !1, D(C);
|
|
4692
4671
|
}
|
|
4693
4672
|
};
|
|
4694
4673
|
}
|
|
4695
|
-
function
|
|
4674
|
+
function Ao(e, t, r) {
|
|
4696
4675
|
let n;
|
|
4697
|
-
|
|
4676
|
+
Ur(e, Eo, (g) => r(2, n = g));
|
|
4698
4677
|
let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modalsource: s = "" } = t, { lang: l = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t;
|
|
4699
4678
|
const p = () => {
|
|
4700
4679
|
fetch(f).then((j) => j.json()).then((j) => {
|
|
4701
|
-
Object.keys(j).forEach((
|
|
4702
|
-
|
|
4680
|
+
Object.keys(j).forEach((ht) => {
|
|
4681
|
+
Ut(ht, j[ht]);
|
|
4703
4682
|
});
|
|
4704
4683
|
}).catch((j) => {
|
|
4705
4684
|
console.log(j);
|
|
4706
4685
|
});
|
|
4707
4686
|
};
|
|
4708
|
-
Object.keys(
|
|
4709
|
-
|
|
4687
|
+
Object.keys(Dt).forEach((g) => {
|
|
4688
|
+
Ut(g, Dt[g]);
|
|
4710
4689
|
});
|
|
4711
|
-
let m, d = window.navigator.userAgent, v =
|
|
4690
|
+
let m, d = window.navigator.userAgent, v = wo(d) !== "PC", T = {}, C = "";
|
|
4712
4691
|
const S = () => {
|
|
4713
4692
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4714
|
-
},
|
|
4693
|
+
}, B = () => {
|
|
4715
4694
|
s === "groupEdit" ? window.postMessage({ type: "GamingLimitsConfirmChanges" }, window.location.href) : s === "infoCard" && window.postMessage(
|
|
4716
4695
|
{
|
|
4717
4696
|
type: "PlayerAccountGamingLimitDelete",
|
|
@@ -4720,23 +4699,23 @@ function Oo(e, t, r) {
|
|
|
4720
4699
|
},
|
|
4721
4700
|
window.location.href
|
|
4722
4701
|
), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4723
|
-
},
|
|
4702
|
+
}, w = () => {
|
|
4724
4703
|
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);
|
|
4725
|
-
},
|
|
4704
|
+
}, x = (g) => g === "Time Limit" ? "cumulativeSessionLimits" : g === "Deposit Limit" ? "depositLimits" : g === "Wagering Limit" ? "wageringLimit" : "lossLimit", L = (g) => {
|
|
4726
4705
|
if (g.data)
|
|
4727
4706
|
switch (g.data.type) {
|
|
4728
4707
|
case "DeleteLimitsItem":
|
|
4729
|
-
T = g.data.removeData, C =
|
|
4708
|
+
T = g.data.removeData, C = x(g.data.removeName);
|
|
4730
4709
|
break;
|
|
4731
4710
|
}
|
|
4732
|
-
},
|
|
4733
|
-
|
|
4711
|
+
}, Ar = () => {
|
|
4712
|
+
So(l);
|
|
4734
4713
|
};
|
|
4735
|
-
|
|
4736
|
-
window.removeEventListener("message",
|
|
4714
|
+
rn(() => (window.addEventListener("message", L, !1), () => {
|
|
4715
|
+
window.removeEventListener("message", L);
|
|
4737
4716
|
}));
|
|
4738
|
-
function
|
|
4739
|
-
|
|
4717
|
+
function Pr(g) {
|
|
4718
|
+
je[g ? "unshift" : "push"](() => {
|
|
4740
4719
|
m = g, r(1, m);
|
|
4741
4720
|
});
|
|
4742
4721
|
}
|
|
@@ -4744,10 +4723,10 @@ function Oo(e, t, r) {
|
|
|
4744
4723
|
"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);
|
|
4745
4724
|
}, e.$$.update = () => {
|
|
4746
4725
|
e.$$.dirty & /*modaltext, modalsource, lang*/
|
|
4747
|
-
385 && a && s && l &&
|
|
4748
|
-
514 && u && m &&
|
|
4749
|
-
1026 && h && m &&
|
|
4750
|
-
2050 && c && m &&
|
|
4726
|
+
385 && a && s && l && Ar(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4727
|
+
514 && u && m && yn(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4728
|
+
1026 && h && m && vn(m, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4729
|
+
2050 && c && m && _n(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
|
|
4751
4730
|
4096 && f && p();
|
|
4752
4731
|
}, [
|
|
4753
4732
|
a,
|
|
@@ -4755,8 +4734,8 @@ function Oo(e, t, r) {
|
|
|
4755
4734
|
n,
|
|
4756
4735
|
v,
|
|
4757
4736
|
S,
|
|
4758
|
-
|
|
4759
|
-
|
|
4737
|
+
B,
|
|
4738
|
+
w,
|
|
4760
4739
|
s,
|
|
4761
4740
|
l,
|
|
4762
4741
|
u,
|
|
@@ -4765,17 +4744,17 @@ function Oo(e, t, r) {
|
|
|
4765
4744
|
f,
|
|
4766
4745
|
o,
|
|
4767
4746
|
i,
|
|
4768
|
-
|
|
4747
|
+
Pr
|
|
4769
4748
|
];
|
|
4770
4749
|
}
|
|
4771
|
-
class Br extends
|
|
4750
|
+
class Br extends bn {
|
|
4772
4751
|
constructor(t) {
|
|
4773
|
-
super(),
|
|
4752
|
+
super(), pn(
|
|
4774
4753
|
this,
|
|
4775
4754
|
t,
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4755
|
+
Ao,
|
|
4756
|
+
Bo,
|
|
4757
|
+
kt,
|
|
4779
4758
|
{
|
|
4780
4759
|
modaltext: 0,
|
|
4781
4760
|
modalsource: 7,
|
|
@@ -4785,106 +4764,106 @@ class Br extends gn {
|
|
|
4785
4764
|
mbsource: 11,
|
|
4786
4765
|
translationurl: 12
|
|
4787
4766
|
},
|
|
4788
|
-
|
|
4767
|
+
To
|
|
4789
4768
|
);
|
|
4790
4769
|
}
|
|
4791
4770
|
get modaltext() {
|
|
4792
4771
|
return this.$$.ctx[0];
|
|
4793
4772
|
}
|
|
4794
4773
|
set modaltext(t) {
|
|
4795
|
-
this.$$set({ modaltext: t }),
|
|
4774
|
+
this.$$set({ modaltext: t }), N();
|
|
4796
4775
|
}
|
|
4797
4776
|
get modalsource() {
|
|
4798
4777
|
return this.$$.ctx[7];
|
|
4799
4778
|
}
|
|
4800
4779
|
set modalsource(t) {
|
|
4801
|
-
this.$$set({ modalsource: t }),
|
|
4780
|
+
this.$$set({ modalsource: t }), N();
|
|
4802
4781
|
}
|
|
4803
4782
|
get lang() {
|
|
4804
4783
|
return this.$$.ctx[8];
|
|
4805
4784
|
}
|
|
4806
4785
|
set lang(t) {
|
|
4807
|
-
this.$$set({ lang: t }),
|
|
4786
|
+
this.$$set({ lang: t }), N();
|
|
4808
4787
|
}
|
|
4809
4788
|
get clientstyling() {
|
|
4810
4789
|
return this.$$.ctx[9];
|
|
4811
4790
|
}
|
|
4812
4791
|
set clientstyling(t) {
|
|
4813
|
-
this.$$set({ clientstyling: t }),
|
|
4792
|
+
this.$$set({ clientstyling: t }), N();
|
|
4814
4793
|
}
|
|
4815
4794
|
get clientstylingurl() {
|
|
4816
4795
|
return this.$$.ctx[10];
|
|
4817
4796
|
}
|
|
4818
4797
|
set clientstylingurl(t) {
|
|
4819
|
-
this.$$set({ clientstylingurl: t }),
|
|
4798
|
+
this.$$set({ clientstylingurl: t }), N();
|
|
4820
4799
|
}
|
|
4821
4800
|
get mbsource() {
|
|
4822
4801
|
return this.$$.ctx[11];
|
|
4823
4802
|
}
|
|
4824
4803
|
set mbsource(t) {
|
|
4825
|
-
this.$$set({ mbsource: t }),
|
|
4804
|
+
this.$$set({ mbsource: t }), N();
|
|
4826
4805
|
}
|
|
4827
4806
|
get translationurl() {
|
|
4828
4807
|
return this.$$.ctx[12];
|
|
4829
4808
|
}
|
|
4830
4809
|
set translationurl(t) {
|
|
4831
|
-
this.$$set({ translationurl: t }),
|
|
4810
|
+
this.$$set({ translationurl: t }), N();
|
|
4832
4811
|
}
|
|
4833
4812
|
}
|
|
4834
|
-
|
|
4835
|
-
const
|
|
4813
|
+
dn(Br, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
|
|
4814
|
+
const ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4836
4815
|
__proto__: null,
|
|
4837
4816
|
default: Br
|
|
4838
4817
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4839
4818
|
export {
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4819
|
+
ee as $,
|
|
4820
|
+
Oo as A,
|
|
4821
|
+
Go as B,
|
|
4822
|
+
No as C,
|
|
4823
|
+
je as D,
|
|
4824
|
+
yn as E,
|
|
4825
|
+
vn as F,
|
|
4826
|
+
$o as G,
|
|
4827
|
+
_e as H,
|
|
4828
|
+
Ro as I,
|
|
4829
|
+
we as J,
|
|
4830
|
+
Eo as K,
|
|
4831
|
+
$r as L,
|
|
4832
|
+
Qt as M,
|
|
4833
|
+
ln as N,
|
|
4834
|
+
Do as O,
|
|
4835
|
+
Dr as P,
|
|
4836
|
+
jr as Q,
|
|
4858
4837
|
kr as R,
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4838
|
+
bn as S,
|
|
4839
|
+
Fr as T,
|
|
4840
|
+
Fo as U,
|
|
4841
|
+
Uo as V,
|
|
4842
|
+
ko as W,
|
|
4843
|
+
wr as a,
|
|
4844
|
+
zr as b,
|
|
4845
|
+
dn as c,
|
|
4846
|
+
Pe as d,
|
|
4847
|
+
M as e,
|
|
4848
|
+
N as f,
|
|
4849
|
+
bt as g,
|
|
4850
|
+
H as h,
|
|
4851
|
+
pn as i,
|
|
4852
|
+
Mo as j,
|
|
4853
|
+
ot as k,
|
|
4854
|
+
P as l,
|
|
4876
4855
|
Le as m,
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4856
|
+
Oe as n,
|
|
4857
|
+
I as o,
|
|
4858
|
+
Io as p,
|
|
4859
|
+
le as q,
|
|
4881
4860
|
D as r,
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4861
|
+
kt as s,
|
|
4862
|
+
ie as t,
|
|
4863
|
+
Ur as u,
|
|
4864
|
+
wo as v,
|
|
4865
|
+
rn as w,
|
|
4866
|
+
_n as x,
|
|
4867
|
+
jo as y,
|
|
4868
|
+
Lo as z
|
|
4890
4869
|
};
|