@everymatrix/player-account-closure-nd 1.86.4 → 1.86.6
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/{PlayerAccountClosureNd-YkbVs8VM.js → PlayerAccountClosureNd-Bv9zxEHD.js} +714 -693
- package/components/{PlayerAccountClosureNd-DyvSutIL.js → PlayerAccountClosureNd-CdNOcLQG.js} +831 -810
- package/components/PlayerAccountClosureNd-DppDeqyv.cjs +18 -0
- package/es2015/player-account-closure-nd.cjs +1 -1
- package/es2015/player-account-closure-nd.js +1 -1
- package/esnext/player-account-closure-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-9K-aI7zC.cjs +1 -0
- package/stencil/index-b2193545-DsMHU6jb.js +519 -0
- package/stencil/index-b2193545-R7ZoV-kY.js +503 -0
- package/stencil/{ui-skeleton-C7KTfaPd.cjs → ui-skeleton-BreIU6e5.cjs} +1 -1
- package/stencil/{ui-skeleton-Cn9Rv2BY.js → ui-skeleton-W50o8tfg.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BA-lE0xf.js → ui-skeleton-ed169f8f-CVY4B-CP.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-cGTgZqRU.cjs → ui-skeleton-ed169f8f-CpiCXJrP.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-b70BXhTZ.js → ui-skeleton-ed169f8f-D3TjbVKy.js} +1 -1
- package/stencil/{ui-skeleton-YNoAIoec.js → ui-skeleton-xXZA3rYO.js} +2 -2
- package/components/PlayerAccountClosureNd-BjOKOp9T.cjs +0 -18
- package/stencil/index-b2193545-CMoQ4Pov.js +0 -503
- package/stencil/index-b2193545-CQaBo5im.cjs +0 -1
- package/stencil/index-b2193545-DvP9W4Go.js +0 -519
package/components/{PlayerAccountClosureNd-YkbVs8VM.js → PlayerAccountClosureNd-Bv9zxEHD.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var dr = Object.defineProperty, mr = Object.defineProperties;
|
|
2
|
+
var br = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ot = Object.getOwnPropertySymbols;
|
|
4
|
+
var vr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var He = (e, t, r) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
vr.call(t, r) && He(e, r, t[r]);
|
|
8
|
+
if (ot)
|
|
9
|
+
for (var r of ot(t))
|
|
10
|
+
gr.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, at = (e, t) => mr(e, br(t));
|
|
13
|
+
var N = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var ut = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -27,28 +27,28 @@ var st = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-skeleton-
|
|
30
|
+
import "../stencil/ui-skeleton-xXZA3rYO.js";
|
|
31
31
|
function O() {
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function It(e) {
|
|
34
34
|
return e();
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function lt() {
|
|
37
37
|
return /* @__PURE__ */ Object.create(null);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
e.forEach(
|
|
39
|
+
function ee(e) {
|
|
40
|
+
e.forEach(It);
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function tt(e) {
|
|
43
43
|
return typeof e == "function";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Lt(e, t) {
|
|
46
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function yr(e) {
|
|
49
49
|
return Object.keys(e).length === 0;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function $t(e, ...t) {
|
|
52
52
|
if (e == null) {
|
|
53
53
|
for (const n of t)
|
|
54
54
|
n(void 0);
|
|
@@ -57,17 +57,17 @@ function Nt(e, ...t) {
|
|
|
57
57
|
const r = e.subscribe(...t);
|
|
58
58
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
61
|
-
e.$$.on_destroy.push(
|
|
60
|
+
function xr(e, t, r) {
|
|
61
|
+
e.$$.on_destroy.push($t(t, r));
|
|
62
62
|
}
|
|
63
63
|
function g(e, t) {
|
|
64
64
|
e.appendChild(t);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function _r(e, t, r) {
|
|
67
67
|
const n = Er(e);
|
|
68
68
|
if (!n.getElementById(t)) {
|
|
69
69
|
const i = H("style");
|
|
70
|
-
i.id = t, i.textContent = r,
|
|
70
|
+
i.id = t, i.textContent = r, wr(n, i);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
function Er(e) {
|
|
@@ -80,7 +80,7 @@ function Er(e) {
|
|
|
80
80
|
t
|
|
81
81
|
) : e.ownerDocument;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function wr(e, t) {
|
|
84
84
|
return g(
|
|
85
85
|
/** @type {Document} */
|
|
86
86
|
e.head || e,
|
|
@@ -93,14 +93,14 @@ function G(e, t, r) {
|
|
|
93
93
|
function D(e) {
|
|
94
94
|
e.parentNode && e.parentNode.removeChild(e);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function Ar(e, t) {
|
|
97
97
|
for (let r = 0; r < e.length; r += 1)
|
|
98
98
|
e[r] && e[r].d(t);
|
|
99
99
|
}
|
|
100
100
|
function H(e) {
|
|
101
101
|
return document.createElement(e);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function W(e) {
|
|
104
104
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
105
105
|
}
|
|
106
106
|
function R(e) {
|
|
@@ -112,17 +112,17 @@ function F() {
|
|
|
112
112
|
function ge(e, t, r, n) {
|
|
113
113
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function x(e, t, r) {
|
|
116
116
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Cr(e) {
|
|
119
119
|
return Array.from(e.childNodes);
|
|
120
120
|
}
|
|
121
121
|
function Z(e, t) {
|
|
122
122
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
123
123
|
t);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function Sr(e) {
|
|
126
126
|
const t = {};
|
|
127
127
|
return e.childNodes.forEach(
|
|
128
128
|
/** @param {Element} node */
|
|
@@ -131,90 +131,90 @@ function wr(e) {
|
|
|
131
131
|
}
|
|
132
132
|
), t;
|
|
133
133
|
}
|
|
134
|
-
let
|
|
135
|
-
function
|
|
136
|
-
|
|
134
|
+
let se;
|
|
135
|
+
function oe(e) {
|
|
136
|
+
se = e;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
if (!
|
|
138
|
+
function Tr() {
|
|
139
|
+
if (!se)
|
|
140
140
|
throw new Error("Function called outside component initialization");
|
|
141
|
-
return
|
|
141
|
+
return se;
|
|
142
142
|
}
|
|
143
|
-
function
|
|
144
|
-
|
|
143
|
+
function Hr(e) {
|
|
144
|
+
Tr().$$.on_mount.push(e);
|
|
145
145
|
}
|
|
146
|
-
const X = [],
|
|
146
|
+
const X = [], Re = [];
|
|
147
147
|
let q = [];
|
|
148
|
-
const
|
|
149
|
-
let
|
|
150
|
-
function
|
|
151
|
-
|
|
148
|
+
const ct = [], Br = /* @__PURE__ */ Promise.resolve();
|
|
149
|
+
let De = !1;
|
|
150
|
+
function Mr() {
|
|
151
|
+
De || (De = !0, Br.then(U));
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function Ue(e) {
|
|
154
154
|
q.push(e);
|
|
155
155
|
}
|
|
156
|
-
const
|
|
157
|
-
let
|
|
156
|
+
const Be = /* @__PURE__ */ new Set();
|
|
157
|
+
let z = 0;
|
|
158
158
|
function U() {
|
|
159
|
-
if (
|
|
159
|
+
if (z !== 0)
|
|
160
160
|
return;
|
|
161
|
-
const e =
|
|
161
|
+
const e = se;
|
|
162
162
|
do {
|
|
163
163
|
try {
|
|
164
|
-
for (;
|
|
165
|
-
const t = X[
|
|
166
|
-
|
|
164
|
+
for (; z < X.length; ) {
|
|
165
|
+
const t = X[z];
|
|
166
|
+
z++, oe(t), Pr(t.$$);
|
|
167
167
|
}
|
|
168
168
|
} catch (t) {
|
|
169
|
-
throw X.length = 0,
|
|
169
|
+
throw X.length = 0, z = 0, t;
|
|
170
170
|
}
|
|
171
|
-
for (
|
|
172
|
-
|
|
171
|
+
for (oe(null), X.length = 0, z = 0; Re.length; )
|
|
172
|
+
Re.pop()();
|
|
173
173
|
for (let t = 0; t < q.length; t += 1) {
|
|
174
174
|
const r = q[t];
|
|
175
|
-
|
|
175
|
+
Be.has(r) || (Be.add(r), r());
|
|
176
176
|
}
|
|
177
177
|
q.length = 0;
|
|
178
178
|
} while (X.length);
|
|
179
|
-
for (;
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
for (; ct.length; )
|
|
180
|
+
ct.pop()();
|
|
181
|
+
De = !1, Be.clear(), oe(e);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function Pr(e) {
|
|
184
184
|
if (e.fragment !== null) {
|
|
185
|
-
e.update(),
|
|
185
|
+
e.update(), ee(e.before_update);
|
|
186
186
|
const t = e.dirty;
|
|
187
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
187
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Or(e) {
|
|
191
191
|
const t = [], r = [];
|
|
192
192
|
q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
|
|
193
193
|
}
|
|
194
|
-
const
|
|
194
|
+
const Nr = /* @__PURE__ */ new Set();
|
|
195
195
|
function Ir(e, t) {
|
|
196
|
-
e && e.i && (
|
|
196
|
+
e && e.i && (Nr.delete(e), e.i(t));
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Lr(e) {
|
|
199
199
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function $r(e, t, r) {
|
|
202
202
|
const { fragment: n, after_update: i } = e.$$;
|
|
203
|
-
n && n.m(t, r),
|
|
204
|
-
const o = e.$$.on_mount.map(
|
|
205
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
206
|
-
}), i.forEach(
|
|
203
|
+
n && n.m(t, r), Ue(() => {
|
|
204
|
+
const o = e.$$.on_mount.map(It).filter(tt);
|
|
205
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
|
|
206
|
+
}), i.forEach(Ue);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Rr(e, t) {
|
|
209
209
|
const r = e.$$;
|
|
210
|
-
r.fragment !== null && (
|
|
210
|
+
r.fragment !== null && (Or(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
e.$$.dirty[0] === -1 && (X.push(e),
|
|
212
|
+
function Dr(e, t) {
|
|
213
|
+
e.$$.dirty[0] === -1 && (X.push(e), Mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
214
214
|
}
|
|
215
|
-
function
|
|
216
|
-
const l =
|
|
217
|
-
|
|
215
|
+
function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
216
|
+
const l = se;
|
|
217
|
+
oe(e);
|
|
218
218
|
const u = e.$$ = {
|
|
219
219
|
fragment: null,
|
|
220
220
|
ctx: [],
|
|
@@ -222,7 +222,7 @@ function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
222
222
|
props: o,
|
|
223
223
|
update: O,
|
|
224
224
|
not_equal: i,
|
|
225
|
-
bound:
|
|
225
|
+
bound: lt(),
|
|
226
226
|
// lifecycle
|
|
227
227
|
on_mount: [],
|
|
228
228
|
on_destroy: [],
|
|
@@ -231,7 +231,7 @@ function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
231
231
|
after_update: [],
|
|
232
232
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
233
233
|
// everything else
|
|
234
|
-
callbacks:
|
|
234
|
+
callbacks: lt(),
|
|
235
235
|
dirty: a,
|
|
236
236
|
skip_bound: !1,
|
|
237
237
|
root: t.target || l.$$.root
|
|
@@ -240,39 +240,39 @@ function Dr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
240
240
|
let c = !1;
|
|
241
241
|
if (u.ctx = r ? r(e, t.props || {}, (h, f, ...p) => {
|
|
242
242
|
const m = p.length ? p[0] : f;
|
|
243
|
-
return u.ctx && i(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), c &&
|
|
244
|
-
}) : [], u.update(), c = !0,
|
|
243
|
+
return u.ctx && i(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), c && Dr(e, h)), f;
|
|
244
|
+
}) : [], u.update(), c = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
245
245
|
if (t.hydrate) {
|
|
246
|
-
const h =
|
|
246
|
+
const h = Cr(t.target);
|
|
247
247
|
u.fragment && u.fragment.l(h), h.forEach(D);
|
|
248
248
|
} else
|
|
249
249
|
u.fragment && u.fragment.c();
|
|
250
|
-
t.intro && Ir(e.$$.fragment),
|
|
250
|
+
t.intro && Ir(e.$$.fragment), $r(e, t.target, t.anchor), U();
|
|
251
251
|
}
|
|
252
|
-
|
|
252
|
+
oe(l);
|
|
253
253
|
}
|
|
254
|
-
let
|
|
255
|
-
typeof HTMLElement == "function" && (
|
|
254
|
+
let Rt;
|
|
255
|
+
typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
|
|
256
256
|
constructor(t, r, n) {
|
|
257
257
|
super();
|
|
258
258
|
/** The Svelte component constructor */
|
|
259
|
-
|
|
259
|
+
N(this, "$$ctor");
|
|
260
260
|
/** Slots */
|
|
261
|
-
|
|
261
|
+
N(this, "$$s");
|
|
262
262
|
/** The Svelte component instance */
|
|
263
|
-
|
|
263
|
+
N(this, "$$c");
|
|
264
264
|
/** Whether or not the custom element is connected */
|
|
265
|
-
|
|
265
|
+
N(this, "$$cn", !1);
|
|
266
266
|
/** Component props data */
|
|
267
|
-
|
|
267
|
+
N(this, "$$d", {});
|
|
268
268
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
269
|
-
|
|
269
|
+
N(this, "$$r", !1);
|
|
270
270
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
271
|
-
|
|
271
|
+
N(this, "$$p_d", {});
|
|
272
272
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
273
|
-
|
|
273
|
+
N(this, "$$l", {});
|
|
274
274
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
275
|
-
|
|
275
|
+
N(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
276
276
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
277
277
|
}
|
|
278
278
|
addEventListener(t, r, n) {
|
|
@@ -289,14 +289,14 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
|
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
connectedCallback() {
|
|
292
|
-
return
|
|
292
|
+
return ut(this, null, function* () {
|
|
293
293
|
if (this.$$cn = !0, !this.$$c) {
|
|
294
294
|
let t = function(o) {
|
|
295
295
|
return () => {
|
|
296
296
|
let s;
|
|
297
297
|
return {
|
|
298
298
|
c: function() {
|
|
299
|
-
s = H("slot"), o !== "default" &&
|
|
299
|
+
s = H("slot"), o !== "default" && x(s, "name", o);
|
|
300
300
|
},
|
|
301
301
|
/**
|
|
302
302
|
* @param {HTMLElement} target
|
|
@@ -313,7 +313,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
|
|
|
313
313
|
};
|
|
314
314
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
315
315
|
return;
|
|
316
|
-
const r = {}, n =
|
|
316
|
+
const r = {}, n = Sr(this);
|
|
317
317
|
for (const o of this.$$s)
|
|
318
318
|
o in n && (r[o] = [t(o)]);
|
|
319
319
|
for (const o of this.attributes) {
|
|
@@ -324,7 +324,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
|
|
|
324
324
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
325
325
|
this.$$c = new this.$$ctor({
|
|
326
326
|
target: this.shadowRoot || this,
|
|
327
|
-
props:
|
|
327
|
+
props: at(st({}, this.$$d), {
|
|
328
328
|
$$slots: r,
|
|
329
329
|
$$scope: {
|
|
330
330
|
ctx: []
|
|
@@ -402,8 +402,8 @@ function de(e, t, r, n) {
|
|
|
402
402
|
return t;
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
|
-
function
|
|
406
|
-
let s = class extends
|
|
405
|
+
function Fr(e, t, r, n, i, o) {
|
|
406
|
+
let s = class extends Rt {
|
|
407
407
|
constructor() {
|
|
408
408
|
super(e, r, i), this.$$p_d = t;
|
|
409
409
|
}
|
|
@@ -433,7 +433,7 @@ function Ur(e, t, r, n, i, o) {
|
|
|
433
433
|
}), e.element = /** @type {any} */
|
|
434
434
|
s, s;
|
|
435
435
|
}
|
|
436
|
-
class
|
|
436
|
+
class Gr {
|
|
437
437
|
constructor() {
|
|
438
438
|
/**
|
|
439
439
|
* ### PRIVATE API
|
|
@@ -442,7 +442,7 @@ class Fr {
|
|
|
442
442
|
*
|
|
443
443
|
* @type {any}
|
|
444
444
|
*/
|
|
445
|
-
|
|
445
|
+
N(this, "$$");
|
|
446
446
|
/**
|
|
447
447
|
* ### PRIVATE API
|
|
448
448
|
*
|
|
@@ -450,11 +450,11 @@ class Fr {
|
|
|
450
450
|
*
|
|
451
451
|
* @type {any}
|
|
452
452
|
*/
|
|
453
|
-
|
|
453
|
+
N(this, "$$set");
|
|
454
454
|
}
|
|
455
455
|
/** @returns {void} */
|
|
456
456
|
$destroy() {
|
|
457
|
-
|
|
457
|
+
Rr(this, 1), this.$destroy = O;
|
|
458
458
|
}
|
|
459
459
|
/**
|
|
460
460
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -463,7 +463,7 @@ class Fr {
|
|
|
463
463
|
* @returns {() => void}
|
|
464
464
|
*/
|
|
465
465
|
$on(t, r) {
|
|
466
|
-
if (!
|
|
466
|
+
if (!tt(r))
|
|
467
467
|
return O;
|
|
468
468
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
469
469
|
return n.push(r), () => {
|
|
@@ -476,11 +476,11 @@ class Fr {
|
|
|
476
476
|
* @returns {void}
|
|
477
477
|
*/
|
|
478
478
|
$set(t) {
|
|
479
|
-
this.$$set && !
|
|
479
|
+
this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
|
-
const
|
|
483
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
482
|
+
const jr = "4";
|
|
483
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jr);
|
|
484
484
|
/*! *****************************************************************************
|
|
485
485
|
Copyright (c) Microsoft Corporation.
|
|
486
486
|
|
|
@@ -495,43 +495,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
495
495
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
496
496
|
PERFORMANCE OF THIS SOFTWARE.
|
|
497
497
|
***************************************************************************** */
|
|
498
|
-
var
|
|
499
|
-
return
|
|
498
|
+
var Fe = function(e, t) {
|
|
499
|
+
return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
500
500
|
r.__proto__ = n;
|
|
501
501
|
} || function(r, n) {
|
|
502
502
|
for (var i in n)
|
|
503
503
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
504
|
-
},
|
|
504
|
+
}, Fe(e, t);
|
|
505
505
|
};
|
|
506
|
-
function
|
|
506
|
+
function le(e, t) {
|
|
507
507
|
if (typeof t != "function" && t !== null)
|
|
508
508
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
509
|
-
|
|
509
|
+
Fe(e, t);
|
|
510
510
|
function r() {
|
|
511
511
|
this.constructor = e;
|
|
512
512
|
}
|
|
513
513
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
514
514
|
}
|
|
515
|
-
|
|
516
|
-
return y = Object.assign || function(t) {
|
|
517
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
518
|
-
r = arguments[n];
|
|
519
|
-
for (var o in r)
|
|
520
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
521
|
-
}
|
|
522
|
-
return t;
|
|
523
|
-
}, y.apply(this, arguments);
|
|
524
|
-
};
|
|
525
|
-
function jr(e, t) {
|
|
526
|
-
var r = {};
|
|
527
|
-
for (var n in e)
|
|
528
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
529
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
530
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
531
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
532
|
-
return r;
|
|
533
|
-
}
|
|
534
|
-
function Ue(e) {
|
|
515
|
+
function Ge(e) {
|
|
535
516
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
536
517
|
if (r)
|
|
537
518
|
return r.call(e);
|
|
@@ -543,7 +524,7 @@ function Ue(e) {
|
|
|
543
524
|
};
|
|
544
525
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
545
526
|
}
|
|
546
|
-
function
|
|
527
|
+
function je(e, t) {
|
|
547
528
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
548
529
|
if (!r)
|
|
549
530
|
return e;
|
|
@@ -563,22 +544,22 @@ function Fe(e, t) {
|
|
|
563
544
|
}
|
|
564
545
|
return o;
|
|
565
546
|
}
|
|
566
|
-
function
|
|
567
|
-
if (
|
|
547
|
+
function ke(e, t, r) {
|
|
548
|
+
if (arguments.length === 2)
|
|
568
549
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
569
550
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
570
551
|
return e.concat(o || t);
|
|
571
552
|
}
|
|
572
|
-
function
|
|
553
|
+
function L(e) {
|
|
573
554
|
return typeof e == "function";
|
|
574
555
|
}
|
|
575
|
-
function
|
|
556
|
+
function Dt(e) {
|
|
576
557
|
var t = function(n) {
|
|
577
558
|
Error.call(n), n.stack = new Error().stack;
|
|
578
559
|
}, r = e(t);
|
|
579
560
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
580
561
|
}
|
|
581
|
-
var
|
|
562
|
+
var Me = Dt(function(e) {
|
|
582
563
|
return function(r) {
|
|
583
564
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
584
565
|
` + r.map(function(n, i) {
|
|
@@ -587,7 +568,7 @@ var He = $t(function(e) {
|
|
|
587
568
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
588
569
|
};
|
|
589
570
|
});
|
|
590
|
-
function
|
|
571
|
+
function We(e, t) {
|
|
591
572
|
if (e) {
|
|
592
573
|
var r = e.indexOf(t);
|
|
593
574
|
0 <= r && e.splice(r, 1);
|
|
@@ -605,7 +586,7 @@ var Ee = function() {
|
|
|
605
586
|
if (s)
|
|
606
587
|
if (this._parentage = null, Array.isArray(s))
|
|
607
588
|
try {
|
|
608
|
-
for (var a =
|
|
589
|
+
for (var a = Ge(s), l = a.next(); !l.done; l = a.next()) {
|
|
609
590
|
var u = l.value;
|
|
610
591
|
u.remove(this);
|
|
611
592
|
}
|
|
@@ -622,22 +603,22 @@ var Ee = function() {
|
|
|
622
603
|
else
|
|
623
604
|
s.remove(this);
|
|
624
605
|
var c = this.initialTeardown;
|
|
625
|
-
if (
|
|
606
|
+
if (L(c))
|
|
626
607
|
try {
|
|
627
608
|
c();
|
|
628
609
|
} catch (d) {
|
|
629
|
-
o = d instanceof
|
|
610
|
+
o = d instanceof Me ? d.errors : [d];
|
|
630
611
|
}
|
|
631
612
|
var h = this._finalizers;
|
|
632
613
|
if (h) {
|
|
633
614
|
this._finalizers = null;
|
|
634
615
|
try {
|
|
635
|
-
for (var f =
|
|
616
|
+
for (var f = Ge(h), p = f.next(); !p.done; p = f.next()) {
|
|
636
617
|
var m = p.value;
|
|
637
618
|
try {
|
|
638
|
-
|
|
619
|
+
ht(m);
|
|
639
620
|
} catch (d) {
|
|
640
|
-
o = o != null ? o : [], d instanceof
|
|
621
|
+
o = o != null ? o : [], d instanceof Me ? o = ke(ke([], je(o)), je(d.errors)) : o.push(d);
|
|
641
622
|
}
|
|
642
623
|
}
|
|
643
624
|
} catch (d) {
|
|
@@ -652,13 +633,13 @@ var Ee = function() {
|
|
|
652
633
|
}
|
|
653
634
|
}
|
|
654
635
|
if (o)
|
|
655
|
-
throw new
|
|
636
|
+
throw new Me(o);
|
|
656
637
|
}
|
|
657
638
|
}, e.prototype.add = function(t) {
|
|
658
639
|
var r;
|
|
659
640
|
if (t && t !== this)
|
|
660
641
|
if (this.closed)
|
|
661
|
-
|
|
642
|
+
ht(t);
|
|
662
643
|
else {
|
|
663
644
|
if (t instanceof e) {
|
|
664
645
|
if (t.closed || t._hasParent(this))
|
|
@@ -675,32 +656,28 @@ var Ee = function() {
|
|
|
675
656
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
676
657
|
}, e.prototype._removeParent = function(t) {
|
|
677
658
|
var r = this._parentage;
|
|
678
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
659
|
+
r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
|
|
679
660
|
}, e.prototype.remove = function(t) {
|
|
680
661
|
var r = this._finalizers;
|
|
681
|
-
r &&
|
|
662
|
+
r && We(r, t), t instanceof e && t._removeParent(this);
|
|
682
663
|
}, e.EMPTY = function() {
|
|
683
664
|
var t = new e();
|
|
684
665
|
return t.closed = !0, t;
|
|
685
666
|
}(), e;
|
|
686
|
-
}(),
|
|
687
|
-
function
|
|
688
|
-
return e instanceof Ee || e && "closed" in e &&
|
|
689
|
-
}
|
|
690
|
-
function
|
|
691
|
-
|
|
692
|
-
}
|
|
693
|
-
var
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
Promise: void 0,
|
|
697
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
698
|
-
useDeprecatedNextContext: !1
|
|
699
|
-
}, kr = {
|
|
667
|
+
}(), Ut = Ee.EMPTY;
|
|
668
|
+
function Ft(e) {
|
|
669
|
+
return e instanceof Ee || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
|
|
670
|
+
}
|
|
671
|
+
function ht(e) {
|
|
672
|
+
L(e) ? e() : e.unsubscribe();
|
|
673
|
+
}
|
|
674
|
+
var kr = {
|
|
675
|
+
Promise: void 0
|
|
676
|
+
}, Wr = {
|
|
700
677
|
setTimeout: function(e, t) {
|
|
701
678
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
702
679
|
r[n - 2] = arguments[n];
|
|
703
|
-
return setTimeout.apply(void 0,
|
|
680
|
+
return setTimeout.apply(void 0, ke([e, t], je(r)));
|
|
704
681
|
},
|
|
705
682
|
clearTimeout: function(e) {
|
|
706
683
|
return clearTimeout(e);
|
|
@@ -708,23 +685,23 @@ var Ut = {
|
|
|
708
685
|
delegate: void 0
|
|
709
686
|
};
|
|
710
687
|
function zr(e) {
|
|
711
|
-
|
|
688
|
+
Wr.setTimeout(function() {
|
|
712
689
|
throw e;
|
|
713
690
|
});
|
|
714
691
|
}
|
|
715
|
-
function
|
|
692
|
+
function ft() {
|
|
716
693
|
}
|
|
717
694
|
function me(e) {
|
|
718
695
|
e();
|
|
719
696
|
}
|
|
720
|
-
var
|
|
721
|
-
|
|
697
|
+
var Gt = function(e) {
|
|
698
|
+
le(t, e);
|
|
722
699
|
function t(r) {
|
|
723
700
|
var n = e.call(this) || this;
|
|
724
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
701
|
+
return n.isStopped = !1, r ? (n.destination = r, Ft(r) && r.add(n)) : n.destination = Zr, n;
|
|
725
702
|
}
|
|
726
703
|
return t.create = function(r, n, i) {
|
|
727
|
-
return new
|
|
704
|
+
return new ze(r, n, i);
|
|
728
705
|
}, t.prototype.next = function(r) {
|
|
729
706
|
this.isStopped || this._next(r);
|
|
730
707
|
}, t.prototype.error = function(r) {
|
|
@@ -748,11 +725,7 @@ var Ft = function(e) {
|
|
|
748
725
|
this.unsubscribe();
|
|
749
726
|
}
|
|
750
727
|
}, t;
|
|
751
|
-
}(Ee),
|
|
752
|
-
function Be(e, t) {
|
|
753
|
-
return Wr.call(e, t);
|
|
754
|
-
}
|
|
755
|
-
var Vr = function() {
|
|
728
|
+
}(Ee), Vr = function() {
|
|
756
729
|
function e(t) {
|
|
757
730
|
this.partialObserver = t;
|
|
758
731
|
}
|
|
@@ -783,30 +756,18 @@ var Vr = function() {
|
|
|
783
756
|
fe(r);
|
|
784
757
|
}
|
|
785
758
|
}, e;
|
|
786
|
-
}(),
|
|
787
|
-
|
|
759
|
+
}(), ze = function(e) {
|
|
760
|
+
le(t, e);
|
|
788
761
|
function t(r, n, i) {
|
|
789
762
|
var o = e.call(this) || this, s;
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
};
|
|
796
|
-
else {
|
|
797
|
-
var a;
|
|
798
|
-
o && Ut.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
799
|
-
return o.unsubscribe();
|
|
800
|
-
}, s = {
|
|
801
|
-
next: r.next && Be(r.next, a),
|
|
802
|
-
error: r.error && Be(r.error, a),
|
|
803
|
-
complete: r.complete && Be(r.complete, a)
|
|
804
|
-
}) : s = r;
|
|
805
|
-
}
|
|
806
|
-
return o.destination = new Vr(s), o;
|
|
763
|
+
return L(r) || !r ? s = {
|
|
764
|
+
next: r != null ? r : void 0,
|
|
765
|
+
error: n != null ? n : void 0,
|
|
766
|
+
complete: i != null ? i : void 0
|
|
767
|
+
} : s = r, o.destination = new Vr(s), o;
|
|
807
768
|
}
|
|
808
769
|
return t;
|
|
809
|
-
}(
|
|
770
|
+
}(Gt);
|
|
810
771
|
function fe(e) {
|
|
811
772
|
zr(e);
|
|
812
773
|
}
|
|
@@ -815,9 +776,9 @@ function Xr(e) {
|
|
|
815
776
|
}
|
|
816
777
|
var Zr = {
|
|
817
778
|
closed: !0,
|
|
818
|
-
next:
|
|
779
|
+
next: ft,
|
|
819
780
|
error: Xr,
|
|
820
|
-
complete:
|
|
781
|
+
complete: ft
|
|
821
782
|
}, qr = function() {
|
|
822
783
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
823
784
|
}();
|
|
@@ -831,7 +792,7 @@ function Yr(e) {
|
|
|
831
792
|
}, r);
|
|
832
793
|
};
|
|
833
794
|
}
|
|
834
|
-
var
|
|
795
|
+
var pt = function() {
|
|
835
796
|
function e(t) {
|
|
836
797
|
t && (this._subscribe = t);
|
|
837
798
|
}
|
|
@@ -839,7 +800,7 @@ var ht = function() {
|
|
|
839
800
|
var r = new e();
|
|
840
801
|
return r.source = this, r.operator = t, r;
|
|
841
802
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
842
|
-
var i = this, o = Kr(t) ? t : new
|
|
803
|
+
var i = this, o = Kr(t) ? t : new ze(t, r, n);
|
|
843
804
|
return me(function() {
|
|
844
805
|
var s = i, a = s.operator, l = s.source;
|
|
845
806
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -852,8 +813,8 @@ var ht = function() {
|
|
|
852
813
|
}
|
|
853
814
|
}, e.prototype.forEach = function(t, r) {
|
|
854
815
|
var n = this;
|
|
855
|
-
return r =
|
|
856
|
-
var s = new
|
|
816
|
+
return r = dt(r), new r(function(i, o) {
|
|
817
|
+
var s = new ze({
|
|
857
818
|
next: function(a) {
|
|
858
819
|
try {
|
|
859
820
|
t(a);
|
|
@@ -877,7 +838,7 @@ var ht = function() {
|
|
|
877
838
|
return Yr(t)(this);
|
|
878
839
|
}, e.prototype.toPromise = function(t) {
|
|
879
840
|
var r = this;
|
|
880
|
-
return t =
|
|
841
|
+
return t = dt(t), new t(function(n, i) {
|
|
881
842
|
var o;
|
|
882
843
|
r.subscribe(function(s) {
|
|
883
844
|
return o = s;
|
|
@@ -891,28 +852,28 @@ var ht = function() {
|
|
|
891
852
|
return new e(t);
|
|
892
853
|
}, e;
|
|
893
854
|
}();
|
|
894
|
-
function
|
|
855
|
+
function dt(e) {
|
|
895
856
|
var t;
|
|
896
|
-
return (t = e != null ? e :
|
|
857
|
+
return (t = e != null ? e : kr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
897
858
|
}
|
|
898
859
|
function Jr(e) {
|
|
899
|
-
return e &&
|
|
860
|
+
return e && L(e.next) && L(e.error) && L(e.complete);
|
|
900
861
|
}
|
|
901
862
|
function Kr(e) {
|
|
902
|
-
return e && e instanceof
|
|
863
|
+
return e && e instanceof Gt || Jr(e) && Ft(e);
|
|
903
864
|
}
|
|
904
|
-
var en =
|
|
865
|
+
var en = Dt(function(e) {
|
|
905
866
|
return function() {
|
|
906
867
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
907
868
|
};
|
|
908
|
-
}),
|
|
909
|
-
|
|
869
|
+
}), jt = function(e) {
|
|
870
|
+
le(t, e);
|
|
910
871
|
function t() {
|
|
911
872
|
var r = e.call(this) || this;
|
|
912
873
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
913
874
|
}
|
|
914
875
|
return t.prototype.lift = function(r) {
|
|
915
|
-
var n = new
|
|
876
|
+
var n = new mt(this, this);
|
|
916
877
|
return n.operator = r, n;
|
|
917
878
|
}, t.prototype._throwIfClosed = function() {
|
|
918
879
|
if (this.closed)
|
|
@@ -924,7 +885,7 @@ var en = $t(function(e) {
|
|
|
924
885
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
925
886
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
926
887
|
try {
|
|
927
|
-
for (var s =
|
|
888
|
+
for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
928
889
|
var l = a.value;
|
|
929
890
|
l.next(r);
|
|
930
891
|
}
|
|
@@ -973,20 +934,20 @@ var en = $t(function(e) {
|
|
|
973
934
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
974
935
|
}, t.prototype._innerSubscribe = function(r) {
|
|
975
936
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
976
|
-
return o || s ?
|
|
977
|
-
n.currentObservers = null,
|
|
937
|
+
return o || s ? Ut : (this.currentObservers = null, a.push(r), new Ee(function() {
|
|
938
|
+
n.currentObservers = null, We(a, r);
|
|
978
939
|
}));
|
|
979
940
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
980
941
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
981
942
|
i ? r.error(o) : s && r.complete();
|
|
982
943
|
}, t.prototype.asObservable = function() {
|
|
983
|
-
var r = new
|
|
944
|
+
var r = new pt();
|
|
984
945
|
return r.source = this, r;
|
|
985
946
|
}, t.create = function(r, n) {
|
|
986
|
-
return new
|
|
947
|
+
return new mt(r, n);
|
|
987
948
|
}, t;
|
|
988
|
-
}(
|
|
989
|
-
|
|
949
|
+
}(pt), mt = function(e) {
|
|
950
|
+
le(t, e);
|
|
990
951
|
function t(r, n) {
|
|
991
952
|
var i = e.call(this) || this;
|
|
992
953
|
return i.destination = r, i.source = n, i;
|
|
@@ -1002,17 +963,17 @@ var en = $t(function(e) {
|
|
|
1002
963
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1003
964
|
}, t.prototype._subscribe = function(r) {
|
|
1004
965
|
var n, i;
|
|
1005
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
966
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ut;
|
|
1006
967
|
}, t;
|
|
1007
|
-
}(
|
|
968
|
+
}(jt), kt = {
|
|
1008
969
|
now: function() {
|
|
1009
|
-
return (
|
|
970
|
+
return (kt.delegate || Date).now();
|
|
1010
971
|
},
|
|
1011
972
|
delegate: void 0
|
|
1012
973
|
}, tn = function(e) {
|
|
1013
|
-
|
|
974
|
+
le(t, e);
|
|
1014
975
|
function t(r, n, i) {
|
|
1015
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
976
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kt);
|
|
1016
977
|
var o = e.call(this) || this;
|
|
1017
978
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1018
979
|
}
|
|
@@ -1032,24 +993,24 @@ var en = $t(function(e) {
|
|
|
1032
993
|
u && o.splice(0, u + 1);
|
|
1033
994
|
}
|
|
1034
995
|
}, t;
|
|
1035
|
-
}(
|
|
1036
|
-
const
|
|
1037
|
-
if (
|
|
996
|
+
}(jt);
|
|
997
|
+
const bt = [], vt = {}, rn = (e, t = 0) => {
|
|
998
|
+
if (bt.indexOf(e) == -1) {
|
|
1038
999
|
const r = new tn(t);
|
|
1039
|
-
|
|
1000
|
+
vt[e] = r, bt.push(e);
|
|
1040
1001
|
}
|
|
1041
|
-
return
|
|
1002
|
+
return vt[e];
|
|
1042
1003
|
}, V = [];
|
|
1043
1004
|
function nn(e, t) {
|
|
1044
1005
|
return {
|
|
1045
|
-
subscribe:
|
|
1006
|
+
subscribe: we(e, t).subscribe
|
|
1046
1007
|
};
|
|
1047
1008
|
}
|
|
1048
|
-
function
|
|
1009
|
+
function we(e, t = O) {
|
|
1049
1010
|
let r;
|
|
1050
1011
|
const n = /* @__PURE__ */ new Set();
|
|
1051
1012
|
function i(a) {
|
|
1052
|
-
if (
|
|
1013
|
+
if (Lt(e, a) && (e = a, r)) {
|
|
1053
1014
|
const l = !V.length;
|
|
1054
1015
|
for (const u of n)
|
|
1055
1016
|
u[1](), V.push(u, e);
|
|
@@ -1071,7 +1032,7 @@ function _e(e, t = O) {
|
|
|
1071
1032
|
}
|
|
1072
1033
|
return { set: i, update: o, subscribe: s };
|
|
1073
1034
|
}
|
|
1074
|
-
function
|
|
1035
|
+
function te(e, t, r) {
|
|
1075
1036
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1076
1037
|
if (!i.every(Boolean))
|
|
1077
1038
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1085,9 +1046,9 @@ function re(e, t, r) {
|
|
|
1085
1046
|
return;
|
|
1086
1047
|
h();
|
|
1087
1048
|
const m = t(n ? u[0] : u, s, a);
|
|
1088
|
-
o ? s(m) : h =
|
|
1049
|
+
o ? s(m) : h = tt(m) ? m : O;
|
|
1089
1050
|
}, p = i.map(
|
|
1090
|
-
(m, d) =>
|
|
1051
|
+
(m, d) => $t(
|
|
1091
1052
|
m,
|
|
1092
1053
|
(_) => {
|
|
1093
1054
|
u[d] = _, c &= ~(1 << d), l && f();
|
|
@@ -1098,7 +1059,7 @@ function re(e, t, r) {
|
|
|
1098
1059
|
)
|
|
1099
1060
|
);
|
|
1100
1061
|
return l = !0, f(), function() {
|
|
1101
|
-
|
|
1062
|
+
ee(p), h(), l = !1;
|
|
1102
1063
|
};
|
|
1103
1064
|
});
|
|
1104
1065
|
}
|
|
@@ -1122,29 +1083,29 @@ function hn(e) {
|
|
|
1122
1083
|
function fn(e) {
|
|
1123
1084
|
return Array.isArray(e) ? [] : {};
|
|
1124
1085
|
}
|
|
1125
|
-
function
|
|
1126
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1086
|
+
function ae(e, t) {
|
|
1087
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q(fn(e), e, t) : e;
|
|
1127
1088
|
}
|
|
1128
1089
|
function pn(e, t, r) {
|
|
1129
1090
|
return e.concat(t).map(function(n) {
|
|
1130
|
-
return
|
|
1091
|
+
return ae(n, r);
|
|
1131
1092
|
});
|
|
1132
1093
|
}
|
|
1133
1094
|
function dn(e, t) {
|
|
1134
1095
|
if (!t.customMerge)
|
|
1135
|
-
return
|
|
1096
|
+
return Q;
|
|
1136
1097
|
var r = t.customMerge(e);
|
|
1137
|
-
return typeof r == "function" ? r :
|
|
1098
|
+
return typeof r == "function" ? r : Q;
|
|
1138
1099
|
}
|
|
1139
1100
|
function mn(e) {
|
|
1140
1101
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1141
1102
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1142
1103
|
}) : [];
|
|
1143
1104
|
}
|
|
1144
|
-
function
|
|
1105
|
+
function gt(e) {
|
|
1145
1106
|
return Object.keys(e).concat(mn(e));
|
|
1146
1107
|
}
|
|
1147
|
-
function
|
|
1108
|
+
function Wt(e, t) {
|
|
1148
1109
|
try {
|
|
1149
1110
|
return t in e;
|
|
1150
1111
|
} catch (r) {
|
|
@@ -1152,32 +1113,74 @@ function kt(e, t) {
|
|
|
1152
1113
|
}
|
|
1153
1114
|
}
|
|
1154
1115
|
function bn(e, t) {
|
|
1155
|
-
return
|
|
1116
|
+
return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1156
1117
|
}
|
|
1157
1118
|
function vn(e, t, r) {
|
|
1158
1119
|
var n = {};
|
|
1159
|
-
return r.isMergeableObject(e) &&
|
|
1160
|
-
n[i] =
|
|
1161
|
-
}),
|
|
1162
|
-
bn(e, i) || (
|
|
1120
|
+
return r.isMergeableObject(e) && gt(e).forEach(function(i) {
|
|
1121
|
+
n[i] = ae(e[i], r);
|
|
1122
|
+
}), gt(t).forEach(function(i) {
|
|
1123
|
+
bn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
|
|
1163
1124
|
}), n;
|
|
1164
1125
|
}
|
|
1165
|
-
function
|
|
1166
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified =
|
|
1126
|
+
function Q(e, t, r) {
|
|
1127
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = ae;
|
|
1167
1128
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1168
|
-
return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) :
|
|
1129
|
+
return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : ae(t, r);
|
|
1169
1130
|
}
|
|
1170
|
-
|
|
1131
|
+
Q.all = function(t, r) {
|
|
1171
1132
|
if (!Array.isArray(t))
|
|
1172
1133
|
throw new Error("first argument should be an array");
|
|
1173
1134
|
return t.reduce(function(n, i) {
|
|
1174
|
-
return
|
|
1135
|
+
return Q(n, i, r);
|
|
1175
1136
|
}, {});
|
|
1176
1137
|
};
|
|
1177
|
-
var gn =
|
|
1138
|
+
var gn = Q, yn = gn;
|
|
1178
1139
|
const xn = /* @__PURE__ */ on(yn);
|
|
1179
|
-
function
|
|
1180
|
-
|
|
1140
|
+
var Ve = function(e, t) {
|
|
1141
|
+
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1142
|
+
r.__proto__ = n;
|
|
1143
|
+
} || function(r, n) {
|
|
1144
|
+
for (var i in n)
|
|
1145
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1146
|
+
}, Ve(e, t);
|
|
1147
|
+
};
|
|
1148
|
+
function Ae(e, t) {
|
|
1149
|
+
if (typeof t != "function" && t !== null)
|
|
1150
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1151
|
+
Ve(e, t);
|
|
1152
|
+
function r() {
|
|
1153
|
+
this.constructor = e;
|
|
1154
|
+
}
|
|
1155
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1156
|
+
}
|
|
1157
|
+
var I = function() {
|
|
1158
|
+
return I = Object.assign || function(t) {
|
|
1159
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1160
|
+
r = arguments[n];
|
|
1161
|
+
for (var o in r)
|
|
1162
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1163
|
+
}
|
|
1164
|
+
return t;
|
|
1165
|
+
}, I.apply(this, arguments);
|
|
1166
|
+
};
|
|
1167
|
+
function _n(e, t) {
|
|
1168
|
+
var r = {};
|
|
1169
|
+
for (var n in e)
|
|
1170
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1171
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1172
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1173
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1174
|
+
return r;
|
|
1175
|
+
}
|
|
1176
|
+
function Pe(e, t, r) {
|
|
1177
|
+
if (r || arguments.length === 2)
|
|
1178
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1179
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1180
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1181
|
+
}
|
|
1182
|
+
function Oe(e, t) {
|
|
1183
|
+
var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : An;
|
|
1181
1184
|
return i(e, {
|
|
1182
1185
|
cache: r,
|
|
1183
1186
|
serializer: n
|
|
@@ -1186,95 +1189,103 @@ function Me(e, t) {
|
|
|
1186
1189
|
function En(e) {
|
|
1187
1190
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1188
1191
|
}
|
|
1189
|
-
function
|
|
1192
|
+
function wn(e, t, r, n) {
|
|
1190
1193
|
var i = En(n) ? n : r(n), o = t.get(i);
|
|
1191
1194
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1192
1195
|
}
|
|
1193
|
-
function
|
|
1196
|
+
function zt(e, t, r) {
|
|
1194
1197
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1195
1198
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1196
1199
|
}
|
|
1197
|
-
function
|
|
1200
|
+
function Vt(e, t, r, n, i) {
|
|
1198
1201
|
return r.bind(t, e, n, i);
|
|
1199
1202
|
}
|
|
1200
|
-
function
|
|
1201
|
-
var r = e.length === 1 ?
|
|
1202
|
-
return
|
|
1203
|
+
function An(e, t) {
|
|
1204
|
+
var r = e.length === 1 ? wn : zt;
|
|
1205
|
+
return Vt(e, this, r, t.cache.create(), t.serializer);
|
|
1203
1206
|
}
|
|
1204
1207
|
function Cn(e, t) {
|
|
1205
|
-
return
|
|
1208
|
+
return Vt(e, this, zt, t.cache.create(), t.serializer);
|
|
1206
1209
|
}
|
|
1207
|
-
function
|
|
1208
|
-
return Je(e, this, zt, t.cache.create(), t.serializer);
|
|
1209
|
-
}
|
|
1210
|
-
var wn = function() {
|
|
1210
|
+
var Sn = function() {
|
|
1211
1211
|
return JSON.stringify(arguments);
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1212
|
+
}, Tn = (
|
|
1213
|
+
/** @class */
|
|
1214
|
+
function() {
|
|
1215
|
+
function e() {
|
|
1216
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1217
|
+
}
|
|
1218
|
+
return e.prototype.get = function(t) {
|
|
1219
|
+
return this.cache[t];
|
|
1220
|
+
}, e.prototype.set = function(t, r) {
|
|
1221
|
+
this.cache[t] = r;
|
|
1222
|
+
}, e;
|
|
1223
|
+
}()
|
|
1224
|
+
), Hn = {
|
|
1223
1225
|
create: function() {
|
|
1224
|
-
return new
|
|
1226
|
+
return new Tn();
|
|
1225
1227
|
}
|
|
1226
|
-
},
|
|
1227
|
-
variadic: Cn
|
|
1228
|
-
|
|
1229
|
-
|
|
1228
|
+
}, Ne = {
|
|
1229
|
+
variadic: Cn
|
|
1230
|
+
}, ye = function() {
|
|
1231
|
+
return ye = Object.assign || function(t) {
|
|
1232
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1233
|
+
r = arguments[n];
|
|
1234
|
+
for (var o in r)
|
|
1235
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1236
|
+
}
|
|
1237
|
+
return t;
|
|
1238
|
+
}, ye.apply(this, arguments);
|
|
1239
|
+
};
|
|
1240
|
+
var b;
|
|
1230
1241
|
(function(e) {
|
|
1231
1242
|
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";
|
|
1232
1243
|
})(b || (b = {}));
|
|
1233
|
-
var
|
|
1244
|
+
var w;
|
|
1234
1245
|
(function(e) {
|
|
1235
1246
|
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";
|
|
1236
|
-
})(
|
|
1237
|
-
var
|
|
1247
|
+
})(w || (w = {}));
|
|
1248
|
+
var Y;
|
|
1238
1249
|
(function(e) {
|
|
1239
1250
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1240
|
-
})(
|
|
1241
|
-
function
|
|
1242
|
-
return e.type ===
|
|
1243
|
-
}
|
|
1244
|
-
function Tn(e) {
|
|
1245
|
-
return e.type === A.argument;
|
|
1251
|
+
})(Y || (Y = {}));
|
|
1252
|
+
function yt(e) {
|
|
1253
|
+
return e.type === w.literal;
|
|
1246
1254
|
}
|
|
1247
|
-
function
|
|
1248
|
-
return e.type ===
|
|
1255
|
+
function Bn(e) {
|
|
1256
|
+
return e.type === w.argument;
|
|
1249
1257
|
}
|
|
1250
1258
|
function Xt(e) {
|
|
1251
|
-
return e.type ===
|
|
1259
|
+
return e.type === w.number;
|
|
1252
1260
|
}
|
|
1253
1261
|
function Zt(e) {
|
|
1254
|
-
return e.type ===
|
|
1262
|
+
return e.type === w.date;
|
|
1255
1263
|
}
|
|
1256
1264
|
function qt(e) {
|
|
1257
|
-
return e.type ===
|
|
1265
|
+
return e.type === w.time;
|
|
1258
1266
|
}
|
|
1259
1267
|
function Qt(e) {
|
|
1260
|
-
return e.type ===
|
|
1261
|
-
}
|
|
1262
|
-
function Hn(e) {
|
|
1263
|
-
return e.type === A.pound;
|
|
1268
|
+
return e.type === w.select;
|
|
1264
1269
|
}
|
|
1265
1270
|
function Yt(e) {
|
|
1266
|
-
return e.type ===
|
|
1271
|
+
return e.type === w.plural;
|
|
1272
|
+
}
|
|
1273
|
+
function Mn(e) {
|
|
1274
|
+
return e.type === w.pound;
|
|
1267
1275
|
}
|
|
1268
1276
|
function Jt(e) {
|
|
1269
|
-
return
|
|
1277
|
+
return e.type === w.tag;
|
|
1270
1278
|
}
|
|
1271
|
-
function
|
|
1272
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1279
|
+
function Kt(e) {
|
|
1280
|
+
return !!(e && typeof e == "object" && e.type === Y.number);
|
|
1273
1281
|
}
|
|
1274
|
-
|
|
1275
|
-
|
|
1282
|
+
function Xe(e) {
|
|
1283
|
+
return !!(e && typeof e == "object" && e.type === Y.dateTime);
|
|
1284
|
+
}
|
|
1285
|
+
var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
|
|
1286
|
+
function On(e) {
|
|
1276
1287
|
var t = {};
|
|
1277
|
-
return e.replace(
|
|
1288
|
+
return e.replace(Pn, function(r) {
|
|
1278
1289
|
var n = r.length;
|
|
1279
1290
|
switch (r[0]) {
|
|
1280
1291
|
case "G":
|
|
@@ -1363,11 +1374,21 @@ function Mn(e) {
|
|
|
1363
1374
|
return "";
|
|
1364
1375
|
}), t;
|
|
1365
1376
|
}
|
|
1366
|
-
var
|
|
1367
|
-
function
|
|
1377
|
+
var S = function() {
|
|
1378
|
+
return S = Object.assign || function(t) {
|
|
1379
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1380
|
+
r = arguments[n];
|
|
1381
|
+
for (var o in r)
|
|
1382
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1383
|
+
}
|
|
1384
|
+
return t;
|
|
1385
|
+
}, S.apply(this, arguments);
|
|
1386
|
+
};
|
|
1387
|
+
var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1388
|
+
function In(e) {
|
|
1368
1389
|
if (e.length === 0)
|
|
1369
1390
|
throw new Error("Number skeleton cannot be empty");
|
|
1370
|
-
for (var t = e.split(
|
|
1391
|
+
for (var t = e.split(Nn).filter(function(f) {
|
|
1371
1392
|
return f.length > 0;
|
|
1372
1393
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1373
1394
|
var o = i[n], s = o.split("/");
|
|
@@ -1382,17 +1403,17 @@ function On(e) {
|
|
|
1382
1403
|
}
|
|
1383
1404
|
return r;
|
|
1384
1405
|
}
|
|
1385
|
-
function
|
|
1406
|
+
function Ln(e) {
|
|
1386
1407
|
return e.replace(/^(.*?)-/, "");
|
|
1387
1408
|
}
|
|
1388
|
-
var
|
|
1389
|
-
function
|
|
1409
|
+
var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
|
|
1410
|
+
function _t(e) {
|
|
1390
1411
|
var t = {};
|
|
1391
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1412
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
|
|
1392
1413
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1393
1414
|
}), t;
|
|
1394
1415
|
}
|
|
1395
|
-
function
|
|
1416
|
+
function nr(e) {
|
|
1396
1417
|
switch (e) {
|
|
1397
1418
|
case "sign-auto":
|
|
1398
1419
|
return {
|
|
@@ -1432,7 +1453,7 @@ function rr(e) {
|
|
|
1432
1453
|
};
|
|
1433
1454
|
}
|
|
1434
1455
|
}
|
|
1435
|
-
function
|
|
1456
|
+
function Rn(e) {
|
|
1436
1457
|
var t;
|
|
1437
1458
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1438
1459
|
notation: "engineering"
|
|
@@ -1440,17 +1461,17 @@ function Ln(e) {
|
|
|
1440
1461
|
notation: "scientific"
|
|
1441
1462
|
}, e = e.slice(1)), t) {
|
|
1442
1463
|
var r = e.slice(0, 2);
|
|
1443
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1464
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
|
|
1444
1465
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1445
1466
|
t.minimumIntegerDigits = e.length;
|
|
1446
1467
|
}
|
|
1447
1468
|
return t;
|
|
1448
1469
|
}
|
|
1449
|
-
function
|
|
1450
|
-
var t = {}, r =
|
|
1470
|
+
function Et(e) {
|
|
1471
|
+
var t = {}, r = nr(e);
|
|
1451
1472
|
return r || t;
|
|
1452
1473
|
}
|
|
1453
|
-
function
|
|
1474
|
+
function Dn(e) {
|
|
1454
1475
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1455
1476
|
var i = n[r];
|
|
1456
1477
|
switch (i.stem) {
|
|
@@ -1474,7 +1495,7 @@ function $n(e) {
|
|
|
1474
1495
|
continue;
|
|
1475
1496
|
case "measure-unit":
|
|
1476
1497
|
case "unit":
|
|
1477
|
-
t.style = "unit", t.unit =
|
|
1498
|
+
t.style = "unit", t.unit = Ln(i.options[0]);
|
|
1478
1499
|
continue;
|
|
1479
1500
|
case "compact-short":
|
|
1480
1501
|
case "K":
|
|
@@ -1485,13 +1506,13 @@ function $n(e) {
|
|
|
1485
1506
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1486
1507
|
continue;
|
|
1487
1508
|
case "scientific":
|
|
1488
|
-
t =
|
|
1489
|
-
return
|
|
1509
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1510
|
+
return S(S({}, l), Et(u));
|
|
1490
1511
|
}, {}));
|
|
1491
1512
|
continue;
|
|
1492
1513
|
case "engineering":
|
|
1493
|
-
t =
|
|
1494
|
-
return
|
|
1514
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1515
|
+
return S(S({}, l), Et(u));
|
|
1495
1516
|
}, {}));
|
|
1496
1517
|
continue;
|
|
1497
1518
|
case "notation-simple":
|
|
@@ -1536,7 +1557,7 @@ function $n(e) {
|
|
|
1536
1557
|
case "integer-width":
|
|
1537
1558
|
if (i.options.length > 1)
|
|
1538
1559
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1539
|
-
i.options[0].replace(
|
|
1560
|
+
i.options[0].replace($n, function(l, u, c, h, f, p) {
|
|
1540
1561
|
if (u)
|
|
1541
1562
|
t.minimumIntegerDigits = c.length;
|
|
1542
1563
|
else {
|
|
@@ -1549,28 +1570,28 @@ function $n(e) {
|
|
|
1549
1570
|
});
|
|
1550
1571
|
continue;
|
|
1551
1572
|
}
|
|
1552
|
-
if (
|
|
1573
|
+
if (rr.test(i.stem)) {
|
|
1553
1574
|
t.minimumIntegerDigits = i.stem.length;
|
|
1554
1575
|
continue;
|
|
1555
1576
|
}
|
|
1556
|
-
if (
|
|
1577
|
+
if (xt.test(i.stem)) {
|
|
1557
1578
|
if (i.options.length > 1)
|
|
1558
1579
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1559
|
-
i.stem.replace(
|
|
1580
|
+
i.stem.replace(xt, function(l, u, c, h, f, p) {
|
|
1560
1581
|
return c === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1561
1582
|
});
|
|
1562
1583
|
var o = i.options[0];
|
|
1563
|
-
o === "w" ? t =
|
|
1584
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), _t(o)));
|
|
1564
1585
|
continue;
|
|
1565
1586
|
}
|
|
1566
|
-
if (
|
|
1567
|
-
t =
|
|
1587
|
+
if (tr.test(i.stem)) {
|
|
1588
|
+
t = S(S({}, t), _t(i.stem));
|
|
1568
1589
|
continue;
|
|
1569
1590
|
}
|
|
1570
|
-
var s =
|
|
1571
|
-
s && (t =
|
|
1572
|
-
var a =
|
|
1573
|
-
a && (t =
|
|
1591
|
+
var s = nr(i.stem);
|
|
1592
|
+
s && (t = S(S({}, t), s));
|
|
1593
|
+
var a = Rn(i.stem);
|
|
1594
|
+
a && (t = S(S({}, t), a));
|
|
1574
1595
|
}
|
|
1575
1596
|
return t;
|
|
1576
1597
|
}
|
|
@@ -2989,13 +3010,13 @@ var pe = {
|
|
|
2989
3010
|
"h"
|
|
2990
3011
|
]
|
|
2991
3012
|
};
|
|
2992
|
-
function
|
|
3013
|
+
function Un(e, t) {
|
|
2993
3014
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2994
3015
|
var i = e.charAt(n);
|
|
2995
3016
|
if (i === "j") {
|
|
2996
3017
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2997
3018
|
o++, n++;
|
|
2998
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3019
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Fn(t);
|
|
2999
3020
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3000
3021
|
r += l;
|
|
3001
3022
|
for (; s-- > 0; )
|
|
@@ -3005,7 +3026,7 @@ function Rn(e, t) {
|
|
|
3005
3026
|
}
|
|
3006
3027
|
return r;
|
|
3007
3028
|
}
|
|
3008
|
-
function
|
|
3029
|
+
function Fn(e) {
|
|
3009
3030
|
var t = e.hourCycle;
|
|
3010
3031
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3011
3032
|
e.hourCycles && // @ts-ignore
|
|
@@ -3027,20 +3048,20 @@ function Dn(e) {
|
|
|
3027
3048
|
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
|
3028
3049
|
return i[0];
|
|
3029
3050
|
}
|
|
3030
|
-
var
|
|
3051
|
+
var Ie, Gn = new RegExp("^".concat(er.source, "*")), jn = new RegExp("".concat(er.source, "*$"));
|
|
3031
3052
|
function v(e, t) {
|
|
3032
3053
|
return { start: e, end: t };
|
|
3033
3054
|
}
|
|
3034
|
-
var
|
|
3055
|
+
var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wn = !!String.fromCodePoint, zn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, qn = !!Number.isSafeInteger, Qn = qn ? Number.isSafeInteger : function(e) {
|
|
3035
3056
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3036
|
-
},
|
|
3057
|
+
}, Ze = !0;
|
|
3037
3058
|
try {
|
|
3038
|
-
var
|
|
3039
|
-
|
|
3059
|
+
var Yn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3060
|
+
Ze = ((Ie = Yn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
|
|
3040
3061
|
} catch (e) {
|
|
3041
|
-
|
|
3062
|
+
Ze = !1;
|
|
3042
3063
|
}
|
|
3043
|
-
var
|
|
3064
|
+
var wt = kn ? (
|
|
3044
3065
|
// Native
|
|
3045
3066
|
function(t, r, n) {
|
|
3046
3067
|
return t.startsWith(r, n);
|
|
@@ -3050,7 +3071,7 @@ var Et = Gn ? (
|
|
|
3050
3071
|
function(t, r, n) {
|
|
3051
3072
|
return t.slice(n, n + r.length) === r;
|
|
3052
3073
|
}
|
|
3053
|
-
),
|
|
3074
|
+
), qe = Wn ? String.fromCodePoint : (
|
|
3054
3075
|
// IE11
|
|
3055
3076
|
function() {
|
|
3056
3077
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3062,9 +3083,9 @@ var Et = Gn ? (
|
|
|
3062
3083
|
}
|
|
3063
3084
|
return n;
|
|
3064
3085
|
}
|
|
3065
|
-
),
|
|
3086
|
+
), At = (
|
|
3066
3087
|
// native
|
|
3067
|
-
|
|
3088
|
+
zn ? Object.fromEntries : (
|
|
3068
3089
|
// Ponyfill
|
|
3069
3090
|
function(t) {
|
|
3070
3091
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3074,7 +3095,7 @@ var Et = Gn ? (
|
|
|
3074
3095
|
return r;
|
|
3075
3096
|
}
|
|
3076
3097
|
)
|
|
3077
|
-
),
|
|
3098
|
+
), ir = Vn ? (
|
|
3078
3099
|
// Native
|
|
3079
3100
|
function(t, r) {
|
|
3080
3101
|
return t.codePointAt(r);
|
|
@@ -3088,7 +3109,7 @@ var Et = Gn ? (
|
|
|
3088
3109
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3089
3110
|
}
|
|
3090
3111
|
}
|
|
3091
|
-
),
|
|
3112
|
+
), Jn = Xn ? (
|
|
3092
3113
|
// Native
|
|
3093
3114
|
function(t) {
|
|
3094
3115
|
return t.trimStart();
|
|
@@ -3096,9 +3117,9 @@ var Et = Gn ? (
|
|
|
3096
3117
|
) : (
|
|
3097
3118
|
// Ponyfill
|
|
3098
3119
|
function(t) {
|
|
3099
|
-
return t.replace(
|
|
3120
|
+
return t.replace(Gn, "");
|
|
3100
3121
|
}
|
|
3101
|
-
),
|
|
3122
|
+
), Kn = Zn ? (
|
|
3102
3123
|
// Native
|
|
3103
3124
|
function(t) {
|
|
3104
3125
|
return t.trimEnd();
|
|
@@ -3106,32 +3127,32 @@ var Et = Gn ? (
|
|
|
3106
3127
|
) : (
|
|
3107
3128
|
// Ponyfill
|
|
3108
3129
|
function(t) {
|
|
3109
|
-
return t.replace(
|
|
3130
|
+
return t.replace(jn, "");
|
|
3110
3131
|
}
|
|
3111
3132
|
);
|
|
3112
|
-
function
|
|
3133
|
+
function or(e, t) {
|
|
3113
3134
|
return new RegExp(e, t);
|
|
3114
3135
|
}
|
|
3115
|
-
var
|
|
3116
|
-
if (
|
|
3117
|
-
var Ct =
|
|
3118
|
-
|
|
3136
|
+
var Qe;
|
|
3137
|
+
if (Ze) {
|
|
3138
|
+
var Ct = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3139
|
+
Qe = function(t, r) {
|
|
3119
3140
|
var n;
|
|
3120
3141
|
Ct.lastIndex = r;
|
|
3121
3142
|
var i = Ct.exec(t);
|
|
3122
3143
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3123
3144
|
};
|
|
3124
3145
|
} else
|
|
3125
|
-
|
|
3146
|
+
Qe = function(t, r) {
|
|
3126
3147
|
for (var n = []; ; ) {
|
|
3127
|
-
var i =
|
|
3128
|
-
if (i === void 0 ||
|
|
3148
|
+
var i = ir(t, r);
|
|
3149
|
+
if (i === void 0 || sr(i) || ni(i))
|
|
3129
3150
|
break;
|
|
3130
3151
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3131
3152
|
}
|
|
3132
|
-
return
|
|
3153
|
+
return qe.apply(void 0, n);
|
|
3133
3154
|
};
|
|
3134
|
-
var
|
|
3155
|
+
var ei = (
|
|
3135
3156
|
/** @class */
|
|
3136
3157
|
function() {
|
|
3137
3158
|
function e(t, r) {
|
|
@@ -3155,14 +3176,14 @@ var Jn = (
|
|
|
3155
3176
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3156
3177
|
var a = this.clonePosition();
|
|
3157
3178
|
this.bump(), i.push({
|
|
3158
|
-
type:
|
|
3179
|
+
type: w.pound,
|
|
3159
3180
|
location: v(a, this.clonePosition())
|
|
3160
3181
|
});
|
|
3161
3182
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3162
3183
|
if (n)
|
|
3163
3184
|
break;
|
|
3164
3185
|
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3165
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3186
|
+
} else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
|
|
3166
3187
|
var s = this.parseTag(t, r);
|
|
3167
3188
|
if (s.err)
|
|
3168
3189
|
return s;
|
|
@@ -3183,7 +3204,7 @@ var Jn = (
|
|
|
3183
3204
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3184
3205
|
return {
|
|
3185
3206
|
val: {
|
|
3186
|
-
type:
|
|
3207
|
+
type: w.literal,
|
|
3187
3208
|
value: "<".concat(i, "/>"),
|
|
3188
3209
|
location: v(n, this.clonePosition())
|
|
3189
3210
|
},
|
|
@@ -3195,12 +3216,12 @@ var Jn = (
|
|
|
3195
3216
|
return o;
|
|
3196
3217
|
var s = o.val, a = this.clonePosition();
|
|
3197
3218
|
if (this.bumpIf("</")) {
|
|
3198
|
-
if (this.isEOF() || !
|
|
3219
|
+
if (this.isEOF() || !Ye(this.char()))
|
|
3199
3220
|
return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
|
|
3200
3221
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3201
3222
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3202
3223
|
val: {
|
|
3203
|
-
type:
|
|
3224
|
+
type: w.tag,
|
|
3204
3225
|
value: i,
|
|
3205
3226
|
children: s,
|
|
3206
3227
|
location: v(n, this.clonePosition())
|
|
@@ -3213,7 +3234,7 @@ var Jn = (
|
|
|
3213
3234
|
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
3214
3235
|
}, e.prototype.parseTagName = function() {
|
|
3215
3236
|
var t = this.offset();
|
|
3216
|
-
for (this.bump(); !this.isEOF() &&
|
|
3237
|
+
for (this.bump(); !this.isEOF() && ri(this.char()); )
|
|
3217
3238
|
this.bump();
|
|
3218
3239
|
return this.message.slice(t, this.offset());
|
|
3219
3240
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3237,12 +3258,12 @@ var Jn = (
|
|
|
3237
3258
|
}
|
|
3238
3259
|
var l = v(n, this.clonePosition());
|
|
3239
3260
|
return {
|
|
3240
|
-
val: { type:
|
|
3261
|
+
val: { type: w.literal, value: i, location: l },
|
|
3241
3262
|
err: null
|
|
3242
3263
|
};
|
|
3243
3264
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3244
3265
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3245
|
-
!
|
|
3266
|
+
!ti(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3246
3267
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3247
3268
|
if (this.isEOF() || this.char() !== 39)
|
|
3248
3269
|
return null;
|
|
@@ -3276,12 +3297,12 @@ var Jn = (
|
|
|
3276
3297
|
r.push(n);
|
|
3277
3298
|
this.bump();
|
|
3278
3299
|
}
|
|
3279
|
-
return
|
|
3300
|
+
return qe.apply(void 0, r);
|
|
3280
3301
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3281
3302
|
if (this.isEOF())
|
|
3282
3303
|
return null;
|
|
3283
3304
|
var n = this.char();
|
|
3284
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3305
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
|
|
3285
3306
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3286
3307
|
var n = this.clonePosition();
|
|
3287
3308
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3297,7 +3318,7 @@ var Jn = (
|
|
|
3297
3318
|
case 125:
|
|
3298
3319
|
return this.bump(), {
|
|
3299
3320
|
val: {
|
|
3300
|
-
type:
|
|
3321
|
+
type: w.argument,
|
|
3301
3322
|
// value does not include the opening and closing braces.
|
|
3302
3323
|
value: i,
|
|
3303
3324
|
location: v(n, this.clonePosition())
|
|
@@ -3310,7 +3331,7 @@ var Jn = (
|
|
|
3310
3331
|
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3311
3332
|
}
|
|
3312
3333
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3313
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3334
|
+
var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
|
|
3314
3335
|
this.bumpTo(i);
|
|
3315
3336
|
var o = this.clonePosition(), s = v(t, o);
|
|
3316
3337
|
return { value: n, location: s };
|
|
@@ -3329,7 +3350,7 @@ var Jn = (
|
|
|
3329
3350
|
var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
3330
3351
|
if (h.err)
|
|
3331
3352
|
return h;
|
|
3332
|
-
var f =
|
|
3353
|
+
var f = Kn(h.val);
|
|
3333
3354
|
if (f.length === 0)
|
|
3334
3355
|
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3335
3356
|
var p = v(c, this.clonePosition());
|
|
@@ -3339,25 +3360,25 @@ var Jn = (
|
|
|
3339
3360
|
if (m.err)
|
|
3340
3361
|
return m;
|
|
3341
3362
|
var d = v(i, this.clonePosition());
|
|
3342
|
-
if (u &&
|
|
3343
|
-
var _ =
|
|
3363
|
+
if (u && wt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3364
|
+
var _ = Jn(u.style.slice(2));
|
|
3344
3365
|
if (a === "number") {
|
|
3345
3366
|
var h = this.parseNumberSkeletonFromString(_, u.styleLocation);
|
|
3346
3367
|
return h.err ? h : {
|
|
3347
|
-
val: { type:
|
|
3368
|
+
val: { type: w.number, value: n, location: d, style: h.val },
|
|
3348
3369
|
err: null
|
|
3349
3370
|
};
|
|
3350
3371
|
} else {
|
|
3351
3372
|
if (_.length === 0)
|
|
3352
3373
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3353
3374
|
var P = _;
|
|
3354
|
-
this.locale && (P =
|
|
3375
|
+
this.locale && (P = Un(_, this.locale));
|
|
3355
3376
|
var f = {
|
|
3356
|
-
type:
|
|
3377
|
+
type: Y.dateTime,
|
|
3357
3378
|
pattern: P,
|
|
3358
3379
|
location: u.styleLocation,
|
|
3359
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3360
|
-
}, T = a === "date" ?
|
|
3380
|
+
parsedOptions: this.shouldParseSkeletons ? On(P) : {}
|
|
3381
|
+
}, T = a === "date" ? w.date : w.time;
|
|
3361
3382
|
return {
|
|
3362
3383
|
val: { type: T, value: n, location: d, style: f },
|
|
3363
3384
|
err: null
|
|
@@ -3366,7 +3387,7 @@ var Jn = (
|
|
|
3366
3387
|
}
|
|
3367
3388
|
return {
|
|
3368
3389
|
val: {
|
|
3369
|
-
type: a === "number" ?
|
|
3390
|
+
type: a === "number" ? w.number : a === "date" ? w.date : w.time,
|
|
3370
3391
|
value: n,
|
|
3371
3392
|
location: d,
|
|
3372
3393
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3377,21 +3398,21 @@ var Jn = (
|
|
|
3377
3398
|
case "plural":
|
|
3378
3399
|
case "selectordinal":
|
|
3379
3400
|
case "select": {
|
|
3380
|
-
var
|
|
3401
|
+
var y = this.clonePosition();
|
|
3381
3402
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3382
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(
|
|
3403
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(y, ye({}, y)));
|
|
3383
3404
|
this.bumpSpace();
|
|
3384
|
-
var
|
|
3385
|
-
if (a !== "select" &&
|
|
3405
|
+
var A = this.parseIdentifierIfPossible(), E = 0;
|
|
3406
|
+
if (a !== "select" && A.value === "offset") {
|
|
3386
3407
|
if (!this.bumpIf(":"))
|
|
3387
3408
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3388
3409
|
this.bumpSpace();
|
|
3389
3410
|
var h = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3390
3411
|
if (h.err)
|
|
3391
3412
|
return h;
|
|
3392
|
-
this.bumpSpace(),
|
|
3413
|
+
this.bumpSpace(), A = this.parseIdentifierIfPossible(), E = h.val;
|
|
3393
3414
|
}
|
|
3394
|
-
var B = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
3415
|
+
var B = this.tryParsePluralOrSelectOptions(t, a, r, A);
|
|
3395
3416
|
if (B.err)
|
|
3396
3417
|
return B;
|
|
3397
3418
|
var m = this.tryParseArgumentClose(i);
|
|
@@ -3400,18 +3421,18 @@ var Jn = (
|
|
|
3400
3421
|
var he = v(i, this.clonePosition());
|
|
3401
3422
|
return a === "select" ? {
|
|
3402
3423
|
val: {
|
|
3403
|
-
type:
|
|
3424
|
+
type: w.select,
|
|
3404
3425
|
value: n,
|
|
3405
|
-
options:
|
|
3426
|
+
options: At(B.val),
|
|
3406
3427
|
location: he
|
|
3407
3428
|
},
|
|
3408
3429
|
err: null
|
|
3409
3430
|
} : {
|
|
3410
3431
|
val: {
|
|
3411
|
-
type:
|
|
3432
|
+
type: w.plural,
|
|
3412
3433
|
value: n,
|
|
3413
|
-
options:
|
|
3414
|
-
offset:
|
|
3434
|
+
options: At(B.val),
|
|
3435
|
+
offset: E,
|
|
3415
3436
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3416
3437
|
location: he
|
|
3417
3438
|
},
|
|
@@ -3461,16 +3482,16 @@ var Jn = (
|
|
|
3461
3482
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3462
3483
|
var n = [];
|
|
3463
3484
|
try {
|
|
3464
|
-
n =
|
|
3485
|
+
n = In(t);
|
|
3465
3486
|
} catch (i) {
|
|
3466
3487
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3467
3488
|
}
|
|
3468
3489
|
return {
|
|
3469
3490
|
val: {
|
|
3470
|
-
type:
|
|
3491
|
+
type: Y.number,
|
|
3471
3492
|
tokens: n,
|
|
3472
3493
|
location: r,
|
|
3473
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3494
|
+
parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
|
|
3474
3495
|
},
|
|
3475
3496
|
err: null
|
|
3476
3497
|
};
|
|
@@ -3518,7 +3539,7 @@ var Jn = (
|
|
|
3518
3539
|
break;
|
|
3519
3540
|
}
|
|
3520
3541
|
var l = v(i, this.clonePosition());
|
|
3521
|
-
return o ? (s *= n,
|
|
3542
|
+
return o ? (s *= n, Qn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3522
3543
|
}, e.prototype.offset = function() {
|
|
3523
3544
|
return this.position.offset;
|
|
3524
3545
|
}, e.prototype.isEOF = function() {
|
|
@@ -3533,7 +3554,7 @@ var Jn = (
|
|
|
3533
3554
|
var t = this.position.offset;
|
|
3534
3555
|
if (t >= this.message.length)
|
|
3535
3556
|
throw Error("out of bound");
|
|
3536
|
-
var r =
|
|
3557
|
+
var r = ir(this.message, t);
|
|
3537
3558
|
if (r === void 0)
|
|
3538
3559
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3539
3560
|
return r;
|
|
@@ -3552,7 +3573,7 @@ var Jn = (
|
|
|
3552
3573
|
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);
|
|
3553
3574
|
}
|
|
3554
3575
|
}, e.prototype.bumpIf = function(t) {
|
|
3555
|
-
if (
|
|
3576
|
+
if (wt(this.message, t, this.offset())) {
|
|
3556
3577
|
for (var r = 0; r < t.length; r++)
|
|
3557
3578
|
this.bump();
|
|
3558
3579
|
return !0;
|
|
@@ -3574,7 +3595,7 @@ var Jn = (
|
|
|
3574
3595
|
break;
|
|
3575
3596
|
}
|
|
3576
3597
|
}, e.prototype.bumpSpace = function() {
|
|
3577
|
-
for (; !this.isEOF() &&
|
|
3598
|
+
for (; !this.isEOF() && sr(this.char()); )
|
|
3578
3599
|
this.bump();
|
|
3579
3600
|
}, e.prototype.peek = function() {
|
|
3580
3601
|
if (this.isEOF())
|
|
@@ -3584,47 +3605,47 @@ var Jn = (
|
|
|
3584
3605
|
}, e;
|
|
3585
3606
|
}()
|
|
3586
3607
|
);
|
|
3587
|
-
function
|
|
3608
|
+
function Ye(e) {
|
|
3588
3609
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3589
3610
|
}
|
|
3590
|
-
function
|
|
3591
|
-
return
|
|
3611
|
+
function ti(e) {
|
|
3612
|
+
return Ye(e) || e === 47;
|
|
3592
3613
|
}
|
|
3593
|
-
function
|
|
3614
|
+
function ri(e) {
|
|
3594
3615
|
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;
|
|
3595
3616
|
}
|
|
3596
|
-
function
|
|
3617
|
+
function sr(e) {
|
|
3597
3618
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3598
3619
|
}
|
|
3599
|
-
function
|
|
3620
|
+
function ni(e) {
|
|
3600
3621
|
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;
|
|
3601
3622
|
}
|
|
3602
|
-
function
|
|
3623
|
+
function Je(e) {
|
|
3603
3624
|
e.forEach(function(t) {
|
|
3604
|
-
if (delete t.location,
|
|
3625
|
+
if (delete t.location, Qt(t) || Yt(t))
|
|
3605
3626
|
for (var r in t.options)
|
|
3606
|
-
delete t.options[r].location,
|
|
3627
|
+
delete t.options[r].location, Je(t.options[r].value);
|
|
3607
3628
|
else
|
|
3608
|
-
|
|
3629
|
+
Xt(t) && Kt(t.style) || (Zt(t) || qt(t)) && Xe(t.style) ? delete t.style.location : Jt(t) && Je(t.children);
|
|
3609
3630
|
});
|
|
3610
3631
|
}
|
|
3611
|
-
function
|
|
3612
|
-
t === void 0 && (t = {}), t =
|
|
3613
|
-
var r = new
|
|
3632
|
+
function ii(e, t) {
|
|
3633
|
+
t === void 0 && (t = {}), t = ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3634
|
+
var r = new ei(e, t).parse();
|
|
3614
3635
|
if (r.err) {
|
|
3615
3636
|
var n = SyntaxError(b[r.err.kind]);
|
|
3616
3637
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3617
3638
|
}
|
|
3618
|
-
return t != null && t.captureLocation ||
|
|
3639
|
+
return t != null && t.captureLocation || Je(r.val), r.val;
|
|
3619
3640
|
}
|
|
3620
|
-
var
|
|
3641
|
+
var J;
|
|
3621
3642
|
(function(e) {
|
|
3622
3643
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3623
|
-
})(
|
|
3644
|
+
})(J || (J = {}));
|
|
3624
3645
|
var Ce = (
|
|
3625
3646
|
/** @class */
|
|
3626
3647
|
function(e) {
|
|
3627
|
-
|
|
3648
|
+
Ae(t, e);
|
|
3628
3649
|
function t(r, n, i) {
|
|
3629
3650
|
var o = e.call(this, r) || this;
|
|
3630
3651
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3633,30 +3654,30 @@ var Ce = (
|
|
|
3633
3654
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3634
3655
|
}, t;
|
|
3635
3656
|
}(Error)
|
|
3636
|
-
),
|
|
3657
|
+
), St = (
|
|
3637
3658
|
/** @class */
|
|
3638
3659
|
function(e) {
|
|
3639
|
-
|
|
3660
|
+
Ae(t, e);
|
|
3640
3661
|
function t(r, n, i, o) {
|
|
3641
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3662
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
|
|
3642
3663
|
}
|
|
3643
3664
|
return t;
|
|
3644
3665
|
}(Ce)
|
|
3645
|
-
),
|
|
3666
|
+
), oi = (
|
|
3646
3667
|
/** @class */
|
|
3647
3668
|
function(e) {
|
|
3648
|
-
|
|
3669
|
+
Ae(t, e);
|
|
3649
3670
|
function t(r, n, i) {
|
|
3650
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3671
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3651
3672
|
}
|
|
3652
3673
|
return t;
|
|
3653
3674
|
}(Ce)
|
|
3654
|
-
),
|
|
3675
|
+
), si = (
|
|
3655
3676
|
/** @class */
|
|
3656
3677
|
function(e) {
|
|
3657
|
-
|
|
3678
|
+
Ae(t, e);
|
|
3658
3679
|
function t(r, n) {
|
|
3659
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3680
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3660
3681
|
}
|
|
3661
3682
|
return t;
|
|
3662
3683
|
}(Ce)
|
|
@@ -3664,17 +3685,17 @@ var Ce = (
|
|
|
3664
3685
|
(function(e) {
|
|
3665
3686
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3666
3687
|
})(M || (M = {}));
|
|
3667
|
-
function
|
|
3688
|
+
function ai(e) {
|
|
3668
3689
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3669
3690
|
var n = t[t.length - 1];
|
|
3670
3691
|
return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
|
|
3671
3692
|
}, []);
|
|
3672
3693
|
}
|
|
3673
|
-
function
|
|
3694
|
+
function ui(e) {
|
|
3674
3695
|
return typeof e == "function";
|
|
3675
3696
|
}
|
|
3676
3697
|
function be(e, t, r, n, i, o, s) {
|
|
3677
|
-
if (e.length === 1 &&
|
|
3698
|
+
if (e.length === 1 && yt(e[0]))
|
|
3678
3699
|
return [
|
|
3679
3700
|
{
|
|
3680
3701
|
type: M.literal,
|
|
@@ -3683,14 +3704,14 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3683
3704
|
];
|
|
3684
3705
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3685
3706
|
var c = u[l];
|
|
3686
|
-
if (
|
|
3707
|
+
if (yt(c)) {
|
|
3687
3708
|
a.push({
|
|
3688
3709
|
type: M.literal,
|
|
3689
3710
|
value: c.value
|
|
3690
3711
|
});
|
|
3691
3712
|
continue;
|
|
3692
3713
|
}
|
|
3693
|
-
if (
|
|
3714
|
+
if (Mn(c)) {
|
|
3694
3715
|
typeof o == "number" && a.push({
|
|
3695
3716
|
type: M.literal,
|
|
3696
3717
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3699,89 +3720,89 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3699
3720
|
}
|
|
3700
3721
|
var h = c.value;
|
|
3701
3722
|
if (!(i && h in i))
|
|
3702
|
-
throw new
|
|
3723
|
+
throw new si(h, s);
|
|
3703
3724
|
var f = i[h];
|
|
3704
|
-
if (
|
|
3725
|
+
if (Bn(c)) {
|
|
3705
3726
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3706
3727
|
type: typeof f == "string" ? M.literal : M.object,
|
|
3707
3728
|
value: f
|
|
3708
3729
|
});
|
|
3709
3730
|
continue;
|
|
3710
3731
|
}
|
|
3711
|
-
if (
|
|
3712
|
-
var p = typeof c.style == "string" ? n.date[c.style] :
|
|
3732
|
+
if (Zt(c)) {
|
|
3733
|
+
var p = typeof c.style == "string" ? n.date[c.style] : Xe(c.style) ? c.style.parsedOptions : void 0;
|
|
3713
3734
|
a.push({
|
|
3714
3735
|
type: M.literal,
|
|
3715
3736
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3716
3737
|
});
|
|
3717
3738
|
continue;
|
|
3718
3739
|
}
|
|
3719
|
-
if (
|
|
3720
|
-
var p = typeof c.style == "string" ? n.time[c.style] :
|
|
3740
|
+
if (qt(c)) {
|
|
3741
|
+
var p = typeof c.style == "string" ? n.time[c.style] : Xe(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3721
3742
|
a.push({
|
|
3722
3743
|
type: M.literal,
|
|
3723
3744
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3724
3745
|
});
|
|
3725
3746
|
continue;
|
|
3726
3747
|
}
|
|
3727
|
-
if (
|
|
3728
|
-
var p = typeof c.style == "string" ? n.number[c.style] :
|
|
3748
|
+
if (Xt(c)) {
|
|
3749
|
+
var p = typeof c.style == "string" ? n.number[c.style] : Kt(c.style) ? c.style.parsedOptions : void 0;
|
|
3729
3750
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3730
3751
|
type: M.literal,
|
|
3731
3752
|
value: r.getNumberFormat(t, p).format(f)
|
|
3732
3753
|
});
|
|
3733
3754
|
continue;
|
|
3734
3755
|
}
|
|
3735
|
-
if (
|
|
3756
|
+
if (Jt(c)) {
|
|
3736
3757
|
var m = c.children, d = c.value, _ = i[d];
|
|
3737
|
-
if (!
|
|
3738
|
-
throw new
|
|
3739
|
-
var P = be(m, t, r, n, i, o), T = _(P.map(function(
|
|
3740
|
-
return
|
|
3758
|
+
if (!ui(_))
|
|
3759
|
+
throw new oi(d, "function", s);
|
|
3760
|
+
var P = be(m, t, r, n, i, o), T = _(P.map(function(E) {
|
|
3761
|
+
return E.value;
|
|
3741
3762
|
}));
|
|
3742
|
-
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(
|
|
3763
|
+
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(E) {
|
|
3743
3764
|
return {
|
|
3744
|
-
type: typeof
|
|
3745
|
-
value:
|
|
3765
|
+
type: typeof E == "string" ? M.literal : M.object,
|
|
3766
|
+
value: E
|
|
3746
3767
|
};
|
|
3747
3768
|
}));
|
|
3748
3769
|
}
|
|
3749
|
-
if (
|
|
3750
|
-
var
|
|
3751
|
-
if (!
|
|
3752
|
-
throw new
|
|
3753
|
-
a.push.apply(a, be(
|
|
3770
|
+
if (Qt(c)) {
|
|
3771
|
+
var y = c.options[f] || c.options.other;
|
|
3772
|
+
if (!y)
|
|
3773
|
+
throw new St(c.value, f, Object.keys(c.options), s);
|
|
3774
|
+
a.push.apply(a, be(y.value, t, r, n, i));
|
|
3754
3775
|
continue;
|
|
3755
3776
|
}
|
|
3756
|
-
if (
|
|
3757
|
-
var
|
|
3758
|
-
if (!
|
|
3777
|
+
if (Yt(c)) {
|
|
3778
|
+
var y = c.options["=".concat(f)];
|
|
3779
|
+
if (!y) {
|
|
3759
3780
|
if (!Intl.PluralRules)
|
|
3760
3781
|
throw new Ce(`Intl.PluralRules is not available in this environment.
|
|
3761
3782
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3762
|
-
`,
|
|
3763
|
-
var
|
|
3764
|
-
|
|
3783
|
+
`, J.MISSING_INTL_API, s);
|
|
3784
|
+
var A = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
|
|
3785
|
+
y = c.options[A] || c.options.other;
|
|
3765
3786
|
}
|
|
3766
|
-
if (!
|
|
3767
|
-
throw new
|
|
3768
|
-
a.push.apply(a, be(
|
|
3787
|
+
if (!y)
|
|
3788
|
+
throw new St(c.value, f, Object.keys(c.options), s);
|
|
3789
|
+
a.push.apply(a, be(y.value, t, r, n, i, f - (c.offset || 0)));
|
|
3769
3790
|
continue;
|
|
3770
3791
|
}
|
|
3771
3792
|
}
|
|
3772
|
-
return
|
|
3793
|
+
return ai(a);
|
|
3773
3794
|
}
|
|
3774
|
-
function
|
|
3775
|
-
return t ?
|
|
3776
|
-
return r[n] =
|
|
3795
|
+
function li(e, t) {
|
|
3796
|
+
return t ? I(I(I({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3797
|
+
return r[n] = I(I({}, e[n]), t[n] || {}), r;
|
|
3777
3798
|
}, {})) : e;
|
|
3778
3799
|
}
|
|
3779
|
-
function
|
|
3800
|
+
function ci(e, t) {
|
|
3780
3801
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3781
|
-
return r[n] =
|
|
3782
|
-
},
|
|
3802
|
+
return r[n] = li(e[n], t[n]), r;
|
|
3803
|
+
}, I({}, e)) : e;
|
|
3783
3804
|
}
|
|
3784
|
-
function
|
|
3805
|
+
function Le(e) {
|
|
3785
3806
|
return {
|
|
3786
3807
|
create: function() {
|
|
3787
3808
|
return {
|
|
@@ -3795,39 +3816,39 @@ function Ie(e) {
|
|
|
3795
3816
|
}
|
|
3796
3817
|
};
|
|
3797
3818
|
}
|
|
3798
|
-
function
|
|
3819
|
+
function hi(e) {
|
|
3799
3820
|
return e === void 0 && (e = {
|
|
3800
3821
|
number: {},
|
|
3801
3822
|
dateTime: {},
|
|
3802
3823
|
pluralRules: {}
|
|
3803
3824
|
}), {
|
|
3804
|
-
getNumberFormat:
|
|
3825
|
+
getNumberFormat: Oe(function() {
|
|
3805
3826
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3806
3827
|
r[n] = arguments[n];
|
|
3807
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3828
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3808
3829
|
}, {
|
|
3809
|
-
cache:
|
|
3810
|
-
strategy:
|
|
3830
|
+
cache: Le(e.number),
|
|
3831
|
+
strategy: Ne.variadic
|
|
3811
3832
|
}),
|
|
3812
|
-
getDateTimeFormat:
|
|
3833
|
+
getDateTimeFormat: Oe(function() {
|
|
3813
3834
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3814
3835
|
r[n] = arguments[n];
|
|
3815
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3836
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3816
3837
|
}, {
|
|
3817
|
-
cache:
|
|
3818
|
-
strategy:
|
|
3838
|
+
cache: Le(e.dateTime),
|
|
3839
|
+
strategy: Ne.variadic
|
|
3819
3840
|
}),
|
|
3820
|
-
getPluralRules:
|
|
3841
|
+
getPluralRules: Oe(function() {
|
|
3821
3842
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3822
3843
|
r[n] = arguments[n];
|
|
3823
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3844
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3824
3845
|
}, {
|
|
3825
|
-
cache:
|
|
3826
|
-
strategy:
|
|
3846
|
+
cache: Le(e.pluralRules),
|
|
3847
|
+
strategy: Ne.variadic
|
|
3827
3848
|
})
|
|
3828
3849
|
};
|
|
3829
3850
|
}
|
|
3830
|
-
var
|
|
3851
|
+
var fi = (
|
|
3831
3852
|
/** @class */
|
|
3832
3853
|
function() {
|
|
3833
3854
|
function e(t, r, n, i) {
|
|
@@ -3859,13 +3880,13 @@ var ci = (
|
|
|
3859
3880
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3860
3881
|
var s = i || {};
|
|
3861
3882
|
s.formatters;
|
|
3862
|
-
var a =
|
|
3863
|
-
this.ast = e.__parse(t,
|
|
3883
|
+
var a = _n(s, ["formatters"]);
|
|
3884
|
+
this.ast = e.__parse(t, I(I({}, a), { locale: this.resolvedLocale }));
|
|
3864
3885
|
} else
|
|
3865
3886
|
this.ast = t;
|
|
3866
3887
|
if (!Array.isArray(this.ast))
|
|
3867
3888
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3868
|
-
this.formats =
|
|
3889
|
+
this.formats = ci(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
|
|
3869
3890
|
}
|
|
3870
3891
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3871
3892
|
get: function() {
|
|
@@ -3878,7 +3899,7 @@ var ci = (
|
|
|
3878
3899
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3879
3900
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3880
3901
|
}
|
|
3881
|
-
}, e.__parse =
|
|
3902
|
+
}, e.__parse = ii, e.formats = {
|
|
3882
3903
|
number: {
|
|
3883
3904
|
integer: {
|
|
3884
3905
|
maximumFractionDigits: 0
|
|
@@ -3939,7 +3960,7 @@ var ci = (
|
|
|
3939
3960
|
}, e;
|
|
3940
3961
|
}()
|
|
3941
3962
|
);
|
|
3942
|
-
function
|
|
3963
|
+
function pi(e, t) {
|
|
3943
3964
|
if (t == null)
|
|
3944
3965
|
return;
|
|
3945
3966
|
if (t in e)
|
|
@@ -3960,92 +3981,92 @@ function hi(e, t) {
|
|
|
3960
3981
|
n = void 0;
|
|
3961
3982
|
return n;
|
|
3962
3983
|
}
|
|
3963
|
-
const $ = {},
|
|
3984
|
+
const $ = {}, di = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), ar = (e, t) => {
|
|
3964
3985
|
if (t == null)
|
|
3965
3986
|
return;
|
|
3966
3987
|
if (t in $ && e in $[t])
|
|
3967
3988
|
return $[t][e];
|
|
3968
|
-
const r =
|
|
3989
|
+
const r = Se(t);
|
|
3969
3990
|
for (let n = 0; n < r.length; n++) {
|
|
3970
|
-
const i = r[n], o =
|
|
3991
|
+
const i = r[n], o = bi(i, e);
|
|
3971
3992
|
if (o)
|
|
3972
|
-
return
|
|
3993
|
+
return di(e, t, o);
|
|
3973
3994
|
}
|
|
3974
3995
|
};
|
|
3975
|
-
let
|
|
3976
|
-
const ce =
|
|
3977
|
-
function
|
|
3978
|
-
return
|
|
3996
|
+
let rt;
|
|
3997
|
+
const ce = we({});
|
|
3998
|
+
function mi(e) {
|
|
3999
|
+
return rt[e] || null;
|
|
3979
4000
|
}
|
|
3980
|
-
function
|
|
3981
|
-
return e in
|
|
4001
|
+
function ur(e) {
|
|
4002
|
+
return e in rt;
|
|
3982
4003
|
}
|
|
3983
|
-
function
|
|
3984
|
-
if (!
|
|
4004
|
+
function bi(e, t) {
|
|
4005
|
+
if (!ur(e))
|
|
3985
4006
|
return null;
|
|
3986
|
-
const r =
|
|
3987
|
-
return
|
|
4007
|
+
const r = mi(e);
|
|
4008
|
+
return pi(r, t);
|
|
3988
4009
|
}
|
|
3989
|
-
function
|
|
4010
|
+
function vi(e) {
|
|
3990
4011
|
if (e == null)
|
|
3991
4012
|
return;
|
|
3992
|
-
const t =
|
|
4013
|
+
const t = Se(e);
|
|
3993
4014
|
for (let r = 0; r < t.length; r++) {
|
|
3994
4015
|
const n = t[r];
|
|
3995
|
-
if (
|
|
4016
|
+
if (ur(n))
|
|
3996
4017
|
return n;
|
|
3997
4018
|
}
|
|
3998
4019
|
}
|
|
3999
|
-
function
|
|
4020
|
+
function lr(e, ...t) {
|
|
4000
4021
|
delete $[e], ce.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
|
|
4001
4022
|
}
|
|
4002
|
-
|
|
4023
|
+
te(
|
|
4003
4024
|
[ce],
|
|
4004
4025
|
([e]) => Object.keys(e)
|
|
4005
4026
|
);
|
|
4006
|
-
ce.subscribe((e) =>
|
|
4027
|
+
ce.subscribe((e) => rt = e);
|
|
4007
4028
|
const ve = {};
|
|
4008
|
-
function
|
|
4029
|
+
function gi(e, t) {
|
|
4009
4030
|
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
|
4010
4031
|
}
|
|
4011
|
-
function
|
|
4032
|
+
function cr(e) {
|
|
4012
4033
|
return ve[e];
|
|
4013
4034
|
}
|
|
4014
|
-
function
|
|
4015
|
-
return
|
|
4016
|
-
const r =
|
|
4035
|
+
function yi(e) {
|
|
4036
|
+
return Se(e).map((t) => {
|
|
4037
|
+
const r = cr(t);
|
|
4017
4038
|
return [t, r ? [...r] : []];
|
|
4018
4039
|
}).filter(([, t]) => t.length > 0);
|
|
4019
4040
|
}
|
|
4020
|
-
function
|
|
4021
|
-
return e == null ? !1 :
|
|
4041
|
+
function Ke(e) {
|
|
4042
|
+
return e == null ? !1 : Se(e).some(
|
|
4022
4043
|
(t) => {
|
|
4023
4044
|
var r;
|
|
4024
|
-
return (r =
|
|
4045
|
+
return (r = cr(t)) == null ? void 0 : r.size;
|
|
4025
4046
|
}
|
|
4026
4047
|
);
|
|
4027
4048
|
}
|
|
4028
|
-
function
|
|
4049
|
+
function xi(e, t) {
|
|
4029
4050
|
return Promise.all(
|
|
4030
|
-
t.map((n) => (
|
|
4031
|
-
).then((n) =>
|
|
4032
|
-
}
|
|
4033
|
-
const
|
|
4034
|
-
function
|
|
4035
|
-
if (!
|
|
4036
|
-
return e in
|
|
4037
|
-
const t =
|
|
4038
|
-
return
|
|
4051
|
+
t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
|
|
4052
|
+
).then((n) => lr(e, ...n));
|
|
4053
|
+
}
|
|
4054
|
+
const ie = {};
|
|
4055
|
+
function hr(e) {
|
|
4056
|
+
if (!Ke(e))
|
|
4057
|
+
return e in ie ? ie[e] : Promise.resolve();
|
|
4058
|
+
const t = yi(e);
|
|
4059
|
+
return ie[e] = Promise.all(
|
|
4039
4060
|
t.map(
|
|
4040
|
-
([r, n]) =>
|
|
4061
|
+
([r, n]) => xi(r, n)
|
|
4041
4062
|
)
|
|
4042
4063
|
).then(() => {
|
|
4043
|
-
if (
|
|
4044
|
-
return
|
|
4045
|
-
delete
|
|
4046
|
-
}),
|
|
4064
|
+
if (Ke(e))
|
|
4065
|
+
return hr(e);
|
|
4066
|
+
delete ie[e];
|
|
4067
|
+
}), ie[e];
|
|
4047
4068
|
}
|
|
4048
|
-
const
|
|
4069
|
+
const _i = {
|
|
4049
4070
|
number: {
|
|
4050
4071
|
scientific: { notation: "scientific" },
|
|
4051
4072
|
engineering: { notation: "engineering" },
|
|
@@ -4074,135 +4095,135 @@ const yi = {
|
|
|
4074
4095
|
timeZoneName: "short"
|
|
4075
4096
|
}
|
|
4076
4097
|
}
|
|
4077
|
-
},
|
|
4098
|
+
}, Ei = {
|
|
4078
4099
|
fallbackLocale: null,
|
|
4079
4100
|
loadingDelay: 200,
|
|
4080
|
-
formats:
|
|
4101
|
+
formats: _i,
|
|
4081
4102
|
warnOnMissingMessages: !0,
|
|
4082
4103
|
handleMissingMessage: void 0,
|
|
4083
4104
|
ignoreTag: !0
|
|
4084
|
-
},
|
|
4085
|
-
function
|
|
4086
|
-
return
|
|
4105
|
+
}, wi = Ei;
|
|
4106
|
+
function K() {
|
|
4107
|
+
return wi;
|
|
4087
4108
|
}
|
|
4088
|
-
const
|
|
4089
|
-
var
|
|
4109
|
+
const $e = we(!1);
|
|
4110
|
+
var Ai = Object.defineProperty, Ci = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
|
|
4090
4111
|
for (var r in t || (t = {}))
|
|
4091
|
-
|
|
4092
|
-
if (
|
|
4093
|
-
for (var r of
|
|
4094
|
-
|
|
4112
|
+
Ti.call(t, r) && Ht(e, r, t[r]);
|
|
4113
|
+
if (Tt)
|
|
4114
|
+
for (var r of Tt(t))
|
|
4115
|
+
Hi.call(t, r) && Ht(e, r, t[r]);
|
|
4095
4116
|
return e;
|
|
4096
|
-
},
|
|
4097
|
-
let
|
|
4098
|
-
const
|
|
4099
|
-
function
|
|
4117
|
+
}, Mi = (e, t) => Ci(e, Si(t));
|
|
4118
|
+
let et;
|
|
4119
|
+
const xe = we(null);
|
|
4120
|
+
function Bt(e) {
|
|
4100
4121
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4101
4122
|
}
|
|
4102
|
-
function
|
|
4103
|
-
const r =
|
|
4104
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4123
|
+
function Se(e, t = K().fallbackLocale) {
|
|
4124
|
+
const r = Bt(e);
|
|
4125
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
|
|
4105
4126
|
}
|
|
4106
4127
|
function j() {
|
|
4107
|
-
return
|
|
4128
|
+
return et != null ? et : void 0;
|
|
4108
4129
|
}
|
|
4109
|
-
|
|
4110
|
-
|
|
4130
|
+
xe.subscribe((e) => {
|
|
4131
|
+
et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4111
4132
|
});
|
|
4112
|
-
const
|
|
4113
|
-
if (e &&
|
|
4114
|
-
const { loadingDelay: t } =
|
|
4133
|
+
const Pi = (e) => {
|
|
4134
|
+
if (e && vi(e) && Ke(e)) {
|
|
4135
|
+
const { loadingDelay: t } = K();
|
|
4115
4136
|
let r;
|
|
4116
4137
|
return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
|
|
4117
|
-
() =>
|
|
4138
|
+
() => $e.set(!0),
|
|
4118
4139
|
t
|
|
4119
|
-
) :
|
|
4120
|
-
|
|
4140
|
+
) : $e.set(!0), hr(e).then(() => {
|
|
4141
|
+
xe.set(e);
|
|
4121
4142
|
}).finally(() => {
|
|
4122
|
-
clearTimeout(r),
|
|
4143
|
+
clearTimeout(r), $e.set(!1);
|
|
4123
4144
|
});
|
|
4124
4145
|
}
|
|
4125
|
-
return
|
|
4126
|
-
},
|
|
4127
|
-
set:
|
|
4128
|
-
}),
|
|
4146
|
+
return xe.set(e);
|
|
4147
|
+
}, re = Mi(Bi({}, xe), {
|
|
4148
|
+
set: Pi
|
|
4149
|
+
}), Te = (e) => {
|
|
4129
4150
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4130
4151
|
return (n) => {
|
|
4131
4152
|
const i = JSON.stringify(n);
|
|
4132
4153
|
return i in t ? t[i] : t[i] = e(n);
|
|
4133
4154
|
};
|
|
4134
4155
|
};
|
|
4135
|
-
var
|
|
4156
|
+
var Oi = Object.defineProperty, _e = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
|
4136
4157
|
for (var r in t || (t = {}))
|
|
4137
|
-
|
|
4138
|
-
if (
|
|
4139
|
-
for (var r of
|
|
4140
|
-
|
|
4158
|
+
fr.call(t, r) && Mt(e, r, t[r]);
|
|
4159
|
+
if (_e)
|
|
4160
|
+
for (var r of _e(t))
|
|
4161
|
+
pr.call(t, r) && Mt(e, r, t[r]);
|
|
4141
4162
|
return e;
|
|
4142
|
-
},
|
|
4163
|
+
}, ne = (e, t) => {
|
|
4143
4164
|
var r = {};
|
|
4144
4165
|
for (var n in e)
|
|
4145
|
-
|
|
4146
|
-
if (e != null &&
|
|
4147
|
-
for (var n of
|
|
4148
|
-
t.indexOf(n) < 0 &&
|
|
4166
|
+
fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4167
|
+
if (e != null && _e)
|
|
4168
|
+
for (var n of _e(e))
|
|
4169
|
+
t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
|
|
4149
4170
|
return r;
|
|
4150
4171
|
};
|
|
4151
|
-
const
|
|
4152
|
-
const { formats: r } =
|
|
4172
|
+
const ue = (e, t) => {
|
|
4173
|
+
const { formats: r } = K();
|
|
4153
4174
|
if (e in r && t in r[e])
|
|
4154
4175
|
return r[e][t];
|
|
4155
4176
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4156
|
-
},
|
|
4177
|
+
}, Ni = Te(
|
|
4157
4178
|
(e) => {
|
|
4158
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4179
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
|
4159
4180
|
if (r == null)
|
|
4160
4181
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4161
|
-
return n && (i =
|
|
4182
|
+
return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
|
|
4162
4183
|
}
|
|
4163
|
-
),
|
|
4184
|
+
), Ii = Te(
|
|
4164
4185
|
(e) => {
|
|
4165
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4186
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
|
4166
4187
|
if (r == null)
|
|
4167
4188
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4168
|
-
return n ? i =
|
|
4189
|
+
return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4169
4190
|
}
|
|
4170
|
-
),
|
|
4191
|
+
), Li = Te(
|
|
4171
4192
|
(e) => {
|
|
4172
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4193
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
|
4173
4194
|
if (r == null)
|
|
4174
4195
|
throw new Error(
|
|
4175
4196
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4176
4197
|
);
|
|
4177
|
-
return n ? i =
|
|
4198
|
+
return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4178
4199
|
}
|
|
4179
|
-
),
|
|
4200
|
+
), $i = (e = {}) => {
|
|
4180
4201
|
var t = e, {
|
|
4181
4202
|
locale: r = j()
|
|
4182
|
-
} = t, n =
|
|
4203
|
+
} = t, n = ne(t, [
|
|
4183
4204
|
"locale"
|
|
4184
4205
|
]);
|
|
4185
|
-
return
|
|
4186
|
-
},
|
|
4206
|
+
return Ni(nt({ locale: r }, n));
|
|
4207
|
+
}, Ri = (e = {}) => {
|
|
4187
4208
|
var t = e, {
|
|
4188
4209
|
locale: r = j()
|
|
4189
|
-
} = t, n =
|
|
4210
|
+
} = t, n = ne(t, [
|
|
4190
4211
|
"locale"
|
|
4191
4212
|
]);
|
|
4192
|
-
return
|
|
4193
|
-
},
|
|
4213
|
+
return Ii(nt({ locale: r }, n));
|
|
4214
|
+
}, Di = (e = {}) => {
|
|
4194
4215
|
var t = e, {
|
|
4195
4216
|
locale: r = j()
|
|
4196
|
-
} = t, n =
|
|
4217
|
+
} = t, n = ne(t, [
|
|
4197
4218
|
"locale"
|
|
4198
4219
|
]);
|
|
4199
|
-
return
|
|
4200
|
-
},
|
|
4220
|
+
return Li(nt({ locale: r }, n));
|
|
4221
|
+
}, Ui = Te(
|
|
4201
4222
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4202
|
-
(e, t = j()) => new
|
|
4203
|
-
ignoreTag:
|
|
4223
|
+
(e, t = j()) => new fi(e, t, K().formats, {
|
|
4224
|
+
ignoreTag: K().ignoreTag
|
|
4204
4225
|
})
|
|
4205
|
-
),
|
|
4226
|
+
), Fi = (e, t = {}) => {
|
|
4206
4227
|
var r, n, i, o;
|
|
4207
4228
|
let s = t;
|
|
4208
4229
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4215,9 +4236,9 @@ const le = (e, t) => {
|
|
|
4215
4236
|
throw new Error(
|
|
4216
4237
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4217
4238
|
);
|
|
4218
|
-
let c =
|
|
4239
|
+
let c = ar(e, l);
|
|
4219
4240
|
if (!c)
|
|
4220
|
-
c = (o = (i = (n = (r =
|
|
4241
|
+
c = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4221
4242
|
else if (typeof c != "string")
|
|
4222
4243
|
return console.warn(
|
|
4223
4244
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4226,7 +4247,7 @@ const le = (e, t) => {
|
|
|
4226
4247
|
return c;
|
|
4227
4248
|
let h = c;
|
|
4228
4249
|
try {
|
|
4229
|
-
h =
|
|
4250
|
+
h = Ui(c, l).format(a);
|
|
4230
4251
|
} catch (f) {
|
|
4231
4252
|
f instanceof Error && console.warn(
|
|
4232
4253
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4234,21 +4255,21 @@ const le = (e, t) => {
|
|
|
4234
4255
|
);
|
|
4235
4256
|
}
|
|
4236
4257
|
return h;
|
|
4237
|
-
},
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4258
|
+
}, Gi = (e, t) => Di(t).format(e), ji = (e, t) => Ri(t).format(e), ki = (e, t) => $i(t).format(e), Wi = (e, t = j()) => ar(e, t), zi = te([re, ce], () => Fi);
|
|
4259
|
+
te([re], () => Gi);
|
|
4260
|
+
te([re], () => ji);
|
|
4261
|
+
te([re], () => ki);
|
|
4262
|
+
te([re, ce], () => Wi);
|
|
4242
4263
|
window.emWidgets = { topic: rn };
|
|
4243
|
-
const
|
|
4264
|
+
const Vi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4244
4265
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4245
|
-
function
|
|
4246
|
-
|
|
4266
|
+
function Pt(e, t) {
|
|
4267
|
+
lr(e, t);
|
|
4247
4268
|
}
|
|
4248
|
-
function
|
|
4249
|
-
|
|
4269
|
+
function Xi(e) {
|
|
4270
|
+
re.set(e);
|
|
4250
4271
|
}
|
|
4251
|
-
const
|
|
4272
|
+
const Ot = {
|
|
4252
4273
|
en: {
|
|
4253
4274
|
titleAccountClosure: "Account Closure",
|
|
4254
4275
|
accountClosureDescription: "Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",
|
|
@@ -4338,13 +4359,13 @@ const Mt = {
|
|
|
4338
4359
|
accountClosureConfirm: "Yes"
|
|
4339
4360
|
}
|
|
4340
4361
|
};
|
|
4341
|
-
function
|
|
4362
|
+
function Zi(e, t) {
|
|
4342
4363
|
if (e) {
|
|
4343
4364
|
const r = document.createElement("style");
|
|
4344
4365
|
r.innerHTML = t, e.appendChild(r);
|
|
4345
4366
|
}
|
|
4346
4367
|
}
|
|
4347
|
-
function
|
|
4368
|
+
function qi(e, t) {
|
|
4348
4369
|
if (!e || !t)
|
|
4349
4370
|
return;
|
|
4350
4371
|
const r = new URL(t);
|
|
@@ -4355,7 +4376,7 @@ function Xi(e, t) {
|
|
|
4355
4376
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4356
4377
|
});
|
|
4357
4378
|
}
|
|
4358
|
-
function
|
|
4379
|
+
function Qi(e, t, r) {
|
|
4359
4380
|
if (window.emMessageBus) {
|
|
4360
4381
|
const n = document.createElement("style");
|
|
4361
4382
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4363,21 +4384,21 @@ function Zi(e, t, r) {
|
|
|
4363
4384
|
});
|
|
4364
4385
|
}
|
|
4365
4386
|
}
|
|
4366
|
-
function
|
|
4367
|
-
|
|
4387
|
+
function Yi(e) {
|
|
4388
|
+
_r(e, "svelte-1qi2pir", '.skeletonContainerClosure .skeletonWrapper{animation:fadeIn ease 0.3s;display:flex;flex-wrap:wrap;gap:8px}.skeletonContainerClosure .skeletonWrapper .skeletonNotification{width:100%}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:var(--emw--border-radius-medium, 10px);padding:50px;height:100vh}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--button-border-radius, 10px);padding:13px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;max-width:400px;min-width:200px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer;border:none}.AccountClosureSave:hover{filter:brightness(0.9)}.AccountClosureSave.AccountClosureSaveMobile{width:100%;padding:10px 0;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{position:relative;background:var(--emw--color-primary, #23B04E);padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;left:-8px;width:103%;height:105%;z-index:-1;opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{justify-content:center;display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:42px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalCancel:hover,.ModalWrapper .ModalBody .ModalConfirm:hover{filter:brightness(0.9)}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}');
|
|
4368
4389
|
}
|
|
4369
|
-
function
|
|
4390
|
+
function Ji(e, t, r) {
|
|
4370
4391
|
const n = e.slice();
|
|
4371
4392
|
return n[22] = t[r], n;
|
|
4372
4393
|
}
|
|
4373
|
-
function
|
|
4394
|
+
function Ki(e) {
|
|
4374
4395
|
let t, r, n, i, o, s, a, l, u, c, h = (
|
|
4375
4396
|
/*$_*/
|
|
4376
4397
|
e[3]("titleAccountClosure") + ""
|
|
4377
4398
|
), f, p, m;
|
|
4378
4399
|
return {
|
|
4379
4400
|
c() {
|
|
4380
|
-
t = H("div"), r =
|
|
4401
|
+
t = H("div"), r = W("svg"), n = W("defs"), i = W("style"), o = R(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = W("g"), a = W("g"), l = W("path"), u = F(), c = H("h2"), f = R(h), x(l, "class", "aaa"), x(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(l, "transform", "translate(15 15) rotate(180)"), x(a, "transform", "translate(20 158)"), x(s, "transform", "translate(-20 -158)"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "width", "15"), x(r, "height", "15"), x(r, "viewBox", "0 0 15 15"), x(c, "class", "AccountClosureTitleMobile"), x(c, "part", "AccountClosureTitleMobile"), x(t, "class", "MenuReturnButton"), x(t, "part", "MenuReturnButton");
|
|
4381
4402
|
},
|
|
4382
4403
|
m(d, _) {
|
|
4383
4404
|
G(d, t, _), g(t, r), g(r, n), g(n, i), g(i, o), g(r, s), g(s, a), g(a, l), g(t, u), g(t, c), g(c, f), p || (m = ge(
|
|
@@ -4397,14 +4418,14 @@ function Yi(e) {
|
|
|
4397
4418
|
}
|
|
4398
4419
|
};
|
|
4399
4420
|
}
|
|
4400
|
-
function
|
|
4421
|
+
function eo(e) {
|
|
4401
4422
|
let t, r, n = (
|
|
4402
4423
|
/*$_*/
|
|
4403
4424
|
e[3]("accountClosureDescription") + ""
|
|
4404
4425
|
);
|
|
4405
4426
|
return {
|
|
4406
4427
|
c() {
|
|
4407
|
-
t = H("div"), r = H("p"),
|
|
4428
|
+
t = H("div"), r = H("p"), x(t, "class", "AccountClosureDescription " + /*isMobile*/
|
|
4408
4429
|
(e[4] ? "AccountClosureDescriptionMobile" : ""));
|
|
4409
4430
|
},
|
|
4410
4431
|
m(i, o) {
|
|
@@ -4420,16 +4441,16 @@ function Ji(e) {
|
|
|
4420
4441
|
}
|
|
4421
4442
|
};
|
|
4422
4443
|
}
|
|
4423
|
-
function
|
|
4424
|
-
let t, r, n =
|
|
4444
|
+
function to(e) {
|
|
4445
|
+
let t, r, n = Lr({ length: 4 }), i = [];
|
|
4425
4446
|
for (let o = 0; o < n.length; o += 1)
|
|
4426
|
-
i[o] =
|
|
4447
|
+
i[o] = ro(Ji(e, n, o));
|
|
4427
4448
|
return {
|
|
4428
4449
|
c() {
|
|
4429
4450
|
t = H("div"), r = H("div");
|
|
4430
4451
|
for (let o = 0; o < i.length; o += 1)
|
|
4431
4452
|
i[o].c();
|
|
4432
|
-
|
|
4453
|
+
x(r, "class", "skeletonWrapper"), x(t, "class", "skeletonContainerClosure");
|
|
4433
4454
|
},
|
|
4434
4455
|
m(o, s) {
|
|
4435
4456
|
G(o, t, s), g(t, r);
|
|
@@ -4438,15 +4459,15 @@ function Ki(e) {
|
|
|
4438
4459
|
},
|
|
4439
4460
|
p: O,
|
|
4440
4461
|
d(o) {
|
|
4441
|
-
o && D(t),
|
|
4462
|
+
o && D(t), Ar(i, o);
|
|
4442
4463
|
}
|
|
4443
4464
|
};
|
|
4444
4465
|
}
|
|
4445
|
-
function
|
|
4466
|
+
function ro(e) {
|
|
4446
4467
|
let t;
|
|
4447
4468
|
return {
|
|
4448
4469
|
c() {
|
|
4449
|
-
t = H("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ',
|
|
4470
|
+
t = H("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ', x(t, "class", "skeletonNotification");
|
|
4450
4471
|
},
|
|
4451
4472
|
m(r, n) {
|
|
4452
4473
|
G(r, t, n);
|
|
@@ -4457,7 +4478,7 @@ function eo(e) {
|
|
|
4457
4478
|
}
|
|
4458
4479
|
};
|
|
4459
4480
|
}
|
|
4460
|
-
function
|
|
4481
|
+
function Nt(e) {
|
|
4461
4482
|
let t, r, n, i, o = (
|
|
4462
4483
|
/*$_*/
|
|
4463
4484
|
e[3]("modal") + ""
|
|
@@ -4470,11 +4491,11 @@ function Pt(e) {
|
|
|
4470
4491
|
), d, _, P;
|
|
4471
4492
|
return {
|
|
4472
4493
|
c() {
|
|
4473
|
-
t = H("div"), r = H("div"), n = H("div"), i = H("p"), s = R(o), a = F(), l = H("div"), u = H("button"), h = R(c), f = F(), p = H("button"), d = R(m),
|
|
4494
|
+
t = H("div"), r = H("div"), n = H("div"), i = H("p"), s = R(o), a = F(), l = H("div"), u = H("button"), h = R(c), f = F(), p = H("button"), d = R(m), x(i, "class", "ModalText"), x(u, "class", "ModalCancel"), x(p, "class", "ModalConfirm"), x(l, "class", "ModalButtons"), x(n, "class", "ModalBody"), x(r, "class", "ModalContent"), x(t, "class", "ModalWrapper " + /*isMobile*/
|
|
4474
4495
|
(e[4] ? "ModalWrapperMobile" : ""));
|
|
4475
4496
|
},
|
|
4476
|
-
m(T,
|
|
4477
|
-
G(T, t,
|
|
4497
|
+
m(T, y) {
|
|
4498
|
+
G(T, t, y), g(t, r), g(r, n), g(n, i), g(i, s), g(n, a), g(n, l), g(l, u), g(u, h), g(l, f), g(l, p), g(p, d), _ || (P = [
|
|
4478
4499
|
ge(
|
|
4479
4500
|
u,
|
|
4480
4501
|
"click",
|
|
@@ -4489,21 +4510,21 @@ function Pt(e) {
|
|
|
4489
4510
|
)
|
|
4490
4511
|
], _ = !0);
|
|
4491
4512
|
},
|
|
4492
|
-
p(T,
|
|
4493
|
-
|
|
4513
|
+
p(T, y) {
|
|
4514
|
+
y & /*$_*/
|
|
4494
4515
|
8 && o !== (o = /*$_*/
|
|
4495
|
-
T[3]("modal") + "") && Z(s, o),
|
|
4516
|
+
T[3]("modal") + "") && Z(s, o), y & /*$_*/
|
|
4496
4517
|
8 && c !== (c = /*$_*/
|
|
4497
|
-
T[3]("accountClosureCancel") + "") && Z(h, c),
|
|
4518
|
+
T[3]("accountClosureCancel") + "") && Z(h, c), y & /*$_*/
|
|
4498
4519
|
8 && m !== (m = /*$_*/
|
|
4499
4520
|
T[3]("accountClosureConfirm") + "") && Z(d, m);
|
|
4500
4521
|
},
|
|
4501
4522
|
d(T) {
|
|
4502
|
-
T && D(t), _ = !1,
|
|
4523
|
+
T && D(t), _ = !1, ee(P);
|
|
4503
4524
|
}
|
|
4504
4525
|
};
|
|
4505
4526
|
}
|
|
4506
|
-
function
|
|
4527
|
+
function no(e) {
|
|
4507
4528
|
let t, r, n, i, o = (
|
|
4508
4529
|
/*$_*/
|
|
4509
4530
|
e[3]("titleAccountClosure") + ""
|
|
@@ -4512,58 +4533,58 @@ function to(e) {
|
|
|
4512
4533
|
e[3]("closeAccount") + ""
|
|
4513
4534
|
), f, p, m, d, _ = (
|
|
4514
4535
|
/*isMobile*/
|
|
4515
|
-
e[4] &&
|
|
4536
|
+
e[4] && Ki(e)
|
|
4516
4537
|
);
|
|
4517
|
-
function P(
|
|
4538
|
+
function P(E, B) {
|
|
4518
4539
|
return (
|
|
4519
4540
|
/*skeletonLoading*/
|
|
4520
|
-
|
|
4541
|
+
E[1] ? to : eo
|
|
4521
4542
|
);
|
|
4522
4543
|
}
|
|
4523
|
-
let T = P(e),
|
|
4544
|
+
let T = P(e), y = T(e), A = (
|
|
4524
4545
|
/*closureModal*/
|
|
4525
|
-
e[2] &&
|
|
4546
|
+
e[2] && Nt(e)
|
|
4526
4547
|
);
|
|
4527
4548
|
return {
|
|
4528
4549
|
c() {
|
|
4529
|
-
t = H("div"), r = H("div"), _ && _.c(), n = F(), i = H("h2"), s = R(o), a = F(),
|
|
4530
|
-
(e[4] ? "AccountClosureTitleNone" : "")),
|
|
4531
|
-
(e[4] ? "AccountClosureSaveMobile" : "")),
|
|
4532
|
-
(e[4] ? "AccountClosureActionButtonsMobile" : "")),
|
|
4550
|
+
t = H("div"), r = H("div"), _ && _.c(), n = F(), i = H("h2"), s = R(o), a = F(), y.c(), l = F(), u = H("div"), c = H("button"), f = R(h), p = F(), A && A.c(), x(i, "class", "AccountClosureTitle " + /*isMobile*/
|
|
4551
|
+
(e[4] ? "AccountClosureTitleNone" : "")), x(c, "class", "AccountClosureSave " + /*isMobile*/
|
|
4552
|
+
(e[4] ? "AccountClosureSaveMobile" : "")), x(u, "class", "AccountClosureActionButtons " + /*isMobile*/
|
|
4553
|
+
(e[4] ? "AccountClosureActionButtonsMobile" : "")), x(r, "class", "AccountClosureWrapper " + /*isMobile*/
|
|
4533
4554
|
(e[4] ? "AccountClosureWrapperMobile" : ""));
|
|
4534
4555
|
},
|
|
4535
|
-
m(
|
|
4536
|
-
G(
|
|
4556
|
+
m(E, B) {
|
|
4557
|
+
G(E, t, B), g(t, r), _ && _.m(r, null), g(r, n), g(r, i), g(i, s), g(r, a), y.m(r, null), g(r, l), g(r, u), g(u, c), g(c, f), g(t, p), A && A.m(t, null), e[17](t), m || (d = ge(
|
|
4537
4558
|
c,
|
|
4538
4559
|
"click",
|
|
4539
4560
|
/*click_handler_1*/
|
|
4540
4561
|
e[14]
|
|
4541
4562
|
), m = !0);
|
|
4542
4563
|
},
|
|
4543
|
-
p(
|
|
4564
|
+
p(E, [B]) {
|
|
4544
4565
|
/*isMobile*/
|
|
4545
|
-
|
|
4566
|
+
E[4] && _.p(E, B), B & /*$_*/
|
|
4546
4567
|
8 && o !== (o = /*$_*/
|
|
4547
|
-
|
|
4568
|
+
E[3]("titleAccountClosure") + "") && Z(s, o), T === (T = P(E)) && y ? y.p(E, B) : (y.d(1), y = T(E), y && (y.c(), y.m(r, l))), B & /*$_*/
|
|
4548
4569
|
8 && h !== (h = /*$_*/
|
|
4549
|
-
|
|
4550
|
-
|
|
4570
|
+
E[3]("closeAccount") + "") && Z(f, h), /*closureModal*/
|
|
4571
|
+
E[2] ? A ? A.p(E, B) : (A = Nt(E), A.c(), A.m(t, null)) : A && (A.d(1), A = null);
|
|
4551
4572
|
},
|
|
4552
4573
|
i: O,
|
|
4553
4574
|
o: O,
|
|
4554
|
-
d(
|
|
4555
|
-
|
|
4575
|
+
d(E) {
|
|
4576
|
+
E && D(t), _ && _.d(), y.d(), A && A.d(), e[17](null), m = !1, d();
|
|
4556
4577
|
}
|
|
4557
4578
|
};
|
|
4558
4579
|
}
|
|
4559
|
-
function
|
|
4580
|
+
function io(e, t, r) {
|
|
4560
4581
|
let n;
|
|
4561
|
-
|
|
4562
|
-
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: l = "" } = t, u = window.navigator.userAgent, c =
|
|
4582
|
+
xr(e, zi, (C) => r(3, n = C));
|
|
4583
|
+
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: a } = t, { translationurl: l = "" } = t, u = window.navigator.userAgent, c = Vi(u) !== "PC", h = !1, f = !1, p;
|
|
4563
4584
|
const m = () => {
|
|
4564
4585
|
r(1, h = !0), fetch(l).then((k) => k.json()).then((k) => {
|
|
4565
|
-
Object.keys(k).forEach((
|
|
4566
|
-
|
|
4586
|
+
Object.keys(k).forEach((it) => {
|
|
4587
|
+
Pt(it, k[it]);
|
|
4567
4588
|
});
|
|
4568
4589
|
}).catch((k) => {
|
|
4569
4590
|
console.log(k);
|
|
@@ -4571,11 +4592,11 @@ function ro(e, t, r) {
|
|
|
4571
4592
|
r(1, h = !1);
|
|
4572
4593
|
});
|
|
4573
4594
|
};
|
|
4574
|
-
Object.keys(
|
|
4575
|
-
|
|
4595
|
+
Object.keys(Ot).forEach((C) => {
|
|
4596
|
+
Pt(C, Ot[C]);
|
|
4576
4597
|
});
|
|
4577
|
-
const d = (
|
|
4578
|
-
r(2, f =
|
|
4598
|
+
const d = (C) => {
|
|
4599
|
+
r(2, f = C), C === !0 ? window.postMessage({ type: "DisableScroll" }, window.location.href) : window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
4579
4600
|
}, _ = () => {
|
|
4580
4601
|
d(!1), window.postMessage({ type: "AccountClosure" }, window.location.href);
|
|
4581
4602
|
}, P = () => {
|
|
@@ -4587,24 +4608,24 @@ function ro(e, t, r) {
|
|
|
4587
4608
|
window.location.href
|
|
4588
4609
|
);
|
|
4589
4610
|
}, T = () => {
|
|
4590
|
-
|
|
4611
|
+
Xi(i);
|
|
4591
4612
|
};
|
|
4592
|
-
|
|
4613
|
+
Hr(() => () => {
|
|
4593
4614
|
});
|
|
4594
|
-
const
|
|
4595
|
-
function he(
|
|
4596
|
-
|
|
4597
|
-
p =
|
|
4615
|
+
const y = () => P(), A = () => d(!0), E = () => d(!1), B = () => _();
|
|
4616
|
+
function he(C) {
|
|
4617
|
+
Re[C ? "unshift" : "push"](() => {
|
|
4618
|
+
p = C, r(0, p);
|
|
4598
4619
|
});
|
|
4599
4620
|
}
|
|
4600
|
-
return e.$$set = (
|
|
4601
|
-
"lang" in
|
|
4621
|
+
return e.$$set = (C) => {
|
|
4622
|
+
"lang" in C && r(8, i = C.lang), "clientstyling" in C && r(9, o = C.clientstyling), "clientstylingurl" in C && r(10, s = C.clientstylingurl), "mbsource" in C && r(11, a = C.mbsource), "translationurl" in C && r(12, l = C.translationurl);
|
|
4602
4623
|
}, e.$$.update = () => {
|
|
4603
4624
|
e.$$.dirty & /*lang*/
|
|
4604
4625
|
256 && i && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4605
|
-
513 && o && p &&
|
|
4606
|
-
1025 && s && p &&
|
|
4607
|
-
2049 && a && p &&
|
|
4626
|
+
513 && o && p && Zi(p, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4627
|
+
1025 && s && p && qi(p, s), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4628
|
+
2049 && a && p && Qi(p, `${a}.Style`), e.$$.dirty & /*translationurl*/
|
|
4608
4629
|
4096 && l && m();
|
|
4609
4630
|
}, [
|
|
4610
4631
|
p,
|
|
@@ -4620,21 +4641,21 @@ function ro(e, t, r) {
|
|
|
4620
4641
|
s,
|
|
4621
4642
|
a,
|
|
4622
4643
|
l,
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4644
|
+
y,
|
|
4645
|
+
A,
|
|
4646
|
+
E,
|
|
4626
4647
|
B,
|
|
4627
4648
|
he
|
|
4628
4649
|
];
|
|
4629
4650
|
}
|
|
4630
|
-
class
|
|
4651
|
+
class oo extends Gr {
|
|
4631
4652
|
constructor(t) {
|
|
4632
|
-
super(),
|
|
4653
|
+
super(), Ur(
|
|
4633
4654
|
this,
|
|
4634
4655
|
t,
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4656
|
+
io,
|
|
4657
|
+
no,
|
|
4658
|
+
Lt,
|
|
4638
4659
|
{
|
|
4639
4660
|
lang: 8,
|
|
4640
4661
|
clientstyling: 9,
|
|
@@ -4642,7 +4663,7 @@ class no extends Fr {
|
|
|
4642
4663
|
mbsource: 11,
|
|
4643
4664
|
translationurl: 12
|
|
4644
4665
|
},
|
|
4645
|
-
|
|
4666
|
+
Yi
|
|
4646
4667
|
);
|
|
4647
4668
|
}
|
|
4648
4669
|
get lang() {
|
|
@@ -4676,7 +4697,7 @@ class no extends Fr {
|
|
|
4676
4697
|
this.$$set({ translationurl: t }), U();
|
|
4677
4698
|
}
|
|
4678
4699
|
}
|
|
4679
|
-
|
|
4700
|
+
Fr(oo, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
4680
4701
|
export {
|
|
4681
|
-
|
|
4702
|
+
oo as default
|
|
4682
4703
|
};
|