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