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