@everymatrix/player-account-product-restriction 1.76.0 → 1.76.3
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/{PlayerAccountGeneralConfirmationModal-B5YXlgy2.js → PlayerAccountGeneralConfirmationModal-CdayZyQN.js} +1374 -1409
- package/components/PlayerAccountGeneralConfirmationModal-CxQoiMM0.cjs +21 -0
- package/components/{PlayerAccountGeneralConfirmationModal-2ovv4Md_.js → PlayerAccountGeneralConfirmationModal-DHhULFrg.js} +915 -950
- package/components/{PlayerAccountModal-h55amKkM.js → PlayerAccountModal-606jJf8b.js} +17 -17
- package/components/{PlayerAccountModal-Bj4WVhh1.cjs → PlayerAccountModal-CawVD9Xq.cjs} +1 -1
- package/components/{PlayerAccountModal-DVL1hHz_.js → PlayerAccountModal-K8N-hYP_.js} +18 -18
- package/components/{PlayerAccountProductRestriction-BEPc9MzF.js → PlayerAccountProductRestriction-6eWyBNib.js} +4423 -9493
- package/components/PlayerAccountProductRestriction-Cp_082PL.cjs +6061 -0
- package/components/{PlayerAccountProductRestriction-DmOQxhUj.js → PlayerAccountProductRestriction-tPTxtHxX.js} +4395 -9465
- package/es2015/player-account-product-restriction.cjs +1 -1
- package/es2015/player-account-product-restriction.js +1 -1
- package/esnext/player-account-product-restriction.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-BbCeNxUG.js +519 -0
- package/stencil/index-b2193545-C9PH-6qK.js +503 -0
- package/stencil/index-b2193545-D-u-gzj3.cjs +1 -0
- package/stencil/{ui-skeleton-hI4GeaLk.js → ui-skeleton-BKDs0-7H.js} +2 -2
- package/stencil/{ui-skeleton-Ca5rz3Hv.js → ui-skeleton-CJbkvgG7.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-xLf3HyeB.cjs → ui-skeleton-ae35c6f2-CXlvqczG.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BDBUiN3S.js → ui-skeleton-ae35c6f2-ZB0isFAq.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-Cn0ZM_hs.js → ui-skeleton-ae35c6f2-gun6WX2F.js} +1 -1
- package/stencil/{ui-skeleton-BL4789dS.cjs → ui-skeleton-bhljBTS7.cjs} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-PCbzMqfA.cjs +0 -21
- package/components/PlayerAccountProductRestriction-mBykHBrS.cjs +0 -7968
- package/stencil/index-b2193545-BeKKnKhR.js +0 -519
- package/stencil/index-b2193545-HC0t7mHa.js +0 -503
- package/stencil/index-b2193545-YW9b062G.cjs +0 -1
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var
|
|
10
|
-
|
|
1
|
+
var On = Object.defineProperty, In = Object.defineProperties;
|
|
2
|
+
var Mn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var lt = Object.getOwnPropertySymbols;
|
|
4
|
+
var Nn = Object.prototype.hasOwnProperty, Ln = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Oe = (e, t, n) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ht = (e, t) => {
|
|
6
|
+
for (var n in t || (t = {}))
|
|
7
|
+
Nn.call(t, n) && Oe(e, n, t[n]);
|
|
8
|
+
if (lt)
|
|
9
|
+
for (var n of lt(t))
|
|
10
|
+
Ln.call(t, n) && Oe(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var O = (e, t,
|
|
14
|
-
var
|
|
12
|
+
}, ft = (e, t) => In(e, Mn(t));
|
|
13
|
+
var O = (e, t, n) => (Oe(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
14
|
+
var ct = (e, t, n) => new Promise((r, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
|
-
a(
|
|
17
|
+
a(n.next(l));
|
|
18
18
|
} catch (u) {
|
|
19
19
|
i(u);
|
|
20
20
|
}
|
|
21
21
|
}, s = (l) => {
|
|
22
22
|
try {
|
|
23
|
-
a(
|
|
23
|
+
a(n.throw(l));
|
|
24
24
|
} catch (u) {
|
|
25
25
|
i(u);
|
|
26
26
|
}
|
|
27
|
-
}, a = (l) => l.done ?
|
|
28
|
-
a((
|
|
27
|
+
}, a = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(o, s);
|
|
28
|
+
a((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function N() {
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
function
|
|
34
|
-
for (const
|
|
35
|
-
e[
|
|
32
|
+
const Rn = (e) => e;
|
|
33
|
+
function $n(e, t) {
|
|
34
|
+
for (const n in t)
|
|
35
|
+
e[n] = t[n];
|
|
36
36
|
return (
|
|
37
37
|
/** @type {T & S} */
|
|
38
38
|
e
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function jt(e) {
|
|
42
42
|
return e();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function dt() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
47
|
function U(e) {
|
|
48
|
-
e.forEach(
|
|
48
|
+
e.forEach(jt);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Te(e) {
|
|
51
51
|
return typeof e == "function";
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function kt(e, t) {
|
|
54
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function Gn(e) {
|
|
57
57
|
return Object.keys(e).length === 0;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Vt(e, ...t) {
|
|
60
60
|
if (e == null) {
|
|
61
|
-
for (const
|
|
62
|
-
|
|
61
|
+
for (const r of t)
|
|
62
|
+
r(void 0);
|
|
63
63
|
return N;
|
|
64
64
|
}
|
|
65
|
-
const
|
|
66
|
-
return
|
|
65
|
+
const n = e.subscribe(...t);
|
|
66
|
+
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
e.$$.on_destroy.push(
|
|
68
|
+
function Un(e, t, n) {
|
|
69
|
+
e.$$.on_destroy.push(Vt(t, n));
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Dn(e, t, n, r) {
|
|
72
72
|
if (e) {
|
|
73
|
-
const i =
|
|
73
|
+
const i = Xt(e, t, n, r);
|
|
74
74
|
return e[0](i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
return e[1] &&
|
|
77
|
+
function Xt(e, t, n, r) {
|
|
78
|
+
return e[1] && r ? $n(n.ctx.slice(), e[1](r(t))) : n.ctx;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
if (e[2] &&
|
|
82
|
-
const i = e[2](n
|
|
80
|
+
function Fn(e, t, n, r) {
|
|
81
|
+
if (e[2] && r) {
|
|
82
|
+
const i = e[2](r(n));
|
|
83
83
|
if (t.dirty === void 0)
|
|
84
84
|
return i;
|
|
85
85
|
if (typeof i == "object") {
|
|
@@ -92,34 +92,34 @@ function Vr(e, t, r, n) {
|
|
|
92
92
|
}
|
|
93
93
|
return t.dirty;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function jn(e, t, n, r, i, o) {
|
|
96
96
|
if (i) {
|
|
97
|
-
const s =
|
|
97
|
+
const s = Xt(t, n, r, o);
|
|
98
98
|
e.p(s, i);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function kn(e) {
|
|
102
102
|
if (e.ctx.length > 32) {
|
|
103
|
-
const t = [],
|
|
104
|
-
for (let
|
|
105
|
-
t[
|
|
103
|
+
const t = [], n = e.ctx.length / 32;
|
|
104
|
+
for (let r = 0; r < n; r++)
|
|
105
|
+
t[r] = -1;
|
|
106
106
|
return t;
|
|
107
107
|
}
|
|
108
108
|
return -1;
|
|
109
109
|
}
|
|
110
|
-
const
|
|
111
|
-
let
|
|
110
|
+
const zt = typeof window != "undefined";
|
|
111
|
+
let Vn = zt ? () => window.performance.now() : () => Date.now(), nt = zt ? (e) => requestAnimationFrame(e) : N;
|
|
112
112
|
const z = /* @__PURE__ */ new Set();
|
|
113
|
-
function
|
|
113
|
+
function Wt(e) {
|
|
114
114
|
z.forEach((t) => {
|
|
115
115
|
t.c(e) || (z.delete(t), t.f());
|
|
116
|
-
}), z.size !== 0 &&
|
|
116
|
+
}), z.size !== 0 && nt(Wt);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Xn(e) {
|
|
119
119
|
let t;
|
|
120
|
-
return z.size === 0 &&
|
|
121
|
-
promise: new Promise((
|
|
122
|
-
z.add(t = { c: e, f:
|
|
120
|
+
return z.size === 0 && nt(Wt), {
|
|
121
|
+
promise: new Promise((n) => {
|
|
122
|
+
z.add(t = { c: e, f: n });
|
|
123
123
|
}),
|
|
124
124
|
abort() {
|
|
125
125
|
z.delete(t);
|
|
@@ -129,14 +129,14 @@ function Zr(e) {
|
|
|
129
129
|
function C(e, t) {
|
|
130
130
|
e.appendChild(t);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
const
|
|
134
|
-
if (!
|
|
132
|
+
function zn(e, t, n) {
|
|
133
|
+
const r = rt(e);
|
|
134
|
+
if (!r.getElementById(t)) {
|
|
135
135
|
const i = M("style");
|
|
136
|
-
i.id = t, i.textContent =
|
|
136
|
+
i.id = t, i.textContent = n, Zt(r, i);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function rt(e) {
|
|
140
140
|
if (!e)
|
|
141
141
|
return document;
|
|
142
142
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -146,295 +146,295 @@ function ut(e) {
|
|
|
146
146
|
t
|
|
147
147
|
) : e.ownerDocument;
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Wn(e) {
|
|
150
150
|
const t = M("style");
|
|
151
|
-
return t.textContent = "/* empty */",
|
|
151
|
+
return t.textContent = "/* empty */", Zt(rt(e), t), t.sheet;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function Zt(e, t) {
|
|
154
154
|
return C(
|
|
155
155
|
/** @type {Document} */
|
|
156
156
|
e.head || e,
|
|
157
157
|
t
|
|
158
158
|
), t.sheet;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
161
|
-
e.insertBefore(t,
|
|
160
|
+
function ue(e, t, n) {
|
|
161
|
+
e.insertBefore(t, n || null);
|
|
162
162
|
}
|
|
163
163
|
function D(e) {
|
|
164
164
|
e.parentNode && e.parentNode.removeChild(e);
|
|
165
165
|
}
|
|
166
|
-
function
|
|
167
|
-
for (let
|
|
168
|
-
e[
|
|
166
|
+
function Oo(e, t) {
|
|
167
|
+
for (let n = 0; n < e.length; n += 1)
|
|
168
|
+
e[n] && e[n].d(t);
|
|
169
169
|
}
|
|
170
170
|
function M(e) {
|
|
171
171
|
return document.createElement(e);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function mt(e) {
|
|
174
174
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function le(e) {
|
|
177
177
|
return document.createTextNode(e);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
180
|
-
return
|
|
179
|
+
function ce() {
|
|
180
|
+
return le(" ");
|
|
181
181
|
}
|
|
182
|
-
function
|
|
183
|
-
return
|
|
182
|
+
function Io() {
|
|
183
|
+
return le("");
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
return e.addEventListener(t,
|
|
185
|
+
function De(e, t, n, r) {
|
|
186
|
+
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
189
|
-
|
|
188
|
+
function T(e, t, n) {
|
|
189
|
+
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
const
|
|
193
|
-
|
|
191
|
+
function Mo(e, t, n) {
|
|
192
|
+
const r = t.toLowerCase();
|
|
193
|
+
r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : T(e, t, n);
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function Zn(e) {
|
|
196
196
|
return Array.from(e.childNodes);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function it(e, t) {
|
|
199
199
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
200
200
|
t);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
203
|
-
e.classList.toggle(t, !!
|
|
202
|
+
function No(e, t, n) {
|
|
203
|
+
e.classList.toggle(t, !!n);
|
|
204
204
|
}
|
|
205
|
-
function
|
|
206
|
-
return new CustomEvent(e, { detail: t, bubbles:
|
|
205
|
+
function Qn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
|
|
206
|
+
return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Jn(e) {
|
|
209
209
|
const t = {};
|
|
210
210
|
return e.childNodes.forEach(
|
|
211
211
|
/** @param {Element} node */
|
|
212
|
-
(
|
|
213
|
-
t[
|
|
212
|
+
(n) => {
|
|
213
|
+
t[n.slot || "default"] = !0;
|
|
214
214
|
}
|
|
215
215
|
), t;
|
|
216
216
|
}
|
|
217
217
|
const _e = /* @__PURE__ */ new Map();
|
|
218
218
|
let xe = 0;
|
|
219
|
-
function
|
|
220
|
-
let t = 5381,
|
|
221
|
-
for (;
|
|
222
|
-
t = (t << 5) - t ^ e.charCodeAt(
|
|
219
|
+
function qn(e) {
|
|
220
|
+
let t = 5381, n = e.length;
|
|
221
|
+
for (; n--; )
|
|
222
|
+
t = (t << 5) - t ^ e.charCodeAt(n);
|
|
223
223
|
return t >>> 0;
|
|
224
224
|
}
|
|
225
|
-
function
|
|
226
|
-
const
|
|
227
|
-
return _e.set(e,
|
|
225
|
+
function Yn(e, t) {
|
|
226
|
+
const n = { stylesheet: Wn(t), rules: {} };
|
|
227
|
+
return _e.set(e, n), n;
|
|
228
228
|
}
|
|
229
|
-
function
|
|
230
|
-
const l = 16.666 /
|
|
229
|
+
function pt(e, t, n, r, i, o, s, a = 0) {
|
|
230
|
+
const l = 16.666 / r;
|
|
231
231
|
let u = `{
|
|
232
232
|
`;
|
|
233
233
|
for (let g = 0; g <= 1; g += l) {
|
|
234
|
-
const
|
|
235
|
-
u += g * 100 + `%{${s(
|
|
234
|
+
const H = t + (n - t) * o(g);
|
|
235
|
+
u += g * 100 + `%{${s(H, 1 - H)}}
|
|
236
236
|
`;
|
|
237
237
|
}
|
|
238
|
-
const h = u + `100% {${s(
|
|
239
|
-
}`,
|
|
240
|
-
|
|
241
|
-
const
|
|
242
|
-
return e.style.animation = `${
|
|
243
|
-
}
|
|
244
|
-
function
|
|
245
|
-
const
|
|
238
|
+
const h = u + `100% {${s(n, 1 - n)}}
|
|
239
|
+
}`, f = `__svelte_${qn(h)}_${a}`, c = rt(e), { stylesheet: m, rules: d } = _e.get(c) || Yn(c, e);
|
|
240
|
+
d[f] || (d[f] = !0, m.insertRule(`@keyframes ${f} ${h}`, m.cssRules.length));
|
|
241
|
+
const p = e.style.animation || "";
|
|
242
|
+
return e.style.animation = `${p ? `${p}, ` : ""}${f} ${r}ms linear ${i}ms 1 both`, xe += 1, f;
|
|
243
|
+
}
|
|
244
|
+
function Kn(e, t) {
|
|
245
|
+
const n = (e.style.animation || "").split(", "), r = n.filter(
|
|
246
246
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
247
247
|
// remove all Svelte animations
|
|
248
|
-
), i =
|
|
249
|
-
i && (e.style.animation =
|
|
248
|
+
), i = n.length - r.length;
|
|
249
|
+
i && (e.style.animation = r.join(", "), xe -= i, xe || er());
|
|
250
250
|
}
|
|
251
|
-
function
|
|
252
|
-
|
|
251
|
+
function er() {
|
|
252
|
+
nt(() => {
|
|
253
253
|
xe || (_e.forEach((e) => {
|
|
254
254
|
const { ownerNode: t } = e.stylesheet;
|
|
255
255
|
t && D(t);
|
|
256
256
|
}), _e.clear());
|
|
257
257
|
});
|
|
258
258
|
}
|
|
259
|
-
let
|
|
260
|
-
function
|
|
261
|
-
|
|
259
|
+
let oe;
|
|
260
|
+
function ie(e) {
|
|
261
|
+
oe = e;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
264
|
-
if (!
|
|
263
|
+
function tr() {
|
|
264
|
+
if (!oe)
|
|
265
265
|
throw new Error("Function called outside component initialization");
|
|
266
|
-
return
|
|
266
|
+
return oe;
|
|
267
267
|
}
|
|
268
|
-
function
|
|
269
|
-
|
|
268
|
+
function nr(e) {
|
|
269
|
+
tr().$$.on_mount.push(e);
|
|
270
270
|
}
|
|
271
|
-
const X = [],
|
|
271
|
+
const X = [], Fe = [];
|
|
272
272
|
let W = [];
|
|
273
|
-
const
|
|
274
|
-
let
|
|
275
|
-
function
|
|
276
|
-
|
|
273
|
+
const bt = [], rr = /* @__PURE__ */ Promise.resolve();
|
|
274
|
+
let je = !1;
|
|
275
|
+
function ir() {
|
|
276
|
+
je || (je = !0, rr.then(I));
|
|
277
277
|
}
|
|
278
278
|
function Ee(e) {
|
|
279
279
|
W.push(e);
|
|
280
280
|
}
|
|
281
|
-
const
|
|
281
|
+
const Ie = /* @__PURE__ */ new Set();
|
|
282
282
|
let k = 0;
|
|
283
283
|
function I() {
|
|
284
284
|
if (k !== 0)
|
|
285
285
|
return;
|
|
286
|
-
const e =
|
|
286
|
+
const e = oe;
|
|
287
287
|
do {
|
|
288
288
|
try {
|
|
289
289
|
for (; k < X.length; ) {
|
|
290
290
|
const t = X[k];
|
|
291
|
-
k++,
|
|
291
|
+
k++, ie(t), or(t.$$);
|
|
292
292
|
}
|
|
293
293
|
} catch (t) {
|
|
294
294
|
throw X.length = 0, k = 0, t;
|
|
295
295
|
}
|
|
296
|
-
for (
|
|
297
|
-
|
|
296
|
+
for (ie(null), X.length = 0, k = 0; Fe.length; )
|
|
297
|
+
Fe.pop()();
|
|
298
298
|
for (let t = 0; t < W.length; t += 1) {
|
|
299
|
-
const
|
|
300
|
-
|
|
299
|
+
const n = W[t];
|
|
300
|
+
Ie.has(n) || (Ie.add(n), n());
|
|
301
301
|
}
|
|
302
302
|
W.length = 0;
|
|
303
303
|
} while (X.length);
|
|
304
|
-
for (;
|
|
305
|
-
|
|
306
|
-
|
|
304
|
+
for (; bt.length; )
|
|
305
|
+
bt.pop()();
|
|
306
|
+
je = !1, Ie.clear(), ie(e);
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function or(e) {
|
|
309
309
|
if (e.fragment !== null) {
|
|
310
310
|
e.update(), U(e.before_update);
|
|
311
311
|
const t = e.dirty;
|
|
312
312
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
function
|
|
316
|
-
const t = [],
|
|
317
|
-
W.forEach((
|
|
318
|
-
}
|
|
319
|
-
let
|
|
320
|
-
function
|
|
321
|
-
return
|
|
322
|
-
|
|
323
|
-
})),
|
|
324
|
-
}
|
|
325
|
-
function
|
|
326
|
-
e.dispatchEvent(
|
|
327
|
-
}
|
|
328
|
-
const
|
|
329
|
-
let
|
|
330
|
-
function
|
|
331
|
-
|
|
315
|
+
function sr(e) {
|
|
316
|
+
const t = [], n = [];
|
|
317
|
+
W.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), W = t;
|
|
318
|
+
}
|
|
319
|
+
let ne;
|
|
320
|
+
function ar() {
|
|
321
|
+
return ne || (ne = Promise.resolve(), ne.then(() => {
|
|
322
|
+
ne = null;
|
|
323
|
+
})), ne;
|
|
324
|
+
}
|
|
325
|
+
function Me(e, t, n) {
|
|
326
|
+
e.dispatchEvent(Qn(`${t ? "intro" : "outro"}${n}`));
|
|
327
|
+
}
|
|
328
|
+
const pe = /* @__PURE__ */ new Set();
|
|
329
|
+
let L;
|
|
330
|
+
function Lo() {
|
|
331
|
+
L = {
|
|
332
332
|
r: 0,
|
|
333
333
|
c: [],
|
|
334
|
-
p:
|
|
334
|
+
p: L
|
|
335
335
|
// parent group
|
|
336
336
|
};
|
|
337
337
|
}
|
|
338
|
-
function
|
|
339
|
-
|
|
338
|
+
function Ro() {
|
|
339
|
+
L.r || U(L.c), L = L.p;
|
|
340
340
|
}
|
|
341
|
-
function
|
|
342
|
-
e && e.i && (
|
|
341
|
+
function Qt(e, t) {
|
|
342
|
+
e && e.i && (pe.delete(e), e.i(t));
|
|
343
343
|
}
|
|
344
|
-
function
|
|
344
|
+
function ur(e, t, n, r) {
|
|
345
345
|
if (e && e.o) {
|
|
346
|
-
if (
|
|
346
|
+
if (pe.has(e))
|
|
347
347
|
return;
|
|
348
|
-
|
|
349
|
-
|
|
348
|
+
pe.add(e), L.c.push(() => {
|
|
349
|
+
pe.delete(e), r && (n && e.d(1), r());
|
|
350
350
|
}), e.o(t);
|
|
351
351
|
} else
|
|
352
|
-
|
|
352
|
+
r && r();
|
|
353
353
|
}
|
|
354
|
-
const
|
|
355
|
-
function
|
|
356
|
-
let o = t(e,
|
|
357
|
-
function
|
|
358
|
-
u &&
|
|
354
|
+
const lr = { duration: 0 };
|
|
355
|
+
function $o(e, t, n, r) {
|
|
356
|
+
let o = t(e, n, { direction: "both" }), s = r ? 0 : 1, a = null, l = null, u = null, h;
|
|
357
|
+
function f() {
|
|
358
|
+
u && Kn(e, u);
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function c(d, p) {
|
|
361
361
|
const g = (
|
|
362
362
|
/** @type {Program['d']} */
|
|
363
|
-
|
|
363
|
+
d.b - s
|
|
364
364
|
);
|
|
365
|
-
return
|
|
365
|
+
return p *= Math.abs(g), {
|
|
366
366
|
a: s,
|
|
367
|
-
b:
|
|
367
|
+
b: d.b,
|
|
368
368
|
d: g,
|
|
369
|
-
duration:
|
|
370
|
-
start:
|
|
371
|
-
end:
|
|
372
|
-
group:
|
|
369
|
+
duration: p,
|
|
370
|
+
start: d.start,
|
|
371
|
+
end: d.start + p,
|
|
372
|
+
group: d.group
|
|
373
373
|
};
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function m(d) {
|
|
376
376
|
const {
|
|
377
|
-
delay:
|
|
377
|
+
delay: p = 0,
|
|
378
378
|
duration: g = 300,
|
|
379
|
-
easing:
|
|
380
|
-
tick:
|
|
379
|
+
easing: H = Rn,
|
|
380
|
+
tick: A = N,
|
|
381
381
|
css: x
|
|
382
|
-
} = o ||
|
|
383
|
-
start:
|
|
384
|
-
b:
|
|
382
|
+
} = o || lr, w = {
|
|
383
|
+
start: Vn() + p,
|
|
384
|
+
b: d
|
|
385
385
|
};
|
|
386
|
-
|
|
387
|
-
e.inert, e.inert = !0)), a || l ? l =
|
|
388
|
-
if (l && b > l.start && (a =
|
|
386
|
+
d || (w.group = L, L.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
387
|
+
e.inert, e.inert = !0)), a || l ? l = w : (x && (f(), u = pt(e, s, d, g, p, H, x)), d && A(0, 1), a = c(w, g), Ee(() => Me(e, d, "start")), Xn((b) => {
|
|
388
|
+
if (l && b > l.start && (a = c(l, g), l = null, Me(e, a.b, "start"), x && (f(), u = pt(
|
|
389
389
|
e,
|
|
390
390
|
s,
|
|
391
391
|
a.b,
|
|
392
392
|
a.duration,
|
|
393
393
|
0,
|
|
394
|
-
|
|
394
|
+
H,
|
|
395
395
|
o.css
|
|
396
396
|
))), a) {
|
|
397
397
|
if (b >= a.end)
|
|
398
|
-
|
|
398
|
+
A(s = a.b, 1 - s), Me(e, a.b, "end"), l || (a.b ? f() : --a.group.r || U(a.group.c)), a = null;
|
|
399
399
|
else if (b >= a.start) {
|
|
400
400
|
const B = b - a.start;
|
|
401
|
-
s = a.a + a.d *
|
|
401
|
+
s = a.a + a.d * H(B / a.duration), A(s, 1 - s);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
return !!(a || l);
|
|
405
405
|
}));
|
|
406
406
|
}
|
|
407
407
|
return {
|
|
408
|
-
run(
|
|
409
|
-
|
|
410
|
-
o = o({ direction:
|
|
411
|
-
}) :
|
|
408
|
+
run(d) {
|
|
409
|
+
Te(o) ? ar().then(() => {
|
|
410
|
+
o = o({ direction: d ? "in" : "out" }), m(d);
|
|
411
|
+
}) : m(d);
|
|
412
412
|
},
|
|
413
413
|
end() {
|
|
414
|
-
|
|
414
|
+
f(), a = l = null;
|
|
415
415
|
}
|
|
416
416
|
};
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function Go(e) {
|
|
419
419
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
420
420
|
}
|
|
421
|
-
function
|
|
422
|
-
const { fragment:
|
|
423
|
-
|
|
424
|
-
const o = e.$$.on_mount.map(
|
|
421
|
+
function hr(e, t, n) {
|
|
422
|
+
const { fragment: r, after_update: i } = e.$$;
|
|
423
|
+
r && r.m(t, n), Ee(() => {
|
|
424
|
+
const o = e.$$.on_mount.map(jt).filter(Te);
|
|
425
425
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
|
|
426
426
|
}), i.forEach(Ee);
|
|
427
427
|
}
|
|
428
|
-
function
|
|
429
|
-
const
|
|
430
|
-
|
|
428
|
+
function fr(e, t) {
|
|
429
|
+
const n = e.$$;
|
|
430
|
+
n.fragment !== null && (sr(n.after_update), U(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
431
431
|
}
|
|
432
|
-
function
|
|
433
|
-
e.$$.dirty[0] === -1 && (X.push(e),
|
|
432
|
+
function cr(e, t) {
|
|
433
|
+
e.$$.dirty[0] === -1 && (X.push(e), ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
434
434
|
}
|
|
435
|
-
function
|
|
436
|
-
const l =
|
|
437
|
-
|
|
435
|
+
function dr(e, t, n, r, i, o, s = null, a = [-1]) {
|
|
436
|
+
const l = oe;
|
|
437
|
+
ie(e);
|
|
438
438
|
const u = e.$$ = {
|
|
439
439
|
fragment: null,
|
|
440
440
|
ctx: [],
|
|
@@ -442,7 +442,7 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
442
442
|
props: o,
|
|
443
443
|
update: N,
|
|
444
444
|
not_equal: i,
|
|
445
|
-
bound:
|
|
445
|
+
bound: dt(),
|
|
446
446
|
// lifecycle
|
|
447
447
|
on_mount: [],
|
|
448
448
|
on_destroy: [],
|
|
@@ -451,29 +451,29 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
451
451
|
after_update: [],
|
|
452
452
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
453
453
|
// everything else
|
|
454
|
-
callbacks:
|
|
454
|
+
callbacks: dt(),
|
|
455
455
|
dirty: a,
|
|
456
456
|
skip_bound: !1,
|
|
457
457
|
root: t.target || l.$$.root
|
|
458
458
|
};
|
|
459
459
|
s && s(u.root);
|
|
460
460
|
let h = !1;
|
|
461
|
-
if (u.ctx =
|
|
462
|
-
const
|
|
463
|
-
return u.ctx && i(u.ctx[
|
|
464
|
-
}) : [], u.update(), h = !0, U(u.before_update), u.fragment =
|
|
461
|
+
if (u.ctx = n ? n(e, t.props || {}, (f, c, ...m) => {
|
|
462
|
+
const d = m.length ? m[0] : c;
|
|
463
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && cr(e, f)), c;
|
|
464
|
+
}) : [], u.update(), h = !0, U(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
|
|
465
465
|
if (t.hydrate) {
|
|
466
|
-
const
|
|
467
|
-
u.fragment && u.fragment.l(
|
|
466
|
+
const f = Zn(t.target);
|
|
467
|
+
u.fragment && u.fragment.l(f), f.forEach(D);
|
|
468
468
|
} else
|
|
469
469
|
u.fragment && u.fragment.c();
|
|
470
|
-
t.intro &&
|
|
470
|
+
t.intro && Qt(e.$$.fragment), hr(e, t.target, t.anchor), I();
|
|
471
471
|
}
|
|
472
|
-
|
|
472
|
+
ie(l);
|
|
473
473
|
}
|
|
474
|
-
let
|
|
475
|
-
typeof HTMLElement == "function" && (
|
|
476
|
-
constructor(t,
|
|
474
|
+
let Jt;
|
|
475
|
+
typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
476
|
+
constructor(t, n, r) {
|
|
477
477
|
super();
|
|
478
478
|
/** The Svelte component constructor */
|
|
479
479
|
O(this, "$$ctor");
|
|
@@ -493,37 +493,37 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
493
493
|
O(this, "$$l", {});
|
|
494
494
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
495
495
|
O(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
496
|
-
this.$$ctor = t, this.$$s =
|
|
496
|
+
this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
|
|
497
497
|
}
|
|
498
|
-
addEventListener(t,
|
|
499
|
-
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(
|
|
500
|
-
const i = this.$$c.$on(t,
|
|
501
|
-
this.$$l_u.set(
|
|
498
|
+
addEventListener(t, n, r) {
|
|
499
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
|
|
500
|
+
const i = this.$$c.$on(t, n);
|
|
501
|
+
this.$$l_u.set(n, i);
|
|
502
502
|
}
|
|
503
|
-
super.addEventListener(t,
|
|
503
|
+
super.addEventListener(t, n, r);
|
|
504
504
|
}
|
|
505
|
-
removeEventListener(t,
|
|
506
|
-
if (super.removeEventListener(t,
|
|
507
|
-
const i = this.$$l_u.get(
|
|
508
|
-
i && (i(), this.$$l_u.delete(
|
|
505
|
+
removeEventListener(t, n, r) {
|
|
506
|
+
if (super.removeEventListener(t, n, r), this.$$c) {
|
|
507
|
+
const i = this.$$l_u.get(n);
|
|
508
|
+
i && (i(), this.$$l_u.delete(n));
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
511
|
connectedCallback() {
|
|
512
|
-
return
|
|
512
|
+
return ct(this, null, function* () {
|
|
513
513
|
if (this.$$cn = !0, !this.$$c) {
|
|
514
514
|
let t = function(o) {
|
|
515
515
|
return () => {
|
|
516
516
|
let s;
|
|
517
517
|
return {
|
|
518
518
|
c: function() {
|
|
519
|
-
s = M("slot"), o !== "default" &&
|
|
519
|
+
s = M("slot"), o !== "default" && T(s, "name", o);
|
|
520
520
|
},
|
|
521
521
|
/**
|
|
522
522
|
* @param {HTMLElement} target
|
|
523
523
|
* @param {HTMLElement} [anchor]
|
|
524
524
|
*/
|
|
525
525
|
m: function(u, h) {
|
|
526
|
-
|
|
526
|
+
ue(u, s, h);
|
|
527
527
|
},
|
|
528
528
|
d: function(u) {
|
|
529
529
|
u && D(s);
|
|
@@ -533,9 +533,9 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
533
533
|
};
|
|
534
534
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
535
535
|
return;
|
|
536
|
-
const
|
|
536
|
+
const n = {}, r = Jn(this);
|
|
537
537
|
for (const o of this.$$s)
|
|
538
|
-
o in
|
|
538
|
+
o in r && (n[o] = [t(o)]);
|
|
539
539
|
for (const o of this.attributes) {
|
|
540
540
|
const s = this.$$g_p(o.name);
|
|
541
541
|
s in this.$$d || (this.$$d[s] = be(s, o.value, this.$$p_d, "toProp"));
|
|
@@ -544,8 +544,8 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
544
544
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
545
545
|
this.$$c = new this.$$ctor({
|
|
546
546
|
target: this.shadowRoot || this,
|
|
547
|
-
props:
|
|
548
|
-
$$slots:
|
|
547
|
+
props: ft(ht({}, this.$$d), {
|
|
548
|
+
$$slots: n,
|
|
549
549
|
$$scope: {
|
|
550
550
|
ctx: []
|
|
551
551
|
}
|
|
@@ -577,9 +577,9 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
577
577
|
}
|
|
578
578
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
579
579
|
// and setting attributes through setAttribute etc, this is helpful
|
|
580
|
-
attributeChangedCallback(t,
|
|
580
|
+
attributeChangedCallback(t, n, r) {
|
|
581
581
|
var i;
|
|
582
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = be(t,
|
|
582
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = be(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
583
583
|
}
|
|
584
584
|
disconnectedCallback() {
|
|
585
585
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -588,16 +588,16 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
588
588
|
}
|
|
589
589
|
$$g_p(t) {
|
|
590
590
|
return Object.keys(this.$$p_d).find(
|
|
591
|
-
(
|
|
591
|
+
(n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
|
|
592
592
|
) || t;
|
|
593
593
|
}
|
|
594
594
|
});
|
|
595
|
-
function be(e, t,
|
|
595
|
+
function be(e, t, n, r) {
|
|
596
596
|
var o;
|
|
597
|
-
const i = (o =
|
|
598
|
-
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !
|
|
597
|
+
const i = (o = n[e]) == null ? void 0 : o.type;
|
|
598
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
599
599
|
return t;
|
|
600
|
-
if (
|
|
600
|
+
if (r === "toAttribute")
|
|
601
601
|
switch (i) {
|
|
602
602
|
case "Object":
|
|
603
603
|
case "Array":
|
|
@@ -622,10 +622,10 @@ function be(e, t, r, n) {
|
|
|
622
622
|
return t;
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
|
-
function
|
|
626
|
-
let s = class extends
|
|
625
|
+
function mr(e, t, n, r, i, o) {
|
|
626
|
+
let s = class extends Jt {
|
|
627
627
|
constructor() {
|
|
628
|
-
super(e,
|
|
628
|
+
super(e, n, i), this.$$p_d = t;
|
|
629
629
|
}
|
|
630
630
|
static get observedAttributes() {
|
|
631
631
|
return Object.keys(t).map(
|
|
@@ -643,7 +643,7 @@ function yn(e, t, r, n, i, o) {
|
|
|
643
643
|
l = be(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
|
|
644
644
|
}
|
|
645
645
|
});
|
|
646
|
-
}),
|
|
646
|
+
}), r.forEach((a) => {
|
|
647
647
|
Object.defineProperty(s.prototype, a, {
|
|
648
648
|
get() {
|
|
649
649
|
var l;
|
|
@@ -653,7 +653,7 @@ function yn(e, t, r, n, i, o) {
|
|
|
653
653
|
}), e.element = /** @type {any} */
|
|
654
654
|
s, s;
|
|
655
655
|
}
|
|
656
|
-
class
|
|
656
|
+
class pr {
|
|
657
657
|
constructor() {
|
|
658
658
|
/**
|
|
659
659
|
* ### PRIVATE API
|
|
@@ -674,7 +674,7 @@ class vn {
|
|
|
674
674
|
}
|
|
675
675
|
/** @returns {void} */
|
|
676
676
|
$destroy() {
|
|
677
|
-
|
|
677
|
+
fr(this, 1), this.$destroy = N;
|
|
678
678
|
}
|
|
679
679
|
/**
|
|
680
680
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -682,13 +682,13 @@ class vn {
|
|
|
682
682
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
683
683
|
* @returns {() => void}
|
|
684
684
|
*/
|
|
685
|
-
$on(t,
|
|
686
|
-
if (!
|
|
685
|
+
$on(t, n) {
|
|
686
|
+
if (!Te(n))
|
|
687
687
|
return N;
|
|
688
|
-
const
|
|
689
|
-
return
|
|
690
|
-
const i =
|
|
691
|
-
i !== -1 &&
|
|
688
|
+
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
689
|
+
return r.push(n), () => {
|
|
690
|
+
const i = r.indexOf(n);
|
|
691
|
+
i !== -1 && r.splice(i, 1);
|
|
692
692
|
};
|
|
693
693
|
}
|
|
694
694
|
/**
|
|
@@ -696,11 +696,11 @@ class vn {
|
|
|
696
696
|
* @returns {void}
|
|
697
697
|
*/
|
|
698
698
|
$set(t) {
|
|
699
|
-
this.$$set && !
|
|
699
|
+
this.$$set && !Gn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
700
700
|
}
|
|
701
701
|
}
|
|
702
|
-
const
|
|
703
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
702
|
+
const br = "4";
|
|
703
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(br);
|
|
704
704
|
/*! *****************************************************************************
|
|
705
705
|
Copyright (c) Microsoft Corporation.
|
|
706
706
|
|
|
@@ -715,48 +715,67 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
715
715
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
716
716
|
PERFORMANCE OF THIS SOFTWARE.
|
|
717
717
|
***************************************************************************** */
|
|
718
|
-
var
|
|
719
|
-
return
|
|
720
|
-
|
|
721
|
-
} || function(
|
|
722
|
-
for (var i in
|
|
723
|
-
Object.prototype.hasOwnProperty.call(
|
|
724
|
-
},
|
|
718
|
+
var ke = function(e, t) {
|
|
719
|
+
return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
720
|
+
n.__proto__ = r;
|
|
721
|
+
} || function(n, r) {
|
|
722
|
+
for (var i in r)
|
|
723
|
+
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
724
|
+
}, ke(e, t);
|
|
725
725
|
};
|
|
726
|
-
function
|
|
726
|
+
function $(e, t) {
|
|
727
727
|
if (typeof t != "function" && t !== null)
|
|
728
728
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
729
|
-
|
|
730
|
-
function
|
|
729
|
+
ke(e, t);
|
|
730
|
+
function n() {
|
|
731
731
|
this.constructor = e;
|
|
732
732
|
}
|
|
733
|
-
e.prototype = t === null ? Object.create(t) : (
|
|
733
|
+
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
734
|
+
}
|
|
735
|
+
var E = function() {
|
|
736
|
+
return E = Object.assign || function(t) {
|
|
737
|
+
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
738
|
+
n = arguments[r];
|
|
739
|
+
for (var o in n)
|
|
740
|
+
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
741
|
+
}
|
|
742
|
+
return t;
|
|
743
|
+
}, E.apply(this, arguments);
|
|
744
|
+
};
|
|
745
|
+
function gr(e, t) {
|
|
746
|
+
var n = {};
|
|
747
|
+
for (var r in e)
|
|
748
|
+
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
749
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
750
|
+
for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
|
|
751
|
+
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
752
|
+
return n;
|
|
734
753
|
}
|
|
735
|
-
function
|
|
736
|
-
var t = typeof Symbol == "function" && Symbol.iterator,
|
|
737
|
-
if (
|
|
738
|
-
return
|
|
754
|
+
function Ve(e) {
|
|
755
|
+
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
756
|
+
if (n)
|
|
757
|
+
return n.call(e);
|
|
739
758
|
if (e && typeof e.length == "number")
|
|
740
759
|
return {
|
|
741
760
|
next: function() {
|
|
742
|
-
return e &&
|
|
761
|
+
return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
|
|
743
762
|
}
|
|
744
763
|
};
|
|
745
764
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
746
765
|
}
|
|
747
|
-
function
|
|
748
|
-
var
|
|
749
|
-
if (!
|
|
766
|
+
function Xe(e, t) {
|
|
767
|
+
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
768
|
+
if (!n)
|
|
750
769
|
return e;
|
|
751
|
-
var
|
|
770
|
+
var r = n.call(e), i, o = [], s;
|
|
752
771
|
try {
|
|
753
|
-
for (; (t === void 0 || t-- > 0) && !(i =
|
|
772
|
+
for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
|
|
754
773
|
o.push(i.value);
|
|
755
774
|
} catch (a) {
|
|
756
775
|
s = { error: a };
|
|
757
776
|
} finally {
|
|
758
777
|
try {
|
|
759
|
-
i && !i.done && (
|
|
778
|
+
i && !i.done && (n = r.return) && n.call(r);
|
|
760
779
|
} finally {
|
|
761
780
|
if (s)
|
|
762
781
|
throw s.error;
|
|
@@ -764,57 +783,57 @@ function Ze(e, t) {
|
|
|
764
783
|
}
|
|
765
784
|
return o;
|
|
766
785
|
}
|
|
767
|
-
function
|
|
768
|
-
if (arguments.length === 2)
|
|
769
|
-
for (var
|
|
770
|
-
(o || !(
|
|
786
|
+
function Z(e, t, n) {
|
|
787
|
+
if (n || arguments.length === 2)
|
|
788
|
+
for (var r = 0, i = t.length, o; r < i; r++)
|
|
789
|
+
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
771
790
|
return e.concat(o || t);
|
|
772
791
|
}
|
|
773
792
|
function R(e) {
|
|
774
793
|
return typeof e == "function";
|
|
775
794
|
}
|
|
776
|
-
function
|
|
777
|
-
var t = function(
|
|
778
|
-
Error.call(
|
|
779
|
-
},
|
|
780
|
-
return
|
|
781
|
-
}
|
|
782
|
-
var
|
|
783
|
-
return function(
|
|
784
|
-
e(this), this.message =
|
|
785
|
-
` +
|
|
786
|
-
return i + 1 + ") " +
|
|
795
|
+
function qt(e) {
|
|
796
|
+
var t = function(r) {
|
|
797
|
+
Error.call(r), r.stack = new Error().stack;
|
|
798
|
+
}, n = e(t);
|
|
799
|
+
return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
|
|
800
|
+
}
|
|
801
|
+
var Ne = qt(function(e) {
|
|
802
|
+
return function(n) {
|
|
803
|
+
e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
|
|
804
|
+
` + n.map(function(r, i) {
|
|
805
|
+
return i + 1 + ") " + r.toString();
|
|
787
806
|
}).join(`
|
|
788
|
-
`) : "", this.name = "UnsubscriptionError", this.errors =
|
|
807
|
+
`) : "", this.name = "UnsubscriptionError", this.errors = n;
|
|
789
808
|
};
|
|
790
809
|
});
|
|
791
|
-
function
|
|
810
|
+
function ze(e, t) {
|
|
792
811
|
if (e) {
|
|
793
|
-
var
|
|
794
|
-
0 <=
|
|
812
|
+
var n = e.indexOf(t);
|
|
813
|
+
0 <= n && e.splice(n, 1);
|
|
795
814
|
}
|
|
796
815
|
}
|
|
797
|
-
var
|
|
816
|
+
var He = function() {
|
|
798
817
|
function e(t) {
|
|
799
818
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
800
819
|
}
|
|
801
820
|
return e.prototype.unsubscribe = function() {
|
|
802
|
-
var t,
|
|
821
|
+
var t, n, r, i, o;
|
|
803
822
|
if (!this.closed) {
|
|
804
823
|
this.closed = !0;
|
|
805
824
|
var s = this._parentage;
|
|
806
825
|
if (s)
|
|
807
826
|
if (this._parentage = null, Array.isArray(s))
|
|
808
827
|
try {
|
|
809
|
-
for (var a =
|
|
828
|
+
for (var a = Ve(s), l = a.next(); !l.done; l = a.next()) {
|
|
810
829
|
var u = l.value;
|
|
811
830
|
u.remove(this);
|
|
812
831
|
}
|
|
813
|
-
} catch (
|
|
814
|
-
t = { error:
|
|
832
|
+
} catch (p) {
|
|
833
|
+
t = { error: p };
|
|
815
834
|
} finally {
|
|
816
835
|
try {
|
|
817
|
-
l && !l.done && (
|
|
836
|
+
l && !l.done && (n = a.return) && n.call(a);
|
|
818
837
|
} finally {
|
|
819
838
|
if (t)
|
|
820
839
|
throw t.error;
|
|
@@ -826,115 +845,119 @@ var Ae = function() {
|
|
|
826
845
|
if (R(h))
|
|
827
846
|
try {
|
|
828
847
|
h();
|
|
829
|
-
} catch (
|
|
830
|
-
o =
|
|
848
|
+
} catch (p) {
|
|
849
|
+
o = p instanceof Ne ? p.errors : [p];
|
|
831
850
|
}
|
|
832
|
-
var
|
|
833
|
-
if (
|
|
851
|
+
var f = this._finalizers;
|
|
852
|
+
if (f) {
|
|
834
853
|
this._finalizers = null;
|
|
835
854
|
try {
|
|
836
|
-
for (var
|
|
837
|
-
var
|
|
855
|
+
for (var c = Ve(f), m = c.next(); !m.done; m = c.next()) {
|
|
856
|
+
var d = m.value;
|
|
838
857
|
try {
|
|
839
|
-
|
|
840
|
-
} catch (
|
|
841
|
-
o = o != null ? o : [],
|
|
858
|
+
gt(d);
|
|
859
|
+
} catch (p) {
|
|
860
|
+
o = o != null ? o : [], p instanceof Ne ? o = Z(Z([], Xe(o)), Xe(p.errors)) : o.push(p);
|
|
842
861
|
}
|
|
843
862
|
}
|
|
844
|
-
} catch (
|
|
845
|
-
|
|
863
|
+
} catch (p) {
|
|
864
|
+
r = { error: p };
|
|
846
865
|
} finally {
|
|
847
866
|
try {
|
|
848
|
-
|
|
867
|
+
m && !m.done && (i = c.return) && i.call(c);
|
|
849
868
|
} finally {
|
|
850
|
-
if (
|
|
851
|
-
throw
|
|
869
|
+
if (r)
|
|
870
|
+
throw r.error;
|
|
852
871
|
}
|
|
853
872
|
}
|
|
854
873
|
}
|
|
855
874
|
if (o)
|
|
856
|
-
throw new
|
|
875
|
+
throw new Ne(o);
|
|
857
876
|
}
|
|
858
877
|
}, e.prototype.add = function(t) {
|
|
859
|
-
var
|
|
878
|
+
var n;
|
|
860
879
|
if (t && t !== this)
|
|
861
880
|
if (this.closed)
|
|
862
|
-
|
|
881
|
+
gt(t);
|
|
863
882
|
else {
|
|
864
883
|
if (t instanceof e) {
|
|
865
884
|
if (t.closed || t._hasParent(this))
|
|
866
885
|
return;
|
|
867
886
|
t._addParent(this);
|
|
868
887
|
}
|
|
869
|
-
(this._finalizers = (
|
|
888
|
+
(this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
|
|
870
889
|
}
|
|
871
890
|
}, e.prototype._hasParent = function(t) {
|
|
872
|
-
var
|
|
873
|
-
return
|
|
891
|
+
var n = this._parentage;
|
|
892
|
+
return n === t || Array.isArray(n) && n.includes(t);
|
|
874
893
|
}, e.prototype._addParent = function(t) {
|
|
875
|
-
var
|
|
876
|
-
this._parentage = Array.isArray(
|
|
894
|
+
var n = this._parentage;
|
|
895
|
+
this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
|
|
877
896
|
}, e.prototype._removeParent = function(t) {
|
|
878
|
-
var
|
|
879
|
-
|
|
897
|
+
var n = this._parentage;
|
|
898
|
+
n === t ? this._parentage = null : Array.isArray(n) && ze(n, t);
|
|
880
899
|
}, e.prototype.remove = function(t) {
|
|
881
|
-
var
|
|
882
|
-
|
|
900
|
+
var n = this._finalizers;
|
|
901
|
+
n && ze(n, t), t instanceof e && t._removeParent(this);
|
|
883
902
|
}, e.EMPTY = function() {
|
|
884
903
|
var t = new e();
|
|
885
904
|
return t.closed = !0, t;
|
|
886
905
|
}(), e;
|
|
887
|
-
}(),
|
|
888
|
-
function
|
|
889
|
-
return e instanceof
|
|
906
|
+
}(), Yt = He.EMPTY;
|
|
907
|
+
function Kt(e) {
|
|
908
|
+
return e instanceof He || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
890
909
|
}
|
|
891
|
-
function
|
|
910
|
+
function gt(e) {
|
|
892
911
|
R(e) ? e() : e.unsubscribe();
|
|
893
912
|
}
|
|
894
|
-
var
|
|
895
|
-
|
|
896
|
-
|
|
913
|
+
var yr = {
|
|
914
|
+
onUnhandledError: null,
|
|
915
|
+
onStoppedNotification: null,
|
|
916
|
+
Promise: void 0,
|
|
917
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
918
|
+
useDeprecatedNextContext: !1
|
|
919
|
+
}, vr = {
|
|
897
920
|
setTimeout: function(e, t) {
|
|
898
|
-
for (var
|
|
899
|
-
r
|
|
900
|
-
return setTimeout.apply(void 0,
|
|
921
|
+
for (var n = [], r = 2; r < arguments.length; r++)
|
|
922
|
+
n[r - 2] = arguments[r];
|
|
923
|
+
return setTimeout.apply(void 0, Z([e, t], Xe(n)));
|
|
901
924
|
},
|
|
902
925
|
clearTimeout: function(e) {
|
|
903
926
|
return clearTimeout(e);
|
|
904
927
|
},
|
|
905
928
|
delegate: void 0
|
|
906
929
|
};
|
|
907
|
-
function
|
|
908
|
-
|
|
930
|
+
function _r(e) {
|
|
931
|
+
vr.setTimeout(function() {
|
|
909
932
|
throw e;
|
|
910
933
|
});
|
|
911
934
|
}
|
|
912
|
-
function
|
|
935
|
+
function yt() {
|
|
913
936
|
}
|
|
914
937
|
function ge(e) {
|
|
915
938
|
e();
|
|
916
939
|
}
|
|
917
|
-
var
|
|
918
|
-
|
|
919
|
-
function t(
|
|
920
|
-
var
|
|
921
|
-
return
|
|
940
|
+
var en = function(e) {
|
|
941
|
+
$(t, e);
|
|
942
|
+
function t(n) {
|
|
943
|
+
var r = e.call(this) || this;
|
|
944
|
+
return r.isStopped = !1, n ? (r.destination = n, Kt(n) && n.add(r)) : r.destination = wr, r;
|
|
922
945
|
}
|
|
923
|
-
return t.create = function(
|
|
924
|
-
return new
|
|
925
|
-
}, t.prototype.next = function(
|
|
926
|
-
this.isStopped || this._next(
|
|
927
|
-
}, t.prototype.error = function(
|
|
928
|
-
this.isStopped || (this.isStopped = !0, this._error(
|
|
946
|
+
return t.create = function(n, r, i) {
|
|
947
|
+
return new We(n, r, i);
|
|
948
|
+
}, t.prototype.next = function(n) {
|
|
949
|
+
this.isStopped || this._next(n);
|
|
950
|
+
}, t.prototype.error = function(n) {
|
|
951
|
+
this.isStopped || (this.isStopped = !0, this._error(n));
|
|
929
952
|
}, t.prototype.complete = function() {
|
|
930
953
|
this.isStopped || (this.isStopped = !0, this._complete());
|
|
931
954
|
}, t.prototype.unsubscribe = function() {
|
|
932
955
|
this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
|
|
933
|
-
}, t.prototype._next = function(
|
|
934
|
-
this.destination.next(
|
|
935
|
-
}, t.prototype._error = function(
|
|
956
|
+
}, t.prototype._next = function(n) {
|
|
957
|
+
this.destination.next(n);
|
|
958
|
+
}, t.prototype._error = function(n) {
|
|
936
959
|
try {
|
|
937
|
-
this.destination.error(
|
|
960
|
+
this.destination.error(n);
|
|
938
961
|
} finally {
|
|
939
962
|
this.unsubscribe();
|
|
940
963
|
}
|
|
@@ -945,82 +968,82 @@ var ir = function(e) {
|
|
|
945
968
|
this.unsubscribe();
|
|
946
969
|
}
|
|
947
970
|
}, t;
|
|
948
|
-
}(
|
|
971
|
+
}(He), xr = function() {
|
|
949
972
|
function e(t) {
|
|
950
973
|
this.partialObserver = t;
|
|
951
974
|
}
|
|
952
975
|
return e.prototype.next = function(t) {
|
|
953
|
-
var
|
|
954
|
-
if (
|
|
976
|
+
var n = this.partialObserver;
|
|
977
|
+
if (n.next)
|
|
955
978
|
try {
|
|
956
|
-
|
|
957
|
-
} catch (
|
|
958
|
-
|
|
979
|
+
n.next(t);
|
|
980
|
+
} catch (r) {
|
|
981
|
+
de(r);
|
|
959
982
|
}
|
|
960
983
|
}, e.prototype.error = function(t) {
|
|
961
|
-
var
|
|
962
|
-
if (
|
|
984
|
+
var n = this.partialObserver;
|
|
985
|
+
if (n.error)
|
|
963
986
|
try {
|
|
964
|
-
|
|
965
|
-
} catch (
|
|
966
|
-
|
|
987
|
+
n.error(t);
|
|
988
|
+
} catch (r) {
|
|
989
|
+
de(r);
|
|
967
990
|
}
|
|
968
991
|
else
|
|
969
|
-
|
|
992
|
+
de(t);
|
|
970
993
|
}, e.prototype.complete = function() {
|
|
971
994
|
var t = this.partialObserver;
|
|
972
995
|
if (t.complete)
|
|
973
996
|
try {
|
|
974
997
|
t.complete();
|
|
975
|
-
} catch (
|
|
976
|
-
|
|
998
|
+
} catch (n) {
|
|
999
|
+
de(n);
|
|
977
1000
|
}
|
|
978
1001
|
}, e;
|
|
979
|
-
}(),
|
|
980
|
-
|
|
981
|
-
function t(
|
|
1002
|
+
}(), We = function(e) {
|
|
1003
|
+
$(t, e);
|
|
1004
|
+
function t(n, r, i) {
|
|
982
1005
|
var o = e.call(this) || this, s;
|
|
983
|
-
return R(
|
|
984
|
-
next:
|
|
985
|
-
error:
|
|
1006
|
+
return R(n) || !n ? s = {
|
|
1007
|
+
next: n != null ? n : void 0,
|
|
1008
|
+
error: r != null ? r : void 0,
|
|
986
1009
|
complete: i != null ? i : void 0
|
|
987
|
-
} : s =
|
|
1010
|
+
} : s = n, o.destination = new xr(s), o;
|
|
988
1011
|
}
|
|
989
1012
|
return t;
|
|
990
|
-
}(
|
|
991
|
-
function
|
|
992
|
-
|
|
1013
|
+
}(en);
|
|
1014
|
+
function de(e) {
|
|
1015
|
+
_r(e);
|
|
993
1016
|
}
|
|
994
|
-
function
|
|
1017
|
+
function Er(e) {
|
|
995
1018
|
throw e;
|
|
996
1019
|
}
|
|
997
|
-
var
|
|
1020
|
+
var wr = {
|
|
998
1021
|
closed: !0,
|
|
999
|
-
next:
|
|
1000
|
-
error:
|
|
1001
|
-
complete:
|
|
1002
|
-
},
|
|
1022
|
+
next: yt,
|
|
1023
|
+
error: Er,
|
|
1024
|
+
complete: yt
|
|
1025
|
+
}, Sr = function() {
|
|
1003
1026
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1004
1027
|
}();
|
|
1005
|
-
function
|
|
1028
|
+
function Tr(e) {
|
|
1006
1029
|
return e;
|
|
1007
1030
|
}
|
|
1008
|
-
function
|
|
1009
|
-
return e.length === 0 ?
|
|
1010
|
-
return e.reduce(function(
|
|
1011
|
-
return i(
|
|
1012
|
-
},
|
|
1031
|
+
function Hr(e) {
|
|
1032
|
+
return e.length === 0 ? Tr : e.length === 1 ? e[0] : function(n) {
|
|
1033
|
+
return e.reduce(function(r, i) {
|
|
1034
|
+
return i(r);
|
|
1035
|
+
}, n);
|
|
1013
1036
|
};
|
|
1014
1037
|
}
|
|
1015
|
-
var
|
|
1038
|
+
var vt = function() {
|
|
1016
1039
|
function e(t) {
|
|
1017
1040
|
t && (this._subscribe = t);
|
|
1018
1041
|
}
|
|
1019
1042
|
return e.prototype.lift = function(t) {
|
|
1020
|
-
var
|
|
1021
|
-
return
|
|
1022
|
-
}, e.prototype.subscribe = function(t,
|
|
1023
|
-
var i = this, o =
|
|
1043
|
+
var n = new e();
|
|
1044
|
+
return n.source = this, n.operator = t, n;
|
|
1045
|
+
}, e.prototype.subscribe = function(t, n, r) {
|
|
1046
|
+
var i = this, o = Br(t) ? t : new We(t, n, r);
|
|
1024
1047
|
return ge(function() {
|
|
1025
1048
|
var s = i, a = s.operator, l = s.source;
|
|
1026
1049
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1028,13 +1051,13 @@ var wt = function() {
|
|
|
1028
1051
|
}, e.prototype._trySubscribe = function(t) {
|
|
1029
1052
|
try {
|
|
1030
1053
|
return this._subscribe(t);
|
|
1031
|
-
} catch (
|
|
1032
|
-
t.error(
|
|
1054
|
+
} catch (n) {
|
|
1055
|
+
t.error(n);
|
|
1033
1056
|
}
|
|
1034
|
-
}, e.prototype.forEach = function(t,
|
|
1035
|
-
var
|
|
1036
|
-
return
|
|
1037
|
-
var s = new
|
|
1057
|
+
}, e.prototype.forEach = function(t, n) {
|
|
1058
|
+
var r = this;
|
|
1059
|
+
return n = _t(n), new n(function(i, o) {
|
|
1060
|
+
var s = new We({
|
|
1038
1061
|
next: function(a) {
|
|
1039
1062
|
try {
|
|
1040
1063
|
t(a);
|
|
@@ -1045,69 +1068,69 @@ var wt = function() {
|
|
|
1045
1068
|
error: o,
|
|
1046
1069
|
complete: i
|
|
1047
1070
|
});
|
|
1048
|
-
|
|
1071
|
+
r.subscribe(s);
|
|
1049
1072
|
});
|
|
1050
1073
|
}, e.prototype._subscribe = function(t) {
|
|
1051
|
-
var
|
|
1052
|
-
return (
|
|
1053
|
-
}, e.prototype[
|
|
1074
|
+
var n;
|
|
1075
|
+
return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
|
|
1076
|
+
}, e.prototype[Sr] = function() {
|
|
1054
1077
|
return this;
|
|
1055
1078
|
}, e.prototype.pipe = function() {
|
|
1056
|
-
for (var t = [],
|
|
1057
|
-
t[
|
|
1058
|
-
return
|
|
1079
|
+
for (var t = [], n = 0; n < arguments.length; n++)
|
|
1080
|
+
t[n] = arguments[n];
|
|
1081
|
+
return Hr(t)(this);
|
|
1059
1082
|
}, e.prototype.toPromise = function(t) {
|
|
1060
|
-
var
|
|
1061
|
-
return t =
|
|
1083
|
+
var n = this;
|
|
1084
|
+
return t = _t(t), new t(function(r, i) {
|
|
1062
1085
|
var o;
|
|
1063
|
-
|
|
1086
|
+
n.subscribe(function(s) {
|
|
1064
1087
|
return o = s;
|
|
1065
1088
|
}, function(s) {
|
|
1066
1089
|
return i(s);
|
|
1067
1090
|
}, function() {
|
|
1068
|
-
return
|
|
1091
|
+
return r(o);
|
|
1069
1092
|
});
|
|
1070
1093
|
});
|
|
1071
1094
|
}, e.create = function(t) {
|
|
1072
1095
|
return new e(t);
|
|
1073
1096
|
}, e;
|
|
1074
1097
|
}();
|
|
1075
|
-
function
|
|
1098
|
+
function _t(e) {
|
|
1076
1099
|
var t;
|
|
1077
|
-
return (t = e != null ? e :
|
|
1100
|
+
return (t = e != null ? e : yr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1078
1101
|
}
|
|
1079
|
-
function
|
|
1102
|
+
function Ar(e) {
|
|
1080
1103
|
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
1081
1104
|
}
|
|
1082
|
-
function
|
|
1083
|
-
return e && e instanceof
|
|
1105
|
+
function Br(e) {
|
|
1106
|
+
return e && e instanceof en || Ar(e) && Kt(e);
|
|
1084
1107
|
}
|
|
1085
|
-
var
|
|
1108
|
+
var Cr = qt(function(e) {
|
|
1086
1109
|
return function() {
|
|
1087
1110
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1088
1111
|
};
|
|
1089
|
-
}),
|
|
1090
|
-
|
|
1112
|
+
}), tn = function(e) {
|
|
1113
|
+
$(t, e);
|
|
1091
1114
|
function t() {
|
|
1092
|
-
var
|
|
1093
|
-
return
|
|
1115
|
+
var n = e.call(this) || this;
|
|
1116
|
+
return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
|
|
1094
1117
|
}
|
|
1095
|
-
return t.prototype.lift = function(
|
|
1096
|
-
var
|
|
1097
|
-
return
|
|
1118
|
+
return t.prototype.lift = function(n) {
|
|
1119
|
+
var r = new xt(this, this);
|
|
1120
|
+
return r.operator = n, r;
|
|
1098
1121
|
}, t.prototype._throwIfClosed = function() {
|
|
1099
1122
|
if (this.closed)
|
|
1100
|
-
throw new
|
|
1101
|
-
}, t.prototype.next = function(
|
|
1102
|
-
var
|
|
1123
|
+
throw new Cr();
|
|
1124
|
+
}, t.prototype.next = function(n) {
|
|
1125
|
+
var r = this;
|
|
1103
1126
|
ge(function() {
|
|
1104
1127
|
var i, o;
|
|
1105
|
-
if (
|
|
1106
|
-
|
|
1128
|
+
if (r._throwIfClosed(), !r.isStopped) {
|
|
1129
|
+
r.currentObservers || (r.currentObservers = Array.from(r.observers));
|
|
1107
1130
|
try {
|
|
1108
|
-
for (var s =
|
|
1131
|
+
for (var s = Ve(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
1109
1132
|
var l = a.value;
|
|
1110
|
-
l.next(
|
|
1133
|
+
l.next(n);
|
|
1111
1134
|
}
|
|
1112
1135
|
} catch (u) {
|
|
1113
1136
|
i = { error: u };
|
|
@@ -1121,118 +1144,118 @@ var In = tr(function(e) {
|
|
|
1121
1144
|
}
|
|
1122
1145
|
}
|
|
1123
1146
|
});
|
|
1124
|
-
}, t.prototype.error = function(
|
|
1125
|
-
var
|
|
1147
|
+
}, t.prototype.error = function(n) {
|
|
1148
|
+
var r = this;
|
|
1126
1149
|
ge(function() {
|
|
1127
|
-
if (
|
|
1128
|
-
|
|
1129
|
-
for (var i =
|
|
1130
|
-
i.shift().error(
|
|
1150
|
+
if (r._throwIfClosed(), !r.isStopped) {
|
|
1151
|
+
r.hasError = r.isStopped = !0, r.thrownError = n;
|
|
1152
|
+
for (var i = r.observers; i.length; )
|
|
1153
|
+
i.shift().error(n);
|
|
1131
1154
|
}
|
|
1132
1155
|
});
|
|
1133
1156
|
}, t.prototype.complete = function() {
|
|
1134
|
-
var
|
|
1157
|
+
var n = this;
|
|
1135
1158
|
ge(function() {
|
|
1136
|
-
if (
|
|
1137
|
-
|
|
1138
|
-
for (var
|
|
1139
|
-
|
|
1159
|
+
if (n._throwIfClosed(), !n.isStopped) {
|
|
1160
|
+
n.isStopped = !0;
|
|
1161
|
+
for (var r = n.observers; r.length; )
|
|
1162
|
+
r.shift().complete();
|
|
1140
1163
|
}
|
|
1141
1164
|
});
|
|
1142
1165
|
}, t.prototype.unsubscribe = function() {
|
|
1143
1166
|
this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
|
|
1144
1167
|
}, Object.defineProperty(t.prototype, "observed", {
|
|
1145
1168
|
get: function() {
|
|
1146
|
-
var
|
|
1147
|
-
return ((
|
|
1169
|
+
var n;
|
|
1170
|
+
return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
|
|
1148
1171
|
},
|
|
1149
1172
|
enumerable: !1,
|
|
1150
1173
|
configurable: !0
|
|
1151
|
-
}), t.prototype._trySubscribe = function(
|
|
1152
|
-
return this._throwIfClosed(), e.prototype._trySubscribe.call(this,
|
|
1153
|
-
}, t.prototype._subscribe = function(
|
|
1154
|
-
return this._throwIfClosed(), this._checkFinalizedStatuses(
|
|
1155
|
-
}, t.prototype._innerSubscribe = function(
|
|
1156
|
-
var
|
|
1157
|
-
return o || s ?
|
|
1158
|
-
|
|
1174
|
+
}), t.prototype._trySubscribe = function(n) {
|
|
1175
|
+
return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
|
|
1176
|
+
}, t.prototype._subscribe = function(n) {
|
|
1177
|
+
return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
|
|
1178
|
+
}, t.prototype._innerSubscribe = function(n) {
|
|
1179
|
+
var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1180
|
+
return o || s ? Yt : (this.currentObservers = null, a.push(n), new He(function() {
|
|
1181
|
+
r.currentObservers = null, ze(a, n);
|
|
1159
1182
|
}));
|
|
1160
|
-
}, t.prototype._checkFinalizedStatuses = function(
|
|
1161
|
-
var
|
|
1162
|
-
i ?
|
|
1183
|
+
}, t.prototype._checkFinalizedStatuses = function(n) {
|
|
1184
|
+
var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
|
|
1185
|
+
i ? n.error(o) : s && n.complete();
|
|
1163
1186
|
}, t.prototype.asObservable = function() {
|
|
1164
|
-
var
|
|
1165
|
-
return
|
|
1166
|
-
}, t.create = function(
|
|
1167
|
-
return new
|
|
1187
|
+
var n = new vt();
|
|
1188
|
+
return n.source = this, n;
|
|
1189
|
+
}, t.create = function(n, r) {
|
|
1190
|
+
return new xt(n, r);
|
|
1168
1191
|
}, t;
|
|
1169
|
-
}(
|
|
1170
|
-
|
|
1171
|
-
function t(
|
|
1192
|
+
}(vt), xt = function(e) {
|
|
1193
|
+
$(t, e);
|
|
1194
|
+
function t(n, r) {
|
|
1172
1195
|
var i = e.call(this) || this;
|
|
1173
|
-
return i.destination =
|
|
1196
|
+
return i.destination = n, i.source = r, i;
|
|
1174
1197
|
}
|
|
1175
|
-
return t.prototype.next = function(
|
|
1176
|
-
var
|
|
1177
|
-
(i = (
|
|
1178
|
-
}, t.prototype.error = function(
|
|
1179
|
-
var
|
|
1180
|
-
(i = (
|
|
1198
|
+
return t.prototype.next = function(n) {
|
|
1199
|
+
var r, i;
|
|
1200
|
+
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
|
|
1201
|
+
}, t.prototype.error = function(n) {
|
|
1202
|
+
var r, i;
|
|
1203
|
+
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
|
|
1181
1204
|
}, t.prototype.complete = function() {
|
|
1182
|
-
var
|
|
1183
|
-
(
|
|
1184
|
-
}, t.prototype._subscribe = function(
|
|
1185
|
-
var
|
|
1186
|
-
return (i = (
|
|
1205
|
+
var n, r;
|
|
1206
|
+
(r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
|
|
1207
|
+
}, t.prototype._subscribe = function(n) {
|
|
1208
|
+
var r, i;
|
|
1209
|
+
return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Yt;
|
|
1187
1210
|
}, t;
|
|
1188
|
-
}(
|
|
1211
|
+
}(tn), nn = {
|
|
1189
1212
|
now: function() {
|
|
1190
|
-
return (
|
|
1213
|
+
return (nn.delegate || Date).now();
|
|
1191
1214
|
},
|
|
1192
1215
|
delegate: void 0
|
|
1193
|
-
},
|
|
1194
|
-
|
|
1195
|
-
function t(
|
|
1196
|
-
|
|
1216
|
+
}, Pr = function(e) {
|
|
1217
|
+
$(t, e);
|
|
1218
|
+
function t(n, r, i) {
|
|
1219
|
+
n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = nn);
|
|
1197
1220
|
var o = e.call(this) || this;
|
|
1198
|
-
return o._bufferSize =
|
|
1221
|
+
return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
|
|
1199
1222
|
}
|
|
1200
|
-
return t.prototype.next = function(
|
|
1201
|
-
var
|
|
1202
|
-
i || (o.push(
|
|
1203
|
-
}, t.prototype._subscribe = function(
|
|
1223
|
+
return t.prototype.next = function(n) {
|
|
1224
|
+
var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, l = r._windowTime;
|
|
1225
|
+
i || (o.push(n), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, n);
|
|
1226
|
+
}, t.prototype._subscribe = function(n) {
|
|
1204
1227
|
this._throwIfClosed(), this._trimBuffer();
|
|
1205
|
-
for (var
|
|
1206
|
-
|
|
1207
|
-
return this._checkFinalizedStatuses(
|
|
1228
|
+
for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !n.closed; l += o ? 1 : 2)
|
|
1229
|
+
n.next(a[l]);
|
|
1230
|
+
return this._checkFinalizedStatuses(n), r;
|
|
1208
1231
|
}, t.prototype._trimBuffer = function() {
|
|
1209
|
-
var
|
|
1210
|
-
if (
|
|
1232
|
+
var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
|
|
1233
|
+
if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
1211
1234
|
for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
|
|
1212
1235
|
u = h;
|
|
1213
1236
|
u && o.splice(0, u + 1);
|
|
1214
1237
|
}
|
|
1215
1238
|
}, t;
|
|
1216
|
-
}(
|
|
1217
|
-
const
|
|
1218
|
-
if (
|
|
1219
|
-
const
|
|
1220
|
-
|
|
1239
|
+
}(tn);
|
|
1240
|
+
const Et = [], wt = {}, Or = (e, t = 0) => {
|
|
1241
|
+
if (Et.indexOf(e) == -1) {
|
|
1242
|
+
const n = new Pr(t);
|
|
1243
|
+
wt[e] = n, Et.push(e);
|
|
1221
1244
|
}
|
|
1222
|
-
return
|
|
1245
|
+
return wt[e];
|
|
1223
1246
|
}, V = [];
|
|
1224
|
-
function
|
|
1247
|
+
function Ir(e, t) {
|
|
1225
1248
|
return {
|
|
1226
|
-
subscribe:
|
|
1249
|
+
subscribe: Ae(e, t).subscribe
|
|
1227
1250
|
};
|
|
1228
1251
|
}
|
|
1229
|
-
function
|
|
1230
|
-
let
|
|
1231
|
-
const
|
|
1252
|
+
function Ae(e, t = N) {
|
|
1253
|
+
let n;
|
|
1254
|
+
const r = /* @__PURE__ */ new Set();
|
|
1232
1255
|
function i(a) {
|
|
1233
|
-
if (
|
|
1256
|
+
if (kt(e, a) && (e = a, n)) {
|
|
1234
1257
|
const l = !V.length;
|
|
1235
|
-
for (const u of
|
|
1258
|
+
for (const u of r)
|
|
1236
1259
|
u[1](), V.push(u, e);
|
|
1237
1260
|
if (l) {
|
|
1238
1261
|
for (let u = 0; u < V.length; u += 2)
|
|
@@ -1246,191 +1269,152 @@ function Be(e, t = N) {
|
|
|
1246
1269
|
}
|
|
1247
1270
|
function s(a, l = N) {
|
|
1248
1271
|
const u = [a, l];
|
|
1249
|
-
return
|
|
1250
|
-
|
|
1272
|
+
return r.add(u), r.size === 1 && (n = t(i, o) || N), a(e), () => {
|
|
1273
|
+
r.delete(u), r.size === 0 && n && (n(), n = null);
|
|
1251
1274
|
};
|
|
1252
1275
|
}
|
|
1253
1276
|
return { set: i, update: o, subscribe: s };
|
|
1254
1277
|
}
|
|
1255
|
-
function
|
|
1256
|
-
const
|
|
1278
|
+
function K(e, t, n) {
|
|
1279
|
+
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
1257
1280
|
if (!i.every(Boolean))
|
|
1258
1281
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1259
1282
|
const o = t.length < 2;
|
|
1260
|
-
return
|
|
1283
|
+
return Ir(n, (s, a) => {
|
|
1261
1284
|
let l = !1;
|
|
1262
1285
|
const u = [];
|
|
1263
|
-
let h = 0,
|
|
1264
|
-
const
|
|
1286
|
+
let h = 0, f = N;
|
|
1287
|
+
const c = () => {
|
|
1265
1288
|
if (h)
|
|
1266
1289
|
return;
|
|
1267
|
-
|
|
1268
|
-
const
|
|
1269
|
-
o ? s(
|
|
1270
|
-
},
|
|
1271
|
-
(
|
|
1272
|
-
|
|
1290
|
+
f();
|
|
1291
|
+
const d = t(r ? u[0] : u, s, a);
|
|
1292
|
+
o ? s(d) : f = Te(d) ? d : N;
|
|
1293
|
+
}, m = i.map(
|
|
1294
|
+
(d, p) => Vt(
|
|
1295
|
+
d,
|
|
1273
1296
|
(g) => {
|
|
1274
|
-
u[
|
|
1297
|
+
u[p] = g, h &= ~(1 << p), l && c();
|
|
1275
1298
|
},
|
|
1276
1299
|
() => {
|
|
1277
|
-
h |= 1 <<
|
|
1300
|
+
h |= 1 << p;
|
|
1278
1301
|
}
|
|
1279
1302
|
)
|
|
1280
1303
|
);
|
|
1281
|
-
return l = !0,
|
|
1282
|
-
U(
|
|
1304
|
+
return l = !0, c(), function() {
|
|
1305
|
+
U(m), f(), l = !1;
|
|
1283
1306
|
};
|
|
1284
1307
|
});
|
|
1285
1308
|
}
|
|
1286
|
-
var
|
|
1287
|
-
function
|
|
1309
|
+
var Uo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
1310
|
+
function Mr(e) {
|
|
1288
1311
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1289
1312
|
}
|
|
1290
|
-
var
|
|
1291
|
-
return
|
|
1313
|
+
var Nr = function(t) {
|
|
1314
|
+
return Lr(t) && !Rr(t);
|
|
1292
1315
|
};
|
|
1293
|
-
function
|
|
1316
|
+
function Lr(e) {
|
|
1294
1317
|
return !!e && typeof e == "object";
|
|
1295
1318
|
}
|
|
1296
|
-
function
|
|
1319
|
+
function Rr(e) {
|
|
1297
1320
|
var t = Object.prototype.toString.call(e);
|
|
1298
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1321
|
+
return t === "[object RegExp]" || t === "[object Date]" || Ur(e);
|
|
1299
1322
|
}
|
|
1300
|
-
var
|
|
1301
|
-
function
|
|
1302
|
-
return e.$$typeof ===
|
|
1323
|
+
var $r = typeof Symbol == "function" && Symbol.for, Gr = $r ? Symbol.for("react.element") : 60103;
|
|
1324
|
+
function Ur(e) {
|
|
1325
|
+
return e.$$typeof === Gr;
|
|
1303
1326
|
}
|
|
1304
|
-
function
|
|
1327
|
+
function Dr(e) {
|
|
1305
1328
|
return Array.isArray(e) ? [] : {};
|
|
1306
1329
|
}
|
|
1307
|
-
function
|
|
1308
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1330
|
+
function se(e, t) {
|
|
1331
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q(Dr(e), e, t) : e;
|
|
1309
1332
|
}
|
|
1310
|
-
function
|
|
1311
|
-
return e.concat(t).map(function(
|
|
1312
|
-
return
|
|
1333
|
+
function Fr(e, t, n) {
|
|
1334
|
+
return e.concat(t).map(function(r) {
|
|
1335
|
+
return se(r, n);
|
|
1313
1336
|
});
|
|
1314
1337
|
}
|
|
1315
|
-
function
|
|
1338
|
+
function jr(e, t) {
|
|
1316
1339
|
if (!t.customMerge)
|
|
1317
|
-
return
|
|
1318
|
-
var
|
|
1319
|
-
return typeof
|
|
1340
|
+
return Q;
|
|
1341
|
+
var n = t.customMerge(e);
|
|
1342
|
+
return typeof n == "function" ? n : Q;
|
|
1320
1343
|
}
|
|
1321
|
-
function
|
|
1344
|
+
function kr(e) {
|
|
1322
1345
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1323
1346
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1324
1347
|
}) : [];
|
|
1325
1348
|
}
|
|
1326
|
-
function
|
|
1327
|
-
return Object.keys(e).concat(
|
|
1349
|
+
function St(e) {
|
|
1350
|
+
return Object.keys(e).concat(kr(e));
|
|
1328
1351
|
}
|
|
1329
|
-
function
|
|
1352
|
+
function rn(e, t) {
|
|
1330
1353
|
try {
|
|
1331
1354
|
return t in e;
|
|
1332
|
-
} catch (
|
|
1355
|
+
} catch (n) {
|
|
1333
1356
|
return !1;
|
|
1334
1357
|
}
|
|
1335
1358
|
}
|
|
1336
|
-
function
|
|
1337
|
-
return
|
|
1359
|
+
function Vr(e, t) {
|
|
1360
|
+
return rn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1338
1361
|
}
|
|
1339
|
-
function
|
|
1340
|
-
var
|
|
1341
|
-
return
|
|
1342
|
-
|
|
1343
|
-
}),
|
|
1344
|
-
|
|
1345
|
-
}),
|
|
1346
|
-
}
|
|
1347
|
-
function
|
|
1348
|
-
|
|
1349
|
-
var
|
|
1350
|
-
return o ?
|
|
1351
|
-
}
|
|
1352
|
-
|
|
1362
|
+
function Xr(e, t, n) {
|
|
1363
|
+
var r = {};
|
|
1364
|
+
return n.isMergeableObject(e) && St(e).forEach(function(i) {
|
|
1365
|
+
r[i] = se(e[i], n);
|
|
1366
|
+
}), St(t).forEach(function(i) {
|
|
1367
|
+
Vr(e, i) || (rn(e, i) && n.isMergeableObject(t[i]) ? r[i] = jr(i, n)(e[i], t[i], n) : r[i] = se(t[i], n));
|
|
1368
|
+
}), r;
|
|
1369
|
+
}
|
|
1370
|
+
function Q(e, t, n) {
|
|
1371
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Fr, n.isMergeableObject = n.isMergeableObject || Nr, n.cloneUnlessOtherwiseSpecified = se;
|
|
1372
|
+
var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
|
|
1373
|
+
return o ? r ? n.arrayMerge(e, t, n) : Xr(e, t, n) : se(t, n);
|
|
1374
|
+
}
|
|
1375
|
+
Q.all = function(t, n) {
|
|
1353
1376
|
if (!Array.isArray(t))
|
|
1354
1377
|
throw new Error("first argument should be an array");
|
|
1355
|
-
return t.reduce(function(
|
|
1356
|
-
return
|
|
1378
|
+
return t.reduce(function(r, i) {
|
|
1379
|
+
return Q(r, i, n);
|
|
1357
1380
|
}, {});
|
|
1358
1381
|
};
|
|
1359
|
-
var
|
|
1360
|
-
const
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
r.__proto__ = n;
|
|
1364
|
-
} || function(r, n) {
|
|
1365
|
-
for (var i in n)
|
|
1366
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1367
|
-
}, Ye(e, t);
|
|
1368
|
-
};
|
|
1369
|
-
function Ce(e, t) {
|
|
1370
|
-
if (typeof t != "function" && t !== null)
|
|
1371
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1372
|
-
Ye(e, t);
|
|
1373
|
-
function r() {
|
|
1374
|
-
this.constructor = e;
|
|
1375
|
-
}
|
|
1376
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1377
|
-
}
|
|
1378
|
-
var L = function() {
|
|
1379
|
-
return L = Object.assign || function(t) {
|
|
1380
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1381
|
-
r = arguments[n];
|
|
1382
|
-
for (var o in r)
|
|
1383
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1384
|
-
}
|
|
1385
|
-
return t;
|
|
1386
|
-
}, L.apply(this, arguments);
|
|
1387
|
-
};
|
|
1388
|
-
function Yn(e, t) {
|
|
1389
|
-
var r = {};
|
|
1390
|
-
for (var n in e)
|
|
1391
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1392
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1393
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1394
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1395
|
-
return r;
|
|
1396
|
-
}
|
|
1397
|
-
function Re(e, t, r) {
|
|
1398
|
-
if (r || arguments.length === 2)
|
|
1399
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1400
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1401
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1402
|
-
}
|
|
1403
|
-
function Ge(e, t) {
|
|
1404
|
-
var r = t && t.cache ? t.cache : oi, n = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ti;
|
|
1382
|
+
var zr = Q, Wr = zr;
|
|
1383
|
+
const Zr = /* @__PURE__ */ Mr(Wr);
|
|
1384
|
+
function Le(e, t) {
|
|
1385
|
+
var n = t && t.cache ? t.cache : ti, r = t && t.serializer ? t.serializer : Kr, i = t && t.strategy ? t.strategy : Jr;
|
|
1405
1386
|
return i(e, {
|
|
1406
|
-
cache:
|
|
1407
|
-
serializer:
|
|
1387
|
+
cache: n,
|
|
1388
|
+
serializer: r
|
|
1408
1389
|
});
|
|
1409
1390
|
}
|
|
1410
|
-
function
|
|
1391
|
+
function Qr(e) {
|
|
1411
1392
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1412
1393
|
}
|
|
1413
|
-
function
|
|
1414
|
-
var i =
|
|
1415
|
-
return typeof o == "undefined" && (o = e.call(this,
|
|
1394
|
+
function on(e, t, n, r) {
|
|
1395
|
+
var i = Qr(r) ? r : n(r), o = t.get(i);
|
|
1396
|
+
return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
|
|
1416
1397
|
}
|
|
1417
|
-
function
|
|
1418
|
-
var
|
|
1419
|
-
return typeof o == "undefined" && (o = e.apply(this,
|
|
1398
|
+
function sn(e, t, n) {
|
|
1399
|
+
var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
|
|
1400
|
+
return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
|
|
1420
1401
|
}
|
|
1421
|
-
function
|
|
1422
|
-
return
|
|
1402
|
+
function ot(e, t, n, r, i) {
|
|
1403
|
+
return n.bind(t, e, r, i);
|
|
1423
1404
|
}
|
|
1424
|
-
function
|
|
1425
|
-
var
|
|
1426
|
-
return
|
|
1405
|
+
function Jr(e, t) {
|
|
1406
|
+
var n = e.length === 1 ? on : sn;
|
|
1407
|
+
return ot(e, this, n, t.cache.create(), t.serializer);
|
|
1427
1408
|
}
|
|
1428
|
-
function
|
|
1429
|
-
return
|
|
1409
|
+
function qr(e, t) {
|
|
1410
|
+
return ot(e, this, sn, t.cache.create(), t.serializer);
|
|
1430
1411
|
}
|
|
1431
|
-
|
|
1412
|
+
function Yr(e, t) {
|
|
1413
|
+
return ot(e, this, on, t.cache.create(), t.serializer);
|
|
1414
|
+
}
|
|
1415
|
+
var Kr = function() {
|
|
1432
1416
|
return JSON.stringify(arguments);
|
|
1433
|
-
},
|
|
1417
|
+
}, ei = (
|
|
1434
1418
|
/** @class */
|
|
1435
1419
|
function() {
|
|
1436
1420
|
function e() {
|
|
@@ -1438,82 +1422,73 @@ var ni = function() {
|
|
|
1438
1422
|
}
|
|
1439
1423
|
return e.prototype.get = function(t) {
|
|
1440
1424
|
return this.cache[t];
|
|
1441
|
-
}, e.prototype.set = function(t,
|
|
1442
|
-
this.cache[t] =
|
|
1425
|
+
}, e.prototype.set = function(t, n) {
|
|
1426
|
+
this.cache[t] = n;
|
|
1443
1427
|
}, e;
|
|
1444
1428
|
}()
|
|
1445
|
-
),
|
|
1429
|
+
), ti = {
|
|
1446
1430
|
create: function() {
|
|
1447
|
-
return new
|
|
1431
|
+
return new ei();
|
|
1448
1432
|
}
|
|
1449
|
-
},
|
|
1450
|
-
variadic:
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1454
|
-
r = arguments[n];
|
|
1455
|
-
for (var o in r)
|
|
1456
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1457
|
-
}
|
|
1458
|
-
return t;
|
|
1459
|
-
}, we.apply(this, arguments);
|
|
1460
|
-
};
|
|
1461
|
-
var y;
|
|
1433
|
+
}, Re = {
|
|
1434
|
+
variadic: qr,
|
|
1435
|
+
monadic: Yr
|
|
1436
|
+
}, y;
|
|
1462
1437
|
(function(e) {
|
|
1463
1438
|
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";
|
|
1464
1439
|
})(y || (y = {}));
|
|
1465
|
-
var
|
|
1440
|
+
var S;
|
|
1466
1441
|
(function(e) {
|
|
1467
1442
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1468
|
-
})(
|
|
1469
|
-
var
|
|
1443
|
+
})(S || (S = {}));
|
|
1444
|
+
var J;
|
|
1470
1445
|
(function(e) {
|
|
1471
1446
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1472
|
-
})(
|
|
1473
|
-
function
|
|
1474
|
-
return e.type ===
|
|
1447
|
+
})(J || (J = {}));
|
|
1448
|
+
function Tt(e) {
|
|
1449
|
+
return e.type === S.literal;
|
|
1475
1450
|
}
|
|
1476
|
-
function
|
|
1477
|
-
return e.type ===
|
|
1451
|
+
function ni(e) {
|
|
1452
|
+
return e.type === S.argument;
|
|
1478
1453
|
}
|
|
1479
|
-
function
|
|
1480
|
-
return e.type ===
|
|
1454
|
+
function an(e) {
|
|
1455
|
+
return e.type === S.number;
|
|
1481
1456
|
}
|
|
1482
|
-
function
|
|
1483
|
-
return e.type ===
|
|
1457
|
+
function un(e) {
|
|
1458
|
+
return e.type === S.date;
|
|
1484
1459
|
}
|
|
1485
|
-
function
|
|
1486
|
-
return e.type ===
|
|
1460
|
+
function ln(e) {
|
|
1461
|
+
return e.type === S.time;
|
|
1487
1462
|
}
|
|
1488
|
-
function
|
|
1489
|
-
return e.type ===
|
|
1463
|
+
function hn(e) {
|
|
1464
|
+
return e.type === S.select;
|
|
1490
1465
|
}
|
|
1491
|
-
function
|
|
1492
|
-
return e.type ===
|
|
1466
|
+
function fn(e) {
|
|
1467
|
+
return e.type === S.plural;
|
|
1493
1468
|
}
|
|
1494
|
-
function
|
|
1495
|
-
return e.type ===
|
|
1469
|
+
function ri(e) {
|
|
1470
|
+
return e.type === S.pound;
|
|
1496
1471
|
}
|
|
1497
|
-
function
|
|
1498
|
-
return e.type ===
|
|
1472
|
+
function cn(e) {
|
|
1473
|
+
return e.type === S.tag;
|
|
1499
1474
|
}
|
|
1500
|
-
function
|
|
1501
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1475
|
+
function dn(e) {
|
|
1476
|
+
return !!(e && typeof e == "object" && e.type === J.number);
|
|
1502
1477
|
}
|
|
1503
|
-
function
|
|
1504
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1478
|
+
function Ze(e) {
|
|
1479
|
+
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
1505
1480
|
}
|
|
1506
|
-
var
|
|
1507
|
-
function
|
|
1481
|
+
var mn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ii = /(?:[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;
|
|
1482
|
+
function oi(e) {
|
|
1508
1483
|
var t = {};
|
|
1509
|
-
return e.replace(
|
|
1510
|
-
var
|
|
1511
|
-
switch (
|
|
1484
|
+
return e.replace(ii, function(n) {
|
|
1485
|
+
var r = n.length;
|
|
1486
|
+
switch (n[0]) {
|
|
1512
1487
|
case "G":
|
|
1513
|
-
t.era =
|
|
1488
|
+
t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
|
|
1514
1489
|
break;
|
|
1515
1490
|
case "y":
|
|
1516
|
-
t.year =
|
|
1491
|
+
t.year = r === 2 ? "2-digit" : "numeric";
|
|
1517
1492
|
break;
|
|
1518
1493
|
case "Y":
|
|
1519
1494
|
case "u":
|
|
@@ -1525,30 +1500,30 @@ function li(e) {
|
|
|
1525
1500
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
1526
1501
|
case "M":
|
|
1527
1502
|
case "L":
|
|
1528
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
1503
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
|
|
1529
1504
|
break;
|
|
1530
1505
|
case "w":
|
|
1531
1506
|
case "W":
|
|
1532
1507
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
1533
1508
|
case "d":
|
|
1534
|
-
t.day = ["numeric", "2-digit"][
|
|
1509
|
+
t.day = ["numeric", "2-digit"][r - 1];
|
|
1535
1510
|
break;
|
|
1536
1511
|
case "D":
|
|
1537
1512
|
case "F":
|
|
1538
1513
|
case "g":
|
|
1539
1514
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
1540
1515
|
case "E":
|
|
1541
|
-
t.weekday =
|
|
1516
|
+
t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
|
|
1542
1517
|
break;
|
|
1543
1518
|
case "e":
|
|
1544
|
-
if (
|
|
1519
|
+
if (r < 4)
|
|
1545
1520
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
1546
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
1521
|
+
t.weekday = ["short", "long", "narrow", "short"][r - 4];
|
|
1547
1522
|
break;
|
|
1548
1523
|
case "c":
|
|
1549
|
-
if (
|
|
1524
|
+
if (r < 4)
|
|
1550
1525
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
1551
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
1526
|
+
t.weekday = ["short", "long", "narrow", "short"][r - 4];
|
|
1552
1527
|
break;
|
|
1553
1528
|
case "a":
|
|
1554
1529
|
t.hour12 = !0;
|
|
@@ -1557,32 +1532,32 @@ function li(e) {
|
|
|
1557
1532
|
case "B":
|
|
1558
1533
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
1559
1534
|
case "h":
|
|
1560
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
1535
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
|
|
1561
1536
|
break;
|
|
1562
1537
|
case "H":
|
|
1563
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
1538
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
|
|
1564
1539
|
break;
|
|
1565
1540
|
case "K":
|
|
1566
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
1541
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
|
|
1567
1542
|
break;
|
|
1568
1543
|
case "k":
|
|
1569
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
1544
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
|
|
1570
1545
|
break;
|
|
1571
1546
|
case "j":
|
|
1572
1547
|
case "J":
|
|
1573
1548
|
case "C":
|
|
1574
1549
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
1575
1550
|
case "m":
|
|
1576
|
-
t.minute = ["numeric", "2-digit"][
|
|
1551
|
+
t.minute = ["numeric", "2-digit"][r - 1];
|
|
1577
1552
|
break;
|
|
1578
1553
|
case "s":
|
|
1579
|
-
t.second = ["numeric", "2-digit"][
|
|
1554
|
+
t.second = ["numeric", "2-digit"][r - 1];
|
|
1580
1555
|
break;
|
|
1581
1556
|
case "S":
|
|
1582
1557
|
case "A":
|
|
1583
1558
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
1584
1559
|
case "z":
|
|
1585
|
-
t.timeZoneName =
|
|
1560
|
+
t.timeZoneName = r < 4 ? "short" : "long";
|
|
1586
1561
|
break;
|
|
1587
1562
|
case "Z":
|
|
1588
1563
|
case "O":
|
|
@@ -1595,46 +1570,36 @@ function li(e) {
|
|
|
1595
1570
|
return "";
|
|
1596
1571
|
}), t;
|
|
1597
1572
|
}
|
|
1598
|
-
var
|
|
1599
|
-
|
|
1600
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1601
|
-
r = arguments[n];
|
|
1602
|
-
for (var o in r)
|
|
1603
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1604
|
-
}
|
|
1605
|
-
return t;
|
|
1606
|
-
}, S.apply(this, arguments);
|
|
1607
|
-
};
|
|
1608
|
-
var hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1609
|
-
function ci(e) {
|
|
1573
|
+
var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1574
|
+
function ai(e) {
|
|
1610
1575
|
if (e.length === 0)
|
|
1611
1576
|
throw new Error("Number skeleton cannot be empty");
|
|
1612
|
-
for (var t = e.split(
|
|
1613
|
-
return
|
|
1614
|
-
}),
|
|
1615
|
-
var o = i[
|
|
1577
|
+
for (var t = e.split(si).filter(function(c) {
|
|
1578
|
+
return c.length > 0;
|
|
1579
|
+
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
1580
|
+
var o = i[r], s = o.split("/");
|
|
1616
1581
|
if (s.length === 0)
|
|
1617
1582
|
throw new Error("Invalid number skeleton");
|
|
1618
1583
|
for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1619
|
-
var
|
|
1620
|
-
if (
|
|
1584
|
+
var f = h[u];
|
|
1585
|
+
if (f.length === 0)
|
|
1621
1586
|
throw new Error("Invalid number skeleton");
|
|
1622
1587
|
}
|
|
1623
|
-
|
|
1588
|
+
n.push({ stem: a, options: l });
|
|
1624
1589
|
}
|
|
1625
|
-
return
|
|
1590
|
+
return n;
|
|
1626
1591
|
}
|
|
1627
|
-
function
|
|
1592
|
+
function ui(e) {
|
|
1628
1593
|
return e.replace(/^(.*?)-/, "");
|
|
1629
1594
|
}
|
|
1630
|
-
var
|
|
1631
|
-
function
|
|
1595
|
+
var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pn = /^(@+)?(\+|#+)?[rs]?$/g, li = /(\*)(0+)|(#+)(0+)|(0+)/g, bn = /^(0+)$/;
|
|
1596
|
+
function At(e) {
|
|
1632
1597
|
var t = {};
|
|
1633
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1634
|
-
return typeof i != "string" ? (t.minimumSignificantDigits =
|
|
1598
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pn, function(n, r, i) {
|
|
1599
|
+
return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1635
1600
|
}), t;
|
|
1636
1601
|
}
|
|
1637
|
-
function
|
|
1602
|
+
function gn(e) {
|
|
1638
1603
|
switch (e) {
|
|
1639
1604
|
case "sign-auto":
|
|
1640
1605
|
return {
|
|
@@ -1674,27 +1639,27 @@ function _r(e) {
|
|
|
1674
1639
|
};
|
|
1675
1640
|
}
|
|
1676
1641
|
}
|
|
1677
|
-
function
|
|
1642
|
+
function hi(e) {
|
|
1678
1643
|
var t;
|
|
1679
1644
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1680
1645
|
notation: "engineering"
|
|
1681
1646
|
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
1682
1647
|
notation: "scientific"
|
|
1683
1648
|
}, e = e.slice(1)), t) {
|
|
1684
|
-
var
|
|
1685
|
-
if (
|
|
1649
|
+
var n = e.slice(0, 2);
|
|
1650
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !bn.test(e))
|
|
1686
1651
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1687
1652
|
t.minimumIntegerDigits = e.length;
|
|
1688
1653
|
}
|
|
1689
1654
|
return t;
|
|
1690
1655
|
}
|
|
1691
|
-
function
|
|
1692
|
-
var t = {},
|
|
1693
|
-
return
|
|
1656
|
+
function Bt(e) {
|
|
1657
|
+
var t = {}, n = gn(e);
|
|
1658
|
+
return n || t;
|
|
1694
1659
|
}
|
|
1695
|
-
function
|
|
1696
|
-
for (var t = {},
|
|
1697
|
-
var i = n
|
|
1660
|
+
function fi(e) {
|
|
1661
|
+
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1662
|
+
var i = r[n];
|
|
1698
1663
|
switch (i.stem) {
|
|
1699
1664
|
case "percent":
|
|
1700
1665
|
case "%":
|
|
@@ -1716,7 +1681,7 @@ function di(e) {
|
|
|
1716
1681
|
continue;
|
|
1717
1682
|
case "measure-unit":
|
|
1718
1683
|
case "unit":
|
|
1719
|
-
t.style = "unit", t.unit =
|
|
1684
|
+
t.style = "unit", t.unit = ui(i.options[0]);
|
|
1720
1685
|
continue;
|
|
1721
1686
|
case "compact-short":
|
|
1722
1687
|
case "K":
|
|
@@ -1727,13 +1692,13 @@ function di(e) {
|
|
|
1727
1692
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1728
1693
|
continue;
|
|
1729
1694
|
case "scientific":
|
|
1730
|
-
t =
|
|
1731
|
-
return
|
|
1695
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1696
|
+
return E(E({}, l), Bt(u));
|
|
1732
1697
|
}, {}));
|
|
1733
1698
|
continue;
|
|
1734
1699
|
case "engineering":
|
|
1735
|
-
t =
|
|
1736
|
-
return
|
|
1700
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1701
|
+
return E(E({}, l), Bt(u));
|
|
1737
1702
|
}, {}));
|
|
1738
1703
|
continue;
|
|
1739
1704
|
case "notation-simple":
|
|
@@ -1778,45 +1743,45 @@ function di(e) {
|
|
|
1778
1743
|
case "integer-width":
|
|
1779
1744
|
if (i.options.length > 1)
|
|
1780
1745
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1781
|
-
i.options[0].replace(
|
|
1746
|
+
i.options[0].replace(li, function(l, u, h, f, c, m) {
|
|
1782
1747
|
if (u)
|
|
1783
1748
|
t.minimumIntegerDigits = h.length;
|
|
1784
1749
|
else {
|
|
1785
|
-
if (
|
|
1750
|
+
if (f && c)
|
|
1786
1751
|
throw new Error("We currently do not support maximum integer digits");
|
|
1787
|
-
if (
|
|
1752
|
+
if (m)
|
|
1788
1753
|
throw new Error("We currently do not support exact integer digits");
|
|
1789
1754
|
}
|
|
1790
1755
|
return "";
|
|
1791
1756
|
});
|
|
1792
1757
|
continue;
|
|
1793
1758
|
}
|
|
1794
|
-
if (
|
|
1759
|
+
if (bn.test(i.stem)) {
|
|
1795
1760
|
t.minimumIntegerDigits = i.stem.length;
|
|
1796
1761
|
continue;
|
|
1797
1762
|
}
|
|
1798
|
-
if (
|
|
1763
|
+
if (Ht.test(i.stem)) {
|
|
1799
1764
|
if (i.options.length > 1)
|
|
1800
1765
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1801
|
-
i.stem.replace(
|
|
1802
|
-
return h === "*" ? t.minimumFractionDigits = u.length :
|
|
1766
|
+
i.stem.replace(Ht, function(l, u, h, f, c, m) {
|
|
1767
|
+
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1803
1768
|
});
|
|
1804
1769
|
var o = i.options[0];
|
|
1805
|
-
o === "w" ? t =
|
|
1770
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), At(o)));
|
|
1806
1771
|
continue;
|
|
1807
1772
|
}
|
|
1808
|
-
if (
|
|
1809
|
-
t =
|
|
1773
|
+
if (pn.test(i.stem)) {
|
|
1774
|
+
t = E(E({}, t), At(i.stem));
|
|
1810
1775
|
continue;
|
|
1811
1776
|
}
|
|
1812
|
-
var s =
|
|
1813
|
-
s && (t =
|
|
1814
|
-
var a =
|
|
1815
|
-
a && (t =
|
|
1777
|
+
var s = gn(i.stem);
|
|
1778
|
+
s && (t = E(E({}, t), s));
|
|
1779
|
+
var a = hi(i.stem);
|
|
1780
|
+
a && (t = E(E({}, t), a));
|
|
1816
1781
|
}
|
|
1817
1782
|
return t;
|
|
1818
1783
|
}
|
|
1819
|
-
var
|
|
1784
|
+
var me = {
|
|
1820
1785
|
"001": [
|
|
1821
1786
|
"H",
|
|
1822
1787
|
"h"
|
|
@@ -3231,23 +3196,23 @@ var pe = {
|
|
|
3231
3196
|
"h"
|
|
3232
3197
|
]
|
|
3233
3198
|
};
|
|
3234
|
-
function
|
|
3235
|
-
for (var
|
|
3236
|
-
var i = e.charAt(
|
|
3199
|
+
function ci(e, t) {
|
|
3200
|
+
for (var n = "", r = 0; r < e.length; r++) {
|
|
3201
|
+
var i = e.charAt(r);
|
|
3237
3202
|
if (i === "j") {
|
|
3238
|
-
for (var o = 0;
|
|
3239
|
-
o++,
|
|
3240
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3203
|
+
for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
3204
|
+
o++, r++;
|
|
3205
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = di(t);
|
|
3241
3206
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3242
|
-
|
|
3207
|
+
n += l;
|
|
3243
3208
|
for (; s-- > 0; )
|
|
3244
|
-
|
|
3209
|
+
n = u + n;
|
|
3245
3210
|
} else
|
|
3246
|
-
i === "J" ?
|
|
3211
|
+
i === "J" ? n += "H" : n += i;
|
|
3247
3212
|
}
|
|
3248
|
-
return
|
|
3213
|
+
return n;
|
|
3249
3214
|
}
|
|
3250
|
-
function
|
|
3215
|
+
function di(e) {
|
|
3251
3216
|
var t = e.hourCycle;
|
|
3252
3217
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3253
3218
|
e.hourCycles && // @ts-ignore
|
|
@@ -3264,73 +3229,73 @@ function gi(e) {
|
|
|
3264
3229
|
default:
|
|
3265
3230
|
throw new Error("Invalid hourCycle");
|
|
3266
3231
|
}
|
|
3267
|
-
var
|
|
3268
|
-
|
|
3269
|
-
var i =
|
|
3232
|
+
var n = e.language, r;
|
|
3233
|
+
n !== "root" && (r = e.maximize().region);
|
|
3234
|
+
var i = me[r || ""] || me[n || ""] || me["".concat(n, "-001")] || me["001"];
|
|
3270
3235
|
return i[0];
|
|
3271
3236
|
}
|
|
3272
|
-
var
|
|
3237
|
+
var $e, mi = new RegExp("^".concat(mn.source, "*")), pi = new RegExp("".concat(mn.source, "*$"));
|
|
3273
3238
|
function _(e, t) {
|
|
3274
3239
|
return { start: e, end: t };
|
|
3275
3240
|
}
|
|
3276
|
-
var
|
|
3241
|
+
var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), gi = !!String.fromCodePoint, yi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, _i = !!String.prototype.trimStart, xi = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, wi = Ei ? Number.isSafeInteger : function(e) {
|
|
3277
3242
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3278
|
-
},
|
|
3243
|
+
}, Qe = !0;
|
|
3279
3244
|
try {
|
|
3280
|
-
var
|
|
3281
|
-
|
|
3245
|
+
var Si = vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3246
|
+
Qe = (($e = Si.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
|
|
3282
3247
|
} catch (e) {
|
|
3283
|
-
|
|
3248
|
+
Qe = !1;
|
|
3284
3249
|
}
|
|
3285
|
-
var
|
|
3250
|
+
var Ct = bi ? (
|
|
3286
3251
|
// Native
|
|
3287
|
-
function(t,
|
|
3288
|
-
return t.startsWith(
|
|
3252
|
+
function(t, n, r) {
|
|
3253
|
+
return t.startsWith(n, r);
|
|
3289
3254
|
}
|
|
3290
3255
|
) : (
|
|
3291
3256
|
// For IE11
|
|
3292
|
-
function(t,
|
|
3293
|
-
return t.slice(
|
|
3257
|
+
function(t, n, r) {
|
|
3258
|
+
return t.slice(r, r + n.length) === n;
|
|
3294
3259
|
}
|
|
3295
|
-
),
|
|
3260
|
+
), Je = gi ? String.fromCodePoint : (
|
|
3296
3261
|
// IE11
|
|
3297
3262
|
function() {
|
|
3298
|
-
for (var t = [],
|
|
3299
|
-
t[
|
|
3300
|
-
for (var
|
|
3263
|
+
for (var t = [], n = 0; n < arguments.length; n++)
|
|
3264
|
+
t[n] = arguments[n];
|
|
3265
|
+
for (var r = "", i = t.length, o = 0, s; i > o; ) {
|
|
3301
3266
|
if (s = t[o++], s > 1114111)
|
|
3302
3267
|
throw RangeError(s + " is not a valid code point");
|
|
3303
|
-
|
|
3268
|
+
r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
3304
3269
|
}
|
|
3305
|
-
return
|
|
3270
|
+
return r;
|
|
3306
3271
|
}
|
|
3307
|
-
),
|
|
3272
|
+
), Pt = (
|
|
3308
3273
|
// native
|
|
3309
|
-
|
|
3274
|
+
yi ? Object.fromEntries : (
|
|
3310
3275
|
// Ponyfill
|
|
3311
3276
|
function(t) {
|
|
3312
|
-
for (var
|
|
3313
|
-
var o = i[
|
|
3314
|
-
|
|
3277
|
+
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
3278
|
+
var o = i[r], s = o[0], a = o[1];
|
|
3279
|
+
n[s] = a;
|
|
3315
3280
|
}
|
|
3316
|
-
return
|
|
3281
|
+
return n;
|
|
3317
3282
|
}
|
|
3318
3283
|
)
|
|
3319
|
-
),
|
|
3284
|
+
), yn = vi ? (
|
|
3320
3285
|
// Native
|
|
3321
|
-
function(t,
|
|
3322
|
-
return t.codePointAt(
|
|
3286
|
+
function(t, n) {
|
|
3287
|
+
return t.codePointAt(n);
|
|
3323
3288
|
}
|
|
3324
3289
|
) : (
|
|
3325
3290
|
// IE 11
|
|
3326
|
-
function(t,
|
|
3327
|
-
var
|
|
3328
|
-
if (!(
|
|
3329
|
-
var i = t.charCodeAt(
|
|
3330
|
-
return i < 55296 || i > 56319 ||
|
|
3291
|
+
function(t, n) {
|
|
3292
|
+
var r = t.length;
|
|
3293
|
+
if (!(n < 0 || n >= r)) {
|
|
3294
|
+
var i = t.charCodeAt(n), o;
|
|
3295
|
+
return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3331
3296
|
}
|
|
3332
3297
|
}
|
|
3333
|
-
),
|
|
3298
|
+
), Ti = _i ? (
|
|
3334
3299
|
// Native
|
|
3335
3300
|
function(t) {
|
|
3336
3301
|
return t.trimStart();
|
|
@@ -3338,9 +3303,9 @@ var Mt = _i ? (
|
|
|
3338
3303
|
) : (
|
|
3339
3304
|
// Ponyfill
|
|
3340
3305
|
function(t) {
|
|
3341
|
-
return t.replace(
|
|
3306
|
+
return t.replace(mi, "");
|
|
3342
3307
|
}
|
|
3343
|
-
),
|
|
3308
|
+
), Hi = xi ? (
|
|
3344
3309
|
// Native
|
|
3345
3310
|
function(t) {
|
|
3346
3311
|
return t.trimEnd();
|
|
@@ -3348,69 +3313,69 @@ var Mt = _i ? (
|
|
|
3348
3313
|
) : (
|
|
3349
3314
|
// Ponyfill
|
|
3350
3315
|
function(t) {
|
|
3351
|
-
return t.replace(
|
|
3316
|
+
return t.replace(pi, "");
|
|
3352
3317
|
}
|
|
3353
3318
|
);
|
|
3354
|
-
function
|
|
3319
|
+
function vn(e, t) {
|
|
3355
3320
|
return new RegExp(e, t);
|
|
3356
3321
|
}
|
|
3357
|
-
var
|
|
3358
|
-
if (
|
|
3359
|
-
var
|
|
3360
|
-
|
|
3361
|
-
var
|
|
3362
|
-
|
|
3363
|
-
var i =
|
|
3364
|
-
return (
|
|
3322
|
+
var qe;
|
|
3323
|
+
if (Qe) {
|
|
3324
|
+
var Ot = vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3325
|
+
qe = function(t, n) {
|
|
3326
|
+
var r;
|
|
3327
|
+
Ot.lastIndex = n;
|
|
3328
|
+
var i = Ot.exec(t);
|
|
3329
|
+
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
3365
3330
|
};
|
|
3366
3331
|
} else
|
|
3367
|
-
|
|
3368
|
-
for (var
|
|
3369
|
-
var i =
|
|
3370
|
-
if (i === void 0 ||
|
|
3332
|
+
qe = function(t, n) {
|
|
3333
|
+
for (var r = []; ; ) {
|
|
3334
|
+
var i = yn(t, n);
|
|
3335
|
+
if (i === void 0 || _n(i) || Pi(i))
|
|
3371
3336
|
break;
|
|
3372
|
-
|
|
3337
|
+
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
3373
3338
|
}
|
|
3374
|
-
return
|
|
3339
|
+
return Je.apply(void 0, r);
|
|
3375
3340
|
};
|
|
3376
|
-
var
|
|
3341
|
+
var Ai = (
|
|
3377
3342
|
/** @class */
|
|
3378
3343
|
function() {
|
|
3379
|
-
function e(t,
|
|
3380
|
-
|
|
3344
|
+
function e(t, n) {
|
|
3345
|
+
n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
|
|
3381
3346
|
}
|
|
3382
3347
|
return e.prototype.parse = function() {
|
|
3383
3348
|
if (this.offset() !== 0)
|
|
3384
3349
|
throw Error("parser can only be used once");
|
|
3385
3350
|
return this.parseMessage(0, "", !1);
|
|
3386
|
-
}, e.prototype.parseMessage = function(t,
|
|
3351
|
+
}, e.prototype.parseMessage = function(t, n, r) {
|
|
3387
3352
|
for (var i = []; !this.isEOF(); ) {
|
|
3388
3353
|
var o = this.char();
|
|
3389
3354
|
if (o === 123) {
|
|
3390
|
-
var s = this.parseArgument(t,
|
|
3355
|
+
var s = this.parseArgument(t, r);
|
|
3391
3356
|
if (s.err)
|
|
3392
3357
|
return s;
|
|
3393
3358
|
i.push(s.val);
|
|
3394
3359
|
} else {
|
|
3395
3360
|
if (o === 125 && t > 0)
|
|
3396
3361
|
break;
|
|
3397
|
-
if (o === 35 && (
|
|
3362
|
+
if (o === 35 && (n === "plural" || n === "selectordinal")) {
|
|
3398
3363
|
var a = this.clonePosition();
|
|
3399
3364
|
this.bump(), i.push({
|
|
3400
|
-
type:
|
|
3365
|
+
type: S.pound,
|
|
3401
3366
|
location: _(a, this.clonePosition())
|
|
3402
3367
|
});
|
|
3403
3368
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3404
|
-
if (
|
|
3369
|
+
if (r)
|
|
3405
3370
|
break;
|
|
3406
3371
|
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3407
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3408
|
-
var s = this.parseTag(t,
|
|
3372
|
+
} else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
|
|
3373
|
+
var s = this.parseTag(t, n);
|
|
3409
3374
|
if (s.err)
|
|
3410
3375
|
return s;
|
|
3411
3376
|
i.push(s.val);
|
|
3412
3377
|
} else {
|
|
3413
|
-
var s = this.parseLiteral(t,
|
|
3378
|
+
var s = this.parseLiteral(t, n);
|
|
3414
3379
|
if (s.err)
|
|
3415
3380
|
return s;
|
|
3416
3381
|
i.push(s.val);
|
|
@@ -3418,54 +3383,54 @@ var Oi = (
|
|
|
3418
3383
|
}
|
|
3419
3384
|
}
|
|
3420
3385
|
return { val: i, err: null };
|
|
3421
|
-
}, e.prototype.parseTag = function(t,
|
|
3422
|
-
var
|
|
3386
|
+
}, e.prototype.parseTag = function(t, n) {
|
|
3387
|
+
var r = this.clonePosition();
|
|
3423
3388
|
this.bump();
|
|
3424
3389
|
var i = this.parseTagName();
|
|
3425
3390
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3426
3391
|
return {
|
|
3427
3392
|
val: {
|
|
3428
|
-
type:
|
|
3393
|
+
type: S.literal,
|
|
3429
3394
|
value: "<".concat(i, "/>"),
|
|
3430
|
-
location: _(
|
|
3395
|
+
location: _(r, this.clonePosition())
|
|
3431
3396
|
},
|
|
3432
3397
|
err: null
|
|
3433
3398
|
};
|
|
3434
3399
|
if (this.bumpIf(">")) {
|
|
3435
|
-
var o = this.parseMessage(t + 1,
|
|
3400
|
+
var o = this.parseMessage(t + 1, n, !0);
|
|
3436
3401
|
if (o.err)
|
|
3437
3402
|
return o;
|
|
3438
3403
|
var s = o.val, a = this.clonePosition();
|
|
3439
3404
|
if (this.bumpIf("</")) {
|
|
3440
|
-
if (this.isEOF() || !
|
|
3405
|
+
if (this.isEOF() || !Ye(this.char()))
|
|
3441
3406
|
return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
|
|
3442
3407
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3443
3408
|
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3444
3409
|
val: {
|
|
3445
|
-
type:
|
|
3410
|
+
type: S.tag,
|
|
3446
3411
|
value: i,
|
|
3447
3412
|
children: s,
|
|
3448
|
-
location: _(
|
|
3413
|
+
location: _(r, this.clonePosition())
|
|
3449
3414
|
},
|
|
3450
3415
|
err: null
|
|
3451
3416
|
} : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
|
|
3452
3417
|
} else
|
|
3453
|
-
return this.error(y.UNCLOSED_TAG, _(
|
|
3418
|
+
return this.error(y.UNCLOSED_TAG, _(r, this.clonePosition()));
|
|
3454
3419
|
} else
|
|
3455
|
-
return this.error(y.INVALID_TAG, _(
|
|
3420
|
+
return this.error(y.INVALID_TAG, _(r, this.clonePosition()));
|
|
3456
3421
|
}, e.prototype.parseTagName = function() {
|
|
3457
3422
|
var t = this.offset();
|
|
3458
|
-
for (this.bump(); !this.isEOF() &&
|
|
3423
|
+
for (this.bump(); !this.isEOF() && Ci(this.char()); )
|
|
3459
3424
|
this.bump();
|
|
3460
3425
|
return this.message.slice(t, this.offset());
|
|
3461
|
-
}, e.prototype.parseLiteral = function(t,
|
|
3462
|
-
for (var
|
|
3463
|
-
var o = this.tryParseQuote(
|
|
3426
|
+
}, e.prototype.parseLiteral = function(t, n) {
|
|
3427
|
+
for (var r = this.clonePosition(), i = ""; ; ) {
|
|
3428
|
+
var o = this.tryParseQuote(n);
|
|
3464
3429
|
if (o) {
|
|
3465
3430
|
i += o;
|
|
3466
3431
|
continue;
|
|
3467
3432
|
}
|
|
3468
|
-
var s = this.tryParseUnquoted(t,
|
|
3433
|
+
var s = this.tryParseUnquoted(t, n);
|
|
3469
3434
|
if (s) {
|
|
3470
3435
|
i += s;
|
|
3471
3436
|
continue;
|
|
@@ -3477,14 +3442,14 @@ var Oi = (
|
|
|
3477
3442
|
}
|
|
3478
3443
|
break;
|
|
3479
3444
|
}
|
|
3480
|
-
var l = _(
|
|
3445
|
+
var l = _(r, this.clonePosition());
|
|
3481
3446
|
return {
|
|
3482
|
-
val: { type:
|
|
3447
|
+
val: { type: S.literal, value: i, location: l },
|
|
3483
3448
|
err: null
|
|
3484
3449
|
};
|
|
3485
3450
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3486
3451
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3487
|
-
!
|
|
3452
|
+
!Bi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3488
3453
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3489
3454
|
if (this.isEOF() || this.char() !== 39)
|
|
3490
3455
|
return null;
|
|
@@ -3504,59 +3469,59 @@ var Oi = (
|
|
|
3504
3469
|
return null;
|
|
3505
3470
|
}
|
|
3506
3471
|
this.bump();
|
|
3507
|
-
var
|
|
3472
|
+
var n = [this.char()];
|
|
3508
3473
|
for (this.bump(); !this.isEOF(); ) {
|
|
3509
|
-
var
|
|
3510
|
-
if (
|
|
3474
|
+
var r = this.char();
|
|
3475
|
+
if (r === 39)
|
|
3511
3476
|
if (this.peek() === 39)
|
|
3512
|
-
|
|
3477
|
+
n.push(39), this.bump();
|
|
3513
3478
|
else {
|
|
3514
3479
|
this.bump();
|
|
3515
3480
|
break;
|
|
3516
3481
|
}
|
|
3517
3482
|
else
|
|
3518
|
-
|
|
3483
|
+
n.push(r);
|
|
3519
3484
|
this.bump();
|
|
3520
3485
|
}
|
|
3521
|
-
return
|
|
3522
|
-
}, e.prototype.tryParseUnquoted = function(t,
|
|
3486
|
+
return Je.apply(void 0, n);
|
|
3487
|
+
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
3523
3488
|
if (this.isEOF())
|
|
3524
3489
|
return null;
|
|
3525
|
-
var
|
|
3526
|
-
return
|
|
3527
|
-
}, e.prototype.parseArgument = function(t,
|
|
3528
|
-
var
|
|
3490
|
+
var r = this.char();
|
|
3491
|
+
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Je(r));
|
|
3492
|
+
}, e.prototype.parseArgument = function(t, n) {
|
|
3493
|
+
var r = this.clonePosition();
|
|
3529
3494
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3530
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(
|
|
3495
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition()));
|
|
3531
3496
|
if (this.char() === 125)
|
|
3532
|
-
return this.bump(), this.error(y.EMPTY_ARGUMENT, _(
|
|
3497
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, _(r, this.clonePosition()));
|
|
3533
3498
|
var i = this.parseIdentifierIfPossible().value;
|
|
3534
3499
|
if (!i)
|
|
3535
|
-
return this.error(y.MALFORMED_ARGUMENT, _(
|
|
3500
|
+
return this.error(y.MALFORMED_ARGUMENT, _(r, this.clonePosition()));
|
|
3536
3501
|
if (this.bumpSpace(), this.isEOF())
|
|
3537
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(
|
|
3502
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition()));
|
|
3538
3503
|
switch (this.char()) {
|
|
3539
3504
|
case 125:
|
|
3540
3505
|
return this.bump(), {
|
|
3541
3506
|
val: {
|
|
3542
|
-
type:
|
|
3507
|
+
type: S.argument,
|
|
3543
3508
|
// value does not include the opening and closing braces.
|
|
3544
3509
|
value: i,
|
|
3545
|
-
location: _(
|
|
3510
|
+
location: _(r, this.clonePosition())
|
|
3546
3511
|
},
|
|
3547
3512
|
err: null
|
|
3548
3513
|
};
|
|
3549
3514
|
case 44:
|
|
3550
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(
|
|
3515
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
|
|
3551
3516
|
default:
|
|
3552
|
-
return this.error(y.MALFORMED_ARGUMENT, _(
|
|
3517
|
+
return this.error(y.MALFORMED_ARGUMENT, _(r, this.clonePosition()));
|
|
3553
3518
|
}
|
|
3554
3519
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3555
|
-
var t = this.clonePosition(),
|
|
3520
|
+
var t = this.clonePosition(), n = this.offset(), r = qe(this.message, n), i = n + r.length;
|
|
3556
3521
|
this.bumpTo(i);
|
|
3557
3522
|
var o = this.clonePosition(), s = _(t, o);
|
|
3558
|
-
return { value:
|
|
3559
|
-
}, e.prototype.parseArgumentOptions = function(t,
|
|
3523
|
+
return { value: r, location: s };
|
|
3524
|
+
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
3560
3525
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3561
3526
|
switch (a) {
|
|
3562
3527
|
case "":
|
|
@@ -3568,49 +3533,49 @@ var Oi = (
|
|
|
3568
3533
|
var u = null;
|
|
3569
3534
|
if (this.bumpIf(",")) {
|
|
3570
3535
|
this.bumpSpace();
|
|
3571
|
-
var h = this.clonePosition(),
|
|
3572
|
-
if (
|
|
3573
|
-
return
|
|
3574
|
-
var
|
|
3575
|
-
if (
|
|
3536
|
+
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3537
|
+
if (f.err)
|
|
3538
|
+
return f;
|
|
3539
|
+
var c = Hi(f.val);
|
|
3540
|
+
if (c.length === 0)
|
|
3576
3541
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3577
|
-
var
|
|
3578
|
-
u = { style:
|
|
3542
|
+
var m = _(h, this.clonePosition());
|
|
3543
|
+
u = { style: c, styleLocation: m };
|
|
3579
3544
|
}
|
|
3580
|
-
var
|
|
3581
|
-
if (
|
|
3582
|
-
return
|
|
3583
|
-
var
|
|
3584
|
-
if (u &&
|
|
3585
|
-
var g =
|
|
3545
|
+
var d = this.tryParseArgumentClose(i);
|
|
3546
|
+
if (d.err)
|
|
3547
|
+
return d;
|
|
3548
|
+
var p = _(i, this.clonePosition());
|
|
3549
|
+
if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
|
|
3550
|
+
var g = Ti(u.style.slice(2));
|
|
3586
3551
|
if (a === "number") {
|
|
3587
|
-
var
|
|
3588
|
-
return
|
|
3589
|
-
val: { type:
|
|
3552
|
+
var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
|
3553
|
+
return f.err ? f : {
|
|
3554
|
+
val: { type: S.number, value: r, location: p, style: f.val },
|
|
3590
3555
|
err: null
|
|
3591
3556
|
};
|
|
3592
3557
|
} else {
|
|
3593
3558
|
if (g.length === 0)
|
|
3594
|
-
return this.error(y.EXPECT_DATE_TIME_SKELETON,
|
|
3595
|
-
var
|
|
3596
|
-
this.locale && (
|
|
3597
|
-
var
|
|
3598
|
-
type:
|
|
3599
|
-
pattern:
|
|
3559
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
|
|
3560
|
+
var H = g;
|
|
3561
|
+
this.locale && (H = ci(g, this.locale));
|
|
3562
|
+
var c = {
|
|
3563
|
+
type: J.dateTime,
|
|
3564
|
+
pattern: H,
|
|
3600
3565
|
location: u.styleLocation,
|
|
3601
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3602
|
-
},
|
|
3566
|
+
parsedOptions: this.shouldParseSkeletons ? oi(H) : {}
|
|
3567
|
+
}, A = a === "date" ? S.date : S.time;
|
|
3603
3568
|
return {
|
|
3604
|
-
val: { type:
|
|
3569
|
+
val: { type: A, value: r, location: p, style: c },
|
|
3605
3570
|
err: null
|
|
3606
3571
|
};
|
|
3607
3572
|
}
|
|
3608
3573
|
}
|
|
3609
3574
|
return {
|
|
3610
3575
|
val: {
|
|
3611
|
-
type: a === "number" ?
|
|
3612
|
-
value:
|
|
3613
|
-
location:
|
|
3576
|
+
type: a === "number" ? S.number : a === "date" ? S.date : S.time,
|
|
3577
|
+
value: r,
|
|
3578
|
+
location: p,
|
|
3614
3579
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3615
3580
|
},
|
|
3616
3581
|
err: null
|
|
@@ -3621,41 +3586,41 @@ var Oi = (
|
|
|
3621
3586
|
case "select": {
|
|
3622
3587
|
var x = this.clonePosition();
|
|
3623
3588
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3624
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x,
|
|
3589
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, E({}, x)));
|
|
3625
3590
|
this.bumpSpace();
|
|
3626
|
-
var
|
|
3627
|
-
if (a !== "select" &&
|
|
3591
|
+
var w = this.parseIdentifierIfPossible(), b = 0;
|
|
3592
|
+
if (a !== "select" && w.value === "offset") {
|
|
3628
3593
|
if (!this.bumpIf(":"))
|
|
3629
3594
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3630
3595
|
this.bumpSpace();
|
|
3631
|
-
var
|
|
3632
|
-
if (
|
|
3633
|
-
return
|
|
3634
|
-
this.bumpSpace(),
|
|
3596
|
+
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3597
|
+
if (f.err)
|
|
3598
|
+
return f;
|
|
3599
|
+
this.bumpSpace(), w = this.parseIdentifierIfPossible(), b = f.val;
|
|
3635
3600
|
}
|
|
3636
|
-
var B = this.tryParsePluralOrSelectOptions(t, a,
|
|
3601
|
+
var B = this.tryParsePluralOrSelectOptions(t, a, n, w);
|
|
3637
3602
|
if (B.err)
|
|
3638
3603
|
return B;
|
|
3639
|
-
var
|
|
3640
|
-
if (
|
|
3641
|
-
return
|
|
3642
|
-
var
|
|
3604
|
+
var d = this.tryParseArgumentClose(i);
|
|
3605
|
+
if (d.err)
|
|
3606
|
+
return d;
|
|
3607
|
+
var fe = _(i, this.clonePosition());
|
|
3643
3608
|
return a === "select" ? {
|
|
3644
3609
|
val: {
|
|
3645
|
-
type:
|
|
3646
|
-
value:
|
|
3647
|
-
options:
|
|
3648
|
-
location:
|
|
3610
|
+
type: S.select,
|
|
3611
|
+
value: r,
|
|
3612
|
+
options: Pt(B.val),
|
|
3613
|
+
location: fe
|
|
3649
3614
|
},
|
|
3650
3615
|
err: null
|
|
3651
3616
|
} : {
|
|
3652
3617
|
val: {
|
|
3653
|
-
type:
|
|
3654
|
-
value:
|
|
3655
|
-
options:
|
|
3618
|
+
type: S.plural,
|
|
3619
|
+
value: r,
|
|
3620
|
+
options: Pt(B.val),
|
|
3656
3621
|
offset: b,
|
|
3657
3622
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3658
|
-
location:
|
|
3623
|
+
location: fe
|
|
3659
3624
|
},
|
|
3660
3625
|
err: null
|
|
3661
3626
|
};
|
|
@@ -3666,9 +3631,9 @@ var Oi = (
|
|
|
3666
3631
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3667
3632
|
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3668
3633
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3669
|
-
for (var t = 0,
|
|
3670
|
-
var
|
|
3671
|
-
switch (
|
|
3634
|
+
for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
|
|
3635
|
+
var r = this.char();
|
|
3636
|
+
switch (r) {
|
|
3672
3637
|
case 39: {
|
|
3673
3638
|
this.bump();
|
|
3674
3639
|
var i = this.clonePosition();
|
|
@@ -3686,7 +3651,7 @@ var Oi = (
|
|
|
3686
3651
|
t -= 1;
|
|
3687
3652
|
else
|
|
3688
3653
|
return {
|
|
3689
|
-
val: this.message.slice(
|
|
3654
|
+
val: this.message.slice(n.offset, this.offset()),
|
|
3690
3655
|
err: null
|
|
3691
3656
|
};
|
|
3692
3657
|
break;
|
|
@@ -3697,61 +3662,61 @@ var Oi = (
|
|
|
3697
3662
|
}
|
|
3698
3663
|
}
|
|
3699
3664
|
return {
|
|
3700
|
-
val: this.message.slice(
|
|
3665
|
+
val: this.message.slice(n.offset, this.offset()),
|
|
3701
3666
|
err: null
|
|
3702
3667
|
};
|
|
3703
|
-
}, e.prototype.parseNumberSkeletonFromString = function(t,
|
|
3704
|
-
var
|
|
3668
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3669
|
+
var r = [];
|
|
3705
3670
|
try {
|
|
3706
|
-
|
|
3671
|
+
r = ai(t);
|
|
3707
3672
|
} catch (i) {
|
|
3708
|
-
return this.error(y.INVALID_NUMBER_SKELETON,
|
|
3673
|
+
return this.error(y.INVALID_NUMBER_SKELETON, n);
|
|
3709
3674
|
}
|
|
3710
3675
|
return {
|
|
3711
3676
|
val: {
|
|
3712
|
-
type:
|
|
3713
|
-
tokens:
|
|
3714
|
-
location:
|
|
3715
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3677
|
+
type: J.number,
|
|
3678
|
+
tokens: r,
|
|
3679
|
+
location: n,
|
|
3680
|
+
parsedOptions: this.shouldParseSkeletons ? fi(r) : {}
|
|
3716
3681
|
},
|
|
3717
3682
|
err: null
|
|
3718
3683
|
};
|
|
3719
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t,
|
|
3684
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3720
3685
|
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3721
3686
|
if (u.length === 0) {
|
|
3722
|
-
var
|
|
3723
|
-
if (
|
|
3724
|
-
var
|
|
3725
|
-
if (
|
|
3726
|
-
return
|
|
3727
|
-
h = _(
|
|
3687
|
+
var f = this.clonePosition();
|
|
3688
|
+
if (n !== "select" && this.bumpIf("=")) {
|
|
3689
|
+
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3690
|
+
if (c.err)
|
|
3691
|
+
return c;
|
|
3692
|
+
h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3728
3693
|
} else
|
|
3729
3694
|
break;
|
|
3730
3695
|
}
|
|
3731
3696
|
if (l.has(u))
|
|
3732
|
-
return this.error(
|
|
3697
|
+
return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3733
3698
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3734
|
-
var
|
|
3699
|
+
var m = this.clonePosition();
|
|
3735
3700
|
if (!this.bumpIf("{"))
|
|
3736
|
-
return this.error(
|
|
3737
|
-
var
|
|
3738
|
-
if (m.err)
|
|
3739
|
-
return m;
|
|
3740
|
-
var d = this.tryParseArgumentClose(p);
|
|
3701
|
+
return this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3702
|
+
var d = this.parseMessage(t + 1, n, r);
|
|
3741
3703
|
if (d.err)
|
|
3742
3704
|
return d;
|
|
3705
|
+
var p = this.tryParseArgumentClose(m);
|
|
3706
|
+
if (p.err)
|
|
3707
|
+
return p;
|
|
3743
3708
|
a.push([
|
|
3744
3709
|
u,
|
|
3745
3710
|
{
|
|
3746
|
-
value:
|
|
3747
|
-
location: _(
|
|
3711
|
+
value: d.val,
|
|
3712
|
+
location: _(m, this.clonePosition())
|
|
3748
3713
|
}
|
|
3749
3714
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3750
3715
|
}
|
|
3751
|
-
return a.length === 0 ? this.error(
|
|
3752
|
-
}, e.prototype.tryParseDecimalInteger = function(t,
|
|
3753
|
-
var
|
|
3754
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3716
|
+
return a.length === 0 ? this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3717
|
+
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3718
|
+
var r = 1, i = this.clonePosition();
|
|
3719
|
+
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3755
3720
|
for (var o = !1, s = 0; !this.isEOF(); ) {
|
|
3756
3721
|
var a = this.char();
|
|
3757
3722
|
if (a >= 48 && a <= 57)
|
|
@@ -3760,7 +3725,7 @@ var Oi = (
|
|
|
3760
3725
|
break;
|
|
3761
3726
|
}
|
|
3762
3727
|
var l = _(i, this.clonePosition());
|
|
3763
|
-
return o ? (s *=
|
|
3728
|
+
return o ? (s *= r, wi(s) ? { val: s, err: null } : this.error(n, l)) : this.error(t, l);
|
|
3764
3729
|
}, e.prototype.offset = function() {
|
|
3765
3730
|
return this.position.offset;
|
|
3766
3731
|
}, e.prototype.isEOF = function() {
|
|
@@ -3775,17 +3740,17 @@ var Oi = (
|
|
|
3775
3740
|
var t = this.position.offset;
|
|
3776
3741
|
if (t >= this.message.length)
|
|
3777
3742
|
throw Error("out of bound");
|
|
3778
|
-
var
|
|
3779
|
-
if (
|
|
3743
|
+
var n = yn(this.message, t);
|
|
3744
|
+
if (n === void 0)
|
|
3780
3745
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3781
|
-
return
|
|
3782
|
-
}, e.prototype.error = function(t,
|
|
3746
|
+
return n;
|
|
3747
|
+
}, e.prototype.error = function(t, n) {
|
|
3783
3748
|
return {
|
|
3784
3749
|
val: null,
|
|
3785
3750
|
err: {
|
|
3786
3751
|
kind: t,
|
|
3787
3752
|
message: this.message,
|
|
3788
|
-
location:
|
|
3753
|
+
location: n
|
|
3789
3754
|
}
|
|
3790
3755
|
};
|
|
3791
3756
|
}, e.prototype.bump = function() {
|
|
@@ -3794,129 +3759,129 @@ var Oi = (
|
|
|
3794
3759
|
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);
|
|
3795
3760
|
}
|
|
3796
3761
|
}, e.prototype.bumpIf = function(t) {
|
|
3797
|
-
if (
|
|
3798
|
-
for (var
|
|
3762
|
+
if (Ct(this.message, t, this.offset())) {
|
|
3763
|
+
for (var n = 0; n < t.length; n++)
|
|
3799
3764
|
this.bump();
|
|
3800
3765
|
return !0;
|
|
3801
3766
|
}
|
|
3802
3767
|
return !1;
|
|
3803
3768
|
}, e.prototype.bumpUntil = function(t) {
|
|
3804
|
-
var
|
|
3805
|
-
return
|
|
3769
|
+
var n = this.offset(), r = this.message.indexOf(t, n);
|
|
3770
|
+
return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
|
|
3806
3771
|
}, e.prototype.bumpTo = function(t) {
|
|
3807
3772
|
if (this.offset() > t)
|
|
3808
3773
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
3809
3774
|
for (t = Math.min(t, this.message.length); ; ) {
|
|
3810
|
-
var
|
|
3811
|
-
if (
|
|
3775
|
+
var n = this.offset();
|
|
3776
|
+
if (n === t)
|
|
3812
3777
|
break;
|
|
3813
|
-
if (
|
|
3778
|
+
if (n > t)
|
|
3814
3779
|
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3815
3780
|
if (this.bump(), this.isEOF())
|
|
3816
3781
|
break;
|
|
3817
3782
|
}
|
|
3818
3783
|
}, e.prototype.bumpSpace = function() {
|
|
3819
|
-
for (; !this.isEOF() &&
|
|
3784
|
+
for (; !this.isEOF() && _n(this.char()); )
|
|
3820
3785
|
this.bump();
|
|
3821
3786
|
}, e.prototype.peek = function() {
|
|
3822
3787
|
if (this.isEOF())
|
|
3823
3788
|
return null;
|
|
3824
|
-
var t = this.char(),
|
|
3825
|
-
return
|
|
3789
|
+
var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
|
|
3790
|
+
return r != null ? r : null;
|
|
3826
3791
|
}, e;
|
|
3827
3792
|
}()
|
|
3828
3793
|
);
|
|
3829
|
-
function
|
|
3794
|
+
function Ye(e) {
|
|
3830
3795
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3831
3796
|
}
|
|
3832
|
-
function
|
|
3833
|
-
return
|
|
3797
|
+
function Bi(e) {
|
|
3798
|
+
return Ye(e) || e === 47;
|
|
3834
3799
|
}
|
|
3835
|
-
function
|
|
3800
|
+
function Ci(e) {
|
|
3836
3801
|
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;
|
|
3837
3802
|
}
|
|
3838
|
-
function
|
|
3803
|
+
function _n(e) {
|
|
3839
3804
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3840
3805
|
}
|
|
3841
|
-
function
|
|
3806
|
+
function Pi(e) {
|
|
3842
3807
|
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;
|
|
3843
3808
|
}
|
|
3844
|
-
function
|
|
3809
|
+
function Ke(e) {
|
|
3845
3810
|
e.forEach(function(t) {
|
|
3846
|
-
if (delete t.location,
|
|
3847
|
-
for (var
|
|
3848
|
-
delete t.options[
|
|
3811
|
+
if (delete t.location, hn(t) || fn(t))
|
|
3812
|
+
for (var n in t.options)
|
|
3813
|
+
delete t.options[n].location, Ke(t.options[n].value);
|
|
3849
3814
|
else
|
|
3850
|
-
|
|
3815
|
+
an(t) && dn(t.style) || (un(t) || ln(t)) && Ze(t.style) ? delete t.style.location : cn(t) && Ke(t.children);
|
|
3851
3816
|
});
|
|
3852
3817
|
}
|
|
3853
|
-
function
|
|
3854
|
-
t === void 0 && (t = {}), t =
|
|
3855
|
-
var
|
|
3856
|
-
if (
|
|
3857
|
-
var
|
|
3858
|
-
throw
|
|
3818
|
+
function Oi(e, t) {
|
|
3819
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3820
|
+
var n = new Ai(e, t).parse();
|
|
3821
|
+
if (n.err) {
|
|
3822
|
+
var r = SyntaxError(y[n.err.kind]);
|
|
3823
|
+
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3859
3824
|
}
|
|
3860
|
-
return t != null && t.captureLocation ||
|
|
3825
|
+
return t != null && t.captureLocation || Ke(n.val), n.val;
|
|
3861
3826
|
}
|
|
3862
|
-
var
|
|
3827
|
+
var q;
|
|
3863
3828
|
(function(e) {
|
|
3864
3829
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3865
|
-
})(
|
|
3866
|
-
var
|
|
3830
|
+
})(q || (q = {}));
|
|
3831
|
+
var Be = (
|
|
3867
3832
|
/** @class */
|
|
3868
3833
|
function(e) {
|
|
3869
|
-
|
|
3870
|
-
function t(
|
|
3871
|
-
var o = e.call(this,
|
|
3872
|
-
return o.code =
|
|
3834
|
+
$(t, e);
|
|
3835
|
+
function t(n, r, i) {
|
|
3836
|
+
var o = e.call(this, n) || this;
|
|
3837
|
+
return o.code = r, o.originalMessage = i, o;
|
|
3873
3838
|
}
|
|
3874
3839
|
return t.prototype.toString = function() {
|
|
3875
3840
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3876
3841
|
}, t;
|
|
3877
3842
|
}(Error)
|
|
3878
|
-
),
|
|
3843
|
+
), It = (
|
|
3879
3844
|
/** @class */
|
|
3880
3845
|
function(e) {
|
|
3881
|
-
|
|
3882
|
-
function t(
|
|
3883
|
-
return e.call(this, 'Invalid values for "'.concat(
|
|
3846
|
+
$(t, e);
|
|
3847
|
+
function t(n, r, i, o) {
|
|
3848
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
|
|
3884
3849
|
}
|
|
3885
3850
|
return t;
|
|
3886
|
-
}(
|
|
3887
|
-
),
|
|
3851
|
+
}(Be)
|
|
3852
|
+
), Ii = (
|
|
3888
3853
|
/** @class */
|
|
3889
3854
|
function(e) {
|
|
3890
|
-
|
|
3891
|
-
function t(
|
|
3892
|
-
return e.call(this, 'Value for "'.concat(
|
|
3855
|
+
$(t, e);
|
|
3856
|
+
function t(n, r, i) {
|
|
3857
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), q.INVALID_VALUE, i) || this;
|
|
3893
3858
|
}
|
|
3894
3859
|
return t;
|
|
3895
|
-
}(
|
|
3896
|
-
),
|
|
3860
|
+
}(Be)
|
|
3861
|
+
), Mi = (
|
|
3897
3862
|
/** @class */
|
|
3898
3863
|
function(e) {
|
|
3899
|
-
|
|
3900
|
-
function t(
|
|
3901
|
-
return e.call(this, 'The intl string context variable "'.concat(
|
|
3864
|
+
$(t, e);
|
|
3865
|
+
function t(n, r) {
|
|
3866
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), q.MISSING_VALUE, r) || this;
|
|
3902
3867
|
}
|
|
3903
3868
|
return t;
|
|
3904
|
-
}(
|
|
3869
|
+
}(Be)
|
|
3905
3870
|
), P;
|
|
3906
3871
|
(function(e) {
|
|
3907
3872
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3908
3873
|
})(P || (P = {}));
|
|
3909
|
-
function
|
|
3910
|
-
return e.length < 2 ? e : e.reduce(function(t,
|
|
3911
|
-
var
|
|
3912
|
-
return !
|
|
3874
|
+
function Ni(e) {
|
|
3875
|
+
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3876
|
+
var r = t[t.length - 1];
|
|
3877
|
+
return !r || r.type !== P.literal || n.type !== P.literal ? t.push(n) : r.value += n.value, t;
|
|
3913
3878
|
}, []);
|
|
3914
3879
|
}
|
|
3915
|
-
function
|
|
3880
|
+
function Li(e) {
|
|
3916
3881
|
return typeof e == "function";
|
|
3917
3882
|
}
|
|
3918
|
-
function ye(e, t,
|
|
3919
|
-
if (e.length === 1 &&
|
|
3883
|
+
function ye(e, t, n, r, i, o, s) {
|
|
3884
|
+
if (e.length === 1 && Tt(e[0]))
|
|
3920
3885
|
return [
|
|
3921
3886
|
{
|
|
3922
3887
|
type: P.literal,
|
|
@@ -3925,155 +3890,155 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3925
3890
|
];
|
|
3926
3891
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3927
3892
|
var h = u[l];
|
|
3928
|
-
if (
|
|
3893
|
+
if (Tt(h)) {
|
|
3929
3894
|
a.push({
|
|
3930
3895
|
type: P.literal,
|
|
3931
3896
|
value: h.value
|
|
3932
3897
|
});
|
|
3933
3898
|
continue;
|
|
3934
3899
|
}
|
|
3935
|
-
if (
|
|
3900
|
+
if (ri(h)) {
|
|
3936
3901
|
typeof o == "number" && a.push({
|
|
3937
3902
|
type: P.literal,
|
|
3938
|
-
value:
|
|
3903
|
+
value: n.getNumberFormat(t).format(o)
|
|
3939
3904
|
});
|
|
3940
3905
|
continue;
|
|
3941
3906
|
}
|
|
3942
|
-
var
|
|
3943
|
-
if (!(i &&
|
|
3944
|
-
throw new
|
|
3945
|
-
var
|
|
3946
|
-
if (
|
|
3947
|
-
(!
|
|
3948
|
-
type: typeof
|
|
3949
|
-
value:
|
|
3907
|
+
var f = h.value;
|
|
3908
|
+
if (!(i && f in i))
|
|
3909
|
+
throw new Mi(f, s);
|
|
3910
|
+
var c = i[f];
|
|
3911
|
+
if (ni(h)) {
|
|
3912
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3913
|
+
type: typeof c == "string" ? P.literal : P.object,
|
|
3914
|
+
value: c
|
|
3950
3915
|
});
|
|
3951
3916
|
continue;
|
|
3952
3917
|
}
|
|
3953
|
-
if (
|
|
3954
|
-
var
|
|
3918
|
+
if (un(h)) {
|
|
3919
|
+
var m = typeof h.style == "string" ? r.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
|
|
3955
3920
|
a.push({
|
|
3956
3921
|
type: P.literal,
|
|
3957
|
-
value:
|
|
3922
|
+
value: n.getDateTimeFormat(t, m).format(c)
|
|
3958
3923
|
});
|
|
3959
3924
|
continue;
|
|
3960
3925
|
}
|
|
3961
|
-
if (
|
|
3962
|
-
var
|
|
3926
|
+
if (ln(h)) {
|
|
3927
|
+
var m = typeof h.style == "string" ? r.time[h.style] : Ze(h.style) ? h.style.parsedOptions : r.time.medium;
|
|
3963
3928
|
a.push({
|
|
3964
3929
|
type: P.literal,
|
|
3965
|
-
value:
|
|
3930
|
+
value: n.getDateTimeFormat(t, m).format(c)
|
|
3966
3931
|
});
|
|
3967
3932
|
continue;
|
|
3968
3933
|
}
|
|
3969
|
-
if (
|
|
3970
|
-
var
|
|
3971
|
-
|
|
3934
|
+
if (an(h)) {
|
|
3935
|
+
var m = typeof h.style == "string" ? r.number[h.style] : dn(h.style) ? h.style.parsedOptions : void 0;
|
|
3936
|
+
m && m.scale && (c = c * (m.scale || 1)), a.push({
|
|
3972
3937
|
type: P.literal,
|
|
3973
|
-
value:
|
|
3938
|
+
value: n.getNumberFormat(t, m).format(c)
|
|
3974
3939
|
});
|
|
3975
3940
|
continue;
|
|
3976
3941
|
}
|
|
3977
|
-
if (
|
|
3978
|
-
var
|
|
3979
|
-
if (!
|
|
3980
|
-
throw new
|
|
3981
|
-
var
|
|
3942
|
+
if (cn(h)) {
|
|
3943
|
+
var d = h.children, p = h.value, g = i[p];
|
|
3944
|
+
if (!Li(g))
|
|
3945
|
+
throw new Ii(p, "function", s);
|
|
3946
|
+
var H = ye(d, t, n, r, i, o), A = g(H.map(function(b) {
|
|
3982
3947
|
return b.value;
|
|
3983
3948
|
}));
|
|
3984
|
-
Array.isArray(
|
|
3949
|
+
Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(b) {
|
|
3985
3950
|
return {
|
|
3986
3951
|
type: typeof b == "string" ? P.literal : P.object,
|
|
3987
3952
|
value: b
|
|
3988
3953
|
};
|
|
3989
3954
|
}));
|
|
3990
3955
|
}
|
|
3991
|
-
if (
|
|
3992
|
-
var x = h.options[
|
|
3956
|
+
if (hn(h)) {
|
|
3957
|
+
var x = h.options[c] || h.options.other;
|
|
3993
3958
|
if (!x)
|
|
3994
|
-
throw new
|
|
3995
|
-
a.push.apply(a, ye(x.value, t,
|
|
3959
|
+
throw new It(h.value, c, Object.keys(h.options), s);
|
|
3960
|
+
a.push.apply(a, ye(x.value, t, n, r, i));
|
|
3996
3961
|
continue;
|
|
3997
3962
|
}
|
|
3998
|
-
if (
|
|
3999
|
-
var x = h.options["=".concat(
|
|
3963
|
+
if (fn(h)) {
|
|
3964
|
+
var x = h.options["=".concat(c)];
|
|
4000
3965
|
if (!x) {
|
|
4001
3966
|
if (!Intl.PluralRules)
|
|
4002
|
-
throw new
|
|
3967
|
+
throw new Be(`Intl.PluralRules is not available in this environment.
|
|
4003
3968
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4004
|
-
`,
|
|
4005
|
-
var
|
|
4006
|
-
x = h.options[
|
|
3969
|
+
`, q.MISSING_INTL_API, s);
|
|
3970
|
+
var w = n.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3971
|
+
x = h.options[w] || h.options.other;
|
|
4007
3972
|
}
|
|
4008
3973
|
if (!x)
|
|
4009
|
-
throw new
|
|
4010
|
-
a.push.apply(a, ye(x.value, t,
|
|
3974
|
+
throw new It(h.value, c, Object.keys(h.options), s);
|
|
3975
|
+
a.push.apply(a, ye(x.value, t, n, r, i, c - (h.offset || 0)));
|
|
4011
3976
|
continue;
|
|
4012
3977
|
}
|
|
4013
3978
|
}
|
|
4014
|
-
return
|
|
3979
|
+
return Ni(a);
|
|
4015
3980
|
}
|
|
4016
|
-
function
|
|
4017
|
-
return t ?
|
|
4018
|
-
return r
|
|
3981
|
+
function Ri(e, t) {
|
|
3982
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3983
|
+
return n[r] = E(E({}, e[r]), t[r] || {}), n;
|
|
4019
3984
|
}, {})) : e;
|
|
4020
3985
|
}
|
|
4021
|
-
function
|
|
4022
|
-
return t ? Object.keys(e).reduce(function(
|
|
4023
|
-
return r
|
|
4024
|
-
},
|
|
3986
|
+
function $i(e, t) {
|
|
3987
|
+
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3988
|
+
return n[r] = Ri(e[r], t[r]), n;
|
|
3989
|
+
}, E({}, e)) : e;
|
|
4025
3990
|
}
|
|
4026
|
-
function
|
|
3991
|
+
function Ge(e) {
|
|
4027
3992
|
return {
|
|
4028
3993
|
create: function() {
|
|
4029
3994
|
return {
|
|
4030
3995
|
get: function(t) {
|
|
4031
3996
|
return e[t];
|
|
4032
3997
|
},
|
|
4033
|
-
set: function(t,
|
|
4034
|
-
e[t] =
|
|
3998
|
+
set: function(t, n) {
|
|
3999
|
+
e[t] = n;
|
|
4035
4000
|
}
|
|
4036
4001
|
};
|
|
4037
4002
|
}
|
|
4038
4003
|
};
|
|
4039
4004
|
}
|
|
4040
|
-
function
|
|
4005
|
+
function Gi(e) {
|
|
4041
4006
|
return e === void 0 && (e = {
|
|
4042
4007
|
number: {},
|
|
4043
4008
|
dateTime: {},
|
|
4044
4009
|
pluralRules: {}
|
|
4045
4010
|
}), {
|
|
4046
|
-
getNumberFormat:
|
|
4047
|
-
for (var t,
|
|
4048
|
-
r
|
|
4049
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4011
|
+
getNumberFormat: Le(function() {
|
|
4012
|
+
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
4013
|
+
n[r] = arguments[r];
|
|
4014
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], n, !1)))();
|
|
4050
4015
|
}, {
|
|
4051
|
-
cache:
|
|
4052
|
-
strategy:
|
|
4016
|
+
cache: Ge(e.number),
|
|
4017
|
+
strategy: Re.variadic
|
|
4053
4018
|
}),
|
|
4054
|
-
getDateTimeFormat:
|
|
4055
|
-
for (var t,
|
|
4056
|
-
r
|
|
4057
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4019
|
+
getDateTimeFormat: Le(function() {
|
|
4020
|
+
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
4021
|
+
n[r] = arguments[r];
|
|
4022
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], n, !1)))();
|
|
4058
4023
|
}, {
|
|
4059
|
-
cache:
|
|
4060
|
-
strategy:
|
|
4024
|
+
cache: Ge(e.dateTime),
|
|
4025
|
+
strategy: Re.variadic
|
|
4061
4026
|
}),
|
|
4062
|
-
getPluralRules:
|
|
4063
|
-
for (var t,
|
|
4064
|
-
r
|
|
4065
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4027
|
+
getPluralRules: Le(function() {
|
|
4028
|
+
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
4029
|
+
n[r] = arguments[r];
|
|
4030
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], n, !1)))();
|
|
4066
4031
|
}, {
|
|
4067
|
-
cache:
|
|
4068
|
-
strategy:
|
|
4032
|
+
cache: Ge(e.pluralRules),
|
|
4033
|
+
strategy: Re.variadic
|
|
4069
4034
|
})
|
|
4070
4035
|
};
|
|
4071
4036
|
}
|
|
4072
|
-
var
|
|
4037
|
+
var Ui = (
|
|
4073
4038
|
/** @class */
|
|
4074
4039
|
function() {
|
|
4075
|
-
function e(t,
|
|
4076
|
-
|
|
4040
|
+
function e(t, n, r, i) {
|
|
4041
|
+
n === void 0 && (n = e.defaultLocale);
|
|
4077
4042
|
var o = this;
|
|
4078
4043
|
if (this.formatterCache = {
|
|
4079
4044
|
number: {},
|
|
@@ -4083,8 +4048,8 @@ var ki = (
|
|
|
4083
4048
|
var u = o.formatToParts(l);
|
|
4084
4049
|
if (u.length === 1)
|
|
4085
4050
|
return u[0].value;
|
|
4086
|
-
var h = u.reduce(function(
|
|
4087
|
-
return !
|
|
4051
|
+
var h = u.reduce(function(f, c) {
|
|
4052
|
+
return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
4088
4053
|
}, []);
|
|
4089
4054
|
return h.length <= 1 ? h[0] || "" : h;
|
|
4090
4055
|
}, this.formatToParts = function(l) {
|
|
@@ -4096,18 +4061,18 @@ var ki = (
|
|
|
4096
4061
|
};
|
|
4097
4062
|
}, this.getAst = function() {
|
|
4098
4063
|
return o.ast;
|
|
4099
|
-
}, this.locales =
|
|
4064
|
+
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
4100
4065
|
if (this.message = t, !e.__parse)
|
|
4101
4066
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4102
4067
|
var s = i || {};
|
|
4103
4068
|
s.formatters;
|
|
4104
|
-
var a =
|
|
4105
|
-
this.ast = e.__parse(t,
|
|
4069
|
+
var a = gr(s, ["formatters"]);
|
|
4070
|
+
this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
|
|
4106
4071
|
} else
|
|
4107
4072
|
this.ast = t;
|
|
4108
4073
|
if (!Array.isArray(this.ast))
|
|
4109
4074
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4110
|
-
this.formats =
|
|
4075
|
+
this.formats = $i(e.formats, r), this.formatters = i && i.formatters || Gi(this.formatterCache);
|
|
4111
4076
|
}
|
|
4112
4077
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4113
4078
|
get: function() {
|
|
@@ -4117,10 +4082,10 @@ var ki = (
|
|
|
4117
4082
|
configurable: !0
|
|
4118
4083
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
4119
4084
|
if (typeof Intl.Locale != "undefined") {
|
|
4120
|
-
var
|
|
4121
|
-
return
|
|
4085
|
+
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4086
|
+
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4122
4087
|
}
|
|
4123
|
-
}, e.__parse =
|
|
4088
|
+
}, e.__parse = Oi, e.formats = {
|
|
4124
4089
|
number: {
|
|
4125
4090
|
integer: {
|
|
4126
4091
|
maximumFractionDigits: 0
|
|
@@ -4181,113 +4146,113 @@ var ki = (
|
|
|
4181
4146
|
}, e;
|
|
4182
4147
|
}()
|
|
4183
4148
|
);
|
|
4184
|
-
function
|
|
4149
|
+
function Di(e, t) {
|
|
4185
4150
|
if (t == null)
|
|
4186
4151
|
return;
|
|
4187
4152
|
if (t in e)
|
|
4188
4153
|
return e[t];
|
|
4189
|
-
const
|
|
4190
|
-
let
|
|
4191
|
-
for (let i = 0; i <
|
|
4192
|
-
if (typeof
|
|
4154
|
+
const n = t.split(".");
|
|
4155
|
+
let r = e;
|
|
4156
|
+
for (let i = 0; i < n.length; i++)
|
|
4157
|
+
if (typeof r == "object") {
|
|
4193
4158
|
if (i > 0) {
|
|
4194
|
-
const o =
|
|
4195
|
-
if (o in
|
|
4196
|
-
|
|
4159
|
+
const o = n.slice(i, n.length).join(".");
|
|
4160
|
+
if (o in r) {
|
|
4161
|
+
r = r[o];
|
|
4197
4162
|
break;
|
|
4198
4163
|
}
|
|
4199
4164
|
}
|
|
4200
|
-
|
|
4165
|
+
r = r[n[i]];
|
|
4201
4166
|
} else
|
|
4202
|
-
|
|
4203
|
-
return
|
|
4167
|
+
r = void 0;
|
|
4168
|
+
return r;
|
|
4204
4169
|
}
|
|
4205
|
-
const G = {},
|
|
4170
|
+
const G = {}, Fi = (e, t, n) => n && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = n), n), xn = (e, t) => {
|
|
4206
4171
|
if (t == null)
|
|
4207
4172
|
return;
|
|
4208
4173
|
if (t in G && e in G[t])
|
|
4209
4174
|
return G[t][e];
|
|
4210
|
-
const
|
|
4211
|
-
for (let
|
|
4212
|
-
const i = r
|
|
4175
|
+
const n = Ce(t);
|
|
4176
|
+
for (let r = 0; r < n.length; r++) {
|
|
4177
|
+
const i = n[r], o = ki(i, e);
|
|
4213
4178
|
if (o)
|
|
4214
|
-
return
|
|
4179
|
+
return Fi(e, t, o);
|
|
4215
4180
|
}
|
|
4216
4181
|
};
|
|
4217
|
-
let
|
|
4218
|
-
const he =
|
|
4219
|
-
function
|
|
4220
|
-
return
|
|
4182
|
+
let st;
|
|
4183
|
+
const he = Ae({});
|
|
4184
|
+
function ji(e) {
|
|
4185
|
+
return st[e] || null;
|
|
4221
4186
|
}
|
|
4222
|
-
function
|
|
4223
|
-
return e in
|
|
4187
|
+
function En(e) {
|
|
4188
|
+
return e in st;
|
|
4224
4189
|
}
|
|
4225
|
-
function
|
|
4226
|
-
if (!
|
|
4190
|
+
function ki(e, t) {
|
|
4191
|
+
if (!En(e))
|
|
4227
4192
|
return null;
|
|
4228
|
-
const
|
|
4229
|
-
return
|
|
4193
|
+
const n = ji(e);
|
|
4194
|
+
return Di(n, t);
|
|
4230
4195
|
}
|
|
4231
|
-
function
|
|
4196
|
+
function Vi(e) {
|
|
4232
4197
|
if (e == null)
|
|
4233
4198
|
return;
|
|
4234
|
-
const t =
|
|
4235
|
-
for (let
|
|
4236
|
-
const
|
|
4237
|
-
if (
|
|
4238
|
-
return
|
|
4199
|
+
const t = Ce(e);
|
|
4200
|
+
for (let n = 0; n < t.length; n++) {
|
|
4201
|
+
const r = t[n];
|
|
4202
|
+
if (En(r))
|
|
4203
|
+
return r;
|
|
4239
4204
|
}
|
|
4240
4205
|
}
|
|
4241
|
-
function
|
|
4242
|
-
delete G[e], he.update((
|
|
4206
|
+
function wn(e, ...t) {
|
|
4207
|
+
delete G[e], he.update((n) => (n[e] = Zr.all([n[e] || {}, ...t]), n));
|
|
4243
4208
|
}
|
|
4244
|
-
|
|
4209
|
+
K(
|
|
4245
4210
|
[he],
|
|
4246
4211
|
([e]) => Object.keys(e)
|
|
4247
4212
|
);
|
|
4248
|
-
he.subscribe((e) =>
|
|
4213
|
+
he.subscribe((e) => st = e);
|
|
4249
4214
|
const ve = {};
|
|
4250
|
-
function
|
|
4215
|
+
function Xi(e, t) {
|
|
4251
4216
|
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
|
4252
4217
|
}
|
|
4253
|
-
function
|
|
4218
|
+
function Sn(e) {
|
|
4254
4219
|
return ve[e];
|
|
4255
4220
|
}
|
|
4256
|
-
function
|
|
4257
|
-
return
|
|
4258
|
-
const
|
|
4259
|
-
return [t,
|
|
4221
|
+
function zi(e) {
|
|
4222
|
+
return Ce(e).map((t) => {
|
|
4223
|
+
const n = Sn(t);
|
|
4224
|
+
return [t, n ? [...n] : []];
|
|
4260
4225
|
}).filter(([, t]) => t.length > 0);
|
|
4261
4226
|
}
|
|
4262
|
-
function
|
|
4263
|
-
return e == null ? !1 :
|
|
4227
|
+
function et(e) {
|
|
4228
|
+
return e == null ? !1 : Ce(e).some(
|
|
4264
4229
|
(t) => {
|
|
4265
|
-
var
|
|
4266
|
-
return (
|
|
4230
|
+
var n;
|
|
4231
|
+
return (n = Sn(t)) == null ? void 0 : n.size;
|
|
4267
4232
|
}
|
|
4268
4233
|
);
|
|
4269
4234
|
}
|
|
4270
|
-
function
|
|
4235
|
+
function Wi(e, t) {
|
|
4271
4236
|
return Promise.all(
|
|
4272
|
-
t.map((
|
|
4273
|
-
).then((
|
|
4237
|
+
t.map((r) => (Xi(e, r), r().then((i) => i.default || i)))
|
|
4238
|
+
).then((r) => wn(e, ...r));
|
|
4274
4239
|
}
|
|
4275
4240
|
const re = {};
|
|
4276
|
-
function
|
|
4277
|
-
if (!
|
|
4241
|
+
function Tn(e) {
|
|
4242
|
+
if (!et(e))
|
|
4278
4243
|
return e in re ? re[e] : Promise.resolve();
|
|
4279
|
-
const t =
|
|
4244
|
+
const t = zi(e);
|
|
4280
4245
|
return re[e] = Promise.all(
|
|
4281
4246
|
t.map(
|
|
4282
|
-
([
|
|
4247
|
+
([n, r]) => Wi(n, r)
|
|
4283
4248
|
)
|
|
4284
4249
|
).then(() => {
|
|
4285
|
-
if (
|
|
4286
|
-
return
|
|
4250
|
+
if (et(e))
|
|
4251
|
+
return Tn(e);
|
|
4287
4252
|
delete re[e];
|
|
4288
4253
|
}), re[e];
|
|
4289
4254
|
}
|
|
4290
|
-
const
|
|
4255
|
+
const Zi = {
|
|
4291
4256
|
number: {
|
|
4292
4257
|
scientific: { notation: "scientific" },
|
|
4293
4258
|
engineering: { notation: "engineering" },
|
|
@@ -4316,136 +4281,136 @@ const Yi = {
|
|
|
4316
4281
|
timeZoneName: "short"
|
|
4317
4282
|
}
|
|
4318
4283
|
}
|
|
4319
|
-
},
|
|
4284
|
+
}, Qi = {
|
|
4320
4285
|
fallbackLocale: null,
|
|
4321
4286
|
loadingDelay: 200,
|
|
4322
|
-
formats:
|
|
4287
|
+
formats: Zi,
|
|
4323
4288
|
warnOnMissingMessages: !0,
|
|
4324
4289
|
handleMissingMessage: void 0,
|
|
4325
4290
|
ignoreTag: !0
|
|
4326
|
-
},
|
|
4327
|
-
function
|
|
4328
|
-
return
|
|
4329
|
-
}
|
|
4330
|
-
const
|
|
4331
|
-
var
|
|
4332
|
-
for (var
|
|
4333
|
-
|
|
4334
|
-
if (
|
|
4335
|
-
for (var
|
|
4336
|
-
|
|
4291
|
+
}, Ji = Qi;
|
|
4292
|
+
function Y() {
|
|
4293
|
+
return Ji;
|
|
4294
|
+
}
|
|
4295
|
+
const Ue = Ae(!1);
|
|
4296
|
+
var qi = Object.defineProperty, Yi = Object.defineProperties, Ki = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, Nt = (e, t, n) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, no = (e, t) => {
|
|
4297
|
+
for (var n in t)
|
|
4298
|
+
eo.call(t, n) && Nt(e, n, t[n]);
|
|
4299
|
+
if (Mt)
|
|
4300
|
+
for (var n of Mt(t))
|
|
4301
|
+
to.call(t, n) && Nt(e, n, t[n]);
|
|
4337
4302
|
return e;
|
|
4338
|
-
},
|
|
4339
|
-
let
|
|
4340
|
-
const
|
|
4341
|
-
function
|
|
4342
|
-
return e.split("-").map((t,
|
|
4303
|
+
}, ro = (e, t) => Yi(e, Ki(t));
|
|
4304
|
+
let tt;
|
|
4305
|
+
const we = Ae(null);
|
|
4306
|
+
function Lt(e) {
|
|
4307
|
+
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
4343
4308
|
}
|
|
4344
|
-
function
|
|
4345
|
-
const
|
|
4346
|
-
return t ? [.../* @__PURE__ */ new Set([...
|
|
4309
|
+
function Ce(e, t = Y().fallbackLocale) {
|
|
4310
|
+
const n = Lt(e);
|
|
4311
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...Lt(t)])] : n;
|
|
4347
4312
|
}
|
|
4348
4313
|
function F() {
|
|
4349
|
-
return
|
|
4314
|
+
return tt != null ? tt : void 0;
|
|
4350
4315
|
}
|
|
4351
|
-
|
|
4352
|
-
|
|
4316
|
+
we.subscribe((e) => {
|
|
4317
|
+
tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4353
4318
|
});
|
|
4354
|
-
const
|
|
4355
|
-
if (e &&
|
|
4356
|
-
const { loadingDelay: t } =
|
|
4357
|
-
let
|
|
4358
|
-
return typeof window != "undefined" && F() != null && t ?
|
|
4359
|
-
() =>
|
|
4319
|
+
const io = (e) => {
|
|
4320
|
+
if (e && Vi(e) && et(e)) {
|
|
4321
|
+
const { loadingDelay: t } = Y();
|
|
4322
|
+
let n;
|
|
4323
|
+
return typeof window != "undefined" && F() != null && t ? n = window.setTimeout(
|
|
4324
|
+
() => Ue.set(!0),
|
|
4360
4325
|
t
|
|
4361
|
-
) :
|
|
4362
|
-
|
|
4326
|
+
) : Ue.set(!0), Tn(e).then(() => {
|
|
4327
|
+
we.set(e);
|
|
4363
4328
|
}).finally(() => {
|
|
4364
|
-
clearTimeout(
|
|
4329
|
+
clearTimeout(n), Ue.set(!1);
|
|
4365
4330
|
});
|
|
4366
4331
|
}
|
|
4367
|
-
return
|
|
4368
|
-
},
|
|
4369
|
-
set:
|
|
4370
|
-
}),
|
|
4332
|
+
return we.set(e);
|
|
4333
|
+
}, ee = ro(no({}, we), {
|
|
4334
|
+
set: io
|
|
4335
|
+
}), Pe = (e) => {
|
|
4371
4336
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4372
|
-
return (
|
|
4373
|
-
const i = JSON.stringify(
|
|
4374
|
-
return i in t ? t[i] : t[i] = e(
|
|
4337
|
+
return (r) => {
|
|
4338
|
+
const i = JSON.stringify(r);
|
|
4339
|
+
return i in t ? t[i] : t[i] = e(r);
|
|
4375
4340
|
};
|
|
4376
4341
|
};
|
|
4377
|
-
var
|
|
4378
|
-
for (var
|
|
4379
|
-
|
|
4380
|
-
if (
|
|
4381
|
-
for (var
|
|
4382
|
-
|
|
4342
|
+
var oo = Object.defineProperty, Se = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, An = Object.prototype.propertyIsEnumerable, Rt = (e, t, n) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, at = (e, t) => {
|
|
4343
|
+
for (var n in t || (t = {}))
|
|
4344
|
+
Hn.call(t, n) && Rt(e, n, t[n]);
|
|
4345
|
+
if (Se)
|
|
4346
|
+
for (var n of Se(t))
|
|
4347
|
+
An.call(t, n) && Rt(e, n, t[n]);
|
|
4383
4348
|
return e;
|
|
4384
|
-
},
|
|
4385
|
-
var
|
|
4386
|
-
for (var
|
|
4387
|
-
|
|
4388
|
-
if (e != null &&
|
|
4389
|
-
for (var
|
|
4390
|
-
t.indexOf(
|
|
4391
|
-
return
|
|
4349
|
+
}, te = (e, t) => {
|
|
4350
|
+
var n = {};
|
|
4351
|
+
for (var r in e)
|
|
4352
|
+
Hn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
4353
|
+
if (e != null && Se)
|
|
4354
|
+
for (var r of Se(e))
|
|
4355
|
+
t.indexOf(r) < 0 && An.call(e, r) && (n[r] = e[r]);
|
|
4356
|
+
return n;
|
|
4392
4357
|
};
|
|
4393
|
-
const
|
|
4394
|
-
const { formats:
|
|
4395
|
-
if (e in
|
|
4396
|
-
return
|
|
4358
|
+
const ae = (e, t) => {
|
|
4359
|
+
const { formats: n } = Y();
|
|
4360
|
+
if (e in n && t in n[e])
|
|
4361
|
+
return n[e][t];
|
|
4397
4362
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4398
|
-
},
|
|
4363
|
+
}, so = Pe(
|
|
4399
4364
|
(e) => {
|
|
4400
|
-
var t = e, { locale:
|
|
4401
|
-
if (
|
|
4365
|
+
var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
|
|
4366
|
+
if (n == null)
|
|
4402
4367
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4403
|
-
return
|
|
4368
|
+
return r && (i = ae("number", r)), new Intl.NumberFormat(n, i);
|
|
4404
4369
|
}
|
|
4405
|
-
),
|
|
4370
|
+
), ao = Pe(
|
|
4406
4371
|
(e) => {
|
|
4407
|
-
var t = e, { locale:
|
|
4408
|
-
if (
|
|
4372
|
+
var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
|
|
4373
|
+
if (n == null)
|
|
4409
4374
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4410
|
-
return
|
|
4375
|
+
return r ? i = ae("date", r) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
4411
4376
|
}
|
|
4412
|
-
),
|
|
4377
|
+
), uo = Pe(
|
|
4413
4378
|
(e) => {
|
|
4414
|
-
var t = e, { locale:
|
|
4415
|
-
if (
|
|
4379
|
+
var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
|
|
4380
|
+
if (n == null)
|
|
4416
4381
|
throw new Error(
|
|
4417
4382
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4418
4383
|
);
|
|
4419
|
-
return
|
|
4384
|
+
return r ? i = ae("time", r) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
4420
4385
|
}
|
|
4421
|
-
),
|
|
4386
|
+
), lo = (e = {}) => {
|
|
4422
4387
|
var t = e, {
|
|
4423
|
-
locale:
|
|
4424
|
-
} = t,
|
|
4388
|
+
locale: n = F()
|
|
4389
|
+
} = t, r = te(t, [
|
|
4425
4390
|
"locale"
|
|
4426
4391
|
]);
|
|
4427
|
-
return
|
|
4428
|
-
},
|
|
4392
|
+
return so(at({ locale: n }, r));
|
|
4393
|
+
}, ho = (e = {}) => {
|
|
4429
4394
|
var t = e, {
|
|
4430
|
-
locale:
|
|
4431
|
-
} = t,
|
|
4395
|
+
locale: n = F()
|
|
4396
|
+
} = t, r = te(t, [
|
|
4432
4397
|
"locale"
|
|
4433
4398
|
]);
|
|
4434
|
-
return
|
|
4435
|
-
},
|
|
4399
|
+
return ao(at({ locale: n }, r));
|
|
4400
|
+
}, fo = (e = {}) => {
|
|
4436
4401
|
var t = e, {
|
|
4437
|
-
locale:
|
|
4438
|
-
} = t,
|
|
4402
|
+
locale: n = F()
|
|
4403
|
+
} = t, r = te(t, [
|
|
4439
4404
|
"locale"
|
|
4440
4405
|
]);
|
|
4441
|
-
return
|
|
4442
|
-
},
|
|
4406
|
+
return uo(at({ locale: n }, r));
|
|
4407
|
+
}, co = Pe(
|
|
4443
4408
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4444
|
-
(e, t = F()) => new
|
|
4445
|
-
ignoreTag:
|
|
4409
|
+
(e, t = F()) => new Ui(e, t, Y().formats, {
|
|
4410
|
+
ignoreTag: Y().ignoreTag
|
|
4446
4411
|
})
|
|
4447
|
-
),
|
|
4448
|
-
var
|
|
4412
|
+
), mo = (e, t = {}) => {
|
|
4413
|
+
var n, r, i, o;
|
|
4449
4414
|
let s = t;
|
|
4450
4415
|
typeof e == "object" && (s = e, e = s.id);
|
|
4451
4416
|
const {
|
|
@@ -4457,62 +4422,62 @@ const se = (e, t) => {
|
|
|
4457
4422
|
throw new Error(
|
|
4458
4423
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4459
4424
|
);
|
|
4460
|
-
let h =
|
|
4425
|
+
let h = xn(e, l);
|
|
4461
4426
|
if (!h)
|
|
4462
|
-
h = (o = (i = (
|
|
4427
|
+
h = (o = (i = (r = (n = Y()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4463
4428
|
else if (typeof h != "string")
|
|
4464
4429
|
return console.warn(
|
|
4465
4430
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4466
4431
|
), h;
|
|
4467
4432
|
if (!a)
|
|
4468
4433
|
return h;
|
|
4469
|
-
let
|
|
4434
|
+
let f = h;
|
|
4470
4435
|
try {
|
|
4471
|
-
|
|
4472
|
-
} catch (
|
|
4473
|
-
|
|
4436
|
+
f = co(h, l).format(a);
|
|
4437
|
+
} catch (c) {
|
|
4438
|
+
c instanceof Error && console.warn(
|
|
4474
4439
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4475
|
-
|
|
4440
|
+
c.message
|
|
4476
4441
|
);
|
|
4477
4442
|
}
|
|
4478
|
-
return
|
|
4479
|
-
},
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
window.emWidgets = { topic:
|
|
4485
|
-
const
|
|
4486
|
-
function
|
|
4443
|
+
return f;
|
|
4444
|
+
}, po = (e, t) => fo(t).format(e), bo = (e, t) => ho(t).format(e), go = (e, t) => lo(t).format(e), yo = (e, t = F()) => xn(e, t), vo = K([ee, he], () => mo);
|
|
4445
|
+
K([ee], () => po);
|
|
4446
|
+
K([ee], () => bo);
|
|
4447
|
+
K([ee], () => go);
|
|
4448
|
+
K([ee, he], () => yo);
|
|
4449
|
+
window.emWidgets = { topic: Or };
|
|
4450
|
+
const _o = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4451
|
+
function xo(e, t) {
|
|
4487
4452
|
if (e) {
|
|
4488
|
-
const
|
|
4489
|
-
|
|
4453
|
+
const n = document.createElement("style");
|
|
4454
|
+
n.innerHTML = t, e.appendChild(n);
|
|
4490
4455
|
}
|
|
4491
4456
|
}
|
|
4492
|
-
function
|
|
4493
|
-
const
|
|
4494
|
-
fetch(
|
|
4457
|
+
function Eo(e, t) {
|
|
4458
|
+
const n = new URL(t);
|
|
4459
|
+
fetch(n.href).then((r) => r.text()).then((r) => {
|
|
4495
4460
|
const i = document.createElement("style");
|
|
4496
|
-
i.innerHTML =
|
|
4497
|
-
}).catch((
|
|
4498
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
4461
|
+
i.innerHTML = r, e && e.appendChild(i);
|
|
4462
|
+
}).catch((r) => {
|
|
4463
|
+
console.error("There was an error while trying to load client styling from URL", r);
|
|
4499
4464
|
});
|
|
4500
4465
|
}
|
|
4501
|
-
function
|
|
4466
|
+
function wo(e, t, n) {
|
|
4502
4467
|
if (window.emMessageBus) {
|
|
4503
|
-
const
|
|
4468
|
+
const r = document.createElement("style");
|
|
4504
4469
|
window.emMessageBus.subscribe(t, (i) => {
|
|
4505
|
-
|
|
4470
|
+
r.innerHTML = i, e && e.appendChild(r);
|
|
4506
4471
|
});
|
|
4507
4472
|
}
|
|
4508
4473
|
}
|
|
4509
|
-
function
|
|
4510
|
-
|
|
4474
|
+
function $t(e, t) {
|
|
4475
|
+
wn(e, t);
|
|
4511
4476
|
}
|
|
4512
|
-
function
|
|
4513
|
-
|
|
4477
|
+
function So(e) {
|
|
4478
|
+
ee.set(e);
|
|
4514
4479
|
}
|
|
4515
|
-
const
|
|
4480
|
+
const Gt = {
|
|
4516
4481
|
en: {
|
|
4517
4482
|
cancel: "Cancel",
|
|
4518
4483
|
confirm: "Confirm"
|
|
@@ -4558,41 +4523,41 @@ const jt = {
|
|
|
4558
4523
|
confirm: "Confirm"
|
|
4559
4524
|
}
|
|
4560
4525
|
};
|
|
4561
|
-
function
|
|
4562
|
-
|
|
4526
|
+
function To(e) {
|
|
4527
|
+
zn(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
4563
4528
|
}
|
|
4564
|
-
const
|
|
4565
|
-
function
|
|
4566
|
-
let t,
|
|
4529
|
+
const Ho = (e) => ({}), Ut = (e) => ({});
|
|
4530
|
+
function Ao(e) {
|
|
4531
|
+
let t, n;
|
|
4567
4532
|
return {
|
|
4568
4533
|
c() {
|
|
4569
|
-
t =
|
|
4534
|
+
t = mt("svg"), n = mt("path"), T(n, "stroke-linecap", "round"), T(n, "stroke-linejoin", "round"), T(n, "stroke-width", "2"), T(n, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4570
4535
|
},
|
|
4571
|
-
m(
|
|
4572
|
-
|
|
4536
|
+
m(r, i) {
|
|
4537
|
+
ue(r, t, i), C(t, n);
|
|
4573
4538
|
},
|
|
4574
4539
|
p: N,
|
|
4575
|
-
d(
|
|
4576
|
-
|
|
4540
|
+
d(r) {
|
|
4541
|
+
r && D(t);
|
|
4577
4542
|
}
|
|
4578
4543
|
};
|
|
4579
4544
|
}
|
|
4580
|
-
function
|
|
4581
|
-
let t,
|
|
4545
|
+
function Dt(e) {
|
|
4546
|
+
let t, n, r;
|
|
4582
4547
|
return {
|
|
4583
4548
|
c() {
|
|
4584
|
-
t = M("div"),
|
|
4549
|
+
t = M("div"), n = M("h2"), r = le(
|
|
4585
4550
|
/*modaltitle*/
|
|
4586
4551
|
e[1]
|
|
4587
|
-
),
|
|
4552
|
+
), T(t, "class", "GeneralConfirmationTitle");
|
|
4588
4553
|
},
|
|
4589
4554
|
m(i, o) {
|
|
4590
|
-
|
|
4555
|
+
ue(i, t, o), C(t, n), C(n, r);
|
|
4591
4556
|
},
|
|
4592
4557
|
p(i, o) {
|
|
4593
4558
|
o & /*modaltitle*/
|
|
4594
|
-
2 &&
|
|
4595
|
-
|
|
4559
|
+
2 && it(
|
|
4560
|
+
r,
|
|
4596
4561
|
/*modaltitle*/
|
|
4597
4562
|
i[1]
|
|
4598
4563
|
);
|
|
@@ -4602,17 +4567,17 @@ function Vt(e) {
|
|
|
4602
4567
|
}
|
|
4603
4568
|
};
|
|
4604
4569
|
}
|
|
4605
|
-
function
|
|
4606
|
-
let t,
|
|
4570
|
+
function Ft(e) {
|
|
4571
|
+
let t, n = (
|
|
4607
4572
|
/*$_*/
|
|
4608
4573
|
e[4]("cancel") + ""
|
|
4609
|
-
),
|
|
4574
|
+
), r, i, o;
|
|
4610
4575
|
return {
|
|
4611
4576
|
c() {
|
|
4612
|
-
t = M("button"),
|
|
4577
|
+
t = M("button"), r = le(n), T(t, "class", "GeneralCancelButton");
|
|
4613
4578
|
},
|
|
4614
4579
|
m(s, a) {
|
|
4615
|
-
|
|
4580
|
+
ue(s, t, a), C(t, r), i || (o = De(
|
|
4616
4581
|
t,
|
|
4617
4582
|
"click",
|
|
4618
4583
|
/*click_handler*/
|
|
@@ -4621,169 +4586,169 @@ function Xt(e) {
|
|
|
4621
4586
|
},
|
|
4622
4587
|
p(s, a) {
|
|
4623
4588
|
a & /*$_*/
|
|
4624
|
-
16 &&
|
|
4625
|
-
s[4]("cancel") + "") &&
|
|
4589
|
+
16 && n !== (n = /*$_*/
|
|
4590
|
+
s[4]("cancel") + "") && it(r, n);
|
|
4626
4591
|
},
|
|
4627
4592
|
d(s) {
|
|
4628
4593
|
s && D(t), i = !1, o();
|
|
4629
4594
|
}
|
|
4630
4595
|
};
|
|
4631
4596
|
}
|
|
4632
|
-
function
|
|
4633
|
-
let t,
|
|
4597
|
+
function Bo(e) {
|
|
4598
|
+
let t, n, r, i, o, s, a, l, u, h, f = (
|
|
4634
4599
|
/*$_*/
|
|
4635
4600
|
e[4]("confirm") + ""
|
|
4636
|
-
),
|
|
4601
|
+
), c, m, d, p;
|
|
4637
4602
|
const g = (
|
|
4638
4603
|
/*#slots*/
|
|
4639
4604
|
e[16].close
|
|
4640
|
-
),
|
|
4605
|
+
), H = Dn(
|
|
4641
4606
|
g,
|
|
4642
4607
|
e,
|
|
4643
4608
|
/*$$scope*/
|
|
4644
4609
|
e[15],
|
|
4645
|
-
|
|
4646
|
-
),
|
|
4610
|
+
Ut
|
|
4611
|
+
), A = H || Ao();
|
|
4647
4612
|
let x = (
|
|
4648
4613
|
/*modaltitle*/
|
|
4649
|
-
e[1] &&
|
|
4650
|
-
),
|
|
4614
|
+
e[1] && Dt(e)
|
|
4615
|
+
), w = (
|
|
4651
4616
|
/*hascancelbutton*/
|
|
4652
|
-
e[2] &&
|
|
4617
|
+
e[2] && Ft(e)
|
|
4653
4618
|
);
|
|
4654
4619
|
return {
|
|
4655
4620
|
c() {
|
|
4656
|
-
t = M("div"),
|
|
4657
|
-
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")),
|
|
4658
|
-
(e[5] ? "GeneralConfirmationContainerMobile" : "")),
|
|
4621
|
+
t = M("div"), n = M("div"), r = M("span"), A.c(), i = ce(), x && x.c(), o = ce(), s = M("div"), a = ce(), l = M("div"), w && w.c(), u = ce(), h = M("button"), c = le(f), T(r, "class", "ModalCloseBtn"), T(r, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4622
|
+
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(n, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4623
|
+
(e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4659
4624
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4660
4625
|
},
|
|
4661
4626
|
m(b, B) {
|
|
4662
|
-
|
|
4663
|
-
e[0], C(
|
|
4664
|
-
|
|
4665
|
-
|
|
4627
|
+
ue(b, t, B), C(t, n), C(n, r), A.m(r, null), C(n, i), x && x.m(n, null), C(n, o), C(n, s), s.innerHTML = /*modaltext*/
|
|
4628
|
+
e[0], C(n, a), C(n, l), w && w.m(l, null), C(l, u), C(l, h), C(h, c), e[19](t), m = !0, d || (p = [
|
|
4629
|
+
De(
|
|
4630
|
+
r,
|
|
4666
4631
|
"click",
|
|
4667
4632
|
/*close*/
|
|
4668
4633
|
e[6]
|
|
4669
4634
|
),
|
|
4670
|
-
|
|
4635
|
+
De(
|
|
4671
4636
|
h,
|
|
4672
4637
|
"click",
|
|
4673
4638
|
/*click_handler_1*/
|
|
4674
4639
|
e[18]
|
|
4675
4640
|
)
|
|
4676
|
-
],
|
|
4641
|
+
], d = !0);
|
|
4677
4642
|
},
|
|
4678
4643
|
p(b, [B]) {
|
|
4679
|
-
|
|
4680
|
-
32768) &&
|
|
4681
|
-
|
|
4644
|
+
H && H.p && (!m || B & /*$$scope*/
|
|
4645
|
+
32768) && jn(
|
|
4646
|
+
H,
|
|
4682
4647
|
g,
|
|
4683
4648
|
b,
|
|
4684
4649
|
/*$$scope*/
|
|
4685
4650
|
b[15],
|
|
4686
|
-
|
|
4651
|
+
m ? Fn(
|
|
4687
4652
|
g,
|
|
4688
4653
|
/*$$scope*/
|
|
4689
4654
|
b[15],
|
|
4690
4655
|
B,
|
|
4691
|
-
|
|
4692
|
-
) :
|
|
4656
|
+
Ho
|
|
4657
|
+
) : kn(
|
|
4693
4658
|
/*$$scope*/
|
|
4694
4659
|
b[15]
|
|
4695
4660
|
),
|
|
4696
|
-
|
|
4661
|
+
Ut
|
|
4697
4662
|
), /*modaltitle*/
|
|
4698
|
-
b[1] ? x ? x.p(b, B) : (x =
|
|
4663
|
+
b[1] ? x ? x.p(b, B) : (x = Dt(b), x.c(), x.m(n, o)) : x && (x.d(1), x = null), (!m || B & /*modaltext*/
|
|
4699
4664
|
1) && (s.innerHTML = /*modaltext*/
|
|
4700
4665
|
b[0]), /*hascancelbutton*/
|
|
4701
|
-
b[2] ?
|
|
4702
|
-
16) &&
|
|
4703
|
-
b[4]("confirm") + "") &&
|
|
4666
|
+
b[2] ? w ? w.p(b, B) : (w = Ft(b), w.c(), w.m(l, u)) : w && (w.d(1), w = null), (!m || B & /*$_*/
|
|
4667
|
+
16) && f !== (f = /*$_*/
|
|
4668
|
+
b[4]("confirm") + "") && it(c, f);
|
|
4704
4669
|
},
|
|
4705
4670
|
i(b) {
|
|
4706
|
-
|
|
4671
|
+
m || (Qt(A, b), m = !0);
|
|
4707
4672
|
},
|
|
4708
4673
|
o(b) {
|
|
4709
|
-
|
|
4674
|
+
ur(A, b), m = !1;
|
|
4710
4675
|
},
|
|
4711
4676
|
d(b) {
|
|
4712
|
-
b && D(t),
|
|
4677
|
+
b && D(t), A.d(b), x && x.d(), w && w.d(), e[19](null), d = !1, U(p);
|
|
4713
4678
|
}
|
|
4714
4679
|
};
|
|
4715
4680
|
}
|
|
4716
|
-
function
|
|
4717
|
-
let
|
|
4718
|
-
|
|
4719
|
-
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang:
|
|
4681
|
+
function Co(e, t, n) {
|
|
4682
|
+
let r;
|
|
4683
|
+
Un(e, vo, (v) => n(4, r = v));
|
|
4684
|
+
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: f = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, { mbsource: p } = t, g, H = window.navigator.userAgent, A = _o(H) !== "PC";
|
|
4720
4685
|
const x = () => {
|
|
4721
4686
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4722
|
-
},
|
|
4687
|
+
}, w = (v) => {
|
|
4723
4688
|
v === "confirm" && u && window.postMessage(u, window.location.href), v === "cancel" && h && window.postMessage(h, window.location.href), x();
|
|
4724
4689
|
}, b = () => {
|
|
4725
|
-
fetch(
|
|
4726
|
-
Object.keys(j).forEach((
|
|
4727
|
-
|
|
4690
|
+
fetch(d).then((j) => j.json()).then((j) => {
|
|
4691
|
+
Object.keys(j).forEach((ut) => {
|
|
4692
|
+
$t(ut, j[ut]);
|
|
4728
4693
|
});
|
|
4729
4694
|
}).catch((j) => {
|
|
4730
4695
|
console.log(j);
|
|
4731
4696
|
});
|
|
4732
4697
|
};
|
|
4733
|
-
Object.keys(
|
|
4734
|
-
|
|
4698
|
+
Object.keys(Gt).forEach((v) => {
|
|
4699
|
+
$t(v, Gt[v]);
|
|
4735
4700
|
});
|
|
4736
4701
|
const B = () => {
|
|
4737
|
-
|
|
4702
|
+
So(f);
|
|
4738
4703
|
};
|
|
4739
|
-
|
|
4704
|
+
nr(() => () => {
|
|
4740
4705
|
});
|
|
4741
|
-
const
|
|
4742
|
-
function
|
|
4743
|
-
|
|
4744
|
-
g = v,
|
|
4706
|
+
const fe = () => w("cancel"), Cn = () => w("confirm");
|
|
4707
|
+
function Pn(v) {
|
|
4708
|
+
Fe[v ? "unshift" : "push"](() => {
|
|
4709
|
+
g = v, n(3, g);
|
|
4745
4710
|
});
|
|
4746
4711
|
}
|
|
4747
4712
|
return e.$$set = (v) => {
|
|
4748
|
-
"modaltext" in v &&
|
|
4713
|
+
"modaltext" in v && n(0, s = v.modaltext), "modaltitle" in v && n(1, a = v.modaltitle), "hascancelbutton" in v && n(2, l = v.hascancelbutton), "modalconfirmevent" in v && n(8, u = v.modalconfirmevent), "modalcancelevent" in v && n(9, h = v.modalcancelevent), "lang" in v && n(10, f = v.lang), "clientstyling" in v && n(11, c = v.clientstyling), "clientstylingurl" in v && n(12, m = v.clientstylingurl), "translationurl" in v && n(13, d = v.translationurl), "mbsource" in v && n(14, p = v.mbsource), "$$scope" in v && n(15, o = v.$$scope);
|
|
4749
4714
|
}, e.$$.update = () => {
|
|
4750
4715
|
e.$$.dirty & /*modaltext, lang*/
|
|
4751
|
-
1025 && s &&
|
|
4752
|
-
2056 &&
|
|
4753
|
-
4104 &&
|
|
4754
|
-
16392 &&
|
|
4755
|
-
8192 &&
|
|
4716
|
+
1025 && s && f && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4717
|
+
2056 && c && g && xo(g, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4718
|
+
4104 && m && g && Eo(g, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4719
|
+
16392 && p && g && wo(g, `${p}.Style`), e.$$.dirty & /*translationurl*/
|
|
4720
|
+
8192 && d && b();
|
|
4756
4721
|
}, [
|
|
4757
4722
|
s,
|
|
4758
4723
|
a,
|
|
4759
4724
|
l,
|
|
4760
4725
|
g,
|
|
4761
|
-
|
|
4762
|
-
|
|
4726
|
+
r,
|
|
4727
|
+
A,
|
|
4763
4728
|
x,
|
|
4764
|
-
|
|
4729
|
+
w,
|
|
4765
4730
|
u,
|
|
4766
4731
|
h,
|
|
4767
|
-
c,
|
|
4768
4732
|
f,
|
|
4769
|
-
|
|
4733
|
+
c,
|
|
4770
4734
|
m,
|
|
4771
4735
|
d,
|
|
4736
|
+
p,
|
|
4772
4737
|
o,
|
|
4773
4738
|
i,
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4739
|
+
fe,
|
|
4740
|
+
Cn,
|
|
4741
|
+
Pn
|
|
4777
4742
|
];
|
|
4778
4743
|
}
|
|
4779
|
-
class
|
|
4744
|
+
class Bn extends pr {
|
|
4780
4745
|
constructor(t) {
|
|
4781
|
-
super(),
|
|
4746
|
+
super(), dr(
|
|
4782
4747
|
this,
|
|
4783
4748
|
t,
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4749
|
+
Co,
|
|
4750
|
+
Bo,
|
|
4751
|
+
kt,
|
|
4787
4752
|
{
|
|
4788
4753
|
modaltext: 0,
|
|
4789
4754
|
modaltitle: 1,
|
|
@@ -4796,7 +4761,7 @@ class Or extends vn {
|
|
|
4796
4761
|
translationurl: 13,
|
|
4797
4762
|
mbsource: 14
|
|
4798
4763
|
},
|
|
4799
|
-
|
|
4764
|
+
To
|
|
4800
4765
|
);
|
|
4801
4766
|
}
|
|
4802
4767
|
get modaltext() {
|
|
@@ -4860,57 +4825,57 @@ class Or extends vn {
|
|
|
4860
4825
|
this.$$set({ mbsource: t }), I();
|
|
4861
4826
|
}
|
|
4862
4827
|
}
|
|
4863
|
-
|
|
4864
|
-
const
|
|
4828
|
+
mr(Bn, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4829
|
+
const Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4865
4830
|
__proto__: null,
|
|
4866
|
-
default:
|
|
4831
|
+
default: Bn
|
|
4867
4832
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4868
4833
|
export {
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4834
|
+
ee as $,
|
|
4835
|
+
wo as A,
|
|
4836
|
+
Uo as B,
|
|
4837
|
+
Mr as C,
|
|
4838
|
+
wn as D,
|
|
4874
4839
|
N as E,
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4840
|
+
Un as F,
|
|
4841
|
+
_o as G,
|
|
4842
|
+
Go as H,
|
|
4843
|
+
ce as I,
|
|
4844
|
+
le as J,
|
|
4845
|
+
mt as K,
|
|
4846
|
+
No as L,
|
|
4847
|
+
De as M,
|
|
4848
|
+
it as N,
|
|
4849
|
+
Oo as O,
|
|
4850
|
+
U as P,
|
|
4851
|
+
Mo as Q,
|
|
4852
|
+
vo as R,
|
|
4853
|
+
pr as S,
|
|
4854
|
+
Do as T,
|
|
4855
|
+
dr as a,
|
|
4856
|
+
zn as b,
|
|
4857
|
+
mr as c,
|
|
4858
|
+
ue as d,
|
|
4859
|
+
Io as e,
|
|
4895
4860
|
I as f,
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4861
|
+
ur as g,
|
|
4862
|
+
Ro as h,
|
|
4863
|
+
Rn as i,
|
|
4864
|
+
D as j,
|
|
4865
|
+
Dn as k,
|
|
4866
|
+
M as l,
|
|
4867
|
+
T as m,
|
|
4868
|
+
C as n,
|
|
4869
|
+
nr as o,
|
|
4870
|
+
kn as p,
|
|
4871
|
+
Fn as q,
|
|
4872
|
+
Ee as r,
|
|
4873
|
+
kt as s,
|
|
4874
|
+
Qt as t,
|
|
4875
|
+
jn as u,
|
|
4876
|
+
$o as v,
|
|
4877
|
+
Lo as w,
|
|
4878
|
+
Fe as x,
|
|
4879
|
+
xo as y,
|
|
4880
|
+
Eo as z
|
|
4916
4881
|
};
|