@everymatrix/player-account-gaming-limits-wrapper-2 1.55.0 → 1.56.0
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/{PlayerAccountGamingLimitsHistory2-CBvsOjCi.js → PlayerAccountGamingLimitsHistory2-B_EpYgGO.js} +958 -893
- package/components/PlayerAccountGamingLimitsHistory2-BzyxDCHg.cjs +5 -0
- package/components/{PlayerAccountGamingLimitsHistory2-4KF7-RcC.js → PlayerAccountGamingLimitsHistory2-CiXyC3tt.js} +1057 -992
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CuxJ8Xju.js → PlayerAccountGamingLimitsPage2Gm16-Ag6s1IrL.js} +1163 -1139
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Dtq9wJaJ.js → PlayerAccountGamingLimitsPage2Gm16-dOdpXKWp.js} +1063 -1039
- package/components/PlayerAccountGamingLimitsPage2Gm16-qB_iYvGo.cjs +21 -0
- package/components/PlayerAccountGamingLimitsWrapper2-Ba3KSOs3.js +1011 -0
- package/components/PlayerAccountGamingLimitsWrapper2-CYkP1B3_.js +1017 -0
- package/components/PlayerAccountGamingLimitsWrapper2-CzYC-JDk.cjs +1 -0
- package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
- package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
- package/esnext/player-account-gaming-limits-wrapper-2.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-db5752f9--Bvt52z2.js +610 -0
- package/stencil/index-db5752f9-CAzJb5N3.js +594 -0
- package/stencil/index-db5752f9-CEbtfUsZ.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-BH4FIF5y.js +122 -0
- package/stencil/ui-skeleton-982450d2-BYrWGs9b.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-DGJAETMx.js +122 -0
- package/stencil/ui-skeleton-DlfwJJb1.js +29 -0
- package/stencil/ui-skeleton-DtnYQAt6.cjs +1 -0
- package/stencil/ui-skeleton-rqI1NmdA.js +11 -0
- package/components/PlayerAccountGamingLimitsHistory2-7xNrE9YG.cjs +0 -5
- package/components/PlayerAccountGamingLimitsPage2Gm16--q4xUQS8.cjs +0 -21
- package/components/PlayerAccountGamingLimitsWrapper2-BOn1tC_K.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2-Cjgpntyc.js +0 -866
- package/components/PlayerAccountGamingLimitsWrapper2-nKKqHfcg.js +0 -860
|
@@ -1,53 +1,95 @@
|
|
|
1
|
-
function
|
|
1
|
+
function B() {
|
|
2
|
+
}
|
|
3
|
+
function Cr(e, t) {
|
|
4
|
+
for (const r in t) e[r] = t[r];
|
|
5
|
+
return (
|
|
6
|
+
/** @type {T & S} */
|
|
7
|
+
e
|
|
8
|
+
);
|
|
2
9
|
}
|
|
3
|
-
function
|
|
10
|
+
function Ut(e) {
|
|
4
11
|
return e();
|
|
5
12
|
}
|
|
6
13
|
function ct() {
|
|
7
14
|
return /* @__PURE__ */ Object.create(null);
|
|
8
15
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
16
|
+
function ie(e) {
|
|
17
|
+
e.forEach(Ut);
|
|
11
18
|
}
|
|
12
|
-
function
|
|
19
|
+
function at(e) {
|
|
13
20
|
return typeof e == "function";
|
|
14
21
|
}
|
|
15
|
-
function
|
|
22
|
+
function $t(e, t) {
|
|
16
23
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
24
|
}
|
|
18
|
-
function
|
|
25
|
+
function Nr(e) {
|
|
19
26
|
return Object.keys(e).length === 0;
|
|
20
27
|
}
|
|
21
28
|
function Gt(e, ...t) {
|
|
22
29
|
if (e == null) {
|
|
23
30
|
for (const i of t)
|
|
24
31
|
i(void 0);
|
|
25
|
-
return
|
|
32
|
+
return B;
|
|
26
33
|
}
|
|
27
34
|
const r = e.subscribe(...t);
|
|
28
35
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
36
|
}
|
|
30
|
-
function
|
|
37
|
+
function Rr(e, t, r) {
|
|
31
38
|
e.$$.on_destroy.push(Gt(t, r));
|
|
32
39
|
}
|
|
40
|
+
function _o(e, t, r, i) {
|
|
41
|
+
if (e) {
|
|
42
|
+
const n = Ft(e, t, r, i);
|
|
43
|
+
return e[0](n);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
function Ft(e, t, r, i) {
|
|
47
|
+
return e[1] && i ? Cr(r.ctx.slice(), e[1](i(t))) : r.ctx;
|
|
48
|
+
}
|
|
49
|
+
function Eo(e, t, r, i) {
|
|
50
|
+
if (e[2] && i) {
|
|
51
|
+
const n = e[2](i(r));
|
|
52
|
+
if (t.dirty === void 0)
|
|
53
|
+
return n;
|
|
54
|
+
if (typeof n == "object") {
|
|
55
|
+
const o = [], a = Math.max(t.dirty.length, n.length);
|
|
56
|
+
for (let s = 0; s < a; s += 1)
|
|
57
|
+
o[s] = t.dirty[s] | n[s];
|
|
58
|
+
return o;
|
|
59
|
+
}
|
|
60
|
+
return t.dirty | n;
|
|
61
|
+
}
|
|
62
|
+
return t.dirty;
|
|
63
|
+
}
|
|
64
|
+
function xo(e, t, r, i, n, o) {
|
|
65
|
+
if (n) {
|
|
66
|
+
const a = Ft(t, r, i, o);
|
|
67
|
+
e.p(a, n);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
function To(e) {
|
|
71
|
+
if (e.ctx.length > 32) {
|
|
72
|
+
const t = [], r = e.ctx.length / 32;
|
|
73
|
+
for (let i = 0; i < r; i++)
|
|
74
|
+
t[i] = -1;
|
|
75
|
+
return t;
|
|
76
|
+
}
|
|
77
|
+
return -1;
|
|
78
|
+
}
|
|
33
79
|
function ft(e) {
|
|
34
80
|
return e ?? "";
|
|
35
81
|
}
|
|
36
|
-
|
|
37
|
-
// @ts-ignore Node typings have this
|
|
38
|
-
global
|
|
39
|
-
);
|
|
40
|
-
function L(e, t) {
|
|
82
|
+
function T(e, t) {
|
|
41
83
|
e.appendChild(t);
|
|
42
84
|
}
|
|
43
|
-
function
|
|
44
|
-
const i =
|
|
85
|
+
function Mr(e, t, r) {
|
|
86
|
+
const i = Dr(e);
|
|
45
87
|
if (!i.getElementById(t)) {
|
|
46
88
|
const n = P("style");
|
|
47
89
|
n.id = t, n.textContent = r, Ur(i, n);
|
|
48
90
|
}
|
|
49
91
|
}
|
|
50
|
-
function
|
|
92
|
+
function Dr(e) {
|
|
51
93
|
if (!e) return document;
|
|
52
94
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
53
95
|
return t && /** @type {ShadowRoot} */
|
|
@@ -57,64 +99,64 @@ function $r(e) {
|
|
|
57
99
|
) : e.ownerDocument;
|
|
58
100
|
}
|
|
59
101
|
function Ur(e, t) {
|
|
60
|
-
return
|
|
102
|
+
return T(
|
|
61
103
|
/** @type {Document} */
|
|
62
104
|
e.head || e,
|
|
63
105
|
t
|
|
64
106
|
), t.sheet;
|
|
65
107
|
}
|
|
66
|
-
function
|
|
108
|
+
function X(e, t, r) {
|
|
67
109
|
e.insertBefore(t, r || null);
|
|
68
110
|
}
|
|
69
111
|
function k(e) {
|
|
70
112
|
e.parentNode && e.parentNode.removeChild(e);
|
|
71
113
|
}
|
|
72
|
-
function
|
|
114
|
+
function $r(e, t) {
|
|
73
115
|
for (let r = 0; r < e.length; r += 1)
|
|
74
116
|
e[r] && e[r].d(t);
|
|
75
117
|
}
|
|
76
118
|
function P(e) {
|
|
77
119
|
return document.createElement(e);
|
|
78
120
|
}
|
|
79
|
-
function
|
|
121
|
+
function Me(e) {
|
|
80
122
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
81
123
|
}
|
|
82
124
|
function R(e) {
|
|
83
125
|
return document.createTextNode(e);
|
|
84
126
|
}
|
|
85
|
-
function
|
|
127
|
+
function We() {
|
|
86
128
|
return R(" ");
|
|
87
129
|
}
|
|
88
|
-
function
|
|
130
|
+
function Lo() {
|
|
89
131
|
return R("");
|
|
90
132
|
}
|
|
91
|
-
function
|
|
133
|
+
function Gr(e, t, r, i) {
|
|
92
134
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
93
135
|
}
|
|
94
136
|
function x(e, t, r) {
|
|
95
137
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
96
138
|
}
|
|
97
|
-
function
|
|
139
|
+
function So(e, t, r) {
|
|
98
140
|
const i = t.toLowerCase();
|
|
99
141
|
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
|
|
100
142
|
}
|
|
101
|
-
function
|
|
143
|
+
function wo(e) {
|
|
102
144
|
return e === "" ? null : +e;
|
|
103
145
|
}
|
|
104
|
-
function
|
|
146
|
+
function Fr(e) {
|
|
105
147
|
return Array.from(e.childNodes);
|
|
106
148
|
}
|
|
107
149
|
function j(e, t) {
|
|
108
150
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
109
151
|
t);
|
|
110
152
|
}
|
|
111
|
-
function
|
|
153
|
+
function Ao(e, t) {
|
|
112
154
|
e.value = t ?? "";
|
|
113
155
|
}
|
|
114
|
-
function
|
|
156
|
+
function Po(e, t, r, i) {
|
|
115
157
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
116
158
|
}
|
|
117
|
-
function
|
|
159
|
+
function Ho(e, t, r) {
|
|
118
160
|
for (let i = 0; i < e.options.length; i += 1) {
|
|
119
161
|
const n = e.options[i];
|
|
120
162
|
if (n.__value === t) {
|
|
@@ -124,14 +166,14 @@ function Lo(e, t, r) {
|
|
|
124
166
|
}
|
|
125
167
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
126
168
|
}
|
|
127
|
-
function
|
|
169
|
+
function Io(e) {
|
|
128
170
|
const t = e.querySelector(":checked");
|
|
129
171
|
return t && t.__value;
|
|
130
172
|
}
|
|
131
|
-
function
|
|
173
|
+
function ge(e, t, r) {
|
|
132
174
|
e.classList.toggle(t, !!r);
|
|
133
175
|
}
|
|
134
|
-
function
|
|
176
|
+
function jr(e) {
|
|
135
177
|
const t = {};
|
|
136
178
|
return e.childNodes.forEach(
|
|
137
179
|
/** @param {Element} node */
|
|
@@ -140,94 +182,114 @@ function kr(e) {
|
|
|
140
182
|
}
|
|
141
183
|
), t;
|
|
142
184
|
}
|
|
143
|
-
let
|
|
144
|
-
function
|
|
145
|
-
|
|
185
|
+
let he;
|
|
186
|
+
function le(e) {
|
|
187
|
+
he = e;
|
|
146
188
|
}
|
|
147
|
-
function
|
|
148
|
-
if (!
|
|
149
|
-
return
|
|
189
|
+
function kr() {
|
|
190
|
+
if (!he) throw new Error("Function called outside component initialization");
|
|
191
|
+
return he;
|
|
150
192
|
}
|
|
151
|
-
function
|
|
152
|
-
|
|
193
|
+
function Vr(e) {
|
|
194
|
+
kr().$$.on_mount.push(e);
|
|
153
195
|
}
|
|
154
|
-
const
|
|
155
|
-
let
|
|
156
|
-
const mt = [],
|
|
157
|
-
let
|
|
158
|
-
function
|
|
159
|
-
|
|
196
|
+
const Y = [], Se = [];
|
|
197
|
+
let J = [];
|
|
198
|
+
const mt = [], Wr = /* @__PURE__ */ Promise.resolve();
|
|
199
|
+
let Xe = !1;
|
|
200
|
+
function Xr() {
|
|
201
|
+
Xe || (Xe = !0, Wr.then(O));
|
|
160
202
|
}
|
|
161
|
-
function
|
|
162
|
-
|
|
203
|
+
function ze(e) {
|
|
204
|
+
J.push(e);
|
|
163
205
|
}
|
|
164
|
-
const
|
|
165
|
-
let
|
|
166
|
-
function
|
|
167
|
-
if (
|
|
206
|
+
const De = /* @__PURE__ */ new Set();
|
|
207
|
+
let Z = 0;
|
|
208
|
+
function O() {
|
|
209
|
+
if (Z !== 0)
|
|
168
210
|
return;
|
|
169
|
-
const e =
|
|
211
|
+
const e = he;
|
|
170
212
|
do {
|
|
171
213
|
try {
|
|
172
|
-
for (;
|
|
173
|
-
const t =
|
|
174
|
-
|
|
214
|
+
for (; Z < Y.length; ) {
|
|
215
|
+
const t = Y[Z];
|
|
216
|
+
Z++, le(t), zr(t.$$);
|
|
175
217
|
}
|
|
176
218
|
} catch (t) {
|
|
177
|
-
throw
|
|
219
|
+
throw Y.length = 0, Z = 0, t;
|
|
178
220
|
}
|
|
179
|
-
for (
|
|
180
|
-
for (let t = 0; t <
|
|
181
|
-
const r =
|
|
182
|
-
|
|
221
|
+
for (le(null), Y.length = 0, Z = 0; Se.length; ) Se.pop()();
|
|
222
|
+
for (let t = 0; t < J.length; t += 1) {
|
|
223
|
+
const r = J[t];
|
|
224
|
+
De.has(r) || (De.add(r), r());
|
|
183
225
|
}
|
|
184
|
-
|
|
185
|
-
} while (
|
|
226
|
+
J.length = 0;
|
|
227
|
+
} while (Y.length);
|
|
186
228
|
for (; mt.length; )
|
|
187
229
|
mt.pop()();
|
|
188
|
-
|
|
230
|
+
Xe = !1, De.clear(), le(e);
|
|
189
231
|
}
|
|
190
|
-
function
|
|
232
|
+
function zr(e) {
|
|
191
233
|
if (e.fragment !== null) {
|
|
192
|
-
e.update(),
|
|
234
|
+
e.update(), ie(e.before_update);
|
|
193
235
|
const t = e.dirty;
|
|
194
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
236
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
|
|
195
237
|
}
|
|
196
238
|
}
|
|
197
|
-
function
|
|
239
|
+
function Zr(e) {
|
|
198
240
|
const t = [], r = [];
|
|
199
|
-
|
|
241
|
+
J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
|
|
242
|
+
}
|
|
243
|
+
const _e = /* @__PURE__ */ new Set();
|
|
244
|
+
let W;
|
|
245
|
+
function Bo() {
|
|
246
|
+
W = {
|
|
247
|
+
r: 0,
|
|
248
|
+
c: [],
|
|
249
|
+
p: W
|
|
250
|
+
// parent group
|
|
251
|
+
};
|
|
200
252
|
}
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
253
|
+
function Oo() {
|
|
254
|
+
W.r || ie(W.c), W = W.p;
|
|
255
|
+
}
|
|
256
|
+
function Qr(e, t) {
|
|
257
|
+
e && e.i && (_e.delete(e), e.i(t));
|
|
258
|
+
}
|
|
259
|
+
function Co(e, t, r, i) {
|
|
260
|
+
if (e && e.o) {
|
|
261
|
+
if (_e.has(e)) return;
|
|
262
|
+
_e.add(e), W.c.push(() => {
|
|
263
|
+
_e.delete(e), i && (r && e.d(1), i());
|
|
264
|
+
}), e.o(t);
|
|
265
|
+
} else i && i();
|
|
204
266
|
}
|
|
205
267
|
function pt(e) {
|
|
206
268
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
207
269
|
}
|
|
208
|
-
function
|
|
270
|
+
function Yr(e, t, r) {
|
|
209
271
|
const { fragment: i, after_update: n } = e.$$;
|
|
210
|
-
i && i.m(t, r),
|
|
211
|
-
const o = e.$$.on_mount.map(
|
|
212
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
213
|
-
}), n.forEach(
|
|
272
|
+
i && i.m(t, r), ze(() => {
|
|
273
|
+
const o = e.$$.on_mount.map(Ut).filter(at);
|
|
274
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
|
|
275
|
+
}), n.forEach(ze);
|
|
214
276
|
}
|
|
215
|
-
function
|
|
277
|
+
function Jr(e, t) {
|
|
216
278
|
const r = e.$$;
|
|
217
|
-
r.fragment !== null && (
|
|
279
|
+
r.fragment !== null && (Zr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
218
280
|
}
|
|
219
|
-
function
|
|
220
|
-
e.$$.dirty[0] === -1 && (
|
|
281
|
+
function qr(e, t) {
|
|
282
|
+
e.$$.dirty[0] === -1 && (Y.push(e), Xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
221
283
|
}
|
|
222
|
-
function
|
|
223
|
-
const h =
|
|
224
|
-
|
|
225
|
-
const
|
|
284
|
+
function Kr(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
285
|
+
const h = he;
|
|
286
|
+
le(e);
|
|
287
|
+
const u = e.$$ = {
|
|
226
288
|
fragment: null,
|
|
227
289
|
ctx: [],
|
|
228
290
|
// state
|
|
229
291
|
props: o,
|
|
230
|
-
update:
|
|
292
|
+
update: B,
|
|
231
293
|
not_equal: n,
|
|
232
294
|
bound: ct(),
|
|
233
295
|
// lifecycle
|
|
@@ -243,23 +305,23 @@ function ti(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
243
305
|
skip_bound: !1,
|
|
244
306
|
root: t.target || h.$$.root
|
|
245
307
|
};
|
|
246
|
-
a && a(
|
|
247
|
-
let
|
|
248
|
-
if (
|
|
308
|
+
a && a(u.root);
|
|
309
|
+
let l = !1;
|
|
310
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
249
311
|
const y = p.length ? p[0] : f;
|
|
250
|
-
return
|
|
251
|
-
}) : [],
|
|
312
|
+
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && qr(e, c)), f;
|
|
313
|
+
}) : [], u.update(), l = !0, ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
252
314
|
if (t.hydrate) {
|
|
253
|
-
const c =
|
|
254
|
-
|
|
315
|
+
const c = Fr(t.target);
|
|
316
|
+
u.fragment && u.fragment.l(c), c.forEach(k);
|
|
255
317
|
} else
|
|
256
|
-
|
|
257
|
-
t.intro &&
|
|
318
|
+
u.fragment && u.fragment.c();
|
|
319
|
+
t.intro && Qr(e.$$.fragment), Yr(e, t.target, t.anchor), O();
|
|
258
320
|
}
|
|
259
|
-
|
|
321
|
+
le(h);
|
|
260
322
|
}
|
|
261
|
-
let
|
|
262
|
-
typeof HTMLElement == "function" && (
|
|
323
|
+
let jt;
|
|
324
|
+
typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
263
325
|
/** The Svelte component constructor */
|
|
264
326
|
$$ctor;
|
|
265
327
|
/** Slots */
|
|
@@ -307,8 +369,8 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
307
369
|
* @param {HTMLElement} target
|
|
308
370
|
* @param {HTMLElement} [anchor]
|
|
309
371
|
*/
|
|
310
|
-
m: function(h,
|
|
311
|
-
|
|
372
|
+
m: function(h, u) {
|
|
373
|
+
X(h, o, u);
|
|
312
374
|
},
|
|
313
375
|
d: function(h) {
|
|
314
376
|
h && k(o);
|
|
@@ -318,12 +380,12 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
318
380
|
};
|
|
319
381
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
320
382
|
return;
|
|
321
|
-
const t = {}, r =
|
|
383
|
+
const t = {}, r = jr(this);
|
|
322
384
|
for (const n of this.$$s)
|
|
323
385
|
n in r && (t[n] = [e(n)]);
|
|
324
386
|
for (const n of this.attributes) {
|
|
325
387
|
const o = this.$$g_p(n.name);
|
|
326
|
-
o in this.$$d || (this.$$d[o] =
|
|
388
|
+
o in this.$$d || (this.$$d[o] = Ee(o, n.value, this.$$p_d, "toProp"));
|
|
327
389
|
}
|
|
328
390
|
for (const n in this.$$p_d)
|
|
329
391
|
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
@@ -341,7 +403,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
341
403
|
this.$$r = !0;
|
|
342
404
|
for (const n in this.$$p_d)
|
|
343
405
|
if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
|
|
344
|
-
const o =
|
|
406
|
+
const o = Ee(
|
|
345
407
|
n,
|
|
346
408
|
this.$$d[n],
|
|
347
409
|
this.$$p_d,
|
|
@@ -363,7 +425,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
363
425
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
364
426
|
// and setting attributes through setAttribute etc, this is helpful
|
|
365
427
|
attributeChangedCallback(e, t, r) {
|
|
366
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
428
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ee(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
367
429
|
}
|
|
368
430
|
disconnectedCallback() {
|
|
369
431
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -376,7 +438,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
376
438
|
) || e;
|
|
377
439
|
}
|
|
378
440
|
});
|
|
379
|
-
function
|
|
441
|
+
function Ee(e, t, r, i) {
|
|
380
442
|
const n = r[e]?.type;
|
|
381
443
|
if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
|
|
382
444
|
return t;
|
|
@@ -405,8 +467,8 @@ function be(e, t, r, i) {
|
|
|
405
467
|
return t;
|
|
406
468
|
}
|
|
407
469
|
}
|
|
408
|
-
function
|
|
409
|
-
let a = class extends
|
|
470
|
+
function ei(e, t, r, i, n, o) {
|
|
471
|
+
let a = class extends jt {
|
|
410
472
|
constructor() {
|
|
411
473
|
super(e, r, n), this.$$p_d = t;
|
|
412
474
|
}
|
|
@@ -422,7 +484,7 @@ function ri(e, t, r, i, n, o) {
|
|
|
422
484
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
423
485
|
},
|
|
424
486
|
set(h) {
|
|
425
|
-
h =
|
|
487
|
+
h = Ee(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
|
|
426
488
|
}
|
|
427
489
|
});
|
|
428
490
|
}), i.forEach((s) => {
|
|
@@ -434,7 +496,7 @@ function ri(e, t, r, i, n, o) {
|
|
|
434
496
|
}), e.element = /** @type {any} */
|
|
435
497
|
a, a;
|
|
436
498
|
}
|
|
437
|
-
class
|
|
499
|
+
class ti {
|
|
438
500
|
/**
|
|
439
501
|
* ### PRIVATE API
|
|
440
502
|
*
|
|
@@ -453,7 +515,7 @@ class ii {
|
|
|
453
515
|
$$set = void 0;
|
|
454
516
|
/** @returns {void} */
|
|
455
517
|
$destroy() {
|
|
456
|
-
|
|
518
|
+
Jr(this, 1), this.$destroy = B;
|
|
457
519
|
}
|
|
458
520
|
/**
|
|
459
521
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -462,8 +524,8 @@ class ii {
|
|
|
462
524
|
* @returns {() => void}
|
|
463
525
|
*/
|
|
464
526
|
$on(t, r) {
|
|
465
|
-
if (!
|
|
466
|
-
return
|
|
527
|
+
if (!at(r))
|
|
528
|
+
return B;
|
|
467
529
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
468
530
|
return i.push(r), () => {
|
|
469
531
|
const n = i.indexOf(r);
|
|
@@ -475,22 +537,22 @@ class ii {
|
|
|
475
537
|
* @returns {void}
|
|
476
538
|
*/
|
|
477
539
|
$set(t) {
|
|
478
|
-
this.$$set && !
|
|
540
|
+
this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
479
541
|
}
|
|
480
542
|
}
|
|
481
|
-
const
|
|
482
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
483
|
-
var
|
|
484
|
-
return
|
|
543
|
+
const ri = "4";
|
|
544
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ri);
|
|
545
|
+
var Ze = function(e, t) {
|
|
546
|
+
return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
485
547
|
r.__proto__ = i;
|
|
486
548
|
} || function(r, i) {
|
|
487
549
|
for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
488
|
-
},
|
|
550
|
+
}, Ze(e, t);
|
|
489
551
|
};
|
|
490
552
|
function G(e, t) {
|
|
491
553
|
if (typeof t != "function" && t !== null)
|
|
492
554
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
493
|
-
|
|
555
|
+
Ze(e, t);
|
|
494
556
|
function r() {
|
|
495
557
|
this.constructor = e;
|
|
496
558
|
}
|
|
@@ -505,7 +567,7 @@ var E = function() {
|
|
|
505
567
|
return t;
|
|
506
568
|
}, E.apply(this, arguments);
|
|
507
569
|
};
|
|
508
|
-
function
|
|
570
|
+
function ii(e, t) {
|
|
509
571
|
var r = {};
|
|
510
572
|
for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
511
573
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -513,7 +575,7 @@ function oi(e, t) {
|
|
|
513
575
|
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
514
576
|
return r;
|
|
515
577
|
}
|
|
516
|
-
function
|
|
578
|
+
function Qe(e) {
|
|
517
579
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
518
580
|
if (r) return r.call(e);
|
|
519
581
|
if (e && typeof e.length == "number") return {
|
|
@@ -523,7 +585,7 @@ function ze(e) {
|
|
|
523
585
|
};
|
|
524
586
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
525
587
|
}
|
|
526
|
-
function
|
|
588
|
+
function Ye(e, t) {
|
|
527
589
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
528
590
|
if (!r) return e;
|
|
529
591
|
var i = r.call(e), n, o = [], a;
|
|
@@ -540,21 +602,21 @@ function Ze(e, t) {
|
|
|
540
602
|
}
|
|
541
603
|
return o;
|
|
542
604
|
}
|
|
543
|
-
function
|
|
605
|
+
function q(e, t, r) {
|
|
544
606
|
if (r || arguments.length === 2) for (var i = 0, n = t.length, o; i < n; i++)
|
|
545
607
|
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
546
608
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
547
609
|
}
|
|
548
|
-
function
|
|
610
|
+
function $(e) {
|
|
549
611
|
return typeof e == "function";
|
|
550
612
|
}
|
|
551
|
-
function
|
|
613
|
+
function kt(e) {
|
|
552
614
|
var t = function(i) {
|
|
553
615
|
Error.call(i), i.stack = new Error().stack;
|
|
554
616
|
}, r = e(t);
|
|
555
617
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
556
618
|
}
|
|
557
|
-
var
|
|
619
|
+
var Ue = kt(function(e) {
|
|
558
620
|
return function(r) {
|
|
559
621
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
560
622
|
` + r.map(function(i, n) {
|
|
@@ -563,13 +625,13 @@ var Re = jt(function(e) {
|
|
|
563
625
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
564
626
|
};
|
|
565
627
|
});
|
|
566
|
-
function
|
|
628
|
+
function Je(e, t) {
|
|
567
629
|
if (e) {
|
|
568
630
|
var r = e.indexOf(t);
|
|
569
631
|
0 <= r && e.splice(r, 1);
|
|
570
632
|
}
|
|
571
633
|
}
|
|
572
|
-
var
|
|
634
|
+
var Pe = function() {
|
|
573
635
|
function e(t) {
|
|
574
636
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
575
637
|
}
|
|
@@ -581,9 +643,9 @@ var Se = function() {
|
|
|
581
643
|
if (a)
|
|
582
644
|
if (this._parentage = null, Array.isArray(a))
|
|
583
645
|
try {
|
|
584
|
-
for (var s =
|
|
585
|
-
var
|
|
586
|
-
|
|
646
|
+
for (var s = Qe(a), h = s.next(); !h.done; h = s.next()) {
|
|
647
|
+
var u = h.value;
|
|
648
|
+
u.remove(this);
|
|
587
649
|
}
|
|
588
650
|
} catch (d) {
|
|
589
651
|
t = { error: d };
|
|
@@ -596,23 +658,23 @@ var Se = function() {
|
|
|
596
658
|
}
|
|
597
659
|
else
|
|
598
660
|
a.remove(this);
|
|
599
|
-
var
|
|
600
|
-
if (
|
|
661
|
+
var l = this.initialTeardown;
|
|
662
|
+
if ($(l))
|
|
601
663
|
try {
|
|
602
|
-
|
|
664
|
+
l();
|
|
603
665
|
} catch (d) {
|
|
604
|
-
o = d instanceof
|
|
666
|
+
o = d instanceof Ue ? d.errors : [d];
|
|
605
667
|
}
|
|
606
668
|
var c = this._finalizers;
|
|
607
669
|
if (c) {
|
|
608
670
|
this._finalizers = null;
|
|
609
671
|
try {
|
|
610
|
-
for (var f =
|
|
672
|
+
for (var f = Qe(c), p = f.next(); !p.done; p = f.next()) {
|
|
611
673
|
var y = p.value;
|
|
612
674
|
try {
|
|
613
675
|
dt(y);
|
|
614
676
|
} catch (d) {
|
|
615
|
-
o = o ?? [], d instanceof
|
|
677
|
+
o = o ?? [], d instanceof Ue ? o = q(q([], Ye(o)), Ye(d.errors)) : o.push(d);
|
|
616
678
|
}
|
|
617
679
|
}
|
|
618
680
|
} catch (d) {
|
|
@@ -626,7 +688,7 @@ var Se = function() {
|
|
|
626
688
|
}
|
|
627
689
|
}
|
|
628
690
|
if (o)
|
|
629
|
-
throw new
|
|
691
|
+
throw new Ue(o);
|
|
630
692
|
}
|
|
631
693
|
}, e.prototype.add = function(t) {
|
|
632
694
|
var r;
|
|
@@ -649,56 +711,52 @@ var Se = function() {
|
|
|
649
711
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
650
712
|
}, e.prototype._removeParent = function(t) {
|
|
651
713
|
var r = this._parentage;
|
|
652
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
714
|
+
r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
|
|
653
715
|
}, e.prototype.remove = function(t) {
|
|
654
716
|
var r = this._finalizers;
|
|
655
|
-
r &&
|
|
717
|
+
r && Je(r, t), t instanceof e && t._removeParent(this);
|
|
656
718
|
}, e.EMPTY = function() {
|
|
657
719
|
var t = new e();
|
|
658
720
|
return t.closed = !0, t;
|
|
659
721
|
}(), e;
|
|
660
|
-
}(),
|
|
661
|
-
function
|
|
662
|
-
return e instanceof
|
|
722
|
+
}(), Vt = Pe.EMPTY;
|
|
723
|
+
function Wt(e) {
|
|
724
|
+
return e instanceof Pe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
663
725
|
}
|
|
664
726
|
function dt(e) {
|
|
665
|
-
|
|
666
|
-
}
|
|
667
|
-
var
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
Promise: void 0,
|
|
671
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
672
|
-
useDeprecatedNextContext: !1
|
|
673
|
-
}, si = {
|
|
727
|
+
$(e) ? e() : e.unsubscribe();
|
|
728
|
+
}
|
|
729
|
+
var ni = {
|
|
730
|
+
Promise: void 0
|
|
731
|
+
}, oi = {
|
|
674
732
|
setTimeout: function(e, t) {
|
|
675
733
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
676
734
|
r[i - 2] = arguments[i];
|
|
677
|
-
return setTimeout.apply(void 0,
|
|
735
|
+
return setTimeout.apply(void 0, q([e, t], Ye(r)));
|
|
678
736
|
},
|
|
679
737
|
clearTimeout: function(e) {
|
|
680
738
|
return clearTimeout(e);
|
|
681
739
|
},
|
|
682
740
|
delegate: void 0
|
|
683
741
|
};
|
|
684
|
-
function
|
|
685
|
-
|
|
742
|
+
function si(e) {
|
|
743
|
+
oi.setTimeout(function() {
|
|
686
744
|
throw e;
|
|
687
745
|
});
|
|
688
746
|
}
|
|
689
747
|
function yt() {
|
|
690
748
|
}
|
|
691
|
-
function
|
|
749
|
+
function xe(e) {
|
|
692
750
|
e();
|
|
693
751
|
}
|
|
694
752
|
var Xt = function(e) {
|
|
695
753
|
G(t, e);
|
|
696
754
|
function t(r) {
|
|
697
755
|
var i = e.call(this) || this;
|
|
698
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
756
|
+
return i.isStopped = !1, r ? (i.destination = r, Wt(r) && r.add(i)) : i.destination = li, i;
|
|
699
757
|
}
|
|
700
758
|
return t.create = function(r, i, n) {
|
|
701
|
-
return new
|
|
759
|
+
return new qe(r, i, n);
|
|
702
760
|
}, t.prototype.next = function(r) {
|
|
703
761
|
this.isStopped || this._next(r);
|
|
704
762
|
}, t.prototype.error = function(r) {
|
|
@@ -722,11 +780,7 @@ var Xt = function(e) {
|
|
|
722
780
|
this.unsubscribe();
|
|
723
781
|
}
|
|
724
782
|
}, t;
|
|
725
|
-
}(
|
|
726
|
-
function Me(e, t) {
|
|
727
|
-
return li.call(e, t);
|
|
728
|
-
}
|
|
729
|
-
var ui = function() {
|
|
783
|
+
}(Pe), ai = function() {
|
|
730
784
|
function e(t) {
|
|
731
785
|
this.partialObserver = t;
|
|
732
786
|
}
|
|
@@ -736,7 +790,7 @@ var ui = function() {
|
|
|
736
790
|
try {
|
|
737
791
|
r.next(t);
|
|
738
792
|
} catch (i) {
|
|
739
|
-
|
|
793
|
+
be(i);
|
|
740
794
|
}
|
|
741
795
|
}, e.prototype.error = function(t) {
|
|
742
796
|
var r = this.partialObserver;
|
|
@@ -744,62 +798,50 @@ var ui = function() {
|
|
|
744
798
|
try {
|
|
745
799
|
r.error(t);
|
|
746
800
|
} catch (i) {
|
|
747
|
-
|
|
801
|
+
be(i);
|
|
748
802
|
}
|
|
749
803
|
else
|
|
750
|
-
|
|
804
|
+
be(t);
|
|
751
805
|
}, e.prototype.complete = function() {
|
|
752
806
|
var t = this.partialObserver;
|
|
753
807
|
if (t.complete)
|
|
754
808
|
try {
|
|
755
809
|
t.complete();
|
|
756
810
|
} catch (r) {
|
|
757
|
-
|
|
811
|
+
be(r);
|
|
758
812
|
}
|
|
759
813
|
}, e;
|
|
760
|
-
}(),
|
|
814
|
+
}(), qe = function(e) {
|
|
761
815
|
G(t, e);
|
|
762
816
|
function t(r, i, n) {
|
|
763
817
|
var o = e.call(this) || this, a;
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
};
|
|
770
|
-
else {
|
|
771
|
-
var s;
|
|
772
|
-
o && Wt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
773
|
-
return o.unsubscribe();
|
|
774
|
-
}, a = {
|
|
775
|
-
next: r.next && Me(r.next, s),
|
|
776
|
-
error: r.error && Me(r.error, s),
|
|
777
|
-
complete: r.complete && Me(r.complete, s)
|
|
778
|
-
}) : a = r;
|
|
779
|
-
}
|
|
780
|
-
return o.destination = new ui(a), o;
|
|
818
|
+
return $(r) || !r ? a = {
|
|
819
|
+
next: r ?? void 0,
|
|
820
|
+
error: i ?? void 0,
|
|
821
|
+
complete: n ?? void 0
|
|
822
|
+
} : a = r, o.destination = new ai(a), o;
|
|
781
823
|
}
|
|
782
824
|
return t;
|
|
783
825
|
}(Xt);
|
|
784
|
-
function
|
|
785
|
-
|
|
826
|
+
function be(e) {
|
|
827
|
+
si(e);
|
|
786
828
|
}
|
|
787
|
-
function
|
|
829
|
+
function ui(e) {
|
|
788
830
|
throw e;
|
|
789
831
|
}
|
|
790
|
-
var
|
|
832
|
+
var li = {
|
|
791
833
|
closed: !0,
|
|
792
834
|
next: yt,
|
|
793
|
-
error:
|
|
835
|
+
error: ui,
|
|
794
836
|
complete: yt
|
|
795
|
-
},
|
|
837
|
+
}, hi = function() {
|
|
796
838
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
797
839
|
}();
|
|
798
|
-
function
|
|
840
|
+
function ci(e) {
|
|
799
841
|
return e;
|
|
800
842
|
}
|
|
801
|
-
function
|
|
802
|
-
return e.length === 0 ?
|
|
843
|
+
function fi(e) {
|
|
844
|
+
return e.length === 0 ? ci : e.length === 1 ? e[0] : function(r) {
|
|
803
845
|
return e.reduce(function(i, n) {
|
|
804
846
|
return n(i);
|
|
805
847
|
}, r);
|
|
@@ -813,8 +855,8 @@ var gt = function() {
|
|
|
813
855
|
var r = new e();
|
|
814
856
|
return r.source = this, r.operator = t, r;
|
|
815
857
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
816
|
-
var n = this, o =
|
|
817
|
-
return
|
|
858
|
+
var n = this, o = pi(t) ? t : new qe(t, r, i);
|
|
859
|
+
return xe(function() {
|
|
818
860
|
var a = n, s = a.operator, h = a.source;
|
|
819
861
|
o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
|
|
820
862
|
}), o;
|
|
@@ -827,7 +869,7 @@ var gt = function() {
|
|
|
827
869
|
}, e.prototype.forEach = function(t, r) {
|
|
828
870
|
var i = this;
|
|
829
871
|
return r = bt(r), new r(function(n, o) {
|
|
830
|
-
var a = new
|
|
872
|
+
var a = new qe({
|
|
831
873
|
next: function(s) {
|
|
832
874
|
try {
|
|
833
875
|
t(s);
|
|
@@ -843,12 +885,12 @@ var gt = function() {
|
|
|
843
885
|
}, e.prototype._subscribe = function(t) {
|
|
844
886
|
var r;
|
|
845
887
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
846
|
-
}, e.prototype[
|
|
888
|
+
}, e.prototype[hi] = function() {
|
|
847
889
|
return this;
|
|
848
890
|
}, e.prototype.pipe = function() {
|
|
849
891
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
850
892
|
t[r] = arguments[r];
|
|
851
|
-
return
|
|
893
|
+
return fi(t)(this);
|
|
852
894
|
}, e.prototype.toPromise = function(t) {
|
|
853
895
|
var r = this;
|
|
854
896
|
return t = bt(t), new t(function(i, n) {
|
|
@@ -867,15 +909,15 @@ var gt = function() {
|
|
|
867
909
|
}();
|
|
868
910
|
function bt(e) {
|
|
869
911
|
var t;
|
|
870
|
-
return (t = e ??
|
|
912
|
+
return (t = e ?? ni.Promise) !== null && t !== void 0 ? t : Promise;
|
|
871
913
|
}
|
|
872
|
-
function
|
|
873
|
-
return e &&
|
|
914
|
+
function mi(e) {
|
|
915
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
874
916
|
}
|
|
875
|
-
function
|
|
876
|
-
return e && e instanceof Xt ||
|
|
917
|
+
function pi(e) {
|
|
918
|
+
return e && e instanceof Xt || mi(e) && Wt(e);
|
|
877
919
|
}
|
|
878
|
-
var
|
|
920
|
+
var di = kt(function(e) {
|
|
879
921
|
return function() {
|
|
880
922
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
881
923
|
};
|
|
@@ -890,20 +932,20 @@ var gi = jt(function(e) {
|
|
|
890
932
|
return i.operator = r, i;
|
|
891
933
|
}, t.prototype._throwIfClosed = function() {
|
|
892
934
|
if (this.closed)
|
|
893
|
-
throw new
|
|
935
|
+
throw new di();
|
|
894
936
|
}, t.prototype.next = function(r) {
|
|
895
937
|
var i = this;
|
|
896
|
-
|
|
938
|
+
xe(function() {
|
|
897
939
|
var n, o;
|
|
898
940
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
899
941
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
900
942
|
try {
|
|
901
|
-
for (var a =
|
|
943
|
+
for (var a = Qe(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
902
944
|
var h = s.value;
|
|
903
945
|
h.next(r);
|
|
904
946
|
}
|
|
905
|
-
} catch (
|
|
906
|
-
n = { error:
|
|
947
|
+
} catch (u) {
|
|
948
|
+
n = { error: u };
|
|
907
949
|
} finally {
|
|
908
950
|
try {
|
|
909
951
|
s && !s.done && (o = a.return) && o.call(a);
|
|
@@ -915,7 +957,7 @@ var gi = jt(function(e) {
|
|
|
915
957
|
});
|
|
916
958
|
}, t.prototype.error = function(r) {
|
|
917
959
|
var i = this;
|
|
918
|
-
|
|
960
|
+
xe(function() {
|
|
919
961
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
920
962
|
i.hasError = i.isStopped = !0, i.thrownError = r;
|
|
921
963
|
for (var n = i.observers; n.length; )
|
|
@@ -924,7 +966,7 @@ var gi = jt(function(e) {
|
|
|
924
966
|
});
|
|
925
967
|
}, t.prototype.complete = function() {
|
|
926
968
|
var r = this;
|
|
927
|
-
|
|
969
|
+
xe(function() {
|
|
928
970
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
929
971
|
r.isStopped = !0;
|
|
930
972
|
for (var i = r.observers; i.length; )
|
|
@@ -946,8 +988,8 @@ var gi = jt(function(e) {
|
|
|
946
988
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
947
989
|
}, t.prototype._innerSubscribe = function(r) {
|
|
948
990
|
var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
|
|
949
|
-
return o || a ?
|
|
950
|
-
i.currentObservers = null,
|
|
991
|
+
return o || a ? Vt : (this.currentObservers = null, s.push(r), new Pe(function() {
|
|
992
|
+
i.currentObservers = null, Je(s, r);
|
|
951
993
|
}));
|
|
952
994
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
953
995
|
var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
|
|
@@ -975,14 +1017,14 @@ var gi = jt(function(e) {
|
|
|
975
1017
|
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
|
|
976
1018
|
}, t.prototype._subscribe = function(r) {
|
|
977
1019
|
var i, n;
|
|
978
|
-
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n :
|
|
1020
|
+
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Vt;
|
|
979
1021
|
}, t;
|
|
980
1022
|
}(zt), Zt = {
|
|
981
1023
|
now: function() {
|
|
982
1024
|
return (Zt.delegate || Date).now();
|
|
983
1025
|
},
|
|
984
1026
|
delegate: void 0
|
|
985
|
-
},
|
|
1027
|
+
}, yi = function(e) {
|
|
986
1028
|
G(t, e);
|
|
987
1029
|
function t(r, i, n) {
|
|
988
1030
|
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Zt);
|
|
@@ -1000,122 +1042,122 @@ var gi = jt(function(e) {
|
|
|
1000
1042
|
}, t.prototype._trimBuffer = function() {
|
|
1001
1043
|
var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * i;
|
|
1002
1044
|
if (i < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
|
|
1003
|
-
for (var h = n.now(),
|
|
1004
|
-
|
|
1005
|
-
|
|
1045
|
+
for (var h = n.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
|
|
1046
|
+
u = l;
|
|
1047
|
+
u && o.splice(0, u + 1);
|
|
1006
1048
|
}
|
|
1007
1049
|
}, t;
|
|
1008
1050
|
}(zt);
|
|
1009
|
-
const _t = [], Et = {},
|
|
1051
|
+
const _t = [], Et = {}, gi = (e, t = 0) => {
|
|
1010
1052
|
if (_t.indexOf(e) == -1) {
|
|
1011
|
-
const r = new
|
|
1053
|
+
const r = new yi(t);
|
|
1012
1054
|
Et[e] = r, _t.push(e);
|
|
1013
1055
|
}
|
|
1014
1056
|
return Et[e];
|
|
1015
|
-
},
|
|
1016
|
-
function
|
|
1057
|
+
}, Q = [];
|
|
1058
|
+
function bi(e, t) {
|
|
1017
1059
|
return {
|
|
1018
|
-
subscribe:
|
|
1060
|
+
subscribe: He(e, t).subscribe
|
|
1019
1061
|
};
|
|
1020
1062
|
}
|
|
1021
|
-
function
|
|
1063
|
+
function He(e, t = B) {
|
|
1022
1064
|
let r;
|
|
1023
1065
|
const i = /* @__PURE__ */ new Set();
|
|
1024
1066
|
function n(s) {
|
|
1025
|
-
if (
|
|
1026
|
-
const h = !
|
|
1027
|
-
for (const
|
|
1028
|
-
|
|
1067
|
+
if ($t(e, s) && (e = s, r)) {
|
|
1068
|
+
const h = !Q.length;
|
|
1069
|
+
for (const u of i)
|
|
1070
|
+
u[1](), Q.push(u, e);
|
|
1029
1071
|
if (h) {
|
|
1030
|
-
for (let
|
|
1031
|
-
|
|
1032
|
-
|
|
1072
|
+
for (let u = 0; u < Q.length; u += 2)
|
|
1073
|
+
Q[u][0](Q[u + 1]);
|
|
1074
|
+
Q.length = 0;
|
|
1033
1075
|
}
|
|
1034
1076
|
}
|
|
1035
1077
|
}
|
|
1036
1078
|
function o(s) {
|
|
1037
1079
|
n(s(e));
|
|
1038
1080
|
}
|
|
1039
|
-
function a(s, h =
|
|
1040
|
-
const
|
|
1041
|
-
return i.add(
|
|
1042
|
-
i.delete(
|
|
1081
|
+
function a(s, h = B) {
|
|
1082
|
+
const u = [s, h];
|
|
1083
|
+
return i.add(u), i.size === 1 && (r = t(n, o) || B), s(e), () => {
|
|
1084
|
+
i.delete(u), i.size === 0 && r && (r(), r = null);
|
|
1043
1085
|
};
|
|
1044
1086
|
}
|
|
1045
1087
|
return { set: n, update: o, subscribe: a };
|
|
1046
1088
|
}
|
|
1047
|
-
function
|
|
1089
|
+
function ne(e, t, r) {
|
|
1048
1090
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
1049
1091
|
if (!n.every(Boolean))
|
|
1050
1092
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1051
1093
|
const o = t.length < 2;
|
|
1052
|
-
return
|
|
1094
|
+
return bi(r, (a, s) => {
|
|
1053
1095
|
let h = !1;
|
|
1054
|
-
const
|
|
1055
|
-
let
|
|
1096
|
+
const u = [];
|
|
1097
|
+
let l = 0, c = B;
|
|
1056
1098
|
const f = () => {
|
|
1057
|
-
if (
|
|
1099
|
+
if (l)
|
|
1058
1100
|
return;
|
|
1059
1101
|
c();
|
|
1060
|
-
const y = t(i ?
|
|
1061
|
-
o ? a(y) : c =
|
|
1102
|
+
const y = t(i ? u[0] : u, a, s);
|
|
1103
|
+
o ? a(y) : c = at(y) ? y : B;
|
|
1062
1104
|
}, p = n.map(
|
|
1063
1105
|
(y, d) => Gt(
|
|
1064
1106
|
y,
|
|
1065
|
-
(
|
|
1066
|
-
|
|
1107
|
+
(v) => {
|
|
1108
|
+
u[d] = v, l &= ~(1 << d), h && f();
|
|
1067
1109
|
},
|
|
1068
1110
|
() => {
|
|
1069
|
-
|
|
1111
|
+
l |= 1 << d;
|
|
1070
1112
|
}
|
|
1071
1113
|
)
|
|
1072
1114
|
);
|
|
1073
1115
|
return h = !0, f(), function() {
|
|
1074
|
-
|
|
1116
|
+
ie(p), c(), h = !1;
|
|
1075
1117
|
};
|
|
1076
1118
|
});
|
|
1077
1119
|
}
|
|
1078
|
-
function
|
|
1120
|
+
function vi(e) {
|
|
1079
1121
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1080
1122
|
}
|
|
1081
|
-
var
|
|
1082
|
-
return
|
|
1123
|
+
var _i = function(t) {
|
|
1124
|
+
return Ei(t) && !xi(t);
|
|
1083
1125
|
};
|
|
1084
|
-
function
|
|
1126
|
+
function Ei(e) {
|
|
1085
1127
|
return !!e && typeof e == "object";
|
|
1086
1128
|
}
|
|
1087
|
-
function
|
|
1129
|
+
function xi(e) {
|
|
1088
1130
|
var t = Object.prototype.toString.call(e);
|
|
1089
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1131
|
+
return t === "[object RegExp]" || t === "[object Date]" || Si(e);
|
|
1090
1132
|
}
|
|
1091
|
-
var
|
|
1092
|
-
function
|
|
1093
|
-
return e.$$typeof ===
|
|
1133
|
+
var Ti = typeof Symbol == "function" && Symbol.for, Li = Ti ? Symbol.for("react.element") : 60103;
|
|
1134
|
+
function Si(e) {
|
|
1135
|
+
return e.$$typeof === Li;
|
|
1094
1136
|
}
|
|
1095
|
-
function
|
|
1137
|
+
function wi(e) {
|
|
1096
1138
|
return Array.isArray(e) ? [] : {};
|
|
1097
1139
|
}
|
|
1098
|
-
function
|
|
1099
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1140
|
+
function ce(e, t) {
|
|
1141
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(wi(e), e, t) : e;
|
|
1100
1142
|
}
|
|
1101
|
-
function
|
|
1143
|
+
function Ai(e, t, r) {
|
|
1102
1144
|
return e.concat(t).map(function(i) {
|
|
1103
|
-
return
|
|
1145
|
+
return ce(i, r);
|
|
1104
1146
|
});
|
|
1105
1147
|
}
|
|
1106
|
-
function
|
|
1148
|
+
function Pi(e, t) {
|
|
1107
1149
|
if (!t.customMerge)
|
|
1108
|
-
return
|
|
1150
|
+
return K;
|
|
1109
1151
|
var r = t.customMerge(e);
|
|
1110
|
-
return typeof r == "function" ? r :
|
|
1152
|
+
return typeof r == "function" ? r : K;
|
|
1111
1153
|
}
|
|
1112
|
-
function
|
|
1154
|
+
function Hi(e) {
|
|
1113
1155
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1114
1156
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1115
1157
|
}) : [];
|
|
1116
1158
|
}
|
|
1117
1159
|
function xt(e) {
|
|
1118
|
-
return Object.keys(e).concat(
|
|
1160
|
+
return Object.keys(e).concat(Hi(e));
|
|
1119
1161
|
}
|
|
1120
1162
|
function Qt(e, t) {
|
|
1121
1163
|
try {
|
|
@@ -1124,97 +1166,95 @@ function Qt(e, t) {
|
|
|
1124
1166
|
return !1;
|
|
1125
1167
|
}
|
|
1126
1168
|
}
|
|
1127
|
-
function
|
|
1169
|
+
function Ii(e, t) {
|
|
1128
1170
|
return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1129
1171
|
}
|
|
1130
|
-
function
|
|
1172
|
+
function Bi(e, t, r) {
|
|
1131
1173
|
var i = {};
|
|
1132
1174
|
return r.isMergeableObject(e) && xt(e).forEach(function(n) {
|
|
1133
|
-
i[n] =
|
|
1175
|
+
i[n] = ce(e[n], r);
|
|
1134
1176
|
}), xt(t).forEach(function(n) {
|
|
1135
|
-
|
|
1177
|
+
Ii(e, n) || (Qt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Pi(n, r)(e[n], t[n], r) : i[n] = ce(t[n], r));
|
|
1136
1178
|
}), i;
|
|
1137
1179
|
}
|
|
1138
|
-
function
|
|
1139
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1180
|
+
function K(e, t, r) {
|
|
1181
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Ai, r.isMergeableObject = r.isMergeableObject || _i, r.cloneUnlessOtherwiseSpecified = ce;
|
|
1140
1182
|
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
1141
|
-
return o ? i ? r.arrayMerge(e, t, r) :
|
|
1183
|
+
return o ? i ? r.arrayMerge(e, t, r) : Bi(e, t, r) : ce(t, r);
|
|
1142
1184
|
}
|
|
1143
|
-
|
|
1185
|
+
K.all = function(t, r) {
|
|
1144
1186
|
if (!Array.isArray(t))
|
|
1145
1187
|
throw new Error("first argument should be an array");
|
|
1146
1188
|
return t.reduce(function(i, n) {
|
|
1147
|
-
return
|
|
1189
|
+
return K(i, n, r);
|
|
1148
1190
|
}, {});
|
|
1149
1191
|
};
|
|
1150
|
-
var
|
|
1151
|
-
const
|
|
1152
|
-
function
|
|
1153
|
-
var r = t && t.cache ? t.cache :
|
|
1192
|
+
var Oi = K, Ci = Oi;
|
|
1193
|
+
const Ni = /* @__PURE__ */ vi(Ci);
|
|
1194
|
+
function $e(e, t) {
|
|
1195
|
+
var r = t && t.cache ? t.cache : Fi, i = t && t.serializer ? t.serializer : $i, n = t && t.strategy ? t.strategy : Di;
|
|
1154
1196
|
return n(e, {
|
|
1155
1197
|
cache: r,
|
|
1156
1198
|
serializer: i
|
|
1157
1199
|
});
|
|
1158
1200
|
}
|
|
1159
|
-
function
|
|
1201
|
+
function Ri(e) {
|
|
1160
1202
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1161
1203
|
}
|
|
1162
|
-
function
|
|
1163
|
-
var n =
|
|
1204
|
+
function Mi(e, t, r, i) {
|
|
1205
|
+
var n = Ri(i) ? i : r(i), o = t.get(n);
|
|
1164
1206
|
return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
|
|
1165
1207
|
}
|
|
1166
|
-
function
|
|
1208
|
+
function Yt(e, t, r) {
|
|
1167
1209
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
|
|
1168
1210
|
return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
|
|
1169
1211
|
}
|
|
1170
|
-
function
|
|
1212
|
+
function Jt(e, t, r, i, n) {
|
|
1171
1213
|
return r.bind(t, e, i, n);
|
|
1172
1214
|
}
|
|
1173
|
-
function
|
|
1174
|
-
var r = e.length === 1 ?
|
|
1175
|
-
return
|
|
1215
|
+
function Di(e, t) {
|
|
1216
|
+
var r = e.length === 1 ? Mi : Yt;
|
|
1217
|
+
return Jt(e, this, r, t.cache.create(), t.serializer);
|
|
1176
1218
|
}
|
|
1177
1219
|
function Ui(e, t) {
|
|
1178
|
-
return
|
|
1220
|
+
return Jt(e, this, Yt, t.cache.create(), t.serializer);
|
|
1179
1221
|
}
|
|
1180
|
-
function
|
|
1181
|
-
return st(e, this, Yt, t.cache.create(), t.serializer);
|
|
1182
|
-
}
|
|
1183
|
-
var Fi = function() {
|
|
1222
|
+
var $i = function() {
|
|
1184
1223
|
return JSON.stringify(arguments);
|
|
1185
|
-
}
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1224
|
+
}, Gi = (
|
|
1225
|
+
/** @class */
|
|
1226
|
+
function() {
|
|
1227
|
+
function e() {
|
|
1228
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1229
|
+
}
|
|
1230
|
+
return e.prototype.get = function(t) {
|
|
1231
|
+
return this.cache[t];
|
|
1232
|
+
}, e.prototype.set = function(t, r) {
|
|
1233
|
+
this.cache[t] = r;
|
|
1234
|
+
}, e;
|
|
1235
|
+
}()
|
|
1236
|
+
), Fi = {
|
|
1196
1237
|
create: function() {
|
|
1197
|
-
return new
|
|
1238
|
+
return new Gi();
|
|
1198
1239
|
}
|
|
1199
|
-
},
|
|
1200
|
-
variadic: Ui
|
|
1201
|
-
|
|
1202
|
-
}, g;
|
|
1240
|
+
}, Ge = {
|
|
1241
|
+
variadic: Ui
|
|
1242
|
+
}, b;
|
|
1203
1243
|
(function(e) {
|
|
1204
1244
|
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";
|
|
1205
|
-
})(
|
|
1245
|
+
})(b || (b = {}));
|
|
1206
1246
|
var S;
|
|
1207
1247
|
(function(e) {
|
|
1208
1248
|
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";
|
|
1209
1249
|
})(S || (S = {}));
|
|
1210
|
-
var
|
|
1250
|
+
var ee;
|
|
1211
1251
|
(function(e) {
|
|
1212
1252
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1213
|
-
})(
|
|
1253
|
+
})(ee || (ee = {}));
|
|
1214
1254
|
function Tt(e) {
|
|
1215
1255
|
return e.type === S.literal;
|
|
1216
1256
|
}
|
|
1217
|
-
function
|
|
1257
|
+
function ji(e) {
|
|
1218
1258
|
return e.type === S.argument;
|
|
1219
1259
|
}
|
|
1220
1260
|
function qt(e) {
|
|
@@ -1232,22 +1272,22 @@ function tr(e) {
|
|
|
1232
1272
|
function rr(e) {
|
|
1233
1273
|
return e.type === S.plural;
|
|
1234
1274
|
}
|
|
1235
|
-
function
|
|
1275
|
+
function ki(e) {
|
|
1236
1276
|
return e.type === S.pound;
|
|
1237
1277
|
}
|
|
1238
1278
|
function ir(e) {
|
|
1239
1279
|
return e.type === S.tag;
|
|
1240
1280
|
}
|
|
1241
1281
|
function nr(e) {
|
|
1242
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1282
|
+
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
1243
1283
|
}
|
|
1244
|
-
function
|
|
1245
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1284
|
+
function Ke(e) {
|
|
1285
|
+
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
1246
1286
|
}
|
|
1247
|
-
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
1248
|
-
function
|
|
1287
|
+
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vi = /(?:[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;
|
|
1288
|
+
function Wi(e) {
|
|
1249
1289
|
var t = {};
|
|
1250
|
-
return e.replace(
|
|
1290
|
+
return e.replace(Vi, function(r) {
|
|
1251
1291
|
var i = r.length;
|
|
1252
1292
|
switch (r[0]) {
|
|
1253
1293
|
case "G":
|
|
@@ -1336,18 +1376,18 @@ function Xi(e) {
|
|
|
1336
1376
|
return "";
|
|
1337
1377
|
}), t;
|
|
1338
1378
|
}
|
|
1339
|
-
var
|
|
1340
|
-
function
|
|
1379
|
+
var Xi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1380
|
+
function zi(e) {
|
|
1341
1381
|
if (e.length === 0)
|
|
1342
1382
|
throw new Error("Number skeleton cannot be empty");
|
|
1343
|
-
for (var t = e.split(
|
|
1383
|
+
for (var t = e.split(Xi).filter(function(f) {
|
|
1344
1384
|
return f.length > 0;
|
|
1345
1385
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
1346
1386
|
var o = n[i], a = o.split("/");
|
|
1347
1387
|
if (a.length === 0)
|
|
1348
1388
|
throw new Error("Invalid number skeleton");
|
|
1349
|
-
for (var s = a[0], h = a.slice(1),
|
|
1350
|
-
var c = u
|
|
1389
|
+
for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1390
|
+
var c = l[u];
|
|
1351
1391
|
if (c.length === 0)
|
|
1352
1392
|
throw new Error("Invalid number skeleton");
|
|
1353
1393
|
}
|
|
@@ -1355,17 +1395,17 @@ function Zi(e) {
|
|
|
1355
1395
|
}
|
|
1356
1396
|
return r;
|
|
1357
1397
|
}
|
|
1358
|
-
function
|
|
1398
|
+
function Zi(e) {
|
|
1359
1399
|
return e.replace(/^(.*?)-/, "");
|
|
1360
1400
|
}
|
|
1361
|
-
var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1401
|
+
var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Qi = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
|
|
1362
1402
|
function St(e) {
|
|
1363
1403
|
var t = {};
|
|
1364
1404
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, i, n) {
|
|
1365
1405
|
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)), "";
|
|
1366
1406
|
}), t;
|
|
1367
1407
|
}
|
|
1368
|
-
function
|
|
1408
|
+
function ur(e) {
|
|
1369
1409
|
switch (e) {
|
|
1370
1410
|
case "sign-auto":
|
|
1371
1411
|
return {
|
|
@@ -1405,7 +1445,7 @@ function lr(e) {
|
|
|
1405
1445
|
};
|
|
1406
1446
|
}
|
|
1407
1447
|
}
|
|
1408
|
-
function
|
|
1448
|
+
function Yi(e) {
|
|
1409
1449
|
var t;
|
|
1410
1450
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1411
1451
|
notation: "engineering"
|
|
@@ -1420,10 +1460,10 @@ function Ji(e) {
|
|
|
1420
1460
|
return t;
|
|
1421
1461
|
}
|
|
1422
1462
|
function wt(e) {
|
|
1423
|
-
var t = {}, r =
|
|
1463
|
+
var t = {}, r = ur(e);
|
|
1424
1464
|
return r || t;
|
|
1425
1465
|
}
|
|
1426
|
-
function
|
|
1466
|
+
function Ji(e) {
|
|
1427
1467
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
1428
1468
|
var n = i[r];
|
|
1429
1469
|
switch (n.stem) {
|
|
@@ -1447,7 +1487,7 @@ function qi(e) {
|
|
|
1447
1487
|
continue;
|
|
1448
1488
|
case "measure-unit":
|
|
1449
1489
|
case "unit":
|
|
1450
|
-
t.style = "unit", t.unit =
|
|
1490
|
+
t.style = "unit", t.unit = Zi(n.options[0]);
|
|
1451
1491
|
continue;
|
|
1452
1492
|
case "compact-short":
|
|
1453
1493
|
case "K":
|
|
@@ -1458,13 +1498,13 @@ function qi(e) {
|
|
|
1458
1498
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1459
1499
|
continue;
|
|
1460
1500
|
case "scientific":
|
|
1461
|
-
t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(h,
|
|
1462
|
-
return E(E({}, h), wt(
|
|
1501
|
+
t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
|
|
1502
|
+
return E(E({}, h), wt(u));
|
|
1463
1503
|
}, {}));
|
|
1464
1504
|
continue;
|
|
1465
1505
|
case "engineering":
|
|
1466
|
-
t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(h,
|
|
1467
|
-
return E(E({}, h), wt(
|
|
1506
|
+
t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
|
|
1507
|
+
return E(E({}, h), wt(u));
|
|
1468
1508
|
}, {}));
|
|
1469
1509
|
continue;
|
|
1470
1510
|
case "notation-simple":
|
|
@@ -1509,9 +1549,9 @@ function qi(e) {
|
|
|
1509
1549
|
case "integer-width":
|
|
1510
1550
|
if (n.options.length > 1)
|
|
1511
1551
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1512
|
-
n.options[0].replace(
|
|
1513
|
-
if (
|
|
1514
|
-
t.minimumIntegerDigits =
|
|
1552
|
+
n.options[0].replace(Qi, function(h, u, l, c, f, p) {
|
|
1553
|
+
if (u)
|
|
1554
|
+
t.minimumIntegerDigits = l.length;
|
|
1515
1555
|
else {
|
|
1516
1556
|
if (c && f)
|
|
1517
1557
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1529,8 +1569,8 @@ function qi(e) {
|
|
|
1529
1569
|
if (Lt.test(n.stem)) {
|
|
1530
1570
|
if (n.options.length > 1)
|
|
1531
1571
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1532
|
-
n.stem.replace(Lt, function(h,
|
|
1533
|
-
return
|
|
1572
|
+
n.stem.replace(Lt, function(h, u, l, c, f, p) {
|
|
1573
|
+
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), "";
|
|
1534
1574
|
});
|
|
1535
1575
|
var o = n.options[0];
|
|
1536
1576
|
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), St(o)));
|
|
@@ -1540,14 +1580,14 @@ function qi(e) {
|
|
|
1540
1580
|
t = E(E({}, t), St(n.stem));
|
|
1541
1581
|
continue;
|
|
1542
1582
|
}
|
|
1543
|
-
var a =
|
|
1583
|
+
var a = ur(n.stem);
|
|
1544
1584
|
a && (t = E(E({}, t), a));
|
|
1545
|
-
var s =
|
|
1585
|
+
var s = Yi(n.stem);
|
|
1546
1586
|
s && (t = E(E({}, t), s));
|
|
1547
1587
|
}
|
|
1548
1588
|
return t;
|
|
1549
1589
|
}
|
|
1550
|
-
var
|
|
1590
|
+
var ve = {
|
|
1551
1591
|
"001": [
|
|
1552
1592
|
"H",
|
|
1553
1593
|
"h"
|
|
@@ -2962,22 +3002,22 @@ var ge = {
|
|
|
2962
3002
|
"h"
|
|
2963
3003
|
]
|
|
2964
3004
|
};
|
|
2965
|
-
function
|
|
3005
|
+
function qi(e, t) {
|
|
2966
3006
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
2967
3007
|
var n = e.charAt(i);
|
|
2968
3008
|
if (n === "j") {
|
|
2969
3009
|
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2970
3010
|
o++, i++;
|
|
2971
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a",
|
|
2972
|
-
for ((
|
|
3011
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Ki(t);
|
|
3012
|
+
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2973
3013
|
r += h;
|
|
2974
3014
|
for (; a-- > 0; )
|
|
2975
|
-
r =
|
|
3015
|
+
r = u + r;
|
|
2976
3016
|
} else n === "J" ? r += "H" : r += n;
|
|
2977
3017
|
}
|
|
2978
3018
|
return r;
|
|
2979
3019
|
}
|
|
2980
|
-
function
|
|
3020
|
+
function Ki(e) {
|
|
2981
3021
|
var t = e.hourCycle;
|
|
2982
3022
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2983
3023
|
e.hourCycles && // @ts-ignore
|
|
@@ -2996,23 +3036,23 @@ function en(e) {
|
|
|
2996
3036
|
}
|
|
2997
3037
|
var r = e.language, i;
|
|
2998
3038
|
r !== "root" && (i = e.maximize().region);
|
|
2999
|
-
var n =
|
|
3039
|
+
var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
3000
3040
|
return n[0];
|
|
3001
3041
|
}
|
|
3002
|
-
var
|
|
3003
|
-
function
|
|
3042
|
+
var Fe, en = new RegExp("^".concat(or.source, "*")), tn = new RegExp("".concat(or.source, "*$"));
|
|
3043
|
+
function _(e, t) {
|
|
3004
3044
|
return { start: e, end: t };
|
|
3005
3045
|
}
|
|
3006
|
-
var
|
|
3046
|
+
var rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), nn = !!String.fromCodePoint, on = !!Object.fromEntries, sn = !!String.prototype.codePointAt, an = !!String.prototype.trimStart, un = !!String.prototype.trimEnd, ln = !!Number.isSafeInteger, hn = ln ? Number.isSafeInteger : function(e) {
|
|
3007
3047
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3008
|
-
},
|
|
3048
|
+
}, et = !0;
|
|
3009
3049
|
try {
|
|
3010
|
-
var
|
|
3011
|
-
|
|
3050
|
+
var cn = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3051
|
+
et = ((Fe = cn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
|
|
3012
3052
|
} catch {
|
|
3013
|
-
|
|
3053
|
+
et = !1;
|
|
3014
3054
|
}
|
|
3015
|
-
var At =
|
|
3055
|
+
var At = rn ? (
|
|
3016
3056
|
// Native
|
|
3017
3057
|
function(t, r, i) {
|
|
3018
3058
|
return t.startsWith(r, i);
|
|
@@ -3022,7 +3062,7 @@ var At = nn ? (
|
|
|
3022
3062
|
function(t, r, i) {
|
|
3023
3063
|
return t.slice(i, i + r.length) === r;
|
|
3024
3064
|
}
|
|
3025
|
-
),
|
|
3065
|
+
), tt = nn ? String.fromCodePoint : (
|
|
3026
3066
|
// IE11
|
|
3027
3067
|
function() {
|
|
3028
3068
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3036,7 +3076,7 @@ var At = nn ? (
|
|
|
3036
3076
|
}
|
|
3037
3077
|
), Pt = (
|
|
3038
3078
|
// native
|
|
3039
|
-
|
|
3079
|
+
on ? Object.fromEntries : (
|
|
3040
3080
|
// Ponyfill
|
|
3041
3081
|
function(t) {
|
|
3042
3082
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
@@ -3046,7 +3086,7 @@ var At = nn ? (
|
|
|
3046
3086
|
return r;
|
|
3047
3087
|
}
|
|
3048
3088
|
)
|
|
3049
|
-
),
|
|
3089
|
+
), lr = sn ? (
|
|
3050
3090
|
// Native
|
|
3051
3091
|
function(t, r) {
|
|
3052
3092
|
return t.codePointAt(r);
|
|
@@ -3060,7 +3100,7 @@ var At = nn ? (
|
|
|
3060
3100
|
return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
3061
3101
|
}
|
|
3062
3102
|
}
|
|
3063
|
-
),
|
|
3103
|
+
), fn = an ? (
|
|
3064
3104
|
// Native
|
|
3065
3105
|
function(t) {
|
|
3066
3106
|
return t.trimStart();
|
|
@@ -3068,9 +3108,9 @@ var At = nn ? (
|
|
|
3068
3108
|
) : (
|
|
3069
3109
|
// Ponyfill
|
|
3070
3110
|
function(t) {
|
|
3071
|
-
return t.replace(
|
|
3111
|
+
return t.replace(en, "");
|
|
3072
3112
|
}
|
|
3073
|
-
),
|
|
3113
|
+
), mn = un ? (
|
|
3074
3114
|
// Native
|
|
3075
3115
|
function(t) {
|
|
3076
3116
|
return t.trimEnd();
|
|
@@ -3078,32 +3118,32 @@ var At = nn ? (
|
|
|
3078
3118
|
) : (
|
|
3079
3119
|
// Ponyfill
|
|
3080
3120
|
function(t) {
|
|
3081
|
-
return t.replace(
|
|
3121
|
+
return t.replace(tn, "");
|
|
3082
3122
|
}
|
|
3083
3123
|
);
|
|
3084
3124
|
function hr(e, t) {
|
|
3085
3125
|
return new RegExp(e, t);
|
|
3086
3126
|
}
|
|
3087
|
-
var
|
|
3088
|
-
if (
|
|
3127
|
+
var rt;
|
|
3128
|
+
if (et) {
|
|
3089
3129
|
var Ht = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3090
|
-
|
|
3130
|
+
rt = function(t, r) {
|
|
3091
3131
|
var i;
|
|
3092
3132
|
Ht.lastIndex = r;
|
|
3093
3133
|
var n = Ht.exec(t);
|
|
3094
3134
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
3095
3135
|
};
|
|
3096
3136
|
} else
|
|
3097
|
-
|
|
3137
|
+
rt = function(t, r) {
|
|
3098
3138
|
for (var i = []; ; ) {
|
|
3099
|
-
var n =
|
|
3100
|
-
if (n === void 0 || cr(n) ||
|
|
3139
|
+
var n = lr(t, r);
|
|
3140
|
+
if (n === void 0 || cr(n) || gn(n))
|
|
3101
3141
|
break;
|
|
3102
3142
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
3103
3143
|
}
|
|
3104
|
-
return
|
|
3144
|
+
return tt.apply(void 0, i);
|
|
3105
3145
|
};
|
|
3106
|
-
var
|
|
3146
|
+
var pn = (
|
|
3107
3147
|
/** @class */
|
|
3108
3148
|
function() {
|
|
3109
3149
|
function e(t, r) {
|
|
@@ -3128,13 +3168,13 @@ var dn = (
|
|
|
3128
3168
|
var s = this.clonePosition();
|
|
3129
3169
|
this.bump(), n.push({
|
|
3130
3170
|
type: S.pound,
|
|
3131
|
-
location:
|
|
3171
|
+
location: _(s, this.clonePosition())
|
|
3132
3172
|
});
|
|
3133
3173
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3134
3174
|
if (i)
|
|
3135
3175
|
break;
|
|
3136
|
-
return this.error(
|
|
3137
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3176
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3177
|
+
} else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
|
|
3138
3178
|
var a = this.parseTag(t, r);
|
|
3139
3179
|
if (a.err)
|
|
3140
3180
|
return a;
|
|
@@ -3157,7 +3197,7 @@ var dn = (
|
|
|
3157
3197
|
val: {
|
|
3158
3198
|
type: S.literal,
|
|
3159
3199
|
value: "<".concat(n, "/>"),
|
|
3160
|
-
location:
|
|
3200
|
+
location: _(i, this.clonePosition())
|
|
3161
3201
|
},
|
|
3162
3202
|
err: null
|
|
3163
3203
|
};
|
|
@@ -3167,25 +3207,25 @@ var dn = (
|
|
|
3167
3207
|
return o;
|
|
3168
3208
|
var a = o.val, s = this.clonePosition();
|
|
3169
3209
|
if (this.bumpIf("</")) {
|
|
3170
|
-
if (this.isEOF() || !
|
|
3171
|
-
return this.error(
|
|
3172
|
-
var h = this.clonePosition(),
|
|
3173
|
-
return n !==
|
|
3210
|
+
if (this.isEOF() || !it(this.char()))
|
|
3211
|
+
return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
|
|
3212
|
+
var h = this.clonePosition(), u = this.parseTagName();
|
|
3213
|
+
return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3174
3214
|
val: {
|
|
3175
3215
|
type: S.tag,
|
|
3176
3216
|
value: n,
|
|
3177
3217
|
children: a,
|
|
3178
|
-
location:
|
|
3218
|
+
location: _(i, this.clonePosition())
|
|
3179
3219
|
},
|
|
3180
3220
|
err: null
|
|
3181
|
-
} : this.error(
|
|
3221
|
+
} : this.error(b.INVALID_TAG, _(s, this.clonePosition())));
|
|
3182
3222
|
} else
|
|
3183
|
-
return this.error(
|
|
3223
|
+
return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
|
|
3184
3224
|
} else
|
|
3185
|
-
return this.error(
|
|
3225
|
+
return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
|
|
3186
3226
|
}, e.prototype.parseTagName = function() {
|
|
3187
3227
|
var t = this.offset();
|
|
3188
|
-
for (this.bump(); !this.isEOF() &&
|
|
3228
|
+
for (this.bump(); !this.isEOF() && yn(this.char()); )
|
|
3189
3229
|
this.bump();
|
|
3190
3230
|
return this.message.slice(t, this.offset());
|
|
3191
3231
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3207,14 +3247,14 @@ var dn = (
|
|
|
3207
3247
|
}
|
|
3208
3248
|
break;
|
|
3209
3249
|
}
|
|
3210
|
-
var h =
|
|
3250
|
+
var h = _(i, this.clonePosition());
|
|
3211
3251
|
return {
|
|
3212
3252
|
val: { type: S.literal, value: n, location: h },
|
|
3213
3253
|
err: null
|
|
3214
3254
|
};
|
|
3215
3255
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3216
3256
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3217
|
-
!
|
|
3257
|
+
!dn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3218
3258
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3219
3259
|
if (this.isEOF() || this.char() !== 39)
|
|
3220
3260
|
return null;
|
|
@@ -3248,23 +3288,23 @@ var dn = (
|
|
|
3248
3288
|
r.push(i);
|
|
3249
3289
|
this.bump();
|
|
3250
3290
|
}
|
|
3251
|
-
return
|
|
3291
|
+
return tt.apply(void 0, r);
|
|
3252
3292
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3253
3293
|
if (this.isEOF())
|
|
3254
3294
|
return null;
|
|
3255
3295
|
var i = this.char();
|
|
3256
|
-
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(),
|
|
3296
|
+
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), tt(i));
|
|
3257
3297
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3258
3298
|
var i = this.clonePosition();
|
|
3259
3299
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3260
|
-
return this.error(
|
|
3300
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
|
|
3261
3301
|
if (this.char() === 125)
|
|
3262
|
-
return this.bump(), this.error(
|
|
3302
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, _(i, this.clonePosition()));
|
|
3263
3303
|
var n = this.parseIdentifierIfPossible().value;
|
|
3264
3304
|
if (!n)
|
|
3265
|
-
return this.error(
|
|
3305
|
+
return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
|
|
3266
3306
|
if (this.bumpSpace(), this.isEOF())
|
|
3267
|
-
return this.error(
|
|
3307
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
|
|
3268
3308
|
switch (this.char()) {
|
|
3269
3309
|
case 125:
|
|
3270
3310
|
return this.bump(), {
|
|
@@ -3272,66 +3312,66 @@ var dn = (
|
|
|
3272
3312
|
type: S.argument,
|
|
3273
3313
|
// value does not include the opening and closing braces.
|
|
3274
3314
|
value: n,
|
|
3275
|
-
location:
|
|
3315
|
+
location: _(i, this.clonePosition())
|
|
3276
3316
|
},
|
|
3277
3317
|
err: null
|
|
3278
3318
|
};
|
|
3279
3319
|
case 44:
|
|
3280
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3320
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
|
|
3281
3321
|
default:
|
|
3282
|
-
return this.error(
|
|
3322
|
+
return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
|
|
3283
3323
|
}
|
|
3284
3324
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3285
|
-
var t = this.clonePosition(), r = this.offset(), i =
|
|
3325
|
+
var t = this.clonePosition(), r = this.offset(), i = rt(this.message, r), n = r + i.length;
|
|
3286
3326
|
this.bumpTo(n);
|
|
3287
|
-
var o = this.clonePosition(), a =
|
|
3327
|
+
var o = this.clonePosition(), a = _(t, o);
|
|
3288
3328
|
return { value: i, location: a };
|
|
3289
3329
|
}, e.prototype.parseArgumentOptions = function(t, r, i, n) {
|
|
3290
3330
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3291
3331
|
switch (s) {
|
|
3292
3332
|
case "":
|
|
3293
|
-
return this.error(
|
|
3333
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, _(a, h));
|
|
3294
3334
|
case "number":
|
|
3295
3335
|
case "date":
|
|
3296
3336
|
case "time": {
|
|
3297
3337
|
this.bumpSpace();
|
|
3298
|
-
var
|
|
3338
|
+
var u = null;
|
|
3299
3339
|
if (this.bumpIf(",")) {
|
|
3300
3340
|
this.bumpSpace();
|
|
3301
|
-
var
|
|
3341
|
+
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3302
3342
|
if (c.err)
|
|
3303
3343
|
return c;
|
|
3304
|
-
var f =
|
|
3344
|
+
var f = mn(c.val);
|
|
3305
3345
|
if (f.length === 0)
|
|
3306
|
-
return this.error(
|
|
3307
|
-
var p =
|
|
3308
|
-
|
|
3346
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3347
|
+
var p = _(l, this.clonePosition());
|
|
3348
|
+
u = { style: f, styleLocation: p };
|
|
3309
3349
|
}
|
|
3310
3350
|
var y = this.tryParseArgumentClose(n);
|
|
3311
3351
|
if (y.err)
|
|
3312
3352
|
return y;
|
|
3313
|
-
var d =
|
|
3314
|
-
if (
|
|
3315
|
-
var
|
|
3353
|
+
var d = _(n, this.clonePosition());
|
|
3354
|
+
if (u && At(u?.style, "::", 0)) {
|
|
3355
|
+
var v = fn(u.style.slice(2));
|
|
3316
3356
|
if (s === "number") {
|
|
3317
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3357
|
+
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3318
3358
|
return c.err ? c : {
|
|
3319
3359
|
val: { type: S.number, value: i, location: d, style: c.val },
|
|
3320
3360
|
err: null
|
|
3321
3361
|
};
|
|
3322
3362
|
} else {
|
|
3323
|
-
if (
|
|
3324
|
-
return this.error(
|
|
3325
|
-
var
|
|
3326
|
-
this.locale && (
|
|
3363
|
+
if (v.length === 0)
|
|
3364
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3365
|
+
var H = v;
|
|
3366
|
+
this.locale && (H = qi(v, this.locale));
|
|
3327
3367
|
var f = {
|
|
3328
|
-
type:
|
|
3329
|
-
pattern:
|
|
3330
|
-
location:
|
|
3331
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3332
|
-
},
|
|
3368
|
+
type: ee.dateTime,
|
|
3369
|
+
pattern: H,
|
|
3370
|
+
location: u.styleLocation,
|
|
3371
|
+
parsedOptions: this.shouldParseSkeletons ? Wi(H) : {}
|
|
3372
|
+
}, g = s === "date" ? S.date : S.time;
|
|
3333
3373
|
return {
|
|
3334
|
-
val: { type:
|
|
3374
|
+
val: { type: g, value: i, location: d, style: f },
|
|
3335
3375
|
err: null
|
|
3336
3376
|
};
|
|
3337
3377
|
}
|
|
@@ -3341,7 +3381,7 @@ var dn = (
|
|
|
3341
3381
|
type: s === "number" ? S.number : s === "date" ? S.date : S.time,
|
|
3342
3382
|
value: i,
|
|
3343
3383
|
location: d,
|
|
3344
|
-
style: (o =
|
|
3384
|
+
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3345
3385
|
},
|
|
3346
3386
|
err: null
|
|
3347
3387
|
};
|
|
@@ -3349,16 +3389,16 @@ var dn = (
|
|
|
3349
3389
|
case "plural":
|
|
3350
3390
|
case "selectordinal":
|
|
3351
3391
|
case "select": {
|
|
3352
|
-
var
|
|
3392
|
+
var w = this.clonePosition();
|
|
3353
3393
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3354
|
-
return this.error(
|
|
3394
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, E({}, w)));
|
|
3355
3395
|
this.bumpSpace();
|
|
3356
3396
|
var M = this.parseIdentifierIfPossible(), N = 0;
|
|
3357
3397
|
if (s !== "select" && M.value === "offset") {
|
|
3358
3398
|
if (!this.bumpIf(":"))
|
|
3359
|
-
return this.error(
|
|
3399
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3360
3400
|
this.bumpSpace();
|
|
3361
|
-
var c = this.tryParseDecimalInteger(
|
|
3401
|
+
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3362
3402
|
if (c.err)
|
|
3363
3403
|
return c;
|
|
3364
3404
|
this.bumpSpace(), M = this.parseIdentifierIfPossible(), N = c.val;
|
|
@@ -3369,7 +3409,7 @@ var dn = (
|
|
|
3369
3409
|
var y = this.tryParseArgumentClose(n);
|
|
3370
3410
|
if (y.err)
|
|
3371
3411
|
return y;
|
|
3372
|
-
var V =
|
|
3412
|
+
var V = _(n, this.clonePosition());
|
|
3373
3413
|
return s === "select" ? {
|
|
3374
3414
|
val: {
|
|
3375
3415
|
type: S.select,
|
|
@@ -3391,10 +3431,10 @@ var dn = (
|
|
|
3391
3431
|
};
|
|
3392
3432
|
}
|
|
3393
3433
|
default:
|
|
3394
|
-
return this.error(
|
|
3434
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, _(a, h));
|
|
3395
3435
|
}
|
|
3396
3436
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3397
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3437
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3398
3438
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3399
3439
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3400
3440
|
var i = this.char();
|
|
@@ -3403,7 +3443,7 @@ var dn = (
|
|
|
3403
3443
|
this.bump();
|
|
3404
3444
|
var n = this.clonePosition();
|
|
3405
3445
|
if (!this.bumpUntil("'"))
|
|
3406
|
-
return this.error(
|
|
3446
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(n, this.clonePosition()));
|
|
3407
3447
|
this.bump();
|
|
3408
3448
|
break;
|
|
3409
3449
|
}
|
|
@@ -3433,37 +3473,37 @@ var dn = (
|
|
|
3433
3473
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3434
3474
|
var i = [];
|
|
3435
3475
|
try {
|
|
3436
|
-
i =
|
|
3476
|
+
i = zi(t);
|
|
3437
3477
|
} catch {
|
|
3438
|
-
return this.error(
|
|
3478
|
+
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3439
3479
|
}
|
|
3440
3480
|
return {
|
|
3441
3481
|
val: {
|
|
3442
|
-
type:
|
|
3482
|
+
type: ee.number,
|
|
3443
3483
|
tokens: i,
|
|
3444
3484
|
location: r,
|
|
3445
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3485
|
+
parsedOptions: this.shouldParseSkeletons ? Ji(i) : {}
|
|
3446
3486
|
},
|
|
3447
3487
|
err: null
|
|
3448
3488
|
};
|
|
3449
3489
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
|
|
3450
|
-
for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(),
|
|
3451
|
-
if (
|
|
3490
|
+
for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = n.value, l = n.location; ; ) {
|
|
3491
|
+
if (u.length === 0) {
|
|
3452
3492
|
var c = this.clonePosition();
|
|
3453
3493
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3454
|
-
var f = this.tryParseDecimalInteger(
|
|
3494
|
+
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3455
3495
|
if (f.err)
|
|
3456
3496
|
return f;
|
|
3457
|
-
|
|
3497
|
+
l = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3458
3498
|
} else
|
|
3459
3499
|
break;
|
|
3460
3500
|
}
|
|
3461
|
-
if (h.has(
|
|
3462
|
-
return this.error(r === "select" ?
|
|
3463
|
-
|
|
3501
|
+
if (h.has(u))
|
|
3502
|
+
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3503
|
+
u === "other" && (a = !0), this.bumpSpace();
|
|
3464
3504
|
var p = this.clonePosition();
|
|
3465
3505
|
if (!this.bumpIf("{"))
|
|
3466
|
-
return this.error(r === "select" ?
|
|
3506
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3467
3507
|
var y = this.parseMessage(t + 1, r, i);
|
|
3468
3508
|
if (y.err)
|
|
3469
3509
|
return y;
|
|
@@ -3471,14 +3511,14 @@ var dn = (
|
|
|
3471
3511
|
if (d.err)
|
|
3472
3512
|
return d;
|
|
3473
3513
|
s.push([
|
|
3474
|
-
|
|
3514
|
+
u,
|
|
3475
3515
|
{
|
|
3476
3516
|
value: y.val,
|
|
3477
|
-
location:
|
|
3517
|
+
location: _(p, this.clonePosition())
|
|
3478
3518
|
}
|
|
3479
|
-
]), h.add(
|
|
3519
|
+
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3480
3520
|
}
|
|
3481
|
-
return s.length === 0 ? this.error(r === "select" ?
|
|
3521
|
+
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3482
3522
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3483
3523
|
var i = 1, n = this.clonePosition();
|
|
3484
3524
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
@@ -3489,8 +3529,8 @@ var dn = (
|
|
|
3489
3529
|
else
|
|
3490
3530
|
break;
|
|
3491
3531
|
}
|
|
3492
|
-
var h =
|
|
3493
|
-
return o ? (a *= i,
|
|
3532
|
+
var h = _(n, this.clonePosition());
|
|
3533
|
+
return o ? (a *= i, hn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3494
3534
|
}, e.prototype.offset = function() {
|
|
3495
3535
|
return this.position.offset;
|
|
3496
3536
|
}, e.prototype.isEOF = function() {
|
|
@@ -3505,7 +3545,7 @@ var dn = (
|
|
|
3505
3545
|
var t = this.position.offset;
|
|
3506
3546
|
if (t >= this.message.length)
|
|
3507
3547
|
throw Error("out of bound");
|
|
3508
|
-
var r =
|
|
3548
|
+
var r = lr(this.message, t);
|
|
3509
3549
|
if (r === void 0)
|
|
3510
3550
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3511
3551
|
return r;
|
|
@@ -3556,43 +3596,43 @@ var dn = (
|
|
|
3556
3596
|
}, e;
|
|
3557
3597
|
}()
|
|
3558
3598
|
);
|
|
3559
|
-
function
|
|
3599
|
+
function it(e) {
|
|
3560
3600
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3561
3601
|
}
|
|
3562
|
-
function
|
|
3563
|
-
return
|
|
3602
|
+
function dn(e) {
|
|
3603
|
+
return it(e) || e === 47;
|
|
3564
3604
|
}
|
|
3565
|
-
function
|
|
3605
|
+
function yn(e) {
|
|
3566
3606
|
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;
|
|
3567
3607
|
}
|
|
3568
3608
|
function cr(e) {
|
|
3569
3609
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3570
3610
|
}
|
|
3571
|
-
function
|
|
3611
|
+
function gn(e) {
|
|
3572
3612
|
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;
|
|
3573
3613
|
}
|
|
3574
|
-
function
|
|
3614
|
+
function nt(e) {
|
|
3575
3615
|
e.forEach(function(t) {
|
|
3576
3616
|
if (delete t.location, tr(t) || rr(t))
|
|
3577
3617
|
for (var r in t.options)
|
|
3578
|
-
delete t.options[r].location,
|
|
3579
|
-
else qt(t) && nr(t.style) || (Kt(t) || er(t)) &&
|
|
3618
|
+
delete t.options[r].location, nt(t.options[r].value);
|
|
3619
|
+
else qt(t) && nr(t.style) || (Kt(t) || er(t)) && Ke(t.style) ? delete t.style.location : ir(t) && nt(t.children);
|
|
3580
3620
|
});
|
|
3581
3621
|
}
|
|
3582
|
-
function
|
|
3622
|
+
function bn(e, t) {
|
|
3583
3623
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3584
|
-
var r = new
|
|
3624
|
+
var r = new pn(e, t).parse();
|
|
3585
3625
|
if (r.err) {
|
|
3586
|
-
var i = SyntaxError(
|
|
3626
|
+
var i = SyntaxError(b[r.err.kind]);
|
|
3587
3627
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3588
3628
|
}
|
|
3589
|
-
return t?.captureLocation ||
|
|
3629
|
+
return t?.captureLocation || nt(r.val), r.val;
|
|
3590
3630
|
}
|
|
3591
|
-
var
|
|
3631
|
+
var te;
|
|
3592
3632
|
(function(e) {
|
|
3593
3633
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3594
|
-
})(
|
|
3595
|
-
var
|
|
3634
|
+
})(te || (te = {}));
|
|
3635
|
+
var Ie = (
|
|
3596
3636
|
/** @class */
|
|
3597
3637
|
function(e) {
|
|
3598
3638
|
G(t, e);
|
|
@@ -3609,150 +3649,150 @@ var Ae = (
|
|
|
3609
3649
|
function(e) {
|
|
3610
3650
|
G(t, e);
|
|
3611
3651
|
function t(r, i, n, o) {
|
|
3612
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3652
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, o) || this;
|
|
3613
3653
|
}
|
|
3614
3654
|
return t;
|
|
3615
|
-
}(
|
|
3616
|
-
),
|
|
3655
|
+
}(Ie)
|
|
3656
|
+
), vn = (
|
|
3617
3657
|
/** @class */
|
|
3618
3658
|
function(e) {
|
|
3619
3659
|
G(t, e);
|
|
3620
3660
|
function t(r, i, n) {
|
|
3621
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i),
|
|
3661
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), te.INVALID_VALUE, n) || this;
|
|
3622
3662
|
}
|
|
3623
3663
|
return t;
|
|
3624
|
-
}(
|
|
3625
|
-
),
|
|
3664
|
+
}(Ie)
|
|
3665
|
+
), _n = (
|
|
3626
3666
|
/** @class */
|
|
3627
3667
|
function(e) {
|
|
3628
3668
|
G(t, e);
|
|
3629
3669
|
function t(r, i) {
|
|
3630
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'),
|
|
3670
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), te.MISSING_VALUE, i) || this;
|
|
3631
3671
|
}
|
|
3632
3672
|
return t;
|
|
3633
|
-
}(
|
|
3634
|
-
),
|
|
3673
|
+
}(Ie)
|
|
3674
|
+
), I;
|
|
3635
3675
|
(function(e) {
|
|
3636
3676
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3637
|
-
})(
|
|
3638
|
-
function
|
|
3677
|
+
})(I || (I = {}));
|
|
3678
|
+
function En(e) {
|
|
3639
3679
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3640
3680
|
var i = t[t.length - 1];
|
|
3641
|
-
return !i || i.type !==
|
|
3681
|
+
return !i || i.type !== I.literal || r.type !== I.literal ? t.push(r) : i.value += r.value, t;
|
|
3642
3682
|
}, []);
|
|
3643
3683
|
}
|
|
3644
|
-
function
|
|
3684
|
+
function xn(e) {
|
|
3645
3685
|
return typeof e == "function";
|
|
3646
3686
|
}
|
|
3647
|
-
function
|
|
3687
|
+
function Te(e, t, r, i, n, o, a) {
|
|
3648
3688
|
if (e.length === 1 && Tt(e[0]))
|
|
3649
3689
|
return [
|
|
3650
3690
|
{
|
|
3651
|
-
type:
|
|
3691
|
+
type: I.literal,
|
|
3652
3692
|
value: e[0].value
|
|
3653
3693
|
}
|
|
3654
3694
|
];
|
|
3655
|
-
for (var s = [], h = 0,
|
|
3656
|
-
var
|
|
3657
|
-
if (Tt(
|
|
3695
|
+
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
3696
|
+
var l = u[h];
|
|
3697
|
+
if (Tt(l)) {
|
|
3658
3698
|
s.push({
|
|
3659
|
-
type:
|
|
3660
|
-
value:
|
|
3699
|
+
type: I.literal,
|
|
3700
|
+
value: l.value
|
|
3661
3701
|
});
|
|
3662
3702
|
continue;
|
|
3663
3703
|
}
|
|
3664
|
-
if (
|
|
3704
|
+
if (ki(l)) {
|
|
3665
3705
|
typeof o == "number" && s.push({
|
|
3666
|
-
type:
|
|
3706
|
+
type: I.literal,
|
|
3667
3707
|
value: r.getNumberFormat(t).format(o)
|
|
3668
3708
|
});
|
|
3669
3709
|
continue;
|
|
3670
3710
|
}
|
|
3671
|
-
var c =
|
|
3711
|
+
var c = l.value;
|
|
3672
3712
|
if (!(n && c in n))
|
|
3673
|
-
throw new
|
|
3713
|
+
throw new _n(c, a);
|
|
3674
3714
|
var f = n[c];
|
|
3675
|
-
if (
|
|
3715
|
+
if (ji(l)) {
|
|
3676
3716
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3677
|
-
type: typeof f == "string" ?
|
|
3717
|
+
type: typeof f == "string" ? I.literal : I.object,
|
|
3678
3718
|
value: f
|
|
3679
3719
|
});
|
|
3680
3720
|
continue;
|
|
3681
3721
|
}
|
|
3682
|
-
if (Kt(
|
|
3683
|
-
var p = typeof
|
|
3722
|
+
if (Kt(l)) {
|
|
3723
|
+
var p = typeof l.style == "string" ? i.date[l.style] : Ke(l.style) ? l.style.parsedOptions : void 0;
|
|
3684
3724
|
s.push({
|
|
3685
|
-
type:
|
|
3725
|
+
type: I.literal,
|
|
3686
3726
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3687
3727
|
});
|
|
3688
3728
|
continue;
|
|
3689
3729
|
}
|
|
3690
|
-
if (er(
|
|
3691
|
-
var p = typeof
|
|
3730
|
+
if (er(l)) {
|
|
3731
|
+
var p = typeof l.style == "string" ? i.time[l.style] : Ke(l.style) ? l.style.parsedOptions : i.time.medium;
|
|
3692
3732
|
s.push({
|
|
3693
|
-
type:
|
|
3733
|
+
type: I.literal,
|
|
3694
3734
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3695
3735
|
});
|
|
3696
3736
|
continue;
|
|
3697
3737
|
}
|
|
3698
|
-
if (qt(
|
|
3699
|
-
var p = typeof
|
|
3738
|
+
if (qt(l)) {
|
|
3739
|
+
var p = typeof l.style == "string" ? i.number[l.style] : nr(l.style) ? l.style.parsedOptions : void 0;
|
|
3700
3740
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3701
|
-
type:
|
|
3741
|
+
type: I.literal,
|
|
3702
3742
|
value: r.getNumberFormat(t, p).format(f)
|
|
3703
3743
|
});
|
|
3704
3744
|
continue;
|
|
3705
3745
|
}
|
|
3706
|
-
if (ir(
|
|
3707
|
-
var y =
|
|
3708
|
-
if (!
|
|
3709
|
-
throw new
|
|
3710
|
-
var
|
|
3746
|
+
if (ir(l)) {
|
|
3747
|
+
var y = l.children, d = l.value, v = n[d];
|
|
3748
|
+
if (!xn(v))
|
|
3749
|
+
throw new vn(d, "function", a);
|
|
3750
|
+
var H = Te(y, t, r, i, n, o), g = v(H.map(function(N) {
|
|
3711
3751
|
return N.value;
|
|
3712
3752
|
}));
|
|
3713
|
-
Array.isArray(
|
|
3753
|
+
Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(N) {
|
|
3714
3754
|
return {
|
|
3715
|
-
type: typeof N == "string" ?
|
|
3755
|
+
type: typeof N == "string" ? I.literal : I.object,
|
|
3716
3756
|
value: N
|
|
3717
3757
|
};
|
|
3718
3758
|
}));
|
|
3719
3759
|
}
|
|
3720
|
-
if (tr(
|
|
3721
|
-
var
|
|
3722
|
-
if (!
|
|
3723
|
-
throw new It(
|
|
3724
|
-
s.push.apply(s,
|
|
3760
|
+
if (tr(l)) {
|
|
3761
|
+
var w = l.options[f] || l.options.other;
|
|
3762
|
+
if (!w)
|
|
3763
|
+
throw new It(l.value, f, Object.keys(l.options), a);
|
|
3764
|
+
s.push.apply(s, Te(w.value, t, r, i, n));
|
|
3725
3765
|
continue;
|
|
3726
3766
|
}
|
|
3727
|
-
if (rr(
|
|
3728
|
-
var
|
|
3729
|
-
if (!
|
|
3767
|
+
if (rr(l)) {
|
|
3768
|
+
var w = l.options["=".concat(f)];
|
|
3769
|
+
if (!w) {
|
|
3730
3770
|
if (!Intl.PluralRules)
|
|
3731
|
-
throw new
|
|
3771
|
+
throw new Ie(`Intl.PluralRules is not available in this environment.
|
|
3732
3772
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3733
|
-
`,
|
|
3734
|
-
var M = r.getPluralRules(t, { type:
|
|
3735
|
-
|
|
3773
|
+
`, te.MISSING_INTL_API, a);
|
|
3774
|
+
var M = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3775
|
+
w = l.options[M] || l.options.other;
|
|
3736
3776
|
}
|
|
3737
|
-
if (!
|
|
3738
|
-
throw new It(
|
|
3739
|
-
s.push.apply(s,
|
|
3777
|
+
if (!w)
|
|
3778
|
+
throw new It(l.value, f, Object.keys(l.options), a);
|
|
3779
|
+
s.push.apply(s, Te(w.value, t, r, i, n, f - (l.offset || 0)));
|
|
3740
3780
|
continue;
|
|
3741
3781
|
}
|
|
3742
3782
|
}
|
|
3743
|
-
return
|
|
3783
|
+
return En(s);
|
|
3744
3784
|
}
|
|
3745
|
-
function
|
|
3785
|
+
function Tn(e, t) {
|
|
3746
3786
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3747
3787
|
return r[i] = E(E({}, e[i]), t[i] || {}), r;
|
|
3748
3788
|
}, {})) : e;
|
|
3749
3789
|
}
|
|
3750
|
-
function
|
|
3790
|
+
function Ln(e, t) {
|
|
3751
3791
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3752
|
-
return r[i] =
|
|
3792
|
+
return r[i] = Tn(e[i], t[i]), r;
|
|
3753
3793
|
}, E({}, e)) : e;
|
|
3754
3794
|
}
|
|
3755
|
-
function
|
|
3795
|
+
function je(e) {
|
|
3756
3796
|
return {
|
|
3757
3797
|
create: function() {
|
|
3758
3798
|
return {
|
|
@@ -3766,39 +3806,39 @@ function Ge(e) {
|
|
|
3766
3806
|
}
|
|
3767
3807
|
};
|
|
3768
3808
|
}
|
|
3769
|
-
function
|
|
3809
|
+
function Sn(e) {
|
|
3770
3810
|
return e === void 0 && (e = {
|
|
3771
3811
|
number: {},
|
|
3772
3812
|
dateTime: {},
|
|
3773
3813
|
pluralRules: {}
|
|
3774
3814
|
}), {
|
|
3775
|
-
getNumberFormat:
|
|
3815
|
+
getNumberFormat: $e(function() {
|
|
3776
3816
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3777
3817
|
r[i] = arguments[i];
|
|
3778
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3818
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3779
3819
|
}, {
|
|
3780
|
-
cache:
|
|
3781
|
-
strategy:
|
|
3820
|
+
cache: je(e.number),
|
|
3821
|
+
strategy: Ge.variadic
|
|
3782
3822
|
}),
|
|
3783
|
-
getDateTimeFormat:
|
|
3823
|
+
getDateTimeFormat: $e(function() {
|
|
3784
3824
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3785
3825
|
r[i] = arguments[i];
|
|
3786
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3826
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3787
3827
|
}, {
|
|
3788
|
-
cache:
|
|
3789
|
-
strategy:
|
|
3828
|
+
cache: je(e.dateTime),
|
|
3829
|
+
strategy: Ge.variadic
|
|
3790
3830
|
}),
|
|
3791
|
-
getPluralRules:
|
|
3831
|
+
getPluralRules: $e(function() {
|
|
3792
3832
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3793
3833
|
r[i] = arguments[i];
|
|
3794
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3834
|
+
return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
|
|
3795
3835
|
}, {
|
|
3796
|
-
cache:
|
|
3797
|
-
strategy:
|
|
3836
|
+
cache: je(e.pluralRules),
|
|
3837
|
+
strategy: Ge.variadic
|
|
3798
3838
|
})
|
|
3799
3839
|
};
|
|
3800
3840
|
}
|
|
3801
|
-
var
|
|
3841
|
+
var wn = (
|
|
3802
3842
|
/** @class */
|
|
3803
3843
|
function() {
|
|
3804
3844
|
function e(t, r, i, n) {
|
|
@@ -3809,15 +3849,15 @@ var An = (
|
|
|
3809
3849
|
dateTime: {},
|
|
3810
3850
|
pluralRules: {}
|
|
3811
3851
|
}, this.format = function(h) {
|
|
3812
|
-
var
|
|
3813
|
-
if (
|
|
3814
|
-
return
|
|
3815
|
-
var
|
|
3816
|
-
return !c.length || f.type !==
|
|
3852
|
+
var u = o.formatToParts(h);
|
|
3853
|
+
if (u.length === 1)
|
|
3854
|
+
return u[0].value;
|
|
3855
|
+
var l = u.reduce(function(c, f) {
|
|
3856
|
+
return !c.length || f.type !== I.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3817
3857
|
}, []);
|
|
3818
|
-
return
|
|
3858
|
+
return l.length <= 1 ? l[0] || "" : l;
|
|
3819
3859
|
}, this.formatToParts = function(h) {
|
|
3820
|
-
return
|
|
3860
|
+
return Te(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3821
3861
|
}, this.resolvedOptions = function() {
|
|
3822
3862
|
var h;
|
|
3823
3863
|
return {
|
|
@@ -3830,13 +3870,13 @@ var An = (
|
|
|
3830
3870
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3831
3871
|
var a = n || {};
|
|
3832
3872
|
a.formatters;
|
|
3833
|
-
var s =
|
|
3873
|
+
var s = ii(a, ["formatters"]);
|
|
3834
3874
|
this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
|
|
3835
3875
|
} else
|
|
3836
3876
|
this.ast = t;
|
|
3837
3877
|
if (!Array.isArray(this.ast))
|
|
3838
3878
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3839
|
-
this.formats =
|
|
3879
|
+
this.formats = Ln(e.formats, i), this.formatters = n && n.formatters || Sn(this.formatterCache);
|
|
3840
3880
|
}
|
|
3841
3881
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3842
3882
|
get: function() {
|
|
@@ -3849,7 +3889,7 @@ var An = (
|
|
|
3849
3889
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3850
3890
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3851
3891
|
}
|
|
3852
|
-
}, e.__parse =
|
|
3892
|
+
}, e.__parse = bn, e.formats = {
|
|
3853
3893
|
number: {
|
|
3854
3894
|
integer: {
|
|
3855
3895
|
maximumFractionDigits: 0
|
|
@@ -3910,7 +3950,7 @@ var An = (
|
|
|
3910
3950
|
}, e;
|
|
3911
3951
|
}()
|
|
3912
3952
|
);
|
|
3913
|
-
function
|
|
3953
|
+
function An(e, t) {
|
|
3914
3954
|
if (t == null)
|
|
3915
3955
|
return;
|
|
3916
3956
|
if (t in e)
|
|
@@ -3931,36 +3971,36 @@ function Pn(e, t) {
|
|
|
3931
3971
|
i = void 0;
|
|
3932
3972
|
return i;
|
|
3933
3973
|
}
|
|
3934
|
-
const F = {},
|
|
3974
|
+
const F = {}, Pn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), fr = (e, t) => {
|
|
3935
3975
|
if (t == null)
|
|
3936
3976
|
return;
|
|
3937
3977
|
if (t in F && e in F[t])
|
|
3938
3978
|
return F[t][e];
|
|
3939
|
-
const r =
|
|
3979
|
+
const r = Be(t);
|
|
3940
3980
|
for (let i = 0; i < r.length; i++) {
|
|
3941
|
-
const n = r[i], o =
|
|
3981
|
+
const n = r[i], o = In(n, e);
|
|
3942
3982
|
if (o)
|
|
3943
|
-
return
|
|
3983
|
+
return Pn(e, t, o);
|
|
3944
3984
|
}
|
|
3945
3985
|
};
|
|
3946
|
-
let
|
|
3947
|
-
const
|
|
3948
|
-
function
|
|
3949
|
-
return
|
|
3986
|
+
let ut;
|
|
3987
|
+
const me = He({});
|
|
3988
|
+
function Hn(e) {
|
|
3989
|
+
return ut[e] || null;
|
|
3950
3990
|
}
|
|
3951
3991
|
function mr(e) {
|
|
3952
|
-
return e in
|
|
3992
|
+
return e in ut;
|
|
3953
3993
|
}
|
|
3954
|
-
function
|
|
3994
|
+
function In(e, t) {
|
|
3955
3995
|
if (!mr(e))
|
|
3956
3996
|
return null;
|
|
3957
|
-
const r =
|
|
3958
|
-
return
|
|
3997
|
+
const r = Hn(e);
|
|
3998
|
+
return An(r, t);
|
|
3959
3999
|
}
|
|
3960
|
-
function
|
|
4000
|
+
function Bn(e) {
|
|
3961
4001
|
if (e == null)
|
|
3962
4002
|
return;
|
|
3963
|
-
const t =
|
|
4003
|
+
const t = Be(e);
|
|
3964
4004
|
for (let r = 0; r < t.length; r++) {
|
|
3965
4005
|
const i = t[r];
|
|
3966
4006
|
if (mr(i))
|
|
@@ -3968,55 +4008,55 @@ function On(e) {
|
|
|
3968
4008
|
}
|
|
3969
4009
|
}
|
|
3970
4010
|
function pr(e, ...t) {
|
|
3971
|
-
delete F[e],
|
|
4011
|
+
delete F[e], me.update((r) => (r[e] = Ni.all([r[e] || {}, ...t]), r));
|
|
3972
4012
|
}
|
|
3973
|
-
|
|
3974
|
-
[
|
|
4013
|
+
ne(
|
|
4014
|
+
[me],
|
|
3975
4015
|
([e]) => Object.keys(e)
|
|
3976
4016
|
);
|
|
3977
|
-
|
|
3978
|
-
const
|
|
3979
|
-
function
|
|
3980
|
-
|
|
4017
|
+
me.subscribe((e) => ut = e);
|
|
4018
|
+
const Le = {};
|
|
4019
|
+
function On(e, t) {
|
|
4020
|
+
Le[e].delete(t), Le[e].size === 0 && delete Le[e];
|
|
3981
4021
|
}
|
|
3982
4022
|
function dr(e) {
|
|
3983
|
-
return
|
|
4023
|
+
return Le[e];
|
|
3984
4024
|
}
|
|
3985
|
-
function
|
|
3986
|
-
return
|
|
4025
|
+
function Cn(e) {
|
|
4026
|
+
return Be(e).map((t) => {
|
|
3987
4027
|
const r = dr(t);
|
|
3988
4028
|
return [t, r ? [...r] : []];
|
|
3989
4029
|
}).filter(([, t]) => t.length > 0);
|
|
3990
4030
|
}
|
|
3991
|
-
function
|
|
3992
|
-
return e == null ? !1 :
|
|
4031
|
+
function ot(e) {
|
|
4032
|
+
return e == null ? !1 : Be(e).some(
|
|
3993
4033
|
(t) => {
|
|
3994
4034
|
var r;
|
|
3995
4035
|
return (r = dr(t)) == null ? void 0 : r.size;
|
|
3996
4036
|
}
|
|
3997
4037
|
);
|
|
3998
4038
|
}
|
|
3999
|
-
function
|
|
4039
|
+
function Nn(e, t) {
|
|
4000
4040
|
return Promise.all(
|
|
4001
|
-
t.map((i) => (
|
|
4041
|
+
t.map((i) => (On(e, i), i().then((n) => n.default || n)))
|
|
4002
4042
|
).then((i) => pr(e, ...i));
|
|
4003
4043
|
}
|
|
4004
|
-
const
|
|
4044
|
+
const ue = {};
|
|
4005
4045
|
function yr(e) {
|
|
4006
|
-
if (!
|
|
4007
|
-
return e in
|
|
4008
|
-
const t =
|
|
4009
|
-
return
|
|
4046
|
+
if (!ot(e))
|
|
4047
|
+
return e in ue ? ue[e] : Promise.resolve();
|
|
4048
|
+
const t = Cn(e);
|
|
4049
|
+
return ue[e] = Promise.all(
|
|
4010
4050
|
t.map(
|
|
4011
|
-
([r, i]) =>
|
|
4051
|
+
([r, i]) => Nn(r, i)
|
|
4012
4052
|
)
|
|
4013
4053
|
).then(() => {
|
|
4014
|
-
if (
|
|
4054
|
+
if (ot(e))
|
|
4015
4055
|
return yr(e);
|
|
4016
|
-
delete
|
|
4017
|
-
}),
|
|
4056
|
+
delete ue[e];
|
|
4057
|
+
}), ue[e];
|
|
4018
4058
|
}
|
|
4019
|
-
const
|
|
4059
|
+
const Rn = {
|
|
4020
4060
|
number: {
|
|
4021
4061
|
scientific: { notation: "scientific" },
|
|
4022
4062
|
engineering: { notation: "engineering" },
|
|
@@ -4045,159 +4085,159 @@ const Mn = {
|
|
|
4045
4085
|
timeZoneName: "short"
|
|
4046
4086
|
}
|
|
4047
4087
|
}
|
|
4048
|
-
},
|
|
4088
|
+
}, Mn = {
|
|
4049
4089
|
fallbackLocale: null,
|
|
4050
4090
|
loadingDelay: 200,
|
|
4051
|
-
formats:
|
|
4091
|
+
formats: Rn,
|
|
4052
4092
|
warnOnMissingMessages: !0,
|
|
4053
4093
|
handleMissingMessage: void 0,
|
|
4054
4094
|
ignoreTag: !0
|
|
4055
|
-
},
|
|
4056
|
-
function
|
|
4057
|
-
return
|
|
4095
|
+
}, Dn = Mn;
|
|
4096
|
+
function re() {
|
|
4097
|
+
return Dn;
|
|
4058
4098
|
}
|
|
4059
|
-
const
|
|
4060
|
-
var Un = Object.defineProperty,
|
|
4099
|
+
const ke = He(!1);
|
|
4100
|
+
var Un = Object.defineProperty, $n = Object.defineProperties, Gn = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Fn = Object.prototype.hasOwnProperty, jn = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kn = (e, t) => {
|
|
4061
4101
|
for (var r in t || (t = {}))
|
|
4062
|
-
|
|
4102
|
+
Fn.call(t, r) && Ot(e, r, t[r]);
|
|
4063
4103
|
if (Bt)
|
|
4064
4104
|
for (var r of Bt(t))
|
|
4065
|
-
|
|
4105
|
+
jn.call(t, r) && Ot(e, r, t[r]);
|
|
4066
4106
|
return e;
|
|
4067
|
-
},
|
|
4068
|
-
let
|
|
4069
|
-
const
|
|
4107
|
+
}, Vn = (e, t) => $n(e, Gn(t));
|
|
4108
|
+
let st;
|
|
4109
|
+
const we = He(null);
|
|
4070
4110
|
function Ct(e) {
|
|
4071
4111
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
4072
4112
|
}
|
|
4073
|
-
function
|
|
4113
|
+
function Be(e, t = re().fallbackLocale) {
|
|
4074
4114
|
const r = Ct(e);
|
|
4075
4115
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
|
|
4076
4116
|
}
|
|
4077
|
-
function
|
|
4078
|
-
return
|
|
4117
|
+
function z() {
|
|
4118
|
+
return st ?? void 0;
|
|
4079
4119
|
}
|
|
4080
|
-
|
|
4081
|
-
|
|
4120
|
+
we.subscribe((e) => {
|
|
4121
|
+
st = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4082
4122
|
});
|
|
4083
|
-
const
|
|
4084
|
-
if (e &&
|
|
4085
|
-
const { loadingDelay: t } =
|
|
4123
|
+
const Wn = (e) => {
|
|
4124
|
+
if (e && Bn(e) && ot(e)) {
|
|
4125
|
+
const { loadingDelay: t } = re();
|
|
4086
4126
|
let r;
|
|
4087
|
-
return typeof window < "u" &&
|
|
4088
|
-
() =>
|
|
4127
|
+
return typeof window < "u" && z() != null && t ? r = window.setTimeout(
|
|
4128
|
+
() => ke.set(!0),
|
|
4089
4129
|
t
|
|
4090
|
-
) :
|
|
4091
|
-
|
|
4130
|
+
) : ke.set(!0), yr(e).then(() => {
|
|
4131
|
+
we.set(e);
|
|
4092
4132
|
}).finally(() => {
|
|
4093
|
-
clearTimeout(r),
|
|
4133
|
+
clearTimeout(r), ke.set(!1);
|
|
4094
4134
|
});
|
|
4095
4135
|
}
|
|
4096
|
-
return
|
|
4097
|
-
},
|
|
4098
|
-
set:
|
|
4099
|
-
}),
|
|
4136
|
+
return we.set(e);
|
|
4137
|
+
}, oe = Vn(kn({}, we), {
|
|
4138
|
+
set: Wn
|
|
4139
|
+
}), Oe = (e) => {
|
|
4100
4140
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4101
4141
|
return (i) => {
|
|
4102
4142
|
const n = JSON.stringify(i);
|
|
4103
4143
|
return n in t ? t[n] : t[n] = e(i);
|
|
4104
4144
|
};
|
|
4105
4145
|
};
|
|
4106
|
-
var
|
|
4146
|
+
var Xn = Object.defineProperty, Ae = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
|
4107
4147
|
for (var r in t || (t = {}))
|
|
4108
4148
|
gr.call(t, r) && Nt(e, r, t[r]);
|
|
4109
|
-
if (
|
|
4110
|
-
for (var r of
|
|
4149
|
+
if (Ae)
|
|
4150
|
+
for (var r of Ae(t))
|
|
4111
4151
|
br.call(t, r) && Nt(e, r, t[r]);
|
|
4112
4152
|
return e;
|
|
4113
|
-
},
|
|
4153
|
+
}, se = (e, t) => {
|
|
4114
4154
|
var r = {};
|
|
4115
4155
|
for (var i in e)
|
|
4116
4156
|
gr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
4117
|
-
if (e != null &&
|
|
4118
|
-
for (var i of
|
|
4157
|
+
if (e != null && Ae)
|
|
4158
|
+
for (var i of Ae(e))
|
|
4119
4159
|
t.indexOf(i) < 0 && br.call(e, i) && (r[i] = e[i]);
|
|
4120
4160
|
return r;
|
|
4121
4161
|
};
|
|
4122
|
-
const
|
|
4123
|
-
const { formats: r } =
|
|
4162
|
+
const fe = (e, t) => {
|
|
4163
|
+
const { formats: r } = re();
|
|
4124
4164
|
if (e in r && t in r[e])
|
|
4125
4165
|
return r[e][t];
|
|
4126
4166
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4127
|
-
},
|
|
4167
|
+
}, zn = Oe(
|
|
4128
4168
|
(e) => {
|
|
4129
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4169
|
+
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
4130
4170
|
if (r == null)
|
|
4131
4171
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4132
|
-
return i && (n =
|
|
4172
|
+
return i && (n = fe("number", i)), new Intl.NumberFormat(r, n);
|
|
4133
4173
|
}
|
|
4134
|
-
),
|
|
4174
|
+
), Zn = Oe(
|
|
4135
4175
|
(e) => {
|
|
4136
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4176
|
+
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
4137
4177
|
if (r == null)
|
|
4138
4178
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4139
|
-
return i ? n =
|
|
4179
|
+
return i ? n = fe("date", i) : Object.keys(n).length === 0 && (n = fe("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
4140
4180
|
}
|
|
4141
|
-
),
|
|
4181
|
+
), Qn = Oe(
|
|
4142
4182
|
(e) => {
|
|
4143
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4183
|
+
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
4144
4184
|
if (r == null)
|
|
4145
4185
|
throw new Error(
|
|
4146
4186
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4147
4187
|
);
|
|
4148
|
-
return i ? n =
|
|
4188
|
+
return i ? n = fe("time", i) : Object.keys(n).length === 0 && (n = fe("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
4149
4189
|
}
|
|
4150
|
-
),
|
|
4190
|
+
), Yn = (e = {}) => {
|
|
4151
4191
|
var t = e, {
|
|
4152
|
-
locale: r =
|
|
4153
|
-
} = t, i =
|
|
4192
|
+
locale: r = z()
|
|
4193
|
+
} = t, i = se(t, [
|
|
4154
4194
|
"locale"
|
|
4155
4195
|
]);
|
|
4156
|
-
return
|
|
4157
|
-
},
|
|
4196
|
+
return zn(lt({ locale: r }, i));
|
|
4197
|
+
}, Jn = (e = {}) => {
|
|
4158
4198
|
var t = e, {
|
|
4159
|
-
locale: r =
|
|
4160
|
-
} = t, i =
|
|
4199
|
+
locale: r = z()
|
|
4200
|
+
} = t, i = se(t, [
|
|
4161
4201
|
"locale"
|
|
4162
4202
|
]);
|
|
4163
|
-
return
|
|
4164
|
-
},
|
|
4203
|
+
return Zn(lt({ locale: r }, i));
|
|
4204
|
+
}, qn = (e = {}) => {
|
|
4165
4205
|
var t = e, {
|
|
4166
|
-
locale: r =
|
|
4167
|
-
} = t, i =
|
|
4206
|
+
locale: r = z()
|
|
4207
|
+
} = t, i = se(t, [
|
|
4168
4208
|
"locale"
|
|
4169
4209
|
]);
|
|
4170
|
-
return
|
|
4171
|
-
},
|
|
4210
|
+
return Qn(lt({ locale: r }, i));
|
|
4211
|
+
}, Kn = Oe(
|
|
4172
4212
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4173
|
-
(e, t =
|
|
4174
|
-
ignoreTag:
|
|
4213
|
+
(e, t = z()) => new wn(e, t, re().formats, {
|
|
4214
|
+
ignoreTag: re().ignoreTag
|
|
4175
4215
|
})
|
|
4176
|
-
),
|
|
4216
|
+
), eo = (e, t = {}) => {
|
|
4177
4217
|
var r, i, n, o;
|
|
4178
4218
|
let a = t;
|
|
4179
4219
|
typeof e == "object" && (a = e, e = a.id);
|
|
4180
4220
|
const {
|
|
4181
4221
|
values: s,
|
|
4182
|
-
locale: h =
|
|
4183
|
-
default:
|
|
4222
|
+
locale: h = z(),
|
|
4223
|
+
default: u
|
|
4184
4224
|
} = a;
|
|
4185
4225
|
if (h == null)
|
|
4186
4226
|
throw new Error(
|
|
4187
4227
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4188
4228
|
);
|
|
4189
|
-
let
|
|
4190
|
-
if (!
|
|
4191
|
-
|
|
4192
|
-
else if (typeof
|
|
4229
|
+
let l = fr(e, h);
|
|
4230
|
+
if (!l)
|
|
4231
|
+
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;
|
|
4232
|
+
else if (typeof l != "string")
|
|
4193
4233
|
return console.warn(
|
|
4194
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
4195
|
-
),
|
|
4234
|
+
`[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.`
|
|
4235
|
+
), l;
|
|
4196
4236
|
if (!s)
|
|
4197
|
-
return
|
|
4198
|
-
let c =
|
|
4237
|
+
return l;
|
|
4238
|
+
let c = l;
|
|
4199
4239
|
try {
|
|
4200
|
-
c =
|
|
4240
|
+
c = Kn(l, h).format(s);
|
|
4201
4241
|
} catch (f) {
|
|
4202
4242
|
f instanceof Error && console.warn(
|
|
4203
4243
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4205,20 +4245,43 @@ const he = (e, t) => {
|
|
|
4205
4245
|
);
|
|
4206
4246
|
}
|
|
4207
4247
|
return c;
|
|
4208
|
-
},
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
window.emWidgets = { topic:
|
|
4214
|
-
const
|
|
4248
|
+
}, to = (e, t) => qn(t).format(e), ro = (e, t) => Jn(t).format(e), io = (e, t) => Yn(t).format(e), no = (e, t = z()) => fr(e, t), oo = ne([oe, me], () => eo);
|
|
4249
|
+
ne([oe], () => to);
|
|
4250
|
+
ne([oe], () => ro);
|
|
4251
|
+
ne([oe], () => io);
|
|
4252
|
+
ne([oe, me], () => no);
|
|
4253
|
+
window.emWidgets = { topic: gi };
|
|
4254
|
+
const so = (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)), No = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4255
|
+
function ao(e, t) {
|
|
4256
|
+
if (e) {
|
|
4257
|
+
const r = document.createElement("style");
|
|
4258
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4259
|
+
}
|
|
4260
|
+
}
|
|
4261
|
+
function uo(e, t) {
|
|
4262
|
+
const r = new URL(t);
|
|
4263
|
+
fetch(r.href).then((i) => i.text()).then((i) => {
|
|
4264
|
+
const n = document.createElement("style");
|
|
4265
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4266
|
+
}).catch((i) => {
|
|
4267
|
+
console.error("There was an error while trying to load client styling from URL", i);
|
|
4268
|
+
});
|
|
4269
|
+
}
|
|
4270
|
+
function lo(e, t, r) {
|
|
4271
|
+
if (window.emMessageBus) {
|
|
4272
|
+
const i = document.createElement("style");
|
|
4273
|
+
window.emMessageBus.subscribe(t, (n) => {
|
|
4274
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4275
|
+
});
|
|
4276
|
+
}
|
|
4277
|
+
}
|
|
4215
4278
|
function Rt(e, t) {
|
|
4216
4279
|
pr(e, t);
|
|
4217
4280
|
}
|
|
4218
|
-
function
|
|
4219
|
-
|
|
4281
|
+
function ho(e) {
|
|
4282
|
+
oe.set(e);
|
|
4220
4283
|
}
|
|
4221
|
-
const
|
|
4284
|
+
const Ve = {
|
|
4222
4285
|
en: {
|
|
4223
4286
|
expandLimits: "LIMIT HISTORY",
|
|
4224
4287
|
daily: "per day",
|
|
@@ -4469,34 +4532,34 @@ const je = {
|
|
|
4469
4532
|
historyLimitTypeLoss: "Loss Limit"
|
|
4470
4533
|
}
|
|
4471
4534
|
};
|
|
4472
|
-
function
|
|
4473
|
-
|
|
4535
|
+
function co(e) {
|
|
4536
|
+
Mr(e, "svelte-19ml84y", ':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-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
|
|
4474
4537
|
}
|
|
4475
4538
|
function Mt(e, t, r) {
|
|
4476
4539
|
const i = e.slice();
|
|
4477
|
-
return i[
|
|
4540
|
+
return i[37] = t[r], i[38] = t, i[39] = r, i;
|
|
4478
4541
|
}
|
|
4479
|
-
function
|
|
4542
|
+
function fo(e) {
|
|
4480
4543
|
let t, r, i, n = (
|
|
4481
4544
|
/*$_*/
|
|
4482
4545
|
e[9]("expandLimits") + ""
|
|
4483
|
-
), o, a, s, h,
|
|
4546
|
+
), o, a, s, h, u, l, c, f, p, y = pt(
|
|
4484
4547
|
/*lazyShowedHistoryArray*/
|
|
4485
4548
|
e[7]
|
|
4486
4549
|
), d = [];
|
|
4487
|
-
for (let
|
|
4488
|
-
d[
|
|
4550
|
+
for (let v = 0; v < y.length; v += 1)
|
|
4551
|
+
d[v] = Dt(Mt(e, y, v));
|
|
4489
4552
|
return {
|
|
4490
4553
|
c() {
|
|
4491
|
-
t = P("div"), r = P("div"), i = P("button"), o = R(n), a =
|
|
4492
|
-
for (let
|
|
4493
|
-
d[
|
|
4494
|
-
x(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(h, "class", "svelte-19ml84y"), x(
|
|
4554
|
+
t = P("div"), r = P("div"), i = P("button"), o = R(n), a = We(), s = Me("svg"), h = Me("path"), u = Me("path"), l = We(), c = P("div");
|
|
4555
|
+
for (let v = 0; v < d.length; v += 1)
|
|
4556
|
+
d[v].c();
|
|
4557
|
+
x(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(h, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(s, "class", "ExpandArrow svelte-19ml84y"), x(s, "xmlns", "http://www.w3.org/2000/svg"), x(s, "width", "36"), x(s, "height", "36"), x(s, "viewBox", "0 0 36 36"), x(s, "fill", "#999"), ge(
|
|
4495
4558
|
s,
|
|
4496
4559
|
"extended",
|
|
4497
4560
|
/*extended*/
|
|
4498
4561
|
e[8]
|
|
4499
|
-
), x(i, "class", "ExpandButton svelte-19ml84y"), x(c, "class", "HistoryDisplayArea svelte-19ml84y"),
|
|
4562
|
+
), x(i, "class", "ExpandButton svelte-19ml84y"), x(c, "class", "HistoryDisplayArea svelte-19ml84y"), ge(
|
|
4500
4563
|
c,
|
|
4501
4564
|
"hidden",
|
|
4502
4565
|
/*hidden*/
|
|
@@ -4504,58 +4567,58 @@ function ho(e) {
|
|
|
4504
4567
|
), x(r, "class", "HistoryWrapper " + /*isDesktop*/
|
|
4505
4568
|
(e[10] ? "Desktop" : "") + " svelte-19ml84y"), x(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
|
|
4506
4569
|
},
|
|
4507
|
-
m(
|
|
4508
|
-
|
|
4509
|
-
for (let
|
|
4510
|
-
d[
|
|
4511
|
-
f || (p =
|
|
4570
|
+
m(v, H) {
|
|
4571
|
+
X(v, t, H), T(t, r), T(r, i), T(i, o), T(i, a), T(i, s), T(s, h), T(s, u), T(r, l), T(r, c);
|
|
4572
|
+
for (let g = 0; g < d.length; g += 1)
|
|
4573
|
+
d[g] && d[g].m(c, null);
|
|
4574
|
+
f || (p = Gr(
|
|
4512
4575
|
i,
|
|
4513
4576
|
"click",
|
|
4514
4577
|
/*toggleHistoryDisplayArea*/
|
|
4515
4578
|
e[11]
|
|
4516
4579
|
), f = !0);
|
|
4517
4580
|
},
|
|
4518
|
-
p(
|
|
4519
|
-
if (
|
|
4581
|
+
p(v, H) {
|
|
4582
|
+
if (H[0] & /*$_*/
|
|
4520
4583
|
512 && n !== (n = /*$_*/
|
|
4521
|
-
|
|
4522
|
-
256 &&
|
|
4584
|
+
v[9]("expandLimits") + "") && j(o, n), H[0] & /*extended*/
|
|
4585
|
+
256 && ge(
|
|
4523
4586
|
s,
|
|
4524
4587
|
"extended",
|
|
4525
4588
|
/*extended*/
|
|
4526
|
-
|
|
4527
|
-
),
|
|
4589
|
+
v[8]
|
|
4590
|
+
), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
4528
4591
|
650) {
|
|
4529
4592
|
y = pt(
|
|
4530
4593
|
/*lazyShowedHistoryArray*/
|
|
4531
|
-
|
|
4594
|
+
v[7]
|
|
4532
4595
|
);
|
|
4533
|
-
let
|
|
4534
|
-
for (
|
|
4535
|
-
const
|
|
4536
|
-
d[
|
|
4596
|
+
let g;
|
|
4597
|
+
for (g = 0; g < y.length; g += 1) {
|
|
4598
|
+
const w = Mt(v, y, g);
|
|
4599
|
+
d[g] ? d[g].p(w, H) : (d[g] = Dt(w), d[g].c(), d[g].m(c, null));
|
|
4537
4600
|
}
|
|
4538
|
-
for (;
|
|
4539
|
-
d[
|
|
4601
|
+
for (; g < d.length; g += 1)
|
|
4602
|
+
d[g].d(1);
|
|
4540
4603
|
d.length = y.length;
|
|
4541
4604
|
}
|
|
4542
|
-
|
|
4543
|
-
32 &&
|
|
4605
|
+
H[0] & /*hidden*/
|
|
4606
|
+
32 && ge(
|
|
4544
4607
|
c,
|
|
4545
4608
|
"hidden",
|
|
4546
4609
|
/*hidden*/
|
|
4547
|
-
|
|
4610
|
+
v[5]
|
|
4548
4611
|
);
|
|
4549
4612
|
},
|
|
4550
|
-
d(
|
|
4551
|
-
|
|
4613
|
+
d(v) {
|
|
4614
|
+
v && k(t), $r(d, v), f = !1, p();
|
|
4552
4615
|
}
|
|
4553
4616
|
};
|
|
4554
4617
|
}
|
|
4555
|
-
function
|
|
4556
|
-
return { c:
|
|
4618
|
+
function mo(e) {
|
|
4619
|
+
return { c: B, m: B, p: B, d: B };
|
|
4557
4620
|
}
|
|
4558
|
-
function
|
|
4621
|
+
function po(e) {
|
|
4559
4622
|
let t, r = (
|
|
4560
4623
|
/*lang*/
|
|
4561
4624
|
(e[0] ? (
|
|
@@ -4568,7 +4631,7 @@ function fo(e) {
|
|
|
4568
4631
|
t = P("p"), i = R(r), x(t, "class", "svelte-19ml84y");
|
|
4569
4632
|
},
|
|
4570
4633
|
m(n, o) {
|
|
4571
|
-
|
|
4634
|
+
X(n, t, o), T(t, i);
|
|
4572
4635
|
},
|
|
4573
4636
|
p(n, o) {
|
|
4574
4637
|
o[0] & /*lang, $_*/
|
|
@@ -4583,64 +4646,64 @@ function fo(e) {
|
|
|
4583
4646
|
}
|
|
4584
4647
|
};
|
|
4585
4648
|
}
|
|
4586
|
-
function
|
|
4649
|
+
function yo(e) {
|
|
4587
4650
|
let t, r, i, n = (
|
|
4588
4651
|
/*history*/
|
|
4589
|
-
e[
|
|
4652
|
+
e[37].type + ""
|
|
4590
4653
|
), o, a, s = (
|
|
4591
4654
|
/*history*/
|
|
4592
|
-
e[
|
|
4593
|
-
), h,
|
|
4655
|
+
e[37].amount + ""
|
|
4656
|
+
), h, u, l = (
|
|
4594
4657
|
/*history*/
|
|
4595
|
-
e[
|
|
4658
|
+
e[37].date + ""
|
|
4596
4659
|
), c;
|
|
4597
4660
|
return {
|
|
4598
4661
|
c() {
|
|
4599
|
-
t = P("div"), r = P("span"), i = P("span"), o = R(n), a = P("span"), h = R(s),
|
|
4662
|
+
t = P("div"), r = P("span"), i = P("span"), o = R(n), a = P("span"), h = R(s), u = P("span"), c = R(l), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
|
|
4600
4663
|
},
|
|
4601
4664
|
m(f, p) {
|
|
4602
|
-
|
|
4665
|
+
X(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, h), T(t, u), T(u, c);
|
|
4603
4666
|
},
|
|
4604
4667
|
p(f, p) {
|
|
4605
4668
|
p[0] & /*lazyShowedHistoryArray*/
|
|
4606
4669
|
128 && n !== (n = /*history*/
|
|
4607
|
-
f[
|
|
4670
|
+
f[37].type + "") && j(o, n), p[0] & /*lazyShowedHistoryArray*/
|
|
4608
4671
|
128 && s !== (s = /*history*/
|
|
4609
|
-
f[
|
|
4610
|
-
128 &&
|
|
4611
|
-
f[
|
|
4672
|
+
f[37].amount + "") && j(h, s), p[0] & /*lazyShowedHistoryArray*/
|
|
4673
|
+
128 && l !== (l = /*history*/
|
|
4674
|
+
f[37].date + "") && j(c, l);
|
|
4612
4675
|
},
|
|
4613
4676
|
d(f) {
|
|
4614
4677
|
f && k(t);
|
|
4615
4678
|
}
|
|
4616
4679
|
};
|
|
4617
4680
|
}
|
|
4618
|
-
function
|
|
4681
|
+
function go(e) {
|
|
4619
4682
|
let t, r, i, n = (
|
|
4620
4683
|
/*history*/
|
|
4621
|
-
e[
|
|
4684
|
+
e[37].type + ""
|
|
4622
4685
|
), o, a, s = (
|
|
4623
4686
|
/*$_*/
|
|
4624
4687
|
e[9]("limitRemoved") + ""
|
|
4625
|
-
), h,
|
|
4688
|
+
), h, u, l = (
|
|
4626
4689
|
/*history*/
|
|
4627
|
-
e[
|
|
4690
|
+
e[37].date + ""
|
|
4628
4691
|
), c;
|
|
4629
4692
|
return {
|
|
4630
4693
|
c() {
|
|
4631
|
-
t = P("div"), r = P("span"), i = P("span"), o = R(n), a = P("span"), h = R(s),
|
|
4694
|
+
t = P("div"), r = P("span"), i = P("span"), o = R(n), a = P("span"), h = R(s), u = P("span"), c = R(l), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
|
|
4632
4695
|
},
|
|
4633
4696
|
m(f, p) {
|
|
4634
|
-
|
|
4697
|
+
X(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, h), T(t, u), T(u, c);
|
|
4635
4698
|
},
|
|
4636
4699
|
p(f, p) {
|
|
4637
4700
|
p[0] & /*lazyShowedHistoryArray*/
|
|
4638
4701
|
128 && n !== (n = /*history*/
|
|
4639
|
-
f[
|
|
4702
|
+
f[37].type + "") && j(o, n), p[0] & /*$_*/
|
|
4640
4703
|
512 && s !== (s = /*$_*/
|
|
4641
4704
|
f[9]("limitRemoved") + "") && j(h, s), p[0] & /*lazyShowedHistoryArray*/
|
|
4642
|
-
128 &&
|
|
4643
|
-
f[
|
|
4705
|
+
128 && l !== (l = /*history*/
|
|
4706
|
+
f[37].date + "") && j(c, l);
|
|
4644
4707
|
},
|
|
4645
4708
|
d(f) {
|
|
4646
4709
|
f && k(t);
|
|
@@ -4650,56 +4713,56 @@ function po(e) {
|
|
|
4650
4713
|
function Dt(e) {
|
|
4651
4714
|
let t, r, i, n = (
|
|
4652
4715
|
/*index*/
|
|
4653
|
-
e[
|
|
4716
|
+
e[39]
|
|
4654
4717
|
);
|
|
4655
|
-
function o(
|
|
4718
|
+
function o(l, c) {
|
|
4656
4719
|
return (
|
|
4657
4720
|
/*history*/
|
|
4658
|
-
|
|
4721
|
+
l[37].removed ? go : yo
|
|
4659
4722
|
);
|
|
4660
4723
|
}
|
|
4661
4724
|
let a = o(e), s = a(e);
|
|
4662
4725
|
const h = () => (
|
|
4663
4726
|
/*div_binding*/
|
|
4664
|
-
e[
|
|
4665
|
-
),
|
|
4727
|
+
e[22](t, n)
|
|
4728
|
+
), u = () => (
|
|
4666
4729
|
/*div_binding*/
|
|
4667
|
-
e[
|
|
4730
|
+
e[22](null, n)
|
|
4668
4731
|
);
|
|
4669
4732
|
return {
|
|
4670
4733
|
c() {
|
|
4671
|
-
t = P("div"), s.c(), r =
|
|
4734
|
+
t = P("div"), s.c(), r = We(), x(t, "class", i = ft(
|
|
4672
4735
|
/*index*/
|
|
4673
|
-
e[
|
|
4736
|
+
e[39] > +/*numberofentries*/
|
|
4674
4737
|
e[1] ? "LimitContainer" : ""
|
|
4675
4738
|
) + " svelte-19ml84y");
|
|
4676
4739
|
},
|
|
4677
|
-
m(
|
|
4678
|
-
|
|
4740
|
+
m(l, c) {
|
|
4741
|
+
X(l, t, c), s.m(t, null), T(t, r), h();
|
|
4679
4742
|
},
|
|
4680
|
-
p(
|
|
4681
|
-
e =
|
|
4743
|
+
p(l, c) {
|
|
4744
|
+
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*/
|
|
4682
4745
|
2 && i !== (i = ft(
|
|
4683
4746
|
/*index*/
|
|
4684
|
-
e[
|
|
4747
|
+
e[39] > +/*numberofentries*/
|
|
4685
4748
|
e[1] ? "LimitContainer" : ""
|
|
4686
4749
|
) + " svelte-19ml84y") && x(t, "class", i), n !== /*index*/
|
|
4687
|
-
e[
|
|
4688
|
-
e[
|
|
4750
|
+
e[39] && (u(), n = /*index*/
|
|
4751
|
+
e[39], h());
|
|
4689
4752
|
},
|
|
4690
|
-
d(
|
|
4691
|
-
|
|
4753
|
+
d(l) {
|
|
4754
|
+
l && k(t), s.d(), u();
|
|
4692
4755
|
}
|
|
4693
4756
|
};
|
|
4694
4757
|
}
|
|
4695
|
-
function
|
|
4758
|
+
function bo(e) {
|
|
4696
4759
|
let t;
|
|
4697
4760
|
function r(o, a) {
|
|
4698
4761
|
return (
|
|
4699
4762
|
/*hasErrors*/
|
|
4700
|
-
o[6] ?
|
|
4763
|
+
o[6] ? po : (
|
|
4701
4764
|
/*isLoading*/
|
|
4702
|
-
o[4] ?
|
|
4765
|
+
o[4] ? mo : fo
|
|
4703
4766
|
)
|
|
4704
4767
|
);
|
|
4705
4768
|
}
|
|
@@ -4709,57 +4772,57 @@ function yo(e) {
|
|
|
4709
4772
|
t = P("div"), n.c(), x(t, "class", "svelte-19ml84y");
|
|
4710
4773
|
},
|
|
4711
4774
|
m(o, a) {
|
|
4712
|
-
|
|
4775
|
+
X(o, t, a), n.m(t, null), e[23](t);
|
|
4713
4776
|
},
|
|
4714
4777
|
p(o, a) {
|
|
4715
4778
|
i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
|
|
4716
4779
|
},
|
|
4717
|
-
i:
|
|
4718
|
-
o:
|
|
4780
|
+
i: B,
|
|
4781
|
+
o: B,
|
|
4719
4782
|
d(o) {
|
|
4720
|
-
o && k(t), n.d(), e[
|
|
4783
|
+
o && k(t), n.d(), e[23](null);
|
|
4721
4784
|
}
|
|
4722
4785
|
};
|
|
4723
4786
|
}
|
|
4724
|
-
function
|
|
4787
|
+
function vo(e, t, r) {
|
|
4725
4788
|
let i;
|
|
4726
|
-
|
|
4727
|
-
let n = window.navigator.userAgent, o = !
|
|
4789
|
+
Rr(e, oo, (m) => r(9, i = m));
|
|
4790
|
+
let n = window.navigator.userAgent, o = !so(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, w = new Array(), M = parseInt(c, 10), N = !1, D = !0, V = [], pe = [], de = !0, Ce = !1, ae = { EUR: "€", RON: "lei", TRY: "₺" };
|
|
4728
4791
|
const _r = () => {
|
|
4729
|
-
fetch(
|
|
4730
|
-
Object.keys(
|
|
4731
|
-
Rt(
|
|
4792
|
+
fetch(H).then((L) => L.json()).then((L) => {
|
|
4793
|
+
Object.keys(L).forEach((C) => {
|
|
4794
|
+
Rt(C, L[C]);
|
|
4732
4795
|
});
|
|
4733
|
-
}).catch((
|
|
4734
|
-
console.log(
|
|
4796
|
+
}).catch((L) => {
|
|
4797
|
+
console.log(L);
|
|
4735
4798
|
});
|
|
4736
4799
|
};
|
|
4737
|
-
Object.keys(
|
|
4738
|
-
Rt(m,
|
|
4800
|
+
Object.keys(Ve).forEach((m) => {
|
|
4801
|
+
Rt(m, Ve[m]);
|
|
4739
4802
|
});
|
|
4740
4803
|
const Er = () => {
|
|
4741
|
-
let m =
|
|
4742
|
-
|
|
4743
|
-
let
|
|
4804
|
+
let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, L = new URL(m, u);
|
|
4805
|
+
L.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), L.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), L.searchParams.append("limit", "10000");
|
|
4806
|
+
let C = {
|
|
4744
4807
|
method: "GET",
|
|
4745
4808
|
headers: { "X-SessionID": h }
|
|
4746
4809
|
};
|
|
4747
|
-
fetch(
|
|
4810
|
+
fetch(L.href, C).then((A) => {
|
|
4748
4811
|
if (A.status >= 300)
|
|
4749
|
-
throw r(4,
|
|
4812
|
+
throw r(4, D = !1), r(6, N = !0), new Error("There was an error fetching the limits");
|
|
4750
4813
|
return A.json();
|
|
4751
4814
|
}).then(
|
|
4752
4815
|
(A) => {
|
|
4753
|
-
A.length && (
|
|
4816
|
+
A.length && (V = xr(A), r(7, pe = V.slice(0, M))), r(4, D = !1);
|
|
4754
4817
|
},
|
|
4755
4818
|
(A) => {
|
|
4756
|
-
console.error("There was an error", A), r(6,
|
|
4819
|
+
console.error("There was an error", A), r(6, N = !0);
|
|
4757
4820
|
}
|
|
4758
4821
|
);
|
|
4759
4822
|
}, xr = (m) => {
|
|
4760
|
-
const
|
|
4823
|
+
const L = !!Ve[a];
|
|
4761
4824
|
return m.map((A) => {
|
|
4762
|
-
let
|
|
4825
|
+
let U = {
|
|
4763
4826
|
amount: "",
|
|
4764
4827
|
currency: "",
|
|
4765
4828
|
date: "",
|
|
@@ -4767,118 +4830,103 @@ function go(e, t, r) {
|
|
|
4767
4830
|
type: "",
|
|
4768
4831
|
removed: !1
|
|
4769
4832
|
};
|
|
4770
|
-
return
|
|
4833
|
+
return U.amount = Tr(A), U.currency = L ? 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;
|
|
4771
4834
|
});
|
|
4772
4835
|
}, Tr = (m) => {
|
|
4773
|
-
let
|
|
4836
|
+
let L = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
|
|
4774
4837
|
if (!p) {
|
|
4775
|
-
let
|
|
4776
|
-
return `${
|
|
4838
|
+
let Or = ae[m.limitCurrencyCode] || m.limitCurrencyCode;
|
|
4839
|
+
return `${L}${Or}`;
|
|
4777
4840
|
}
|
|
4778
4841
|
typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
|
|
4779
|
-
const
|
|
4780
|
-
let
|
|
4781
|
-
const [
|
|
4782
|
-
let [
|
|
4783
|
-
return
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
),
|
|
4842
|
+
const C = L.match(/\{(\d+)decimals\}/), A = C ? parseInt(C[1], 10) : 2, U = C ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
4843
|
+
let ye = parseFloat(m.limitAmount).toFixed(A);
|
|
4844
|
+
const [Ir, Ne] = p.includes(".") ? [",", "."] : [".", ","];
|
|
4845
|
+
let [Re, Br] = ye.split(".");
|
|
4846
|
+
return Re = Re.replace(/\B(?=(\d{3})+(?!\d))/g, Ir), ye = `${Re}${Ne}${Br}`, L = L.replace("{currency}", ae[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Ne)[0]).replace(
|
|
4847
|
+
U,
|
|
4848
|
+
ye.split(Ne)[1]
|
|
4849
|
+
), L;
|
|
4787
4850
|
}, Lr = () => {
|
|
4788
|
-
r(5,
|
|
4851
|
+
r(5, de = !de), r(8, Ce = !Ce);
|
|
4789
4852
|
};
|
|
4790
4853
|
let ht = new IntersectionObserver((m) => {
|
|
4791
|
-
m.forEach((
|
|
4792
|
-
|
|
4854
|
+
m.forEach((L) => {
|
|
4855
|
+
L.isIntersecting && (M += parseInt(c, 10) || 10, pe.length < V.length && r(7, pe = V.slice(0, M)));
|
|
4793
4856
|
});
|
|
4794
4857
|
});
|
|
4795
4858
|
const Sr = () => {
|
|
4796
|
-
ht.observe(
|
|
4859
|
+
ht.observe(w[w.length - 1]);
|
|
4797
4860
|
}, wr = () => {
|
|
4798
4861
|
if (!f) return;
|
|
4799
4862
|
let m = {};
|
|
4800
|
-
f.split(",").forEach((
|
|
4801
|
-
let
|
|
4802
|
-
m[
|
|
4803
|
-
}),
|
|
4863
|
+
f.split(",").forEach((L) => {
|
|
4864
|
+
let C = L.split(":");
|
|
4865
|
+
m[C[0].trim()] = C[1].trim();
|
|
4866
|
+
}), ae = { ...ae, ...m };
|
|
4804
4867
|
}, Ar = () => {
|
|
4805
|
-
|
|
4806
|
-
m.innerHTML = y, w.appendChild(m);
|
|
4807
|
-
}, Pr = () => {
|
|
4808
|
-
let m = new URL(d), T = document.createElement("style");
|
|
4809
|
-
fetch(m.href).then((I) => I.text()).then((I) => {
|
|
4810
|
-
T.innerHTML = I, w && (setTimeout(
|
|
4811
|
-
() => {
|
|
4812
|
-
w.appendChild(T);
|
|
4813
|
-
},
|
|
4814
|
-
1
|
|
4815
|
-
), setTimeout(
|
|
4816
|
-
() => {
|
|
4817
|
-
},
|
|
4818
|
-
500
|
|
4819
|
-
));
|
|
4820
|
-
});
|
|
4821
|
-
}, Hr = () => {
|
|
4822
|
-
lo(a);
|
|
4868
|
+
ho(a);
|
|
4823
4869
|
};
|
|
4824
|
-
|
|
4825
|
-
ht.unobserve(
|
|
4870
|
+
Vr(() => () => {
|
|
4871
|
+
ht.unobserve(w[w.length - 1]);
|
|
4826
4872
|
});
|
|
4827
|
-
function
|
|
4828
|
-
|
|
4829
|
-
|
|
4873
|
+
function Pr(m, L) {
|
|
4874
|
+
Se[m ? "unshift" : "push"](() => {
|
|
4875
|
+
w[L] = m, r(3, w);
|
|
4830
4876
|
});
|
|
4831
4877
|
}
|
|
4832
|
-
function
|
|
4833
|
-
|
|
4834
|
-
|
|
4878
|
+
function Hr(m) {
|
|
4879
|
+
Se[m ? "unshift" : "push"](() => {
|
|
4880
|
+
g = m, r(2, g);
|
|
4835
4881
|
});
|
|
4836
4882
|
}
|
|
4837
4883
|
return e.$$set = (m) => {
|
|
4838
|
-
"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,
|
|
4884
|
+
"lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
|
|
4839
4885
|
}, e.$$.update = () => {
|
|
4840
4886
|
e.$$.dirty[0] & /*customcurrencysymbols*/
|
|
4841
4887
|
65536 && f && wr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
4842
|
-
61440 &&
|
|
4843
|
-
56 &&
|
|
4844
|
-
1 && a &&
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
1048580 &&
|
|
4888
|
+
61440 && u && s && h && l && Er(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
4889
|
+
56 && w[0] && !D && !de && Sr(), e.$$.dirty[0] & /*lang*/
|
|
4890
|
+
1 && a && Ar(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4891
|
+
262148 && y && g && ao(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4892
|
+
524292 && d && g && uo(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4893
|
+
1048580 && v && g && lo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
|
|
4894
|
+
2097156 && H && g && _r();
|
|
4848
4895
|
}, [
|
|
4849
4896
|
a,
|
|
4850
4897
|
c,
|
|
4898
|
+
g,
|
|
4851
4899
|
w,
|
|
4852
|
-
|
|
4900
|
+
D,
|
|
4901
|
+
de,
|
|
4853
4902
|
N,
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
V,
|
|
4857
|
-
Ie,
|
|
4903
|
+
pe,
|
|
4904
|
+
Ce,
|
|
4858
4905
|
i,
|
|
4859
4906
|
o,
|
|
4860
4907
|
Lr,
|
|
4861
4908
|
s,
|
|
4862
4909
|
h,
|
|
4863
|
-
l,
|
|
4864
4910
|
u,
|
|
4911
|
+
l,
|
|
4865
4912
|
f,
|
|
4866
4913
|
p,
|
|
4867
4914
|
y,
|
|
4868
4915
|
d,
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4916
|
+
v,
|
|
4917
|
+
H,
|
|
4918
|
+
Pr,
|
|
4919
|
+
Hr
|
|
4872
4920
|
];
|
|
4873
4921
|
}
|
|
4874
|
-
class vr extends
|
|
4922
|
+
class vr extends ti {
|
|
4875
4923
|
constructor(t) {
|
|
4876
|
-
super(),
|
|
4924
|
+
super(), Kr(
|
|
4877
4925
|
this,
|
|
4878
4926
|
t,
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4927
|
+
vo,
|
|
4928
|
+
bo,
|
|
4929
|
+
$t,
|
|
4882
4930
|
{
|
|
4883
4931
|
lang: 0,
|
|
4884
4932
|
userid: 12,
|
|
@@ -4890,9 +4938,10 @@ class vr extends ii {
|
|
|
4890
4938
|
limitformat: 17,
|
|
4891
4939
|
clientstyling: 18,
|
|
4892
4940
|
clientstylingurl: 19,
|
|
4893
|
-
|
|
4941
|
+
mbsource: 20,
|
|
4942
|
+
translationurl: 21
|
|
4894
4943
|
},
|
|
4895
|
-
|
|
4944
|
+
co,
|
|
4896
4945
|
[-1, -1]
|
|
4897
4946
|
);
|
|
4898
4947
|
}
|
|
@@ -4900,112 +4949,128 @@ class vr extends ii {
|
|
|
4900
4949
|
return this.$$.ctx[0];
|
|
4901
4950
|
}
|
|
4902
4951
|
set lang(t) {
|
|
4903
|
-
this.$$set({ lang: t }),
|
|
4952
|
+
this.$$set({ lang: t }), O();
|
|
4904
4953
|
}
|
|
4905
4954
|
get userid() {
|
|
4906
4955
|
return this.$$.ctx[12];
|
|
4907
4956
|
}
|
|
4908
4957
|
set userid(t) {
|
|
4909
|
-
this.$$set({ userid: t }),
|
|
4958
|
+
this.$$set({ userid: t }), O();
|
|
4910
4959
|
}
|
|
4911
4960
|
get session() {
|
|
4912
4961
|
return this.$$.ctx[13];
|
|
4913
4962
|
}
|
|
4914
4963
|
set session(t) {
|
|
4915
|
-
this.$$set({ session: t }),
|
|
4964
|
+
this.$$set({ session: t }), O();
|
|
4916
4965
|
}
|
|
4917
4966
|
get endpoint() {
|
|
4918
4967
|
return this.$$.ctx[14];
|
|
4919
4968
|
}
|
|
4920
4969
|
set endpoint(t) {
|
|
4921
|
-
this.$$set({ endpoint: t }),
|
|
4970
|
+
this.$$set({ endpoint: t }), O();
|
|
4922
4971
|
}
|
|
4923
4972
|
get apiversion() {
|
|
4924
4973
|
return this.$$.ctx[15];
|
|
4925
4974
|
}
|
|
4926
4975
|
set apiversion(t) {
|
|
4927
|
-
this.$$set({ apiversion: t }),
|
|
4976
|
+
this.$$set({ apiversion: t }), O();
|
|
4928
4977
|
}
|
|
4929
4978
|
get numberofentries() {
|
|
4930
4979
|
return this.$$.ctx[1];
|
|
4931
4980
|
}
|
|
4932
4981
|
set numberofentries(t) {
|
|
4933
|
-
this.$$set({ numberofentries: t }),
|
|
4982
|
+
this.$$set({ numberofentries: t }), O();
|
|
4934
4983
|
}
|
|
4935
4984
|
get customcurrencysymbols() {
|
|
4936
4985
|
return this.$$.ctx[16];
|
|
4937
4986
|
}
|
|
4938
4987
|
set customcurrencysymbols(t) {
|
|
4939
|
-
this.$$set({ customcurrencysymbols: t }),
|
|
4988
|
+
this.$$set({ customcurrencysymbols: t }), O();
|
|
4940
4989
|
}
|
|
4941
4990
|
get limitformat() {
|
|
4942
4991
|
return this.$$.ctx[17];
|
|
4943
4992
|
}
|
|
4944
4993
|
set limitformat(t) {
|
|
4945
|
-
this.$$set({ limitformat: t }),
|
|
4994
|
+
this.$$set({ limitformat: t }), O();
|
|
4946
4995
|
}
|
|
4947
4996
|
get clientstyling() {
|
|
4948
4997
|
return this.$$.ctx[18];
|
|
4949
4998
|
}
|
|
4950
4999
|
set clientstyling(t) {
|
|
4951
|
-
this.$$set({ clientstyling: t }),
|
|
5000
|
+
this.$$set({ clientstyling: t }), O();
|
|
4952
5001
|
}
|
|
4953
5002
|
get clientstylingurl() {
|
|
4954
5003
|
return this.$$.ctx[19];
|
|
4955
5004
|
}
|
|
4956
5005
|
set clientstylingurl(t) {
|
|
4957
|
-
this.$$set({ clientstylingurl: t }),
|
|
5006
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
4958
5007
|
}
|
|
4959
|
-
get
|
|
5008
|
+
get mbsource() {
|
|
4960
5009
|
return this.$$.ctx[20];
|
|
4961
5010
|
}
|
|
5011
|
+
set mbsource(t) {
|
|
5012
|
+
this.$$set({ mbsource: t }), O();
|
|
5013
|
+
}
|
|
5014
|
+
get translationurl() {
|
|
5015
|
+
return this.$$.ctx[21];
|
|
5016
|
+
}
|
|
4962
5017
|
set translationurl(t) {
|
|
4963
|
-
this.$$set({ translationurl: t }),
|
|
5018
|
+
this.$$set({ translationurl: t }), O();
|
|
4964
5019
|
}
|
|
4965
5020
|
}
|
|
4966
|
-
|
|
4967
|
-
const
|
|
5021
|
+
ei(vr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
5022
|
+
const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4968
5023
|
__proto__: null,
|
|
4969
5024
|
default: vr
|
|
4970
5025
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4971
5026
|
export {
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
5027
|
+
oe as $,
|
|
5028
|
+
Lo as A,
|
|
5029
|
+
Ho as B,
|
|
5030
|
+
ze as C,
|
|
5031
|
+
Me as D,
|
|
5032
|
+
Po as E,
|
|
5033
|
+
oo as F,
|
|
5034
|
+
ao as G,
|
|
5035
|
+
uo as H,
|
|
5036
|
+
lo as I,
|
|
5037
|
+
me as J,
|
|
5038
|
+
Co as K,
|
|
5039
|
+
Qr as L,
|
|
5040
|
+
Oo as M,
|
|
5041
|
+
No as N,
|
|
5042
|
+
Bo as O,
|
|
5043
|
+
So as P,
|
|
5044
|
+
_o as Q,
|
|
5045
|
+
xo as R,
|
|
5046
|
+
ti as S,
|
|
5047
|
+
To as T,
|
|
5048
|
+
Eo as U,
|
|
5049
|
+
Ro as V,
|
|
4985
5050
|
pr as a,
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
k,
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5051
|
+
Mr as b,
|
|
5052
|
+
ei as c,
|
|
5053
|
+
k as d,
|
|
5054
|
+
T as e,
|
|
5055
|
+
O as f,
|
|
5056
|
+
X as g,
|
|
5057
|
+
P as h,
|
|
5058
|
+
Kr as i,
|
|
5059
|
+
We as j,
|
|
5060
|
+
x as k,
|
|
5061
|
+
Rr as l,
|
|
5062
|
+
so as m,
|
|
5063
|
+
B as n,
|
|
5064
|
+
Vr as o,
|
|
5065
|
+
Io as p,
|
|
5066
|
+
Se as q,
|
|
5067
|
+
pt as r,
|
|
5068
|
+
$t as s,
|
|
5069
|
+
wo as t,
|
|
5070
|
+
$r as u,
|
|
5071
|
+
ie as v,
|
|
5007
5072
|
j as w,
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5073
|
+
Ao as x,
|
|
5074
|
+
Gr as y,
|
|
5075
|
+
R as z
|
|
5011
5076
|
};
|