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