@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,50 +1,50 @@
|
|
|
1
|
-
function
|
|
1
|
+
function B() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function _t(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function qe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function ie(e) {
|
|
10
|
+
e.forEach(_t);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function ze(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function xt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
let
|
|
19
|
-
function
|
|
20
|
-
return e === t ? !0 : (
|
|
18
|
+
let ue;
|
|
19
|
+
function Fi(e, t) {
|
|
20
|
+
return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function ir(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Et(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
29
|
-
return
|
|
29
|
+
return B;
|
|
30
30
|
}
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function or(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(Et(t, r));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function T(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function sr(e, t, r) {
|
|
41
|
+
const n = ar(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
const i = P("style");
|
|
44
|
+
i.id = t, i.textContent = r, ur(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function ar(e) {
|
|
48
48
|
if (!e) return document;
|
|
49
49
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
50
50
|
return t && /** @type {ShadowRoot} */
|
|
@@ -53,56 +53,56 @@ function fr(e) {
|
|
|
53
53
|
t
|
|
54
54
|
) : e.ownerDocument;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
return
|
|
56
|
+
function ur(e, t) {
|
|
57
|
+
return T(
|
|
58
58
|
/** @type {Document} */
|
|
59
59
|
e.head || e,
|
|
60
60
|
t
|
|
61
61
|
), t.sheet;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function oe(e, t, r) {
|
|
64
64
|
e.insertBefore(t, r || null);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Z(e) {
|
|
67
67
|
e.parentNode && e.parentNode.removeChild(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function ji(e, t) {
|
|
70
70
|
for (let r = 0; r < e.length; r += 1)
|
|
71
71
|
e[r] && e[r].d(t);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function P(e) {
|
|
74
74
|
return document.createElement(e);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Y(e) {
|
|
77
77
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function ge(e) {
|
|
80
80
|
return document.createTextNode(e);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
return
|
|
82
|
+
function hr() {
|
|
83
|
+
return ge(" ");
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function St(e, t, r, n) {
|
|
86
86
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function S(e, t, r) {
|
|
89
89
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function ki(e, t, r) {
|
|
92
92
|
const n = t.toLowerCase();
|
|
93
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
93
|
+
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);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function lr(e) {
|
|
96
96
|
return Array.from(e.childNodes);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Tt(e, t) {
|
|
99
99
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
100
100
|
t);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function cr(e, t, r, n) {
|
|
103
103
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function fr(e) {
|
|
106
106
|
const t = {};
|
|
107
107
|
return e.childNodes.forEach(
|
|
108
108
|
/** @param {Element} node */
|
|
@@ -111,96 +111,96 @@ function gr(e) {
|
|
|
111
111
|
}
|
|
112
112
|
), t;
|
|
113
113
|
}
|
|
114
|
-
let
|
|
115
|
-
function
|
|
116
|
-
|
|
114
|
+
let te;
|
|
115
|
+
function ee(e) {
|
|
116
|
+
te = e;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
if (!
|
|
120
|
-
return
|
|
118
|
+
function pr() {
|
|
119
|
+
if (!te) throw new Error("Function called outside component initialization");
|
|
120
|
+
return te;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
|
|
122
|
+
function dr(e) {
|
|
123
|
+
pr().$$.on_mount.push(e);
|
|
124
124
|
}
|
|
125
|
-
const
|
|
126
|
-
let
|
|
127
|
-
const
|
|
128
|
-
let
|
|
129
|
-
function
|
|
130
|
-
|
|
125
|
+
const F = [], Ie = [];
|
|
126
|
+
let j = [];
|
|
127
|
+
const Je = [], mr = /* @__PURE__ */ Promise.resolve();
|
|
128
|
+
let Le = !1;
|
|
129
|
+
function br() {
|
|
130
|
+
Le || (Le = !0, mr.then(w));
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
|
|
132
|
+
function Ne(e) {
|
|
133
|
+
j.push(e);
|
|
134
134
|
}
|
|
135
135
|
const Te = /* @__PURE__ */ new Set();
|
|
136
136
|
let G = 0;
|
|
137
|
-
function
|
|
137
|
+
function w() {
|
|
138
138
|
if (G !== 0)
|
|
139
139
|
return;
|
|
140
|
-
const e =
|
|
140
|
+
const e = te;
|
|
141
141
|
do {
|
|
142
142
|
try {
|
|
143
|
-
for (; G <
|
|
144
|
-
const t =
|
|
145
|
-
G++,
|
|
143
|
+
for (; G < F.length; ) {
|
|
144
|
+
const t = F[G];
|
|
145
|
+
G++, ee(t), gr(t.$$);
|
|
146
146
|
}
|
|
147
147
|
} catch (t) {
|
|
148
|
-
throw
|
|
148
|
+
throw F.length = 0, G = 0, t;
|
|
149
149
|
}
|
|
150
|
-
for (
|
|
151
|
-
for (let t = 0; t <
|
|
152
|
-
const r =
|
|
150
|
+
for (ee(null), F.length = 0, G = 0; Ie.length; ) Ie.pop()();
|
|
151
|
+
for (let t = 0; t < j.length; t += 1) {
|
|
152
|
+
const r = j[t];
|
|
153
153
|
Te.has(r) || (Te.add(r), r());
|
|
154
154
|
}
|
|
155
|
-
|
|
156
|
-
} while (
|
|
157
|
-
for (;
|
|
158
|
-
|
|
159
|
-
|
|
155
|
+
j.length = 0;
|
|
156
|
+
} while (F.length);
|
|
157
|
+
for (; Je.length; )
|
|
158
|
+
Je.pop()();
|
|
159
|
+
Le = !1, Te.clear(), ee(e);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function gr(e) {
|
|
162
162
|
if (e.fragment !== null) {
|
|
163
|
-
e.update(),
|
|
163
|
+
e.update(), ie(e.before_update);
|
|
164
164
|
const t = e.dirty;
|
|
165
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
165
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function yr(e) {
|
|
169
169
|
const t = [], r = [];
|
|
170
|
-
|
|
170
|
+
j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
|
|
171
171
|
}
|
|
172
|
-
const
|
|
173
|
-
function
|
|
174
|
-
e && e.i && (
|
|
172
|
+
const vr = /* @__PURE__ */ new Set();
|
|
173
|
+
function _r(e, t) {
|
|
174
|
+
e && e.i && (vr.delete(e), e.i(t));
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function Vi(e) {
|
|
177
177
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function xr(e, t, r) {
|
|
180
180
|
const { fragment: n, after_update: i } = e.$$;
|
|
181
|
-
n && n.m(t, r),
|
|
182
|
-
const o = e.$$.on_mount.map(
|
|
183
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
184
|
-
}), i.forEach(
|
|
181
|
+
n && n.m(t, r), Ne(() => {
|
|
182
|
+
const o = e.$$.on_mount.map(_t).filter(ze);
|
|
183
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
|
|
184
|
+
}), i.forEach(Ne);
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function Er(e, t) {
|
|
187
187
|
const r = e.$$;
|
|
188
|
-
r.fragment !== null && (
|
|
188
|
+
r.fragment !== null && (yr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
191
|
-
e.$$.dirty[0] === -1 && (
|
|
190
|
+
function Sr(e, t) {
|
|
191
|
+
e.$$.dirty[0] === -1 && (F.push(e), br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
194
|
-
const h =
|
|
195
|
-
|
|
193
|
+
function Tr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
194
|
+
const h = te;
|
|
195
|
+
ee(e);
|
|
196
196
|
const u = e.$$ = {
|
|
197
197
|
fragment: null,
|
|
198
198
|
ctx: [],
|
|
199
199
|
// state
|
|
200
200
|
props: o,
|
|
201
|
-
update:
|
|
201
|
+
update: B,
|
|
202
202
|
not_equal: i,
|
|
203
|
-
bound:
|
|
203
|
+
bound: qe(),
|
|
204
204
|
// lifecycle
|
|
205
205
|
on_mount: [],
|
|
206
206
|
on_destroy: [],
|
|
@@ -209,7 +209,7 @@ function wr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
209
209
|
after_update: [],
|
|
210
210
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
211
211
|
// everything else
|
|
212
|
-
callbacks:
|
|
212
|
+
callbacks: qe(),
|
|
213
213
|
dirty: a,
|
|
214
214
|
skip_bound: !1,
|
|
215
215
|
root: t.target || h.$$.root
|
|
@@ -217,20 +217,20 @@ function wr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
217
217
|
s && s(u.root);
|
|
218
218
|
let l = !1;
|
|
219
219
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
220
|
-
const
|
|
221
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
222
|
-
}) : [], u.update(), l = !0,
|
|
220
|
+
const b = p.length ? p[0] : c;
|
|
221
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), l && Sr(e, f)), c;
|
|
222
|
+
}) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
223
223
|
if (t.hydrate) {
|
|
224
|
-
const f =
|
|
225
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
224
|
+
const f = lr(t.target);
|
|
225
|
+
u.fragment && u.fragment.l(f), f.forEach(Z);
|
|
226
226
|
} else
|
|
227
227
|
u.fragment && u.fragment.c();
|
|
228
|
-
t.intro &&
|
|
228
|
+
t.intro && _r(e.$$.fragment), xr(e, t.target, t.anchor), w();
|
|
229
229
|
}
|
|
230
|
-
|
|
230
|
+
ee(h);
|
|
231
231
|
}
|
|
232
|
-
let
|
|
233
|
-
typeof HTMLElement == "function" && (
|
|
232
|
+
let Ht;
|
|
233
|
+
typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
|
|
234
234
|
/** The Svelte component constructor */
|
|
235
235
|
$$ctor;
|
|
236
236
|
/** Slots */
|
|
@@ -272,29 +272,29 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
|
|
|
272
272
|
let o;
|
|
273
273
|
return {
|
|
274
274
|
c: function() {
|
|
275
|
-
o =
|
|
275
|
+
o = P("slot"), i !== "default" && S(o, "name", i);
|
|
276
276
|
},
|
|
277
277
|
/**
|
|
278
278
|
* @param {HTMLElement} target
|
|
279
279
|
* @param {HTMLElement} [anchor]
|
|
280
280
|
*/
|
|
281
281
|
m: function(h, u) {
|
|
282
|
-
|
|
282
|
+
oe(h, o, u);
|
|
283
283
|
},
|
|
284
284
|
d: function(h) {
|
|
285
|
-
h &&
|
|
285
|
+
h && Z(o);
|
|
286
286
|
}
|
|
287
287
|
};
|
|
288
288
|
};
|
|
289
289
|
};
|
|
290
290
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
291
291
|
return;
|
|
292
|
-
const t = {}, r =
|
|
292
|
+
const t = {}, r = fr(this);
|
|
293
293
|
for (const i of this.$$s)
|
|
294
294
|
i in r && (t[i] = [e(i)]);
|
|
295
295
|
for (const i of this.attributes) {
|
|
296
296
|
const o = this.$$g_p(i.name);
|
|
297
|
-
o in this.$$d || (this.$$d[o] =
|
|
297
|
+
o in this.$$d || (this.$$d[o] = ce(o, i.value, this.$$p_d, "toProp"));
|
|
298
298
|
}
|
|
299
299
|
for (const i in this.$$p_d)
|
|
300
300
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -312,7 +312,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
|
|
|
312
312
|
this.$$r = !0;
|
|
313
313
|
for (const i in this.$$p_d)
|
|
314
314
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
315
|
-
const o =
|
|
315
|
+
const o = ce(
|
|
316
316
|
i,
|
|
317
317
|
this.$$d[i],
|
|
318
318
|
this.$$p_d,
|
|
@@ -334,7 +334,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
|
|
|
334
334
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
335
335
|
// and setting attributes through setAttribute etc, this is helpful
|
|
336
336
|
attributeChangedCallback(e, t, r) {
|
|
337
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
337
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ce(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
338
338
|
}
|
|
339
339
|
disconnectedCallback() {
|
|
340
340
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -347,7 +347,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
|
|
|
347
347
|
) || e;
|
|
348
348
|
}
|
|
349
349
|
});
|
|
350
|
-
function
|
|
350
|
+
function ce(e, t, r, n) {
|
|
351
351
|
const i = r[e]?.type;
|
|
352
352
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
353
353
|
return t;
|
|
@@ -376,8 +376,8 @@ function fe(e, t, r, n) {
|
|
|
376
376
|
return t;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
|
-
function
|
|
380
|
-
let s = class extends
|
|
379
|
+
function Hr(e, t, r, n, i, o) {
|
|
380
|
+
let s = class extends Ht {
|
|
381
381
|
constructor() {
|
|
382
382
|
super(e, r, i), this.$$p_d = t;
|
|
383
383
|
}
|
|
@@ -393,7 +393,7 @@ function Pr(e, t, r, n, i, o) {
|
|
|
393
393
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
394
394
|
},
|
|
395
395
|
set(h) {
|
|
396
|
-
h =
|
|
396
|
+
h = ce(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
|
397
397
|
}
|
|
398
398
|
});
|
|
399
399
|
}), n.forEach((a) => {
|
|
@@ -405,7 +405,7 @@ function Pr(e, t, r, n, i, o) {
|
|
|
405
405
|
}), e.element = /** @type {any} */
|
|
406
406
|
s, s;
|
|
407
407
|
}
|
|
408
|
-
class
|
|
408
|
+
class Br {
|
|
409
409
|
/**
|
|
410
410
|
* ### PRIVATE API
|
|
411
411
|
*
|
|
@@ -424,7 +424,7 @@ class Or {
|
|
|
424
424
|
$$set = void 0;
|
|
425
425
|
/** @returns {void} */
|
|
426
426
|
$destroy() {
|
|
427
|
-
|
|
427
|
+
Er(this, 1), this.$destroy = B;
|
|
428
428
|
}
|
|
429
429
|
/**
|
|
430
430
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -433,8 +433,8 @@ class Or {
|
|
|
433
433
|
* @returns {() => void}
|
|
434
434
|
*/
|
|
435
435
|
$on(t, r) {
|
|
436
|
-
if (!
|
|
437
|
-
return
|
|
436
|
+
if (!ze(r))
|
|
437
|
+
return B;
|
|
438
438
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
439
439
|
return n.push(r), () => {
|
|
440
440
|
const i = n.indexOf(r);
|
|
@@ -446,22 +446,22 @@ class Or {
|
|
|
446
446
|
* @returns {void}
|
|
447
447
|
*/
|
|
448
448
|
$set(t) {
|
|
449
|
-
this.$$set && !
|
|
449
|
+
this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
|
-
const
|
|
453
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
454
|
-
var
|
|
455
|
-
return
|
|
452
|
+
const wr = "4";
|
|
453
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wr);
|
|
454
|
+
var Me = function(e, t) {
|
|
455
|
+
return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
456
456
|
r.__proto__ = n;
|
|
457
457
|
} || function(r, n) {
|
|
458
458
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
459
|
-
},
|
|
459
|
+
}, Me(e, t);
|
|
460
460
|
};
|
|
461
|
-
function
|
|
461
|
+
function I(e, t) {
|
|
462
462
|
if (typeof t != "function" && t !== null)
|
|
463
463
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
464
|
-
|
|
464
|
+
Me(e, t);
|
|
465
465
|
function r() {
|
|
466
466
|
this.constructor = e;
|
|
467
467
|
}
|
|
@@ -476,7 +476,7 @@ var g = function() {
|
|
|
476
476
|
return t;
|
|
477
477
|
}, g.apply(this, arguments);
|
|
478
478
|
};
|
|
479
|
-
function
|
|
479
|
+
function Ar(e, t) {
|
|
480
480
|
var r = {};
|
|
481
481
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
482
482
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -484,7 +484,7 @@ function Lr(e, t) {
|
|
|
484
484
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
485
485
|
return r;
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Ce(e) {
|
|
488
488
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
489
489
|
if (r) return r.call(e);
|
|
490
490
|
if (e && typeof e.length == "number") return {
|
|
@@ -494,7 +494,7 @@ function $e(e) {
|
|
|
494
494
|
};
|
|
495
495
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function $e(e, t) {
|
|
498
498
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
499
499
|
if (!r) return e;
|
|
500
500
|
var n = r.call(e), i, o = [], s;
|
|
@@ -511,21 +511,21 @@ function Re(e, t) {
|
|
|
511
511
|
}
|
|
512
512
|
return o;
|
|
513
513
|
}
|
|
514
|
-
function
|
|
514
|
+
function k(e, t, r) {
|
|
515
515
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
516
516
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
517
517
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function O(e) {
|
|
520
520
|
return typeof e == "function";
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function Bt(e) {
|
|
523
523
|
var t = function(n) {
|
|
524
524
|
Error.call(n), n.stack = new Error().stack;
|
|
525
525
|
}, r = e(t);
|
|
526
526
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
527
527
|
}
|
|
528
|
-
var He =
|
|
528
|
+
var He = Bt(function(e) {
|
|
529
529
|
return function(r) {
|
|
530
530
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
531
531
|
` + r.map(function(n, i) {
|
|
@@ -534,13 +534,13 @@ var He = Pt(function(e) {
|
|
|
534
534
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
535
535
|
};
|
|
536
536
|
});
|
|
537
|
-
function
|
|
537
|
+
function Re(e, t) {
|
|
538
538
|
if (e) {
|
|
539
539
|
var r = e.indexOf(t);
|
|
540
540
|
0 <= r && e.splice(r, 1);
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
|
-
var
|
|
543
|
+
var ye = function() {
|
|
544
544
|
function e(t) {
|
|
545
545
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
546
546
|
}
|
|
@@ -552,7 +552,7 @@ var ve = function() {
|
|
|
552
552
|
if (s)
|
|
553
553
|
if (this._parentage = null, Array.isArray(s))
|
|
554
554
|
try {
|
|
555
|
-
for (var a =
|
|
555
|
+
for (var a = Ce(s), h = a.next(); !h.done; h = a.next()) {
|
|
556
556
|
var u = h.value;
|
|
557
557
|
u.remove(this);
|
|
558
558
|
}
|
|
@@ -568,7 +568,7 @@ var ve = function() {
|
|
|
568
568
|
else
|
|
569
569
|
s.remove(this);
|
|
570
570
|
var l = this.initialTeardown;
|
|
571
|
-
if (
|
|
571
|
+
if (O(l))
|
|
572
572
|
try {
|
|
573
573
|
l();
|
|
574
574
|
} catch (v) {
|
|
@@ -578,12 +578,12 @@ var ve = function() {
|
|
|
578
578
|
if (f) {
|
|
579
579
|
this._finalizers = null;
|
|
580
580
|
try {
|
|
581
|
-
for (var c =
|
|
582
|
-
var
|
|
581
|
+
for (var c = Ce(f), p = c.next(); !p.done; p = c.next()) {
|
|
582
|
+
var b = p.value;
|
|
583
583
|
try {
|
|
584
|
-
|
|
584
|
+
Ye(b);
|
|
585
585
|
} catch (v) {
|
|
586
|
-
o = o ?? [], v instanceof He ? o =
|
|
586
|
+
o = o ?? [], v instanceof He ? o = k(k([], $e(o)), $e(v.errors)) : o.push(v);
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
} catch (v) {
|
|
@@ -603,7 +603,7 @@ var ve = function() {
|
|
|
603
603
|
var r;
|
|
604
604
|
if (t && t !== this)
|
|
605
605
|
if (this.closed)
|
|
606
|
-
|
|
606
|
+
Ye(t);
|
|
607
607
|
else {
|
|
608
608
|
if (t instanceof e) {
|
|
609
609
|
if (t.closed || t._hasParent(this))
|
|
@@ -620,56 +620,52 @@ var ve = function() {
|
|
|
620
620
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
621
621
|
}, e.prototype._removeParent = function(t) {
|
|
622
622
|
var r = this._parentage;
|
|
623
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
623
|
+
r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
|
|
624
624
|
}, e.prototype.remove = function(t) {
|
|
625
625
|
var r = this._finalizers;
|
|
626
|
-
r &&
|
|
626
|
+
r && Re(r, t), t instanceof e && t._removeParent(this);
|
|
627
627
|
}, e.EMPTY = function() {
|
|
628
628
|
var t = new e();
|
|
629
629
|
return t.closed = !0, t;
|
|
630
630
|
}(), e;
|
|
631
|
-
}(),
|
|
632
|
-
function
|
|
633
|
-
return e instanceof
|
|
631
|
+
}(), wt = ye.EMPTY;
|
|
632
|
+
function At(e) {
|
|
633
|
+
return e instanceof ye || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
|
|
634
634
|
}
|
|
635
|
-
function
|
|
636
|
-
|
|
637
|
-
}
|
|
638
|
-
var
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
Promise: void 0,
|
|
642
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
643
|
-
useDeprecatedNextContext: !1
|
|
644
|
-
}, Nr = {
|
|
635
|
+
function Ye(e) {
|
|
636
|
+
O(e) ? e() : e.unsubscribe();
|
|
637
|
+
}
|
|
638
|
+
var Pr = {
|
|
639
|
+
Promise: void 0
|
|
640
|
+
}, Or = {
|
|
645
641
|
setTimeout: function(e, t) {
|
|
646
642
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
647
643
|
r[n - 2] = arguments[n];
|
|
648
|
-
return setTimeout.apply(void 0,
|
|
644
|
+
return setTimeout.apply(void 0, k([e, t], $e(r)));
|
|
649
645
|
},
|
|
650
646
|
clearTimeout: function(e) {
|
|
651
647
|
return clearTimeout(e);
|
|
652
648
|
},
|
|
653
649
|
delegate: void 0
|
|
654
650
|
};
|
|
655
|
-
function
|
|
656
|
-
|
|
651
|
+
function Ir(e) {
|
|
652
|
+
Or.setTimeout(function() {
|
|
657
653
|
throw e;
|
|
658
654
|
});
|
|
659
655
|
}
|
|
660
|
-
function
|
|
656
|
+
function Ke() {
|
|
661
657
|
}
|
|
662
|
-
function
|
|
658
|
+
function fe(e) {
|
|
663
659
|
e();
|
|
664
660
|
}
|
|
665
|
-
var
|
|
666
|
-
|
|
661
|
+
var Pt = function(e) {
|
|
662
|
+
I(t, e);
|
|
667
663
|
function t(r) {
|
|
668
664
|
var n = e.call(this) || this;
|
|
669
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
665
|
+
return n.isStopped = !1, r ? (n.destination = r, At(r) && r.add(n)) : n.destination = Mr, n;
|
|
670
666
|
}
|
|
671
667
|
return t.create = function(r, n, i) {
|
|
672
|
-
return new
|
|
668
|
+
return new Ue(r, n, i);
|
|
673
669
|
}, t.prototype.next = function(r) {
|
|
674
670
|
this.isStopped || this._next(r);
|
|
675
671
|
}, t.prototype.error = function(r) {
|
|
@@ -693,11 +689,7 @@ var Nt = function(e) {
|
|
|
693
689
|
this.unsubscribe();
|
|
694
690
|
}
|
|
695
691
|
}, t;
|
|
696
|
-
}(
|
|
697
|
-
function Be(e, t) {
|
|
698
|
-
return Cr.call(e, t);
|
|
699
|
-
}
|
|
700
|
-
var $r = function() {
|
|
692
|
+
}(ye), Lr = function() {
|
|
701
693
|
function e(t) {
|
|
702
694
|
this.partialObserver = t;
|
|
703
695
|
}
|
|
@@ -707,7 +699,7 @@ var $r = function() {
|
|
|
707
699
|
try {
|
|
708
700
|
r.next(t);
|
|
709
701
|
} catch (n) {
|
|
710
|
-
|
|
702
|
+
he(n);
|
|
711
703
|
}
|
|
712
704
|
}, e.prototype.error = function(t) {
|
|
713
705
|
var r = this.partialObserver;
|
|
@@ -715,68 +707,56 @@ var $r = function() {
|
|
|
715
707
|
try {
|
|
716
708
|
r.error(t);
|
|
717
709
|
} catch (n) {
|
|
718
|
-
|
|
710
|
+
he(n);
|
|
719
711
|
}
|
|
720
712
|
else
|
|
721
|
-
|
|
713
|
+
he(t);
|
|
722
714
|
}, e.prototype.complete = function() {
|
|
723
715
|
var t = this.partialObserver;
|
|
724
716
|
if (t.complete)
|
|
725
717
|
try {
|
|
726
718
|
t.complete();
|
|
727
719
|
} catch (r) {
|
|
728
|
-
|
|
720
|
+
he(r);
|
|
729
721
|
}
|
|
730
722
|
}, e;
|
|
731
|
-
}(),
|
|
732
|
-
|
|
723
|
+
}(), Ue = function(e) {
|
|
724
|
+
I(t, e);
|
|
733
725
|
function t(r, n, i) {
|
|
734
726
|
var o = e.call(this) || this, s;
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
};
|
|
741
|
-
else {
|
|
742
|
-
var a;
|
|
743
|
-
o && Lt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
744
|
-
return o.unsubscribe();
|
|
745
|
-
}, s = {
|
|
746
|
-
next: r.next && Be(r.next, a),
|
|
747
|
-
error: r.error && Be(r.error, a),
|
|
748
|
-
complete: r.complete && Be(r.complete, a)
|
|
749
|
-
}) : s = r;
|
|
750
|
-
}
|
|
751
|
-
return o.destination = new $r(s), o;
|
|
727
|
+
return O(r) || !r ? s = {
|
|
728
|
+
next: r ?? void 0,
|
|
729
|
+
error: n ?? void 0,
|
|
730
|
+
complete: i ?? void 0
|
|
731
|
+
} : s = r, o.destination = new Lr(s), o;
|
|
752
732
|
}
|
|
753
733
|
return t;
|
|
754
|
-
}(
|
|
755
|
-
function
|
|
756
|
-
|
|
734
|
+
}(Pt);
|
|
735
|
+
function he(e) {
|
|
736
|
+
Ir(e);
|
|
757
737
|
}
|
|
758
|
-
function
|
|
738
|
+
function Nr(e) {
|
|
759
739
|
throw e;
|
|
760
740
|
}
|
|
761
|
-
var
|
|
741
|
+
var Mr = {
|
|
762
742
|
closed: !0,
|
|
763
|
-
next:
|
|
764
|
-
error:
|
|
765
|
-
complete:
|
|
766
|
-
},
|
|
743
|
+
next: Ke,
|
|
744
|
+
error: Nr,
|
|
745
|
+
complete: Ke
|
|
746
|
+
}, Cr = function() {
|
|
767
747
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
768
748
|
}();
|
|
769
|
-
function
|
|
749
|
+
function $r(e) {
|
|
770
750
|
return e;
|
|
771
751
|
}
|
|
772
|
-
function
|
|
773
|
-
return e.length === 0 ?
|
|
752
|
+
function Rr(e) {
|
|
753
|
+
return e.length === 0 ? $r : e.length === 1 ? e[0] : function(r) {
|
|
774
754
|
return e.reduce(function(n, i) {
|
|
775
755
|
return i(n);
|
|
776
756
|
}, r);
|
|
777
757
|
};
|
|
778
758
|
}
|
|
779
|
-
var
|
|
759
|
+
var et = function() {
|
|
780
760
|
function e(t) {
|
|
781
761
|
t && (this._subscribe = t);
|
|
782
762
|
}
|
|
@@ -784,8 +764,8 @@ var nt = function() {
|
|
|
784
764
|
var r = new e();
|
|
785
765
|
return r.source = this, r.operator = t, r;
|
|
786
766
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
787
|
-
var i = this, o =
|
|
788
|
-
return
|
|
767
|
+
var i = this, o = Gr(t) ? t : new Ue(t, r, n);
|
|
768
|
+
return fe(function() {
|
|
789
769
|
var s = i, a = s.operator, h = s.source;
|
|
790
770
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
791
771
|
}), o;
|
|
@@ -797,8 +777,8 @@ var nt = function() {
|
|
|
797
777
|
}
|
|
798
778
|
}, e.prototype.forEach = function(t, r) {
|
|
799
779
|
var n = this;
|
|
800
|
-
return r =
|
|
801
|
-
var s = new
|
|
780
|
+
return r = tt(r), new r(function(i, o) {
|
|
781
|
+
var s = new Ue({
|
|
802
782
|
next: function(a) {
|
|
803
783
|
try {
|
|
804
784
|
t(a);
|
|
@@ -814,15 +794,15 @@ var nt = function() {
|
|
|
814
794
|
}, e.prototype._subscribe = function(t) {
|
|
815
795
|
var r;
|
|
816
796
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
817
|
-
}, e.prototype[
|
|
797
|
+
}, e.prototype[Cr] = function() {
|
|
818
798
|
return this;
|
|
819
799
|
}, e.prototype.pipe = function() {
|
|
820
800
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
821
801
|
t[r] = arguments[r];
|
|
822
|
-
return
|
|
802
|
+
return Rr(t)(this);
|
|
823
803
|
}, e.prototype.toPromise = function(t) {
|
|
824
804
|
var r = this;
|
|
825
|
-
return t =
|
|
805
|
+
return t = tt(t), new t(function(n, i) {
|
|
826
806
|
var o;
|
|
827
807
|
r.subscribe(function(s) {
|
|
828
808
|
return o = s;
|
|
@@ -836,40 +816,40 @@ var nt = function() {
|
|
|
836
816
|
return new e(t);
|
|
837
817
|
}, e;
|
|
838
818
|
}();
|
|
839
|
-
function
|
|
819
|
+
function tt(e) {
|
|
840
820
|
var t;
|
|
841
|
-
return (t = e ??
|
|
821
|
+
return (t = e ?? Pr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
842
822
|
}
|
|
843
|
-
function
|
|
844
|
-
return e &&
|
|
823
|
+
function Ur(e) {
|
|
824
|
+
return e && O(e.next) && O(e.error) && O(e.complete);
|
|
845
825
|
}
|
|
846
|
-
function
|
|
847
|
-
return e && e instanceof
|
|
826
|
+
function Gr(e) {
|
|
827
|
+
return e && e instanceof Pt || Ur(e) && At(e);
|
|
848
828
|
}
|
|
849
|
-
var
|
|
829
|
+
var Dr = Bt(function(e) {
|
|
850
830
|
return function() {
|
|
851
831
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
852
832
|
};
|
|
853
|
-
}),
|
|
854
|
-
|
|
833
|
+
}), Ot = function(e) {
|
|
834
|
+
I(t, e);
|
|
855
835
|
function t() {
|
|
856
836
|
var r = e.call(this) || this;
|
|
857
837
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
858
838
|
}
|
|
859
839
|
return t.prototype.lift = function(r) {
|
|
860
|
-
var n = new
|
|
840
|
+
var n = new rt(this, this);
|
|
861
841
|
return n.operator = r, n;
|
|
862
842
|
}, t.prototype._throwIfClosed = function() {
|
|
863
843
|
if (this.closed)
|
|
864
|
-
throw new
|
|
844
|
+
throw new Dr();
|
|
865
845
|
}, t.prototype.next = function(r) {
|
|
866
846
|
var n = this;
|
|
867
|
-
|
|
847
|
+
fe(function() {
|
|
868
848
|
var i, o;
|
|
869
849
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
870
850
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
871
851
|
try {
|
|
872
|
-
for (var s =
|
|
852
|
+
for (var s = Ce(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
873
853
|
var h = a.value;
|
|
874
854
|
h.next(r);
|
|
875
855
|
}
|
|
@@ -886,7 +866,7 @@ var Vr = Pt(function(e) {
|
|
|
886
866
|
});
|
|
887
867
|
}, t.prototype.error = function(r) {
|
|
888
868
|
var n = this;
|
|
889
|
-
|
|
869
|
+
fe(function() {
|
|
890
870
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
891
871
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
892
872
|
for (var i = n.observers; i.length; )
|
|
@@ -895,7 +875,7 @@ var Vr = Pt(function(e) {
|
|
|
895
875
|
});
|
|
896
876
|
}, t.prototype.complete = function() {
|
|
897
877
|
var r = this;
|
|
898
|
-
|
|
878
|
+
fe(function() {
|
|
899
879
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
900
880
|
r.isStopped = !0;
|
|
901
881
|
for (var n = r.observers; n.length; )
|
|
@@ -917,20 +897,20 @@ var Vr = Pt(function(e) {
|
|
|
917
897
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
918
898
|
}, t.prototype._innerSubscribe = function(r) {
|
|
919
899
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
920
|
-
return o || s ?
|
|
921
|
-
n.currentObservers = null,
|
|
900
|
+
return o || s ? wt : (this.currentObservers = null, a.push(r), new ye(function() {
|
|
901
|
+
n.currentObservers = null, Re(a, r);
|
|
922
902
|
}));
|
|
923
903
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
924
904
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
925
905
|
i ? r.error(o) : s && r.complete();
|
|
926
906
|
}, t.prototype.asObservable = function() {
|
|
927
|
-
var r = new
|
|
907
|
+
var r = new et();
|
|
928
908
|
return r.source = this, r;
|
|
929
909
|
}, t.create = function(r, n) {
|
|
930
|
-
return new
|
|
910
|
+
return new rt(r, n);
|
|
931
911
|
}, t;
|
|
932
|
-
}(
|
|
933
|
-
|
|
912
|
+
}(et), rt = function(e) {
|
|
913
|
+
I(t, e);
|
|
934
914
|
function t(r, n) {
|
|
935
915
|
var i = e.call(this) || this;
|
|
936
916
|
return i.destination = r, i.source = n, i;
|
|
@@ -946,17 +926,17 @@ var Vr = Pt(function(e) {
|
|
|
946
926
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
947
927
|
}, t.prototype._subscribe = function(r) {
|
|
948
928
|
var n, i;
|
|
949
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
929
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : wt;
|
|
950
930
|
}, t;
|
|
951
|
-
}(
|
|
931
|
+
}(Ot), It = {
|
|
952
932
|
now: function() {
|
|
953
|
-
return (
|
|
933
|
+
return (It.delegate || Date).now();
|
|
954
934
|
},
|
|
955
935
|
delegate: void 0
|
|
956
|
-
},
|
|
957
|
-
|
|
936
|
+
}, Fr = function(e) {
|
|
937
|
+
I(t, e);
|
|
958
938
|
function t(r, n, i) {
|
|
959
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
939
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = It);
|
|
960
940
|
var o = e.call(this) || this;
|
|
961
941
|
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;
|
|
962
942
|
}
|
|
@@ -976,63 +956,63 @@ var Vr = Pt(function(e) {
|
|
|
976
956
|
u && o.splice(0, u + 1);
|
|
977
957
|
}
|
|
978
958
|
}, t;
|
|
979
|
-
}(
|
|
980
|
-
const
|
|
981
|
-
if (
|
|
982
|
-
const r = new
|
|
983
|
-
|
|
959
|
+
}(Ot);
|
|
960
|
+
const nt = [], it = {}, jr = (e, t = 0) => {
|
|
961
|
+
if (nt.indexOf(e) == -1) {
|
|
962
|
+
const r = new Fr(t);
|
|
963
|
+
it[e] = r, nt.push(e);
|
|
984
964
|
}
|
|
985
|
-
return
|
|
986
|
-
},
|
|
987
|
-
function
|
|
965
|
+
return it[e];
|
|
966
|
+
}, D = [];
|
|
967
|
+
function kr(e, t) {
|
|
988
968
|
return {
|
|
989
|
-
subscribe:
|
|
969
|
+
subscribe: ve(e, t).subscribe
|
|
990
970
|
};
|
|
991
971
|
}
|
|
992
|
-
function
|
|
972
|
+
function ve(e, t = B) {
|
|
993
973
|
let r;
|
|
994
974
|
const n = /* @__PURE__ */ new Set();
|
|
995
975
|
function i(a) {
|
|
996
|
-
if (
|
|
997
|
-
const h = !
|
|
976
|
+
if (xt(e, a) && (e = a, r)) {
|
|
977
|
+
const h = !D.length;
|
|
998
978
|
for (const u of n)
|
|
999
|
-
u[1](),
|
|
979
|
+
u[1](), D.push(u, e);
|
|
1000
980
|
if (h) {
|
|
1001
|
-
for (let u = 0; u <
|
|
1002
|
-
|
|
1003
|
-
|
|
981
|
+
for (let u = 0; u < D.length; u += 2)
|
|
982
|
+
D[u][0](D[u + 1]);
|
|
983
|
+
D.length = 0;
|
|
1004
984
|
}
|
|
1005
985
|
}
|
|
1006
986
|
}
|
|
1007
987
|
function o(a) {
|
|
1008
988
|
i(a(e));
|
|
1009
989
|
}
|
|
1010
|
-
function s(a, h =
|
|
990
|
+
function s(a, h = B) {
|
|
1011
991
|
const u = [a, h];
|
|
1012
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
992
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || B), a(e), () => {
|
|
1013
993
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1014
994
|
};
|
|
1015
995
|
}
|
|
1016
996
|
return { set: i, update: o, subscribe: s };
|
|
1017
997
|
}
|
|
1018
|
-
function
|
|
998
|
+
function Q(e, t, r) {
|
|
1019
999
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1020
1000
|
if (!i.every(Boolean))
|
|
1021
1001
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1022
1002
|
const o = t.length < 2;
|
|
1023
|
-
return
|
|
1003
|
+
return kr(r, (s, a) => {
|
|
1024
1004
|
let h = !1;
|
|
1025
1005
|
const u = [];
|
|
1026
|
-
let l = 0, f =
|
|
1006
|
+
let l = 0, f = B;
|
|
1027
1007
|
const c = () => {
|
|
1028
1008
|
if (l)
|
|
1029
1009
|
return;
|
|
1030
1010
|
f();
|
|
1031
|
-
const
|
|
1032
|
-
o ? s(
|
|
1011
|
+
const b = t(n ? u[0] : u, s, a);
|
|
1012
|
+
o ? s(b) : f = ze(b) ? b : B;
|
|
1033
1013
|
}, p = i.map(
|
|
1034
|
-
(
|
|
1035
|
-
|
|
1014
|
+
(b, v) => Et(
|
|
1015
|
+
b,
|
|
1036
1016
|
(H) => {
|
|
1037
1017
|
u[v] = H, l &= ~(1 << v), h && c();
|
|
1038
1018
|
},
|
|
@@ -1042,134 +1022,132 @@ function q(e, t, r) {
|
|
|
1042
1022
|
)
|
|
1043
1023
|
);
|
|
1044
1024
|
return h = !0, c(), function() {
|
|
1045
|
-
|
|
1025
|
+
ie(p), f(), h = !1;
|
|
1046
1026
|
};
|
|
1047
1027
|
});
|
|
1048
1028
|
}
|
|
1049
|
-
function
|
|
1029
|
+
function Vr(e) {
|
|
1050
1030
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1051
1031
|
}
|
|
1052
|
-
var
|
|
1053
|
-
return
|
|
1032
|
+
var Xr = function(t) {
|
|
1033
|
+
return Wr(t) && !zr(t);
|
|
1054
1034
|
};
|
|
1055
|
-
function
|
|
1035
|
+
function Wr(e) {
|
|
1056
1036
|
return !!e && typeof e == "object";
|
|
1057
1037
|
}
|
|
1058
|
-
function
|
|
1038
|
+
function zr(e) {
|
|
1059
1039
|
var t = Object.prototype.toString.call(e);
|
|
1060
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1040
|
+
return t === "[object RegExp]" || t === "[object Date]" || qr(e);
|
|
1061
1041
|
}
|
|
1062
|
-
var
|
|
1063
|
-
function
|
|
1064
|
-
return e.$$typeof ===
|
|
1042
|
+
var Zr = typeof Symbol == "function" && Symbol.for, Qr = Zr ? Symbol.for("react.element") : 60103;
|
|
1043
|
+
function qr(e) {
|
|
1044
|
+
return e.$$typeof === Qr;
|
|
1065
1045
|
}
|
|
1066
|
-
function
|
|
1046
|
+
function Jr(e) {
|
|
1067
1047
|
return Array.isArray(e) ? [] : {};
|
|
1068
1048
|
}
|
|
1069
|
-
function
|
|
1070
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1049
|
+
function re(e, t) {
|
|
1050
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? V(Jr(e), e, t) : e;
|
|
1071
1051
|
}
|
|
1072
|
-
function
|
|
1052
|
+
function Yr(e, t, r) {
|
|
1073
1053
|
return e.concat(t).map(function(n) {
|
|
1074
|
-
return
|
|
1054
|
+
return re(n, r);
|
|
1075
1055
|
});
|
|
1076
1056
|
}
|
|
1077
|
-
function
|
|
1057
|
+
function Kr(e, t) {
|
|
1078
1058
|
if (!t.customMerge)
|
|
1079
|
-
return
|
|
1059
|
+
return V;
|
|
1080
1060
|
var r = t.customMerge(e);
|
|
1081
|
-
return typeof r == "function" ? r :
|
|
1061
|
+
return typeof r == "function" ? r : V;
|
|
1082
1062
|
}
|
|
1083
|
-
function
|
|
1063
|
+
function en(e) {
|
|
1084
1064
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1085
1065
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1086
1066
|
}) : [];
|
|
1087
1067
|
}
|
|
1088
|
-
function
|
|
1089
|
-
return Object.keys(e).concat(
|
|
1068
|
+
function ot(e) {
|
|
1069
|
+
return Object.keys(e).concat(en(e));
|
|
1090
1070
|
}
|
|
1091
|
-
function
|
|
1071
|
+
function Lt(e, t) {
|
|
1092
1072
|
try {
|
|
1093
1073
|
return t in e;
|
|
1094
1074
|
} catch {
|
|
1095
1075
|
return !1;
|
|
1096
1076
|
}
|
|
1097
1077
|
}
|
|
1098
|
-
function
|
|
1099
|
-
return
|
|
1078
|
+
function tn(e, t) {
|
|
1079
|
+
return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1100
1080
|
}
|
|
1101
|
-
function
|
|
1081
|
+
function rn(e, t, r) {
|
|
1102
1082
|
var n = {};
|
|
1103
|
-
return r.isMergeableObject(e) &&
|
|
1104
|
-
n[i] =
|
|
1105
|
-
}),
|
|
1106
|
-
|
|
1083
|
+
return r.isMergeableObject(e) && ot(e).forEach(function(i) {
|
|
1084
|
+
n[i] = re(e[i], r);
|
|
1085
|
+
}), ot(t).forEach(function(i) {
|
|
1086
|
+
tn(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Kr(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
|
|
1107
1087
|
}), n;
|
|
1108
1088
|
}
|
|
1109
|
-
function
|
|
1110
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1089
|
+
function V(e, t, r) {
|
|
1090
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Yr, r.isMergeableObject = r.isMergeableObject || Xr, r.cloneUnlessOtherwiseSpecified = re;
|
|
1111
1091
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1112
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1092
|
+
return o ? n ? r.arrayMerge(e, t, r) : rn(e, t, r) : re(t, r);
|
|
1113
1093
|
}
|
|
1114
|
-
|
|
1094
|
+
V.all = function(t, r) {
|
|
1115
1095
|
if (!Array.isArray(t))
|
|
1116
1096
|
throw new Error("first argument should be an array");
|
|
1117
1097
|
return t.reduce(function(n, i) {
|
|
1118
|
-
return
|
|
1098
|
+
return V(n, i, r);
|
|
1119
1099
|
}, {});
|
|
1120
1100
|
};
|
|
1121
|
-
var
|
|
1122
|
-
const
|
|
1123
|
-
function
|
|
1124
|
-
var r = t && t.cache ? t.cache :
|
|
1101
|
+
var nn = V, on = nn;
|
|
1102
|
+
const sn = /* @__PURE__ */ Vr(on);
|
|
1103
|
+
function Be(e, t) {
|
|
1104
|
+
var r = t && t.cache ? t.cache : pn, n = t && t.serializer ? t.serializer : cn, i = t && t.strategy ? t.strategy : hn;
|
|
1125
1105
|
return i(e, {
|
|
1126
1106
|
cache: r,
|
|
1127
1107
|
serializer: n
|
|
1128
1108
|
});
|
|
1129
1109
|
}
|
|
1130
|
-
function
|
|
1110
|
+
function an(e) {
|
|
1131
1111
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1132
1112
|
}
|
|
1133
|
-
function
|
|
1134
|
-
var i =
|
|
1113
|
+
function un(e, t, r, n) {
|
|
1114
|
+
var i = an(n) ? n : r(n), o = t.get(i);
|
|
1135
1115
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1136
1116
|
}
|
|
1137
|
-
function
|
|
1117
|
+
function Nt(e, t, r) {
|
|
1138
1118
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1139
1119
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1140
1120
|
}
|
|
1141
|
-
function
|
|
1121
|
+
function Mt(e, t, r, n, i) {
|
|
1142
1122
|
return r.bind(t, e, n, i);
|
|
1143
1123
|
}
|
|
1144
|
-
function
|
|
1145
|
-
var r = e.length === 1 ?
|
|
1146
|
-
return
|
|
1147
|
-
}
|
|
1148
|
-
function pn(e, t) {
|
|
1149
|
-
return Qe(e, this, Ut, t.cache.create(), t.serializer);
|
|
1124
|
+
function hn(e, t) {
|
|
1125
|
+
var r = e.length === 1 ? un : Nt;
|
|
1126
|
+
return Mt(e, this, r, t.cache.create(), t.serializer);
|
|
1150
1127
|
}
|
|
1151
|
-
function
|
|
1152
|
-
return
|
|
1128
|
+
function ln(e, t) {
|
|
1129
|
+
return Mt(e, this, Nt, t.cache.create(), t.serializer);
|
|
1153
1130
|
}
|
|
1154
|
-
var
|
|
1131
|
+
var cn = function() {
|
|
1155
1132
|
return JSON.stringify(arguments);
|
|
1156
|
-
}
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1133
|
+
}, fn = (
|
|
1134
|
+
/** @class */
|
|
1135
|
+
function() {
|
|
1136
|
+
function e() {
|
|
1137
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1138
|
+
}
|
|
1139
|
+
return e.prototype.get = function(t) {
|
|
1140
|
+
return this.cache[t];
|
|
1141
|
+
}, e.prototype.set = function(t, r) {
|
|
1142
|
+
this.cache[t] = r;
|
|
1143
|
+
}, e;
|
|
1144
|
+
}()
|
|
1145
|
+
), pn = {
|
|
1167
1146
|
create: function() {
|
|
1168
|
-
return new
|
|
1147
|
+
return new fn();
|
|
1169
1148
|
}
|
|
1170
1149
|
}, we = {
|
|
1171
|
-
variadic:
|
|
1172
|
-
monadic: dn
|
|
1150
|
+
variadic: ln
|
|
1173
1151
|
}, d;
|
|
1174
1152
|
(function(e) {
|
|
1175
1153
|
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";
|
|
@@ -1178,47 +1156,47 @@ var _;
|
|
|
1178
1156
|
(function(e) {
|
|
1179
1157
|
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";
|
|
1180
1158
|
})(_ || (_ = {}));
|
|
1181
|
-
var
|
|
1159
|
+
var X;
|
|
1182
1160
|
(function(e) {
|
|
1183
1161
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1184
|
-
})(
|
|
1185
|
-
function
|
|
1162
|
+
})(X || (X = {}));
|
|
1163
|
+
function st(e) {
|
|
1186
1164
|
return e.type === _.literal;
|
|
1187
1165
|
}
|
|
1188
|
-
function
|
|
1166
|
+
function dn(e) {
|
|
1189
1167
|
return e.type === _.argument;
|
|
1190
1168
|
}
|
|
1191
|
-
function
|
|
1169
|
+
function Ct(e) {
|
|
1192
1170
|
return e.type === _.number;
|
|
1193
1171
|
}
|
|
1194
|
-
function
|
|
1172
|
+
function $t(e) {
|
|
1195
1173
|
return e.type === _.date;
|
|
1196
1174
|
}
|
|
1197
|
-
function
|
|
1175
|
+
function Rt(e) {
|
|
1198
1176
|
return e.type === _.time;
|
|
1199
1177
|
}
|
|
1200
|
-
function
|
|
1178
|
+
function Ut(e) {
|
|
1201
1179
|
return e.type === _.select;
|
|
1202
1180
|
}
|
|
1203
|
-
function
|
|
1181
|
+
function Gt(e) {
|
|
1204
1182
|
return e.type === _.plural;
|
|
1205
1183
|
}
|
|
1206
|
-
function
|
|
1184
|
+
function mn(e) {
|
|
1207
1185
|
return e.type === _.pound;
|
|
1208
1186
|
}
|
|
1209
|
-
function
|
|
1187
|
+
function Dt(e) {
|
|
1210
1188
|
return e.type === _.tag;
|
|
1211
1189
|
}
|
|
1212
|
-
function
|
|
1213
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1190
|
+
function Ft(e) {
|
|
1191
|
+
return !!(e && typeof e == "object" && e.type === X.number);
|
|
1214
1192
|
}
|
|
1215
1193
|
function Ge(e) {
|
|
1216
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1194
|
+
return !!(e && typeof e == "object" && e.type === X.dateTime);
|
|
1217
1195
|
}
|
|
1218
|
-
var
|
|
1219
|
-
function
|
|
1196
|
+
var jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bn = /(?:[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;
|
|
1197
|
+
function gn(e) {
|
|
1220
1198
|
var t = {};
|
|
1221
|
-
return e.replace(
|
|
1199
|
+
return e.replace(bn, function(r) {
|
|
1222
1200
|
var n = r.length;
|
|
1223
1201
|
switch (r[0]) {
|
|
1224
1202
|
case "G":
|
|
@@ -1307,11 +1285,11 @@ function _n(e) {
|
|
|
1307
1285
|
return "";
|
|
1308
1286
|
}), t;
|
|
1309
1287
|
}
|
|
1310
|
-
var
|
|
1311
|
-
function
|
|
1288
|
+
var yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1289
|
+
function vn(e) {
|
|
1312
1290
|
if (e.length === 0)
|
|
1313
1291
|
throw new Error("Number skeleton cannot be empty");
|
|
1314
|
-
for (var t = e.split(
|
|
1292
|
+
for (var t = e.split(yn).filter(function(c) {
|
|
1315
1293
|
return c.length > 0;
|
|
1316
1294
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1317
1295
|
var o = i[n], s = o.split("/");
|
|
@@ -1326,17 +1304,17 @@ function xn(e) {
|
|
|
1326
1304
|
}
|
|
1327
1305
|
return r;
|
|
1328
1306
|
}
|
|
1329
|
-
function
|
|
1307
|
+
function _n(e) {
|
|
1330
1308
|
return e.replace(/^(.*?)-/, "");
|
|
1331
1309
|
}
|
|
1332
|
-
var
|
|
1333
|
-
function
|
|
1310
|
+
var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kt = /^(@+)?(\+|#+)?[rs]?$/g, xn = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
|
|
1311
|
+
function ut(e) {
|
|
1334
1312
|
var t = {};
|
|
1335
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1313
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kt, function(r, n, i) {
|
|
1336
1314
|
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)), "";
|
|
1337
1315
|
}), t;
|
|
1338
1316
|
}
|
|
1339
|
-
function
|
|
1317
|
+
function Xt(e) {
|
|
1340
1318
|
switch (e) {
|
|
1341
1319
|
case "sign-auto":
|
|
1342
1320
|
return {
|
|
@@ -1376,7 +1354,7 @@ function Qt(e) {
|
|
|
1376
1354
|
};
|
|
1377
1355
|
}
|
|
1378
1356
|
}
|
|
1379
|
-
function
|
|
1357
|
+
function En(e) {
|
|
1380
1358
|
var t;
|
|
1381
1359
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1382
1360
|
notation: "engineering"
|
|
@@ -1384,17 +1362,17 @@ function Hn(e) {
|
|
|
1384
1362
|
notation: "scientific"
|
|
1385
1363
|
}, e = e.slice(1)), t) {
|
|
1386
1364
|
var r = e.slice(0, 2);
|
|
1387
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1365
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vt.test(e))
|
|
1388
1366
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1389
1367
|
t.minimumIntegerDigits = e.length;
|
|
1390
1368
|
}
|
|
1391
1369
|
return t;
|
|
1392
1370
|
}
|
|
1393
|
-
function
|
|
1394
|
-
var t = {}, r =
|
|
1371
|
+
function ht(e) {
|
|
1372
|
+
var t = {}, r = Xt(e);
|
|
1395
1373
|
return r || t;
|
|
1396
1374
|
}
|
|
1397
|
-
function
|
|
1375
|
+
function Sn(e) {
|
|
1398
1376
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1399
1377
|
var i = n[r];
|
|
1400
1378
|
switch (i.stem) {
|
|
@@ -1418,7 +1396,7 @@ function Bn(e) {
|
|
|
1418
1396
|
continue;
|
|
1419
1397
|
case "measure-unit":
|
|
1420
1398
|
case "unit":
|
|
1421
|
-
t.style = "unit", t.unit =
|
|
1399
|
+
t.style = "unit", t.unit = _n(i.options[0]);
|
|
1422
1400
|
continue;
|
|
1423
1401
|
case "compact-short":
|
|
1424
1402
|
case "K":
|
|
@@ -1430,12 +1408,12 @@ function Bn(e) {
|
|
|
1430
1408
|
continue;
|
|
1431
1409
|
case "scientific":
|
|
1432
1410
|
t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1433
|
-
return g(g({}, h),
|
|
1411
|
+
return g(g({}, h), ht(u));
|
|
1434
1412
|
}, {}));
|
|
1435
1413
|
continue;
|
|
1436
1414
|
case "engineering":
|
|
1437
1415
|
t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1438
|
-
return g(g({}, h),
|
|
1416
|
+
return g(g({}, h), ht(u));
|
|
1439
1417
|
}, {}));
|
|
1440
1418
|
continue;
|
|
1441
1419
|
case "notation-simple":
|
|
@@ -1480,7 +1458,7 @@ function Bn(e) {
|
|
|
1480
1458
|
case "integer-width":
|
|
1481
1459
|
if (i.options.length > 1)
|
|
1482
1460
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1483
|
-
i.options[0].replace(
|
|
1461
|
+
i.options[0].replace(xn, function(h, u, l, f, c, p) {
|
|
1484
1462
|
if (u)
|
|
1485
1463
|
t.minimumIntegerDigits = l.length;
|
|
1486
1464
|
else {
|
|
@@ -1493,32 +1471,32 @@ function Bn(e) {
|
|
|
1493
1471
|
});
|
|
1494
1472
|
continue;
|
|
1495
1473
|
}
|
|
1496
|
-
if (
|
|
1474
|
+
if (Vt.test(i.stem)) {
|
|
1497
1475
|
t.minimumIntegerDigits = i.stem.length;
|
|
1498
1476
|
continue;
|
|
1499
1477
|
}
|
|
1500
|
-
if (
|
|
1478
|
+
if (at.test(i.stem)) {
|
|
1501
1479
|
if (i.options.length > 1)
|
|
1502
1480
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1503
|
-
i.stem.replace(
|
|
1481
|
+
i.stem.replace(at, function(h, u, l, f, c, p) {
|
|
1504
1482
|
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), "";
|
|
1505
1483
|
});
|
|
1506
1484
|
var o = i.options[0];
|
|
1507
|
-
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t),
|
|
1485
|
+
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), ut(o)));
|
|
1508
1486
|
continue;
|
|
1509
1487
|
}
|
|
1510
|
-
if (
|
|
1511
|
-
t = g(g({}, t),
|
|
1488
|
+
if (kt.test(i.stem)) {
|
|
1489
|
+
t = g(g({}, t), ut(i.stem));
|
|
1512
1490
|
continue;
|
|
1513
1491
|
}
|
|
1514
|
-
var s =
|
|
1492
|
+
var s = Xt(i.stem);
|
|
1515
1493
|
s && (t = g(g({}, t), s));
|
|
1516
|
-
var a =
|
|
1494
|
+
var a = En(i.stem);
|
|
1517
1495
|
a && (t = g(g({}, t), a));
|
|
1518
1496
|
}
|
|
1519
1497
|
return t;
|
|
1520
1498
|
}
|
|
1521
|
-
var
|
|
1499
|
+
var le = {
|
|
1522
1500
|
"001": [
|
|
1523
1501
|
"H",
|
|
1524
1502
|
"h"
|
|
@@ -2933,13 +2911,13 @@ var ce = {
|
|
|
2933
2911
|
"h"
|
|
2934
2912
|
]
|
|
2935
2913
|
};
|
|
2936
|
-
function
|
|
2914
|
+
function Tn(e, t) {
|
|
2937
2915
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2938
2916
|
var i = e.charAt(n);
|
|
2939
2917
|
if (i === "j") {
|
|
2940
2918
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2941
2919
|
o++, n++;
|
|
2942
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2920
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Hn(t);
|
|
2943
2921
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2944
2922
|
r += h;
|
|
2945
2923
|
for (; s-- > 0; )
|
|
@@ -2948,7 +2926,7 @@ function An(e, t) {
|
|
|
2948
2926
|
}
|
|
2949
2927
|
return r;
|
|
2950
2928
|
}
|
|
2951
|
-
function
|
|
2929
|
+
function Hn(e) {
|
|
2952
2930
|
var t = e.hourCycle;
|
|
2953
2931
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2954
2932
|
e.hourCycles && // @ts-ignore
|
|
@@ -2967,23 +2945,23 @@ function wn(e) {
|
|
|
2967
2945
|
}
|
|
2968
2946
|
var r = e.language, n;
|
|
2969
2947
|
r !== "root" && (n = e.maximize().region);
|
|
2970
|
-
var i =
|
|
2948
|
+
var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
|
|
2971
2949
|
return i[0];
|
|
2972
2950
|
}
|
|
2973
|
-
var
|
|
2951
|
+
var Ae, Bn = new RegExp("^".concat(jt.source, "*")), wn = new RegExp("".concat(jt.source, "*$"));
|
|
2974
2952
|
function m(e, t) {
|
|
2975
2953
|
return { start: e, end: t };
|
|
2976
2954
|
}
|
|
2977
|
-
var
|
|
2955
|
+
var An = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pn = !!String.fromCodePoint, On = !!Object.fromEntries, In = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, Nn = !!String.prototype.trimEnd, Mn = !!Number.isSafeInteger, Cn = Mn ? Number.isSafeInteger : function(e) {
|
|
2978
2956
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2979
|
-
},
|
|
2957
|
+
}, De = !0;
|
|
2980
2958
|
try {
|
|
2981
|
-
var
|
|
2982
|
-
|
|
2959
|
+
var $n = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2960
|
+
De = ((Ae = $n.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
|
|
2983
2961
|
} catch {
|
|
2984
|
-
|
|
2962
|
+
De = !1;
|
|
2985
2963
|
}
|
|
2986
|
-
var
|
|
2964
|
+
var lt = An ? (
|
|
2987
2965
|
// Native
|
|
2988
2966
|
function(t, r, n) {
|
|
2989
2967
|
return t.startsWith(r, n);
|
|
@@ -2993,7 +2971,7 @@ var pt = In ? (
|
|
|
2993
2971
|
function(t, r, n) {
|
|
2994
2972
|
return t.slice(n, n + r.length) === r;
|
|
2995
2973
|
}
|
|
2996
|
-
),
|
|
2974
|
+
), Fe = Pn ? String.fromCodePoint : (
|
|
2997
2975
|
// IE11
|
|
2998
2976
|
function() {
|
|
2999
2977
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3005,9 +2983,9 @@ var pt = In ? (
|
|
|
3005
2983
|
}
|
|
3006
2984
|
return n;
|
|
3007
2985
|
}
|
|
3008
|
-
),
|
|
2986
|
+
), ct = (
|
|
3009
2987
|
// native
|
|
3010
|
-
|
|
2988
|
+
On ? Object.fromEntries : (
|
|
3011
2989
|
// Ponyfill
|
|
3012
2990
|
function(t) {
|
|
3013
2991
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3017,7 +2995,7 @@ var pt = In ? (
|
|
|
3017
2995
|
return r;
|
|
3018
2996
|
}
|
|
3019
2997
|
)
|
|
3020
|
-
),
|
|
2998
|
+
), Wt = In ? (
|
|
3021
2999
|
// Native
|
|
3022
3000
|
function(t, r) {
|
|
3023
3001
|
return t.codePointAt(r);
|
|
@@ -3031,7 +3009,7 @@ var pt = In ? (
|
|
|
3031
3009
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3032
3010
|
}
|
|
3033
3011
|
}
|
|
3034
|
-
),
|
|
3012
|
+
), Rn = Ln ? (
|
|
3035
3013
|
// Native
|
|
3036
3014
|
function(t) {
|
|
3037
3015
|
return t.trimStart();
|
|
@@ -3039,9 +3017,9 @@ var pt = In ? (
|
|
|
3039
3017
|
) : (
|
|
3040
3018
|
// Ponyfill
|
|
3041
3019
|
function(t) {
|
|
3042
|
-
return t.replace(
|
|
3020
|
+
return t.replace(Bn, "");
|
|
3043
3021
|
}
|
|
3044
|
-
),
|
|
3022
|
+
), Un = Nn ? (
|
|
3045
3023
|
// Native
|
|
3046
3024
|
function(t) {
|
|
3047
3025
|
return t.trimEnd();
|
|
@@ -3049,32 +3027,32 @@ var pt = In ? (
|
|
|
3049
3027
|
) : (
|
|
3050
3028
|
// Ponyfill
|
|
3051
3029
|
function(t) {
|
|
3052
|
-
return t.replace(
|
|
3030
|
+
return t.replace(wn, "");
|
|
3053
3031
|
}
|
|
3054
3032
|
);
|
|
3055
|
-
function
|
|
3033
|
+
function zt(e, t) {
|
|
3056
3034
|
return new RegExp(e, t);
|
|
3057
3035
|
}
|
|
3058
|
-
var
|
|
3059
|
-
if (
|
|
3060
|
-
var
|
|
3061
|
-
|
|
3036
|
+
var je;
|
|
3037
|
+
if (De) {
|
|
3038
|
+
var ft = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3039
|
+
je = function(t, r) {
|
|
3062
3040
|
var n;
|
|
3063
|
-
|
|
3064
|
-
var i =
|
|
3041
|
+
ft.lastIndex = r;
|
|
3042
|
+
var i = ft.exec(t);
|
|
3065
3043
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3066
3044
|
};
|
|
3067
3045
|
} else
|
|
3068
|
-
|
|
3046
|
+
je = function(t, r) {
|
|
3069
3047
|
for (var n = []; ; ) {
|
|
3070
|
-
var i =
|
|
3071
|
-
if (i === void 0 ||
|
|
3048
|
+
var i = Wt(t, r);
|
|
3049
|
+
if (i === void 0 || Zt(i) || jn(i))
|
|
3072
3050
|
break;
|
|
3073
3051
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3074
3052
|
}
|
|
3075
|
-
return
|
|
3053
|
+
return Fe.apply(void 0, n);
|
|
3076
3054
|
};
|
|
3077
|
-
var
|
|
3055
|
+
var Gn = (
|
|
3078
3056
|
/** @class */
|
|
3079
3057
|
function() {
|
|
3080
3058
|
function e(t, r) {
|
|
@@ -3105,7 +3083,7 @@ var jn = (
|
|
|
3105
3083
|
if (n)
|
|
3106
3084
|
break;
|
|
3107
3085
|
return this.error(d.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
|
|
3108
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3086
|
+
} else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
|
|
3109
3087
|
var s = this.parseTag(t, r);
|
|
3110
3088
|
if (s.err)
|
|
3111
3089
|
return s;
|
|
@@ -3138,7 +3116,7 @@ var jn = (
|
|
|
3138
3116
|
return o;
|
|
3139
3117
|
var s = o.val, a = this.clonePosition();
|
|
3140
3118
|
if (this.bumpIf("</")) {
|
|
3141
|
-
if (this.isEOF() || !
|
|
3119
|
+
if (this.isEOF() || !ke(this.char()))
|
|
3142
3120
|
return this.error(d.INVALID_TAG, m(a, this.clonePosition()));
|
|
3143
3121
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3144
3122
|
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3156,7 +3134,7 @@ var jn = (
|
|
|
3156
3134
|
return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
|
|
3157
3135
|
}, e.prototype.parseTagName = function() {
|
|
3158
3136
|
var t = this.offset();
|
|
3159
|
-
for (this.bump(); !this.isEOF() &&
|
|
3137
|
+
for (this.bump(); !this.isEOF() && Fn(this.char()); )
|
|
3160
3138
|
this.bump();
|
|
3161
3139
|
return this.message.slice(t, this.offset());
|
|
3162
3140
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3185,7 +3163,7 @@ var jn = (
|
|
|
3185
3163
|
};
|
|
3186
3164
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3187
3165
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3188
|
-
!
|
|
3166
|
+
!Dn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3189
3167
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3190
3168
|
if (this.isEOF() || this.char() !== 39)
|
|
3191
3169
|
return null;
|
|
@@ -3219,12 +3197,12 @@ var jn = (
|
|
|
3219
3197
|
r.push(n);
|
|
3220
3198
|
this.bump();
|
|
3221
3199
|
}
|
|
3222
|
-
return
|
|
3200
|
+
return Fe.apply(void 0, r);
|
|
3223
3201
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3224
3202
|
if (this.isEOF())
|
|
3225
3203
|
return null;
|
|
3226
3204
|
var n = this.char();
|
|
3227
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3205
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
|
|
3228
3206
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3229
3207
|
var n = this.clonePosition();
|
|
3230
3208
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3253,7 +3231,7 @@ var jn = (
|
|
|
3253
3231
|
return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
|
|
3254
3232
|
}
|
|
3255
3233
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3256
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3234
|
+
var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
|
|
3257
3235
|
this.bumpTo(i);
|
|
3258
3236
|
var o = this.clonePosition(), s = m(t, o);
|
|
3259
3237
|
return { value: n, location: s };
|
|
@@ -3272,18 +3250,18 @@ var jn = (
|
|
|
3272
3250
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3273
3251
|
if (f.err)
|
|
3274
3252
|
return f;
|
|
3275
|
-
var c =
|
|
3253
|
+
var c = Un(f.val);
|
|
3276
3254
|
if (c.length === 0)
|
|
3277
3255
|
return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
|
|
3278
3256
|
var p = m(l, this.clonePosition());
|
|
3279
3257
|
u = { style: c, styleLocation: p };
|
|
3280
3258
|
}
|
|
3281
|
-
var
|
|
3282
|
-
if (
|
|
3283
|
-
return
|
|
3259
|
+
var b = this.tryParseArgumentClose(i);
|
|
3260
|
+
if (b.err)
|
|
3261
|
+
return b;
|
|
3284
3262
|
var v = m(i, this.clonePosition());
|
|
3285
|
-
if (u &&
|
|
3286
|
-
var H =
|
|
3263
|
+
if (u && lt(u?.style, "::", 0)) {
|
|
3264
|
+
var H = Rn(u.style.slice(2));
|
|
3287
3265
|
if (a === "number") {
|
|
3288
3266
|
var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
|
|
3289
3267
|
return f.err ? f : {
|
|
@@ -3294,15 +3272,15 @@ var jn = (
|
|
|
3294
3272
|
if (H.length === 0)
|
|
3295
3273
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
|
|
3296
3274
|
var C = H;
|
|
3297
|
-
this.locale && (C =
|
|
3275
|
+
this.locale && (C = Tn(H, this.locale));
|
|
3298
3276
|
var c = {
|
|
3299
|
-
type:
|
|
3277
|
+
type: X.dateTime,
|
|
3300
3278
|
pattern: C,
|
|
3301
3279
|
location: u.styleLocation,
|
|
3302
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3303
|
-
},
|
|
3280
|
+
parsedOptions: this.shouldParseSkeletons ? gn(C) : {}
|
|
3281
|
+
}, L = a === "date" ? _.date : _.time;
|
|
3304
3282
|
return {
|
|
3305
|
-
val: { type:
|
|
3283
|
+
val: { type: L, value: n, location: v, style: c },
|
|
3306
3284
|
err: null
|
|
3307
3285
|
};
|
|
3308
3286
|
}
|
|
@@ -3320,11 +3298,11 @@ var jn = (
|
|
|
3320
3298
|
case "plural":
|
|
3321
3299
|
case "selectordinal":
|
|
3322
3300
|
case "select": {
|
|
3323
|
-
var
|
|
3301
|
+
var E = this.clonePosition();
|
|
3324
3302
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3325
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(
|
|
3303
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(E, g({}, E)));
|
|
3326
3304
|
this.bumpSpace();
|
|
3327
|
-
var $ = this.parseIdentifierIfPossible(),
|
|
3305
|
+
var $ = this.parseIdentifierIfPossible(), A = 0;
|
|
3328
3306
|
if (a !== "select" && $.value === "offset") {
|
|
3329
3307
|
if (!this.bumpIf(":"))
|
|
3330
3308
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
|
|
@@ -3332,31 +3310,31 @@ var jn = (
|
|
|
3332
3310
|
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3333
3311
|
if (f.err)
|
|
3334
3312
|
return f;
|
|
3335
|
-
this.bumpSpace(), $ = this.parseIdentifierIfPossible(),
|
|
3313
|
+
this.bumpSpace(), $ = this.parseIdentifierIfPossible(), A = f.val;
|
|
3336
3314
|
}
|
|
3337
|
-
var
|
|
3338
|
-
if (
|
|
3339
|
-
return
|
|
3340
|
-
var
|
|
3341
|
-
if (
|
|
3342
|
-
return
|
|
3343
|
-
var
|
|
3315
|
+
var U = this.tryParsePluralOrSelectOptions(t, a, r, $);
|
|
3316
|
+
if (U.err)
|
|
3317
|
+
return U;
|
|
3318
|
+
var b = this.tryParseArgumentClose(i);
|
|
3319
|
+
if (b.err)
|
|
3320
|
+
return b;
|
|
3321
|
+
var ae = m(i, this.clonePosition());
|
|
3344
3322
|
return a === "select" ? {
|
|
3345
3323
|
val: {
|
|
3346
3324
|
type: _.select,
|
|
3347
3325
|
value: n,
|
|
3348
|
-
options:
|
|
3349
|
-
location:
|
|
3326
|
+
options: ct(U.val),
|
|
3327
|
+
location: ae
|
|
3350
3328
|
},
|
|
3351
3329
|
err: null
|
|
3352
3330
|
} : {
|
|
3353
3331
|
val: {
|
|
3354
3332
|
type: _.plural,
|
|
3355
3333
|
value: n,
|
|
3356
|
-
options:
|
|
3357
|
-
offset:
|
|
3334
|
+
options: ct(U.val),
|
|
3335
|
+
offset: A,
|
|
3358
3336
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3359
|
-
location:
|
|
3337
|
+
location: ae
|
|
3360
3338
|
},
|
|
3361
3339
|
err: null
|
|
3362
3340
|
};
|
|
@@ -3404,16 +3382,16 @@ var jn = (
|
|
|
3404
3382
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3405
3383
|
var n = [];
|
|
3406
3384
|
try {
|
|
3407
|
-
n =
|
|
3385
|
+
n = vn(t);
|
|
3408
3386
|
} catch {
|
|
3409
3387
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3410
3388
|
}
|
|
3411
3389
|
return {
|
|
3412
3390
|
val: {
|
|
3413
|
-
type:
|
|
3391
|
+
type: X.number,
|
|
3414
3392
|
tokens: n,
|
|
3415
3393
|
location: r,
|
|
3416
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3394
|
+
parsedOptions: this.shouldParseSkeletons ? Sn(n) : {}
|
|
3417
3395
|
},
|
|
3418
3396
|
err: null
|
|
3419
3397
|
};
|
|
@@ -3435,16 +3413,16 @@ var jn = (
|
|
|
3435
3413
|
var p = this.clonePosition();
|
|
3436
3414
|
if (!this.bumpIf("{"))
|
|
3437
3415
|
return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
|
|
3438
|
-
var
|
|
3439
|
-
if (
|
|
3440
|
-
return
|
|
3416
|
+
var b = this.parseMessage(t + 1, r, n);
|
|
3417
|
+
if (b.err)
|
|
3418
|
+
return b;
|
|
3441
3419
|
var v = this.tryParseArgumentClose(p);
|
|
3442
3420
|
if (v.err)
|
|
3443
3421
|
return v;
|
|
3444
3422
|
a.push([
|
|
3445
3423
|
u,
|
|
3446
3424
|
{
|
|
3447
|
-
value:
|
|
3425
|
+
value: b.val,
|
|
3448
3426
|
location: m(p, this.clonePosition())
|
|
3449
3427
|
}
|
|
3450
3428
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
@@ -3461,7 +3439,7 @@ var jn = (
|
|
|
3461
3439
|
break;
|
|
3462
3440
|
}
|
|
3463
3441
|
var h = m(i, this.clonePosition());
|
|
3464
|
-
return o ? (s *= n,
|
|
3442
|
+
return o ? (s *= n, Cn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3465
3443
|
}, e.prototype.offset = function() {
|
|
3466
3444
|
return this.position.offset;
|
|
3467
3445
|
}, e.prototype.isEOF = function() {
|
|
@@ -3476,7 +3454,7 @@ var jn = (
|
|
|
3476
3454
|
var t = this.position.offset;
|
|
3477
3455
|
if (t >= this.message.length)
|
|
3478
3456
|
throw Error("out of bound");
|
|
3479
|
-
var r =
|
|
3457
|
+
var r = Wt(this.message, t);
|
|
3480
3458
|
if (r === void 0)
|
|
3481
3459
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3482
3460
|
return r;
|
|
@@ -3495,7 +3473,7 @@ var jn = (
|
|
|
3495
3473
|
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);
|
|
3496
3474
|
}
|
|
3497
3475
|
}, e.prototype.bumpIf = function(t) {
|
|
3498
|
-
if (
|
|
3476
|
+
if (lt(this.message, t, this.offset())) {
|
|
3499
3477
|
for (var r = 0; r < t.length; r++)
|
|
3500
3478
|
this.bump();
|
|
3501
3479
|
return !0;
|
|
@@ -3517,7 +3495,7 @@ var jn = (
|
|
|
3517
3495
|
break;
|
|
3518
3496
|
}
|
|
3519
3497
|
}, e.prototype.bumpSpace = function() {
|
|
3520
|
-
for (; !this.isEOF() &&
|
|
3498
|
+
for (; !this.isEOF() && Zt(this.char()); )
|
|
3521
3499
|
this.bump();
|
|
3522
3500
|
}, e.prototype.peek = function() {
|
|
3523
3501
|
if (this.isEOF())
|
|
@@ -3527,46 +3505,46 @@ var jn = (
|
|
|
3527
3505
|
}, e;
|
|
3528
3506
|
}()
|
|
3529
3507
|
);
|
|
3530
|
-
function
|
|
3508
|
+
function ke(e) {
|
|
3531
3509
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3532
3510
|
}
|
|
3533
|
-
function
|
|
3534
|
-
return
|
|
3511
|
+
function Dn(e) {
|
|
3512
|
+
return ke(e) || e === 47;
|
|
3535
3513
|
}
|
|
3536
|
-
function
|
|
3514
|
+
function Fn(e) {
|
|
3537
3515
|
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;
|
|
3538
3516
|
}
|
|
3539
|
-
function
|
|
3517
|
+
function Zt(e) {
|
|
3540
3518
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3541
3519
|
}
|
|
3542
|
-
function
|
|
3520
|
+
function jn(e) {
|
|
3543
3521
|
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;
|
|
3544
3522
|
}
|
|
3545
|
-
function
|
|
3523
|
+
function Ve(e) {
|
|
3546
3524
|
e.forEach(function(t) {
|
|
3547
|
-
if (delete t.location,
|
|
3525
|
+
if (delete t.location, Ut(t) || Gt(t))
|
|
3548
3526
|
for (var r in t.options)
|
|
3549
|
-
delete t.options[r].location,
|
|
3550
|
-
else
|
|
3527
|
+
delete t.options[r].location, Ve(t.options[r].value);
|
|
3528
|
+
else Ct(t) && Ft(t.style) || ($t(t) || Rt(t)) && Ge(t.style) ? delete t.style.location : Dt(t) && Ve(t.children);
|
|
3551
3529
|
});
|
|
3552
3530
|
}
|
|
3553
|
-
function
|
|
3531
|
+
function kn(e, t) {
|
|
3554
3532
|
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3555
|
-
var r = new
|
|
3533
|
+
var r = new Gn(e, t).parse();
|
|
3556
3534
|
if (r.err) {
|
|
3557
3535
|
var n = SyntaxError(d[r.err.kind]);
|
|
3558
3536
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3559
3537
|
}
|
|
3560
|
-
return t?.captureLocation ||
|
|
3538
|
+
return t?.captureLocation || Ve(r.val), r.val;
|
|
3561
3539
|
}
|
|
3562
|
-
var
|
|
3540
|
+
var W;
|
|
3563
3541
|
(function(e) {
|
|
3564
3542
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3565
|
-
})(
|
|
3566
|
-
var
|
|
3543
|
+
})(W || (W = {}));
|
|
3544
|
+
var _e = (
|
|
3567
3545
|
/** @class */
|
|
3568
3546
|
function(e) {
|
|
3569
|
-
|
|
3547
|
+
I(t, e);
|
|
3570
3548
|
function t(r, n, i) {
|
|
3571
3549
|
var o = e.call(this, r) || this;
|
|
3572
3550
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3575,155 +3553,155 @@ var Ee = (
|
|
|
3575
3553
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3576
3554
|
}, t;
|
|
3577
3555
|
}(Error)
|
|
3578
|
-
),
|
|
3556
|
+
), pt = (
|
|
3579
3557
|
/** @class */
|
|
3580
3558
|
function(e) {
|
|
3581
|
-
|
|
3559
|
+
I(t, e);
|
|
3582
3560
|
function t(r, n, i, o) {
|
|
3583
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3561
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
|
|
3584
3562
|
}
|
|
3585
3563
|
return t;
|
|
3586
|
-
}(
|
|
3587
|
-
),
|
|
3564
|
+
}(_e)
|
|
3565
|
+
), Vn = (
|
|
3588
3566
|
/** @class */
|
|
3589
3567
|
function(e) {
|
|
3590
|
-
|
|
3568
|
+
I(t, e);
|
|
3591
3569
|
function t(r, n, i) {
|
|
3592
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3570
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
|
|
3593
3571
|
}
|
|
3594
3572
|
return t;
|
|
3595
|
-
}(
|
|
3596
|
-
),
|
|
3573
|
+
}(_e)
|
|
3574
|
+
), Xn = (
|
|
3597
3575
|
/** @class */
|
|
3598
3576
|
function(e) {
|
|
3599
|
-
|
|
3577
|
+
I(t, e);
|
|
3600
3578
|
function t(r, n) {
|
|
3601
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3579
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
|
|
3602
3580
|
}
|
|
3603
3581
|
return t;
|
|
3604
|
-
}(
|
|
3605
|
-
),
|
|
3582
|
+
}(_e)
|
|
3583
|
+
), x;
|
|
3606
3584
|
(function(e) {
|
|
3607
3585
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3608
|
-
})(
|
|
3609
|
-
function
|
|
3586
|
+
})(x || (x = {}));
|
|
3587
|
+
function Wn(e) {
|
|
3610
3588
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3611
3589
|
var n = t[t.length - 1];
|
|
3612
|
-
return !n || n.type !==
|
|
3590
|
+
return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
|
|
3613
3591
|
}, []);
|
|
3614
3592
|
}
|
|
3615
|
-
function
|
|
3593
|
+
function zn(e) {
|
|
3616
3594
|
return typeof e == "function";
|
|
3617
3595
|
}
|
|
3618
|
-
function
|
|
3619
|
-
if (e.length === 1 &&
|
|
3596
|
+
function pe(e, t, r, n, i, o, s) {
|
|
3597
|
+
if (e.length === 1 && st(e[0]))
|
|
3620
3598
|
return [
|
|
3621
3599
|
{
|
|
3622
|
-
type:
|
|
3600
|
+
type: x.literal,
|
|
3623
3601
|
value: e[0].value
|
|
3624
3602
|
}
|
|
3625
3603
|
];
|
|
3626
3604
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3627
3605
|
var l = u[h];
|
|
3628
|
-
if (
|
|
3606
|
+
if (st(l)) {
|
|
3629
3607
|
a.push({
|
|
3630
|
-
type:
|
|
3608
|
+
type: x.literal,
|
|
3631
3609
|
value: l.value
|
|
3632
3610
|
});
|
|
3633
3611
|
continue;
|
|
3634
3612
|
}
|
|
3635
|
-
if (
|
|
3613
|
+
if (mn(l)) {
|
|
3636
3614
|
typeof o == "number" && a.push({
|
|
3637
|
-
type:
|
|
3615
|
+
type: x.literal,
|
|
3638
3616
|
value: r.getNumberFormat(t).format(o)
|
|
3639
3617
|
});
|
|
3640
3618
|
continue;
|
|
3641
3619
|
}
|
|
3642
3620
|
var f = l.value;
|
|
3643
3621
|
if (!(i && f in i))
|
|
3644
|
-
throw new
|
|
3622
|
+
throw new Xn(f, s);
|
|
3645
3623
|
var c = i[f];
|
|
3646
|
-
if (
|
|
3624
|
+
if (dn(l)) {
|
|
3647
3625
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3648
|
-
type: typeof c == "string" ?
|
|
3626
|
+
type: typeof c == "string" ? x.literal : x.object,
|
|
3649
3627
|
value: c
|
|
3650
3628
|
});
|
|
3651
3629
|
continue;
|
|
3652
3630
|
}
|
|
3653
|
-
if (
|
|
3631
|
+
if ($t(l)) {
|
|
3654
3632
|
var p = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
|
|
3655
3633
|
a.push({
|
|
3656
|
-
type:
|
|
3634
|
+
type: x.literal,
|
|
3657
3635
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3658
3636
|
});
|
|
3659
3637
|
continue;
|
|
3660
3638
|
}
|
|
3661
|
-
if (
|
|
3639
|
+
if (Rt(l)) {
|
|
3662
3640
|
var p = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3663
3641
|
a.push({
|
|
3664
|
-
type:
|
|
3642
|
+
type: x.literal,
|
|
3665
3643
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3666
3644
|
});
|
|
3667
3645
|
continue;
|
|
3668
3646
|
}
|
|
3669
|
-
if (
|
|
3670
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3647
|
+
if (Ct(l)) {
|
|
3648
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Ft(l.style) ? l.style.parsedOptions : void 0;
|
|
3671
3649
|
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3672
|
-
type:
|
|
3650
|
+
type: x.literal,
|
|
3673
3651
|
value: r.getNumberFormat(t, p).format(c)
|
|
3674
3652
|
});
|
|
3675
3653
|
continue;
|
|
3676
3654
|
}
|
|
3677
|
-
if (
|
|
3678
|
-
var
|
|
3679
|
-
if (!
|
|
3680
|
-
throw new
|
|
3681
|
-
var C =
|
|
3682
|
-
return
|
|
3655
|
+
if (Dt(l)) {
|
|
3656
|
+
var b = l.children, v = l.value, H = i[v];
|
|
3657
|
+
if (!zn(H))
|
|
3658
|
+
throw new Vn(v, "function", s);
|
|
3659
|
+
var C = pe(b, t, r, n, i, o), L = H(C.map(function(A) {
|
|
3660
|
+
return A.value;
|
|
3683
3661
|
}));
|
|
3684
|
-
Array.isArray(
|
|
3662
|
+
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(A) {
|
|
3685
3663
|
return {
|
|
3686
|
-
type: typeof
|
|
3687
|
-
value:
|
|
3664
|
+
type: typeof A == "string" ? x.literal : x.object,
|
|
3665
|
+
value: A
|
|
3688
3666
|
};
|
|
3689
3667
|
}));
|
|
3690
3668
|
}
|
|
3691
|
-
if (
|
|
3692
|
-
var
|
|
3693
|
-
if (!
|
|
3694
|
-
throw new
|
|
3695
|
-
a.push.apply(a,
|
|
3669
|
+
if (Ut(l)) {
|
|
3670
|
+
var E = l.options[c] || l.options.other;
|
|
3671
|
+
if (!E)
|
|
3672
|
+
throw new pt(l.value, c, Object.keys(l.options), s);
|
|
3673
|
+
a.push.apply(a, pe(E.value, t, r, n, i));
|
|
3696
3674
|
continue;
|
|
3697
3675
|
}
|
|
3698
|
-
if (
|
|
3699
|
-
var
|
|
3700
|
-
if (!
|
|
3676
|
+
if (Gt(l)) {
|
|
3677
|
+
var E = l.options["=".concat(c)];
|
|
3678
|
+
if (!E) {
|
|
3701
3679
|
if (!Intl.PluralRules)
|
|
3702
|
-
throw new
|
|
3680
|
+
throw new _e(`Intl.PluralRules is not available in this environment.
|
|
3703
3681
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3704
|
-
`,
|
|
3682
|
+
`, W.MISSING_INTL_API, s);
|
|
3705
3683
|
var $ = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3706
|
-
|
|
3684
|
+
E = l.options[$] || l.options.other;
|
|
3707
3685
|
}
|
|
3708
|
-
if (!
|
|
3709
|
-
throw new
|
|
3710
|
-
a.push.apply(a,
|
|
3686
|
+
if (!E)
|
|
3687
|
+
throw new pt(l.value, c, Object.keys(l.options), s);
|
|
3688
|
+
a.push.apply(a, pe(E.value, t, r, n, i, c - (l.offset || 0)));
|
|
3711
3689
|
continue;
|
|
3712
3690
|
}
|
|
3713
3691
|
}
|
|
3714
|
-
return
|
|
3692
|
+
return Wn(a);
|
|
3715
3693
|
}
|
|
3716
|
-
function
|
|
3694
|
+
function Zn(e, t) {
|
|
3717
3695
|
return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3718
3696
|
return r[n] = g(g({}, e[n]), t[n] || {}), r;
|
|
3719
3697
|
}, {})) : e;
|
|
3720
3698
|
}
|
|
3721
|
-
function
|
|
3699
|
+
function Qn(e, t) {
|
|
3722
3700
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3723
|
-
return r[n] =
|
|
3701
|
+
return r[n] = Zn(e[n], t[n]), r;
|
|
3724
3702
|
}, g({}, e)) : e;
|
|
3725
3703
|
}
|
|
3726
|
-
function
|
|
3704
|
+
function Pe(e) {
|
|
3727
3705
|
return {
|
|
3728
3706
|
create: function() {
|
|
3729
3707
|
return {
|
|
@@ -3737,39 +3715,39 @@ function Oe(e) {
|
|
|
3737
3715
|
}
|
|
3738
3716
|
};
|
|
3739
3717
|
}
|
|
3740
|
-
function
|
|
3718
|
+
function qn(e) {
|
|
3741
3719
|
return e === void 0 && (e = {
|
|
3742
3720
|
number: {},
|
|
3743
3721
|
dateTime: {},
|
|
3744
3722
|
pluralRules: {}
|
|
3745
3723
|
}), {
|
|
3746
|
-
getNumberFormat:
|
|
3724
|
+
getNumberFormat: Be(function() {
|
|
3747
3725
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3748
3726
|
r[n] = arguments[n];
|
|
3749
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3727
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
|
|
3750
3728
|
}, {
|
|
3751
|
-
cache:
|
|
3729
|
+
cache: Pe(e.number),
|
|
3752
3730
|
strategy: we.variadic
|
|
3753
3731
|
}),
|
|
3754
|
-
getDateTimeFormat:
|
|
3732
|
+
getDateTimeFormat: Be(function() {
|
|
3755
3733
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3756
3734
|
r[n] = arguments[n];
|
|
3757
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3735
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
|
|
3758
3736
|
}, {
|
|
3759
|
-
cache:
|
|
3737
|
+
cache: Pe(e.dateTime),
|
|
3760
3738
|
strategy: we.variadic
|
|
3761
3739
|
}),
|
|
3762
|
-
getPluralRules:
|
|
3740
|
+
getPluralRules: Be(function() {
|
|
3763
3741
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3764
3742
|
r[n] = arguments[n];
|
|
3765
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3743
|
+
return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
|
|
3766
3744
|
}, {
|
|
3767
|
-
cache:
|
|
3745
|
+
cache: Pe(e.pluralRules),
|
|
3768
3746
|
strategy: we.variadic
|
|
3769
3747
|
})
|
|
3770
3748
|
};
|
|
3771
3749
|
}
|
|
3772
|
-
var
|
|
3750
|
+
var Jn = (
|
|
3773
3751
|
/** @class */
|
|
3774
3752
|
function() {
|
|
3775
3753
|
function e(t, r, n, i) {
|
|
@@ -3784,11 +3762,11 @@ var ei = (
|
|
|
3784
3762
|
if (u.length === 1)
|
|
3785
3763
|
return u[0].value;
|
|
3786
3764
|
var l = u.reduce(function(f, c) {
|
|
3787
|
-
return !f.length || c.type !==
|
|
3765
|
+
return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3788
3766
|
}, []);
|
|
3789
3767
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3790
3768
|
}, this.formatToParts = function(h) {
|
|
3791
|
-
return
|
|
3769
|
+
return pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3792
3770
|
}, this.resolvedOptions = function() {
|
|
3793
3771
|
var h;
|
|
3794
3772
|
return {
|
|
@@ -3801,13 +3779,13 @@ var ei = (
|
|
|
3801
3779
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3802
3780
|
var s = i || {};
|
|
3803
3781
|
s.formatters;
|
|
3804
|
-
var a =
|
|
3782
|
+
var a = Ar(s, ["formatters"]);
|
|
3805
3783
|
this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
|
|
3806
3784
|
} else
|
|
3807
3785
|
this.ast = t;
|
|
3808
3786
|
if (!Array.isArray(this.ast))
|
|
3809
3787
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3810
|
-
this.formats =
|
|
3788
|
+
this.formats = Qn(e.formats, n), this.formatters = i && i.formatters || qn(this.formatterCache);
|
|
3811
3789
|
}
|
|
3812
3790
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3813
3791
|
get: function() {
|
|
@@ -3820,7 +3798,7 @@ var ei = (
|
|
|
3820
3798
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3821
3799
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3822
3800
|
}
|
|
3823
|
-
}, e.__parse =
|
|
3801
|
+
}, e.__parse = kn, e.formats = {
|
|
3824
3802
|
number: {
|
|
3825
3803
|
integer: {
|
|
3826
3804
|
maximumFractionDigits: 0
|
|
@@ -3881,7 +3859,7 @@ var ei = (
|
|
|
3881
3859
|
}, e;
|
|
3882
3860
|
}()
|
|
3883
3861
|
);
|
|
3884
|
-
function
|
|
3862
|
+
function Yn(e, t) {
|
|
3885
3863
|
if (t == null)
|
|
3886
3864
|
return;
|
|
3887
3865
|
if (t in e)
|
|
@@ -3902,92 +3880,92 @@ function ti(e, t) {
|
|
|
3902
3880
|
n = void 0;
|
|
3903
3881
|
return n;
|
|
3904
3882
|
}
|
|
3905
|
-
const M = {},
|
|
3883
|
+
const M = {}, Kn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Qt = (e, t) => {
|
|
3906
3884
|
if (t == null)
|
|
3907
3885
|
return;
|
|
3908
3886
|
if (t in M && e in M[t])
|
|
3909
3887
|
return M[t][e];
|
|
3910
3888
|
const r = xe(t);
|
|
3911
3889
|
for (let n = 0; n < r.length; n++) {
|
|
3912
|
-
const i = r[n], o =
|
|
3890
|
+
const i = r[n], o = ti(i, e);
|
|
3913
3891
|
if (o)
|
|
3914
|
-
return
|
|
3892
|
+
return Kn(e, t, o);
|
|
3915
3893
|
}
|
|
3916
3894
|
};
|
|
3917
|
-
let
|
|
3918
|
-
const
|
|
3919
|
-
function
|
|
3920
|
-
return
|
|
3895
|
+
let Ze;
|
|
3896
|
+
const se = ve({});
|
|
3897
|
+
function ei(e) {
|
|
3898
|
+
return Ze[e] || null;
|
|
3921
3899
|
}
|
|
3922
|
-
function
|
|
3923
|
-
return e in
|
|
3900
|
+
function qt(e) {
|
|
3901
|
+
return e in Ze;
|
|
3924
3902
|
}
|
|
3925
|
-
function
|
|
3926
|
-
if (!
|
|
3903
|
+
function ti(e, t) {
|
|
3904
|
+
if (!qt(e))
|
|
3927
3905
|
return null;
|
|
3928
|
-
const r =
|
|
3929
|
-
return
|
|
3906
|
+
const r = ei(e);
|
|
3907
|
+
return Yn(r, t);
|
|
3930
3908
|
}
|
|
3931
|
-
function
|
|
3909
|
+
function ri(e) {
|
|
3932
3910
|
if (e == null)
|
|
3933
3911
|
return;
|
|
3934
3912
|
const t = xe(e);
|
|
3935
3913
|
for (let r = 0; r < t.length; r++) {
|
|
3936
3914
|
const n = t[r];
|
|
3937
|
-
if (
|
|
3915
|
+
if (qt(n))
|
|
3938
3916
|
return n;
|
|
3939
3917
|
}
|
|
3940
3918
|
}
|
|
3941
|
-
function
|
|
3942
|
-
delete M[e],
|
|
3919
|
+
function Jt(e, ...t) {
|
|
3920
|
+
delete M[e], se.update((r) => (r[e] = sn.all([r[e] || {}, ...t]), r));
|
|
3943
3921
|
}
|
|
3944
|
-
|
|
3945
|
-
[
|
|
3922
|
+
Q(
|
|
3923
|
+
[se],
|
|
3946
3924
|
([e]) => Object.keys(e)
|
|
3947
3925
|
);
|
|
3948
|
-
|
|
3949
|
-
const
|
|
3950
|
-
function
|
|
3951
|
-
|
|
3926
|
+
se.subscribe((e) => Ze = e);
|
|
3927
|
+
const de = {};
|
|
3928
|
+
function ni(e, t) {
|
|
3929
|
+
de[e].delete(t), de[e].size === 0 && delete de[e];
|
|
3952
3930
|
}
|
|
3953
|
-
function
|
|
3954
|
-
return
|
|
3931
|
+
function Yt(e) {
|
|
3932
|
+
return de[e];
|
|
3955
3933
|
}
|
|
3956
|
-
function
|
|
3934
|
+
function ii(e) {
|
|
3957
3935
|
return xe(e).map((t) => {
|
|
3958
|
-
const r =
|
|
3936
|
+
const r = Yt(t);
|
|
3959
3937
|
return [t, r ? [...r] : []];
|
|
3960
3938
|
}).filter(([, t]) => t.length > 0);
|
|
3961
3939
|
}
|
|
3962
|
-
function
|
|
3940
|
+
function Xe(e) {
|
|
3963
3941
|
return e == null ? !1 : xe(e).some(
|
|
3964
3942
|
(t) => {
|
|
3965
3943
|
var r;
|
|
3966
|
-
return (r =
|
|
3944
|
+
return (r = Yt(t)) == null ? void 0 : r.size;
|
|
3967
3945
|
}
|
|
3968
3946
|
);
|
|
3969
3947
|
}
|
|
3970
|
-
function
|
|
3948
|
+
function oi(e, t) {
|
|
3971
3949
|
return Promise.all(
|
|
3972
|
-
t.map((n) => (
|
|
3973
|
-
).then((n) =>
|
|
3974
|
-
}
|
|
3975
|
-
const
|
|
3976
|
-
function
|
|
3977
|
-
if (!
|
|
3978
|
-
return e in
|
|
3979
|
-
const t =
|
|
3980
|
-
return
|
|
3950
|
+
t.map((n) => (ni(e, n), n().then((i) => i.default || i)))
|
|
3951
|
+
).then((n) => Jt(e, ...n));
|
|
3952
|
+
}
|
|
3953
|
+
const K = {};
|
|
3954
|
+
function Kt(e) {
|
|
3955
|
+
if (!Xe(e))
|
|
3956
|
+
return e in K ? K[e] : Promise.resolve();
|
|
3957
|
+
const t = ii(e);
|
|
3958
|
+
return K[e] = Promise.all(
|
|
3981
3959
|
t.map(
|
|
3982
|
-
([r, n]) =>
|
|
3960
|
+
([r, n]) => oi(r, n)
|
|
3983
3961
|
)
|
|
3984
3962
|
).then(() => {
|
|
3985
|
-
if (
|
|
3986
|
-
return
|
|
3987
|
-
delete
|
|
3988
|
-
}),
|
|
3963
|
+
if (Xe(e))
|
|
3964
|
+
return Kt(e);
|
|
3965
|
+
delete K[e];
|
|
3966
|
+
}), K[e];
|
|
3989
3967
|
}
|
|
3990
|
-
const
|
|
3968
|
+
const si = {
|
|
3991
3969
|
number: {
|
|
3992
3970
|
scientific: { notation: "scientific" },
|
|
3993
3971
|
engineering: { notation: "engineering" },
|
|
@@ -4016,150 +3994,150 @@ const hi = {
|
|
|
4016
3994
|
timeZoneName: "short"
|
|
4017
3995
|
}
|
|
4018
3996
|
}
|
|
4019
|
-
},
|
|
3997
|
+
}, ai = {
|
|
4020
3998
|
fallbackLocale: null,
|
|
4021
3999
|
loadingDelay: 200,
|
|
4022
|
-
formats:
|
|
4000
|
+
formats: si,
|
|
4023
4001
|
warnOnMissingMessages: !0,
|
|
4024
4002
|
handleMissingMessage: void 0,
|
|
4025
4003
|
ignoreTag: !0
|
|
4026
|
-
},
|
|
4027
|
-
function
|
|
4028
|
-
return
|
|
4004
|
+
}, ui = ai;
|
|
4005
|
+
function z() {
|
|
4006
|
+
return ui;
|
|
4029
4007
|
}
|
|
4030
|
-
const
|
|
4031
|
-
var
|
|
4008
|
+
const Oe = ve(!1);
|
|
4009
|
+
var hi = Object.defineProperty, li = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, fi = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, di = (e, t) => {
|
|
4032
4010
|
for (var r in t || (t = {}))
|
|
4033
|
-
|
|
4034
|
-
if (
|
|
4035
|
-
for (var r of
|
|
4036
|
-
|
|
4011
|
+
fi.call(t, r) && mt(e, r, t[r]);
|
|
4012
|
+
if (dt)
|
|
4013
|
+
for (var r of dt(t))
|
|
4014
|
+
pi.call(t, r) && mt(e, r, t[r]);
|
|
4037
4015
|
return e;
|
|
4038
|
-
},
|
|
4039
|
-
let
|
|
4040
|
-
const
|
|
4041
|
-
function
|
|
4016
|
+
}, mi = (e, t) => li(e, ci(t));
|
|
4017
|
+
let We;
|
|
4018
|
+
const me = ve(null);
|
|
4019
|
+
function bt(e) {
|
|
4042
4020
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4043
4021
|
}
|
|
4044
|
-
function xe(e, t =
|
|
4045
|
-
const r =
|
|
4046
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4022
|
+
function xe(e, t = z().fallbackLocale) {
|
|
4023
|
+
const r = bt(e);
|
|
4024
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
|
|
4047
4025
|
}
|
|
4048
|
-
function
|
|
4049
|
-
return
|
|
4026
|
+
function R() {
|
|
4027
|
+
return We ?? void 0;
|
|
4050
4028
|
}
|
|
4051
|
-
|
|
4052
|
-
|
|
4029
|
+
me.subscribe((e) => {
|
|
4030
|
+
We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4053
4031
|
});
|
|
4054
|
-
const
|
|
4055
|
-
if (e &&
|
|
4056
|
-
const { loadingDelay: t } =
|
|
4032
|
+
const bi = (e) => {
|
|
4033
|
+
if (e && ri(e) && Xe(e)) {
|
|
4034
|
+
const { loadingDelay: t } = z();
|
|
4057
4035
|
let r;
|
|
4058
|
-
return typeof window < "u" &&
|
|
4059
|
-
() =>
|
|
4036
|
+
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
4037
|
+
() => Oe.set(!0),
|
|
4060
4038
|
t
|
|
4061
|
-
) :
|
|
4062
|
-
|
|
4039
|
+
) : Oe.set(!0), Kt(e).then(() => {
|
|
4040
|
+
me.set(e);
|
|
4063
4041
|
}).finally(() => {
|
|
4064
|
-
clearTimeout(r),
|
|
4042
|
+
clearTimeout(r), Oe.set(!1);
|
|
4065
4043
|
});
|
|
4066
4044
|
}
|
|
4067
|
-
return
|
|
4068
|
-
},
|
|
4069
|
-
set:
|
|
4070
|
-
}),
|
|
4045
|
+
return me.set(e);
|
|
4046
|
+
}, q = mi(di({}, me), {
|
|
4047
|
+
set: bi
|
|
4048
|
+
}), Ee = (e) => {
|
|
4071
4049
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4072
4050
|
return (n) => {
|
|
4073
4051
|
const i = JSON.stringify(n);
|
|
4074
4052
|
return i in t ? t[i] : t[i] = e(n);
|
|
4075
4053
|
};
|
|
4076
4054
|
};
|
|
4077
|
-
var
|
|
4055
|
+
var gi = Object.defineProperty, be = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
|
|
4078
4056
|
for (var r in t || (t = {}))
|
|
4079
|
-
|
|
4080
|
-
if (
|
|
4081
|
-
for (var r of
|
|
4082
|
-
|
|
4057
|
+
er.call(t, r) && gt(e, r, t[r]);
|
|
4058
|
+
if (be)
|
|
4059
|
+
for (var r of be(t))
|
|
4060
|
+
tr.call(t, r) && gt(e, r, t[r]);
|
|
4083
4061
|
return e;
|
|
4084
|
-
},
|
|
4062
|
+
}, J = (e, t) => {
|
|
4085
4063
|
var r = {};
|
|
4086
4064
|
for (var n in e)
|
|
4087
|
-
|
|
4088
|
-
if (e != null &&
|
|
4089
|
-
for (var n of
|
|
4090
|
-
t.indexOf(n) < 0 &&
|
|
4065
|
+
er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4066
|
+
if (e != null && be)
|
|
4067
|
+
for (var n of be(e))
|
|
4068
|
+
t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
|
|
4091
4069
|
return r;
|
|
4092
4070
|
};
|
|
4093
|
-
const
|
|
4094
|
-
const { formats: r } =
|
|
4071
|
+
const ne = (e, t) => {
|
|
4072
|
+
const { formats: r } = z();
|
|
4095
4073
|
if (e in r && t in r[e])
|
|
4096
4074
|
return r[e][t];
|
|
4097
4075
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4098
|
-
},
|
|
4076
|
+
}, yi = Ee(
|
|
4099
4077
|
(e) => {
|
|
4100
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4078
|
+
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4101
4079
|
if (r == null)
|
|
4102
4080
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4103
|
-
return n && (i =
|
|
4081
|
+
return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
|
|
4104
4082
|
}
|
|
4105
|
-
),
|
|
4083
|
+
), vi = Ee(
|
|
4106
4084
|
(e) => {
|
|
4107
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4085
|
+
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4108
4086
|
if (r == null)
|
|
4109
4087
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4110
|
-
return n ? i =
|
|
4088
|
+
return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4111
4089
|
}
|
|
4112
|
-
),
|
|
4090
|
+
), _i = Ee(
|
|
4113
4091
|
(e) => {
|
|
4114
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4092
|
+
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4115
4093
|
if (r == null)
|
|
4116
4094
|
throw new Error(
|
|
4117
4095
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4118
4096
|
);
|
|
4119
|
-
return n ? i =
|
|
4097
|
+
return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4120
4098
|
}
|
|
4121
|
-
),
|
|
4099
|
+
), xi = (e = {}) => {
|
|
4122
4100
|
var t = e, {
|
|
4123
|
-
locale: r =
|
|
4124
|
-
} = t, n =
|
|
4101
|
+
locale: r = R()
|
|
4102
|
+
} = t, n = J(t, [
|
|
4125
4103
|
"locale"
|
|
4126
4104
|
]);
|
|
4127
|
-
return
|
|
4128
|
-
},
|
|
4105
|
+
return yi(Qe({ locale: r }, n));
|
|
4106
|
+
}, Ei = (e = {}) => {
|
|
4129
4107
|
var t = e, {
|
|
4130
|
-
locale: r =
|
|
4131
|
-
} = t, n =
|
|
4108
|
+
locale: r = R()
|
|
4109
|
+
} = t, n = J(t, [
|
|
4132
4110
|
"locale"
|
|
4133
4111
|
]);
|
|
4134
|
-
return
|
|
4135
|
-
},
|
|
4112
|
+
return vi(Qe({ locale: r }, n));
|
|
4113
|
+
}, Si = (e = {}) => {
|
|
4136
4114
|
var t = e, {
|
|
4137
|
-
locale: r =
|
|
4138
|
-
} = t, n =
|
|
4115
|
+
locale: r = R()
|
|
4116
|
+
} = t, n = J(t, [
|
|
4139
4117
|
"locale"
|
|
4140
4118
|
]);
|
|
4141
|
-
return
|
|
4142
|
-
},
|
|
4119
|
+
return _i(Qe({ locale: r }, n));
|
|
4120
|
+
}, Ti = Ee(
|
|
4143
4121
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4144
|
-
(e, t =
|
|
4145
|
-
ignoreTag:
|
|
4122
|
+
(e, t = R()) => new Jn(e, t, z().formats, {
|
|
4123
|
+
ignoreTag: z().ignoreTag
|
|
4146
4124
|
})
|
|
4147
|
-
),
|
|
4125
|
+
), Hi = (e, t = {}) => {
|
|
4148
4126
|
var r, n, i, o;
|
|
4149
4127
|
let s = t;
|
|
4150
4128
|
typeof e == "object" && (s = e, e = s.id);
|
|
4151
4129
|
const {
|
|
4152
4130
|
values: a,
|
|
4153
|
-
locale: h =
|
|
4131
|
+
locale: h = R(),
|
|
4154
4132
|
default: u
|
|
4155
4133
|
} = s;
|
|
4156
4134
|
if (h == null)
|
|
4157
4135
|
throw new Error(
|
|
4158
4136
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4159
4137
|
);
|
|
4160
|
-
let l =
|
|
4138
|
+
let l = Qt(e, h);
|
|
4161
4139
|
if (!l)
|
|
4162
|
-
l = (o = (i = (n = (r =
|
|
4140
|
+
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;
|
|
4163
4141
|
else if (typeof l != "string")
|
|
4164
4142
|
return console.warn(
|
|
4165
4143
|
`[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.`
|
|
@@ -4168,7 +4146,7 @@ const ie = (e, t) => {
|
|
|
4168
4146
|
return l;
|
|
4169
4147
|
let f = l;
|
|
4170
4148
|
try {
|
|
4171
|
-
f =
|
|
4149
|
+
f = Ti(l, h).format(a);
|
|
4172
4150
|
} catch (c) {
|
|
4173
4151
|
c instanceof Error && console.warn(
|
|
4174
4152
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4176,20 +4154,43 @@ const ie = (e, t) => {
|
|
|
4176
4154
|
);
|
|
4177
4155
|
}
|
|
4178
4156
|
return f;
|
|
4179
|
-
},
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
window.emWidgets = { topic:
|
|
4185
|
-
const
|
|
4186
|
-
function
|
|
4187
|
-
|
|
4157
|
+
}, Bi = (e, t) => Si(t).format(e), wi = (e, t) => Ei(t).format(e), Ai = (e, t) => xi(t).format(e), Pi = (e, t = R()) => Qt(e, t), Oi = Q([q, se], () => Hi);
|
|
4158
|
+
Q([q], () => Bi);
|
|
4159
|
+
Q([q], () => wi);
|
|
4160
|
+
Q([q], () => Ai);
|
|
4161
|
+
Q([q, se], () => Pi);
|
|
4162
|
+
window.emWidgets = { topic: jr };
|
|
4163
|
+
const Ii = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4164
|
+
function Li(e, t) {
|
|
4165
|
+
if (e) {
|
|
4166
|
+
const r = document.createElement("style");
|
|
4167
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4168
|
+
}
|
|
4188
4169
|
}
|
|
4189
|
-
function
|
|
4190
|
-
|
|
4170
|
+
function Ni(e, t) {
|
|
4171
|
+
const r = new URL(t);
|
|
4172
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4173
|
+
const i = document.createElement("style");
|
|
4174
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4175
|
+
}).catch((n) => {
|
|
4176
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4177
|
+
});
|
|
4191
4178
|
}
|
|
4192
|
-
|
|
4179
|
+
function Xi(e, t, r) {
|
|
4180
|
+
if (window.emMessageBus) {
|
|
4181
|
+
const n = document.createElement("style");
|
|
4182
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
4183
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4184
|
+
});
|
|
4185
|
+
}
|
|
4186
|
+
}
|
|
4187
|
+
function yt(e, t) {
|
|
4188
|
+
Jt(e, t);
|
|
4189
|
+
}
|
|
4190
|
+
function Mi(e) {
|
|
4191
|
+
q.set(e);
|
|
4192
|
+
}
|
|
4193
|
+
const vt = {
|
|
4193
4194
|
en: {
|
|
4194
4195
|
logoutButton: "Logout"
|
|
4195
4196
|
},
|
|
@@ -4224,86 +4225,86 @@ const xt = {
|
|
|
4224
4225
|
logoutButton: "Logout"
|
|
4225
4226
|
}
|
|
4226
4227
|
};
|
|
4227
|
-
function
|
|
4228
|
-
|
|
4228
|
+
function Ci(e) {
|
|
4229
|
+
sr(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))}");
|
|
4229
4230
|
}
|
|
4230
|
-
function
|
|
4231
|
+
function $i(e) {
|
|
4231
4232
|
let t, r, n, i = (
|
|
4232
4233
|
/*$_*/
|
|
4233
4234
|
e[2]("logoutButton") + ""
|
|
4234
4235
|
), o, s, a;
|
|
4235
4236
|
return {
|
|
4236
4237
|
c() {
|
|
4237
|
-
t =
|
|
4238
|
+
t = P("div"), r = P("button"), n = P("span"), o = ge(i), S(t, "class", "GeneralLogout");
|
|
4238
4239
|
},
|
|
4239
4240
|
m(h, u) {
|
|
4240
|
-
|
|
4241
|
+
oe(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = St(
|
|
4241
4242
|
r,
|
|
4242
4243
|
"click",
|
|
4243
4244
|
/*click_handler_1*/
|
|
4244
|
-
e[
|
|
4245
|
+
e[14]
|
|
4245
4246
|
), s = !0);
|
|
4246
4247
|
},
|
|
4247
4248
|
p(h, u) {
|
|
4248
4249
|
u & /*$_*/
|
|
4249
4250
|
4 && i !== (i = /*$_*/
|
|
4250
|
-
h[2]("logoutButton") + "") &&
|
|
4251
|
+
h[2]("logoutButton") + "") && Tt(o, i);
|
|
4251
4252
|
},
|
|
4252
4253
|
d(h) {
|
|
4253
|
-
h &&
|
|
4254
|
+
h && Z(t), s = !1, a();
|
|
4254
4255
|
}
|
|
4255
4256
|
};
|
|
4256
4257
|
}
|
|
4257
|
-
function
|
|
4258
|
+
function Ri(e) {
|
|
4258
4259
|
let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
|
|
4259
|
-
e[3] &&
|
|
4260
|
+
e[3] && Ui(e);
|
|
4260
4261
|
return {
|
|
4261
4262
|
c() {
|
|
4262
|
-
t =
|
|
4263
|
+
t = P("p"), r = P("span"), n = Y("svg"), i = Y("defs"), o = Y("style"), s = ge(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = Y("path"), h = Y("path"), u = hr(), 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"), cr(r, "width", /*isMobile*/
|
|
4263
4264
|
e[3] ? (
|
|
4264
4265
|
/*mediaQuery*/
|
|
4265
4266
|
e[4].matches ? "50px" : "24px"
|
|
4266
|
-
) : "20px"),
|
|
4267
|
+
) : "20px"), S(t, "class", "PlayerAccountMenuItemBox " + /*isMobile*/
|
|
4267
4268
|
(e[3] ? "PlayerAccountMenuItemBoxMobile" : "") + " " + /*mediaQuery*/
|
|
4268
4269
|
(e[4].matches && /*isMobile*/
|
|
4269
4270
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4270
4271
|
},
|
|
4271
|
-
m(p,
|
|
4272
|
-
|
|
4272
|
+
m(p, b) {
|
|
4273
|
+
oe(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 = St(
|
|
4273
4274
|
t,
|
|
4274
4275
|
"click",
|
|
4275
4276
|
/*click_handler*/
|
|
4276
|
-
e[
|
|
4277
|
+
e[13]
|
|
4277
4278
|
), l = !0);
|
|
4278
4279
|
},
|
|
4279
|
-
p(p,
|
|
4280
|
+
p(p, b) {
|
|
4280
4281
|
/*isMobile*/
|
|
4281
|
-
p[3] || c.p(p,
|
|
4282
|
+
p[3] || c.p(p, b);
|
|
4282
4283
|
},
|
|
4283
4284
|
d(p) {
|
|
4284
|
-
p &&
|
|
4285
|
+
p && Z(t), c && c.d(), l = !1, f();
|
|
4285
4286
|
}
|
|
4286
4287
|
};
|
|
4287
4288
|
}
|
|
4288
|
-
function
|
|
4289
|
+
function Ui(e) {
|
|
4289
4290
|
let t, r = (
|
|
4290
4291
|
/*$_*/
|
|
4291
4292
|
e[2]("logoutButton") + ""
|
|
4292
4293
|
), n;
|
|
4293
4294
|
return {
|
|
4294
4295
|
c() {
|
|
4295
|
-
t =
|
|
4296
|
+
t = P("span"), n = ge(r), S(t, "class", "PlayerLogoutText");
|
|
4296
4297
|
},
|
|
4297
4298
|
m(i, o) {
|
|
4298
|
-
|
|
4299
|
+
oe(i, t, o), T(t, n);
|
|
4299
4300
|
},
|
|
4300
4301
|
p(i, o) {
|
|
4301
4302
|
o & /*$_*/
|
|
4302
4303
|
4 && r !== (r = /*$_*/
|
|
4303
|
-
i[2]("logoutButton") + "") &&
|
|
4304
|
+
i[2]("logoutButton") + "") && Tt(n, r);
|
|
4304
4305
|
},
|
|
4305
4306
|
d(i) {
|
|
4306
|
-
i &&
|
|
4307
|
+
i && Z(t);
|
|
4307
4308
|
}
|
|
4308
4309
|
};
|
|
4309
4310
|
}
|
|
@@ -4312,199 +4313,196 @@ function Gi(e) {
|
|
|
4312
4313
|
function r(o, s) {
|
|
4313
4314
|
return (
|
|
4314
4315
|
/*buttonlocation*/
|
|
4315
|
-
o[0] === "PlayerAccountMenu" ?
|
|
4316
|
+
o[0] === "PlayerAccountMenu" ? Ri : $i
|
|
4316
4317
|
);
|
|
4317
4318
|
}
|
|
4318
4319
|
let n = r(e), i = n(e);
|
|
4319
4320
|
return {
|
|
4320
4321
|
c() {
|
|
4321
|
-
t =
|
|
4322
|
+
t = P("div"), i.c();
|
|
4322
4323
|
},
|
|
4323
4324
|
m(o, s) {
|
|
4324
|
-
|
|
4325
|
+
oe(o, t, s), i.m(t, null), e[15](t);
|
|
4325
4326
|
},
|
|
4326
4327
|
p(o, [s]) {
|
|
4327
4328
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4328
4329
|
},
|
|
4329
|
-
i:
|
|
4330
|
-
o:
|
|
4330
|
+
i: B,
|
|
4331
|
+
o: B,
|
|
4331
4332
|
d(o) {
|
|
4332
|
-
o &&
|
|
4333
|
+
o && Z(t), i.d(), e[15](null);
|
|
4333
4334
|
}
|
|
4334
4335
|
};
|
|
4335
4336
|
}
|
|
4336
|
-
function
|
|
4337
|
+
function Di(e, t, r) {
|
|
4337
4338
|
let n;
|
|
4338
|
-
|
|
4339
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, {
|
|
4340
|
-
const
|
|
4341
|
-
fetch(
|
|
4342
|
-
Object.keys(
|
|
4343
|
-
|
|
4339
|
+
or(e, Oi, (y) => r(2, n = y));
|
|
4340
|
+
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, H = Ii(v) !== "PC";
|
|
4341
|
+
const C = window.matchMedia("(min-width: 768px)"), L = () => {
|
|
4342
|
+
fetch(f).then((N) => N.json()).then((N) => {
|
|
4343
|
+
Object.keys(N).forEach((Se) => {
|
|
4344
|
+
yt(Se, N[Se]);
|
|
4344
4345
|
});
|
|
4345
|
-
}).catch((
|
|
4346
|
-
console.log(
|
|
4346
|
+
}).catch((N) => {
|
|
4347
|
+
console.log(N);
|
|
4347
4348
|
});
|
|
4348
4349
|
};
|
|
4349
|
-
Object.keys(
|
|
4350
|
-
|
|
4350
|
+
Object.keys(vt).forEach((y) => {
|
|
4351
|
+
yt(y, vt[y]);
|
|
4351
4352
|
});
|
|
4352
|
-
const
|
|
4353
|
-
let
|
|
4354
|
-
|
|
4355
|
-
let
|
|
4356
|
-
fetch(`${i}/v1/player/session/player`,
|
|
4353
|
+
const E = () => {
|
|
4354
|
+
let y = new Headers();
|
|
4355
|
+
y.append("Content-type", "application/json"), y.append("X-SessionID", o);
|
|
4356
|
+
let N = { method: "DELETE", headers: y };
|
|
4357
|
+
fetch(`${i}/v1/player/session/player`, N).then((Se) => {
|
|
4357
4358
|
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
|
|
4358
4359
|
});
|
|
4359
|
-
},
|
|
4360
|
-
|
|
4361
|
-
}
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
() => {
|
|
4369
|
-
p.appendChild(B);
|
|
4370
|
-
},
|
|
4371
|
-
1
|
|
4372
|
-
), setTimeout(
|
|
4373
|
-
() => {
|
|
4374
|
-
},
|
|
4375
|
-
500
|
|
4376
|
-
);
|
|
4377
|
-
});
|
|
4378
|
-
}, ue = () => w(), ar = () => w();
|
|
4379
|
-
function ur(b) {
|
|
4380
|
-
Le[b ? "unshift" : "push"](() => {
|
|
4381
|
-
p = b, r(1, p);
|
|
4360
|
+
}, $ = () => (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), A = () => {
|
|
4361
|
+
Mi(a);
|
|
4362
|
+
};
|
|
4363
|
+
dr(() => () => {
|
|
4364
|
+
});
|
|
4365
|
+
const U = () => E(), ae = () => E();
|
|
4366
|
+
function nr(y) {
|
|
4367
|
+
Ie[y ? "unshift" : "push"](() => {
|
|
4368
|
+
b = y, r(1, b);
|
|
4382
4369
|
});
|
|
4383
4370
|
}
|
|
4384
|
-
return e.$$set = (
|
|
4385
|
-
"endpoint" in
|
|
4371
|
+
return e.$$set = (y) => {
|
|
4372
|
+
"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);
|
|
4386
4373
|
}, e.$$.update = () => {
|
|
4387
4374
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
4388
|
-
193 && i && o && s &&
|
|
4389
|
-
256 && a &&
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4375
|
+
193 && i && o && s && $(), e.$$.dirty & /*lang*/
|
|
4376
|
+
256 && a && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4377
|
+
1026 && u && b && Li(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4378
|
+
2050 && l && b && Ni(), e.$$.dirty & /*translationurl*/
|
|
4379
|
+
4096 && f && L();
|
|
4393
4380
|
}, [
|
|
4394
4381
|
s,
|
|
4395
|
-
|
|
4382
|
+
b,
|
|
4396
4383
|
n,
|
|
4397
|
-
v,
|
|
4398
4384
|
H,
|
|
4399
|
-
|
|
4385
|
+
C,
|
|
4386
|
+
E,
|
|
4400
4387
|
i,
|
|
4401
4388
|
o,
|
|
4402
4389
|
a,
|
|
4403
4390
|
h,
|
|
4404
4391
|
u,
|
|
4405
4392
|
l,
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4393
|
+
f,
|
|
4394
|
+
U,
|
|
4395
|
+
ae,
|
|
4396
|
+
nr
|
|
4409
4397
|
];
|
|
4410
4398
|
}
|
|
4411
|
-
class
|
|
4399
|
+
class rr extends Br {
|
|
4412
4400
|
constructor(t) {
|
|
4413
|
-
super(),
|
|
4401
|
+
super(), Tr(
|
|
4414
4402
|
this,
|
|
4415
4403
|
t,
|
|
4416
|
-
|
|
4404
|
+
Di,
|
|
4417
4405
|
Gi,
|
|
4418
|
-
|
|
4406
|
+
xt,
|
|
4419
4407
|
{
|
|
4420
4408
|
endpoint: 6,
|
|
4421
4409
|
session: 7,
|
|
4422
4410
|
buttonlocation: 0,
|
|
4423
4411
|
lang: 8,
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4412
|
+
mbsource: 9,
|
|
4413
|
+
clientstyling: 10,
|
|
4414
|
+
clientstylingurl: 11,
|
|
4415
|
+
translationurl: 12
|
|
4427
4416
|
},
|
|
4428
|
-
|
|
4417
|
+
Ci
|
|
4429
4418
|
);
|
|
4430
4419
|
}
|
|
4431
4420
|
get endpoint() {
|
|
4432
4421
|
return this.$$.ctx[6];
|
|
4433
4422
|
}
|
|
4434
4423
|
set endpoint(t) {
|
|
4435
|
-
this.$$set({ endpoint: t }),
|
|
4424
|
+
this.$$set({ endpoint: t }), w();
|
|
4436
4425
|
}
|
|
4437
4426
|
get session() {
|
|
4438
4427
|
return this.$$.ctx[7];
|
|
4439
4428
|
}
|
|
4440
4429
|
set session(t) {
|
|
4441
|
-
this.$$set({ session: t }),
|
|
4430
|
+
this.$$set({ session: t }), w();
|
|
4442
4431
|
}
|
|
4443
4432
|
get buttonlocation() {
|
|
4444
4433
|
return this.$$.ctx[0];
|
|
4445
4434
|
}
|
|
4446
4435
|
set buttonlocation(t) {
|
|
4447
|
-
this.$$set({ buttonlocation: t }),
|
|
4436
|
+
this.$$set({ buttonlocation: t }), w();
|
|
4448
4437
|
}
|
|
4449
4438
|
get lang() {
|
|
4450
4439
|
return this.$$.ctx[8];
|
|
4451
4440
|
}
|
|
4452
4441
|
set lang(t) {
|
|
4453
|
-
this.$$set({ lang: t }),
|
|
4442
|
+
this.$$set({ lang: t }), w();
|
|
4454
4443
|
}
|
|
4455
|
-
get
|
|
4444
|
+
get mbsource() {
|
|
4456
4445
|
return this.$$.ctx[9];
|
|
4457
4446
|
}
|
|
4447
|
+
set mbsource(t) {
|
|
4448
|
+
this.$$set({ mbsource: t }), w();
|
|
4449
|
+
}
|
|
4450
|
+
get clientstyling() {
|
|
4451
|
+
return this.$$.ctx[10];
|
|
4452
|
+
}
|
|
4458
4453
|
set clientstyling(t) {
|
|
4459
|
-
this.$$set({ clientstyling: t }),
|
|
4454
|
+
this.$$set({ clientstyling: t }), w();
|
|
4460
4455
|
}
|
|
4461
4456
|
get clientstylingurl() {
|
|
4462
|
-
return this.$$.ctx[
|
|
4457
|
+
return this.$$.ctx[11];
|
|
4463
4458
|
}
|
|
4464
4459
|
set clientstylingurl(t) {
|
|
4465
|
-
this.$$set({ clientstylingurl: t }),
|
|
4460
|
+
this.$$set({ clientstylingurl: t }), w();
|
|
4466
4461
|
}
|
|
4467
4462
|
get translationurl() {
|
|
4468
|
-
return this.$$.ctx[
|
|
4463
|
+
return this.$$.ctx[12];
|
|
4469
4464
|
}
|
|
4470
4465
|
set translationurl(t) {
|
|
4471
|
-
this.$$set({ translationurl: t }),
|
|
4466
|
+
this.$$set({ translationurl: t }), w();
|
|
4472
4467
|
}
|
|
4473
4468
|
}
|
|
4474
|
-
|
|
4475
|
-
const
|
|
4469
|
+
Hr(rr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4470
|
+
const Wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4476
4471
|
__proto__: null,
|
|
4477
|
-
default:
|
|
4472
|
+
default: rr
|
|
4478
4473
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4479
4474
|
export {
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4475
|
+
q as $,
|
|
4476
|
+
Oi as A,
|
|
4477
|
+
Li as B,
|
|
4478
|
+
Ni as C,
|
|
4479
|
+
Xi as D,
|
|
4480
|
+
Wi as G,
|
|
4481
|
+
Br as S,
|
|
4482
|
+
Jt as a,
|
|
4483
|
+
sr as b,
|
|
4484
|
+
Hr as c,
|
|
4485
|
+
Z as d,
|
|
4486
|
+
oe as e,
|
|
4487
|
+
w as f,
|
|
4488
|
+
P as g,
|
|
4489
|
+
or as h,
|
|
4490
|
+
Tr as i,
|
|
4491
|
+
Ii as j,
|
|
4492
|
+
Ie as k,
|
|
4493
|
+
Vi as l,
|
|
4494
|
+
ji as m,
|
|
4495
|
+
B as n,
|
|
4496
|
+
dr as o,
|
|
4497
|
+
T as p,
|
|
4498
|
+
hr as q,
|
|
4499
|
+
ki as r,
|
|
4500
|
+
xt as s,
|
|
4501
|
+
S as t,
|
|
4502
|
+
Tt as u,
|
|
4503
|
+
ge as v,
|
|
4504
|
+
ie as w,
|
|
4505
|
+
St as x,
|
|
4506
|
+
Y as y,
|
|
4507
|
+
Fi as z
|
|
4510
4508
|
};
|