@everymatrix/player-account-gaming-limits-confirmation-modal 1.77.20 → 1.77.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsConfirmationModal-KpD2K9-u.js → PlayerAccountGamingLimitsConfirmationModal-BFEycNl5.js} +775 -732
- package/components/PlayerAccountGamingLimitsConfirmationModal-D-Dyivi3.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CxE0zESi.js → PlayerAccountGamingLimitsConfirmationModal-DPTWXl6u.js} +759 -716
- package/es2015/player-account-gaming-limits-confirmation-modal.cjs +1 -1
- package/es2015/player-account-gaming-limits-confirmation-modal.js +1 -1
- package/esnext/player-account-gaming-limits-confirmation-modal.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-CIwDvjpF.cjs +0 -18
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var vr = Object.defineProperty, xr = Object.defineProperties;
|
|
2
|
+
var _r = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ot = Object.getOwnPropertySymbols;
|
|
4
|
+
var Er = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Se = (e, t, r) => t in e ? vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Er.call(t, r) && Se(e, r, t[r]);
|
|
8
|
+
if (ot)
|
|
9
|
+
for (var r of ot(t))
|
|
10
|
+
wr.call(t, r) && Se(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, at = (e, t) => xr(e, _r(t));
|
|
13
|
+
var L = (e, t, r) => (Se(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var ut = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(h));
|
|
@@ -27,9 +27,9 @@ var nt = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function M() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Sr(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -37,46 +37,46 @@ function yr(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function Nt(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function ht() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
e.forEach(
|
|
46
|
+
function Q(e) {
|
|
47
|
+
e.forEach(Nt);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function et(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function $t(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Tr(e) {
|
|
56
56
|
return Object.keys(e).length === 0;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function Rt(e, ...t) {
|
|
59
59
|
if (e == null) {
|
|
60
60
|
for (const n of t)
|
|
61
61
|
n(void 0);
|
|
62
|
-
return
|
|
62
|
+
return M;
|
|
63
63
|
}
|
|
64
64
|
const r = e.subscribe(...t);
|
|
65
65
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
e.$$.on_destroy.push(
|
|
67
|
+
function Hr(e, t, r) {
|
|
68
|
+
e.$$.on_destroy.push(Rt(t, r));
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Br(e, t, r, n) {
|
|
71
71
|
if (e) {
|
|
72
|
-
const i =
|
|
72
|
+
const i = Gt(e, t, r, n);
|
|
73
73
|
return e[0](i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
return e[1] && n ?
|
|
76
|
+
function Gt(e, t, r, n) {
|
|
77
|
+
return e[1] && n ? Sr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Cr(e, t, r, n) {
|
|
80
80
|
if (e[2] && n) {
|
|
81
81
|
const i = e[2](n(r));
|
|
82
82
|
if (t.dirty === void 0)
|
|
@@ -91,13 +91,13 @@ function wr(e, t, r, n) {
|
|
|
91
91
|
}
|
|
92
92
|
return t.dirty;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Ar(e, t, r, n, i, o) {
|
|
95
95
|
if (i) {
|
|
96
|
-
const s =
|
|
96
|
+
const s = Gt(t, r, n, o);
|
|
97
97
|
e.p(s, i);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Pr(e) {
|
|
101
101
|
if (e.ctx.length > 32) {
|
|
102
102
|
const t = [], r = e.ctx.length / 32;
|
|
103
103
|
for (let n = 0; n < r; n++)
|
|
@@ -109,14 +109,14 @@ function Tr(e) {
|
|
|
109
109
|
function B(e, t) {
|
|
110
110
|
e.appendChild(t);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
const n =
|
|
112
|
+
function Or(e, t, r) {
|
|
113
|
+
const n = Lr(e);
|
|
114
114
|
if (!n.getElementById(t)) {
|
|
115
|
-
const i =
|
|
116
|
-
i.id = t, i.textContent = r,
|
|
115
|
+
const i = N("style");
|
|
116
|
+
i.id = t, i.textContent = r, Ir(n, i);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Lr(e) {
|
|
120
120
|
if (!e)
|
|
121
121
|
return document;
|
|
122
122
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -126,45 +126,45 @@ function Br(e) {
|
|
|
126
126
|
t
|
|
127
127
|
) : e.ownerDocument;
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Ir(e, t) {
|
|
130
130
|
return B(
|
|
131
131
|
/** @type {Document} */
|
|
132
132
|
e.head || e,
|
|
133
133
|
t
|
|
134
134
|
), t.sheet;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function tt(e, t, r) {
|
|
137
137
|
e.insertBefore(t, r || null);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function ge(e) {
|
|
140
140
|
e.parentNode && e.parentNode.removeChild(e);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function N(e) {
|
|
143
143
|
return document.createElement(e);
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function lt(e) {
|
|
146
146
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
147
147
|
}
|
|
148
148
|
function ue(e) {
|
|
149
149
|
return document.createTextNode(e);
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function Te() {
|
|
152
152
|
return ue(" ");
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function He(e, t, r, n) {
|
|
155
155
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
156
156
|
}
|
|
157
157
|
function S(e, t, r) {
|
|
158
158
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function Mr(e) {
|
|
161
161
|
return Array.from(e.childNodes);
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function Be(e, t) {
|
|
164
164
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
165
165
|
t);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function Nr(e) {
|
|
168
168
|
const t = {};
|
|
169
169
|
return e.childNodes.forEach(
|
|
170
170
|
/** @param {Element} node */
|
|
@@ -173,105 +173,105 @@ function Pr(e) {
|
|
|
173
173
|
}
|
|
174
174
|
), t;
|
|
175
175
|
}
|
|
176
|
-
let
|
|
177
|
-
function
|
|
178
|
-
|
|
176
|
+
let te;
|
|
177
|
+
function ee(e) {
|
|
178
|
+
te = e;
|
|
179
179
|
}
|
|
180
|
-
function
|
|
181
|
-
if (!
|
|
180
|
+
function $r() {
|
|
181
|
+
if (!te)
|
|
182
182
|
throw new Error("Function called outside component initialization");
|
|
183
|
-
return
|
|
183
|
+
return te;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
|
|
185
|
+
function Rr(e) {
|
|
186
|
+
$r().$$.on_mount.push(e);
|
|
187
187
|
}
|
|
188
|
-
const k = [],
|
|
188
|
+
const k = [], $e = [];
|
|
189
189
|
let V = [];
|
|
190
|
-
const
|
|
191
|
-
let
|
|
192
|
-
function
|
|
193
|
-
|
|
190
|
+
const ct = [], Gr = /* @__PURE__ */ Promise.resolve();
|
|
191
|
+
let Re = !1;
|
|
192
|
+
function Ur() {
|
|
193
|
+
Re || (Re = !0, Gr.then($));
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function Ge(e) {
|
|
196
196
|
V.push(e);
|
|
197
197
|
}
|
|
198
|
-
const
|
|
198
|
+
const Ce = /* @__PURE__ */ new Set();
|
|
199
199
|
let F = 0;
|
|
200
|
-
function
|
|
200
|
+
function $() {
|
|
201
201
|
if (F !== 0)
|
|
202
202
|
return;
|
|
203
|
-
const e =
|
|
203
|
+
const e = te;
|
|
204
204
|
do {
|
|
205
205
|
try {
|
|
206
206
|
for (; F < k.length; ) {
|
|
207
207
|
const t = k[F];
|
|
208
|
-
F++,
|
|
208
|
+
F++, ee(t), Dr(t.$$);
|
|
209
209
|
}
|
|
210
210
|
} catch (t) {
|
|
211
211
|
throw k.length = 0, F = 0, t;
|
|
212
212
|
}
|
|
213
|
-
for (
|
|
214
|
-
|
|
213
|
+
for (ee(null), k.length = 0, F = 0; $e.length; )
|
|
214
|
+
$e.pop()();
|
|
215
215
|
for (let t = 0; t < V.length; t += 1) {
|
|
216
216
|
const r = V[t];
|
|
217
|
-
|
|
217
|
+
Ce.has(r) || (Ce.add(r), r());
|
|
218
218
|
}
|
|
219
219
|
V.length = 0;
|
|
220
220
|
} while (k.length);
|
|
221
|
-
for (;
|
|
222
|
-
|
|
223
|
-
|
|
221
|
+
for (; ct.length; )
|
|
222
|
+
ct.pop()();
|
|
223
|
+
Re = !1, Ce.clear(), ee(e);
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function Dr(e) {
|
|
226
226
|
if (e.fragment !== null) {
|
|
227
|
-
e.update(),
|
|
227
|
+
e.update(), Q(e.before_update);
|
|
228
228
|
const t = e.dirty;
|
|
229
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
229
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function Fr(e) {
|
|
233
233
|
const t = [], r = [];
|
|
234
234
|
V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
|
|
235
235
|
}
|
|
236
236
|
const he = /* @__PURE__ */ new Set();
|
|
237
|
-
let
|
|
238
|
-
function
|
|
237
|
+
let jr;
|
|
238
|
+
function Ut(e, t) {
|
|
239
239
|
e && e.i && (he.delete(e), e.i(t));
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function kr(e, t, r, n) {
|
|
242
242
|
if (e && e.o) {
|
|
243
243
|
if (he.has(e))
|
|
244
244
|
return;
|
|
245
|
-
he.add(e),
|
|
245
|
+
he.add(e), jr.c.push(() => {
|
|
246
246
|
he.delete(e);
|
|
247
247
|
}), e.o(t);
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
|
-
function
|
|
250
|
+
function Vr(e, t, r) {
|
|
251
251
|
const { fragment: n, after_update: i } = e.$$;
|
|
252
|
-
n && n.m(t, r),
|
|
253
|
-
const o = e.$$.on_mount.map(
|
|
254
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
255
|
-
}), i.forEach(
|
|
252
|
+
n && n.m(t, r), Ge(() => {
|
|
253
|
+
const o = e.$$.on_mount.map(Nt).filter(et);
|
|
254
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Q(o), e.$$.on_mount = [];
|
|
255
|
+
}), i.forEach(Ge);
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function Xr(e, t) {
|
|
258
258
|
const r = e.$$;
|
|
259
|
-
r.fragment !== null && (
|
|
259
|
+
r.fragment !== null && (Fr(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
e.$$.dirty[0] === -1 && (k.push(e),
|
|
261
|
+
function Wr(e, t) {
|
|
262
|
+
e.$$.dirty[0] === -1 && (k.push(e), Ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
263
263
|
}
|
|
264
|
-
function
|
|
265
|
-
const h =
|
|
266
|
-
|
|
264
|
+
function zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
265
|
+
const h = te;
|
|
266
|
+
ee(e);
|
|
267
267
|
const u = e.$$ = {
|
|
268
268
|
fragment: null,
|
|
269
269
|
ctx: [],
|
|
270
270
|
// state
|
|
271
271
|
props: o,
|
|
272
|
-
update:
|
|
272
|
+
update: M,
|
|
273
273
|
not_equal: i,
|
|
274
|
-
bound:
|
|
274
|
+
bound: ht(),
|
|
275
275
|
// lifecycle
|
|
276
276
|
on_mount: [],
|
|
277
277
|
on_destroy: [],
|
|
@@ -280,7 +280,7 @@ function jr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
280
280
|
after_update: [],
|
|
281
281
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
282
282
|
// everything else
|
|
283
|
-
callbacks:
|
|
283
|
+
callbacks: ht(),
|
|
284
284
|
dirty: a,
|
|
285
285
|
skip_bound: !1,
|
|
286
286
|
root: t.target || h.$$.root
|
|
@@ -289,39 +289,39 @@ function jr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
289
289
|
let l = !1;
|
|
290
290
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
291
291
|
const m = p.length ? p[0] : f;
|
|
292
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l &&
|
|
293
|
-
}) : [], u.update(), l = !0,
|
|
292
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Wr(e, c)), f;
|
|
293
|
+
}) : [], u.update(), l = !0, Q(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
294
294
|
if (t.hydrate) {
|
|
295
|
-
const c =
|
|
296
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
295
|
+
const c = Mr(t.target);
|
|
296
|
+
u.fragment && u.fragment.l(c), c.forEach(ge);
|
|
297
297
|
} else
|
|
298
298
|
u.fragment && u.fragment.c();
|
|
299
|
-
t.intro &&
|
|
299
|
+
t.intro && Ut(e.$$.fragment), Vr(e, t.target, t.anchor), $();
|
|
300
300
|
}
|
|
301
|
-
|
|
301
|
+
ee(h);
|
|
302
302
|
}
|
|
303
|
-
let
|
|
304
|
-
typeof HTMLElement == "function" && (
|
|
303
|
+
let Dt;
|
|
304
|
+
typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
305
305
|
constructor(t, r, n) {
|
|
306
306
|
super();
|
|
307
307
|
/** The Svelte component constructor */
|
|
308
|
-
|
|
308
|
+
L(this, "$$ctor");
|
|
309
309
|
/** Slots */
|
|
310
|
-
|
|
310
|
+
L(this, "$$s");
|
|
311
311
|
/** The Svelte component instance */
|
|
312
|
-
|
|
312
|
+
L(this, "$$c");
|
|
313
313
|
/** Whether or not the custom element is connected */
|
|
314
|
-
|
|
314
|
+
L(this, "$$cn", !1);
|
|
315
315
|
/** Component props data */
|
|
316
|
-
|
|
316
|
+
L(this, "$$d", {});
|
|
317
317
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
318
|
-
|
|
318
|
+
L(this, "$$r", !1);
|
|
319
319
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
320
|
-
|
|
320
|
+
L(this, "$$p_d", {});
|
|
321
321
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
322
|
-
|
|
322
|
+
L(this, "$$l", {});
|
|
323
323
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
324
|
-
|
|
324
|
+
L(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
325
325
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
326
326
|
}
|
|
327
327
|
addEventListener(t, r, n) {
|
|
@@ -338,31 +338,31 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
|
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
connectedCallback() {
|
|
341
|
-
return
|
|
341
|
+
return ut(this, null, function* () {
|
|
342
342
|
if (this.$$cn = !0, !this.$$c) {
|
|
343
343
|
let t = function(o) {
|
|
344
344
|
return () => {
|
|
345
345
|
let s;
|
|
346
346
|
return {
|
|
347
347
|
c: function() {
|
|
348
|
-
s =
|
|
348
|
+
s = N("slot"), o !== "default" && S(s, "name", o);
|
|
349
349
|
},
|
|
350
350
|
/**
|
|
351
351
|
* @param {HTMLElement} target
|
|
352
352
|
* @param {HTMLElement} [anchor]
|
|
353
353
|
*/
|
|
354
354
|
m: function(u, l) {
|
|
355
|
-
|
|
355
|
+
tt(u, s, l);
|
|
356
356
|
},
|
|
357
357
|
d: function(u) {
|
|
358
|
-
u &&
|
|
358
|
+
u && ge(s);
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
361
|
};
|
|
362
362
|
};
|
|
363
363
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
364
364
|
return;
|
|
365
|
-
const r = {}, n =
|
|
365
|
+
const r = {}, n = Nr(this);
|
|
366
366
|
for (const o of this.$$s)
|
|
367
367
|
o in n && (r[o] = [t(o)]);
|
|
368
368
|
for (const o of this.attributes) {
|
|
@@ -373,7 +373,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
|
|
|
373
373
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
374
374
|
this.$$c = new this.$$ctor({
|
|
375
375
|
target: this.shadowRoot || this,
|
|
376
|
-
props:
|
|
376
|
+
props: at(st({}, this.$$d), {
|
|
377
377
|
$$slots: r,
|
|
378
378
|
$$scope: {
|
|
379
379
|
ctx: []
|
|
@@ -451,8 +451,8 @@ function le(e, t, r, n) {
|
|
|
451
451
|
return t;
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
|
-
function
|
|
455
|
-
let s = class extends
|
|
454
|
+
function Zr(e, t, r, n, i, o) {
|
|
455
|
+
let s = class extends Dt {
|
|
456
456
|
constructor() {
|
|
457
457
|
super(e, r, i), this.$$p_d = t;
|
|
458
458
|
}
|
|
@@ -482,7 +482,7 @@ function kr(e, t, r, n, i, o) {
|
|
|
482
482
|
}), e.element = /** @type {any} */
|
|
483
483
|
s, s;
|
|
484
484
|
}
|
|
485
|
-
class
|
|
485
|
+
class Qr {
|
|
486
486
|
constructor() {
|
|
487
487
|
/**
|
|
488
488
|
* ### PRIVATE API
|
|
@@ -491,7 +491,7 @@ class Vr {
|
|
|
491
491
|
*
|
|
492
492
|
* @type {any}
|
|
493
493
|
*/
|
|
494
|
-
|
|
494
|
+
L(this, "$$");
|
|
495
495
|
/**
|
|
496
496
|
* ### PRIVATE API
|
|
497
497
|
*
|
|
@@ -499,11 +499,11 @@ class Vr {
|
|
|
499
499
|
*
|
|
500
500
|
* @type {any}
|
|
501
501
|
*/
|
|
502
|
-
|
|
502
|
+
L(this, "$$set");
|
|
503
503
|
}
|
|
504
504
|
/** @returns {void} */
|
|
505
505
|
$destroy() {
|
|
506
|
-
|
|
506
|
+
Xr(this, 1), this.$destroy = M;
|
|
507
507
|
}
|
|
508
508
|
/**
|
|
509
509
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -512,8 +512,8 @@ class Vr {
|
|
|
512
512
|
* @returns {() => void}
|
|
513
513
|
*/
|
|
514
514
|
$on(t, r) {
|
|
515
|
-
if (!
|
|
516
|
-
return
|
|
515
|
+
if (!et(r))
|
|
516
|
+
return M;
|
|
517
517
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
518
518
|
return n.push(r), () => {
|
|
519
519
|
const i = n.indexOf(r);
|
|
@@ -525,11 +525,11 @@ class Vr {
|
|
|
525
525
|
* @returns {void}
|
|
526
526
|
*/
|
|
527
527
|
$set(t) {
|
|
528
|
-
this.$$set && !
|
|
528
|
+
this.$$set && !Tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
|
-
const
|
|
532
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
531
|
+
const Jr = "4";
|
|
532
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
|
|
533
533
|
/*! *****************************************************************************
|
|
534
534
|
Copyright (c) Microsoft Corporation.
|
|
535
535
|
|
|
@@ -544,43 +544,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
544
544
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
545
545
|
PERFORMANCE OF THIS SOFTWARE.
|
|
546
546
|
***************************************************************************** */
|
|
547
|
-
var
|
|
548
|
-
return
|
|
547
|
+
var Ue = function(e, t) {
|
|
548
|
+
return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
549
549
|
r.__proto__ = n;
|
|
550
550
|
} || function(r, n) {
|
|
551
551
|
for (var i in n)
|
|
552
552
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
553
|
-
},
|
|
553
|
+
}, Ue(e, t);
|
|
554
554
|
};
|
|
555
|
-
function
|
|
555
|
+
function ie(e, t) {
|
|
556
556
|
if (typeof t != "function" && t !== null)
|
|
557
557
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
558
|
-
|
|
558
|
+
Ue(e, t);
|
|
559
559
|
function r() {
|
|
560
560
|
this.constructor = e;
|
|
561
561
|
}
|
|
562
562
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
563
563
|
}
|
|
564
|
-
|
|
565
|
-
return y = Object.assign || function(t) {
|
|
566
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
567
|
-
r = arguments[n];
|
|
568
|
-
for (var o in r)
|
|
569
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
570
|
-
}
|
|
571
|
-
return t;
|
|
572
|
-
}, y.apply(this, arguments);
|
|
573
|
-
};
|
|
574
|
-
function Wr(e, t) {
|
|
575
|
-
var r = {};
|
|
576
|
-
for (var n in e)
|
|
577
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
578
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
579
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
580
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
581
|
-
return r;
|
|
582
|
-
}
|
|
583
|
-
function $e(e) {
|
|
564
|
+
function De(e) {
|
|
584
565
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
585
566
|
if (r)
|
|
586
567
|
return r.call(e);
|
|
@@ -592,7 +573,7 @@ function $e(e) {
|
|
|
592
573
|
};
|
|
593
574
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
594
575
|
}
|
|
595
|
-
function
|
|
576
|
+
function Fe(e, t) {
|
|
596
577
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
597
578
|
if (!r)
|
|
598
579
|
return e;
|
|
@@ -612,8 +593,8 @@ function Ge(e, t) {
|
|
|
612
593
|
}
|
|
613
594
|
return o;
|
|
614
595
|
}
|
|
615
|
-
function
|
|
616
|
-
if (
|
|
596
|
+
function je(e, t, r) {
|
|
597
|
+
if (arguments.length === 2)
|
|
617
598
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
618
599
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
619
600
|
return e.concat(o || t);
|
|
@@ -621,13 +602,13 @@ function X(e, t, r) {
|
|
|
621
602
|
function R(e) {
|
|
622
603
|
return typeof e == "function";
|
|
623
604
|
}
|
|
624
|
-
function
|
|
605
|
+
function Ft(e) {
|
|
625
606
|
var t = function(n) {
|
|
626
607
|
Error.call(n), n.stack = new Error().stack;
|
|
627
608
|
}, r = e(t);
|
|
628
609
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
629
610
|
}
|
|
630
|
-
var
|
|
611
|
+
var Ae = Ft(function(e) {
|
|
631
612
|
return function(r) {
|
|
632
613
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
633
614
|
` + r.map(function(n, i) {
|
|
@@ -636,13 +617,13 @@ var Be = Rt(function(e) {
|
|
|
636
617
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
637
618
|
};
|
|
638
619
|
});
|
|
639
|
-
function
|
|
620
|
+
function ke(e, t) {
|
|
640
621
|
if (e) {
|
|
641
622
|
var r = e.indexOf(t);
|
|
642
623
|
0 <= r && e.splice(r, 1);
|
|
643
624
|
}
|
|
644
625
|
}
|
|
645
|
-
var
|
|
626
|
+
var ye = function() {
|
|
646
627
|
function e(t) {
|
|
647
628
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
648
629
|
}
|
|
@@ -654,12 +635,12 @@ var ge = function() {
|
|
|
654
635
|
if (s)
|
|
655
636
|
if (this._parentage = null, Array.isArray(s))
|
|
656
637
|
try {
|
|
657
|
-
for (var a =
|
|
638
|
+
for (var a = De(s), h = a.next(); !h.done; h = a.next()) {
|
|
658
639
|
var u = h.value;
|
|
659
640
|
u.remove(this);
|
|
660
641
|
}
|
|
661
|
-
} catch (
|
|
662
|
-
t = { error:
|
|
642
|
+
} catch (y) {
|
|
643
|
+
t = { error: y };
|
|
663
644
|
} finally {
|
|
664
645
|
try {
|
|
665
646
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -674,23 +655,23 @@ var ge = function() {
|
|
|
674
655
|
if (R(l))
|
|
675
656
|
try {
|
|
676
657
|
l();
|
|
677
|
-
} catch (
|
|
678
|
-
o =
|
|
658
|
+
} catch (y) {
|
|
659
|
+
o = y instanceof Ae ? y.errors : [y];
|
|
679
660
|
}
|
|
680
661
|
var c = this._finalizers;
|
|
681
662
|
if (c) {
|
|
682
663
|
this._finalizers = null;
|
|
683
664
|
try {
|
|
684
|
-
for (var f =
|
|
665
|
+
for (var f = De(c), p = f.next(); !p.done; p = f.next()) {
|
|
685
666
|
var m = p.value;
|
|
686
667
|
try {
|
|
687
|
-
|
|
688
|
-
} catch (
|
|
689
|
-
o = o != null ? o : [],
|
|
668
|
+
ft(m);
|
|
669
|
+
} catch (y) {
|
|
670
|
+
o = o != null ? o : [], y instanceof Ae ? o = je(je([], Fe(o)), Fe(y.errors)) : o.push(y);
|
|
690
671
|
}
|
|
691
672
|
}
|
|
692
|
-
} catch (
|
|
693
|
-
n = { error:
|
|
673
|
+
} catch (y) {
|
|
674
|
+
n = { error: y };
|
|
694
675
|
} finally {
|
|
695
676
|
try {
|
|
696
677
|
p && !p.done && (i = f.return) && i.call(f);
|
|
@@ -701,13 +682,13 @@ var ge = function() {
|
|
|
701
682
|
}
|
|
702
683
|
}
|
|
703
684
|
if (o)
|
|
704
|
-
throw new
|
|
685
|
+
throw new Ae(o);
|
|
705
686
|
}
|
|
706
687
|
}, e.prototype.add = function(t) {
|
|
707
688
|
var r;
|
|
708
689
|
if (t && t !== this)
|
|
709
690
|
if (this.closed)
|
|
710
|
-
|
|
691
|
+
ft(t);
|
|
711
692
|
else {
|
|
712
693
|
if (t instanceof e) {
|
|
713
694
|
if (t.closed || t._hasParent(this))
|
|
@@ -724,52 +705,52 @@ var ge = function() {
|
|
|
724
705
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
725
706
|
}, e.prototype._removeParent = function(t) {
|
|
726
707
|
var r = this._parentage;
|
|
727
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
708
|
+
r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
|
|
728
709
|
}, e.prototype.remove = function(t) {
|
|
729
710
|
var r = this._finalizers;
|
|
730
|
-
r &&
|
|
711
|
+
r && ke(r, t), t instanceof e && t._removeParent(this);
|
|
731
712
|
}, e.EMPTY = function() {
|
|
732
713
|
var t = new e();
|
|
733
714
|
return t.closed = !0, t;
|
|
734
715
|
}(), e;
|
|
735
|
-
}(),
|
|
736
|
-
function
|
|
737
|
-
return e instanceof
|
|
716
|
+
}(), jt = ye.EMPTY;
|
|
717
|
+
function kt(e) {
|
|
718
|
+
return e instanceof ye || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
738
719
|
}
|
|
739
|
-
function
|
|
720
|
+
function ft(e) {
|
|
740
721
|
R(e) ? e() : e.unsubscribe();
|
|
741
722
|
}
|
|
742
|
-
var
|
|
723
|
+
var Yr = {
|
|
743
724
|
Promise: void 0
|
|
744
|
-
},
|
|
725
|
+
}, qr = {
|
|
745
726
|
setTimeout: function(e, t) {
|
|
746
727
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
747
728
|
r[n - 2] = arguments[n];
|
|
748
|
-
return setTimeout.apply(void 0,
|
|
729
|
+
return setTimeout.apply(void 0, je([e, t], Fe(r)));
|
|
749
730
|
},
|
|
750
731
|
clearTimeout: function(e) {
|
|
751
732
|
return clearTimeout(e);
|
|
752
733
|
},
|
|
753
734
|
delegate: void 0
|
|
754
735
|
};
|
|
755
|
-
function
|
|
756
|
-
|
|
736
|
+
function Kr(e) {
|
|
737
|
+
qr.setTimeout(function() {
|
|
757
738
|
throw e;
|
|
758
739
|
});
|
|
759
740
|
}
|
|
760
|
-
function
|
|
741
|
+
function mt() {
|
|
761
742
|
}
|
|
762
743
|
function ce(e) {
|
|
763
744
|
e();
|
|
764
745
|
}
|
|
765
|
-
var
|
|
766
|
-
|
|
746
|
+
var Vt = function(e) {
|
|
747
|
+
ie(t, e);
|
|
767
748
|
function t(r) {
|
|
768
749
|
var n = e.call(this) || this;
|
|
769
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
750
|
+
return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = rn, n;
|
|
770
751
|
}
|
|
771
752
|
return t.create = function(r, n, i) {
|
|
772
|
-
return new
|
|
753
|
+
return new Ve(r, n, i);
|
|
773
754
|
}, t.prototype.next = function(r) {
|
|
774
755
|
this.isStopped || this._next(r);
|
|
775
756
|
}, t.prototype.error = function(r) {
|
|
@@ -793,7 +774,7 @@ var Ut = function(e) {
|
|
|
793
774
|
this.unsubscribe();
|
|
794
775
|
}
|
|
795
776
|
}, t;
|
|
796
|
-
}(
|
|
777
|
+
}(ye), en = function() {
|
|
797
778
|
function e(t) {
|
|
798
779
|
this.partialObserver = t;
|
|
799
780
|
}
|
|
@@ -824,43 +805,43 @@ var Ut = function(e) {
|
|
|
824
805
|
se(r);
|
|
825
806
|
}
|
|
826
807
|
}, e;
|
|
827
|
-
}(),
|
|
828
|
-
|
|
808
|
+
}(), Ve = function(e) {
|
|
809
|
+
ie(t, e);
|
|
829
810
|
function t(r, n, i) {
|
|
830
811
|
var o = e.call(this) || this, s;
|
|
831
812
|
return R(r) || !r ? s = {
|
|
832
813
|
next: r != null ? r : void 0,
|
|
833
814
|
error: n != null ? n : void 0,
|
|
834
815
|
complete: i != null ? i : void 0
|
|
835
|
-
} : s = r, o.destination = new
|
|
816
|
+
} : s = r, o.destination = new en(s), o;
|
|
836
817
|
}
|
|
837
818
|
return t;
|
|
838
|
-
}(
|
|
819
|
+
}(Vt);
|
|
839
820
|
function se(e) {
|
|
840
|
-
|
|
821
|
+
Kr(e);
|
|
841
822
|
}
|
|
842
|
-
function
|
|
823
|
+
function tn(e) {
|
|
843
824
|
throw e;
|
|
844
825
|
}
|
|
845
|
-
var
|
|
826
|
+
var rn = {
|
|
846
827
|
closed: !0,
|
|
847
|
-
next:
|
|
848
|
-
error:
|
|
849
|
-
complete:
|
|
850
|
-
},
|
|
828
|
+
next: mt,
|
|
829
|
+
error: tn,
|
|
830
|
+
complete: mt
|
|
831
|
+
}, nn = function() {
|
|
851
832
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
852
833
|
}();
|
|
853
|
-
function
|
|
834
|
+
function on(e) {
|
|
854
835
|
return e;
|
|
855
836
|
}
|
|
856
|
-
function
|
|
857
|
-
return e.length === 0 ?
|
|
837
|
+
function sn(e) {
|
|
838
|
+
return e.length === 0 ? on : e.length === 1 ? e[0] : function(r) {
|
|
858
839
|
return e.reduce(function(n, i) {
|
|
859
840
|
return i(n);
|
|
860
841
|
}, r);
|
|
861
842
|
};
|
|
862
843
|
}
|
|
863
|
-
var
|
|
844
|
+
var pt = function() {
|
|
864
845
|
function e(t) {
|
|
865
846
|
t && (this._subscribe = t);
|
|
866
847
|
}
|
|
@@ -868,7 +849,7 @@ var ht = function() {
|
|
|
868
849
|
var r = new e();
|
|
869
850
|
return r.source = this, r.operator = t, r;
|
|
870
851
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
871
|
-
var i = this, o =
|
|
852
|
+
var i = this, o = un(t) ? t : new Ve(t, r, n);
|
|
872
853
|
return ce(function() {
|
|
873
854
|
var s = i, a = s.operator, h = s.source;
|
|
874
855
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -881,8 +862,8 @@ var ht = function() {
|
|
|
881
862
|
}
|
|
882
863
|
}, e.prototype.forEach = function(t, r) {
|
|
883
864
|
var n = this;
|
|
884
|
-
return r =
|
|
885
|
-
var s = new
|
|
865
|
+
return r = dt(r), new r(function(i, o) {
|
|
866
|
+
var s = new Ve({
|
|
886
867
|
next: function(a) {
|
|
887
868
|
try {
|
|
888
869
|
t(a);
|
|
@@ -898,15 +879,15 @@ var ht = function() {
|
|
|
898
879
|
}, e.prototype._subscribe = function(t) {
|
|
899
880
|
var r;
|
|
900
881
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
901
|
-
}, e.prototype[
|
|
882
|
+
}, e.prototype[nn] = function() {
|
|
902
883
|
return this;
|
|
903
884
|
}, e.prototype.pipe = function() {
|
|
904
885
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
905
886
|
t[r] = arguments[r];
|
|
906
|
-
return
|
|
887
|
+
return sn(t)(this);
|
|
907
888
|
}, e.prototype.toPromise = function(t) {
|
|
908
889
|
var r = this;
|
|
909
|
-
return t =
|
|
890
|
+
return t = dt(t), new t(function(n, i) {
|
|
910
891
|
var o;
|
|
911
892
|
r.subscribe(function(s) {
|
|
912
893
|
return o = s;
|
|
@@ -920,32 +901,32 @@ var ht = function() {
|
|
|
920
901
|
return new e(t);
|
|
921
902
|
}, e;
|
|
922
903
|
}();
|
|
923
|
-
function
|
|
904
|
+
function dt(e) {
|
|
924
905
|
var t;
|
|
925
|
-
return (t = e != null ? e :
|
|
906
|
+
return (t = e != null ? e : Yr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
926
907
|
}
|
|
927
|
-
function
|
|
908
|
+
function an(e) {
|
|
928
909
|
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
929
910
|
}
|
|
930
|
-
function
|
|
931
|
-
return e && e instanceof
|
|
911
|
+
function un(e) {
|
|
912
|
+
return e && e instanceof Vt || an(e) && kt(e);
|
|
932
913
|
}
|
|
933
|
-
var
|
|
914
|
+
var hn = Ft(function(e) {
|
|
934
915
|
return function() {
|
|
935
916
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
936
917
|
};
|
|
937
|
-
}),
|
|
938
|
-
|
|
918
|
+
}), Xt = function(e) {
|
|
919
|
+
ie(t, e);
|
|
939
920
|
function t() {
|
|
940
921
|
var r = e.call(this) || this;
|
|
941
922
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
942
923
|
}
|
|
943
924
|
return t.prototype.lift = function(r) {
|
|
944
|
-
var n = new
|
|
925
|
+
var n = new bt(this, this);
|
|
945
926
|
return n.operator = r, n;
|
|
946
927
|
}, t.prototype._throwIfClosed = function() {
|
|
947
928
|
if (this.closed)
|
|
948
|
-
throw new
|
|
929
|
+
throw new hn();
|
|
949
930
|
}, t.prototype.next = function(r) {
|
|
950
931
|
var n = this;
|
|
951
932
|
ce(function() {
|
|
@@ -953,7 +934,7 @@ var on = Rt(function(e) {
|
|
|
953
934
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
954
935
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
955
936
|
try {
|
|
956
|
-
for (var s =
|
|
937
|
+
for (var s = De(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
957
938
|
var h = a.value;
|
|
958
939
|
h.next(r);
|
|
959
940
|
}
|
|
@@ -1002,20 +983,20 @@ var on = Rt(function(e) {
|
|
|
1002
983
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1003
984
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1004
985
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1005
|
-
return o || s ?
|
|
1006
|
-
n.currentObservers = null,
|
|
986
|
+
return o || s ? jt : (this.currentObservers = null, a.push(r), new ye(function() {
|
|
987
|
+
n.currentObservers = null, ke(a, r);
|
|
1007
988
|
}));
|
|
1008
989
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1009
990
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1010
991
|
i ? r.error(o) : s && r.complete();
|
|
1011
992
|
}, t.prototype.asObservable = function() {
|
|
1012
|
-
var r = new
|
|
993
|
+
var r = new pt();
|
|
1013
994
|
return r.source = this, r;
|
|
1014
995
|
}, t.create = function(r, n) {
|
|
1015
|
-
return new
|
|
996
|
+
return new bt(r, n);
|
|
1016
997
|
}, t;
|
|
1017
|
-
}(
|
|
1018
|
-
|
|
998
|
+
}(pt), bt = function(e) {
|
|
999
|
+
ie(t, e);
|
|
1019
1000
|
function t(r, n) {
|
|
1020
1001
|
var i = e.call(this) || this;
|
|
1021
1002
|
return i.destination = r, i.source = n, i;
|
|
@@ -1031,17 +1012,17 @@ var on = Rt(function(e) {
|
|
|
1031
1012
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1032
1013
|
}, t.prototype._subscribe = function(r) {
|
|
1033
1014
|
var n, i;
|
|
1034
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1015
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
|
|
1035
1016
|
}, t;
|
|
1036
|
-
}(
|
|
1017
|
+
}(Xt), Wt = {
|
|
1037
1018
|
now: function() {
|
|
1038
|
-
return (
|
|
1019
|
+
return (Wt.delegate || Date).now();
|
|
1039
1020
|
},
|
|
1040
1021
|
delegate: void 0
|
|
1041
|
-
},
|
|
1042
|
-
|
|
1022
|
+
}, ln = function(e) {
|
|
1023
|
+
ie(t, e);
|
|
1043
1024
|
function t(r, n, i) {
|
|
1044
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1025
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wt);
|
|
1045
1026
|
var o = e.call(this) || this;
|
|
1046
1027
|
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;
|
|
1047
1028
|
}
|
|
@@ -1061,24 +1042,24 @@ var on = Rt(function(e) {
|
|
|
1061
1042
|
u && o.splice(0, u + 1);
|
|
1062
1043
|
}
|
|
1063
1044
|
}, t;
|
|
1064
|
-
}(
|
|
1065
|
-
const
|
|
1066
|
-
if (
|
|
1067
|
-
const r = new
|
|
1068
|
-
|
|
1045
|
+
}(Xt);
|
|
1046
|
+
const gt = [], yt = {}, cn = (e, t = 0) => {
|
|
1047
|
+
if (gt.indexOf(e) == -1) {
|
|
1048
|
+
const r = new ln(t);
|
|
1049
|
+
yt[e] = r, gt.push(e);
|
|
1069
1050
|
}
|
|
1070
|
-
return
|
|
1051
|
+
return yt[e];
|
|
1071
1052
|
}, j = [];
|
|
1072
|
-
function
|
|
1053
|
+
function fn(e, t) {
|
|
1073
1054
|
return {
|
|
1074
1055
|
subscribe: ve(e, t).subscribe
|
|
1075
1056
|
};
|
|
1076
1057
|
}
|
|
1077
|
-
function ve(e, t =
|
|
1058
|
+
function ve(e, t = M) {
|
|
1078
1059
|
let r;
|
|
1079
1060
|
const n = /* @__PURE__ */ new Set();
|
|
1080
1061
|
function i(a) {
|
|
1081
|
-
if (
|
|
1062
|
+
if ($t(e, a) && (e = a, r)) {
|
|
1082
1063
|
const h = !j.length;
|
|
1083
1064
|
for (const u of n)
|
|
1084
1065
|
u[1](), j.push(u, e);
|
|
@@ -1092,150 +1073,192 @@ function ve(e, t = I) {
|
|
|
1092
1073
|
function o(a) {
|
|
1093
1074
|
i(a(e));
|
|
1094
1075
|
}
|
|
1095
|
-
function s(a, h =
|
|
1076
|
+
function s(a, h = M) {
|
|
1096
1077
|
const u = [a, h];
|
|
1097
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1078
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || M), a(e), () => {
|
|
1098
1079
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1099
1080
|
};
|
|
1100
1081
|
}
|
|
1101
1082
|
return { set: i, update: o, subscribe: s };
|
|
1102
1083
|
}
|
|
1103
|
-
function
|
|
1084
|
+
function J(e, t, r) {
|
|
1104
1085
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1105
1086
|
if (!i.every(Boolean))
|
|
1106
1087
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1107
1088
|
const o = t.length < 2;
|
|
1108
|
-
return
|
|
1089
|
+
return fn(r, (s, a) => {
|
|
1109
1090
|
let h = !1;
|
|
1110
1091
|
const u = [];
|
|
1111
|
-
let l = 0, c =
|
|
1092
|
+
let l = 0, c = M;
|
|
1112
1093
|
const f = () => {
|
|
1113
1094
|
if (l)
|
|
1114
1095
|
return;
|
|
1115
1096
|
c();
|
|
1116
1097
|
const m = t(n ? u[0] : u, s, a);
|
|
1117
|
-
o ? s(m) : c =
|
|
1098
|
+
o ? s(m) : c = et(m) ? m : M;
|
|
1118
1099
|
}, p = i.map(
|
|
1119
|
-
(m,
|
|
1100
|
+
(m, y) => Rt(
|
|
1120
1101
|
m,
|
|
1121
1102
|
(E) => {
|
|
1122
|
-
u[
|
|
1103
|
+
u[y] = E, l &= ~(1 << y), h && f();
|
|
1123
1104
|
},
|
|
1124
1105
|
() => {
|
|
1125
|
-
l |= 1 <<
|
|
1106
|
+
l |= 1 << y;
|
|
1126
1107
|
}
|
|
1127
1108
|
)
|
|
1128
1109
|
);
|
|
1129
1110
|
return h = !0, f(), function() {
|
|
1130
|
-
|
|
1111
|
+
Q(p), c(), h = !1;
|
|
1131
1112
|
};
|
|
1132
1113
|
});
|
|
1133
1114
|
}
|
|
1134
|
-
function
|
|
1115
|
+
function mn(e) {
|
|
1135
1116
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1136
1117
|
}
|
|
1137
|
-
var
|
|
1138
|
-
return
|
|
1118
|
+
var pn = function(t) {
|
|
1119
|
+
return dn(t) && !bn(t);
|
|
1139
1120
|
};
|
|
1140
|
-
function
|
|
1121
|
+
function dn(e) {
|
|
1141
1122
|
return !!e && typeof e == "object";
|
|
1142
1123
|
}
|
|
1143
|
-
function
|
|
1124
|
+
function bn(e) {
|
|
1144
1125
|
var t = Object.prototype.toString.call(e);
|
|
1145
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1126
|
+
return t === "[object RegExp]" || t === "[object Date]" || vn(e);
|
|
1146
1127
|
}
|
|
1147
|
-
var
|
|
1148
|
-
function
|
|
1149
|
-
return e.$$typeof ===
|
|
1128
|
+
var gn = typeof Symbol == "function" && Symbol.for, yn = gn ? Symbol.for("react.element") : 60103;
|
|
1129
|
+
function vn(e) {
|
|
1130
|
+
return e.$$typeof === yn;
|
|
1150
1131
|
}
|
|
1151
|
-
function
|
|
1132
|
+
function xn(e) {
|
|
1152
1133
|
return Array.isArray(e) ? [] : {};
|
|
1153
1134
|
}
|
|
1154
|
-
function
|
|
1155
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1135
|
+
function re(e, t) {
|
|
1136
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? X(xn(e), e, t) : e;
|
|
1156
1137
|
}
|
|
1157
|
-
function
|
|
1138
|
+
function _n(e, t, r) {
|
|
1158
1139
|
return e.concat(t).map(function(n) {
|
|
1159
|
-
return
|
|
1140
|
+
return re(n, r);
|
|
1160
1141
|
});
|
|
1161
1142
|
}
|
|
1162
|
-
function
|
|
1143
|
+
function En(e, t) {
|
|
1163
1144
|
if (!t.customMerge)
|
|
1164
|
-
return
|
|
1145
|
+
return X;
|
|
1165
1146
|
var r = t.customMerge(e);
|
|
1166
|
-
return typeof r == "function" ? r :
|
|
1147
|
+
return typeof r == "function" ? r : X;
|
|
1167
1148
|
}
|
|
1168
|
-
function
|
|
1149
|
+
function wn(e) {
|
|
1169
1150
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1170
1151
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1171
1152
|
}) : [];
|
|
1172
1153
|
}
|
|
1173
|
-
function
|
|
1174
|
-
return Object.keys(e).concat(
|
|
1154
|
+
function vt(e) {
|
|
1155
|
+
return Object.keys(e).concat(wn(e));
|
|
1175
1156
|
}
|
|
1176
|
-
function
|
|
1157
|
+
function zt(e, t) {
|
|
1177
1158
|
try {
|
|
1178
1159
|
return t in e;
|
|
1179
1160
|
} catch (r) {
|
|
1180
1161
|
return !1;
|
|
1181
1162
|
}
|
|
1182
1163
|
}
|
|
1183
|
-
function
|
|
1184
|
-
return
|
|
1164
|
+
function Sn(e, t) {
|
|
1165
|
+
return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1185
1166
|
}
|
|
1186
|
-
function
|
|
1167
|
+
function Tn(e, t, r) {
|
|
1187
1168
|
var n = {};
|
|
1188
|
-
return r.isMergeableObject(e) &&
|
|
1189
|
-
n[i] =
|
|
1190
|
-
}),
|
|
1191
|
-
|
|
1169
|
+
return r.isMergeableObject(e) && vt(e).forEach(function(i) {
|
|
1170
|
+
n[i] = re(e[i], r);
|
|
1171
|
+
}), vt(t).forEach(function(i) {
|
|
1172
|
+
Sn(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
|
|
1192
1173
|
}), n;
|
|
1193
1174
|
}
|
|
1194
|
-
function
|
|
1195
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1175
|
+
function X(e, t, r) {
|
|
1176
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = re;
|
|
1196
1177
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1197
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1178
|
+
return o ? n ? r.arrayMerge(e, t, r) : Tn(e, t, r) : re(t, r);
|
|
1198
1179
|
}
|
|
1199
|
-
|
|
1180
|
+
X.all = function(t, r) {
|
|
1200
1181
|
if (!Array.isArray(t))
|
|
1201
1182
|
throw new Error("first argument should be an array");
|
|
1202
1183
|
return t.reduce(function(n, i) {
|
|
1203
|
-
return
|
|
1184
|
+
return X(n, i, r);
|
|
1204
1185
|
}, {});
|
|
1205
1186
|
};
|
|
1206
|
-
var
|
|
1207
|
-
const
|
|
1208
|
-
function
|
|
1209
|
-
|
|
1187
|
+
var Hn = X, Bn = Hn;
|
|
1188
|
+
const Cn = /* @__PURE__ */ mn(Bn);
|
|
1189
|
+
var Xe = function(e, t) {
|
|
1190
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1191
|
+
r.__proto__ = n;
|
|
1192
|
+
} || function(r, n) {
|
|
1193
|
+
for (var i in n)
|
|
1194
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1195
|
+
}, Xe(e, t);
|
|
1196
|
+
};
|
|
1197
|
+
function xe(e, t) {
|
|
1198
|
+
if (typeof t != "function" && t !== null)
|
|
1199
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1200
|
+
Xe(e, t);
|
|
1201
|
+
function r() {
|
|
1202
|
+
this.constructor = e;
|
|
1203
|
+
}
|
|
1204
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1205
|
+
}
|
|
1206
|
+
var I = function() {
|
|
1207
|
+
return I = Object.assign || function(t) {
|
|
1208
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1209
|
+
r = arguments[n];
|
|
1210
|
+
for (var o in r)
|
|
1211
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1212
|
+
}
|
|
1213
|
+
return t;
|
|
1214
|
+
}, I.apply(this, arguments);
|
|
1215
|
+
};
|
|
1216
|
+
function An(e, t) {
|
|
1217
|
+
var r = {};
|
|
1218
|
+
for (var n in e)
|
|
1219
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1220
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1221
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1222
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1223
|
+
return r;
|
|
1224
|
+
}
|
|
1225
|
+
function Pe(e, t, r) {
|
|
1226
|
+
if (r || arguments.length === 2)
|
|
1227
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1228
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1229
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1230
|
+
}
|
|
1231
|
+
function Oe(e, t) {
|
|
1232
|
+
var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : Ln;
|
|
1210
1233
|
return i(e, {
|
|
1211
1234
|
cache: r,
|
|
1212
1235
|
serializer: n
|
|
1213
1236
|
});
|
|
1214
1237
|
}
|
|
1215
|
-
function
|
|
1238
|
+
function Pn(e) {
|
|
1216
1239
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1217
1240
|
}
|
|
1218
|
-
function
|
|
1219
|
-
var i =
|
|
1241
|
+
function On(e, t, r, n) {
|
|
1242
|
+
var i = Pn(n) ? n : r(n), o = t.get(i);
|
|
1220
1243
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1221
1244
|
}
|
|
1222
|
-
function
|
|
1245
|
+
function Zt(e, t, r) {
|
|
1223
1246
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1224
1247
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1225
1248
|
}
|
|
1226
|
-
function
|
|
1249
|
+
function Qt(e, t, r, n, i) {
|
|
1227
1250
|
return r.bind(t, e, n, i);
|
|
1228
1251
|
}
|
|
1229
|
-
function
|
|
1230
|
-
var r = e.length === 1 ?
|
|
1231
|
-
return
|
|
1252
|
+
function Ln(e, t) {
|
|
1253
|
+
var r = e.length === 1 ? On : Zt;
|
|
1254
|
+
return Qt(e, this, r, t.cache.create(), t.serializer);
|
|
1232
1255
|
}
|
|
1233
|
-
function
|
|
1234
|
-
return
|
|
1256
|
+
function In(e, t) {
|
|
1257
|
+
return Qt(e, this, Zt, t.cache.create(), t.serializer);
|
|
1235
1258
|
}
|
|
1236
|
-
var
|
|
1259
|
+
var Mn = function() {
|
|
1237
1260
|
return JSON.stringify(arguments);
|
|
1238
|
-
},
|
|
1261
|
+
}, Nn = (
|
|
1239
1262
|
/** @class */
|
|
1240
1263
|
function() {
|
|
1241
1264
|
function e() {
|
|
@@ -1247,61 +1270,71 @@ var An = function() {
|
|
|
1247
1270
|
this.cache[t] = r;
|
|
1248
1271
|
}, e;
|
|
1249
1272
|
}()
|
|
1250
|
-
),
|
|
1273
|
+
), $n = {
|
|
1251
1274
|
create: function() {
|
|
1252
|
-
return new
|
|
1275
|
+
return new Nn();
|
|
1253
1276
|
}
|
|
1254
|
-
},
|
|
1255
|
-
variadic:
|
|
1256
|
-
},
|
|
1277
|
+
}, Le = {
|
|
1278
|
+
variadic: In
|
|
1279
|
+
}, pe = function() {
|
|
1280
|
+
return pe = Object.assign || function(t) {
|
|
1281
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1282
|
+
r = arguments[n];
|
|
1283
|
+
for (var o in r)
|
|
1284
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1285
|
+
}
|
|
1286
|
+
return t;
|
|
1287
|
+
}, pe.apply(this, arguments);
|
|
1288
|
+
};
|
|
1289
|
+
var d;
|
|
1257
1290
|
(function(e) {
|
|
1258
1291
|
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";
|
|
1259
1292
|
})(d || (d = {}));
|
|
1260
|
-
var
|
|
1293
|
+
var v;
|
|
1261
1294
|
(function(e) {
|
|
1262
1295
|
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";
|
|
1263
|
-
})(
|
|
1264
|
-
var
|
|
1296
|
+
})(v || (v = {}));
|
|
1297
|
+
var W;
|
|
1265
1298
|
(function(e) {
|
|
1266
1299
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1267
|
-
})(
|
|
1268
|
-
function
|
|
1269
|
-
return e.type ===
|
|
1300
|
+
})(W || (W = {}));
|
|
1301
|
+
function xt(e) {
|
|
1302
|
+
return e.type === v.literal;
|
|
1270
1303
|
}
|
|
1271
|
-
function
|
|
1272
|
-
return e.type ===
|
|
1304
|
+
function Rn(e) {
|
|
1305
|
+
return e.type === v.argument;
|
|
1273
1306
|
}
|
|
1274
|
-
function
|
|
1275
|
-
return e.type ===
|
|
1307
|
+
function Jt(e) {
|
|
1308
|
+
return e.type === v.number;
|
|
1276
1309
|
}
|
|
1277
|
-
function
|
|
1278
|
-
return e.type ===
|
|
1310
|
+
function Yt(e) {
|
|
1311
|
+
return e.type === v.date;
|
|
1279
1312
|
}
|
|
1280
|
-
function
|
|
1281
|
-
return e.type ===
|
|
1313
|
+
function qt(e) {
|
|
1314
|
+
return e.type === v.time;
|
|
1282
1315
|
}
|
|
1283
|
-
function
|
|
1284
|
-
return e.type ===
|
|
1316
|
+
function Kt(e) {
|
|
1317
|
+
return e.type === v.select;
|
|
1285
1318
|
}
|
|
1286
|
-
function
|
|
1287
|
-
return e.type ===
|
|
1319
|
+
function er(e) {
|
|
1320
|
+
return e.type === v.plural;
|
|
1288
1321
|
}
|
|
1289
|
-
function
|
|
1290
|
-
return e.type ===
|
|
1322
|
+
function Gn(e) {
|
|
1323
|
+
return e.type === v.pound;
|
|
1291
1324
|
}
|
|
1292
|
-
function
|
|
1293
|
-
return e.type ===
|
|
1325
|
+
function tr(e) {
|
|
1326
|
+
return e.type === v.tag;
|
|
1294
1327
|
}
|
|
1295
|
-
function
|
|
1296
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1328
|
+
function rr(e) {
|
|
1329
|
+
return !!(e && typeof e == "object" && e.type === W.number);
|
|
1297
1330
|
}
|
|
1298
|
-
function
|
|
1299
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1331
|
+
function We(e) {
|
|
1332
|
+
return !!(e && typeof e == "object" && e.type === W.dateTime);
|
|
1300
1333
|
}
|
|
1301
|
-
var
|
|
1302
|
-
function
|
|
1334
|
+
var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[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;
|
|
1335
|
+
function Dn(e) {
|
|
1303
1336
|
var t = {};
|
|
1304
|
-
return e.replace(
|
|
1337
|
+
return e.replace(Un, function(r) {
|
|
1305
1338
|
var n = r.length;
|
|
1306
1339
|
switch (r[0]) {
|
|
1307
1340
|
case "G":
|
|
@@ -1390,11 +1423,21 @@ function Nn(e) {
|
|
|
1390
1423
|
return "";
|
|
1391
1424
|
}), t;
|
|
1392
1425
|
}
|
|
1393
|
-
var
|
|
1394
|
-
function
|
|
1426
|
+
var _ = function() {
|
|
1427
|
+
return _ = Object.assign || function(t) {
|
|
1428
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1429
|
+
r = arguments[n];
|
|
1430
|
+
for (var o in r)
|
|
1431
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1432
|
+
}
|
|
1433
|
+
return t;
|
|
1434
|
+
}, _.apply(this, arguments);
|
|
1435
|
+
};
|
|
1436
|
+
var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1437
|
+
function jn(e) {
|
|
1395
1438
|
if (e.length === 0)
|
|
1396
1439
|
throw new Error("Number skeleton cannot be empty");
|
|
1397
|
-
for (var t = e.split(
|
|
1440
|
+
for (var t = e.split(Fn).filter(function(f) {
|
|
1398
1441
|
return f.length > 0;
|
|
1399
1442
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1400
1443
|
var o = i[n], s = o.split("/");
|
|
@@ -1409,17 +1452,17 @@ function $n(e) {
|
|
|
1409
1452
|
}
|
|
1410
1453
|
return r;
|
|
1411
1454
|
}
|
|
1412
|
-
function
|
|
1455
|
+
function kn(e) {
|
|
1413
1456
|
return e.replace(/^(.*?)-/, "");
|
|
1414
1457
|
}
|
|
1415
|
-
var
|
|
1416
|
-
function
|
|
1458
|
+
var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
|
|
1459
|
+
function Et(e) {
|
|
1417
1460
|
var t = {};
|
|
1418
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1461
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
|
|
1419
1462
|
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)), "";
|
|
1420
1463
|
}), t;
|
|
1421
1464
|
}
|
|
1422
|
-
function
|
|
1465
|
+
function sr(e) {
|
|
1423
1466
|
switch (e) {
|
|
1424
1467
|
case "sign-auto":
|
|
1425
1468
|
return {
|
|
@@ -1459,7 +1502,7 @@ function tr(e) {
|
|
|
1459
1502
|
};
|
|
1460
1503
|
}
|
|
1461
1504
|
}
|
|
1462
|
-
function
|
|
1505
|
+
function Xn(e) {
|
|
1463
1506
|
var t;
|
|
1464
1507
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1465
1508
|
notation: "engineering"
|
|
@@ -1467,17 +1510,17 @@ function Dn(e) {
|
|
|
1467
1510
|
notation: "scientific"
|
|
1468
1511
|
}, e = e.slice(1)), t) {
|
|
1469
1512
|
var r = e.slice(0, 2);
|
|
1470
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1513
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
|
|
1471
1514
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1472
1515
|
t.minimumIntegerDigits = e.length;
|
|
1473
1516
|
}
|
|
1474
1517
|
return t;
|
|
1475
1518
|
}
|
|
1476
|
-
function
|
|
1477
|
-
var t = {}, r =
|
|
1519
|
+
function wt(e) {
|
|
1520
|
+
var t = {}, r = sr(e);
|
|
1478
1521
|
return r || t;
|
|
1479
1522
|
}
|
|
1480
|
-
function
|
|
1523
|
+
function Wn(e) {
|
|
1481
1524
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1482
1525
|
var i = n[r];
|
|
1483
1526
|
switch (i.stem) {
|
|
@@ -1501,7 +1544,7 @@ function Fn(e) {
|
|
|
1501
1544
|
continue;
|
|
1502
1545
|
case "measure-unit":
|
|
1503
1546
|
case "unit":
|
|
1504
|
-
t.style = "unit", t.unit =
|
|
1547
|
+
t.style = "unit", t.unit = kn(i.options[0]);
|
|
1505
1548
|
continue;
|
|
1506
1549
|
case "compact-short":
|
|
1507
1550
|
case "K":
|
|
@@ -1512,13 +1555,13 @@ function Fn(e) {
|
|
|
1512
1555
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1513
1556
|
continue;
|
|
1514
1557
|
case "scientific":
|
|
1515
|
-
t =
|
|
1516
|
-
return
|
|
1558
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1559
|
+
return _(_({}, h), wt(u));
|
|
1517
1560
|
}, {}));
|
|
1518
1561
|
continue;
|
|
1519
1562
|
case "engineering":
|
|
1520
|
-
t =
|
|
1521
|
-
return
|
|
1563
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1564
|
+
return _(_({}, h), wt(u));
|
|
1522
1565
|
}, {}));
|
|
1523
1566
|
continue;
|
|
1524
1567
|
case "notation-simple":
|
|
@@ -1563,7 +1606,7 @@ function Fn(e) {
|
|
|
1563
1606
|
case "integer-width":
|
|
1564
1607
|
if (i.options.length > 1)
|
|
1565
1608
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1566
|
-
i.options[0].replace(
|
|
1609
|
+
i.options[0].replace(Vn, function(h, u, l, c, f, p) {
|
|
1567
1610
|
if (u)
|
|
1568
1611
|
t.minimumIntegerDigits = l.length;
|
|
1569
1612
|
else {
|
|
@@ -1576,28 +1619,28 @@ function Fn(e) {
|
|
|
1576
1619
|
});
|
|
1577
1620
|
continue;
|
|
1578
1621
|
}
|
|
1579
|
-
if (
|
|
1622
|
+
if (or.test(i.stem)) {
|
|
1580
1623
|
t.minimumIntegerDigits = i.stem.length;
|
|
1581
1624
|
continue;
|
|
1582
1625
|
}
|
|
1583
|
-
if (
|
|
1626
|
+
if (_t.test(i.stem)) {
|
|
1584
1627
|
if (i.options.length > 1)
|
|
1585
1628
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1586
|
-
i.stem.replace(
|
|
1629
|
+
i.stem.replace(_t, function(h, u, l, c, f, p) {
|
|
1587
1630
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1588
1631
|
});
|
|
1589
1632
|
var o = i.options[0];
|
|
1590
|
-
o === "w" ? t =
|
|
1633
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Et(o)));
|
|
1591
1634
|
continue;
|
|
1592
1635
|
}
|
|
1593
|
-
if (
|
|
1594
|
-
t =
|
|
1636
|
+
if (ir.test(i.stem)) {
|
|
1637
|
+
t = _(_({}, t), Et(i.stem));
|
|
1595
1638
|
continue;
|
|
1596
1639
|
}
|
|
1597
|
-
var s =
|
|
1598
|
-
s && (t =
|
|
1599
|
-
var a =
|
|
1600
|
-
a && (t =
|
|
1640
|
+
var s = sr(i.stem);
|
|
1641
|
+
s && (t = _(_({}, t), s));
|
|
1642
|
+
var a = Xn(i.stem);
|
|
1643
|
+
a && (t = _(_({}, t), a));
|
|
1601
1644
|
}
|
|
1602
1645
|
return t;
|
|
1603
1646
|
}
|
|
@@ -3016,13 +3059,13 @@ var ae = {
|
|
|
3016
3059
|
"h"
|
|
3017
3060
|
]
|
|
3018
3061
|
};
|
|
3019
|
-
function
|
|
3062
|
+
function zn(e, t) {
|
|
3020
3063
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3021
3064
|
var i = e.charAt(n);
|
|
3022
3065
|
if (i === "j") {
|
|
3023
3066
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3024
3067
|
o++, n++;
|
|
3025
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
3068
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Zn(t);
|
|
3026
3069
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3027
3070
|
r += h;
|
|
3028
3071
|
for (; s-- > 0; )
|
|
@@ -3032,7 +3075,7 @@ function jn(e, t) {
|
|
|
3032
3075
|
}
|
|
3033
3076
|
return r;
|
|
3034
3077
|
}
|
|
3035
|
-
function
|
|
3078
|
+
function Zn(e) {
|
|
3036
3079
|
var t = e.hourCycle;
|
|
3037
3080
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3038
3081
|
e.hourCycles && // @ts-ignore
|
|
@@ -3054,20 +3097,20 @@ function kn(e) {
|
|
|
3054
3097
|
var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
|
|
3055
3098
|
return i[0];
|
|
3056
3099
|
}
|
|
3057
|
-
var
|
|
3100
|
+
var Ie, Qn = new RegExp("^".concat(nr.source, "*")), Jn = new RegExp("".concat(nr.source, "*$"));
|
|
3058
3101
|
function g(e, t) {
|
|
3059
3102
|
return { start: e, end: t };
|
|
3060
3103
|
}
|
|
3061
|
-
var
|
|
3104
|
+
var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Kn = !!Object.fromEntries, ei = !!String.prototype.codePointAt, ti = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ii = ni ? Number.isSafeInteger : function(e) {
|
|
3062
3105
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3063
|
-
},
|
|
3106
|
+
}, ze = !0;
|
|
3064
3107
|
try {
|
|
3065
|
-
var
|
|
3066
|
-
|
|
3108
|
+
var oi = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3109
|
+
ze = ((Ie = oi.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
|
|
3067
3110
|
} catch (e) {
|
|
3068
|
-
|
|
3111
|
+
ze = !1;
|
|
3069
3112
|
}
|
|
3070
|
-
var
|
|
3113
|
+
var St = Yn ? (
|
|
3071
3114
|
// Native
|
|
3072
3115
|
function(t, r, n) {
|
|
3073
3116
|
return t.startsWith(r, n);
|
|
@@ -3077,7 +3120,7 @@ var yt = Wn ? (
|
|
|
3077
3120
|
function(t, r, n) {
|
|
3078
3121
|
return t.slice(n, n + r.length) === r;
|
|
3079
3122
|
}
|
|
3080
|
-
),
|
|
3123
|
+
), Ze = qn ? String.fromCodePoint : (
|
|
3081
3124
|
// IE11
|
|
3082
3125
|
function() {
|
|
3083
3126
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3089,9 +3132,9 @@ var yt = Wn ? (
|
|
|
3089
3132
|
}
|
|
3090
3133
|
return n;
|
|
3091
3134
|
}
|
|
3092
|
-
),
|
|
3135
|
+
), Tt = (
|
|
3093
3136
|
// native
|
|
3094
|
-
|
|
3137
|
+
Kn ? Object.fromEntries : (
|
|
3095
3138
|
// Ponyfill
|
|
3096
3139
|
function(t) {
|
|
3097
3140
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3101,7 +3144,7 @@ var yt = Wn ? (
|
|
|
3101
3144
|
return r;
|
|
3102
3145
|
}
|
|
3103
3146
|
)
|
|
3104
|
-
),
|
|
3147
|
+
), ar = ei ? (
|
|
3105
3148
|
// Native
|
|
3106
3149
|
function(t, r) {
|
|
3107
3150
|
return t.codePointAt(r);
|
|
@@ -3115,7 +3158,7 @@ var yt = Wn ? (
|
|
|
3115
3158
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3116
3159
|
}
|
|
3117
3160
|
}
|
|
3118
|
-
),
|
|
3161
|
+
), si = ti ? (
|
|
3119
3162
|
// Native
|
|
3120
3163
|
function(t) {
|
|
3121
3164
|
return t.trimStart();
|
|
@@ -3123,9 +3166,9 @@ var yt = Wn ? (
|
|
|
3123
3166
|
) : (
|
|
3124
3167
|
// Ponyfill
|
|
3125
3168
|
function(t) {
|
|
3126
|
-
return t.replace(
|
|
3169
|
+
return t.replace(Qn, "");
|
|
3127
3170
|
}
|
|
3128
|
-
),
|
|
3171
|
+
), ai = ri ? (
|
|
3129
3172
|
// Native
|
|
3130
3173
|
function(t) {
|
|
3131
3174
|
return t.trimEnd();
|
|
@@ -3133,32 +3176,32 @@ var yt = Wn ? (
|
|
|
3133
3176
|
) : (
|
|
3134
3177
|
// Ponyfill
|
|
3135
3178
|
function(t) {
|
|
3136
|
-
return t.replace(
|
|
3179
|
+
return t.replace(Jn, "");
|
|
3137
3180
|
}
|
|
3138
3181
|
);
|
|
3139
|
-
function
|
|
3182
|
+
function ur(e, t) {
|
|
3140
3183
|
return new RegExp(e, t);
|
|
3141
3184
|
}
|
|
3142
|
-
var
|
|
3143
|
-
if (
|
|
3144
|
-
var
|
|
3145
|
-
|
|
3185
|
+
var Qe;
|
|
3186
|
+
if (ze) {
|
|
3187
|
+
var Ht = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3188
|
+
Qe = function(t, r) {
|
|
3146
3189
|
var n;
|
|
3147
|
-
|
|
3148
|
-
var i =
|
|
3190
|
+
Ht.lastIndex = r;
|
|
3191
|
+
var i = Ht.exec(t);
|
|
3149
3192
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3150
3193
|
};
|
|
3151
3194
|
} else
|
|
3152
|
-
|
|
3195
|
+
Qe = function(t, r) {
|
|
3153
3196
|
for (var n = []; ; ) {
|
|
3154
|
-
var i =
|
|
3155
|
-
if (i === void 0 ||
|
|
3197
|
+
var i = ar(t, r);
|
|
3198
|
+
if (i === void 0 || hr(i) || ci(i))
|
|
3156
3199
|
break;
|
|
3157
3200
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3158
3201
|
}
|
|
3159
|
-
return
|
|
3202
|
+
return Ze.apply(void 0, n);
|
|
3160
3203
|
};
|
|
3161
|
-
var
|
|
3204
|
+
var ui = (
|
|
3162
3205
|
/** @class */
|
|
3163
3206
|
function() {
|
|
3164
3207
|
function e(t, r) {
|
|
@@ -3182,14 +3225,14 @@ var ni = (
|
|
|
3182
3225
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3183
3226
|
var a = this.clonePosition();
|
|
3184
3227
|
this.bump(), i.push({
|
|
3185
|
-
type:
|
|
3228
|
+
type: v.pound,
|
|
3186
3229
|
location: g(a, this.clonePosition())
|
|
3187
3230
|
});
|
|
3188
3231
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3189
3232
|
if (n)
|
|
3190
3233
|
break;
|
|
3191
3234
|
return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3192
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3235
|
+
} else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
|
|
3193
3236
|
var s = this.parseTag(t, r);
|
|
3194
3237
|
if (s.err)
|
|
3195
3238
|
return s;
|
|
@@ -3210,7 +3253,7 @@ var ni = (
|
|
|
3210
3253
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3211
3254
|
return {
|
|
3212
3255
|
val: {
|
|
3213
|
-
type:
|
|
3256
|
+
type: v.literal,
|
|
3214
3257
|
value: "<".concat(i, "/>"),
|
|
3215
3258
|
location: g(n, this.clonePosition())
|
|
3216
3259
|
},
|
|
@@ -3222,12 +3265,12 @@ var ni = (
|
|
|
3222
3265
|
return o;
|
|
3223
3266
|
var s = o.val, a = this.clonePosition();
|
|
3224
3267
|
if (this.bumpIf("</")) {
|
|
3225
|
-
if (this.isEOF() || !
|
|
3268
|
+
if (this.isEOF() || !Je(this.char()))
|
|
3226
3269
|
return this.error(d.INVALID_TAG, g(a, this.clonePosition()));
|
|
3227
3270
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3228
3271
|
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3229
3272
|
val: {
|
|
3230
|
-
type:
|
|
3273
|
+
type: v.tag,
|
|
3231
3274
|
value: i,
|
|
3232
3275
|
children: s,
|
|
3233
3276
|
location: g(n, this.clonePosition())
|
|
@@ -3240,7 +3283,7 @@ var ni = (
|
|
|
3240
3283
|
return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
|
|
3241
3284
|
}, e.prototype.parseTagName = function() {
|
|
3242
3285
|
var t = this.offset();
|
|
3243
|
-
for (this.bump(); !this.isEOF() &&
|
|
3286
|
+
for (this.bump(); !this.isEOF() && li(this.char()); )
|
|
3244
3287
|
this.bump();
|
|
3245
3288
|
return this.message.slice(t, this.offset());
|
|
3246
3289
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3264,12 +3307,12 @@ var ni = (
|
|
|
3264
3307
|
}
|
|
3265
3308
|
var h = g(n, this.clonePosition());
|
|
3266
3309
|
return {
|
|
3267
|
-
val: { type:
|
|
3310
|
+
val: { type: v.literal, value: i, location: h },
|
|
3268
3311
|
err: null
|
|
3269
3312
|
};
|
|
3270
3313
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3271
3314
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3272
|
-
!
|
|
3315
|
+
!hi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3273
3316
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3274
3317
|
if (this.isEOF() || this.char() !== 39)
|
|
3275
3318
|
return null;
|
|
@@ -3303,12 +3346,12 @@ var ni = (
|
|
|
3303
3346
|
r.push(n);
|
|
3304
3347
|
this.bump();
|
|
3305
3348
|
}
|
|
3306
|
-
return
|
|
3349
|
+
return Ze.apply(void 0, r);
|
|
3307
3350
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3308
3351
|
if (this.isEOF())
|
|
3309
3352
|
return null;
|
|
3310
3353
|
var n = this.char();
|
|
3311
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3354
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
|
|
3312
3355
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3313
3356
|
var n = this.clonePosition();
|
|
3314
3357
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3324,7 +3367,7 @@ var ni = (
|
|
|
3324
3367
|
case 125:
|
|
3325
3368
|
return this.bump(), {
|
|
3326
3369
|
val: {
|
|
3327
|
-
type:
|
|
3370
|
+
type: v.argument,
|
|
3328
3371
|
// value does not include the opening and closing braces.
|
|
3329
3372
|
value: i,
|
|
3330
3373
|
location: g(n, this.clonePosition())
|
|
@@ -3337,7 +3380,7 @@ var ni = (
|
|
|
3337
3380
|
return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3338
3381
|
}
|
|
3339
3382
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3340
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3383
|
+
var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
|
|
3341
3384
|
this.bumpTo(i);
|
|
3342
3385
|
var o = this.clonePosition(), s = g(t, o);
|
|
3343
3386
|
return { value: n, location: s };
|
|
@@ -3356,7 +3399,7 @@ var ni = (
|
|
|
3356
3399
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3357
3400
|
if (c.err)
|
|
3358
3401
|
return c;
|
|
3359
|
-
var f =
|
|
3402
|
+
var f = ai(c.val);
|
|
3360
3403
|
if (f.length === 0)
|
|
3361
3404
|
return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3362
3405
|
var p = g(l, this.clonePosition());
|
|
@@ -3365,37 +3408,37 @@ var ni = (
|
|
|
3365
3408
|
var m = this.tryParseArgumentClose(i);
|
|
3366
3409
|
if (m.err)
|
|
3367
3410
|
return m;
|
|
3368
|
-
var
|
|
3369
|
-
if (u &&
|
|
3370
|
-
var E =
|
|
3411
|
+
var y = g(i, this.clonePosition());
|
|
3412
|
+
if (u && St(u == null ? void 0 : u.style, "::", 0)) {
|
|
3413
|
+
var E = si(u.style.slice(2));
|
|
3371
3414
|
if (a === "number") {
|
|
3372
3415
|
var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
|
|
3373
3416
|
return c.err ? c : {
|
|
3374
|
-
val: { type:
|
|
3417
|
+
val: { type: v.number, value: n, location: y, style: c.val },
|
|
3375
3418
|
err: null
|
|
3376
3419
|
};
|
|
3377
3420
|
} else {
|
|
3378
3421
|
if (E.length === 0)
|
|
3379
|
-
return this.error(d.EXPECT_DATE_TIME_SKELETON,
|
|
3422
|
+
return this.error(d.EXPECT_DATE_TIME_SKELETON, y);
|
|
3380
3423
|
var A = E;
|
|
3381
|
-
this.locale && (A =
|
|
3424
|
+
this.locale && (A = zn(E, this.locale));
|
|
3382
3425
|
var f = {
|
|
3383
|
-
type:
|
|
3426
|
+
type: W.dateTime,
|
|
3384
3427
|
pattern: A,
|
|
3385
3428
|
location: u.styleLocation,
|
|
3386
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3387
|
-
}, P = a === "date" ?
|
|
3429
|
+
parsedOptions: this.shouldParseSkeletons ? Dn(A) : {}
|
|
3430
|
+
}, P = a === "date" ? v.date : v.time;
|
|
3388
3431
|
return {
|
|
3389
|
-
val: { type: P, value: n, location:
|
|
3432
|
+
val: { type: P, value: n, location: y, style: f },
|
|
3390
3433
|
err: null
|
|
3391
3434
|
};
|
|
3392
3435
|
}
|
|
3393
3436
|
}
|
|
3394
3437
|
return {
|
|
3395
3438
|
val: {
|
|
3396
|
-
type: a === "number" ?
|
|
3439
|
+
type: a === "number" ? v.number : a === "date" ? v.date : v.time,
|
|
3397
3440
|
value: n,
|
|
3398
|
-
location:
|
|
3441
|
+
location: y,
|
|
3399
3442
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3400
3443
|
},
|
|
3401
3444
|
err: null
|
|
@@ -3406,38 +3449,38 @@ var ni = (
|
|
|
3406
3449
|
case "select": {
|
|
3407
3450
|
var T = this.clonePosition();
|
|
3408
3451
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3409
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T,
|
|
3452
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, pe({}, T)));
|
|
3410
3453
|
this.bumpSpace();
|
|
3411
|
-
var
|
|
3412
|
-
if (a !== "select" &&
|
|
3454
|
+
var O = this.parseIdentifierIfPossible(), w = 0;
|
|
3455
|
+
if (a !== "select" && O.value === "offset") {
|
|
3413
3456
|
if (!this.bumpIf(":"))
|
|
3414
3457
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3415
3458
|
this.bumpSpace();
|
|
3416
3459
|
var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3417
3460
|
if (c.err)
|
|
3418
3461
|
return c;
|
|
3419
|
-
this.bumpSpace(),
|
|
3462
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = c.val;
|
|
3420
3463
|
}
|
|
3421
|
-
var
|
|
3422
|
-
if (
|
|
3423
|
-
return
|
|
3464
|
+
var x = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
|
3465
|
+
if (x.err)
|
|
3466
|
+
return x;
|
|
3424
3467
|
var m = this.tryParseArgumentClose(i);
|
|
3425
3468
|
if (m.err)
|
|
3426
3469
|
return m;
|
|
3427
3470
|
var C = g(i, this.clonePosition());
|
|
3428
3471
|
return a === "select" ? {
|
|
3429
3472
|
val: {
|
|
3430
|
-
type:
|
|
3473
|
+
type: v.select,
|
|
3431
3474
|
value: n,
|
|
3432
|
-
options:
|
|
3475
|
+
options: Tt(x.val),
|
|
3433
3476
|
location: C
|
|
3434
3477
|
},
|
|
3435
3478
|
err: null
|
|
3436
3479
|
} : {
|
|
3437
3480
|
val: {
|
|
3438
|
-
type:
|
|
3481
|
+
type: v.plural,
|
|
3439
3482
|
value: n,
|
|
3440
|
-
options:
|
|
3483
|
+
options: Tt(x.val),
|
|
3441
3484
|
offset: w,
|
|
3442
3485
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3443
3486
|
location: C
|
|
@@ -3488,16 +3531,16 @@ var ni = (
|
|
|
3488
3531
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3489
3532
|
var n = [];
|
|
3490
3533
|
try {
|
|
3491
|
-
n =
|
|
3534
|
+
n = jn(t);
|
|
3492
3535
|
} catch (i) {
|
|
3493
3536
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3494
3537
|
}
|
|
3495
3538
|
return {
|
|
3496
3539
|
val: {
|
|
3497
|
-
type:
|
|
3540
|
+
type: W.number,
|
|
3498
3541
|
tokens: n,
|
|
3499
3542
|
location: r,
|
|
3500
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3543
|
+
parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
|
|
3501
3544
|
},
|
|
3502
3545
|
err: null
|
|
3503
3546
|
};
|
|
@@ -3522,9 +3565,9 @@ var ni = (
|
|
|
3522
3565
|
var m = this.parseMessage(t + 1, r, n);
|
|
3523
3566
|
if (m.err)
|
|
3524
3567
|
return m;
|
|
3525
|
-
var
|
|
3526
|
-
if (
|
|
3527
|
-
return
|
|
3568
|
+
var y = this.tryParseArgumentClose(p);
|
|
3569
|
+
if (y.err)
|
|
3570
|
+
return y;
|
|
3528
3571
|
a.push([
|
|
3529
3572
|
u,
|
|
3530
3573
|
{
|
|
@@ -3545,7 +3588,7 @@ var ni = (
|
|
|
3545
3588
|
break;
|
|
3546
3589
|
}
|
|
3547
3590
|
var h = g(i, this.clonePosition());
|
|
3548
|
-
return o ? (s *= n,
|
|
3591
|
+
return o ? (s *= n, ii(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3549
3592
|
}, e.prototype.offset = function() {
|
|
3550
3593
|
return this.position.offset;
|
|
3551
3594
|
}, e.prototype.isEOF = function() {
|
|
@@ -3560,7 +3603,7 @@ var ni = (
|
|
|
3560
3603
|
var t = this.position.offset;
|
|
3561
3604
|
if (t >= this.message.length)
|
|
3562
3605
|
throw Error("out of bound");
|
|
3563
|
-
var r =
|
|
3606
|
+
var r = ar(this.message, t);
|
|
3564
3607
|
if (r === void 0)
|
|
3565
3608
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3566
3609
|
return r;
|
|
@@ -3579,7 +3622,7 @@ var ni = (
|
|
|
3579
3622
|
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);
|
|
3580
3623
|
}
|
|
3581
3624
|
}, e.prototype.bumpIf = function(t) {
|
|
3582
|
-
if (
|
|
3625
|
+
if (St(this.message, t, this.offset())) {
|
|
3583
3626
|
for (var r = 0; r < t.length; r++)
|
|
3584
3627
|
this.bump();
|
|
3585
3628
|
return !0;
|
|
@@ -3601,7 +3644,7 @@ var ni = (
|
|
|
3601
3644
|
break;
|
|
3602
3645
|
}
|
|
3603
3646
|
}, e.prototype.bumpSpace = function() {
|
|
3604
|
-
for (; !this.isEOF() &&
|
|
3647
|
+
for (; !this.isEOF() && hr(this.char()); )
|
|
3605
3648
|
this.bump();
|
|
3606
3649
|
}, e.prototype.peek = function() {
|
|
3607
3650
|
if (this.isEOF())
|
|
@@ -3611,47 +3654,47 @@ var ni = (
|
|
|
3611
3654
|
}, e;
|
|
3612
3655
|
}()
|
|
3613
3656
|
);
|
|
3614
|
-
function
|
|
3657
|
+
function Je(e) {
|
|
3615
3658
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3616
3659
|
}
|
|
3617
|
-
function
|
|
3618
|
-
return
|
|
3660
|
+
function hi(e) {
|
|
3661
|
+
return Je(e) || e === 47;
|
|
3619
3662
|
}
|
|
3620
|
-
function
|
|
3663
|
+
function li(e) {
|
|
3621
3664
|
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;
|
|
3622
3665
|
}
|
|
3623
|
-
function
|
|
3666
|
+
function hr(e) {
|
|
3624
3667
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3625
3668
|
}
|
|
3626
|
-
function
|
|
3669
|
+
function ci(e) {
|
|
3627
3670
|
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;
|
|
3628
3671
|
}
|
|
3629
|
-
function
|
|
3672
|
+
function Ye(e) {
|
|
3630
3673
|
e.forEach(function(t) {
|
|
3631
|
-
if (delete t.location,
|
|
3674
|
+
if (delete t.location, Kt(t) || er(t))
|
|
3632
3675
|
for (var r in t.options)
|
|
3633
|
-
delete t.options[r].location,
|
|
3676
|
+
delete t.options[r].location, Ye(t.options[r].value);
|
|
3634
3677
|
else
|
|
3635
|
-
|
|
3678
|
+
Jt(t) && rr(t.style) || (Yt(t) || qt(t)) && We(t.style) ? delete t.style.location : tr(t) && Ye(t.children);
|
|
3636
3679
|
});
|
|
3637
3680
|
}
|
|
3638
|
-
function
|
|
3639
|
-
t === void 0 && (t = {}), t =
|
|
3640
|
-
var r = new
|
|
3681
|
+
function fi(e, t) {
|
|
3682
|
+
t === void 0 && (t = {}), t = pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3683
|
+
var r = new ui(e, t).parse();
|
|
3641
3684
|
if (r.err) {
|
|
3642
3685
|
var n = SyntaxError(d[r.err.kind]);
|
|
3643
3686
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3644
3687
|
}
|
|
3645
|
-
return t != null && t.captureLocation ||
|
|
3688
|
+
return t != null && t.captureLocation || Ye(r.val), r.val;
|
|
3646
3689
|
}
|
|
3647
|
-
var
|
|
3690
|
+
var z;
|
|
3648
3691
|
(function(e) {
|
|
3649
3692
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3650
|
-
})(
|
|
3651
|
-
var
|
|
3693
|
+
})(z || (z = {}));
|
|
3694
|
+
var _e = (
|
|
3652
3695
|
/** @class */
|
|
3653
3696
|
function(e) {
|
|
3654
|
-
|
|
3697
|
+
xe(t, e);
|
|
3655
3698
|
function t(r, n, i) {
|
|
3656
3699
|
var o = e.call(this, r) || this;
|
|
3657
3700
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3660,48 +3703,48 @@ var ye = (
|
|
|
3660
3703
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3661
3704
|
}, t;
|
|
3662
3705
|
}(Error)
|
|
3663
|
-
),
|
|
3706
|
+
), Bt = (
|
|
3664
3707
|
/** @class */
|
|
3665
3708
|
function(e) {
|
|
3666
|
-
|
|
3709
|
+
xe(t, e);
|
|
3667
3710
|
function t(r, n, i, o) {
|
|
3668
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3711
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
|
|
3669
3712
|
}
|
|
3670
3713
|
return t;
|
|
3671
|
-
}(
|
|
3672
|
-
),
|
|
3714
|
+
}(_e)
|
|
3715
|
+
), mi = (
|
|
3673
3716
|
/** @class */
|
|
3674
3717
|
function(e) {
|
|
3675
|
-
|
|
3718
|
+
xe(t, e);
|
|
3676
3719
|
function t(r, n, i) {
|
|
3677
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3720
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
|
|
3678
3721
|
}
|
|
3679
3722
|
return t;
|
|
3680
|
-
}(
|
|
3681
|
-
),
|
|
3723
|
+
}(_e)
|
|
3724
|
+
), pi = (
|
|
3682
3725
|
/** @class */
|
|
3683
3726
|
function(e) {
|
|
3684
|
-
|
|
3727
|
+
xe(t, e);
|
|
3685
3728
|
function t(r, n) {
|
|
3686
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3729
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
|
|
3687
3730
|
}
|
|
3688
3731
|
return t;
|
|
3689
|
-
}(
|
|
3732
|
+
}(_e)
|
|
3690
3733
|
), H;
|
|
3691
3734
|
(function(e) {
|
|
3692
3735
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3693
3736
|
})(H || (H = {}));
|
|
3694
|
-
function
|
|
3737
|
+
function di(e) {
|
|
3695
3738
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3696
3739
|
var n = t[t.length - 1];
|
|
3697
3740
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
|
3698
3741
|
}, []);
|
|
3699
3742
|
}
|
|
3700
|
-
function
|
|
3743
|
+
function bi(e) {
|
|
3701
3744
|
return typeof e == "function";
|
|
3702
3745
|
}
|
|
3703
3746
|
function fe(e, t, r, n, i, o, s) {
|
|
3704
|
-
if (e.length === 1 &&
|
|
3747
|
+
if (e.length === 1 && xt(e[0]))
|
|
3705
3748
|
return [
|
|
3706
3749
|
{
|
|
3707
3750
|
type: H.literal,
|
|
@@ -3710,14 +3753,14 @@ function fe(e, t, r, n, i, o, s) {
|
|
|
3710
3753
|
];
|
|
3711
3754
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3712
3755
|
var l = u[h];
|
|
3713
|
-
if (
|
|
3756
|
+
if (xt(l)) {
|
|
3714
3757
|
a.push({
|
|
3715
3758
|
type: H.literal,
|
|
3716
3759
|
value: l.value
|
|
3717
3760
|
});
|
|
3718
3761
|
continue;
|
|
3719
3762
|
}
|
|
3720
|
-
if (
|
|
3763
|
+
if (Gn(l)) {
|
|
3721
3764
|
typeof o == "number" && a.push({
|
|
3722
3765
|
type: H.literal,
|
|
3723
3766
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3726,43 +3769,43 @@ function fe(e, t, r, n, i, o, s) {
|
|
|
3726
3769
|
}
|
|
3727
3770
|
var c = l.value;
|
|
3728
3771
|
if (!(i && c in i))
|
|
3729
|
-
throw new
|
|
3772
|
+
throw new pi(c, s);
|
|
3730
3773
|
var f = i[c];
|
|
3731
|
-
if (
|
|
3774
|
+
if (Rn(l)) {
|
|
3732
3775
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3733
3776
|
type: typeof f == "string" ? H.literal : H.object,
|
|
3734
3777
|
value: f
|
|
3735
3778
|
});
|
|
3736
3779
|
continue;
|
|
3737
3780
|
}
|
|
3738
|
-
if (
|
|
3739
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3781
|
+
if (Yt(l)) {
|
|
3782
|
+
var p = typeof l.style == "string" ? n.date[l.style] : We(l.style) ? l.style.parsedOptions : void 0;
|
|
3740
3783
|
a.push({
|
|
3741
3784
|
type: H.literal,
|
|
3742
3785
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3743
3786
|
});
|
|
3744
3787
|
continue;
|
|
3745
3788
|
}
|
|
3746
|
-
if (
|
|
3747
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3789
|
+
if (qt(l)) {
|
|
3790
|
+
var p = typeof l.style == "string" ? n.time[l.style] : We(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3748
3791
|
a.push({
|
|
3749
3792
|
type: H.literal,
|
|
3750
3793
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3751
3794
|
});
|
|
3752
3795
|
continue;
|
|
3753
3796
|
}
|
|
3754
|
-
if (
|
|
3755
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3797
|
+
if (Jt(l)) {
|
|
3798
|
+
var p = typeof l.style == "string" ? n.number[l.style] : rr(l.style) ? l.style.parsedOptions : void 0;
|
|
3756
3799
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3757
3800
|
type: H.literal,
|
|
3758
3801
|
value: r.getNumberFormat(t, p).format(f)
|
|
3759
3802
|
});
|
|
3760
3803
|
continue;
|
|
3761
3804
|
}
|
|
3762
|
-
if (
|
|
3763
|
-
var m = l.children,
|
|
3764
|
-
if (!
|
|
3765
|
-
throw new
|
|
3805
|
+
if (tr(l)) {
|
|
3806
|
+
var m = l.children, y = l.value, E = i[y];
|
|
3807
|
+
if (!bi(E))
|
|
3808
|
+
throw new mi(y, "function", s);
|
|
3766
3809
|
var A = fe(m, t, r, n, i, o), P = E(A.map(function(w) {
|
|
3767
3810
|
return w.value;
|
|
3768
3811
|
}));
|
|
@@ -3773,42 +3816,42 @@ function fe(e, t, r, n, i, o, s) {
|
|
|
3773
3816
|
};
|
|
3774
3817
|
}));
|
|
3775
3818
|
}
|
|
3776
|
-
if (
|
|
3819
|
+
if (Kt(l)) {
|
|
3777
3820
|
var T = l.options[f] || l.options.other;
|
|
3778
3821
|
if (!T)
|
|
3779
|
-
throw new
|
|
3822
|
+
throw new Bt(l.value, f, Object.keys(l.options), s);
|
|
3780
3823
|
a.push.apply(a, fe(T.value, t, r, n, i));
|
|
3781
3824
|
continue;
|
|
3782
3825
|
}
|
|
3783
|
-
if (
|
|
3826
|
+
if (er(l)) {
|
|
3784
3827
|
var T = l.options["=".concat(f)];
|
|
3785
3828
|
if (!T) {
|
|
3786
3829
|
if (!Intl.PluralRules)
|
|
3787
|
-
throw new
|
|
3830
|
+
throw new _e(`Intl.PluralRules is not available in this environment.
|
|
3788
3831
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3789
|
-
`,
|
|
3790
|
-
var
|
|
3791
|
-
T = l.options[
|
|
3832
|
+
`, z.MISSING_INTL_API, s);
|
|
3833
|
+
var O = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3834
|
+
T = l.options[O] || l.options.other;
|
|
3792
3835
|
}
|
|
3793
3836
|
if (!T)
|
|
3794
|
-
throw new
|
|
3837
|
+
throw new Bt(l.value, f, Object.keys(l.options), s);
|
|
3795
3838
|
a.push.apply(a, fe(T.value, t, r, n, i, f - (l.offset || 0)));
|
|
3796
3839
|
continue;
|
|
3797
3840
|
}
|
|
3798
3841
|
}
|
|
3799
|
-
return
|
|
3842
|
+
return di(a);
|
|
3800
3843
|
}
|
|
3801
|
-
function
|
|
3802
|
-
return t ?
|
|
3803
|
-
return r[n] =
|
|
3844
|
+
function gi(e, t) {
|
|
3845
|
+
return t ? I(I(I({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3846
|
+
return r[n] = I(I({}, e[n]), t[n] || {}), r;
|
|
3804
3847
|
}, {})) : e;
|
|
3805
3848
|
}
|
|
3806
|
-
function
|
|
3849
|
+
function yi(e, t) {
|
|
3807
3850
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3808
|
-
return r[n] =
|
|
3809
|
-
},
|
|
3851
|
+
return r[n] = gi(e[n], t[n]), r;
|
|
3852
|
+
}, I({}, e)) : e;
|
|
3810
3853
|
}
|
|
3811
|
-
function
|
|
3854
|
+
function Me(e) {
|
|
3812
3855
|
return {
|
|
3813
3856
|
create: function() {
|
|
3814
3857
|
return {
|
|
@@ -3822,39 +3865,39 @@ function Le(e) {
|
|
|
3822
3865
|
}
|
|
3823
3866
|
};
|
|
3824
3867
|
}
|
|
3825
|
-
function
|
|
3868
|
+
function vi(e) {
|
|
3826
3869
|
return e === void 0 && (e = {
|
|
3827
3870
|
number: {},
|
|
3828
3871
|
dateTime: {},
|
|
3829
3872
|
pluralRules: {}
|
|
3830
3873
|
}), {
|
|
3831
|
-
getNumberFormat:
|
|
3874
|
+
getNumberFormat: Oe(function() {
|
|
3832
3875
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3833
3876
|
r[n] = arguments[n];
|
|
3834
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3877
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3835
3878
|
}, {
|
|
3836
|
-
cache:
|
|
3837
|
-
strategy:
|
|
3879
|
+
cache: Me(e.number),
|
|
3880
|
+
strategy: Le.variadic
|
|
3838
3881
|
}),
|
|
3839
|
-
getDateTimeFormat:
|
|
3882
|
+
getDateTimeFormat: Oe(function() {
|
|
3840
3883
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3841
3884
|
r[n] = arguments[n];
|
|
3842
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3885
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3843
3886
|
}, {
|
|
3844
|
-
cache:
|
|
3845
|
-
strategy:
|
|
3887
|
+
cache: Me(e.dateTime),
|
|
3888
|
+
strategy: Le.variadic
|
|
3846
3889
|
}),
|
|
3847
|
-
getPluralRules:
|
|
3890
|
+
getPluralRules: Oe(function() {
|
|
3848
3891
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3849
3892
|
r[n] = arguments[n];
|
|
3850
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3893
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3851
3894
|
}, {
|
|
3852
|
-
cache:
|
|
3853
|
-
strategy:
|
|
3895
|
+
cache: Me(e.pluralRules),
|
|
3896
|
+
strategy: Le.variadic
|
|
3854
3897
|
})
|
|
3855
3898
|
};
|
|
3856
3899
|
}
|
|
3857
|
-
var
|
|
3900
|
+
var xi = (
|
|
3858
3901
|
/** @class */
|
|
3859
3902
|
function() {
|
|
3860
3903
|
function e(t, r, n, i) {
|
|
@@ -3886,13 +3929,13 @@ var di = (
|
|
|
3886
3929
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3887
3930
|
var s = i || {};
|
|
3888
3931
|
s.formatters;
|
|
3889
|
-
var a =
|
|
3890
|
-
this.ast = e.__parse(t,
|
|
3932
|
+
var a = An(s, ["formatters"]);
|
|
3933
|
+
this.ast = e.__parse(t, I(I({}, a), { locale: this.resolvedLocale }));
|
|
3891
3934
|
} else
|
|
3892
3935
|
this.ast = t;
|
|
3893
3936
|
if (!Array.isArray(this.ast))
|
|
3894
3937
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3895
|
-
this.formats =
|
|
3938
|
+
this.formats = yi(e.formats, n), this.formatters = i && i.formatters || vi(this.formatterCache);
|
|
3896
3939
|
}
|
|
3897
3940
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3898
3941
|
get: function() {
|
|
@@ -3905,7 +3948,7 @@ var di = (
|
|
|
3905
3948
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3906
3949
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3907
3950
|
}
|
|
3908
|
-
}, e.__parse =
|
|
3951
|
+
}, e.__parse = fi, e.formats = {
|
|
3909
3952
|
number: {
|
|
3910
3953
|
integer: {
|
|
3911
3954
|
maximumFractionDigits: 0
|
|
@@ -3966,7 +4009,7 @@ var di = (
|
|
|
3966
4009
|
}, e;
|
|
3967
4010
|
}()
|
|
3968
4011
|
);
|
|
3969
|
-
function
|
|
4012
|
+
function _i(e, t) {
|
|
3970
4013
|
if (t == null)
|
|
3971
4014
|
return;
|
|
3972
4015
|
if (t in e)
|
|
@@ -3987,92 +4030,92 @@ function bi(e, t) {
|
|
|
3987
4030
|
n = void 0;
|
|
3988
4031
|
return n;
|
|
3989
4032
|
}
|
|
3990
|
-
const G = {},
|
|
4033
|
+
const G = {}, Ei = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), lr = (e, t) => {
|
|
3991
4034
|
if (t == null)
|
|
3992
4035
|
return;
|
|
3993
4036
|
if (t in G && e in G[t])
|
|
3994
4037
|
return G[t][e];
|
|
3995
|
-
const r =
|
|
4038
|
+
const r = Ee(t);
|
|
3996
4039
|
for (let n = 0; n < r.length; n++) {
|
|
3997
|
-
const i = r[n], o =
|
|
4040
|
+
const i = r[n], o = Si(i, e);
|
|
3998
4041
|
if (o)
|
|
3999
|
-
return
|
|
4042
|
+
return Ei(e, t, o);
|
|
4000
4043
|
}
|
|
4001
4044
|
};
|
|
4002
|
-
let
|
|
4045
|
+
let rt;
|
|
4003
4046
|
const oe = ve({});
|
|
4004
|
-
function
|
|
4005
|
-
return
|
|
4047
|
+
function wi(e) {
|
|
4048
|
+
return rt[e] || null;
|
|
4006
4049
|
}
|
|
4007
|
-
function
|
|
4008
|
-
return e in
|
|
4050
|
+
function cr(e) {
|
|
4051
|
+
return e in rt;
|
|
4009
4052
|
}
|
|
4010
|
-
function
|
|
4011
|
-
if (!
|
|
4053
|
+
function Si(e, t) {
|
|
4054
|
+
if (!cr(e))
|
|
4012
4055
|
return null;
|
|
4013
|
-
const r =
|
|
4014
|
-
return
|
|
4056
|
+
const r = wi(e);
|
|
4057
|
+
return _i(r, t);
|
|
4015
4058
|
}
|
|
4016
|
-
function
|
|
4059
|
+
function Ti(e) {
|
|
4017
4060
|
if (e == null)
|
|
4018
4061
|
return;
|
|
4019
|
-
const t =
|
|
4062
|
+
const t = Ee(e);
|
|
4020
4063
|
for (let r = 0; r < t.length; r++) {
|
|
4021
4064
|
const n = t[r];
|
|
4022
|
-
if (
|
|
4065
|
+
if (cr(n))
|
|
4023
4066
|
return n;
|
|
4024
4067
|
}
|
|
4025
4068
|
}
|
|
4026
|
-
function
|
|
4027
|
-
delete G[e], oe.update((r) => (r[e] =
|
|
4069
|
+
function fr(e, ...t) {
|
|
4070
|
+
delete G[e], oe.update((r) => (r[e] = Cn.all([r[e] || {}, ...t]), r));
|
|
4028
4071
|
}
|
|
4029
|
-
|
|
4072
|
+
J(
|
|
4030
4073
|
[oe],
|
|
4031
4074
|
([e]) => Object.keys(e)
|
|
4032
4075
|
);
|
|
4033
|
-
oe.subscribe((e) =>
|
|
4076
|
+
oe.subscribe((e) => rt = e);
|
|
4034
4077
|
const me = {};
|
|
4035
|
-
function
|
|
4078
|
+
function Hi(e, t) {
|
|
4036
4079
|
me[e].delete(t), me[e].size === 0 && delete me[e];
|
|
4037
4080
|
}
|
|
4038
|
-
function
|
|
4081
|
+
function mr(e) {
|
|
4039
4082
|
return me[e];
|
|
4040
4083
|
}
|
|
4041
|
-
function
|
|
4042
|
-
return
|
|
4043
|
-
const r =
|
|
4084
|
+
function Bi(e) {
|
|
4085
|
+
return Ee(e).map((t) => {
|
|
4086
|
+
const r = mr(t);
|
|
4044
4087
|
return [t, r ? [...r] : []];
|
|
4045
4088
|
}).filter(([, t]) => t.length > 0);
|
|
4046
4089
|
}
|
|
4047
|
-
function
|
|
4048
|
-
return e == null ? !1 :
|
|
4090
|
+
function qe(e) {
|
|
4091
|
+
return e == null ? !1 : Ee(e).some(
|
|
4049
4092
|
(t) => {
|
|
4050
4093
|
var r;
|
|
4051
|
-
return (r =
|
|
4094
|
+
return (r = mr(t)) == null ? void 0 : r.size;
|
|
4052
4095
|
}
|
|
4053
4096
|
);
|
|
4054
4097
|
}
|
|
4055
|
-
function
|
|
4098
|
+
function Ci(e, t) {
|
|
4056
4099
|
return Promise.all(
|
|
4057
|
-
t.map((n) => (
|
|
4058
|
-
).then((n) =>
|
|
4059
|
-
}
|
|
4060
|
-
const
|
|
4061
|
-
function
|
|
4062
|
-
if (!
|
|
4063
|
-
return e in
|
|
4064
|
-
const t =
|
|
4065
|
-
return
|
|
4100
|
+
t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
|
|
4101
|
+
).then((n) => fr(e, ...n));
|
|
4102
|
+
}
|
|
4103
|
+
const K = {};
|
|
4104
|
+
function pr(e) {
|
|
4105
|
+
if (!qe(e))
|
|
4106
|
+
return e in K ? K[e] : Promise.resolve();
|
|
4107
|
+
const t = Bi(e);
|
|
4108
|
+
return K[e] = Promise.all(
|
|
4066
4109
|
t.map(
|
|
4067
|
-
([r, n]) =>
|
|
4110
|
+
([r, n]) => Ci(r, n)
|
|
4068
4111
|
)
|
|
4069
4112
|
).then(() => {
|
|
4070
|
-
if (
|
|
4071
|
-
return
|
|
4072
|
-
delete
|
|
4073
|
-
}),
|
|
4113
|
+
if (qe(e))
|
|
4114
|
+
return pr(e);
|
|
4115
|
+
delete K[e];
|
|
4116
|
+
}), K[e];
|
|
4074
4117
|
}
|
|
4075
|
-
const
|
|
4118
|
+
const Ai = {
|
|
4076
4119
|
number: {
|
|
4077
4120
|
scientific: { notation: "scientific" },
|
|
4078
4121
|
engineering: { notation: "engineering" },
|
|
@@ -4101,135 +4144,135 @@ const Si = {
|
|
|
4101
4144
|
timeZoneName: "short"
|
|
4102
4145
|
}
|
|
4103
4146
|
}
|
|
4104
|
-
},
|
|
4147
|
+
}, Pi = {
|
|
4105
4148
|
fallbackLocale: null,
|
|
4106
4149
|
loadingDelay: 200,
|
|
4107
|
-
formats:
|
|
4150
|
+
formats: Ai,
|
|
4108
4151
|
warnOnMissingMessages: !0,
|
|
4109
4152
|
handleMissingMessage: void 0,
|
|
4110
4153
|
ignoreTag: !0
|
|
4111
|
-
},
|
|
4112
|
-
function
|
|
4113
|
-
return
|
|
4154
|
+
}, Oi = Pi;
|
|
4155
|
+
function Z() {
|
|
4156
|
+
return Oi;
|
|
4114
4157
|
}
|
|
4115
|
-
const
|
|
4116
|
-
var
|
|
4158
|
+
const Ne = ve(!1);
|
|
4159
|
+
var Li = Object.defineProperty, Ii = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ri = (e, t) => {
|
|
4117
4160
|
for (var r in t || (t = {}))
|
|
4118
|
-
|
|
4119
|
-
if (
|
|
4120
|
-
for (var r of
|
|
4121
|
-
|
|
4161
|
+
Ni.call(t, r) && At(e, r, t[r]);
|
|
4162
|
+
if (Ct)
|
|
4163
|
+
for (var r of Ct(t))
|
|
4164
|
+
$i.call(t, r) && At(e, r, t[r]);
|
|
4122
4165
|
return e;
|
|
4123
|
-
},
|
|
4124
|
-
let
|
|
4125
|
-
const
|
|
4126
|
-
function
|
|
4166
|
+
}, Gi = (e, t) => Ii(e, Mi(t));
|
|
4167
|
+
let Ke;
|
|
4168
|
+
const de = ve(null);
|
|
4169
|
+
function Pt(e) {
|
|
4127
4170
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4128
4171
|
}
|
|
4129
|
-
function
|
|
4130
|
-
const r =
|
|
4131
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4172
|
+
function Ee(e, t = Z().fallbackLocale) {
|
|
4173
|
+
const r = Pt(e);
|
|
4174
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
|
|
4132
4175
|
}
|
|
4133
4176
|
function U() {
|
|
4134
|
-
return
|
|
4177
|
+
return Ke != null ? Ke : void 0;
|
|
4135
4178
|
}
|
|
4136
|
-
|
|
4137
|
-
|
|
4179
|
+
de.subscribe((e) => {
|
|
4180
|
+
Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4138
4181
|
});
|
|
4139
|
-
const
|
|
4140
|
-
if (e &&
|
|
4141
|
-
const { loadingDelay: t } =
|
|
4182
|
+
const Ui = (e) => {
|
|
4183
|
+
if (e && Ti(e) && qe(e)) {
|
|
4184
|
+
const { loadingDelay: t } = Z();
|
|
4142
4185
|
let r;
|
|
4143
4186
|
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
4144
|
-
() =>
|
|
4187
|
+
() => Ne.set(!0),
|
|
4145
4188
|
t
|
|
4146
|
-
) :
|
|
4147
|
-
|
|
4189
|
+
) : Ne.set(!0), pr(e).then(() => {
|
|
4190
|
+
de.set(e);
|
|
4148
4191
|
}).finally(() => {
|
|
4149
|
-
clearTimeout(r),
|
|
4192
|
+
clearTimeout(r), Ne.set(!1);
|
|
4150
4193
|
});
|
|
4151
4194
|
}
|
|
4152
|
-
return
|
|
4153
|
-
},
|
|
4154
|
-
set:
|
|
4155
|
-
}),
|
|
4195
|
+
return de.set(e);
|
|
4196
|
+
}, Y = Gi(Ri({}, de), {
|
|
4197
|
+
set: Ui
|
|
4198
|
+
}), we = (e) => {
|
|
4156
4199
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4157
4200
|
return (n) => {
|
|
4158
4201
|
const i = JSON.stringify(n);
|
|
4159
4202
|
return i in t ? t[i] : t[i] = e(n);
|
|
4160
4203
|
};
|
|
4161
4204
|
};
|
|
4162
|
-
var
|
|
4205
|
+
var Di = Object.defineProperty, be = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
|
4163
4206
|
for (var r in t || (t = {}))
|
|
4164
|
-
|
|
4165
|
-
if (
|
|
4166
|
-
for (var r of
|
|
4167
|
-
|
|
4207
|
+
dr.call(t, r) && Ot(e, r, t[r]);
|
|
4208
|
+
if (be)
|
|
4209
|
+
for (var r of be(t))
|
|
4210
|
+
br.call(t, r) && Ot(e, r, t[r]);
|
|
4168
4211
|
return e;
|
|
4169
|
-
},
|
|
4212
|
+
}, q = (e, t) => {
|
|
4170
4213
|
var r = {};
|
|
4171
4214
|
for (var n in e)
|
|
4172
|
-
|
|
4173
|
-
if (e != null &&
|
|
4174
|
-
for (var n of
|
|
4175
|
-
t.indexOf(n) < 0 &&
|
|
4215
|
+
dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4216
|
+
if (e != null && be)
|
|
4217
|
+
for (var n of be(e))
|
|
4218
|
+
t.indexOf(n) < 0 && br.call(e, n) && (r[n] = e[n]);
|
|
4176
4219
|
return r;
|
|
4177
4220
|
};
|
|
4178
|
-
const
|
|
4179
|
-
const { formats: r } =
|
|
4221
|
+
const ne = (e, t) => {
|
|
4222
|
+
const { formats: r } = Z();
|
|
4180
4223
|
if (e in r && t in r[e])
|
|
4181
4224
|
return r[e][t];
|
|
4182
4225
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4183
|
-
},
|
|
4226
|
+
}, Fi = we(
|
|
4184
4227
|
(e) => {
|
|
4185
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4228
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
4186
4229
|
if (r == null)
|
|
4187
4230
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4188
|
-
return n && (i =
|
|
4231
|
+
return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
|
|
4189
4232
|
}
|
|
4190
|
-
),
|
|
4233
|
+
), ji = we(
|
|
4191
4234
|
(e) => {
|
|
4192
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4235
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
4193
4236
|
if (r == null)
|
|
4194
4237
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4195
|
-
return n ? i =
|
|
4238
|
+
return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4196
4239
|
}
|
|
4197
|
-
),
|
|
4240
|
+
), ki = we(
|
|
4198
4241
|
(e) => {
|
|
4199
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4242
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
4200
4243
|
if (r == null)
|
|
4201
4244
|
throw new Error(
|
|
4202
4245
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4203
4246
|
);
|
|
4204
|
-
return n ? i =
|
|
4247
|
+
return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4205
4248
|
}
|
|
4206
|
-
),
|
|
4249
|
+
), Vi = (e = {}) => {
|
|
4207
4250
|
var t = e, {
|
|
4208
4251
|
locale: r = U()
|
|
4209
|
-
} = t, n =
|
|
4252
|
+
} = t, n = q(t, [
|
|
4210
4253
|
"locale"
|
|
4211
4254
|
]);
|
|
4212
|
-
return
|
|
4213
|
-
},
|
|
4255
|
+
return Fi(nt({ locale: r }, n));
|
|
4256
|
+
}, Xi = (e = {}) => {
|
|
4214
4257
|
var t = e, {
|
|
4215
4258
|
locale: r = U()
|
|
4216
|
-
} = t, n =
|
|
4259
|
+
} = t, n = q(t, [
|
|
4217
4260
|
"locale"
|
|
4218
4261
|
]);
|
|
4219
|
-
return
|
|
4220
|
-
},
|
|
4262
|
+
return ji(nt({ locale: r }, n));
|
|
4263
|
+
}, Wi = (e = {}) => {
|
|
4221
4264
|
var t = e, {
|
|
4222
4265
|
locale: r = U()
|
|
4223
|
-
} = t, n =
|
|
4266
|
+
} = t, n = q(t, [
|
|
4224
4267
|
"locale"
|
|
4225
4268
|
]);
|
|
4226
|
-
return
|
|
4227
|
-
},
|
|
4269
|
+
return ki(nt({ locale: r }, n));
|
|
4270
|
+
}, zi = we(
|
|
4228
4271
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4229
|
-
(e, t = U()) => new
|
|
4230
|
-
ignoreTag:
|
|
4272
|
+
(e, t = U()) => new xi(e, t, Z().formats, {
|
|
4273
|
+
ignoreTag: Z().ignoreTag
|
|
4231
4274
|
})
|
|
4232
|
-
),
|
|
4275
|
+
), Zi = (e, t = {}) => {
|
|
4233
4276
|
var r, n, i, o;
|
|
4234
4277
|
let s = t;
|
|
4235
4278
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4242,9 +4285,9 @@ const ie = (e, t) => {
|
|
|
4242
4285
|
throw new Error(
|
|
4243
4286
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4244
4287
|
);
|
|
4245
|
-
let l =
|
|
4288
|
+
let l = lr(e, h);
|
|
4246
4289
|
if (!l)
|
|
4247
|
-
l = (o = (i = (n = (r =
|
|
4290
|
+
l = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4248
4291
|
else if (typeof l != "string")
|
|
4249
4292
|
return console.warn(
|
|
4250
4293
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4253,7 +4296,7 @@ const ie = (e, t) => {
|
|
|
4253
4296
|
return l;
|
|
4254
4297
|
let c = l;
|
|
4255
4298
|
try {
|
|
4256
|
-
c =
|
|
4299
|
+
c = zi(l, h).format(a);
|
|
4257
4300
|
} catch (f) {
|
|
4258
4301
|
f instanceof Error && console.warn(
|
|
4259
4302
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4261,20 +4304,20 @@ const ie = (e, t) => {
|
|
|
4261
4304
|
);
|
|
4262
4305
|
}
|
|
4263
4306
|
return c;
|
|
4264
|
-
},
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
window.emWidgets = { topic:
|
|
4270
|
-
const
|
|
4271
|
-
function
|
|
4272
|
-
|
|
4273
|
-
}
|
|
4274
|
-
function
|
|
4275
|
-
|
|
4276
|
-
}
|
|
4277
|
-
const
|
|
4307
|
+
}, Qi = (e, t) => Wi(t).format(e), Ji = (e, t) => Xi(t).format(e), Yi = (e, t) => Vi(t).format(e), qi = (e, t = U()) => lr(e, t), Ki = J([Y, oe], () => Zi);
|
|
4308
|
+
J([Y], () => Qi);
|
|
4309
|
+
J([Y], () => Ji);
|
|
4310
|
+
J([Y], () => Yi);
|
|
4311
|
+
J([Y, oe], () => qi);
|
|
4312
|
+
window.emWidgets = { topic: cn };
|
|
4313
|
+
const eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4314
|
+
function Lt(e, t) {
|
|
4315
|
+
fr(e, t);
|
|
4316
|
+
}
|
|
4317
|
+
function to(e) {
|
|
4318
|
+
Y.set(e);
|
|
4319
|
+
}
|
|
4320
|
+
const It = {
|
|
4278
4321
|
en: {
|
|
4279
4322
|
cancel: "Cancel",
|
|
4280
4323
|
confirm: "Confirm"
|
|
@@ -4320,13 +4363,13 @@ const Ct = {
|
|
|
4320
4363
|
confirm: "Confirm"
|
|
4321
4364
|
}
|
|
4322
4365
|
};
|
|
4323
|
-
function
|
|
4366
|
+
function ro(e, t) {
|
|
4324
4367
|
if (e) {
|
|
4325
4368
|
const r = document.createElement("style");
|
|
4326
4369
|
r.innerHTML = t, e.appendChild(r);
|
|
4327
4370
|
}
|
|
4328
4371
|
}
|
|
4329
|
-
function
|
|
4372
|
+
function no(e, t) {
|
|
4330
4373
|
const r = new URL(t);
|
|
4331
4374
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4332
4375
|
const i = document.createElement("style");
|
|
@@ -4335,7 +4378,7 @@ function qi(e, t) {
|
|
|
4335
4378
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4336
4379
|
});
|
|
4337
4380
|
}
|
|
4338
|
-
function
|
|
4381
|
+
function io(e, t, r) {
|
|
4339
4382
|
if (window.emMessageBus) {
|
|
4340
4383
|
const n = document.createElement("style");
|
|
4341
4384
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4343,68 +4386,68 @@ function Ki(e, t, r) {
|
|
|
4343
4386
|
});
|
|
4344
4387
|
}
|
|
4345
4388
|
}
|
|
4346
|
-
function
|
|
4347
|
-
|
|
4389
|
+
function oo(e) {
|
|
4390
|
+
Or(e, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
|
|
4348
4391
|
}
|
|
4349
|
-
const
|
|
4350
|
-
function
|
|
4392
|
+
const so = (e) => ({}), Mt = (e) => ({});
|
|
4393
|
+
function ao(e) {
|
|
4351
4394
|
let t, r;
|
|
4352
4395
|
return {
|
|
4353
4396
|
c() {
|
|
4354
|
-
t =
|
|
4397
|
+
t = lt("svg"), r = lt("path"), S(r, "stroke-linecap", "round"), S(r, "stroke-linejoin", "round"), S(r, "stroke-width", "2"), S(r, "d", "M6 18L18 6M6 6l12 12"), S(t, "class", "w-6 h-6"), S(t, "fill", "none"), S(t, "stroke", "currentColor"), S(t, "viewBox", "0 0 24 24"), S(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4355
4398
|
},
|
|
4356
4399
|
m(n, i) {
|
|
4357
|
-
|
|
4400
|
+
tt(n, t, i), B(t, r);
|
|
4358
4401
|
},
|
|
4359
|
-
p:
|
|
4402
|
+
p: M,
|
|
4360
4403
|
d(n) {
|
|
4361
|
-
n &&
|
|
4404
|
+
n && ge(t);
|
|
4362
4405
|
}
|
|
4363
4406
|
};
|
|
4364
4407
|
}
|
|
4365
|
-
function
|
|
4408
|
+
function uo(e) {
|
|
4366
4409
|
let t, r, n, i, o, s, a, h, u, l = (
|
|
4367
4410
|
/*$_*/
|
|
4368
4411
|
e[2]("cancel") + ""
|
|
4369
4412
|
), c, f, p, m = (
|
|
4370
4413
|
/*$_*/
|
|
4371
4414
|
e[2]("confirm") + ""
|
|
4372
|
-
),
|
|
4415
|
+
), y, E, A, P;
|
|
4373
4416
|
const T = (
|
|
4374
4417
|
/*#slots*/
|
|
4375
4418
|
e[14].close
|
|
4376
|
-
),
|
|
4419
|
+
), O = Br(
|
|
4377
4420
|
T,
|
|
4378
4421
|
e,
|
|
4379
4422
|
/*$$scope*/
|
|
4380
4423
|
e[13],
|
|
4381
|
-
|
|
4382
|
-
), w =
|
|
4424
|
+
Mt
|
|
4425
|
+
), w = O || ao();
|
|
4383
4426
|
return {
|
|
4384
4427
|
c() {
|
|
4385
|
-
t =
|
|
4428
|
+
t = N("div"), r = N("div"), n = N("span"), w && w.c(), i = Te(), o = N("div"), s = ue(
|
|
4386
4429
|
/*modaltext*/
|
|
4387
4430
|
e[0]
|
|
4388
|
-
), a =
|
|
4431
|
+
), a = Te(), h = N("div"), u = N("button"), c = ue(l), f = Te(), p = N("button"), y = ue(m), S(n, "class", "ModalCloseBtn"), S(n, "role", "button"), S(o, "class", "GamingLimitsConfirmationContent"), S(u, "class", "GamingLimitsCancelButton"), S(p, "class", "GamingLimitsConfirmButton"), S(h, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
|
|
4389
4432
|
(e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), S(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
|
|
4390
4433
|
(e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), S(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
|
|
4391
4434
|
(e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
|
|
4392
4435
|
},
|
|
4393
|
-
m(
|
|
4394
|
-
|
|
4395
|
-
|
|
4436
|
+
m(x, C) {
|
|
4437
|
+
tt(x, t, C), B(t, r), B(r, n), w && w.m(n, null), B(r, i), B(r, o), B(o, s), B(r, a), B(r, h), B(h, u), B(u, c), B(h, f), B(h, p), B(p, y), e[15](t), E = !0, A || (P = [
|
|
4438
|
+
He(
|
|
4396
4439
|
n,
|
|
4397
4440
|
"click",
|
|
4398
4441
|
/*close*/
|
|
4399
4442
|
e[4]
|
|
4400
4443
|
),
|
|
4401
|
-
|
|
4444
|
+
He(
|
|
4402
4445
|
u,
|
|
4403
4446
|
"click",
|
|
4404
4447
|
/*cancelChanges*/
|
|
4405
4448
|
e[6]
|
|
4406
4449
|
),
|
|
4407
|
-
|
|
4450
|
+
He(
|
|
4408
4451
|
p,
|
|
4409
4452
|
"click",
|
|
4410
4453
|
/*confirmChanges*/
|
|
@@ -4412,67 +4455,67 @@ function no(e) {
|
|
|
4412
4455
|
)
|
|
4413
4456
|
], A = !0);
|
|
4414
4457
|
},
|
|
4415
|
-
p(
|
|
4416
|
-
|
|
4417
|
-
8192) &&
|
|
4418
|
-
|
|
4458
|
+
p(x, [C]) {
|
|
4459
|
+
O && O.p && (!E || C & /*$$scope*/
|
|
4460
|
+
8192) && Ar(
|
|
4461
|
+
O,
|
|
4419
4462
|
T,
|
|
4420
|
-
|
|
4463
|
+
x,
|
|
4421
4464
|
/*$$scope*/
|
|
4422
|
-
|
|
4423
|
-
E ?
|
|
4465
|
+
x[13],
|
|
4466
|
+
E ? Cr(
|
|
4424
4467
|
T,
|
|
4425
4468
|
/*$$scope*/
|
|
4426
|
-
|
|
4469
|
+
x[13],
|
|
4427
4470
|
C,
|
|
4428
|
-
|
|
4429
|
-
) :
|
|
4471
|
+
so
|
|
4472
|
+
) : Pr(
|
|
4430
4473
|
/*$$scope*/
|
|
4431
|
-
|
|
4474
|
+
x[13]
|
|
4432
4475
|
),
|
|
4433
|
-
|
|
4476
|
+
Mt
|
|
4434
4477
|
), (!E || C & /*modaltext*/
|
|
4435
|
-
1) &&
|
|
4478
|
+
1) && Be(
|
|
4436
4479
|
s,
|
|
4437
4480
|
/*modaltext*/
|
|
4438
|
-
|
|
4481
|
+
x[0]
|
|
4439
4482
|
), (!E || C & /*$_*/
|
|
4440
4483
|
4) && l !== (l = /*$_*/
|
|
4441
|
-
|
|
4484
|
+
x[2]("cancel") + "") && Be(c, l), (!E || C & /*$_*/
|
|
4442
4485
|
4) && m !== (m = /*$_*/
|
|
4443
|
-
|
|
4486
|
+
x[2]("confirm") + "") && Be(y, m);
|
|
4444
4487
|
},
|
|
4445
|
-
i(
|
|
4446
|
-
E || (
|
|
4488
|
+
i(x) {
|
|
4489
|
+
E || (Ut(w, x), E = !0);
|
|
4447
4490
|
},
|
|
4448
|
-
o(
|
|
4449
|
-
|
|
4491
|
+
o(x) {
|
|
4492
|
+
kr(w, x), E = !1;
|
|
4450
4493
|
},
|
|
4451
|
-
d(
|
|
4452
|
-
|
|
4494
|
+
d(x) {
|
|
4495
|
+
x && ge(t), w && w.d(x), e[15](null), A = !1, Q(P);
|
|
4453
4496
|
}
|
|
4454
4497
|
};
|
|
4455
4498
|
}
|
|
4456
|
-
function
|
|
4499
|
+
function ho(e, t, r) {
|
|
4457
4500
|
let n;
|
|
4458
|
-
|
|
4501
|
+
Hr(e, Ki, (b) => r(2, n = b));
|
|
4459
4502
|
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modalsource: a = "" } = t, { lang: h = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t;
|
|
4460
4503
|
const p = () => {
|
|
4461
4504
|
fetch(f).then((D) => D.json()).then((D) => {
|
|
4462
|
-
Object.keys(D).forEach((
|
|
4463
|
-
|
|
4505
|
+
Object.keys(D).forEach((it) => {
|
|
4506
|
+
Lt(it, D[it]);
|
|
4464
4507
|
});
|
|
4465
4508
|
}).catch((D) => {
|
|
4466
4509
|
console.log(D);
|
|
4467
4510
|
});
|
|
4468
4511
|
};
|
|
4469
|
-
Object.keys(
|
|
4470
|
-
|
|
4512
|
+
Object.keys(It).forEach((b) => {
|
|
4513
|
+
Lt(b, It[b]);
|
|
4471
4514
|
});
|
|
4472
|
-
let m,
|
|
4515
|
+
let m, y = window.navigator.userAgent, E = eo(y) !== "PC", A = {}, P = "";
|
|
4473
4516
|
const T = () => {
|
|
4474
4517
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4475
|
-
},
|
|
4518
|
+
}, O = () => {
|
|
4476
4519
|
a === "groupEdit" ? window.postMessage({ type: "GamingLimitsConfirmChanges" }, window.location.href) : a === "infoCard" && window.postMessage(
|
|
4477
4520
|
{
|
|
4478
4521
|
type: "PlayerAccountGamingLimitDelete",
|
|
@@ -4483,21 +4526,21 @@ function io(e, t, r) {
|
|
|
4483
4526
|
), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4484
4527
|
}, w = () => {
|
|
4485
4528
|
a === "groupEdit" ? window.postMessage({ type: "CancelGamingLimitsChanges" }, window.location.href) : a === "infoCard" && window.postMessage({ type: "CancelGamingLimitsRemove" }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4486
|
-
},
|
|
4529
|
+
}, x = (b) => b === "Time Limit" ? "cumulativeSessionLimits" : b === "Deposit Limit" ? "depositLimits" : b === "Wagering Limit" ? "wageringLimit" : "lossLimit", C = (b) => {
|
|
4487
4530
|
if (b.data)
|
|
4488
4531
|
switch (b.data.type) {
|
|
4489
4532
|
case "DeleteLimitsItem":
|
|
4490
|
-
A = b.data.removeData, P =
|
|
4533
|
+
A = b.data.removeData, P = x(b.data.removeName);
|
|
4491
4534
|
break;
|
|
4492
4535
|
}
|
|
4493
|
-
},
|
|
4494
|
-
|
|
4536
|
+
}, gr = () => {
|
|
4537
|
+
to(h);
|
|
4495
4538
|
};
|
|
4496
|
-
|
|
4539
|
+
Rr(() => (window.addEventListener("message", C, !1), () => {
|
|
4497
4540
|
window.removeEventListener("message", C);
|
|
4498
4541
|
}));
|
|
4499
|
-
function
|
|
4500
|
-
|
|
4542
|
+
function yr(b) {
|
|
4543
|
+
$e[b ? "unshift" : "push"](() => {
|
|
4501
4544
|
m = b, r(1, m);
|
|
4502
4545
|
});
|
|
4503
4546
|
}
|
|
@@ -4505,10 +4548,10 @@ function io(e, t, r) {
|
|
|
4505
4548
|
"modaltext" in b && r(0, s = b.modaltext), "modalsource" in b && r(7, a = b.modalsource), "lang" in b && r(8, h = b.lang), "clientstyling" in b && r(9, u = b.clientstyling), "clientstylingurl" in b && r(10, l = b.clientstylingurl), "mbsource" in b && r(11, c = b.mbsource), "translationurl" in b && r(12, f = b.translationurl), "$$scope" in b && r(13, o = b.$$scope);
|
|
4506
4549
|
}, e.$$.update = () => {
|
|
4507
4550
|
e.$$.dirty & /*modaltext, modalsource, lang*/
|
|
4508
|
-
385 && s && a && h &&
|
|
4509
|
-
514 && u && m &&
|
|
4510
|
-
1026 && l && m &&
|
|
4511
|
-
2050 && c && m &&
|
|
4551
|
+
385 && s && a && h && gr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4552
|
+
514 && u && m && ro(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4553
|
+
1026 && l && m && no(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4554
|
+
2050 && c && m && io(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
|
|
4512
4555
|
4096 && f && p();
|
|
4513
4556
|
}, [
|
|
4514
4557
|
s,
|
|
@@ -4516,7 +4559,7 @@ function io(e, t, r) {
|
|
|
4516
4559
|
n,
|
|
4517
4560
|
E,
|
|
4518
4561
|
T,
|
|
4519
|
-
|
|
4562
|
+
O,
|
|
4520
4563
|
w,
|
|
4521
4564
|
a,
|
|
4522
4565
|
h,
|
|
@@ -4526,17 +4569,17 @@ function io(e, t, r) {
|
|
|
4526
4569
|
f,
|
|
4527
4570
|
o,
|
|
4528
4571
|
i,
|
|
4529
|
-
|
|
4572
|
+
yr
|
|
4530
4573
|
];
|
|
4531
4574
|
}
|
|
4532
|
-
class
|
|
4575
|
+
class lo extends Qr {
|
|
4533
4576
|
constructor(t) {
|
|
4534
|
-
super(),
|
|
4577
|
+
super(), zr(
|
|
4535
4578
|
this,
|
|
4536
4579
|
t,
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4580
|
+
ho,
|
|
4581
|
+
uo,
|
|
4582
|
+
$t,
|
|
4540
4583
|
{
|
|
4541
4584
|
modaltext: 0,
|
|
4542
4585
|
modalsource: 7,
|
|
@@ -4546,53 +4589,53 @@ class oo extends Vr {
|
|
|
4546
4589
|
mbsource: 11,
|
|
4547
4590
|
translationurl: 12
|
|
4548
4591
|
},
|
|
4549
|
-
|
|
4592
|
+
oo
|
|
4550
4593
|
);
|
|
4551
4594
|
}
|
|
4552
4595
|
get modaltext() {
|
|
4553
4596
|
return this.$$.ctx[0];
|
|
4554
4597
|
}
|
|
4555
4598
|
set modaltext(t) {
|
|
4556
|
-
this.$$set({ modaltext: t }),
|
|
4599
|
+
this.$$set({ modaltext: t }), $();
|
|
4557
4600
|
}
|
|
4558
4601
|
get modalsource() {
|
|
4559
4602
|
return this.$$.ctx[7];
|
|
4560
4603
|
}
|
|
4561
4604
|
set modalsource(t) {
|
|
4562
|
-
this.$$set({ modalsource: t }),
|
|
4605
|
+
this.$$set({ modalsource: t }), $();
|
|
4563
4606
|
}
|
|
4564
4607
|
get lang() {
|
|
4565
4608
|
return this.$$.ctx[8];
|
|
4566
4609
|
}
|
|
4567
4610
|
set lang(t) {
|
|
4568
|
-
this.$$set({ lang: t }),
|
|
4611
|
+
this.$$set({ lang: t }), $();
|
|
4569
4612
|
}
|
|
4570
4613
|
get clientstyling() {
|
|
4571
4614
|
return this.$$.ctx[9];
|
|
4572
4615
|
}
|
|
4573
4616
|
set clientstyling(t) {
|
|
4574
|
-
this.$$set({ clientstyling: t }),
|
|
4617
|
+
this.$$set({ clientstyling: t }), $();
|
|
4575
4618
|
}
|
|
4576
4619
|
get clientstylingurl() {
|
|
4577
4620
|
return this.$$.ctx[10];
|
|
4578
4621
|
}
|
|
4579
4622
|
set clientstylingurl(t) {
|
|
4580
|
-
this.$$set({ clientstylingurl: t }),
|
|
4623
|
+
this.$$set({ clientstylingurl: t }), $();
|
|
4581
4624
|
}
|
|
4582
4625
|
get mbsource() {
|
|
4583
4626
|
return this.$$.ctx[11];
|
|
4584
4627
|
}
|
|
4585
4628
|
set mbsource(t) {
|
|
4586
|
-
this.$$set({ mbsource: t }),
|
|
4629
|
+
this.$$set({ mbsource: t }), $();
|
|
4587
4630
|
}
|
|
4588
4631
|
get translationurl() {
|
|
4589
4632
|
return this.$$.ctx[12];
|
|
4590
4633
|
}
|
|
4591
4634
|
set translationurl(t) {
|
|
4592
|
-
this.$$set({ translationurl: t }),
|
|
4635
|
+
this.$$set({ translationurl: t }), $();
|
|
4593
4636
|
}
|
|
4594
4637
|
}
|
|
4595
|
-
|
|
4638
|
+
Zr(lo, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
|
|
4596
4639
|
export {
|
|
4597
|
-
|
|
4640
|
+
lo as default
|
|
4598
4641
|
};
|