@everymatrix/player-account-menu-nd 1.59.3 → 1.60.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-DOA4fn9r.js → GeneralLogout-2d97wZyo.js} +625 -592
- package/components/{GeneralLogout-DYiom6lN.js → GeneralLogout-44vVlNTP.js} +586 -553
- package/components/GeneralLogout-BFiyb0LX.cjs +18 -0
- package/components/{PlayerAccountMenuNd-Cbx4lG47.cjs → PlayerAccountMenuNd-C-vs9aJe.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-B8qiXHWj.js → PlayerAccountMenuNd-DfQL1RPm.js} +29 -29
- package/components/{PlayerAccountMenuNd-Bj_BBVlB.js → PlayerAccountMenuNd-YdGKKK8P.js} +27 -27
- 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/index-ae04a8b1-DPYODDdm.cjs +1 -0
- package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
- package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
- package/stencil/{ui-skeleton-IHMCRYEX.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
- package/stencil/{ui-skeleton-DFpfaKvi.js → ui-skeleton-C5gPr5Xv.js} +2 -2
- package/stencil/{ui-skeleton-UUT_AJxa.js → ui-skeleton-M7HNQCk1.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-BNXFvvk_.js → ui-skeleton-a642cced-BFJMszWG.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-5nW6b8_l.cjs → ui-skeleton-a642cced-DO34s50a.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-DdY2eEM0.js → ui-skeleton-a642cced-p8tGooXk.js} +1 -1
- package/components/GeneralLogout-i6PS_xB2.cjs +0 -18
- package/stencil/index-ae04a8b1-BxaX26xW.js +0 -516
- package/stencil/index-ae04a8b1-D7qYBP-T.js +0 -532
- package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +0 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function B() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Tt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Ke() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function ie(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(Tt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Ze(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Ht(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let ue;
|
|
19
|
-
function
|
|
19
|
+
function Wi(e, t) {
|
|
20
20
|
return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function hr(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Bt(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,20 +31,20 @@ function St(e, ...t) {
|
|
|
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 lr(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(Bt(t, r));
|
|
36
36
|
}
|
|
37
37
|
function T(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function cr(e, t, r) {
|
|
41
|
+
const n = fr(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
43
|
const i = P("style");
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
44
|
+
i.id = t, i.textContent = r, pr(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function fr(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,7 +54,7 @@ function ur(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function pr(e, t) {
|
|
58
58
|
return T(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
@@ -67,7 +67,7 @@ function oe(e, t, r) {
|
|
|
67
67
|
function Z(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function zi(e, t) {
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
@@ -80,30 +80,30 @@ function Y(e) {
|
|
|
80
80
|
function ge(e) {
|
|
81
81
|
return document.createTextNode(e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function dr() {
|
|
84
84
|
return ge(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function wt(e, t, r, n) {
|
|
87
87
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
88
88
|
}
|
|
89
89
|
function S(e, t, r) {
|
|
90
90
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function Zi(e, t, r) {
|
|
93
93
|
const n = t.toLowerCase();
|
|
94
94
|
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);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function mr(e) {
|
|
97
97
|
return Array.from(e.childNodes);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function At(e, t) {
|
|
100
100
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
101
101
|
t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function br(e, t, r, n) {
|
|
104
104
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function gr(e) {
|
|
107
107
|
const t = {};
|
|
108
108
|
return e.childNodes.forEach(
|
|
109
109
|
/** @param {Element} node */
|
|
@@ -116,84 +116,84 @@ let te;
|
|
|
116
116
|
function ee(e) {
|
|
117
117
|
te = e;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function yr() {
|
|
120
120
|
if (!te)
|
|
121
121
|
throw new Error("Function called outside component initialization");
|
|
122
122
|
return te;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
125
|
-
|
|
124
|
+
function vr(e) {
|
|
125
|
+
yr().$$.on_mount.push(e);
|
|
126
126
|
}
|
|
127
|
-
const F = [],
|
|
127
|
+
const F = [], Le = [];
|
|
128
128
|
let j = [];
|
|
129
|
-
const
|
|
130
|
-
let
|
|
131
|
-
function
|
|
132
|
-
|
|
129
|
+
const et = [], _r = /* @__PURE__ */ Promise.resolve();
|
|
130
|
+
let Ne = !1;
|
|
131
|
+
function Er() {
|
|
132
|
+
Ne || (Ne = !0, _r.then(w));
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Me(e) {
|
|
135
135
|
j.push(e);
|
|
136
136
|
}
|
|
137
137
|
const Te = /* @__PURE__ */ new Set();
|
|
138
|
-
let
|
|
138
|
+
let D = 0;
|
|
139
139
|
function w() {
|
|
140
|
-
if (
|
|
140
|
+
if (D !== 0)
|
|
141
141
|
return;
|
|
142
142
|
const e = te;
|
|
143
143
|
do {
|
|
144
144
|
try {
|
|
145
|
-
for (;
|
|
146
|
-
const t = F[
|
|
147
|
-
|
|
145
|
+
for (; D < F.length; ) {
|
|
146
|
+
const t = F[D];
|
|
147
|
+
D++, ee(t), xr(t.$$);
|
|
148
148
|
}
|
|
149
149
|
} catch (t) {
|
|
150
|
-
throw F.length = 0,
|
|
150
|
+
throw F.length = 0, D = 0, t;
|
|
151
151
|
}
|
|
152
|
-
for (ee(null), F.length = 0,
|
|
153
|
-
|
|
152
|
+
for (ee(null), F.length = 0, D = 0; Le.length; )
|
|
153
|
+
Le.pop()();
|
|
154
154
|
for (let t = 0; t < j.length; t += 1) {
|
|
155
155
|
const r = j[t];
|
|
156
156
|
Te.has(r) || (Te.add(r), r());
|
|
157
157
|
}
|
|
158
158
|
j.length = 0;
|
|
159
159
|
} while (F.length);
|
|
160
|
-
for (;
|
|
161
|
-
|
|
162
|
-
|
|
160
|
+
for (; et.length; )
|
|
161
|
+
et.pop()();
|
|
162
|
+
Ne = !1, Te.clear(), ee(e);
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function xr(e) {
|
|
165
165
|
if (e.fragment !== null) {
|
|
166
166
|
e.update(), ie(e.before_update);
|
|
167
167
|
const t = e.dirty;
|
|
168
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
168
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Sr(e) {
|
|
172
172
|
const t = [], r = [];
|
|
173
173
|
j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
|
|
174
174
|
}
|
|
175
|
-
const
|
|
176
|
-
function
|
|
177
|
-
e && e.i && (
|
|
175
|
+
const Tr = /* @__PURE__ */ new Set();
|
|
176
|
+
function Hr(e, t) {
|
|
177
|
+
e && e.i && (Tr.delete(e), e.i(t));
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function Qi(e) {
|
|
180
180
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Br(e, t, r) {
|
|
183
183
|
const { fragment: n, after_update: i } = e.$$;
|
|
184
|
-
n && n.m(t, r),
|
|
185
|
-
const o = e.$$.on_mount.map(
|
|
184
|
+
n && n.m(t, r), Me(() => {
|
|
185
|
+
const o = e.$$.on_mount.map(Tt).filter(Ze);
|
|
186
186
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
|
|
187
|
-
}), i.forEach(
|
|
187
|
+
}), i.forEach(Me);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function wr(e, t) {
|
|
190
190
|
const r = e.$$;
|
|
191
|
-
r.fragment !== null && (
|
|
191
|
+
r.fragment !== null && (Sr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
192
192
|
}
|
|
193
|
-
function
|
|
194
|
-
e.$$.dirty[0] === -1 && (F.push(e),
|
|
193
|
+
function Ar(e, t) {
|
|
194
|
+
e.$$.dirty[0] === -1 && (F.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function Pr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
197
197
|
const h = te;
|
|
198
198
|
ee(e);
|
|
199
199
|
const u = e.$$ = {
|
|
@@ -203,7 +203,7 @@ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
203
203
|
props: o,
|
|
204
204
|
update: B,
|
|
205
205
|
not_equal: i,
|
|
206
|
-
bound:
|
|
206
|
+
bound: Ke(),
|
|
207
207
|
// lifecycle
|
|
208
208
|
on_mount: [],
|
|
209
209
|
on_destroy: [],
|
|
@@ -212,7 +212,7 @@ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
212
212
|
after_update: [],
|
|
213
213
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
214
214
|
// everything else
|
|
215
|
-
callbacks:
|
|
215
|
+
callbacks: Ke(),
|
|
216
216
|
dirty: a,
|
|
217
217
|
skip_bound: !1,
|
|
218
218
|
root: t.target || h.$$.root
|
|
@@ -221,19 +221,19 @@ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
221
221
|
let l = !1;
|
|
222
222
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
223
223
|
const d = p.length ? p[0] : c;
|
|
224
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l &&
|
|
224
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Ar(e, f)), c;
|
|
225
225
|
}) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
226
226
|
if (t.hydrate) {
|
|
227
|
-
const f =
|
|
227
|
+
const f = mr(t.target);
|
|
228
228
|
u.fragment && u.fragment.l(f), f.forEach(Z);
|
|
229
229
|
} else
|
|
230
230
|
u.fragment && u.fragment.c();
|
|
231
|
-
t.intro &&
|
|
231
|
+
t.intro && Hr(e.$$.fragment), Br(e, t.target, t.anchor), w();
|
|
232
232
|
}
|
|
233
233
|
ee(h);
|
|
234
234
|
}
|
|
235
|
-
let
|
|
236
|
-
typeof HTMLElement == "function" && (
|
|
235
|
+
let Pt;
|
|
236
|
+
typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
|
|
237
237
|
/** The Svelte component constructor */
|
|
238
238
|
$$ctor;
|
|
239
239
|
/** Slots */
|
|
@@ -292,7 +292,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
292
292
|
};
|
|
293
293
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
294
294
|
return;
|
|
295
|
-
const t = {}, r =
|
|
295
|
+
const t = {}, r = gr(this);
|
|
296
296
|
for (const i of this.$$s)
|
|
297
297
|
i in r && (t[i] = [e(i)]);
|
|
298
298
|
for (const i of this.attributes) {
|
|
@@ -379,8 +379,8 @@ function ce(e, t, r, n) {
|
|
|
379
379
|
return t;
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
|
-
function
|
|
383
|
-
let s = class extends
|
|
382
|
+
function Or(e, t, r, n, i, o) {
|
|
383
|
+
let s = class extends Pt {
|
|
384
384
|
constructor() {
|
|
385
385
|
super(e, r, i), this.$$p_d = t;
|
|
386
386
|
}
|
|
@@ -408,7 +408,7 @@ function Br(e, t, r, n, i, o) {
|
|
|
408
408
|
}), e.element = /** @type {any} */
|
|
409
409
|
s, s;
|
|
410
410
|
}
|
|
411
|
-
class
|
|
411
|
+
class Ir {
|
|
412
412
|
/**
|
|
413
413
|
* ### PRIVATE API
|
|
414
414
|
*
|
|
@@ -427,7 +427,7 @@ class wr {
|
|
|
427
427
|
$$set = void 0;
|
|
428
428
|
/** @returns {void} */
|
|
429
429
|
$destroy() {
|
|
430
|
-
|
|
430
|
+
wr(this, 1), this.$destroy = B;
|
|
431
431
|
}
|
|
432
432
|
/**
|
|
433
433
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -436,7 +436,7 @@ class wr {
|
|
|
436
436
|
* @returns {() => void}
|
|
437
437
|
*/
|
|
438
438
|
$on(t, r) {
|
|
439
|
-
if (!
|
|
439
|
+
if (!Ze(r))
|
|
440
440
|
return B;
|
|
441
441
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
442
442
|
return n.push(r), () => {
|
|
@@ -449,11 +449,11 @@ class wr {
|
|
|
449
449
|
* @returns {void}
|
|
450
450
|
*/
|
|
451
451
|
$set(t) {
|
|
452
|
-
this.$$set && !
|
|
452
|
+
this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
|
-
const
|
|
456
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
455
|
+
const Lr = "4";
|
|
456
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
|
|
457
457
|
/*! *****************************************************************************
|
|
458
458
|
Copyright (c) Microsoft Corporation.
|
|
459
459
|
|
|
@@ -468,18 +468,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
468
468
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
469
469
|
PERFORMANCE OF THIS SOFTWARE.
|
|
470
470
|
***************************************************************************** */
|
|
471
|
-
var
|
|
472
|
-
return
|
|
471
|
+
var Ce = function(e, t) {
|
|
472
|
+
return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
473
473
|
r.__proto__ = n;
|
|
474
474
|
} || function(r, n) {
|
|
475
475
|
for (var i in n)
|
|
476
476
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
477
|
-
},
|
|
477
|
+
}, Ce(e, t);
|
|
478
478
|
};
|
|
479
479
|
function I(e, t) {
|
|
480
480
|
if (typeof t != "function" && t !== null)
|
|
481
481
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
482
|
-
|
|
482
|
+
Ce(e, t);
|
|
483
483
|
function r() {
|
|
484
484
|
this.constructor = e;
|
|
485
485
|
}
|
|
@@ -495,7 +495,7 @@ var g = function() {
|
|
|
495
495
|
return t;
|
|
496
496
|
}, g.apply(this, arguments);
|
|
497
497
|
};
|
|
498
|
-
function
|
|
498
|
+
function Nr(e, t) {
|
|
499
499
|
var r = {};
|
|
500
500
|
for (var n in e)
|
|
501
501
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -504,7 +504,7 @@ function Pr(e, t) {
|
|
|
504
504
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
505
505
|
return r;
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
function $e(e) {
|
|
508
508
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
509
509
|
if (r)
|
|
510
510
|
return r.call(e);
|
|
@@ -516,7 +516,7 @@ function Ce(e) {
|
|
|
516
516
|
};
|
|
517
517
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function Re(e, t) {
|
|
520
520
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
521
521
|
if (!r)
|
|
522
522
|
return e;
|
|
@@ -545,13 +545,13 @@ function k(e, t, r) {
|
|
|
545
545
|
function O(e) {
|
|
546
546
|
return typeof e == "function";
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function Ot(e) {
|
|
549
549
|
var t = function(n) {
|
|
550
550
|
Error.call(n), n.stack = new Error().stack;
|
|
551
551
|
}, r = e(t);
|
|
552
552
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
553
553
|
}
|
|
554
|
-
var He =
|
|
554
|
+
var He = Ot(function(e) {
|
|
555
555
|
return function(r) {
|
|
556
556
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
557
557
|
` + r.map(function(n, i) {
|
|
@@ -560,7 +560,7 @@ var He = wt(function(e) {
|
|
|
560
560
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
561
561
|
};
|
|
562
562
|
});
|
|
563
|
-
function
|
|
563
|
+
function Ue(e, t) {
|
|
564
564
|
if (e) {
|
|
565
565
|
var r = e.indexOf(t);
|
|
566
566
|
0 <= r && e.splice(r, 1);
|
|
@@ -578,7 +578,7 @@ var ye = function() {
|
|
|
578
578
|
if (s)
|
|
579
579
|
if (this._parentage = null, Array.isArray(s))
|
|
580
580
|
try {
|
|
581
|
-
for (var a =
|
|
581
|
+
for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
|
|
582
582
|
var u = h.value;
|
|
583
583
|
u.remove(this);
|
|
584
584
|
}
|
|
@@ -605,12 +605,12 @@ var ye = function() {
|
|
|
605
605
|
if (f) {
|
|
606
606
|
this._finalizers = null;
|
|
607
607
|
try {
|
|
608
|
-
for (var c =
|
|
608
|
+
for (var c = $e(f), p = c.next(); !p.done; p = c.next()) {
|
|
609
609
|
var d = p.value;
|
|
610
610
|
try {
|
|
611
|
-
|
|
611
|
+
tt(d);
|
|
612
612
|
} catch (v) {
|
|
613
|
-
o = o ?? [], v instanceof He ? o = k(k([],
|
|
613
|
+
o = o ?? [], v instanceof He ? o = k(k([], Re(o)), Re(v.errors)) : o.push(v);
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
616
|
} catch (v) {
|
|
@@ -631,7 +631,7 @@ var ye = function() {
|
|
|
631
631
|
var r;
|
|
632
632
|
if (t && t !== this)
|
|
633
633
|
if (this.closed)
|
|
634
|
-
|
|
634
|
+
tt(t);
|
|
635
635
|
else {
|
|
636
636
|
if (t instanceof e) {
|
|
637
637
|
if (t.closed || t._hasParent(this))
|
|
@@ -648,52 +648,56 @@ var ye = function() {
|
|
|
648
648
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
649
649
|
}, e.prototype._removeParent = function(t) {
|
|
650
650
|
var r = this._parentage;
|
|
651
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
651
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
|
|
652
652
|
}, e.prototype.remove = function(t) {
|
|
653
653
|
var r = this._finalizers;
|
|
654
|
-
r &&
|
|
654
|
+
r && Ue(r, t), t instanceof e && t._removeParent(this);
|
|
655
655
|
}, e.EMPTY = function() {
|
|
656
656
|
var t = new e();
|
|
657
657
|
return t.closed = !0, t;
|
|
658
658
|
}(), e;
|
|
659
|
-
}(),
|
|
660
|
-
function
|
|
659
|
+
}(), It = ye.EMPTY;
|
|
660
|
+
function Lt(e) {
|
|
661
661
|
return e instanceof ye || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function tt(e) {
|
|
664
664
|
O(e) ? e() : e.unsubscribe();
|
|
665
665
|
}
|
|
666
|
-
var
|
|
667
|
-
|
|
668
|
-
|
|
666
|
+
var Nt = {
|
|
667
|
+
onUnhandledError: null,
|
|
668
|
+
onStoppedNotification: null,
|
|
669
|
+
Promise: void 0,
|
|
670
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
671
|
+
useDeprecatedNextContext: !1
|
|
672
|
+
}, Mr = {
|
|
669
673
|
setTimeout: function(e, t) {
|
|
670
674
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
671
675
|
r[n - 2] = arguments[n];
|
|
672
|
-
return setTimeout.apply(void 0, k([e, t],
|
|
676
|
+
return setTimeout.apply(void 0, k([e, t], Re(r)));
|
|
673
677
|
},
|
|
674
678
|
clearTimeout: function(e) {
|
|
675
679
|
return clearTimeout(e);
|
|
676
680
|
},
|
|
677
681
|
delegate: void 0
|
|
678
682
|
};
|
|
679
|
-
function
|
|
680
|
-
|
|
683
|
+
function Cr(e) {
|
|
684
|
+
Mr.setTimeout(function() {
|
|
681
685
|
throw e;
|
|
682
686
|
});
|
|
683
687
|
}
|
|
684
|
-
function
|
|
688
|
+
function rt() {
|
|
685
689
|
}
|
|
686
690
|
function fe(e) {
|
|
687
691
|
e();
|
|
688
692
|
}
|
|
689
|
-
var
|
|
693
|
+
var Mt = function(e) {
|
|
690
694
|
I(t, e);
|
|
691
695
|
function t(r) {
|
|
692
696
|
var n = e.call(this) || this;
|
|
693
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
697
|
+
return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = Dr, n;
|
|
694
698
|
}
|
|
695
699
|
return t.create = function(r, n, i) {
|
|
696
|
-
return new
|
|
700
|
+
return new De(r, n, i);
|
|
697
701
|
}, t.prototype.next = function(r) {
|
|
698
702
|
this.isStopped || this._next(r);
|
|
699
703
|
}, t.prototype.error = function(r) {
|
|
@@ -717,7 +721,11 @@ var Ot = function(e) {
|
|
|
717
721
|
this.unsubscribe();
|
|
718
722
|
}
|
|
719
723
|
}, t;
|
|
720
|
-
}(ye),
|
|
724
|
+
}(ye), $r = Function.prototype.bind;
|
|
725
|
+
function Be(e, t) {
|
|
726
|
+
return $r.call(e, t);
|
|
727
|
+
}
|
|
728
|
+
var Rr = function() {
|
|
721
729
|
function e(t) {
|
|
722
730
|
this.partialObserver = t;
|
|
723
731
|
}
|
|
@@ -748,43 +756,55 @@ var Ot = function(e) {
|
|
|
748
756
|
he(r);
|
|
749
757
|
}
|
|
750
758
|
}, e;
|
|
751
|
-
}(),
|
|
759
|
+
}(), De = function(e) {
|
|
752
760
|
I(t, e);
|
|
753
761
|
function t(r, n, i) {
|
|
754
762
|
var o = e.call(this) || this, s;
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
763
|
+
if (O(r) || !r)
|
|
764
|
+
s = {
|
|
765
|
+
next: r ?? void 0,
|
|
766
|
+
error: n ?? void 0,
|
|
767
|
+
complete: i ?? void 0
|
|
768
|
+
};
|
|
769
|
+
else {
|
|
770
|
+
var a;
|
|
771
|
+
o && Nt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
772
|
+
return o.unsubscribe();
|
|
773
|
+
}, s = {
|
|
774
|
+
next: r.next && Be(r.next, a),
|
|
775
|
+
error: r.error && Be(r.error, a),
|
|
776
|
+
complete: r.complete && Be(r.complete, a)
|
|
777
|
+
}) : s = r;
|
|
778
|
+
}
|
|
779
|
+
return o.destination = new Rr(s), o;
|
|
760
780
|
}
|
|
761
781
|
return t;
|
|
762
|
-
}(
|
|
782
|
+
}(Mt);
|
|
763
783
|
function he(e) {
|
|
764
|
-
|
|
784
|
+
Cr(e);
|
|
765
785
|
}
|
|
766
|
-
function
|
|
786
|
+
function Ur(e) {
|
|
767
787
|
throw e;
|
|
768
788
|
}
|
|
769
|
-
var
|
|
789
|
+
var Dr = {
|
|
770
790
|
closed: !0,
|
|
771
|
-
next:
|
|
772
|
-
error:
|
|
773
|
-
complete:
|
|
774
|
-
},
|
|
791
|
+
next: rt,
|
|
792
|
+
error: Ur,
|
|
793
|
+
complete: rt
|
|
794
|
+
}, Gr = function() {
|
|
775
795
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
776
796
|
}();
|
|
777
|
-
function
|
|
797
|
+
function Fr(e) {
|
|
778
798
|
return e;
|
|
779
799
|
}
|
|
780
|
-
function
|
|
781
|
-
return e.length === 0 ?
|
|
800
|
+
function jr(e) {
|
|
801
|
+
return e.length === 0 ? Fr : e.length === 1 ? e[0] : function(r) {
|
|
782
802
|
return e.reduce(function(n, i) {
|
|
783
803
|
return i(n);
|
|
784
804
|
}, r);
|
|
785
805
|
};
|
|
786
806
|
}
|
|
787
|
-
var
|
|
807
|
+
var nt = function() {
|
|
788
808
|
function e(t) {
|
|
789
809
|
t && (this._subscribe = t);
|
|
790
810
|
}
|
|
@@ -792,7 +812,7 @@ var et = function() {
|
|
|
792
812
|
var r = new e();
|
|
793
813
|
return r.source = this, r.operator = t, r;
|
|
794
814
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
795
|
-
var i = this, o =
|
|
815
|
+
var i = this, o = Vr(t) ? t : new De(t, r, n);
|
|
796
816
|
return fe(function() {
|
|
797
817
|
var s = i, a = s.operator, h = s.source;
|
|
798
818
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -805,8 +825,8 @@ var et = function() {
|
|
|
805
825
|
}
|
|
806
826
|
}, e.prototype.forEach = function(t, r) {
|
|
807
827
|
var n = this;
|
|
808
|
-
return r =
|
|
809
|
-
var s = new
|
|
828
|
+
return r = it(r), new r(function(i, o) {
|
|
829
|
+
var s = new De({
|
|
810
830
|
next: function(a) {
|
|
811
831
|
try {
|
|
812
832
|
t(a);
|
|
@@ -822,15 +842,15 @@ var et = function() {
|
|
|
822
842
|
}, e.prototype._subscribe = function(t) {
|
|
823
843
|
var r;
|
|
824
844
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
825
|
-
}, e.prototype[
|
|
845
|
+
}, e.prototype[Gr] = function() {
|
|
826
846
|
return this;
|
|
827
847
|
}, e.prototype.pipe = function() {
|
|
828
848
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
829
849
|
t[r] = arguments[r];
|
|
830
|
-
return
|
|
850
|
+
return jr(t)(this);
|
|
831
851
|
}, e.prototype.toPromise = function(t) {
|
|
832
852
|
var r = this;
|
|
833
|
-
return t =
|
|
853
|
+
return t = it(t), new t(function(n, i) {
|
|
834
854
|
var o;
|
|
835
855
|
r.subscribe(function(s) {
|
|
836
856
|
return o = s;
|
|
@@ -844,32 +864,32 @@ var et = function() {
|
|
|
844
864
|
return new e(t);
|
|
845
865
|
}, e;
|
|
846
866
|
}();
|
|
847
|
-
function
|
|
867
|
+
function it(e) {
|
|
848
868
|
var t;
|
|
849
|
-
return (t = e ??
|
|
869
|
+
return (t = e ?? Nt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
850
870
|
}
|
|
851
|
-
function
|
|
871
|
+
function kr(e) {
|
|
852
872
|
return e && O(e.next) && O(e.error) && O(e.complete);
|
|
853
873
|
}
|
|
854
|
-
function
|
|
855
|
-
return e && e instanceof
|
|
874
|
+
function Vr(e) {
|
|
875
|
+
return e && e instanceof Mt || kr(e) && Lt(e);
|
|
856
876
|
}
|
|
857
|
-
var
|
|
877
|
+
var Xr = Ot(function(e) {
|
|
858
878
|
return function() {
|
|
859
879
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
860
880
|
};
|
|
861
|
-
}),
|
|
881
|
+
}), Ct = function(e) {
|
|
862
882
|
I(t, e);
|
|
863
883
|
function t() {
|
|
864
884
|
var r = e.call(this) || this;
|
|
865
885
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
866
886
|
}
|
|
867
887
|
return t.prototype.lift = function(r) {
|
|
868
|
-
var n = new
|
|
888
|
+
var n = new ot(this, this);
|
|
869
889
|
return n.operator = r, n;
|
|
870
890
|
}, t.prototype._throwIfClosed = function() {
|
|
871
891
|
if (this.closed)
|
|
872
|
-
throw new
|
|
892
|
+
throw new Xr();
|
|
873
893
|
}, t.prototype.next = function(r) {
|
|
874
894
|
var n = this;
|
|
875
895
|
fe(function() {
|
|
@@ -877,7 +897,7 @@ var Fr = wt(function(e) {
|
|
|
877
897
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
878
898
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
879
899
|
try {
|
|
880
|
-
for (var s =
|
|
900
|
+
for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
881
901
|
var h = a.value;
|
|
882
902
|
h.next(r);
|
|
883
903
|
}
|
|
@@ -926,19 +946,19 @@ var Fr = wt(function(e) {
|
|
|
926
946
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
927
947
|
}, t.prototype._innerSubscribe = function(r) {
|
|
928
948
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
929
|
-
return o || s ?
|
|
930
|
-
n.currentObservers = null,
|
|
949
|
+
return o || s ? It : (this.currentObservers = null, a.push(r), new ye(function() {
|
|
950
|
+
n.currentObservers = null, Ue(a, r);
|
|
931
951
|
}));
|
|
932
952
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
933
953
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
934
954
|
i ? r.error(o) : s && r.complete();
|
|
935
955
|
}, t.prototype.asObservable = function() {
|
|
936
|
-
var r = new
|
|
956
|
+
var r = new nt();
|
|
937
957
|
return r.source = this, r;
|
|
938
958
|
}, t.create = function(r, n) {
|
|
939
|
-
return new
|
|
959
|
+
return new ot(r, n);
|
|
940
960
|
}, t;
|
|
941
|
-
}(
|
|
961
|
+
}(nt), ot = function(e) {
|
|
942
962
|
I(t, e);
|
|
943
963
|
function t(r, n) {
|
|
944
964
|
var i = e.call(this) || this;
|
|
@@ -955,17 +975,17 @@ var Fr = wt(function(e) {
|
|
|
955
975
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
956
976
|
}, t.prototype._subscribe = function(r) {
|
|
957
977
|
var n, i;
|
|
958
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
978
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : It;
|
|
959
979
|
}, t;
|
|
960
|
-
}(
|
|
980
|
+
}(Ct), $t = {
|
|
961
981
|
now: function() {
|
|
962
|
-
return (
|
|
982
|
+
return ($t.delegate || Date).now();
|
|
963
983
|
},
|
|
964
984
|
delegate: void 0
|
|
965
|
-
},
|
|
985
|
+
}, Wr = function(e) {
|
|
966
986
|
I(t, e);
|
|
967
987
|
function t(r, n, i) {
|
|
968
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
988
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
|
|
969
989
|
var o = e.call(this) || this;
|
|
970
990
|
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;
|
|
971
991
|
}
|
|
@@ -985,15 +1005,15 @@ var Fr = wt(function(e) {
|
|
|
985
1005
|
u && o.splice(0, u + 1);
|
|
986
1006
|
}
|
|
987
1007
|
}, t;
|
|
988
|
-
}(
|
|
989
|
-
const
|
|
990
|
-
if (
|
|
991
|
-
const r = new
|
|
992
|
-
|
|
1008
|
+
}(Ct);
|
|
1009
|
+
const st = [], at = {}, zr = (e, t = 0) => {
|
|
1010
|
+
if (st.indexOf(e) == -1) {
|
|
1011
|
+
const r = new Wr(t);
|
|
1012
|
+
at[e] = r, st.push(e);
|
|
993
1013
|
}
|
|
994
|
-
return
|
|
995
|
-
},
|
|
996
|
-
function
|
|
1014
|
+
return at[e];
|
|
1015
|
+
}, G = [];
|
|
1016
|
+
function Zr(e, t) {
|
|
997
1017
|
return {
|
|
998
1018
|
subscribe: ve(e, t).subscribe
|
|
999
1019
|
};
|
|
@@ -1002,14 +1022,14 @@ function ve(e, t = B) {
|
|
|
1002
1022
|
let r;
|
|
1003
1023
|
const n = /* @__PURE__ */ new Set();
|
|
1004
1024
|
function i(a) {
|
|
1005
|
-
if (
|
|
1006
|
-
const h = !
|
|
1025
|
+
if (Ht(e, a) && (e = a, r)) {
|
|
1026
|
+
const h = !G.length;
|
|
1007
1027
|
for (const u of n)
|
|
1008
|
-
u[1](),
|
|
1028
|
+
u[1](), G.push(u, e);
|
|
1009
1029
|
if (h) {
|
|
1010
|
-
for (let u = 0; u <
|
|
1011
|
-
|
|
1012
|
-
|
|
1030
|
+
for (let u = 0; u < G.length; u += 2)
|
|
1031
|
+
G[u][0](G[u + 1]);
|
|
1032
|
+
G.length = 0;
|
|
1013
1033
|
}
|
|
1014
1034
|
}
|
|
1015
1035
|
}
|
|
@@ -1029,7 +1049,7 @@ function Q(e, t, r) {
|
|
|
1029
1049
|
if (!i.every(Boolean))
|
|
1030
1050
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1031
1051
|
const o = t.length < 2;
|
|
1032
|
-
return
|
|
1052
|
+
return Zr(r, (s, a) => {
|
|
1033
1053
|
let h = !1;
|
|
1034
1054
|
const u = [];
|
|
1035
1055
|
let l = 0, f = B;
|
|
@@ -1038,9 +1058,9 @@ function Q(e, t, r) {
|
|
|
1038
1058
|
return;
|
|
1039
1059
|
f();
|
|
1040
1060
|
const d = t(n ? u[0] : u, s, a);
|
|
1041
|
-
o ? s(d) : f =
|
|
1061
|
+
o ? s(d) : f = Ze(d) ? d : B;
|
|
1042
1062
|
}, p = i.map(
|
|
1043
|
-
(d, v) =>
|
|
1063
|
+
(d, v) => Bt(
|
|
1044
1064
|
d,
|
|
1045
1065
|
(H) => {
|
|
1046
1066
|
u[v] = H, l &= ~(1 << v), h && c();
|
|
@@ -1055,70 +1075,70 @@ function Q(e, t, r) {
|
|
|
1055
1075
|
};
|
|
1056
1076
|
});
|
|
1057
1077
|
}
|
|
1058
|
-
function
|
|
1078
|
+
function Qr(e) {
|
|
1059
1079
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1060
1080
|
}
|
|
1061
|
-
var
|
|
1062
|
-
return
|
|
1081
|
+
var qr = function(t) {
|
|
1082
|
+
return Jr(t) && !Yr(t);
|
|
1063
1083
|
};
|
|
1064
|
-
function
|
|
1084
|
+
function Jr(e) {
|
|
1065
1085
|
return !!e && typeof e == "object";
|
|
1066
1086
|
}
|
|
1067
|
-
function
|
|
1087
|
+
function Yr(e) {
|
|
1068
1088
|
var t = Object.prototype.toString.call(e);
|
|
1069
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1089
|
+
return t === "[object RegExp]" || t === "[object Date]" || tn(e);
|
|
1070
1090
|
}
|
|
1071
|
-
var
|
|
1072
|
-
function
|
|
1073
|
-
return e.$$typeof ===
|
|
1091
|
+
var Kr = typeof Symbol == "function" && Symbol.for, en = Kr ? Symbol.for("react.element") : 60103;
|
|
1092
|
+
function tn(e) {
|
|
1093
|
+
return e.$$typeof === en;
|
|
1074
1094
|
}
|
|
1075
|
-
function
|
|
1095
|
+
function rn(e) {
|
|
1076
1096
|
return Array.isArray(e) ? [] : {};
|
|
1077
1097
|
}
|
|
1078
1098
|
function re(e, t) {
|
|
1079
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? V(
|
|
1099
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? V(rn(e), e, t) : e;
|
|
1080
1100
|
}
|
|
1081
|
-
function
|
|
1101
|
+
function nn(e, t, r) {
|
|
1082
1102
|
return e.concat(t).map(function(n) {
|
|
1083
1103
|
return re(n, r);
|
|
1084
1104
|
});
|
|
1085
1105
|
}
|
|
1086
|
-
function
|
|
1106
|
+
function on(e, t) {
|
|
1087
1107
|
if (!t.customMerge)
|
|
1088
1108
|
return V;
|
|
1089
1109
|
var r = t.customMerge(e);
|
|
1090
1110
|
return typeof r == "function" ? r : V;
|
|
1091
1111
|
}
|
|
1092
|
-
function
|
|
1112
|
+
function sn(e) {
|
|
1093
1113
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1094
1114
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1095
1115
|
}) : [];
|
|
1096
1116
|
}
|
|
1097
|
-
function
|
|
1098
|
-
return Object.keys(e).concat(
|
|
1117
|
+
function ut(e) {
|
|
1118
|
+
return Object.keys(e).concat(sn(e));
|
|
1099
1119
|
}
|
|
1100
|
-
function
|
|
1120
|
+
function Rt(e, t) {
|
|
1101
1121
|
try {
|
|
1102
1122
|
return t in e;
|
|
1103
1123
|
} catch {
|
|
1104
1124
|
return !1;
|
|
1105
1125
|
}
|
|
1106
1126
|
}
|
|
1107
|
-
function
|
|
1108
|
-
return
|
|
1127
|
+
function an(e, t) {
|
|
1128
|
+
return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1109
1129
|
}
|
|
1110
|
-
function
|
|
1130
|
+
function un(e, t, r) {
|
|
1111
1131
|
var n = {};
|
|
1112
|
-
return r.isMergeableObject(e) &&
|
|
1132
|
+
return r.isMergeableObject(e) && ut(e).forEach(function(i) {
|
|
1113
1133
|
n[i] = re(e[i], r);
|
|
1114
|
-
}),
|
|
1115
|
-
|
|
1134
|
+
}), ut(t).forEach(function(i) {
|
|
1135
|
+
an(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = on(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
|
|
1116
1136
|
}), n;
|
|
1117
1137
|
}
|
|
1118
1138
|
function V(e, t, r) {
|
|
1119
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1139
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || qr, r.cloneUnlessOtherwiseSpecified = re;
|
|
1120
1140
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1121
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1141
|
+
return o ? n ? r.arrayMerge(e, t, r) : un(e, t, r) : re(t, r);
|
|
1122
1142
|
}
|
|
1123
1143
|
V.all = function(t, r) {
|
|
1124
1144
|
if (!Array.isArray(t))
|
|
@@ -1127,56 +1147,58 @@ V.all = function(t, r) {
|
|
|
1127
1147
|
return V(n, i, r);
|
|
1128
1148
|
}, {});
|
|
1129
1149
|
};
|
|
1130
|
-
var
|
|
1131
|
-
const
|
|
1132
|
-
function
|
|
1133
|
-
var r = t && t.cache ? t.cache :
|
|
1150
|
+
var hn = V, ln = hn;
|
|
1151
|
+
const cn = /* @__PURE__ */ Qr(ln);
|
|
1152
|
+
function we(e, t) {
|
|
1153
|
+
var r = t && t.cache ? t.cache : gn, n = t && t.serializer ? t.serializer : bn, i = t && t.strategy ? t.strategy : pn;
|
|
1134
1154
|
return i(e, {
|
|
1135
1155
|
cache: r,
|
|
1136
1156
|
serializer: n
|
|
1137
1157
|
});
|
|
1138
1158
|
}
|
|
1139
|
-
function
|
|
1159
|
+
function fn(e) {
|
|
1140
1160
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1141
1161
|
}
|
|
1142
|
-
function
|
|
1143
|
-
var i =
|
|
1162
|
+
function Ut(e, t, r, n) {
|
|
1163
|
+
var i = fn(n) ? n : r(n), o = t.get(i);
|
|
1144
1164
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1145
1165
|
}
|
|
1146
|
-
function
|
|
1166
|
+
function Dt(e, t, r) {
|
|
1147
1167
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1148
1168
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1149
1169
|
}
|
|
1150
|
-
function
|
|
1170
|
+
function Qe(e, t, r, n, i) {
|
|
1151
1171
|
return r.bind(t, e, n, i);
|
|
1152
1172
|
}
|
|
1153
|
-
function
|
|
1154
|
-
var r = e.length === 1 ?
|
|
1155
|
-
return
|
|
1173
|
+
function pn(e, t) {
|
|
1174
|
+
var r = e.length === 1 ? Ut : Dt;
|
|
1175
|
+
return Qe(e, this, r, t.cache.create(), t.serializer);
|
|
1176
|
+
}
|
|
1177
|
+
function dn(e, t) {
|
|
1178
|
+
return Qe(e, this, Dt, t.cache.create(), t.serializer);
|
|
1156
1179
|
}
|
|
1157
|
-
function
|
|
1158
|
-
return
|
|
1180
|
+
function mn(e, t) {
|
|
1181
|
+
return Qe(e, this, Ut, t.cache.create(), t.serializer);
|
|
1159
1182
|
}
|
|
1160
|
-
var
|
|
1183
|
+
var bn = function() {
|
|
1161
1184
|
return JSON.stringify(arguments);
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
}()
|
|
1174
|
-
), dn = {
|
|
1185
|
+
};
|
|
1186
|
+
function qe() {
|
|
1187
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1188
|
+
}
|
|
1189
|
+
qe.prototype.get = function(e) {
|
|
1190
|
+
return this.cache[e];
|
|
1191
|
+
};
|
|
1192
|
+
qe.prototype.set = function(e, t) {
|
|
1193
|
+
this.cache[e] = t;
|
|
1194
|
+
};
|
|
1195
|
+
var gn = {
|
|
1175
1196
|
create: function() {
|
|
1176
|
-
return new
|
|
1197
|
+
return new qe();
|
|
1177
1198
|
}
|
|
1178
|
-
},
|
|
1179
|
-
variadic:
|
|
1199
|
+
}, Ae = {
|
|
1200
|
+
variadic: dn,
|
|
1201
|
+
monadic: mn
|
|
1180
1202
|
}, m;
|
|
1181
1203
|
(function(e) {
|
|
1182
1204
|
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";
|
|
@@ -1189,43 +1211,43 @@ var X;
|
|
|
1189
1211
|
(function(e) {
|
|
1190
1212
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1191
1213
|
})(X || (X = {}));
|
|
1192
|
-
function
|
|
1214
|
+
function ht(e) {
|
|
1193
1215
|
return e.type === _.literal;
|
|
1194
1216
|
}
|
|
1195
|
-
function
|
|
1217
|
+
function yn(e) {
|
|
1196
1218
|
return e.type === _.argument;
|
|
1197
1219
|
}
|
|
1198
|
-
function
|
|
1220
|
+
function Gt(e) {
|
|
1199
1221
|
return e.type === _.number;
|
|
1200
1222
|
}
|
|
1201
|
-
function
|
|
1223
|
+
function Ft(e) {
|
|
1202
1224
|
return e.type === _.date;
|
|
1203
1225
|
}
|
|
1204
|
-
function
|
|
1226
|
+
function jt(e) {
|
|
1205
1227
|
return e.type === _.time;
|
|
1206
1228
|
}
|
|
1207
|
-
function
|
|
1229
|
+
function kt(e) {
|
|
1208
1230
|
return e.type === _.select;
|
|
1209
1231
|
}
|
|
1210
|
-
function
|
|
1232
|
+
function Vt(e) {
|
|
1211
1233
|
return e.type === _.plural;
|
|
1212
1234
|
}
|
|
1213
|
-
function
|
|
1235
|
+
function vn(e) {
|
|
1214
1236
|
return e.type === _.pound;
|
|
1215
1237
|
}
|
|
1216
|
-
function
|
|
1238
|
+
function Xt(e) {
|
|
1217
1239
|
return e.type === _.tag;
|
|
1218
1240
|
}
|
|
1219
|
-
function
|
|
1241
|
+
function Wt(e) {
|
|
1220
1242
|
return !!(e && typeof e == "object" && e.type === X.number);
|
|
1221
1243
|
}
|
|
1222
1244
|
function Ge(e) {
|
|
1223
1245
|
return !!(e && typeof e == "object" && e.type === X.dateTime);
|
|
1224
1246
|
}
|
|
1225
|
-
var
|
|
1226
|
-
function
|
|
1247
|
+
var zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _n = /(?:[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;
|
|
1248
|
+
function En(e) {
|
|
1227
1249
|
var t = {};
|
|
1228
|
-
return e.replace(
|
|
1250
|
+
return e.replace(_n, function(r) {
|
|
1229
1251
|
var n = r.length;
|
|
1230
1252
|
switch (r[0]) {
|
|
1231
1253
|
case "G":
|
|
@@ -1314,11 +1336,11 @@ function yn(e) {
|
|
|
1314
1336
|
return "";
|
|
1315
1337
|
}), t;
|
|
1316
1338
|
}
|
|
1317
|
-
var
|
|
1318
|
-
function
|
|
1339
|
+
var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1340
|
+
function Sn(e) {
|
|
1319
1341
|
if (e.length === 0)
|
|
1320
1342
|
throw new Error("Number skeleton cannot be empty");
|
|
1321
|
-
for (var t = e.split(
|
|
1343
|
+
for (var t = e.split(xn).filter(function(c) {
|
|
1322
1344
|
return c.length > 0;
|
|
1323
1345
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1324
1346
|
var o = i[n], s = o.split("/");
|
|
@@ -1333,17 +1355,17 @@ function _n(e) {
|
|
|
1333
1355
|
}
|
|
1334
1356
|
return r;
|
|
1335
1357
|
}
|
|
1336
|
-
function
|
|
1358
|
+
function Tn(e) {
|
|
1337
1359
|
return e.replace(/^(.*?)-/, "");
|
|
1338
1360
|
}
|
|
1339
|
-
var
|
|
1340
|
-
function
|
|
1361
|
+
var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
|
|
1362
|
+
function ct(e) {
|
|
1341
1363
|
var t = {};
|
|
1342
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1364
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, function(r, n, i) {
|
|
1343
1365
|
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)), "";
|
|
1344
1366
|
}), t;
|
|
1345
1367
|
}
|
|
1346
|
-
function
|
|
1368
|
+
function qt(e) {
|
|
1347
1369
|
switch (e) {
|
|
1348
1370
|
case "sign-auto":
|
|
1349
1371
|
return {
|
|
@@ -1383,7 +1405,7 @@ function Wt(e) {
|
|
|
1383
1405
|
};
|
|
1384
1406
|
}
|
|
1385
1407
|
}
|
|
1386
|
-
function
|
|
1408
|
+
function Bn(e) {
|
|
1387
1409
|
var t;
|
|
1388
1410
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1389
1411
|
notation: "engineering"
|
|
@@ -1391,17 +1413,17 @@ function Sn(e) {
|
|
|
1391
1413
|
notation: "scientific"
|
|
1392
1414
|
}, e = e.slice(1)), t) {
|
|
1393
1415
|
var r = e.slice(0, 2);
|
|
1394
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1416
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
|
|
1395
1417
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1396
1418
|
t.minimumIntegerDigits = e.length;
|
|
1397
1419
|
}
|
|
1398
1420
|
return t;
|
|
1399
1421
|
}
|
|
1400
|
-
function
|
|
1401
|
-
var t = {}, r =
|
|
1422
|
+
function ft(e) {
|
|
1423
|
+
var t = {}, r = qt(e);
|
|
1402
1424
|
return r || t;
|
|
1403
1425
|
}
|
|
1404
|
-
function
|
|
1426
|
+
function wn(e) {
|
|
1405
1427
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1406
1428
|
var i = n[r];
|
|
1407
1429
|
switch (i.stem) {
|
|
@@ -1425,7 +1447,7 @@ function Tn(e) {
|
|
|
1425
1447
|
continue;
|
|
1426
1448
|
case "measure-unit":
|
|
1427
1449
|
case "unit":
|
|
1428
|
-
t.style = "unit", t.unit =
|
|
1450
|
+
t.style = "unit", t.unit = Tn(i.options[0]);
|
|
1429
1451
|
continue;
|
|
1430
1452
|
case "compact-short":
|
|
1431
1453
|
case "K":
|
|
@@ -1437,12 +1459,12 @@ function Tn(e) {
|
|
|
1437
1459
|
continue;
|
|
1438
1460
|
case "scientific":
|
|
1439
1461
|
t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1440
|
-
return g(g({}, h),
|
|
1462
|
+
return g(g({}, h), ft(u));
|
|
1441
1463
|
}, {}));
|
|
1442
1464
|
continue;
|
|
1443
1465
|
case "engineering":
|
|
1444
1466
|
t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1445
|
-
return g(g({}, h),
|
|
1467
|
+
return g(g({}, h), ft(u));
|
|
1446
1468
|
}, {}));
|
|
1447
1469
|
continue;
|
|
1448
1470
|
case "notation-simple":
|
|
@@ -1487,7 +1509,7 @@ function Tn(e) {
|
|
|
1487
1509
|
case "integer-width":
|
|
1488
1510
|
if (i.options.length > 1)
|
|
1489
1511
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1490
|
-
i.options[0].replace(
|
|
1512
|
+
i.options[0].replace(Hn, function(h, u, l, f, c, p) {
|
|
1491
1513
|
if (u)
|
|
1492
1514
|
t.minimumIntegerDigits = l.length;
|
|
1493
1515
|
else {
|
|
@@ -1500,27 +1522,27 @@ function Tn(e) {
|
|
|
1500
1522
|
});
|
|
1501
1523
|
continue;
|
|
1502
1524
|
}
|
|
1503
|
-
if (
|
|
1525
|
+
if (Qt.test(i.stem)) {
|
|
1504
1526
|
t.minimumIntegerDigits = i.stem.length;
|
|
1505
1527
|
continue;
|
|
1506
1528
|
}
|
|
1507
|
-
if (
|
|
1529
|
+
if (lt.test(i.stem)) {
|
|
1508
1530
|
if (i.options.length > 1)
|
|
1509
1531
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1510
|
-
i.stem.replace(
|
|
1532
|
+
i.stem.replace(lt, function(h, u, l, f, c, p) {
|
|
1511
1533
|
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), "";
|
|
1512
1534
|
});
|
|
1513
1535
|
var o = i.options[0];
|
|
1514
|
-
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t),
|
|
1536
|
+
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), ct(o)));
|
|
1515
1537
|
continue;
|
|
1516
1538
|
}
|
|
1517
|
-
if (
|
|
1518
|
-
t = g(g({}, t),
|
|
1539
|
+
if (Zt.test(i.stem)) {
|
|
1540
|
+
t = g(g({}, t), ct(i.stem));
|
|
1519
1541
|
continue;
|
|
1520
1542
|
}
|
|
1521
|
-
var s =
|
|
1543
|
+
var s = qt(i.stem);
|
|
1522
1544
|
s && (t = g(g({}, t), s));
|
|
1523
|
-
var a =
|
|
1545
|
+
var a = Bn(i.stem);
|
|
1524
1546
|
a && (t = g(g({}, t), a));
|
|
1525
1547
|
}
|
|
1526
1548
|
return t;
|
|
@@ -2940,13 +2962,13 @@ var le = {
|
|
|
2940
2962
|
"h"
|
|
2941
2963
|
]
|
|
2942
2964
|
};
|
|
2943
|
-
function
|
|
2965
|
+
function An(e, t) {
|
|
2944
2966
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2945
2967
|
var i = e.charAt(n);
|
|
2946
2968
|
if (i === "j") {
|
|
2947
2969
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2948
2970
|
o++, n++;
|
|
2949
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2971
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Pn(t);
|
|
2950
2972
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2951
2973
|
r += h;
|
|
2952
2974
|
for (; s-- > 0; )
|
|
@@ -2956,7 +2978,7 @@ function Hn(e, t) {
|
|
|
2956
2978
|
}
|
|
2957
2979
|
return r;
|
|
2958
2980
|
}
|
|
2959
|
-
function
|
|
2981
|
+
function Pn(e) {
|
|
2960
2982
|
var t = e.hourCycle;
|
|
2961
2983
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2962
2984
|
e.hourCycles && // @ts-ignore
|
|
@@ -2978,20 +3000,20 @@ function Bn(e) {
|
|
|
2978
3000
|
var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
|
|
2979
3001
|
return i[0];
|
|
2980
3002
|
}
|
|
2981
|
-
var
|
|
3003
|
+
var Pe, On = new RegExp("^".concat(zt.source, "*")), In = new RegExp("".concat(zt.source, "*$"));
|
|
2982
3004
|
function b(e, t) {
|
|
2983
3005
|
return { start: e, end: t };
|
|
2984
3006
|
}
|
|
2985
|
-
var
|
|
3007
|
+
var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, Mn = !!Object.fromEntries, Cn = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Dn = Un ? Number.isSafeInteger : function(e) {
|
|
2986
3008
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2987
|
-
},
|
|
3009
|
+
}, Fe = !0;
|
|
2988
3010
|
try {
|
|
2989
|
-
var
|
|
2990
|
-
|
|
3011
|
+
var Gn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3012
|
+
Fe = ((Pe = Gn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
|
|
2991
3013
|
} catch {
|
|
2992
|
-
|
|
3014
|
+
Fe = !1;
|
|
2993
3015
|
}
|
|
2994
|
-
var
|
|
3016
|
+
var pt = Ln ? (
|
|
2995
3017
|
// Native
|
|
2996
3018
|
function(t, r, n) {
|
|
2997
3019
|
return t.startsWith(r, n);
|
|
@@ -3001,7 +3023,7 @@ var lt = Pn ? (
|
|
|
3001
3023
|
function(t, r, n) {
|
|
3002
3024
|
return t.slice(n, n + r.length) === r;
|
|
3003
3025
|
}
|
|
3004
|
-
),
|
|
3026
|
+
), je = Nn ? String.fromCodePoint : (
|
|
3005
3027
|
// IE11
|
|
3006
3028
|
function() {
|
|
3007
3029
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3013,9 +3035,9 @@ var lt = Pn ? (
|
|
|
3013
3035
|
}
|
|
3014
3036
|
return n;
|
|
3015
3037
|
}
|
|
3016
|
-
),
|
|
3038
|
+
), dt = (
|
|
3017
3039
|
// native
|
|
3018
|
-
|
|
3040
|
+
Mn ? Object.fromEntries : (
|
|
3019
3041
|
// Ponyfill
|
|
3020
3042
|
function(t) {
|
|
3021
3043
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3025,7 +3047,7 @@ var lt = Pn ? (
|
|
|
3025
3047
|
return r;
|
|
3026
3048
|
}
|
|
3027
3049
|
)
|
|
3028
|
-
),
|
|
3050
|
+
), Jt = Cn ? (
|
|
3029
3051
|
// Native
|
|
3030
3052
|
function(t, r) {
|
|
3031
3053
|
return t.codePointAt(r);
|
|
@@ -3039,7 +3061,7 @@ var lt = Pn ? (
|
|
|
3039
3061
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3040
3062
|
}
|
|
3041
3063
|
}
|
|
3042
|
-
),
|
|
3064
|
+
), Fn = $n ? (
|
|
3043
3065
|
// Native
|
|
3044
3066
|
function(t) {
|
|
3045
3067
|
return t.trimStart();
|
|
@@ -3047,9 +3069,9 @@ var lt = Pn ? (
|
|
|
3047
3069
|
) : (
|
|
3048
3070
|
// Ponyfill
|
|
3049
3071
|
function(t) {
|
|
3050
|
-
return t.replace(
|
|
3072
|
+
return t.replace(On, "");
|
|
3051
3073
|
}
|
|
3052
|
-
),
|
|
3074
|
+
), jn = Rn ? (
|
|
3053
3075
|
// Native
|
|
3054
3076
|
function(t) {
|
|
3055
3077
|
return t.trimEnd();
|
|
@@ -3057,32 +3079,32 @@ var lt = Pn ? (
|
|
|
3057
3079
|
) : (
|
|
3058
3080
|
// Ponyfill
|
|
3059
3081
|
function(t) {
|
|
3060
|
-
return t.replace(
|
|
3082
|
+
return t.replace(In, "");
|
|
3061
3083
|
}
|
|
3062
3084
|
);
|
|
3063
|
-
function
|
|
3085
|
+
function Yt(e, t) {
|
|
3064
3086
|
return new RegExp(e, t);
|
|
3065
3087
|
}
|
|
3066
|
-
var
|
|
3067
|
-
if (
|
|
3068
|
-
var
|
|
3069
|
-
|
|
3088
|
+
var ke;
|
|
3089
|
+
if (Fe) {
|
|
3090
|
+
var mt = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3091
|
+
ke = function(t, r) {
|
|
3070
3092
|
var n;
|
|
3071
|
-
|
|
3072
|
-
var i =
|
|
3093
|
+
mt.lastIndex = r;
|
|
3094
|
+
var i = mt.exec(t);
|
|
3073
3095
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3074
3096
|
};
|
|
3075
3097
|
} else
|
|
3076
|
-
|
|
3098
|
+
ke = function(t, r) {
|
|
3077
3099
|
for (var n = []; ; ) {
|
|
3078
|
-
var i =
|
|
3079
|
-
if (i === void 0 ||
|
|
3100
|
+
var i = Jt(t, r);
|
|
3101
|
+
if (i === void 0 || Kt(i) || Wn(i))
|
|
3080
3102
|
break;
|
|
3081
3103
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3082
3104
|
}
|
|
3083
|
-
return
|
|
3105
|
+
return je.apply(void 0, n);
|
|
3084
3106
|
};
|
|
3085
|
-
var
|
|
3107
|
+
var kn = (
|
|
3086
3108
|
/** @class */
|
|
3087
3109
|
function() {
|
|
3088
3110
|
function e(t, r) {
|
|
@@ -3113,7 +3135,7 @@ var Dn = (
|
|
|
3113
3135
|
if (n)
|
|
3114
3136
|
break;
|
|
3115
3137
|
return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
3116
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3138
|
+
} else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
|
|
3117
3139
|
var s = this.parseTag(t, r);
|
|
3118
3140
|
if (s.err)
|
|
3119
3141
|
return s;
|
|
@@ -3146,7 +3168,7 @@ var Dn = (
|
|
|
3146
3168
|
return o;
|
|
3147
3169
|
var s = o.val, a = this.clonePosition();
|
|
3148
3170
|
if (this.bumpIf("</")) {
|
|
3149
|
-
if (this.isEOF() || !
|
|
3171
|
+
if (this.isEOF() || !Ve(this.char()))
|
|
3150
3172
|
return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
|
|
3151
3173
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3152
3174
|
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3164,7 +3186,7 @@ var Dn = (
|
|
|
3164
3186
|
return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
|
|
3165
3187
|
}, e.prototype.parseTagName = function() {
|
|
3166
3188
|
var t = this.offset();
|
|
3167
|
-
for (this.bump(); !this.isEOF() &&
|
|
3189
|
+
for (this.bump(); !this.isEOF() && Xn(this.char()); )
|
|
3168
3190
|
this.bump();
|
|
3169
3191
|
return this.message.slice(t, this.offset());
|
|
3170
3192
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3193,7 +3215,7 @@ var Dn = (
|
|
|
3193
3215
|
};
|
|
3194
3216
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3195
3217
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3196
|
-
!
|
|
3218
|
+
!Vn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3197
3219
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3198
3220
|
if (this.isEOF() || this.char() !== 39)
|
|
3199
3221
|
return null;
|
|
@@ -3227,12 +3249,12 @@ var Dn = (
|
|
|
3227
3249
|
r.push(n);
|
|
3228
3250
|
this.bump();
|
|
3229
3251
|
}
|
|
3230
|
-
return
|
|
3252
|
+
return je.apply(void 0, r);
|
|
3231
3253
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3232
3254
|
if (this.isEOF())
|
|
3233
3255
|
return null;
|
|
3234
3256
|
var n = this.char();
|
|
3235
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3257
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
|
|
3236
3258
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3237
3259
|
var n = this.clonePosition();
|
|
3238
3260
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3261,7 +3283,7 @@ var Dn = (
|
|
|
3261
3283
|
return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3262
3284
|
}
|
|
3263
3285
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3264
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3286
|
+
var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
|
|
3265
3287
|
this.bumpTo(i);
|
|
3266
3288
|
var o = this.clonePosition(), s = b(t, o);
|
|
3267
3289
|
return { value: n, location: s };
|
|
@@ -3280,7 +3302,7 @@ var Dn = (
|
|
|
3280
3302
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3281
3303
|
if (f.err)
|
|
3282
3304
|
return f;
|
|
3283
|
-
var c =
|
|
3305
|
+
var c = jn(f.val);
|
|
3284
3306
|
if (c.length === 0)
|
|
3285
3307
|
return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
3286
3308
|
var p = b(l, this.clonePosition());
|
|
@@ -3290,8 +3312,8 @@ var Dn = (
|
|
|
3290
3312
|
if (d.err)
|
|
3291
3313
|
return d;
|
|
3292
3314
|
var v = b(i, this.clonePosition());
|
|
3293
|
-
if (u &&
|
|
3294
|
-
var H =
|
|
3315
|
+
if (u && pt(u?.style, "::", 0)) {
|
|
3316
|
+
var H = Fn(u.style.slice(2));
|
|
3295
3317
|
if (a === "number") {
|
|
3296
3318
|
var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
|
|
3297
3319
|
return f.err ? f : {
|
|
@@ -3302,12 +3324,12 @@ var Dn = (
|
|
|
3302
3324
|
if (H.length === 0)
|
|
3303
3325
|
return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
|
|
3304
3326
|
var C = H;
|
|
3305
|
-
this.locale && (C =
|
|
3327
|
+
this.locale && (C = An(H, this.locale));
|
|
3306
3328
|
var c = {
|
|
3307
3329
|
type: X.dateTime,
|
|
3308
3330
|
pattern: C,
|
|
3309
3331
|
location: u.styleLocation,
|
|
3310
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3332
|
+
parsedOptions: this.shouldParseSkeletons ? En(C) : {}
|
|
3311
3333
|
}, L = a === "date" ? _.date : _.time;
|
|
3312
3334
|
return {
|
|
3313
3335
|
val: { type: L, value: n, location: v, style: c },
|
|
@@ -3328,9 +3350,9 @@ var Dn = (
|
|
|
3328
3350
|
case "plural":
|
|
3329
3351
|
case "selectordinal":
|
|
3330
3352
|
case "select": {
|
|
3331
|
-
var
|
|
3353
|
+
var x = this.clonePosition();
|
|
3332
3354
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3333
|
-
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(
|
|
3355
|
+
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x, g({}, x)));
|
|
3334
3356
|
this.bumpSpace();
|
|
3335
3357
|
var $ = this.parseIdentifierIfPossible(), A = 0;
|
|
3336
3358
|
if (a !== "select" && $.value === "offset") {
|
|
@@ -3353,7 +3375,7 @@ var Dn = (
|
|
|
3353
3375
|
val: {
|
|
3354
3376
|
type: _.select,
|
|
3355
3377
|
value: n,
|
|
3356
|
-
options:
|
|
3378
|
+
options: dt(U.val),
|
|
3357
3379
|
location: ae
|
|
3358
3380
|
},
|
|
3359
3381
|
err: null
|
|
@@ -3361,7 +3383,7 @@ var Dn = (
|
|
|
3361
3383
|
val: {
|
|
3362
3384
|
type: _.plural,
|
|
3363
3385
|
value: n,
|
|
3364
|
-
options:
|
|
3386
|
+
options: dt(U.val),
|
|
3365
3387
|
offset: A,
|
|
3366
3388
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3367
3389
|
location: ae
|
|
@@ -3412,7 +3434,7 @@ var Dn = (
|
|
|
3412
3434
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3413
3435
|
var n = [];
|
|
3414
3436
|
try {
|
|
3415
|
-
n =
|
|
3437
|
+
n = Sn(t);
|
|
3416
3438
|
} catch {
|
|
3417
3439
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
3418
3440
|
}
|
|
@@ -3421,7 +3443,7 @@ var Dn = (
|
|
|
3421
3443
|
type: X.number,
|
|
3422
3444
|
tokens: n,
|
|
3423
3445
|
location: r,
|
|
3424
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3446
|
+
parsedOptions: this.shouldParseSkeletons ? wn(n) : {}
|
|
3425
3447
|
},
|
|
3426
3448
|
err: null
|
|
3427
3449
|
};
|
|
@@ -3469,7 +3491,7 @@ var Dn = (
|
|
|
3469
3491
|
break;
|
|
3470
3492
|
}
|
|
3471
3493
|
var h = b(i, this.clonePosition());
|
|
3472
|
-
return o ? (s *= n,
|
|
3494
|
+
return o ? (s *= n, Dn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3473
3495
|
}, e.prototype.offset = function() {
|
|
3474
3496
|
return this.position.offset;
|
|
3475
3497
|
}, e.prototype.isEOF = function() {
|
|
@@ -3484,7 +3506,7 @@ var Dn = (
|
|
|
3484
3506
|
var t = this.position.offset;
|
|
3485
3507
|
if (t >= this.message.length)
|
|
3486
3508
|
throw Error("out of bound");
|
|
3487
|
-
var r =
|
|
3509
|
+
var r = Jt(this.message, t);
|
|
3488
3510
|
if (r === void 0)
|
|
3489
3511
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3490
3512
|
return r;
|
|
@@ -3503,7 +3525,7 @@ var Dn = (
|
|
|
3503
3525
|
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);
|
|
3504
3526
|
}
|
|
3505
3527
|
}, e.prototype.bumpIf = function(t) {
|
|
3506
|
-
if (
|
|
3528
|
+
if (pt(this.message, t, this.offset())) {
|
|
3507
3529
|
for (var r = 0; r < t.length; r++)
|
|
3508
3530
|
this.bump();
|
|
3509
3531
|
return !0;
|
|
@@ -3525,7 +3547,7 @@ var Dn = (
|
|
|
3525
3547
|
break;
|
|
3526
3548
|
}
|
|
3527
3549
|
}, e.prototype.bumpSpace = function() {
|
|
3528
|
-
for (; !this.isEOF() &&
|
|
3550
|
+
for (; !this.isEOF() && Kt(this.char()); )
|
|
3529
3551
|
this.bump();
|
|
3530
3552
|
}, e.prototype.peek = function() {
|
|
3531
3553
|
if (this.isEOF())
|
|
@@ -3535,38 +3557,38 @@ var Dn = (
|
|
|
3535
3557
|
}, e;
|
|
3536
3558
|
}()
|
|
3537
3559
|
);
|
|
3538
|
-
function
|
|
3560
|
+
function Ve(e) {
|
|
3539
3561
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3540
3562
|
}
|
|
3541
|
-
function
|
|
3542
|
-
return
|
|
3563
|
+
function Vn(e) {
|
|
3564
|
+
return Ve(e) || e === 47;
|
|
3543
3565
|
}
|
|
3544
|
-
function
|
|
3566
|
+
function Xn(e) {
|
|
3545
3567
|
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;
|
|
3546
3568
|
}
|
|
3547
|
-
function
|
|
3569
|
+
function Kt(e) {
|
|
3548
3570
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3549
3571
|
}
|
|
3550
|
-
function
|
|
3572
|
+
function Wn(e) {
|
|
3551
3573
|
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;
|
|
3552
3574
|
}
|
|
3553
|
-
function
|
|
3575
|
+
function Xe(e) {
|
|
3554
3576
|
e.forEach(function(t) {
|
|
3555
|
-
if (delete t.location,
|
|
3577
|
+
if (delete t.location, kt(t) || Vt(t))
|
|
3556
3578
|
for (var r in t.options)
|
|
3557
|
-
delete t.options[r].location,
|
|
3579
|
+
delete t.options[r].location, Xe(t.options[r].value);
|
|
3558
3580
|
else
|
|
3559
|
-
|
|
3581
|
+
Gt(t) && Wt(t.style) || (Ft(t) || jt(t)) && Ge(t.style) ? delete t.style.location : Xt(t) && Xe(t.children);
|
|
3560
3582
|
});
|
|
3561
3583
|
}
|
|
3562
|
-
function
|
|
3584
|
+
function zn(e, t) {
|
|
3563
3585
|
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3564
|
-
var r = new
|
|
3586
|
+
var r = new kn(e, t).parse();
|
|
3565
3587
|
if (r.err) {
|
|
3566
3588
|
var n = SyntaxError(m[r.err.kind]);
|
|
3567
3589
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3568
3590
|
}
|
|
3569
|
-
return t?.captureLocation ||
|
|
3591
|
+
return t?.captureLocation || Xe(r.val), r.val;
|
|
3570
3592
|
}
|
|
3571
3593
|
var W;
|
|
3572
3594
|
(function(e) {
|
|
@@ -3584,7 +3606,7 @@ var _e = (
|
|
|
3584
3606
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3585
3607
|
}, t;
|
|
3586
3608
|
}(Error)
|
|
3587
|
-
),
|
|
3609
|
+
), bt = (
|
|
3588
3610
|
/** @class */
|
|
3589
3611
|
function(e) {
|
|
3590
3612
|
I(t, e);
|
|
@@ -3593,7 +3615,7 @@ var _e = (
|
|
|
3593
3615
|
}
|
|
3594
3616
|
return t;
|
|
3595
3617
|
}(_e)
|
|
3596
|
-
),
|
|
3618
|
+
), Zn = (
|
|
3597
3619
|
/** @class */
|
|
3598
3620
|
function(e) {
|
|
3599
3621
|
I(t, e);
|
|
@@ -3602,7 +3624,7 @@ var _e = (
|
|
|
3602
3624
|
}
|
|
3603
3625
|
return t;
|
|
3604
3626
|
}(_e)
|
|
3605
|
-
),
|
|
3627
|
+
), Qn = (
|
|
3606
3628
|
/** @class */
|
|
3607
3629
|
function(e) {
|
|
3608
3630
|
I(t, e);
|
|
@@ -3611,128 +3633,128 @@ var _e = (
|
|
|
3611
3633
|
}
|
|
3612
3634
|
return t;
|
|
3613
3635
|
}(_e)
|
|
3614
|
-
),
|
|
3636
|
+
), E;
|
|
3615
3637
|
(function(e) {
|
|
3616
3638
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3617
|
-
})(
|
|
3618
|
-
function
|
|
3639
|
+
})(E || (E = {}));
|
|
3640
|
+
function qn(e) {
|
|
3619
3641
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3620
3642
|
var n = t[t.length - 1];
|
|
3621
|
-
return !n || n.type !==
|
|
3643
|
+
return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
|
|
3622
3644
|
}, []);
|
|
3623
3645
|
}
|
|
3624
|
-
function
|
|
3646
|
+
function Jn(e) {
|
|
3625
3647
|
return typeof e == "function";
|
|
3626
3648
|
}
|
|
3627
3649
|
function pe(e, t, r, n, i, o, s) {
|
|
3628
|
-
if (e.length === 1 &&
|
|
3650
|
+
if (e.length === 1 && ht(e[0]))
|
|
3629
3651
|
return [
|
|
3630
3652
|
{
|
|
3631
|
-
type:
|
|
3653
|
+
type: E.literal,
|
|
3632
3654
|
value: e[0].value
|
|
3633
3655
|
}
|
|
3634
3656
|
];
|
|
3635
3657
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3636
3658
|
var l = u[h];
|
|
3637
|
-
if (
|
|
3659
|
+
if (ht(l)) {
|
|
3638
3660
|
a.push({
|
|
3639
|
-
type:
|
|
3661
|
+
type: E.literal,
|
|
3640
3662
|
value: l.value
|
|
3641
3663
|
});
|
|
3642
3664
|
continue;
|
|
3643
3665
|
}
|
|
3644
|
-
if (
|
|
3666
|
+
if (vn(l)) {
|
|
3645
3667
|
typeof o == "number" && a.push({
|
|
3646
|
-
type:
|
|
3668
|
+
type: E.literal,
|
|
3647
3669
|
value: r.getNumberFormat(t).format(o)
|
|
3648
3670
|
});
|
|
3649
3671
|
continue;
|
|
3650
3672
|
}
|
|
3651
3673
|
var f = l.value;
|
|
3652
3674
|
if (!(i && f in i))
|
|
3653
|
-
throw new
|
|
3675
|
+
throw new Qn(f, s);
|
|
3654
3676
|
var c = i[f];
|
|
3655
|
-
if (
|
|
3677
|
+
if (yn(l)) {
|
|
3656
3678
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3657
|
-
type: typeof c == "string" ?
|
|
3679
|
+
type: typeof c == "string" ? E.literal : E.object,
|
|
3658
3680
|
value: c
|
|
3659
3681
|
});
|
|
3660
3682
|
continue;
|
|
3661
3683
|
}
|
|
3662
|
-
if (
|
|
3684
|
+
if (Ft(l)) {
|
|
3663
3685
|
var p = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
|
|
3664
3686
|
a.push({
|
|
3665
|
-
type:
|
|
3687
|
+
type: E.literal,
|
|
3666
3688
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3667
3689
|
});
|
|
3668
3690
|
continue;
|
|
3669
3691
|
}
|
|
3670
|
-
if (
|
|
3692
|
+
if (jt(l)) {
|
|
3671
3693
|
var p = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3672
3694
|
a.push({
|
|
3673
|
-
type:
|
|
3695
|
+
type: E.literal,
|
|
3674
3696
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3675
3697
|
});
|
|
3676
3698
|
continue;
|
|
3677
3699
|
}
|
|
3678
|
-
if (
|
|
3679
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3700
|
+
if (Gt(l)) {
|
|
3701
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Wt(l.style) ? l.style.parsedOptions : void 0;
|
|
3680
3702
|
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3681
|
-
type:
|
|
3703
|
+
type: E.literal,
|
|
3682
3704
|
value: r.getNumberFormat(t, p).format(c)
|
|
3683
3705
|
});
|
|
3684
3706
|
continue;
|
|
3685
3707
|
}
|
|
3686
|
-
if (
|
|
3708
|
+
if (Xt(l)) {
|
|
3687
3709
|
var d = l.children, v = l.value, H = i[v];
|
|
3688
|
-
if (!
|
|
3689
|
-
throw new
|
|
3710
|
+
if (!Jn(H))
|
|
3711
|
+
throw new Zn(v, "function", s);
|
|
3690
3712
|
var C = pe(d, t, r, n, i, o), L = H(C.map(function(A) {
|
|
3691
3713
|
return A.value;
|
|
3692
3714
|
}));
|
|
3693
3715
|
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(A) {
|
|
3694
3716
|
return {
|
|
3695
|
-
type: typeof A == "string" ?
|
|
3717
|
+
type: typeof A == "string" ? E.literal : E.object,
|
|
3696
3718
|
value: A
|
|
3697
3719
|
};
|
|
3698
3720
|
}));
|
|
3699
3721
|
}
|
|
3700
|
-
if (
|
|
3701
|
-
var
|
|
3702
|
-
if (!
|
|
3703
|
-
throw new
|
|
3704
|
-
a.push.apply(a, pe(
|
|
3722
|
+
if (kt(l)) {
|
|
3723
|
+
var x = l.options[c] || l.options.other;
|
|
3724
|
+
if (!x)
|
|
3725
|
+
throw new bt(l.value, c, Object.keys(l.options), s);
|
|
3726
|
+
a.push.apply(a, pe(x.value, t, r, n, i));
|
|
3705
3727
|
continue;
|
|
3706
3728
|
}
|
|
3707
|
-
if (
|
|
3708
|
-
var
|
|
3709
|
-
if (!
|
|
3729
|
+
if (Vt(l)) {
|
|
3730
|
+
var x = l.options["=".concat(c)];
|
|
3731
|
+
if (!x) {
|
|
3710
3732
|
if (!Intl.PluralRules)
|
|
3711
3733
|
throw new _e(`Intl.PluralRules is not available in this environment.
|
|
3712
3734
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3713
3735
|
`, W.MISSING_INTL_API, s);
|
|
3714
3736
|
var $ = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3715
|
-
|
|
3737
|
+
x = l.options[$] || l.options.other;
|
|
3716
3738
|
}
|
|
3717
|
-
if (!
|
|
3718
|
-
throw new
|
|
3719
|
-
a.push.apply(a, pe(
|
|
3739
|
+
if (!x)
|
|
3740
|
+
throw new bt(l.value, c, Object.keys(l.options), s);
|
|
3741
|
+
a.push.apply(a, pe(x.value, t, r, n, i, c - (l.offset || 0)));
|
|
3720
3742
|
continue;
|
|
3721
3743
|
}
|
|
3722
3744
|
}
|
|
3723
|
-
return
|
|
3745
|
+
return qn(a);
|
|
3724
3746
|
}
|
|
3725
|
-
function
|
|
3747
|
+
function Yn(e, t) {
|
|
3726
3748
|
return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3727
3749
|
return r[n] = g(g({}, e[n]), t[n] || {}), r;
|
|
3728
3750
|
}, {})) : e;
|
|
3729
3751
|
}
|
|
3730
|
-
function
|
|
3752
|
+
function Kn(e, t) {
|
|
3731
3753
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3732
|
-
return r[n] =
|
|
3754
|
+
return r[n] = Yn(e[n], t[n]), r;
|
|
3733
3755
|
}, g({}, e)) : e;
|
|
3734
3756
|
}
|
|
3735
|
-
function
|
|
3757
|
+
function Oe(e) {
|
|
3736
3758
|
return {
|
|
3737
3759
|
create: function() {
|
|
3738
3760
|
return {
|
|
@@ -3746,39 +3768,39 @@ function Pe(e) {
|
|
|
3746
3768
|
}
|
|
3747
3769
|
};
|
|
3748
3770
|
}
|
|
3749
|
-
function
|
|
3771
|
+
function ei(e) {
|
|
3750
3772
|
return e === void 0 && (e = {
|
|
3751
3773
|
number: {},
|
|
3752
3774
|
dateTime: {},
|
|
3753
3775
|
pluralRules: {}
|
|
3754
3776
|
}), {
|
|
3755
|
-
getNumberFormat:
|
|
3777
|
+
getNumberFormat: we(function() {
|
|
3756
3778
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3757
3779
|
r[n] = arguments[n];
|
|
3758
3780
|
return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
|
|
3759
3781
|
}, {
|
|
3760
|
-
cache:
|
|
3761
|
-
strategy:
|
|
3782
|
+
cache: Oe(e.number),
|
|
3783
|
+
strategy: Ae.variadic
|
|
3762
3784
|
}),
|
|
3763
|
-
getDateTimeFormat:
|
|
3785
|
+
getDateTimeFormat: we(function() {
|
|
3764
3786
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3765
3787
|
r[n] = arguments[n];
|
|
3766
3788
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
|
|
3767
3789
|
}, {
|
|
3768
|
-
cache:
|
|
3769
|
-
strategy:
|
|
3790
|
+
cache: Oe(e.dateTime),
|
|
3791
|
+
strategy: Ae.variadic
|
|
3770
3792
|
}),
|
|
3771
|
-
getPluralRules:
|
|
3793
|
+
getPluralRules: we(function() {
|
|
3772
3794
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3773
3795
|
r[n] = arguments[n];
|
|
3774
3796
|
return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
|
|
3775
3797
|
}, {
|
|
3776
|
-
cache:
|
|
3777
|
-
strategy:
|
|
3798
|
+
cache: Oe(e.pluralRules),
|
|
3799
|
+
strategy: Ae.variadic
|
|
3778
3800
|
})
|
|
3779
3801
|
};
|
|
3780
3802
|
}
|
|
3781
|
-
var
|
|
3803
|
+
var ti = (
|
|
3782
3804
|
/** @class */
|
|
3783
3805
|
function() {
|
|
3784
3806
|
function e(t, r, n, i) {
|
|
@@ -3793,7 +3815,7 @@ var Yn = (
|
|
|
3793
3815
|
if (u.length === 1)
|
|
3794
3816
|
return u[0].value;
|
|
3795
3817
|
var l = u.reduce(function(f, c) {
|
|
3796
|
-
return !f.length || c.type !==
|
|
3818
|
+
return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3797
3819
|
}, []);
|
|
3798
3820
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3799
3821
|
}, this.formatToParts = function(h) {
|
|
@@ -3810,13 +3832,13 @@ var Yn = (
|
|
|
3810
3832
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3811
3833
|
var s = i || {};
|
|
3812
3834
|
s.formatters;
|
|
3813
|
-
var a =
|
|
3835
|
+
var a = Nr(s, ["formatters"]);
|
|
3814
3836
|
this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
|
|
3815
3837
|
} else
|
|
3816
3838
|
this.ast = t;
|
|
3817
3839
|
if (!Array.isArray(this.ast))
|
|
3818
3840
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3819
|
-
this.formats =
|
|
3841
|
+
this.formats = Kn(e.formats, n), this.formatters = i && i.formatters || ei(this.formatterCache);
|
|
3820
3842
|
}
|
|
3821
3843
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3822
3844
|
get: function() {
|
|
@@ -3829,7 +3851,7 @@ var Yn = (
|
|
|
3829
3851
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3830
3852
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3831
3853
|
}
|
|
3832
|
-
}, e.__parse =
|
|
3854
|
+
}, e.__parse = zn, e.formats = {
|
|
3833
3855
|
number: {
|
|
3834
3856
|
integer: {
|
|
3835
3857
|
maximumFractionDigits: 0
|
|
@@ -3890,7 +3912,7 @@ var Yn = (
|
|
|
3890
3912
|
}, e;
|
|
3891
3913
|
}()
|
|
3892
3914
|
);
|
|
3893
|
-
function
|
|
3915
|
+
function ri(e, t) {
|
|
3894
3916
|
if (t == null)
|
|
3895
3917
|
return;
|
|
3896
3918
|
if (t in e)
|
|
@@ -3911,92 +3933,92 @@ function Kn(e, t) {
|
|
|
3911
3933
|
n = void 0;
|
|
3912
3934
|
return n;
|
|
3913
3935
|
}
|
|
3914
|
-
const M = {},
|
|
3936
|
+
const M = {}, ni = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), er = (e, t) => {
|
|
3915
3937
|
if (t == null)
|
|
3916
3938
|
return;
|
|
3917
3939
|
if (t in M && e in M[t])
|
|
3918
3940
|
return M[t][e];
|
|
3919
|
-
const r =
|
|
3941
|
+
const r = Ee(t);
|
|
3920
3942
|
for (let n = 0; n < r.length; n++) {
|
|
3921
|
-
const i = r[n], o =
|
|
3943
|
+
const i = r[n], o = oi(i, e);
|
|
3922
3944
|
if (o)
|
|
3923
|
-
return
|
|
3945
|
+
return ni(e, t, o);
|
|
3924
3946
|
}
|
|
3925
3947
|
};
|
|
3926
|
-
let
|
|
3948
|
+
let Je;
|
|
3927
3949
|
const se = ve({});
|
|
3928
|
-
function
|
|
3929
|
-
return
|
|
3950
|
+
function ii(e) {
|
|
3951
|
+
return Je[e] || null;
|
|
3930
3952
|
}
|
|
3931
|
-
function
|
|
3932
|
-
return e in
|
|
3953
|
+
function tr(e) {
|
|
3954
|
+
return e in Je;
|
|
3933
3955
|
}
|
|
3934
|
-
function
|
|
3935
|
-
if (!
|
|
3956
|
+
function oi(e, t) {
|
|
3957
|
+
if (!tr(e))
|
|
3936
3958
|
return null;
|
|
3937
|
-
const r =
|
|
3938
|
-
return
|
|
3959
|
+
const r = ii(e);
|
|
3960
|
+
return ri(r, t);
|
|
3939
3961
|
}
|
|
3940
|
-
function
|
|
3962
|
+
function si(e) {
|
|
3941
3963
|
if (e == null)
|
|
3942
3964
|
return;
|
|
3943
|
-
const t =
|
|
3965
|
+
const t = Ee(e);
|
|
3944
3966
|
for (let r = 0; r < t.length; r++) {
|
|
3945
3967
|
const n = t[r];
|
|
3946
|
-
if (
|
|
3968
|
+
if (tr(n))
|
|
3947
3969
|
return n;
|
|
3948
3970
|
}
|
|
3949
3971
|
}
|
|
3950
|
-
function
|
|
3951
|
-
delete M[e], se.update((r) => (r[e] =
|
|
3972
|
+
function rr(e, ...t) {
|
|
3973
|
+
delete M[e], se.update((r) => (r[e] = cn.all([r[e] || {}, ...t]), r));
|
|
3952
3974
|
}
|
|
3953
3975
|
Q(
|
|
3954
3976
|
[se],
|
|
3955
3977
|
([e]) => Object.keys(e)
|
|
3956
3978
|
);
|
|
3957
|
-
se.subscribe((e) =>
|
|
3979
|
+
se.subscribe((e) => Je = e);
|
|
3958
3980
|
const de = {};
|
|
3959
|
-
function
|
|
3981
|
+
function ai(e, t) {
|
|
3960
3982
|
de[e].delete(t), de[e].size === 0 && delete de[e];
|
|
3961
3983
|
}
|
|
3962
|
-
function
|
|
3984
|
+
function nr(e) {
|
|
3963
3985
|
return de[e];
|
|
3964
3986
|
}
|
|
3965
|
-
function
|
|
3966
|
-
return
|
|
3967
|
-
const r =
|
|
3987
|
+
function ui(e) {
|
|
3988
|
+
return Ee(e).map((t) => {
|
|
3989
|
+
const r = nr(t);
|
|
3968
3990
|
return [t, r ? [...r] : []];
|
|
3969
3991
|
}).filter(([, t]) => t.length > 0);
|
|
3970
3992
|
}
|
|
3971
|
-
function
|
|
3972
|
-
return e == null ? !1 :
|
|
3993
|
+
function We(e) {
|
|
3994
|
+
return e == null ? !1 : Ee(e).some(
|
|
3973
3995
|
(t) => {
|
|
3974
3996
|
var r;
|
|
3975
|
-
return (r =
|
|
3997
|
+
return (r = nr(t)) == null ? void 0 : r.size;
|
|
3976
3998
|
}
|
|
3977
3999
|
);
|
|
3978
4000
|
}
|
|
3979
|
-
function
|
|
4001
|
+
function hi(e, t) {
|
|
3980
4002
|
return Promise.all(
|
|
3981
|
-
t.map((n) => (
|
|
3982
|
-
).then((n) =>
|
|
4003
|
+
t.map((n) => (ai(e, n), n().then((i) => i.default || i)))
|
|
4004
|
+
).then((n) => rr(e, ...n));
|
|
3983
4005
|
}
|
|
3984
4006
|
const K = {};
|
|
3985
|
-
function
|
|
3986
|
-
if (!
|
|
4007
|
+
function ir(e) {
|
|
4008
|
+
if (!We(e))
|
|
3987
4009
|
return e in K ? K[e] : Promise.resolve();
|
|
3988
|
-
const t =
|
|
4010
|
+
const t = ui(e);
|
|
3989
4011
|
return K[e] = Promise.all(
|
|
3990
4012
|
t.map(
|
|
3991
|
-
([r, n]) =>
|
|
4013
|
+
([r, n]) => hi(r, n)
|
|
3992
4014
|
)
|
|
3993
4015
|
).then(() => {
|
|
3994
|
-
if (
|
|
3995
|
-
return
|
|
4016
|
+
if (We(e))
|
|
4017
|
+
return ir(e);
|
|
3996
4018
|
delete K[e];
|
|
3997
4019
|
}), K[e];
|
|
3998
4020
|
}
|
|
3999
|
-
const
|
|
4021
|
+
const li = {
|
|
4000
4022
|
number: {
|
|
4001
4023
|
scientific: { notation: "scientific" },
|
|
4002
4024
|
engineering: { notation: "engineering" },
|
|
@@ -4025,78 +4047,78 @@ const ai = {
|
|
|
4025
4047
|
timeZoneName: "short"
|
|
4026
4048
|
}
|
|
4027
4049
|
}
|
|
4028
|
-
},
|
|
4050
|
+
}, ci = {
|
|
4029
4051
|
fallbackLocale: null,
|
|
4030
4052
|
loadingDelay: 200,
|
|
4031
|
-
formats:
|
|
4053
|
+
formats: li,
|
|
4032
4054
|
warnOnMissingMessages: !0,
|
|
4033
4055
|
handleMissingMessage: void 0,
|
|
4034
4056
|
ignoreTag: !0
|
|
4035
|
-
},
|
|
4057
|
+
}, fi = ci;
|
|
4036
4058
|
function z() {
|
|
4037
|
-
return
|
|
4059
|
+
return fi;
|
|
4038
4060
|
}
|
|
4039
|
-
const
|
|
4040
|
-
var
|
|
4061
|
+
const Ie = ve(!1);
|
|
4062
|
+
var pi = Object.defineProperty, di = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, gi = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yi = (e, t) => {
|
|
4041
4063
|
for (var r in t || (t = {}))
|
|
4042
|
-
|
|
4043
|
-
if (
|
|
4044
|
-
for (var r of
|
|
4045
|
-
|
|
4064
|
+
bi.call(t, r) && yt(e, r, t[r]);
|
|
4065
|
+
if (gt)
|
|
4066
|
+
for (var r of gt(t))
|
|
4067
|
+
gi.call(t, r) && yt(e, r, t[r]);
|
|
4046
4068
|
return e;
|
|
4047
|
-
},
|
|
4048
|
-
let
|
|
4069
|
+
}, vi = (e, t) => di(e, mi(t));
|
|
4070
|
+
let ze;
|
|
4049
4071
|
const me = ve(null);
|
|
4050
|
-
function
|
|
4072
|
+
function vt(e) {
|
|
4051
4073
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4052
4074
|
}
|
|
4053
|
-
function
|
|
4054
|
-
const r =
|
|
4055
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4075
|
+
function Ee(e, t = z().fallbackLocale) {
|
|
4076
|
+
const r = vt(e);
|
|
4077
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
|
|
4056
4078
|
}
|
|
4057
4079
|
function R() {
|
|
4058
|
-
return
|
|
4080
|
+
return ze ?? void 0;
|
|
4059
4081
|
}
|
|
4060
4082
|
me.subscribe((e) => {
|
|
4061
|
-
|
|
4083
|
+
ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4062
4084
|
});
|
|
4063
|
-
const
|
|
4064
|
-
if (e &&
|
|
4085
|
+
const _i = (e) => {
|
|
4086
|
+
if (e && si(e) && We(e)) {
|
|
4065
4087
|
const { loadingDelay: t } = z();
|
|
4066
4088
|
let r;
|
|
4067
4089
|
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
4068
|
-
() =>
|
|
4090
|
+
() => Ie.set(!0),
|
|
4069
4091
|
t
|
|
4070
|
-
) :
|
|
4092
|
+
) : Ie.set(!0), ir(e).then(() => {
|
|
4071
4093
|
me.set(e);
|
|
4072
4094
|
}).finally(() => {
|
|
4073
|
-
clearTimeout(r),
|
|
4095
|
+
clearTimeout(r), Ie.set(!1);
|
|
4074
4096
|
});
|
|
4075
4097
|
}
|
|
4076
4098
|
return me.set(e);
|
|
4077
|
-
}, q =
|
|
4078
|
-
set:
|
|
4079
|
-
}),
|
|
4099
|
+
}, q = vi(yi({}, me), {
|
|
4100
|
+
set: _i
|
|
4101
|
+
}), xe = (e) => {
|
|
4080
4102
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4081
4103
|
return (n) => {
|
|
4082
4104
|
const i = JSON.stringify(n);
|
|
4083
4105
|
return i in t ? t[i] : t[i] = e(n);
|
|
4084
4106
|
};
|
|
4085
4107
|
};
|
|
4086
|
-
var
|
|
4108
|
+
var Ei = Object.defineProperty, be = Object.getOwnPropertySymbols, or = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
|
|
4087
4109
|
for (var r in t || (t = {}))
|
|
4088
|
-
|
|
4110
|
+
or.call(t, r) && _t(e, r, t[r]);
|
|
4089
4111
|
if (be)
|
|
4090
4112
|
for (var r of be(t))
|
|
4091
|
-
|
|
4113
|
+
sr.call(t, r) && _t(e, r, t[r]);
|
|
4092
4114
|
return e;
|
|
4093
4115
|
}, J = (e, t) => {
|
|
4094
4116
|
var r = {};
|
|
4095
4117
|
for (var n in e)
|
|
4096
|
-
|
|
4118
|
+
or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4097
4119
|
if (e != null && be)
|
|
4098
4120
|
for (var n of be(e))
|
|
4099
|
-
t.indexOf(n) < 0 &&
|
|
4121
|
+
t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
|
|
4100
4122
|
return r;
|
|
4101
4123
|
};
|
|
4102
4124
|
const ne = (e, t) => {
|
|
@@ -4104,21 +4126,21 @@ const ne = (e, t) => {
|
|
|
4104
4126
|
if (e in r && t in r[e])
|
|
4105
4127
|
return r[e][t];
|
|
4106
4128
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4107
|
-
},
|
|
4129
|
+
}, xi = xe(
|
|
4108
4130
|
(e) => {
|
|
4109
4131
|
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4110
4132
|
if (r == null)
|
|
4111
4133
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4112
4134
|
return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
|
|
4113
4135
|
}
|
|
4114
|
-
),
|
|
4136
|
+
), Si = xe(
|
|
4115
4137
|
(e) => {
|
|
4116
4138
|
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4117
4139
|
if (r == null)
|
|
4118
4140
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4119
4141
|
return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4120
4142
|
}
|
|
4121
|
-
),
|
|
4143
|
+
), Ti = xe(
|
|
4122
4144
|
(e) => {
|
|
4123
4145
|
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
4124
4146
|
if (r == null)
|
|
@@ -4127,33 +4149,33 @@ const ne = (e, t) => {
|
|
|
4127
4149
|
);
|
|
4128
4150
|
return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4129
4151
|
}
|
|
4130
|
-
),
|
|
4152
|
+
), Hi = (e = {}) => {
|
|
4131
4153
|
var t = e, {
|
|
4132
4154
|
locale: r = R()
|
|
4133
4155
|
} = t, n = J(t, [
|
|
4134
4156
|
"locale"
|
|
4135
4157
|
]);
|
|
4136
|
-
return
|
|
4137
|
-
},
|
|
4158
|
+
return xi(Ye({ locale: r }, n));
|
|
4159
|
+
}, Bi = (e = {}) => {
|
|
4138
4160
|
var t = e, {
|
|
4139
4161
|
locale: r = R()
|
|
4140
4162
|
} = t, n = J(t, [
|
|
4141
4163
|
"locale"
|
|
4142
4164
|
]);
|
|
4143
|
-
return
|
|
4144
|
-
},
|
|
4165
|
+
return Si(Ye({ locale: r }, n));
|
|
4166
|
+
}, wi = (e = {}) => {
|
|
4145
4167
|
var t = e, {
|
|
4146
4168
|
locale: r = R()
|
|
4147
4169
|
} = t, n = J(t, [
|
|
4148
4170
|
"locale"
|
|
4149
4171
|
]);
|
|
4150
|
-
return
|
|
4151
|
-
},
|
|
4172
|
+
return Ti(Ye({ locale: r }, n));
|
|
4173
|
+
}, Ai = xe(
|
|
4152
4174
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4153
|
-
(e, t = R()) => new
|
|
4175
|
+
(e, t = R()) => new ti(e, t, z().formats, {
|
|
4154
4176
|
ignoreTag: z().ignoreTag
|
|
4155
4177
|
})
|
|
4156
|
-
),
|
|
4178
|
+
), Pi = (e, t = {}) => {
|
|
4157
4179
|
var r, n, i, o;
|
|
4158
4180
|
let s = t;
|
|
4159
4181
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4166,7 +4188,7 @@ const ne = (e, t) => {
|
|
|
4166
4188
|
throw new Error(
|
|
4167
4189
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4168
4190
|
);
|
|
4169
|
-
let l =
|
|
4191
|
+
let l = er(e, h);
|
|
4170
4192
|
if (!l)
|
|
4171
4193
|
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;
|
|
4172
4194
|
else if (typeof l != "string")
|
|
@@ -4177,7 +4199,7 @@ const ne = (e, t) => {
|
|
|
4177
4199
|
return l;
|
|
4178
4200
|
let f = l;
|
|
4179
4201
|
try {
|
|
4180
|
-
f =
|
|
4202
|
+
f = Ai(l, h).format(a);
|
|
4181
4203
|
} catch (c) {
|
|
4182
4204
|
c instanceof Error && console.warn(
|
|
4183
4205
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4185,20 +4207,20 @@ const ne = (e, t) => {
|
|
|
4185
4207
|
);
|
|
4186
4208
|
}
|
|
4187
4209
|
return f;
|
|
4188
|
-
},
|
|
4189
|
-
Q([q], () =>
|
|
4190
|
-
Q([q], () =>
|
|
4191
|
-
Q([q], () =>
|
|
4192
|
-
Q([q, se], () =>
|
|
4193
|
-
window.emWidgets = { topic:
|
|
4194
|
-
const
|
|
4195
|
-
function
|
|
4210
|
+
}, Oi = (e, t) => wi(t).format(e), Ii = (e, t) => Bi(t).format(e), Li = (e, t) => Hi(t).format(e), Ni = (e, t = R()) => er(e, t), Mi = Q([q, se], () => Pi);
|
|
4211
|
+
Q([q], () => Oi);
|
|
4212
|
+
Q([q], () => Ii);
|
|
4213
|
+
Q([q], () => Li);
|
|
4214
|
+
Q([q, se], () => Ni);
|
|
4215
|
+
window.emWidgets = { topic: zr };
|
|
4216
|
+
const Ci = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4217
|
+
function Et(e, t) {
|
|
4196
4218
|
if (e) {
|
|
4197
4219
|
const r = document.createElement("style");
|
|
4198
4220
|
r.innerHTML = t, e.appendChild(r);
|
|
4199
4221
|
}
|
|
4200
4222
|
}
|
|
4201
|
-
function
|
|
4223
|
+
function $i(e, t) {
|
|
4202
4224
|
const r = new URL(t);
|
|
4203
4225
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4204
4226
|
const i = document.createElement("style");
|
|
@@ -4207,7 +4229,7 @@ function Ni(e, t) {
|
|
|
4207
4229
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4208
4230
|
});
|
|
4209
4231
|
}
|
|
4210
|
-
function
|
|
4232
|
+
function Ri(e, t, r) {
|
|
4211
4233
|
if (window.emMessageBus) {
|
|
4212
4234
|
const n = document.createElement("style");
|
|
4213
4235
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4215,13 +4237,24 @@ function Mi(e, t, r) {
|
|
|
4215
4237
|
});
|
|
4216
4238
|
}
|
|
4217
4239
|
}
|
|
4218
|
-
|
|
4219
|
-
|
|
4240
|
+
const Ui = (e, t = {}) => {
|
|
4241
|
+
const r = new CustomEvent("track-custom-event", {
|
|
4242
|
+
detail: {
|
|
4243
|
+
type: e,
|
|
4244
|
+
data: t
|
|
4245
|
+
},
|
|
4246
|
+
bubbles: !0,
|
|
4247
|
+
composed: !0
|
|
4248
|
+
});
|
|
4249
|
+
document.dispatchEvent(r);
|
|
4250
|
+
};
|
|
4251
|
+
function xt(e, t) {
|
|
4252
|
+
rr(e, t);
|
|
4220
4253
|
}
|
|
4221
|
-
function
|
|
4254
|
+
function Di(e) {
|
|
4222
4255
|
q.set(e);
|
|
4223
4256
|
}
|
|
4224
|
-
const
|
|
4257
|
+
const St = {
|
|
4225
4258
|
en: {
|
|
4226
4259
|
logoutButton: "Logout"
|
|
4227
4260
|
},
|
|
@@ -4256,10 +4289,10 @@ const _t = {
|
|
|
4256
4289
|
logoutButton: "Logout"
|
|
4257
4290
|
}
|
|
4258
4291
|
};
|
|
4259
|
-
function
|
|
4260
|
-
|
|
4292
|
+
function Gi(e) {
|
|
4293
|
+
cr(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))}");
|
|
4261
4294
|
}
|
|
4262
|
-
function
|
|
4295
|
+
function Fi(e) {
|
|
4263
4296
|
let t, r, n, i = (
|
|
4264
4297
|
/*$_*/
|
|
4265
4298
|
e[2]("logoutButton") + ""
|
|
@@ -4269,7 +4302,7 @@ function Ri(e) {
|
|
|
4269
4302
|
t = P("div"), r = P("button"), n = P("span"), o = ge(i), S(t, "class", "GeneralLogout");
|
|
4270
4303
|
},
|
|
4271
4304
|
m(h, u) {
|
|
4272
|
-
oe(h, t, u), T(t, r), T(r, n), T(n, o), s || (a =
|
|
4305
|
+
oe(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = wt(
|
|
4273
4306
|
r,
|
|
4274
4307
|
"click",
|
|
4275
4308
|
/*click_handler_1*/
|
|
@@ -4279,19 +4312,19 @@ function Ri(e) {
|
|
|
4279
4312
|
p(h, u) {
|
|
4280
4313
|
u & /*$_*/
|
|
4281
4314
|
4 && i !== (i = /*$_*/
|
|
4282
|
-
h[2]("logoutButton") + "") &&
|
|
4315
|
+
h[2]("logoutButton") + "") && At(o, i);
|
|
4283
4316
|
},
|
|
4284
4317
|
d(h) {
|
|
4285
4318
|
h && Z(t), s = !1, a();
|
|
4286
4319
|
}
|
|
4287
4320
|
};
|
|
4288
4321
|
}
|
|
4289
|
-
function
|
|
4322
|
+
function ji(e) {
|
|
4290
4323
|
let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
|
|
4291
|
-
e[3] &&
|
|
4324
|
+
e[3] && ki(e);
|
|
4292
4325
|
return {
|
|
4293
4326
|
c() {
|
|
4294
|
-
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 =
|
|
4327
|
+
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 = dr(), 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"), br(r, "width", /*isMobile*/
|
|
4295
4328
|
e[3] ? (
|
|
4296
4329
|
/*mediaQuery*/
|
|
4297
4330
|
e[4].matches ? "50px" : "24px"
|
|
@@ -4301,7 +4334,7 @@ function Ui(e) {
|
|
|
4301
4334
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4302
4335
|
},
|
|
4303
4336
|
m(p, d) {
|
|
4304
|
-
oe(p, t, d), 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 =
|
|
4337
|
+
oe(p, t, d), 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 = wt(
|
|
4305
4338
|
t,
|
|
4306
4339
|
"click",
|
|
4307
4340
|
/*click_handler*/
|
|
@@ -4317,7 +4350,7 @@ function Ui(e) {
|
|
|
4317
4350
|
}
|
|
4318
4351
|
};
|
|
4319
4352
|
}
|
|
4320
|
-
function
|
|
4353
|
+
function ki(e) {
|
|
4321
4354
|
let t, r = (
|
|
4322
4355
|
/*$_*/
|
|
4323
4356
|
e[2]("logoutButton") + ""
|
|
@@ -4332,19 +4365,19 @@ function Gi(e) {
|
|
|
4332
4365
|
p(i, o) {
|
|
4333
4366
|
o & /*$_*/
|
|
4334
4367
|
4 && r !== (r = /*$_*/
|
|
4335
|
-
i[2]("logoutButton") + "") &&
|
|
4368
|
+
i[2]("logoutButton") + "") && At(n, r);
|
|
4336
4369
|
},
|
|
4337
4370
|
d(i) {
|
|
4338
4371
|
i && Z(t);
|
|
4339
4372
|
}
|
|
4340
4373
|
};
|
|
4341
4374
|
}
|
|
4342
|
-
function
|
|
4375
|
+
function Vi(e) {
|
|
4343
4376
|
let t;
|
|
4344
4377
|
function r(o, s) {
|
|
4345
4378
|
return (
|
|
4346
4379
|
/*buttonlocation*/
|
|
4347
|
-
o[0] === "PlayerAccountMenu" ?
|
|
4380
|
+
o[0] === "PlayerAccountMenu" ? ji : Fi
|
|
4348
4381
|
);
|
|
4349
4382
|
}
|
|
4350
4383
|
let n = r(e), i = n(e);
|
|
@@ -4365,37 +4398,37 @@ function Di(e) {
|
|
|
4365
4398
|
}
|
|
4366
4399
|
};
|
|
4367
4400
|
}
|
|
4368
|
-
function
|
|
4401
|
+
function Xi(e, t, r) {
|
|
4369
4402
|
let n;
|
|
4370
|
-
|
|
4371
|
-
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, d, v = window.navigator.userAgent, H =
|
|
4403
|
+
lr(e, Mi, (y) => r(2, n = y));
|
|
4404
|
+
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, d, v = window.navigator.userAgent, H = Ci(v) !== "PC";
|
|
4372
4405
|
const C = window.matchMedia("(min-width: 768px)"), L = () => {
|
|
4373
4406
|
fetch(f).then((N) => N.json()).then((N) => {
|
|
4374
4407
|
Object.keys(N).forEach((Se) => {
|
|
4375
|
-
|
|
4408
|
+
xt(Se, N[Se]);
|
|
4376
4409
|
});
|
|
4377
4410
|
}).catch((N) => {
|
|
4378
4411
|
console.log(N);
|
|
4379
4412
|
});
|
|
4380
4413
|
};
|
|
4381
|
-
Object.keys(
|
|
4382
|
-
|
|
4414
|
+
Object.keys(St).forEach((y) => {
|
|
4415
|
+
xt(y, St[y]);
|
|
4383
4416
|
});
|
|
4384
|
-
const
|
|
4417
|
+
const x = () => {
|
|
4385
4418
|
let y = new Headers();
|
|
4386
4419
|
y.append("Content-type", "application/json"), y.append("X-SessionID", o);
|
|
4387
4420
|
let N = { method: "DELETE", headers: y };
|
|
4388
4421
|
fetch(`${i}/v1/player/session/player`, N).then((Se) => {
|
|
4389
|
-
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
|
|
4422
|
+
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), Ui("logged_out", {});
|
|
4390
4423
|
});
|
|
4391
4424
|
}, $ = () => (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 = () => {
|
|
4392
|
-
|
|
4425
|
+
Di(a);
|
|
4393
4426
|
};
|
|
4394
|
-
|
|
4427
|
+
vr(() => () => {
|
|
4395
4428
|
});
|
|
4396
|
-
const U = () =>
|
|
4397
|
-
function
|
|
4398
|
-
|
|
4429
|
+
const U = () => x(), ae = () => x();
|
|
4430
|
+
function ur(y) {
|
|
4431
|
+
Le[y ? "unshift" : "push"](() => {
|
|
4399
4432
|
d = y, r(1, d);
|
|
4400
4433
|
});
|
|
4401
4434
|
}
|
|
@@ -4405,10 +4438,10 @@ function Fi(e, t, r) {
|
|
|
4405
4438
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
4406
4439
|
193 && i && o && s && $(), e.$$.dirty & /*lang*/
|
|
4407
4440
|
256 && a && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4408
|
-
1026 && u && d &&
|
|
4409
|
-
1026 && u && d &&
|
|
4410
|
-
2050 && l && d &&
|
|
4411
|
-
514 && h && d &&
|
|
4441
|
+
1026 && u && d && Et(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4442
|
+
1026 && u && d && Et(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4443
|
+
2050 && l && d && $i(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4444
|
+
514 && h && d && Ri(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
|
|
4412
4445
|
4096 && f && L();
|
|
4413
4446
|
}, [
|
|
4414
4447
|
s,
|
|
@@ -4416,7 +4449,7 @@ function Fi(e, t, r) {
|
|
|
4416
4449
|
n,
|
|
4417
4450
|
H,
|
|
4418
4451
|
C,
|
|
4419
|
-
|
|
4452
|
+
x,
|
|
4420
4453
|
i,
|
|
4421
4454
|
o,
|
|
4422
4455
|
a,
|
|
@@ -4426,17 +4459,17 @@ function Fi(e, t, r) {
|
|
|
4426
4459
|
f,
|
|
4427
4460
|
U,
|
|
4428
4461
|
ae,
|
|
4429
|
-
|
|
4462
|
+
ur
|
|
4430
4463
|
];
|
|
4431
4464
|
}
|
|
4432
|
-
class
|
|
4465
|
+
class ar extends Ir {
|
|
4433
4466
|
constructor(t) {
|
|
4434
|
-
super(),
|
|
4467
|
+
super(), Pr(
|
|
4435
4468
|
this,
|
|
4436
4469
|
t,
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4470
|
+
Xi,
|
|
4471
|
+
Vi,
|
|
4472
|
+
Ht,
|
|
4440
4473
|
{
|
|
4441
4474
|
endpoint: 6,
|
|
4442
4475
|
session: 7,
|
|
@@ -4447,7 +4480,7 @@ class nr extends wr {
|
|
|
4447
4480
|
clientstylingurl: 11,
|
|
4448
4481
|
translationurl: 12
|
|
4449
4482
|
},
|
|
4450
|
-
|
|
4483
|
+
Gi
|
|
4451
4484
|
);
|
|
4452
4485
|
}
|
|
4453
4486
|
get endpoint() {
|
|
@@ -4499,43 +4532,43 @@ class nr extends wr {
|
|
|
4499
4532
|
this.$$set({ translationurl: t }), w();
|
|
4500
4533
|
}
|
|
4501
4534
|
}
|
|
4502
|
-
|
|
4503
|
-
const
|
|
4535
|
+
Or(ar, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4536
|
+
const qi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4504
4537
|
__proto__: null,
|
|
4505
|
-
default:
|
|
4538
|
+
default: ar
|
|
4506
4539
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4507
4540
|
export {
|
|
4508
4541
|
q as $,
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4542
|
+
wt as A,
|
|
4543
|
+
ie as B,
|
|
4544
|
+
Wi as C,
|
|
4512
4545
|
Mi as D,
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4546
|
+
qi as G,
|
|
4547
|
+
Ir as S,
|
|
4548
|
+
rr as a,
|
|
4549
|
+
cr as b,
|
|
4550
|
+
Or as c,
|
|
4551
|
+
oe as d,
|
|
4552
|
+
P as e,
|
|
4520
4553
|
w as f,
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4554
|
+
Z as g,
|
|
4555
|
+
lr as h,
|
|
4556
|
+
Pr as i,
|
|
4557
|
+
Ci as j,
|
|
4558
|
+
$i as k,
|
|
4559
|
+
Ri as l,
|
|
4560
|
+
Le as m,
|
|
4528
4561
|
B as n,
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4562
|
+
vr as o,
|
|
4563
|
+
Et as p,
|
|
4564
|
+
Qi as q,
|
|
4565
|
+
dr as r,
|
|
4566
|
+
Ht as s,
|
|
4567
|
+
ge as t,
|
|
4568
|
+
S as u,
|
|
4569
|
+
T as v,
|
|
4570
|
+
At as w,
|
|
4571
|
+
zi as x,
|
|
4572
|
+
Zi as y,
|
|
4573
|
+
Y as z
|
|
4541
4574
|
};
|