@everymatrix/player-account-general-confirmation-modal 1.59.2 → 1.59.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGeneralConfirmationModal-IY2sNbEx.js → PlayerAccountGeneralConfirmationModal-CAzP8zZT.js} +532 -554
- package/components/{PlayerAccountGeneralConfirmationModal-C4g1TLWM.js → PlayerAccountGeneralConfirmationModal-D1rx9qnx.js} +525 -547
- package/components/PlayerAccountGeneralConfirmationModal-tYfIPipN.cjs +18 -0
- package/es2015/player-account-general-confirmation-modal.cjs +1 -1
- package/es2015/player-account-general-confirmation-modal.js +1 -1
- package/esnext/player-account-general-confirmation-modal.js +1 -1
- package/package.json +2 -2
- package/components/PlayerAccountGeneralConfirmationModal-B7rHA2DP.cjs +0 -18
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Te = (e, t, r) => t in e ?
|
|
1
|
+
var br = Object.defineProperty, gr = Object.defineProperties;
|
|
2
|
+
var vr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var et = Object.getOwnPropertySymbols;
|
|
4
|
+
var yr = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Te = (e, t, r) => t in e ? br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
yr.call(t, r) && Te(e, r, t[r]);
|
|
8
|
+
if (et)
|
|
9
|
+
for (var r of et(t))
|
|
10
|
+
xr.call(t, r) && Te(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, rt = (e, t) => gr(e, vr(t));
|
|
13
13
|
var O = (e, t, r) => (Te(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var nt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -29,7 +29,7 @@ var st = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function L() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function _r(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -37,25 +37,25 @@ function Tr(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function It(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function it() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
46
|
function J(e) {
|
|
47
|
-
e.forEach(
|
|
47
|
+
e.forEach(It);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function Je(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Nt(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Er(e) {
|
|
56
56
|
return Object.keys(e).length === 0;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function Mt(e, ...t) {
|
|
59
59
|
if (e == null) {
|
|
60
60
|
for (const n of t)
|
|
61
61
|
n(void 0);
|
|
@@ -64,19 +64,19 @@ function $t(e, ...t) {
|
|
|
64
64
|
const r = e.subscribe(...t);
|
|
65
65
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
e.$$.on_destroy.push(
|
|
67
|
+
function Sr(e, t, r) {
|
|
68
|
+
e.$$.on_destroy.push(Mt(t, r));
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function wr(e, t, r, n) {
|
|
71
71
|
if (e) {
|
|
72
|
-
const i =
|
|
72
|
+
const i = Lt(e, t, r, n);
|
|
73
73
|
return e[0](i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
return e[1] && n ?
|
|
76
|
+
function Lt(e, t, r, n) {
|
|
77
|
+
return e[1] && n ? _r(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Tr(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 Cr(e, t, r, n) {
|
|
|
91
91
|
}
|
|
92
92
|
return t.dirty;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Hr(e, t, r, n, i, o) {
|
|
95
95
|
if (i) {
|
|
96
|
-
const s =
|
|
96
|
+
const s = Lt(t, r, n, o);
|
|
97
97
|
e.p(s, i);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Br(e) {
|
|
101
101
|
if (e.ctx.length > 32) {
|
|
102
102
|
const t = [], r = e.ctx.length / 32;
|
|
103
103
|
for (let n = 0; n < r; n++)
|
|
@@ -109,14 +109,14 @@ function Or(e) {
|
|
|
109
109
|
function B(e, t) {
|
|
110
110
|
e.appendChild(t);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
const n =
|
|
112
|
+
function Ar(e, t, r) {
|
|
113
|
+
const n = Cr(e);
|
|
114
114
|
if (!n.getElementById(t)) {
|
|
115
|
-
const i =
|
|
116
|
-
i.id = t, i.textContent = r,
|
|
115
|
+
const i = M("style");
|
|
116
|
+
i.id = t, i.textContent = r, Pr(n, i);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Cr(e) {
|
|
120
120
|
if (!e)
|
|
121
121
|
return document;
|
|
122
122
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -126,7 +126,7 @@ function Mr(e) {
|
|
|
126
126
|
t
|
|
127
127
|
) : e.ownerDocument;
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Pr(e, t) {
|
|
130
130
|
return B(
|
|
131
131
|
/** @type {Document} */
|
|
132
132
|
e.head || e,
|
|
@@ -139,10 +139,10 @@ function ae(e, t, r) {
|
|
|
139
139
|
function Y(e) {
|
|
140
140
|
e.parentNode && e.parentNode.removeChild(e);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function M(e) {
|
|
143
143
|
return document.createElement(e);
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function ot(e) {
|
|
146
146
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
147
147
|
}
|
|
148
148
|
function ne(e) {
|
|
@@ -157,14 +157,14 @@ function Ne(e, t, r, n) {
|
|
|
157
157
|
function H(e, t, r) {
|
|
158
158
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function Or(e) {
|
|
161
161
|
return Array.from(e.childNodes);
|
|
162
162
|
}
|
|
163
163
|
function ge(e, t) {
|
|
164
164
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
165
165
|
t);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function Ir(e) {
|
|
168
168
|
const t = {};
|
|
169
169
|
return e.childNodes.forEach(
|
|
170
170
|
/** @param {Element} node */
|
|
@@ -177,22 +177,22 @@ let ie;
|
|
|
177
177
|
function re(e) {
|
|
178
178
|
ie = e;
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function Nr() {
|
|
181
181
|
if (!ie)
|
|
182
182
|
throw new Error("Function called outside component initialization");
|
|
183
183
|
return ie;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
|
|
185
|
+
function Mr(e) {
|
|
186
|
+
Nr().$$.on_mount.push(e);
|
|
187
187
|
}
|
|
188
|
-
const k = [],
|
|
188
|
+
const k = [], Me = [];
|
|
189
189
|
let V = [];
|
|
190
|
-
const
|
|
191
|
-
let
|
|
192
|
-
function
|
|
193
|
-
|
|
190
|
+
const st = [], Lr = /* @__PURE__ */ Promise.resolve();
|
|
191
|
+
let Le = !1;
|
|
192
|
+
function Rr() {
|
|
193
|
+
Le || (Le = !0, Lr.then(I));
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function Re(e) {
|
|
196
196
|
V.push(e);
|
|
197
197
|
}
|
|
198
198
|
const He = /* @__PURE__ */ new Set();
|
|
@@ -205,63 +205,63 @@ function I() {
|
|
|
205
205
|
try {
|
|
206
206
|
for (; F < k.length; ) {
|
|
207
207
|
const t = k[F];
|
|
208
|
-
F++, re(t),
|
|
208
|
+
F++, re(t), $r(t.$$);
|
|
209
209
|
}
|
|
210
210
|
} catch (t) {
|
|
211
211
|
throw k.length = 0, F = 0, t;
|
|
212
212
|
}
|
|
213
|
-
for (re(null), k.length = 0, F = 0;
|
|
214
|
-
|
|
213
|
+
for (re(null), k.length = 0, F = 0; Me.length; )
|
|
214
|
+
Me.pop()();
|
|
215
215
|
for (let t = 0; t < V.length; t += 1) {
|
|
216
216
|
const r = V[t];
|
|
217
217
|
He.has(r) || (He.add(r), r());
|
|
218
218
|
}
|
|
219
219
|
V.length = 0;
|
|
220
220
|
} while (k.length);
|
|
221
|
-
for (;
|
|
222
|
-
|
|
223
|
-
|
|
221
|
+
for (; st.length; )
|
|
222
|
+
st.pop()();
|
|
223
|
+
Le = !1, He.clear(), re(e);
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function $r(e) {
|
|
226
226
|
if (e.fragment !== null) {
|
|
227
227
|
e.update(), J(e.before_update);
|
|
228
228
|
const t = e.dirty;
|
|
229
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
229
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function Gr(e) {
|
|
233
233
|
const t = [], r = [];
|
|
234
234
|
V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
|
|
235
235
|
}
|
|
236
236
|
const fe = /* @__PURE__ */ new Set();
|
|
237
|
-
let
|
|
238
|
-
function
|
|
237
|
+
let Ur;
|
|
238
|
+
function Rt(e, t) {
|
|
239
239
|
e && e.i && (fe.delete(e), e.i(t));
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function Dr(e, t, r, n) {
|
|
242
242
|
if (e && e.o) {
|
|
243
243
|
if (fe.has(e))
|
|
244
244
|
return;
|
|
245
|
-
fe.add(e),
|
|
245
|
+
fe.add(e), Ur.c.push(() => {
|
|
246
246
|
fe.delete(e);
|
|
247
247
|
}), e.o(t);
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
|
-
function
|
|
250
|
+
function Fr(e, t, r) {
|
|
251
251
|
const { fragment: n, after_update: i } = e.$$;
|
|
252
|
-
n && n.m(t, r),
|
|
253
|
-
const o = e.$$.on_mount.map(
|
|
252
|
+
n && n.m(t, r), Re(() => {
|
|
253
|
+
const o = e.$$.on_mount.map(It).filter(Je);
|
|
254
254
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
|
|
255
|
-
}), i.forEach(
|
|
255
|
+
}), i.forEach(Re);
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function jr(e, t) {
|
|
258
258
|
const r = e.$$;
|
|
259
|
-
r.fragment !== null && (
|
|
259
|
+
r.fragment !== null && (Gr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
e.$$.dirty[0] === -1 && (k.push(e),
|
|
261
|
+
function kr(e, t) {
|
|
262
|
+
e.$$.dirty[0] === -1 && (k.push(e), Rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function Vr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
265
265
|
const l = ie;
|
|
266
266
|
re(e);
|
|
267
267
|
const u = e.$$ = {
|
|
@@ -271,7 +271,7 @@ function Zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
271
271
|
props: o,
|
|
272
272
|
update: L,
|
|
273
273
|
not_equal: i,
|
|
274
|
-
bound:
|
|
274
|
+
bound: it(),
|
|
275
275
|
// lifecycle
|
|
276
276
|
on_mount: [],
|
|
277
277
|
on_destroy: [],
|
|
@@ -280,7 +280,7 @@ function Zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
280
280
|
after_update: [],
|
|
281
281
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
282
282
|
// everything else
|
|
283
|
-
callbacks:
|
|
283
|
+
callbacks: it(),
|
|
284
284
|
dirty: a,
|
|
285
285
|
skip_bound: !1,
|
|
286
286
|
root: t.target || l.$$.root
|
|
@@ -289,19 +289,19 @@ function Zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
289
289
|
let h = !1;
|
|
290
290
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
|
291
291
|
const d = m.length ? m[0] : f;
|
|
292
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h &&
|
|
292
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && kr(e, c)), f;
|
|
293
293
|
}) : [], u.update(), h = !0, J(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
294
294
|
if (t.hydrate) {
|
|
295
|
-
const c =
|
|
295
|
+
const c = Or(t.target);
|
|
296
296
|
u.fragment && u.fragment.l(c), c.forEach(Y);
|
|
297
297
|
} else
|
|
298
298
|
u.fragment && u.fragment.c();
|
|
299
|
-
t.intro &&
|
|
299
|
+
t.intro && Rt(e.$$.fragment), Fr(e, t.target, t.anchor), I();
|
|
300
300
|
}
|
|
301
301
|
re(l);
|
|
302
302
|
}
|
|
303
|
-
let
|
|
304
|
-
typeof HTMLElement == "function" && (
|
|
303
|
+
let $t;
|
|
304
|
+
typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
305
305
|
constructor(t, r, n) {
|
|
306
306
|
super();
|
|
307
307
|
/** The Svelte component constructor */
|
|
@@ -338,14 +338,14 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
connectedCallback() {
|
|
341
|
-
return
|
|
341
|
+
return nt(this, null, function* () {
|
|
342
342
|
if (this.$$cn = !0, !this.$$c) {
|
|
343
343
|
let t = function(o) {
|
|
344
344
|
return () => {
|
|
345
345
|
let s;
|
|
346
346
|
return {
|
|
347
347
|
c: function() {
|
|
348
|
-
s =
|
|
348
|
+
s = M("slot"), o !== "default" && H(s, "name", o);
|
|
349
349
|
},
|
|
350
350
|
/**
|
|
351
351
|
* @param {HTMLElement} target
|
|
@@ -362,7 +362,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
362
362
|
};
|
|
363
363
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
364
364
|
return;
|
|
365
|
-
const r = {}, n =
|
|
365
|
+
const r = {}, n = Ir(this);
|
|
366
366
|
for (const o of this.$$s)
|
|
367
367
|
o in n && (r[o] = [t(o)]);
|
|
368
368
|
for (const o of this.attributes) {
|
|
@@ -373,7 +373,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
373
373
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
374
374
|
this.$$c = new this.$$ctor({
|
|
375
375
|
target: this.shadowRoot || this,
|
|
376
|
-
props:
|
|
376
|
+
props: rt(tt({}, this.$$d), {
|
|
377
377
|
$$slots: r,
|
|
378
378
|
$$scope: {
|
|
379
379
|
ctx: []
|
|
@@ -451,8 +451,8 @@ function me(e, t, r, n) {
|
|
|
451
451
|
return t;
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
|
-
function
|
|
455
|
-
let s = class extends
|
|
454
|
+
function Xr(e, t, r, n, i, o) {
|
|
455
|
+
let s = class extends $t {
|
|
456
456
|
constructor() {
|
|
457
457
|
super(e, r, i), this.$$p_d = t;
|
|
458
458
|
}
|
|
@@ -482,7 +482,7 @@ function Qr(e, t, r, n, i, o) {
|
|
|
482
482
|
}), e.element = /** @type {any} */
|
|
483
483
|
s, s;
|
|
484
484
|
}
|
|
485
|
-
class
|
|
485
|
+
class Wr {
|
|
486
486
|
constructor() {
|
|
487
487
|
/**
|
|
488
488
|
* ### PRIVATE API
|
|
@@ -503,7 +503,7 @@ class Jr {
|
|
|
503
503
|
}
|
|
504
504
|
/** @returns {void} */
|
|
505
505
|
$destroy() {
|
|
506
|
-
|
|
506
|
+
jr(this, 1), this.$destroy = L;
|
|
507
507
|
}
|
|
508
508
|
/**
|
|
509
509
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -512,7 +512,7 @@ class Jr {
|
|
|
512
512
|
* @returns {() => void}
|
|
513
513
|
*/
|
|
514
514
|
$on(t, r) {
|
|
515
|
-
if (!
|
|
515
|
+
if (!Je(r))
|
|
516
516
|
return L;
|
|
517
517
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
518
518
|
return n.push(r), () => {
|
|
@@ -525,11 +525,11 @@ class Jr {
|
|
|
525
525
|
* @returns {void}
|
|
526
526
|
*/
|
|
527
527
|
$set(t) {
|
|
528
|
-
this.$$set && !
|
|
528
|
+
this.$$set && !Er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
|
-
const
|
|
532
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
531
|
+
const zr = "4";
|
|
532
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
|
|
533
533
|
/*! *****************************************************************************
|
|
534
534
|
Copyright (c) Microsoft Corporation.
|
|
535
535
|
|
|
@@ -544,18 +544,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
544
544
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
545
545
|
PERFORMANCE OF THIS SOFTWARE.
|
|
546
546
|
***************************************************************************** */
|
|
547
|
-
var
|
|
548
|
-
return
|
|
547
|
+
var $e = function(e, t) {
|
|
548
|
+
return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
549
549
|
r.__proto__ = n;
|
|
550
550
|
} || function(r, n) {
|
|
551
551
|
for (var i in n)
|
|
552
552
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
553
|
-
},
|
|
553
|
+
}, $e(e, t);
|
|
554
554
|
};
|
|
555
555
|
function $(e, t) {
|
|
556
556
|
if (typeof t != "function" && t !== null)
|
|
557
557
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
558
|
-
|
|
558
|
+
$e(e, t);
|
|
559
559
|
function r() {
|
|
560
560
|
this.constructor = e;
|
|
561
561
|
}
|
|
@@ -571,7 +571,7 @@ var y = function() {
|
|
|
571
571
|
return t;
|
|
572
572
|
}, y.apply(this, arguments);
|
|
573
573
|
};
|
|
574
|
-
function
|
|
574
|
+
function Zr(e, t) {
|
|
575
575
|
var r = {};
|
|
576
576
|
for (var n in e)
|
|
577
577
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -580,7 +580,7 @@ function qr(e, t) {
|
|
|
580
580
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
581
581
|
return r;
|
|
582
582
|
}
|
|
583
|
-
function
|
|
583
|
+
function Ge(e) {
|
|
584
584
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
585
585
|
if (r)
|
|
586
586
|
return r.call(e);
|
|
@@ -592,7 +592,7 @@ function Ue(e) {
|
|
|
592
592
|
};
|
|
593
593
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
594
594
|
}
|
|
595
|
-
function
|
|
595
|
+
function Ue(e, t) {
|
|
596
596
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
597
597
|
if (!r)
|
|
598
598
|
return e;
|
|
@@ -621,13 +621,13 @@ function X(e, t, r) {
|
|
|
621
621
|
function R(e) {
|
|
622
622
|
return typeof e == "function";
|
|
623
623
|
}
|
|
624
|
-
function
|
|
624
|
+
function Gt(e) {
|
|
625
625
|
var t = function(n) {
|
|
626
626
|
Error.call(n), n.stack = new Error().stack;
|
|
627
627
|
}, r = e(t);
|
|
628
628
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
629
629
|
}
|
|
630
|
-
var Be =
|
|
630
|
+
var Be = Gt(function(e) {
|
|
631
631
|
return function(r) {
|
|
632
632
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
633
633
|
` + r.map(function(n, i) {
|
|
@@ -636,7 +636,7 @@ var Be = Ft(function(e) {
|
|
|
636
636
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
637
637
|
};
|
|
638
638
|
});
|
|
639
|
-
function
|
|
639
|
+
function De(e, t) {
|
|
640
640
|
if (e) {
|
|
641
641
|
var r = e.indexOf(t);
|
|
642
642
|
0 <= r && e.splice(r, 1);
|
|
@@ -654,7 +654,7 @@ var xe = function() {
|
|
|
654
654
|
if (s)
|
|
655
655
|
if (this._parentage = null, Array.isArray(s))
|
|
656
656
|
try {
|
|
657
|
-
for (var a =
|
|
657
|
+
for (var a = Ge(s), l = a.next(); !l.done; l = a.next()) {
|
|
658
658
|
var u = l.value;
|
|
659
659
|
u.remove(this);
|
|
660
660
|
}
|
|
@@ -681,12 +681,12 @@ var xe = function() {
|
|
|
681
681
|
if (c) {
|
|
682
682
|
this._finalizers = null;
|
|
683
683
|
try {
|
|
684
|
-
for (var f =
|
|
684
|
+
for (var f = Ge(c), m = f.next(); !m.done; m = f.next()) {
|
|
685
685
|
var d = m.value;
|
|
686
686
|
try {
|
|
687
|
-
|
|
687
|
+
at(d);
|
|
688
688
|
} catch (p) {
|
|
689
|
-
o = o != null ? o : [], p instanceof Be ? o = X(X([],
|
|
689
|
+
o = o != null ? o : [], p instanceof Be ? o = X(X([], Ue(o)), Ue(p.errors)) : o.push(p);
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
692
|
} catch (p) {
|
|
@@ -707,7 +707,7 @@ var xe = function() {
|
|
|
707
707
|
var r;
|
|
708
708
|
if (t && t !== this)
|
|
709
709
|
if (this.closed)
|
|
710
|
-
|
|
710
|
+
at(t);
|
|
711
711
|
else {
|
|
712
712
|
if (t instanceof e) {
|
|
713
713
|
if (t.closed || t._hasParent(this))
|
|
@@ -724,56 +724,52 @@ var xe = function() {
|
|
|
724
724
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
725
725
|
}, e.prototype._removeParent = function(t) {
|
|
726
726
|
var r = this._parentage;
|
|
727
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
727
|
+
r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
|
|
728
728
|
}, e.prototype.remove = function(t) {
|
|
729
729
|
var r = this._finalizers;
|
|
730
|
-
r &&
|
|
730
|
+
r && De(r, t), t instanceof e && t._removeParent(this);
|
|
731
731
|
}, e.EMPTY = function() {
|
|
732
732
|
var t = new e();
|
|
733
733
|
return t.closed = !0, t;
|
|
734
734
|
}(), e;
|
|
735
|
-
}(),
|
|
736
|
-
function
|
|
735
|
+
}(), Ut = xe.EMPTY;
|
|
736
|
+
function Dt(e) {
|
|
737
737
|
return e instanceof xe || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
738
738
|
}
|
|
739
|
-
function
|
|
739
|
+
function at(e) {
|
|
740
740
|
R(e) ? e() : e.unsubscribe();
|
|
741
741
|
}
|
|
742
|
-
var
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
Promise: void 0,
|
|
746
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
747
|
-
useDeprecatedNextContext: !1
|
|
748
|
-
}, Kr = {
|
|
742
|
+
var Qr = {
|
|
743
|
+
Promise: void 0
|
|
744
|
+
}, Jr = {
|
|
749
745
|
setTimeout: function(e, t) {
|
|
750
746
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
751
747
|
r[n - 2] = arguments[n];
|
|
752
|
-
return setTimeout.apply(void 0, X([e, t],
|
|
748
|
+
return setTimeout.apply(void 0, X([e, t], Ue(r)));
|
|
753
749
|
},
|
|
754
750
|
clearTimeout: function(e) {
|
|
755
751
|
return clearTimeout(e);
|
|
756
752
|
},
|
|
757
753
|
delegate: void 0
|
|
758
754
|
};
|
|
759
|
-
function
|
|
760
|
-
|
|
755
|
+
function Yr(e) {
|
|
756
|
+
Jr.setTimeout(function() {
|
|
761
757
|
throw e;
|
|
762
758
|
});
|
|
763
759
|
}
|
|
764
|
-
function
|
|
760
|
+
function ut() {
|
|
765
761
|
}
|
|
766
762
|
function de(e) {
|
|
767
763
|
e();
|
|
768
764
|
}
|
|
769
|
-
var
|
|
765
|
+
var Ft = function(e) {
|
|
770
766
|
$(t, e);
|
|
771
767
|
function t(r) {
|
|
772
768
|
var n = e.call(this) || this;
|
|
773
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
769
|
+
return n.isStopped = !1, r ? (n.destination = r, Dt(r) && r.add(n)) : n.destination = en, n;
|
|
774
770
|
}
|
|
775
771
|
return t.create = function(r, n, i) {
|
|
776
|
-
return new
|
|
772
|
+
return new Fe(r, n, i);
|
|
777
773
|
}, t.prototype.next = function(r) {
|
|
778
774
|
this.isStopped || this._next(r);
|
|
779
775
|
}, t.prototype.error = function(r) {
|
|
@@ -797,11 +793,7 @@ var Xt = function(e) {
|
|
|
797
793
|
this.unsubscribe();
|
|
798
794
|
}
|
|
799
795
|
}, t;
|
|
800
|
-
}(xe),
|
|
801
|
-
function Ae(e, t) {
|
|
802
|
-
return tn.call(e, t);
|
|
803
|
-
}
|
|
804
|
-
var rn = function() {
|
|
796
|
+
}(xe), qr = function() {
|
|
805
797
|
function e(t) {
|
|
806
798
|
this.partialObserver = t;
|
|
807
799
|
}
|
|
@@ -832,55 +824,43 @@ var rn = function() {
|
|
|
832
824
|
he(r);
|
|
833
825
|
}
|
|
834
826
|
}, e;
|
|
835
|
-
}(),
|
|
827
|
+
}(), Fe = function(e) {
|
|
836
828
|
$(t, e);
|
|
837
829
|
function t(r, n, i) {
|
|
838
830
|
var o = e.call(this) || this, s;
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
};
|
|
845
|
-
else {
|
|
846
|
-
var a;
|
|
847
|
-
o && Vt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
848
|
-
return o.unsubscribe();
|
|
849
|
-
}, s = {
|
|
850
|
-
next: r.next && Ae(r.next, a),
|
|
851
|
-
error: r.error && Ae(r.error, a),
|
|
852
|
-
complete: r.complete && Ae(r.complete, a)
|
|
853
|
-
}) : s = r;
|
|
854
|
-
}
|
|
855
|
-
return o.destination = new rn(s), o;
|
|
831
|
+
return R(r) || !r ? s = {
|
|
832
|
+
next: r != null ? r : void 0,
|
|
833
|
+
error: n != null ? n : void 0,
|
|
834
|
+
complete: i != null ? i : void 0
|
|
835
|
+
} : s = r, o.destination = new qr(s), o;
|
|
856
836
|
}
|
|
857
837
|
return t;
|
|
858
|
-
}(
|
|
838
|
+
}(Ft);
|
|
859
839
|
function he(e) {
|
|
860
|
-
|
|
840
|
+
Yr(e);
|
|
861
841
|
}
|
|
862
|
-
function
|
|
842
|
+
function Kr(e) {
|
|
863
843
|
throw e;
|
|
864
844
|
}
|
|
865
|
-
var
|
|
845
|
+
var en = {
|
|
866
846
|
closed: !0,
|
|
867
|
-
next:
|
|
868
|
-
error:
|
|
869
|
-
complete:
|
|
870
|
-
},
|
|
847
|
+
next: ut,
|
|
848
|
+
error: Kr,
|
|
849
|
+
complete: ut
|
|
850
|
+
}, tn = function() {
|
|
871
851
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
872
852
|
}();
|
|
873
|
-
function
|
|
853
|
+
function rn(e) {
|
|
874
854
|
return e;
|
|
875
855
|
}
|
|
876
|
-
function
|
|
877
|
-
return e.length === 0 ?
|
|
856
|
+
function nn(e) {
|
|
857
|
+
return e.length === 0 ? rn : e.length === 1 ? e[0] : function(r) {
|
|
878
858
|
return e.reduce(function(n, i) {
|
|
879
859
|
return i(n);
|
|
880
860
|
}, r);
|
|
881
861
|
};
|
|
882
862
|
}
|
|
883
|
-
var
|
|
863
|
+
var lt = function() {
|
|
884
864
|
function e(t) {
|
|
885
865
|
t && (this._subscribe = t);
|
|
886
866
|
}
|
|
@@ -888,7 +868,7 @@ var ft = function() {
|
|
|
888
868
|
var r = new e();
|
|
889
869
|
return r.source = this, r.operator = t, r;
|
|
890
870
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
891
|
-
var i = this, o =
|
|
871
|
+
var i = this, o = sn(t) ? t : new Fe(t, r, n);
|
|
892
872
|
return de(function() {
|
|
893
873
|
var s = i, a = s.operator, l = s.source;
|
|
894
874
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -901,8 +881,8 @@ var ft = function() {
|
|
|
901
881
|
}
|
|
902
882
|
}, e.prototype.forEach = function(t, r) {
|
|
903
883
|
var n = this;
|
|
904
|
-
return r =
|
|
905
|
-
var s = new
|
|
884
|
+
return r = ht(r), new r(function(i, o) {
|
|
885
|
+
var s = new Fe({
|
|
906
886
|
next: function(a) {
|
|
907
887
|
try {
|
|
908
888
|
t(a);
|
|
@@ -918,15 +898,15 @@ var ft = function() {
|
|
|
918
898
|
}, e.prototype._subscribe = function(t) {
|
|
919
899
|
var r;
|
|
920
900
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
921
|
-
}, e.prototype[
|
|
901
|
+
}, e.prototype[tn] = function() {
|
|
922
902
|
return this;
|
|
923
903
|
}, e.prototype.pipe = function() {
|
|
924
904
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
925
905
|
t[r] = arguments[r];
|
|
926
|
-
return
|
|
906
|
+
return nn(t)(this);
|
|
927
907
|
}, e.prototype.toPromise = function(t) {
|
|
928
908
|
var r = this;
|
|
929
|
-
return t =
|
|
909
|
+
return t = ht(t), new t(function(n, i) {
|
|
930
910
|
var o;
|
|
931
911
|
r.subscribe(function(s) {
|
|
932
912
|
return o = s;
|
|
@@ -940,32 +920,32 @@ var ft = function() {
|
|
|
940
920
|
return new e(t);
|
|
941
921
|
}, e;
|
|
942
922
|
}();
|
|
943
|
-
function
|
|
923
|
+
function ht(e) {
|
|
944
924
|
var t;
|
|
945
|
-
return (t = e != null ? e :
|
|
925
|
+
return (t = e != null ? e : Qr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
946
926
|
}
|
|
947
|
-
function
|
|
927
|
+
function on(e) {
|
|
948
928
|
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
949
929
|
}
|
|
950
|
-
function
|
|
951
|
-
return e && e instanceof
|
|
930
|
+
function sn(e) {
|
|
931
|
+
return e && e instanceof Ft || on(e) && Dt(e);
|
|
952
932
|
}
|
|
953
|
-
var
|
|
933
|
+
var an = Gt(function(e) {
|
|
954
934
|
return function() {
|
|
955
935
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
956
936
|
};
|
|
957
|
-
}),
|
|
937
|
+
}), jt = function(e) {
|
|
958
938
|
$(t, e);
|
|
959
939
|
function t() {
|
|
960
940
|
var r = e.call(this) || this;
|
|
961
941
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
962
942
|
}
|
|
963
943
|
return t.prototype.lift = function(r) {
|
|
964
|
-
var n = new
|
|
944
|
+
var n = new ct(this, this);
|
|
965
945
|
return n.operator = r, n;
|
|
966
946
|
}, t.prototype._throwIfClosed = function() {
|
|
967
947
|
if (this.closed)
|
|
968
|
-
throw new
|
|
948
|
+
throw new an();
|
|
969
949
|
}, t.prototype.next = function(r) {
|
|
970
950
|
var n = this;
|
|
971
951
|
de(function() {
|
|
@@ -973,7 +953,7 @@ var cn = Ft(function(e) {
|
|
|
973
953
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
974
954
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
975
955
|
try {
|
|
976
|
-
for (var s =
|
|
956
|
+
for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
977
957
|
var l = a.value;
|
|
978
958
|
l.next(r);
|
|
979
959
|
}
|
|
@@ -1022,19 +1002,19 @@ var cn = Ft(function(e) {
|
|
|
1022
1002
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1023
1003
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1024
1004
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1025
|
-
return o || s ?
|
|
1026
|
-
n.currentObservers = null,
|
|
1005
|
+
return o || s ? Ut : (this.currentObservers = null, a.push(r), new xe(function() {
|
|
1006
|
+
n.currentObservers = null, De(a, r);
|
|
1027
1007
|
}));
|
|
1028
1008
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1029
1009
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1030
1010
|
i ? r.error(o) : s && r.complete();
|
|
1031
1011
|
}, t.prototype.asObservable = function() {
|
|
1032
|
-
var r = new
|
|
1012
|
+
var r = new lt();
|
|
1033
1013
|
return r.source = this, r;
|
|
1034
1014
|
}, t.create = function(r, n) {
|
|
1035
|
-
return new
|
|
1015
|
+
return new ct(r, n);
|
|
1036
1016
|
}, t;
|
|
1037
|
-
}(
|
|
1017
|
+
}(lt), ct = function(e) {
|
|
1038
1018
|
$(t, e);
|
|
1039
1019
|
function t(r, n) {
|
|
1040
1020
|
var i = e.call(this) || this;
|
|
@@ -1051,17 +1031,17 @@ var cn = Ft(function(e) {
|
|
|
1051
1031
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1052
1032
|
}, t.prototype._subscribe = function(r) {
|
|
1053
1033
|
var n, i;
|
|
1054
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1034
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ut;
|
|
1055
1035
|
}, t;
|
|
1056
|
-
}(
|
|
1036
|
+
}(jt), kt = {
|
|
1057
1037
|
now: function() {
|
|
1058
|
-
return (
|
|
1038
|
+
return (kt.delegate || Date).now();
|
|
1059
1039
|
},
|
|
1060
1040
|
delegate: void 0
|
|
1061
|
-
},
|
|
1041
|
+
}, un = function(e) {
|
|
1062
1042
|
$(t, e);
|
|
1063
1043
|
function t(r, n, i) {
|
|
1064
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1044
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kt);
|
|
1065
1045
|
var o = e.call(this) || this;
|
|
1066
1046
|
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;
|
|
1067
1047
|
}
|
|
@@ -1081,15 +1061,15 @@ var cn = Ft(function(e) {
|
|
|
1081
1061
|
u && o.splice(0, u + 1);
|
|
1082
1062
|
}
|
|
1083
1063
|
}, t;
|
|
1084
|
-
}(
|
|
1085
|
-
const
|
|
1086
|
-
if (
|
|
1087
|
-
const r = new
|
|
1088
|
-
|
|
1064
|
+
}(jt);
|
|
1065
|
+
const ft = [], mt = {}, ln = (e, t = 0) => {
|
|
1066
|
+
if (ft.indexOf(e) == -1) {
|
|
1067
|
+
const r = new un(t);
|
|
1068
|
+
mt[e] = r, ft.push(e);
|
|
1089
1069
|
}
|
|
1090
|
-
return
|
|
1070
|
+
return mt[e];
|
|
1091
1071
|
}, j = [];
|
|
1092
|
-
function
|
|
1072
|
+
function hn(e, t) {
|
|
1093
1073
|
return {
|
|
1094
1074
|
subscribe: _e(e, t).subscribe
|
|
1095
1075
|
};
|
|
@@ -1098,7 +1078,7 @@ function _e(e, t = L) {
|
|
|
1098
1078
|
let r;
|
|
1099
1079
|
const n = /* @__PURE__ */ new Set();
|
|
1100
1080
|
function i(a) {
|
|
1101
|
-
if (
|
|
1081
|
+
if (Nt(e, a) && (e = a, r)) {
|
|
1102
1082
|
const l = !j.length;
|
|
1103
1083
|
for (const u of n)
|
|
1104
1084
|
u[1](), j.push(u, e);
|
|
@@ -1125,7 +1105,7 @@ function q(e, t, r) {
|
|
|
1125
1105
|
if (!i.every(Boolean))
|
|
1126
1106
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1127
1107
|
const o = t.length < 2;
|
|
1128
|
-
return
|
|
1108
|
+
return hn(r, (s, a) => {
|
|
1129
1109
|
let l = !1;
|
|
1130
1110
|
const u = [];
|
|
1131
1111
|
let h = 0, c = L;
|
|
@@ -1134,9 +1114,9 @@ function q(e, t, r) {
|
|
|
1134
1114
|
return;
|
|
1135
1115
|
c();
|
|
1136
1116
|
const d = t(n ? u[0] : u, s, a);
|
|
1137
|
-
o ? s(d) : c =
|
|
1117
|
+
o ? s(d) : c = Je(d) ? d : L;
|
|
1138
1118
|
}, m = i.map(
|
|
1139
|
-
(d, p) =>
|
|
1119
|
+
(d, p) => Mt(
|
|
1140
1120
|
d,
|
|
1141
1121
|
(w) => {
|
|
1142
1122
|
u[p] = w, h &= ~(1 << p), l && f();
|
|
@@ -1151,130 +1131,128 @@ function q(e, t, r) {
|
|
|
1151
1131
|
};
|
|
1152
1132
|
});
|
|
1153
1133
|
}
|
|
1154
|
-
function
|
|
1134
|
+
function cn(e) {
|
|
1155
1135
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1156
1136
|
}
|
|
1157
|
-
var
|
|
1158
|
-
return
|
|
1137
|
+
var fn = function(t) {
|
|
1138
|
+
return mn(t) && !dn(t);
|
|
1159
1139
|
};
|
|
1160
|
-
function
|
|
1140
|
+
function mn(e) {
|
|
1161
1141
|
return !!e && typeof e == "object";
|
|
1162
1142
|
}
|
|
1163
|
-
function
|
|
1143
|
+
function dn(e) {
|
|
1164
1144
|
var t = Object.prototype.toString.call(e);
|
|
1165
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1145
|
+
return t === "[object RegExp]" || t === "[object Date]" || gn(e);
|
|
1166
1146
|
}
|
|
1167
|
-
var
|
|
1168
|
-
function
|
|
1169
|
-
return e.$$typeof ===
|
|
1147
|
+
var pn = typeof Symbol == "function" && Symbol.for, bn = pn ? Symbol.for("react.element") : 60103;
|
|
1148
|
+
function gn(e) {
|
|
1149
|
+
return e.$$typeof === bn;
|
|
1170
1150
|
}
|
|
1171
|
-
function
|
|
1151
|
+
function vn(e) {
|
|
1172
1152
|
return Array.isArray(e) ? [] : {};
|
|
1173
1153
|
}
|
|
1174
1154
|
function oe(e, t) {
|
|
1175
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1155
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? W(vn(e), e, t) : e;
|
|
1176
1156
|
}
|
|
1177
|
-
function
|
|
1157
|
+
function yn(e, t, r) {
|
|
1178
1158
|
return e.concat(t).map(function(n) {
|
|
1179
1159
|
return oe(n, r);
|
|
1180
1160
|
});
|
|
1181
1161
|
}
|
|
1182
|
-
function
|
|
1162
|
+
function xn(e, t) {
|
|
1183
1163
|
if (!t.customMerge)
|
|
1184
|
-
return
|
|
1164
|
+
return W;
|
|
1185
1165
|
var r = t.customMerge(e);
|
|
1186
|
-
return typeof r == "function" ? r :
|
|
1166
|
+
return typeof r == "function" ? r : W;
|
|
1187
1167
|
}
|
|
1188
|
-
function
|
|
1168
|
+
function _n(e) {
|
|
1189
1169
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1190
1170
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1191
1171
|
}) : [];
|
|
1192
1172
|
}
|
|
1193
|
-
function
|
|
1194
|
-
return Object.keys(e).concat(
|
|
1173
|
+
function dt(e) {
|
|
1174
|
+
return Object.keys(e).concat(_n(e));
|
|
1195
1175
|
}
|
|
1196
|
-
function
|
|
1176
|
+
function Vt(e, t) {
|
|
1197
1177
|
try {
|
|
1198
1178
|
return t in e;
|
|
1199
1179
|
} catch (r) {
|
|
1200
1180
|
return !1;
|
|
1201
1181
|
}
|
|
1202
1182
|
}
|
|
1203
|
-
function
|
|
1204
|
-
return
|
|
1183
|
+
function En(e, t) {
|
|
1184
|
+
return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1205
1185
|
}
|
|
1206
|
-
function
|
|
1186
|
+
function Sn(e, t, r) {
|
|
1207
1187
|
var n = {};
|
|
1208
|
-
return r.isMergeableObject(e) &&
|
|
1188
|
+
return r.isMergeableObject(e) && dt(e).forEach(function(i) {
|
|
1209
1189
|
n[i] = oe(e[i], r);
|
|
1210
|
-
}),
|
|
1211
|
-
|
|
1190
|
+
}), dt(t).forEach(function(i) {
|
|
1191
|
+
En(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = xn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1212
1192
|
}), n;
|
|
1213
1193
|
}
|
|
1214
|
-
function
|
|
1215
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1194
|
+
function W(e, t, r) {
|
|
1195
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || fn, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1216
1196
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1217
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1197
|
+
return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : oe(t, r);
|
|
1218
1198
|
}
|
|
1219
|
-
|
|
1199
|
+
W.all = function(t, r) {
|
|
1220
1200
|
if (!Array.isArray(t))
|
|
1221
1201
|
throw new Error("first argument should be an array");
|
|
1222
1202
|
return t.reduce(function(n, i) {
|
|
1223
|
-
return
|
|
1203
|
+
return W(n, i, r);
|
|
1224
1204
|
}, {});
|
|
1225
1205
|
};
|
|
1226
|
-
var
|
|
1227
|
-
const
|
|
1228
|
-
function
|
|
1229
|
-
var r = t && t.cache ? t.cache :
|
|
1206
|
+
var wn = W, Tn = wn;
|
|
1207
|
+
const Hn = /* @__PURE__ */ cn(Tn);
|
|
1208
|
+
function Ae(e, t) {
|
|
1209
|
+
var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : On, i = t && t.strategy ? t.strategy : Cn;
|
|
1230
1210
|
return i(e, {
|
|
1231
1211
|
cache: r,
|
|
1232
1212
|
serializer: n
|
|
1233
1213
|
});
|
|
1234
1214
|
}
|
|
1235
|
-
function
|
|
1215
|
+
function Bn(e) {
|
|
1236
1216
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1237
1217
|
}
|
|
1238
|
-
function
|
|
1239
|
-
var i =
|
|
1218
|
+
function An(e, t, r, n) {
|
|
1219
|
+
var i = Bn(n) ? n : r(n), o = t.get(i);
|
|
1240
1220
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1241
1221
|
}
|
|
1242
|
-
function
|
|
1222
|
+
function Xt(e, t, r) {
|
|
1243
1223
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1244
1224
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1245
1225
|
}
|
|
1246
|
-
function
|
|
1226
|
+
function Wt(e, t, r, n, i) {
|
|
1247
1227
|
return r.bind(t, e, n, i);
|
|
1248
1228
|
}
|
|
1249
|
-
function
|
|
1250
|
-
var r = e.length === 1 ?
|
|
1251
|
-
return
|
|
1252
|
-
}
|
|
1253
|
-
function Mn(e, t) {
|
|
1254
|
-
return qe(e, this, Jt, t.cache.create(), t.serializer);
|
|
1229
|
+
function Cn(e, t) {
|
|
1230
|
+
var r = e.length === 1 ? An : Xt;
|
|
1231
|
+
return Wt(e, this, r, t.cache.create(), t.serializer);
|
|
1255
1232
|
}
|
|
1256
|
-
function
|
|
1257
|
-
return
|
|
1233
|
+
function Pn(e, t) {
|
|
1234
|
+
return Wt(e, this, Xt, t.cache.create(), t.serializer);
|
|
1258
1235
|
}
|
|
1259
|
-
var
|
|
1236
|
+
var On = function() {
|
|
1260
1237
|
return JSON.stringify(arguments);
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1238
|
+
}, In = (
|
|
1239
|
+
/** @class */
|
|
1240
|
+
function() {
|
|
1241
|
+
function e() {
|
|
1242
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1243
|
+
}
|
|
1244
|
+
return e.prototype.get = function(t) {
|
|
1245
|
+
return this.cache[t];
|
|
1246
|
+
}, e.prototype.set = function(t, r) {
|
|
1247
|
+
this.cache[t] = r;
|
|
1248
|
+
}, e;
|
|
1249
|
+
}()
|
|
1250
|
+
), Nn = {
|
|
1272
1251
|
create: function() {
|
|
1273
|
-
return new
|
|
1252
|
+
return new In();
|
|
1274
1253
|
}
|
|
1275
|
-
},
|
|
1276
|
-
variadic:
|
|
1277
|
-
monadic: Nn
|
|
1254
|
+
}, Ce = {
|
|
1255
|
+
variadic: Pn
|
|
1278
1256
|
}, b;
|
|
1279
1257
|
(function(e) {
|
|
1280
1258
|
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";
|
|
@@ -1283,47 +1261,47 @@ var S;
|
|
|
1283
1261
|
(function(e) {
|
|
1284
1262
|
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";
|
|
1285
1263
|
})(S || (S = {}));
|
|
1286
|
-
var
|
|
1264
|
+
var z;
|
|
1287
1265
|
(function(e) {
|
|
1288
1266
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1289
|
-
})(
|
|
1290
|
-
function
|
|
1267
|
+
})(z || (z = {}));
|
|
1268
|
+
function pt(e) {
|
|
1291
1269
|
return e.type === S.literal;
|
|
1292
1270
|
}
|
|
1293
|
-
function
|
|
1271
|
+
function Mn(e) {
|
|
1294
1272
|
return e.type === S.argument;
|
|
1295
1273
|
}
|
|
1296
|
-
function
|
|
1274
|
+
function zt(e) {
|
|
1297
1275
|
return e.type === S.number;
|
|
1298
1276
|
}
|
|
1299
|
-
function
|
|
1277
|
+
function Zt(e) {
|
|
1300
1278
|
return e.type === S.date;
|
|
1301
1279
|
}
|
|
1302
|
-
function
|
|
1280
|
+
function Qt(e) {
|
|
1303
1281
|
return e.type === S.time;
|
|
1304
1282
|
}
|
|
1305
|
-
function
|
|
1283
|
+
function Jt(e) {
|
|
1306
1284
|
return e.type === S.select;
|
|
1307
1285
|
}
|
|
1308
|
-
function
|
|
1286
|
+
function Yt(e) {
|
|
1309
1287
|
return e.type === S.plural;
|
|
1310
1288
|
}
|
|
1311
|
-
function
|
|
1289
|
+
function Ln(e) {
|
|
1312
1290
|
return e.type === S.pound;
|
|
1313
1291
|
}
|
|
1314
|
-
function
|
|
1292
|
+
function qt(e) {
|
|
1315
1293
|
return e.type === S.tag;
|
|
1316
1294
|
}
|
|
1317
|
-
function
|
|
1318
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1295
|
+
function Kt(e) {
|
|
1296
|
+
return !!(e && typeof e == "object" && e.type === z.number);
|
|
1319
1297
|
}
|
|
1320
|
-
function
|
|
1321
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1298
|
+
function je(e) {
|
|
1299
|
+
return !!(e && typeof e == "object" && e.type === z.dateTime);
|
|
1322
1300
|
}
|
|
1323
|
-
var
|
|
1324
|
-
function
|
|
1301
|
+
var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
|
|
1302
|
+
function $n(e) {
|
|
1325
1303
|
var t = {};
|
|
1326
|
-
return e.replace(
|
|
1304
|
+
return e.replace(Rn, function(r) {
|
|
1327
1305
|
var n = r.length;
|
|
1328
1306
|
switch (r[0]) {
|
|
1329
1307
|
case "G":
|
|
@@ -1412,11 +1390,11 @@ function Dn(e) {
|
|
|
1412
1390
|
return "";
|
|
1413
1391
|
}), t;
|
|
1414
1392
|
}
|
|
1415
|
-
var
|
|
1416
|
-
function
|
|
1393
|
+
var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1394
|
+
function Un(e) {
|
|
1417
1395
|
if (e.length === 0)
|
|
1418
1396
|
throw new Error("Number skeleton cannot be empty");
|
|
1419
|
-
for (var t = e.split(
|
|
1397
|
+
for (var t = e.split(Gn).filter(function(f) {
|
|
1420
1398
|
return f.length > 0;
|
|
1421
1399
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1422
1400
|
var o = i[n], s = o.split("/");
|
|
@@ -1431,17 +1409,17 @@ function jn(e) {
|
|
|
1431
1409
|
}
|
|
1432
1410
|
return r;
|
|
1433
1411
|
}
|
|
1434
|
-
function
|
|
1412
|
+
function Dn(e) {
|
|
1435
1413
|
return e.replace(/^(.*?)-/, "");
|
|
1436
1414
|
}
|
|
1437
|
-
var
|
|
1438
|
-
function
|
|
1415
|
+
var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
|
|
1416
|
+
function gt(e) {
|
|
1439
1417
|
var t = {};
|
|
1440
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1418
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
|
|
1441
1419
|
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)), "";
|
|
1442
1420
|
}), t;
|
|
1443
1421
|
}
|
|
1444
|
-
function
|
|
1422
|
+
function nr(e) {
|
|
1445
1423
|
switch (e) {
|
|
1446
1424
|
case "sign-auto":
|
|
1447
1425
|
return {
|
|
@@ -1481,7 +1459,7 @@ function ar(e) {
|
|
|
1481
1459
|
};
|
|
1482
1460
|
}
|
|
1483
1461
|
}
|
|
1484
|
-
function
|
|
1462
|
+
function jn(e) {
|
|
1485
1463
|
var t;
|
|
1486
1464
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1487
1465
|
notation: "engineering"
|
|
@@ -1489,17 +1467,17 @@ function Xn(e) {
|
|
|
1489
1467
|
notation: "scientific"
|
|
1490
1468
|
}, e = e.slice(1)), t) {
|
|
1491
1469
|
var r = e.slice(0, 2);
|
|
1492
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1470
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
|
|
1493
1471
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1494
1472
|
t.minimumIntegerDigits = e.length;
|
|
1495
1473
|
}
|
|
1496
1474
|
return t;
|
|
1497
1475
|
}
|
|
1498
|
-
function
|
|
1499
|
-
var t = {}, r =
|
|
1476
|
+
function vt(e) {
|
|
1477
|
+
var t = {}, r = nr(e);
|
|
1500
1478
|
return r || t;
|
|
1501
1479
|
}
|
|
1502
|
-
function
|
|
1480
|
+
function kn(e) {
|
|
1503
1481
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1504
1482
|
var i = n[r];
|
|
1505
1483
|
switch (i.stem) {
|
|
@@ -1523,7 +1501,7 @@ function zn(e) {
|
|
|
1523
1501
|
continue;
|
|
1524
1502
|
case "measure-unit":
|
|
1525
1503
|
case "unit":
|
|
1526
|
-
t.style = "unit", t.unit =
|
|
1504
|
+
t.style = "unit", t.unit = Dn(i.options[0]);
|
|
1527
1505
|
continue;
|
|
1528
1506
|
case "compact-short":
|
|
1529
1507
|
case "K":
|
|
@@ -1535,12 +1513,12 @@ function zn(e) {
|
|
|
1535
1513
|
continue;
|
|
1536
1514
|
case "scientific":
|
|
1537
1515
|
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1538
|
-
return y(y({}, l),
|
|
1516
|
+
return y(y({}, l), vt(u));
|
|
1539
1517
|
}, {}));
|
|
1540
1518
|
continue;
|
|
1541
1519
|
case "engineering":
|
|
1542
1520
|
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1543
|
-
return y(y({}, l),
|
|
1521
|
+
return y(y({}, l), vt(u));
|
|
1544
1522
|
}, {}));
|
|
1545
1523
|
continue;
|
|
1546
1524
|
case "notation-simple":
|
|
@@ -1585,7 +1563,7 @@ function zn(e) {
|
|
|
1585
1563
|
case "integer-width":
|
|
1586
1564
|
if (i.options.length > 1)
|
|
1587
1565
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1588
|
-
i.options[0].replace(
|
|
1566
|
+
i.options[0].replace(Fn, function(l, u, h, c, f, m) {
|
|
1589
1567
|
if (u)
|
|
1590
1568
|
t.minimumIntegerDigits = h.length;
|
|
1591
1569
|
else {
|
|
@@ -1598,27 +1576,27 @@ function zn(e) {
|
|
|
1598
1576
|
});
|
|
1599
1577
|
continue;
|
|
1600
1578
|
}
|
|
1601
|
-
if (
|
|
1579
|
+
if (rr.test(i.stem)) {
|
|
1602
1580
|
t.minimumIntegerDigits = i.stem.length;
|
|
1603
1581
|
continue;
|
|
1604
1582
|
}
|
|
1605
|
-
if (
|
|
1583
|
+
if (bt.test(i.stem)) {
|
|
1606
1584
|
if (i.options.length > 1)
|
|
1607
1585
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1608
|
-
i.stem.replace(
|
|
1586
|
+
i.stem.replace(bt, function(l, u, h, c, f, m) {
|
|
1609
1587
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1610
1588
|
});
|
|
1611
1589
|
var o = i.options[0];
|
|
1612
|
-
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t),
|
|
1590
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), gt(o)));
|
|
1613
1591
|
continue;
|
|
1614
1592
|
}
|
|
1615
|
-
if (
|
|
1616
|
-
t = y(y({}, t),
|
|
1593
|
+
if (tr.test(i.stem)) {
|
|
1594
|
+
t = y(y({}, t), gt(i.stem));
|
|
1617
1595
|
continue;
|
|
1618
1596
|
}
|
|
1619
|
-
var s =
|
|
1597
|
+
var s = nr(i.stem);
|
|
1620
1598
|
s && (t = y(y({}, t), s));
|
|
1621
|
-
var a =
|
|
1599
|
+
var a = jn(i.stem);
|
|
1622
1600
|
a && (t = y(y({}, t), a));
|
|
1623
1601
|
}
|
|
1624
1602
|
return t;
|
|
@@ -3038,13 +3016,13 @@ var ce = {
|
|
|
3038
3016
|
"h"
|
|
3039
3017
|
]
|
|
3040
3018
|
};
|
|
3041
|
-
function
|
|
3019
|
+
function Vn(e, t) {
|
|
3042
3020
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3043
3021
|
var i = e.charAt(n);
|
|
3044
3022
|
if (i === "j") {
|
|
3045
3023
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3046
3024
|
o++, n++;
|
|
3047
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3025
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Xn(t);
|
|
3048
3026
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3049
3027
|
r += l;
|
|
3050
3028
|
for (; s-- > 0; )
|
|
@@ -3054,7 +3032,7 @@ function Wn(e, t) {
|
|
|
3054
3032
|
}
|
|
3055
3033
|
return r;
|
|
3056
3034
|
}
|
|
3057
|
-
function
|
|
3035
|
+
function Xn(e) {
|
|
3058
3036
|
var t = e.hourCycle;
|
|
3059
3037
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3060
3038
|
e.hourCycles && // @ts-ignore
|
|
@@ -3076,20 +3054,20 @@ function Zn(e) {
|
|
|
3076
3054
|
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
3077
3055
|
return i[0];
|
|
3078
3056
|
}
|
|
3079
|
-
var
|
|
3057
|
+
var Pe, Wn = new RegExp("^".concat(er.source, "*")), zn = new RegExp("".concat(er.source, "*$"));
|
|
3080
3058
|
function v(e, t) {
|
|
3081
3059
|
return { start: e, end: t };
|
|
3082
3060
|
}
|
|
3083
|
-
var
|
|
3061
|
+
var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, Yn = !!String.prototype.codePointAt, qn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
|
|
3084
3062
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3085
|
-
},
|
|
3063
|
+
}, ke = !0;
|
|
3086
3064
|
try {
|
|
3087
|
-
var
|
|
3088
|
-
|
|
3065
|
+
var ri = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3066
|
+
ke = ((Pe = ri.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
|
|
3089
3067
|
} catch (e) {
|
|
3090
|
-
|
|
3068
|
+
ke = !1;
|
|
3091
3069
|
}
|
|
3092
|
-
var
|
|
3070
|
+
var yt = Zn ? (
|
|
3093
3071
|
// Native
|
|
3094
3072
|
function(t, r, n) {
|
|
3095
3073
|
return t.startsWith(r, n);
|
|
@@ -3099,7 +3077,7 @@ var Et = Yn ? (
|
|
|
3099
3077
|
function(t, r, n) {
|
|
3100
3078
|
return t.slice(n, n + r.length) === r;
|
|
3101
3079
|
}
|
|
3102
|
-
),
|
|
3080
|
+
), Ve = Qn ? String.fromCodePoint : (
|
|
3103
3081
|
// IE11
|
|
3104
3082
|
function() {
|
|
3105
3083
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3111,9 +3089,9 @@ var Et = Yn ? (
|
|
|
3111
3089
|
}
|
|
3112
3090
|
return n;
|
|
3113
3091
|
}
|
|
3114
|
-
),
|
|
3092
|
+
), xt = (
|
|
3115
3093
|
// native
|
|
3116
|
-
|
|
3094
|
+
Jn ? Object.fromEntries : (
|
|
3117
3095
|
// Ponyfill
|
|
3118
3096
|
function(t) {
|
|
3119
3097
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3123,7 +3101,7 @@ var Et = Yn ? (
|
|
|
3123
3101
|
return r;
|
|
3124
3102
|
}
|
|
3125
3103
|
)
|
|
3126
|
-
),
|
|
3104
|
+
), ir = Yn ? (
|
|
3127
3105
|
// Native
|
|
3128
3106
|
function(t, r) {
|
|
3129
3107
|
return t.codePointAt(r);
|
|
@@ -3137,7 +3115,7 @@ var Et = Yn ? (
|
|
|
3137
3115
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3138
3116
|
}
|
|
3139
3117
|
}
|
|
3140
|
-
),
|
|
3118
|
+
), ni = qn ? (
|
|
3141
3119
|
// Native
|
|
3142
3120
|
function(t) {
|
|
3143
3121
|
return t.trimStart();
|
|
@@ -3145,9 +3123,9 @@ var Et = Yn ? (
|
|
|
3145
3123
|
) : (
|
|
3146
3124
|
// Ponyfill
|
|
3147
3125
|
function(t) {
|
|
3148
|
-
return t.replace(
|
|
3126
|
+
return t.replace(Wn, "");
|
|
3149
3127
|
}
|
|
3150
|
-
),
|
|
3128
|
+
), ii = Kn ? (
|
|
3151
3129
|
// Native
|
|
3152
3130
|
function(t) {
|
|
3153
3131
|
return t.trimEnd();
|
|
@@ -3155,32 +3133,32 @@ var Et = Yn ? (
|
|
|
3155
3133
|
) : (
|
|
3156
3134
|
// Ponyfill
|
|
3157
3135
|
function(t) {
|
|
3158
|
-
return t.replace(
|
|
3136
|
+
return t.replace(zn, "");
|
|
3159
3137
|
}
|
|
3160
3138
|
);
|
|
3161
|
-
function
|
|
3139
|
+
function or(e, t) {
|
|
3162
3140
|
return new RegExp(e, t);
|
|
3163
3141
|
}
|
|
3164
|
-
var
|
|
3165
|
-
if (
|
|
3166
|
-
var
|
|
3167
|
-
|
|
3142
|
+
var Xe;
|
|
3143
|
+
if (ke) {
|
|
3144
|
+
var _t = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3145
|
+
Xe = function(t, r) {
|
|
3168
3146
|
var n;
|
|
3169
|
-
|
|
3170
|
-
var i =
|
|
3147
|
+
_t.lastIndex = r;
|
|
3148
|
+
var i = _t.exec(t);
|
|
3171
3149
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3172
3150
|
};
|
|
3173
3151
|
} else
|
|
3174
|
-
|
|
3152
|
+
Xe = function(t, r) {
|
|
3175
3153
|
for (var n = []; ; ) {
|
|
3176
|
-
var i =
|
|
3177
|
-
if (i === void 0 ||
|
|
3154
|
+
var i = ir(t, r);
|
|
3155
|
+
if (i === void 0 || sr(i) || ui(i))
|
|
3178
3156
|
break;
|
|
3179
3157
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3180
3158
|
}
|
|
3181
|
-
return
|
|
3159
|
+
return Ve.apply(void 0, n);
|
|
3182
3160
|
};
|
|
3183
|
-
var
|
|
3161
|
+
var oi = (
|
|
3184
3162
|
/** @class */
|
|
3185
3163
|
function() {
|
|
3186
3164
|
function e(t, r) {
|
|
@@ -3262,7 +3240,7 @@ var ui = (
|
|
|
3262
3240
|
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
3263
3241
|
}, e.prototype.parseTagName = function() {
|
|
3264
3242
|
var t = this.offset();
|
|
3265
|
-
for (this.bump(); !this.isEOF() &&
|
|
3243
|
+
for (this.bump(); !this.isEOF() && ai(this.char()); )
|
|
3266
3244
|
this.bump();
|
|
3267
3245
|
return this.message.slice(t, this.offset());
|
|
3268
3246
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3291,7 +3269,7 @@ var ui = (
|
|
|
3291
3269
|
};
|
|
3292
3270
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3293
3271
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3294
|
-
!
|
|
3272
|
+
!si(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3295
3273
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3296
3274
|
if (this.isEOF() || this.char() !== 39)
|
|
3297
3275
|
return null;
|
|
@@ -3325,12 +3303,12 @@ var ui = (
|
|
|
3325
3303
|
r.push(n);
|
|
3326
3304
|
this.bump();
|
|
3327
3305
|
}
|
|
3328
|
-
return
|
|
3306
|
+
return Ve.apply(void 0, r);
|
|
3329
3307
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3330
3308
|
if (this.isEOF())
|
|
3331
3309
|
return null;
|
|
3332
3310
|
var n = this.char();
|
|
3333
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3311
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
|
|
3334
3312
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3335
3313
|
var n = this.clonePosition();
|
|
3336
3314
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3359,7 +3337,7 @@ var ui = (
|
|
|
3359
3337
|
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3360
3338
|
}
|
|
3361
3339
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3362
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3340
|
+
var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
|
|
3363
3341
|
this.bumpTo(i);
|
|
3364
3342
|
var o = this.clonePosition(), s = v(t, o);
|
|
3365
3343
|
return { value: n, location: s };
|
|
@@ -3378,7 +3356,7 @@ var ui = (
|
|
|
3378
3356
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3379
3357
|
if (c.err)
|
|
3380
3358
|
return c;
|
|
3381
|
-
var f =
|
|
3359
|
+
var f = ii(c.val);
|
|
3382
3360
|
if (f.length === 0)
|
|
3383
3361
|
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3384
3362
|
var m = v(h, this.clonePosition());
|
|
@@ -3388,8 +3366,8 @@ var ui = (
|
|
|
3388
3366
|
if (d.err)
|
|
3389
3367
|
return d;
|
|
3390
3368
|
var p = v(i, this.clonePosition());
|
|
3391
|
-
if (u &&
|
|
3392
|
-
var w =
|
|
3369
|
+
if (u && yt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3370
|
+
var w = ni(u.style.slice(2));
|
|
3393
3371
|
if (a === "number") {
|
|
3394
3372
|
var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3395
3373
|
return c.err ? c : {
|
|
@@ -3399,13 +3377,13 @@ var ui = (
|
|
|
3399
3377
|
} else {
|
|
3400
3378
|
if (w.length === 0)
|
|
3401
3379
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
|
|
3402
|
-
var
|
|
3403
|
-
this.locale && (
|
|
3380
|
+
var N = w;
|
|
3381
|
+
this.locale && (N = Vn(w, this.locale));
|
|
3404
3382
|
var f = {
|
|
3405
|
-
type:
|
|
3406
|
-
pattern:
|
|
3383
|
+
type: z.dateTime,
|
|
3384
|
+
pattern: N,
|
|
3407
3385
|
location: u.styleLocation,
|
|
3408
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3386
|
+
parsedOptions: this.shouldParseSkeletons ? $n(N) : {}
|
|
3409
3387
|
}, C = a === "date" ? S.date : S.time;
|
|
3410
3388
|
return {
|
|
3411
3389
|
val: { type: C, value: n, location: p, style: f },
|
|
@@ -3451,7 +3429,7 @@ var ui = (
|
|
|
3451
3429
|
val: {
|
|
3452
3430
|
type: S.select,
|
|
3453
3431
|
value: n,
|
|
3454
|
-
options:
|
|
3432
|
+
options: xt(x.val),
|
|
3455
3433
|
location: P
|
|
3456
3434
|
},
|
|
3457
3435
|
err: null
|
|
@@ -3459,7 +3437,7 @@ var ui = (
|
|
|
3459
3437
|
val: {
|
|
3460
3438
|
type: S.plural,
|
|
3461
3439
|
value: n,
|
|
3462
|
-
options:
|
|
3440
|
+
options: xt(x.val),
|
|
3463
3441
|
offset: E,
|
|
3464
3442
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3465
3443
|
location: P
|
|
@@ -3510,16 +3488,16 @@ var ui = (
|
|
|
3510
3488
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3511
3489
|
var n = [];
|
|
3512
3490
|
try {
|
|
3513
|
-
n =
|
|
3491
|
+
n = Un(t);
|
|
3514
3492
|
} catch (i) {
|
|
3515
3493
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3516
3494
|
}
|
|
3517
3495
|
return {
|
|
3518
3496
|
val: {
|
|
3519
|
-
type:
|
|
3497
|
+
type: z.number,
|
|
3520
3498
|
tokens: n,
|
|
3521
3499
|
location: r,
|
|
3522
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3500
|
+
parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
|
|
3523
3501
|
},
|
|
3524
3502
|
err: null
|
|
3525
3503
|
};
|
|
@@ -3567,7 +3545,7 @@ var ui = (
|
|
|
3567
3545
|
break;
|
|
3568
3546
|
}
|
|
3569
3547
|
var l = v(i, this.clonePosition());
|
|
3570
|
-
return o ? (s *= n,
|
|
3548
|
+
return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3571
3549
|
}, e.prototype.offset = function() {
|
|
3572
3550
|
return this.position.offset;
|
|
3573
3551
|
}, e.prototype.isEOF = function() {
|
|
@@ -3582,7 +3560,7 @@ var ui = (
|
|
|
3582
3560
|
var t = this.position.offset;
|
|
3583
3561
|
if (t >= this.message.length)
|
|
3584
3562
|
throw Error("out of bound");
|
|
3585
|
-
var r =
|
|
3563
|
+
var r = ir(this.message, t);
|
|
3586
3564
|
if (r === void 0)
|
|
3587
3565
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3588
3566
|
return r;
|
|
@@ -3601,7 +3579,7 @@ var ui = (
|
|
|
3601
3579
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3602
3580
|
}
|
|
3603
3581
|
}, e.prototype.bumpIf = function(t) {
|
|
3604
|
-
if (
|
|
3582
|
+
if (yt(this.message, t, this.offset())) {
|
|
3605
3583
|
for (var r = 0; r < t.length; r++)
|
|
3606
3584
|
this.bump();
|
|
3607
3585
|
return !0;
|
|
@@ -3623,7 +3601,7 @@ var ui = (
|
|
|
3623
3601
|
break;
|
|
3624
3602
|
}
|
|
3625
3603
|
}, e.prototype.bumpSpace = function() {
|
|
3626
|
-
for (; !this.isEOF() &&
|
|
3604
|
+
for (; !this.isEOF() && sr(this.char()); )
|
|
3627
3605
|
this.bump();
|
|
3628
3606
|
}, e.prototype.peek = function() {
|
|
3629
3607
|
if (this.isEOF())
|
|
@@ -3636,35 +3614,35 @@ var ui = (
|
|
|
3636
3614
|
function We(e) {
|
|
3637
3615
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3638
3616
|
}
|
|
3639
|
-
function
|
|
3617
|
+
function si(e) {
|
|
3640
3618
|
return We(e) || e === 47;
|
|
3641
3619
|
}
|
|
3642
|
-
function
|
|
3620
|
+
function ai(e) {
|
|
3643
3621
|
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;
|
|
3644
3622
|
}
|
|
3645
|
-
function
|
|
3623
|
+
function sr(e) {
|
|
3646
3624
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3647
3625
|
}
|
|
3648
|
-
function
|
|
3626
|
+
function ui(e) {
|
|
3649
3627
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3650
3628
|
}
|
|
3651
|
-
function
|
|
3629
|
+
function ze(e) {
|
|
3652
3630
|
e.forEach(function(t) {
|
|
3653
|
-
if (delete t.location,
|
|
3631
|
+
if (delete t.location, Jt(t) || Yt(t))
|
|
3654
3632
|
for (var r in t.options)
|
|
3655
|
-
delete t.options[r].location,
|
|
3633
|
+
delete t.options[r].location, ze(t.options[r].value);
|
|
3656
3634
|
else
|
|
3657
|
-
|
|
3635
|
+
zt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && je(t.style) ? delete t.style.location : qt(t) && ze(t.children);
|
|
3658
3636
|
});
|
|
3659
3637
|
}
|
|
3660
|
-
function
|
|
3638
|
+
function li(e, t) {
|
|
3661
3639
|
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3662
|
-
var r = new
|
|
3640
|
+
var r = new oi(e, t).parse();
|
|
3663
3641
|
if (r.err) {
|
|
3664
3642
|
var n = SyntaxError(b[r.err.kind]);
|
|
3665
3643
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3666
3644
|
}
|
|
3667
|
-
return t != null && t.captureLocation ||
|
|
3645
|
+
return t != null && t.captureLocation || ze(r.val), r.val;
|
|
3668
3646
|
}
|
|
3669
3647
|
var Z;
|
|
3670
3648
|
(function(e) {
|
|
@@ -3682,7 +3660,7 @@ var Ee = (
|
|
|
3682
3660
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3683
3661
|
}, t;
|
|
3684
3662
|
}(Error)
|
|
3685
|
-
),
|
|
3663
|
+
), Et = (
|
|
3686
3664
|
/** @class */
|
|
3687
3665
|
function(e) {
|
|
3688
3666
|
$(t, e);
|
|
@@ -3691,7 +3669,7 @@ var Ee = (
|
|
|
3691
3669
|
}
|
|
3692
3670
|
return t;
|
|
3693
3671
|
}(Ee)
|
|
3694
|
-
),
|
|
3672
|
+
), hi = (
|
|
3695
3673
|
/** @class */
|
|
3696
3674
|
function(e) {
|
|
3697
3675
|
$(t, e);
|
|
@@ -3700,7 +3678,7 @@ var Ee = (
|
|
|
3700
3678
|
}
|
|
3701
3679
|
return t;
|
|
3702
3680
|
}(Ee)
|
|
3703
|
-
),
|
|
3681
|
+
), ci = (
|
|
3704
3682
|
/** @class */
|
|
3705
3683
|
function(e) {
|
|
3706
3684
|
$(t, e);
|
|
@@ -3713,17 +3691,17 @@ var Ee = (
|
|
|
3713
3691
|
(function(e) {
|
|
3714
3692
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3715
3693
|
})(A || (A = {}));
|
|
3716
|
-
function
|
|
3694
|
+
function fi(e) {
|
|
3717
3695
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3718
3696
|
var n = t[t.length - 1];
|
|
3719
3697
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3720
3698
|
}, []);
|
|
3721
3699
|
}
|
|
3722
|
-
function
|
|
3700
|
+
function mi(e) {
|
|
3723
3701
|
return typeof e == "function";
|
|
3724
3702
|
}
|
|
3725
3703
|
function pe(e, t, r, n, i, o, s) {
|
|
3726
|
-
if (e.length === 1 &&
|
|
3704
|
+
if (e.length === 1 && pt(e[0]))
|
|
3727
3705
|
return [
|
|
3728
3706
|
{
|
|
3729
3707
|
type: A.literal,
|
|
@@ -3732,14 +3710,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3732
3710
|
];
|
|
3733
3711
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3734
3712
|
var h = u[l];
|
|
3735
|
-
if (
|
|
3713
|
+
if (pt(h)) {
|
|
3736
3714
|
a.push({
|
|
3737
3715
|
type: A.literal,
|
|
3738
3716
|
value: h.value
|
|
3739
3717
|
});
|
|
3740
3718
|
continue;
|
|
3741
3719
|
}
|
|
3742
|
-
if (
|
|
3720
|
+
if (Ln(h)) {
|
|
3743
3721
|
typeof o == "number" && a.push({
|
|
3744
3722
|
type: A.literal,
|
|
3745
3723
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3748,44 +3726,44 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3748
3726
|
}
|
|
3749
3727
|
var c = h.value;
|
|
3750
3728
|
if (!(i && c in i))
|
|
3751
|
-
throw new
|
|
3729
|
+
throw new ci(c, s);
|
|
3752
3730
|
var f = i[c];
|
|
3753
|
-
if (
|
|
3731
|
+
if (Mn(h)) {
|
|
3754
3732
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3755
3733
|
type: typeof f == "string" ? A.literal : A.object,
|
|
3756
3734
|
value: f
|
|
3757
3735
|
});
|
|
3758
3736
|
continue;
|
|
3759
3737
|
}
|
|
3760
|
-
if (
|
|
3761
|
-
var m = typeof h.style == "string" ? n.date[h.style] :
|
|
3738
|
+
if (Zt(h)) {
|
|
3739
|
+
var m = typeof h.style == "string" ? n.date[h.style] : je(h.style) ? h.style.parsedOptions : void 0;
|
|
3762
3740
|
a.push({
|
|
3763
3741
|
type: A.literal,
|
|
3764
3742
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3765
3743
|
});
|
|
3766
3744
|
continue;
|
|
3767
3745
|
}
|
|
3768
|
-
if (
|
|
3769
|
-
var m = typeof h.style == "string" ? n.time[h.style] :
|
|
3746
|
+
if (Qt(h)) {
|
|
3747
|
+
var m = typeof h.style == "string" ? n.time[h.style] : je(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3770
3748
|
a.push({
|
|
3771
3749
|
type: A.literal,
|
|
3772
3750
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3773
3751
|
});
|
|
3774
3752
|
continue;
|
|
3775
3753
|
}
|
|
3776
|
-
if (
|
|
3777
|
-
var m = typeof h.style == "string" ? n.number[h.style] :
|
|
3754
|
+
if (zt(h)) {
|
|
3755
|
+
var m = typeof h.style == "string" ? n.number[h.style] : Kt(h.style) ? h.style.parsedOptions : void 0;
|
|
3778
3756
|
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3779
3757
|
type: A.literal,
|
|
3780
3758
|
value: r.getNumberFormat(t, m).format(f)
|
|
3781
3759
|
});
|
|
3782
3760
|
continue;
|
|
3783
3761
|
}
|
|
3784
|
-
if (
|
|
3762
|
+
if (qt(h)) {
|
|
3785
3763
|
var d = h.children, p = h.value, w = i[p];
|
|
3786
|
-
if (!
|
|
3787
|
-
throw new
|
|
3788
|
-
var
|
|
3764
|
+
if (!mi(w))
|
|
3765
|
+
throw new hi(p, "function", s);
|
|
3766
|
+
var N = pe(d, t, r, n, i, o), C = w(N.map(function(E) {
|
|
3789
3767
|
return E.value;
|
|
3790
3768
|
}));
|
|
3791
3769
|
Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(E) {
|
|
@@ -3795,14 +3773,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3795
3773
|
};
|
|
3796
3774
|
}));
|
|
3797
3775
|
}
|
|
3798
|
-
if (
|
|
3776
|
+
if (Jt(h)) {
|
|
3799
3777
|
var T = h.options[f] || h.options.other;
|
|
3800
3778
|
if (!T)
|
|
3801
|
-
throw new
|
|
3779
|
+
throw new Et(h.value, f, Object.keys(h.options), s);
|
|
3802
3780
|
a.push.apply(a, pe(T.value, t, r, n, i));
|
|
3803
3781
|
continue;
|
|
3804
3782
|
}
|
|
3805
|
-
if (
|
|
3783
|
+
if (Yt(h)) {
|
|
3806
3784
|
var T = h.options["=".concat(f)];
|
|
3807
3785
|
if (!T) {
|
|
3808
3786
|
if (!Intl.PluralRules)
|
|
@@ -3813,24 +3791,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3813
3791
|
T = h.options[_] || h.options.other;
|
|
3814
3792
|
}
|
|
3815
3793
|
if (!T)
|
|
3816
|
-
throw new
|
|
3794
|
+
throw new Et(h.value, f, Object.keys(h.options), s);
|
|
3817
3795
|
a.push.apply(a, pe(T.value, t, r, n, i, f - (h.offset || 0)));
|
|
3818
3796
|
continue;
|
|
3819
3797
|
}
|
|
3820
3798
|
}
|
|
3821
|
-
return
|
|
3799
|
+
return fi(a);
|
|
3822
3800
|
}
|
|
3823
|
-
function
|
|
3801
|
+
function di(e, t) {
|
|
3824
3802
|
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3825
3803
|
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3826
3804
|
}, {})) : e;
|
|
3827
3805
|
}
|
|
3828
|
-
function
|
|
3806
|
+
function pi(e, t) {
|
|
3829
3807
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3830
|
-
return r[n] =
|
|
3808
|
+
return r[n] = di(e[n], t[n]), r;
|
|
3831
3809
|
}, y({}, e)) : e;
|
|
3832
3810
|
}
|
|
3833
|
-
function
|
|
3811
|
+
function Oe(e) {
|
|
3834
3812
|
return {
|
|
3835
3813
|
create: function() {
|
|
3836
3814
|
return {
|
|
@@ -3844,39 +3822,39 @@ function Ie(e) {
|
|
|
3844
3822
|
}
|
|
3845
3823
|
};
|
|
3846
3824
|
}
|
|
3847
|
-
function
|
|
3825
|
+
function bi(e) {
|
|
3848
3826
|
return e === void 0 && (e = {
|
|
3849
3827
|
number: {},
|
|
3850
3828
|
dateTime: {},
|
|
3851
3829
|
pluralRules: {}
|
|
3852
3830
|
}), {
|
|
3853
|
-
getNumberFormat:
|
|
3831
|
+
getNumberFormat: Ae(function() {
|
|
3854
3832
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3855
3833
|
r[n] = arguments[n];
|
|
3856
3834
|
return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3857
3835
|
}, {
|
|
3858
|
-
cache:
|
|
3859
|
-
strategy:
|
|
3836
|
+
cache: Oe(e.number),
|
|
3837
|
+
strategy: Ce.variadic
|
|
3860
3838
|
}),
|
|
3861
|
-
getDateTimeFormat:
|
|
3839
|
+
getDateTimeFormat: Ae(function() {
|
|
3862
3840
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3863
3841
|
r[n] = arguments[n];
|
|
3864
3842
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3865
3843
|
}, {
|
|
3866
|
-
cache:
|
|
3867
|
-
strategy:
|
|
3844
|
+
cache: Oe(e.dateTime),
|
|
3845
|
+
strategy: Ce.variadic
|
|
3868
3846
|
}),
|
|
3869
|
-
getPluralRules:
|
|
3847
|
+
getPluralRules: Ae(function() {
|
|
3870
3848
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3871
3849
|
r[n] = arguments[n];
|
|
3872
3850
|
return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
|
|
3873
3851
|
}, {
|
|
3874
|
-
cache:
|
|
3875
|
-
strategy:
|
|
3852
|
+
cache: Oe(e.pluralRules),
|
|
3853
|
+
strategy: Ce.variadic
|
|
3876
3854
|
})
|
|
3877
3855
|
};
|
|
3878
3856
|
}
|
|
3879
|
-
var
|
|
3857
|
+
var gi = (
|
|
3880
3858
|
/** @class */
|
|
3881
3859
|
function() {
|
|
3882
3860
|
function e(t, r, n, i) {
|
|
@@ -3908,13 +3886,13 @@ var xi = (
|
|
|
3908
3886
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3909
3887
|
var s = i || {};
|
|
3910
3888
|
s.formatters;
|
|
3911
|
-
var a =
|
|
3889
|
+
var a = Zr(s, ["formatters"]);
|
|
3912
3890
|
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3913
3891
|
} else
|
|
3914
3892
|
this.ast = t;
|
|
3915
3893
|
if (!Array.isArray(this.ast))
|
|
3916
3894
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3917
|
-
this.formats =
|
|
3895
|
+
this.formats = pi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
|
|
3918
3896
|
}
|
|
3919
3897
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3920
3898
|
get: function() {
|
|
@@ -3927,7 +3905,7 @@ var xi = (
|
|
|
3927
3905
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3928
3906
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3929
3907
|
}
|
|
3930
|
-
}, e.__parse =
|
|
3908
|
+
}, e.__parse = li, e.formats = {
|
|
3931
3909
|
number: {
|
|
3932
3910
|
integer: {
|
|
3933
3911
|
maximumFractionDigits: 0
|
|
@@ -3988,7 +3966,7 @@ var xi = (
|
|
|
3988
3966
|
}, e;
|
|
3989
3967
|
}()
|
|
3990
3968
|
);
|
|
3991
|
-
function
|
|
3969
|
+
function vi(e, t) {
|
|
3992
3970
|
if (t == null)
|
|
3993
3971
|
return;
|
|
3994
3972
|
if (t in e)
|
|
@@ -4009,92 +3987,92 @@ function _i(e, t) {
|
|
|
4009
3987
|
n = void 0;
|
|
4010
3988
|
return n;
|
|
4011
3989
|
}
|
|
4012
|
-
const G = {},
|
|
3990
|
+
const G = {}, yi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), ar = (e, t) => {
|
|
4013
3991
|
if (t == null)
|
|
4014
3992
|
return;
|
|
4015
3993
|
if (t in G && e in G[t])
|
|
4016
3994
|
return G[t][e];
|
|
4017
3995
|
const r = Se(t);
|
|
4018
3996
|
for (let n = 0; n < r.length; n++) {
|
|
4019
|
-
const i = r[n], o =
|
|
3997
|
+
const i = r[n], o = _i(i, e);
|
|
4020
3998
|
if (o)
|
|
4021
|
-
return
|
|
3999
|
+
return yi(e, t, o);
|
|
4022
4000
|
}
|
|
4023
4001
|
};
|
|
4024
|
-
let
|
|
4002
|
+
let Ye;
|
|
4025
4003
|
const ue = _e({});
|
|
4026
|
-
function
|
|
4027
|
-
return
|
|
4004
|
+
function xi(e) {
|
|
4005
|
+
return Ye[e] || null;
|
|
4028
4006
|
}
|
|
4029
|
-
function
|
|
4030
|
-
return e in
|
|
4007
|
+
function ur(e) {
|
|
4008
|
+
return e in Ye;
|
|
4031
4009
|
}
|
|
4032
|
-
function
|
|
4033
|
-
if (!
|
|
4010
|
+
function _i(e, t) {
|
|
4011
|
+
if (!ur(e))
|
|
4034
4012
|
return null;
|
|
4035
|
-
const r =
|
|
4036
|
-
return
|
|
4013
|
+
const r = xi(e);
|
|
4014
|
+
return vi(r, t);
|
|
4037
4015
|
}
|
|
4038
|
-
function
|
|
4016
|
+
function Ei(e) {
|
|
4039
4017
|
if (e == null)
|
|
4040
4018
|
return;
|
|
4041
4019
|
const t = Se(e);
|
|
4042
4020
|
for (let r = 0; r < t.length; r++) {
|
|
4043
4021
|
const n = t[r];
|
|
4044
|
-
if (
|
|
4022
|
+
if (ur(n))
|
|
4045
4023
|
return n;
|
|
4046
4024
|
}
|
|
4047
4025
|
}
|
|
4048
|
-
function
|
|
4049
|
-
delete G[e], ue.update((r) => (r[e] =
|
|
4026
|
+
function lr(e, ...t) {
|
|
4027
|
+
delete G[e], ue.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
|
|
4050
4028
|
}
|
|
4051
4029
|
q(
|
|
4052
4030
|
[ue],
|
|
4053
4031
|
([e]) => Object.keys(e)
|
|
4054
4032
|
);
|
|
4055
|
-
ue.subscribe((e) =>
|
|
4033
|
+
ue.subscribe((e) => Ye = e);
|
|
4056
4034
|
const be = {};
|
|
4057
|
-
function
|
|
4035
|
+
function Si(e, t) {
|
|
4058
4036
|
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
4059
4037
|
}
|
|
4060
|
-
function
|
|
4038
|
+
function hr(e) {
|
|
4061
4039
|
return be[e];
|
|
4062
4040
|
}
|
|
4063
|
-
function
|
|
4041
|
+
function wi(e) {
|
|
4064
4042
|
return Se(e).map((t) => {
|
|
4065
|
-
const r =
|
|
4043
|
+
const r = hr(t);
|
|
4066
4044
|
return [t, r ? [...r] : []];
|
|
4067
4045
|
}).filter(([, t]) => t.length > 0);
|
|
4068
4046
|
}
|
|
4069
|
-
function
|
|
4047
|
+
function Ze(e) {
|
|
4070
4048
|
return e == null ? !1 : Se(e).some(
|
|
4071
4049
|
(t) => {
|
|
4072
4050
|
var r;
|
|
4073
|
-
return (r =
|
|
4051
|
+
return (r = hr(t)) == null ? void 0 : r.size;
|
|
4074
4052
|
}
|
|
4075
4053
|
);
|
|
4076
4054
|
}
|
|
4077
|
-
function
|
|
4055
|
+
function Ti(e, t) {
|
|
4078
4056
|
return Promise.all(
|
|
4079
|
-
t.map((n) => (
|
|
4080
|
-
).then((n) =>
|
|
4057
|
+
t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
|
|
4058
|
+
).then((n) => lr(e, ...n));
|
|
4081
4059
|
}
|
|
4082
4060
|
const te = {};
|
|
4083
|
-
function
|
|
4084
|
-
if (!
|
|
4061
|
+
function cr(e) {
|
|
4062
|
+
if (!Ze(e))
|
|
4085
4063
|
return e in te ? te[e] : Promise.resolve();
|
|
4086
|
-
const t =
|
|
4064
|
+
const t = wi(e);
|
|
4087
4065
|
return te[e] = Promise.all(
|
|
4088
4066
|
t.map(
|
|
4089
|
-
([r, n]) =>
|
|
4067
|
+
([r, n]) => Ti(r, n)
|
|
4090
4068
|
)
|
|
4091
4069
|
).then(() => {
|
|
4092
|
-
if (
|
|
4093
|
-
return
|
|
4070
|
+
if (Ze(e))
|
|
4071
|
+
return cr(e);
|
|
4094
4072
|
delete te[e];
|
|
4095
4073
|
}), te[e];
|
|
4096
4074
|
}
|
|
4097
|
-
const
|
|
4075
|
+
const Hi = {
|
|
4098
4076
|
number: {
|
|
4099
4077
|
scientific: { notation: "scientific" },
|
|
4100
4078
|
engineering: { notation: "engineering" },
|
|
@@ -4123,57 +4101,57 @@ const Ci = {
|
|
|
4123
4101
|
timeZoneName: "short"
|
|
4124
4102
|
}
|
|
4125
4103
|
}
|
|
4126
|
-
},
|
|
4104
|
+
}, Bi = {
|
|
4127
4105
|
fallbackLocale: null,
|
|
4128
4106
|
loadingDelay: 200,
|
|
4129
|
-
formats:
|
|
4107
|
+
formats: Hi,
|
|
4130
4108
|
warnOnMissingMessages: !0,
|
|
4131
4109
|
handleMissingMessage: void 0,
|
|
4132
4110
|
ignoreTag: !0
|
|
4133
|
-
},
|
|
4111
|
+
}, Ai = Bi;
|
|
4134
4112
|
function Q() {
|
|
4135
|
-
return
|
|
4113
|
+
return Ai;
|
|
4136
4114
|
}
|
|
4137
|
-
const
|
|
4138
|
-
var
|
|
4115
|
+
const Ie = _e(!1);
|
|
4116
|
+
var Ci = Object.defineProperty, Pi = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Ni = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
|
|
4139
4117
|
for (var r in t || (t = {}))
|
|
4140
|
-
|
|
4141
|
-
if (
|
|
4142
|
-
for (var r of
|
|
4143
|
-
|
|
4118
|
+
Ii.call(t, r) && wt(e, r, t[r]);
|
|
4119
|
+
if (St)
|
|
4120
|
+
for (var r of St(t))
|
|
4121
|
+
Ni.call(t, r) && wt(e, r, t[r]);
|
|
4144
4122
|
return e;
|
|
4145
|
-
},
|
|
4146
|
-
let
|
|
4123
|
+
}, Li = (e, t) => Pi(e, Oi(t));
|
|
4124
|
+
let Qe;
|
|
4147
4125
|
const ve = _e(null);
|
|
4148
|
-
function
|
|
4126
|
+
function Tt(e) {
|
|
4149
4127
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4150
4128
|
}
|
|
4151
4129
|
function Se(e, t = Q().fallbackLocale) {
|
|
4152
|
-
const r =
|
|
4153
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4130
|
+
const r = Tt(e);
|
|
4131
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
|
|
4154
4132
|
}
|
|
4155
4133
|
function U() {
|
|
4156
|
-
return
|
|
4134
|
+
return Qe != null ? Qe : void 0;
|
|
4157
4135
|
}
|
|
4158
4136
|
ve.subscribe((e) => {
|
|
4159
|
-
|
|
4137
|
+
Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4160
4138
|
});
|
|
4161
|
-
const
|
|
4162
|
-
if (e &&
|
|
4139
|
+
const Ri = (e) => {
|
|
4140
|
+
if (e && Ei(e) && Ze(e)) {
|
|
4163
4141
|
const { loadingDelay: t } = Q();
|
|
4164
4142
|
let r;
|
|
4165
4143
|
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
4166
|
-
() =>
|
|
4144
|
+
() => Ie.set(!0),
|
|
4167
4145
|
t
|
|
4168
|
-
) :
|
|
4146
|
+
) : Ie.set(!0), cr(e).then(() => {
|
|
4169
4147
|
ve.set(e);
|
|
4170
4148
|
}).finally(() => {
|
|
4171
|
-
clearTimeout(r),
|
|
4149
|
+
clearTimeout(r), Ie.set(!1);
|
|
4172
4150
|
});
|
|
4173
4151
|
}
|
|
4174
4152
|
return ve.set(e);
|
|
4175
|
-
}, K =
|
|
4176
|
-
set:
|
|
4153
|
+
}, K = Li(Mi({}, ve), {
|
|
4154
|
+
set: Ri
|
|
4177
4155
|
}), we = (e) => {
|
|
4178
4156
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4179
4157
|
return (n) => {
|
|
@@ -4181,20 +4159,20 @@ const Ui = (e) => {
|
|
|
4181
4159
|
return i in t ? t[i] : t[i] = e(n);
|
|
4182
4160
|
};
|
|
4183
4161
|
};
|
|
4184
|
-
var
|
|
4162
|
+
var $i = Object.defineProperty, ye = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
|
|
4185
4163
|
for (var r in t || (t = {}))
|
|
4186
|
-
|
|
4164
|
+
fr.call(t, r) && Ht(e, r, t[r]);
|
|
4187
4165
|
if (ye)
|
|
4188
4166
|
for (var r of ye(t))
|
|
4189
|
-
|
|
4167
|
+
mr.call(t, r) && Ht(e, r, t[r]);
|
|
4190
4168
|
return e;
|
|
4191
4169
|
}, ee = (e, t) => {
|
|
4192
4170
|
var r = {};
|
|
4193
4171
|
for (var n in e)
|
|
4194
|
-
|
|
4172
|
+
fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4195
4173
|
if (e != null && ye)
|
|
4196
4174
|
for (var n of ye(e))
|
|
4197
|
-
t.indexOf(n) < 0 &&
|
|
4175
|
+
t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
|
|
4198
4176
|
return r;
|
|
4199
4177
|
};
|
|
4200
4178
|
const se = (e, t) => {
|
|
@@ -4202,21 +4180,21 @@ const se = (e, t) => {
|
|
|
4202
4180
|
if (e in r && t in r[e])
|
|
4203
4181
|
return r[e][t];
|
|
4204
4182
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4205
|
-
},
|
|
4183
|
+
}, Gi = we(
|
|
4206
4184
|
(e) => {
|
|
4207
4185
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4208
4186
|
if (r == null)
|
|
4209
4187
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4210
4188
|
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4211
4189
|
}
|
|
4212
|
-
),
|
|
4190
|
+
), Ui = we(
|
|
4213
4191
|
(e) => {
|
|
4214
4192
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4215
4193
|
if (r == null)
|
|
4216
4194
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4217
4195
|
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4218
4196
|
}
|
|
4219
|
-
),
|
|
4197
|
+
), Di = we(
|
|
4220
4198
|
(e) => {
|
|
4221
4199
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4222
4200
|
if (r == null)
|
|
@@ -4225,33 +4203,33 @@ const se = (e, t) => {
|
|
|
4225
4203
|
);
|
|
4226
4204
|
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4227
4205
|
}
|
|
4228
|
-
),
|
|
4206
|
+
), Fi = (e = {}) => {
|
|
4229
4207
|
var t = e, {
|
|
4230
4208
|
locale: r = U()
|
|
4231
4209
|
} = t, n = ee(t, [
|
|
4232
4210
|
"locale"
|
|
4233
4211
|
]);
|
|
4234
|
-
return
|
|
4235
|
-
},
|
|
4212
|
+
return Gi(qe({ locale: r }, n));
|
|
4213
|
+
}, ji = (e = {}) => {
|
|
4236
4214
|
var t = e, {
|
|
4237
4215
|
locale: r = U()
|
|
4238
4216
|
} = t, n = ee(t, [
|
|
4239
4217
|
"locale"
|
|
4240
4218
|
]);
|
|
4241
|
-
return
|
|
4242
|
-
},
|
|
4219
|
+
return Ui(qe({ locale: r }, n));
|
|
4220
|
+
}, ki = (e = {}) => {
|
|
4243
4221
|
var t = e, {
|
|
4244
4222
|
locale: r = U()
|
|
4245
4223
|
} = t, n = ee(t, [
|
|
4246
4224
|
"locale"
|
|
4247
4225
|
]);
|
|
4248
|
-
return
|
|
4249
|
-
},
|
|
4226
|
+
return Di(qe({ locale: r }, n));
|
|
4227
|
+
}, Vi = we(
|
|
4250
4228
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4251
|
-
(e, t = U()) => new
|
|
4229
|
+
(e, t = U()) => new gi(e, t, Q().formats, {
|
|
4252
4230
|
ignoreTag: Q().ignoreTag
|
|
4253
4231
|
})
|
|
4254
|
-
),
|
|
4232
|
+
), Xi = (e, t = {}) => {
|
|
4255
4233
|
var r, n, i, o;
|
|
4256
4234
|
let s = t;
|
|
4257
4235
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4264,7 +4242,7 @@ const se = (e, t) => {
|
|
|
4264
4242
|
throw new Error(
|
|
4265
4243
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4266
4244
|
);
|
|
4267
|
-
let h =
|
|
4245
|
+
let h = ar(e, l);
|
|
4268
4246
|
if (!h)
|
|
4269
4247
|
h = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4270
4248
|
else if (typeof h != "string")
|
|
@@ -4275,7 +4253,7 @@ const se = (e, t) => {
|
|
|
4275
4253
|
return h;
|
|
4276
4254
|
let c = h;
|
|
4277
4255
|
try {
|
|
4278
|
-
c =
|
|
4256
|
+
c = Vi(h, l).format(a);
|
|
4279
4257
|
} catch (f) {
|
|
4280
4258
|
f instanceof Error && console.warn(
|
|
4281
4259
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4283,20 +4261,20 @@ const se = (e, t) => {
|
|
|
4283
4261
|
);
|
|
4284
4262
|
}
|
|
4285
4263
|
return c;
|
|
4286
|
-
},
|
|
4287
|
-
q([K], () =>
|
|
4288
|
-
q([K], () =>
|
|
4289
|
-
q([K], () =>
|
|
4290
|
-
q([K, ue], () =>
|
|
4291
|
-
window.emWidgets = { topic:
|
|
4292
|
-
const
|
|
4293
|
-
function
|
|
4294
|
-
|
|
4295
|
-
}
|
|
4296
|
-
function
|
|
4264
|
+
}, Wi = (e, t) => ki(t).format(e), zi = (e, t) => ji(t).format(e), Zi = (e, t) => Fi(t).format(e), Qi = (e, t = U()) => ar(e, t), Ji = q([K, ue], () => Xi);
|
|
4265
|
+
q([K], () => Wi);
|
|
4266
|
+
q([K], () => zi);
|
|
4267
|
+
q([K], () => Zi);
|
|
4268
|
+
q([K, ue], () => Qi);
|
|
4269
|
+
window.emWidgets = { topic: ln };
|
|
4270
|
+
const Yi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4271
|
+
function Bt(e, t) {
|
|
4272
|
+
lr(e, t);
|
|
4273
|
+
}
|
|
4274
|
+
function qi(e) {
|
|
4297
4275
|
K.set(e);
|
|
4298
4276
|
}
|
|
4299
|
-
const
|
|
4277
|
+
const At = {
|
|
4300
4278
|
en: {
|
|
4301
4279
|
cancel: "Cancel",
|
|
4302
4280
|
confirm: "Confirm"
|
|
@@ -4342,13 +4320,13 @@ const Ot = {
|
|
|
4342
4320
|
confirm: "Confirm"
|
|
4343
4321
|
}
|
|
4344
4322
|
};
|
|
4345
|
-
function
|
|
4323
|
+
function Ki(e, t) {
|
|
4346
4324
|
if (e) {
|
|
4347
4325
|
const r = document.createElement("style");
|
|
4348
4326
|
r.innerHTML = t, e.appendChild(r);
|
|
4349
4327
|
}
|
|
4350
4328
|
}
|
|
4351
|
-
function
|
|
4329
|
+
function eo(e, t) {
|
|
4352
4330
|
const r = new URL(t);
|
|
4353
4331
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4354
4332
|
const i = document.createElement("style");
|
|
@@ -4357,7 +4335,7 @@ function no(e, t) {
|
|
|
4357
4335
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4358
4336
|
});
|
|
4359
4337
|
}
|
|
4360
|
-
function
|
|
4338
|
+
function to(e, t, r) {
|
|
4361
4339
|
if (window.emMessageBus) {
|
|
4362
4340
|
const n = document.createElement("style");
|
|
4363
4341
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4365,15 +4343,15 @@ function io(e, t, r) {
|
|
|
4365
4343
|
});
|
|
4366
4344
|
}
|
|
4367
4345
|
}
|
|
4368
|
-
function
|
|
4369
|
-
|
|
4346
|
+
function ro(e) {
|
|
4347
|
+
Ar(e, "svelte-1o81iqe", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
4370
4348
|
}
|
|
4371
|
-
const
|
|
4372
|
-
function
|
|
4349
|
+
const no = (e) => ({}), Ct = (e) => ({});
|
|
4350
|
+
function io(e) {
|
|
4373
4351
|
let t, r;
|
|
4374
4352
|
return {
|
|
4375
4353
|
c() {
|
|
4376
|
-
t =
|
|
4354
|
+
t = ot("svg"), r = ot("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4377
4355
|
},
|
|
4378
4356
|
m(n, i) {
|
|
4379
4357
|
ae(n, t, i), B(t, r);
|
|
@@ -4384,11 +4362,11 @@ function ao(e) {
|
|
|
4384
4362
|
}
|
|
4385
4363
|
};
|
|
4386
4364
|
}
|
|
4387
|
-
function
|
|
4365
|
+
function Pt(e) {
|
|
4388
4366
|
let t, r, n;
|
|
4389
4367
|
return {
|
|
4390
4368
|
c() {
|
|
4391
|
-
t =
|
|
4369
|
+
t = M("div"), r = M("h2"), n = ne(
|
|
4392
4370
|
/*modaltitle*/
|
|
4393
4371
|
e[1]
|
|
4394
4372
|
), H(t, "class", "GeneralConfirmationTitle");
|
|
@@ -4409,14 +4387,14 @@ function Mt(e) {
|
|
|
4409
4387
|
}
|
|
4410
4388
|
};
|
|
4411
4389
|
}
|
|
4412
|
-
function
|
|
4390
|
+
function Ot(e) {
|
|
4413
4391
|
let t, r = (
|
|
4414
4392
|
/*$_*/
|
|
4415
4393
|
e[4]("cancel") + ""
|
|
4416
4394
|
), n, i, o;
|
|
4417
4395
|
return {
|
|
4418
4396
|
c() {
|
|
4419
|
-
t =
|
|
4397
|
+
t = M("button"), n = ne(r), H(t, "class", "GeneralCancelButton");
|
|
4420
4398
|
},
|
|
4421
4399
|
m(s, a) {
|
|
4422
4400
|
ae(s, t, a), B(t, n), i || (o = Ne(
|
|
@@ -4436,34 +4414,34 @@ function Nt(e) {
|
|
|
4436
4414
|
}
|
|
4437
4415
|
};
|
|
4438
4416
|
}
|
|
4439
|
-
function
|
|
4417
|
+
function oo(e) {
|
|
4440
4418
|
let t, r, n, i, o, s, a, l, u, h, c, f = (
|
|
4441
4419
|
/*$_*/
|
|
4442
4420
|
e[4]("confirm") + ""
|
|
4443
4421
|
), m, d, p, w;
|
|
4444
|
-
const
|
|
4422
|
+
const N = (
|
|
4445
4423
|
/*#slots*/
|
|
4446
4424
|
e[16].close
|
|
4447
|
-
), C =
|
|
4448
|
-
|
|
4425
|
+
), C = wr(
|
|
4426
|
+
N,
|
|
4449
4427
|
e,
|
|
4450
4428
|
/*$$scope*/
|
|
4451
4429
|
e[15],
|
|
4452
|
-
|
|
4453
|
-
), T = C ||
|
|
4430
|
+
Ct
|
|
4431
|
+
), T = C || io();
|
|
4454
4432
|
let _ = (
|
|
4455
4433
|
/*modaltitle*/
|
|
4456
|
-
e[1] &&
|
|
4434
|
+
e[1] && Pt(e)
|
|
4457
4435
|
), E = (
|
|
4458
4436
|
/*hascancelbutton*/
|
|
4459
|
-
e[2] &&
|
|
4437
|
+
e[2] && Ot(e)
|
|
4460
4438
|
);
|
|
4461
4439
|
return {
|
|
4462
4440
|
c() {
|
|
4463
|
-
t =
|
|
4441
|
+
t = M("div"), r = M("div"), n = M("span"), T && T.c(), i = le(), _ && _.c(), o = le(), s = M("div"), a = ne(
|
|
4464
4442
|
/*modaltext*/
|
|
4465
4443
|
e[0]
|
|
4466
|
-
), l = le(), u =
|
|
4444
|
+
), l = le(), u = M("div"), E && E.c(), h = le(), c = M("button"), m = ne(f), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(c, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4467
4445
|
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4468
4446
|
(e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4469
4447
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
@@ -4486,73 +4464,73 @@ function uo(e) {
|
|
|
4486
4464
|
},
|
|
4487
4465
|
p(x, [P]) {
|
|
4488
4466
|
C && C.p && (!d || P & /*$$scope*/
|
|
4489
|
-
32768) &&
|
|
4467
|
+
32768) && Hr(
|
|
4490
4468
|
C,
|
|
4491
|
-
|
|
4469
|
+
N,
|
|
4492
4470
|
x,
|
|
4493
4471
|
/*$$scope*/
|
|
4494
4472
|
x[15],
|
|
4495
|
-
d ?
|
|
4496
|
-
|
|
4473
|
+
d ? Tr(
|
|
4474
|
+
N,
|
|
4497
4475
|
/*$$scope*/
|
|
4498
4476
|
x[15],
|
|
4499
4477
|
P,
|
|
4500
|
-
|
|
4501
|
-
) :
|
|
4478
|
+
no
|
|
4479
|
+
) : Br(
|
|
4502
4480
|
/*$$scope*/
|
|
4503
4481
|
x[15]
|
|
4504
4482
|
),
|
|
4505
|
-
|
|
4483
|
+
Ct
|
|
4506
4484
|
), /*modaltitle*/
|
|
4507
|
-
x[1] ? _ ? _.p(x, P) : (_ =
|
|
4485
|
+
x[1] ? _ ? _.p(x, P) : (_ = Pt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!d || P & /*modaltext*/
|
|
4508
4486
|
1) && ge(
|
|
4509
4487
|
a,
|
|
4510
4488
|
/*modaltext*/
|
|
4511
4489
|
x[0]
|
|
4512
4490
|
), /*hascancelbutton*/
|
|
4513
|
-
x[2] ? E ? E.p(x, P) : (E =
|
|
4491
|
+
x[2] ? E ? E.p(x, P) : (E = Ot(x), E.c(), E.m(u, h)) : E && (E.d(1), E = null), (!d || P & /*$_*/
|
|
4514
4492
|
16) && f !== (f = /*$_*/
|
|
4515
4493
|
x[4]("confirm") + "") && ge(m, f);
|
|
4516
4494
|
},
|
|
4517
4495
|
i(x) {
|
|
4518
|
-
d || (
|
|
4496
|
+
d || (Rt(T, x), d = !0);
|
|
4519
4497
|
},
|
|
4520
4498
|
o(x) {
|
|
4521
|
-
|
|
4499
|
+
Dr(T, x), d = !1;
|
|
4522
4500
|
},
|
|
4523
4501
|
d(x) {
|
|
4524
4502
|
x && Y(t), T && T.d(x), _ && _.d(), E && E.d(), e[19](null), p = !1, J(w);
|
|
4525
4503
|
}
|
|
4526
4504
|
};
|
|
4527
4505
|
}
|
|
4528
|
-
function
|
|
4506
|
+
function so(e, t, r) {
|
|
4529
4507
|
let n;
|
|
4530
|
-
|
|
4531
|
-
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, { mbsource: p } = t, w,
|
|
4508
|
+
Sr(e, Ji, (g) => r(4, n = g));
|
|
4509
|
+
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, { mbsource: p } = t, w, N = window.navigator.userAgent, C = Yi(N) !== "PC";
|
|
4532
4510
|
const T = () => {
|
|
4533
4511
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4534
4512
|
}, _ = (g) => {
|
|
4535
4513
|
g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href), T();
|
|
4536
4514
|
}, E = () => {
|
|
4537
4515
|
fetch(d).then((D) => D.json()).then((D) => {
|
|
4538
|
-
Object.keys(D).forEach((
|
|
4539
|
-
|
|
4516
|
+
Object.keys(D).forEach((Ke) => {
|
|
4517
|
+
Bt(Ke, D[Ke]);
|
|
4540
4518
|
});
|
|
4541
4519
|
}).catch((D) => {
|
|
4542
4520
|
console.log(D);
|
|
4543
4521
|
});
|
|
4544
4522
|
};
|
|
4545
|
-
Object.keys(
|
|
4546
|
-
|
|
4523
|
+
Object.keys(At).forEach((g) => {
|
|
4524
|
+
Bt(g, At[g]);
|
|
4547
4525
|
});
|
|
4548
4526
|
const x = () => {
|
|
4549
|
-
|
|
4527
|
+
qi(c);
|
|
4550
4528
|
};
|
|
4551
|
-
|
|
4529
|
+
Mr(() => () => {
|
|
4552
4530
|
});
|
|
4553
|
-
const P = () => _("cancel"),
|
|
4554
|
-
function
|
|
4555
|
-
|
|
4531
|
+
const P = () => _("cancel"), dr = () => _("confirm");
|
|
4532
|
+
function pr(g) {
|
|
4533
|
+
Me[g ? "unshift" : "push"](() => {
|
|
4556
4534
|
w = g, r(3, w);
|
|
4557
4535
|
});
|
|
4558
4536
|
}
|
|
@@ -4561,9 +4539,9 @@ function lo(e, t, r) {
|
|
|
4561
4539
|
}, e.$$.update = () => {
|
|
4562
4540
|
e.$$.dirty & /*modaltext, lang*/
|
|
4563
4541
|
1025 && s && c && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4564
|
-
2056 && f && w &&
|
|
4565
|
-
4104 && m && w &&
|
|
4566
|
-
16392 && p && w &&
|
|
4542
|
+
2056 && f && w && Ki(w, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4543
|
+
4104 && m && w && eo(w, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4544
|
+
16392 && p && w && to(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
|
|
4567
4545
|
8192 && d && E();
|
|
4568
4546
|
}, [
|
|
4569
4547
|
s,
|
|
@@ -4584,18 +4562,18 @@ function lo(e, t, r) {
|
|
|
4584
4562
|
o,
|
|
4585
4563
|
i,
|
|
4586
4564
|
P,
|
|
4587
|
-
|
|
4588
|
-
|
|
4565
|
+
dr,
|
|
4566
|
+
pr
|
|
4589
4567
|
];
|
|
4590
4568
|
}
|
|
4591
|
-
class
|
|
4569
|
+
class ao extends Wr {
|
|
4592
4570
|
constructor(t) {
|
|
4593
|
-
super(),
|
|
4571
|
+
super(), Vr(
|
|
4594
4572
|
this,
|
|
4595
4573
|
t,
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4574
|
+
so,
|
|
4575
|
+
oo,
|
|
4576
|
+
Nt,
|
|
4599
4577
|
{
|
|
4600
4578
|
modaltext: 0,
|
|
4601
4579
|
modaltitle: 1,
|
|
@@ -4608,7 +4586,7 @@ class ho extends Jr {
|
|
|
4608
4586
|
translationurl: 13,
|
|
4609
4587
|
mbsource: 14
|
|
4610
4588
|
},
|
|
4611
|
-
|
|
4589
|
+
ro
|
|
4612
4590
|
);
|
|
4613
4591
|
}
|
|
4614
4592
|
get modaltext() {
|
|
@@ -4672,7 +4650,7 @@ class ho extends Jr {
|
|
|
4672
4650
|
this.$$set({ mbsource: t }), I();
|
|
4673
4651
|
}
|
|
4674
4652
|
}
|
|
4675
|
-
|
|
4653
|
+
Xr(ao, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4676
4654
|
export {
|
|
4677
|
-
|
|
4655
|
+
ao as default
|
|
4678
4656
|
};
|