@everymatrix/player-account-menu-nd 1.55.0 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-DVIGabm4.js → GeneralLogout-BbFRw_PP.js} +838 -840
- package/components/{GeneralLogout-CCjfPIPP.js → GeneralLogout-C62O7X2O.js} +808 -810
- package/components/GeneralLogout-DTncvqCn.cjs +5 -0
- package/components/PlayerAccountMenuNd-B-MuRtAL.js +695 -0
- package/components/PlayerAccountMenuNd-DZrxDH3S.js +694 -0
- package/components/PlayerAccountMenuNd-awGuTDET.cjs +1 -0
- 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/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-db5752f9--Bvt52z2.js +610 -0
- package/stencil/index-db5752f9-CAzJb5N3.js +594 -0
- package/stencil/index-db5752f9-CEbtfUsZ.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-BH4FIF5y.js +122 -0
- package/stencil/ui-skeleton-982450d2-BYrWGs9b.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-DGJAETMx.js +122 -0
- package/stencil/ui-skeleton-DlfwJJb1.js +29 -0
- package/stencil/ui-skeleton-DtnYQAt6.cjs +1 -0
- package/stencil/ui-skeleton-rqI1NmdA.js +11 -0
- package/components/GeneralLogout-BeAK3X2u.cjs +0 -5
- package/components/PlayerAccountMenuNd-6T-HX1YO.js +0 -589
- package/components/PlayerAccountMenuNd-CXIjsA3g.cjs +0 -1
- package/components/PlayerAccountMenuNd-CbUDpxb5.js +0 -590
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var He = (e, t, r) => t in e ?
|
|
1
|
+
var lr = Object.defineProperty, cr = Object.defineProperties;
|
|
2
|
+
var fr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ye = Object.getOwnPropertySymbols;
|
|
4
|
+
var pr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var He = (e, t, r) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
pr.call(t, r) && He(e, r, t[r]);
|
|
8
|
+
if (Ye)
|
|
9
|
+
for (var r of Ye(t))
|
|
10
|
+
dr.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, et = (e, t) => cr(e, fr(t));
|
|
13
13
|
var H = (e, t, r) => He(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var
|
|
14
|
+
var tt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(h));
|
|
@@ -29,29 +29,29 @@ var it = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function w() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Bt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function rt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function oe(e) {
|
|
39
|
+
e.forEach(Bt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Qe(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function wt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
47
|
+
let he;
|
|
48
|
+
function Ki(e, t) {
|
|
49
|
+
return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function mr(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function At(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,20 +60,20 @@ function It(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function br(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(At(t, r));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function T(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function gr(e, t, r) {
|
|
70
|
+
const n = yr(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
|
-
const i =
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
72
|
+
const i = O("style");
|
|
73
|
+
i.id = t, i.textContent = r, vr(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function yr(e) {
|
|
77
77
|
if (!e) return document;
|
|
78
78
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
79
79
|
return t && /** @type {ShadowRoot} */
|
|
@@ -82,56 +82,56 @@ function Sr(e) {
|
|
|
82
82
|
t
|
|
83
83
|
) : e.ownerDocument;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
return
|
|
85
|
+
function vr(e, t) {
|
|
86
|
+
return T(
|
|
87
87
|
/** @type {Document} */
|
|
88
88
|
e.head || e,
|
|
89
89
|
t
|
|
90
90
|
), t.sheet;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function se(e, t, r) {
|
|
93
93
|
e.insertBefore(t, r || null);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function Q(e) {
|
|
96
96
|
e.parentNode && e.parentNode.removeChild(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function eo(e, t) {
|
|
99
99
|
for (let r = 0; r < e.length; r += 1)
|
|
100
100
|
e[r] && e[r].d(t);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function O(e) {
|
|
103
103
|
return document.createElement(e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function K(e) {
|
|
106
106
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function ye(e) {
|
|
109
109
|
return document.createTextNode(e);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
111
|
+
function xr() {
|
|
112
|
+
return ye(" ");
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Pt(e, t, r, n) {
|
|
115
115
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function S(e, t, r) {
|
|
118
118
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function to(e, t, r) {
|
|
121
121
|
const n = t.toLowerCase();
|
|
122
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
122
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : S(e, t, r);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Er(e) {
|
|
125
125
|
return Array.from(e.childNodes);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function Ot(e, t) {
|
|
128
128
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
129
129
|
t);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function _r(e, t, r, n) {
|
|
132
132
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Sr(e) {
|
|
135
135
|
const t = {};
|
|
136
136
|
return e.childNodes.forEach(
|
|
137
137
|
/** @param {Element} node */
|
|
@@ -140,88 +140,88 @@ function wr(e) {
|
|
|
140
140
|
}
|
|
141
141
|
), t;
|
|
142
142
|
}
|
|
143
|
-
let
|
|
144
|
-
function
|
|
145
|
-
|
|
143
|
+
let re;
|
|
144
|
+
function te(e) {
|
|
145
|
+
re = e;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
if (!
|
|
149
|
-
return
|
|
147
|
+
function Tr() {
|
|
148
|
+
if (!re) throw new Error("Function called outside component initialization");
|
|
149
|
+
return re;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
|
|
151
|
+
function Hr(e) {
|
|
152
|
+
Tr().$$.on_mount.push(e);
|
|
153
153
|
}
|
|
154
|
-
const
|
|
155
|
-
let
|
|
156
|
-
const
|
|
157
|
-
let
|
|
158
|
-
function
|
|
159
|
-
|
|
154
|
+
const j = [], Ne = [];
|
|
155
|
+
let k = [];
|
|
156
|
+
const nt = [], Br = /* @__PURE__ */ Promise.resolve();
|
|
157
|
+
let Me = !1;
|
|
158
|
+
function wr() {
|
|
159
|
+
Me || (Me = !0, Br.then(A));
|
|
160
160
|
}
|
|
161
|
-
function
|
|
162
|
-
|
|
161
|
+
function Ce(e) {
|
|
162
|
+
k.push(e);
|
|
163
163
|
}
|
|
164
164
|
const Be = /* @__PURE__ */ new Set();
|
|
165
|
-
let
|
|
166
|
-
function
|
|
167
|
-
if (
|
|
165
|
+
let D = 0;
|
|
166
|
+
function A() {
|
|
167
|
+
if (D !== 0)
|
|
168
168
|
return;
|
|
169
|
-
const e =
|
|
169
|
+
const e = re;
|
|
170
170
|
do {
|
|
171
171
|
try {
|
|
172
|
-
for (;
|
|
173
|
-
const t =
|
|
174
|
-
|
|
172
|
+
for (; D < j.length; ) {
|
|
173
|
+
const t = j[D];
|
|
174
|
+
D++, te(t), Ar(t.$$);
|
|
175
175
|
}
|
|
176
176
|
} catch (t) {
|
|
177
|
-
throw
|
|
177
|
+
throw j.length = 0, D = 0, t;
|
|
178
178
|
}
|
|
179
|
-
for (
|
|
180
|
-
for (let t = 0; t <
|
|
181
|
-
const r =
|
|
179
|
+
for (te(null), j.length = 0, D = 0; Ne.length; ) Ne.pop()();
|
|
180
|
+
for (let t = 0; t < k.length; t += 1) {
|
|
181
|
+
const r = k[t];
|
|
182
182
|
Be.has(r) || (Be.add(r), r());
|
|
183
183
|
}
|
|
184
|
-
|
|
185
|
-
} while (
|
|
186
|
-
for (;
|
|
187
|
-
|
|
188
|
-
|
|
184
|
+
k.length = 0;
|
|
185
|
+
} while (j.length);
|
|
186
|
+
for (; nt.length; )
|
|
187
|
+
nt.pop()();
|
|
188
|
+
Me = !1, Be.clear(), te(e);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Ar(e) {
|
|
191
191
|
if (e.fragment !== null) {
|
|
192
|
-
e.update(),
|
|
192
|
+
e.update(), oe(e.before_update);
|
|
193
193
|
const t = e.dirty;
|
|
194
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
194
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function Pr(e) {
|
|
198
198
|
const t = [], r = [];
|
|
199
|
-
|
|
199
|
+
k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
|
|
200
200
|
}
|
|
201
|
-
const
|
|
202
|
-
function
|
|
203
|
-
e && e.i && (
|
|
201
|
+
const Or = /* @__PURE__ */ new Set();
|
|
202
|
+
function Ir(e, t) {
|
|
203
|
+
e && e.i && (Or.delete(e), e.i(t));
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function ro(e) {
|
|
206
206
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Lr(e, t, r) {
|
|
209
209
|
const { fragment: n, after_update: i } = e.$$;
|
|
210
|
-
n && n.m(t, r),
|
|
211
|
-
const o = e.$$.on_mount.map(
|
|
212
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
213
|
-
}), i.forEach(
|
|
210
|
+
n && n.m(t, r), Ce(() => {
|
|
211
|
+
const o = e.$$.on_mount.map(Bt).filter(Qe);
|
|
212
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
|
|
213
|
+
}), i.forEach(Ce);
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function Nr(e, t) {
|
|
216
216
|
const r = e.$$;
|
|
217
|
-
r.fragment !== null && (
|
|
217
|
+
r.fragment !== null && (Pr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
218
218
|
}
|
|
219
|
-
function
|
|
220
|
-
e.$$.dirty[0] === -1 && (
|
|
219
|
+
function Mr(e, t) {
|
|
220
|
+
e.$$.dirty[0] === -1 && (j.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
223
|
-
const h =
|
|
224
|
-
|
|
222
|
+
function Cr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
223
|
+
const h = re;
|
|
224
|
+
te(e);
|
|
225
225
|
const u = e.$$ = {
|
|
226
226
|
fragment: null,
|
|
227
227
|
ctx: [],
|
|
@@ -229,7 +229,7 @@ function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
229
229
|
props: o,
|
|
230
230
|
update: w,
|
|
231
231
|
not_equal: i,
|
|
232
|
-
bound:
|
|
232
|
+
bound: rt(),
|
|
233
233
|
// lifecycle
|
|
234
234
|
on_mount: [],
|
|
235
235
|
on_destroy: [],
|
|
@@ -238,7 +238,7 @@ function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
238
238
|
after_update: [],
|
|
239
239
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
240
240
|
// everything else
|
|
241
|
-
callbacks:
|
|
241
|
+
callbacks: rt(),
|
|
242
242
|
dirty: a,
|
|
243
243
|
skip_bound: !1,
|
|
244
244
|
root: t.target || h.$$.root
|
|
@@ -246,20 +246,20 @@ function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
246
246
|
s && s(u.root);
|
|
247
247
|
let l = !1;
|
|
248
248
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
249
|
-
const
|
|
250
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
251
|
-
}) : [], u.update(), l = !0,
|
|
249
|
+
const b = p.length ? p[0] : c;
|
|
250
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), l && Mr(e, f)), c;
|
|
251
|
+
}) : [], u.update(), l = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
252
252
|
if (t.hydrate) {
|
|
253
|
-
const f =
|
|
254
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
253
|
+
const f = Er(t.target);
|
|
254
|
+
u.fragment && u.fragment.l(f), f.forEach(Q);
|
|
255
255
|
} else
|
|
256
256
|
u.fragment && u.fragment.c();
|
|
257
|
-
t.intro &&
|
|
257
|
+
t.intro && Ir(e.$$.fragment), Lr(e, t.target, t.anchor), A();
|
|
258
258
|
}
|
|
259
|
-
|
|
259
|
+
te(h);
|
|
260
260
|
}
|
|
261
|
-
let
|
|
262
|
-
typeof HTMLElement == "function" && (
|
|
261
|
+
let It;
|
|
262
|
+
typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
263
263
|
constructor(t, r, n) {
|
|
264
264
|
super();
|
|
265
265
|
/** The Svelte component constructor */
|
|
@@ -296,42 +296,42 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
connectedCallback() {
|
|
299
|
-
return
|
|
299
|
+
return tt(this, null, function* () {
|
|
300
300
|
if (this.$$cn = !0, !this.$$c) {
|
|
301
301
|
let t = function(o) {
|
|
302
302
|
return () => {
|
|
303
303
|
let s;
|
|
304
304
|
return {
|
|
305
305
|
c: function() {
|
|
306
|
-
s =
|
|
306
|
+
s = O("slot"), o !== "default" && S(s, "name", o);
|
|
307
307
|
},
|
|
308
308
|
/**
|
|
309
309
|
* @param {HTMLElement} target
|
|
310
310
|
* @param {HTMLElement} [anchor]
|
|
311
311
|
*/
|
|
312
312
|
m: function(u, l) {
|
|
313
|
-
|
|
313
|
+
se(u, s, l);
|
|
314
314
|
},
|
|
315
315
|
d: function(u) {
|
|
316
|
-
u &&
|
|
316
|
+
u && Q(s);
|
|
317
317
|
}
|
|
318
318
|
};
|
|
319
319
|
};
|
|
320
320
|
};
|
|
321
321
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
322
322
|
return;
|
|
323
|
-
const r = {}, n =
|
|
323
|
+
const r = {}, n = Sr(this);
|
|
324
324
|
for (const o of this.$$s)
|
|
325
325
|
o in n && (r[o] = [t(o)]);
|
|
326
326
|
for (const o of this.attributes) {
|
|
327
327
|
const s = this.$$g_p(o.name);
|
|
328
|
-
s in this.$$d || (this.$$d[s] =
|
|
328
|
+
s in this.$$d || (this.$$d[s] = fe(s, o.value, this.$$p_d, "toProp"));
|
|
329
329
|
}
|
|
330
330
|
for (const o in this.$$p_d)
|
|
331
331
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
332
332
|
this.$$c = new this.$$ctor({
|
|
333
333
|
target: this.shadowRoot || this,
|
|
334
|
-
props:
|
|
334
|
+
props: et(Ke({}, this.$$d), {
|
|
335
335
|
$$slots: r,
|
|
336
336
|
$$scope: {
|
|
337
337
|
ctx: []
|
|
@@ -342,7 +342,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
342
342
|
this.$$r = !0;
|
|
343
343
|
for (const o in this.$$p_d)
|
|
344
344
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
345
|
-
const s =
|
|
345
|
+
const s = fe(
|
|
346
346
|
o,
|
|
347
347
|
this.$$d[o],
|
|
348
348
|
this.$$p_d,
|
|
@@ -366,7 +366,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
366
366
|
// and setting attributes through setAttribute etc, this is helpful
|
|
367
367
|
attributeChangedCallback(t, r, n) {
|
|
368
368
|
var i;
|
|
369
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
369
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = fe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
370
370
|
}
|
|
371
371
|
disconnectedCallback() {
|
|
372
372
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -379,7 +379,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
379
379
|
) || t;
|
|
380
380
|
}
|
|
381
381
|
});
|
|
382
|
-
function
|
|
382
|
+
function fe(e, t, r, n) {
|
|
383
383
|
var o;
|
|
384
384
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
385
385
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -409,8 +409,8 @@ function pe(e, t, r, n) {
|
|
|
409
409
|
return t;
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
function
|
|
413
|
-
let s = class extends
|
|
412
|
+
function $r(e, t, r, n, i, o) {
|
|
413
|
+
let s = class extends It {
|
|
414
414
|
constructor() {
|
|
415
415
|
super(e, r, i), this.$$p_d = t;
|
|
416
416
|
}
|
|
@@ -427,7 +427,7 @@ function Gr(e, t, r, n, i, o) {
|
|
|
427
427
|
},
|
|
428
428
|
set(h) {
|
|
429
429
|
var u;
|
|
430
|
-
h =
|
|
430
|
+
h = fe(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
|
431
431
|
}
|
|
432
432
|
});
|
|
433
433
|
}), n.forEach((a) => {
|
|
@@ -440,7 +440,7 @@ function Gr(e, t, r, n, i, o) {
|
|
|
440
440
|
}), e.element = /** @type {any} */
|
|
441
441
|
s, s;
|
|
442
442
|
}
|
|
443
|
-
class
|
|
443
|
+
class Rr {
|
|
444
444
|
constructor() {
|
|
445
445
|
/**
|
|
446
446
|
* ### PRIVATE API
|
|
@@ -461,7 +461,7 @@ class Fr {
|
|
|
461
461
|
}
|
|
462
462
|
/** @returns {void} */
|
|
463
463
|
$destroy() {
|
|
464
|
-
|
|
464
|
+
Nr(this, 1), this.$destroy = w;
|
|
465
465
|
}
|
|
466
466
|
/**
|
|
467
467
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -470,7 +470,7 @@ class Fr {
|
|
|
470
470
|
* @returns {() => void}
|
|
471
471
|
*/
|
|
472
472
|
$on(t, r) {
|
|
473
|
-
if (!
|
|
473
|
+
if (!Qe(r))
|
|
474
474
|
return w;
|
|
475
475
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
476
476
|
return n.push(r), () => {
|
|
@@ -483,22 +483,22 @@ class Fr {
|
|
|
483
483
|
* @returns {void}
|
|
484
484
|
*/
|
|
485
485
|
$set(t) {
|
|
486
|
-
this.$$set && !
|
|
486
|
+
this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
const
|
|
490
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
491
|
-
var
|
|
492
|
-
return
|
|
489
|
+
const Ur = "4";
|
|
490
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
|
|
491
|
+
var $e = function(e, t) {
|
|
492
|
+
return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
493
493
|
r.__proto__ = n;
|
|
494
494
|
} || function(r, n) {
|
|
495
495
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
496
|
-
},
|
|
496
|
+
}, $e(e, t);
|
|
497
497
|
};
|
|
498
|
-
function
|
|
498
|
+
function L(e, t) {
|
|
499
499
|
if (typeof t != "function" && t !== null)
|
|
500
500
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
501
|
-
|
|
501
|
+
$e(e, t);
|
|
502
502
|
function r() {
|
|
503
503
|
this.constructor = e;
|
|
504
504
|
}
|
|
@@ -513,7 +513,7 @@ var g = function() {
|
|
|
513
513
|
return t;
|
|
514
514
|
}, g.apply(this, arguments);
|
|
515
515
|
};
|
|
516
|
-
function
|
|
516
|
+
function Gr(e, t) {
|
|
517
517
|
var r = {};
|
|
518
518
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
519
519
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -521,7 +521,7 @@ function kr(e, t) {
|
|
|
521
521
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
522
522
|
return r;
|
|
523
523
|
}
|
|
524
|
-
function
|
|
524
|
+
function Re(e) {
|
|
525
525
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
526
526
|
if (r) return r.call(e);
|
|
527
527
|
if (e && typeof e.length == "number") return {
|
|
@@ -531,7 +531,7 @@ function Ue(e) {
|
|
|
531
531
|
};
|
|
532
532
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function Ue(e, t) {
|
|
535
535
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
536
536
|
if (!r) return e;
|
|
537
537
|
var n = r.call(e), i, o = [], s;
|
|
@@ -548,21 +548,21 @@ function De(e, t) {
|
|
|
548
548
|
}
|
|
549
549
|
return o;
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function V(e, t, r) {
|
|
552
552
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
553
553
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
554
554
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function I(e) {
|
|
557
557
|
return typeof e == "function";
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function Lt(e) {
|
|
560
560
|
var t = function(n) {
|
|
561
561
|
Error.call(n), n.stack = new Error().stack;
|
|
562
562
|
}, r = e(t);
|
|
563
563
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
564
564
|
}
|
|
565
|
-
var
|
|
565
|
+
var we = Lt(function(e) {
|
|
566
566
|
return function(r) {
|
|
567
567
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
568
568
|
` + r.map(function(n, i) {
|
|
@@ -577,7 +577,7 @@ function Ge(e, t) {
|
|
|
577
577
|
0 <= r && e.splice(r, 1);
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
|
-
var
|
|
580
|
+
var ve = function() {
|
|
581
581
|
function e(t) {
|
|
582
582
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
583
583
|
}
|
|
@@ -589,7 +589,7 @@ var Ee = function() {
|
|
|
589
589
|
if (s)
|
|
590
590
|
if (this._parentage = null, Array.isArray(s))
|
|
591
591
|
try {
|
|
592
|
-
for (var a =
|
|
592
|
+
for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
|
|
593
593
|
var u = h.value;
|
|
594
594
|
u.remove(this);
|
|
595
595
|
}
|
|
@@ -605,22 +605,22 @@ var Ee = function() {
|
|
|
605
605
|
else
|
|
606
606
|
s.remove(this);
|
|
607
607
|
var l = this.initialTeardown;
|
|
608
|
-
if (
|
|
608
|
+
if (I(l))
|
|
609
609
|
try {
|
|
610
610
|
l();
|
|
611
611
|
} catch (v) {
|
|
612
|
-
o = v instanceof
|
|
612
|
+
o = v instanceof we ? v.errors : [v];
|
|
613
613
|
}
|
|
614
614
|
var f = this._finalizers;
|
|
615
615
|
if (f) {
|
|
616
616
|
this._finalizers = null;
|
|
617
617
|
try {
|
|
618
|
-
for (var c =
|
|
619
|
-
var
|
|
618
|
+
for (var c = Re(f), p = c.next(); !p.done; p = c.next()) {
|
|
619
|
+
var b = p.value;
|
|
620
620
|
try {
|
|
621
|
-
|
|
621
|
+
it(b);
|
|
622
622
|
} catch (v) {
|
|
623
|
-
o = o != null ? o : [], v instanceof
|
|
623
|
+
o = o != null ? o : [], v instanceof we ? o = V(V([], Ue(o)), Ue(v.errors)) : o.push(v);
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
626
|
} catch (v) {
|
|
@@ -634,13 +634,13 @@ var Ee = function() {
|
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
636
|
if (o)
|
|
637
|
-
throw new
|
|
637
|
+
throw new we(o);
|
|
638
638
|
}
|
|
639
639
|
}, e.prototype.add = function(t) {
|
|
640
640
|
var r;
|
|
641
641
|
if (t && t !== this)
|
|
642
642
|
if (this.closed)
|
|
643
|
-
|
|
643
|
+
it(t);
|
|
644
644
|
else {
|
|
645
645
|
if (t instanceof e) {
|
|
646
646
|
if (t.closed || t._hasParent(this))
|
|
@@ -665,48 +665,44 @@ var Ee = function() {
|
|
|
665
665
|
var t = new e();
|
|
666
666
|
return t.closed = !0, t;
|
|
667
667
|
}(), e;
|
|
668
|
-
}(),
|
|
669
|
-
function
|
|
670
|
-
return e instanceof
|
|
668
|
+
}(), Nt = ve.EMPTY;
|
|
669
|
+
function Mt(e) {
|
|
670
|
+
return e instanceof ve || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
|
|
671
671
|
}
|
|
672
|
-
function
|
|
673
|
-
|
|
674
|
-
}
|
|
675
|
-
var
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
Promise: void 0,
|
|
679
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
680
|
-
useDeprecatedNextContext: !1
|
|
681
|
-
}, Vr = {
|
|
672
|
+
function it(e) {
|
|
673
|
+
I(e) ? e() : e.unsubscribe();
|
|
674
|
+
}
|
|
675
|
+
var Dr = {
|
|
676
|
+
Promise: void 0
|
|
677
|
+
}, Fr = {
|
|
682
678
|
setTimeout: function(e, t) {
|
|
683
679
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
684
680
|
r[n - 2] = arguments[n];
|
|
685
|
-
return setTimeout.apply(void 0,
|
|
681
|
+
return setTimeout.apply(void 0, V([e, t], Ue(r)));
|
|
686
682
|
},
|
|
687
683
|
clearTimeout: function(e) {
|
|
688
684
|
return clearTimeout(e);
|
|
689
685
|
},
|
|
690
686
|
delegate: void 0
|
|
691
687
|
};
|
|
692
|
-
function
|
|
693
|
-
|
|
688
|
+
function jr(e) {
|
|
689
|
+
Fr.setTimeout(function() {
|
|
694
690
|
throw e;
|
|
695
691
|
});
|
|
696
692
|
}
|
|
697
|
-
function
|
|
693
|
+
function ot() {
|
|
698
694
|
}
|
|
699
|
-
function
|
|
695
|
+
function pe(e) {
|
|
700
696
|
e();
|
|
701
697
|
}
|
|
702
|
-
var
|
|
703
|
-
|
|
698
|
+
var Ct = function(e) {
|
|
699
|
+
L(t, e);
|
|
704
700
|
function t(r) {
|
|
705
701
|
var n = e.call(this) || this;
|
|
706
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
702
|
+
return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = Xr, n;
|
|
707
703
|
}
|
|
708
704
|
return t.create = function(r, n, i) {
|
|
709
|
-
return new
|
|
705
|
+
return new De(r, n, i);
|
|
710
706
|
}, t.prototype.next = function(r) {
|
|
711
707
|
this.isStopped || this._next(r);
|
|
712
708
|
}, t.prototype.error = function(r) {
|
|
@@ -730,11 +726,7 @@ var Dt = function(e) {
|
|
|
730
726
|
this.unsubscribe();
|
|
731
727
|
}
|
|
732
728
|
}, t;
|
|
733
|
-
}(
|
|
734
|
-
function we(e, t) {
|
|
735
|
-
return Wr.call(e, t);
|
|
736
|
-
}
|
|
737
|
-
var zr = function() {
|
|
729
|
+
}(ve), kr = function() {
|
|
738
730
|
function e(t) {
|
|
739
731
|
this.partialObserver = t;
|
|
740
732
|
}
|
|
@@ -744,7 +736,7 @@ var zr = function() {
|
|
|
744
736
|
try {
|
|
745
737
|
r.next(t);
|
|
746
738
|
} catch (n) {
|
|
747
|
-
|
|
739
|
+
le(n);
|
|
748
740
|
}
|
|
749
741
|
}, e.prototype.error = function(t) {
|
|
750
742
|
var r = this.partialObserver;
|
|
@@ -752,68 +744,56 @@ var zr = function() {
|
|
|
752
744
|
try {
|
|
753
745
|
r.error(t);
|
|
754
746
|
} catch (n) {
|
|
755
|
-
|
|
747
|
+
le(n);
|
|
756
748
|
}
|
|
757
749
|
else
|
|
758
|
-
|
|
750
|
+
le(t);
|
|
759
751
|
}, e.prototype.complete = function() {
|
|
760
752
|
var t = this.partialObserver;
|
|
761
753
|
if (t.complete)
|
|
762
754
|
try {
|
|
763
755
|
t.complete();
|
|
764
756
|
} catch (r) {
|
|
765
|
-
|
|
757
|
+
le(r);
|
|
766
758
|
}
|
|
767
759
|
}, e;
|
|
768
|
-
}(),
|
|
769
|
-
|
|
760
|
+
}(), De = function(e) {
|
|
761
|
+
L(t, e);
|
|
770
762
|
function t(r, n, i) {
|
|
771
763
|
var o = e.call(this) || this, s;
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
};
|
|
778
|
-
else {
|
|
779
|
-
var a;
|
|
780
|
-
o && Ut.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
781
|
-
return o.unsubscribe();
|
|
782
|
-
}, s = {
|
|
783
|
-
next: r.next && we(r.next, a),
|
|
784
|
-
error: r.error && we(r.error, a),
|
|
785
|
-
complete: r.complete && we(r.complete, a)
|
|
786
|
-
}) : s = r;
|
|
787
|
-
}
|
|
788
|
-
return o.destination = new zr(s), o;
|
|
764
|
+
return I(r) || !r ? s = {
|
|
765
|
+
next: r != null ? r : void 0,
|
|
766
|
+
error: n != null ? n : void 0,
|
|
767
|
+
complete: i != null ? i : void 0
|
|
768
|
+
} : s = r, o.destination = new kr(s), o;
|
|
789
769
|
}
|
|
790
770
|
return t;
|
|
791
|
-
}(
|
|
792
|
-
function
|
|
793
|
-
|
|
771
|
+
}(Ct);
|
|
772
|
+
function le(e) {
|
|
773
|
+
jr(e);
|
|
794
774
|
}
|
|
795
|
-
function
|
|
775
|
+
function Vr(e) {
|
|
796
776
|
throw e;
|
|
797
777
|
}
|
|
798
|
-
var
|
|
778
|
+
var Xr = {
|
|
799
779
|
closed: !0,
|
|
800
|
-
next:
|
|
801
|
-
error:
|
|
802
|
-
complete:
|
|
803
|
-
},
|
|
780
|
+
next: ot,
|
|
781
|
+
error: Vr,
|
|
782
|
+
complete: ot
|
|
783
|
+
}, Wr = function() {
|
|
804
784
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
805
785
|
}();
|
|
806
|
-
function
|
|
786
|
+
function zr(e) {
|
|
807
787
|
return e;
|
|
808
788
|
}
|
|
809
|
-
function
|
|
810
|
-
return e.length === 0 ?
|
|
789
|
+
function Zr(e) {
|
|
790
|
+
return e.length === 0 ? zr : e.length === 1 ? e[0] : function(r) {
|
|
811
791
|
return e.reduce(function(n, i) {
|
|
812
792
|
return i(n);
|
|
813
793
|
}, r);
|
|
814
794
|
};
|
|
815
795
|
}
|
|
816
|
-
var
|
|
796
|
+
var st = function() {
|
|
817
797
|
function e(t) {
|
|
818
798
|
t && (this._subscribe = t);
|
|
819
799
|
}
|
|
@@ -821,8 +801,8 @@ var ht = function() {
|
|
|
821
801
|
var r = new e();
|
|
822
802
|
return r.source = this, r.operator = t, r;
|
|
823
803
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
824
|
-
var i = this, o =
|
|
825
|
-
return
|
|
804
|
+
var i = this, o = qr(t) ? t : new De(t, r, n);
|
|
805
|
+
return pe(function() {
|
|
826
806
|
var s = i, a = s.operator, h = s.source;
|
|
827
807
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
828
808
|
}), o;
|
|
@@ -834,8 +814,8 @@ var ht = function() {
|
|
|
834
814
|
}
|
|
835
815
|
}, e.prototype.forEach = function(t, r) {
|
|
836
816
|
var n = this;
|
|
837
|
-
return r =
|
|
838
|
-
var s = new
|
|
817
|
+
return r = at(r), new r(function(i, o) {
|
|
818
|
+
var s = new De({
|
|
839
819
|
next: function(a) {
|
|
840
820
|
try {
|
|
841
821
|
t(a);
|
|
@@ -851,15 +831,15 @@ var ht = function() {
|
|
|
851
831
|
}, e.prototype._subscribe = function(t) {
|
|
852
832
|
var r;
|
|
853
833
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
854
|
-
}, e.prototype[
|
|
834
|
+
}, e.prototype[Wr] = function() {
|
|
855
835
|
return this;
|
|
856
836
|
}, e.prototype.pipe = function() {
|
|
857
837
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
858
838
|
t[r] = arguments[r];
|
|
859
|
-
return
|
|
839
|
+
return Zr(t)(this);
|
|
860
840
|
}, e.prototype.toPromise = function(t) {
|
|
861
841
|
var r = this;
|
|
862
|
-
return t =
|
|
842
|
+
return t = at(t), new t(function(n, i) {
|
|
863
843
|
var o;
|
|
864
844
|
r.subscribe(function(s) {
|
|
865
845
|
return o = s;
|
|
@@ -873,40 +853,40 @@ var ht = function() {
|
|
|
873
853
|
return new e(t);
|
|
874
854
|
}, e;
|
|
875
855
|
}();
|
|
876
|
-
function
|
|
856
|
+
function at(e) {
|
|
877
857
|
var t;
|
|
878
|
-
return (t = e != null ? e :
|
|
858
|
+
return (t = e != null ? e : Dr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
879
859
|
}
|
|
880
|
-
function
|
|
881
|
-
return e &&
|
|
860
|
+
function Qr(e) {
|
|
861
|
+
return e && I(e.next) && I(e.error) && I(e.complete);
|
|
882
862
|
}
|
|
883
|
-
function
|
|
884
|
-
return e && e instanceof
|
|
863
|
+
function qr(e) {
|
|
864
|
+
return e && e instanceof Ct || Qr(e) && Mt(e);
|
|
885
865
|
}
|
|
886
|
-
var
|
|
866
|
+
var Jr = Lt(function(e) {
|
|
887
867
|
return function() {
|
|
888
868
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
889
869
|
};
|
|
890
|
-
}),
|
|
891
|
-
|
|
870
|
+
}), $t = function(e) {
|
|
871
|
+
L(t, e);
|
|
892
872
|
function t() {
|
|
893
873
|
var r = e.call(this) || this;
|
|
894
874
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
895
875
|
}
|
|
896
876
|
return t.prototype.lift = function(r) {
|
|
897
|
-
var n = new
|
|
877
|
+
var n = new ut(this, this);
|
|
898
878
|
return n.operator = r, n;
|
|
899
879
|
}, t.prototype._throwIfClosed = function() {
|
|
900
880
|
if (this.closed)
|
|
901
|
-
throw new
|
|
881
|
+
throw new Jr();
|
|
902
882
|
}, t.prototype.next = function(r) {
|
|
903
883
|
var n = this;
|
|
904
|
-
|
|
884
|
+
pe(function() {
|
|
905
885
|
var i, o;
|
|
906
886
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
907
887
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
908
888
|
try {
|
|
909
|
-
for (var s =
|
|
889
|
+
for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
910
890
|
var h = a.value;
|
|
911
891
|
h.next(r);
|
|
912
892
|
}
|
|
@@ -923,7 +903,7 @@ var tn = Ct(function(e) {
|
|
|
923
903
|
});
|
|
924
904
|
}, t.prototype.error = function(r) {
|
|
925
905
|
var n = this;
|
|
926
|
-
|
|
906
|
+
pe(function() {
|
|
927
907
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
928
908
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
929
909
|
for (var i = n.observers; i.length; )
|
|
@@ -932,7 +912,7 @@ var tn = Ct(function(e) {
|
|
|
932
912
|
});
|
|
933
913
|
}, t.prototype.complete = function() {
|
|
934
914
|
var r = this;
|
|
935
|
-
|
|
915
|
+
pe(function() {
|
|
936
916
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
937
917
|
r.isStopped = !0;
|
|
938
918
|
for (var n = r.observers; n.length; )
|
|
@@ -954,20 +934,20 @@ var tn = Ct(function(e) {
|
|
|
954
934
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
955
935
|
}, t.prototype._innerSubscribe = function(r) {
|
|
956
936
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
957
|
-
return o || s ?
|
|
937
|
+
return o || s ? Nt : (this.currentObservers = null, a.push(r), new ve(function() {
|
|
958
938
|
n.currentObservers = null, Ge(a, r);
|
|
959
939
|
}));
|
|
960
940
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
961
941
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
962
942
|
i ? r.error(o) : s && r.complete();
|
|
963
943
|
}, t.prototype.asObservable = function() {
|
|
964
|
-
var r = new
|
|
944
|
+
var r = new st();
|
|
965
945
|
return r.source = this, r;
|
|
966
946
|
}, t.create = function(r, n) {
|
|
967
|
-
return new
|
|
947
|
+
return new ut(r, n);
|
|
968
948
|
}, t;
|
|
969
|
-
}(
|
|
970
|
-
|
|
949
|
+
}(st), ut = function(e) {
|
|
950
|
+
L(t, e);
|
|
971
951
|
function t(r, n) {
|
|
972
952
|
var i = e.call(this) || this;
|
|
973
953
|
return i.destination = r, i.source = n, i;
|
|
@@ -983,17 +963,17 @@ var tn = Ct(function(e) {
|
|
|
983
963
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
984
964
|
}, t.prototype._subscribe = function(r) {
|
|
985
965
|
var n, i;
|
|
986
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
966
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nt;
|
|
987
967
|
}, t;
|
|
988
|
-
}(
|
|
968
|
+
}($t), Rt = {
|
|
989
969
|
now: function() {
|
|
990
|
-
return (
|
|
970
|
+
return (Rt.delegate || Date).now();
|
|
991
971
|
},
|
|
992
972
|
delegate: void 0
|
|
993
|
-
},
|
|
994
|
-
|
|
973
|
+
}, Yr = function(e) {
|
|
974
|
+
L(t, e);
|
|
995
975
|
function t(r, n, i) {
|
|
996
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
976
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
|
|
997
977
|
var o = e.call(this) || this;
|
|
998
978
|
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;
|
|
999
979
|
}
|
|
@@ -1013,15 +993,15 @@ var tn = Ct(function(e) {
|
|
|
1013
993
|
u && o.splice(0, u + 1);
|
|
1014
994
|
}
|
|
1015
995
|
}, t;
|
|
1016
|
-
}(
|
|
1017
|
-
const
|
|
1018
|
-
if (
|
|
1019
|
-
const r = new
|
|
1020
|
-
|
|
996
|
+
}($t);
|
|
997
|
+
const ht = [], lt = {}, Kr = (e, t = 0) => {
|
|
998
|
+
if (ht.indexOf(e) == -1) {
|
|
999
|
+
const r = new Yr(t);
|
|
1000
|
+
lt[e] = r, ht.push(e);
|
|
1021
1001
|
}
|
|
1022
|
-
return
|
|
1023
|
-
},
|
|
1024
|
-
function
|
|
1002
|
+
return lt[e];
|
|
1003
|
+
}, F = [];
|
|
1004
|
+
function en(e, t) {
|
|
1025
1005
|
return {
|
|
1026
1006
|
subscribe: xe(e, t).subscribe
|
|
1027
1007
|
};
|
|
@@ -1030,14 +1010,14 @@ function xe(e, t = w) {
|
|
|
1030
1010
|
let r;
|
|
1031
1011
|
const n = /* @__PURE__ */ new Set();
|
|
1032
1012
|
function i(a) {
|
|
1033
|
-
if (
|
|
1034
|
-
const h = !
|
|
1013
|
+
if (wt(e, a) && (e = a, r)) {
|
|
1014
|
+
const h = !F.length;
|
|
1035
1015
|
for (const u of n)
|
|
1036
|
-
u[1](),
|
|
1016
|
+
u[1](), F.push(u, e);
|
|
1037
1017
|
if (h) {
|
|
1038
|
-
for (let u = 0; u <
|
|
1039
|
-
|
|
1040
|
-
|
|
1018
|
+
for (let u = 0; u < F.length; u += 2)
|
|
1019
|
+
F[u][0](F[u + 1]);
|
|
1020
|
+
F.length = 0;
|
|
1041
1021
|
}
|
|
1042
1022
|
}
|
|
1043
1023
|
}
|
|
@@ -1052,12 +1032,12 @@ function xe(e, t = w) {
|
|
|
1052
1032
|
}
|
|
1053
1033
|
return { set: i, update: o, subscribe: s };
|
|
1054
1034
|
}
|
|
1055
|
-
function
|
|
1035
|
+
function q(e, t, r) {
|
|
1056
1036
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1057
1037
|
if (!i.every(Boolean))
|
|
1058
1038
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1059
1039
|
const o = t.length < 2;
|
|
1060
|
-
return
|
|
1040
|
+
return en(r, (s, a) => {
|
|
1061
1041
|
let h = !1;
|
|
1062
1042
|
const u = [];
|
|
1063
1043
|
let l = 0, f = w;
|
|
@@ -1065,11 +1045,11 @@ function J(e, t, r) {
|
|
|
1065
1045
|
if (l)
|
|
1066
1046
|
return;
|
|
1067
1047
|
f();
|
|
1068
|
-
const
|
|
1069
|
-
o ? s(
|
|
1048
|
+
const b = t(n ? u[0] : u, s, a);
|
|
1049
|
+
o ? s(b) : f = Qe(b) ? b : w;
|
|
1070
1050
|
}, p = i.map(
|
|
1071
|
-
(
|
|
1072
|
-
|
|
1051
|
+
(b, v) => At(
|
|
1052
|
+
b,
|
|
1073
1053
|
(B) => {
|
|
1074
1054
|
u[v] = B, l &= ~(1 << v), h && c();
|
|
1075
1055
|
},
|
|
@@ -1079,183 +1059,181 @@ function J(e, t, r) {
|
|
|
1079
1059
|
)
|
|
1080
1060
|
);
|
|
1081
1061
|
return h = !0, c(), function() {
|
|
1082
|
-
|
|
1062
|
+
oe(p), f(), h = !1;
|
|
1083
1063
|
};
|
|
1084
1064
|
});
|
|
1085
1065
|
}
|
|
1086
|
-
function
|
|
1066
|
+
function tn(e) {
|
|
1087
1067
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1088
1068
|
}
|
|
1089
|
-
var
|
|
1090
|
-
return
|
|
1069
|
+
var rn = function(t) {
|
|
1070
|
+
return nn(t) && !on(t);
|
|
1091
1071
|
};
|
|
1092
|
-
function
|
|
1072
|
+
function nn(e) {
|
|
1093
1073
|
return !!e && typeof e == "object";
|
|
1094
1074
|
}
|
|
1095
|
-
function
|
|
1075
|
+
function on(e) {
|
|
1096
1076
|
var t = Object.prototype.toString.call(e);
|
|
1097
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1077
|
+
return t === "[object RegExp]" || t === "[object Date]" || un(e);
|
|
1098
1078
|
}
|
|
1099
|
-
var
|
|
1100
|
-
function
|
|
1101
|
-
return e.$$typeof ===
|
|
1079
|
+
var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
|
|
1080
|
+
function un(e) {
|
|
1081
|
+
return e.$$typeof === an;
|
|
1102
1082
|
}
|
|
1103
|
-
function
|
|
1083
|
+
function hn(e) {
|
|
1104
1084
|
return Array.isArray(e) ? [] : {};
|
|
1105
1085
|
}
|
|
1106
|
-
function
|
|
1107
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1086
|
+
function ne(e, t) {
|
|
1087
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? X(hn(e), e, t) : e;
|
|
1108
1088
|
}
|
|
1109
|
-
function
|
|
1089
|
+
function ln(e, t, r) {
|
|
1110
1090
|
return e.concat(t).map(function(n) {
|
|
1111
|
-
return
|
|
1091
|
+
return ne(n, r);
|
|
1112
1092
|
});
|
|
1113
1093
|
}
|
|
1114
|
-
function
|
|
1094
|
+
function cn(e, t) {
|
|
1115
1095
|
if (!t.customMerge)
|
|
1116
|
-
return
|
|
1096
|
+
return X;
|
|
1117
1097
|
var r = t.customMerge(e);
|
|
1118
|
-
return typeof r == "function" ? r :
|
|
1098
|
+
return typeof r == "function" ? r : X;
|
|
1119
1099
|
}
|
|
1120
|
-
function
|
|
1100
|
+
function fn(e) {
|
|
1121
1101
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1122
1102
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1123
1103
|
}) : [];
|
|
1124
1104
|
}
|
|
1125
|
-
function
|
|
1126
|
-
return Object.keys(e).concat(
|
|
1105
|
+
function ct(e) {
|
|
1106
|
+
return Object.keys(e).concat(fn(e));
|
|
1127
1107
|
}
|
|
1128
|
-
function
|
|
1108
|
+
function Ut(e, t) {
|
|
1129
1109
|
try {
|
|
1130
1110
|
return t in e;
|
|
1131
1111
|
} catch (r) {
|
|
1132
1112
|
return !1;
|
|
1133
1113
|
}
|
|
1134
1114
|
}
|
|
1135
|
-
function
|
|
1136
|
-
return
|
|
1115
|
+
function pn(e, t) {
|
|
1116
|
+
return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1137
1117
|
}
|
|
1138
|
-
function
|
|
1118
|
+
function dn(e, t, r) {
|
|
1139
1119
|
var n = {};
|
|
1140
|
-
return r.isMergeableObject(e) &&
|
|
1141
|
-
n[i] =
|
|
1142
|
-
}),
|
|
1143
|
-
|
|
1120
|
+
return r.isMergeableObject(e) && ct(e).forEach(function(i) {
|
|
1121
|
+
n[i] = ne(e[i], r);
|
|
1122
|
+
}), ct(t).forEach(function(i) {
|
|
1123
|
+
pn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
|
|
1144
1124
|
}), n;
|
|
1145
1125
|
}
|
|
1146
|
-
function
|
|
1147
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1126
|
+
function X(e, t, r) {
|
|
1127
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = ne;
|
|
1148
1128
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1149
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1129
|
+
return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : ne(t, r);
|
|
1150
1130
|
}
|
|
1151
|
-
|
|
1131
|
+
X.all = function(t, r) {
|
|
1152
1132
|
if (!Array.isArray(t))
|
|
1153
1133
|
throw new Error("first argument should be an array");
|
|
1154
1134
|
return t.reduce(function(n, i) {
|
|
1155
|
-
return
|
|
1135
|
+
return X(n, i, r);
|
|
1156
1136
|
}, {});
|
|
1157
1137
|
};
|
|
1158
|
-
var
|
|
1159
|
-
const
|
|
1160
|
-
function
|
|
1161
|
-
var r = t && t.cache ? t.cache :
|
|
1138
|
+
var mn = X, bn = mn;
|
|
1139
|
+
const gn = /* @__PURE__ */ tn(bn);
|
|
1140
|
+
function Ae(e, t) {
|
|
1141
|
+
var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : xn;
|
|
1162
1142
|
return i(e, {
|
|
1163
1143
|
cache: r,
|
|
1164
1144
|
serializer: n
|
|
1165
1145
|
});
|
|
1166
1146
|
}
|
|
1167
|
-
function
|
|
1147
|
+
function yn(e) {
|
|
1168
1148
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1169
1149
|
}
|
|
1170
|
-
function
|
|
1171
|
-
var i =
|
|
1150
|
+
function vn(e, t, r, n) {
|
|
1151
|
+
var i = yn(n) ? n : r(n), o = t.get(i);
|
|
1172
1152
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1173
1153
|
}
|
|
1174
|
-
function
|
|
1154
|
+
function Gt(e, t, r) {
|
|
1175
1155
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1176
1156
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1177
1157
|
}
|
|
1178
|
-
function
|
|
1158
|
+
function Dt(e, t, r, n, i) {
|
|
1179
1159
|
return r.bind(t, e, n, i);
|
|
1180
1160
|
}
|
|
1181
|
-
function
|
|
1182
|
-
var r = e.length === 1 ?
|
|
1183
|
-
return
|
|
1184
|
-
}
|
|
1185
|
-
function Tn(e, t) {
|
|
1186
|
-
return Je(e, this, Vt, t.cache.create(), t.serializer);
|
|
1161
|
+
function xn(e, t) {
|
|
1162
|
+
var r = e.length === 1 ? vn : Gt;
|
|
1163
|
+
return Dt(e, this, r, t.cache.create(), t.serializer);
|
|
1187
1164
|
}
|
|
1188
|
-
function
|
|
1189
|
-
return
|
|
1165
|
+
function En(e, t) {
|
|
1166
|
+
return Dt(e, this, Gt, t.cache.create(), t.serializer);
|
|
1190
1167
|
}
|
|
1191
|
-
var
|
|
1168
|
+
var _n = function() {
|
|
1192
1169
|
return JSON.stringify(arguments);
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1170
|
+
}, Sn = (
|
|
1171
|
+
/** @class */
|
|
1172
|
+
function() {
|
|
1173
|
+
function e() {
|
|
1174
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1175
|
+
}
|
|
1176
|
+
return e.prototype.get = function(t) {
|
|
1177
|
+
return this.cache[t];
|
|
1178
|
+
}, e.prototype.set = function(t, r) {
|
|
1179
|
+
this.cache[t] = r;
|
|
1180
|
+
}, e;
|
|
1181
|
+
}()
|
|
1182
|
+
), Tn = {
|
|
1204
1183
|
create: function() {
|
|
1205
|
-
return new
|
|
1184
|
+
return new Sn();
|
|
1206
1185
|
}
|
|
1207
|
-
},
|
|
1208
|
-
variadic:
|
|
1209
|
-
monadic: Hn
|
|
1186
|
+
}, Pe = {
|
|
1187
|
+
variadic: En
|
|
1210
1188
|
}, d;
|
|
1211
1189
|
(function(e) {
|
|
1212
1190
|
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";
|
|
1213
1191
|
})(d || (d = {}));
|
|
1214
|
-
var
|
|
1192
|
+
var x;
|
|
1215
1193
|
(function(e) {
|
|
1216
1194
|
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";
|
|
1217
|
-
})(
|
|
1218
|
-
var
|
|
1195
|
+
})(x || (x = {}));
|
|
1196
|
+
var W;
|
|
1219
1197
|
(function(e) {
|
|
1220
1198
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1221
|
-
})(
|
|
1222
|
-
function
|
|
1223
|
-
return e.type ===
|
|
1199
|
+
})(W || (W = {}));
|
|
1200
|
+
function ft(e) {
|
|
1201
|
+
return e.type === x.literal;
|
|
1224
1202
|
}
|
|
1225
|
-
function
|
|
1226
|
-
return e.type ===
|
|
1203
|
+
function Hn(e) {
|
|
1204
|
+
return e.type === x.argument;
|
|
1227
1205
|
}
|
|
1228
|
-
function
|
|
1229
|
-
return e.type ===
|
|
1206
|
+
function Ft(e) {
|
|
1207
|
+
return e.type === x.number;
|
|
1230
1208
|
}
|
|
1231
|
-
function
|
|
1232
|
-
return e.type ===
|
|
1209
|
+
function jt(e) {
|
|
1210
|
+
return e.type === x.date;
|
|
1233
1211
|
}
|
|
1234
|
-
function
|
|
1235
|
-
return e.type ===
|
|
1212
|
+
function kt(e) {
|
|
1213
|
+
return e.type === x.time;
|
|
1236
1214
|
}
|
|
1237
|
-
function
|
|
1238
|
-
return e.type ===
|
|
1215
|
+
function Vt(e) {
|
|
1216
|
+
return e.type === x.select;
|
|
1239
1217
|
}
|
|
1240
|
-
function
|
|
1241
|
-
return e.type ===
|
|
1218
|
+
function Xt(e) {
|
|
1219
|
+
return e.type === x.plural;
|
|
1242
1220
|
}
|
|
1243
|
-
function
|
|
1244
|
-
return e.type ===
|
|
1221
|
+
function Bn(e) {
|
|
1222
|
+
return e.type === x.pound;
|
|
1245
1223
|
}
|
|
1246
|
-
function
|
|
1247
|
-
return e.type ===
|
|
1224
|
+
function Wt(e) {
|
|
1225
|
+
return e.type === x.tag;
|
|
1248
1226
|
}
|
|
1249
|
-
function
|
|
1250
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1227
|
+
function zt(e) {
|
|
1228
|
+
return !!(e && typeof e == "object" && e.type === W.number);
|
|
1251
1229
|
}
|
|
1252
|
-
function
|
|
1253
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1230
|
+
function Fe(e) {
|
|
1231
|
+
return !!(e && typeof e == "object" && e.type === W.dateTime);
|
|
1254
1232
|
}
|
|
1255
|
-
var
|
|
1256
|
-
function
|
|
1233
|
+
var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
|
|
1234
|
+
function An(e) {
|
|
1257
1235
|
var t = {};
|
|
1258
|
-
return e.replace(
|
|
1236
|
+
return e.replace(wn, function(r) {
|
|
1259
1237
|
var n = r.length;
|
|
1260
1238
|
switch (r[0]) {
|
|
1261
1239
|
case "G":
|
|
@@ -1344,11 +1322,11 @@ function In(e) {
|
|
|
1344
1322
|
return "";
|
|
1345
1323
|
}), t;
|
|
1346
1324
|
}
|
|
1347
|
-
var
|
|
1348
|
-
function
|
|
1325
|
+
var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1326
|
+
function On(e) {
|
|
1349
1327
|
if (e.length === 0)
|
|
1350
1328
|
throw new Error("Number skeleton cannot be empty");
|
|
1351
|
-
for (var t = e.split(
|
|
1329
|
+
for (var t = e.split(Pn).filter(function(c) {
|
|
1352
1330
|
return c.length > 0;
|
|
1353
1331
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1354
1332
|
var o = i[n], s = o.split("/");
|
|
@@ -1363,17 +1341,17 @@ function Nn(e) {
|
|
|
1363
1341
|
}
|
|
1364
1342
|
return r;
|
|
1365
1343
|
}
|
|
1366
|
-
function
|
|
1344
|
+
function In(e) {
|
|
1367
1345
|
return e.replace(/^(.*?)-/, "");
|
|
1368
1346
|
}
|
|
1369
|
-
var
|
|
1370
|
-
function
|
|
1347
|
+
var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
|
|
1348
|
+
function dt(e) {
|
|
1371
1349
|
var t = {};
|
|
1372
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1350
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
|
|
1373
1351
|
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)), "";
|
|
1374
1352
|
}), t;
|
|
1375
1353
|
}
|
|
1376
|
-
function
|
|
1354
|
+
function Jt(e) {
|
|
1377
1355
|
switch (e) {
|
|
1378
1356
|
case "sign-auto":
|
|
1379
1357
|
return {
|
|
@@ -1413,7 +1391,7 @@ function tr(e) {
|
|
|
1413
1391
|
};
|
|
1414
1392
|
}
|
|
1415
1393
|
}
|
|
1416
|
-
function
|
|
1394
|
+
function Nn(e) {
|
|
1417
1395
|
var t;
|
|
1418
1396
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1419
1397
|
notation: "engineering"
|
|
@@ -1421,17 +1399,17 @@ function $n(e) {
|
|
|
1421
1399
|
notation: "scientific"
|
|
1422
1400
|
}, e = e.slice(1)), t) {
|
|
1423
1401
|
var r = e.slice(0, 2);
|
|
1424
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1402
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
|
|
1425
1403
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1426
1404
|
t.minimumIntegerDigits = e.length;
|
|
1427
1405
|
}
|
|
1428
1406
|
return t;
|
|
1429
1407
|
}
|
|
1430
|
-
function
|
|
1431
|
-
var t = {}, r =
|
|
1408
|
+
function mt(e) {
|
|
1409
|
+
var t = {}, r = Jt(e);
|
|
1432
1410
|
return r || t;
|
|
1433
1411
|
}
|
|
1434
|
-
function
|
|
1412
|
+
function Mn(e) {
|
|
1435
1413
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1436
1414
|
var i = n[r];
|
|
1437
1415
|
switch (i.stem) {
|
|
@@ -1455,7 +1433,7 @@ function Rn(e) {
|
|
|
1455
1433
|
continue;
|
|
1456
1434
|
case "measure-unit":
|
|
1457
1435
|
case "unit":
|
|
1458
|
-
t.style = "unit", t.unit =
|
|
1436
|
+
t.style = "unit", t.unit = In(i.options[0]);
|
|
1459
1437
|
continue;
|
|
1460
1438
|
case "compact-short":
|
|
1461
1439
|
case "K":
|
|
@@ -1467,12 +1445,12 @@ function Rn(e) {
|
|
|
1467
1445
|
continue;
|
|
1468
1446
|
case "scientific":
|
|
1469
1447
|
t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1470
|
-
return g(g({}, h),
|
|
1448
|
+
return g(g({}, h), mt(u));
|
|
1471
1449
|
}, {}));
|
|
1472
1450
|
continue;
|
|
1473
1451
|
case "engineering":
|
|
1474
1452
|
t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1475
|
-
return g(g({}, h),
|
|
1453
|
+
return g(g({}, h), mt(u));
|
|
1476
1454
|
}, {}));
|
|
1477
1455
|
continue;
|
|
1478
1456
|
case "notation-simple":
|
|
@@ -1517,7 +1495,7 @@ function Rn(e) {
|
|
|
1517
1495
|
case "integer-width":
|
|
1518
1496
|
if (i.options.length > 1)
|
|
1519
1497
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1520
|
-
i.options[0].replace(
|
|
1498
|
+
i.options[0].replace(Ln, function(h, u, l, f, c, p) {
|
|
1521
1499
|
if (u)
|
|
1522
1500
|
t.minimumIntegerDigits = l.length;
|
|
1523
1501
|
else {
|
|
@@ -1530,32 +1508,32 @@ function Rn(e) {
|
|
|
1530
1508
|
});
|
|
1531
1509
|
continue;
|
|
1532
1510
|
}
|
|
1533
|
-
if (
|
|
1511
|
+
if (qt.test(i.stem)) {
|
|
1534
1512
|
t.minimumIntegerDigits = i.stem.length;
|
|
1535
1513
|
continue;
|
|
1536
1514
|
}
|
|
1537
|
-
if (
|
|
1515
|
+
if (pt.test(i.stem)) {
|
|
1538
1516
|
if (i.options.length > 1)
|
|
1539
1517
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1540
|
-
i.stem.replace(
|
|
1518
|
+
i.stem.replace(pt, function(h, u, l, f, c, p) {
|
|
1541
1519
|
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1542
1520
|
});
|
|
1543
1521
|
var o = i.options[0];
|
|
1544
|
-
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t),
|
|
1522
|
+
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), dt(o)));
|
|
1545
1523
|
continue;
|
|
1546
1524
|
}
|
|
1547
|
-
if (
|
|
1548
|
-
t = g(g({}, t),
|
|
1525
|
+
if (Qt.test(i.stem)) {
|
|
1526
|
+
t = g(g({}, t), dt(i.stem));
|
|
1549
1527
|
continue;
|
|
1550
1528
|
}
|
|
1551
|
-
var s =
|
|
1529
|
+
var s = Jt(i.stem);
|
|
1552
1530
|
s && (t = g(g({}, t), s));
|
|
1553
|
-
var a =
|
|
1531
|
+
var a = Nn(i.stem);
|
|
1554
1532
|
a && (t = g(g({}, t), a));
|
|
1555
1533
|
}
|
|
1556
1534
|
return t;
|
|
1557
1535
|
}
|
|
1558
|
-
var
|
|
1536
|
+
var ce = {
|
|
1559
1537
|
"001": [
|
|
1560
1538
|
"H",
|
|
1561
1539
|
"h"
|
|
@@ -2970,13 +2948,13 @@ var fe = {
|
|
|
2970
2948
|
"h"
|
|
2971
2949
|
]
|
|
2972
2950
|
};
|
|
2973
|
-
function
|
|
2951
|
+
function Cn(e, t) {
|
|
2974
2952
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2975
2953
|
var i = e.charAt(n);
|
|
2976
2954
|
if (i === "j") {
|
|
2977
2955
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2978
2956
|
o++, n++;
|
|
2979
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2957
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = $n(t);
|
|
2980
2958
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2981
2959
|
r += h;
|
|
2982
2960
|
for (; s-- > 0; )
|
|
@@ -2985,7 +2963,7 @@ function Un(e, t) {
|
|
|
2985
2963
|
}
|
|
2986
2964
|
return r;
|
|
2987
2965
|
}
|
|
2988
|
-
function
|
|
2966
|
+
function $n(e) {
|
|
2989
2967
|
var t = e.hourCycle;
|
|
2990
2968
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2991
2969
|
e.hourCycles && // @ts-ignore
|
|
@@ -3004,23 +2982,23 @@ function Dn(e) {
|
|
|
3004
2982
|
}
|
|
3005
2983
|
var r = e.language, n;
|
|
3006
2984
|
r !== "root" && (n = e.maximize().region);
|
|
3007
|
-
var i =
|
|
2985
|
+
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
3008
2986
|
return i[0];
|
|
3009
2987
|
}
|
|
3010
|
-
var
|
|
2988
|
+
var Oe, Rn = new RegExp("^".concat(Zt.source, "*")), Un = new RegExp("".concat(Zt.source, "*$"));
|
|
3011
2989
|
function m(e, t) {
|
|
3012
2990
|
return { start: e, end: t };
|
|
3013
2991
|
}
|
|
3014
|
-
var
|
|
2992
|
+
var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, Wn = Xn ? Number.isSafeInteger : function(e) {
|
|
3015
2993
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3016
|
-
},
|
|
2994
|
+
}, je = !0;
|
|
3017
2995
|
try {
|
|
3018
|
-
var
|
|
3019
|
-
|
|
2996
|
+
var zn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2997
|
+
je = ((Oe = zn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
3020
2998
|
} catch (e) {
|
|
3021
|
-
|
|
2999
|
+
je = !1;
|
|
3022
3000
|
}
|
|
3023
|
-
var
|
|
3001
|
+
var bt = Gn ? (
|
|
3024
3002
|
// Native
|
|
3025
3003
|
function(t, r, n) {
|
|
3026
3004
|
return t.startsWith(r, n);
|
|
@@ -3030,7 +3008,7 @@ var vt = jn ? (
|
|
|
3030
3008
|
function(t, r, n) {
|
|
3031
3009
|
return t.slice(n, n + r.length) === r;
|
|
3032
3010
|
}
|
|
3033
|
-
),
|
|
3011
|
+
), ke = Dn ? String.fromCodePoint : (
|
|
3034
3012
|
// IE11
|
|
3035
3013
|
function() {
|
|
3036
3014
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3042,9 +3020,9 @@ var vt = jn ? (
|
|
|
3042
3020
|
}
|
|
3043
3021
|
return n;
|
|
3044
3022
|
}
|
|
3045
|
-
),
|
|
3023
|
+
), gt = (
|
|
3046
3024
|
// native
|
|
3047
|
-
|
|
3025
|
+
Fn ? Object.fromEntries : (
|
|
3048
3026
|
// Ponyfill
|
|
3049
3027
|
function(t) {
|
|
3050
3028
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3054,7 +3032,7 @@ var vt = jn ? (
|
|
|
3054
3032
|
return r;
|
|
3055
3033
|
}
|
|
3056
3034
|
)
|
|
3057
|
-
),
|
|
3035
|
+
), Yt = jn ? (
|
|
3058
3036
|
// Native
|
|
3059
3037
|
function(t, r) {
|
|
3060
3038
|
return t.codePointAt(r);
|
|
@@ -3068,7 +3046,7 @@ var vt = jn ? (
|
|
|
3068
3046
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3069
3047
|
}
|
|
3070
3048
|
}
|
|
3071
|
-
),
|
|
3049
|
+
), Zn = kn ? (
|
|
3072
3050
|
// Native
|
|
3073
3051
|
function(t) {
|
|
3074
3052
|
return t.trimStart();
|
|
@@ -3076,9 +3054,9 @@ var vt = jn ? (
|
|
|
3076
3054
|
) : (
|
|
3077
3055
|
// Ponyfill
|
|
3078
3056
|
function(t) {
|
|
3079
|
-
return t.replace(
|
|
3057
|
+
return t.replace(Rn, "");
|
|
3080
3058
|
}
|
|
3081
|
-
),
|
|
3059
|
+
), Qn = Vn ? (
|
|
3082
3060
|
// Native
|
|
3083
3061
|
function(t) {
|
|
3084
3062
|
return t.trimEnd();
|
|
@@ -3086,32 +3064,32 @@ var vt = jn ? (
|
|
|
3086
3064
|
) : (
|
|
3087
3065
|
// Ponyfill
|
|
3088
3066
|
function(t) {
|
|
3089
|
-
return t.replace(
|
|
3067
|
+
return t.replace(Un, "");
|
|
3090
3068
|
}
|
|
3091
3069
|
);
|
|
3092
|
-
function
|
|
3070
|
+
function Kt(e, t) {
|
|
3093
3071
|
return new RegExp(e, t);
|
|
3094
3072
|
}
|
|
3095
|
-
var
|
|
3096
|
-
if (
|
|
3097
|
-
var
|
|
3098
|
-
|
|
3073
|
+
var Ve;
|
|
3074
|
+
if (je) {
|
|
3075
|
+
var yt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3076
|
+
Ve = function(t, r) {
|
|
3099
3077
|
var n;
|
|
3100
|
-
|
|
3101
|
-
var i =
|
|
3078
|
+
yt.lastIndex = r;
|
|
3079
|
+
var i = yt.exec(t);
|
|
3102
3080
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3103
3081
|
};
|
|
3104
3082
|
} else
|
|
3105
|
-
|
|
3083
|
+
Ve = function(t, r) {
|
|
3106
3084
|
for (var n = []; ; ) {
|
|
3107
|
-
var i =
|
|
3108
|
-
if (i === void 0 ||
|
|
3085
|
+
var i = Yt(t, r);
|
|
3086
|
+
if (i === void 0 || er(i) || Kn(i))
|
|
3109
3087
|
break;
|
|
3110
3088
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3111
3089
|
}
|
|
3112
|
-
return
|
|
3090
|
+
return ke.apply(void 0, n);
|
|
3113
3091
|
};
|
|
3114
|
-
var
|
|
3092
|
+
var qn = (
|
|
3115
3093
|
/** @class */
|
|
3116
3094
|
function() {
|
|
3117
3095
|
function e(t, r) {
|
|
@@ -3135,14 +3113,14 @@ var Kn = (
|
|
|
3135
3113
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3136
3114
|
var a = this.clonePosition();
|
|
3137
3115
|
this.bump(), i.push({
|
|
3138
|
-
type:
|
|
3116
|
+
type: x.pound,
|
|
3139
3117
|
location: m(a, this.clonePosition())
|
|
3140
3118
|
});
|
|
3141
3119
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3142
3120
|
if (n)
|
|
3143
3121
|
break;
|
|
3144
3122
|
return this.error(d.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
|
|
3145
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3123
|
+
} else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
|
|
3146
3124
|
var s = this.parseTag(t, r);
|
|
3147
3125
|
if (s.err)
|
|
3148
3126
|
return s;
|
|
@@ -3163,7 +3141,7 @@ var Kn = (
|
|
|
3163
3141
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3164
3142
|
return {
|
|
3165
3143
|
val: {
|
|
3166
|
-
type:
|
|
3144
|
+
type: x.literal,
|
|
3167
3145
|
value: "<".concat(i, "/>"),
|
|
3168
3146
|
location: m(n, this.clonePosition())
|
|
3169
3147
|
},
|
|
@@ -3175,12 +3153,12 @@ var Kn = (
|
|
|
3175
3153
|
return o;
|
|
3176
3154
|
var s = o.val, a = this.clonePosition();
|
|
3177
3155
|
if (this.bumpIf("</")) {
|
|
3178
|
-
if (this.isEOF() || !
|
|
3156
|
+
if (this.isEOF() || !Xe(this.char()))
|
|
3179
3157
|
return this.error(d.INVALID_TAG, m(a, this.clonePosition()));
|
|
3180
3158
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3181
3159
|
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3182
3160
|
val: {
|
|
3183
|
-
type:
|
|
3161
|
+
type: x.tag,
|
|
3184
3162
|
value: i,
|
|
3185
3163
|
children: s,
|
|
3186
3164
|
location: m(n, this.clonePosition())
|
|
@@ -3193,7 +3171,7 @@ var Kn = (
|
|
|
3193
3171
|
return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
|
|
3194
3172
|
}, e.prototype.parseTagName = function() {
|
|
3195
3173
|
var t = this.offset();
|
|
3196
|
-
for (this.bump(); !this.isEOF() &&
|
|
3174
|
+
for (this.bump(); !this.isEOF() && Yn(this.char()); )
|
|
3197
3175
|
this.bump();
|
|
3198
3176
|
return this.message.slice(t, this.offset());
|
|
3199
3177
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3217,12 +3195,12 @@ var Kn = (
|
|
|
3217
3195
|
}
|
|
3218
3196
|
var h = m(n, this.clonePosition());
|
|
3219
3197
|
return {
|
|
3220
|
-
val: { type:
|
|
3198
|
+
val: { type: x.literal, value: i, location: h },
|
|
3221
3199
|
err: null
|
|
3222
3200
|
};
|
|
3223
3201
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3224
3202
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3225
|
-
!
|
|
3203
|
+
!Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3226
3204
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3227
3205
|
if (this.isEOF() || this.char() !== 39)
|
|
3228
3206
|
return null;
|
|
@@ -3256,12 +3234,12 @@ var Kn = (
|
|
|
3256
3234
|
r.push(n);
|
|
3257
3235
|
this.bump();
|
|
3258
3236
|
}
|
|
3259
|
-
return
|
|
3237
|
+
return ke.apply(void 0, r);
|
|
3260
3238
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3261
3239
|
if (this.isEOF())
|
|
3262
3240
|
return null;
|
|
3263
3241
|
var n = this.char();
|
|
3264
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3242
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
|
|
3265
3243
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3266
3244
|
var n = this.clonePosition();
|
|
3267
3245
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3277,7 +3255,7 @@ var Kn = (
|
|
|
3277
3255
|
case 125:
|
|
3278
3256
|
return this.bump(), {
|
|
3279
3257
|
val: {
|
|
3280
|
-
type:
|
|
3258
|
+
type: x.argument,
|
|
3281
3259
|
// value does not include the opening and closing braces.
|
|
3282
3260
|
value: i,
|
|
3283
3261
|
location: m(n, this.clonePosition())
|
|
@@ -3290,7 +3268,7 @@ var Kn = (
|
|
|
3290
3268
|
return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
|
|
3291
3269
|
}
|
|
3292
3270
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3293
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3271
|
+
var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
|
|
3294
3272
|
this.bumpTo(i);
|
|
3295
3273
|
var o = this.clonePosition(), s = m(t, o);
|
|
3296
3274
|
return { value: n, location: s };
|
|
@@ -3309,44 +3287,44 @@ var Kn = (
|
|
|
3309
3287
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3310
3288
|
if (f.err)
|
|
3311
3289
|
return f;
|
|
3312
|
-
var c =
|
|
3290
|
+
var c = Qn(f.val);
|
|
3313
3291
|
if (c.length === 0)
|
|
3314
3292
|
return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
|
|
3315
3293
|
var p = m(l, this.clonePosition());
|
|
3316
3294
|
u = { style: c, styleLocation: p };
|
|
3317
3295
|
}
|
|
3318
|
-
var
|
|
3319
|
-
if (
|
|
3320
|
-
return
|
|
3296
|
+
var b = this.tryParseArgumentClose(i);
|
|
3297
|
+
if (b.err)
|
|
3298
|
+
return b;
|
|
3321
3299
|
var v = m(i, this.clonePosition());
|
|
3322
|
-
if (u &&
|
|
3323
|
-
var B =
|
|
3300
|
+
if (u && bt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3301
|
+
var B = Zn(u.style.slice(2));
|
|
3324
3302
|
if (a === "number") {
|
|
3325
3303
|
var f = this.parseNumberSkeletonFromString(B, u.styleLocation);
|
|
3326
3304
|
return f.err ? f : {
|
|
3327
|
-
val: { type:
|
|
3305
|
+
val: { type: x.number, value: n, location: v, style: f.val },
|
|
3328
3306
|
err: null
|
|
3329
3307
|
};
|
|
3330
3308
|
} else {
|
|
3331
3309
|
if (B.length === 0)
|
|
3332
3310
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
|
|
3333
3311
|
var $ = B;
|
|
3334
|
-
this.locale && ($ =
|
|
3312
|
+
this.locale && ($ = Cn(B, this.locale));
|
|
3335
3313
|
var c = {
|
|
3336
|
-
type:
|
|
3314
|
+
type: W.dateTime,
|
|
3337
3315
|
pattern: $,
|
|
3338
3316
|
location: u.styleLocation,
|
|
3339
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3340
|
-
},
|
|
3317
|
+
parsedOptions: this.shouldParseSkeletons ? An($) : {}
|
|
3318
|
+
}, N = a === "date" ? x.date : x.time;
|
|
3341
3319
|
return {
|
|
3342
|
-
val: { type:
|
|
3320
|
+
val: { type: N, value: n, location: v, style: c },
|
|
3343
3321
|
err: null
|
|
3344
3322
|
};
|
|
3345
3323
|
}
|
|
3346
3324
|
}
|
|
3347
3325
|
return {
|
|
3348
3326
|
val: {
|
|
3349
|
-
type: a === "number" ?
|
|
3327
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3350
3328
|
value: n,
|
|
3351
3329
|
location: v,
|
|
3352
3330
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3357,11 +3335,11 @@ var Kn = (
|
|
|
3357
3335
|
case "plural":
|
|
3358
3336
|
case "selectordinal":
|
|
3359
3337
|
case "select": {
|
|
3360
|
-
var
|
|
3338
|
+
var _ = this.clonePosition();
|
|
3361
3339
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3362
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(
|
|
3340
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(_, g({}, _)));
|
|
3363
3341
|
this.bumpSpace();
|
|
3364
|
-
var R = this.parseIdentifierIfPossible(),
|
|
3342
|
+
var R = this.parseIdentifierIfPossible(), P = 0;
|
|
3365
3343
|
if (a !== "select" && R.value === "offset") {
|
|
3366
3344
|
if (!this.bumpIf(":"))
|
|
3367
3345
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
|
|
@@ -3369,31 +3347,31 @@ var Kn = (
|
|
|
3369
3347
|
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3370
3348
|
if (f.err)
|
|
3371
3349
|
return f;
|
|
3372
|
-
this.bumpSpace(), R = this.parseIdentifierIfPossible(),
|
|
3350
|
+
this.bumpSpace(), R = this.parseIdentifierIfPossible(), P = f.val;
|
|
3373
3351
|
}
|
|
3374
3352
|
var G = this.tryParsePluralOrSelectOptions(t, a, r, R);
|
|
3375
3353
|
if (G.err)
|
|
3376
3354
|
return G;
|
|
3377
|
-
var
|
|
3378
|
-
if (
|
|
3379
|
-
return
|
|
3380
|
-
var
|
|
3355
|
+
var b = this.tryParseArgumentClose(i);
|
|
3356
|
+
if (b.err)
|
|
3357
|
+
return b;
|
|
3358
|
+
var ue = m(i, this.clonePosition());
|
|
3381
3359
|
return a === "select" ? {
|
|
3382
3360
|
val: {
|
|
3383
|
-
type:
|
|
3361
|
+
type: x.select,
|
|
3384
3362
|
value: n,
|
|
3385
|
-
options:
|
|
3386
|
-
location:
|
|
3363
|
+
options: gt(G.val),
|
|
3364
|
+
location: ue
|
|
3387
3365
|
},
|
|
3388
3366
|
err: null
|
|
3389
3367
|
} : {
|
|
3390
3368
|
val: {
|
|
3391
|
-
type:
|
|
3369
|
+
type: x.plural,
|
|
3392
3370
|
value: n,
|
|
3393
|
-
options:
|
|
3394
|
-
offset:
|
|
3371
|
+
options: gt(G.val),
|
|
3372
|
+
offset: P,
|
|
3395
3373
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3396
|
-
location:
|
|
3374
|
+
location: ue
|
|
3397
3375
|
},
|
|
3398
3376
|
err: null
|
|
3399
3377
|
};
|
|
@@ -3441,16 +3419,16 @@ var Kn = (
|
|
|
3441
3419
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3442
3420
|
var n = [];
|
|
3443
3421
|
try {
|
|
3444
|
-
n =
|
|
3422
|
+
n = On(t);
|
|
3445
3423
|
} catch (i) {
|
|
3446
3424
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3447
3425
|
}
|
|
3448
3426
|
return {
|
|
3449
3427
|
val: {
|
|
3450
|
-
type:
|
|
3428
|
+
type: W.number,
|
|
3451
3429
|
tokens: n,
|
|
3452
3430
|
location: r,
|
|
3453
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3431
|
+
parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
|
|
3454
3432
|
},
|
|
3455
3433
|
err: null
|
|
3456
3434
|
};
|
|
@@ -3472,16 +3450,16 @@ var Kn = (
|
|
|
3472
3450
|
var p = this.clonePosition();
|
|
3473
3451
|
if (!this.bumpIf("{"))
|
|
3474
3452
|
return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
|
|
3475
|
-
var
|
|
3476
|
-
if (
|
|
3477
|
-
return
|
|
3453
|
+
var b = this.parseMessage(t + 1, r, n);
|
|
3454
|
+
if (b.err)
|
|
3455
|
+
return b;
|
|
3478
3456
|
var v = this.tryParseArgumentClose(p);
|
|
3479
3457
|
if (v.err)
|
|
3480
3458
|
return v;
|
|
3481
3459
|
a.push([
|
|
3482
3460
|
u,
|
|
3483
3461
|
{
|
|
3484
|
-
value:
|
|
3462
|
+
value: b.val,
|
|
3485
3463
|
location: m(p, this.clonePosition())
|
|
3486
3464
|
}
|
|
3487
3465
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
@@ -3498,7 +3476,7 @@ var Kn = (
|
|
|
3498
3476
|
break;
|
|
3499
3477
|
}
|
|
3500
3478
|
var h = m(i, this.clonePosition());
|
|
3501
|
-
return o ? (s *= n,
|
|
3479
|
+
return o ? (s *= n, Wn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3502
3480
|
}, e.prototype.offset = function() {
|
|
3503
3481
|
return this.position.offset;
|
|
3504
3482
|
}, e.prototype.isEOF = function() {
|
|
@@ -3513,7 +3491,7 @@ var Kn = (
|
|
|
3513
3491
|
var t = this.position.offset;
|
|
3514
3492
|
if (t >= this.message.length)
|
|
3515
3493
|
throw Error("out of bound");
|
|
3516
|
-
var r =
|
|
3494
|
+
var r = Yt(this.message, t);
|
|
3517
3495
|
if (r === void 0)
|
|
3518
3496
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3519
3497
|
return r;
|
|
@@ -3532,7 +3510,7 @@ var Kn = (
|
|
|
3532
3510
|
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);
|
|
3533
3511
|
}
|
|
3534
3512
|
}, e.prototype.bumpIf = function(t) {
|
|
3535
|
-
if (
|
|
3513
|
+
if (bt(this.message, t, this.offset())) {
|
|
3536
3514
|
for (var r = 0; r < t.length; r++)
|
|
3537
3515
|
this.bump();
|
|
3538
3516
|
return !0;
|
|
@@ -3554,7 +3532,7 @@ var Kn = (
|
|
|
3554
3532
|
break;
|
|
3555
3533
|
}
|
|
3556
3534
|
}, e.prototype.bumpSpace = function() {
|
|
3557
|
-
for (; !this.isEOF() &&
|
|
3535
|
+
for (; !this.isEOF() && er(this.char()); )
|
|
3558
3536
|
this.bump();
|
|
3559
3537
|
}, e.prototype.peek = function() {
|
|
3560
3538
|
if (this.isEOF())
|
|
@@ -3564,46 +3542,46 @@ var Kn = (
|
|
|
3564
3542
|
}, e;
|
|
3565
3543
|
}()
|
|
3566
3544
|
);
|
|
3567
|
-
function
|
|
3545
|
+
function Xe(e) {
|
|
3568
3546
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3569
3547
|
}
|
|
3570
|
-
function
|
|
3571
|
-
return
|
|
3548
|
+
function Jn(e) {
|
|
3549
|
+
return Xe(e) || e === 47;
|
|
3572
3550
|
}
|
|
3573
|
-
function
|
|
3551
|
+
function Yn(e) {
|
|
3574
3552
|
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;
|
|
3575
3553
|
}
|
|
3576
|
-
function
|
|
3554
|
+
function er(e) {
|
|
3577
3555
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3578
3556
|
}
|
|
3579
|
-
function
|
|
3557
|
+
function Kn(e) {
|
|
3580
3558
|
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;
|
|
3581
3559
|
}
|
|
3582
|
-
function
|
|
3560
|
+
function We(e) {
|
|
3583
3561
|
e.forEach(function(t) {
|
|
3584
|
-
if (delete t.location,
|
|
3562
|
+
if (delete t.location, Vt(t) || Xt(t))
|
|
3585
3563
|
for (var r in t.options)
|
|
3586
|
-
delete t.options[r].location,
|
|
3587
|
-
else
|
|
3564
|
+
delete t.options[r].location, We(t.options[r].value);
|
|
3565
|
+
else Ft(t) && zt(t.style) || (jt(t) || kt(t)) && Fe(t.style) ? delete t.style.location : Wt(t) && We(t.children);
|
|
3588
3566
|
});
|
|
3589
3567
|
}
|
|
3590
|
-
function
|
|
3568
|
+
function ei(e, t) {
|
|
3591
3569
|
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3592
|
-
var r = new
|
|
3570
|
+
var r = new qn(e, t).parse();
|
|
3593
3571
|
if (r.err) {
|
|
3594
3572
|
var n = SyntaxError(d[r.err.kind]);
|
|
3595
3573
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3596
3574
|
}
|
|
3597
|
-
return t != null && t.captureLocation ||
|
|
3575
|
+
return t != null && t.captureLocation || We(r.val), r.val;
|
|
3598
3576
|
}
|
|
3599
|
-
var
|
|
3577
|
+
var z;
|
|
3600
3578
|
(function(e) {
|
|
3601
3579
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3602
|
-
})(
|
|
3603
|
-
var
|
|
3580
|
+
})(z || (z = {}));
|
|
3581
|
+
var Ee = (
|
|
3604
3582
|
/** @class */
|
|
3605
3583
|
function(e) {
|
|
3606
|
-
|
|
3584
|
+
L(t, e);
|
|
3607
3585
|
function t(r, n, i) {
|
|
3608
3586
|
var o = e.call(this, r) || this;
|
|
3609
3587
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3612,155 +3590,155 @@ var _e = (
|
|
|
3612
3590
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3613
3591
|
}, t;
|
|
3614
3592
|
}(Error)
|
|
3615
|
-
),
|
|
3593
|
+
), vt = (
|
|
3616
3594
|
/** @class */
|
|
3617
3595
|
function(e) {
|
|
3618
|
-
|
|
3596
|
+
L(t, e);
|
|
3619
3597
|
function t(r, n, i, o) {
|
|
3620
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3598
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
|
|
3621
3599
|
}
|
|
3622
3600
|
return t;
|
|
3623
|
-
}(
|
|
3624
|
-
),
|
|
3601
|
+
}(Ee)
|
|
3602
|
+
), ti = (
|
|
3625
3603
|
/** @class */
|
|
3626
3604
|
function(e) {
|
|
3627
|
-
|
|
3605
|
+
L(t, e);
|
|
3628
3606
|
function t(r, n, i) {
|
|
3629
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3607
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
|
|
3630
3608
|
}
|
|
3631
3609
|
return t;
|
|
3632
|
-
}(
|
|
3633
|
-
),
|
|
3610
|
+
}(Ee)
|
|
3611
|
+
), ri = (
|
|
3634
3612
|
/** @class */
|
|
3635
3613
|
function(e) {
|
|
3636
|
-
|
|
3614
|
+
L(t, e);
|
|
3637
3615
|
function t(r, n) {
|
|
3638
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3616
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
|
|
3639
3617
|
}
|
|
3640
3618
|
return t;
|
|
3641
|
-
}(
|
|
3642
|
-
),
|
|
3619
|
+
}(Ee)
|
|
3620
|
+
), E;
|
|
3643
3621
|
(function(e) {
|
|
3644
3622
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3645
|
-
})(
|
|
3646
|
-
function
|
|
3623
|
+
})(E || (E = {}));
|
|
3624
|
+
function ni(e) {
|
|
3647
3625
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3648
3626
|
var n = t[t.length - 1];
|
|
3649
|
-
return !n || n.type !==
|
|
3627
|
+
return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
|
|
3650
3628
|
}, []);
|
|
3651
3629
|
}
|
|
3652
|
-
function
|
|
3630
|
+
function ii(e) {
|
|
3653
3631
|
return typeof e == "function";
|
|
3654
3632
|
}
|
|
3655
|
-
function
|
|
3656
|
-
if (e.length === 1 &&
|
|
3633
|
+
function de(e, t, r, n, i, o, s) {
|
|
3634
|
+
if (e.length === 1 && ft(e[0]))
|
|
3657
3635
|
return [
|
|
3658
3636
|
{
|
|
3659
|
-
type:
|
|
3637
|
+
type: E.literal,
|
|
3660
3638
|
value: e[0].value
|
|
3661
3639
|
}
|
|
3662
3640
|
];
|
|
3663
3641
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3664
3642
|
var l = u[h];
|
|
3665
|
-
if (
|
|
3643
|
+
if (ft(l)) {
|
|
3666
3644
|
a.push({
|
|
3667
|
-
type:
|
|
3645
|
+
type: E.literal,
|
|
3668
3646
|
value: l.value
|
|
3669
3647
|
});
|
|
3670
3648
|
continue;
|
|
3671
3649
|
}
|
|
3672
|
-
if (
|
|
3650
|
+
if (Bn(l)) {
|
|
3673
3651
|
typeof o == "number" && a.push({
|
|
3674
|
-
type:
|
|
3652
|
+
type: E.literal,
|
|
3675
3653
|
value: r.getNumberFormat(t).format(o)
|
|
3676
3654
|
});
|
|
3677
3655
|
continue;
|
|
3678
3656
|
}
|
|
3679
3657
|
var f = l.value;
|
|
3680
3658
|
if (!(i && f in i))
|
|
3681
|
-
throw new
|
|
3659
|
+
throw new ri(f, s);
|
|
3682
3660
|
var c = i[f];
|
|
3683
|
-
if (
|
|
3661
|
+
if (Hn(l)) {
|
|
3684
3662
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3685
|
-
type: typeof c == "string" ?
|
|
3663
|
+
type: typeof c == "string" ? E.literal : E.object,
|
|
3686
3664
|
value: c
|
|
3687
3665
|
});
|
|
3688
3666
|
continue;
|
|
3689
3667
|
}
|
|
3690
|
-
if (
|
|
3691
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3668
|
+
if (jt(l)) {
|
|
3669
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
|
|
3692
3670
|
a.push({
|
|
3693
|
-
type:
|
|
3671
|
+
type: E.literal,
|
|
3694
3672
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3695
3673
|
});
|
|
3696
3674
|
continue;
|
|
3697
3675
|
}
|
|
3698
|
-
if (
|
|
3699
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3676
|
+
if (kt(l)) {
|
|
3677
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3700
3678
|
a.push({
|
|
3701
|
-
type:
|
|
3679
|
+
type: E.literal,
|
|
3702
3680
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3703
3681
|
});
|
|
3704
3682
|
continue;
|
|
3705
3683
|
}
|
|
3706
|
-
if (
|
|
3707
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3684
|
+
if (Ft(l)) {
|
|
3685
|
+
var p = typeof l.style == "string" ? n.number[l.style] : zt(l.style) ? l.style.parsedOptions : void 0;
|
|
3708
3686
|
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3709
|
-
type:
|
|
3687
|
+
type: E.literal,
|
|
3710
3688
|
value: r.getNumberFormat(t, p).format(c)
|
|
3711
3689
|
});
|
|
3712
3690
|
continue;
|
|
3713
3691
|
}
|
|
3714
|
-
if (
|
|
3715
|
-
var
|
|
3716
|
-
if (!
|
|
3717
|
-
throw new
|
|
3718
|
-
var $ =
|
|
3719
|
-
return
|
|
3692
|
+
if (Wt(l)) {
|
|
3693
|
+
var b = l.children, v = l.value, B = i[v];
|
|
3694
|
+
if (!ii(B))
|
|
3695
|
+
throw new ti(v, "function", s);
|
|
3696
|
+
var $ = de(b, t, r, n, i, o), N = B($.map(function(P) {
|
|
3697
|
+
return P.value;
|
|
3720
3698
|
}));
|
|
3721
|
-
Array.isArray(
|
|
3699
|
+
Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(P) {
|
|
3722
3700
|
return {
|
|
3723
|
-
type: typeof
|
|
3724
|
-
value:
|
|
3701
|
+
type: typeof P == "string" ? E.literal : E.object,
|
|
3702
|
+
value: P
|
|
3725
3703
|
};
|
|
3726
3704
|
}));
|
|
3727
3705
|
}
|
|
3728
|
-
if (
|
|
3729
|
-
var
|
|
3730
|
-
if (!
|
|
3731
|
-
throw new
|
|
3732
|
-
a.push.apply(a,
|
|
3706
|
+
if (Vt(l)) {
|
|
3707
|
+
var _ = l.options[c] || l.options.other;
|
|
3708
|
+
if (!_)
|
|
3709
|
+
throw new vt(l.value, c, Object.keys(l.options), s);
|
|
3710
|
+
a.push.apply(a, de(_.value, t, r, n, i));
|
|
3733
3711
|
continue;
|
|
3734
3712
|
}
|
|
3735
|
-
if (
|
|
3736
|
-
var
|
|
3737
|
-
if (!
|
|
3713
|
+
if (Xt(l)) {
|
|
3714
|
+
var _ = l.options["=".concat(c)];
|
|
3715
|
+
if (!_) {
|
|
3738
3716
|
if (!Intl.PluralRules)
|
|
3739
|
-
throw new
|
|
3717
|
+
throw new Ee(`Intl.PluralRules is not available in this environment.
|
|
3740
3718
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3741
|
-
`,
|
|
3719
|
+
`, z.MISSING_INTL_API, s);
|
|
3742
3720
|
var R = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3743
|
-
|
|
3721
|
+
_ = l.options[R] || l.options.other;
|
|
3744
3722
|
}
|
|
3745
|
-
if (!
|
|
3746
|
-
throw new
|
|
3747
|
-
a.push.apply(a,
|
|
3723
|
+
if (!_)
|
|
3724
|
+
throw new vt(l.value, c, Object.keys(l.options), s);
|
|
3725
|
+
a.push.apply(a, de(_.value, t, r, n, i, c - (l.offset || 0)));
|
|
3748
3726
|
continue;
|
|
3749
3727
|
}
|
|
3750
3728
|
}
|
|
3751
|
-
return
|
|
3729
|
+
return ni(a);
|
|
3752
3730
|
}
|
|
3753
|
-
function
|
|
3731
|
+
function oi(e, t) {
|
|
3754
3732
|
return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3755
3733
|
return r[n] = g(g({}, e[n]), t[n] || {}), r;
|
|
3756
3734
|
}, {})) : e;
|
|
3757
3735
|
}
|
|
3758
|
-
function
|
|
3736
|
+
function si(e, t) {
|
|
3759
3737
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3760
|
-
return r[n] =
|
|
3738
|
+
return r[n] = oi(e[n], t[n]), r;
|
|
3761
3739
|
}, g({}, e)) : e;
|
|
3762
3740
|
}
|
|
3763
|
-
function
|
|
3741
|
+
function Ie(e) {
|
|
3764
3742
|
return {
|
|
3765
3743
|
create: function() {
|
|
3766
3744
|
return {
|
|
@@ -3774,39 +3752,39 @@ function Le(e) {
|
|
|
3774
3752
|
}
|
|
3775
3753
|
};
|
|
3776
3754
|
}
|
|
3777
|
-
function
|
|
3755
|
+
function ai(e) {
|
|
3778
3756
|
return e === void 0 && (e = {
|
|
3779
3757
|
number: {},
|
|
3780
3758
|
dateTime: {},
|
|
3781
3759
|
pluralRules: {}
|
|
3782
3760
|
}), {
|
|
3783
|
-
getNumberFormat:
|
|
3761
|
+
getNumberFormat: Ae(function() {
|
|
3784
3762
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3785
3763
|
r[n] = arguments[n];
|
|
3786
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3764
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3787
3765
|
}, {
|
|
3788
|
-
cache:
|
|
3789
|
-
strategy:
|
|
3766
|
+
cache: Ie(e.number),
|
|
3767
|
+
strategy: Pe.variadic
|
|
3790
3768
|
}),
|
|
3791
|
-
getDateTimeFormat:
|
|
3769
|
+
getDateTimeFormat: Ae(function() {
|
|
3792
3770
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3793
3771
|
r[n] = arguments[n];
|
|
3794
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3772
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3795
3773
|
}, {
|
|
3796
|
-
cache:
|
|
3797
|
-
strategy:
|
|
3774
|
+
cache: Ie(e.dateTime),
|
|
3775
|
+
strategy: Pe.variadic
|
|
3798
3776
|
}),
|
|
3799
|
-
getPluralRules:
|
|
3777
|
+
getPluralRules: Ae(function() {
|
|
3800
3778
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3801
3779
|
r[n] = arguments[n];
|
|
3802
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3780
|
+
return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
|
|
3803
3781
|
}, {
|
|
3804
|
-
cache:
|
|
3805
|
-
strategy:
|
|
3782
|
+
cache: Ie(e.pluralRules),
|
|
3783
|
+
strategy: Pe.variadic
|
|
3806
3784
|
})
|
|
3807
3785
|
};
|
|
3808
3786
|
}
|
|
3809
|
-
var
|
|
3787
|
+
var ui = (
|
|
3810
3788
|
/** @class */
|
|
3811
3789
|
function() {
|
|
3812
3790
|
function e(t, r, n, i) {
|
|
@@ -3821,11 +3799,11 @@ var ci = (
|
|
|
3821
3799
|
if (u.length === 1)
|
|
3822
3800
|
return u[0].value;
|
|
3823
3801
|
var l = u.reduce(function(f, c) {
|
|
3824
|
-
return !f.length || c.type !==
|
|
3802
|
+
return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3825
3803
|
}, []);
|
|
3826
3804
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3827
3805
|
}, this.formatToParts = function(h) {
|
|
3828
|
-
return
|
|
3806
|
+
return de(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3829
3807
|
}, this.resolvedOptions = function() {
|
|
3830
3808
|
var h;
|
|
3831
3809
|
return {
|
|
@@ -3838,13 +3816,13 @@ var ci = (
|
|
|
3838
3816
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3839
3817
|
var s = i || {};
|
|
3840
3818
|
s.formatters;
|
|
3841
|
-
var a =
|
|
3819
|
+
var a = Gr(s, ["formatters"]);
|
|
3842
3820
|
this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
|
|
3843
3821
|
} else
|
|
3844
3822
|
this.ast = t;
|
|
3845
3823
|
if (!Array.isArray(this.ast))
|
|
3846
3824
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3847
|
-
this.formats =
|
|
3825
|
+
this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
|
|
3848
3826
|
}
|
|
3849
3827
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3850
3828
|
get: function() {
|
|
@@ -3857,7 +3835,7 @@ var ci = (
|
|
|
3857
3835
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3858
3836
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3859
3837
|
}
|
|
3860
|
-
}, e.__parse =
|
|
3838
|
+
}, e.__parse = ei, e.formats = {
|
|
3861
3839
|
number: {
|
|
3862
3840
|
integer: {
|
|
3863
3841
|
maximumFractionDigits: 0
|
|
@@ -3918,7 +3896,7 @@ var ci = (
|
|
|
3918
3896
|
}, e;
|
|
3919
3897
|
}()
|
|
3920
3898
|
);
|
|
3921
|
-
function
|
|
3899
|
+
function hi(e, t) {
|
|
3922
3900
|
if (t == null)
|
|
3923
3901
|
return;
|
|
3924
3902
|
if (t in e)
|
|
@@ -3939,92 +3917,92 @@ function fi(e, t) {
|
|
|
3939
3917
|
n = void 0;
|
|
3940
3918
|
return n;
|
|
3941
3919
|
}
|
|
3942
|
-
const C = {},
|
|
3920
|
+
const C = {}, li = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), tr = (e, t) => {
|
|
3943
3921
|
if (t == null)
|
|
3944
3922
|
return;
|
|
3945
3923
|
if (t in C && e in C[t])
|
|
3946
3924
|
return C[t][e];
|
|
3947
|
-
const r =
|
|
3925
|
+
const r = _e(t);
|
|
3948
3926
|
for (let n = 0; n < r.length; n++) {
|
|
3949
|
-
const i = r[n], o =
|
|
3927
|
+
const i = r[n], o = fi(i, e);
|
|
3950
3928
|
if (o)
|
|
3951
|
-
return
|
|
3929
|
+
return li(e, t, o);
|
|
3952
3930
|
}
|
|
3953
3931
|
};
|
|
3954
|
-
let
|
|
3955
|
-
const
|
|
3956
|
-
function
|
|
3957
|
-
return
|
|
3932
|
+
let qe;
|
|
3933
|
+
const ae = xe({});
|
|
3934
|
+
function ci(e) {
|
|
3935
|
+
return qe[e] || null;
|
|
3958
3936
|
}
|
|
3959
|
-
function
|
|
3960
|
-
return e in
|
|
3937
|
+
function rr(e) {
|
|
3938
|
+
return e in qe;
|
|
3961
3939
|
}
|
|
3962
|
-
function
|
|
3963
|
-
if (!
|
|
3940
|
+
function fi(e, t) {
|
|
3941
|
+
if (!rr(e))
|
|
3964
3942
|
return null;
|
|
3965
|
-
const r =
|
|
3966
|
-
return
|
|
3943
|
+
const r = ci(e);
|
|
3944
|
+
return hi(r, t);
|
|
3967
3945
|
}
|
|
3968
|
-
function
|
|
3946
|
+
function pi(e) {
|
|
3969
3947
|
if (e == null)
|
|
3970
3948
|
return;
|
|
3971
|
-
const t =
|
|
3949
|
+
const t = _e(e);
|
|
3972
3950
|
for (let r = 0; r < t.length; r++) {
|
|
3973
3951
|
const n = t[r];
|
|
3974
|
-
if (
|
|
3952
|
+
if (rr(n))
|
|
3975
3953
|
return n;
|
|
3976
3954
|
}
|
|
3977
3955
|
}
|
|
3978
|
-
function
|
|
3979
|
-
delete C[e],
|
|
3956
|
+
function nr(e, ...t) {
|
|
3957
|
+
delete C[e], ae.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
|
|
3980
3958
|
}
|
|
3981
|
-
|
|
3982
|
-
[
|
|
3959
|
+
q(
|
|
3960
|
+
[ae],
|
|
3983
3961
|
([e]) => Object.keys(e)
|
|
3984
3962
|
);
|
|
3985
|
-
|
|
3986
|
-
const
|
|
3987
|
-
function
|
|
3988
|
-
|
|
3963
|
+
ae.subscribe((e) => qe = e);
|
|
3964
|
+
const me = {};
|
|
3965
|
+
function di(e, t) {
|
|
3966
|
+
me[e].delete(t), me[e].size === 0 && delete me[e];
|
|
3989
3967
|
}
|
|
3990
|
-
function
|
|
3991
|
-
return
|
|
3968
|
+
function ir(e) {
|
|
3969
|
+
return me[e];
|
|
3992
3970
|
}
|
|
3993
|
-
function
|
|
3994
|
-
return
|
|
3995
|
-
const r =
|
|
3971
|
+
function mi(e) {
|
|
3972
|
+
return _e(e).map((t) => {
|
|
3973
|
+
const r = ir(t);
|
|
3996
3974
|
return [t, r ? [...r] : []];
|
|
3997
3975
|
}).filter(([, t]) => t.length > 0);
|
|
3998
3976
|
}
|
|
3999
|
-
function
|
|
4000
|
-
return e == null ? !1 :
|
|
3977
|
+
function ze(e) {
|
|
3978
|
+
return e == null ? !1 : _e(e).some(
|
|
4001
3979
|
(t) => {
|
|
4002
3980
|
var r;
|
|
4003
|
-
return (r =
|
|
3981
|
+
return (r = ir(t)) == null ? void 0 : r.size;
|
|
4004
3982
|
}
|
|
4005
3983
|
);
|
|
4006
3984
|
}
|
|
4007
|
-
function
|
|
3985
|
+
function bi(e, t) {
|
|
4008
3986
|
return Promise.all(
|
|
4009
|
-
t.map((n) => (
|
|
4010
|
-
).then((n) =>
|
|
4011
|
-
}
|
|
4012
|
-
const
|
|
4013
|
-
function
|
|
4014
|
-
if (!
|
|
4015
|
-
return e in
|
|
4016
|
-
const t =
|
|
4017
|
-
return
|
|
3987
|
+
t.map((n) => (di(e, n), n().then((i) => i.default || i)))
|
|
3988
|
+
).then((n) => nr(e, ...n));
|
|
3989
|
+
}
|
|
3990
|
+
const ee = {};
|
|
3991
|
+
function or(e) {
|
|
3992
|
+
if (!ze(e))
|
|
3993
|
+
return e in ee ? ee[e] : Promise.resolve();
|
|
3994
|
+
const t = mi(e);
|
|
3995
|
+
return ee[e] = Promise.all(
|
|
4018
3996
|
t.map(
|
|
4019
|
-
([r, n]) =>
|
|
3997
|
+
([r, n]) => bi(r, n)
|
|
4020
3998
|
)
|
|
4021
3999
|
).then(() => {
|
|
4022
|
-
if (
|
|
4023
|
-
return
|
|
4024
|
-
delete
|
|
4025
|
-
}),
|
|
4000
|
+
if (ze(e))
|
|
4001
|
+
return or(e);
|
|
4002
|
+
delete ee[e];
|
|
4003
|
+
}), ee[e];
|
|
4026
4004
|
}
|
|
4027
|
-
const
|
|
4005
|
+
const gi = {
|
|
4028
4006
|
number: {
|
|
4029
4007
|
scientific: { notation: "scientific" },
|
|
4030
4008
|
engineering: { notation: "engineering" },
|
|
@@ -4053,150 +4031,150 @@ const Ei = {
|
|
|
4053
4031
|
timeZoneName: "short"
|
|
4054
4032
|
}
|
|
4055
4033
|
}
|
|
4056
|
-
},
|
|
4034
|
+
}, yi = {
|
|
4057
4035
|
fallbackLocale: null,
|
|
4058
4036
|
loadingDelay: 200,
|
|
4059
|
-
formats:
|
|
4037
|
+
formats: gi,
|
|
4060
4038
|
warnOnMissingMessages: !0,
|
|
4061
4039
|
handleMissingMessage: void 0,
|
|
4062
4040
|
ignoreTag: !0
|
|
4063
|
-
},
|
|
4064
|
-
function
|
|
4065
|
-
return
|
|
4041
|
+
}, vi = yi;
|
|
4042
|
+
function Z() {
|
|
4043
|
+
return vi;
|
|
4066
4044
|
}
|
|
4067
|
-
const
|
|
4068
|
-
var
|
|
4045
|
+
const Le = xe(!1);
|
|
4046
|
+
var xi = Object.defineProperty, Ei = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
|
|
4069
4047
|
for (var r in t || (t = {}))
|
|
4070
|
-
|
|
4071
|
-
if (
|
|
4072
|
-
for (var r of
|
|
4073
|
-
|
|
4048
|
+
Si.call(t, r) && Et(e, r, t[r]);
|
|
4049
|
+
if (xt)
|
|
4050
|
+
for (var r of xt(t))
|
|
4051
|
+
Ti.call(t, r) && Et(e, r, t[r]);
|
|
4074
4052
|
return e;
|
|
4075
|
-
},
|
|
4076
|
-
let
|
|
4077
|
-
const
|
|
4078
|
-
function
|
|
4053
|
+
}, Bi = (e, t) => Ei(e, _i(t));
|
|
4054
|
+
let Ze;
|
|
4055
|
+
const be = xe(null);
|
|
4056
|
+
function _t(e) {
|
|
4079
4057
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4080
4058
|
}
|
|
4081
|
-
function
|
|
4082
|
-
const r =
|
|
4083
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4059
|
+
function _e(e, t = Z().fallbackLocale) {
|
|
4060
|
+
const r = _t(e);
|
|
4061
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
|
|
4084
4062
|
}
|
|
4085
|
-
function
|
|
4086
|
-
return
|
|
4063
|
+
function U() {
|
|
4064
|
+
return Ze != null ? Ze : void 0;
|
|
4087
4065
|
}
|
|
4088
|
-
|
|
4089
|
-
|
|
4066
|
+
be.subscribe((e) => {
|
|
4067
|
+
Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4090
4068
|
});
|
|
4091
|
-
const
|
|
4092
|
-
if (e &&
|
|
4093
|
-
const { loadingDelay: t } =
|
|
4069
|
+
const wi = (e) => {
|
|
4070
|
+
if (e && pi(e) && ze(e)) {
|
|
4071
|
+
const { loadingDelay: t } = Z();
|
|
4094
4072
|
let r;
|
|
4095
|
-
return typeof window != "undefined" &&
|
|
4096
|
-
() =>
|
|
4073
|
+
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
4074
|
+
() => Le.set(!0),
|
|
4097
4075
|
t
|
|
4098
|
-
) :
|
|
4099
|
-
|
|
4076
|
+
) : Le.set(!0), or(e).then(() => {
|
|
4077
|
+
be.set(e);
|
|
4100
4078
|
}).finally(() => {
|
|
4101
|
-
clearTimeout(r),
|
|
4079
|
+
clearTimeout(r), Le.set(!1);
|
|
4102
4080
|
});
|
|
4103
4081
|
}
|
|
4104
|
-
return
|
|
4105
|
-
},
|
|
4106
|
-
set:
|
|
4107
|
-
}),
|
|
4082
|
+
return be.set(e);
|
|
4083
|
+
}, J = Bi(Hi({}, be), {
|
|
4084
|
+
set: wi
|
|
4085
|
+
}), Se = (e) => {
|
|
4108
4086
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4109
4087
|
return (n) => {
|
|
4110
4088
|
const i = JSON.stringify(n);
|
|
4111
4089
|
return i in t ? t[i] : t[i] = e(n);
|
|
4112
4090
|
};
|
|
4113
4091
|
};
|
|
4114
|
-
var
|
|
4092
|
+
var Ai = Object.defineProperty, ge = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
|
|
4115
4093
|
for (var r in t || (t = {}))
|
|
4116
|
-
|
|
4117
|
-
if (
|
|
4118
|
-
for (var r of
|
|
4119
|
-
|
|
4094
|
+
sr.call(t, r) && St(e, r, t[r]);
|
|
4095
|
+
if (ge)
|
|
4096
|
+
for (var r of ge(t))
|
|
4097
|
+
ar.call(t, r) && St(e, r, t[r]);
|
|
4120
4098
|
return e;
|
|
4121
|
-
},
|
|
4099
|
+
}, Y = (e, t) => {
|
|
4122
4100
|
var r = {};
|
|
4123
4101
|
for (var n in e)
|
|
4124
|
-
|
|
4125
|
-
if (e != null &&
|
|
4126
|
-
for (var n of
|
|
4127
|
-
t.indexOf(n) < 0 &&
|
|
4102
|
+
sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4103
|
+
if (e != null && ge)
|
|
4104
|
+
for (var n of ge(e))
|
|
4105
|
+
t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
|
|
4128
4106
|
return r;
|
|
4129
4107
|
};
|
|
4130
|
-
const
|
|
4131
|
-
const { formats: r } =
|
|
4108
|
+
const ie = (e, t) => {
|
|
4109
|
+
const { formats: r } = Z();
|
|
4132
4110
|
if (e in r && t in r[e])
|
|
4133
4111
|
return r[e][t];
|
|
4134
4112
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4135
|
-
},
|
|
4113
|
+
}, Pi = Se(
|
|
4136
4114
|
(e) => {
|
|
4137
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4115
|
+
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4138
4116
|
if (r == null)
|
|
4139
4117
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4140
|
-
return n && (i =
|
|
4118
|
+
return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
|
|
4141
4119
|
}
|
|
4142
|
-
),
|
|
4120
|
+
), Oi = Se(
|
|
4143
4121
|
(e) => {
|
|
4144
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4122
|
+
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4145
4123
|
if (r == null)
|
|
4146
4124
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4147
|
-
return n ? i =
|
|
4125
|
+
return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4148
4126
|
}
|
|
4149
|
-
),
|
|
4127
|
+
), Ii = Se(
|
|
4150
4128
|
(e) => {
|
|
4151
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4129
|
+
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4152
4130
|
if (r == null)
|
|
4153
4131
|
throw new Error(
|
|
4154
4132
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4155
4133
|
);
|
|
4156
|
-
return n ? i =
|
|
4134
|
+
return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4157
4135
|
}
|
|
4158
|
-
),
|
|
4136
|
+
), Li = (e = {}) => {
|
|
4159
4137
|
var t = e, {
|
|
4160
|
-
locale: r =
|
|
4161
|
-
} = t, n =
|
|
4138
|
+
locale: r = U()
|
|
4139
|
+
} = t, n = Y(t, [
|
|
4162
4140
|
"locale"
|
|
4163
4141
|
]);
|
|
4164
|
-
return
|
|
4165
|
-
},
|
|
4142
|
+
return Pi(Je({ locale: r }, n));
|
|
4143
|
+
}, Ni = (e = {}) => {
|
|
4166
4144
|
var t = e, {
|
|
4167
|
-
locale: r =
|
|
4168
|
-
} = t, n =
|
|
4145
|
+
locale: r = U()
|
|
4146
|
+
} = t, n = Y(t, [
|
|
4169
4147
|
"locale"
|
|
4170
4148
|
]);
|
|
4171
|
-
return
|
|
4172
|
-
},
|
|
4149
|
+
return Oi(Je({ locale: r }, n));
|
|
4150
|
+
}, Mi = (e = {}) => {
|
|
4173
4151
|
var t = e, {
|
|
4174
|
-
locale: r =
|
|
4175
|
-
} = t, n =
|
|
4152
|
+
locale: r = U()
|
|
4153
|
+
} = t, n = Y(t, [
|
|
4176
4154
|
"locale"
|
|
4177
4155
|
]);
|
|
4178
|
-
return
|
|
4179
|
-
},
|
|
4156
|
+
return Ii(Je({ locale: r }, n));
|
|
4157
|
+
}, Ci = Se(
|
|
4180
4158
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4181
|
-
(e, t =
|
|
4182
|
-
ignoreTag:
|
|
4159
|
+
(e, t = U()) => new ui(e, t, Z().formats, {
|
|
4160
|
+
ignoreTag: Z().ignoreTag
|
|
4183
4161
|
})
|
|
4184
|
-
),
|
|
4162
|
+
), $i = (e, t = {}) => {
|
|
4185
4163
|
var r, n, i, o;
|
|
4186
4164
|
let s = t;
|
|
4187
4165
|
typeof e == "object" && (s = e, e = s.id);
|
|
4188
4166
|
const {
|
|
4189
4167
|
values: a,
|
|
4190
|
-
locale: h =
|
|
4168
|
+
locale: h = U(),
|
|
4191
4169
|
default: u
|
|
4192
4170
|
} = s;
|
|
4193
4171
|
if (h == null)
|
|
4194
4172
|
throw new Error(
|
|
4195
4173
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4196
4174
|
);
|
|
4197
|
-
let l =
|
|
4175
|
+
let l = tr(e, h);
|
|
4198
4176
|
if (!l)
|
|
4199
|
-
l = (o = (i = (n = (r =
|
|
4177
|
+
l = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4200
4178
|
else if (typeof l != "string")
|
|
4201
4179
|
return console.warn(
|
|
4202
4180
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4205,7 +4183,7 @@ const oe = (e, t) => {
|
|
|
4205
4183
|
return l;
|
|
4206
4184
|
let f = l;
|
|
4207
4185
|
try {
|
|
4208
|
-
f =
|
|
4186
|
+
f = Ci(l, h).format(a);
|
|
4209
4187
|
} catch (c) {
|
|
4210
4188
|
c instanceof Error && console.warn(
|
|
4211
4189
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4213,20 +4191,43 @@ const oe = (e, t) => {
|
|
|
4213
4191
|
);
|
|
4214
4192
|
}
|
|
4215
4193
|
return f;
|
|
4216
|
-
},
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
window.emWidgets = { topic:
|
|
4222
|
-
const
|
|
4223
|
-
function
|
|
4224
|
-
|
|
4194
|
+
}, Ri = (e, t) => Mi(t).format(e), Ui = (e, t) => Ni(t).format(e), Gi = (e, t) => Li(t).format(e), Di = (e, t = U()) => tr(e, t), Fi = q([J, ae], () => $i);
|
|
4195
|
+
q([J], () => Ri);
|
|
4196
|
+
q([J], () => Ui);
|
|
4197
|
+
q([J], () => Gi);
|
|
4198
|
+
q([J, ae], () => Di);
|
|
4199
|
+
window.emWidgets = { topic: Kr };
|
|
4200
|
+
const ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4201
|
+
function ki(e, t) {
|
|
4202
|
+
if (e) {
|
|
4203
|
+
const r = document.createElement("style");
|
|
4204
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4205
|
+
}
|
|
4225
4206
|
}
|
|
4226
|
-
function
|
|
4227
|
-
|
|
4207
|
+
function Vi(e, t) {
|
|
4208
|
+
const r = new URL(t);
|
|
4209
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4210
|
+
const i = document.createElement("style");
|
|
4211
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4212
|
+
}).catch((n) => {
|
|
4213
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4214
|
+
});
|
|
4215
|
+
}
|
|
4216
|
+
function no(e, t, r) {
|
|
4217
|
+
if (window.emMessageBus) {
|
|
4218
|
+
const n = document.createElement("style");
|
|
4219
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
4220
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4221
|
+
});
|
|
4222
|
+
}
|
|
4228
4223
|
}
|
|
4229
|
-
|
|
4224
|
+
function Tt(e, t) {
|
|
4225
|
+
nr(e, t);
|
|
4226
|
+
}
|
|
4227
|
+
function Xi(e) {
|
|
4228
|
+
J.set(e);
|
|
4229
|
+
}
|
|
4230
|
+
const Ht = {
|
|
4230
4231
|
en: {
|
|
4231
4232
|
logoutButton: "Logout"
|
|
4232
4233
|
},
|
|
@@ -4261,104 +4262,104 @@ const wt = {
|
|
|
4261
4262
|
logoutButton: "Logout"
|
|
4262
4263
|
}
|
|
4263
4264
|
};
|
|
4264
|
-
function
|
|
4265
|
-
|
|
4265
|
+
function Wi(e) {
|
|
4266
|
+
gr(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
|
|
4266
4267
|
}
|
|
4267
|
-
function
|
|
4268
|
+
function zi(e) {
|
|
4268
4269
|
let t, r, n, i = (
|
|
4269
4270
|
/*$_*/
|
|
4270
4271
|
e[2]("logoutButton") + ""
|
|
4271
4272
|
), o, s, a;
|
|
4272
4273
|
return {
|
|
4273
4274
|
c() {
|
|
4274
|
-
t =
|
|
4275
|
+
t = O("div"), r = O("button"), n = O("span"), o = ye(i), S(t, "class", "GeneralLogout");
|
|
4275
4276
|
},
|
|
4276
4277
|
m(h, u) {
|
|
4277
|
-
|
|
4278
|
+
se(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = Pt(
|
|
4278
4279
|
r,
|
|
4279
4280
|
"click",
|
|
4280
4281
|
/*click_handler_1*/
|
|
4281
|
-
e[
|
|
4282
|
+
e[14]
|
|
4282
4283
|
), s = !0);
|
|
4283
4284
|
},
|
|
4284
4285
|
p(h, u) {
|
|
4285
4286
|
u & /*$_*/
|
|
4286
4287
|
4 && i !== (i = /*$_*/
|
|
4287
|
-
h[2]("logoutButton") + "") &&
|
|
4288
|
+
h[2]("logoutButton") + "") && Ot(o, i);
|
|
4288
4289
|
},
|
|
4289
4290
|
d(h) {
|
|
4290
|
-
h &&
|
|
4291
|
+
h && Q(t), s = !1, a();
|
|
4291
4292
|
}
|
|
4292
4293
|
};
|
|
4293
4294
|
}
|
|
4294
|
-
function
|
|
4295
|
+
function Zi(e) {
|
|
4295
4296
|
let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
|
|
4296
|
-
e[3] &&
|
|
4297
|
+
e[3] && Qi(e);
|
|
4297
4298
|
return {
|
|
4298
4299
|
c() {
|
|
4299
|
-
t =
|
|
4300
|
+
t = O("p"), r = O("span"), n = K("svg"), i = K("defs"), o = K("style"), s = ye(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u = xr(), c && c.c(), S(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), S(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), S(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), S(n, "data-name", "Layer 1"), S(n, "xmlns", "http://www.w3.org/2000/svg"), S(n, "viewBox", "0 0 150 150"), _r(r, "width", /*isMobile*/
|
|
4300
4301
|
e[3] ? (
|
|
4301
4302
|
/*mediaQuery*/
|
|
4302
4303
|
e[4].matches ? "50px" : "24px"
|
|
4303
|
-
) : "20px"),
|
|
4304
|
+
) : "20px"), S(t, "class", "PlayerAccountMenuItemBox " + /*isMobile*/
|
|
4304
4305
|
(e[3] ? "PlayerAccountMenuItemBoxMobile" : "") + " " + /*mediaQuery*/
|
|
4305
4306
|
(e[4].matches && /*isMobile*/
|
|
4306
4307
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4307
4308
|
},
|
|
4308
|
-
m(p,
|
|
4309
|
-
|
|
4309
|
+
m(p, b) {
|
|
4310
|
+
se(p, t, b), T(t, r), T(r, n), T(n, i), T(i, o), T(o, s), T(n, a), T(n, h), T(t, u), c && c.m(t, null), l || (f = Pt(
|
|
4310
4311
|
t,
|
|
4311
4312
|
"click",
|
|
4312
4313
|
/*click_handler*/
|
|
4313
|
-
e[
|
|
4314
|
+
e[13]
|
|
4314
4315
|
), l = !0);
|
|
4315
4316
|
},
|
|
4316
|
-
p(p,
|
|
4317
|
+
p(p, b) {
|
|
4317
4318
|
/*isMobile*/
|
|
4318
|
-
p[3] || c.p(p,
|
|
4319
|
+
p[3] || c.p(p, b);
|
|
4319
4320
|
},
|
|
4320
4321
|
d(p) {
|
|
4321
|
-
p &&
|
|
4322
|
+
p && Q(t), c && c.d(), l = !1, f();
|
|
4322
4323
|
}
|
|
4323
4324
|
};
|
|
4324
4325
|
}
|
|
4325
|
-
function
|
|
4326
|
+
function Qi(e) {
|
|
4326
4327
|
let t, r = (
|
|
4327
4328
|
/*$_*/
|
|
4328
4329
|
e[2]("logoutButton") + ""
|
|
4329
4330
|
), n;
|
|
4330
4331
|
return {
|
|
4331
4332
|
c() {
|
|
4332
|
-
t =
|
|
4333
|
+
t = O("span"), n = ye(r), S(t, "class", "PlayerLogoutText");
|
|
4333
4334
|
},
|
|
4334
4335
|
m(i, o) {
|
|
4335
|
-
|
|
4336
|
+
se(i, t, o), T(t, n);
|
|
4336
4337
|
},
|
|
4337
4338
|
p(i, o) {
|
|
4338
4339
|
o & /*$_*/
|
|
4339
4340
|
4 && r !== (r = /*$_*/
|
|
4340
|
-
i[2]("logoutButton") + "") &&
|
|
4341
|
+
i[2]("logoutButton") + "") && Ot(n, r);
|
|
4341
4342
|
},
|
|
4342
4343
|
d(i) {
|
|
4343
|
-
i &&
|
|
4344
|
+
i && Q(t);
|
|
4344
4345
|
}
|
|
4345
4346
|
};
|
|
4346
4347
|
}
|
|
4347
|
-
function
|
|
4348
|
+
function qi(e) {
|
|
4348
4349
|
let t;
|
|
4349
4350
|
function r(o, s) {
|
|
4350
4351
|
return (
|
|
4351
4352
|
/*buttonlocation*/
|
|
4352
|
-
o[0] === "PlayerAccountMenu" ?
|
|
4353
|
+
o[0] === "PlayerAccountMenu" ? Zi : zi
|
|
4353
4354
|
);
|
|
4354
4355
|
}
|
|
4355
4356
|
let n = r(e), i = n(e);
|
|
4356
4357
|
return {
|
|
4357
4358
|
c() {
|
|
4358
|
-
t =
|
|
4359
|
+
t = O("div"), i.c();
|
|
4359
4360
|
},
|
|
4360
4361
|
m(o, s) {
|
|
4361
|
-
|
|
4362
|
+
se(o, t, s), i.m(t, null), e[15](t);
|
|
4362
4363
|
},
|
|
4363
4364
|
p(o, [s]) {
|
|
4364
4365
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4366,182 +4367,179 @@ function Ji(e) {
|
|
|
4366
4367
|
i: w,
|
|
4367
4368
|
o: w,
|
|
4368
4369
|
d(o) {
|
|
4369
|
-
o &&
|
|
4370
|
+
o && Q(t), i.d(), e[15](null);
|
|
4370
4371
|
}
|
|
4371
4372
|
};
|
|
4372
4373
|
}
|
|
4373
|
-
function
|
|
4374
|
+
function Ji(e, t, r) {
|
|
4374
4375
|
let n;
|
|
4375
|
-
|
|
4376
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, {
|
|
4377
|
-
const
|
|
4378
|
-
fetch(
|
|
4379
|
-
Object.keys(
|
|
4380
|
-
|
|
4376
|
+
br(e, Fi, (y) => r(2, n = y));
|
|
4377
|
+
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", p = !1, b, v = window.navigator.userAgent, B = ji(v) !== "PC";
|
|
4378
|
+
const $ = window.matchMedia("(min-width: 768px)"), N = () => {
|
|
4379
|
+
fetch(f).then((M) => M.json()).then((M) => {
|
|
4380
|
+
Object.keys(M).forEach((Te) => {
|
|
4381
|
+
Tt(Te, M[Te]);
|
|
4381
4382
|
});
|
|
4382
|
-
}).catch((
|
|
4383
|
-
console.log(
|
|
4383
|
+
}).catch((M) => {
|
|
4384
|
+
console.log(M);
|
|
4384
4385
|
});
|
|
4385
4386
|
};
|
|
4386
|
-
Object.keys(
|
|
4387
|
-
|
|
4387
|
+
Object.keys(Ht).forEach((y) => {
|
|
4388
|
+
Tt(y, Ht[y]);
|
|
4388
4389
|
});
|
|
4389
|
-
const
|
|
4390
|
-
let
|
|
4391
|
-
|
|
4392
|
-
let
|
|
4393
|
-
fetch(`${i}/v1/player/session/player`,
|
|
4390
|
+
const _ = () => {
|
|
4391
|
+
let y = new Headers();
|
|
4392
|
+
y.append("Content-type", "application/json"), y.append("X-SessionID", o);
|
|
4393
|
+
let M = { method: "DELETE", headers: y };
|
|
4394
|
+
fetch(`${i}/v1/player/session/player`, M).then((Te) => {
|
|
4394
4395
|
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
|
|
4395
4396
|
});
|
|
4396
|
-
},
|
|
4397
|
-
|
|
4398
|
-
}
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
() => {
|
|
4406
|
-
p.appendChild(A);
|
|
4407
|
-
},
|
|
4408
|
-
1
|
|
4409
|
-
), setTimeout(
|
|
4410
|
-
() => {
|
|
4411
|
-
},
|
|
4412
|
-
500
|
|
4413
|
-
);
|
|
4414
|
-
});
|
|
4415
|
-
}, he = () => P(), pr = () => P();
|
|
4416
|
-
function dr(b) {
|
|
4417
|
-
Me[b ? "unshift" : "push"](() => {
|
|
4418
|
-
p = b, r(1, p);
|
|
4397
|
+
}, R = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", p = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", p = !0, console.error(c)), p), P = () => {
|
|
4398
|
+
Xi(a);
|
|
4399
|
+
};
|
|
4400
|
+
Hr(() => () => {
|
|
4401
|
+
});
|
|
4402
|
+
const G = () => _(), ue = () => _();
|
|
4403
|
+
function hr(y) {
|
|
4404
|
+
Ne[y ? "unshift" : "push"](() => {
|
|
4405
|
+
b = y, r(1, b);
|
|
4419
4406
|
});
|
|
4420
4407
|
}
|
|
4421
|
-
return e.$$set = (
|
|
4422
|
-
"endpoint" in
|
|
4408
|
+
return e.$$set = (y) => {
|
|
4409
|
+
"endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, s = y.buttonlocation), "lang" in y && r(8, a = y.lang), "mbsource" in y && r(9, h = y.mbsource), "clientstyling" in y && r(10, u = y.clientstyling), "clientstylingurl" in y && r(11, l = y.clientstylingurl), "translationurl" in y && r(12, f = y.translationurl);
|
|
4423
4410
|
}, e.$$.update = () => {
|
|
4424
4411
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
4425
|
-
193 && i && o && s &&
|
|
4426
|
-
256 && a &&
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4412
|
+
193 && i && o && s && R(), e.$$.dirty & /*lang*/
|
|
4413
|
+
256 && a && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4414
|
+
1026 && u && b && ki(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4415
|
+
2050 && l && b && Vi(), e.$$.dirty & /*translationurl*/
|
|
4416
|
+
4096 && f && N();
|
|
4430
4417
|
}, [
|
|
4431
4418
|
s,
|
|
4432
|
-
|
|
4419
|
+
b,
|
|
4433
4420
|
n,
|
|
4434
|
-
v,
|
|
4435
4421
|
B,
|
|
4436
|
-
|
|
4422
|
+
$,
|
|
4423
|
+
_,
|
|
4437
4424
|
i,
|
|
4438
4425
|
o,
|
|
4439
4426
|
a,
|
|
4440
4427
|
h,
|
|
4441
4428
|
u,
|
|
4442
4429
|
l,
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4430
|
+
f,
|
|
4431
|
+
G,
|
|
4432
|
+
ue,
|
|
4433
|
+
hr
|
|
4446
4434
|
];
|
|
4447
4435
|
}
|
|
4448
|
-
class
|
|
4436
|
+
class ur extends Rr {
|
|
4449
4437
|
constructor(t) {
|
|
4450
|
-
super(),
|
|
4438
|
+
super(), Cr(
|
|
4451
4439
|
this,
|
|
4452
4440
|
t,
|
|
4453
|
-
Yi,
|
|
4454
4441
|
Ji,
|
|
4455
|
-
|
|
4442
|
+
qi,
|
|
4443
|
+
wt,
|
|
4456
4444
|
{
|
|
4457
4445
|
endpoint: 6,
|
|
4458
4446
|
session: 7,
|
|
4459
4447
|
buttonlocation: 0,
|
|
4460
4448
|
lang: 8,
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4449
|
+
mbsource: 9,
|
|
4450
|
+
clientstyling: 10,
|
|
4451
|
+
clientstylingurl: 11,
|
|
4452
|
+
translationurl: 12
|
|
4464
4453
|
},
|
|
4465
|
-
|
|
4454
|
+
Wi
|
|
4466
4455
|
);
|
|
4467
4456
|
}
|
|
4468
4457
|
get endpoint() {
|
|
4469
4458
|
return this.$$.ctx[6];
|
|
4470
4459
|
}
|
|
4471
4460
|
set endpoint(t) {
|
|
4472
|
-
this.$$set({ endpoint: t }),
|
|
4461
|
+
this.$$set({ endpoint: t }), A();
|
|
4473
4462
|
}
|
|
4474
4463
|
get session() {
|
|
4475
4464
|
return this.$$.ctx[7];
|
|
4476
4465
|
}
|
|
4477
4466
|
set session(t) {
|
|
4478
|
-
this.$$set({ session: t }),
|
|
4467
|
+
this.$$set({ session: t }), A();
|
|
4479
4468
|
}
|
|
4480
4469
|
get buttonlocation() {
|
|
4481
4470
|
return this.$$.ctx[0];
|
|
4482
4471
|
}
|
|
4483
4472
|
set buttonlocation(t) {
|
|
4484
|
-
this.$$set({ buttonlocation: t }),
|
|
4473
|
+
this.$$set({ buttonlocation: t }), A();
|
|
4485
4474
|
}
|
|
4486
4475
|
get lang() {
|
|
4487
4476
|
return this.$$.ctx[8];
|
|
4488
4477
|
}
|
|
4489
4478
|
set lang(t) {
|
|
4490
|
-
this.$$set({ lang: t }),
|
|
4479
|
+
this.$$set({ lang: t }), A();
|
|
4491
4480
|
}
|
|
4492
|
-
get
|
|
4481
|
+
get mbsource() {
|
|
4493
4482
|
return this.$$.ctx[9];
|
|
4494
4483
|
}
|
|
4484
|
+
set mbsource(t) {
|
|
4485
|
+
this.$$set({ mbsource: t }), A();
|
|
4486
|
+
}
|
|
4487
|
+
get clientstyling() {
|
|
4488
|
+
return this.$$.ctx[10];
|
|
4489
|
+
}
|
|
4495
4490
|
set clientstyling(t) {
|
|
4496
|
-
this.$$set({ clientstyling: t }),
|
|
4491
|
+
this.$$set({ clientstyling: t }), A();
|
|
4497
4492
|
}
|
|
4498
4493
|
get clientstylingurl() {
|
|
4499
|
-
return this.$$.ctx[
|
|
4494
|
+
return this.$$.ctx[11];
|
|
4500
4495
|
}
|
|
4501
4496
|
set clientstylingurl(t) {
|
|
4502
|
-
this.$$set({ clientstylingurl: t }),
|
|
4497
|
+
this.$$set({ clientstylingurl: t }), A();
|
|
4503
4498
|
}
|
|
4504
4499
|
get translationurl() {
|
|
4505
|
-
return this.$$.ctx[
|
|
4500
|
+
return this.$$.ctx[12];
|
|
4506
4501
|
}
|
|
4507
4502
|
set translationurl(t) {
|
|
4508
|
-
this.$$set({ translationurl: t }),
|
|
4503
|
+
this.$$set({ translationurl: t }), A();
|
|
4509
4504
|
}
|
|
4510
4505
|
}
|
|
4511
|
-
|
|
4512
|
-
const
|
|
4506
|
+
$r(ur, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4507
|
+
const io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4513
4508
|
__proto__: null,
|
|
4514
|
-
default:
|
|
4509
|
+
default: ur
|
|
4515
4510
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4516
4511
|
export {
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4512
|
+
J as $,
|
|
4513
|
+
Fi as A,
|
|
4514
|
+
ki as B,
|
|
4515
|
+
Vi as C,
|
|
4516
|
+
no as D,
|
|
4517
|
+
io as G,
|
|
4518
|
+
Rr as S,
|
|
4519
|
+
nr as a,
|
|
4520
|
+
gr as b,
|
|
4521
|
+
$r as c,
|
|
4522
|
+
Q as d,
|
|
4523
|
+
se as e,
|
|
4524
|
+
A as f,
|
|
4525
|
+
O as g,
|
|
4526
|
+
br as h,
|
|
4527
|
+
Cr as i,
|
|
4528
|
+
ji as j,
|
|
4529
|
+
Ne as k,
|
|
4530
|
+
ro as l,
|
|
4531
|
+
eo as m,
|
|
4534
4532
|
w as n,
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4533
|
+
Hr as o,
|
|
4534
|
+
T as p,
|
|
4535
|
+
xr as q,
|
|
4536
|
+
to as r,
|
|
4537
|
+
wt as s,
|
|
4538
|
+
S as t,
|
|
4539
|
+
Ot as u,
|
|
4540
|
+
ye as v,
|
|
4541
|
+
oe as w,
|
|
4542
|
+
Pt as x,
|
|
4543
|
+
K as y,
|
|
4544
|
+
Ki as z
|
|
4547
4545
|
};
|