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