@everymatrix/player-account-timeout 1.65.3 → 1.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/PlayerAccountGeneralConfirmationModal-FkuCh0hP.cjs +18 -0
- package/components/{PlayerAccountGeneralConfirmationModal-6i8q0VzZ.js → PlayerAccountGeneralConfirmationModal-Zyz_OEuJ.js} +969 -934
- package/components/{PlayerAccountGeneralConfirmationModal-dWXVEPZv.js → PlayerAccountGeneralConfirmationModal-uYwTgnnB.js} +925 -890
- package/components/{PlayerAccountTimeout-DChmbL7A.cjs → PlayerAccountTimeout-CiYC4keu.cjs} +156 -156
- package/components/{PlayerAccountTimeout-BJcFKc4I.js → PlayerAccountTimeout-Cp5KUUpP.js} +1066 -1068
- package/components/{PlayerAccountTimeout-CHwQGRHJ.js → PlayerAccountTimeout-D7bfp5da.js} +1336 -1338
- 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-1cb75d00-6KKxtHwu.cjs → ui-skeleton-1cb75d00-CUSs6C3A.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-BAHBT-wb.js → ui-skeleton-1cb75d00-CXHx_pAM.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-BPfsKHrC.js → ui-skeleton-1cb75d00-z2mX3TRi.js} +1 -1
- package/stencil/{ui-skeleton-QVfoKja7.js → ui-skeleton-4ifa-7wH.js} +2 -2
- package/stencil/{ui-skeleton-b2oavT4f.js → ui-skeleton-Bk5dn5mu.js} +2 -2
- package/stencil/{ui-skeleton-CaX4F6ue.cjs → ui-skeleton-CCXvjIzA.cjs} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-B-KQoOY-.cjs +0 -18
- package/stencil/index-b2193545-CayB6jRX.js +0 -519
- package/stencil/index-b2193545-DrvOqGyq.js +0 -503
- package/stencil/index-b2193545-lC_KoC4p.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 it = (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 Sr(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 Br(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 Cr(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
|
-
const i =
|
|
116
|
-
i.id = t, i.textContent = r,
|
|
115
|
+
const i = N("style");
|
|
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 Or(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
|
-
function
|
|
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
|
-
function
|
|
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
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
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 bo(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 Mr(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
|
-
const
|
|
268
|
-
let
|
|
269
|
-
function
|
|
270
|
-
e && e.i && (
|
|
267
|
+
const fe = /* @__PURE__ */ new Set();
|
|
268
|
+
let Xr;
|
|
269
|
+
function Ft(e, t) {
|
|
270
|
+
e && e.i && (fe.delete(e), e.i(t));
|
|
271
271
|
}
|
|
272
|
-
function
|
|
273
|
-
if (e.o) {
|
|
274
|
-
if (
|
|
272
|
+
function zr(e, t, r, n) {
|
|
273
|
+
if (e && e.o) {
|
|
274
|
+
if (fe.has(e))
|
|
275
275
|
return;
|
|
276
|
-
|
|
277
|
-
|
|
276
|
+
fe.add(e), Xr.c.push(() => {
|
|
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,28 +314,28 @@ function zr(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
|
|
321
321
|
};
|
|
322
322
|
s && s(u.root);
|
|
323
323
|
let h = !1;
|
|
324
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
325
|
-
const
|
|
326
|
-
return u.ctx && i(u.ctx[
|
|
327
|
-
}) : [], u.update(), h = !0,
|
|
324
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
|
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
|
|
330
|
-
u.fragment && u.fragment.l(
|
|
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,42 +372,42 @@ typeof HTMLElement == "function" && (Gt = 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 () => {
|
|
379
379
|
let s;
|
|
380
380
|
return {
|
|
381
381
|
c: function() {
|
|
382
|
-
s =
|
|
382
|
+
s = N("slot"), o !== "default" && H(s, "name", o);
|
|
383
383
|
},
|
|
384
384
|
/**
|
|
385
385
|
* @param {HTMLElement} target
|
|
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) {
|
|
403
403
|
const s = this.$$g_p(o.name);
|
|
404
|
-
s in this.$$d || (this.$$d[s] =
|
|
404
|
+
s in this.$$d || (this.$$d[s] = me(s, o.value, this.$$p_d, "toProp"));
|
|
405
405
|
}
|
|
406
406
|
for (const o in this.$$p_d)
|
|
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: []
|
|
@@ -418,7 +418,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
|
|
|
418
418
|
this.$$r = !0;
|
|
419
419
|
for (const o in this.$$p_d)
|
|
420
420
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
421
|
-
const s =
|
|
421
|
+
const s = me(
|
|
422
422
|
o,
|
|
423
423
|
this.$$d[o],
|
|
424
424
|
this.$$p_d,
|
|
@@ -442,7 +442,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
|
|
|
442
442
|
// and setting attributes through setAttribute etc, this is helpful
|
|
443
443
|
attributeChangedCallback(t, r, n) {
|
|
444
444
|
var i;
|
|
445
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
445
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
446
446
|
}
|
|
447
447
|
disconnectedCallback() {
|
|
448
448
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -455,7 +455,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
|
|
|
455
455
|
) || t;
|
|
456
456
|
}
|
|
457
457
|
});
|
|
458
|
-
function
|
|
458
|
+
function me(e, t, r, n) {
|
|
459
459
|
var o;
|
|
460
460
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
461
461
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -485,8 +485,8 @@ function de(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
|
}
|
|
@@ -503,7 +503,7 @@ function Wr(e, t, r, n, i, o) {
|
|
|
503
503
|
},
|
|
504
504
|
set(l) {
|
|
505
505
|
var u;
|
|
506
|
-
l =
|
|
506
|
+
l = me(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
|
|
507
507
|
}
|
|
508
508
|
});
|
|
509
509
|
}), n.forEach((a) => {
|
|
@@ -516,7 +516,7 @@ function Wr(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 Zr {
|
|
|
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 Zr {
|
|
|
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 Zr {
|
|
|
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 v = 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
|
-
}, v.apply(this, arguments);
|
|
611
|
-
};
|
|
612
|
-
function qr(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 Ge(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 Ge(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 Ue(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 = Ut(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,29 +690,29 @@ 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
|
-
var
|
|
719
|
-
if (
|
|
699
|
+
var c = this._finalizers;
|
|
700
|
+
if (c) {
|
|
720
701
|
this._finalizers = null;
|
|
721
702
|
try {
|
|
722
|
-
for (var
|
|
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);
|
|
735
716
|
} finally {
|
|
736
717
|
if (n)
|
|
737
718
|
throw n.error;
|
|
@@ -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 &&
|
|
776
|
-
}
|
|
777
|
-
function
|
|
778
|
-
|
|
779
|
-
}
|
|
780
|
-
var
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
Promise: void 0,
|
|
784
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
785
|
-
useDeprecatedNextContext: !1
|
|
786
|
-
}, Kr = {
|
|
754
|
+
}(), Vt = xe.EMPTY;
|
|
755
|
+
function Xt(e) {
|
|
756
|
+
return e instanceof xe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
757
|
+
}
|
|
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,7 +812,7 @@ var jt = function(e) {
|
|
|
835
812
|
this.unsubscribe();
|
|
836
813
|
}
|
|
837
814
|
}, t;
|
|
838
|
-
}(xe),
|
|
815
|
+
}(xe), on = function() {
|
|
839
816
|
function e(t) {
|
|
840
817
|
this.partialObserver = t;
|
|
841
818
|
}
|
|
@@ -866,43 +843,43 @@ var jt = function(e) {
|
|
|
866
843
|
he(r);
|
|
867
844
|
}
|
|
868
845
|
}, e;
|
|
869
|
-
}(),
|
|
870
|
-
|
|
846
|
+
}(), Xe = function(e) {
|
|
847
|
+
ae(t, e);
|
|
871
848
|
function t(r, n, i) {
|
|
872
849
|
var o = e.call(this) || this, s;
|
|
873
|
-
return
|
|
850
|
+
return $(r) || !r ? s = {
|
|
874
851
|
next: r != null ? r : void 0,
|
|
875
852
|
error: n != null ? n : void 0,
|
|
876
853
|
complete: i != null ? i : void 0
|
|
877
|
-
} : s = r, o.destination = new
|
|
854
|
+
} : s = r, o.destination = new on(s), o;
|
|
878
855
|
}
|
|
879
856
|
return t;
|
|
880
|
-
}(
|
|
857
|
+
}(zt);
|
|
881
858
|
function he(e) {
|
|
882
|
-
|
|
859
|
+
nn(e);
|
|
883
860
|
}
|
|
884
|
-
function
|
|
861
|
+
function sn(e) {
|
|
885
862
|
throw e;
|
|
886
863
|
}
|
|
887
|
-
var
|
|
864
|
+
var an = {
|
|
888
865
|
closed: !0,
|
|
889
|
-
next:
|
|
890
|
-
error:
|
|
891
|
-
complete:
|
|
892
|
-
},
|
|
866
|
+
next: mt,
|
|
867
|
+
error: sn,
|
|
868
|
+
complete: mt
|
|
869
|
+
}, un = function() {
|
|
893
870
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
894
871
|
}();
|
|
895
|
-
function
|
|
872
|
+
function ln(e) {
|
|
896
873
|
return e;
|
|
897
874
|
}
|
|
898
|
-
function
|
|
899
|
-
return e.length === 0 ?
|
|
875
|
+
function hn(e) {
|
|
876
|
+
return e.length === 0 ? ln : e.length === 1 ? e[0] : function(r) {
|
|
900
877
|
return e.reduce(function(n, i) {
|
|
901
878
|
return i(n);
|
|
902
879
|
}, r);
|
|
903
880
|
};
|
|
904
881
|
}
|
|
905
|
-
var
|
|
882
|
+
var pt = function() {
|
|
906
883
|
function e(t) {
|
|
907
884
|
t && (this._subscribe = t);
|
|
908
885
|
}
|
|
@@ -910,8 +887,8 @@ var ht = function() {
|
|
|
910
887
|
var r = new e();
|
|
911
888
|
return r.source = this, r.operator = t, r;
|
|
912
889
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
913
|
-
var i = this, o =
|
|
914
|
-
return
|
|
890
|
+
var i = this, o = fn(t) ? t : new Xe(t, r, n);
|
|
891
|
+
return pe(function() {
|
|
915
892
|
var s = i, a = s.operator, l = s.source;
|
|
916
893
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
917
894
|
}), o;
|
|
@@ -923,8 +900,8 @@ var ht = function() {
|
|
|
923
900
|
}
|
|
924
901
|
}, e.prototype.forEach = function(t, r) {
|
|
925
902
|
var n = this;
|
|
926
|
-
return r =
|
|
927
|
-
var s = new
|
|
903
|
+
return r = dt(r), new r(function(i, o) {
|
|
904
|
+
var s = new Xe({
|
|
928
905
|
next: function(a) {
|
|
929
906
|
try {
|
|
930
907
|
t(a);
|
|
@@ -940,15 +917,15 @@ var ht = function() {
|
|
|
940
917
|
}, e.prototype._subscribe = function(t) {
|
|
941
918
|
var r;
|
|
942
919
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
943
|
-
}, e.prototype[
|
|
920
|
+
}, e.prototype[un] = function() {
|
|
944
921
|
return this;
|
|
945
922
|
}, e.prototype.pipe = function() {
|
|
946
923
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
947
924
|
t[r] = arguments[r];
|
|
948
|
-
return
|
|
925
|
+
return hn(t)(this);
|
|
949
926
|
}, e.prototype.toPromise = function(t) {
|
|
950
927
|
var r = this;
|
|
951
|
-
return t =
|
|
928
|
+
return t = dt(t), new t(function(n, i) {
|
|
952
929
|
var o;
|
|
953
930
|
r.subscribe(function(s) {
|
|
954
931
|
return o = s;
|
|
@@ -962,40 +939,40 @@ var ht = function() {
|
|
|
962
939
|
return new e(t);
|
|
963
940
|
}, e;
|
|
964
941
|
}();
|
|
965
|
-
function
|
|
942
|
+
function dt(e) {
|
|
966
943
|
var t;
|
|
967
|
-
return (t = e != null ? e :
|
|
944
|
+
return (t = e != null ? e : tn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
968
945
|
}
|
|
969
|
-
function
|
|
970
|
-
return e &&
|
|
946
|
+
function cn(e) {
|
|
947
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
971
948
|
}
|
|
972
|
-
function
|
|
973
|
-
return e && e instanceof
|
|
949
|
+
function fn(e) {
|
|
950
|
+
return e && e instanceof zt || cn(e) && Xt(e);
|
|
974
951
|
}
|
|
975
|
-
var
|
|
952
|
+
var mn = kt(function(e) {
|
|
976
953
|
return function() {
|
|
977
954
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
978
955
|
};
|
|
979
|
-
}),
|
|
980
|
-
|
|
956
|
+
}), Wt = function(e) {
|
|
957
|
+
ae(t, e);
|
|
981
958
|
function t() {
|
|
982
959
|
var r = e.call(this) || this;
|
|
983
960
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
984
961
|
}
|
|
985
962
|
return t.prototype.lift = function(r) {
|
|
986
|
-
var n = new
|
|
963
|
+
var n = new bt(this, this);
|
|
987
964
|
return n.operator = r, n;
|
|
988
965
|
}, t.prototype._throwIfClosed = function() {
|
|
989
966
|
if (this.closed)
|
|
990
|
-
throw new
|
|
967
|
+
throw new mn();
|
|
991
968
|
}, t.prototype.next = function(r) {
|
|
992
969
|
var n = this;
|
|
993
|
-
|
|
970
|
+
pe(function() {
|
|
994
971
|
var i, o;
|
|
995
972
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
996
973
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
997
974
|
try {
|
|
998
|
-
for (var s =
|
|
975
|
+
for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
999
976
|
var l = a.value;
|
|
1000
977
|
l.next(r);
|
|
1001
978
|
}
|
|
@@ -1013,7 +990,7 @@ var hn = Ut(function(e) {
|
|
|
1013
990
|
});
|
|
1014
991
|
}, t.prototype.error = function(r) {
|
|
1015
992
|
var n = this;
|
|
1016
|
-
|
|
993
|
+
pe(function() {
|
|
1017
994
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1018
995
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
1019
996
|
for (var i = n.observers; i.length; )
|
|
@@ -1022,7 +999,7 @@ var hn = Ut(function(e) {
|
|
|
1022
999
|
});
|
|
1023
1000
|
}, t.prototype.complete = function() {
|
|
1024
1001
|
var r = this;
|
|
1025
|
-
|
|
1002
|
+
pe(function() {
|
|
1026
1003
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1027
1004
|
r.isStopped = !0;
|
|
1028
1005
|
for (var n = r.observers; n.length; )
|
|
@@ -1044,20 +1021,20 @@ var hn = Ut(function(e) {
|
|
|
1044
1021
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1045
1022
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1046
1023
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1047
|
-
return o || s ?
|
|
1048
|
-
n.currentObservers = null,
|
|
1024
|
+
return o || s ? Vt : (this.currentObservers = null, a.push(r), new xe(function() {
|
|
1025
|
+
n.currentObservers = null, Ve(a, r);
|
|
1049
1026
|
}));
|
|
1050
1027
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1051
1028
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1052
1029
|
i ? r.error(o) : s && r.complete();
|
|
1053
1030
|
}, t.prototype.asObservable = function() {
|
|
1054
|
-
var r = new
|
|
1031
|
+
var r = new pt();
|
|
1055
1032
|
return r.source = this, r;
|
|
1056
1033
|
}, t.create = function(r, n) {
|
|
1057
|
-
return new
|
|
1034
|
+
return new bt(r, n);
|
|
1058
1035
|
}, t;
|
|
1059
|
-
}(
|
|
1060
|
-
|
|
1036
|
+
}(pt), bt = function(e) {
|
|
1037
|
+
ae(t, e);
|
|
1061
1038
|
function t(r, n) {
|
|
1062
1039
|
var i = e.call(this) || this;
|
|
1063
1040
|
return i.destination = r, i.source = n, i;
|
|
@@ -1073,17 +1050,17 @@ var hn = Ut(function(e) {
|
|
|
1073
1050
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1074
1051
|
}, t.prototype._subscribe = function(r) {
|
|
1075
1052
|
var n, i;
|
|
1076
|
-
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;
|
|
1077
1054
|
}, t;
|
|
1078
|
-
}(
|
|
1055
|
+
}(Wt), Zt = {
|
|
1079
1056
|
now: function() {
|
|
1080
|
-
return (
|
|
1057
|
+
return (Zt.delegate || Date).now();
|
|
1081
1058
|
},
|
|
1082
1059
|
delegate: void 0
|
|
1083
|
-
},
|
|
1084
|
-
|
|
1060
|
+
}, pn = function(e) {
|
|
1061
|
+
ae(t, e);
|
|
1085
1062
|
function t(r, n, i) {
|
|
1086
|
-
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);
|
|
1087
1064
|
var o = e.call(this) || this;
|
|
1088
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;
|
|
1089
1066
|
}
|
|
@@ -1103,24 +1080,24 @@ var hn = Ut(function(e) {
|
|
|
1103
1080
|
u && o.splice(0, u + 1);
|
|
1104
1081
|
}
|
|
1105
1082
|
}, t;
|
|
1106
|
-
}(
|
|
1107
|
-
const
|
|
1108
|
-
if (
|
|
1109
|
-
const r = new
|
|
1110
|
-
|
|
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);
|
|
1111
1088
|
}
|
|
1112
|
-
return
|
|
1089
|
+
return vt[e];
|
|
1113
1090
|
}, j = [];
|
|
1114
|
-
function
|
|
1091
|
+
function bn(e, t) {
|
|
1115
1092
|
return {
|
|
1116
|
-
subscribe:
|
|
1093
|
+
subscribe: Ee(e, t).subscribe
|
|
1117
1094
|
};
|
|
1118
1095
|
}
|
|
1119
|
-
function
|
|
1096
|
+
function Ee(e, t = R) {
|
|
1120
1097
|
let r;
|
|
1121
1098
|
const n = /* @__PURE__ */ new Set();
|
|
1122
1099
|
function i(a) {
|
|
1123
|
-
if (
|
|
1100
|
+
if (Gt(e, a) && (e = a, r)) {
|
|
1124
1101
|
const l = !j.length;
|
|
1125
1102
|
for (const u of n)
|
|
1126
1103
|
u[1](), j.push(u, e);
|
|
@@ -1134,150 +1111,189 @@ function _e(e, t = L) {
|
|
|
1134
1111
|
function o(a) {
|
|
1135
1112
|
i(a(e));
|
|
1136
1113
|
}
|
|
1137
|
-
function s(a, l =
|
|
1114
|
+
function s(a, l = R) {
|
|
1138
1115
|
const u = [a, l];
|
|
1139
|
-
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), () => {
|
|
1140
1117
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1141
1118
|
};
|
|
1142
1119
|
}
|
|
1143
1120
|
return { set: i, update: o, subscribe: s };
|
|
1144
1121
|
}
|
|
1145
|
-
function
|
|
1122
|
+
function Y(e, t, r) {
|
|
1146
1123
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1147
1124
|
if (!i.every(Boolean))
|
|
1148
1125
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1149
1126
|
const o = t.length < 2;
|
|
1150
|
-
return
|
|
1127
|
+
return bn(r, (s, a) => {
|
|
1151
1128
|
let l = !1;
|
|
1152
1129
|
const u = [];
|
|
1153
|
-
let h = 0,
|
|
1154
|
-
const
|
|
1130
|
+
let h = 0, c = R;
|
|
1131
|
+
const f = () => {
|
|
1155
1132
|
if (h)
|
|
1156
1133
|
return;
|
|
1157
|
-
|
|
1158
|
-
const
|
|
1159
|
-
o ? s(
|
|
1160
|
-
},
|
|
1161
|
-
(
|
|
1162
|
-
|
|
1163
|
-
(
|
|
1164
|
-
u[
|
|
1134
|
+
c();
|
|
1135
|
+
const p = t(n ? u[0] : u, s, a);
|
|
1136
|
+
o ? s(p) : c = tt(p) ? p : R;
|
|
1137
|
+
}, m = i.map(
|
|
1138
|
+
(p, d) => Ut(
|
|
1139
|
+
p,
|
|
1140
|
+
(S) => {
|
|
1141
|
+
u[d] = S, h &= ~(1 << d), l && f();
|
|
1165
1142
|
},
|
|
1166
1143
|
() => {
|
|
1167
|
-
h |= 1 <<
|
|
1144
|
+
h |= 1 << d;
|
|
1168
1145
|
}
|
|
1169
1146
|
)
|
|
1170
1147
|
);
|
|
1171
|
-
return l = !0,
|
|
1172
|
-
|
|
1148
|
+
return l = !0, f(), function() {
|
|
1149
|
+
J(m), c(), l = !1;
|
|
1173
1150
|
};
|
|
1174
1151
|
});
|
|
1175
1152
|
}
|
|
1176
|
-
var
|
|
1177
|
-
return
|
|
1153
|
+
var gn = function(t) {
|
|
1154
|
+
return vn(t) && !yn(t);
|
|
1178
1155
|
};
|
|
1179
|
-
function
|
|
1156
|
+
function vn(e) {
|
|
1180
1157
|
return !!e && typeof e == "object";
|
|
1181
1158
|
}
|
|
1182
|
-
function
|
|
1159
|
+
function yn(e) {
|
|
1183
1160
|
var t = Object.prototype.toString.call(e);
|
|
1184
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1161
|
+
return t === "[object RegExp]" || t === "[object Date]" || En(e);
|
|
1185
1162
|
}
|
|
1186
|
-
var
|
|
1187
|
-
function
|
|
1188
|
-
return e.$$typeof ===
|
|
1163
|
+
var _n = typeof Symbol == "function" && Symbol.for, xn = _n ? Symbol.for("react.element") : 60103;
|
|
1164
|
+
function En(e) {
|
|
1165
|
+
return e.$$typeof === xn;
|
|
1189
1166
|
}
|
|
1190
|
-
function
|
|
1167
|
+
function Sn(e) {
|
|
1191
1168
|
return Array.isArray(e) ? [] : {};
|
|
1192
1169
|
}
|
|
1193
|
-
function
|
|
1194
|
-
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;
|
|
1195
1172
|
}
|
|
1196
|
-
function
|
|
1173
|
+
function wn(e, t, r) {
|
|
1197
1174
|
return e.concat(t).map(function(n) {
|
|
1198
|
-
return
|
|
1175
|
+
return ie(n, r);
|
|
1199
1176
|
});
|
|
1200
1177
|
}
|
|
1201
|
-
function
|
|
1178
|
+
function Tn(e, t) {
|
|
1202
1179
|
if (!t.customMerge)
|
|
1203
|
-
return
|
|
1180
|
+
return z;
|
|
1204
1181
|
var r = t.customMerge(e);
|
|
1205
|
-
return typeof r == "function" ? r :
|
|
1182
|
+
return typeof r == "function" ? r : z;
|
|
1206
1183
|
}
|
|
1207
|
-
function
|
|
1184
|
+
function Hn(e) {
|
|
1208
1185
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1209
1186
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1210
1187
|
}) : [];
|
|
1211
1188
|
}
|
|
1212
|
-
function
|
|
1213
|
-
return Object.keys(e).concat(
|
|
1189
|
+
function yt(e) {
|
|
1190
|
+
return Object.keys(e).concat(Hn(e));
|
|
1214
1191
|
}
|
|
1215
|
-
function
|
|
1192
|
+
function Qt(e, t) {
|
|
1216
1193
|
try {
|
|
1217
1194
|
return t in e;
|
|
1218
1195
|
} catch (r) {
|
|
1219
1196
|
return !1;
|
|
1220
1197
|
}
|
|
1221
1198
|
}
|
|
1222
|
-
function
|
|
1223
|
-
return
|
|
1199
|
+
function Bn(e, t) {
|
|
1200
|
+
return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1224
1201
|
}
|
|
1225
|
-
function
|
|
1202
|
+
function An(e, t, r) {
|
|
1226
1203
|
var n = {};
|
|
1227
|
-
return r.isMergeableObject(e) &&
|
|
1228
|
-
n[i] =
|
|
1229
|
-
}),
|
|
1230
|
-
|
|
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));
|
|
1231
1208
|
}), n;
|
|
1232
1209
|
}
|
|
1233
|
-
function
|
|
1234
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1210
|
+
function z(e, t, r) {
|
|
1211
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = ie;
|
|
1235
1212
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1236
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1213
|
+
return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : ie(t, r);
|
|
1237
1214
|
}
|
|
1238
|
-
|
|
1215
|
+
z.all = function(t, r) {
|
|
1239
1216
|
if (!Array.isArray(t))
|
|
1240
1217
|
throw new Error("first argument should be an array");
|
|
1241
1218
|
return t.reduce(function(n, i) {
|
|
1242
|
-
return
|
|
1219
|
+
return z(n, i, r);
|
|
1243
1220
|
}, {});
|
|
1244
1221
|
};
|
|
1245
|
-
var
|
|
1246
|
-
const
|
|
1247
|
-
function
|
|
1248
|
-
|
|
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;
|
|
1249
1268
|
return i(e, {
|
|
1250
1269
|
cache: r,
|
|
1251
1270
|
serializer: n
|
|
1252
1271
|
});
|
|
1253
1272
|
}
|
|
1254
|
-
function
|
|
1273
|
+
function Mn(e) {
|
|
1255
1274
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1256
1275
|
}
|
|
1257
|
-
function
|
|
1258
|
-
var i =
|
|
1276
|
+
function Nn(e, t, r, n) {
|
|
1277
|
+
var i = Mn(n) ? n : r(n), o = t.get(i);
|
|
1259
1278
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1260
1279
|
}
|
|
1261
|
-
function
|
|
1280
|
+
function Jt(e, t, r) {
|
|
1262
1281
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1263
1282
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1264
1283
|
}
|
|
1265
|
-
function
|
|
1284
|
+
function qt(e, t, r, n, i) {
|
|
1266
1285
|
return r.bind(t, e, n, i);
|
|
1267
1286
|
}
|
|
1268
|
-
function
|
|
1269
|
-
var r = e.length === 1 ?
|
|
1270
|
-
return
|
|
1287
|
+
function Ln(e, t) {
|
|
1288
|
+
var r = e.length === 1 ? Nn : Jt;
|
|
1289
|
+
return qt(e, this, r, t.cache.create(), t.serializer);
|
|
1271
1290
|
}
|
|
1272
|
-
function
|
|
1273
|
-
return
|
|
1291
|
+
function Rn(e, t) {
|
|
1292
|
+
return qt(e, this, Jt, t.cache.create(), t.serializer);
|
|
1274
1293
|
}
|
|
1275
|
-
function
|
|
1276
|
-
return qe(e, this, zt, t.cache.create(), t.serializer);
|
|
1277
|
-
}
|
|
1278
|
-
var Nn = function() {
|
|
1294
|
+
var $n = function() {
|
|
1279
1295
|
return JSON.stringify(arguments);
|
|
1280
|
-
},
|
|
1296
|
+
}, Gn = (
|
|
1281
1297
|
/** @class */
|
|
1282
1298
|
function() {
|
|
1283
1299
|
function e() {
|
|
@@ -1289,62 +1305,71 @@ var Nn = function() {
|
|
|
1289
1305
|
this.cache[t] = r;
|
|
1290
1306
|
}, e;
|
|
1291
1307
|
}()
|
|
1292
|
-
),
|
|
1308
|
+
), Un = {
|
|
1293
1309
|
create: function() {
|
|
1294
|
-
return new
|
|
1310
|
+
return new Gn();
|
|
1295
1311
|
}
|
|
1296
|
-
},
|
|
1297
|
-
variadic:
|
|
1298
|
-
|
|
1299
|
-
|
|
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;
|
|
1300
1325
|
(function(e) {
|
|
1301
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";
|
|
1302
1327
|
})(b || (b = {}));
|
|
1303
|
-
var
|
|
1328
|
+
var E;
|
|
1304
1329
|
(function(e) {
|
|
1305
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";
|
|
1306
|
-
})(
|
|
1307
|
-
var
|
|
1331
|
+
})(E || (E = {}));
|
|
1332
|
+
var W;
|
|
1308
1333
|
(function(e) {
|
|
1309
1334
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1310
|
-
})(
|
|
1311
|
-
function
|
|
1312
|
-
return e.type ===
|
|
1335
|
+
})(W || (W = {}));
|
|
1336
|
+
function _t(e) {
|
|
1337
|
+
return e.type === E.literal;
|
|
1313
1338
|
}
|
|
1314
|
-
function
|
|
1315
|
-
return e.type ===
|
|
1339
|
+
function Dn(e) {
|
|
1340
|
+
return e.type === E.argument;
|
|
1316
1341
|
}
|
|
1317
|
-
function
|
|
1318
|
-
return e.type ===
|
|
1342
|
+
function Yt(e) {
|
|
1343
|
+
return e.type === E.number;
|
|
1319
1344
|
}
|
|
1320
|
-
function
|
|
1321
|
-
return e.type ===
|
|
1345
|
+
function Kt(e) {
|
|
1346
|
+
return e.type === E.date;
|
|
1322
1347
|
}
|
|
1323
|
-
function
|
|
1324
|
-
return e.type ===
|
|
1348
|
+
function er(e) {
|
|
1349
|
+
return e.type === E.time;
|
|
1325
1350
|
}
|
|
1326
|
-
function
|
|
1327
|
-
return e.type ===
|
|
1351
|
+
function tr(e) {
|
|
1352
|
+
return e.type === E.select;
|
|
1328
1353
|
}
|
|
1329
|
-
function
|
|
1330
|
-
return e.type ===
|
|
1354
|
+
function rr(e) {
|
|
1355
|
+
return e.type === E.plural;
|
|
1331
1356
|
}
|
|
1332
|
-
function
|
|
1333
|
-
return e.type ===
|
|
1357
|
+
function Fn(e) {
|
|
1358
|
+
return e.type === E.pound;
|
|
1334
1359
|
}
|
|
1335
|
-
function
|
|
1336
|
-
return e.type ===
|
|
1360
|
+
function nr(e) {
|
|
1361
|
+
return e.type === E.tag;
|
|
1337
1362
|
}
|
|
1338
|
-
function
|
|
1339
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1363
|
+
function ir(e) {
|
|
1364
|
+
return !!(e && typeof e == "object" && e.type === W.number);
|
|
1340
1365
|
}
|
|
1341
|
-
function
|
|
1342
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1366
|
+
function We(e) {
|
|
1367
|
+
return !!(e && typeof e == "object" && e.type === W.dateTime);
|
|
1343
1368
|
}
|
|
1344
|
-
var
|
|
1345
|
-
function
|
|
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) {
|
|
1346
1371
|
var t = {};
|
|
1347
|
-
return e.replace(
|
|
1372
|
+
return e.replace(jn, function(r) {
|
|
1348
1373
|
var n = r.length;
|
|
1349
1374
|
switch (r[0]) {
|
|
1350
1375
|
case "G":
|
|
@@ -1433,36 +1458,46 @@ function Un(e) {
|
|
|
1433
1458
|
return "";
|
|
1434
1459
|
}), t;
|
|
1435
1460
|
}
|
|
1436
|
-
var
|
|
1437
|
-
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) {
|
|
1438
1473
|
if (e.length === 0)
|
|
1439
1474
|
throw new Error("Number skeleton cannot be empty");
|
|
1440
|
-
for (var t = e.split(
|
|
1441
|
-
return
|
|
1475
|
+
for (var t = e.split(Vn).filter(function(f) {
|
|
1476
|
+
return f.length > 0;
|
|
1442
1477
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1443
1478
|
var o = i[n], s = o.split("/");
|
|
1444
1479
|
if (s.length === 0)
|
|
1445
1480
|
throw new Error("Invalid number skeleton");
|
|
1446
1481
|
for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1447
|
-
var
|
|
1448
|
-
if (
|
|
1482
|
+
var c = h[u];
|
|
1483
|
+
if (c.length === 0)
|
|
1449
1484
|
throw new Error("Invalid number skeleton");
|
|
1450
1485
|
}
|
|
1451
1486
|
r.push({ stem: a, options: l });
|
|
1452
1487
|
}
|
|
1453
1488
|
return r;
|
|
1454
1489
|
}
|
|
1455
|
-
function
|
|
1490
|
+
function zn(e) {
|
|
1456
1491
|
return e.replace(/^(.*?)-/, "");
|
|
1457
1492
|
}
|
|
1458
|
-
var
|
|
1459
|
-
function
|
|
1493
|
+
var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
|
|
1494
|
+
function Et(e) {
|
|
1460
1495
|
var t = {};
|
|
1461
|
-
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) {
|
|
1462
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)), "";
|
|
1463
1498
|
}), t;
|
|
1464
1499
|
}
|
|
1465
|
-
function
|
|
1500
|
+
function ur(e) {
|
|
1466
1501
|
switch (e) {
|
|
1467
1502
|
case "sign-auto":
|
|
1468
1503
|
return {
|
|
@@ -1502,7 +1537,7 @@ function ir(e) {
|
|
|
1502
1537
|
};
|
|
1503
1538
|
}
|
|
1504
1539
|
}
|
|
1505
|
-
function
|
|
1540
|
+
function Zn(e) {
|
|
1506
1541
|
var t;
|
|
1507
1542
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1508
1543
|
notation: "engineering"
|
|
@@ -1510,17 +1545,17 @@ function Vn(e) {
|
|
|
1510
1545
|
notation: "scientific"
|
|
1511
1546
|
}, e = e.slice(1)), t) {
|
|
1512
1547
|
var r = e.slice(0, 2);
|
|
1513
|
-
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))
|
|
1514
1549
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1515
1550
|
t.minimumIntegerDigits = e.length;
|
|
1516
1551
|
}
|
|
1517
1552
|
return t;
|
|
1518
1553
|
}
|
|
1519
|
-
function
|
|
1520
|
-
var t = {}, r =
|
|
1554
|
+
function St(e) {
|
|
1555
|
+
var t = {}, r = ur(e);
|
|
1521
1556
|
return r || t;
|
|
1522
1557
|
}
|
|
1523
|
-
function
|
|
1558
|
+
function Qn(e) {
|
|
1524
1559
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1525
1560
|
var i = n[r];
|
|
1526
1561
|
switch (i.stem) {
|
|
@@ -1544,7 +1579,7 @@ function Xn(e) {
|
|
|
1544
1579
|
continue;
|
|
1545
1580
|
case "measure-unit":
|
|
1546
1581
|
case "unit":
|
|
1547
|
-
t.style = "unit", t.unit =
|
|
1582
|
+
t.style = "unit", t.unit = zn(i.options[0]);
|
|
1548
1583
|
continue;
|
|
1549
1584
|
case "compact-short":
|
|
1550
1585
|
case "K":
|
|
@@ -1555,13 +1590,13 @@ function Xn(e) {
|
|
|
1555
1590
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1556
1591
|
continue;
|
|
1557
1592
|
case "scientific":
|
|
1558
|
-
t =
|
|
1559
|
-
return
|
|
1593
|
+
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1594
|
+
return T(T({}, l), St(u));
|
|
1560
1595
|
}, {}));
|
|
1561
1596
|
continue;
|
|
1562
1597
|
case "engineering":
|
|
1563
|
-
t =
|
|
1564
|
-
return
|
|
1598
|
+
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1599
|
+
return T(T({}, l), St(u));
|
|
1565
1600
|
}, {}));
|
|
1566
1601
|
continue;
|
|
1567
1602
|
case "notation-simple":
|
|
@@ -1606,45 +1641,45 @@ function Xn(e) {
|
|
|
1606
1641
|
case "integer-width":
|
|
1607
1642
|
if (i.options.length > 1)
|
|
1608
1643
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1609
|
-
i.options[0].replace(
|
|
1644
|
+
i.options[0].replace(Wn, function(l, u, h, c, f, m) {
|
|
1610
1645
|
if (u)
|
|
1611
1646
|
t.minimumIntegerDigits = h.length;
|
|
1612
1647
|
else {
|
|
1613
|
-
if (
|
|
1648
|
+
if (c && f)
|
|
1614
1649
|
throw new Error("We currently do not support maximum integer digits");
|
|
1615
|
-
if (
|
|
1650
|
+
if (m)
|
|
1616
1651
|
throw new Error("We currently do not support exact integer digits");
|
|
1617
1652
|
}
|
|
1618
1653
|
return "";
|
|
1619
1654
|
});
|
|
1620
1655
|
continue;
|
|
1621
1656
|
}
|
|
1622
|
-
if (
|
|
1657
|
+
if (ar.test(i.stem)) {
|
|
1623
1658
|
t.minimumIntegerDigits = i.stem.length;
|
|
1624
1659
|
continue;
|
|
1625
1660
|
}
|
|
1626
|
-
if (
|
|
1661
|
+
if (xt.test(i.stem)) {
|
|
1627
1662
|
if (i.options.length > 1)
|
|
1628
1663
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1629
|
-
i.stem.replace(
|
|
1630
|
-
return h === "*" ? t.minimumFractionDigits = u.length :
|
|
1664
|
+
i.stem.replace(xt, function(l, u, h, c, f, m) {
|
|
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), "";
|
|
1631
1666
|
});
|
|
1632
1667
|
var o = i.options[0];
|
|
1633
|
-
o === "w" ? t =
|
|
1668
|
+
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Et(o)));
|
|
1634
1669
|
continue;
|
|
1635
1670
|
}
|
|
1636
|
-
if (
|
|
1637
|
-
t =
|
|
1671
|
+
if (sr.test(i.stem)) {
|
|
1672
|
+
t = T(T({}, t), Et(i.stem));
|
|
1638
1673
|
continue;
|
|
1639
1674
|
}
|
|
1640
|
-
var s =
|
|
1641
|
-
s && (t =
|
|
1642
|
-
var a =
|
|
1643
|
-
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));
|
|
1644
1679
|
}
|
|
1645
1680
|
return t;
|
|
1646
1681
|
}
|
|
1647
|
-
var
|
|
1682
|
+
var ce = {
|
|
1648
1683
|
"001": [
|
|
1649
1684
|
"H",
|
|
1650
1685
|
"h"
|
|
@@ -3059,13 +3094,13 @@ var fe = {
|
|
|
3059
3094
|
"h"
|
|
3060
3095
|
]
|
|
3061
3096
|
};
|
|
3062
|
-
function
|
|
3097
|
+
function Jn(e, t) {
|
|
3063
3098
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3064
3099
|
var i = e.charAt(n);
|
|
3065
3100
|
if (i === "j") {
|
|
3066
3101
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3067
3102
|
o++, n++;
|
|
3068
|
-
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);
|
|
3069
3104
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3070
3105
|
r += l;
|
|
3071
3106
|
for (; s-- > 0; )
|
|
@@ -3075,7 +3110,7 @@ function zn(e, t) {
|
|
|
3075
3110
|
}
|
|
3076
3111
|
return r;
|
|
3077
3112
|
}
|
|
3078
|
-
function
|
|
3113
|
+
function qn(e) {
|
|
3079
3114
|
var t = e.hourCycle;
|
|
3080
3115
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3081
3116
|
e.hourCycles && // @ts-ignore
|
|
@@ -3094,23 +3129,23 @@ function Wn(e) {
|
|
|
3094
3129
|
}
|
|
3095
3130
|
var r = e.language, n;
|
|
3096
3131
|
r !== "root" && (n = e.maximize().region);
|
|
3097
|
-
var i =
|
|
3132
|
+
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
3098
3133
|
return i[0];
|
|
3099
3134
|
}
|
|
3100
|
-
var
|
|
3101
|
-
function
|
|
3135
|
+
var Me, Yn = new RegExp("^".concat(or.source, "*")), Kn = new RegExp("".concat(or.source, "*$"));
|
|
3136
|
+
function v(e, t) {
|
|
3102
3137
|
return { start: e, end: t };
|
|
3103
3138
|
}
|
|
3104
|
-
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) {
|
|
3105
3140
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3106
|
-
},
|
|
3141
|
+
}, Ze = !0;
|
|
3107
3142
|
try {
|
|
3108
|
-
var
|
|
3109
|
-
|
|
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";
|
|
3110
3145
|
} catch (e) {
|
|
3111
|
-
|
|
3146
|
+
Ze = !1;
|
|
3112
3147
|
}
|
|
3113
|
-
var
|
|
3148
|
+
var wt = ei ? (
|
|
3114
3149
|
// Native
|
|
3115
3150
|
function(t, r, n) {
|
|
3116
3151
|
return t.startsWith(r, n);
|
|
@@ -3120,7 +3155,7 @@ var xt = Jn ? (
|
|
|
3120
3155
|
function(t, r, n) {
|
|
3121
3156
|
return t.slice(n, n + r.length) === r;
|
|
3122
3157
|
}
|
|
3123
|
-
),
|
|
3158
|
+
), Qe = ti ? String.fromCodePoint : (
|
|
3124
3159
|
// IE11
|
|
3125
3160
|
function() {
|
|
3126
3161
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3132,9 +3167,9 @@ var xt = Jn ? (
|
|
|
3132
3167
|
}
|
|
3133
3168
|
return n;
|
|
3134
3169
|
}
|
|
3135
|
-
),
|
|
3170
|
+
), Tt = (
|
|
3136
3171
|
// native
|
|
3137
|
-
|
|
3172
|
+
ri ? Object.fromEntries : (
|
|
3138
3173
|
// Ponyfill
|
|
3139
3174
|
function(t) {
|
|
3140
3175
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3144,7 +3179,7 @@ var xt = Jn ? (
|
|
|
3144
3179
|
return r;
|
|
3145
3180
|
}
|
|
3146
3181
|
)
|
|
3147
|
-
),
|
|
3182
|
+
), lr = ni ? (
|
|
3148
3183
|
// Native
|
|
3149
3184
|
function(t, r) {
|
|
3150
3185
|
return t.codePointAt(r);
|
|
@@ -3158,7 +3193,7 @@ var xt = Jn ? (
|
|
|
3158
3193
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3159
3194
|
}
|
|
3160
3195
|
}
|
|
3161
|
-
),
|
|
3196
|
+
), li = ii ? (
|
|
3162
3197
|
// Native
|
|
3163
3198
|
function(t) {
|
|
3164
3199
|
return t.trimStart();
|
|
@@ -3166,9 +3201,9 @@ var xt = Jn ? (
|
|
|
3166
3201
|
) : (
|
|
3167
3202
|
// Ponyfill
|
|
3168
3203
|
function(t) {
|
|
3169
|
-
return t.replace(
|
|
3204
|
+
return t.replace(Yn, "");
|
|
3170
3205
|
}
|
|
3171
|
-
),
|
|
3206
|
+
), hi = oi ? (
|
|
3172
3207
|
// Native
|
|
3173
3208
|
function(t) {
|
|
3174
3209
|
return t.trimEnd();
|
|
@@ -3176,32 +3211,32 @@ var xt = Jn ? (
|
|
|
3176
3211
|
) : (
|
|
3177
3212
|
// Ponyfill
|
|
3178
3213
|
function(t) {
|
|
3179
|
-
return t.replace(
|
|
3214
|
+
return t.replace(Kn, "");
|
|
3180
3215
|
}
|
|
3181
3216
|
);
|
|
3182
|
-
function
|
|
3217
|
+
function hr(e, t) {
|
|
3183
3218
|
return new RegExp(e, t);
|
|
3184
3219
|
}
|
|
3185
|
-
var
|
|
3186
|
-
if (
|
|
3187
|
-
var
|
|
3188
|
-
|
|
3220
|
+
var Je;
|
|
3221
|
+
if (Ze) {
|
|
3222
|
+
var Ht = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3223
|
+
Je = function(t, r) {
|
|
3189
3224
|
var n;
|
|
3190
|
-
|
|
3191
|
-
var i =
|
|
3225
|
+
Ht.lastIndex = r;
|
|
3226
|
+
var i = Ht.exec(t);
|
|
3192
3227
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3193
3228
|
};
|
|
3194
3229
|
} else
|
|
3195
|
-
|
|
3230
|
+
Je = function(t, r) {
|
|
3196
3231
|
for (var n = []; ; ) {
|
|
3197
|
-
var i =
|
|
3198
|
-
if (i === void 0 ||
|
|
3232
|
+
var i = lr(t, r);
|
|
3233
|
+
if (i === void 0 || cr(i) || pi(i))
|
|
3199
3234
|
break;
|
|
3200
3235
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3201
3236
|
}
|
|
3202
|
-
return
|
|
3237
|
+
return Qe.apply(void 0, n);
|
|
3203
3238
|
};
|
|
3204
|
-
var
|
|
3239
|
+
var ci = (
|
|
3205
3240
|
/** @class */
|
|
3206
3241
|
function() {
|
|
3207
3242
|
function e(t, r) {
|
|
@@ -3225,14 +3260,14 @@ var ai = (
|
|
|
3225
3260
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3226
3261
|
var a = this.clonePosition();
|
|
3227
3262
|
this.bump(), i.push({
|
|
3228
|
-
type:
|
|
3229
|
-
location:
|
|
3263
|
+
type: E.pound,
|
|
3264
|
+
location: v(a, this.clonePosition())
|
|
3230
3265
|
});
|
|
3231
3266
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3232
3267
|
if (n)
|
|
3233
3268
|
break;
|
|
3234
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3235
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3269
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3270
|
+
} else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
|
|
3236
3271
|
var s = this.parseTag(t, r);
|
|
3237
3272
|
if (s.err)
|
|
3238
3273
|
return s;
|
|
@@ -3253,9 +3288,9 @@ var ai = (
|
|
|
3253
3288
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3254
3289
|
return {
|
|
3255
3290
|
val: {
|
|
3256
|
-
type:
|
|
3291
|
+
type: E.literal,
|
|
3257
3292
|
value: "<".concat(i, "/>"),
|
|
3258
|
-
location:
|
|
3293
|
+
location: v(n, this.clonePosition())
|
|
3259
3294
|
},
|
|
3260
3295
|
err: null
|
|
3261
3296
|
};
|
|
@@ -3265,25 +3300,25 @@ var ai = (
|
|
|
3265
3300
|
return o;
|
|
3266
3301
|
var s = o.val, a = this.clonePosition();
|
|
3267
3302
|
if (this.bumpIf("</")) {
|
|
3268
|
-
if (this.isEOF() || !
|
|
3269
|
-
return this.error(b.INVALID_TAG,
|
|
3303
|
+
if (this.isEOF() || !qe(this.char()))
|
|
3304
|
+
return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
|
|
3270
3305
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3271
|
-
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3306
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3272
3307
|
val: {
|
|
3273
|
-
type:
|
|
3308
|
+
type: E.tag,
|
|
3274
3309
|
value: i,
|
|
3275
3310
|
children: s,
|
|
3276
|
-
location:
|
|
3311
|
+
location: v(n, this.clonePosition())
|
|
3277
3312
|
},
|
|
3278
3313
|
err: null
|
|
3279
|
-
} : this.error(b.INVALID_TAG,
|
|
3314
|
+
} : this.error(b.INVALID_TAG, v(a, this.clonePosition())));
|
|
3280
3315
|
} else
|
|
3281
|
-
return this.error(b.UNCLOSED_TAG,
|
|
3316
|
+
return this.error(b.UNCLOSED_TAG, v(n, this.clonePosition()));
|
|
3282
3317
|
} else
|
|
3283
|
-
return this.error(b.INVALID_TAG,
|
|
3318
|
+
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
3284
3319
|
}, e.prototype.parseTagName = function() {
|
|
3285
3320
|
var t = this.offset();
|
|
3286
|
-
for (this.bump(); !this.isEOF() &&
|
|
3321
|
+
for (this.bump(); !this.isEOF() && mi(this.char()); )
|
|
3287
3322
|
this.bump();
|
|
3288
3323
|
return this.message.slice(t, this.offset());
|
|
3289
3324
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3305,14 +3340,14 @@ var ai = (
|
|
|
3305
3340
|
}
|
|
3306
3341
|
break;
|
|
3307
3342
|
}
|
|
3308
|
-
var l =
|
|
3343
|
+
var l = v(n, this.clonePosition());
|
|
3309
3344
|
return {
|
|
3310
|
-
val: { type:
|
|
3345
|
+
val: { type: E.literal, value: i, location: l },
|
|
3311
3346
|
err: null
|
|
3312
3347
|
};
|
|
3313
3348
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3314
3349
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3315
|
-
!
|
|
3350
|
+
!fi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3316
3351
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3317
3352
|
if (this.isEOF() || this.char() !== 39)
|
|
3318
3353
|
return null;
|
|
@@ -3346,49 +3381,49 @@ var ai = (
|
|
|
3346
3381
|
r.push(n);
|
|
3347
3382
|
this.bump();
|
|
3348
3383
|
}
|
|
3349
|
-
return
|
|
3384
|
+
return Qe.apply(void 0, r);
|
|
3350
3385
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3351
3386
|
if (this.isEOF())
|
|
3352
3387
|
return null;
|
|
3353
3388
|
var n = this.char();
|
|
3354
|
-
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));
|
|
3355
3390
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3356
3391
|
var n = this.clonePosition();
|
|
3357
3392
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3358
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3393
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
3359
3394
|
if (this.char() === 125)
|
|
3360
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
3395
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, v(n, this.clonePosition()));
|
|
3361
3396
|
var i = this.parseIdentifierIfPossible().value;
|
|
3362
3397
|
if (!i)
|
|
3363
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3398
|
+
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3364
3399
|
if (this.bumpSpace(), this.isEOF())
|
|
3365
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3400
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
3366
3401
|
switch (this.char()) {
|
|
3367
3402
|
case 125:
|
|
3368
3403
|
return this.bump(), {
|
|
3369
3404
|
val: {
|
|
3370
|
-
type:
|
|
3405
|
+
type: E.argument,
|
|
3371
3406
|
// value does not include the opening and closing braces.
|
|
3372
3407
|
value: i,
|
|
3373
|
-
location:
|
|
3408
|
+
location: v(n, this.clonePosition())
|
|
3374
3409
|
},
|
|
3375
3410
|
err: null
|
|
3376
3411
|
};
|
|
3377
3412
|
case 44:
|
|
3378
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3413
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3379
3414
|
default:
|
|
3380
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3415
|
+
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3381
3416
|
}
|
|
3382
3417
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3383
|
-
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;
|
|
3384
3419
|
this.bumpTo(i);
|
|
3385
|
-
var o = this.clonePosition(), s =
|
|
3420
|
+
var o = this.clonePosition(), s = v(t, o);
|
|
3386
3421
|
return { value: n, location: s };
|
|
3387
3422
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3388
3423
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3389
3424
|
switch (a) {
|
|
3390
3425
|
case "":
|
|
3391
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
3426
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, v(s, l));
|
|
3392
3427
|
case "number":
|
|
3393
3428
|
case "date":
|
|
3394
3429
|
case "time": {
|
|
@@ -3396,49 +3431,49 @@ var ai = (
|
|
|
3396
3431
|
var u = null;
|
|
3397
3432
|
if (this.bumpIf(",")) {
|
|
3398
3433
|
this.bumpSpace();
|
|
3399
|
-
var h = this.clonePosition(),
|
|
3400
|
-
if (
|
|
3401
|
-
return
|
|
3402
|
-
var
|
|
3403
|
-
if (
|
|
3404
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
3405
|
-
var
|
|
3406
|
-
u = { style:
|
|
3434
|
+
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3435
|
+
if (c.err)
|
|
3436
|
+
return c;
|
|
3437
|
+
var f = hi(c.val);
|
|
3438
|
+
if (f.length === 0)
|
|
3439
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3440
|
+
var m = v(h, this.clonePosition());
|
|
3441
|
+
u = { style: f, styleLocation: m };
|
|
3407
3442
|
}
|
|
3408
|
-
var
|
|
3409
|
-
if (
|
|
3410
|
-
return
|
|
3411
|
-
var
|
|
3412
|
-
if (u &&
|
|
3413
|
-
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));
|
|
3414
3449
|
if (a === "number") {
|
|
3415
|
-
var
|
|
3416
|
-
return
|
|
3417
|
-
val: { type:
|
|
3450
|
+
var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3451
|
+
return c.err ? c : {
|
|
3452
|
+
val: { type: E.number, value: n, location: d, style: c.val },
|
|
3418
3453
|
err: null
|
|
3419
3454
|
};
|
|
3420
3455
|
} else {
|
|
3421
|
-
if (
|
|
3422
|
-
return this.error(b.EXPECT_DATE_TIME_SKELETON,
|
|
3423
|
-
var
|
|
3424
|
-
this.locale && (
|
|
3425
|
-
var
|
|
3426
|
-
type:
|
|
3427
|
-
pattern:
|
|
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));
|
|
3460
|
+
var f = {
|
|
3461
|
+
type: W.dateTime,
|
|
3462
|
+
pattern: M,
|
|
3428
3463
|
location: u.styleLocation,
|
|
3429
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3430
|
-
}, C = a === "date" ?
|
|
3464
|
+
parsedOptions: this.shouldParseSkeletons ? kn(M) : {}
|
|
3465
|
+
}, C = a === "date" ? E.date : E.time;
|
|
3431
3466
|
return {
|
|
3432
|
-
val: { type: C, value: n, location:
|
|
3467
|
+
val: { type: C, value: n, location: d, style: f },
|
|
3433
3468
|
err: null
|
|
3434
3469
|
};
|
|
3435
3470
|
}
|
|
3436
3471
|
}
|
|
3437
3472
|
return {
|
|
3438
3473
|
val: {
|
|
3439
|
-
type: a === "number" ?
|
|
3474
|
+
type: a === "number" ? E.number : a === "date" ? E.date : E.time,
|
|
3440
3475
|
value: n,
|
|
3441
|
-
location:
|
|
3476
|
+
location: d,
|
|
3442
3477
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3443
3478
|
},
|
|
3444
3479
|
err: null
|
|
@@ -3447,41 +3482,41 @@ var ai = (
|
|
|
3447
3482
|
case "plural":
|
|
3448
3483
|
case "selectordinal":
|
|
3449
3484
|
case "select": {
|
|
3450
|
-
var
|
|
3485
|
+
var w = this.clonePosition();
|
|
3451
3486
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3452
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3487
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, ve({}, w)));
|
|
3453
3488
|
this.bumpSpace();
|
|
3454
|
-
var _ = this.parseIdentifierIfPossible(),
|
|
3489
|
+
var _ = this.parseIdentifierIfPossible(), x = 0;
|
|
3455
3490
|
if (a !== "select" && _.value === "offset") {
|
|
3456
3491
|
if (!this.bumpIf(":"))
|
|
3457
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3492
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3458
3493
|
this.bumpSpace();
|
|
3459
|
-
var
|
|
3460
|
-
if (
|
|
3461
|
-
return
|
|
3462
|
-
this.bumpSpace(), _ = this.parseIdentifierIfPossible(),
|
|
3494
|
+
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3495
|
+
if (c.err)
|
|
3496
|
+
return c;
|
|
3497
|
+
this.bumpSpace(), _ = this.parseIdentifierIfPossible(), x = c.val;
|
|
3463
3498
|
}
|
|
3464
|
-
var
|
|
3465
|
-
if (
|
|
3466
|
-
return
|
|
3467
|
-
var
|
|
3468
|
-
if (
|
|
3469
|
-
return
|
|
3470
|
-
var P =
|
|
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;
|
|
3505
|
+
var P = v(i, this.clonePosition());
|
|
3471
3506
|
return a === "select" ? {
|
|
3472
3507
|
val: {
|
|
3473
|
-
type:
|
|
3508
|
+
type: E.select,
|
|
3474
3509
|
value: n,
|
|
3475
|
-
options:
|
|
3510
|
+
options: Tt(y.val),
|
|
3476
3511
|
location: P
|
|
3477
3512
|
},
|
|
3478
3513
|
err: null
|
|
3479
3514
|
} : {
|
|
3480
3515
|
val: {
|
|
3481
|
-
type:
|
|
3516
|
+
type: E.plural,
|
|
3482
3517
|
value: n,
|
|
3483
|
-
options:
|
|
3484
|
-
offset:
|
|
3518
|
+
options: Tt(y.val),
|
|
3519
|
+
offset: x,
|
|
3485
3520
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3486
3521
|
location: P
|
|
3487
3522
|
},
|
|
@@ -3489,10 +3524,10 @@ var ai = (
|
|
|
3489
3524
|
};
|
|
3490
3525
|
}
|
|
3491
3526
|
default:
|
|
3492
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
3527
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, v(s, l));
|
|
3493
3528
|
}
|
|
3494
3529
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3495
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3530
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3496
3531
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3497
3532
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3498
3533
|
var n = this.char();
|
|
@@ -3501,7 +3536,7 @@ var ai = (
|
|
|
3501
3536
|
this.bump();
|
|
3502
3537
|
var i = this.clonePosition();
|
|
3503
3538
|
if (!this.bumpUntil("'"))
|
|
3504
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3539
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
|
|
3505
3540
|
this.bump();
|
|
3506
3541
|
break;
|
|
3507
3542
|
}
|
|
@@ -3531,52 +3566,52 @@ var ai = (
|
|
|
3531
3566
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3532
3567
|
var n = [];
|
|
3533
3568
|
try {
|
|
3534
|
-
n =
|
|
3569
|
+
n = Xn(t);
|
|
3535
3570
|
} catch (i) {
|
|
3536
3571
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3537
3572
|
}
|
|
3538
3573
|
return {
|
|
3539
3574
|
val: {
|
|
3540
|
-
type:
|
|
3575
|
+
type: W.number,
|
|
3541
3576
|
tokens: n,
|
|
3542
3577
|
location: r,
|
|
3543
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3578
|
+
parsedOptions: this.shouldParseSkeletons ? Qn(n) : {}
|
|
3544
3579
|
},
|
|
3545
3580
|
err: null
|
|
3546
3581
|
};
|
|
3547
3582
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3548
3583
|
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3549
3584
|
if (u.length === 0) {
|
|
3550
|
-
var
|
|
3585
|
+
var c = this.clonePosition();
|
|
3551
3586
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3552
|
-
var
|
|
3553
|
-
if (
|
|
3554
|
-
return
|
|
3555
|
-
h =
|
|
3587
|
+
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3588
|
+
if (f.err)
|
|
3589
|
+
return f;
|
|
3590
|
+
h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3556
3591
|
} else
|
|
3557
3592
|
break;
|
|
3558
3593
|
}
|
|
3559
3594
|
if (l.has(u))
|
|
3560
3595
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3561
3596
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3562
|
-
var
|
|
3597
|
+
var m = this.clonePosition();
|
|
3563
3598
|
if (!this.bumpIf("{"))
|
|
3564
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3565
|
-
var
|
|
3566
|
-
if (m.err)
|
|
3567
|
-
return m;
|
|
3568
|
-
var p = this.tryParseArgumentClose(d);
|
|
3599
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
3600
|
+
var p = this.parseMessage(t + 1, r, n);
|
|
3569
3601
|
if (p.err)
|
|
3570
3602
|
return p;
|
|
3603
|
+
var d = this.tryParseArgumentClose(m);
|
|
3604
|
+
if (d.err)
|
|
3605
|
+
return d;
|
|
3571
3606
|
a.push([
|
|
3572
3607
|
u,
|
|
3573
3608
|
{
|
|
3574
|
-
value:
|
|
3575
|
-
location:
|
|
3609
|
+
value: p.val,
|
|
3610
|
+
location: v(m, this.clonePosition())
|
|
3576
3611
|
}
|
|
3577
3612
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3578
3613
|
}
|
|
3579
|
-
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3614
|
+
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3580
3615
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3581
3616
|
var n = 1, i = this.clonePosition();
|
|
3582
3617
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3587,8 +3622,8 @@ var ai = (
|
|
|
3587
3622
|
else
|
|
3588
3623
|
break;
|
|
3589
3624
|
}
|
|
3590
|
-
var l =
|
|
3591
|
-
return o ? (s *= n,
|
|
3625
|
+
var l = v(i, this.clonePosition());
|
|
3626
|
+
return o ? (s *= n, ai(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3592
3627
|
}, e.prototype.offset = function() {
|
|
3593
3628
|
return this.position.offset;
|
|
3594
3629
|
}, e.prototype.isEOF = function() {
|
|
@@ -3603,7 +3638,7 @@ var ai = (
|
|
|
3603
3638
|
var t = this.position.offset;
|
|
3604
3639
|
if (t >= this.message.length)
|
|
3605
3640
|
throw Error("out of bound");
|
|
3606
|
-
var r =
|
|
3641
|
+
var r = lr(this.message, t);
|
|
3607
3642
|
if (r === void 0)
|
|
3608
3643
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3609
3644
|
return r;
|
|
@@ -3622,7 +3657,7 @@ var ai = (
|
|
|
3622
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);
|
|
3623
3658
|
}
|
|
3624
3659
|
}, e.prototype.bumpIf = function(t) {
|
|
3625
|
-
if (
|
|
3660
|
+
if (wt(this.message, t, this.offset())) {
|
|
3626
3661
|
for (var r = 0; r < t.length; r++)
|
|
3627
3662
|
this.bump();
|
|
3628
3663
|
return !0;
|
|
@@ -3644,7 +3679,7 @@ var ai = (
|
|
|
3644
3679
|
break;
|
|
3645
3680
|
}
|
|
3646
3681
|
}, e.prototype.bumpSpace = function() {
|
|
3647
|
-
for (; !this.isEOF() &&
|
|
3682
|
+
for (; !this.isEOF() && cr(this.char()); )
|
|
3648
3683
|
this.bump();
|
|
3649
3684
|
}, e.prototype.peek = function() {
|
|
3650
3685
|
if (this.isEOF())
|
|
@@ -3654,47 +3689,47 @@ var ai = (
|
|
|
3654
3689
|
}, e;
|
|
3655
3690
|
}()
|
|
3656
3691
|
);
|
|
3657
|
-
function
|
|
3692
|
+
function qe(e) {
|
|
3658
3693
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3659
3694
|
}
|
|
3660
|
-
function
|
|
3661
|
-
return
|
|
3695
|
+
function fi(e) {
|
|
3696
|
+
return qe(e) || e === 47;
|
|
3662
3697
|
}
|
|
3663
|
-
function
|
|
3698
|
+
function mi(e) {
|
|
3664
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;
|
|
3665
3700
|
}
|
|
3666
|
-
function
|
|
3701
|
+
function cr(e) {
|
|
3667
3702
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3668
3703
|
}
|
|
3669
|
-
function
|
|
3704
|
+
function pi(e) {
|
|
3670
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;
|
|
3671
3706
|
}
|
|
3672
|
-
function
|
|
3707
|
+
function Ye(e) {
|
|
3673
3708
|
e.forEach(function(t) {
|
|
3674
|
-
if (delete t.location,
|
|
3709
|
+
if (delete t.location, tr(t) || rr(t))
|
|
3675
3710
|
for (var r in t.options)
|
|
3676
|
-
delete t.options[r].location,
|
|
3711
|
+
delete t.options[r].location, Ye(t.options[r].value);
|
|
3677
3712
|
else
|
|
3678
|
-
|
|
3713
|
+
Yt(t) && ir(t.style) || (Kt(t) || er(t)) && We(t.style) ? delete t.style.location : nr(t) && Ye(t.children);
|
|
3679
3714
|
});
|
|
3680
3715
|
}
|
|
3681
|
-
function
|
|
3682
|
-
t === void 0 && (t = {}), t =
|
|
3683
|
-
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();
|
|
3684
3719
|
if (r.err) {
|
|
3685
3720
|
var n = SyntaxError(b[r.err.kind]);
|
|
3686
3721
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3687
3722
|
}
|
|
3688
|
-
return t != null && t.captureLocation ||
|
|
3723
|
+
return t != null && t.captureLocation || Ye(r.val), r.val;
|
|
3689
3724
|
}
|
|
3690
|
-
var
|
|
3725
|
+
var Z;
|
|
3691
3726
|
(function(e) {
|
|
3692
3727
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3693
|
-
})(
|
|
3694
|
-
var
|
|
3728
|
+
})(Z || (Z = {}));
|
|
3729
|
+
var we = (
|
|
3695
3730
|
/** @class */
|
|
3696
3731
|
function(e) {
|
|
3697
|
-
|
|
3732
|
+
Se(t, e);
|
|
3698
3733
|
function t(r, n, i) {
|
|
3699
3734
|
var o = e.call(this, r) || this;
|
|
3700
3735
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3703,48 +3738,48 @@ var Ee = (
|
|
|
3703
3738
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3704
3739
|
}, t;
|
|
3705
3740
|
}(Error)
|
|
3706
|
-
),
|
|
3741
|
+
), Bt = (
|
|
3707
3742
|
/** @class */
|
|
3708
3743
|
function(e) {
|
|
3709
|
-
|
|
3744
|
+
Se(t, e);
|
|
3710
3745
|
function t(r, n, i, o) {
|
|
3711
|
-
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;
|
|
3712
3747
|
}
|
|
3713
3748
|
return t;
|
|
3714
|
-
}(
|
|
3715
|
-
),
|
|
3749
|
+
}(we)
|
|
3750
|
+
), bi = (
|
|
3716
3751
|
/** @class */
|
|
3717
3752
|
function(e) {
|
|
3718
|
-
|
|
3753
|
+
Se(t, e);
|
|
3719
3754
|
function t(r, n, i) {
|
|
3720
|
-
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;
|
|
3721
3756
|
}
|
|
3722
3757
|
return t;
|
|
3723
|
-
}(
|
|
3724
|
-
),
|
|
3758
|
+
}(we)
|
|
3759
|
+
), gi = (
|
|
3725
3760
|
/** @class */
|
|
3726
3761
|
function(e) {
|
|
3727
|
-
|
|
3762
|
+
Se(t, e);
|
|
3728
3763
|
function t(r, n) {
|
|
3729
|
-
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;
|
|
3730
3765
|
}
|
|
3731
3766
|
return t;
|
|
3732
|
-
}(
|
|
3767
|
+
}(we)
|
|
3733
3768
|
), A;
|
|
3734
3769
|
(function(e) {
|
|
3735
3770
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3736
3771
|
})(A || (A = {}));
|
|
3737
|
-
function
|
|
3772
|
+
function vi(e) {
|
|
3738
3773
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3739
3774
|
var n = t[t.length - 1];
|
|
3740
3775
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3741
3776
|
}, []);
|
|
3742
3777
|
}
|
|
3743
|
-
function
|
|
3778
|
+
function yi(e) {
|
|
3744
3779
|
return typeof e == "function";
|
|
3745
3780
|
}
|
|
3746
|
-
function
|
|
3747
|
-
if (e.length === 1 &&
|
|
3781
|
+
function de(e, t, r, n, i, o, s) {
|
|
3782
|
+
if (e.length === 1 && _t(e[0]))
|
|
3748
3783
|
return [
|
|
3749
3784
|
{
|
|
3750
3785
|
type: A.literal,
|
|
@@ -3753,105 +3788,105 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3753
3788
|
];
|
|
3754
3789
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3755
3790
|
var h = u[l];
|
|
3756
|
-
if (
|
|
3791
|
+
if (_t(h)) {
|
|
3757
3792
|
a.push({
|
|
3758
3793
|
type: A.literal,
|
|
3759
3794
|
value: h.value
|
|
3760
3795
|
});
|
|
3761
3796
|
continue;
|
|
3762
3797
|
}
|
|
3763
|
-
if (
|
|
3798
|
+
if (Fn(h)) {
|
|
3764
3799
|
typeof o == "number" && a.push({
|
|
3765
3800
|
type: A.literal,
|
|
3766
3801
|
value: r.getNumberFormat(t).format(o)
|
|
3767
3802
|
});
|
|
3768
3803
|
continue;
|
|
3769
3804
|
}
|
|
3770
|
-
var
|
|
3771
|
-
if (!(i &&
|
|
3772
|
-
throw new
|
|
3773
|
-
var
|
|
3774
|
-
if (
|
|
3775
|
-
(!
|
|
3776
|
-
type: typeof
|
|
3777
|
-
value:
|
|
3805
|
+
var c = h.value;
|
|
3806
|
+
if (!(i && c in i))
|
|
3807
|
+
throw new gi(c, s);
|
|
3808
|
+
var f = i[c];
|
|
3809
|
+
if (Dn(h)) {
|
|
3810
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3811
|
+
type: typeof f == "string" ? A.literal : A.object,
|
|
3812
|
+
value: f
|
|
3778
3813
|
});
|
|
3779
3814
|
continue;
|
|
3780
3815
|
}
|
|
3781
|
-
if (
|
|
3782
|
-
var
|
|
3816
|
+
if (Kt(h)) {
|
|
3817
|
+
var m = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
|
|
3783
3818
|
a.push({
|
|
3784
3819
|
type: A.literal,
|
|
3785
|
-
value: r.getDateTimeFormat(t,
|
|
3820
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3786
3821
|
});
|
|
3787
3822
|
continue;
|
|
3788
3823
|
}
|
|
3789
|
-
if (
|
|
3790
|
-
var
|
|
3824
|
+
if (er(h)) {
|
|
3825
|
+
var m = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3791
3826
|
a.push({
|
|
3792
3827
|
type: A.literal,
|
|
3793
|
-
value: r.getDateTimeFormat(t,
|
|
3828
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3794
3829
|
});
|
|
3795
3830
|
continue;
|
|
3796
3831
|
}
|
|
3797
|
-
if (
|
|
3798
|
-
var
|
|
3799
|
-
|
|
3832
|
+
if (Yt(h)) {
|
|
3833
|
+
var m = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
|
|
3834
|
+
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3800
3835
|
type: A.literal,
|
|
3801
|
-
value: r.getNumberFormat(t,
|
|
3836
|
+
value: r.getNumberFormat(t, m).format(f)
|
|
3802
3837
|
});
|
|
3803
3838
|
continue;
|
|
3804
3839
|
}
|
|
3805
|
-
if (
|
|
3806
|
-
var
|
|
3807
|
-
if (!
|
|
3808
|
-
throw new
|
|
3809
|
-
var
|
|
3810
|
-
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;
|
|
3811
3846
|
}));
|
|
3812
|
-
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) {
|
|
3813
3848
|
return {
|
|
3814
|
-
type: typeof
|
|
3815
|
-
value:
|
|
3849
|
+
type: typeof x == "string" ? A.literal : A.object,
|
|
3850
|
+
value: x
|
|
3816
3851
|
};
|
|
3817
3852
|
}));
|
|
3818
3853
|
}
|
|
3819
|
-
if (
|
|
3820
|
-
var
|
|
3821
|
-
if (!
|
|
3822
|
-
throw new
|
|
3823
|
-
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));
|
|
3824
3859
|
continue;
|
|
3825
3860
|
}
|
|
3826
|
-
if (
|
|
3827
|
-
var
|
|
3828
|
-
if (!
|
|
3861
|
+
if (rr(h)) {
|
|
3862
|
+
var w = h.options["=".concat(f)];
|
|
3863
|
+
if (!w) {
|
|
3829
3864
|
if (!Intl.PluralRules)
|
|
3830
|
-
throw new
|
|
3865
|
+
throw new we(`Intl.PluralRules is not available in this environment.
|
|
3831
3866
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3832
|
-
`,
|
|
3833
|
-
var _ = r.getPluralRules(t, { type: h.pluralType }).select(
|
|
3834
|
-
|
|
3867
|
+
`, Z.MISSING_INTL_API, s);
|
|
3868
|
+
var _ = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3869
|
+
w = h.options[_] || h.options.other;
|
|
3835
3870
|
}
|
|
3836
|
-
if (!
|
|
3837
|
-
throw new
|
|
3838
|
-
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)));
|
|
3839
3874
|
continue;
|
|
3840
3875
|
}
|
|
3841
3876
|
}
|
|
3842
|
-
return
|
|
3877
|
+
return vi(a);
|
|
3843
3878
|
}
|
|
3844
|
-
function
|
|
3845
|
-
return t ?
|
|
3846
|
-
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;
|
|
3847
3882
|
}, {})) : e;
|
|
3848
3883
|
}
|
|
3849
|
-
function
|
|
3884
|
+
function xi(e, t) {
|
|
3850
3885
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3851
|
-
return r[n] =
|
|
3852
|
-
},
|
|
3886
|
+
return r[n] = _i(e[n], t[n]), r;
|
|
3887
|
+
}, L({}, e)) : e;
|
|
3853
3888
|
}
|
|
3854
|
-
function
|
|
3889
|
+
function Ne(e) {
|
|
3855
3890
|
return {
|
|
3856
3891
|
create: function() {
|
|
3857
3892
|
return {
|
|
@@ -3865,39 +3900,39 @@ function Oe(e) {
|
|
|
3865
3900
|
}
|
|
3866
3901
|
};
|
|
3867
3902
|
}
|
|
3868
|
-
function
|
|
3903
|
+
function Ei(e) {
|
|
3869
3904
|
return e === void 0 && (e = {
|
|
3870
3905
|
number: {},
|
|
3871
3906
|
dateTime: {},
|
|
3872
3907
|
pluralRules: {}
|
|
3873
3908
|
}), {
|
|
3874
|
-
getNumberFormat:
|
|
3909
|
+
getNumberFormat: Oe(function() {
|
|
3875
3910
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3876
3911
|
r[n] = arguments[n];
|
|
3877
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3912
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3878
3913
|
}, {
|
|
3879
|
-
cache:
|
|
3880
|
-
strategy:
|
|
3914
|
+
cache: Ne(e.number),
|
|
3915
|
+
strategy: Ie.variadic
|
|
3881
3916
|
}),
|
|
3882
|
-
getDateTimeFormat:
|
|
3917
|
+
getDateTimeFormat: Oe(function() {
|
|
3883
3918
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3884
3919
|
r[n] = arguments[n];
|
|
3885
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3920
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3886
3921
|
}, {
|
|
3887
|
-
cache:
|
|
3888
|
-
strategy:
|
|
3922
|
+
cache: Ne(e.dateTime),
|
|
3923
|
+
strategy: Ie.variadic
|
|
3889
3924
|
}),
|
|
3890
|
-
getPluralRules:
|
|
3925
|
+
getPluralRules: Oe(function() {
|
|
3891
3926
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3892
3927
|
r[n] = arguments[n];
|
|
3893
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3928
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3894
3929
|
}, {
|
|
3895
|
-
cache:
|
|
3896
|
-
strategy:
|
|
3930
|
+
cache: Ne(e.pluralRules),
|
|
3931
|
+
strategy: Ie.variadic
|
|
3897
3932
|
})
|
|
3898
3933
|
};
|
|
3899
3934
|
}
|
|
3900
|
-
var
|
|
3935
|
+
var Si = (
|
|
3901
3936
|
/** @class */
|
|
3902
3937
|
function() {
|
|
3903
3938
|
function e(t, r, n, i) {
|
|
@@ -3911,12 +3946,12 @@ var vi = (
|
|
|
3911
3946
|
var u = o.formatToParts(l);
|
|
3912
3947
|
if (u.length === 1)
|
|
3913
3948
|
return u[0].value;
|
|
3914
|
-
var h = u.reduce(function(
|
|
3915
|
-
return !
|
|
3949
|
+
var h = u.reduce(function(c, f) {
|
|
3950
|
+
return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3916
3951
|
}, []);
|
|
3917
3952
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3918
3953
|
}, this.formatToParts = function(l) {
|
|
3919
|
-
return
|
|
3954
|
+
return de(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3920
3955
|
}, this.resolvedOptions = function() {
|
|
3921
3956
|
var l;
|
|
3922
3957
|
return {
|
|
@@ -3929,13 +3964,13 @@ var vi = (
|
|
|
3929
3964
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3930
3965
|
var s = i || {};
|
|
3931
3966
|
s.formatters;
|
|
3932
|
-
var a =
|
|
3933
|
-
this.ast = e.__parse(t,
|
|
3967
|
+
var a = In(s, ["formatters"]);
|
|
3968
|
+
this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
|
|
3934
3969
|
} else
|
|
3935
3970
|
this.ast = t;
|
|
3936
3971
|
if (!Array.isArray(this.ast))
|
|
3937
3972
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3938
|
-
this.formats =
|
|
3973
|
+
this.formats = xi(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
|
|
3939
3974
|
}
|
|
3940
3975
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3941
3976
|
get: function() {
|
|
@@ -3948,7 +3983,7 @@ var vi = (
|
|
|
3948
3983
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3949
3984
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3950
3985
|
}
|
|
3951
|
-
}, e.__parse =
|
|
3986
|
+
}, e.__parse = di, e.formats = {
|
|
3952
3987
|
number: {
|
|
3953
3988
|
integer: {
|
|
3954
3989
|
maximumFractionDigits: 0
|
|
@@ -4009,7 +4044,7 @@ var vi = (
|
|
|
4009
4044
|
}, e;
|
|
4010
4045
|
}()
|
|
4011
4046
|
);
|
|
4012
|
-
function
|
|
4047
|
+
function wi(e, t) {
|
|
4013
4048
|
if (t == null)
|
|
4014
4049
|
return;
|
|
4015
4050
|
if (t in e)
|
|
@@ -4030,92 +4065,92 @@ function xi(e, t) {
|
|
|
4030
4065
|
n = void 0;
|
|
4031
4066
|
return n;
|
|
4032
4067
|
}
|
|
4033
|
-
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) => {
|
|
4034
4069
|
if (t == null)
|
|
4035
4070
|
return;
|
|
4036
4071
|
if (t in G && e in G[t])
|
|
4037
4072
|
return G[t][e];
|
|
4038
|
-
const r =
|
|
4073
|
+
const r = Te(t);
|
|
4039
4074
|
for (let n = 0; n < r.length; n++) {
|
|
4040
|
-
const i = r[n], o =
|
|
4075
|
+
const i = r[n], o = Bi(i, e);
|
|
4041
4076
|
if (o)
|
|
4042
|
-
return
|
|
4077
|
+
return Ti(e, t, o);
|
|
4043
4078
|
}
|
|
4044
4079
|
};
|
|
4045
|
-
let
|
|
4046
|
-
const ue =
|
|
4047
|
-
function
|
|
4048
|
-
return
|
|
4080
|
+
let rt;
|
|
4081
|
+
const ue = Ee({});
|
|
4082
|
+
function Hi(e) {
|
|
4083
|
+
return rt[e] || null;
|
|
4049
4084
|
}
|
|
4050
|
-
function
|
|
4051
|
-
return e in
|
|
4085
|
+
function mr(e) {
|
|
4086
|
+
return e in rt;
|
|
4052
4087
|
}
|
|
4053
|
-
function
|
|
4054
|
-
if (!
|
|
4088
|
+
function Bi(e, t) {
|
|
4089
|
+
if (!mr(e))
|
|
4055
4090
|
return null;
|
|
4056
|
-
const r =
|
|
4057
|
-
return
|
|
4091
|
+
const r = Hi(e);
|
|
4092
|
+
return wi(r, t);
|
|
4058
4093
|
}
|
|
4059
|
-
function
|
|
4094
|
+
function Ai(e) {
|
|
4060
4095
|
if (e == null)
|
|
4061
4096
|
return;
|
|
4062
|
-
const t =
|
|
4097
|
+
const t = Te(e);
|
|
4063
4098
|
for (let r = 0; r < t.length; r++) {
|
|
4064
4099
|
const n = t[r];
|
|
4065
|
-
if (
|
|
4100
|
+
if (mr(n))
|
|
4066
4101
|
return n;
|
|
4067
4102
|
}
|
|
4068
4103
|
}
|
|
4069
|
-
function
|
|
4070
|
-
delete G[e], ue.update((r) => (r[e] =
|
|
4104
|
+
function pr(e, ...t) {
|
|
4105
|
+
delete G[e], ue.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
|
|
4071
4106
|
}
|
|
4072
|
-
|
|
4107
|
+
Y(
|
|
4073
4108
|
[ue],
|
|
4074
4109
|
([e]) => Object.keys(e)
|
|
4075
4110
|
);
|
|
4076
|
-
ue.subscribe((e) =>
|
|
4111
|
+
ue.subscribe((e) => rt = e);
|
|
4077
4112
|
const be = {};
|
|
4078
|
-
function
|
|
4113
|
+
function Ci(e, t) {
|
|
4079
4114
|
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
4080
4115
|
}
|
|
4081
|
-
function
|
|
4116
|
+
function dr(e) {
|
|
4082
4117
|
return be[e];
|
|
4083
4118
|
}
|
|
4084
|
-
function
|
|
4085
|
-
return
|
|
4086
|
-
const r =
|
|
4119
|
+
function Pi(e) {
|
|
4120
|
+
return Te(e).map((t) => {
|
|
4121
|
+
const r = dr(t);
|
|
4087
4122
|
return [t, r ? [...r] : []];
|
|
4088
4123
|
}).filter(([, t]) => t.length > 0);
|
|
4089
4124
|
}
|
|
4090
|
-
function
|
|
4091
|
-
return e == null ? !1 :
|
|
4125
|
+
function Ke(e) {
|
|
4126
|
+
return e == null ? !1 : Te(e).some(
|
|
4092
4127
|
(t) => {
|
|
4093
4128
|
var r;
|
|
4094
|
-
return (r =
|
|
4129
|
+
return (r = dr(t)) == null ? void 0 : r.size;
|
|
4095
4130
|
}
|
|
4096
4131
|
);
|
|
4097
4132
|
}
|
|
4098
|
-
function
|
|
4133
|
+
function Oi(e, t) {
|
|
4099
4134
|
return Promise.all(
|
|
4100
|
-
t.map((n) => (
|
|
4101
|
-
).then((n) =>
|
|
4102
|
-
}
|
|
4103
|
-
const
|
|
4104
|
-
function
|
|
4105
|
-
if (!
|
|
4106
|
-
return e in
|
|
4107
|
-
const t =
|
|
4108
|
-
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(
|
|
4109
4144
|
t.map(
|
|
4110
|
-
([r, n]) =>
|
|
4145
|
+
([r, n]) => Oi(r, n)
|
|
4111
4146
|
)
|
|
4112
4147
|
).then(() => {
|
|
4113
|
-
if (
|
|
4114
|
-
return
|
|
4115
|
-
delete
|
|
4116
|
-
}),
|
|
4148
|
+
if (Ke(e))
|
|
4149
|
+
return br(e);
|
|
4150
|
+
delete te[e];
|
|
4151
|
+
}), te[e];
|
|
4117
4152
|
}
|
|
4118
|
-
const
|
|
4153
|
+
const Ii = {
|
|
4119
4154
|
number: {
|
|
4120
4155
|
scientific: { notation: "scientific" },
|
|
4121
4156
|
engineering: { notation: "engineering" },
|
|
@@ -4144,135 +4179,135 @@ const Ai = {
|
|
|
4144
4179
|
timeZoneName: "short"
|
|
4145
4180
|
}
|
|
4146
4181
|
}
|
|
4147
|
-
},
|
|
4182
|
+
}, Mi = {
|
|
4148
4183
|
fallbackLocale: null,
|
|
4149
4184
|
loadingDelay: 200,
|
|
4150
|
-
formats:
|
|
4185
|
+
formats: Ii,
|
|
4151
4186
|
warnOnMissingMessages: !0,
|
|
4152
4187
|
handleMissingMessage: void 0,
|
|
4153
4188
|
ignoreTag: !0
|
|
4154
|
-
},
|
|
4155
|
-
function
|
|
4156
|
-
return
|
|
4157
|
-
}
|
|
4158
|
-
const
|
|
4159
|
-
var
|
|
4160
|
-
for (var r in t)
|
|
4161
|
-
|
|
4162
|
-
if (
|
|
4163
|
-
for (var r of
|
|
4164
|
-
|
|
4189
|
+
}, Ni = Mi;
|
|
4190
|
+
function Q() {
|
|
4191
|
+
return Ni;
|
|
4192
|
+
}
|
|
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) => {
|
|
4195
|
+
for (var r in t || (t = {}))
|
|
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]);
|
|
4165
4200
|
return e;
|
|
4166
|
-
},
|
|
4167
|
-
let
|
|
4168
|
-
const ye =
|
|
4169
|
-
function
|
|
4201
|
+
}, Fi = (e, t) => Ri(e, $i(t));
|
|
4202
|
+
let et;
|
|
4203
|
+
const ye = Ee(null);
|
|
4204
|
+
function Pt(e) {
|
|
4170
4205
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4171
4206
|
}
|
|
4172
|
-
function
|
|
4173
|
-
const r =
|
|
4174
|
-
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;
|
|
4175
4210
|
}
|
|
4176
4211
|
function U() {
|
|
4177
|
-
return
|
|
4212
|
+
return et != null ? et : void 0;
|
|
4178
4213
|
}
|
|
4179
4214
|
ye.subscribe((e) => {
|
|
4180
|
-
|
|
4215
|
+
et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4181
4216
|
});
|
|
4182
|
-
const
|
|
4183
|
-
if (e &&
|
|
4184
|
-
const { loadingDelay: t } =
|
|
4217
|
+
const ji = (e) => {
|
|
4218
|
+
if (e && Ai(e) && Ke(e)) {
|
|
4219
|
+
const { loadingDelay: t } = Q();
|
|
4185
4220
|
let r;
|
|
4186
4221
|
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
4187
|
-
() =>
|
|
4222
|
+
() => Le.set(!0),
|
|
4188
4223
|
t
|
|
4189
|
-
) :
|
|
4224
|
+
) : Le.set(!0), br(e).then(() => {
|
|
4190
4225
|
ye.set(e);
|
|
4191
4226
|
}).finally(() => {
|
|
4192
|
-
clearTimeout(r),
|
|
4227
|
+
clearTimeout(r), Le.set(!1);
|
|
4193
4228
|
});
|
|
4194
4229
|
}
|
|
4195
4230
|
return ye.set(e);
|
|
4196
|
-
},
|
|
4197
|
-
set:
|
|
4198
|
-
}),
|
|
4231
|
+
}, K = Fi(Di({}, ye), {
|
|
4232
|
+
set: ji
|
|
4233
|
+
}), He = (e) => {
|
|
4199
4234
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4200
4235
|
return (n) => {
|
|
4201
4236
|
const i = JSON.stringify(n);
|
|
4202
4237
|
return i in t ? t[i] : t[i] = e(n);
|
|
4203
4238
|
};
|
|
4204
4239
|
};
|
|
4205
|
-
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) => {
|
|
4206
4241
|
for (var r in t || (t = {}))
|
|
4207
|
-
|
|
4208
|
-
if (
|
|
4209
|
-
for (var r of
|
|
4210
|
-
|
|
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]);
|
|
4211
4246
|
return e;
|
|
4212
|
-
},
|
|
4247
|
+
}, ee = (e, t) => {
|
|
4213
4248
|
var r = {};
|
|
4214
4249
|
for (var n in e)
|
|
4215
|
-
|
|
4216
|
-
if (e != null &&
|
|
4217
|
-
for (var n of
|
|
4218
|
-
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]);
|
|
4219
4254
|
return r;
|
|
4220
4255
|
};
|
|
4221
|
-
const
|
|
4222
|
-
const { formats: r } =
|
|
4256
|
+
const oe = (e, t) => {
|
|
4257
|
+
const { formats: r } = Q();
|
|
4223
4258
|
if (e in r && t in r[e])
|
|
4224
4259
|
return r[e][t];
|
|
4225
4260
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4226
|
-
},
|
|
4261
|
+
}, Vi = He(
|
|
4227
4262
|
(e) => {
|
|
4228
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4263
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4229
4264
|
if (r == null)
|
|
4230
4265
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4231
|
-
return n && (i =
|
|
4266
|
+
return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
|
|
4232
4267
|
}
|
|
4233
|
-
),
|
|
4268
|
+
), Xi = He(
|
|
4234
4269
|
(e) => {
|
|
4235
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4270
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4236
4271
|
if (r == null)
|
|
4237
4272
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4238
|
-
return n ? i =
|
|
4273
|
+
return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4239
4274
|
}
|
|
4240
|
-
),
|
|
4275
|
+
), zi = He(
|
|
4241
4276
|
(e) => {
|
|
4242
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4277
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4243
4278
|
if (r == null)
|
|
4244
4279
|
throw new Error(
|
|
4245
4280
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4246
4281
|
);
|
|
4247
|
-
return n ? i =
|
|
4282
|
+
return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4248
4283
|
}
|
|
4249
|
-
),
|
|
4284
|
+
), Wi = (e = {}) => {
|
|
4250
4285
|
var t = e, {
|
|
4251
4286
|
locale: r = U()
|
|
4252
|
-
} = t, n =
|
|
4287
|
+
} = t, n = ee(t, [
|
|
4253
4288
|
"locale"
|
|
4254
4289
|
]);
|
|
4255
|
-
return
|
|
4256
|
-
},
|
|
4290
|
+
return Vi(nt({ locale: r }, n));
|
|
4291
|
+
}, Zi = (e = {}) => {
|
|
4257
4292
|
var t = e, {
|
|
4258
4293
|
locale: r = U()
|
|
4259
|
-
} = t, n =
|
|
4294
|
+
} = t, n = ee(t, [
|
|
4260
4295
|
"locale"
|
|
4261
4296
|
]);
|
|
4262
|
-
return
|
|
4263
|
-
},
|
|
4297
|
+
return Xi(nt({ locale: r }, n));
|
|
4298
|
+
}, Qi = (e = {}) => {
|
|
4264
4299
|
var t = e, {
|
|
4265
4300
|
locale: r = U()
|
|
4266
|
-
} = t, n =
|
|
4301
|
+
} = t, n = ee(t, [
|
|
4267
4302
|
"locale"
|
|
4268
4303
|
]);
|
|
4269
|
-
return
|
|
4270
|
-
},
|
|
4304
|
+
return zi(nt({ locale: r }, n));
|
|
4305
|
+
}, Ji = He(
|
|
4271
4306
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4272
|
-
(e, t = U()) => new
|
|
4273
|
-
ignoreTag:
|
|
4307
|
+
(e, t = U()) => new Si(e, t, Q().formats, {
|
|
4308
|
+
ignoreTag: Q().ignoreTag
|
|
4274
4309
|
})
|
|
4275
|
-
),
|
|
4310
|
+
), qi = (e, t = {}) => {
|
|
4276
4311
|
var r, n, i, o;
|
|
4277
4312
|
let s = t;
|
|
4278
4313
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4285,39 +4320,39 @@ const se = (e, t) => {
|
|
|
4285
4320
|
throw new Error(
|
|
4286
4321
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4287
4322
|
);
|
|
4288
|
-
let h =
|
|
4323
|
+
let h = fr(e, l);
|
|
4289
4324
|
if (!h)
|
|
4290
|
-
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;
|
|
4291
4326
|
else if (typeof h != "string")
|
|
4292
4327
|
return console.warn(
|
|
4293
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.`
|
|
4294
4329
|
), h;
|
|
4295
4330
|
if (!a)
|
|
4296
4331
|
return h;
|
|
4297
|
-
let
|
|
4332
|
+
let c = h;
|
|
4298
4333
|
try {
|
|
4299
|
-
|
|
4300
|
-
} catch (
|
|
4301
|
-
|
|
4334
|
+
c = Ji(h, l).format(a);
|
|
4335
|
+
} catch (f) {
|
|
4336
|
+
f instanceof Error && console.warn(
|
|
4302
4337
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4303
|
-
|
|
4338
|
+
f.message
|
|
4304
4339
|
);
|
|
4305
4340
|
}
|
|
4306
|
-
return
|
|
4307
|
-
},
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
window.emWidgets = { topic:
|
|
4313
|
-
const
|
|
4314
|
-
function
|
|
4341
|
+
return c;
|
|
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) {
|
|
4315
4350
|
if (e) {
|
|
4316
4351
|
const r = document.createElement("style");
|
|
4317
4352
|
r.innerHTML = t, e.appendChild(r);
|
|
4318
4353
|
}
|
|
4319
4354
|
}
|
|
4320
|
-
function
|
|
4355
|
+
function oo(e, t) {
|
|
4321
4356
|
const r = new URL(t);
|
|
4322
4357
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4323
4358
|
const i = document.createElement("style");
|
|
@@ -4326,7 +4361,7 @@ function to(e, t) {
|
|
|
4326
4361
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4327
4362
|
});
|
|
4328
4363
|
}
|
|
4329
|
-
function
|
|
4364
|
+
function so(e, t, r) {
|
|
4330
4365
|
if (window.emMessageBus) {
|
|
4331
4366
|
const n = document.createElement("style");
|
|
4332
4367
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4334,13 +4369,13 @@ function ro(e, t, r) {
|
|
|
4334
4369
|
});
|
|
4335
4370
|
}
|
|
4336
4371
|
}
|
|
4337
|
-
function
|
|
4338
|
-
|
|
4372
|
+
function It(e, t) {
|
|
4373
|
+
pr(e, t);
|
|
4339
4374
|
}
|
|
4340
|
-
function
|
|
4341
|
-
|
|
4375
|
+
function ao(e) {
|
|
4376
|
+
K.set(e);
|
|
4342
4377
|
}
|
|
4343
|
-
const
|
|
4378
|
+
const Mt = {
|
|
4344
4379
|
en: {
|
|
4345
4380
|
cancel: "Cancel",
|
|
4346
4381
|
confirm: "Confirm"
|
|
@@ -4386,36 +4421,36 @@ const Ct = {
|
|
|
4386
4421
|
confirm: "Confirm"
|
|
4387
4422
|
}
|
|
4388
4423
|
};
|
|
4389
|
-
function
|
|
4390
|
-
|
|
4424
|
+
function uo(e) {
|
|
4425
|
+
Nr(e, "svelte-s0xip8", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
4391
4426
|
}
|
|
4392
|
-
const
|
|
4393
|
-
function
|
|
4427
|
+
const lo = (e) => ({}), Nt = (e) => ({});
|
|
4428
|
+
function ho(e) {
|
|
4394
4429
|
let t, r;
|
|
4395
4430
|
return {
|
|
4396
4431
|
c() {
|
|
4397
|
-
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");
|
|
4398
4433
|
},
|
|
4399
4434
|
m(n, i) {
|
|
4400
|
-
|
|
4435
|
+
se(n, t, i), B(t, r);
|
|
4401
4436
|
},
|
|
4402
|
-
p:
|
|
4437
|
+
p: R,
|
|
4403
4438
|
d(n) {
|
|
4404
|
-
n &&
|
|
4439
|
+
n && q(t);
|
|
4405
4440
|
}
|
|
4406
4441
|
};
|
|
4407
4442
|
}
|
|
4408
|
-
function
|
|
4443
|
+
function Lt(e) {
|
|
4409
4444
|
let t, r, n;
|
|
4410
4445
|
return {
|
|
4411
4446
|
c() {
|
|
4412
|
-
t =
|
|
4447
|
+
t = N("div"), r = N("h2"), n = X(
|
|
4413
4448
|
/*modaltitle*/
|
|
4414
4449
|
e[1]
|
|
4415
|
-
),
|
|
4450
|
+
), H(t, "class", "GeneralConfirmationTitle");
|
|
4416
4451
|
},
|
|
4417
4452
|
m(i, o) {
|
|
4418
|
-
|
|
4453
|
+
se(i, t, o), B(t, r), B(r, n);
|
|
4419
4454
|
},
|
|
4420
4455
|
p(i, o) {
|
|
4421
4456
|
o & /*modaltitle*/
|
|
@@ -4426,21 +4461,21 @@ function Ot(e) {
|
|
|
4426
4461
|
);
|
|
4427
4462
|
},
|
|
4428
4463
|
d(i) {
|
|
4429
|
-
i &&
|
|
4464
|
+
i && q(t);
|
|
4430
4465
|
}
|
|
4431
4466
|
};
|
|
4432
4467
|
}
|
|
4433
|
-
function
|
|
4468
|
+
function Rt(e) {
|
|
4434
4469
|
let t, r = (
|
|
4435
4470
|
/*$_*/
|
|
4436
4471
|
e[4]("cancel") + ""
|
|
4437
4472
|
), n, i, o;
|
|
4438
4473
|
return {
|
|
4439
4474
|
c() {
|
|
4440
|
-
t =
|
|
4475
|
+
t = N("button"), n = X(r), H(t, "class", "GeneralCancelButton");
|
|
4441
4476
|
},
|
|
4442
4477
|
m(s, a) {
|
|
4443
|
-
|
|
4478
|
+
se(s, t, a), B(t, n), i || (o = Re(
|
|
4444
4479
|
t,
|
|
4445
4480
|
"click",
|
|
4446
4481
|
/*click_handler*/
|
|
@@ -4453,170 +4488,170 @@ function It(e) {
|
|
|
4453
4488
|
s[4]("cancel") + "") && ge(n, r);
|
|
4454
4489
|
},
|
|
4455
4490
|
d(s) {
|
|
4456
|
-
s &&
|
|
4491
|
+
s && q(t), i = !1, o();
|
|
4457
4492
|
}
|
|
4458
4493
|
};
|
|
4459
4494
|
}
|
|
4460
|
-
function
|
|
4461
|
-
let t, r, n, i, o, s, a, l, u, h,
|
|
4495
|
+
function co(e) {
|
|
4496
|
+
let t, r, n, i, o, s, a, l, u, h, c, f = (
|
|
4462
4497
|
/*$_*/
|
|
4463
4498
|
e[4]("confirm") + ""
|
|
4464
|
-
),
|
|
4465
|
-
const
|
|
4499
|
+
), m, p, d, S;
|
|
4500
|
+
const M = (
|
|
4466
4501
|
/*#slots*/
|
|
4467
4502
|
e[16].close
|
|
4468
|
-
), C =
|
|
4469
|
-
|
|
4503
|
+
), C = Pr(
|
|
4504
|
+
M,
|
|
4470
4505
|
e,
|
|
4471
4506
|
/*$$scope*/
|
|
4472
4507
|
e[15],
|
|
4473
|
-
|
|
4474
|
-
),
|
|
4508
|
+
Nt
|
|
4509
|
+
), w = C || ho();
|
|
4475
4510
|
let _ = (
|
|
4476
4511
|
/*modaltitle*/
|
|
4477
|
-
e[1] &&
|
|
4478
|
-
),
|
|
4512
|
+
e[1] && Lt(e)
|
|
4513
|
+
), x = (
|
|
4479
4514
|
/*hascancelbutton*/
|
|
4480
|
-
e[2] &&
|
|
4515
|
+
e[2] && Rt(e)
|
|
4481
4516
|
);
|
|
4482
4517
|
return {
|
|
4483
4518
|
c() {
|
|
4484
|
-
t =
|
|
4519
|
+
t = N("div"), r = N("div"), n = N("span"), w && w.c(), i = le(), _ && _.c(), o = le(), s = N("div"), a = X(
|
|
4485
4520
|
/*modaltext*/
|
|
4486
4521
|
e[0]
|
|
4487
|
-
), l = le(), u =
|
|
4488
|
-
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")),
|
|
4489
|
-
(e[5] ? "GeneralConfirmationContainerMobile" : "")),
|
|
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*/
|
|
4523
|
+
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4524
|
+
(e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4490
4525
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4491
4526
|
},
|
|
4492
|
-
m(
|
|
4493
|
-
|
|
4494
|
-
|
|
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(
|
|
4495
4530
|
n,
|
|
4496
4531
|
"click",
|
|
4497
4532
|
/*close*/
|
|
4498
4533
|
e[6]
|
|
4499
4534
|
),
|
|
4500
|
-
|
|
4501
|
-
|
|
4535
|
+
Re(
|
|
4536
|
+
c,
|
|
4502
4537
|
"click",
|
|
4503
4538
|
/*click_handler_1*/
|
|
4504
4539
|
e[18]
|
|
4505
4540
|
)
|
|
4506
|
-
],
|
|
4541
|
+
], d = !0);
|
|
4507
4542
|
},
|
|
4508
|
-
p(
|
|
4509
|
-
C && C.p && (!
|
|
4510
|
-
32768) &&
|
|
4543
|
+
p(y, [P]) {
|
|
4544
|
+
C && C.p && (!p || P & /*$$scope*/
|
|
4545
|
+
32768) && Ir(
|
|
4511
4546
|
C,
|
|
4512
|
-
|
|
4513
|
-
|
|
4547
|
+
M,
|
|
4548
|
+
y,
|
|
4514
4549
|
/*$$scope*/
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4550
|
+
y[15],
|
|
4551
|
+
p ? Or(
|
|
4552
|
+
M,
|
|
4518
4553
|
/*$$scope*/
|
|
4519
|
-
|
|
4554
|
+
y[15],
|
|
4520
4555
|
P,
|
|
4521
|
-
|
|
4522
|
-
) :
|
|
4556
|
+
lo
|
|
4557
|
+
) : Mr(
|
|
4523
4558
|
/*$$scope*/
|
|
4524
|
-
|
|
4559
|
+
y[15]
|
|
4525
4560
|
),
|
|
4526
|
-
|
|
4561
|
+
Nt
|
|
4527
4562
|
), /*modaltitle*/
|
|
4528
|
-
|
|
4563
|
+
y[1] ? _ ? _.p(y, P) : (_ = Lt(y), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!p || P & /*modaltext*/
|
|
4529
4564
|
1) && ge(
|
|
4530
4565
|
a,
|
|
4531
4566
|
/*modaltext*/
|
|
4532
|
-
|
|
4567
|
+
y[0]
|
|
4533
4568
|
), /*hascancelbutton*/
|
|
4534
|
-
|
|
4535
|
-
16) &&
|
|
4536
|
-
|
|
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 & /*$_*/
|
|
4570
|
+
16) && f !== (f = /*$_*/
|
|
4571
|
+
y[4]("confirm") + "") && ge(m, f);
|
|
4537
4572
|
},
|
|
4538
|
-
i(
|
|
4539
|
-
|
|
4573
|
+
i(y) {
|
|
4574
|
+
p || (Ft(w, y), p = !0);
|
|
4540
4575
|
},
|
|
4541
|
-
o(
|
|
4542
|
-
|
|
4576
|
+
o(y) {
|
|
4577
|
+
zr(w, y), p = !1;
|
|
4543
4578
|
},
|
|
4544
|
-
d(
|
|
4545
|
-
|
|
4579
|
+
d(y) {
|
|
4580
|
+
y && q(t), w && w.d(y), _ && _.d(), x && x.d(), e[19](null), d = !1, J(S);
|
|
4546
4581
|
}
|
|
4547
4582
|
};
|
|
4548
4583
|
}
|
|
4549
|
-
function
|
|
4584
|
+
function fo(e, t, r) {
|
|
4550
4585
|
let n;
|
|
4551
|
-
|
|
4552
|
-
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:
|
|
4553
|
-
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 = () => {
|
|
4554
4589
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4555
4590
|
}, _ = (g) => {
|
|
4556
|
-
g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href),
|
|
4557
|
-
},
|
|
4558
|
-
fetch(
|
|
4559
|
-
Object.keys(D).forEach((
|
|
4560
|
-
|
|
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]);
|
|
4561
4596
|
});
|
|
4562
4597
|
}).catch((D) => {
|
|
4563
4598
|
console.log(D);
|
|
4564
4599
|
});
|
|
4565
4600
|
};
|
|
4566
|
-
Object.keys(
|
|
4567
|
-
|
|
4601
|
+
Object.keys(Mt).forEach((g) => {
|
|
4602
|
+
It(g, Mt[g]);
|
|
4568
4603
|
});
|
|
4569
|
-
const
|
|
4570
|
-
|
|
4604
|
+
const y = () => {
|
|
4605
|
+
ao(c);
|
|
4571
4606
|
};
|
|
4572
|
-
|
|
4607
|
+
Dr(() => () => {
|
|
4573
4608
|
});
|
|
4574
|
-
const P = () => _("cancel"),
|
|
4575
|
-
function
|
|
4576
|
-
|
|
4577
|
-
|
|
4609
|
+
const P = () => _("cancel"), _r = () => _("confirm");
|
|
4610
|
+
function xr(g) {
|
|
4611
|
+
$e[g ? "unshift" : "push"](() => {
|
|
4612
|
+
S = g, r(3, S);
|
|
4578
4613
|
});
|
|
4579
4614
|
}
|
|
4580
4615
|
return e.$$set = (g) => {
|
|
4581
|
-
"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,
|
|
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);
|
|
4582
4617
|
}, e.$$.update = () => {
|
|
4583
4618
|
e.$$.dirty & /*modaltext, lang*/
|
|
4584
|
-
1025 && s &&
|
|
4585
|
-
2056 &&
|
|
4586
|
-
4104 &&
|
|
4587
|
-
16392 &&
|
|
4588
|
-
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();
|
|
4589
4624
|
}, [
|
|
4590
4625
|
s,
|
|
4591
4626
|
a,
|
|
4592
4627
|
l,
|
|
4593
|
-
|
|
4628
|
+
S,
|
|
4594
4629
|
n,
|
|
4595
4630
|
C,
|
|
4596
|
-
|
|
4631
|
+
w,
|
|
4597
4632
|
_,
|
|
4598
4633
|
u,
|
|
4599
4634
|
h,
|
|
4600
|
-
f,
|
|
4601
4635
|
c,
|
|
4602
|
-
|
|
4636
|
+
f,
|
|
4603
4637
|
m,
|
|
4604
4638
|
p,
|
|
4639
|
+
d,
|
|
4605
4640
|
o,
|
|
4606
4641
|
i,
|
|
4607
4642
|
P,
|
|
4608
|
-
|
|
4609
|
-
|
|
4643
|
+
_r,
|
|
4644
|
+
xr
|
|
4610
4645
|
];
|
|
4611
4646
|
}
|
|
4612
|
-
class
|
|
4647
|
+
class yr extends Yr {
|
|
4613
4648
|
constructor(t) {
|
|
4614
|
-
super(),
|
|
4649
|
+
super(), Jr(
|
|
4615
4650
|
this,
|
|
4616
4651
|
t,
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4652
|
+
fo,
|
|
4653
|
+
co,
|
|
4654
|
+
Gt,
|
|
4620
4655
|
{
|
|
4621
4656
|
modaltext: 0,
|
|
4622
4657
|
modaltitle: 1,
|
|
@@ -4629,7 +4664,7 @@ class pr extends Zr {
|
|
|
4629
4664
|
translationurl: 13,
|
|
4630
4665
|
mbsource: 14
|
|
4631
4666
|
},
|
|
4632
|
-
|
|
4667
|
+
uo
|
|
4633
4668
|
);
|
|
4634
4669
|
}
|
|
4635
4670
|
get modaltext() {
|
|
@@ -4693,50 +4728,50 @@ class pr extends Zr {
|
|
|
4693
4728
|
this.$$set({ mbsource: t }), I();
|
|
4694
4729
|
}
|
|
4695
4730
|
}
|
|
4696
|
-
|
|
4697
|
-
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({
|
|
4698
4733
|
__proto__: null,
|
|
4699
|
-
default:
|
|
4734
|
+
default: yr
|
|
4700
4735
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4701
4736
|
export {
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
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,
|
|
4721
4756
|
I as f,
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
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,
|
|
4736
4771
|
yo as u,
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4772
|
+
H as v,
|
|
4773
|
+
Eo as w,
|
|
4774
|
+
po as x,
|
|
4775
|
+
J as y,
|
|
4776
|
+
ge as z
|
|
4742
4777
|
};
|