@everymatrix/general-icon-progress-bar 1.54.12 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralIconProgressBar-RIcTdYqm.js → GeneralIconProgressBar-DGUCh2l_.js} +447 -445
- package/components/GeneralIconProgressBar-Xj3s_q-M.cjs +3 -0
- package/components/{GeneralIconProgressBar-YqbhMYw-.js → GeneralIconProgressBar-asy8BnTg.js} +332 -330
- package/es2015/general-icon-progress-bar.cjs +1 -1
- package/es2015/general-icon-progress-bar.js +1 -1
- package/esnext/general-icon-progress-bar.js +1 -1
- package/package.json +1 -1
- package/components/GeneralIconProgressBar-Dbtf2ZPD.cjs +0 -3
package/components/{GeneralIconProgressBar-RIcTdYqm.js → GeneralIconProgressBar-DGUCh2l_.js}
RENAMED
@@ -1,53 +1,53 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var me = (e, t, r) => t in e ?
|
1
|
+
var Ft = Object.defineProperty, jt = Object.defineProperties;
|
2
|
+
var Vt = Object.getOwnPropertyDescriptors;
|
3
|
+
var Fe = Object.getOwnPropertySymbols;
|
4
|
+
var kt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable;
|
5
|
+
var me = (e, t, r) => t in e ? Ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
kt.call(t, r) && me(e, r, t[r]);
|
8
|
+
if (Fe)
|
9
|
+
for (var r of Fe(t))
|
10
|
+
Xt.call(t, r) && me(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
12
|
+
}, Ve = (e, t) => jt(e, Vt(t));
|
13
13
|
var T = (e, t, r) => me(e, typeof t != "symbol" ? t + "" : t, r);
|
14
|
-
var
|
15
|
-
var s = (
|
14
|
+
var ke = (e, t, r) => new Promise((n, i) => {
|
15
|
+
var s = (u) => {
|
16
16
|
try {
|
17
|
-
a(r.next(
|
18
|
-
} catch (
|
19
|
-
i(
|
17
|
+
a(r.next(u));
|
18
|
+
} catch (h) {
|
19
|
+
i(h);
|
20
20
|
}
|
21
|
-
}, o = (
|
21
|
+
}, o = (u) => {
|
22
22
|
try {
|
23
|
-
a(r.throw(
|
24
|
-
} catch (
|
25
|
-
i(
|
23
|
+
a(r.throw(u));
|
24
|
+
} catch (h) {
|
25
|
+
i(h);
|
26
26
|
}
|
27
|
-
}, a = (
|
27
|
+
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(s, o);
|
28
28
|
a((r = r.apply(e, t)).next());
|
29
29
|
});
|
30
30
|
function B() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function ht(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function Xe() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
38
|
function ee(e) {
|
39
|
-
e.forEach(
|
39
|
+
e.forEach(ht);
|
40
40
|
}
|
41
41
|
function Le(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function ut(e, t) {
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
|
-
function
|
47
|
+
function zt(e) {
|
48
48
|
return Object.keys(e).length === 0;
|
49
49
|
}
|
50
|
-
function
|
50
|
+
function lt(e, ...t) {
|
51
51
|
if (e == null) {
|
52
52
|
for (const n of t)
|
53
53
|
n(void 0);
|
@@ -56,20 +56,20 @@ function ut(e, ...t) {
|
|
56
56
|
const r = e.subscribe(...t);
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
58
58
|
}
|
59
|
-
function
|
60
|
-
e.$$.on_destroy.push(
|
59
|
+
function Wt(e, t, r) {
|
60
|
+
e.$$.on_destroy.push(lt(t, r));
|
61
61
|
}
|
62
62
|
function ne(e, t) {
|
63
63
|
e.appendChild(t);
|
64
64
|
}
|
65
|
-
function
|
66
|
-
const n =
|
65
|
+
function Zt(e, t, r) {
|
66
|
+
const n = Qt(e);
|
67
67
|
if (!n.getElementById(t)) {
|
68
68
|
const i = Q("style");
|
69
|
-
i.id = t, i.textContent = r,
|
69
|
+
i.id = t, i.textContent = r, Jt(n, i);
|
70
70
|
}
|
71
71
|
}
|
72
|
-
function
|
72
|
+
function Qt(e) {
|
73
73
|
if (!e) return document;
|
74
74
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
75
75
|
return t && /** @type {ShadowRoot} */
|
@@ -78,14 +78,14 @@ function Wt(e) {
|
|
78
78
|
t
|
79
79
|
) : e.ownerDocument;
|
80
80
|
}
|
81
|
-
function
|
81
|
+
function Jt(e, t) {
|
82
82
|
return ne(
|
83
83
|
/** @type {Document} */
|
84
84
|
e.head || e,
|
85
85
|
t
|
86
86
|
), t.sheet;
|
87
87
|
}
|
88
|
-
function
|
88
|
+
function ft(e, t, r) {
|
89
89
|
e.insertBefore(t, r || null);
|
90
90
|
}
|
91
91
|
function Ce(e) {
|
@@ -94,20 +94,20 @@ function Ce(e) {
|
|
94
94
|
function Q(e) {
|
95
95
|
return document.createElement(e);
|
96
96
|
}
|
97
|
-
function
|
97
|
+
function qt(e) {
|
98
98
|
return document.createTextNode(e);
|
99
99
|
}
|
100
100
|
function C(e, t, r) {
|
101
101
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
102
102
|
}
|
103
|
-
function
|
103
|
+
function Yt(e) {
|
104
104
|
return Array.from(e.childNodes);
|
105
105
|
}
|
106
|
-
function
|
106
|
+
function Kt(e, t) {
|
107
107
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
108
108
|
t);
|
109
109
|
}
|
110
|
-
function
|
110
|
+
function er(e) {
|
111
111
|
const t = {};
|
112
112
|
return e.childNodes.forEach(
|
113
113
|
/** @param {Element} node */
|
@@ -122,10 +122,10 @@ function J(e) {
|
|
122
122
|
}
|
123
123
|
const G = [], q = [];
|
124
124
|
let D = [];
|
125
|
-
const
|
125
|
+
const ze = [], tr = /* @__PURE__ */ Promise.resolve();
|
126
126
|
let ve = !1;
|
127
|
-
function
|
128
|
-
ve || (ve = !0,
|
127
|
+
function rr() {
|
128
|
+
ve || (ve = !0, tr.then(P));
|
129
129
|
}
|
130
130
|
function He(e) {
|
131
131
|
D.push(e);
|
@@ -140,7 +140,7 @@ function P() {
|
|
140
140
|
try {
|
141
141
|
for (; $ < G.length; ) {
|
142
142
|
const t = G[$];
|
143
|
-
$++, J(t),
|
143
|
+
$++, J(t), nr(t.$$);
|
144
144
|
}
|
145
145
|
} catch (t) {
|
146
146
|
throw G.length = 0, $ = 0, t;
|
@@ -152,80 +152,80 @@ function P() {
|
|
152
152
|
}
|
153
153
|
D.length = 0;
|
154
154
|
} while (G.length);
|
155
|
-
for (;
|
156
|
-
|
155
|
+
for (; ze.length; )
|
156
|
+
ze.pop()();
|
157
157
|
ve = !1, be.clear(), J(e);
|
158
158
|
}
|
159
|
-
function
|
159
|
+
function nr(e) {
|
160
160
|
if (e.fragment !== null) {
|
161
161
|
e.update(), ee(e.before_update);
|
162
162
|
const t = e.dirty;
|
163
163
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(He);
|
164
164
|
}
|
165
165
|
}
|
166
|
-
function
|
166
|
+
function ir(e) {
|
167
167
|
const t = [], r = [];
|
168
168
|
D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
|
169
169
|
}
|
170
|
-
const
|
171
|
-
function
|
172
|
-
e && e.i && (
|
170
|
+
const sr = /* @__PURE__ */ new Set();
|
171
|
+
function or(e, t) {
|
172
|
+
e && e.i && (sr.delete(e), e.i(t));
|
173
173
|
}
|
174
|
-
function
|
174
|
+
function ar(e, t, r) {
|
175
175
|
const { fragment: n, after_update: i } = e.$$;
|
176
176
|
n && n.m(t, r), He(() => {
|
177
|
-
const s = e.$$.on_mount.map(
|
177
|
+
const s = e.$$.on_mount.map(ht).filter(Le);
|
178
178
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
|
179
179
|
}), i.forEach(He);
|
180
180
|
}
|
181
|
-
function
|
181
|
+
function hr(e, t) {
|
182
182
|
const r = e.$$;
|
183
|
-
r.fragment !== null && (
|
183
|
+
r.fragment !== null && (ir(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
184
184
|
}
|
185
|
-
function
|
186
|
-
e.$$.dirty[0] === -1 && (G.push(e),
|
185
|
+
function ur(e, t) {
|
186
|
+
e.$$.dirty[0] === -1 && (G.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
187
187
|
}
|
188
|
-
function
|
189
|
-
const
|
188
|
+
function lr(e, t, r, n, i, s, o = null, a = [-1]) {
|
189
|
+
const u = Me;
|
190
190
|
J(e);
|
191
|
-
const
|
191
|
+
const h = e.$$ = {
|
192
192
|
fragment: null,
|
193
193
|
ctx: [],
|
194
194
|
// state
|
195
195
|
props: s,
|
196
196
|
update: B,
|
197
197
|
not_equal: i,
|
198
|
-
bound:
|
198
|
+
bound: Xe(),
|
199
199
|
// lifecycle
|
200
200
|
on_mount: [],
|
201
201
|
on_destroy: [],
|
202
202
|
on_disconnect: [],
|
203
203
|
before_update: [],
|
204
204
|
after_update: [],
|
205
|
-
context: new Map(t.context || (
|
205
|
+
context: new Map(t.context || (u ? u.$$.context : [])),
|
206
206
|
// everything else
|
207
|
-
callbacks:
|
207
|
+
callbacks: Xe(),
|
208
208
|
dirty: a,
|
209
209
|
skip_bound: !1,
|
210
|
-
root: t.target ||
|
210
|
+
root: t.target || u.$$.root
|
211
211
|
};
|
212
|
-
o && o(
|
212
|
+
o && o(h.root);
|
213
213
|
let l = !1;
|
214
|
-
if (
|
214
|
+
if (h.ctx = r ? r(e, t.props || {}, (c, f, ...x) => {
|
215
215
|
const g = x.length ? x[0] : f;
|
216
|
-
return
|
217
|
-
}) : [],
|
216
|
+
return h.ctx && i(h.ctx[c], h.ctx[c] = g) && (!h.skip_bound && h.bound[c] && h.bound[c](g), l && ur(e, c)), f;
|
217
|
+
}) : [], h.update(), l = !0, ee(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
218
218
|
if (t.hydrate) {
|
219
|
-
const c =
|
220
|
-
|
219
|
+
const c = Yt(t.target);
|
220
|
+
h.fragment && h.fragment.l(c), c.forEach(Ce);
|
221
221
|
} else
|
222
|
-
|
223
|
-
t.intro &&
|
222
|
+
h.fragment && h.fragment.c();
|
223
|
+
t.intro && or(e.$$.fragment), ar(e, t.target, t.anchor), P();
|
224
224
|
}
|
225
|
-
J(
|
225
|
+
J(u);
|
226
226
|
}
|
227
|
-
let
|
228
|
-
typeof HTMLElement == "function" && (
|
227
|
+
let ct;
|
228
|
+
typeof HTMLElement == "function" && (ct = class extends HTMLElement {
|
229
229
|
constructor(t, r, n) {
|
230
230
|
super();
|
231
231
|
/** The Svelte component constructor */
|
@@ -262,7 +262,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
262
262
|
}
|
263
263
|
}
|
264
264
|
connectedCallback() {
|
265
|
-
return
|
265
|
+
return ke(this, null, function* () {
|
266
266
|
if (this.$$cn = !0, !this.$$c) {
|
267
267
|
let t = function(s) {
|
268
268
|
return () => {
|
@@ -275,18 +275,18 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
275
275
|
* @param {HTMLElement} target
|
276
276
|
* @param {HTMLElement} [anchor]
|
277
277
|
*/
|
278
|
-
m: function(
|
279
|
-
|
278
|
+
m: function(h, l) {
|
279
|
+
ft(h, o, l);
|
280
280
|
},
|
281
|
-
d: function(
|
282
|
-
|
281
|
+
d: function(h) {
|
282
|
+
h && Ce(o);
|
283
283
|
}
|
284
284
|
};
|
285
285
|
};
|
286
286
|
};
|
287
287
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
288
288
|
return;
|
289
|
-
const r = {}, n =
|
289
|
+
const r = {}, n = er(this);
|
290
290
|
for (const s of this.$$s)
|
291
291
|
s in n && (r[s] = [t(s)]);
|
292
292
|
for (const s of this.attributes) {
|
@@ -297,7 +297,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
297
297
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
298
298
|
this.$$c = new this.$$ctor({
|
299
299
|
target: this.shadowRoot || this,
|
300
|
-
props:
|
300
|
+
props: Ve(je({}, this.$$d), {
|
301
301
|
$$slots: r,
|
302
302
|
$$scope: {
|
303
303
|
ctx: []
|
@@ -375,8 +375,8 @@ function ie(e, t, r, n) {
|
|
375
375
|
return t;
|
376
376
|
}
|
377
377
|
}
|
378
|
-
function
|
379
|
-
let o = class extends
|
378
|
+
function fr(e, t, r, n, i, s) {
|
379
|
+
let o = class extends ct {
|
380
380
|
constructor() {
|
381
381
|
super(e, r, i), this.$$p_d = t;
|
382
382
|
}
|
@@ -391,22 +391,22 @@ function hr(e, t, r, n, i, s) {
|
|
391
391
|
get() {
|
392
392
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
393
393
|
},
|
394
|
-
set(
|
395
|
-
var
|
396
|
-
|
394
|
+
set(u) {
|
395
|
+
var h;
|
396
|
+
u = ie(a, u, t), this.$$d[a] = u, (h = this.$$c) == null || h.$set({ [a]: u });
|
397
397
|
}
|
398
398
|
});
|
399
399
|
}), n.forEach((a) => {
|
400
400
|
Object.defineProperty(o.prototype, a, {
|
401
401
|
get() {
|
402
|
-
var
|
403
|
-
return (
|
402
|
+
var u;
|
403
|
+
return (u = this.$$c) == null ? void 0 : u[a];
|
404
404
|
}
|
405
405
|
});
|
406
406
|
}), e.element = /** @type {any} */
|
407
407
|
o, o;
|
408
408
|
}
|
409
|
-
class
|
409
|
+
class cr {
|
410
410
|
constructor() {
|
411
411
|
/**
|
412
412
|
* ### PRIVATE API
|
@@ -427,7 +427,7 @@ class lr {
|
|
427
427
|
}
|
428
428
|
/** @returns {void} */
|
429
429
|
$destroy() {
|
430
|
-
|
430
|
+
hr(this, 1), this.$destroy = B;
|
431
431
|
}
|
432
432
|
/**
|
433
433
|
* @template {Extract<keyof Events, string>} K
|
@@ -449,28 +449,28 @@ class lr {
|
|
449
449
|
* @returns {void}
|
450
450
|
*/
|
451
451
|
$set(t) {
|
452
|
-
this.$$set && !
|
452
|
+
this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
453
453
|
}
|
454
454
|
}
|
455
|
-
const
|
456
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
455
|
+
const pr = "4";
|
456
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pr);
|
457
457
|
const U = [];
|
458
|
-
function
|
458
|
+
function mr(e, t) {
|
459
459
|
return {
|
460
|
-
subscribe:
|
460
|
+
subscribe: ue(e, t).subscribe
|
461
461
|
};
|
462
462
|
}
|
463
|
-
function
|
463
|
+
function ue(e, t = B) {
|
464
464
|
let r;
|
465
465
|
const n = /* @__PURE__ */ new Set();
|
466
466
|
function i(a) {
|
467
|
-
if (
|
468
|
-
const
|
469
|
-
for (const
|
470
|
-
|
471
|
-
if (
|
472
|
-
for (let
|
473
|
-
U[
|
467
|
+
if (ut(e, a) && (e = a, r)) {
|
468
|
+
const u = !U.length;
|
469
|
+
for (const h of n)
|
470
|
+
h[1](), U.push(h, e);
|
471
|
+
if (u) {
|
472
|
+
for (let h = 0; h < U.length; h += 2)
|
473
|
+
U[h][0](U[h + 1]);
|
474
474
|
U.length = 0;
|
475
475
|
}
|
476
476
|
}
|
@@ -478,10 +478,10 @@ function he(e, t = B) {
|
|
478
478
|
function s(a) {
|
479
479
|
i(a(e));
|
480
480
|
}
|
481
|
-
function o(a,
|
482
|
-
const
|
483
|
-
return n.add(
|
484
|
-
n.delete(
|
481
|
+
function o(a, u = B) {
|
482
|
+
const h = [a, u];
|
483
|
+
return n.add(h), n.size === 1 && (r = t(i, s) || B), a(e), () => {
|
484
|
+
n.delete(h), n.size === 0 && r && (r(), r = null);
|
485
485
|
};
|
486
486
|
}
|
487
487
|
return { set: i, update: s, subscribe: o };
|
@@ -491,96 +491,96 @@ function X(e, t, r) {
|
|
491
491
|
if (!i.every(Boolean))
|
492
492
|
throw new Error("derived() expects stores as input, got a falsy value");
|
493
493
|
const s = t.length < 2;
|
494
|
-
return
|
495
|
-
let
|
496
|
-
const
|
494
|
+
return mr(r, (o, a) => {
|
495
|
+
let u = !1;
|
496
|
+
const h = [];
|
497
497
|
let l = 0, c = B;
|
498
498
|
const f = () => {
|
499
499
|
if (l)
|
500
500
|
return;
|
501
501
|
c();
|
502
|
-
const g = t(n ?
|
502
|
+
const g = t(n ? h[0] : h, o, a);
|
503
503
|
s ? o(g) : c = Le(g) ? g : B;
|
504
504
|
}, x = i.map(
|
505
|
-
(g, y) =>
|
505
|
+
(g, y) => lt(
|
506
506
|
g,
|
507
507
|
(H) => {
|
508
|
-
|
508
|
+
h[y] = H, l &= ~(1 << y), u && f();
|
509
509
|
},
|
510
510
|
() => {
|
511
511
|
l |= 1 << y;
|
512
512
|
}
|
513
513
|
)
|
514
514
|
);
|
515
|
-
return
|
516
|
-
ee(x), c(),
|
515
|
+
return u = !0, f(), function() {
|
516
|
+
ee(x), c(), u = !1;
|
517
517
|
};
|
518
518
|
});
|
519
519
|
}
|
520
|
-
function
|
520
|
+
function br(e) {
|
521
521
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
522
522
|
}
|
523
|
-
var
|
524
|
-
return
|
523
|
+
var dr = function(t) {
|
524
|
+
return gr(t) && !xr(t);
|
525
525
|
};
|
526
|
-
function
|
526
|
+
function gr(e) {
|
527
527
|
return !!e && typeof e == "object";
|
528
528
|
}
|
529
|
-
function
|
529
|
+
function xr(e) {
|
530
530
|
var t = Object.prototype.toString.call(e);
|
531
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
531
|
+
return t === "[object RegExp]" || t === "[object Date]" || _r(e);
|
532
532
|
}
|
533
|
-
var
|
534
|
-
function
|
535
|
-
return e.$$typeof ===
|
533
|
+
var Er = typeof Symbol == "function" && Symbol.for, yr = Er ? Symbol.for("react.element") : 60103;
|
534
|
+
function _r(e) {
|
535
|
+
return e.$$typeof === yr;
|
536
536
|
}
|
537
|
-
function
|
537
|
+
function vr(e) {
|
538
538
|
return Array.isArray(e) ? [] : {};
|
539
539
|
}
|
540
540
|
function Y(e, t) {
|
541
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
541
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(vr(e), e, t) : e;
|
542
542
|
}
|
543
|
-
function
|
543
|
+
function Hr(e, t, r) {
|
544
544
|
return e.concat(t).map(function(n) {
|
545
545
|
return Y(n, r);
|
546
546
|
});
|
547
547
|
}
|
548
|
-
function
|
548
|
+
function Tr(e, t) {
|
549
549
|
if (!t.customMerge)
|
550
550
|
return F;
|
551
551
|
var r = t.customMerge(e);
|
552
552
|
return typeof r == "function" ? r : F;
|
553
553
|
}
|
554
|
-
function
|
554
|
+
function Br(e) {
|
555
555
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
556
556
|
return Object.propertyIsEnumerable.call(e, t);
|
557
557
|
}) : [];
|
558
558
|
}
|
559
|
-
function
|
560
|
-
return Object.keys(e).concat(
|
559
|
+
function We(e) {
|
560
|
+
return Object.keys(e).concat(Br(e));
|
561
561
|
}
|
562
|
-
function
|
562
|
+
function pt(e, t) {
|
563
563
|
try {
|
564
564
|
return t in e;
|
565
565
|
} catch (r) {
|
566
566
|
return !1;
|
567
567
|
}
|
568
568
|
}
|
569
|
-
function
|
570
|
-
return
|
569
|
+
function Sr(e, t) {
|
570
|
+
return pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
571
571
|
}
|
572
|
-
function
|
572
|
+
function Ar(e, t, r) {
|
573
573
|
var n = {};
|
574
|
-
return r.isMergeableObject(e) &&
|
574
|
+
return r.isMergeableObject(e) && We(e).forEach(function(i) {
|
575
575
|
n[i] = Y(e[i], r);
|
576
|
-
}),
|
577
|
-
|
576
|
+
}), We(t).forEach(function(i) {
|
577
|
+
Sr(e, i) || (pt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
578
578
|
}), n;
|
579
579
|
}
|
580
580
|
function F(e, t, r) {
|
581
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
581
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Hr, r.isMergeableObject = r.isMergeableObject || dr, r.cloneUnlessOtherwiseSpecified = Y;
|
582
582
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
583
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
583
|
+
return s ? n ? r.arrayMerge(e, t, r) : Ar(e, t, r) : Y(t, r);
|
584
584
|
}
|
585
585
|
F.all = function(t, r) {
|
586
586
|
if (!Array.isArray(t))
|
@@ -589,8 +589,8 @@ F.all = function(t, r) {
|
|
589
589
|
return F(n, i, r);
|
590
590
|
}, {});
|
591
591
|
};
|
592
|
-
var
|
593
|
-
const
|
592
|
+
var Pr = F, Or = Pr;
|
593
|
+
const Nr = /* @__PURE__ */ br(Or);
|
594
594
|
var Te = function(e, t) {
|
595
595
|
return Te = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
596
596
|
r.__proto__ = n;
|
@@ -616,7 +616,7 @@ var d = function() {
|
|
616
616
|
return t;
|
617
617
|
}, d.apply(this, arguments);
|
618
618
|
};
|
619
|
-
function
|
619
|
+
function Ir(e, t) {
|
620
620
|
var r = {};
|
621
621
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
622
622
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -630,53 +630,55 @@ function de(e, t, r) {
|
|
630
630
|
return e.concat(s || Array.prototype.slice.call(t));
|
631
631
|
}
|
632
632
|
function ge(e, t) {
|
633
|
-
var r = t && t.cache ? t.cache :
|
633
|
+
var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : Lr;
|
634
634
|
return i(e, {
|
635
635
|
cache: r,
|
636
636
|
serializer: n
|
637
637
|
});
|
638
638
|
}
|
639
|
-
function
|
639
|
+
function wr(e) {
|
640
640
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
641
641
|
}
|
642
|
-
function
|
643
|
-
var i =
|
642
|
+
function mt(e, t, r, n) {
|
643
|
+
var i = wr(n) ? n : r(n), s = t.get(i);
|
644
644
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
645
645
|
}
|
646
|
-
function
|
646
|
+
function bt(e, t, r) {
|
647
647
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
648
648
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
649
649
|
}
|
650
|
-
function
|
650
|
+
function Re(e, t, r, n, i) {
|
651
651
|
return r.bind(t, e, n, i);
|
652
652
|
}
|
653
|
-
function wr(e, t) {
|
654
|
-
var r = e.length === 1 ? Ir : ct;
|
655
|
-
return pt(e, this, r, t.cache.create(), t.serializer);
|
656
|
-
}
|
657
653
|
function Lr(e, t) {
|
658
|
-
|
654
|
+
var r = e.length === 1 ? mt : bt;
|
655
|
+
return Re(e, this, r, t.cache.create(), t.serializer);
|
656
|
+
}
|
657
|
+
function Cr(e, t) {
|
658
|
+
return Re(e, this, bt, t.cache.create(), t.serializer);
|
659
|
+
}
|
660
|
+
function Mr(e, t) {
|
661
|
+
return Re(e, this, mt, t.cache.create(), t.serializer);
|
659
662
|
}
|
660
|
-
var
|
663
|
+
var Rr = function() {
|
661
664
|
return JSON.stringify(arguments);
|
662
|
-
}
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
}()
|
674
|
-
), Rr = {
|
665
|
+
};
|
666
|
+
function $e() {
|
667
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
668
|
+
}
|
669
|
+
$e.prototype.get = function(e) {
|
670
|
+
return this.cache[e];
|
671
|
+
};
|
672
|
+
$e.prototype.set = function(e, t) {
|
673
|
+
this.cache[e] = t;
|
674
|
+
};
|
675
|
+
var $r = {
|
675
676
|
create: function() {
|
676
|
-
return new
|
677
|
+
return new $e();
|
677
678
|
}
|
678
679
|
}, xe = {
|
679
|
-
variadic:
|
680
|
+
variadic: Cr,
|
681
|
+
monadic: Mr
|
680
682
|
}, m;
|
681
683
|
(function(e) {
|
682
684
|
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";
|
@@ -689,43 +691,43 @@ var j;
|
|
689
691
|
(function(e) {
|
690
692
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
691
693
|
})(j || (j = {}));
|
692
|
-
function
|
694
|
+
function Ze(e) {
|
693
695
|
return e.type === E.literal;
|
694
696
|
}
|
695
|
-
function
|
697
|
+
function Ur(e) {
|
696
698
|
return e.type === E.argument;
|
697
699
|
}
|
698
|
-
function
|
700
|
+
function dt(e) {
|
699
701
|
return e.type === E.number;
|
700
702
|
}
|
701
|
-
function
|
703
|
+
function gt(e) {
|
702
704
|
return e.type === E.date;
|
703
705
|
}
|
704
|
-
function
|
706
|
+
function xt(e) {
|
705
707
|
return e.type === E.time;
|
706
708
|
}
|
707
|
-
function
|
709
|
+
function Et(e) {
|
708
710
|
return e.type === E.select;
|
709
711
|
}
|
710
|
-
function
|
712
|
+
function yt(e) {
|
711
713
|
return e.type === E.plural;
|
712
714
|
}
|
713
|
-
function
|
715
|
+
function Gr(e) {
|
714
716
|
return e.type === E.pound;
|
715
717
|
}
|
716
|
-
function
|
718
|
+
function _t(e) {
|
717
719
|
return e.type === E.tag;
|
718
720
|
}
|
719
|
-
function
|
721
|
+
function vt(e) {
|
720
722
|
return !!(e && typeof e == "object" && e.type === j.number);
|
721
723
|
}
|
722
724
|
function Be(e) {
|
723
725
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
724
726
|
}
|
725
|
-
var
|
726
|
-
function
|
727
|
+
var Ht = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[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;
|
728
|
+
function Fr(e) {
|
727
729
|
var t = {};
|
728
|
-
return e.replace(
|
730
|
+
return e.replace(Dr, function(r) {
|
729
731
|
var n = r.length;
|
730
732
|
switch (r[0]) {
|
731
733
|
case "G":
|
@@ -814,36 +816,36 @@ function Dr(e) {
|
|
814
816
|
return "";
|
815
817
|
}), t;
|
816
818
|
}
|
817
|
-
var
|
818
|
-
function
|
819
|
+
var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
820
|
+
function Vr(e) {
|
819
821
|
if (e.length === 0)
|
820
822
|
throw new Error("Number skeleton cannot be empty");
|
821
|
-
for (var t = e.split(
|
823
|
+
for (var t = e.split(jr).filter(function(f) {
|
822
824
|
return f.length > 0;
|
823
825
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
824
826
|
var s = i[n], o = s.split("/");
|
825
827
|
if (o.length === 0)
|
826
828
|
throw new Error("Invalid number skeleton");
|
827
|
-
for (var a = o[0],
|
828
|
-
var c = l[
|
829
|
+
for (var a = o[0], u = o.slice(1), h = 0, l = u; h < l.length; h++) {
|
830
|
+
var c = l[h];
|
829
831
|
if (c.length === 0)
|
830
832
|
throw new Error("Invalid number skeleton");
|
831
833
|
}
|
832
|
-
r.push({ stem: a, options:
|
834
|
+
r.push({ stem: a, options: u });
|
833
835
|
}
|
834
836
|
return r;
|
835
837
|
}
|
836
|
-
function
|
838
|
+
function kr(e) {
|
837
839
|
return e.replace(/^(.*?)-/, "");
|
838
840
|
}
|
839
|
-
var
|
840
|
-
function
|
841
|
+
var Qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tt = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, Bt = /^(0+)$/;
|
842
|
+
function Je(e) {
|
841
843
|
var t = {};
|
842
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
844
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tt, function(r, n, i) {
|
843
845
|
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)), "";
|
844
846
|
}), t;
|
845
847
|
}
|
846
|
-
function
|
848
|
+
function St(e) {
|
847
849
|
switch (e) {
|
848
850
|
case "sign-auto":
|
849
851
|
return {
|
@@ -883,7 +885,7 @@ function Tt(e) {
|
|
883
885
|
};
|
884
886
|
}
|
885
887
|
}
|
886
|
-
function
|
888
|
+
function zr(e) {
|
887
889
|
var t;
|
888
890
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
889
891
|
notation: "engineering"
|
@@ -891,17 +893,17 @@ function Xr(e) {
|
|
891
893
|
notation: "scientific"
|
892
894
|
}, e = e.slice(1)), t) {
|
893
895
|
var r = e.slice(0, 2);
|
894
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
896
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Bt.test(e))
|
895
897
|
throw new Error("Malformed concise eng/scientific notation");
|
896
898
|
t.minimumIntegerDigits = e.length;
|
897
899
|
}
|
898
900
|
return t;
|
899
901
|
}
|
900
|
-
function
|
901
|
-
var t = {}, r =
|
902
|
+
function qe(e) {
|
903
|
+
var t = {}, r = St(e);
|
902
904
|
return r || t;
|
903
905
|
}
|
904
|
-
function
|
906
|
+
function Wr(e) {
|
905
907
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
906
908
|
var i = n[r];
|
907
909
|
switch (i.stem) {
|
@@ -925,7 +927,7 @@ function zr(e) {
|
|
925
927
|
continue;
|
926
928
|
case "measure-unit":
|
927
929
|
case "unit":
|
928
|
-
t.style = "unit", t.unit =
|
930
|
+
t.style = "unit", t.unit = kr(i.options[0]);
|
929
931
|
continue;
|
930
932
|
case "compact-short":
|
931
933
|
case "K":
|
@@ -936,13 +938,13 @@ function zr(e) {
|
|
936
938
|
t.notation = "compact", t.compactDisplay = "long";
|
937
939
|
continue;
|
938
940
|
case "scientific":
|
939
|
-
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(
|
940
|
-
return d(d({},
|
941
|
+
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
|
942
|
+
return d(d({}, u), qe(h));
|
941
943
|
}, {}));
|
942
944
|
continue;
|
943
945
|
case "engineering":
|
944
|
-
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(
|
945
|
-
return d(d({},
|
946
|
+
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
|
947
|
+
return d(d({}, u), qe(h));
|
946
948
|
}, {}));
|
947
949
|
continue;
|
948
950
|
case "notation-simple":
|
@@ -987,8 +989,8 @@ function zr(e) {
|
|
987
989
|
case "integer-width":
|
988
990
|
if (i.options.length > 1)
|
989
991
|
throw new RangeError("integer-width stems only accept a single optional option");
|
990
|
-
i.options[0].replace(
|
991
|
-
if (
|
992
|
+
i.options[0].replace(Xr, function(u, h, l, c, f, x) {
|
993
|
+
if (h)
|
992
994
|
t.minimumIntegerDigits = l.length;
|
993
995
|
else {
|
994
996
|
if (c && f)
|
@@ -1000,27 +1002,27 @@ function zr(e) {
|
|
1000
1002
|
});
|
1001
1003
|
continue;
|
1002
1004
|
}
|
1003
|
-
if (
|
1005
|
+
if (Bt.test(i.stem)) {
|
1004
1006
|
t.minimumIntegerDigits = i.stem.length;
|
1005
1007
|
continue;
|
1006
1008
|
}
|
1007
|
-
if (
|
1009
|
+
if (Qe.test(i.stem)) {
|
1008
1010
|
if (i.options.length > 1)
|
1009
1011
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1010
|
-
i.stem.replace(
|
1011
|
-
return l === "*" ? t.minimumFractionDigits =
|
1012
|
+
i.stem.replace(Qe, function(u, h, l, c, f, x) {
|
1013
|
+
return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && x ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + x.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
1012
1014
|
});
|
1013
1015
|
var s = i.options[0];
|
1014
|
-
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t),
|
1016
|
+
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), Je(s)));
|
1015
1017
|
continue;
|
1016
1018
|
}
|
1017
|
-
if (
|
1018
|
-
t = d(d({}, t),
|
1019
|
+
if (Tt.test(i.stem)) {
|
1020
|
+
t = d(d({}, t), Je(i.stem));
|
1019
1021
|
continue;
|
1020
1022
|
}
|
1021
|
-
var o =
|
1023
|
+
var o = St(i.stem);
|
1022
1024
|
o && (t = d(d({}, t), o));
|
1023
|
-
var a =
|
1025
|
+
var a = zr(i.stem);
|
1024
1026
|
a && (t = d(d({}, t), a));
|
1025
1027
|
}
|
1026
1028
|
return t;
|
@@ -2440,22 +2442,22 @@ var re = {
|
|
2440
2442
|
"h"
|
2441
2443
|
]
|
2442
2444
|
};
|
2443
|
-
function
|
2445
|
+
function Zr(e, t) {
|
2444
2446
|
for (var r = "", n = 0; n < e.length; n++) {
|
2445
2447
|
var i = e.charAt(n);
|
2446
2448
|
if (i === "j") {
|
2447
2449
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2448
2450
|
s++, n++;
|
2449
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1),
|
2450
|
-
for ((
|
2451
|
-
r +=
|
2451
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), u = "a", h = Qr(t);
|
2452
|
+
for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
|
2453
|
+
r += u;
|
2452
2454
|
for (; o-- > 0; )
|
2453
|
-
r =
|
2455
|
+
r = h + r;
|
2454
2456
|
} else i === "J" ? r += "H" : r += i;
|
2455
2457
|
}
|
2456
2458
|
return r;
|
2457
2459
|
}
|
2458
|
-
function
|
2460
|
+
function Qr(e) {
|
2459
2461
|
var t = e.hourCycle;
|
2460
2462
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2461
2463
|
e.hourCycles && // @ts-ignore
|
@@ -2477,20 +2479,20 @@ function Zr(e) {
|
|
2477
2479
|
var i = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
|
2478
2480
|
return i[0];
|
2479
2481
|
}
|
2480
|
-
var Ee,
|
2482
|
+
var Ee, Jr = new RegExp("^".concat(Ht.source, "*")), qr = new RegExp("".concat(Ht.source, "*$"));
|
2481
2483
|
function b(e, t) {
|
2482
2484
|
return { start: e, end: t };
|
2483
2485
|
}
|
2484
|
-
var
|
2486
|
+
var Yr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kr = !!String.fromCodePoint, en = !!Object.fromEntries, tn = !!String.prototype.codePointAt, rn = !!String.prototype.trimStart, nn = !!String.prototype.trimEnd, sn = !!Number.isSafeInteger, on = sn ? Number.isSafeInteger : function(e) {
|
2485
2487
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2486
2488
|
}, Se = !0;
|
2487
2489
|
try {
|
2488
|
-
var
|
2489
|
-
Se = ((Ee =
|
2490
|
+
var an = Pt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2491
|
+
Se = ((Ee = an.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
|
2490
2492
|
} catch (e) {
|
2491
2493
|
Se = !1;
|
2492
2494
|
}
|
2493
|
-
var
|
2495
|
+
var Ye = Yr ? (
|
2494
2496
|
// Native
|
2495
2497
|
function(t, r, n) {
|
2496
2498
|
return t.startsWith(r, n);
|
@@ -2500,7 +2502,7 @@ var Je = qr ? (
|
|
2500
2502
|
function(t, r, n) {
|
2501
2503
|
return t.slice(n, n + r.length) === r;
|
2502
2504
|
}
|
2503
|
-
), Ae =
|
2505
|
+
), Ae = Kr ? String.fromCodePoint : (
|
2504
2506
|
// IE11
|
2505
2507
|
function() {
|
2506
2508
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2512,9 +2514,9 @@ var Je = qr ? (
|
|
2512
2514
|
}
|
2513
2515
|
return n;
|
2514
2516
|
}
|
2515
|
-
),
|
2517
|
+
), Ke = (
|
2516
2518
|
// native
|
2517
|
-
|
2519
|
+
en ? Object.fromEntries : (
|
2518
2520
|
// Ponyfill
|
2519
2521
|
function(t) {
|
2520
2522
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2524,7 +2526,7 @@ var Je = qr ? (
|
|
2524
2526
|
return r;
|
2525
2527
|
}
|
2526
2528
|
)
|
2527
|
-
),
|
2529
|
+
), At = tn ? (
|
2528
2530
|
// Native
|
2529
2531
|
function(t, r) {
|
2530
2532
|
return t.codePointAt(r);
|
@@ -2538,7 +2540,7 @@ var Je = qr ? (
|
|
2538
2540
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
2539
2541
|
}
|
2540
2542
|
}
|
2541
|
-
),
|
2543
|
+
), hn = rn ? (
|
2542
2544
|
// Native
|
2543
2545
|
function(t) {
|
2544
2546
|
return t.trimStart();
|
@@ -2546,9 +2548,9 @@ var Je = qr ? (
|
|
2546
2548
|
) : (
|
2547
2549
|
// Ponyfill
|
2548
2550
|
function(t) {
|
2549
|
-
return t.replace(
|
2551
|
+
return t.replace(Jr, "");
|
2550
2552
|
}
|
2551
|
-
), un =
|
2553
|
+
), un = nn ? (
|
2552
2554
|
// Native
|
2553
2555
|
function(t) {
|
2554
2556
|
return t.trimEnd();
|
@@ -2556,32 +2558,32 @@ var Je = qr ? (
|
|
2556
2558
|
) : (
|
2557
2559
|
// Ponyfill
|
2558
2560
|
function(t) {
|
2559
|
-
return t.replace(
|
2561
|
+
return t.replace(qr, "");
|
2560
2562
|
}
|
2561
2563
|
);
|
2562
|
-
function
|
2564
|
+
function Pt(e, t) {
|
2563
2565
|
return new RegExp(e, t);
|
2564
2566
|
}
|
2565
2567
|
var Pe;
|
2566
2568
|
if (Se) {
|
2567
|
-
var
|
2569
|
+
var et = Pt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2568
2570
|
Pe = function(t, r) {
|
2569
2571
|
var n;
|
2570
|
-
|
2571
|
-
var i =
|
2572
|
+
et.lastIndex = r;
|
2573
|
+
var i = et.exec(t);
|
2572
2574
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2573
2575
|
};
|
2574
2576
|
} else
|
2575
2577
|
Pe = function(t, r) {
|
2576
2578
|
for (var n = []; ; ) {
|
2577
|
-
var i =
|
2578
|
-
if (i === void 0 ||
|
2579
|
+
var i = At(t, r);
|
2580
|
+
if (i === void 0 || Ot(i) || pn(i))
|
2579
2581
|
break;
|
2580
2582
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2581
2583
|
}
|
2582
2584
|
return Ae.apply(void 0, n);
|
2583
2585
|
};
|
2584
|
-
var
|
2586
|
+
var ln = (
|
2585
2587
|
/** @class */
|
2586
2588
|
function() {
|
2587
2589
|
function e(t, r) {
|
@@ -2647,8 +2649,8 @@ var hn = (
|
|
2647
2649
|
if (this.bumpIf("</")) {
|
2648
2650
|
if (this.isEOF() || !Oe(this.char()))
|
2649
2651
|
return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
|
2650
|
-
var
|
2651
|
-
return i !==
|
2652
|
+
var u = this.clonePosition(), h = this.parseTagName();
|
2653
|
+
return i !== h ? this.error(m.UNMATCHED_CLOSING_TAG, b(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2652
2654
|
val: {
|
2653
2655
|
type: E.tag,
|
2654
2656
|
value: i,
|
@@ -2663,7 +2665,7 @@ var hn = (
|
|
2663
2665
|
return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
|
2664
2666
|
}, e.prototype.parseTagName = function() {
|
2665
2667
|
var t = this.offset();
|
2666
|
-
for (this.bump(); !this.isEOF() &&
|
2668
|
+
for (this.bump(); !this.isEOF() && cn(this.char()); )
|
2667
2669
|
this.bump();
|
2668
2670
|
return this.message.slice(t, this.offset());
|
2669
2671
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2685,14 +2687,14 @@ var hn = (
|
|
2685
2687
|
}
|
2686
2688
|
break;
|
2687
2689
|
}
|
2688
|
-
var
|
2690
|
+
var u = b(n, this.clonePosition());
|
2689
2691
|
return {
|
2690
|
-
val: { type: E.literal, value: i, location:
|
2692
|
+
val: { type: E.literal, value: i, location: u },
|
2691
2693
|
err: null
|
2692
2694
|
};
|
2693
2695
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2694
2696
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2695
|
-
!
|
2697
|
+
!fn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2696
2698
|
}, e.prototype.tryParseQuote = function(t) {
|
2697
2699
|
if (this.isEOF() || this.char() !== 39)
|
2698
2700
|
return null;
|
@@ -2765,15 +2767,15 @@ var hn = (
|
|
2765
2767
|
var s = this.clonePosition(), o = b(t, s);
|
2766
2768
|
return { value: n, location: o };
|
2767
2769
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
2768
|
-
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value,
|
2770
|
+
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
2769
2771
|
switch (a) {
|
2770
2772
|
case "":
|
2771
|
-
return this.error(m.EXPECT_ARGUMENT_TYPE, b(o,
|
2773
|
+
return this.error(m.EXPECT_ARGUMENT_TYPE, b(o, u));
|
2772
2774
|
case "number":
|
2773
2775
|
case "date":
|
2774
2776
|
case "time": {
|
2775
2777
|
this.bumpSpace();
|
2776
|
-
var
|
2778
|
+
var h = null;
|
2777
2779
|
if (this.bumpIf(",")) {
|
2778
2780
|
this.bumpSpace();
|
2779
2781
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
@@ -2783,16 +2785,16 @@ var hn = (
|
|
2783
2785
|
if (f.length === 0)
|
2784
2786
|
return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
2785
2787
|
var x = b(l, this.clonePosition());
|
2786
|
-
|
2788
|
+
h = { style: f, styleLocation: x };
|
2787
2789
|
}
|
2788
2790
|
var g = this.tryParseArgumentClose(i);
|
2789
2791
|
if (g.err)
|
2790
2792
|
return g;
|
2791
2793
|
var y = b(i, this.clonePosition());
|
2792
|
-
if (
|
2793
|
-
var H =
|
2794
|
+
if (h && Ye(h == null ? void 0 : h.style, "::", 0)) {
|
2795
|
+
var H = hn(h.style.slice(2));
|
2794
2796
|
if (a === "number") {
|
2795
|
-
var c = this.parseNumberSkeletonFromString(H,
|
2797
|
+
var c = this.parseNumberSkeletonFromString(H, h.styleLocation);
|
2796
2798
|
return c.err ? c : {
|
2797
2799
|
val: { type: E.number, value: n, location: y, style: c.val },
|
2798
2800
|
err: null
|
@@ -2801,12 +2803,12 @@ var hn = (
|
|
2801
2803
|
if (H.length === 0)
|
2802
2804
|
return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
|
2803
2805
|
var S = H;
|
2804
|
-
this.locale && (S =
|
2806
|
+
this.locale && (S = Zr(H, this.locale));
|
2805
2807
|
var f = {
|
2806
2808
|
type: j.dateTime,
|
2807
2809
|
pattern: S,
|
2808
|
-
location:
|
2809
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2810
|
+
location: h.styleLocation,
|
2811
|
+
parsedOptions: this.shouldParseSkeletons ? Fr(S) : {}
|
2810
2812
|
}, A = a === "date" ? E.date : E.time;
|
2811
2813
|
return {
|
2812
2814
|
val: { type: A, value: n, location: y, style: f },
|
@@ -2819,7 +2821,7 @@ var hn = (
|
|
2819
2821
|
type: a === "number" ? E.number : a === "date" ? E.date : E.time,
|
2820
2822
|
value: n,
|
2821
2823
|
location: y,
|
2822
|
-
style: (s =
|
2824
|
+
style: (s = h == null ? void 0 : h.style) !== null && s !== void 0 ? s : null
|
2823
2825
|
},
|
2824
2826
|
err: null
|
2825
2827
|
};
|
@@ -2852,7 +2854,7 @@ var hn = (
|
|
2852
2854
|
val: {
|
2853
2855
|
type: E.select,
|
2854
2856
|
value: n,
|
2855
|
-
options:
|
2857
|
+
options: Ke(R.val),
|
2856
2858
|
location: te
|
2857
2859
|
},
|
2858
2860
|
err: null
|
@@ -2860,7 +2862,7 @@ var hn = (
|
|
2860
2862
|
val: {
|
2861
2863
|
type: E.plural,
|
2862
2864
|
value: n,
|
2863
|
-
options:
|
2865
|
+
options: Ke(R.val),
|
2864
2866
|
offset: O,
|
2865
2867
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2866
2868
|
location: te
|
@@ -2869,7 +2871,7 @@ var hn = (
|
|
2869
2871
|
};
|
2870
2872
|
}
|
2871
2873
|
default:
|
2872
|
-
return this.error(m.INVALID_ARGUMENT_TYPE, b(o,
|
2874
|
+
return this.error(m.INVALID_ARGUMENT_TYPE, b(o, u));
|
2873
2875
|
}
|
2874
2876
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
2875
2877
|
return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
@@ -2911,7 +2913,7 @@ var hn = (
|
|
2911
2913
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2912
2914
|
var n = [];
|
2913
2915
|
try {
|
2914
|
-
n =
|
2916
|
+
n = Vr(t);
|
2915
2917
|
} catch (i) {
|
2916
2918
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
2917
2919
|
}
|
@@ -2920,25 +2922,25 @@ var hn = (
|
|
2920
2922
|
type: j.number,
|
2921
2923
|
tokens: n,
|
2922
2924
|
location: r,
|
2923
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2925
|
+
parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
|
2924
2926
|
},
|
2925
2927
|
err: null
|
2926
2928
|
};
|
2927
2929
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
2928
|
-
for (var s, o = !1, a = [],
|
2929
|
-
if (
|
2930
|
+
for (var s, o = !1, a = [], u = /* @__PURE__ */ new Set(), h = i.value, l = i.location; ; ) {
|
2931
|
+
if (h.length === 0) {
|
2930
2932
|
var c = this.clonePosition();
|
2931
2933
|
if (r !== "select" && this.bumpIf("=")) {
|
2932
2934
|
var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
2933
2935
|
if (f.err)
|
2934
2936
|
return f;
|
2935
|
-
l = b(c, this.clonePosition()),
|
2937
|
+
l = b(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
|
2936
2938
|
} else
|
2937
2939
|
break;
|
2938
2940
|
}
|
2939
|
-
if (
|
2941
|
+
if (u.has(h))
|
2940
2942
|
return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
2941
|
-
|
2943
|
+
h === "other" && (o = !0), this.bumpSpace();
|
2942
2944
|
var x = this.clonePosition();
|
2943
2945
|
if (!this.bumpIf("{"))
|
2944
2946
|
return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
@@ -2949,12 +2951,12 @@ var hn = (
|
|
2949
2951
|
if (y.err)
|
2950
2952
|
return y;
|
2951
2953
|
a.push([
|
2952
|
-
|
2954
|
+
h,
|
2953
2955
|
{
|
2954
2956
|
value: g.val,
|
2955
2957
|
location: b(x, this.clonePosition())
|
2956
2958
|
}
|
2957
|
-
]),
|
2959
|
+
]), u.add(h), this.bumpSpace(), s = this.parseIdentifierIfPossible(), h = s.value, l = s.location;
|
2958
2960
|
}
|
2959
2961
|
return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
2960
2962
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
@@ -2967,8 +2969,8 @@ var hn = (
|
|
2967
2969
|
else
|
2968
2970
|
break;
|
2969
2971
|
}
|
2970
|
-
var
|
2971
|
-
return s ? (o *= n,
|
2972
|
+
var u = b(i, this.clonePosition());
|
2973
|
+
return s ? (o *= n, on(o) ? { val: o, err: null } : this.error(r, u)) : this.error(t, u);
|
2972
2974
|
}, e.prototype.offset = function() {
|
2973
2975
|
return this.position.offset;
|
2974
2976
|
}, e.prototype.isEOF = function() {
|
@@ -2983,7 +2985,7 @@ var hn = (
|
|
2983
2985
|
var t = this.position.offset;
|
2984
2986
|
if (t >= this.message.length)
|
2985
2987
|
throw Error("out of bound");
|
2986
|
-
var r =
|
2988
|
+
var r = At(this.message, t);
|
2987
2989
|
if (r === void 0)
|
2988
2990
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
2989
2991
|
return r;
|
@@ -3002,7 +3004,7 @@ var hn = (
|
|
3002
3004
|
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);
|
3003
3005
|
}
|
3004
3006
|
}, e.prototype.bumpIf = function(t) {
|
3005
|
-
if (
|
3007
|
+
if (Ye(this.message, t, this.offset())) {
|
3006
3008
|
for (var r = 0; r < t.length; r++)
|
3007
3009
|
this.bump();
|
3008
3010
|
return !0;
|
@@ -3024,7 +3026,7 @@ var hn = (
|
|
3024
3026
|
break;
|
3025
3027
|
}
|
3026
3028
|
}, e.prototype.bumpSpace = function() {
|
3027
|
-
for (; !this.isEOF() &&
|
3029
|
+
for (; !this.isEOF() && Ot(this.char()); )
|
3028
3030
|
this.bump();
|
3029
3031
|
}, e.prototype.peek = function() {
|
3030
3032
|
if (this.isEOF())
|
@@ -3037,29 +3039,29 @@ var hn = (
|
|
3037
3039
|
function Oe(e) {
|
3038
3040
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3039
3041
|
}
|
3040
|
-
function
|
3042
|
+
function fn(e) {
|
3041
3043
|
return Oe(e) || e === 47;
|
3042
3044
|
}
|
3043
|
-
function
|
3045
|
+
function cn(e) {
|
3044
3046
|
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;
|
3045
3047
|
}
|
3046
|
-
function
|
3048
|
+
function Ot(e) {
|
3047
3049
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3048
3050
|
}
|
3049
|
-
function
|
3051
|
+
function pn(e) {
|
3050
3052
|
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;
|
3051
3053
|
}
|
3052
3054
|
function Ne(e) {
|
3053
3055
|
e.forEach(function(t) {
|
3054
|
-
if (delete t.location,
|
3056
|
+
if (delete t.location, Et(t) || yt(t))
|
3055
3057
|
for (var r in t.options)
|
3056
3058
|
delete t.options[r].location, Ne(t.options[r].value);
|
3057
|
-
else
|
3059
|
+
else dt(t) && vt(t.style) || (gt(t) || xt(t)) && Be(t.style) ? delete t.style.location : _t(t) && Ne(t.children);
|
3058
3060
|
});
|
3059
3061
|
}
|
3060
|
-
function
|
3062
|
+
function mn(e, t) {
|
3061
3063
|
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3062
|
-
var r = new
|
3064
|
+
var r = new ln(e, t).parse();
|
3063
3065
|
if (r.err) {
|
3064
3066
|
var n = SyntaxError(m[r.err.kind]);
|
3065
3067
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
@@ -3082,7 +3084,7 @@ var fe = (
|
|
3082
3084
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3083
3085
|
}, t;
|
3084
3086
|
}(Error)
|
3085
|
-
),
|
3087
|
+
), tt = (
|
3086
3088
|
/** @class */
|
3087
3089
|
function(e) {
|
3088
3090
|
le(t, e);
|
@@ -3091,7 +3093,7 @@ var fe = (
|
|
3091
3093
|
}
|
3092
3094
|
return t;
|
3093
3095
|
}(fe)
|
3094
|
-
),
|
3096
|
+
), bn = (
|
3095
3097
|
/** @class */
|
3096
3098
|
function(e) {
|
3097
3099
|
le(t, e);
|
@@ -3100,7 +3102,7 @@ var fe = (
|
|
3100
3102
|
}
|
3101
3103
|
return t;
|
3102
3104
|
}(fe)
|
3103
|
-
),
|
3105
|
+
), dn = (
|
3104
3106
|
/** @class */
|
3105
3107
|
function(e) {
|
3106
3108
|
le(t, e);
|
@@ -3113,33 +3115,33 @@ var fe = (
|
|
3113
3115
|
(function(e) {
|
3114
3116
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3115
3117
|
})(_ || (_ = {}));
|
3116
|
-
function
|
3118
|
+
function gn(e) {
|
3117
3119
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3118
3120
|
var n = t[t.length - 1];
|
3119
3121
|
return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
|
3120
3122
|
}, []);
|
3121
3123
|
}
|
3122
|
-
function
|
3124
|
+
function xn(e) {
|
3123
3125
|
return typeof e == "function";
|
3124
3126
|
}
|
3125
3127
|
function se(e, t, r, n, i, s, o) {
|
3126
|
-
if (e.length === 1 &&
|
3128
|
+
if (e.length === 1 && Ze(e[0]))
|
3127
3129
|
return [
|
3128
3130
|
{
|
3129
3131
|
type: _.literal,
|
3130
3132
|
value: e[0].value
|
3131
3133
|
}
|
3132
3134
|
];
|
3133
|
-
for (var a = [],
|
3134
|
-
var l = u
|
3135
|
-
if (
|
3135
|
+
for (var a = [], u = 0, h = e; u < h.length; u++) {
|
3136
|
+
var l = h[u];
|
3137
|
+
if (Ze(l)) {
|
3136
3138
|
a.push({
|
3137
3139
|
type: _.literal,
|
3138
3140
|
value: l.value
|
3139
3141
|
});
|
3140
3142
|
continue;
|
3141
3143
|
}
|
3142
|
-
if (
|
3144
|
+
if (Gr(l)) {
|
3143
3145
|
typeof s == "number" && a.push({
|
3144
3146
|
type: _.literal,
|
3145
3147
|
value: r.getNumberFormat(t).format(s)
|
@@ -3148,16 +3150,16 @@ function se(e, t, r, n, i, s, o) {
|
|
3148
3150
|
}
|
3149
3151
|
var c = l.value;
|
3150
3152
|
if (!(i && c in i))
|
3151
|
-
throw new
|
3153
|
+
throw new dn(c, o);
|
3152
3154
|
var f = i[c];
|
3153
|
-
if (
|
3155
|
+
if (Ur(l)) {
|
3154
3156
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3155
3157
|
type: typeof f == "string" ? _.literal : _.object,
|
3156
3158
|
value: f
|
3157
3159
|
});
|
3158
3160
|
continue;
|
3159
3161
|
}
|
3160
|
-
if (
|
3162
|
+
if (gt(l)) {
|
3161
3163
|
var x = typeof l.style == "string" ? n.date[l.style] : Be(l.style) ? l.style.parsedOptions : void 0;
|
3162
3164
|
a.push({
|
3163
3165
|
type: _.literal,
|
@@ -3165,7 +3167,7 @@ function se(e, t, r, n, i, s, o) {
|
|
3165
3167
|
});
|
3166
3168
|
continue;
|
3167
3169
|
}
|
3168
|
-
if (
|
3170
|
+
if (xt(l)) {
|
3169
3171
|
var x = typeof l.style == "string" ? n.time[l.style] : Be(l.style) ? l.style.parsedOptions : n.time.medium;
|
3170
3172
|
a.push({
|
3171
3173
|
type: _.literal,
|
@@ -3173,18 +3175,18 @@ function se(e, t, r, n, i, s, o) {
|
|
3173
3175
|
});
|
3174
3176
|
continue;
|
3175
3177
|
}
|
3176
|
-
if (
|
3177
|
-
var x = typeof l.style == "string" ? n.number[l.style] :
|
3178
|
+
if (dt(l)) {
|
3179
|
+
var x = typeof l.style == "string" ? n.number[l.style] : vt(l.style) ? l.style.parsedOptions : void 0;
|
3178
3180
|
x && x.scale && (f = f * (x.scale || 1)), a.push({
|
3179
3181
|
type: _.literal,
|
3180
3182
|
value: r.getNumberFormat(t, x).format(f)
|
3181
3183
|
});
|
3182
3184
|
continue;
|
3183
3185
|
}
|
3184
|
-
if (
|
3186
|
+
if (_t(l)) {
|
3185
3187
|
var g = l.children, y = l.value, H = i[y];
|
3186
|
-
if (!
|
3187
|
-
throw new
|
3188
|
+
if (!xn(H))
|
3189
|
+
throw new bn(y, "function", o);
|
3188
3190
|
var S = se(g, t, r, n, i, s), A = H(S.map(function(O) {
|
3189
3191
|
return O.value;
|
3190
3192
|
}));
|
@@ -3195,14 +3197,14 @@ function se(e, t, r, n, i, s, o) {
|
|
3195
3197
|
};
|
3196
3198
|
}));
|
3197
3199
|
}
|
3198
|
-
if (
|
3200
|
+
if (Et(l)) {
|
3199
3201
|
var v = l.options[f] || l.options.other;
|
3200
3202
|
if (!v)
|
3201
|
-
throw new
|
3203
|
+
throw new tt(l.value, f, Object.keys(l.options), o);
|
3202
3204
|
a.push.apply(a, se(v.value, t, r, n, i));
|
3203
3205
|
continue;
|
3204
3206
|
}
|
3205
|
-
if (
|
3207
|
+
if (yt(l)) {
|
3206
3208
|
var v = l.options["=".concat(f)];
|
3207
3209
|
if (!v) {
|
3208
3210
|
if (!Intl.PluralRules)
|
@@ -3213,21 +3215,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3213
3215
|
v = l.options[N] || l.options.other;
|
3214
3216
|
}
|
3215
3217
|
if (!v)
|
3216
|
-
throw new
|
3218
|
+
throw new tt(l.value, f, Object.keys(l.options), o);
|
3217
3219
|
a.push.apply(a, se(v.value, t, r, n, i, f - (l.offset || 0)));
|
3218
3220
|
continue;
|
3219
3221
|
}
|
3220
3222
|
}
|
3221
|
-
return
|
3223
|
+
return gn(a);
|
3222
3224
|
}
|
3223
|
-
function
|
3225
|
+
function En(e, t) {
|
3224
3226
|
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3225
3227
|
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
3226
3228
|
}, {})) : e;
|
3227
3229
|
}
|
3228
|
-
function
|
3230
|
+
function yn(e, t) {
|
3229
3231
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3230
|
-
return r[n] =
|
3232
|
+
return r[n] = En(e[n], t[n]), r;
|
3231
3233
|
}, d({}, e)) : e;
|
3232
3234
|
}
|
3233
3235
|
function ye(e) {
|
@@ -3244,7 +3246,7 @@ function ye(e) {
|
|
3244
3246
|
}
|
3245
3247
|
};
|
3246
3248
|
}
|
3247
|
-
function
|
3249
|
+
function _n(e) {
|
3248
3250
|
return e === void 0 && (e = {
|
3249
3251
|
number: {},
|
3250
3252
|
dateTime: {},
|
@@ -3276,7 +3278,7 @@ function yn(e) {
|
|
3276
3278
|
})
|
3277
3279
|
};
|
3278
3280
|
}
|
3279
|
-
var
|
3281
|
+
var vn = (
|
3280
3282
|
/** @class */
|
3281
3283
|
function() {
|
3282
3284
|
function e(t, r, n, i) {
|
@@ -3286,20 +3288,20 @@ var _n = (
|
|
3286
3288
|
number: {},
|
3287
3289
|
dateTime: {},
|
3288
3290
|
pluralRules: {}
|
3289
|
-
}, this.format = function(
|
3290
|
-
var
|
3291
|
-
if (
|
3292
|
-
return
|
3293
|
-
var l =
|
3291
|
+
}, this.format = function(u) {
|
3292
|
+
var h = s.formatToParts(u);
|
3293
|
+
if (h.length === 1)
|
3294
|
+
return h[0].value;
|
3295
|
+
var l = h.reduce(function(c, f) {
|
3294
3296
|
return !c.length || f.type !== _.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
3295
3297
|
}, []);
|
3296
3298
|
return l.length <= 1 ? l[0] || "" : l;
|
3297
|
-
}, this.formatToParts = function(
|
3298
|
-
return se(s.ast, s.locales, s.formatters, s.formats,
|
3299
|
+
}, this.formatToParts = function(u) {
|
3300
|
+
return se(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
|
3299
3301
|
}, this.resolvedOptions = function() {
|
3300
|
-
var
|
3302
|
+
var u;
|
3301
3303
|
return {
|
3302
|
-
locale: ((
|
3304
|
+
locale: ((u = s.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
|
3303
3305
|
};
|
3304
3306
|
}, this.getAst = function() {
|
3305
3307
|
return s.ast;
|
@@ -3308,13 +3310,13 @@ var _n = (
|
|
3308
3310
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3309
3311
|
var o = i || {};
|
3310
3312
|
o.formatters;
|
3311
|
-
var a =
|
3313
|
+
var a = Ir(o, ["formatters"]);
|
3312
3314
|
this.ast = e.__parse(t, d(d({}, a), { locale: this.resolvedLocale }));
|
3313
3315
|
} else
|
3314
3316
|
this.ast = t;
|
3315
3317
|
if (!Array.isArray(this.ast))
|
3316
3318
|
throw new TypeError("A message must be provided as a String or AST.");
|
3317
|
-
this.formats =
|
3319
|
+
this.formats = yn(e.formats, n), this.formatters = i && i.formatters || _n(this.formatterCache);
|
3318
3320
|
}
|
3319
3321
|
return Object.defineProperty(e, "defaultLocale", {
|
3320
3322
|
get: function() {
|
@@ -3327,7 +3329,7 @@ var _n = (
|
|
3327
3329
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3328
3330
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3329
3331
|
}
|
3330
|
-
}, e.__parse =
|
3332
|
+
}, e.__parse = mn, e.formats = {
|
3331
3333
|
number: {
|
3332
3334
|
integer: {
|
3333
3335
|
maximumFractionDigits: 0
|
@@ -3388,7 +3390,7 @@ var _n = (
|
|
3388
3390
|
}, e;
|
3389
3391
|
}()
|
3390
3392
|
);
|
3391
|
-
function
|
3393
|
+
function Hn(e, t) {
|
3392
3394
|
if (t == null)
|
3393
3395
|
return;
|
3394
3396
|
if (t in e)
|
@@ -3409,60 +3411,60 @@ function vn(e, t) {
|
|
3409
3411
|
n = void 0;
|
3410
3412
|
return n;
|
3411
3413
|
}
|
3412
|
-
const I = {},
|
3414
|
+
const I = {}, Tn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Nt = (e, t) => {
|
3413
3415
|
if (t == null)
|
3414
3416
|
return;
|
3415
3417
|
if (t in I && e in I[t])
|
3416
3418
|
return I[t][e];
|
3417
3419
|
const r = ce(t);
|
3418
3420
|
for (let n = 0; n < r.length; n++) {
|
3419
|
-
const i = r[n], s =
|
3421
|
+
const i = r[n], s = Sn(i, e);
|
3420
3422
|
if (s)
|
3421
|
-
return
|
3423
|
+
return Tn(e, t, s);
|
3422
3424
|
}
|
3423
3425
|
};
|
3424
|
-
let
|
3425
|
-
const z =
|
3426
|
-
function
|
3427
|
-
return
|
3426
|
+
let Ue;
|
3427
|
+
const z = ue({});
|
3428
|
+
function Bn(e) {
|
3429
|
+
return Ue[e] || null;
|
3428
3430
|
}
|
3429
|
-
function
|
3430
|
-
return e in
|
3431
|
+
function It(e) {
|
3432
|
+
return e in Ue;
|
3431
3433
|
}
|
3432
|
-
function
|
3433
|
-
if (!
|
3434
|
+
function Sn(e, t) {
|
3435
|
+
if (!It(e))
|
3434
3436
|
return null;
|
3435
|
-
const r =
|
3436
|
-
return
|
3437
|
+
const r = Bn(e);
|
3438
|
+
return Hn(r, t);
|
3437
3439
|
}
|
3438
|
-
function
|
3440
|
+
function An(e) {
|
3439
3441
|
if (e == null)
|
3440
3442
|
return;
|
3441
3443
|
const t = ce(e);
|
3442
3444
|
for (let r = 0; r < t.length; r++) {
|
3443
3445
|
const n = t[r];
|
3444
|
-
if (
|
3446
|
+
if (It(n))
|
3445
3447
|
return n;
|
3446
3448
|
}
|
3447
3449
|
}
|
3448
|
-
function
|
3449
|
-
delete I[e], z.update((r) => (r[e] =
|
3450
|
+
function wt(e, ...t) {
|
3451
|
+
delete I[e], z.update((r) => (r[e] = Nr.all([r[e] || {}, ...t]), r));
|
3450
3452
|
}
|
3451
3453
|
X(
|
3452
3454
|
[z],
|
3453
3455
|
([e]) => Object.keys(e)
|
3454
3456
|
);
|
3455
|
-
z.subscribe((e) =>
|
3457
|
+
z.subscribe((e) => Ue = e);
|
3456
3458
|
const oe = {};
|
3457
|
-
function
|
3459
|
+
function Pn(e, t) {
|
3458
3460
|
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
3459
3461
|
}
|
3460
|
-
function
|
3462
|
+
function Lt(e) {
|
3461
3463
|
return oe[e];
|
3462
3464
|
}
|
3463
|
-
function
|
3465
|
+
function On(e) {
|
3464
3466
|
return ce(e).map((t) => {
|
3465
|
-
const r =
|
3467
|
+
const r = Lt(t);
|
3466
3468
|
return [t, r ? [...r] : []];
|
3467
3469
|
}).filter(([, t]) => t.length > 0);
|
3468
3470
|
}
|
@@ -3470,31 +3472,31 @@ function Ie(e) {
|
|
3470
3472
|
return e == null ? !1 : ce(e).some(
|
3471
3473
|
(t) => {
|
3472
3474
|
var r;
|
3473
|
-
return (r =
|
3475
|
+
return (r = Lt(t)) == null ? void 0 : r.size;
|
3474
3476
|
}
|
3475
3477
|
);
|
3476
3478
|
}
|
3477
|
-
function
|
3479
|
+
function Nn(e, t) {
|
3478
3480
|
return Promise.all(
|
3479
|
-
t.map((n) => (
|
3480
|
-
).then((n) =>
|
3481
|
+
t.map((n) => (Pn(e, n), n().then((i) => i.default || i)))
|
3482
|
+
).then((n) => wt(e, ...n));
|
3481
3483
|
}
|
3482
3484
|
const Z = {};
|
3483
|
-
function
|
3485
|
+
function Ct(e) {
|
3484
3486
|
if (!Ie(e))
|
3485
3487
|
return e in Z ? Z[e] : Promise.resolve();
|
3486
|
-
const t =
|
3488
|
+
const t = On(e);
|
3487
3489
|
return Z[e] = Promise.all(
|
3488
3490
|
t.map(
|
3489
|
-
([r, n]) =>
|
3491
|
+
([r, n]) => Nn(r, n)
|
3490
3492
|
)
|
3491
3493
|
).then(() => {
|
3492
3494
|
if (Ie(e))
|
3493
|
-
return
|
3495
|
+
return Ct(e);
|
3494
3496
|
delete Z[e];
|
3495
3497
|
}), Z[e];
|
3496
3498
|
}
|
3497
|
-
const
|
3499
|
+
const In = {
|
3498
3500
|
number: {
|
3499
3501
|
scientific: { notation: "scientific" },
|
3500
3502
|
engineering: { notation: "engineering" },
|
@@ -3523,34 +3525,34 @@ const Nn = {
|
|
3523
3525
|
timeZoneName: "short"
|
3524
3526
|
}
|
3525
3527
|
}
|
3526
|
-
},
|
3528
|
+
}, wn = {
|
3527
3529
|
fallbackLocale: null,
|
3528
3530
|
loadingDelay: 200,
|
3529
|
-
formats:
|
3531
|
+
formats: In,
|
3530
3532
|
warnOnMissingMessages: !0,
|
3531
3533
|
handleMissingMessage: void 0,
|
3532
3534
|
ignoreTag: !0
|
3533
|
-
},
|
3535
|
+
}, Ln = wn;
|
3534
3536
|
function k() {
|
3535
|
-
return
|
3537
|
+
return Ln;
|
3536
3538
|
}
|
3537
|
-
const _e =
|
3538
|
-
var
|
3539
|
+
const _e = ue(!1);
|
3540
|
+
var Cn = Object.defineProperty, Mn = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, rt = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, nt = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gn = (e, t) => {
|
3539
3541
|
for (var r in t || (t = {}))
|
3540
|
-
|
3541
|
-
if (
|
3542
|
-
for (var r of
|
3543
|
-
|
3542
|
+
$n.call(t, r) && nt(e, r, t[r]);
|
3543
|
+
if (rt)
|
3544
|
+
for (var r of rt(t))
|
3545
|
+
Un.call(t, r) && nt(e, r, t[r]);
|
3544
3546
|
return e;
|
3545
|
-
},
|
3547
|
+
}, Dn = (e, t) => Mn(e, Rn(t));
|
3546
3548
|
let we;
|
3547
|
-
const ae =
|
3548
|
-
function
|
3549
|
+
const ae = ue(null);
|
3550
|
+
function it(e) {
|
3549
3551
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3550
3552
|
}
|
3551
3553
|
function ce(e, t = k().fallbackLocale) {
|
3552
|
-
const r =
|
3553
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3554
|
+
const r = it(e);
|
3555
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...it(t)])] : r;
|
3554
3556
|
}
|
3555
3557
|
function M() {
|
3556
3558
|
return we != null ? we : void 0;
|
@@ -3558,22 +3560,22 @@ function M() {
|
|
3558
3560
|
ae.subscribe((e) => {
|
3559
3561
|
we = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3560
3562
|
});
|
3561
|
-
const
|
3562
|
-
if (e &&
|
3563
|
+
const Fn = (e) => {
|
3564
|
+
if (e && An(e) && Ie(e)) {
|
3563
3565
|
const { loadingDelay: t } = k();
|
3564
3566
|
let r;
|
3565
3567
|
return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
|
3566
3568
|
() => _e.set(!0),
|
3567
3569
|
t
|
3568
|
-
) : _e.set(!0),
|
3570
|
+
) : _e.set(!0), Ct(e).then(() => {
|
3569
3571
|
ae.set(e);
|
3570
3572
|
}).finally(() => {
|
3571
3573
|
clearTimeout(r), _e.set(!1);
|
3572
3574
|
});
|
3573
3575
|
}
|
3574
3576
|
return ae.set(e);
|
3575
|
-
}, w = Gn(
|
3576
|
-
set:
|
3577
|
+
}, w = Dn(Gn({}, ae), {
|
3578
|
+
set: Fn
|
3577
3579
|
}), pe = (e) => {
|
3578
3580
|
const t = /* @__PURE__ */ Object.create(null);
|
3579
3581
|
return (n) => {
|
@@ -3581,20 +3583,20 @@ const Dn = (e) => {
|
|
3581
3583
|
return i in t ? t[i] : t[i] = e(n);
|
3582
3584
|
};
|
3583
3585
|
};
|
3584
|
-
var
|
3586
|
+
var jn = Object.defineProperty, he = Object.getOwnPropertySymbols, Mt = Object.prototype.hasOwnProperty, Rt = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
|
3585
3587
|
for (var r in t || (t = {}))
|
3586
|
-
|
3587
|
-
if (
|
3588
|
-
for (var r of
|
3589
|
-
|
3588
|
+
Mt.call(t, r) && st(e, r, t[r]);
|
3589
|
+
if (he)
|
3590
|
+
for (var r of he(t))
|
3591
|
+
Rt.call(t, r) && st(e, r, t[r]);
|
3590
3592
|
return e;
|
3591
3593
|
}, W = (e, t) => {
|
3592
3594
|
var r = {};
|
3593
3595
|
for (var n in e)
|
3594
|
-
|
3595
|
-
if (e != null &&
|
3596
|
-
for (var n of
|
3597
|
-
t.indexOf(n) < 0 &&
|
3596
|
+
Mt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3597
|
+
if (e != null && he)
|
3598
|
+
for (var n of he(e))
|
3599
|
+
t.indexOf(n) < 0 && Rt.call(e, n) && (r[n] = e[n]);
|
3598
3600
|
return r;
|
3599
3601
|
};
|
3600
3602
|
const K = (e, t) => {
|
@@ -3602,21 +3604,21 @@ const K = (e, t) => {
|
|
3602
3604
|
if (e in r && t in r[e])
|
3603
3605
|
return r[e][t];
|
3604
3606
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3605
|
-
},
|
3607
|
+
}, Vn = pe(
|
3606
3608
|
(e) => {
|
3607
3609
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3608
3610
|
if (r == null)
|
3609
3611
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3610
3612
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
3611
3613
|
}
|
3612
|
-
),
|
3614
|
+
), kn = pe(
|
3613
3615
|
(e) => {
|
3614
3616
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3615
3617
|
if (r == null)
|
3616
3618
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3617
3619
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
3618
3620
|
}
|
3619
|
-
),
|
3621
|
+
), Xn = pe(
|
3620
3622
|
(e) => {
|
3621
3623
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3622
3624
|
if (r == null)
|
@@ -3625,48 +3627,48 @@ const K = (e, t) => {
|
|
3625
3627
|
);
|
3626
3628
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
3627
3629
|
}
|
3628
|
-
),
|
3630
|
+
), zn = (e = {}) => {
|
3629
3631
|
var t = e, {
|
3630
3632
|
locale: r = M()
|
3631
3633
|
} = t, n = W(t, [
|
3632
3634
|
"locale"
|
3633
3635
|
]);
|
3634
|
-
return
|
3635
|
-
},
|
3636
|
+
return Vn(Ge({ locale: r }, n));
|
3637
|
+
}, Wn = (e = {}) => {
|
3636
3638
|
var t = e, {
|
3637
3639
|
locale: r = M()
|
3638
3640
|
} = t, n = W(t, [
|
3639
3641
|
"locale"
|
3640
3642
|
]);
|
3641
|
-
return
|
3642
|
-
},
|
3643
|
+
return kn(Ge({ locale: r }, n));
|
3644
|
+
}, Zn = (e = {}) => {
|
3643
3645
|
var t = e, {
|
3644
3646
|
locale: r = M()
|
3645
3647
|
} = t, n = W(t, [
|
3646
3648
|
"locale"
|
3647
3649
|
]);
|
3648
|
-
return
|
3649
|
-
},
|
3650
|
+
return Xn(Ge({ locale: r }, n));
|
3651
|
+
}, Qn = pe(
|
3650
3652
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3651
|
-
(e, t = M()) => new
|
3653
|
+
(e, t = M()) => new vn(e, t, k().formats, {
|
3652
3654
|
ignoreTag: k().ignoreTag
|
3653
3655
|
})
|
3654
|
-
),
|
3656
|
+
), Jn = (e, t = {}) => {
|
3655
3657
|
var r, n, i, s;
|
3656
3658
|
let o = t;
|
3657
3659
|
typeof e == "object" && (o = e, e = o.id);
|
3658
3660
|
const {
|
3659
3661
|
values: a,
|
3660
|
-
locale:
|
3661
|
-
default:
|
3662
|
+
locale: u = M(),
|
3663
|
+
default: h
|
3662
3664
|
} = o;
|
3663
|
-
if (
|
3665
|
+
if (u == null)
|
3664
3666
|
throw new Error(
|
3665
3667
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3666
3668
|
);
|
3667
|
-
let l =
|
3669
|
+
let l = Nt(e, u);
|
3668
3670
|
if (!l)
|
3669
|
-
l = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale:
|
3671
|
+
l = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? s : e;
|
3670
3672
|
else if (typeof l != "string")
|
3671
3673
|
return console.warn(
|
3672
3674
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
@@ -3675,7 +3677,7 @@ const K = (e, t) => {
|
|
3675
3677
|
return l;
|
3676
3678
|
let c = l;
|
3677
3679
|
try {
|
3678
|
-
c =
|
3680
|
+
c = Qn(l, u).format(a);
|
3679
3681
|
} catch (f) {
|
3680
3682
|
f instanceof Error && console.warn(
|
3681
3683
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3683,23 +3685,23 @@ const K = (e, t) => {
|
|
3683
3685
|
);
|
3684
3686
|
}
|
3685
3687
|
return c;
|
3686
|
-
},
|
3687
|
-
X([w], () => Jn);
|
3688
|
+
}, qn = (e, t) => Zn(t).format(e), Yn = (e, t) => Wn(t).format(e), Kn = (e, t) => zn(t).format(e), ei = (e, t = M()) => Nt(e, t), ti = X([w, z], () => Jn);
|
3688
3689
|
X([w], () => qn);
|
3689
3690
|
X([w], () => Yn);
|
3690
|
-
X([w
|
3691
|
-
|
3691
|
+
X([w], () => Kn);
|
3692
|
+
X([w, z], () => ei);
|
3693
|
+
function ri({ withLocale: e, translations: t }) {
|
3692
3694
|
w.subscribe((r) => {
|
3693
3695
|
r == null && (z.set(t), w.set(e));
|
3694
3696
|
});
|
3695
3697
|
}
|
3696
|
-
function
|
3697
|
-
|
3698
|
+
function ot(e, t) {
|
3699
|
+
wt(e, t);
|
3698
3700
|
}
|
3699
|
-
function
|
3701
|
+
function ni(e) {
|
3700
3702
|
w.set(e);
|
3701
3703
|
}
|
3702
|
-
const
|
3704
|
+
const at = {
|
3703
3705
|
en: {
|
3704
3706
|
bets: "bets"
|
3705
3707
|
},
|
@@ -3725,25 +3727,25 @@ const st = {
|
|
3725
3727
|
bets: "bets"
|
3726
3728
|
}
|
3727
3729
|
};
|
3728
|
-
function ni(e) {
|
3729
|
-
zt(e, "svelte-6dosur", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.general-icon-progress-bar{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);height:100%;background:rgba(0, 0, 0, 0.8);border-radius:3px}.stepBar.inactive::after{border-color:#a6a4a1 transparent transparent transparent}.stepBar.inactive{background:linear-gradient(270deg, #a2a09e 8.82%, #aba9ad 99.63%)}.stepBar.inactive span{color:rgba(112, 106, 106, 0.8)}.stepBar span{font-weight:700;font-size:11px;line-height:var(--parentElementHeight, 20px);align-items:center;color:#fff;text-align:right;position:relative;z-index:1;white-space:nowrap}.stepBar::after{content:" ";position:absolute;top:0;border-width:20px 10px 20px 0;border-top-width:var(--triangleHeight, 20px);border-right-width:var(--halfOfTriangleHeight, 10px);border-bottom-width:var(--triangleHeight, 20px);border-style:solid;border-color:#FCA452 transparent transparent transparent;text-align:right}.stepBar{position:relative;width:var(--currentStep, 0);height:100%;background:linear-gradient(270deg, #FCA452 8.82%, #600062 99.63%);text-align:right;border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-right-radius:var(--stepBarBorderRadius, 0px);border-bottom-right-radius:var(--stepBarBorderRadius, 0px);transition-property:width;transition-duration:0.18s;transition-timing-function:cubic-bezier(0.43, 0.8, 0.95, 0.88);transition-delay:0.3s}');
|
3730
|
-
}
|
3731
3730
|
function ii(e) {
|
3731
|
+
Zt(e, "svelte-6dosur", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.general-icon-progress-bar{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);height:100%;background:rgba(0, 0, 0, 0.8);border-radius:3px}.stepBar.inactive::after{border-color:#a6a4a1 transparent transparent transparent}.stepBar.inactive{background:linear-gradient(270deg, #a2a09e 8.82%, #aba9ad 99.63%)}.stepBar.inactive span{color:rgba(112, 106, 106, 0.8)}.stepBar span{font-weight:700;font-size:11px;line-height:var(--parentElementHeight, 20px);align-items:center;color:#fff;text-align:right;position:relative;z-index:1;white-space:nowrap}.stepBar::after{content:" ";position:absolute;top:0;border-width:20px 10px 20px 0;border-top-width:var(--triangleHeight, 20px);border-right-width:var(--halfOfTriangleHeight, 10px);border-bottom-width:var(--triangleHeight, 20px);border-style:solid;border-color:#FCA452 transparent transparent transparent;text-align:right}.stepBar{position:relative;width:var(--currentStep, 0);height:100%;background:linear-gradient(270deg, #FCA452 8.82%, #600062 99.63%);text-align:right;border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-right-radius:var(--stepBarBorderRadius, 0px);border-bottom-right-radius:var(--stepBarBorderRadius, 0px);transition-property:width;transition-duration:0.18s;transition-timing-function:cubic-bezier(0.43, 0.8, 0.95, 0.88);transition-delay:0.3s}');
|
3732
|
+
}
|
3733
|
+
function si(e) {
|
3732
3734
|
let t, r, n, i, s;
|
3733
3735
|
return {
|
3734
3736
|
c() {
|
3735
|
-
t = Q("div"), r = Q("div"), n = Q("span"), i =
|
3737
|
+
t = Q("div"), r = Q("div"), n = Q("span"), i = qt(
|
3736
3738
|
/*progressText*/
|
3737
3739
|
e[3]
|
3738
3740
|
), C(n, "part", "progressText"), C(r, "class", s = "stepBar " + /*curTatus*/
|
3739
3741
|
e[4]), C(r, "part", "stepBar"), C(t, "class", "general-icon-progress-bar"), C(t, "part", "totalBar");
|
3740
3742
|
},
|
3741
3743
|
m(o, a) {
|
3742
|
-
|
3744
|
+
ft(o, t, a), ne(t, r), ne(r, n), ne(n, i), e[13](n), e[14](r), e[15](t);
|
3743
3745
|
},
|
3744
3746
|
p(o, [a]) {
|
3745
3747
|
a & /*progressText*/
|
3746
|
-
8 &&
|
3748
|
+
8 && Kt(
|
3747
3749
|
i,
|
3748
3750
|
/*progressText*/
|
3749
3751
|
o[3]
|
@@ -3758,25 +3760,25 @@ function ii(e) {
|
|
3758
3760
|
}
|
3759
3761
|
};
|
3760
3762
|
}
|
3761
|
-
function
|
3763
|
+
function oi(e, t, r) {
|
3762
3764
|
let n;
|
3763
|
-
|
3764
|
-
let { currentstep: i = 0 } = t, { total: s = 1 } = t, { showaspercent: o } = t, { lang: a = "en" } = t, { status:
|
3765
|
-
|
3765
|
+
Wt(e, ti, (p) => r(20, n = p));
|
3766
|
+
let { currentstep: i = 0 } = t, { total: s = 1 } = t, { showaspercent: o } = t, { lang: a = "en" } = t, { status: u } = t, { translationurl: h = "" } = t, { progressfractiondigit: l = 1 } = t, { triggerreset: c } = t, f, x, g, y, H, S, A, v = "0px", N = "active";
|
3767
|
+
ri({ withLocale: "en", translations: {} });
|
3766
3768
|
const O = () => {
|
3767
|
-
fetch(
|
3768
|
-
Object.keys(L).forEach((
|
3769
|
-
|
3769
|
+
fetch(h).then((L) => L.json()).then((L) => {
|
3770
|
+
Object.keys(L).forEach((De) => {
|
3771
|
+
ot(De, L[De]);
|
3770
3772
|
});
|
3771
3773
|
}).catch((L) => {
|
3772
3774
|
console.log(L);
|
3773
3775
|
});
|
3774
3776
|
};
|
3775
|
-
Object.keys(
|
3776
|
-
|
3777
|
+
Object.keys(at).forEach((p) => {
|
3778
|
+
ot(p, at[p]);
|
3777
3779
|
});
|
3778
3780
|
const R = () => {
|
3779
|
-
|
3781
|
+
ni(a);
|
3780
3782
|
}, te = () => {
|
3781
3783
|
let p = (i / s * 100).toFixed(l);
|
3782
3784
|
setTimeout(
|
@@ -3785,34 +3787,34 @@ function si(e, t, r) {
|
|
3785
3787
|
},
|
3786
3788
|
y ? 573 : 0
|
3787
3789
|
), p == 0 || p == 100 ? (S = "0px", A = "0px", v = p == 100 ? "3px" : "0px") : (S = `${f.offsetHeight}px`, H = S, A = `${f.offsetHeight / 3}px`, v = "0px"), x.style.setProperty("--parentElementHeight", H), g.style.setProperty("--currentStep", p + "%"), g.style.setProperty("--triangleHeight", S), g.style.setProperty("--halfOfTriangleHeight", A), g.style.setProperty("--stepBarBorderRadius", v);
|
3788
|
-
},
|
3789
|
-
r(4, N =
|
3790
|
+
}, $t = () => {
|
3791
|
+
r(4, N = u == "active" ? "" : "inactive");
|
3790
3792
|
};
|
3791
|
-
function
|
3793
|
+
function Ut(p) {
|
3792
3794
|
q[p ? "unshift" : "push"](() => {
|
3793
3795
|
x = p, r(1, x);
|
3794
3796
|
});
|
3795
3797
|
}
|
3796
|
-
function
|
3798
|
+
function Gt(p) {
|
3797
3799
|
q[p ? "unshift" : "push"](() => {
|
3798
3800
|
g = p, r(2, g);
|
3799
3801
|
});
|
3800
3802
|
}
|
3801
|
-
function
|
3803
|
+
function Dt(p) {
|
3802
3804
|
q[p ? "unshift" : "push"](() => {
|
3803
3805
|
f = p, r(0, f);
|
3804
3806
|
});
|
3805
3807
|
}
|
3806
3808
|
return e.$$set = (p) => {
|
3807
|
-
"currentstep" in p && r(5, i = p.currentstep), "total" in p && r(6, s = p.total), "showaspercent" in p && r(7, o = p.showaspercent), "lang" in p && r(8, a = p.lang), "status" in p && r(9,
|
3809
|
+
"currentstep" in p && r(5, i = p.currentstep), "total" in p && r(6, s = p.total), "showaspercent" in p && r(7, o = p.showaspercent), "lang" in p && r(8, a = p.lang), "status" in p && r(9, u = p.status), "translationurl" in p && r(10, h = p.translationurl), "progressfractiondigit" in p && r(11, l = p.progressfractiondigit), "triggerreset" in p && r(12, c = p.triggerreset);
|
3808
3810
|
}, e.$$.update = () => {
|
3809
3811
|
e.$$.dirty & /*triggerreset, total*/
|
3810
3812
|
4160 && c && s && setTimeout(() => {
|
3811
3813
|
te();
|
3812
3814
|
}), e.$$.dirty & /*lang*/
|
3813
3815
|
256 && a && R(), e.$$.dirty & /*status*/
|
3814
|
-
512 &&
|
3815
|
-
1024 &&
|
3816
|
+
512 && u && $t(), e.$$.dirty & /*translationurl*/
|
3817
|
+
1024 && h && O();
|
3816
3818
|
}, [
|
3817
3819
|
f,
|
3818
3820
|
x,
|
@@ -3823,23 +3825,23 @@ function si(e, t, r) {
|
|
3823
3825
|
s,
|
3824
3826
|
o,
|
3825
3827
|
a,
|
3826
|
-
h,
|
3827
3828
|
u,
|
3829
|
+
h,
|
3828
3830
|
l,
|
3829
3831
|
c,
|
3830
|
-
|
3831
|
-
|
3832
|
-
|
3832
|
+
Ut,
|
3833
|
+
Gt,
|
3834
|
+
Dt
|
3833
3835
|
];
|
3834
3836
|
}
|
3835
|
-
class
|
3837
|
+
class ai extends cr {
|
3836
3838
|
constructor(t) {
|
3837
|
-
super(),
|
3839
|
+
super(), lr(
|
3838
3840
|
this,
|
3839
3841
|
t,
|
3842
|
+
oi,
|
3840
3843
|
si,
|
3841
|
-
|
3842
|
-
at,
|
3844
|
+
ut,
|
3843
3845
|
{
|
3844
3846
|
currentstep: 5,
|
3845
3847
|
total: 6,
|
@@ -3850,7 +3852,7 @@ class oi extends lr {
|
|
3850
3852
|
progressfractiondigit: 11,
|
3851
3853
|
triggerreset: 12
|
3852
3854
|
},
|
3853
|
-
|
3855
|
+
ii
|
3854
3856
|
);
|
3855
3857
|
}
|
3856
3858
|
get currentstep() {
|
@@ -3902,7 +3904,7 @@ class oi extends lr {
|
|
3902
3904
|
this.$$set({ triggerreset: t }), P();
|
3903
3905
|
}
|
3904
3906
|
}
|
3905
|
-
|
3907
|
+
fr(ai, { currentstep: {}, total: {}, showaspercent: {}, lang: {}, status: {}, translationurl: {}, progressfractiondigit: {}, triggerreset: {} }, [], [], !0);
|
3906
3908
|
export {
|
3907
|
-
|
3909
|
+
ai as default
|
3908
3910
|
};
|