@everymatrix/player-account-gaming-limits-wrapper-2 1.76.0 → 1.76.1
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-CJC7ow27.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsHistory2-Cpa0GVk9.js → PlayerAccountGamingLimitsHistory2-IzKR8ALi.js} +995 -1016
- package/components/{PlayerAccountGamingLimitsHistory2-BNsAmZYN.js → PlayerAccountGamingLimitsHistory2-fnp_hf0j.js} +825 -846
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CB2sBWVO.js → PlayerAccountGamingLimitsPage2Gm16-D4pvr8N5.js} +151 -151
- package/components/{PlayerAccountGamingLimitsPage2Gm16-EUs9kZ-d.js → PlayerAccountGamingLimitsPage2Gm16-aHkv3ygc.js} +150 -150
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DlyZHKNP.cjs → PlayerAccountGamingLimitsPage2Gm16-ozN-hSEa.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsWrapper2-BTnlXzrm.js → PlayerAccountGamingLimitsWrapper2-JzMDaavy.js} +45 -45
- package/components/{PlayerAccountGamingLimitsWrapper2-BALyszQL.cjs → PlayerAccountGamingLimitsWrapper2-WFjyGh07.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CKOc6VZf.js → PlayerAccountGamingLimitsWrapper2-hD9hsZpZ.js} +37 -37
- 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-BtPvM93e.js +519 -0
- package/stencil/index-b2193545-CgelUAhE.cjs +1 -0
- package/stencil/index-b2193545-D_KBbaD-.js +503 -0
- package/stencil/{ui-skeleton-BL4789dS.cjs → ui-skeleton-BPqjm-YB.cjs} +1 -1
- package/stencil/{ui-skeleton-Ca5rz3Hv.js → ui-skeleton-CWuMYFGQ.js} +2 -2
- package/stencil/{ui-skeleton-hI4GeaLk.js → ui-skeleton-NZtdK490.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-xLf3HyeB.cjs → ui-skeleton-ae35c6f2-CKJgMm_5.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BDBUiN3S.js → ui-skeleton-ae35c6f2-CW3z59Qf.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-Cn0ZM_hs.js → ui-skeleton-ae35c6f2-DlexSQlT.js} +1 -1
- package/components/PlayerAccountGamingLimitsHistory2-BsSmOM97.cjs +0 -18
- package/stencil/index-b2193545-BeKKnKhR.js +0 -519
- package/stencil/index-b2193545-HC0t7mHa.js +0 -503
- package/stencil/index-b2193545-YW9b062G.cjs +0 -1
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var kr = Object.defineProperty, Vr = Object.defineProperties;
|
|
2
|
+
var Wr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var gt = Object.getOwnPropertySymbols;
|
|
4
|
+
var Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var $e = (e, t, r) => t in e ? kr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, be = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Xr.call(t, r) && $e(e, r, t[r]);
|
|
8
|
+
if (gt)
|
|
9
|
+
for (var r of gt(t))
|
|
10
|
+
zr.call(t, r) && $e(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, bt = (e, t) => Vr(e, Wr(t));
|
|
13
|
+
var I = (e, t, r) => ($e(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var vt = (e, t, r) => new Promise((i, n) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
s(r.next(l));
|
|
18
18
|
} catch (u) {
|
|
19
19
|
n(u);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, a = (l) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
s(r.throw(l));
|
|
24
24
|
} catch (u) {
|
|
25
25
|
n(u);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, s = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(o, a);
|
|
28
|
+
s((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function O() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Zr(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -37,67 +37,67 @@ function Qr(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function zt(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function _t() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
e.forEach(
|
|
46
|
+
function ne(e) {
|
|
47
|
+
e.forEach(zt);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function ct(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Zt(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Qr(e) {
|
|
56
56
|
return Object.keys(e).length === 0;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function Qt(e, ...t) {
|
|
59
59
|
if (e == null) {
|
|
60
60
|
for (const i of t)
|
|
61
61
|
i(void 0);
|
|
62
|
-
return
|
|
62
|
+
return O;
|
|
63
63
|
}
|
|
64
64
|
const r = e.subscribe(...t);
|
|
65
65
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
e.$$.on_destroy.push(
|
|
67
|
+
function Yr(e, t, r) {
|
|
68
|
+
e.$$.on_destroy.push(Qt(t, r));
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Mo(e, t, r, i) {
|
|
71
71
|
if (e) {
|
|
72
|
-
const n =
|
|
72
|
+
const n = Yt(e, t, r, i);
|
|
73
73
|
return e[0](n);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
return e[1] && i ?
|
|
76
|
+
function Yt(e, t, r, i) {
|
|
77
|
+
return e[1] && i ? Zr(r.ctx.slice(), e[1](i(t))) : r.ctx;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Ro(e, t, r, i) {
|
|
80
80
|
if (e[2] && i) {
|
|
81
81
|
const n = e[2](i(r));
|
|
82
82
|
if (t.dirty === void 0)
|
|
83
83
|
return n;
|
|
84
84
|
if (typeof n == "object") {
|
|
85
|
-
const o = [],
|
|
86
|
-
for (let
|
|
87
|
-
o[
|
|
85
|
+
const o = [], a = Math.max(t.dirty.length, n.length);
|
|
86
|
+
for (let s = 0; s < a; s += 1)
|
|
87
|
+
o[s] = t.dirty[s] | n[s];
|
|
88
88
|
return o;
|
|
89
89
|
}
|
|
90
90
|
return t.dirty | n;
|
|
91
91
|
}
|
|
92
92
|
return t.dirty;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Do(e, t, r, i, n, o) {
|
|
95
95
|
if (n) {
|
|
96
|
-
const
|
|
97
|
-
e.p(
|
|
96
|
+
const a = Yt(t, r, i, o);
|
|
97
|
+
e.p(a, n);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Uo(e) {
|
|
101
101
|
if (e.ctx.length > 32) {
|
|
102
102
|
const t = [], r = e.ctx.length / 32;
|
|
103
103
|
for (let i = 0; i < r; i++)
|
|
@@ -106,20 +106,20 @@ function Go(e) {
|
|
|
106
106
|
}
|
|
107
107
|
return -1;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Et(e) {
|
|
110
110
|
return e == null ? "" : e;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function T(e, t) {
|
|
113
113
|
e.appendChild(t);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
const i =
|
|
115
|
+
function Jr(e, t, r) {
|
|
116
|
+
const i = qr(e);
|
|
117
117
|
if (!i.getElementById(t)) {
|
|
118
118
|
const n = A("style");
|
|
119
|
-
n.id = t, n.textContent = r,
|
|
119
|
+
n.id = t, n.textContent = r, Kr(i, n);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function qr(e) {
|
|
123
123
|
if (!e)
|
|
124
124
|
return document;
|
|
125
125
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -129,8 +129,8 @@ function Kr(e) {
|
|
|
129
129
|
t
|
|
130
130
|
) : e.ownerDocument;
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
return
|
|
132
|
+
function Kr(e, t) {
|
|
133
|
+
return T(
|
|
134
134
|
/** @type {Document} */
|
|
135
135
|
e.head || e,
|
|
136
136
|
t
|
|
@@ -139,10 +139,10 @@ function ei(e, t) {
|
|
|
139
139
|
function W(e, t, r) {
|
|
140
140
|
e.insertBefore(t, r || null);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function F(e) {
|
|
143
143
|
e.parentNode && e.parentNode.removeChild(e);
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function ei(e, t) {
|
|
146
146
|
for (let r = 0; r < e.length; r += 1)
|
|
147
147
|
e[r] && e[r].d(t);
|
|
148
148
|
}
|
|
@@ -152,42 +152,42 @@ function A(e) {
|
|
|
152
152
|
function xe(e) {
|
|
153
153
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function R(e) {
|
|
156
156
|
return document.createTextNode(e);
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
return
|
|
158
|
+
function Qe() {
|
|
159
|
+
return R(" ");
|
|
160
160
|
}
|
|
161
|
-
function
|
|
162
|
-
return
|
|
161
|
+
function $o() {
|
|
162
|
+
return R("");
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function ti(e, t, r, i) {
|
|
165
165
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function x(e, t, r) {
|
|
168
168
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function Go(e, t, r) {
|
|
171
171
|
const i = t.toLowerCase();
|
|
172
|
-
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
172
|
+
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Fo(e) {
|
|
175
175
|
return e === "" ? null : +e;
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function ri(e) {
|
|
178
178
|
return Array.from(e.childNodes);
|
|
179
179
|
}
|
|
180
180
|
function V(e, t) {
|
|
181
181
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
182
182
|
t);
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function jo(e, t) {
|
|
185
185
|
e.value = t == null ? "" : t;
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function ko(e, t, r, i) {
|
|
188
188
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Vo(e, t, r) {
|
|
191
191
|
for (let i = 0; i < e.options.length; i += 1) {
|
|
192
192
|
const n = e.options[i];
|
|
193
193
|
if (n.__value === t) {
|
|
@@ -197,28 +197,28 @@ function Xo(e, t, r) {
|
|
|
197
197
|
}
|
|
198
198
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function Wo(e) {
|
|
201
201
|
const t = e.querySelector(":checked");
|
|
202
202
|
return t && t.__value;
|
|
203
203
|
}
|
|
204
204
|
function ve(e, t, r) {
|
|
205
205
|
e.classList.toggle(t, !!r);
|
|
206
206
|
}
|
|
207
|
-
class
|
|
207
|
+
class Xo {
|
|
208
208
|
constructor(t = !1) {
|
|
209
209
|
/**
|
|
210
210
|
* @private
|
|
211
211
|
* @default false
|
|
212
212
|
*/
|
|
213
|
-
|
|
213
|
+
I(this, "is_svg", !1);
|
|
214
214
|
/** parent for creating node */
|
|
215
|
-
|
|
215
|
+
I(this, "e");
|
|
216
216
|
/** html tag nodes */
|
|
217
|
-
|
|
217
|
+
I(this, "n");
|
|
218
218
|
/** target */
|
|
219
|
-
|
|
219
|
+
I(this, "t");
|
|
220
220
|
/** anchor */
|
|
221
|
-
|
|
221
|
+
I(this, "a");
|
|
222
222
|
this.is_svg = t, this.e = this.n = null;
|
|
223
223
|
}
|
|
224
224
|
/**
|
|
@@ -271,10 +271,10 @@ class Zo {
|
|
|
271
271
|
/**
|
|
272
272
|
* @returns {void} */
|
|
273
273
|
d() {
|
|
274
|
-
this.n.forEach(
|
|
274
|
+
this.n.forEach(F);
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function ii(e) {
|
|
278
278
|
const t = {};
|
|
279
279
|
return e.childNodes.forEach(
|
|
280
280
|
/** @param {Element} node */
|
|
@@ -283,69 +283,69 @@ function ni(e) {
|
|
|
283
283
|
}
|
|
284
284
|
), t;
|
|
285
285
|
}
|
|
286
|
-
let
|
|
287
|
-
function
|
|
288
|
-
|
|
286
|
+
let ce;
|
|
287
|
+
function he(e) {
|
|
288
|
+
ce = e;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
if (!
|
|
290
|
+
function ni() {
|
|
291
|
+
if (!ce)
|
|
292
292
|
throw new Error("Function called outside component initialization");
|
|
293
|
-
return
|
|
293
|
+
return ce;
|
|
294
294
|
}
|
|
295
|
-
function
|
|
296
|
-
|
|
295
|
+
function oi(e) {
|
|
296
|
+
ni().$$.on_mount.push(e);
|
|
297
297
|
}
|
|
298
298
|
const J = [], Pe = [];
|
|
299
299
|
let q = [];
|
|
300
|
-
const
|
|
301
|
-
let
|
|
302
|
-
function
|
|
303
|
-
|
|
300
|
+
const xt = [], si = /* @__PURE__ */ Promise.resolve();
|
|
301
|
+
let Ye = !1;
|
|
302
|
+
function ai() {
|
|
303
|
+
Ye || (Ye = !0, si.then(C));
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function Je(e) {
|
|
306
306
|
q.push(e);
|
|
307
307
|
}
|
|
308
|
-
const
|
|
308
|
+
const Ge = /* @__PURE__ */ new Set();
|
|
309
309
|
let Q = 0;
|
|
310
310
|
function C() {
|
|
311
311
|
if (Q !== 0)
|
|
312
312
|
return;
|
|
313
|
-
const e =
|
|
313
|
+
const e = ce;
|
|
314
314
|
do {
|
|
315
315
|
try {
|
|
316
316
|
for (; Q < J.length; ) {
|
|
317
317
|
const t = J[Q];
|
|
318
|
-
Q++,
|
|
318
|
+
Q++, he(t), ui(t.$$);
|
|
319
319
|
}
|
|
320
320
|
} catch (t) {
|
|
321
321
|
throw J.length = 0, Q = 0, t;
|
|
322
322
|
}
|
|
323
|
-
for (
|
|
323
|
+
for (he(null), J.length = 0, Q = 0; Pe.length; )
|
|
324
324
|
Pe.pop()();
|
|
325
325
|
for (let t = 0; t < q.length; t += 1) {
|
|
326
326
|
const r = q[t];
|
|
327
|
-
|
|
327
|
+
Ge.has(r) || (Ge.add(r), r());
|
|
328
328
|
}
|
|
329
329
|
q.length = 0;
|
|
330
330
|
} while (J.length);
|
|
331
|
-
for (;
|
|
332
|
-
|
|
333
|
-
|
|
331
|
+
for (; xt.length; )
|
|
332
|
+
xt.pop()();
|
|
333
|
+
Ye = !1, Ge.clear(), he(e);
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function ui(e) {
|
|
336
336
|
if (e.fragment !== null) {
|
|
337
|
-
e.update(),
|
|
337
|
+
e.update(), ne(e.before_update);
|
|
338
338
|
const t = e.dirty;
|
|
339
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
339
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Je);
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function li(e) {
|
|
343
343
|
const t = [], r = [];
|
|
344
344
|
q.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), q = t;
|
|
345
345
|
}
|
|
346
346
|
const Te = /* @__PURE__ */ new Set();
|
|
347
347
|
let z;
|
|
348
|
-
function
|
|
348
|
+
function zo() {
|
|
349
349
|
z = {
|
|
350
350
|
r: 0,
|
|
351
351
|
c: [],
|
|
@@ -353,13 +353,13 @@ function Qo() {
|
|
|
353
353
|
// parent group
|
|
354
354
|
};
|
|
355
355
|
}
|
|
356
|
-
function
|
|
357
|
-
z.r ||
|
|
356
|
+
function Zo() {
|
|
357
|
+
z.r || ne(z.c), z = z.p;
|
|
358
358
|
}
|
|
359
|
-
function
|
|
359
|
+
function hi(e, t) {
|
|
360
360
|
e && e.i && (Te.delete(e), e.i(t));
|
|
361
361
|
}
|
|
362
|
-
function
|
|
362
|
+
function Qo(e, t, r, i) {
|
|
363
363
|
if (e && e.o) {
|
|
364
364
|
if (Te.has(e))
|
|
365
365
|
return;
|
|
@@ -369,34 +369,34 @@ function Jo(e, t, r, i) {
|
|
|
369
369
|
} else
|
|
370
370
|
i && i();
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function Tt(e) {
|
|
373
373
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function ci(e, t, r) {
|
|
376
376
|
const { fragment: i, after_update: n } = e.$$;
|
|
377
|
-
i && i.m(t, r),
|
|
378
|
-
const o = e.$$.on_mount.map(
|
|
379
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
380
|
-
}), n.forEach(
|
|
377
|
+
i && i.m(t, r), Je(() => {
|
|
378
|
+
const o = e.$$.on_mount.map(zt).filter(ct);
|
|
379
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
|
|
380
|
+
}), n.forEach(Je);
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function fi(e, t) {
|
|
383
383
|
const r = e.$$;
|
|
384
|
-
r.fragment !== null && (
|
|
384
|
+
r.fragment !== null && (li(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
385
385
|
}
|
|
386
|
-
function
|
|
387
|
-
e.$$.dirty[0] === -1 && (J.push(e),
|
|
386
|
+
function mi(e, t) {
|
|
387
|
+
e.$$.dirty[0] === -1 && (J.push(e), ai(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
388
388
|
}
|
|
389
|
-
function
|
|
390
|
-
const l =
|
|
391
|
-
|
|
389
|
+
function pi(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
390
|
+
const l = ce;
|
|
391
|
+
he(e);
|
|
392
392
|
const u = e.$$ = {
|
|
393
393
|
fragment: null,
|
|
394
394
|
ctx: [],
|
|
395
395
|
// state
|
|
396
396
|
props: o,
|
|
397
|
-
update:
|
|
397
|
+
update: O,
|
|
398
398
|
not_equal: n,
|
|
399
|
-
bound:
|
|
399
|
+
bound: _t(),
|
|
400
400
|
// lifecycle
|
|
401
401
|
on_mount: [],
|
|
402
402
|
on_destroy: [],
|
|
@@ -405,48 +405,48 @@ function di(e, t, r, i, n, o, s = null, a = [-1]) {
|
|
|
405
405
|
after_update: [],
|
|
406
406
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
407
407
|
// everything else
|
|
408
|
-
callbacks:
|
|
409
|
-
dirty:
|
|
408
|
+
callbacks: _t(),
|
|
409
|
+
dirty: s,
|
|
410
410
|
skip_bound: !1,
|
|
411
411
|
root: t.target || l.$$.root
|
|
412
412
|
};
|
|
413
|
-
|
|
413
|
+
a && a(u.root);
|
|
414
414
|
let h = !1;
|
|
415
415
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
416
416
|
const y = p.length ? p[0] : f;
|
|
417
|
-
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h &&
|
|
418
|
-
}) : [], u.update(), h = !0,
|
|
417
|
+
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && mi(e, c)), f;
|
|
418
|
+
}) : [], u.update(), h = !0, ne(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
419
419
|
if (t.hydrate) {
|
|
420
|
-
const c =
|
|
421
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
420
|
+
const c = ri(t.target);
|
|
421
|
+
u.fragment && u.fragment.l(c), c.forEach(F);
|
|
422
422
|
} else
|
|
423
423
|
u.fragment && u.fragment.c();
|
|
424
|
-
t.intro &&
|
|
424
|
+
t.intro && hi(e.$$.fragment), ci(e, t.target, t.anchor), C();
|
|
425
425
|
}
|
|
426
|
-
|
|
426
|
+
he(l);
|
|
427
427
|
}
|
|
428
|
-
let
|
|
429
|
-
typeof HTMLElement == "function" && (
|
|
428
|
+
let Jt;
|
|
429
|
+
typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
430
430
|
constructor(t, r, i) {
|
|
431
431
|
super();
|
|
432
432
|
/** The Svelte component constructor */
|
|
433
|
-
|
|
433
|
+
I(this, "$$ctor");
|
|
434
434
|
/** Slots */
|
|
435
|
-
|
|
435
|
+
I(this, "$$s");
|
|
436
436
|
/** The Svelte component instance */
|
|
437
|
-
|
|
437
|
+
I(this, "$$c");
|
|
438
438
|
/** Whether or not the custom element is connected */
|
|
439
|
-
|
|
439
|
+
I(this, "$$cn", !1);
|
|
440
440
|
/** Component props data */
|
|
441
|
-
|
|
441
|
+
I(this, "$$d", {});
|
|
442
442
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
443
|
-
|
|
443
|
+
I(this, "$$r", !1);
|
|
444
444
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
445
|
-
|
|
445
|
+
I(this, "$$p_d", {});
|
|
446
446
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
447
|
-
|
|
447
|
+
I(this, "$$l", {});
|
|
448
448
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
449
|
-
|
|
449
|
+
I(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
450
450
|
this.$$ctor = t, this.$$s = r, i && this.attachShadow({ mode: "open" });
|
|
451
451
|
}
|
|
452
452
|
addEventListener(t, r, i) {
|
|
@@ -463,42 +463,42 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
connectedCallback() {
|
|
466
|
-
return
|
|
466
|
+
return vt(this, null, function* () {
|
|
467
467
|
if (this.$$cn = !0, !this.$$c) {
|
|
468
468
|
let t = function(o) {
|
|
469
469
|
return () => {
|
|
470
|
-
let
|
|
470
|
+
let a;
|
|
471
471
|
return {
|
|
472
472
|
c: function() {
|
|
473
|
-
|
|
473
|
+
a = A("slot"), o !== "default" && x(a, "name", o);
|
|
474
474
|
},
|
|
475
475
|
/**
|
|
476
476
|
* @param {HTMLElement} target
|
|
477
477
|
* @param {HTMLElement} [anchor]
|
|
478
478
|
*/
|
|
479
479
|
m: function(u, h) {
|
|
480
|
-
W(u,
|
|
480
|
+
W(u, a, h);
|
|
481
481
|
},
|
|
482
482
|
d: function(u) {
|
|
483
|
-
u &&
|
|
483
|
+
u && F(a);
|
|
484
484
|
}
|
|
485
485
|
};
|
|
486
486
|
};
|
|
487
487
|
};
|
|
488
488
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
489
489
|
return;
|
|
490
|
-
const r = {}, i =
|
|
490
|
+
const r = {}, i = ii(this);
|
|
491
491
|
for (const o of this.$$s)
|
|
492
492
|
o in i && (r[o] = [t(o)]);
|
|
493
493
|
for (const o of this.attributes) {
|
|
494
|
-
const
|
|
495
|
-
|
|
494
|
+
const a = this.$$g_p(o.name);
|
|
495
|
+
a in this.$$d || (this.$$d[a] = Le(a, o.value, this.$$p_d, "toProp"));
|
|
496
496
|
}
|
|
497
497
|
for (const o in this.$$p_d)
|
|
498
498
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
499
499
|
this.$$c = new this.$$ctor({
|
|
500
500
|
target: this.shadowRoot || this,
|
|
501
|
-
props:
|
|
501
|
+
props: bt(be({}, this.$$d), {
|
|
502
502
|
$$slots: r,
|
|
503
503
|
$$scope: {
|
|
504
504
|
ctx: []
|
|
@@ -509,21 +509,21 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
509
509
|
this.$$r = !0;
|
|
510
510
|
for (const o in this.$$p_d)
|
|
511
511
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
512
|
-
const
|
|
512
|
+
const a = Le(
|
|
513
513
|
o,
|
|
514
514
|
this.$$d[o],
|
|
515
515
|
this.$$p_d,
|
|
516
516
|
"toAttribute"
|
|
517
517
|
);
|
|
518
|
-
|
|
518
|
+
a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
|
|
519
519
|
}
|
|
520
520
|
this.$$r = !1;
|
|
521
521
|
};
|
|
522
522
|
this.$$c.$$.after_update.push(n), n();
|
|
523
523
|
for (const o in this.$$l)
|
|
524
|
-
for (const
|
|
525
|
-
const
|
|
526
|
-
this.$$l_u.set(
|
|
524
|
+
for (const a of this.$$l[o]) {
|
|
525
|
+
const s = this.$$c.$on(o, a);
|
|
526
|
+
this.$$l_u.set(a, s);
|
|
527
527
|
}
|
|
528
528
|
this.$$l = {};
|
|
529
529
|
}
|
|
@@ -576,38 +576,38 @@ function Le(e, t, r, i) {
|
|
|
576
576
|
return t;
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
function
|
|
580
|
-
let
|
|
579
|
+
function di(e, t, r, i, n, o) {
|
|
580
|
+
let a = class extends Jt {
|
|
581
581
|
constructor() {
|
|
582
582
|
super(e, r, n), this.$$p_d = t;
|
|
583
583
|
}
|
|
584
584
|
static get observedAttributes() {
|
|
585
585
|
return Object.keys(t).map(
|
|
586
|
-
(
|
|
586
|
+
(s) => (t[s].attribute || s).toLowerCase()
|
|
587
587
|
);
|
|
588
588
|
}
|
|
589
589
|
};
|
|
590
|
-
return Object.keys(t).forEach((
|
|
591
|
-
Object.defineProperty(
|
|
590
|
+
return Object.keys(t).forEach((s) => {
|
|
591
|
+
Object.defineProperty(a.prototype, s, {
|
|
592
592
|
get() {
|
|
593
|
-
return this.$$c &&
|
|
593
|
+
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
594
594
|
},
|
|
595
595
|
set(l) {
|
|
596
596
|
var u;
|
|
597
|
-
l = Le(
|
|
597
|
+
l = Le(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
|
|
598
598
|
}
|
|
599
599
|
});
|
|
600
|
-
}), i.forEach((
|
|
601
|
-
Object.defineProperty(
|
|
600
|
+
}), i.forEach((s) => {
|
|
601
|
+
Object.defineProperty(a.prototype, s, {
|
|
602
602
|
get() {
|
|
603
603
|
var l;
|
|
604
|
-
return (l = this.$$c) == null ? void 0 : l[
|
|
604
|
+
return (l = this.$$c) == null ? void 0 : l[s];
|
|
605
605
|
}
|
|
606
606
|
});
|
|
607
607
|
}), e.element = /** @type {any} */
|
|
608
|
-
|
|
608
|
+
a, a;
|
|
609
609
|
}
|
|
610
|
-
class
|
|
610
|
+
class yi {
|
|
611
611
|
constructor() {
|
|
612
612
|
/**
|
|
613
613
|
* ### PRIVATE API
|
|
@@ -616,7 +616,7 @@ class gi {
|
|
|
616
616
|
*
|
|
617
617
|
* @type {any}
|
|
618
618
|
*/
|
|
619
|
-
|
|
619
|
+
I(this, "$$");
|
|
620
620
|
/**
|
|
621
621
|
* ### PRIVATE API
|
|
622
622
|
*
|
|
@@ -624,11 +624,11 @@ class gi {
|
|
|
624
624
|
*
|
|
625
625
|
* @type {any}
|
|
626
626
|
*/
|
|
627
|
-
|
|
627
|
+
I(this, "$$set");
|
|
628
628
|
}
|
|
629
629
|
/** @returns {void} */
|
|
630
630
|
$destroy() {
|
|
631
|
-
|
|
631
|
+
fi(this, 1), this.$destroy = O;
|
|
632
632
|
}
|
|
633
633
|
/**
|
|
634
634
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -637,8 +637,8 @@ class gi {
|
|
|
637
637
|
* @returns {() => void}
|
|
638
638
|
*/
|
|
639
639
|
$on(t, r) {
|
|
640
|
-
if (!
|
|
641
|
-
return
|
|
640
|
+
if (!ct(r))
|
|
641
|
+
return O;
|
|
642
642
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
643
643
|
return i.push(r), () => {
|
|
644
644
|
const n = i.indexOf(r);
|
|
@@ -650,11 +650,11 @@ class gi {
|
|
|
650
650
|
* @returns {void}
|
|
651
651
|
*/
|
|
652
652
|
$set(t) {
|
|
653
|
-
this.$$set && !
|
|
653
|
+
this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
|
-
const
|
|
657
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
656
|
+
const gi = "4";
|
|
657
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gi);
|
|
658
658
|
/*! *****************************************************************************
|
|
659
659
|
Copyright (c) Microsoft Corporation.
|
|
660
660
|
|
|
@@ -669,24 +669,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
669
669
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
670
670
|
PERFORMANCE OF THIS SOFTWARE.
|
|
671
671
|
***************************************************************************** */
|
|
672
|
-
var
|
|
673
|
-
return
|
|
672
|
+
var qe = function(e, t) {
|
|
673
|
+
return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
674
674
|
r.__proto__ = i;
|
|
675
675
|
} || function(r, i) {
|
|
676
676
|
for (var n in i)
|
|
677
677
|
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
678
|
-
},
|
|
678
|
+
}, qe(e, t);
|
|
679
679
|
};
|
|
680
|
-
function
|
|
680
|
+
function j(e, t) {
|
|
681
681
|
if (typeof t != "function" && t !== null)
|
|
682
682
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
683
|
-
|
|
683
|
+
qe(e, t);
|
|
684
684
|
function r() {
|
|
685
685
|
this.constructor = e;
|
|
686
686
|
}
|
|
687
687
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
var E = function() {
|
|
690
|
+
return E = Object.assign || function(t) {
|
|
691
|
+
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
692
|
+
r = arguments[i];
|
|
693
|
+
for (var o in r)
|
|
694
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
695
|
+
}
|
|
696
|
+
return t;
|
|
697
|
+
}, E.apply(this, arguments);
|
|
698
|
+
};
|
|
699
|
+
function bi(e, t) {
|
|
700
|
+
var r = {};
|
|
701
|
+
for (var i in e)
|
|
702
|
+
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
703
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
704
|
+
for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
|
|
705
|
+
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
706
|
+
return r;
|
|
707
|
+
}
|
|
708
|
+
function Ke(e) {
|
|
690
709
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
691
710
|
if (r)
|
|
692
711
|
return r.call(e);
|
|
@@ -698,42 +717,42 @@ function tt(e) {
|
|
|
698
717
|
};
|
|
699
718
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
700
719
|
}
|
|
701
|
-
function
|
|
720
|
+
function et(e, t) {
|
|
702
721
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
703
722
|
if (!r)
|
|
704
723
|
return e;
|
|
705
|
-
var i = r.call(e), n, o = [],
|
|
724
|
+
var i = r.call(e), n, o = [], a;
|
|
706
725
|
try {
|
|
707
726
|
for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
|
|
708
727
|
o.push(n.value);
|
|
709
|
-
} catch (
|
|
710
|
-
|
|
728
|
+
} catch (s) {
|
|
729
|
+
a = { error: s };
|
|
711
730
|
} finally {
|
|
712
731
|
try {
|
|
713
732
|
n && !n.done && (r = i.return) && r.call(i);
|
|
714
733
|
} finally {
|
|
715
|
-
if (
|
|
716
|
-
throw
|
|
734
|
+
if (a)
|
|
735
|
+
throw a.error;
|
|
717
736
|
}
|
|
718
737
|
}
|
|
719
738
|
return o;
|
|
720
739
|
}
|
|
721
|
-
function
|
|
722
|
-
if (arguments.length === 2)
|
|
740
|
+
function K(e, t, r) {
|
|
741
|
+
if (r || arguments.length === 2)
|
|
723
742
|
for (var i = 0, n = t.length, o; i < n; i++)
|
|
724
743
|
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
725
744
|
return e.concat(o || t);
|
|
726
745
|
}
|
|
727
|
-
function
|
|
746
|
+
function G(e) {
|
|
728
747
|
return typeof e == "function";
|
|
729
748
|
}
|
|
730
|
-
function
|
|
749
|
+
function qt(e) {
|
|
731
750
|
var t = function(i) {
|
|
732
751
|
Error.call(i), i.stack = new Error().stack;
|
|
733
752
|
}, r = e(t);
|
|
734
753
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
735
754
|
}
|
|
736
|
-
var
|
|
755
|
+
var Fe = qt(function(e) {
|
|
737
756
|
return function(r) {
|
|
738
757
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
739
758
|
` + r.map(function(i, n) {
|
|
@@ -742,7 +761,7 @@ var ke = er(function(e) {
|
|
|
742
761
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
743
762
|
};
|
|
744
763
|
});
|
|
745
|
-
function
|
|
764
|
+
function tt(e, t) {
|
|
746
765
|
if (e) {
|
|
747
766
|
var r = e.indexOf(t);
|
|
748
767
|
0 <= r && e.splice(r, 1);
|
|
@@ -756,11 +775,11 @@ var Be = function() {
|
|
|
756
775
|
var t, r, i, n, o;
|
|
757
776
|
if (!this.closed) {
|
|
758
777
|
this.closed = !0;
|
|
759
|
-
var
|
|
760
|
-
if (
|
|
761
|
-
if (this._parentage = null, Array.isArray(
|
|
778
|
+
var a = this._parentage;
|
|
779
|
+
if (a)
|
|
780
|
+
if (this._parentage = null, Array.isArray(a))
|
|
762
781
|
try {
|
|
763
|
-
for (var
|
|
782
|
+
for (var s = Ke(a), l = s.next(); !l.done; l = s.next()) {
|
|
764
783
|
var u = l.value;
|
|
765
784
|
u.remove(this);
|
|
766
785
|
}
|
|
@@ -768,31 +787,31 @@ var Be = function() {
|
|
|
768
787
|
t = { error: d };
|
|
769
788
|
} finally {
|
|
770
789
|
try {
|
|
771
|
-
l && !l.done && (r =
|
|
790
|
+
l && !l.done && (r = s.return) && r.call(s);
|
|
772
791
|
} finally {
|
|
773
792
|
if (t)
|
|
774
793
|
throw t.error;
|
|
775
794
|
}
|
|
776
795
|
}
|
|
777
796
|
else
|
|
778
|
-
|
|
797
|
+
a.remove(this);
|
|
779
798
|
var h = this.initialTeardown;
|
|
780
|
-
if (
|
|
799
|
+
if (G(h))
|
|
781
800
|
try {
|
|
782
801
|
h();
|
|
783
802
|
} catch (d) {
|
|
784
|
-
o = d instanceof
|
|
803
|
+
o = d instanceof Fe ? d.errors : [d];
|
|
785
804
|
}
|
|
786
805
|
var c = this._finalizers;
|
|
787
806
|
if (c) {
|
|
788
807
|
this._finalizers = null;
|
|
789
808
|
try {
|
|
790
|
-
for (var f =
|
|
809
|
+
for (var f = Ke(c), p = f.next(); !p.done; p = f.next()) {
|
|
791
810
|
var y = p.value;
|
|
792
811
|
try {
|
|
793
|
-
|
|
812
|
+
Lt(y);
|
|
794
813
|
} catch (d) {
|
|
795
|
-
o = o != null ? o : [], d instanceof
|
|
814
|
+
o = o != null ? o : [], d instanceof Fe ? o = K(K([], et(o)), et(d.errors)) : o.push(d);
|
|
796
815
|
}
|
|
797
816
|
}
|
|
798
817
|
} catch (d) {
|
|
@@ -807,13 +826,13 @@ var Be = function() {
|
|
|
807
826
|
}
|
|
808
827
|
}
|
|
809
828
|
if (o)
|
|
810
|
-
throw new
|
|
829
|
+
throw new Fe(o);
|
|
811
830
|
}
|
|
812
831
|
}, e.prototype.add = function(t) {
|
|
813
832
|
var r;
|
|
814
833
|
if (t && t !== this)
|
|
815
834
|
if (this.closed)
|
|
816
|
-
|
|
835
|
+
Lt(t);
|
|
817
836
|
else {
|
|
818
837
|
if (t instanceof e) {
|
|
819
838
|
if (t.closed || t._hasParent(this))
|
|
@@ -830,52 +849,56 @@ var Be = function() {
|
|
|
830
849
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
831
850
|
}, e.prototype._removeParent = function(t) {
|
|
832
851
|
var r = this._parentage;
|
|
833
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
852
|
+
r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
|
|
834
853
|
}, e.prototype.remove = function(t) {
|
|
835
854
|
var r = this._finalizers;
|
|
836
|
-
r &&
|
|
855
|
+
r && tt(r, t), t instanceof e && t._removeParent(this);
|
|
837
856
|
}, e.EMPTY = function() {
|
|
838
857
|
var t = new e();
|
|
839
858
|
return t.closed = !0, t;
|
|
840
859
|
}(), e;
|
|
841
|
-
}(),
|
|
842
|
-
function
|
|
843
|
-
return e instanceof Be || e && "closed" in e &&
|
|
844
|
-
}
|
|
845
|
-
function
|
|
846
|
-
|
|
847
|
-
}
|
|
848
|
-
var
|
|
849
|
-
|
|
850
|
-
|
|
860
|
+
}(), Kt = Be.EMPTY;
|
|
861
|
+
function er(e) {
|
|
862
|
+
return e instanceof Be || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
863
|
+
}
|
|
864
|
+
function Lt(e) {
|
|
865
|
+
G(e) ? e() : e.unsubscribe();
|
|
866
|
+
}
|
|
867
|
+
var tr = {
|
|
868
|
+
onUnhandledError: null,
|
|
869
|
+
onStoppedNotification: null,
|
|
870
|
+
Promise: void 0,
|
|
871
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
872
|
+
useDeprecatedNextContext: !1
|
|
873
|
+
}, vi = {
|
|
851
874
|
setTimeout: function(e, t) {
|
|
852
875
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
853
876
|
r[i - 2] = arguments[i];
|
|
854
|
-
return setTimeout.apply(void 0,
|
|
877
|
+
return setTimeout.apply(void 0, K([e, t], et(r)));
|
|
855
878
|
},
|
|
856
879
|
clearTimeout: function(e) {
|
|
857
880
|
return clearTimeout(e);
|
|
858
881
|
},
|
|
859
882
|
delegate: void 0
|
|
860
883
|
};
|
|
861
|
-
function
|
|
862
|
-
|
|
884
|
+
function _i(e) {
|
|
885
|
+
vi.setTimeout(function() {
|
|
863
886
|
throw e;
|
|
864
887
|
});
|
|
865
888
|
}
|
|
866
|
-
function
|
|
889
|
+
function St() {
|
|
867
890
|
}
|
|
868
891
|
function Se(e) {
|
|
869
892
|
e();
|
|
870
893
|
}
|
|
871
|
-
var
|
|
872
|
-
|
|
894
|
+
var rr = function(e) {
|
|
895
|
+
j(t, e);
|
|
873
896
|
function t(r) {
|
|
874
897
|
var i = e.call(this) || this;
|
|
875
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
898
|
+
return i.isStopped = !1, r ? (i.destination = r, er(r) && r.add(i)) : i.destination = Li, i;
|
|
876
899
|
}
|
|
877
900
|
return t.create = function(r, i, n) {
|
|
878
|
-
return new
|
|
901
|
+
return new rt(r, i, n);
|
|
879
902
|
}, t.prototype.next = function(r) {
|
|
880
903
|
this.isStopped || this._next(r);
|
|
881
904
|
}, t.prototype.error = function(r) {
|
|
@@ -899,7 +922,11 @@ var ir = function(e) {
|
|
|
899
922
|
this.unsubscribe();
|
|
900
923
|
}
|
|
901
924
|
}, t;
|
|
902
|
-
}(Be),
|
|
925
|
+
}(Be), Ei = Function.prototype.bind;
|
|
926
|
+
function je(e, t) {
|
|
927
|
+
return Ei.call(e, t);
|
|
928
|
+
}
|
|
929
|
+
var xi = function() {
|
|
903
930
|
function e(t) {
|
|
904
931
|
this.partialObserver = t;
|
|
905
932
|
}
|
|
@@ -930,29 +957,41 @@ var ir = function(e) {
|
|
|
930
957
|
_e(r);
|
|
931
958
|
}
|
|
932
959
|
}, e;
|
|
933
|
-
}(),
|
|
934
|
-
|
|
960
|
+
}(), rt = function(e) {
|
|
961
|
+
j(t, e);
|
|
935
962
|
function t(r, i, n) {
|
|
936
|
-
var o = e.call(this) || this,
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
963
|
+
var o = e.call(this) || this, a;
|
|
964
|
+
if (G(r) || !r)
|
|
965
|
+
a = {
|
|
966
|
+
next: r != null ? r : void 0,
|
|
967
|
+
error: i != null ? i : void 0,
|
|
968
|
+
complete: n != null ? n : void 0
|
|
969
|
+
};
|
|
970
|
+
else {
|
|
971
|
+
var s;
|
|
972
|
+
o && tr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
973
|
+
return o.unsubscribe();
|
|
974
|
+
}, a = {
|
|
975
|
+
next: r.next && je(r.next, s),
|
|
976
|
+
error: r.error && je(r.error, s),
|
|
977
|
+
complete: r.complete && je(r.complete, s)
|
|
978
|
+
}) : a = r;
|
|
979
|
+
}
|
|
980
|
+
return o.destination = new xi(a), o;
|
|
942
981
|
}
|
|
943
982
|
return t;
|
|
944
|
-
}(
|
|
983
|
+
}(rr);
|
|
945
984
|
function _e(e) {
|
|
946
|
-
|
|
985
|
+
_i(e);
|
|
947
986
|
}
|
|
948
987
|
function Ti(e) {
|
|
949
988
|
throw e;
|
|
950
989
|
}
|
|
951
990
|
var Li = {
|
|
952
991
|
closed: !0,
|
|
953
|
-
next:
|
|
992
|
+
next: St,
|
|
954
993
|
error: Ti,
|
|
955
|
-
complete:
|
|
994
|
+
complete: St
|
|
956
995
|
}, Si = function() {
|
|
957
996
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
958
997
|
}();
|
|
@@ -966,7 +1005,7 @@ function Ai(e) {
|
|
|
966
1005
|
}, r);
|
|
967
1006
|
};
|
|
968
1007
|
}
|
|
969
|
-
var
|
|
1008
|
+
var wt = function() {
|
|
970
1009
|
function e(t) {
|
|
971
1010
|
t && (this._subscribe = t);
|
|
972
1011
|
}
|
|
@@ -974,10 +1013,10 @@ var Pt = function() {
|
|
|
974
1013
|
var r = new e();
|
|
975
1014
|
return r.source = this, r.operator = t, r;
|
|
976
1015
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
977
|
-
var n = this, o = Hi(t) ? t : new
|
|
1016
|
+
var n = this, o = Hi(t) ? t : new rt(t, r, i);
|
|
978
1017
|
return Se(function() {
|
|
979
|
-
var
|
|
980
|
-
o.add(
|
|
1018
|
+
var a = n, s = a.operator, l = a.source;
|
|
1019
|
+
o.add(s ? s.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
|
|
981
1020
|
}), o;
|
|
982
1021
|
}, e.prototype._trySubscribe = function(t) {
|
|
983
1022
|
try {
|
|
@@ -987,19 +1026,19 @@ var Pt = function() {
|
|
|
987
1026
|
}
|
|
988
1027
|
}, e.prototype.forEach = function(t, r) {
|
|
989
1028
|
var i = this;
|
|
990
|
-
return r =
|
|
991
|
-
var
|
|
992
|
-
next: function(
|
|
1029
|
+
return r = At(r), new r(function(n, o) {
|
|
1030
|
+
var a = new rt({
|
|
1031
|
+
next: function(s) {
|
|
993
1032
|
try {
|
|
994
|
-
t(
|
|
1033
|
+
t(s);
|
|
995
1034
|
} catch (l) {
|
|
996
|
-
o(l),
|
|
1035
|
+
o(l), a.unsubscribe();
|
|
997
1036
|
}
|
|
998
1037
|
},
|
|
999
1038
|
error: o,
|
|
1000
1039
|
complete: n
|
|
1001
1040
|
});
|
|
1002
|
-
i.subscribe(
|
|
1041
|
+
i.subscribe(a);
|
|
1003
1042
|
});
|
|
1004
1043
|
}, e.prototype._subscribe = function(t) {
|
|
1005
1044
|
var r;
|
|
@@ -1012,12 +1051,12 @@ var Pt = function() {
|
|
|
1012
1051
|
return Ai(t)(this);
|
|
1013
1052
|
}, e.prototype.toPromise = function(t) {
|
|
1014
1053
|
var r = this;
|
|
1015
|
-
return t =
|
|
1054
|
+
return t = At(t), new t(function(i, n) {
|
|
1016
1055
|
var o;
|
|
1017
|
-
r.subscribe(function(
|
|
1018
|
-
return o =
|
|
1019
|
-
}, function(
|
|
1020
|
-
return n(
|
|
1056
|
+
r.subscribe(function(a) {
|
|
1057
|
+
return o = a;
|
|
1058
|
+
}, function(a) {
|
|
1059
|
+
return n(a);
|
|
1021
1060
|
}, function() {
|
|
1022
1061
|
return i(o);
|
|
1023
1062
|
});
|
|
@@ -1026,32 +1065,32 @@ var Pt = function() {
|
|
|
1026
1065
|
return new e(t);
|
|
1027
1066
|
}, e;
|
|
1028
1067
|
}();
|
|
1029
|
-
function
|
|
1068
|
+
function At(e) {
|
|
1030
1069
|
var t;
|
|
1031
|
-
return (t = e != null ? e :
|
|
1070
|
+
return (t = e != null ? e : tr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1032
1071
|
}
|
|
1033
1072
|
function Pi(e) {
|
|
1034
|
-
return e &&
|
|
1073
|
+
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
1035
1074
|
}
|
|
1036
1075
|
function Hi(e) {
|
|
1037
|
-
return e && e instanceof
|
|
1076
|
+
return e && e instanceof rr || Pi(e) && er(e);
|
|
1038
1077
|
}
|
|
1039
|
-
var
|
|
1078
|
+
var Ii = qt(function(e) {
|
|
1040
1079
|
return function() {
|
|
1041
1080
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1042
1081
|
};
|
|
1043
|
-
}),
|
|
1044
|
-
|
|
1082
|
+
}), ir = function(e) {
|
|
1083
|
+
j(t, e);
|
|
1045
1084
|
function t() {
|
|
1046
1085
|
var r = e.call(this) || this;
|
|
1047
1086
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1048
1087
|
}
|
|
1049
1088
|
return t.prototype.lift = function(r) {
|
|
1050
|
-
var i = new
|
|
1089
|
+
var i = new Pt(this, this);
|
|
1051
1090
|
return i.operator = r, i;
|
|
1052
1091
|
}, t.prototype._throwIfClosed = function() {
|
|
1053
1092
|
if (this.closed)
|
|
1054
|
-
throw new
|
|
1093
|
+
throw new Ii();
|
|
1055
1094
|
}, t.prototype.next = function(r) {
|
|
1056
1095
|
var i = this;
|
|
1057
1096
|
Se(function() {
|
|
@@ -1059,15 +1098,15 @@ var Oi = er(function(e) {
|
|
|
1059
1098
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
1060
1099
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
1061
1100
|
try {
|
|
1062
|
-
for (var
|
|
1063
|
-
var l =
|
|
1101
|
+
for (var a = Ke(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1102
|
+
var l = s.value;
|
|
1064
1103
|
l.next(r);
|
|
1065
1104
|
}
|
|
1066
1105
|
} catch (u) {
|
|
1067
1106
|
n = { error: u };
|
|
1068
1107
|
} finally {
|
|
1069
1108
|
try {
|
|
1070
|
-
|
|
1109
|
+
s && !s.done && (o = a.return) && o.call(a);
|
|
1071
1110
|
} finally {
|
|
1072
1111
|
if (n)
|
|
1073
1112
|
throw n.error;
|
|
@@ -1107,21 +1146,21 @@ var Oi = er(function(e) {
|
|
|
1107
1146
|
}, t.prototype._subscribe = function(r) {
|
|
1108
1147
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1109
1148
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1110
|
-
var i = this, n = this, o = n.hasError,
|
|
1111
|
-
return o ||
|
|
1112
|
-
i.currentObservers = null,
|
|
1149
|
+
var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
|
|
1150
|
+
return o || a ? Kt : (this.currentObservers = null, s.push(r), new Be(function() {
|
|
1151
|
+
i.currentObservers = null, tt(s, r);
|
|
1113
1152
|
}));
|
|
1114
1153
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1115
|
-
var i = this, n = i.hasError, o = i.thrownError,
|
|
1116
|
-
n ? r.error(o) :
|
|
1154
|
+
var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
|
|
1155
|
+
n ? r.error(o) : a && r.complete();
|
|
1117
1156
|
}, t.prototype.asObservable = function() {
|
|
1118
|
-
var r = new
|
|
1157
|
+
var r = new wt();
|
|
1119
1158
|
return r.source = this, r;
|
|
1120
1159
|
}, t.create = function(r, i) {
|
|
1121
|
-
return new
|
|
1160
|
+
return new Pt(r, i);
|
|
1122
1161
|
}, t;
|
|
1123
|
-
}(
|
|
1124
|
-
|
|
1162
|
+
}(wt), Pt = function(e) {
|
|
1163
|
+
j(t, e);
|
|
1125
1164
|
function t(r, i) {
|
|
1126
1165
|
var n = e.call(this) || this;
|
|
1127
1166
|
return n.destination = r, n.source = i, n;
|
|
@@ -1137,54 +1176,54 @@ var Oi = er(function(e) {
|
|
|
1137
1176
|
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
|
|
1138
1177
|
}, t.prototype._subscribe = function(r) {
|
|
1139
1178
|
var i, n;
|
|
1140
|
-
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n :
|
|
1179
|
+
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Kt;
|
|
1141
1180
|
}, t;
|
|
1142
|
-
}(
|
|
1181
|
+
}(ir), nr = {
|
|
1143
1182
|
now: function() {
|
|
1144
|
-
return (
|
|
1183
|
+
return (nr.delegate || Date).now();
|
|
1145
1184
|
},
|
|
1146
1185
|
delegate: void 0
|
|
1147
|
-
},
|
|
1148
|
-
|
|
1186
|
+
}, Bi = function(e) {
|
|
1187
|
+
j(t, e);
|
|
1149
1188
|
function t(r, i, n) {
|
|
1150
|
-
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n =
|
|
1189
|
+
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = nr);
|
|
1151
1190
|
var o = e.call(this) || this;
|
|
1152
1191
|
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;
|
|
1153
1192
|
}
|
|
1154
1193
|
return t.prototype.next = function(r) {
|
|
1155
|
-
var i = this, n = i.isStopped, o = i._buffer,
|
|
1156
|
-
n || (o.push(r), !
|
|
1194
|
+
var i = this, n = i.isStopped, o = i._buffer, a = i._infiniteTimeWindow, s = i._timestampProvider, l = i._windowTime;
|
|
1195
|
+
n || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1157
1196
|
}, t.prototype._subscribe = function(r) {
|
|
1158
1197
|
this._throwIfClosed(), this._trimBuffer();
|
|
1159
|
-
for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow,
|
|
1160
|
-
r.next(
|
|
1198
|
+
for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, a = n._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
|
|
1199
|
+
r.next(s[l]);
|
|
1161
1200
|
return this._checkFinalizedStatuses(r), i;
|
|
1162
1201
|
}, t.prototype._trimBuffer = function() {
|
|
1163
|
-
var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer,
|
|
1164
|
-
if (i < 1 / 0 &&
|
|
1202
|
+
var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * i;
|
|
1203
|
+
if (i < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
|
|
1165
1204
|
for (var l = n.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
|
|
1166
1205
|
u = h;
|
|
1167
1206
|
u && o.splice(0, u + 1);
|
|
1168
1207
|
}
|
|
1169
1208
|
}, t;
|
|
1170
|
-
}(
|
|
1171
|
-
const
|
|
1172
|
-
if (
|
|
1173
|
-
const r = new
|
|
1174
|
-
|
|
1209
|
+
}(ir);
|
|
1210
|
+
const Ht = [], It = {}, Oi = (e, t = 0) => {
|
|
1211
|
+
if (Ht.indexOf(e) == -1) {
|
|
1212
|
+
const r = new Bi(t);
|
|
1213
|
+
It[e] = r, Ht.push(e);
|
|
1175
1214
|
}
|
|
1176
|
-
return
|
|
1215
|
+
return It[e];
|
|
1177
1216
|
}, Y = [];
|
|
1178
1217
|
function Ci(e, t) {
|
|
1179
1218
|
return {
|
|
1180
|
-
subscribe:
|
|
1219
|
+
subscribe: Oe(e, t).subscribe
|
|
1181
1220
|
};
|
|
1182
1221
|
}
|
|
1183
|
-
function
|
|
1222
|
+
function Oe(e, t = O) {
|
|
1184
1223
|
let r;
|
|
1185
1224
|
const i = /* @__PURE__ */ new Set();
|
|
1186
|
-
function n(
|
|
1187
|
-
if (
|
|
1225
|
+
function n(s) {
|
|
1226
|
+
if (Zt(e, s) && (e = s, r)) {
|
|
1188
1227
|
const l = !Y.length;
|
|
1189
1228
|
for (const u of i)
|
|
1190
1229
|
u[1](), Y.push(u, e);
|
|
@@ -1195,34 +1234,34 @@ function Ce(e, t = B) {
|
|
|
1195
1234
|
}
|
|
1196
1235
|
}
|
|
1197
1236
|
}
|
|
1198
|
-
function o(
|
|
1199
|
-
n(
|
|
1237
|
+
function o(s) {
|
|
1238
|
+
n(s(e));
|
|
1200
1239
|
}
|
|
1201
|
-
function s
|
|
1202
|
-
const u = [
|
|
1203
|
-
return i.add(u), i.size === 1 && (r = t(n, o) ||
|
|
1240
|
+
function a(s, l = O) {
|
|
1241
|
+
const u = [s, l];
|
|
1242
|
+
return i.add(u), i.size === 1 && (r = t(n, o) || O), s(e), () => {
|
|
1204
1243
|
i.delete(u), i.size === 0 && r && (r(), r = null);
|
|
1205
1244
|
};
|
|
1206
1245
|
}
|
|
1207
|
-
return { set: n, update: o, subscribe:
|
|
1246
|
+
return { set: n, update: o, subscribe: a };
|
|
1208
1247
|
}
|
|
1209
|
-
function
|
|
1248
|
+
function oe(e, t, r) {
|
|
1210
1249
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
1211
1250
|
if (!n.every(Boolean))
|
|
1212
1251
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1213
1252
|
const o = t.length < 2;
|
|
1214
|
-
return Ci(r, (
|
|
1253
|
+
return Ci(r, (a, s) => {
|
|
1215
1254
|
let l = !1;
|
|
1216
1255
|
const u = [];
|
|
1217
|
-
let h = 0, c =
|
|
1256
|
+
let h = 0, c = O;
|
|
1218
1257
|
const f = () => {
|
|
1219
1258
|
if (h)
|
|
1220
1259
|
return;
|
|
1221
1260
|
c();
|
|
1222
|
-
const y = t(i ? u[0] : u,
|
|
1223
|
-
o ?
|
|
1261
|
+
const y = t(i ? u[0] : u, a, s);
|
|
1262
|
+
o ? a(y) : c = ct(y) ? y : O;
|
|
1224
1263
|
}, p = n.map(
|
|
1225
|
-
(y, d) =>
|
|
1264
|
+
(y, d) => Qt(
|
|
1226
1265
|
y,
|
|
1227
1266
|
(v) => {
|
|
1228
1267
|
u[d] = v, h &= ~(1 << d), l && f();
|
|
@@ -1233,7 +1272,7 @@ function ne(e, t, r) {
|
|
|
1233
1272
|
)
|
|
1234
1273
|
);
|
|
1235
1274
|
return l = !0, f(), function() {
|
|
1236
|
-
|
|
1275
|
+
ne(p), c(), l = !1;
|
|
1237
1276
|
};
|
|
1238
1277
|
});
|
|
1239
1278
|
}
|
|
@@ -1257,29 +1296,29 @@ function Gi(e) {
|
|
|
1257
1296
|
function Fi(e) {
|
|
1258
1297
|
return Array.isArray(e) ? [] : {};
|
|
1259
1298
|
}
|
|
1260
|
-
function
|
|
1261
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1299
|
+
function fe(e, t) {
|
|
1300
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ee(Fi(e), e, t) : e;
|
|
1262
1301
|
}
|
|
1263
1302
|
function ji(e, t, r) {
|
|
1264
1303
|
return e.concat(t).map(function(i) {
|
|
1265
|
-
return
|
|
1304
|
+
return fe(i, r);
|
|
1266
1305
|
});
|
|
1267
1306
|
}
|
|
1268
1307
|
function ki(e, t) {
|
|
1269
1308
|
if (!t.customMerge)
|
|
1270
|
-
return
|
|
1309
|
+
return ee;
|
|
1271
1310
|
var r = t.customMerge(e);
|
|
1272
|
-
return typeof r == "function" ? r :
|
|
1311
|
+
return typeof r == "function" ? r : ee;
|
|
1273
1312
|
}
|
|
1274
1313
|
function Vi(e) {
|
|
1275
1314
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1276
1315
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1277
1316
|
}) : [];
|
|
1278
1317
|
}
|
|
1279
|
-
function
|
|
1318
|
+
function Bt(e) {
|
|
1280
1319
|
return Object.keys(e).concat(Vi(e));
|
|
1281
1320
|
}
|
|
1282
|
-
function
|
|
1321
|
+
function or(e, t) {
|
|
1283
1322
|
try {
|
|
1284
1323
|
return t in e;
|
|
1285
1324
|
} catch (r) {
|
|
@@ -1287,179 +1326,129 @@ function sr(e, t) {
|
|
|
1287
1326
|
}
|
|
1288
1327
|
}
|
|
1289
1328
|
function Wi(e, t) {
|
|
1290
|
-
return
|
|
1329
|
+
return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1291
1330
|
}
|
|
1292
1331
|
function Xi(e, t, r) {
|
|
1293
1332
|
var i = {};
|
|
1294
|
-
return r.isMergeableObject(e) &&
|
|
1295
|
-
i[n] =
|
|
1296
|
-
}),
|
|
1297
|
-
Wi(e, n) || (
|
|
1333
|
+
return r.isMergeableObject(e) && Bt(e).forEach(function(n) {
|
|
1334
|
+
i[n] = fe(e[n], r);
|
|
1335
|
+
}), Bt(t).forEach(function(n) {
|
|
1336
|
+
Wi(e, n) || (or(e, n) && r.isMergeableObject(t[n]) ? i[n] = ki(n, r)(e[n], t[n], r) : i[n] = fe(t[n], r));
|
|
1298
1337
|
}), i;
|
|
1299
1338
|
}
|
|
1300
|
-
function
|
|
1301
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || ji, r.isMergeableObject = r.isMergeableObject || Mi, r.cloneUnlessOtherwiseSpecified =
|
|
1339
|
+
function ee(e, t, r) {
|
|
1340
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ji, r.isMergeableObject = r.isMergeableObject || Mi, r.cloneUnlessOtherwiseSpecified = fe;
|
|
1302
1341
|
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
1303
|
-
return o ? i ? r.arrayMerge(e, t, r) : Xi(e, t, r) :
|
|
1342
|
+
return o ? i ? r.arrayMerge(e, t, r) : Xi(e, t, r) : fe(t, r);
|
|
1304
1343
|
}
|
|
1305
|
-
|
|
1344
|
+
ee.all = function(t, r) {
|
|
1306
1345
|
if (!Array.isArray(t))
|
|
1307
1346
|
throw new Error("first argument should be an array");
|
|
1308
1347
|
return t.reduce(function(i, n) {
|
|
1309
|
-
return
|
|
1348
|
+
return ee(i, n, r);
|
|
1310
1349
|
}, {});
|
|
1311
1350
|
};
|
|
1312
|
-
var zi =
|
|
1351
|
+
var zi = ee, Zi = zi;
|
|
1313
1352
|
const Qi = /* @__PURE__ */ Ni(Zi);
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
r.__proto__ = i;
|
|
1317
|
-
} || function(r, i) {
|
|
1318
|
-
for (var n in i)
|
|
1319
|
-
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
1320
|
-
}, st(e, t);
|
|
1321
|
-
};
|
|
1322
|
-
function Ne(e, t) {
|
|
1323
|
-
if (typeof t != "function" && t !== null)
|
|
1324
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1325
|
-
st(e, t);
|
|
1326
|
-
function r() {
|
|
1327
|
-
this.constructor = e;
|
|
1328
|
-
}
|
|
1329
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1330
|
-
}
|
|
1331
|
-
var R = function() {
|
|
1332
|
-
return R = Object.assign || function(t) {
|
|
1333
|
-
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1334
|
-
r = arguments[i];
|
|
1335
|
-
for (var o in r)
|
|
1336
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1337
|
-
}
|
|
1338
|
-
return t;
|
|
1339
|
-
}, R.apply(this, arguments);
|
|
1340
|
-
};
|
|
1341
|
-
function Yi(e, t) {
|
|
1342
|
-
var r = {};
|
|
1343
|
-
for (var i in e)
|
|
1344
|
-
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
1345
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1346
|
-
for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
|
|
1347
|
-
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
1348
|
-
return r;
|
|
1349
|
-
}
|
|
1350
|
-
function Ve(e, t, r) {
|
|
1351
|
-
if (r || arguments.length === 2)
|
|
1352
|
-
for (var i = 0, n = t.length, o; i < n; i++)
|
|
1353
|
-
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
1354
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1355
|
-
}
|
|
1356
|
-
function We(e, t) {
|
|
1357
|
-
var r = t && t.cache ? t.cache : nn, i = t && t.serializer ? t.serializer : tn, n = t && t.strategy ? t.strategy : Ki;
|
|
1353
|
+
function ke(e, t) {
|
|
1354
|
+
var r = t && t.cache ? t.cache : tn, i = t && t.serializer ? t.serializer : en, n = t && t.strategy ? t.strategy : Ji;
|
|
1358
1355
|
return n(e, {
|
|
1359
1356
|
cache: r,
|
|
1360
1357
|
serializer: i
|
|
1361
1358
|
});
|
|
1362
1359
|
}
|
|
1363
|
-
function
|
|
1360
|
+
function Yi(e) {
|
|
1364
1361
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1365
1362
|
}
|
|
1366
|
-
function
|
|
1367
|
-
var n =
|
|
1363
|
+
function sr(e, t, r, i) {
|
|
1364
|
+
var n = Yi(i) ? i : r(i), o = t.get(n);
|
|
1368
1365
|
return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
|
|
1369
1366
|
}
|
|
1370
1367
|
function ar(e, t, r) {
|
|
1371
1368
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
|
|
1372
1369
|
return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
|
|
1373
1370
|
}
|
|
1374
|
-
function
|
|
1371
|
+
function ft(e, t, r, i, n) {
|
|
1375
1372
|
return r.bind(t, e, i, n);
|
|
1376
1373
|
}
|
|
1377
|
-
function
|
|
1378
|
-
var r = e.length === 1 ?
|
|
1379
|
-
return
|
|
1374
|
+
function Ji(e, t) {
|
|
1375
|
+
var r = e.length === 1 ? sr : ar;
|
|
1376
|
+
return ft(e, this, r, t.cache.create(), t.serializer);
|
|
1377
|
+
}
|
|
1378
|
+
function qi(e, t) {
|
|
1379
|
+
return ft(e, this, ar, t.cache.create(), t.serializer);
|
|
1380
1380
|
}
|
|
1381
|
-
function
|
|
1382
|
-
return
|
|
1381
|
+
function Ki(e, t) {
|
|
1382
|
+
return ft(e, this, sr, t.cache.create(), t.serializer);
|
|
1383
1383
|
}
|
|
1384
|
-
var
|
|
1384
|
+
var en = function() {
|
|
1385
1385
|
return JSON.stringify(arguments);
|
|
1386
|
-
}
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
}()
|
|
1398
|
-
), nn = {
|
|
1386
|
+
};
|
|
1387
|
+
function mt() {
|
|
1388
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1389
|
+
}
|
|
1390
|
+
mt.prototype.get = function(e) {
|
|
1391
|
+
return this.cache[e];
|
|
1392
|
+
};
|
|
1393
|
+
mt.prototype.set = function(e, t) {
|
|
1394
|
+
this.cache[e] = t;
|
|
1395
|
+
};
|
|
1396
|
+
var tn = {
|
|
1399
1397
|
create: function() {
|
|
1400
|
-
return new
|
|
1398
|
+
return new mt();
|
|
1401
1399
|
}
|
|
1402
|
-
},
|
|
1403
|
-
variadic:
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1407
|
-
r = arguments[i];
|
|
1408
|
-
for (var o in r)
|
|
1409
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1410
|
-
}
|
|
1411
|
-
return t;
|
|
1412
|
-
}, He.apply(this, arguments);
|
|
1413
|
-
};
|
|
1414
|
-
var b;
|
|
1400
|
+
}, Ve = {
|
|
1401
|
+
variadic: qi,
|
|
1402
|
+
monadic: Ki
|
|
1403
|
+
}, b;
|
|
1415
1404
|
(function(e) {
|
|
1416
1405
|
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";
|
|
1417
1406
|
})(b || (b = {}));
|
|
1418
|
-
var
|
|
1407
|
+
var S;
|
|
1419
1408
|
(function(e) {
|
|
1420
1409
|
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";
|
|
1421
|
-
})(
|
|
1422
|
-
var
|
|
1410
|
+
})(S || (S = {}));
|
|
1411
|
+
var te;
|
|
1423
1412
|
(function(e) {
|
|
1424
1413
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1425
|
-
})(
|
|
1426
|
-
function
|
|
1427
|
-
return e.type ===
|
|
1414
|
+
})(te || (te = {}));
|
|
1415
|
+
function Ot(e) {
|
|
1416
|
+
return e.type === S.literal;
|
|
1428
1417
|
}
|
|
1429
|
-
function
|
|
1430
|
-
return e.type ===
|
|
1418
|
+
function rn(e) {
|
|
1419
|
+
return e.type === S.argument;
|
|
1420
|
+
}
|
|
1421
|
+
function ur(e) {
|
|
1422
|
+
return e.type === S.number;
|
|
1431
1423
|
}
|
|
1432
1424
|
function lr(e) {
|
|
1433
|
-
return e.type ===
|
|
1425
|
+
return e.type === S.date;
|
|
1434
1426
|
}
|
|
1435
1427
|
function hr(e) {
|
|
1436
|
-
return e.type ===
|
|
1428
|
+
return e.type === S.time;
|
|
1437
1429
|
}
|
|
1438
1430
|
function cr(e) {
|
|
1439
|
-
return e.type ===
|
|
1431
|
+
return e.type === S.select;
|
|
1440
1432
|
}
|
|
1441
1433
|
function fr(e) {
|
|
1442
|
-
return e.type ===
|
|
1434
|
+
return e.type === S.plural;
|
|
1443
1435
|
}
|
|
1444
|
-
function
|
|
1445
|
-
return e.type ===
|
|
1436
|
+
function nn(e) {
|
|
1437
|
+
return e.type === S.pound;
|
|
1446
1438
|
}
|
|
1447
|
-
function
|
|
1448
|
-
return e.type ===
|
|
1439
|
+
function mr(e) {
|
|
1440
|
+
return e.type === S.tag;
|
|
1449
1441
|
}
|
|
1450
1442
|
function pr(e) {
|
|
1451
|
-
return e.type ===
|
|
1452
|
-
}
|
|
1453
|
-
function dr(e) {
|
|
1454
|
-
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
1443
|
+
return !!(e && typeof e == "object" && e.type === te.number);
|
|
1455
1444
|
}
|
|
1456
|
-
function
|
|
1457
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1445
|
+
function it(e) {
|
|
1446
|
+
return !!(e && typeof e == "object" && e.type === te.dateTime);
|
|
1458
1447
|
}
|
|
1459
|
-
var
|
|
1460
|
-
function
|
|
1448
|
+
var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, on = /(?:[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;
|
|
1449
|
+
function sn(e) {
|
|
1461
1450
|
var t = {};
|
|
1462
|
-
return e.replace(
|
|
1451
|
+
return e.replace(on, function(r) {
|
|
1463
1452
|
var i = r.length;
|
|
1464
1453
|
switch (r[0]) {
|
|
1465
1454
|
case "G":
|
|
@@ -1548,46 +1537,36 @@ function un(e) {
|
|
|
1548
1537
|
return "";
|
|
1549
1538
|
}), t;
|
|
1550
1539
|
}
|
|
1551
|
-
var
|
|
1552
|
-
|
|
1553
|
-
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1554
|
-
r = arguments[i];
|
|
1555
|
-
for (var o in r)
|
|
1556
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1557
|
-
}
|
|
1558
|
-
return t;
|
|
1559
|
-
}, w.apply(this, arguments);
|
|
1560
|
-
};
|
|
1561
|
-
var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1562
|
-
function hn(e) {
|
|
1540
|
+
var an = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1541
|
+
function un(e) {
|
|
1563
1542
|
if (e.length === 0)
|
|
1564
1543
|
throw new Error("Number skeleton cannot be empty");
|
|
1565
|
-
for (var t = e.split(
|
|
1544
|
+
for (var t = e.split(an).filter(function(f) {
|
|
1566
1545
|
return f.length > 0;
|
|
1567
1546
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
1568
|
-
var o = n[i],
|
|
1569
|
-
if (
|
|
1547
|
+
var o = n[i], a = o.split("/");
|
|
1548
|
+
if (a.length === 0)
|
|
1570
1549
|
throw new Error("Invalid number skeleton");
|
|
1571
|
-
for (var
|
|
1550
|
+
for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1572
1551
|
var c = h[u];
|
|
1573
1552
|
if (c.length === 0)
|
|
1574
1553
|
throw new Error("Invalid number skeleton");
|
|
1575
1554
|
}
|
|
1576
|
-
r.push({ stem:
|
|
1555
|
+
r.push({ stem: s, options: l });
|
|
1577
1556
|
}
|
|
1578
1557
|
return r;
|
|
1579
1558
|
}
|
|
1580
|
-
function
|
|
1559
|
+
function ln(e) {
|
|
1581
1560
|
return e.replace(/^(.*?)-/, "");
|
|
1582
1561
|
}
|
|
1583
|
-
var
|
|
1584
|
-
function
|
|
1562
|
+
var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, hn = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
|
|
1563
|
+
function Nt(e) {
|
|
1585
1564
|
var t = {};
|
|
1586
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1565
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yr, function(r, i, n) {
|
|
1587
1566
|
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)), "";
|
|
1588
1567
|
}), t;
|
|
1589
1568
|
}
|
|
1590
|
-
function
|
|
1569
|
+
function br(e) {
|
|
1591
1570
|
switch (e) {
|
|
1592
1571
|
case "sign-auto":
|
|
1593
1572
|
return {
|
|
@@ -1627,7 +1606,7 @@ function vr(e) {
|
|
|
1627
1606
|
};
|
|
1628
1607
|
}
|
|
1629
1608
|
}
|
|
1630
|
-
function
|
|
1609
|
+
function cn(e) {
|
|
1631
1610
|
var t;
|
|
1632
1611
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1633
1612
|
notation: "engineering"
|
|
@@ -1635,17 +1614,17 @@ function mn(e) {
|
|
|
1635
1614
|
notation: "scientific"
|
|
1636
1615
|
}, e = e.slice(1)), t) {
|
|
1637
1616
|
var r = e.slice(0, 2);
|
|
1638
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1617
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
|
|
1639
1618
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1640
1619
|
t.minimumIntegerDigits = e.length;
|
|
1641
1620
|
}
|
|
1642
1621
|
return t;
|
|
1643
1622
|
}
|
|
1644
|
-
function
|
|
1645
|
-
var t = {}, r =
|
|
1623
|
+
function Mt(e) {
|
|
1624
|
+
var t = {}, r = br(e);
|
|
1646
1625
|
return r || t;
|
|
1647
1626
|
}
|
|
1648
|
-
function
|
|
1627
|
+
function fn(e) {
|
|
1649
1628
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
1650
1629
|
var n = i[r];
|
|
1651
1630
|
switch (n.stem) {
|
|
@@ -1669,7 +1648,7 @@ function pn(e) {
|
|
|
1669
1648
|
continue;
|
|
1670
1649
|
case "measure-unit":
|
|
1671
1650
|
case "unit":
|
|
1672
|
-
t.style = "unit", t.unit =
|
|
1651
|
+
t.style = "unit", t.unit = ln(n.options[0]);
|
|
1673
1652
|
continue;
|
|
1674
1653
|
case "compact-short":
|
|
1675
1654
|
case "K":
|
|
@@ -1680,13 +1659,13 @@ function pn(e) {
|
|
|
1680
1659
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1681
1660
|
continue;
|
|
1682
1661
|
case "scientific":
|
|
1683
|
-
t =
|
|
1684
|
-
return
|
|
1662
|
+
t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
|
|
1663
|
+
return E(E({}, l), Mt(u));
|
|
1685
1664
|
}, {}));
|
|
1686
1665
|
continue;
|
|
1687
1666
|
case "engineering":
|
|
1688
|
-
t =
|
|
1689
|
-
return
|
|
1667
|
+
t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
|
|
1668
|
+
return E(E({}, l), Mt(u));
|
|
1690
1669
|
}, {}));
|
|
1691
1670
|
continue;
|
|
1692
1671
|
case "notation-simple":
|
|
@@ -1731,7 +1710,7 @@ function pn(e) {
|
|
|
1731
1710
|
case "integer-width":
|
|
1732
1711
|
if (n.options.length > 1)
|
|
1733
1712
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1734
|
-
n.options[0].replace(
|
|
1713
|
+
n.options[0].replace(hn, function(l, u, h, c, f, p) {
|
|
1735
1714
|
if (u)
|
|
1736
1715
|
t.minimumIntegerDigits = h.length;
|
|
1737
1716
|
else {
|
|
@@ -1744,28 +1723,28 @@ function pn(e) {
|
|
|
1744
1723
|
});
|
|
1745
1724
|
continue;
|
|
1746
1725
|
}
|
|
1747
|
-
if (
|
|
1726
|
+
if (gr.test(n.stem)) {
|
|
1748
1727
|
t.minimumIntegerDigits = n.stem.length;
|
|
1749
1728
|
continue;
|
|
1750
1729
|
}
|
|
1751
|
-
if (
|
|
1730
|
+
if (Ct.test(n.stem)) {
|
|
1752
1731
|
if (n.options.length > 1)
|
|
1753
1732
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1754
|
-
n.stem.replace(
|
|
1733
|
+
n.stem.replace(Ct, function(l, u, h, c, f, p) {
|
|
1755
1734
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1756
1735
|
});
|
|
1757
1736
|
var o = n.options[0];
|
|
1758
|
-
o === "w" ? t =
|
|
1737
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Nt(o)));
|
|
1759
1738
|
continue;
|
|
1760
1739
|
}
|
|
1761
|
-
if (
|
|
1762
|
-
t =
|
|
1740
|
+
if (yr.test(n.stem)) {
|
|
1741
|
+
t = E(E({}, t), Nt(n.stem));
|
|
1763
1742
|
continue;
|
|
1764
1743
|
}
|
|
1765
|
-
var
|
|
1766
|
-
|
|
1767
|
-
var
|
|
1768
|
-
|
|
1744
|
+
var a = br(n.stem);
|
|
1745
|
+
a && (t = E(E({}, t), a));
|
|
1746
|
+
var s = cn(n.stem);
|
|
1747
|
+
s && (t = E(E({}, t), s));
|
|
1769
1748
|
}
|
|
1770
1749
|
return t;
|
|
1771
1750
|
}
|
|
@@ -3184,23 +3163,23 @@ var Ee = {
|
|
|
3184
3163
|
"h"
|
|
3185
3164
|
]
|
|
3186
3165
|
};
|
|
3187
|
-
function
|
|
3166
|
+
function mn(e, t) {
|
|
3188
3167
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
3189
3168
|
var n = e.charAt(i);
|
|
3190
3169
|
if (n === "j") {
|
|
3191
3170
|
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
3192
3171
|
o++, i++;
|
|
3193
|
-
var
|
|
3194
|
-
for ((u == "H" || u == "k") && (
|
|
3172
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = pn(t);
|
|
3173
|
+
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3195
3174
|
r += l;
|
|
3196
|
-
for (;
|
|
3175
|
+
for (; a-- > 0; )
|
|
3197
3176
|
r = u + r;
|
|
3198
3177
|
} else
|
|
3199
3178
|
n === "J" ? r += "H" : r += n;
|
|
3200
3179
|
}
|
|
3201
3180
|
return r;
|
|
3202
3181
|
}
|
|
3203
|
-
function
|
|
3182
|
+
function pn(e) {
|
|
3204
3183
|
var t = e.hourCycle;
|
|
3205
3184
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3206
3185
|
e.hourCycles && // @ts-ignore
|
|
@@ -3222,20 +3201,20 @@ function yn(e) {
|
|
|
3222
3201
|
var n = Ee[i || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
|
|
3223
3202
|
return n[0];
|
|
3224
3203
|
}
|
|
3225
|
-
var
|
|
3204
|
+
var We, dn = new RegExp("^".concat(dr.source, "*")), yn = new RegExp("".concat(dr.source, "*$"));
|
|
3226
3205
|
function _(e, t) {
|
|
3227
3206
|
return { start: e, end: t };
|
|
3228
3207
|
}
|
|
3229
|
-
var
|
|
3208
|
+
var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), bn = !!String.fromCodePoint, vn = !!Object.fromEntries, _n = !!String.prototype.codePointAt, En = !!String.prototype.trimStart, xn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, Ln = Tn ? Number.isSafeInteger : function(e) {
|
|
3230
3209
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3231
|
-
},
|
|
3210
|
+
}, nt = !0;
|
|
3232
3211
|
try {
|
|
3233
|
-
var
|
|
3234
|
-
|
|
3212
|
+
var Sn = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3213
|
+
nt = ((We = Sn.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
|
|
3235
3214
|
} catch (e) {
|
|
3236
|
-
|
|
3215
|
+
nt = !1;
|
|
3237
3216
|
}
|
|
3238
|
-
var
|
|
3217
|
+
var Rt = gn ? (
|
|
3239
3218
|
// Native
|
|
3240
3219
|
function(t, r, i) {
|
|
3241
3220
|
return t.startsWith(r, i);
|
|
@@ -3245,31 +3224,31 @@ var Ut = vn ? (
|
|
|
3245
3224
|
function(t, r, i) {
|
|
3246
3225
|
return t.slice(i, i + r.length) === r;
|
|
3247
3226
|
}
|
|
3248
|
-
),
|
|
3227
|
+
), ot = bn ? String.fromCodePoint : (
|
|
3249
3228
|
// IE11
|
|
3250
3229
|
function() {
|
|
3251
3230
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3252
3231
|
t[r] = arguments[r];
|
|
3253
|
-
for (var i = "", n = t.length, o = 0,
|
|
3254
|
-
if (
|
|
3255
|
-
throw RangeError(
|
|
3256
|
-
i +=
|
|
3232
|
+
for (var i = "", n = t.length, o = 0, a; n > o; ) {
|
|
3233
|
+
if (a = t[o++], a > 1114111)
|
|
3234
|
+
throw RangeError(a + " is not a valid code point");
|
|
3235
|
+
i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
3257
3236
|
}
|
|
3258
3237
|
return i;
|
|
3259
3238
|
}
|
|
3260
|
-
),
|
|
3239
|
+
), Dt = (
|
|
3261
3240
|
// native
|
|
3262
|
-
|
|
3241
|
+
vn ? Object.fromEntries : (
|
|
3263
3242
|
// Ponyfill
|
|
3264
3243
|
function(t) {
|
|
3265
3244
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
3266
|
-
var o = n[i],
|
|
3267
|
-
r[
|
|
3245
|
+
var o = n[i], a = o[0], s = o[1];
|
|
3246
|
+
r[a] = s;
|
|
3268
3247
|
}
|
|
3269
3248
|
return r;
|
|
3270
3249
|
}
|
|
3271
3250
|
)
|
|
3272
|
-
),
|
|
3251
|
+
), vr = _n ? (
|
|
3273
3252
|
// Native
|
|
3274
3253
|
function(t, r) {
|
|
3275
3254
|
return t.codePointAt(r);
|
|
@@ -3283,7 +3262,7 @@ var Ut = vn ? (
|
|
|
3283
3262
|
return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
3284
3263
|
}
|
|
3285
3264
|
}
|
|
3286
|
-
),
|
|
3265
|
+
), wn = En ? (
|
|
3287
3266
|
// Native
|
|
3288
3267
|
function(t) {
|
|
3289
3268
|
return t.trimStart();
|
|
@@ -3291,9 +3270,9 @@ var Ut = vn ? (
|
|
|
3291
3270
|
) : (
|
|
3292
3271
|
// Ponyfill
|
|
3293
3272
|
function(t) {
|
|
3294
|
-
return t.replace(
|
|
3273
|
+
return t.replace(dn, "");
|
|
3295
3274
|
}
|
|
3296
|
-
),
|
|
3275
|
+
), An = xn ? (
|
|
3297
3276
|
// Native
|
|
3298
3277
|
function(t) {
|
|
3299
3278
|
return t.trimEnd();
|
|
@@ -3301,32 +3280,32 @@ var Ut = vn ? (
|
|
|
3301
3280
|
) : (
|
|
3302
3281
|
// Ponyfill
|
|
3303
3282
|
function(t) {
|
|
3304
|
-
return t.replace(
|
|
3283
|
+
return t.replace(yn, "");
|
|
3305
3284
|
}
|
|
3306
3285
|
);
|
|
3307
|
-
function
|
|
3286
|
+
function _r(e, t) {
|
|
3308
3287
|
return new RegExp(e, t);
|
|
3309
3288
|
}
|
|
3310
|
-
var
|
|
3311
|
-
if (
|
|
3312
|
-
var
|
|
3313
|
-
|
|
3289
|
+
var st;
|
|
3290
|
+
if (nt) {
|
|
3291
|
+
var Ut = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3292
|
+
st = function(t, r) {
|
|
3314
3293
|
var i;
|
|
3315
|
-
|
|
3316
|
-
var n =
|
|
3294
|
+
Ut.lastIndex = r;
|
|
3295
|
+
var n = Ut.exec(t);
|
|
3317
3296
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
3318
3297
|
};
|
|
3319
3298
|
} else
|
|
3320
|
-
|
|
3299
|
+
st = function(t, r) {
|
|
3321
3300
|
for (var i = []; ; ) {
|
|
3322
|
-
var n =
|
|
3323
|
-
if (n === void 0 ||
|
|
3301
|
+
var n = vr(t, r);
|
|
3302
|
+
if (n === void 0 || Er(n) || Bn(n))
|
|
3324
3303
|
break;
|
|
3325
3304
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
3326
3305
|
}
|
|
3327
|
-
return
|
|
3306
|
+
return ot.apply(void 0, i);
|
|
3328
3307
|
};
|
|
3329
|
-
var
|
|
3308
|
+
var Pn = (
|
|
3330
3309
|
/** @class */
|
|
3331
3310
|
function() {
|
|
3332
3311
|
function e(t, r) {
|
|
@@ -3340,33 +3319,33 @@ var On = (
|
|
|
3340
3319
|
for (var n = []; !this.isEOF(); ) {
|
|
3341
3320
|
var o = this.char();
|
|
3342
3321
|
if (o === 123) {
|
|
3343
|
-
var
|
|
3344
|
-
if (
|
|
3345
|
-
return
|
|
3346
|
-
n.push(
|
|
3322
|
+
var a = this.parseArgument(t, i);
|
|
3323
|
+
if (a.err)
|
|
3324
|
+
return a;
|
|
3325
|
+
n.push(a.val);
|
|
3347
3326
|
} else {
|
|
3348
3327
|
if (o === 125 && t > 0)
|
|
3349
3328
|
break;
|
|
3350
3329
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3351
|
-
var
|
|
3330
|
+
var s = this.clonePosition();
|
|
3352
3331
|
this.bump(), n.push({
|
|
3353
|
-
type:
|
|
3354
|
-
location: _(
|
|
3332
|
+
type: S.pound,
|
|
3333
|
+
location: _(s, this.clonePosition())
|
|
3355
3334
|
});
|
|
3356
3335
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3357
3336
|
if (i)
|
|
3358
3337
|
break;
|
|
3359
3338
|
return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3360
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3361
|
-
var
|
|
3362
|
-
if (
|
|
3363
|
-
return
|
|
3364
|
-
n.push(
|
|
3339
|
+
} else if (o === 60 && !this.ignoreTag && at(this.peek() || 0)) {
|
|
3340
|
+
var a = this.parseTag(t, r);
|
|
3341
|
+
if (a.err)
|
|
3342
|
+
return a;
|
|
3343
|
+
n.push(a.val);
|
|
3365
3344
|
} else {
|
|
3366
|
-
var
|
|
3367
|
-
if (
|
|
3368
|
-
return
|
|
3369
|
-
n.push(
|
|
3345
|
+
var a = this.parseLiteral(t, r);
|
|
3346
|
+
if (a.err)
|
|
3347
|
+
return a;
|
|
3348
|
+
n.push(a.val);
|
|
3370
3349
|
}
|
|
3371
3350
|
}
|
|
3372
3351
|
}
|
|
@@ -3378,7 +3357,7 @@ var On = (
|
|
|
3378
3357
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3379
3358
|
return {
|
|
3380
3359
|
val: {
|
|
3381
|
-
type:
|
|
3360
|
+
type: S.literal,
|
|
3382
3361
|
value: "<".concat(n, "/>"),
|
|
3383
3362
|
location: _(i, this.clonePosition())
|
|
3384
3363
|
},
|
|
@@ -3388,27 +3367,27 @@ var On = (
|
|
|
3388
3367
|
var o = this.parseMessage(t + 1, r, !0);
|
|
3389
3368
|
if (o.err)
|
|
3390
3369
|
return o;
|
|
3391
|
-
var
|
|
3370
|
+
var a = o.val, s = this.clonePosition();
|
|
3392
3371
|
if (this.bumpIf("</")) {
|
|
3393
|
-
if (this.isEOF() || !
|
|
3394
|
-
return this.error(b.INVALID_TAG, _(
|
|
3372
|
+
if (this.isEOF() || !at(this.char()))
|
|
3373
|
+
return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
|
|
3395
3374
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3396
3375
|
return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3397
3376
|
val: {
|
|
3398
|
-
type:
|
|
3377
|
+
type: S.tag,
|
|
3399
3378
|
value: n,
|
|
3400
|
-
children:
|
|
3379
|
+
children: a,
|
|
3401
3380
|
location: _(i, this.clonePosition())
|
|
3402
3381
|
},
|
|
3403
3382
|
err: null
|
|
3404
|
-
} : this.error(b.INVALID_TAG, _(
|
|
3383
|
+
} : this.error(b.INVALID_TAG, _(s, this.clonePosition())));
|
|
3405
3384
|
} else
|
|
3406
3385
|
return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
|
|
3407
3386
|
} else
|
|
3408
3387
|
return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
|
|
3409
3388
|
}, e.prototype.parseTagName = function() {
|
|
3410
3389
|
var t = this.offset();
|
|
3411
|
-
for (this.bump(); !this.isEOF() &&
|
|
3390
|
+
for (this.bump(); !this.isEOF() && In(this.char()); )
|
|
3412
3391
|
this.bump();
|
|
3413
3392
|
return this.message.slice(t, this.offset());
|
|
3414
3393
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3418,26 +3397,26 @@ var On = (
|
|
|
3418
3397
|
n += o;
|
|
3419
3398
|
continue;
|
|
3420
3399
|
}
|
|
3421
|
-
var
|
|
3422
|
-
if (s) {
|
|
3423
|
-
n += s;
|
|
3424
|
-
continue;
|
|
3425
|
-
}
|
|
3426
|
-
var a = this.tryParseLeftAngleBracket();
|
|
3400
|
+
var a = this.tryParseUnquoted(t, r);
|
|
3427
3401
|
if (a) {
|
|
3428
3402
|
n += a;
|
|
3429
3403
|
continue;
|
|
3430
3404
|
}
|
|
3405
|
+
var s = this.tryParseLeftAngleBracket();
|
|
3406
|
+
if (s) {
|
|
3407
|
+
n += s;
|
|
3408
|
+
continue;
|
|
3409
|
+
}
|
|
3431
3410
|
break;
|
|
3432
3411
|
}
|
|
3433
3412
|
var l = _(i, this.clonePosition());
|
|
3434
3413
|
return {
|
|
3435
|
-
val: { type:
|
|
3414
|
+
val: { type: S.literal, value: n, location: l },
|
|
3436
3415
|
err: null
|
|
3437
3416
|
};
|
|
3438
3417
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3439
3418
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3440
|
-
!
|
|
3419
|
+
!Hn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3441
3420
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3442
3421
|
if (this.isEOF() || this.char() !== 39)
|
|
3443
3422
|
return null;
|
|
@@ -3471,12 +3450,12 @@ var On = (
|
|
|
3471
3450
|
r.push(i);
|
|
3472
3451
|
this.bump();
|
|
3473
3452
|
}
|
|
3474
|
-
return
|
|
3453
|
+
return ot.apply(void 0, r);
|
|
3475
3454
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3476
3455
|
if (this.isEOF())
|
|
3477
3456
|
return null;
|
|
3478
3457
|
var i = this.char();
|
|
3479
|
-
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(),
|
|
3458
|
+
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ot(i));
|
|
3480
3459
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3481
3460
|
var i = this.clonePosition();
|
|
3482
3461
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3492,7 +3471,7 @@ var On = (
|
|
|
3492
3471
|
case 125:
|
|
3493
3472
|
return this.bump(), {
|
|
3494
3473
|
val: {
|
|
3495
|
-
type:
|
|
3474
|
+
type: S.argument,
|
|
3496
3475
|
// value does not include the opening and closing braces.
|
|
3497
3476
|
value: n,
|
|
3498
3477
|
location: _(i, this.clonePosition())
|
|
@@ -3505,15 +3484,15 @@ var On = (
|
|
|
3505
3484
|
return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
|
|
3506
3485
|
}
|
|
3507
3486
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3508
|
-
var t = this.clonePosition(), r = this.offset(), i =
|
|
3487
|
+
var t = this.clonePosition(), r = this.offset(), i = st(this.message, r), n = r + i.length;
|
|
3509
3488
|
this.bumpTo(n);
|
|
3510
|
-
var o = this.clonePosition(),
|
|
3511
|
-
return { value: i, location:
|
|
3489
|
+
var o = this.clonePosition(), a = _(t, o);
|
|
3490
|
+
return { value: i, location: a };
|
|
3512
3491
|
}, e.prototype.parseArgumentOptions = function(t, r, i, n) {
|
|
3513
|
-
var o,
|
|
3514
|
-
switch (
|
|
3492
|
+
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3493
|
+
switch (s) {
|
|
3515
3494
|
case "":
|
|
3516
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE, _(
|
|
3495
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, _(a, l));
|
|
3517
3496
|
case "number":
|
|
3518
3497
|
case "date":
|
|
3519
3498
|
case "time": {
|
|
@@ -3524,7 +3503,7 @@ var On = (
|
|
|
3524
3503
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3525
3504
|
if (c.err)
|
|
3526
3505
|
return c;
|
|
3527
|
-
var f =
|
|
3506
|
+
var f = An(c.val);
|
|
3528
3507
|
if (f.length === 0)
|
|
3529
3508
|
return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3530
3509
|
var p = _(h, this.clonePosition());
|
|
@@ -3534,25 +3513,25 @@ var On = (
|
|
|
3534
3513
|
if (y.err)
|
|
3535
3514
|
return y;
|
|
3536
3515
|
var d = _(n, this.clonePosition());
|
|
3537
|
-
if (u &&
|
|
3538
|
-
var v =
|
|
3539
|
-
if (
|
|
3516
|
+
if (u && Rt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3517
|
+
var v = wn(u.style.slice(2));
|
|
3518
|
+
if (s === "number") {
|
|
3540
3519
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3541
3520
|
return c.err ? c : {
|
|
3542
|
-
val: { type:
|
|
3521
|
+
val: { type: S.number, value: i, location: d, style: c.val },
|
|
3543
3522
|
err: null
|
|
3544
3523
|
};
|
|
3545
3524
|
} else {
|
|
3546
3525
|
if (v.length === 0)
|
|
3547
3526
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3548
3527
|
var H = v;
|
|
3549
|
-
this.locale && (H =
|
|
3528
|
+
this.locale && (H = mn(v, this.locale));
|
|
3550
3529
|
var f = {
|
|
3551
|
-
type:
|
|
3530
|
+
type: te.dateTime,
|
|
3552
3531
|
pattern: H,
|
|
3553
3532
|
location: u.styleLocation,
|
|
3554
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3555
|
-
}, g =
|
|
3533
|
+
parsedOptions: this.shouldParseSkeletons ? sn(H) : {}
|
|
3534
|
+
}, g = s === "date" ? S.date : S.time;
|
|
3556
3535
|
return {
|
|
3557
3536
|
val: { type: g, value: i, location: d, style: f },
|
|
3558
3537
|
err: null
|
|
@@ -3561,7 +3540,7 @@ var On = (
|
|
|
3561
3540
|
}
|
|
3562
3541
|
return {
|
|
3563
3542
|
val: {
|
|
3564
|
-
type:
|
|
3543
|
+
type: s === "number" ? S.number : s === "date" ? S.date : S.time,
|
|
3565
3544
|
value: i,
|
|
3566
3545
|
location: d,
|
|
3567
3546
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3572,49 +3551,49 @@ var On = (
|
|
|
3572
3551
|
case "plural":
|
|
3573
3552
|
case "selectordinal":
|
|
3574
3553
|
case "select": {
|
|
3575
|
-
var
|
|
3554
|
+
var w = this.clonePosition();
|
|
3576
3555
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3577
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(
|
|
3556
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, E({}, w)));
|
|
3578
3557
|
this.bumpSpace();
|
|
3579
|
-
var
|
|
3580
|
-
if (
|
|
3558
|
+
var D = this.parseIdentifierIfPossible(), M = 0;
|
|
3559
|
+
if (s !== "select" && D.value === "offset") {
|
|
3581
3560
|
if (!this.bumpIf(":"))
|
|
3582
3561
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3583
3562
|
this.bumpSpace();
|
|
3584
3563
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3585
3564
|
if (c.err)
|
|
3586
3565
|
return c;
|
|
3587
|
-
this.bumpSpace(),
|
|
3566
|
+
this.bumpSpace(), D = this.parseIdentifierIfPossible(), M = c.val;
|
|
3588
3567
|
}
|
|
3589
|
-
var
|
|
3590
|
-
if (
|
|
3591
|
-
return
|
|
3568
|
+
var U = this.tryParsePluralOrSelectOptions(t, s, r, D);
|
|
3569
|
+
if (U.err)
|
|
3570
|
+
return U;
|
|
3592
3571
|
var y = this.tryParseArgumentClose(n);
|
|
3593
3572
|
if (y.err)
|
|
3594
3573
|
return y;
|
|
3595
3574
|
var X = _(n, this.clonePosition());
|
|
3596
|
-
return
|
|
3575
|
+
return s === "select" ? {
|
|
3597
3576
|
val: {
|
|
3598
|
-
type:
|
|
3577
|
+
type: S.select,
|
|
3599
3578
|
value: i,
|
|
3600
|
-
options:
|
|
3579
|
+
options: Dt(U.val),
|
|
3601
3580
|
location: X
|
|
3602
3581
|
},
|
|
3603
3582
|
err: null
|
|
3604
3583
|
} : {
|
|
3605
3584
|
val: {
|
|
3606
|
-
type:
|
|
3585
|
+
type: S.plural,
|
|
3607
3586
|
value: i,
|
|
3608
|
-
options:
|
|
3587
|
+
options: Dt(U.val),
|
|
3609
3588
|
offset: M,
|
|
3610
|
-
pluralType:
|
|
3589
|
+
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3611
3590
|
location: X
|
|
3612
3591
|
},
|
|
3613
3592
|
err: null
|
|
3614
3593
|
};
|
|
3615
3594
|
}
|
|
3616
3595
|
default:
|
|
3617
|
-
return this.error(b.INVALID_ARGUMENT_TYPE, _(
|
|
3596
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, _(a, l));
|
|
3618
3597
|
}
|
|
3619
3598
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3620
3599
|
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3656,21 +3635,21 @@ var On = (
|
|
|
3656
3635
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3657
3636
|
var i = [];
|
|
3658
3637
|
try {
|
|
3659
|
-
i =
|
|
3638
|
+
i = un(t);
|
|
3660
3639
|
} catch (n) {
|
|
3661
3640
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3662
3641
|
}
|
|
3663
3642
|
return {
|
|
3664
3643
|
val: {
|
|
3665
|
-
type:
|
|
3644
|
+
type: te.number,
|
|
3666
3645
|
tokens: i,
|
|
3667
3646
|
location: r,
|
|
3668
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3647
|
+
parsedOptions: this.shouldParseSkeletons ? fn(i) : {}
|
|
3669
3648
|
},
|
|
3670
3649
|
err: null
|
|
3671
3650
|
};
|
|
3672
3651
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
|
|
3673
|
-
for (var o,
|
|
3652
|
+
for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
|
|
3674
3653
|
if (u.length === 0) {
|
|
3675
3654
|
var c = this.clonePosition();
|
|
3676
3655
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3683,7 +3662,7 @@ var On = (
|
|
|
3683
3662
|
}
|
|
3684
3663
|
if (l.has(u))
|
|
3685
3664
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3686
|
-
u === "other" && (
|
|
3665
|
+
u === "other" && (a = !0), this.bumpSpace();
|
|
3687
3666
|
var p = this.clonePosition();
|
|
3688
3667
|
if (!this.bumpIf("{"))
|
|
3689
3668
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
@@ -3693,7 +3672,7 @@ var On = (
|
|
|
3693
3672
|
var d = this.tryParseArgumentClose(p);
|
|
3694
3673
|
if (d.err)
|
|
3695
3674
|
return d;
|
|
3696
|
-
|
|
3675
|
+
s.push([
|
|
3697
3676
|
u,
|
|
3698
3677
|
{
|
|
3699
3678
|
value: y.val,
|
|
@@ -3701,19 +3680,19 @@ var On = (
|
|
|
3701
3680
|
}
|
|
3702
3681
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3703
3682
|
}
|
|
3704
|
-
return
|
|
3683
|
+
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3705
3684
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3706
3685
|
var i = 1, n = this.clonePosition();
|
|
3707
3686
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
3708
|
-
for (var o = !1,
|
|
3709
|
-
var
|
|
3710
|
-
if (
|
|
3711
|
-
o = !0,
|
|
3687
|
+
for (var o = !1, a = 0; !this.isEOF(); ) {
|
|
3688
|
+
var s = this.char();
|
|
3689
|
+
if (s >= 48 && s <= 57)
|
|
3690
|
+
o = !0, a = a * 10 + (s - 48), this.bump();
|
|
3712
3691
|
else
|
|
3713
3692
|
break;
|
|
3714
3693
|
}
|
|
3715
3694
|
var l = _(n, this.clonePosition());
|
|
3716
|
-
return o ? (
|
|
3695
|
+
return o ? (a *= i, Ln(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3717
3696
|
}, e.prototype.offset = function() {
|
|
3718
3697
|
return this.position.offset;
|
|
3719
3698
|
}, e.prototype.isEOF = function() {
|
|
@@ -3728,7 +3707,7 @@ var On = (
|
|
|
3728
3707
|
var t = this.position.offset;
|
|
3729
3708
|
if (t >= this.message.length)
|
|
3730
3709
|
throw Error("out of bound");
|
|
3731
|
-
var r =
|
|
3710
|
+
var r = vr(this.message, t);
|
|
3732
3711
|
if (r === void 0)
|
|
3733
3712
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3734
3713
|
return r;
|
|
@@ -3747,7 +3726,7 @@ var On = (
|
|
|
3747
3726
|
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);
|
|
3748
3727
|
}
|
|
3749
3728
|
}, e.prototype.bumpIf = function(t) {
|
|
3750
|
-
if (
|
|
3729
|
+
if (Rt(this.message, t, this.offset())) {
|
|
3751
3730
|
for (var r = 0; r < t.length; r++)
|
|
3752
3731
|
this.bump();
|
|
3753
3732
|
return !0;
|
|
@@ -3769,7 +3748,7 @@ var On = (
|
|
|
3769
3748
|
break;
|
|
3770
3749
|
}
|
|
3771
3750
|
}, e.prototype.bumpSpace = function() {
|
|
3772
|
-
for (; !this.isEOF() &&
|
|
3751
|
+
for (; !this.isEOF() && Er(this.char()); )
|
|
3773
3752
|
this.bump();
|
|
3774
3753
|
}, e.prototype.peek = function() {
|
|
3775
3754
|
if (this.isEOF())
|
|
@@ -3779,47 +3758,47 @@ var On = (
|
|
|
3779
3758
|
}, e;
|
|
3780
3759
|
}()
|
|
3781
3760
|
);
|
|
3782
|
-
function
|
|
3761
|
+
function at(e) {
|
|
3783
3762
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3784
3763
|
}
|
|
3785
|
-
function
|
|
3786
|
-
return
|
|
3764
|
+
function Hn(e) {
|
|
3765
|
+
return at(e) || e === 47;
|
|
3787
3766
|
}
|
|
3788
|
-
function
|
|
3767
|
+
function In(e) {
|
|
3789
3768
|
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;
|
|
3790
3769
|
}
|
|
3791
|
-
function
|
|
3770
|
+
function Er(e) {
|
|
3792
3771
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3793
3772
|
}
|
|
3794
|
-
function
|
|
3773
|
+
function Bn(e) {
|
|
3795
3774
|
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;
|
|
3796
3775
|
}
|
|
3797
|
-
function
|
|
3776
|
+
function ut(e) {
|
|
3798
3777
|
e.forEach(function(t) {
|
|
3799
|
-
if (delete t.location,
|
|
3778
|
+
if (delete t.location, cr(t) || fr(t))
|
|
3800
3779
|
for (var r in t.options)
|
|
3801
|
-
delete t.options[r].location,
|
|
3780
|
+
delete t.options[r].location, ut(t.options[r].value);
|
|
3802
3781
|
else
|
|
3803
|
-
|
|
3782
|
+
ur(t) && pr(t.style) || (lr(t) || hr(t)) && it(t.style) ? delete t.style.location : mr(t) && ut(t.children);
|
|
3804
3783
|
});
|
|
3805
3784
|
}
|
|
3806
|
-
function
|
|
3807
|
-
t === void 0 && (t = {}), t =
|
|
3808
|
-
var r = new
|
|
3785
|
+
function On(e, t) {
|
|
3786
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3787
|
+
var r = new Pn(e, t).parse();
|
|
3809
3788
|
if (r.err) {
|
|
3810
3789
|
var i = SyntaxError(b[r.err.kind]);
|
|
3811
3790
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3812
3791
|
}
|
|
3813
|
-
return t != null && t.captureLocation ||
|
|
3792
|
+
return t != null && t.captureLocation || ut(r.val), r.val;
|
|
3814
3793
|
}
|
|
3815
|
-
var
|
|
3794
|
+
var re;
|
|
3816
3795
|
(function(e) {
|
|
3817
3796
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3818
|
-
})(
|
|
3819
|
-
var
|
|
3797
|
+
})(re || (re = {}));
|
|
3798
|
+
var Ce = (
|
|
3820
3799
|
/** @class */
|
|
3821
3800
|
function(e) {
|
|
3822
|
-
|
|
3801
|
+
j(t, e);
|
|
3823
3802
|
function t(r, i, n) {
|
|
3824
3803
|
var o = e.call(this, r) || this;
|
|
3825
3804
|
return o.code = i, o.originalMessage = n, o;
|
|
@@ -3828,155 +3807,155 @@ var Me = (
|
|
|
3828
3807
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3829
3808
|
}, t;
|
|
3830
3809
|
}(Error)
|
|
3831
|
-
),
|
|
3810
|
+
), $t = (
|
|
3832
3811
|
/** @class */
|
|
3833
3812
|
function(e) {
|
|
3834
|
-
|
|
3813
|
+
j(t, e);
|
|
3835
3814
|
function t(r, i, n, o) {
|
|
3836
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3815
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), re.INVALID_VALUE, o) || this;
|
|
3837
3816
|
}
|
|
3838
3817
|
return t;
|
|
3839
|
-
}(
|
|
3840
|
-
),
|
|
3818
|
+
}(Ce)
|
|
3819
|
+
), Cn = (
|
|
3841
3820
|
/** @class */
|
|
3842
3821
|
function(e) {
|
|
3843
|
-
|
|
3822
|
+
j(t, e);
|
|
3844
3823
|
function t(r, i, n) {
|
|
3845
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i),
|
|
3824
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), re.INVALID_VALUE, n) || this;
|
|
3846
3825
|
}
|
|
3847
3826
|
return t;
|
|
3848
|
-
}(
|
|
3849
|
-
),
|
|
3827
|
+
}(Ce)
|
|
3828
|
+
), Nn = (
|
|
3850
3829
|
/** @class */
|
|
3851
3830
|
function(e) {
|
|
3852
|
-
|
|
3831
|
+
j(t, e);
|
|
3853
3832
|
function t(r, i) {
|
|
3854
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'),
|
|
3833
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), re.MISSING_VALUE, i) || this;
|
|
3855
3834
|
}
|
|
3856
3835
|
return t;
|
|
3857
|
-
}(
|
|
3858
|
-
),
|
|
3836
|
+
}(Ce)
|
|
3837
|
+
), B;
|
|
3859
3838
|
(function(e) {
|
|
3860
3839
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3861
|
-
})(
|
|
3862
|
-
function
|
|
3840
|
+
})(B || (B = {}));
|
|
3841
|
+
function Mn(e) {
|
|
3863
3842
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3864
3843
|
var i = t[t.length - 1];
|
|
3865
|
-
return !i || i.type !==
|
|
3844
|
+
return !i || i.type !== B.literal || r.type !== B.literal ? t.push(r) : i.value += r.value, t;
|
|
3866
3845
|
}, []);
|
|
3867
3846
|
}
|
|
3868
|
-
function
|
|
3847
|
+
function Rn(e) {
|
|
3869
3848
|
return typeof e == "function";
|
|
3870
3849
|
}
|
|
3871
|
-
function we(e, t, r, i, n, o,
|
|
3872
|
-
if (e.length === 1 &&
|
|
3850
|
+
function we(e, t, r, i, n, o, a) {
|
|
3851
|
+
if (e.length === 1 && Ot(e[0]))
|
|
3873
3852
|
return [
|
|
3874
3853
|
{
|
|
3875
|
-
type:
|
|
3854
|
+
type: B.literal,
|
|
3876
3855
|
value: e[0].value
|
|
3877
3856
|
}
|
|
3878
3857
|
];
|
|
3879
|
-
for (var
|
|
3858
|
+
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3880
3859
|
var h = u[l];
|
|
3881
|
-
if (
|
|
3882
|
-
|
|
3883
|
-
type:
|
|
3860
|
+
if (Ot(h)) {
|
|
3861
|
+
s.push({
|
|
3862
|
+
type: B.literal,
|
|
3884
3863
|
value: h.value
|
|
3885
3864
|
});
|
|
3886
3865
|
continue;
|
|
3887
3866
|
}
|
|
3888
|
-
if (
|
|
3889
|
-
typeof o == "number" &&
|
|
3890
|
-
type:
|
|
3867
|
+
if (nn(h)) {
|
|
3868
|
+
typeof o == "number" && s.push({
|
|
3869
|
+
type: B.literal,
|
|
3891
3870
|
value: r.getNumberFormat(t).format(o)
|
|
3892
3871
|
});
|
|
3893
3872
|
continue;
|
|
3894
3873
|
}
|
|
3895
3874
|
var c = h.value;
|
|
3896
3875
|
if (!(n && c in n))
|
|
3897
|
-
throw new
|
|
3876
|
+
throw new Nn(c, a);
|
|
3898
3877
|
var f = n[c];
|
|
3899
|
-
if (
|
|
3900
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3901
|
-
type: typeof f == "string" ?
|
|
3878
|
+
if (rn(h)) {
|
|
3879
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3880
|
+
type: typeof f == "string" ? B.literal : B.object,
|
|
3902
3881
|
value: f
|
|
3903
3882
|
});
|
|
3904
3883
|
continue;
|
|
3905
3884
|
}
|
|
3906
|
-
if (
|
|
3907
|
-
var p = typeof h.style == "string" ? i.date[h.style] :
|
|
3908
|
-
|
|
3909
|
-
type:
|
|
3885
|
+
if (lr(h)) {
|
|
3886
|
+
var p = typeof h.style == "string" ? i.date[h.style] : it(h.style) ? h.style.parsedOptions : void 0;
|
|
3887
|
+
s.push({
|
|
3888
|
+
type: B.literal,
|
|
3910
3889
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3911
3890
|
});
|
|
3912
3891
|
continue;
|
|
3913
3892
|
}
|
|
3914
|
-
if (
|
|
3915
|
-
var p = typeof h.style == "string" ? i.time[h.style] :
|
|
3916
|
-
|
|
3917
|
-
type:
|
|
3893
|
+
if (hr(h)) {
|
|
3894
|
+
var p = typeof h.style == "string" ? i.time[h.style] : it(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3895
|
+
s.push({
|
|
3896
|
+
type: B.literal,
|
|
3918
3897
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3919
3898
|
});
|
|
3920
3899
|
continue;
|
|
3921
3900
|
}
|
|
3922
|
-
if (
|
|
3923
|
-
var p = typeof h.style == "string" ? i.number[h.style] :
|
|
3924
|
-
p && p.scale && (f = f * (p.scale || 1)),
|
|
3925
|
-
type:
|
|
3901
|
+
if (ur(h)) {
|
|
3902
|
+
var p = typeof h.style == "string" ? i.number[h.style] : pr(h.style) ? h.style.parsedOptions : void 0;
|
|
3903
|
+
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3904
|
+
type: B.literal,
|
|
3926
3905
|
value: r.getNumberFormat(t, p).format(f)
|
|
3927
3906
|
});
|
|
3928
3907
|
continue;
|
|
3929
3908
|
}
|
|
3930
|
-
if (
|
|
3909
|
+
if (mr(h)) {
|
|
3931
3910
|
var y = h.children, d = h.value, v = n[d];
|
|
3932
|
-
if (!
|
|
3933
|
-
throw new
|
|
3911
|
+
if (!Rn(v))
|
|
3912
|
+
throw new Cn(d, "function", a);
|
|
3934
3913
|
var H = we(y, t, r, i, n, o), g = v(H.map(function(M) {
|
|
3935
3914
|
return M.value;
|
|
3936
3915
|
}));
|
|
3937
|
-
Array.isArray(g) || (g = [g]),
|
|
3916
|
+
Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(M) {
|
|
3938
3917
|
return {
|
|
3939
|
-
type: typeof M == "string" ?
|
|
3918
|
+
type: typeof M == "string" ? B.literal : B.object,
|
|
3940
3919
|
value: M
|
|
3941
3920
|
};
|
|
3942
3921
|
}));
|
|
3943
3922
|
}
|
|
3944
|
-
if (
|
|
3945
|
-
var
|
|
3946
|
-
if (!
|
|
3947
|
-
throw new
|
|
3948
|
-
|
|
3923
|
+
if (cr(h)) {
|
|
3924
|
+
var w = h.options[f] || h.options.other;
|
|
3925
|
+
if (!w)
|
|
3926
|
+
throw new $t(h.value, f, Object.keys(h.options), a);
|
|
3927
|
+
s.push.apply(s, we(w.value, t, r, i, n));
|
|
3949
3928
|
continue;
|
|
3950
3929
|
}
|
|
3951
|
-
if (
|
|
3952
|
-
var
|
|
3953
|
-
if (!
|
|
3930
|
+
if (fr(h)) {
|
|
3931
|
+
var w = h.options["=".concat(f)];
|
|
3932
|
+
if (!w) {
|
|
3954
3933
|
if (!Intl.PluralRules)
|
|
3955
|
-
throw new
|
|
3934
|
+
throw new Ce(`Intl.PluralRules is not available in this environment.
|
|
3956
3935
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3957
|
-
`,
|
|
3958
|
-
var
|
|
3959
|
-
|
|
3936
|
+
`, re.MISSING_INTL_API, a);
|
|
3937
|
+
var D = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3938
|
+
w = h.options[D] || h.options.other;
|
|
3960
3939
|
}
|
|
3961
|
-
if (!
|
|
3962
|
-
throw new
|
|
3963
|
-
|
|
3940
|
+
if (!w)
|
|
3941
|
+
throw new $t(h.value, f, Object.keys(h.options), a);
|
|
3942
|
+
s.push.apply(s, we(w.value, t, r, i, n, f - (h.offset || 0)));
|
|
3964
3943
|
continue;
|
|
3965
3944
|
}
|
|
3966
3945
|
}
|
|
3967
|
-
return
|
|
3946
|
+
return Mn(s);
|
|
3968
3947
|
}
|
|
3969
|
-
function
|
|
3970
|
-
return t ?
|
|
3971
|
-
return r[i] =
|
|
3948
|
+
function Dn(e, t) {
|
|
3949
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3950
|
+
return r[i] = E(E({}, e[i]), t[i] || {}), r;
|
|
3972
3951
|
}, {})) : e;
|
|
3973
3952
|
}
|
|
3974
|
-
function
|
|
3953
|
+
function Un(e, t) {
|
|
3975
3954
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3976
|
-
return r[i] =
|
|
3977
|
-
},
|
|
3955
|
+
return r[i] = Dn(e[i], t[i]), r;
|
|
3956
|
+
}, E({}, e)) : e;
|
|
3978
3957
|
}
|
|
3979
|
-
function
|
|
3958
|
+
function Xe(e) {
|
|
3980
3959
|
return {
|
|
3981
3960
|
create: function() {
|
|
3982
3961
|
return {
|
|
@@ -3990,39 +3969,39 @@ function Ze(e) {
|
|
|
3990
3969
|
}
|
|
3991
3970
|
};
|
|
3992
3971
|
}
|
|
3993
|
-
function
|
|
3972
|
+
function $n(e) {
|
|
3994
3973
|
return e === void 0 && (e = {
|
|
3995
3974
|
number: {},
|
|
3996
3975
|
dateTime: {},
|
|
3997
3976
|
pluralRules: {}
|
|
3998
3977
|
}), {
|
|
3999
|
-
getNumberFormat:
|
|
3978
|
+
getNumberFormat: ke(function() {
|
|
4000
3979
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
4001
3980
|
r[i] = arguments[i];
|
|
4002
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3981
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
|
|
4003
3982
|
}, {
|
|
4004
|
-
cache:
|
|
4005
|
-
strategy:
|
|
3983
|
+
cache: Xe(e.number),
|
|
3984
|
+
strategy: Ve.variadic
|
|
4006
3985
|
}),
|
|
4007
|
-
getDateTimeFormat:
|
|
3986
|
+
getDateTimeFormat: ke(function() {
|
|
4008
3987
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
4009
3988
|
r[i] = arguments[i];
|
|
4010
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3989
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
|
|
4011
3990
|
}, {
|
|
4012
|
-
cache:
|
|
4013
|
-
strategy:
|
|
3991
|
+
cache: Xe(e.dateTime),
|
|
3992
|
+
strategy: Ve.variadic
|
|
4014
3993
|
}),
|
|
4015
|
-
getPluralRules:
|
|
3994
|
+
getPluralRules: ke(function() {
|
|
4016
3995
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
4017
3996
|
r[i] = arguments[i];
|
|
4018
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3997
|
+
return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
|
|
4019
3998
|
}, {
|
|
4020
|
-
cache:
|
|
4021
|
-
strategy:
|
|
3999
|
+
cache: Xe(e.pluralRules),
|
|
4000
|
+
strategy: Ve.variadic
|
|
4022
4001
|
})
|
|
4023
4002
|
};
|
|
4024
4003
|
}
|
|
4025
|
-
var
|
|
4004
|
+
var Gn = (
|
|
4026
4005
|
/** @class */
|
|
4027
4006
|
function() {
|
|
4028
4007
|
function e(t, r, i, n) {
|
|
@@ -4037,7 +4016,7 @@ var jn = (
|
|
|
4037
4016
|
if (u.length === 1)
|
|
4038
4017
|
return u[0].value;
|
|
4039
4018
|
var h = u.reduce(function(c, f) {
|
|
4040
|
-
return !c.length || f.type !==
|
|
4019
|
+
return !c.length || f.type !== B.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
4041
4020
|
}, []);
|
|
4042
4021
|
return h.length <= 1 ? h[0] || "" : h;
|
|
4043
4022
|
}, this.formatToParts = function(l) {
|
|
@@ -4052,15 +4031,15 @@ var jn = (
|
|
|
4052
4031
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
4053
4032
|
if (this.message = t, !e.__parse)
|
|
4054
4033
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4055
|
-
var
|
|
4056
|
-
|
|
4057
|
-
var
|
|
4058
|
-
this.ast = e.__parse(t,
|
|
4034
|
+
var a = n || {};
|
|
4035
|
+
a.formatters;
|
|
4036
|
+
var s = bi(a, ["formatters"]);
|
|
4037
|
+
this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
|
|
4059
4038
|
} else
|
|
4060
4039
|
this.ast = t;
|
|
4061
4040
|
if (!Array.isArray(this.ast))
|
|
4062
4041
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4063
|
-
this.formats =
|
|
4042
|
+
this.formats = Un(e.formats, i), this.formatters = n && n.formatters || $n(this.formatterCache);
|
|
4064
4043
|
}
|
|
4065
4044
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4066
4045
|
get: function() {
|
|
@@ -4073,7 +4052,7 @@ var jn = (
|
|
|
4073
4052
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4074
4053
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4075
4054
|
}
|
|
4076
|
-
}, e.__parse =
|
|
4055
|
+
}, e.__parse = On, e.formats = {
|
|
4077
4056
|
number: {
|
|
4078
4057
|
integer: {
|
|
4079
4058
|
maximumFractionDigits: 0
|
|
@@ -4134,7 +4113,7 @@ var jn = (
|
|
|
4134
4113
|
}, e;
|
|
4135
4114
|
}()
|
|
4136
4115
|
);
|
|
4137
|
-
function
|
|
4116
|
+
function Fn(e, t) {
|
|
4138
4117
|
if (t == null)
|
|
4139
4118
|
return;
|
|
4140
4119
|
if (t in e)
|
|
@@ -4155,92 +4134,92 @@ function kn(e, t) {
|
|
|
4155
4134
|
i = void 0;
|
|
4156
4135
|
return i;
|
|
4157
4136
|
}
|
|
4158
|
-
const k = {},
|
|
4137
|
+
const k = {}, jn = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), xr = (e, t) => {
|
|
4159
4138
|
if (t == null)
|
|
4160
4139
|
return;
|
|
4161
4140
|
if (t in k && e in k[t])
|
|
4162
4141
|
return k[t][e];
|
|
4163
|
-
const r =
|
|
4142
|
+
const r = Ne(t);
|
|
4164
4143
|
for (let i = 0; i < r.length; i++) {
|
|
4165
|
-
const n = r[i], o =
|
|
4144
|
+
const n = r[i], o = Vn(n, e);
|
|
4166
4145
|
if (o)
|
|
4167
|
-
return
|
|
4146
|
+
return jn(e, t, o);
|
|
4168
4147
|
}
|
|
4169
4148
|
};
|
|
4170
|
-
let
|
|
4171
|
-
const pe =
|
|
4172
|
-
function
|
|
4173
|
-
return
|
|
4149
|
+
let pt;
|
|
4150
|
+
const pe = Oe({});
|
|
4151
|
+
function kn(e) {
|
|
4152
|
+
return pt[e] || null;
|
|
4174
4153
|
}
|
|
4175
|
-
function
|
|
4176
|
-
return e in
|
|
4154
|
+
function Tr(e) {
|
|
4155
|
+
return e in pt;
|
|
4177
4156
|
}
|
|
4178
|
-
function
|
|
4179
|
-
if (!
|
|
4157
|
+
function Vn(e, t) {
|
|
4158
|
+
if (!Tr(e))
|
|
4180
4159
|
return null;
|
|
4181
|
-
const r =
|
|
4182
|
-
return
|
|
4160
|
+
const r = kn(e);
|
|
4161
|
+
return Fn(r, t);
|
|
4183
4162
|
}
|
|
4184
|
-
function
|
|
4163
|
+
function Wn(e) {
|
|
4185
4164
|
if (e == null)
|
|
4186
4165
|
return;
|
|
4187
|
-
const t =
|
|
4166
|
+
const t = Ne(e);
|
|
4188
4167
|
for (let r = 0; r < t.length; r++) {
|
|
4189
4168
|
const i = t[r];
|
|
4190
|
-
if (
|
|
4169
|
+
if (Tr(i))
|
|
4191
4170
|
return i;
|
|
4192
4171
|
}
|
|
4193
4172
|
}
|
|
4194
|
-
function
|
|
4173
|
+
function Lr(e, ...t) {
|
|
4195
4174
|
delete k[e], pe.update((r) => (r[e] = Qi.all([r[e] || {}, ...t]), r));
|
|
4196
4175
|
}
|
|
4197
|
-
|
|
4176
|
+
oe(
|
|
4198
4177
|
[pe],
|
|
4199
4178
|
([e]) => Object.keys(e)
|
|
4200
4179
|
);
|
|
4201
|
-
pe.subscribe((e) =>
|
|
4180
|
+
pe.subscribe((e) => pt = e);
|
|
4202
4181
|
const Ae = {};
|
|
4203
|
-
function
|
|
4182
|
+
function Xn(e, t) {
|
|
4204
4183
|
Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
|
|
4205
4184
|
}
|
|
4206
|
-
function
|
|
4185
|
+
function Sr(e) {
|
|
4207
4186
|
return Ae[e];
|
|
4208
4187
|
}
|
|
4209
|
-
function
|
|
4210
|
-
return
|
|
4211
|
-
const r =
|
|
4188
|
+
function zn(e) {
|
|
4189
|
+
return Ne(e).map((t) => {
|
|
4190
|
+
const r = Sr(t);
|
|
4212
4191
|
return [t, r ? [...r] : []];
|
|
4213
4192
|
}).filter(([, t]) => t.length > 0);
|
|
4214
4193
|
}
|
|
4215
|
-
function
|
|
4216
|
-
return e == null ? !1 :
|
|
4194
|
+
function lt(e) {
|
|
4195
|
+
return e == null ? !1 : Ne(e).some(
|
|
4217
4196
|
(t) => {
|
|
4218
4197
|
var r;
|
|
4219
|
-
return (r =
|
|
4198
|
+
return (r = Sr(t)) == null ? void 0 : r.size;
|
|
4220
4199
|
}
|
|
4221
4200
|
);
|
|
4222
4201
|
}
|
|
4223
|
-
function
|
|
4202
|
+
function Zn(e, t) {
|
|
4224
4203
|
return Promise.all(
|
|
4225
|
-
t.map((i) => (
|
|
4226
|
-
).then((i) =>
|
|
4227
|
-
}
|
|
4228
|
-
const
|
|
4229
|
-
function
|
|
4230
|
-
if (!
|
|
4231
|
-
return e in
|
|
4232
|
-
const t =
|
|
4233
|
-
return
|
|
4204
|
+
t.map((i) => (Xn(e, i), i().then((n) => n.default || n)))
|
|
4205
|
+
).then((i) => Lr(e, ...i));
|
|
4206
|
+
}
|
|
4207
|
+
const le = {};
|
|
4208
|
+
function wr(e) {
|
|
4209
|
+
if (!lt(e))
|
|
4210
|
+
return e in le ? le[e] : Promise.resolve();
|
|
4211
|
+
const t = zn(e);
|
|
4212
|
+
return le[e] = Promise.all(
|
|
4234
4213
|
t.map(
|
|
4235
|
-
([r, i]) =>
|
|
4214
|
+
([r, i]) => Zn(r, i)
|
|
4236
4215
|
)
|
|
4237
4216
|
).then(() => {
|
|
4238
|
-
if (
|
|
4239
|
-
return
|
|
4240
|
-
delete
|
|
4241
|
-
}),
|
|
4217
|
+
if (lt(e))
|
|
4218
|
+
return wr(e);
|
|
4219
|
+
delete le[e];
|
|
4220
|
+
}), le[e];
|
|
4242
4221
|
}
|
|
4243
|
-
const
|
|
4222
|
+
const Qn = {
|
|
4244
4223
|
number: {
|
|
4245
4224
|
scientific: { notation: "scientific" },
|
|
4246
4225
|
engineering: { notation: "engineering" },
|
|
@@ -4269,159 +4248,159 @@ const Jn = {
|
|
|
4269
4248
|
timeZoneName: "short"
|
|
4270
4249
|
}
|
|
4271
4250
|
}
|
|
4272
|
-
},
|
|
4251
|
+
}, Yn = {
|
|
4273
4252
|
fallbackLocale: null,
|
|
4274
4253
|
loadingDelay: 200,
|
|
4275
|
-
formats:
|
|
4254
|
+
formats: Qn,
|
|
4276
4255
|
warnOnMissingMessages: !0,
|
|
4277
4256
|
handleMissingMessage: void 0,
|
|
4278
4257
|
ignoreTag: !0
|
|
4279
|
-
},
|
|
4280
|
-
function
|
|
4281
|
-
return
|
|
4258
|
+
}, Jn = Yn;
|
|
4259
|
+
function ie() {
|
|
4260
|
+
return Jn;
|
|
4282
4261
|
}
|
|
4283
|
-
const
|
|
4284
|
-
var
|
|
4262
|
+
const ze = Oe(!1);
|
|
4263
|
+
var qn = Object.defineProperty, Kn = Object.defineProperties, eo = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, to = Object.prototype.hasOwnProperty, ro = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, io = (e, t) => {
|
|
4285
4264
|
for (var r in t || (t = {}))
|
|
4286
|
-
|
|
4287
|
-
if (
|
|
4288
|
-
for (var r of
|
|
4289
|
-
|
|
4265
|
+
to.call(t, r) && Ft(e, r, t[r]);
|
|
4266
|
+
if (Gt)
|
|
4267
|
+
for (var r of Gt(t))
|
|
4268
|
+
ro.call(t, r) && Ft(e, r, t[r]);
|
|
4290
4269
|
return e;
|
|
4291
|
-
},
|
|
4292
|
-
let
|
|
4293
|
-
const
|
|
4294
|
-
function
|
|
4270
|
+
}, no = (e, t) => Kn(e, eo(t));
|
|
4271
|
+
let ht;
|
|
4272
|
+
const He = Oe(null);
|
|
4273
|
+
function jt(e) {
|
|
4295
4274
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
4296
4275
|
}
|
|
4297
|
-
function
|
|
4298
|
-
const r =
|
|
4299
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4276
|
+
function Ne(e, t = ie().fallbackLocale) {
|
|
4277
|
+
const r = jt(e);
|
|
4278
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...jt(t)])] : r;
|
|
4300
4279
|
}
|
|
4301
4280
|
function Z() {
|
|
4302
|
-
return
|
|
4281
|
+
return ht != null ? ht : void 0;
|
|
4303
4282
|
}
|
|
4304
|
-
|
|
4305
|
-
|
|
4283
|
+
He.subscribe((e) => {
|
|
4284
|
+
ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4306
4285
|
});
|
|
4307
|
-
const
|
|
4308
|
-
if (e &&
|
|
4309
|
-
const { loadingDelay: t } =
|
|
4286
|
+
const oo = (e) => {
|
|
4287
|
+
if (e && Wn(e) && lt(e)) {
|
|
4288
|
+
const { loadingDelay: t } = ie();
|
|
4310
4289
|
let r;
|
|
4311
4290
|
return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
|
|
4312
|
-
() =>
|
|
4291
|
+
() => ze.set(!0),
|
|
4313
4292
|
t
|
|
4314
|
-
) :
|
|
4315
|
-
|
|
4293
|
+
) : ze.set(!0), wr(e).then(() => {
|
|
4294
|
+
He.set(e);
|
|
4316
4295
|
}).finally(() => {
|
|
4317
|
-
clearTimeout(r),
|
|
4296
|
+
clearTimeout(r), ze.set(!1);
|
|
4318
4297
|
});
|
|
4319
4298
|
}
|
|
4320
|
-
return
|
|
4321
|
-
},
|
|
4322
|
-
set:
|
|
4323
|
-
}),
|
|
4299
|
+
return He.set(e);
|
|
4300
|
+
}, se = no(io({}, He), {
|
|
4301
|
+
set: oo
|
|
4302
|
+
}), Me = (e) => {
|
|
4324
4303
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4325
4304
|
return (i) => {
|
|
4326
4305
|
const n = JSON.stringify(i);
|
|
4327
4306
|
return n in t ? t[n] : t[n] = e(i);
|
|
4328
4307
|
};
|
|
4329
4308
|
};
|
|
4330
|
-
var
|
|
4309
|
+
var so = Object.defineProperty, Ie = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
|
|
4331
4310
|
for (var r in t || (t = {}))
|
|
4332
|
-
|
|
4311
|
+
Ar.call(t, r) && kt(e, r, t[r]);
|
|
4333
4312
|
if (Ie)
|
|
4334
4313
|
for (var r of Ie(t))
|
|
4335
|
-
|
|
4314
|
+
Pr.call(t, r) && kt(e, r, t[r]);
|
|
4336
4315
|
return e;
|
|
4337
|
-
},
|
|
4316
|
+
}, ae = (e, t) => {
|
|
4338
4317
|
var r = {};
|
|
4339
4318
|
for (var i in e)
|
|
4340
|
-
|
|
4319
|
+
Ar.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
4341
4320
|
if (e != null && Ie)
|
|
4342
4321
|
for (var i of Ie(e))
|
|
4343
|
-
t.indexOf(i) < 0 &&
|
|
4322
|
+
t.indexOf(i) < 0 && Pr.call(e, i) && (r[i] = e[i]);
|
|
4344
4323
|
return r;
|
|
4345
4324
|
};
|
|
4346
|
-
const
|
|
4347
|
-
const { formats: r } =
|
|
4325
|
+
const me = (e, t) => {
|
|
4326
|
+
const { formats: r } = ie();
|
|
4348
4327
|
if (e in r && t in r[e])
|
|
4349
4328
|
return r[e][t];
|
|
4350
4329
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4351
|
-
},
|
|
4330
|
+
}, ao = Me(
|
|
4352
4331
|
(e) => {
|
|
4353
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4332
|
+
var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
|
|
4354
4333
|
if (r == null)
|
|
4355
4334
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4356
|
-
return i && (n =
|
|
4335
|
+
return i && (n = me("number", i)), new Intl.NumberFormat(r, n);
|
|
4357
4336
|
}
|
|
4358
|
-
),
|
|
4337
|
+
), uo = Me(
|
|
4359
4338
|
(e) => {
|
|
4360
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4339
|
+
var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
|
|
4361
4340
|
if (r == null)
|
|
4362
4341
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4363
|
-
return i ? n =
|
|
4342
|
+
return i ? n = me("date", i) : Object.keys(n).length === 0 && (n = me("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
4364
4343
|
}
|
|
4365
|
-
),
|
|
4344
|
+
), lo = Me(
|
|
4366
4345
|
(e) => {
|
|
4367
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4346
|
+
var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
|
|
4368
4347
|
if (r == null)
|
|
4369
4348
|
throw new Error(
|
|
4370
4349
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4371
4350
|
);
|
|
4372
|
-
return i ? n =
|
|
4351
|
+
return i ? n = me("time", i) : Object.keys(n).length === 0 && (n = me("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
4373
4352
|
}
|
|
4374
|
-
),
|
|
4353
|
+
), ho = (e = {}) => {
|
|
4375
4354
|
var t = e, {
|
|
4376
4355
|
locale: r = Z()
|
|
4377
|
-
} = t, i =
|
|
4356
|
+
} = t, i = ae(t, [
|
|
4378
4357
|
"locale"
|
|
4379
4358
|
]);
|
|
4380
|
-
return
|
|
4381
|
-
},
|
|
4359
|
+
return ao(dt({ locale: r }, i));
|
|
4360
|
+
}, co = (e = {}) => {
|
|
4382
4361
|
var t = e, {
|
|
4383
4362
|
locale: r = Z()
|
|
4384
|
-
} = t, i =
|
|
4363
|
+
} = t, i = ae(t, [
|
|
4385
4364
|
"locale"
|
|
4386
4365
|
]);
|
|
4387
|
-
return
|
|
4388
|
-
},
|
|
4366
|
+
return uo(dt({ locale: r }, i));
|
|
4367
|
+
}, fo = (e = {}) => {
|
|
4389
4368
|
var t = e, {
|
|
4390
4369
|
locale: r = Z()
|
|
4391
|
-
} = t, i =
|
|
4370
|
+
} = t, i = ae(t, [
|
|
4392
4371
|
"locale"
|
|
4393
4372
|
]);
|
|
4394
|
-
return
|
|
4395
|
-
},
|
|
4373
|
+
return lo(dt({ locale: r }, i));
|
|
4374
|
+
}, mo = Me(
|
|
4396
4375
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4397
|
-
(e, t = Z()) => new
|
|
4398
|
-
ignoreTag:
|
|
4376
|
+
(e, t = Z()) => new Gn(e, t, ie().formats, {
|
|
4377
|
+
ignoreTag: ie().ignoreTag
|
|
4399
4378
|
})
|
|
4400
|
-
),
|
|
4379
|
+
), po = (e, t = {}) => {
|
|
4401
4380
|
var r, i, n, o;
|
|
4402
|
-
let
|
|
4403
|
-
typeof e == "object" && (
|
|
4381
|
+
let a = t;
|
|
4382
|
+
typeof e == "object" && (a = e, e = a.id);
|
|
4404
4383
|
const {
|
|
4405
|
-
values:
|
|
4384
|
+
values: s,
|
|
4406
4385
|
locale: l = Z(),
|
|
4407
4386
|
default: u
|
|
4408
|
-
} =
|
|
4387
|
+
} = a;
|
|
4409
4388
|
if (l == null)
|
|
4410
4389
|
throw new Error(
|
|
4411
4390
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4412
4391
|
);
|
|
4413
|
-
let h =
|
|
4392
|
+
let h = xr(e, l);
|
|
4414
4393
|
if (!h)
|
|
4415
|
-
h = (o = (n = (i = (r =
|
|
4394
|
+
h = (o = (n = (i = (r = ie()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
|
|
4416
4395
|
else if (typeof h != "string")
|
|
4417
4396
|
return console.warn(
|
|
4418
4397
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4419
4398
|
), h;
|
|
4420
|
-
if (!
|
|
4399
|
+
if (!s)
|
|
4421
4400
|
return h;
|
|
4422
4401
|
let c = h;
|
|
4423
4402
|
try {
|
|
4424
|
-
c =
|
|
4403
|
+
c = mo(h, l).format(s);
|
|
4425
4404
|
} catch (f) {
|
|
4426
4405
|
f instanceof Error && console.warn(
|
|
4427
4406
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4429,20 +4408,20 @@ const fe = (e, t) => {
|
|
|
4429
4408
|
);
|
|
4430
4409
|
}
|
|
4431
4410
|
return c;
|
|
4432
|
-
},
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
window.emWidgets = { topic:
|
|
4438
|
-
const
|
|
4439
|
-
function
|
|
4411
|
+
}, yo = (e, t) => fo(t).format(e), go = (e, t) => co(t).format(e), bo = (e, t) => ho(t).format(e), vo = (e, t = Z()) => xr(e, t), _o = oe([se, pe], () => po);
|
|
4412
|
+
oe([se], () => yo);
|
|
4413
|
+
oe([se], () => go);
|
|
4414
|
+
oe([se], () => bo);
|
|
4415
|
+
oe([se, pe], () => vo);
|
|
4416
|
+
window.emWidgets = { topic: Oi };
|
|
4417
|
+
const Eo = (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)), Yo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4418
|
+
function xo(e, t) {
|
|
4440
4419
|
if (e) {
|
|
4441
4420
|
const r = document.createElement("style");
|
|
4442
4421
|
r.innerHTML = t, e.appendChild(r);
|
|
4443
4422
|
}
|
|
4444
4423
|
}
|
|
4445
|
-
function
|
|
4424
|
+
function To(e, t) {
|
|
4446
4425
|
const r = new URL(t);
|
|
4447
4426
|
fetch(r.href).then((i) => i.text()).then((i) => {
|
|
4448
4427
|
const n = document.createElement("style");
|
|
@@ -4451,7 +4430,7 @@ function So(e, t) {
|
|
|
4451
4430
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
4452
4431
|
});
|
|
4453
4432
|
}
|
|
4454
|
-
function
|
|
4433
|
+
function Lo(e, t, r) {
|
|
4455
4434
|
if (window.emMessageBus) {
|
|
4456
4435
|
const i = document.createElement("style");
|
|
4457
4436
|
window.emMessageBus.subscribe(t, (n) => {
|
|
@@ -4459,13 +4438,13 @@ function wo(e, t, r) {
|
|
|
4459
4438
|
});
|
|
4460
4439
|
}
|
|
4461
4440
|
}
|
|
4462
|
-
function
|
|
4463
|
-
|
|
4441
|
+
function Vt(e, t) {
|
|
4442
|
+
Lr(e, t);
|
|
4464
4443
|
}
|
|
4465
|
-
function
|
|
4466
|
-
|
|
4444
|
+
function So(e) {
|
|
4445
|
+
se.set(e);
|
|
4467
4446
|
}
|
|
4468
|
-
const
|
|
4447
|
+
const Ze = {
|
|
4469
4448
|
en: {
|
|
4470
4449
|
expandLimits: "LIMIT HISTORY",
|
|
4471
4450
|
daily: "per day",
|
|
@@ -4716,46 +4695,46 @@ const Ye = {
|
|
|
4716
4695
|
historyLimitTypeLoss: "Loss Limit"
|
|
4717
4696
|
}
|
|
4718
4697
|
};
|
|
4719
|
-
function
|
|
4720
|
-
|
|
4698
|
+
function wo(e) {
|
|
4699
|
+
Jr(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)}}');
|
|
4721
4700
|
}
|
|
4722
|
-
function
|
|
4701
|
+
function Wt(e, t, r) {
|
|
4723
4702
|
const i = e.slice();
|
|
4724
4703
|
return i[37] = t[r], i[38] = t, i[39] = r, i;
|
|
4725
4704
|
}
|
|
4726
|
-
function
|
|
4705
|
+
function Ao(e) {
|
|
4727
4706
|
let t, r, i, n = (
|
|
4728
4707
|
/*$_*/
|
|
4729
4708
|
e[9]("expandLimits") + ""
|
|
4730
|
-
), o,
|
|
4709
|
+
), o, a, s, l, u, h, c, f, p, y = Tt(
|
|
4731
4710
|
/*lazyShowedHistoryArray*/
|
|
4732
4711
|
e[7]
|
|
4733
4712
|
), d = [];
|
|
4734
4713
|
for (let v = 0; v < y.length; v += 1)
|
|
4735
|
-
d[v] =
|
|
4714
|
+
d[v] = Xt(Wt(e, y, v));
|
|
4736
4715
|
return {
|
|
4737
4716
|
c() {
|
|
4738
|
-
t = A("div"), r = A("div"), i = A("button"), o =
|
|
4717
|
+
t = A("div"), r = A("div"), i = A("button"), o = R(n), a = Qe(), s = xe("svg"), l = xe("path"), u = xe("path"), h = Qe(), c = A("div");
|
|
4739
4718
|
for (let v = 0; v < d.length; v += 1)
|
|
4740
4719
|
d[v].c();
|
|
4741
|
-
|
|
4742
|
-
|
|
4720
|
+
x(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(l, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(s, "class", "ExpandArrow svelte-19ml84y"), x(s, "xmlns", "http://www.w3.org/2000/svg"), x(s, "width", "36"), x(s, "height", "36"), x(s, "viewBox", "0 0 36 36"), x(s, "fill", "#999"), ve(
|
|
4721
|
+
s,
|
|
4743
4722
|
"extended",
|
|
4744
4723
|
/*extended*/
|
|
4745
4724
|
e[8]
|
|
4746
|
-
),
|
|
4725
|
+
), x(i, "class", "ExpandButton svelte-19ml84y"), x(c, "class", "HistoryDisplayArea svelte-19ml84y"), ve(
|
|
4747
4726
|
c,
|
|
4748
4727
|
"hidden",
|
|
4749
4728
|
/*hidden*/
|
|
4750
4729
|
e[5]
|
|
4751
|
-
),
|
|
4752
|
-
(e[10] ? "Desktop" : "") + " svelte-19ml84y"),
|
|
4730
|
+
), x(r, "class", "HistoryWrapper " + /*isDesktop*/
|
|
4731
|
+
(e[10] ? "Desktop" : "") + " svelte-19ml84y"), x(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
|
|
4753
4732
|
},
|
|
4754
4733
|
m(v, H) {
|
|
4755
|
-
W(v, t, H),
|
|
4734
|
+
W(v, t, H), T(t, r), T(r, i), T(i, o), T(i, a), T(i, s), T(s, l), T(s, u), T(r, h), T(r, c);
|
|
4756
4735
|
for (let g = 0; g < d.length; g += 1)
|
|
4757
4736
|
d[g] && d[g].m(c, null);
|
|
4758
|
-
f || (p =
|
|
4737
|
+
f || (p = ti(
|
|
4759
4738
|
i,
|
|
4760
4739
|
"click",
|
|
4761
4740
|
/*toggleHistoryDisplayArea*/
|
|
@@ -4767,20 +4746,20 @@ function Ho(e) {
|
|
|
4767
4746
|
512 && n !== (n = /*$_*/
|
|
4768
4747
|
v[9]("expandLimits") + "") && V(o, n), H[0] & /*extended*/
|
|
4769
4748
|
256 && ve(
|
|
4770
|
-
|
|
4749
|
+
s,
|
|
4771
4750
|
"extended",
|
|
4772
4751
|
/*extended*/
|
|
4773
4752
|
v[8]
|
|
4774
4753
|
), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
4775
4754
|
650) {
|
|
4776
|
-
y =
|
|
4755
|
+
y = Tt(
|
|
4777
4756
|
/*lazyShowedHistoryArray*/
|
|
4778
4757
|
v[7]
|
|
4779
4758
|
);
|
|
4780
4759
|
let g;
|
|
4781
4760
|
for (g = 0; g < y.length; g += 1) {
|
|
4782
|
-
const
|
|
4783
|
-
d[g] ? d[g].p(
|
|
4761
|
+
const w = Wt(v, y, g);
|
|
4762
|
+
d[g] ? d[g].p(w, H) : (d[g] = Xt(w), d[g].c(), d[g].m(c, null));
|
|
4784
4763
|
}
|
|
4785
4764
|
for (; g < d.length; g += 1)
|
|
4786
4765
|
d[g].d(1);
|
|
@@ -4795,14 +4774,14 @@ function Ho(e) {
|
|
|
4795
4774
|
);
|
|
4796
4775
|
},
|
|
4797
4776
|
d(v) {
|
|
4798
|
-
v &&
|
|
4777
|
+
v && F(t), ei(d, v), f = !1, p();
|
|
4799
4778
|
}
|
|
4800
4779
|
};
|
|
4801
4780
|
}
|
|
4802
|
-
function
|
|
4803
|
-
return { c:
|
|
4781
|
+
function Po(e) {
|
|
4782
|
+
return { c: O, m: O, p: O, d: O };
|
|
4804
4783
|
}
|
|
4805
|
-
function
|
|
4784
|
+
function Ho(e) {
|
|
4806
4785
|
let t, r = (
|
|
4807
4786
|
/*lang*/
|
|
4808
4787
|
(e[0] ? (
|
|
@@ -4812,10 +4791,10 @@ function Io(e) {
|
|
|
4812
4791
|
), i;
|
|
4813
4792
|
return {
|
|
4814
4793
|
c() {
|
|
4815
|
-
t = A("p"), i =
|
|
4794
|
+
t = A("p"), i = R(r), x(t, "class", "svelte-19ml84y");
|
|
4816
4795
|
},
|
|
4817
4796
|
m(n, o) {
|
|
4818
|
-
W(n, t, o),
|
|
4797
|
+
W(n, t, o), T(t, i);
|
|
4819
4798
|
},
|
|
4820
4799
|
p(n, o) {
|
|
4821
4800
|
o[0] & /*lang, $_*/
|
|
@@ -4826,15 +4805,15 @@ function Io(e) {
|
|
|
4826
4805
|
) : "500 Server Error") + "") && V(i, r);
|
|
4827
4806
|
},
|
|
4828
4807
|
d(n) {
|
|
4829
|
-
n &&
|
|
4808
|
+
n && F(t);
|
|
4830
4809
|
}
|
|
4831
4810
|
};
|
|
4832
4811
|
}
|
|
4833
|
-
function
|
|
4812
|
+
function Io(e) {
|
|
4834
4813
|
let t, r, i, n = (
|
|
4835
4814
|
/*history*/
|
|
4836
4815
|
e[37].type + ""
|
|
4837
|
-
), o,
|
|
4816
|
+
), o, a, s = (
|
|
4838
4817
|
/*history*/
|
|
4839
4818
|
e[37].amount + ""
|
|
4840
4819
|
), l, u, h = (
|
|
@@ -4843,30 +4822,30 @@ function Bo(e) {
|
|
|
4843
4822
|
), c;
|
|
4844
4823
|
return {
|
|
4845
4824
|
c() {
|
|
4846
|
-
t = A("div"), r = A("span"), i = A("span"), o =
|
|
4825
|
+
t = A("div"), r = A("span"), i = A("span"), o = R(n), a = A("span"), l = R(s), u = A("span"), c = R(h), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
|
|
4847
4826
|
},
|
|
4848
4827
|
m(f, p) {
|
|
4849
|
-
W(f, t, p),
|
|
4828
|
+
W(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, l), T(t, u), T(u, c);
|
|
4850
4829
|
},
|
|
4851
4830
|
p(f, p) {
|
|
4852
4831
|
p[0] & /*lazyShowedHistoryArray*/
|
|
4853
4832
|
128 && n !== (n = /*history*/
|
|
4854
4833
|
f[37].type + "") && V(o, n), p[0] & /*lazyShowedHistoryArray*/
|
|
4855
|
-
128 &&
|
|
4856
|
-
f[37].amount + "") && V(l,
|
|
4834
|
+
128 && s !== (s = /*history*/
|
|
4835
|
+
f[37].amount + "") && V(l, s), p[0] & /*lazyShowedHistoryArray*/
|
|
4857
4836
|
128 && h !== (h = /*history*/
|
|
4858
4837
|
f[37].date + "") && V(c, h);
|
|
4859
4838
|
},
|
|
4860
4839
|
d(f) {
|
|
4861
|
-
f &&
|
|
4840
|
+
f && F(t);
|
|
4862
4841
|
}
|
|
4863
4842
|
};
|
|
4864
4843
|
}
|
|
4865
|
-
function
|
|
4844
|
+
function Bo(e) {
|
|
4866
4845
|
let t, r, i, n = (
|
|
4867
4846
|
/*history*/
|
|
4868
4847
|
e[37].type + ""
|
|
4869
|
-
), o,
|
|
4848
|
+
), o, a, s = (
|
|
4870
4849
|
/*$_*/
|
|
4871
4850
|
e[9]("limitRemoved") + ""
|
|
4872
4851
|
), l, u, h = (
|
|
@@ -4875,26 +4854,26 @@ function Co(e) {
|
|
|
4875
4854
|
), c;
|
|
4876
4855
|
return {
|
|
4877
4856
|
c() {
|
|
4878
|
-
t = A("div"), r = A("span"), i = A("span"), o =
|
|
4857
|
+
t = A("div"), r = A("span"), i = A("span"), o = R(n), a = A("span"), l = R(s), u = A("span"), c = R(h), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
|
|
4879
4858
|
},
|
|
4880
4859
|
m(f, p) {
|
|
4881
|
-
W(f, t, p),
|
|
4860
|
+
W(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, l), T(t, u), T(u, c);
|
|
4882
4861
|
},
|
|
4883
4862
|
p(f, p) {
|
|
4884
4863
|
p[0] & /*lazyShowedHistoryArray*/
|
|
4885
4864
|
128 && n !== (n = /*history*/
|
|
4886
4865
|
f[37].type + "") && V(o, n), p[0] & /*$_*/
|
|
4887
|
-
512 &&
|
|
4888
|
-
f[9]("limitRemoved") + "") && V(l,
|
|
4866
|
+
512 && s !== (s = /*$_*/
|
|
4867
|
+
f[9]("limitRemoved") + "") && V(l, s), p[0] & /*lazyShowedHistoryArray*/
|
|
4889
4868
|
128 && h !== (h = /*history*/
|
|
4890
4869
|
f[37].date + "") && V(c, h);
|
|
4891
4870
|
},
|
|
4892
4871
|
d(f) {
|
|
4893
|
-
f &&
|
|
4872
|
+
f && F(t);
|
|
4894
4873
|
}
|
|
4895
4874
|
};
|
|
4896
4875
|
}
|
|
4897
|
-
function
|
|
4876
|
+
function Xt(e) {
|
|
4898
4877
|
let t, r, i, n = (
|
|
4899
4878
|
/*index*/
|
|
4900
4879
|
e[39]
|
|
@@ -4902,10 +4881,10 @@ function Zt(e) {
|
|
|
4902
4881
|
function o(h, c) {
|
|
4903
4882
|
return (
|
|
4904
4883
|
/*history*/
|
|
4905
|
-
h[37].removed ?
|
|
4884
|
+
h[37].removed ? Bo : Io
|
|
4906
4885
|
);
|
|
4907
4886
|
}
|
|
4908
|
-
let
|
|
4887
|
+
let a = o(e), s = a(e);
|
|
4909
4888
|
const l = () => (
|
|
4910
4889
|
/*div_binding*/
|
|
4911
4890
|
e[22](t, n)
|
|
@@ -4915,98 +4894,98 @@ function Zt(e) {
|
|
|
4915
4894
|
);
|
|
4916
4895
|
return {
|
|
4917
4896
|
c() {
|
|
4918
|
-
t = A("div"),
|
|
4897
|
+
t = A("div"), s.c(), r = Qe(), x(t, "class", i = Et(
|
|
4919
4898
|
/*index*/
|
|
4920
4899
|
e[39] > +/*numberofentries*/
|
|
4921
4900
|
e[1] ? "LimitContainer" : ""
|
|
4922
4901
|
) + " svelte-19ml84y");
|
|
4923
4902
|
},
|
|
4924
4903
|
m(h, c) {
|
|
4925
|
-
W(h, t, c),
|
|
4904
|
+
W(h, t, c), s.m(t, null), T(t, r), l();
|
|
4926
4905
|
},
|
|
4927
4906
|
p(h, c) {
|
|
4928
|
-
e = h,
|
|
4929
|
-
2 && i !== (i =
|
|
4907
|
+
e = h, 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*/
|
|
4908
|
+
2 && i !== (i = Et(
|
|
4930
4909
|
/*index*/
|
|
4931
4910
|
e[39] > +/*numberofentries*/
|
|
4932
4911
|
e[1] ? "LimitContainer" : ""
|
|
4933
|
-
) + " svelte-19ml84y") &&
|
|
4912
|
+
) + " svelte-19ml84y") && x(t, "class", i), n !== /*index*/
|
|
4934
4913
|
e[39] && (u(), n = /*index*/
|
|
4935
4914
|
e[39], l());
|
|
4936
4915
|
},
|
|
4937
4916
|
d(h) {
|
|
4938
|
-
h &&
|
|
4917
|
+
h && F(t), s.d(), u();
|
|
4939
4918
|
}
|
|
4940
4919
|
};
|
|
4941
4920
|
}
|
|
4942
|
-
function
|
|
4921
|
+
function Oo(e) {
|
|
4943
4922
|
let t;
|
|
4944
|
-
function r(o,
|
|
4923
|
+
function r(o, a) {
|
|
4945
4924
|
return (
|
|
4946
4925
|
/*hasErrors*/
|
|
4947
|
-
o[6] ?
|
|
4926
|
+
o[6] ? Ho : (
|
|
4948
4927
|
/*isLoading*/
|
|
4949
|
-
o[4] ?
|
|
4928
|
+
o[4] ? Po : Ao
|
|
4950
4929
|
)
|
|
4951
4930
|
);
|
|
4952
4931
|
}
|
|
4953
4932
|
let i = r(e), n = i(e);
|
|
4954
4933
|
return {
|
|
4955
4934
|
c() {
|
|
4956
|
-
t = A("div"), n.c(),
|
|
4935
|
+
t = A("div"), n.c(), x(t, "class", "svelte-19ml84y");
|
|
4957
4936
|
},
|
|
4958
|
-
m(o,
|
|
4959
|
-
W(o, t,
|
|
4937
|
+
m(o, a) {
|
|
4938
|
+
W(o, t, a), n.m(t, null), e[23](t);
|
|
4960
4939
|
},
|
|
4961
|
-
p(o,
|
|
4962
|
-
i === (i = r(o)) && n ? n.p(o,
|
|
4940
|
+
p(o, a) {
|
|
4941
|
+
i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
|
|
4963
4942
|
},
|
|
4964
|
-
i:
|
|
4965
|
-
o:
|
|
4943
|
+
i: O,
|
|
4944
|
+
o: O,
|
|
4966
4945
|
d(o) {
|
|
4967
|
-
o &&
|
|
4946
|
+
o && F(t), n.d(), e[23](null);
|
|
4968
4947
|
}
|
|
4969
4948
|
};
|
|
4970
4949
|
}
|
|
4971
|
-
function
|
|
4950
|
+
function Co(e, t, r) {
|
|
4972
4951
|
let i;
|
|
4973
|
-
|
|
4974
|
-
let n = window.navigator.userAgent, o = !
|
|
4952
|
+
Yr(e, _o, (m) => r(9, i = m));
|
|
4953
|
+
let n = window.navigator.userAgent, o = !Eo(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, w = new Array(), D = parseInt(c, 10), M = !1, U = !0, X = [], de = [], ye = !0, Re = !1, ue = { EUR: "€", RON: "lei", TRY: "₺" };
|
|
4975
4954
|
const Ir = () => {
|
|
4976
|
-
fetch(H).then((
|
|
4977
|
-
Object.keys(
|
|
4978
|
-
|
|
4955
|
+
fetch(H).then((L) => L.json()).then((L) => {
|
|
4956
|
+
Object.keys(L).forEach((N) => {
|
|
4957
|
+
Vt(N, L[N]);
|
|
4979
4958
|
});
|
|
4980
|
-
}).catch((
|
|
4981
|
-
console.log(
|
|
4959
|
+
}).catch((L) => {
|
|
4960
|
+
console.log(L);
|
|
4982
4961
|
});
|
|
4983
4962
|
};
|
|
4984
|
-
Object.keys(
|
|
4985
|
-
|
|
4963
|
+
Object.keys(Ze).forEach((m) => {
|
|
4964
|
+
Vt(m, Ze[m]);
|
|
4986
4965
|
});
|
|
4987
4966
|
const Br = () => {
|
|
4988
|
-
let m = h === "gmcore" ? `/v2/player/${
|
|
4989
|
-
|
|
4967
|
+
let m = h === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, L = new URL(m, u);
|
|
4968
|
+
L.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), L.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), L.searchParams.append("limit", "10000");
|
|
4990
4969
|
let N = {
|
|
4991
4970
|
method: "GET",
|
|
4992
4971
|
headers: { "X-SessionID": l }
|
|
4993
4972
|
};
|
|
4994
|
-
fetch(
|
|
4973
|
+
fetch(L.href, N).then((P) => {
|
|
4995
4974
|
if (P.status >= 300)
|
|
4996
|
-
throw r(4,
|
|
4975
|
+
throw r(4, U = !1), r(6, M = !0), new Error("There was an error fetching the limits");
|
|
4997
4976
|
return P.json();
|
|
4998
4977
|
}).then(
|
|
4999
4978
|
(P) => {
|
|
5000
|
-
P.length && (X =
|
|
4979
|
+
P.length && (X = Or(P), r(7, de = X.slice(0, D))), r(4, U = !1);
|
|
5001
4980
|
},
|
|
5002
4981
|
(P) => {
|
|
5003
4982
|
console.error("There was an error", P), r(6, M = !0);
|
|
5004
4983
|
}
|
|
5005
4984
|
);
|
|
5006
|
-
},
|
|
5007
|
-
const
|
|
4985
|
+
}, Or = (m) => {
|
|
4986
|
+
const L = !!Ze[a];
|
|
5008
4987
|
return m.map((P) => {
|
|
5009
|
-
let
|
|
4988
|
+
let $ = {
|
|
5010
4989
|
amount: "",
|
|
5011
4990
|
currency: "",
|
|
5012
4991
|
date: "",
|
|
@@ -5014,83 +4993,83 @@ function Mo(e, t, r) {
|
|
|
5014
4993
|
type: "",
|
|
5015
4994
|
removed: !1
|
|
5016
4995
|
};
|
|
5017
|
-
return
|
|
4996
|
+
return $.amount = Cr(P), $.currency = L ? ue[P.limitCurrencyCode] : P.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(P.limitDate)), $.period = i(`${P.limitPeriod.toLowerCase()}`), $.type = h === "gmcore" ? i(`historyLimitType${P.limitType.split(" ")[0]}`) : i(`historyLimitType${P.limitType.split(" ")[0]}`) + " " + i(`historyProductType${P.limitProductType}`), $.removed = P.limitAmount === -1, $;
|
|
5018
4997
|
});
|
|
5019
|
-
},
|
|
5020
|
-
let
|
|
4998
|
+
}, Cr = (m) => {
|
|
4999
|
+
let L = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
|
|
5021
5000
|
if (!p) {
|
|
5022
|
-
let
|
|
5023
|
-
return `${
|
|
5001
|
+
let jr = ue[m.limitCurrencyCode] || m.limitCurrencyCode;
|
|
5002
|
+
return `${L}${jr}`;
|
|
5024
5003
|
}
|
|
5025
5004
|
typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
|
|
5026
|
-
const N =
|
|
5005
|
+
const N = L.match(/\{(\d+)decimals\}/), P = N ? parseInt(N[1], 10) : 2, $ = N ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
5027
5006
|
let ge = parseFloat(m.limitAmount).toFixed(P);
|
|
5028
|
-
const [
|
|
5029
|
-
let [
|
|
5030
|
-
return
|
|
5031
|
-
|
|
5032
|
-
ge.split(
|
|
5033
|
-
),
|
|
5034
|
-
},
|
|
5035
|
-
r(5, ye = !ye), r(8,
|
|
5007
|
+
const [Gr, De] = p.includes(".") ? [",", "."] : [".", ","];
|
|
5008
|
+
let [Ue, Fr] = ge.split(".");
|
|
5009
|
+
return Ue = Ue.replace(/\B(?=(\d{3})+(?!\d))/g, Gr), ge = `${Ue}${De}${Fr}`, L = L.replace("{currency}", ue[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ge.split(De)[0]).replace(
|
|
5010
|
+
$,
|
|
5011
|
+
ge.split(De)[1]
|
|
5012
|
+
), L;
|
|
5013
|
+
}, Nr = () => {
|
|
5014
|
+
r(5, ye = !ye), r(8, Re = !Re);
|
|
5036
5015
|
};
|
|
5037
|
-
let
|
|
5038
|
-
m.forEach((
|
|
5039
|
-
|
|
5016
|
+
let yt = new IntersectionObserver((m) => {
|
|
5017
|
+
m.forEach((L) => {
|
|
5018
|
+
L.isIntersecting && (D += parseInt(c, 10) || 10, de.length < X.length && r(7, de = X.slice(0, D)));
|
|
5040
5019
|
});
|
|
5041
5020
|
});
|
|
5042
|
-
const
|
|
5043
|
-
|
|
5044
|
-
},
|
|
5021
|
+
const Mr = () => {
|
|
5022
|
+
yt.observe(w[w.length - 1]);
|
|
5023
|
+
}, Rr = () => {
|
|
5045
5024
|
if (!f)
|
|
5046
5025
|
return;
|
|
5047
5026
|
let m = {};
|
|
5048
|
-
f.split(",").forEach((
|
|
5049
|
-
let N =
|
|
5027
|
+
f.split(",").forEach((L) => {
|
|
5028
|
+
let N = L.split(":");
|
|
5050
5029
|
m[N[0].trim()] = N[1].trim();
|
|
5051
|
-
}),
|
|
5052
|
-
},
|
|
5053
|
-
|
|
5030
|
+
}), ue = be(be({}, ue), m);
|
|
5031
|
+
}, Dr = () => {
|
|
5032
|
+
So(a);
|
|
5054
5033
|
};
|
|
5055
|
-
|
|
5056
|
-
|
|
5034
|
+
oi(() => () => {
|
|
5035
|
+
yt.unobserve(w[w.length - 1]);
|
|
5057
5036
|
});
|
|
5058
|
-
function
|
|
5037
|
+
function Ur(m, L) {
|
|
5059
5038
|
Pe[m ? "unshift" : "push"](() => {
|
|
5060
|
-
|
|
5039
|
+
w[L] = m, r(3, w);
|
|
5061
5040
|
});
|
|
5062
5041
|
}
|
|
5063
|
-
function
|
|
5042
|
+
function $r(m) {
|
|
5064
5043
|
Pe[m ? "unshift" : "push"](() => {
|
|
5065
5044
|
g = m, r(2, g);
|
|
5066
5045
|
});
|
|
5067
5046
|
}
|
|
5068
5047
|
return e.$$set = (m) => {
|
|
5069
|
-
"lang" in m && r(0,
|
|
5048
|
+
"lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
|
|
5070
5049
|
}, e.$$.update = () => {
|
|
5071
5050
|
e.$$.dirty[0] & /*customcurrencysymbols*/
|
|
5072
|
-
65536 && f &&
|
|
5073
|
-
61440 && u &&
|
|
5074
|
-
56 &&
|
|
5075
|
-
1 &&
|
|
5076
|
-
262148 && y && g &&
|
|
5077
|
-
524292 && d && g &&
|
|
5078
|
-
1048580 && v && g &&
|
|
5051
|
+
65536 && f && Rr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
5052
|
+
61440 && u && s && l && h && Br(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
5053
|
+
56 && w[0] && !U && !ye && Mr(), e.$$.dirty[0] & /*lang*/
|
|
5054
|
+
1 && a && Dr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5055
|
+
262148 && y && g && xo(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5056
|
+
524292 && d && g && To(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5057
|
+
1048580 && v && g && Lo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
|
|
5079
5058
|
2097156 && H && g && Ir();
|
|
5080
5059
|
}, [
|
|
5081
|
-
|
|
5060
|
+
a,
|
|
5082
5061
|
c,
|
|
5083
5062
|
g,
|
|
5084
|
-
|
|
5085
|
-
|
|
5063
|
+
w,
|
|
5064
|
+
U,
|
|
5086
5065
|
ye,
|
|
5087
5066
|
M,
|
|
5088
5067
|
de,
|
|
5089
|
-
|
|
5068
|
+
Re,
|
|
5090
5069
|
i,
|
|
5091
5070
|
o,
|
|
5092
|
-
|
|
5093
|
-
|
|
5071
|
+
Nr,
|
|
5072
|
+
s,
|
|
5094
5073
|
l,
|
|
5095
5074
|
u,
|
|
5096
5075
|
h,
|
|
@@ -5100,18 +5079,18 @@ function Mo(e, t, r) {
|
|
|
5100
5079
|
d,
|
|
5101
5080
|
v,
|
|
5102
5081
|
H,
|
|
5103
|
-
|
|
5104
|
-
|
|
5082
|
+
Ur,
|
|
5083
|
+
$r
|
|
5105
5084
|
];
|
|
5106
5085
|
}
|
|
5107
|
-
class
|
|
5086
|
+
class Hr extends yi {
|
|
5108
5087
|
constructor(t) {
|
|
5109
|
-
super(),
|
|
5088
|
+
super(), pi(
|
|
5110
5089
|
this,
|
|
5111
5090
|
t,
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5091
|
+
Co,
|
|
5092
|
+
Oo,
|
|
5093
|
+
Zt,
|
|
5115
5094
|
{
|
|
5116
5095
|
lang: 0,
|
|
5117
5096
|
userid: 12,
|
|
@@ -5126,7 +5105,7 @@ class Or extends gi {
|
|
|
5126
5105
|
mbsource: 20,
|
|
5127
5106
|
translationurl: 21
|
|
5128
5107
|
},
|
|
5129
|
-
|
|
5108
|
+
wo,
|
|
5130
5109
|
[-1, -1]
|
|
5131
5110
|
);
|
|
5132
5111
|
}
|
|
@@ -5203,59 +5182,59 @@ class Or extends gi {
|
|
|
5203
5182
|
this.$$set({ translationurl: t }), C();
|
|
5204
5183
|
}
|
|
5205
5184
|
}
|
|
5206
|
-
|
|
5207
|
-
const
|
|
5185
|
+
di(Hr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
5186
|
+
const Jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5208
5187
|
__proto__: null,
|
|
5209
|
-
default:
|
|
5188
|
+
default: Hr
|
|
5210
5189
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5211
5190
|
export {
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5191
|
+
se as $,
|
|
5192
|
+
ko as A,
|
|
5193
|
+
ne as B,
|
|
5194
|
+
Tt as C,
|
|
5195
|
+
jo as D,
|
|
5196
|
+
ei as E,
|
|
5197
|
+
Je as F,
|
|
5198
|
+
Vo as G,
|
|
5199
|
+
_o as H,
|
|
5200
|
+
xe as I,
|
|
5201
|
+
Qo as J,
|
|
5202
|
+
Zo as K,
|
|
5203
|
+
hi as L,
|
|
5204
|
+
Yo as M,
|
|
5205
|
+
zo as N,
|
|
5206
|
+
Go as O,
|
|
5207
|
+
Xo as P,
|
|
5208
|
+
Mo as Q,
|
|
5209
|
+
Do as R,
|
|
5210
|
+
yi as S,
|
|
5211
|
+
Uo as T,
|
|
5212
|
+
Ro as U,
|
|
5213
|
+
Jo as V,
|
|
5214
|
+
Lr as a,
|
|
5215
|
+
Jr as b,
|
|
5216
|
+
di as c,
|
|
5217
|
+
Qe as d,
|
|
5218
|
+
A as e,
|
|
5240
5219
|
C as f,
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5220
|
+
W as g,
|
|
5221
|
+
T as h,
|
|
5222
|
+
pi as i,
|
|
5223
|
+
F as j,
|
|
5224
|
+
Yr as k,
|
|
5225
|
+
Eo as l,
|
|
5226
|
+
To as m,
|
|
5227
|
+
O as n,
|
|
5228
|
+
oi as o,
|
|
5229
|
+
Lo as p,
|
|
5230
|
+
x as q,
|
|
5231
|
+
Wo as r,
|
|
5232
|
+
Zt as s,
|
|
5233
|
+
Fo as t,
|
|
5234
|
+
Pe as u,
|
|
5235
|
+
xo as v,
|
|
5236
|
+
R as w,
|
|
5237
|
+
$o as x,
|
|
5238
|
+
ti as y,
|
|
5239
|
+
V as z
|
|
5261
5240
|
};
|