@everymatrix/player-pending-withdrawals 1.53.12 → 1.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerPendingWithdrawals-CUt17-cb.js → PlayerPendingWithdrawals-BNG7keHv.js} +1033 -996
- package/components/PlayerPendingWithdrawals-CVSzPz4L.cjs +5 -0
- package/es2015/player-pending-withdrawals.cjs +1 -0
- package/es2015/player-pending-withdrawals.js +16 -0
- package/package.json +8 -12
- package/esnext/player-pending-withdrawals.js +0 -14
package/components/{PlayerPendingWithdrawals-CUt17-cb.js → PlayerPendingWithdrawals-BNG7keHv.js}
RENAMED
|
@@ -1,50 +1,79 @@
|
|
|
1
|
-
|
|
1
|
+
var lr = Object.defineProperty, fr = Object.defineProperties;
|
|
2
|
+
var cr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var tt = Object.getOwnPropertySymbols;
|
|
4
|
+
var dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var we = (e, t, r) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
|
|
6
|
+
for (var r in t || (t = {}))
|
|
7
|
+
dr.call(t, r) && we(e, r, t[r]);
|
|
8
|
+
if (tt)
|
|
9
|
+
for (var r of tt(t))
|
|
10
|
+
pr.call(t, r) && we(e, r, t[r]);
|
|
11
|
+
return e;
|
|
12
|
+
}, nt = (e, t) => fr(e, cr(t));
|
|
13
|
+
var P = (e, t, r) => we(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
+
var it = (e, t, r) => new Promise((n, i) => {
|
|
15
|
+
var s = (h) => {
|
|
16
|
+
try {
|
|
17
|
+
a(r.next(h));
|
|
18
|
+
} catch (u) {
|
|
19
|
+
i(u);
|
|
20
|
+
}
|
|
21
|
+
}, o = (h) => {
|
|
22
|
+
try {
|
|
23
|
+
a(r.throw(h));
|
|
24
|
+
} catch (u) {
|
|
25
|
+
i(u);
|
|
26
|
+
}
|
|
27
|
+
}, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
|
|
28
|
+
a((r = r.apply(e, t)).next());
|
|
29
|
+
});
|
|
30
|
+
function A() {
|
|
2
31
|
}
|
|
3
|
-
function
|
|
32
|
+
function Ot(e) {
|
|
4
33
|
return e();
|
|
5
34
|
}
|
|
6
|
-
function
|
|
35
|
+
function st() {
|
|
7
36
|
return /* @__PURE__ */ Object.create(null);
|
|
8
37
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
38
|
+
function oe(e) {
|
|
39
|
+
e.forEach(Ot);
|
|
11
40
|
}
|
|
12
|
-
function
|
|
41
|
+
function Qe(e) {
|
|
13
42
|
return typeof e == "function";
|
|
14
43
|
}
|
|
15
|
-
function
|
|
44
|
+
function It(e, t) {
|
|
16
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
46
|
}
|
|
18
|
-
let
|
|
19
|
-
function
|
|
20
|
-
return e === t ? !0 : (
|
|
47
|
+
let le;
|
|
48
|
+
function ot(e, t) {
|
|
49
|
+
return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
|
|
21
50
|
}
|
|
22
|
-
function
|
|
51
|
+
function mr(e) {
|
|
23
52
|
return Object.keys(e).length === 0;
|
|
24
53
|
}
|
|
25
|
-
function
|
|
54
|
+
function Nt(e, ...t) {
|
|
26
55
|
if (e == null) {
|
|
27
56
|
for (const n of t)
|
|
28
57
|
n(void 0);
|
|
29
|
-
return
|
|
58
|
+
return A;
|
|
30
59
|
}
|
|
31
60
|
const r = e.subscribe(...t);
|
|
32
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
62
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function br(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(Nt(t, r));
|
|
36
65
|
}
|
|
37
66
|
function x(e, t) {
|
|
38
67
|
e.appendChild(t);
|
|
39
68
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
69
|
+
function gr(e, t, r) {
|
|
70
|
+
const n = yr(e);
|
|
42
71
|
if (!n.getElementById(t)) {
|
|
43
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
72
|
+
const i = L("style");
|
|
73
|
+
i.id = t, i.textContent = r, vr(n, i);
|
|
45
74
|
}
|
|
46
75
|
}
|
|
47
|
-
function
|
|
76
|
+
function yr(e) {
|
|
48
77
|
if (!e) return document;
|
|
49
78
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
50
79
|
return t && /** @type {ShadowRoot} */
|
|
@@ -53,45 +82,45 @@ function ar(e) {
|
|
|
53
82
|
t
|
|
54
83
|
) : e.ownerDocument;
|
|
55
84
|
}
|
|
56
|
-
function
|
|
85
|
+
function vr(e, t) {
|
|
57
86
|
return x(
|
|
58
87
|
/** @type {Document} */
|
|
59
88
|
e.head || e,
|
|
60
89
|
t
|
|
61
90
|
), t.sheet;
|
|
62
91
|
}
|
|
63
|
-
function
|
|
92
|
+
function ae(e, t, r) {
|
|
64
93
|
e.insertBefore(t, r || null);
|
|
65
94
|
}
|
|
66
|
-
function
|
|
95
|
+
function Y(e) {
|
|
67
96
|
e.parentNode && e.parentNode.removeChild(e);
|
|
68
97
|
}
|
|
69
|
-
function
|
|
98
|
+
function L(e) {
|
|
70
99
|
return document.createElement(e);
|
|
71
100
|
}
|
|
72
|
-
function
|
|
101
|
+
function F(e) {
|
|
73
102
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
74
103
|
}
|
|
75
|
-
function
|
|
104
|
+
function ne(e) {
|
|
76
105
|
return document.createTextNode(e);
|
|
77
106
|
}
|
|
78
|
-
function
|
|
79
|
-
return
|
|
107
|
+
function Ne() {
|
|
108
|
+
return ne(" ");
|
|
80
109
|
}
|
|
81
|
-
function
|
|
110
|
+
function _r(e, t, r, n) {
|
|
82
111
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
83
112
|
}
|
|
84
113
|
function E(e, t, r) {
|
|
85
114
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
86
115
|
}
|
|
87
|
-
function
|
|
116
|
+
function Er(e) {
|
|
88
117
|
return Array.from(e.childNodes);
|
|
89
118
|
}
|
|
90
|
-
function
|
|
119
|
+
function Je(e, t) {
|
|
91
120
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
92
121
|
t);
|
|
93
122
|
}
|
|
94
|
-
function
|
|
123
|
+
function xr(e) {
|
|
95
124
|
const t = {};
|
|
96
125
|
return e.childNodes.forEach(
|
|
97
126
|
/** @param {Element} node */
|
|
@@ -100,234 +129,238 @@ function fr(e) {
|
|
|
100
129
|
}
|
|
101
130
|
), t;
|
|
102
131
|
}
|
|
103
|
-
let
|
|
104
|
-
function
|
|
105
|
-
|
|
132
|
+
let Ye;
|
|
133
|
+
function re(e) {
|
|
134
|
+
Ye = e;
|
|
106
135
|
}
|
|
107
|
-
const
|
|
108
|
-
let
|
|
109
|
-
const
|
|
110
|
-
let
|
|
111
|
-
function
|
|
112
|
-
|
|
136
|
+
const W = [], Le = [];
|
|
137
|
+
let V = [];
|
|
138
|
+
const at = [], Sr = /* @__PURE__ */ Promise.resolve();
|
|
139
|
+
let Ce = !1;
|
|
140
|
+
function wr() {
|
|
141
|
+
Ce || (Ce = !0, Sr.then(I));
|
|
113
142
|
}
|
|
114
|
-
function
|
|
115
|
-
|
|
143
|
+
function Me(e) {
|
|
144
|
+
V.push(e);
|
|
116
145
|
}
|
|
117
|
-
const
|
|
118
|
-
let
|
|
119
|
-
function
|
|
120
|
-
if (
|
|
146
|
+
const Te = /* @__PURE__ */ new Set();
|
|
147
|
+
let j = 0;
|
|
148
|
+
function I() {
|
|
149
|
+
if (j !== 0)
|
|
121
150
|
return;
|
|
122
|
-
const e =
|
|
151
|
+
const e = Ye;
|
|
123
152
|
do {
|
|
124
153
|
try {
|
|
125
|
-
for (;
|
|
126
|
-
const t =
|
|
127
|
-
|
|
154
|
+
for (; j < W.length; ) {
|
|
155
|
+
const t = W[j];
|
|
156
|
+
j++, re(t), Tr(t.$$);
|
|
128
157
|
}
|
|
129
158
|
} catch (t) {
|
|
130
|
-
throw
|
|
159
|
+
throw W.length = 0, j = 0, t;
|
|
131
160
|
}
|
|
132
|
-
for (
|
|
133
|
-
for (let t = 0; t <
|
|
134
|
-
const r =
|
|
135
|
-
|
|
161
|
+
for (re(null), W.length = 0, j = 0; Le.length; ) Le.pop()();
|
|
162
|
+
for (let t = 0; t < V.length; t += 1) {
|
|
163
|
+
const r = V[t];
|
|
164
|
+
Te.has(r) || (Te.add(r), r());
|
|
136
165
|
}
|
|
137
|
-
|
|
138
|
-
} while (
|
|
139
|
-
for (;
|
|
140
|
-
|
|
141
|
-
|
|
166
|
+
V.length = 0;
|
|
167
|
+
} while (W.length);
|
|
168
|
+
for (; at.length; )
|
|
169
|
+
at.pop()();
|
|
170
|
+
Ce = !1, Te.clear(), re(e);
|
|
142
171
|
}
|
|
143
|
-
function
|
|
172
|
+
function Tr(e) {
|
|
144
173
|
if (e.fragment !== null) {
|
|
145
|
-
e.update(),
|
|
174
|
+
e.update(), oe(e.before_update);
|
|
146
175
|
const t = e.dirty;
|
|
147
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
176
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
|
|
148
177
|
}
|
|
149
178
|
}
|
|
150
|
-
function
|
|
179
|
+
function Hr(e) {
|
|
151
180
|
const t = [], r = [];
|
|
152
|
-
|
|
181
|
+
V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
|
|
153
182
|
}
|
|
154
|
-
const
|
|
155
|
-
function
|
|
156
|
-
e && e.i && (
|
|
183
|
+
const Pr = /* @__PURE__ */ new Set();
|
|
184
|
+
function Br(e, t) {
|
|
185
|
+
e && e.i && (Pr.delete(e), e.i(t));
|
|
157
186
|
}
|
|
158
|
-
function
|
|
187
|
+
function Ar(e, t, r) {
|
|
159
188
|
const { fragment: n, after_update: i } = e.$$;
|
|
160
|
-
n && n.m(t, r),
|
|
161
|
-
const s = e.$$.on_mount.map(
|
|
162
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
163
|
-
}), i.forEach(
|
|
189
|
+
n && n.m(t, r), Me(() => {
|
|
190
|
+
const s = e.$$.on_mount.map(Ot).filter(Qe);
|
|
191
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : oe(s), e.$$.on_mount = [];
|
|
192
|
+
}), i.forEach(Me);
|
|
164
193
|
}
|
|
165
|
-
function
|
|
194
|
+
function Or(e, t) {
|
|
166
195
|
const r = e.$$;
|
|
167
|
-
r.fragment !== null && (
|
|
196
|
+
r.fragment !== null && (Hr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
168
197
|
}
|
|
169
|
-
function
|
|
170
|
-
e.$$.dirty[0] === -1 && (
|
|
198
|
+
function Ir(e, t) {
|
|
199
|
+
e.$$.dirty[0] === -1 && (W.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
171
200
|
}
|
|
172
|
-
function
|
|
173
|
-
const
|
|
174
|
-
|
|
201
|
+
function Nr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
202
|
+
const h = Ye;
|
|
203
|
+
re(e);
|
|
175
204
|
const u = e.$$ = {
|
|
176
205
|
fragment: null,
|
|
177
206
|
ctx: [],
|
|
178
207
|
// state
|
|
179
208
|
props: s,
|
|
180
|
-
update:
|
|
209
|
+
update: A,
|
|
181
210
|
not_equal: i,
|
|
182
|
-
bound:
|
|
211
|
+
bound: st(),
|
|
183
212
|
// lifecycle
|
|
184
213
|
on_mount: [],
|
|
185
214
|
on_destroy: [],
|
|
186
215
|
on_disconnect: [],
|
|
187
216
|
before_update: [],
|
|
188
217
|
after_update: [],
|
|
189
|
-
context: new Map(t.context || (
|
|
218
|
+
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
190
219
|
// everything else
|
|
191
|
-
callbacks:
|
|
192
|
-
dirty:
|
|
220
|
+
callbacks: st(),
|
|
221
|
+
dirty: a,
|
|
193
222
|
skip_bound: !1,
|
|
194
|
-
root: t.target ||
|
|
223
|
+
root: t.target || h.$$.root
|
|
195
224
|
};
|
|
196
|
-
|
|
197
|
-
let
|
|
225
|
+
o && o(u.root);
|
|
226
|
+
let l = !1;
|
|
198
227
|
if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
|
|
199
228
|
const v = d.length ? d[0] : c;
|
|
200
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v),
|
|
201
|
-
}), u.update(),
|
|
229
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), l && Ir(e, f)), c;
|
|
230
|
+
}), u.update(), l = !0, oe(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
202
231
|
if (t.hydrate) {
|
|
203
|
-
const f =
|
|
204
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
232
|
+
const f = Er(t.target);
|
|
233
|
+
u.fragment && u.fragment.l(f), f.forEach(Y);
|
|
205
234
|
} else
|
|
206
235
|
u.fragment && u.fragment.c();
|
|
207
|
-
t.intro &&
|
|
236
|
+
t.intro && Br(e.$$.fragment), Ar(e, t.target, t.anchor), I();
|
|
208
237
|
}
|
|
209
|
-
|
|
210
|
-
}
|
|
211
|
-
let
|
|
212
|
-
typeof HTMLElement == "function" && (
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
238
|
+
re(h);
|
|
239
|
+
}
|
|
240
|
+
let Lt;
|
|
241
|
+
typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
|
|
242
|
+
constructor(t, r, n) {
|
|
243
|
+
super();
|
|
244
|
+
/** The Svelte component constructor */
|
|
245
|
+
P(this, "$$ctor");
|
|
246
|
+
/** Slots */
|
|
247
|
+
P(this, "$$s");
|
|
248
|
+
/** The Svelte component instance */
|
|
249
|
+
P(this, "$$c");
|
|
250
|
+
/** Whether or not the custom element is connected */
|
|
251
|
+
P(this, "$$cn", !1);
|
|
252
|
+
/** Component props data */
|
|
253
|
+
P(this, "$$d", {});
|
|
254
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
255
|
+
P(this, "$$r", !1);
|
|
256
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
257
|
+
P(this, "$$p_d", {});
|
|
258
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
259
|
+
P(this, "$$l", {});
|
|
260
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
261
|
+
P(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
262
|
+
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
233
263
|
}
|
|
234
|
-
addEventListener(
|
|
235
|
-
if (this.$$l[
|
|
236
|
-
const
|
|
237
|
-
this.$$l_u.set(
|
|
264
|
+
addEventListener(t, r, n) {
|
|
265
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
|
|
266
|
+
const i = this.$$c.$on(t, r);
|
|
267
|
+
this.$$l_u.set(r, i);
|
|
238
268
|
}
|
|
239
|
-
super.addEventListener(
|
|
269
|
+
super.addEventListener(t, r, n);
|
|
240
270
|
}
|
|
241
|
-
removeEventListener(
|
|
242
|
-
if (super.removeEventListener(
|
|
243
|
-
const
|
|
244
|
-
|
|
271
|
+
removeEventListener(t, r, n) {
|
|
272
|
+
if (super.removeEventListener(t, r, n), this.$$c) {
|
|
273
|
+
const i = this.$$l_u.get(r);
|
|
274
|
+
i && (i(), this.$$l_u.delete(r));
|
|
245
275
|
}
|
|
246
276
|
}
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
277
|
+
connectedCallback() {
|
|
278
|
+
return it(this, null, function* () {
|
|
279
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
280
|
+
let t = function(s) {
|
|
281
|
+
return () => {
|
|
282
|
+
let o;
|
|
283
|
+
return {
|
|
284
|
+
c: function() {
|
|
285
|
+
o = L("slot"), s !== "default" && E(o, "name", s);
|
|
286
|
+
},
|
|
287
|
+
/**
|
|
288
|
+
* @param {HTMLElement} target
|
|
289
|
+
* @param {HTMLElement} [anchor]
|
|
290
|
+
*/
|
|
291
|
+
m: function(u, l) {
|
|
292
|
+
ae(u, o, l);
|
|
293
|
+
},
|
|
294
|
+
d: function(u) {
|
|
295
|
+
u && Y(o);
|
|
296
|
+
}
|
|
297
|
+
};
|
|
266
298
|
};
|
|
267
299
|
};
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
s in this.$$d || (this.$$d[s] = ce(s, i.value, this.$$p_d, "toProp"));
|
|
277
|
-
}
|
|
278
|
-
for (const i in this.$$p_d)
|
|
279
|
-
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
280
|
-
this.$$c = new this.$$ctor({
|
|
281
|
-
target: this.shadowRoot || this,
|
|
282
|
-
props: {
|
|
283
|
-
...this.$$d,
|
|
284
|
-
$$slots: t,
|
|
285
|
-
$$scope: {
|
|
286
|
-
ctx: []
|
|
287
|
-
}
|
|
300
|
+
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
301
|
+
return;
|
|
302
|
+
const r = {}, n = xr(this);
|
|
303
|
+
for (const s of this.$$s)
|
|
304
|
+
s in n && (r[s] = [t(s)]);
|
|
305
|
+
for (const s of this.attributes) {
|
|
306
|
+
const o = this.$$g_p(s.name);
|
|
307
|
+
o in this.$$d || (this.$$d[o] = de(o, s.value, this.$$p_d, "toProp"));
|
|
288
308
|
}
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
this.$$
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
309
|
+
for (const s in this.$$p_d)
|
|
310
|
+
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
311
|
+
this.$$c = new this.$$ctor({
|
|
312
|
+
target: this.shadowRoot || this,
|
|
313
|
+
props: nt(rt({}, this.$$d), {
|
|
314
|
+
$$slots: r,
|
|
315
|
+
$$scope: {
|
|
316
|
+
ctx: []
|
|
317
|
+
}
|
|
318
|
+
})
|
|
319
|
+
});
|
|
320
|
+
const i = () => {
|
|
321
|
+
this.$$r = !0;
|
|
322
|
+
for (const s in this.$$p_d)
|
|
323
|
+
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
324
|
+
const o = de(
|
|
325
|
+
s,
|
|
326
|
+
this.$$d[s],
|
|
327
|
+
this.$$p_d,
|
|
328
|
+
"toAttribute"
|
|
329
|
+
);
|
|
330
|
+
o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
|
|
331
|
+
}
|
|
332
|
+
this.$$r = !1;
|
|
333
|
+
};
|
|
334
|
+
this.$$c.$$.after_update.push(i), i();
|
|
335
|
+
for (const s in this.$$l)
|
|
336
|
+
for (const o of this.$$l[s]) {
|
|
337
|
+
const a = this.$$c.$on(s, o);
|
|
338
|
+
this.$$l_u.set(o, a);
|
|
301
339
|
}
|
|
302
|
-
this.$$
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
for (const i in this.$$l)
|
|
306
|
-
for (const s of this.$$l[i]) {
|
|
307
|
-
const a = this.$$c.$on(i, s);
|
|
308
|
-
this.$$l_u.set(s, a);
|
|
309
|
-
}
|
|
310
|
-
this.$$l = {};
|
|
311
|
-
}
|
|
340
|
+
this.$$l = {};
|
|
341
|
+
}
|
|
342
|
+
});
|
|
312
343
|
}
|
|
313
344
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
314
345
|
// and setting attributes through setAttribute etc, this is helpful
|
|
315
|
-
attributeChangedCallback(
|
|
316
|
-
|
|
346
|
+
attributeChangedCallback(t, r, n) {
|
|
347
|
+
var i;
|
|
348
|
+
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] }));
|
|
317
349
|
}
|
|
318
350
|
disconnectedCallback() {
|
|
319
351
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
320
352
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
321
353
|
});
|
|
322
354
|
}
|
|
323
|
-
$$g_p(
|
|
355
|
+
$$g_p(t) {
|
|
324
356
|
return Object.keys(this.$$p_d).find(
|
|
325
|
-
(
|
|
326
|
-
) ||
|
|
357
|
+
(r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
|
|
358
|
+
) || t;
|
|
327
359
|
}
|
|
328
360
|
});
|
|
329
|
-
function
|
|
330
|
-
|
|
361
|
+
function de(e, t, r, n) {
|
|
362
|
+
var s;
|
|
363
|
+
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
331
364
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
332
365
|
return t;
|
|
333
366
|
if (n === "toAttribute")
|
|
@@ -338,7 +371,7 @@ function ce(e, t, r, n) {
|
|
|
338
371
|
case "Boolean":
|
|
339
372
|
return t ? "" : null;
|
|
340
373
|
case "Number":
|
|
341
|
-
return t
|
|
374
|
+
return t == null ? null : t;
|
|
342
375
|
default:
|
|
343
376
|
return t;
|
|
344
377
|
}
|
|
@@ -355,55 +388,59 @@ function ce(e, t, r, n) {
|
|
|
355
388
|
return t;
|
|
356
389
|
}
|
|
357
390
|
}
|
|
358
|
-
function
|
|
359
|
-
let
|
|
391
|
+
function Lr(e, t, r, n, i, s) {
|
|
392
|
+
let o = class extends Lt {
|
|
360
393
|
constructor() {
|
|
361
394
|
super(e, r, i), this.$$p_d = t;
|
|
362
395
|
}
|
|
363
396
|
static get observedAttributes() {
|
|
364
397
|
return Object.keys(t).map(
|
|
365
|
-
(
|
|
398
|
+
(a) => (t[a].attribute || a).toLowerCase()
|
|
366
399
|
);
|
|
367
400
|
}
|
|
368
401
|
};
|
|
369
|
-
return Object.keys(t).forEach((
|
|
370
|
-
Object.defineProperty(
|
|
402
|
+
return Object.keys(t).forEach((a) => {
|
|
403
|
+
Object.defineProperty(o.prototype, a, {
|
|
371
404
|
get() {
|
|
372
|
-
return this.$$c &&
|
|
405
|
+
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
373
406
|
},
|
|
374
|
-
set(
|
|
375
|
-
|
|
407
|
+
set(h) {
|
|
408
|
+
var u;
|
|
409
|
+
h = de(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
|
376
410
|
}
|
|
377
411
|
});
|
|
378
|
-
}), n.forEach((
|
|
379
|
-
Object.defineProperty(
|
|
412
|
+
}), n.forEach((a) => {
|
|
413
|
+
Object.defineProperty(o.prototype, a, {
|
|
380
414
|
get() {
|
|
381
|
-
|
|
415
|
+
var h;
|
|
416
|
+
return (h = this.$$c) == null ? void 0 : h[a];
|
|
382
417
|
}
|
|
383
418
|
});
|
|
384
419
|
}), e.element = /** @type {any} */
|
|
385
|
-
|
|
386
|
-
}
|
|
387
|
-
class
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
420
|
+
o, o;
|
|
421
|
+
}
|
|
422
|
+
class Cr {
|
|
423
|
+
constructor() {
|
|
424
|
+
/**
|
|
425
|
+
* ### PRIVATE API
|
|
426
|
+
*
|
|
427
|
+
* Do not use, may change at any time
|
|
428
|
+
*
|
|
429
|
+
* @type {any}
|
|
430
|
+
*/
|
|
431
|
+
P(this, "$$");
|
|
432
|
+
/**
|
|
433
|
+
* ### PRIVATE API
|
|
434
|
+
*
|
|
435
|
+
* Do not use, may change at any time
|
|
436
|
+
*
|
|
437
|
+
* @type {any}
|
|
438
|
+
*/
|
|
439
|
+
P(this, "$$set");
|
|
440
|
+
}
|
|
404
441
|
/** @returns {void} */
|
|
405
442
|
$destroy() {
|
|
406
|
-
|
|
443
|
+
Or(this, 1), this.$destroy = A;
|
|
407
444
|
}
|
|
408
445
|
/**
|
|
409
446
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -412,8 +449,8 @@ class Sr {
|
|
|
412
449
|
* @returns {() => void}
|
|
413
450
|
*/
|
|
414
451
|
$on(t, r) {
|
|
415
|
-
if (!
|
|
416
|
-
return
|
|
452
|
+
if (!Qe(r))
|
|
453
|
+
return A;
|
|
417
454
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
418
455
|
return n.push(r), () => {
|
|
419
456
|
const i = n.indexOf(r);
|
|
@@ -425,22 +462,22 @@ class Sr {
|
|
|
425
462
|
* @returns {void}
|
|
426
463
|
*/
|
|
427
464
|
$set(t) {
|
|
428
|
-
this.$$set && !
|
|
465
|
+
this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
429
466
|
}
|
|
430
467
|
}
|
|
431
|
-
const
|
|
432
|
-
typeof window
|
|
433
|
-
var
|
|
434
|
-
return
|
|
468
|
+
const Mr = "4";
|
|
469
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mr);
|
|
470
|
+
var Re = function(e, t) {
|
|
471
|
+
return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
435
472
|
r.__proto__ = n;
|
|
436
473
|
} || function(r, n) {
|
|
437
474
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
438
|
-
},
|
|
475
|
+
}, Re(e, t);
|
|
439
476
|
};
|
|
440
|
-
function
|
|
477
|
+
function C(e, t) {
|
|
441
478
|
if (typeof t != "function" && t !== null)
|
|
442
479
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
443
|
-
|
|
480
|
+
Re(e, t);
|
|
444
481
|
function r() {
|
|
445
482
|
this.constructor = e;
|
|
446
483
|
}
|
|
@@ -455,7 +492,7 @@ var g = function() {
|
|
|
455
492
|
return t;
|
|
456
493
|
}, g.apply(this, arguments);
|
|
457
494
|
};
|
|
458
|
-
function
|
|
495
|
+
function Rr(e, t) {
|
|
459
496
|
var r = {};
|
|
460
497
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
461
498
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -463,7 +500,7 @@ function Tr(e, t) {
|
|
|
463
500
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
464
501
|
return r;
|
|
465
502
|
}
|
|
466
|
-
function
|
|
503
|
+
function $e(e) {
|
|
467
504
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
468
505
|
if (r) return r.call(e);
|
|
469
506
|
if (e && typeof e.length == "number") return {
|
|
@@ -473,38 +510,38 @@ function Me(e) {
|
|
|
473
510
|
};
|
|
474
511
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
475
512
|
}
|
|
476
|
-
function
|
|
513
|
+
function Ue(e, t) {
|
|
477
514
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
478
515
|
if (!r) return e;
|
|
479
|
-
var n = r.call(e), i, s = [],
|
|
516
|
+
var n = r.call(e), i, s = [], o;
|
|
480
517
|
try {
|
|
481
518
|
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) s.push(i.value);
|
|
482
|
-
} catch (
|
|
483
|
-
|
|
519
|
+
} catch (a) {
|
|
520
|
+
o = { error: a };
|
|
484
521
|
} finally {
|
|
485
522
|
try {
|
|
486
523
|
i && !i.done && (r = n.return) && r.call(n);
|
|
487
524
|
} finally {
|
|
488
|
-
if (
|
|
525
|
+
if (o) throw o.error;
|
|
489
526
|
}
|
|
490
527
|
}
|
|
491
528
|
return s;
|
|
492
529
|
}
|
|
493
|
-
function
|
|
530
|
+
function X(e, t, r) {
|
|
494
531
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
|
|
495
532
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
496
533
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
497
534
|
}
|
|
498
|
-
function
|
|
535
|
+
function N(e) {
|
|
499
536
|
return typeof e == "function";
|
|
500
537
|
}
|
|
501
|
-
function
|
|
538
|
+
function Ct(e) {
|
|
502
539
|
var t = function(n) {
|
|
503
540
|
Error.call(n), n.stack = new Error().stack;
|
|
504
541
|
}, r = e(t);
|
|
505
542
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
506
543
|
}
|
|
507
|
-
var
|
|
544
|
+
var He = Ct(function(e) {
|
|
508
545
|
return function(r) {
|
|
509
546
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
510
547
|
` + r.map(function(n, i) {
|
|
@@ -513,13 +550,13 @@ var we = Bt(function(e) {
|
|
|
513
550
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
514
551
|
};
|
|
515
552
|
});
|
|
516
|
-
function
|
|
553
|
+
function De(e, t) {
|
|
517
554
|
if (e) {
|
|
518
555
|
var r = e.indexOf(t);
|
|
519
556
|
0 <= r && e.splice(r, 1);
|
|
520
557
|
}
|
|
521
558
|
}
|
|
522
|
-
var
|
|
559
|
+
var ve = function() {
|
|
523
560
|
function e(t) {
|
|
524
561
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
525
562
|
}
|
|
@@ -527,42 +564,42 @@ var ye = function() {
|
|
|
527
564
|
var t, r, n, i, s;
|
|
528
565
|
if (!this.closed) {
|
|
529
566
|
this.closed = !0;
|
|
530
|
-
var
|
|
531
|
-
if (
|
|
532
|
-
if (this._parentage = null, Array.isArray(
|
|
567
|
+
var o = this._parentage;
|
|
568
|
+
if (o)
|
|
569
|
+
if (this._parentage = null, Array.isArray(o))
|
|
533
570
|
try {
|
|
534
|
-
for (var
|
|
535
|
-
var u =
|
|
571
|
+
for (var a = $e(o), h = a.next(); !h.done; h = a.next()) {
|
|
572
|
+
var u = h.value;
|
|
536
573
|
u.remove(this);
|
|
537
574
|
}
|
|
538
575
|
} catch (p) {
|
|
539
576
|
t = { error: p };
|
|
540
577
|
} finally {
|
|
541
578
|
try {
|
|
542
|
-
|
|
579
|
+
h && !h.done && (r = a.return) && r.call(a);
|
|
543
580
|
} finally {
|
|
544
581
|
if (t) throw t.error;
|
|
545
582
|
}
|
|
546
583
|
}
|
|
547
584
|
else
|
|
548
|
-
|
|
549
|
-
var
|
|
550
|
-
if (
|
|
585
|
+
o.remove(this);
|
|
586
|
+
var l = this.initialTeardown;
|
|
587
|
+
if (N(l))
|
|
551
588
|
try {
|
|
552
|
-
|
|
589
|
+
l();
|
|
553
590
|
} catch (p) {
|
|
554
|
-
s = p instanceof
|
|
591
|
+
s = p instanceof He ? p.errors : [p];
|
|
555
592
|
}
|
|
556
593
|
var f = this._finalizers;
|
|
557
594
|
if (f) {
|
|
558
595
|
this._finalizers = null;
|
|
559
596
|
try {
|
|
560
|
-
for (var c =
|
|
597
|
+
for (var c = $e(f), d = c.next(); !d.done; d = c.next()) {
|
|
561
598
|
var v = d.value;
|
|
562
599
|
try {
|
|
563
|
-
|
|
600
|
+
ut(v);
|
|
564
601
|
} catch (p) {
|
|
565
|
-
s = s
|
|
602
|
+
s = s != null ? s : [], p instanceof He ? s = X(X([], Ue(s)), Ue(p.errors)) : s.push(p);
|
|
566
603
|
}
|
|
567
604
|
}
|
|
568
605
|
} catch (p) {
|
|
@@ -576,13 +613,13 @@ var ye = function() {
|
|
|
576
613
|
}
|
|
577
614
|
}
|
|
578
615
|
if (s)
|
|
579
|
-
throw new
|
|
616
|
+
throw new He(s);
|
|
580
617
|
}
|
|
581
618
|
}, e.prototype.add = function(t) {
|
|
582
619
|
var r;
|
|
583
620
|
if (t && t !== this)
|
|
584
621
|
if (this.closed)
|
|
585
|
-
|
|
622
|
+
ut(t);
|
|
586
623
|
else {
|
|
587
624
|
if (t instanceof e) {
|
|
588
625
|
if (t.closed || t._hasParent(this))
|
|
@@ -599,56 +636,56 @@ var ye = function() {
|
|
|
599
636
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
600
637
|
}, e.prototype._removeParent = function(t) {
|
|
601
638
|
var r = this._parentage;
|
|
602
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
639
|
+
r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
|
|
603
640
|
}, e.prototype.remove = function(t) {
|
|
604
641
|
var r = this._finalizers;
|
|
605
|
-
r &&
|
|
642
|
+
r && De(r, t), t instanceof e && t._removeParent(this);
|
|
606
643
|
}, e.EMPTY = function() {
|
|
607
644
|
var t = new e();
|
|
608
645
|
return t.closed = !0, t;
|
|
609
646
|
}(), e;
|
|
610
|
-
}(),
|
|
611
|
-
function
|
|
612
|
-
return e instanceof
|
|
647
|
+
}(), Mt = ve.EMPTY;
|
|
648
|
+
function Rt(e) {
|
|
649
|
+
return e instanceof ve || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
|
|
613
650
|
}
|
|
614
|
-
function
|
|
615
|
-
|
|
651
|
+
function ut(e) {
|
|
652
|
+
N(e) ? e() : e.unsubscribe();
|
|
616
653
|
}
|
|
617
|
-
var
|
|
654
|
+
var $r = {
|
|
618
655
|
onUnhandledError: null,
|
|
619
656
|
onStoppedNotification: null,
|
|
620
657
|
Promise: void 0,
|
|
621
658
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
622
659
|
useDeprecatedNextContext: !1
|
|
623
|
-
},
|
|
660
|
+
}, Ur = {
|
|
624
661
|
setTimeout: function(e, t) {
|
|
625
662
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
626
663
|
r[n - 2] = arguments[n];
|
|
627
|
-
return setTimeout.apply(void 0,
|
|
664
|
+
return setTimeout.apply(void 0, X([e, t], Ue(r)));
|
|
628
665
|
},
|
|
629
666
|
clearTimeout: function(e) {
|
|
630
667
|
return clearTimeout(e);
|
|
631
668
|
},
|
|
632
669
|
delegate: void 0
|
|
633
670
|
};
|
|
634
|
-
function
|
|
635
|
-
|
|
671
|
+
function Dr(e) {
|
|
672
|
+
Ur.setTimeout(function() {
|
|
636
673
|
throw e;
|
|
637
674
|
});
|
|
638
675
|
}
|
|
639
|
-
function
|
|
676
|
+
function ht() {
|
|
640
677
|
}
|
|
641
|
-
function
|
|
678
|
+
function pe(e) {
|
|
642
679
|
e();
|
|
643
680
|
}
|
|
644
|
-
var
|
|
645
|
-
|
|
681
|
+
var $t = function(e) {
|
|
682
|
+
C(t, e);
|
|
646
683
|
function t(r) {
|
|
647
684
|
var n = e.call(this) || this;
|
|
648
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
685
|
+
return n.isStopped = !1, r ? (n.destination = r, Rt(r) && r.add(n)) : n.destination = jr, n;
|
|
649
686
|
}
|
|
650
687
|
return t.create = function(r, n, i) {
|
|
651
|
-
return new
|
|
688
|
+
return new Ge(r, n, i);
|
|
652
689
|
}, t.prototype.next = function(r) {
|
|
653
690
|
this.isStopped || this._next(r);
|
|
654
691
|
}, t.prototype.error = function(r) {
|
|
@@ -672,7 +709,7 @@ var It = function(e) {
|
|
|
672
709
|
this.unsubscribe();
|
|
673
710
|
}
|
|
674
711
|
}, t;
|
|
675
|
-
}(
|
|
712
|
+
}(ve), Gr = function() {
|
|
676
713
|
function e(t) {
|
|
677
714
|
this.partialObserver = t;
|
|
678
715
|
}
|
|
@@ -682,7 +719,7 @@ var It = function(e) {
|
|
|
682
719
|
try {
|
|
683
720
|
r.next(t);
|
|
684
721
|
} catch (n) {
|
|
685
|
-
|
|
722
|
+
fe(n);
|
|
686
723
|
}
|
|
687
724
|
}, e.prototype.error = function(t) {
|
|
688
725
|
var r = this.partialObserver;
|
|
@@ -690,56 +727,56 @@ var It = function(e) {
|
|
|
690
727
|
try {
|
|
691
728
|
r.error(t);
|
|
692
729
|
} catch (n) {
|
|
693
|
-
|
|
730
|
+
fe(n);
|
|
694
731
|
}
|
|
695
732
|
else
|
|
696
|
-
|
|
733
|
+
fe(t);
|
|
697
734
|
}, e.prototype.complete = function() {
|
|
698
735
|
var t = this.partialObserver;
|
|
699
736
|
if (t.complete)
|
|
700
737
|
try {
|
|
701
738
|
t.complete();
|
|
702
739
|
} catch (r) {
|
|
703
|
-
|
|
740
|
+
fe(r);
|
|
704
741
|
}
|
|
705
742
|
}, e;
|
|
706
|
-
}(),
|
|
707
|
-
|
|
743
|
+
}(), Ge = function(e) {
|
|
744
|
+
C(t, e);
|
|
708
745
|
function t(r, n, i) {
|
|
709
|
-
var s = e.call(this) || this,
|
|
710
|
-
return
|
|
711
|
-
next: r
|
|
712
|
-
error: n
|
|
713
|
-
complete: i
|
|
714
|
-
} :
|
|
746
|
+
var s = e.call(this) || this, o;
|
|
747
|
+
return N(r) || !r ? o = {
|
|
748
|
+
next: r != null ? r : void 0,
|
|
749
|
+
error: n != null ? n : void 0,
|
|
750
|
+
complete: i != null ? i : void 0
|
|
751
|
+
} : o = r, s.destination = new Gr(o), s;
|
|
715
752
|
}
|
|
716
753
|
return t;
|
|
717
|
-
}(
|
|
718
|
-
function
|
|
719
|
-
|
|
754
|
+
}($t);
|
|
755
|
+
function fe(e) {
|
|
756
|
+
Dr(e);
|
|
720
757
|
}
|
|
721
|
-
function
|
|
758
|
+
function Fr(e) {
|
|
722
759
|
throw e;
|
|
723
760
|
}
|
|
724
|
-
var
|
|
761
|
+
var jr = {
|
|
725
762
|
closed: !0,
|
|
726
|
-
next:
|
|
727
|
-
error:
|
|
728
|
-
complete:
|
|
729
|
-
},
|
|
763
|
+
next: ht,
|
|
764
|
+
error: Fr,
|
|
765
|
+
complete: ht
|
|
766
|
+
}, kr = function() {
|
|
730
767
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
731
768
|
}();
|
|
732
|
-
function
|
|
769
|
+
function Wr(e) {
|
|
733
770
|
return e;
|
|
734
771
|
}
|
|
735
|
-
function
|
|
736
|
-
return e.length === 0 ?
|
|
772
|
+
function Vr(e) {
|
|
773
|
+
return e.length === 0 ? Wr : e.length === 1 ? e[0] : function(r) {
|
|
737
774
|
return e.reduce(function(n, i) {
|
|
738
775
|
return i(n);
|
|
739
776
|
}, r);
|
|
740
777
|
};
|
|
741
778
|
}
|
|
742
|
-
var
|
|
779
|
+
var lt = function() {
|
|
743
780
|
function e(t) {
|
|
744
781
|
t && (this._subscribe = t);
|
|
745
782
|
}
|
|
@@ -747,10 +784,10 @@ var it = function() {
|
|
|
747
784
|
var r = new e();
|
|
748
785
|
return r.source = this, r.operator = t, r;
|
|
749
786
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
750
|
-
var i = this, s =
|
|
751
|
-
return
|
|
752
|
-
var
|
|
753
|
-
s.add(
|
|
787
|
+
var i = this, s = zr(t) ? t : new Ge(t, r, n);
|
|
788
|
+
return pe(function() {
|
|
789
|
+
var o = i, a = o.operator, h = o.source;
|
|
790
|
+
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
|
754
791
|
}), s;
|
|
755
792
|
}, e.prototype._trySubscribe = function(t) {
|
|
756
793
|
try {
|
|
@@ -760,37 +797,37 @@ var it = function() {
|
|
|
760
797
|
}
|
|
761
798
|
}, e.prototype.forEach = function(t, r) {
|
|
762
799
|
var n = this;
|
|
763
|
-
return r =
|
|
764
|
-
var
|
|
765
|
-
next: function(
|
|
800
|
+
return r = ft(r), new r(function(i, s) {
|
|
801
|
+
var o = new Ge({
|
|
802
|
+
next: function(a) {
|
|
766
803
|
try {
|
|
767
|
-
t(
|
|
768
|
-
} catch (
|
|
769
|
-
s(
|
|
804
|
+
t(a);
|
|
805
|
+
} catch (h) {
|
|
806
|
+
s(h), o.unsubscribe();
|
|
770
807
|
}
|
|
771
808
|
},
|
|
772
809
|
error: s,
|
|
773
810
|
complete: i
|
|
774
811
|
});
|
|
775
|
-
n.subscribe(
|
|
812
|
+
n.subscribe(o);
|
|
776
813
|
});
|
|
777
814
|
}, e.prototype._subscribe = function(t) {
|
|
778
815
|
var r;
|
|
779
816
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
780
|
-
}, e.prototype[
|
|
817
|
+
}, e.prototype[kr] = function() {
|
|
781
818
|
return this;
|
|
782
819
|
}, e.prototype.pipe = function() {
|
|
783
820
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
784
821
|
t[r] = arguments[r];
|
|
785
|
-
return
|
|
822
|
+
return Vr(t)(this);
|
|
786
823
|
}, e.prototype.toPromise = function(t) {
|
|
787
824
|
var r = this;
|
|
788
|
-
return t =
|
|
825
|
+
return t = ft(t), new t(function(n, i) {
|
|
789
826
|
var s;
|
|
790
|
-
r.subscribe(function(
|
|
791
|
-
return s =
|
|
792
|
-
}, function(
|
|
793
|
-
return i(
|
|
827
|
+
r.subscribe(function(o) {
|
|
828
|
+
return s = o;
|
|
829
|
+
}, function(o) {
|
|
830
|
+
return i(o);
|
|
794
831
|
}, function() {
|
|
795
832
|
return n(s);
|
|
796
833
|
});
|
|
@@ -799,48 +836,48 @@ var it = function() {
|
|
|
799
836
|
return new e(t);
|
|
800
837
|
}, e;
|
|
801
838
|
}();
|
|
802
|
-
function
|
|
839
|
+
function ft(e) {
|
|
803
840
|
var t;
|
|
804
|
-
return (t = e
|
|
841
|
+
return (t = e != null ? e : $r.Promise) !== null && t !== void 0 ? t : Promise;
|
|
805
842
|
}
|
|
806
|
-
function
|
|
807
|
-
return e &&
|
|
843
|
+
function Xr(e) {
|
|
844
|
+
return e && N(e.next) && N(e.error) && N(e.complete);
|
|
808
845
|
}
|
|
809
|
-
function
|
|
810
|
-
return e && e instanceof
|
|
846
|
+
function zr(e) {
|
|
847
|
+
return e && e instanceof $t || Xr(e) && Rt(e);
|
|
811
848
|
}
|
|
812
|
-
var
|
|
849
|
+
var Zr = Ct(function(e) {
|
|
813
850
|
return function() {
|
|
814
851
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
815
852
|
};
|
|
816
|
-
}),
|
|
817
|
-
|
|
853
|
+
}), Ut = function(e) {
|
|
854
|
+
C(t, e);
|
|
818
855
|
function t() {
|
|
819
856
|
var r = e.call(this) || this;
|
|
820
857
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
821
858
|
}
|
|
822
859
|
return t.prototype.lift = function(r) {
|
|
823
|
-
var n = new
|
|
860
|
+
var n = new ct(this, this);
|
|
824
861
|
return n.operator = r, n;
|
|
825
862
|
}, t.prototype._throwIfClosed = function() {
|
|
826
863
|
if (this.closed)
|
|
827
|
-
throw new
|
|
864
|
+
throw new Zr();
|
|
828
865
|
}, t.prototype.next = function(r) {
|
|
829
866
|
var n = this;
|
|
830
|
-
|
|
867
|
+
pe(function() {
|
|
831
868
|
var i, s;
|
|
832
869
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
833
870
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
834
871
|
try {
|
|
835
|
-
for (var
|
|
836
|
-
var
|
|
837
|
-
|
|
872
|
+
for (var o = $e(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
873
|
+
var h = a.value;
|
|
874
|
+
h.next(r);
|
|
838
875
|
}
|
|
839
876
|
} catch (u) {
|
|
840
877
|
i = { error: u };
|
|
841
878
|
} finally {
|
|
842
879
|
try {
|
|
843
|
-
|
|
880
|
+
a && !a.done && (s = o.return) && s.call(o);
|
|
844
881
|
} finally {
|
|
845
882
|
if (i) throw i.error;
|
|
846
883
|
}
|
|
@@ -849,7 +886,7 @@ var $r = Bt(function(e) {
|
|
|
849
886
|
});
|
|
850
887
|
}, t.prototype.error = function(r) {
|
|
851
888
|
var n = this;
|
|
852
|
-
|
|
889
|
+
pe(function() {
|
|
853
890
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
854
891
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
855
892
|
for (var i = n.observers; i.length; )
|
|
@@ -858,7 +895,7 @@ var $r = Bt(function(e) {
|
|
|
858
895
|
});
|
|
859
896
|
}, t.prototype.complete = function() {
|
|
860
897
|
var r = this;
|
|
861
|
-
|
|
898
|
+
pe(function() {
|
|
862
899
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
863
900
|
r.isStopped = !0;
|
|
864
901
|
for (var n = r.observers; n.length; )
|
|
@@ -879,21 +916,21 @@ var $r = Bt(function(e) {
|
|
|
879
916
|
}, t.prototype._subscribe = function(r) {
|
|
880
917
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
881
918
|
}, t.prototype._innerSubscribe = function(r) {
|
|
882
|
-
var n = this, i = this, s = i.hasError,
|
|
883
|
-
return s ||
|
|
884
|
-
n.currentObservers = null,
|
|
919
|
+
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
920
|
+
return s || o ? Mt : (this.currentObservers = null, a.push(r), new ve(function() {
|
|
921
|
+
n.currentObservers = null, De(a, r);
|
|
885
922
|
}));
|
|
886
923
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
887
|
-
var n = this, i = n.hasError, s = n.thrownError,
|
|
888
|
-
i ? r.error(s) :
|
|
924
|
+
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
925
|
+
i ? r.error(s) : o && r.complete();
|
|
889
926
|
}, t.prototype.asObservable = function() {
|
|
890
|
-
var r = new
|
|
927
|
+
var r = new lt();
|
|
891
928
|
return r.source = this, r;
|
|
892
929
|
}, t.create = function(r, n) {
|
|
893
|
-
return new
|
|
930
|
+
return new ct(r, n);
|
|
894
931
|
}, t;
|
|
895
|
-
}(
|
|
896
|
-
|
|
932
|
+
}(lt), ct = function(e) {
|
|
933
|
+
C(t, e);
|
|
897
934
|
function t(r, n) {
|
|
898
935
|
var i = e.call(this) || this;
|
|
899
936
|
return i.destination = r, i.source = n, i;
|
|
@@ -909,214 +946,214 @@ var $r = Bt(function(e) {
|
|
|
909
946
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
910
947
|
}, t.prototype._subscribe = function(r) {
|
|
911
948
|
var n, i;
|
|
912
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
949
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
|
|
913
950
|
}, t;
|
|
914
|
-
}(
|
|
951
|
+
}(Ut), Dt = {
|
|
915
952
|
now: function() {
|
|
916
|
-
return (
|
|
953
|
+
return (Dt.delegate || Date).now();
|
|
917
954
|
},
|
|
918
955
|
delegate: void 0
|
|
919
|
-
},
|
|
920
|
-
|
|
956
|
+
}, Qr = function(e) {
|
|
957
|
+
C(t, e);
|
|
921
958
|
function t(r, n, i) {
|
|
922
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
959
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dt);
|
|
923
960
|
var s = e.call(this) || this;
|
|
924
961
|
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
|
925
962
|
}
|
|
926
963
|
return t.prototype.next = function(r) {
|
|
927
|
-
var n = this, i = n.isStopped, s = n._buffer,
|
|
928
|
-
i || (s.push(r), !
|
|
964
|
+
var n = this, i = n.isStopped, s = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
|
|
965
|
+
i || (s.push(r), !o && s.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
929
966
|
}, t.prototype._subscribe = function(r) {
|
|
930
967
|
this._throwIfClosed(), this._trimBuffer();
|
|
931
|
-
for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow,
|
|
932
|
-
r.next(
|
|
968
|
+
for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, o = i._buffer, a = o.slice(), h = 0; h < a.length && !r.closed; h += s ? 1 : 2)
|
|
969
|
+
r.next(a[h]);
|
|
933
970
|
return this._checkFinalizedStatuses(r), n;
|
|
934
971
|
}, t.prototype._trimBuffer = function() {
|
|
935
|
-
var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer,
|
|
936
|
-
if (n < 1 / 0 &&
|
|
937
|
-
for (var
|
|
938
|
-
u =
|
|
972
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
|
|
973
|
+
if (n < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
|
|
974
|
+
for (var h = i.now(), u = 0, l = 1; l < s.length && s[l] <= h; l += 2)
|
|
975
|
+
u = l;
|
|
939
976
|
u && s.splice(0, u + 1);
|
|
940
977
|
}
|
|
941
978
|
}, t;
|
|
942
|
-
}(
|
|
943
|
-
const
|
|
944
|
-
if (
|
|
945
|
-
const r = new
|
|
946
|
-
|
|
979
|
+
}(Ut);
|
|
980
|
+
const dt = [], pt = {}, Jr = (e, t = 0) => {
|
|
981
|
+
if (dt.indexOf(e) == -1) {
|
|
982
|
+
const r = new Qr(t);
|
|
983
|
+
pt[e] = r, dt.push(e);
|
|
947
984
|
}
|
|
948
|
-
return
|
|
949
|
-
},
|
|
950
|
-
function
|
|
985
|
+
return pt[e];
|
|
986
|
+
}, k = [];
|
|
987
|
+
function Yr(e, t) {
|
|
951
988
|
return {
|
|
952
|
-
subscribe:
|
|
989
|
+
subscribe: _e(e, t).subscribe
|
|
953
990
|
};
|
|
954
991
|
}
|
|
955
|
-
function
|
|
992
|
+
function _e(e, t = A) {
|
|
956
993
|
let r;
|
|
957
994
|
const n = /* @__PURE__ */ new Set();
|
|
958
|
-
function i(
|
|
959
|
-
if (
|
|
960
|
-
const
|
|
995
|
+
function i(a) {
|
|
996
|
+
if (It(e, a) && (e = a, r)) {
|
|
997
|
+
const h = !k.length;
|
|
961
998
|
for (const u of n)
|
|
962
|
-
u[1](),
|
|
963
|
-
if (
|
|
964
|
-
for (let u = 0; u <
|
|
965
|
-
|
|
966
|
-
|
|
999
|
+
u[1](), k.push(u, e);
|
|
1000
|
+
if (h) {
|
|
1001
|
+
for (let u = 0; u < k.length; u += 2)
|
|
1002
|
+
k[u][0](k[u + 1]);
|
|
1003
|
+
k.length = 0;
|
|
967
1004
|
}
|
|
968
1005
|
}
|
|
969
1006
|
}
|
|
970
|
-
function s(
|
|
971
|
-
i(
|
|
1007
|
+
function s(a) {
|
|
1008
|
+
i(a(e));
|
|
972
1009
|
}
|
|
973
|
-
function a
|
|
974
|
-
const u = [
|
|
975
|
-
return n.add(u), n.size === 1 && (r = t(i, s) ||
|
|
1010
|
+
function o(a, h = A) {
|
|
1011
|
+
const u = [a, h];
|
|
1012
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || A), a(e), () => {
|
|
976
1013
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
977
1014
|
};
|
|
978
1015
|
}
|
|
979
|
-
return { set: i, update: s, subscribe:
|
|
1016
|
+
return { set: i, update: s, subscribe: o };
|
|
980
1017
|
}
|
|
981
|
-
function
|
|
1018
|
+
function q(e, t, r) {
|
|
982
1019
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
983
1020
|
if (!i.every(Boolean))
|
|
984
1021
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
985
1022
|
const s = t.length < 2;
|
|
986
|
-
return
|
|
987
|
-
let
|
|
1023
|
+
return Yr(r, (o, a) => {
|
|
1024
|
+
let h = !1;
|
|
988
1025
|
const u = [];
|
|
989
|
-
let
|
|
1026
|
+
let l = 0, f = A;
|
|
990
1027
|
const c = () => {
|
|
991
|
-
if (
|
|
1028
|
+
if (l)
|
|
992
1029
|
return;
|
|
993
1030
|
f();
|
|
994
|
-
const v = t(n ? u[0] : u,
|
|
995
|
-
s ?
|
|
1031
|
+
const v = t(n ? u[0] : u, o, a);
|
|
1032
|
+
s ? o(v) : f = Qe(v) ? v : A;
|
|
996
1033
|
}, d = i.map(
|
|
997
|
-
(v, p) =>
|
|
1034
|
+
(v, p) => Nt(
|
|
998
1035
|
v,
|
|
999
1036
|
(S) => {
|
|
1000
|
-
u[p] = S,
|
|
1037
|
+
u[p] = S, l &= ~(1 << p), h && c();
|
|
1001
1038
|
},
|
|
1002
1039
|
() => {
|
|
1003
|
-
|
|
1040
|
+
l |= 1 << p;
|
|
1004
1041
|
}
|
|
1005
1042
|
)
|
|
1006
1043
|
);
|
|
1007
|
-
return
|
|
1008
|
-
|
|
1044
|
+
return h = !0, c(), function() {
|
|
1045
|
+
oe(d), f(), h = !1;
|
|
1009
1046
|
};
|
|
1010
1047
|
});
|
|
1011
1048
|
}
|
|
1012
|
-
function
|
|
1049
|
+
function qr(e) {
|
|
1013
1050
|
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1014
1051
|
}
|
|
1015
|
-
var
|
|
1016
|
-
return
|
|
1052
|
+
var Kr = function(t) {
|
|
1053
|
+
return en(t) && !tn(t);
|
|
1017
1054
|
};
|
|
1018
|
-
function
|
|
1055
|
+
function en(e) {
|
|
1019
1056
|
return !!e && typeof e == "object";
|
|
1020
1057
|
}
|
|
1021
|
-
function
|
|
1058
|
+
function tn(e) {
|
|
1022
1059
|
var t = Object.prototype.toString.call(e);
|
|
1023
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1060
|
+
return t === "[object RegExp]" || t === "[object Date]" || sn(e);
|
|
1024
1061
|
}
|
|
1025
|
-
var
|
|
1026
|
-
function
|
|
1027
|
-
return e.$$typeof ===
|
|
1062
|
+
var rn = typeof Symbol == "function" && Symbol.for, nn = rn ? Symbol.for("react.element") : 60103;
|
|
1063
|
+
function sn(e) {
|
|
1064
|
+
return e.$$typeof === nn;
|
|
1028
1065
|
}
|
|
1029
|
-
function
|
|
1066
|
+
function on(e) {
|
|
1030
1067
|
return Array.isArray(e) ? [] : {};
|
|
1031
1068
|
}
|
|
1032
|
-
function
|
|
1033
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1069
|
+
function ie(e, t) {
|
|
1070
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? z(on(e), e, t) : e;
|
|
1034
1071
|
}
|
|
1035
|
-
function
|
|
1072
|
+
function an(e, t, r) {
|
|
1036
1073
|
return e.concat(t).map(function(n) {
|
|
1037
|
-
return
|
|
1074
|
+
return ie(n, r);
|
|
1038
1075
|
});
|
|
1039
1076
|
}
|
|
1040
|
-
function
|
|
1077
|
+
function un(e, t) {
|
|
1041
1078
|
if (!t.customMerge)
|
|
1042
|
-
return
|
|
1079
|
+
return z;
|
|
1043
1080
|
var r = t.customMerge(e);
|
|
1044
|
-
return typeof r == "function" ? r :
|
|
1081
|
+
return typeof r == "function" ? r : z;
|
|
1045
1082
|
}
|
|
1046
|
-
function
|
|
1083
|
+
function hn(e) {
|
|
1047
1084
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1048
1085
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1049
1086
|
}) : [];
|
|
1050
1087
|
}
|
|
1051
|
-
function
|
|
1052
|
-
return Object.keys(e).concat(
|
|
1088
|
+
function mt(e) {
|
|
1089
|
+
return Object.keys(e).concat(hn(e));
|
|
1053
1090
|
}
|
|
1054
|
-
function
|
|
1091
|
+
function Gt(e, t) {
|
|
1055
1092
|
try {
|
|
1056
1093
|
return t in e;
|
|
1057
|
-
} catch {
|
|
1094
|
+
} catch (r) {
|
|
1058
1095
|
return !1;
|
|
1059
1096
|
}
|
|
1060
1097
|
}
|
|
1061
|
-
function
|
|
1062
|
-
return
|
|
1098
|
+
function ln(e, t) {
|
|
1099
|
+
return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1063
1100
|
}
|
|
1064
|
-
function
|
|
1101
|
+
function fn(e, t, r) {
|
|
1065
1102
|
var n = {};
|
|
1066
|
-
return r.isMergeableObject(e) &&
|
|
1067
|
-
n[i] =
|
|
1068
|
-
}),
|
|
1069
|
-
|
|
1103
|
+
return r.isMergeableObject(e) && mt(e).forEach(function(i) {
|
|
1104
|
+
n[i] = ie(e[i], r);
|
|
1105
|
+
}), mt(t).forEach(function(i) {
|
|
1106
|
+
ln(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
1070
1107
|
}), n;
|
|
1071
1108
|
}
|
|
1072
|
-
function
|
|
1073
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1109
|
+
function z(e, t, r) {
|
|
1110
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = ie;
|
|
1074
1111
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1075
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
1112
|
+
return s ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : ie(t, r);
|
|
1076
1113
|
}
|
|
1077
|
-
|
|
1114
|
+
z.all = function(t, r) {
|
|
1078
1115
|
if (!Array.isArray(t))
|
|
1079
1116
|
throw new Error("first argument should be an array");
|
|
1080
1117
|
return t.reduce(function(n, i) {
|
|
1081
|
-
return
|
|
1118
|
+
return z(n, i, r);
|
|
1082
1119
|
}, {});
|
|
1083
1120
|
};
|
|
1084
|
-
var
|
|
1085
|
-
const
|
|
1086
|
-
function
|
|
1087
|
-
var r = t && t.cache ? t.cache :
|
|
1121
|
+
var cn = z, dn = cn;
|
|
1122
|
+
const pn = /* @__PURE__ */ qr(dn);
|
|
1123
|
+
function Pe(e, t) {
|
|
1124
|
+
var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : bn;
|
|
1088
1125
|
return i(e, {
|
|
1089
1126
|
cache: r,
|
|
1090
1127
|
serializer: n
|
|
1091
1128
|
});
|
|
1092
1129
|
}
|
|
1093
|
-
function
|
|
1130
|
+
function mn(e) {
|
|
1094
1131
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1095
1132
|
}
|
|
1096
|
-
function
|
|
1097
|
-
var i =
|
|
1098
|
-
return typeof s
|
|
1133
|
+
function Ft(e, t, r, n) {
|
|
1134
|
+
var i = mn(n) ? n : r(n), s = t.get(i);
|
|
1135
|
+
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1099
1136
|
}
|
|
1100
|
-
function
|
|
1137
|
+
function jt(e, t, r) {
|
|
1101
1138
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1102
|
-
return typeof s
|
|
1139
|
+
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1103
1140
|
}
|
|
1104
|
-
function
|
|
1141
|
+
function qe(e, t, r, n, i) {
|
|
1105
1142
|
return r.bind(t, e, n, i);
|
|
1106
1143
|
}
|
|
1107
|
-
function
|
|
1108
|
-
var r = e.length === 1 ?
|
|
1109
|
-
return
|
|
1144
|
+
function bn(e, t) {
|
|
1145
|
+
var r = e.length === 1 ? Ft : jt;
|
|
1146
|
+
return qe(e, this, r, t.cache.create(), t.serializer);
|
|
1110
1147
|
}
|
|
1111
|
-
function
|
|
1112
|
-
return
|
|
1148
|
+
function gn(e, t) {
|
|
1149
|
+
return qe(e, this, jt, t.cache.create(), t.serializer);
|
|
1113
1150
|
}
|
|
1114
|
-
function
|
|
1115
|
-
return
|
|
1151
|
+
function yn(e, t) {
|
|
1152
|
+
return qe(e, this, Ft, t.cache.create(), t.serializer);
|
|
1116
1153
|
}
|
|
1117
|
-
var
|
|
1154
|
+
var vn = function() {
|
|
1118
1155
|
return JSON.stringify(arguments);
|
|
1119
|
-
},
|
|
1156
|
+
}, _n = (
|
|
1120
1157
|
/** @class */
|
|
1121
1158
|
function() {
|
|
1122
1159
|
function e() {
|
|
@@ -1128,13 +1165,13 @@ var un = function() {
|
|
|
1128
1165
|
this.cache[t] = r;
|
|
1129
1166
|
}, e;
|
|
1130
1167
|
}()
|
|
1131
|
-
),
|
|
1168
|
+
), En = {
|
|
1132
1169
|
create: function() {
|
|
1133
|
-
return new
|
|
1170
|
+
return new _n();
|
|
1134
1171
|
}
|
|
1135
|
-
},
|
|
1136
|
-
variadic:
|
|
1137
|
-
monadic:
|
|
1172
|
+
}, Be = {
|
|
1173
|
+
variadic: gn,
|
|
1174
|
+
monadic: yn
|
|
1138
1175
|
}, m;
|
|
1139
1176
|
(function(e) {
|
|
1140
1177
|
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";
|
|
@@ -1143,47 +1180,47 @@ var _;
|
|
|
1143
1180
|
(function(e) {
|
|
1144
1181
|
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";
|
|
1145
1182
|
})(_ || (_ = {}));
|
|
1146
|
-
var
|
|
1183
|
+
var Z;
|
|
1147
1184
|
(function(e) {
|
|
1148
1185
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1149
|
-
})(
|
|
1150
|
-
function
|
|
1186
|
+
})(Z || (Z = {}));
|
|
1187
|
+
function bt(e) {
|
|
1151
1188
|
return e.type === _.literal;
|
|
1152
1189
|
}
|
|
1153
|
-
function
|
|
1190
|
+
function xn(e) {
|
|
1154
1191
|
return e.type === _.argument;
|
|
1155
1192
|
}
|
|
1156
|
-
function
|
|
1193
|
+
function kt(e) {
|
|
1157
1194
|
return e.type === _.number;
|
|
1158
1195
|
}
|
|
1159
|
-
function
|
|
1196
|
+
function Wt(e) {
|
|
1160
1197
|
return e.type === _.date;
|
|
1161
1198
|
}
|
|
1162
|
-
function
|
|
1199
|
+
function Vt(e) {
|
|
1163
1200
|
return e.type === _.time;
|
|
1164
1201
|
}
|
|
1165
|
-
function
|
|
1202
|
+
function Xt(e) {
|
|
1166
1203
|
return e.type === _.select;
|
|
1167
1204
|
}
|
|
1168
|
-
function
|
|
1205
|
+
function zt(e) {
|
|
1169
1206
|
return e.type === _.plural;
|
|
1170
1207
|
}
|
|
1171
|
-
function
|
|
1208
|
+
function Sn(e) {
|
|
1172
1209
|
return e.type === _.pound;
|
|
1173
1210
|
}
|
|
1174
|
-
function
|
|
1211
|
+
function Zt(e) {
|
|
1175
1212
|
return e.type === _.tag;
|
|
1176
1213
|
}
|
|
1177
|
-
function
|
|
1178
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1214
|
+
function Qt(e) {
|
|
1215
|
+
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1179
1216
|
}
|
|
1180
|
-
function
|
|
1181
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1217
|
+
function Fe(e) {
|
|
1218
|
+
return !!(e && typeof e == "object" && e.type === Z.dateTime);
|
|
1182
1219
|
}
|
|
1183
|
-
var
|
|
1184
|
-
function
|
|
1220
|
+
var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
|
|
1221
|
+
function Tn(e) {
|
|
1185
1222
|
var t = {};
|
|
1186
|
-
return e.replace(
|
|
1223
|
+
return e.replace(wn, function(r) {
|
|
1187
1224
|
var n = r.length;
|
|
1188
1225
|
switch (r[0]) {
|
|
1189
1226
|
case "G":
|
|
@@ -1272,36 +1309,36 @@ function pn(e) {
|
|
|
1272
1309
|
return "";
|
|
1273
1310
|
}), t;
|
|
1274
1311
|
}
|
|
1275
|
-
var
|
|
1276
|
-
function
|
|
1312
|
+
var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1313
|
+
function Pn(e) {
|
|
1277
1314
|
if (e.length === 0)
|
|
1278
1315
|
throw new Error("Number skeleton cannot be empty");
|
|
1279
|
-
for (var t = e.split(
|
|
1316
|
+
for (var t = e.split(Hn).filter(function(c) {
|
|
1280
1317
|
return c.length > 0;
|
|
1281
1318
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1282
|
-
var s = i[n],
|
|
1283
|
-
if (
|
|
1319
|
+
var s = i[n], o = s.split("/");
|
|
1320
|
+
if (o.length === 0)
|
|
1284
1321
|
throw new Error("Invalid number skeleton");
|
|
1285
|
-
for (var
|
|
1286
|
-
var f =
|
|
1322
|
+
for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1323
|
+
var f = l[u];
|
|
1287
1324
|
if (f.length === 0)
|
|
1288
1325
|
throw new Error("Invalid number skeleton");
|
|
1289
1326
|
}
|
|
1290
|
-
r.push({ stem:
|
|
1327
|
+
r.push({ stem: a, options: h });
|
|
1291
1328
|
}
|
|
1292
1329
|
return r;
|
|
1293
1330
|
}
|
|
1294
|
-
function
|
|
1331
|
+
function Bn(e) {
|
|
1295
1332
|
return e.replace(/^(.*?)-/, "");
|
|
1296
1333
|
}
|
|
1297
|
-
var
|
|
1298
|
-
function
|
|
1334
|
+
var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
|
|
1335
|
+
function yt(e) {
|
|
1299
1336
|
var t = {};
|
|
1300
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1337
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yt, function(r, n, i) {
|
|
1301
1338
|
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)), "";
|
|
1302
1339
|
}), t;
|
|
1303
1340
|
}
|
|
1304
|
-
function
|
|
1341
|
+
function Kt(e) {
|
|
1305
1342
|
switch (e) {
|
|
1306
1343
|
case "sign-auto":
|
|
1307
1344
|
return {
|
|
@@ -1341,7 +1378,7 @@ function zt(e) {
|
|
|
1341
1378
|
};
|
|
1342
1379
|
}
|
|
1343
1380
|
}
|
|
1344
|
-
function
|
|
1381
|
+
function On(e) {
|
|
1345
1382
|
var t;
|
|
1346
1383
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1347
1384
|
notation: "engineering"
|
|
@@ -1349,17 +1386,17 @@ function vn(e) {
|
|
|
1349
1386
|
notation: "scientific"
|
|
1350
1387
|
}, e = e.slice(1)), t) {
|
|
1351
1388
|
var r = e.slice(0, 2);
|
|
1352
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1389
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
|
|
1353
1390
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1354
1391
|
t.minimumIntegerDigits = e.length;
|
|
1355
1392
|
}
|
|
1356
1393
|
return t;
|
|
1357
1394
|
}
|
|
1358
|
-
function
|
|
1359
|
-
var t = {}, r =
|
|
1395
|
+
function vt(e) {
|
|
1396
|
+
var t = {}, r = Kt(e);
|
|
1360
1397
|
return r || t;
|
|
1361
1398
|
}
|
|
1362
|
-
function
|
|
1399
|
+
function In(e) {
|
|
1363
1400
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1364
1401
|
var i = n[r];
|
|
1365
1402
|
switch (i.stem) {
|
|
@@ -1383,7 +1420,7 @@ function _n(e) {
|
|
|
1383
1420
|
continue;
|
|
1384
1421
|
case "measure-unit":
|
|
1385
1422
|
case "unit":
|
|
1386
|
-
t.style = "unit", t.unit =
|
|
1423
|
+
t.style = "unit", t.unit = Bn(i.options[0]);
|
|
1387
1424
|
continue;
|
|
1388
1425
|
case "compact-short":
|
|
1389
1426
|
case "K":
|
|
@@ -1394,13 +1431,13 @@ function _n(e) {
|
|
|
1394
1431
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1395
1432
|
continue;
|
|
1396
1433
|
case "scientific":
|
|
1397
|
-
t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(
|
|
1398
|
-
return g(g({},
|
|
1434
|
+
t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1435
|
+
return g(g({}, h), vt(u));
|
|
1399
1436
|
}, {}));
|
|
1400
1437
|
continue;
|
|
1401
1438
|
case "engineering":
|
|
1402
|
-
t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(
|
|
1403
|
-
return g(g({},
|
|
1439
|
+
t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1440
|
+
return g(g({}, h), vt(u));
|
|
1404
1441
|
}, {}));
|
|
1405
1442
|
continue;
|
|
1406
1443
|
case "notation-simple":
|
|
@@ -1445,9 +1482,9 @@ function _n(e) {
|
|
|
1445
1482
|
case "integer-width":
|
|
1446
1483
|
if (i.options.length > 1)
|
|
1447
1484
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1448
|
-
i.options[0].replace(
|
|
1485
|
+
i.options[0].replace(An, function(h, u, l, f, c, d) {
|
|
1449
1486
|
if (u)
|
|
1450
|
-
t.minimumIntegerDigits =
|
|
1487
|
+
t.minimumIntegerDigits = l.length;
|
|
1451
1488
|
else {
|
|
1452
1489
|
if (f && c)
|
|
1453
1490
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1458,32 +1495,32 @@ function _n(e) {
|
|
|
1458
1495
|
});
|
|
1459
1496
|
continue;
|
|
1460
1497
|
}
|
|
1461
|
-
if (
|
|
1498
|
+
if (qt.test(i.stem)) {
|
|
1462
1499
|
t.minimumIntegerDigits = i.stem.length;
|
|
1463
1500
|
continue;
|
|
1464
1501
|
}
|
|
1465
|
-
if (
|
|
1502
|
+
if (gt.test(i.stem)) {
|
|
1466
1503
|
if (i.options.length > 1)
|
|
1467
1504
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1468
|
-
i.stem.replace(
|
|
1469
|
-
return
|
|
1505
|
+
i.stem.replace(gt, function(h, u, l, f, c, d) {
|
|
1506
|
+
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1470
1507
|
});
|
|
1471
1508
|
var s = i.options[0];
|
|
1472
|
-
s === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = g(g({}, t),
|
|
1509
|
+
s === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = g(g({}, t), yt(s)));
|
|
1473
1510
|
continue;
|
|
1474
1511
|
}
|
|
1475
|
-
if (
|
|
1476
|
-
t = g(g({}, t),
|
|
1512
|
+
if (Yt.test(i.stem)) {
|
|
1513
|
+
t = g(g({}, t), yt(i.stem));
|
|
1477
1514
|
continue;
|
|
1478
1515
|
}
|
|
1479
|
-
var
|
|
1480
|
-
a && (t = g(g({}, t), a));
|
|
1481
|
-
var o = vn(i.stem);
|
|
1516
|
+
var o = Kt(i.stem);
|
|
1482
1517
|
o && (t = g(g({}, t), o));
|
|
1518
|
+
var a = On(i.stem);
|
|
1519
|
+
a && (t = g(g({}, t), a));
|
|
1483
1520
|
}
|
|
1484
1521
|
return t;
|
|
1485
1522
|
}
|
|
1486
|
-
var
|
|
1523
|
+
var ce = {
|
|
1487
1524
|
"001": [
|
|
1488
1525
|
"H",
|
|
1489
1526
|
"h"
|
|
@@ -2898,22 +2935,22 @@ var fe = {
|
|
|
2898
2935
|
"h"
|
|
2899
2936
|
]
|
|
2900
2937
|
};
|
|
2901
|
-
function
|
|
2938
|
+
function Nn(e, t) {
|
|
2902
2939
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2903
2940
|
var i = e.charAt(n);
|
|
2904
2941
|
if (i === "j") {
|
|
2905
2942
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2906
2943
|
s++, n++;
|
|
2907
|
-
var
|
|
2908
|
-
for ((u == "H" || u == "k") && (
|
|
2909
|
-
r +=
|
|
2910
|
-
for (;
|
|
2944
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Ln(t);
|
|
2945
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2946
|
+
r += h;
|
|
2947
|
+
for (; o-- > 0; )
|
|
2911
2948
|
r = u + r;
|
|
2912
2949
|
} else i === "J" ? r += "H" : r += i;
|
|
2913
2950
|
}
|
|
2914
2951
|
return r;
|
|
2915
2952
|
}
|
|
2916
|
-
function
|
|
2953
|
+
function Ln(e) {
|
|
2917
2954
|
var t = e.hourCycle;
|
|
2918
2955
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2919
2956
|
e.hourCycles && // @ts-ignore
|
|
@@ -2932,23 +2969,23 @@ function xn(e) {
|
|
|
2932
2969
|
}
|
|
2933
2970
|
var r = e.language, n;
|
|
2934
2971
|
r !== "root" && (n = e.maximize().region);
|
|
2935
|
-
var i =
|
|
2972
|
+
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
2936
2973
|
return i[0];
|
|
2937
2974
|
}
|
|
2938
|
-
var
|
|
2975
|
+
var Ae, Cn = new RegExp("^".concat(Jt.source, "*")), Mn = new RegExp("".concat(Jt.source, "*$"));
|
|
2939
2976
|
function b(e, t) {
|
|
2940
2977
|
return { start: e, end: t };
|
|
2941
2978
|
}
|
|
2942
|
-
var
|
|
2979
|
+
var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Un = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, kn = jn ? Number.isSafeInteger : function(e) {
|
|
2943
2980
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2944
|
-
},
|
|
2981
|
+
}, je = !0;
|
|
2945
2982
|
try {
|
|
2946
|
-
var
|
|
2947
|
-
|
|
2948
|
-
} catch {
|
|
2949
|
-
|
|
2983
|
+
var Wn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2984
|
+
je = ((Ae = Wn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
|
|
2985
|
+
} catch (e) {
|
|
2986
|
+
je = !1;
|
|
2950
2987
|
}
|
|
2951
|
-
var
|
|
2988
|
+
var _t = Rn ? (
|
|
2952
2989
|
// Native
|
|
2953
2990
|
function(t, r, n) {
|
|
2954
2991
|
return t.startsWith(r, n);
|
|
@@ -2958,31 +2995,31 @@ var pt = Tn ? (
|
|
|
2958
2995
|
function(t, r, n) {
|
|
2959
2996
|
return t.slice(n, n + r.length) === r;
|
|
2960
2997
|
}
|
|
2961
|
-
),
|
|
2998
|
+
), ke = $n ? String.fromCodePoint : (
|
|
2962
2999
|
// IE11
|
|
2963
3000
|
function() {
|
|
2964
3001
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2965
3002
|
t[r] = arguments[r];
|
|
2966
|
-
for (var n = "", i = t.length, s = 0,
|
|
2967
|
-
if (
|
|
2968
|
-
throw RangeError(
|
|
2969
|
-
n +=
|
|
3003
|
+
for (var n = "", i = t.length, s = 0, o; i > s; ) {
|
|
3004
|
+
if (o = t[s++], o > 1114111)
|
|
3005
|
+
throw RangeError(o + " is not a valid code point");
|
|
3006
|
+
n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
2970
3007
|
}
|
|
2971
3008
|
return n;
|
|
2972
3009
|
}
|
|
2973
|
-
),
|
|
3010
|
+
), Et = (
|
|
2974
3011
|
// native
|
|
2975
|
-
|
|
3012
|
+
Un ? Object.fromEntries : (
|
|
2976
3013
|
// Ponyfill
|
|
2977
3014
|
function(t) {
|
|
2978
3015
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2979
|
-
var s = i[n],
|
|
2980
|
-
r[
|
|
3016
|
+
var s = i[n], o = s[0], a = s[1];
|
|
3017
|
+
r[o] = a;
|
|
2981
3018
|
}
|
|
2982
3019
|
return r;
|
|
2983
3020
|
}
|
|
2984
3021
|
)
|
|
2985
|
-
),
|
|
3022
|
+
), er = Dn ? (
|
|
2986
3023
|
// Native
|
|
2987
3024
|
function(t, r) {
|
|
2988
3025
|
return t.codePointAt(r);
|
|
@@ -2996,7 +3033,7 @@ var pt = Tn ? (
|
|
|
2996
3033
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2997
3034
|
}
|
|
2998
3035
|
}
|
|
2999
|
-
),
|
|
3036
|
+
), Vn = Gn ? (
|
|
3000
3037
|
// Native
|
|
3001
3038
|
function(t) {
|
|
3002
3039
|
return t.trimStart();
|
|
@@ -3004,9 +3041,9 @@ var pt = Tn ? (
|
|
|
3004
3041
|
) : (
|
|
3005
3042
|
// Ponyfill
|
|
3006
3043
|
function(t) {
|
|
3007
|
-
return t.replace(
|
|
3044
|
+
return t.replace(Cn, "");
|
|
3008
3045
|
}
|
|
3009
|
-
),
|
|
3046
|
+
), Xn = Fn ? (
|
|
3010
3047
|
// Native
|
|
3011
3048
|
function(t) {
|
|
3012
3049
|
return t.trimEnd();
|
|
@@ -3014,32 +3051,32 @@ var pt = Tn ? (
|
|
|
3014
3051
|
) : (
|
|
3015
3052
|
// Ponyfill
|
|
3016
3053
|
function(t) {
|
|
3017
|
-
return t.replace(
|
|
3054
|
+
return t.replace(Mn, "");
|
|
3018
3055
|
}
|
|
3019
3056
|
);
|
|
3020
|
-
function
|
|
3057
|
+
function tr(e, t) {
|
|
3021
3058
|
return new RegExp(e, t);
|
|
3022
3059
|
}
|
|
3023
|
-
var
|
|
3024
|
-
if (
|
|
3025
|
-
var
|
|
3026
|
-
|
|
3060
|
+
var We;
|
|
3061
|
+
if (je) {
|
|
3062
|
+
var xt = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3063
|
+
We = function(t, r) {
|
|
3027
3064
|
var n;
|
|
3028
|
-
|
|
3029
|
-
var i =
|
|
3065
|
+
xt.lastIndex = r;
|
|
3066
|
+
var i = xt.exec(t);
|
|
3030
3067
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3031
3068
|
};
|
|
3032
3069
|
} else
|
|
3033
|
-
|
|
3070
|
+
We = function(t, r) {
|
|
3034
3071
|
for (var n = []; ; ) {
|
|
3035
|
-
var i =
|
|
3036
|
-
if (i === void 0 ||
|
|
3072
|
+
var i = er(t, r);
|
|
3073
|
+
if (i === void 0 || rr(i) || Jn(i))
|
|
3037
3074
|
break;
|
|
3038
3075
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3039
3076
|
}
|
|
3040
|
-
return
|
|
3077
|
+
return ke.apply(void 0, n);
|
|
3041
3078
|
};
|
|
3042
|
-
var
|
|
3079
|
+
var zn = (
|
|
3043
3080
|
/** @class */
|
|
3044
3081
|
function() {
|
|
3045
3082
|
function e(t, r) {
|
|
@@ -3053,33 +3090,33 @@ var Rn = (
|
|
|
3053
3090
|
for (var i = []; !this.isEOF(); ) {
|
|
3054
3091
|
var s = this.char();
|
|
3055
3092
|
if (s === 123) {
|
|
3056
|
-
var
|
|
3057
|
-
if (
|
|
3058
|
-
return
|
|
3059
|
-
i.push(
|
|
3093
|
+
var o = this.parseArgument(t, n);
|
|
3094
|
+
if (o.err)
|
|
3095
|
+
return o;
|
|
3096
|
+
i.push(o.val);
|
|
3060
3097
|
} else {
|
|
3061
3098
|
if (s === 125 && t > 0)
|
|
3062
3099
|
break;
|
|
3063
3100
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3064
|
-
var
|
|
3101
|
+
var a = this.clonePosition();
|
|
3065
3102
|
this.bump(), i.push({
|
|
3066
3103
|
type: _.pound,
|
|
3067
|
-
location: b(
|
|
3104
|
+
location: b(a, this.clonePosition())
|
|
3068
3105
|
});
|
|
3069
3106
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3070
3107
|
if (n)
|
|
3071
3108
|
break;
|
|
3072
3109
|
return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
3073
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3074
|
-
var
|
|
3075
|
-
if (
|
|
3076
|
-
return
|
|
3077
|
-
i.push(
|
|
3110
|
+
} else if (s === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
|
|
3111
|
+
var o = this.parseTag(t, r);
|
|
3112
|
+
if (o.err)
|
|
3113
|
+
return o;
|
|
3114
|
+
i.push(o.val);
|
|
3078
3115
|
} else {
|
|
3079
|
-
var
|
|
3080
|
-
if (
|
|
3081
|
-
return
|
|
3082
|
-
i.push(
|
|
3116
|
+
var o = this.parseLiteral(t, r);
|
|
3117
|
+
if (o.err)
|
|
3118
|
+
return o;
|
|
3119
|
+
i.push(o.val);
|
|
3083
3120
|
}
|
|
3084
3121
|
}
|
|
3085
3122
|
}
|
|
@@ -3101,27 +3138,27 @@ var Rn = (
|
|
|
3101
3138
|
var s = this.parseMessage(t + 1, r, !0);
|
|
3102
3139
|
if (s.err)
|
|
3103
3140
|
return s;
|
|
3104
|
-
var
|
|
3141
|
+
var o = s.val, a = this.clonePosition();
|
|
3105
3142
|
if (this.bumpIf("</")) {
|
|
3106
|
-
if (this.isEOF() || !
|
|
3107
|
-
return this.error(m.INVALID_TAG, b(
|
|
3108
|
-
var
|
|
3109
|
-
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(
|
|
3143
|
+
if (this.isEOF() || !Ve(this.char()))
|
|
3144
|
+
return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
|
|
3145
|
+
var h = this.clonePosition(), u = this.parseTagName();
|
|
3146
|
+
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3110
3147
|
val: {
|
|
3111
3148
|
type: _.tag,
|
|
3112
3149
|
value: i,
|
|
3113
|
-
children:
|
|
3150
|
+
children: o,
|
|
3114
3151
|
location: b(n, this.clonePosition())
|
|
3115
3152
|
},
|
|
3116
3153
|
err: null
|
|
3117
|
-
} : this.error(m.INVALID_TAG, b(
|
|
3154
|
+
} : this.error(m.INVALID_TAG, b(a, this.clonePosition())));
|
|
3118
3155
|
} else
|
|
3119
3156
|
return this.error(m.UNCLOSED_TAG, b(n, this.clonePosition()));
|
|
3120
3157
|
} else
|
|
3121
3158
|
return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
|
|
3122
3159
|
}, e.prototype.parseTagName = function() {
|
|
3123
3160
|
var t = this.offset();
|
|
3124
|
-
for (this.bump(); !this.isEOF() &&
|
|
3161
|
+
for (this.bump(); !this.isEOF() && Qn(this.char()); )
|
|
3125
3162
|
this.bump();
|
|
3126
3163
|
return this.message.slice(t, this.offset());
|
|
3127
3164
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3131,26 +3168,26 @@ var Rn = (
|
|
|
3131
3168
|
i += s;
|
|
3132
3169
|
continue;
|
|
3133
3170
|
}
|
|
3134
|
-
var
|
|
3135
|
-
if (a) {
|
|
3136
|
-
i += a;
|
|
3137
|
-
continue;
|
|
3138
|
-
}
|
|
3139
|
-
var o = this.tryParseLeftAngleBracket();
|
|
3171
|
+
var o = this.tryParseUnquoted(t, r);
|
|
3140
3172
|
if (o) {
|
|
3141
3173
|
i += o;
|
|
3142
3174
|
continue;
|
|
3143
3175
|
}
|
|
3176
|
+
var a = this.tryParseLeftAngleBracket();
|
|
3177
|
+
if (a) {
|
|
3178
|
+
i += a;
|
|
3179
|
+
continue;
|
|
3180
|
+
}
|
|
3144
3181
|
break;
|
|
3145
3182
|
}
|
|
3146
|
-
var
|
|
3183
|
+
var h = b(n, this.clonePosition());
|
|
3147
3184
|
return {
|
|
3148
|
-
val: { type: _.literal, value: i, location:
|
|
3185
|
+
val: { type: _.literal, value: i, location: h },
|
|
3149
3186
|
err: null
|
|
3150
3187
|
};
|
|
3151
3188
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3152
3189
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3153
|
-
|
|
3190
|
+
!Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3154
3191
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3155
3192
|
if (this.isEOF() || this.char() !== 39)
|
|
3156
3193
|
return null;
|
|
@@ -3184,12 +3221,12 @@ var Rn = (
|
|
|
3184
3221
|
r.push(n);
|
|
3185
3222
|
this.bump();
|
|
3186
3223
|
}
|
|
3187
|
-
return
|
|
3224
|
+
return ke.apply(void 0, r);
|
|
3188
3225
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3189
3226
|
if (this.isEOF())
|
|
3190
3227
|
return null;
|
|
3191
3228
|
var n = this.char();
|
|
3192
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3229
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
|
|
3193
3230
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3194
3231
|
var n = this.clonePosition();
|
|
3195
3232
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3218,15 +3255,15 @@ var Rn = (
|
|
|
3218
3255
|
return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3219
3256
|
}
|
|
3220
3257
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3221
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3258
|
+
var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
|
|
3222
3259
|
this.bumpTo(i);
|
|
3223
|
-
var s = this.clonePosition(),
|
|
3224
|
-
return { value: n, location:
|
|
3260
|
+
var s = this.clonePosition(), o = b(t, s);
|
|
3261
|
+
return { value: n, location: o };
|
|
3225
3262
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3226
|
-
var s,
|
|
3227
|
-
switch (
|
|
3263
|
+
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3264
|
+
switch (a) {
|
|
3228
3265
|
case "":
|
|
3229
|
-
return this.error(m.EXPECT_ARGUMENT_TYPE, b(
|
|
3266
|
+
return this.error(m.EXPECT_ARGUMENT_TYPE, b(o, h));
|
|
3230
3267
|
case "number":
|
|
3231
3268
|
case "date":
|
|
3232
3269
|
case "time": {
|
|
@@ -3234,22 +3271,22 @@ var Rn = (
|
|
|
3234
3271
|
var u = null;
|
|
3235
3272
|
if (this.bumpIf(",")) {
|
|
3236
3273
|
this.bumpSpace();
|
|
3237
|
-
var
|
|
3274
|
+
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3238
3275
|
if (f.err)
|
|
3239
3276
|
return f;
|
|
3240
|
-
var c =
|
|
3277
|
+
var c = Xn(f.val);
|
|
3241
3278
|
if (c.length === 0)
|
|
3242
3279
|
return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
3243
|
-
var d = b(
|
|
3280
|
+
var d = b(l, this.clonePosition());
|
|
3244
3281
|
u = { style: c, styleLocation: d };
|
|
3245
3282
|
}
|
|
3246
3283
|
var v = this.tryParseArgumentClose(i);
|
|
3247
3284
|
if (v.err)
|
|
3248
3285
|
return v;
|
|
3249
3286
|
var p = b(i, this.clonePosition());
|
|
3250
|
-
if (u &&
|
|
3251
|
-
var S =
|
|
3252
|
-
if (
|
|
3287
|
+
if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
|
|
3288
|
+
var S = Vn(u.style.slice(2));
|
|
3289
|
+
if (a === "number") {
|
|
3253
3290
|
var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3254
3291
|
return f.err ? f : {
|
|
3255
3292
|
val: { type: _.number, value: n, location: p, style: f.val },
|
|
@@ -3258,26 +3295,26 @@ var Rn = (
|
|
|
3258
3295
|
} else {
|
|
3259
3296
|
if (S.length === 0)
|
|
3260
3297
|
return this.error(m.EXPECT_DATE_TIME_SKELETON, p);
|
|
3261
|
-
var
|
|
3262
|
-
this.locale && (
|
|
3298
|
+
var M = S;
|
|
3299
|
+
this.locale && (M = Nn(S, this.locale));
|
|
3263
3300
|
var c = {
|
|
3264
|
-
type:
|
|
3265
|
-
pattern:
|
|
3301
|
+
type: Z.dateTime,
|
|
3302
|
+
pattern: M,
|
|
3266
3303
|
location: u.styleLocation,
|
|
3267
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3268
|
-
},
|
|
3304
|
+
parsedOptions: this.shouldParseSkeletons ? Tn(M) : {}
|
|
3305
|
+
}, R = a === "date" ? _.date : _.time;
|
|
3269
3306
|
return {
|
|
3270
|
-
val: { type:
|
|
3307
|
+
val: { type: R, value: n, location: p, style: c },
|
|
3271
3308
|
err: null
|
|
3272
3309
|
};
|
|
3273
3310
|
}
|
|
3274
3311
|
}
|
|
3275
3312
|
return {
|
|
3276
3313
|
val: {
|
|
3277
|
-
type:
|
|
3314
|
+
type: a === "number" ? _.number : a === "date" ? _.date : _.time,
|
|
3278
3315
|
value: n,
|
|
3279
3316
|
location: p,
|
|
3280
|
-
style: (s = u
|
|
3317
|
+
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
|
3281
3318
|
},
|
|
3282
3319
|
err: null
|
|
3283
3320
|
};
|
|
@@ -3289,45 +3326,45 @@ var Rn = (
|
|
|
3289
3326
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3290
3327
|
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(T, g({}, T)));
|
|
3291
3328
|
this.bumpSpace();
|
|
3292
|
-
var
|
|
3293
|
-
if (
|
|
3329
|
+
var U = this.parseIdentifierIfPossible(), O = 0;
|
|
3330
|
+
if (a !== "select" && U.value === "offset") {
|
|
3294
3331
|
if (!this.bumpIf(":"))
|
|
3295
3332
|
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
3296
3333
|
this.bumpSpace();
|
|
3297
3334
|
var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3298
3335
|
if (f.err)
|
|
3299
3336
|
return f;
|
|
3300
|
-
this.bumpSpace(),
|
|
3337
|
+
this.bumpSpace(), U = this.parseIdentifierIfPossible(), O = f.val;
|
|
3301
3338
|
}
|
|
3302
|
-
var
|
|
3303
|
-
if (
|
|
3304
|
-
return
|
|
3339
|
+
var G = this.tryParsePluralOrSelectOptions(t, a, r, U);
|
|
3340
|
+
if (G.err)
|
|
3341
|
+
return G;
|
|
3305
3342
|
var v = this.tryParseArgumentClose(i);
|
|
3306
3343
|
if (v.err)
|
|
3307
3344
|
return v;
|
|
3308
|
-
var
|
|
3309
|
-
return
|
|
3345
|
+
var he = b(i, this.clonePosition());
|
|
3346
|
+
return a === "select" ? {
|
|
3310
3347
|
val: {
|
|
3311
3348
|
type: _.select,
|
|
3312
3349
|
value: n,
|
|
3313
|
-
options:
|
|
3314
|
-
location:
|
|
3350
|
+
options: Et(G.val),
|
|
3351
|
+
location: he
|
|
3315
3352
|
},
|
|
3316
3353
|
err: null
|
|
3317
3354
|
} : {
|
|
3318
3355
|
val: {
|
|
3319
3356
|
type: _.plural,
|
|
3320
3357
|
value: n,
|
|
3321
|
-
options:
|
|
3322
|
-
offset:
|
|
3323
|
-
pluralType:
|
|
3324
|
-
location:
|
|
3358
|
+
options: Et(G.val),
|
|
3359
|
+
offset: O,
|
|
3360
|
+
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3361
|
+
location: he
|
|
3325
3362
|
},
|
|
3326
3363
|
err: null
|
|
3327
3364
|
};
|
|
3328
3365
|
}
|
|
3329
3366
|
default:
|
|
3330
|
-
return this.error(m.INVALID_ARGUMENT_TYPE, b(
|
|
3367
|
+
return this.error(m.INVALID_ARGUMENT_TYPE, b(o, h));
|
|
3331
3368
|
}
|
|
3332
3369
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3333
3370
|
return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3369,34 +3406,34 @@ var Rn = (
|
|
|
3369
3406
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3370
3407
|
var n = [];
|
|
3371
3408
|
try {
|
|
3372
|
-
n =
|
|
3373
|
-
} catch {
|
|
3409
|
+
n = Pn(t);
|
|
3410
|
+
} catch (i) {
|
|
3374
3411
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
3375
3412
|
}
|
|
3376
3413
|
return {
|
|
3377
3414
|
val: {
|
|
3378
|
-
type:
|
|
3415
|
+
type: Z.number,
|
|
3379
3416
|
tokens: n,
|
|
3380
3417
|
location: r,
|
|
3381
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3418
|
+
parsedOptions: this.shouldParseSkeletons ? In(n) : {}
|
|
3382
3419
|
},
|
|
3383
3420
|
err: null
|
|
3384
3421
|
};
|
|
3385
3422
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3386
|
-
for (var s,
|
|
3423
|
+
for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3387
3424
|
if (u.length === 0) {
|
|
3388
3425
|
var f = this.clonePosition();
|
|
3389
3426
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3390
3427
|
var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3391
3428
|
if (c.err)
|
|
3392
3429
|
return c;
|
|
3393
|
-
|
|
3430
|
+
l = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3394
3431
|
} else
|
|
3395
3432
|
break;
|
|
3396
3433
|
}
|
|
3397
|
-
if (
|
|
3398
|
-
return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3399
|
-
u === "other" && (
|
|
3434
|
+
if (h.has(u))
|
|
3435
|
+
return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3436
|
+
u === "other" && (o = !0), this.bumpSpace();
|
|
3400
3437
|
var d = this.clonePosition();
|
|
3401
3438
|
if (!this.bumpIf("{"))
|
|
3402
3439
|
return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
@@ -3406,27 +3443,27 @@ var Rn = (
|
|
|
3406
3443
|
var p = this.tryParseArgumentClose(d);
|
|
3407
3444
|
if (p.err)
|
|
3408
3445
|
return p;
|
|
3409
|
-
|
|
3446
|
+
a.push([
|
|
3410
3447
|
u,
|
|
3411
3448
|
{
|
|
3412
3449
|
value: v.val,
|
|
3413
3450
|
location: b(d, this.clonePosition())
|
|
3414
3451
|
}
|
|
3415
|
-
]),
|
|
3452
|
+
]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
|
|
3416
3453
|
}
|
|
3417
|
-
return
|
|
3454
|
+
return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3418
3455
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3419
3456
|
var n = 1, i = this.clonePosition();
|
|
3420
3457
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3421
|
-
for (var s = !1,
|
|
3422
|
-
var
|
|
3423
|
-
if (
|
|
3424
|
-
s = !0,
|
|
3458
|
+
for (var s = !1, o = 0; !this.isEOF(); ) {
|
|
3459
|
+
var a = this.char();
|
|
3460
|
+
if (a >= 48 && a <= 57)
|
|
3461
|
+
s = !0, o = o * 10 + (a - 48), this.bump();
|
|
3425
3462
|
else
|
|
3426
3463
|
break;
|
|
3427
3464
|
}
|
|
3428
|
-
var
|
|
3429
|
-
return s ? (
|
|
3465
|
+
var h = b(i, this.clonePosition());
|
|
3466
|
+
return s ? (o *= n, kn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3430
3467
|
}, e.prototype.offset = function() {
|
|
3431
3468
|
return this.position.offset;
|
|
3432
3469
|
}, e.prototype.isEOF = function() {
|
|
@@ -3441,7 +3478,7 @@ var Rn = (
|
|
|
3441
3478
|
var t = this.position.offset;
|
|
3442
3479
|
if (t >= this.message.length)
|
|
3443
3480
|
throw Error("out of bound");
|
|
3444
|
-
var r =
|
|
3481
|
+
var r = er(this.message, t);
|
|
3445
3482
|
if (r === void 0)
|
|
3446
3483
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3447
3484
|
return r;
|
|
@@ -3460,7 +3497,7 @@ var Rn = (
|
|
|
3460
3497
|
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);
|
|
3461
3498
|
}
|
|
3462
3499
|
}, e.prototype.bumpIf = function(t) {
|
|
3463
|
-
if (
|
|
3500
|
+
if (_t(this.message, t, this.offset())) {
|
|
3464
3501
|
for (var r = 0; r < t.length; r++)
|
|
3465
3502
|
this.bump();
|
|
3466
3503
|
return !0;
|
|
@@ -3482,56 +3519,56 @@ var Rn = (
|
|
|
3482
3519
|
break;
|
|
3483
3520
|
}
|
|
3484
3521
|
}, e.prototype.bumpSpace = function() {
|
|
3485
|
-
for (; !this.isEOF() &&
|
|
3522
|
+
for (; !this.isEOF() && rr(this.char()); )
|
|
3486
3523
|
this.bump();
|
|
3487
3524
|
}, e.prototype.peek = function() {
|
|
3488
3525
|
if (this.isEOF())
|
|
3489
3526
|
return null;
|
|
3490
3527
|
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3491
|
-
return n
|
|
3528
|
+
return n != null ? n : null;
|
|
3492
3529
|
}, e;
|
|
3493
3530
|
}()
|
|
3494
3531
|
);
|
|
3495
|
-
function
|
|
3532
|
+
function Ve(e) {
|
|
3496
3533
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3497
3534
|
}
|
|
3498
|
-
function
|
|
3499
|
-
return
|
|
3535
|
+
function Zn(e) {
|
|
3536
|
+
return Ve(e) || e === 47;
|
|
3500
3537
|
}
|
|
3501
|
-
function
|
|
3538
|
+
function Qn(e) {
|
|
3502
3539
|
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;
|
|
3503
3540
|
}
|
|
3504
|
-
function
|
|
3541
|
+
function rr(e) {
|
|
3505
3542
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3506
3543
|
}
|
|
3507
|
-
function
|
|
3544
|
+
function Jn(e) {
|
|
3508
3545
|
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;
|
|
3509
3546
|
}
|
|
3510
|
-
function
|
|
3547
|
+
function Xe(e) {
|
|
3511
3548
|
e.forEach(function(t) {
|
|
3512
|
-
if (delete t.location,
|
|
3549
|
+
if (delete t.location, Xt(t) || zt(t))
|
|
3513
3550
|
for (var r in t.options)
|
|
3514
|
-
delete t.options[r].location,
|
|
3515
|
-
else
|
|
3551
|
+
delete t.options[r].location, Xe(t.options[r].value);
|
|
3552
|
+
else kt(t) && Qt(t.style) || (Wt(t) || Vt(t)) && Fe(t.style) ? delete t.style.location : Zt(t) && Xe(t.children);
|
|
3516
3553
|
});
|
|
3517
3554
|
}
|
|
3518
|
-
function
|
|
3555
|
+
function Yn(e, t) {
|
|
3519
3556
|
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3520
|
-
var r = new
|
|
3557
|
+
var r = new zn(e, t).parse();
|
|
3521
3558
|
if (r.err) {
|
|
3522
3559
|
var n = SyntaxError(m[r.err.kind]);
|
|
3523
3560
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3524
3561
|
}
|
|
3525
|
-
return t
|
|
3562
|
+
return t != null && t.captureLocation || Xe(r.val), r.val;
|
|
3526
3563
|
}
|
|
3527
|
-
var
|
|
3564
|
+
var Q;
|
|
3528
3565
|
(function(e) {
|
|
3529
3566
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3530
|
-
})(
|
|
3531
|
-
var
|
|
3567
|
+
})(Q || (Q = {}));
|
|
3568
|
+
var Ee = (
|
|
3532
3569
|
/** @class */
|
|
3533
3570
|
function(e) {
|
|
3534
|
-
|
|
3571
|
+
C(t, e);
|
|
3535
3572
|
function t(r, n, i) {
|
|
3536
3573
|
var s = e.call(this, r) || this;
|
|
3537
3574
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3540,155 +3577,155 @@ var _e = (
|
|
|
3540
3577
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3541
3578
|
}, t;
|
|
3542
3579
|
}(Error)
|
|
3543
|
-
),
|
|
3580
|
+
), St = (
|
|
3544
3581
|
/** @class */
|
|
3545
3582
|
function(e) {
|
|
3546
|
-
|
|
3583
|
+
C(t, e);
|
|
3547
3584
|
function t(r, n, i, s) {
|
|
3548
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3585
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, s) || this;
|
|
3549
3586
|
}
|
|
3550
3587
|
return t;
|
|
3551
|
-
}(
|
|
3552
|
-
),
|
|
3588
|
+
}(Ee)
|
|
3589
|
+
), qn = (
|
|
3553
3590
|
/** @class */
|
|
3554
3591
|
function(e) {
|
|
3555
|
-
|
|
3592
|
+
C(t, e);
|
|
3556
3593
|
function t(r, n, i) {
|
|
3557
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3594
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
|
|
3558
3595
|
}
|
|
3559
3596
|
return t;
|
|
3560
|
-
}(
|
|
3561
|
-
),
|
|
3597
|
+
}(Ee)
|
|
3598
|
+
), Kn = (
|
|
3562
3599
|
/** @class */
|
|
3563
3600
|
function(e) {
|
|
3564
|
-
|
|
3601
|
+
C(t, e);
|
|
3565
3602
|
function t(r, n) {
|
|
3566
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3603
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
|
|
3567
3604
|
}
|
|
3568
3605
|
return t;
|
|
3569
|
-
}(
|
|
3606
|
+
}(Ee)
|
|
3570
3607
|
), w;
|
|
3571
3608
|
(function(e) {
|
|
3572
3609
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3573
3610
|
})(w || (w = {}));
|
|
3574
|
-
function
|
|
3611
|
+
function ei(e) {
|
|
3575
3612
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3576
3613
|
var n = t[t.length - 1];
|
|
3577
3614
|
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
3578
3615
|
}, []);
|
|
3579
3616
|
}
|
|
3580
|
-
function
|
|
3617
|
+
function ti(e) {
|
|
3581
3618
|
return typeof e == "function";
|
|
3582
3619
|
}
|
|
3583
|
-
function
|
|
3584
|
-
if (e.length === 1 &&
|
|
3620
|
+
function me(e, t, r, n, i, s, o) {
|
|
3621
|
+
if (e.length === 1 && bt(e[0]))
|
|
3585
3622
|
return [
|
|
3586
3623
|
{
|
|
3587
3624
|
type: w.literal,
|
|
3588
3625
|
value: e[0].value
|
|
3589
3626
|
}
|
|
3590
3627
|
];
|
|
3591
|
-
for (var
|
|
3592
|
-
var
|
|
3593
|
-
if (
|
|
3594
|
-
|
|
3628
|
+
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3629
|
+
var l = u[h];
|
|
3630
|
+
if (bt(l)) {
|
|
3631
|
+
a.push({
|
|
3595
3632
|
type: w.literal,
|
|
3596
|
-
value:
|
|
3633
|
+
value: l.value
|
|
3597
3634
|
});
|
|
3598
3635
|
continue;
|
|
3599
3636
|
}
|
|
3600
|
-
if (
|
|
3601
|
-
typeof s == "number" &&
|
|
3637
|
+
if (Sn(l)) {
|
|
3638
|
+
typeof s == "number" && a.push({
|
|
3602
3639
|
type: w.literal,
|
|
3603
3640
|
value: r.getNumberFormat(t).format(s)
|
|
3604
3641
|
});
|
|
3605
3642
|
continue;
|
|
3606
3643
|
}
|
|
3607
|
-
var f =
|
|
3644
|
+
var f = l.value;
|
|
3608
3645
|
if (!(i && f in i))
|
|
3609
|
-
throw new
|
|
3646
|
+
throw new Kn(f, o);
|
|
3610
3647
|
var c = i[f];
|
|
3611
|
-
if (
|
|
3612
|
-
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""),
|
|
3648
|
+
if (xn(l)) {
|
|
3649
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3613
3650
|
type: typeof c == "string" ? w.literal : w.object,
|
|
3614
3651
|
value: c
|
|
3615
3652
|
});
|
|
3616
3653
|
continue;
|
|
3617
3654
|
}
|
|
3618
|
-
if (
|
|
3619
|
-
var d = typeof
|
|
3620
|
-
|
|
3655
|
+
if (Wt(l)) {
|
|
3656
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
|
|
3657
|
+
a.push({
|
|
3621
3658
|
type: w.literal,
|
|
3622
3659
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3623
3660
|
});
|
|
3624
3661
|
continue;
|
|
3625
3662
|
}
|
|
3626
|
-
if (
|
|
3627
|
-
var d = typeof
|
|
3628
|
-
|
|
3663
|
+
if (Vt(l)) {
|
|
3664
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3665
|
+
a.push({
|
|
3629
3666
|
type: w.literal,
|
|
3630
3667
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3631
3668
|
});
|
|
3632
3669
|
continue;
|
|
3633
3670
|
}
|
|
3634
|
-
if (
|
|
3635
|
-
var d = typeof
|
|
3636
|
-
d && d.scale && (c = c * (d.scale || 1)),
|
|
3671
|
+
if (kt(l)) {
|
|
3672
|
+
var d = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
|
|
3673
|
+
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
3637
3674
|
type: w.literal,
|
|
3638
3675
|
value: r.getNumberFormat(t, d).format(c)
|
|
3639
3676
|
});
|
|
3640
3677
|
continue;
|
|
3641
3678
|
}
|
|
3642
|
-
if (
|
|
3643
|
-
var v =
|
|
3644
|
-
if (!
|
|
3645
|
-
throw new
|
|
3646
|
-
var
|
|
3647
|
-
return
|
|
3679
|
+
if (Zt(l)) {
|
|
3680
|
+
var v = l.children, p = l.value, S = i[p];
|
|
3681
|
+
if (!ti(S))
|
|
3682
|
+
throw new qn(p, "function", o);
|
|
3683
|
+
var M = me(v, t, r, n, i, s), R = S(M.map(function(O) {
|
|
3684
|
+
return O.value;
|
|
3648
3685
|
}));
|
|
3649
|
-
Array.isArray(
|
|
3686
|
+
Array.isArray(R) || (R = [R]), a.push.apply(a, R.map(function(O) {
|
|
3650
3687
|
return {
|
|
3651
|
-
type: typeof
|
|
3652
|
-
value:
|
|
3688
|
+
type: typeof O == "string" ? w.literal : w.object,
|
|
3689
|
+
value: O
|
|
3653
3690
|
};
|
|
3654
3691
|
}));
|
|
3655
3692
|
}
|
|
3656
|
-
if (
|
|
3657
|
-
var T =
|
|
3693
|
+
if (Xt(l)) {
|
|
3694
|
+
var T = l.options[c] || l.options.other;
|
|
3658
3695
|
if (!T)
|
|
3659
|
-
throw new
|
|
3660
|
-
|
|
3696
|
+
throw new St(l.value, c, Object.keys(l.options), o);
|
|
3697
|
+
a.push.apply(a, me(T.value, t, r, n, i));
|
|
3661
3698
|
continue;
|
|
3662
3699
|
}
|
|
3663
|
-
if (
|
|
3664
|
-
var T =
|
|
3700
|
+
if (zt(l)) {
|
|
3701
|
+
var T = l.options["=".concat(c)];
|
|
3665
3702
|
if (!T) {
|
|
3666
3703
|
if (!Intl.PluralRules)
|
|
3667
|
-
throw new
|
|
3704
|
+
throw new Ee(`Intl.PluralRules is not available in this environment.
|
|
3668
3705
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3669
|
-
`,
|
|
3670
|
-
var
|
|
3671
|
-
T =
|
|
3706
|
+
`, Q.MISSING_INTL_API, o);
|
|
3707
|
+
var U = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3708
|
+
T = l.options[U] || l.options.other;
|
|
3672
3709
|
}
|
|
3673
3710
|
if (!T)
|
|
3674
|
-
throw new
|
|
3675
|
-
|
|
3711
|
+
throw new St(l.value, c, Object.keys(l.options), o);
|
|
3712
|
+
a.push.apply(a, me(T.value, t, r, n, i, c - (l.offset || 0)));
|
|
3676
3713
|
continue;
|
|
3677
3714
|
}
|
|
3678
3715
|
}
|
|
3679
|
-
return
|
|
3716
|
+
return ei(a);
|
|
3680
3717
|
}
|
|
3681
|
-
function
|
|
3718
|
+
function ri(e, t) {
|
|
3682
3719
|
return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3683
3720
|
return r[n] = g(g({}, e[n]), t[n] || {}), r;
|
|
3684
3721
|
}, {})) : e;
|
|
3685
3722
|
}
|
|
3686
|
-
function
|
|
3723
|
+
function ni(e, t) {
|
|
3687
3724
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3688
|
-
return r[n] =
|
|
3725
|
+
return r[n] = ri(e[n], t[n]), r;
|
|
3689
3726
|
}, g({}, e)) : e;
|
|
3690
3727
|
}
|
|
3691
|
-
function
|
|
3728
|
+
function Oe(e) {
|
|
3692
3729
|
return {
|
|
3693
3730
|
create: function() {
|
|
3694
3731
|
return {
|
|
@@ -3702,39 +3739,39 @@ function Be(e) {
|
|
|
3702
3739
|
}
|
|
3703
3740
|
};
|
|
3704
3741
|
}
|
|
3705
|
-
function
|
|
3742
|
+
function ii(e) {
|
|
3706
3743
|
return e === void 0 && (e = {
|
|
3707
3744
|
number: {},
|
|
3708
3745
|
dateTime: {},
|
|
3709
3746
|
pluralRules: {}
|
|
3710
3747
|
}), {
|
|
3711
|
-
getNumberFormat:
|
|
3748
|
+
getNumberFormat: Pe(function() {
|
|
3712
3749
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3713
3750
|
r[n] = arguments[n];
|
|
3714
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3751
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3715
3752
|
}, {
|
|
3716
|
-
cache:
|
|
3717
|
-
strategy:
|
|
3753
|
+
cache: Oe(e.number),
|
|
3754
|
+
strategy: Be.variadic
|
|
3718
3755
|
}),
|
|
3719
|
-
getDateTimeFormat:
|
|
3756
|
+
getDateTimeFormat: Pe(function() {
|
|
3720
3757
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3721
3758
|
r[n] = arguments[n];
|
|
3722
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3759
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3723
3760
|
}, {
|
|
3724
|
-
cache:
|
|
3725
|
-
strategy:
|
|
3761
|
+
cache: Oe(e.dateTime),
|
|
3762
|
+
strategy: Be.variadic
|
|
3726
3763
|
}),
|
|
3727
|
-
getPluralRules:
|
|
3764
|
+
getPluralRules: Pe(function() {
|
|
3728
3765
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3729
3766
|
r[n] = arguments[n];
|
|
3730
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3767
|
+
return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
|
|
3731
3768
|
}, {
|
|
3732
|
-
cache:
|
|
3733
|
-
strategy:
|
|
3769
|
+
cache: Oe(e.pluralRules),
|
|
3770
|
+
strategy: Be.variadic
|
|
3734
3771
|
})
|
|
3735
3772
|
};
|
|
3736
3773
|
}
|
|
3737
|
-
var
|
|
3774
|
+
var si = (
|
|
3738
3775
|
/** @class */
|
|
3739
3776
|
function() {
|
|
3740
3777
|
function e(t, r, n, i) {
|
|
@@ -3744,35 +3781,35 @@ var Zn = (
|
|
|
3744
3781
|
number: {},
|
|
3745
3782
|
dateTime: {},
|
|
3746
3783
|
pluralRules: {}
|
|
3747
|
-
}, this.format = function(
|
|
3748
|
-
var u = s.formatToParts(
|
|
3784
|
+
}, this.format = function(h) {
|
|
3785
|
+
var u = s.formatToParts(h);
|
|
3749
3786
|
if (u.length === 1)
|
|
3750
3787
|
return u[0].value;
|
|
3751
|
-
var
|
|
3788
|
+
var l = u.reduce(function(f, c) {
|
|
3752
3789
|
return !f.length || c.type !== w.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3753
3790
|
}, []);
|
|
3754
|
-
return
|
|
3755
|
-
}, this.formatToParts = function(
|
|
3756
|
-
return
|
|
3791
|
+
return l.length <= 1 ? l[0] || "" : l;
|
|
3792
|
+
}, this.formatToParts = function(h) {
|
|
3793
|
+
return me(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3757
3794
|
}, this.resolvedOptions = function() {
|
|
3758
|
-
var
|
|
3795
|
+
var h;
|
|
3759
3796
|
return {
|
|
3760
|
-
locale: ((
|
|
3797
|
+
locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
|
|
3761
3798
|
};
|
|
3762
3799
|
}, this.getAst = function() {
|
|
3763
3800
|
return s.ast;
|
|
3764
3801
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3765
3802
|
if (this.message = t, !e.__parse)
|
|
3766
3803
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3767
|
-
var
|
|
3768
|
-
|
|
3769
|
-
var
|
|
3770
|
-
this.ast = e.__parse(t, g(g({},
|
|
3804
|
+
var o = i || {};
|
|
3805
|
+
o.formatters;
|
|
3806
|
+
var a = Rr(o, ["formatters"]);
|
|
3807
|
+
this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
|
|
3771
3808
|
} else
|
|
3772
3809
|
this.ast = t;
|
|
3773
3810
|
if (!Array.isArray(this.ast))
|
|
3774
3811
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3775
|
-
this.formats =
|
|
3812
|
+
this.formats = ni(e.formats, n), this.formatters = i && i.formatters || ii(this.formatterCache);
|
|
3776
3813
|
}
|
|
3777
3814
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3778
3815
|
get: function() {
|
|
@@ -3781,11 +3818,11 @@ var Zn = (
|
|
|
3781
3818
|
enumerable: !1,
|
|
3782
3819
|
configurable: !0
|
|
3783
3820
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3784
|
-
if (
|
|
3821
|
+
if (typeof Intl.Locale != "undefined") {
|
|
3785
3822
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3786
3823
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3787
3824
|
}
|
|
3788
|
-
}, e.__parse =
|
|
3825
|
+
}, e.__parse = Yn, e.formats = {
|
|
3789
3826
|
number: {
|
|
3790
3827
|
integer: {
|
|
3791
3828
|
maximumFractionDigits: 0
|
|
@@ -3846,7 +3883,7 @@ var Zn = (
|
|
|
3846
3883
|
}, e;
|
|
3847
3884
|
}()
|
|
3848
3885
|
);
|
|
3849
|
-
function
|
|
3886
|
+
function oi(e, t) {
|
|
3850
3887
|
if (t == null)
|
|
3851
3888
|
return;
|
|
3852
3889
|
if (t in e)
|
|
@@ -3867,92 +3904,92 @@ function Qn(e, t) {
|
|
|
3867
3904
|
n = void 0;
|
|
3868
3905
|
return n;
|
|
3869
3906
|
}
|
|
3870
|
-
const
|
|
3907
|
+
const $ = {}, ai = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), nr = (e, t) => {
|
|
3871
3908
|
if (t == null)
|
|
3872
3909
|
return;
|
|
3873
|
-
if (t in
|
|
3874
|
-
return
|
|
3875
|
-
const r =
|
|
3910
|
+
if (t in $ && e in $[t])
|
|
3911
|
+
return $[t][e];
|
|
3912
|
+
const r = xe(t);
|
|
3876
3913
|
for (let n = 0; n < r.length; n++) {
|
|
3877
|
-
const i = r[n], s =
|
|
3914
|
+
const i = r[n], s = hi(i, e);
|
|
3878
3915
|
if (s)
|
|
3879
|
-
return
|
|
3916
|
+
return ai(e, t, s);
|
|
3880
3917
|
}
|
|
3881
3918
|
};
|
|
3882
|
-
let
|
|
3883
|
-
const
|
|
3884
|
-
function
|
|
3885
|
-
return
|
|
3919
|
+
let Ke;
|
|
3920
|
+
const ue = _e({});
|
|
3921
|
+
function ui(e) {
|
|
3922
|
+
return Ke[e] || null;
|
|
3886
3923
|
}
|
|
3887
|
-
function
|
|
3888
|
-
return e in
|
|
3924
|
+
function ir(e) {
|
|
3925
|
+
return e in Ke;
|
|
3889
3926
|
}
|
|
3890
|
-
function
|
|
3891
|
-
if (!
|
|
3927
|
+
function hi(e, t) {
|
|
3928
|
+
if (!ir(e))
|
|
3892
3929
|
return null;
|
|
3893
|
-
const r =
|
|
3894
|
-
return
|
|
3930
|
+
const r = ui(e);
|
|
3931
|
+
return oi(r, t);
|
|
3895
3932
|
}
|
|
3896
|
-
function
|
|
3933
|
+
function li(e) {
|
|
3897
3934
|
if (e == null)
|
|
3898
3935
|
return;
|
|
3899
|
-
const t =
|
|
3936
|
+
const t = xe(e);
|
|
3900
3937
|
for (let r = 0; r < t.length; r++) {
|
|
3901
3938
|
const n = t[r];
|
|
3902
|
-
if (
|
|
3939
|
+
if (ir(n))
|
|
3903
3940
|
return n;
|
|
3904
3941
|
}
|
|
3905
3942
|
}
|
|
3906
|
-
function
|
|
3907
|
-
delete
|
|
3943
|
+
function sr(e, ...t) {
|
|
3944
|
+
delete $[e], ue.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
|
|
3908
3945
|
}
|
|
3909
|
-
|
|
3910
|
-
[
|
|
3946
|
+
q(
|
|
3947
|
+
[ue],
|
|
3911
3948
|
([e]) => Object.keys(e)
|
|
3912
3949
|
);
|
|
3913
|
-
|
|
3914
|
-
const
|
|
3915
|
-
function
|
|
3916
|
-
|
|
3950
|
+
ue.subscribe((e) => Ke = e);
|
|
3951
|
+
const be = {};
|
|
3952
|
+
function fi(e, t) {
|
|
3953
|
+
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
3917
3954
|
}
|
|
3918
|
-
function
|
|
3919
|
-
return
|
|
3955
|
+
function or(e) {
|
|
3956
|
+
return be[e];
|
|
3920
3957
|
}
|
|
3921
|
-
function
|
|
3922
|
-
return
|
|
3923
|
-
const r =
|
|
3958
|
+
function ci(e) {
|
|
3959
|
+
return xe(e).map((t) => {
|
|
3960
|
+
const r = or(t);
|
|
3924
3961
|
return [t, r ? [...r] : []];
|
|
3925
3962
|
}).filter(([, t]) => t.length > 0);
|
|
3926
3963
|
}
|
|
3927
|
-
function
|
|
3928
|
-
return e == null ? !1 :
|
|
3964
|
+
function ze(e) {
|
|
3965
|
+
return e == null ? !1 : xe(e).some(
|
|
3929
3966
|
(t) => {
|
|
3930
3967
|
var r;
|
|
3931
|
-
return (r =
|
|
3968
|
+
return (r = or(t)) == null ? void 0 : r.size;
|
|
3932
3969
|
}
|
|
3933
3970
|
);
|
|
3934
3971
|
}
|
|
3935
|
-
function
|
|
3972
|
+
function di(e, t) {
|
|
3936
3973
|
return Promise.all(
|
|
3937
|
-
t.map((n) => (
|
|
3938
|
-
).then((n) =>
|
|
3939
|
-
}
|
|
3940
|
-
const
|
|
3941
|
-
function
|
|
3942
|
-
if (!
|
|
3943
|
-
return e in
|
|
3944
|
-
const t =
|
|
3945
|
-
return
|
|
3974
|
+
t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
|
|
3975
|
+
).then((n) => sr(e, ...n));
|
|
3976
|
+
}
|
|
3977
|
+
const te = {};
|
|
3978
|
+
function ar(e) {
|
|
3979
|
+
if (!ze(e))
|
|
3980
|
+
return e in te ? te[e] : Promise.resolve();
|
|
3981
|
+
const t = ci(e);
|
|
3982
|
+
return te[e] = Promise.all(
|
|
3946
3983
|
t.map(
|
|
3947
|
-
([r, n]) =>
|
|
3984
|
+
([r, n]) => di(r, n)
|
|
3948
3985
|
)
|
|
3949
3986
|
).then(() => {
|
|
3950
|
-
if (
|
|
3951
|
-
return
|
|
3952
|
-
delete
|
|
3953
|
-
}),
|
|
3987
|
+
if (ze(e))
|
|
3988
|
+
return ar(e);
|
|
3989
|
+
delete te[e];
|
|
3990
|
+
}), te[e];
|
|
3954
3991
|
}
|
|
3955
|
-
const
|
|
3992
|
+
const pi = {
|
|
3956
3993
|
number: {
|
|
3957
3994
|
scientific: { notation: "scientific" },
|
|
3958
3995
|
engineering: { notation: "engineering" },
|
|
@@ -3981,159 +4018,159 @@ const ni = {
|
|
|
3981
4018
|
timeZoneName: "short"
|
|
3982
4019
|
}
|
|
3983
4020
|
}
|
|
3984
|
-
},
|
|
4021
|
+
}, mi = {
|
|
3985
4022
|
fallbackLocale: null,
|
|
3986
4023
|
loadingDelay: 200,
|
|
3987
|
-
formats:
|
|
4024
|
+
formats: pi,
|
|
3988
4025
|
warnOnMissingMessages: !0,
|
|
3989
4026
|
handleMissingMessage: void 0,
|
|
3990
4027
|
ignoreTag: !0
|
|
3991
|
-
},
|
|
3992
|
-
function
|
|
3993
|
-
return
|
|
4028
|
+
}, bi = mi;
|
|
4029
|
+
function J() {
|
|
4030
|
+
return bi;
|
|
3994
4031
|
}
|
|
3995
|
-
const
|
|
3996
|
-
var
|
|
4032
|
+
const Ie = _e(!1);
|
|
4033
|
+
var gi = Object.defineProperty, yi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
|
|
3997
4034
|
for (var r in t)
|
|
3998
|
-
|
|
3999
|
-
if (
|
|
4000
|
-
for (var r of
|
|
4001
|
-
|
|
4035
|
+
_i.call(t, r) && Tt(e, r, t[r]);
|
|
4036
|
+
if (wt)
|
|
4037
|
+
for (var r of wt(t))
|
|
4038
|
+
Ei.call(t, r) && Tt(e, r, t[r]);
|
|
4002
4039
|
return e;
|
|
4003
|
-
},
|
|
4004
|
-
let
|
|
4005
|
-
const
|
|
4006
|
-
function
|
|
4040
|
+
}, Si = (e, t) => yi(e, vi(t));
|
|
4041
|
+
let Ze;
|
|
4042
|
+
const ge = _e(null);
|
|
4043
|
+
function Ht(e) {
|
|
4007
4044
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4008
4045
|
}
|
|
4009
|
-
function
|
|
4010
|
-
const r =
|
|
4011
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4046
|
+
function xe(e, t = J().fallbackLocale) {
|
|
4047
|
+
const r = Ht(e);
|
|
4048
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
|
|
4012
4049
|
}
|
|
4013
|
-
function
|
|
4014
|
-
return
|
|
4050
|
+
function D() {
|
|
4051
|
+
return Ze != null ? Ze : void 0;
|
|
4015
4052
|
}
|
|
4016
|
-
|
|
4017
|
-
|
|
4053
|
+
ge.subscribe((e) => {
|
|
4054
|
+
Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4018
4055
|
});
|
|
4019
|
-
const
|
|
4020
|
-
if (e &&
|
|
4021
|
-
const { loadingDelay: t } =
|
|
4056
|
+
const wi = (e) => {
|
|
4057
|
+
if (e && li(e) && ze(e)) {
|
|
4058
|
+
const { loadingDelay: t } = J();
|
|
4022
4059
|
let r;
|
|
4023
|
-
return typeof window
|
|
4024
|
-
() =>
|
|
4060
|
+
return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
|
|
4061
|
+
() => Ie.set(!0),
|
|
4025
4062
|
t
|
|
4026
|
-
) :
|
|
4027
|
-
|
|
4063
|
+
) : Ie.set(!0), ar(e).then(() => {
|
|
4064
|
+
ge.set(e);
|
|
4028
4065
|
}).finally(() => {
|
|
4029
|
-
clearTimeout(r),
|
|
4066
|
+
clearTimeout(r), Ie.set(!1);
|
|
4030
4067
|
});
|
|
4031
4068
|
}
|
|
4032
|
-
return
|
|
4033
|
-
},
|
|
4034
|
-
set:
|
|
4035
|
-
}),
|
|
4069
|
+
return ge.set(e);
|
|
4070
|
+
}, K = Si(xi({}, ge), {
|
|
4071
|
+
set: wi
|
|
4072
|
+
}), Se = (e) => {
|
|
4036
4073
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4037
4074
|
return (n) => {
|
|
4038
4075
|
const i = JSON.stringify(n);
|
|
4039
4076
|
return i in t ? t[i] : t[i] = e(n);
|
|
4040
4077
|
};
|
|
4041
4078
|
};
|
|
4042
|
-
var
|
|
4079
|
+
var Ti = Object.defineProperty, ye = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
|
|
4043
4080
|
for (var r in t || (t = {}))
|
|
4044
|
-
|
|
4045
|
-
if (
|
|
4046
|
-
for (var r of
|
|
4047
|
-
|
|
4081
|
+
ur.call(t, r) && Pt(e, r, t[r]);
|
|
4082
|
+
if (ye)
|
|
4083
|
+
for (var r of ye(t))
|
|
4084
|
+
hr.call(t, r) && Pt(e, r, t[r]);
|
|
4048
4085
|
return e;
|
|
4049
|
-
},
|
|
4086
|
+
}, ee = (e, t) => {
|
|
4050
4087
|
var r = {};
|
|
4051
4088
|
for (var n in e)
|
|
4052
|
-
|
|
4053
|
-
if (e != null &&
|
|
4054
|
-
for (var n of
|
|
4055
|
-
t.indexOf(n) < 0 &&
|
|
4089
|
+
ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4090
|
+
if (e != null && ye)
|
|
4091
|
+
for (var n of ye(e))
|
|
4092
|
+
t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
|
|
4056
4093
|
return r;
|
|
4057
4094
|
};
|
|
4058
|
-
const
|
|
4059
|
-
const { formats: r } =
|
|
4095
|
+
const se = (e, t) => {
|
|
4096
|
+
const { formats: r } = J();
|
|
4060
4097
|
if (e in r && t in r[e])
|
|
4061
4098
|
return r[e][t];
|
|
4062
4099
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4063
|
-
},
|
|
4100
|
+
}, Hi = Se(
|
|
4064
4101
|
(e) => {
|
|
4065
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4102
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4066
4103
|
if (r == null)
|
|
4067
4104
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4068
|
-
return n && (i =
|
|
4105
|
+
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4069
4106
|
}
|
|
4070
|
-
),
|
|
4107
|
+
), Pi = Se(
|
|
4071
4108
|
(e) => {
|
|
4072
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4109
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4073
4110
|
if (r == null)
|
|
4074
4111
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4075
|
-
return n ? i =
|
|
4112
|
+
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4076
4113
|
}
|
|
4077
|
-
),
|
|
4114
|
+
), Bi = Se(
|
|
4078
4115
|
(e) => {
|
|
4079
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4116
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4080
4117
|
if (r == null)
|
|
4081
4118
|
throw new Error(
|
|
4082
4119
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4083
4120
|
);
|
|
4084
|
-
return n ? i =
|
|
4121
|
+
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4085
4122
|
}
|
|
4086
|
-
),
|
|
4123
|
+
), Ai = (e = {}) => {
|
|
4087
4124
|
var t = e, {
|
|
4088
|
-
locale: r =
|
|
4089
|
-
} = t, n =
|
|
4125
|
+
locale: r = D()
|
|
4126
|
+
} = t, n = ee(t, [
|
|
4090
4127
|
"locale"
|
|
4091
4128
|
]);
|
|
4092
|
-
return
|
|
4093
|
-
},
|
|
4129
|
+
return Hi(et({ locale: r }, n));
|
|
4130
|
+
}, Oi = (e = {}) => {
|
|
4094
4131
|
var t = e, {
|
|
4095
|
-
locale: r =
|
|
4096
|
-
} = t, n =
|
|
4132
|
+
locale: r = D()
|
|
4133
|
+
} = t, n = ee(t, [
|
|
4097
4134
|
"locale"
|
|
4098
4135
|
]);
|
|
4099
|
-
return
|
|
4100
|
-
},
|
|
4136
|
+
return Pi(et({ locale: r }, n));
|
|
4137
|
+
}, Ii = (e = {}) => {
|
|
4101
4138
|
var t = e, {
|
|
4102
|
-
locale: r =
|
|
4103
|
-
} = t, n =
|
|
4139
|
+
locale: r = D()
|
|
4140
|
+
} = t, n = ee(t, [
|
|
4104
4141
|
"locale"
|
|
4105
4142
|
]);
|
|
4106
|
-
return
|
|
4107
|
-
},
|
|
4143
|
+
return Bi(et({ locale: r }, n));
|
|
4144
|
+
}, Ni = Se(
|
|
4108
4145
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4109
|
-
(e, t =
|
|
4110
|
-
ignoreTag:
|
|
4146
|
+
(e, t = D()) => new si(e, t, J().formats, {
|
|
4147
|
+
ignoreTag: J().ignoreTag
|
|
4111
4148
|
})
|
|
4112
|
-
),
|
|
4149
|
+
), Li = (e, t = {}) => {
|
|
4113
4150
|
var r, n, i, s;
|
|
4114
|
-
let
|
|
4115
|
-
typeof e == "object" && (
|
|
4151
|
+
let o = t;
|
|
4152
|
+
typeof e == "object" && (o = e, e = o.id);
|
|
4116
4153
|
const {
|
|
4117
|
-
values:
|
|
4118
|
-
locale:
|
|
4154
|
+
values: a,
|
|
4155
|
+
locale: h = D(),
|
|
4119
4156
|
default: u
|
|
4120
|
-
} =
|
|
4121
|
-
if (
|
|
4157
|
+
} = o;
|
|
4158
|
+
if (h == null)
|
|
4122
4159
|
throw new Error(
|
|
4123
4160
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4124
4161
|
);
|
|
4125
|
-
let
|
|
4126
|
-
if (!
|
|
4127
|
-
|
|
4128
|
-
else if (typeof
|
|
4162
|
+
let l = nr(e, h);
|
|
4163
|
+
if (!l)
|
|
4164
|
+
l = (s = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
4165
|
+
else if (typeof l != "string")
|
|
4129
4166
|
return console.warn(
|
|
4130
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
4131
|
-
),
|
|
4132
|
-
if (!
|
|
4133
|
-
return
|
|
4134
|
-
let f =
|
|
4167
|
+
`[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.`
|
|
4168
|
+
), l;
|
|
4169
|
+
if (!a)
|
|
4170
|
+
return l;
|
|
4171
|
+
let f = l;
|
|
4135
4172
|
try {
|
|
4136
|
-
f =
|
|
4173
|
+
f = Ni(l, h).format(a);
|
|
4137
4174
|
} catch (c) {
|
|
4138
4175
|
c instanceof Error && console.warn(
|
|
4139
4176
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4141,20 +4178,20 @@ const ie = (e, t) => {
|
|
|
4141
4178
|
);
|
|
4142
4179
|
}
|
|
4143
4180
|
return f;
|
|
4144
|
-
},
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
window.emWidgets = { topic:
|
|
4150
|
-
const
|
|
4151
|
-
function
|
|
4152
|
-
|
|
4153
|
-
}
|
|
4154
|
-
function
|
|
4155
|
-
|
|
4156
|
-
}
|
|
4157
|
-
const
|
|
4181
|
+
}, Ci = (e, t) => Ii(t).format(e), Mi = (e, t) => Oi(t).format(e), Ri = (e, t) => Ai(t).format(e), $i = (e, t = D()) => nr(e, t), Ui = q([K, ue], () => Li);
|
|
4182
|
+
q([K], () => Ci);
|
|
4183
|
+
q([K], () => Mi);
|
|
4184
|
+
q([K], () => Ri);
|
|
4185
|
+
q([K, ue], () => $i);
|
|
4186
|
+
window.emWidgets = { topic: Jr };
|
|
4187
|
+
const Di = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4188
|
+
function Bt(e, t) {
|
|
4189
|
+
sr(e, t);
|
|
4190
|
+
}
|
|
4191
|
+
function Gi(e) {
|
|
4192
|
+
K.set(e);
|
|
4193
|
+
}
|
|
4194
|
+
const At = {
|
|
4158
4195
|
en: {
|
|
4159
4196
|
titlePendingWithdrawals: "Pending Withdrawal",
|
|
4160
4197
|
loading: "Loading, please wait ..."
|
|
@@ -4192,20 +4229,20 @@ const St = {
|
|
|
4192
4229
|
loading: "Loading, please wait ..."
|
|
4193
4230
|
}
|
|
4194
4231
|
};
|
|
4195
|
-
function
|
|
4196
|
-
|
|
4232
|
+
function Fi(e) {
|
|
4233
|
+
gr(e, "svelte-1y7sj7e", ".PendingWithdrawalsWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.PendingWithdrawalsWrapper.PendingWithdrawalsWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.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))}.PendingWithdrawalsTitle{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)}.PendingWithdrawalsTitleMobile{font-size:var(--emw--size-standard, 16px)}.PendingWithdrawalsTitleNone{display:none}.PendingWithdrawalsIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}");
|
|
4197
4234
|
}
|
|
4198
|
-
function
|
|
4199
|
-
let t, r, n, i, s,
|
|
4235
|
+
function ji(e) {
|
|
4236
|
+
let t, r, n, i, s, o, a, h, u, l, f = (
|
|
4200
4237
|
/*$_*/
|
|
4201
4238
|
e[3]("titlePendingWithdrawals") + ""
|
|
4202
4239
|
), c, d, v;
|
|
4203
4240
|
return {
|
|
4204
4241
|
c() {
|
|
4205
|
-
t =
|
|
4242
|
+
t = L("div"), r = F("svg"), n = F("defs"), i = F("style"), s = ne(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), o = F("g"), a = F("g"), h = F("path"), u = Ne(), l = L("h2"), c = ne(f), 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(o, "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", "PendingWithdrawalsTitleMobile"), E(t, "class", "MenuReturnButton");
|
|
4206
4243
|
},
|
|
4207
4244
|
m(p, S) {
|
|
4208
|
-
|
|
4245
|
+
ae(p, t, S), x(t, r), x(r, n), x(n, i), x(i, s), x(r, o), x(o, a), x(a, h), x(t, u), x(t, l), x(l, c), d || (v = _r(
|
|
4209
4246
|
t,
|
|
4210
4247
|
"click",
|
|
4211
4248
|
/*click_handler*/
|
|
@@ -4215,109 +4252,109 @@ function Ii(e) {
|
|
|
4215
4252
|
p(p, S) {
|
|
4216
4253
|
S & /*$_*/
|
|
4217
4254
|
8 && f !== (f = /*$_*/
|
|
4218
|
-
p[3]("titlePendingWithdrawals") + "") &&
|
|
4255
|
+
p[3]("titlePendingWithdrawals") + "") && Je(c, f);
|
|
4219
4256
|
},
|
|
4220
4257
|
d(p) {
|
|
4221
|
-
p &&
|
|
4258
|
+
p && Y(t), d = !1, v();
|
|
4222
4259
|
}
|
|
4223
4260
|
};
|
|
4224
4261
|
}
|
|
4225
|
-
function
|
|
4262
|
+
function ki(e) {
|
|
4226
4263
|
let t, r, n;
|
|
4227
4264
|
return {
|
|
4228
4265
|
c() {
|
|
4229
|
-
t =
|
|
4266
|
+
t = L("div"), r = L("iframe"), ot(r.src, n = /*iframeUrl*/
|
|
4230
4267
|
e[2]) || E(r, "src", n), E(r, "title", "Pending Withdrawals Iframe"), E(t, "class", "PendingWithdrawalsIframeWrapper");
|
|
4231
4268
|
},
|
|
4232
4269
|
m(i, s) {
|
|
4233
|
-
|
|
4270
|
+
ae(i, t, s), x(t, r);
|
|
4234
4271
|
},
|
|
4235
4272
|
p(i, s) {
|
|
4236
4273
|
s & /*iframeUrl*/
|
|
4237
|
-
4 && !
|
|
4274
|
+
4 && !ot(r.src, n = /*iframeUrl*/
|
|
4238
4275
|
i[2]) && E(r, "src", n);
|
|
4239
4276
|
},
|
|
4240
4277
|
d(i) {
|
|
4241
|
-
i &&
|
|
4278
|
+
i && Y(t);
|
|
4242
4279
|
}
|
|
4243
4280
|
};
|
|
4244
4281
|
}
|
|
4245
|
-
function
|
|
4282
|
+
function Wi(e) {
|
|
4246
4283
|
let t, r = (
|
|
4247
4284
|
/*$_*/
|
|
4248
4285
|
e[3]("loading") + ""
|
|
4249
4286
|
), n;
|
|
4250
4287
|
return {
|
|
4251
4288
|
c() {
|
|
4252
|
-
t =
|
|
4289
|
+
t = L("p"), n = ne(r);
|
|
4253
4290
|
},
|
|
4254
4291
|
m(i, s) {
|
|
4255
|
-
|
|
4292
|
+
ae(i, t, s), x(t, n);
|
|
4256
4293
|
},
|
|
4257
4294
|
p(i, s) {
|
|
4258
4295
|
s & /*$_*/
|
|
4259
4296
|
8 && r !== (r = /*$_*/
|
|
4260
|
-
i[3]("loading") + "") &&
|
|
4297
|
+
i[3]("loading") + "") && Je(n, r);
|
|
4261
4298
|
},
|
|
4262
4299
|
d(i) {
|
|
4263
|
-
i &&
|
|
4300
|
+
i && Y(t);
|
|
4264
4301
|
}
|
|
4265
4302
|
};
|
|
4266
4303
|
}
|
|
4267
|
-
function
|
|
4304
|
+
function Vi(e) {
|
|
4268
4305
|
let t, r, n, i = (
|
|
4269
4306
|
/*$_*/
|
|
4270
4307
|
e[3]("titlePendingWithdrawals") + ""
|
|
4271
|
-
), s,
|
|
4308
|
+
), s, o, a = (
|
|
4272
4309
|
/*isMobile*/
|
|
4273
|
-
e[4] &&
|
|
4310
|
+
e[4] && ji(e)
|
|
4274
4311
|
);
|
|
4275
|
-
function
|
|
4312
|
+
function h(f, c) {
|
|
4276
4313
|
return (
|
|
4277
4314
|
/*isLoading*/
|
|
4278
|
-
f[1] ?
|
|
4315
|
+
f[1] ? Wi : ki
|
|
4279
4316
|
);
|
|
4280
4317
|
}
|
|
4281
|
-
let u =
|
|
4318
|
+
let u = h(e), l = u(e);
|
|
4282
4319
|
return {
|
|
4283
4320
|
c() {
|
|
4284
|
-
t =
|
|
4321
|
+
t = L("div"), a && a.c(), r = Ne(), n = L("h2"), s = ne(i), o = Ne(), l.c(), E(n, "class", "PendingWithdrawalsTitle " + /*isMobile*/
|
|
4285
4322
|
(e[4] ? "PendingWithdrawalsTitleNone" : "")), E(t, "class", "PendingWithdrawalsWrapper " + /*isMobile*/
|
|
4286
4323
|
(e[4] ? "PendingWithdrawalsWrapperMobile" : ""));
|
|
4287
4324
|
},
|
|
4288
4325
|
m(f, c) {
|
|
4289
|
-
|
|
4326
|
+
ae(f, t, c), a && a.m(t, null), x(t, r), x(t, n), x(n, s), x(t, o), l.m(t, null), e[14](t);
|
|
4290
4327
|
},
|
|
4291
4328
|
p(f, [c]) {
|
|
4292
4329
|
/*isMobile*/
|
|
4293
|
-
f[4] &&
|
|
4330
|
+
f[4] && a.p(f, c), c & /*$_*/
|
|
4294
4331
|
8 && i !== (i = /*$_*/
|
|
4295
|
-
f[3]("titlePendingWithdrawals") + "") &&
|
|
4332
|
+
f[3]("titlePendingWithdrawals") + "") && Je(s, i), u === (u = h(f)) && l ? l.p(f, c) : (l.d(1), l = u(f), l && (l.c(), l.m(t, null)));
|
|
4296
4333
|
},
|
|
4297
|
-
i:
|
|
4298
|
-
o:
|
|
4334
|
+
i: A,
|
|
4335
|
+
o: A,
|
|
4299
4336
|
d(f) {
|
|
4300
|
-
f &&
|
|
4337
|
+
f && Y(t), a && a.d(), l.d(), e[14](null);
|
|
4301
4338
|
}
|
|
4302
4339
|
};
|
|
4303
4340
|
}
|
|
4304
|
-
function
|
|
4341
|
+
function Xi(e, t, r) {
|
|
4305
4342
|
let n;
|
|
4306
|
-
|
|
4307
|
-
let { endpoint: i = "" } = t, { session: s = "" } = t, { playerid:
|
|
4343
|
+
br(e, Ui, (y) => r(3, n = y));
|
|
4344
|
+
let { endpoint: i = "" } = t, { session: s = "" } = t, { playerid: o = "" } = t, { lang: a = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: l = "" } = t, f, c = window.navigator.userAgent, d = Di(c) !== "PC", v = !0, p = "";
|
|
4308
4345
|
const S = () => {
|
|
4309
|
-
fetch(
|
|
4310
|
-
Object.keys(
|
|
4311
|
-
|
|
4346
|
+
fetch(l).then((B) => B.json()).then((B) => {
|
|
4347
|
+
Object.keys(B).forEach((H) => {
|
|
4348
|
+
Bt(H, B[H]);
|
|
4312
4349
|
});
|
|
4313
|
-
}).catch((
|
|
4314
|
-
console.log(
|
|
4350
|
+
}).catch((B) => {
|
|
4351
|
+
console.log(B);
|
|
4315
4352
|
});
|
|
4316
4353
|
};
|
|
4317
|
-
Object.keys(
|
|
4318
|
-
|
|
4354
|
+
Object.keys(At).forEach((y) => {
|
|
4355
|
+
Bt(y, At[y]);
|
|
4319
4356
|
});
|
|
4320
|
-
const
|
|
4357
|
+
const M = () => {
|
|
4321
4358
|
window.postMessage(
|
|
4322
4359
|
{
|
|
4323
4360
|
type: "PlayerAccountMenuActive",
|
|
@@ -4325,17 +4362,17 @@ function Mi(e, t, r) {
|
|
|
4325
4362
|
},
|
|
4326
4363
|
window.location.href
|
|
4327
4364
|
);
|
|
4328
|
-
},
|
|
4329
|
-
let y = new URL(`${i}/v1/player/${
|
|
4330
|
-
y.searchParams.append("language",
|
|
4331
|
-
let
|
|
4365
|
+
}, R = () => {
|
|
4366
|
+
let y = new URL(`${i}/v1/player/${o}/hostedcashier/pendingwithdrawals`);
|
|
4367
|
+
y.searchParams.append("language", a);
|
|
4368
|
+
let B = {
|
|
4332
4369
|
method: "GET",
|
|
4333
4370
|
headers: {
|
|
4334
4371
|
"X-SessionId": s,
|
|
4335
4372
|
accept: "application/json"
|
|
4336
4373
|
}
|
|
4337
4374
|
};
|
|
4338
|
-
fetch(y.href,
|
|
4375
|
+
fetch(y.href, B).then((H) => H.json()).then(
|
|
4339
4376
|
(H) => {
|
|
4340
4377
|
r(1, v = !1), r(2, p = H.CashierUrl);
|
|
4341
4378
|
},
|
|
@@ -4344,61 +4381,61 @@ function Mi(e, t, r) {
|
|
|
4344
4381
|
}
|
|
4345
4382
|
);
|
|
4346
4383
|
}, T = () => {
|
|
4347
|
-
|
|
4348
|
-
},
|
|
4384
|
+
Gi(a);
|
|
4385
|
+
}, U = () => {
|
|
4349
4386
|
let y = document.createElement("style");
|
|
4350
|
-
y.innerHTML =
|
|
4351
|
-
},
|
|
4352
|
-
let y = new URL(u),
|
|
4387
|
+
y.innerHTML = h, f.appendChild(y);
|
|
4388
|
+
}, O = () => {
|
|
4389
|
+
let y = new URL(u), B = document.createElement("style");
|
|
4353
4390
|
fetch(y.href).then((H) => H.text()).then((H) => {
|
|
4354
|
-
|
|
4391
|
+
B.innerHTML = H, setTimeout(
|
|
4355
4392
|
() => {
|
|
4356
|
-
f.appendChild(
|
|
4393
|
+
f.appendChild(B);
|
|
4357
4394
|
},
|
|
4358
4395
|
1
|
|
4359
4396
|
);
|
|
4360
4397
|
});
|
|
4361
|
-
},
|
|
4362
|
-
function
|
|
4363
|
-
|
|
4398
|
+
}, G = () => M();
|
|
4399
|
+
function he(y) {
|
|
4400
|
+
Le[y ? "unshift" : "push"](() => {
|
|
4364
4401
|
f = y, r(0, f);
|
|
4365
4402
|
});
|
|
4366
4403
|
}
|
|
4367
4404
|
return e.$$set = (y) => {
|
|
4368
|
-
"endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, s = y.session), "playerid" in y && r(8,
|
|
4405
|
+
"endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, s = y.session), "playerid" in y && r(8, o = y.playerid), "lang" in y && r(9, a = y.lang), "clientstyling" in y && r(10, h = y.clientstyling), "clientstylingurl" in y && r(11, u = y.clientstylingurl), "translationurl" in y && r(12, l = y.translationurl);
|
|
4369
4406
|
}, e.$$.update = () => {
|
|
4370
4407
|
e.$$.dirty & /*lang*/
|
|
4371
|
-
512 &&
|
|
4372
|
-
960 && s &&
|
|
4373
|
-
2049 && u && f &&
|
|
4374
|
-
1025 &&
|
|
4375
|
-
4096 &&
|
|
4408
|
+
512 && a && T(), e.$$.dirty & /*session, playerid, endpoint, lang*/
|
|
4409
|
+
960 && s && o && i && a && R(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4410
|
+
2049 && u && f && O(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4411
|
+
1025 && h && f && U(), e.$$.dirty & /*translationurl*/
|
|
4412
|
+
4096 && l && S();
|
|
4376
4413
|
}, [
|
|
4377
4414
|
f,
|
|
4378
4415
|
v,
|
|
4379
4416
|
p,
|
|
4380
4417
|
n,
|
|
4381
4418
|
d,
|
|
4382
|
-
|
|
4419
|
+
M,
|
|
4383
4420
|
i,
|
|
4384
4421
|
s,
|
|
4385
|
-
a,
|
|
4386
4422
|
o,
|
|
4387
|
-
|
|
4388
|
-
u,
|
|
4423
|
+
a,
|
|
4389
4424
|
h,
|
|
4390
|
-
|
|
4391
|
-
|
|
4425
|
+
u,
|
|
4426
|
+
l,
|
|
4427
|
+
G,
|
|
4428
|
+
he
|
|
4392
4429
|
];
|
|
4393
4430
|
}
|
|
4394
|
-
class
|
|
4431
|
+
class zi extends Cr {
|
|
4395
4432
|
constructor(t) {
|
|
4396
|
-
super(),
|
|
4433
|
+
super(), Nr(
|
|
4397
4434
|
this,
|
|
4398
4435
|
t,
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4436
|
+
Xi,
|
|
4437
|
+
Vi,
|
|
4438
|
+
It,
|
|
4402
4439
|
{
|
|
4403
4440
|
endpoint: 6,
|
|
4404
4441
|
session: 7,
|
|
@@ -4408,53 +4445,53 @@ class Ri extends Sr {
|
|
|
4408
4445
|
clientstylingurl: 11,
|
|
4409
4446
|
translationurl: 12
|
|
4410
4447
|
},
|
|
4411
|
-
|
|
4448
|
+
Fi
|
|
4412
4449
|
);
|
|
4413
4450
|
}
|
|
4414
4451
|
get endpoint() {
|
|
4415
4452
|
return this.$$.ctx[6];
|
|
4416
4453
|
}
|
|
4417
4454
|
set endpoint(t) {
|
|
4418
|
-
this.$$set({ endpoint: t }),
|
|
4455
|
+
this.$$set({ endpoint: t }), I();
|
|
4419
4456
|
}
|
|
4420
4457
|
get session() {
|
|
4421
4458
|
return this.$$.ctx[7];
|
|
4422
4459
|
}
|
|
4423
4460
|
set session(t) {
|
|
4424
|
-
this.$$set({ session: t }),
|
|
4461
|
+
this.$$set({ session: t }), I();
|
|
4425
4462
|
}
|
|
4426
4463
|
get playerid() {
|
|
4427
4464
|
return this.$$.ctx[8];
|
|
4428
4465
|
}
|
|
4429
4466
|
set playerid(t) {
|
|
4430
|
-
this.$$set({ playerid: t }),
|
|
4467
|
+
this.$$set({ playerid: t }), I();
|
|
4431
4468
|
}
|
|
4432
4469
|
get lang() {
|
|
4433
4470
|
return this.$$.ctx[9];
|
|
4434
4471
|
}
|
|
4435
4472
|
set lang(t) {
|
|
4436
|
-
this.$$set({ lang: t }),
|
|
4473
|
+
this.$$set({ lang: t }), I();
|
|
4437
4474
|
}
|
|
4438
4475
|
get clientstyling() {
|
|
4439
4476
|
return this.$$.ctx[10];
|
|
4440
4477
|
}
|
|
4441
4478
|
set clientstyling(t) {
|
|
4442
|
-
this.$$set({ clientstyling: t }),
|
|
4479
|
+
this.$$set({ clientstyling: t }), I();
|
|
4443
4480
|
}
|
|
4444
4481
|
get clientstylingurl() {
|
|
4445
4482
|
return this.$$.ctx[11];
|
|
4446
4483
|
}
|
|
4447
4484
|
set clientstylingurl(t) {
|
|
4448
|
-
this.$$set({ clientstylingurl: t }),
|
|
4485
|
+
this.$$set({ clientstylingurl: t }), I();
|
|
4449
4486
|
}
|
|
4450
4487
|
get translationurl() {
|
|
4451
4488
|
return this.$$.ctx[12];
|
|
4452
4489
|
}
|
|
4453
4490
|
set translationurl(t) {
|
|
4454
|
-
this.$$set({ translationurl: t }),
|
|
4491
|
+
this.$$set({ translationurl: t }), I();
|
|
4455
4492
|
}
|
|
4456
4493
|
}
|
|
4457
|
-
|
|
4494
|
+
Lr(zi, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4458
4495
|
export {
|
|
4459
|
-
|
|
4496
|
+
zi as default
|
|
4460
4497
|
};
|