@everymatrix/player-account-timeout 1.86.12 → 1.86.20
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-CpIVlBHH.js → PlayerAccountGeneralConfirmationModal-BErXkvci.js} +674 -659
- package/components/{PlayerAccountGeneralConfirmationModal-BclGH0SY.js → PlayerAccountGeneralConfirmationModal-C_vRkkvt.js} +630 -615
- package/components/{PlayerAccountGeneralConfirmationModal-Dw-0WM0v.cjs → PlayerAccountGeneralConfirmationModal-DTxwCiob.cjs} +3 -3
- package/components/{PlayerAccountTimeout-CqAaduHA.cjs → PlayerAccountTimeout-BRZ922Nb.cjs} +82 -82
- package/components/{PlayerAccountTimeout-0g-C74ue.js → PlayerAccountTimeout-C4EZysQV.js} +1458 -1469
- package/components/{PlayerAccountTimeout-CF3uidhm.js → PlayerAccountTimeout-CnvLO2Ln.js} +1465 -1476
- 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
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var wr = Object.defineProperty, Tr = Object.defineProperties;
|
|
2
|
+
var Hr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ot = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var He = (e, t, r) => t in e ?
|
|
4
|
+
var Ar = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var He = (e, t, r) => t in e ? wr(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
|
-
|
|
7
|
+
Ar.call(t, r) && He(e, r, t[r]);
|
|
8
8
|
if (ot)
|
|
9
9
|
for (var r of ot(t))
|
|
10
|
-
|
|
10
|
+
Br.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, at = (e, t) =>
|
|
13
|
-
var
|
|
12
|
+
}, at = (e, t) => Tr(e, Hr(t));
|
|
13
|
+
var I = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var ut = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
@@ -29,7 +29,7 @@ var ut = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function L() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Cr(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -52,7 +52,7 @@ function et(e) {
|
|
|
52
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 Pr(e) {
|
|
56
56
|
return Object.keys(e).length === 0;
|
|
57
57
|
}
|
|
58
58
|
function Ut(e, ...t) {
|
|
@@ -64,19 +64,19 @@ function Ut(e, ...t) {
|
|
|
64
64
|
const r = e.subscribe(...t);
|
|
65
65
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function Or(e, t, r) {
|
|
68
68
|
e.$$.on_destroy.push(Ut(t, r));
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Ir(e, t, r, n) {
|
|
71
71
|
if (e) {
|
|
72
72
|
const i = Dt(e, t, r, n);
|
|
73
73
|
return e[0](i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
function Dt(e, t, r, n) {
|
|
77
|
-
return e[1] && n ?
|
|
77
|
+
return e[1] && n ? Cr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Nr(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 Or(e, t, r, n) {
|
|
|
91
91
|
}
|
|
92
92
|
return t.dirty;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Mr(e, t, r, n, i, o) {
|
|
95
95
|
if (i) {
|
|
96
96
|
const s = Dt(t, r, n, o);
|
|
97
97
|
e.p(s, i);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Lr(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++)
|
|
@@ -106,17 +106,17 @@ function Mr(e) {
|
|
|
106
106
|
}
|
|
107
107
|
return -1;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function C(e, t) {
|
|
110
110
|
e.appendChild(t);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
const n =
|
|
112
|
+
function Rr(e, t, r) {
|
|
113
|
+
const n = $r(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, Gr(n, i);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function $r(e) {
|
|
120
120
|
if (!e)
|
|
121
121
|
return document;
|
|
122
122
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -126,8 +126,8 @@ function Lr(e) {
|
|
|
126
126
|
t
|
|
127
127
|
) : e.ownerDocument;
|
|
128
128
|
}
|
|
129
|
-
function
|
|
130
|
-
return
|
|
129
|
+
function Gr(e, t) {
|
|
130
|
+
return C(
|
|
131
131
|
/** @type {Document} */
|
|
132
132
|
e.head || e,
|
|
133
133
|
t
|
|
@@ -139,24 +139,21 @@ function ie(e, t, r) {
|
|
|
139
139
|
function Q(e) {
|
|
140
140
|
e.parentNode && e.parentNode.removeChild(e);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function bo(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
149
|
function ht(e) {
|
|
150
150
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function ye(e) {
|
|
153
153
|
return document.createTextNode(e);
|
|
154
154
|
}
|
|
155
|
-
function
|
|
156
|
-
return
|
|
157
|
-
}
|
|
158
|
-
function bo() {
|
|
159
|
-
return oe("");
|
|
155
|
+
function ue() {
|
|
156
|
+
return ye(" ");
|
|
160
157
|
}
|
|
161
158
|
function Le(e, t, r, n) {
|
|
162
159
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
@@ -168,7 +165,7 @@ function go(e, t, r) {
|
|
|
168
165
|
const n = t.toLowerCase();
|
|
169
166
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : T(e, t, r);
|
|
170
167
|
}
|
|
171
|
-
function
|
|
168
|
+
function Ur(e) {
|
|
172
169
|
return Array.from(e.childNodes);
|
|
173
170
|
}
|
|
174
171
|
function tt(e, t) {
|
|
@@ -195,7 +192,7 @@ function xo(e) {
|
|
|
195
192
|
const t = e.querySelector(":checked");
|
|
196
193
|
return t && t.__value;
|
|
197
194
|
}
|
|
198
|
-
function
|
|
195
|
+
function Dr(e) {
|
|
199
196
|
const t = {};
|
|
200
197
|
return e.childNodes.forEach(
|
|
201
198
|
/** @param {Element} node */
|
|
@@ -208,27 +205,30 @@ let te;
|
|
|
208
205
|
function ee(e) {
|
|
209
206
|
te = e;
|
|
210
207
|
}
|
|
211
|
-
function
|
|
208
|
+
function Ft() {
|
|
212
209
|
if (!te)
|
|
213
210
|
throw new Error("Function called outside component initialization");
|
|
214
211
|
return te;
|
|
215
212
|
}
|
|
216
|
-
function
|
|
217
|
-
|
|
213
|
+
function Fr(e) {
|
|
214
|
+
Ft().$$.on_mount.push(e);
|
|
215
|
+
}
|
|
216
|
+
function Eo(e) {
|
|
217
|
+
Ft().$$.on_destroy.push(e);
|
|
218
218
|
}
|
|
219
219
|
const j = [], Re = [];
|
|
220
220
|
let k = [];
|
|
221
|
-
const ct = [],
|
|
221
|
+
const ct = [], jr = /* @__PURE__ */ Promise.resolve();
|
|
222
222
|
let $e = !1;
|
|
223
|
-
function
|
|
224
|
-
$e || ($e = !0,
|
|
223
|
+
function kr() {
|
|
224
|
+
$e || ($e = !0, jr.then(O));
|
|
225
225
|
}
|
|
226
226
|
function Ge(e) {
|
|
227
227
|
k.push(e);
|
|
228
228
|
}
|
|
229
229
|
const Ae = /* @__PURE__ */ new Set();
|
|
230
230
|
let D = 0;
|
|
231
|
-
function
|
|
231
|
+
function O() {
|
|
232
232
|
if (D !== 0)
|
|
233
233
|
return;
|
|
234
234
|
const e = te;
|
|
@@ -236,7 +236,7 @@ function I() {
|
|
|
236
236
|
try {
|
|
237
237
|
for (; D < j.length; ) {
|
|
238
238
|
const t = j[D];
|
|
239
|
-
D++, ee(t),
|
|
239
|
+
D++, ee(t), Vr(t.$$);
|
|
240
240
|
}
|
|
241
241
|
} catch (t) {
|
|
242
242
|
throw j.length = 0, D = 0, t;
|
|
@@ -253,49 +253,49 @@ function I() {
|
|
|
253
253
|
ct.pop()();
|
|
254
254
|
$e = !1, Ae.clear(), ee(e);
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function Vr(e) {
|
|
257
257
|
if (e.fragment !== null) {
|
|
258
258
|
e.update(), Z(e.before_update);
|
|
259
259
|
const t = e.dirty;
|
|
260
260
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function Xr(e) {
|
|
264
264
|
const t = [], r = [];
|
|
265
265
|
k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
|
|
266
266
|
}
|
|
267
|
-
const
|
|
268
|
-
let
|
|
269
|
-
function
|
|
270
|
-
e && e.i && (
|
|
267
|
+
const ce = /* @__PURE__ */ new Set();
|
|
268
|
+
let zr;
|
|
269
|
+
function jt(e, t) {
|
|
270
|
+
e && e.i && (ce.delete(e), e.i(t));
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function Wr(e, t, r, n) {
|
|
273
273
|
if (e && e.o) {
|
|
274
|
-
if (
|
|
274
|
+
if (ce.has(e))
|
|
275
275
|
return;
|
|
276
|
-
|
|
277
|
-
|
|
276
|
+
ce.add(e), zr.c.push(() => {
|
|
277
|
+
ce.delete(e);
|
|
278
278
|
}), e.o(t);
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function So(e) {
|
|
282
282
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function Zr(e, t, r) {
|
|
285
285
|
const { fragment: n, after_update: i } = e.$$;
|
|
286
286
|
n && n.m(t, r), Ge(() => {
|
|
287
287
|
const o = e.$$.on_mount.map($t).filter(et);
|
|
288
288
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
|
|
289
289
|
}), i.forEach(Ge);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function Qr(e, t) {
|
|
292
292
|
const r = e.$$;
|
|
293
|
-
r.fragment !== null && (
|
|
293
|
+
r.fragment !== null && (Xr(r.after_update), Z(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 && (j.push(e),
|
|
295
|
+
function Jr(e, t) {
|
|
296
|
+
e.$$.dirty[0] === -1 && (j.push(e), kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function qr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
299
299
|
const l = te;
|
|
300
300
|
ee(e);
|
|
301
301
|
const u = e.$$ = {
|
|
@@ -321,41 +321,41 @@ function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
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[
|
|
324
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
|
|
325
|
+
const y = m.length ? m[0] : c;
|
|
326
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), h && Jr(e, f)), c;
|
|
327
327
|
}) : [], u.update(), h = !0, Z(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 f = Ur(t.target);
|
|
330
|
+
u.fragment && u.fragment.l(f), f.forEach(Q);
|
|
331
331
|
} else
|
|
332
332
|
u.fragment && u.fragment.c();
|
|
333
|
-
t.intro &&
|
|
333
|
+
t.intro && jt(e.$$.fragment), Zr(e, t.target, t.anchor), O();
|
|
334
334
|
}
|
|
335
335
|
ee(l);
|
|
336
336
|
}
|
|
337
|
-
let
|
|
338
|
-
typeof HTMLElement == "function" && (
|
|
337
|
+
let kt;
|
|
338
|
+
typeof HTMLElement == "function" && (kt = class extends HTMLElement {
|
|
339
339
|
constructor(t, r, n) {
|
|
340
340
|
super();
|
|
341
341
|
/** The Svelte component constructor */
|
|
342
|
-
|
|
342
|
+
I(this, "$$ctor");
|
|
343
343
|
/** Slots */
|
|
344
|
-
|
|
344
|
+
I(this, "$$s");
|
|
345
345
|
/** The Svelte component instance */
|
|
346
|
-
|
|
346
|
+
I(this, "$$c");
|
|
347
347
|
/** Whether or not the custom element is connected */
|
|
348
|
-
|
|
348
|
+
I(this, "$$cn", !1);
|
|
349
349
|
/** Component props data */
|
|
350
|
-
|
|
350
|
+
I(this, "$$d", {});
|
|
351
351
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
352
|
-
|
|
352
|
+
I(this, "$$r", !1);
|
|
353
353
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
354
|
-
|
|
354
|
+
I(this, "$$p_d", {});
|
|
355
355
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
356
|
-
|
|
356
|
+
I(this, "$$l", {});
|
|
357
357
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
358
|
-
|
|
358
|
+
I(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
359
359
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
360
360
|
}
|
|
361
361
|
addEventListener(t, r, n) {
|
|
@@ -379,7 +379,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
379
379
|
let s;
|
|
380
380
|
return {
|
|
381
381
|
c: function() {
|
|
382
|
-
s =
|
|
382
|
+
s = N("slot"), o !== "default" && T(s, "name", o);
|
|
383
383
|
},
|
|
384
384
|
/**
|
|
385
385
|
* @param {HTMLElement} target
|
|
@@ -396,12 +396,12 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
396
396
|
};
|
|
397
397
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
398
398
|
return;
|
|
399
|
-
const r = {}, n =
|
|
399
|
+
const r = {}, n = Dr(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] = fe(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]);
|
|
@@ -418,7 +418,7 @@ typeof HTMLElement == "function" && (jt = 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 = fe(
|
|
422
422
|
o,
|
|
423
423
|
this.$$d[o],
|
|
424
424
|
this.$$p_d,
|
|
@@ -442,7 +442,7 @@ typeof HTMLElement == "function" && (jt = 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] = fe(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" && (jt = class extends HTMLElement {
|
|
|
455
455
|
) || t;
|
|
456
456
|
}
|
|
457
457
|
});
|
|
458
|
-
function
|
|
458
|
+
function fe(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 me(e, t, r, n) {
|
|
|
485
485
|
return t;
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
|
-
function
|
|
489
|
-
let s = class extends
|
|
488
|
+
function Yr(e, t, r, n, i, o) {
|
|
489
|
+
let s = class extends kt {
|
|
490
490
|
constructor() {
|
|
491
491
|
super(e, r, i), this.$$p_d = t;
|
|
492
492
|
}
|
|
@@ -503,7 +503,7 @@ function qr(e, t, r, n, i, o) {
|
|
|
503
503
|
},
|
|
504
504
|
set(l) {
|
|
505
505
|
var u;
|
|
506
|
-
l =
|
|
506
|
+
l = fe(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 qr(e, t, r, n, i, o) {
|
|
|
516
516
|
}), e.element = /** @type {any} */
|
|
517
517
|
s, s;
|
|
518
518
|
}
|
|
519
|
-
class
|
|
519
|
+
class Kr {
|
|
520
520
|
constructor() {
|
|
521
521
|
/**
|
|
522
522
|
* ### PRIVATE API
|
|
@@ -525,7 +525,7 @@ class Yr {
|
|
|
525
525
|
*
|
|
526
526
|
* @type {any}
|
|
527
527
|
*/
|
|
528
|
-
|
|
528
|
+
I(this, "$$");
|
|
529
529
|
/**
|
|
530
530
|
* ### PRIVATE API
|
|
531
531
|
*
|
|
@@ -533,11 +533,11 @@ class Yr {
|
|
|
533
533
|
*
|
|
534
534
|
* @type {any}
|
|
535
535
|
*/
|
|
536
|
-
|
|
536
|
+
I(this, "$$set");
|
|
537
537
|
}
|
|
538
538
|
/** @returns {void} */
|
|
539
539
|
$destroy() {
|
|
540
|
-
|
|
540
|
+
Qr(this, 1), this.$destroy = L;
|
|
541
541
|
}
|
|
542
542
|
/**
|
|
543
543
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -559,13 +559,13 @@ class Yr {
|
|
|
559
559
|
* @returns {void}
|
|
560
560
|
*/
|
|
561
561
|
$set(t) {
|
|
562
|
-
this.$$set && !
|
|
562
|
+
this.$$set && !Pr(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 en = "4";
|
|
566
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
|
|
567
|
+
var wo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
568
|
+
function tn(e) {
|
|
569
569
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
570
570
|
}
|
|
571
571
|
/*! *****************************************************************************
|
|
@@ -590,7 +590,7 @@ var Ue = function(e, t) {
|
|
|
590
590
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
591
591
|
}, Ue(e, t);
|
|
592
592
|
};
|
|
593
|
-
function
|
|
593
|
+
function oe(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
|
Ue(e, t);
|
|
@@ -640,13 +640,13 @@ function je(e, t, r) {
|
|
|
640
640
|
function R(e) {
|
|
641
641
|
return typeof e == "function";
|
|
642
642
|
}
|
|
643
|
-
function
|
|
643
|
+
function Vt(e) {
|
|
644
644
|
var t = function(n) {
|
|
645
645
|
Error.call(n), n.stack = new Error().stack;
|
|
646
646
|
}, r = e(t);
|
|
647
647
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
648
648
|
}
|
|
649
|
-
var Be =
|
|
649
|
+
var Be = Vt(function(e) {
|
|
650
650
|
return function(r) {
|
|
651
651
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
652
652
|
` + r.map(function(n, i) {
|
|
@@ -677,8 +677,8 @@ var _e = function() {
|
|
|
677
677
|
var u = l.value;
|
|
678
678
|
u.remove(this);
|
|
679
679
|
}
|
|
680
|
-
} catch (
|
|
681
|
-
t = { error:
|
|
680
|
+
} catch (b) {
|
|
681
|
+
t = { error: b };
|
|
682
682
|
} finally {
|
|
683
683
|
try {
|
|
684
684
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -693,26 +693,26 @@ var _e = function() {
|
|
|
693
693
|
if (R(h))
|
|
694
694
|
try {
|
|
695
695
|
h();
|
|
696
|
-
} catch (
|
|
697
|
-
o =
|
|
696
|
+
} catch (b) {
|
|
697
|
+
o = b instanceof Be ? b.errors : [b];
|
|
698
698
|
}
|
|
699
|
-
var
|
|
700
|
-
if (
|
|
699
|
+
var f = this._finalizers;
|
|
700
|
+
if (f) {
|
|
701
701
|
this._finalizers = null;
|
|
702
702
|
try {
|
|
703
|
-
for (var
|
|
704
|
-
var
|
|
703
|
+
for (var c = De(f), m = c.next(); !m.done; m = c.next()) {
|
|
704
|
+
var y = m.value;
|
|
705
705
|
try {
|
|
706
|
-
ft(
|
|
707
|
-
} catch (
|
|
708
|
-
o = o != null ? o : [],
|
|
706
|
+
ft(y);
|
|
707
|
+
} catch (b) {
|
|
708
|
+
o = o != null ? o : [], b instanceof Be ? o = je(je([], Fe(o)), Fe(b.errors)) : o.push(b);
|
|
709
709
|
}
|
|
710
710
|
}
|
|
711
|
-
} catch (
|
|
712
|
-
n = { error:
|
|
711
|
+
} catch (b) {
|
|
712
|
+
n = { error: b };
|
|
713
713
|
} finally {
|
|
714
714
|
try {
|
|
715
|
-
m && !m.done && (i =
|
|
715
|
+
m && !m.done && (i = c.return) && i.call(c);
|
|
716
716
|
} finally {
|
|
717
717
|
if (n)
|
|
718
718
|
throw n.error;
|
|
@@ -751,16 +751,16 @@ var _e = function() {
|
|
|
751
751
|
var t = new e();
|
|
752
752
|
return t.closed = !0, t;
|
|
753
753
|
}(), e;
|
|
754
|
-
}(),
|
|
755
|
-
function
|
|
754
|
+
}(), Xt = _e.EMPTY;
|
|
755
|
+
function zt(e) {
|
|
756
756
|
return e instanceof _e || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
757
757
|
}
|
|
758
758
|
function ft(e) {
|
|
759
759
|
R(e) ? e() : e.unsubscribe();
|
|
760
760
|
}
|
|
761
|
-
var
|
|
761
|
+
var rn = {
|
|
762
762
|
Promise: void 0
|
|
763
|
-
},
|
|
763
|
+
}, nn = {
|
|
764
764
|
setTimeout: function(e, t) {
|
|
765
765
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
766
766
|
r[n - 2] = arguments[n];
|
|
@@ -771,21 +771,21 @@ var tn = {
|
|
|
771
771
|
},
|
|
772
772
|
delegate: void 0
|
|
773
773
|
};
|
|
774
|
-
function
|
|
775
|
-
|
|
774
|
+
function on(e) {
|
|
775
|
+
nn.setTimeout(function() {
|
|
776
776
|
throw e;
|
|
777
777
|
});
|
|
778
778
|
}
|
|
779
779
|
function mt() {
|
|
780
780
|
}
|
|
781
|
-
function
|
|
781
|
+
function me(e) {
|
|
782
782
|
e();
|
|
783
783
|
}
|
|
784
|
-
var
|
|
785
|
-
|
|
784
|
+
var Wt = function(e) {
|
|
785
|
+
oe(t, e);
|
|
786
786
|
function t(r) {
|
|
787
787
|
var n = e.call(this) || this;
|
|
788
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
788
|
+
return n.isStopped = !1, r ? (n.destination = r, zt(r) && r.add(n)) : n.destination = un, n;
|
|
789
789
|
}
|
|
790
790
|
return t.create = function(r, n, i) {
|
|
791
791
|
return new Ve(r, n, i);
|
|
@@ -812,7 +812,7 @@ var zt = function(e) {
|
|
|
812
812
|
this.unsubscribe();
|
|
813
813
|
}
|
|
814
814
|
}, t;
|
|
815
|
-
}(_e),
|
|
815
|
+
}(_e), sn = function() {
|
|
816
816
|
function e(t) {
|
|
817
817
|
this.partialObserver = t;
|
|
818
818
|
}
|
|
@@ -822,7 +822,7 @@ var zt = function(e) {
|
|
|
822
822
|
try {
|
|
823
823
|
r.next(t);
|
|
824
824
|
} catch (n) {
|
|
825
|
-
|
|
825
|
+
le(n);
|
|
826
826
|
}
|
|
827
827
|
}, e.prototype.error = function(t) {
|
|
828
828
|
var r = this.partialObserver;
|
|
@@ -830,56 +830,56 @@ var zt = function(e) {
|
|
|
830
830
|
try {
|
|
831
831
|
r.error(t);
|
|
832
832
|
} catch (n) {
|
|
833
|
-
|
|
833
|
+
le(n);
|
|
834
834
|
}
|
|
835
835
|
else
|
|
836
|
-
|
|
836
|
+
le(t);
|
|
837
837
|
}, e.prototype.complete = function() {
|
|
838
838
|
var t = this.partialObserver;
|
|
839
839
|
if (t.complete)
|
|
840
840
|
try {
|
|
841
841
|
t.complete();
|
|
842
842
|
} catch (r) {
|
|
843
|
-
|
|
843
|
+
le(r);
|
|
844
844
|
}
|
|
845
845
|
}, e;
|
|
846
846
|
}(), Ve = function(e) {
|
|
847
|
-
|
|
847
|
+
oe(t, e);
|
|
848
848
|
function t(r, n, i) {
|
|
849
849
|
var o = e.call(this) || this, s;
|
|
850
850
|
return R(r) || !r ? s = {
|
|
851
851
|
next: r != null ? r : void 0,
|
|
852
852
|
error: n != null ? n : void 0,
|
|
853
853
|
complete: i != null ? i : void 0
|
|
854
|
-
} : s = r, o.destination = new
|
|
854
|
+
} : s = r, o.destination = new sn(s), o;
|
|
855
855
|
}
|
|
856
856
|
return t;
|
|
857
|
-
}(
|
|
858
|
-
function
|
|
859
|
-
|
|
857
|
+
}(Wt);
|
|
858
|
+
function le(e) {
|
|
859
|
+
on(e);
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function an(e) {
|
|
862
862
|
throw e;
|
|
863
863
|
}
|
|
864
|
-
var
|
|
864
|
+
var un = {
|
|
865
865
|
closed: !0,
|
|
866
866
|
next: mt,
|
|
867
|
-
error:
|
|
867
|
+
error: an,
|
|
868
868
|
complete: mt
|
|
869
|
-
},
|
|
869
|
+
}, ln = function() {
|
|
870
870
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
871
871
|
}();
|
|
872
|
-
function
|
|
872
|
+
function hn(e) {
|
|
873
873
|
return e;
|
|
874
874
|
}
|
|
875
|
-
function
|
|
876
|
-
return e.length === 0 ?
|
|
875
|
+
function cn(e) {
|
|
876
|
+
return e.length === 0 ? hn : e.length === 1 ? e[0] : function(r) {
|
|
877
877
|
return e.reduce(function(n, i) {
|
|
878
878
|
return i(n);
|
|
879
879
|
}, r);
|
|
880
880
|
};
|
|
881
881
|
}
|
|
882
|
-
var
|
|
882
|
+
var dt = function() {
|
|
883
883
|
function e(t) {
|
|
884
884
|
t && (this._subscribe = t);
|
|
885
885
|
}
|
|
@@ -887,8 +887,8 @@ var pt = function() {
|
|
|
887
887
|
var r = new e();
|
|
888
888
|
return r.source = this, r.operator = t, r;
|
|
889
889
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
890
|
-
var i = this, o =
|
|
891
|
-
return
|
|
890
|
+
var i = this, o = mn(t) ? t : new Ve(t, r, n);
|
|
891
|
+
return me(function() {
|
|
892
892
|
var s = i, a = s.operator, l = s.source;
|
|
893
893
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
894
894
|
}), o;
|
|
@@ -900,7 +900,7 @@ var pt = function() {
|
|
|
900
900
|
}
|
|
901
901
|
}, e.prototype.forEach = function(t, r) {
|
|
902
902
|
var n = this;
|
|
903
|
-
return r =
|
|
903
|
+
return r = pt(r), new r(function(i, o) {
|
|
904
904
|
var s = new Ve({
|
|
905
905
|
next: function(a) {
|
|
906
906
|
try {
|
|
@@ -917,15 +917,15 @@ var pt = function() {
|
|
|
917
917
|
}, e.prototype._subscribe = function(t) {
|
|
918
918
|
var r;
|
|
919
919
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
920
|
-
}, e.prototype[
|
|
920
|
+
}, e.prototype[ln] = function() {
|
|
921
921
|
return this;
|
|
922
922
|
}, e.prototype.pipe = function() {
|
|
923
923
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
924
924
|
t[r] = arguments[r];
|
|
925
|
-
return
|
|
925
|
+
return cn(t)(this);
|
|
926
926
|
}, e.prototype.toPromise = function(t) {
|
|
927
927
|
var r = this;
|
|
928
|
-
return t =
|
|
928
|
+
return t = pt(t), new t(function(n, i) {
|
|
929
929
|
var o;
|
|
930
930
|
r.subscribe(function(s) {
|
|
931
931
|
return o = s;
|
|
@@ -939,22 +939,22 @@ var pt = function() {
|
|
|
939
939
|
return new e(t);
|
|
940
940
|
}, e;
|
|
941
941
|
}();
|
|
942
|
-
function
|
|
942
|
+
function pt(e) {
|
|
943
943
|
var t;
|
|
944
|
-
return (t = e != null ? e :
|
|
944
|
+
return (t = e != null ? e : rn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
945
945
|
}
|
|
946
|
-
function
|
|
946
|
+
function fn(e) {
|
|
947
947
|
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
948
948
|
}
|
|
949
|
-
function
|
|
950
|
-
return e && e instanceof
|
|
949
|
+
function mn(e) {
|
|
950
|
+
return e && e instanceof Wt || fn(e) && zt(e);
|
|
951
951
|
}
|
|
952
|
-
var
|
|
952
|
+
var dn = Vt(function(e) {
|
|
953
953
|
return function() {
|
|
954
954
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
955
955
|
};
|
|
956
|
-
}),
|
|
957
|
-
|
|
956
|
+
}), Zt = function(e) {
|
|
957
|
+
oe(t, e);
|
|
958
958
|
function t() {
|
|
959
959
|
var r = e.call(this) || this;
|
|
960
960
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
@@ -964,10 +964,10 @@ var mn = kt(function(e) {
|
|
|
964
964
|
return n.operator = r, n;
|
|
965
965
|
}, t.prototype._throwIfClosed = function() {
|
|
966
966
|
if (this.closed)
|
|
967
|
-
throw new
|
|
967
|
+
throw new dn();
|
|
968
968
|
}, t.prototype.next = function(r) {
|
|
969
969
|
var n = this;
|
|
970
|
-
|
|
970
|
+
me(function() {
|
|
971
971
|
var i, o;
|
|
972
972
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
973
973
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
@@ -990,7 +990,7 @@ var mn = kt(function(e) {
|
|
|
990
990
|
});
|
|
991
991
|
}, t.prototype.error = function(r) {
|
|
992
992
|
var n = this;
|
|
993
|
-
|
|
993
|
+
me(function() {
|
|
994
994
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
995
995
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
996
996
|
for (var i = n.observers; i.length; )
|
|
@@ -999,7 +999,7 @@ var mn = kt(function(e) {
|
|
|
999
999
|
});
|
|
1000
1000
|
}, t.prototype.complete = function() {
|
|
1001
1001
|
var r = this;
|
|
1002
|
-
|
|
1002
|
+
me(function() {
|
|
1003
1003
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1004
1004
|
r.isStopped = !0;
|
|
1005
1005
|
for (var n = r.observers; n.length; )
|
|
@@ -1021,20 +1021,20 @@ var mn = kt(function(e) {
|
|
|
1021
1021
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1022
1022
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1023
1023
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1024
|
-
return o || s ?
|
|
1024
|
+
return o || s ? Xt : (this.currentObservers = null, a.push(r), new _e(function() {
|
|
1025
1025
|
n.currentObservers = null, ke(a, r);
|
|
1026
1026
|
}));
|
|
1027
1027
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1028
1028
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1029
1029
|
i ? r.error(o) : s && r.complete();
|
|
1030
1030
|
}, t.prototype.asObservable = function() {
|
|
1031
|
-
var r = new
|
|
1031
|
+
var r = new dt();
|
|
1032
1032
|
return r.source = this, r;
|
|
1033
1033
|
}, t.create = function(r, n) {
|
|
1034
1034
|
return new bt(r, n);
|
|
1035
1035
|
}, t;
|
|
1036
|
-
}(
|
|
1037
|
-
|
|
1036
|
+
}(dt), bt = function(e) {
|
|
1037
|
+
oe(t, e);
|
|
1038
1038
|
function t(r, n) {
|
|
1039
1039
|
var i = e.call(this) || this;
|
|
1040
1040
|
return i.destination = r, i.source = n, i;
|
|
@@ -1050,17 +1050,17 @@ var mn = kt(function(e) {
|
|
|
1050
1050
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1051
1051
|
}, t.prototype._subscribe = function(r) {
|
|
1052
1052
|
var n, i;
|
|
1053
|
-
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 : Xt;
|
|
1054
1054
|
}, t;
|
|
1055
|
-
}(
|
|
1055
|
+
}(Zt), Qt = {
|
|
1056
1056
|
now: function() {
|
|
1057
|
-
return (
|
|
1057
|
+
return (Qt.delegate || Date).now();
|
|
1058
1058
|
},
|
|
1059
1059
|
delegate: void 0
|
|
1060
1060
|
}, pn = function(e) {
|
|
1061
|
-
|
|
1061
|
+
oe(t, e);
|
|
1062
1062
|
function t(r, n, i) {
|
|
1063
|
-
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 = Qt);
|
|
1064
1064
|
var o = e.call(this) || this;
|
|
1065
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;
|
|
1066
1066
|
}
|
|
@@ -1080,15 +1080,15 @@ var mn = kt(function(e) {
|
|
|
1080
1080
|
u && o.splice(0, u + 1);
|
|
1081
1081
|
}
|
|
1082
1082
|
}, t;
|
|
1083
|
-
}(
|
|
1084
|
-
const gt = [], vt = {},
|
|
1083
|
+
}(Zt);
|
|
1084
|
+
const gt = [], vt = {}, bn = (e, t = 0) => {
|
|
1085
1085
|
if (gt.indexOf(e) == -1) {
|
|
1086
1086
|
const r = new pn(t);
|
|
1087
1087
|
vt[e] = r, gt.push(e);
|
|
1088
1088
|
}
|
|
1089
1089
|
return vt[e];
|
|
1090
1090
|
}, F = [];
|
|
1091
|
-
function
|
|
1091
|
+
function gn(e, t) {
|
|
1092
1092
|
return {
|
|
1093
1093
|
subscribe: xe(e, t).subscribe
|
|
1094
1094
|
};
|
|
@@ -1124,93 +1124,93 @@ function J(e, t, r) {
|
|
|
1124
1124
|
if (!i.every(Boolean))
|
|
1125
1125
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1126
1126
|
const o = t.length < 2;
|
|
1127
|
-
return
|
|
1127
|
+
return gn(r, (s, a) => {
|
|
1128
1128
|
let l = !1;
|
|
1129
1129
|
const u = [];
|
|
1130
|
-
let h = 0,
|
|
1131
|
-
const
|
|
1130
|
+
let h = 0, f = L;
|
|
1131
|
+
const c = () => {
|
|
1132
1132
|
if (h)
|
|
1133
1133
|
return;
|
|
1134
|
-
|
|
1135
|
-
const
|
|
1136
|
-
o ? s(
|
|
1134
|
+
f();
|
|
1135
|
+
const y = t(n ? u[0] : u, s, a);
|
|
1136
|
+
o ? s(y) : f = et(y) ? y : L;
|
|
1137
1137
|
}, m = i.map(
|
|
1138
|
-
(
|
|
1139
|
-
|
|
1140
|
-
(
|
|
1141
|
-
u[
|
|
1138
|
+
(y, b) => Ut(
|
|
1139
|
+
y,
|
|
1140
|
+
(H) => {
|
|
1141
|
+
u[b] = H, h &= ~(1 << b), l && c();
|
|
1142
1142
|
},
|
|
1143
1143
|
() => {
|
|
1144
|
-
h |= 1 <<
|
|
1144
|
+
h |= 1 << b;
|
|
1145
1145
|
}
|
|
1146
1146
|
)
|
|
1147
1147
|
);
|
|
1148
|
-
return l = !0,
|
|
1149
|
-
Z(m),
|
|
1148
|
+
return l = !0, c(), function() {
|
|
1149
|
+
Z(m), f(), l = !1;
|
|
1150
1150
|
};
|
|
1151
1151
|
});
|
|
1152
1152
|
}
|
|
1153
|
-
var
|
|
1154
|
-
return
|
|
1153
|
+
var vn = function(t) {
|
|
1154
|
+
return yn(t) && !_n(t);
|
|
1155
1155
|
};
|
|
1156
|
-
function
|
|
1156
|
+
function yn(e) {
|
|
1157
1157
|
return !!e && typeof e == "object";
|
|
1158
1158
|
}
|
|
1159
|
-
function
|
|
1159
|
+
function _n(e) {
|
|
1160
1160
|
var t = Object.prototype.toString.call(e);
|
|
1161
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1162
|
-
}
|
|
1163
|
-
var _n = typeof Symbol == "function" && Symbol.for, xn = _n ? Symbol.for("react.element") : 60103;
|
|
1164
|
-
function En(e) {
|
|
1165
|
-
return e.$$typeof === xn;
|
|
1161
|
+
return t === "[object RegExp]" || t === "[object Date]" || Sn(e);
|
|
1166
1162
|
}
|
|
1163
|
+
var xn = typeof Symbol == "function" && Symbol.for, En = xn ? Symbol.for("react.element") : 60103;
|
|
1167
1164
|
function Sn(e) {
|
|
1165
|
+
return e.$$typeof === En;
|
|
1166
|
+
}
|
|
1167
|
+
function wn(e) {
|
|
1168
1168
|
return Array.isArray(e) ? [] : {};
|
|
1169
1169
|
}
|
|
1170
1170
|
function re(e, t) {
|
|
1171
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? V(
|
|
1171
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? V(wn(e), e, t) : e;
|
|
1172
1172
|
}
|
|
1173
|
-
function
|
|
1173
|
+
function Tn(e, t, r) {
|
|
1174
1174
|
return e.concat(t).map(function(n) {
|
|
1175
1175
|
return re(n, r);
|
|
1176
1176
|
});
|
|
1177
1177
|
}
|
|
1178
|
-
function
|
|
1178
|
+
function Hn(e, t) {
|
|
1179
1179
|
if (!t.customMerge)
|
|
1180
1180
|
return V;
|
|
1181
1181
|
var r = t.customMerge(e);
|
|
1182
1182
|
return typeof r == "function" ? r : V;
|
|
1183
1183
|
}
|
|
1184
|
-
function
|
|
1184
|
+
function An(e) {
|
|
1185
1185
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1186
1186
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1187
1187
|
}) : [];
|
|
1188
1188
|
}
|
|
1189
1189
|
function yt(e) {
|
|
1190
|
-
return Object.keys(e).concat(
|
|
1190
|
+
return Object.keys(e).concat(An(e));
|
|
1191
1191
|
}
|
|
1192
|
-
function
|
|
1192
|
+
function Jt(e, t) {
|
|
1193
1193
|
try {
|
|
1194
1194
|
return t in e;
|
|
1195
1195
|
} catch (r) {
|
|
1196
1196
|
return !1;
|
|
1197
1197
|
}
|
|
1198
1198
|
}
|
|
1199
|
-
function
|
|
1200
|
-
return
|
|
1199
|
+
function Bn(e, t) {
|
|
1200
|
+
return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1202
|
+
function Cn(e, t, r) {
|
|
1203
1203
|
var n = {};
|
|
1204
1204
|
return r.isMergeableObject(e) && yt(e).forEach(function(i) {
|
|
1205
1205
|
n[i] = re(e[i], r);
|
|
1206
1206
|
}), yt(t).forEach(function(i) {
|
|
1207
|
-
|
|
1207
|
+
Bn(e, i) || (Jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
|
|
1208
1208
|
}), n;
|
|
1209
1209
|
}
|
|
1210
1210
|
function V(e, t, r) {
|
|
1211
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1211
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Tn, r.isMergeableObject = r.isMergeableObject || vn, r.cloneUnlessOtherwiseSpecified = re;
|
|
1212
1212
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1213
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1213
|
+
return o ? n ? r.arrayMerge(e, t, r) : Cn(e, t, r) : re(t, r);
|
|
1214
1214
|
}
|
|
1215
1215
|
V.all = function(t, r) {
|
|
1216
1216
|
if (!Array.isArray(t))
|
|
@@ -1219,8 +1219,8 @@ V.all = function(t, r) {
|
|
|
1219
1219
|
return V(n, i, r);
|
|
1220
1220
|
}, {});
|
|
1221
1221
|
};
|
|
1222
|
-
var
|
|
1223
|
-
const
|
|
1222
|
+
var Pn = V, On = Pn;
|
|
1223
|
+
const In = /* @__PURE__ */ tn(On);
|
|
1224
1224
|
var Xe = function(e, t) {
|
|
1225
1225
|
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1226
1226
|
r.__proto__ = n;
|
|
@@ -1238,17 +1238,17 @@ function Ee(e, t) {
|
|
|
1238
1238
|
}
|
|
1239
1239
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1240
1240
|
}
|
|
1241
|
-
var
|
|
1242
|
-
return
|
|
1241
|
+
var M = function() {
|
|
1242
|
+
return M = Object.assign || function(t) {
|
|
1243
1243
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1244
1244
|
r = arguments[n];
|
|
1245
1245
|
for (var o in r)
|
|
1246
1246
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1247
1247
|
}
|
|
1248
1248
|
return t;
|
|
1249
|
-
},
|
|
1249
|
+
}, M.apply(this, arguments);
|
|
1250
1250
|
};
|
|
1251
|
-
function
|
|
1251
|
+
function Nn(e, t) {
|
|
1252
1252
|
var r = {};
|
|
1253
1253
|
for (var n in e)
|
|
1254
1254
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1264,7 +1264,7 @@ function Ce(e, t, r) {
|
|
|
1264
1264
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1265
1265
|
}
|
|
1266
1266
|
function Pe(e, t) {
|
|
1267
|
-
var r = t && t.cache ? t.cache :
|
|
1267
|
+
var r = t && t.cache ? t.cache : Dn, n = t && t.serializer ? t.serializer : Gn, i = t && t.strategy ? t.strategy : Rn;
|
|
1268
1268
|
return i(e, {
|
|
1269
1269
|
cache: r,
|
|
1270
1270
|
serializer: n
|
|
@@ -1273,27 +1273,27 @@ function Pe(e, t) {
|
|
|
1273
1273
|
function Mn(e) {
|
|
1274
1274
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1275
1275
|
}
|
|
1276
|
-
function
|
|
1276
|
+
function Ln(e, t, r, n) {
|
|
1277
1277
|
var i = Mn(n) ? n : r(n), o = t.get(i);
|
|
1278
1278
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1279
1279
|
}
|
|
1280
|
-
function
|
|
1280
|
+
function qt(e, t, r) {
|
|
1281
1281
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1282
1282
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1283
1283
|
}
|
|
1284
|
-
function
|
|
1284
|
+
function Yt(e, t, r, n, i) {
|
|
1285
1285
|
return r.bind(t, e, n, i);
|
|
1286
1286
|
}
|
|
1287
|
-
function Ln(e, t) {
|
|
1288
|
-
var r = e.length === 1 ? Nn : Jt;
|
|
1289
|
-
return qt(e, this, r, t.cache.create(), t.serializer);
|
|
1290
|
-
}
|
|
1291
1287
|
function Rn(e, t) {
|
|
1292
|
-
|
|
1288
|
+
var r = e.length === 1 ? Ln : qt;
|
|
1289
|
+
return Yt(e, this, r, t.cache.create(), t.serializer);
|
|
1290
|
+
}
|
|
1291
|
+
function $n(e, t) {
|
|
1292
|
+
return Yt(e, this, qt, t.cache.create(), t.serializer);
|
|
1293
1293
|
}
|
|
1294
|
-
var
|
|
1294
|
+
var Gn = function() {
|
|
1295
1295
|
return JSON.stringify(arguments);
|
|
1296
|
-
},
|
|
1296
|
+
}, Un = (
|
|
1297
1297
|
/** @class */
|
|
1298
1298
|
function() {
|
|
1299
1299
|
function e() {
|
|
@@ -1305,71 +1305,71 @@ var $n = function() {
|
|
|
1305
1305
|
this.cache[t] = r;
|
|
1306
1306
|
}, e;
|
|
1307
1307
|
}()
|
|
1308
|
-
),
|
|
1308
|
+
), Dn = {
|
|
1309
1309
|
create: function() {
|
|
1310
|
-
return new
|
|
1310
|
+
return new Un();
|
|
1311
1311
|
}
|
|
1312
1312
|
}, Oe = {
|
|
1313
|
-
variadic:
|
|
1314
|
-
},
|
|
1315
|
-
return
|
|
1313
|
+
variadic: $n
|
|
1314
|
+
}, be = function() {
|
|
1315
|
+
return be = Object.assign || function(t) {
|
|
1316
1316
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1317
1317
|
r = arguments[n];
|
|
1318
1318
|
for (var o in r)
|
|
1319
1319
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1320
1320
|
}
|
|
1321
1321
|
return t;
|
|
1322
|
-
},
|
|
1322
|
+
}, be.apply(this, arguments);
|
|
1323
1323
|
};
|
|
1324
1324
|
var p;
|
|
1325
1325
|
(function(e) {
|
|
1326
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";
|
|
1327
1327
|
})(p || (p = {}));
|
|
1328
|
-
var
|
|
1328
|
+
var x;
|
|
1329
1329
|
(function(e) {
|
|
1330
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";
|
|
1331
|
-
})(
|
|
1331
|
+
})(x || (x = {}));
|
|
1332
1332
|
var X;
|
|
1333
1333
|
(function(e) {
|
|
1334
1334
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1335
1335
|
})(X || (X = {}));
|
|
1336
1336
|
function _t(e) {
|
|
1337
|
-
return e.type ===
|
|
1337
|
+
return e.type === x.literal;
|
|
1338
1338
|
}
|
|
1339
|
-
function
|
|
1340
|
-
return e.type ===
|
|
1341
|
-
}
|
|
1342
|
-
function Yt(e) {
|
|
1343
|
-
return e.type === E.number;
|
|
1339
|
+
function Fn(e) {
|
|
1340
|
+
return e.type === x.argument;
|
|
1344
1341
|
}
|
|
1345
1342
|
function Kt(e) {
|
|
1346
|
-
return e.type ===
|
|
1343
|
+
return e.type === x.number;
|
|
1347
1344
|
}
|
|
1348
1345
|
function er(e) {
|
|
1349
|
-
return e.type ===
|
|
1346
|
+
return e.type === x.date;
|
|
1350
1347
|
}
|
|
1351
1348
|
function tr(e) {
|
|
1352
|
-
return e.type ===
|
|
1349
|
+
return e.type === x.time;
|
|
1353
1350
|
}
|
|
1354
1351
|
function rr(e) {
|
|
1355
|
-
return e.type ===
|
|
1356
|
-
}
|
|
1357
|
-
function Fn(e) {
|
|
1358
|
-
return e.type === E.pound;
|
|
1352
|
+
return e.type === x.select;
|
|
1359
1353
|
}
|
|
1360
1354
|
function nr(e) {
|
|
1361
|
-
return e.type ===
|
|
1355
|
+
return e.type === x.plural;
|
|
1356
|
+
}
|
|
1357
|
+
function jn(e) {
|
|
1358
|
+
return e.type === x.pound;
|
|
1362
1359
|
}
|
|
1363
1360
|
function ir(e) {
|
|
1361
|
+
return e.type === x.tag;
|
|
1362
|
+
}
|
|
1363
|
+
function or(e) {
|
|
1364
1364
|
return !!(e && typeof e == "object" && e.type === X.number);
|
|
1365
1365
|
}
|
|
1366
1366
|
function ze(e) {
|
|
1367
1367
|
return !!(e && typeof e == "object" && e.type === X.dateTime);
|
|
1368
1368
|
}
|
|
1369
|
-
var
|
|
1370
|
-
function
|
|
1369
|
+
var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kn = /(?:[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 Vn(e) {
|
|
1371
1371
|
var t = {};
|
|
1372
|
-
return e.replace(
|
|
1372
|
+
return e.replace(kn, function(r) {
|
|
1373
1373
|
var n = r.length;
|
|
1374
1374
|
switch (r[0]) {
|
|
1375
1375
|
case "G":
|
|
@@ -1468,36 +1468,36 @@ var w = function() {
|
|
|
1468
1468
|
return t;
|
|
1469
1469
|
}, w.apply(this, arguments);
|
|
1470
1470
|
};
|
|
1471
|
-
var
|
|
1472
|
-
function
|
|
1471
|
+
var Xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1472
|
+
function zn(e) {
|
|
1473
1473
|
if (e.length === 0)
|
|
1474
1474
|
throw new Error("Number skeleton cannot be empty");
|
|
1475
|
-
for (var t = e.split(
|
|
1476
|
-
return
|
|
1475
|
+
for (var t = e.split(Xn).filter(function(c) {
|
|
1476
|
+
return c.length > 0;
|
|
1477
1477
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1478
1478
|
var o = i[n], s = o.split("/");
|
|
1479
1479
|
if (s.length === 0)
|
|
1480
1480
|
throw new Error("Invalid number skeleton");
|
|
1481
1481
|
for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1482
|
-
var
|
|
1483
|
-
if (
|
|
1482
|
+
var f = h[u];
|
|
1483
|
+
if (f.length === 0)
|
|
1484
1484
|
throw new Error("Invalid number skeleton");
|
|
1485
1485
|
}
|
|
1486
1486
|
r.push({ stem: a, options: l });
|
|
1487
1487
|
}
|
|
1488
1488
|
return r;
|
|
1489
1489
|
}
|
|
1490
|
-
function
|
|
1490
|
+
function Wn(e) {
|
|
1491
1491
|
return e.replace(/^(.*?)-/, "");
|
|
1492
1492
|
}
|
|
1493
|
-
var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
1493
|
+
var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Zn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
|
|
1494
1494
|
function Et(e) {
|
|
1495
1495
|
var t = {};
|
|
1496
|
-
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(ar, function(r, n, i) {
|
|
1497
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)), "";
|
|
1498
1498
|
}), t;
|
|
1499
1499
|
}
|
|
1500
|
-
function
|
|
1500
|
+
function lr(e) {
|
|
1501
1501
|
switch (e) {
|
|
1502
1502
|
case "sign-auto":
|
|
1503
1503
|
return {
|
|
@@ -1537,7 +1537,7 @@ function ur(e) {
|
|
|
1537
1537
|
};
|
|
1538
1538
|
}
|
|
1539
1539
|
}
|
|
1540
|
-
function
|
|
1540
|
+
function Qn(e) {
|
|
1541
1541
|
var t;
|
|
1542
1542
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1543
1543
|
notation: "engineering"
|
|
@@ -1545,17 +1545,17 @@ function Zn(e) {
|
|
|
1545
1545
|
notation: "scientific"
|
|
1546
1546
|
}, e = e.slice(1)), t) {
|
|
1547
1547
|
var r = e.slice(0, 2);
|
|
1548
|
-
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)), !ur.test(e))
|
|
1549
1549
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1550
1550
|
t.minimumIntegerDigits = e.length;
|
|
1551
1551
|
}
|
|
1552
1552
|
return t;
|
|
1553
1553
|
}
|
|
1554
1554
|
function St(e) {
|
|
1555
|
-
var t = {}, r =
|
|
1555
|
+
var t = {}, r = lr(e);
|
|
1556
1556
|
return r || t;
|
|
1557
1557
|
}
|
|
1558
|
-
function
|
|
1558
|
+
function Jn(e) {
|
|
1559
1559
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1560
1560
|
var i = n[r];
|
|
1561
1561
|
switch (i.stem) {
|
|
@@ -1579,7 +1579,7 @@ function Qn(e) {
|
|
|
1579
1579
|
continue;
|
|
1580
1580
|
case "measure-unit":
|
|
1581
1581
|
case "unit":
|
|
1582
|
-
t.style = "unit", t.unit =
|
|
1582
|
+
t.style = "unit", t.unit = Wn(i.options[0]);
|
|
1583
1583
|
continue;
|
|
1584
1584
|
case "compact-short":
|
|
1585
1585
|
case "K":
|
|
@@ -1641,11 +1641,11 @@ function Qn(e) {
|
|
|
1641
1641
|
case "integer-width":
|
|
1642
1642
|
if (i.options.length > 1)
|
|
1643
1643
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1644
|
-
i.options[0].replace(
|
|
1644
|
+
i.options[0].replace(Zn, function(l, u, h, f, c, m) {
|
|
1645
1645
|
if (u)
|
|
1646
1646
|
t.minimumIntegerDigits = h.length;
|
|
1647
1647
|
else {
|
|
1648
|
-
if (
|
|
1648
|
+
if (f && c)
|
|
1649
1649
|
throw new Error("We currently do not support maximum integer digits");
|
|
1650
1650
|
if (m)
|
|
1651
1651
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1654,32 +1654,32 @@ function Qn(e) {
|
|
|
1654
1654
|
});
|
|
1655
1655
|
continue;
|
|
1656
1656
|
}
|
|
1657
|
-
if (
|
|
1657
|
+
if (ur.test(i.stem)) {
|
|
1658
1658
|
t.minimumIntegerDigits = i.stem.length;
|
|
1659
1659
|
continue;
|
|
1660
1660
|
}
|
|
1661
1661
|
if (xt.test(i.stem)) {
|
|
1662
1662
|
if (i.options.length > 1)
|
|
1663
1663
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1664
|
-
i.stem.replace(xt, function(l, u, h,
|
|
1665
|
-
return h === "*" ? t.minimumFractionDigits = u.length :
|
|
1664
|
+
i.stem.replace(xt, function(l, u, h, f, c, m) {
|
|
1665
|
+
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1666
1666
|
});
|
|
1667
1667
|
var o = i.options[0];
|
|
1668
1668
|
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Et(o)));
|
|
1669
1669
|
continue;
|
|
1670
1670
|
}
|
|
1671
|
-
if (
|
|
1671
|
+
if (ar.test(i.stem)) {
|
|
1672
1672
|
t = w(w({}, t), Et(i.stem));
|
|
1673
1673
|
continue;
|
|
1674
1674
|
}
|
|
1675
|
-
var s =
|
|
1675
|
+
var s = lr(i.stem);
|
|
1676
1676
|
s && (t = w(w({}, t), s));
|
|
1677
|
-
var a =
|
|
1677
|
+
var a = Qn(i.stem);
|
|
1678
1678
|
a && (t = w(w({}, t), a));
|
|
1679
1679
|
}
|
|
1680
1680
|
return t;
|
|
1681
1681
|
}
|
|
1682
|
-
var
|
|
1682
|
+
var he = {
|
|
1683
1683
|
"001": [
|
|
1684
1684
|
"H",
|
|
1685
1685
|
"h"
|
|
@@ -3094,13 +3094,13 @@ var ce = {
|
|
|
3094
3094
|
"h"
|
|
3095
3095
|
]
|
|
3096
3096
|
};
|
|
3097
|
-
function
|
|
3097
|
+
function qn(e, t) {
|
|
3098
3098
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3099
3099
|
var i = e.charAt(n);
|
|
3100
3100
|
if (i === "j") {
|
|
3101
3101
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3102
3102
|
o++, n++;
|
|
3103
|
-
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 = Yn(t);
|
|
3104
3104
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3105
3105
|
r += l;
|
|
3106
3106
|
for (; s-- > 0; )
|
|
@@ -3110,7 +3110,7 @@ function Jn(e, t) {
|
|
|
3110
3110
|
}
|
|
3111
3111
|
return r;
|
|
3112
3112
|
}
|
|
3113
|
-
function
|
|
3113
|
+
function Yn(e) {
|
|
3114
3114
|
var t = e.hourCycle;
|
|
3115
3115
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3116
3116
|
e.hourCycles && // @ts-ignore
|
|
@@ -3129,23 +3129,23 @@ function qn(e) {
|
|
|
3129
3129
|
}
|
|
3130
3130
|
var r = e.language, n;
|
|
3131
3131
|
r !== "root" && (n = e.maximize().region);
|
|
3132
|
-
var i =
|
|
3132
|
+
var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
|
|
3133
3133
|
return i[0];
|
|
3134
3134
|
}
|
|
3135
|
-
var Ie,
|
|
3135
|
+
var Ie, Kn = new RegExp("^".concat(sr.source, "*")), ei = new RegExp("".concat(sr.source, "*$"));
|
|
3136
3136
|
function g(e, t) {
|
|
3137
3137
|
return { start: e, end: t };
|
|
3138
3138
|
}
|
|
3139
|
-
var
|
|
3139
|
+
var ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), ri = !!String.fromCodePoint, ni = !!Object.fromEntries, ii = !!String.prototype.codePointAt, oi = !!String.prototype.trimStart, si = !!String.prototype.trimEnd, ai = !!Number.isSafeInteger, ui = ai ? Number.isSafeInteger : function(e) {
|
|
3140
3140
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3141
3141
|
}, We = !0;
|
|
3142
3142
|
try {
|
|
3143
|
-
var
|
|
3144
|
-
We = ((Ie =
|
|
3143
|
+
var li = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3144
|
+
We = ((Ie = li.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
|
|
3145
3145
|
} catch (e) {
|
|
3146
3146
|
We = !1;
|
|
3147
3147
|
}
|
|
3148
|
-
var wt =
|
|
3148
|
+
var wt = ti ? (
|
|
3149
3149
|
// Native
|
|
3150
3150
|
function(t, r, n) {
|
|
3151
3151
|
return t.startsWith(r, n);
|
|
@@ -3155,7 +3155,7 @@ var wt = ei ? (
|
|
|
3155
3155
|
function(t, r, n) {
|
|
3156
3156
|
return t.slice(n, n + r.length) === r;
|
|
3157
3157
|
}
|
|
3158
|
-
), Ze =
|
|
3158
|
+
), Ze = ri ? String.fromCodePoint : (
|
|
3159
3159
|
// IE11
|
|
3160
3160
|
function() {
|
|
3161
3161
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3169,7 +3169,7 @@ var wt = ei ? (
|
|
|
3169
3169
|
}
|
|
3170
3170
|
), Tt = (
|
|
3171
3171
|
// native
|
|
3172
|
-
|
|
3172
|
+
ni ? Object.fromEntries : (
|
|
3173
3173
|
// Ponyfill
|
|
3174
3174
|
function(t) {
|
|
3175
3175
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3179,7 +3179,7 @@ var wt = ei ? (
|
|
|
3179
3179
|
return r;
|
|
3180
3180
|
}
|
|
3181
3181
|
)
|
|
3182
|
-
),
|
|
3182
|
+
), hr = ii ? (
|
|
3183
3183
|
// Native
|
|
3184
3184
|
function(t, r) {
|
|
3185
3185
|
return t.codePointAt(r);
|
|
@@ -3193,7 +3193,7 @@ var wt = ei ? (
|
|
|
3193
3193
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3194
3194
|
}
|
|
3195
3195
|
}
|
|
3196
|
-
),
|
|
3196
|
+
), hi = oi ? (
|
|
3197
3197
|
// Native
|
|
3198
3198
|
function(t) {
|
|
3199
3199
|
return t.trimStart();
|
|
@@ -3201,9 +3201,9 @@ var wt = ei ? (
|
|
|
3201
3201
|
) : (
|
|
3202
3202
|
// Ponyfill
|
|
3203
3203
|
function(t) {
|
|
3204
|
-
return t.replace(
|
|
3204
|
+
return t.replace(Kn, "");
|
|
3205
3205
|
}
|
|
3206
|
-
),
|
|
3206
|
+
), ci = si ? (
|
|
3207
3207
|
// Native
|
|
3208
3208
|
function(t) {
|
|
3209
3209
|
return t.trimEnd();
|
|
@@ -3211,15 +3211,15 @@ var wt = ei ? (
|
|
|
3211
3211
|
) : (
|
|
3212
3212
|
// Ponyfill
|
|
3213
3213
|
function(t) {
|
|
3214
|
-
return t.replace(
|
|
3214
|
+
return t.replace(ei, "");
|
|
3215
3215
|
}
|
|
3216
3216
|
);
|
|
3217
|
-
function
|
|
3217
|
+
function cr(e, t) {
|
|
3218
3218
|
return new RegExp(e, t);
|
|
3219
3219
|
}
|
|
3220
3220
|
var Qe;
|
|
3221
3221
|
if (We) {
|
|
3222
|
-
var Ht =
|
|
3222
|
+
var Ht = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3223
3223
|
Qe = function(t, r) {
|
|
3224
3224
|
var n;
|
|
3225
3225
|
Ht.lastIndex = r;
|
|
@@ -3229,14 +3229,14 @@ if (We) {
|
|
|
3229
3229
|
} else
|
|
3230
3230
|
Qe = function(t, r) {
|
|
3231
3231
|
for (var n = []; ; ) {
|
|
3232
|
-
var i =
|
|
3233
|
-
if (i === void 0 ||
|
|
3232
|
+
var i = hr(t, r);
|
|
3233
|
+
if (i === void 0 || fr(i) || pi(i))
|
|
3234
3234
|
break;
|
|
3235
3235
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3236
3236
|
}
|
|
3237
3237
|
return Ze.apply(void 0, n);
|
|
3238
3238
|
};
|
|
3239
|
-
var
|
|
3239
|
+
var fi = (
|
|
3240
3240
|
/** @class */
|
|
3241
3241
|
function() {
|
|
3242
3242
|
function e(t, r) {
|
|
@@ -3260,7 +3260,7 @@ var ci = (
|
|
|
3260
3260
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3261
3261
|
var a = this.clonePosition();
|
|
3262
3262
|
this.bump(), i.push({
|
|
3263
|
-
type:
|
|
3263
|
+
type: x.pound,
|
|
3264
3264
|
location: g(a, this.clonePosition())
|
|
3265
3265
|
});
|
|
3266
3266
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
@@ -3288,7 +3288,7 @@ var ci = (
|
|
|
3288
3288
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3289
3289
|
return {
|
|
3290
3290
|
val: {
|
|
3291
|
-
type:
|
|
3291
|
+
type: x.literal,
|
|
3292
3292
|
value: "<".concat(i, "/>"),
|
|
3293
3293
|
location: g(n, this.clonePosition())
|
|
3294
3294
|
},
|
|
@@ -3305,7 +3305,7 @@ var ci = (
|
|
|
3305
3305
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3306
3306
|
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3307
3307
|
val: {
|
|
3308
|
-
type:
|
|
3308
|
+
type: x.tag,
|
|
3309
3309
|
value: i,
|
|
3310
3310
|
children: s,
|
|
3311
3311
|
location: g(n, this.clonePosition())
|
|
@@ -3318,7 +3318,7 @@ var ci = (
|
|
|
3318
3318
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
|
3319
3319
|
}, e.prototype.parseTagName = function() {
|
|
3320
3320
|
var t = this.offset();
|
|
3321
|
-
for (this.bump(); !this.isEOF() &&
|
|
3321
|
+
for (this.bump(); !this.isEOF() && di(this.char()); )
|
|
3322
3322
|
this.bump();
|
|
3323
3323
|
return this.message.slice(t, this.offset());
|
|
3324
3324
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3342,12 +3342,12 @@ var ci = (
|
|
|
3342
3342
|
}
|
|
3343
3343
|
var l = g(n, this.clonePosition());
|
|
3344
3344
|
return {
|
|
3345
|
-
val: { type:
|
|
3345
|
+
val: { type: x.literal, value: i, location: l },
|
|
3346
3346
|
err: null
|
|
3347
3347
|
};
|
|
3348
3348
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3349
3349
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3350
|
-
!
|
|
3350
|
+
!mi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3351
3351
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3352
3352
|
if (this.isEOF() || this.char() !== 39)
|
|
3353
3353
|
return null;
|
|
@@ -3402,7 +3402,7 @@ var ci = (
|
|
|
3402
3402
|
case 125:
|
|
3403
3403
|
return this.bump(), {
|
|
3404
3404
|
val: {
|
|
3405
|
-
type:
|
|
3405
|
+
type: x.argument,
|
|
3406
3406
|
// value does not include the opening and closing braces.
|
|
3407
3407
|
value: i,
|
|
3408
3408
|
location: g(n, this.clonePosition())
|
|
@@ -3431,49 +3431,49 @@ var ci = (
|
|
|
3431
3431
|
var u = null;
|
|
3432
3432
|
if (this.bumpIf(",")) {
|
|
3433
3433
|
this.bumpSpace();
|
|
3434
|
-
var h = this.clonePosition(),
|
|
3435
|
-
if (
|
|
3436
|
-
return
|
|
3437
|
-
var
|
|
3438
|
-
if (
|
|
3434
|
+
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3435
|
+
if (f.err)
|
|
3436
|
+
return f;
|
|
3437
|
+
var c = ci(f.val);
|
|
3438
|
+
if (c.length === 0)
|
|
3439
3439
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3440
3440
|
var m = g(h, this.clonePosition());
|
|
3441
|
-
u = { style:
|
|
3441
|
+
u = { style: c, styleLocation: m };
|
|
3442
3442
|
}
|
|
3443
|
-
var
|
|
3444
|
-
if (
|
|
3445
|
-
return
|
|
3446
|
-
var
|
|
3443
|
+
var y = this.tryParseArgumentClose(i);
|
|
3444
|
+
if (y.err)
|
|
3445
|
+
return y;
|
|
3446
|
+
var b = g(i, this.clonePosition());
|
|
3447
3447
|
if (u && wt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3448
|
-
var
|
|
3448
|
+
var H = hi(u.style.slice(2));
|
|
3449
3449
|
if (a === "number") {
|
|
3450
|
-
var
|
|
3451
|
-
return
|
|
3452
|
-
val: { type:
|
|
3450
|
+
var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
|
|
3451
|
+
return f.err ? f : {
|
|
3452
|
+
val: { type: x.number, value: n, location: b, style: f.val },
|
|
3453
3453
|
err: null
|
|
3454
3454
|
};
|
|
3455
3455
|
} else {
|
|
3456
|
-
if (
|
|
3457
|
-
return this.error(p.EXPECT_DATE_TIME_SKELETON,
|
|
3458
|
-
var
|
|
3459
|
-
this.locale && (
|
|
3460
|
-
var
|
|
3456
|
+
if (H.length === 0)
|
|
3457
|
+
return this.error(p.EXPECT_DATE_TIME_SKELETON, b);
|
|
3458
|
+
var S = H;
|
|
3459
|
+
this.locale && (S = qn(H, this.locale));
|
|
3460
|
+
var c = {
|
|
3461
3461
|
type: X.dateTime,
|
|
3462
|
-
pattern:
|
|
3462
|
+
pattern: S,
|
|
3463
3463
|
location: u.styleLocation,
|
|
3464
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3465
|
-
},
|
|
3464
|
+
parsedOptions: this.shouldParseSkeletons ? Vn(S) : {}
|
|
3465
|
+
}, A = a === "date" ? x.date : x.time;
|
|
3466
3466
|
return {
|
|
3467
|
-
val: { type:
|
|
3467
|
+
val: { type: A, value: n, location: b, style: c },
|
|
3468
3468
|
err: null
|
|
3469
3469
|
};
|
|
3470
3470
|
}
|
|
3471
3471
|
}
|
|
3472
3472
|
return {
|
|
3473
3473
|
val: {
|
|
3474
|
-
type: a === "number" ?
|
|
3474
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3475
3475
|
value: n,
|
|
3476
|
-
location:
|
|
3476
|
+
location: b,
|
|
3477
3477
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3478
3478
|
},
|
|
3479
3479
|
err: null
|
|
@@ -3484,41 +3484,41 @@ var ci = (
|
|
|
3484
3484
|
case "select": {
|
|
3485
3485
|
var _ = this.clonePosition();
|
|
3486
3486
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3487
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_,
|
|
3487
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, be({}, _)));
|
|
3488
3488
|
this.bumpSpace();
|
|
3489
|
-
var
|
|
3490
|
-
if (a !== "select" &&
|
|
3489
|
+
var E = this.parseIdentifierIfPossible(), v = 0;
|
|
3490
|
+
if (a !== "select" && E.value === "offset") {
|
|
3491
3491
|
if (!this.bumpIf(":"))
|
|
3492
3492
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3493
3493
|
this.bumpSpace();
|
|
3494
|
-
var
|
|
3495
|
-
if (
|
|
3496
|
-
return
|
|
3497
|
-
this.bumpSpace(),
|
|
3494
|
+
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3495
|
+
if (f.err)
|
|
3496
|
+
return f;
|
|
3497
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), v = f.val;
|
|
3498
3498
|
}
|
|
3499
|
-
var
|
|
3500
|
-
if (
|
|
3501
|
-
return
|
|
3502
|
-
var
|
|
3503
|
-
if (
|
|
3504
|
-
return
|
|
3505
|
-
var
|
|
3499
|
+
var B = this.tryParsePluralOrSelectOptions(t, a, r, E);
|
|
3500
|
+
if (B.err)
|
|
3501
|
+
return B;
|
|
3502
|
+
var y = this.tryParseArgumentClose(i);
|
|
3503
|
+
if (y.err)
|
|
3504
|
+
return y;
|
|
3505
|
+
var ae = g(i, this.clonePosition());
|
|
3506
3506
|
return a === "select" ? {
|
|
3507
3507
|
val: {
|
|
3508
|
-
type:
|
|
3508
|
+
type: x.select,
|
|
3509
3509
|
value: n,
|
|
3510
|
-
options: Tt(
|
|
3511
|
-
location:
|
|
3510
|
+
options: Tt(B.val),
|
|
3511
|
+
location: ae
|
|
3512
3512
|
},
|
|
3513
3513
|
err: null
|
|
3514
3514
|
} : {
|
|
3515
3515
|
val: {
|
|
3516
|
-
type:
|
|
3516
|
+
type: x.plural,
|
|
3517
3517
|
value: n,
|
|
3518
|
-
options: Tt(
|
|
3519
|
-
offset:
|
|
3518
|
+
options: Tt(B.val),
|
|
3519
|
+
offset: v,
|
|
3520
3520
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3521
|
-
location:
|
|
3521
|
+
location: ae
|
|
3522
3522
|
},
|
|
3523
3523
|
err: null
|
|
3524
3524
|
};
|
|
@@ -3566,7 +3566,7 @@ var ci = (
|
|
|
3566
3566
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3567
3567
|
var n = [];
|
|
3568
3568
|
try {
|
|
3569
|
-
n =
|
|
3569
|
+
n = zn(t);
|
|
3570
3570
|
} catch (i) {
|
|
3571
3571
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
|
3572
3572
|
}
|
|
@@ -3575,19 +3575,19 @@ var ci = (
|
|
|
3575
3575
|
type: X.number,
|
|
3576
3576
|
tokens: n,
|
|
3577
3577
|
location: r,
|
|
3578
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3578
|
+
parsedOptions: this.shouldParseSkeletons ? Jn(n) : {}
|
|
3579
3579
|
},
|
|
3580
3580
|
err: null
|
|
3581
3581
|
};
|
|
3582
3582
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3583
3583
|
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3584
3584
|
if (u.length === 0) {
|
|
3585
|
-
var
|
|
3585
|
+
var f = this.clonePosition();
|
|
3586
3586
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3587
|
-
var
|
|
3588
|
-
if (
|
|
3589
|
-
return
|
|
3590
|
-
h = g(
|
|
3587
|
+
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3588
|
+
if (c.err)
|
|
3589
|
+
return c;
|
|
3590
|
+
h = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3591
3591
|
} else
|
|
3592
3592
|
break;
|
|
3593
3593
|
}
|
|
@@ -3597,16 +3597,16 @@ var ci = (
|
|
|
3597
3597
|
var m = this.clonePosition();
|
|
3598
3598
|
if (!this.bumpIf("{"))
|
|
3599
3599
|
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3600
|
-
var
|
|
3601
|
-
if (
|
|
3602
|
-
return
|
|
3603
|
-
var
|
|
3604
|
-
if (
|
|
3605
|
-
return
|
|
3600
|
+
var y = this.parseMessage(t + 1, r, n);
|
|
3601
|
+
if (y.err)
|
|
3602
|
+
return y;
|
|
3603
|
+
var b = this.tryParseArgumentClose(m);
|
|
3604
|
+
if (b.err)
|
|
3605
|
+
return b;
|
|
3606
3606
|
a.push([
|
|
3607
3607
|
u,
|
|
3608
3608
|
{
|
|
3609
|
-
value:
|
|
3609
|
+
value: y.val,
|
|
3610
3610
|
location: g(m, this.clonePosition())
|
|
3611
3611
|
}
|
|
3612
3612
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
@@ -3623,7 +3623,7 @@ var ci = (
|
|
|
3623
3623
|
break;
|
|
3624
3624
|
}
|
|
3625
3625
|
var l = g(i, this.clonePosition());
|
|
3626
|
-
return o ? (s *= n,
|
|
3626
|
+
return o ? (s *= n, ui(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3627
3627
|
}, e.prototype.offset = function() {
|
|
3628
3628
|
return this.position.offset;
|
|
3629
3629
|
}, e.prototype.isEOF = function() {
|
|
@@ -3638,7 +3638,7 @@ var ci = (
|
|
|
3638
3638
|
var t = this.position.offset;
|
|
3639
3639
|
if (t >= this.message.length)
|
|
3640
3640
|
throw Error("out of bound");
|
|
3641
|
-
var r =
|
|
3641
|
+
var r = hr(this.message, t);
|
|
3642
3642
|
if (r === void 0)
|
|
3643
3643
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3644
3644
|
return r;
|
|
@@ -3679,7 +3679,7 @@ var ci = (
|
|
|
3679
3679
|
break;
|
|
3680
3680
|
}
|
|
3681
3681
|
}, e.prototype.bumpSpace = function() {
|
|
3682
|
-
for (; !this.isEOF() &&
|
|
3682
|
+
for (; !this.isEOF() && fr(this.char()); )
|
|
3683
3683
|
this.bump();
|
|
3684
3684
|
}, e.prototype.peek = function() {
|
|
3685
3685
|
if (this.isEOF())
|
|
@@ -3692,13 +3692,13 @@ var ci = (
|
|
|
3692
3692
|
function Je(e) {
|
|
3693
3693
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3694
3694
|
}
|
|
3695
|
-
function
|
|
3695
|
+
function mi(e) {
|
|
3696
3696
|
return Je(e) || e === 47;
|
|
3697
3697
|
}
|
|
3698
|
-
function
|
|
3698
|
+
function di(e) {
|
|
3699
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;
|
|
3700
3700
|
}
|
|
3701
|
-
function
|
|
3701
|
+
function fr(e) {
|
|
3702
3702
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3703
3703
|
}
|
|
3704
3704
|
function pi(e) {
|
|
@@ -3706,16 +3706,16 @@ function pi(e) {
|
|
|
3706
3706
|
}
|
|
3707
3707
|
function qe(e) {
|
|
3708
3708
|
e.forEach(function(t) {
|
|
3709
|
-
if (delete t.location,
|
|
3709
|
+
if (delete t.location, rr(t) || nr(t))
|
|
3710
3710
|
for (var r in t.options)
|
|
3711
3711
|
delete t.options[r].location, qe(t.options[r].value);
|
|
3712
3712
|
else
|
|
3713
|
-
|
|
3713
|
+
Kt(t) && or(t.style) || (er(t) || tr(t)) && ze(t.style) ? delete t.style.location : ir(t) && qe(t.children);
|
|
3714
3714
|
});
|
|
3715
3715
|
}
|
|
3716
|
-
function
|
|
3717
|
-
t === void 0 && (t = {}), t =
|
|
3718
|
-
var r = new
|
|
3716
|
+
function bi(e, t) {
|
|
3717
|
+
t === void 0 && (t = {}), t = be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3718
|
+
var r = new fi(e, t).parse();
|
|
3719
3719
|
if (r.err) {
|
|
3720
3720
|
var n = SyntaxError(p[r.err.kind]);
|
|
3721
3721
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3747,7 +3747,7 @@ var Se = (
|
|
|
3747
3747
|
}
|
|
3748
3748
|
return t;
|
|
3749
3749
|
}(Se)
|
|
3750
|
-
),
|
|
3750
|
+
), gi = (
|
|
3751
3751
|
/** @class */
|
|
3752
3752
|
function(e) {
|
|
3753
3753
|
Ee(t, e);
|
|
@@ -3756,7 +3756,7 @@ var Se = (
|
|
|
3756
3756
|
}
|
|
3757
3757
|
return t;
|
|
3758
3758
|
}(Se)
|
|
3759
|
-
),
|
|
3759
|
+
), vi = (
|
|
3760
3760
|
/** @class */
|
|
3761
3761
|
function(e) {
|
|
3762
3762
|
Ee(t, e);
|
|
@@ -3765,24 +3765,24 @@ var Se = (
|
|
|
3765
3765
|
}
|
|
3766
3766
|
return t;
|
|
3767
3767
|
}(Se)
|
|
3768
|
-
),
|
|
3768
|
+
), P;
|
|
3769
3769
|
(function(e) {
|
|
3770
3770
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3771
|
-
})(
|
|
3772
|
-
function
|
|
3771
|
+
})(P || (P = {}));
|
|
3772
|
+
function yi(e) {
|
|
3773
3773
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3774
3774
|
var n = t[t.length - 1];
|
|
3775
|
-
return !n || n.type !==
|
|
3775
|
+
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3776
3776
|
}, []);
|
|
3777
3777
|
}
|
|
3778
|
-
function
|
|
3778
|
+
function _i(e) {
|
|
3779
3779
|
return typeof e == "function";
|
|
3780
3780
|
}
|
|
3781
3781
|
function de(e, t, r, n, i, o, s) {
|
|
3782
3782
|
if (e.length === 1 && _t(e[0]))
|
|
3783
3783
|
return [
|
|
3784
3784
|
{
|
|
3785
|
-
type:
|
|
3785
|
+
type: P.literal,
|
|
3786
3786
|
value: e[0].value
|
|
3787
3787
|
}
|
|
3788
3788
|
];
|
|
@@ -3790,103 +3790,103 @@ function de(e, t, r, n, i, o, s) {
|
|
|
3790
3790
|
var h = u[l];
|
|
3791
3791
|
if (_t(h)) {
|
|
3792
3792
|
a.push({
|
|
3793
|
-
type:
|
|
3793
|
+
type: P.literal,
|
|
3794
3794
|
value: h.value
|
|
3795
3795
|
});
|
|
3796
3796
|
continue;
|
|
3797
3797
|
}
|
|
3798
|
-
if (
|
|
3798
|
+
if (jn(h)) {
|
|
3799
3799
|
typeof o == "number" && a.push({
|
|
3800
|
-
type:
|
|
3800
|
+
type: P.literal,
|
|
3801
3801
|
value: r.getNumberFormat(t).format(o)
|
|
3802
3802
|
});
|
|
3803
3803
|
continue;
|
|
3804
3804
|
}
|
|
3805
|
-
var
|
|
3806
|
-
if (!(i &&
|
|
3807
|
-
throw new
|
|
3808
|
-
var
|
|
3809
|
-
if (
|
|
3810
|
-
(!
|
|
3811
|
-
type: typeof
|
|
3812
|
-
value:
|
|
3805
|
+
var f = h.value;
|
|
3806
|
+
if (!(i && f in i))
|
|
3807
|
+
throw new vi(f, s);
|
|
3808
|
+
var c = i[f];
|
|
3809
|
+
if (Fn(h)) {
|
|
3810
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3811
|
+
type: typeof c == "string" ? P.literal : P.object,
|
|
3812
|
+
value: c
|
|
3813
3813
|
});
|
|
3814
3814
|
continue;
|
|
3815
3815
|
}
|
|
3816
|
-
if (
|
|
3816
|
+
if (er(h)) {
|
|
3817
3817
|
var m = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
|
|
3818
3818
|
a.push({
|
|
3819
|
-
type:
|
|
3820
|
-
value: r.getDateTimeFormat(t, m).format(
|
|
3819
|
+
type: P.literal,
|
|
3820
|
+
value: r.getDateTimeFormat(t, m).format(c)
|
|
3821
3821
|
});
|
|
3822
3822
|
continue;
|
|
3823
3823
|
}
|
|
3824
|
-
if (
|
|
3824
|
+
if (tr(h)) {
|
|
3825
3825
|
var m = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3826
3826
|
a.push({
|
|
3827
|
-
type:
|
|
3828
|
-
value: r.getDateTimeFormat(t, m).format(
|
|
3827
|
+
type: P.literal,
|
|
3828
|
+
value: r.getDateTimeFormat(t, m).format(c)
|
|
3829
3829
|
});
|
|
3830
3830
|
continue;
|
|
3831
3831
|
}
|
|
3832
|
-
if (
|
|
3833
|
-
var m = typeof h.style == "string" ? n.number[h.style] :
|
|
3834
|
-
m && m.scale && (
|
|
3835
|
-
type:
|
|
3836
|
-
value: r.getNumberFormat(t, m).format(
|
|
3832
|
+
if (Kt(h)) {
|
|
3833
|
+
var m = typeof h.style == "string" ? n.number[h.style] : or(h.style) ? h.style.parsedOptions : void 0;
|
|
3834
|
+
m && m.scale && (c = c * (m.scale || 1)), a.push({
|
|
3835
|
+
type: P.literal,
|
|
3836
|
+
value: r.getNumberFormat(t, m).format(c)
|
|
3837
3837
|
});
|
|
3838
3838
|
continue;
|
|
3839
3839
|
}
|
|
3840
|
-
if (
|
|
3841
|
-
var
|
|
3842
|
-
if (!
|
|
3843
|
-
throw new
|
|
3844
|
-
var
|
|
3845
|
-
return
|
|
3840
|
+
if (ir(h)) {
|
|
3841
|
+
var y = h.children, b = h.value, H = i[b];
|
|
3842
|
+
if (!_i(H))
|
|
3843
|
+
throw new gi(b, "function", s);
|
|
3844
|
+
var S = de(y, t, r, n, i, o), A = H(S.map(function(v) {
|
|
3845
|
+
return v.value;
|
|
3846
3846
|
}));
|
|
3847
|
-
Array.isArray(
|
|
3847
|
+
Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(v) {
|
|
3848
3848
|
return {
|
|
3849
|
-
type: typeof
|
|
3850
|
-
value:
|
|
3849
|
+
type: typeof v == "string" ? P.literal : P.object,
|
|
3850
|
+
value: v
|
|
3851
3851
|
};
|
|
3852
3852
|
}));
|
|
3853
3853
|
}
|
|
3854
|
-
if (
|
|
3855
|
-
var _ = h.options[
|
|
3854
|
+
if (rr(h)) {
|
|
3855
|
+
var _ = h.options[c] || h.options.other;
|
|
3856
3856
|
if (!_)
|
|
3857
|
-
throw new At(h.value,
|
|
3857
|
+
throw new At(h.value, c, Object.keys(h.options), s);
|
|
3858
3858
|
a.push.apply(a, de(_.value, t, r, n, i));
|
|
3859
3859
|
continue;
|
|
3860
3860
|
}
|
|
3861
|
-
if (
|
|
3862
|
-
var _ = h.options["=".concat(
|
|
3861
|
+
if (nr(h)) {
|
|
3862
|
+
var _ = h.options["=".concat(c)];
|
|
3863
3863
|
if (!_) {
|
|
3864
3864
|
if (!Intl.PluralRules)
|
|
3865
3865
|
throw new Se(`Intl.PluralRules is not available in this environment.
|
|
3866
3866
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3867
3867
|
`, z.MISSING_INTL_API, s);
|
|
3868
|
-
var
|
|
3869
|
-
_ = h.options[
|
|
3868
|
+
var E = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3869
|
+
_ = h.options[E] || h.options.other;
|
|
3870
3870
|
}
|
|
3871
3871
|
if (!_)
|
|
3872
|
-
throw new At(h.value,
|
|
3873
|
-
a.push.apply(a, de(_.value, t, r, n, i,
|
|
3872
|
+
throw new At(h.value, c, Object.keys(h.options), s);
|
|
3873
|
+
a.push.apply(a, de(_.value, t, r, n, i, c - (h.offset || 0)));
|
|
3874
3874
|
continue;
|
|
3875
3875
|
}
|
|
3876
3876
|
}
|
|
3877
|
-
return
|
|
3877
|
+
return yi(a);
|
|
3878
3878
|
}
|
|
3879
|
-
function
|
|
3880
|
-
return t ?
|
|
3881
|
-
return r[n] =
|
|
3879
|
+
function xi(e, t) {
|
|
3880
|
+
return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3881
|
+
return r[n] = M(M({}, e[n]), t[n] || {}), r;
|
|
3882
3882
|
}, {})) : e;
|
|
3883
3883
|
}
|
|
3884
|
-
function
|
|
3884
|
+
function Ei(e, t) {
|
|
3885
3885
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3886
|
-
return r[n] =
|
|
3887
|
-
},
|
|
3886
|
+
return r[n] = xi(e[n], t[n]), r;
|
|
3887
|
+
}, M({}, e)) : e;
|
|
3888
3888
|
}
|
|
3889
|
-
function
|
|
3889
|
+
function Ne(e) {
|
|
3890
3890
|
return {
|
|
3891
3891
|
create: function() {
|
|
3892
3892
|
return {
|
|
@@ -3900,7 +3900,7 @@ function Me(e) {
|
|
|
3900
3900
|
}
|
|
3901
3901
|
};
|
|
3902
3902
|
}
|
|
3903
|
-
function
|
|
3903
|
+
function Si(e) {
|
|
3904
3904
|
return e === void 0 && (e = {
|
|
3905
3905
|
number: {},
|
|
3906
3906
|
dateTime: {},
|
|
@@ -3911,7 +3911,7 @@ function Ei(e) {
|
|
|
3911
3911
|
r[n] = arguments[n];
|
|
3912
3912
|
return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3913
3913
|
}, {
|
|
3914
|
-
cache:
|
|
3914
|
+
cache: Ne(e.number),
|
|
3915
3915
|
strategy: Oe.variadic
|
|
3916
3916
|
}),
|
|
3917
3917
|
getDateTimeFormat: Pe(function() {
|
|
@@ -3919,7 +3919,7 @@ function Ei(e) {
|
|
|
3919
3919
|
r[n] = arguments[n];
|
|
3920
3920
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3921
3921
|
}, {
|
|
3922
|
-
cache:
|
|
3922
|
+
cache: Ne(e.dateTime),
|
|
3923
3923
|
strategy: Oe.variadic
|
|
3924
3924
|
}),
|
|
3925
3925
|
getPluralRules: Pe(function() {
|
|
@@ -3927,12 +3927,12 @@ function Ei(e) {
|
|
|
3927
3927
|
r[n] = arguments[n];
|
|
3928
3928
|
return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3929
3929
|
}, {
|
|
3930
|
-
cache:
|
|
3930
|
+
cache: Ne(e.pluralRules),
|
|
3931
3931
|
strategy: Oe.variadic
|
|
3932
3932
|
})
|
|
3933
3933
|
};
|
|
3934
3934
|
}
|
|
3935
|
-
var
|
|
3935
|
+
var wi = (
|
|
3936
3936
|
/** @class */
|
|
3937
3937
|
function() {
|
|
3938
3938
|
function e(t, r, n, i) {
|
|
@@ -3946,8 +3946,8 @@ var Si = (
|
|
|
3946
3946
|
var u = o.formatToParts(l);
|
|
3947
3947
|
if (u.length === 1)
|
|
3948
3948
|
return u[0].value;
|
|
3949
|
-
var h = u.reduce(function(
|
|
3950
|
-
return !
|
|
3949
|
+
var h = u.reduce(function(f, c) {
|
|
3950
|
+
return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3951
3951
|
}, []);
|
|
3952
3952
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3953
3953
|
}, this.formatToParts = function(l) {
|
|
@@ -3964,13 +3964,13 @@ var Si = (
|
|
|
3964
3964
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3965
3965
|
var s = i || {};
|
|
3966
3966
|
s.formatters;
|
|
3967
|
-
var a =
|
|
3968
|
-
this.ast = e.__parse(t,
|
|
3967
|
+
var a = Nn(s, ["formatters"]);
|
|
3968
|
+
this.ast = e.__parse(t, M(M({}, a), { locale: this.resolvedLocale }));
|
|
3969
3969
|
} else
|
|
3970
3970
|
this.ast = t;
|
|
3971
3971
|
if (!Array.isArray(this.ast))
|
|
3972
3972
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3973
|
-
this.formats =
|
|
3973
|
+
this.formats = Ei(e.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
|
|
3974
3974
|
}
|
|
3975
3975
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3976
3976
|
get: function() {
|
|
@@ -3983,7 +3983,7 @@ var Si = (
|
|
|
3983
3983
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3984
3984
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3985
3985
|
}
|
|
3986
|
-
}, e.__parse =
|
|
3986
|
+
}, e.__parse = bi, e.formats = {
|
|
3987
3987
|
number: {
|
|
3988
3988
|
integer: {
|
|
3989
3989
|
maximumFractionDigits: 0
|
|
@@ -4044,7 +4044,7 @@ var Si = (
|
|
|
4044
4044
|
}, e;
|
|
4045
4045
|
}()
|
|
4046
4046
|
);
|
|
4047
|
-
function
|
|
4047
|
+
function Ti(e, t) {
|
|
4048
4048
|
if (t == null)
|
|
4049
4049
|
return;
|
|
4050
4050
|
if (t in e)
|
|
@@ -4065,60 +4065,60 @@ function wi(e, t) {
|
|
|
4065
4065
|
n = void 0;
|
|
4066
4066
|
return n;
|
|
4067
4067
|
}
|
|
4068
|
-
const $ = {},
|
|
4068
|
+
const $ = {}, Hi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), mr = (e, t) => {
|
|
4069
4069
|
if (t == null)
|
|
4070
4070
|
return;
|
|
4071
4071
|
if (t in $ && e in $[t])
|
|
4072
4072
|
return $[t][e];
|
|
4073
4073
|
const r = we(t);
|
|
4074
4074
|
for (let n = 0; n < r.length; n++) {
|
|
4075
|
-
const i = r[n], o =
|
|
4075
|
+
const i = r[n], o = Bi(i, e);
|
|
4076
4076
|
if (o)
|
|
4077
|
-
return
|
|
4077
|
+
return Hi(e, t, o);
|
|
4078
4078
|
}
|
|
4079
4079
|
};
|
|
4080
4080
|
let rt;
|
|
4081
|
-
const
|
|
4082
|
-
function
|
|
4081
|
+
const se = xe({});
|
|
4082
|
+
function Ai(e) {
|
|
4083
4083
|
return rt[e] || null;
|
|
4084
4084
|
}
|
|
4085
|
-
function
|
|
4085
|
+
function dr(e) {
|
|
4086
4086
|
return e in rt;
|
|
4087
4087
|
}
|
|
4088
|
-
function
|
|
4089
|
-
if (!
|
|
4088
|
+
function Bi(e, t) {
|
|
4089
|
+
if (!dr(e))
|
|
4090
4090
|
return null;
|
|
4091
|
-
const r =
|
|
4092
|
-
return
|
|
4091
|
+
const r = Ai(e);
|
|
4092
|
+
return Ti(r, t);
|
|
4093
4093
|
}
|
|
4094
|
-
function
|
|
4094
|
+
function Ci(e) {
|
|
4095
4095
|
if (e == null)
|
|
4096
4096
|
return;
|
|
4097
4097
|
const t = we(e);
|
|
4098
4098
|
for (let r = 0; r < t.length; r++) {
|
|
4099
4099
|
const n = t[r];
|
|
4100
|
-
if (
|
|
4100
|
+
if (dr(n))
|
|
4101
4101
|
return n;
|
|
4102
4102
|
}
|
|
4103
4103
|
}
|
|
4104
4104
|
function pr(e, ...t) {
|
|
4105
|
-
delete $[e],
|
|
4105
|
+
delete $[e], se.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
|
|
4106
4106
|
}
|
|
4107
4107
|
J(
|
|
4108
|
-
[
|
|
4108
|
+
[se],
|
|
4109
4109
|
([e]) => Object.keys(e)
|
|
4110
4110
|
);
|
|
4111
|
-
|
|
4112
|
-
const
|
|
4113
|
-
function
|
|
4114
|
-
|
|
4111
|
+
se.subscribe((e) => rt = e);
|
|
4112
|
+
const pe = {};
|
|
4113
|
+
function Pi(e, t) {
|
|
4114
|
+
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
4115
4115
|
}
|
|
4116
|
-
function
|
|
4117
|
-
return
|
|
4116
|
+
function br(e) {
|
|
4117
|
+
return pe[e];
|
|
4118
4118
|
}
|
|
4119
|
-
function
|
|
4119
|
+
function Oi(e) {
|
|
4120
4120
|
return we(e).map((t) => {
|
|
4121
|
-
const r =
|
|
4121
|
+
const r = br(t);
|
|
4122
4122
|
return [t, r ? [...r] : []];
|
|
4123
4123
|
}).filter(([, t]) => t.length > 0);
|
|
4124
4124
|
}
|
|
@@ -4126,31 +4126,31 @@ function Ye(e) {
|
|
|
4126
4126
|
return e == null ? !1 : we(e).some(
|
|
4127
4127
|
(t) => {
|
|
4128
4128
|
var r;
|
|
4129
|
-
return (r =
|
|
4129
|
+
return (r = br(t)) == null ? void 0 : r.size;
|
|
4130
4130
|
}
|
|
4131
4131
|
);
|
|
4132
4132
|
}
|
|
4133
|
-
function
|
|
4133
|
+
function Ii(e, t) {
|
|
4134
4134
|
return Promise.all(
|
|
4135
|
-
t.map((n) => (
|
|
4135
|
+
t.map((n) => (Pi(e, n), n().then((i) => i.default || i)))
|
|
4136
4136
|
).then((n) => pr(e, ...n));
|
|
4137
4137
|
}
|
|
4138
4138
|
const K = {};
|
|
4139
|
-
function
|
|
4139
|
+
function gr(e) {
|
|
4140
4140
|
if (!Ye(e))
|
|
4141
4141
|
return e in K ? K[e] : Promise.resolve();
|
|
4142
|
-
const t =
|
|
4142
|
+
const t = Oi(e);
|
|
4143
4143
|
return K[e] = Promise.all(
|
|
4144
4144
|
t.map(
|
|
4145
|
-
([r, n]) =>
|
|
4145
|
+
([r, n]) => Ii(r, n)
|
|
4146
4146
|
)
|
|
4147
4147
|
).then(() => {
|
|
4148
4148
|
if (Ye(e))
|
|
4149
|
-
return
|
|
4149
|
+
return gr(e);
|
|
4150
4150
|
delete K[e];
|
|
4151
4151
|
}), K[e];
|
|
4152
4152
|
}
|
|
4153
|
-
const
|
|
4153
|
+
const Ni = {
|
|
4154
4154
|
number: {
|
|
4155
4155
|
scientific: { notation: "scientific" },
|
|
4156
4156
|
engineering: { notation: "engineering" },
|
|
@@ -4182,25 +4182,25 @@ const Ii = {
|
|
|
4182
4182
|
}, Mi = {
|
|
4183
4183
|
fallbackLocale: null,
|
|
4184
4184
|
loadingDelay: 200,
|
|
4185
|
-
formats:
|
|
4185
|
+
formats: Ni,
|
|
4186
4186
|
warnOnMissingMessages: !0,
|
|
4187
4187
|
handleMissingMessage: void 0,
|
|
4188
4188
|
ignoreTag: !0
|
|
4189
|
-
},
|
|
4189
|
+
}, Li = Mi;
|
|
4190
4190
|
function W() {
|
|
4191
|
-
return
|
|
4191
|
+
return Li;
|
|
4192
4192
|
}
|
|
4193
|
-
const
|
|
4194
|
-
var
|
|
4193
|
+
const Me = xe(!1);
|
|
4194
|
+
var Ri = Object.defineProperty, $i = Object.defineProperties, Gi = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fi = (e, t) => {
|
|
4195
4195
|
for (var r in t || (t = {}))
|
|
4196
|
-
|
|
4196
|
+
Ui.call(t, r) && Ct(e, r, t[r]);
|
|
4197
4197
|
if (Bt)
|
|
4198
4198
|
for (var r of Bt(t))
|
|
4199
|
-
|
|
4199
|
+
Di.call(t, r) && Ct(e, r, t[r]);
|
|
4200
4200
|
return e;
|
|
4201
|
-
},
|
|
4201
|
+
}, ji = (e, t) => $i(e, Gi(t));
|
|
4202
4202
|
let Ke;
|
|
4203
|
-
const
|
|
4203
|
+
const ge = xe(null);
|
|
4204
4204
|
function Pt(e) {
|
|
4205
4205
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4206
4206
|
}
|
|
@@ -4211,25 +4211,25 @@ function we(e, t = W().fallbackLocale) {
|
|
|
4211
4211
|
function G() {
|
|
4212
4212
|
return Ke != null ? Ke : void 0;
|
|
4213
4213
|
}
|
|
4214
|
-
|
|
4214
|
+
ge.subscribe((e) => {
|
|
4215
4215
|
Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4216
4216
|
});
|
|
4217
|
-
const
|
|
4218
|
-
if (e &&
|
|
4217
|
+
const ki = (e) => {
|
|
4218
|
+
if (e && Ci(e) && Ye(e)) {
|
|
4219
4219
|
const { loadingDelay: t } = W();
|
|
4220
4220
|
let r;
|
|
4221
4221
|
return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
|
|
4222
|
-
() =>
|
|
4222
|
+
() => Me.set(!0),
|
|
4223
4223
|
t
|
|
4224
|
-
) :
|
|
4225
|
-
|
|
4224
|
+
) : Me.set(!0), gr(e).then(() => {
|
|
4225
|
+
ge.set(e);
|
|
4226
4226
|
}).finally(() => {
|
|
4227
|
-
clearTimeout(r),
|
|
4227
|
+
clearTimeout(r), Me.set(!1);
|
|
4228
4228
|
});
|
|
4229
4229
|
}
|
|
4230
|
-
return
|
|
4231
|
-
}, q = Fi(
|
|
4232
|
-
set:
|
|
4230
|
+
return ge.set(e);
|
|
4231
|
+
}, q = ji(Fi({}, ge), {
|
|
4232
|
+
set: ki
|
|
4233
4233
|
}), Te = (e) => {
|
|
4234
4234
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4235
4235
|
return (n) => {
|
|
@@ -4237,20 +4237,20 @@ const ji = (e) => {
|
|
|
4237
4237
|
return i in t ? t[i] : t[i] = e(n);
|
|
4238
4238
|
};
|
|
4239
4239
|
};
|
|
4240
|
-
var
|
|
4240
|
+
var Vi = Object.defineProperty, ve = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
|
4241
4241
|
for (var r in t || (t = {}))
|
|
4242
|
-
|
|
4243
|
-
if (
|
|
4244
|
-
for (var r of
|
|
4245
|
-
|
|
4242
|
+
vr.call(t, r) && Ot(e, r, t[r]);
|
|
4243
|
+
if (ve)
|
|
4244
|
+
for (var r of ve(t))
|
|
4245
|
+
yr.call(t, r) && Ot(e, r, t[r]);
|
|
4246
4246
|
return e;
|
|
4247
4247
|
}, Y = (e, t) => {
|
|
4248
4248
|
var r = {};
|
|
4249
4249
|
for (var n in e)
|
|
4250
|
-
|
|
4251
|
-
if (e != null &&
|
|
4252
|
-
for (var n of
|
|
4253
|
-
t.indexOf(n) < 0 &&
|
|
4250
|
+
vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4251
|
+
if (e != null && ve)
|
|
4252
|
+
for (var n of ve(e))
|
|
4253
|
+
t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
|
|
4254
4254
|
return r;
|
|
4255
4255
|
};
|
|
4256
4256
|
const ne = (e, t) => {
|
|
@@ -4258,21 +4258,21 @@ const ne = (e, t) => {
|
|
|
4258
4258
|
if (e in r && t in r[e])
|
|
4259
4259
|
return r[e][t];
|
|
4260
4260
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4261
|
-
},
|
|
4261
|
+
}, Xi = Te(
|
|
4262
4262
|
(e) => {
|
|
4263
4263
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4264
4264
|
if (r == null)
|
|
4265
4265
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4266
4266
|
return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
|
|
4267
4267
|
}
|
|
4268
|
-
),
|
|
4268
|
+
), zi = Te(
|
|
4269
4269
|
(e) => {
|
|
4270
4270
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4271
4271
|
if (r == null)
|
|
4272
4272
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4273
4273
|
return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4274
4274
|
}
|
|
4275
|
-
),
|
|
4275
|
+
), Wi = Te(
|
|
4276
4276
|
(e) => {
|
|
4277
4277
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4278
4278
|
if (r == null)
|
|
@@ -4281,33 +4281,33 @@ const ne = (e, t) => {
|
|
|
4281
4281
|
);
|
|
4282
4282
|
return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4283
4283
|
}
|
|
4284
|
-
),
|
|
4284
|
+
), Zi = (e = {}) => {
|
|
4285
4285
|
var t = e, {
|
|
4286
4286
|
locale: r = G()
|
|
4287
4287
|
} = t, n = Y(t, [
|
|
4288
4288
|
"locale"
|
|
4289
4289
|
]);
|
|
4290
|
-
return
|
|
4291
|
-
},
|
|
4290
|
+
return Xi(nt({ locale: r }, n));
|
|
4291
|
+
}, Qi = (e = {}) => {
|
|
4292
4292
|
var t = e, {
|
|
4293
4293
|
locale: r = G()
|
|
4294
4294
|
} = t, n = Y(t, [
|
|
4295
4295
|
"locale"
|
|
4296
4296
|
]);
|
|
4297
|
-
return
|
|
4298
|
-
},
|
|
4297
|
+
return zi(nt({ locale: r }, n));
|
|
4298
|
+
}, Ji = (e = {}) => {
|
|
4299
4299
|
var t = e, {
|
|
4300
4300
|
locale: r = G()
|
|
4301
4301
|
} = t, n = Y(t, [
|
|
4302
4302
|
"locale"
|
|
4303
4303
|
]);
|
|
4304
|
-
return
|
|
4305
|
-
},
|
|
4304
|
+
return Wi(nt({ locale: r }, n));
|
|
4305
|
+
}, qi = Te(
|
|
4306
4306
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4307
|
-
(e, t = G()) => new
|
|
4307
|
+
(e, t = G()) => new wi(e, t, W().formats, {
|
|
4308
4308
|
ignoreTag: W().ignoreTag
|
|
4309
4309
|
})
|
|
4310
|
-
),
|
|
4310
|
+
), Yi = (e, t = {}) => {
|
|
4311
4311
|
var r, n, i, o;
|
|
4312
4312
|
let s = t;
|
|
4313
4313
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4320,7 +4320,7 @@ const ne = (e, t) => {
|
|
|
4320
4320
|
throw new Error(
|
|
4321
4321
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4322
4322
|
);
|
|
4323
|
-
let h =
|
|
4323
|
+
let h = mr(e, l);
|
|
4324
4324
|
if (!h)
|
|
4325
4325
|
h = (o = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4326
4326
|
else if (typeof h != "string")
|
|
@@ -4329,31 +4329,31 @@ const ne = (e, t) => {
|
|
|
4329
4329
|
), h;
|
|
4330
4330
|
if (!a)
|
|
4331
4331
|
return h;
|
|
4332
|
-
let
|
|
4332
|
+
let f = h;
|
|
4333
4333
|
try {
|
|
4334
|
-
|
|
4335
|
-
} catch (
|
|
4336
|
-
|
|
4334
|
+
f = qi(h, l).format(a);
|
|
4335
|
+
} catch (c) {
|
|
4336
|
+
c instanceof Error && console.warn(
|
|
4337
4337
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4338
|
-
|
|
4338
|
+
c.message
|
|
4339
4339
|
);
|
|
4340
4340
|
}
|
|
4341
|
-
return
|
|
4342
|
-
},
|
|
4343
|
-
J([q], () => Yi);
|
|
4341
|
+
return f;
|
|
4342
|
+
}, Ki = (e, t) => Ji(t).format(e), eo = (e, t) => Qi(t).format(e), to = (e, t) => Zi(t).format(e), ro = (e, t = G()) => mr(e, t), no = J([q, se], () => Yi);
|
|
4344
4343
|
J([q], () => Ki);
|
|
4345
4344
|
J([q], () => eo);
|
|
4346
|
-
J([q
|
|
4347
|
-
|
|
4348
|
-
|
|
4345
|
+
J([q], () => to);
|
|
4346
|
+
J([q, se], () => ro);
|
|
4347
|
+
window.emWidgets = { topic: bn };
|
|
4348
|
+
const io = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4349
4349
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4350
|
-
function
|
|
4350
|
+
function oo(e, t) {
|
|
4351
4351
|
if (e) {
|
|
4352
4352
|
const r = document.createElement("style");
|
|
4353
4353
|
r.innerHTML = t, e.appendChild(r);
|
|
4354
4354
|
}
|
|
4355
4355
|
}
|
|
4356
|
-
function
|
|
4356
|
+
function so(e, t) {
|
|
4357
4357
|
if (!e || !t)
|
|
4358
4358
|
return;
|
|
4359
4359
|
const r = new URL(t);
|
|
@@ -4364,7 +4364,7 @@ function oo(e, t) {
|
|
|
4364
4364
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4365
4365
|
});
|
|
4366
4366
|
}
|
|
4367
|
-
function
|
|
4367
|
+
function ao(e, t, r) {
|
|
4368
4368
|
if (window.emMessageBus) {
|
|
4369
4369
|
const n = document.createElement("style");
|
|
4370
4370
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4375,10 +4375,10 @@ function so(e, t, r) {
|
|
|
4375
4375
|
function It(e, t) {
|
|
4376
4376
|
pr(e, t);
|
|
4377
4377
|
}
|
|
4378
|
-
function
|
|
4378
|
+
function uo(e) {
|
|
4379
4379
|
q.set(e);
|
|
4380
4380
|
}
|
|
4381
|
-
const
|
|
4381
|
+
const Nt = {
|
|
4382
4382
|
en: {
|
|
4383
4383
|
cancel: "Cancel",
|
|
4384
4384
|
confirm: "Confirm"
|
|
@@ -4424,18 +4424,18 @@ const Mt = {
|
|
|
4424
4424
|
confirm: "Confirm"
|
|
4425
4425
|
}
|
|
4426
4426
|
};
|
|
4427
|
-
function
|
|
4428
|
-
|
|
4427
|
+
function lo(e) {
|
|
4428
|
+
Rr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
4429
4429
|
}
|
|
4430
|
-
const
|
|
4431
|
-
function
|
|
4430
|
+
const ho = (e) => ({}), Mt = (e) => ({});
|
|
4431
|
+
function co(e) {
|
|
4432
4432
|
let t, r;
|
|
4433
4433
|
return {
|
|
4434
4434
|
c() {
|
|
4435
4435
|
t = ht("svg"), r = ht("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4436
4436
|
},
|
|
4437
4437
|
m(n, i) {
|
|
4438
|
-
ie(n, t, i),
|
|
4438
|
+
ie(n, t, i), C(t, r);
|
|
4439
4439
|
},
|
|
4440
4440
|
p: L,
|
|
4441
4441
|
d(n) {
|
|
@@ -4447,13 +4447,13 @@ function Lt(e) {
|
|
|
4447
4447
|
let t, r, n;
|
|
4448
4448
|
return {
|
|
4449
4449
|
c() {
|
|
4450
|
-
t =
|
|
4450
|
+
t = N("div"), r = N("h2"), n = ye(
|
|
4451
4451
|
/*modaltitle*/
|
|
4452
4452
|
e[1]
|
|
4453
4453
|
), T(t, "class", "GeneralConfirmationTitle");
|
|
4454
4454
|
},
|
|
4455
4455
|
m(i, o) {
|
|
4456
|
-
ie(i, t, o),
|
|
4456
|
+
ie(i, t, o), C(t, r), C(r, n);
|
|
4457
4457
|
},
|
|
4458
4458
|
p(i, o) {
|
|
4459
4459
|
o & /*modaltitle*/
|
|
@@ -4475,14 +4475,14 @@ function Rt(e) {
|
|
|
4475
4475
|
), n, i, o;
|
|
4476
4476
|
return {
|
|
4477
4477
|
c() {
|
|
4478
|
-
t =
|
|
4478
|
+
t = N("button"), n = ye(r), T(t, "class", "GeneralCancelButton");
|
|
4479
4479
|
},
|
|
4480
4480
|
m(s, a) {
|
|
4481
|
-
ie(s, t, a),
|
|
4481
|
+
ie(s, t, a), C(t, n), i || (o = Le(
|
|
4482
4482
|
t,
|
|
4483
4483
|
"click",
|
|
4484
4484
|
/*click_handler*/
|
|
4485
|
-
e[
|
|
4485
|
+
e[18]
|
|
4486
4486
|
), i = !0);
|
|
4487
4487
|
},
|
|
4488
4488
|
p(s, a) {
|
|
@@ -4495,38 +4495,38 @@ function Rt(e) {
|
|
|
4495
4495
|
}
|
|
4496
4496
|
};
|
|
4497
4497
|
}
|
|
4498
|
-
function
|
|
4499
|
-
let t, r, n, i, o, s, a, l, u, h,
|
|
4498
|
+
function fo(e) {
|
|
4499
|
+
let t, r, n, i, o, s, a, l, u, h, f = (
|
|
4500
4500
|
/*$_*/
|
|
4501
4501
|
e[4]("confirm") + ""
|
|
4502
|
-
),
|
|
4503
|
-
const
|
|
4502
|
+
), c, m, y, b;
|
|
4503
|
+
const H = (
|
|
4504
4504
|
/*#slots*/
|
|
4505
|
-
e[
|
|
4506
|
-
),
|
|
4507
|
-
|
|
4505
|
+
e[17].close
|
|
4506
|
+
), S = Ir(
|
|
4507
|
+
H,
|
|
4508
4508
|
e,
|
|
4509
4509
|
/*$$scope*/
|
|
4510
|
-
e[
|
|
4511
|
-
|
|
4512
|
-
),
|
|
4510
|
+
e[16],
|
|
4511
|
+
Mt
|
|
4512
|
+
), A = S || co();
|
|
4513
4513
|
let _ = (
|
|
4514
4514
|
/*modaltitle*/
|
|
4515
4515
|
e[1] && Lt(e)
|
|
4516
|
-
),
|
|
4516
|
+
), E = (
|
|
4517
4517
|
/*hascancelbutton*/
|
|
4518
4518
|
e[2] && Rt(e)
|
|
4519
4519
|
);
|
|
4520
4520
|
return {
|
|
4521
4521
|
c() {
|
|
4522
|
-
t =
|
|
4522
|
+
t = N("div"), r = N("div"), n = N("span"), A && A.c(), i = ue(), _ && _.c(), o = ue(), s = N("div"), a = ue(), l = N("div"), E && E.c(), u = ue(), h = N("button"), c = ye(f), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4523
4523
|
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4524
4524
|
(e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4525
4525
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4526
4526
|
},
|
|
4527
|
-
m(
|
|
4528
|
-
ie(
|
|
4529
|
-
e[0],
|
|
4527
|
+
m(v, B) {
|
|
4528
|
+
ie(v, t, B), C(t, r), C(r, n), A && A.m(n, null), C(r, i), _ && _.m(r, null), C(r, o), C(r, s), s.innerHTML = /*modaltext*/
|
|
4529
|
+
e[0], C(r, a), C(r, l), E && E.m(l, null), C(l, u), C(l, h), C(h, c), e[20](t), m = !0, y || (b = [
|
|
4530
4530
|
Le(
|
|
4531
4531
|
n,
|
|
4532
4532
|
"click",
|
|
@@ -4537,58 +4537,66 @@ function co(e) {
|
|
|
4537
4537
|
h,
|
|
4538
4538
|
"click",
|
|
4539
4539
|
/*click_handler_1*/
|
|
4540
|
-
e[
|
|
4540
|
+
e[19]
|
|
4541
4541
|
)
|
|
4542
|
-
],
|
|
4542
|
+
], y = !0);
|
|
4543
4543
|
},
|
|
4544
|
-
p(
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
P,
|
|
4544
|
+
p(v, [B]) {
|
|
4545
|
+
S && S.p && (!m || B & /*$$scope*/
|
|
4546
|
+
65536) && Mr(
|
|
4548
4547
|
S,
|
|
4549
|
-
|
|
4548
|
+
H,
|
|
4549
|
+
v,
|
|
4550
4550
|
/*$$scope*/
|
|
4551
|
-
|
|
4552
|
-
m ?
|
|
4553
|
-
|
|
4551
|
+
v[16],
|
|
4552
|
+
m ? Nr(
|
|
4553
|
+
H,
|
|
4554
4554
|
/*$$scope*/
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
) :
|
|
4555
|
+
v[16],
|
|
4556
|
+
B,
|
|
4557
|
+
ho
|
|
4558
|
+
) : Lr(
|
|
4559
4559
|
/*$$scope*/
|
|
4560
|
-
|
|
4560
|
+
v[16]
|
|
4561
4561
|
),
|
|
4562
|
-
|
|
4562
|
+
Mt
|
|
4563
4563
|
), /*modaltitle*/
|
|
4564
|
-
|
|
4564
|
+
v[1] ? _ ? _.p(v, B) : (_ = Lt(v), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || B & /*modaltext*/
|
|
4565
4565
|
1) && (s.innerHTML = /*modaltext*/
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
16) &&
|
|
4569
|
-
|
|
4566
|
+
v[0]), /*hascancelbutton*/
|
|
4567
|
+
v[2] ? E ? E.p(v, B) : (E = Rt(v), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!m || B & /*$_*/
|
|
4568
|
+
16) && f !== (f = /*$_*/
|
|
4569
|
+
v[4]("confirm") + "") && tt(c, f);
|
|
4570
4570
|
},
|
|
4571
|
-
i(
|
|
4572
|
-
m || (
|
|
4571
|
+
i(v) {
|
|
4572
|
+
m || (jt(A, v), m = !0);
|
|
4573
4573
|
},
|
|
4574
|
-
o(
|
|
4575
|
-
|
|
4574
|
+
o(v) {
|
|
4575
|
+
Wr(A, v), m = !1;
|
|
4576
4576
|
},
|
|
4577
|
-
d(
|
|
4578
|
-
|
|
4577
|
+
d(v) {
|
|
4578
|
+
v && Q(t), A && A.d(v), _ && _.d(), E && E.d(), e[20](null), y = !1, Z(b);
|
|
4579
4579
|
}
|
|
4580
4580
|
};
|
|
4581
4581
|
}
|
|
4582
|
-
function
|
|
4582
|
+
function mo(e, t, r) {
|
|
4583
4583
|
let n;
|
|
4584
|
-
|
|
4585
|
-
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 =
|
|
4586
|
-
const
|
|
4584
|
+
Or(e, no, (d) => r(4, n = d));
|
|
4585
|
+
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, { modalconfirmdata: f = {} } = t, { lang: c = "en" } = t, { clientstyling: m = "" } = t, { clientstylingurl: y = "" } = t, { translationurl: b = "" } = t, { mbsource: H } = t, S, A = window.navigator.userAgent, _ = io(A) !== "PC";
|
|
4586
|
+
const E = () => {
|
|
4587
4587
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4588
|
-
},
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4588
|
+
}, v = (d) => {
|
|
4589
|
+
d === "confirm" && u && S.dispatchEvent(new CustomEvent(
|
|
4590
|
+
u,
|
|
4591
|
+
{
|
|
4592
|
+
detail: f,
|
|
4593
|
+
// payload
|
|
4594
|
+
bubbles: !0,
|
|
4595
|
+
composed: !0
|
|
4596
|
+
}
|
|
4597
|
+
)), d === "cancel" && h && S.dispatchEvent(new CustomEvent(h, { bubbles: !0, composed: !0 })), E();
|
|
4598
|
+
}, B = () => {
|
|
4599
|
+
fetch(b).then((U) => U.json()).then((U) => {
|
|
4592
4600
|
Object.keys(U).forEach((it) => {
|
|
4593
4601
|
It(it, U[it]);
|
|
4594
4602
|
});
|
|
@@ -4596,59 +4604,60 @@ function fo(e, t, r) {
|
|
|
4596
4604
|
console.log(U);
|
|
4597
4605
|
});
|
|
4598
4606
|
};
|
|
4599
|
-
Object.keys(
|
|
4600
|
-
It(
|
|
4607
|
+
Object.keys(Nt).forEach((d) => {
|
|
4608
|
+
It(d, Nt[d]);
|
|
4601
4609
|
});
|
|
4602
|
-
const
|
|
4603
|
-
|
|
4610
|
+
const ae = () => {
|
|
4611
|
+
uo(c);
|
|
4604
4612
|
};
|
|
4605
|
-
|
|
4613
|
+
Fr(() => () => {
|
|
4606
4614
|
});
|
|
4607
|
-
const
|
|
4608
|
-
function
|
|
4609
|
-
Re[
|
|
4610
|
-
S =
|
|
4615
|
+
const xr = () => v("cancel"), Er = () => v("confirm");
|
|
4616
|
+
function Sr(d) {
|
|
4617
|
+
Re[d ? "unshift" : "push"](() => {
|
|
4618
|
+
S = d, r(3, S);
|
|
4611
4619
|
});
|
|
4612
4620
|
}
|
|
4613
|
-
return e.$$set = (
|
|
4614
|
-
"modaltext" in
|
|
4621
|
+
return e.$$set = (d) => {
|
|
4622
|
+
"modaltext" in d && r(0, s = d.modaltext), "modaltitle" in d && r(1, a = d.modaltitle), "hascancelbutton" in d && r(2, l = d.hascancelbutton), "modalconfirmevent" in d && r(8, u = d.modalconfirmevent), "modalcancelevent" in d && r(9, h = d.modalcancelevent), "modalconfirmdata" in d && r(10, f = d.modalconfirmdata), "lang" in d && r(11, c = d.lang), "clientstyling" in d && r(12, m = d.clientstyling), "clientstylingurl" in d && r(13, y = d.clientstylingurl), "translationurl" in d && r(14, b = d.translationurl), "mbsource" in d && r(15, H = d.mbsource), "$$scope" in d && r(16, o = d.$$scope);
|
|
4615
4623
|
}, e.$$.update = () => {
|
|
4616
4624
|
e.$$.dirty & /*modaltext, lang*/
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4625
|
+
2049 && s && c && ae(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4626
|
+
4104 && m && S && oo(S, m), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4627
|
+
8200 && y && S && so(S, y), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4628
|
+
32776 && H && S && ao(S, `${H}.Style`), e.$$.dirty & /*translationurl*/
|
|
4629
|
+
16384 && b && B();
|
|
4622
4630
|
}, [
|
|
4623
4631
|
s,
|
|
4624
4632
|
a,
|
|
4625
4633
|
l,
|
|
4626
4634
|
S,
|
|
4627
4635
|
n,
|
|
4628
|
-
H,
|
|
4629
4636
|
_,
|
|
4630
|
-
|
|
4637
|
+
E,
|
|
4638
|
+
v,
|
|
4631
4639
|
u,
|
|
4632
4640
|
h,
|
|
4633
|
-
c,
|
|
4634
4641
|
f,
|
|
4642
|
+
c,
|
|
4635
4643
|
m,
|
|
4636
|
-
|
|
4637
|
-
|
|
4644
|
+
y,
|
|
4645
|
+
b,
|
|
4646
|
+
H,
|
|
4638
4647
|
o,
|
|
4639
4648
|
i,
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4649
|
+
xr,
|
|
4650
|
+
Er,
|
|
4651
|
+
Sr
|
|
4643
4652
|
];
|
|
4644
4653
|
}
|
|
4645
|
-
class
|
|
4654
|
+
class _r extends Kr {
|
|
4646
4655
|
constructor(t) {
|
|
4647
|
-
super(),
|
|
4656
|
+
super(), qr(
|
|
4648
4657
|
this,
|
|
4649
4658
|
t,
|
|
4659
|
+
mo,
|
|
4650
4660
|
fo,
|
|
4651
|
-
co,
|
|
4652
4661
|
Gt,
|
|
4653
4662
|
{
|
|
4654
4663
|
modaltext: 0,
|
|
@@ -4656,120 +4665,126 @@ class yr extends Yr {
|
|
|
4656
4665
|
hascancelbutton: 2,
|
|
4657
4666
|
modalconfirmevent: 8,
|
|
4658
4667
|
modalcancelevent: 9,
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4668
|
+
modalconfirmdata: 10,
|
|
4669
|
+
lang: 11,
|
|
4670
|
+
clientstyling: 12,
|
|
4671
|
+
clientstylingurl: 13,
|
|
4672
|
+
translationurl: 14,
|
|
4673
|
+
mbsource: 15
|
|
4664
4674
|
},
|
|
4665
|
-
|
|
4675
|
+
lo
|
|
4666
4676
|
);
|
|
4667
4677
|
}
|
|
4668
4678
|
get modaltext() {
|
|
4669
4679
|
return this.$$.ctx[0];
|
|
4670
4680
|
}
|
|
4671
4681
|
set modaltext(t) {
|
|
4672
|
-
this.$$set({ modaltext: t }),
|
|
4682
|
+
this.$$set({ modaltext: t }), O();
|
|
4673
4683
|
}
|
|
4674
4684
|
get modaltitle() {
|
|
4675
4685
|
return this.$$.ctx[1];
|
|
4676
4686
|
}
|
|
4677
4687
|
set modaltitle(t) {
|
|
4678
|
-
this.$$set({ modaltitle: t }),
|
|
4688
|
+
this.$$set({ modaltitle: t }), O();
|
|
4679
4689
|
}
|
|
4680
4690
|
get hascancelbutton() {
|
|
4681
4691
|
return this.$$.ctx[2];
|
|
4682
4692
|
}
|
|
4683
4693
|
set hascancelbutton(t) {
|
|
4684
|
-
this.$$set({ hascancelbutton: t }),
|
|
4694
|
+
this.$$set({ hascancelbutton: t }), O();
|
|
4685
4695
|
}
|
|
4686
4696
|
get modalconfirmevent() {
|
|
4687
4697
|
return this.$$.ctx[8];
|
|
4688
4698
|
}
|
|
4689
4699
|
set modalconfirmevent(t) {
|
|
4690
|
-
this.$$set({ modalconfirmevent: t }),
|
|
4700
|
+
this.$$set({ modalconfirmevent: t }), O();
|
|
4691
4701
|
}
|
|
4692
4702
|
get modalcancelevent() {
|
|
4693
4703
|
return this.$$.ctx[9];
|
|
4694
4704
|
}
|
|
4695
4705
|
set modalcancelevent(t) {
|
|
4696
|
-
this.$$set({ modalcancelevent: t }),
|
|
4706
|
+
this.$$set({ modalcancelevent: t }), O();
|
|
4697
4707
|
}
|
|
4698
|
-
get
|
|
4708
|
+
get modalconfirmdata() {
|
|
4699
4709
|
return this.$$.ctx[10];
|
|
4700
4710
|
}
|
|
4711
|
+
set modalconfirmdata(t) {
|
|
4712
|
+
this.$$set({ modalconfirmdata: t }), O();
|
|
4713
|
+
}
|
|
4714
|
+
get lang() {
|
|
4715
|
+
return this.$$.ctx[11];
|
|
4716
|
+
}
|
|
4701
4717
|
set lang(t) {
|
|
4702
|
-
this.$$set({ lang: t }),
|
|
4718
|
+
this.$$set({ lang: t }), O();
|
|
4703
4719
|
}
|
|
4704
4720
|
get clientstyling() {
|
|
4705
|
-
return this.$$.ctx[
|
|
4721
|
+
return this.$$.ctx[12];
|
|
4706
4722
|
}
|
|
4707
4723
|
set clientstyling(t) {
|
|
4708
|
-
this.$$set({ clientstyling: t }),
|
|
4724
|
+
this.$$set({ clientstyling: t }), O();
|
|
4709
4725
|
}
|
|
4710
4726
|
get clientstylingurl() {
|
|
4711
|
-
return this.$$.ctx[
|
|
4727
|
+
return this.$$.ctx[13];
|
|
4712
4728
|
}
|
|
4713
4729
|
set clientstylingurl(t) {
|
|
4714
|
-
this.$$set({ clientstylingurl: t }),
|
|
4730
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
4715
4731
|
}
|
|
4716
4732
|
get translationurl() {
|
|
4717
|
-
return this.$$.ctx[
|
|
4733
|
+
return this.$$.ctx[14];
|
|
4718
4734
|
}
|
|
4719
4735
|
set translationurl(t) {
|
|
4720
|
-
this.$$set({ translationurl: t }),
|
|
4736
|
+
this.$$set({ translationurl: t }), O();
|
|
4721
4737
|
}
|
|
4722
4738
|
get mbsource() {
|
|
4723
|
-
return this.$$.ctx[
|
|
4739
|
+
return this.$$.ctx[15];
|
|
4724
4740
|
}
|
|
4725
4741
|
set mbsource(t) {
|
|
4726
|
-
this.$$set({ mbsource: t }),
|
|
4742
|
+
this.$$set({ mbsource: t }), O();
|
|
4727
4743
|
}
|
|
4728
4744
|
}
|
|
4729
|
-
|
|
4730
|
-
const
|
|
4745
|
+
Yr(_r, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, modalconfirmdata: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4746
|
+
const To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4731
4747
|
__proto__: null,
|
|
4732
|
-
default:
|
|
4748
|
+
default: _r
|
|
4733
4749
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4734
4750
|
export {
|
|
4735
4751
|
q as $,
|
|
4736
4752
|
_o as A,
|
|
4737
4753
|
Le as B,
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
Yr as S,
|
|
4754
|
+
ye as C,
|
|
4755
|
+
Ge as D,
|
|
4756
|
+
ht as E,
|
|
4757
|
+
vo as F,
|
|
4758
|
+
no as G,
|
|
4759
|
+
oo as H,
|
|
4760
|
+
so as I,
|
|
4761
|
+
ao as J,
|
|
4762
|
+
To as P,
|
|
4763
|
+
Kr as S,
|
|
4749
4764
|
pr as a,
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4765
|
+
Yr as b,
|
|
4766
|
+
wo as c,
|
|
4767
|
+
Rr as d,
|
|
4753
4768
|
Q as e,
|
|
4754
|
-
|
|
4755
|
-
|
|
4769
|
+
O as f,
|
|
4770
|
+
tn as g,
|
|
4756
4771
|
ie as h,
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4772
|
+
qr as i,
|
|
4773
|
+
N as j,
|
|
4774
|
+
Or as k,
|
|
4775
|
+
io as l,
|
|
4761
4776
|
xo as m,
|
|
4762
4777
|
L as n,
|
|
4763
|
-
|
|
4778
|
+
Eo as o,
|
|
4764
4779
|
Re as p,
|
|
4765
|
-
|
|
4766
|
-
|
|
4780
|
+
C as q,
|
|
4781
|
+
ue as r,
|
|
4767
4782
|
Gt as s,
|
|
4768
4783
|
go as t,
|
|
4769
4784
|
yo as u,
|
|
4770
4785
|
T as v,
|
|
4771
|
-
|
|
4772
|
-
|
|
4786
|
+
So as w,
|
|
4787
|
+
bo as x,
|
|
4773
4788
|
Z as y,
|
|
4774
4789
|
tt as z
|
|
4775
4790
|
};
|