@everymatrix/player-account-gaming-limits-wrapper-2-nd 1.86.3 → 1.86.5
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/{PlayerAccountGamingLimitsHistory2Nd-Dgbphtdl.js → PlayerAccountGamingLimitsHistory2Nd-CpdNyWHf.js} +1032 -1011
- package/components/{PlayerAccountGamingLimitsHistory2Nd-B5xUZKKm.js → PlayerAccountGamingLimitsHistory2Nd-D6shL-va.js} +892 -871
- package/components/PlayerAccountGamingLimitsHistory2Nd-DqtpLYL5.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CSTXUUVd.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-BR2nKSLu.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BQKW0l5-.js → PlayerAccountGamingLimitsPage2Gm16Nd-C7ZC3SEL.js} +129 -129
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CRBjIfRH.js → PlayerAccountGamingLimitsPage2Gm16Nd-CB_EN_o8.js} +126 -126
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BIXZoc6j.cjs → PlayerAccountGamingLimitsWrapper2Nd-ZFKAQJMk.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-Cj-1oF6g.js → PlayerAccountGamingLimitsWrapper2Nd-lAxefD0_.js} +63 -63
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-B5HmbkfG.js → PlayerAccountGamingLimitsWrapper2Nd-rN3e-z76.js} +86 -86
- package/es2015/player-account-gaming-limits-wrapper-2-nd.cjs +1 -1
- package/es2015/player-account-gaming-limits-wrapper-2-nd.js +1 -1
- package/esnext/player-account-gaming-limits-wrapper-2-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-9K-aI7zC.cjs +1 -0
- package/stencil/index-b2193545-DsMHU6jb.js +519 -0
- package/stencil/index-b2193545-R7ZoV-kY.js +503 -0
- package/stencil/{ui-skeleton-C7KTfaPd.cjs → ui-skeleton-BreIU6e5.cjs} +1 -1
- package/stencil/{ui-skeleton-Cn9Rv2BY.js → ui-skeleton-W50o8tfg.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BA-lE0xf.js → ui-skeleton-ed169f8f-CVY4B-CP.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-cGTgZqRU.cjs → ui-skeleton-ed169f8f-CpiCXJrP.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-b70BXhTZ.js → ui-skeleton-ed169f8f-D3TjbVKy.js} +1 -1
- package/stencil/{ui-skeleton-YNoAIoec.js → ui-skeleton-xXZA3rYO.js} +2 -2
- package/components/PlayerAccountGamingLimitsHistory2Nd-DND3KRRQ.cjs +0 -18
- package/stencil/index-b2193545-CMoQ4Pov.js +0 -503
- package/stencil/index-b2193545-CQaBo5im.cjs +0 -1
- package/stencil/index-b2193545-DvP9W4Go.js +0 -519
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
function
|
|
1
|
+
function O() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Gr(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,46 +8,46 @@ function $r(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function kt(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function yt() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
e.forEach(
|
|
17
|
+
function re(e) {
|
|
18
|
+
e.forEach(kt);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function ft(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Vt(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function Fr(e) {
|
|
27
27
|
return Object.keys(e).length === 0;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function Wt(e, ...t) {
|
|
30
30
|
if (e == null) {
|
|
31
31
|
for (const i of t)
|
|
32
32
|
i(void 0);
|
|
33
|
-
return
|
|
33
|
+
return O;
|
|
34
34
|
}
|
|
35
35
|
const r = e.subscribe(...t);
|
|
36
36
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.$$.on_destroy.push(
|
|
38
|
+
function jr(e, t, r) {
|
|
39
|
+
e.$$.on_destroy.push(Wt(t, r));
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Lo(e, t, r, i) {
|
|
42
42
|
if (e) {
|
|
43
|
-
const n =
|
|
43
|
+
const n = zt(e, t, r, i);
|
|
44
44
|
return e[0](n);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
return e[1] && i ?
|
|
47
|
+
function zt(e, t, r, i) {
|
|
48
|
+
return e[1] && i ? Gr(r.ctx.slice(), e[1](i(t))) : r.ctx;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Ao(e, t, r, i) {
|
|
51
51
|
if (e[2] && i) {
|
|
52
52
|
const n = e[2](i(r));
|
|
53
53
|
if (t.dirty === void 0)
|
|
@@ -62,13 +62,13 @@ function Lo(e, t, r, i) {
|
|
|
62
62
|
}
|
|
63
63
|
return t.dirty;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function Po(e, t, r, i, n, o) {
|
|
66
66
|
if (n) {
|
|
67
|
-
const a =
|
|
67
|
+
const a = zt(t, r, i, o);
|
|
68
68
|
e.p(a, n);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Ho(e) {
|
|
72
72
|
if (e.ctx.length > 32) {
|
|
73
73
|
const t = [], r = e.ctx.length / 32;
|
|
74
74
|
for (let i = 0; i < r; i++)
|
|
@@ -77,26 +77,26 @@ function Ao(e) {
|
|
|
77
77
|
}
|
|
78
78
|
return -1;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Bo(e) {
|
|
81
81
|
const t = {};
|
|
82
82
|
for (const r in e)
|
|
83
83
|
t[r] = !0;
|
|
84
84
|
return t;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function gt(e) {
|
|
87
87
|
return e ?? "";
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function x(e, t) {
|
|
90
90
|
e.appendChild(t);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
93
|
-
const i =
|
|
92
|
+
function kr(e, t, r) {
|
|
93
|
+
const i = Vr(e);
|
|
94
94
|
if (!i.getElementById(t)) {
|
|
95
|
-
const n =
|
|
96
|
-
n.id = t, n.textContent = r,
|
|
95
|
+
const n = P("style");
|
|
96
|
+
n.id = t, n.textContent = r, Wr(i, n);
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Vr(e) {
|
|
100
100
|
if (!e)
|
|
101
101
|
return document;
|
|
102
102
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -106,8 +106,8 @@ function kr(e) {
|
|
|
106
106
|
t
|
|
107
107
|
) : e.ownerDocument;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
return
|
|
109
|
+
function Wr(e, t) {
|
|
110
|
+
return x(
|
|
111
111
|
/** @type {Document} */
|
|
112
112
|
e.head || e,
|
|
113
113
|
t
|
|
@@ -119,52 +119,52 @@ function z(e, t, r) {
|
|
|
119
119
|
function k(e) {
|
|
120
120
|
e.parentNode && e.parentNode.removeChild(e);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function zr(e, t) {
|
|
123
123
|
for (let r = 0; r < e.length; r += 1)
|
|
124
124
|
e[r] && e[r].d(t);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function P(e) {
|
|
127
127
|
return document.createElement(e);
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function $e(e) {
|
|
130
130
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function R(e) {
|
|
133
133
|
return document.createTextNode(e);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
136
|
-
return
|
|
135
|
+
function Ze() {
|
|
136
|
+
return R(" ");
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
return
|
|
138
|
+
function Oo() {
|
|
139
|
+
return R("");
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function Xr(e, t, r, i) {
|
|
142
142
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
143
143
|
}
|
|
144
144
|
function E(e, t, r) {
|
|
145
145
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function Co(e, t, r) {
|
|
148
148
|
const i = t.toLowerCase();
|
|
149
149
|
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : E(e, t, r);
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function Io(e) {
|
|
152
152
|
return e === "" ? null : +e;
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function Zr(e) {
|
|
155
155
|
return Array.from(e.childNodes);
|
|
156
156
|
}
|
|
157
157
|
function j(e, t) {
|
|
158
158
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
159
159
|
t);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function No(e, t) {
|
|
162
162
|
e.value = t ?? "";
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Qr(e, t, r, i) {
|
|
165
165
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function Mo(e, t, r) {
|
|
168
168
|
for (let i = 0; i < e.options.length; i += 1) {
|
|
169
169
|
const n = e.options[i];
|
|
170
170
|
if (n.__value === t) {
|
|
@@ -174,14 +174,14 @@ function Io(e, t, r) {
|
|
|
174
174
|
}
|
|
175
175
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Ro(e) {
|
|
178
178
|
const t = e.querySelector(":checked");
|
|
179
179
|
return t && t.__value;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function ge(e, t, r) {
|
|
182
182
|
e.classList.toggle(t, !!r);
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Yr(e) {
|
|
185
185
|
const t = {};
|
|
186
186
|
return e.childNodes.forEach(
|
|
187
187
|
/** @param {Element} node */
|
|
@@ -190,72 +190,72 @@ function Qr(e) {
|
|
|
190
190
|
}
|
|
191
191
|
), t;
|
|
192
192
|
}
|
|
193
|
-
let
|
|
194
|
-
function
|
|
195
|
-
|
|
193
|
+
let le;
|
|
194
|
+
function ue(e) {
|
|
195
|
+
le = e;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
198
|
-
if (!
|
|
197
|
+
function Jr() {
|
|
198
|
+
if (!le)
|
|
199
199
|
throw new Error("Function called outside component initialization");
|
|
200
|
-
return
|
|
200
|
+
return le;
|
|
201
201
|
}
|
|
202
|
-
function
|
|
203
|
-
|
|
202
|
+
function qr(e) {
|
|
203
|
+
Jr().$$.on_mount.push(e);
|
|
204
204
|
}
|
|
205
|
-
const Y = [],
|
|
205
|
+
const Y = [], Se = [];
|
|
206
206
|
let J = [];
|
|
207
|
-
const
|
|
208
|
-
let
|
|
209
|
-
function
|
|
210
|
-
|
|
207
|
+
const bt = [], Xt = /* @__PURE__ */ Promise.resolve();
|
|
208
|
+
let Qe = !1;
|
|
209
|
+
function Zt() {
|
|
210
|
+
Qe || (Qe = !0, Xt.then(C));
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
return
|
|
212
|
+
function Do() {
|
|
213
|
+
return Zt(), Xt;
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function Ye(e) {
|
|
216
216
|
J.push(e);
|
|
217
217
|
}
|
|
218
|
-
const
|
|
218
|
+
const Ue = /* @__PURE__ */ new Set();
|
|
219
219
|
let Z = 0;
|
|
220
|
-
function
|
|
220
|
+
function C() {
|
|
221
221
|
if (Z !== 0)
|
|
222
222
|
return;
|
|
223
|
-
const e =
|
|
223
|
+
const e = le;
|
|
224
224
|
do {
|
|
225
225
|
try {
|
|
226
226
|
for (; Z < Y.length; ) {
|
|
227
227
|
const t = Y[Z];
|
|
228
|
-
Z++,
|
|
228
|
+
Z++, ue(t), Kr(t.$$);
|
|
229
229
|
}
|
|
230
230
|
} catch (t) {
|
|
231
231
|
throw Y.length = 0, Z = 0, t;
|
|
232
232
|
}
|
|
233
|
-
for (
|
|
234
|
-
|
|
233
|
+
for (ue(null), Y.length = 0, Z = 0; Se.length; )
|
|
234
|
+
Se.pop()();
|
|
235
235
|
for (let t = 0; t < J.length; t += 1) {
|
|
236
236
|
const r = J[t];
|
|
237
|
-
|
|
237
|
+
Ue.has(r) || (Ue.add(r), r());
|
|
238
238
|
}
|
|
239
239
|
J.length = 0;
|
|
240
240
|
} while (Y.length);
|
|
241
|
-
for (;
|
|
242
|
-
|
|
243
|
-
|
|
241
|
+
for (; bt.length; )
|
|
242
|
+
bt.pop()();
|
|
243
|
+
Qe = !1, Ue.clear(), ue(e);
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function Kr(e) {
|
|
246
246
|
if (e.fragment !== null) {
|
|
247
|
-
e.update(),
|
|
247
|
+
e.update(), re(e.before_update);
|
|
248
248
|
const t = e.dirty;
|
|
249
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
249
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function ei(e) {
|
|
253
253
|
const t = [], r = [];
|
|
254
254
|
J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
|
|
255
255
|
}
|
|
256
256
|
const _e = /* @__PURE__ */ new Set();
|
|
257
257
|
let W;
|
|
258
|
-
function
|
|
258
|
+
function $o() {
|
|
259
259
|
W = {
|
|
260
260
|
r: 0,
|
|
261
261
|
c: [],
|
|
@@ -263,13 +263,13 @@ function Ro() {
|
|
|
263
263
|
// parent group
|
|
264
264
|
};
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
W.r ||
|
|
266
|
+
function Uo() {
|
|
267
|
+
W.r || re(W.c), W = W.p;
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function ti(e, t) {
|
|
270
270
|
e && e.i && (_e.delete(e), e.i(t));
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function Go(e, t, r, i) {
|
|
273
273
|
if (e && e.o) {
|
|
274
274
|
if (_e.has(e))
|
|
275
275
|
return;
|
|
@@ -279,34 +279,34 @@ function Uo(e, t, r, i) {
|
|
|
279
279
|
} else
|
|
280
280
|
i && i();
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function vt(e) {
|
|
283
283
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function ri(e, t, r) {
|
|
286
286
|
const { fragment: i, after_update: n } = e.$$;
|
|
287
|
-
i && i.m(t, r),
|
|
288
|
-
const o = e.$$.on_mount.map(
|
|
289
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
290
|
-
}), n.forEach(
|
|
287
|
+
i && i.m(t, r), Ye(() => {
|
|
288
|
+
const o = e.$$.on_mount.map(kt).filter(ft);
|
|
289
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
|
|
290
|
+
}), n.forEach(Ye);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function ii(e, t) {
|
|
293
293
|
const r = e.$$;
|
|
294
|
-
r.fragment !== null && (
|
|
294
|
+
r.fragment !== null && (ei(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
297
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
|
296
|
+
function ni(e, t) {
|
|
297
|
+
e.$$.dirty[0] === -1 && (Y.push(e), Zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
298
298
|
}
|
|
299
|
-
function
|
|
300
|
-
const h =
|
|
301
|
-
|
|
299
|
+
function oi(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
300
|
+
const h = le;
|
|
301
|
+
ue(e);
|
|
302
302
|
const u = e.$$ = {
|
|
303
303
|
fragment: null,
|
|
304
304
|
ctx: [],
|
|
305
305
|
// state
|
|
306
306
|
props: o,
|
|
307
|
-
update:
|
|
307
|
+
update: O,
|
|
308
308
|
not_equal: n,
|
|
309
|
-
bound:
|
|
309
|
+
bound: yt(),
|
|
310
310
|
// lifecycle
|
|
311
311
|
on_mount: [],
|
|
312
312
|
on_destroy: [],
|
|
@@ -315,7 +315,7 @@ function ni(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
315
315
|
after_update: [],
|
|
316
316
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
317
317
|
// everything else
|
|
318
|
-
callbacks:
|
|
318
|
+
callbacks: yt(),
|
|
319
319
|
dirty: s,
|
|
320
320
|
skip_bound: !1,
|
|
321
321
|
root: t.target || h.$$.root
|
|
@@ -324,19 +324,19 @@ function ni(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
324
324
|
let l = !1;
|
|
325
325
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
326
326
|
const y = p.length ? p[0] : f;
|
|
327
|
-
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l &&
|
|
328
|
-
}) : [], u.update(), l = !0,
|
|
327
|
+
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && ni(e, c)), f;
|
|
328
|
+
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
329
329
|
if (t.hydrate) {
|
|
330
|
-
const c =
|
|
330
|
+
const c = Zr(t.target);
|
|
331
331
|
u.fragment && u.fragment.l(c), c.forEach(k);
|
|
332
332
|
} else
|
|
333
333
|
u.fragment && u.fragment.c();
|
|
334
|
-
t.intro &&
|
|
334
|
+
t.intro && ti(e.$$.fragment), ri(e, t.target, t.anchor), C();
|
|
335
335
|
}
|
|
336
|
-
|
|
336
|
+
ue(h);
|
|
337
337
|
}
|
|
338
|
-
let
|
|
339
|
-
typeof HTMLElement == "function" && (
|
|
338
|
+
let Qt;
|
|
339
|
+
typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
340
340
|
/** The Svelte component constructor */
|
|
341
341
|
$$ctor;
|
|
342
342
|
/** Slots */
|
|
@@ -378,7 +378,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
378
378
|
let o;
|
|
379
379
|
return {
|
|
380
380
|
c: function() {
|
|
381
|
-
o =
|
|
381
|
+
o = P("slot"), n !== "default" && E(o, "name", n);
|
|
382
382
|
},
|
|
383
383
|
/**
|
|
384
384
|
* @param {HTMLElement} target
|
|
@@ -395,12 +395,12 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
395
395
|
};
|
|
396
396
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
397
397
|
return;
|
|
398
|
-
const t = {}, r =
|
|
398
|
+
const t = {}, r = Yr(this);
|
|
399
399
|
for (const n of this.$$s)
|
|
400
400
|
n in r && (t[n] = [e(n)]);
|
|
401
401
|
for (const n of this.attributes) {
|
|
402
402
|
const o = this.$$g_p(n.name);
|
|
403
|
-
o in this.$$d || (this.$$d[o] =
|
|
403
|
+
o in this.$$d || (this.$$d[o] = Ee(o, n.value, this.$$p_d, "toProp"));
|
|
404
404
|
}
|
|
405
405
|
for (const n in this.$$p_d)
|
|
406
406
|
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
@@ -418,7 +418,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
418
418
|
this.$$r = !0;
|
|
419
419
|
for (const n in this.$$p_d)
|
|
420
420
|
if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
|
|
421
|
-
const o =
|
|
421
|
+
const o = Ee(
|
|
422
422
|
n,
|
|
423
423
|
this.$$d[n],
|
|
424
424
|
this.$$p_d,
|
|
@@ -440,7 +440,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
440
440
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
441
441
|
// and setting attributes through setAttribute etc, this is helpful
|
|
442
442
|
attributeChangedCallback(e, t, r) {
|
|
443
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
443
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ee(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
444
444
|
}
|
|
445
445
|
disconnectedCallback() {
|
|
446
446
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -453,7 +453,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
453
453
|
) || e;
|
|
454
454
|
}
|
|
455
455
|
});
|
|
456
|
-
function
|
|
456
|
+
function Ee(e, t, r, i) {
|
|
457
457
|
const n = r[e]?.type;
|
|
458
458
|
if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
|
|
459
459
|
return t;
|
|
@@ -482,8 +482,8 @@ function xe(e, t, r, i) {
|
|
|
482
482
|
return t;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
function
|
|
486
|
-
let a = class extends
|
|
485
|
+
function si(e, t, r, i, n, o) {
|
|
486
|
+
let a = class extends Qt {
|
|
487
487
|
constructor() {
|
|
488
488
|
super(e, r, n), this.$$p_d = t;
|
|
489
489
|
}
|
|
@@ -499,7 +499,7 @@ function oi(e, t, r, i, n, o) {
|
|
|
499
499
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
500
500
|
},
|
|
501
501
|
set(h) {
|
|
502
|
-
h =
|
|
502
|
+
h = Ee(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
|
|
503
503
|
}
|
|
504
504
|
});
|
|
505
505
|
}), i.forEach((s) => {
|
|
@@ -511,7 +511,7 @@ function oi(e, t, r, i, n, o) {
|
|
|
511
511
|
}), e.element = /** @type {any} */
|
|
512
512
|
a, a;
|
|
513
513
|
}
|
|
514
|
-
class
|
|
514
|
+
class ai {
|
|
515
515
|
/**
|
|
516
516
|
* ### PRIVATE API
|
|
517
517
|
*
|
|
@@ -530,7 +530,7 @@ class si {
|
|
|
530
530
|
$$set = void 0;
|
|
531
531
|
/** @returns {void} */
|
|
532
532
|
$destroy() {
|
|
533
|
-
|
|
533
|
+
ii(this, 1), this.$destroy = O;
|
|
534
534
|
}
|
|
535
535
|
/**
|
|
536
536
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -539,8 +539,8 @@ class si {
|
|
|
539
539
|
* @returns {() => void}
|
|
540
540
|
*/
|
|
541
541
|
$on(t, r) {
|
|
542
|
-
if (!
|
|
543
|
-
return
|
|
542
|
+
if (!ft(r))
|
|
543
|
+
return O;
|
|
544
544
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
545
545
|
return i.push(r), () => {
|
|
546
546
|
const n = i.indexOf(r);
|
|
@@ -552,11 +552,11 @@ class si {
|
|
|
552
552
|
* @returns {void}
|
|
553
553
|
*/
|
|
554
554
|
$set(t) {
|
|
555
|
-
this.$$set && !
|
|
555
|
+
this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
const
|
|
559
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
558
|
+
const ui = "4";
|
|
559
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ui);
|
|
560
560
|
/*! *****************************************************************************
|
|
561
561
|
Copyright (c) Microsoft Corporation.
|
|
562
562
|
|
|
@@ -571,43 +571,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
571
571
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
572
572
|
PERFORMANCE OF THIS SOFTWARE.
|
|
573
573
|
***************************************************************************** */
|
|
574
|
-
var
|
|
575
|
-
return
|
|
574
|
+
var Je = function(e, t) {
|
|
575
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
576
576
|
r.__proto__ = i;
|
|
577
577
|
} || function(r, i) {
|
|
578
578
|
for (var n in i)
|
|
579
579
|
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
580
|
-
},
|
|
580
|
+
}, Je(e, t);
|
|
581
581
|
};
|
|
582
|
-
function
|
|
582
|
+
function fe(e, t) {
|
|
583
583
|
if (typeof t != "function" && t !== null)
|
|
584
584
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
585
|
-
|
|
585
|
+
Je(e, t);
|
|
586
586
|
function r() {
|
|
587
587
|
this.constructor = e;
|
|
588
588
|
}
|
|
589
589
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
590
590
|
}
|
|
591
|
-
|
|
592
|
-
return x = Object.assign || function(t) {
|
|
593
|
-
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
594
|
-
r = arguments[i];
|
|
595
|
-
for (var o in r)
|
|
596
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
597
|
-
}
|
|
598
|
-
return t;
|
|
599
|
-
}, x.apply(this, arguments);
|
|
600
|
-
};
|
|
601
|
-
function ui(e, t) {
|
|
602
|
-
var r = {};
|
|
603
|
-
for (var i in e)
|
|
604
|
-
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
605
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
606
|
-
for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
|
|
607
|
-
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
608
|
-
return r;
|
|
609
|
-
}
|
|
610
|
-
function Ye(e) {
|
|
591
|
+
function qe(e) {
|
|
611
592
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
612
593
|
if (r)
|
|
613
594
|
return r.call(e);
|
|
@@ -619,7 +600,7 @@ function Ye(e) {
|
|
|
619
600
|
};
|
|
620
601
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
621
602
|
}
|
|
622
|
-
function
|
|
603
|
+
function Ke(e, t) {
|
|
623
604
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
624
605
|
if (!r)
|
|
625
606
|
return e;
|
|
@@ -639,22 +620,22 @@ function Je(e, t) {
|
|
|
639
620
|
}
|
|
640
621
|
return o;
|
|
641
622
|
}
|
|
642
|
-
function
|
|
643
|
-
if (
|
|
623
|
+
function et(e, t, r) {
|
|
624
|
+
if (arguments.length === 2)
|
|
644
625
|
for (var i = 0, n = t.length, o; i < n; i++)
|
|
645
626
|
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
646
627
|
return e.concat(o || t);
|
|
647
628
|
}
|
|
648
|
-
function
|
|
629
|
+
function G(e) {
|
|
649
630
|
return typeof e == "function";
|
|
650
631
|
}
|
|
651
|
-
function
|
|
632
|
+
function Yt(e) {
|
|
652
633
|
var t = function(i) {
|
|
653
634
|
Error.call(i), i.stack = new Error().stack;
|
|
654
635
|
}, r = e(t);
|
|
655
636
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
656
637
|
}
|
|
657
|
-
var
|
|
638
|
+
var Ge = Yt(function(e) {
|
|
658
639
|
return function(r) {
|
|
659
640
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
660
641
|
` + r.map(function(i, n) {
|
|
@@ -663,7 +644,7 @@ var Ue = Zt(function(e) {
|
|
|
663
644
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
664
645
|
};
|
|
665
646
|
});
|
|
666
|
-
function
|
|
647
|
+
function tt(e, t) {
|
|
667
648
|
if (e) {
|
|
668
649
|
var r = e.indexOf(t);
|
|
669
650
|
0 <= r && e.splice(r, 1);
|
|
@@ -681,7 +662,7 @@ var He = function() {
|
|
|
681
662
|
if (a)
|
|
682
663
|
if (this._parentage = null, Array.isArray(a))
|
|
683
664
|
try {
|
|
684
|
-
for (var s =
|
|
665
|
+
for (var s = qe(a), h = s.next(); !h.done; h = s.next()) {
|
|
685
666
|
var u = h.value;
|
|
686
667
|
u.remove(this);
|
|
687
668
|
}
|
|
@@ -698,22 +679,22 @@ var He = function() {
|
|
|
698
679
|
else
|
|
699
680
|
a.remove(this);
|
|
700
681
|
var l = this.initialTeardown;
|
|
701
|
-
if (
|
|
682
|
+
if (G(l))
|
|
702
683
|
try {
|
|
703
684
|
l();
|
|
704
685
|
} catch (d) {
|
|
705
|
-
o = d instanceof
|
|
686
|
+
o = d instanceof Ge ? d.errors : [d];
|
|
706
687
|
}
|
|
707
688
|
var c = this._finalizers;
|
|
708
689
|
if (c) {
|
|
709
690
|
this._finalizers = null;
|
|
710
691
|
try {
|
|
711
|
-
for (var f =
|
|
692
|
+
for (var f = qe(c), p = f.next(); !p.done; p = f.next()) {
|
|
712
693
|
var y = p.value;
|
|
713
694
|
try {
|
|
714
|
-
|
|
695
|
+
_t(y);
|
|
715
696
|
} catch (d) {
|
|
716
|
-
o = o ?? [], d instanceof
|
|
697
|
+
o = o ?? [], d instanceof Ge ? o = et(et([], Ke(o)), Ke(d.errors)) : o.push(d);
|
|
717
698
|
}
|
|
718
699
|
}
|
|
719
700
|
} catch (d) {
|
|
@@ -728,13 +709,13 @@ var He = function() {
|
|
|
728
709
|
}
|
|
729
710
|
}
|
|
730
711
|
if (o)
|
|
731
|
-
throw new
|
|
712
|
+
throw new Ge(o);
|
|
732
713
|
}
|
|
733
714
|
}, e.prototype.add = function(t) {
|
|
734
715
|
var r;
|
|
735
716
|
if (t && t !== this)
|
|
736
717
|
if (this.closed)
|
|
737
|
-
|
|
718
|
+
_t(t);
|
|
738
719
|
else {
|
|
739
720
|
if (t instanceof e) {
|
|
740
721
|
if (t.closed || t._hasParent(this))
|
|
@@ -751,56 +732,52 @@ var He = function() {
|
|
|
751
732
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
752
733
|
}, e.prototype._removeParent = function(t) {
|
|
753
734
|
var r = this._parentage;
|
|
754
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
735
|
+
r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
|
|
755
736
|
}, e.prototype.remove = function(t) {
|
|
756
737
|
var r = this._finalizers;
|
|
757
|
-
r &&
|
|
738
|
+
r && tt(r, t), t instanceof e && t._removeParent(this);
|
|
758
739
|
}, e.EMPTY = function() {
|
|
759
740
|
var t = new e();
|
|
760
741
|
return t.closed = !0, t;
|
|
761
742
|
}(), e;
|
|
762
|
-
}(),
|
|
763
|
-
function
|
|
764
|
-
return e instanceof He || e && "closed" in e &&
|
|
743
|
+
}(), Jt = He.EMPTY;
|
|
744
|
+
function qt(e) {
|
|
745
|
+
return e instanceof He || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
765
746
|
}
|
|
766
|
-
function
|
|
767
|
-
|
|
768
|
-
}
|
|
769
|
-
var
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
Promise: void 0,
|
|
773
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
774
|
-
useDeprecatedNextContext: !1
|
|
775
|
-
}, li = {
|
|
747
|
+
function _t(e) {
|
|
748
|
+
G(e) ? e() : e.unsubscribe();
|
|
749
|
+
}
|
|
750
|
+
var li = {
|
|
751
|
+
Promise: void 0
|
|
752
|
+
}, hi = {
|
|
776
753
|
setTimeout: function(e, t) {
|
|
777
754
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
778
755
|
r[i - 2] = arguments[i];
|
|
779
|
-
return setTimeout.apply(void 0,
|
|
756
|
+
return setTimeout.apply(void 0, et([e, t], Ke(r)));
|
|
780
757
|
},
|
|
781
758
|
clearTimeout: function(e) {
|
|
782
759
|
return clearTimeout(e);
|
|
783
760
|
},
|
|
784
761
|
delegate: void 0
|
|
785
762
|
};
|
|
786
|
-
function
|
|
787
|
-
|
|
763
|
+
function ci(e) {
|
|
764
|
+
hi.setTimeout(function() {
|
|
788
765
|
throw e;
|
|
789
766
|
});
|
|
790
767
|
}
|
|
791
|
-
function
|
|
768
|
+
function Et() {
|
|
792
769
|
}
|
|
793
|
-
function
|
|
770
|
+
function xe(e) {
|
|
794
771
|
e();
|
|
795
772
|
}
|
|
796
|
-
var
|
|
797
|
-
|
|
773
|
+
var Kt = function(e) {
|
|
774
|
+
fe(t, e);
|
|
798
775
|
function t(r) {
|
|
799
776
|
var i = e.call(this) || this;
|
|
800
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
777
|
+
return i.isStopped = !1, r ? (i.destination = r, qt(r) && r.add(i)) : i.destination = pi, i;
|
|
801
778
|
}
|
|
802
779
|
return t.create = function(r, i, n) {
|
|
803
|
-
return new
|
|
780
|
+
return new rt(r, i, n);
|
|
804
781
|
}, t.prototype.next = function(r) {
|
|
805
782
|
this.isStopped || this._next(r);
|
|
806
783
|
}, t.prototype.error = function(r) {
|
|
@@ -824,11 +801,7 @@ var qt = function(e) {
|
|
|
824
801
|
this.unsubscribe();
|
|
825
802
|
}
|
|
826
803
|
}, t;
|
|
827
|
-
}(He),
|
|
828
|
-
function $e(e, t) {
|
|
829
|
-
return ci.call(e, t);
|
|
830
|
-
}
|
|
831
|
-
var fi = function() {
|
|
804
|
+
}(He), fi = function() {
|
|
832
805
|
function e(t) {
|
|
833
806
|
this.partialObserver = t;
|
|
834
807
|
}
|
|
@@ -838,7 +811,7 @@ var fi = function() {
|
|
|
838
811
|
try {
|
|
839
812
|
r.next(t);
|
|
840
813
|
} catch (i) {
|
|
841
|
-
|
|
814
|
+
be(i);
|
|
842
815
|
}
|
|
843
816
|
}, e.prototype.error = function(t) {
|
|
844
817
|
var r = this.partialObserver;
|
|
@@ -846,68 +819,56 @@ var fi = function() {
|
|
|
846
819
|
try {
|
|
847
820
|
r.error(t);
|
|
848
821
|
} catch (i) {
|
|
849
|
-
|
|
822
|
+
be(i);
|
|
850
823
|
}
|
|
851
824
|
else
|
|
852
|
-
|
|
825
|
+
be(t);
|
|
853
826
|
}, e.prototype.complete = function() {
|
|
854
827
|
var t = this.partialObserver;
|
|
855
828
|
if (t.complete)
|
|
856
829
|
try {
|
|
857
830
|
t.complete();
|
|
858
831
|
} catch (r) {
|
|
859
|
-
|
|
832
|
+
be(r);
|
|
860
833
|
}
|
|
861
834
|
}, e;
|
|
862
|
-
}(),
|
|
863
|
-
|
|
835
|
+
}(), rt = function(e) {
|
|
836
|
+
fe(t, e);
|
|
864
837
|
function t(r, i, n) {
|
|
865
838
|
var o = e.call(this) || this, a;
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
};
|
|
872
|
-
else {
|
|
873
|
-
var s;
|
|
874
|
-
o && Jt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
875
|
-
return o.unsubscribe();
|
|
876
|
-
}, a = {
|
|
877
|
-
next: r.next && $e(r.next, s),
|
|
878
|
-
error: r.error && $e(r.error, s),
|
|
879
|
-
complete: r.complete && $e(r.complete, s)
|
|
880
|
-
}) : a = r;
|
|
881
|
-
}
|
|
882
|
-
return o.destination = new fi(a), o;
|
|
839
|
+
return G(r) || !r ? a = {
|
|
840
|
+
next: r ?? void 0,
|
|
841
|
+
error: i ?? void 0,
|
|
842
|
+
complete: n ?? void 0
|
|
843
|
+
} : a = r, o.destination = new fi(a), o;
|
|
883
844
|
}
|
|
884
845
|
return t;
|
|
885
|
-
}(
|
|
886
|
-
function
|
|
887
|
-
|
|
846
|
+
}(Kt);
|
|
847
|
+
function be(e) {
|
|
848
|
+
ci(e);
|
|
888
849
|
}
|
|
889
850
|
function mi(e) {
|
|
890
851
|
throw e;
|
|
891
852
|
}
|
|
892
853
|
var pi = {
|
|
893
854
|
closed: !0,
|
|
894
|
-
next:
|
|
855
|
+
next: Et,
|
|
895
856
|
error: mi,
|
|
896
|
-
complete:
|
|
857
|
+
complete: Et
|
|
897
858
|
}, di = function() {
|
|
898
859
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
899
860
|
}();
|
|
900
861
|
function yi(e) {
|
|
901
862
|
return e;
|
|
902
863
|
}
|
|
903
|
-
function
|
|
864
|
+
function gi(e) {
|
|
904
865
|
return e.length === 0 ? yi : e.length === 1 ? e[0] : function(r) {
|
|
905
866
|
return e.reduce(function(i, n) {
|
|
906
867
|
return n(i);
|
|
907
868
|
}, r);
|
|
908
869
|
};
|
|
909
870
|
}
|
|
910
|
-
var
|
|
871
|
+
var xt = function() {
|
|
911
872
|
function e(t) {
|
|
912
873
|
t && (this._subscribe = t);
|
|
913
874
|
}
|
|
@@ -915,8 +876,8 @@ var _t = function() {
|
|
|
915
876
|
var r = new e();
|
|
916
877
|
return r.source = this, r.operator = t, r;
|
|
917
878
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
918
|
-
var n = this, o = vi(t) ? t : new
|
|
919
|
-
return
|
|
879
|
+
var n = this, o = vi(t) ? t : new rt(t, r, i);
|
|
880
|
+
return xe(function() {
|
|
920
881
|
var a = n, s = a.operator, h = a.source;
|
|
921
882
|
o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
|
|
922
883
|
}), o;
|
|
@@ -928,8 +889,8 @@ var _t = function() {
|
|
|
928
889
|
}
|
|
929
890
|
}, e.prototype.forEach = function(t, r) {
|
|
930
891
|
var i = this;
|
|
931
|
-
return r =
|
|
932
|
-
var a = new
|
|
892
|
+
return r = wt(r), new r(function(n, o) {
|
|
893
|
+
var a = new rt({
|
|
933
894
|
next: function(s) {
|
|
934
895
|
try {
|
|
935
896
|
t(s);
|
|
@@ -950,10 +911,10 @@ var _t = function() {
|
|
|
950
911
|
}, e.prototype.pipe = function() {
|
|
951
912
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
952
913
|
t[r] = arguments[r];
|
|
953
|
-
return
|
|
914
|
+
return gi(t)(this);
|
|
954
915
|
}, e.prototype.toPromise = function(t) {
|
|
955
916
|
var r = this;
|
|
956
|
-
return t =
|
|
917
|
+
return t = wt(t), new t(function(i, n) {
|
|
957
918
|
var o;
|
|
958
919
|
r.subscribe(function(a) {
|
|
959
920
|
return o = a;
|
|
@@ -967,40 +928,40 @@ var _t = function() {
|
|
|
967
928
|
return new e(t);
|
|
968
929
|
}, e;
|
|
969
930
|
}();
|
|
970
|
-
function
|
|
931
|
+
function wt(e) {
|
|
971
932
|
var t;
|
|
972
|
-
return (t = e ??
|
|
933
|
+
return (t = e ?? li.Promise) !== null && t !== void 0 ? t : Promise;
|
|
973
934
|
}
|
|
974
|
-
function
|
|
975
|
-
return e &&
|
|
935
|
+
function bi(e) {
|
|
936
|
+
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
976
937
|
}
|
|
977
938
|
function vi(e) {
|
|
978
|
-
return e && e instanceof
|
|
939
|
+
return e && e instanceof Kt || bi(e) && qt(e);
|
|
979
940
|
}
|
|
980
|
-
var _i =
|
|
941
|
+
var _i = Yt(function(e) {
|
|
981
942
|
return function() {
|
|
982
943
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
983
944
|
};
|
|
984
|
-
}),
|
|
985
|
-
|
|
945
|
+
}), er = function(e) {
|
|
946
|
+
fe(t, e);
|
|
986
947
|
function t() {
|
|
987
948
|
var r = e.call(this) || this;
|
|
988
949
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
989
950
|
}
|
|
990
951
|
return t.prototype.lift = function(r) {
|
|
991
|
-
var i = new
|
|
952
|
+
var i = new Tt(this, this);
|
|
992
953
|
return i.operator = r, i;
|
|
993
954
|
}, t.prototype._throwIfClosed = function() {
|
|
994
955
|
if (this.closed)
|
|
995
956
|
throw new _i();
|
|
996
957
|
}, t.prototype.next = function(r) {
|
|
997
958
|
var i = this;
|
|
998
|
-
|
|
959
|
+
xe(function() {
|
|
999
960
|
var n, o;
|
|
1000
961
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
1001
962
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
1002
963
|
try {
|
|
1003
|
-
for (var a =
|
|
964
|
+
for (var a = qe(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1004
965
|
var h = s.value;
|
|
1005
966
|
h.next(r);
|
|
1006
967
|
}
|
|
@@ -1018,7 +979,7 @@ var _i = Zt(function(e) {
|
|
|
1018
979
|
});
|
|
1019
980
|
}, t.prototype.error = function(r) {
|
|
1020
981
|
var i = this;
|
|
1021
|
-
|
|
982
|
+
xe(function() {
|
|
1022
983
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
1023
984
|
i.hasError = i.isStopped = !0, i.thrownError = r;
|
|
1024
985
|
for (var n = i.observers; n.length; )
|
|
@@ -1027,7 +988,7 @@ var _i = Zt(function(e) {
|
|
|
1027
988
|
});
|
|
1028
989
|
}, t.prototype.complete = function() {
|
|
1029
990
|
var r = this;
|
|
1030
|
-
|
|
991
|
+
xe(function() {
|
|
1031
992
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1032
993
|
r.isStopped = !0;
|
|
1033
994
|
for (var i = r.observers; i.length; )
|
|
@@ -1049,20 +1010,20 @@ var _i = Zt(function(e) {
|
|
|
1049
1010
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1050
1011
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1051
1012
|
var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
|
|
1052
|
-
return o || a ?
|
|
1053
|
-
i.currentObservers = null,
|
|
1013
|
+
return o || a ? Jt : (this.currentObservers = null, s.push(r), new He(function() {
|
|
1014
|
+
i.currentObservers = null, tt(s, r);
|
|
1054
1015
|
}));
|
|
1055
1016
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1056
1017
|
var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
|
|
1057
1018
|
n ? r.error(o) : a && r.complete();
|
|
1058
1019
|
}, t.prototype.asObservable = function() {
|
|
1059
|
-
var r = new
|
|
1020
|
+
var r = new xt();
|
|
1060
1021
|
return r.source = this, r;
|
|
1061
1022
|
}, t.create = function(r, i) {
|
|
1062
|
-
return new
|
|
1023
|
+
return new Tt(r, i);
|
|
1063
1024
|
}, t;
|
|
1064
|
-
}(
|
|
1065
|
-
|
|
1025
|
+
}(xt), Tt = function(e) {
|
|
1026
|
+
fe(t, e);
|
|
1066
1027
|
function t(r, i) {
|
|
1067
1028
|
var n = e.call(this) || this;
|
|
1068
1029
|
return n.destination = r, n.source = i, n;
|
|
@@ -1078,17 +1039,17 @@ var _i = Zt(function(e) {
|
|
|
1078
1039
|
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
|
|
1079
1040
|
}, t.prototype._subscribe = function(r) {
|
|
1080
1041
|
var i, n;
|
|
1081
|
-
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n :
|
|
1042
|
+
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Jt;
|
|
1082
1043
|
}, t;
|
|
1083
|
-
}(
|
|
1044
|
+
}(er), tr = {
|
|
1084
1045
|
now: function() {
|
|
1085
|
-
return (
|
|
1046
|
+
return (tr.delegate || Date).now();
|
|
1086
1047
|
},
|
|
1087
1048
|
delegate: void 0
|
|
1088
|
-
},
|
|
1089
|
-
|
|
1049
|
+
}, Ei = function(e) {
|
|
1050
|
+
fe(t, e);
|
|
1090
1051
|
function t(r, i, n) {
|
|
1091
|
-
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n =
|
|
1052
|
+
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = tr);
|
|
1092
1053
|
var o = e.call(this) || this;
|
|
1093
1054
|
return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
|
|
1094
1055
|
}
|
|
@@ -1108,24 +1069,24 @@ var _i = Zt(function(e) {
|
|
|
1108
1069
|
u && o.splice(0, u + 1);
|
|
1109
1070
|
}
|
|
1110
1071
|
}, t;
|
|
1111
|
-
}(
|
|
1112
|
-
const
|
|
1113
|
-
if (
|
|
1114
|
-
const r = new
|
|
1115
|
-
|
|
1072
|
+
}(er);
|
|
1073
|
+
const St = [], Lt = {}, xi = (e, t = 0) => {
|
|
1074
|
+
if (St.indexOf(e) == -1) {
|
|
1075
|
+
const r = new Ei(t);
|
|
1076
|
+
Lt[e] = r, St.push(e);
|
|
1116
1077
|
}
|
|
1117
|
-
return
|
|
1078
|
+
return Lt[e];
|
|
1118
1079
|
}, Q = [];
|
|
1119
1080
|
function wi(e, t) {
|
|
1120
1081
|
return {
|
|
1121
|
-
subscribe:
|
|
1082
|
+
subscribe: Be(e, t).subscribe
|
|
1122
1083
|
};
|
|
1123
1084
|
}
|
|
1124
|
-
function
|
|
1085
|
+
function Be(e, t = O) {
|
|
1125
1086
|
let r;
|
|
1126
1087
|
const i = /* @__PURE__ */ new Set();
|
|
1127
1088
|
function n(s) {
|
|
1128
|
-
if (
|
|
1089
|
+
if (Vt(e, s) && (e = s, r)) {
|
|
1129
1090
|
const h = !Q.length;
|
|
1130
1091
|
for (const u of i)
|
|
1131
1092
|
u[1](), Q.push(u, e);
|
|
@@ -1139,15 +1100,15 @@ function Pe(e, t = C) {
|
|
|
1139
1100
|
function o(s) {
|
|
1140
1101
|
n(s(e));
|
|
1141
1102
|
}
|
|
1142
|
-
function a(s, h =
|
|
1103
|
+
function a(s, h = O) {
|
|
1143
1104
|
const u = [s, h];
|
|
1144
|
-
return i.add(u), i.size === 1 && (r = t(n, o) ||
|
|
1105
|
+
return i.add(u), i.size === 1 && (r = t(n, o) || O), s(e), () => {
|
|
1145
1106
|
i.delete(u), i.size === 0 && r && (r(), r = null);
|
|
1146
1107
|
};
|
|
1147
1108
|
}
|
|
1148
1109
|
return { set: n, update: o, subscribe: a };
|
|
1149
1110
|
}
|
|
1150
|
-
function
|
|
1111
|
+
function ie(e, t, r) {
|
|
1151
1112
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
1152
1113
|
if (!n.every(Boolean))
|
|
1153
1114
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1155,15 +1116,15 @@ function ne(e, t, r) {
|
|
|
1155
1116
|
return wi(r, (a, s) => {
|
|
1156
1117
|
let h = !1;
|
|
1157
1118
|
const u = [];
|
|
1158
|
-
let l = 0, c =
|
|
1119
|
+
let l = 0, c = O;
|
|
1159
1120
|
const f = () => {
|
|
1160
1121
|
if (l)
|
|
1161
1122
|
return;
|
|
1162
1123
|
c();
|
|
1163
1124
|
const y = t(i ? u[0] : u, a, s);
|
|
1164
|
-
o ? a(y) : c =
|
|
1125
|
+
o ? a(y) : c = ft(y) ? y : O;
|
|
1165
1126
|
}, p = n.map(
|
|
1166
|
-
(y, d) =>
|
|
1127
|
+
(y, d) => Wt(
|
|
1167
1128
|
y,
|
|
1168
1129
|
(v) => {
|
|
1169
1130
|
u[d] = v, l &= ~(1 << d), h && f();
|
|
@@ -1174,53 +1135,53 @@ function ne(e, t, r) {
|
|
|
1174
1135
|
)
|
|
1175
1136
|
);
|
|
1176
1137
|
return h = !0, f(), function() {
|
|
1177
|
-
|
|
1138
|
+
re(p), c(), h = !1;
|
|
1178
1139
|
};
|
|
1179
1140
|
});
|
|
1180
1141
|
}
|
|
1181
1142
|
function Ti(e) {
|
|
1182
1143
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1183
1144
|
}
|
|
1184
|
-
var
|
|
1185
|
-
return
|
|
1145
|
+
var Si = function(t) {
|
|
1146
|
+
return Li(t) && !Ai(t);
|
|
1186
1147
|
};
|
|
1187
|
-
function
|
|
1148
|
+
function Li(e) {
|
|
1188
1149
|
return !!e && typeof e == "object";
|
|
1189
1150
|
}
|
|
1190
1151
|
function Ai(e) {
|
|
1191
1152
|
var t = Object.prototype.toString.call(e);
|
|
1192
1153
|
return t === "[object RegExp]" || t === "[object Date]" || Bi(e);
|
|
1193
1154
|
}
|
|
1194
|
-
var
|
|
1155
|
+
var Pi = typeof Symbol == "function" && Symbol.for, Hi = Pi ? Symbol.for("react.element") : 60103;
|
|
1195
1156
|
function Bi(e) {
|
|
1196
|
-
return e.$$typeof ===
|
|
1157
|
+
return e.$$typeof === Hi;
|
|
1197
1158
|
}
|
|
1198
|
-
function
|
|
1159
|
+
function Oi(e) {
|
|
1199
1160
|
return Array.isArray(e) ? [] : {};
|
|
1200
1161
|
}
|
|
1201
|
-
function
|
|
1202
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1162
|
+
function he(e, t) {
|
|
1163
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(Oi(e), e, t) : e;
|
|
1203
1164
|
}
|
|
1204
|
-
function
|
|
1165
|
+
function Ci(e, t, r) {
|
|
1205
1166
|
return e.concat(t).map(function(i) {
|
|
1206
|
-
return
|
|
1167
|
+
return he(i, r);
|
|
1207
1168
|
});
|
|
1208
1169
|
}
|
|
1209
1170
|
function Ii(e, t) {
|
|
1210
1171
|
if (!t.customMerge)
|
|
1211
|
-
return
|
|
1172
|
+
return q;
|
|
1212
1173
|
var r = t.customMerge(e);
|
|
1213
|
-
return typeof r == "function" ? r :
|
|
1174
|
+
return typeof r == "function" ? r : q;
|
|
1214
1175
|
}
|
|
1215
1176
|
function Ni(e) {
|
|
1216
1177
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1217
1178
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1218
1179
|
}) : [];
|
|
1219
1180
|
}
|
|
1220
|
-
function
|
|
1181
|
+
function At(e) {
|
|
1221
1182
|
return Object.keys(e).concat(Ni(e));
|
|
1222
1183
|
}
|
|
1223
|
-
function
|
|
1184
|
+
function rr(e, t) {
|
|
1224
1185
|
try {
|
|
1225
1186
|
return t in e;
|
|
1226
1187
|
} catch {
|
|
@@ -1228,129 +1189,179 @@ function tr(e, t) {
|
|
|
1228
1189
|
}
|
|
1229
1190
|
}
|
|
1230
1191
|
function Mi(e, t) {
|
|
1231
|
-
return
|
|
1192
|
+
return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1232
1193
|
}
|
|
1233
1194
|
function Ri(e, t, r) {
|
|
1234
1195
|
var i = {};
|
|
1235
|
-
return r.isMergeableObject(e) &&
|
|
1236
|
-
i[n] =
|
|
1237
|
-
}),
|
|
1238
|
-
Mi(e, n) || (
|
|
1196
|
+
return r.isMergeableObject(e) && At(e).forEach(function(n) {
|
|
1197
|
+
i[n] = he(e[n], r);
|
|
1198
|
+
}), At(t).forEach(function(n) {
|
|
1199
|
+
Mi(e, n) || (rr(e, n) && r.isMergeableObject(t[n]) ? i[n] = Ii(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
|
|
1239
1200
|
}), i;
|
|
1240
1201
|
}
|
|
1241
|
-
function
|
|
1242
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1202
|
+
function q(e, t, r) {
|
|
1203
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Ci, r.isMergeableObject = r.isMergeableObject || Si, r.cloneUnlessOtherwiseSpecified = he;
|
|
1243
1204
|
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
1244
|
-
return o ? i ? r.arrayMerge(e, t, r) : Ri(e, t, r) :
|
|
1205
|
+
return o ? i ? r.arrayMerge(e, t, r) : Ri(e, t, r) : he(t, r);
|
|
1245
1206
|
}
|
|
1246
|
-
|
|
1207
|
+
q.all = function(t, r) {
|
|
1247
1208
|
if (!Array.isArray(t))
|
|
1248
1209
|
throw new Error("first argument should be an array");
|
|
1249
1210
|
return t.reduce(function(i, n) {
|
|
1250
|
-
return
|
|
1211
|
+
return q(i, n, r);
|
|
1251
1212
|
}, {});
|
|
1252
1213
|
};
|
|
1253
|
-
var Di =
|
|
1254
|
-
const
|
|
1255
|
-
function
|
|
1256
|
-
|
|
1214
|
+
var Di = q, $i = Di;
|
|
1215
|
+
const Ui = /* @__PURE__ */ Ti($i);
|
|
1216
|
+
var it = function(e, t) {
|
|
1217
|
+
return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
1218
|
+
r.__proto__ = i;
|
|
1219
|
+
} || function(r, i) {
|
|
1220
|
+
for (var n in i)
|
|
1221
|
+
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
1222
|
+
}, it(e, t);
|
|
1223
|
+
};
|
|
1224
|
+
function Oe(e, t) {
|
|
1225
|
+
if (typeof t != "function" && t !== null)
|
|
1226
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1227
|
+
it(e, t);
|
|
1228
|
+
function r() {
|
|
1229
|
+
this.constructor = e;
|
|
1230
|
+
}
|
|
1231
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1232
|
+
}
|
|
1233
|
+
var M = function() {
|
|
1234
|
+
return M = Object.assign || function(t) {
|
|
1235
|
+
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1236
|
+
r = arguments[i];
|
|
1237
|
+
for (var o in r)
|
|
1238
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1239
|
+
}
|
|
1240
|
+
return t;
|
|
1241
|
+
}, M.apply(this, arguments);
|
|
1242
|
+
};
|
|
1243
|
+
function Gi(e, t) {
|
|
1244
|
+
var r = {};
|
|
1245
|
+
for (var i in e)
|
|
1246
|
+
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
1247
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1248
|
+
for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
|
|
1249
|
+
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
1250
|
+
return r;
|
|
1251
|
+
}
|
|
1252
|
+
function Fe(e, t, r) {
|
|
1253
|
+
if (r || arguments.length === 2)
|
|
1254
|
+
for (var i = 0, n = t.length, o; i < n; i++)
|
|
1255
|
+
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
1256
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1257
|
+
}
|
|
1258
|
+
function je(e, t) {
|
|
1259
|
+
var r = t && t.cache ? t.cache : Xi, i = t && t.serializer ? t.serializer : Wi, n = t && t.strategy ? t.strategy : ki;
|
|
1257
1260
|
return n(e, {
|
|
1258
1261
|
cache: r,
|
|
1259
1262
|
serializer: i
|
|
1260
1263
|
});
|
|
1261
1264
|
}
|
|
1262
|
-
function
|
|
1265
|
+
function Fi(e) {
|
|
1263
1266
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1264
1267
|
}
|
|
1265
|
-
function
|
|
1266
|
-
var n =
|
|
1268
|
+
function ji(e, t, r, i) {
|
|
1269
|
+
var n = Fi(i) ? i : r(i), o = t.get(n);
|
|
1267
1270
|
return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
|
|
1268
1271
|
}
|
|
1269
1272
|
function ir(e, t, r) {
|
|
1270
1273
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
|
|
1271
1274
|
return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
|
|
1272
1275
|
}
|
|
1273
|
-
function
|
|
1276
|
+
function nr(e, t, r, i, n) {
|
|
1274
1277
|
return r.bind(t, e, i, n);
|
|
1275
1278
|
}
|
|
1276
|
-
function Fi(e, t) {
|
|
1277
|
-
var r = e.length === 1 ? rr : ir;
|
|
1278
|
-
return lt(e, this, r, t.cache.create(), t.serializer);
|
|
1279
|
-
}
|
|
1280
|
-
function ji(e, t) {
|
|
1281
|
-
return lt(e, this, ir, t.cache.create(), t.serializer);
|
|
1282
|
-
}
|
|
1283
1279
|
function ki(e, t) {
|
|
1284
|
-
|
|
1280
|
+
var r = e.length === 1 ? ji : ir;
|
|
1281
|
+
return nr(e, this, r, t.cache.create(), t.serializer);
|
|
1285
1282
|
}
|
|
1286
|
-
|
|
1287
|
-
return
|
|
1288
|
-
};
|
|
1289
|
-
function ht() {
|
|
1290
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1283
|
+
function Vi(e, t) {
|
|
1284
|
+
return nr(e, this, ir, t.cache.create(), t.serializer);
|
|
1291
1285
|
}
|
|
1292
|
-
|
|
1293
|
-
return
|
|
1294
|
-
}
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1286
|
+
var Wi = function() {
|
|
1287
|
+
return JSON.stringify(arguments);
|
|
1288
|
+
}, zi = (
|
|
1289
|
+
/** @class */
|
|
1290
|
+
function() {
|
|
1291
|
+
function e() {
|
|
1292
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1293
|
+
}
|
|
1294
|
+
return e.prototype.get = function(t) {
|
|
1295
|
+
return this.cache[t];
|
|
1296
|
+
}, e.prototype.set = function(t, r) {
|
|
1297
|
+
this.cache[t] = r;
|
|
1298
|
+
}, e;
|
|
1299
|
+
}()
|
|
1300
|
+
), Xi = {
|
|
1299
1301
|
create: function() {
|
|
1300
|
-
return new
|
|
1302
|
+
return new zi();
|
|
1301
1303
|
}
|
|
1302
|
-
},
|
|
1303
|
-
variadic:
|
|
1304
|
-
|
|
1305
|
-
|
|
1304
|
+
}, ke = {
|
|
1305
|
+
variadic: Vi
|
|
1306
|
+
}, Le = function() {
|
|
1307
|
+
return Le = Object.assign || function(t) {
|
|
1308
|
+
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1309
|
+
r = arguments[i];
|
|
1310
|
+
for (var o in r)
|
|
1311
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1312
|
+
}
|
|
1313
|
+
return t;
|
|
1314
|
+
}, Le.apply(this, arguments);
|
|
1315
|
+
};
|
|
1316
|
+
var b;
|
|
1306
1317
|
(function(e) {
|
|
1307
1318
|
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";
|
|
1308
|
-
})(
|
|
1309
|
-
var
|
|
1319
|
+
})(b || (b = {}));
|
|
1320
|
+
var T;
|
|
1310
1321
|
(function(e) {
|
|
1311
1322
|
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";
|
|
1312
|
-
})(
|
|
1313
|
-
var
|
|
1323
|
+
})(T || (T = {}));
|
|
1324
|
+
var K;
|
|
1314
1325
|
(function(e) {
|
|
1315
1326
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1316
|
-
})(
|
|
1317
|
-
function
|
|
1318
|
-
return e.type ===
|
|
1319
|
-
}
|
|
1320
|
-
function zi(e) {
|
|
1321
|
-
return e.type === L.argument;
|
|
1327
|
+
})(K || (K = {}));
|
|
1328
|
+
function Pt(e) {
|
|
1329
|
+
return e.type === T.literal;
|
|
1322
1330
|
}
|
|
1323
|
-
function
|
|
1324
|
-
return e.type ===
|
|
1331
|
+
function Zi(e) {
|
|
1332
|
+
return e.type === T.argument;
|
|
1325
1333
|
}
|
|
1326
1334
|
function or(e) {
|
|
1327
|
-
return e.type ===
|
|
1335
|
+
return e.type === T.number;
|
|
1328
1336
|
}
|
|
1329
1337
|
function sr(e) {
|
|
1330
|
-
return e.type ===
|
|
1338
|
+
return e.type === T.date;
|
|
1331
1339
|
}
|
|
1332
1340
|
function ar(e) {
|
|
1333
|
-
return e.type ===
|
|
1341
|
+
return e.type === T.time;
|
|
1334
1342
|
}
|
|
1335
1343
|
function ur(e) {
|
|
1336
|
-
return e.type ===
|
|
1337
|
-
}
|
|
1338
|
-
function Xi(e) {
|
|
1339
|
-
return e.type === L.pound;
|
|
1344
|
+
return e.type === T.select;
|
|
1340
1345
|
}
|
|
1341
1346
|
function lr(e) {
|
|
1342
|
-
return e.type ===
|
|
1347
|
+
return e.type === T.plural;
|
|
1348
|
+
}
|
|
1349
|
+
function Qi(e) {
|
|
1350
|
+
return e.type === T.pound;
|
|
1343
1351
|
}
|
|
1344
1352
|
function hr(e) {
|
|
1345
|
-
return
|
|
1353
|
+
return e.type === T.tag;
|
|
1346
1354
|
}
|
|
1347
|
-
function
|
|
1348
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1355
|
+
function cr(e) {
|
|
1356
|
+
return !!(e && typeof e == "object" && e.type === K.number);
|
|
1349
1357
|
}
|
|
1350
|
-
|
|
1351
|
-
|
|
1358
|
+
function nt(e) {
|
|
1359
|
+
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
|
1360
|
+
}
|
|
1361
|
+
var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yi = /(?:[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;
|
|
1362
|
+
function Ji(e) {
|
|
1352
1363
|
var t = {};
|
|
1353
|
-
return e.replace(
|
|
1364
|
+
return e.replace(Yi, function(r) {
|
|
1354
1365
|
var i = r.length;
|
|
1355
1366
|
switch (r[0]) {
|
|
1356
1367
|
case "G":
|
|
@@ -1439,11 +1450,21 @@ function Qi(e) {
|
|
|
1439
1450
|
return "";
|
|
1440
1451
|
}), t;
|
|
1441
1452
|
}
|
|
1442
|
-
var
|
|
1443
|
-
function
|
|
1453
|
+
var L = function() {
|
|
1454
|
+
return L = Object.assign || function(t) {
|
|
1455
|
+
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1456
|
+
r = arguments[i];
|
|
1457
|
+
for (var o in r)
|
|
1458
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1459
|
+
}
|
|
1460
|
+
return t;
|
|
1461
|
+
}, L.apply(this, arguments);
|
|
1462
|
+
};
|
|
1463
|
+
var qi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1464
|
+
function Ki(e) {
|
|
1444
1465
|
if (e.length === 0)
|
|
1445
1466
|
throw new Error("Number skeleton cannot be empty");
|
|
1446
|
-
for (var t = e.split(
|
|
1467
|
+
for (var t = e.split(qi).filter(function(f) {
|
|
1447
1468
|
return f.length > 0;
|
|
1448
1469
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
1449
1470
|
var o = n[i], a = o.split("/");
|
|
@@ -1458,17 +1479,17 @@ function Ji(e) {
|
|
|
1458
1479
|
}
|
|
1459
1480
|
return r;
|
|
1460
1481
|
}
|
|
1461
|
-
function
|
|
1482
|
+
function en(e) {
|
|
1462
1483
|
return e.replace(/^(.*?)-/, "");
|
|
1463
1484
|
}
|
|
1464
|
-
var
|
|
1465
|
-
function
|
|
1485
|
+
var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, tn = /(\*)(0+)|(#+)(0+)|(0+)/g, pr = /^(0+)$/;
|
|
1486
|
+
function Bt(e) {
|
|
1466
1487
|
var t = {};
|
|
1467
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1488
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, i, n) {
|
|
1468
1489
|
return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
|
|
1469
1490
|
}), t;
|
|
1470
1491
|
}
|
|
1471
|
-
function
|
|
1492
|
+
function dr(e) {
|
|
1472
1493
|
switch (e) {
|
|
1473
1494
|
case "sign-auto":
|
|
1474
1495
|
return {
|
|
@@ -1508,7 +1529,7 @@ function pr(e) {
|
|
|
1508
1529
|
};
|
|
1509
1530
|
}
|
|
1510
1531
|
}
|
|
1511
|
-
function
|
|
1532
|
+
function rn(e) {
|
|
1512
1533
|
var t;
|
|
1513
1534
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1514
1535
|
notation: "engineering"
|
|
@@ -1516,17 +1537,17 @@ function en(e) {
|
|
|
1516
1537
|
notation: "scientific"
|
|
1517
1538
|
}, e = e.slice(1)), t) {
|
|
1518
1539
|
var r = e.slice(0, 2);
|
|
1519
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1540
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !pr.test(e))
|
|
1520
1541
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1521
1542
|
t.minimumIntegerDigits = e.length;
|
|
1522
1543
|
}
|
|
1523
1544
|
return t;
|
|
1524
1545
|
}
|
|
1525
|
-
function
|
|
1526
|
-
var t = {}, r =
|
|
1546
|
+
function Ot(e) {
|
|
1547
|
+
var t = {}, r = dr(e);
|
|
1527
1548
|
return r || t;
|
|
1528
1549
|
}
|
|
1529
|
-
function
|
|
1550
|
+
function nn(e) {
|
|
1530
1551
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
1531
1552
|
var n = i[r];
|
|
1532
1553
|
switch (n.stem) {
|
|
@@ -1550,7 +1571,7 @@ function tn(e) {
|
|
|
1550
1571
|
continue;
|
|
1551
1572
|
case "measure-unit":
|
|
1552
1573
|
case "unit":
|
|
1553
|
-
t.style = "unit", t.unit =
|
|
1574
|
+
t.style = "unit", t.unit = en(n.options[0]);
|
|
1554
1575
|
continue;
|
|
1555
1576
|
case "compact-short":
|
|
1556
1577
|
case "K":
|
|
@@ -1561,13 +1582,13 @@ function tn(e) {
|
|
|
1561
1582
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1562
1583
|
continue;
|
|
1563
1584
|
case "scientific":
|
|
1564
|
-
t =
|
|
1565
|
-
return
|
|
1585
|
+
t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
|
|
1586
|
+
return L(L({}, h), Ot(u));
|
|
1566
1587
|
}, {}));
|
|
1567
1588
|
continue;
|
|
1568
1589
|
case "engineering":
|
|
1569
|
-
t =
|
|
1570
|
-
return
|
|
1590
|
+
t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
|
|
1591
|
+
return L(L({}, h), Ot(u));
|
|
1571
1592
|
}, {}));
|
|
1572
1593
|
continue;
|
|
1573
1594
|
case "notation-simple":
|
|
@@ -1612,7 +1633,7 @@ function tn(e) {
|
|
|
1612
1633
|
case "integer-width":
|
|
1613
1634
|
if (n.options.length > 1)
|
|
1614
1635
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1615
|
-
n.options[0].replace(
|
|
1636
|
+
n.options[0].replace(tn, function(h, u, l, c, f, p) {
|
|
1616
1637
|
if (u)
|
|
1617
1638
|
t.minimumIntegerDigits = l.length;
|
|
1618
1639
|
else {
|
|
@@ -1625,28 +1646,28 @@ function tn(e) {
|
|
|
1625
1646
|
});
|
|
1626
1647
|
continue;
|
|
1627
1648
|
}
|
|
1628
|
-
if (
|
|
1649
|
+
if (pr.test(n.stem)) {
|
|
1629
1650
|
t.minimumIntegerDigits = n.stem.length;
|
|
1630
1651
|
continue;
|
|
1631
1652
|
}
|
|
1632
|
-
if (
|
|
1653
|
+
if (Ht.test(n.stem)) {
|
|
1633
1654
|
if (n.options.length > 1)
|
|
1634
1655
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1635
|
-
n.stem.replace(
|
|
1656
|
+
n.stem.replace(Ht, function(h, u, l, c, f, p) {
|
|
1636
1657
|
return l === "*" ? 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), "";
|
|
1637
1658
|
});
|
|
1638
1659
|
var o = n.options[0];
|
|
1639
|
-
o === "w" ? t =
|
|
1660
|
+
o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), Bt(o)));
|
|
1640
1661
|
continue;
|
|
1641
1662
|
}
|
|
1642
|
-
if (
|
|
1643
|
-
t =
|
|
1663
|
+
if (mr.test(n.stem)) {
|
|
1664
|
+
t = L(L({}, t), Bt(n.stem));
|
|
1644
1665
|
continue;
|
|
1645
1666
|
}
|
|
1646
|
-
var a =
|
|
1647
|
-
a && (t =
|
|
1648
|
-
var s =
|
|
1649
|
-
s && (t =
|
|
1667
|
+
var a = dr(n.stem);
|
|
1668
|
+
a && (t = L(L({}, t), a));
|
|
1669
|
+
var s = rn(n.stem);
|
|
1670
|
+
s && (t = L(L({}, t), s));
|
|
1650
1671
|
}
|
|
1651
1672
|
return t;
|
|
1652
1673
|
}
|
|
@@ -3065,13 +3086,13 @@ var ve = {
|
|
|
3065
3086
|
"h"
|
|
3066
3087
|
]
|
|
3067
3088
|
};
|
|
3068
|
-
function
|
|
3089
|
+
function on(e, t) {
|
|
3069
3090
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
3070
3091
|
var n = e.charAt(i);
|
|
3071
3092
|
if (n === "j") {
|
|
3072
3093
|
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
3073
3094
|
o++, i++;
|
|
3074
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
3095
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = sn(t);
|
|
3075
3096
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3076
3097
|
r += h;
|
|
3077
3098
|
for (; a-- > 0; )
|
|
@@ -3081,7 +3102,7 @@ function rn(e, t) {
|
|
|
3081
3102
|
}
|
|
3082
3103
|
return r;
|
|
3083
3104
|
}
|
|
3084
|
-
function
|
|
3105
|
+
function sn(e) {
|
|
3085
3106
|
var t = e.hourCycle;
|
|
3086
3107
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3087
3108
|
e.hourCycles && // @ts-ignore
|
|
@@ -3103,20 +3124,20 @@ function nn(e) {
|
|
|
3103
3124
|
var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
3104
3125
|
return n[0];
|
|
3105
3126
|
}
|
|
3106
|
-
var
|
|
3127
|
+
var Ve, an = new RegExp("^".concat(fr.source, "*")), un = new RegExp("".concat(fr.source, "*$"));
|
|
3107
3128
|
function _(e, t) {
|
|
3108
3129
|
return { start: e, end: t };
|
|
3109
3130
|
}
|
|
3110
|
-
var
|
|
3131
|
+
var ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), hn = !!String.fromCodePoint, cn = !!Object.fromEntries, fn = !!String.prototype.codePointAt, mn = !!String.prototype.trimStart, pn = !!String.prototype.trimEnd, dn = !!Number.isSafeInteger, yn = dn ? Number.isSafeInteger : function(e) {
|
|
3111
3132
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3112
|
-
},
|
|
3133
|
+
}, ot = !0;
|
|
3113
3134
|
try {
|
|
3114
|
-
var
|
|
3115
|
-
|
|
3135
|
+
var gn = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3136
|
+
ot = ((Ve = gn.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
|
|
3116
3137
|
} catch {
|
|
3117
|
-
|
|
3138
|
+
ot = !1;
|
|
3118
3139
|
}
|
|
3119
|
-
var
|
|
3140
|
+
var Ct = ln ? (
|
|
3120
3141
|
// Native
|
|
3121
3142
|
function(t, r, i) {
|
|
3122
3143
|
return t.startsWith(r, i);
|
|
@@ -3126,7 +3147,7 @@ var Bt = an ? (
|
|
|
3126
3147
|
function(t, r, i) {
|
|
3127
3148
|
return t.slice(i, i + r.length) === r;
|
|
3128
3149
|
}
|
|
3129
|
-
),
|
|
3150
|
+
), st = hn ? String.fromCodePoint : (
|
|
3130
3151
|
// IE11
|
|
3131
3152
|
function() {
|
|
3132
3153
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3138,9 +3159,9 @@ var Bt = an ? (
|
|
|
3138
3159
|
}
|
|
3139
3160
|
return i;
|
|
3140
3161
|
}
|
|
3141
|
-
),
|
|
3162
|
+
), It = (
|
|
3142
3163
|
// native
|
|
3143
|
-
|
|
3164
|
+
cn ? Object.fromEntries : (
|
|
3144
3165
|
// Ponyfill
|
|
3145
3166
|
function(t) {
|
|
3146
3167
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
@@ -3150,7 +3171,7 @@ var Bt = an ? (
|
|
|
3150
3171
|
return r;
|
|
3151
3172
|
}
|
|
3152
3173
|
)
|
|
3153
|
-
),
|
|
3174
|
+
), yr = fn ? (
|
|
3154
3175
|
// Native
|
|
3155
3176
|
function(t, r) {
|
|
3156
3177
|
return t.codePointAt(r);
|
|
@@ -3164,7 +3185,7 @@ var Bt = an ? (
|
|
|
3164
3185
|
return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
3165
3186
|
}
|
|
3166
3187
|
}
|
|
3167
|
-
),
|
|
3188
|
+
), bn = mn ? (
|
|
3168
3189
|
// Native
|
|
3169
3190
|
function(t) {
|
|
3170
3191
|
return t.trimStart();
|
|
@@ -3172,9 +3193,9 @@ var Bt = an ? (
|
|
|
3172
3193
|
) : (
|
|
3173
3194
|
// Ponyfill
|
|
3174
3195
|
function(t) {
|
|
3175
|
-
return t.replace(
|
|
3196
|
+
return t.replace(an, "");
|
|
3176
3197
|
}
|
|
3177
|
-
),
|
|
3198
|
+
), vn = pn ? (
|
|
3178
3199
|
// Native
|
|
3179
3200
|
function(t) {
|
|
3180
3201
|
return t.trimEnd();
|
|
@@ -3182,32 +3203,32 @@ var Bt = an ? (
|
|
|
3182
3203
|
) : (
|
|
3183
3204
|
// Ponyfill
|
|
3184
3205
|
function(t) {
|
|
3185
|
-
return t.replace(
|
|
3206
|
+
return t.replace(un, "");
|
|
3186
3207
|
}
|
|
3187
3208
|
);
|
|
3188
|
-
function
|
|
3209
|
+
function gr(e, t) {
|
|
3189
3210
|
return new RegExp(e, t);
|
|
3190
3211
|
}
|
|
3191
|
-
var
|
|
3192
|
-
if (
|
|
3193
|
-
var
|
|
3194
|
-
|
|
3212
|
+
var at;
|
|
3213
|
+
if (ot) {
|
|
3214
|
+
var Nt = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3215
|
+
at = function(t, r) {
|
|
3195
3216
|
var i;
|
|
3196
|
-
|
|
3197
|
-
var n =
|
|
3217
|
+
Nt.lastIndex = r;
|
|
3218
|
+
var n = Nt.exec(t);
|
|
3198
3219
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
3199
3220
|
};
|
|
3200
3221
|
} else
|
|
3201
|
-
|
|
3222
|
+
at = function(t, r) {
|
|
3202
3223
|
for (var i = []; ; ) {
|
|
3203
|
-
var n =
|
|
3204
|
-
if (n === void 0 || br(n) ||
|
|
3224
|
+
var n = yr(t, r);
|
|
3225
|
+
if (n === void 0 || br(n) || wn(n))
|
|
3205
3226
|
break;
|
|
3206
3227
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
3207
3228
|
}
|
|
3208
|
-
return
|
|
3229
|
+
return st.apply(void 0, i);
|
|
3209
3230
|
};
|
|
3210
|
-
var
|
|
3231
|
+
var _n = (
|
|
3211
3232
|
/** @class */
|
|
3212
3233
|
function() {
|
|
3213
3234
|
function e(t, r) {
|
|
@@ -3231,14 +3252,14 @@ var gn = (
|
|
|
3231
3252
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3232
3253
|
var s = this.clonePosition();
|
|
3233
3254
|
this.bump(), n.push({
|
|
3234
|
-
type:
|
|
3255
|
+
type: T.pound,
|
|
3235
3256
|
location: _(s, this.clonePosition())
|
|
3236
3257
|
});
|
|
3237
3258
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3238
3259
|
if (i)
|
|
3239
3260
|
break;
|
|
3240
|
-
return this.error(
|
|
3241
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3261
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3262
|
+
} else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
|
|
3242
3263
|
var a = this.parseTag(t, r);
|
|
3243
3264
|
if (a.err)
|
|
3244
3265
|
return a;
|
|
@@ -3259,7 +3280,7 @@ var gn = (
|
|
|
3259
3280
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3260
3281
|
return {
|
|
3261
3282
|
val: {
|
|
3262
|
-
type:
|
|
3283
|
+
type: T.literal,
|
|
3263
3284
|
value: "<".concat(n, "/>"),
|
|
3264
3285
|
location: _(i, this.clonePosition())
|
|
3265
3286
|
},
|
|
@@ -3271,25 +3292,25 @@ var gn = (
|
|
|
3271
3292
|
return o;
|
|
3272
3293
|
var a = o.val, s = this.clonePosition();
|
|
3273
3294
|
if (this.bumpIf("</")) {
|
|
3274
|
-
if (this.isEOF() || !
|
|
3275
|
-
return this.error(
|
|
3295
|
+
if (this.isEOF() || !ut(this.char()))
|
|
3296
|
+
return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
|
|
3276
3297
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3277
|
-
return n !== u ? this.error(
|
|
3298
|
+
return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3278
3299
|
val: {
|
|
3279
|
-
type:
|
|
3300
|
+
type: T.tag,
|
|
3280
3301
|
value: n,
|
|
3281
3302
|
children: a,
|
|
3282
3303
|
location: _(i, this.clonePosition())
|
|
3283
3304
|
},
|
|
3284
3305
|
err: null
|
|
3285
|
-
} : this.error(
|
|
3306
|
+
} : this.error(b.INVALID_TAG, _(s, this.clonePosition())));
|
|
3286
3307
|
} else
|
|
3287
|
-
return this.error(
|
|
3308
|
+
return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
|
|
3288
3309
|
} else
|
|
3289
|
-
return this.error(
|
|
3310
|
+
return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
|
|
3290
3311
|
}, e.prototype.parseTagName = function() {
|
|
3291
3312
|
var t = this.offset();
|
|
3292
|
-
for (this.bump(); !this.isEOF() &&
|
|
3313
|
+
for (this.bump(); !this.isEOF() && xn(this.char()); )
|
|
3293
3314
|
this.bump();
|
|
3294
3315
|
return this.message.slice(t, this.offset());
|
|
3295
3316
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3313,12 +3334,12 @@ var gn = (
|
|
|
3313
3334
|
}
|
|
3314
3335
|
var h = _(i, this.clonePosition());
|
|
3315
3336
|
return {
|
|
3316
|
-
val: { type:
|
|
3337
|
+
val: { type: T.literal, value: n, location: h },
|
|
3317
3338
|
err: null
|
|
3318
3339
|
};
|
|
3319
3340
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3320
3341
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3321
|
-
!
|
|
3342
|
+
!En(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3322
3343
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3323
3344
|
if (this.isEOF() || this.char() !== 39)
|
|
3324
3345
|
return null;
|
|
@@ -3352,28 +3373,28 @@ var gn = (
|
|
|
3352
3373
|
r.push(i);
|
|
3353
3374
|
this.bump();
|
|
3354
3375
|
}
|
|
3355
|
-
return
|
|
3376
|
+
return st.apply(void 0, r);
|
|
3356
3377
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3357
3378
|
if (this.isEOF())
|
|
3358
3379
|
return null;
|
|
3359
3380
|
var i = this.char();
|
|
3360
|
-
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(),
|
|
3381
|
+
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), st(i));
|
|
3361
3382
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3362
3383
|
var i = this.clonePosition();
|
|
3363
3384
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3364
|
-
return this.error(
|
|
3385
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
|
|
3365
3386
|
if (this.char() === 125)
|
|
3366
|
-
return this.bump(), this.error(
|
|
3387
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, _(i, this.clonePosition()));
|
|
3367
3388
|
var n = this.parseIdentifierIfPossible().value;
|
|
3368
3389
|
if (!n)
|
|
3369
|
-
return this.error(
|
|
3390
|
+
return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
|
|
3370
3391
|
if (this.bumpSpace(), this.isEOF())
|
|
3371
|
-
return this.error(
|
|
3392
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
|
|
3372
3393
|
switch (this.char()) {
|
|
3373
3394
|
case 125:
|
|
3374
3395
|
return this.bump(), {
|
|
3375
3396
|
val: {
|
|
3376
|
-
type:
|
|
3397
|
+
type: T.argument,
|
|
3377
3398
|
// value does not include the opening and closing braces.
|
|
3378
3399
|
value: n,
|
|
3379
3400
|
location: _(i, this.clonePosition())
|
|
@@ -3381,12 +3402,12 @@ var gn = (
|
|
|
3381
3402
|
err: null
|
|
3382
3403
|
};
|
|
3383
3404
|
case 44:
|
|
3384
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3405
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
|
|
3385
3406
|
default:
|
|
3386
|
-
return this.error(
|
|
3407
|
+
return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
|
|
3387
3408
|
}
|
|
3388
3409
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3389
|
-
var t = this.clonePosition(), r = this.offset(), i =
|
|
3410
|
+
var t = this.clonePosition(), r = this.offset(), i = at(this.message, r), n = r + i.length;
|
|
3390
3411
|
this.bumpTo(n);
|
|
3391
3412
|
var o = this.clonePosition(), a = _(t, o);
|
|
3392
3413
|
return { value: i, location: a };
|
|
@@ -3394,7 +3415,7 @@ var gn = (
|
|
|
3394
3415
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3395
3416
|
switch (s) {
|
|
3396
3417
|
case "":
|
|
3397
|
-
return this.error(
|
|
3418
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, _(a, h));
|
|
3398
3419
|
case "number":
|
|
3399
3420
|
case "date":
|
|
3400
3421
|
case "time": {
|
|
@@ -3405,9 +3426,9 @@ var gn = (
|
|
|
3405
3426
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3406
3427
|
if (c.err)
|
|
3407
3428
|
return c;
|
|
3408
|
-
var f =
|
|
3429
|
+
var f = vn(c.val);
|
|
3409
3430
|
if (f.length === 0)
|
|
3410
|
-
return this.error(
|
|
3431
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3411
3432
|
var p = _(l, this.clonePosition());
|
|
3412
3433
|
u = { style: f, styleLocation: p };
|
|
3413
3434
|
}
|
|
@@ -3415,34 +3436,34 @@ var gn = (
|
|
|
3415
3436
|
if (y.err)
|
|
3416
3437
|
return y;
|
|
3417
3438
|
var d = _(n, this.clonePosition());
|
|
3418
|
-
if (u &&
|
|
3419
|
-
var v =
|
|
3439
|
+
if (u && Ct(u?.style, "::", 0)) {
|
|
3440
|
+
var v = bn(u.style.slice(2));
|
|
3420
3441
|
if (s === "number") {
|
|
3421
3442
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3422
3443
|
return c.err ? c : {
|
|
3423
|
-
val: { type:
|
|
3444
|
+
val: { type: T.number, value: i, location: d, style: c.val },
|
|
3424
3445
|
err: null
|
|
3425
3446
|
};
|
|
3426
3447
|
} else {
|
|
3427
3448
|
if (v.length === 0)
|
|
3428
|
-
return this.error(
|
|
3429
|
-
var
|
|
3430
|
-
this.locale && (
|
|
3449
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3450
|
+
var H = v;
|
|
3451
|
+
this.locale && (H = on(v, this.locale));
|
|
3431
3452
|
var f = {
|
|
3432
|
-
type:
|
|
3433
|
-
pattern:
|
|
3453
|
+
type: K.dateTime,
|
|
3454
|
+
pattern: H,
|
|
3434
3455
|
location: u.styleLocation,
|
|
3435
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3436
|
-
},
|
|
3456
|
+
parsedOptions: this.shouldParseSkeletons ? Ji(H) : {}
|
|
3457
|
+
}, g = s === "date" ? T.date : T.time;
|
|
3437
3458
|
return {
|
|
3438
|
-
val: { type:
|
|
3459
|
+
val: { type: g, value: i, location: d, style: f },
|
|
3439
3460
|
err: null
|
|
3440
3461
|
};
|
|
3441
3462
|
}
|
|
3442
3463
|
}
|
|
3443
3464
|
return {
|
|
3444
3465
|
val: {
|
|
3445
|
-
type: s === "number" ?
|
|
3466
|
+
type: s === "number" ? T.number : s === "date" ? T.date : T.time,
|
|
3446
3467
|
value: i,
|
|
3447
3468
|
location: d,
|
|
3448
3469
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3455,38 +3476,38 @@ var gn = (
|
|
|
3455
3476
|
case "select": {
|
|
3456
3477
|
var S = this.clonePosition();
|
|
3457
3478
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3458
|
-
return this.error(
|
|
3479
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, Le({}, S)));
|
|
3459
3480
|
this.bumpSpace();
|
|
3460
|
-
var
|
|
3461
|
-
if (s !== "select" &&
|
|
3481
|
+
var D = this.parseIdentifierIfPossible(), N = 0;
|
|
3482
|
+
if (s !== "select" && D.value === "offset") {
|
|
3462
3483
|
if (!this.bumpIf(":"))
|
|
3463
|
-
return this.error(
|
|
3484
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3464
3485
|
this.bumpSpace();
|
|
3465
|
-
var c = this.tryParseDecimalInteger(
|
|
3486
|
+
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3466
3487
|
if (c.err)
|
|
3467
3488
|
return c;
|
|
3468
|
-
this.bumpSpace(),
|
|
3489
|
+
this.bumpSpace(), D = this.parseIdentifierIfPossible(), N = c.val;
|
|
3469
3490
|
}
|
|
3470
|
-
var
|
|
3471
|
-
if (
|
|
3472
|
-
return
|
|
3491
|
+
var $ = this.tryParsePluralOrSelectOptions(t, s, r, D);
|
|
3492
|
+
if ($.err)
|
|
3493
|
+
return $;
|
|
3473
3494
|
var y = this.tryParseArgumentClose(n);
|
|
3474
3495
|
if (y.err)
|
|
3475
3496
|
return y;
|
|
3476
3497
|
var V = _(n, this.clonePosition());
|
|
3477
3498
|
return s === "select" ? {
|
|
3478
3499
|
val: {
|
|
3479
|
-
type:
|
|
3500
|
+
type: T.select,
|
|
3480
3501
|
value: i,
|
|
3481
|
-
options:
|
|
3502
|
+
options: It($.val),
|
|
3482
3503
|
location: V
|
|
3483
3504
|
},
|
|
3484
3505
|
err: null
|
|
3485
3506
|
} : {
|
|
3486
3507
|
val: {
|
|
3487
|
-
type:
|
|
3508
|
+
type: T.plural,
|
|
3488
3509
|
value: i,
|
|
3489
|
-
options:
|
|
3510
|
+
options: It($.val),
|
|
3490
3511
|
offset: N,
|
|
3491
3512
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3492
3513
|
location: V
|
|
@@ -3495,10 +3516,10 @@ var gn = (
|
|
|
3495
3516
|
};
|
|
3496
3517
|
}
|
|
3497
3518
|
default:
|
|
3498
|
-
return this.error(
|
|
3519
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, _(a, h));
|
|
3499
3520
|
}
|
|
3500
3521
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3501
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3522
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3502
3523
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3503
3524
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3504
3525
|
var i = this.char();
|
|
@@ -3507,7 +3528,7 @@ var gn = (
|
|
|
3507
3528
|
this.bump();
|
|
3508
3529
|
var n = this.clonePosition();
|
|
3509
3530
|
if (!this.bumpUntil("'"))
|
|
3510
|
-
return this.error(
|
|
3531
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(n, this.clonePosition()));
|
|
3511
3532
|
this.bump();
|
|
3512
3533
|
break;
|
|
3513
3534
|
}
|
|
@@ -3537,16 +3558,16 @@ var gn = (
|
|
|
3537
3558
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3538
3559
|
var i = [];
|
|
3539
3560
|
try {
|
|
3540
|
-
i =
|
|
3561
|
+
i = Ki(t);
|
|
3541
3562
|
} catch {
|
|
3542
|
-
return this.error(
|
|
3563
|
+
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3543
3564
|
}
|
|
3544
3565
|
return {
|
|
3545
3566
|
val: {
|
|
3546
|
-
type:
|
|
3567
|
+
type: K.number,
|
|
3547
3568
|
tokens: i,
|
|
3548
3569
|
location: r,
|
|
3549
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3570
|
+
parsedOptions: this.shouldParseSkeletons ? nn(i) : {}
|
|
3550
3571
|
},
|
|
3551
3572
|
err: null
|
|
3552
3573
|
};
|
|
@@ -3555,7 +3576,7 @@ var gn = (
|
|
|
3555
3576
|
if (u.length === 0) {
|
|
3556
3577
|
var c = this.clonePosition();
|
|
3557
3578
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3558
|
-
var f = this.tryParseDecimalInteger(
|
|
3579
|
+
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3559
3580
|
if (f.err)
|
|
3560
3581
|
return f;
|
|
3561
3582
|
l = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
@@ -3563,11 +3584,11 @@ var gn = (
|
|
|
3563
3584
|
break;
|
|
3564
3585
|
}
|
|
3565
3586
|
if (h.has(u))
|
|
3566
|
-
return this.error(r === "select" ?
|
|
3587
|
+
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3567
3588
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3568
3589
|
var p = this.clonePosition();
|
|
3569
3590
|
if (!this.bumpIf("{"))
|
|
3570
|
-
return this.error(r === "select" ?
|
|
3591
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3571
3592
|
var y = this.parseMessage(t + 1, r, i);
|
|
3572
3593
|
if (y.err)
|
|
3573
3594
|
return y;
|
|
@@ -3582,7 +3603,7 @@ var gn = (
|
|
|
3582
3603
|
}
|
|
3583
3604
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3584
3605
|
}
|
|
3585
|
-
return s.length === 0 ? this.error(r === "select" ?
|
|
3606
|
+
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3586
3607
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3587
3608
|
var i = 1, n = this.clonePosition();
|
|
3588
3609
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
@@ -3594,7 +3615,7 @@ var gn = (
|
|
|
3594
3615
|
break;
|
|
3595
3616
|
}
|
|
3596
3617
|
var h = _(n, this.clonePosition());
|
|
3597
|
-
return o ? (a *= i,
|
|
3618
|
+
return o ? (a *= i, yn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3598
3619
|
}, e.prototype.offset = function() {
|
|
3599
3620
|
return this.position.offset;
|
|
3600
3621
|
}, e.prototype.isEOF = function() {
|
|
@@ -3609,7 +3630,7 @@ var gn = (
|
|
|
3609
3630
|
var t = this.position.offset;
|
|
3610
3631
|
if (t >= this.message.length)
|
|
3611
3632
|
throw Error("out of bound");
|
|
3612
|
-
var r =
|
|
3633
|
+
var r = yr(this.message, t);
|
|
3613
3634
|
if (r === void 0)
|
|
3614
3635
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3615
3636
|
return r;
|
|
@@ -3628,7 +3649,7 @@ var gn = (
|
|
|
3628
3649
|
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);
|
|
3629
3650
|
}
|
|
3630
3651
|
}, e.prototype.bumpIf = function(t) {
|
|
3631
|
-
if (
|
|
3652
|
+
if (Ct(this.message, t, this.offset())) {
|
|
3632
3653
|
for (var r = 0; r < t.length; r++)
|
|
3633
3654
|
this.bump();
|
|
3634
3655
|
return !0;
|
|
@@ -3660,47 +3681,47 @@ var gn = (
|
|
|
3660
3681
|
}, e;
|
|
3661
3682
|
}()
|
|
3662
3683
|
);
|
|
3663
|
-
function
|
|
3684
|
+
function ut(e) {
|
|
3664
3685
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3665
3686
|
}
|
|
3666
|
-
function
|
|
3667
|
-
return
|
|
3687
|
+
function En(e) {
|
|
3688
|
+
return ut(e) || e === 47;
|
|
3668
3689
|
}
|
|
3669
|
-
function
|
|
3690
|
+
function xn(e) {
|
|
3670
3691
|
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;
|
|
3671
3692
|
}
|
|
3672
3693
|
function br(e) {
|
|
3673
3694
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3674
3695
|
}
|
|
3675
|
-
function
|
|
3696
|
+
function wn(e) {
|
|
3676
3697
|
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;
|
|
3677
3698
|
}
|
|
3678
|
-
function
|
|
3699
|
+
function lt(e) {
|
|
3679
3700
|
e.forEach(function(t) {
|
|
3680
|
-
if (delete t.location,
|
|
3701
|
+
if (delete t.location, ur(t) || lr(t))
|
|
3681
3702
|
for (var r in t.options)
|
|
3682
|
-
delete t.options[r].location,
|
|
3703
|
+
delete t.options[r].location, lt(t.options[r].value);
|
|
3683
3704
|
else
|
|
3684
|
-
|
|
3705
|
+
or(t) && cr(t.style) || (sr(t) || ar(t)) && nt(t.style) ? delete t.style.location : hr(t) && lt(t.children);
|
|
3685
3706
|
});
|
|
3686
3707
|
}
|
|
3687
|
-
function
|
|
3688
|
-
t === void 0 && (t = {}), t =
|
|
3689
|
-
var r = new
|
|
3708
|
+
function Tn(e, t) {
|
|
3709
|
+
t === void 0 && (t = {}), t = Le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3710
|
+
var r = new _n(e, t).parse();
|
|
3690
3711
|
if (r.err) {
|
|
3691
|
-
var i = SyntaxError(
|
|
3712
|
+
var i = SyntaxError(b[r.err.kind]);
|
|
3692
3713
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3693
3714
|
}
|
|
3694
|
-
return t?.captureLocation ||
|
|
3715
|
+
return t?.captureLocation || lt(r.val), r.val;
|
|
3695
3716
|
}
|
|
3696
|
-
var
|
|
3717
|
+
var ee;
|
|
3697
3718
|
(function(e) {
|
|
3698
3719
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3699
|
-
})(
|
|
3700
|
-
var
|
|
3720
|
+
})(ee || (ee = {}));
|
|
3721
|
+
var Ce = (
|
|
3701
3722
|
/** @class */
|
|
3702
3723
|
function(e) {
|
|
3703
|
-
|
|
3724
|
+
Oe(t, e);
|
|
3704
3725
|
function t(r, i, n) {
|
|
3705
3726
|
var o = e.call(this, r) || this;
|
|
3706
3727
|
return o.code = i, o.originalMessage = n, o;
|
|
@@ -3709,48 +3730,48 @@ var Be = (
|
|
|
3709
3730
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3710
3731
|
}, t;
|
|
3711
3732
|
}(Error)
|
|
3712
|
-
),
|
|
3733
|
+
), Mt = (
|
|
3713
3734
|
/** @class */
|
|
3714
3735
|
function(e) {
|
|
3715
|
-
|
|
3736
|
+
Oe(t, e);
|
|
3716
3737
|
function t(r, i, n, o) {
|
|
3717
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3738
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
|
|
3718
3739
|
}
|
|
3719
3740
|
return t;
|
|
3720
|
-
}(
|
|
3721
|
-
),
|
|
3741
|
+
}(Ce)
|
|
3742
|
+
), Sn = (
|
|
3722
3743
|
/** @class */
|
|
3723
3744
|
function(e) {
|
|
3724
|
-
|
|
3745
|
+
Oe(t, e);
|
|
3725
3746
|
function t(r, i, n) {
|
|
3726
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i),
|
|
3747
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), ee.INVALID_VALUE, n) || this;
|
|
3727
3748
|
}
|
|
3728
3749
|
return t;
|
|
3729
|
-
}(
|
|
3730
|
-
),
|
|
3750
|
+
}(Ce)
|
|
3751
|
+
), Ln = (
|
|
3731
3752
|
/** @class */
|
|
3732
3753
|
function(e) {
|
|
3733
|
-
|
|
3754
|
+
Oe(t, e);
|
|
3734
3755
|
function t(r, i) {
|
|
3735
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'),
|
|
3756
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), ee.MISSING_VALUE, i) || this;
|
|
3736
3757
|
}
|
|
3737
3758
|
return t;
|
|
3738
|
-
}(
|
|
3759
|
+
}(Ce)
|
|
3739
3760
|
), B;
|
|
3740
3761
|
(function(e) {
|
|
3741
3762
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3742
3763
|
})(B || (B = {}));
|
|
3743
|
-
function
|
|
3764
|
+
function An(e) {
|
|
3744
3765
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3745
3766
|
var i = t[t.length - 1];
|
|
3746
3767
|
return !i || i.type !== B.literal || r.type !== B.literal ? t.push(r) : i.value += r.value, t;
|
|
3747
3768
|
}, []);
|
|
3748
3769
|
}
|
|
3749
|
-
function
|
|
3770
|
+
function Pn(e) {
|
|
3750
3771
|
return typeof e == "function";
|
|
3751
3772
|
}
|
|
3752
3773
|
function we(e, t, r, i, n, o, a) {
|
|
3753
|
-
if (e.length === 1 &&
|
|
3774
|
+
if (e.length === 1 && Pt(e[0]))
|
|
3754
3775
|
return [
|
|
3755
3776
|
{
|
|
3756
3777
|
type: B.literal,
|
|
@@ -3759,14 +3780,14 @@ function we(e, t, r, i, n, o, a) {
|
|
|
3759
3780
|
];
|
|
3760
3781
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
3761
3782
|
var l = u[h];
|
|
3762
|
-
if (
|
|
3783
|
+
if (Pt(l)) {
|
|
3763
3784
|
s.push({
|
|
3764
3785
|
type: B.literal,
|
|
3765
3786
|
value: l.value
|
|
3766
3787
|
});
|
|
3767
3788
|
continue;
|
|
3768
3789
|
}
|
|
3769
|
-
if (
|
|
3790
|
+
if (Qi(l)) {
|
|
3770
3791
|
typeof o == "number" && s.push({
|
|
3771
3792
|
type: B.literal,
|
|
3772
3793
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3775,89 +3796,89 @@ function we(e, t, r, i, n, o, a) {
|
|
|
3775
3796
|
}
|
|
3776
3797
|
var c = l.value;
|
|
3777
3798
|
if (!(n && c in n))
|
|
3778
|
-
throw new
|
|
3799
|
+
throw new Ln(c, a);
|
|
3779
3800
|
var f = n[c];
|
|
3780
|
-
if (
|
|
3801
|
+
if (Zi(l)) {
|
|
3781
3802
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3782
3803
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3783
3804
|
value: f
|
|
3784
3805
|
});
|
|
3785
3806
|
continue;
|
|
3786
3807
|
}
|
|
3787
|
-
if (
|
|
3788
|
-
var p = typeof l.style == "string" ? i.date[l.style] :
|
|
3808
|
+
if (sr(l)) {
|
|
3809
|
+
var p = typeof l.style == "string" ? i.date[l.style] : nt(l.style) ? l.style.parsedOptions : void 0;
|
|
3789
3810
|
s.push({
|
|
3790
3811
|
type: B.literal,
|
|
3791
3812
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3792
3813
|
});
|
|
3793
3814
|
continue;
|
|
3794
3815
|
}
|
|
3795
|
-
if (
|
|
3796
|
-
var p = typeof l.style == "string" ? i.time[l.style] :
|
|
3816
|
+
if (ar(l)) {
|
|
3817
|
+
var p = typeof l.style == "string" ? i.time[l.style] : nt(l.style) ? l.style.parsedOptions : i.time.medium;
|
|
3797
3818
|
s.push({
|
|
3798
3819
|
type: B.literal,
|
|
3799
3820
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3800
3821
|
});
|
|
3801
3822
|
continue;
|
|
3802
3823
|
}
|
|
3803
|
-
if (
|
|
3804
|
-
var p = typeof l.style == "string" ? i.number[l.style] :
|
|
3824
|
+
if (or(l)) {
|
|
3825
|
+
var p = typeof l.style == "string" ? i.number[l.style] : cr(l.style) ? l.style.parsedOptions : void 0;
|
|
3805
3826
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3806
3827
|
type: B.literal,
|
|
3807
3828
|
value: r.getNumberFormat(t, p).format(f)
|
|
3808
3829
|
});
|
|
3809
3830
|
continue;
|
|
3810
3831
|
}
|
|
3811
|
-
if (
|
|
3832
|
+
if (hr(l)) {
|
|
3812
3833
|
var y = l.children, d = l.value, v = n[d];
|
|
3813
|
-
if (!
|
|
3814
|
-
throw new
|
|
3815
|
-
var
|
|
3834
|
+
if (!Pn(v))
|
|
3835
|
+
throw new Sn(d, "function", a);
|
|
3836
|
+
var H = we(y, t, r, i, n, o), g = v(H.map(function(N) {
|
|
3816
3837
|
return N.value;
|
|
3817
3838
|
}));
|
|
3818
|
-
Array.isArray(
|
|
3839
|
+
Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(N) {
|
|
3819
3840
|
return {
|
|
3820
3841
|
type: typeof N == "string" ? B.literal : B.object,
|
|
3821
3842
|
value: N
|
|
3822
3843
|
};
|
|
3823
3844
|
}));
|
|
3824
3845
|
}
|
|
3825
|
-
if (
|
|
3846
|
+
if (ur(l)) {
|
|
3826
3847
|
var S = l.options[f] || l.options.other;
|
|
3827
3848
|
if (!S)
|
|
3828
|
-
throw new
|
|
3849
|
+
throw new Mt(l.value, f, Object.keys(l.options), a);
|
|
3829
3850
|
s.push.apply(s, we(S.value, t, r, i, n));
|
|
3830
3851
|
continue;
|
|
3831
3852
|
}
|
|
3832
|
-
if (
|
|
3853
|
+
if (lr(l)) {
|
|
3833
3854
|
var S = l.options["=".concat(f)];
|
|
3834
3855
|
if (!S) {
|
|
3835
3856
|
if (!Intl.PluralRules)
|
|
3836
|
-
throw new
|
|
3857
|
+
throw new Ce(`Intl.PluralRules is not available in this environment.
|
|
3837
3858
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3838
|
-
`,
|
|
3839
|
-
var
|
|
3840
|
-
S = l.options[
|
|
3859
|
+
`, ee.MISSING_INTL_API, a);
|
|
3860
|
+
var D = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3861
|
+
S = l.options[D] || l.options.other;
|
|
3841
3862
|
}
|
|
3842
3863
|
if (!S)
|
|
3843
|
-
throw new
|
|
3864
|
+
throw new Mt(l.value, f, Object.keys(l.options), a);
|
|
3844
3865
|
s.push.apply(s, we(S.value, t, r, i, n, f - (l.offset || 0)));
|
|
3845
3866
|
continue;
|
|
3846
3867
|
}
|
|
3847
3868
|
}
|
|
3848
|
-
return
|
|
3869
|
+
return An(s);
|
|
3849
3870
|
}
|
|
3850
|
-
function
|
|
3851
|
-
return t ?
|
|
3852
|
-
return r[i] =
|
|
3871
|
+
function Hn(e, t) {
|
|
3872
|
+
return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3873
|
+
return r[i] = M(M({}, e[i]), t[i] || {}), r;
|
|
3853
3874
|
}, {})) : e;
|
|
3854
3875
|
}
|
|
3855
|
-
function
|
|
3876
|
+
function Bn(e, t) {
|
|
3856
3877
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3857
|
-
return r[i] =
|
|
3858
|
-
},
|
|
3878
|
+
return r[i] = Hn(e[i], t[i]), r;
|
|
3879
|
+
}, M({}, e)) : e;
|
|
3859
3880
|
}
|
|
3860
|
-
function
|
|
3881
|
+
function We(e) {
|
|
3861
3882
|
return {
|
|
3862
3883
|
create: function() {
|
|
3863
3884
|
return {
|
|
@@ -3871,39 +3892,39 @@ function ke(e) {
|
|
|
3871
3892
|
}
|
|
3872
3893
|
};
|
|
3873
3894
|
}
|
|
3874
|
-
function
|
|
3895
|
+
function On(e) {
|
|
3875
3896
|
return e === void 0 && (e = {
|
|
3876
3897
|
number: {},
|
|
3877
3898
|
dateTime: {},
|
|
3878
3899
|
pluralRules: {}
|
|
3879
3900
|
}), {
|
|
3880
|
-
getNumberFormat:
|
|
3901
|
+
getNumberFormat: je(function() {
|
|
3881
3902
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3882
3903
|
r[i] = arguments[i];
|
|
3883
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3904
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Fe([void 0], r, !1)))();
|
|
3884
3905
|
}, {
|
|
3885
|
-
cache:
|
|
3886
|
-
strategy:
|
|
3906
|
+
cache: We(e.number),
|
|
3907
|
+
strategy: ke.variadic
|
|
3887
3908
|
}),
|
|
3888
|
-
getDateTimeFormat:
|
|
3909
|
+
getDateTimeFormat: je(function() {
|
|
3889
3910
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3890
3911
|
r[i] = arguments[i];
|
|
3891
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3912
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Fe([void 0], r, !1)))();
|
|
3892
3913
|
}, {
|
|
3893
|
-
cache:
|
|
3894
|
-
strategy:
|
|
3914
|
+
cache: We(e.dateTime),
|
|
3915
|
+
strategy: ke.variadic
|
|
3895
3916
|
}),
|
|
3896
|
-
getPluralRules:
|
|
3917
|
+
getPluralRules: je(function() {
|
|
3897
3918
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3898
3919
|
r[i] = arguments[i];
|
|
3899
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3920
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Fe([void 0], r, !1)))();
|
|
3900
3921
|
}, {
|
|
3901
|
-
cache:
|
|
3902
|
-
strategy:
|
|
3922
|
+
cache: We(e.pluralRules),
|
|
3923
|
+
strategy: ke.variadic
|
|
3903
3924
|
})
|
|
3904
3925
|
};
|
|
3905
3926
|
}
|
|
3906
|
-
var
|
|
3927
|
+
var Cn = (
|
|
3907
3928
|
/** @class */
|
|
3908
3929
|
function() {
|
|
3909
3930
|
function e(t, r, i, n) {
|
|
@@ -3935,13 +3956,13 @@ var Bn = (
|
|
|
3935
3956
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3936
3957
|
var a = n || {};
|
|
3937
3958
|
a.formatters;
|
|
3938
|
-
var s =
|
|
3939
|
-
this.ast = e.__parse(t,
|
|
3959
|
+
var s = Gi(a, ["formatters"]);
|
|
3960
|
+
this.ast = e.__parse(t, M(M({}, s), { locale: this.resolvedLocale }));
|
|
3940
3961
|
} else
|
|
3941
3962
|
this.ast = t;
|
|
3942
3963
|
if (!Array.isArray(this.ast))
|
|
3943
3964
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3944
|
-
this.formats =
|
|
3965
|
+
this.formats = Bn(e.formats, i), this.formatters = n && n.formatters || On(this.formatterCache);
|
|
3945
3966
|
}
|
|
3946
3967
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3947
3968
|
get: function() {
|
|
@@ -3954,7 +3975,7 @@ var Bn = (
|
|
|
3954
3975
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3955
3976
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3956
3977
|
}
|
|
3957
|
-
}, e.__parse =
|
|
3978
|
+
}, e.__parse = Tn, e.formats = {
|
|
3958
3979
|
number: {
|
|
3959
3980
|
integer: {
|
|
3960
3981
|
maximumFractionDigits: 0
|
|
@@ -4015,7 +4036,7 @@ var Bn = (
|
|
|
4015
4036
|
}, e;
|
|
4016
4037
|
}()
|
|
4017
4038
|
);
|
|
4018
|
-
function
|
|
4039
|
+
function In(e, t) {
|
|
4019
4040
|
if (t == null)
|
|
4020
4041
|
return;
|
|
4021
4042
|
if (t in e)
|
|
@@ -4036,92 +4057,92 @@ function Cn(e, t) {
|
|
|
4036
4057
|
i = void 0;
|
|
4037
4058
|
return i;
|
|
4038
4059
|
}
|
|
4039
|
-
const F = {},
|
|
4060
|
+
const F = {}, Nn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), vr = (e, t) => {
|
|
4040
4061
|
if (t == null)
|
|
4041
4062
|
return;
|
|
4042
4063
|
if (t in F && e in F[t])
|
|
4043
4064
|
return F[t][e];
|
|
4044
|
-
const r =
|
|
4065
|
+
const r = Ie(t);
|
|
4045
4066
|
for (let i = 0; i < r.length; i++) {
|
|
4046
|
-
const n = r[i], o =
|
|
4067
|
+
const n = r[i], o = Rn(n, e);
|
|
4047
4068
|
if (o)
|
|
4048
|
-
return
|
|
4069
|
+
return Nn(e, t, o);
|
|
4049
4070
|
}
|
|
4050
4071
|
};
|
|
4051
|
-
let
|
|
4052
|
-
const me =
|
|
4053
|
-
function
|
|
4054
|
-
return
|
|
4072
|
+
let mt;
|
|
4073
|
+
const me = Be({});
|
|
4074
|
+
function Mn(e) {
|
|
4075
|
+
return mt[e] || null;
|
|
4055
4076
|
}
|
|
4056
|
-
function
|
|
4057
|
-
return e in
|
|
4077
|
+
function _r(e) {
|
|
4078
|
+
return e in mt;
|
|
4058
4079
|
}
|
|
4059
|
-
function
|
|
4060
|
-
if (!
|
|
4080
|
+
function Rn(e, t) {
|
|
4081
|
+
if (!_r(e))
|
|
4061
4082
|
return null;
|
|
4062
|
-
const r =
|
|
4063
|
-
return
|
|
4083
|
+
const r = Mn(e);
|
|
4084
|
+
return In(r, t);
|
|
4064
4085
|
}
|
|
4065
|
-
function
|
|
4086
|
+
function Dn(e) {
|
|
4066
4087
|
if (e == null)
|
|
4067
4088
|
return;
|
|
4068
|
-
const t =
|
|
4089
|
+
const t = Ie(e);
|
|
4069
4090
|
for (let r = 0; r < t.length; r++) {
|
|
4070
4091
|
const i = t[r];
|
|
4071
|
-
if (
|
|
4092
|
+
if (_r(i))
|
|
4072
4093
|
return i;
|
|
4073
4094
|
}
|
|
4074
4095
|
}
|
|
4075
|
-
function
|
|
4076
|
-
delete F[e], me.update((r) => (r[e] =
|
|
4096
|
+
function Er(e, ...t) {
|
|
4097
|
+
delete F[e], me.update((r) => (r[e] = Ui.all([r[e] || {}, ...t]), r));
|
|
4077
4098
|
}
|
|
4078
|
-
|
|
4099
|
+
ie(
|
|
4079
4100
|
[me],
|
|
4080
4101
|
([e]) => Object.keys(e)
|
|
4081
4102
|
);
|
|
4082
|
-
me.subscribe((e) =>
|
|
4103
|
+
me.subscribe((e) => mt = e);
|
|
4083
4104
|
const Te = {};
|
|
4084
|
-
function
|
|
4105
|
+
function $n(e, t) {
|
|
4085
4106
|
Te[e].delete(t), Te[e].size === 0 && delete Te[e];
|
|
4086
4107
|
}
|
|
4087
4108
|
function xr(e) {
|
|
4088
4109
|
return Te[e];
|
|
4089
4110
|
}
|
|
4090
|
-
function
|
|
4091
|
-
return
|
|
4111
|
+
function Un(e) {
|
|
4112
|
+
return Ie(e).map((t) => {
|
|
4092
4113
|
const r = xr(t);
|
|
4093
4114
|
return [t, r ? [...r] : []];
|
|
4094
4115
|
}).filter(([, t]) => t.length > 0);
|
|
4095
4116
|
}
|
|
4096
|
-
function
|
|
4097
|
-
return e == null ? !1 :
|
|
4117
|
+
function ht(e) {
|
|
4118
|
+
return e == null ? !1 : Ie(e).some(
|
|
4098
4119
|
(t) => {
|
|
4099
4120
|
var r;
|
|
4100
4121
|
return (r = xr(t)) == null ? void 0 : r.size;
|
|
4101
4122
|
}
|
|
4102
4123
|
);
|
|
4103
4124
|
}
|
|
4104
|
-
function
|
|
4125
|
+
function Gn(e, t) {
|
|
4105
4126
|
return Promise.all(
|
|
4106
|
-
t.map((i) => (
|
|
4107
|
-
).then((i) =>
|
|
4108
|
-
}
|
|
4109
|
-
const
|
|
4110
|
-
function
|
|
4111
|
-
if (!
|
|
4112
|
-
return e in
|
|
4113
|
-
const t =
|
|
4114
|
-
return
|
|
4127
|
+
t.map((i) => ($n(e, i), i().then((n) => n.default || n)))
|
|
4128
|
+
).then((i) => Er(e, ...i));
|
|
4129
|
+
}
|
|
4130
|
+
const ae = {};
|
|
4131
|
+
function wr(e) {
|
|
4132
|
+
if (!ht(e))
|
|
4133
|
+
return e in ae ? ae[e] : Promise.resolve();
|
|
4134
|
+
const t = Un(e);
|
|
4135
|
+
return ae[e] = Promise.all(
|
|
4115
4136
|
t.map(
|
|
4116
|
-
([r, i]) =>
|
|
4137
|
+
([r, i]) => Gn(r, i)
|
|
4117
4138
|
)
|
|
4118
4139
|
).then(() => {
|
|
4119
|
-
if (
|
|
4120
|
-
return
|
|
4121
|
-
delete
|
|
4122
|
-
}),
|
|
4140
|
+
if (ht(e))
|
|
4141
|
+
return wr(e);
|
|
4142
|
+
delete ae[e];
|
|
4143
|
+
}), ae[e];
|
|
4123
4144
|
}
|
|
4124
|
-
const
|
|
4145
|
+
const Fn = {
|
|
4125
4146
|
number: {
|
|
4126
4147
|
scientific: { notation: "scientific" },
|
|
4127
4148
|
engineering: { notation: "engineering" },
|
|
@@ -4150,135 +4171,135 @@ const $n = {
|
|
|
4150
4171
|
timeZoneName: "short"
|
|
4151
4172
|
}
|
|
4152
4173
|
}
|
|
4153
|
-
},
|
|
4174
|
+
}, jn = {
|
|
4154
4175
|
fallbackLocale: null,
|
|
4155
4176
|
loadingDelay: 200,
|
|
4156
|
-
formats:
|
|
4177
|
+
formats: Fn,
|
|
4157
4178
|
warnOnMissingMessages: !0,
|
|
4158
4179
|
handleMissingMessage: void 0,
|
|
4159
4180
|
ignoreTag: !0
|
|
4160
|
-
},
|
|
4161
|
-
function
|
|
4162
|
-
return
|
|
4181
|
+
}, kn = jn;
|
|
4182
|
+
function te() {
|
|
4183
|
+
return kn;
|
|
4163
4184
|
}
|
|
4164
|
-
const
|
|
4165
|
-
var
|
|
4185
|
+
const ze = Be(!1);
|
|
4186
|
+
var Vn = Object.defineProperty, Wn = Object.defineProperties, zn = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, Xn = Object.prototype.hasOwnProperty, Zn = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qn = (e, t) => {
|
|
4166
4187
|
for (var r in t || (t = {}))
|
|
4167
|
-
|
|
4168
|
-
if (
|
|
4169
|
-
for (var r of
|
|
4170
|
-
|
|
4188
|
+
Xn.call(t, r) && Dt(e, r, t[r]);
|
|
4189
|
+
if (Rt)
|
|
4190
|
+
for (var r of Rt(t))
|
|
4191
|
+
Zn.call(t, r) && Dt(e, r, t[r]);
|
|
4171
4192
|
return e;
|
|
4172
|
-
},
|
|
4173
|
-
let
|
|
4174
|
-
const
|
|
4175
|
-
function
|
|
4193
|
+
}, Yn = (e, t) => Wn(e, zn(t));
|
|
4194
|
+
let ct;
|
|
4195
|
+
const Ae = Be(null);
|
|
4196
|
+
function $t(e) {
|
|
4176
4197
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
4177
4198
|
}
|
|
4178
|
-
function
|
|
4179
|
-
const r =
|
|
4180
|
-
return t ? [.../* @__PURE__ */ new Set([...r,
|
|
4199
|
+
function Ie(e, t = te().fallbackLocale) {
|
|
4200
|
+
const r = $t(e);
|
|
4201
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
|
|
4181
4202
|
}
|
|
4182
4203
|
function X() {
|
|
4183
|
-
return
|
|
4204
|
+
return ct ?? void 0;
|
|
4184
4205
|
}
|
|
4185
|
-
|
|
4186
|
-
|
|
4206
|
+
Ae.subscribe((e) => {
|
|
4207
|
+
ct = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4187
4208
|
});
|
|
4188
|
-
const
|
|
4189
|
-
if (e &&
|
|
4190
|
-
const { loadingDelay: t } =
|
|
4209
|
+
const Jn = (e) => {
|
|
4210
|
+
if (e && Dn(e) && ht(e)) {
|
|
4211
|
+
const { loadingDelay: t } = te();
|
|
4191
4212
|
let r;
|
|
4192
4213
|
return typeof window < "u" && X() != null && t ? r = window.setTimeout(
|
|
4193
|
-
() =>
|
|
4214
|
+
() => ze.set(!0),
|
|
4194
4215
|
t
|
|
4195
|
-
) :
|
|
4196
|
-
|
|
4216
|
+
) : ze.set(!0), wr(e).then(() => {
|
|
4217
|
+
Ae.set(e);
|
|
4197
4218
|
}).finally(() => {
|
|
4198
|
-
clearTimeout(r),
|
|
4219
|
+
clearTimeout(r), ze.set(!1);
|
|
4199
4220
|
});
|
|
4200
4221
|
}
|
|
4201
|
-
return
|
|
4202
|
-
},
|
|
4203
|
-
set:
|
|
4204
|
-
}),
|
|
4222
|
+
return Ae.set(e);
|
|
4223
|
+
}, ne = Yn(Qn({}, Ae), {
|
|
4224
|
+
set: Jn
|
|
4225
|
+
}), Ne = (e) => {
|
|
4205
4226
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4206
4227
|
return (i) => {
|
|
4207
4228
|
const n = JSON.stringify(i);
|
|
4208
4229
|
return n in t ? t[n] : t[n] = e(i);
|
|
4209
4230
|
};
|
|
4210
4231
|
};
|
|
4211
|
-
var
|
|
4232
|
+
var qn = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
4212
4233
|
for (var r in t || (t = {}))
|
|
4213
|
-
|
|
4214
|
-
if (
|
|
4215
|
-
for (var r of
|
|
4216
|
-
|
|
4234
|
+
Tr.call(t, r) && Ut(e, r, t[r]);
|
|
4235
|
+
if (Pe)
|
|
4236
|
+
for (var r of Pe(t))
|
|
4237
|
+
Sr.call(t, r) && Ut(e, r, t[r]);
|
|
4217
4238
|
return e;
|
|
4218
|
-
},
|
|
4239
|
+
}, oe = (e, t) => {
|
|
4219
4240
|
var r = {};
|
|
4220
4241
|
for (var i in e)
|
|
4221
|
-
|
|
4222
|
-
if (e != null &&
|
|
4223
|
-
for (var i of
|
|
4224
|
-
t.indexOf(i) < 0 &&
|
|
4242
|
+
Tr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
4243
|
+
if (e != null && Pe)
|
|
4244
|
+
for (var i of Pe(e))
|
|
4245
|
+
t.indexOf(i) < 0 && Sr.call(e, i) && (r[i] = e[i]);
|
|
4225
4246
|
return r;
|
|
4226
4247
|
};
|
|
4227
|
-
const
|
|
4228
|
-
const { formats: r } =
|
|
4248
|
+
const ce = (e, t) => {
|
|
4249
|
+
const { formats: r } = te();
|
|
4229
4250
|
if (e in r && t in r[e])
|
|
4230
4251
|
return r[e][t];
|
|
4231
4252
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4232
|
-
},
|
|
4253
|
+
}, Kn = Ne(
|
|
4233
4254
|
(e) => {
|
|
4234
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4255
|
+
var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
|
|
4235
4256
|
if (r == null)
|
|
4236
4257
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4237
|
-
return i && (n =
|
|
4258
|
+
return i && (n = ce("number", i)), new Intl.NumberFormat(r, n);
|
|
4238
4259
|
}
|
|
4239
|
-
),
|
|
4260
|
+
), eo = Ne(
|
|
4240
4261
|
(e) => {
|
|
4241
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4262
|
+
var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
|
|
4242
4263
|
if (r == null)
|
|
4243
4264
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4244
|
-
return i ? n =
|
|
4265
|
+
return i ? n = ce("date", i) : Object.keys(n).length === 0 && (n = ce("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
4245
4266
|
}
|
|
4246
|
-
),
|
|
4267
|
+
), to = Ne(
|
|
4247
4268
|
(e) => {
|
|
4248
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4269
|
+
var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
|
|
4249
4270
|
if (r == null)
|
|
4250
4271
|
throw new Error(
|
|
4251
4272
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4252
4273
|
);
|
|
4253
|
-
return i ? n =
|
|
4274
|
+
return i ? n = ce("time", i) : Object.keys(n).length === 0 && (n = ce("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
4254
4275
|
}
|
|
4255
|
-
),
|
|
4276
|
+
), ro = (e = {}) => {
|
|
4256
4277
|
var t = e, {
|
|
4257
4278
|
locale: r = X()
|
|
4258
|
-
} = t, i =
|
|
4279
|
+
} = t, i = oe(t, [
|
|
4259
4280
|
"locale"
|
|
4260
4281
|
]);
|
|
4261
|
-
return
|
|
4262
|
-
},
|
|
4282
|
+
return Kn(pt({ locale: r }, i));
|
|
4283
|
+
}, io = (e = {}) => {
|
|
4263
4284
|
var t = e, {
|
|
4264
4285
|
locale: r = X()
|
|
4265
|
-
} = t, i =
|
|
4286
|
+
} = t, i = oe(t, [
|
|
4266
4287
|
"locale"
|
|
4267
4288
|
]);
|
|
4268
|
-
return
|
|
4269
|
-
},
|
|
4289
|
+
return eo(pt({ locale: r }, i));
|
|
4290
|
+
}, no = (e = {}) => {
|
|
4270
4291
|
var t = e, {
|
|
4271
4292
|
locale: r = X()
|
|
4272
|
-
} = t, i =
|
|
4293
|
+
} = t, i = oe(t, [
|
|
4273
4294
|
"locale"
|
|
4274
4295
|
]);
|
|
4275
|
-
return
|
|
4276
|
-
},
|
|
4296
|
+
return to(pt({ locale: r }, i));
|
|
4297
|
+
}, oo = Ne(
|
|
4277
4298
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4278
|
-
(e, t = X()) => new
|
|
4279
|
-
ignoreTag:
|
|
4299
|
+
(e, t = X()) => new Cn(e, t, te().formats, {
|
|
4300
|
+
ignoreTag: te().ignoreTag
|
|
4280
4301
|
})
|
|
4281
|
-
),
|
|
4302
|
+
), so = (e, t = {}) => {
|
|
4282
4303
|
var r, i, n, o;
|
|
4283
4304
|
let a = t;
|
|
4284
4305
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4291,9 +4312,9 @@ const fe = (e, t) => {
|
|
|
4291
4312
|
throw new Error(
|
|
4292
4313
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4293
4314
|
);
|
|
4294
|
-
let l =
|
|
4315
|
+
let l = vr(e, h);
|
|
4295
4316
|
if (!l)
|
|
4296
|
-
l = (o = (n = (i = (r =
|
|
4317
|
+
l = (o = (n = (i = (r = te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
|
|
4297
4318
|
else if (typeof l != "string")
|
|
4298
4319
|
return console.warn(
|
|
4299
4320
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4302,7 +4323,7 @@ const fe = (e, t) => {
|
|
|
4302
4323
|
return l;
|
|
4303
4324
|
let c = l;
|
|
4304
4325
|
try {
|
|
4305
|
-
c =
|
|
4326
|
+
c = oo(l, h).format(s);
|
|
4306
4327
|
} catch (f) {
|
|
4307
4328
|
f instanceof Error && console.warn(
|
|
4308
4329
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4310,21 +4331,21 @@ const fe = (e, t) => {
|
|
|
4310
4331
|
);
|
|
4311
4332
|
}
|
|
4312
4333
|
return c;
|
|
4313
|
-
},
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
window.emWidgets = { topic:
|
|
4319
|
-
const
|
|
4334
|
+
}, ao = (e, t) => no(t).format(e), uo = (e, t) => io(t).format(e), lo = (e, t) => ro(t).format(e), ho = (e, t = X()) => vr(e, t), co = ie([ne, me], () => so);
|
|
4335
|
+
ie([ne], () => ao);
|
|
4336
|
+
ie([ne], () => uo);
|
|
4337
|
+
ie([ne], () => lo);
|
|
4338
|
+
ie([ne, me], () => ho);
|
|
4339
|
+
window.emWidgets = { topic: xi };
|
|
4340
|
+
const fo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Fo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4320
4341
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4321
|
-
function
|
|
4342
|
+
function mo(e, t) {
|
|
4322
4343
|
if (e) {
|
|
4323
4344
|
const r = document.createElement("style");
|
|
4324
4345
|
r.innerHTML = t, e.appendChild(r);
|
|
4325
4346
|
}
|
|
4326
4347
|
}
|
|
4327
|
-
function
|
|
4348
|
+
function po(e, t) {
|
|
4328
4349
|
if (!e || !t)
|
|
4329
4350
|
return;
|
|
4330
4351
|
const r = new URL(t);
|
|
@@ -4335,7 +4356,7 @@ function fo(e, t) {
|
|
|
4335
4356
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
4336
4357
|
});
|
|
4337
4358
|
}
|
|
4338
|
-
function
|
|
4359
|
+
function yo(e, t, r) {
|
|
4339
4360
|
if (window.emMessageBus) {
|
|
4340
4361
|
const i = document.createElement("style");
|
|
4341
4362
|
window.emMessageBus.subscribe(t, (n) => {
|
|
@@ -4343,13 +4364,13 @@ function mo(e, t, r) {
|
|
|
4343
4364
|
});
|
|
4344
4365
|
}
|
|
4345
4366
|
}
|
|
4346
|
-
function
|
|
4347
|
-
|
|
4367
|
+
function Gt(e, t) {
|
|
4368
|
+
Er(e, t);
|
|
4348
4369
|
}
|
|
4349
|
-
function
|
|
4350
|
-
|
|
4370
|
+
function go(e) {
|
|
4371
|
+
ne.set(e);
|
|
4351
4372
|
}
|
|
4352
|
-
const
|
|
4373
|
+
const Xe = {
|
|
4353
4374
|
en: {
|
|
4354
4375
|
expandLimits: "Limit history",
|
|
4355
4376
|
daily: "per day",
|
|
@@ -4580,80 +4601,80 @@ const We = {
|
|
|
4580
4601
|
historyLimitTypeLoss: "Kayıp Limiti"
|
|
4581
4602
|
}
|
|
4582
4603
|
};
|
|
4583
|
-
function
|
|
4584
|
-
|
|
4604
|
+
function bo(e) {
|
|
4605
|
+
kr(e, "svelte-1wi0iai", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-1wi0iai.svelte-1wi0iai,.svelte-1wi0iai.svelte-1wi0iai::before,.svelte-1wi0iai.svelte-1wi0iai::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-white, #FFFFFF)}button.svelte-1wi0iai.svelte-1wi0iai{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-1wi0iai.svelte-1wi0iai{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-1wi0iai.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-1wi0iai svg.svelte-1wi0iai{width:40px;height:auto;margin-left:-4px}.extended.svelte-1wi0iai.svelte-1wi0iai{transform:rotate(180deg)}.HistoryWrapper.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.svelte-1wi0iai{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea .LimitType.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.Mobile.svelte-1wi0iai{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-1wi0iai.svelte-1wi0iai{display:none}.HistoryRow.svelte-1wi0iai.svelte-1wi0iai{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-1wi0iai.svelte-1wi0iai{animation:svelte-1wi0iai-animateEntry 0.7s ease-in}@keyframes svelte-1wi0iai-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
|
|
4585
4606
|
}
|
|
4586
|
-
function
|
|
4607
|
+
function Ft(e, t, r) {
|
|
4587
4608
|
const i = e.slice();
|
|
4588
4609
|
return i[37] = t[r], i[38] = t, i[39] = r, i;
|
|
4589
4610
|
}
|
|
4590
|
-
function
|
|
4611
|
+
function vo(e) {
|
|
4591
4612
|
let t, r, i, n = (
|
|
4592
4613
|
/*$_*/
|
|
4593
4614
|
e[9]("expandLimits") + ""
|
|
4594
|
-
), o, a, s, h, u, l, c, f, p, y =
|
|
4615
|
+
), o, a, s, h, u, l, c, f, p, y = vt(
|
|
4595
4616
|
/*lazyShowedHistoryArray*/
|
|
4596
4617
|
e[7]
|
|
4597
4618
|
), d = [];
|
|
4598
4619
|
for (let v = 0; v < y.length; v += 1)
|
|
4599
|
-
d[v] =
|
|
4620
|
+
d[v] = jt(Ft(e, y, v));
|
|
4600
4621
|
return {
|
|
4601
4622
|
c() {
|
|
4602
|
-
t =
|
|
4623
|
+
t = P("div"), r = P("div"), i = P("button"), o = R(n), a = Ze(), s = $e("svg"), h = $e("path"), u = $e("path"), l = Ze(), c = P("div");
|
|
4603
4624
|
for (let v = 0; v < d.length; v += 1)
|
|
4604
4625
|
d[v].c();
|
|
4605
4626
|
E(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(h, "class", "svelte-1wi0iai"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-1wi0iai"), E(s, "class", "ExpandArrow " + (/*isDesktop*/
|
|
4606
|
-
e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(s, "xmlns", "http://www.w3.org/2000/svg"), E(s, "width", "36"), E(s, "height", "36"), E(s, "viewBox", "0 0 36 36"),
|
|
4627
|
+
e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(s, "xmlns", "http://www.w3.org/2000/svg"), E(s, "width", "36"), E(s, "height", "36"), E(s, "viewBox", "0 0 36 36"), Qr(s, "fill", "var(--emw--color-primary, #22B04E)"), ge(
|
|
4607
4628
|
s,
|
|
4608
4629
|
"extended",
|
|
4609
4630
|
/*extended*/
|
|
4610
4631
|
e[8]
|
|
4611
4632
|
), E(i, "class", "ExpandButton " + (/*isDesktop*/
|
|
4612
4633
|
e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(c, "class", "HistoryDisplayArea " + (/*isDesktop*/
|
|
4613
|
-
e[10] ? "" : "Mobile") + " svelte-1wi0iai"),
|
|
4634
|
+
e[10] ? "" : "Mobile") + " svelte-1wi0iai"), ge(
|
|
4614
4635
|
c,
|
|
4615
4636
|
"hidden",
|
|
4616
4637
|
/*hidden*/
|
|
4617
4638
|
e[5]
|
|
4618
4639
|
), E(r, "class", "HistoryWrapper svelte-1wi0iai"), E(t, "class", "player-account-gaming-limits-history-2 svelte-1wi0iai");
|
|
4619
4640
|
},
|
|
4620
|
-
m(v,
|
|
4621
|
-
z(v, t,
|
|
4622
|
-
for (let
|
|
4623
|
-
d[
|
|
4624
|
-
f || (p =
|
|
4641
|
+
m(v, H) {
|
|
4642
|
+
z(v, t, H), x(t, r), x(r, i), x(i, o), x(i, a), x(i, s), x(s, h), x(s, u), x(r, l), x(r, c);
|
|
4643
|
+
for (let g = 0; g < d.length; g += 1)
|
|
4644
|
+
d[g] && d[g].m(c, null);
|
|
4645
|
+
f || (p = Xr(
|
|
4625
4646
|
i,
|
|
4626
4647
|
"click",
|
|
4627
4648
|
/*toggleHistoryDisplayArea*/
|
|
4628
4649
|
e[11]
|
|
4629
4650
|
), f = !0);
|
|
4630
4651
|
},
|
|
4631
|
-
p(v,
|
|
4632
|
-
if (
|
|
4652
|
+
p(v, H) {
|
|
4653
|
+
if (H[0] & /*$_*/
|
|
4633
4654
|
512 && n !== (n = /*$_*/
|
|
4634
|
-
v[9]("expandLimits") + "") && j(o, n),
|
|
4635
|
-
256 &&
|
|
4655
|
+
v[9]("expandLimits") + "") && j(o, n), H[0] & /*extended*/
|
|
4656
|
+
256 && ge(
|
|
4636
4657
|
s,
|
|
4637
4658
|
"extended",
|
|
4638
4659
|
/*extended*/
|
|
4639
4660
|
v[8]
|
|
4640
|
-
),
|
|
4661
|
+
), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
4641
4662
|
650) {
|
|
4642
|
-
y =
|
|
4663
|
+
y = vt(
|
|
4643
4664
|
/*lazyShowedHistoryArray*/
|
|
4644
4665
|
v[7]
|
|
4645
4666
|
);
|
|
4646
|
-
let
|
|
4647
|
-
for (
|
|
4648
|
-
const S =
|
|
4649
|
-
d[
|
|
4667
|
+
let g;
|
|
4668
|
+
for (g = 0; g < y.length; g += 1) {
|
|
4669
|
+
const S = Ft(v, y, g);
|
|
4670
|
+
d[g] ? d[g].p(S, H) : (d[g] = jt(S), d[g].c(), d[g].m(c, null));
|
|
4650
4671
|
}
|
|
4651
|
-
for (;
|
|
4652
|
-
d[
|
|
4672
|
+
for (; g < d.length; g += 1)
|
|
4673
|
+
d[g].d(1);
|
|
4653
4674
|
d.length = y.length;
|
|
4654
4675
|
}
|
|
4655
|
-
|
|
4656
|
-
32 &&
|
|
4676
|
+
H[0] & /*hidden*/
|
|
4677
|
+
32 && ge(
|
|
4657
4678
|
c,
|
|
4658
4679
|
"hidden",
|
|
4659
4680
|
/*hidden*/
|
|
@@ -4661,14 +4682,14 @@ function bo(e) {
|
|
|
4661
4682
|
);
|
|
4662
4683
|
},
|
|
4663
4684
|
d(v) {
|
|
4664
|
-
v && k(t),
|
|
4685
|
+
v && k(t), zr(d, v), f = !1, p();
|
|
4665
4686
|
}
|
|
4666
4687
|
};
|
|
4667
4688
|
}
|
|
4668
|
-
function
|
|
4669
|
-
return { c:
|
|
4689
|
+
function _o(e) {
|
|
4690
|
+
return { c: O, m: O, p: O, d: O };
|
|
4670
4691
|
}
|
|
4671
|
-
function
|
|
4692
|
+
function Eo(e) {
|
|
4672
4693
|
let t, r = (
|
|
4673
4694
|
/*lang*/
|
|
4674
4695
|
(e[0] ? (
|
|
@@ -4678,10 +4699,10 @@ function vo(e) {
|
|
|
4678
4699
|
), i;
|
|
4679
4700
|
return {
|
|
4680
4701
|
c() {
|
|
4681
|
-
t =
|
|
4702
|
+
t = P("p"), i = R(r), E(t, "class", "svelte-1wi0iai");
|
|
4682
4703
|
},
|
|
4683
4704
|
m(n, o) {
|
|
4684
|
-
z(n, t, o),
|
|
4705
|
+
z(n, t, o), x(t, i);
|
|
4685
4706
|
},
|
|
4686
4707
|
p(n, o) {
|
|
4687
4708
|
o[0] & /*lang, $_*/
|
|
@@ -4696,7 +4717,7 @@ function vo(e) {
|
|
|
4696
4717
|
}
|
|
4697
4718
|
};
|
|
4698
4719
|
}
|
|
4699
|
-
function
|
|
4720
|
+
function xo(e) {
|
|
4700
4721
|
let t, r, i, n = (
|
|
4701
4722
|
/*history*/
|
|
4702
4723
|
e[37].type + ""
|
|
@@ -4709,10 +4730,10 @@ function _o(e) {
|
|
|
4709
4730
|
), c;
|
|
4710
4731
|
return {
|
|
4711
4732
|
c() {
|
|
4712
|
-
t =
|
|
4733
|
+
t = P("div"), r = P("span"), i = P("span"), o = R(n), a = P("span"), h = R(s), u = P("span"), c = R(l), E(i, "class", "LimitType svelte-1wi0iai"), E(a, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
|
|
4713
4734
|
},
|
|
4714
4735
|
m(f, p) {
|
|
4715
|
-
z(f, t, p),
|
|
4736
|
+
z(f, t, p), x(t, r), x(r, i), x(i, o), x(r, a), x(a, h), x(t, u), x(u, c);
|
|
4716
4737
|
},
|
|
4717
4738
|
p(f, p) {
|
|
4718
4739
|
p[0] & /*lazyShowedHistoryArray*/
|
|
@@ -4728,7 +4749,7 @@ function _o(e) {
|
|
|
4728
4749
|
}
|
|
4729
4750
|
};
|
|
4730
4751
|
}
|
|
4731
|
-
function
|
|
4752
|
+
function wo(e) {
|
|
4732
4753
|
let t, r, i, n = (
|
|
4733
4754
|
/*history*/
|
|
4734
4755
|
e[37].type + ""
|
|
@@ -4741,10 +4762,10 @@ function xo(e) {
|
|
|
4741
4762
|
), c;
|
|
4742
4763
|
return {
|
|
4743
4764
|
c() {
|
|
4744
|
-
t =
|
|
4765
|
+
t = P("div"), r = P("span"), i = P("span"), o = R(n), a = P("span"), h = R(s), u = P("span"), c = R(l), E(i, "class", "LimitType svelte-1wi0iai"), E(a, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
|
|
4745
4766
|
},
|
|
4746
4767
|
m(f, p) {
|
|
4747
|
-
z(f, t, p),
|
|
4768
|
+
z(f, t, p), x(t, r), x(r, i), x(i, o), x(r, a), x(a, h), x(t, u), x(u, c);
|
|
4748
4769
|
},
|
|
4749
4770
|
p(f, p) {
|
|
4750
4771
|
p[0] & /*lazyShowedHistoryArray*/
|
|
@@ -4760,7 +4781,7 @@ function xo(e) {
|
|
|
4760
4781
|
}
|
|
4761
4782
|
};
|
|
4762
4783
|
}
|
|
4763
|
-
function
|
|
4784
|
+
function jt(e) {
|
|
4764
4785
|
let t, r, i, n = (
|
|
4765
4786
|
/*index*/
|
|
4766
4787
|
e[39]
|
|
@@ -4768,7 +4789,7 @@ function Gt(e) {
|
|
|
4768
4789
|
function o(l, c) {
|
|
4769
4790
|
return (
|
|
4770
4791
|
/*history*/
|
|
4771
|
-
l[37].removed ?
|
|
4792
|
+
l[37].removed ? wo : xo
|
|
4772
4793
|
);
|
|
4773
4794
|
}
|
|
4774
4795
|
let a = o(e), s = a(e);
|
|
@@ -4781,18 +4802,18 @@ function Gt(e) {
|
|
|
4781
4802
|
);
|
|
4782
4803
|
return {
|
|
4783
4804
|
c() {
|
|
4784
|
-
t =
|
|
4805
|
+
t = P("div"), s.c(), r = Ze(), E(t, "class", i = gt(
|
|
4785
4806
|
/*index*/
|
|
4786
4807
|
e[39] > +/*numberofentries*/
|
|
4787
4808
|
e[1] ? "LimitContainer" : ""
|
|
4788
4809
|
) + " svelte-1wi0iai");
|
|
4789
4810
|
},
|
|
4790
4811
|
m(l, c) {
|
|
4791
|
-
z(l, t, c), s.m(t, null),
|
|
4812
|
+
z(l, t, c), s.m(t, null), x(t, r), h();
|
|
4792
4813
|
},
|
|
4793
4814
|
p(l, c) {
|
|
4794
4815
|
e = l, a === (a = o(e)) && s ? s.p(e, c) : (s.d(1), s = a(e), s && (s.c(), s.m(t, r))), c[0] & /*numberofentries*/
|
|
4795
|
-
2 && i !== (i =
|
|
4816
|
+
2 && i !== (i = gt(
|
|
4796
4817
|
/*index*/
|
|
4797
4818
|
e[39] > +/*numberofentries*/
|
|
4798
4819
|
e[1] ? "LimitContainer" : ""
|
|
@@ -4805,21 +4826,21 @@ function Gt(e) {
|
|
|
4805
4826
|
}
|
|
4806
4827
|
};
|
|
4807
4828
|
}
|
|
4808
|
-
function
|
|
4829
|
+
function To(e) {
|
|
4809
4830
|
let t;
|
|
4810
4831
|
function r(o, a) {
|
|
4811
4832
|
return (
|
|
4812
4833
|
/*hasErrors*/
|
|
4813
|
-
o[6] ?
|
|
4834
|
+
o[6] ? Eo : (
|
|
4814
4835
|
/*isLoading*/
|
|
4815
|
-
o[4] ?
|
|
4836
|
+
o[4] ? _o : vo
|
|
4816
4837
|
)
|
|
4817
4838
|
);
|
|
4818
4839
|
}
|
|
4819
4840
|
let i = r(e), n = i(e);
|
|
4820
4841
|
return {
|
|
4821
4842
|
c() {
|
|
4822
|
-
t =
|
|
4843
|
+
t = P("div"), n.c(), E(t, "class", "svelte-1wi0iai");
|
|
4823
4844
|
},
|
|
4824
4845
|
m(o, a) {
|
|
4825
4846
|
z(o, t, a), n.m(t, null), e[23](t);
|
|
@@ -4827,50 +4848,50 @@ function Eo(e) {
|
|
|
4827
4848
|
p(o, a) {
|
|
4828
4849
|
i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
|
|
4829
4850
|
},
|
|
4830
|
-
i:
|
|
4831
|
-
o:
|
|
4851
|
+
i: O,
|
|
4852
|
+
o: O,
|
|
4832
4853
|
d(o) {
|
|
4833
4854
|
o && k(t), n.d(), e[23](null);
|
|
4834
4855
|
}
|
|
4835
4856
|
};
|
|
4836
4857
|
}
|
|
4837
|
-
function
|
|
4858
|
+
function So(e, t, r) {
|
|
4838
4859
|
let i;
|
|
4839
|
-
|
|
4840
|
-
let n = window.navigator.userAgent, o = !
|
|
4841
|
-
const
|
|
4842
|
-
fetch(
|
|
4843
|
-
Object.keys(
|
|
4844
|
-
|
|
4860
|
+
jr(e, co, (m) => r(9, i = m));
|
|
4861
|
+
let n = window.navigator.userAgent, o = !fo(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, S = new Array(), D = parseInt(c, 10), N = !1, $ = !0, V = [], pe = [], de = !0, Me = !1, se = { EUR: "€", RON: "lei", TRY: "₺" };
|
|
4862
|
+
const Ar = () => {
|
|
4863
|
+
fetch(H).then((w) => w.json()).then((w) => {
|
|
4864
|
+
Object.keys(w).forEach((I) => {
|
|
4865
|
+
Gt(I, w[I]);
|
|
4845
4866
|
});
|
|
4846
|
-
}).catch((
|
|
4847
|
-
console.log(
|
|
4867
|
+
}).catch((w) => {
|
|
4868
|
+
console.log(w);
|
|
4848
4869
|
});
|
|
4849
4870
|
};
|
|
4850
|
-
Object.keys(
|
|
4851
|
-
|
|
4871
|
+
Object.keys(Xe).forEach((m) => {
|
|
4872
|
+
Gt(m, Xe[m]);
|
|
4852
4873
|
});
|
|
4853
|
-
const
|
|
4854
|
-
let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`,
|
|
4855
|
-
|
|
4874
|
+
const Pr = () => {
|
|
4875
|
+
let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, w = new URL(`${u}${m}`);
|
|
4876
|
+
w.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), w.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), w.searchParams.append("limit", "10000");
|
|
4856
4877
|
let I = {
|
|
4857
4878
|
method: "GET",
|
|
4858
4879
|
headers: { "X-SessionID": h }
|
|
4859
4880
|
};
|
|
4860
|
-
fetch(
|
|
4881
|
+
fetch(w.href, I).then((A) => {
|
|
4861
4882
|
if (A.status >= 300)
|
|
4862
|
-
throw r(4,
|
|
4883
|
+
throw r(4, $ = !1), r(6, N = !0), new Error("There was an error fetching the limits");
|
|
4863
4884
|
return A.json();
|
|
4864
4885
|
}).then(
|
|
4865
4886
|
(A) => {
|
|
4866
|
-
A.length && (V = Hr(A), r(7, pe = V.slice(0,
|
|
4887
|
+
A.length && (V = Hr(A), r(7, pe = V.slice(0, D))), r(4, $ = !1);
|
|
4867
4888
|
},
|
|
4868
4889
|
(A) => {
|
|
4869
4890
|
console.error("There was an error", A), r(6, N = !0);
|
|
4870
4891
|
}
|
|
4871
4892
|
);
|
|
4872
4893
|
}, Hr = (m) => {
|
|
4873
|
-
const
|
|
4894
|
+
const w = !!Xe[a];
|
|
4874
4895
|
return m.map((A) => {
|
|
4875
4896
|
let U = {
|
|
4876
4897
|
amount: "",
|
|
@@ -4880,82 +4901,82 @@ function wo(e, t, r) {
|
|
|
4880
4901
|
type: "",
|
|
4881
4902
|
removed: !1
|
|
4882
4903
|
};
|
|
4883
|
-
return U.amount =
|
|
4904
|
+
return U.amount = Br(A), U.currency = w ? se[A.limitCurrencyCode] : A.limitCurrencyCode, U.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), U.period = i(`${A.limitPeriod.toLowerCase()}`), U.type = l === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), U.removed = A.limitAmount === -1, U;
|
|
4884
4905
|
});
|
|
4885
|
-
},
|
|
4886
|
-
let
|
|
4906
|
+
}, Br = (m) => {
|
|
4907
|
+
let w = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
|
|
4887
4908
|
if (!p) {
|
|
4888
|
-
let Ur =
|
|
4889
|
-
return `${
|
|
4909
|
+
let Ur = se[m.limitCurrencyCode] || m.limitCurrencyCode;
|
|
4910
|
+
return `${w}${Ur}`;
|
|
4890
4911
|
}
|
|
4891
4912
|
typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
|
|
4892
|
-
const I =
|
|
4913
|
+
const I = w.match(/\{(\d+)decimals\}/), A = I ? parseInt(I[1], 10) : 2, U = I ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
4893
4914
|
let ye = parseFloat(m.limitAmount).toFixed(A);
|
|
4894
|
-
const [
|
|
4895
|
-
let [
|
|
4896
|
-
return
|
|
4915
|
+
const [Dr, Re] = p.includes(".") ? [",", "."] : [".", ","];
|
|
4916
|
+
let [De, $r] = ye.split(".");
|
|
4917
|
+
return De = De.replace(/\B(?=(\d{3})+(?!\d))/g, Dr), ye = `${De}${Re}${$r}`, w = w.replace("{currency}", se[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Re)[0]).replace(
|
|
4897
4918
|
U,
|
|
4898
|
-
ye.split(
|
|
4899
|
-
),
|
|
4900
|
-
},
|
|
4901
|
-
r(5, de = !de), r(8,
|
|
4919
|
+
ye.split(Re)[1]
|
|
4920
|
+
), w;
|
|
4921
|
+
}, Or = () => {
|
|
4922
|
+
r(5, de = !de), r(8, Me = !Me);
|
|
4902
4923
|
};
|
|
4903
|
-
let
|
|
4904
|
-
m.forEach((
|
|
4905
|
-
|
|
4924
|
+
let dt = new IntersectionObserver((m) => {
|
|
4925
|
+
m.forEach((w) => {
|
|
4926
|
+
w.isIntersecting && (D += parseInt(c, 10) || 10, pe.length < V.length && r(7, pe = V.slice(0, D)));
|
|
4906
4927
|
});
|
|
4907
4928
|
});
|
|
4908
4929
|
const Cr = () => {
|
|
4909
|
-
|
|
4910
|
-
},
|
|
4930
|
+
dt.observe(S[S.length - 1]);
|
|
4931
|
+
}, Ir = () => {
|
|
4911
4932
|
if (!f)
|
|
4912
4933
|
return;
|
|
4913
4934
|
let m = {};
|
|
4914
|
-
f.split(",").forEach((
|
|
4915
|
-
let I =
|
|
4935
|
+
f.split(",").forEach((w) => {
|
|
4936
|
+
let I = w.split(":");
|
|
4916
4937
|
m[I[0].trim()] = I[1].trim();
|
|
4917
|
-
}),
|
|
4918
|
-
},
|
|
4919
|
-
|
|
4938
|
+
}), se = { ...se, ...m };
|
|
4939
|
+
}, Nr = () => {
|
|
4940
|
+
go(a);
|
|
4920
4941
|
};
|
|
4921
|
-
|
|
4922
|
-
|
|
4942
|
+
qr(() => () => {
|
|
4943
|
+
dt.unobserve(S[S.length - 1]);
|
|
4923
4944
|
});
|
|
4924
|
-
function
|
|
4925
|
-
|
|
4926
|
-
S[
|
|
4945
|
+
function Mr(m, w) {
|
|
4946
|
+
Se[m ? "unshift" : "push"](() => {
|
|
4947
|
+
S[w] = m, r(3, S);
|
|
4927
4948
|
});
|
|
4928
4949
|
}
|
|
4929
|
-
function
|
|
4930
|
-
|
|
4931
|
-
|
|
4950
|
+
function Rr(m) {
|
|
4951
|
+
Se[m ? "unshift" : "push"](() => {
|
|
4952
|
+
g = m, r(2, g);
|
|
4932
4953
|
});
|
|
4933
4954
|
}
|
|
4934
4955
|
return e.$$set = (m) => {
|
|
4935
|
-
"lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21,
|
|
4956
|
+
"lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
|
|
4936
4957
|
}, e.$$.update = () => {
|
|
4937
4958
|
e.$$.dirty[0] & /*customcurrencysymbols*/
|
|
4938
|
-
65536 && f &&
|
|
4939
|
-
61440 && u && s && h && l &&
|
|
4940
|
-
56 && S[0] &&
|
|
4941
|
-
1 && a &&
|
|
4942
|
-
262148 && y &&
|
|
4943
|
-
524292 && d &&
|
|
4944
|
-
1048580 && v &&
|
|
4945
|
-
2097156 &&
|
|
4959
|
+
65536 && f && Ir(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
4960
|
+
61440 && u && s && h && l && Pr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
4961
|
+
56 && S[0] && !$ && !de && Cr(), e.$$.dirty[0] & /*lang*/
|
|
4962
|
+
1 && a && Nr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4963
|
+
262148 && y && g && mo(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4964
|
+
524292 && d && g && po(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4965
|
+
1048580 && v && g && yo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
|
|
4966
|
+
2097156 && H && g && Ar();
|
|
4946
4967
|
}, [
|
|
4947
4968
|
a,
|
|
4948
4969
|
c,
|
|
4949
|
-
|
|
4970
|
+
g,
|
|
4950
4971
|
S,
|
|
4951
|
-
|
|
4972
|
+
$,
|
|
4952
4973
|
de,
|
|
4953
4974
|
N,
|
|
4954
4975
|
pe,
|
|
4955
|
-
|
|
4976
|
+
Me,
|
|
4956
4977
|
i,
|
|
4957
4978
|
o,
|
|
4958
|
-
|
|
4979
|
+
Or,
|
|
4959
4980
|
s,
|
|
4960
4981
|
h,
|
|
4961
4982
|
u,
|
|
@@ -4965,19 +4986,19 @@ function wo(e, t, r) {
|
|
|
4965
4986
|
y,
|
|
4966
4987
|
d,
|
|
4967
4988
|
v,
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4989
|
+
H,
|
|
4990
|
+
Mr,
|
|
4991
|
+
Rr
|
|
4971
4992
|
];
|
|
4972
4993
|
}
|
|
4973
|
-
class Lr extends
|
|
4994
|
+
class Lr extends ai {
|
|
4974
4995
|
constructor(t) {
|
|
4975
|
-
super(),
|
|
4996
|
+
super(), oi(
|
|
4976
4997
|
this,
|
|
4977
4998
|
t,
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4999
|
+
So,
|
|
5000
|
+
To,
|
|
5001
|
+
Vt,
|
|
4981
5002
|
{
|
|
4982
5003
|
lang: 0,
|
|
4983
5004
|
userid: 12,
|
|
@@ -4992,7 +5013,7 @@ class Lr extends si {
|
|
|
4992
5013
|
mbsource: 20,
|
|
4993
5014
|
translationurl: 21
|
|
4994
5015
|
},
|
|
4995
|
-
|
|
5016
|
+
bo,
|
|
4996
5017
|
[-1, -1]
|
|
4997
5018
|
);
|
|
4998
5019
|
}
|
|
@@ -5000,130 +5021,130 @@ class Lr extends si {
|
|
|
5000
5021
|
return this.$$.ctx[0];
|
|
5001
5022
|
}
|
|
5002
5023
|
set lang(t) {
|
|
5003
|
-
this.$$set({ lang: t }),
|
|
5024
|
+
this.$$set({ lang: t }), C();
|
|
5004
5025
|
}
|
|
5005
5026
|
get userid() {
|
|
5006
5027
|
return this.$$.ctx[12];
|
|
5007
5028
|
}
|
|
5008
5029
|
set userid(t) {
|
|
5009
|
-
this.$$set({ userid: t }),
|
|
5030
|
+
this.$$set({ userid: t }), C();
|
|
5010
5031
|
}
|
|
5011
5032
|
get session() {
|
|
5012
5033
|
return this.$$.ctx[13];
|
|
5013
5034
|
}
|
|
5014
5035
|
set session(t) {
|
|
5015
|
-
this.$$set({ session: t }),
|
|
5036
|
+
this.$$set({ session: t }), C();
|
|
5016
5037
|
}
|
|
5017
5038
|
get endpoint() {
|
|
5018
5039
|
return this.$$.ctx[14];
|
|
5019
5040
|
}
|
|
5020
5041
|
set endpoint(t) {
|
|
5021
|
-
this.$$set({ endpoint: t }),
|
|
5042
|
+
this.$$set({ endpoint: t }), C();
|
|
5022
5043
|
}
|
|
5023
5044
|
get apiversion() {
|
|
5024
5045
|
return this.$$.ctx[15];
|
|
5025
5046
|
}
|
|
5026
5047
|
set apiversion(t) {
|
|
5027
|
-
this.$$set({ apiversion: t }),
|
|
5048
|
+
this.$$set({ apiversion: t }), C();
|
|
5028
5049
|
}
|
|
5029
5050
|
get numberofentries() {
|
|
5030
5051
|
return this.$$.ctx[1];
|
|
5031
5052
|
}
|
|
5032
5053
|
set numberofentries(t) {
|
|
5033
|
-
this.$$set({ numberofentries: t }),
|
|
5054
|
+
this.$$set({ numberofentries: t }), C();
|
|
5034
5055
|
}
|
|
5035
5056
|
get customcurrencysymbols() {
|
|
5036
5057
|
return this.$$.ctx[16];
|
|
5037
5058
|
}
|
|
5038
5059
|
set customcurrencysymbols(t) {
|
|
5039
|
-
this.$$set({ customcurrencysymbols: t }),
|
|
5060
|
+
this.$$set({ customcurrencysymbols: t }), C();
|
|
5040
5061
|
}
|
|
5041
5062
|
get limitformat() {
|
|
5042
5063
|
return this.$$.ctx[17];
|
|
5043
5064
|
}
|
|
5044
5065
|
set limitformat(t) {
|
|
5045
|
-
this.$$set({ limitformat: t }),
|
|
5066
|
+
this.$$set({ limitformat: t }), C();
|
|
5046
5067
|
}
|
|
5047
5068
|
get clientstyling() {
|
|
5048
5069
|
return this.$$.ctx[18];
|
|
5049
5070
|
}
|
|
5050
5071
|
set clientstyling(t) {
|
|
5051
|
-
this.$$set({ clientstyling: t }),
|
|
5072
|
+
this.$$set({ clientstyling: t }), C();
|
|
5052
5073
|
}
|
|
5053
5074
|
get clientstylingurl() {
|
|
5054
5075
|
return this.$$.ctx[19];
|
|
5055
5076
|
}
|
|
5056
5077
|
set clientstylingurl(t) {
|
|
5057
|
-
this.$$set({ clientstylingurl: t }),
|
|
5078
|
+
this.$$set({ clientstylingurl: t }), C();
|
|
5058
5079
|
}
|
|
5059
5080
|
get mbsource() {
|
|
5060
5081
|
return this.$$.ctx[20];
|
|
5061
5082
|
}
|
|
5062
5083
|
set mbsource(t) {
|
|
5063
|
-
this.$$set({ mbsource: t }),
|
|
5084
|
+
this.$$set({ mbsource: t }), C();
|
|
5064
5085
|
}
|
|
5065
5086
|
get translationurl() {
|
|
5066
5087
|
return this.$$.ctx[21];
|
|
5067
5088
|
}
|
|
5068
5089
|
set translationurl(t) {
|
|
5069
|
-
this.$$set({ translationurl: t }),
|
|
5090
|
+
this.$$set({ translationurl: t }), C();
|
|
5070
5091
|
}
|
|
5071
5092
|
}
|
|
5072
|
-
|
|
5073
|
-
const
|
|
5093
|
+
si(Lr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
5094
|
+
const jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5074
5095
|
__proto__: null,
|
|
5075
5096
|
default: Lr
|
|
5076
5097
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5077
5098
|
export {
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5099
|
+
ne as $,
|
|
5100
|
+
re as A,
|
|
5101
|
+
j as B,
|
|
5102
|
+
Io as C,
|
|
5103
|
+
No as D,
|
|
5104
|
+
Xr as E,
|
|
5105
|
+
R as F,
|
|
5106
|
+
Do as G,
|
|
5107
|
+
Se as H,
|
|
5108
|
+
Ro as I,
|
|
5088
5109
|
Oo as J,
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5110
|
+
Mo as K,
|
|
5111
|
+
Ye as L,
|
|
5112
|
+
Qr as M,
|
|
5113
|
+
$e as N,
|
|
5114
|
+
co as O,
|
|
5115
|
+
mo as P,
|
|
5116
|
+
po as Q,
|
|
5117
|
+
yo as R,
|
|
5118
|
+
ai as S,
|
|
5119
|
+
Bo as T,
|
|
5120
|
+
Fo as U,
|
|
5121
|
+
Co as V,
|
|
5122
|
+
ge as W,
|
|
5123
|
+
jo as X,
|
|
5124
|
+
Er as a,
|
|
5125
|
+
kr as b,
|
|
5126
|
+
si as c,
|
|
5127
|
+
k as d,
|
|
5128
|
+
ti as e,
|
|
5129
|
+
C as f,
|
|
5130
|
+
$o as g,
|
|
5131
|
+
Uo as h,
|
|
5132
|
+
oi as i,
|
|
5133
|
+
z as j,
|
|
5134
|
+
x as k,
|
|
5135
|
+
P as l,
|
|
5136
|
+
Ze as m,
|
|
5137
|
+
jr as n,
|
|
5138
|
+
fo as o,
|
|
5139
|
+
qr as p,
|
|
5119
5140
|
E as q,
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5141
|
+
Lo as r,
|
|
5142
|
+
Vt as s,
|
|
5143
|
+
Go as t,
|
|
5144
|
+
Po as u,
|
|
5145
|
+
Ho as v,
|
|
5146
|
+
Ao as w,
|
|
5147
|
+
O as x,
|
|
5148
|
+
vt as y,
|
|
5149
|
+
zr as z
|
|
5129
5150
|
};
|