@everymatrix/player-withdrawal 1.76.3 → 1.76.4
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/{PlayerWithdrawal-Cwx-esQe.js → PlayerWithdrawal-BFT0lWci.js} +859 -824
- package/components/{PlayerWithdrawal-BI9vpGt7.js → PlayerWithdrawal-DFs78tXu.js} +855 -820
- package/components/PlayerWithdrawal-XQt2pqw-.cjs +18 -0
- package/es2015/player-withdrawal.cjs +1 -1
- package/es2015/player-withdrawal.js +1 -1
- package/esnext/player-withdrawal.js +1 -1
- package/package.json +1 -1
- package/components/PlayerWithdrawal-DD8V7DhE.cjs +0 -18
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var yr = Object.defineProperty, gr = Object.defineProperties;
|
|
2
|
+
var vr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ot = Object.getOwnPropertySymbols;
|
|
4
|
+
var _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Be = (e, t, r) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
_r.call(t, r) && Be(e, r, t[r]);
|
|
8
|
+
if (ot)
|
|
9
|
+
for (var r of ot(t))
|
|
10
|
+
Er.call(t, r) && Be(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var H = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, at = (e, t) => gr(e, vr(t));
|
|
13
|
+
var H = (e, t, r) => (Be(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var ut = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(h));
|
|
@@ -29,29 +29,29 @@ var it = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function P() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Mt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function ht() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function se(e) {
|
|
39
|
+
e.forEach(Mt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function tt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Ct(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
47
|
+
let ce;
|
|
48
|
+
function lt(e, t) {
|
|
49
|
+
return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function xr(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Rt(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,20 +60,20 @@ function Nt(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function wr(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(Rt(t, r));
|
|
65
65
|
}
|
|
66
66
|
function x(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function Sr(e, t, r) {
|
|
70
|
+
const n = Tr(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
|
-
const i =
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
72
|
+
const i = L("style");
|
|
73
|
+
i.id = t, i.textContent = r, Hr(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Tr(e) {
|
|
77
77
|
if (!e)
|
|
78
78
|
return document;
|
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,45 +83,45 @@ function Er(e) {
|
|
|
83
83
|
t
|
|
84
84
|
) : e.ownerDocument;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Hr(e, t) {
|
|
87
87
|
return x(
|
|
88
88
|
/** @type {Document} */
|
|
89
89
|
e.head || e,
|
|
90
90
|
t
|
|
91
91
|
), t.sheet;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function ae(e, t, r) {
|
|
94
94
|
e.insertBefore(t, r || null);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function J(e) {
|
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function L(e) {
|
|
100
100
|
return document.createElement(e);
|
|
101
101
|
}
|
|
102
102
|
function F(e) {
|
|
103
103
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function re(e) {
|
|
106
106
|
return document.createTextNode(e);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
109
|
-
return
|
|
108
|
+
function Re() {
|
|
109
|
+
return re(" ");
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function Br(e, t, r, n) {
|
|
112
112
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
113
113
|
}
|
|
114
114
|
function E(e, t, r) {
|
|
115
115
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function Pr(e) {
|
|
118
118
|
return Array.from(e.childNodes);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function rt(e, t) {
|
|
121
121
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
122
122
|
t);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Ar(e) {
|
|
125
125
|
const t = {};
|
|
126
126
|
return e.childNodes.forEach(
|
|
127
127
|
/** @param {Element} node */
|
|
@@ -130,87 +130,87 @@ function Tr(e) {
|
|
|
130
130
|
}
|
|
131
131
|
), t;
|
|
132
132
|
}
|
|
133
|
-
let
|
|
134
|
-
function
|
|
135
|
-
|
|
133
|
+
let ne;
|
|
134
|
+
function te(e) {
|
|
135
|
+
ne = e;
|
|
136
136
|
}
|
|
137
|
-
function
|
|
138
|
-
if (!
|
|
137
|
+
function Or() {
|
|
138
|
+
if (!ne)
|
|
139
139
|
throw new Error("Function called outside component initialization");
|
|
140
|
-
return
|
|
140
|
+
return ne;
|
|
141
141
|
}
|
|
142
|
-
function
|
|
143
|
-
|
|
142
|
+
function Ir(e) {
|
|
143
|
+
Or().$$.on_mount.push(e);
|
|
144
144
|
}
|
|
145
|
-
const W = [],
|
|
145
|
+
const W = [], $e = [];
|
|
146
146
|
let V = [];
|
|
147
|
-
const
|
|
148
|
-
let
|
|
149
|
-
function
|
|
150
|
-
|
|
147
|
+
const ct = [], Nr = /* @__PURE__ */ Promise.resolve();
|
|
148
|
+
let Ue = !1;
|
|
149
|
+
function Lr() {
|
|
150
|
+
Ue || (Ue = !0, Nr.then(B));
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function De(e) {
|
|
153
153
|
V.push(e);
|
|
154
154
|
}
|
|
155
|
-
const
|
|
155
|
+
const Pe = /* @__PURE__ */ new Set();
|
|
156
156
|
let j = 0;
|
|
157
157
|
function B() {
|
|
158
158
|
if (j !== 0)
|
|
159
159
|
return;
|
|
160
|
-
const e =
|
|
160
|
+
const e = ne;
|
|
161
161
|
do {
|
|
162
162
|
try {
|
|
163
163
|
for (; j < W.length; ) {
|
|
164
164
|
const t = W[j];
|
|
165
|
-
j++,
|
|
165
|
+
j++, te(t), Mr(t.$$);
|
|
166
166
|
}
|
|
167
167
|
} catch (t) {
|
|
168
168
|
throw W.length = 0, j = 0, t;
|
|
169
169
|
}
|
|
170
|
-
for (
|
|
171
|
-
|
|
170
|
+
for (te(null), W.length = 0, j = 0; $e.length; )
|
|
171
|
+
$e.pop()();
|
|
172
172
|
for (let t = 0; t < V.length; t += 1) {
|
|
173
173
|
const r = V[t];
|
|
174
|
-
|
|
174
|
+
Pe.has(r) || (Pe.add(r), r());
|
|
175
175
|
}
|
|
176
176
|
V.length = 0;
|
|
177
177
|
} while (W.length);
|
|
178
|
-
for (;
|
|
179
|
-
|
|
180
|
-
|
|
178
|
+
for (; ct.length; )
|
|
179
|
+
ct.pop()();
|
|
180
|
+
Ue = !1, Pe.clear(), te(e);
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Mr(e) {
|
|
183
183
|
if (e.fragment !== null) {
|
|
184
|
-
e.update(),
|
|
184
|
+
e.update(), se(e.before_update);
|
|
185
185
|
const t = e.dirty;
|
|
186
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
186
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function Cr(e) {
|
|
190
190
|
const t = [], r = [];
|
|
191
191
|
V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
|
|
192
192
|
}
|
|
193
|
-
const
|
|
194
|
-
function
|
|
195
|
-
e && e.i && (
|
|
193
|
+
const Rr = /* @__PURE__ */ new Set();
|
|
194
|
+
function $r(e, t) {
|
|
195
|
+
e && e.i && (Rr.delete(e), e.i(t));
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function Ur(e, t, r) {
|
|
198
198
|
const { fragment: n, after_update: i } = e.$$;
|
|
199
|
-
n && n.m(t, r),
|
|
200
|
-
const o = e.$$.on_mount.map(
|
|
201
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
202
|
-
}), i.forEach(
|
|
199
|
+
n && n.m(t, r), De(() => {
|
|
200
|
+
const o = e.$$.on_mount.map(Mt).filter(tt);
|
|
201
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
|
|
202
|
+
}), i.forEach(De);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function Dr(e, t) {
|
|
205
205
|
const r = e.$$;
|
|
206
|
-
r.fragment !== null && (
|
|
206
|
+
r.fragment !== null && (Cr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
209
|
-
e.$$.dirty[0] === -1 && (W.push(e),
|
|
208
|
+
function Gr(e, t) {
|
|
209
|
+
e.$$.dirty[0] === -1 && (W.push(e), Lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
212
|
-
const h =
|
|
213
|
-
|
|
211
|
+
function Fr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
212
|
+
const h = ne;
|
|
213
|
+
te(e);
|
|
214
214
|
const u = e.$$ = {
|
|
215
215
|
fragment: null,
|
|
216
216
|
ctx: [],
|
|
@@ -218,7 +218,7 @@ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
218
218
|
props: o,
|
|
219
219
|
update: P,
|
|
220
220
|
not_equal: i,
|
|
221
|
-
bound:
|
|
221
|
+
bound: ht(),
|
|
222
222
|
// lifecycle
|
|
223
223
|
on_mount: [],
|
|
224
224
|
on_destroy: [],
|
|
@@ -227,28 +227,28 @@ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
227
227
|
after_update: [],
|
|
228
228
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
229
229
|
// everything else
|
|
230
|
-
callbacks:
|
|
230
|
+
callbacks: ht(),
|
|
231
231
|
dirty: a,
|
|
232
232
|
skip_bound: !1,
|
|
233
233
|
root: t.target || h.$$.root
|
|
234
234
|
};
|
|
235
235
|
s && s(u.root);
|
|
236
236
|
let l = !1;
|
|
237
|
-
if (u.ctx = r(e, t.props || {}, (
|
|
238
|
-
const m =
|
|
239
|
-
return u.ctx && i(u.ctx[
|
|
240
|
-
}), u.update(), l = !0,
|
|
237
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
238
|
+
const m = p.length ? p[0] : f;
|
|
239
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Gr(e, c)), f;
|
|
240
|
+
}) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
241
241
|
if (t.hydrate) {
|
|
242
|
-
const
|
|
243
|
-
u.fragment && u.fragment.l(
|
|
242
|
+
const c = Pr(t.target);
|
|
243
|
+
u.fragment && u.fragment.l(c), c.forEach(J);
|
|
244
244
|
} else
|
|
245
245
|
u.fragment && u.fragment.c();
|
|
246
|
-
t.intro &&
|
|
246
|
+
t.intro && $r(e.$$.fragment), Ur(e, t.target, t.anchor), B();
|
|
247
247
|
}
|
|
248
|
-
|
|
248
|
+
te(h);
|
|
249
249
|
}
|
|
250
|
-
let
|
|
251
|
-
typeof HTMLElement == "function" && (
|
|
250
|
+
let $t;
|
|
251
|
+
typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
252
252
|
constructor(t, r, n) {
|
|
253
253
|
super();
|
|
254
254
|
/** The Svelte component constructor */
|
|
@@ -285,42 +285,42 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
|
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
connectedCallback() {
|
|
288
|
-
return
|
|
288
|
+
return ut(this, null, function* () {
|
|
289
289
|
if (this.$$cn = !0, !this.$$c) {
|
|
290
290
|
let t = function(o) {
|
|
291
291
|
return () => {
|
|
292
292
|
let s;
|
|
293
293
|
return {
|
|
294
294
|
c: function() {
|
|
295
|
-
s =
|
|
295
|
+
s = L("slot"), o !== "default" && E(s, "name", o);
|
|
296
296
|
},
|
|
297
297
|
/**
|
|
298
298
|
* @param {HTMLElement} target
|
|
299
299
|
* @param {HTMLElement} [anchor]
|
|
300
300
|
*/
|
|
301
301
|
m: function(u, l) {
|
|
302
|
-
|
|
302
|
+
ae(u, s, l);
|
|
303
303
|
},
|
|
304
304
|
d: function(u) {
|
|
305
|
-
u &&
|
|
305
|
+
u && J(s);
|
|
306
306
|
}
|
|
307
307
|
};
|
|
308
308
|
};
|
|
309
309
|
};
|
|
310
310
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
311
311
|
return;
|
|
312
|
-
const r = {}, n =
|
|
312
|
+
const r = {}, n = Ar(this);
|
|
313
313
|
for (const o of this.$$s)
|
|
314
314
|
o in n && (r[o] = [t(o)]);
|
|
315
315
|
for (const o of this.attributes) {
|
|
316
316
|
const s = this.$$g_p(o.name);
|
|
317
|
-
s in this.$$d || (this.$$d[s] =
|
|
317
|
+
s in this.$$d || (this.$$d[s] = de(s, o.value, this.$$p_d, "toProp"));
|
|
318
318
|
}
|
|
319
319
|
for (const o in this.$$p_d)
|
|
320
320
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
321
321
|
this.$$c = new this.$$ctor({
|
|
322
322
|
target: this.shadowRoot || this,
|
|
323
|
-
props:
|
|
323
|
+
props: at(st({}, this.$$d), {
|
|
324
324
|
$$slots: r,
|
|
325
325
|
$$scope: {
|
|
326
326
|
ctx: []
|
|
@@ -331,7 +331,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
|
|
|
331
331
|
this.$$r = !0;
|
|
332
332
|
for (const o in this.$$p_d)
|
|
333
333
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
334
|
-
const s =
|
|
334
|
+
const s = de(
|
|
335
335
|
o,
|
|
336
336
|
this.$$d[o],
|
|
337
337
|
this.$$p_d,
|
|
@@ -355,7 +355,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
|
|
|
355
355
|
// and setting attributes through setAttribute etc, this is helpful
|
|
356
356
|
attributeChangedCallback(t, r, n) {
|
|
357
357
|
var i;
|
|
358
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
358
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = de(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
359
359
|
}
|
|
360
360
|
disconnectedCallback() {
|
|
361
361
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -368,7 +368,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
|
|
|
368
368
|
) || t;
|
|
369
369
|
}
|
|
370
370
|
});
|
|
371
|
-
function
|
|
371
|
+
function de(e, t, r, n) {
|
|
372
372
|
var o;
|
|
373
373
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
374
374
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -398,8 +398,8 @@ function pe(e, t, r, n) {
|
|
|
398
398
|
return t;
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
function
|
|
402
|
-
let s = class extends
|
|
401
|
+
function jr(e, t, r, n, i, o) {
|
|
402
|
+
let s = class extends $t {
|
|
403
403
|
constructor() {
|
|
404
404
|
super(e, r, i), this.$$p_d = t;
|
|
405
405
|
}
|
|
@@ -416,7 +416,7 @@ function Ur(e, t, r, n, i, o) {
|
|
|
416
416
|
},
|
|
417
417
|
set(h) {
|
|
418
418
|
var u;
|
|
419
|
-
h =
|
|
419
|
+
h = de(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
|
420
420
|
}
|
|
421
421
|
});
|
|
422
422
|
}), n.forEach((a) => {
|
|
@@ -429,7 +429,7 @@ function Ur(e, t, r, n, i, o) {
|
|
|
429
429
|
}), e.element = /** @type {any} */
|
|
430
430
|
s, s;
|
|
431
431
|
}
|
|
432
|
-
class
|
|
432
|
+
class kr {
|
|
433
433
|
constructor() {
|
|
434
434
|
/**
|
|
435
435
|
* ### PRIVATE API
|
|
@@ -450,7 +450,7 @@ class Dr {
|
|
|
450
450
|
}
|
|
451
451
|
/** @returns {void} */
|
|
452
452
|
$destroy() {
|
|
453
|
-
|
|
453
|
+
Dr(this, 1), this.$destroy = P;
|
|
454
454
|
}
|
|
455
455
|
/**
|
|
456
456
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -459,7 +459,7 @@ class Dr {
|
|
|
459
459
|
* @returns {() => void}
|
|
460
460
|
*/
|
|
461
461
|
$on(t, r) {
|
|
462
|
-
if (!
|
|
462
|
+
if (!tt(r))
|
|
463
463
|
return P;
|
|
464
464
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
465
465
|
return n.push(r), () => {
|
|
@@ -472,18 +472,18 @@ class Dr {
|
|
|
472
472
|
* @returns {void}
|
|
473
473
|
*/
|
|
474
474
|
$set(t) {
|
|
475
|
-
this.$$set && !
|
|
475
|
+
this.$$set && !xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
const
|
|
479
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
480
|
-
function
|
|
478
|
+
const Wr = "4";
|
|
479
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wr);
|
|
480
|
+
function Vr(e, t) {
|
|
481
481
|
if (e) {
|
|
482
482
|
const r = document.createElement("style");
|
|
483
483
|
r.innerHTML = t, e.appendChild(r);
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function Xr(e, t) {
|
|
487
487
|
const r = new URL(t);
|
|
488
488
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
489
489
|
const i = document.createElement("style");
|
|
@@ -492,7 +492,7 @@ function jr(e, t) {
|
|
|
492
492
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
493
493
|
});
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function zr(e, t, r) {
|
|
496
496
|
if (window.emMessageBus) {
|
|
497
497
|
const n = document.createElement("style");
|
|
498
498
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -514,43 +514,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
514
514
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
515
515
|
PERFORMANCE OF THIS SOFTWARE.
|
|
516
516
|
***************************************************************************** */
|
|
517
|
-
var
|
|
518
|
-
return
|
|
517
|
+
var Ge = function(e, t) {
|
|
518
|
+
return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
519
519
|
r.__proto__ = n;
|
|
520
520
|
} || function(r, n) {
|
|
521
521
|
for (var i in n)
|
|
522
522
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
523
|
-
},
|
|
523
|
+
}, Ge(e, t);
|
|
524
524
|
};
|
|
525
|
-
function
|
|
525
|
+
function ue(e, t) {
|
|
526
526
|
if (typeof t != "function" && t !== null)
|
|
527
527
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
528
|
-
|
|
528
|
+
Ge(e, t);
|
|
529
529
|
function r() {
|
|
530
530
|
this.constructor = e;
|
|
531
531
|
}
|
|
532
532
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
533
533
|
}
|
|
534
|
-
|
|
535
|
-
return v = Object.assign || function(t) {
|
|
536
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
537
|
-
r = arguments[n];
|
|
538
|
-
for (var o in r)
|
|
539
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
540
|
-
}
|
|
541
|
-
return t;
|
|
542
|
-
}, v.apply(this, arguments);
|
|
543
|
-
};
|
|
544
|
-
function Wr(e, t) {
|
|
545
|
-
var r = {};
|
|
546
|
-
for (var n in e)
|
|
547
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
548
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
549
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
550
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
551
|
-
return r;
|
|
552
|
-
}
|
|
553
|
-
function Ue(e) {
|
|
534
|
+
function Fe(e) {
|
|
554
535
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
555
536
|
if (r)
|
|
556
537
|
return r.call(e);
|
|
@@ -562,7 +543,7 @@ function Ue(e) {
|
|
|
562
543
|
};
|
|
563
544
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
564
545
|
}
|
|
565
|
-
function
|
|
546
|
+
function je(e, t) {
|
|
566
547
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
567
548
|
if (!r)
|
|
568
549
|
return e;
|
|
@@ -582,22 +563,22 @@ function De(e, t) {
|
|
|
582
563
|
}
|
|
583
564
|
return o;
|
|
584
565
|
}
|
|
585
|
-
function
|
|
586
|
-
if (
|
|
566
|
+
function ke(e, t, r) {
|
|
567
|
+
if (arguments.length === 2)
|
|
587
568
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
588
569
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
589
570
|
return e.concat(o || t);
|
|
590
571
|
}
|
|
591
|
-
function
|
|
572
|
+
function N(e) {
|
|
592
573
|
return typeof e == "function";
|
|
593
574
|
}
|
|
594
|
-
function
|
|
575
|
+
function Ut(e) {
|
|
595
576
|
var t = function(n) {
|
|
596
577
|
Error.call(n), n.stack = new Error().stack;
|
|
597
578
|
}, r = e(t);
|
|
598
579
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
599
580
|
}
|
|
600
|
-
var
|
|
581
|
+
var Ae = Ut(function(e) {
|
|
601
582
|
return function(r) {
|
|
602
583
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
603
584
|
` + r.map(function(n, i) {
|
|
@@ -606,13 +587,13 @@ var Be = Mt(function(e) {
|
|
|
606
587
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
607
588
|
};
|
|
608
589
|
});
|
|
609
|
-
function
|
|
590
|
+
function We(e, t) {
|
|
610
591
|
if (e) {
|
|
611
592
|
var r = e.indexOf(t);
|
|
612
593
|
0 <= r && e.splice(r, 1);
|
|
613
594
|
}
|
|
614
595
|
}
|
|
615
|
-
var
|
|
596
|
+
var Ee = function() {
|
|
616
597
|
function e(t) {
|
|
617
598
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
618
599
|
}
|
|
@@ -624,12 +605,12 @@ var _e = function() {
|
|
|
624
605
|
if (s)
|
|
625
606
|
if (this._parentage = null, Array.isArray(s))
|
|
626
607
|
try {
|
|
627
|
-
for (var a =
|
|
608
|
+
for (var a = Fe(s), h = a.next(); !h.done; h = a.next()) {
|
|
628
609
|
var u = h.value;
|
|
629
610
|
u.remove(this);
|
|
630
611
|
}
|
|
631
|
-
} catch (
|
|
632
|
-
t = { error:
|
|
612
|
+
} catch (y) {
|
|
613
|
+
t = { error: y };
|
|
633
614
|
} finally {
|
|
634
615
|
try {
|
|
635
616
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -641,29 +622,29 @@ var _e = function() {
|
|
|
641
622
|
else
|
|
642
623
|
s.remove(this);
|
|
643
624
|
var l = this.initialTeardown;
|
|
644
|
-
if (
|
|
625
|
+
if (N(l))
|
|
645
626
|
try {
|
|
646
627
|
l();
|
|
647
|
-
} catch (
|
|
648
|
-
o =
|
|
628
|
+
} catch (y) {
|
|
629
|
+
o = y instanceof Ae ? y.errors : [y];
|
|
649
630
|
}
|
|
650
|
-
var
|
|
651
|
-
if (
|
|
631
|
+
var c = this._finalizers;
|
|
632
|
+
if (c) {
|
|
652
633
|
this._finalizers = null;
|
|
653
634
|
try {
|
|
654
|
-
for (var
|
|
655
|
-
var m =
|
|
635
|
+
for (var f = Fe(c), p = f.next(); !p.done; p = f.next()) {
|
|
636
|
+
var m = p.value;
|
|
656
637
|
try {
|
|
657
|
-
|
|
658
|
-
} catch (
|
|
659
|
-
o = o != null ? o : [],
|
|
638
|
+
ft(m);
|
|
639
|
+
} catch (y) {
|
|
640
|
+
o = o != null ? o : [], y instanceof Ae ? o = ke(ke([], je(o)), je(y.errors)) : o.push(y);
|
|
660
641
|
}
|
|
661
642
|
}
|
|
662
|
-
} catch (
|
|
663
|
-
n = { error:
|
|
643
|
+
} catch (y) {
|
|
644
|
+
n = { error: y };
|
|
664
645
|
} finally {
|
|
665
646
|
try {
|
|
666
|
-
|
|
647
|
+
p && !p.done && (i = f.return) && i.call(f);
|
|
667
648
|
} finally {
|
|
668
649
|
if (n)
|
|
669
650
|
throw n.error;
|
|
@@ -671,13 +652,13 @@ var _e = function() {
|
|
|
671
652
|
}
|
|
672
653
|
}
|
|
673
654
|
if (o)
|
|
674
|
-
throw new
|
|
655
|
+
throw new Ae(o);
|
|
675
656
|
}
|
|
676
657
|
}, e.prototype.add = function(t) {
|
|
677
658
|
var r;
|
|
678
659
|
if (t && t !== this)
|
|
679
660
|
if (this.closed)
|
|
680
|
-
|
|
661
|
+
ft(t);
|
|
681
662
|
else {
|
|
682
663
|
if (t instanceof e) {
|
|
683
664
|
if (t.closed || t._hasParent(this))
|
|
@@ -694,56 +675,52 @@ var _e = function() {
|
|
|
694
675
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
695
676
|
}, e.prototype._removeParent = function(t) {
|
|
696
677
|
var r = this._parentage;
|
|
697
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
678
|
+
r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
|
|
698
679
|
}, e.prototype.remove = function(t) {
|
|
699
680
|
var r = this._finalizers;
|
|
700
|
-
r &&
|
|
681
|
+
r && We(r, t), t instanceof e && t._removeParent(this);
|
|
701
682
|
}, e.EMPTY = function() {
|
|
702
683
|
var t = new e();
|
|
703
684
|
return t.closed = !0, t;
|
|
704
685
|
}(), e;
|
|
705
|
-
}(),
|
|
706
|
-
function
|
|
707
|
-
return e instanceof
|
|
708
|
-
}
|
|
709
|
-
function
|
|
710
|
-
|
|
711
|
-
}
|
|
712
|
-
var
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
Promise: void 0,
|
|
716
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
717
|
-
useDeprecatedNextContext: !1
|
|
718
|
-
}, Xr = {
|
|
686
|
+
}(), Dt = Ee.EMPTY;
|
|
687
|
+
function Gt(e) {
|
|
688
|
+
return e instanceof Ee || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
|
|
689
|
+
}
|
|
690
|
+
function ft(e) {
|
|
691
|
+
N(e) ? e() : e.unsubscribe();
|
|
692
|
+
}
|
|
693
|
+
var Zr = {
|
|
694
|
+
Promise: void 0
|
|
695
|
+
}, Qr = {
|
|
719
696
|
setTimeout: function(e, t) {
|
|
720
697
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
721
698
|
r[n - 2] = arguments[n];
|
|
722
|
-
return setTimeout.apply(void 0,
|
|
699
|
+
return setTimeout.apply(void 0, ke([e, t], je(r)));
|
|
723
700
|
},
|
|
724
701
|
clearTimeout: function(e) {
|
|
725
702
|
return clearTimeout(e);
|
|
726
703
|
},
|
|
727
704
|
delegate: void 0
|
|
728
705
|
};
|
|
729
|
-
function
|
|
730
|
-
|
|
706
|
+
function Jr(e) {
|
|
707
|
+
Qr.setTimeout(function() {
|
|
731
708
|
throw e;
|
|
732
709
|
});
|
|
733
710
|
}
|
|
734
|
-
function
|
|
711
|
+
function pt() {
|
|
735
712
|
}
|
|
736
713
|
function me(e) {
|
|
737
714
|
e();
|
|
738
715
|
}
|
|
739
|
-
var
|
|
740
|
-
|
|
716
|
+
var Ft = function(e) {
|
|
717
|
+
ue(t, e);
|
|
741
718
|
function t(r) {
|
|
742
719
|
var n = e.call(this) || this;
|
|
743
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
720
|
+
return n.isStopped = !1, r ? (n.destination = r, Gt(r) && r.add(n)) : n.destination = Kr, n;
|
|
744
721
|
}
|
|
745
722
|
return t.create = function(r, n, i) {
|
|
746
|
-
return new
|
|
723
|
+
return new Ve(r, n, i);
|
|
747
724
|
}, t.prototype.next = function(r) {
|
|
748
725
|
this.isStopped || this._next(r);
|
|
749
726
|
}, t.prototype.error = function(r) {
|
|
@@ -767,7 +744,7 @@ var $t = function(e) {
|
|
|
767
744
|
this.unsubscribe();
|
|
768
745
|
}
|
|
769
746
|
}, t;
|
|
770
|
-
}(
|
|
747
|
+
}(Ee), qr = function() {
|
|
771
748
|
function e(t) {
|
|
772
749
|
this.partialObserver = t;
|
|
773
750
|
}
|
|
@@ -777,7 +754,7 @@ var $t = function(e) {
|
|
|
777
754
|
try {
|
|
778
755
|
r.next(t);
|
|
779
756
|
} catch (n) {
|
|
780
|
-
|
|
757
|
+
fe(n);
|
|
781
758
|
}
|
|
782
759
|
}, e.prototype.error = function(t) {
|
|
783
760
|
var r = this.partialObserver;
|
|
@@ -785,56 +762,56 @@ var $t = function(e) {
|
|
|
785
762
|
try {
|
|
786
763
|
r.error(t);
|
|
787
764
|
} catch (n) {
|
|
788
|
-
|
|
765
|
+
fe(n);
|
|
789
766
|
}
|
|
790
767
|
else
|
|
791
|
-
|
|
768
|
+
fe(t);
|
|
792
769
|
}, e.prototype.complete = function() {
|
|
793
770
|
var t = this.partialObserver;
|
|
794
771
|
if (t.complete)
|
|
795
772
|
try {
|
|
796
773
|
t.complete();
|
|
797
774
|
} catch (r) {
|
|
798
|
-
|
|
775
|
+
fe(r);
|
|
799
776
|
}
|
|
800
777
|
}, e;
|
|
801
|
-
}(),
|
|
802
|
-
|
|
778
|
+
}(), Ve = function(e) {
|
|
779
|
+
ue(t, e);
|
|
803
780
|
function t(r, n, i) {
|
|
804
781
|
var o = e.call(this) || this, s;
|
|
805
|
-
return
|
|
782
|
+
return N(r) || !r ? s = {
|
|
806
783
|
next: r != null ? r : void 0,
|
|
807
784
|
error: n != null ? n : void 0,
|
|
808
785
|
complete: i != null ? i : void 0
|
|
809
|
-
} : s = r, o.destination = new
|
|
786
|
+
} : s = r, o.destination = new qr(s), o;
|
|
810
787
|
}
|
|
811
788
|
return t;
|
|
812
|
-
}(
|
|
813
|
-
function
|
|
814
|
-
|
|
789
|
+
}(Ft);
|
|
790
|
+
function fe(e) {
|
|
791
|
+
Jr(e);
|
|
815
792
|
}
|
|
816
|
-
function
|
|
793
|
+
function Yr(e) {
|
|
817
794
|
throw e;
|
|
818
795
|
}
|
|
819
|
-
var
|
|
796
|
+
var Kr = {
|
|
820
797
|
closed: !0,
|
|
821
|
-
next:
|
|
822
|
-
error:
|
|
823
|
-
complete:
|
|
824
|
-
},
|
|
798
|
+
next: pt,
|
|
799
|
+
error: Yr,
|
|
800
|
+
complete: pt
|
|
801
|
+
}, en = function() {
|
|
825
802
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
826
803
|
}();
|
|
827
|
-
function
|
|
804
|
+
function tn(e) {
|
|
828
805
|
return e;
|
|
829
806
|
}
|
|
830
|
-
function
|
|
831
|
-
return e.length === 0 ?
|
|
807
|
+
function rn(e) {
|
|
808
|
+
return e.length === 0 ? tn : e.length === 1 ? e[0] : function(r) {
|
|
832
809
|
return e.reduce(function(n, i) {
|
|
833
810
|
return i(n);
|
|
834
811
|
}, r);
|
|
835
812
|
};
|
|
836
813
|
}
|
|
837
|
-
var
|
|
814
|
+
var dt = function() {
|
|
838
815
|
function e(t) {
|
|
839
816
|
t && (this._subscribe = t);
|
|
840
817
|
}
|
|
@@ -842,7 +819,7 @@ var lt = function() {
|
|
|
842
819
|
var r = new e();
|
|
843
820
|
return r.source = this, r.operator = t, r;
|
|
844
821
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
845
|
-
var i = this, o =
|
|
822
|
+
var i = this, o = on(t) ? t : new Ve(t, r, n);
|
|
846
823
|
return me(function() {
|
|
847
824
|
var s = i, a = s.operator, h = s.source;
|
|
848
825
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -855,8 +832,8 @@ var lt = function() {
|
|
|
855
832
|
}
|
|
856
833
|
}, e.prototype.forEach = function(t, r) {
|
|
857
834
|
var n = this;
|
|
858
|
-
return r =
|
|
859
|
-
var s = new
|
|
835
|
+
return r = mt(r), new r(function(i, o) {
|
|
836
|
+
var s = new Ve({
|
|
860
837
|
next: function(a) {
|
|
861
838
|
try {
|
|
862
839
|
t(a);
|
|
@@ -872,15 +849,15 @@ var lt = function() {
|
|
|
872
849
|
}, e.prototype._subscribe = function(t) {
|
|
873
850
|
var r;
|
|
874
851
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
875
|
-
}, e.prototype[
|
|
852
|
+
}, e.prototype[en] = function() {
|
|
876
853
|
return this;
|
|
877
854
|
}, e.prototype.pipe = function() {
|
|
878
855
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
879
856
|
t[r] = arguments[r];
|
|
880
|
-
return
|
|
857
|
+
return rn(t)(this);
|
|
881
858
|
}, e.prototype.toPromise = function(t) {
|
|
882
859
|
var r = this;
|
|
883
|
-
return t =
|
|
860
|
+
return t = mt(t), new t(function(n, i) {
|
|
884
861
|
var o;
|
|
885
862
|
r.subscribe(function(s) {
|
|
886
863
|
return o = s;
|
|
@@ -894,32 +871,32 @@ var lt = function() {
|
|
|
894
871
|
return new e(t);
|
|
895
872
|
}, e;
|
|
896
873
|
}();
|
|
897
|
-
function
|
|
874
|
+
function mt(e) {
|
|
898
875
|
var t;
|
|
899
|
-
return (t = e != null ? e :
|
|
876
|
+
return (t = e != null ? e : Zr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
900
877
|
}
|
|
901
|
-
function
|
|
902
|
-
return e &&
|
|
878
|
+
function nn(e) {
|
|
879
|
+
return e && N(e.next) && N(e.error) && N(e.complete);
|
|
903
880
|
}
|
|
904
|
-
function
|
|
905
|
-
return e && e instanceof
|
|
881
|
+
function on(e) {
|
|
882
|
+
return e && e instanceof Ft || nn(e) && Gt(e);
|
|
906
883
|
}
|
|
907
|
-
var
|
|
884
|
+
var sn = Ut(function(e) {
|
|
908
885
|
return function() {
|
|
909
886
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
910
887
|
};
|
|
911
|
-
}),
|
|
912
|
-
|
|
888
|
+
}), jt = function(e) {
|
|
889
|
+
ue(t, e);
|
|
913
890
|
function t() {
|
|
914
891
|
var r = e.call(this) || this;
|
|
915
892
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
916
893
|
}
|
|
917
894
|
return t.prototype.lift = function(r) {
|
|
918
|
-
var n = new
|
|
895
|
+
var n = new bt(this, this);
|
|
919
896
|
return n.operator = r, n;
|
|
920
897
|
}, t.prototype._throwIfClosed = function() {
|
|
921
898
|
if (this.closed)
|
|
922
|
-
throw new
|
|
899
|
+
throw new sn();
|
|
923
900
|
}, t.prototype.next = function(r) {
|
|
924
901
|
var n = this;
|
|
925
902
|
me(function() {
|
|
@@ -927,7 +904,7 @@ var rn = Mt(function(e) {
|
|
|
927
904
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
928
905
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
929
906
|
try {
|
|
930
|
-
for (var s =
|
|
907
|
+
for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
931
908
|
var h = a.value;
|
|
932
909
|
h.next(r);
|
|
933
910
|
}
|
|
@@ -976,20 +953,20 @@ var rn = Mt(function(e) {
|
|
|
976
953
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
977
954
|
}, t.prototype._innerSubscribe = function(r) {
|
|
978
955
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
979
|
-
return o || s ?
|
|
980
|
-
n.currentObservers = null,
|
|
956
|
+
return o || s ? Dt : (this.currentObservers = null, a.push(r), new Ee(function() {
|
|
957
|
+
n.currentObservers = null, We(a, r);
|
|
981
958
|
}));
|
|
982
959
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
983
960
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
984
961
|
i ? r.error(o) : s && r.complete();
|
|
985
962
|
}, t.prototype.asObservable = function() {
|
|
986
|
-
var r = new
|
|
963
|
+
var r = new dt();
|
|
987
964
|
return r.source = this, r;
|
|
988
965
|
}, t.create = function(r, n) {
|
|
989
|
-
return new
|
|
966
|
+
return new bt(r, n);
|
|
990
967
|
}, t;
|
|
991
|
-
}(
|
|
992
|
-
|
|
968
|
+
}(dt), bt = function(e) {
|
|
969
|
+
ue(t, e);
|
|
993
970
|
function t(r, n) {
|
|
994
971
|
var i = e.call(this) || this;
|
|
995
972
|
return i.destination = r, i.source = n, i;
|
|
@@ -1005,17 +982,17 @@ var rn = Mt(function(e) {
|
|
|
1005
982
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1006
983
|
}, t.prototype._subscribe = function(r) {
|
|
1007
984
|
var n, i;
|
|
1008
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
985
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dt;
|
|
1009
986
|
}, t;
|
|
1010
|
-
}(
|
|
987
|
+
}(jt), kt = {
|
|
1011
988
|
now: function() {
|
|
1012
|
-
return (
|
|
989
|
+
return (kt.delegate || Date).now();
|
|
1013
990
|
},
|
|
1014
991
|
delegate: void 0
|
|
1015
|
-
},
|
|
1016
|
-
|
|
992
|
+
}, an = function(e) {
|
|
993
|
+
ue(t, e);
|
|
1017
994
|
function t(r, n, i) {
|
|
1018
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
995
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kt);
|
|
1019
996
|
var o = e.call(this) || this;
|
|
1020
997
|
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;
|
|
1021
998
|
}
|
|
@@ -1035,24 +1012,24 @@ var rn = Mt(function(e) {
|
|
|
1035
1012
|
u && o.splice(0, u + 1);
|
|
1036
1013
|
}
|
|
1037
1014
|
}, t;
|
|
1038
|
-
}(
|
|
1039
|
-
const
|
|
1040
|
-
if (
|
|
1041
|
-
const r = new
|
|
1042
|
-
|
|
1015
|
+
}(jt);
|
|
1016
|
+
const yt = [], gt = {}, un = (e, t = 0) => {
|
|
1017
|
+
if (yt.indexOf(e) == -1) {
|
|
1018
|
+
const r = new an(t);
|
|
1019
|
+
gt[e] = r, yt.push(e);
|
|
1043
1020
|
}
|
|
1044
|
-
return
|
|
1021
|
+
return gt[e];
|
|
1045
1022
|
}, k = [];
|
|
1046
|
-
function
|
|
1023
|
+
function hn(e, t) {
|
|
1047
1024
|
return {
|
|
1048
|
-
subscribe:
|
|
1025
|
+
subscribe: xe(e, t).subscribe
|
|
1049
1026
|
};
|
|
1050
1027
|
}
|
|
1051
|
-
function
|
|
1028
|
+
function xe(e, t = P) {
|
|
1052
1029
|
let r;
|
|
1053
1030
|
const n = /* @__PURE__ */ new Set();
|
|
1054
1031
|
function i(a) {
|
|
1055
|
-
if (
|
|
1032
|
+
if (Ct(e, a) && (e = a, r)) {
|
|
1056
1033
|
const h = !k.length;
|
|
1057
1034
|
for (const u of n)
|
|
1058
1035
|
u[1](), k.push(u, e);
|
|
@@ -1074,145 +1051,184 @@ function Ee(e, t = P) {
|
|
|
1074
1051
|
}
|
|
1075
1052
|
return { set: i, update: o, subscribe: s };
|
|
1076
1053
|
}
|
|
1077
|
-
function
|
|
1054
|
+
function q(e, t, r) {
|
|
1078
1055
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1079
1056
|
if (!i.every(Boolean))
|
|
1080
1057
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1081
1058
|
const o = t.length < 2;
|
|
1082
|
-
return
|
|
1059
|
+
return hn(r, (s, a) => {
|
|
1083
1060
|
let h = !1;
|
|
1084
1061
|
const u = [];
|
|
1085
|
-
let l = 0,
|
|
1086
|
-
const
|
|
1062
|
+
let l = 0, c = P;
|
|
1063
|
+
const f = () => {
|
|
1087
1064
|
if (l)
|
|
1088
1065
|
return;
|
|
1089
|
-
|
|
1066
|
+
c();
|
|
1090
1067
|
const m = t(n ? u[0] : u, s, a);
|
|
1091
|
-
o ? s(m) :
|
|
1092
|
-
},
|
|
1093
|
-
(m,
|
|
1068
|
+
o ? s(m) : c = tt(m) ? m : P;
|
|
1069
|
+
}, p = i.map(
|
|
1070
|
+
(m, y) => Rt(
|
|
1094
1071
|
m,
|
|
1095
1072
|
(w) => {
|
|
1096
|
-
u[
|
|
1073
|
+
u[y] = w, l &= ~(1 << y), h && f();
|
|
1097
1074
|
},
|
|
1098
1075
|
() => {
|
|
1099
|
-
l |= 1 <<
|
|
1076
|
+
l |= 1 << y;
|
|
1100
1077
|
}
|
|
1101
1078
|
)
|
|
1102
1079
|
);
|
|
1103
|
-
return h = !0,
|
|
1104
|
-
|
|
1080
|
+
return h = !0, f(), function() {
|
|
1081
|
+
se(p), c(), h = !1;
|
|
1105
1082
|
};
|
|
1106
1083
|
});
|
|
1107
1084
|
}
|
|
1108
|
-
function
|
|
1109
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1085
|
+
function ln(e) {
|
|
1086
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1110
1087
|
}
|
|
1111
|
-
var
|
|
1112
|
-
return
|
|
1088
|
+
var cn = function(t) {
|
|
1089
|
+
return fn(t) && !pn(t);
|
|
1113
1090
|
};
|
|
1114
|
-
function
|
|
1091
|
+
function fn(e) {
|
|
1115
1092
|
return !!e && typeof e == "object";
|
|
1116
1093
|
}
|
|
1117
|
-
function
|
|
1094
|
+
function pn(e) {
|
|
1118
1095
|
var t = Object.prototype.toString.call(e);
|
|
1119
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1096
|
+
return t === "[object RegExp]" || t === "[object Date]" || bn(e);
|
|
1120
1097
|
}
|
|
1121
|
-
var
|
|
1122
|
-
function
|
|
1123
|
-
return e.$$typeof ===
|
|
1098
|
+
var dn = typeof Symbol == "function" && Symbol.for, mn = dn ? Symbol.for("react.element") : 60103;
|
|
1099
|
+
function bn(e) {
|
|
1100
|
+
return e.$$typeof === mn;
|
|
1124
1101
|
}
|
|
1125
|
-
function
|
|
1102
|
+
function yn(e) {
|
|
1126
1103
|
return Array.isArray(e) ? [] : {};
|
|
1127
1104
|
}
|
|
1128
|
-
function
|
|
1129
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1105
|
+
function ie(e, t) {
|
|
1106
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? X(yn(e), e, t) : e;
|
|
1130
1107
|
}
|
|
1131
|
-
function
|
|
1108
|
+
function gn(e, t, r) {
|
|
1132
1109
|
return e.concat(t).map(function(n) {
|
|
1133
|
-
return
|
|
1110
|
+
return ie(n, r);
|
|
1134
1111
|
});
|
|
1135
1112
|
}
|
|
1136
|
-
function
|
|
1113
|
+
function vn(e, t) {
|
|
1137
1114
|
if (!t.customMerge)
|
|
1138
|
-
return
|
|
1115
|
+
return X;
|
|
1139
1116
|
var r = t.customMerge(e);
|
|
1140
|
-
return typeof r == "function" ? r :
|
|
1117
|
+
return typeof r == "function" ? r : X;
|
|
1141
1118
|
}
|
|
1142
|
-
function
|
|
1119
|
+
function _n(e) {
|
|
1143
1120
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1144
1121
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1145
1122
|
}) : [];
|
|
1146
1123
|
}
|
|
1147
|
-
function
|
|
1148
|
-
return Object.keys(e).concat(
|
|
1124
|
+
function vt(e) {
|
|
1125
|
+
return Object.keys(e).concat(_n(e));
|
|
1149
1126
|
}
|
|
1150
|
-
function
|
|
1127
|
+
function Wt(e, t) {
|
|
1151
1128
|
try {
|
|
1152
1129
|
return t in e;
|
|
1153
1130
|
} catch (r) {
|
|
1154
1131
|
return !1;
|
|
1155
1132
|
}
|
|
1156
1133
|
}
|
|
1157
|
-
function
|
|
1158
|
-
return
|
|
1134
|
+
function En(e, t) {
|
|
1135
|
+
return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1159
1136
|
}
|
|
1160
|
-
function
|
|
1137
|
+
function xn(e, t, r) {
|
|
1161
1138
|
var n = {};
|
|
1162
|
-
return r.isMergeableObject(e) &&
|
|
1163
|
-
n[i] =
|
|
1164
|
-
}),
|
|
1165
|
-
|
|
1139
|
+
return r.isMergeableObject(e) && vt(e).forEach(function(i) {
|
|
1140
|
+
n[i] = ie(e[i], r);
|
|
1141
|
+
}), vt(t).forEach(function(i) {
|
|
1142
|
+
En(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
1166
1143
|
}), n;
|
|
1167
1144
|
}
|
|
1168
|
-
function
|
|
1169
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1145
|
+
function X(e, t, r) {
|
|
1146
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = ie;
|
|
1170
1147
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1171
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1148
|
+
return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : ie(t, r);
|
|
1172
1149
|
}
|
|
1173
|
-
|
|
1150
|
+
X.all = function(t, r) {
|
|
1174
1151
|
if (!Array.isArray(t))
|
|
1175
1152
|
throw new Error("first argument should be an array");
|
|
1176
1153
|
return t.reduce(function(n, i) {
|
|
1177
|
-
return
|
|
1154
|
+
return X(n, i, r);
|
|
1178
1155
|
}, {});
|
|
1179
1156
|
};
|
|
1180
|
-
var
|
|
1181
|
-
const
|
|
1182
|
-
function
|
|
1183
|
-
|
|
1157
|
+
var wn = X, Sn = wn;
|
|
1158
|
+
const Tn = /* @__PURE__ */ ln(Sn);
|
|
1159
|
+
var Xe = function(e, t) {
|
|
1160
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1161
|
+
r.__proto__ = n;
|
|
1162
|
+
} || function(r, n) {
|
|
1163
|
+
for (var i in n)
|
|
1164
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1165
|
+
}, Xe(e, t);
|
|
1166
|
+
};
|
|
1167
|
+
function we(e, t) {
|
|
1168
|
+
if (typeof t != "function" && t !== null)
|
|
1169
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1170
|
+
Xe(e, t);
|
|
1171
|
+
function r() {
|
|
1172
|
+
this.constructor = e;
|
|
1173
|
+
}
|
|
1174
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1175
|
+
}
|
|
1176
|
+
var I = function() {
|
|
1177
|
+
return I = Object.assign || function(t) {
|
|
1178
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1179
|
+
r = arguments[n];
|
|
1180
|
+
for (var o in r)
|
|
1181
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1182
|
+
}
|
|
1183
|
+
return t;
|
|
1184
|
+
}, I.apply(this, arguments);
|
|
1185
|
+
};
|
|
1186
|
+
function Hn(e, t) {
|
|
1187
|
+
var r = {};
|
|
1188
|
+
for (var n in e)
|
|
1189
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1190
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1191
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1192
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1193
|
+
return r;
|
|
1194
|
+
}
|
|
1195
|
+
function Oe(e, t, r) {
|
|
1196
|
+
if (r || arguments.length === 2)
|
|
1197
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1198
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1199
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1200
|
+
}
|
|
1201
|
+
function Ie(e, t) {
|
|
1202
|
+
var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : An;
|
|
1184
1203
|
return i(e, {
|
|
1185
1204
|
cache: r,
|
|
1186
1205
|
serializer: n
|
|
1187
1206
|
});
|
|
1188
1207
|
}
|
|
1189
|
-
function
|
|
1208
|
+
function Bn(e) {
|
|
1190
1209
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1191
1210
|
}
|
|
1192
|
-
function
|
|
1193
|
-
var i =
|
|
1211
|
+
function Pn(e, t, r, n) {
|
|
1212
|
+
var i = Bn(n) ? n : r(n), o = t.get(i);
|
|
1194
1213
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1195
1214
|
}
|
|
1196
|
-
function
|
|
1215
|
+
function Vt(e, t, r) {
|
|
1197
1216
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1198
1217
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1199
1218
|
}
|
|
1200
|
-
function
|
|
1219
|
+
function Xt(e, t, r, n, i) {
|
|
1201
1220
|
return r.bind(t, e, n, i);
|
|
1202
1221
|
}
|
|
1203
|
-
function
|
|
1204
|
-
var r = e.length === 1 ?
|
|
1205
|
-
return
|
|
1222
|
+
function An(e, t) {
|
|
1223
|
+
var r = e.length === 1 ? Pn : Vt;
|
|
1224
|
+
return Xt(e, this, r, t.cache.create(), t.serializer);
|
|
1206
1225
|
}
|
|
1207
|
-
function
|
|
1208
|
-
return
|
|
1226
|
+
function On(e, t) {
|
|
1227
|
+
return Xt(e, this, Vt, t.cache.create(), t.serializer);
|
|
1209
1228
|
}
|
|
1210
|
-
function
|
|
1211
|
-
return Ye(e, this, Ft, t.cache.create(), t.serializer);
|
|
1212
|
-
}
|
|
1213
|
-
var Bn = function() {
|
|
1229
|
+
var In = function() {
|
|
1214
1230
|
return JSON.stringify(arguments);
|
|
1215
|
-
},
|
|
1231
|
+
}, Nn = (
|
|
1216
1232
|
/** @class */
|
|
1217
1233
|
function() {
|
|
1218
1234
|
function e() {
|
|
@@ -1224,62 +1240,71 @@ var Bn = function() {
|
|
|
1224
1240
|
this.cache[t] = r;
|
|
1225
1241
|
}, e;
|
|
1226
1242
|
}()
|
|
1227
|
-
),
|
|
1243
|
+
), Ln = {
|
|
1228
1244
|
create: function() {
|
|
1229
|
-
return new
|
|
1245
|
+
return new Nn();
|
|
1230
1246
|
}
|
|
1231
|
-
},
|
|
1232
|
-
variadic:
|
|
1233
|
-
|
|
1234
|
-
|
|
1247
|
+
}, Ne = {
|
|
1248
|
+
variadic: On
|
|
1249
|
+
}, ge = function() {
|
|
1250
|
+
return ge = Object.assign || function(t) {
|
|
1251
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1252
|
+
r = arguments[n];
|
|
1253
|
+
for (var o in r)
|
|
1254
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1255
|
+
}
|
|
1256
|
+
return t;
|
|
1257
|
+
}, ge.apply(this, arguments);
|
|
1258
|
+
};
|
|
1259
|
+
var b;
|
|
1235
1260
|
(function(e) {
|
|
1236
1261
|
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";
|
|
1237
1262
|
})(b || (b = {}));
|
|
1238
|
-
var
|
|
1263
|
+
var v;
|
|
1239
1264
|
(function(e) {
|
|
1240
1265
|
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";
|
|
1241
|
-
})(
|
|
1242
|
-
var
|
|
1266
|
+
})(v || (v = {}));
|
|
1267
|
+
var z;
|
|
1243
1268
|
(function(e) {
|
|
1244
1269
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1245
|
-
})(
|
|
1246
|
-
function
|
|
1247
|
-
return e.type ===
|
|
1270
|
+
})(z || (z = {}));
|
|
1271
|
+
function _t(e) {
|
|
1272
|
+
return e.type === v.literal;
|
|
1248
1273
|
}
|
|
1249
|
-
function
|
|
1250
|
-
return e.type ===
|
|
1274
|
+
function Mn(e) {
|
|
1275
|
+
return e.type === v.argument;
|
|
1251
1276
|
}
|
|
1252
|
-
function
|
|
1253
|
-
return e.type ===
|
|
1277
|
+
function zt(e) {
|
|
1278
|
+
return e.type === v.number;
|
|
1254
1279
|
}
|
|
1255
|
-
function
|
|
1256
|
-
return e.type ===
|
|
1280
|
+
function Zt(e) {
|
|
1281
|
+
return e.type === v.date;
|
|
1257
1282
|
}
|
|
1258
|
-
function
|
|
1259
|
-
return e.type ===
|
|
1283
|
+
function Qt(e) {
|
|
1284
|
+
return e.type === v.time;
|
|
1260
1285
|
}
|
|
1261
|
-
function
|
|
1262
|
-
return e.type ===
|
|
1286
|
+
function Jt(e) {
|
|
1287
|
+
return e.type === v.select;
|
|
1263
1288
|
}
|
|
1264
|
-
function
|
|
1265
|
-
return e.type ===
|
|
1289
|
+
function qt(e) {
|
|
1290
|
+
return e.type === v.plural;
|
|
1266
1291
|
}
|
|
1267
|
-
function
|
|
1268
|
-
return e.type ===
|
|
1292
|
+
function Cn(e) {
|
|
1293
|
+
return e.type === v.pound;
|
|
1269
1294
|
}
|
|
1270
|
-
function
|
|
1271
|
-
return e.type ===
|
|
1295
|
+
function Yt(e) {
|
|
1296
|
+
return e.type === v.tag;
|
|
1272
1297
|
}
|
|
1273
|
-
function
|
|
1274
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1298
|
+
function Kt(e) {
|
|
1299
|
+
return !!(e && typeof e == "object" && e.type === z.number);
|
|
1275
1300
|
}
|
|
1276
|
-
function
|
|
1277
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1301
|
+
function ze(e) {
|
|
1302
|
+
return !!(e && typeof e == "object" && e.type === z.dateTime);
|
|
1278
1303
|
}
|
|
1279
|
-
var
|
|
1280
|
-
function
|
|
1304
|
+
var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1305
|
+
function $n(e) {
|
|
1281
1306
|
var t = {};
|
|
1282
|
-
return e.replace(
|
|
1307
|
+
return e.replace(Rn, function(r) {
|
|
1283
1308
|
var n = r.length;
|
|
1284
1309
|
switch (r[0]) {
|
|
1285
1310
|
case "G":
|
|
@@ -1368,36 +1393,46 @@ function Ln(e) {
|
|
|
1368
1393
|
return "";
|
|
1369
1394
|
}), t;
|
|
1370
1395
|
}
|
|
1371
|
-
var
|
|
1372
|
-
function
|
|
1396
|
+
var _ = function() {
|
|
1397
|
+
return _ = Object.assign || function(t) {
|
|
1398
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1399
|
+
r = arguments[n];
|
|
1400
|
+
for (var o in r)
|
|
1401
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1402
|
+
}
|
|
1403
|
+
return t;
|
|
1404
|
+
}, _.apply(this, arguments);
|
|
1405
|
+
};
|
|
1406
|
+
var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1407
|
+
function Dn(e) {
|
|
1373
1408
|
if (e.length === 0)
|
|
1374
1409
|
throw new Error("Number skeleton cannot be empty");
|
|
1375
|
-
for (var t = e.split(
|
|
1376
|
-
return
|
|
1410
|
+
for (var t = e.split(Un).filter(function(f) {
|
|
1411
|
+
return f.length > 0;
|
|
1377
1412
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1378
1413
|
var o = i[n], s = o.split("/");
|
|
1379
1414
|
if (s.length === 0)
|
|
1380
1415
|
throw new Error("Invalid number skeleton");
|
|
1381
1416
|
for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1382
|
-
var
|
|
1383
|
-
if (
|
|
1417
|
+
var c = l[u];
|
|
1418
|
+
if (c.length === 0)
|
|
1384
1419
|
throw new Error("Invalid number skeleton");
|
|
1385
1420
|
}
|
|
1386
1421
|
r.push({ stem: a, options: h });
|
|
1387
1422
|
}
|
|
1388
1423
|
return r;
|
|
1389
1424
|
}
|
|
1390
|
-
function
|
|
1425
|
+
function Gn(e) {
|
|
1391
1426
|
return e.replace(/^(.*?)-/, "");
|
|
1392
1427
|
}
|
|
1393
|
-
var
|
|
1394
|
-
function
|
|
1428
|
+
var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
|
|
1429
|
+
function xt(e) {
|
|
1395
1430
|
var t = {};
|
|
1396
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1431
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
|
|
1397
1432
|
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)), "";
|
|
1398
1433
|
}), t;
|
|
1399
1434
|
}
|
|
1400
|
-
function
|
|
1435
|
+
function nr(e) {
|
|
1401
1436
|
switch (e) {
|
|
1402
1437
|
case "sign-auto":
|
|
1403
1438
|
return {
|
|
@@ -1437,7 +1472,7 @@ function Kt(e) {
|
|
|
1437
1472
|
};
|
|
1438
1473
|
}
|
|
1439
1474
|
}
|
|
1440
|
-
function
|
|
1475
|
+
function jn(e) {
|
|
1441
1476
|
var t;
|
|
1442
1477
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1443
1478
|
notation: "engineering"
|
|
@@ -1445,17 +1480,17 @@ function Un(e) {
|
|
|
1445
1480
|
notation: "scientific"
|
|
1446
1481
|
}, e = e.slice(1)), t) {
|
|
1447
1482
|
var r = e.slice(0, 2);
|
|
1448
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1483
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
|
|
1449
1484
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1450
1485
|
t.minimumIntegerDigits = e.length;
|
|
1451
1486
|
}
|
|
1452
1487
|
return t;
|
|
1453
1488
|
}
|
|
1454
|
-
function
|
|
1455
|
-
var t = {}, r =
|
|
1489
|
+
function wt(e) {
|
|
1490
|
+
var t = {}, r = nr(e);
|
|
1456
1491
|
return r || t;
|
|
1457
1492
|
}
|
|
1458
|
-
function
|
|
1493
|
+
function kn(e) {
|
|
1459
1494
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1460
1495
|
var i = n[r];
|
|
1461
1496
|
switch (i.stem) {
|
|
@@ -1479,7 +1514,7 @@ function Dn(e) {
|
|
|
1479
1514
|
continue;
|
|
1480
1515
|
case "measure-unit":
|
|
1481
1516
|
case "unit":
|
|
1482
|
-
t.style = "unit", t.unit =
|
|
1517
|
+
t.style = "unit", t.unit = Gn(i.options[0]);
|
|
1483
1518
|
continue;
|
|
1484
1519
|
case "compact-short":
|
|
1485
1520
|
case "K":
|
|
@@ -1490,13 +1525,13 @@ function Dn(e) {
|
|
|
1490
1525
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1491
1526
|
continue;
|
|
1492
1527
|
case "scientific":
|
|
1493
|
-
t =
|
|
1494
|
-
return
|
|
1528
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1529
|
+
return _(_({}, h), wt(u));
|
|
1495
1530
|
}, {}));
|
|
1496
1531
|
continue;
|
|
1497
1532
|
case "engineering":
|
|
1498
|
-
t =
|
|
1499
|
-
return
|
|
1533
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1534
|
+
return _(_({}, h), wt(u));
|
|
1500
1535
|
}, {}));
|
|
1501
1536
|
continue;
|
|
1502
1537
|
case "notation-simple":
|
|
@@ -1541,45 +1576,45 @@ function Dn(e) {
|
|
|
1541
1576
|
case "integer-width":
|
|
1542
1577
|
if (i.options.length > 1)
|
|
1543
1578
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1544
|
-
i.options[0].replace(
|
|
1579
|
+
i.options[0].replace(Fn, function(h, u, l, c, f, p) {
|
|
1545
1580
|
if (u)
|
|
1546
1581
|
t.minimumIntegerDigits = l.length;
|
|
1547
1582
|
else {
|
|
1548
|
-
if (
|
|
1583
|
+
if (c && f)
|
|
1549
1584
|
throw new Error("We currently do not support maximum integer digits");
|
|
1550
|
-
if (
|
|
1585
|
+
if (p)
|
|
1551
1586
|
throw new Error("We currently do not support exact integer digits");
|
|
1552
1587
|
}
|
|
1553
1588
|
return "";
|
|
1554
1589
|
});
|
|
1555
1590
|
continue;
|
|
1556
1591
|
}
|
|
1557
|
-
if (
|
|
1592
|
+
if (rr.test(i.stem)) {
|
|
1558
1593
|
t.minimumIntegerDigits = i.stem.length;
|
|
1559
1594
|
continue;
|
|
1560
1595
|
}
|
|
1561
|
-
if (
|
|
1596
|
+
if (Et.test(i.stem)) {
|
|
1562
1597
|
if (i.options.length > 1)
|
|
1563
1598
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1564
|
-
i.stem.replace(
|
|
1565
|
-
return l === "*" ? t.minimumFractionDigits = u.length :
|
|
1599
|
+
i.stem.replace(Et, function(h, u, l, c, f, p) {
|
|
1600
|
+
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), "";
|
|
1566
1601
|
});
|
|
1567
1602
|
var o = i.options[0];
|
|
1568
|
-
o === "w" ? t =
|
|
1603
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), xt(o)));
|
|
1569
1604
|
continue;
|
|
1570
1605
|
}
|
|
1571
|
-
if (
|
|
1572
|
-
t =
|
|
1606
|
+
if (tr.test(i.stem)) {
|
|
1607
|
+
t = _(_({}, t), xt(i.stem));
|
|
1573
1608
|
continue;
|
|
1574
1609
|
}
|
|
1575
|
-
var s =
|
|
1576
|
-
s && (t =
|
|
1577
|
-
var a =
|
|
1578
|
-
a && (t =
|
|
1610
|
+
var s = nr(i.stem);
|
|
1611
|
+
s && (t = _(_({}, t), s));
|
|
1612
|
+
var a = jn(i.stem);
|
|
1613
|
+
a && (t = _(_({}, t), a));
|
|
1579
1614
|
}
|
|
1580
1615
|
return t;
|
|
1581
1616
|
}
|
|
1582
|
-
var
|
|
1617
|
+
var pe = {
|
|
1583
1618
|
"001": [
|
|
1584
1619
|
"H",
|
|
1585
1620
|
"h"
|
|
@@ -2994,13 +3029,13 @@ var de = {
|
|
|
2994
3029
|
"h"
|
|
2995
3030
|
]
|
|
2996
3031
|
};
|
|
2997
|
-
function
|
|
3032
|
+
function Wn(e, t) {
|
|
2998
3033
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2999
3034
|
var i = e.charAt(n);
|
|
3000
3035
|
if (i === "j") {
|
|
3001
3036
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3002
3037
|
o++, n++;
|
|
3003
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
3038
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Vn(t);
|
|
3004
3039
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3005
3040
|
r += h;
|
|
3006
3041
|
for (; s-- > 0; )
|
|
@@ -3010,7 +3045,7 @@ function Gn(e, t) {
|
|
|
3010
3045
|
}
|
|
3011
3046
|
return r;
|
|
3012
3047
|
}
|
|
3013
|
-
function
|
|
3048
|
+
function Vn(e) {
|
|
3014
3049
|
var t = e.hourCycle;
|
|
3015
3050
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3016
3051
|
e.hourCycles && // @ts-ignore
|
|
@@ -3029,23 +3064,23 @@ function Fn(e) {
|
|
|
3029
3064
|
}
|
|
3030
3065
|
var r = e.language, n;
|
|
3031
3066
|
r !== "root" && (n = e.maximize().region);
|
|
3032
|
-
var i =
|
|
3067
|
+
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
|
3033
3068
|
return i[0];
|
|
3034
3069
|
}
|
|
3035
|
-
var
|
|
3036
|
-
function
|
|
3070
|
+
var Le, Xn = new RegExp("^".concat(er.source, "*")), zn = new RegExp("".concat(er.source, "*$"));
|
|
3071
|
+
function g(e, t) {
|
|
3037
3072
|
return { start: e, end: t };
|
|
3038
3073
|
}
|
|
3039
|
-
var
|
|
3074
|
+
var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
|
|
3040
3075
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3041
|
-
},
|
|
3076
|
+
}, Ze = !0;
|
|
3042
3077
|
try {
|
|
3043
|
-
var
|
|
3044
|
-
|
|
3078
|
+
var ri = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3079
|
+
Ze = ((Le = ri.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
|
|
3045
3080
|
} catch (e) {
|
|
3046
|
-
|
|
3081
|
+
Ze = !1;
|
|
3047
3082
|
}
|
|
3048
|
-
var
|
|
3083
|
+
var St = Zn ? (
|
|
3049
3084
|
// Native
|
|
3050
3085
|
function(t, r, n) {
|
|
3051
3086
|
return t.startsWith(r, n);
|
|
@@ -3055,7 +3090,7 @@ var _t = Wn ? (
|
|
|
3055
3090
|
function(t, r, n) {
|
|
3056
3091
|
return t.slice(n, n + r.length) === r;
|
|
3057
3092
|
}
|
|
3058
|
-
),
|
|
3093
|
+
), Qe = Qn ? String.fromCodePoint : (
|
|
3059
3094
|
// IE11
|
|
3060
3095
|
function() {
|
|
3061
3096
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3067,9 +3102,9 @@ var _t = Wn ? (
|
|
|
3067
3102
|
}
|
|
3068
3103
|
return n;
|
|
3069
3104
|
}
|
|
3070
|
-
),
|
|
3105
|
+
), Tt = (
|
|
3071
3106
|
// native
|
|
3072
|
-
|
|
3107
|
+
Jn ? Object.fromEntries : (
|
|
3073
3108
|
// Ponyfill
|
|
3074
3109
|
function(t) {
|
|
3075
3110
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3079,7 +3114,7 @@ var _t = Wn ? (
|
|
|
3079
3114
|
return r;
|
|
3080
3115
|
}
|
|
3081
3116
|
)
|
|
3082
|
-
),
|
|
3117
|
+
), ir = qn ? (
|
|
3083
3118
|
// Native
|
|
3084
3119
|
function(t, r) {
|
|
3085
3120
|
return t.codePointAt(r);
|
|
@@ -3093,7 +3128,7 @@ var _t = Wn ? (
|
|
|
3093
3128
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3094
3129
|
}
|
|
3095
3130
|
}
|
|
3096
|
-
),
|
|
3131
|
+
), ni = Yn ? (
|
|
3097
3132
|
// Native
|
|
3098
3133
|
function(t) {
|
|
3099
3134
|
return t.trimStart();
|
|
@@ -3101,9 +3136,9 @@ var _t = Wn ? (
|
|
|
3101
3136
|
) : (
|
|
3102
3137
|
// Ponyfill
|
|
3103
3138
|
function(t) {
|
|
3104
|
-
return t.replace(
|
|
3139
|
+
return t.replace(Xn, "");
|
|
3105
3140
|
}
|
|
3106
|
-
),
|
|
3141
|
+
), ii = Kn ? (
|
|
3107
3142
|
// Native
|
|
3108
3143
|
function(t) {
|
|
3109
3144
|
return t.trimEnd();
|
|
@@ -3111,32 +3146,32 @@ var _t = Wn ? (
|
|
|
3111
3146
|
) : (
|
|
3112
3147
|
// Ponyfill
|
|
3113
3148
|
function(t) {
|
|
3114
|
-
return t.replace(
|
|
3149
|
+
return t.replace(zn, "");
|
|
3115
3150
|
}
|
|
3116
3151
|
);
|
|
3117
|
-
function
|
|
3152
|
+
function or(e, t) {
|
|
3118
3153
|
return new RegExp(e, t);
|
|
3119
3154
|
}
|
|
3120
|
-
var
|
|
3121
|
-
if (
|
|
3122
|
-
var
|
|
3123
|
-
|
|
3155
|
+
var Je;
|
|
3156
|
+
if (Ze) {
|
|
3157
|
+
var Ht = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3158
|
+
Je = function(t, r) {
|
|
3124
3159
|
var n;
|
|
3125
|
-
|
|
3126
|
-
var i =
|
|
3160
|
+
Ht.lastIndex = r;
|
|
3161
|
+
var i = Ht.exec(t);
|
|
3127
3162
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3128
3163
|
};
|
|
3129
3164
|
} else
|
|
3130
|
-
|
|
3165
|
+
Je = function(t, r) {
|
|
3131
3166
|
for (var n = []; ; ) {
|
|
3132
|
-
var i =
|
|
3133
|
-
if (i === void 0 ||
|
|
3167
|
+
var i = ir(t, r);
|
|
3168
|
+
if (i === void 0 || sr(i) || ui(i))
|
|
3134
3169
|
break;
|
|
3135
3170
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3136
3171
|
}
|
|
3137
|
-
return
|
|
3172
|
+
return Qe.apply(void 0, n);
|
|
3138
3173
|
};
|
|
3139
|
-
var
|
|
3174
|
+
var oi = (
|
|
3140
3175
|
/** @class */
|
|
3141
3176
|
function() {
|
|
3142
3177
|
function e(t, r) {
|
|
@@ -3160,14 +3195,14 @@ var ti = (
|
|
|
3160
3195
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3161
3196
|
var a = this.clonePosition();
|
|
3162
3197
|
this.bump(), i.push({
|
|
3163
|
-
type:
|
|
3164
|
-
location:
|
|
3198
|
+
type: v.pound,
|
|
3199
|
+
location: g(a, this.clonePosition())
|
|
3165
3200
|
});
|
|
3166
3201
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3167
3202
|
if (n)
|
|
3168
3203
|
break;
|
|
3169
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3170
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3204
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3205
|
+
} else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
|
|
3171
3206
|
var s = this.parseTag(t, r);
|
|
3172
3207
|
if (s.err)
|
|
3173
3208
|
return s;
|
|
@@ -3188,9 +3223,9 @@ var ti = (
|
|
|
3188
3223
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3189
3224
|
return {
|
|
3190
3225
|
val: {
|
|
3191
|
-
type:
|
|
3226
|
+
type: v.literal,
|
|
3192
3227
|
value: "<".concat(i, "/>"),
|
|
3193
|
-
location:
|
|
3228
|
+
location: g(n, this.clonePosition())
|
|
3194
3229
|
},
|
|
3195
3230
|
err: null
|
|
3196
3231
|
};
|
|
@@ -3200,25 +3235,25 @@ var ti = (
|
|
|
3200
3235
|
return o;
|
|
3201
3236
|
var s = o.val, a = this.clonePosition();
|
|
3202
3237
|
if (this.bumpIf("</")) {
|
|
3203
|
-
if (this.isEOF() || !
|
|
3204
|
-
return this.error(b.INVALID_TAG,
|
|
3238
|
+
if (this.isEOF() || !qe(this.char()))
|
|
3239
|
+
return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
|
|
3205
3240
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3206
|
-
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3241
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3207
3242
|
val: {
|
|
3208
|
-
type:
|
|
3243
|
+
type: v.tag,
|
|
3209
3244
|
value: i,
|
|
3210
3245
|
children: s,
|
|
3211
|
-
location:
|
|
3246
|
+
location: g(n, this.clonePosition())
|
|
3212
3247
|
},
|
|
3213
3248
|
err: null
|
|
3214
|
-
} : this.error(b.INVALID_TAG,
|
|
3249
|
+
} : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
|
|
3215
3250
|
} else
|
|
3216
|
-
return this.error(b.UNCLOSED_TAG,
|
|
3251
|
+
return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
|
|
3217
3252
|
} else
|
|
3218
|
-
return this.error(b.INVALID_TAG,
|
|
3253
|
+
return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
|
|
3219
3254
|
}, e.prototype.parseTagName = function() {
|
|
3220
3255
|
var t = this.offset();
|
|
3221
|
-
for (this.bump(); !this.isEOF() &&
|
|
3256
|
+
for (this.bump(); !this.isEOF() && ai(this.char()); )
|
|
3222
3257
|
this.bump();
|
|
3223
3258
|
return this.message.slice(t, this.offset());
|
|
3224
3259
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3240,14 +3275,14 @@ var ti = (
|
|
|
3240
3275
|
}
|
|
3241
3276
|
break;
|
|
3242
3277
|
}
|
|
3243
|
-
var h =
|
|
3278
|
+
var h = g(n, this.clonePosition());
|
|
3244
3279
|
return {
|
|
3245
|
-
val: { type:
|
|
3280
|
+
val: { type: v.literal, value: i, location: h },
|
|
3246
3281
|
err: null
|
|
3247
3282
|
};
|
|
3248
3283
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3249
3284
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3250
|
-
!
|
|
3285
|
+
!si(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3251
3286
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3252
3287
|
if (this.isEOF() || this.char() !== 39)
|
|
3253
3288
|
return null;
|
|
@@ -3281,49 +3316,49 @@ var ti = (
|
|
|
3281
3316
|
r.push(n);
|
|
3282
3317
|
this.bump();
|
|
3283
3318
|
}
|
|
3284
|
-
return
|
|
3319
|
+
return Qe.apply(void 0, r);
|
|
3285
3320
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3286
3321
|
if (this.isEOF())
|
|
3287
3322
|
return null;
|
|
3288
3323
|
var n = this.char();
|
|
3289
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3324
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
|
|
3290
3325
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3291
3326
|
var n = this.clonePosition();
|
|
3292
3327
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3293
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3328
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3294
3329
|
if (this.char() === 125)
|
|
3295
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
3330
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
|
|
3296
3331
|
var i = this.parseIdentifierIfPossible().value;
|
|
3297
3332
|
if (!i)
|
|
3298
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3333
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3299
3334
|
if (this.bumpSpace(), this.isEOF())
|
|
3300
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3335
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3301
3336
|
switch (this.char()) {
|
|
3302
3337
|
case 125:
|
|
3303
3338
|
return this.bump(), {
|
|
3304
3339
|
val: {
|
|
3305
|
-
type:
|
|
3340
|
+
type: v.argument,
|
|
3306
3341
|
// value does not include the opening and closing braces.
|
|
3307
3342
|
value: i,
|
|
3308
|
-
location:
|
|
3343
|
+
location: g(n, this.clonePosition())
|
|
3309
3344
|
},
|
|
3310
3345
|
err: null
|
|
3311
3346
|
};
|
|
3312
3347
|
case 44:
|
|
3313
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3348
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3314
3349
|
default:
|
|
3315
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3350
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3316
3351
|
}
|
|
3317
3352
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3318
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3353
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
|
3319
3354
|
this.bumpTo(i);
|
|
3320
|
-
var o = this.clonePosition(), s =
|
|
3355
|
+
var o = this.clonePosition(), s = g(t, o);
|
|
3321
3356
|
return { value: n, location: s };
|
|
3322
3357
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3323
3358
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3324
3359
|
switch (a) {
|
|
3325
3360
|
case "":
|
|
3326
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
3361
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, h));
|
|
3327
3362
|
case "number":
|
|
3328
3363
|
case "date":
|
|
3329
3364
|
case "time": {
|
|
@@ -3331,49 +3366,49 @@ var ti = (
|
|
|
3331
3366
|
var u = null;
|
|
3332
3367
|
if (this.bumpIf(",")) {
|
|
3333
3368
|
this.bumpSpace();
|
|
3334
|
-
var l = this.clonePosition(),
|
|
3335
|
-
if (
|
|
3336
|
-
return
|
|
3337
|
-
var
|
|
3338
|
-
if (
|
|
3339
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
3340
|
-
var
|
|
3341
|
-
u = { style:
|
|
3369
|
+
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3370
|
+
if (c.err)
|
|
3371
|
+
return c;
|
|
3372
|
+
var f = ii(c.val);
|
|
3373
|
+
if (f.length === 0)
|
|
3374
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3375
|
+
var p = g(l, this.clonePosition());
|
|
3376
|
+
u = { style: f, styleLocation: p };
|
|
3342
3377
|
}
|
|
3343
3378
|
var m = this.tryParseArgumentClose(i);
|
|
3344
3379
|
if (m.err)
|
|
3345
3380
|
return m;
|
|
3346
|
-
var
|
|
3347
|
-
if (u &&
|
|
3348
|
-
var w =
|
|
3381
|
+
var y = g(i, this.clonePosition());
|
|
3382
|
+
if (u && St(u == null ? void 0 : u.style, "::", 0)) {
|
|
3383
|
+
var w = ni(u.style.slice(2));
|
|
3349
3384
|
if (a === "number") {
|
|
3350
|
-
var
|
|
3351
|
-
return
|
|
3352
|
-
val: { type:
|
|
3385
|
+
var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3386
|
+
return c.err ? c : {
|
|
3387
|
+
val: { type: v.number, value: n, location: y, style: c.val },
|
|
3353
3388
|
err: null
|
|
3354
3389
|
};
|
|
3355
3390
|
} else {
|
|
3356
3391
|
if (w.length === 0)
|
|
3357
|
-
return this.error(b.EXPECT_DATE_TIME_SKELETON,
|
|
3392
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, y);
|
|
3358
3393
|
var M = w;
|
|
3359
|
-
this.locale && (M =
|
|
3360
|
-
var
|
|
3361
|
-
type:
|
|
3394
|
+
this.locale && (M = Wn(w, this.locale));
|
|
3395
|
+
var f = {
|
|
3396
|
+
type: z.dateTime,
|
|
3362
3397
|
pattern: M,
|
|
3363
3398
|
location: u.styleLocation,
|
|
3364
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3365
|
-
}, A = a === "date" ?
|
|
3399
|
+
parsedOptions: this.shouldParseSkeletons ? $n(M) : {}
|
|
3400
|
+
}, A = a === "date" ? v.date : v.time;
|
|
3366
3401
|
return {
|
|
3367
|
-
val: { type: A, value: n, location:
|
|
3402
|
+
val: { type: A, value: n, location: y, style: f },
|
|
3368
3403
|
err: null
|
|
3369
3404
|
};
|
|
3370
3405
|
}
|
|
3371
3406
|
}
|
|
3372
3407
|
return {
|
|
3373
3408
|
val: {
|
|
3374
|
-
type: a === "number" ?
|
|
3409
|
+
type: a === "number" ? v.number : a === "date" ? v.date : v.time,
|
|
3375
3410
|
value: n,
|
|
3376
|
-
location:
|
|
3411
|
+
location: y,
|
|
3377
3412
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3378
3413
|
},
|
|
3379
3414
|
err: null
|
|
@@ -3384,17 +3419,17 @@ var ti = (
|
|
|
3384
3419
|
case "select": {
|
|
3385
3420
|
var T = this.clonePosition();
|
|
3386
3421
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3387
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3422
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, ge({}, T)));
|
|
3388
3423
|
this.bumpSpace();
|
|
3389
3424
|
var U = this.parseIdentifierIfPossible(), O = 0;
|
|
3390
3425
|
if (a !== "select" && U.value === "offset") {
|
|
3391
3426
|
if (!this.bumpIf(":"))
|
|
3392
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3427
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3393
3428
|
this.bumpSpace();
|
|
3394
|
-
var
|
|
3395
|
-
if (
|
|
3396
|
-
return
|
|
3397
|
-
this.bumpSpace(), U = this.parseIdentifierIfPossible(), O =
|
|
3429
|
+
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3430
|
+
if (c.err)
|
|
3431
|
+
return c;
|
|
3432
|
+
this.bumpSpace(), U = this.parseIdentifierIfPossible(), O = c.val;
|
|
3398
3433
|
}
|
|
3399
3434
|
var D = this.tryParsePluralOrSelectOptions(t, a, r, U);
|
|
3400
3435
|
if (D.err)
|
|
@@ -3402,20 +3437,20 @@ var ti = (
|
|
|
3402
3437
|
var m = this.tryParseArgumentClose(i);
|
|
3403
3438
|
if (m.err)
|
|
3404
3439
|
return m;
|
|
3405
|
-
var le =
|
|
3440
|
+
var le = g(i, this.clonePosition());
|
|
3406
3441
|
return a === "select" ? {
|
|
3407
3442
|
val: {
|
|
3408
|
-
type:
|
|
3443
|
+
type: v.select,
|
|
3409
3444
|
value: n,
|
|
3410
|
-
options:
|
|
3445
|
+
options: Tt(D.val),
|
|
3411
3446
|
location: le
|
|
3412
3447
|
},
|
|
3413
3448
|
err: null
|
|
3414
3449
|
} : {
|
|
3415
3450
|
val: {
|
|
3416
|
-
type:
|
|
3451
|
+
type: v.plural,
|
|
3417
3452
|
value: n,
|
|
3418
|
-
options:
|
|
3453
|
+
options: Tt(D.val),
|
|
3419
3454
|
offset: O,
|
|
3420
3455
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3421
3456
|
location: le
|
|
@@ -3424,10 +3459,10 @@ var ti = (
|
|
|
3424
3459
|
};
|
|
3425
3460
|
}
|
|
3426
3461
|
default:
|
|
3427
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
3462
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, g(s, h));
|
|
3428
3463
|
}
|
|
3429
3464
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3430
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3465
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3431
3466
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3432
3467
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3433
3468
|
var n = this.char();
|
|
@@ -3436,7 +3471,7 @@ var ti = (
|
|
|
3436
3471
|
this.bump();
|
|
3437
3472
|
var i = this.clonePosition();
|
|
3438
3473
|
if (!this.bumpUntil("'"))
|
|
3439
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3474
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
|
|
3440
3475
|
this.bump();
|
|
3441
3476
|
break;
|
|
3442
3477
|
}
|
|
@@ -3466,52 +3501,52 @@ var ti = (
|
|
|
3466
3501
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3467
3502
|
var n = [];
|
|
3468
3503
|
try {
|
|
3469
|
-
n =
|
|
3504
|
+
n = Dn(t);
|
|
3470
3505
|
} catch (i) {
|
|
3471
3506
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3472
3507
|
}
|
|
3473
3508
|
return {
|
|
3474
3509
|
val: {
|
|
3475
|
-
type:
|
|
3510
|
+
type: z.number,
|
|
3476
3511
|
tokens: n,
|
|
3477
3512
|
location: r,
|
|
3478
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3513
|
+
parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
|
|
3479
3514
|
},
|
|
3480
3515
|
err: null
|
|
3481
3516
|
};
|
|
3482
3517
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3483
3518
|
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3484
3519
|
if (u.length === 0) {
|
|
3485
|
-
var
|
|
3520
|
+
var c = this.clonePosition();
|
|
3486
3521
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3487
|
-
var
|
|
3488
|
-
if (
|
|
3489
|
-
return
|
|
3490
|
-
l =
|
|
3522
|
+
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3523
|
+
if (f.err)
|
|
3524
|
+
return f;
|
|
3525
|
+
l = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3491
3526
|
} else
|
|
3492
3527
|
break;
|
|
3493
3528
|
}
|
|
3494
3529
|
if (h.has(u))
|
|
3495
3530
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3496
3531
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3497
|
-
var
|
|
3532
|
+
var p = this.clonePosition();
|
|
3498
3533
|
if (!this.bumpIf("{"))
|
|
3499
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3534
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3500
3535
|
var m = this.parseMessage(t + 1, r, n);
|
|
3501
3536
|
if (m.err)
|
|
3502
3537
|
return m;
|
|
3503
|
-
var
|
|
3504
|
-
if (
|
|
3505
|
-
return
|
|
3538
|
+
var y = this.tryParseArgumentClose(p);
|
|
3539
|
+
if (y.err)
|
|
3540
|
+
return y;
|
|
3506
3541
|
a.push([
|
|
3507
3542
|
u,
|
|
3508
3543
|
{
|
|
3509
3544
|
value: m.val,
|
|
3510
|
-
location:
|
|
3545
|
+
location: g(p, this.clonePosition())
|
|
3511
3546
|
}
|
|
3512
3547
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3513
3548
|
}
|
|
3514
|
-
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3549
|
+
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3515
3550
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3516
3551
|
var n = 1, i = this.clonePosition();
|
|
3517
3552
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3522,8 +3557,8 @@ var ti = (
|
|
|
3522
3557
|
else
|
|
3523
3558
|
break;
|
|
3524
3559
|
}
|
|
3525
|
-
var h =
|
|
3526
|
-
return o ? (s *= n,
|
|
3560
|
+
var h = g(i, this.clonePosition());
|
|
3561
|
+
return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3527
3562
|
}, e.prototype.offset = function() {
|
|
3528
3563
|
return this.position.offset;
|
|
3529
3564
|
}, e.prototype.isEOF = function() {
|
|
@@ -3538,7 +3573,7 @@ var ti = (
|
|
|
3538
3573
|
var t = this.position.offset;
|
|
3539
3574
|
if (t >= this.message.length)
|
|
3540
3575
|
throw Error("out of bound");
|
|
3541
|
-
var r =
|
|
3576
|
+
var r = ir(this.message, t);
|
|
3542
3577
|
if (r === void 0)
|
|
3543
3578
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3544
3579
|
return r;
|
|
@@ -3557,7 +3592,7 @@ var ti = (
|
|
|
3557
3592
|
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);
|
|
3558
3593
|
}
|
|
3559
3594
|
}, e.prototype.bumpIf = function(t) {
|
|
3560
|
-
if (
|
|
3595
|
+
if (St(this.message, t, this.offset())) {
|
|
3561
3596
|
for (var r = 0; r < t.length; r++)
|
|
3562
3597
|
this.bump();
|
|
3563
3598
|
return !0;
|
|
@@ -3579,7 +3614,7 @@ var ti = (
|
|
|
3579
3614
|
break;
|
|
3580
3615
|
}
|
|
3581
3616
|
}, e.prototype.bumpSpace = function() {
|
|
3582
|
-
for (; !this.isEOF() &&
|
|
3617
|
+
for (; !this.isEOF() && sr(this.char()); )
|
|
3583
3618
|
this.bump();
|
|
3584
3619
|
}, e.prototype.peek = function() {
|
|
3585
3620
|
if (this.isEOF())
|
|
@@ -3589,47 +3624,47 @@ var ti = (
|
|
|
3589
3624
|
}, e;
|
|
3590
3625
|
}()
|
|
3591
3626
|
);
|
|
3592
|
-
function
|
|
3627
|
+
function qe(e) {
|
|
3593
3628
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3594
3629
|
}
|
|
3595
|
-
function
|
|
3596
|
-
return
|
|
3630
|
+
function si(e) {
|
|
3631
|
+
return qe(e) || e === 47;
|
|
3597
3632
|
}
|
|
3598
|
-
function
|
|
3633
|
+
function ai(e) {
|
|
3599
3634
|
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;
|
|
3600
3635
|
}
|
|
3601
|
-
function
|
|
3636
|
+
function sr(e) {
|
|
3602
3637
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3603
3638
|
}
|
|
3604
|
-
function
|
|
3639
|
+
function ui(e) {
|
|
3605
3640
|
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;
|
|
3606
3641
|
}
|
|
3607
|
-
function
|
|
3642
|
+
function Ye(e) {
|
|
3608
3643
|
e.forEach(function(t) {
|
|
3609
|
-
if (delete t.location,
|
|
3644
|
+
if (delete t.location, Jt(t) || qt(t))
|
|
3610
3645
|
for (var r in t.options)
|
|
3611
|
-
delete t.options[r].location,
|
|
3646
|
+
delete t.options[r].location, Ye(t.options[r].value);
|
|
3612
3647
|
else
|
|
3613
|
-
|
|
3648
|
+
zt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && ze(t.style) ? delete t.style.location : Yt(t) && Ye(t.children);
|
|
3614
3649
|
});
|
|
3615
3650
|
}
|
|
3616
|
-
function
|
|
3617
|
-
t === void 0 && (t = {}), t =
|
|
3618
|
-
var r = new
|
|
3651
|
+
function hi(e, t) {
|
|
3652
|
+
t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3653
|
+
var r = new oi(e, t).parse();
|
|
3619
3654
|
if (r.err) {
|
|
3620
3655
|
var n = SyntaxError(b[r.err.kind]);
|
|
3621
3656
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3622
3657
|
}
|
|
3623
|
-
return t != null && t.captureLocation ||
|
|
3658
|
+
return t != null && t.captureLocation || Ye(r.val), r.val;
|
|
3624
3659
|
}
|
|
3625
|
-
var
|
|
3660
|
+
var Z;
|
|
3626
3661
|
(function(e) {
|
|
3627
3662
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3628
|
-
})(
|
|
3629
|
-
var
|
|
3663
|
+
})(Z || (Z = {}));
|
|
3664
|
+
var Se = (
|
|
3630
3665
|
/** @class */
|
|
3631
3666
|
function(e) {
|
|
3632
|
-
|
|
3667
|
+
we(t, e);
|
|
3633
3668
|
function t(r, n, i) {
|
|
3634
3669
|
var o = e.call(this, r) || this;
|
|
3635
3670
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3638,48 +3673,48 @@ var xe = (
|
|
|
3638
3673
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3639
3674
|
}, t;
|
|
3640
3675
|
}(Error)
|
|
3641
|
-
),
|
|
3676
|
+
), Bt = (
|
|
3642
3677
|
/** @class */
|
|
3643
3678
|
function(e) {
|
|
3644
|
-
|
|
3679
|
+
we(t, e);
|
|
3645
3680
|
function t(r, n, i, o) {
|
|
3646
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3681
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
|
|
3647
3682
|
}
|
|
3648
3683
|
return t;
|
|
3649
|
-
}(
|
|
3650
|
-
),
|
|
3684
|
+
}(Se)
|
|
3685
|
+
), li = (
|
|
3651
3686
|
/** @class */
|
|
3652
3687
|
function(e) {
|
|
3653
|
-
|
|
3688
|
+
we(t, e);
|
|
3654
3689
|
function t(r, n, i) {
|
|
3655
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3690
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
|
|
3656
3691
|
}
|
|
3657
3692
|
return t;
|
|
3658
|
-
}(
|
|
3659
|
-
),
|
|
3693
|
+
}(Se)
|
|
3694
|
+
), ci = (
|
|
3660
3695
|
/** @class */
|
|
3661
3696
|
function(e) {
|
|
3662
|
-
|
|
3697
|
+
we(t, e);
|
|
3663
3698
|
function t(r, n) {
|
|
3664
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3699
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
|
|
3665
3700
|
}
|
|
3666
3701
|
return t;
|
|
3667
|
-
}(
|
|
3702
|
+
}(Se)
|
|
3668
3703
|
), S;
|
|
3669
3704
|
(function(e) {
|
|
3670
3705
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3671
3706
|
})(S || (S = {}));
|
|
3672
|
-
function
|
|
3707
|
+
function fi(e) {
|
|
3673
3708
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3674
3709
|
var n = t[t.length - 1];
|
|
3675
3710
|
return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
|
|
3676
3711
|
}, []);
|
|
3677
3712
|
}
|
|
3678
|
-
function
|
|
3713
|
+
function pi(e) {
|
|
3679
3714
|
return typeof e == "function";
|
|
3680
3715
|
}
|
|
3681
3716
|
function be(e, t, r, n, i, o, s) {
|
|
3682
|
-
if (e.length === 1 &&
|
|
3717
|
+
if (e.length === 1 && _t(e[0]))
|
|
3683
3718
|
return [
|
|
3684
3719
|
{
|
|
3685
3720
|
type: S.literal,
|
|
@@ -3688,59 +3723,59 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3688
3723
|
];
|
|
3689
3724
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3690
3725
|
var l = u[h];
|
|
3691
|
-
if (
|
|
3726
|
+
if (_t(l)) {
|
|
3692
3727
|
a.push({
|
|
3693
3728
|
type: S.literal,
|
|
3694
3729
|
value: l.value
|
|
3695
3730
|
});
|
|
3696
3731
|
continue;
|
|
3697
3732
|
}
|
|
3698
|
-
if (
|
|
3733
|
+
if (Cn(l)) {
|
|
3699
3734
|
typeof o == "number" && a.push({
|
|
3700
3735
|
type: S.literal,
|
|
3701
3736
|
value: r.getNumberFormat(t).format(o)
|
|
3702
3737
|
});
|
|
3703
3738
|
continue;
|
|
3704
3739
|
}
|
|
3705
|
-
var
|
|
3706
|
-
if (!(i &&
|
|
3707
|
-
throw new
|
|
3708
|
-
var
|
|
3709
|
-
if (
|
|
3710
|
-
(!
|
|
3711
|
-
type: typeof
|
|
3712
|
-
value:
|
|
3740
|
+
var c = l.value;
|
|
3741
|
+
if (!(i && c in i))
|
|
3742
|
+
throw new ci(c, s);
|
|
3743
|
+
var f = i[c];
|
|
3744
|
+
if (Mn(l)) {
|
|
3745
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3746
|
+
type: typeof f == "string" ? S.literal : S.object,
|
|
3747
|
+
value: f
|
|
3713
3748
|
});
|
|
3714
3749
|
continue;
|
|
3715
3750
|
}
|
|
3716
|
-
if (
|
|
3717
|
-
var
|
|
3751
|
+
if (Zt(l)) {
|
|
3752
|
+
var p = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
|
|
3718
3753
|
a.push({
|
|
3719
3754
|
type: S.literal,
|
|
3720
|
-
value: r.getDateTimeFormat(t,
|
|
3755
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3721
3756
|
});
|
|
3722
3757
|
continue;
|
|
3723
3758
|
}
|
|
3724
|
-
if (
|
|
3725
|
-
var
|
|
3759
|
+
if (Qt(l)) {
|
|
3760
|
+
var p = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3726
3761
|
a.push({
|
|
3727
3762
|
type: S.literal,
|
|
3728
|
-
value: r.getDateTimeFormat(t,
|
|
3763
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3729
3764
|
});
|
|
3730
3765
|
continue;
|
|
3731
3766
|
}
|
|
3732
|
-
if (
|
|
3733
|
-
var
|
|
3734
|
-
|
|
3767
|
+
if (zt(l)) {
|
|
3768
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Kt(l.style) ? l.style.parsedOptions : void 0;
|
|
3769
|
+
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3735
3770
|
type: S.literal,
|
|
3736
|
-
value: r.getNumberFormat(t,
|
|
3771
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3737
3772
|
});
|
|
3738
3773
|
continue;
|
|
3739
3774
|
}
|
|
3740
|
-
if (
|
|
3741
|
-
var m = l.children,
|
|
3742
|
-
if (!
|
|
3743
|
-
throw new
|
|
3775
|
+
if (Yt(l)) {
|
|
3776
|
+
var m = l.children, y = l.value, w = i[y];
|
|
3777
|
+
if (!pi(w))
|
|
3778
|
+
throw new li(y, "function", s);
|
|
3744
3779
|
var M = be(m, t, r, n, i, o), A = w(M.map(function(O) {
|
|
3745
3780
|
return O.value;
|
|
3746
3781
|
}));
|
|
@@ -3751,42 +3786,42 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3751
3786
|
};
|
|
3752
3787
|
}));
|
|
3753
3788
|
}
|
|
3754
|
-
if (
|
|
3755
|
-
var T = l.options[
|
|
3789
|
+
if (Jt(l)) {
|
|
3790
|
+
var T = l.options[f] || l.options.other;
|
|
3756
3791
|
if (!T)
|
|
3757
|
-
throw new
|
|
3792
|
+
throw new Bt(l.value, f, Object.keys(l.options), s);
|
|
3758
3793
|
a.push.apply(a, be(T.value, t, r, n, i));
|
|
3759
3794
|
continue;
|
|
3760
3795
|
}
|
|
3761
|
-
if (
|
|
3762
|
-
var T = l.options["=".concat(
|
|
3796
|
+
if (qt(l)) {
|
|
3797
|
+
var T = l.options["=".concat(f)];
|
|
3763
3798
|
if (!T) {
|
|
3764
3799
|
if (!Intl.PluralRules)
|
|
3765
|
-
throw new
|
|
3800
|
+
throw new Se(`Intl.PluralRules is not available in this environment.
|
|
3766
3801
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3767
|
-
`,
|
|
3768
|
-
var U = r.getPluralRules(t, { type: l.pluralType }).select(
|
|
3802
|
+
`, Z.MISSING_INTL_API, s);
|
|
3803
|
+
var U = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3769
3804
|
T = l.options[U] || l.options.other;
|
|
3770
3805
|
}
|
|
3771
3806
|
if (!T)
|
|
3772
|
-
throw new
|
|
3773
|
-
a.push.apply(a, be(T.value, t, r, n, i,
|
|
3807
|
+
throw new Bt(l.value, f, Object.keys(l.options), s);
|
|
3808
|
+
a.push.apply(a, be(T.value, t, r, n, i, f - (l.offset || 0)));
|
|
3774
3809
|
continue;
|
|
3775
3810
|
}
|
|
3776
3811
|
}
|
|
3777
|
-
return
|
|
3812
|
+
return fi(a);
|
|
3778
3813
|
}
|
|
3779
|
-
function
|
|
3780
|
-
return t ?
|
|
3781
|
-
return r[n] =
|
|
3814
|
+
function di(e, t) {
|
|
3815
|
+
return t ? I(I(I({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3816
|
+
return r[n] = I(I({}, e[n]), t[n] || {}), r;
|
|
3782
3817
|
}, {})) : e;
|
|
3783
3818
|
}
|
|
3784
|
-
function
|
|
3819
|
+
function mi(e, t) {
|
|
3785
3820
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3786
|
-
return r[n] =
|
|
3787
|
-
},
|
|
3821
|
+
return r[n] = di(e[n], t[n]), r;
|
|
3822
|
+
}, I({}, e)) : e;
|
|
3788
3823
|
}
|
|
3789
|
-
function
|
|
3824
|
+
function Me(e) {
|
|
3790
3825
|
return {
|
|
3791
3826
|
create: function() {
|
|
3792
3827
|
return {
|
|
@@ -3800,39 +3835,39 @@ function Ie(e) {
|
|
|
3800
3835
|
}
|
|
3801
3836
|
};
|
|
3802
3837
|
}
|
|
3803
|
-
function
|
|
3838
|
+
function bi(e) {
|
|
3804
3839
|
return e === void 0 && (e = {
|
|
3805
3840
|
number: {},
|
|
3806
3841
|
dateTime: {},
|
|
3807
3842
|
pluralRules: {}
|
|
3808
3843
|
}), {
|
|
3809
|
-
getNumberFormat:
|
|
3844
|
+
getNumberFormat: Ie(function() {
|
|
3810
3845
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3811
3846
|
r[n] = arguments[n];
|
|
3812
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3847
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
|
|
3813
3848
|
}, {
|
|
3814
|
-
cache:
|
|
3815
|
-
strategy:
|
|
3849
|
+
cache: Me(e.number),
|
|
3850
|
+
strategy: Ne.variadic
|
|
3816
3851
|
}),
|
|
3817
|
-
getDateTimeFormat:
|
|
3852
|
+
getDateTimeFormat: Ie(function() {
|
|
3818
3853
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3819
3854
|
r[n] = arguments[n];
|
|
3820
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3855
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
|
|
3821
3856
|
}, {
|
|
3822
|
-
cache:
|
|
3823
|
-
strategy:
|
|
3857
|
+
cache: Me(e.dateTime),
|
|
3858
|
+
strategy: Ne.variadic
|
|
3824
3859
|
}),
|
|
3825
|
-
getPluralRules:
|
|
3860
|
+
getPluralRules: Ie(function() {
|
|
3826
3861
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3827
3862
|
r[n] = arguments[n];
|
|
3828
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3863
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
|
|
3829
3864
|
}, {
|
|
3830
|
-
cache:
|
|
3831
|
-
strategy:
|
|
3865
|
+
cache: Me(e.pluralRules),
|
|
3866
|
+
strategy: Ne.variadic
|
|
3832
3867
|
})
|
|
3833
3868
|
};
|
|
3834
3869
|
}
|
|
3835
|
-
var
|
|
3870
|
+
var yi = (
|
|
3836
3871
|
/** @class */
|
|
3837
3872
|
function() {
|
|
3838
3873
|
function e(t, r, n, i) {
|
|
@@ -3846,8 +3881,8 @@ var di = (
|
|
|
3846
3881
|
var u = o.formatToParts(h);
|
|
3847
3882
|
if (u.length === 1)
|
|
3848
3883
|
return u[0].value;
|
|
3849
|
-
var l = u.reduce(function(
|
|
3850
|
-
return !
|
|
3884
|
+
var l = u.reduce(function(c, f) {
|
|
3885
|
+
return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3851
3886
|
}, []);
|
|
3852
3887
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3853
3888
|
}, this.formatToParts = function(h) {
|
|
@@ -3864,13 +3899,13 @@ var di = (
|
|
|
3864
3899
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3865
3900
|
var s = i || {};
|
|
3866
3901
|
s.formatters;
|
|
3867
|
-
var a =
|
|
3868
|
-
this.ast = e.__parse(t,
|
|
3902
|
+
var a = Hn(s, ["formatters"]);
|
|
3903
|
+
this.ast = e.__parse(t, I(I({}, a), { locale: this.resolvedLocale }));
|
|
3869
3904
|
} else
|
|
3870
3905
|
this.ast = t;
|
|
3871
3906
|
if (!Array.isArray(this.ast))
|
|
3872
3907
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3873
|
-
this.formats =
|
|
3908
|
+
this.formats = mi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
|
|
3874
3909
|
}
|
|
3875
3910
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3876
3911
|
get: function() {
|
|
@@ -3883,7 +3918,7 @@ var di = (
|
|
|
3883
3918
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3884
3919
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3885
3920
|
}
|
|
3886
|
-
}, e.__parse =
|
|
3921
|
+
}, e.__parse = hi, e.formats = {
|
|
3887
3922
|
number: {
|
|
3888
3923
|
integer: {
|
|
3889
3924
|
maximumFractionDigits: 0
|
|
@@ -3944,7 +3979,7 @@ var di = (
|
|
|
3944
3979
|
}, e;
|
|
3945
3980
|
}()
|
|
3946
3981
|
);
|
|
3947
|
-
function
|
|
3982
|
+
function gi(e, t) {
|
|
3948
3983
|
if (t == null)
|
|
3949
3984
|
return;
|
|
3950
3985
|
if (t in e)
|
|
@@ -3965,92 +4000,92 @@ function pi(e, t) {
|
|
|
3965
4000
|
n = void 0;
|
|
3966
4001
|
return n;
|
|
3967
4002
|
}
|
|
3968
|
-
const $ = {},
|
|
4003
|
+
const $ = {}, vi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), ar = (e, t) => {
|
|
3969
4004
|
if (t == null)
|
|
3970
4005
|
return;
|
|
3971
4006
|
if (t in $ && e in $[t])
|
|
3972
4007
|
return $[t][e];
|
|
3973
|
-
const r =
|
|
4008
|
+
const r = Te(t);
|
|
3974
4009
|
for (let n = 0; n < r.length; n++) {
|
|
3975
|
-
const i = r[n], o =
|
|
4010
|
+
const i = r[n], o = Ei(i, e);
|
|
3976
4011
|
if (o)
|
|
3977
|
-
return
|
|
4012
|
+
return vi(e, t, o);
|
|
3978
4013
|
}
|
|
3979
4014
|
};
|
|
3980
|
-
let
|
|
3981
|
-
const he =
|
|
3982
|
-
function
|
|
3983
|
-
return
|
|
4015
|
+
let nt;
|
|
4016
|
+
const he = xe({});
|
|
4017
|
+
function _i(e) {
|
|
4018
|
+
return nt[e] || null;
|
|
3984
4019
|
}
|
|
3985
|
-
function
|
|
3986
|
-
return e in
|
|
4020
|
+
function ur(e) {
|
|
4021
|
+
return e in nt;
|
|
3987
4022
|
}
|
|
3988
|
-
function
|
|
3989
|
-
if (!
|
|
4023
|
+
function Ei(e, t) {
|
|
4024
|
+
if (!ur(e))
|
|
3990
4025
|
return null;
|
|
3991
|
-
const r =
|
|
3992
|
-
return
|
|
4026
|
+
const r = _i(e);
|
|
4027
|
+
return gi(r, t);
|
|
3993
4028
|
}
|
|
3994
|
-
function
|
|
4029
|
+
function xi(e) {
|
|
3995
4030
|
if (e == null)
|
|
3996
4031
|
return;
|
|
3997
|
-
const t =
|
|
4032
|
+
const t = Te(e);
|
|
3998
4033
|
for (let r = 0; r < t.length; r++) {
|
|
3999
4034
|
const n = t[r];
|
|
4000
|
-
if (
|
|
4035
|
+
if (ur(n))
|
|
4001
4036
|
return n;
|
|
4002
4037
|
}
|
|
4003
4038
|
}
|
|
4004
|
-
function
|
|
4005
|
-
delete $[e], he.update((r) => (r[e] =
|
|
4039
|
+
function hr(e, ...t) {
|
|
4040
|
+
delete $[e], he.update((r) => (r[e] = Tn.all([r[e] || {}, ...t]), r));
|
|
4006
4041
|
}
|
|
4007
|
-
|
|
4042
|
+
q(
|
|
4008
4043
|
[he],
|
|
4009
4044
|
([e]) => Object.keys(e)
|
|
4010
4045
|
);
|
|
4011
|
-
he.subscribe((e) =>
|
|
4012
|
-
const
|
|
4013
|
-
function
|
|
4014
|
-
|
|
4046
|
+
he.subscribe((e) => nt = e);
|
|
4047
|
+
const ye = {};
|
|
4048
|
+
function wi(e, t) {
|
|
4049
|
+
ye[e].delete(t), ye[e].size === 0 && delete ye[e];
|
|
4015
4050
|
}
|
|
4016
|
-
function
|
|
4017
|
-
return
|
|
4051
|
+
function lr(e) {
|
|
4052
|
+
return ye[e];
|
|
4018
4053
|
}
|
|
4019
|
-
function
|
|
4020
|
-
return
|
|
4021
|
-
const r =
|
|
4054
|
+
function Si(e) {
|
|
4055
|
+
return Te(e).map((t) => {
|
|
4056
|
+
const r = lr(t);
|
|
4022
4057
|
return [t, r ? [...r] : []];
|
|
4023
4058
|
}).filter(([, t]) => t.length > 0);
|
|
4024
4059
|
}
|
|
4025
|
-
function
|
|
4026
|
-
return e == null ? !1 :
|
|
4060
|
+
function Ke(e) {
|
|
4061
|
+
return e == null ? !1 : Te(e).some(
|
|
4027
4062
|
(t) => {
|
|
4028
4063
|
var r;
|
|
4029
|
-
return (r =
|
|
4064
|
+
return (r = lr(t)) == null ? void 0 : r.size;
|
|
4030
4065
|
}
|
|
4031
4066
|
);
|
|
4032
4067
|
}
|
|
4033
|
-
function
|
|
4068
|
+
function Ti(e, t) {
|
|
4034
4069
|
return Promise.all(
|
|
4035
|
-
t.map((n) => (
|
|
4036
|
-
).then((n) =>
|
|
4037
|
-
}
|
|
4038
|
-
const
|
|
4039
|
-
function
|
|
4040
|
-
if (!
|
|
4041
|
-
return e in
|
|
4042
|
-
const t =
|
|
4043
|
-
return
|
|
4070
|
+
t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
|
|
4071
|
+
).then((n) => hr(e, ...n));
|
|
4072
|
+
}
|
|
4073
|
+
const ee = {};
|
|
4074
|
+
function cr(e) {
|
|
4075
|
+
if (!Ke(e))
|
|
4076
|
+
return e in ee ? ee[e] : Promise.resolve();
|
|
4077
|
+
const t = Si(e);
|
|
4078
|
+
return ee[e] = Promise.all(
|
|
4044
4079
|
t.map(
|
|
4045
|
-
([r, n]) =>
|
|
4080
|
+
([r, n]) => Ti(r, n)
|
|
4046
4081
|
)
|
|
4047
4082
|
).then(() => {
|
|
4048
|
-
if (
|
|
4049
|
-
return
|
|
4050
|
-
delete
|
|
4051
|
-
}),
|
|
4083
|
+
if (Ke(e))
|
|
4084
|
+
return cr(e);
|
|
4085
|
+
delete ee[e];
|
|
4086
|
+
}), ee[e];
|
|
4052
4087
|
}
|
|
4053
|
-
const
|
|
4088
|
+
const Hi = {
|
|
4054
4089
|
number: {
|
|
4055
4090
|
scientific: { notation: "scientific" },
|
|
4056
4091
|
engineering: { notation: "engineering" },
|
|
@@ -4079,135 +4114,135 @@ const xi = {
|
|
|
4079
4114
|
timeZoneName: "short"
|
|
4080
4115
|
}
|
|
4081
4116
|
}
|
|
4082
|
-
},
|
|
4117
|
+
}, Bi = {
|
|
4083
4118
|
fallbackLocale: null,
|
|
4084
4119
|
loadingDelay: 200,
|
|
4085
|
-
formats:
|
|
4120
|
+
formats: Hi,
|
|
4086
4121
|
warnOnMissingMessages: !0,
|
|
4087
4122
|
handleMissingMessage: void 0,
|
|
4088
4123
|
ignoreTag: !0
|
|
4089
|
-
},
|
|
4090
|
-
function
|
|
4091
|
-
return
|
|
4092
|
-
}
|
|
4093
|
-
const
|
|
4094
|
-
var
|
|
4095
|
-
for (var r in t)
|
|
4096
|
-
|
|
4097
|
-
if (
|
|
4098
|
-
for (var r of
|
|
4099
|
-
|
|
4124
|
+
}, Pi = Bi;
|
|
4125
|
+
function Q() {
|
|
4126
|
+
return Pi;
|
|
4127
|
+
}
|
|
4128
|
+
const Ce = xe(!1);
|
|
4129
|
+
var Ai = Object.defineProperty, Oi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
|
|
4130
|
+
for (var r in t || (t = {}))
|
|
4131
|
+
Ni.call(t, r) && At(e, r, t[r]);
|
|
4132
|
+
if (Pt)
|
|
4133
|
+
for (var r of Pt(t))
|
|
4134
|
+
Li.call(t, r) && At(e, r, t[r]);
|
|
4100
4135
|
return e;
|
|
4101
|
-
},
|
|
4102
|
-
let
|
|
4103
|
-
const
|
|
4104
|
-
function
|
|
4136
|
+
}, Ci = (e, t) => Oi(e, Ii(t));
|
|
4137
|
+
let et;
|
|
4138
|
+
const ve = xe(null);
|
|
4139
|
+
function Ot(e) {
|
|
4105
4140
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4106
4141
|
}
|
|
4107
|
-
function
|
|
4108
|
-
const r =
|
|
4109
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4142
|
+
function Te(e, t = Q().fallbackLocale) {
|
|
4143
|
+
const r = Ot(e);
|
|
4144
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
|
|
4110
4145
|
}
|
|
4111
4146
|
function G() {
|
|
4112
|
-
return
|
|
4147
|
+
return et != null ? et : void 0;
|
|
4113
4148
|
}
|
|
4114
|
-
|
|
4115
|
-
|
|
4149
|
+
ve.subscribe((e) => {
|
|
4150
|
+
et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4116
4151
|
});
|
|
4117
|
-
const
|
|
4118
|
-
if (e &&
|
|
4119
|
-
const { loadingDelay: t } =
|
|
4152
|
+
const Ri = (e) => {
|
|
4153
|
+
if (e && xi(e) && Ke(e)) {
|
|
4154
|
+
const { loadingDelay: t } = Q();
|
|
4120
4155
|
let r;
|
|
4121
4156
|
return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
|
|
4122
|
-
() =>
|
|
4157
|
+
() => Ce.set(!0),
|
|
4123
4158
|
t
|
|
4124
|
-
) :
|
|
4125
|
-
|
|
4159
|
+
) : Ce.set(!0), cr(e).then(() => {
|
|
4160
|
+
ve.set(e);
|
|
4126
4161
|
}).finally(() => {
|
|
4127
|
-
clearTimeout(r),
|
|
4162
|
+
clearTimeout(r), Ce.set(!1);
|
|
4128
4163
|
});
|
|
4129
4164
|
}
|
|
4130
|
-
return
|
|
4131
|
-
},
|
|
4132
|
-
set:
|
|
4133
|
-
}),
|
|
4165
|
+
return ve.set(e);
|
|
4166
|
+
}, Y = Ci(Mi({}, ve), {
|
|
4167
|
+
set: Ri
|
|
4168
|
+
}), He = (e) => {
|
|
4134
4169
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4135
4170
|
return (n) => {
|
|
4136
4171
|
const i = JSON.stringify(n);
|
|
4137
4172
|
return i in t ? t[i] : t[i] = e(n);
|
|
4138
4173
|
};
|
|
4139
4174
|
};
|
|
4140
|
-
var
|
|
4175
|
+
var $i = Object.defineProperty, _e = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
|
|
4141
4176
|
for (var r in t || (t = {}))
|
|
4142
|
-
|
|
4143
|
-
if (
|
|
4144
|
-
for (var r of
|
|
4145
|
-
|
|
4177
|
+
fr.call(t, r) && It(e, r, t[r]);
|
|
4178
|
+
if (_e)
|
|
4179
|
+
for (var r of _e(t))
|
|
4180
|
+
pr.call(t, r) && It(e, r, t[r]);
|
|
4146
4181
|
return e;
|
|
4147
|
-
},
|
|
4182
|
+
}, K = (e, t) => {
|
|
4148
4183
|
var r = {};
|
|
4149
4184
|
for (var n in e)
|
|
4150
|
-
|
|
4151
|
-
if (e != null &&
|
|
4152
|
-
for (var n of
|
|
4153
|
-
t.indexOf(n) < 0 &&
|
|
4185
|
+
fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4186
|
+
if (e != null && _e)
|
|
4187
|
+
for (var n of _e(e))
|
|
4188
|
+
t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
|
|
4154
4189
|
return r;
|
|
4155
4190
|
};
|
|
4156
|
-
const
|
|
4157
|
-
const { formats: r } =
|
|
4191
|
+
const oe = (e, t) => {
|
|
4192
|
+
const { formats: r } = Q();
|
|
4158
4193
|
if (e in r && t in r[e])
|
|
4159
4194
|
return r[e][t];
|
|
4160
4195
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4161
|
-
},
|
|
4196
|
+
}, Ui = He(
|
|
4162
4197
|
(e) => {
|
|
4163
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4198
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4164
4199
|
if (r == null)
|
|
4165
4200
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4166
|
-
return n && (i =
|
|
4201
|
+
return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
|
|
4167
4202
|
}
|
|
4168
|
-
),
|
|
4203
|
+
), Di = He(
|
|
4169
4204
|
(e) => {
|
|
4170
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4205
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4171
4206
|
if (r == null)
|
|
4172
4207
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4173
|
-
return n ? i =
|
|
4208
|
+
return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4174
4209
|
}
|
|
4175
|
-
),
|
|
4210
|
+
), Gi = He(
|
|
4176
4211
|
(e) => {
|
|
4177
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4212
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4178
4213
|
if (r == null)
|
|
4179
4214
|
throw new Error(
|
|
4180
4215
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4181
4216
|
);
|
|
4182
|
-
return n ? i =
|
|
4217
|
+
return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4183
4218
|
}
|
|
4184
|
-
),
|
|
4219
|
+
), Fi = (e = {}) => {
|
|
4185
4220
|
var t = e, {
|
|
4186
4221
|
locale: r = G()
|
|
4187
|
-
} = t, n =
|
|
4222
|
+
} = t, n = K(t, [
|
|
4188
4223
|
"locale"
|
|
4189
4224
|
]);
|
|
4190
|
-
return
|
|
4191
|
-
},
|
|
4225
|
+
return Ui(it({ locale: r }, n));
|
|
4226
|
+
}, ji = (e = {}) => {
|
|
4192
4227
|
var t = e, {
|
|
4193
4228
|
locale: r = G()
|
|
4194
|
-
} = t, n =
|
|
4229
|
+
} = t, n = K(t, [
|
|
4195
4230
|
"locale"
|
|
4196
4231
|
]);
|
|
4197
|
-
return
|
|
4198
|
-
},
|
|
4232
|
+
return Di(it({ locale: r }, n));
|
|
4233
|
+
}, ki = (e = {}) => {
|
|
4199
4234
|
var t = e, {
|
|
4200
4235
|
locale: r = G()
|
|
4201
|
-
} = t, n =
|
|
4236
|
+
} = t, n = K(t, [
|
|
4202
4237
|
"locale"
|
|
4203
4238
|
]);
|
|
4204
|
-
return
|
|
4205
|
-
},
|
|
4239
|
+
return Gi(it({ locale: r }, n));
|
|
4240
|
+
}, Wi = He(
|
|
4206
4241
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4207
|
-
(e, t = G()) => new
|
|
4208
|
-
ignoreTag:
|
|
4242
|
+
(e, t = G()) => new yi(e, t, Q().formats, {
|
|
4243
|
+
ignoreTag: Q().ignoreTag
|
|
4209
4244
|
})
|
|
4210
|
-
),
|
|
4245
|
+
), Vi = (e, t = {}) => {
|
|
4211
4246
|
var r, n, i, o;
|
|
4212
4247
|
let s = t;
|
|
4213
4248
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4220,39 +4255,39 @@ const se = (e, t) => {
|
|
|
4220
4255
|
throw new Error(
|
|
4221
4256
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4222
4257
|
);
|
|
4223
|
-
let l =
|
|
4258
|
+
let l = ar(e, h);
|
|
4224
4259
|
if (!l)
|
|
4225
|
-
l = (o = (i = (n = (r =
|
|
4260
|
+
l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4226
4261
|
else if (typeof l != "string")
|
|
4227
4262
|
return console.warn(
|
|
4228
4263
|
`[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.`
|
|
4229
4264
|
), l;
|
|
4230
4265
|
if (!a)
|
|
4231
4266
|
return l;
|
|
4232
|
-
let
|
|
4267
|
+
let c = l;
|
|
4233
4268
|
try {
|
|
4234
|
-
|
|
4235
|
-
} catch (
|
|
4236
|
-
|
|
4269
|
+
c = Wi(l, h).format(a);
|
|
4270
|
+
} catch (f) {
|
|
4271
|
+
f instanceof Error && console.warn(
|
|
4237
4272
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4238
|
-
|
|
4273
|
+
f.message
|
|
4239
4274
|
);
|
|
4240
4275
|
}
|
|
4241
|
-
return
|
|
4242
|
-
},
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
window.emWidgets = { topic:
|
|
4248
|
-
const
|
|
4249
|
-
function
|
|
4250
|
-
|
|
4251
|
-
}
|
|
4252
|
-
function
|
|
4253
|
-
|
|
4254
|
-
}
|
|
4255
|
-
const
|
|
4276
|
+
return c;
|
|
4277
|
+
}, Xi = (e, t) => ki(t).format(e), zi = (e, t) => ji(t).format(e), Zi = (e, t) => Fi(t).format(e), Qi = (e, t = G()) => ar(e, t), Ji = q([Y, he], () => Vi);
|
|
4278
|
+
q([Y], () => Xi);
|
|
4279
|
+
q([Y], () => zi);
|
|
4280
|
+
q([Y], () => Zi);
|
|
4281
|
+
q([Y, he], () => Qi);
|
|
4282
|
+
window.emWidgets = { topic: un };
|
|
4283
|
+
const qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4284
|
+
function Nt(e, t) {
|
|
4285
|
+
hr(e, t);
|
|
4286
|
+
}
|
|
4287
|
+
function Yi(e) {
|
|
4288
|
+
Y.set(e);
|
|
4289
|
+
}
|
|
4290
|
+
const Lt = {
|
|
4256
4291
|
en: {
|
|
4257
4292
|
titlePlayerWithdrawal: "Withdrawal",
|
|
4258
4293
|
loading: "Loading, please wait ..."
|
|
@@ -4286,130 +4321,130 @@ const At = {
|
|
|
4286
4321
|
loading: "Loading, please wait ..."
|
|
4287
4322
|
}
|
|
4288
4323
|
};
|
|
4289
|
-
function
|
|
4290
|
-
|
|
4324
|
+
function Ki(e) {
|
|
4325
|
+
Sr(e, "svelte-19p9ovb", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.WithdrawalWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.WithdrawalWrapper.WithdrawalWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.WithdrawalTitleMobile{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
|
|
4291
4326
|
}
|
|
4292
|
-
function
|
|
4293
|
-
let t, r, n, i, o, s, a, h, u, l,
|
|
4327
|
+
function eo(e) {
|
|
4328
|
+
let t, r, n, i, o, s, a, h, u, l, c = (
|
|
4294
4329
|
/*$_*/
|
|
4295
4330
|
e[3]("titlePlayerWithdrawal") + ""
|
|
4296
|
-
),
|
|
4331
|
+
), f, p, m;
|
|
4297
4332
|
return {
|
|
4298
4333
|
c() {
|
|
4299
|
-
t =
|
|
4334
|
+
t = L("div"), r = F("svg"), n = F("defs"), i = F("style"), o = re(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Re(), l = L("h2"), f = re(c), E(h, "class", "aaa"), E(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(h, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(s, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(l, "class", "WithdrawalTitleMobile"), E(t, "class", "MenuReturnButton"), E(t, "part", "MenuReturnButton");
|
|
4300
4335
|
},
|
|
4301
|
-
m(
|
|
4302
|
-
|
|
4336
|
+
m(y, w) {
|
|
4337
|
+
ae(y, t, w), x(t, r), x(r, n), x(n, i), x(i, o), x(r, s), x(s, a), x(a, h), x(t, u), x(t, l), x(l, f), p || (m = Br(
|
|
4303
4338
|
t,
|
|
4304
4339
|
"click",
|
|
4305
4340
|
/*click_handler*/
|
|
4306
4341
|
e[16]
|
|
4307
|
-
),
|
|
4342
|
+
), p = !0);
|
|
4308
4343
|
},
|
|
4309
|
-
p(
|
|
4344
|
+
p(y, w) {
|
|
4310
4345
|
w & /*$_*/
|
|
4311
|
-
8 &&
|
|
4312
|
-
|
|
4346
|
+
8 && c !== (c = /*$_*/
|
|
4347
|
+
y[3]("titlePlayerWithdrawal") + "") && rt(f, c);
|
|
4313
4348
|
},
|
|
4314
|
-
d(
|
|
4315
|
-
|
|
4349
|
+
d(y) {
|
|
4350
|
+
y && J(t), p = !1, m();
|
|
4316
4351
|
}
|
|
4317
4352
|
};
|
|
4318
4353
|
}
|
|
4319
|
-
function
|
|
4354
|
+
function to(e) {
|
|
4320
4355
|
let t, r, n;
|
|
4321
4356
|
return {
|
|
4322
4357
|
c() {
|
|
4323
|
-
t =
|
|
4358
|
+
t = L("div"), r = L("iframe"), lt(r.src, n = /*iframeUrl*/
|
|
4324
4359
|
e[2]) || E(r, "src", n), E(r, "title", "Withdrawal Iframe"), E(t, "class", "WithdrawalIframeWrapper");
|
|
4325
4360
|
},
|
|
4326
4361
|
m(i, o) {
|
|
4327
|
-
|
|
4362
|
+
ae(i, t, o), x(t, r);
|
|
4328
4363
|
},
|
|
4329
4364
|
p(i, o) {
|
|
4330
4365
|
o & /*iframeUrl*/
|
|
4331
|
-
4 && !
|
|
4366
|
+
4 && !lt(r.src, n = /*iframeUrl*/
|
|
4332
4367
|
i[2]) && E(r, "src", n);
|
|
4333
4368
|
},
|
|
4334
4369
|
d(i) {
|
|
4335
|
-
i &&
|
|
4370
|
+
i && J(t);
|
|
4336
4371
|
}
|
|
4337
4372
|
};
|
|
4338
4373
|
}
|
|
4339
|
-
function
|
|
4374
|
+
function ro(e) {
|
|
4340
4375
|
let t, r = (
|
|
4341
4376
|
/*$_*/
|
|
4342
4377
|
e[3]("loading") + ""
|
|
4343
4378
|
), n;
|
|
4344
4379
|
return {
|
|
4345
4380
|
c() {
|
|
4346
|
-
t =
|
|
4381
|
+
t = L("p"), n = re(r);
|
|
4347
4382
|
},
|
|
4348
4383
|
m(i, o) {
|
|
4349
|
-
|
|
4384
|
+
ae(i, t, o), x(t, n);
|
|
4350
4385
|
},
|
|
4351
4386
|
p(i, o) {
|
|
4352
4387
|
o & /*$_*/
|
|
4353
4388
|
8 && r !== (r = /*$_*/
|
|
4354
|
-
i[3]("loading") + "") &&
|
|
4389
|
+
i[3]("loading") + "") && rt(n, r);
|
|
4355
4390
|
},
|
|
4356
4391
|
d(i) {
|
|
4357
|
-
i &&
|
|
4392
|
+
i && J(t);
|
|
4358
4393
|
}
|
|
4359
4394
|
};
|
|
4360
4395
|
}
|
|
4361
|
-
function
|
|
4396
|
+
function no(e) {
|
|
4362
4397
|
let t, r, n, i = (
|
|
4363
4398
|
/*$_*/
|
|
4364
4399
|
e[3]("titlePlayerWithdrawal") + ""
|
|
4365
4400
|
), o, s, a = (
|
|
4366
4401
|
/*isMobile*/
|
|
4367
|
-
e[4] &&
|
|
4402
|
+
e[4] && eo(e)
|
|
4368
4403
|
);
|
|
4369
|
-
function h(
|
|
4404
|
+
function h(c, f) {
|
|
4370
4405
|
return (
|
|
4371
4406
|
/*isLoading*/
|
|
4372
|
-
|
|
4407
|
+
c[1] ? ro : to
|
|
4373
4408
|
);
|
|
4374
4409
|
}
|
|
4375
4410
|
let u = h(e), l = u(e);
|
|
4376
4411
|
return {
|
|
4377
4412
|
c() {
|
|
4378
|
-
t =
|
|
4413
|
+
t = L("div"), a && a.c(), r = Re(), n = L("h2"), o = re(i), s = Re(), l.c(), E(n, "class", "WithdrawalTitle " + /*isMobile*/
|
|
4379
4414
|
(e[4] ? "WithdrawalTitleNone" : "")), E(t, "class", "WithdrawalWrapper " + /*isMobile*/
|
|
4380
4415
|
(e[4] ? "WithdrawalWrapperMobile" : ""));
|
|
4381
4416
|
},
|
|
4382
|
-
m(
|
|
4383
|
-
|
|
4417
|
+
m(c, f) {
|
|
4418
|
+
ae(c, t, f), a && a.m(t, null), x(t, r), x(t, n), x(n, o), x(t, s), l.m(t, null), e[17](t);
|
|
4384
4419
|
},
|
|
4385
|
-
p(
|
|
4420
|
+
p(c, [f]) {
|
|
4386
4421
|
/*isMobile*/
|
|
4387
|
-
|
|
4422
|
+
c[4] && a.p(c, f), f & /*$_*/
|
|
4388
4423
|
8 && i !== (i = /*$_*/
|
|
4389
|
-
|
|
4424
|
+
c[3]("titlePlayerWithdrawal") + "") && rt(o, i), u === (u = h(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(t, null)));
|
|
4390
4425
|
},
|
|
4391
4426
|
i: P,
|
|
4392
4427
|
o: P,
|
|
4393
|
-
d(
|
|
4394
|
-
|
|
4428
|
+
d(c) {
|
|
4429
|
+
c && J(t), a && a.d(), l.d(), e[17](null);
|
|
4395
4430
|
}
|
|
4396
4431
|
};
|
|
4397
4432
|
}
|
|
4398
|
-
function
|
|
4433
|
+
function io(e, t, r) {
|
|
4399
4434
|
let n;
|
|
4400
|
-
|
|
4401
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { hasdefaultamount: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { mbsource:
|
|
4435
|
+
wr(e, Ji, (d) => r(3, n = d));
|
|
4436
|
+
let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { hasdefaultamount: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t, { currency: p = "" } = t, m, y = window.navigator.userAgent, w = qi(y) !== "PC", M = !0, A = 0, T = "";
|
|
4402
4437
|
const U = () => {
|
|
4403
|
-
fetch(
|
|
4438
|
+
fetch(f).then((C) => C.json()).then((C) => {
|
|
4404
4439
|
Object.keys(C).forEach((R) => {
|
|
4405
|
-
|
|
4440
|
+
Nt(R, C[R]);
|
|
4406
4441
|
});
|
|
4407
4442
|
}).catch((C) => {
|
|
4408
4443
|
console.log(C);
|
|
4409
4444
|
});
|
|
4410
4445
|
};
|
|
4411
|
-
Object.keys(
|
|
4412
|
-
|
|
4446
|
+
Object.keys(Lt).forEach((d) => {
|
|
4447
|
+
Nt(d, Lt[d]);
|
|
4413
4448
|
});
|
|
4414
4449
|
const O = () => {
|
|
4415
4450
|
window.postMessage(
|
|
@@ -4419,14 +4454,14 @@ function eo(e, t, r) {
|
|
|
4419
4454
|
},
|
|
4420
4455
|
window.location.href
|
|
4421
4456
|
);
|
|
4422
|
-
}, D = (
|
|
4423
|
-
if (
|
|
4424
|
-
switch (
|
|
4457
|
+
}, D = (d) => {
|
|
4458
|
+
if (d.data) {
|
|
4459
|
+
switch (d.data.type) {
|
|
4425
4460
|
case "ProfileDetailsData":
|
|
4426
|
-
r(6,
|
|
4461
|
+
r(6, p = d.data.profileDetails.currency);
|
|
4427
4462
|
break;
|
|
4428
4463
|
}
|
|
4429
|
-
switch (
|
|
4464
|
+
switch (d.data.redirect) {
|
|
4430
4465
|
case "mm-hc-casino":
|
|
4431
4466
|
window.postMessage({ type: "GoToCasino" }, window.location.href);
|
|
4432
4467
|
break;
|
|
@@ -4450,9 +4485,9 @@ function eo(e, t, r) {
|
|
|
4450
4485
|
}
|
|
4451
4486
|
}
|
|
4452
4487
|
}, le = () => {
|
|
4453
|
-
let
|
|
4454
|
-
if (
|
|
4455
|
-
switch (
|
|
4488
|
+
let d = new URL(`${i}/v1/player/${s}/hostedcashier/initializewithdraw`);
|
|
4489
|
+
if (d.searchParams.append("language", a), h)
|
|
4490
|
+
switch (p) {
|
|
4456
4491
|
case "USD":
|
|
4457
4492
|
A = 0.4;
|
|
4458
4493
|
break;
|
|
@@ -4464,14 +4499,14 @@ function eo(e, t, r) {
|
|
|
4464
4499
|
method: "POST",
|
|
4465
4500
|
headers: {
|
|
4466
4501
|
"X-SessionId": o,
|
|
4467
|
-
currency:
|
|
4502
|
+
currency: p || "EUR",
|
|
4468
4503
|
amount: A,
|
|
4469
4504
|
cashierMode: "Default",
|
|
4470
4505
|
IsShortCashier: !1,
|
|
4471
4506
|
accept: "application/json"
|
|
4472
4507
|
}
|
|
4473
4508
|
};
|
|
4474
|
-
fetch(
|
|
4509
|
+
fetch(d.href, C).then((R) => R.json()).then(
|
|
4475
4510
|
(R) => {
|
|
4476
4511
|
r(1, M = !1), r(2, T = R.CashierUrl);
|
|
4477
4512
|
},
|
|
@@ -4479,28 +4514,28 @@ function eo(e, t, r) {
|
|
|
4479
4514
|
console.error(R);
|
|
4480
4515
|
}
|
|
4481
4516
|
);
|
|
4482
|
-
},
|
|
4483
|
-
|
|
4517
|
+
}, dr = () => {
|
|
4518
|
+
Yi(a);
|
|
4484
4519
|
};
|
|
4485
|
-
|
|
4520
|
+
Ir(() => (window.addEventListener("message", D, !1), () => {
|
|
4486
4521
|
window.removeEventListener("message", D);
|
|
4487
4522
|
}));
|
|
4488
|
-
const
|
|
4489
|
-
function
|
|
4490
|
-
|
|
4491
|
-
m =
|
|
4523
|
+
const mr = () => O();
|
|
4524
|
+
function br(d) {
|
|
4525
|
+
$e[d ? "unshift" : "push"](() => {
|
|
4526
|
+
m = d, r(0, m);
|
|
4492
4527
|
});
|
|
4493
4528
|
}
|
|
4494
|
-
return e.$$set = (
|
|
4495
|
-
"endpoint" in
|
|
4529
|
+
return e.$$set = (d) => {
|
|
4530
|
+
"endpoint" in d && r(7, i = d.endpoint), "session" in d && r(8, o = d.session), "playerid" in d && r(9, s = d.playerid), "lang" in d && r(10, a = d.lang), "hasdefaultamount" in d && r(11, h = d.hasdefaultamount), "clientstyling" in d && r(12, u = d.clientstyling), "clientstylingurl" in d && r(13, l = d.clientstylingurl), "mbsource" in d && r(14, c = d.mbsource), "translationurl" in d && r(15, f = d.translationurl), "currency" in d && r(6, p = d.currency);
|
|
4496
4531
|
}, e.$$.update = () => {
|
|
4497
4532
|
e.$$.dirty & /*lang*/
|
|
4498
|
-
1024 && a &&
|
|
4499
|
-
4097 && u && m &&
|
|
4500
|
-
8193 && l && m &&
|
|
4501
|
-
16385 &&
|
|
4502
|
-
32768 &&
|
|
4503
|
-
1984 && o && s && i &&
|
|
4533
|
+
1024 && a && dr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4534
|
+
4097 && u && m && Vr(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4535
|
+
8193 && l && m && Xr(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4536
|
+
16385 && c && m && zr(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
|
|
4537
|
+
32768 && f && U(), e.$$.dirty & /*session, playerid, endpoint, currency, lang*/
|
|
4538
|
+
1984 && o && s && i && p && a && le();
|
|
4504
4539
|
}, [
|
|
4505
4540
|
m,
|
|
4506
4541
|
M,
|
|
@@ -4508,7 +4543,7 @@ function eo(e, t, r) {
|
|
|
4508
4543
|
n,
|
|
4509
4544
|
w,
|
|
4510
4545
|
O,
|
|
4511
|
-
|
|
4546
|
+
p,
|
|
4512
4547
|
i,
|
|
4513
4548
|
o,
|
|
4514
4549
|
s,
|
|
@@ -4516,20 +4551,20 @@ function eo(e, t, r) {
|
|
|
4516
4551
|
h,
|
|
4517
4552
|
u,
|
|
4518
4553
|
l,
|
|
4519
|
-
f,
|
|
4520
4554
|
c,
|
|
4521
|
-
|
|
4522
|
-
|
|
4555
|
+
f,
|
|
4556
|
+
mr,
|
|
4557
|
+
br
|
|
4523
4558
|
];
|
|
4524
4559
|
}
|
|
4525
|
-
class
|
|
4560
|
+
class oo extends kr {
|
|
4526
4561
|
constructor(t) {
|
|
4527
|
-
super(),
|
|
4562
|
+
super(), Fr(
|
|
4528
4563
|
this,
|
|
4529
4564
|
t,
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4565
|
+
io,
|
|
4566
|
+
no,
|
|
4567
|
+
Ct,
|
|
4533
4568
|
{
|
|
4534
4569
|
endpoint: 7,
|
|
4535
4570
|
session: 8,
|
|
@@ -4542,7 +4577,7 @@ class to extends Dr {
|
|
|
4542
4577
|
translationurl: 15,
|
|
4543
4578
|
currency: 6
|
|
4544
4579
|
},
|
|
4545
|
-
|
|
4580
|
+
Ki
|
|
4546
4581
|
);
|
|
4547
4582
|
}
|
|
4548
4583
|
get endpoint() {
|
|
@@ -4606,7 +4641,7 @@ class to extends Dr {
|
|
|
4606
4641
|
this.$$set({ currency: t }), B();
|
|
4607
4642
|
}
|
|
4608
4643
|
}
|
|
4609
|
-
|
|
4644
|
+
jr(oo, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currency: {} }, [], [], !0);
|
|
4610
4645
|
export {
|
|
4611
|
-
|
|
4646
|
+
oo as default
|
|
4612
4647
|
};
|