@everymatrix/player-account-timeout 1.62.0 → 1.62.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGeneralConfirmationModal-Bnh1XDOd.js → PlayerAccountGeneralConfirmationModal-CKzORDMY.js} +838 -817
- package/components/PlayerAccountGeneralConfirmationModal-ChKhKOY5.cjs +18 -0
- package/components/{PlayerAccountGeneralConfirmationModal-DoeReNtd.js → PlayerAccountGeneralConfirmationModal-cP_jKmB5.js} +821 -800
- package/components/{PlayerAccountTimeout-CtgsVY-4.js → PlayerAccountTimeout-BGw7EG3p.js} +762 -767
- package/components/{PlayerAccountTimeout-DpDUGrx8.cjs → PlayerAccountTimeout-CzK3xNFx.cjs} +153 -153
- package/components/{PlayerAccountTimeout-BTGRn1BA.js → PlayerAccountTimeout-DGkTGR3e.js} +777 -782
- package/es2015/player-account-timeout.cjs +1 -1
- package/es2015/player-account-timeout.js +1 -1
- package/esnext/player-account-timeout.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-BcYyCldH.js +519 -0
- package/stencil/index-b2193545-CPztmidm.js +503 -0
- package/stencil/index-b2193545-D1Z0k4-D.cjs +1 -0
- package/stencil/{ui-skeleton-6d1c12ae-DKB12dOW.cjs → ui-skeleton-1cb75d00-CUSs6C3A.cjs} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-C5e2VP5y.js → ui-skeleton-1cb75d00-CXHx_pAM.js} +4 -4
- package/stencil/{ui-skeleton-6d1c12ae-DLWiyoXw.js → ui-skeleton-1cb75d00-z2mX3TRi.js} +4 -4
- package/stencil/{ui-skeleton-_WkW-KOf.js → ui-skeleton-4ifa-7wH.js} +2 -2
- package/stencil/{ui-skeleton-B5-YtBjf.js → ui-skeleton-Bk5dn5mu.js} +2 -2
- package/stencil/{ui-skeleton-Bhrn0PZm.cjs → ui-skeleton-CCXvjIzA.cjs} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-BOJYp5ik.cjs +0 -18
- package/stencil/index-b2193545-BdZPWlnP.js +0 -503
- package/stencil/index-b2193545-Y5GTD6hC.js +0 -519
- package/stencil/index-b2193545-fy9dEEzw.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Er = Object.defineProperty, Sr = Object.defineProperties;
|
|
2
|
+
var wr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ot = Object.getOwnPropertySymbols;
|
|
4
|
+
var Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Be = (e, t, r) => t in e ? Er(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
|
+
Tr.call(t, r) && Be(e, r, t[r]);
|
|
8
|
+
if (ot)
|
|
9
|
+
for (var r of ot(t))
|
|
10
|
+
Hr.call(t, r) && Be(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var O = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, at = (e, t) => Sr(e, wr(t));
|
|
13
|
+
var O = (e, t, r) => (Be(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,9 +27,9 @@ 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
|
-
function
|
|
30
|
+
function R() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Br(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -37,46 +37,46 @@ function Hr(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function $t(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function lt() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
e.forEach(
|
|
46
|
+
function J(e) {
|
|
47
|
+
e.forEach($t);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function tt(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Gt(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Ar(e) {
|
|
56
56
|
return Object.keys(e).length === 0;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function Ut(e, ...t) {
|
|
59
59
|
if (e == null) {
|
|
60
60
|
for (const n of t)
|
|
61
61
|
n(void 0);
|
|
62
|
-
return
|
|
62
|
+
return R;
|
|
63
63
|
}
|
|
64
64
|
const r = e.subscribe(...t);
|
|
65
65
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
e.$$.on_destroy.push(
|
|
67
|
+
function Cr(e, t, r) {
|
|
68
|
+
e.$$.on_destroy.push(Ut(t, r));
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Pr(e, t, r, n) {
|
|
71
71
|
if (e) {
|
|
72
|
-
const i =
|
|
72
|
+
const i = Dt(e, t, r, n);
|
|
73
73
|
return e[0](i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
return e[1] && n ?
|
|
76
|
+
function Dt(e, t, r, n) {
|
|
77
|
+
return e[1] && n ? Br(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Or(e, t, r, n) {
|
|
80
80
|
if (e[2] && n) {
|
|
81
81
|
const i = e[2](n(r));
|
|
82
82
|
if (t.dirty === void 0)
|
|
@@ -91,13 +91,13 @@ function Pr(e, t, r, n) {
|
|
|
91
91
|
}
|
|
92
92
|
return t.dirty;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Ir(e, t, r, n, i, o) {
|
|
95
95
|
if (i) {
|
|
96
|
-
const s =
|
|
96
|
+
const s = Dt(t, r, n, o);
|
|
97
97
|
e.p(s, i);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Mr(e) {
|
|
101
101
|
if (e.ctx.length > 32) {
|
|
102
102
|
const t = [], r = e.ctx.length / 32;
|
|
103
103
|
for (let n = 0; n < r; n++)
|
|
@@ -109,14 +109,14 @@ function Ir(e) {
|
|
|
109
109
|
function B(e, t) {
|
|
110
110
|
e.appendChild(t);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
const n =
|
|
112
|
+
function Nr(e, t, r) {
|
|
113
|
+
const n = Lr(e);
|
|
114
114
|
if (!n.getElementById(t)) {
|
|
115
115
|
const i = N("style");
|
|
116
|
-
i.id = t, i.textContent = r,
|
|
116
|
+
i.id = t, i.textContent = r, Rr(n, i);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Lr(e) {
|
|
120
120
|
if (!e)
|
|
121
121
|
return document;
|
|
122
122
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -126,62 +126,62 @@ function Nr(e) {
|
|
|
126
126
|
t
|
|
127
127
|
) : e.ownerDocument;
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Rr(e, t) {
|
|
130
130
|
return B(
|
|
131
131
|
/** @type {Document} */
|
|
132
132
|
e.head || e,
|
|
133
133
|
t
|
|
134
134
|
), t.sheet;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function se(e, t, r) {
|
|
137
137
|
e.insertBefore(t, r || null);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function q(e) {
|
|
140
140
|
e.parentNode && e.parentNode.removeChild(e);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function po(e, t) {
|
|
143
143
|
for (let r = 0; r < e.length; r += 1)
|
|
144
144
|
e[r] && e[r].d(t);
|
|
145
145
|
}
|
|
146
146
|
function N(e) {
|
|
147
147
|
return document.createElement(e);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function ht(e) {
|
|
150
150
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function X(e) {
|
|
153
153
|
return document.createTextNode(e);
|
|
154
154
|
}
|
|
155
155
|
function le() {
|
|
156
|
-
return
|
|
156
|
+
return X(" ");
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
return
|
|
158
|
+
function bo() {
|
|
159
|
+
return X("");
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Re(e, t, r, n) {
|
|
162
162
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
163
163
|
}
|
|
164
164
|
function H(e, t, r) {
|
|
165
165
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function go(e, t, r) {
|
|
168
168
|
const n = t.toLowerCase();
|
|
169
169
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function $r(e) {
|
|
172
172
|
return Array.from(e.childNodes);
|
|
173
173
|
}
|
|
174
174
|
function ge(e, t) {
|
|
175
175
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
176
176
|
t);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function vo(e, t) {
|
|
179
179
|
e.value = t == null ? "" : t;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function yo(e, t, r, n) {
|
|
182
182
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function _o(e, t, r) {
|
|
185
185
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
186
186
|
const i = e.options[n];
|
|
187
187
|
if (i.__value === t) {
|
|
@@ -191,11 +191,11 @@ function vo(e, t, r) {
|
|
|
191
191
|
}
|
|
192
192
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function xo(e) {
|
|
195
195
|
const t = e.querySelector(":checked");
|
|
196
196
|
return t && t.__value;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Gr(e) {
|
|
199
199
|
const t = {};
|
|
200
200
|
return e.childNodes.forEach(
|
|
201
201
|
/** @param {Element} node */
|
|
@@ -204,108 +204,108 @@ function $r(e) {
|
|
|
204
204
|
}
|
|
205
205
|
), t;
|
|
206
206
|
}
|
|
207
|
-
let
|
|
208
|
-
function
|
|
209
|
-
|
|
207
|
+
let ne;
|
|
208
|
+
function re(e) {
|
|
209
|
+
ne = e;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
212
|
-
if (!
|
|
211
|
+
function Ur() {
|
|
212
|
+
if (!ne)
|
|
213
213
|
throw new Error("Function called outside component initialization");
|
|
214
|
-
return
|
|
214
|
+
return ne;
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
|
|
216
|
+
function Dr(e) {
|
|
217
|
+
Ur().$$.on_mount.push(e);
|
|
218
218
|
}
|
|
219
|
-
const k = [],
|
|
219
|
+
const k = [], $e = [];
|
|
220
220
|
let V = [];
|
|
221
|
-
const
|
|
222
|
-
let
|
|
223
|
-
function
|
|
224
|
-
|
|
221
|
+
const ct = [], Fr = /* @__PURE__ */ Promise.resolve();
|
|
222
|
+
let Ge = !1;
|
|
223
|
+
function jr() {
|
|
224
|
+
Ge || (Ge = !0, Fr.then(I));
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Ue(e) {
|
|
227
227
|
V.push(e);
|
|
228
228
|
}
|
|
229
|
-
const
|
|
229
|
+
const Ae = /* @__PURE__ */ new Set();
|
|
230
230
|
let F = 0;
|
|
231
231
|
function I() {
|
|
232
232
|
if (F !== 0)
|
|
233
233
|
return;
|
|
234
|
-
const e =
|
|
234
|
+
const e = ne;
|
|
235
235
|
do {
|
|
236
236
|
try {
|
|
237
237
|
for (; F < k.length; ) {
|
|
238
238
|
const t = k[F];
|
|
239
|
-
F++,
|
|
239
|
+
F++, re(t), kr(t.$$);
|
|
240
240
|
}
|
|
241
241
|
} catch (t) {
|
|
242
242
|
throw k.length = 0, F = 0, t;
|
|
243
243
|
}
|
|
244
|
-
for (
|
|
245
|
-
|
|
244
|
+
for (re(null), k.length = 0, F = 0; $e.length; )
|
|
245
|
+
$e.pop()();
|
|
246
246
|
for (let t = 0; t < V.length; t += 1) {
|
|
247
247
|
const r = V[t];
|
|
248
|
-
|
|
248
|
+
Ae.has(r) || (Ae.add(r), r());
|
|
249
249
|
}
|
|
250
250
|
V.length = 0;
|
|
251
251
|
} while (k.length);
|
|
252
|
-
for (;
|
|
253
|
-
|
|
254
|
-
|
|
252
|
+
for (; ct.length; )
|
|
253
|
+
ct.pop()();
|
|
254
|
+
Ge = !1, Ae.clear(), re(e);
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function kr(e) {
|
|
257
257
|
if (e.fragment !== null) {
|
|
258
|
-
e.update(),
|
|
258
|
+
e.update(), J(e.before_update);
|
|
259
259
|
const t = e.dirty;
|
|
260
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
260
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function Vr(e) {
|
|
264
264
|
const t = [], r = [];
|
|
265
265
|
V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
|
|
266
266
|
}
|
|
267
267
|
const fe = /* @__PURE__ */ new Set();
|
|
268
|
-
let
|
|
269
|
-
function
|
|
268
|
+
let Xr;
|
|
269
|
+
function Ft(e, t) {
|
|
270
270
|
e && e.i && (fe.delete(e), e.i(t));
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function zr(e, t, r, n) {
|
|
273
273
|
if (e && e.o) {
|
|
274
274
|
if (fe.has(e))
|
|
275
275
|
return;
|
|
276
|
-
fe.add(e),
|
|
276
|
+
fe.add(e), Xr.c.push(() => {
|
|
277
277
|
fe.delete(e);
|
|
278
278
|
}), e.o(t);
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function Eo(e) {
|
|
282
282
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function Wr(e, t, r) {
|
|
285
285
|
const { fragment: n, after_update: i } = e.$$;
|
|
286
|
-
n && n.m(t, r),
|
|
287
|
-
const o = e.$$.on_mount.map(
|
|
288
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
289
|
-
}), i.forEach(
|
|
286
|
+
n && n.m(t, r), Ue(() => {
|
|
287
|
+
const o = e.$$.on_mount.map($t).filter(tt);
|
|
288
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
|
|
289
|
+
}), i.forEach(Ue);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function Zr(e, t) {
|
|
292
292
|
const r = e.$$;
|
|
293
|
-
r.fragment !== null && (
|
|
293
|
+
r.fragment !== null && (Vr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
294
294
|
}
|
|
295
|
-
function
|
|
296
|
-
e.$$.dirty[0] === -1 && (k.push(e),
|
|
295
|
+
function Qr(e, t) {
|
|
296
|
+
e.$$.dirty[0] === -1 && (k.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
299
|
-
const l =
|
|
300
|
-
|
|
298
|
+
function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
299
|
+
const l = ne;
|
|
300
|
+
re(e);
|
|
301
301
|
const u = e.$$ = {
|
|
302
302
|
fragment: null,
|
|
303
303
|
ctx: [],
|
|
304
304
|
// state
|
|
305
305
|
props: o,
|
|
306
|
-
update:
|
|
306
|
+
update: R,
|
|
307
307
|
not_equal: i,
|
|
308
|
-
bound:
|
|
308
|
+
bound: lt(),
|
|
309
309
|
// lifecycle
|
|
310
310
|
on_mount: [],
|
|
311
311
|
on_destroy: [],
|
|
@@ -314,7 +314,7 @@ function Qr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
314
314
|
after_update: [],
|
|
315
315
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
316
316
|
// everything else
|
|
317
|
-
callbacks:
|
|
317
|
+
callbacks: lt(),
|
|
318
318
|
dirty: a,
|
|
319
319
|
skip_bound: !1,
|
|
320
320
|
root: t.target || l.$$.root
|
|
@@ -322,20 +322,20 @@ function Qr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
322
322
|
s && s(u.root);
|
|
323
323
|
let h = !1;
|
|
324
324
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
|
325
|
-
const
|
|
326
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] =
|
|
327
|
-
}) : [], u.update(), h = !0,
|
|
325
|
+
const p = m.length ? m[0] : f;
|
|
326
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && Qr(e, c)), f;
|
|
327
|
+
}) : [], u.update(), h = !0, J(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
328
328
|
if (t.hydrate) {
|
|
329
|
-
const c =
|
|
330
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
329
|
+
const c = $r(t.target);
|
|
330
|
+
u.fragment && u.fragment.l(c), c.forEach(q);
|
|
331
331
|
} else
|
|
332
332
|
u.fragment && u.fragment.c();
|
|
333
|
-
t.intro &&
|
|
333
|
+
t.intro && Ft(e.$$.fragment), Wr(e, t.target, t.anchor), I();
|
|
334
334
|
}
|
|
335
|
-
|
|
335
|
+
re(l);
|
|
336
336
|
}
|
|
337
|
-
let
|
|
338
|
-
typeof HTMLElement == "function" && (
|
|
337
|
+
let jt;
|
|
338
|
+
typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
339
339
|
constructor(t, r, n) {
|
|
340
340
|
super();
|
|
341
341
|
/** The Svelte component constructor */
|
|
@@ -372,7 +372,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
connectedCallback() {
|
|
375
|
-
return
|
|
375
|
+
return ut(this, null, function* () {
|
|
376
376
|
if (this.$$cn = !0, !this.$$c) {
|
|
377
377
|
let t = function(o) {
|
|
378
378
|
return () => {
|
|
@@ -386,17 +386,17 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
386
386
|
* @param {HTMLElement} [anchor]
|
|
387
387
|
*/
|
|
388
388
|
m: function(u, h) {
|
|
389
|
-
|
|
389
|
+
se(u, s, h);
|
|
390
390
|
},
|
|
391
391
|
d: function(u) {
|
|
392
|
-
u &&
|
|
392
|
+
u && q(s);
|
|
393
393
|
}
|
|
394
394
|
};
|
|
395
395
|
};
|
|
396
396
|
};
|
|
397
397
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
398
398
|
return;
|
|
399
|
-
const r = {}, n =
|
|
399
|
+
const r = {}, n = Gr(this);
|
|
400
400
|
for (const o of this.$$s)
|
|
401
401
|
o in n && (r[o] = [t(o)]);
|
|
402
402
|
for (const o of this.attributes) {
|
|
@@ -407,7 +407,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
407
407
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
408
408
|
this.$$c = new this.$$ctor({
|
|
409
409
|
target: this.shadowRoot || this,
|
|
410
|
-
props:
|
|
410
|
+
props: at(st({}, this.$$d), {
|
|
411
411
|
$$slots: r,
|
|
412
412
|
$$scope: {
|
|
413
413
|
ctx: []
|
|
@@ -485,8 +485,8 @@ function me(e, t, r, n) {
|
|
|
485
485
|
return t;
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
|
-
function
|
|
489
|
-
let s = class extends
|
|
488
|
+
function qr(e, t, r, n, i, o) {
|
|
489
|
+
let s = class extends jt {
|
|
490
490
|
constructor() {
|
|
491
491
|
super(e, r, i), this.$$p_d = t;
|
|
492
492
|
}
|
|
@@ -516,7 +516,7 @@ function Jr(e, t, r, n, i, o) {
|
|
|
516
516
|
}), e.element = /** @type {any} */
|
|
517
517
|
s, s;
|
|
518
518
|
}
|
|
519
|
-
class
|
|
519
|
+
class Yr {
|
|
520
520
|
constructor() {
|
|
521
521
|
/**
|
|
522
522
|
* ### PRIVATE API
|
|
@@ -537,7 +537,7 @@ class qr {
|
|
|
537
537
|
}
|
|
538
538
|
/** @returns {void} */
|
|
539
539
|
$destroy() {
|
|
540
|
-
|
|
540
|
+
Zr(this, 1), this.$destroy = R;
|
|
541
541
|
}
|
|
542
542
|
/**
|
|
543
543
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -546,8 +546,8 @@ class qr {
|
|
|
546
546
|
* @returns {() => void}
|
|
547
547
|
*/
|
|
548
548
|
$on(t, r) {
|
|
549
|
-
if (!
|
|
550
|
-
return
|
|
549
|
+
if (!tt(r))
|
|
550
|
+
return R;
|
|
551
551
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
552
552
|
return n.push(r), () => {
|
|
553
553
|
const i = n.indexOf(r);
|
|
@@ -559,13 +559,13 @@ class qr {
|
|
|
559
559
|
* @returns {void}
|
|
560
560
|
*/
|
|
561
561
|
$set(t) {
|
|
562
|
-
this.$$set && !
|
|
562
|
+
this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
|
-
const
|
|
566
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
567
|
-
var
|
|
568
|
-
function
|
|
565
|
+
const Kr = "4";
|
|
566
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kr);
|
|
567
|
+
var So = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
568
|
+
function en(e) {
|
|
569
569
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
570
570
|
}
|
|
571
571
|
/*! *****************************************************************************
|
|
@@ -582,43 +582,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
582
582
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
583
583
|
PERFORMANCE OF THIS SOFTWARE.
|
|
584
584
|
***************************************************************************** */
|
|
585
|
-
var
|
|
586
|
-
return
|
|
585
|
+
var De = function(e, t) {
|
|
586
|
+
return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
587
587
|
r.__proto__ = n;
|
|
588
588
|
} || function(r, n) {
|
|
589
589
|
for (var i in n)
|
|
590
590
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
591
|
-
},
|
|
591
|
+
}, De(e, t);
|
|
592
592
|
};
|
|
593
|
-
function
|
|
593
|
+
function ae(e, t) {
|
|
594
594
|
if (typeof t != "function" && t !== null)
|
|
595
595
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
596
|
-
|
|
596
|
+
De(e, t);
|
|
597
597
|
function r() {
|
|
598
598
|
this.constructor = e;
|
|
599
599
|
}
|
|
600
600
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
601
601
|
}
|
|
602
|
-
|
|
603
|
-
return y = Object.assign || function(t) {
|
|
604
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
605
|
-
r = arguments[n];
|
|
606
|
-
for (var o in r)
|
|
607
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
608
|
-
}
|
|
609
|
-
return t;
|
|
610
|
-
}, y.apply(this, arguments);
|
|
611
|
-
};
|
|
612
|
-
function en(e, t) {
|
|
613
|
-
var r = {};
|
|
614
|
-
for (var n in e)
|
|
615
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
616
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
617
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
618
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
619
|
-
return r;
|
|
620
|
-
}
|
|
621
|
-
function Ue(e) {
|
|
602
|
+
function Fe(e) {
|
|
622
603
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
623
604
|
if (r)
|
|
624
605
|
return r.call(e);
|
|
@@ -630,7 +611,7 @@ function Ue(e) {
|
|
|
630
611
|
};
|
|
631
612
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
632
613
|
}
|
|
633
|
-
function
|
|
614
|
+
function je(e, t) {
|
|
634
615
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
635
616
|
if (!r)
|
|
636
617
|
return e;
|
|
@@ -650,22 +631,22 @@ function De(e, t) {
|
|
|
650
631
|
}
|
|
651
632
|
return o;
|
|
652
633
|
}
|
|
653
|
-
function
|
|
654
|
-
if (
|
|
634
|
+
function ke(e, t, r) {
|
|
635
|
+
if (arguments.length === 2)
|
|
655
636
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
656
637
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
657
638
|
return e.concat(o || t);
|
|
658
639
|
}
|
|
659
|
-
function
|
|
640
|
+
function $(e) {
|
|
660
641
|
return typeof e == "function";
|
|
661
642
|
}
|
|
662
|
-
function
|
|
643
|
+
function kt(e) {
|
|
663
644
|
var t = function(n) {
|
|
664
645
|
Error.call(n), n.stack = new Error().stack;
|
|
665
646
|
}, r = e(t);
|
|
666
647
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
667
648
|
}
|
|
668
|
-
var
|
|
649
|
+
var Ce = kt(function(e) {
|
|
669
650
|
return function(r) {
|
|
670
651
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
671
652
|
` + r.map(function(n, i) {
|
|
@@ -674,7 +655,7 @@ var Be = Ft(function(e) {
|
|
|
674
655
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
675
656
|
};
|
|
676
657
|
});
|
|
677
|
-
function
|
|
658
|
+
function Ve(e, t) {
|
|
678
659
|
if (e) {
|
|
679
660
|
var r = e.indexOf(t);
|
|
680
661
|
0 <= r && e.splice(r, 1);
|
|
@@ -692,12 +673,12 @@ var xe = function() {
|
|
|
692
673
|
if (s)
|
|
693
674
|
if (this._parentage = null, Array.isArray(s))
|
|
694
675
|
try {
|
|
695
|
-
for (var a =
|
|
676
|
+
for (var a = Fe(s), l = a.next(); !l.done; l = a.next()) {
|
|
696
677
|
var u = l.value;
|
|
697
678
|
u.remove(this);
|
|
698
679
|
}
|
|
699
|
-
} catch (
|
|
700
|
-
t = { error:
|
|
680
|
+
} catch (d) {
|
|
681
|
+
t = { error: d };
|
|
701
682
|
} finally {
|
|
702
683
|
try {
|
|
703
684
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -709,26 +690,26 @@ var xe = function() {
|
|
|
709
690
|
else
|
|
710
691
|
s.remove(this);
|
|
711
692
|
var h = this.initialTeardown;
|
|
712
|
-
if (
|
|
693
|
+
if ($(h))
|
|
713
694
|
try {
|
|
714
695
|
h();
|
|
715
|
-
} catch (
|
|
716
|
-
o =
|
|
696
|
+
} catch (d) {
|
|
697
|
+
o = d instanceof Ce ? d.errors : [d];
|
|
717
698
|
}
|
|
718
699
|
var c = this._finalizers;
|
|
719
700
|
if (c) {
|
|
720
701
|
this._finalizers = null;
|
|
721
702
|
try {
|
|
722
|
-
for (var f =
|
|
723
|
-
var
|
|
703
|
+
for (var f = Fe(c), m = f.next(); !m.done; m = f.next()) {
|
|
704
|
+
var p = m.value;
|
|
724
705
|
try {
|
|
725
|
-
|
|
726
|
-
} catch (
|
|
727
|
-
o = o != null ? o : [],
|
|
706
|
+
ft(p);
|
|
707
|
+
} catch (d) {
|
|
708
|
+
o = o != null ? o : [], d instanceof Ce ? o = ke(ke([], je(o)), je(d.errors)) : o.push(d);
|
|
728
709
|
}
|
|
729
710
|
}
|
|
730
|
-
} catch (
|
|
731
|
-
n = { error:
|
|
711
|
+
} catch (d) {
|
|
712
|
+
n = { error: d };
|
|
732
713
|
} finally {
|
|
733
714
|
try {
|
|
734
715
|
m && !m.done && (i = f.return) && i.call(f);
|
|
@@ -739,13 +720,13 @@ var xe = function() {
|
|
|
739
720
|
}
|
|
740
721
|
}
|
|
741
722
|
if (o)
|
|
742
|
-
throw new
|
|
723
|
+
throw new Ce(o);
|
|
743
724
|
}
|
|
744
725
|
}, e.prototype.add = function(t) {
|
|
745
726
|
var r;
|
|
746
727
|
if (t && t !== this)
|
|
747
728
|
if (this.closed)
|
|
748
|
-
|
|
729
|
+
ft(t);
|
|
749
730
|
else {
|
|
750
731
|
if (t instanceof e) {
|
|
751
732
|
if (t.closed || t._hasParent(this))
|
|
@@ -762,56 +743,52 @@ var xe = function() {
|
|
|
762
743
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
763
744
|
}, e.prototype._removeParent = function(t) {
|
|
764
745
|
var r = this._parentage;
|
|
765
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
746
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ve(r, t);
|
|
766
747
|
}, e.prototype.remove = function(t) {
|
|
767
748
|
var r = this._finalizers;
|
|
768
|
-
r &&
|
|
749
|
+
r && Ve(r, t), t instanceof e && t._removeParent(this);
|
|
769
750
|
}, e.EMPTY = function() {
|
|
770
751
|
var t = new e();
|
|
771
752
|
return t.closed = !0, t;
|
|
772
753
|
}(), e;
|
|
773
|
-
}(),
|
|
774
|
-
function
|
|
775
|
-
return e instanceof xe || e && "closed" in e &&
|
|
754
|
+
}(), Vt = xe.EMPTY;
|
|
755
|
+
function Xt(e) {
|
|
756
|
+
return e instanceof xe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
776
757
|
}
|
|
777
|
-
function
|
|
778
|
-
|
|
779
|
-
}
|
|
780
|
-
var
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
Promise: void 0,
|
|
784
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
785
|
-
useDeprecatedNextContext: !1
|
|
786
|
-
}, tn = {
|
|
758
|
+
function ft(e) {
|
|
759
|
+
$(e) ? e() : e.unsubscribe();
|
|
760
|
+
}
|
|
761
|
+
var tn = {
|
|
762
|
+
Promise: void 0
|
|
763
|
+
}, rn = {
|
|
787
764
|
setTimeout: function(e, t) {
|
|
788
765
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
789
766
|
r[n - 2] = arguments[n];
|
|
790
|
-
return setTimeout.apply(void 0,
|
|
767
|
+
return setTimeout.apply(void 0, ke([e, t], je(r)));
|
|
791
768
|
},
|
|
792
769
|
clearTimeout: function(e) {
|
|
793
770
|
return clearTimeout(e);
|
|
794
771
|
},
|
|
795
772
|
delegate: void 0
|
|
796
773
|
};
|
|
797
|
-
function
|
|
798
|
-
|
|
774
|
+
function nn(e) {
|
|
775
|
+
rn.setTimeout(function() {
|
|
799
776
|
throw e;
|
|
800
777
|
});
|
|
801
778
|
}
|
|
802
|
-
function
|
|
779
|
+
function mt() {
|
|
803
780
|
}
|
|
804
|
-
function
|
|
781
|
+
function pe(e) {
|
|
805
782
|
e();
|
|
806
783
|
}
|
|
807
|
-
var
|
|
808
|
-
|
|
784
|
+
var zt = function(e) {
|
|
785
|
+
ae(t, e);
|
|
809
786
|
function t(r) {
|
|
810
787
|
var n = e.call(this) || this;
|
|
811
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
788
|
+
return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = an, n;
|
|
812
789
|
}
|
|
813
790
|
return t.create = function(r, n, i) {
|
|
814
|
-
return new
|
|
791
|
+
return new Xe(r, n, i);
|
|
815
792
|
}, t.prototype.next = function(r) {
|
|
816
793
|
this.isStopped || this._next(r);
|
|
817
794
|
}, t.prototype.error = function(r) {
|
|
@@ -835,11 +812,7 @@ var Xt = function(e) {
|
|
|
835
812
|
this.unsubscribe();
|
|
836
813
|
}
|
|
837
814
|
}, t;
|
|
838
|
-
}(xe),
|
|
839
|
-
function Ae(e, t) {
|
|
840
|
-
return nn.call(e, t);
|
|
841
|
-
}
|
|
842
|
-
var on = function() {
|
|
815
|
+
}(xe), on = function() {
|
|
843
816
|
function e(t) {
|
|
844
817
|
this.partialObserver = t;
|
|
845
818
|
}
|
|
@@ -870,41 +843,29 @@ var on = function() {
|
|
|
870
843
|
he(r);
|
|
871
844
|
}
|
|
872
845
|
}, e;
|
|
873
|
-
}(),
|
|
874
|
-
|
|
846
|
+
}(), Xe = function(e) {
|
|
847
|
+
ae(t, e);
|
|
875
848
|
function t(r, n, i) {
|
|
876
849
|
var o = e.call(this) || this, s;
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
};
|
|
883
|
-
else {
|
|
884
|
-
var a;
|
|
885
|
-
o && Vt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
886
|
-
return o.unsubscribe();
|
|
887
|
-
}, s = {
|
|
888
|
-
next: r.next && Ae(r.next, a),
|
|
889
|
-
error: r.error && Ae(r.error, a),
|
|
890
|
-
complete: r.complete && Ae(r.complete, a)
|
|
891
|
-
}) : s = r;
|
|
892
|
-
}
|
|
893
|
-
return o.destination = new on(s), o;
|
|
850
|
+
return $(r) || !r ? s = {
|
|
851
|
+
next: r != null ? r : void 0,
|
|
852
|
+
error: n != null ? n : void 0,
|
|
853
|
+
complete: i != null ? i : void 0
|
|
854
|
+
} : s = r, o.destination = new on(s), o;
|
|
894
855
|
}
|
|
895
856
|
return t;
|
|
896
|
-
}(
|
|
857
|
+
}(zt);
|
|
897
858
|
function he(e) {
|
|
898
|
-
|
|
859
|
+
nn(e);
|
|
899
860
|
}
|
|
900
861
|
function sn(e) {
|
|
901
862
|
throw e;
|
|
902
863
|
}
|
|
903
864
|
var an = {
|
|
904
865
|
closed: !0,
|
|
905
|
-
next:
|
|
866
|
+
next: mt,
|
|
906
867
|
error: sn,
|
|
907
|
-
complete:
|
|
868
|
+
complete: mt
|
|
908
869
|
}, un = function() {
|
|
909
870
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
910
871
|
}();
|
|
@@ -918,7 +879,7 @@ function hn(e) {
|
|
|
918
879
|
}, r);
|
|
919
880
|
};
|
|
920
881
|
}
|
|
921
|
-
var
|
|
882
|
+
var pt = function() {
|
|
922
883
|
function e(t) {
|
|
923
884
|
t && (this._subscribe = t);
|
|
924
885
|
}
|
|
@@ -926,8 +887,8 @@ var ft = function() {
|
|
|
926
887
|
var r = new e();
|
|
927
888
|
return r.source = this, r.operator = t, r;
|
|
928
889
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
929
|
-
var i = this, o = fn(t) ? t : new
|
|
930
|
-
return
|
|
890
|
+
var i = this, o = fn(t) ? t : new Xe(t, r, n);
|
|
891
|
+
return pe(function() {
|
|
931
892
|
var s = i, a = s.operator, l = s.source;
|
|
932
893
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
933
894
|
}), o;
|
|
@@ -939,8 +900,8 @@ var ft = function() {
|
|
|
939
900
|
}
|
|
940
901
|
}, e.prototype.forEach = function(t, r) {
|
|
941
902
|
var n = this;
|
|
942
|
-
return r =
|
|
943
|
-
var s = new
|
|
903
|
+
return r = dt(r), new r(function(i, o) {
|
|
904
|
+
var s = new Xe({
|
|
944
905
|
next: function(a) {
|
|
945
906
|
try {
|
|
946
907
|
t(a);
|
|
@@ -964,7 +925,7 @@ var ft = function() {
|
|
|
964
925
|
return hn(t)(this);
|
|
965
926
|
}, e.prototype.toPromise = function(t) {
|
|
966
927
|
var r = this;
|
|
967
|
-
return t =
|
|
928
|
+
return t = dt(t), new t(function(n, i) {
|
|
968
929
|
var o;
|
|
969
930
|
r.subscribe(function(s) {
|
|
970
931
|
return o = s;
|
|
@@ -978,40 +939,40 @@ var ft = function() {
|
|
|
978
939
|
return new e(t);
|
|
979
940
|
}, e;
|
|
980
941
|
}();
|
|
981
|
-
function
|
|
942
|
+
function dt(e) {
|
|
982
943
|
var t;
|
|
983
|
-
return (t = e != null ? e :
|
|
944
|
+
return (t = e != null ? e : tn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
984
945
|
}
|
|
985
946
|
function cn(e) {
|
|
986
|
-
return e &&
|
|
947
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
987
948
|
}
|
|
988
949
|
function fn(e) {
|
|
989
|
-
return e && e instanceof
|
|
950
|
+
return e && e instanceof zt || cn(e) && Xt(e);
|
|
990
951
|
}
|
|
991
|
-
var mn =
|
|
952
|
+
var mn = kt(function(e) {
|
|
992
953
|
return function() {
|
|
993
954
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
994
955
|
};
|
|
995
|
-
}),
|
|
996
|
-
|
|
956
|
+
}), Wt = function(e) {
|
|
957
|
+
ae(t, e);
|
|
997
958
|
function t() {
|
|
998
959
|
var r = e.call(this) || this;
|
|
999
960
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1000
961
|
}
|
|
1001
962
|
return t.prototype.lift = function(r) {
|
|
1002
|
-
var n = new
|
|
963
|
+
var n = new bt(this, this);
|
|
1003
964
|
return n.operator = r, n;
|
|
1004
965
|
}, t.prototype._throwIfClosed = function() {
|
|
1005
966
|
if (this.closed)
|
|
1006
967
|
throw new mn();
|
|
1007
968
|
}, t.prototype.next = function(r) {
|
|
1008
969
|
var n = this;
|
|
1009
|
-
|
|
970
|
+
pe(function() {
|
|
1010
971
|
var i, o;
|
|
1011
972
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1012
973
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1013
974
|
try {
|
|
1014
|
-
for (var s =
|
|
975
|
+
for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
1015
976
|
var l = a.value;
|
|
1016
977
|
l.next(r);
|
|
1017
978
|
}
|
|
@@ -1029,7 +990,7 @@ var mn = Ft(function(e) {
|
|
|
1029
990
|
});
|
|
1030
991
|
}, t.prototype.error = function(r) {
|
|
1031
992
|
var n = this;
|
|
1032
|
-
|
|
993
|
+
pe(function() {
|
|
1033
994
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1034
995
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
1035
996
|
for (var i = n.observers; i.length; )
|
|
@@ -1038,7 +999,7 @@ var mn = Ft(function(e) {
|
|
|
1038
999
|
});
|
|
1039
1000
|
}, t.prototype.complete = function() {
|
|
1040
1001
|
var r = this;
|
|
1041
|
-
|
|
1002
|
+
pe(function() {
|
|
1042
1003
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1043
1004
|
r.isStopped = !0;
|
|
1044
1005
|
for (var n = r.observers; n.length; )
|
|
@@ -1060,20 +1021,20 @@ var mn = Ft(function(e) {
|
|
|
1060
1021
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1061
1022
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1062
1023
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1063
|
-
return o || s ?
|
|
1064
|
-
n.currentObservers = null,
|
|
1024
|
+
return o || s ? Vt : (this.currentObservers = null, a.push(r), new xe(function() {
|
|
1025
|
+
n.currentObservers = null, Ve(a, r);
|
|
1065
1026
|
}));
|
|
1066
1027
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1067
1028
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1068
1029
|
i ? r.error(o) : s && r.complete();
|
|
1069
1030
|
}, t.prototype.asObservable = function() {
|
|
1070
|
-
var r = new
|
|
1031
|
+
var r = new pt();
|
|
1071
1032
|
return r.source = this, r;
|
|
1072
1033
|
}, t.create = function(r, n) {
|
|
1073
|
-
return new
|
|
1034
|
+
return new bt(r, n);
|
|
1074
1035
|
}, t;
|
|
1075
|
-
}(
|
|
1076
|
-
|
|
1036
|
+
}(pt), bt = function(e) {
|
|
1037
|
+
ae(t, e);
|
|
1077
1038
|
function t(r, n) {
|
|
1078
1039
|
var i = e.call(this) || this;
|
|
1079
1040
|
return i.destination = r, i.source = n, i;
|
|
@@ -1089,17 +1050,17 @@ var mn = Ft(function(e) {
|
|
|
1089
1050
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1090
1051
|
}, t.prototype._subscribe = function(r) {
|
|
1091
1052
|
var n, i;
|
|
1092
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1053
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
|
|
1093
1054
|
}, t;
|
|
1094
|
-
}(
|
|
1055
|
+
}(Wt), Zt = {
|
|
1095
1056
|
now: function() {
|
|
1096
|
-
return (
|
|
1057
|
+
return (Zt.delegate || Date).now();
|
|
1097
1058
|
},
|
|
1098
1059
|
delegate: void 0
|
|
1099
|
-
},
|
|
1100
|
-
|
|
1060
|
+
}, pn = function(e) {
|
|
1061
|
+
ae(t, e);
|
|
1101
1062
|
function t(r, n, i) {
|
|
1102
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1063
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
|
|
1103
1064
|
var o = e.call(this) || this;
|
|
1104
1065
|
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;
|
|
1105
1066
|
}
|
|
@@ -1119,24 +1080,24 @@ var mn = Ft(function(e) {
|
|
|
1119
1080
|
u && o.splice(0, u + 1);
|
|
1120
1081
|
}
|
|
1121
1082
|
}, t;
|
|
1122
|
-
}(
|
|
1123
|
-
const
|
|
1124
|
-
if (
|
|
1125
|
-
const r = new
|
|
1126
|
-
|
|
1083
|
+
}(Wt);
|
|
1084
|
+
const gt = [], vt = {}, dn = (e, t = 0) => {
|
|
1085
|
+
if (gt.indexOf(e) == -1) {
|
|
1086
|
+
const r = new pn(t);
|
|
1087
|
+
vt[e] = r, gt.push(e);
|
|
1127
1088
|
}
|
|
1128
|
-
return
|
|
1089
|
+
return vt[e];
|
|
1129
1090
|
}, j = [];
|
|
1130
1091
|
function bn(e, t) {
|
|
1131
1092
|
return {
|
|
1132
|
-
subscribe:
|
|
1093
|
+
subscribe: Ee(e, t).subscribe
|
|
1133
1094
|
};
|
|
1134
1095
|
}
|
|
1135
|
-
function
|
|
1096
|
+
function Ee(e, t = R) {
|
|
1136
1097
|
let r;
|
|
1137
1098
|
const n = /* @__PURE__ */ new Set();
|
|
1138
1099
|
function i(a) {
|
|
1139
|
-
if (
|
|
1100
|
+
if (Gt(e, a) && (e = a, r)) {
|
|
1140
1101
|
const l = !j.length;
|
|
1141
1102
|
for (const u of n)
|
|
1142
1103
|
u[1](), j.push(u, e);
|
|
@@ -1150,15 +1111,15 @@ function _e(e, t = L) {
|
|
|
1150
1111
|
function o(a) {
|
|
1151
1112
|
i(a(e));
|
|
1152
1113
|
}
|
|
1153
|
-
function s(a, l =
|
|
1114
|
+
function s(a, l = R) {
|
|
1154
1115
|
const u = [a, l];
|
|
1155
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1116
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || R), a(e), () => {
|
|
1156
1117
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1157
1118
|
};
|
|
1158
1119
|
}
|
|
1159
1120
|
return { set: i, update: o, subscribe: s };
|
|
1160
1121
|
}
|
|
1161
|
-
function
|
|
1122
|
+
function Y(e, t, r) {
|
|
1162
1123
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1163
1124
|
if (!i.every(Boolean))
|
|
1164
1125
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1166,26 +1127,26 @@ function K(e, t, r) {
|
|
|
1166
1127
|
return bn(r, (s, a) => {
|
|
1167
1128
|
let l = !1;
|
|
1168
1129
|
const u = [];
|
|
1169
|
-
let h = 0, c =
|
|
1130
|
+
let h = 0, c = R;
|
|
1170
1131
|
const f = () => {
|
|
1171
1132
|
if (h)
|
|
1172
1133
|
return;
|
|
1173
1134
|
c();
|
|
1174
|
-
const
|
|
1175
|
-
o ? s(
|
|
1135
|
+
const p = t(n ? u[0] : u, s, a);
|
|
1136
|
+
o ? s(p) : c = tt(p) ? p : R;
|
|
1176
1137
|
}, m = i.map(
|
|
1177
|
-
(
|
|
1178
|
-
|
|
1179
|
-
(
|
|
1180
|
-
u[
|
|
1138
|
+
(p, d) => Ut(
|
|
1139
|
+
p,
|
|
1140
|
+
(S) => {
|
|
1141
|
+
u[d] = S, h &= ~(1 << d), l && f();
|
|
1181
1142
|
},
|
|
1182
1143
|
() => {
|
|
1183
|
-
h |= 1 <<
|
|
1144
|
+
h |= 1 << d;
|
|
1184
1145
|
}
|
|
1185
1146
|
)
|
|
1186
1147
|
);
|
|
1187
1148
|
return l = !0, f(), function() {
|
|
1188
|
-
|
|
1149
|
+
J(m), c(), l = !1;
|
|
1189
1150
|
};
|
|
1190
1151
|
});
|
|
1191
1152
|
}
|
|
@@ -1199,36 +1160,36 @@ function yn(e) {
|
|
|
1199
1160
|
var t = Object.prototype.toString.call(e);
|
|
1200
1161
|
return t === "[object RegExp]" || t === "[object Date]" || En(e);
|
|
1201
1162
|
}
|
|
1202
|
-
var
|
|
1163
|
+
var _n = typeof Symbol == "function" && Symbol.for, xn = _n ? Symbol.for("react.element") : 60103;
|
|
1203
1164
|
function En(e) {
|
|
1204
|
-
return e.$$typeof ===
|
|
1165
|
+
return e.$$typeof === xn;
|
|
1205
1166
|
}
|
|
1206
1167
|
function Sn(e) {
|
|
1207
1168
|
return Array.isArray(e) ? [] : {};
|
|
1208
1169
|
}
|
|
1209
|
-
function
|
|
1210
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1170
|
+
function ie(e, t) {
|
|
1171
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? z(Sn(e), e, t) : e;
|
|
1211
1172
|
}
|
|
1212
1173
|
function wn(e, t, r) {
|
|
1213
1174
|
return e.concat(t).map(function(n) {
|
|
1214
|
-
return
|
|
1175
|
+
return ie(n, r);
|
|
1215
1176
|
});
|
|
1216
1177
|
}
|
|
1217
1178
|
function Tn(e, t) {
|
|
1218
1179
|
if (!t.customMerge)
|
|
1219
|
-
return
|
|
1180
|
+
return z;
|
|
1220
1181
|
var r = t.customMerge(e);
|
|
1221
|
-
return typeof r == "function" ? r :
|
|
1182
|
+
return typeof r == "function" ? r : z;
|
|
1222
1183
|
}
|
|
1223
1184
|
function Hn(e) {
|
|
1224
1185
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1225
1186
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1226
1187
|
}) : [];
|
|
1227
1188
|
}
|
|
1228
|
-
function
|
|
1189
|
+
function yt(e) {
|
|
1229
1190
|
return Object.keys(e).concat(Hn(e));
|
|
1230
1191
|
}
|
|
1231
|
-
function
|
|
1192
|
+
function Qt(e, t) {
|
|
1232
1193
|
try {
|
|
1233
1194
|
return t in e;
|
|
1234
1195
|
} catch (r) {
|
|
@@ -1236,129 +1197,179 @@ function Zt(e, t) {
|
|
|
1236
1197
|
}
|
|
1237
1198
|
}
|
|
1238
1199
|
function Bn(e, t) {
|
|
1239
|
-
return
|
|
1200
|
+
return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1240
1201
|
}
|
|
1241
1202
|
function An(e, t, r) {
|
|
1242
1203
|
var n = {};
|
|
1243
|
-
return r.isMergeableObject(e) &&
|
|
1244
|
-
n[i] =
|
|
1245
|
-
}),
|
|
1246
|
-
Bn(e, i) || (
|
|
1204
|
+
return r.isMergeableObject(e) && yt(e).forEach(function(i) {
|
|
1205
|
+
n[i] = ie(e[i], r);
|
|
1206
|
+
}), yt(t).forEach(function(i) {
|
|
1207
|
+
Bn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
1247
1208
|
}), n;
|
|
1248
1209
|
}
|
|
1249
|
-
function
|
|
1250
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified =
|
|
1210
|
+
function z(e, t, r) {
|
|
1211
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = ie;
|
|
1251
1212
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1252
|
-
return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) :
|
|
1213
|
+
return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : ie(t, r);
|
|
1253
1214
|
}
|
|
1254
|
-
|
|
1215
|
+
z.all = function(t, r) {
|
|
1255
1216
|
if (!Array.isArray(t))
|
|
1256
1217
|
throw new Error("first argument should be an array");
|
|
1257
1218
|
return t.reduce(function(n, i) {
|
|
1258
|
-
return
|
|
1219
|
+
return z(n, i, r);
|
|
1259
1220
|
}, {});
|
|
1260
1221
|
};
|
|
1261
|
-
var Cn =
|
|
1262
|
-
const On = /* @__PURE__ */
|
|
1263
|
-
function
|
|
1264
|
-
|
|
1222
|
+
var Cn = z, Pn = Cn;
|
|
1223
|
+
const On = /* @__PURE__ */ en(Pn);
|
|
1224
|
+
var ze = function(e, t) {
|
|
1225
|
+
return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1226
|
+
r.__proto__ = n;
|
|
1227
|
+
} || function(r, n) {
|
|
1228
|
+
for (var i in n)
|
|
1229
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1230
|
+
}, ze(e, t);
|
|
1231
|
+
};
|
|
1232
|
+
function Se(e, t) {
|
|
1233
|
+
if (typeof t != "function" && t !== null)
|
|
1234
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1235
|
+
ze(e, t);
|
|
1236
|
+
function r() {
|
|
1237
|
+
this.constructor = e;
|
|
1238
|
+
}
|
|
1239
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1240
|
+
}
|
|
1241
|
+
var L = function() {
|
|
1242
|
+
return L = Object.assign || function(t) {
|
|
1243
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1244
|
+
r = arguments[n];
|
|
1245
|
+
for (var o in r)
|
|
1246
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1247
|
+
}
|
|
1248
|
+
return t;
|
|
1249
|
+
}, L.apply(this, arguments);
|
|
1250
|
+
};
|
|
1251
|
+
function In(e, t) {
|
|
1252
|
+
var r = {};
|
|
1253
|
+
for (var n in e)
|
|
1254
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1255
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1256
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1257
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1258
|
+
return r;
|
|
1259
|
+
}
|
|
1260
|
+
function Pe(e, t, r) {
|
|
1261
|
+
if (r || arguments.length === 2)
|
|
1262
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1263
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1264
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1265
|
+
}
|
|
1266
|
+
function Oe(e, t) {
|
|
1267
|
+
var r = t && t.cache ? t.cache : Un, n = t && t.serializer ? t.serializer : $n, i = t && t.strategy ? t.strategy : Ln;
|
|
1265
1268
|
return i(e, {
|
|
1266
1269
|
cache: r,
|
|
1267
1270
|
serializer: n
|
|
1268
1271
|
});
|
|
1269
1272
|
}
|
|
1270
|
-
function
|
|
1273
|
+
function Mn(e) {
|
|
1271
1274
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1272
1275
|
}
|
|
1273
|
-
function
|
|
1274
|
-
var i =
|
|
1276
|
+
function Nn(e, t, r, n) {
|
|
1277
|
+
var i = Mn(n) ? n : r(n), o = t.get(i);
|
|
1275
1278
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1276
1279
|
}
|
|
1277
1280
|
function Jt(e, t, r) {
|
|
1278
1281
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1279
1282
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1280
1283
|
}
|
|
1281
|
-
function
|
|
1284
|
+
function qt(e, t, r, n, i) {
|
|
1282
1285
|
return r.bind(t, e, n, i);
|
|
1283
1286
|
}
|
|
1284
|
-
function Mn(e, t) {
|
|
1285
|
-
var r = e.length === 1 ? Qt : Jt;
|
|
1286
|
-
return Ye(e, this, r, t.cache.create(), t.serializer);
|
|
1287
|
-
}
|
|
1288
|
-
function Nn(e, t) {
|
|
1289
|
-
return Ye(e, this, Jt, t.cache.create(), t.serializer);
|
|
1290
|
-
}
|
|
1291
1287
|
function Ln(e, t) {
|
|
1292
|
-
|
|
1288
|
+
var r = e.length === 1 ? Nn : Jt;
|
|
1289
|
+
return qt(e, this, r, t.cache.create(), t.serializer);
|
|
1293
1290
|
}
|
|
1294
|
-
|
|
1295
|
-
return
|
|
1296
|
-
};
|
|
1297
|
-
function Ke() {
|
|
1298
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1291
|
+
function Rn(e, t) {
|
|
1292
|
+
return qt(e, this, Jt, t.cache.create(), t.serializer);
|
|
1299
1293
|
}
|
|
1300
|
-
|
|
1301
|
-
return
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1294
|
+
var $n = function() {
|
|
1295
|
+
return JSON.stringify(arguments);
|
|
1296
|
+
}, Gn = (
|
|
1297
|
+
/** @class */
|
|
1298
|
+
function() {
|
|
1299
|
+
function e() {
|
|
1300
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1301
|
+
}
|
|
1302
|
+
return e.prototype.get = function(t) {
|
|
1303
|
+
return this.cache[t];
|
|
1304
|
+
}, e.prototype.set = function(t, r) {
|
|
1305
|
+
this.cache[t] = r;
|
|
1306
|
+
}, e;
|
|
1307
|
+
}()
|
|
1308
|
+
), Un = {
|
|
1307
1309
|
create: function() {
|
|
1308
|
-
return new
|
|
1310
|
+
return new Gn();
|
|
1309
1311
|
}
|
|
1310
|
-
},
|
|
1311
|
-
variadic:
|
|
1312
|
-
|
|
1313
|
-
|
|
1312
|
+
}, Ie = {
|
|
1313
|
+
variadic: Rn
|
|
1314
|
+
}, ve = function() {
|
|
1315
|
+
return ve = Object.assign || function(t) {
|
|
1316
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1317
|
+
r = arguments[n];
|
|
1318
|
+
for (var o in r)
|
|
1319
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1320
|
+
}
|
|
1321
|
+
return t;
|
|
1322
|
+
}, ve.apply(this, arguments);
|
|
1323
|
+
};
|
|
1324
|
+
var b;
|
|
1314
1325
|
(function(e) {
|
|
1315
1326
|
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";
|
|
1316
1327
|
})(b || (b = {}));
|
|
1317
|
-
var
|
|
1328
|
+
var E;
|
|
1318
1329
|
(function(e) {
|
|
1319
1330
|
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";
|
|
1320
|
-
})(
|
|
1321
|
-
var
|
|
1331
|
+
})(E || (E = {}));
|
|
1332
|
+
var W;
|
|
1322
1333
|
(function(e) {
|
|
1323
1334
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1324
|
-
})(
|
|
1325
|
-
function
|
|
1326
|
-
return e.type ===
|
|
1327
|
-
}
|
|
1328
|
-
function Gn(e) {
|
|
1329
|
-
return e.type === S.argument;
|
|
1335
|
+
})(W || (W = {}));
|
|
1336
|
+
function _t(e) {
|
|
1337
|
+
return e.type === E.literal;
|
|
1330
1338
|
}
|
|
1331
|
-
function
|
|
1332
|
-
return e.type ===
|
|
1339
|
+
function Dn(e) {
|
|
1340
|
+
return e.type === E.argument;
|
|
1333
1341
|
}
|
|
1334
1342
|
function Yt(e) {
|
|
1335
|
-
return e.type ===
|
|
1343
|
+
return e.type === E.number;
|
|
1336
1344
|
}
|
|
1337
1345
|
function Kt(e) {
|
|
1338
|
-
return e.type ===
|
|
1346
|
+
return e.type === E.date;
|
|
1339
1347
|
}
|
|
1340
1348
|
function er(e) {
|
|
1341
|
-
return e.type ===
|
|
1349
|
+
return e.type === E.time;
|
|
1342
1350
|
}
|
|
1343
1351
|
function tr(e) {
|
|
1344
|
-
return e.type ===
|
|
1345
|
-
}
|
|
1346
|
-
function Un(e) {
|
|
1347
|
-
return e.type === S.pound;
|
|
1352
|
+
return e.type === E.select;
|
|
1348
1353
|
}
|
|
1349
1354
|
function rr(e) {
|
|
1350
|
-
return e.type ===
|
|
1355
|
+
return e.type === E.plural;
|
|
1356
|
+
}
|
|
1357
|
+
function Fn(e) {
|
|
1358
|
+
return e.type === E.pound;
|
|
1351
1359
|
}
|
|
1352
1360
|
function nr(e) {
|
|
1353
|
-
return
|
|
1361
|
+
return e.type === E.tag;
|
|
1354
1362
|
}
|
|
1355
|
-
function
|
|
1356
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1363
|
+
function ir(e) {
|
|
1364
|
+
return !!(e && typeof e == "object" && e.type === W.number);
|
|
1357
1365
|
}
|
|
1358
|
-
|
|
1359
|
-
|
|
1366
|
+
function We(e) {
|
|
1367
|
+
return !!(e && typeof e == "object" && e.type === W.dateTime);
|
|
1368
|
+
}
|
|
1369
|
+
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
|
|
1370
|
+
function kn(e) {
|
|
1360
1371
|
var t = {};
|
|
1361
|
-
return e.replace(
|
|
1372
|
+
return e.replace(jn, function(r) {
|
|
1362
1373
|
var n = r.length;
|
|
1363
1374
|
switch (r[0]) {
|
|
1364
1375
|
case "G":
|
|
@@ -1447,11 +1458,21 @@ function Fn(e) {
|
|
|
1447
1458
|
return "";
|
|
1448
1459
|
}), t;
|
|
1449
1460
|
}
|
|
1450
|
-
var
|
|
1451
|
-
function
|
|
1461
|
+
var T = function() {
|
|
1462
|
+
return T = Object.assign || function(t) {
|
|
1463
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1464
|
+
r = arguments[n];
|
|
1465
|
+
for (var o in r)
|
|
1466
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1467
|
+
}
|
|
1468
|
+
return t;
|
|
1469
|
+
}, T.apply(this, arguments);
|
|
1470
|
+
};
|
|
1471
|
+
var Vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1472
|
+
function Xn(e) {
|
|
1452
1473
|
if (e.length === 0)
|
|
1453
1474
|
throw new Error("Number skeleton cannot be empty");
|
|
1454
|
-
for (var t = e.split(
|
|
1475
|
+
for (var t = e.split(Vn).filter(function(f) {
|
|
1455
1476
|
return f.length > 0;
|
|
1456
1477
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1457
1478
|
var o = i[n], s = o.split("/");
|
|
@@ -1466,17 +1487,17 @@ function kn(e) {
|
|
|
1466
1487
|
}
|
|
1467
1488
|
return r;
|
|
1468
1489
|
}
|
|
1469
|
-
function
|
|
1490
|
+
function zn(e) {
|
|
1470
1491
|
return e.replace(/^(.*?)-/, "");
|
|
1471
1492
|
}
|
|
1472
|
-
var
|
|
1473
|
-
function
|
|
1493
|
+
var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
|
|
1494
|
+
function Et(e) {
|
|
1474
1495
|
var t = {};
|
|
1475
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1496
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
|
|
1476
1497
|
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)), "";
|
|
1477
1498
|
}), t;
|
|
1478
1499
|
}
|
|
1479
|
-
function
|
|
1500
|
+
function ur(e) {
|
|
1480
1501
|
switch (e) {
|
|
1481
1502
|
case "sign-auto":
|
|
1482
1503
|
return {
|
|
@@ -1516,7 +1537,7 @@ function ar(e) {
|
|
|
1516
1537
|
};
|
|
1517
1538
|
}
|
|
1518
1539
|
}
|
|
1519
|
-
function
|
|
1540
|
+
function Zn(e) {
|
|
1520
1541
|
var t;
|
|
1521
1542
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1522
1543
|
notation: "engineering"
|
|
@@ -1524,17 +1545,17 @@ function zn(e) {
|
|
|
1524
1545
|
notation: "scientific"
|
|
1525
1546
|
}, e = e.slice(1)), t) {
|
|
1526
1547
|
var r = e.slice(0, 2);
|
|
1527
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1548
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
|
|
1528
1549
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1529
1550
|
t.minimumIntegerDigits = e.length;
|
|
1530
1551
|
}
|
|
1531
1552
|
return t;
|
|
1532
1553
|
}
|
|
1533
|
-
function
|
|
1534
|
-
var t = {}, r =
|
|
1554
|
+
function St(e) {
|
|
1555
|
+
var t = {}, r = ur(e);
|
|
1535
1556
|
return r || t;
|
|
1536
1557
|
}
|
|
1537
|
-
function
|
|
1558
|
+
function Qn(e) {
|
|
1538
1559
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1539
1560
|
var i = n[r];
|
|
1540
1561
|
switch (i.stem) {
|
|
@@ -1558,7 +1579,7 @@ function Wn(e) {
|
|
|
1558
1579
|
continue;
|
|
1559
1580
|
case "measure-unit":
|
|
1560
1581
|
case "unit":
|
|
1561
|
-
t.style = "unit", t.unit =
|
|
1582
|
+
t.style = "unit", t.unit = zn(i.options[0]);
|
|
1562
1583
|
continue;
|
|
1563
1584
|
case "compact-short":
|
|
1564
1585
|
case "K":
|
|
@@ -1569,13 +1590,13 @@ function Wn(e) {
|
|
|
1569
1590
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1570
1591
|
continue;
|
|
1571
1592
|
case "scientific":
|
|
1572
|
-
t =
|
|
1573
|
-
return
|
|
1593
|
+
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1594
|
+
return T(T({}, l), St(u));
|
|
1574
1595
|
}, {}));
|
|
1575
1596
|
continue;
|
|
1576
1597
|
case "engineering":
|
|
1577
|
-
t =
|
|
1578
|
-
return
|
|
1598
|
+
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1599
|
+
return T(T({}, l), St(u));
|
|
1579
1600
|
}, {}));
|
|
1580
1601
|
continue;
|
|
1581
1602
|
case "notation-simple":
|
|
@@ -1620,7 +1641,7 @@ function Wn(e) {
|
|
|
1620
1641
|
case "integer-width":
|
|
1621
1642
|
if (i.options.length > 1)
|
|
1622
1643
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1623
|
-
i.options[0].replace(
|
|
1644
|
+
i.options[0].replace(Wn, function(l, u, h, c, f, m) {
|
|
1624
1645
|
if (u)
|
|
1625
1646
|
t.minimumIntegerDigits = h.length;
|
|
1626
1647
|
else {
|
|
@@ -1633,28 +1654,28 @@ function Wn(e) {
|
|
|
1633
1654
|
});
|
|
1634
1655
|
continue;
|
|
1635
1656
|
}
|
|
1636
|
-
if (
|
|
1657
|
+
if (ar.test(i.stem)) {
|
|
1637
1658
|
t.minimumIntegerDigits = i.stem.length;
|
|
1638
1659
|
continue;
|
|
1639
1660
|
}
|
|
1640
|
-
if (
|
|
1661
|
+
if (xt.test(i.stem)) {
|
|
1641
1662
|
if (i.options.length > 1)
|
|
1642
1663
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1643
|
-
i.stem.replace(
|
|
1664
|
+
i.stem.replace(xt, function(l, u, h, c, f, m) {
|
|
1644
1665
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1645
1666
|
});
|
|
1646
1667
|
var o = i.options[0];
|
|
1647
|
-
o === "w" ? t =
|
|
1668
|
+
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Et(o)));
|
|
1648
1669
|
continue;
|
|
1649
1670
|
}
|
|
1650
|
-
if (
|
|
1651
|
-
t =
|
|
1671
|
+
if (sr.test(i.stem)) {
|
|
1672
|
+
t = T(T({}, t), Et(i.stem));
|
|
1652
1673
|
continue;
|
|
1653
1674
|
}
|
|
1654
|
-
var s =
|
|
1655
|
-
s && (t =
|
|
1656
|
-
var a =
|
|
1657
|
-
a && (t =
|
|
1675
|
+
var s = ur(i.stem);
|
|
1676
|
+
s && (t = T(T({}, t), s));
|
|
1677
|
+
var a = Zn(i.stem);
|
|
1678
|
+
a && (t = T(T({}, t), a));
|
|
1658
1679
|
}
|
|
1659
1680
|
return t;
|
|
1660
1681
|
}
|
|
@@ -3073,13 +3094,13 @@ var ce = {
|
|
|
3073
3094
|
"h"
|
|
3074
3095
|
]
|
|
3075
3096
|
};
|
|
3076
|
-
function
|
|
3097
|
+
function Jn(e, t) {
|
|
3077
3098
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3078
3099
|
var i = e.charAt(n);
|
|
3079
3100
|
if (i === "j") {
|
|
3080
3101
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3081
3102
|
o++, n++;
|
|
3082
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3103
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = qn(t);
|
|
3083
3104
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3084
3105
|
r += l;
|
|
3085
3106
|
for (; s-- > 0; )
|
|
@@ -3089,7 +3110,7 @@ function Zn(e, t) {
|
|
|
3089
3110
|
}
|
|
3090
3111
|
return r;
|
|
3091
3112
|
}
|
|
3092
|
-
function
|
|
3113
|
+
function qn(e) {
|
|
3093
3114
|
var t = e.hourCycle;
|
|
3094
3115
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3095
3116
|
e.hourCycles && // @ts-ignore
|
|
@@ -3111,20 +3132,20 @@ function Qn(e) {
|
|
|
3111
3132
|
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
3112
3133
|
return i[0];
|
|
3113
3134
|
}
|
|
3114
|
-
var
|
|
3135
|
+
var Me, Yn = new RegExp("^".concat(or.source, "*")), Kn = new RegExp("".concat(or.source, "*$"));
|
|
3115
3136
|
function v(e, t) {
|
|
3116
3137
|
return { start: e, end: t };
|
|
3117
3138
|
}
|
|
3118
|
-
var
|
|
3139
|
+
var ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), ti = !!String.fromCodePoint, ri = !!Object.fromEntries, ni = !!String.prototype.codePointAt, ii = !!String.prototype.trimStart, oi = !!String.prototype.trimEnd, si = !!Number.isSafeInteger, ai = si ? Number.isSafeInteger : function(e) {
|
|
3119
3140
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3120
|
-
},
|
|
3141
|
+
}, Ze = !0;
|
|
3121
3142
|
try {
|
|
3122
|
-
var
|
|
3123
|
-
|
|
3143
|
+
var ui = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3144
|
+
Ze = ((Me = ui.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
|
|
3124
3145
|
} catch (e) {
|
|
3125
|
-
|
|
3146
|
+
Ze = !1;
|
|
3126
3147
|
}
|
|
3127
|
-
var
|
|
3148
|
+
var wt = ei ? (
|
|
3128
3149
|
// Native
|
|
3129
3150
|
function(t, r, n) {
|
|
3130
3151
|
return t.startsWith(r, n);
|
|
@@ -3134,7 +3155,7 @@ var Et = Yn ? (
|
|
|
3134
3155
|
function(t, r, n) {
|
|
3135
3156
|
return t.slice(n, n + r.length) === r;
|
|
3136
3157
|
}
|
|
3137
|
-
),
|
|
3158
|
+
), Qe = ti ? String.fromCodePoint : (
|
|
3138
3159
|
// IE11
|
|
3139
3160
|
function() {
|
|
3140
3161
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3146,9 +3167,9 @@ var Et = Yn ? (
|
|
|
3146
3167
|
}
|
|
3147
3168
|
return n;
|
|
3148
3169
|
}
|
|
3149
|
-
),
|
|
3170
|
+
), Tt = (
|
|
3150
3171
|
// native
|
|
3151
|
-
|
|
3172
|
+
ri ? Object.fromEntries : (
|
|
3152
3173
|
// Ponyfill
|
|
3153
3174
|
function(t) {
|
|
3154
3175
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3158,7 +3179,7 @@ var Et = Yn ? (
|
|
|
3158
3179
|
return r;
|
|
3159
3180
|
}
|
|
3160
3181
|
)
|
|
3161
|
-
),
|
|
3182
|
+
), lr = ni ? (
|
|
3162
3183
|
// Native
|
|
3163
3184
|
function(t, r) {
|
|
3164
3185
|
return t.codePointAt(r);
|
|
@@ -3172,7 +3193,7 @@ var Et = Yn ? (
|
|
|
3172
3193
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3173
3194
|
}
|
|
3174
3195
|
}
|
|
3175
|
-
),
|
|
3196
|
+
), li = ii ? (
|
|
3176
3197
|
// Native
|
|
3177
3198
|
function(t) {
|
|
3178
3199
|
return t.trimStart();
|
|
@@ -3180,9 +3201,9 @@ var Et = Yn ? (
|
|
|
3180
3201
|
) : (
|
|
3181
3202
|
// Ponyfill
|
|
3182
3203
|
function(t) {
|
|
3183
|
-
return t.replace(
|
|
3204
|
+
return t.replace(Yn, "");
|
|
3184
3205
|
}
|
|
3185
|
-
),
|
|
3206
|
+
), hi = oi ? (
|
|
3186
3207
|
// Native
|
|
3187
3208
|
function(t) {
|
|
3188
3209
|
return t.trimEnd();
|
|
@@ -3190,32 +3211,32 @@ var Et = Yn ? (
|
|
|
3190
3211
|
) : (
|
|
3191
3212
|
// Ponyfill
|
|
3192
3213
|
function(t) {
|
|
3193
|
-
return t.replace(
|
|
3214
|
+
return t.replace(Kn, "");
|
|
3194
3215
|
}
|
|
3195
3216
|
);
|
|
3196
|
-
function
|
|
3217
|
+
function hr(e, t) {
|
|
3197
3218
|
return new RegExp(e, t);
|
|
3198
3219
|
}
|
|
3199
|
-
var
|
|
3200
|
-
if (
|
|
3201
|
-
var
|
|
3202
|
-
|
|
3220
|
+
var Je;
|
|
3221
|
+
if (Ze) {
|
|
3222
|
+
var Ht = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3223
|
+
Je = function(t, r) {
|
|
3203
3224
|
var n;
|
|
3204
|
-
|
|
3205
|
-
var i =
|
|
3225
|
+
Ht.lastIndex = r;
|
|
3226
|
+
var i = Ht.exec(t);
|
|
3206
3227
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3207
3228
|
};
|
|
3208
3229
|
} else
|
|
3209
|
-
|
|
3230
|
+
Je = function(t, r) {
|
|
3210
3231
|
for (var n = []; ; ) {
|
|
3211
|
-
var i =
|
|
3212
|
-
if (i === void 0 ||
|
|
3232
|
+
var i = lr(t, r);
|
|
3233
|
+
if (i === void 0 || cr(i) || pi(i))
|
|
3213
3234
|
break;
|
|
3214
3235
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3215
3236
|
}
|
|
3216
|
-
return
|
|
3237
|
+
return Qe.apply(void 0, n);
|
|
3217
3238
|
};
|
|
3218
|
-
var
|
|
3239
|
+
var ci = (
|
|
3219
3240
|
/** @class */
|
|
3220
3241
|
function() {
|
|
3221
3242
|
function e(t, r) {
|
|
@@ -3239,14 +3260,14 @@ var li = (
|
|
|
3239
3260
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3240
3261
|
var a = this.clonePosition();
|
|
3241
3262
|
this.bump(), i.push({
|
|
3242
|
-
type:
|
|
3263
|
+
type: E.pound,
|
|
3243
3264
|
location: v(a, this.clonePosition())
|
|
3244
3265
|
});
|
|
3245
3266
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3246
3267
|
if (n)
|
|
3247
3268
|
break;
|
|
3248
3269
|
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3249
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3270
|
+
} else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
|
|
3250
3271
|
var s = this.parseTag(t, r);
|
|
3251
3272
|
if (s.err)
|
|
3252
3273
|
return s;
|
|
@@ -3267,7 +3288,7 @@ var li = (
|
|
|
3267
3288
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3268
3289
|
return {
|
|
3269
3290
|
val: {
|
|
3270
|
-
type:
|
|
3291
|
+
type: E.literal,
|
|
3271
3292
|
value: "<".concat(i, "/>"),
|
|
3272
3293
|
location: v(n, this.clonePosition())
|
|
3273
3294
|
},
|
|
@@ -3279,12 +3300,12 @@ var li = (
|
|
|
3279
3300
|
return o;
|
|
3280
3301
|
var s = o.val, a = this.clonePosition();
|
|
3281
3302
|
if (this.bumpIf("</")) {
|
|
3282
|
-
if (this.isEOF() || !
|
|
3303
|
+
if (this.isEOF() || !qe(this.char()))
|
|
3283
3304
|
return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
|
|
3284
3305
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3285
3306
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3286
3307
|
val: {
|
|
3287
|
-
type:
|
|
3308
|
+
type: E.tag,
|
|
3288
3309
|
value: i,
|
|
3289
3310
|
children: s,
|
|
3290
3311
|
location: v(n, this.clonePosition())
|
|
@@ -3297,7 +3318,7 @@ var li = (
|
|
|
3297
3318
|
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
3298
3319
|
}, e.prototype.parseTagName = function() {
|
|
3299
3320
|
var t = this.offset();
|
|
3300
|
-
for (this.bump(); !this.isEOF() &&
|
|
3321
|
+
for (this.bump(); !this.isEOF() && mi(this.char()); )
|
|
3301
3322
|
this.bump();
|
|
3302
3323
|
return this.message.slice(t, this.offset());
|
|
3303
3324
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3321,12 +3342,12 @@ var li = (
|
|
|
3321
3342
|
}
|
|
3322
3343
|
var l = v(n, this.clonePosition());
|
|
3323
3344
|
return {
|
|
3324
|
-
val: { type:
|
|
3345
|
+
val: { type: E.literal, value: i, location: l },
|
|
3325
3346
|
err: null
|
|
3326
3347
|
};
|
|
3327
3348
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3328
3349
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3329
|
-
!
|
|
3350
|
+
!fi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3330
3351
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3331
3352
|
if (this.isEOF() || this.char() !== 39)
|
|
3332
3353
|
return null;
|
|
@@ -3360,12 +3381,12 @@ var li = (
|
|
|
3360
3381
|
r.push(n);
|
|
3361
3382
|
this.bump();
|
|
3362
3383
|
}
|
|
3363
|
-
return
|
|
3384
|
+
return Qe.apply(void 0, r);
|
|
3364
3385
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3365
3386
|
if (this.isEOF())
|
|
3366
3387
|
return null;
|
|
3367
3388
|
var n = this.char();
|
|
3368
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3389
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
|
|
3369
3390
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3370
3391
|
var n = this.clonePosition();
|
|
3371
3392
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3381,7 +3402,7 @@ var li = (
|
|
|
3381
3402
|
case 125:
|
|
3382
3403
|
return this.bump(), {
|
|
3383
3404
|
val: {
|
|
3384
|
-
type:
|
|
3405
|
+
type: E.argument,
|
|
3385
3406
|
// value does not include the opening and closing braces.
|
|
3386
3407
|
value: i,
|
|
3387
3408
|
location: v(n, this.clonePosition())
|
|
@@ -3394,7 +3415,7 @@ var li = (
|
|
|
3394
3415
|
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3395
3416
|
}
|
|
3396
3417
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3397
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3418
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
|
3398
3419
|
this.bumpTo(i);
|
|
3399
3420
|
var o = this.clonePosition(), s = v(t, o);
|
|
3400
3421
|
return { value: n, location: s };
|
|
@@ -3413,46 +3434,46 @@ var li = (
|
|
|
3413
3434
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3414
3435
|
if (c.err)
|
|
3415
3436
|
return c;
|
|
3416
|
-
var f =
|
|
3437
|
+
var f = hi(c.val);
|
|
3417
3438
|
if (f.length === 0)
|
|
3418
3439
|
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3419
3440
|
var m = v(h, this.clonePosition());
|
|
3420
3441
|
u = { style: f, styleLocation: m };
|
|
3421
3442
|
}
|
|
3422
|
-
var
|
|
3423
|
-
if (
|
|
3424
|
-
return
|
|
3425
|
-
var
|
|
3426
|
-
if (u &&
|
|
3427
|
-
var
|
|
3443
|
+
var p = this.tryParseArgumentClose(i);
|
|
3444
|
+
if (p.err)
|
|
3445
|
+
return p;
|
|
3446
|
+
var d = v(i, this.clonePosition());
|
|
3447
|
+
if (u && wt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3448
|
+
var S = li(u.style.slice(2));
|
|
3428
3449
|
if (a === "number") {
|
|
3429
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3450
|
+
var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3430
3451
|
return c.err ? c : {
|
|
3431
|
-
val: { type:
|
|
3452
|
+
val: { type: E.number, value: n, location: d, style: c.val },
|
|
3432
3453
|
err: null
|
|
3433
3454
|
};
|
|
3434
3455
|
} else {
|
|
3435
|
-
if (
|
|
3436
|
-
return this.error(b.EXPECT_DATE_TIME_SKELETON,
|
|
3437
|
-
var M =
|
|
3438
|
-
this.locale && (M =
|
|
3456
|
+
if (S.length === 0)
|
|
3457
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3458
|
+
var M = S;
|
|
3459
|
+
this.locale && (M = Jn(S, this.locale));
|
|
3439
3460
|
var f = {
|
|
3440
|
-
type:
|
|
3461
|
+
type: W.dateTime,
|
|
3441
3462
|
pattern: M,
|
|
3442
3463
|
location: u.styleLocation,
|
|
3443
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3444
|
-
}, C = a === "date" ?
|
|
3464
|
+
parsedOptions: this.shouldParseSkeletons ? kn(M) : {}
|
|
3465
|
+
}, C = a === "date" ? E.date : E.time;
|
|
3445
3466
|
return {
|
|
3446
|
-
val: { type: C, value: n, location:
|
|
3467
|
+
val: { type: C, value: n, location: d, style: f },
|
|
3447
3468
|
err: null
|
|
3448
3469
|
};
|
|
3449
3470
|
}
|
|
3450
3471
|
}
|
|
3451
3472
|
return {
|
|
3452
3473
|
val: {
|
|
3453
|
-
type: a === "number" ?
|
|
3474
|
+
type: a === "number" ? E.number : a === "date" ? E.date : E.time,
|
|
3454
3475
|
value: n,
|
|
3455
|
-
location:
|
|
3476
|
+
location: d,
|
|
3456
3477
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3457
3478
|
},
|
|
3458
3479
|
err: null
|
|
@@ -3461,11 +3482,11 @@ var li = (
|
|
|
3461
3482
|
case "plural":
|
|
3462
3483
|
case "selectordinal":
|
|
3463
3484
|
case "select": {
|
|
3464
|
-
var
|
|
3485
|
+
var w = this.clonePosition();
|
|
3465
3486
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3466
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(
|
|
3487
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, ve({}, w)));
|
|
3467
3488
|
this.bumpSpace();
|
|
3468
|
-
var _ = this.parseIdentifierIfPossible(),
|
|
3489
|
+
var _ = this.parseIdentifierIfPossible(), x = 0;
|
|
3469
3490
|
if (a !== "select" && _.value === "offset") {
|
|
3470
3491
|
if (!this.bumpIf(":"))
|
|
3471
3492
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
@@ -3473,29 +3494,29 @@ var li = (
|
|
|
3473
3494
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3474
3495
|
if (c.err)
|
|
3475
3496
|
return c;
|
|
3476
|
-
this.bumpSpace(), _ = this.parseIdentifierIfPossible(),
|
|
3497
|
+
this.bumpSpace(), _ = this.parseIdentifierIfPossible(), x = c.val;
|
|
3477
3498
|
}
|
|
3478
|
-
var
|
|
3479
|
-
if (
|
|
3480
|
-
return
|
|
3481
|
-
var
|
|
3482
|
-
if (
|
|
3483
|
-
return
|
|
3499
|
+
var y = this.tryParsePluralOrSelectOptions(t, a, r, _);
|
|
3500
|
+
if (y.err)
|
|
3501
|
+
return y;
|
|
3502
|
+
var p = this.tryParseArgumentClose(i);
|
|
3503
|
+
if (p.err)
|
|
3504
|
+
return p;
|
|
3484
3505
|
var P = v(i, this.clonePosition());
|
|
3485
3506
|
return a === "select" ? {
|
|
3486
3507
|
val: {
|
|
3487
|
-
type:
|
|
3508
|
+
type: E.select,
|
|
3488
3509
|
value: n,
|
|
3489
|
-
options:
|
|
3510
|
+
options: Tt(y.val),
|
|
3490
3511
|
location: P
|
|
3491
3512
|
},
|
|
3492
3513
|
err: null
|
|
3493
3514
|
} : {
|
|
3494
3515
|
val: {
|
|
3495
|
-
type:
|
|
3516
|
+
type: E.plural,
|
|
3496
3517
|
value: n,
|
|
3497
|
-
options:
|
|
3498
|
-
offset:
|
|
3518
|
+
options: Tt(y.val),
|
|
3519
|
+
offset: x,
|
|
3499
3520
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3500
3521
|
location: P
|
|
3501
3522
|
},
|
|
@@ -3545,16 +3566,16 @@ var li = (
|
|
|
3545
3566
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3546
3567
|
var n = [];
|
|
3547
3568
|
try {
|
|
3548
|
-
n =
|
|
3569
|
+
n = Xn(t);
|
|
3549
3570
|
} catch (i) {
|
|
3550
3571
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3551
3572
|
}
|
|
3552
3573
|
return {
|
|
3553
3574
|
val: {
|
|
3554
|
-
type:
|
|
3575
|
+
type: W.number,
|
|
3555
3576
|
tokens: n,
|
|
3556
3577
|
location: r,
|
|
3557
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3578
|
+
parsedOptions: this.shouldParseSkeletons ? Qn(n) : {}
|
|
3558
3579
|
},
|
|
3559
3580
|
err: null
|
|
3560
3581
|
};
|
|
@@ -3576,16 +3597,16 @@ var li = (
|
|
|
3576
3597
|
var m = this.clonePosition();
|
|
3577
3598
|
if (!this.bumpIf("{"))
|
|
3578
3599
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
3579
|
-
var
|
|
3580
|
-
if (d.err)
|
|
3581
|
-
return d;
|
|
3582
|
-
var p = this.tryParseArgumentClose(m);
|
|
3600
|
+
var p = this.parseMessage(t + 1, r, n);
|
|
3583
3601
|
if (p.err)
|
|
3584
3602
|
return p;
|
|
3603
|
+
var d = this.tryParseArgumentClose(m);
|
|
3604
|
+
if (d.err)
|
|
3605
|
+
return d;
|
|
3585
3606
|
a.push([
|
|
3586
3607
|
u,
|
|
3587
3608
|
{
|
|
3588
|
-
value:
|
|
3609
|
+
value: p.val,
|
|
3589
3610
|
location: v(m, this.clonePosition())
|
|
3590
3611
|
}
|
|
3591
3612
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
@@ -3602,7 +3623,7 @@ var li = (
|
|
|
3602
3623
|
break;
|
|
3603
3624
|
}
|
|
3604
3625
|
var l = v(i, this.clonePosition());
|
|
3605
|
-
return o ? (s *= n,
|
|
3626
|
+
return o ? (s *= n, ai(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3606
3627
|
}, e.prototype.offset = function() {
|
|
3607
3628
|
return this.position.offset;
|
|
3608
3629
|
}, e.prototype.isEOF = function() {
|
|
@@ -3617,7 +3638,7 @@ var li = (
|
|
|
3617
3638
|
var t = this.position.offset;
|
|
3618
3639
|
if (t >= this.message.length)
|
|
3619
3640
|
throw Error("out of bound");
|
|
3620
|
-
var r =
|
|
3641
|
+
var r = lr(this.message, t);
|
|
3621
3642
|
if (r === void 0)
|
|
3622
3643
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3623
3644
|
return r;
|
|
@@ -3636,7 +3657,7 @@ var li = (
|
|
|
3636
3657
|
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);
|
|
3637
3658
|
}
|
|
3638
3659
|
}, e.prototype.bumpIf = function(t) {
|
|
3639
|
-
if (
|
|
3660
|
+
if (wt(this.message, t, this.offset())) {
|
|
3640
3661
|
for (var r = 0; r < t.length; r++)
|
|
3641
3662
|
this.bump();
|
|
3642
3663
|
return !0;
|
|
@@ -3658,7 +3679,7 @@ var li = (
|
|
|
3658
3679
|
break;
|
|
3659
3680
|
}
|
|
3660
3681
|
}, e.prototype.bumpSpace = function() {
|
|
3661
|
-
for (; !this.isEOF() &&
|
|
3682
|
+
for (; !this.isEOF() && cr(this.char()); )
|
|
3662
3683
|
this.bump();
|
|
3663
3684
|
}, e.prototype.peek = function() {
|
|
3664
3685
|
if (this.isEOF())
|
|
@@ -3668,47 +3689,47 @@ var li = (
|
|
|
3668
3689
|
}, e;
|
|
3669
3690
|
}()
|
|
3670
3691
|
);
|
|
3671
|
-
function
|
|
3692
|
+
function qe(e) {
|
|
3672
3693
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3673
3694
|
}
|
|
3674
|
-
function
|
|
3675
|
-
return
|
|
3695
|
+
function fi(e) {
|
|
3696
|
+
return qe(e) || e === 47;
|
|
3676
3697
|
}
|
|
3677
|
-
function
|
|
3698
|
+
function mi(e) {
|
|
3678
3699
|
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;
|
|
3679
3700
|
}
|
|
3680
|
-
function
|
|
3701
|
+
function cr(e) {
|
|
3681
3702
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3682
3703
|
}
|
|
3683
|
-
function
|
|
3704
|
+
function pi(e) {
|
|
3684
3705
|
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;
|
|
3685
3706
|
}
|
|
3686
|
-
function
|
|
3707
|
+
function Ye(e) {
|
|
3687
3708
|
e.forEach(function(t) {
|
|
3688
|
-
if (delete t.location,
|
|
3709
|
+
if (delete t.location, tr(t) || rr(t))
|
|
3689
3710
|
for (var r in t.options)
|
|
3690
|
-
delete t.options[r].location,
|
|
3711
|
+
delete t.options[r].location, Ye(t.options[r].value);
|
|
3691
3712
|
else
|
|
3692
|
-
|
|
3713
|
+
Yt(t) && ir(t.style) || (Kt(t) || er(t)) && We(t.style) ? delete t.style.location : nr(t) && Ye(t.children);
|
|
3693
3714
|
});
|
|
3694
3715
|
}
|
|
3695
|
-
function
|
|
3696
|
-
t === void 0 && (t = {}), t =
|
|
3697
|
-
var r = new
|
|
3716
|
+
function di(e, t) {
|
|
3717
|
+
t === void 0 && (t = {}), t = ve({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3718
|
+
var r = new ci(e, t).parse();
|
|
3698
3719
|
if (r.err) {
|
|
3699
3720
|
var n = SyntaxError(b[r.err.kind]);
|
|
3700
3721
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3701
3722
|
}
|
|
3702
|
-
return t != null && t.captureLocation ||
|
|
3723
|
+
return t != null && t.captureLocation || Ye(r.val), r.val;
|
|
3703
3724
|
}
|
|
3704
|
-
var
|
|
3725
|
+
var Z;
|
|
3705
3726
|
(function(e) {
|
|
3706
3727
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3707
|
-
})(
|
|
3708
|
-
var
|
|
3728
|
+
})(Z || (Z = {}));
|
|
3729
|
+
var we = (
|
|
3709
3730
|
/** @class */
|
|
3710
3731
|
function(e) {
|
|
3711
|
-
|
|
3732
|
+
Se(t, e);
|
|
3712
3733
|
function t(r, n, i) {
|
|
3713
3734
|
var o = e.call(this, r) || this;
|
|
3714
3735
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3717,48 +3738,48 @@ var Ee = (
|
|
|
3717
3738
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3718
3739
|
}, t;
|
|
3719
3740
|
}(Error)
|
|
3720
|
-
),
|
|
3741
|
+
), Bt = (
|
|
3721
3742
|
/** @class */
|
|
3722
3743
|
function(e) {
|
|
3723
|
-
|
|
3744
|
+
Se(t, e);
|
|
3724
3745
|
function t(r, n, i, o) {
|
|
3725
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3746
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
|
|
3726
3747
|
}
|
|
3727
3748
|
return t;
|
|
3728
|
-
}(
|
|
3729
|
-
),
|
|
3749
|
+
}(we)
|
|
3750
|
+
), bi = (
|
|
3730
3751
|
/** @class */
|
|
3731
3752
|
function(e) {
|
|
3732
|
-
|
|
3753
|
+
Se(t, e);
|
|
3733
3754
|
function t(r, n, i) {
|
|
3734
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3755
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
|
|
3735
3756
|
}
|
|
3736
3757
|
return t;
|
|
3737
|
-
}(
|
|
3738
|
-
),
|
|
3758
|
+
}(we)
|
|
3759
|
+
), gi = (
|
|
3739
3760
|
/** @class */
|
|
3740
3761
|
function(e) {
|
|
3741
|
-
|
|
3762
|
+
Se(t, e);
|
|
3742
3763
|
function t(r, n) {
|
|
3743
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3764
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
|
|
3744
3765
|
}
|
|
3745
3766
|
return t;
|
|
3746
|
-
}(
|
|
3767
|
+
}(we)
|
|
3747
3768
|
), A;
|
|
3748
3769
|
(function(e) {
|
|
3749
3770
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3750
3771
|
})(A || (A = {}));
|
|
3751
|
-
function
|
|
3772
|
+
function vi(e) {
|
|
3752
3773
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3753
3774
|
var n = t[t.length - 1];
|
|
3754
3775
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3755
3776
|
}, []);
|
|
3756
3777
|
}
|
|
3757
|
-
function
|
|
3778
|
+
function yi(e) {
|
|
3758
3779
|
return typeof e == "function";
|
|
3759
3780
|
}
|
|
3760
|
-
function
|
|
3761
|
-
if (e.length === 1 &&
|
|
3781
|
+
function de(e, t, r, n, i, o, s) {
|
|
3782
|
+
if (e.length === 1 && _t(e[0]))
|
|
3762
3783
|
return [
|
|
3763
3784
|
{
|
|
3764
3785
|
type: A.literal,
|
|
@@ -3767,14 +3788,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3767
3788
|
];
|
|
3768
3789
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3769
3790
|
var h = u[l];
|
|
3770
|
-
if (
|
|
3791
|
+
if (_t(h)) {
|
|
3771
3792
|
a.push({
|
|
3772
3793
|
type: A.literal,
|
|
3773
3794
|
value: h.value
|
|
3774
3795
|
});
|
|
3775
3796
|
continue;
|
|
3776
3797
|
}
|
|
3777
|
-
if (
|
|
3798
|
+
if (Fn(h)) {
|
|
3778
3799
|
typeof o == "number" && a.push({
|
|
3779
3800
|
type: A.literal,
|
|
3780
3801
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3783,89 +3804,89 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3783
3804
|
}
|
|
3784
3805
|
var c = h.value;
|
|
3785
3806
|
if (!(i && c in i))
|
|
3786
|
-
throw new
|
|
3807
|
+
throw new gi(c, s);
|
|
3787
3808
|
var f = i[c];
|
|
3788
|
-
if (
|
|
3809
|
+
if (Dn(h)) {
|
|
3789
3810
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3790
3811
|
type: typeof f == "string" ? A.literal : A.object,
|
|
3791
3812
|
value: f
|
|
3792
3813
|
});
|
|
3793
3814
|
continue;
|
|
3794
3815
|
}
|
|
3795
|
-
if (
|
|
3796
|
-
var m = typeof h.style == "string" ? n.date[h.style] :
|
|
3816
|
+
if (Kt(h)) {
|
|
3817
|
+
var m = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
|
|
3797
3818
|
a.push({
|
|
3798
3819
|
type: A.literal,
|
|
3799
3820
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3800
3821
|
});
|
|
3801
3822
|
continue;
|
|
3802
3823
|
}
|
|
3803
|
-
if (
|
|
3804
|
-
var m = typeof h.style == "string" ? n.time[h.style] :
|
|
3824
|
+
if (er(h)) {
|
|
3825
|
+
var m = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3805
3826
|
a.push({
|
|
3806
3827
|
type: A.literal,
|
|
3807
3828
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3808
3829
|
});
|
|
3809
3830
|
continue;
|
|
3810
3831
|
}
|
|
3811
|
-
if (
|
|
3812
|
-
var m = typeof h.style == "string" ? n.number[h.style] :
|
|
3832
|
+
if (Yt(h)) {
|
|
3833
|
+
var m = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
|
|
3813
3834
|
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3814
3835
|
type: A.literal,
|
|
3815
3836
|
value: r.getNumberFormat(t, m).format(f)
|
|
3816
3837
|
});
|
|
3817
3838
|
continue;
|
|
3818
3839
|
}
|
|
3819
|
-
if (
|
|
3820
|
-
var
|
|
3821
|
-
if (!
|
|
3822
|
-
throw new
|
|
3823
|
-
var M =
|
|
3824
|
-
return
|
|
3840
|
+
if (nr(h)) {
|
|
3841
|
+
var p = h.children, d = h.value, S = i[d];
|
|
3842
|
+
if (!yi(S))
|
|
3843
|
+
throw new bi(d, "function", s);
|
|
3844
|
+
var M = de(p, t, r, n, i, o), C = S(M.map(function(x) {
|
|
3845
|
+
return x.value;
|
|
3825
3846
|
}));
|
|
3826
|
-
Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(
|
|
3847
|
+
Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(x) {
|
|
3827
3848
|
return {
|
|
3828
|
-
type: typeof
|
|
3829
|
-
value:
|
|
3849
|
+
type: typeof x == "string" ? A.literal : A.object,
|
|
3850
|
+
value: x
|
|
3830
3851
|
};
|
|
3831
3852
|
}));
|
|
3832
3853
|
}
|
|
3833
|
-
if (
|
|
3834
|
-
var
|
|
3835
|
-
if (!
|
|
3836
|
-
throw new
|
|
3837
|
-
a.push.apply(a,
|
|
3854
|
+
if (tr(h)) {
|
|
3855
|
+
var w = h.options[f] || h.options.other;
|
|
3856
|
+
if (!w)
|
|
3857
|
+
throw new Bt(h.value, f, Object.keys(h.options), s);
|
|
3858
|
+
a.push.apply(a, de(w.value, t, r, n, i));
|
|
3838
3859
|
continue;
|
|
3839
3860
|
}
|
|
3840
|
-
if (
|
|
3841
|
-
var
|
|
3842
|
-
if (!
|
|
3861
|
+
if (rr(h)) {
|
|
3862
|
+
var w = h.options["=".concat(f)];
|
|
3863
|
+
if (!w) {
|
|
3843
3864
|
if (!Intl.PluralRules)
|
|
3844
|
-
throw new
|
|
3865
|
+
throw new we(`Intl.PluralRules is not available in this environment.
|
|
3845
3866
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3846
|
-
`,
|
|
3867
|
+
`, Z.MISSING_INTL_API, s);
|
|
3847
3868
|
var _ = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3848
|
-
|
|
3869
|
+
w = h.options[_] || h.options.other;
|
|
3849
3870
|
}
|
|
3850
|
-
if (!
|
|
3851
|
-
throw new
|
|
3852
|
-
a.push.apply(a,
|
|
3871
|
+
if (!w)
|
|
3872
|
+
throw new Bt(h.value, f, Object.keys(h.options), s);
|
|
3873
|
+
a.push.apply(a, de(w.value, t, r, n, i, f - (h.offset || 0)));
|
|
3853
3874
|
continue;
|
|
3854
3875
|
}
|
|
3855
3876
|
}
|
|
3856
|
-
return
|
|
3877
|
+
return vi(a);
|
|
3857
3878
|
}
|
|
3858
|
-
function
|
|
3859
|
-
return t ?
|
|
3860
|
-
return r[n] =
|
|
3879
|
+
function _i(e, t) {
|
|
3880
|
+
return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3881
|
+
return r[n] = L(L({}, e[n]), t[n] || {}), r;
|
|
3861
3882
|
}, {})) : e;
|
|
3862
3883
|
}
|
|
3863
|
-
function
|
|
3884
|
+
function xi(e, t) {
|
|
3864
3885
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3865
|
-
return r[n] =
|
|
3866
|
-
},
|
|
3886
|
+
return r[n] = _i(e[n], t[n]), r;
|
|
3887
|
+
}, L({}, e)) : e;
|
|
3867
3888
|
}
|
|
3868
|
-
function
|
|
3889
|
+
function Ne(e) {
|
|
3869
3890
|
return {
|
|
3870
3891
|
create: function() {
|
|
3871
3892
|
return {
|
|
@@ -3879,39 +3900,39 @@ function Ie(e) {
|
|
|
3879
3900
|
}
|
|
3880
3901
|
};
|
|
3881
3902
|
}
|
|
3882
|
-
function
|
|
3903
|
+
function Ei(e) {
|
|
3883
3904
|
return e === void 0 && (e = {
|
|
3884
3905
|
number: {},
|
|
3885
3906
|
dateTime: {},
|
|
3886
3907
|
pluralRules: {}
|
|
3887
3908
|
}), {
|
|
3888
|
-
getNumberFormat:
|
|
3909
|
+
getNumberFormat: Oe(function() {
|
|
3889
3910
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3890
3911
|
r[n] = arguments[n];
|
|
3891
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3912
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3892
3913
|
}, {
|
|
3893
|
-
cache:
|
|
3894
|
-
strategy:
|
|
3914
|
+
cache: Ne(e.number),
|
|
3915
|
+
strategy: Ie.variadic
|
|
3895
3916
|
}),
|
|
3896
|
-
getDateTimeFormat:
|
|
3917
|
+
getDateTimeFormat: Oe(function() {
|
|
3897
3918
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3898
3919
|
r[n] = arguments[n];
|
|
3899
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3920
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3900
3921
|
}, {
|
|
3901
|
-
cache:
|
|
3902
|
-
strategy:
|
|
3922
|
+
cache: Ne(e.dateTime),
|
|
3923
|
+
strategy: Ie.variadic
|
|
3903
3924
|
}),
|
|
3904
|
-
getPluralRules:
|
|
3925
|
+
getPluralRules: Oe(function() {
|
|
3905
3926
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3906
3927
|
r[n] = arguments[n];
|
|
3907
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3928
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3908
3929
|
}, {
|
|
3909
|
-
cache:
|
|
3910
|
-
strategy:
|
|
3930
|
+
cache: Ne(e.pluralRules),
|
|
3931
|
+
strategy: Ie.variadic
|
|
3911
3932
|
})
|
|
3912
3933
|
};
|
|
3913
3934
|
}
|
|
3914
|
-
var
|
|
3935
|
+
var Si = (
|
|
3915
3936
|
/** @class */
|
|
3916
3937
|
function() {
|
|
3917
3938
|
function e(t, r, n, i) {
|
|
@@ -3930,7 +3951,7 @@ var _i = (
|
|
|
3930
3951
|
}, []);
|
|
3931
3952
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3932
3953
|
}, this.formatToParts = function(l) {
|
|
3933
|
-
return
|
|
3954
|
+
return de(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3934
3955
|
}, this.resolvedOptions = function() {
|
|
3935
3956
|
var l;
|
|
3936
3957
|
return {
|
|
@@ -3943,13 +3964,13 @@ var _i = (
|
|
|
3943
3964
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3944
3965
|
var s = i || {};
|
|
3945
3966
|
s.formatters;
|
|
3946
|
-
var a =
|
|
3947
|
-
this.ast = e.__parse(t,
|
|
3967
|
+
var a = In(s, ["formatters"]);
|
|
3968
|
+
this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
|
|
3948
3969
|
} else
|
|
3949
3970
|
this.ast = t;
|
|
3950
3971
|
if (!Array.isArray(this.ast))
|
|
3951
3972
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3952
|
-
this.formats =
|
|
3973
|
+
this.formats = xi(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
|
|
3953
3974
|
}
|
|
3954
3975
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3955
3976
|
get: function() {
|
|
@@ -3962,7 +3983,7 @@ var _i = (
|
|
|
3962
3983
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3963
3984
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3964
3985
|
}
|
|
3965
|
-
}, e.__parse =
|
|
3986
|
+
}, e.__parse = di, e.formats = {
|
|
3966
3987
|
number: {
|
|
3967
3988
|
integer: {
|
|
3968
3989
|
maximumFractionDigits: 0
|
|
@@ -4023,7 +4044,7 @@ var _i = (
|
|
|
4023
4044
|
}, e;
|
|
4024
4045
|
}()
|
|
4025
4046
|
);
|
|
4026
|
-
function
|
|
4047
|
+
function wi(e, t) {
|
|
4027
4048
|
if (t == null)
|
|
4028
4049
|
return;
|
|
4029
4050
|
if (t in e)
|
|
@@ -4044,92 +4065,92 @@ function Ei(e, t) {
|
|
|
4044
4065
|
n = void 0;
|
|
4045
4066
|
return n;
|
|
4046
4067
|
}
|
|
4047
|
-
const G = {},
|
|
4068
|
+
const G = {}, Ti = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), fr = (e, t) => {
|
|
4048
4069
|
if (t == null)
|
|
4049
4070
|
return;
|
|
4050
4071
|
if (t in G && e in G[t])
|
|
4051
4072
|
return G[t][e];
|
|
4052
|
-
const r =
|
|
4073
|
+
const r = Te(t);
|
|
4053
4074
|
for (let n = 0; n < r.length; n++) {
|
|
4054
|
-
const i = r[n], o =
|
|
4075
|
+
const i = r[n], o = Bi(i, e);
|
|
4055
4076
|
if (o)
|
|
4056
|
-
return
|
|
4077
|
+
return Ti(e, t, o);
|
|
4057
4078
|
}
|
|
4058
4079
|
};
|
|
4059
|
-
let
|
|
4060
|
-
const ue =
|
|
4061
|
-
function
|
|
4062
|
-
return
|
|
4080
|
+
let rt;
|
|
4081
|
+
const ue = Ee({});
|
|
4082
|
+
function Hi(e) {
|
|
4083
|
+
return rt[e] || null;
|
|
4063
4084
|
}
|
|
4064
|
-
function
|
|
4065
|
-
return e in
|
|
4085
|
+
function mr(e) {
|
|
4086
|
+
return e in rt;
|
|
4066
4087
|
}
|
|
4067
|
-
function
|
|
4068
|
-
if (!
|
|
4088
|
+
function Bi(e, t) {
|
|
4089
|
+
if (!mr(e))
|
|
4069
4090
|
return null;
|
|
4070
|
-
const r =
|
|
4071
|
-
return
|
|
4091
|
+
const r = Hi(e);
|
|
4092
|
+
return wi(r, t);
|
|
4072
4093
|
}
|
|
4073
|
-
function
|
|
4094
|
+
function Ai(e) {
|
|
4074
4095
|
if (e == null)
|
|
4075
4096
|
return;
|
|
4076
|
-
const t =
|
|
4097
|
+
const t = Te(e);
|
|
4077
4098
|
for (let r = 0; r < t.length; r++) {
|
|
4078
4099
|
const n = t[r];
|
|
4079
|
-
if (
|
|
4100
|
+
if (mr(n))
|
|
4080
4101
|
return n;
|
|
4081
4102
|
}
|
|
4082
4103
|
}
|
|
4083
|
-
function
|
|
4104
|
+
function pr(e, ...t) {
|
|
4084
4105
|
delete G[e], ue.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
|
|
4085
4106
|
}
|
|
4086
|
-
|
|
4107
|
+
Y(
|
|
4087
4108
|
[ue],
|
|
4088
4109
|
([e]) => Object.keys(e)
|
|
4089
4110
|
);
|
|
4090
|
-
ue.subscribe((e) =>
|
|
4111
|
+
ue.subscribe((e) => rt = e);
|
|
4091
4112
|
const be = {};
|
|
4092
|
-
function
|
|
4113
|
+
function Ci(e, t) {
|
|
4093
4114
|
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
4094
4115
|
}
|
|
4095
4116
|
function dr(e) {
|
|
4096
4117
|
return be[e];
|
|
4097
4118
|
}
|
|
4098
|
-
function
|
|
4099
|
-
return
|
|
4119
|
+
function Pi(e) {
|
|
4120
|
+
return Te(e).map((t) => {
|
|
4100
4121
|
const r = dr(t);
|
|
4101
4122
|
return [t, r ? [...r] : []];
|
|
4102
4123
|
}).filter(([, t]) => t.length > 0);
|
|
4103
4124
|
}
|
|
4104
|
-
function
|
|
4105
|
-
return e == null ? !1 :
|
|
4125
|
+
function Ke(e) {
|
|
4126
|
+
return e == null ? !1 : Te(e).some(
|
|
4106
4127
|
(t) => {
|
|
4107
4128
|
var r;
|
|
4108
4129
|
return (r = dr(t)) == null ? void 0 : r.size;
|
|
4109
4130
|
}
|
|
4110
4131
|
);
|
|
4111
4132
|
}
|
|
4112
|
-
function
|
|
4133
|
+
function Oi(e, t) {
|
|
4113
4134
|
return Promise.all(
|
|
4114
|
-
t.map((n) => (
|
|
4115
|
-
).then((n) =>
|
|
4116
|
-
}
|
|
4117
|
-
const
|
|
4118
|
-
function
|
|
4119
|
-
if (!
|
|
4120
|
-
return e in
|
|
4121
|
-
const t =
|
|
4122
|
-
return
|
|
4135
|
+
t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
|
|
4136
|
+
).then((n) => pr(e, ...n));
|
|
4137
|
+
}
|
|
4138
|
+
const te = {};
|
|
4139
|
+
function br(e) {
|
|
4140
|
+
if (!Ke(e))
|
|
4141
|
+
return e in te ? te[e] : Promise.resolve();
|
|
4142
|
+
const t = Pi(e);
|
|
4143
|
+
return te[e] = Promise.all(
|
|
4123
4144
|
t.map(
|
|
4124
|
-
([r, n]) =>
|
|
4145
|
+
([r, n]) => Oi(r, n)
|
|
4125
4146
|
)
|
|
4126
4147
|
).then(() => {
|
|
4127
|
-
if (
|
|
4128
|
-
return
|
|
4129
|
-
delete
|
|
4130
|
-
}),
|
|
4148
|
+
if (Ke(e))
|
|
4149
|
+
return br(e);
|
|
4150
|
+
delete te[e];
|
|
4151
|
+
}), te[e];
|
|
4131
4152
|
}
|
|
4132
|
-
const
|
|
4153
|
+
const Ii = {
|
|
4133
4154
|
number: {
|
|
4134
4155
|
scientific: { notation: "scientific" },
|
|
4135
4156
|
engineering: { notation: "engineering" },
|
|
@@ -4158,135 +4179,135 @@ const Pi = {
|
|
|
4158
4179
|
timeZoneName: "short"
|
|
4159
4180
|
}
|
|
4160
4181
|
}
|
|
4161
|
-
},
|
|
4182
|
+
}, Mi = {
|
|
4162
4183
|
fallbackLocale: null,
|
|
4163
4184
|
loadingDelay: 200,
|
|
4164
|
-
formats:
|
|
4185
|
+
formats: Ii,
|
|
4165
4186
|
warnOnMissingMessages: !0,
|
|
4166
4187
|
handleMissingMessage: void 0,
|
|
4167
4188
|
ignoreTag: !0
|
|
4168
|
-
},
|
|
4169
|
-
function
|
|
4170
|
-
return
|
|
4189
|
+
}, Ni = Mi;
|
|
4190
|
+
function Q() {
|
|
4191
|
+
return Ni;
|
|
4171
4192
|
}
|
|
4172
|
-
const
|
|
4173
|
-
var
|
|
4193
|
+
const Le = Ee(!1);
|
|
4194
|
+
var Li = Object.defineProperty, Ri = Object.defineProperties, $i = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Gi = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
|
|
4174
4195
|
for (var r in t || (t = {}))
|
|
4175
|
-
|
|
4176
|
-
if (
|
|
4177
|
-
for (var r of
|
|
4178
|
-
|
|
4196
|
+
Gi.call(t, r) && Ct(e, r, t[r]);
|
|
4197
|
+
if (At)
|
|
4198
|
+
for (var r of At(t))
|
|
4199
|
+
Ui.call(t, r) && Ct(e, r, t[r]);
|
|
4179
4200
|
return e;
|
|
4180
|
-
},
|
|
4181
|
-
let
|
|
4182
|
-
const
|
|
4183
|
-
function
|
|
4201
|
+
}, Fi = (e, t) => Ri(e, $i(t));
|
|
4202
|
+
let et;
|
|
4203
|
+
const ye = Ee(null);
|
|
4204
|
+
function Pt(e) {
|
|
4184
4205
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4185
4206
|
}
|
|
4186
|
-
function
|
|
4187
|
-
const r =
|
|
4188
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4207
|
+
function Te(e, t = Q().fallbackLocale) {
|
|
4208
|
+
const r = Pt(e);
|
|
4209
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
|
|
4189
4210
|
}
|
|
4190
4211
|
function U() {
|
|
4191
|
-
return
|
|
4212
|
+
return et != null ? et : void 0;
|
|
4192
4213
|
}
|
|
4193
|
-
|
|
4194
|
-
|
|
4214
|
+
ye.subscribe((e) => {
|
|
4215
|
+
et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4195
4216
|
});
|
|
4196
|
-
const
|
|
4197
|
-
if (e &&
|
|
4198
|
-
const { loadingDelay: t } =
|
|
4217
|
+
const ji = (e) => {
|
|
4218
|
+
if (e && Ai(e) && Ke(e)) {
|
|
4219
|
+
const { loadingDelay: t } = Q();
|
|
4199
4220
|
let r;
|
|
4200
4221
|
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
4201
|
-
() =>
|
|
4222
|
+
() => Le.set(!0),
|
|
4202
4223
|
t
|
|
4203
|
-
) :
|
|
4204
|
-
|
|
4224
|
+
) : Le.set(!0), br(e).then(() => {
|
|
4225
|
+
ye.set(e);
|
|
4205
4226
|
}).finally(() => {
|
|
4206
|
-
clearTimeout(r),
|
|
4227
|
+
clearTimeout(r), Le.set(!1);
|
|
4207
4228
|
});
|
|
4208
4229
|
}
|
|
4209
|
-
return
|
|
4210
|
-
},
|
|
4211
|
-
set:
|
|
4212
|
-
}),
|
|
4230
|
+
return ye.set(e);
|
|
4231
|
+
}, K = Fi(Di({}, ye), {
|
|
4232
|
+
set: ji
|
|
4233
|
+
}), He = (e) => {
|
|
4213
4234
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4214
4235
|
return (n) => {
|
|
4215
4236
|
const i = JSON.stringify(n);
|
|
4216
4237
|
return i in t ? t[i] : t[i] = e(n);
|
|
4217
4238
|
};
|
|
4218
4239
|
};
|
|
4219
|
-
var
|
|
4240
|
+
var ki = Object.defineProperty, _e = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
|
4220
4241
|
for (var r in t || (t = {}))
|
|
4221
|
-
|
|
4222
|
-
if (
|
|
4223
|
-
for (var r of
|
|
4224
|
-
|
|
4242
|
+
gr.call(t, r) && Ot(e, r, t[r]);
|
|
4243
|
+
if (_e)
|
|
4244
|
+
for (var r of _e(t))
|
|
4245
|
+
vr.call(t, r) && Ot(e, r, t[r]);
|
|
4225
4246
|
return e;
|
|
4226
|
-
},
|
|
4247
|
+
}, ee = (e, t) => {
|
|
4227
4248
|
var r = {};
|
|
4228
4249
|
for (var n in e)
|
|
4229
|
-
|
|
4230
|
-
if (e != null &&
|
|
4231
|
-
for (var n of
|
|
4232
|
-
t.indexOf(n) < 0 &&
|
|
4250
|
+
gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4251
|
+
if (e != null && _e)
|
|
4252
|
+
for (var n of _e(e))
|
|
4253
|
+
t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
|
|
4233
4254
|
return r;
|
|
4234
4255
|
};
|
|
4235
|
-
const
|
|
4236
|
-
const { formats: r } =
|
|
4256
|
+
const oe = (e, t) => {
|
|
4257
|
+
const { formats: r } = Q();
|
|
4237
4258
|
if (e in r && t in r[e])
|
|
4238
4259
|
return r[e][t];
|
|
4239
4260
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4240
|
-
},
|
|
4261
|
+
}, Vi = He(
|
|
4241
4262
|
(e) => {
|
|
4242
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4263
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4243
4264
|
if (r == null)
|
|
4244
4265
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4245
|
-
return n && (i =
|
|
4266
|
+
return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
|
|
4246
4267
|
}
|
|
4247
|
-
),
|
|
4268
|
+
), Xi = He(
|
|
4248
4269
|
(e) => {
|
|
4249
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4270
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4250
4271
|
if (r == null)
|
|
4251
4272
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4252
|
-
return n ? i =
|
|
4273
|
+
return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4253
4274
|
}
|
|
4254
|
-
),
|
|
4275
|
+
), zi = He(
|
|
4255
4276
|
(e) => {
|
|
4256
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4277
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4257
4278
|
if (r == null)
|
|
4258
4279
|
throw new Error(
|
|
4259
4280
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4260
4281
|
);
|
|
4261
|
-
return n ? i =
|
|
4282
|
+
return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4262
4283
|
}
|
|
4263
|
-
),
|
|
4284
|
+
), Wi = (e = {}) => {
|
|
4264
4285
|
var t = e, {
|
|
4265
4286
|
locale: r = U()
|
|
4266
|
-
} = t, n =
|
|
4287
|
+
} = t, n = ee(t, [
|
|
4267
4288
|
"locale"
|
|
4268
4289
|
]);
|
|
4269
|
-
return
|
|
4270
|
-
},
|
|
4290
|
+
return Vi(nt({ locale: r }, n));
|
|
4291
|
+
}, Zi = (e = {}) => {
|
|
4271
4292
|
var t = e, {
|
|
4272
4293
|
locale: r = U()
|
|
4273
|
-
} = t, n =
|
|
4294
|
+
} = t, n = ee(t, [
|
|
4274
4295
|
"locale"
|
|
4275
4296
|
]);
|
|
4276
|
-
return
|
|
4277
|
-
},
|
|
4297
|
+
return Xi(nt({ locale: r }, n));
|
|
4298
|
+
}, Qi = (e = {}) => {
|
|
4278
4299
|
var t = e, {
|
|
4279
4300
|
locale: r = U()
|
|
4280
|
-
} = t, n =
|
|
4301
|
+
} = t, n = ee(t, [
|
|
4281
4302
|
"locale"
|
|
4282
4303
|
]);
|
|
4283
|
-
return
|
|
4284
|
-
},
|
|
4304
|
+
return zi(nt({ locale: r }, n));
|
|
4305
|
+
}, Ji = He(
|
|
4285
4306
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4286
|
-
(e, t = U()) => new
|
|
4287
|
-
ignoreTag:
|
|
4307
|
+
(e, t = U()) => new Si(e, t, Q().formats, {
|
|
4308
|
+
ignoreTag: Q().ignoreTag
|
|
4288
4309
|
})
|
|
4289
|
-
),
|
|
4310
|
+
), qi = (e, t = {}) => {
|
|
4290
4311
|
var r, n, i, o;
|
|
4291
4312
|
let s = t;
|
|
4292
4313
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4299,9 +4320,9 @@ const se = (e, t) => {
|
|
|
4299
4320
|
throw new Error(
|
|
4300
4321
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4301
4322
|
);
|
|
4302
|
-
let h =
|
|
4323
|
+
let h = fr(e, l);
|
|
4303
4324
|
if (!h)
|
|
4304
|
-
h = (o = (i = (n = (r =
|
|
4325
|
+
h = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4305
4326
|
else if (typeof h != "string")
|
|
4306
4327
|
return console.warn(
|
|
4307
4328
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4310,7 +4331,7 @@ const se = (e, t) => {
|
|
|
4310
4331
|
return h;
|
|
4311
4332
|
let c = h;
|
|
4312
4333
|
try {
|
|
4313
|
-
c =
|
|
4334
|
+
c = Ji(h, l).format(a);
|
|
4314
4335
|
} catch (f) {
|
|
4315
4336
|
f instanceof Error && console.warn(
|
|
4316
4337
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4318,20 +4339,20 @@ const se = (e, t) => {
|
|
|
4318
4339
|
);
|
|
4319
4340
|
}
|
|
4320
4341
|
return c;
|
|
4321
|
-
},
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
window.emWidgets = { topic:
|
|
4327
|
-
const
|
|
4328
|
-
function
|
|
4342
|
+
}, Yi = (e, t) => Qi(t).format(e), Ki = (e, t) => Zi(t).format(e), eo = (e, t) => Wi(t).format(e), to = (e, t = U()) => fr(e, t), ro = Y([K, ue], () => qi);
|
|
4343
|
+
Y([K], () => Yi);
|
|
4344
|
+
Y([K], () => Ki);
|
|
4345
|
+
Y([K], () => eo);
|
|
4346
|
+
Y([K, ue], () => to);
|
|
4347
|
+
window.emWidgets = { topic: dn };
|
|
4348
|
+
const no = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4349
|
+
function io(e, t) {
|
|
4329
4350
|
if (e) {
|
|
4330
4351
|
const r = document.createElement("style");
|
|
4331
4352
|
r.innerHTML = t, e.appendChild(r);
|
|
4332
4353
|
}
|
|
4333
4354
|
}
|
|
4334
|
-
function
|
|
4355
|
+
function oo(e, t) {
|
|
4335
4356
|
const r = new URL(t);
|
|
4336
4357
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4337
4358
|
const i = document.createElement("style");
|
|
@@ -4340,7 +4361,7 @@ function no(e, t) {
|
|
|
4340
4361
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4341
4362
|
});
|
|
4342
4363
|
}
|
|
4343
|
-
function
|
|
4364
|
+
function so(e, t, r) {
|
|
4344
4365
|
if (window.emMessageBus) {
|
|
4345
4366
|
const n = document.createElement("style");
|
|
4346
4367
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4348,13 +4369,13 @@ function io(e, t, r) {
|
|
|
4348
4369
|
});
|
|
4349
4370
|
}
|
|
4350
4371
|
}
|
|
4351
|
-
function
|
|
4352
|
-
|
|
4372
|
+
function It(e, t) {
|
|
4373
|
+
pr(e, t);
|
|
4353
4374
|
}
|
|
4354
|
-
function
|
|
4355
|
-
|
|
4375
|
+
function ao(e) {
|
|
4376
|
+
K.set(e);
|
|
4356
4377
|
}
|
|
4357
|
-
const
|
|
4378
|
+
const Mt = {
|
|
4358
4379
|
en: {
|
|
4359
4380
|
cancel: "Cancel",
|
|
4360
4381
|
confirm: "Confirm"
|
|
@@ -4400,36 +4421,36 @@ const Ot = {
|
|
|
4400
4421
|
confirm: "Confirm"
|
|
4401
4422
|
}
|
|
4402
4423
|
};
|
|
4403
|
-
function so(e) {
|
|
4404
|
-
Mr(e, "svelte-1o81iqe", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
4405
|
-
}
|
|
4406
|
-
const ao = (e) => ({}), It = (e) => ({});
|
|
4407
4424
|
function uo(e) {
|
|
4425
|
+
Nr(e, "svelte-1o81iqe", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
4426
|
+
}
|
|
4427
|
+
const lo = (e) => ({}), Nt = (e) => ({});
|
|
4428
|
+
function ho(e) {
|
|
4408
4429
|
let t, r;
|
|
4409
4430
|
return {
|
|
4410
4431
|
c() {
|
|
4411
|
-
t =
|
|
4432
|
+
t = ht("svg"), r = ht("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4412
4433
|
},
|
|
4413
4434
|
m(n, i) {
|
|
4414
|
-
|
|
4435
|
+
se(n, t, i), B(t, r);
|
|
4415
4436
|
},
|
|
4416
|
-
p:
|
|
4437
|
+
p: R,
|
|
4417
4438
|
d(n) {
|
|
4418
|
-
n &&
|
|
4439
|
+
n && q(t);
|
|
4419
4440
|
}
|
|
4420
4441
|
};
|
|
4421
4442
|
}
|
|
4422
|
-
function
|
|
4443
|
+
function Lt(e) {
|
|
4423
4444
|
let t, r, n;
|
|
4424
4445
|
return {
|
|
4425
4446
|
c() {
|
|
4426
|
-
t = N("div"), r = N("h2"), n =
|
|
4447
|
+
t = N("div"), r = N("h2"), n = X(
|
|
4427
4448
|
/*modaltitle*/
|
|
4428
4449
|
e[1]
|
|
4429
4450
|
), H(t, "class", "GeneralConfirmationTitle");
|
|
4430
4451
|
},
|
|
4431
4452
|
m(i, o) {
|
|
4432
|
-
|
|
4453
|
+
se(i, t, o), B(t, r), B(r, n);
|
|
4433
4454
|
},
|
|
4434
4455
|
p(i, o) {
|
|
4435
4456
|
o & /*modaltitle*/
|
|
@@ -4440,21 +4461,21 @@ function Mt(e) {
|
|
|
4440
4461
|
);
|
|
4441
4462
|
},
|
|
4442
4463
|
d(i) {
|
|
4443
|
-
i &&
|
|
4464
|
+
i && q(t);
|
|
4444
4465
|
}
|
|
4445
4466
|
};
|
|
4446
4467
|
}
|
|
4447
|
-
function
|
|
4468
|
+
function Rt(e) {
|
|
4448
4469
|
let t, r = (
|
|
4449
4470
|
/*$_*/
|
|
4450
4471
|
e[4]("cancel") + ""
|
|
4451
4472
|
), n, i, o;
|
|
4452
4473
|
return {
|
|
4453
4474
|
c() {
|
|
4454
|
-
t = N("button"), n =
|
|
4475
|
+
t = N("button"), n = X(r), H(t, "class", "GeneralCancelButton");
|
|
4455
4476
|
},
|
|
4456
4477
|
m(s, a) {
|
|
4457
|
-
|
|
4478
|
+
se(s, t, a), B(t, n), i || (o = Re(
|
|
4458
4479
|
t,
|
|
4459
4480
|
"click",
|
|
4460
4481
|
/*click_handler*/
|
|
@@ -4467,170 +4488,170 @@ function Nt(e) {
|
|
|
4467
4488
|
s[4]("cancel") + "") && ge(n, r);
|
|
4468
4489
|
},
|
|
4469
4490
|
d(s) {
|
|
4470
|
-
s &&
|
|
4491
|
+
s && q(t), i = !1, o();
|
|
4471
4492
|
}
|
|
4472
4493
|
};
|
|
4473
4494
|
}
|
|
4474
|
-
function
|
|
4495
|
+
function co(e) {
|
|
4475
4496
|
let t, r, n, i, o, s, a, l, u, h, c, f = (
|
|
4476
4497
|
/*$_*/
|
|
4477
4498
|
e[4]("confirm") + ""
|
|
4478
|
-
), m,
|
|
4499
|
+
), m, p, d, S;
|
|
4479
4500
|
const M = (
|
|
4480
4501
|
/*#slots*/
|
|
4481
4502
|
e[16].close
|
|
4482
|
-
), C =
|
|
4503
|
+
), C = Pr(
|
|
4483
4504
|
M,
|
|
4484
4505
|
e,
|
|
4485
4506
|
/*$$scope*/
|
|
4486
4507
|
e[15],
|
|
4487
|
-
|
|
4488
|
-
),
|
|
4508
|
+
Nt
|
|
4509
|
+
), w = C || ho();
|
|
4489
4510
|
let _ = (
|
|
4490
4511
|
/*modaltitle*/
|
|
4491
|
-
e[1] &&
|
|
4492
|
-
),
|
|
4512
|
+
e[1] && Lt(e)
|
|
4513
|
+
), x = (
|
|
4493
4514
|
/*hascancelbutton*/
|
|
4494
|
-
e[2] &&
|
|
4515
|
+
e[2] && Rt(e)
|
|
4495
4516
|
);
|
|
4496
4517
|
return {
|
|
4497
4518
|
c() {
|
|
4498
|
-
t = N("div"), r = N("div"), n = N("span"),
|
|
4519
|
+
t = N("div"), r = N("div"), n = N("span"), w && w.c(), i = le(), _ && _.c(), o = le(), s = N("div"), a = X(
|
|
4499
4520
|
/*modaltext*/
|
|
4500
4521
|
e[0]
|
|
4501
|
-
), l = le(), u = N("div"),
|
|
4522
|
+
), l = le(), u = N("div"), x && x.c(), h = le(), c = N("button"), m = X(f), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(c, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4502
4523
|
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4503
4524
|
(e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4504
4525
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4505
4526
|
},
|
|
4506
|
-
m(
|
|
4507
|
-
|
|
4508
|
-
|
|
4527
|
+
m(y, P) {
|
|
4528
|
+
se(y, t, P), B(t, r), B(r, n), w && w.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), B(s, a), B(r, l), B(r, u), x && x.m(u, null), B(u, h), B(u, c), B(c, m), e[19](t), p = !0, d || (S = [
|
|
4529
|
+
Re(
|
|
4509
4530
|
n,
|
|
4510
4531
|
"click",
|
|
4511
4532
|
/*close*/
|
|
4512
4533
|
e[6]
|
|
4513
4534
|
),
|
|
4514
|
-
|
|
4535
|
+
Re(
|
|
4515
4536
|
c,
|
|
4516
4537
|
"click",
|
|
4517
4538
|
/*click_handler_1*/
|
|
4518
4539
|
e[18]
|
|
4519
4540
|
)
|
|
4520
|
-
],
|
|
4541
|
+
], d = !0);
|
|
4521
4542
|
},
|
|
4522
|
-
p(
|
|
4523
|
-
C && C.p && (!
|
|
4524
|
-
32768) &&
|
|
4543
|
+
p(y, [P]) {
|
|
4544
|
+
C && C.p && (!p || P & /*$$scope*/
|
|
4545
|
+
32768) && Ir(
|
|
4525
4546
|
C,
|
|
4526
4547
|
M,
|
|
4527
|
-
|
|
4548
|
+
y,
|
|
4528
4549
|
/*$$scope*/
|
|
4529
|
-
|
|
4530
|
-
|
|
4550
|
+
y[15],
|
|
4551
|
+
p ? Or(
|
|
4531
4552
|
M,
|
|
4532
4553
|
/*$$scope*/
|
|
4533
|
-
|
|
4554
|
+
y[15],
|
|
4534
4555
|
P,
|
|
4535
|
-
|
|
4536
|
-
) :
|
|
4556
|
+
lo
|
|
4557
|
+
) : Mr(
|
|
4537
4558
|
/*$$scope*/
|
|
4538
|
-
|
|
4559
|
+
y[15]
|
|
4539
4560
|
),
|
|
4540
|
-
|
|
4561
|
+
Nt
|
|
4541
4562
|
), /*modaltitle*/
|
|
4542
|
-
|
|
4563
|
+
y[1] ? _ ? _.p(y, P) : (_ = Lt(y), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!p || P & /*modaltext*/
|
|
4543
4564
|
1) && ge(
|
|
4544
4565
|
a,
|
|
4545
4566
|
/*modaltext*/
|
|
4546
|
-
|
|
4567
|
+
y[0]
|
|
4547
4568
|
), /*hascancelbutton*/
|
|
4548
|
-
|
|
4569
|
+
y[2] ? x ? x.p(y, P) : (x = Rt(y), x.c(), x.m(u, h)) : x && (x.d(1), x = null), (!p || P & /*$_*/
|
|
4549
4570
|
16) && f !== (f = /*$_*/
|
|
4550
|
-
|
|
4571
|
+
y[4]("confirm") + "") && ge(m, f);
|
|
4551
4572
|
},
|
|
4552
|
-
i(
|
|
4553
|
-
|
|
4573
|
+
i(y) {
|
|
4574
|
+
p || (Ft(w, y), p = !0);
|
|
4554
4575
|
},
|
|
4555
|
-
o(
|
|
4556
|
-
|
|
4576
|
+
o(y) {
|
|
4577
|
+
zr(w, y), p = !1;
|
|
4557
4578
|
},
|
|
4558
|
-
d(
|
|
4559
|
-
|
|
4579
|
+
d(y) {
|
|
4580
|
+
y && q(t), w && w.d(y), _ && _.d(), x && x.d(), e[19](null), d = !1, J(S);
|
|
4560
4581
|
}
|
|
4561
4582
|
};
|
|
4562
4583
|
}
|
|
4563
|
-
function
|
|
4584
|
+
function fo(e, t, r) {
|
|
4564
4585
|
let n;
|
|
4565
|
-
|
|
4566
|
-
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl:
|
|
4567
|
-
const
|
|
4586
|
+
Cr(e, ro, (g) => r(4, n = g));
|
|
4587
|
+
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: p = "" } = t, { mbsource: d } = t, S, M = window.navigator.userAgent, C = no(M) !== "PC";
|
|
4588
|
+
const w = () => {
|
|
4568
4589
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4569
4590
|
}, _ = (g) => {
|
|
4570
|
-
g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href),
|
|
4571
|
-
},
|
|
4572
|
-
fetch(
|
|
4573
|
-
Object.keys(D).forEach((
|
|
4574
|
-
|
|
4591
|
+
g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href), w();
|
|
4592
|
+
}, x = () => {
|
|
4593
|
+
fetch(p).then((D) => D.json()).then((D) => {
|
|
4594
|
+
Object.keys(D).forEach((it) => {
|
|
4595
|
+
It(it, D[it]);
|
|
4575
4596
|
});
|
|
4576
4597
|
}).catch((D) => {
|
|
4577
4598
|
console.log(D);
|
|
4578
4599
|
});
|
|
4579
4600
|
};
|
|
4580
|
-
Object.keys(
|
|
4581
|
-
|
|
4601
|
+
Object.keys(Mt).forEach((g) => {
|
|
4602
|
+
It(g, Mt[g]);
|
|
4582
4603
|
});
|
|
4583
|
-
const
|
|
4584
|
-
|
|
4604
|
+
const y = () => {
|
|
4605
|
+
ao(c);
|
|
4585
4606
|
};
|
|
4586
|
-
|
|
4607
|
+
Dr(() => () => {
|
|
4587
4608
|
});
|
|
4588
|
-
const P = () => _("cancel"),
|
|
4609
|
+
const P = () => _("cancel"), _r = () => _("confirm");
|
|
4589
4610
|
function xr(g) {
|
|
4590
|
-
|
|
4591
|
-
|
|
4611
|
+
$e[g ? "unshift" : "push"](() => {
|
|
4612
|
+
S = g, r(3, S);
|
|
4592
4613
|
});
|
|
4593
4614
|
}
|
|
4594
4615
|
return e.$$set = (g) => {
|
|
4595
|
-
"modaltext" in g && r(0, s = g.modaltext), "modaltitle" in g && r(1, a = g.modaltitle), "hascancelbutton" in g && r(2, l = g.hascancelbutton), "modalconfirmevent" in g && r(8, u = g.modalconfirmevent), "modalcancelevent" in g && r(9, h = g.modalcancelevent), "lang" in g && r(10, c = g.lang), "clientstyling" in g && r(11, f = g.clientstyling), "clientstylingurl" in g && r(12, m = g.clientstylingurl), "translationurl" in g && r(13,
|
|
4616
|
+
"modaltext" in g && r(0, s = g.modaltext), "modaltitle" in g && r(1, a = g.modaltitle), "hascancelbutton" in g && r(2, l = g.hascancelbutton), "modalconfirmevent" in g && r(8, u = g.modalconfirmevent), "modalcancelevent" in g && r(9, h = g.modalcancelevent), "lang" in g && r(10, c = g.lang), "clientstyling" in g && r(11, f = g.clientstyling), "clientstylingurl" in g && r(12, m = g.clientstylingurl), "translationurl" in g && r(13, p = g.translationurl), "mbsource" in g && r(14, d = g.mbsource), "$$scope" in g && r(15, o = g.$$scope);
|
|
4596
4617
|
}, e.$$.update = () => {
|
|
4597
4618
|
e.$$.dirty & /*modaltext, lang*/
|
|
4598
|
-
1025 && s && c &&
|
|
4599
|
-
2056 && f &&
|
|
4600
|
-
4104 && m &&
|
|
4601
|
-
16392 &&
|
|
4602
|
-
8192 &&
|
|
4619
|
+
1025 && s && c && y(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4620
|
+
2056 && f && S && io(S, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4621
|
+
4104 && m && S && oo(S, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4622
|
+
16392 && d && S && so(S, `${d}.Style`), e.$$.dirty & /*translationurl*/
|
|
4623
|
+
8192 && p && x();
|
|
4603
4624
|
}, [
|
|
4604
4625
|
s,
|
|
4605
4626
|
a,
|
|
4606
4627
|
l,
|
|
4607
|
-
|
|
4628
|
+
S,
|
|
4608
4629
|
n,
|
|
4609
4630
|
C,
|
|
4610
|
-
|
|
4631
|
+
w,
|
|
4611
4632
|
_,
|
|
4612
4633
|
u,
|
|
4613
4634
|
h,
|
|
4614
4635
|
c,
|
|
4615
4636
|
f,
|
|
4616
4637
|
m,
|
|
4617
|
-
d,
|
|
4618
4638
|
p,
|
|
4639
|
+
d,
|
|
4619
4640
|
o,
|
|
4620
4641
|
i,
|
|
4621
4642
|
P,
|
|
4622
|
-
|
|
4643
|
+
_r,
|
|
4623
4644
|
xr
|
|
4624
4645
|
];
|
|
4625
4646
|
}
|
|
4626
|
-
class
|
|
4647
|
+
class yr extends Yr {
|
|
4627
4648
|
constructor(t) {
|
|
4628
|
-
super(),
|
|
4649
|
+
super(), Jr(
|
|
4629
4650
|
this,
|
|
4630
4651
|
t,
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4652
|
+
fo,
|
|
4653
|
+
co,
|
|
4654
|
+
Gt,
|
|
4634
4655
|
{
|
|
4635
4656
|
modaltext: 0,
|
|
4636
4657
|
modaltitle: 1,
|
|
@@ -4643,7 +4664,7 @@ class vr extends qr {
|
|
|
4643
4664
|
translationurl: 13,
|
|
4644
4665
|
mbsource: 14
|
|
4645
4666
|
},
|
|
4646
|
-
|
|
4667
|
+
uo
|
|
4647
4668
|
);
|
|
4648
4669
|
}
|
|
4649
4670
|
get modaltext() {
|
|
@@ -4707,50 +4728,50 @@ class vr extends qr {
|
|
|
4707
4728
|
this.$$set({ mbsource: t }), I();
|
|
4708
4729
|
}
|
|
4709
4730
|
}
|
|
4710
|
-
|
|
4711
|
-
const
|
|
4731
|
+
qr(yr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4732
|
+
const wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4712
4733
|
__proto__: null,
|
|
4713
|
-
default:
|
|
4734
|
+
default: yr
|
|
4714
4735
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4715
4736
|
export {
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4737
|
+
K as $,
|
|
4738
|
+
_o as A,
|
|
4739
|
+
Re as B,
|
|
4740
|
+
X as C,
|
|
4741
|
+
bo as D,
|
|
4742
|
+
Ue as E,
|
|
4743
|
+
ht as F,
|
|
4744
|
+
vo as G,
|
|
4745
|
+
ro as H,
|
|
4746
|
+
io as I,
|
|
4747
|
+
oo as J,
|
|
4748
|
+
so as K,
|
|
4749
|
+
wo as P,
|
|
4750
|
+
Yr as S,
|
|
4751
|
+
pr as a,
|
|
4752
|
+
qr as b,
|
|
4753
|
+
So as c,
|
|
4754
|
+
Nr as d,
|
|
4755
|
+
q as e,
|
|
4735
4756
|
I as f,
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4757
|
+
en as g,
|
|
4758
|
+
se as h,
|
|
4759
|
+
Jr as i,
|
|
4760
|
+
N as j,
|
|
4761
|
+
Cr as k,
|
|
4762
|
+
no as l,
|
|
4763
|
+
xo as m,
|
|
4764
|
+
R as n,
|
|
4765
|
+
Dr as o,
|
|
4766
|
+
$e as p,
|
|
4767
|
+
B as q,
|
|
4768
|
+
le as r,
|
|
4769
|
+
Gt as s,
|
|
4770
|
+
go as t,
|
|
4771
|
+
yo as u,
|
|
4772
|
+
H as v,
|
|
4773
|
+
Eo as w,
|
|
4774
|
+
po as x,
|
|
4775
|
+
J as y,
|
|
4776
|
+
ge as z
|
|
4756
4777
|
};
|