@everymatrix/player-account-gaming-limits-wrapper-2-nd 1.54.6 → 1.54.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DUvnDph9.js → PlayerAccountGamingLimitsHistory2Nd-BTaSWdBY.js} +557 -565
- package/components/PlayerAccountGamingLimitsHistory2Nd-C7CBXrRh.js +5008 -0
- package/components/PlayerAccountGamingLimitsHistory2Nd-CuIbLfju.cjs +5 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-CnP0SqJg.js +3299 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-Dcq_Eqo0.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CYuehZ4x.js → PlayerAccountGamingLimitsPage2Gm16Nd-QKKgAwgl.js} +37 -37
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BZrPkzuY.js → PlayerAccountGamingLimitsWrapper2Nd-Bd9X33IC.js} +19 -19
- package/components/PlayerAccountGamingLimitsWrapper2Nd-D6L9RuPR.js +871 -0
- package/components/PlayerAccountGamingLimitsWrapper2Nd-mHzFx72I.cjs +1 -0
- package/es2015/player-account-gaming-limits-wrapper-2-nd.cjs +1 -0
- package/es2015/player-account-gaming-limits-wrapper-2-nd.js +19 -0
- package/esnext/player-account-gaming-limits-wrapper-2-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function C() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Mt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function ut() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function ce(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(Mt);
|
|
11
11
|
}
|
|
12
12
|
function nt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Rt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Or(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Dt(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const i of t)
|
|
24
24
|
i(void 0);
|
|
@@ -27,27 +27,27 @@ function zt(e, ...t) {
|
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function Cr(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(Dt(t, r));
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function lt(e) {
|
|
34
34
|
return e ?? "";
|
|
35
35
|
}
|
|
36
|
-
const
|
|
36
|
+
const yo = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
|
|
37
37
|
// @ts-ignore Node typings have this
|
|
38
38
|
global
|
|
39
39
|
);
|
|
40
40
|
function L(e, t) {
|
|
41
41
|
e.appendChild(t);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
const i =
|
|
43
|
+
function Ir(e, t, r) {
|
|
44
|
+
const i = Nr(e);
|
|
45
45
|
if (!i.getElementById(t)) {
|
|
46
|
-
const n =
|
|
47
|
-
n.id = t, n.textContent = r,
|
|
46
|
+
const n = P("style");
|
|
47
|
+
n.id = t, n.textContent = r, Mr(i, n);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Nr(e) {
|
|
51
51
|
if (!e) return document;
|
|
52
52
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
53
53
|
return t && /** @type {ShadowRoot} */
|
|
@@ -56,7 +56,7 @@ function Mr(e) {
|
|
|
56
56
|
t
|
|
57
57
|
) : e.ownerDocument;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Mr(e, t) {
|
|
60
60
|
return L(
|
|
61
61
|
/** @type {Document} */
|
|
62
62
|
e.head || e,
|
|
@@ -69,11 +69,11 @@ function V(e, t, r) {
|
|
|
69
69
|
function j(e) {
|
|
70
70
|
e.parentNode && e.parentNode.removeChild(e);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Rr(e, t) {
|
|
73
73
|
for (let r = 0; r < e.length; r += 1)
|
|
74
74
|
e[r] && e[r].d(t);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function P(e) {
|
|
77
77
|
return document.createElement(e);
|
|
78
78
|
}
|
|
79
79
|
function Ie(e) {
|
|
@@ -85,33 +85,33 @@ function M(e) {
|
|
|
85
85
|
function Fe() {
|
|
86
86
|
return M(" ");
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function bo() {
|
|
89
89
|
return M("");
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function Dr(e, t, r, i) {
|
|
92
92
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function x(e, t, r) {
|
|
95
95
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
96
96
|
}
|
|
97
97
|
function vo(e, t, r) {
|
|
98
98
|
const i = t.toLowerCase();
|
|
99
|
-
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
99
|
+
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
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function go(e) {
|
|
102
102
|
return e === "" ? null : +e;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function zr(e) {
|
|
105
105
|
return Array.from(e.childNodes);
|
|
106
106
|
}
|
|
107
107
|
function F(e, t) {
|
|
108
108
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
109
109
|
t);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function _o(e, t) {
|
|
112
112
|
e.value = t ?? "";
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function $r(e, t, r, i) {
|
|
115
115
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
116
116
|
}
|
|
117
117
|
function Eo(e, t, r) {
|
|
@@ -124,14 +124,14 @@ function Eo(e, t, r) {
|
|
|
124
124
|
}
|
|
125
125
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function xo(e) {
|
|
128
128
|
const t = e.querySelector(":checked");
|
|
129
129
|
return t && t.__value;
|
|
130
130
|
}
|
|
131
131
|
function de(e, t, r) {
|
|
132
132
|
e.classList.toggle(t, !!r);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Ur(e) {
|
|
135
135
|
const t = {};
|
|
136
136
|
return e.childNodes.forEach(
|
|
137
137
|
/** @param {Element} node */
|
|
@@ -144,19 +144,19 @@ let ue;
|
|
|
144
144
|
function ae(e) {
|
|
145
145
|
ue = e;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function Gr() {
|
|
148
148
|
if (!ue) throw new Error("Function called outside component initialization");
|
|
149
149
|
return ue;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
|
|
151
|
+
function Fr(e) {
|
|
152
|
+
Gr().$$.on_mount.push(e);
|
|
153
153
|
}
|
|
154
|
-
const Q = [],
|
|
154
|
+
const Q = [], xe = [];
|
|
155
155
|
let Y = [];
|
|
156
|
-
const
|
|
156
|
+
const ht = [], jr = /* @__PURE__ */ Promise.resolve();
|
|
157
157
|
let je = !1;
|
|
158
|
-
function
|
|
159
|
-
je || (je = !0,
|
|
158
|
+
function kr() {
|
|
159
|
+
je || (je = !0, jr.then(I));
|
|
160
160
|
}
|
|
161
161
|
function ke(e) {
|
|
162
162
|
Y.push(e);
|
|
@@ -171,55 +171,55 @@ function I() {
|
|
|
171
171
|
try {
|
|
172
172
|
for (; X < Q.length; ) {
|
|
173
173
|
const t = Q[X];
|
|
174
|
-
X++, ae(t),
|
|
174
|
+
X++, ae(t), Vr(t.$$);
|
|
175
175
|
}
|
|
176
176
|
} catch (t) {
|
|
177
177
|
throw Q.length = 0, X = 0, t;
|
|
178
178
|
}
|
|
179
|
-
for (ae(null), Q.length = 0, X = 0;
|
|
179
|
+
for (ae(null), Q.length = 0, X = 0; xe.length; ) xe.pop()();
|
|
180
180
|
for (let t = 0; t < Y.length; t += 1) {
|
|
181
181
|
const r = Y[t];
|
|
182
182
|
Ne.has(r) || (Ne.add(r), r());
|
|
183
183
|
}
|
|
184
184
|
Y.length = 0;
|
|
185
185
|
} while (Q.length);
|
|
186
|
-
for (;
|
|
187
|
-
|
|
186
|
+
for (; ht.length; )
|
|
187
|
+
ht.pop()();
|
|
188
188
|
je = !1, Ne.clear(), ae(e);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Vr(e) {
|
|
191
191
|
if (e.fragment !== null) {
|
|
192
192
|
e.update(), ce(e.before_update);
|
|
193
193
|
const t = e.dirty;
|
|
194
194
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function Wr(e) {
|
|
198
198
|
const t = [], r = [];
|
|
199
199
|
Y.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Y = t;
|
|
200
200
|
}
|
|
201
|
-
const
|
|
202
|
-
function
|
|
203
|
-
e && e.i && (
|
|
201
|
+
const Xr = /* @__PURE__ */ new Set();
|
|
202
|
+
function Zr(e, t) {
|
|
203
|
+
e && e.i && (Xr.delete(e), e.i(t));
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function ct(e) {
|
|
206
206
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Qr(e, t, r) {
|
|
209
209
|
const { fragment: i, after_update: n } = e.$$;
|
|
210
210
|
i && i.m(t, r), ke(() => {
|
|
211
|
-
const o = e.$$.on_mount.map(
|
|
211
|
+
const o = e.$$.on_mount.map(Mt).filter(nt);
|
|
212
212
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
|
|
213
213
|
}), n.forEach(ke);
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function Yr(e, t) {
|
|
216
216
|
const r = e.$$;
|
|
217
|
-
r.fragment !== null && (
|
|
217
|
+
r.fragment !== null && (Wr(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
218
218
|
}
|
|
219
|
-
function
|
|
220
|
-
e.$$.dirty[0] === -1 && (Q.push(e),
|
|
219
|
+
function Jr(e, t) {
|
|
220
|
+
e.$$.dirty[0] === -1 && (Q.push(e), kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function qr(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
223
223
|
const h = ue;
|
|
224
224
|
ae(e);
|
|
225
225
|
const u = e.$$ = {
|
|
@@ -229,7 +229,7 @@ function Kr(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
229
229
|
props: o,
|
|
230
230
|
update: C,
|
|
231
231
|
not_equal: n,
|
|
232
|
-
bound:
|
|
232
|
+
bound: ut(),
|
|
233
233
|
// lifecycle
|
|
234
234
|
on_mount: [],
|
|
235
235
|
on_destroy: [],
|
|
@@ -238,7 +238,7 @@ function Kr(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
238
238
|
after_update: [],
|
|
239
239
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
240
240
|
// everything else
|
|
241
|
-
callbacks:
|
|
241
|
+
callbacks: ut(),
|
|
242
242
|
dirty: s,
|
|
243
243
|
skip_bound: !1,
|
|
244
244
|
root: t.target || h.$$.root
|
|
@@ -247,19 +247,19 @@ function Kr(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
247
247
|
let l = !1;
|
|
248
248
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
249
249
|
const y = p.length ? p[0] : f;
|
|
250
|
-
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l &&
|
|
250
|
+
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Jr(e, c)), f;
|
|
251
251
|
}) : [], u.update(), l = !0, ce(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
252
252
|
if (t.hydrate) {
|
|
253
|
-
const c =
|
|
253
|
+
const c = zr(t.target);
|
|
254
254
|
u.fragment && u.fragment.l(c), c.forEach(j);
|
|
255
255
|
} else
|
|
256
256
|
u.fragment && u.fragment.c();
|
|
257
|
-
t.intro &&
|
|
257
|
+
t.intro && Zr(e.$$.fragment), Qr(e, t.target, t.anchor), I();
|
|
258
258
|
}
|
|
259
259
|
ae(h);
|
|
260
260
|
}
|
|
261
|
-
let
|
|
262
|
-
typeof HTMLElement == "function" && (
|
|
261
|
+
let zt;
|
|
262
|
+
typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
263
263
|
/** The Svelte component constructor */
|
|
264
264
|
$$ctor;
|
|
265
265
|
/** Slots */
|
|
@@ -301,7 +301,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
301
301
|
let o;
|
|
302
302
|
return {
|
|
303
303
|
c: function() {
|
|
304
|
-
o =
|
|
304
|
+
o = P("slot"), n !== "default" && x(o, "name", n);
|
|
305
305
|
},
|
|
306
306
|
/**
|
|
307
307
|
* @param {HTMLElement} target
|
|
@@ -318,12 +318,12 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
318
318
|
};
|
|
319
319
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
320
320
|
return;
|
|
321
|
-
const t = {}, r =
|
|
321
|
+
const t = {}, r = Ur(this);
|
|
322
322
|
for (const n of this.$$s)
|
|
323
323
|
n in r && (t[n] = [e(n)]);
|
|
324
324
|
for (const n of this.attributes) {
|
|
325
325
|
const o = this.$$g_p(n.name);
|
|
326
|
-
o in this.$$d || (this.$$d[o] =
|
|
326
|
+
o in this.$$d || (this.$$d[o] = ve(o, n.value, this.$$p_d, "toProp"));
|
|
327
327
|
}
|
|
328
328
|
for (const n in this.$$p_d)
|
|
329
329
|
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
@@ -341,7 +341,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
341
341
|
this.$$r = !0;
|
|
342
342
|
for (const n in this.$$p_d)
|
|
343
343
|
if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
|
|
344
|
-
const o =
|
|
344
|
+
const o = ve(
|
|
345
345
|
n,
|
|
346
346
|
this.$$d[n],
|
|
347
347
|
this.$$p_d,
|
|
@@ -363,7 +363,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
363
363
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
364
364
|
// and setting attributes through setAttribute etc, this is helpful
|
|
365
365
|
attributeChangedCallback(e, t, r) {
|
|
366
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
366
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
367
367
|
}
|
|
368
368
|
disconnectedCallback() {
|
|
369
369
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -376,7 +376,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
376
376
|
) || e;
|
|
377
377
|
}
|
|
378
378
|
});
|
|
379
|
-
function
|
|
379
|
+
function ve(e, t, r, i) {
|
|
380
380
|
const n = r[e]?.type;
|
|
381
381
|
if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
|
|
382
382
|
return t;
|
|
@@ -405,8 +405,8 @@ function ge(e, t, r, i) {
|
|
|
405
405
|
return t;
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
function
|
|
409
|
-
let a = class extends
|
|
408
|
+
function Kr(e, t, r, i, n, o) {
|
|
409
|
+
let a = class extends zt {
|
|
410
410
|
constructor() {
|
|
411
411
|
super(e, r, n), this.$$p_d = t;
|
|
412
412
|
}
|
|
@@ -422,7 +422,7 @@ function ei(e, t, r, i, n, o) {
|
|
|
422
422
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
423
423
|
},
|
|
424
424
|
set(h) {
|
|
425
|
-
h =
|
|
425
|
+
h = ve(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
|
|
426
426
|
}
|
|
427
427
|
});
|
|
428
428
|
}), i.forEach((s) => {
|
|
@@ -434,7 +434,7 @@ function ei(e, t, r, i, n, o) {
|
|
|
434
434
|
}), e.element = /** @type {any} */
|
|
435
435
|
a, a;
|
|
436
436
|
}
|
|
437
|
-
class
|
|
437
|
+
class ei {
|
|
438
438
|
/**
|
|
439
439
|
* ### PRIVATE API
|
|
440
440
|
*
|
|
@@ -453,7 +453,7 @@ class ti {
|
|
|
453
453
|
$$set = void 0;
|
|
454
454
|
/** @returns {void} */
|
|
455
455
|
$destroy() {
|
|
456
|
-
|
|
456
|
+
Yr(this, 1), this.$destroy = C;
|
|
457
457
|
}
|
|
458
458
|
/**
|
|
459
459
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -475,11 +475,11 @@ class ti {
|
|
|
475
475
|
* @returns {void}
|
|
476
476
|
*/
|
|
477
477
|
$set(t) {
|
|
478
|
-
this.$$set && !
|
|
478
|
+
this.$$set && !Or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
|
-
const
|
|
482
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
481
|
+
const ti = "4";
|
|
482
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ti);
|
|
483
483
|
var Ve = function(e, t) {
|
|
484
484
|
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
485
485
|
r.__proto__ = i;
|
|
@@ -496,16 +496,16 @@ function U(e, t) {
|
|
|
496
496
|
}
|
|
497
497
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
498
498
|
}
|
|
499
|
-
var
|
|
500
|
-
return
|
|
499
|
+
var E = function() {
|
|
500
|
+
return E = Object.assign || function(t) {
|
|
501
501
|
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
502
502
|
r = arguments[i];
|
|
503
503
|
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
504
504
|
}
|
|
505
505
|
return t;
|
|
506
|
-
},
|
|
506
|
+
}, E.apply(this, arguments);
|
|
507
507
|
};
|
|
508
|
-
function
|
|
508
|
+
function ri(e, t) {
|
|
509
509
|
var r = {};
|
|
510
510
|
for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
511
511
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -548,13 +548,13 @@ function J(e, t, r) {
|
|
|
548
548
|
function $(e) {
|
|
549
549
|
return typeof e == "function";
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function $t(e) {
|
|
552
552
|
var t = function(i) {
|
|
553
553
|
Error.call(i), i.stack = new Error().stack;
|
|
554
554
|
}, r = e(t);
|
|
555
555
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
556
556
|
}
|
|
557
|
-
var Me =
|
|
557
|
+
var Me = $t(function(e) {
|
|
558
558
|
return function(r) {
|
|
559
559
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
560
560
|
` + r.map(function(i, n) {
|
|
@@ -610,7 +610,7 @@ var Se = function() {
|
|
|
610
610
|
for (var f = We(c), p = f.next(); !p.done; p = f.next()) {
|
|
611
611
|
var y = p.value;
|
|
612
612
|
try {
|
|
613
|
-
|
|
613
|
+
ft(y);
|
|
614
614
|
} catch (d) {
|
|
615
615
|
o = o ?? [], d instanceof Me ? o = J(J([], Xe(o)), Xe(d.errors)) : o.push(d);
|
|
616
616
|
}
|
|
@@ -632,7 +632,7 @@ var Se = function() {
|
|
|
632
632
|
var r;
|
|
633
633
|
if (t && t !== this)
|
|
634
634
|
if (this.closed)
|
|
635
|
-
|
|
635
|
+
ft(t);
|
|
636
636
|
else {
|
|
637
637
|
if (t instanceof e) {
|
|
638
638
|
if (t.closed || t._hasParent(this))
|
|
@@ -657,20 +657,16 @@ var Se = function() {
|
|
|
657
657
|
var t = new e();
|
|
658
658
|
return t.closed = !0, t;
|
|
659
659
|
}(), e;
|
|
660
|
-
}(),
|
|
661
|
-
function
|
|
660
|
+
}(), Ut = Se.EMPTY;
|
|
661
|
+
function Gt(e) {
|
|
662
662
|
return e instanceof Se || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
663
663
|
}
|
|
664
|
-
function
|
|
664
|
+
function ft(e) {
|
|
665
665
|
$(e) ? e() : e.unsubscribe();
|
|
666
666
|
}
|
|
667
|
-
var
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
Promise: void 0,
|
|
671
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
672
|
-
useDeprecatedNextContext: !1
|
|
673
|
-
}, oi = {
|
|
667
|
+
var ii = {
|
|
668
|
+
Promise: void 0
|
|
669
|
+
}, ni = {
|
|
674
670
|
setTimeout: function(e, t) {
|
|
675
671
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
676
672
|
r[i - 2] = arguments[i];
|
|
@@ -681,21 +677,21 @@ var ni = {
|
|
|
681
677
|
},
|
|
682
678
|
delegate: void 0
|
|
683
679
|
};
|
|
684
|
-
function
|
|
685
|
-
|
|
680
|
+
function oi(e) {
|
|
681
|
+
ni.setTimeout(function() {
|
|
686
682
|
throw e;
|
|
687
683
|
});
|
|
688
684
|
}
|
|
689
|
-
function
|
|
685
|
+
function mt() {
|
|
690
686
|
}
|
|
691
|
-
function
|
|
687
|
+
function ge(e) {
|
|
692
688
|
e();
|
|
693
689
|
}
|
|
694
|
-
var
|
|
690
|
+
var Ft = function(e) {
|
|
695
691
|
U(t, e);
|
|
696
692
|
function t(r) {
|
|
697
693
|
var i = e.call(this) || this;
|
|
698
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
694
|
+
return i.isStopped = !1, r ? (i.destination = r, Gt(r) && r.add(i)) : i.destination = ui, i;
|
|
699
695
|
}
|
|
700
696
|
return t.create = function(r, i, n) {
|
|
701
697
|
return new Qe(r, i, n);
|
|
@@ -722,7 +718,7 @@ var jt = function(e) {
|
|
|
722
718
|
this.unsubscribe();
|
|
723
719
|
}
|
|
724
720
|
}, t;
|
|
725
|
-
}(Se),
|
|
721
|
+
}(Se), si = function() {
|
|
726
722
|
function e(t) {
|
|
727
723
|
this.partialObserver = t;
|
|
728
724
|
}
|
|
@@ -761,35 +757,35 @@ var jt = function(e) {
|
|
|
761
757
|
next: r ?? void 0,
|
|
762
758
|
error: i ?? void 0,
|
|
763
759
|
complete: n ?? void 0
|
|
764
|
-
} : a = r, o.destination = new
|
|
760
|
+
} : a = r, o.destination = new si(a), o;
|
|
765
761
|
}
|
|
766
762
|
return t;
|
|
767
|
-
}(
|
|
763
|
+
}(Ft);
|
|
768
764
|
function ye(e) {
|
|
769
|
-
|
|
765
|
+
oi(e);
|
|
770
766
|
}
|
|
771
|
-
function
|
|
767
|
+
function ai(e) {
|
|
772
768
|
throw e;
|
|
773
769
|
}
|
|
774
|
-
var
|
|
770
|
+
var ui = {
|
|
775
771
|
closed: !0,
|
|
776
|
-
next:
|
|
777
|
-
error:
|
|
778
|
-
complete:
|
|
779
|
-
},
|
|
772
|
+
next: mt,
|
|
773
|
+
error: ai,
|
|
774
|
+
complete: mt
|
|
775
|
+
}, li = function() {
|
|
780
776
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
781
777
|
}();
|
|
782
|
-
function
|
|
778
|
+
function hi(e) {
|
|
783
779
|
return e;
|
|
784
780
|
}
|
|
785
|
-
function
|
|
786
|
-
return e.length === 0 ?
|
|
781
|
+
function ci(e) {
|
|
782
|
+
return e.length === 0 ? hi : e.length === 1 ? e[0] : function(r) {
|
|
787
783
|
return e.reduce(function(i, n) {
|
|
788
784
|
return n(i);
|
|
789
785
|
}, r);
|
|
790
786
|
};
|
|
791
787
|
}
|
|
792
|
-
var
|
|
788
|
+
var pt = function() {
|
|
793
789
|
function e(t) {
|
|
794
790
|
t && (this._subscribe = t);
|
|
795
791
|
}
|
|
@@ -797,8 +793,8 @@ var dt = function() {
|
|
|
797
793
|
var r = new e();
|
|
798
794
|
return r.source = this, r.operator = t, r;
|
|
799
795
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
800
|
-
var n = this, o =
|
|
801
|
-
return
|
|
796
|
+
var n = this, o = mi(t) ? t : new Qe(t, r, i);
|
|
797
|
+
return ge(function() {
|
|
802
798
|
var a = n, s = a.operator, h = a.source;
|
|
803
799
|
o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
|
|
804
800
|
}), o;
|
|
@@ -810,7 +806,7 @@ var dt = function() {
|
|
|
810
806
|
}
|
|
811
807
|
}, e.prototype.forEach = function(t, r) {
|
|
812
808
|
var i = this;
|
|
813
|
-
return r =
|
|
809
|
+
return r = dt(r), new r(function(n, o) {
|
|
814
810
|
var a = new Qe({
|
|
815
811
|
next: function(s) {
|
|
816
812
|
try {
|
|
@@ -827,15 +823,15 @@ var dt = function() {
|
|
|
827
823
|
}, e.prototype._subscribe = function(t) {
|
|
828
824
|
var r;
|
|
829
825
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
830
|
-
}, e.prototype[
|
|
826
|
+
}, e.prototype[li] = function() {
|
|
831
827
|
return this;
|
|
832
828
|
}, e.prototype.pipe = function() {
|
|
833
829
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
834
830
|
t[r] = arguments[r];
|
|
835
|
-
return
|
|
831
|
+
return ci(t)(this);
|
|
836
832
|
}, e.prototype.toPromise = function(t) {
|
|
837
833
|
var r = this;
|
|
838
|
-
return t =
|
|
834
|
+
return t = dt(t), new t(function(i, n) {
|
|
839
835
|
var o;
|
|
840
836
|
r.subscribe(function(a) {
|
|
841
837
|
return o = a;
|
|
@@ -849,35 +845,35 @@ var dt = function() {
|
|
|
849
845
|
return new e(t);
|
|
850
846
|
}, e;
|
|
851
847
|
}();
|
|
852
|
-
function
|
|
848
|
+
function dt(e) {
|
|
853
849
|
var t;
|
|
854
|
-
return (t = e ??
|
|
850
|
+
return (t = e ?? ii.Promise) !== null && t !== void 0 ? t : Promise;
|
|
855
851
|
}
|
|
856
|
-
function
|
|
852
|
+
function fi(e) {
|
|
857
853
|
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
858
854
|
}
|
|
859
|
-
function
|
|
860
|
-
return e && e instanceof
|
|
855
|
+
function mi(e) {
|
|
856
|
+
return e && e instanceof Ft || fi(e) && Gt(e);
|
|
861
857
|
}
|
|
862
|
-
var
|
|
858
|
+
var pi = $t(function(e) {
|
|
863
859
|
return function() {
|
|
864
860
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
865
861
|
};
|
|
866
|
-
}),
|
|
862
|
+
}), jt = function(e) {
|
|
867
863
|
U(t, e);
|
|
868
864
|
function t() {
|
|
869
865
|
var r = e.call(this) || this;
|
|
870
866
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
871
867
|
}
|
|
872
868
|
return t.prototype.lift = function(r) {
|
|
873
|
-
var i = new
|
|
869
|
+
var i = new yt(this, this);
|
|
874
870
|
return i.operator = r, i;
|
|
875
871
|
}, t.prototype._throwIfClosed = function() {
|
|
876
872
|
if (this.closed)
|
|
877
|
-
throw new
|
|
873
|
+
throw new pi();
|
|
878
874
|
}, t.prototype.next = function(r) {
|
|
879
875
|
var i = this;
|
|
880
|
-
|
|
876
|
+
ge(function() {
|
|
881
877
|
var n, o;
|
|
882
878
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
883
879
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
@@ -899,7 +895,7 @@ var di = Ut(function(e) {
|
|
|
899
895
|
});
|
|
900
896
|
}, t.prototype.error = function(r) {
|
|
901
897
|
var i = this;
|
|
902
|
-
|
|
898
|
+
ge(function() {
|
|
903
899
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
904
900
|
i.hasError = i.isStopped = !0, i.thrownError = r;
|
|
905
901
|
for (var n = i.observers; n.length; )
|
|
@@ -908,7 +904,7 @@ var di = Ut(function(e) {
|
|
|
908
904
|
});
|
|
909
905
|
}, t.prototype.complete = function() {
|
|
910
906
|
var r = this;
|
|
911
|
-
|
|
907
|
+
ge(function() {
|
|
912
908
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
913
909
|
r.isStopped = !0;
|
|
914
910
|
for (var i = r.observers; i.length; )
|
|
@@ -930,19 +926,19 @@ var di = Ut(function(e) {
|
|
|
930
926
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
931
927
|
}, t.prototype._innerSubscribe = function(r) {
|
|
932
928
|
var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
|
|
933
|
-
return o || a ?
|
|
929
|
+
return o || a ? Ut : (this.currentObservers = null, s.push(r), new Se(function() {
|
|
934
930
|
i.currentObservers = null, Ze(s, r);
|
|
935
931
|
}));
|
|
936
932
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
937
933
|
var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
|
|
938
934
|
n ? r.error(o) : a && r.complete();
|
|
939
935
|
}, t.prototype.asObservable = function() {
|
|
940
|
-
var r = new
|
|
936
|
+
var r = new pt();
|
|
941
937
|
return r.source = this, r;
|
|
942
938
|
}, t.create = function(r, i) {
|
|
943
|
-
return new
|
|
939
|
+
return new yt(r, i);
|
|
944
940
|
}, t;
|
|
945
|
-
}(
|
|
941
|
+
}(pt), yt = function(e) {
|
|
946
942
|
U(t, e);
|
|
947
943
|
function t(r, i) {
|
|
948
944
|
var n = e.call(this) || this;
|
|
@@ -959,17 +955,17 @@ var di = Ut(function(e) {
|
|
|
959
955
|
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
|
|
960
956
|
}, t.prototype._subscribe = function(r) {
|
|
961
957
|
var i, n;
|
|
962
|
-
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n :
|
|
958
|
+
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Ut;
|
|
963
959
|
}, t;
|
|
964
|
-
}(
|
|
960
|
+
}(jt), kt = {
|
|
965
961
|
now: function() {
|
|
966
|
-
return (
|
|
962
|
+
return (kt.delegate || Date).now();
|
|
967
963
|
},
|
|
968
964
|
delegate: void 0
|
|
969
|
-
},
|
|
965
|
+
}, di = function(e) {
|
|
970
966
|
U(t, e);
|
|
971
967
|
function t(r, i, n) {
|
|
972
|
-
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n =
|
|
968
|
+
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = kt);
|
|
973
969
|
var o = e.call(this) || this;
|
|
974
970
|
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;
|
|
975
971
|
}
|
|
@@ -989,15 +985,15 @@ var di = Ut(function(e) {
|
|
|
989
985
|
u && o.splice(0, u + 1);
|
|
990
986
|
}
|
|
991
987
|
}, t;
|
|
992
|
-
}(
|
|
993
|
-
const
|
|
994
|
-
if (
|
|
995
|
-
const r = new
|
|
996
|
-
vt[e] = r,
|
|
988
|
+
}(jt);
|
|
989
|
+
const bt = [], vt = {}, yi = (e, t = 0) => {
|
|
990
|
+
if (bt.indexOf(e) == -1) {
|
|
991
|
+
const r = new di(t);
|
|
992
|
+
vt[e] = r, bt.push(e);
|
|
997
993
|
}
|
|
998
994
|
return vt[e];
|
|
999
995
|
}, Z = [];
|
|
1000
|
-
function
|
|
996
|
+
function bi(e, t) {
|
|
1001
997
|
return {
|
|
1002
998
|
subscribe: we(e, t).subscribe
|
|
1003
999
|
};
|
|
@@ -1006,7 +1002,7 @@ function we(e, t = C) {
|
|
|
1006
1002
|
let r;
|
|
1007
1003
|
const i = /* @__PURE__ */ new Set();
|
|
1008
1004
|
function n(s) {
|
|
1009
|
-
if (
|
|
1005
|
+
if (Rt(e, s) && (e = s, r)) {
|
|
1010
1006
|
const h = !Z.length;
|
|
1011
1007
|
for (const u of i)
|
|
1012
1008
|
u[1](), Z.push(u, e);
|
|
@@ -1033,7 +1029,7 @@ function re(e, t, r) {
|
|
|
1033
1029
|
if (!n.every(Boolean))
|
|
1034
1030
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1035
1031
|
const o = t.length < 2;
|
|
1036
|
-
return
|
|
1032
|
+
return bi(r, (a, s) => {
|
|
1037
1033
|
let h = !1;
|
|
1038
1034
|
const u = [];
|
|
1039
1035
|
let l = 0, c = C;
|
|
@@ -1044,10 +1040,10 @@ function re(e, t, r) {
|
|
|
1044
1040
|
const y = t(i ? u[0] : u, a, s);
|
|
1045
1041
|
o ? a(y) : c = nt(y) ? y : C;
|
|
1046
1042
|
}, p = n.map(
|
|
1047
|
-
(y, d) =>
|
|
1043
|
+
(y, d) => Dt(
|
|
1048
1044
|
y,
|
|
1049
|
-
(
|
|
1050
|
-
u[d] =
|
|
1045
|
+
(v) => {
|
|
1046
|
+
u[d] = v, l &= ~(1 << d), h && f();
|
|
1051
1047
|
},
|
|
1052
1048
|
() => {
|
|
1053
1049
|
l |= 1 << d;
|
|
@@ -1060,34 +1056,34 @@ function re(e, t, r) {
|
|
|
1060
1056
|
});
|
|
1061
1057
|
}
|
|
1062
1058
|
function vi(e) {
|
|
1063
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1059
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1064
1060
|
}
|
|
1065
|
-
var
|
|
1066
|
-
return
|
|
1061
|
+
var gi = function(t) {
|
|
1062
|
+
return _i(t) && !Ei(t);
|
|
1067
1063
|
};
|
|
1068
|
-
function
|
|
1064
|
+
function _i(e) {
|
|
1069
1065
|
return !!e && typeof e == "object";
|
|
1070
1066
|
}
|
|
1071
1067
|
function Ei(e) {
|
|
1072
1068
|
var t = Object.prototype.toString.call(e);
|
|
1073
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1069
|
+
return t === "[object RegExp]" || t === "[object Date]" || Li(e);
|
|
1074
1070
|
}
|
|
1075
|
-
var
|
|
1076
|
-
function
|
|
1077
|
-
return e.$$typeof ===
|
|
1071
|
+
var xi = typeof Symbol == "function" && Symbol.for, Ti = xi ? Symbol.for("react.element") : 60103;
|
|
1072
|
+
function Li(e) {
|
|
1073
|
+
return e.$$typeof === Ti;
|
|
1078
1074
|
}
|
|
1079
|
-
function
|
|
1075
|
+
function Si(e) {
|
|
1080
1076
|
return Array.isArray(e) ? [] : {};
|
|
1081
1077
|
}
|
|
1082
1078
|
function le(e, t) {
|
|
1083
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? q(
|
|
1079
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(Si(e), e, t) : e;
|
|
1084
1080
|
}
|
|
1085
|
-
function
|
|
1081
|
+
function wi(e, t, r) {
|
|
1086
1082
|
return e.concat(t).map(function(i) {
|
|
1087
1083
|
return le(i, r);
|
|
1088
1084
|
});
|
|
1089
1085
|
}
|
|
1090
|
-
function
|
|
1086
|
+
function Ai(e, t) {
|
|
1091
1087
|
if (!t.customMerge)
|
|
1092
1088
|
return q;
|
|
1093
1089
|
var r = t.customMerge(e);
|
|
@@ -1098,31 +1094,31 @@ function Pi(e) {
|
|
|
1098
1094
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1099
1095
|
}) : [];
|
|
1100
1096
|
}
|
|
1101
|
-
function
|
|
1097
|
+
function gt(e) {
|
|
1102
1098
|
return Object.keys(e).concat(Pi(e));
|
|
1103
1099
|
}
|
|
1104
|
-
function
|
|
1100
|
+
function Vt(e, t) {
|
|
1105
1101
|
try {
|
|
1106
1102
|
return t in e;
|
|
1107
1103
|
} catch {
|
|
1108
1104
|
return !1;
|
|
1109
1105
|
}
|
|
1110
1106
|
}
|
|
1111
|
-
function
|
|
1112
|
-
return
|
|
1107
|
+
function Hi(e, t) {
|
|
1108
|
+
return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1113
1109
|
}
|
|
1114
|
-
function
|
|
1110
|
+
function Bi(e, t, r) {
|
|
1115
1111
|
var i = {};
|
|
1116
|
-
return r.isMergeableObject(e) &&
|
|
1112
|
+
return r.isMergeableObject(e) && gt(e).forEach(function(n) {
|
|
1117
1113
|
i[n] = le(e[n], r);
|
|
1118
|
-
}),
|
|
1119
|
-
|
|
1114
|
+
}), gt(t).forEach(function(n) {
|
|
1115
|
+
Hi(e, n) || (Vt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Ai(n, r)(e[n], t[n], r) : i[n] = le(t[n], r));
|
|
1120
1116
|
}), i;
|
|
1121
1117
|
}
|
|
1122
1118
|
function q(e, t, r) {
|
|
1123
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1119
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || wi, r.isMergeableObject = r.isMergeableObject || gi, r.cloneUnlessOtherwiseSpecified = le;
|
|
1124
1120
|
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
1125
|
-
return o ? i ? r.arrayMerge(e, t, r) :
|
|
1121
|
+
return o ? i ? r.arrayMerge(e, t, r) : Bi(e, t, r) : le(t, r);
|
|
1126
1122
|
}
|
|
1127
1123
|
q.all = function(t, r) {
|
|
1128
1124
|
if (!Array.isArray(t))
|
|
@@ -1131,42 +1127,39 @@ q.all = function(t, r) {
|
|
|
1131
1127
|
return q(i, n, r);
|
|
1132
1128
|
}, {});
|
|
1133
1129
|
};
|
|
1134
|
-
var
|
|
1135
|
-
const
|
|
1130
|
+
var Oi = q, Ci = Oi;
|
|
1131
|
+
const Ii = /* @__PURE__ */ vi(Ci);
|
|
1136
1132
|
function Re(e, t) {
|
|
1137
|
-
var r = t && t.cache ? t.cache :
|
|
1133
|
+
var r = t && t.cache ? t.cache : Ui, i = t && t.serializer ? t.serializer : zi, n = t && t.strategy ? t.strategy : Ri;
|
|
1138
1134
|
return n(e, {
|
|
1139
1135
|
cache: r,
|
|
1140
1136
|
serializer: i
|
|
1141
1137
|
});
|
|
1142
1138
|
}
|
|
1143
|
-
function
|
|
1139
|
+
function Ni(e) {
|
|
1144
1140
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1145
1141
|
}
|
|
1146
|
-
function
|
|
1147
|
-
var n =
|
|
1142
|
+
function Mi(e, t, r, i) {
|
|
1143
|
+
var n = Ni(i) ? i : r(i), o = t.get(n);
|
|
1148
1144
|
return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
|
|
1149
1145
|
}
|
|
1150
|
-
function
|
|
1146
|
+
function Wt(e, t, r) {
|
|
1151
1147
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
|
|
1152
1148
|
return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
|
|
1153
1149
|
}
|
|
1154
|
-
function
|
|
1150
|
+
function Xt(e, t, r, i, n) {
|
|
1155
1151
|
return r.bind(t, e, i, n);
|
|
1156
1152
|
}
|
|
1157
1153
|
function Ri(e, t) {
|
|
1158
|
-
var r = e.length === 1 ?
|
|
1159
|
-
return
|
|
1154
|
+
var r = e.length === 1 ? Mi : Wt;
|
|
1155
|
+
return Xt(e, this, r, t.cache.create(), t.serializer);
|
|
1160
1156
|
}
|
|
1161
1157
|
function Di(e, t) {
|
|
1162
|
-
return
|
|
1163
|
-
}
|
|
1164
|
-
function zi(e, t) {
|
|
1165
|
-
return ot(e, this, Xt, t.cache.create(), t.serializer);
|
|
1158
|
+
return Xt(e, this, Wt, t.cache.create(), t.serializer);
|
|
1166
1159
|
}
|
|
1167
|
-
var
|
|
1160
|
+
var zi = function() {
|
|
1168
1161
|
return JSON.stringify(arguments);
|
|
1169
|
-
},
|
|
1162
|
+
}, $i = (
|
|
1170
1163
|
/** @class */
|
|
1171
1164
|
function() {
|
|
1172
1165
|
function e() {
|
|
@@ -1178,13 +1171,12 @@ var $i = function() {
|
|
|
1178
1171
|
this.cache[t] = r;
|
|
1179
1172
|
}, e;
|
|
1180
1173
|
}()
|
|
1181
|
-
),
|
|
1174
|
+
), Ui = {
|
|
1182
1175
|
create: function() {
|
|
1183
|
-
return new
|
|
1176
|
+
return new $i();
|
|
1184
1177
|
}
|
|
1185
1178
|
}, De = {
|
|
1186
|
-
variadic: Di
|
|
1187
|
-
monadic: zi
|
|
1179
|
+
variadic: Di
|
|
1188
1180
|
}, b;
|
|
1189
1181
|
(function(e) {
|
|
1190
1182
|
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";
|
|
@@ -1197,43 +1189,43 @@ var K;
|
|
|
1197
1189
|
(function(e) {
|
|
1198
1190
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1199
1191
|
})(K || (K = {}));
|
|
1200
|
-
function
|
|
1192
|
+
function _t(e) {
|
|
1201
1193
|
return e.type === S.literal;
|
|
1202
1194
|
}
|
|
1203
|
-
function
|
|
1195
|
+
function Gi(e) {
|
|
1204
1196
|
return e.type === S.argument;
|
|
1205
1197
|
}
|
|
1206
|
-
function
|
|
1198
|
+
function Zt(e) {
|
|
1207
1199
|
return e.type === S.number;
|
|
1208
1200
|
}
|
|
1209
|
-
function
|
|
1201
|
+
function Qt(e) {
|
|
1210
1202
|
return e.type === S.date;
|
|
1211
1203
|
}
|
|
1212
|
-
function
|
|
1204
|
+
function Yt(e) {
|
|
1213
1205
|
return e.type === S.time;
|
|
1214
1206
|
}
|
|
1215
|
-
function
|
|
1207
|
+
function Jt(e) {
|
|
1216
1208
|
return e.type === S.select;
|
|
1217
1209
|
}
|
|
1218
|
-
function
|
|
1210
|
+
function qt(e) {
|
|
1219
1211
|
return e.type === S.plural;
|
|
1220
1212
|
}
|
|
1221
|
-
function
|
|
1213
|
+
function Fi(e) {
|
|
1222
1214
|
return e.type === S.pound;
|
|
1223
1215
|
}
|
|
1224
|
-
function
|
|
1216
|
+
function Kt(e) {
|
|
1225
1217
|
return e.type === S.tag;
|
|
1226
1218
|
}
|
|
1227
|
-
function
|
|
1219
|
+
function er(e) {
|
|
1228
1220
|
return !!(e && typeof e == "object" && e.type === K.number);
|
|
1229
1221
|
}
|
|
1230
1222
|
function Ye(e) {
|
|
1231
1223
|
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
|
1232
1224
|
}
|
|
1233
|
-
var
|
|
1234
|
-
function
|
|
1225
|
+
var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ji = /(?:[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;
|
|
1226
|
+
function ki(e) {
|
|
1235
1227
|
var t = {};
|
|
1236
|
-
return e.replace(
|
|
1228
|
+
return e.replace(ji, function(r) {
|
|
1237
1229
|
var i = r.length;
|
|
1238
1230
|
switch (r[0]) {
|
|
1239
1231
|
case "G":
|
|
@@ -1322,11 +1314,11 @@ function Vi(e) {
|
|
|
1322
1314
|
return "";
|
|
1323
1315
|
}), t;
|
|
1324
1316
|
}
|
|
1325
|
-
var
|
|
1326
|
-
function
|
|
1317
|
+
var Vi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1318
|
+
function Wi(e) {
|
|
1327
1319
|
if (e.length === 0)
|
|
1328
1320
|
throw new Error("Number skeleton cannot be empty");
|
|
1329
|
-
for (var t = e.split(
|
|
1321
|
+
for (var t = e.split(Vi).filter(function(f) {
|
|
1330
1322
|
return f.length > 0;
|
|
1331
1323
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
1332
1324
|
var o = n[i], a = o.split("/");
|
|
@@ -1341,17 +1333,17 @@ function Xi(e) {
|
|
|
1341
1333
|
}
|
|
1342
1334
|
return r;
|
|
1343
1335
|
}
|
|
1344
|
-
function
|
|
1336
|
+
function Xi(e) {
|
|
1345
1337
|
return e.replace(/^(.*?)-/, "");
|
|
1346
1338
|
}
|
|
1347
|
-
var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
1348
|
-
function
|
|
1339
|
+
var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, Zi = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
|
|
1340
|
+
function xt(e) {
|
|
1349
1341
|
var t = {};
|
|
1350
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1342
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, i, n) {
|
|
1351
1343
|
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)), "";
|
|
1352
1344
|
}), t;
|
|
1353
1345
|
}
|
|
1354
|
-
function
|
|
1346
|
+
function nr(e) {
|
|
1355
1347
|
switch (e) {
|
|
1356
1348
|
case "sign-auto":
|
|
1357
1349
|
return {
|
|
@@ -1391,7 +1383,7 @@ function or(e) {
|
|
|
1391
1383
|
};
|
|
1392
1384
|
}
|
|
1393
1385
|
}
|
|
1394
|
-
function
|
|
1386
|
+
function Qi(e) {
|
|
1395
1387
|
var t;
|
|
1396
1388
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1397
1389
|
notation: "engineering"
|
|
@@ -1399,17 +1391,17 @@ function Yi(e) {
|
|
|
1399
1391
|
notation: "scientific"
|
|
1400
1392
|
}, e = e.slice(1)), t) {
|
|
1401
1393
|
var r = e.slice(0, 2);
|
|
1402
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1394
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
|
|
1403
1395
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1404
1396
|
t.minimumIntegerDigits = e.length;
|
|
1405
1397
|
}
|
|
1406
1398
|
return t;
|
|
1407
1399
|
}
|
|
1408
|
-
function
|
|
1409
|
-
var t = {}, r =
|
|
1400
|
+
function Tt(e) {
|
|
1401
|
+
var t = {}, r = nr(e);
|
|
1410
1402
|
return r || t;
|
|
1411
1403
|
}
|
|
1412
|
-
function
|
|
1404
|
+
function Yi(e) {
|
|
1413
1405
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
1414
1406
|
var n = i[r];
|
|
1415
1407
|
switch (n.stem) {
|
|
@@ -1433,7 +1425,7 @@ function Ji(e) {
|
|
|
1433
1425
|
continue;
|
|
1434
1426
|
case "measure-unit":
|
|
1435
1427
|
case "unit":
|
|
1436
|
-
t.style = "unit", t.unit =
|
|
1428
|
+
t.style = "unit", t.unit = Xi(n.options[0]);
|
|
1437
1429
|
continue;
|
|
1438
1430
|
case "compact-short":
|
|
1439
1431
|
case "K":
|
|
@@ -1444,13 +1436,13 @@ function Ji(e) {
|
|
|
1444
1436
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1445
1437
|
continue;
|
|
1446
1438
|
case "scientific":
|
|
1447
|
-
t =
|
|
1448
|
-
return
|
|
1439
|
+
t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
|
|
1440
|
+
return E(E({}, h), Tt(u));
|
|
1449
1441
|
}, {}));
|
|
1450
1442
|
continue;
|
|
1451
1443
|
case "engineering":
|
|
1452
|
-
t =
|
|
1453
|
-
return
|
|
1444
|
+
t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
|
|
1445
|
+
return E(E({}, h), Tt(u));
|
|
1454
1446
|
}, {}));
|
|
1455
1447
|
continue;
|
|
1456
1448
|
case "notation-simple":
|
|
@@ -1495,7 +1487,7 @@ function Ji(e) {
|
|
|
1495
1487
|
case "integer-width":
|
|
1496
1488
|
if (n.options.length > 1)
|
|
1497
1489
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1498
|
-
n.options[0].replace(
|
|
1490
|
+
n.options[0].replace(Zi, function(h, u, l, c, f, p) {
|
|
1499
1491
|
if (u)
|
|
1500
1492
|
t.minimumIntegerDigits = l.length;
|
|
1501
1493
|
else {
|
|
@@ -1508,7 +1500,7 @@ function Ji(e) {
|
|
|
1508
1500
|
});
|
|
1509
1501
|
continue;
|
|
1510
1502
|
}
|
|
1511
|
-
if (
|
|
1503
|
+
if (ir.test(n.stem)) {
|
|
1512
1504
|
t.minimumIntegerDigits = n.stem.length;
|
|
1513
1505
|
continue;
|
|
1514
1506
|
}
|
|
@@ -1519,17 +1511,17 @@ function Ji(e) {
|
|
|
1519
1511
|
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), "";
|
|
1520
1512
|
});
|
|
1521
1513
|
var o = n.options[0];
|
|
1522
|
-
o === "w" ? t =
|
|
1514
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), xt(o)));
|
|
1523
1515
|
continue;
|
|
1524
1516
|
}
|
|
1525
|
-
if (
|
|
1526
|
-
t =
|
|
1517
|
+
if (rr.test(n.stem)) {
|
|
1518
|
+
t = E(E({}, t), xt(n.stem));
|
|
1527
1519
|
continue;
|
|
1528
1520
|
}
|
|
1529
|
-
var a =
|
|
1530
|
-
a && (t =
|
|
1531
|
-
var s =
|
|
1532
|
-
s && (t =
|
|
1521
|
+
var a = nr(n.stem);
|
|
1522
|
+
a && (t = E(E({}, t), a));
|
|
1523
|
+
var s = Qi(n.stem);
|
|
1524
|
+
s && (t = E(E({}, t), s));
|
|
1533
1525
|
}
|
|
1534
1526
|
return t;
|
|
1535
1527
|
}
|
|
@@ -2948,13 +2940,13 @@ var be = {
|
|
|
2948
2940
|
"h"
|
|
2949
2941
|
]
|
|
2950
2942
|
};
|
|
2951
|
-
function
|
|
2943
|
+
function Ji(e, t) {
|
|
2952
2944
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
2953
2945
|
var n = e.charAt(i);
|
|
2954
2946
|
if (n === "j") {
|
|
2955
2947
|
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2956
2948
|
o++, i++;
|
|
2957
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2949
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = qi(t);
|
|
2958
2950
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2959
2951
|
r += h;
|
|
2960
2952
|
for (; a-- > 0; )
|
|
@@ -2963,7 +2955,7 @@ function qi(e, t) {
|
|
|
2963
2955
|
}
|
|
2964
2956
|
return r;
|
|
2965
2957
|
}
|
|
2966
|
-
function
|
|
2958
|
+
function qi(e) {
|
|
2967
2959
|
var t = e.hourCycle;
|
|
2968
2960
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2969
2961
|
e.hourCycles && // @ts-ignore
|
|
@@ -2985,20 +2977,20 @@ function Ki(e) {
|
|
|
2985
2977
|
var n = be[i || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
|
|
2986
2978
|
return n[0];
|
|
2987
2979
|
}
|
|
2988
|
-
var ze,
|
|
2989
|
-
function
|
|
2980
|
+
var ze, Ki = new RegExp("^".concat(tr.source, "*")), en = new RegExp("".concat(tr.source, "*$"));
|
|
2981
|
+
function g(e, t) {
|
|
2990
2982
|
return { start: e, end: t };
|
|
2991
2983
|
}
|
|
2992
|
-
var
|
|
2984
|
+
var tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), rn = !!String.fromCodePoint, nn = !!Object.fromEntries, on = !!String.prototype.codePointAt, sn = !!String.prototype.trimStart, an = !!String.prototype.trimEnd, un = !!Number.isSafeInteger, ln = un ? Number.isSafeInteger : function(e) {
|
|
2993
2985
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2994
2986
|
}, Je = !0;
|
|
2995
2987
|
try {
|
|
2996
|
-
var
|
|
2997
|
-
Je = ((ze =
|
|
2988
|
+
var hn = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2989
|
+
Je = ((ze = hn.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
|
|
2998
2990
|
} catch {
|
|
2999
2991
|
Je = !1;
|
|
3000
2992
|
}
|
|
3001
|
-
var
|
|
2993
|
+
var Lt = tn ? (
|
|
3002
2994
|
// Native
|
|
3003
2995
|
function(t, r, i) {
|
|
3004
2996
|
return t.startsWith(r, i);
|
|
@@ -3008,7 +3000,7 @@ var St = rn ? (
|
|
|
3008
3000
|
function(t, r, i) {
|
|
3009
3001
|
return t.slice(i, i + r.length) === r;
|
|
3010
3002
|
}
|
|
3011
|
-
), qe =
|
|
3003
|
+
), qe = rn ? String.fromCodePoint : (
|
|
3012
3004
|
// IE11
|
|
3013
3005
|
function() {
|
|
3014
3006
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3020,9 +3012,9 @@ var St = rn ? (
|
|
|
3020
3012
|
}
|
|
3021
3013
|
return i;
|
|
3022
3014
|
}
|
|
3023
|
-
),
|
|
3015
|
+
), St = (
|
|
3024
3016
|
// native
|
|
3025
|
-
|
|
3017
|
+
nn ? Object.fromEntries : (
|
|
3026
3018
|
// Ponyfill
|
|
3027
3019
|
function(t) {
|
|
3028
3020
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
@@ -3032,7 +3024,7 @@ var St = rn ? (
|
|
|
3032
3024
|
return r;
|
|
3033
3025
|
}
|
|
3034
3026
|
)
|
|
3035
|
-
),
|
|
3027
|
+
), or = on ? (
|
|
3036
3028
|
// Native
|
|
3037
3029
|
function(t, r) {
|
|
3038
3030
|
return t.codePointAt(r);
|
|
@@ -3046,7 +3038,7 @@ var St = rn ? (
|
|
|
3046
3038
|
return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
3047
3039
|
}
|
|
3048
3040
|
}
|
|
3049
|
-
),
|
|
3041
|
+
), cn = sn ? (
|
|
3050
3042
|
// Native
|
|
3051
3043
|
function(t) {
|
|
3052
3044
|
return t.trimStart();
|
|
@@ -3054,9 +3046,9 @@ var St = rn ? (
|
|
|
3054
3046
|
) : (
|
|
3055
3047
|
// Ponyfill
|
|
3056
3048
|
function(t) {
|
|
3057
|
-
return t.replace(
|
|
3049
|
+
return t.replace(Ki, "");
|
|
3058
3050
|
}
|
|
3059
|
-
),
|
|
3051
|
+
), fn = an ? (
|
|
3060
3052
|
// Native
|
|
3061
3053
|
function(t) {
|
|
3062
3054
|
return t.trimEnd();
|
|
@@ -3064,32 +3056,32 @@ var St = rn ? (
|
|
|
3064
3056
|
) : (
|
|
3065
3057
|
// Ponyfill
|
|
3066
3058
|
function(t) {
|
|
3067
|
-
return t.replace(
|
|
3059
|
+
return t.replace(en, "");
|
|
3068
3060
|
}
|
|
3069
3061
|
);
|
|
3070
|
-
function
|
|
3062
|
+
function sr(e, t) {
|
|
3071
3063
|
return new RegExp(e, t);
|
|
3072
3064
|
}
|
|
3073
3065
|
var Ke;
|
|
3074
3066
|
if (Je) {
|
|
3075
|
-
var
|
|
3067
|
+
var wt = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3076
3068
|
Ke = function(t, r) {
|
|
3077
3069
|
var i;
|
|
3078
|
-
|
|
3079
|
-
var n =
|
|
3070
|
+
wt.lastIndex = r;
|
|
3071
|
+
var n = wt.exec(t);
|
|
3080
3072
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
3081
3073
|
};
|
|
3082
3074
|
} else
|
|
3083
3075
|
Ke = function(t, r) {
|
|
3084
3076
|
for (var i = []; ; ) {
|
|
3085
|
-
var n =
|
|
3086
|
-
if (n === void 0 ||
|
|
3077
|
+
var n = or(t, r);
|
|
3078
|
+
if (n === void 0 || ar(n) || yn(n))
|
|
3087
3079
|
break;
|
|
3088
3080
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
3089
3081
|
}
|
|
3090
3082
|
return qe.apply(void 0, i);
|
|
3091
3083
|
};
|
|
3092
|
-
var
|
|
3084
|
+
var mn = (
|
|
3093
3085
|
/** @class */
|
|
3094
3086
|
function() {
|
|
3095
3087
|
function e(t, r) {
|
|
@@ -3114,12 +3106,12 @@ var pn = (
|
|
|
3114
3106
|
var s = this.clonePosition();
|
|
3115
3107
|
this.bump(), n.push({
|
|
3116
3108
|
type: S.pound,
|
|
3117
|
-
location:
|
|
3109
|
+
location: g(s, this.clonePosition())
|
|
3118
3110
|
});
|
|
3119
3111
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3120
3112
|
if (i)
|
|
3121
3113
|
break;
|
|
3122
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3114
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3123
3115
|
} else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
|
|
3124
3116
|
var a = this.parseTag(t, r);
|
|
3125
3117
|
if (a.err)
|
|
@@ -3143,7 +3135,7 @@ var pn = (
|
|
|
3143
3135
|
val: {
|
|
3144
3136
|
type: S.literal,
|
|
3145
3137
|
value: "<".concat(n, "/>"),
|
|
3146
|
-
location:
|
|
3138
|
+
location: g(i, this.clonePosition())
|
|
3147
3139
|
},
|
|
3148
3140
|
err: null
|
|
3149
3141
|
};
|
|
@@ -3154,24 +3146,24 @@ var pn = (
|
|
|
3154
3146
|
var a = o.val, s = this.clonePosition();
|
|
3155
3147
|
if (this.bumpIf("</")) {
|
|
3156
3148
|
if (this.isEOF() || !et(this.char()))
|
|
3157
|
-
return this.error(b.INVALID_TAG,
|
|
3149
|
+
return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
|
|
3158
3150
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3159
|
-
return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3151
|
+
return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3160
3152
|
val: {
|
|
3161
3153
|
type: S.tag,
|
|
3162
3154
|
value: n,
|
|
3163
3155
|
children: a,
|
|
3164
|
-
location:
|
|
3156
|
+
location: g(i, this.clonePosition())
|
|
3165
3157
|
},
|
|
3166
3158
|
err: null
|
|
3167
|
-
} : this.error(b.INVALID_TAG,
|
|
3159
|
+
} : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
|
|
3168
3160
|
} else
|
|
3169
|
-
return this.error(b.UNCLOSED_TAG,
|
|
3161
|
+
return this.error(b.UNCLOSED_TAG, g(i, this.clonePosition()));
|
|
3170
3162
|
} else
|
|
3171
|
-
return this.error(b.INVALID_TAG,
|
|
3163
|
+
return this.error(b.INVALID_TAG, g(i, this.clonePosition()));
|
|
3172
3164
|
}, e.prototype.parseTagName = function() {
|
|
3173
3165
|
var t = this.offset();
|
|
3174
|
-
for (this.bump(); !this.isEOF() &&
|
|
3166
|
+
for (this.bump(); !this.isEOF() && dn(this.char()); )
|
|
3175
3167
|
this.bump();
|
|
3176
3168
|
return this.message.slice(t, this.offset());
|
|
3177
3169
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3193,14 +3185,14 @@ var pn = (
|
|
|
3193
3185
|
}
|
|
3194
3186
|
break;
|
|
3195
3187
|
}
|
|
3196
|
-
var h =
|
|
3188
|
+
var h = g(i, this.clonePosition());
|
|
3197
3189
|
return {
|
|
3198
3190
|
val: { type: S.literal, value: n, location: h },
|
|
3199
3191
|
err: null
|
|
3200
3192
|
};
|
|
3201
3193
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3202
3194
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3203
|
-
!
|
|
3195
|
+
!pn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3204
3196
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3205
3197
|
if (this.isEOF() || this.char() !== 39)
|
|
3206
3198
|
return null;
|
|
@@ -3243,14 +3235,14 @@ var pn = (
|
|
|
3243
3235
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3244
3236
|
var i = this.clonePosition();
|
|
3245
3237
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3246
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3238
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(i, this.clonePosition()));
|
|
3247
3239
|
if (this.char() === 125)
|
|
3248
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
3240
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, g(i, this.clonePosition()));
|
|
3249
3241
|
var n = this.parseIdentifierIfPossible().value;
|
|
3250
3242
|
if (!n)
|
|
3251
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3243
|
+
return this.error(b.MALFORMED_ARGUMENT, g(i, this.clonePosition()));
|
|
3252
3244
|
if (this.bumpSpace(), this.isEOF())
|
|
3253
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3245
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(i, this.clonePosition()));
|
|
3254
3246
|
switch (this.char()) {
|
|
3255
3247
|
case 125:
|
|
3256
3248
|
return this.bump(), {
|
|
@@ -3258,25 +3250,25 @@ var pn = (
|
|
|
3258
3250
|
type: S.argument,
|
|
3259
3251
|
// value does not include the opening and closing braces.
|
|
3260
3252
|
value: n,
|
|
3261
|
-
location:
|
|
3253
|
+
location: g(i, this.clonePosition())
|
|
3262
3254
|
},
|
|
3263
3255
|
err: null
|
|
3264
3256
|
};
|
|
3265
3257
|
case 44:
|
|
3266
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3258
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
|
|
3267
3259
|
default:
|
|
3268
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3260
|
+
return this.error(b.MALFORMED_ARGUMENT, g(i, this.clonePosition()));
|
|
3269
3261
|
}
|
|
3270
3262
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3271
3263
|
var t = this.clonePosition(), r = this.offset(), i = Ke(this.message, r), n = r + i.length;
|
|
3272
3264
|
this.bumpTo(n);
|
|
3273
|
-
var o = this.clonePosition(), a =
|
|
3265
|
+
var o = this.clonePosition(), a = g(t, o);
|
|
3274
3266
|
return { value: i, location: a };
|
|
3275
3267
|
}, e.prototype.parseArgumentOptions = function(t, r, i, n) {
|
|
3276
3268
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3277
3269
|
switch (s) {
|
|
3278
3270
|
case "":
|
|
3279
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
3271
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, h));
|
|
3280
3272
|
case "number":
|
|
3281
3273
|
case "date":
|
|
3282
3274
|
case "time": {
|
|
@@ -3287,34 +3279,34 @@ var pn = (
|
|
|
3287
3279
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3288
3280
|
if (c.err)
|
|
3289
3281
|
return c;
|
|
3290
|
-
var f =
|
|
3282
|
+
var f = fn(c.val);
|
|
3291
3283
|
if (f.length === 0)
|
|
3292
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
3293
|
-
var p =
|
|
3284
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3285
|
+
var p = g(l, this.clonePosition());
|
|
3294
3286
|
u = { style: f, styleLocation: p };
|
|
3295
3287
|
}
|
|
3296
3288
|
var y = this.tryParseArgumentClose(n);
|
|
3297
3289
|
if (y.err)
|
|
3298
3290
|
return y;
|
|
3299
|
-
var d =
|
|
3300
|
-
if (u &&
|
|
3301
|
-
var
|
|
3291
|
+
var d = g(n, this.clonePosition());
|
|
3292
|
+
if (u && Lt(u?.style, "::", 0)) {
|
|
3293
|
+
var v = cn(u.style.slice(2));
|
|
3302
3294
|
if (s === "number") {
|
|
3303
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3295
|
+
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3304
3296
|
return c.err ? c : {
|
|
3305
3297
|
val: { type: S.number, value: i, location: d, style: c.val },
|
|
3306
3298
|
err: null
|
|
3307
3299
|
};
|
|
3308
3300
|
} else {
|
|
3309
|
-
if (
|
|
3301
|
+
if (v.length === 0)
|
|
3310
3302
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3311
|
-
var w =
|
|
3312
|
-
this.locale && (w =
|
|
3303
|
+
var w = v;
|
|
3304
|
+
this.locale && (w = Ji(v, this.locale));
|
|
3313
3305
|
var f = {
|
|
3314
3306
|
type: K.dateTime,
|
|
3315
3307
|
pattern: w,
|
|
3316
3308
|
location: u.styleLocation,
|
|
3317
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3309
|
+
parsedOptions: this.shouldParseSkeletons ? ki(w) : {}
|
|
3318
3310
|
}, _ = s === "date" ? S.date : S.time;
|
|
3319
3311
|
return {
|
|
3320
3312
|
val: { type: _, value: i, location: d, style: f },
|
|
@@ -3335,14 +3327,14 @@ var pn = (
|
|
|
3335
3327
|
case "plural":
|
|
3336
3328
|
case "selectordinal":
|
|
3337
3329
|
case "select": {
|
|
3338
|
-
var
|
|
3330
|
+
var H = this.clonePosition();
|
|
3339
3331
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3340
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3332
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(H, E({}, H)));
|
|
3341
3333
|
this.bumpSpace();
|
|
3342
3334
|
var R = this.parseIdentifierIfPossible(), N = 0;
|
|
3343
3335
|
if (s !== "select" && R.value === "offset") {
|
|
3344
3336
|
if (!this.bumpIf(":"))
|
|
3345
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3337
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3346
3338
|
this.bumpSpace();
|
|
3347
3339
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3348
3340
|
if (c.err)
|
|
@@ -3355,12 +3347,12 @@ var pn = (
|
|
|
3355
3347
|
var y = this.tryParseArgumentClose(n);
|
|
3356
3348
|
if (y.err)
|
|
3357
3349
|
return y;
|
|
3358
|
-
var k =
|
|
3350
|
+
var k = g(n, this.clonePosition());
|
|
3359
3351
|
return s === "select" ? {
|
|
3360
3352
|
val: {
|
|
3361
3353
|
type: S.select,
|
|
3362
3354
|
value: i,
|
|
3363
|
-
options:
|
|
3355
|
+
options: St(D.val),
|
|
3364
3356
|
location: k
|
|
3365
3357
|
},
|
|
3366
3358
|
err: null
|
|
@@ -3368,7 +3360,7 @@ var pn = (
|
|
|
3368
3360
|
val: {
|
|
3369
3361
|
type: S.plural,
|
|
3370
3362
|
value: i,
|
|
3371
|
-
options:
|
|
3363
|
+
options: St(D.val),
|
|
3372
3364
|
offset: N,
|
|
3373
3365
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3374
3366
|
location: k
|
|
@@ -3377,10 +3369,10 @@ var pn = (
|
|
|
3377
3369
|
};
|
|
3378
3370
|
}
|
|
3379
3371
|
default:
|
|
3380
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
3372
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, g(a, h));
|
|
3381
3373
|
}
|
|
3382
3374
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3383
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3375
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3384
3376
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3385
3377
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3386
3378
|
var i = this.char();
|
|
@@ -3389,7 +3381,7 @@ var pn = (
|
|
|
3389
3381
|
this.bump();
|
|
3390
3382
|
var n = this.clonePosition();
|
|
3391
3383
|
if (!this.bumpUntil("'"))
|
|
3392
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3384
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(n, this.clonePosition()));
|
|
3393
3385
|
this.bump();
|
|
3394
3386
|
break;
|
|
3395
3387
|
}
|
|
@@ -3419,7 +3411,7 @@ var pn = (
|
|
|
3419
3411
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3420
3412
|
var i = [];
|
|
3421
3413
|
try {
|
|
3422
|
-
i =
|
|
3414
|
+
i = Wi(t);
|
|
3423
3415
|
} catch {
|
|
3424
3416
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3425
3417
|
}
|
|
@@ -3428,7 +3420,7 @@ var pn = (
|
|
|
3428
3420
|
type: K.number,
|
|
3429
3421
|
tokens: i,
|
|
3430
3422
|
location: r,
|
|
3431
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3423
|
+
parsedOptions: this.shouldParseSkeletons ? Yi(i) : {}
|
|
3432
3424
|
},
|
|
3433
3425
|
err: null
|
|
3434
3426
|
};
|
|
@@ -3440,7 +3432,7 @@ var pn = (
|
|
|
3440
3432
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3441
3433
|
if (f.err)
|
|
3442
3434
|
return f;
|
|
3443
|
-
l =
|
|
3435
|
+
l = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3444
3436
|
} else
|
|
3445
3437
|
break;
|
|
3446
3438
|
}
|
|
@@ -3449,7 +3441,7 @@ var pn = (
|
|
|
3449
3441
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3450
3442
|
var p = this.clonePosition();
|
|
3451
3443
|
if (!this.bumpIf("{"))
|
|
3452
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3444
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3453
3445
|
var y = this.parseMessage(t + 1, r, i);
|
|
3454
3446
|
if (y.err)
|
|
3455
3447
|
return y;
|
|
@@ -3460,11 +3452,11 @@ var pn = (
|
|
|
3460
3452
|
u,
|
|
3461
3453
|
{
|
|
3462
3454
|
value: y.val,
|
|
3463
|
-
location:
|
|
3455
|
+
location: g(p, this.clonePosition())
|
|
3464
3456
|
}
|
|
3465
3457
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3466
3458
|
}
|
|
3467
|
-
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3459
|
+
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3468
3460
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3469
3461
|
var i = 1, n = this.clonePosition();
|
|
3470
3462
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
@@ -3475,8 +3467,8 @@ var pn = (
|
|
|
3475
3467
|
else
|
|
3476
3468
|
break;
|
|
3477
3469
|
}
|
|
3478
|
-
var h =
|
|
3479
|
-
return o ? (a *= i,
|
|
3470
|
+
var h = g(n, this.clonePosition());
|
|
3471
|
+
return o ? (a *= i, ln(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3480
3472
|
}, e.prototype.offset = function() {
|
|
3481
3473
|
return this.position.offset;
|
|
3482
3474
|
}, e.prototype.isEOF = function() {
|
|
@@ -3491,7 +3483,7 @@ var pn = (
|
|
|
3491
3483
|
var t = this.position.offset;
|
|
3492
3484
|
if (t >= this.message.length)
|
|
3493
3485
|
throw Error("out of bound");
|
|
3494
|
-
var r =
|
|
3486
|
+
var r = or(this.message, t);
|
|
3495
3487
|
if (r === void 0)
|
|
3496
3488
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3497
3489
|
return r;
|
|
@@ -3510,7 +3502,7 @@ var pn = (
|
|
|
3510
3502
|
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);
|
|
3511
3503
|
}
|
|
3512
3504
|
}, e.prototype.bumpIf = function(t) {
|
|
3513
|
-
if (
|
|
3505
|
+
if (Lt(this.message, t, this.offset())) {
|
|
3514
3506
|
for (var r = 0; r < t.length; r++)
|
|
3515
3507
|
this.bump();
|
|
3516
3508
|
return !0;
|
|
@@ -3532,7 +3524,7 @@ var pn = (
|
|
|
3532
3524
|
break;
|
|
3533
3525
|
}
|
|
3534
3526
|
}, e.prototype.bumpSpace = function() {
|
|
3535
|
-
for (; !this.isEOF() &&
|
|
3527
|
+
for (; !this.isEOF() && ar(this.char()); )
|
|
3536
3528
|
this.bump();
|
|
3537
3529
|
}, e.prototype.peek = function() {
|
|
3538
3530
|
if (this.isEOF())
|
|
@@ -3545,29 +3537,29 @@ var pn = (
|
|
|
3545
3537
|
function et(e) {
|
|
3546
3538
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3547
3539
|
}
|
|
3548
|
-
function
|
|
3540
|
+
function pn(e) {
|
|
3549
3541
|
return et(e) || e === 47;
|
|
3550
3542
|
}
|
|
3551
|
-
function
|
|
3543
|
+
function dn(e) {
|
|
3552
3544
|
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;
|
|
3553
3545
|
}
|
|
3554
|
-
function
|
|
3546
|
+
function ar(e) {
|
|
3555
3547
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3556
3548
|
}
|
|
3557
|
-
function
|
|
3549
|
+
function yn(e) {
|
|
3558
3550
|
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;
|
|
3559
3551
|
}
|
|
3560
3552
|
function tt(e) {
|
|
3561
3553
|
e.forEach(function(t) {
|
|
3562
|
-
if (delete t.location,
|
|
3554
|
+
if (delete t.location, Jt(t) || qt(t))
|
|
3563
3555
|
for (var r in t.options)
|
|
3564
3556
|
delete t.options[r].location, tt(t.options[r].value);
|
|
3565
|
-
else
|
|
3557
|
+
else Zt(t) && er(t.style) || (Qt(t) || Yt(t)) && Ye(t.style) ? delete t.style.location : Kt(t) && tt(t.children);
|
|
3566
3558
|
});
|
|
3567
3559
|
}
|
|
3568
|
-
function
|
|
3569
|
-
t === void 0 && (t = {}), t =
|
|
3570
|
-
var r = new
|
|
3560
|
+
function bn(e, t) {
|
|
3561
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3562
|
+
var r = new mn(e, t).parse();
|
|
3571
3563
|
if (r.err) {
|
|
3572
3564
|
var i = SyntaxError(b[r.err.kind]);
|
|
3573
3565
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
@@ -3590,7 +3582,7 @@ var Ae = (
|
|
|
3590
3582
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3591
3583
|
}, t;
|
|
3592
3584
|
}(Error)
|
|
3593
|
-
),
|
|
3585
|
+
), At = (
|
|
3594
3586
|
/** @class */
|
|
3595
3587
|
function(e) {
|
|
3596
3588
|
U(t, e);
|
|
@@ -3608,7 +3600,7 @@ var Ae = (
|
|
|
3608
3600
|
}
|
|
3609
3601
|
return t;
|
|
3610
3602
|
}(Ae)
|
|
3611
|
-
),
|
|
3603
|
+
), gn = (
|
|
3612
3604
|
/** @class */
|
|
3613
3605
|
function(e) {
|
|
3614
3606
|
U(t, e);
|
|
@@ -3621,7 +3613,7 @@ var Ae = (
|
|
|
3621
3613
|
(function(e) {
|
|
3622
3614
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3623
3615
|
})(O || (O = {}));
|
|
3624
|
-
function
|
|
3616
|
+
function _n(e) {
|
|
3625
3617
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3626
3618
|
var i = t[t.length - 1];
|
|
3627
3619
|
return !i || i.type !== O.literal || r.type !== O.literal ? t.push(r) : i.value += r.value, t;
|
|
@@ -3631,7 +3623,7 @@ function En(e) {
|
|
|
3631
3623
|
return typeof e == "function";
|
|
3632
3624
|
}
|
|
3633
3625
|
function _e(e, t, r, i, n, o, a) {
|
|
3634
|
-
if (e.length === 1 &&
|
|
3626
|
+
if (e.length === 1 && _t(e[0]))
|
|
3635
3627
|
return [
|
|
3636
3628
|
{
|
|
3637
3629
|
type: O.literal,
|
|
@@ -3640,14 +3632,14 @@ function _e(e, t, r, i, n, o, a) {
|
|
|
3640
3632
|
];
|
|
3641
3633
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
3642
3634
|
var l = u[h];
|
|
3643
|
-
if (
|
|
3635
|
+
if (_t(l)) {
|
|
3644
3636
|
s.push({
|
|
3645
3637
|
type: O.literal,
|
|
3646
3638
|
value: l.value
|
|
3647
3639
|
});
|
|
3648
3640
|
continue;
|
|
3649
3641
|
}
|
|
3650
|
-
if (
|
|
3642
|
+
if (Fi(l)) {
|
|
3651
3643
|
typeof o == "number" && s.push({
|
|
3652
3644
|
type: O.literal,
|
|
3653
3645
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3656,16 +3648,16 @@ function _e(e, t, r, i, n, o, a) {
|
|
|
3656
3648
|
}
|
|
3657
3649
|
var c = l.value;
|
|
3658
3650
|
if (!(n && c in n))
|
|
3659
|
-
throw new
|
|
3651
|
+
throw new gn(c, a);
|
|
3660
3652
|
var f = n[c];
|
|
3661
|
-
if (
|
|
3653
|
+
if (Gi(l)) {
|
|
3662
3654
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3663
3655
|
type: typeof f == "string" ? O.literal : O.object,
|
|
3664
3656
|
value: f
|
|
3665
3657
|
});
|
|
3666
3658
|
continue;
|
|
3667
3659
|
}
|
|
3668
|
-
if (
|
|
3660
|
+
if (Qt(l)) {
|
|
3669
3661
|
var p = typeof l.style == "string" ? i.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
|
|
3670
3662
|
s.push({
|
|
3671
3663
|
type: O.literal,
|
|
@@ -3673,7 +3665,7 @@ function _e(e, t, r, i, n, o, a) {
|
|
|
3673
3665
|
});
|
|
3674
3666
|
continue;
|
|
3675
3667
|
}
|
|
3676
|
-
if (
|
|
3668
|
+
if (Yt(l)) {
|
|
3677
3669
|
var p = typeof l.style == "string" ? i.time[l.style] : Ye(l.style) ? l.style.parsedOptions : i.time.medium;
|
|
3678
3670
|
s.push({
|
|
3679
3671
|
type: O.literal,
|
|
@@ -3681,19 +3673,19 @@ function _e(e, t, r, i, n, o, a) {
|
|
|
3681
3673
|
});
|
|
3682
3674
|
continue;
|
|
3683
3675
|
}
|
|
3684
|
-
if (
|
|
3685
|
-
var p = typeof l.style == "string" ? i.number[l.style] :
|
|
3676
|
+
if (Zt(l)) {
|
|
3677
|
+
var p = typeof l.style == "string" ? i.number[l.style] : er(l.style) ? l.style.parsedOptions : void 0;
|
|
3686
3678
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3687
3679
|
type: O.literal,
|
|
3688
3680
|
value: r.getNumberFormat(t, p).format(f)
|
|
3689
3681
|
});
|
|
3690
3682
|
continue;
|
|
3691
3683
|
}
|
|
3692
|
-
if (
|
|
3693
|
-
var y = l.children, d = l.value,
|
|
3694
|
-
if (!En(
|
|
3684
|
+
if (Kt(l)) {
|
|
3685
|
+
var y = l.children, d = l.value, v = n[d];
|
|
3686
|
+
if (!En(v))
|
|
3695
3687
|
throw new vn(d, "function", a);
|
|
3696
|
-
var w = _e(y, t, r, i, n, o), _ =
|
|
3688
|
+
var w = _e(y, t, r, i, n, o), _ = v(w.map(function(N) {
|
|
3697
3689
|
return N.value;
|
|
3698
3690
|
}));
|
|
3699
3691
|
Array.isArray(_) || (_ = [_]), s.push.apply(s, _.map(function(N) {
|
|
@@ -3703,40 +3695,40 @@ function _e(e, t, r, i, n, o, a) {
|
|
|
3703
3695
|
};
|
|
3704
3696
|
}));
|
|
3705
3697
|
}
|
|
3706
|
-
if (
|
|
3707
|
-
var
|
|
3708
|
-
if (!
|
|
3709
|
-
throw new
|
|
3710
|
-
s.push.apply(s, _e(
|
|
3698
|
+
if (Jt(l)) {
|
|
3699
|
+
var H = l.options[f] || l.options.other;
|
|
3700
|
+
if (!H)
|
|
3701
|
+
throw new At(l.value, f, Object.keys(l.options), a);
|
|
3702
|
+
s.push.apply(s, _e(H.value, t, r, i, n));
|
|
3711
3703
|
continue;
|
|
3712
3704
|
}
|
|
3713
|
-
if (
|
|
3714
|
-
var
|
|
3715
|
-
if (!
|
|
3705
|
+
if (qt(l)) {
|
|
3706
|
+
var H = l.options["=".concat(f)];
|
|
3707
|
+
if (!H) {
|
|
3716
3708
|
if (!Intl.PluralRules)
|
|
3717
3709
|
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
3718
3710
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3719
3711
|
`, ee.MISSING_INTL_API, a);
|
|
3720
3712
|
var R = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3721
|
-
|
|
3713
|
+
H = l.options[R] || l.options.other;
|
|
3722
3714
|
}
|
|
3723
|
-
if (!
|
|
3724
|
-
throw new
|
|
3725
|
-
s.push.apply(s, _e(
|
|
3715
|
+
if (!H)
|
|
3716
|
+
throw new At(l.value, f, Object.keys(l.options), a);
|
|
3717
|
+
s.push.apply(s, _e(H.value, t, r, i, n, f - (l.offset || 0)));
|
|
3726
3718
|
continue;
|
|
3727
3719
|
}
|
|
3728
3720
|
}
|
|
3729
|
-
return
|
|
3721
|
+
return _n(s);
|
|
3730
3722
|
}
|
|
3731
|
-
function
|
|
3732
|
-
return t ?
|
|
3733
|
-
return r[i] =
|
|
3723
|
+
function xn(e, t) {
|
|
3724
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3725
|
+
return r[i] = E(E({}, e[i]), t[i] || {}), r;
|
|
3734
3726
|
}, {})) : e;
|
|
3735
3727
|
}
|
|
3736
|
-
function
|
|
3728
|
+
function Tn(e, t) {
|
|
3737
3729
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3738
|
-
return r[i] =
|
|
3739
|
-
},
|
|
3730
|
+
return r[i] = xn(e[i], t[i]), r;
|
|
3731
|
+
}, E({}, e)) : e;
|
|
3740
3732
|
}
|
|
3741
3733
|
function $e(e) {
|
|
3742
3734
|
return {
|
|
@@ -3752,7 +3744,7 @@ function $e(e) {
|
|
|
3752
3744
|
}
|
|
3753
3745
|
};
|
|
3754
3746
|
}
|
|
3755
|
-
function
|
|
3747
|
+
function Ln(e) {
|
|
3756
3748
|
return e === void 0 && (e = {
|
|
3757
3749
|
number: {},
|
|
3758
3750
|
dateTime: {},
|
|
@@ -3784,7 +3776,7 @@ function Sn(e) {
|
|
|
3784
3776
|
})
|
|
3785
3777
|
};
|
|
3786
3778
|
}
|
|
3787
|
-
var
|
|
3779
|
+
var Sn = (
|
|
3788
3780
|
/** @class */
|
|
3789
3781
|
function() {
|
|
3790
3782
|
function e(t, r, i, n) {
|
|
@@ -3816,13 +3808,13 @@ var wn = (
|
|
|
3816
3808
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3817
3809
|
var a = n || {};
|
|
3818
3810
|
a.formatters;
|
|
3819
|
-
var s =
|
|
3820
|
-
this.ast = e.__parse(t,
|
|
3811
|
+
var s = ri(a, ["formatters"]);
|
|
3812
|
+
this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
|
|
3821
3813
|
} else
|
|
3822
3814
|
this.ast = t;
|
|
3823
3815
|
if (!Array.isArray(this.ast))
|
|
3824
3816
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3825
|
-
this.formats =
|
|
3817
|
+
this.formats = Tn(e.formats, i), this.formatters = n && n.formatters || Ln(this.formatterCache);
|
|
3826
3818
|
}
|
|
3827
3819
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3828
3820
|
get: function() {
|
|
@@ -3835,7 +3827,7 @@ var wn = (
|
|
|
3835
3827
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3836
3828
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3837
3829
|
}
|
|
3838
|
-
}, e.__parse =
|
|
3830
|
+
}, e.__parse = bn, e.formats = {
|
|
3839
3831
|
number: {
|
|
3840
3832
|
integer: {
|
|
3841
3833
|
maximumFractionDigits: 0
|
|
@@ -3896,7 +3888,7 @@ var wn = (
|
|
|
3896
3888
|
}, e;
|
|
3897
3889
|
}()
|
|
3898
3890
|
);
|
|
3899
|
-
function
|
|
3891
|
+
function wn(e, t) {
|
|
3900
3892
|
if (t == null)
|
|
3901
3893
|
return;
|
|
3902
3894
|
if (t in e)
|
|
@@ -3917,92 +3909,92 @@ function An(e, t) {
|
|
|
3917
3909
|
i = void 0;
|
|
3918
3910
|
return i;
|
|
3919
3911
|
}
|
|
3920
|
-
const G = {},
|
|
3912
|
+
const G = {}, An = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), ur = (e, t) => {
|
|
3921
3913
|
if (t == null)
|
|
3922
3914
|
return;
|
|
3923
3915
|
if (t in G && e in G[t])
|
|
3924
3916
|
return G[t][e];
|
|
3925
|
-
const r =
|
|
3917
|
+
const r = Pe(t);
|
|
3926
3918
|
for (let i = 0; i < r.length; i++) {
|
|
3927
|
-
const n = r[i], o =
|
|
3919
|
+
const n = r[i], o = Hn(n, e);
|
|
3928
3920
|
if (o)
|
|
3929
|
-
return
|
|
3921
|
+
return An(e, t, o);
|
|
3930
3922
|
}
|
|
3931
3923
|
};
|
|
3932
|
-
let
|
|
3924
|
+
let ot;
|
|
3933
3925
|
const fe = we({});
|
|
3934
3926
|
function Pn(e) {
|
|
3935
|
-
return
|
|
3927
|
+
return ot[e] || null;
|
|
3936
3928
|
}
|
|
3937
|
-
function
|
|
3938
|
-
return e in
|
|
3929
|
+
function lr(e) {
|
|
3930
|
+
return e in ot;
|
|
3939
3931
|
}
|
|
3940
|
-
function
|
|
3941
|
-
if (!
|
|
3932
|
+
function Hn(e, t) {
|
|
3933
|
+
if (!lr(e))
|
|
3942
3934
|
return null;
|
|
3943
3935
|
const r = Pn(e);
|
|
3944
|
-
return
|
|
3936
|
+
return wn(r, t);
|
|
3945
3937
|
}
|
|
3946
|
-
function
|
|
3938
|
+
function Bn(e) {
|
|
3947
3939
|
if (e == null)
|
|
3948
3940
|
return;
|
|
3949
|
-
const t =
|
|
3941
|
+
const t = Pe(e);
|
|
3950
3942
|
for (let r = 0; r < t.length; r++) {
|
|
3951
3943
|
const i = t[r];
|
|
3952
|
-
if (
|
|
3944
|
+
if (lr(i))
|
|
3953
3945
|
return i;
|
|
3954
3946
|
}
|
|
3955
3947
|
}
|
|
3956
|
-
function
|
|
3957
|
-
delete G[e], fe.update((r) => (r[e] =
|
|
3948
|
+
function hr(e, ...t) {
|
|
3949
|
+
delete G[e], fe.update((r) => (r[e] = Ii.all([r[e] || {}, ...t]), r));
|
|
3958
3950
|
}
|
|
3959
3951
|
re(
|
|
3960
3952
|
[fe],
|
|
3961
3953
|
([e]) => Object.keys(e)
|
|
3962
3954
|
);
|
|
3963
|
-
fe.subscribe((e) =>
|
|
3964
|
-
const
|
|
3965
|
-
function
|
|
3966
|
-
|
|
3955
|
+
fe.subscribe((e) => ot = e);
|
|
3956
|
+
const Ee = {};
|
|
3957
|
+
function On(e, t) {
|
|
3958
|
+
Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
|
|
3967
3959
|
}
|
|
3968
|
-
function
|
|
3969
|
-
return
|
|
3960
|
+
function cr(e) {
|
|
3961
|
+
return Ee[e];
|
|
3970
3962
|
}
|
|
3971
|
-
function
|
|
3972
|
-
return
|
|
3973
|
-
const r =
|
|
3963
|
+
function Cn(e) {
|
|
3964
|
+
return Pe(e).map((t) => {
|
|
3965
|
+
const r = cr(t);
|
|
3974
3966
|
return [t, r ? [...r] : []];
|
|
3975
3967
|
}).filter(([, t]) => t.length > 0);
|
|
3976
3968
|
}
|
|
3977
3969
|
function rt(e) {
|
|
3978
|
-
return e == null ? !1 :
|
|
3970
|
+
return e == null ? !1 : Pe(e).some(
|
|
3979
3971
|
(t) => {
|
|
3980
3972
|
var r;
|
|
3981
|
-
return (r =
|
|
3973
|
+
return (r = cr(t)) == null ? void 0 : r.size;
|
|
3982
3974
|
}
|
|
3983
3975
|
);
|
|
3984
3976
|
}
|
|
3985
|
-
function
|
|
3977
|
+
function In(e, t) {
|
|
3986
3978
|
return Promise.all(
|
|
3987
|
-
t.map((i) => (
|
|
3988
|
-
).then((i) =>
|
|
3979
|
+
t.map((i) => (On(e, i), i().then((n) => n.default || n)))
|
|
3980
|
+
).then((i) => hr(e, ...i));
|
|
3989
3981
|
}
|
|
3990
3982
|
const se = {};
|
|
3991
|
-
function
|
|
3983
|
+
function fr(e) {
|
|
3992
3984
|
if (!rt(e))
|
|
3993
3985
|
return e in se ? se[e] : Promise.resolve();
|
|
3994
|
-
const t =
|
|
3986
|
+
const t = Cn(e);
|
|
3995
3987
|
return se[e] = Promise.all(
|
|
3996
3988
|
t.map(
|
|
3997
|
-
([r, i]) =>
|
|
3989
|
+
([r, i]) => In(r, i)
|
|
3998
3990
|
)
|
|
3999
3991
|
).then(() => {
|
|
4000
3992
|
if (rt(e))
|
|
4001
|
-
return
|
|
3993
|
+
return fr(e);
|
|
4002
3994
|
delete se[e];
|
|
4003
3995
|
}), se[e];
|
|
4004
3996
|
}
|
|
4005
|
-
const
|
|
3997
|
+
const Nn = {
|
|
4006
3998
|
number: {
|
|
4007
3999
|
scientific: { notation: "scientific" },
|
|
4008
4000
|
engineering: { notation: "engineering" },
|
|
@@ -4031,34 +4023,34 @@ const Mn = {
|
|
|
4031
4023
|
timeZoneName: "short"
|
|
4032
4024
|
}
|
|
4033
4025
|
}
|
|
4034
|
-
},
|
|
4026
|
+
}, Mn = {
|
|
4035
4027
|
fallbackLocale: null,
|
|
4036
4028
|
loadingDelay: 200,
|
|
4037
|
-
formats:
|
|
4029
|
+
formats: Nn,
|
|
4038
4030
|
warnOnMissingMessages: !0,
|
|
4039
4031
|
handleMissingMessage: void 0,
|
|
4040
4032
|
ignoreTag: !0
|
|
4041
|
-
},
|
|
4033
|
+
}, Rn = Mn;
|
|
4042
4034
|
function te() {
|
|
4043
|
-
return
|
|
4035
|
+
return Rn;
|
|
4044
4036
|
}
|
|
4045
4037
|
const Ue = we(!1);
|
|
4046
|
-
var
|
|
4047
|
-
for (var r in t)
|
|
4048
|
-
|
|
4038
|
+
var Dn = Object.defineProperty, zn = Object.defineProperties, $n = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fn = (e, t) => {
|
|
4039
|
+
for (var r in t || (t = {}))
|
|
4040
|
+
Un.call(t, r) && Ht(e, r, t[r]);
|
|
4049
4041
|
if (Pt)
|
|
4050
4042
|
for (var r of Pt(t))
|
|
4051
|
-
|
|
4043
|
+
Gn.call(t, r) && Ht(e, r, t[r]);
|
|
4052
4044
|
return e;
|
|
4053
|
-
},
|
|
4045
|
+
}, jn = (e, t) => zn(e, $n(t));
|
|
4054
4046
|
let it;
|
|
4055
4047
|
const Te = we(null);
|
|
4056
|
-
function
|
|
4048
|
+
function Bt(e) {
|
|
4057
4049
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
4058
4050
|
}
|
|
4059
|
-
function
|
|
4060
|
-
const r =
|
|
4061
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4051
|
+
function Pe(e, t = te().fallbackLocale) {
|
|
4052
|
+
const r = Bt(e);
|
|
4053
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
|
|
4062
4054
|
}
|
|
4063
4055
|
function W() {
|
|
4064
4056
|
return it ?? void 0;
|
|
@@ -4066,43 +4058,43 @@ function W() {
|
|
|
4066
4058
|
Te.subscribe((e) => {
|
|
4067
4059
|
it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4068
4060
|
});
|
|
4069
|
-
const
|
|
4070
|
-
if (e &&
|
|
4061
|
+
const kn = (e) => {
|
|
4062
|
+
if (e && Bn(e) && rt(e)) {
|
|
4071
4063
|
const { loadingDelay: t } = te();
|
|
4072
4064
|
let r;
|
|
4073
4065
|
return typeof window < "u" && W() != null && t ? r = window.setTimeout(
|
|
4074
4066
|
() => Ue.set(!0),
|
|
4075
4067
|
t
|
|
4076
|
-
) : Ue.set(!0),
|
|
4068
|
+
) : Ue.set(!0), fr(e).then(() => {
|
|
4077
4069
|
Te.set(e);
|
|
4078
4070
|
}).finally(() => {
|
|
4079
4071
|
clearTimeout(r), Ue.set(!1);
|
|
4080
4072
|
});
|
|
4081
4073
|
}
|
|
4082
4074
|
return Te.set(e);
|
|
4083
|
-
}, ie =
|
|
4084
|
-
set:
|
|
4085
|
-
}),
|
|
4075
|
+
}, ie = jn(Fn({}, Te), {
|
|
4076
|
+
set: kn
|
|
4077
|
+
}), He = (e) => {
|
|
4086
4078
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4087
4079
|
return (i) => {
|
|
4088
4080
|
const n = JSON.stringify(i);
|
|
4089
4081
|
return n in t ? t[n] : t[n] = e(i);
|
|
4090
4082
|
};
|
|
4091
4083
|
};
|
|
4092
|
-
var
|
|
4084
|
+
var Vn = Object.defineProperty, Le = Object.getOwnPropertySymbols, mr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
|
4093
4085
|
for (var r in t || (t = {}))
|
|
4094
|
-
|
|
4086
|
+
mr.call(t, r) && Ot(e, r, t[r]);
|
|
4095
4087
|
if (Le)
|
|
4096
4088
|
for (var r of Le(t))
|
|
4097
|
-
|
|
4089
|
+
pr.call(t, r) && Ot(e, r, t[r]);
|
|
4098
4090
|
return e;
|
|
4099
4091
|
}, ne = (e, t) => {
|
|
4100
4092
|
var r = {};
|
|
4101
4093
|
for (var i in e)
|
|
4102
|
-
|
|
4094
|
+
mr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
4103
4095
|
if (e != null && Le)
|
|
4104
4096
|
for (var i of Le(e))
|
|
4105
|
-
t.indexOf(i) < 0 &&
|
|
4097
|
+
t.indexOf(i) < 0 && pr.call(e, i) && (r[i] = e[i]);
|
|
4106
4098
|
return r;
|
|
4107
4099
|
};
|
|
4108
4100
|
const he = (e, t) => {
|
|
@@ -4110,21 +4102,21 @@ const he = (e, t) => {
|
|
|
4110
4102
|
if (e in r && t in r[e])
|
|
4111
4103
|
return r[e][t];
|
|
4112
4104
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4113
|
-
},
|
|
4105
|
+
}, Wn = He(
|
|
4114
4106
|
(e) => {
|
|
4115
4107
|
var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
|
|
4116
4108
|
if (r == null)
|
|
4117
4109
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4118
4110
|
return i && (n = he("number", i)), new Intl.NumberFormat(r, n);
|
|
4119
4111
|
}
|
|
4120
|
-
),
|
|
4112
|
+
), Xn = He(
|
|
4121
4113
|
(e) => {
|
|
4122
4114
|
var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
|
|
4123
4115
|
if (r == null)
|
|
4124
4116
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4125
4117
|
return i ? n = he("date", i) : Object.keys(n).length === 0 && (n = he("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
4126
4118
|
}
|
|
4127
|
-
),
|
|
4119
|
+
), Zn = He(
|
|
4128
4120
|
(e) => {
|
|
4129
4121
|
var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
|
|
4130
4122
|
if (r == null)
|
|
@@ -4133,33 +4125,33 @@ const he = (e, t) => {
|
|
|
4133
4125
|
);
|
|
4134
4126
|
return i ? n = he("time", i) : Object.keys(n).length === 0 && (n = he("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
4135
4127
|
}
|
|
4136
|
-
),
|
|
4128
|
+
), Qn = (e = {}) => {
|
|
4137
4129
|
var t = e, {
|
|
4138
4130
|
locale: r = W()
|
|
4139
4131
|
} = t, i = ne(t, [
|
|
4140
4132
|
"locale"
|
|
4141
4133
|
]);
|
|
4142
|
-
return
|
|
4143
|
-
},
|
|
4134
|
+
return Wn(st({ locale: r }, i));
|
|
4135
|
+
}, Yn = (e = {}) => {
|
|
4144
4136
|
var t = e, {
|
|
4145
4137
|
locale: r = W()
|
|
4146
4138
|
} = t, i = ne(t, [
|
|
4147
4139
|
"locale"
|
|
4148
4140
|
]);
|
|
4149
|
-
return
|
|
4150
|
-
},
|
|
4141
|
+
return Xn(st({ locale: r }, i));
|
|
4142
|
+
}, Jn = (e = {}) => {
|
|
4151
4143
|
var t = e, {
|
|
4152
4144
|
locale: r = W()
|
|
4153
4145
|
} = t, i = ne(t, [
|
|
4154
4146
|
"locale"
|
|
4155
4147
|
]);
|
|
4156
|
-
return
|
|
4157
|
-
},
|
|
4148
|
+
return Zn(st({ locale: r }, i));
|
|
4149
|
+
}, qn = He(
|
|
4158
4150
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4159
|
-
(e, t = W()) => new
|
|
4151
|
+
(e, t = W()) => new Sn(e, t, te().formats, {
|
|
4160
4152
|
ignoreTag: te().ignoreTag
|
|
4161
4153
|
})
|
|
4162
|
-
),
|
|
4154
|
+
), Kn = (e, t = {}) => {
|
|
4163
4155
|
var r, i, n, o;
|
|
4164
4156
|
let a = t;
|
|
4165
4157
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4172,7 +4164,7 @@ const he = (e, t) => {
|
|
|
4172
4164
|
throw new Error(
|
|
4173
4165
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4174
4166
|
);
|
|
4175
|
-
let l =
|
|
4167
|
+
let l = ur(e, h);
|
|
4176
4168
|
if (!l)
|
|
4177
4169
|
l = (o = (n = (i = (r = te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
|
|
4178
4170
|
else if (typeof l != "string")
|
|
@@ -4183,7 +4175,7 @@ const he = (e, t) => {
|
|
|
4183
4175
|
return l;
|
|
4184
4176
|
let c = l;
|
|
4185
4177
|
try {
|
|
4186
|
-
c =
|
|
4178
|
+
c = qn(l, h).format(s);
|
|
4187
4179
|
} catch (f) {
|
|
4188
4180
|
f instanceof Error && console.warn(
|
|
4189
4181
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4191,17 +4183,17 @@ const he = (e, t) => {
|
|
|
4191
4183
|
);
|
|
4192
4184
|
}
|
|
4193
4185
|
return c;
|
|
4194
|
-
},
|
|
4186
|
+
}, eo = (e, t) => Jn(t).format(e), to = (e, t) => Yn(t).format(e), ro = (e, t) => Qn(t).format(e), io = (e, t = W()) => ur(e, t), no = re([ie, fe], () => Kn);
|
|
4187
|
+
re([ie], () => eo);
|
|
4195
4188
|
re([ie], () => to);
|
|
4196
4189
|
re([ie], () => ro);
|
|
4197
|
-
re([ie], () => io);
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
cr(e, t);
|
|
4190
|
+
re([ie, fe], () => io);
|
|
4191
|
+
window.emWidgets = { topic: yi };
|
|
4192
|
+
const oo = (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)), To = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4193
|
+
function Ct(e, t) {
|
|
4194
|
+
hr(e, t);
|
|
4203
4195
|
}
|
|
4204
|
-
function
|
|
4196
|
+
function so(e) {
|
|
4205
4197
|
ie.set(e);
|
|
4206
4198
|
}
|
|
4207
4199
|
const Ge = {
|
|
@@ -4435,73 +4427,73 @@ const Ge = {
|
|
|
4435
4427
|
historyLimitTypeLoss: "Kayıp Limiti"
|
|
4436
4428
|
}
|
|
4437
4429
|
};
|
|
4438
|
-
function
|
|
4439
|
-
|
|
4430
|
+
function ao(e) {
|
|
4431
|
+
Ir(e, "svelte-16zv8bz", ':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-16zv8bz.svelte-16zv8bz,.svelte-16zv8bz.svelte-16zv8bz::before,.svelte-16zv8bz.svelte-16zv8bz::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-white, #FFFFFF)}button.svelte-16zv8bz.svelte-16zv8bz{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-16zv8bz.svelte-16zv8bz{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-16zv8bz.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-16zv8bz svg.svelte-16zv8bz{width:40px;height:auto;margin-left:-4px}.extended.svelte-16zv8bz.svelte-16zv8bz{transform:rotate(180deg)}.HistoryWrapper.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.svelte-16zv8bz{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 20px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea .LimitType.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.Mobile.svelte-16zv8bz{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-16zv8bz.svelte-16zv8bz{display:none}.HistoryRow.svelte-16zv8bz.svelte-16zv8bz{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-16zv8bz.svelte-16zv8bz{animation:svelte-16zv8bz-animateEntry 0.7s ease-in}@keyframes svelte-16zv8bz-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
|
|
4440
4432
|
}
|
|
4441
|
-
function
|
|
4433
|
+
function It(e, t, r) {
|
|
4442
4434
|
const i = e.slice();
|
|
4443
4435
|
return i[38] = t[r], i[39] = t, i[40] = r, i;
|
|
4444
4436
|
}
|
|
4445
|
-
function
|
|
4437
|
+
function uo(e) {
|
|
4446
4438
|
let t, r, i, n = (
|
|
4447
4439
|
/*$_*/
|
|
4448
4440
|
e[9]("expandLimits") + ""
|
|
4449
|
-
), o, a, s, h, u, l, c, f, p, y =
|
|
4441
|
+
), o, a, s, h, u, l, c, f, p, y = ct(
|
|
4450
4442
|
/*lazyShowedHistoryArray*/
|
|
4451
4443
|
e[7]
|
|
4452
4444
|
), d = [];
|
|
4453
|
-
for (let
|
|
4454
|
-
d[
|
|
4445
|
+
for (let v = 0; v < y.length; v += 1)
|
|
4446
|
+
d[v] = Nt(It(e, y, v));
|
|
4455
4447
|
return {
|
|
4456
4448
|
c() {
|
|
4457
|
-
t =
|
|
4458
|
-
for (let
|
|
4459
|
-
d[
|
|
4460
|
-
|
|
4461
|
-
e[10] ? "" : "Mobile") + " svelte-16zv8bz"),
|
|
4449
|
+
t = P("div"), r = P("div"), i = P("button"), o = M(n), a = Fe(), s = Ie("svg"), h = Ie("path"), u = Ie("path"), l = Fe(), c = P("div");
|
|
4450
|
+
for (let v = 0; v < d.length; v += 1)
|
|
4451
|
+
d[v].c();
|
|
4452
|
+
x(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(h, "class", "svelte-16zv8bz"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-16zv8bz"), x(s, "class", "ExpandArrow " + (/*isDesktop*/
|
|
4453
|
+
e[10] ? "" : "Mobile") + " svelte-16zv8bz"), x(s, "xmlns", "http://www.w3.org/2000/svg"), x(s, "width", "36"), x(s, "height", "36"), x(s, "viewBox", "0 0 36 36"), $r(s, "fill", "var(--emw--color-primary, #22B04E)"), de(
|
|
4462
4454
|
s,
|
|
4463
4455
|
"extended",
|
|
4464
4456
|
/*extended*/
|
|
4465
4457
|
e[8]
|
|
4466
|
-
),
|
|
4467
|
-
e[10] ? "" : "Mobile") + " svelte-16zv8bz"),
|
|
4458
|
+
), x(i, "class", "ExpandButton " + (/*isDesktop*/
|
|
4459
|
+
e[10] ? "" : "Mobile") + " svelte-16zv8bz"), x(c, "class", "HistoryDisplayArea " + (/*isDesktop*/
|
|
4468
4460
|
e[10] ? "" : "Mobile") + " svelte-16zv8bz"), de(
|
|
4469
4461
|
c,
|
|
4470
4462
|
"hidden",
|
|
4471
4463
|
/*hidden*/
|
|
4472
4464
|
e[5]
|
|
4473
|
-
),
|
|
4465
|
+
), x(r, "class", "HistoryWrapper svelte-16zv8bz"), x(t, "class", "player-account-gaming-limits-history-2 svelte-16zv8bz");
|
|
4474
4466
|
},
|
|
4475
|
-
m(
|
|
4476
|
-
V(
|
|
4467
|
+
m(v, w) {
|
|
4468
|
+
V(v, t, w), L(t, r), L(r, i), L(i, o), L(i, a), L(i, s), L(s, h), L(s, u), L(r, l), L(r, c);
|
|
4477
4469
|
for (let _ = 0; _ < d.length; _ += 1)
|
|
4478
4470
|
d[_] && d[_].m(c, null);
|
|
4479
|
-
f || (p =
|
|
4471
|
+
f || (p = Dr(
|
|
4480
4472
|
i,
|
|
4481
4473
|
"click",
|
|
4482
4474
|
/*toggleHistoryDisplayArea*/
|
|
4483
4475
|
e[11]
|
|
4484
4476
|
), f = !0);
|
|
4485
4477
|
},
|
|
4486
|
-
p(
|
|
4478
|
+
p(v, w) {
|
|
4487
4479
|
if (w[0] & /*$_*/
|
|
4488
4480
|
512 && n !== (n = /*$_*/
|
|
4489
|
-
|
|
4481
|
+
v[9]("expandLimits") + "") && F(o, n), w[0] & /*extended*/
|
|
4490
4482
|
256 && de(
|
|
4491
4483
|
s,
|
|
4492
4484
|
"extended",
|
|
4493
4485
|
/*extended*/
|
|
4494
|
-
|
|
4486
|
+
v[8]
|
|
4495
4487
|
), w[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
4496
4488
|
650) {
|
|
4497
|
-
y =
|
|
4489
|
+
y = ct(
|
|
4498
4490
|
/*lazyShowedHistoryArray*/
|
|
4499
|
-
|
|
4491
|
+
v[7]
|
|
4500
4492
|
);
|
|
4501
4493
|
let _;
|
|
4502
4494
|
for (_ = 0; _ < y.length; _ += 1) {
|
|
4503
|
-
const
|
|
4504
|
-
d[_] ? d[_].p(
|
|
4495
|
+
const H = It(v, y, _);
|
|
4496
|
+
d[_] ? d[_].p(H, w) : (d[_] = Nt(H), d[_].c(), d[_].m(c, null));
|
|
4505
4497
|
}
|
|
4506
4498
|
for (; _ < d.length; _ += 1)
|
|
4507
4499
|
d[_].d(1);
|
|
@@ -4512,18 +4504,18 @@ function lo(e) {
|
|
|
4512
4504
|
c,
|
|
4513
4505
|
"hidden",
|
|
4514
4506
|
/*hidden*/
|
|
4515
|
-
|
|
4507
|
+
v[5]
|
|
4516
4508
|
);
|
|
4517
4509
|
},
|
|
4518
|
-
d(
|
|
4519
|
-
|
|
4510
|
+
d(v) {
|
|
4511
|
+
v && j(t), Rr(d, v), f = !1, p();
|
|
4520
4512
|
}
|
|
4521
4513
|
};
|
|
4522
4514
|
}
|
|
4523
|
-
function
|
|
4515
|
+
function lo(e) {
|
|
4524
4516
|
return { c: C, m: C, p: C, d: C };
|
|
4525
4517
|
}
|
|
4526
|
-
function
|
|
4518
|
+
function ho(e) {
|
|
4527
4519
|
let t, r = (
|
|
4528
4520
|
/*lang*/
|
|
4529
4521
|
(e[0] ? (
|
|
@@ -4533,7 +4525,7 @@ function co(e) {
|
|
|
4533
4525
|
), i;
|
|
4534
4526
|
return {
|
|
4535
4527
|
c() {
|
|
4536
|
-
t =
|
|
4528
|
+
t = P("p"), i = M(r), x(t, "class", "svelte-16zv8bz");
|
|
4537
4529
|
},
|
|
4538
4530
|
m(n, o) {
|
|
4539
4531
|
V(n, t, o), L(t, i);
|
|
@@ -4551,7 +4543,7 @@ function co(e) {
|
|
|
4551
4543
|
}
|
|
4552
4544
|
};
|
|
4553
4545
|
}
|
|
4554
|
-
function
|
|
4546
|
+
function co(e) {
|
|
4555
4547
|
let t, r, i, n = (
|
|
4556
4548
|
/*history*/
|
|
4557
4549
|
e[38].type + ""
|
|
@@ -4564,7 +4556,7 @@ function fo(e) {
|
|
|
4564
4556
|
), c;
|
|
4565
4557
|
return {
|
|
4566
4558
|
c() {
|
|
4567
|
-
t =
|
|
4559
|
+
t = P("div"), r = P("span"), i = P("span"), o = M(n), a = P("span"), h = M(s), u = P("span"), c = M(l), x(i, "class", "LimitType svelte-16zv8bz"), x(a, "class", "LimitAmountPeriod svelte-16zv8bz"), x(r, "class", "GeneralLimitInformation svelte-16zv8bz"), x(u, "class", "DateLimitInformation svelte-16zv8bz"), x(t, "class", "HistoryRow svelte-16zv8bz");
|
|
4568
4560
|
},
|
|
4569
4561
|
m(f, p) {
|
|
4570
4562
|
V(f, t, p), L(t, r), L(r, i), L(i, o), L(r, a), L(a, h), L(t, u), L(u, c);
|
|
@@ -4583,7 +4575,7 @@ function fo(e) {
|
|
|
4583
4575
|
}
|
|
4584
4576
|
};
|
|
4585
4577
|
}
|
|
4586
|
-
function
|
|
4578
|
+
function fo(e) {
|
|
4587
4579
|
let t, r, i, n = (
|
|
4588
4580
|
/*history*/
|
|
4589
4581
|
e[38].type + ""
|
|
@@ -4596,7 +4588,7 @@ function mo(e) {
|
|
|
4596
4588
|
), c;
|
|
4597
4589
|
return {
|
|
4598
4590
|
c() {
|
|
4599
|
-
t =
|
|
4591
|
+
t = P("div"), r = P("span"), i = P("span"), o = M(n), a = P("span"), h = M(s), u = P("span"), c = M(l), x(i, "class", "LimitType svelte-16zv8bz"), x(a, "class", "LimitAmountPeriod svelte-16zv8bz"), x(r, "class", "GeneralLimitInformation svelte-16zv8bz"), x(u, "class", "DateLimitInformation svelte-16zv8bz"), x(t, "class", "HistoryRow svelte-16zv8bz");
|
|
4600
4592
|
},
|
|
4601
4593
|
m(f, p) {
|
|
4602
4594
|
V(f, t, p), L(t, r), L(r, i), L(i, o), L(r, a), L(a, h), L(t, u), L(u, c);
|
|
@@ -4615,7 +4607,7 @@ function mo(e) {
|
|
|
4615
4607
|
}
|
|
4616
4608
|
};
|
|
4617
4609
|
}
|
|
4618
|
-
function
|
|
4610
|
+
function Nt(e) {
|
|
4619
4611
|
let t, r, i, n = (
|
|
4620
4612
|
/*index*/
|
|
4621
4613
|
e[40]
|
|
@@ -4623,7 +4615,7 @@ function Mt(e) {
|
|
|
4623
4615
|
function o(l, c) {
|
|
4624
4616
|
return (
|
|
4625
4617
|
/*history*/
|
|
4626
|
-
l[38].removed ?
|
|
4618
|
+
l[38].removed ? fo : co
|
|
4627
4619
|
);
|
|
4628
4620
|
}
|
|
4629
4621
|
let a = o(e), s = a(e);
|
|
@@ -4636,7 +4628,7 @@ function Mt(e) {
|
|
|
4636
4628
|
);
|
|
4637
4629
|
return {
|
|
4638
4630
|
c() {
|
|
4639
|
-
t =
|
|
4631
|
+
t = P("div"), s.c(), r = Fe(), x(t, "class", i = lt(
|
|
4640
4632
|
/*index*/
|
|
4641
4633
|
e[40] > +/*numberofentries*/
|
|
4642
4634
|
e[1] ? "LimitContainer" : ""
|
|
@@ -4647,11 +4639,11 @@ function Mt(e) {
|
|
|
4647
4639
|
},
|
|
4648
4640
|
p(l, c) {
|
|
4649
4641
|
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*/
|
|
4650
|
-
2 && i !== (i =
|
|
4642
|
+
2 && i !== (i = lt(
|
|
4651
4643
|
/*index*/
|
|
4652
4644
|
e[40] > +/*numberofentries*/
|
|
4653
4645
|
e[1] ? "LimitContainer" : ""
|
|
4654
|
-
) + " svelte-16zv8bz") &&
|
|
4646
|
+
) + " svelte-16zv8bz") && x(t, "class", i), n !== /*index*/
|
|
4655
4647
|
e[40] && (u(), n = /*index*/
|
|
4656
4648
|
e[40], h());
|
|
4657
4649
|
},
|
|
@@ -4660,21 +4652,21 @@ function Mt(e) {
|
|
|
4660
4652
|
}
|
|
4661
4653
|
};
|
|
4662
4654
|
}
|
|
4663
|
-
function
|
|
4655
|
+
function mo(e) {
|
|
4664
4656
|
let t;
|
|
4665
4657
|
function r(o, a) {
|
|
4666
4658
|
return (
|
|
4667
4659
|
/*hasErrors*/
|
|
4668
|
-
o[6] ?
|
|
4660
|
+
o[6] ? ho : (
|
|
4669
4661
|
/*isLoading*/
|
|
4670
|
-
o[4] ?
|
|
4662
|
+
o[4] ? lo : uo
|
|
4671
4663
|
)
|
|
4672
4664
|
);
|
|
4673
4665
|
}
|
|
4674
4666
|
let i = r(e), n = i(e);
|
|
4675
4667
|
return {
|
|
4676
4668
|
c() {
|
|
4677
|
-
t =
|
|
4669
|
+
t = P("div"), n.c(), x(t, "class", "svelte-16zv8bz");
|
|
4678
4670
|
},
|
|
4679
4671
|
m(o, a) {
|
|
4680
4672
|
V(o, t, a), n.m(t, null), e[22](t);
|
|
@@ -4689,23 +4681,23 @@ function po(e) {
|
|
|
4689
4681
|
}
|
|
4690
4682
|
};
|
|
4691
4683
|
}
|
|
4692
|
-
function
|
|
4684
|
+
function po(e, t, r) {
|
|
4693
4685
|
let i;
|
|
4694
|
-
|
|
4695
|
-
let n = window.navigator.userAgent, o = !
|
|
4696
|
-
const
|
|
4697
|
-
fetch(
|
|
4686
|
+
Cr(e, no, (m) => r(9, i = m));
|
|
4687
|
+
let n = window.navigator.userAgent, o = !oo(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, { translationurl: v = "" } = t, w, _ = new Array(), H = parseInt(c, 10), R = !1, N = !0, D = [], k = [], me = !0, Be = !1, oe = { EUR: "€", RON: "lei", TRY: "₺" };
|
|
4688
|
+
const yr = () => {
|
|
4689
|
+
fetch(v).then((T) => T.json()).then((T) => {
|
|
4698
4690
|
Object.keys(T).forEach((B) => {
|
|
4699
|
-
|
|
4691
|
+
Ct(B, T[B]);
|
|
4700
4692
|
});
|
|
4701
4693
|
}).catch((T) => {
|
|
4702
4694
|
console.log(T);
|
|
4703
4695
|
});
|
|
4704
4696
|
};
|
|
4705
4697
|
Object.keys(Ge).forEach((m) => {
|
|
4706
|
-
|
|
4698
|
+
Ct(m, Ge[m]);
|
|
4707
4699
|
});
|
|
4708
|
-
const
|
|
4700
|
+
const br = () => {
|
|
4709
4701
|
let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, T = new URL(m, u);
|
|
4710
4702
|
T.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), T.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), T.searchParams.append("limit", "10000");
|
|
4711
4703
|
let B = {
|
|
@@ -4718,7 +4710,7 @@ function yo(e, t, r) {
|
|
|
4718
4710
|
return A.json();
|
|
4719
4711
|
}).then(
|
|
4720
4712
|
(A) => {
|
|
4721
|
-
A.length && (D = vr(A), r(7, k = D.slice(0,
|
|
4713
|
+
A.length && (D = vr(A), r(7, k = D.slice(0, H))), r(4, N = !1);
|
|
4722
4714
|
},
|
|
4723
4715
|
(A) => {
|
|
4724
4716
|
console.error("There was an error", A), r(6, R = !0);
|
|
@@ -4735,44 +4727,44 @@ function yo(e, t, r) {
|
|
|
4735
4727
|
type: "",
|
|
4736
4728
|
removed: !1
|
|
4737
4729
|
};
|
|
4738
|
-
return z.amount =
|
|
4730
|
+
return z.amount = gr(A), z.currency = T ? oe[A.limitCurrencyCode] : A.limitCurrencyCode, z.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), z.period = i(`${A.limitPeriod.toLowerCase()}`), z.type = l === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), z.removed = A.limitAmount === -1, z;
|
|
4739
4731
|
});
|
|
4740
|
-
},
|
|
4732
|
+
}, gr = (m) => {
|
|
4741
4733
|
let T = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
|
|
4742
4734
|
if (!p) {
|
|
4743
|
-
let
|
|
4744
|
-
return `${T}${
|
|
4735
|
+
let Br = oe[m.limitCurrencyCode] || m.limitCurrencyCode;
|
|
4736
|
+
return `${T}${Br}`;
|
|
4745
4737
|
}
|
|
4746
4738
|
typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
|
|
4747
4739
|
const B = T.match(/\{(\d+)decimals\}/), A = B ? parseInt(B[1], 10) : 2, z = B ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
4748
4740
|
let pe = parseFloat(m.limitAmount).toFixed(A);
|
|
4749
4741
|
const [Pr, Oe] = p.includes(".") ? [",", "."] : [".", ","];
|
|
4750
|
-
let [Ce,
|
|
4751
|
-
return Ce = Ce.replace(/\B(?=(\d{3})+(?!\d))/g, Pr), pe = `${Ce}${Oe}${
|
|
4742
|
+
let [Ce, Hr] = pe.split(".");
|
|
4743
|
+
return Ce = Ce.replace(/\B(?=(\d{3})+(?!\d))/g, Pr), pe = `${Ce}${Oe}${Hr}`, T = T.replace("{currency}", oe[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", pe.split(Oe)[0]).replace(
|
|
4752
4744
|
z,
|
|
4753
4745
|
pe.split(Oe)[1]
|
|
4754
4746
|
), T;
|
|
4755
|
-
},
|
|
4747
|
+
}, _r = () => {
|
|
4756
4748
|
r(5, me = !me), r(8, Be = !Be);
|
|
4757
4749
|
};
|
|
4758
|
-
let
|
|
4750
|
+
let at = new IntersectionObserver((m) => {
|
|
4759
4751
|
m.forEach((T) => {
|
|
4760
|
-
T.isIntersecting && (
|
|
4752
|
+
T.isIntersecting && (H += parseInt(c, 10) || 10, k.length < D.length && r(7, k = D.slice(0, H)));
|
|
4761
4753
|
});
|
|
4762
4754
|
});
|
|
4763
4755
|
const Er = () => {
|
|
4764
|
-
|
|
4765
|
-
},
|
|
4756
|
+
at.observe(_[_.length - 1]);
|
|
4757
|
+
}, xr = () => {
|
|
4766
4758
|
if (!f) return;
|
|
4767
4759
|
let m = {};
|
|
4768
4760
|
f.split(",").forEach((T) => {
|
|
4769
4761
|
let B = T.split(":");
|
|
4770
4762
|
m[B[0].trim()] = B[1].trim();
|
|
4771
4763
|
}), oe = { ...oe, ...m };
|
|
4772
|
-
},
|
|
4764
|
+
}, Tr = () => {
|
|
4773
4765
|
let m = document.createElement("style");
|
|
4774
4766
|
m.innerHTML = y, w.appendChild(m);
|
|
4775
|
-
},
|
|
4767
|
+
}, Lr = () => {
|
|
4776
4768
|
let m = new URL(d), T = document.createElement("style");
|
|
4777
4769
|
fetch(m.href).then((B) => B.text()).then((B) => {
|
|
4778
4770
|
T.innerHTML = B, w && (setTimeout(
|
|
@@ -4786,33 +4778,33 @@ function yo(e, t, r) {
|
|
|
4786
4778
|
500
|
|
4787
4779
|
));
|
|
4788
4780
|
});
|
|
4789
|
-
},
|
|
4790
|
-
|
|
4781
|
+
}, Sr = () => {
|
|
4782
|
+
so(a);
|
|
4791
4783
|
};
|
|
4792
|
-
|
|
4793
|
-
|
|
4784
|
+
Fr(() => () => {
|
|
4785
|
+
at.unobserve(_[_.length - 1]);
|
|
4794
4786
|
});
|
|
4795
|
-
function
|
|
4796
|
-
|
|
4787
|
+
function wr(m, T) {
|
|
4788
|
+
xe[m ? "unshift" : "push"](() => {
|
|
4797
4789
|
_[T] = m, r(3, _);
|
|
4798
4790
|
});
|
|
4799
4791
|
}
|
|
4800
|
-
function
|
|
4801
|
-
|
|
4792
|
+
function Ar(m) {
|
|
4793
|
+
xe[m ? "unshift" : "push"](() => {
|
|
4802
4794
|
w = m, r(2, w);
|
|
4803
4795
|
});
|
|
4804
4796
|
}
|
|
4805
4797
|
return e.$$set = (m) => {
|
|
4806
|
-
"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), "translationurl" in m && r(20,
|
|
4798
|
+
"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), "translationurl" in m && r(20, v = m.translationurl);
|
|
4807
4799
|
}, e.$$.update = () => {
|
|
4808
4800
|
e.$$.dirty[0] & /*customcurrencysymbols*/
|
|
4809
|
-
65536 && f &&
|
|
4810
|
-
61440 && u && s && h && l &&
|
|
4801
|
+
65536 && f && xr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
4802
|
+
61440 && u && s && h && l && br(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
4811
4803
|
56 && _[0] && !N && !me && Er(), e.$$.dirty[0] & /*lang*/
|
|
4812
|
-
1 && a &&
|
|
4813
|
-
524288 && d &&
|
|
4814
|
-
262148 && y && w &&
|
|
4815
|
-
1048580 &&
|
|
4804
|
+
1 && a && Sr(), e.$$.dirty[0] & /*clientstylingurl*/
|
|
4805
|
+
524288 && d && Lr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4806
|
+
262148 && y && w && Tr(), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
|
|
4807
|
+
1048580 && v && w && yr();
|
|
4816
4808
|
}, [
|
|
4817
4809
|
a,
|
|
4818
4810
|
c,
|
|
@@ -4825,7 +4817,7 @@ function yo(e, t, r) {
|
|
|
4825
4817
|
Be,
|
|
4826
4818
|
i,
|
|
4827
4819
|
o,
|
|
4828
|
-
|
|
4820
|
+
_r,
|
|
4829
4821
|
s,
|
|
4830
4822
|
h,
|
|
4831
4823
|
u,
|
|
@@ -4834,19 +4826,19 @@ function yo(e, t, r) {
|
|
|
4834
4826
|
p,
|
|
4835
4827
|
y,
|
|
4836
4828
|
d,
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4829
|
+
v,
|
|
4830
|
+
wr,
|
|
4831
|
+
Ar
|
|
4840
4832
|
];
|
|
4841
4833
|
}
|
|
4842
|
-
class
|
|
4834
|
+
class dr extends ei {
|
|
4843
4835
|
constructor(t) {
|
|
4844
|
-
super(),
|
|
4836
|
+
super(), qr(
|
|
4845
4837
|
this,
|
|
4846
4838
|
t,
|
|
4847
|
-
yo,
|
|
4848
4839
|
po,
|
|
4849
|
-
|
|
4840
|
+
mo,
|
|
4841
|
+
Rt,
|
|
4850
4842
|
{
|
|
4851
4843
|
lang: 0,
|
|
4852
4844
|
userid: 12,
|
|
@@ -4860,7 +4852,7 @@ class yr extends ti {
|
|
|
4860
4852
|
clientstylingurl: 19,
|
|
4861
4853
|
translationurl: 20
|
|
4862
4854
|
},
|
|
4863
|
-
|
|
4855
|
+
ao,
|
|
4864
4856
|
[-1, -1]
|
|
4865
4857
|
);
|
|
4866
4858
|
}
|
|
@@ -4931,49 +4923,49 @@ class yr extends ti {
|
|
|
4931
4923
|
this.$$set({ translationurl: t }), I();
|
|
4932
4924
|
}
|
|
4933
4925
|
}
|
|
4934
|
-
|
|
4935
|
-
const
|
|
4926
|
+
Kr(dr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4927
|
+
const Lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4936
4928
|
__proto__: null,
|
|
4937
|
-
default:
|
|
4929
|
+
default: dr
|
|
4938
4930
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4939
4931
|
export {
|
|
4940
4932
|
ie as $,
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4933
|
+
bo as A,
|
|
4934
|
+
Eo as B,
|
|
4935
|
+
ke as C,
|
|
4936
|
+
Ie as D,
|
|
4937
|
+
$r as E,
|
|
4938
|
+
no as F,
|
|
4947
4939
|
fe as G,
|
|
4948
|
-
|
|
4949
|
-
|
|
4940
|
+
To as H,
|
|
4941
|
+
Fr as I,
|
|
4950
4942
|
vo as J,
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4943
|
+
Lo as P,
|
|
4944
|
+
ei as S,
|
|
4945
|
+
hr as a,
|
|
4946
|
+
Ir as b,
|
|
4947
|
+
Kr as c,
|
|
4948
|
+
j as d,
|
|
4949
|
+
L as e,
|
|
4958
4950
|
I as f,
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4951
|
+
yo as g,
|
|
4952
|
+
V as h,
|
|
4953
|
+
qr as i,
|
|
4954
|
+
P as j,
|
|
4955
|
+
Fe as k,
|
|
4956
|
+
x as l,
|
|
4957
|
+
Cr as m,
|
|
4966
4958
|
C as n,
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4959
|
+
oo as o,
|
|
4960
|
+
xo as p,
|
|
4961
|
+
xe as q,
|
|
4962
|
+
ct as r,
|
|
4963
|
+
Rt as s,
|
|
4964
|
+
go as t,
|
|
4965
|
+
Rr as u,
|
|
4966
|
+
ce as v,
|
|
4975
4967
|
F as w,
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4968
|
+
_o as x,
|
|
4969
|
+
Dr as y,
|
|
4970
|
+
M as z
|
|
4979
4971
|
};
|