@everymatrix/player-account-gaming-limits-wrapper-2 1.65.0 → 1.65.2
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-DRH0naic.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsHistory2-Ro8l6AKR.js → PlayerAccountGamingLimitsHistory2-DrjkyFQ_.js} +1008 -987
- package/components/{PlayerAccountGamingLimitsHistory2-Uv67939E.js → PlayerAccountGamingLimitsHistory2-GArV24bp.js} +838 -817
- package/components/{PlayerAccountGamingLimitsPage2Gm16-8tSES8zY.js → PlayerAccountGamingLimitsPage2Gm16-DLX58h4T.js} +88 -88
- package/components/{PlayerAccountGamingLimitsPage2Gm16-s3JkQLAA.cjs → PlayerAccountGamingLimitsPage2Gm16-DVWlVHyp.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-V3HqwiwH.js → PlayerAccountGamingLimitsPage2Gm16-DviV4_mb.js} +87 -87
- package/components/{PlayerAccountGamingLimitsWrapper2-D1z_3IBl.js → PlayerAccountGamingLimitsWrapper2-BvCmyyWg.js} +64 -64
- package/components/{PlayerAccountGamingLimitsWrapper2-C8UESZbU.js → PlayerAccountGamingLimitsWrapper2-N-KDOrZU.js} +40 -40
- package/components/{PlayerAccountGamingLimitsWrapper2-Aaiw3Xmk.cjs → PlayerAccountGamingLimitsWrapper2-RZwb1Aj0.cjs} +1 -1
- 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/index-b2193545-BcYyCldH.js +519 -0
- package/stencil/index-b2193545-CPztmidm.js +503 -0
- package/stencil/index-b2193545-D1Z0k4-D.cjs +1 -0
- package/stencil/{ui-skeleton-1cb75d00-CZaAqtpv.cjs → ui-skeleton-1cb75d00-CUSs6C3A.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-BNH09c7f.js → ui-skeleton-1cb75d00-CXHx_pAM.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-D5-2p-WB.js → ui-skeleton-1cb75d00-z2mX3TRi.js} +1 -1
- package/stencil/{ui-skeleton-AIPVdsFJ.js → ui-skeleton-4ifa-7wH.js} +2 -2
- package/stencil/{ui-skeleton-CrET-Yki.js → ui-skeleton-Bk5dn5mu.js} +2 -2
- package/stencil/{ui-skeleton-DeVqZ9-c.cjs → ui-skeleton-CCXvjIzA.cjs} +1 -1
- package/components/PlayerAccountGamingLimitsHistory2-C-Rfp8PF.cjs +0 -18
- package/stencil/index-b2193545-CmHRXrte.cjs +0 -1
- package/stencil/index-b2193545-Dsw4OOA0.js +0 -503
- package/stencil/index-b2193545-b7FTTZLk.js +0 -519
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
function
|
|
1
|
+
function I() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Ur(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,46 +8,46 @@ function Dr(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function kt(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function yt() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
e.forEach(
|
|
17
|
+
function re(e) {
|
|
18
|
+
e.forEach(kt);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function ft(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Vt(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function $r(e) {
|
|
27
27
|
return Object.keys(e).length === 0;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function Wt(e, ...t) {
|
|
30
30
|
if (e == null) {
|
|
31
31
|
for (const i of t)
|
|
32
32
|
i(void 0);
|
|
33
|
-
return
|
|
33
|
+
return I;
|
|
34
34
|
}
|
|
35
35
|
const r = e.subscribe(...t);
|
|
36
36
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.$$.on_destroy.push(
|
|
38
|
+
function Gr(e, t, r) {
|
|
39
|
+
e.$$.on_destroy.push(Wt(t, r));
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function So(e, t, r, i) {
|
|
42
42
|
if (e) {
|
|
43
|
-
const n =
|
|
43
|
+
const n = Xt(e, t, r, i);
|
|
44
44
|
return e[0](n);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
return e[1] && i ?
|
|
47
|
+
function Xt(e, t, r, i) {
|
|
48
|
+
return e[1] && i ? Ur(r.ctx.slice(), e[1](i(t))) : r.ctx;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function wo(e, t, r, i) {
|
|
51
51
|
if (e[2] && i) {
|
|
52
52
|
const n = e[2](i(r));
|
|
53
53
|
if (t.dirty === void 0)
|
|
@@ -62,13 +62,13 @@ function Lo(e, t, r, i) {
|
|
|
62
62
|
}
|
|
63
63
|
return t.dirty;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function Ao(e, t, r, i, n, o) {
|
|
66
66
|
if (n) {
|
|
67
|
-
const a =
|
|
67
|
+
const a = Xt(t, r, i, o);
|
|
68
68
|
e.p(a, n);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Po(e) {
|
|
72
72
|
if (e.ctx.length > 32) {
|
|
73
73
|
const t = [], r = e.ctx.length / 32;
|
|
74
74
|
for (let i = 0; i < r; i++)
|
|
@@ -77,20 +77,20 @@ function wo(e) {
|
|
|
77
77
|
}
|
|
78
78
|
return -1;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function gt(e) {
|
|
81
81
|
return e ?? "";
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function x(e, t) {
|
|
84
84
|
e.appendChild(t);
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
const i =
|
|
86
|
+
function Fr(e, t, r) {
|
|
87
|
+
const i = jr(e);
|
|
88
88
|
if (!i.getElementById(t)) {
|
|
89
89
|
const n = P("style");
|
|
90
|
-
n.id = t, n.textContent = r,
|
|
90
|
+
n.id = t, n.textContent = r, kr(i, n);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function jr(e) {
|
|
94
94
|
if (!e)
|
|
95
95
|
return document;
|
|
96
96
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -100,8 +100,8 @@ function Fr(e) {
|
|
|
100
100
|
t
|
|
101
101
|
) : e.ownerDocument;
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
return
|
|
103
|
+
function kr(e, t) {
|
|
104
|
+
return x(
|
|
105
105
|
/** @type {Document} */
|
|
106
106
|
e.head || e,
|
|
107
107
|
t
|
|
@@ -113,52 +113,52 @@ function X(e, t, r) {
|
|
|
113
113
|
function k(e) {
|
|
114
114
|
e.parentNode && e.parentNode.removeChild(e);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Vr(e, t) {
|
|
117
117
|
for (let r = 0; r < e.length; r += 1)
|
|
118
118
|
e[r] && e[r].d(t);
|
|
119
119
|
}
|
|
120
120
|
function P(e) {
|
|
121
121
|
return document.createElement(e);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Ue(e) {
|
|
124
124
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function M(e) {
|
|
127
127
|
return document.createTextNode(e);
|
|
128
128
|
}
|
|
129
|
-
function
|
|
130
|
-
return
|
|
129
|
+
function Ze() {
|
|
130
|
+
return M(" ");
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
return
|
|
132
|
+
function Ho() {
|
|
133
|
+
return M("");
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Wr(e, t, r, i) {
|
|
136
136
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function E(e, t, r) {
|
|
139
139
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function Oo(e, t, r) {
|
|
142
142
|
const i = t.toLowerCase();
|
|
143
|
-
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
143
|
+
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : E(e, t, r);
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function Io(e) {
|
|
146
146
|
return e === "" ? null : +e;
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function Xr(e) {
|
|
149
149
|
return Array.from(e.childNodes);
|
|
150
150
|
}
|
|
151
151
|
function j(e, t) {
|
|
152
152
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
153
153
|
t);
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Bo(e, t) {
|
|
156
156
|
e.value = t ?? "";
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Co(e, t, r, i) {
|
|
159
159
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function No(e, t, r) {
|
|
162
162
|
for (let i = 0; i < e.options.length; i += 1) {
|
|
163
163
|
const n = e.options[i];
|
|
164
164
|
if (n.__value === t) {
|
|
@@ -168,14 +168,14 @@ function Oo(e, t, r) {
|
|
|
168
168
|
}
|
|
169
169
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Ro(e) {
|
|
172
172
|
const t = e.querySelector(":checked");
|
|
173
173
|
return t && t.__value;
|
|
174
174
|
}
|
|
175
175
|
function ge(e, t, r) {
|
|
176
176
|
e.classList.toggle(t, !!r);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function zr(e) {
|
|
179
179
|
const t = {};
|
|
180
180
|
return e.childNodes.forEach(
|
|
181
181
|
/** @param {Element} node */
|
|
@@ -184,69 +184,69 @@ function Xr(e) {
|
|
|
184
184
|
}
|
|
185
185
|
), t;
|
|
186
186
|
}
|
|
187
|
-
let
|
|
188
|
-
function
|
|
189
|
-
|
|
187
|
+
let le;
|
|
188
|
+
function ue(e) {
|
|
189
|
+
le = e;
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
if (!
|
|
191
|
+
function Zr() {
|
|
192
|
+
if (!le)
|
|
193
193
|
throw new Error("Function called outside component initialization");
|
|
194
|
-
return
|
|
194
|
+
return le;
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
|
|
196
|
+
function Qr(e) {
|
|
197
|
+
Zr().$$.on_mount.push(e);
|
|
198
198
|
}
|
|
199
199
|
const Y = [], Se = [];
|
|
200
200
|
let J = [];
|
|
201
|
-
const
|
|
202
|
-
let
|
|
203
|
-
function
|
|
204
|
-
|
|
201
|
+
const bt = [], Yr = /* @__PURE__ */ Promise.resolve();
|
|
202
|
+
let Qe = !1;
|
|
203
|
+
function Jr() {
|
|
204
|
+
Qe || (Qe = !0, Yr.then(B));
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Ye(e) {
|
|
207
207
|
J.push(e);
|
|
208
208
|
}
|
|
209
|
-
const
|
|
209
|
+
const $e = /* @__PURE__ */ new Set();
|
|
210
210
|
let Z = 0;
|
|
211
|
-
function
|
|
211
|
+
function B() {
|
|
212
212
|
if (Z !== 0)
|
|
213
213
|
return;
|
|
214
|
-
const e =
|
|
214
|
+
const e = le;
|
|
215
215
|
do {
|
|
216
216
|
try {
|
|
217
217
|
for (; Z < Y.length; ) {
|
|
218
218
|
const t = Y[Z];
|
|
219
|
-
Z++,
|
|
219
|
+
Z++, ue(t), qr(t.$$);
|
|
220
220
|
}
|
|
221
221
|
} catch (t) {
|
|
222
222
|
throw Y.length = 0, Z = 0, t;
|
|
223
223
|
}
|
|
224
|
-
for (
|
|
224
|
+
for (ue(null), Y.length = 0, Z = 0; Se.length; )
|
|
225
225
|
Se.pop()();
|
|
226
226
|
for (let t = 0; t < J.length; t += 1) {
|
|
227
227
|
const r = J[t];
|
|
228
|
-
|
|
228
|
+
$e.has(r) || ($e.add(r), r());
|
|
229
229
|
}
|
|
230
230
|
J.length = 0;
|
|
231
231
|
} while (Y.length);
|
|
232
|
-
for (;
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
for (; bt.length; )
|
|
233
|
+
bt.pop()();
|
|
234
|
+
Qe = !1, $e.clear(), ue(e);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function qr(e) {
|
|
237
237
|
if (e.fragment !== null) {
|
|
238
|
-
e.update(),
|
|
238
|
+
e.update(), re(e.before_update);
|
|
239
239
|
const t = e.dirty;
|
|
240
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
240
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function Kr(e) {
|
|
244
244
|
const t = [], r = [];
|
|
245
245
|
J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
|
|
246
246
|
}
|
|
247
247
|
const _e = /* @__PURE__ */ new Set();
|
|
248
248
|
let W;
|
|
249
|
-
function
|
|
249
|
+
function Mo() {
|
|
250
250
|
W = {
|
|
251
251
|
r: 0,
|
|
252
252
|
c: [],
|
|
@@ -254,13 +254,13 @@ function No() {
|
|
|
254
254
|
// parent group
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
|
-
function
|
|
258
|
-
W.r ||
|
|
257
|
+
function Do() {
|
|
258
|
+
W.r || re(W.c), W = W.p;
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function ei(e, t) {
|
|
261
261
|
e && e.i && (_e.delete(e), e.i(t));
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function Uo(e, t, r, i) {
|
|
264
264
|
if (e && e.o) {
|
|
265
265
|
if (_e.has(e))
|
|
266
266
|
return;
|
|
@@ -270,34 +270,34 @@ function Mo(e, t, r, i) {
|
|
|
270
270
|
} else
|
|
271
271
|
i && i();
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function vt(e) {
|
|
274
274
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function ti(e, t, r) {
|
|
277
277
|
const { fragment: i, after_update: n } = e.$$;
|
|
278
|
-
i && i.m(t, r),
|
|
279
|
-
const o = e.$$.on_mount.map(
|
|
280
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
281
|
-
}), n.forEach(
|
|
278
|
+
i && i.m(t, r), Ye(() => {
|
|
279
|
+
const o = e.$$.on_mount.map(kt).filter(ft);
|
|
280
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
|
|
281
|
+
}), n.forEach(Ye);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function ri(e, t) {
|
|
284
284
|
const r = e.$$;
|
|
285
|
-
r.fragment !== null && (
|
|
285
|
+
r.fragment !== null && (Kr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
|
287
|
+
function ii(e, t) {
|
|
288
|
+
e.$$.dirty[0] === -1 && (Y.push(e), Jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
const h =
|
|
292
|
-
|
|
290
|
+
function ni(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
291
|
+
const h = le;
|
|
292
|
+
ue(e);
|
|
293
293
|
const u = e.$$ = {
|
|
294
294
|
fragment: null,
|
|
295
295
|
ctx: [],
|
|
296
296
|
// state
|
|
297
297
|
props: o,
|
|
298
|
-
update:
|
|
298
|
+
update: I,
|
|
299
299
|
not_equal: n,
|
|
300
|
-
bound:
|
|
300
|
+
bound: yt(),
|
|
301
301
|
// lifecycle
|
|
302
302
|
on_mount: [],
|
|
303
303
|
on_destroy: [],
|
|
@@ -306,7 +306,7 @@ function ii(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
306
306
|
after_update: [],
|
|
307
307
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
308
308
|
// everything else
|
|
309
|
-
callbacks:
|
|
309
|
+
callbacks: yt(),
|
|
310
310
|
dirty: s,
|
|
311
311
|
skip_bound: !1,
|
|
312
312
|
root: t.target || h.$$.root
|
|
@@ -315,19 +315,19 @@ function ii(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
315
315
|
let l = !1;
|
|
316
316
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
317
317
|
const y = p.length ? p[0] : f;
|
|
318
|
-
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l &&
|
|
319
|
-
}) : [], u.update(), l = !0,
|
|
318
|
+
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && ii(e, c)), f;
|
|
319
|
+
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
320
320
|
if (t.hydrate) {
|
|
321
|
-
const c =
|
|
321
|
+
const c = Xr(t.target);
|
|
322
322
|
u.fragment && u.fragment.l(c), c.forEach(k);
|
|
323
323
|
} else
|
|
324
324
|
u.fragment && u.fragment.c();
|
|
325
|
-
t.intro &&
|
|
325
|
+
t.intro && ei(e.$$.fragment), ti(e, t.target, t.anchor), B();
|
|
326
326
|
}
|
|
327
|
-
|
|
327
|
+
ue(h);
|
|
328
328
|
}
|
|
329
|
-
let
|
|
330
|
-
typeof HTMLElement == "function" && (
|
|
329
|
+
let zt;
|
|
330
|
+
typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
331
331
|
/** The Svelte component constructor */
|
|
332
332
|
$$ctor;
|
|
333
333
|
/** Slots */
|
|
@@ -369,7 +369,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
|
|
|
369
369
|
let o;
|
|
370
370
|
return {
|
|
371
371
|
c: function() {
|
|
372
|
-
o = P("slot"), n !== "default" &&
|
|
372
|
+
o = P("slot"), n !== "default" && E(o, "name", n);
|
|
373
373
|
},
|
|
374
374
|
/**
|
|
375
375
|
* @param {HTMLElement} target
|
|
@@ -386,7 +386,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
|
|
|
386
386
|
};
|
|
387
387
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
388
388
|
return;
|
|
389
|
-
const t = {}, r =
|
|
389
|
+
const t = {}, r = zr(this);
|
|
390
390
|
for (const n of this.$$s)
|
|
391
391
|
n in r && (t[n] = [e(n)]);
|
|
392
392
|
for (const n of this.attributes) {
|
|
@@ -473,8 +473,8 @@ function Ee(e, t, r, i) {
|
|
|
473
473
|
return t;
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
-
function
|
|
477
|
-
let a = class extends
|
|
476
|
+
function oi(e, t, r, i, n, o) {
|
|
477
|
+
let a = class extends zt {
|
|
478
478
|
constructor() {
|
|
479
479
|
super(e, r, n), this.$$p_d = t;
|
|
480
480
|
}
|
|
@@ -502,7 +502,7 @@ function ni(e, t, r, i, n, o) {
|
|
|
502
502
|
}), e.element = /** @type {any} */
|
|
503
503
|
a, a;
|
|
504
504
|
}
|
|
505
|
-
class
|
|
505
|
+
class si {
|
|
506
506
|
/**
|
|
507
507
|
* ### PRIVATE API
|
|
508
508
|
*
|
|
@@ -521,7 +521,7 @@ class oi {
|
|
|
521
521
|
$$set = void 0;
|
|
522
522
|
/** @returns {void} */
|
|
523
523
|
$destroy() {
|
|
524
|
-
|
|
524
|
+
ri(this, 1), this.$destroy = I;
|
|
525
525
|
}
|
|
526
526
|
/**
|
|
527
527
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -530,8 +530,8 @@ class oi {
|
|
|
530
530
|
* @returns {() => void}
|
|
531
531
|
*/
|
|
532
532
|
$on(t, r) {
|
|
533
|
-
if (!
|
|
534
|
-
return
|
|
533
|
+
if (!ft(r))
|
|
534
|
+
return I;
|
|
535
535
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
536
536
|
return i.push(r), () => {
|
|
537
537
|
const n = i.indexOf(r);
|
|
@@ -543,11 +543,11 @@ class oi {
|
|
|
543
543
|
* @returns {void}
|
|
544
544
|
*/
|
|
545
545
|
$set(t) {
|
|
546
|
-
this.$$set &&
|
|
546
|
+
this.$$set && !$r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
const
|
|
550
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
549
|
+
const ai = "4";
|
|
550
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ai);
|
|
551
551
|
/*! *****************************************************************************
|
|
552
552
|
Copyright (c) Microsoft Corporation.
|
|
553
553
|
|
|
@@ -562,43 +562,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
562
562
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
563
563
|
PERFORMANCE OF THIS SOFTWARE.
|
|
564
564
|
***************************************************************************** */
|
|
565
|
-
var
|
|
566
|
-
return
|
|
565
|
+
var Je = function(e, t) {
|
|
566
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
567
567
|
r.__proto__ = i;
|
|
568
568
|
} || function(r, i) {
|
|
569
569
|
for (var n in i)
|
|
570
570
|
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
571
|
-
},
|
|
571
|
+
}, Je(e, t);
|
|
572
572
|
};
|
|
573
|
-
function
|
|
573
|
+
function fe(e, t) {
|
|
574
574
|
if (typeof t != "function" && t !== null)
|
|
575
575
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
576
|
-
|
|
576
|
+
Je(e, t);
|
|
577
577
|
function r() {
|
|
578
578
|
this.constructor = e;
|
|
579
579
|
}
|
|
580
580
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
581
581
|
}
|
|
582
|
-
|
|
583
|
-
return E = Object.assign || function(t) {
|
|
584
|
-
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
585
|
-
r = arguments[i];
|
|
586
|
-
for (var o in r)
|
|
587
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
588
|
-
}
|
|
589
|
-
return t;
|
|
590
|
-
}, E.apply(this, arguments);
|
|
591
|
-
};
|
|
592
|
-
function ai(e, t) {
|
|
593
|
-
var r = {};
|
|
594
|
-
for (var i in e)
|
|
595
|
-
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
596
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
597
|
-
for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
|
|
598
|
-
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
599
|
-
return r;
|
|
600
|
-
}
|
|
601
|
-
function Ye(e) {
|
|
582
|
+
function qe(e) {
|
|
602
583
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
603
584
|
if (r)
|
|
604
585
|
return r.call(e);
|
|
@@ -610,7 +591,7 @@ function Ye(e) {
|
|
|
610
591
|
};
|
|
611
592
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
612
593
|
}
|
|
613
|
-
function
|
|
594
|
+
function Ke(e, t) {
|
|
614
595
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
615
596
|
if (!r)
|
|
616
597
|
return e;
|
|
@@ -630,22 +611,22 @@ function Je(e, t) {
|
|
|
630
611
|
}
|
|
631
612
|
return o;
|
|
632
613
|
}
|
|
633
|
-
function
|
|
634
|
-
if (
|
|
614
|
+
function et(e, t, r) {
|
|
615
|
+
if (arguments.length === 2)
|
|
635
616
|
for (var i = 0, n = t.length, o; i < n; i++)
|
|
636
617
|
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
637
618
|
return e.concat(o || t);
|
|
638
619
|
}
|
|
639
|
-
function
|
|
620
|
+
function G(e) {
|
|
640
621
|
return typeof e == "function";
|
|
641
622
|
}
|
|
642
|
-
function
|
|
623
|
+
function Zt(e) {
|
|
643
624
|
var t = function(i) {
|
|
644
625
|
Error.call(i), i.stack = new Error().stack;
|
|
645
626
|
}, r = e(t);
|
|
646
627
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
647
628
|
}
|
|
648
|
-
var
|
|
629
|
+
var Ge = Zt(function(e) {
|
|
649
630
|
return function(r) {
|
|
650
631
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
651
632
|
` + r.map(function(i, n) {
|
|
@@ -654,13 +635,13 @@ var Ue = Xt(function(e) {
|
|
|
654
635
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
655
636
|
};
|
|
656
637
|
});
|
|
657
|
-
function
|
|
638
|
+
function tt(e, t) {
|
|
658
639
|
if (e) {
|
|
659
640
|
var r = e.indexOf(t);
|
|
660
641
|
0 <= r && e.splice(r, 1);
|
|
661
642
|
}
|
|
662
643
|
}
|
|
663
|
-
var
|
|
644
|
+
var He = function() {
|
|
664
645
|
function e(t) {
|
|
665
646
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
666
647
|
}
|
|
@@ -672,7 +653,7 @@ var Pe = function() {
|
|
|
672
653
|
if (a)
|
|
673
654
|
if (this._parentage = null, Array.isArray(a))
|
|
674
655
|
try {
|
|
675
|
-
for (var s =
|
|
656
|
+
for (var s = qe(a), h = s.next(); !h.done; h = s.next()) {
|
|
676
657
|
var u = h.value;
|
|
677
658
|
u.remove(this);
|
|
678
659
|
}
|
|
@@ -689,22 +670,22 @@ var Pe = function() {
|
|
|
689
670
|
else
|
|
690
671
|
a.remove(this);
|
|
691
672
|
var l = this.initialTeardown;
|
|
692
|
-
if (
|
|
673
|
+
if (G(l))
|
|
693
674
|
try {
|
|
694
675
|
l();
|
|
695
676
|
} catch (d) {
|
|
696
|
-
o = d instanceof
|
|
677
|
+
o = d instanceof Ge ? d.errors : [d];
|
|
697
678
|
}
|
|
698
679
|
var c = this._finalizers;
|
|
699
680
|
if (c) {
|
|
700
681
|
this._finalizers = null;
|
|
701
682
|
try {
|
|
702
|
-
for (var f =
|
|
683
|
+
for (var f = qe(c), p = f.next(); !p.done; p = f.next()) {
|
|
703
684
|
var y = p.value;
|
|
704
685
|
try {
|
|
705
|
-
|
|
686
|
+
_t(y);
|
|
706
687
|
} catch (d) {
|
|
707
|
-
o = o ?? [], d instanceof
|
|
688
|
+
o = o ?? [], d instanceof Ge ? o = et(et([], Ke(o)), Ke(d.errors)) : o.push(d);
|
|
708
689
|
}
|
|
709
690
|
}
|
|
710
691
|
} catch (d) {
|
|
@@ -719,13 +700,13 @@ var Pe = function() {
|
|
|
719
700
|
}
|
|
720
701
|
}
|
|
721
702
|
if (o)
|
|
722
|
-
throw new
|
|
703
|
+
throw new Ge(o);
|
|
723
704
|
}
|
|
724
705
|
}, e.prototype.add = function(t) {
|
|
725
706
|
var r;
|
|
726
707
|
if (t && t !== this)
|
|
727
708
|
if (this.closed)
|
|
728
|
-
|
|
709
|
+
_t(t);
|
|
729
710
|
else {
|
|
730
711
|
if (t instanceof e) {
|
|
731
712
|
if (t.closed || t._hasParent(this))
|
|
@@ -742,56 +723,52 @@ var Pe = function() {
|
|
|
742
723
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
743
724
|
}, e.prototype._removeParent = function(t) {
|
|
744
725
|
var r = this._parentage;
|
|
745
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
726
|
+
r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
|
|
746
727
|
}, e.prototype.remove = function(t) {
|
|
747
728
|
var r = this._finalizers;
|
|
748
|
-
r &&
|
|
729
|
+
r && tt(r, t), t instanceof e && t._removeParent(this);
|
|
749
730
|
}, e.EMPTY = function() {
|
|
750
731
|
var t = new e();
|
|
751
732
|
return t.closed = !0, t;
|
|
752
733
|
}(), e;
|
|
753
|
-
}(),
|
|
754
|
-
function
|
|
755
|
-
return e instanceof
|
|
756
|
-
}
|
|
757
|
-
function
|
|
758
|
-
|
|
759
|
-
}
|
|
760
|
-
var
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
Promise: void 0,
|
|
764
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
765
|
-
useDeprecatedNextContext: !1
|
|
766
|
-
}, ui = {
|
|
734
|
+
}(), Qt = He.EMPTY;
|
|
735
|
+
function Yt(e) {
|
|
736
|
+
return e instanceof He || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
737
|
+
}
|
|
738
|
+
function _t(e) {
|
|
739
|
+
G(e) ? e() : e.unsubscribe();
|
|
740
|
+
}
|
|
741
|
+
var ui = {
|
|
742
|
+
Promise: void 0
|
|
743
|
+
}, li = {
|
|
767
744
|
setTimeout: function(e, t) {
|
|
768
745
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
769
746
|
r[i - 2] = arguments[i];
|
|
770
|
-
return setTimeout.apply(void 0,
|
|
747
|
+
return setTimeout.apply(void 0, et([e, t], Ke(r)));
|
|
771
748
|
},
|
|
772
749
|
clearTimeout: function(e) {
|
|
773
750
|
return clearTimeout(e);
|
|
774
751
|
},
|
|
775
752
|
delegate: void 0
|
|
776
753
|
};
|
|
777
|
-
function
|
|
778
|
-
|
|
754
|
+
function hi(e) {
|
|
755
|
+
li.setTimeout(function() {
|
|
779
756
|
throw e;
|
|
780
757
|
});
|
|
781
758
|
}
|
|
782
|
-
function
|
|
759
|
+
function Et() {
|
|
783
760
|
}
|
|
784
761
|
function xe(e) {
|
|
785
762
|
e();
|
|
786
763
|
}
|
|
787
|
-
var
|
|
788
|
-
|
|
764
|
+
var Jt = function(e) {
|
|
765
|
+
fe(t, e);
|
|
789
766
|
function t(r) {
|
|
790
767
|
var i = e.call(this) || this;
|
|
791
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
768
|
+
return i.isStopped = !1, r ? (i.destination = r, Yt(r) && r.add(i)) : i.destination = mi, i;
|
|
792
769
|
}
|
|
793
770
|
return t.create = function(r, i, n) {
|
|
794
|
-
return new
|
|
771
|
+
return new rt(r, i, n);
|
|
795
772
|
}, t.prototype.next = function(r) {
|
|
796
773
|
this.isStopped || this._next(r);
|
|
797
774
|
}, t.prototype.error = function(r) {
|
|
@@ -815,11 +792,7 @@ var Yt = function(e) {
|
|
|
815
792
|
this.unsubscribe();
|
|
816
793
|
}
|
|
817
794
|
}, t;
|
|
818
|
-
}(
|
|
819
|
-
function $e(e, t) {
|
|
820
|
-
return hi.call(e, t);
|
|
821
|
-
}
|
|
822
|
-
var ci = function() {
|
|
795
|
+
}(He), ci = function() {
|
|
823
796
|
function e(t) {
|
|
824
797
|
this.partialObserver = t;
|
|
825
798
|
}
|
|
@@ -850,41 +823,29 @@ var ci = function() {
|
|
|
850
823
|
be(r);
|
|
851
824
|
}
|
|
852
825
|
}, e;
|
|
853
|
-
}(),
|
|
854
|
-
|
|
826
|
+
}(), rt = function(e) {
|
|
827
|
+
fe(t, e);
|
|
855
828
|
function t(r, i, n) {
|
|
856
829
|
var o = e.call(this) || this, a;
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
};
|
|
863
|
-
else {
|
|
864
|
-
var s;
|
|
865
|
-
o && Qt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
866
|
-
return o.unsubscribe();
|
|
867
|
-
}, a = {
|
|
868
|
-
next: r.next && $e(r.next, s),
|
|
869
|
-
error: r.error && $e(r.error, s),
|
|
870
|
-
complete: r.complete && $e(r.complete, s)
|
|
871
|
-
}) : a = r;
|
|
872
|
-
}
|
|
873
|
-
return o.destination = new ci(a), o;
|
|
830
|
+
return G(r) || !r ? a = {
|
|
831
|
+
next: r ?? void 0,
|
|
832
|
+
error: i ?? void 0,
|
|
833
|
+
complete: n ?? void 0
|
|
834
|
+
} : a = r, o.destination = new ci(a), o;
|
|
874
835
|
}
|
|
875
836
|
return t;
|
|
876
|
-
}(
|
|
837
|
+
}(Jt);
|
|
877
838
|
function be(e) {
|
|
878
|
-
|
|
839
|
+
hi(e);
|
|
879
840
|
}
|
|
880
841
|
function fi(e) {
|
|
881
842
|
throw e;
|
|
882
843
|
}
|
|
883
844
|
var mi = {
|
|
884
845
|
closed: !0,
|
|
885
|
-
next:
|
|
846
|
+
next: Et,
|
|
886
847
|
error: fi,
|
|
887
|
-
complete:
|
|
848
|
+
complete: Et
|
|
888
849
|
}, pi = function() {
|
|
889
850
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
890
851
|
}();
|
|
@@ -898,7 +859,7 @@ function yi(e) {
|
|
|
898
859
|
}, r);
|
|
899
860
|
};
|
|
900
861
|
}
|
|
901
|
-
var
|
|
862
|
+
var xt = function() {
|
|
902
863
|
function e(t) {
|
|
903
864
|
t && (this._subscribe = t);
|
|
904
865
|
}
|
|
@@ -906,7 +867,7 @@ var _t = function() {
|
|
|
906
867
|
var r = new e();
|
|
907
868
|
return r.source = this, r.operator = t, r;
|
|
908
869
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
909
|
-
var n = this, o = bi(t) ? t : new
|
|
870
|
+
var n = this, o = bi(t) ? t : new rt(t, r, i);
|
|
910
871
|
return xe(function() {
|
|
911
872
|
var a = n, s = a.operator, h = a.source;
|
|
912
873
|
o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
|
|
@@ -919,8 +880,8 @@ var _t = function() {
|
|
|
919
880
|
}
|
|
920
881
|
}, e.prototype.forEach = function(t, r) {
|
|
921
882
|
var i = this;
|
|
922
|
-
return r =
|
|
923
|
-
var a = new
|
|
883
|
+
return r = Tt(r), new r(function(n, o) {
|
|
884
|
+
var a = new rt({
|
|
924
885
|
next: function(s) {
|
|
925
886
|
try {
|
|
926
887
|
t(s);
|
|
@@ -944,7 +905,7 @@ var _t = function() {
|
|
|
944
905
|
return yi(t)(this);
|
|
945
906
|
}, e.prototype.toPromise = function(t) {
|
|
946
907
|
var r = this;
|
|
947
|
-
return t =
|
|
908
|
+
return t = Tt(t), new t(function(i, n) {
|
|
948
909
|
var o;
|
|
949
910
|
r.subscribe(function(a) {
|
|
950
911
|
return o = a;
|
|
@@ -958,28 +919,28 @@ var _t = function() {
|
|
|
958
919
|
return new e(t);
|
|
959
920
|
}, e;
|
|
960
921
|
}();
|
|
961
|
-
function
|
|
922
|
+
function Tt(e) {
|
|
962
923
|
var t;
|
|
963
|
-
return (t = e ??
|
|
924
|
+
return (t = e ?? ui.Promise) !== null && t !== void 0 ? t : Promise;
|
|
964
925
|
}
|
|
965
926
|
function gi(e) {
|
|
966
|
-
return e &&
|
|
927
|
+
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
967
928
|
}
|
|
968
929
|
function bi(e) {
|
|
969
|
-
return e && e instanceof
|
|
930
|
+
return e && e instanceof Jt || gi(e) && Yt(e);
|
|
970
931
|
}
|
|
971
|
-
var vi =
|
|
932
|
+
var vi = Zt(function(e) {
|
|
972
933
|
return function() {
|
|
973
934
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
974
935
|
};
|
|
975
|
-
}),
|
|
976
|
-
|
|
936
|
+
}), qt = function(e) {
|
|
937
|
+
fe(t, e);
|
|
977
938
|
function t() {
|
|
978
939
|
var r = e.call(this) || this;
|
|
979
940
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
980
941
|
}
|
|
981
942
|
return t.prototype.lift = function(r) {
|
|
982
|
-
var i = new
|
|
943
|
+
var i = new Lt(this, this);
|
|
983
944
|
return i.operator = r, i;
|
|
984
945
|
}, t.prototype._throwIfClosed = function() {
|
|
985
946
|
if (this.closed)
|
|
@@ -991,7 +952,7 @@ var vi = Xt(function(e) {
|
|
|
991
952
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
992
953
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
993
954
|
try {
|
|
994
|
-
for (var a =
|
|
955
|
+
for (var a = qe(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
995
956
|
var h = s.value;
|
|
996
957
|
h.next(r);
|
|
997
958
|
}
|
|
@@ -1040,20 +1001,20 @@ var vi = Xt(function(e) {
|
|
|
1040
1001
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1041
1002
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1042
1003
|
var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
|
|
1043
|
-
return o || a ?
|
|
1044
|
-
i.currentObservers = null,
|
|
1004
|
+
return o || a ? Qt : (this.currentObservers = null, s.push(r), new He(function() {
|
|
1005
|
+
i.currentObservers = null, tt(s, r);
|
|
1045
1006
|
}));
|
|
1046
1007
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1047
1008
|
var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
|
|
1048
1009
|
n ? r.error(o) : a && r.complete();
|
|
1049
1010
|
}, t.prototype.asObservable = function() {
|
|
1050
|
-
var r = new
|
|
1011
|
+
var r = new xt();
|
|
1051
1012
|
return r.source = this, r;
|
|
1052
1013
|
}, t.create = function(r, i) {
|
|
1053
|
-
return new
|
|
1014
|
+
return new Lt(r, i);
|
|
1054
1015
|
}, t;
|
|
1055
|
-
}(
|
|
1056
|
-
|
|
1016
|
+
}(xt), Lt = function(e) {
|
|
1017
|
+
fe(t, e);
|
|
1057
1018
|
function t(r, i) {
|
|
1058
1019
|
var n = e.call(this) || this;
|
|
1059
1020
|
return n.destination = r, n.source = i, n;
|
|
@@ -1069,17 +1030,17 @@ var vi = Xt(function(e) {
|
|
|
1069
1030
|
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
|
|
1070
1031
|
}, t.prototype._subscribe = function(r) {
|
|
1071
1032
|
var i, n;
|
|
1072
|
-
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n :
|
|
1033
|
+
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Qt;
|
|
1073
1034
|
}, t;
|
|
1074
|
-
}(
|
|
1035
|
+
}(qt), Kt = {
|
|
1075
1036
|
now: function() {
|
|
1076
|
-
return (
|
|
1037
|
+
return (Kt.delegate || Date).now();
|
|
1077
1038
|
},
|
|
1078
1039
|
delegate: void 0
|
|
1079
1040
|
}, _i = function(e) {
|
|
1080
|
-
|
|
1041
|
+
fe(t, e);
|
|
1081
1042
|
function t(r, i, n) {
|
|
1082
|
-
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n =
|
|
1043
|
+
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Kt);
|
|
1083
1044
|
var o = e.call(this) || this;
|
|
1084
1045
|
return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
|
|
1085
1046
|
}
|
|
@@ -1099,24 +1060,24 @@ var vi = Xt(function(e) {
|
|
|
1099
1060
|
u && o.splice(0, u + 1);
|
|
1100
1061
|
}
|
|
1101
1062
|
}, t;
|
|
1102
|
-
}(
|
|
1103
|
-
const
|
|
1104
|
-
if (
|
|
1063
|
+
}(qt);
|
|
1064
|
+
const St = [], wt = {}, Ei = (e, t = 0) => {
|
|
1065
|
+
if (St.indexOf(e) == -1) {
|
|
1105
1066
|
const r = new _i(t);
|
|
1106
|
-
|
|
1067
|
+
wt[e] = r, St.push(e);
|
|
1107
1068
|
}
|
|
1108
|
-
return
|
|
1069
|
+
return wt[e];
|
|
1109
1070
|
}, Q = [];
|
|
1110
1071
|
function xi(e, t) {
|
|
1111
1072
|
return {
|
|
1112
|
-
subscribe:
|
|
1073
|
+
subscribe: Oe(e, t).subscribe
|
|
1113
1074
|
};
|
|
1114
1075
|
}
|
|
1115
|
-
function
|
|
1076
|
+
function Oe(e, t = I) {
|
|
1116
1077
|
let r;
|
|
1117
1078
|
const i = /* @__PURE__ */ new Set();
|
|
1118
1079
|
function n(s) {
|
|
1119
|
-
if (
|
|
1080
|
+
if (Vt(e, s) && (e = s, r)) {
|
|
1120
1081
|
const h = !Q.length;
|
|
1121
1082
|
for (const u of i)
|
|
1122
1083
|
u[1](), Q.push(u, e);
|
|
@@ -1130,15 +1091,15 @@ function He(e, t = B) {
|
|
|
1130
1091
|
function o(s) {
|
|
1131
1092
|
n(s(e));
|
|
1132
1093
|
}
|
|
1133
|
-
function a(s, h =
|
|
1094
|
+
function a(s, h = I) {
|
|
1134
1095
|
const u = [s, h];
|
|
1135
|
-
return i.add(u), i.size === 1 && (r = t(n, o) ||
|
|
1096
|
+
return i.add(u), i.size === 1 && (r = t(n, o) || I), s(e), () => {
|
|
1136
1097
|
i.delete(u), i.size === 0 && r && (r(), r = null);
|
|
1137
1098
|
};
|
|
1138
1099
|
}
|
|
1139
1100
|
return { set: n, update: o, subscribe: a };
|
|
1140
1101
|
}
|
|
1141
|
-
function
|
|
1102
|
+
function ie(e, t, r) {
|
|
1142
1103
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
1143
1104
|
if (!n.every(Boolean))
|
|
1144
1105
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1146,15 +1107,15 @@ function ne(e, t, r) {
|
|
|
1146
1107
|
return xi(r, (a, s) => {
|
|
1147
1108
|
let h = !1;
|
|
1148
1109
|
const u = [];
|
|
1149
|
-
let l = 0, c =
|
|
1110
|
+
let l = 0, c = I;
|
|
1150
1111
|
const f = () => {
|
|
1151
1112
|
if (l)
|
|
1152
1113
|
return;
|
|
1153
1114
|
c();
|
|
1154
1115
|
const y = t(i ? u[0] : u, a, s);
|
|
1155
|
-
o ? a(y) : c =
|
|
1116
|
+
o ? a(y) : c = ft(y) ? y : I;
|
|
1156
1117
|
}, p = n.map(
|
|
1157
|
-
(y, d) =>
|
|
1118
|
+
(y, d) => Wt(
|
|
1158
1119
|
y,
|
|
1159
1120
|
(v) => {
|
|
1160
1121
|
u[d] = v, l &= ~(1 << d), h && f();
|
|
@@ -1165,7 +1126,7 @@ function ne(e, t, r) {
|
|
|
1165
1126
|
)
|
|
1166
1127
|
);
|
|
1167
1128
|
return h = !0, f(), function() {
|
|
1168
|
-
|
|
1129
|
+
re(p), c(), h = !1;
|
|
1169
1130
|
};
|
|
1170
1131
|
});
|
|
1171
1132
|
}
|
|
@@ -1186,32 +1147,32 @@ var Ai = typeof Symbol == "function" && Symbol.for, Pi = Ai ? Symbol.for("react.
|
|
|
1186
1147
|
function Hi(e) {
|
|
1187
1148
|
return e.$$typeof === Pi;
|
|
1188
1149
|
}
|
|
1189
|
-
function
|
|
1150
|
+
function Oi(e) {
|
|
1190
1151
|
return Array.isArray(e) ? [] : {};
|
|
1191
1152
|
}
|
|
1192
|
-
function
|
|
1193
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1153
|
+
function he(e, t) {
|
|
1154
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(Oi(e), e, t) : e;
|
|
1194
1155
|
}
|
|
1195
|
-
function
|
|
1156
|
+
function Ii(e, t, r) {
|
|
1196
1157
|
return e.concat(t).map(function(i) {
|
|
1197
|
-
return
|
|
1158
|
+
return he(i, r);
|
|
1198
1159
|
});
|
|
1199
1160
|
}
|
|
1200
|
-
function
|
|
1161
|
+
function Bi(e, t) {
|
|
1201
1162
|
if (!t.customMerge)
|
|
1202
|
-
return
|
|
1163
|
+
return q;
|
|
1203
1164
|
var r = t.customMerge(e);
|
|
1204
|
-
return typeof r == "function" ? r :
|
|
1165
|
+
return typeof r == "function" ? r : q;
|
|
1205
1166
|
}
|
|
1206
1167
|
function Ci(e) {
|
|
1207
1168
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1208
1169
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1209
1170
|
}) : [];
|
|
1210
1171
|
}
|
|
1211
|
-
function
|
|
1172
|
+
function At(e) {
|
|
1212
1173
|
return Object.keys(e).concat(Ci(e));
|
|
1213
1174
|
}
|
|
1214
|
-
function
|
|
1175
|
+
function er(e, t) {
|
|
1215
1176
|
try {
|
|
1216
1177
|
return t in e;
|
|
1217
1178
|
} catch {
|
|
@@ -1219,129 +1180,179 @@ function Kt(e, t) {
|
|
|
1219
1180
|
}
|
|
1220
1181
|
}
|
|
1221
1182
|
function Ni(e, t) {
|
|
1222
|
-
return
|
|
1183
|
+
return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1223
1184
|
}
|
|
1224
1185
|
function Ri(e, t, r) {
|
|
1225
1186
|
var i = {};
|
|
1226
|
-
return r.isMergeableObject(e) &&
|
|
1227
|
-
i[n] =
|
|
1228
|
-
}),
|
|
1229
|
-
Ni(e, n) || (
|
|
1187
|
+
return r.isMergeableObject(e) && At(e).forEach(function(n) {
|
|
1188
|
+
i[n] = he(e[n], r);
|
|
1189
|
+
}), At(t).forEach(function(n) {
|
|
1190
|
+
Ni(e, n) || (er(e, n) && r.isMergeableObject(t[n]) ? i[n] = Bi(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
|
|
1230
1191
|
}), i;
|
|
1231
1192
|
}
|
|
1232
|
-
function
|
|
1233
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1193
|
+
function q(e, t, r) {
|
|
1194
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Ii, r.isMergeableObject = r.isMergeableObject || Li, r.cloneUnlessOtherwiseSpecified = he;
|
|
1234
1195
|
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
1235
|
-
return o ? i ? r.arrayMerge(e, t, r) : Ri(e, t, r) :
|
|
1196
|
+
return o ? i ? r.arrayMerge(e, t, r) : Ri(e, t, r) : he(t, r);
|
|
1236
1197
|
}
|
|
1237
|
-
|
|
1198
|
+
q.all = function(t, r) {
|
|
1238
1199
|
if (!Array.isArray(t))
|
|
1239
1200
|
throw new Error("first argument should be an array");
|
|
1240
1201
|
return t.reduce(function(i, n) {
|
|
1241
|
-
return
|
|
1202
|
+
return q(i, n, r);
|
|
1242
1203
|
}, {});
|
|
1243
1204
|
};
|
|
1244
|
-
var Mi =
|
|
1205
|
+
var Mi = q, Di = Mi;
|
|
1245
1206
|
const Ui = /* @__PURE__ */ Ti(Di);
|
|
1246
|
-
function
|
|
1247
|
-
|
|
1207
|
+
var it = function(e, t) {
|
|
1208
|
+
return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
1209
|
+
r.__proto__ = i;
|
|
1210
|
+
} || function(r, i) {
|
|
1211
|
+
for (var n in i)
|
|
1212
|
+
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
1213
|
+
}, it(e, t);
|
|
1214
|
+
};
|
|
1215
|
+
function Ie(e, t) {
|
|
1216
|
+
if (typeof t != "function" && t !== null)
|
|
1217
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1218
|
+
it(e, t);
|
|
1219
|
+
function r() {
|
|
1220
|
+
this.constructor = e;
|
|
1221
|
+
}
|
|
1222
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1223
|
+
}
|
|
1224
|
+
var R = function() {
|
|
1225
|
+
return R = Object.assign || function(t) {
|
|
1226
|
+
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1227
|
+
r = arguments[i];
|
|
1228
|
+
for (var o in r)
|
|
1229
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1230
|
+
}
|
|
1231
|
+
return t;
|
|
1232
|
+
}, R.apply(this, arguments);
|
|
1233
|
+
};
|
|
1234
|
+
function $i(e, t) {
|
|
1235
|
+
var r = {};
|
|
1236
|
+
for (var i in e)
|
|
1237
|
+
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
1238
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1239
|
+
for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
|
|
1240
|
+
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
1241
|
+
return r;
|
|
1242
|
+
}
|
|
1243
|
+
function Fe(e, t, r) {
|
|
1244
|
+
if (r || arguments.length === 2)
|
|
1245
|
+
for (var i = 0, n = t.length, o; i < n; i++)
|
|
1246
|
+
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
1247
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1248
|
+
}
|
|
1249
|
+
function je(e, t) {
|
|
1250
|
+
var r = t && t.cache ? t.cache : Xi, i = t && t.serializer ? t.serializer : Vi, n = t && t.strategy ? t.strategy : ji;
|
|
1248
1251
|
return n(e, {
|
|
1249
1252
|
cache: r,
|
|
1250
1253
|
serializer: i
|
|
1251
1254
|
});
|
|
1252
1255
|
}
|
|
1253
|
-
function
|
|
1256
|
+
function Gi(e) {
|
|
1254
1257
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1255
1258
|
}
|
|
1256
|
-
function
|
|
1257
|
-
var n =
|
|
1259
|
+
function Fi(e, t, r, i) {
|
|
1260
|
+
var n = Gi(i) ? i : r(i), o = t.get(n);
|
|
1258
1261
|
return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
|
|
1259
1262
|
}
|
|
1260
1263
|
function tr(e, t, r) {
|
|
1261
1264
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
|
|
1262
1265
|
return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
|
|
1263
1266
|
}
|
|
1264
|
-
function
|
|
1267
|
+
function rr(e, t, r, i, n) {
|
|
1265
1268
|
return r.bind(t, e, i, n);
|
|
1266
1269
|
}
|
|
1267
|
-
function Gi(e, t) {
|
|
1268
|
-
var r = e.length === 1 ? er : tr;
|
|
1269
|
-
return lt(e, this, r, t.cache.create(), t.serializer);
|
|
1270
|
-
}
|
|
1271
|
-
function Fi(e, t) {
|
|
1272
|
-
return lt(e, this, tr, t.cache.create(), t.serializer);
|
|
1273
|
-
}
|
|
1274
1270
|
function ji(e, t) {
|
|
1275
|
-
|
|
1271
|
+
var r = e.length === 1 ? Fi : tr;
|
|
1272
|
+
return rr(e, this, r, t.cache.create(), t.serializer);
|
|
1276
1273
|
}
|
|
1277
|
-
|
|
1278
|
-
return
|
|
1279
|
-
};
|
|
1280
|
-
function ht() {
|
|
1281
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1274
|
+
function ki(e, t) {
|
|
1275
|
+
return rr(e, this, tr, t.cache.create(), t.serializer);
|
|
1282
1276
|
}
|
|
1283
|
-
|
|
1284
|
-
return
|
|
1285
|
-
}
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1277
|
+
var Vi = function() {
|
|
1278
|
+
return JSON.stringify(arguments);
|
|
1279
|
+
}, Wi = (
|
|
1280
|
+
/** @class */
|
|
1281
|
+
function() {
|
|
1282
|
+
function e() {
|
|
1283
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1284
|
+
}
|
|
1285
|
+
return e.prototype.get = function(t) {
|
|
1286
|
+
return this.cache[t];
|
|
1287
|
+
}, e.prototype.set = function(t, r) {
|
|
1288
|
+
this.cache[t] = r;
|
|
1289
|
+
}, e;
|
|
1290
|
+
}()
|
|
1291
|
+
), Xi = {
|
|
1290
1292
|
create: function() {
|
|
1291
|
-
return new
|
|
1293
|
+
return new Wi();
|
|
1292
1294
|
}
|
|
1293
|
-
},
|
|
1294
|
-
variadic:
|
|
1295
|
-
|
|
1296
|
-
|
|
1295
|
+
}, ke = {
|
|
1296
|
+
variadic: ki
|
|
1297
|
+
}, we = function() {
|
|
1298
|
+
return we = Object.assign || function(t) {
|
|
1299
|
+
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1300
|
+
r = arguments[i];
|
|
1301
|
+
for (var o in r)
|
|
1302
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1303
|
+
}
|
|
1304
|
+
return t;
|
|
1305
|
+
}, we.apply(this, arguments);
|
|
1306
|
+
};
|
|
1307
|
+
var b;
|
|
1297
1308
|
(function(e) {
|
|
1298
1309
|
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";
|
|
1299
1310
|
})(b || (b = {}));
|
|
1300
|
-
var
|
|
1311
|
+
var L;
|
|
1301
1312
|
(function(e) {
|
|
1302
1313
|
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";
|
|
1303
|
-
})(
|
|
1304
|
-
var
|
|
1314
|
+
})(L || (L = {}));
|
|
1315
|
+
var K;
|
|
1305
1316
|
(function(e) {
|
|
1306
1317
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1307
|
-
})(
|
|
1308
|
-
function
|
|
1309
|
-
return e.type ===
|
|
1310
|
-
}
|
|
1311
|
-
function Wi(e) {
|
|
1312
|
-
return e.type === S.argument;
|
|
1318
|
+
})(K || (K = {}));
|
|
1319
|
+
function Pt(e) {
|
|
1320
|
+
return e.type === L.literal;
|
|
1313
1321
|
}
|
|
1314
|
-
function
|
|
1315
|
-
return e.type ===
|
|
1322
|
+
function zi(e) {
|
|
1323
|
+
return e.type === L.argument;
|
|
1316
1324
|
}
|
|
1317
1325
|
function ir(e) {
|
|
1318
|
-
return e.type ===
|
|
1326
|
+
return e.type === L.number;
|
|
1319
1327
|
}
|
|
1320
1328
|
function nr(e) {
|
|
1321
|
-
return e.type ===
|
|
1329
|
+
return e.type === L.date;
|
|
1322
1330
|
}
|
|
1323
1331
|
function or(e) {
|
|
1324
|
-
return e.type ===
|
|
1332
|
+
return e.type === L.time;
|
|
1325
1333
|
}
|
|
1326
1334
|
function sr(e) {
|
|
1327
|
-
return e.type ===
|
|
1328
|
-
}
|
|
1329
|
-
function Xi(e) {
|
|
1330
|
-
return e.type === S.pound;
|
|
1335
|
+
return e.type === L.select;
|
|
1331
1336
|
}
|
|
1332
1337
|
function ar(e) {
|
|
1333
|
-
return e.type ===
|
|
1338
|
+
return e.type === L.plural;
|
|
1339
|
+
}
|
|
1340
|
+
function Zi(e) {
|
|
1341
|
+
return e.type === L.pound;
|
|
1334
1342
|
}
|
|
1335
1343
|
function ur(e) {
|
|
1336
|
-
return
|
|
1344
|
+
return e.type === L.tag;
|
|
1337
1345
|
}
|
|
1338
|
-
function
|
|
1339
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1346
|
+
function lr(e) {
|
|
1347
|
+
return !!(e && typeof e == "object" && e.type === K.number);
|
|
1340
1348
|
}
|
|
1341
|
-
|
|
1342
|
-
|
|
1349
|
+
function nt(e) {
|
|
1350
|
+
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
|
1351
|
+
}
|
|
1352
|
+
var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qi = /(?:[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;
|
|
1353
|
+
function Yi(e) {
|
|
1343
1354
|
var t = {};
|
|
1344
|
-
return e.replace(
|
|
1355
|
+
return e.replace(Qi, function(r) {
|
|
1345
1356
|
var i = r.length;
|
|
1346
1357
|
switch (r[0]) {
|
|
1347
1358
|
case "G":
|
|
@@ -1430,11 +1441,21 @@ function Zi(e) {
|
|
|
1430
1441
|
return "";
|
|
1431
1442
|
}), t;
|
|
1432
1443
|
}
|
|
1433
|
-
var
|
|
1434
|
-
function
|
|
1444
|
+
var w = function() {
|
|
1445
|
+
return w = Object.assign || function(t) {
|
|
1446
|
+
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1447
|
+
r = arguments[i];
|
|
1448
|
+
for (var o in r)
|
|
1449
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1450
|
+
}
|
|
1451
|
+
return t;
|
|
1452
|
+
}, w.apply(this, arguments);
|
|
1453
|
+
};
|
|
1454
|
+
var Ji = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1455
|
+
function qi(e) {
|
|
1435
1456
|
if (e.length === 0)
|
|
1436
1457
|
throw new Error("Number skeleton cannot be empty");
|
|
1437
|
-
for (var t = e.split(
|
|
1458
|
+
for (var t = e.split(Ji).filter(function(f) {
|
|
1438
1459
|
return f.length > 0;
|
|
1439
1460
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
1440
1461
|
var o = n[i], a = o.split("/");
|
|
@@ -1449,17 +1470,17 @@ function Yi(e) {
|
|
|
1449
1470
|
}
|
|
1450
1471
|
return r;
|
|
1451
1472
|
}
|
|
1452
|
-
function
|
|
1473
|
+
function Ki(e) {
|
|
1453
1474
|
return e.replace(/^(.*?)-/, "");
|
|
1454
1475
|
}
|
|
1455
|
-
var
|
|
1456
|
-
function
|
|
1476
|
+
var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, en = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
|
|
1477
|
+
function Ot(e) {
|
|
1457
1478
|
var t = {};
|
|
1458
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1479
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, i, n) {
|
|
1459
1480
|
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)), "";
|
|
1460
1481
|
}), t;
|
|
1461
1482
|
}
|
|
1462
|
-
function
|
|
1483
|
+
function mr(e) {
|
|
1463
1484
|
switch (e) {
|
|
1464
1485
|
case "sign-auto":
|
|
1465
1486
|
return {
|
|
@@ -1499,7 +1520,7 @@ function fr(e) {
|
|
|
1499
1520
|
};
|
|
1500
1521
|
}
|
|
1501
1522
|
}
|
|
1502
|
-
function
|
|
1523
|
+
function tn(e) {
|
|
1503
1524
|
var t;
|
|
1504
1525
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1505
1526
|
notation: "engineering"
|
|
@@ -1507,17 +1528,17 @@ function Ki(e) {
|
|
|
1507
1528
|
notation: "scientific"
|
|
1508
1529
|
}, e = e.slice(1)), t) {
|
|
1509
1530
|
var r = e.slice(0, 2);
|
|
1510
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1531
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
|
|
1511
1532
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1512
1533
|
t.minimumIntegerDigits = e.length;
|
|
1513
1534
|
}
|
|
1514
1535
|
return t;
|
|
1515
1536
|
}
|
|
1516
|
-
function
|
|
1517
|
-
var t = {}, r =
|
|
1537
|
+
function It(e) {
|
|
1538
|
+
var t = {}, r = mr(e);
|
|
1518
1539
|
return r || t;
|
|
1519
1540
|
}
|
|
1520
|
-
function
|
|
1541
|
+
function rn(e) {
|
|
1521
1542
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
1522
1543
|
var n = i[r];
|
|
1523
1544
|
switch (n.stem) {
|
|
@@ -1541,7 +1562,7 @@ function en(e) {
|
|
|
1541
1562
|
continue;
|
|
1542
1563
|
case "measure-unit":
|
|
1543
1564
|
case "unit":
|
|
1544
|
-
t.style = "unit", t.unit =
|
|
1565
|
+
t.style = "unit", t.unit = Ki(n.options[0]);
|
|
1545
1566
|
continue;
|
|
1546
1567
|
case "compact-short":
|
|
1547
1568
|
case "K":
|
|
@@ -1552,13 +1573,13 @@ function en(e) {
|
|
|
1552
1573
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1553
1574
|
continue;
|
|
1554
1575
|
case "scientific":
|
|
1555
|
-
t =
|
|
1556
|
-
return
|
|
1576
|
+
t = w(w(w({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
|
|
1577
|
+
return w(w({}, h), It(u));
|
|
1557
1578
|
}, {}));
|
|
1558
1579
|
continue;
|
|
1559
1580
|
case "engineering":
|
|
1560
|
-
t =
|
|
1561
|
-
return
|
|
1581
|
+
t = w(w(w({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
|
|
1582
|
+
return w(w({}, h), It(u));
|
|
1562
1583
|
}, {}));
|
|
1563
1584
|
continue;
|
|
1564
1585
|
case "notation-simple":
|
|
@@ -1603,7 +1624,7 @@ function en(e) {
|
|
|
1603
1624
|
case "integer-width":
|
|
1604
1625
|
if (n.options.length > 1)
|
|
1605
1626
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1606
|
-
n.options[0].replace(
|
|
1627
|
+
n.options[0].replace(en, function(h, u, l, c, f, p) {
|
|
1607
1628
|
if (u)
|
|
1608
1629
|
t.minimumIntegerDigits = l.length;
|
|
1609
1630
|
else {
|
|
@@ -1616,28 +1637,28 @@ function en(e) {
|
|
|
1616
1637
|
});
|
|
1617
1638
|
continue;
|
|
1618
1639
|
}
|
|
1619
|
-
if (
|
|
1640
|
+
if (fr.test(n.stem)) {
|
|
1620
1641
|
t.minimumIntegerDigits = n.stem.length;
|
|
1621
1642
|
continue;
|
|
1622
1643
|
}
|
|
1623
|
-
if (
|
|
1644
|
+
if (Ht.test(n.stem)) {
|
|
1624
1645
|
if (n.options.length > 1)
|
|
1625
1646
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1626
|
-
n.stem.replace(
|
|
1647
|
+
n.stem.replace(Ht, function(h, u, l, c, f, p) {
|
|
1627
1648
|
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), "";
|
|
1628
1649
|
});
|
|
1629
1650
|
var o = n.options[0];
|
|
1630
|
-
o === "w" ? t =
|
|
1651
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Ot(o)));
|
|
1631
1652
|
continue;
|
|
1632
1653
|
}
|
|
1633
|
-
if (
|
|
1634
|
-
t =
|
|
1654
|
+
if (cr.test(n.stem)) {
|
|
1655
|
+
t = w(w({}, t), Ot(n.stem));
|
|
1635
1656
|
continue;
|
|
1636
1657
|
}
|
|
1637
|
-
var a =
|
|
1638
|
-
a && (t =
|
|
1639
|
-
var s =
|
|
1640
|
-
s && (t =
|
|
1658
|
+
var a = mr(n.stem);
|
|
1659
|
+
a && (t = w(w({}, t), a));
|
|
1660
|
+
var s = tn(n.stem);
|
|
1661
|
+
s && (t = w(w({}, t), s));
|
|
1641
1662
|
}
|
|
1642
1663
|
return t;
|
|
1643
1664
|
}
|
|
@@ -3056,13 +3077,13 @@ var ve = {
|
|
|
3056
3077
|
"h"
|
|
3057
3078
|
]
|
|
3058
3079
|
};
|
|
3059
|
-
function
|
|
3080
|
+
function nn(e, t) {
|
|
3060
3081
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
3061
3082
|
var n = e.charAt(i);
|
|
3062
3083
|
if (n === "j") {
|
|
3063
3084
|
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
3064
3085
|
o++, i++;
|
|
3065
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
3086
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = on(t);
|
|
3066
3087
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3067
3088
|
r += h;
|
|
3068
3089
|
for (; a-- > 0; )
|
|
@@ -3072,7 +3093,7 @@ function tn(e, t) {
|
|
|
3072
3093
|
}
|
|
3073
3094
|
return r;
|
|
3074
3095
|
}
|
|
3075
|
-
function
|
|
3096
|
+
function on(e) {
|
|
3076
3097
|
var t = e.hourCycle;
|
|
3077
3098
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3078
3099
|
e.hourCycles && // @ts-ignore
|
|
@@ -3094,20 +3115,20 @@ function rn(e) {
|
|
|
3094
3115
|
var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
3095
3116
|
return n[0];
|
|
3096
3117
|
}
|
|
3097
|
-
var
|
|
3118
|
+
var Ve, sn = new RegExp("^".concat(hr.source, "*")), an = new RegExp("".concat(hr.source, "*$"));
|
|
3098
3119
|
function _(e, t) {
|
|
3099
3120
|
return { start: e, end: t };
|
|
3100
3121
|
}
|
|
3101
|
-
var
|
|
3122
|
+
var un = !!String.prototype.startsWith && "_a".startsWith("a", 1), ln = !!String.fromCodePoint, hn = !!Object.fromEntries, cn = !!String.prototype.codePointAt, fn = !!String.prototype.trimStart, mn = !!String.prototype.trimEnd, pn = !!Number.isSafeInteger, dn = pn ? Number.isSafeInteger : function(e) {
|
|
3102
3123
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3103
|
-
},
|
|
3124
|
+
}, ot = !0;
|
|
3104
3125
|
try {
|
|
3105
|
-
var
|
|
3106
|
-
|
|
3126
|
+
var yn = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3127
|
+
ot = ((Ve = yn.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
|
|
3107
3128
|
} catch {
|
|
3108
|
-
|
|
3129
|
+
ot = !1;
|
|
3109
3130
|
}
|
|
3110
|
-
var
|
|
3131
|
+
var Bt = un ? (
|
|
3111
3132
|
// Native
|
|
3112
3133
|
function(t, r, i) {
|
|
3113
3134
|
return t.startsWith(r, i);
|
|
@@ -3117,7 +3138,7 @@ var It = sn ? (
|
|
|
3117
3138
|
function(t, r, i) {
|
|
3118
3139
|
return t.slice(i, i + r.length) === r;
|
|
3119
3140
|
}
|
|
3120
|
-
),
|
|
3141
|
+
), st = ln ? String.fromCodePoint : (
|
|
3121
3142
|
// IE11
|
|
3122
3143
|
function() {
|
|
3123
3144
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3129,9 +3150,9 @@ var It = sn ? (
|
|
|
3129
3150
|
}
|
|
3130
3151
|
return i;
|
|
3131
3152
|
}
|
|
3132
|
-
),
|
|
3153
|
+
), Ct = (
|
|
3133
3154
|
// native
|
|
3134
|
-
|
|
3155
|
+
hn ? Object.fromEntries : (
|
|
3135
3156
|
// Ponyfill
|
|
3136
3157
|
function(t) {
|
|
3137
3158
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
@@ -3141,7 +3162,7 @@ var It = sn ? (
|
|
|
3141
3162
|
return r;
|
|
3142
3163
|
}
|
|
3143
3164
|
)
|
|
3144
|
-
),
|
|
3165
|
+
), pr = cn ? (
|
|
3145
3166
|
// Native
|
|
3146
3167
|
function(t, r) {
|
|
3147
3168
|
return t.codePointAt(r);
|
|
@@ -3155,7 +3176,7 @@ var It = sn ? (
|
|
|
3155
3176
|
return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
3156
3177
|
}
|
|
3157
3178
|
}
|
|
3158
|
-
),
|
|
3179
|
+
), gn = fn ? (
|
|
3159
3180
|
// Native
|
|
3160
3181
|
function(t) {
|
|
3161
3182
|
return t.trimStart();
|
|
@@ -3163,9 +3184,9 @@ var It = sn ? (
|
|
|
3163
3184
|
) : (
|
|
3164
3185
|
// Ponyfill
|
|
3165
3186
|
function(t) {
|
|
3166
|
-
return t.replace(
|
|
3187
|
+
return t.replace(sn, "");
|
|
3167
3188
|
}
|
|
3168
|
-
),
|
|
3189
|
+
), bn = mn ? (
|
|
3169
3190
|
// Native
|
|
3170
3191
|
function(t) {
|
|
3171
3192
|
return t.trimEnd();
|
|
@@ -3173,32 +3194,32 @@ var It = sn ? (
|
|
|
3173
3194
|
) : (
|
|
3174
3195
|
// Ponyfill
|
|
3175
3196
|
function(t) {
|
|
3176
|
-
return t.replace(
|
|
3197
|
+
return t.replace(an, "");
|
|
3177
3198
|
}
|
|
3178
3199
|
);
|
|
3179
|
-
function
|
|
3200
|
+
function dr(e, t) {
|
|
3180
3201
|
return new RegExp(e, t);
|
|
3181
3202
|
}
|
|
3182
|
-
var
|
|
3183
|
-
if (
|
|
3184
|
-
var
|
|
3185
|
-
|
|
3203
|
+
var at;
|
|
3204
|
+
if (ot) {
|
|
3205
|
+
var Nt = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3206
|
+
at = function(t, r) {
|
|
3186
3207
|
var i;
|
|
3187
|
-
|
|
3188
|
-
var n =
|
|
3208
|
+
Nt.lastIndex = r;
|
|
3209
|
+
var n = Nt.exec(t);
|
|
3189
3210
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
3190
3211
|
};
|
|
3191
3212
|
} else
|
|
3192
|
-
|
|
3213
|
+
at = function(t, r) {
|
|
3193
3214
|
for (var i = []; ; ) {
|
|
3194
|
-
var n =
|
|
3195
|
-
if (n === void 0 ||
|
|
3215
|
+
var n = pr(t, r);
|
|
3216
|
+
if (n === void 0 || yr(n) || xn(n))
|
|
3196
3217
|
break;
|
|
3197
3218
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
3198
3219
|
}
|
|
3199
|
-
return
|
|
3220
|
+
return st.apply(void 0, i);
|
|
3200
3221
|
};
|
|
3201
|
-
var
|
|
3222
|
+
var vn = (
|
|
3202
3223
|
/** @class */
|
|
3203
3224
|
function() {
|
|
3204
3225
|
function e(t, r) {
|
|
@@ -3222,14 +3243,14 @@ var gn = (
|
|
|
3222
3243
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3223
3244
|
var s = this.clonePosition();
|
|
3224
3245
|
this.bump(), n.push({
|
|
3225
|
-
type:
|
|
3246
|
+
type: L.pound,
|
|
3226
3247
|
location: _(s, this.clonePosition())
|
|
3227
3248
|
});
|
|
3228
3249
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3229
3250
|
if (i)
|
|
3230
3251
|
break;
|
|
3231
3252
|
return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3232
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3253
|
+
} else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
|
|
3233
3254
|
var a = this.parseTag(t, r);
|
|
3234
3255
|
if (a.err)
|
|
3235
3256
|
return a;
|
|
@@ -3250,7 +3271,7 @@ var gn = (
|
|
|
3250
3271
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3251
3272
|
return {
|
|
3252
3273
|
val: {
|
|
3253
|
-
type:
|
|
3274
|
+
type: L.literal,
|
|
3254
3275
|
value: "<".concat(n, "/>"),
|
|
3255
3276
|
location: _(i, this.clonePosition())
|
|
3256
3277
|
},
|
|
@@ -3262,12 +3283,12 @@ var gn = (
|
|
|
3262
3283
|
return o;
|
|
3263
3284
|
var a = o.val, s = this.clonePosition();
|
|
3264
3285
|
if (this.bumpIf("</")) {
|
|
3265
|
-
if (this.isEOF() || !
|
|
3286
|
+
if (this.isEOF() || !ut(this.char()))
|
|
3266
3287
|
return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
|
|
3267
3288
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3268
3289
|
return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3269
3290
|
val: {
|
|
3270
|
-
type:
|
|
3291
|
+
type: L.tag,
|
|
3271
3292
|
value: n,
|
|
3272
3293
|
children: a,
|
|
3273
3294
|
location: _(i, this.clonePosition())
|
|
@@ -3280,7 +3301,7 @@ var gn = (
|
|
|
3280
3301
|
return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
|
|
3281
3302
|
}, e.prototype.parseTagName = function() {
|
|
3282
3303
|
var t = this.offset();
|
|
3283
|
-
for (this.bump(); !this.isEOF() &&
|
|
3304
|
+
for (this.bump(); !this.isEOF() && En(this.char()); )
|
|
3284
3305
|
this.bump();
|
|
3285
3306
|
return this.message.slice(t, this.offset());
|
|
3286
3307
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3304,12 +3325,12 @@ var gn = (
|
|
|
3304
3325
|
}
|
|
3305
3326
|
var h = _(i, this.clonePosition());
|
|
3306
3327
|
return {
|
|
3307
|
-
val: { type:
|
|
3328
|
+
val: { type: L.literal, value: n, location: h },
|
|
3308
3329
|
err: null
|
|
3309
3330
|
};
|
|
3310
3331
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3311
3332
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3312
|
-
!
|
|
3333
|
+
!_n(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3313
3334
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3314
3335
|
if (this.isEOF() || this.char() !== 39)
|
|
3315
3336
|
return null;
|
|
@@ -3343,12 +3364,12 @@ var gn = (
|
|
|
3343
3364
|
r.push(i);
|
|
3344
3365
|
this.bump();
|
|
3345
3366
|
}
|
|
3346
|
-
return
|
|
3367
|
+
return st.apply(void 0, r);
|
|
3347
3368
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3348
3369
|
if (this.isEOF())
|
|
3349
3370
|
return null;
|
|
3350
3371
|
var i = this.char();
|
|
3351
|
-
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(),
|
|
3372
|
+
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), st(i));
|
|
3352
3373
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3353
3374
|
var i = this.clonePosition();
|
|
3354
3375
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3364,7 +3385,7 @@ var gn = (
|
|
|
3364
3385
|
case 125:
|
|
3365
3386
|
return this.bump(), {
|
|
3366
3387
|
val: {
|
|
3367
|
-
type:
|
|
3388
|
+
type: L.argument,
|
|
3368
3389
|
// value does not include the opening and closing braces.
|
|
3369
3390
|
value: n,
|
|
3370
3391
|
location: _(i, this.clonePosition())
|
|
@@ -3377,7 +3398,7 @@ var gn = (
|
|
|
3377
3398
|
return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
|
|
3378
3399
|
}
|
|
3379
3400
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3380
|
-
var t = this.clonePosition(), r = this.offset(), i =
|
|
3401
|
+
var t = this.clonePosition(), r = this.offset(), i = at(this.message, r), n = r + i.length;
|
|
3381
3402
|
this.bumpTo(n);
|
|
3382
3403
|
var o = this.clonePosition(), a = _(t, o);
|
|
3383
3404
|
return { value: i, location: a };
|
|
@@ -3396,7 +3417,7 @@ var gn = (
|
|
|
3396
3417
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3397
3418
|
if (c.err)
|
|
3398
3419
|
return c;
|
|
3399
|
-
var f =
|
|
3420
|
+
var f = bn(c.val);
|
|
3400
3421
|
if (f.length === 0)
|
|
3401
3422
|
return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3402
3423
|
var p = _(l, this.clonePosition());
|
|
@@ -3406,25 +3427,25 @@ var gn = (
|
|
|
3406
3427
|
if (y.err)
|
|
3407
3428
|
return y;
|
|
3408
3429
|
var d = _(n, this.clonePosition());
|
|
3409
|
-
if (u &&
|
|
3410
|
-
var v =
|
|
3430
|
+
if (u && Bt(u?.style, "::", 0)) {
|
|
3431
|
+
var v = gn(u.style.slice(2));
|
|
3411
3432
|
if (s === "number") {
|
|
3412
3433
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3413
3434
|
return c.err ? c : {
|
|
3414
|
-
val: { type:
|
|
3435
|
+
val: { type: L.number, value: i, location: d, style: c.val },
|
|
3415
3436
|
err: null
|
|
3416
3437
|
};
|
|
3417
3438
|
} else {
|
|
3418
3439
|
if (v.length === 0)
|
|
3419
3440
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3420
3441
|
var H = v;
|
|
3421
|
-
this.locale && (H =
|
|
3442
|
+
this.locale && (H = nn(v, this.locale));
|
|
3422
3443
|
var f = {
|
|
3423
|
-
type:
|
|
3444
|
+
type: K.dateTime,
|
|
3424
3445
|
pattern: H,
|
|
3425
3446
|
location: u.styleLocation,
|
|
3426
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3427
|
-
}, g = s === "date" ?
|
|
3447
|
+
parsedOptions: this.shouldParseSkeletons ? Yi(H) : {}
|
|
3448
|
+
}, g = s === "date" ? L.date : L.time;
|
|
3428
3449
|
return {
|
|
3429
3450
|
val: { type: g, value: i, location: d, style: f },
|
|
3430
3451
|
err: null
|
|
@@ -3433,7 +3454,7 @@ var gn = (
|
|
|
3433
3454
|
}
|
|
3434
3455
|
return {
|
|
3435
3456
|
val: {
|
|
3436
|
-
type: s === "number" ?
|
|
3457
|
+
type: s === "number" ? L.number : s === "date" ? L.date : L.time,
|
|
3437
3458
|
value: i,
|
|
3438
3459
|
location: d,
|
|
3439
3460
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3444,40 +3465,40 @@ var gn = (
|
|
|
3444
3465
|
case "plural":
|
|
3445
3466
|
case "selectordinal":
|
|
3446
3467
|
case "select": {
|
|
3447
|
-
var
|
|
3468
|
+
var S = this.clonePosition();
|
|
3448
3469
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3449
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(
|
|
3470
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, we({}, S)));
|
|
3450
3471
|
this.bumpSpace();
|
|
3451
|
-
var
|
|
3452
|
-
if (s !== "select" &&
|
|
3472
|
+
var D = this.parseIdentifierIfPossible(), N = 0;
|
|
3473
|
+
if (s !== "select" && D.value === "offset") {
|
|
3453
3474
|
if (!this.bumpIf(":"))
|
|
3454
3475
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3455
3476
|
this.bumpSpace();
|
|
3456
3477
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3457
3478
|
if (c.err)
|
|
3458
3479
|
return c;
|
|
3459
|
-
this.bumpSpace(),
|
|
3480
|
+
this.bumpSpace(), D = this.parseIdentifierIfPossible(), N = c.val;
|
|
3460
3481
|
}
|
|
3461
|
-
var
|
|
3462
|
-
if (
|
|
3463
|
-
return
|
|
3482
|
+
var U = this.tryParsePluralOrSelectOptions(t, s, r, D);
|
|
3483
|
+
if (U.err)
|
|
3484
|
+
return U;
|
|
3464
3485
|
var y = this.tryParseArgumentClose(n);
|
|
3465
3486
|
if (y.err)
|
|
3466
3487
|
return y;
|
|
3467
3488
|
var V = _(n, this.clonePosition());
|
|
3468
3489
|
return s === "select" ? {
|
|
3469
3490
|
val: {
|
|
3470
|
-
type:
|
|
3491
|
+
type: L.select,
|
|
3471
3492
|
value: i,
|
|
3472
|
-
options:
|
|
3493
|
+
options: Ct(U.val),
|
|
3473
3494
|
location: V
|
|
3474
3495
|
},
|
|
3475
3496
|
err: null
|
|
3476
3497
|
} : {
|
|
3477
3498
|
val: {
|
|
3478
|
-
type:
|
|
3499
|
+
type: L.plural,
|
|
3479
3500
|
value: i,
|
|
3480
|
-
options:
|
|
3501
|
+
options: Ct(U.val),
|
|
3481
3502
|
offset: N,
|
|
3482
3503
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3483
3504
|
location: V
|
|
@@ -3528,16 +3549,16 @@ var gn = (
|
|
|
3528
3549
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3529
3550
|
var i = [];
|
|
3530
3551
|
try {
|
|
3531
|
-
i =
|
|
3552
|
+
i = qi(t);
|
|
3532
3553
|
} catch {
|
|
3533
3554
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3534
3555
|
}
|
|
3535
3556
|
return {
|
|
3536
3557
|
val: {
|
|
3537
|
-
type:
|
|
3558
|
+
type: K.number,
|
|
3538
3559
|
tokens: i,
|
|
3539
3560
|
location: r,
|
|
3540
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3561
|
+
parsedOptions: this.shouldParseSkeletons ? rn(i) : {}
|
|
3541
3562
|
},
|
|
3542
3563
|
err: null
|
|
3543
3564
|
};
|
|
@@ -3585,7 +3606,7 @@ var gn = (
|
|
|
3585
3606
|
break;
|
|
3586
3607
|
}
|
|
3587
3608
|
var h = _(n, this.clonePosition());
|
|
3588
|
-
return o ? (a *= i,
|
|
3609
|
+
return o ? (a *= i, dn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3589
3610
|
}, e.prototype.offset = function() {
|
|
3590
3611
|
return this.position.offset;
|
|
3591
3612
|
}, e.prototype.isEOF = function() {
|
|
@@ -3600,7 +3621,7 @@ var gn = (
|
|
|
3600
3621
|
var t = this.position.offset;
|
|
3601
3622
|
if (t >= this.message.length)
|
|
3602
3623
|
throw Error("out of bound");
|
|
3603
|
-
var r =
|
|
3624
|
+
var r = pr(this.message, t);
|
|
3604
3625
|
if (r === void 0)
|
|
3605
3626
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3606
3627
|
return r;
|
|
@@ -3619,7 +3640,7 @@ var gn = (
|
|
|
3619
3640
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3620
3641
|
}
|
|
3621
3642
|
}, e.prototype.bumpIf = function(t) {
|
|
3622
|
-
if (
|
|
3643
|
+
if (Bt(this.message, t, this.offset())) {
|
|
3623
3644
|
for (var r = 0; r < t.length; r++)
|
|
3624
3645
|
this.bump();
|
|
3625
3646
|
return !0;
|
|
@@ -3641,7 +3662,7 @@ var gn = (
|
|
|
3641
3662
|
break;
|
|
3642
3663
|
}
|
|
3643
3664
|
}, e.prototype.bumpSpace = function() {
|
|
3644
|
-
for (; !this.isEOF() &&
|
|
3665
|
+
for (; !this.isEOF() && yr(this.char()); )
|
|
3645
3666
|
this.bump();
|
|
3646
3667
|
}, e.prototype.peek = function() {
|
|
3647
3668
|
if (this.isEOF())
|
|
@@ -3651,47 +3672,47 @@ var gn = (
|
|
|
3651
3672
|
}, e;
|
|
3652
3673
|
}()
|
|
3653
3674
|
);
|
|
3654
|
-
function
|
|
3675
|
+
function ut(e) {
|
|
3655
3676
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3656
3677
|
}
|
|
3657
|
-
function
|
|
3658
|
-
return
|
|
3678
|
+
function _n(e) {
|
|
3679
|
+
return ut(e) || e === 47;
|
|
3659
3680
|
}
|
|
3660
|
-
function
|
|
3681
|
+
function En(e) {
|
|
3661
3682
|
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;
|
|
3662
3683
|
}
|
|
3663
|
-
function
|
|
3684
|
+
function yr(e) {
|
|
3664
3685
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3665
3686
|
}
|
|
3666
|
-
function
|
|
3687
|
+
function xn(e) {
|
|
3667
3688
|
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;
|
|
3668
3689
|
}
|
|
3669
|
-
function
|
|
3690
|
+
function lt(e) {
|
|
3670
3691
|
e.forEach(function(t) {
|
|
3671
|
-
if (delete t.location,
|
|
3692
|
+
if (delete t.location, sr(t) || ar(t))
|
|
3672
3693
|
for (var r in t.options)
|
|
3673
|
-
delete t.options[r].location,
|
|
3694
|
+
delete t.options[r].location, lt(t.options[r].value);
|
|
3674
3695
|
else
|
|
3675
|
-
|
|
3696
|
+
ir(t) && lr(t.style) || (nr(t) || or(t)) && nt(t.style) ? delete t.style.location : ur(t) && lt(t.children);
|
|
3676
3697
|
});
|
|
3677
3698
|
}
|
|
3678
|
-
function
|
|
3679
|
-
t === void 0 && (t = {}), t =
|
|
3680
|
-
var r = new
|
|
3699
|
+
function Tn(e, t) {
|
|
3700
|
+
t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3701
|
+
var r = new vn(e, t).parse();
|
|
3681
3702
|
if (r.err) {
|
|
3682
3703
|
var i = SyntaxError(b[r.err.kind]);
|
|
3683
3704
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3684
3705
|
}
|
|
3685
|
-
return t?.captureLocation ||
|
|
3706
|
+
return t?.captureLocation || lt(r.val), r.val;
|
|
3686
3707
|
}
|
|
3687
|
-
var
|
|
3708
|
+
var ee;
|
|
3688
3709
|
(function(e) {
|
|
3689
3710
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3690
|
-
})(
|
|
3691
|
-
var
|
|
3711
|
+
})(ee || (ee = {}));
|
|
3712
|
+
var Be = (
|
|
3692
3713
|
/** @class */
|
|
3693
3714
|
function(e) {
|
|
3694
|
-
|
|
3715
|
+
Ie(t, e);
|
|
3695
3716
|
function t(r, i, n) {
|
|
3696
3717
|
var o = e.call(this, r) || this;
|
|
3697
3718
|
return o.code = i, o.originalMessage = n, o;
|
|
@@ -3700,155 +3721,155 @@ var Ie = (
|
|
|
3700
3721
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3701
3722
|
}, t;
|
|
3702
3723
|
}(Error)
|
|
3703
|
-
),
|
|
3724
|
+
), Rt = (
|
|
3704
3725
|
/** @class */
|
|
3705
3726
|
function(e) {
|
|
3706
|
-
|
|
3727
|
+
Ie(t, e);
|
|
3707
3728
|
function t(r, i, n, o) {
|
|
3708
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3729
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
|
|
3709
3730
|
}
|
|
3710
3731
|
return t;
|
|
3711
|
-
}(
|
|
3712
|
-
),
|
|
3732
|
+
}(Be)
|
|
3733
|
+
), Ln = (
|
|
3713
3734
|
/** @class */
|
|
3714
3735
|
function(e) {
|
|
3715
|
-
|
|
3736
|
+
Ie(t, e);
|
|
3716
3737
|
function t(r, i, n) {
|
|
3717
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i),
|
|
3738
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), ee.INVALID_VALUE, n) || this;
|
|
3718
3739
|
}
|
|
3719
3740
|
return t;
|
|
3720
|
-
}(
|
|
3721
|
-
),
|
|
3741
|
+
}(Be)
|
|
3742
|
+
), Sn = (
|
|
3722
3743
|
/** @class */
|
|
3723
3744
|
function(e) {
|
|
3724
|
-
|
|
3745
|
+
Ie(t, e);
|
|
3725
3746
|
function t(r, i) {
|
|
3726
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'),
|
|
3747
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), ee.MISSING_VALUE, i) || this;
|
|
3727
3748
|
}
|
|
3728
3749
|
return t;
|
|
3729
|
-
}(
|
|
3730
|
-
),
|
|
3750
|
+
}(Be)
|
|
3751
|
+
), O;
|
|
3731
3752
|
(function(e) {
|
|
3732
3753
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3733
|
-
})(
|
|
3734
|
-
function
|
|
3754
|
+
})(O || (O = {}));
|
|
3755
|
+
function wn(e) {
|
|
3735
3756
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3736
3757
|
var i = t[t.length - 1];
|
|
3737
|
-
return !i || i.type !==
|
|
3758
|
+
return !i || i.type !== O.literal || r.type !== O.literal ? t.push(r) : i.value += r.value, t;
|
|
3738
3759
|
}, []);
|
|
3739
3760
|
}
|
|
3740
|
-
function
|
|
3761
|
+
function An(e) {
|
|
3741
3762
|
return typeof e == "function";
|
|
3742
3763
|
}
|
|
3743
3764
|
function Te(e, t, r, i, n, o, a) {
|
|
3744
|
-
if (e.length === 1 &&
|
|
3765
|
+
if (e.length === 1 && Pt(e[0]))
|
|
3745
3766
|
return [
|
|
3746
3767
|
{
|
|
3747
|
-
type:
|
|
3768
|
+
type: O.literal,
|
|
3748
3769
|
value: e[0].value
|
|
3749
3770
|
}
|
|
3750
3771
|
];
|
|
3751
3772
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
3752
3773
|
var l = u[h];
|
|
3753
|
-
if (
|
|
3774
|
+
if (Pt(l)) {
|
|
3754
3775
|
s.push({
|
|
3755
|
-
type:
|
|
3776
|
+
type: O.literal,
|
|
3756
3777
|
value: l.value
|
|
3757
3778
|
});
|
|
3758
3779
|
continue;
|
|
3759
3780
|
}
|
|
3760
|
-
if (
|
|
3781
|
+
if (Zi(l)) {
|
|
3761
3782
|
typeof o == "number" && s.push({
|
|
3762
|
-
type:
|
|
3783
|
+
type: O.literal,
|
|
3763
3784
|
value: r.getNumberFormat(t).format(o)
|
|
3764
3785
|
});
|
|
3765
3786
|
continue;
|
|
3766
3787
|
}
|
|
3767
3788
|
var c = l.value;
|
|
3768
3789
|
if (!(n && c in n))
|
|
3769
|
-
throw new
|
|
3790
|
+
throw new Sn(c, a);
|
|
3770
3791
|
var f = n[c];
|
|
3771
|
-
if (
|
|
3792
|
+
if (zi(l)) {
|
|
3772
3793
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3773
|
-
type: typeof f == "string" ?
|
|
3794
|
+
type: typeof f == "string" ? O.literal : O.object,
|
|
3774
3795
|
value: f
|
|
3775
3796
|
});
|
|
3776
3797
|
continue;
|
|
3777
3798
|
}
|
|
3778
|
-
if (
|
|
3779
|
-
var p = typeof l.style == "string" ? i.date[l.style] :
|
|
3799
|
+
if (nr(l)) {
|
|
3800
|
+
var p = typeof l.style == "string" ? i.date[l.style] : nt(l.style) ? l.style.parsedOptions : void 0;
|
|
3780
3801
|
s.push({
|
|
3781
|
-
type:
|
|
3802
|
+
type: O.literal,
|
|
3782
3803
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3783
3804
|
});
|
|
3784
3805
|
continue;
|
|
3785
3806
|
}
|
|
3786
|
-
if (
|
|
3787
|
-
var p = typeof l.style == "string" ? i.time[l.style] :
|
|
3807
|
+
if (or(l)) {
|
|
3808
|
+
var p = typeof l.style == "string" ? i.time[l.style] : nt(l.style) ? l.style.parsedOptions : i.time.medium;
|
|
3788
3809
|
s.push({
|
|
3789
|
-
type:
|
|
3810
|
+
type: O.literal,
|
|
3790
3811
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3791
3812
|
});
|
|
3792
3813
|
continue;
|
|
3793
3814
|
}
|
|
3794
|
-
if (
|
|
3795
|
-
var p = typeof l.style == "string" ? i.number[l.style] :
|
|
3815
|
+
if (ir(l)) {
|
|
3816
|
+
var p = typeof l.style == "string" ? i.number[l.style] : lr(l.style) ? l.style.parsedOptions : void 0;
|
|
3796
3817
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3797
|
-
type:
|
|
3818
|
+
type: O.literal,
|
|
3798
3819
|
value: r.getNumberFormat(t, p).format(f)
|
|
3799
3820
|
});
|
|
3800
3821
|
continue;
|
|
3801
3822
|
}
|
|
3802
|
-
if (
|
|
3823
|
+
if (ur(l)) {
|
|
3803
3824
|
var y = l.children, d = l.value, v = n[d];
|
|
3804
|
-
if (!
|
|
3805
|
-
throw new
|
|
3825
|
+
if (!An(v))
|
|
3826
|
+
throw new Ln(d, "function", a);
|
|
3806
3827
|
var H = Te(y, t, r, i, n, o), g = v(H.map(function(N) {
|
|
3807
3828
|
return N.value;
|
|
3808
3829
|
}));
|
|
3809
3830
|
Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(N) {
|
|
3810
3831
|
return {
|
|
3811
|
-
type: typeof N == "string" ?
|
|
3832
|
+
type: typeof N == "string" ? O.literal : O.object,
|
|
3812
3833
|
value: N
|
|
3813
3834
|
};
|
|
3814
3835
|
}));
|
|
3815
3836
|
}
|
|
3816
|
-
if (
|
|
3817
|
-
var
|
|
3818
|
-
if (!
|
|
3819
|
-
throw new
|
|
3820
|
-
s.push.apply(s, Te(
|
|
3837
|
+
if (sr(l)) {
|
|
3838
|
+
var S = l.options[f] || l.options.other;
|
|
3839
|
+
if (!S)
|
|
3840
|
+
throw new Rt(l.value, f, Object.keys(l.options), a);
|
|
3841
|
+
s.push.apply(s, Te(S.value, t, r, i, n));
|
|
3821
3842
|
continue;
|
|
3822
3843
|
}
|
|
3823
|
-
if (
|
|
3824
|
-
var
|
|
3825
|
-
if (!
|
|
3844
|
+
if (ar(l)) {
|
|
3845
|
+
var S = l.options["=".concat(f)];
|
|
3846
|
+
if (!S) {
|
|
3826
3847
|
if (!Intl.PluralRules)
|
|
3827
|
-
throw new
|
|
3848
|
+
throw new Be(`Intl.PluralRules is not available in this environment.
|
|
3828
3849
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3829
|
-
`,
|
|
3830
|
-
var
|
|
3831
|
-
|
|
3850
|
+
`, ee.MISSING_INTL_API, a);
|
|
3851
|
+
var D = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3852
|
+
S = l.options[D] || l.options.other;
|
|
3832
3853
|
}
|
|
3833
|
-
if (!
|
|
3834
|
-
throw new
|
|
3835
|
-
s.push.apply(s, Te(
|
|
3854
|
+
if (!S)
|
|
3855
|
+
throw new Rt(l.value, f, Object.keys(l.options), a);
|
|
3856
|
+
s.push.apply(s, Te(S.value, t, r, i, n, f - (l.offset || 0)));
|
|
3836
3857
|
continue;
|
|
3837
3858
|
}
|
|
3838
3859
|
}
|
|
3839
|
-
return
|
|
3860
|
+
return wn(s);
|
|
3840
3861
|
}
|
|
3841
|
-
function
|
|
3842
|
-
return t ?
|
|
3843
|
-
return r[i] =
|
|
3862
|
+
function Pn(e, t) {
|
|
3863
|
+
return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3864
|
+
return r[i] = R(R({}, e[i]), t[i] || {}), r;
|
|
3844
3865
|
}, {})) : e;
|
|
3845
3866
|
}
|
|
3846
|
-
function
|
|
3867
|
+
function Hn(e, t) {
|
|
3847
3868
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3848
|
-
return r[i] =
|
|
3849
|
-
},
|
|
3869
|
+
return r[i] = Pn(e[i], t[i]), r;
|
|
3870
|
+
}, R({}, e)) : e;
|
|
3850
3871
|
}
|
|
3851
|
-
function
|
|
3872
|
+
function We(e) {
|
|
3852
3873
|
return {
|
|
3853
3874
|
create: function() {
|
|
3854
3875
|
return {
|
|
@@ -3862,39 +3883,39 @@ function ke(e) {
|
|
|
3862
3883
|
}
|
|
3863
3884
|
};
|
|
3864
3885
|
}
|
|
3865
|
-
function
|
|
3886
|
+
function On(e) {
|
|
3866
3887
|
return e === void 0 && (e = {
|
|
3867
3888
|
number: {},
|
|
3868
3889
|
dateTime: {},
|
|
3869
3890
|
pluralRules: {}
|
|
3870
3891
|
}), {
|
|
3871
|
-
getNumberFormat:
|
|
3892
|
+
getNumberFormat: je(function() {
|
|
3872
3893
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3873
3894
|
r[i] = arguments[i];
|
|
3874
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3895
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Fe([void 0], r, !1)))();
|
|
3875
3896
|
}, {
|
|
3876
|
-
cache:
|
|
3877
|
-
strategy:
|
|
3897
|
+
cache: We(e.number),
|
|
3898
|
+
strategy: ke.variadic
|
|
3878
3899
|
}),
|
|
3879
|
-
getDateTimeFormat:
|
|
3900
|
+
getDateTimeFormat: je(function() {
|
|
3880
3901
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3881
3902
|
r[i] = arguments[i];
|
|
3882
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3903
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Fe([void 0], r, !1)))();
|
|
3883
3904
|
}, {
|
|
3884
|
-
cache:
|
|
3885
|
-
strategy:
|
|
3905
|
+
cache: We(e.dateTime),
|
|
3906
|
+
strategy: ke.variadic
|
|
3886
3907
|
}),
|
|
3887
|
-
getPluralRules:
|
|
3908
|
+
getPluralRules: je(function() {
|
|
3888
3909
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3889
3910
|
r[i] = arguments[i];
|
|
3890
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3911
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Fe([void 0], r, !1)))();
|
|
3891
3912
|
}, {
|
|
3892
|
-
cache:
|
|
3893
|
-
strategy:
|
|
3913
|
+
cache: We(e.pluralRules),
|
|
3914
|
+
strategy: ke.variadic
|
|
3894
3915
|
})
|
|
3895
3916
|
};
|
|
3896
3917
|
}
|
|
3897
|
-
var
|
|
3918
|
+
var In = (
|
|
3898
3919
|
/** @class */
|
|
3899
3920
|
function() {
|
|
3900
3921
|
function e(t, r, i, n) {
|
|
@@ -3909,7 +3930,7 @@ var Hn = (
|
|
|
3909
3930
|
if (u.length === 1)
|
|
3910
3931
|
return u[0].value;
|
|
3911
3932
|
var l = u.reduce(function(c, f) {
|
|
3912
|
-
return !c.length || f.type !==
|
|
3933
|
+
return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3913
3934
|
}, []);
|
|
3914
3935
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3915
3936
|
}, this.formatToParts = function(h) {
|
|
@@ -3926,13 +3947,13 @@ var Hn = (
|
|
|
3926
3947
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3927
3948
|
var a = n || {};
|
|
3928
3949
|
a.formatters;
|
|
3929
|
-
var s =
|
|
3930
|
-
this.ast = e.__parse(t,
|
|
3950
|
+
var s = $i(a, ["formatters"]);
|
|
3951
|
+
this.ast = e.__parse(t, R(R({}, s), { locale: this.resolvedLocale }));
|
|
3931
3952
|
} else
|
|
3932
3953
|
this.ast = t;
|
|
3933
3954
|
if (!Array.isArray(this.ast))
|
|
3934
3955
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3935
|
-
this.formats =
|
|
3956
|
+
this.formats = Hn(e.formats, i), this.formatters = n && n.formatters || On(this.formatterCache);
|
|
3936
3957
|
}
|
|
3937
3958
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3938
3959
|
get: function() {
|
|
@@ -3945,7 +3966,7 @@ var Hn = (
|
|
|
3945
3966
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3946
3967
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3947
3968
|
}
|
|
3948
|
-
}, e.__parse =
|
|
3969
|
+
}, e.__parse = Tn, e.formats = {
|
|
3949
3970
|
number: {
|
|
3950
3971
|
integer: {
|
|
3951
3972
|
maximumFractionDigits: 0
|
|
@@ -4006,7 +4027,7 @@ var Hn = (
|
|
|
4006
4027
|
}, e;
|
|
4007
4028
|
}()
|
|
4008
4029
|
);
|
|
4009
|
-
function
|
|
4030
|
+
function Bn(e, t) {
|
|
4010
4031
|
if (t == null)
|
|
4011
4032
|
return;
|
|
4012
4033
|
if (t in e)
|
|
@@ -4027,92 +4048,92 @@ function In(e, t) {
|
|
|
4027
4048
|
i = void 0;
|
|
4028
4049
|
return i;
|
|
4029
4050
|
}
|
|
4030
|
-
const F = {},
|
|
4051
|
+
const F = {}, Cn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), gr = (e, t) => {
|
|
4031
4052
|
if (t == null)
|
|
4032
4053
|
return;
|
|
4033
4054
|
if (t in F && e in F[t])
|
|
4034
4055
|
return F[t][e];
|
|
4035
|
-
const r =
|
|
4056
|
+
const r = Ce(t);
|
|
4036
4057
|
for (let i = 0; i < r.length; i++) {
|
|
4037
|
-
const n = r[i], o =
|
|
4058
|
+
const n = r[i], o = Rn(n, e);
|
|
4038
4059
|
if (o)
|
|
4039
|
-
return
|
|
4060
|
+
return Cn(e, t, o);
|
|
4040
4061
|
}
|
|
4041
4062
|
};
|
|
4042
|
-
let
|
|
4043
|
-
const me =
|
|
4044
|
-
function
|
|
4045
|
-
return
|
|
4063
|
+
let mt;
|
|
4064
|
+
const me = Oe({});
|
|
4065
|
+
function Nn(e) {
|
|
4066
|
+
return mt[e] || null;
|
|
4046
4067
|
}
|
|
4047
|
-
function
|
|
4048
|
-
return e in
|
|
4068
|
+
function br(e) {
|
|
4069
|
+
return e in mt;
|
|
4049
4070
|
}
|
|
4050
|
-
function
|
|
4051
|
-
if (!
|
|
4071
|
+
function Rn(e, t) {
|
|
4072
|
+
if (!br(e))
|
|
4052
4073
|
return null;
|
|
4053
|
-
const r =
|
|
4054
|
-
return
|
|
4074
|
+
const r = Nn(e);
|
|
4075
|
+
return Bn(r, t);
|
|
4055
4076
|
}
|
|
4056
|
-
function
|
|
4077
|
+
function Mn(e) {
|
|
4057
4078
|
if (e == null)
|
|
4058
4079
|
return;
|
|
4059
|
-
const t =
|
|
4080
|
+
const t = Ce(e);
|
|
4060
4081
|
for (let r = 0; r < t.length; r++) {
|
|
4061
4082
|
const i = t[r];
|
|
4062
|
-
if (
|
|
4083
|
+
if (br(i))
|
|
4063
4084
|
return i;
|
|
4064
4085
|
}
|
|
4065
4086
|
}
|
|
4066
|
-
function
|
|
4087
|
+
function vr(e, ...t) {
|
|
4067
4088
|
delete F[e], me.update((r) => (r[e] = Ui.all([r[e] || {}, ...t]), r));
|
|
4068
4089
|
}
|
|
4069
|
-
|
|
4090
|
+
ie(
|
|
4070
4091
|
[me],
|
|
4071
4092
|
([e]) => Object.keys(e)
|
|
4072
4093
|
);
|
|
4073
|
-
me.subscribe((e) =>
|
|
4094
|
+
me.subscribe((e) => mt = e);
|
|
4074
4095
|
const Le = {};
|
|
4075
|
-
function
|
|
4096
|
+
function Dn(e, t) {
|
|
4076
4097
|
Le[e].delete(t), Le[e].size === 0 && delete Le[e];
|
|
4077
4098
|
}
|
|
4078
|
-
function
|
|
4099
|
+
function _r(e) {
|
|
4079
4100
|
return Le[e];
|
|
4080
4101
|
}
|
|
4081
|
-
function
|
|
4082
|
-
return
|
|
4083
|
-
const r =
|
|
4102
|
+
function Un(e) {
|
|
4103
|
+
return Ce(e).map((t) => {
|
|
4104
|
+
const r = _r(t);
|
|
4084
4105
|
return [t, r ? [...r] : []];
|
|
4085
4106
|
}).filter(([, t]) => t.length > 0);
|
|
4086
4107
|
}
|
|
4087
|
-
function
|
|
4088
|
-
return e == null ? !1 :
|
|
4108
|
+
function ht(e) {
|
|
4109
|
+
return e == null ? !1 : Ce(e).some(
|
|
4089
4110
|
(t) => {
|
|
4090
4111
|
var r;
|
|
4091
|
-
return (r =
|
|
4112
|
+
return (r = _r(t)) == null ? void 0 : r.size;
|
|
4092
4113
|
}
|
|
4093
4114
|
);
|
|
4094
4115
|
}
|
|
4095
|
-
function
|
|
4116
|
+
function $n(e, t) {
|
|
4096
4117
|
return Promise.all(
|
|
4097
|
-
t.map((i) => (
|
|
4098
|
-
).then((i) =>
|
|
4099
|
-
}
|
|
4100
|
-
const
|
|
4101
|
-
function
|
|
4102
|
-
if (!
|
|
4103
|
-
return e in
|
|
4104
|
-
const t =
|
|
4105
|
-
return
|
|
4118
|
+
t.map((i) => (Dn(e, i), i().then((n) => n.default || n)))
|
|
4119
|
+
).then((i) => vr(e, ...i));
|
|
4120
|
+
}
|
|
4121
|
+
const ae = {};
|
|
4122
|
+
function Er(e) {
|
|
4123
|
+
if (!ht(e))
|
|
4124
|
+
return e in ae ? ae[e] : Promise.resolve();
|
|
4125
|
+
const t = Un(e);
|
|
4126
|
+
return ae[e] = Promise.all(
|
|
4106
4127
|
t.map(
|
|
4107
|
-
([r, i]) =>
|
|
4128
|
+
([r, i]) => $n(r, i)
|
|
4108
4129
|
)
|
|
4109
4130
|
).then(() => {
|
|
4110
|
-
if (
|
|
4111
|
-
return
|
|
4112
|
-
delete
|
|
4113
|
-
}),
|
|
4131
|
+
if (ht(e))
|
|
4132
|
+
return Er(e);
|
|
4133
|
+
delete ae[e];
|
|
4134
|
+
}), ae[e];
|
|
4114
4135
|
}
|
|
4115
|
-
const
|
|
4136
|
+
const Gn = {
|
|
4116
4137
|
number: {
|
|
4117
4138
|
scientific: { notation: "scientific" },
|
|
4118
4139
|
engineering: { notation: "engineering" },
|
|
@@ -4141,135 +4162,135 @@ const Un = {
|
|
|
4141
4162
|
timeZoneName: "short"
|
|
4142
4163
|
}
|
|
4143
4164
|
}
|
|
4144
|
-
},
|
|
4165
|
+
}, Fn = {
|
|
4145
4166
|
fallbackLocale: null,
|
|
4146
4167
|
loadingDelay: 200,
|
|
4147
|
-
formats:
|
|
4168
|
+
formats: Gn,
|
|
4148
4169
|
warnOnMissingMessages: !0,
|
|
4149
4170
|
handleMissingMessage: void 0,
|
|
4150
4171
|
ignoreTag: !0
|
|
4151
|
-
},
|
|
4152
|
-
function
|
|
4153
|
-
return
|
|
4172
|
+
}, jn = Fn;
|
|
4173
|
+
function te() {
|
|
4174
|
+
return jn;
|
|
4154
4175
|
}
|
|
4155
|
-
const
|
|
4156
|
-
var
|
|
4176
|
+
const Xe = Oe(!1);
|
|
4177
|
+
var kn = Object.defineProperty, Vn = Object.defineProperties, Wn = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, Xn = Object.prototype.hasOwnProperty, zn = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zn = (e, t) => {
|
|
4157
4178
|
for (var r in t || (t = {}))
|
|
4158
|
-
|
|
4159
|
-
if (
|
|
4160
|
-
for (var r of
|
|
4161
|
-
|
|
4179
|
+
Xn.call(t, r) && Dt(e, r, t[r]);
|
|
4180
|
+
if (Mt)
|
|
4181
|
+
for (var r of Mt(t))
|
|
4182
|
+
zn.call(t, r) && Dt(e, r, t[r]);
|
|
4162
4183
|
return e;
|
|
4163
|
-
},
|
|
4164
|
-
let
|
|
4165
|
-
const
|
|
4166
|
-
function
|
|
4184
|
+
}, Qn = (e, t) => Vn(e, Wn(t));
|
|
4185
|
+
let ct;
|
|
4186
|
+
const Ae = Oe(null);
|
|
4187
|
+
function Ut(e) {
|
|
4167
4188
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
4168
4189
|
}
|
|
4169
|
-
function
|
|
4170
|
-
const r =
|
|
4171
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4190
|
+
function Ce(e, t = te().fallbackLocale) {
|
|
4191
|
+
const r = Ut(e);
|
|
4192
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
|
|
4172
4193
|
}
|
|
4173
4194
|
function z() {
|
|
4174
|
-
return
|
|
4195
|
+
return ct ?? void 0;
|
|
4175
4196
|
}
|
|
4176
|
-
|
|
4177
|
-
|
|
4197
|
+
Ae.subscribe((e) => {
|
|
4198
|
+
ct = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4178
4199
|
});
|
|
4179
|
-
const
|
|
4180
|
-
if (e &&
|
|
4181
|
-
const { loadingDelay: t } =
|
|
4200
|
+
const Yn = (e) => {
|
|
4201
|
+
if (e && Mn(e) && ht(e)) {
|
|
4202
|
+
const { loadingDelay: t } = te();
|
|
4182
4203
|
let r;
|
|
4183
4204
|
return typeof window < "u" && z() != null && t ? r = window.setTimeout(
|
|
4184
|
-
() =>
|
|
4205
|
+
() => Xe.set(!0),
|
|
4185
4206
|
t
|
|
4186
|
-
) :
|
|
4187
|
-
|
|
4207
|
+
) : Xe.set(!0), Er(e).then(() => {
|
|
4208
|
+
Ae.set(e);
|
|
4188
4209
|
}).finally(() => {
|
|
4189
|
-
clearTimeout(r),
|
|
4210
|
+
clearTimeout(r), Xe.set(!1);
|
|
4190
4211
|
});
|
|
4191
4212
|
}
|
|
4192
|
-
return
|
|
4193
|
-
},
|
|
4194
|
-
set:
|
|
4195
|
-
}),
|
|
4213
|
+
return Ae.set(e);
|
|
4214
|
+
}, ne = Qn(Zn({}, Ae), {
|
|
4215
|
+
set: Yn
|
|
4216
|
+
}), Ne = (e) => {
|
|
4196
4217
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4197
4218
|
return (i) => {
|
|
4198
4219
|
const n = JSON.stringify(i);
|
|
4199
4220
|
return n in t ? t[n] : t[n] = e(i);
|
|
4200
4221
|
};
|
|
4201
4222
|
};
|
|
4202
|
-
var
|
|
4223
|
+
var Jn = Object.defineProperty, Pe = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
4203
4224
|
for (var r in t || (t = {}))
|
|
4204
|
-
|
|
4205
|
-
if (
|
|
4206
|
-
for (var r of
|
|
4207
|
-
|
|
4225
|
+
xr.call(t, r) && $t(e, r, t[r]);
|
|
4226
|
+
if (Pe)
|
|
4227
|
+
for (var r of Pe(t))
|
|
4228
|
+
Tr.call(t, r) && $t(e, r, t[r]);
|
|
4208
4229
|
return e;
|
|
4209
|
-
},
|
|
4230
|
+
}, oe = (e, t) => {
|
|
4210
4231
|
var r = {};
|
|
4211
4232
|
for (var i in e)
|
|
4212
|
-
|
|
4213
|
-
if (e != null &&
|
|
4214
|
-
for (var i of
|
|
4215
|
-
t.indexOf(i) < 0 &&
|
|
4233
|
+
xr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
4234
|
+
if (e != null && Pe)
|
|
4235
|
+
for (var i of Pe(e))
|
|
4236
|
+
t.indexOf(i) < 0 && Tr.call(e, i) && (r[i] = e[i]);
|
|
4216
4237
|
return r;
|
|
4217
4238
|
};
|
|
4218
|
-
const
|
|
4219
|
-
const { formats: r } =
|
|
4239
|
+
const ce = (e, t) => {
|
|
4240
|
+
const { formats: r } = te();
|
|
4220
4241
|
if (e in r && t in r[e])
|
|
4221
4242
|
return r[e][t];
|
|
4222
4243
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4223
|
-
},
|
|
4244
|
+
}, qn = Ne(
|
|
4224
4245
|
(e) => {
|
|
4225
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4246
|
+
var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
|
|
4226
4247
|
if (r == null)
|
|
4227
4248
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4228
|
-
return i && (n =
|
|
4249
|
+
return i && (n = ce("number", i)), new Intl.NumberFormat(r, n);
|
|
4229
4250
|
}
|
|
4230
|
-
),
|
|
4251
|
+
), Kn = Ne(
|
|
4231
4252
|
(e) => {
|
|
4232
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4253
|
+
var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
|
|
4233
4254
|
if (r == null)
|
|
4234
4255
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4235
|
-
return i ? n =
|
|
4256
|
+
return i ? n = ce("date", i) : Object.keys(n).length === 0 && (n = ce("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
4236
4257
|
}
|
|
4237
|
-
),
|
|
4258
|
+
), eo = Ne(
|
|
4238
4259
|
(e) => {
|
|
4239
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4260
|
+
var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
|
|
4240
4261
|
if (r == null)
|
|
4241
4262
|
throw new Error(
|
|
4242
4263
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4243
4264
|
);
|
|
4244
|
-
return i ? n =
|
|
4265
|
+
return i ? n = ce("time", i) : Object.keys(n).length === 0 && (n = ce("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
4245
4266
|
}
|
|
4246
|
-
),
|
|
4267
|
+
), to = (e = {}) => {
|
|
4247
4268
|
var t = e, {
|
|
4248
4269
|
locale: r = z()
|
|
4249
|
-
} = t, i =
|
|
4270
|
+
} = t, i = oe(t, [
|
|
4250
4271
|
"locale"
|
|
4251
4272
|
]);
|
|
4252
|
-
return
|
|
4253
|
-
},
|
|
4273
|
+
return qn(pt({ locale: r }, i));
|
|
4274
|
+
}, ro = (e = {}) => {
|
|
4254
4275
|
var t = e, {
|
|
4255
4276
|
locale: r = z()
|
|
4256
|
-
} = t, i =
|
|
4277
|
+
} = t, i = oe(t, [
|
|
4257
4278
|
"locale"
|
|
4258
4279
|
]);
|
|
4259
|
-
return
|
|
4260
|
-
},
|
|
4280
|
+
return Kn(pt({ locale: r }, i));
|
|
4281
|
+
}, io = (e = {}) => {
|
|
4261
4282
|
var t = e, {
|
|
4262
4283
|
locale: r = z()
|
|
4263
|
-
} = t, i =
|
|
4284
|
+
} = t, i = oe(t, [
|
|
4264
4285
|
"locale"
|
|
4265
4286
|
]);
|
|
4266
|
-
return
|
|
4267
|
-
},
|
|
4287
|
+
return eo(pt({ locale: r }, i));
|
|
4288
|
+
}, no = Ne(
|
|
4268
4289
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4269
|
-
(e, t = z()) => new
|
|
4270
|
-
ignoreTag:
|
|
4290
|
+
(e, t = z()) => new In(e, t, te().formats, {
|
|
4291
|
+
ignoreTag: te().ignoreTag
|
|
4271
4292
|
})
|
|
4272
|
-
),
|
|
4293
|
+
), oo = (e, t = {}) => {
|
|
4273
4294
|
var r, i, n, o;
|
|
4274
4295
|
let a = t;
|
|
4275
4296
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4282,9 +4303,9 @@ const fe = (e, t) => {
|
|
|
4282
4303
|
throw new Error(
|
|
4283
4304
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4284
4305
|
);
|
|
4285
|
-
let l =
|
|
4306
|
+
let l = gr(e, h);
|
|
4286
4307
|
if (!l)
|
|
4287
|
-
l = (o = (n = (i = (r =
|
|
4308
|
+
l = (o = (n = (i = (r = te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
|
|
4288
4309
|
else if (typeof l != "string")
|
|
4289
4310
|
return console.warn(
|
|
4290
4311
|
`[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.`
|
|
@@ -4293,7 +4314,7 @@ const fe = (e, t) => {
|
|
|
4293
4314
|
return l;
|
|
4294
4315
|
let c = l;
|
|
4295
4316
|
try {
|
|
4296
|
-
c =
|
|
4317
|
+
c = no(l, h).format(s);
|
|
4297
4318
|
} catch (f) {
|
|
4298
4319
|
f instanceof Error && console.warn(
|
|
4299
4320
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4301,20 +4322,20 @@ const fe = (e, t) => {
|
|
|
4301
4322
|
);
|
|
4302
4323
|
}
|
|
4303
4324
|
return c;
|
|
4304
|
-
},
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4325
|
+
}, so = (e, t) => io(t).format(e), ao = (e, t) => ro(t).format(e), uo = (e, t) => to(t).format(e), lo = (e, t = z()) => gr(e, t), ho = ie([ne, me], () => oo);
|
|
4326
|
+
ie([ne], () => so);
|
|
4327
|
+
ie([ne], () => ao);
|
|
4328
|
+
ie([ne], () => uo);
|
|
4329
|
+
ie([ne, me], () => lo);
|
|
4309
4330
|
window.emWidgets = { topic: Ei };
|
|
4310
|
-
const
|
|
4311
|
-
function
|
|
4331
|
+
const co = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), $o = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4332
|
+
function fo(e, t) {
|
|
4312
4333
|
if (e) {
|
|
4313
4334
|
const r = document.createElement("style");
|
|
4314
4335
|
r.innerHTML = t, e.appendChild(r);
|
|
4315
4336
|
}
|
|
4316
4337
|
}
|
|
4317
|
-
function
|
|
4338
|
+
function mo(e, t) {
|
|
4318
4339
|
const r = new URL(t);
|
|
4319
4340
|
fetch(r.href).then((i) => i.text()).then((i) => {
|
|
4320
4341
|
const n = document.createElement("style");
|
|
@@ -4323,7 +4344,7 @@ function co(e, t) {
|
|
|
4323
4344
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
4324
4345
|
});
|
|
4325
4346
|
}
|
|
4326
|
-
function
|
|
4347
|
+
function po(e, t, r) {
|
|
4327
4348
|
if (window.emMessageBus) {
|
|
4328
4349
|
const i = document.createElement("style");
|
|
4329
4350
|
window.emMessageBus.subscribe(t, (n) => {
|
|
@@ -4331,13 +4352,13 @@ function fo(e, t, r) {
|
|
|
4331
4352
|
});
|
|
4332
4353
|
}
|
|
4333
4354
|
}
|
|
4334
|
-
function
|
|
4335
|
-
|
|
4355
|
+
function Gt(e, t) {
|
|
4356
|
+
vr(e, t);
|
|
4336
4357
|
}
|
|
4337
|
-
function
|
|
4338
|
-
|
|
4358
|
+
function yo(e) {
|
|
4359
|
+
ne.set(e);
|
|
4339
4360
|
}
|
|
4340
|
-
const
|
|
4361
|
+
const ze = {
|
|
4341
4362
|
en: {
|
|
4342
4363
|
expandLimits: "LIMIT HISTORY",
|
|
4343
4364
|
daily: "per day",
|
|
@@ -4588,46 +4609,46 @@ const We = {
|
|
|
4588
4609
|
historyLimitTypeLoss: "Loss Limit"
|
|
4589
4610
|
}
|
|
4590
4611
|
};
|
|
4591
|
-
function
|
|
4592
|
-
|
|
4612
|
+
function go(e) {
|
|
4613
|
+
Fr(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)}}');
|
|
4593
4614
|
}
|
|
4594
|
-
function
|
|
4615
|
+
function Ft(e, t, r) {
|
|
4595
4616
|
const i = e.slice();
|
|
4596
4617
|
return i[37] = t[r], i[38] = t, i[39] = r, i;
|
|
4597
4618
|
}
|
|
4598
|
-
function
|
|
4619
|
+
function bo(e) {
|
|
4599
4620
|
let t, r, i, n = (
|
|
4600
4621
|
/*$_*/
|
|
4601
4622
|
e[9]("expandLimits") + ""
|
|
4602
|
-
), o, a, s, h, u, l, c, f, p, y =
|
|
4623
|
+
), o, a, s, h, u, l, c, f, p, y = vt(
|
|
4603
4624
|
/*lazyShowedHistoryArray*/
|
|
4604
4625
|
e[7]
|
|
4605
4626
|
), d = [];
|
|
4606
4627
|
for (let v = 0; v < y.length; v += 1)
|
|
4607
|
-
d[v] =
|
|
4628
|
+
d[v] = jt(Ft(e, y, v));
|
|
4608
4629
|
return {
|
|
4609
4630
|
c() {
|
|
4610
|
-
t = P("div"), r = P("div"), i = P("button"), o =
|
|
4631
|
+
t = P("div"), r = P("div"), i = P("button"), o = M(n), a = Ze(), s = Ue("svg"), h = Ue("path"), u = Ue("path"), l = Ze(), c = P("div");
|
|
4611
4632
|
for (let v = 0; v < d.length; v += 1)
|
|
4612
4633
|
d[v].c();
|
|
4613
|
-
|
|
4634
|
+
E(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(h, "class", "svelte-19ml84y"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-19ml84y"), E(s, "class", "ExpandArrow svelte-19ml84y"), E(s, "xmlns", "http://www.w3.org/2000/svg"), E(s, "width", "36"), E(s, "height", "36"), E(s, "viewBox", "0 0 36 36"), E(s, "fill", "#999"), ge(
|
|
4614
4635
|
s,
|
|
4615
4636
|
"extended",
|
|
4616
4637
|
/*extended*/
|
|
4617
4638
|
e[8]
|
|
4618
|
-
),
|
|
4639
|
+
), E(i, "class", "ExpandButton svelte-19ml84y"), E(c, "class", "HistoryDisplayArea svelte-19ml84y"), ge(
|
|
4619
4640
|
c,
|
|
4620
4641
|
"hidden",
|
|
4621
4642
|
/*hidden*/
|
|
4622
4643
|
e[5]
|
|
4623
|
-
),
|
|
4624
|
-
(e[10] ? "Desktop" : "") + " svelte-19ml84y"),
|
|
4644
|
+
), E(r, "class", "HistoryWrapper " + /*isDesktop*/
|
|
4645
|
+
(e[10] ? "Desktop" : "") + " svelte-19ml84y"), E(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
|
|
4625
4646
|
},
|
|
4626
4647
|
m(v, H) {
|
|
4627
|
-
X(v, t, H),
|
|
4648
|
+
X(v, t, H), x(t, r), x(r, i), x(i, o), x(i, a), x(i, s), x(s, h), x(s, u), x(r, l), x(r, c);
|
|
4628
4649
|
for (let g = 0; g < d.length; g += 1)
|
|
4629
4650
|
d[g] && d[g].m(c, null);
|
|
4630
|
-
f || (p =
|
|
4651
|
+
f || (p = Wr(
|
|
4631
4652
|
i,
|
|
4632
4653
|
"click",
|
|
4633
4654
|
/*toggleHistoryDisplayArea*/
|
|
@@ -4645,14 +4666,14 @@ function yo(e) {
|
|
|
4645
4666
|
v[8]
|
|
4646
4667
|
), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
4647
4668
|
650) {
|
|
4648
|
-
y =
|
|
4669
|
+
y = vt(
|
|
4649
4670
|
/*lazyShowedHistoryArray*/
|
|
4650
4671
|
v[7]
|
|
4651
4672
|
);
|
|
4652
4673
|
let g;
|
|
4653
4674
|
for (g = 0; g < y.length; g += 1) {
|
|
4654
|
-
const
|
|
4655
|
-
d[g] ? d[g].p(
|
|
4675
|
+
const S = Ft(v, y, g);
|
|
4676
|
+
d[g] ? d[g].p(S, H) : (d[g] = jt(S), d[g].c(), d[g].m(c, null));
|
|
4656
4677
|
}
|
|
4657
4678
|
for (; g < d.length; g += 1)
|
|
4658
4679
|
d[g].d(1);
|
|
@@ -4667,14 +4688,14 @@ function yo(e) {
|
|
|
4667
4688
|
);
|
|
4668
4689
|
},
|
|
4669
4690
|
d(v) {
|
|
4670
|
-
v && k(t),
|
|
4691
|
+
v && k(t), Vr(d, v), f = !1, p();
|
|
4671
4692
|
}
|
|
4672
4693
|
};
|
|
4673
4694
|
}
|
|
4674
|
-
function
|
|
4675
|
-
return { c:
|
|
4695
|
+
function vo(e) {
|
|
4696
|
+
return { c: I, m: I, p: I, d: I };
|
|
4676
4697
|
}
|
|
4677
|
-
function
|
|
4698
|
+
function _o(e) {
|
|
4678
4699
|
let t, r = (
|
|
4679
4700
|
/*lang*/
|
|
4680
4701
|
(e[0] ? (
|
|
@@ -4684,10 +4705,10 @@ function bo(e) {
|
|
|
4684
4705
|
), i;
|
|
4685
4706
|
return {
|
|
4686
4707
|
c() {
|
|
4687
|
-
t = P("p"), i =
|
|
4708
|
+
t = P("p"), i = M(r), E(t, "class", "svelte-19ml84y");
|
|
4688
4709
|
},
|
|
4689
4710
|
m(n, o) {
|
|
4690
|
-
X(n, t, o),
|
|
4711
|
+
X(n, t, o), x(t, i);
|
|
4691
4712
|
},
|
|
4692
4713
|
p(n, o) {
|
|
4693
4714
|
o[0] & /*lang, $_*/
|
|
@@ -4702,7 +4723,7 @@ function bo(e) {
|
|
|
4702
4723
|
}
|
|
4703
4724
|
};
|
|
4704
4725
|
}
|
|
4705
|
-
function
|
|
4726
|
+
function Eo(e) {
|
|
4706
4727
|
let t, r, i, n = (
|
|
4707
4728
|
/*history*/
|
|
4708
4729
|
e[37].type + ""
|
|
@@ -4715,10 +4736,10 @@ function vo(e) {
|
|
|
4715
4736
|
), c;
|
|
4716
4737
|
return {
|
|
4717
4738
|
c() {
|
|
4718
|
-
t = P("div"), r = P("span"), i = P("span"), o =
|
|
4739
|
+
t = P("div"), r = P("span"), i = P("span"), o = M(n), a = P("span"), h = M(s), u = P("span"), c = M(l), E(i, "class", "LimitType svelte-19ml84y"), E(a, "class", "LimitAmountPeriod svelte-19ml84y"), E(r, "class", "GeneralLimitInformation svelte-19ml84y"), E(u, "class", "DateLimitInformation svelte-19ml84y"), E(t, "class", "HistoryRow svelte-19ml84y");
|
|
4719
4740
|
},
|
|
4720
4741
|
m(f, p) {
|
|
4721
|
-
X(f, t, p),
|
|
4742
|
+
X(f, t, p), x(t, r), x(r, i), x(i, o), x(r, a), x(a, h), x(t, u), x(u, c);
|
|
4722
4743
|
},
|
|
4723
4744
|
p(f, p) {
|
|
4724
4745
|
p[0] & /*lazyShowedHistoryArray*/
|
|
@@ -4734,7 +4755,7 @@ function vo(e) {
|
|
|
4734
4755
|
}
|
|
4735
4756
|
};
|
|
4736
4757
|
}
|
|
4737
|
-
function
|
|
4758
|
+
function xo(e) {
|
|
4738
4759
|
let t, r, i, n = (
|
|
4739
4760
|
/*history*/
|
|
4740
4761
|
e[37].type + ""
|
|
@@ -4747,10 +4768,10 @@ function _o(e) {
|
|
|
4747
4768
|
), c;
|
|
4748
4769
|
return {
|
|
4749
4770
|
c() {
|
|
4750
|
-
t = P("div"), r = P("span"), i = P("span"), o =
|
|
4771
|
+
t = P("div"), r = P("span"), i = P("span"), o = M(n), a = P("span"), h = M(s), u = P("span"), c = M(l), E(i, "class", "LimitType svelte-19ml84y"), E(a, "class", "LimitAmountPeriod svelte-19ml84y"), E(r, "class", "GeneralLimitInformation svelte-19ml84y"), E(u, "class", "DateLimitInformation svelte-19ml84y"), E(t, "class", "HistoryRow svelte-19ml84y");
|
|
4751
4772
|
},
|
|
4752
4773
|
m(f, p) {
|
|
4753
|
-
X(f, t, p),
|
|
4774
|
+
X(f, t, p), x(t, r), x(r, i), x(i, o), x(r, a), x(a, h), x(t, u), x(u, c);
|
|
4754
4775
|
},
|
|
4755
4776
|
p(f, p) {
|
|
4756
4777
|
p[0] & /*lazyShowedHistoryArray*/
|
|
@@ -4766,7 +4787,7 @@ function _o(e) {
|
|
|
4766
4787
|
}
|
|
4767
4788
|
};
|
|
4768
4789
|
}
|
|
4769
|
-
function
|
|
4790
|
+
function jt(e) {
|
|
4770
4791
|
let t, r, i, n = (
|
|
4771
4792
|
/*index*/
|
|
4772
4793
|
e[39]
|
|
@@ -4774,7 +4795,7 @@ function Gt(e) {
|
|
|
4774
4795
|
function o(l, c) {
|
|
4775
4796
|
return (
|
|
4776
4797
|
/*history*/
|
|
4777
|
-
l[37].removed ?
|
|
4798
|
+
l[37].removed ? xo : Eo
|
|
4778
4799
|
);
|
|
4779
4800
|
}
|
|
4780
4801
|
let a = o(e), s = a(e);
|
|
@@ -4787,22 +4808,22 @@ function Gt(e) {
|
|
|
4787
4808
|
);
|
|
4788
4809
|
return {
|
|
4789
4810
|
c() {
|
|
4790
|
-
t = P("div"), s.c(), r =
|
|
4811
|
+
t = P("div"), s.c(), r = Ze(), E(t, "class", i = gt(
|
|
4791
4812
|
/*index*/
|
|
4792
4813
|
e[39] > +/*numberofentries*/
|
|
4793
4814
|
e[1] ? "LimitContainer" : ""
|
|
4794
4815
|
) + " svelte-19ml84y");
|
|
4795
4816
|
},
|
|
4796
4817
|
m(l, c) {
|
|
4797
|
-
X(l, t, c), s.m(t, null),
|
|
4818
|
+
X(l, t, c), s.m(t, null), x(t, r), h();
|
|
4798
4819
|
},
|
|
4799
4820
|
p(l, c) {
|
|
4800
4821
|
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*/
|
|
4801
|
-
2 && i !== (i =
|
|
4822
|
+
2 && i !== (i = gt(
|
|
4802
4823
|
/*index*/
|
|
4803
4824
|
e[39] > +/*numberofentries*/
|
|
4804
4825
|
e[1] ? "LimitContainer" : ""
|
|
4805
|
-
) + " svelte-19ml84y") &&
|
|
4826
|
+
) + " svelte-19ml84y") && E(t, "class", i), n !== /*index*/
|
|
4806
4827
|
e[39] && (u(), n = /*index*/
|
|
4807
4828
|
e[39], h());
|
|
4808
4829
|
},
|
|
@@ -4811,21 +4832,21 @@ function Gt(e) {
|
|
|
4811
4832
|
}
|
|
4812
4833
|
};
|
|
4813
4834
|
}
|
|
4814
|
-
function
|
|
4835
|
+
function To(e) {
|
|
4815
4836
|
let t;
|
|
4816
4837
|
function r(o, a) {
|
|
4817
4838
|
return (
|
|
4818
4839
|
/*hasErrors*/
|
|
4819
|
-
o[6] ?
|
|
4840
|
+
o[6] ? _o : (
|
|
4820
4841
|
/*isLoading*/
|
|
4821
|
-
o[4] ?
|
|
4842
|
+
o[4] ? vo : bo
|
|
4822
4843
|
)
|
|
4823
4844
|
);
|
|
4824
4845
|
}
|
|
4825
4846
|
let i = r(e), n = i(e);
|
|
4826
4847
|
return {
|
|
4827
4848
|
c() {
|
|
4828
|
-
t = P("div"), n.c(),
|
|
4849
|
+
t = P("div"), n.c(), E(t, "class", "svelte-19ml84y");
|
|
4829
4850
|
},
|
|
4830
4851
|
m(o, a) {
|
|
4831
4852
|
X(o, t, a), n.m(t, null), e[23](t);
|
|
@@ -4833,52 +4854,52 @@ function Eo(e) {
|
|
|
4833
4854
|
p(o, a) {
|
|
4834
4855
|
i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
|
|
4835
4856
|
},
|
|
4836
|
-
i:
|
|
4837
|
-
o:
|
|
4857
|
+
i: I,
|
|
4858
|
+
o: I,
|
|
4838
4859
|
d(o) {
|
|
4839
4860
|
o && k(t), n.d(), e[23](null);
|
|
4840
4861
|
}
|
|
4841
4862
|
};
|
|
4842
4863
|
}
|
|
4843
|
-
function
|
|
4864
|
+
function Lo(e, t, r) {
|
|
4844
4865
|
let i;
|
|
4845
|
-
|
|
4846
|
-
let n = window.navigator.userAgent, o = !
|
|
4847
|
-
const
|
|
4848
|
-
fetch(H).then((
|
|
4849
|
-
Object.keys(
|
|
4850
|
-
|
|
4866
|
+
Gr(e, ho, (m) => r(9, i = m));
|
|
4867
|
+
let n = window.navigator.userAgent, o = !co(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, S = new Array(), D = parseInt(c, 10), N = !1, U = !0, V = [], pe = [], de = !0, Re = !1, se = { EUR: "€", RON: "lei", TRY: "₺" };
|
|
4868
|
+
const Sr = () => {
|
|
4869
|
+
fetch(H).then((T) => T.json()).then((T) => {
|
|
4870
|
+
Object.keys(T).forEach((C) => {
|
|
4871
|
+
Gt(C, T[C]);
|
|
4851
4872
|
});
|
|
4852
|
-
}).catch((
|
|
4853
|
-
console.log(
|
|
4873
|
+
}).catch((T) => {
|
|
4874
|
+
console.log(T);
|
|
4854
4875
|
});
|
|
4855
4876
|
};
|
|
4856
|
-
Object.keys(
|
|
4857
|
-
|
|
4877
|
+
Object.keys(ze).forEach((m) => {
|
|
4878
|
+
Gt(m, ze[m]);
|
|
4858
4879
|
});
|
|
4859
|
-
const
|
|
4860
|
-
let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`,
|
|
4861
|
-
|
|
4880
|
+
const wr = () => {
|
|
4881
|
+
let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, T = new URL(m, u);
|
|
4882
|
+
T.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), T.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), T.searchParams.append("limit", "10000");
|
|
4862
4883
|
let C = {
|
|
4863
4884
|
method: "GET",
|
|
4864
4885
|
headers: { "X-SessionID": h }
|
|
4865
4886
|
};
|
|
4866
|
-
fetch(
|
|
4887
|
+
fetch(T.href, C).then((A) => {
|
|
4867
4888
|
if (A.status >= 300)
|
|
4868
|
-
throw r(4,
|
|
4889
|
+
throw r(4, U = !1), r(6, N = !0), new Error("There was an error fetching the limits");
|
|
4869
4890
|
return A.json();
|
|
4870
4891
|
}).then(
|
|
4871
4892
|
(A) => {
|
|
4872
|
-
A.length && (V =
|
|
4893
|
+
A.length && (V = Ar(A), r(7, pe = V.slice(0, D))), r(4, U = !1);
|
|
4873
4894
|
},
|
|
4874
4895
|
(A) => {
|
|
4875
4896
|
console.error("There was an error", A), r(6, N = !0);
|
|
4876
4897
|
}
|
|
4877
4898
|
);
|
|
4878
|
-
},
|
|
4879
|
-
const
|
|
4899
|
+
}, Ar = (m) => {
|
|
4900
|
+
const T = !!ze[a];
|
|
4880
4901
|
return m.map((A) => {
|
|
4881
|
-
let
|
|
4902
|
+
let $ = {
|
|
4882
4903
|
amount: "",
|
|
4883
4904
|
currency: "",
|
|
4884
4905
|
date: "",
|
|
@@ -4886,53 +4907,53 @@ function xo(e, t, r) {
|
|
|
4886
4907
|
type: "",
|
|
4887
4908
|
removed: !1
|
|
4888
4909
|
};
|
|
4889
|
-
return
|
|
4910
|
+
return $.amount = Pr(A), $.currency = T ? se[A.limitCurrencyCode] : A.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), $.period = i(`${A.limitPeriod.toLowerCase()}`), $.type = l === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), $.removed = A.limitAmount === -1, $;
|
|
4890
4911
|
});
|
|
4891
|
-
},
|
|
4892
|
-
let
|
|
4912
|
+
}, Pr = (m) => {
|
|
4913
|
+
let T = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
|
|
4893
4914
|
if (!p) {
|
|
4894
|
-
let
|
|
4895
|
-
return `${
|
|
4915
|
+
let Dr = se[m.limitCurrencyCode] || m.limitCurrencyCode;
|
|
4916
|
+
return `${T}${Dr}`;
|
|
4896
4917
|
}
|
|
4897
4918
|
typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
|
|
4898
|
-
const C =
|
|
4919
|
+
const C = T.match(/\{(\d+)decimals\}/), A = C ? parseInt(C[1], 10) : 2, $ = C ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
4899
4920
|
let ye = parseFloat(m.limitAmount).toFixed(A);
|
|
4900
|
-
const [
|
|
4901
|
-
let [
|
|
4902
|
-
return
|
|
4903
|
-
|
|
4904
|
-
ye.split(
|
|
4905
|
-
),
|
|
4906
|
-
},
|
|
4907
|
-
r(5, de = !de), r(8,
|
|
4921
|
+
const [Rr, Me] = p.includes(".") ? [",", "."] : [".", ","];
|
|
4922
|
+
let [De, Mr] = ye.split(".");
|
|
4923
|
+
return De = De.replace(/\B(?=(\d{3})+(?!\d))/g, Rr), ye = `${De}${Me}${Mr}`, T = T.replace("{currency}", se[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Me)[0]).replace(
|
|
4924
|
+
$,
|
|
4925
|
+
ye.split(Me)[1]
|
|
4926
|
+
), T;
|
|
4927
|
+
}, Hr = () => {
|
|
4928
|
+
r(5, de = !de), r(8, Re = !Re);
|
|
4908
4929
|
};
|
|
4909
|
-
let
|
|
4910
|
-
m.forEach((
|
|
4911
|
-
|
|
4930
|
+
let dt = new IntersectionObserver((m) => {
|
|
4931
|
+
m.forEach((T) => {
|
|
4932
|
+
T.isIntersecting && (D += parseInt(c, 10) || 10, pe.length < V.length && r(7, pe = V.slice(0, D)));
|
|
4912
4933
|
});
|
|
4913
4934
|
});
|
|
4914
|
-
const
|
|
4915
|
-
|
|
4935
|
+
const Or = () => {
|
|
4936
|
+
dt.observe(S[S.length - 1]);
|
|
4916
4937
|
}, Ir = () => {
|
|
4917
4938
|
if (!f)
|
|
4918
4939
|
return;
|
|
4919
4940
|
let m = {};
|
|
4920
|
-
f.split(",").forEach((
|
|
4921
|
-
let C =
|
|
4941
|
+
f.split(",").forEach((T) => {
|
|
4942
|
+
let C = T.split(":");
|
|
4922
4943
|
m[C[0].trim()] = C[1].trim();
|
|
4923
|
-
}),
|
|
4944
|
+
}), se = { ...se, ...m };
|
|
4924
4945
|
}, Br = () => {
|
|
4925
|
-
|
|
4946
|
+
yo(a);
|
|
4926
4947
|
};
|
|
4927
|
-
|
|
4928
|
-
|
|
4948
|
+
Qr(() => () => {
|
|
4949
|
+
dt.unobserve(S[S.length - 1]);
|
|
4929
4950
|
});
|
|
4930
|
-
function
|
|
4951
|
+
function Cr(m, T) {
|
|
4931
4952
|
Se[m ? "unshift" : "push"](() => {
|
|
4932
|
-
|
|
4953
|
+
S[T] = m, r(3, S);
|
|
4933
4954
|
});
|
|
4934
4955
|
}
|
|
4935
|
-
function
|
|
4956
|
+
function Nr(m) {
|
|
4936
4957
|
Se[m ? "unshift" : "push"](() => {
|
|
4937
4958
|
g = m, r(2, g);
|
|
4938
4959
|
});
|
|
@@ -4942,26 +4963,26 @@ function xo(e, t, r) {
|
|
|
4942
4963
|
}, e.$$.update = () => {
|
|
4943
4964
|
e.$$.dirty[0] & /*customcurrencysymbols*/
|
|
4944
4965
|
65536 && f && Ir(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
4945
|
-
61440 && u && s && h && l &&
|
|
4946
|
-
56 &&
|
|
4966
|
+
61440 && u && s && h && l && wr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
4967
|
+
56 && S[0] && !U && !de && Or(), e.$$.dirty[0] & /*lang*/
|
|
4947
4968
|
1 && a && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4948
|
-
262148 && y && g &&
|
|
4949
|
-
524292 && d && g &&
|
|
4950
|
-
1048580 && v && g &&
|
|
4951
|
-
2097156 && H && g &&
|
|
4969
|
+
262148 && y && g && fo(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4970
|
+
524292 && d && g && mo(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4971
|
+
1048580 && v && g && po(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
|
|
4972
|
+
2097156 && H && g && Sr();
|
|
4952
4973
|
}, [
|
|
4953
4974
|
a,
|
|
4954
4975
|
c,
|
|
4955
4976
|
g,
|
|
4956
|
-
|
|
4957
|
-
|
|
4977
|
+
S,
|
|
4978
|
+
U,
|
|
4958
4979
|
de,
|
|
4959
4980
|
N,
|
|
4960
4981
|
pe,
|
|
4961
|
-
|
|
4982
|
+
Re,
|
|
4962
4983
|
i,
|
|
4963
4984
|
o,
|
|
4964
|
-
|
|
4985
|
+
Hr,
|
|
4965
4986
|
s,
|
|
4966
4987
|
h,
|
|
4967
4988
|
u,
|
|
@@ -4972,18 +4993,18 @@ function xo(e, t, r) {
|
|
|
4972
4993
|
d,
|
|
4973
4994
|
v,
|
|
4974
4995
|
H,
|
|
4975
|
-
|
|
4976
|
-
|
|
4996
|
+
Cr,
|
|
4997
|
+
Nr
|
|
4977
4998
|
];
|
|
4978
4999
|
}
|
|
4979
|
-
class
|
|
5000
|
+
class Lr extends si {
|
|
4980
5001
|
constructor(t) {
|
|
4981
|
-
super(),
|
|
5002
|
+
super(), ni(
|
|
4982
5003
|
this,
|
|
4983
5004
|
t,
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
5005
|
+
Lo,
|
|
5006
|
+
To,
|
|
5007
|
+
Vt,
|
|
4987
5008
|
{
|
|
4988
5009
|
lang: 0,
|
|
4989
5010
|
userid: 12,
|
|
@@ -4998,7 +5019,7 @@ class Tr extends oi {
|
|
|
4998
5019
|
mbsource: 20,
|
|
4999
5020
|
translationurl: 21
|
|
5000
5021
|
},
|
|
5001
|
-
|
|
5022
|
+
go,
|
|
5002
5023
|
[-1, -1]
|
|
5003
5024
|
);
|
|
5004
5025
|
}
|
|
@@ -5006,127 +5027,127 @@ class Tr extends oi {
|
|
|
5006
5027
|
return this.$$.ctx[0];
|
|
5007
5028
|
}
|
|
5008
5029
|
set lang(t) {
|
|
5009
|
-
this.$$set({ lang: t }),
|
|
5030
|
+
this.$$set({ lang: t }), B();
|
|
5010
5031
|
}
|
|
5011
5032
|
get userid() {
|
|
5012
5033
|
return this.$$.ctx[12];
|
|
5013
5034
|
}
|
|
5014
5035
|
set userid(t) {
|
|
5015
|
-
this.$$set({ userid: t }),
|
|
5036
|
+
this.$$set({ userid: t }), B();
|
|
5016
5037
|
}
|
|
5017
5038
|
get session() {
|
|
5018
5039
|
return this.$$.ctx[13];
|
|
5019
5040
|
}
|
|
5020
5041
|
set session(t) {
|
|
5021
|
-
this.$$set({ session: t }),
|
|
5042
|
+
this.$$set({ session: t }), B();
|
|
5022
5043
|
}
|
|
5023
5044
|
get endpoint() {
|
|
5024
5045
|
return this.$$.ctx[14];
|
|
5025
5046
|
}
|
|
5026
5047
|
set endpoint(t) {
|
|
5027
|
-
this.$$set({ endpoint: t }),
|
|
5048
|
+
this.$$set({ endpoint: t }), B();
|
|
5028
5049
|
}
|
|
5029
5050
|
get apiversion() {
|
|
5030
5051
|
return this.$$.ctx[15];
|
|
5031
5052
|
}
|
|
5032
5053
|
set apiversion(t) {
|
|
5033
|
-
this.$$set({ apiversion: t }),
|
|
5054
|
+
this.$$set({ apiversion: t }), B();
|
|
5034
5055
|
}
|
|
5035
5056
|
get numberofentries() {
|
|
5036
5057
|
return this.$$.ctx[1];
|
|
5037
5058
|
}
|
|
5038
5059
|
set numberofentries(t) {
|
|
5039
|
-
this.$$set({ numberofentries: t }),
|
|
5060
|
+
this.$$set({ numberofentries: t }), B();
|
|
5040
5061
|
}
|
|
5041
5062
|
get customcurrencysymbols() {
|
|
5042
5063
|
return this.$$.ctx[16];
|
|
5043
5064
|
}
|
|
5044
5065
|
set customcurrencysymbols(t) {
|
|
5045
|
-
this.$$set({ customcurrencysymbols: t }),
|
|
5066
|
+
this.$$set({ customcurrencysymbols: t }), B();
|
|
5046
5067
|
}
|
|
5047
5068
|
get limitformat() {
|
|
5048
5069
|
return this.$$.ctx[17];
|
|
5049
5070
|
}
|
|
5050
5071
|
set limitformat(t) {
|
|
5051
|
-
this.$$set({ limitformat: t }),
|
|
5072
|
+
this.$$set({ limitformat: t }), B();
|
|
5052
5073
|
}
|
|
5053
5074
|
get clientstyling() {
|
|
5054
5075
|
return this.$$.ctx[18];
|
|
5055
5076
|
}
|
|
5056
5077
|
set clientstyling(t) {
|
|
5057
|
-
this.$$set({ clientstyling: t }),
|
|
5078
|
+
this.$$set({ clientstyling: t }), B();
|
|
5058
5079
|
}
|
|
5059
5080
|
get clientstylingurl() {
|
|
5060
5081
|
return this.$$.ctx[19];
|
|
5061
5082
|
}
|
|
5062
5083
|
set clientstylingurl(t) {
|
|
5063
|
-
this.$$set({ clientstylingurl: t }),
|
|
5084
|
+
this.$$set({ clientstylingurl: t }), B();
|
|
5064
5085
|
}
|
|
5065
5086
|
get mbsource() {
|
|
5066
5087
|
return this.$$.ctx[20];
|
|
5067
5088
|
}
|
|
5068
5089
|
set mbsource(t) {
|
|
5069
|
-
this.$$set({ mbsource: t }),
|
|
5090
|
+
this.$$set({ mbsource: t }), B();
|
|
5070
5091
|
}
|
|
5071
5092
|
get translationurl() {
|
|
5072
5093
|
return this.$$.ctx[21];
|
|
5073
5094
|
}
|
|
5074
5095
|
set translationurl(t) {
|
|
5075
|
-
this.$$set({ translationurl: t }),
|
|
5096
|
+
this.$$set({ translationurl: t }), B();
|
|
5076
5097
|
}
|
|
5077
5098
|
}
|
|
5078
|
-
|
|
5079
|
-
const
|
|
5099
|
+
oi(Lr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
5100
|
+
const Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5080
5101
|
__proto__: null,
|
|
5081
|
-
default:
|
|
5102
|
+
default: Lr
|
|
5082
5103
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5083
5104
|
export {
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5105
|
+
ne as $,
|
|
5106
|
+
Ho as A,
|
|
5107
|
+
No as B,
|
|
5108
|
+
Ye as C,
|
|
5109
|
+
Ue as D,
|
|
5110
|
+
Co as E,
|
|
5111
|
+
ho as F,
|
|
5112
|
+
fo as G,
|
|
5113
|
+
mo as H,
|
|
5114
|
+
po as I,
|
|
5115
|
+
Uo as J,
|
|
5116
|
+
ei as K,
|
|
5117
|
+
Do as L,
|
|
5118
|
+
$o as M,
|
|
5119
|
+
Mo as N,
|
|
5120
|
+
Oo as O,
|
|
5121
|
+
So as P,
|
|
5122
|
+
Ao as Q,
|
|
5123
|
+
Po as R,
|
|
5124
|
+
si as S,
|
|
5125
|
+
wo as T,
|
|
5126
|
+
Go as U,
|
|
5127
|
+
vr as a,
|
|
5128
|
+
Fr as b,
|
|
5129
|
+
oi as c,
|
|
5130
|
+
k as d,
|
|
5131
|
+
X as e,
|
|
5132
|
+
B as f,
|
|
5133
|
+
x as g,
|
|
5134
|
+
P as h,
|
|
5135
|
+
ni as i,
|
|
5136
|
+
Ze as j,
|
|
5137
|
+
Gr as k,
|
|
5138
|
+
co as l,
|
|
5139
|
+
E as m,
|
|
5140
|
+
I as n,
|
|
5141
|
+
Qr as o,
|
|
5142
|
+
Ro as p,
|
|
5143
|
+
Se as q,
|
|
5144
|
+
vt as r,
|
|
5145
|
+
Vt as s,
|
|
5146
|
+
Io as t,
|
|
5147
|
+
Vr as u,
|
|
5148
|
+
re as v,
|
|
5149
|
+
j as w,
|
|
5150
|
+
Bo as x,
|
|
5151
|
+
Wr as y,
|
|
5152
|
+
M as z
|
|
5132
5153
|
};
|