@everymatrix/casino-betslip-indicator 1.76.0 → 1.76.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/{CasinoBetslipIndicator-DEq6VxYA.js → CasinoBetslipIndicator-BCG600KF.js} +718 -753
- package/components/CasinoBetslipIndicator-DsZOYDzB.cjs +21 -0
- package/components/{CasinoBetslipIndicator-PvAVLccj.js → CasinoBetslipIndicator-bo7r9W8H.js} +739 -774
- package/es2015/casino-betslip-indicator.cjs +1 -1
- package/es2015/casino-betslip-indicator.js +1 -1
- package/esnext/casino-betslip-indicator.js +1 -1
- package/package.json +1 -1
- package/components/CasinoBetslipIndicator-Cu-9zNiq.cjs +0 -21
package/components/{CasinoBetslipIndicator-PvAVLccj.js → CasinoBetslipIndicator-bo7r9W8H.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var er = Object.defineProperty, tr = Object.defineProperties;
|
|
2
|
+
var rr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ze = Object.getOwnPropertySymbols;
|
|
4
|
+
var nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ve = (e, t, r) => t in e ? er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
nr.call(t, r) && ve(e, r, t[r]);
|
|
8
|
+
if (Ze)
|
|
9
|
+
for (var r of Ze(t))
|
|
10
|
+
ir.call(t, r) && ve(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var w = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, Je = (e, t) => tr(e, rr(t));
|
|
13
|
+
var w = (e, t, r) => (ve(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Ye = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(h));
|
|
@@ -29,25 +29,25 @@ var tt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function H() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function _t(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function qe() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function te(e) {
|
|
39
|
+
e.forEach(_t);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function ke(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Et(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function or(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function sr(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
@@ -59,14 +59,14 @@ function lr(e, ...t) {
|
|
|
59
59
|
function B(e, t) {
|
|
60
60
|
e.appendChild(t);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
63
|
-
const n =
|
|
62
|
+
function ar(e, t, r) {
|
|
63
|
+
const n = ur(e);
|
|
64
64
|
if (!n.getElementById(t)) {
|
|
65
|
-
const i =
|
|
66
|
-
i.id = t, i.textContent = r,
|
|
65
|
+
const i = F("style");
|
|
66
|
+
i.id = t, i.textContent = r, hr(n, i);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function ur(e) {
|
|
70
70
|
if (!e)
|
|
71
71
|
return document;
|
|
72
72
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -76,48 +76,48 @@ function fr(e) {
|
|
|
76
76
|
t
|
|
77
77
|
) : e.ownerDocument;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function hr(e, t) {
|
|
80
80
|
return B(
|
|
81
81
|
/** @type {Document} */
|
|
82
82
|
e.head || e,
|
|
83
83
|
t
|
|
84
84
|
), t.sheet;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function re(e, t, r) {
|
|
87
87
|
e.insertBefore(t, r || null);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function X(e) {
|
|
90
90
|
e.parentNode && e.parentNode.removeChild(e);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function F(e) {
|
|
93
93
|
return document.createElement(e);
|
|
94
94
|
}
|
|
95
95
|
function C(e) {
|
|
96
96
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function St(e) {
|
|
99
99
|
return document.createTextNode(e);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
102
|
-
return
|
|
101
|
+
function lr() {
|
|
102
|
+
return St(" ");
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function fr(e, t, r, n) {
|
|
105
105
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function _(e, t, r) {
|
|
108
108
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function cr(e) {
|
|
111
111
|
return Array.from(e.childNodes);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function mr(e, t) {
|
|
114
114
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
115
115
|
t);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function pr(e, t, r, n) {
|
|
118
118
|
e.style.setProperty(t, r, "");
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function dr(e) {
|
|
121
121
|
const t = {};
|
|
122
122
|
return e.childNodes.forEach(
|
|
123
123
|
/** @param {Element} node */
|
|
@@ -126,87 +126,87 @@ function gr(e) {
|
|
|
126
126
|
}
|
|
127
127
|
), t;
|
|
128
128
|
}
|
|
129
|
-
let
|
|
130
|
-
function
|
|
131
|
-
|
|
129
|
+
let q;
|
|
130
|
+
function J(e) {
|
|
131
|
+
q = e;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
if (!
|
|
133
|
+
function br() {
|
|
134
|
+
if (!q)
|
|
135
135
|
throw new Error("Function called outside component initialization");
|
|
136
|
-
return
|
|
136
|
+
return q;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
|
|
138
|
+
function yr(e) {
|
|
139
|
+
br().$$.on_mount.push(e);
|
|
140
140
|
}
|
|
141
|
-
const R = [],
|
|
141
|
+
const R = [], Be = [];
|
|
142
142
|
let U = [];
|
|
143
|
-
const
|
|
144
|
-
let
|
|
145
|
-
function
|
|
146
|
-
|
|
143
|
+
const Ke = [], gr = /* @__PURE__ */ Promise.resolve();
|
|
144
|
+
let Ae = !1;
|
|
145
|
+
function vr() {
|
|
146
|
+
Ae || (Ae = !0, gr.then(Y));
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function Pe(e) {
|
|
149
149
|
U.push(e);
|
|
150
150
|
}
|
|
151
|
-
const
|
|
152
|
-
let
|
|
153
|
-
function
|
|
154
|
-
if (
|
|
151
|
+
const xe = /* @__PURE__ */ new Set();
|
|
152
|
+
let M = 0;
|
|
153
|
+
function Y() {
|
|
154
|
+
if (M !== 0)
|
|
155
155
|
return;
|
|
156
|
-
const e =
|
|
156
|
+
const e = q;
|
|
157
157
|
do {
|
|
158
158
|
try {
|
|
159
|
-
for (;
|
|
160
|
-
const t = R[
|
|
161
|
-
|
|
159
|
+
for (; M < R.length; ) {
|
|
160
|
+
const t = R[M];
|
|
161
|
+
M++, J(t), xr(t.$$);
|
|
162
162
|
}
|
|
163
163
|
} catch (t) {
|
|
164
|
-
throw R.length = 0,
|
|
164
|
+
throw R.length = 0, M = 0, t;
|
|
165
165
|
}
|
|
166
|
-
for (
|
|
167
|
-
|
|
166
|
+
for (J(null), R.length = 0, M = 0; Be.length; )
|
|
167
|
+
Be.pop()();
|
|
168
168
|
for (let t = 0; t < U.length; t += 1) {
|
|
169
169
|
const r = U[t];
|
|
170
|
-
|
|
170
|
+
xe.has(r) || (xe.add(r), r());
|
|
171
171
|
}
|
|
172
172
|
U.length = 0;
|
|
173
173
|
} while (R.length);
|
|
174
|
-
for (;
|
|
175
|
-
|
|
176
|
-
|
|
174
|
+
for (; Ke.length; )
|
|
175
|
+
Ke.pop()();
|
|
176
|
+
Ae = !1, xe.clear(), J(e);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function xr(e) {
|
|
179
179
|
if (e.fragment !== null) {
|
|
180
|
-
e.update(),
|
|
180
|
+
e.update(), te(e.before_update);
|
|
181
181
|
const t = e.dirty;
|
|
182
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
182
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function _r(e) {
|
|
186
186
|
const t = [], r = [];
|
|
187
187
|
U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
|
|
188
188
|
}
|
|
189
|
-
const
|
|
190
|
-
function
|
|
191
|
-
e && e.i && (
|
|
189
|
+
const Er = /* @__PURE__ */ new Set();
|
|
190
|
+
function Sr(e, t) {
|
|
191
|
+
e && e.i && (Er.delete(e), e.i(t));
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function wr(e, t, r) {
|
|
194
194
|
const { fragment: n, after_update: i } = e.$$;
|
|
195
|
-
n && n.m(t, r),
|
|
196
|
-
const o = e.$$.on_mount.map(
|
|
197
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
198
|
-
}), i.forEach(
|
|
195
|
+
n && n.m(t, r), Pe(() => {
|
|
196
|
+
const o = e.$$.on_mount.map(_t).filter(ke);
|
|
197
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
|
|
198
|
+
}), i.forEach(Pe);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function Hr(e, t) {
|
|
201
201
|
const r = e.$$;
|
|
202
|
-
r.fragment !== null && (
|
|
202
|
+
r.fragment !== null && (_r(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
205
|
-
e.$$.dirty[0] === -1 && (R.push(e),
|
|
204
|
+
function Tr(e, t) {
|
|
205
|
+
e.$$.dirty[0] === -1 && (R.push(e), vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
208
|
-
const h =
|
|
209
|
-
|
|
207
|
+
function Br(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
208
|
+
const h = q;
|
|
209
|
+
J(e);
|
|
210
210
|
const u = e.$$ = {
|
|
211
211
|
fragment: null,
|
|
212
212
|
ctx: [],
|
|
@@ -214,7 +214,7 @@ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
214
214
|
props: o,
|
|
215
215
|
update: H,
|
|
216
216
|
not_equal: i,
|
|
217
|
-
bound:
|
|
217
|
+
bound: qe(),
|
|
218
218
|
// lifecycle
|
|
219
219
|
on_mount: [],
|
|
220
220
|
on_destroy: [],
|
|
@@ -223,28 +223,28 @@ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
223
223
|
after_update: [],
|
|
224
224
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
225
225
|
// everything else
|
|
226
|
-
callbacks:
|
|
226
|
+
callbacks: qe(),
|
|
227
227
|
dirty: a,
|
|
228
228
|
skip_bound: !1,
|
|
229
229
|
root: t.target || h.$$.root
|
|
230
230
|
};
|
|
231
231
|
s && s(u.root);
|
|
232
232
|
let l = !1;
|
|
233
|
-
if (u.ctx = r
|
|
234
|
-
const v = p.length ? p[0] :
|
|
235
|
-
return u.ctx && i(u.ctx[
|
|
236
|
-
})
|
|
233
|
+
if (u.ctx = r(e, t.props || {}, (c, f, ...p) => {
|
|
234
|
+
const v = p.length ? p[0] : f;
|
|
235
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Tr(e, c)), f;
|
|
236
|
+
}), u.update(), l = !0, te(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
237
237
|
if (t.hydrate) {
|
|
238
|
-
const
|
|
239
|
-
u.fragment && u.fragment.l(
|
|
238
|
+
const c = cr(t.target);
|
|
239
|
+
u.fragment && u.fragment.l(c), c.forEach(X);
|
|
240
240
|
} else
|
|
241
241
|
u.fragment && u.fragment.c();
|
|
242
|
-
t.intro &&
|
|
242
|
+
t.intro && Sr(e.$$.fragment), wr(e, t.target, t.anchor), Y();
|
|
243
243
|
}
|
|
244
|
-
|
|
244
|
+
J(h);
|
|
245
245
|
}
|
|
246
|
-
let
|
|
247
|
-
typeof HTMLElement == "function" && (
|
|
246
|
+
let wt;
|
|
247
|
+
typeof HTMLElement == "function" && (wt = class extends HTMLElement {
|
|
248
248
|
constructor(t, r, n) {
|
|
249
249
|
super();
|
|
250
250
|
/** The Svelte component constructor */
|
|
@@ -281,31 +281,31 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
connectedCallback() {
|
|
284
|
-
return
|
|
284
|
+
return Ye(this, null, function* () {
|
|
285
285
|
if (this.$$cn = !0, !this.$$c) {
|
|
286
286
|
let t = function(o) {
|
|
287
287
|
return () => {
|
|
288
288
|
let s;
|
|
289
289
|
return {
|
|
290
290
|
c: function() {
|
|
291
|
-
s =
|
|
291
|
+
s = F("slot"), o !== "default" && _(s, "name", o);
|
|
292
292
|
},
|
|
293
293
|
/**
|
|
294
294
|
* @param {HTMLElement} target
|
|
295
295
|
* @param {HTMLElement} [anchor]
|
|
296
296
|
*/
|
|
297
297
|
m: function(u, l) {
|
|
298
|
-
|
|
298
|
+
re(u, s, l);
|
|
299
299
|
},
|
|
300
300
|
d: function(u) {
|
|
301
|
-
u &&
|
|
301
|
+
u && X(s);
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
304
|
};
|
|
305
305
|
};
|
|
306
306
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
307
307
|
return;
|
|
308
|
-
const r = {}, n =
|
|
308
|
+
const r = {}, n = dr(this);
|
|
309
309
|
for (const o of this.$$s)
|
|
310
310
|
o in n && (r[o] = [t(o)]);
|
|
311
311
|
for (const o of this.attributes) {
|
|
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
316
316
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
317
317
|
this.$$c = new this.$$ctor({
|
|
318
318
|
target: this.shadowRoot || this,
|
|
319
|
-
props:
|
|
319
|
+
props: Je(Qe({}, this.$$d), {
|
|
320
320
|
$$slots: r,
|
|
321
321
|
$$scope: {
|
|
322
322
|
ctx: []
|
|
@@ -394,8 +394,8 @@ function ue(e, t, r, n) {
|
|
|
394
394
|
return t;
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
function
|
|
398
|
-
let s = class extends
|
|
397
|
+
function Ar(e, t, r, n, i, o) {
|
|
398
|
+
let s = class extends wt {
|
|
399
399
|
constructor() {
|
|
400
400
|
super(e, r, i), this.$$p_d = t;
|
|
401
401
|
}
|
|
@@ -425,7 +425,7 @@ function Nr(e, t, r, n, i, o) {
|
|
|
425
425
|
}), e.element = /** @type {any} */
|
|
426
426
|
s, s;
|
|
427
427
|
}
|
|
428
|
-
class
|
|
428
|
+
class Pr {
|
|
429
429
|
constructor() {
|
|
430
430
|
/**
|
|
431
431
|
* ### PRIVATE API
|
|
@@ -446,7 +446,7 @@ class Cr {
|
|
|
446
446
|
}
|
|
447
447
|
/** @returns {void} */
|
|
448
448
|
$destroy() {
|
|
449
|
-
|
|
449
|
+
Hr(this, 1), this.$destroy = H;
|
|
450
450
|
}
|
|
451
451
|
/**
|
|
452
452
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -455,7 +455,7 @@ class Cr {
|
|
|
455
455
|
* @returns {() => void}
|
|
456
456
|
*/
|
|
457
457
|
$on(t, r) {
|
|
458
|
-
if (!
|
|
458
|
+
if (!ke(r))
|
|
459
459
|
return H;
|
|
460
460
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
461
461
|
return n.push(r), () => {
|
|
@@ -468,11 +468,11 @@ class Cr {
|
|
|
468
468
|
* @returns {void}
|
|
469
469
|
*/
|
|
470
470
|
$set(t) {
|
|
471
|
-
this.$$set && !
|
|
471
|
+
this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
const
|
|
475
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
474
|
+
const Or = "4";
|
|
475
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Or);
|
|
476
476
|
/*! *****************************************************************************
|
|
477
477
|
Copyright (c) Microsoft Corporation.
|
|
478
478
|
|
|
@@ -487,24 +487,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
487
487
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
488
488
|
PERFORMANCE OF THIS SOFTWARE.
|
|
489
489
|
***************************************************************************** */
|
|
490
|
-
var
|
|
491
|
-
return
|
|
490
|
+
var Oe = function(e, t) {
|
|
491
|
+
return Oe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
492
492
|
r.__proto__ = n;
|
|
493
493
|
} || function(r, n) {
|
|
494
494
|
for (var i in n)
|
|
495
495
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
496
|
-
},
|
|
496
|
+
}, Oe(e, t);
|
|
497
497
|
};
|
|
498
|
-
function
|
|
498
|
+
function P(e, t) {
|
|
499
499
|
if (typeof t != "function" && t !== null)
|
|
500
500
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
501
|
-
|
|
501
|
+
Oe(e, t);
|
|
502
502
|
function r() {
|
|
503
503
|
this.constructor = e;
|
|
504
504
|
}
|
|
505
505
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
var g = function() {
|
|
508
|
+
return g = Object.assign || function(t) {
|
|
509
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
510
|
+
r = arguments[n];
|
|
511
|
+
for (var o in r)
|
|
512
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
513
|
+
}
|
|
514
|
+
return t;
|
|
515
|
+
}, g.apply(this, arguments);
|
|
516
|
+
};
|
|
517
|
+
function Ir(e, t) {
|
|
518
|
+
var r = {};
|
|
519
|
+
for (var n in e)
|
|
520
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
521
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
522
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
523
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
524
|
+
return r;
|
|
525
|
+
}
|
|
526
|
+
function Ie(e) {
|
|
508
527
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
509
528
|
if (r)
|
|
510
529
|
return r.call(e);
|
|
@@ -516,7 +535,7 @@ function Le(e) {
|
|
|
516
535
|
};
|
|
517
536
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
518
537
|
}
|
|
519
|
-
function
|
|
538
|
+
function Ne(e, t) {
|
|
520
539
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
521
540
|
if (!r)
|
|
522
541
|
return e;
|
|
@@ -536,22 +555,22 @@ function $e(e, t) {
|
|
|
536
555
|
}
|
|
537
556
|
return o;
|
|
538
557
|
}
|
|
539
|
-
function
|
|
540
|
-
if (arguments.length === 2)
|
|
558
|
+
function D(e, t, r) {
|
|
559
|
+
if (r || arguments.length === 2)
|
|
541
560
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
542
561
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
543
562
|
return e.concat(o || t);
|
|
544
563
|
}
|
|
545
|
-
function
|
|
564
|
+
function A(e) {
|
|
546
565
|
return typeof e == "function";
|
|
547
566
|
}
|
|
548
|
-
function
|
|
567
|
+
function Ht(e) {
|
|
549
568
|
var t = function(n) {
|
|
550
569
|
Error.call(n), n.stack = new Error().stack;
|
|
551
570
|
}, r = e(t);
|
|
552
571
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
553
572
|
}
|
|
554
|
-
var
|
|
573
|
+
var _e = Ht(function(e) {
|
|
555
574
|
return function(r) {
|
|
556
575
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
557
576
|
` + r.map(function(n, i) {
|
|
@@ -560,13 +579,13 @@ var Se = Pt(function(e) {
|
|
|
560
579
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
561
580
|
};
|
|
562
581
|
});
|
|
563
|
-
function
|
|
582
|
+
function Ce(e, t) {
|
|
564
583
|
if (e) {
|
|
565
584
|
var r = e.indexOf(t);
|
|
566
585
|
0 <= r && e.splice(r, 1);
|
|
567
586
|
}
|
|
568
587
|
}
|
|
569
|
-
var
|
|
588
|
+
var pe = function() {
|
|
570
589
|
function e(t) {
|
|
571
590
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
572
591
|
}
|
|
@@ -578,7 +597,7 @@ var de = function() {
|
|
|
578
597
|
if (s)
|
|
579
598
|
if (this._parentage = null, Array.isArray(s))
|
|
580
599
|
try {
|
|
581
|
-
for (var a =
|
|
600
|
+
for (var a = Ie(s), h = a.next(); !h.done; h = a.next()) {
|
|
582
601
|
var u = h.value;
|
|
583
602
|
u.remove(this);
|
|
584
603
|
}
|
|
@@ -595,29 +614,29 @@ var de = function() {
|
|
|
595
614
|
else
|
|
596
615
|
s.remove(this);
|
|
597
616
|
var l = this.initialTeardown;
|
|
598
|
-
if (
|
|
617
|
+
if (A(l))
|
|
599
618
|
try {
|
|
600
619
|
l();
|
|
601
620
|
} catch (m) {
|
|
602
|
-
o = m instanceof
|
|
621
|
+
o = m instanceof _e ? m.errors : [m];
|
|
603
622
|
}
|
|
604
|
-
var
|
|
605
|
-
if (
|
|
623
|
+
var c = this._finalizers;
|
|
624
|
+
if (c) {
|
|
606
625
|
this._finalizers = null;
|
|
607
626
|
try {
|
|
608
|
-
for (var
|
|
627
|
+
for (var f = Ie(c), p = f.next(); !p.done; p = f.next()) {
|
|
609
628
|
var v = p.value;
|
|
610
629
|
try {
|
|
611
|
-
|
|
630
|
+
et(v);
|
|
612
631
|
} catch (m) {
|
|
613
|
-
o = o != null ? o : [], m instanceof
|
|
632
|
+
o = o != null ? o : [], m instanceof _e ? o = D(D([], Ne(o)), Ne(m.errors)) : o.push(m);
|
|
614
633
|
}
|
|
615
634
|
}
|
|
616
635
|
} catch (m) {
|
|
617
636
|
n = { error: m };
|
|
618
637
|
} finally {
|
|
619
638
|
try {
|
|
620
|
-
p && !p.done && (i =
|
|
639
|
+
p && !p.done && (i = f.return) && i.call(f);
|
|
621
640
|
} finally {
|
|
622
641
|
if (n)
|
|
623
642
|
throw n.error;
|
|
@@ -625,13 +644,13 @@ var de = function() {
|
|
|
625
644
|
}
|
|
626
645
|
}
|
|
627
646
|
if (o)
|
|
628
|
-
throw new
|
|
647
|
+
throw new _e(o);
|
|
629
648
|
}
|
|
630
649
|
}, e.prototype.add = function(t) {
|
|
631
650
|
var r;
|
|
632
651
|
if (t && t !== this)
|
|
633
652
|
if (this.closed)
|
|
634
|
-
|
|
653
|
+
et(t);
|
|
635
654
|
else {
|
|
636
655
|
if (t instanceof e) {
|
|
637
656
|
if (t.closed || t._hasParent(this))
|
|
@@ -648,52 +667,56 @@ var de = function() {
|
|
|
648
667
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
649
668
|
}, e.prototype._removeParent = function(t) {
|
|
650
669
|
var r = this._parentage;
|
|
651
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
670
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ce(r, t);
|
|
652
671
|
}, e.prototype.remove = function(t) {
|
|
653
672
|
var r = this._finalizers;
|
|
654
|
-
r &&
|
|
673
|
+
r && Ce(r, t), t instanceof e && t._removeParent(this);
|
|
655
674
|
}, e.EMPTY = function() {
|
|
656
675
|
var t = new e();
|
|
657
676
|
return t.closed = !0, t;
|
|
658
677
|
}(), e;
|
|
659
|
-
}(),
|
|
660
|
-
function
|
|
661
|
-
return e instanceof
|
|
662
|
-
}
|
|
663
|
-
function
|
|
664
|
-
|
|
665
|
-
}
|
|
666
|
-
var
|
|
667
|
-
|
|
668
|
-
|
|
678
|
+
}(), Tt = pe.EMPTY;
|
|
679
|
+
function Bt(e) {
|
|
680
|
+
return e instanceof pe || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
|
|
681
|
+
}
|
|
682
|
+
function et(e) {
|
|
683
|
+
A(e) ? e() : e.unsubscribe();
|
|
684
|
+
}
|
|
685
|
+
var Nr = {
|
|
686
|
+
onUnhandledError: null,
|
|
687
|
+
onStoppedNotification: null,
|
|
688
|
+
Promise: void 0,
|
|
689
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
690
|
+
useDeprecatedNextContext: !1
|
|
691
|
+
}, Cr = {
|
|
669
692
|
setTimeout: function(e, t) {
|
|
670
693
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
671
694
|
r[n - 2] = arguments[n];
|
|
672
|
-
return setTimeout.apply(void 0,
|
|
695
|
+
return setTimeout.apply(void 0, D([e, t], Ne(r)));
|
|
673
696
|
},
|
|
674
697
|
clearTimeout: function(e) {
|
|
675
698
|
return clearTimeout(e);
|
|
676
699
|
},
|
|
677
700
|
delegate: void 0
|
|
678
701
|
};
|
|
679
|
-
function
|
|
680
|
-
|
|
702
|
+
function Lr(e) {
|
|
703
|
+
Cr.setTimeout(function() {
|
|
681
704
|
throw e;
|
|
682
705
|
});
|
|
683
706
|
}
|
|
684
|
-
function
|
|
707
|
+
function tt() {
|
|
685
708
|
}
|
|
686
709
|
function he(e) {
|
|
687
710
|
e();
|
|
688
711
|
}
|
|
689
|
-
var
|
|
690
|
-
|
|
712
|
+
var At = function(e) {
|
|
713
|
+
P(t, e);
|
|
691
714
|
function t(r) {
|
|
692
715
|
var n = e.call(this) || this;
|
|
693
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
716
|
+
return n.isStopped = !1, r ? (n.destination = r, Bt(r) && r.add(n)) : n.destination = Rr, n;
|
|
694
717
|
}
|
|
695
718
|
return t.create = function(r, n, i) {
|
|
696
|
-
return new
|
|
719
|
+
return new Le(r, n, i);
|
|
697
720
|
}, t.prototype.next = function(r) {
|
|
698
721
|
this.isStopped || this._next(r);
|
|
699
722
|
}, t.prototype.error = function(r) {
|
|
@@ -717,7 +740,7 @@ var Nt = function(e) {
|
|
|
717
740
|
this.unsubscribe();
|
|
718
741
|
}
|
|
719
742
|
}, t;
|
|
720
|
-
}(
|
|
743
|
+
}(pe), Mr = function() {
|
|
721
744
|
function e(t) {
|
|
722
745
|
this.partialObserver = t;
|
|
723
746
|
}
|
|
@@ -748,43 +771,43 @@ var Nt = function(e) {
|
|
|
748
771
|
se(r);
|
|
749
772
|
}
|
|
750
773
|
}, e;
|
|
751
|
-
}(),
|
|
752
|
-
|
|
774
|
+
}(), Le = function(e) {
|
|
775
|
+
P(t, e);
|
|
753
776
|
function t(r, n, i) {
|
|
754
777
|
var o = e.call(this) || this, s;
|
|
755
|
-
return
|
|
778
|
+
return A(r) || !r ? s = {
|
|
756
779
|
next: r != null ? r : void 0,
|
|
757
780
|
error: n != null ? n : void 0,
|
|
758
781
|
complete: i != null ? i : void 0
|
|
759
|
-
} : s = r, o.destination = new
|
|
782
|
+
} : s = r, o.destination = new Mr(s), o;
|
|
760
783
|
}
|
|
761
784
|
return t;
|
|
762
|
-
}(
|
|
785
|
+
}(At);
|
|
763
786
|
function se(e) {
|
|
764
|
-
|
|
787
|
+
Lr(e);
|
|
765
788
|
}
|
|
766
|
-
function
|
|
789
|
+
function $r(e) {
|
|
767
790
|
throw e;
|
|
768
791
|
}
|
|
769
|
-
var
|
|
792
|
+
var Rr = {
|
|
770
793
|
closed: !0,
|
|
771
|
-
next:
|
|
772
|
-
error:
|
|
773
|
-
complete:
|
|
774
|
-
},
|
|
794
|
+
next: tt,
|
|
795
|
+
error: $r,
|
|
796
|
+
complete: tt
|
|
797
|
+
}, Ur = function() {
|
|
775
798
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
776
799
|
}();
|
|
777
|
-
function
|
|
800
|
+
function Dr(e) {
|
|
778
801
|
return e;
|
|
779
802
|
}
|
|
780
|
-
function
|
|
781
|
-
return e.length === 0 ?
|
|
803
|
+
function Fr(e) {
|
|
804
|
+
return e.length === 0 ? Dr : e.length === 1 ? e[0] : function(r) {
|
|
782
805
|
return e.reduce(function(n, i) {
|
|
783
806
|
return i(n);
|
|
784
807
|
}, r);
|
|
785
808
|
};
|
|
786
809
|
}
|
|
787
|
-
var
|
|
810
|
+
var rt = function() {
|
|
788
811
|
function e(t) {
|
|
789
812
|
t && (this._subscribe = t);
|
|
790
813
|
}
|
|
@@ -792,7 +815,7 @@ var st = function() {
|
|
|
792
815
|
var r = new e();
|
|
793
816
|
return r.source = this, r.operator = t, r;
|
|
794
817
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
795
|
-
var i = this, o =
|
|
818
|
+
var i = this, o = jr(t) ? t : new Le(t, r, n);
|
|
796
819
|
return he(function() {
|
|
797
820
|
var s = i, a = s.operator, h = s.source;
|
|
798
821
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -805,8 +828,8 @@ var st = function() {
|
|
|
805
828
|
}
|
|
806
829
|
}, e.prototype.forEach = function(t, r) {
|
|
807
830
|
var n = this;
|
|
808
|
-
return r =
|
|
809
|
-
var s = new
|
|
831
|
+
return r = nt(r), new r(function(i, o) {
|
|
832
|
+
var s = new Le({
|
|
810
833
|
next: function(a) {
|
|
811
834
|
try {
|
|
812
835
|
t(a);
|
|
@@ -822,15 +845,15 @@ var st = function() {
|
|
|
822
845
|
}, e.prototype._subscribe = function(t) {
|
|
823
846
|
var r;
|
|
824
847
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
825
|
-
}, e.prototype[
|
|
848
|
+
}, e.prototype[Ur] = function() {
|
|
826
849
|
return this;
|
|
827
850
|
}, e.prototype.pipe = function() {
|
|
828
851
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
829
852
|
t[r] = arguments[r];
|
|
830
|
-
return
|
|
853
|
+
return Fr(t)(this);
|
|
831
854
|
}, e.prototype.toPromise = function(t) {
|
|
832
855
|
var r = this;
|
|
833
|
-
return t =
|
|
856
|
+
return t = nt(t), new t(function(n, i) {
|
|
834
857
|
var o;
|
|
835
858
|
r.subscribe(function(s) {
|
|
836
859
|
return o = s;
|
|
@@ -844,32 +867,32 @@ var st = function() {
|
|
|
844
867
|
return new e(t);
|
|
845
868
|
}, e;
|
|
846
869
|
}();
|
|
847
|
-
function
|
|
870
|
+
function nt(e) {
|
|
848
871
|
var t;
|
|
849
|
-
return (t = e != null ? e :
|
|
872
|
+
return (t = e != null ? e : Nr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
850
873
|
}
|
|
851
|
-
function
|
|
852
|
-
return e &&
|
|
874
|
+
function Gr(e) {
|
|
875
|
+
return e && A(e.next) && A(e.error) && A(e.complete);
|
|
853
876
|
}
|
|
854
|
-
function
|
|
855
|
-
return e && e instanceof
|
|
877
|
+
function jr(e) {
|
|
878
|
+
return e && e instanceof At || Gr(e) && Bt(e);
|
|
856
879
|
}
|
|
857
|
-
var
|
|
880
|
+
var kr = Ht(function(e) {
|
|
858
881
|
return function() {
|
|
859
882
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
860
883
|
};
|
|
861
|
-
}),
|
|
862
|
-
|
|
884
|
+
}), Pt = function(e) {
|
|
885
|
+
P(t, e);
|
|
863
886
|
function t() {
|
|
864
887
|
var r = e.call(this) || this;
|
|
865
888
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
866
889
|
}
|
|
867
890
|
return t.prototype.lift = function(r) {
|
|
868
|
-
var n = new
|
|
891
|
+
var n = new it(this, this);
|
|
869
892
|
return n.operator = r, n;
|
|
870
893
|
}, t.prototype._throwIfClosed = function() {
|
|
871
894
|
if (this.closed)
|
|
872
|
-
throw new
|
|
895
|
+
throw new kr();
|
|
873
896
|
}, t.prototype.next = function(r) {
|
|
874
897
|
var n = this;
|
|
875
898
|
he(function() {
|
|
@@ -877,7 +900,7 @@ var Wr = Pt(function(e) {
|
|
|
877
900
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
878
901
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
879
902
|
try {
|
|
880
|
-
for (var s =
|
|
903
|
+
for (var s = Ie(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
881
904
|
var h = a.value;
|
|
882
905
|
h.next(r);
|
|
883
906
|
}
|
|
@@ -926,20 +949,20 @@ var Wr = Pt(function(e) {
|
|
|
926
949
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
927
950
|
}, t.prototype._innerSubscribe = function(r) {
|
|
928
951
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
929
|
-
return o || s ?
|
|
930
|
-
n.currentObservers = null,
|
|
952
|
+
return o || s ? Tt : (this.currentObservers = null, a.push(r), new pe(function() {
|
|
953
|
+
n.currentObservers = null, Ce(a, r);
|
|
931
954
|
}));
|
|
932
955
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
933
956
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
934
957
|
i ? r.error(o) : s && r.complete();
|
|
935
958
|
}, t.prototype.asObservable = function() {
|
|
936
|
-
var r = new
|
|
959
|
+
var r = new rt();
|
|
937
960
|
return r.source = this, r;
|
|
938
961
|
}, t.create = function(r, n) {
|
|
939
|
-
return new
|
|
962
|
+
return new it(r, n);
|
|
940
963
|
}, t;
|
|
941
|
-
}(
|
|
942
|
-
|
|
964
|
+
}(rt), it = function(e) {
|
|
965
|
+
P(t, e);
|
|
943
966
|
function t(r, n) {
|
|
944
967
|
var i = e.call(this) || this;
|
|
945
968
|
return i.destination = r, i.source = n, i;
|
|
@@ -955,17 +978,17 @@ var Wr = Pt(function(e) {
|
|
|
955
978
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
956
979
|
}, t.prototype._subscribe = function(r) {
|
|
957
980
|
var n, i;
|
|
958
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
981
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Tt;
|
|
959
982
|
}, t;
|
|
960
|
-
}(
|
|
983
|
+
}(Pt), Ot = {
|
|
961
984
|
now: function() {
|
|
962
|
-
return (
|
|
985
|
+
return (Ot.delegate || Date).now();
|
|
963
986
|
},
|
|
964
987
|
delegate: void 0
|
|
965
|
-
},
|
|
966
|
-
|
|
988
|
+
}, Vr = function(e) {
|
|
989
|
+
P(t, e);
|
|
967
990
|
function t(r, n, i) {
|
|
968
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
991
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ot);
|
|
969
992
|
var o = e.call(this) || this;
|
|
970
993
|
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;
|
|
971
994
|
}
|
|
@@ -985,31 +1008,31 @@ var Wr = Pt(function(e) {
|
|
|
985
1008
|
u && o.splice(0, u + 1);
|
|
986
1009
|
}
|
|
987
1010
|
}, t;
|
|
988
|
-
}(
|
|
989
|
-
const
|
|
990
|
-
if (
|
|
991
|
-
const r = new
|
|
992
|
-
|
|
1011
|
+
}(Pt);
|
|
1012
|
+
const ot = [], st = {}, Xr = (e, t = 0) => {
|
|
1013
|
+
if (ot.indexOf(e) == -1) {
|
|
1014
|
+
const r = new Vr(t);
|
|
1015
|
+
st[e] = r, ot.push(e);
|
|
993
1016
|
}
|
|
994
|
-
return
|
|
995
|
-
},
|
|
996
|
-
function
|
|
1017
|
+
return st[e];
|
|
1018
|
+
}, $ = [];
|
|
1019
|
+
function Wr(e, t) {
|
|
997
1020
|
return {
|
|
998
|
-
subscribe:
|
|
1021
|
+
subscribe: de(e, t).subscribe
|
|
999
1022
|
};
|
|
1000
1023
|
}
|
|
1001
|
-
function
|
|
1024
|
+
function de(e, t = H) {
|
|
1002
1025
|
let r;
|
|
1003
1026
|
const n = /* @__PURE__ */ new Set();
|
|
1004
1027
|
function i(a) {
|
|
1005
|
-
if (
|
|
1006
|
-
const h =
|
|
1028
|
+
if (Et(e, a) && (e = a, r)) {
|
|
1029
|
+
const h = !$.length;
|
|
1007
1030
|
for (const u of n)
|
|
1008
|
-
u[1](),
|
|
1031
|
+
u[1](), $.push(u, e);
|
|
1009
1032
|
if (h) {
|
|
1010
|
-
for (let u = 0; u <
|
|
1011
|
-
|
|
1012
|
-
|
|
1033
|
+
for (let u = 0; u < $.length; u += 2)
|
|
1034
|
+
$[u][0]($[u + 1]);
|
|
1035
|
+
$.length = 0;
|
|
1013
1036
|
}
|
|
1014
1037
|
}
|
|
1015
1038
|
}
|
|
@@ -1024,184 +1047,145 @@ function be(e, t = H) {
|
|
|
1024
1047
|
}
|
|
1025
1048
|
return { set: i, update: o, subscribe: s };
|
|
1026
1049
|
}
|
|
1027
|
-
function
|
|
1050
|
+
function W(e, t, r) {
|
|
1028
1051
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1029
1052
|
if (!i.every(Boolean))
|
|
1030
1053
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1031
1054
|
const o = t.length < 2;
|
|
1032
|
-
return
|
|
1055
|
+
return Wr(r, (s, a) => {
|
|
1033
1056
|
let h = !1;
|
|
1034
1057
|
const u = [];
|
|
1035
|
-
let l = 0,
|
|
1036
|
-
const
|
|
1058
|
+
let l = 0, c = H;
|
|
1059
|
+
const f = () => {
|
|
1037
1060
|
if (l)
|
|
1038
1061
|
return;
|
|
1039
|
-
|
|
1062
|
+
c();
|
|
1040
1063
|
const v = t(n ? u[0] : u, s, a);
|
|
1041
|
-
o ? s(v) :
|
|
1064
|
+
o ? s(v) : c = ke(v) ? v : H;
|
|
1042
1065
|
}, p = i.map(
|
|
1043
|
-
(v, m) =>
|
|
1066
|
+
(v, m) => sr(
|
|
1044
1067
|
v,
|
|
1045
1068
|
(d) => {
|
|
1046
|
-
u[m] = d, l &= ~(1 << m), h &&
|
|
1069
|
+
u[m] = d, l &= ~(1 << m), h && f();
|
|
1047
1070
|
},
|
|
1048
1071
|
() => {
|
|
1049
1072
|
l |= 1 << m;
|
|
1050
1073
|
}
|
|
1051
1074
|
)
|
|
1052
1075
|
);
|
|
1053
|
-
return h = !0,
|
|
1054
|
-
|
|
1076
|
+
return h = !0, f(), function() {
|
|
1077
|
+
te(p), c(), h = !1;
|
|
1055
1078
|
};
|
|
1056
1079
|
});
|
|
1057
1080
|
}
|
|
1058
|
-
function
|
|
1059
|
-
return e
|
|
1081
|
+
function zr(e) {
|
|
1082
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1060
1083
|
}
|
|
1061
|
-
var
|
|
1062
|
-
return
|
|
1084
|
+
var Zr = function(t) {
|
|
1085
|
+
return Qr(t) && !Jr(t);
|
|
1063
1086
|
};
|
|
1064
|
-
function
|
|
1087
|
+
function Qr(e) {
|
|
1065
1088
|
return !!e && typeof e == "object";
|
|
1066
1089
|
}
|
|
1067
|
-
function
|
|
1090
|
+
function Jr(e) {
|
|
1068
1091
|
var t = Object.prototype.toString.call(e);
|
|
1069
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1092
|
+
return t === "[object RegExp]" || t === "[object Date]" || Kr(e);
|
|
1070
1093
|
}
|
|
1071
|
-
var
|
|
1072
|
-
function
|
|
1073
|
-
return e.$$typeof ===
|
|
1094
|
+
var Yr = typeof Symbol == "function" && Symbol.for, qr = Yr ? Symbol.for("react.element") : 60103;
|
|
1095
|
+
function Kr(e) {
|
|
1096
|
+
return e.$$typeof === qr;
|
|
1074
1097
|
}
|
|
1075
|
-
function
|
|
1098
|
+
function en(e) {
|
|
1076
1099
|
return Array.isArray(e) ? [] : {};
|
|
1077
1100
|
}
|
|
1078
|
-
function
|
|
1079
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1101
|
+
function K(e, t) {
|
|
1102
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? G(en(e), e, t) : e;
|
|
1080
1103
|
}
|
|
1081
|
-
function
|
|
1104
|
+
function tn(e, t, r) {
|
|
1082
1105
|
return e.concat(t).map(function(n) {
|
|
1083
|
-
return
|
|
1106
|
+
return K(n, r);
|
|
1084
1107
|
});
|
|
1085
1108
|
}
|
|
1086
|
-
function
|
|
1109
|
+
function rn(e, t) {
|
|
1087
1110
|
if (!t.customMerge)
|
|
1088
|
-
return
|
|
1111
|
+
return G;
|
|
1089
1112
|
var r = t.customMerge(e);
|
|
1090
|
-
return typeof r == "function" ? r :
|
|
1113
|
+
return typeof r == "function" ? r : G;
|
|
1091
1114
|
}
|
|
1092
|
-
function
|
|
1115
|
+
function nn(e) {
|
|
1093
1116
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1094
1117
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1095
1118
|
}) : [];
|
|
1096
1119
|
}
|
|
1097
|
-
function
|
|
1098
|
-
return Object.keys(e).concat(
|
|
1120
|
+
function at(e) {
|
|
1121
|
+
return Object.keys(e).concat(nn(e));
|
|
1099
1122
|
}
|
|
1100
|
-
function
|
|
1123
|
+
function It(e, t) {
|
|
1101
1124
|
try {
|
|
1102
1125
|
return t in e;
|
|
1103
1126
|
} catch (r) {
|
|
1104
1127
|
return !1;
|
|
1105
1128
|
}
|
|
1106
1129
|
}
|
|
1107
|
-
function
|
|
1108
|
-
return
|
|
1130
|
+
function on(e, t) {
|
|
1131
|
+
return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1109
1132
|
}
|
|
1110
|
-
function
|
|
1133
|
+
function sn(e, t, r) {
|
|
1111
1134
|
var n = {};
|
|
1112
|
-
return r.isMergeableObject(e) &&
|
|
1113
|
-
n[i] =
|
|
1114
|
-
}),
|
|
1115
|
-
|
|
1135
|
+
return r.isMergeableObject(e) && at(e).forEach(function(i) {
|
|
1136
|
+
n[i] = K(e[i], r);
|
|
1137
|
+
}), at(t).forEach(function(i) {
|
|
1138
|
+
on(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = rn(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
|
|
1116
1139
|
}), n;
|
|
1117
1140
|
}
|
|
1118
|
-
function
|
|
1119
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1141
|
+
function G(e, t, r) {
|
|
1142
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || tn, r.isMergeableObject = r.isMergeableObject || Zr, r.cloneUnlessOtherwiseSpecified = K;
|
|
1120
1143
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1121
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1144
|
+
return o ? n ? r.arrayMerge(e, t, r) : sn(e, t, r) : K(t, r);
|
|
1122
1145
|
}
|
|
1123
|
-
|
|
1146
|
+
G.all = function(t, r) {
|
|
1124
1147
|
if (!Array.isArray(t))
|
|
1125
1148
|
throw new Error("first argument should be an array");
|
|
1126
1149
|
return t.reduce(function(n, i) {
|
|
1127
|
-
return
|
|
1150
|
+
return G(n, i, r);
|
|
1128
1151
|
}, {});
|
|
1129
1152
|
};
|
|
1130
|
-
var
|
|
1131
|
-
const
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
r.__proto__ = n;
|
|
1135
|
-
} || function(r, n) {
|
|
1136
|
-
for (var i in n)
|
|
1137
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1138
|
-
}, De(e, t);
|
|
1139
|
-
};
|
|
1140
|
-
function ye(e, t) {
|
|
1141
|
-
if (typeof t != "function" && t !== null)
|
|
1142
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1143
|
-
De(e, t);
|
|
1144
|
-
function r() {
|
|
1145
|
-
this.constructor = e;
|
|
1146
|
-
}
|
|
1147
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1148
|
-
}
|
|
1149
|
-
var A = function() {
|
|
1150
|
-
return A = Object.assign || function(t) {
|
|
1151
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1152
|
-
r = arguments[n];
|
|
1153
|
-
for (var o in r)
|
|
1154
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1155
|
-
}
|
|
1156
|
-
return t;
|
|
1157
|
-
}, A.apply(this, arguments);
|
|
1158
|
-
};
|
|
1159
|
-
function mn(e, t) {
|
|
1160
|
-
var r = {};
|
|
1161
|
-
for (var n in e)
|
|
1162
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1163
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1164
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1165
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1166
|
-
return r;
|
|
1167
|
-
}
|
|
1168
|
-
function we(e, t, r) {
|
|
1169
|
-
if (r || arguments.length === 2)
|
|
1170
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1171
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1172
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1173
|
-
}
|
|
1174
|
-
function He(e, t) {
|
|
1175
|
-
var r = t && t.cache ? t.cache : _n, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : bn;
|
|
1153
|
+
var an = G, un = an;
|
|
1154
|
+
const hn = /* @__PURE__ */ zr(un);
|
|
1155
|
+
function Ee(e, t) {
|
|
1156
|
+
var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : pn, i = t && t.strategy ? t.strategy : fn;
|
|
1176
1157
|
return i(e, {
|
|
1177
1158
|
cache: r,
|
|
1178
1159
|
serializer: n
|
|
1179
1160
|
});
|
|
1180
1161
|
}
|
|
1181
|
-
function
|
|
1162
|
+
function ln(e) {
|
|
1182
1163
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1183
1164
|
}
|
|
1184
|
-
function
|
|
1185
|
-
var i =
|
|
1165
|
+
function Nt(e, t, r, n) {
|
|
1166
|
+
var i = ln(n) ? n : r(n), o = t.get(i);
|
|
1186
1167
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1187
1168
|
}
|
|
1188
|
-
function
|
|
1169
|
+
function Ct(e, t, r) {
|
|
1189
1170
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1190
1171
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1191
1172
|
}
|
|
1192
|
-
function
|
|
1173
|
+
function Ve(e, t, r, n, i) {
|
|
1193
1174
|
return r.bind(t, e, n, i);
|
|
1194
1175
|
}
|
|
1195
|
-
function
|
|
1196
|
-
var r = e.length === 1 ?
|
|
1197
|
-
return
|
|
1176
|
+
function fn(e, t) {
|
|
1177
|
+
var r = e.length === 1 ? Nt : Ct;
|
|
1178
|
+
return Ve(e, this, r, t.cache.create(), t.serializer);
|
|
1179
|
+
}
|
|
1180
|
+
function cn(e, t) {
|
|
1181
|
+
return Ve(e, this, Ct, t.cache.create(), t.serializer);
|
|
1198
1182
|
}
|
|
1199
|
-
function
|
|
1200
|
-
return
|
|
1183
|
+
function mn(e, t) {
|
|
1184
|
+
return Ve(e, this, Nt, t.cache.create(), t.serializer);
|
|
1201
1185
|
}
|
|
1202
|
-
var
|
|
1186
|
+
var pn = function() {
|
|
1203
1187
|
return JSON.stringify(arguments);
|
|
1204
|
-
},
|
|
1188
|
+
}, dn = (
|
|
1205
1189
|
/** @class */
|
|
1206
1190
|
function() {
|
|
1207
1191
|
function e() {
|
|
@@ -1213,71 +1197,62 @@ var vn = function() {
|
|
|
1213
1197
|
this.cache[t] = r;
|
|
1214
1198
|
}, e;
|
|
1215
1199
|
}()
|
|
1216
|
-
),
|
|
1200
|
+
), bn = {
|
|
1217
1201
|
create: function() {
|
|
1218
|
-
return new
|
|
1202
|
+
return new dn();
|
|
1219
1203
|
}
|
|
1220
|
-
},
|
|
1221
|
-
variadic:
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1225
|
-
r = arguments[n];
|
|
1226
|
-
for (var o in r)
|
|
1227
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1228
|
-
}
|
|
1229
|
-
return t;
|
|
1230
|
-
}, fe.apply(this, arguments);
|
|
1231
|
-
};
|
|
1232
|
-
var b;
|
|
1204
|
+
}, Se = {
|
|
1205
|
+
variadic: cn,
|
|
1206
|
+
monadic: mn
|
|
1207
|
+
}, b;
|
|
1233
1208
|
(function(e) {
|
|
1234
1209
|
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";
|
|
1235
1210
|
})(b || (b = {}));
|
|
1236
|
-
var
|
|
1211
|
+
var x;
|
|
1237
1212
|
(function(e) {
|
|
1238
1213
|
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";
|
|
1239
|
-
})(
|
|
1240
|
-
var
|
|
1214
|
+
})(x || (x = {}));
|
|
1215
|
+
var j;
|
|
1241
1216
|
(function(e) {
|
|
1242
1217
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1243
|
-
})(
|
|
1244
|
-
function
|
|
1245
|
-
return e.type ===
|
|
1218
|
+
})(j || (j = {}));
|
|
1219
|
+
function ut(e) {
|
|
1220
|
+
return e.type === x.literal;
|
|
1246
1221
|
}
|
|
1247
|
-
function
|
|
1248
|
-
return e.type ===
|
|
1222
|
+
function yn(e) {
|
|
1223
|
+
return e.type === x.argument;
|
|
1249
1224
|
}
|
|
1250
|
-
function
|
|
1251
|
-
return e.type ===
|
|
1225
|
+
function Lt(e) {
|
|
1226
|
+
return e.type === x.number;
|
|
1252
1227
|
}
|
|
1253
|
-
function
|
|
1254
|
-
return e.type ===
|
|
1228
|
+
function Mt(e) {
|
|
1229
|
+
return e.type === x.date;
|
|
1255
1230
|
}
|
|
1256
|
-
function
|
|
1257
|
-
return e.type ===
|
|
1231
|
+
function $t(e) {
|
|
1232
|
+
return e.type === x.time;
|
|
1258
1233
|
}
|
|
1259
|
-
function
|
|
1260
|
-
return e.type ===
|
|
1234
|
+
function Rt(e) {
|
|
1235
|
+
return e.type === x.select;
|
|
1261
1236
|
}
|
|
1262
|
-
function
|
|
1263
|
-
return e.type ===
|
|
1237
|
+
function Ut(e) {
|
|
1238
|
+
return e.type === x.plural;
|
|
1264
1239
|
}
|
|
1265
|
-
function
|
|
1266
|
-
return e.type ===
|
|
1240
|
+
function gn(e) {
|
|
1241
|
+
return e.type === x.pound;
|
|
1267
1242
|
}
|
|
1268
|
-
function
|
|
1269
|
-
return e.type ===
|
|
1243
|
+
function Dt(e) {
|
|
1244
|
+
return e.type === x.tag;
|
|
1270
1245
|
}
|
|
1271
|
-
function
|
|
1272
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1246
|
+
function Ft(e) {
|
|
1247
|
+
return !!(e && typeof e == "object" && e.type === j.number);
|
|
1273
1248
|
}
|
|
1274
|
-
function
|
|
1275
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1249
|
+
function Me(e) {
|
|
1250
|
+
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
1276
1251
|
}
|
|
1277
|
-
var
|
|
1278
|
-
function
|
|
1252
|
+
var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, vn = /(?:[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;
|
|
1253
|
+
function xn(e) {
|
|
1279
1254
|
var t = {};
|
|
1280
|
-
return e.replace(
|
|
1255
|
+
return e.replace(vn, function(r) {
|
|
1281
1256
|
var n = r.length;
|
|
1282
1257
|
switch (r[0]) {
|
|
1283
1258
|
case "G":
|
|
@@ -1366,46 +1341,36 @@ function wn(e) {
|
|
|
1366
1341
|
return "";
|
|
1367
1342
|
}), t;
|
|
1368
1343
|
}
|
|
1369
|
-
var
|
|
1370
|
-
|
|
1371
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1372
|
-
r = arguments[n];
|
|
1373
|
-
for (var o in r)
|
|
1374
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1375
|
-
}
|
|
1376
|
-
return t;
|
|
1377
|
-
}, _.apply(this, arguments);
|
|
1378
|
-
};
|
|
1379
|
-
var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1380
|
-
function Tn(e) {
|
|
1344
|
+
var _n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1345
|
+
function En(e) {
|
|
1381
1346
|
if (e.length === 0)
|
|
1382
1347
|
throw new Error("Number skeleton cannot be empty");
|
|
1383
|
-
for (var t = e.split(
|
|
1384
|
-
return
|
|
1348
|
+
for (var t = e.split(_n).filter(function(f) {
|
|
1349
|
+
return f.length > 0;
|
|
1385
1350
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1386
1351
|
var o = i[n], s = o.split("/");
|
|
1387
1352
|
if (s.length === 0)
|
|
1388
1353
|
throw new Error("Invalid number skeleton");
|
|
1389
1354
|
for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1390
|
-
var
|
|
1391
|
-
if (
|
|
1355
|
+
var c = l[u];
|
|
1356
|
+
if (c.length === 0)
|
|
1392
1357
|
throw new Error("Invalid number skeleton");
|
|
1393
1358
|
}
|
|
1394
1359
|
r.push({ stem: a, options: h });
|
|
1395
1360
|
}
|
|
1396
1361
|
return r;
|
|
1397
1362
|
}
|
|
1398
|
-
function
|
|
1363
|
+
function Sn(e) {
|
|
1399
1364
|
return e.replace(/^(.*?)-/, "");
|
|
1400
1365
|
}
|
|
1401
|
-
var
|
|
1402
|
-
function
|
|
1366
|
+
var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, wn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
|
|
1367
|
+
function lt(e) {
|
|
1403
1368
|
var t = {};
|
|
1404
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1369
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
|
|
1405
1370
|
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)), "";
|
|
1406
1371
|
}), t;
|
|
1407
1372
|
}
|
|
1408
|
-
function
|
|
1373
|
+
function Vt(e) {
|
|
1409
1374
|
switch (e) {
|
|
1410
1375
|
case "sign-auto":
|
|
1411
1376
|
return {
|
|
@@ -1445,7 +1410,7 @@ function Zt(e) {
|
|
|
1445
1410
|
};
|
|
1446
1411
|
}
|
|
1447
1412
|
}
|
|
1448
|
-
function
|
|
1413
|
+
function Hn(e) {
|
|
1449
1414
|
var t;
|
|
1450
1415
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1451
1416
|
notation: "engineering"
|
|
@@ -1453,17 +1418,17 @@ function Pn(e) {
|
|
|
1453
1418
|
notation: "scientific"
|
|
1454
1419
|
}, e = e.slice(1)), t) {
|
|
1455
1420
|
var r = e.slice(0, 2);
|
|
1456
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1421
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
|
|
1457
1422
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1458
1423
|
t.minimumIntegerDigits = e.length;
|
|
1459
1424
|
}
|
|
1460
1425
|
return t;
|
|
1461
1426
|
}
|
|
1462
|
-
function
|
|
1463
|
-
var t = {}, r =
|
|
1427
|
+
function ft(e) {
|
|
1428
|
+
var t = {}, r = Vt(e);
|
|
1464
1429
|
return r || t;
|
|
1465
1430
|
}
|
|
1466
|
-
function
|
|
1431
|
+
function Tn(e) {
|
|
1467
1432
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1468
1433
|
var i = n[r];
|
|
1469
1434
|
switch (i.stem) {
|
|
@@ -1487,7 +1452,7 @@ function On(e) {
|
|
|
1487
1452
|
continue;
|
|
1488
1453
|
case "measure-unit":
|
|
1489
1454
|
case "unit":
|
|
1490
|
-
t.style = "unit", t.unit =
|
|
1455
|
+
t.style = "unit", t.unit = Sn(i.options[0]);
|
|
1491
1456
|
continue;
|
|
1492
1457
|
case "compact-short":
|
|
1493
1458
|
case "K":
|
|
@@ -1498,13 +1463,13 @@ function On(e) {
|
|
|
1498
1463
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1499
1464
|
continue;
|
|
1500
1465
|
case "scientific":
|
|
1501
|
-
t =
|
|
1502
|
-
return
|
|
1466
|
+
t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1467
|
+
return g(g({}, h), ft(u));
|
|
1503
1468
|
}, {}));
|
|
1504
1469
|
continue;
|
|
1505
1470
|
case "engineering":
|
|
1506
|
-
t =
|
|
1507
|
-
return
|
|
1471
|
+
t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1472
|
+
return g(g({}, h), ft(u));
|
|
1508
1473
|
}, {}));
|
|
1509
1474
|
continue;
|
|
1510
1475
|
case "notation-simple":
|
|
@@ -1549,11 +1514,11 @@ function On(e) {
|
|
|
1549
1514
|
case "integer-width":
|
|
1550
1515
|
if (i.options.length > 1)
|
|
1551
1516
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1552
|
-
i.options[0].replace(
|
|
1517
|
+
i.options[0].replace(wn, function(h, u, l, c, f, p) {
|
|
1553
1518
|
if (u)
|
|
1554
1519
|
t.minimumIntegerDigits = l.length;
|
|
1555
1520
|
else {
|
|
1556
|
-
if (
|
|
1521
|
+
if (c && f)
|
|
1557
1522
|
throw new Error("We currently do not support maximum integer digits");
|
|
1558
1523
|
if (p)
|
|
1559
1524
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1562,28 +1527,28 @@ function On(e) {
|
|
|
1562
1527
|
});
|
|
1563
1528
|
continue;
|
|
1564
1529
|
}
|
|
1565
|
-
if (
|
|
1530
|
+
if (kt.test(i.stem)) {
|
|
1566
1531
|
t.minimumIntegerDigits = i.stem.length;
|
|
1567
1532
|
continue;
|
|
1568
1533
|
}
|
|
1569
|
-
if (
|
|
1534
|
+
if (ht.test(i.stem)) {
|
|
1570
1535
|
if (i.options.length > 1)
|
|
1571
1536
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1572
|
-
i.stem.replace(
|
|
1573
|
-
return l === "*" ? t.minimumFractionDigits = u.length :
|
|
1537
|
+
i.stem.replace(ht, function(h, u, l, c, f, p) {
|
|
1538
|
+
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1574
1539
|
});
|
|
1575
1540
|
var o = i.options[0];
|
|
1576
|
-
o === "w" ? t =
|
|
1541
|
+
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), lt(o)));
|
|
1577
1542
|
continue;
|
|
1578
1543
|
}
|
|
1579
|
-
if (
|
|
1580
|
-
t =
|
|
1544
|
+
if (jt.test(i.stem)) {
|
|
1545
|
+
t = g(g({}, t), lt(i.stem));
|
|
1581
1546
|
continue;
|
|
1582
1547
|
}
|
|
1583
|
-
var s =
|
|
1584
|
-
s && (t =
|
|
1585
|
-
var a =
|
|
1586
|
-
a && (t =
|
|
1548
|
+
var s = Vt(i.stem);
|
|
1549
|
+
s && (t = g(g({}, t), s));
|
|
1550
|
+
var a = Hn(i.stem);
|
|
1551
|
+
a && (t = g(g({}, t), a));
|
|
1587
1552
|
}
|
|
1588
1553
|
return t;
|
|
1589
1554
|
}
|
|
@@ -3002,13 +2967,13 @@ var ae = {
|
|
|
3002
2967
|
"h"
|
|
3003
2968
|
]
|
|
3004
2969
|
};
|
|
3005
|
-
function
|
|
2970
|
+
function Bn(e, t) {
|
|
3006
2971
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3007
2972
|
var i = e.charAt(n);
|
|
3008
2973
|
if (i === "j") {
|
|
3009
2974
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3010
2975
|
o++, n++;
|
|
3011
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2976
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = An(t);
|
|
3012
2977
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3013
2978
|
r += h;
|
|
3014
2979
|
for (; s-- > 0; )
|
|
@@ -3018,7 +2983,7 @@ function In(e, t) {
|
|
|
3018
2983
|
}
|
|
3019
2984
|
return r;
|
|
3020
2985
|
}
|
|
3021
|
-
function
|
|
2986
|
+
function An(e) {
|
|
3022
2987
|
var t = e.hourCycle;
|
|
3023
2988
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3024
2989
|
e.hourCycles && // @ts-ignore
|
|
@@ -3040,20 +3005,20 @@ function Nn(e) {
|
|
|
3040
3005
|
var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
|
|
3041
3006
|
return i[0];
|
|
3042
3007
|
}
|
|
3043
|
-
var
|
|
3008
|
+
var we, Pn = new RegExp("^".concat(Gt.source, "*")), On = new RegExp("".concat(Gt.source, "*$"));
|
|
3044
3009
|
function y(e, t) {
|
|
3045
3010
|
return { start: e, end: t };
|
|
3046
3011
|
}
|
|
3047
|
-
var
|
|
3012
|
+
var In = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, Cn = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, Mn = !!String.prototype.trimStart, $n = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, Un = Rn ? Number.isSafeInteger : function(e) {
|
|
3048
3013
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3049
|
-
},
|
|
3014
|
+
}, $e = !0;
|
|
3050
3015
|
try {
|
|
3051
|
-
var
|
|
3052
|
-
|
|
3016
|
+
var Dn = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3017
|
+
$e = ((we = Dn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
|
|
3053
3018
|
} catch (e) {
|
|
3054
|
-
|
|
3019
|
+
$e = !1;
|
|
3055
3020
|
}
|
|
3056
|
-
var
|
|
3021
|
+
var ct = In ? (
|
|
3057
3022
|
// Native
|
|
3058
3023
|
function(t, r, n) {
|
|
3059
3024
|
return t.startsWith(r, n);
|
|
@@ -3063,7 +3028,7 @@ var bt = $n ? (
|
|
|
3063
3028
|
function(t, r, n) {
|
|
3064
3029
|
return t.slice(n, n + r.length) === r;
|
|
3065
3030
|
}
|
|
3066
|
-
),
|
|
3031
|
+
), Re = Nn ? String.fromCodePoint : (
|
|
3067
3032
|
// IE11
|
|
3068
3033
|
function() {
|
|
3069
3034
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3075,9 +3040,9 @@ var bt = $n ? (
|
|
|
3075
3040
|
}
|
|
3076
3041
|
return n;
|
|
3077
3042
|
}
|
|
3078
|
-
),
|
|
3043
|
+
), mt = (
|
|
3079
3044
|
// native
|
|
3080
|
-
|
|
3045
|
+
Cn ? Object.fromEntries : (
|
|
3081
3046
|
// Ponyfill
|
|
3082
3047
|
function(t) {
|
|
3083
3048
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3087,7 +3052,7 @@ var bt = $n ? (
|
|
|
3087
3052
|
return r;
|
|
3088
3053
|
}
|
|
3089
3054
|
)
|
|
3090
|
-
),
|
|
3055
|
+
), Xt = Ln ? (
|
|
3091
3056
|
// Native
|
|
3092
3057
|
function(t, r) {
|
|
3093
3058
|
return t.codePointAt(r);
|
|
@@ -3101,7 +3066,7 @@ var bt = $n ? (
|
|
|
3101
3066
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3102
3067
|
}
|
|
3103
3068
|
}
|
|
3104
|
-
),
|
|
3069
|
+
), Fn = Mn ? (
|
|
3105
3070
|
// Native
|
|
3106
3071
|
function(t) {
|
|
3107
3072
|
return t.trimStart();
|
|
@@ -3109,9 +3074,9 @@ var bt = $n ? (
|
|
|
3109
3074
|
) : (
|
|
3110
3075
|
// Ponyfill
|
|
3111
3076
|
function(t) {
|
|
3112
|
-
return t.replace(
|
|
3077
|
+
return t.replace(Pn, "");
|
|
3113
3078
|
}
|
|
3114
|
-
),
|
|
3079
|
+
), Gn = $n ? (
|
|
3115
3080
|
// Native
|
|
3116
3081
|
function(t) {
|
|
3117
3082
|
return t.trimEnd();
|
|
@@ -3119,32 +3084,32 @@ var bt = $n ? (
|
|
|
3119
3084
|
) : (
|
|
3120
3085
|
// Ponyfill
|
|
3121
3086
|
function(t) {
|
|
3122
|
-
return t.replace(
|
|
3087
|
+
return t.replace(On, "");
|
|
3123
3088
|
}
|
|
3124
3089
|
);
|
|
3125
|
-
function
|
|
3090
|
+
function Wt(e, t) {
|
|
3126
3091
|
return new RegExp(e, t);
|
|
3127
3092
|
}
|
|
3128
|
-
var
|
|
3129
|
-
if (
|
|
3130
|
-
var
|
|
3131
|
-
|
|
3093
|
+
var Ue;
|
|
3094
|
+
if ($e) {
|
|
3095
|
+
var pt = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3096
|
+
Ue = function(t, r) {
|
|
3132
3097
|
var n;
|
|
3133
|
-
|
|
3134
|
-
var i =
|
|
3098
|
+
pt.lastIndex = r;
|
|
3099
|
+
var i = pt.exec(t);
|
|
3135
3100
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3136
3101
|
};
|
|
3137
3102
|
} else
|
|
3138
|
-
|
|
3103
|
+
Ue = function(t, r) {
|
|
3139
3104
|
for (var n = []; ; ) {
|
|
3140
|
-
var i =
|
|
3141
|
-
if (i === void 0 ||
|
|
3105
|
+
var i = Xt(t, r);
|
|
3106
|
+
if (i === void 0 || zt(i) || Xn(i))
|
|
3142
3107
|
break;
|
|
3143
3108
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3144
3109
|
}
|
|
3145
|
-
return
|
|
3110
|
+
return Re.apply(void 0, n);
|
|
3146
3111
|
};
|
|
3147
|
-
var
|
|
3112
|
+
var jn = (
|
|
3148
3113
|
/** @class */
|
|
3149
3114
|
function() {
|
|
3150
3115
|
function e(t, r) {
|
|
@@ -3168,14 +3133,14 @@ var Wn = (
|
|
|
3168
3133
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3169
3134
|
var a = this.clonePosition();
|
|
3170
3135
|
this.bump(), i.push({
|
|
3171
|
-
type:
|
|
3136
|
+
type: x.pound,
|
|
3172
3137
|
location: y(a, this.clonePosition())
|
|
3173
3138
|
});
|
|
3174
3139
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3175
3140
|
if (n)
|
|
3176
3141
|
break;
|
|
3177
3142
|
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3178
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3143
|
+
} else if (o === 60 && !this.ignoreTag && De(this.peek() || 0)) {
|
|
3179
3144
|
var s = this.parseTag(t, r);
|
|
3180
3145
|
if (s.err)
|
|
3181
3146
|
return s;
|
|
@@ -3196,7 +3161,7 @@ var Wn = (
|
|
|
3196
3161
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3197
3162
|
return {
|
|
3198
3163
|
val: {
|
|
3199
|
-
type:
|
|
3164
|
+
type: x.literal,
|
|
3200
3165
|
value: "<".concat(i, "/>"),
|
|
3201
3166
|
location: y(n, this.clonePosition())
|
|
3202
3167
|
},
|
|
@@ -3208,12 +3173,12 @@ var Wn = (
|
|
|
3208
3173
|
return o;
|
|
3209
3174
|
var s = o.val, a = this.clonePosition();
|
|
3210
3175
|
if (this.bumpIf("</")) {
|
|
3211
|
-
if (this.isEOF() || !
|
|
3176
|
+
if (this.isEOF() || !De(this.char()))
|
|
3212
3177
|
return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
|
|
3213
3178
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3214
3179
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3215
3180
|
val: {
|
|
3216
|
-
type:
|
|
3181
|
+
type: x.tag,
|
|
3217
3182
|
value: i,
|
|
3218
3183
|
children: s,
|
|
3219
3184
|
location: y(n, this.clonePosition())
|
|
@@ -3226,7 +3191,7 @@ var Wn = (
|
|
|
3226
3191
|
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
3227
3192
|
}, e.prototype.parseTagName = function() {
|
|
3228
3193
|
var t = this.offset();
|
|
3229
|
-
for (this.bump(); !this.isEOF() &&
|
|
3194
|
+
for (this.bump(); !this.isEOF() && Vn(this.char()); )
|
|
3230
3195
|
this.bump();
|
|
3231
3196
|
return this.message.slice(t, this.offset());
|
|
3232
3197
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3250,12 +3215,12 @@ var Wn = (
|
|
|
3250
3215
|
}
|
|
3251
3216
|
var h = y(n, this.clonePosition());
|
|
3252
3217
|
return {
|
|
3253
|
-
val: { type:
|
|
3218
|
+
val: { type: x.literal, value: i, location: h },
|
|
3254
3219
|
err: null
|
|
3255
3220
|
};
|
|
3256
3221
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3257
3222
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3258
|
-
!
|
|
3223
|
+
!kn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3259
3224
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3260
3225
|
if (this.isEOF() || this.char() !== 39)
|
|
3261
3226
|
return null;
|
|
@@ -3289,12 +3254,12 @@ var Wn = (
|
|
|
3289
3254
|
r.push(n);
|
|
3290
3255
|
this.bump();
|
|
3291
3256
|
}
|
|
3292
|
-
return
|
|
3257
|
+
return Re.apply(void 0, r);
|
|
3293
3258
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3294
3259
|
if (this.isEOF())
|
|
3295
3260
|
return null;
|
|
3296
3261
|
var n = this.char();
|
|
3297
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3262
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Re(n));
|
|
3298
3263
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3299
3264
|
var n = this.clonePosition();
|
|
3300
3265
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3310,7 +3275,7 @@ var Wn = (
|
|
|
3310
3275
|
case 125:
|
|
3311
3276
|
return this.bump(), {
|
|
3312
3277
|
val: {
|
|
3313
|
-
type:
|
|
3278
|
+
type: x.argument,
|
|
3314
3279
|
// value does not include the opening and closing braces.
|
|
3315
3280
|
value: i,
|
|
3316
3281
|
location: y(n, this.clonePosition())
|
|
@@ -3323,7 +3288,7 @@ var Wn = (
|
|
|
3323
3288
|
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3324
3289
|
}
|
|
3325
3290
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3326
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3291
|
+
var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
|
|
3327
3292
|
this.bumpTo(i);
|
|
3328
3293
|
var o = this.clonePosition(), s = y(t, o);
|
|
3329
3294
|
return { value: n, location: s };
|
|
@@ -3339,47 +3304,47 @@ var Wn = (
|
|
|
3339
3304
|
var u = null;
|
|
3340
3305
|
if (this.bumpIf(",")) {
|
|
3341
3306
|
this.bumpSpace();
|
|
3342
|
-
var l = this.clonePosition(),
|
|
3343
|
-
if (
|
|
3344
|
-
return
|
|
3345
|
-
var
|
|
3346
|
-
if (
|
|
3307
|
+
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3308
|
+
if (c.err)
|
|
3309
|
+
return c;
|
|
3310
|
+
var f = Gn(c.val);
|
|
3311
|
+
if (f.length === 0)
|
|
3347
3312
|
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3348
3313
|
var p = y(l, this.clonePosition());
|
|
3349
|
-
u = { style:
|
|
3314
|
+
u = { style: f, styleLocation: p };
|
|
3350
3315
|
}
|
|
3351
3316
|
var v = this.tryParseArgumentClose(i);
|
|
3352
3317
|
if (v.err)
|
|
3353
3318
|
return v;
|
|
3354
3319
|
var m = y(i, this.clonePosition());
|
|
3355
|
-
if (u &&
|
|
3356
|
-
var d =
|
|
3320
|
+
if (u && ct(u == null ? void 0 : u.style, "::", 0)) {
|
|
3321
|
+
var d = Fn(u.style.slice(2));
|
|
3357
3322
|
if (a === "number") {
|
|
3358
|
-
var
|
|
3359
|
-
return
|
|
3360
|
-
val: { type:
|
|
3323
|
+
var c = this.parseNumberSkeletonFromString(d, u.styleLocation);
|
|
3324
|
+
return c.err ? c : {
|
|
3325
|
+
val: { type: x.number, value: n, location: m, style: c.val },
|
|
3361
3326
|
err: null
|
|
3362
3327
|
};
|
|
3363
3328
|
} else {
|
|
3364
3329
|
if (d.length === 0)
|
|
3365
3330
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3366
3331
|
var S = d;
|
|
3367
|
-
this.locale && (S =
|
|
3368
|
-
var
|
|
3369
|
-
type:
|
|
3332
|
+
this.locale && (S = Bn(d, this.locale));
|
|
3333
|
+
var f = {
|
|
3334
|
+
type: j.dateTime,
|
|
3370
3335
|
pattern: S,
|
|
3371
3336
|
location: u.styleLocation,
|
|
3372
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3373
|
-
}, O = a === "date" ?
|
|
3337
|
+
parsedOptions: this.shouldParseSkeletons ? xn(S) : {}
|
|
3338
|
+
}, O = a === "date" ? x.date : x.time;
|
|
3374
3339
|
return {
|
|
3375
|
-
val: { type: O, value: n, location: m, style:
|
|
3340
|
+
val: { type: O, value: n, location: m, style: f },
|
|
3376
3341
|
err: null
|
|
3377
3342
|
};
|
|
3378
3343
|
}
|
|
3379
3344
|
}
|
|
3380
3345
|
return {
|
|
3381
3346
|
val: {
|
|
3382
|
-
type: a === "number" ?
|
|
3347
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3383
3348
|
value: n,
|
|
3384
3349
|
location: m,
|
|
3385
3350
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3392,41 +3357,41 @@ var Wn = (
|
|
|
3392
3357
|
case "select": {
|
|
3393
3358
|
var T = this.clonePosition();
|
|
3394
3359
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3395
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T,
|
|
3360
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, g({}, T)));
|
|
3396
3361
|
this.bumpSpace();
|
|
3397
|
-
var
|
|
3398
|
-
if (a !== "select" &&
|
|
3362
|
+
var Z = this.parseIdentifierIfPossible(), N = 0;
|
|
3363
|
+
if (a !== "select" && Z.value === "offset") {
|
|
3399
3364
|
if (!this.bumpIf(":"))
|
|
3400
3365
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3401
3366
|
this.bumpSpace();
|
|
3402
|
-
var
|
|
3403
|
-
if (
|
|
3404
|
-
return
|
|
3405
|
-
this.bumpSpace(),
|
|
3367
|
+
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3368
|
+
if (c.err)
|
|
3369
|
+
return c;
|
|
3370
|
+
this.bumpSpace(), Z = this.parseIdentifierIfPossible(), N = c.val;
|
|
3406
3371
|
}
|
|
3407
|
-
var oe = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
3372
|
+
var oe = this.tryParsePluralOrSelectOptions(t, a, r, Z);
|
|
3408
3373
|
if (oe.err)
|
|
3409
3374
|
return oe;
|
|
3410
3375
|
var v = this.tryParseArgumentClose(i);
|
|
3411
3376
|
if (v.err)
|
|
3412
3377
|
return v;
|
|
3413
|
-
var
|
|
3378
|
+
var ze = y(i, this.clonePosition());
|
|
3414
3379
|
return a === "select" ? {
|
|
3415
3380
|
val: {
|
|
3416
|
-
type:
|
|
3381
|
+
type: x.select,
|
|
3417
3382
|
value: n,
|
|
3418
|
-
options:
|
|
3419
|
-
location:
|
|
3383
|
+
options: mt(oe.val),
|
|
3384
|
+
location: ze
|
|
3420
3385
|
},
|
|
3421
3386
|
err: null
|
|
3422
3387
|
} : {
|
|
3423
3388
|
val: {
|
|
3424
|
-
type:
|
|
3389
|
+
type: x.plural,
|
|
3425
3390
|
value: n,
|
|
3426
|
-
options:
|
|
3391
|
+
options: mt(oe.val),
|
|
3427
3392
|
offset: N,
|
|
3428
3393
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3429
|
-
location:
|
|
3394
|
+
location: ze
|
|
3430
3395
|
},
|
|
3431
3396
|
err: null
|
|
3432
3397
|
};
|
|
@@ -3474,28 +3439,28 @@ var Wn = (
|
|
|
3474
3439
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3475
3440
|
var n = [];
|
|
3476
3441
|
try {
|
|
3477
|
-
n =
|
|
3442
|
+
n = En(t);
|
|
3478
3443
|
} catch (i) {
|
|
3479
3444
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3480
3445
|
}
|
|
3481
3446
|
return {
|
|
3482
3447
|
val: {
|
|
3483
|
-
type:
|
|
3448
|
+
type: j.number,
|
|
3484
3449
|
tokens: n,
|
|
3485
3450
|
location: r,
|
|
3486
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3451
|
+
parsedOptions: this.shouldParseSkeletons ? Tn(n) : {}
|
|
3487
3452
|
},
|
|
3488
3453
|
err: null
|
|
3489
3454
|
};
|
|
3490
3455
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3491
3456
|
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3492
3457
|
if (u.length === 0) {
|
|
3493
|
-
var
|
|
3458
|
+
var c = this.clonePosition();
|
|
3494
3459
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3495
|
-
var
|
|
3496
|
-
if (
|
|
3497
|
-
return
|
|
3498
|
-
l = y(
|
|
3460
|
+
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3461
|
+
if (f.err)
|
|
3462
|
+
return f;
|
|
3463
|
+
l = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3499
3464
|
} else
|
|
3500
3465
|
break;
|
|
3501
3466
|
}
|
|
@@ -3531,7 +3496,7 @@ var Wn = (
|
|
|
3531
3496
|
break;
|
|
3532
3497
|
}
|
|
3533
3498
|
var h = y(i, this.clonePosition());
|
|
3534
|
-
return o ? (s *= n,
|
|
3499
|
+
return o ? (s *= n, Un(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3535
3500
|
}, e.prototype.offset = function() {
|
|
3536
3501
|
return this.position.offset;
|
|
3537
3502
|
}, e.prototype.isEOF = function() {
|
|
@@ -3546,7 +3511,7 @@ var Wn = (
|
|
|
3546
3511
|
var t = this.position.offset;
|
|
3547
3512
|
if (t >= this.message.length)
|
|
3548
3513
|
throw Error("out of bound");
|
|
3549
|
-
var r =
|
|
3514
|
+
var r = Xt(this.message, t);
|
|
3550
3515
|
if (r === void 0)
|
|
3551
3516
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3552
3517
|
return r;
|
|
@@ -3565,7 +3530,7 @@ var Wn = (
|
|
|
3565
3530
|
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);
|
|
3566
3531
|
}
|
|
3567
3532
|
}, e.prototype.bumpIf = function(t) {
|
|
3568
|
-
if (
|
|
3533
|
+
if (ct(this.message, t, this.offset())) {
|
|
3569
3534
|
for (var r = 0; r < t.length; r++)
|
|
3570
3535
|
this.bump();
|
|
3571
3536
|
return !0;
|
|
@@ -3587,7 +3552,7 @@ var Wn = (
|
|
|
3587
3552
|
break;
|
|
3588
3553
|
}
|
|
3589
3554
|
}, e.prototype.bumpSpace = function() {
|
|
3590
|
-
for (; !this.isEOF() &&
|
|
3555
|
+
for (; !this.isEOF() && zt(this.char()); )
|
|
3591
3556
|
this.bump();
|
|
3592
3557
|
}, e.prototype.peek = function() {
|
|
3593
3558
|
if (this.isEOF())
|
|
@@ -3597,47 +3562,47 @@ var Wn = (
|
|
|
3597
3562
|
}, e;
|
|
3598
3563
|
}()
|
|
3599
3564
|
);
|
|
3600
|
-
function
|
|
3565
|
+
function De(e) {
|
|
3601
3566
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3602
3567
|
}
|
|
3603
|
-
function
|
|
3604
|
-
return
|
|
3568
|
+
function kn(e) {
|
|
3569
|
+
return De(e) || e === 47;
|
|
3605
3570
|
}
|
|
3606
|
-
function
|
|
3571
|
+
function Vn(e) {
|
|
3607
3572
|
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;
|
|
3608
3573
|
}
|
|
3609
|
-
function
|
|
3574
|
+
function zt(e) {
|
|
3610
3575
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3611
3576
|
}
|
|
3612
|
-
function
|
|
3577
|
+
function Xn(e) {
|
|
3613
3578
|
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;
|
|
3614
3579
|
}
|
|
3615
|
-
function
|
|
3580
|
+
function Fe(e) {
|
|
3616
3581
|
e.forEach(function(t) {
|
|
3617
|
-
if (delete t.location,
|
|
3582
|
+
if (delete t.location, Rt(t) || Ut(t))
|
|
3618
3583
|
for (var r in t.options)
|
|
3619
|
-
delete t.options[r].location,
|
|
3584
|
+
delete t.options[r].location, Fe(t.options[r].value);
|
|
3620
3585
|
else
|
|
3621
|
-
|
|
3586
|
+
Lt(t) && Ft(t.style) || (Mt(t) || $t(t)) && Me(t.style) ? delete t.style.location : Dt(t) && Fe(t.children);
|
|
3622
3587
|
});
|
|
3623
3588
|
}
|
|
3624
|
-
function
|
|
3625
|
-
t === void 0 && (t = {}), t =
|
|
3626
|
-
var r = new
|
|
3589
|
+
function Wn(e, t) {
|
|
3590
|
+
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3591
|
+
var r = new jn(e, t).parse();
|
|
3627
3592
|
if (r.err) {
|
|
3628
3593
|
var n = SyntaxError(b[r.err.kind]);
|
|
3629
3594
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3630
3595
|
}
|
|
3631
|
-
return t != null && t.captureLocation ||
|
|
3596
|
+
return t != null && t.captureLocation || Fe(r.val), r.val;
|
|
3632
3597
|
}
|
|
3633
|
-
var
|
|
3598
|
+
var k;
|
|
3634
3599
|
(function(e) {
|
|
3635
3600
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3636
|
-
})(
|
|
3637
|
-
var
|
|
3601
|
+
})(k || (k = {}));
|
|
3602
|
+
var be = (
|
|
3638
3603
|
/** @class */
|
|
3639
3604
|
function(e) {
|
|
3640
|
-
|
|
3605
|
+
P(t, e);
|
|
3641
3606
|
function t(r, n, i) {
|
|
3642
3607
|
var o = e.call(this, r) || this;
|
|
3643
3608
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3646,48 +3611,48 @@ var ve = (
|
|
|
3646
3611
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3647
3612
|
}, t;
|
|
3648
3613
|
}(Error)
|
|
3649
|
-
),
|
|
3614
|
+
), dt = (
|
|
3650
3615
|
/** @class */
|
|
3651
3616
|
function(e) {
|
|
3652
|
-
|
|
3617
|
+
P(t, e);
|
|
3653
3618
|
function t(r, n, i, o) {
|
|
3654
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3619
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, o) || this;
|
|
3655
3620
|
}
|
|
3656
3621
|
return t;
|
|
3657
|
-
}(
|
|
3658
|
-
),
|
|
3622
|
+
}(be)
|
|
3623
|
+
), zn = (
|
|
3659
3624
|
/** @class */
|
|
3660
3625
|
function(e) {
|
|
3661
|
-
|
|
3626
|
+
P(t, e);
|
|
3662
3627
|
function t(r, n, i) {
|
|
3663
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3628
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
|
|
3664
3629
|
}
|
|
3665
3630
|
return t;
|
|
3666
|
-
}(
|
|
3667
|
-
),
|
|
3631
|
+
}(be)
|
|
3632
|
+
), Zn = (
|
|
3668
3633
|
/** @class */
|
|
3669
3634
|
function(e) {
|
|
3670
|
-
|
|
3635
|
+
P(t, e);
|
|
3671
3636
|
function t(r, n) {
|
|
3672
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3637
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
|
|
3673
3638
|
}
|
|
3674
3639
|
return t;
|
|
3675
|
-
}(
|
|
3640
|
+
}(be)
|
|
3676
3641
|
), E;
|
|
3677
3642
|
(function(e) {
|
|
3678
3643
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3679
3644
|
})(E || (E = {}));
|
|
3680
|
-
function
|
|
3645
|
+
function Qn(e) {
|
|
3681
3646
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3682
3647
|
var n = t[t.length - 1];
|
|
3683
3648
|
return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
|
|
3684
3649
|
}, []);
|
|
3685
3650
|
}
|
|
3686
|
-
function
|
|
3651
|
+
function Jn(e) {
|
|
3687
3652
|
return typeof e == "function";
|
|
3688
3653
|
}
|
|
3689
3654
|
function le(e, t, r, n, i, o, s) {
|
|
3690
|
-
if (e.length === 1 &&
|
|
3655
|
+
if (e.length === 1 && ut(e[0]))
|
|
3691
3656
|
return [
|
|
3692
3657
|
{
|
|
3693
3658
|
type: E.literal,
|
|
@@ -3696,59 +3661,59 @@ function le(e, t, r, n, i, o, s) {
|
|
|
3696
3661
|
];
|
|
3697
3662
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3698
3663
|
var l = u[h];
|
|
3699
|
-
if (
|
|
3664
|
+
if (ut(l)) {
|
|
3700
3665
|
a.push({
|
|
3701
3666
|
type: E.literal,
|
|
3702
3667
|
value: l.value
|
|
3703
3668
|
});
|
|
3704
3669
|
continue;
|
|
3705
3670
|
}
|
|
3706
|
-
if (
|
|
3671
|
+
if (gn(l)) {
|
|
3707
3672
|
typeof o == "number" && a.push({
|
|
3708
3673
|
type: E.literal,
|
|
3709
3674
|
value: r.getNumberFormat(t).format(o)
|
|
3710
3675
|
});
|
|
3711
3676
|
continue;
|
|
3712
3677
|
}
|
|
3713
|
-
var
|
|
3714
|
-
if (!(i &&
|
|
3715
|
-
throw new
|
|
3716
|
-
var
|
|
3717
|
-
if (
|
|
3718
|
-
(!
|
|
3719
|
-
type: typeof
|
|
3720
|
-
value:
|
|
3678
|
+
var c = l.value;
|
|
3679
|
+
if (!(i && c in i))
|
|
3680
|
+
throw new Zn(c, s);
|
|
3681
|
+
var f = i[c];
|
|
3682
|
+
if (yn(l)) {
|
|
3683
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3684
|
+
type: typeof f == "string" ? E.literal : E.object,
|
|
3685
|
+
value: f
|
|
3721
3686
|
});
|
|
3722
3687
|
continue;
|
|
3723
3688
|
}
|
|
3724
|
-
if (
|
|
3725
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3689
|
+
if (Mt(l)) {
|
|
3690
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Me(l.style) ? l.style.parsedOptions : void 0;
|
|
3726
3691
|
a.push({
|
|
3727
3692
|
type: E.literal,
|
|
3728
|
-
value: r.getDateTimeFormat(t, p).format(
|
|
3693
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3729
3694
|
});
|
|
3730
3695
|
continue;
|
|
3731
3696
|
}
|
|
3732
|
-
if (
|
|
3733
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3697
|
+
if ($t(l)) {
|
|
3698
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Me(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3734
3699
|
a.push({
|
|
3735
3700
|
type: E.literal,
|
|
3736
|
-
value: r.getDateTimeFormat(t, p).format(
|
|
3701
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3737
3702
|
});
|
|
3738
3703
|
continue;
|
|
3739
3704
|
}
|
|
3740
|
-
if (
|
|
3741
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3742
|
-
p && p.scale && (
|
|
3705
|
+
if (Lt(l)) {
|
|
3706
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Ft(l.style) ? l.style.parsedOptions : void 0;
|
|
3707
|
+
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3743
3708
|
type: E.literal,
|
|
3744
|
-
value: r.getNumberFormat(t, p).format(
|
|
3709
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3745
3710
|
});
|
|
3746
3711
|
continue;
|
|
3747
3712
|
}
|
|
3748
|
-
if (
|
|
3713
|
+
if (Dt(l)) {
|
|
3749
3714
|
var v = l.children, m = l.value, d = i[m];
|
|
3750
|
-
if (!
|
|
3751
|
-
throw new
|
|
3715
|
+
if (!Jn(d))
|
|
3716
|
+
throw new zn(m, "function", s);
|
|
3752
3717
|
var S = le(v, t, r, n, i, o), O = d(S.map(function(N) {
|
|
3753
3718
|
return N.value;
|
|
3754
3719
|
}));
|
|
@@ -3759,42 +3724,42 @@ function le(e, t, r, n, i, o, s) {
|
|
|
3759
3724
|
};
|
|
3760
3725
|
}));
|
|
3761
3726
|
}
|
|
3762
|
-
if (
|
|
3763
|
-
var T = l.options[
|
|
3727
|
+
if (Rt(l)) {
|
|
3728
|
+
var T = l.options[f] || l.options.other;
|
|
3764
3729
|
if (!T)
|
|
3765
|
-
throw new
|
|
3730
|
+
throw new dt(l.value, f, Object.keys(l.options), s);
|
|
3766
3731
|
a.push.apply(a, le(T.value, t, r, n, i));
|
|
3767
3732
|
continue;
|
|
3768
3733
|
}
|
|
3769
|
-
if (
|
|
3770
|
-
var T = l.options["=".concat(
|
|
3734
|
+
if (Ut(l)) {
|
|
3735
|
+
var T = l.options["=".concat(f)];
|
|
3771
3736
|
if (!T) {
|
|
3772
3737
|
if (!Intl.PluralRules)
|
|
3773
|
-
throw new
|
|
3738
|
+
throw new be(`Intl.PluralRules is not available in this environment.
|
|
3774
3739
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3775
|
-
`,
|
|
3776
|
-
var
|
|
3777
|
-
T = l.options[
|
|
3740
|
+
`, k.MISSING_INTL_API, s);
|
|
3741
|
+
var Z = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3742
|
+
T = l.options[Z] || l.options.other;
|
|
3778
3743
|
}
|
|
3779
3744
|
if (!T)
|
|
3780
|
-
throw new
|
|
3781
|
-
a.push.apply(a, le(T.value, t, r, n, i,
|
|
3745
|
+
throw new dt(l.value, f, Object.keys(l.options), s);
|
|
3746
|
+
a.push.apply(a, le(T.value, t, r, n, i, f - (l.offset || 0)));
|
|
3782
3747
|
continue;
|
|
3783
3748
|
}
|
|
3784
3749
|
}
|
|
3785
|
-
return
|
|
3750
|
+
return Qn(a);
|
|
3786
3751
|
}
|
|
3787
|
-
function
|
|
3788
|
-
return t ?
|
|
3789
|
-
return r[n] =
|
|
3752
|
+
function Yn(e, t) {
|
|
3753
|
+
return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3754
|
+
return r[n] = g(g({}, e[n]), t[n] || {}), r;
|
|
3790
3755
|
}, {})) : e;
|
|
3791
3756
|
}
|
|
3792
|
-
function
|
|
3757
|
+
function qn(e, t) {
|
|
3793
3758
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3794
|
-
return r[n] =
|
|
3795
|
-
},
|
|
3759
|
+
return r[n] = Yn(e[n], t[n]), r;
|
|
3760
|
+
}, g({}, e)) : e;
|
|
3796
3761
|
}
|
|
3797
|
-
function
|
|
3762
|
+
function He(e) {
|
|
3798
3763
|
return {
|
|
3799
3764
|
create: function() {
|
|
3800
3765
|
return {
|
|
@@ -3808,39 +3773,39 @@ function Ae(e) {
|
|
|
3808
3773
|
}
|
|
3809
3774
|
};
|
|
3810
3775
|
}
|
|
3811
|
-
function
|
|
3776
|
+
function Kn(e) {
|
|
3812
3777
|
return e === void 0 && (e = {
|
|
3813
3778
|
number: {},
|
|
3814
3779
|
dateTime: {},
|
|
3815
3780
|
pluralRules: {}
|
|
3816
3781
|
}), {
|
|
3817
|
-
getNumberFormat:
|
|
3782
|
+
getNumberFormat: Ee(function() {
|
|
3818
3783
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3819
3784
|
r[n] = arguments[n];
|
|
3820
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3785
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, D([void 0], r, !1)))();
|
|
3821
3786
|
}, {
|
|
3822
|
-
cache:
|
|
3823
|
-
strategy:
|
|
3787
|
+
cache: He(e.number),
|
|
3788
|
+
strategy: Se.variadic
|
|
3824
3789
|
}),
|
|
3825
|
-
getDateTimeFormat:
|
|
3790
|
+
getDateTimeFormat: Ee(function() {
|
|
3826
3791
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3827
3792
|
r[n] = arguments[n];
|
|
3828
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3793
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, D([void 0], r, !1)))();
|
|
3829
3794
|
}, {
|
|
3830
|
-
cache:
|
|
3831
|
-
strategy:
|
|
3795
|
+
cache: He(e.dateTime),
|
|
3796
|
+
strategy: Se.variadic
|
|
3832
3797
|
}),
|
|
3833
|
-
getPluralRules:
|
|
3798
|
+
getPluralRules: Ee(function() {
|
|
3834
3799
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3835
3800
|
r[n] = arguments[n];
|
|
3836
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3801
|
+
return new ((t = Intl.PluralRules).bind.apply(t, D([void 0], r, !1)))();
|
|
3837
3802
|
}, {
|
|
3838
|
-
cache:
|
|
3839
|
-
strategy:
|
|
3803
|
+
cache: He(e.pluralRules),
|
|
3804
|
+
strategy: Se.variadic
|
|
3840
3805
|
})
|
|
3841
3806
|
};
|
|
3842
3807
|
}
|
|
3843
|
-
var
|
|
3808
|
+
var ei = (
|
|
3844
3809
|
/** @class */
|
|
3845
3810
|
function() {
|
|
3846
3811
|
function e(t, r, n, i) {
|
|
@@ -3854,8 +3819,8 @@ var ii = (
|
|
|
3854
3819
|
var u = o.formatToParts(h);
|
|
3855
3820
|
if (u.length === 1)
|
|
3856
3821
|
return u[0].value;
|
|
3857
|
-
var l = u.reduce(function(
|
|
3858
|
-
return !
|
|
3822
|
+
var l = u.reduce(function(c, f) {
|
|
3823
|
+
return !c.length || f.type !== E.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3859
3824
|
}, []);
|
|
3860
3825
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3861
3826
|
}, this.formatToParts = function(h) {
|
|
@@ -3872,13 +3837,13 @@ var ii = (
|
|
|
3872
3837
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3873
3838
|
var s = i || {};
|
|
3874
3839
|
s.formatters;
|
|
3875
|
-
var a =
|
|
3876
|
-
this.ast = e.__parse(t,
|
|
3840
|
+
var a = Ir(s, ["formatters"]);
|
|
3841
|
+
this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
|
|
3877
3842
|
} else
|
|
3878
3843
|
this.ast = t;
|
|
3879
3844
|
if (!Array.isArray(this.ast))
|
|
3880
3845
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3881
|
-
this.formats =
|
|
3846
|
+
this.formats = qn(e.formats, n), this.formatters = i && i.formatters || Kn(this.formatterCache);
|
|
3882
3847
|
}
|
|
3883
3848
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3884
3849
|
get: function() {
|
|
@@ -3891,7 +3856,7 @@ var ii = (
|
|
|
3891
3856
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3892
3857
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3893
3858
|
}
|
|
3894
|
-
}, e.__parse =
|
|
3859
|
+
}, e.__parse = Wn, e.formats = {
|
|
3895
3860
|
number: {
|
|
3896
3861
|
integer: {
|
|
3897
3862
|
maximumFractionDigits: 0
|
|
@@ -3952,7 +3917,7 @@ var ii = (
|
|
|
3952
3917
|
}, e;
|
|
3953
3918
|
}()
|
|
3954
3919
|
);
|
|
3955
|
-
function
|
|
3920
|
+
function ti(e, t) {
|
|
3956
3921
|
if (t == null)
|
|
3957
3922
|
return;
|
|
3958
3923
|
if (t in e)
|
|
@@ -3973,92 +3938,92 @@ function oi(e, t) {
|
|
|
3973
3938
|
n = void 0;
|
|
3974
3939
|
return n;
|
|
3975
3940
|
}
|
|
3976
|
-
const I = {},
|
|
3941
|
+
const I = {}, ri = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Zt = (e, t) => {
|
|
3977
3942
|
if (t == null)
|
|
3978
3943
|
return;
|
|
3979
3944
|
if (t in I && e in I[t])
|
|
3980
3945
|
return I[t][e];
|
|
3981
|
-
const r =
|
|
3946
|
+
const r = ye(t);
|
|
3982
3947
|
for (let n = 0; n < r.length; n++) {
|
|
3983
|
-
const i = r[n], o =
|
|
3948
|
+
const i = r[n], o = ii(i, e);
|
|
3984
3949
|
if (o)
|
|
3985
|
-
return
|
|
3950
|
+
return ri(e, t, o);
|
|
3986
3951
|
}
|
|
3987
3952
|
};
|
|
3988
|
-
let
|
|
3989
|
-
const ne =
|
|
3990
|
-
function
|
|
3991
|
-
return
|
|
3953
|
+
let Xe;
|
|
3954
|
+
const ne = de({});
|
|
3955
|
+
function ni(e) {
|
|
3956
|
+
return Xe[e] || null;
|
|
3992
3957
|
}
|
|
3993
|
-
function
|
|
3994
|
-
return e in
|
|
3958
|
+
function Qt(e) {
|
|
3959
|
+
return e in Xe;
|
|
3995
3960
|
}
|
|
3996
|
-
function
|
|
3997
|
-
if (!
|
|
3961
|
+
function ii(e, t) {
|
|
3962
|
+
if (!Qt(e))
|
|
3998
3963
|
return null;
|
|
3999
|
-
const r =
|
|
4000
|
-
return
|
|
3964
|
+
const r = ni(e);
|
|
3965
|
+
return ti(r, t);
|
|
4001
3966
|
}
|
|
4002
|
-
function
|
|
3967
|
+
function oi(e) {
|
|
4003
3968
|
if (e == null)
|
|
4004
3969
|
return;
|
|
4005
|
-
const t =
|
|
3970
|
+
const t = ye(e);
|
|
4006
3971
|
for (let r = 0; r < t.length; r++) {
|
|
4007
3972
|
const n = t[r];
|
|
4008
|
-
if (
|
|
3973
|
+
if (Qt(n))
|
|
4009
3974
|
return n;
|
|
4010
3975
|
}
|
|
4011
3976
|
}
|
|
4012
|
-
function
|
|
4013
|
-
delete I[e], ne.update((r) => (r[e] =
|
|
3977
|
+
function si(e, ...t) {
|
|
3978
|
+
delete I[e], ne.update((r) => (r[e] = hn.all([r[e] || {}, ...t]), r));
|
|
4014
3979
|
}
|
|
4015
|
-
|
|
3980
|
+
W(
|
|
4016
3981
|
[ne],
|
|
4017
3982
|
([e]) => Object.keys(e)
|
|
4018
3983
|
);
|
|
4019
|
-
ne.subscribe((e) =>
|
|
4020
|
-
const
|
|
4021
|
-
function
|
|
4022
|
-
|
|
3984
|
+
ne.subscribe((e) => Xe = e);
|
|
3985
|
+
const fe = {};
|
|
3986
|
+
function ai(e, t) {
|
|
3987
|
+
fe[e].delete(t), fe[e].size === 0 && delete fe[e];
|
|
4023
3988
|
}
|
|
4024
|
-
function
|
|
4025
|
-
return
|
|
3989
|
+
function Jt(e) {
|
|
3990
|
+
return fe[e];
|
|
4026
3991
|
}
|
|
4027
|
-
function
|
|
4028
|
-
return
|
|
4029
|
-
const r =
|
|
3992
|
+
function ui(e) {
|
|
3993
|
+
return ye(e).map((t) => {
|
|
3994
|
+
const r = Jt(t);
|
|
4030
3995
|
return [t, r ? [...r] : []];
|
|
4031
3996
|
}).filter(([, t]) => t.length > 0);
|
|
4032
3997
|
}
|
|
4033
|
-
function
|
|
4034
|
-
return e == null ? !1 :
|
|
3998
|
+
function Ge(e) {
|
|
3999
|
+
return e == null ? !1 : ye(e).some(
|
|
4035
4000
|
(t) => {
|
|
4036
4001
|
var r;
|
|
4037
|
-
return (r =
|
|
4002
|
+
return (r = Jt(t)) == null ? void 0 : r.size;
|
|
4038
4003
|
}
|
|
4039
4004
|
);
|
|
4040
4005
|
}
|
|
4041
|
-
function
|
|
4006
|
+
function hi(e, t) {
|
|
4042
4007
|
return Promise.all(
|
|
4043
|
-
t.map((n) => (
|
|
4044
|
-
).then((n) =>
|
|
4045
|
-
}
|
|
4046
|
-
const
|
|
4047
|
-
function
|
|
4048
|
-
if (!
|
|
4049
|
-
return e in
|
|
4050
|
-
const t =
|
|
4051
|
-
return
|
|
4008
|
+
t.map((n) => (ai(e, n), n().then((i) => i.default || i)))
|
|
4009
|
+
).then((n) => si(e, ...n));
|
|
4010
|
+
}
|
|
4011
|
+
const Q = {};
|
|
4012
|
+
function Yt(e) {
|
|
4013
|
+
if (!Ge(e))
|
|
4014
|
+
return e in Q ? Q[e] : Promise.resolve();
|
|
4015
|
+
const t = ui(e);
|
|
4016
|
+
return Q[e] = Promise.all(
|
|
4052
4017
|
t.map(
|
|
4053
|
-
([r, n]) =>
|
|
4018
|
+
([r, n]) => hi(r, n)
|
|
4054
4019
|
)
|
|
4055
4020
|
).then(() => {
|
|
4056
|
-
if (
|
|
4057
|
-
return
|
|
4058
|
-
delete
|
|
4059
|
-
}),
|
|
4021
|
+
if (Ge(e))
|
|
4022
|
+
return Yt(e);
|
|
4023
|
+
delete Q[e];
|
|
4024
|
+
}), Q[e];
|
|
4060
4025
|
}
|
|
4061
|
-
const
|
|
4026
|
+
const li = {
|
|
4062
4027
|
number: {
|
|
4063
4028
|
scientific: { notation: "scientific" },
|
|
4064
4029
|
engineering: { notation: "engineering" },
|
|
@@ -4087,135 +4052,135 @@ const pi = {
|
|
|
4087
4052
|
timeZoneName: "short"
|
|
4088
4053
|
}
|
|
4089
4054
|
}
|
|
4090
|
-
},
|
|
4055
|
+
}, fi = {
|
|
4091
4056
|
fallbackLocale: null,
|
|
4092
4057
|
loadingDelay: 200,
|
|
4093
|
-
formats:
|
|
4058
|
+
formats: li,
|
|
4094
4059
|
warnOnMissingMessages: !0,
|
|
4095
4060
|
handleMissingMessage: void 0,
|
|
4096
4061
|
ignoreTag: !0
|
|
4097
|
-
},
|
|
4098
|
-
function
|
|
4099
|
-
return
|
|
4100
|
-
}
|
|
4101
|
-
const
|
|
4102
|
-
var
|
|
4103
|
-
for (var r in t
|
|
4104
|
-
|
|
4105
|
-
if (
|
|
4106
|
-
for (var r of
|
|
4107
|
-
|
|
4062
|
+
}, ci = fi;
|
|
4063
|
+
function V() {
|
|
4064
|
+
return ci;
|
|
4065
|
+
}
|
|
4066
|
+
const Te = de(!1);
|
|
4067
|
+
var mi = Object.defineProperty, pi = Object.defineProperties, di = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, yi = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gi = (e, t) => {
|
|
4068
|
+
for (var r in t)
|
|
4069
|
+
bi.call(t, r) && yt(e, r, t[r]);
|
|
4070
|
+
if (bt)
|
|
4071
|
+
for (var r of bt(t))
|
|
4072
|
+
yi.call(t, r) && yt(e, r, t[r]);
|
|
4108
4073
|
return e;
|
|
4109
|
-
},
|
|
4110
|
-
let
|
|
4111
|
-
const
|
|
4112
|
-
function
|
|
4074
|
+
}, vi = (e, t) => pi(e, di(t));
|
|
4075
|
+
let je;
|
|
4076
|
+
const ce = de(null);
|
|
4077
|
+
function gt(e) {
|
|
4113
4078
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4114
4079
|
}
|
|
4115
|
-
function
|
|
4116
|
-
const r =
|
|
4117
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4080
|
+
function ye(e, t = V().fallbackLocale) {
|
|
4081
|
+
const r = gt(e);
|
|
4082
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
|
|
4118
4083
|
}
|
|
4119
4084
|
function L() {
|
|
4120
|
-
return
|
|
4085
|
+
return je != null ? je : void 0;
|
|
4121
4086
|
}
|
|
4122
|
-
|
|
4123
|
-
|
|
4087
|
+
ce.subscribe((e) => {
|
|
4088
|
+
je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4124
4089
|
});
|
|
4125
|
-
const
|
|
4126
|
-
if (e &&
|
|
4127
|
-
const { loadingDelay: t } =
|
|
4090
|
+
const xi = (e) => {
|
|
4091
|
+
if (e && oi(e) && Ge(e)) {
|
|
4092
|
+
const { loadingDelay: t } = V();
|
|
4128
4093
|
let r;
|
|
4129
4094
|
return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
|
|
4130
|
-
() =>
|
|
4095
|
+
() => Te.set(!0),
|
|
4131
4096
|
t
|
|
4132
|
-
) :
|
|
4133
|
-
|
|
4097
|
+
) : Te.set(!0), Yt(e).then(() => {
|
|
4098
|
+
ce.set(e);
|
|
4134
4099
|
}).finally(() => {
|
|
4135
|
-
clearTimeout(r),
|
|
4100
|
+
clearTimeout(r), Te.set(!1);
|
|
4136
4101
|
});
|
|
4137
4102
|
}
|
|
4138
|
-
return
|
|
4139
|
-
}, ie =
|
|
4140
|
-
set:
|
|
4141
|
-
}),
|
|
4103
|
+
return ce.set(e);
|
|
4104
|
+
}, ie = vi(gi({}, ce), {
|
|
4105
|
+
set: xi
|
|
4106
|
+
}), ge = (e) => {
|
|
4142
4107
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4143
4108
|
return (n) => {
|
|
4144
4109
|
const i = JSON.stringify(n);
|
|
4145
4110
|
return i in t ? t[i] : t[i] = e(n);
|
|
4146
4111
|
};
|
|
4147
4112
|
};
|
|
4148
|
-
var
|
|
4113
|
+
var _i = Object.defineProperty, me = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Kt = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
|
|
4149
4114
|
for (var r in t || (t = {}))
|
|
4150
|
-
|
|
4151
|
-
if (
|
|
4152
|
-
for (var r of
|
|
4153
|
-
|
|
4115
|
+
qt.call(t, r) && vt(e, r, t[r]);
|
|
4116
|
+
if (me)
|
|
4117
|
+
for (var r of me(t))
|
|
4118
|
+
Kt.call(t, r) && vt(e, r, t[r]);
|
|
4154
4119
|
return e;
|
|
4155
|
-
},
|
|
4120
|
+
}, z = (e, t) => {
|
|
4156
4121
|
var r = {};
|
|
4157
4122
|
for (var n in e)
|
|
4158
|
-
|
|
4159
|
-
if (e != null &&
|
|
4160
|
-
for (var n of
|
|
4161
|
-
t.indexOf(n) < 0 &&
|
|
4123
|
+
qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4124
|
+
if (e != null && me)
|
|
4125
|
+
for (var n of me(e))
|
|
4126
|
+
t.indexOf(n) < 0 && Kt.call(e, n) && (r[n] = e[n]);
|
|
4162
4127
|
return r;
|
|
4163
4128
|
};
|
|
4164
|
-
const
|
|
4165
|
-
const { formats: r } =
|
|
4129
|
+
const ee = (e, t) => {
|
|
4130
|
+
const { formats: r } = V();
|
|
4166
4131
|
if (e in r && t in r[e])
|
|
4167
4132
|
return r[e][t];
|
|
4168
4133
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4169
|
-
},
|
|
4134
|
+
}, Ei = ge(
|
|
4170
4135
|
(e) => {
|
|
4171
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4136
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4172
4137
|
if (r == null)
|
|
4173
4138
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4174
|
-
return n && (i =
|
|
4139
|
+
return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
|
|
4175
4140
|
}
|
|
4176
|
-
),
|
|
4141
|
+
), Si = ge(
|
|
4177
4142
|
(e) => {
|
|
4178
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4143
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4179
4144
|
if (r == null)
|
|
4180
4145
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4181
|
-
return n ? i =
|
|
4146
|
+
return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4182
4147
|
}
|
|
4183
|
-
),
|
|
4148
|
+
), wi = ge(
|
|
4184
4149
|
(e) => {
|
|
4185
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4150
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4186
4151
|
if (r == null)
|
|
4187
4152
|
throw new Error(
|
|
4188
4153
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4189
4154
|
);
|
|
4190
|
-
return n ? i =
|
|
4155
|
+
return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4191
4156
|
}
|
|
4192
|
-
),
|
|
4157
|
+
), Hi = (e = {}) => {
|
|
4193
4158
|
var t = e, {
|
|
4194
4159
|
locale: r = L()
|
|
4195
|
-
} = t, n =
|
|
4160
|
+
} = t, n = z(t, [
|
|
4196
4161
|
"locale"
|
|
4197
4162
|
]);
|
|
4198
|
-
return
|
|
4199
|
-
},
|
|
4163
|
+
return Ei(We({ locale: r }, n));
|
|
4164
|
+
}, Ti = (e = {}) => {
|
|
4200
4165
|
var t = e, {
|
|
4201
4166
|
locale: r = L()
|
|
4202
|
-
} = t, n =
|
|
4167
|
+
} = t, n = z(t, [
|
|
4203
4168
|
"locale"
|
|
4204
4169
|
]);
|
|
4205
|
-
return
|
|
4206
|
-
},
|
|
4170
|
+
return Si(We({ locale: r }, n));
|
|
4171
|
+
}, Bi = (e = {}) => {
|
|
4207
4172
|
var t = e, {
|
|
4208
4173
|
locale: r = L()
|
|
4209
|
-
} = t, n =
|
|
4174
|
+
} = t, n = z(t, [
|
|
4210
4175
|
"locale"
|
|
4211
4176
|
]);
|
|
4212
|
-
return
|
|
4213
|
-
},
|
|
4177
|
+
return wi(We({ locale: r }, n));
|
|
4178
|
+
}, Ai = ge(
|
|
4214
4179
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4215
|
-
(e, t = L()) => new
|
|
4216
|
-
ignoreTag:
|
|
4180
|
+
(e, t = L()) => new ei(e, t, V().formats, {
|
|
4181
|
+
ignoreTag: V().ignoreTag
|
|
4217
4182
|
})
|
|
4218
|
-
),
|
|
4183
|
+
), Pi = (e, t = {}) => {
|
|
4219
4184
|
var r, n, i, o;
|
|
4220
4185
|
let s = t;
|
|
4221
4186
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4228,40 +4193,40 @@ const K = (e, t) => {
|
|
|
4228
4193
|
throw new Error(
|
|
4229
4194
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4230
4195
|
);
|
|
4231
|
-
let l =
|
|
4196
|
+
let l = Zt(e, h);
|
|
4232
4197
|
if (!l)
|
|
4233
|
-
l = (o = (i = (n = (r =
|
|
4198
|
+
l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4234
4199
|
else if (typeof l != "string")
|
|
4235
4200
|
return console.warn(
|
|
4236
4201
|
`[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.`
|
|
4237
4202
|
), l;
|
|
4238
4203
|
if (!a)
|
|
4239
4204
|
return l;
|
|
4240
|
-
let
|
|
4205
|
+
let c = l;
|
|
4241
4206
|
try {
|
|
4242
|
-
|
|
4243
|
-
} catch (
|
|
4244
|
-
|
|
4207
|
+
c = Ai(l, h).format(a);
|
|
4208
|
+
} catch (f) {
|
|
4209
|
+
f instanceof Error && console.warn(
|
|
4245
4210
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4246
|
-
|
|
4211
|
+
f.message
|
|
4247
4212
|
);
|
|
4248
4213
|
}
|
|
4249
|
-
return
|
|
4250
|
-
},
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
window.emWidgets = { topic:
|
|
4257
|
-
const
|
|
4258
|
-
function
|
|
4214
|
+
return c;
|
|
4215
|
+
}, Oi = (e, t) => Bi(t).format(e), Ii = (e, t) => Ti(t).format(e), Ni = (e, t) => Hi(t).format(e), Ci = (e, t = L()) => Zt(e, t);
|
|
4216
|
+
W([ie, ne], () => Pi);
|
|
4217
|
+
W([ie], () => Oi);
|
|
4218
|
+
W([ie], () => Ii);
|
|
4219
|
+
W([ie], () => Ni);
|
|
4220
|
+
W([ie, ne], () => Ci);
|
|
4221
|
+
window.emWidgets = { topic: Xr };
|
|
4222
|
+
const Li = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4223
|
+
function Mi(e, t) {
|
|
4259
4224
|
if (e) {
|
|
4260
4225
|
const r = document.createElement("style");
|
|
4261
4226
|
r.innerHTML = t, e.appendChild(r);
|
|
4262
4227
|
}
|
|
4263
4228
|
}
|
|
4264
|
-
function
|
|
4229
|
+
function $i(e, t) {
|
|
4265
4230
|
const r = new URL(t);
|
|
4266
4231
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4267
4232
|
const i = document.createElement("style");
|
|
@@ -4270,7 +4235,7 @@ function Fi(e, t) {
|
|
|
4270
4235
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4271
4236
|
});
|
|
4272
4237
|
}
|
|
4273
|
-
function
|
|
4238
|
+
function Ri(e, t, r) {
|
|
4274
4239
|
if (window.emMessageBus) {
|
|
4275
4240
|
const n = document.createElement("style");
|
|
4276
4241
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4278,111 +4243,111 @@ function Gi(e, t, r) {
|
|
|
4278
4243
|
});
|
|
4279
4244
|
}
|
|
4280
4245
|
}
|
|
4281
|
-
function
|
|
4282
|
-
|
|
4246
|
+
function Ui(e) {
|
|
4247
|
+
ar(e, "svelte-8o17lh", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
|
|
4283
4248
|
}
|
|
4284
|
-
function
|
|
4285
|
-
let t, r, n, i, o, s, a, h, u, l,
|
|
4249
|
+
function xt(e) {
|
|
4250
|
+
let t, r, n, i, o, s, a, h, u, l, c, f;
|
|
4286
4251
|
function p(d, S) {
|
|
4287
4252
|
return (
|
|
4288
4253
|
/*isLoading*/
|
|
4289
|
-
d[3] ?
|
|
4254
|
+
d[3] ? Fi : Di
|
|
4290
4255
|
);
|
|
4291
4256
|
}
|
|
4292
4257
|
let v = p(e), m = v(e);
|
|
4293
4258
|
return {
|
|
4294
4259
|
c() {
|
|
4295
|
-
t =
|
|
4260
|
+
t = F("button"), r = F("small"), m.c(), n = lr(), i = C("svg"), o = C("g"), s = C("path"), a = C("path"), h = C("path"), u = C("path"), l = C("path"), _(r, "class", "betslipIndicator__number"), _(s, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
|
|
4296
4261
|
c0-1.1-0.9-2-2-2H6C2.7,3,0,5.7,0,9v82c0,3.3,2.7,6,6,6h11c1.1,0,2-0.9,2-2c0-7.2,5.8-13,13-13S45,87.8,45,95z M32,78
|
|
4297
4262
|
c-8.6,0-15.9,6.4-16.9,15H6c-1.1,0-2-0.9-2-2V9c0-1.1,0.9-2,2-2h9.1c1.2,9.3,9.7,15.9,19,14.8c7.7-1,13.8-7,14.8-14.8H58
|
|
4298
|
-
c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`),
|
|
4263
|
+
c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), _(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), _(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), _(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), _(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), _(i, "version", "1.1"), _(i, "id", "Layer_1"), _(i, "class", "betslipIndicator__icon"), _(i, "xmlns", "http://www.w3.org/2000/svg"), _(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), _(i, "x", "0px"), _(i, "y", "0px"), _(i, "viewBox", "0 0 64 100"), pr(i, "enable-background", "new 0 0 64 100"), _(i, "xml:space", "preserve"), _(t, "class", "betslipIndicator");
|
|
4299
4264
|
},
|
|
4300
4265
|
m(d, S) {
|
|
4301
|
-
|
|
4266
|
+
re(d, t, S), B(t, r), m.m(r, null), B(t, n), B(t, i), B(i, o), B(o, s), B(o, a), B(o, h), B(o, u), B(o, l), c || (f = fr(
|
|
4302
4267
|
t,
|
|
4303
4268
|
"click",
|
|
4304
4269
|
/*click_handler*/
|
|
4305
4270
|
e[8]
|
|
4306
|
-
),
|
|
4271
|
+
), c = !0);
|
|
4307
4272
|
},
|
|
4308
4273
|
p(d, S) {
|
|
4309
4274
|
v === (v = p(d)) && m ? m.p(d, S) : (m.d(1), m = v(d), m && (m.c(), m.m(r, null)));
|
|
4310
4275
|
},
|
|
4311
4276
|
d(d) {
|
|
4312
|
-
d &&
|
|
4277
|
+
d && X(t), m.d(), c = !1, f();
|
|
4313
4278
|
}
|
|
4314
4279
|
};
|
|
4315
4280
|
}
|
|
4316
|
-
function
|
|
4281
|
+
function Di(e) {
|
|
4317
4282
|
let t;
|
|
4318
4283
|
return {
|
|
4319
4284
|
c() {
|
|
4320
|
-
t =
|
|
4285
|
+
t = St(
|
|
4321
4286
|
/*betNumber*/
|
|
4322
4287
|
e[1]
|
|
4323
4288
|
);
|
|
4324
4289
|
},
|
|
4325
4290
|
m(r, n) {
|
|
4326
|
-
|
|
4291
|
+
re(r, t, n);
|
|
4327
4292
|
},
|
|
4328
4293
|
p(r, n) {
|
|
4329
4294
|
n & /*betNumber*/
|
|
4330
|
-
2 &&
|
|
4295
|
+
2 && mr(
|
|
4331
4296
|
t,
|
|
4332
4297
|
/*betNumber*/
|
|
4333
4298
|
r[1]
|
|
4334
4299
|
);
|
|
4335
4300
|
},
|
|
4336
4301
|
d(r) {
|
|
4337
|
-
r &&
|
|
4302
|
+
r && X(t);
|
|
4338
4303
|
}
|
|
4339
4304
|
};
|
|
4340
4305
|
}
|
|
4341
|
-
function
|
|
4306
|
+
function Fi(e) {
|
|
4342
4307
|
let t;
|
|
4343
4308
|
return {
|
|
4344
4309
|
c() {
|
|
4345
|
-
t =
|
|
4310
|
+
t = F("div"), t.textContent = "Loading...", _(t, "class", "loader");
|
|
4346
4311
|
},
|
|
4347
4312
|
m(r, n) {
|
|
4348
|
-
|
|
4313
|
+
re(r, t, n);
|
|
4349
4314
|
},
|
|
4350
4315
|
p: H,
|
|
4351
4316
|
d(r) {
|
|
4352
|
-
r &&
|
|
4317
|
+
r && X(t);
|
|
4353
4318
|
}
|
|
4354
4319
|
};
|
|
4355
4320
|
}
|
|
4356
|
-
function
|
|
4321
|
+
function Gi(e) {
|
|
4357
4322
|
let t, r = (
|
|
4358
4323
|
/*mobileView*/
|
|
4359
4324
|
e[2] && /*betNumber*/
|
|
4360
|
-
e[1] > 0 &&
|
|
4325
|
+
e[1] > 0 && xt(e)
|
|
4361
4326
|
);
|
|
4362
4327
|
return {
|
|
4363
4328
|
c() {
|
|
4364
|
-
t =
|
|
4329
|
+
t = F("div"), r && r.c();
|
|
4365
4330
|
},
|
|
4366
4331
|
m(n, i) {
|
|
4367
|
-
|
|
4332
|
+
re(n, t, i), r && r.m(t, null), e[9](t);
|
|
4368
4333
|
},
|
|
4369
4334
|
p(n, [i]) {
|
|
4370
4335
|
/*mobileView*/
|
|
4371
4336
|
n[2] && /*betNumber*/
|
|
4372
|
-
n[1] > 0 ? r ? r.p(n, i) : (r =
|
|
4337
|
+
n[1] > 0 ? r ? r.p(n, i) : (r = xt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4373
4338
|
},
|
|
4374
4339
|
i: H,
|
|
4375
4340
|
o: H,
|
|
4376
4341
|
d(n) {
|
|
4377
|
-
n &&
|
|
4342
|
+
n && X(t), r && r.d(), e[9](null);
|
|
4378
4343
|
}
|
|
4379
4344
|
};
|
|
4380
4345
|
}
|
|
4381
|
-
function
|
|
4346
|
+
function ji(e, t, r) {
|
|
4382
4347
|
let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, { mbsource: o } = t, s, a = window.navigator.userAgent, h = null, u = !1, l = !0;
|
|
4383
|
-
const
|
|
4348
|
+
const c = () => {
|
|
4384
4349
|
window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
|
|
4385
|
-
},
|
|
4350
|
+
}, f = (d, S) => {
|
|
4386
4351
|
s.dispatchEvent(new CustomEvent(
|
|
4387
4352
|
d,
|
|
4388
4353
|
{
|
|
@@ -4401,12 +4366,12 @@ function Wi(e, t, r) {
|
|
|
4401
4366
|
break;
|
|
4402
4367
|
}
|
|
4403
4368
|
};
|
|
4404
|
-
|
|
4369
|
+
yr(() => (c(), window.addEventListener("message", p, !1), Li(a) && r(2, u = !0), () => {
|
|
4405
4370
|
window.removeEventListener("message", p);
|
|
4406
4371
|
}));
|
|
4407
|
-
const v = (d) =>
|
|
4372
|
+
const v = (d) => f("betslipClick", {});
|
|
4408
4373
|
function m(d) {
|
|
4409
|
-
|
|
4374
|
+
Be[d ? "unshift" : "push"](() => {
|
|
4410
4375
|
s = d, r(0, s);
|
|
4411
4376
|
});
|
|
4412
4377
|
}
|
|
@@ -4414,15 +4379,15 @@ function Wi(e, t, r) {
|
|
|
4414
4379
|
"clientstyling" in d && r(5, n = d.clientstyling), "clientstylingurl" in d && r(6, i = d.clientstylingurl), "mbsource" in d && r(7, o = d.mbsource);
|
|
4415
4380
|
}, e.$$.update = () => {
|
|
4416
4381
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4417
|
-
33 && n && s &&
|
|
4418
|
-
65 && i && s &&
|
|
4419
|
-
129 && o && s &&
|
|
4382
|
+
33 && n && s && Mi(s, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4383
|
+
65 && i && s && $i(s, i), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4384
|
+
129 && o && s && Ri(s, `${o}.Style`);
|
|
4420
4385
|
}, [
|
|
4421
4386
|
s,
|
|
4422
4387
|
h,
|
|
4423
4388
|
u,
|
|
4424
4389
|
l,
|
|
4425
|
-
|
|
4390
|
+
f,
|
|
4426
4391
|
n,
|
|
4427
4392
|
i,
|
|
4428
4393
|
o,
|
|
@@ -4430,42 +4395,42 @@ function Wi(e, t, r) {
|
|
|
4430
4395
|
m
|
|
4431
4396
|
];
|
|
4432
4397
|
}
|
|
4433
|
-
class
|
|
4398
|
+
class ki extends Pr {
|
|
4434
4399
|
constructor(t) {
|
|
4435
|
-
super(),
|
|
4400
|
+
super(), Br(
|
|
4436
4401
|
this,
|
|
4437
4402
|
t,
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4403
|
+
ji,
|
|
4404
|
+
Gi,
|
|
4405
|
+
Et,
|
|
4441
4406
|
{
|
|
4442
4407
|
clientstyling: 5,
|
|
4443
4408
|
clientstylingurl: 6,
|
|
4444
4409
|
mbsource: 7
|
|
4445
4410
|
},
|
|
4446
|
-
|
|
4411
|
+
Ui
|
|
4447
4412
|
);
|
|
4448
4413
|
}
|
|
4449
4414
|
get clientstyling() {
|
|
4450
4415
|
return this.$$.ctx[5];
|
|
4451
4416
|
}
|
|
4452
4417
|
set clientstyling(t) {
|
|
4453
|
-
this.$$set({ clientstyling: t }),
|
|
4418
|
+
this.$$set({ clientstyling: t }), Y();
|
|
4454
4419
|
}
|
|
4455
4420
|
get clientstylingurl() {
|
|
4456
4421
|
return this.$$.ctx[6];
|
|
4457
4422
|
}
|
|
4458
4423
|
set clientstylingurl(t) {
|
|
4459
|
-
this.$$set({ clientstylingurl: t }),
|
|
4424
|
+
this.$$set({ clientstylingurl: t }), Y();
|
|
4460
4425
|
}
|
|
4461
4426
|
get mbsource() {
|
|
4462
4427
|
return this.$$.ctx[7];
|
|
4463
4428
|
}
|
|
4464
4429
|
set mbsource(t) {
|
|
4465
|
-
this.$$set({ mbsource: t }),
|
|
4430
|
+
this.$$set({ mbsource: t }), Y();
|
|
4466
4431
|
}
|
|
4467
4432
|
}
|
|
4468
|
-
|
|
4433
|
+
Ar(ki, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
4469
4434
|
export {
|
|
4470
|
-
|
|
4435
|
+
ki as default
|
|
4471
4436
|
};
|