@everymatrix/player-account-menu-nd 1.94.54 → 1.94.56
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/{GeneralLogout-CRrnphLg.js → GeneralLogout-8Of9Ahnl.js} +1 -1
- package/components/{GeneralLogout-BBMu0O3e.cjs → GeneralLogout-BdQftLx6.cjs} +1 -1
- package/components/{GeneralLogout-BgJ7R5S6.js → GeneralLogout-Bmr4R5qR.js} +1 -1
- package/components/PlayerAccountMenuNd-BdvExvI5.cjs +18 -0
- package/components/{PlayerAccountMenuNd-DQA5Wu1L.js → PlayerAccountMenuNd-C4_v73_L.js} +934 -909
- package/components/{PlayerAccountMenuNd-BVSaC3o4.js → PlayerAccountMenuNd-RwvXGs1E.js} +961 -936
- package/es2015/player-account-menu-nd.cjs +1 -1
- package/es2015/player-account-menu-nd.js +1 -1
- package/esnext/player-account-menu-nd.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountMenuNd-C1VjCPrV.cjs +0 -18
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import "../stencil/ui-skeleton-W50o8tfg.js";
|
|
2
|
-
function
|
|
2
|
+
function F() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function Zt(e) {
|
|
5
5
|
return e();
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function yt() {
|
|
8
8
|
return /* @__PURE__ */ Object.create(null);
|
|
9
9
|
}
|
|
10
|
-
function
|
|
11
|
-
e.forEach(
|
|
10
|
+
function te(e) {
|
|
11
|
+
e.forEach(Zt);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function lt(e) {
|
|
14
14
|
return typeof e == "function";
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function Qt(e, t) {
|
|
17
17
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
18
18
|
}
|
|
19
|
-
let
|
|
20
|
-
function
|
|
21
|
-
return e === t ? !0 : (
|
|
19
|
+
let de;
|
|
20
|
+
function vt(e, t) {
|
|
21
|
+
return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Dr(e) {
|
|
24
24
|
return Object.keys(e).length === 0;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function qt(e, ...t) {
|
|
27
27
|
if (e == null) {
|
|
28
28
|
for (const n of t)
|
|
29
29
|
n(void 0);
|
|
30
|
-
return
|
|
30
|
+
return F;
|
|
31
31
|
}
|
|
32
32
|
const r = e.subscribe(...t);
|
|
33
33
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
e.$$.on_destroy.push(
|
|
35
|
+
function Gr(e, t, r) {
|
|
36
|
+
e.$$.on_destroy.push(qt(t, r));
|
|
37
37
|
}
|
|
38
38
|
function y(e, t) {
|
|
39
39
|
e.appendChild(t);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
const n =
|
|
41
|
+
function kr(e, t, r) {
|
|
42
|
+
const n = jr(e);
|
|
43
43
|
if (!n.getElementById(t)) {
|
|
44
44
|
const i = S("style");
|
|
45
|
-
i.id = t, i.textContent = r,
|
|
45
|
+
i.id = t, i.textContent = r, Vr(n, i);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function jr(e) {
|
|
49
49
|
if (!e)
|
|
50
50
|
return document;
|
|
51
51
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -55,56 +55,56 @@ function $r(e) {
|
|
|
55
55
|
t
|
|
56
56
|
) : e.ownerDocument;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function Vr(e, t) {
|
|
59
59
|
return y(
|
|
60
60
|
/** @type {Document} */
|
|
61
61
|
e.head || e,
|
|
62
62
|
t
|
|
63
63
|
), t.sheet;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function $(e, t, r) {
|
|
66
66
|
e.insertBefore(t, r || null);
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function U(e) {
|
|
69
69
|
e.parentNode && e.parentNode.removeChild(e);
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Jt(e, t) {
|
|
72
72
|
for (let r = 0; r < e.length; r += 1)
|
|
73
73
|
e[r] && e[r].d(t);
|
|
74
74
|
}
|
|
75
75
|
function S(e) {
|
|
76
76
|
return document.createElement(e);
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function V(e) {
|
|
79
79
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function q(e) {
|
|
82
82
|
return document.createTextNode(e);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
return
|
|
84
|
+
function R() {
|
|
85
|
+
return q(" ");
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function Ve(e, t, r, n) {
|
|
88
88
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function x(e, t, r) {
|
|
91
91
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function w(e, t, r) {
|
|
94
94
|
const n = t.toLowerCase();
|
|
95
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
95
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function Wr(e) {
|
|
98
98
|
return Array.from(e.childNodes);
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Ee(e, t) {
|
|
101
101
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
102
102
|
t);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function Bo(e, t, r, n) {
|
|
105
105
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function Xr(e) {
|
|
108
108
|
const t = {};
|
|
109
109
|
return e.childNodes.forEach(
|
|
110
110
|
/** @param {Element} node */
|
|
@@ -117,84 +117,84 @@ let ue;
|
|
|
117
117
|
function ae(e) {
|
|
118
118
|
ue = e;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function zr() {
|
|
121
121
|
if (!ue)
|
|
122
122
|
throw new Error("Function called outside component initialization");
|
|
123
123
|
return ue;
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
const
|
|
129
|
-
let
|
|
130
|
-
const
|
|
131
|
-
let
|
|
132
|
-
function
|
|
133
|
-
|
|
134
|
-
}
|
|
135
|
-
function
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
const
|
|
139
|
-
let
|
|
140
|
-
function
|
|
141
|
-
if (
|
|
125
|
+
function Zr(e) {
|
|
126
|
+
zr().$$.on_mount.push(e);
|
|
127
|
+
}
|
|
128
|
+
const z = [], We = [];
|
|
129
|
+
let Q = [];
|
|
130
|
+
const _t = [], Qr = /* @__PURE__ */ Promise.resolve();
|
|
131
|
+
let Xe = !1;
|
|
132
|
+
function qr() {
|
|
133
|
+
Xe || (Xe = !0, Qr.then(C));
|
|
134
|
+
}
|
|
135
|
+
function ze(e) {
|
|
136
|
+
Q.push(e);
|
|
137
|
+
}
|
|
138
|
+
const Re = /* @__PURE__ */ new Set();
|
|
139
|
+
let W = 0;
|
|
140
|
+
function C() {
|
|
141
|
+
if (W !== 0)
|
|
142
142
|
return;
|
|
143
143
|
const e = ue;
|
|
144
144
|
do {
|
|
145
145
|
try {
|
|
146
|
-
for (;
|
|
147
|
-
const t =
|
|
148
|
-
|
|
146
|
+
for (; W < z.length; ) {
|
|
147
|
+
const t = z[W];
|
|
148
|
+
W++, ae(t), Jr(t.$$);
|
|
149
149
|
}
|
|
150
150
|
} catch (t) {
|
|
151
|
-
throw
|
|
151
|
+
throw z.length = 0, W = 0, t;
|
|
152
152
|
}
|
|
153
|
-
for (ae(null),
|
|
154
|
-
|
|
155
|
-
for (let t = 0; t <
|
|
156
|
-
const r =
|
|
157
|
-
|
|
153
|
+
for (ae(null), z.length = 0, W = 0; We.length; )
|
|
154
|
+
We.pop()();
|
|
155
|
+
for (let t = 0; t < Q.length; t += 1) {
|
|
156
|
+
const r = Q[t];
|
|
157
|
+
Re.has(r) || (Re.add(r), r());
|
|
158
158
|
}
|
|
159
|
-
|
|
160
|
-
} while (
|
|
161
|
-
for (;
|
|
162
|
-
|
|
163
|
-
|
|
159
|
+
Q.length = 0;
|
|
160
|
+
} while (z.length);
|
|
161
|
+
for (; _t.length; )
|
|
162
|
+
_t.pop()();
|
|
163
|
+
Xe = !1, Re.clear(), ae(e);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function Jr(e) {
|
|
166
166
|
if (e.fragment !== null) {
|
|
167
|
-
e.update(),
|
|
167
|
+
e.update(), te(e.before_update);
|
|
168
168
|
const t = e.dirty;
|
|
169
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
169
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function Yr(e) {
|
|
173
173
|
const t = [], r = [];
|
|
174
|
-
|
|
174
|
+
Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
|
|
175
175
|
}
|
|
176
|
-
const
|
|
177
|
-
function
|
|
178
|
-
e && e.i && (
|
|
176
|
+
const Kr = /* @__PURE__ */ new Set();
|
|
177
|
+
function en(e, t) {
|
|
178
|
+
e && e.i && (Kr.delete(e), e.i(t));
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function we(e) {
|
|
181
181
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function tn(e, t, r) {
|
|
184
184
|
const { fragment: n, after_update: i } = e.$$;
|
|
185
|
-
n && n.m(t, r),
|
|
186
|
-
const o = e.$$.on_mount.map(
|
|
187
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
188
|
-
}), i.forEach(
|
|
185
|
+
n && n.m(t, r), ze(() => {
|
|
186
|
+
const o = e.$$.on_mount.map(Zt).filter(lt);
|
|
187
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
|
|
188
|
+
}), i.forEach(ze);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function rn(e, t) {
|
|
191
191
|
const r = e.$$;
|
|
192
|
-
r.fragment !== null && (
|
|
192
|
+
r.fragment !== null && (Yr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
195
|
-
e.$$.dirty[0] === -1 && (
|
|
194
|
+
function nn(e, t) {
|
|
195
|
+
e.$$.dirty[0] === -1 && (z.push(e), qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function on(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
198
198
|
const l = ue;
|
|
199
199
|
ae(e);
|
|
200
200
|
const u = e.$$ = {
|
|
@@ -202,9 +202,9 @@ function en(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
202
202
|
ctx: [],
|
|
203
203
|
// state
|
|
204
204
|
props: o,
|
|
205
|
-
update:
|
|
205
|
+
update: F,
|
|
206
206
|
not_equal: i,
|
|
207
|
-
bound:
|
|
207
|
+
bound: yt(),
|
|
208
208
|
// lifecycle
|
|
209
209
|
on_mount: [],
|
|
210
210
|
on_destroy: [],
|
|
@@ -213,7 +213,7 @@ function en(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
213
213
|
after_update: [],
|
|
214
214
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
215
215
|
// everything else
|
|
216
|
-
callbacks:
|
|
216
|
+
callbacks: yt(),
|
|
217
217
|
dirty: a,
|
|
218
218
|
skip_bound: !1,
|
|
219
219
|
root: t.target || l.$$.root
|
|
@@ -222,19 +222,19 @@ function en(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
222
222
|
let c = !1;
|
|
223
223
|
if (u.ctx = r ? r(e, t.props || {}, (f, h, ...d) => {
|
|
224
224
|
const m = d.length ? d[0] : h;
|
|
225
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), c &&
|
|
226
|
-
}) : [], u.update(), c = !0,
|
|
225
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), c && nn(e, f)), h;
|
|
226
|
+
}) : [], u.update(), c = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
227
227
|
if (t.hydrate) {
|
|
228
|
-
const f =
|
|
229
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
228
|
+
const f = Wr(t.target);
|
|
229
|
+
u.fragment && u.fragment.l(f), f.forEach(U);
|
|
230
230
|
} else
|
|
231
231
|
u.fragment && u.fragment.c();
|
|
232
|
-
t.intro &&
|
|
232
|
+
t.intro && en(e.$$.fragment), tn(e, t.target, t.anchor), C();
|
|
233
233
|
}
|
|
234
234
|
ae(l);
|
|
235
235
|
}
|
|
236
|
-
let
|
|
237
|
-
typeof HTMLElement == "function" && (
|
|
236
|
+
let Yt;
|
|
237
|
+
typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
238
238
|
/** The Svelte component constructor */
|
|
239
239
|
$$ctor;
|
|
240
240
|
/** Slots */
|
|
@@ -276,29 +276,29 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
276
276
|
let o;
|
|
277
277
|
return {
|
|
278
278
|
c: function() {
|
|
279
|
-
o = S("slot"), i !== "default" &&
|
|
279
|
+
o = S("slot"), i !== "default" && x(o, "name", i);
|
|
280
280
|
},
|
|
281
281
|
/**
|
|
282
282
|
* @param {HTMLElement} target
|
|
283
283
|
* @param {HTMLElement} [anchor]
|
|
284
284
|
*/
|
|
285
285
|
m: function(l, u) {
|
|
286
|
-
|
|
286
|
+
$(l, o, u);
|
|
287
287
|
},
|
|
288
288
|
d: function(l) {
|
|
289
|
-
l &&
|
|
289
|
+
l && U(o);
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
};
|
|
293
293
|
};
|
|
294
294
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
295
295
|
return;
|
|
296
|
-
const t = {}, r =
|
|
296
|
+
const t = {}, r = Xr(this);
|
|
297
297
|
for (const i of this.$$s)
|
|
298
298
|
i in r && (t[i] = [e(i)]);
|
|
299
299
|
for (const i of this.attributes) {
|
|
300
300
|
const o = this.$$g_p(i.name);
|
|
301
|
-
o in this.$$d || (this.$$d[o] =
|
|
301
|
+
o in this.$$d || (this.$$d[o] = ye(o, i.value, this.$$p_d, "toProp"));
|
|
302
302
|
}
|
|
303
303
|
for (const i in this.$$p_d)
|
|
304
304
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
316
316
|
this.$$r = !0;
|
|
317
317
|
for (const i in this.$$p_d)
|
|
318
318
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
319
|
-
const o =
|
|
319
|
+
const o = ye(
|
|
320
320
|
i,
|
|
321
321
|
this.$$d[i],
|
|
322
322
|
this.$$p_d,
|
|
@@ -338,7 +338,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
338
338
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
339
339
|
// and setting attributes through setAttribute etc, this is helpful
|
|
340
340
|
attributeChangedCallback(e, t, r) {
|
|
341
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
341
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
342
342
|
}
|
|
343
343
|
disconnectedCallback() {
|
|
344
344
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -351,7 +351,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
351
351
|
) || e;
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
|
-
function
|
|
354
|
+
function ye(e, t, r, n) {
|
|
355
355
|
const i = r[e]?.type;
|
|
356
356
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
357
357
|
return t;
|
|
@@ -380,8 +380,8 @@ function be(e, t, r, n) {
|
|
|
380
380
|
return t;
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
|
-
function
|
|
384
|
-
let s = class extends
|
|
383
|
+
function sn(e, t, r, n, i, o) {
|
|
384
|
+
let s = class extends Yt {
|
|
385
385
|
constructor() {
|
|
386
386
|
super(e, r, i), this.$$p_d = t;
|
|
387
387
|
}
|
|
@@ -397,7 +397,7 @@ function tn(e, t, r, n, i, o) {
|
|
|
397
397
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
398
398
|
},
|
|
399
399
|
set(l) {
|
|
400
|
-
l =
|
|
400
|
+
l = ye(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
|
|
401
401
|
}
|
|
402
402
|
});
|
|
403
403
|
}), n.forEach((a) => {
|
|
@@ -409,7 +409,7 @@ function tn(e, t, r, n, i, o) {
|
|
|
409
409
|
}), e.element = /** @type {any} */
|
|
410
410
|
s, s;
|
|
411
411
|
}
|
|
412
|
-
class
|
|
412
|
+
class an {
|
|
413
413
|
/**
|
|
414
414
|
* ### PRIVATE API
|
|
415
415
|
*
|
|
@@ -428,7 +428,7 @@ class rn {
|
|
|
428
428
|
$$set = void 0;
|
|
429
429
|
/** @returns {void} */
|
|
430
430
|
$destroy() {
|
|
431
|
-
|
|
431
|
+
rn(this, 1), this.$destroy = F;
|
|
432
432
|
}
|
|
433
433
|
/**
|
|
434
434
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -437,8 +437,8 @@ class rn {
|
|
|
437
437
|
* @returns {() => void}
|
|
438
438
|
*/
|
|
439
439
|
$on(t, r) {
|
|
440
|
-
if (!
|
|
441
|
-
return
|
|
440
|
+
if (!lt(r))
|
|
441
|
+
return F;
|
|
442
442
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
443
443
|
return n.push(r), () => {
|
|
444
444
|
const i = n.indexOf(r);
|
|
@@ -450,11 +450,11 @@ class rn {
|
|
|
450
450
|
* @returns {void}
|
|
451
451
|
*/
|
|
452
452
|
$set(t) {
|
|
453
|
-
this.$$set && !
|
|
453
|
+
this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
|
-
const
|
|
457
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
456
|
+
const un = "4";
|
|
457
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(un);
|
|
458
458
|
/*! *****************************************************************************
|
|
459
459
|
Copyright (c) Microsoft Corporation.
|
|
460
460
|
|
|
@@ -469,24 +469,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
469
469
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
470
470
|
PERFORMANCE OF THIS SOFTWARE.
|
|
471
471
|
***************************************************************************** */
|
|
472
|
-
var
|
|
473
|
-
return
|
|
472
|
+
var Ze = function(e, t) {
|
|
473
|
+
return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
474
474
|
r.__proto__ = n;
|
|
475
475
|
} || function(r, n) {
|
|
476
476
|
for (var i in n)
|
|
477
477
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
478
|
-
},
|
|
478
|
+
}, Ze(e, t);
|
|
479
479
|
};
|
|
480
480
|
function he(e, t) {
|
|
481
481
|
if (typeof t != "function" && t !== null)
|
|
482
482
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
483
|
-
|
|
483
|
+
Ze(e, t);
|
|
484
484
|
function r() {
|
|
485
485
|
this.constructor = e;
|
|
486
486
|
}
|
|
487
487
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function Qe(e) {
|
|
490
490
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
491
491
|
if (r)
|
|
492
492
|
return r.call(e);
|
|
@@ -498,7 +498,7 @@ function Xe(e) {
|
|
|
498
498
|
};
|
|
499
499
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
500
500
|
}
|
|
501
|
-
function
|
|
501
|
+
function qe(e, t) {
|
|
502
502
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
503
503
|
if (!r)
|
|
504
504
|
return e;
|
|
@@ -518,7 +518,7 @@ function ze(e, t) {
|
|
|
518
518
|
}
|
|
519
519
|
return o;
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function Je(e, t, r) {
|
|
522
522
|
if (arguments.length === 2)
|
|
523
523
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
524
524
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
@@ -527,13 +527,13 @@ function Ze(e, t, r) {
|
|
|
527
527
|
function G(e) {
|
|
528
528
|
return typeof e == "function";
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function Kt(e) {
|
|
531
531
|
var t = function(n) {
|
|
532
532
|
Error.call(n), n.stack = new Error().stack;
|
|
533
533
|
}, r = e(t);
|
|
534
534
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
535
535
|
}
|
|
536
|
-
var
|
|
536
|
+
var Fe = Kt(function(e) {
|
|
537
537
|
return function(r) {
|
|
538
538
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
539
539
|
` + r.map(function(n, i) {
|
|
@@ -542,13 +542,13 @@ var Le = qt(function(e) {
|
|
|
542
542
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
543
543
|
};
|
|
544
544
|
});
|
|
545
|
-
function
|
|
545
|
+
function Ye(e, t) {
|
|
546
546
|
if (e) {
|
|
547
547
|
var r = e.indexOf(t);
|
|
548
548
|
0 <= r && e.splice(r, 1);
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
var
|
|
551
|
+
var He = function() {
|
|
552
552
|
function e(t) {
|
|
553
553
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
554
554
|
}
|
|
@@ -560,7 +560,7 @@ var Pe = function() {
|
|
|
560
560
|
if (s)
|
|
561
561
|
if (this._parentage = null, Array.isArray(s))
|
|
562
562
|
try {
|
|
563
|
-
for (var a =
|
|
563
|
+
for (var a = Qe(s), l = a.next(); !l.done; l = a.next()) {
|
|
564
564
|
var u = l.value;
|
|
565
565
|
u.remove(this);
|
|
566
566
|
}
|
|
@@ -581,18 +581,18 @@ var Pe = function() {
|
|
|
581
581
|
try {
|
|
582
582
|
c();
|
|
583
583
|
} catch (b) {
|
|
584
|
-
o = b instanceof
|
|
584
|
+
o = b instanceof Fe ? b.errors : [b];
|
|
585
585
|
}
|
|
586
586
|
var f = this._finalizers;
|
|
587
587
|
if (f) {
|
|
588
588
|
this._finalizers = null;
|
|
589
589
|
try {
|
|
590
|
-
for (var h =
|
|
590
|
+
for (var h = Qe(f), d = h.next(); !d.done; d = h.next()) {
|
|
591
591
|
var m = d.value;
|
|
592
592
|
try {
|
|
593
|
-
|
|
593
|
+
xt(m);
|
|
594
594
|
} catch (b) {
|
|
595
|
-
o = o ?? [], b instanceof
|
|
595
|
+
o = o ?? [], b instanceof Fe ? o = Je(Je([], qe(o)), qe(b.errors)) : o.push(b);
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
} catch (b) {
|
|
@@ -607,13 +607,13 @@ var Pe = function() {
|
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
if (o)
|
|
610
|
-
throw new
|
|
610
|
+
throw new Fe(o);
|
|
611
611
|
}
|
|
612
612
|
}, e.prototype.add = function(t) {
|
|
613
613
|
var r;
|
|
614
614
|
if (t && t !== this)
|
|
615
615
|
if (this.closed)
|
|
616
|
-
|
|
616
|
+
xt(t);
|
|
617
617
|
else {
|
|
618
618
|
if (t instanceof e) {
|
|
619
619
|
if (t.closed || t._hasParent(this))
|
|
@@ -630,52 +630,52 @@ var Pe = function() {
|
|
|
630
630
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
631
631
|
}, e.prototype._removeParent = function(t) {
|
|
632
632
|
var r = this._parentage;
|
|
633
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
633
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ye(r, t);
|
|
634
634
|
}, e.prototype.remove = function(t) {
|
|
635
635
|
var r = this._finalizers;
|
|
636
|
-
r &&
|
|
636
|
+
r && Ye(r, t), t instanceof e && t._removeParent(this);
|
|
637
637
|
}, e.EMPTY = function() {
|
|
638
638
|
var t = new e();
|
|
639
639
|
return t.closed = !0, t;
|
|
640
640
|
}(), e;
|
|
641
|
-
}(),
|
|
642
|
-
function
|
|
643
|
-
return e instanceof
|
|
641
|
+
}(), er = He.EMPTY;
|
|
642
|
+
function tr(e) {
|
|
643
|
+
return e instanceof He || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
644
644
|
}
|
|
645
|
-
function
|
|
645
|
+
function xt(e) {
|
|
646
646
|
G(e) ? e() : e.unsubscribe();
|
|
647
647
|
}
|
|
648
|
-
var
|
|
648
|
+
var ln = {
|
|
649
649
|
Promise: void 0
|
|
650
|
-
},
|
|
650
|
+
}, cn = {
|
|
651
651
|
setTimeout: function(e, t) {
|
|
652
652
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
653
653
|
r[n - 2] = arguments[n];
|
|
654
|
-
return setTimeout.apply(void 0,
|
|
654
|
+
return setTimeout.apply(void 0, Je([e, t], qe(r)));
|
|
655
655
|
},
|
|
656
656
|
clearTimeout: function(e) {
|
|
657
657
|
return clearTimeout(e);
|
|
658
658
|
},
|
|
659
659
|
delegate: void 0
|
|
660
660
|
};
|
|
661
|
-
function
|
|
662
|
-
|
|
661
|
+
function hn(e) {
|
|
662
|
+
cn.setTimeout(function() {
|
|
663
663
|
throw e;
|
|
664
664
|
});
|
|
665
665
|
}
|
|
666
|
-
function
|
|
666
|
+
function Et() {
|
|
667
667
|
}
|
|
668
|
-
function
|
|
668
|
+
function ve(e) {
|
|
669
669
|
e();
|
|
670
670
|
}
|
|
671
|
-
var
|
|
671
|
+
var rr = function(e) {
|
|
672
672
|
he(t, e);
|
|
673
673
|
function t(r) {
|
|
674
674
|
var n = e.call(this) || this;
|
|
675
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
675
|
+
return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = mn, n;
|
|
676
676
|
}
|
|
677
677
|
return t.create = function(r, n, i) {
|
|
678
|
-
return new
|
|
678
|
+
return new Ke(r, n, i);
|
|
679
679
|
}, t.prototype.next = function(r) {
|
|
680
680
|
this.isStopped || this._next(r);
|
|
681
681
|
}, t.prototype.error = function(r) {
|
|
@@ -699,7 +699,7 @@ var Kt = function(e) {
|
|
|
699
699
|
this.unsubscribe();
|
|
700
700
|
}
|
|
701
701
|
}, t;
|
|
702
|
-
}(
|
|
702
|
+
}(He), fn = function() {
|
|
703
703
|
function e(t) {
|
|
704
704
|
this.partialObserver = t;
|
|
705
705
|
}
|
|
@@ -709,7 +709,7 @@ var Kt = function(e) {
|
|
|
709
709
|
try {
|
|
710
710
|
r.next(t);
|
|
711
711
|
} catch (n) {
|
|
712
|
-
|
|
712
|
+
be(n);
|
|
713
713
|
}
|
|
714
714
|
}, e.prototype.error = function(t) {
|
|
715
715
|
var r = this.partialObserver;
|
|
@@ -717,20 +717,20 @@ var Kt = function(e) {
|
|
|
717
717
|
try {
|
|
718
718
|
r.error(t);
|
|
719
719
|
} catch (n) {
|
|
720
|
-
|
|
720
|
+
be(n);
|
|
721
721
|
}
|
|
722
722
|
else
|
|
723
|
-
|
|
723
|
+
be(t);
|
|
724
724
|
}, e.prototype.complete = function() {
|
|
725
725
|
var t = this.partialObserver;
|
|
726
726
|
if (t.complete)
|
|
727
727
|
try {
|
|
728
728
|
t.complete();
|
|
729
729
|
} catch (r) {
|
|
730
|
-
|
|
730
|
+
be(r);
|
|
731
731
|
}
|
|
732
732
|
}, e;
|
|
733
|
-
}(),
|
|
733
|
+
}(), Ke = function(e) {
|
|
734
734
|
he(t, e);
|
|
735
735
|
function t(r, n, i) {
|
|
736
736
|
var o = e.call(this) || this, s;
|
|
@@ -738,35 +738,35 @@ var Kt = function(e) {
|
|
|
738
738
|
next: r ?? void 0,
|
|
739
739
|
error: n ?? void 0,
|
|
740
740
|
complete: i ?? void 0
|
|
741
|
-
} : s = r, o.destination = new
|
|
741
|
+
} : s = r, o.destination = new fn(s), o;
|
|
742
742
|
}
|
|
743
743
|
return t;
|
|
744
|
-
}(
|
|
745
|
-
function
|
|
746
|
-
|
|
744
|
+
}(rr);
|
|
745
|
+
function be(e) {
|
|
746
|
+
hn(e);
|
|
747
747
|
}
|
|
748
|
-
function
|
|
748
|
+
function pn(e) {
|
|
749
749
|
throw e;
|
|
750
750
|
}
|
|
751
|
-
var
|
|
751
|
+
var mn = {
|
|
752
752
|
closed: !0,
|
|
753
|
-
next:
|
|
754
|
-
error:
|
|
755
|
-
complete:
|
|
756
|
-
},
|
|
753
|
+
next: Et,
|
|
754
|
+
error: pn,
|
|
755
|
+
complete: Et
|
|
756
|
+
}, dn = function() {
|
|
757
757
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
758
758
|
}();
|
|
759
|
-
function
|
|
759
|
+
function bn(e) {
|
|
760
760
|
return e;
|
|
761
761
|
}
|
|
762
|
-
function
|
|
763
|
-
return e.length === 0 ?
|
|
762
|
+
function gn(e) {
|
|
763
|
+
return e.length === 0 ? bn : e.length === 1 ? e[0] : function(r) {
|
|
764
764
|
return e.reduce(function(n, i) {
|
|
765
765
|
return i(n);
|
|
766
766
|
}, r);
|
|
767
767
|
};
|
|
768
768
|
}
|
|
769
|
-
var
|
|
769
|
+
var wt = function() {
|
|
770
770
|
function e(t) {
|
|
771
771
|
t && (this._subscribe = t);
|
|
772
772
|
}
|
|
@@ -774,8 +774,8 @@ var _t = function() {
|
|
|
774
774
|
var r = new e();
|
|
775
775
|
return r.source = this, r.operator = t, r;
|
|
776
776
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
777
|
-
var i = this, o =
|
|
778
|
-
return
|
|
777
|
+
var i = this, o = vn(t) ? t : new Ke(t, r, n);
|
|
778
|
+
return ve(function() {
|
|
779
779
|
var s = i, a = s.operator, l = s.source;
|
|
780
780
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
781
781
|
}), o;
|
|
@@ -787,8 +787,8 @@ var _t = function() {
|
|
|
787
787
|
}
|
|
788
788
|
}, e.prototype.forEach = function(t, r) {
|
|
789
789
|
var n = this;
|
|
790
|
-
return r =
|
|
791
|
-
var s = new
|
|
790
|
+
return r = At(r), new r(function(i, o) {
|
|
791
|
+
var s = new Ke({
|
|
792
792
|
next: function(a) {
|
|
793
793
|
try {
|
|
794
794
|
t(a);
|
|
@@ -804,15 +804,15 @@ var _t = function() {
|
|
|
804
804
|
}, e.prototype._subscribe = function(t) {
|
|
805
805
|
var r;
|
|
806
806
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
807
|
-
}, e.prototype[
|
|
807
|
+
}, e.prototype[dn] = function() {
|
|
808
808
|
return this;
|
|
809
809
|
}, e.prototype.pipe = function() {
|
|
810
810
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
811
811
|
t[r] = arguments[r];
|
|
812
|
-
return
|
|
812
|
+
return gn(t)(this);
|
|
813
813
|
}, e.prototype.toPromise = function(t) {
|
|
814
814
|
var r = this;
|
|
815
|
-
return t =
|
|
815
|
+
return t = At(t), new t(function(n, i) {
|
|
816
816
|
var o;
|
|
817
817
|
r.subscribe(function(s) {
|
|
818
818
|
return o = s;
|
|
@@ -826,40 +826,40 @@ var _t = function() {
|
|
|
826
826
|
return new e(t);
|
|
827
827
|
}, e;
|
|
828
828
|
}();
|
|
829
|
-
function
|
|
829
|
+
function At(e) {
|
|
830
830
|
var t;
|
|
831
|
-
return (t = e ??
|
|
831
|
+
return (t = e ?? ln.Promise) !== null && t !== void 0 ? t : Promise;
|
|
832
832
|
}
|
|
833
|
-
function
|
|
833
|
+
function yn(e) {
|
|
834
834
|
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
835
835
|
}
|
|
836
|
-
function
|
|
837
|
-
return e && e instanceof
|
|
836
|
+
function vn(e) {
|
|
837
|
+
return e && e instanceof rr || yn(e) && tr(e);
|
|
838
838
|
}
|
|
839
|
-
var
|
|
839
|
+
var _n = Kt(function(e) {
|
|
840
840
|
return function() {
|
|
841
841
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
842
842
|
};
|
|
843
|
-
}),
|
|
843
|
+
}), nr = function(e) {
|
|
844
844
|
he(t, e);
|
|
845
845
|
function t() {
|
|
846
846
|
var r = e.call(this) || this;
|
|
847
847
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
848
848
|
}
|
|
849
849
|
return t.prototype.lift = function(r) {
|
|
850
|
-
var n = new
|
|
850
|
+
var n = new Pt(this, this);
|
|
851
851
|
return n.operator = r, n;
|
|
852
852
|
}, t.prototype._throwIfClosed = function() {
|
|
853
853
|
if (this.closed)
|
|
854
|
-
throw new
|
|
854
|
+
throw new _n();
|
|
855
855
|
}, t.prototype.next = function(r) {
|
|
856
856
|
var n = this;
|
|
857
|
-
|
|
857
|
+
ve(function() {
|
|
858
858
|
var i, o;
|
|
859
859
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
860
860
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
861
861
|
try {
|
|
862
|
-
for (var s =
|
|
862
|
+
for (var s = Qe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
863
863
|
var l = a.value;
|
|
864
864
|
l.next(r);
|
|
865
865
|
}
|
|
@@ -877,7 +877,7 @@ var bn = qt(function(e) {
|
|
|
877
877
|
});
|
|
878
878
|
}, t.prototype.error = function(r) {
|
|
879
879
|
var n = this;
|
|
880
|
-
|
|
880
|
+
ve(function() {
|
|
881
881
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
882
882
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
883
883
|
for (var i = n.observers; i.length; )
|
|
@@ -886,7 +886,7 @@ var bn = qt(function(e) {
|
|
|
886
886
|
});
|
|
887
887
|
}, t.prototype.complete = function() {
|
|
888
888
|
var r = this;
|
|
889
|
-
|
|
889
|
+
ve(function() {
|
|
890
890
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
891
891
|
r.isStopped = !0;
|
|
892
892
|
for (var n = r.observers; n.length; )
|
|
@@ -908,19 +908,19 @@ var bn = qt(function(e) {
|
|
|
908
908
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
909
909
|
}, t.prototype._innerSubscribe = function(r) {
|
|
910
910
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
911
|
-
return o || s ?
|
|
912
|
-
n.currentObservers = null,
|
|
911
|
+
return o || s ? er : (this.currentObservers = null, a.push(r), new He(function() {
|
|
912
|
+
n.currentObservers = null, Ye(a, r);
|
|
913
913
|
}));
|
|
914
914
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
915
915
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
916
916
|
i ? r.error(o) : s && r.complete();
|
|
917
917
|
}, t.prototype.asObservable = function() {
|
|
918
|
-
var r = new
|
|
918
|
+
var r = new wt();
|
|
919
919
|
return r.source = this, r;
|
|
920
920
|
}, t.create = function(r, n) {
|
|
921
|
-
return new
|
|
921
|
+
return new Pt(r, n);
|
|
922
922
|
}, t;
|
|
923
|
-
}(
|
|
923
|
+
}(wt), Pt = function(e) {
|
|
924
924
|
he(t, e);
|
|
925
925
|
function t(r, n) {
|
|
926
926
|
var i = e.call(this) || this;
|
|
@@ -937,17 +937,17 @@ var bn = qt(function(e) {
|
|
|
937
937
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
938
938
|
}, t.prototype._subscribe = function(r) {
|
|
939
939
|
var n, i;
|
|
940
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
940
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
|
|
941
941
|
}, t;
|
|
942
|
-
}(
|
|
942
|
+
}(nr), ir = {
|
|
943
943
|
now: function() {
|
|
944
|
-
return (
|
|
944
|
+
return (ir.delegate || Date).now();
|
|
945
945
|
},
|
|
946
946
|
delegate: void 0
|
|
947
|
-
},
|
|
947
|
+
}, xn = function(e) {
|
|
948
948
|
he(t, e);
|
|
949
949
|
function t(r, n, i) {
|
|
950
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
950
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ir);
|
|
951
951
|
var o = e.call(this) || this;
|
|
952
952
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
953
953
|
}
|
|
@@ -967,62 +967,62 @@ var bn = qt(function(e) {
|
|
|
967
967
|
u && o.splice(0, u + 1);
|
|
968
968
|
}
|
|
969
969
|
}, t;
|
|
970
|
-
}(
|
|
971
|
-
const
|
|
972
|
-
if (
|
|
973
|
-
const r = new
|
|
974
|
-
|
|
970
|
+
}(nr);
|
|
971
|
+
const St = [], Ht = {}, En = (e, t = 0) => {
|
|
972
|
+
if (St.indexOf(e) == -1) {
|
|
973
|
+
const r = new xn(t);
|
|
974
|
+
Ht[e] = r, St.push(e);
|
|
975
975
|
}
|
|
976
|
-
return
|
|
977
|
-
},
|
|
978
|
-
function
|
|
976
|
+
return Ht[e];
|
|
977
|
+
}, X = [];
|
|
978
|
+
function wn(e, t) {
|
|
979
979
|
return {
|
|
980
|
-
subscribe:
|
|
980
|
+
subscribe: Te(e, t).subscribe
|
|
981
981
|
};
|
|
982
982
|
}
|
|
983
|
-
function
|
|
983
|
+
function Te(e, t = F) {
|
|
984
984
|
let r;
|
|
985
985
|
const n = /* @__PURE__ */ new Set();
|
|
986
986
|
function i(a) {
|
|
987
|
-
if (
|
|
988
|
-
const l = !
|
|
987
|
+
if (Qt(e, a) && (e = a, r)) {
|
|
988
|
+
const l = !X.length;
|
|
989
989
|
for (const u of n)
|
|
990
|
-
u[1](),
|
|
990
|
+
u[1](), X.push(u, e);
|
|
991
991
|
if (l) {
|
|
992
|
-
for (let u = 0; u <
|
|
993
|
-
|
|
994
|
-
|
|
992
|
+
for (let u = 0; u < X.length; u += 2)
|
|
993
|
+
X[u][0](X[u + 1]);
|
|
994
|
+
X.length = 0;
|
|
995
995
|
}
|
|
996
996
|
}
|
|
997
997
|
}
|
|
998
998
|
function o(a) {
|
|
999
999
|
i(a(e));
|
|
1000
1000
|
}
|
|
1001
|
-
function s(a, l =
|
|
1001
|
+
function s(a, l = F) {
|
|
1002
1002
|
const u = [a, l];
|
|
1003
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1003
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || F), a(e), () => {
|
|
1004
1004
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1005
1005
|
};
|
|
1006
1006
|
}
|
|
1007
1007
|
return { set: i, update: o, subscribe: s };
|
|
1008
1008
|
}
|
|
1009
|
-
function
|
|
1009
|
+
function re(e, t, r) {
|
|
1010
1010
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1011
1011
|
if (!i.every(Boolean))
|
|
1012
1012
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1013
1013
|
const o = t.length < 2;
|
|
1014
|
-
return
|
|
1014
|
+
return wn(r, (s, a) => {
|
|
1015
1015
|
let l = !1;
|
|
1016
1016
|
const u = [];
|
|
1017
|
-
let c = 0, f =
|
|
1017
|
+
let c = 0, f = F;
|
|
1018
1018
|
const h = () => {
|
|
1019
1019
|
if (c)
|
|
1020
1020
|
return;
|
|
1021
1021
|
f();
|
|
1022
1022
|
const m = t(n ? u[0] : u, s, a);
|
|
1023
|
-
o ? s(m) : f =
|
|
1023
|
+
o ? s(m) : f = lt(m) ? m : F;
|
|
1024
1024
|
}, d = i.map(
|
|
1025
|
-
(m, b) =>
|
|
1025
|
+
(m, b) => qt(
|
|
1026
1026
|
m,
|
|
1027
1027
|
(g) => {
|
|
1028
1028
|
u[b] = g, c &= ~(1 << b), l && h();
|
|
@@ -1033,112 +1033,112 @@ function ne(e, t, r) {
|
|
|
1033
1033
|
)
|
|
1034
1034
|
);
|
|
1035
1035
|
return l = !0, h(), function() {
|
|
1036
|
-
|
|
1036
|
+
te(d), f(), l = !1;
|
|
1037
1037
|
};
|
|
1038
1038
|
});
|
|
1039
1039
|
}
|
|
1040
|
-
function
|
|
1040
|
+
function An(e) {
|
|
1041
1041
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1042
1042
|
}
|
|
1043
|
-
var
|
|
1044
|
-
return
|
|
1043
|
+
var Pn = function(t) {
|
|
1044
|
+
return Sn(t) && !Hn(t);
|
|
1045
1045
|
};
|
|
1046
|
-
function
|
|
1046
|
+
function Sn(e) {
|
|
1047
1047
|
return !!e && typeof e == "object";
|
|
1048
1048
|
}
|
|
1049
|
-
function
|
|
1049
|
+
function Hn(e) {
|
|
1050
1050
|
var t = Object.prototype.toString.call(e);
|
|
1051
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1051
|
+
return t === "[object RegExp]" || t === "[object Date]" || Bn(e);
|
|
1052
1052
|
}
|
|
1053
|
-
var
|
|
1054
|
-
function
|
|
1055
|
-
return e.$$typeof ===
|
|
1053
|
+
var Tn = typeof Symbol == "function" && Symbol.for, Mn = Tn ? Symbol.for("react.element") : 60103;
|
|
1054
|
+
function Bn(e) {
|
|
1055
|
+
return e.$$typeof === Mn;
|
|
1056
1056
|
}
|
|
1057
|
-
function
|
|
1057
|
+
function In(e) {
|
|
1058
1058
|
return Array.isArray(e) ? [] : {};
|
|
1059
1059
|
}
|
|
1060
1060
|
function le(e, t) {
|
|
1061
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1061
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(In(e), e, t) : e;
|
|
1062
1062
|
}
|
|
1063
|
-
function
|
|
1063
|
+
function On(e, t, r) {
|
|
1064
1064
|
return e.concat(t).map(function(n) {
|
|
1065
1065
|
return le(n, r);
|
|
1066
1066
|
});
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1068
|
+
function Cn(e, t) {
|
|
1069
1069
|
if (!t.customMerge)
|
|
1070
|
-
return
|
|
1070
|
+
return J;
|
|
1071
1071
|
var r = t.customMerge(e);
|
|
1072
|
-
return typeof r == "function" ? r :
|
|
1072
|
+
return typeof r == "function" ? r : J;
|
|
1073
1073
|
}
|
|
1074
|
-
function
|
|
1074
|
+
function Ln(e) {
|
|
1075
1075
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1076
1076
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1077
1077
|
}) : [];
|
|
1078
1078
|
}
|
|
1079
|
-
function
|
|
1080
|
-
return Object.keys(e).concat(
|
|
1079
|
+
function Tt(e) {
|
|
1080
|
+
return Object.keys(e).concat(Ln(e));
|
|
1081
1081
|
}
|
|
1082
|
-
function
|
|
1082
|
+
function or(e, t) {
|
|
1083
1083
|
try {
|
|
1084
1084
|
return t in e;
|
|
1085
1085
|
} catch {
|
|
1086
1086
|
return !1;
|
|
1087
1087
|
}
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1090
|
-
return
|
|
1089
|
+
function Nn(e, t) {
|
|
1090
|
+
return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1091
1091
|
}
|
|
1092
|
-
function
|
|
1092
|
+
function Rn(e, t, r) {
|
|
1093
1093
|
var n = {};
|
|
1094
|
-
return r.isMergeableObject(e) &&
|
|
1094
|
+
return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
|
|
1095
1095
|
n[i] = le(e[i], r);
|
|
1096
|
-
}),
|
|
1097
|
-
|
|
1096
|
+
}), Tt(t).forEach(function(i) {
|
|
1097
|
+
Nn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Cn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
|
|
1098
1098
|
}), n;
|
|
1099
1099
|
}
|
|
1100
|
-
function
|
|
1101
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1100
|
+
function J(e, t, r) {
|
|
1101
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || On, r.isMergeableObject = r.isMergeableObject || Pn, r.cloneUnlessOtherwiseSpecified = le;
|
|
1102
1102
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1103
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1103
|
+
return o ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : le(t, r);
|
|
1104
1104
|
}
|
|
1105
|
-
|
|
1105
|
+
J.all = function(t, r) {
|
|
1106
1106
|
if (!Array.isArray(t))
|
|
1107
1107
|
throw new Error("first argument should be an array");
|
|
1108
1108
|
return t.reduce(function(n, i) {
|
|
1109
|
-
return
|
|
1109
|
+
return J(n, i, r);
|
|
1110
1110
|
}, {});
|
|
1111
1111
|
};
|
|
1112
|
-
var
|
|
1113
|
-
const
|
|
1114
|
-
var
|
|
1115
|
-
return
|
|
1112
|
+
var Fn = J, Un = Fn;
|
|
1113
|
+
const $n = /* @__PURE__ */ An(Un);
|
|
1114
|
+
var et = function(e, t) {
|
|
1115
|
+
return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1116
1116
|
r.__proto__ = n;
|
|
1117
1117
|
} || function(r, n) {
|
|
1118
1118
|
for (var i in n)
|
|
1119
1119
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1120
|
-
},
|
|
1120
|
+
}, et(e, t);
|
|
1121
1121
|
};
|
|
1122
|
-
function
|
|
1122
|
+
function Me(e, t) {
|
|
1123
1123
|
if (typeof t != "function" && t !== null)
|
|
1124
1124
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1125
|
-
|
|
1125
|
+
et(e, t);
|
|
1126
1126
|
function r() {
|
|
1127
1127
|
this.constructor = e;
|
|
1128
1128
|
}
|
|
1129
1129
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1130
1130
|
}
|
|
1131
|
-
var
|
|
1132
|
-
return
|
|
1131
|
+
var D = function() {
|
|
1132
|
+
return D = Object.assign || function(t) {
|
|
1133
1133
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1134
1134
|
r = arguments[n];
|
|
1135
1135
|
for (var o in r)
|
|
1136
1136
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1137
1137
|
}
|
|
1138
1138
|
return t;
|
|
1139
|
-
},
|
|
1139
|
+
}, D.apply(this, arguments);
|
|
1140
1140
|
};
|
|
1141
|
-
function
|
|
1141
|
+
function Dn(e, t) {
|
|
1142
1142
|
var r = {};
|
|
1143
1143
|
for (var n in e)
|
|
1144
1144
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1147,43 +1147,43 @@ function Rn(e, t) {
|
|
|
1147
1147
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1148
1148
|
return r;
|
|
1149
1149
|
}
|
|
1150
|
-
function
|
|
1150
|
+
function Ue(e, t, r) {
|
|
1151
1151
|
if (r || arguments.length === 2)
|
|
1152
1152
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1153
1153
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1154
1154
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1155
1155
|
}
|
|
1156
|
-
function
|
|
1157
|
-
var r = t && t.cache ? t.cache :
|
|
1156
|
+
function $e(e, t) {
|
|
1157
|
+
var r = t && t.cache ? t.cache : zn, n = t && t.serializer ? t.serializer : Wn, i = t && t.strategy ? t.strategy : jn;
|
|
1158
1158
|
return i(e, {
|
|
1159
1159
|
cache: r,
|
|
1160
1160
|
serializer: n
|
|
1161
1161
|
});
|
|
1162
1162
|
}
|
|
1163
|
-
function
|
|
1163
|
+
function Gn(e) {
|
|
1164
1164
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1165
1165
|
}
|
|
1166
|
-
function
|
|
1167
|
-
var i =
|
|
1166
|
+
function kn(e, t, r, n) {
|
|
1167
|
+
var i = Gn(n) ? n : r(n), o = t.get(i);
|
|
1168
1168
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1169
1169
|
}
|
|
1170
|
-
function
|
|
1170
|
+
function sr(e, t, r) {
|
|
1171
1171
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1172
1172
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1173
1173
|
}
|
|
1174
|
-
function
|
|
1174
|
+
function ar(e, t, r, n, i) {
|
|
1175
1175
|
return r.bind(t, e, n, i);
|
|
1176
1176
|
}
|
|
1177
|
-
function
|
|
1178
|
-
var r = e.length === 1 ?
|
|
1179
|
-
return
|
|
1177
|
+
function jn(e, t) {
|
|
1178
|
+
var r = e.length === 1 ? kn : sr;
|
|
1179
|
+
return ar(e, this, r, t.cache.create(), t.serializer);
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1182
|
-
return
|
|
1181
|
+
function Vn(e, t) {
|
|
1182
|
+
return ar(e, this, sr, t.cache.create(), t.serializer);
|
|
1183
1183
|
}
|
|
1184
|
-
var
|
|
1184
|
+
var Wn = function() {
|
|
1185
1185
|
return JSON.stringify(arguments);
|
|
1186
|
-
},
|
|
1186
|
+
}, Xn = (
|
|
1187
1187
|
/** @class */
|
|
1188
1188
|
function() {
|
|
1189
1189
|
function e() {
|
|
@@ -1195,71 +1195,71 @@ var Gn = function() {
|
|
|
1195
1195
|
this.cache[t] = r;
|
|
1196
1196
|
}, e;
|
|
1197
1197
|
}()
|
|
1198
|
-
),
|
|
1198
|
+
), zn = {
|
|
1199
1199
|
create: function() {
|
|
1200
|
-
return new
|
|
1200
|
+
return new Xn();
|
|
1201
1201
|
}
|
|
1202
|
-
},
|
|
1203
|
-
variadic:
|
|
1204
|
-
},
|
|
1205
|
-
return
|
|
1202
|
+
}, De = {
|
|
1203
|
+
variadic: Vn
|
|
1204
|
+
}, Ae = function() {
|
|
1205
|
+
return Ae = Object.assign || function(t) {
|
|
1206
1206
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1207
1207
|
r = arguments[n];
|
|
1208
1208
|
for (var o in r)
|
|
1209
1209
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1210
1210
|
}
|
|
1211
1211
|
return t;
|
|
1212
|
-
},
|
|
1212
|
+
}, Ae.apply(this, arguments);
|
|
1213
1213
|
};
|
|
1214
|
-
var
|
|
1214
|
+
var _;
|
|
1215
1215
|
(function(e) {
|
|
1216
1216
|
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";
|
|
1217
|
-
})(
|
|
1217
|
+
})(_ || (_ = {}));
|
|
1218
1218
|
var H;
|
|
1219
1219
|
(function(e) {
|
|
1220
1220
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1221
1221
|
})(H || (H = {}));
|
|
1222
|
-
var
|
|
1222
|
+
var Y;
|
|
1223
1223
|
(function(e) {
|
|
1224
1224
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1225
|
-
})(
|
|
1226
|
-
function
|
|
1225
|
+
})(Y || (Y = {}));
|
|
1226
|
+
function Mt(e) {
|
|
1227
1227
|
return e.type === H.literal;
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1229
|
+
function Zn(e) {
|
|
1230
1230
|
return e.type === H.argument;
|
|
1231
1231
|
}
|
|
1232
|
-
function
|
|
1232
|
+
function ur(e) {
|
|
1233
1233
|
return e.type === H.number;
|
|
1234
1234
|
}
|
|
1235
|
-
function
|
|
1235
|
+
function lr(e) {
|
|
1236
1236
|
return e.type === H.date;
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function cr(e) {
|
|
1239
1239
|
return e.type === H.time;
|
|
1240
1240
|
}
|
|
1241
|
-
function
|
|
1241
|
+
function hr(e) {
|
|
1242
1242
|
return e.type === H.select;
|
|
1243
1243
|
}
|
|
1244
|
-
function
|
|
1244
|
+
function fr(e) {
|
|
1245
1245
|
return e.type === H.plural;
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1247
|
+
function Qn(e) {
|
|
1248
1248
|
return e.type === H.pound;
|
|
1249
1249
|
}
|
|
1250
|
-
function
|
|
1250
|
+
function pr(e) {
|
|
1251
1251
|
return e.type === H.tag;
|
|
1252
1252
|
}
|
|
1253
|
-
function
|
|
1254
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1253
|
+
function mr(e) {
|
|
1254
|
+
return !!(e && typeof e == "object" && e.type === Y.number);
|
|
1255
1255
|
}
|
|
1256
|
-
function
|
|
1257
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1256
|
+
function tt(e) {
|
|
1257
|
+
return !!(e && typeof e == "object" && e.type === Y.dateTime);
|
|
1258
1258
|
}
|
|
1259
|
-
var
|
|
1260
|
-
function
|
|
1259
|
+
var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, qn = /(?:[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;
|
|
1260
|
+
function Jn(e) {
|
|
1261
1261
|
var t = {};
|
|
1262
|
-
return e.replace(
|
|
1262
|
+
return e.replace(qn, function(r) {
|
|
1263
1263
|
var n = r.length;
|
|
1264
1264
|
switch (r[0]) {
|
|
1265
1265
|
case "G":
|
|
@@ -1358,11 +1358,11 @@ var T = function() {
|
|
|
1358
1358
|
return t;
|
|
1359
1359
|
}, T.apply(this, arguments);
|
|
1360
1360
|
};
|
|
1361
|
-
var
|
|
1362
|
-
function
|
|
1361
|
+
var Yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1362
|
+
function Kn(e) {
|
|
1363
1363
|
if (e.length === 0)
|
|
1364
1364
|
throw new Error("Number skeleton cannot be empty");
|
|
1365
|
-
for (var t = e.split(
|
|
1365
|
+
for (var t = e.split(Yn).filter(function(h) {
|
|
1366
1366
|
return h.length > 0;
|
|
1367
1367
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1368
1368
|
var o = i[n], s = o.split("/");
|
|
@@ -1377,17 +1377,17 @@ function Qn(e) {
|
|
|
1377
1377
|
}
|
|
1378
1378
|
return r;
|
|
1379
1379
|
}
|
|
1380
|
-
function
|
|
1380
|
+
function ei(e) {
|
|
1381
1381
|
return e.replace(/^(.*?)-/, "");
|
|
1382
1382
|
}
|
|
1383
|
-
var
|
|
1384
|
-
function
|
|
1383
|
+
var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, ti = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
|
|
1384
|
+
function It(e) {
|
|
1385
1385
|
var t = {};
|
|
1386
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1386
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(br, function(r, n, i) {
|
|
1387
1387
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1388
1388
|
}), t;
|
|
1389
1389
|
}
|
|
1390
|
-
function
|
|
1390
|
+
function yr(e) {
|
|
1391
1391
|
switch (e) {
|
|
1392
1392
|
case "sign-auto":
|
|
1393
1393
|
return {
|
|
@@ -1427,7 +1427,7 @@ function dr(e) {
|
|
|
1427
1427
|
};
|
|
1428
1428
|
}
|
|
1429
1429
|
}
|
|
1430
|
-
function
|
|
1430
|
+
function ri(e) {
|
|
1431
1431
|
var t;
|
|
1432
1432
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1433
1433
|
notation: "engineering"
|
|
@@ -1435,17 +1435,17 @@ function Yn(e) {
|
|
|
1435
1435
|
notation: "scientific"
|
|
1436
1436
|
}, e = e.slice(1)), t) {
|
|
1437
1437
|
var r = e.slice(0, 2);
|
|
1438
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1438
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
|
|
1439
1439
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1440
1440
|
t.minimumIntegerDigits = e.length;
|
|
1441
1441
|
}
|
|
1442
1442
|
return t;
|
|
1443
1443
|
}
|
|
1444
|
-
function
|
|
1445
|
-
var t = {}, r =
|
|
1444
|
+
function Ot(e) {
|
|
1445
|
+
var t = {}, r = yr(e);
|
|
1446
1446
|
return r || t;
|
|
1447
1447
|
}
|
|
1448
|
-
function
|
|
1448
|
+
function ni(e) {
|
|
1449
1449
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1450
1450
|
var i = n[r];
|
|
1451
1451
|
switch (i.stem) {
|
|
@@ -1469,7 +1469,7 @@ function Kn(e) {
|
|
|
1469
1469
|
continue;
|
|
1470
1470
|
case "measure-unit":
|
|
1471
1471
|
case "unit":
|
|
1472
|
-
t.style = "unit", t.unit =
|
|
1472
|
+
t.style = "unit", t.unit = ei(i.options[0]);
|
|
1473
1473
|
continue;
|
|
1474
1474
|
case "compact-short":
|
|
1475
1475
|
case "K":
|
|
@@ -1481,12 +1481,12 @@ function Kn(e) {
|
|
|
1481
1481
|
continue;
|
|
1482
1482
|
case "scientific":
|
|
1483
1483
|
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1484
|
-
return T(T({}, l),
|
|
1484
|
+
return T(T({}, l), Ot(u));
|
|
1485
1485
|
}, {}));
|
|
1486
1486
|
continue;
|
|
1487
1487
|
case "engineering":
|
|
1488
1488
|
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1489
|
-
return T(T({}, l),
|
|
1489
|
+
return T(T({}, l), Ot(u));
|
|
1490
1490
|
}, {}));
|
|
1491
1491
|
continue;
|
|
1492
1492
|
case "notation-simple":
|
|
@@ -1531,7 +1531,7 @@ function Kn(e) {
|
|
|
1531
1531
|
case "integer-width":
|
|
1532
1532
|
if (i.options.length > 1)
|
|
1533
1533
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1534
|
-
i.options[0].replace(
|
|
1534
|
+
i.options[0].replace(ti, function(l, u, c, f, h, d) {
|
|
1535
1535
|
if (u)
|
|
1536
1536
|
t.minimumIntegerDigits = c.length;
|
|
1537
1537
|
else {
|
|
@@ -1544,32 +1544,32 @@ function Kn(e) {
|
|
|
1544
1544
|
});
|
|
1545
1545
|
continue;
|
|
1546
1546
|
}
|
|
1547
|
-
if (
|
|
1547
|
+
if (gr.test(i.stem)) {
|
|
1548
1548
|
t.minimumIntegerDigits = i.stem.length;
|
|
1549
1549
|
continue;
|
|
1550
1550
|
}
|
|
1551
|
-
if (
|
|
1551
|
+
if (Bt.test(i.stem)) {
|
|
1552
1552
|
if (i.options.length > 1)
|
|
1553
1553
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1554
|
-
i.stem.replace(
|
|
1554
|
+
i.stem.replace(Bt, function(l, u, c, f, h, d) {
|
|
1555
1555
|
return c === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && d ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1556
1556
|
});
|
|
1557
1557
|
var o = i.options[0];
|
|
1558
|
-
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t),
|
|
1558
|
+
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), It(o)));
|
|
1559
1559
|
continue;
|
|
1560
1560
|
}
|
|
1561
|
-
if (
|
|
1562
|
-
t = T(T({}, t),
|
|
1561
|
+
if (br.test(i.stem)) {
|
|
1562
|
+
t = T(T({}, t), It(i.stem));
|
|
1563
1563
|
continue;
|
|
1564
1564
|
}
|
|
1565
|
-
var s =
|
|
1565
|
+
var s = yr(i.stem);
|
|
1566
1566
|
s && (t = T(T({}, t), s));
|
|
1567
|
-
var a =
|
|
1567
|
+
var a = ri(i.stem);
|
|
1568
1568
|
a && (t = T(T({}, t), a));
|
|
1569
1569
|
}
|
|
1570
1570
|
return t;
|
|
1571
1571
|
}
|
|
1572
|
-
var
|
|
1572
|
+
var ge = {
|
|
1573
1573
|
"001": [
|
|
1574
1574
|
"H",
|
|
1575
1575
|
"h"
|
|
@@ -2984,13 +2984,13 @@ var de = {
|
|
|
2984
2984
|
"h"
|
|
2985
2985
|
]
|
|
2986
2986
|
};
|
|
2987
|
-
function
|
|
2987
|
+
function ii(e, t) {
|
|
2988
2988
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2989
2989
|
var i = e.charAt(n);
|
|
2990
2990
|
if (i === "j") {
|
|
2991
2991
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2992
2992
|
o++, n++;
|
|
2993
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2993
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = oi(t);
|
|
2994
2994
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2995
2995
|
r += l;
|
|
2996
2996
|
for (; s-- > 0; )
|
|
@@ -3000,7 +3000,7 @@ function ei(e, t) {
|
|
|
3000
3000
|
}
|
|
3001
3001
|
return r;
|
|
3002
3002
|
}
|
|
3003
|
-
function
|
|
3003
|
+
function oi(e) {
|
|
3004
3004
|
var t = e.hourCycle;
|
|
3005
3005
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3006
3006
|
e.hourCycles && // @ts-ignore
|
|
@@ -3019,23 +3019,23 @@ function ti(e) {
|
|
|
3019
3019
|
}
|
|
3020
3020
|
var r = e.language, n;
|
|
3021
3021
|
r !== "root" && (n = e.maximize().region);
|
|
3022
|
-
var i =
|
|
3022
|
+
var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
|
|
3023
3023
|
return i[0];
|
|
3024
3024
|
}
|
|
3025
|
-
var
|
|
3026
|
-
function
|
|
3025
|
+
var Ge, si = new RegExp("^".concat(dr.source, "*")), ai = new RegExp("".concat(dr.source, "*$"));
|
|
3026
|
+
function E(e, t) {
|
|
3027
3027
|
return { start: e, end: t };
|
|
3028
3028
|
}
|
|
3029
|
-
var
|
|
3029
|
+
var ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), li = !!String.fromCodePoint, ci = !!Object.fromEntries, hi = !!String.prototype.codePointAt, fi = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, mi = !!Number.isSafeInteger, di = mi ? Number.isSafeInteger : function(e) {
|
|
3030
3030
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3031
|
-
},
|
|
3031
|
+
}, rt = !0;
|
|
3032
3032
|
try {
|
|
3033
|
-
var
|
|
3034
|
-
|
|
3033
|
+
var bi = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3034
|
+
rt = ((Ge = bi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
|
3035
3035
|
} catch {
|
|
3036
|
-
|
|
3036
|
+
rt = !1;
|
|
3037
3037
|
}
|
|
3038
|
-
var
|
|
3038
|
+
var Ct = ui ? (
|
|
3039
3039
|
// Native
|
|
3040
3040
|
function(t, r, n) {
|
|
3041
3041
|
return t.startsWith(r, n);
|
|
@@ -3045,7 +3045,7 @@ var Bt = ii ? (
|
|
|
3045
3045
|
function(t, r, n) {
|
|
3046
3046
|
return t.slice(n, n + r.length) === r;
|
|
3047
3047
|
}
|
|
3048
|
-
),
|
|
3048
|
+
), nt = li ? String.fromCodePoint : (
|
|
3049
3049
|
// IE11
|
|
3050
3050
|
function() {
|
|
3051
3051
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3057,9 +3057,9 @@ var Bt = ii ? (
|
|
|
3057
3057
|
}
|
|
3058
3058
|
return n;
|
|
3059
3059
|
}
|
|
3060
|
-
),
|
|
3060
|
+
), Lt = (
|
|
3061
3061
|
// native
|
|
3062
|
-
|
|
3062
|
+
ci ? Object.fromEntries : (
|
|
3063
3063
|
// Ponyfill
|
|
3064
3064
|
function(t) {
|
|
3065
3065
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3069,7 +3069,7 @@ var Bt = ii ? (
|
|
|
3069
3069
|
return r;
|
|
3070
3070
|
}
|
|
3071
3071
|
)
|
|
3072
|
-
),
|
|
3072
|
+
), vr = hi ? (
|
|
3073
3073
|
// Native
|
|
3074
3074
|
function(t, r) {
|
|
3075
3075
|
return t.codePointAt(r);
|
|
@@ -3083,7 +3083,7 @@ var Bt = ii ? (
|
|
|
3083
3083
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3084
3084
|
}
|
|
3085
3085
|
}
|
|
3086
|
-
),
|
|
3086
|
+
), gi = fi ? (
|
|
3087
3087
|
// Native
|
|
3088
3088
|
function(t) {
|
|
3089
3089
|
return t.trimStart();
|
|
@@ -3091,9 +3091,9 @@ var Bt = ii ? (
|
|
|
3091
3091
|
) : (
|
|
3092
3092
|
// Ponyfill
|
|
3093
3093
|
function(t) {
|
|
3094
|
-
return t.replace(
|
|
3094
|
+
return t.replace(si, "");
|
|
3095
3095
|
}
|
|
3096
|
-
),
|
|
3096
|
+
), yi = pi ? (
|
|
3097
3097
|
// Native
|
|
3098
3098
|
function(t) {
|
|
3099
3099
|
return t.trimEnd();
|
|
@@ -3101,32 +3101,32 @@ var Bt = ii ? (
|
|
|
3101
3101
|
) : (
|
|
3102
3102
|
// Ponyfill
|
|
3103
3103
|
function(t) {
|
|
3104
|
-
return t.replace(
|
|
3104
|
+
return t.replace(ai, "");
|
|
3105
3105
|
}
|
|
3106
3106
|
);
|
|
3107
|
-
function
|
|
3107
|
+
function _r(e, t) {
|
|
3108
3108
|
return new RegExp(e, t);
|
|
3109
3109
|
}
|
|
3110
|
-
var
|
|
3111
|
-
if (
|
|
3112
|
-
var
|
|
3113
|
-
|
|
3110
|
+
var it;
|
|
3111
|
+
if (rt) {
|
|
3112
|
+
var Nt = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3113
|
+
it = function(t, r) {
|
|
3114
3114
|
var n;
|
|
3115
|
-
|
|
3116
|
-
var i =
|
|
3115
|
+
Nt.lastIndex = r;
|
|
3116
|
+
var i = Nt.exec(t);
|
|
3117
3117
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3118
3118
|
};
|
|
3119
3119
|
} else
|
|
3120
|
-
|
|
3120
|
+
it = function(t, r) {
|
|
3121
3121
|
for (var n = []; ; ) {
|
|
3122
|
-
var i =
|
|
3123
|
-
if (i === void 0 ||
|
|
3122
|
+
var i = vr(t, r);
|
|
3123
|
+
if (i === void 0 || xr(i) || Ei(i))
|
|
3124
3124
|
break;
|
|
3125
3125
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3126
3126
|
}
|
|
3127
|
-
return
|
|
3127
|
+
return nt.apply(void 0, n);
|
|
3128
3128
|
};
|
|
3129
|
-
var
|
|
3129
|
+
var vi = (
|
|
3130
3130
|
/** @class */
|
|
3131
3131
|
function() {
|
|
3132
3132
|
function e(t, r) {
|
|
@@ -3151,13 +3151,13 @@ var di = (
|
|
|
3151
3151
|
var a = this.clonePosition();
|
|
3152
3152
|
this.bump(), i.push({
|
|
3153
3153
|
type: H.pound,
|
|
3154
|
-
location:
|
|
3154
|
+
location: E(a, this.clonePosition())
|
|
3155
3155
|
});
|
|
3156
3156
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3157
3157
|
if (n)
|
|
3158
3158
|
break;
|
|
3159
|
-
return this.error(
|
|
3160
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3159
|
+
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3160
|
+
} else if (o === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
|
|
3161
3161
|
var s = this.parseTag(t, r);
|
|
3162
3162
|
if (s.err)
|
|
3163
3163
|
return s;
|
|
@@ -3180,7 +3180,7 @@ var di = (
|
|
|
3180
3180
|
val: {
|
|
3181
3181
|
type: H.literal,
|
|
3182
3182
|
value: "<".concat(i, "/>"),
|
|
3183
|
-
location:
|
|
3183
|
+
location: E(n, this.clonePosition())
|
|
3184
3184
|
},
|
|
3185
3185
|
err: null
|
|
3186
3186
|
};
|
|
@@ -3190,25 +3190,25 @@ var di = (
|
|
|
3190
3190
|
return o;
|
|
3191
3191
|
var s = o.val, a = this.clonePosition();
|
|
3192
3192
|
if (this.bumpIf("</")) {
|
|
3193
|
-
if (this.isEOF() || !
|
|
3194
|
-
return this.error(
|
|
3193
|
+
if (this.isEOF() || !ot(this.char()))
|
|
3194
|
+
return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
|
|
3195
3195
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3196
|
-
return i !== u ? this.error(
|
|
3196
|
+
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3197
3197
|
val: {
|
|
3198
3198
|
type: H.tag,
|
|
3199
3199
|
value: i,
|
|
3200
3200
|
children: s,
|
|
3201
|
-
location:
|
|
3201
|
+
location: E(n, this.clonePosition())
|
|
3202
3202
|
},
|
|
3203
3203
|
err: null
|
|
3204
|
-
} : this.error(
|
|
3204
|
+
} : this.error(_.INVALID_TAG, E(a, this.clonePosition())));
|
|
3205
3205
|
} else
|
|
3206
|
-
return this.error(
|
|
3206
|
+
return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
|
|
3207
3207
|
} else
|
|
3208
|
-
return this.error(
|
|
3208
|
+
return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
|
|
3209
3209
|
}, e.prototype.parseTagName = function() {
|
|
3210
3210
|
var t = this.offset();
|
|
3211
|
-
for (this.bump(); !this.isEOF() &&
|
|
3211
|
+
for (this.bump(); !this.isEOF() && xi(this.char()); )
|
|
3212
3212
|
this.bump();
|
|
3213
3213
|
return this.message.slice(t, this.offset());
|
|
3214
3214
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3230,14 +3230,14 @@ var di = (
|
|
|
3230
3230
|
}
|
|
3231
3231
|
break;
|
|
3232
3232
|
}
|
|
3233
|
-
var l =
|
|
3233
|
+
var l = E(n, this.clonePosition());
|
|
3234
3234
|
return {
|
|
3235
3235
|
val: { type: H.literal, value: i, location: l },
|
|
3236
3236
|
err: null
|
|
3237
3237
|
};
|
|
3238
3238
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3239
3239
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3240
|
-
!
|
|
3240
|
+
!_i(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3241
3241
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3242
3242
|
if (this.isEOF() || this.char() !== 39)
|
|
3243
3243
|
return null;
|
|
@@ -3271,23 +3271,23 @@ var di = (
|
|
|
3271
3271
|
r.push(n);
|
|
3272
3272
|
this.bump();
|
|
3273
3273
|
}
|
|
3274
|
-
return
|
|
3274
|
+
return nt.apply(void 0, r);
|
|
3275
3275
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3276
3276
|
if (this.isEOF())
|
|
3277
3277
|
return null;
|
|
3278
3278
|
var n = this.char();
|
|
3279
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3279
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), nt(n));
|
|
3280
3280
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3281
3281
|
var n = this.clonePosition();
|
|
3282
3282
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3283
|
-
return this.error(
|
|
3283
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
|
|
3284
3284
|
if (this.char() === 125)
|
|
3285
|
-
return this.bump(), this.error(
|
|
3285
|
+
return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
|
|
3286
3286
|
var i = this.parseIdentifierIfPossible().value;
|
|
3287
3287
|
if (!i)
|
|
3288
|
-
return this.error(
|
|
3288
|
+
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3289
3289
|
if (this.bumpSpace(), this.isEOF())
|
|
3290
|
-
return this.error(
|
|
3290
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
|
|
3291
3291
|
switch (this.char()) {
|
|
3292
3292
|
case 125:
|
|
3293
3293
|
return this.bump(), {
|
|
@@ -3295,25 +3295,25 @@ var di = (
|
|
|
3295
3295
|
type: H.argument,
|
|
3296
3296
|
// value does not include the opening and closing braces.
|
|
3297
3297
|
value: i,
|
|
3298
|
-
location:
|
|
3298
|
+
location: E(n, this.clonePosition())
|
|
3299
3299
|
},
|
|
3300
3300
|
err: null
|
|
3301
3301
|
};
|
|
3302
3302
|
case 44:
|
|
3303
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3303
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3304
3304
|
default:
|
|
3305
|
-
return this.error(
|
|
3305
|
+
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3306
3306
|
}
|
|
3307
3307
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3308
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3308
|
+
var t = this.clonePosition(), r = this.offset(), n = it(this.message, r), i = r + n.length;
|
|
3309
3309
|
this.bumpTo(i);
|
|
3310
|
-
var o = this.clonePosition(), s =
|
|
3310
|
+
var o = this.clonePosition(), s = E(t, o);
|
|
3311
3311
|
return { value: n, location: s };
|
|
3312
3312
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3313
3313
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3314
3314
|
switch (a) {
|
|
3315
3315
|
case "":
|
|
3316
|
-
return this.error(
|
|
3316
|
+
return this.error(_.EXPECT_ARGUMENT_TYPE, E(s, l));
|
|
3317
3317
|
case "number":
|
|
3318
3318
|
case "date":
|
|
3319
3319
|
case "time": {
|
|
@@ -3324,18 +3324,18 @@ var di = (
|
|
|
3324
3324
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3325
3325
|
if (f.err)
|
|
3326
3326
|
return f;
|
|
3327
|
-
var h =
|
|
3327
|
+
var h = yi(f.val);
|
|
3328
3328
|
if (h.length === 0)
|
|
3329
|
-
return this.error(
|
|
3330
|
-
var d =
|
|
3329
|
+
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3330
|
+
var d = E(c, this.clonePosition());
|
|
3331
3331
|
u = { style: h, styleLocation: d };
|
|
3332
3332
|
}
|
|
3333
3333
|
var m = this.tryParseArgumentClose(i);
|
|
3334
3334
|
if (m.err)
|
|
3335
3335
|
return m;
|
|
3336
|
-
var b =
|
|
3337
|
-
if (u &&
|
|
3338
|
-
var g =
|
|
3336
|
+
var b = E(i, this.clonePosition());
|
|
3337
|
+
if (u && Ct(u?.style, "::", 0)) {
|
|
3338
|
+
var g = gi(u.style.slice(2));
|
|
3339
3339
|
if (a === "number") {
|
|
3340
3340
|
var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
|
3341
3341
|
return f.err ? f : {
|
|
@@ -3344,17 +3344,17 @@ var di = (
|
|
|
3344
3344
|
};
|
|
3345
3345
|
} else {
|
|
3346
3346
|
if (g.length === 0)
|
|
3347
|
-
return this.error(
|
|
3348
|
-
var
|
|
3349
|
-
this.locale && (
|
|
3347
|
+
return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
|
|
3348
|
+
var A = g;
|
|
3349
|
+
this.locale && (A = ii(g, this.locale));
|
|
3350
3350
|
var h = {
|
|
3351
|
-
type:
|
|
3352
|
-
pattern:
|
|
3351
|
+
type: Y.dateTime,
|
|
3352
|
+
pattern: A,
|
|
3353
3353
|
location: u.styleLocation,
|
|
3354
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3355
|
-
},
|
|
3354
|
+
parsedOptions: this.shouldParseSkeletons ? Jn(A) : {}
|
|
3355
|
+
}, I = a === "date" ? H.date : H.time;
|
|
3356
3356
|
return {
|
|
3357
|
-
val: { type:
|
|
3357
|
+
val: { type: I, value: n, location: b, style: h },
|
|
3358
3358
|
err: null
|
|
3359
3359
|
};
|
|
3360
3360
|
}
|
|
@@ -3374,50 +3374,50 @@ var di = (
|
|
|
3374
3374
|
case "select": {
|
|
3375
3375
|
var v = this.clonePosition();
|
|
3376
3376
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3377
|
-
return this.error(
|
|
3377
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(v, Ae({}, v)));
|
|
3378
3378
|
this.bumpSpace();
|
|
3379
|
-
var
|
|
3380
|
-
if (a !== "select" &&
|
|
3379
|
+
var M = this.parseIdentifierIfPossible(), P = 0;
|
|
3380
|
+
if (a !== "select" && M.value === "offset") {
|
|
3381
3381
|
if (!this.bumpIf(":"))
|
|
3382
|
-
return this.error(
|
|
3382
|
+
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
|
|
3383
3383
|
this.bumpSpace();
|
|
3384
|
-
var f = this.tryParseDecimalInteger(
|
|
3384
|
+
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3385
3385
|
if (f.err)
|
|
3386
3386
|
return f;
|
|
3387
|
-
this.bumpSpace(),
|
|
3387
|
+
this.bumpSpace(), M = this.parseIdentifierIfPossible(), P = f.val;
|
|
3388
3388
|
}
|
|
3389
|
-
var
|
|
3390
|
-
if (
|
|
3391
|
-
return
|
|
3389
|
+
var O = this.tryParsePluralOrSelectOptions(t, a, r, M);
|
|
3390
|
+
if (O.err)
|
|
3391
|
+
return O;
|
|
3392
3392
|
var m = this.tryParseArgumentClose(i);
|
|
3393
3393
|
if (m.err)
|
|
3394
3394
|
return m;
|
|
3395
|
-
var
|
|
3395
|
+
var pe = E(i, this.clonePosition());
|
|
3396
3396
|
return a === "select" ? {
|
|
3397
3397
|
val: {
|
|
3398
3398
|
type: H.select,
|
|
3399
3399
|
value: n,
|
|
3400
|
-
options:
|
|
3401
|
-
location:
|
|
3400
|
+
options: Lt(O.val),
|
|
3401
|
+
location: pe
|
|
3402
3402
|
},
|
|
3403
3403
|
err: null
|
|
3404
3404
|
} : {
|
|
3405
3405
|
val: {
|
|
3406
3406
|
type: H.plural,
|
|
3407
3407
|
value: n,
|
|
3408
|
-
options:
|
|
3409
|
-
offset:
|
|
3408
|
+
options: Lt(O.val),
|
|
3409
|
+
offset: P,
|
|
3410
3410
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3411
|
-
location:
|
|
3411
|
+
location: pe
|
|
3412
3412
|
},
|
|
3413
3413
|
err: null
|
|
3414
3414
|
};
|
|
3415
3415
|
}
|
|
3416
3416
|
default:
|
|
3417
|
-
return this.error(
|
|
3417
|
+
return this.error(_.INVALID_ARGUMENT_TYPE, E(s, l));
|
|
3418
3418
|
}
|
|
3419
3419
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3420
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3420
|
+
return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3421
3421
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3422
3422
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3423
3423
|
var n = this.char();
|
|
@@ -3426,7 +3426,7 @@ var di = (
|
|
|
3426
3426
|
this.bump();
|
|
3427
3427
|
var i = this.clonePosition();
|
|
3428
3428
|
if (!this.bumpUntil("'"))
|
|
3429
|
-
return this.error(
|
|
3429
|
+
return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
|
|
3430
3430
|
this.bump();
|
|
3431
3431
|
break;
|
|
3432
3432
|
}
|
|
@@ -3456,16 +3456,16 @@ var di = (
|
|
|
3456
3456
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3457
3457
|
var n = [];
|
|
3458
3458
|
try {
|
|
3459
|
-
n =
|
|
3459
|
+
n = Kn(t);
|
|
3460
3460
|
} catch {
|
|
3461
|
-
return this.error(
|
|
3461
|
+
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3462
3462
|
}
|
|
3463
3463
|
return {
|
|
3464
3464
|
val: {
|
|
3465
|
-
type:
|
|
3465
|
+
type: Y.number,
|
|
3466
3466
|
tokens: n,
|
|
3467
3467
|
location: r,
|
|
3468
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3468
|
+
parsedOptions: this.shouldParseSkeletons ? ni(n) : {}
|
|
3469
3469
|
},
|
|
3470
3470
|
err: null
|
|
3471
3471
|
};
|
|
@@ -3474,19 +3474,19 @@ var di = (
|
|
|
3474
3474
|
if (u.length === 0) {
|
|
3475
3475
|
var f = this.clonePosition();
|
|
3476
3476
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3477
|
-
var h = this.tryParseDecimalInteger(
|
|
3477
|
+
var h = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3478
3478
|
if (h.err)
|
|
3479
3479
|
return h;
|
|
3480
|
-
c =
|
|
3480
|
+
c = E(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3481
3481
|
} else
|
|
3482
3482
|
break;
|
|
3483
3483
|
}
|
|
3484
3484
|
if (l.has(u))
|
|
3485
|
-
return this.error(r === "select" ?
|
|
3485
|
+
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3486
3486
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3487
3487
|
var d = this.clonePosition();
|
|
3488
3488
|
if (!this.bumpIf("{"))
|
|
3489
|
-
return this.error(r === "select" ?
|
|
3489
|
+
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
|
|
3490
3490
|
var m = this.parseMessage(t + 1, r, n);
|
|
3491
3491
|
if (m.err)
|
|
3492
3492
|
return m;
|
|
@@ -3497,11 +3497,11 @@ var di = (
|
|
|
3497
3497
|
u,
|
|
3498
3498
|
{
|
|
3499
3499
|
value: m.val,
|
|
3500
|
-
location:
|
|
3500
|
+
location: E(d, this.clonePosition())
|
|
3501
3501
|
}
|
|
3502
3502
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
|
|
3503
3503
|
}
|
|
3504
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3504
|
+
return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3505
3505
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3506
3506
|
var n = 1, i = this.clonePosition();
|
|
3507
3507
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3512,8 +3512,8 @@ var di = (
|
|
|
3512
3512
|
else
|
|
3513
3513
|
break;
|
|
3514
3514
|
}
|
|
3515
|
-
var l =
|
|
3516
|
-
return o ? (s *= n,
|
|
3515
|
+
var l = E(i, this.clonePosition());
|
|
3516
|
+
return o ? (s *= n, di(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3517
3517
|
}, e.prototype.offset = function() {
|
|
3518
3518
|
return this.position.offset;
|
|
3519
3519
|
}, e.prototype.isEOF = function() {
|
|
@@ -3528,7 +3528,7 @@ var di = (
|
|
|
3528
3528
|
var t = this.position.offset;
|
|
3529
3529
|
if (t >= this.message.length)
|
|
3530
3530
|
throw Error("out of bound");
|
|
3531
|
-
var r =
|
|
3531
|
+
var r = vr(this.message, t);
|
|
3532
3532
|
if (r === void 0)
|
|
3533
3533
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3534
3534
|
return r;
|
|
@@ -3547,7 +3547,7 @@ var di = (
|
|
|
3547
3547
|
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);
|
|
3548
3548
|
}
|
|
3549
3549
|
}, e.prototype.bumpIf = function(t) {
|
|
3550
|
-
if (
|
|
3550
|
+
if (Ct(this.message, t, this.offset())) {
|
|
3551
3551
|
for (var r = 0; r < t.length; r++)
|
|
3552
3552
|
this.bump();
|
|
3553
3553
|
return !0;
|
|
@@ -3569,7 +3569,7 @@ var di = (
|
|
|
3569
3569
|
break;
|
|
3570
3570
|
}
|
|
3571
3571
|
}, e.prototype.bumpSpace = function() {
|
|
3572
|
-
for (; !this.isEOF() &&
|
|
3572
|
+
for (; !this.isEOF() && xr(this.char()); )
|
|
3573
3573
|
this.bump();
|
|
3574
3574
|
}, e.prototype.peek = function() {
|
|
3575
3575
|
if (this.isEOF())
|
|
@@ -3579,47 +3579,47 @@ var di = (
|
|
|
3579
3579
|
}, e;
|
|
3580
3580
|
}()
|
|
3581
3581
|
);
|
|
3582
|
-
function
|
|
3582
|
+
function ot(e) {
|
|
3583
3583
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3584
3584
|
}
|
|
3585
|
-
function
|
|
3586
|
-
return
|
|
3585
|
+
function _i(e) {
|
|
3586
|
+
return ot(e) || e === 47;
|
|
3587
3587
|
}
|
|
3588
|
-
function
|
|
3588
|
+
function xi(e) {
|
|
3589
3589
|
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;
|
|
3590
3590
|
}
|
|
3591
|
-
function
|
|
3591
|
+
function xr(e) {
|
|
3592
3592
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3593
3593
|
}
|
|
3594
|
-
function
|
|
3594
|
+
function Ei(e) {
|
|
3595
3595
|
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;
|
|
3596
3596
|
}
|
|
3597
|
-
function
|
|
3597
|
+
function st(e) {
|
|
3598
3598
|
e.forEach(function(t) {
|
|
3599
|
-
if (delete t.location,
|
|
3599
|
+
if (delete t.location, hr(t) || fr(t))
|
|
3600
3600
|
for (var r in t.options)
|
|
3601
|
-
delete t.options[r].location,
|
|
3601
|
+
delete t.options[r].location, st(t.options[r].value);
|
|
3602
3602
|
else
|
|
3603
|
-
|
|
3603
|
+
ur(t) && mr(t.style) || (lr(t) || cr(t)) && tt(t.style) ? delete t.style.location : pr(t) && st(t.children);
|
|
3604
3604
|
});
|
|
3605
3605
|
}
|
|
3606
|
-
function
|
|
3607
|
-
t === void 0 && (t = {}), t =
|
|
3608
|
-
var r = new
|
|
3606
|
+
function wi(e, t) {
|
|
3607
|
+
t === void 0 && (t = {}), t = Ae({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3608
|
+
var r = new vi(e, t).parse();
|
|
3609
3609
|
if (r.err) {
|
|
3610
|
-
var n = SyntaxError(
|
|
3610
|
+
var n = SyntaxError(_[r.err.kind]);
|
|
3611
3611
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3612
3612
|
}
|
|
3613
|
-
return t?.captureLocation ||
|
|
3613
|
+
return t?.captureLocation || st(r.val), r.val;
|
|
3614
3614
|
}
|
|
3615
|
-
var
|
|
3615
|
+
var K;
|
|
3616
3616
|
(function(e) {
|
|
3617
3617
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3618
|
-
})(
|
|
3619
|
-
var
|
|
3618
|
+
})(K || (K = {}));
|
|
3619
|
+
var Be = (
|
|
3620
3620
|
/** @class */
|
|
3621
3621
|
function(e) {
|
|
3622
|
-
|
|
3622
|
+
Me(t, e);
|
|
3623
3623
|
function t(r, n, i) {
|
|
3624
3624
|
var o = e.call(this, r) || this;
|
|
3625
3625
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3628,155 +3628,155 @@ var Te = (
|
|
|
3628
3628
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3629
3629
|
}, t;
|
|
3630
3630
|
}(Error)
|
|
3631
|
-
),
|
|
3631
|
+
), Rt = (
|
|
3632
3632
|
/** @class */
|
|
3633
3633
|
function(e) {
|
|
3634
|
-
|
|
3634
|
+
Me(t, e);
|
|
3635
3635
|
function t(r, n, i, o) {
|
|
3636
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3636
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
|
|
3637
3637
|
}
|
|
3638
3638
|
return t;
|
|
3639
|
-
}(
|
|
3640
|
-
),
|
|
3639
|
+
}(Be)
|
|
3640
|
+
), Ai = (
|
|
3641
3641
|
/** @class */
|
|
3642
3642
|
function(e) {
|
|
3643
|
-
|
|
3643
|
+
Me(t, e);
|
|
3644
3644
|
function t(r, n, i) {
|
|
3645
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3645
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
|
|
3646
3646
|
}
|
|
3647
3647
|
return t;
|
|
3648
|
-
}(
|
|
3649
|
-
),
|
|
3648
|
+
}(Be)
|
|
3649
|
+
), Pi = (
|
|
3650
3650
|
/** @class */
|
|
3651
3651
|
function(e) {
|
|
3652
|
-
|
|
3652
|
+
Me(t, e);
|
|
3653
3653
|
function t(r, n) {
|
|
3654
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3654
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
|
|
3655
3655
|
}
|
|
3656
3656
|
return t;
|
|
3657
|
-
}(
|
|
3658
|
-
),
|
|
3657
|
+
}(Be)
|
|
3658
|
+
), L;
|
|
3659
3659
|
(function(e) {
|
|
3660
3660
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3661
|
-
})(
|
|
3662
|
-
function
|
|
3661
|
+
})(L || (L = {}));
|
|
3662
|
+
function Si(e) {
|
|
3663
3663
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3664
3664
|
var n = t[t.length - 1];
|
|
3665
|
-
return !n || n.type !==
|
|
3665
|
+
return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
|
|
3666
3666
|
}, []);
|
|
3667
3667
|
}
|
|
3668
|
-
function
|
|
3668
|
+
function Hi(e) {
|
|
3669
3669
|
return typeof e == "function";
|
|
3670
3670
|
}
|
|
3671
|
-
function
|
|
3672
|
-
if (e.length === 1 &&
|
|
3671
|
+
function _e(e, t, r, n, i, o, s) {
|
|
3672
|
+
if (e.length === 1 && Mt(e[0]))
|
|
3673
3673
|
return [
|
|
3674
3674
|
{
|
|
3675
|
-
type:
|
|
3675
|
+
type: L.literal,
|
|
3676
3676
|
value: e[0].value
|
|
3677
3677
|
}
|
|
3678
3678
|
];
|
|
3679
3679
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3680
3680
|
var c = u[l];
|
|
3681
|
-
if (
|
|
3681
|
+
if (Mt(c)) {
|
|
3682
3682
|
a.push({
|
|
3683
|
-
type:
|
|
3683
|
+
type: L.literal,
|
|
3684
3684
|
value: c.value
|
|
3685
3685
|
});
|
|
3686
3686
|
continue;
|
|
3687
3687
|
}
|
|
3688
|
-
if (
|
|
3688
|
+
if (Qn(c)) {
|
|
3689
3689
|
typeof o == "number" && a.push({
|
|
3690
|
-
type:
|
|
3690
|
+
type: L.literal,
|
|
3691
3691
|
value: r.getNumberFormat(t).format(o)
|
|
3692
3692
|
});
|
|
3693
3693
|
continue;
|
|
3694
3694
|
}
|
|
3695
3695
|
var f = c.value;
|
|
3696
3696
|
if (!(i && f in i))
|
|
3697
|
-
throw new
|
|
3697
|
+
throw new Pi(f, s);
|
|
3698
3698
|
var h = i[f];
|
|
3699
|
-
if (
|
|
3699
|
+
if (Zn(c)) {
|
|
3700
3700
|
(!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
|
|
3701
|
-
type: typeof h == "string" ?
|
|
3701
|
+
type: typeof h == "string" ? L.literal : L.object,
|
|
3702
3702
|
value: h
|
|
3703
3703
|
});
|
|
3704
3704
|
continue;
|
|
3705
3705
|
}
|
|
3706
|
-
if (
|
|
3707
|
-
var d = typeof c.style == "string" ? n.date[c.style] :
|
|
3706
|
+
if (lr(c)) {
|
|
3707
|
+
var d = typeof c.style == "string" ? n.date[c.style] : tt(c.style) ? c.style.parsedOptions : void 0;
|
|
3708
3708
|
a.push({
|
|
3709
|
-
type:
|
|
3709
|
+
type: L.literal,
|
|
3710
3710
|
value: r.getDateTimeFormat(t, d).format(h)
|
|
3711
3711
|
});
|
|
3712
3712
|
continue;
|
|
3713
3713
|
}
|
|
3714
|
-
if (
|
|
3715
|
-
var d = typeof c.style == "string" ? n.time[c.style] :
|
|
3714
|
+
if (cr(c)) {
|
|
3715
|
+
var d = typeof c.style == "string" ? n.time[c.style] : tt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3716
3716
|
a.push({
|
|
3717
|
-
type:
|
|
3717
|
+
type: L.literal,
|
|
3718
3718
|
value: r.getDateTimeFormat(t, d).format(h)
|
|
3719
3719
|
});
|
|
3720
3720
|
continue;
|
|
3721
3721
|
}
|
|
3722
|
-
if (
|
|
3723
|
-
var d = typeof c.style == "string" ? n.number[c.style] :
|
|
3722
|
+
if (ur(c)) {
|
|
3723
|
+
var d = typeof c.style == "string" ? n.number[c.style] : mr(c.style) ? c.style.parsedOptions : void 0;
|
|
3724
3724
|
d && d.scale && (h = h * (d.scale || 1)), a.push({
|
|
3725
|
-
type:
|
|
3725
|
+
type: L.literal,
|
|
3726
3726
|
value: r.getNumberFormat(t, d).format(h)
|
|
3727
3727
|
});
|
|
3728
3728
|
continue;
|
|
3729
3729
|
}
|
|
3730
|
-
if (
|
|
3730
|
+
if (pr(c)) {
|
|
3731
3731
|
var m = c.children, b = c.value, g = i[b];
|
|
3732
|
-
if (!
|
|
3733
|
-
throw new
|
|
3734
|
-
var
|
|
3735
|
-
return
|
|
3732
|
+
if (!Hi(g))
|
|
3733
|
+
throw new Ai(b, "function", s);
|
|
3734
|
+
var A = _e(m, t, r, n, i, o), I = g(A.map(function(P) {
|
|
3735
|
+
return P.value;
|
|
3736
3736
|
}));
|
|
3737
|
-
Array.isArray(
|
|
3737
|
+
Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(P) {
|
|
3738
3738
|
return {
|
|
3739
|
-
type: typeof
|
|
3740
|
-
value:
|
|
3739
|
+
type: typeof P == "string" ? L.literal : L.object,
|
|
3740
|
+
value: P
|
|
3741
3741
|
};
|
|
3742
3742
|
}));
|
|
3743
3743
|
}
|
|
3744
|
-
if (
|
|
3744
|
+
if (hr(c)) {
|
|
3745
3745
|
var v = c.options[h] || c.options.other;
|
|
3746
3746
|
if (!v)
|
|
3747
|
-
throw new
|
|
3748
|
-
a.push.apply(a,
|
|
3747
|
+
throw new Rt(c.value, h, Object.keys(c.options), s);
|
|
3748
|
+
a.push.apply(a, _e(v.value, t, r, n, i));
|
|
3749
3749
|
continue;
|
|
3750
3750
|
}
|
|
3751
|
-
if (
|
|
3751
|
+
if (fr(c)) {
|
|
3752
3752
|
var v = c.options["=".concat(h)];
|
|
3753
3753
|
if (!v) {
|
|
3754
3754
|
if (!Intl.PluralRules)
|
|
3755
|
-
throw new
|
|
3755
|
+
throw new Be(`Intl.PluralRules is not available in this environment.
|
|
3756
3756
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3757
|
-
`,
|
|
3758
|
-
var
|
|
3759
|
-
v = c.options[
|
|
3757
|
+
`, K.MISSING_INTL_API, s);
|
|
3758
|
+
var M = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
|
|
3759
|
+
v = c.options[M] || c.options.other;
|
|
3760
3760
|
}
|
|
3761
3761
|
if (!v)
|
|
3762
|
-
throw new
|
|
3763
|
-
a.push.apply(a,
|
|
3762
|
+
throw new Rt(c.value, h, Object.keys(c.options), s);
|
|
3763
|
+
a.push.apply(a, _e(v.value, t, r, n, i, h - (c.offset || 0)));
|
|
3764
3764
|
continue;
|
|
3765
3765
|
}
|
|
3766
3766
|
}
|
|
3767
|
-
return
|
|
3767
|
+
return Si(a);
|
|
3768
3768
|
}
|
|
3769
|
-
function
|
|
3770
|
-
return t ?
|
|
3771
|
-
return r[n] =
|
|
3769
|
+
function Ti(e, t) {
|
|
3770
|
+
return t ? D(D(D({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3771
|
+
return r[n] = D(D({}, e[n]), t[n] || {}), r;
|
|
3772
3772
|
}, {})) : e;
|
|
3773
3773
|
}
|
|
3774
|
-
function
|
|
3774
|
+
function Mi(e, t) {
|
|
3775
3775
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3776
|
-
return r[n] =
|
|
3777
|
-
},
|
|
3776
|
+
return r[n] = Ti(e[n], t[n]), r;
|
|
3777
|
+
}, D({}, e)) : e;
|
|
3778
3778
|
}
|
|
3779
|
-
function
|
|
3779
|
+
function ke(e) {
|
|
3780
3780
|
return {
|
|
3781
3781
|
create: function() {
|
|
3782
3782
|
return {
|
|
@@ -3790,39 +3790,39 @@ function $e(e) {
|
|
|
3790
3790
|
}
|
|
3791
3791
|
};
|
|
3792
3792
|
}
|
|
3793
|
-
function
|
|
3793
|
+
function Bi(e) {
|
|
3794
3794
|
return e === void 0 && (e = {
|
|
3795
3795
|
number: {},
|
|
3796
3796
|
dateTime: {},
|
|
3797
3797
|
pluralRules: {}
|
|
3798
3798
|
}), {
|
|
3799
|
-
getNumberFormat:
|
|
3799
|
+
getNumberFormat: $e(function() {
|
|
3800
3800
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3801
3801
|
r[n] = arguments[n];
|
|
3802
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3802
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
|
|
3803
3803
|
}, {
|
|
3804
|
-
cache:
|
|
3805
|
-
strategy:
|
|
3804
|
+
cache: ke(e.number),
|
|
3805
|
+
strategy: De.variadic
|
|
3806
3806
|
}),
|
|
3807
|
-
getDateTimeFormat:
|
|
3807
|
+
getDateTimeFormat: $e(function() {
|
|
3808
3808
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3809
3809
|
r[n] = arguments[n];
|
|
3810
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3810
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
|
|
3811
3811
|
}, {
|
|
3812
|
-
cache:
|
|
3813
|
-
strategy:
|
|
3812
|
+
cache: ke(e.dateTime),
|
|
3813
|
+
strategy: De.variadic
|
|
3814
3814
|
}),
|
|
3815
|
-
getPluralRules:
|
|
3815
|
+
getPluralRules: $e(function() {
|
|
3816
3816
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3817
3817
|
r[n] = arguments[n];
|
|
3818
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3818
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
|
|
3819
3819
|
}, {
|
|
3820
|
-
cache:
|
|
3821
|
-
strategy:
|
|
3820
|
+
cache: ke(e.pluralRules),
|
|
3821
|
+
strategy: De.variadic
|
|
3822
3822
|
})
|
|
3823
3823
|
};
|
|
3824
3824
|
}
|
|
3825
|
-
var
|
|
3825
|
+
var Ii = (
|
|
3826
3826
|
/** @class */
|
|
3827
3827
|
function() {
|
|
3828
3828
|
function e(t, r, n, i) {
|
|
@@ -3837,11 +3837,11 @@ var Hi = (
|
|
|
3837
3837
|
if (u.length === 1)
|
|
3838
3838
|
return u[0].value;
|
|
3839
3839
|
var c = u.reduce(function(f, h) {
|
|
3840
|
-
return !f.length || h.type !==
|
|
3840
|
+
return !f.length || h.type !== L.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
|
|
3841
3841
|
}, []);
|
|
3842
3842
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3843
3843
|
}, this.formatToParts = function(l) {
|
|
3844
|
-
return
|
|
3844
|
+
return _e(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3845
3845
|
}, this.resolvedOptions = function() {
|
|
3846
3846
|
var l;
|
|
3847
3847
|
return {
|
|
@@ -3854,13 +3854,13 @@ var Hi = (
|
|
|
3854
3854
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3855
3855
|
var s = i || {};
|
|
3856
3856
|
s.formatters;
|
|
3857
|
-
var a =
|
|
3858
|
-
this.ast = e.__parse(t,
|
|
3857
|
+
var a = Dn(s, ["formatters"]);
|
|
3858
|
+
this.ast = e.__parse(t, D(D({}, a), { locale: this.resolvedLocale }));
|
|
3859
3859
|
} else
|
|
3860
3860
|
this.ast = t;
|
|
3861
3861
|
if (!Array.isArray(this.ast))
|
|
3862
3862
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3863
|
-
this.formats =
|
|
3863
|
+
this.formats = Mi(e.formats, n), this.formatters = i && i.formatters || Bi(this.formatterCache);
|
|
3864
3864
|
}
|
|
3865
3865
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3866
3866
|
get: function() {
|
|
@@ -3873,7 +3873,7 @@ var Hi = (
|
|
|
3873
3873
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3874
3874
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3875
3875
|
}
|
|
3876
|
-
}, e.__parse =
|
|
3876
|
+
}, e.__parse = wi, e.formats = {
|
|
3877
3877
|
number: {
|
|
3878
3878
|
integer: {
|
|
3879
3879
|
maximumFractionDigits: 0
|
|
@@ -3934,7 +3934,7 @@ var Hi = (
|
|
|
3934
3934
|
}, e;
|
|
3935
3935
|
}()
|
|
3936
3936
|
);
|
|
3937
|
-
function
|
|
3937
|
+
function Oi(e, t) {
|
|
3938
3938
|
if (t == null)
|
|
3939
3939
|
return;
|
|
3940
3940
|
if (t in e)
|
|
@@ -3955,92 +3955,92 @@ function Ti(e, t) {
|
|
|
3955
3955
|
n = void 0;
|
|
3956
3956
|
return n;
|
|
3957
3957
|
}
|
|
3958
|
-
const k = {},
|
|
3958
|
+
const k = {}, Ci = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), Er = (e, t) => {
|
|
3959
3959
|
if (t == null)
|
|
3960
3960
|
return;
|
|
3961
3961
|
if (t in k && e in k[t])
|
|
3962
3962
|
return k[t][e];
|
|
3963
|
-
const r =
|
|
3963
|
+
const r = Ie(t);
|
|
3964
3964
|
for (let n = 0; n < r.length; n++) {
|
|
3965
|
-
const i = r[n], o =
|
|
3965
|
+
const i = r[n], o = Ni(i, e);
|
|
3966
3966
|
if (o)
|
|
3967
|
-
return
|
|
3967
|
+
return Ci(e, t, o);
|
|
3968
3968
|
}
|
|
3969
3969
|
};
|
|
3970
|
-
let
|
|
3971
|
-
const fe =
|
|
3972
|
-
function
|
|
3973
|
-
return
|
|
3970
|
+
let ct;
|
|
3971
|
+
const fe = Te({});
|
|
3972
|
+
function Li(e) {
|
|
3973
|
+
return ct[e] || null;
|
|
3974
3974
|
}
|
|
3975
|
-
function
|
|
3976
|
-
return e in
|
|
3975
|
+
function wr(e) {
|
|
3976
|
+
return e in ct;
|
|
3977
3977
|
}
|
|
3978
|
-
function
|
|
3979
|
-
if (!
|
|
3978
|
+
function Ni(e, t) {
|
|
3979
|
+
if (!wr(e))
|
|
3980
3980
|
return null;
|
|
3981
|
-
const r =
|
|
3982
|
-
return
|
|
3981
|
+
const r = Li(e);
|
|
3982
|
+
return Oi(r, t);
|
|
3983
3983
|
}
|
|
3984
|
-
function
|
|
3984
|
+
function Ri(e) {
|
|
3985
3985
|
if (e == null)
|
|
3986
3986
|
return;
|
|
3987
|
-
const t =
|
|
3987
|
+
const t = Ie(e);
|
|
3988
3988
|
for (let r = 0; r < t.length; r++) {
|
|
3989
3989
|
const n = t[r];
|
|
3990
|
-
if (
|
|
3990
|
+
if (wr(n))
|
|
3991
3991
|
return n;
|
|
3992
3992
|
}
|
|
3993
3993
|
}
|
|
3994
|
-
function
|
|
3995
|
-
delete k[e], fe.update((r) => (r[e] =
|
|
3994
|
+
function Ar(e, ...t) {
|
|
3995
|
+
delete k[e], fe.update((r) => (r[e] = $n.all([r[e] || {}, ...t]), r));
|
|
3996
3996
|
}
|
|
3997
|
-
|
|
3997
|
+
re(
|
|
3998
3998
|
[fe],
|
|
3999
3999
|
([e]) => Object.keys(e)
|
|
4000
4000
|
);
|
|
4001
|
-
fe.subscribe((e) =>
|
|
4002
|
-
const
|
|
4003
|
-
function
|
|
4004
|
-
|
|
4001
|
+
fe.subscribe((e) => ct = e);
|
|
4002
|
+
const xe = {};
|
|
4003
|
+
function Fi(e, t) {
|
|
4004
|
+
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
|
4005
4005
|
}
|
|
4006
|
-
function
|
|
4007
|
-
return
|
|
4006
|
+
function Pr(e) {
|
|
4007
|
+
return xe[e];
|
|
4008
4008
|
}
|
|
4009
|
-
function
|
|
4010
|
-
return
|
|
4011
|
-
const r =
|
|
4009
|
+
function Ui(e) {
|
|
4010
|
+
return Ie(e).map((t) => {
|
|
4011
|
+
const r = Pr(t);
|
|
4012
4012
|
return [t, r ? [...r] : []];
|
|
4013
4013
|
}).filter(([, t]) => t.length > 0);
|
|
4014
4014
|
}
|
|
4015
|
-
function
|
|
4016
|
-
return e == null ? !1 :
|
|
4015
|
+
function at(e) {
|
|
4016
|
+
return e == null ? !1 : Ie(e).some(
|
|
4017
4017
|
(t) => {
|
|
4018
4018
|
var r;
|
|
4019
|
-
return (r =
|
|
4019
|
+
return (r = Pr(t)) == null ? void 0 : r.size;
|
|
4020
4020
|
}
|
|
4021
4021
|
);
|
|
4022
4022
|
}
|
|
4023
|
-
function
|
|
4023
|
+
function $i(e, t) {
|
|
4024
4024
|
return Promise.all(
|
|
4025
|
-
t.map((n) => (
|
|
4026
|
-
).then((n) =>
|
|
4025
|
+
t.map((n) => (Fi(e, n), n().then((i) => i.default || i)))
|
|
4026
|
+
).then((n) => Ar(e, ...n));
|
|
4027
4027
|
}
|
|
4028
4028
|
const se = {};
|
|
4029
|
-
function
|
|
4030
|
-
if (!
|
|
4029
|
+
function Sr(e) {
|
|
4030
|
+
if (!at(e))
|
|
4031
4031
|
return e in se ? se[e] : Promise.resolve();
|
|
4032
|
-
const t =
|
|
4032
|
+
const t = Ui(e);
|
|
4033
4033
|
return se[e] = Promise.all(
|
|
4034
4034
|
t.map(
|
|
4035
|
-
([r, n]) =>
|
|
4035
|
+
([r, n]) => $i(r, n)
|
|
4036
4036
|
)
|
|
4037
4037
|
).then(() => {
|
|
4038
|
-
if (
|
|
4039
|
-
return
|
|
4038
|
+
if (at(e))
|
|
4039
|
+
return Sr(e);
|
|
4040
4040
|
delete se[e];
|
|
4041
4041
|
}), se[e];
|
|
4042
4042
|
}
|
|
4043
|
-
const
|
|
4043
|
+
const Di = {
|
|
4044
4044
|
number: {
|
|
4045
4045
|
scientific: { notation: "scientific" },
|
|
4046
4046
|
engineering: { notation: "engineering" },
|
|
@@ -4069,135 +4069,135 @@ const Ri = {
|
|
|
4069
4069
|
timeZoneName: "short"
|
|
4070
4070
|
}
|
|
4071
4071
|
}
|
|
4072
|
-
},
|
|
4072
|
+
}, Gi = {
|
|
4073
4073
|
fallbackLocale: null,
|
|
4074
4074
|
loadingDelay: 200,
|
|
4075
|
-
formats:
|
|
4075
|
+
formats: Di,
|
|
4076
4076
|
warnOnMissingMessages: !0,
|
|
4077
4077
|
handleMissingMessage: void 0,
|
|
4078
4078
|
ignoreTag: !0
|
|
4079
|
-
},
|
|
4080
|
-
function
|
|
4081
|
-
return
|
|
4079
|
+
}, ki = Gi;
|
|
4080
|
+
function ee() {
|
|
4081
|
+
return ki;
|
|
4082
4082
|
}
|
|
4083
|
-
const
|
|
4084
|
-
var
|
|
4083
|
+
const je = Te(!1);
|
|
4084
|
+
var ji = Object.defineProperty, Vi = Object.defineProperties, Wi = Object.getOwnPropertyDescriptors, Ft = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zi = (e, t) => {
|
|
4085
4085
|
for (var r in t || (t = {}))
|
|
4086
|
-
|
|
4087
|
-
if (
|
|
4088
|
-
for (var r of
|
|
4089
|
-
|
|
4086
|
+
Xi.call(t, r) && Ut(e, r, t[r]);
|
|
4087
|
+
if (Ft)
|
|
4088
|
+
for (var r of Ft(t))
|
|
4089
|
+
zi.call(t, r) && Ut(e, r, t[r]);
|
|
4090
4090
|
return e;
|
|
4091
|
-
},
|
|
4092
|
-
let
|
|
4093
|
-
const
|
|
4094
|
-
function
|
|
4091
|
+
}, Qi = (e, t) => Vi(e, Wi(t));
|
|
4092
|
+
let ut;
|
|
4093
|
+
const Pe = Te(null);
|
|
4094
|
+
function $t(e) {
|
|
4095
4095
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4096
4096
|
}
|
|
4097
|
-
function
|
|
4098
|
-
const r =
|
|
4099
|
-
return t ? [.../* @__PURE__ */ new Set([...r,
|
|
4097
|
+
function Ie(e, t = ee().fallbackLocale) {
|
|
4098
|
+
const r = $t(e);
|
|
4099
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
|
|
4100
4100
|
}
|
|
4101
4101
|
function j() {
|
|
4102
|
-
return
|
|
4102
|
+
return ut ?? void 0;
|
|
4103
4103
|
}
|
|
4104
|
-
|
|
4105
|
-
|
|
4104
|
+
Pe.subscribe((e) => {
|
|
4105
|
+
ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4106
4106
|
});
|
|
4107
|
-
const
|
|
4108
|
-
if (e &&
|
|
4109
|
-
const { loadingDelay: t } =
|
|
4107
|
+
const qi = (e) => {
|
|
4108
|
+
if (e && Ri(e) && at(e)) {
|
|
4109
|
+
const { loadingDelay: t } = ee();
|
|
4110
4110
|
let r;
|
|
4111
4111
|
return typeof window < "u" && j() != null && t ? r = window.setTimeout(
|
|
4112
|
-
() =>
|
|
4112
|
+
() => je.set(!0),
|
|
4113
4113
|
t
|
|
4114
|
-
) :
|
|
4115
|
-
|
|
4114
|
+
) : je.set(!0), Sr(e).then(() => {
|
|
4115
|
+
Pe.set(e);
|
|
4116
4116
|
}).finally(() => {
|
|
4117
|
-
clearTimeout(r),
|
|
4117
|
+
clearTimeout(r), je.set(!1);
|
|
4118
4118
|
});
|
|
4119
4119
|
}
|
|
4120
|
-
return
|
|
4121
|
-
},
|
|
4122
|
-
set:
|
|
4123
|
-
}),
|
|
4120
|
+
return Pe.set(e);
|
|
4121
|
+
}, ne = Qi(Zi({}, Pe), {
|
|
4122
|
+
set: qi
|
|
4123
|
+
}), Oe = (e) => {
|
|
4124
4124
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4125
4125
|
return (n) => {
|
|
4126
4126
|
const i = JSON.stringify(n);
|
|
4127
4127
|
return i in t ? t[i] : t[i] = e(n);
|
|
4128
4128
|
};
|
|
4129
4129
|
};
|
|
4130
|
-
var
|
|
4130
|
+
var Ji = Object.defineProperty, Se = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
|
4131
4131
|
for (var r in t || (t = {}))
|
|
4132
|
-
|
|
4133
|
-
if (
|
|
4134
|
-
for (var r of
|
|
4135
|
-
|
|
4132
|
+
Hr.call(t, r) && Dt(e, r, t[r]);
|
|
4133
|
+
if (Se)
|
|
4134
|
+
for (var r of Se(t))
|
|
4135
|
+
Tr.call(t, r) && Dt(e, r, t[r]);
|
|
4136
4136
|
return e;
|
|
4137
|
-
},
|
|
4137
|
+
}, ie = (e, t) => {
|
|
4138
4138
|
var r = {};
|
|
4139
4139
|
for (var n in e)
|
|
4140
|
-
|
|
4141
|
-
if (e != null &&
|
|
4142
|
-
for (var n of
|
|
4143
|
-
t.indexOf(n) < 0 &&
|
|
4140
|
+
Hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4141
|
+
if (e != null && Se)
|
|
4142
|
+
for (var n of Se(e))
|
|
4143
|
+
t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
|
|
4144
4144
|
return r;
|
|
4145
4145
|
};
|
|
4146
4146
|
const ce = (e, t) => {
|
|
4147
|
-
const { formats: r } =
|
|
4147
|
+
const { formats: r } = ee();
|
|
4148
4148
|
if (e in r && t in r[e])
|
|
4149
4149
|
return r[e][t];
|
|
4150
4150
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4151
|
-
},
|
|
4151
|
+
}, Yi = Oe(
|
|
4152
4152
|
(e) => {
|
|
4153
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4153
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
|
4154
4154
|
if (r == null)
|
|
4155
4155
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4156
4156
|
return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
|
|
4157
4157
|
}
|
|
4158
|
-
),
|
|
4158
|
+
), Ki = Oe(
|
|
4159
4159
|
(e) => {
|
|
4160
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4160
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
|
4161
4161
|
if (r == null)
|
|
4162
4162
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4163
4163
|
return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4164
4164
|
}
|
|
4165
|
-
),
|
|
4165
|
+
), eo = Oe(
|
|
4166
4166
|
(e) => {
|
|
4167
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4167
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
|
4168
4168
|
if (r == null)
|
|
4169
4169
|
throw new Error(
|
|
4170
4170
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4171
4171
|
);
|
|
4172
4172
|
return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4173
4173
|
}
|
|
4174
|
-
),
|
|
4174
|
+
), to = (e = {}) => {
|
|
4175
4175
|
var t = e, {
|
|
4176
4176
|
locale: r = j()
|
|
4177
|
-
} = t, n =
|
|
4177
|
+
} = t, n = ie(t, [
|
|
4178
4178
|
"locale"
|
|
4179
4179
|
]);
|
|
4180
|
-
return
|
|
4181
|
-
},
|
|
4180
|
+
return Yi(ht({ locale: r }, n));
|
|
4181
|
+
}, ro = (e = {}) => {
|
|
4182
4182
|
var t = e, {
|
|
4183
4183
|
locale: r = j()
|
|
4184
|
-
} = t, n =
|
|
4184
|
+
} = t, n = ie(t, [
|
|
4185
4185
|
"locale"
|
|
4186
4186
|
]);
|
|
4187
|
-
return
|
|
4188
|
-
},
|
|
4187
|
+
return Ki(ht({ locale: r }, n));
|
|
4188
|
+
}, no = (e = {}) => {
|
|
4189
4189
|
var t = e, {
|
|
4190
4190
|
locale: r = j()
|
|
4191
|
-
} = t, n =
|
|
4191
|
+
} = t, n = ie(t, [
|
|
4192
4192
|
"locale"
|
|
4193
4193
|
]);
|
|
4194
|
-
return
|
|
4195
|
-
},
|
|
4194
|
+
return eo(ht({ locale: r }, n));
|
|
4195
|
+
}, io = Oe(
|
|
4196
4196
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4197
|
-
(e, t = j()) => new
|
|
4198
|
-
ignoreTag:
|
|
4197
|
+
(e, t = j()) => new Ii(e, t, ee().formats, {
|
|
4198
|
+
ignoreTag: ee().ignoreTag
|
|
4199
4199
|
})
|
|
4200
|
-
),
|
|
4200
|
+
), oo = (e, t = {}) => {
|
|
4201
4201
|
var r, n, i, o;
|
|
4202
4202
|
let s = t;
|
|
4203
4203
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4210,9 +4210,9 @@ const ce = (e, t) => {
|
|
|
4210
4210
|
throw new Error(
|
|
4211
4211
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4212
4212
|
);
|
|
4213
|
-
let c =
|
|
4213
|
+
let c = Er(e, l);
|
|
4214
4214
|
if (!c)
|
|
4215
|
-
c = (o = (i = (n = (r =
|
|
4215
|
+
c = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4216
4216
|
else if (typeof c != "string")
|
|
4217
4217
|
return console.warn(
|
|
4218
4218
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4221,7 +4221,7 @@ const ce = (e, t) => {
|
|
|
4221
4221
|
return c;
|
|
4222
4222
|
let f = c;
|
|
4223
4223
|
try {
|
|
4224
|
-
f =
|
|
4224
|
+
f = io(c, l).format(a);
|
|
4225
4225
|
} catch (h) {
|
|
4226
4226
|
h instanceof Error && console.warn(
|
|
4227
4227
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4229,21 +4229,21 @@ const ce = (e, t) => {
|
|
|
4229
4229
|
);
|
|
4230
4230
|
}
|
|
4231
4231
|
return f;
|
|
4232
|
-
},
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
window.emWidgets = { topic:
|
|
4238
|
-
const
|
|
4232
|
+
}, so = (e, t) => no(t).format(e), ao = (e, t) => ro(t).format(e), uo = (e, t) => to(t).format(e), lo = (e, t = j()) => Er(e, t), co = re([ne, fe], () => oo);
|
|
4233
|
+
re([ne], () => so);
|
|
4234
|
+
re([ne], () => ao);
|
|
4235
|
+
re([ne], () => uo);
|
|
4236
|
+
re([ne, fe], () => lo);
|
|
4237
|
+
window.emWidgets = { topic: En };
|
|
4238
|
+
const Gt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4239
4239
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4240
|
-
function
|
|
4241
|
-
|
|
4240
|
+
function kt(e, t) {
|
|
4241
|
+
Ar(e, t);
|
|
4242
4242
|
}
|
|
4243
|
-
function
|
|
4244
|
-
|
|
4243
|
+
function ho(e) {
|
|
4244
|
+
ne.set(e);
|
|
4245
4245
|
}
|
|
4246
|
-
const
|
|
4246
|
+
const jt = {
|
|
4247
4247
|
en: {
|
|
4248
4248
|
title: "My Account"
|
|
4249
4249
|
},
|
|
@@ -4277,14 +4277,14 @@ const Dt = {
|
|
|
4277
4277
|
"en-us": {
|
|
4278
4278
|
title: "My Account"
|
|
4279
4279
|
}
|
|
4280
|
-
},
|
|
4281
|
-
function
|
|
4280
|
+
}, Z = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4281
|
+
function fo(e, t) {
|
|
4282
4282
|
if (e) {
|
|
4283
4283
|
const r = document.createElement("style");
|
|
4284
4284
|
r.innerHTML = t, e.appendChild(r);
|
|
4285
4285
|
}
|
|
4286
4286
|
}
|
|
4287
|
-
function
|
|
4287
|
+
function po(e, t) {
|
|
4288
4288
|
if (!e || !t)
|
|
4289
4289
|
return;
|
|
4290
4290
|
const r = new URL(t);
|
|
@@ -4295,32 +4295,32 @@ function lo(e, t) {
|
|
|
4295
4295
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4296
4296
|
});
|
|
4297
4297
|
}
|
|
4298
|
-
function
|
|
4298
|
+
function mo(e, t, r, n = !1) {
|
|
4299
4299
|
if (!window.emMessageBus)
|
|
4300
4300
|
return;
|
|
4301
4301
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4302
|
-
return r =
|
|
4303
|
-
window[
|
|
4302
|
+
return r = bo(e, t), r;
|
|
4303
|
+
window[Z] || (window[Z] = {}), r = go(e, t);
|
|
4304
4304
|
const o = r.unsubscribe.bind(r), s = () => {
|
|
4305
|
-
if (window[
|
|
4306
|
-
const a = window[
|
|
4307
|
-
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[
|
|
4305
|
+
if (window[Z][t]) {
|
|
4306
|
+
const a = window[Z][t];
|
|
4307
|
+
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[Z][t];
|
|
4308
4308
|
}
|
|
4309
4309
|
o();
|
|
4310
4310
|
};
|
|
4311
4311
|
return r.unsubscribe = s, r;
|
|
4312
4312
|
}
|
|
4313
|
-
function
|
|
4313
|
+
function bo(e, t) {
|
|
4314
4314
|
const r = document.createElement("style");
|
|
4315
4315
|
return window.emMessageBus.subscribe(t, (n) => {
|
|
4316
4316
|
e && (r.innerHTML = n, e.appendChild(r));
|
|
4317
4317
|
});
|
|
4318
4318
|
}
|
|
4319
|
-
function
|
|
4319
|
+
function go(e, t) {
|
|
4320
4320
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
4321
4321
|
if (!e)
|
|
4322
4322
|
return;
|
|
4323
|
-
const n = e.getRootNode(), i = window[
|
|
4323
|
+
const n = e.getRootNode(), i = window[Z];
|
|
4324
4324
|
let o = i[t] && i[t].sheet;
|
|
4325
4325
|
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
4326
4326
|
sheet: o,
|
|
@@ -4342,22 +4342,22 @@ if (typeof window < "u") {
|
|
|
4342
4342
|
}
|
|
4343
4343
|
};
|
|
4344
4344
|
};
|
|
4345
|
-
customElements.define = e(customElements.define), import("./GeneralLogout-
|
|
4345
|
+
customElements.define = e(customElements.define), import("./GeneralLogout-8Of9Ahnl.js").then(({ default: t }) => {
|
|
4346
4346
|
!customElements.get("general-logout") && customElements.define("general-logout", t.element);
|
|
4347
4347
|
});
|
|
4348
4348
|
}
|
|
4349
|
-
function
|
|
4350
|
-
|
|
4349
|
+
function yo(e) {
|
|
4350
|
+
kr(e, "svelte-j26xf8", '.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:14px 20px;margin:2px 0;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 10px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
4351
4351
|
}
|
|
4352
|
-
function
|
|
4352
|
+
function Vt(e, t, r) {
|
|
4353
4353
|
const n = e.slice();
|
|
4354
|
-
return n[
|
|
4354
|
+
return n[45] = t[r], n;
|
|
4355
4355
|
}
|
|
4356
|
-
function
|
|
4356
|
+
function Wt(e, t, r) {
|
|
4357
4357
|
const n = e.slice();
|
|
4358
|
-
return n[
|
|
4358
|
+
return n[42] = t[r], n;
|
|
4359
4359
|
}
|
|
4360
|
-
function
|
|
4360
|
+
function vo(e) {
|
|
4361
4361
|
let t, r, n, i, o = (
|
|
4362
4362
|
/*showaliasasusername*/
|
|
4363
4363
|
(e[5] === "true" ? (
|
|
@@ -4369,40 +4369,40 @@ function mo(e) {
|
|
|
4369
4369
|
)) + ""
|
|
4370
4370
|
), s, a, l, u, c, f, h, d, m = (
|
|
4371
4371
|
/*isMobile*/
|
|
4372
|
-
e[14] &&
|
|
4372
|
+
e[14] && xo(e)
|
|
4373
4373
|
), b = (
|
|
4374
4374
|
/*isMobile*/
|
|
4375
|
-
e[14] &&
|
|
4376
|
-
), g =
|
|
4375
|
+
e[14] && Eo(e)
|
|
4376
|
+
), g = we(
|
|
4377
4377
|
/*menuItems*/
|
|
4378
4378
|
e[8]
|
|
4379
|
-
),
|
|
4379
|
+
), A = [];
|
|
4380
4380
|
for (let v = 0; v < g.length; v += 1)
|
|
4381
|
-
|
|
4382
|
-
let
|
|
4383
|
-
e[14] &&
|
|
4381
|
+
A[v] = Xt(Vt(e, g, v));
|
|
4382
|
+
let I = !/*isMobile*/
|
|
4383
|
+
e[14] && wo(e);
|
|
4384
4384
|
return {
|
|
4385
4385
|
c() {
|
|
4386
|
-
t = S("div"), r = S("div"), m && m.c(), n =
|
|
4386
|
+
t = S("div"), r = S("div"), m && m.c(), n = R(), i = S("p"), s = q(o), a = R(), l = S("p"), u = q(
|
|
4387
4387
|
/*profileEmail*/
|
|
4388
4388
|
e[11]
|
|
4389
|
-
), c =
|
|
4390
|
-
for (let v = 0; v <
|
|
4391
|
-
|
|
4392
|
-
d =
|
|
4393
|
-
(e[14] ? "PlayerAccountMenuHeaderMobile" : "")),
|
|
4389
|
+
), c = R(), b && b.c(), f = R(), h = S("div");
|
|
4390
|
+
for (let v = 0; v < A.length; v += 1)
|
|
4391
|
+
A[v].c();
|
|
4392
|
+
d = R(), I && I.c(), x(i, "class", "PlayerAccountMenuUser"), x(i, "translate", "no"), x(l, "class", "PlayerAccountMenuEmail"), x(l, "translate", "no"), x(r, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
4393
|
+
(e[14] ? "PlayerAccountMenuHeaderMobile" : "")), x(h, "class", "PlayerAccountMenuList"), x(t, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
4394
4394
|
(e[14] ? "PlayerAccountMobileContainer" : ""));
|
|
4395
4395
|
},
|
|
4396
|
-
m(v,
|
|
4397
|
-
|
|
4398
|
-
for (let
|
|
4399
|
-
P
|
|
4400
|
-
y(t, d),
|
|
4396
|
+
m(v, M) {
|
|
4397
|
+
$(v, t, M), y(t, r), m && m.m(r, null), y(r, n), y(r, i), y(i, s), y(r, a), y(r, l), y(l, u), y(r, c), b && b.m(r, null), y(t, f), y(t, h);
|
|
4398
|
+
for (let P = 0; P < A.length; P += 1)
|
|
4399
|
+
A[P] && A[P].m(h, null);
|
|
4400
|
+
y(t, d), I && I.m(t, null);
|
|
4401
4401
|
},
|
|
4402
|
-
p(v,
|
|
4402
|
+
p(v, M) {
|
|
4403
4403
|
if (
|
|
4404
4404
|
/*isMobile*/
|
|
4405
|
-
v[14] && m.p(v,
|
|
4405
|
+
v[14] && m.p(v, M), M[0] & /*showaliasasusername, profileAlias, profileUsername*/
|
|
4406
4406
|
5152 && o !== (o = /*showaliasasusername*/
|
|
4407
4407
|
(v[5] === "true" ? (
|
|
4408
4408
|
/*profileAlias*/
|
|
@@ -4410,54 +4410,54 @@ function mo(e) {
|
|
|
4410
4410
|
) : (
|
|
4411
4411
|
/*profileUsername*/
|
|
4412
4412
|
v[10]
|
|
4413
|
-
)) + "") &&
|
|
4414
|
-
2048 &&
|
|
4413
|
+
)) + "") && Ee(s, o), M[0] & /*profileEmail*/
|
|
4414
|
+
2048 && Ee(
|
|
4415
4415
|
u,
|
|
4416
4416
|
/*profileEmail*/
|
|
4417
4417
|
v[11]
|
|
4418
4418
|
), /*isMobile*/
|
|
4419
|
-
v[14] && b.p(v,
|
|
4419
|
+
v[14] && b.p(v, M), M[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
|
|
4420
4420
|
49920
|
|
4421
4421
|
) {
|
|
4422
|
-
g =
|
|
4422
|
+
g = we(
|
|
4423
4423
|
/*menuItems*/
|
|
4424
4424
|
v[8]
|
|
4425
4425
|
);
|
|
4426
|
-
let
|
|
4427
|
-
for (
|
|
4428
|
-
const
|
|
4429
|
-
P
|
|
4426
|
+
let P;
|
|
4427
|
+
for (P = 0; P < g.length; P += 1) {
|
|
4428
|
+
const O = Vt(v, g, P);
|
|
4429
|
+
A[P] ? A[P].p(O, M) : (A[P] = Xt(O), A[P].c(), A[P].m(h, null));
|
|
4430
4430
|
}
|
|
4431
|
-
for (;
|
|
4432
|
-
P
|
|
4433
|
-
|
|
4431
|
+
for (; P < A.length; P += 1)
|
|
4432
|
+
A[P].d(1);
|
|
4433
|
+
A.length = g.length;
|
|
4434
4434
|
}
|
|
4435
4435
|
/*isMobile*/
|
|
4436
|
-
v[14] ||
|
|
4436
|
+
v[14] || I.p(v, M);
|
|
4437
4437
|
},
|
|
4438
4438
|
d(v) {
|
|
4439
|
-
v &&
|
|
4439
|
+
v && U(t), m && m.d(), b && b.d(), Jt(A, v), I && I.d();
|
|
4440
4440
|
}
|
|
4441
4441
|
};
|
|
4442
4442
|
}
|
|
4443
|
-
function
|
|
4443
|
+
function _o(e) {
|
|
4444
4444
|
let t, r, n, i, o, s, a, l, u, c, f = (
|
|
4445
4445
|
/*isMobile*/
|
|
4446
|
-
e[14] &&
|
|
4447
|
-
), h =
|
|
4446
|
+
e[14] && Ao()
|
|
4447
|
+
), h = we(Array(18)), d = [];
|
|
4448
4448
|
for (let m = 0; m < h.length; m += 1)
|
|
4449
|
-
d[m] =
|
|
4449
|
+
d[m] = zt(Wt(e, h, m));
|
|
4450
4450
|
return {
|
|
4451
4451
|
c() {
|
|
4452
|
-
t = S("div"), r = S("div"), f && f.c(), n =
|
|
4452
|
+
t = S("div"), r = S("div"), f && f.c(), n = R(), i = S("ui-skeleton"), o = R(), s = S("ui-skeleton"), a = R(), l = S("div");
|
|
4453
4453
|
for (let m = 0; m < d.length; m += 1)
|
|
4454
4454
|
d[m].c();
|
|
4455
|
-
u =
|
|
4456
|
-
(e[14] ? "PlayerAccountMenuHeaderMobile" : "")),
|
|
4455
|
+
u = R(), c = S("div"), c.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', w(i, "structure", "title"), w(i, "width", "100px"), w(i, "height", "20px"), w(i, "margin-top", "20px"), w(s, "structure", "text"), w(s, "width", "200px"), w(s, "height", "20px"), x(r, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
4456
|
+
(e[14] ? "PlayerAccountMenuHeaderMobile" : "")), x(l, "class", "PlayerAccountMenuList"), x(c, "class", "skeletonLogOut"), x(t, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
4457
4457
|
(e[14] ? "PlayerAccountMobileContainer" : ""));
|
|
4458
4458
|
},
|
|
4459
4459
|
m(m, b) {
|
|
4460
|
-
|
|
4460
|
+
$(m, t, b), y(t, r), f && f.m(r, null), y(r, n), y(r, i), y(r, o), y(r, s), y(t, a), y(t, l);
|
|
4461
4461
|
for (let g = 0; g < d.length; g += 1)
|
|
4462
4462
|
d[g] && d[g].m(l, null);
|
|
4463
4463
|
y(t, u), y(t, c);
|
|
@@ -4465,11 +4465,11 @@ function bo(e) {
|
|
|
4465
4465
|
p(m, b) {
|
|
4466
4466
|
if (b[0] & /*isMobile*/
|
|
4467
4467
|
16384) {
|
|
4468
|
-
h =
|
|
4468
|
+
h = we(Array(18));
|
|
4469
4469
|
let g;
|
|
4470
4470
|
for (g = 0; g < h.length; g += 1) {
|
|
4471
|
-
const
|
|
4472
|
-
d[g] ? d[g].p(
|
|
4471
|
+
const A = Wt(m, h, g);
|
|
4472
|
+
d[g] ? d[g].p(A, b) : (d[g] = zt(A), d[g].c(), d[g].m(l, null));
|
|
4473
4473
|
}
|
|
4474
4474
|
for (; g < d.length; g += 1)
|
|
4475
4475
|
d[g].d(1);
|
|
@@ -4477,28 +4477,28 @@ function bo(e) {
|
|
|
4477
4477
|
}
|
|
4478
4478
|
},
|
|
4479
4479
|
d(m) {
|
|
4480
|
-
m &&
|
|
4480
|
+
m && U(t), f && f.d(), Jt(d, m);
|
|
4481
4481
|
}
|
|
4482
4482
|
};
|
|
4483
4483
|
}
|
|
4484
|
-
function
|
|
4484
|
+
function xo(e) {
|
|
4485
4485
|
let t, r, n, i, o, s, a, l, u, c, f = (
|
|
4486
4486
|
/*$_*/
|
|
4487
4487
|
e[13]("title") + ""
|
|
4488
4488
|
), h, d, m;
|
|
4489
4489
|
return {
|
|
4490
4490
|
c() {
|
|
4491
|
-
t = S("div"), r =
|
|
4491
|
+
t = S("div"), r = V("svg"), n = V("defs"), i = V("style"), o = q(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), s = V("g"), a = V("g"), l = V("path"), u = R(), c = S("h3"), h = q(f), x(l, "class", "aaa"), x(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(l, "transform", "translate(15 15) rotate(180)"), x(a, "transform", "translate(20 158)"), x(s, "transform", "translate(-20 -158)"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "width", "15"), x(r, "height", "15"), x(r, "viewBox", "0 0 15 15"), x(c, "class", "PlayerAccountMenuCategoryTitle"), x(t, "class", "PlayerAccountMenuCategoryWrapper");
|
|
4492
4492
|
},
|
|
4493
4493
|
m(b, g) {
|
|
4494
|
-
|
|
4495
|
-
|
|
4494
|
+
$(b, t, g), y(t, r), y(r, n), y(n, i), y(i, o), y(r, s), y(s, a), y(a, l), y(t, u), y(t, c), y(c, h), d || (m = [
|
|
4495
|
+
Ve(
|
|
4496
4496
|
r,
|
|
4497
4497
|
"click",
|
|
4498
4498
|
/*goToHome*/
|
|
4499
4499
|
e[16]
|
|
4500
4500
|
),
|
|
4501
|
-
|
|
4501
|
+
Ve(
|
|
4502
4502
|
c,
|
|
4503
4503
|
"click",
|
|
4504
4504
|
/*goToHome*/
|
|
@@ -4509,74 +4509,74 @@ function go(e) {
|
|
|
4509
4509
|
p(b, g) {
|
|
4510
4510
|
g[0] & /*$_*/
|
|
4511
4511
|
8192 && f !== (f = /*$_*/
|
|
4512
|
-
b[13]("title") + "") &&
|
|
4512
|
+
b[13]("title") + "") && Ee(h, f);
|
|
4513
4513
|
},
|
|
4514
4514
|
d(b) {
|
|
4515
|
-
b &&
|
|
4515
|
+
b && U(t), d = !1, te(m);
|
|
4516
4516
|
}
|
|
4517
4517
|
};
|
|
4518
4518
|
}
|
|
4519
|
-
function
|
|
4519
|
+
function Eo(e) {
|
|
4520
4520
|
let t, r;
|
|
4521
4521
|
return {
|
|
4522
4522
|
c() {
|
|
4523
|
-
t = S("div"), r = S("general-logout"),
|
|
4523
|
+
t = S("div"), r = S("general-logout"), w(
|
|
4524
4524
|
r,
|
|
4525
4525
|
"endpoint",
|
|
4526
4526
|
/*endpoint*/
|
|
4527
4527
|
e[1]
|
|
4528
|
-
),
|
|
4528
|
+
), w(
|
|
4529
4529
|
r,
|
|
4530
4530
|
"session",
|
|
4531
4531
|
/*session*/
|
|
4532
4532
|
e[0]
|
|
4533
|
-
),
|
|
4533
|
+
), w(r, "buttonlocation", "PlayerAccountMenu"), w(
|
|
4534
4534
|
r,
|
|
4535
4535
|
"clientstyling",
|
|
4536
4536
|
/*clientstyling*/
|
|
4537
4537
|
e[2]
|
|
4538
|
-
),
|
|
4538
|
+
), w(
|
|
4539
4539
|
r,
|
|
4540
4540
|
"clientstylingurl",
|
|
4541
4541
|
/*clientstylingurl*/
|
|
4542
4542
|
e[3]
|
|
4543
|
-
),
|
|
4543
|
+
), w(
|
|
4544
4544
|
r,
|
|
4545
4545
|
"mbsource",
|
|
4546
4546
|
/*mbsource*/
|
|
4547
4547
|
e[4]
|
|
4548
|
-
),
|
|
4548
|
+
), x(t, "class", "PlayerAccountLogOutArea");
|
|
4549
4549
|
},
|
|
4550
4550
|
m(n, i) {
|
|
4551
|
-
|
|
4551
|
+
$(n, t, i), y(t, r);
|
|
4552
4552
|
},
|
|
4553
4553
|
p(n, i) {
|
|
4554
4554
|
i[0] & /*endpoint*/
|
|
4555
|
-
2 &&
|
|
4555
|
+
2 && w(
|
|
4556
4556
|
r,
|
|
4557
4557
|
"endpoint",
|
|
4558
4558
|
/*endpoint*/
|
|
4559
4559
|
n[1]
|
|
4560
4560
|
), i[0] & /*session*/
|
|
4561
|
-
1 &&
|
|
4561
|
+
1 && w(
|
|
4562
4562
|
r,
|
|
4563
4563
|
"session",
|
|
4564
4564
|
/*session*/
|
|
4565
4565
|
n[0]
|
|
4566
4566
|
), i[0] & /*clientstyling*/
|
|
4567
|
-
4 &&
|
|
4567
|
+
4 && w(
|
|
4568
4568
|
r,
|
|
4569
4569
|
"clientstyling",
|
|
4570
4570
|
/*clientstyling*/
|
|
4571
4571
|
n[2]
|
|
4572
4572
|
), i[0] & /*clientstylingurl*/
|
|
4573
|
-
8 &&
|
|
4573
|
+
8 && w(
|
|
4574
4574
|
r,
|
|
4575
4575
|
"clientstylingurl",
|
|
4576
4576
|
/*clientstylingurl*/
|
|
4577
4577
|
n[3]
|
|
4578
4578
|
), i[0] & /*mbsource*/
|
|
4579
|
-
16 &&
|
|
4579
|
+
16 && w(
|
|
4580
4580
|
r,
|
|
4581
4581
|
"mbsource",
|
|
4582
4582
|
/*mbsource*/
|
|
@@ -4584,113 +4584,113 @@ function yo(e) {
|
|
|
4584
4584
|
);
|
|
4585
4585
|
},
|
|
4586
4586
|
d(n) {
|
|
4587
|
-
n &&
|
|
4587
|
+
n && U(t);
|
|
4588
4588
|
}
|
|
4589
4589
|
};
|
|
4590
4590
|
}
|
|
4591
|
-
function
|
|
4591
|
+
function Xt(e) {
|
|
4592
4592
|
let t, r, n, i, o, s, a = (
|
|
4593
4593
|
/*menuItem*/
|
|
4594
|
-
e[
|
|
4594
|
+
e[45].label + ""
|
|
4595
4595
|
), l, u, c, f, h;
|
|
4596
4596
|
function d() {
|
|
4597
4597
|
return (
|
|
4598
4598
|
/*click_handler*/
|
|
4599
|
-
e[
|
|
4599
|
+
e[28](
|
|
4600
4600
|
/*menuItem*/
|
|
4601
|
-
e[
|
|
4601
|
+
e[45]
|
|
4602
4602
|
)
|
|
4603
4603
|
);
|
|
4604
4604
|
}
|
|
4605
4605
|
return {
|
|
4606
4606
|
c() {
|
|
4607
|
-
t = S("div"), r = S("p"), n = S("img"), o =
|
|
4608
|
-
(e[14] ? "PlayerAccountMenuItemIconMobile" : "")),
|
|
4609
|
-
e[
|
|
4607
|
+
t = S("div"), r = S("p"), n = S("img"), o = R(), s = S("span"), l = q(a), u = R(), x(n, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
|
|
4608
|
+
(e[14] ? "PlayerAccountMenuItemIconMobile" : "")), vt(n.src, i = /*menuItem*/
|
|
4609
|
+
e[45].img) || x(n, "src", i), x(s, "class", "PlayerAccountMenuItemTitle"), x(r, "class", "PlayerAccountMenuItemWrapper"), x(t, "class", c = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
4610
4610
|
(e[9] === /*menuItem*/
|
|
4611
|
-
e[
|
|
4611
|
+
e[45].id && !/*isMobile*/
|
|
4612
4612
|
e[14] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
4613
4613
|
},
|
|
4614
4614
|
m(m, b) {
|
|
4615
|
-
|
|
4615
|
+
$(m, t, b), y(t, r), y(r, n), y(r, o), y(r, s), y(s, l), y(t, u), f || (h = Ve(t, "click", d), f = !0);
|
|
4616
4616
|
},
|
|
4617
4617
|
p(m, b) {
|
|
4618
4618
|
e = m, b[0] & /*menuItems*/
|
|
4619
|
-
256 && !
|
|
4620
|
-
e[
|
|
4619
|
+
256 && !vt(n.src, i = /*menuItem*/
|
|
4620
|
+
e[45].img) && x(n, "src", i), b[0] & /*menuItems*/
|
|
4621
4621
|
256 && a !== (a = /*menuItem*/
|
|
4622
|
-
e[
|
|
4622
|
+
e[45].label + "") && Ee(l, a), b[0] & /*selectedItem, menuItems*/
|
|
4623
4623
|
768 && c !== (c = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
4624
4624
|
(e[9] === /*menuItem*/
|
|
4625
|
-
e[
|
|
4626
|
-
e[14] ? "PlayerAccountMenuActiveItemBox" : "")) &&
|
|
4625
|
+
e[45].id && !/*isMobile*/
|
|
4626
|
+
e[14] ? "PlayerAccountMenuActiveItemBox" : "")) && x(t, "class", c);
|
|
4627
4627
|
},
|
|
4628
4628
|
d(m) {
|
|
4629
|
-
m &&
|
|
4629
|
+
m && U(t), f = !1, h();
|
|
4630
4630
|
}
|
|
4631
4631
|
};
|
|
4632
4632
|
}
|
|
4633
|
-
function
|
|
4633
|
+
function wo(e) {
|
|
4634
4634
|
let t, r;
|
|
4635
4635
|
return {
|
|
4636
4636
|
c() {
|
|
4637
|
-
t = S("div"), r = S("general-logout"),
|
|
4637
|
+
t = S("div"), r = S("general-logout"), w(
|
|
4638
4638
|
r,
|
|
4639
4639
|
"endpoint",
|
|
4640
4640
|
/*endpoint*/
|
|
4641
4641
|
e[1]
|
|
4642
|
-
),
|
|
4642
|
+
), w(
|
|
4643
4643
|
r,
|
|
4644
4644
|
"session",
|
|
4645
4645
|
/*session*/
|
|
4646
4646
|
e[0]
|
|
4647
|
-
),
|
|
4647
|
+
), w(r, "buttonlocation", "PlayerAccountMenu"), w(
|
|
4648
4648
|
r,
|
|
4649
4649
|
"clientstyling",
|
|
4650
4650
|
/*clientstyling*/
|
|
4651
4651
|
e[2]
|
|
4652
|
-
),
|
|
4652
|
+
), w(
|
|
4653
4653
|
r,
|
|
4654
4654
|
"clientstylingurl",
|
|
4655
4655
|
/*clientstylingurl*/
|
|
4656
4656
|
e[3]
|
|
4657
|
-
),
|
|
4657
|
+
), w(
|
|
4658
4658
|
r,
|
|
4659
4659
|
"mbsource",
|
|
4660
4660
|
/*mbsource*/
|
|
4661
4661
|
e[4]
|
|
4662
|
-
),
|
|
4662
|
+
), x(t, "class", "PlayerAccountLogOutArea");
|
|
4663
4663
|
},
|
|
4664
4664
|
m(n, i) {
|
|
4665
|
-
|
|
4665
|
+
$(n, t, i), y(t, r);
|
|
4666
4666
|
},
|
|
4667
4667
|
p(n, i) {
|
|
4668
4668
|
i[0] & /*endpoint*/
|
|
4669
|
-
2 &&
|
|
4669
|
+
2 && w(
|
|
4670
4670
|
r,
|
|
4671
4671
|
"endpoint",
|
|
4672
4672
|
/*endpoint*/
|
|
4673
4673
|
n[1]
|
|
4674
4674
|
), i[0] & /*session*/
|
|
4675
|
-
1 &&
|
|
4675
|
+
1 && w(
|
|
4676
4676
|
r,
|
|
4677
4677
|
"session",
|
|
4678
4678
|
/*session*/
|
|
4679
4679
|
n[0]
|
|
4680
4680
|
), i[0] & /*clientstyling*/
|
|
4681
|
-
4 &&
|
|
4681
|
+
4 && w(
|
|
4682
4682
|
r,
|
|
4683
4683
|
"clientstyling",
|
|
4684
4684
|
/*clientstyling*/
|
|
4685
4685
|
n[2]
|
|
4686
4686
|
), i[0] & /*clientstylingurl*/
|
|
4687
|
-
8 &&
|
|
4687
|
+
8 && w(
|
|
4688
4688
|
r,
|
|
4689
4689
|
"clientstylingurl",
|
|
4690
4690
|
/*clientstylingurl*/
|
|
4691
4691
|
n[3]
|
|
4692
4692
|
), i[0] & /*mbsource*/
|
|
4693
|
-
16 &&
|
|
4693
|
+
16 && w(
|
|
4694
4694
|
r,
|
|
4695
4695
|
"mbsource",
|
|
4696
4696
|
/*mbsource*/
|
|
@@ -4698,66 +4698,66 @@ function vo(e) {
|
|
|
4698
4698
|
);
|
|
4699
4699
|
},
|
|
4700
4700
|
d(n) {
|
|
4701
|
-
n &&
|
|
4701
|
+
n && U(t);
|
|
4702
4702
|
}
|
|
4703
4703
|
};
|
|
4704
4704
|
}
|
|
4705
|
-
function
|
|
4705
|
+
function Ao(e) {
|
|
4706
4706
|
let t;
|
|
4707
4707
|
return {
|
|
4708
4708
|
c() {
|
|
4709
|
-
t = S("div"), t.innerHTML = '<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>',
|
|
4709
|
+
t = S("div"), t.innerHTML = '<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>', x(t, "class", "PlayerAccountMenuCategoryWrapper");
|
|
4710
4710
|
},
|
|
4711
4711
|
m(r, n) {
|
|
4712
|
-
|
|
4712
|
+
$(r, t, n);
|
|
4713
4713
|
},
|
|
4714
4714
|
d(r) {
|
|
4715
|
-
r &&
|
|
4715
|
+
r && U(t);
|
|
4716
4716
|
}
|
|
4717
4717
|
};
|
|
4718
4718
|
}
|
|
4719
|
-
function
|
|
4719
|
+
function Po(e) {
|
|
4720
4720
|
let t;
|
|
4721
4721
|
return {
|
|
4722
4722
|
c() {
|
|
4723
|
-
t = S("ui-skeleton"),
|
|
4723
|
+
t = S("ui-skeleton"), w(t, "structure", "circle"), w(t, "size", "20px");
|
|
4724
4724
|
},
|
|
4725
4725
|
m(r, n) {
|
|
4726
|
-
|
|
4726
|
+
$(r, t, n);
|
|
4727
4727
|
},
|
|
4728
4728
|
d(r) {
|
|
4729
|
-
r &&
|
|
4729
|
+
r && U(t);
|
|
4730
4730
|
}
|
|
4731
4731
|
};
|
|
4732
4732
|
}
|
|
4733
|
-
function
|
|
4733
|
+
function zt(e) {
|
|
4734
4734
|
let t, r, n, i, o = !/*isMobile*/
|
|
4735
|
-
e[14] &&
|
|
4735
|
+
e[14] && Po();
|
|
4736
4736
|
return {
|
|
4737
4737
|
c() {
|
|
4738
|
-
t = S("div"), o && o.c(), r =
|
|
4738
|
+
t = S("div"), o && o.c(), r = R(), n = S("ui-skeleton"), i = R(), w(n, "structure", "rectangle"), w(n, "width", "100%"), w(
|
|
4739
4739
|
n,
|
|
4740
4740
|
"height",
|
|
4741
4741
|
/*isMobile*/
|
|
4742
4742
|
e[14] ? "60px" : "20px"
|
|
4743
|
-
),
|
|
4743
|
+
), x(t, "class", "PlayerAccountItemWrap " + /*isMobile*/
|
|
4744
4744
|
(e[14] ? "PlayerAccountItemWrapMobile" : ""));
|
|
4745
4745
|
},
|
|
4746
4746
|
m(s, a) {
|
|
4747
|
-
|
|
4747
|
+
$(s, t, a), o && o.m(t, null), y(t, r), y(t, n), y(t, i);
|
|
4748
4748
|
},
|
|
4749
|
-
p:
|
|
4749
|
+
p: F,
|
|
4750
4750
|
d(s) {
|
|
4751
|
-
s &&
|
|
4751
|
+
s && U(t), o && o.d();
|
|
4752
4752
|
}
|
|
4753
4753
|
};
|
|
4754
4754
|
}
|
|
4755
|
-
function
|
|
4755
|
+
function So(e) {
|
|
4756
4756
|
let t;
|
|
4757
4757
|
function r(o, s) {
|
|
4758
4758
|
return (
|
|
4759
4759
|
/*skeletonLoading*/
|
|
4760
|
-
o[7] ?
|
|
4760
|
+
o[7] ? _o : vo
|
|
4761
4761
|
);
|
|
4762
4762
|
}
|
|
4763
4763
|
let n = r(e), i = n(e);
|
|
@@ -4766,36 +4766,43 @@ function Eo(e) {
|
|
|
4766
4766
|
t = S("div"), i.c();
|
|
4767
4767
|
},
|
|
4768
4768
|
m(o, s) {
|
|
4769
|
-
|
|
4769
|
+
$(o, t, s), i.m(t, null), e[29](t);
|
|
4770
4770
|
},
|
|
4771
4771
|
p(o, s) {
|
|
4772
4772
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4773
4773
|
},
|
|
4774
|
-
i:
|
|
4775
|
-
o:
|
|
4774
|
+
i: F,
|
|
4775
|
+
o: F,
|
|
4776
4776
|
d(o) {
|
|
4777
|
-
o &&
|
|
4777
|
+
o && U(t), i.d(), e[29](null);
|
|
4778
4778
|
}
|
|
4779
4779
|
};
|
|
4780
4780
|
}
|
|
4781
|
-
function
|
|
4781
|
+
function Ho(e, t, r) {
|
|
4782
4782
|
let n;
|
|
4783
|
-
|
|
4784
|
-
let { endpoint: i = "" } = t, { cmsendpoint: o = "" } = t, { env: s = "" } = t, { session: a = "" } = t, { playerid: l = "" } = t, { lang: u = "en" } = t, { selecteditem: c = "" } = t, { userroles: f = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: m } = t, { translationurl: b = "" } = t, { activemenuitem: g = "" } = t, { showaliasasusername:
|
|
4783
|
+
Gr(e, co, (p) => r(13, n = p));
|
|
4784
|
+
let { endpoint: i = "" } = t, { cmsendpoint: o = "" } = t, { env: s = "" } = t, { session: a = "" } = t, { playerid: l = "" } = t, { lang: u = "en" } = t, { selecteditem: c = "" } = t, { userroles: f = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: m } = t, { translationurl: b = "" } = t, { activemenuitem: g = "" } = t, { showaliasasusername: A = "false" } = t, { statementenabled: I } = t, v = !1, M = !1, P = !0, O, pe, Ce = [], Le, ft = window.navigator.userAgent, Mr = Gt(ft) !== "PC", pt = "", mt = "", Ne = "";
|
|
4785
|
+
const Br = [
|
|
4786
|
+
"/transaction-history",
|
|
4787
|
+
"/external-transactions-history",
|
|
4788
|
+
"/sport/betting-history",
|
|
4789
|
+
"/gaming-history",
|
|
4790
|
+
"/bonus-history"
|
|
4791
|
+
];
|
|
4785
4792
|
window.matchMedia("(min-width: 768px)");
|
|
4786
|
-
const
|
|
4787
|
-
fetch(b).then((
|
|
4788
|
-
Object.keys(
|
|
4789
|
-
|
|
4793
|
+
const Ir = () => {
|
|
4794
|
+
fetch(b).then((N) => N.json()).then((N) => {
|
|
4795
|
+
Object.keys(N).forEach((B) => {
|
|
4796
|
+
kt(B, N[B]);
|
|
4790
4797
|
});
|
|
4791
|
-
}).catch((
|
|
4792
|
-
console.error(
|
|
4798
|
+
}).catch((N) => {
|
|
4799
|
+
console.error(N);
|
|
4793
4800
|
});
|
|
4794
4801
|
};
|
|
4795
|
-
Object.keys(
|
|
4796
|
-
|
|
4802
|
+
Object.keys(jt).forEach((p) => {
|
|
4803
|
+
kt(p, jt[p]);
|
|
4797
4804
|
});
|
|
4798
|
-
const
|
|
4805
|
+
const dt = (p) => {
|
|
4799
4806
|
if (p.data)
|
|
4800
4807
|
switch (p.data.type) {
|
|
4801
4808
|
case "AccountMenuDetails":
|
|
@@ -4805,90 +4812,100 @@ function wo(e, t, r) {
|
|
|
4805
4812
|
r(0, a = p.data.session);
|
|
4806
4813
|
break;
|
|
4807
4814
|
case "AliasUpdated":
|
|
4808
|
-
|
|
4815
|
+
A === "true" && p.data.alias && r(12, Ne = p.data.alias);
|
|
4809
4816
|
break;
|
|
4810
4817
|
}
|
|
4811
|
-
},
|
|
4812
|
-
let p =
|
|
4818
|
+
}, Or = () => {
|
|
4819
|
+
let p = Gt(ft);
|
|
4813
4820
|
if (p)
|
|
4814
4821
|
return p === "PC" ? "dk" : "mtWeb";
|
|
4815
|
-
},
|
|
4822
|
+
}, Cr = () => {
|
|
4816
4823
|
const p = new URL(`${o}/${u}/profile-menu?env=${s}`);
|
|
4817
|
-
p.searchParams.append("device",
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4824
|
+
p.searchParams.append("device", Or()), fetch(p.href).then((N) => N.json()).then((N) => {
|
|
4825
|
+
let B = [...N];
|
|
4826
|
+
if (I === "true") {
|
|
4827
|
+
B = B.filter((oe) => !Br.includes(oe.path));
|
|
4828
|
+
const me = B.findIndex((oe) => oe.path === "/statement");
|
|
4829
|
+
if (me !== -1) {
|
|
4830
|
+
const [oe] = B.splice(me, 1);
|
|
4831
|
+
B.splice(6, 0, oe);
|
|
4832
|
+
}
|
|
4833
|
+
} else
|
|
4834
|
+
B = B.filter((me) => me.path !== "/statement");
|
|
4835
|
+
r(8, Ce = B), gt();
|
|
4836
|
+
}).catch((N) => {
|
|
4837
|
+
console.error("Error getting menu items", N);
|
|
4821
4838
|
}).finally(() => {
|
|
4822
|
-
r(
|
|
4839
|
+
r(26, v = !0);
|
|
4823
4840
|
});
|
|
4824
|
-
},
|
|
4841
|
+
}, Lr = () => {
|
|
4825
4842
|
let p = new URL(`${i}/v1/player/${l}/profile`);
|
|
4826
4843
|
p.searchParams.append("userRoles", f);
|
|
4827
|
-
let
|
|
4844
|
+
let N = {
|
|
4828
4845
|
method: "GET",
|
|
4829
4846
|
headers: { "X-SessionID": a }
|
|
4830
4847
|
};
|
|
4831
|
-
fetch(p.href,
|
|
4832
|
-
(
|
|
4833
|
-
r(10,
|
|
4848
|
+
fetch(p.href, N).then((B) => B.json()).then(
|
|
4849
|
+
(B) => {
|
|
4850
|
+
r(10, pt = B.username), r(11, mt = B.email), A === "true" && r(12, Ne = B.alias || "");
|
|
4834
4851
|
},
|
|
4835
|
-
(
|
|
4836
|
-
console.error(
|
|
4852
|
+
(B) => {
|
|
4853
|
+
console.error(B);
|
|
4837
4854
|
}
|
|
4838
4855
|
).finally(() => {
|
|
4839
|
-
r(
|
|
4856
|
+
r(27, M = !0);
|
|
4840
4857
|
});
|
|
4841
|
-
},
|
|
4842
|
-
window.postMessage({ type: "ChangeAccountPage", page: p }, window.location.href), r(9,
|
|
4843
|
-
},
|
|
4844
|
-
r(9,
|
|
4845
|
-
},
|
|
4858
|
+
}, bt = (p) => {
|
|
4859
|
+
window.postMessage({ type: "ChangeAccountPage", page: p }, window.location.href), r(9, Le = p.id);
|
|
4860
|
+
}, gt = () => {
|
|
4861
|
+
r(9, Le = Ce.find((p) => p.path.includes(g))?.id);
|
|
4862
|
+
}, Nr = () => {
|
|
4846
4863
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
4847
|
-
},
|
|
4848
|
-
|
|
4849
|
-
},
|
|
4850
|
-
|
|
4864
|
+
}, Rr = () => {
|
|
4865
|
+
ho(u);
|
|
4866
|
+
}, Fr = () => {
|
|
4867
|
+
Lr();
|
|
4851
4868
|
};
|
|
4852
|
-
|
|
4853
|
-
window.removeEventListener("message",
|
|
4869
|
+
Zr(() => (window.addEventListener("message", dt, !1), () => {
|
|
4870
|
+
window.removeEventListener("message", dt);
|
|
4854
4871
|
}));
|
|
4855
|
-
const
|
|
4856
|
-
function
|
|
4857
|
-
|
|
4858
|
-
|
|
4872
|
+
const Ur = (p) => bt(p);
|
|
4873
|
+
function $r(p) {
|
|
4874
|
+
We[p ? "unshift" : "push"](() => {
|
|
4875
|
+
O = p, r(6, O);
|
|
4859
4876
|
});
|
|
4860
4877
|
}
|
|
4861
4878
|
return e.$$set = (p) => {
|
|
4862
|
-
"endpoint" in p && r(1, i = p.endpoint), "cmsendpoint" in p && r(17, o = p.cmsendpoint), "env" in p && r(18, s = p.env), "session" in p && r(0, a = p.session), "playerid" in p && r(19, l = p.playerid), "lang" in p && r(20, u = p.lang), "selecteditem" in p && r(21, c = p.selecteditem), "userroles" in p && r(22, f = p.userroles), "clientstyling" in p && r(2, h = p.clientstyling), "clientstylingurl" in p && r(3, d = p.clientstylingurl), "mbsource" in p && r(4, m = p.mbsource), "translationurl" in p && r(23, b = p.translationurl), "activemenuitem" in p && r(24, g = p.activemenuitem), "showaliasasusername" in p && r(5,
|
|
4879
|
+
"endpoint" in p && r(1, i = p.endpoint), "cmsendpoint" in p && r(17, o = p.cmsendpoint), "env" in p && r(18, s = p.env), "session" in p && r(0, a = p.session), "playerid" in p && r(19, l = p.playerid), "lang" in p && r(20, u = p.lang), "selecteditem" in p && r(21, c = p.selecteditem), "userroles" in p && r(22, f = p.userroles), "clientstyling" in p && r(2, h = p.clientstyling), "clientstylingurl" in p && r(3, d = p.clientstylingurl), "mbsource" in p && r(4, m = p.mbsource), "translationurl" in p && r(23, b = p.translationurl), "activemenuitem" in p && r(24, g = p.activemenuitem), "showaliasasusername" in p && r(5, A = p.showaliasasusername), "statementenabled" in p && r(25, I = p.statementenabled);
|
|
4863
4880
|
}, e.$$.update = () => {
|
|
4864
4881
|
e.$$.dirty[0] & /*menuLoaded, playerInfoLoaded*/
|
|
4865
|
-
|
|
4866
|
-
1048576 && u &&
|
|
4867
|
-
1572867 && i && a && l && u &&
|
|
4868
|
-
1441792 && o && u && s &&
|
|
4869
|
-
16777216 && g &&
|
|
4870
|
-
68 && h &&
|
|
4871
|
-
72 && d &&
|
|
4872
|
-
80 && m &&
|
|
4873
|
-
8388608 && b &&
|
|
4882
|
+
201326592 && r(7, P = !v || !M), e.$$.dirty[0] & /*lang*/
|
|
4883
|
+
1048576 && u && Rr(), e.$$.dirty[0] & /*endpoint, session, playerid, lang*/
|
|
4884
|
+
1572867 && i && a && l && u && Fr(), e.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
4885
|
+
1441792 && o && u && s && Cr(), e.$$.dirty[0] & /*activemenuitem*/
|
|
4886
|
+
16777216 && g && gt(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4887
|
+
68 && h && O && fo(O, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4888
|
+
72 && d && O && po(O, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4889
|
+
80 && m && O && mo(O, `${m}.Style`, pe), e.$$.dirty[0] & /*translationurl*/
|
|
4890
|
+
8388608 && b && Ir();
|
|
4874
4891
|
}, [
|
|
4875
4892
|
a,
|
|
4876
4893
|
i,
|
|
4877
4894
|
h,
|
|
4878
4895
|
d,
|
|
4879
4896
|
m,
|
|
4897
|
+
A,
|
|
4898
|
+
O,
|
|
4880
4899
|
P,
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
V,
|
|
4884
|
-
Ie,
|
|
4885
|
-
ct,
|
|
4886
|
-
ht,
|
|
4887
|
-
Oe,
|
|
4888
|
-
n,
|
|
4889
|
-
Sr,
|
|
4900
|
+
Ce,
|
|
4901
|
+
Le,
|
|
4890
4902
|
pt,
|
|
4891
|
-
|
|
4903
|
+
mt,
|
|
4904
|
+
Ne,
|
|
4905
|
+
n,
|
|
4906
|
+
Mr,
|
|
4907
|
+
bt,
|
|
4908
|
+
Nr,
|
|
4892
4909
|
o,
|
|
4893
4910
|
s,
|
|
4894
4911
|
l,
|
|
@@ -4897,20 +4914,21 @@ function wo(e, t, r) {
|
|
|
4897
4914
|
f,
|
|
4898
4915
|
b,
|
|
4899
4916
|
g,
|
|
4900
|
-
|
|
4917
|
+
I,
|
|
4901
4918
|
v,
|
|
4902
|
-
|
|
4903
|
-
|
|
4919
|
+
M,
|
|
4920
|
+
Ur,
|
|
4921
|
+
$r
|
|
4904
4922
|
];
|
|
4905
4923
|
}
|
|
4906
|
-
class
|
|
4924
|
+
class To extends an {
|
|
4907
4925
|
constructor(t) {
|
|
4908
|
-
super(),
|
|
4926
|
+
super(), on(
|
|
4909
4927
|
this,
|
|
4910
4928
|
t,
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4929
|
+
Ho,
|
|
4930
|
+
So,
|
|
4931
|
+
Qt,
|
|
4914
4932
|
{
|
|
4915
4933
|
endpoint: 1,
|
|
4916
4934
|
cmsendpoint: 17,
|
|
@@ -4925,9 +4943,10 @@ class Ao extends rn {
|
|
|
4925
4943
|
mbsource: 4,
|
|
4926
4944
|
translationurl: 23,
|
|
4927
4945
|
activemenuitem: 24,
|
|
4928
|
-
showaliasasusername: 5
|
|
4946
|
+
showaliasasusername: 5,
|
|
4947
|
+
statementenabled: 25
|
|
4929
4948
|
},
|
|
4930
|
-
|
|
4949
|
+
yo,
|
|
4931
4950
|
[-1, -1]
|
|
4932
4951
|
);
|
|
4933
4952
|
}
|
|
@@ -4935,116 +4954,122 @@ class Ao extends rn {
|
|
|
4935
4954
|
return this.$$.ctx[1];
|
|
4936
4955
|
}
|
|
4937
4956
|
set endpoint(t) {
|
|
4938
|
-
this.$$set({ endpoint: t }),
|
|
4957
|
+
this.$$set({ endpoint: t }), C();
|
|
4939
4958
|
}
|
|
4940
4959
|
get cmsendpoint() {
|
|
4941
4960
|
return this.$$.ctx[17];
|
|
4942
4961
|
}
|
|
4943
4962
|
set cmsendpoint(t) {
|
|
4944
|
-
this.$$set({ cmsendpoint: t }),
|
|
4963
|
+
this.$$set({ cmsendpoint: t }), C();
|
|
4945
4964
|
}
|
|
4946
4965
|
get env() {
|
|
4947
4966
|
return this.$$.ctx[18];
|
|
4948
4967
|
}
|
|
4949
4968
|
set env(t) {
|
|
4950
|
-
this.$$set({ env: t }),
|
|
4969
|
+
this.$$set({ env: t }), C();
|
|
4951
4970
|
}
|
|
4952
4971
|
get session() {
|
|
4953
4972
|
return this.$$.ctx[0];
|
|
4954
4973
|
}
|
|
4955
4974
|
set session(t) {
|
|
4956
|
-
this.$$set({ session: t }),
|
|
4975
|
+
this.$$set({ session: t }), C();
|
|
4957
4976
|
}
|
|
4958
4977
|
get playerid() {
|
|
4959
4978
|
return this.$$.ctx[19];
|
|
4960
4979
|
}
|
|
4961
4980
|
set playerid(t) {
|
|
4962
|
-
this.$$set({ playerid: t }),
|
|
4981
|
+
this.$$set({ playerid: t }), C();
|
|
4963
4982
|
}
|
|
4964
4983
|
get lang() {
|
|
4965
4984
|
return this.$$.ctx[20];
|
|
4966
4985
|
}
|
|
4967
4986
|
set lang(t) {
|
|
4968
|
-
this.$$set({ lang: t }),
|
|
4987
|
+
this.$$set({ lang: t }), C();
|
|
4969
4988
|
}
|
|
4970
4989
|
get selecteditem() {
|
|
4971
4990
|
return this.$$.ctx[21];
|
|
4972
4991
|
}
|
|
4973
4992
|
set selecteditem(t) {
|
|
4974
|
-
this.$$set({ selecteditem: t }),
|
|
4993
|
+
this.$$set({ selecteditem: t }), C();
|
|
4975
4994
|
}
|
|
4976
4995
|
get userroles() {
|
|
4977
4996
|
return this.$$.ctx[22];
|
|
4978
4997
|
}
|
|
4979
4998
|
set userroles(t) {
|
|
4980
|
-
this.$$set({ userroles: t }),
|
|
4999
|
+
this.$$set({ userroles: t }), C();
|
|
4981
5000
|
}
|
|
4982
5001
|
get clientstyling() {
|
|
4983
5002
|
return this.$$.ctx[2];
|
|
4984
5003
|
}
|
|
4985
5004
|
set clientstyling(t) {
|
|
4986
|
-
this.$$set({ clientstyling: t }),
|
|
5005
|
+
this.$$set({ clientstyling: t }), C();
|
|
4987
5006
|
}
|
|
4988
5007
|
get clientstylingurl() {
|
|
4989
5008
|
return this.$$.ctx[3];
|
|
4990
5009
|
}
|
|
4991
5010
|
set clientstylingurl(t) {
|
|
4992
|
-
this.$$set({ clientstylingurl: t }),
|
|
5011
|
+
this.$$set({ clientstylingurl: t }), C();
|
|
4993
5012
|
}
|
|
4994
5013
|
get mbsource() {
|
|
4995
5014
|
return this.$$.ctx[4];
|
|
4996
5015
|
}
|
|
4997
5016
|
set mbsource(t) {
|
|
4998
|
-
this.$$set({ mbsource: t }),
|
|
5017
|
+
this.$$set({ mbsource: t }), C();
|
|
4999
5018
|
}
|
|
5000
5019
|
get translationurl() {
|
|
5001
5020
|
return this.$$.ctx[23];
|
|
5002
5021
|
}
|
|
5003
5022
|
set translationurl(t) {
|
|
5004
|
-
this.$$set({ translationurl: t }),
|
|
5023
|
+
this.$$set({ translationurl: t }), C();
|
|
5005
5024
|
}
|
|
5006
5025
|
get activemenuitem() {
|
|
5007
5026
|
return this.$$.ctx[24];
|
|
5008
5027
|
}
|
|
5009
5028
|
set activemenuitem(t) {
|
|
5010
|
-
this.$$set({ activemenuitem: t }),
|
|
5029
|
+
this.$$set({ activemenuitem: t }), C();
|
|
5011
5030
|
}
|
|
5012
5031
|
get showaliasasusername() {
|
|
5013
5032
|
return this.$$.ctx[5];
|
|
5014
5033
|
}
|
|
5015
5034
|
set showaliasasusername(t) {
|
|
5016
|
-
this.$$set({ showaliasasusername: t }),
|
|
5035
|
+
this.$$set({ showaliasasusername: t }), C();
|
|
5036
|
+
}
|
|
5037
|
+
get statementenabled() {
|
|
5038
|
+
return this.$$.ctx[25];
|
|
5039
|
+
}
|
|
5040
|
+
set statementenabled(t) {
|
|
5041
|
+
this.$$set({ statementenabled: t }), C();
|
|
5017
5042
|
}
|
|
5018
5043
|
}
|
|
5019
|
-
|
|
5044
|
+
sn(To, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, activemenuitem: {}, showaliasasusername: {}, statementenabled: {} }, [], [], !0);
|
|
5020
5045
|
export {
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5046
|
+
ne as $,
|
|
5047
|
+
To as P,
|
|
5048
|
+
an as S,
|
|
5049
|
+
Ar as a,
|
|
5050
|
+
kr as b,
|
|
5051
|
+
sn as c,
|
|
5052
|
+
U as d,
|
|
5053
|
+
$ as e,
|
|
5054
|
+
C as f,
|
|
5030
5055
|
S as g,
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5056
|
+
Gr as h,
|
|
5057
|
+
on as i,
|
|
5058
|
+
Gt as j,
|
|
5059
|
+
We as k,
|
|
5035
5060
|
y as l,
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5061
|
+
Ve as m,
|
|
5062
|
+
F as n,
|
|
5063
|
+
Zr as o,
|
|
5064
|
+
V as p,
|
|
5065
|
+
R as q,
|
|
5066
|
+
x as r,
|
|
5067
|
+
Qt as s,
|
|
5068
|
+
q as t,
|
|
5069
|
+
Bo as u,
|
|
5070
|
+
Ee as v,
|
|
5071
|
+
co as w,
|
|
5072
|
+
fo as x,
|
|
5073
|
+
po as y,
|
|
5074
|
+
mo as z
|
|
5050
5075
|
};
|