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