react-shepherd 6.1.7 → 6.1.8
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/dist/index.js +485 -480
- package/dist/index.umd.cjs +10 -10
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import $n, { createContext as Mr, useContext as Fr } from "react";
|
|
2
|
-
var
|
|
2
|
+
var ot = { exports: {} }, qe = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.min.js
|
|
@@ -9,10 +9,10 @@ var Pt = { exports: {} }, ze = {};
|
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
12
|
+
var dn;
|
|
13
13
|
function Lr() {
|
|
14
|
-
if (
|
|
15
|
-
|
|
14
|
+
if (dn) return qe;
|
|
15
|
+
dn = 1;
|
|
16
16
|
var e = $n, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
17
|
function s(c, a, u) {
|
|
18
18
|
var d, h = {}, f = null, g = null;
|
|
@@ -21,9 +21,9 @@ function Lr() {
|
|
|
21
21
|
if (c && c.defaultProps) for (d in a = c.defaultProps, a) h[d] === void 0 && (h[d] = a[d]);
|
|
22
22
|
return { $$typeof: t, type: c, key: f, ref: g, props: h, _owner: i.current };
|
|
23
23
|
}
|
|
24
|
-
return
|
|
24
|
+
return qe.Fragment = n, qe.jsx = s, qe.jsxs = s, qe;
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var ze = {};
|
|
27
27
|
/**
|
|
28
28
|
* @license React
|
|
29
29
|
* react-jsx-runtime.development.js
|
|
@@ -33,9 +33,9 @@ var Je = {};
|
|
|
33
33
|
* This source code is licensed under the MIT license found in the
|
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
|
35
35
|
*/
|
|
36
|
-
var
|
|
36
|
+
var hn;
|
|
37
37
|
function Dr() {
|
|
38
|
-
return
|
|
38
|
+
return hn || (hn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
39
|
var e = $n, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), b = Symbol.iterator, E = "@@iterator";
|
|
40
40
|
function S(l) {
|
|
41
41
|
if (l === null || typeof l != "object")
|
|
@@ -43,8 +43,8 @@ function Dr() {
|
|
|
43
43
|
var p = b && l[b] || l[E];
|
|
44
44
|
return typeof p == "function" ? p : null;
|
|
45
45
|
}
|
|
46
|
-
var
|
|
47
|
-
function
|
|
46
|
+
var w = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
|
+
function _(l) {
|
|
48
48
|
{
|
|
49
49
|
for (var p = arguments.length, v = new Array(p > 1 ? p - 1 : 0), x = 1; x < p; x++)
|
|
50
50
|
v[x - 1] = arguments[x];
|
|
@@ -53,7 +53,7 @@ function Dr() {
|
|
|
53
53
|
}
|
|
54
54
|
function O(l, p, v) {
|
|
55
55
|
{
|
|
56
|
-
var x =
|
|
56
|
+
var x = w.ReactDebugCurrentFrame, P = x.getStackAddendum();
|
|
57
57
|
P !== "" && (p += "%s", v = v.concat([P]));
|
|
58
58
|
var I = v.map(function(C) {
|
|
59
59
|
return String(C);
|
|
@@ -83,7 +83,7 @@ function Dr() {
|
|
|
83
83
|
function F(l) {
|
|
84
84
|
if (l == null)
|
|
85
85
|
return null;
|
|
86
|
-
if (typeof l.tag == "number" &&
|
|
86
|
+
if (typeof l.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof l == "function")
|
|
87
87
|
return l.displayName || l.name || null;
|
|
88
88
|
if (typeof l == "string")
|
|
89
89
|
return l;
|
|
@@ -125,18 +125,18 @@ function Dr() {
|
|
|
125
125
|
}
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
128
|
-
var L = Object.assign, V = 0, N, ne, fe, Q, Y, re,
|
|
129
|
-
function
|
|
128
|
+
var L = Object.assign, V = 0, N, ne, fe, Q, Y, re, et;
|
|
129
|
+
function Kt() {
|
|
130
130
|
}
|
|
131
|
-
|
|
131
|
+
Kt.__reactDisabledLog = !0;
|
|
132
132
|
function sr() {
|
|
133
133
|
{
|
|
134
134
|
if (V === 0) {
|
|
135
|
-
N = console.log, ne = console.info, fe = console.warn, Q = console.error, Y = console.group, re = console.groupCollapsed,
|
|
135
|
+
N = console.log, ne = console.info, fe = console.warn, Q = console.error, Y = console.group, re = console.groupCollapsed, et = console.groupEnd;
|
|
136
136
|
var l = {
|
|
137
137
|
configurable: !0,
|
|
138
138
|
enumerable: !0,
|
|
139
|
-
value:
|
|
139
|
+
value: Kt,
|
|
140
140
|
writable: !0
|
|
141
141
|
};
|
|
142
142
|
Object.defineProperties(console, {
|
|
@@ -180,15 +180,15 @@ function Dr() {
|
|
|
180
180
|
value: re
|
|
181
181
|
}),
|
|
182
182
|
groupEnd: L({}, l, {
|
|
183
|
-
value:
|
|
183
|
+
value: et
|
|
184
184
|
})
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
|
-
V < 0 &&
|
|
187
|
+
V < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
var bt =
|
|
191
|
-
function
|
|
190
|
+
var bt = w.ReactCurrentDispatcher, yt;
|
|
191
|
+
function tt(l, p, v) {
|
|
192
192
|
{
|
|
193
193
|
if (yt === void 0)
|
|
194
194
|
try {
|
|
@@ -201,16 +201,16 @@ function Dr() {
|
|
|
201
201
|
` + yt + l;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
var wt = !1,
|
|
204
|
+
var wt = !1, nt;
|
|
205
205
|
{
|
|
206
206
|
var cr = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
-
|
|
207
|
+
nt = new cr();
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function Xt(l, p) {
|
|
210
210
|
if (!l || wt)
|
|
211
211
|
return "";
|
|
212
212
|
{
|
|
213
|
-
var v =
|
|
213
|
+
var v = nt.get(l);
|
|
214
214
|
if (v !== void 0)
|
|
215
215
|
return v;
|
|
216
216
|
}
|
|
@@ -265,7 +265,7 @@ function Dr() {
|
|
|
265
265
|
if (j--, B--, B < 0 || T[j] !== q[B]) {
|
|
266
266
|
var ee = `
|
|
267
267
|
` + T[j].replace(" at new ", " at ");
|
|
268
|
-
return l.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", l.displayName)), typeof l == "function" &&
|
|
268
|
+
return l.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", l.displayName)), typeof l == "function" && nt.set(l, ee), ee;
|
|
269
269
|
}
|
|
270
270
|
while (j >= 1 && B >= 0);
|
|
271
271
|
break;
|
|
@@ -274,52 +274,52 @@ function Dr() {
|
|
|
274
274
|
} finally {
|
|
275
275
|
wt = !1, bt.current = I, lr(), Error.prepareStackTrace = P;
|
|
276
276
|
}
|
|
277
|
-
var Ie = l ? l.displayName || l.name : "", Ee = Ie ?
|
|
278
|
-
return typeof l == "function" &&
|
|
277
|
+
var Ie = l ? l.displayName || l.name : "", Ee = Ie ? tt(Ie) : "";
|
|
278
|
+
return typeof l == "function" && nt.set(l, Ee), Ee;
|
|
279
279
|
}
|
|
280
280
|
function ar(l, p, v) {
|
|
281
|
-
return
|
|
281
|
+
return Xt(l, !1);
|
|
282
282
|
}
|
|
283
283
|
function ur(l) {
|
|
284
284
|
var p = l.prototype;
|
|
285
285
|
return !!(p && p.isReactComponent);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function rt(l, p, v) {
|
|
288
288
|
if (l == null)
|
|
289
289
|
return "";
|
|
290
290
|
if (typeof l == "function")
|
|
291
|
-
return
|
|
291
|
+
return Xt(l, ur(l));
|
|
292
292
|
if (typeof l == "string")
|
|
293
|
-
return
|
|
293
|
+
return tt(l);
|
|
294
294
|
switch (l) {
|
|
295
295
|
case u:
|
|
296
|
-
return
|
|
296
|
+
return tt("Suspense");
|
|
297
297
|
case d:
|
|
298
|
-
return
|
|
298
|
+
return tt("SuspenseList");
|
|
299
299
|
}
|
|
300
300
|
if (typeof l == "object")
|
|
301
301
|
switch (l.$$typeof) {
|
|
302
302
|
case a:
|
|
303
303
|
return ar(l.render);
|
|
304
304
|
case h:
|
|
305
|
-
return
|
|
305
|
+
return rt(l.type, p, v);
|
|
306
306
|
case f: {
|
|
307
307
|
var x = l, P = x._payload, I = x._init;
|
|
308
308
|
try {
|
|
309
|
-
return
|
|
309
|
+
return rt(I(P), p, v);
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
return "";
|
|
315
315
|
}
|
|
316
|
-
var Ue = Object.prototype.hasOwnProperty,
|
|
317
|
-
function
|
|
316
|
+
var Ue = Object.prototype.hasOwnProperty, Gt = {}, Zt = w.ReactDebugCurrentFrame;
|
|
317
|
+
function it(l) {
|
|
318
318
|
if (l) {
|
|
319
|
-
var p = l._owner, v =
|
|
320
|
-
|
|
319
|
+
var p = l._owner, v = rt(l.type, l._source, p ? p.type : null);
|
|
320
|
+
Zt.setExtraStackFrame(v);
|
|
321
321
|
} else
|
|
322
|
-
|
|
322
|
+
Zt.setExtraStackFrame(null);
|
|
323
323
|
}
|
|
324
324
|
function fr(l, p, v, x, P) {
|
|
325
325
|
{
|
|
@@ -336,7 +336,7 @@ function Dr() {
|
|
|
336
336
|
} catch (j) {
|
|
337
337
|
T = j;
|
|
338
338
|
}
|
|
339
|
-
T && !(T instanceof Error) && (
|
|
339
|
+
T && !(T instanceof Error) && (it(P), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", x || "React class", v, C, typeof T), it(null)), T instanceof Error && !(T.message in Gt) && (Gt[T.message] = !0, it(P), _("Failed %s type: %s", v, T.message), it(null));
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
@@ -352,25 +352,24 @@ function Dr() {
|
|
|
352
352
|
}
|
|
353
353
|
function pr(l) {
|
|
354
354
|
try {
|
|
355
|
-
return
|
|
355
|
+
return Qt(l), !1;
|
|
356
356
|
} catch {
|
|
357
357
|
return !0;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function Qt(l) {
|
|
361
361
|
return "" + l;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
363
|
+
function en(l) {
|
|
364
364
|
if (pr(l))
|
|
365
|
-
return
|
|
365
|
+
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", hr(l)), Qt(l);
|
|
366
366
|
}
|
|
367
|
-
var
|
|
367
|
+
var tn = w.ReactCurrentOwner, gr = {
|
|
368
368
|
key: !0,
|
|
369
369
|
ref: !0,
|
|
370
370
|
__self: !0,
|
|
371
371
|
__source: !0
|
|
372
|
-
},
|
|
373
|
-
Et = {};
|
|
372
|
+
}, nn, rn;
|
|
374
373
|
function mr(l) {
|
|
375
374
|
if (Ue.call(l, "ref")) {
|
|
376
375
|
var p = Object.getOwnPropertyDescriptor(l, "ref").get;
|
|
@@ -388,15 +387,12 @@ function Dr() {
|
|
|
388
387
|
return l.key !== void 0;
|
|
389
388
|
}
|
|
390
389
|
function br(l, p) {
|
|
391
|
-
|
|
392
|
-
var v = F(qe.current.type);
|
|
393
|
-
Et[v] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', F(qe.current.type), l.ref), Et[v] = !0);
|
|
394
|
-
}
|
|
390
|
+
typeof l.ref == "string" && tn.current;
|
|
395
391
|
}
|
|
396
392
|
function yr(l, p) {
|
|
397
393
|
{
|
|
398
394
|
var v = function() {
|
|
399
|
-
|
|
395
|
+
nn || (nn = !0, _("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", p));
|
|
400
396
|
};
|
|
401
397
|
v.isReactWarning = !0, Object.defineProperty(l, "key", {
|
|
402
398
|
get: v,
|
|
@@ -407,7 +403,7 @@ function Dr() {
|
|
|
407
403
|
function wr(l, p) {
|
|
408
404
|
{
|
|
409
405
|
var v = function() {
|
|
410
|
-
|
|
406
|
+
rn || (rn = !0, _("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", p));
|
|
411
407
|
};
|
|
412
408
|
v.isReactWarning = !0, Object.defineProperty(l, "ref", {
|
|
413
409
|
get: v,
|
|
@@ -447,7 +443,7 @@ function Dr() {
|
|
|
447
443
|
function Er(l, p, v, x, P) {
|
|
448
444
|
{
|
|
449
445
|
var I, C = {}, T = null, q = null;
|
|
450
|
-
v !== void 0 && (
|
|
446
|
+
v !== void 0 && (en(v), T = "" + v), vr(p) && (en(p.key), T = "" + p.key), mr(p) && (q = p.ref, br(p, P));
|
|
451
447
|
for (I in p)
|
|
452
448
|
Ue.call(p, I) && !gr.hasOwnProperty(I) && (C[I] = p[I]);
|
|
453
449
|
if (l && l.defaultProps) {
|
|
@@ -459,26 +455,26 @@ function Dr() {
|
|
|
459
455
|
var B = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
|
|
460
456
|
T && yr(C, B), q && wr(C, B);
|
|
461
457
|
}
|
|
462
|
-
return _r(l, T, q, P, x,
|
|
458
|
+
return _r(l, T, q, P, x, tn.current, C);
|
|
463
459
|
}
|
|
464
460
|
}
|
|
465
|
-
var
|
|
461
|
+
var Et = w.ReactCurrentOwner, on = w.ReactDebugCurrentFrame;
|
|
466
462
|
function ke(l) {
|
|
467
463
|
if (l) {
|
|
468
|
-
var p = l._owner, v =
|
|
469
|
-
|
|
464
|
+
var p = l._owner, v = rt(l.type, l._source, p ? p.type : null);
|
|
465
|
+
on.setExtraStackFrame(v);
|
|
470
466
|
} else
|
|
471
|
-
|
|
467
|
+
on.setExtraStackFrame(null);
|
|
472
468
|
}
|
|
473
|
-
var
|
|
474
|
-
|
|
475
|
-
function
|
|
469
|
+
var xt;
|
|
470
|
+
xt = !1;
|
|
471
|
+
function St(l) {
|
|
476
472
|
return typeof l == "object" && l !== null && l.$$typeof === t;
|
|
477
473
|
}
|
|
478
|
-
function
|
|
474
|
+
function sn() {
|
|
479
475
|
{
|
|
480
|
-
if (
|
|
481
|
-
var l = F(
|
|
476
|
+
if (Et.current) {
|
|
477
|
+
var l = F(Et.current.type);
|
|
482
478
|
if (l)
|
|
483
479
|
return `
|
|
484
480
|
|
|
@@ -490,10 +486,10 @@ Check the render method of \`` + l + "`.";
|
|
|
490
486
|
function xr(l) {
|
|
491
487
|
return "";
|
|
492
488
|
}
|
|
493
|
-
var
|
|
489
|
+
var ln = {};
|
|
494
490
|
function Sr(l) {
|
|
495
491
|
{
|
|
496
|
-
var p =
|
|
492
|
+
var p = sn();
|
|
497
493
|
if (!p) {
|
|
498
494
|
var v = typeof l == "string" ? l : l.displayName || l.name;
|
|
499
495
|
v && (p = `
|
|
@@ -503,35 +499,35 @@ Check the top-level render call using <` + v + ">.");
|
|
|
503
499
|
return p;
|
|
504
500
|
}
|
|
505
501
|
}
|
|
506
|
-
function
|
|
502
|
+
function cn(l, p) {
|
|
507
503
|
{
|
|
508
504
|
if (!l._store || l._store.validated || l.key != null)
|
|
509
505
|
return;
|
|
510
506
|
l._store.validated = !0;
|
|
511
507
|
var v = Sr(p);
|
|
512
|
-
if (
|
|
508
|
+
if (ln[v])
|
|
513
509
|
return;
|
|
514
|
-
|
|
510
|
+
ln[v] = !0;
|
|
515
511
|
var x = "";
|
|
516
|
-
l && l._owner && l._owner !==
|
|
512
|
+
l && l._owner && l._owner !== Et.current && (x = " It was passed a child from " + F(l._owner.type) + "."), ke(l), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', v, x), ke(null);
|
|
517
513
|
}
|
|
518
514
|
}
|
|
519
|
-
function
|
|
515
|
+
function an(l, p) {
|
|
520
516
|
{
|
|
521
517
|
if (typeof l != "object")
|
|
522
518
|
return;
|
|
523
519
|
if (_t(l))
|
|
524
520
|
for (var v = 0; v < l.length; v++) {
|
|
525
521
|
var x = l[v];
|
|
526
|
-
|
|
522
|
+
St(x) && cn(x, p);
|
|
527
523
|
}
|
|
528
|
-
else if (
|
|
524
|
+
else if (St(l))
|
|
529
525
|
l._store && (l._store.validated = !0);
|
|
530
526
|
else if (l) {
|
|
531
527
|
var P = S(l);
|
|
532
528
|
if (typeof P == "function" && P !== l.entries)
|
|
533
529
|
for (var I = P.call(l), C; !(C = I.next()).done; )
|
|
534
|
-
|
|
530
|
+
St(C.value) && cn(C.value, p);
|
|
535
531
|
}
|
|
536
532
|
}
|
|
537
533
|
}
|
|
@@ -552,12 +548,12 @@ Check the top-level render call using <` + v + ">.");
|
|
|
552
548
|
if (v) {
|
|
553
549
|
var x = F(p);
|
|
554
550
|
fr(v, l.props, "prop", x, l);
|
|
555
|
-
} else if (p.PropTypes !== void 0 && !
|
|
556
|
-
|
|
551
|
+
} else if (p.PropTypes !== void 0 && !xt) {
|
|
552
|
+
xt = !0;
|
|
557
553
|
var P = F(p);
|
|
558
|
-
|
|
554
|
+
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown");
|
|
559
555
|
}
|
|
560
|
-
typeof p.getDefaultProps == "function" && !p.getDefaultProps.isReactClassApproved &&
|
|
556
|
+
typeof p.getDefaultProps == "function" && !p.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
557
|
}
|
|
562
558
|
}
|
|
563
559
|
function Rr(l) {
|
|
@@ -565,24 +561,24 @@ Check the top-level render call using <` + v + ">.");
|
|
|
565
561
|
for (var p = Object.keys(l.props), v = 0; v < p.length; v++) {
|
|
566
562
|
var x = p[v];
|
|
567
563
|
if (x !== "children" && x !== "key") {
|
|
568
|
-
ke(l),
|
|
564
|
+
ke(l), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", x), ke(null);
|
|
569
565
|
break;
|
|
570
566
|
}
|
|
571
567
|
}
|
|
572
|
-
l.ref !== null && (ke(l),
|
|
568
|
+
l.ref !== null && (ke(l), _("Invalid attribute `ref` supplied to `React.Fragment`."), ke(null));
|
|
573
569
|
}
|
|
574
570
|
}
|
|
575
|
-
var
|
|
576
|
-
function
|
|
571
|
+
var un = {};
|
|
572
|
+
function fn(l, p, v, x, P, I) {
|
|
577
573
|
{
|
|
578
574
|
var C = X(l);
|
|
579
575
|
if (!C) {
|
|
580
576
|
var T = "";
|
|
581
577
|
(l === void 0 || typeof l == "object" && l !== null && Object.keys(l).length === 0) && (T += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
578
|
var q = xr();
|
|
583
|
-
q ? T += q : T +=
|
|
579
|
+
q ? T += q : T += sn();
|
|
584
580
|
var j;
|
|
585
|
-
l === null ? j = "null" : _t(l) ? j = "array" : l !== void 0 && l.$$typeof === t ? (j = "<" + (F(l.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : j = typeof l,
|
|
581
|
+
l === null ? j = "null" : _t(l) ? j = "array" : l !== void 0 && l.$$typeof === t ? (j = "<" + (F(l.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : j = typeof l, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, T);
|
|
586
582
|
}
|
|
587
583
|
var B = Er(l, p, v, P, I);
|
|
588
584
|
if (B == null)
|
|
@@ -593,44 +589,47 @@ Check the top-level render call using <` + v + ">.");
|
|
|
593
589
|
if (x)
|
|
594
590
|
if (_t(ee)) {
|
|
595
591
|
for (var Ie = 0; Ie < ee.length; Ie++)
|
|
596
|
-
|
|
592
|
+
an(ee[Ie], l);
|
|
597
593
|
Object.freeze && Object.freeze(ee);
|
|
598
594
|
} else
|
|
599
|
-
|
|
595
|
+
_("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
600
596
|
else
|
|
601
|
-
|
|
597
|
+
an(ee, l);
|
|
602
598
|
}
|
|
603
599
|
if (Ue.call(p, "key")) {
|
|
604
600
|
var Ee = F(l), z = Object.keys(p).filter(function(Ir) {
|
|
605
601
|
return Ir !== "key";
|
|
606
|
-
}),
|
|
607
|
-
if (!
|
|
602
|
+
}), Ot = z.length > 0 ? "{key: someKey, " + z.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
|
+
if (!un[Ee + Ot]) {
|
|
608
604
|
var kr = z.length > 0 ? "{" + z.join(": ..., ") + ": ...}" : "{}";
|
|
609
|
-
|
|
605
|
+
_(`A props object containing a "key" prop is being spread into JSX:
|
|
610
606
|
let props = %s;
|
|
611
607
|
<%s {...props} />
|
|
612
608
|
React keys must be passed directly to JSX without using spread:
|
|
613
609
|
let props = %s;
|
|
614
|
-
<%s key={someKey} {...props} />`,
|
|
610
|
+
<%s key={someKey} {...props} />`, Ot, Ee, kr, Ee), un[Ee + Ot] = !0;
|
|
615
611
|
}
|
|
616
612
|
}
|
|
617
613
|
return l === r ? Rr(B) : Or(B), B;
|
|
618
614
|
}
|
|
619
615
|
}
|
|
620
616
|
function Tr(l, p, v) {
|
|
621
|
-
return
|
|
617
|
+
return fn(l, p, v, !0);
|
|
622
618
|
}
|
|
623
619
|
function Cr(l, p, v) {
|
|
624
|
-
return
|
|
620
|
+
return fn(l, p, v, !1);
|
|
625
621
|
}
|
|
626
622
|
var Ar = Cr, Pr = Tr;
|
|
627
|
-
|
|
628
|
-
}()),
|
|
623
|
+
ze.Fragment = r, ze.jsx = Ar, ze.jsxs = Pr;
|
|
624
|
+
}()), ze;
|
|
629
625
|
}
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
626
|
+
var pn;
|
|
627
|
+
function jr() {
|
|
628
|
+
return pn || (pn = 1, process.env.NODE_ENV === "production" ? ot.exports = Lr() : ot.exports = Dr()), ot.exports;
|
|
629
|
+
}
|
|
630
|
+
var Hr = jr();
|
|
631
|
+
/*! shepherd.js 14.5.0 */
|
|
632
|
+
function $r(e) {
|
|
634
633
|
return e instanceof Element;
|
|
635
634
|
}
|
|
636
635
|
function He(e) {
|
|
@@ -639,13 +638,13 @@ function He(e) {
|
|
|
639
638
|
function ve(e) {
|
|
640
639
|
return typeof e == "function";
|
|
641
640
|
}
|
|
642
|
-
function
|
|
641
|
+
function Ke(e) {
|
|
643
642
|
return typeof e == "string";
|
|
644
643
|
}
|
|
645
644
|
function U(e) {
|
|
646
645
|
return e === void 0;
|
|
647
646
|
}
|
|
648
|
-
class
|
|
647
|
+
class Ft {
|
|
649
648
|
/**
|
|
650
649
|
* Adds an event listener for the given event string.
|
|
651
650
|
*
|
|
@@ -731,7 +730,7 @@ function J() {
|
|
|
731
730
|
return e;
|
|
732
731
|
}, J.apply(null, arguments);
|
|
733
732
|
}
|
|
734
|
-
function
|
|
733
|
+
function Lt(e, t) {
|
|
735
734
|
if (e == null) return {};
|
|
736
735
|
var n = {};
|
|
737
736
|
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
@@ -745,10 +744,10 @@ const ye = {
|
|
|
745
744
|
skip: Symbol("deepmerge-ts: skip")
|
|
746
745
|
};
|
|
747
746
|
ye.defaultMerge;
|
|
748
|
-
function
|
|
747
|
+
function Br(e, t) {
|
|
749
748
|
return t;
|
|
750
749
|
}
|
|
751
|
-
function
|
|
750
|
+
function Vr(e, t) {
|
|
752
751
|
return e.filter((n) => n !== void 0);
|
|
753
752
|
}
|
|
754
753
|
var gn;
|
|
@@ -756,16 +755,16 @@ var gn;
|
|
|
756
755
|
e[e.NOT = 0] = "NOT", e[e.RECORD = 1] = "RECORD", e[e.ARRAY = 2] = "ARRAY", e[e.SET = 3] = "SET", e[e.MAP = 4] = "MAP", e[e.OTHER = 5] = "OTHER";
|
|
757
756
|
})(gn || (gn = {}));
|
|
758
757
|
function mn(e) {
|
|
759
|
-
return typeof e != "object" || e === null ? 0 : Array.isArray(e) ? 2 :
|
|
758
|
+
return typeof e != "object" || e === null ? 0 : Array.isArray(e) ? 2 : Yr(e) ? 1 : e instanceof Set ? 3 : e instanceof Map ? 4 : 5;
|
|
760
759
|
}
|
|
761
|
-
function
|
|
760
|
+
function Nr(e) {
|
|
762
761
|
const t = /* @__PURE__ */ new Set();
|
|
763
762
|
for (const n of e)
|
|
764
763
|
for (const r of [...Object.keys(n), ...Object.getOwnPropertySymbols(n)])
|
|
765
764
|
t.add(r);
|
|
766
765
|
return t;
|
|
767
766
|
}
|
|
768
|
-
function
|
|
767
|
+
function Wr(e, t) {
|
|
769
768
|
return typeof e == "object" && Object.prototype.propertyIsEnumerable.call(e, t);
|
|
770
769
|
}
|
|
771
770
|
function Bn(e) {
|
|
@@ -778,7 +777,7 @@ function Bn(e) {
|
|
|
778
777
|
};
|
|
779
778
|
}
|
|
780
779
|
const vn = /* @__PURE__ */ new Set(["[object Object]", "[object Module]"]);
|
|
781
|
-
function
|
|
780
|
+
function Yr(e) {
|
|
782
781
|
if (!vn.has(Object.prototype.toString.call(e)))
|
|
783
782
|
return !1;
|
|
784
783
|
const {
|
|
@@ -789,12 +788,12 @@ function Wr(e) {
|
|
|
789
788
|
const n = t.prototype;
|
|
790
789
|
return !(n === null || typeof n != "object" || !vn.has(Object.prototype.toString.call(n)) || !n.hasOwnProperty("isPrototypeOf"));
|
|
791
790
|
}
|
|
792
|
-
function
|
|
791
|
+
function Ur(e, t, n) {
|
|
793
792
|
const r = {};
|
|
794
|
-
for (const i of
|
|
793
|
+
for (const i of Nr(e)) {
|
|
795
794
|
const o = [];
|
|
796
795
|
for (const a of e)
|
|
797
|
-
|
|
796
|
+
Wr(a, i) && o.push(a[i]);
|
|
798
797
|
if (o.length === 0)
|
|
799
798
|
continue;
|
|
800
799
|
const s = t.metaDataUpdater(n, {
|
|
@@ -810,44 +809,44 @@ function Yr(e, t, n) {
|
|
|
810
809
|
}
|
|
811
810
|
return r;
|
|
812
811
|
}
|
|
813
|
-
function
|
|
812
|
+
function qr(e) {
|
|
814
813
|
return e.flat();
|
|
815
814
|
}
|
|
816
|
-
function
|
|
815
|
+
function zr(e) {
|
|
817
816
|
return new Set(Bn(e));
|
|
818
817
|
}
|
|
819
|
-
function
|
|
818
|
+
function Jr(e) {
|
|
820
819
|
return new Map(Bn(e));
|
|
821
820
|
}
|
|
822
|
-
function
|
|
821
|
+
function Kr(e) {
|
|
823
822
|
return e.at(-1);
|
|
824
823
|
}
|
|
825
824
|
const st = {
|
|
826
|
-
mergeRecords:
|
|
827
|
-
mergeArrays:
|
|
828
|
-
mergeSets:
|
|
829
|
-
mergeMaps:
|
|
830
|
-
mergeOthers:
|
|
825
|
+
mergeRecords: Ur,
|
|
826
|
+
mergeArrays: qr,
|
|
827
|
+
mergeSets: zr,
|
|
828
|
+
mergeMaps: Jr,
|
|
829
|
+
mergeOthers: Kr
|
|
831
830
|
};
|
|
832
|
-
function
|
|
833
|
-
return
|
|
831
|
+
function Dt(...e) {
|
|
832
|
+
return Xr({})(...e);
|
|
834
833
|
}
|
|
835
|
-
function
|
|
836
|
-
const n =
|
|
834
|
+
function Xr(e, t) {
|
|
835
|
+
const n = Gr(e, r);
|
|
837
836
|
function r(...i) {
|
|
838
837
|
return Vn(i, n, t);
|
|
839
838
|
}
|
|
840
839
|
return r;
|
|
841
840
|
}
|
|
842
|
-
function
|
|
841
|
+
function Gr(e, t) {
|
|
843
842
|
var n, r, i;
|
|
844
843
|
return {
|
|
845
844
|
defaultMergeFunctions: st,
|
|
846
845
|
mergeFunctions: J({}, st, Object.fromEntries(Object.entries(e).filter(([o, s]) => Object.hasOwn(st, o)).map(([o, s]) => s === !1 ? [o, st.mergeOthers] : [o, s]))),
|
|
847
|
-
metaDataUpdater: (n = e.metaDataUpdater) != null ? n :
|
|
846
|
+
metaDataUpdater: (n = e.metaDataUpdater) != null ? n : Br,
|
|
848
847
|
deepmerge: t,
|
|
849
848
|
useImplicitDefaultMerging: (r = e.enableImplicitDefaultMerging) != null ? r : !1,
|
|
850
|
-
filterValues: e.filterValues === !1 ? void 0 : (i = e.filterValues) != null ? i :
|
|
849
|
+
filterValues: e.filterValues === !1 ? void 0 : (i = e.filterValues) != null ? i : Vr,
|
|
851
850
|
actions: ye
|
|
852
851
|
};
|
|
853
852
|
}
|
|
@@ -857,47 +856,47 @@ function Vn(e, t, n) {
|
|
|
857
856
|
if (i.length === 0)
|
|
858
857
|
return;
|
|
859
858
|
if (i.length === 1)
|
|
860
|
-
return
|
|
859
|
+
return Rt(i, t, n);
|
|
861
860
|
const o = mn(i[0]);
|
|
862
861
|
if (o !== 0 && o !== 5) {
|
|
863
862
|
for (let s = 1; s < i.length; s++)
|
|
864
863
|
if (mn(i[s]) !== o)
|
|
865
|
-
return
|
|
864
|
+
return Rt(i, t, n);
|
|
866
865
|
}
|
|
867
866
|
switch (o) {
|
|
868
867
|
case 1:
|
|
869
|
-
return Gr(i, t, n);
|
|
870
|
-
case 2:
|
|
871
868
|
return Zr(i, t, n);
|
|
872
|
-
case
|
|
869
|
+
case 2:
|
|
873
870
|
return Qr(i, t, n);
|
|
874
|
-
case
|
|
871
|
+
case 3:
|
|
875
872
|
return ei(i, t, n);
|
|
873
|
+
case 4:
|
|
874
|
+
return ti(i, t, n);
|
|
876
875
|
default:
|
|
877
|
-
return
|
|
876
|
+
return Rt(i, t, n);
|
|
878
877
|
}
|
|
879
878
|
}
|
|
880
|
-
function
|
|
879
|
+
function Zr(e, t, n) {
|
|
881
880
|
const r = t.mergeFunctions.mergeRecords(e, t, n);
|
|
882
881
|
return r === ye.defaultMerge || t.useImplicitDefaultMerging && r === void 0 && t.mergeFunctions.mergeRecords !== t.defaultMergeFunctions.mergeRecords ? t.defaultMergeFunctions.mergeRecords(e, t, n) : r;
|
|
883
882
|
}
|
|
884
|
-
function
|
|
883
|
+
function Qr(e, t, n) {
|
|
885
884
|
const r = t.mergeFunctions.mergeArrays(e, t, n);
|
|
886
885
|
return r === ye.defaultMerge || t.useImplicitDefaultMerging && r === void 0 && t.mergeFunctions.mergeArrays !== t.defaultMergeFunctions.mergeArrays ? t.defaultMergeFunctions.mergeArrays(e) : r;
|
|
887
886
|
}
|
|
888
|
-
function
|
|
887
|
+
function ei(e, t, n) {
|
|
889
888
|
const r = t.mergeFunctions.mergeSets(e, t, n);
|
|
890
889
|
return r === ye.defaultMerge || t.useImplicitDefaultMerging && r === void 0 && t.mergeFunctions.mergeSets !== t.defaultMergeFunctions.mergeSets ? t.defaultMergeFunctions.mergeSets(e) : r;
|
|
891
890
|
}
|
|
892
|
-
function
|
|
891
|
+
function ti(e, t, n) {
|
|
893
892
|
const r = t.mergeFunctions.mergeMaps(e, t, n);
|
|
894
893
|
return r === ye.defaultMerge || t.useImplicitDefaultMerging && r === void 0 && t.mergeFunctions.mergeMaps !== t.defaultMergeFunctions.mergeMaps ? t.defaultMergeFunctions.mergeMaps(e) : r;
|
|
895
894
|
}
|
|
896
|
-
function
|
|
895
|
+
function Rt(e, t, n) {
|
|
897
896
|
const r = t.mergeFunctions.mergeOthers(e, t, n);
|
|
898
897
|
return r === ye.defaultMerge || t.useImplicitDefaultMerging && r === void 0 && t.mergeFunctions.mergeOthers !== t.defaultMergeFunctions.mergeOthers ? t.defaultMergeFunctions.mergeOthers(e) : r;
|
|
899
898
|
}
|
|
900
|
-
function
|
|
899
|
+
function jt(e) {
|
|
901
900
|
const t = Object.getOwnPropertyNames(e.constructor.prototype);
|
|
902
901
|
for (let n = 0; n < t.length; n++) {
|
|
903
902
|
const r = t[n], i = e[r];
|
|
@@ -905,7 +904,7 @@ function $t(e) {
|
|
|
905
904
|
}
|
|
906
905
|
return e;
|
|
907
906
|
}
|
|
908
|
-
function
|
|
907
|
+
function ni(e, t) {
|
|
909
908
|
return (n) => {
|
|
910
909
|
if (e.isOpen()) {
|
|
911
910
|
const r = e.el && n.currentTarget === e.el;
|
|
@@ -913,13 +912,13 @@ function ti(e, t) {
|
|
|
913
912
|
}
|
|
914
913
|
};
|
|
915
914
|
}
|
|
916
|
-
function
|
|
915
|
+
function ri(e) {
|
|
917
916
|
const {
|
|
918
917
|
event: t,
|
|
919
918
|
selector: n
|
|
920
919
|
} = e.options.advanceOn || {};
|
|
921
920
|
if (t) {
|
|
922
|
-
const r =
|
|
921
|
+
const r = ni(e, n);
|
|
923
922
|
let i = null;
|
|
924
923
|
if (!U(n) && (i = document.querySelector(n), !i))
|
|
925
924
|
return console.error(`No element was found for the selector supplied to advanceOn: ${n}`);
|
|
@@ -927,20 +926,20 @@ function ni(e) {
|
|
|
927
926
|
} else
|
|
928
927
|
return console.error("advanceOn was defined, but no event name was passed.");
|
|
929
928
|
}
|
|
930
|
-
class
|
|
929
|
+
class ii {
|
|
931
930
|
constructor(t) {
|
|
932
931
|
}
|
|
933
932
|
}
|
|
934
|
-
class
|
|
933
|
+
class oi {
|
|
935
934
|
constructor(t, n) {
|
|
936
935
|
}
|
|
937
936
|
}
|
|
938
937
|
function Nn(e) {
|
|
939
|
-
return !
|
|
938
|
+
return !Ke(e) || e === "" ? "" : e.charAt(e.length - 1) !== "-" ? `${e}-` : e;
|
|
940
939
|
}
|
|
941
|
-
function
|
|
940
|
+
function si(e) {
|
|
942
941
|
const t = e.options.attachTo || {}, n = Object.assign({}, t);
|
|
943
|
-
if (ve(n.element) && (n.element = n.element.call(e)),
|
|
942
|
+
if (ve(n.element) && (n.element = n.element.call(e)), Ke(n.element)) {
|
|
944
943
|
try {
|
|
945
944
|
n.element = document.querySelector(n.element);
|
|
946
945
|
} catch {
|
|
@@ -949,7 +948,7 @@ function oi(e) {
|
|
|
949
948
|
}
|
|
950
949
|
return n;
|
|
951
950
|
}
|
|
952
|
-
function
|
|
951
|
+
function li(e) {
|
|
953
952
|
return e.options.extraHighlights ? e.options.extraHighlights.flatMap((t) => Array.from(document.querySelectorAll(t))) : [];
|
|
954
953
|
}
|
|
955
954
|
function Wn(e) {
|
|
@@ -962,19 +961,19 @@ function Yn() {
|
|
|
962
961
|
return e = Math.floor(e / 16), (t == "x" ? n : n & 3 | 8).toString(16);
|
|
963
962
|
});
|
|
964
963
|
}
|
|
965
|
-
const
|
|
964
|
+
const ci = ["top", "right", "bottom", "left"], bn = ["start", "end"], yn = /* @__PURE__ */ ci.reduce((e, t) => e.concat(t, t + "-" + bn[0], t + "-" + bn[1]), []), $e = Math.min, Oe = Math.max, at = Math.round, lt = Math.floor, le = (e) => ({
|
|
966
965
|
x: e,
|
|
967
966
|
y: e
|
|
968
|
-
}),
|
|
967
|
+
}), ai = {
|
|
969
968
|
left: "right",
|
|
970
969
|
right: "left",
|
|
971
970
|
bottom: "top",
|
|
972
971
|
top: "bottom"
|
|
973
|
-
},
|
|
972
|
+
}, ui = {
|
|
974
973
|
start: "end",
|
|
975
974
|
end: "start"
|
|
976
975
|
};
|
|
977
|
-
function
|
|
976
|
+
function At(e, t, n) {
|
|
978
977
|
return Oe(e, $e(t, n));
|
|
979
978
|
}
|
|
980
979
|
function Ce(e, t) {
|
|
@@ -986,32 +985,32 @@ function he(e) {
|
|
|
986
985
|
function de(e) {
|
|
987
986
|
return e.split("-")[1];
|
|
988
987
|
}
|
|
989
|
-
function
|
|
988
|
+
function Ht(e) {
|
|
990
989
|
return e === "x" ? "y" : "x";
|
|
991
990
|
}
|
|
992
|
-
function
|
|
991
|
+
function $t(e) {
|
|
993
992
|
return e === "y" ? "height" : "width";
|
|
994
993
|
}
|
|
995
994
|
function Be(e) {
|
|
996
995
|
return ["top", "bottom"].includes(he(e)) ? "y" : "x";
|
|
997
996
|
}
|
|
998
|
-
function
|
|
999
|
-
return
|
|
997
|
+
function Bt(e) {
|
|
998
|
+
return Ht(Be(e));
|
|
1000
999
|
}
|
|
1001
1000
|
function Un(e, t, n) {
|
|
1002
1001
|
n === void 0 && (n = !1);
|
|
1003
|
-
const r = de(e), i =
|
|
1002
|
+
const r = de(e), i = Bt(e), o = $t(i);
|
|
1004
1003
|
let s = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1005
1004
|
return t.reference[o] > t.floating[o] && (s = ft(s)), [s, ft(s)];
|
|
1006
1005
|
}
|
|
1007
|
-
function
|
|
1006
|
+
function fi(e) {
|
|
1008
1007
|
const t = ft(e);
|
|
1009
1008
|
return [ut(e), t, ut(t)];
|
|
1010
1009
|
}
|
|
1011
1010
|
function ut(e) {
|
|
1012
|
-
return e.replace(/start|end/g, (t) =>
|
|
1011
|
+
return e.replace(/start|end/g, (t) => ui[t]);
|
|
1013
1012
|
}
|
|
1014
|
-
function
|
|
1013
|
+
function di(e, t, n) {
|
|
1015
1014
|
const r = ["left", "right"], i = ["right", "left"], o = ["top", "bottom"], s = ["bottom", "top"];
|
|
1016
1015
|
switch (e) {
|
|
1017
1016
|
case "top":
|
|
@@ -1024,15 +1023,15 @@ function fi(e, t, n) {
|
|
|
1024
1023
|
return [];
|
|
1025
1024
|
}
|
|
1026
1025
|
}
|
|
1027
|
-
function
|
|
1026
|
+
function hi(e, t, n, r) {
|
|
1028
1027
|
const i = de(e);
|
|
1029
|
-
let o =
|
|
1028
|
+
let o = di(he(e), n === "start", r);
|
|
1030
1029
|
return i && (o = o.map((s) => s + "-" + i), t && (o = o.concat(o.map(ut)))), o;
|
|
1031
1030
|
}
|
|
1032
1031
|
function ft(e) {
|
|
1033
|
-
return e.replace(/left|right|bottom|top/g, (t) =>
|
|
1032
|
+
return e.replace(/left|right|bottom|top/g, (t) => ai[t]);
|
|
1034
1033
|
}
|
|
1035
|
-
function
|
|
1034
|
+
function pi(e) {
|
|
1036
1035
|
return J({
|
|
1037
1036
|
top: 0,
|
|
1038
1037
|
right: 0,
|
|
@@ -1041,7 +1040,7 @@ function hi(e) {
|
|
|
1041
1040
|
}, e);
|
|
1042
1041
|
}
|
|
1043
1042
|
function qn(e) {
|
|
1044
|
-
return typeof e != "number" ?
|
|
1043
|
+
return typeof e != "number" ? pi(e) : {
|
|
1045
1044
|
top: e,
|
|
1046
1045
|
right: e,
|
|
1047
1046
|
bottom: e,
|
|
@@ -1066,13 +1065,13 @@ function dt(e) {
|
|
|
1066
1065
|
y: n
|
|
1067
1066
|
};
|
|
1068
1067
|
}
|
|
1069
|
-
const
|
|
1068
|
+
const gi = ["crossAxis", "alignment", "allowedPlacements", "autoAlignment"], mi = ["mainAxis", "crossAxis", "fallbackPlacements", "fallbackStrategy", "fallbackAxisSideDirection", "flipAlignment"], vi = ["mainAxis", "crossAxis", "limiter"];
|
|
1070
1069
|
function wn(e, t, n) {
|
|
1071
1070
|
let {
|
|
1072
1071
|
reference: r,
|
|
1073
1072
|
floating: i
|
|
1074
1073
|
} = e;
|
|
1075
|
-
const o = Be(t), s =
|
|
1074
|
+
const o = Be(t), s = Bt(t), c = $t(s), a = he(t), u = o === "y", d = r.x + r.width / 2 - i.width / 2, h = r.y + r.height / 2 - i.height / 2, f = r[c] / 2 - i[c] / 2;
|
|
1076
1075
|
let g;
|
|
1077
1076
|
switch (a) {
|
|
1078
1077
|
case "top":
|
|
@@ -1115,7 +1114,7 @@ function wn(e, t, n) {
|
|
|
1115
1114
|
}
|
|
1116
1115
|
return g;
|
|
1117
1116
|
}
|
|
1118
|
-
const
|
|
1117
|
+
const bi = async (e, t, n) => {
|
|
1119
1118
|
const {
|
|
1120
1119
|
placement: r = "bottom",
|
|
1121
1120
|
strategy: i = "absolute",
|
|
@@ -1133,13 +1132,13 @@ const vi = async (e, t, n) => {
|
|
|
1133
1132
|
for (let E = 0; E < c.length; E++) {
|
|
1134
1133
|
const {
|
|
1135
1134
|
name: S,
|
|
1136
|
-
fn:
|
|
1135
|
+
fn: w
|
|
1137
1136
|
} = c[E], {
|
|
1138
|
-
x:
|
|
1137
|
+
x: _,
|
|
1139
1138
|
y: O,
|
|
1140
1139
|
data: y,
|
|
1141
1140
|
reset: m
|
|
1142
|
-
} = await
|
|
1141
|
+
} = await w({
|
|
1143
1142
|
x: d,
|
|
1144
1143
|
y: h,
|
|
1145
1144
|
initialPlacement: r,
|
|
@@ -1153,7 +1152,7 @@ const vi = async (e, t, n) => {
|
|
|
1153
1152
|
floating: t
|
|
1154
1153
|
}
|
|
1155
1154
|
});
|
|
1156
|
-
d =
|
|
1155
|
+
d = _ ?? d, h = O ?? h, g = J({}, g, {
|
|
1157
1156
|
[S]: J({}, g[S], y)
|
|
1158
1157
|
}), m && b <= 50 && (b++, typeof m == "object" && (m.placement && (f = m.placement), m.rects && (u = m.rects === !0 ? await s.getElementRects({
|
|
1159
1158
|
reference: e,
|
|
@@ -1172,7 +1171,7 @@ const vi = async (e, t, n) => {
|
|
|
1172
1171
|
middlewareData: g
|
|
1173
1172
|
};
|
|
1174
1173
|
};
|
|
1175
|
-
async function
|
|
1174
|
+
async function Vt(e, t) {
|
|
1176
1175
|
var n;
|
|
1177
1176
|
t === void 0 && (t = {});
|
|
1178
1177
|
const {
|
|
@@ -1188,12 +1187,12 @@ async function Wt(e, t) {
|
|
|
1188
1187
|
elementContext: h = "floating",
|
|
1189
1188
|
altBoundary: f = !1,
|
|
1190
1189
|
padding: g = 0
|
|
1191
|
-
} = Ce(t, e), b = qn(g), S = c[f ? h === "floating" ? "reference" : "floating" : h],
|
|
1190
|
+
} = Ce(t, e), b = qn(g), S = c[f ? h === "floating" ? "reference" : "floating" : h], w = dt(await o.getClippingRect({
|
|
1192
1191
|
element: (n = await (o.isElement == null ? void 0 : o.isElement(S))) == null || n ? S : S.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(c.floating)),
|
|
1193
1192
|
boundary: u,
|
|
1194
1193
|
rootBoundary: d,
|
|
1195
1194
|
strategy: a
|
|
1196
|
-
})),
|
|
1195
|
+
})), _ = h === "floating" ? {
|
|
1197
1196
|
x: r,
|
|
1198
1197
|
y: i,
|
|
1199
1198
|
width: s.floating.width,
|
|
@@ -1206,18 +1205,18 @@ async function Wt(e, t) {
|
|
|
1206
1205
|
y: 1
|
|
1207
1206
|
}, m = dt(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1208
1207
|
elements: c,
|
|
1209
|
-
rect:
|
|
1208
|
+
rect: _,
|
|
1210
1209
|
offsetParent: O,
|
|
1211
1210
|
strategy: a
|
|
1212
|
-
}) :
|
|
1211
|
+
}) : _);
|
|
1213
1212
|
return {
|
|
1214
|
-
top: (
|
|
1215
|
-
bottom: (m.bottom -
|
|
1216
|
-
left: (
|
|
1217
|
-
right: (m.right -
|
|
1213
|
+
top: (w.top - m.top + b.top) / y.y,
|
|
1214
|
+
bottom: (m.bottom - w.bottom + b.bottom) / y.y,
|
|
1215
|
+
left: (w.left - m.left + b.left) / y.x,
|
|
1216
|
+
right: (m.right - w.right + b.right) / y.x
|
|
1218
1217
|
};
|
|
1219
1218
|
}
|
|
1220
|
-
const
|
|
1219
|
+
const yi = (e) => ({
|
|
1221
1220
|
name: "arrow",
|
|
1222
1221
|
options: e,
|
|
1223
1222
|
async fn(t) {
|
|
@@ -1238,10 +1237,10 @@ const bi = (e) => ({
|
|
|
1238
1237
|
const h = qn(d), f = {
|
|
1239
1238
|
x: n,
|
|
1240
1239
|
y: r
|
|
1241
|
-
}, g =
|
|
1240
|
+
}, g = Bt(i), b = $t(g), E = await s.getDimensions(u), S = g === "y", w = S ? "top" : "left", _ = S ? "bottom" : "right", O = S ? "clientHeight" : "clientWidth", y = o.reference[b] + o.reference[g] - f[g] - o.floating[b], m = f[g] - o.reference[g], R = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
|
|
1242
1241
|
let D = R ? R[O] : 0;
|
|
1243
1242
|
(!D || !await (s.isElement == null ? void 0 : s.isElement(R))) && (D = c.floating[O] || o.floating[b]);
|
|
1244
|
-
const K = y / 2 - m / 2, W = D / 2 - E[b] / 2 - 1, X = $e(h[
|
|
1243
|
+
const K = y / 2 - m / 2, W = D / 2 - E[b] / 2 - 1, X = $e(h[w], W), $ = $e(h[_], W), A = X, F = D - E[b] - $, L = D / 2 - E[b] / 2 + K, V = At(A, L, F), N = !a.arrow && de(i) != null && L !== V && o.reference[b] / 2 - (L < A ? X : $) - E[b] / 2 < 0, ne = N ? L < A ? L - A : L - F : 0;
|
|
1245
1244
|
return {
|
|
1246
1245
|
[g]: f[g] + ne,
|
|
1247
1246
|
data: J({
|
|
@@ -1254,10 +1253,10 @@ const bi = (e) => ({
|
|
|
1254
1253
|
};
|
|
1255
1254
|
}
|
|
1256
1255
|
});
|
|
1257
|
-
function
|
|
1256
|
+
function wi(e, t, n) {
|
|
1258
1257
|
return (e ? [...n.filter((i) => de(i) === e), ...n.filter((i) => de(i) !== e)] : n.filter((i) => he(i) === i)).filter((i) => e ? de(i) === e || (t ? ut(i) !== i : !1) : !0);
|
|
1259
1258
|
}
|
|
1260
|
-
const
|
|
1259
|
+
const _i = function(t) {
|
|
1261
1260
|
return t === void 0 && (t = {}), {
|
|
1262
1261
|
name: "autoPlacement",
|
|
1263
1262
|
options: t,
|
|
@@ -1274,20 +1273,20 @@ const wi = function(t) {
|
|
|
1274
1273
|
alignment: g,
|
|
1275
1274
|
allowedPlacements: b = yn,
|
|
1276
1275
|
autoAlignment: E = !0
|
|
1277
|
-
} = h, S =
|
|
1276
|
+
} = h, S = Lt(h, gi), w = g !== void 0 || b === yn ? wi(g || null, E, b) : b, _ = await Vt(n, S), O = ((r = c.autoPlacement) == null ? void 0 : r.index) || 0, y = w[O];
|
|
1278
1277
|
if (y == null)
|
|
1279
1278
|
return {};
|
|
1280
1279
|
const m = Un(y, s, await (u.isRTL == null ? void 0 : u.isRTL(d.floating)));
|
|
1281
1280
|
if (a !== y)
|
|
1282
1281
|
return {
|
|
1283
1282
|
reset: {
|
|
1284
|
-
placement:
|
|
1283
|
+
placement: w[0]
|
|
1285
1284
|
}
|
|
1286
1285
|
};
|
|
1287
|
-
const R = [
|
|
1286
|
+
const R = [_[he(y)], _[m[0]], _[m[1]]], D = [...((i = c.autoPlacement) == null ? void 0 : i.overflows) || [], {
|
|
1288
1287
|
placement: y,
|
|
1289
1288
|
overflows: R
|
|
1290
|
-
}], K =
|
|
1289
|
+
}], K = w[O + 1];
|
|
1291
1290
|
if (K)
|
|
1292
1291
|
return {
|
|
1293
1292
|
data: {
|
|
@@ -1324,7 +1323,7 @@ const wi = function(t) {
|
|
|
1324
1323
|
} : {};
|
|
1325
1324
|
}
|
|
1326
1325
|
};
|
|
1327
|
-
},
|
|
1326
|
+
}, Ei = function(t) {
|
|
1328
1327
|
return t === void 0 && (t = {}), {
|
|
1329
1328
|
name: "flip",
|
|
1330
1329
|
options: t,
|
|
@@ -1343,13 +1342,13 @@ const wi = function(t) {
|
|
|
1343
1342
|
fallbackPlacements: b,
|
|
1344
1343
|
fallbackStrategy: E = "bestFit",
|
|
1345
1344
|
fallbackAxisSideDirection: S = "none",
|
|
1346
|
-
flipAlignment:
|
|
1347
|
-
} = h,
|
|
1345
|
+
flipAlignment: w = !0
|
|
1346
|
+
} = h, _ = Lt(h, mi);
|
|
1348
1347
|
if ((r = s.arrow) != null && r.alignmentOffset)
|
|
1349
1348
|
return {};
|
|
1350
|
-
const O = he(o), y = Be(a), m = he(a) === a, R = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), D = b || (m || !
|
|
1351
|
-
!b && K && D.push(...
|
|
1352
|
-
const W = [a, ...D], X = await
|
|
1349
|
+
const O = he(o), y = Be(a), m = he(a) === a, R = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), D = b || (m || !w ? [ft(a)] : fi(a)), K = S !== "none";
|
|
1350
|
+
!b && K && D.push(...hi(a, w, S, R));
|
|
1351
|
+
const W = [a, ...D], X = await Vt(n, _), $ = [];
|
|
1353
1352
|
let A = ((i = s.flip) == null ? void 0 : i.overflows) || [];
|
|
1354
1353
|
if (f && $.push(X[O]), g) {
|
|
1355
1354
|
const N = Un(o, c, R);
|
|
@@ -1384,7 +1383,7 @@ const wi = function(t) {
|
|
|
1384
1383
|
re === "y";
|
|
1385
1384
|
}
|
|
1386
1385
|
return !0;
|
|
1387
|
-
}).map((Y) => [Y.placement, Y.overflows.filter((re) => re > 0).reduce((re,
|
|
1386
|
+
}).map((Y) => [Y.placement, Y.overflows.filter((re) => re > 0).reduce((re, et) => re + et, 0)]).sort((Y, re) => Y[1] - re[1])[0]) == null ? void 0 : V[0];
|
|
1388
1387
|
Q && (fe = Q);
|
|
1389
1388
|
break;
|
|
1390
1389
|
}
|
|
@@ -1402,7 +1401,7 @@ const wi = function(t) {
|
|
|
1402
1401
|
return {};
|
|
1403
1402
|
}
|
|
1404
1403
|
};
|
|
1405
|
-
},
|
|
1404
|
+
}, xi = function(t) {
|
|
1406
1405
|
return t === void 0 && (t = {}), {
|
|
1407
1406
|
name: "shift",
|
|
1408
1407
|
options: t,
|
|
@@ -1415,43 +1414,43 @@ const wi = function(t) {
|
|
|
1415
1414
|
mainAxis: c = !0,
|
|
1416
1415
|
crossAxis: a = !1,
|
|
1417
1416
|
limiter: u = {
|
|
1418
|
-
fn: (
|
|
1417
|
+
fn: (_) => {
|
|
1419
1418
|
let {
|
|
1420
1419
|
x: O,
|
|
1421
1420
|
y
|
|
1422
|
-
} =
|
|
1421
|
+
} = _;
|
|
1423
1422
|
return {
|
|
1424
1423
|
x: O,
|
|
1425
1424
|
y
|
|
1426
1425
|
};
|
|
1427
1426
|
}
|
|
1428
1427
|
}
|
|
1429
|
-
} = s, d =
|
|
1428
|
+
} = s, d = Lt(s, vi), h = {
|
|
1430
1429
|
x: r,
|
|
1431
1430
|
y: i
|
|
1432
|
-
}, f = await
|
|
1431
|
+
}, f = await Vt(n, d), g = Be(he(o)), b = Ht(g);
|
|
1433
1432
|
let E = h[b], S = h[g];
|
|
1434
1433
|
if (c) {
|
|
1435
|
-
const
|
|
1436
|
-
E =
|
|
1434
|
+
const _ = b === "y" ? "top" : "left", O = b === "y" ? "bottom" : "right", y = E + f[_], m = E - f[O];
|
|
1435
|
+
E = At(y, E, m);
|
|
1437
1436
|
}
|
|
1438
1437
|
if (a) {
|
|
1439
|
-
const
|
|
1440
|
-
S =
|
|
1438
|
+
const _ = g === "y" ? "top" : "left", O = g === "y" ? "bottom" : "right", y = S + f[_], m = S - f[O];
|
|
1439
|
+
S = At(y, S, m);
|
|
1441
1440
|
}
|
|
1442
|
-
const
|
|
1441
|
+
const w = u.fn(J({}, n, {
|
|
1443
1442
|
[b]: E,
|
|
1444
1443
|
[g]: S
|
|
1445
1444
|
}));
|
|
1446
|
-
return J({},
|
|
1445
|
+
return J({}, w, {
|
|
1447
1446
|
data: {
|
|
1448
|
-
x:
|
|
1449
|
-
y:
|
|
1447
|
+
x: w.x - r,
|
|
1448
|
+
y: w.y - i
|
|
1450
1449
|
}
|
|
1451
1450
|
});
|
|
1452
1451
|
}
|
|
1453
1452
|
};
|
|
1454
|
-
},
|
|
1453
|
+
}, Si = function(t) {
|
|
1455
1454
|
return t === void 0 && (t = {}), {
|
|
1456
1455
|
options: t,
|
|
1457
1456
|
fn(n) {
|
|
@@ -1468,9 +1467,9 @@ const wi = function(t) {
|
|
|
1468
1467
|
} = Ce(t, n), h = {
|
|
1469
1468
|
x: r,
|
|
1470
1469
|
y: i
|
|
1471
|
-
}, f = Be(o), g =
|
|
1470
|
+
}, f = Be(o), g = Ht(f);
|
|
1472
1471
|
let b = h[g], E = h[f];
|
|
1473
|
-
const S = Ce(a, n),
|
|
1472
|
+
const S = Ce(a, n), w = typeof S == "number" ? {
|
|
1474
1473
|
mainAxis: S,
|
|
1475
1474
|
crossAxis: 0
|
|
1476
1475
|
} : J({
|
|
@@ -1478,12 +1477,12 @@ const wi = function(t) {
|
|
|
1478
1477
|
crossAxis: 0
|
|
1479
1478
|
}, S);
|
|
1480
1479
|
if (u) {
|
|
1481
|
-
const y = g === "y" ? "height" : "width", m = s.reference[g] - s.floating[y] +
|
|
1480
|
+
const y = g === "y" ? "height" : "width", m = s.reference[g] - s.floating[y] + w.mainAxis, R = s.reference[g] + s.reference[y] - w.mainAxis;
|
|
1482
1481
|
b < m ? b = m : b > R && (b = R);
|
|
1483
1482
|
}
|
|
1484
1483
|
if (d) {
|
|
1485
|
-
var
|
|
1486
|
-
const y = g === "y" ? "width" : "height", m = ["top", "left"].includes(he(o)), R = s.reference[f] - s.floating[y] + (m && ((
|
|
1484
|
+
var _, O;
|
|
1485
|
+
const y = g === "y" ? "width" : "height", m = ["top", "left"].includes(he(o)), R = s.reference[f] - s.floating[y] + (m && ((_ = c.offset) == null ? void 0 : _[f]) || 0) + (m ? 0 : w.crossAxis), D = s.reference[f] + s.reference[y] + (m ? 0 : ((O = c.offset) == null ? void 0 : O[f]) || 0) - (m ? w.crossAxis : 0);
|
|
1487
1486
|
E < R ? E = R : E > D && (E = D);
|
|
1488
1487
|
}
|
|
1489
1488
|
return {
|
|
@@ -1519,7 +1518,7 @@ function ce(e) {
|
|
|
1519
1518
|
function _n(e) {
|
|
1520
1519
|
return !pt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof G(e).ShadowRoot;
|
|
1521
1520
|
}
|
|
1522
|
-
function
|
|
1521
|
+
function Ze(e) {
|
|
1523
1522
|
const {
|
|
1524
1523
|
overflow: t,
|
|
1525
1524
|
overflowX: n,
|
|
@@ -1528,7 +1527,7 @@ function Qe(e) {
|
|
|
1528
1527
|
} = oe(e);
|
|
1529
1528
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !["inline", "contents"].includes(i);
|
|
1530
1529
|
}
|
|
1531
|
-
function
|
|
1530
|
+
function Oi(e) {
|
|
1532
1531
|
return ["table", "td", "th"].includes(Ye(e));
|
|
1533
1532
|
}
|
|
1534
1533
|
function gt(e) {
|
|
@@ -1540,14 +1539,14 @@ function gt(e) {
|
|
|
1540
1539
|
}
|
|
1541
1540
|
});
|
|
1542
1541
|
}
|
|
1543
|
-
function
|
|
1544
|
-
const t =
|
|
1542
|
+
function Nt(e) {
|
|
1543
|
+
const t = Wt(), n = ie(e) ? oe(e) : e;
|
|
1545
1544
|
return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((r) => (n.willChange || "").includes(r)) || ["paint", "layout", "strict", "content"].some((r) => (n.contain || "").includes(r));
|
|
1546
1545
|
}
|
|
1547
|
-
function
|
|
1546
|
+
function Ri(e) {
|
|
1548
1547
|
let t = be(e);
|
|
1549
1548
|
for (; ce(t) && !Ve(t); ) {
|
|
1550
|
-
if (
|
|
1549
|
+
if (Nt(t))
|
|
1551
1550
|
return t;
|
|
1552
1551
|
if (gt(t))
|
|
1553
1552
|
return null;
|
|
@@ -1555,7 +1554,7 @@ function Oi(e) {
|
|
|
1555
1554
|
}
|
|
1556
1555
|
return null;
|
|
1557
1556
|
}
|
|
1558
|
-
function
|
|
1557
|
+
function Wt() {
|
|
1559
1558
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
1560
1559
|
}
|
|
1561
1560
|
function Ve(e) {
|
|
@@ -1587,19 +1586,19 @@ function be(e) {
|
|
|
1587
1586
|
}
|
|
1588
1587
|
function Jn(e) {
|
|
1589
1588
|
const t = be(e);
|
|
1590
|
-
return Ve(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ce(t) &&
|
|
1589
|
+
return Ve(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ce(t) && Ze(t) ? t : Jn(t);
|
|
1591
1590
|
}
|
|
1592
|
-
function
|
|
1591
|
+
function Xe(e, t, n) {
|
|
1593
1592
|
var r;
|
|
1594
1593
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
1595
1594
|
const i = Jn(e), o = i === ((r = e.ownerDocument) == null ? void 0 : r.body), s = G(i);
|
|
1596
1595
|
if (o) {
|
|
1597
|
-
const c =
|
|
1598
|
-
return t.concat(s, s.visualViewport || [],
|
|
1596
|
+
const c = Pt(s);
|
|
1597
|
+
return t.concat(s, s.visualViewport || [], Ze(i) ? i : [], c && n ? Xe(c) : []);
|
|
1599
1598
|
}
|
|
1600
|
-
return t.concat(i,
|
|
1599
|
+
return t.concat(i, Xe(i, [], n));
|
|
1601
1600
|
}
|
|
1602
|
-
function
|
|
1601
|
+
function Pt(e) {
|
|
1603
1602
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
1604
1603
|
}
|
|
1605
1604
|
function Kn(e) {
|
|
@@ -1612,11 +1611,11 @@ function Kn(e) {
|
|
|
1612
1611
|
$: c
|
|
1613
1612
|
};
|
|
1614
1613
|
}
|
|
1615
|
-
function
|
|
1614
|
+
function Yt(e) {
|
|
1616
1615
|
return ie(e) ? e : e.contextElement;
|
|
1617
1616
|
}
|
|
1618
1617
|
function De(e) {
|
|
1619
|
-
const t =
|
|
1618
|
+
const t = Yt(e);
|
|
1620
1619
|
if (!ce(t))
|
|
1621
1620
|
return le(1);
|
|
1622
1621
|
const n = t.getBoundingClientRect(), {
|
|
@@ -1630,30 +1629,30 @@ function De(e) {
|
|
|
1630
1629
|
y: c
|
|
1631
1630
|
};
|
|
1632
1631
|
}
|
|
1633
|
-
const
|
|
1632
|
+
const Ti = /* @__PURE__ */ le(0);
|
|
1634
1633
|
function Xn(e) {
|
|
1635
1634
|
const t = G(e);
|
|
1636
|
-
return !
|
|
1635
|
+
return !Wt() || !t.visualViewport ? Ti : {
|
|
1637
1636
|
x: t.visualViewport.offsetLeft,
|
|
1638
1637
|
y: t.visualViewport.offsetTop
|
|
1639
1638
|
};
|
|
1640
1639
|
}
|
|
1641
|
-
function
|
|
1640
|
+
function Ci(e, t, n) {
|
|
1642
1641
|
return t === void 0 && (t = !1), !n || t && n !== G(e) ? !1 : t;
|
|
1643
1642
|
}
|
|
1644
1643
|
function Ae(e, t, n, r) {
|
|
1645
1644
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
1646
|
-
const i = e.getBoundingClientRect(), o =
|
|
1645
|
+
const i = e.getBoundingClientRect(), o = Yt(e);
|
|
1647
1646
|
let s = le(1);
|
|
1648
1647
|
t && (r ? ie(r) && (s = De(r)) : s = De(e));
|
|
1649
|
-
const c =
|
|
1648
|
+
const c = Ci(o, n, r) ? Xn(o) : le(0);
|
|
1650
1649
|
let a = (i.left + c.x) / s.x, u = (i.top + c.y) / s.y, d = i.width / s.x, h = i.height / s.y;
|
|
1651
1650
|
if (o) {
|
|
1652
1651
|
const f = G(o), g = r && ie(r) ? G(r) : r;
|
|
1653
|
-
let b = f, E =
|
|
1652
|
+
let b = f, E = Pt(b);
|
|
1654
1653
|
for (; E && r && g !== b; ) {
|
|
1655
|
-
const S = De(E),
|
|
1656
|
-
a *= S.x, u *= S.y, d *= S.x, h *= S.y, a += O, u += y, b = G(E), E =
|
|
1654
|
+
const S = De(E), w = E.getBoundingClientRect(), _ = oe(E), O = w.left + (E.clientLeft + parseFloat(_.paddingLeft)) * S.x, y = w.top + (E.clientTop + parseFloat(_.paddingTop)) * S.y;
|
|
1655
|
+
a *= S.x, u *= S.y, d *= S.x, h *= S.y, a += O, u += y, b = G(E), E = Pt(b);
|
|
1657
1656
|
}
|
|
1658
1657
|
}
|
|
1659
1658
|
return dt({
|
|
@@ -1663,7 +1662,7 @@ function Ae(e, t, n, r) {
|
|
|
1663
1662
|
y: u
|
|
1664
1663
|
});
|
|
1665
1664
|
}
|
|
1666
|
-
function
|
|
1665
|
+
function Ut(e, t) {
|
|
1667
1666
|
const n = mt(e).scrollLeft;
|
|
1668
1667
|
return t ? t.left + n : Ae(ue(e)).left + n;
|
|
1669
1668
|
}
|
|
@@ -1671,14 +1670,14 @@ function Gn(e, t, n) {
|
|
|
1671
1670
|
n === void 0 && (n = !1);
|
|
1672
1671
|
const r = e.getBoundingClientRect(), i = r.left + t.scrollLeft - (n ? 0 : (
|
|
1673
1672
|
// RTL <body> scrollbar.
|
|
1674
|
-
|
|
1673
|
+
Ut(e, r)
|
|
1675
1674
|
)), o = r.top + t.scrollTop;
|
|
1676
1675
|
return {
|
|
1677
1676
|
x: i,
|
|
1678
1677
|
y: o
|
|
1679
1678
|
};
|
|
1680
1679
|
}
|
|
1681
|
-
function
|
|
1680
|
+
function Ai(e) {
|
|
1682
1681
|
let {
|
|
1683
1682
|
elements: t,
|
|
1684
1683
|
rect: n,
|
|
@@ -1693,7 +1692,7 @@ function Ci(e) {
|
|
|
1693
1692
|
scrollTop: 0
|
|
1694
1693
|
}, u = le(1);
|
|
1695
1694
|
const d = le(0), h = ce(r);
|
|
1696
|
-
if ((h || !h && !o) && ((Ye(r) !== "body" ||
|
|
1695
|
+
if ((h || !h && !o) && ((Ye(r) !== "body" || Ze(s)) && (a = mt(r)), ce(r))) {
|
|
1697
1696
|
const g = Ae(r);
|
|
1698
1697
|
u = De(r), d.x = g.x + r.clientLeft, d.y = g.y + r.clientTop;
|
|
1699
1698
|
}
|
|
@@ -1705,12 +1704,12 @@ function Ci(e) {
|
|
|
1705
1704
|
y: n.y * u.y - a.scrollTop * u.y + d.y + f.y
|
|
1706
1705
|
};
|
|
1707
1706
|
}
|
|
1708
|
-
function
|
|
1707
|
+
function Pi(e) {
|
|
1709
1708
|
return Array.from(e.getClientRects());
|
|
1710
1709
|
}
|
|
1711
|
-
function
|
|
1710
|
+
function ki(e) {
|
|
1712
1711
|
const t = ue(e), n = mt(e), r = e.ownerDocument.body, i = Oe(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), o = Oe(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
|
|
1713
|
-
let s = -n.scrollLeft +
|
|
1712
|
+
let s = -n.scrollLeft + Ut(e);
|
|
1714
1713
|
const c = -n.scrollTop;
|
|
1715
1714
|
return oe(r).direction === "rtl" && (s += Oe(t.clientWidth, r.clientWidth) - i), {
|
|
1716
1715
|
width: i,
|
|
@@ -1719,12 +1718,12 @@ function Pi(e) {
|
|
|
1719
1718
|
y: c
|
|
1720
1719
|
};
|
|
1721
1720
|
}
|
|
1722
|
-
function
|
|
1721
|
+
function Ii(e, t) {
|
|
1723
1722
|
const n = G(e), r = ue(e), i = n.visualViewport;
|
|
1724
1723
|
let o = r.clientWidth, s = r.clientHeight, c = 0, a = 0;
|
|
1725
1724
|
if (i) {
|
|
1726
1725
|
o = i.width, s = i.height;
|
|
1727
|
-
const u =
|
|
1726
|
+
const u = Wt();
|
|
1728
1727
|
(!u || u && t === "fixed") && (c = i.offsetLeft, a = i.offsetTop);
|
|
1729
1728
|
}
|
|
1730
1729
|
return {
|
|
@@ -1734,7 +1733,7 @@ function ki(e, t) {
|
|
|
1734
1733
|
y: a
|
|
1735
1734
|
};
|
|
1736
1735
|
}
|
|
1737
|
-
function
|
|
1736
|
+
function Mi(e, t) {
|
|
1738
1737
|
const n = Ae(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, o = ce(e) ? De(e) : le(1), s = e.clientWidth * o.x, c = e.clientHeight * o.y, a = i * o.x, u = r * o.y;
|
|
1739
1738
|
return {
|
|
1740
1739
|
width: s,
|
|
@@ -1746,11 +1745,11 @@ function Ii(e, t) {
|
|
|
1746
1745
|
function En(e, t, n) {
|
|
1747
1746
|
let r;
|
|
1748
1747
|
if (t === "viewport")
|
|
1749
|
-
r =
|
|
1748
|
+
r = Ii(e, n);
|
|
1750
1749
|
else if (t === "document")
|
|
1751
|
-
r =
|
|
1750
|
+
r = ki(ue(e));
|
|
1752
1751
|
else if (ie(t))
|
|
1753
|
-
r =
|
|
1752
|
+
r = Mi(t, n);
|
|
1754
1753
|
else {
|
|
1755
1754
|
const i = Xn(e);
|
|
1756
1755
|
r = {
|
|
@@ -1766,27 +1765,27 @@ function Zn(e, t) {
|
|
|
1766
1765
|
const n = be(e);
|
|
1767
1766
|
return n === t || !ie(n) || Ve(n) ? !1 : oe(n).position === "fixed" || Zn(n, t);
|
|
1768
1767
|
}
|
|
1769
|
-
function
|
|
1768
|
+
function Fi(e, t) {
|
|
1770
1769
|
const n = t.get(e);
|
|
1771
1770
|
if (n)
|
|
1772
1771
|
return n;
|
|
1773
|
-
let r =
|
|
1772
|
+
let r = Xe(e, [], !1).filter((c) => ie(c) && Ye(c) !== "body"), i = null;
|
|
1774
1773
|
const o = oe(e).position === "fixed";
|
|
1775
1774
|
let s = o ? be(e) : e;
|
|
1776
1775
|
for (; ie(s) && !Ve(s); ) {
|
|
1777
|
-
const c = oe(s), a =
|
|
1778
|
-
!a && c.position === "fixed" && (i = null), (o ? !a && !i : !a && c.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) ||
|
|
1776
|
+
const c = oe(s), a = Nt(s);
|
|
1777
|
+
!a && c.position === "fixed" && (i = null), (o ? !a && !i : !a && c.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || Ze(s) && !a && Zn(e, s)) ? r = r.filter((d) => d !== s) : i = c, s = be(s);
|
|
1779
1778
|
}
|
|
1780
1779
|
return t.set(e, r), r;
|
|
1781
1780
|
}
|
|
1782
|
-
function
|
|
1781
|
+
function Li(e) {
|
|
1783
1782
|
let {
|
|
1784
1783
|
element: t,
|
|
1785
1784
|
boundary: n,
|
|
1786
1785
|
rootBoundary: r,
|
|
1787
1786
|
strategy: i
|
|
1788
1787
|
} = e;
|
|
1789
|
-
const s = [...n === "clippingAncestors" ? gt(t) ? [] :
|
|
1788
|
+
const s = [...n === "clippingAncestors" ? gt(t) ? [] : Fi(t, this._c) : [].concat(n), r], c = s[0], a = s.reduce((u, d) => {
|
|
1790
1789
|
const h = En(t, d, i);
|
|
1791
1790
|
return u.top = Oe(h.top, u.top), u.right = $e(h.right, u.right), u.bottom = $e(h.bottom, u.bottom), u.left = Oe(h.left, u.left), u;
|
|
1792
1791
|
}, En(t, c, i));
|
|
@@ -1797,7 +1796,7 @@ function Fi(e) {
|
|
|
1797
1796
|
y: a.top
|
|
1798
1797
|
};
|
|
1799
1798
|
}
|
|
1800
|
-
function
|
|
1799
|
+
function Di(e) {
|
|
1801
1800
|
const {
|
|
1802
1801
|
width: t,
|
|
1803
1802
|
height: n
|
|
@@ -1807,7 +1806,7 @@ function Li(e) {
|
|
|
1807
1806
|
height: n
|
|
1808
1807
|
};
|
|
1809
1808
|
}
|
|
1810
|
-
function
|
|
1809
|
+
function ji(e, t, n) {
|
|
1811
1810
|
const r = ce(t), i = ue(t), o = n === "fixed", s = Ae(e, !0, o, t);
|
|
1812
1811
|
let c = {
|
|
1813
1812
|
scrollLeft: 0,
|
|
@@ -1815,10 +1814,10 @@ function Di(e, t, n) {
|
|
|
1815
1814
|
};
|
|
1816
1815
|
const a = le(0);
|
|
1817
1816
|
if (r || !r && !o)
|
|
1818
|
-
if ((Ye(t) !== "body" ||
|
|
1817
|
+
if ((Ye(t) !== "body" || Ze(i)) && (c = mt(t)), r) {
|
|
1819
1818
|
const f = Ae(t, !0, o, t);
|
|
1820
1819
|
a.x = f.x + t.clientLeft, a.y = f.y + t.clientTop;
|
|
1821
|
-
} else i && (a.x =
|
|
1820
|
+
} else i && (a.x = Ut(i));
|
|
1822
1821
|
const u = i && !r && !o ? Gn(i, c) : le(0), d = s.left + c.scrollLeft - a.x - u.x, h = s.top + c.scrollTop - a.y - u.y;
|
|
1823
1822
|
return {
|
|
1824
1823
|
x: d,
|
|
@@ -1827,7 +1826,7 @@ function Di(e, t, n) {
|
|
|
1827
1826
|
height: s.height
|
|
1828
1827
|
};
|
|
1829
1828
|
}
|
|
1830
|
-
function
|
|
1829
|
+
function Tt(e) {
|
|
1831
1830
|
return oe(e).position === "static";
|
|
1832
1831
|
}
|
|
1833
1832
|
function xn(e, t) {
|
|
@@ -1845,21 +1844,21 @@ function Qn(e, t) {
|
|
|
1845
1844
|
if (!ce(e)) {
|
|
1846
1845
|
let i = be(e);
|
|
1847
1846
|
for (; i && !Ve(i); ) {
|
|
1848
|
-
if (ie(i) && !
|
|
1847
|
+
if (ie(i) && !Tt(i))
|
|
1849
1848
|
return i;
|
|
1850
1849
|
i = be(i);
|
|
1851
1850
|
}
|
|
1852
1851
|
return n;
|
|
1853
1852
|
}
|
|
1854
1853
|
let r = xn(e, t);
|
|
1855
|
-
for (; r &&
|
|
1854
|
+
for (; r && Oi(r) && Tt(r); )
|
|
1856
1855
|
r = xn(r, t);
|
|
1857
|
-
return r && Ve(r) &&
|
|
1856
|
+
return r && Ve(r) && Tt(r) && !Nt(r) ? n : r || Ri(e) || n;
|
|
1858
1857
|
}
|
|
1859
|
-
const
|
|
1858
|
+
const Hi = async function(t) {
|
|
1860
1859
|
const n = this.getOffsetParent || Qn, r = this.getDimensions, i = await r(t.floating);
|
|
1861
1860
|
return {
|
|
1862
|
-
reference:
|
|
1861
|
+
reference: ji(t.reference, await n(t.floating), t.strategy),
|
|
1863
1862
|
floating: {
|
|
1864
1863
|
x: 0,
|
|
1865
1864
|
y: 0,
|
|
@@ -1868,22 +1867,22 @@ const ji = async function(t) {
|
|
|
1868
1867
|
}
|
|
1869
1868
|
};
|
|
1870
1869
|
};
|
|
1871
|
-
function
|
|
1870
|
+
function $i(e) {
|
|
1872
1871
|
return oe(e).direction === "rtl";
|
|
1873
1872
|
}
|
|
1874
|
-
const
|
|
1875
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
1873
|
+
const Bi = {
|
|
1874
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Ai,
|
|
1876
1875
|
getDocumentElement: ue,
|
|
1877
|
-
getClippingRect:
|
|
1876
|
+
getClippingRect: Li,
|
|
1878
1877
|
getOffsetParent: Qn,
|
|
1879
|
-
getElementRects:
|
|
1880
|
-
getClientRects:
|
|
1881
|
-
getDimensions:
|
|
1878
|
+
getElementRects: Hi,
|
|
1879
|
+
getClientRects: Pi,
|
|
1880
|
+
getDimensions: Di,
|
|
1882
1881
|
getScale: De,
|
|
1883
1882
|
isElement: ie,
|
|
1884
|
-
isRTL:
|
|
1883
|
+
isRTL: $i
|
|
1885
1884
|
};
|
|
1886
|
-
function
|
|
1885
|
+
function Vi(e, t) {
|
|
1887
1886
|
let n = null, r;
|
|
1888
1887
|
const i = ue(e);
|
|
1889
1888
|
function o() {
|
|
@@ -1900,7 +1899,7 @@ function Bi(e, t) {
|
|
|
1900
1899
|
} = e.getBoundingClientRect();
|
|
1901
1900
|
if (c || t(), !h || !f)
|
|
1902
1901
|
return;
|
|
1903
|
-
const g = lt(d), b = lt(i.clientWidth - (u + h)), E = lt(i.clientHeight - (d + f)), S = lt(u),
|
|
1902
|
+
const g = lt(d), b = lt(i.clientWidth - (u + h)), E = lt(i.clientHeight - (d + f)), S = lt(u), _ = {
|
|
1904
1903
|
rootMargin: -g + "px " + -b + "px " + -E + "px " + -S + "px",
|
|
1905
1904
|
threshold: Oe(0, $e(1, a)) || 1
|
|
1906
1905
|
};
|
|
@@ -1917,18 +1916,18 @@ function Bi(e, t) {
|
|
|
1917
1916
|
O = !1;
|
|
1918
1917
|
}
|
|
1919
1918
|
try {
|
|
1920
|
-
n = new IntersectionObserver(y, J({},
|
|
1919
|
+
n = new IntersectionObserver(y, J({}, _, {
|
|
1921
1920
|
// Handle <iframe>s
|
|
1922
1921
|
root: i.ownerDocument
|
|
1923
1922
|
}));
|
|
1924
1923
|
} catch {
|
|
1925
|
-
n = new IntersectionObserver(y,
|
|
1924
|
+
n = new IntersectionObserver(y, _);
|
|
1926
1925
|
}
|
|
1927
1926
|
n.observe(e);
|
|
1928
1927
|
}
|
|
1929
1928
|
return s(!0), o;
|
|
1930
1929
|
}
|
|
1931
|
-
function
|
|
1930
|
+
function Ni(e, t, n, r) {
|
|
1932
1931
|
r === void 0 && (r = {});
|
|
1933
1932
|
const {
|
|
1934
1933
|
ancestorScroll: i = !0,
|
|
@@ -1936,17 +1935,17 @@ function Vi(e, t, n, r) {
|
|
|
1936
1935
|
elementResize: s = typeof ResizeObserver == "function",
|
|
1937
1936
|
layoutShift: c = typeof IntersectionObserver == "function",
|
|
1938
1937
|
animationFrame: a = !1
|
|
1939
|
-
} = r, u =
|
|
1940
|
-
d.forEach((
|
|
1941
|
-
i &&
|
|
1938
|
+
} = r, u = Yt(e), d = i || o ? [...u ? Xe(u) : [], ...Xe(t)] : [];
|
|
1939
|
+
d.forEach((w) => {
|
|
1940
|
+
i && w.addEventListener("scroll", n, {
|
|
1942
1941
|
passive: !0
|
|
1943
|
-
}), o &&
|
|
1942
|
+
}), o && w.addEventListener("resize", n);
|
|
1944
1943
|
});
|
|
1945
|
-
const h = u && c ?
|
|
1944
|
+
const h = u && c ? Vi(u, n) : null;
|
|
1946
1945
|
let f = -1, g = null;
|
|
1947
|
-
s && (g = new ResizeObserver((
|
|
1948
|
-
let [
|
|
1949
|
-
|
|
1946
|
+
s && (g = new ResizeObserver((w) => {
|
|
1947
|
+
let [_] = w;
|
|
1948
|
+
_ && _.target === u && g && (g.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
1950
1949
|
var O;
|
|
1951
1950
|
(O = g) == null || O.observe(t);
|
|
1952
1951
|
})), n();
|
|
@@ -1954,49 +1953,49 @@ function Vi(e, t, n, r) {
|
|
|
1954
1953
|
let b, E = a ? Ae(e) : null;
|
|
1955
1954
|
a && S();
|
|
1956
1955
|
function S() {
|
|
1957
|
-
const
|
|
1958
|
-
E && (
|
|
1956
|
+
const w = Ae(e);
|
|
1957
|
+
E && (w.x !== E.x || w.y !== E.y || w.width !== E.width || w.height !== E.height) && n(), E = w, b = requestAnimationFrame(S);
|
|
1959
1958
|
}
|
|
1960
1959
|
return n(), () => {
|
|
1961
|
-
var
|
|
1962
|
-
d.forEach((
|
|
1963
|
-
i &&
|
|
1964
|
-
}), h == null || h(), (
|
|
1960
|
+
var w;
|
|
1961
|
+
d.forEach((_) => {
|
|
1962
|
+
i && _.removeEventListener("scroll", n), o && _.removeEventListener("resize", n);
|
|
1963
|
+
}), h == null || h(), (w = g) == null || w.disconnect(), g = null, a && cancelAnimationFrame(b);
|
|
1965
1964
|
};
|
|
1966
1965
|
}
|
|
1967
|
-
const
|
|
1966
|
+
const Wi = _i, Yi = xi, Ui = Ei, qi = yi, zi = Si, Ji = (e, t, n) => {
|
|
1968
1967
|
const r = /* @__PURE__ */ new Map(), i = J({
|
|
1969
|
-
platform:
|
|
1968
|
+
platform: Bi
|
|
1970
1969
|
}, n), o = J({}, i.platform, {
|
|
1971
1970
|
_c: r
|
|
1972
1971
|
});
|
|
1973
|
-
return
|
|
1972
|
+
return bi(e, t, J({}, i, {
|
|
1974
1973
|
platform: o
|
|
1975
1974
|
}));
|
|
1976
1975
|
};
|
|
1977
|
-
function
|
|
1976
|
+
function Ki(e) {
|
|
1978
1977
|
e.cleanup && e.cleanup();
|
|
1979
1978
|
const t = e._getResolvedAttachToOptions();
|
|
1980
1979
|
let n = t.element;
|
|
1981
|
-
const r =
|
|
1982
|
-
return i && (n = document.body, e.shepherdElementComponent.getElement().classList.add("shepherd-centered")), e.cleanup =
|
|
1980
|
+
const r = to(t, e), i = Wn(t);
|
|
1981
|
+
return i && (n = document.body, e.shepherdElementComponent.getElement().classList.add("shepherd-centered")), e.cleanup = Ni(n, e.el, () => {
|
|
1983
1982
|
if (!e.el) {
|
|
1984
1983
|
e.cleanup == null || e.cleanup();
|
|
1985
1984
|
return;
|
|
1986
1985
|
}
|
|
1987
|
-
|
|
1986
|
+
Zi(n, e, r, i);
|
|
1988
1987
|
}), e.target = t.element, r;
|
|
1989
1988
|
}
|
|
1990
|
-
function
|
|
1989
|
+
function Xi(e, t) {
|
|
1991
1990
|
return {
|
|
1992
|
-
floatingUIOptions:
|
|
1991
|
+
floatingUIOptions: Dt(e.floatingUIOptions || {}, t.floatingUIOptions || {})
|
|
1993
1992
|
};
|
|
1994
1993
|
}
|
|
1995
|
-
function
|
|
1994
|
+
function Gi(e) {
|
|
1996
1995
|
e.cleanup && e.cleanup(), e.cleanup = null;
|
|
1997
1996
|
}
|
|
1998
|
-
function
|
|
1999
|
-
return
|
|
1997
|
+
function Zi(e, t, n, r) {
|
|
1998
|
+
return Ji(e, t.el, n).then(Qi(t, r)).then((i) => new Promise((o) => {
|
|
2000
1999
|
setTimeout(() => o(i), 300);
|
|
2001
2000
|
})).then((i) => {
|
|
2002
2001
|
i != null && i.el && i.el.focus({
|
|
@@ -2004,7 +2003,7 @@ function Gi(e, t, n, r) {
|
|
|
2004
2003
|
});
|
|
2005
2004
|
});
|
|
2006
2005
|
}
|
|
2007
|
-
function
|
|
2006
|
+
function Qi(e, t) {
|
|
2008
2007
|
return ({
|
|
2009
2008
|
x: n,
|
|
2010
2009
|
y: r,
|
|
@@ -2019,9 +2018,9 @@ function Zi(e, t) {
|
|
|
2019
2018
|
position: "absolute",
|
|
2020
2019
|
left: `${n}px`,
|
|
2021
2020
|
top: `${r}px`
|
|
2022
|
-
}), e.el.dataset.popperPlacement = i,
|
|
2021
|
+
}), e.el.dataset.popperPlacement = i, eo(e.el, o)), e);
|
|
2023
2022
|
}
|
|
2024
|
-
function
|
|
2023
|
+
function eo(e, t) {
|
|
2025
2024
|
const n = e.querySelector(".shepherd-arrow");
|
|
2026
2025
|
if (He(n) && t.arrow) {
|
|
2027
2026
|
const {
|
|
@@ -2034,41 +2033,47 @@ function Qi(e, t) {
|
|
|
2034
2033
|
});
|
|
2035
2034
|
}
|
|
2036
2035
|
}
|
|
2037
|
-
function
|
|
2036
|
+
function to(e, t) {
|
|
2038
2037
|
var n, r, i;
|
|
2039
2038
|
const o = {
|
|
2040
2039
|
strategy: "absolute"
|
|
2041
2040
|
};
|
|
2042
2041
|
o.middleware = [];
|
|
2043
|
-
const s =
|
|
2042
|
+
const s = no(t), c = Wn(e), a = (n = e.on) == null ? void 0 : n.includes("auto"), u = (e == null || (r = e.on) == null ? void 0 : r.includes("-start")) || (e == null || (i = e.on) == null ? void 0 : i.includes("-end"));
|
|
2044
2043
|
if (!c) {
|
|
2045
2044
|
if (a) {
|
|
2046
2045
|
var d;
|
|
2047
|
-
o.middleware.push(
|
|
2046
|
+
o.middleware.push(Wi({
|
|
2048
2047
|
crossAxis: !0,
|
|
2049
2048
|
alignment: u ? e == null || (d = e.on) == null ? void 0 : d.split("-").pop() : null
|
|
2050
2049
|
}));
|
|
2051
2050
|
} else
|
|
2052
|
-
o.middleware.push(
|
|
2053
|
-
o.middleware.push(
|
|
2051
|
+
o.middleware.push(Ui());
|
|
2052
|
+
if (o.middleware.push(
|
|
2054
2053
|
// Replicate PopperJS default behavior.
|
|
2055
|
-
|
|
2056
|
-
limiter:
|
|
2054
|
+
Yi({
|
|
2055
|
+
limiter: zi(),
|
|
2057
2056
|
crossAxis: !0
|
|
2058
2057
|
})
|
|
2059
|
-
), s
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2058
|
+
), s) {
|
|
2059
|
+
const h = typeof t.options.arrow == "object" ? t.options.arrow : {
|
|
2060
|
+
padding: 4
|
|
2061
|
+
};
|
|
2062
|
+
o.middleware.push(qi({
|
|
2063
|
+
element: s,
|
|
2064
|
+
padding: u ? h.padding : 0
|
|
2065
|
+
}));
|
|
2066
|
+
}
|
|
2067
|
+
a || (o.placement = e.on);
|
|
2063
2068
|
}
|
|
2064
|
-
return
|
|
2069
|
+
return Dt(o, t.options.floatingUIOptions || {});
|
|
2065
2070
|
}
|
|
2066
|
-
function
|
|
2071
|
+
function no(e) {
|
|
2067
2072
|
return e.options.arrow && e.el ? e.el.querySelector(".shepherd-arrow") : !1;
|
|
2068
2073
|
}
|
|
2069
2074
|
function Z() {
|
|
2070
2075
|
}
|
|
2071
|
-
function
|
|
2076
|
+
function ro(e, t) {
|
|
2072
2077
|
for (const n in t) e[n] = t[n];
|
|
2073
2078
|
return (
|
|
2074
2079
|
/** @type {T & S} */
|
|
@@ -2081,16 +2086,16 @@ function er(e) {
|
|
|
2081
2086
|
function Sn() {
|
|
2082
2087
|
return /* @__PURE__ */ Object.create(null);
|
|
2083
2088
|
}
|
|
2084
|
-
function
|
|
2089
|
+
function Qe(e) {
|
|
2085
2090
|
e.forEach(er);
|
|
2086
2091
|
}
|
|
2087
|
-
function
|
|
2092
|
+
function qt(e) {
|
|
2088
2093
|
return typeof e == "function";
|
|
2089
2094
|
}
|
|
2090
2095
|
function pe(e, t) {
|
|
2091
2096
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
2092
2097
|
}
|
|
2093
|
-
function
|
|
2098
|
+
function io(e) {
|
|
2094
2099
|
return Object.keys(e).length === 0;
|
|
2095
2100
|
}
|
|
2096
2101
|
function Ne(e, t) {
|
|
@@ -2102,7 +2107,7 @@ function se(e, t, n) {
|
|
|
2102
2107
|
function te(e) {
|
|
2103
2108
|
e.parentNode && e.parentNode.removeChild(e);
|
|
2104
2109
|
}
|
|
2105
|
-
function
|
|
2110
|
+
function oo(e, t) {
|
|
2106
2111
|
for (let n = 0; n < e.length; n += 1)
|
|
2107
2112
|
e[n] && e[n].d(t);
|
|
2108
2113
|
}
|
|
@@ -2118,7 +2123,7 @@ function tr(e) {
|
|
|
2118
2123
|
function ht() {
|
|
2119
2124
|
return tr(" ");
|
|
2120
2125
|
}
|
|
2121
|
-
function
|
|
2126
|
+
function so() {
|
|
2122
2127
|
return tr("");
|
|
2123
2128
|
}
|
|
2124
2129
|
function vt(e, t, n, r) {
|
|
@@ -2127,76 +2132,76 @@ function vt(e, t, n, r) {
|
|
|
2127
2132
|
function M(e, t, n) {
|
|
2128
2133
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
2129
2134
|
}
|
|
2130
|
-
const
|
|
2135
|
+
const lo = ["width", "height"];
|
|
2131
2136
|
function Rn(e, t) {
|
|
2132
2137
|
const n = Object.getOwnPropertyDescriptors(e.__proto__);
|
|
2133
2138
|
for (const r in t)
|
|
2134
|
-
t[r] == null ? e.removeAttribute(r) : r === "style" ? e.style.cssText = t[r] : r === "__value" ? e.value = e[r] = t[r] : n[r] && n[r].set &&
|
|
2139
|
+
t[r] == null ? e.removeAttribute(r) : r === "style" ? e.style.cssText = t[r] : r === "__value" ? e.value = e[r] = t[r] : n[r] && n[r].set && lo.indexOf(r) === -1 ? e[r] = t[r] : M(e, r, t[r]);
|
|
2135
2140
|
}
|
|
2136
|
-
function
|
|
2141
|
+
function co(e) {
|
|
2137
2142
|
return Array.from(e.childNodes);
|
|
2138
2143
|
}
|
|
2139
2144
|
function Me(e, t, n) {
|
|
2140
2145
|
e.classList.toggle(t, !!n);
|
|
2141
2146
|
}
|
|
2142
|
-
let
|
|
2143
|
-
function
|
|
2144
|
-
|
|
2147
|
+
let Ge;
|
|
2148
|
+
function Je(e) {
|
|
2149
|
+
Ge = e;
|
|
2145
2150
|
}
|
|
2146
2151
|
function nr() {
|
|
2147
|
-
if (!
|
|
2148
|
-
return
|
|
2152
|
+
if (!Ge) throw new Error("Function called outside component initialization");
|
|
2153
|
+
return Ge;
|
|
2149
2154
|
}
|
|
2150
|
-
function
|
|
2155
|
+
function ao(e) {
|
|
2151
2156
|
nr().$$.on_mount.push(e);
|
|
2152
2157
|
}
|
|
2153
|
-
function
|
|
2158
|
+
function zt(e) {
|
|
2154
2159
|
nr().$$.after_update.push(e);
|
|
2155
2160
|
}
|
|
2156
2161
|
const Le = [], We = [];
|
|
2157
2162
|
let je = [];
|
|
2158
|
-
const Tn = [],
|
|
2159
|
-
let
|
|
2160
|
-
function
|
|
2161
|
-
|
|
2163
|
+
const Tn = [], uo = /* @__PURE__ */ Promise.resolve();
|
|
2164
|
+
let kt = !1;
|
|
2165
|
+
function fo() {
|
|
2166
|
+
kt || (kt = !0, uo.then(rr));
|
|
2162
2167
|
}
|
|
2163
|
-
function
|
|
2168
|
+
function It(e) {
|
|
2164
2169
|
je.push(e);
|
|
2165
2170
|
}
|
|
2166
|
-
const
|
|
2171
|
+
const Ct = /* @__PURE__ */ new Set();
|
|
2167
2172
|
let Fe = 0;
|
|
2168
2173
|
function rr() {
|
|
2169
2174
|
if (Fe !== 0)
|
|
2170
2175
|
return;
|
|
2171
|
-
const e =
|
|
2176
|
+
const e = Ge;
|
|
2172
2177
|
do {
|
|
2173
2178
|
try {
|
|
2174
2179
|
for (; Fe < Le.length; ) {
|
|
2175
2180
|
const t = Le[Fe];
|
|
2176
|
-
Fe++,
|
|
2181
|
+
Fe++, Je(t), ho(t.$$);
|
|
2177
2182
|
}
|
|
2178
2183
|
} catch (t) {
|
|
2179
2184
|
throw Le.length = 0, Fe = 0, t;
|
|
2180
2185
|
}
|
|
2181
|
-
for (
|
|
2186
|
+
for (Je(null), Le.length = 0, Fe = 0; We.length; ) We.pop()();
|
|
2182
2187
|
for (let t = 0; t < je.length; t += 1) {
|
|
2183
2188
|
const n = je[t];
|
|
2184
|
-
|
|
2189
|
+
Ct.has(n) || (Ct.add(n), n());
|
|
2185
2190
|
}
|
|
2186
2191
|
je.length = 0;
|
|
2187
2192
|
} while (Le.length);
|
|
2188
2193
|
for (; Tn.length; )
|
|
2189
2194
|
Tn.pop()();
|
|
2190
|
-
|
|
2195
|
+
kt = !1, Ct.clear(), Je(e);
|
|
2191
2196
|
}
|
|
2192
|
-
function
|
|
2197
|
+
function ho(e) {
|
|
2193
2198
|
if (e.fragment !== null) {
|
|
2194
|
-
e.update(),
|
|
2199
|
+
e.update(), Qe(e.before_update);
|
|
2195
2200
|
const t = e.dirty;
|
|
2196
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
2201
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(It);
|
|
2197
2202
|
}
|
|
2198
2203
|
}
|
|
2199
|
-
function
|
|
2204
|
+
function po(e) {
|
|
2200
2205
|
const t = [], n = [];
|
|
2201
2206
|
je.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), je = t;
|
|
2202
2207
|
}
|
|
@@ -2211,7 +2216,7 @@ function Re() {
|
|
|
2211
2216
|
};
|
|
2212
2217
|
}
|
|
2213
2218
|
function Te() {
|
|
2214
|
-
xe.r ||
|
|
2219
|
+
xe.r || Qe(xe.c), xe = xe.p;
|
|
2215
2220
|
}
|
|
2216
2221
|
function k(e, t) {
|
|
2217
2222
|
e && e.i && (ct.delete(e), e.i(t));
|
|
@@ -2227,7 +2232,7 @@ function H(e, t, n, r) {
|
|
|
2227
2232
|
function Cn(e) {
|
|
2228
2233
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
2229
2234
|
}
|
|
2230
|
-
function
|
|
2235
|
+
function go(e, t) {
|
|
2231
2236
|
const n = {}, r = {}, i = {
|
|
2232
2237
|
$$scope: 1
|
|
2233
2238
|
};
|
|
@@ -2256,21 +2261,21 @@ function we(e, t, n) {
|
|
|
2256
2261
|
fragment: r,
|
|
2257
2262
|
after_update: i
|
|
2258
2263
|
} = e.$$;
|
|
2259
|
-
r && r.m(t, n),
|
|
2260
|
-
const o = e.$$.on_mount.map(er).filter(
|
|
2261
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
2262
|
-
}), i.forEach(
|
|
2264
|
+
r && r.m(t, n), It(() => {
|
|
2265
|
+
const o = e.$$.on_mount.map(er).filter(qt);
|
|
2266
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Qe(o), e.$$.on_mount = [];
|
|
2267
|
+
}), i.forEach(It);
|
|
2263
2268
|
}
|
|
2264
2269
|
function _e(e, t) {
|
|
2265
2270
|
const n = e.$$;
|
|
2266
|
-
n.fragment !== null && (
|
|
2271
|
+
n.fragment !== null && (po(n.after_update), Qe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
2267
2272
|
}
|
|
2268
|
-
function
|
|
2269
|
-
e.$$.dirty[0] === -1 && (Le.push(e),
|
|
2273
|
+
function mo(e, t) {
|
|
2274
|
+
e.$$.dirty[0] === -1 && (Le.push(e), fo(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
2270
2275
|
}
|
|
2271
2276
|
function ge(e, t, n, r, i, o, s = null, c = [-1]) {
|
|
2272
|
-
const a =
|
|
2273
|
-
|
|
2277
|
+
const a = Ge;
|
|
2278
|
+
Je(e);
|
|
2274
2279
|
const u = e.$$ = {
|
|
2275
2280
|
fragment: null,
|
|
2276
2281
|
ctx: [],
|
|
@@ -2296,16 +2301,16 @@ function ge(e, t, n, r, i, o, s = null, c = [-1]) {
|
|
|
2296
2301
|
let d = !1;
|
|
2297
2302
|
if (u.ctx = n ? n(e, t.props || {}, (h, f, ...g) => {
|
|
2298
2303
|
const b = g.length ? g[0] : f;
|
|
2299
|
-
return u.ctx && i(u.ctx[h], u.ctx[h] = b) && (!u.skip_bound && u.bound[h] && u.bound[h](b), d &&
|
|
2300
|
-
}) : [], u.update(), d = !0,
|
|
2304
|
+
return u.ctx && i(u.ctx[h], u.ctx[h] = b) && (!u.skip_bound && u.bound[h] && u.bound[h](b), d && mo(e, h)), f;
|
|
2305
|
+
}) : [], u.update(), d = !0, Qe(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
|
|
2301
2306
|
if (t.hydrate) {
|
|
2302
|
-
const h =
|
|
2307
|
+
const h = co(t.target);
|
|
2303
2308
|
u.fragment && u.fragment.l(h), h.forEach(te);
|
|
2304
2309
|
} else
|
|
2305
2310
|
u.fragment && u.fragment.c();
|
|
2306
2311
|
t.intro && k(e.$$.fragment), we(e, t.target, t.anchor), rr();
|
|
2307
2312
|
}
|
|
2308
|
-
|
|
2313
|
+
Je(a);
|
|
2309
2314
|
}
|
|
2310
2315
|
class me {
|
|
2311
2316
|
constructor() {
|
|
@@ -2322,7 +2327,7 @@ class me {
|
|
|
2322
2327
|
* @returns {() => void}
|
|
2323
2328
|
*/
|
|
2324
2329
|
$on(t, n) {
|
|
2325
|
-
if (!
|
|
2330
|
+
if (!qt(n))
|
|
2326
2331
|
return Z;
|
|
2327
2332
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
2328
2333
|
return r.push(n), () => {
|
|
@@ -2335,14 +2340,14 @@ class me {
|
|
|
2335
2340
|
* @returns {void}
|
|
2336
2341
|
*/
|
|
2337
2342
|
$set(t) {
|
|
2338
|
-
this.$$set && !
|
|
2343
|
+
this.$$set && !io(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
2339
2344
|
}
|
|
2340
2345
|
}
|
|
2341
|
-
const
|
|
2346
|
+
const vo = "4";
|
|
2342
2347
|
typeof window < "u" && (window.__svelte || (window.__svelte = {
|
|
2343
2348
|
v: /* @__PURE__ */ new Set()
|
|
2344
|
-
})).v.add(
|
|
2345
|
-
function
|
|
2349
|
+
})).v.add(vo);
|
|
2350
|
+
function bo(e) {
|
|
2346
2351
|
let t, n, r, i, o;
|
|
2347
2352
|
return {
|
|
2348
2353
|
c() {
|
|
@@ -2358,7 +2363,7 @@ function vo(e) {
|
|
|
2358
2363
|
m(s, c) {
|
|
2359
2364
|
se(s, t, c), t.innerHTML = /*text*/
|
|
2360
2365
|
e[5], i || (o = vt(t, "click", function() {
|
|
2361
|
-
|
|
2366
|
+
qt(
|
|
2362
2367
|
/*action*/
|
|
2363
2368
|
e[0]
|
|
2364
2369
|
) && e[0].apply(this, arguments);
|
|
@@ -2386,7 +2391,7 @@ function vo(e) {
|
|
|
2386
2391
|
}
|
|
2387
2392
|
};
|
|
2388
2393
|
}
|
|
2389
|
-
function
|
|
2394
|
+
function yo(e, t, n) {
|
|
2390
2395
|
let {
|
|
2391
2396
|
config: r,
|
|
2392
2397
|
step: i
|
|
@@ -2401,9 +2406,9 @@ function bo(e, t, n) {
|
|
|
2401
2406
|
192 && (n(0, o = r.action ? r.action.bind(i.tour) : null), n(1, s = r.classes), n(2, c = r.disabled ? h(r.disabled) : !1), n(3, a = r.label ? h(r.label) : null), n(4, u = r.secondary), n(5, d = r.text ? h(r.text) : null));
|
|
2402
2407
|
}, [o, s, c, a, u, d, r, i];
|
|
2403
2408
|
}
|
|
2404
|
-
class
|
|
2409
|
+
class wo extends me {
|
|
2405
2410
|
constructor(t) {
|
|
2406
|
-
super(), ge(this, t,
|
|
2411
|
+
super(), ge(this, t, yo, bo, pe, {
|
|
2407
2412
|
config: 6,
|
|
2408
2413
|
step: 7
|
|
2409
2414
|
});
|
|
@@ -2427,7 +2432,7 @@ function Pn(e) {
|
|
|
2427
2432
|
c() {
|
|
2428
2433
|
for (let s = 0; s < i.length; s += 1)
|
|
2429
2434
|
i[s].c();
|
|
2430
|
-
t =
|
|
2435
|
+
t = so();
|
|
2431
2436
|
},
|
|
2432
2437
|
m(s, c) {
|
|
2433
2438
|
for (let a = 0; a < i.length; a += 1)
|
|
@@ -2465,13 +2470,13 @@ function Pn(e) {
|
|
|
2465
2470
|
n = !1;
|
|
2466
2471
|
},
|
|
2467
2472
|
d(s) {
|
|
2468
|
-
s && te(t),
|
|
2473
|
+
s && te(t), oo(i, s);
|
|
2469
2474
|
}
|
|
2470
2475
|
};
|
|
2471
2476
|
}
|
|
2472
2477
|
function kn(e) {
|
|
2473
2478
|
let t, n;
|
|
2474
|
-
return t = new
|
|
2479
|
+
return t = new wo({
|
|
2475
2480
|
props: {
|
|
2476
2481
|
config: (
|
|
2477
2482
|
/*config*/
|
|
@@ -2508,7 +2513,7 @@ function kn(e) {
|
|
|
2508
2513
|
}
|
|
2509
2514
|
};
|
|
2510
2515
|
}
|
|
2511
|
-
function
|
|
2516
|
+
function _o(e) {
|
|
2512
2517
|
let t, n, r = (
|
|
2513
2518
|
/*buttons*/
|
|
2514
2519
|
e[1] && Pn(e)
|
|
@@ -2538,7 +2543,7 @@ function wo(e) {
|
|
|
2538
2543
|
}
|
|
2539
2544
|
};
|
|
2540
2545
|
}
|
|
2541
|
-
function
|
|
2546
|
+
function Eo(e, t, n) {
|
|
2542
2547
|
let r, {
|
|
2543
2548
|
step: i
|
|
2544
2549
|
} = t;
|
|
@@ -2549,14 +2554,14 @@ function _o(e, t, n) {
|
|
|
2549
2554
|
1 && n(1, r = i.options.buttons);
|
|
2550
2555
|
}, [i, r];
|
|
2551
2556
|
}
|
|
2552
|
-
class
|
|
2557
|
+
class xo extends me {
|
|
2553
2558
|
constructor(t) {
|
|
2554
|
-
super(), ge(this, t,
|
|
2559
|
+
super(), ge(this, t, Eo, _o, pe, {
|
|
2555
2560
|
step: 0
|
|
2556
2561
|
});
|
|
2557
2562
|
}
|
|
2558
2563
|
}
|
|
2559
|
-
function
|
|
2564
|
+
function So(e) {
|
|
2560
2565
|
let t, n, r, i, o;
|
|
2561
2566
|
return {
|
|
2562
2567
|
c() {
|
|
@@ -2589,7 +2594,7 @@ function xo(e) {
|
|
|
2589
2594
|
}
|
|
2590
2595
|
};
|
|
2591
2596
|
}
|
|
2592
|
-
function
|
|
2597
|
+
function Oo(e, t, n) {
|
|
2593
2598
|
let {
|
|
2594
2599
|
cancelIcon: r,
|
|
2595
2600
|
step: i
|
|
@@ -2601,15 +2606,15 @@ function So(e, t, n) {
|
|
|
2601
2606
|
"cancelIcon" in s && n(0, r = s.cancelIcon), "step" in s && n(2, i = s.step);
|
|
2602
2607
|
}, [r, o, i];
|
|
2603
2608
|
}
|
|
2604
|
-
class
|
|
2609
|
+
class Ro extends me {
|
|
2605
2610
|
constructor(t) {
|
|
2606
|
-
super(), ge(this, t,
|
|
2611
|
+
super(), ge(this, t, Oo, So, pe, {
|
|
2607
2612
|
cancelIcon: 0,
|
|
2608
2613
|
step: 2
|
|
2609
2614
|
});
|
|
2610
2615
|
}
|
|
2611
2616
|
}
|
|
2612
|
-
function
|
|
2617
|
+
function To(e) {
|
|
2613
2618
|
let t;
|
|
2614
2619
|
return {
|
|
2615
2620
|
c() {
|
|
@@ -2639,13 +2644,13 @@ function Ro(e) {
|
|
|
2639
2644
|
}
|
|
2640
2645
|
};
|
|
2641
2646
|
}
|
|
2642
|
-
function
|
|
2647
|
+
function Co(e, t, n) {
|
|
2643
2648
|
let {
|
|
2644
2649
|
labelId: r,
|
|
2645
2650
|
element: i,
|
|
2646
2651
|
title: o
|
|
2647
2652
|
} = t;
|
|
2648
|
-
|
|
2653
|
+
zt(() => {
|
|
2649
2654
|
ve(o) && n(2, o = o()), n(0, i.innerHTML = o, i);
|
|
2650
2655
|
});
|
|
2651
2656
|
function s(c) {
|
|
@@ -2657,9 +2662,9 @@ function To(e, t, n) {
|
|
|
2657
2662
|
"labelId" in c && n(1, r = c.labelId), "element" in c && n(0, i = c.element), "title" in c && n(2, o = c.title);
|
|
2658
2663
|
}, [i, r, o, s];
|
|
2659
2664
|
}
|
|
2660
|
-
class
|
|
2665
|
+
class Ao extends me {
|
|
2661
2666
|
constructor(t) {
|
|
2662
|
-
super(), ge(this, t,
|
|
2667
|
+
super(), ge(this, t, Co, To, pe, {
|
|
2663
2668
|
labelId: 1,
|
|
2664
2669
|
element: 0,
|
|
2665
2670
|
title: 2
|
|
@@ -2668,7 +2673,7 @@ class Co extends me {
|
|
|
2668
2673
|
}
|
|
2669
2674
|
function In(e) {
|
|
2670
2675
|
let t, n;
|
|
2671
|
-
return t = new
|
|
2676
|
+
return t = new Ao({
|
|
2672
2677
|
props: {
|
|
2673
2678
|
labelId: (
|
|
2674
2679
|
/*labelId*/
|
|
@@ -2707,7 +2712,7 @@ function In(e) {
|
|
|
2707
2712
|
}
|
|
2708
2713
|
function Mn(e) {
|
|
2709
2714
|
let t, n;
|
|
2710
|
-
return t = new
|
|
2715
|
+
return t = new Ro({
|
|
2711
2716
|
props: {
|
|
2712
2717
|
cancelIcon: (
|
|
2713
2718
|
/*cancelIcon*/
|
|
@@ -2744,7 +2749,7 @@ function Mn(e) {
|
|
|
2744
2749
|
}
|
|
2745
2750
|
};
|
|
2746
2751
|
}
|
|
2747
|
-
function
|
|
2752
|
+
function Po(e) {
|
|
2748
2753
|
let t, n, r, i = (
|
|
2749
2754
|
/*title*/
|
|
2750
2755
|
e[2] && In(e)
|
|
@@ -2783,7 +2788,7 @@ function Ao(e) {
|
|
|
2783
2788
|
}
|
|
2784
2789
|
};
|
|
2785
2790
|
}
|
|
2786
|
-
function
|
|
2791
|
+
function ko(e, t, n) {
|
|
2787
2792
|
let {
|
|
2788
2793
|
labelId: r,
|
|
2789
2794
|
step: i
|
|
@@ -2795,15 +2800,15 @@ function Po(e, t, n) {
|
|
|
2795
2800
|
2 && (n(2, o = i.options.title), n(3, s = i.options.cancelIcon));
|
|
2796
2801
|
}, [r, i, o, s];
|
|
2797
2802
|
}
|
|
2798
|
-
class
|
|
2803
|
+
class Io extends me {
|
|
2799
2804
|
constructor(t) {
|
|
2800
|
-
super(), ge(this, t,
|
|
2805
|
+
super(), ge(this, t, ko, Po, pe, {
|
|
2801
2806
|
labelId: 0,
|
|
2802
2807
|
step: 1
|
|
2803
2808
|
});
|
|
2804
2809
|
}
|
|
2805
2810
|
}
|
|
2806
|
-
function
|
|
2811
|
+
function Mo(e) {
|
|
2807
2812
|
let t;
|
|
2808
2813
|
return {
|
|
2809
2814
|
c() {
|
|
@@ -2833,13 +2838,13 @@ function Io(e) {
|
|
|
2833
2838
|
}
|
|
2834
2839
|
};
|
|
2835
2840
|
}
|
|
2836
|
-
function
|
|
2841
|
+
function Fo(e, t, n) {
|
|
2837
2842
|
let {
|
|
2838
2843
|
descriptionId: r,
|
|
2839
2844
|
element: i,
|
|
2840
2845
|
step: o
|
|
2841
2846
|
} = t;
|
|
2842
|
-
|
|
2847
|
+
zt(() => {
|
|
2843
2848
|
let {
|
|
2844
2849
|
text: c
|
|
2845
2850
|
} = o.options;
|
|
@@ -2854,9 +2859,9 @@ function Mo(e, t, n) {
|
|
|
2854
2859
|
"descriptionId" in c && n(1, r = c.descriptionId), "element" in c && n(0, i = c.element), "step" in c && n(2, o = c.step);
|
|
2855
2860
|
}, [i, r, o, s];
|
|
2856
2861
|
}
|
|
2857
|
-
class
|
|
2862
|
+
class Lo extends me {
|
|
2858
2863
|
constructor(t) {
|
|
2859
|
-
super(), ge(this, t,
|
|
2864
|
+
super(), ge(this, t, Fo, Mo, pe, {
|
|
2860
2865
|
descriptionId: 1,
|
|
2861
2866
|
element: 0,
|
|
2862
2867
|
step: 2
|
|
@@ -2865,7 +2870,7 @@ class Fo extends me {
|
|
|
2865
2870
|
}
|
|
2866
2871
|
function Fn(e) {
|
|
2867
2872
|
let t, n;
|
|
2868
|
-
return t = new
|
|
2873
|
+
return t = new Io({
|
|
2869
2874
|
props: {
|
|
2870
2875
|
labelId: (
|
|
2871
2876
|
/*labelId*/
|
|
@@ -2904,7 +2909,7 @@ function Fn(e) {
|
|
|
2904
2909
|
}
|
|
2905
2910
|
function Ln(e) {
|
|
2906
2911
|
let t, n;
|
|
2907
|
-
return t = new
|
|
2912
|
+
return t = new Lo({
|
|
2908
2913
|
props: {
|
|
2909
2914
|
descriptionId: (
|
|
2910
2915
|
/*descriptionId*/
|
|
@@ -2943,7 +2948,7 @@ function Ln(e) {
|
|
|
2943
2948
|
}
|
|
2944
2949
|
function Dn(e) {
|
|
2945
2950
|
let t, n;
|
|
2946
|
-
return t = new
|
|
2951
|
+
return t = new xo({
|
|
2947
2952
|
props: {
|
|
2948
2953
|
step: (
|
|
2949
2954
|
/*step*/
|
|
@@ -2974,7 +2979,7 @@ function Dn(e) {
|
|
|
2974
2979
|
}
|
|
2975
2980
|
};
|
|
2976
2981
|
}
|
|
2977
|
-
function
|
|
2982
|
+
function Do(e) {
|
|
2978
2983
|
let t, n = !U(
|
|
2979
2984
|
/*step*/
|
|
2980
2985
|
e[2].options.title
|
|
@@ -3033,7 +3038,7 @@ function Lo(e) {
|
|
|
3033
3038
|
}
|
|
3034
3039
|
};
|
|
3035
3040
|
}
|
|
3036
|
-
function
|
|
3041
|
+
function jo(e, t, n) {
|
|
3037
3042
|
let {
|
|
3038
3043
|
descriptionId: r,
|
|
3039
3044
|
labelId: i,
|
|
@@ -3043,9 +3048,9 @@ function Do(e, t, n) {
|
|
|
3043
3048
|
"descriptionId" in s && n(0, r = s.descriptionId), "labelId" in s && n(1, i = s.labelId), "step" in s && n(2, o = s.step);
|
|
3044
3049
|
}, [r, i, o];
|
|
3045
3050
|
}
|
|
3046
|
-
class
|
|
3051
|
+
class Ho extends me {
|
|
3047
3052
|
constructor(t) {
|
|
3048
|
-
super(), ge(this, t,
|
|
3053
|
+
super(), ge(this, t, jo, Do, pe, {
|
|
3049
3054
|
descriptionId: 0,
|
|
3050
3055
|
labelId: 1,
|
|
3051
3056
|
step: 2
|
|
@@ -3066,7 +3071,7 @@ function jn(e) {
|
|
|
3066
3071
|
}
|
|
3067
3072
|
};
|
|
3068
3073
|
}
|
|
3069
|
-
function
|
|
3074
|
+
function $o(e) {
|
|
3070
3075
|
let t, n, r, i, o, s, c, a, u = (
|
|
3071
3076
|
/*step*/
|
|
3072
3077
|
e[4].options.arrow && /*step*/
|
|
@@ -3074,7 +3079,7 @@ function Ho(e) {
|
|
|
3074
3079
|
e[4].options.attachTo.element && /*step*/
|
|
3075
3080
|
e[4].options.attachTo.on && jn()
|
|
3076
3081
|
);
|
|
3077
|
-
r = new
|
|
3082
|
+
r = new Ho({
|
|
3078
3083
|
props: {
|
|
3079
3084
|
descriptionId: (
|
|
3080
3085
|
/*descriptionId*/
|
|
@@ -3114,7 +3119,7 @@ function Ho(e) {
|
|
|
3114
3119
|
}
|
|
3115
3120
|
], h = {};
|
|
3116
3121
|
for (let f = 0; f < d.length; f += 1)
|
|
3117
|
-
h =
|
|
3122
|
+
h = ro(h, d[f]);
|
|
3118
3123
|
return {
|
|
3119
3124
|
c() {
|
|
3120
3125
|
t = ae("dialog"), u && u.c(), n = ht(), Pe(r.$$.fragment), Rn(t, h), Me(
|
|
@@ -3150,7 +3155,7 @@ function Ho(e) {
|
|
|
3150
3155
|
8 && (b.labelId = /*labelId*/
|
|
3151
3156
|
f[3]), g & /*step*/
|
|
3152
3157
|
16 && (b.step = /*step*/
|
|
3153
|
-
f[4]), r.$set(b), Rn(t, h =
|
|
3158
|
+
f[4]), r.$set(b), Rn(t, h = go(d, [(!s || g & /*step, descriptionId*/
|
|
3154
3159
|
20 && i !== (i = U(
|
|
3155
3160
|
/*step*/
|
|
3156
3161
|
f[4].options.text
|
|
@@ -3193,11 +3198,11 @@ function Ho(e) {
|
|
|
3193
3198
|
}
|
|
3194
3199
|
};
|
|
3195
3200
|
}
|
|
3196
|
-
const
|
|
3201
|
+
const Bo = 9, Vo = 27, No = 37, Wo = 39;
|
|
3197
3202
|
function Hn(e) {
|
|
3198
3203
|
return e.split(" ").filter((t) => !!t.length);
|
|
3199
3204
|
}
|
|
3200
|
-
function
|
|
3205
|
+
function Yo(e, t, n) {
|
|
3201
3206
|
let {
|
|
3202
3207
|
classPrefix: r,
|
|
3203
3208
|
element: i,
|
|
@@ -3210,24 +3215,24 @@ function Wo(e, t, n) {
|
|
|
3210
3215
|
dataStepId: h
|
|
3211
3216
|
} = t, f, g, b;
|
|
3212
3217
|
const E = () => i;
|
|
3213
|
-
|
|
3218
|
+
ao(() => {
|
|
3214
3219
|
n(1, h = {
|
|
3215
3220
|
[`data-${r}shepherd-step-id`]: d.id
|
|
3216
3221
|
}), n(9, c = i.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]')), n(8, s = c[0]), n(10, u = c[c.length - 1]);
|
|
3217
|
-
}),
|
|
3222
|
+
}), zt(() => {
|
|
3218
3223
|
b !== d.options.classes && S();
|
|
3219
3224
|
});
|
|
3220
3225
|
function S() {
|
|
3221
|
-
|
|
3226
|
+
w(b), b = d.options.classes, _(b);
|
|
3222
3227
|
}
|
|
3223
|
-
function
|
|
3224
|
-
if (
|
|
3228
|
+
function w(m) {
|
|
3229
|
+
if (Ke(m)) {
|
|
3225
3230
|
const R = Hn(m);
|
|
3226
3231
|
R.length && i.classList.remove(...R);
|
|
3227
3232
|
}
|
|
3228
3233
|
}
|
|
3229
|
-
function
|
|
3230
|
-
if (
|
|
3234
|
+
function _(m) {
|
|
3235
|
+
if (Ke(m)) {
|
|
3231
3236
|
const R = Hn(m);
|
|
3232
3237
|
R.length && i.classList.add(...R);
|
|
3233
3238
|
}
|
|
@@ -3237,20 +3242,20 @@ function Wo(e, t, n) {
|
|
|
3237
3242
|
tour: R
|
|
3238
3243
|
} = d;
|
|
3239
3244
|
switch (m.keyCode) {
|
|
3240
|
-
case
|
|
3245
|
+
case Bo:
|
|
3241
3246
|
if (c.length === 0) {
|
|
3242
3247
|
m.preventDefault();
|
|
3243
3248
|
break;
|
|
3244
3249
|
}
|
|
3245
3250
|
m.shiftKey ? (document.activeElement === s || document.activeElement.classList.contains("shepherd-element")) && (m.preventDefault(), u.focus()) : document.activeElement === u && (m.preventDefault(), s.focus());
|
|
3246
3251
|
break;
|
|
3247
|
-
case
|
|
3252
|
+
case Vo:
|
|
3248
3253
|
R.options.exitOnEsc && (m.preventDefault(), m.stopPropagation(), d.cancel());
|
|
3249
3254
|
break;
|
|
3250
|
-
case
|
|
3255
|
+
case No:
|
|
3251
3256
|
R.options.keyboardNavigation && (m.preventDefault(), m.stopPropagation(), R.back());
|
|
3252
3257
|
break;
|
|
3253
|
-
case
|
|
3258
|
+
case Wo:
|
|
3254
3259
|
R.options.keyboardNavigation && (m.preventDefault(), m.stopPropagation(), R.next());
|
|
3255
3260
|
break;
|
|
3256
3261
|
}
|
|
@@ -3267,9 +3272,9 @@ function Wo(e, t, n) {
|
|
|
3267
3272
|
16 && (n(5, f = d.options && d.options.cancelIcon && d.options.cancelIcon.enabled), n(6, g = d.options && d.options.title));
|
|
3268
3273
|
}, [i, h, o, a, d, f, g, O, s, c, u, r, E, y];
|
|
3269
3274
|
}
|
|
3270
|
-
class
|
|
3275
|
+
class Uo extends me {
|
|
3271
3276
|
constructor(t) {
|
|
3272
|
-
super(), ge(this, t,
|
|
3277
|
+
super(), ge(this, t, Yo, $o, pe, {
|
|
3273
3278
|
classPrefix: 11,
|
|
3274
3279
|
element: 0,
|
|
3275
3280
|
descriptionId: 2,
|
|
@@ -3286,9 +3291,9 @@ class Yo extends me {
|
|
|
3286
3291
|
return this.$$.ctx[12];
|
|
3287
3292
|
}
|
|
3288
3293
|
}
|
|
3289
|
-
class
|
|
3294
|
+
class Mt extends Ft {
|
|
3290
3295
|
constructor(t, n = {}) {
|
|
3291
|
-
return super(), this._resolvedAttachTo = void 0, this._resolvedExtraHighlightElements = void 0, this.classPrefix = void 0, this.el = void 0, this.target = void 0, this.tour = void 0, this.tour = t, this.classPrefix = this.tour.options ? Nn(this.tour.options.classPrefix) : "", this.styles = t.styles, this._resolvedAttachTo = null,
|
|
3296
|
+
return super(), this._resolvedAttachTo = void 0, this._resolvedExtraHighlightElements = void 0, this.classPrefix = void 0, this.el = void 0, this.target = void 0, this.tour = void 0, this.tour = t, this.classPrefix = this.tour.options ? Nn(this.tour.options.classPrefix) : "", this.styles = t.styles, this._resolvedAttachTo = null, jt(this), this._setOptions(n), this;
|
|
3292
3297
|
}
|
|
3293
3298
|
/**
|
|
3294
3299
|
* Cancel the tour
|
|
@@ -3309,7 +3314,7 @@ class Lt extends Dt {
|
|
|
3309
3314
|
* Triggers `destroy` event
|
|
3310
3315
|
*/
|
|
3311
3316
|
destroy() {
|
|
3312
|
-
|
|
3317
|
+
Gi(this), He(this.el) && (this.el.remove(), this.el = null), this._updateStepTargetOnHide(), this.trigger("destroy");
|
|
3313
3318
|
}
|
|
3314
3319
|
/**
|
|
3315
3320
|
* Returns the tour for the step
|
|
@@ -3330,14 +3335,14 @@ class Lt extends Dt {
|
|
|
3330
3335
|
* @returns {{}|{element, on}}
|
|
3331
3336
|
*/
|
|
3332
3337
|
_resolveExtraHiglightElements() {
|
|
3333
|
-
return this._resolvedExtraHighlightElements =
|
|
3338
|
+
return this._resolvedExtraHighlightElements = li(this), this._resolvedExtraHighlightElements;
|
|
3334
3339
|
}
|
|
3335
3340
|
/**
|
|
3336
3341
|
* Resolves attachTo options.
|
|
3337
3342
|
* @returns {{}|{element, on}}
|
|
3338
3343
|
*/
|
|
3339
3344
|
_resolveAttachToOptions() {
|
|
3340
|
-
return this._resolvedAttachTo =
|
|
3345
|
+
return this._resolvedAttachTo = si(this), this._resolvedAttachTo;
|
|
3341
3346
|
}
|
|
3342
3347
|
/**
|
|
3343
3348
|
* A selector for resolved attachTo options.
|
|
@@ -3392,7 +3397,7 @@ class Lt extends Dt {
|
|
|
3392
3397
|
*/
|
|
3393
3398
|
_createTooltipContent() {
|
|
3394
3399
|
const t = `${this.id}-description`, n = `${this.id}-label`;
|
|
3395
|
-
return this.shepherdElementComponent = new
|
|
3400
|
+
return this.shepherdElementComponent = new Uo({
|
|
3396
3401
|
target: this.tour.options.stepsContainer || document.body,
|
|
3397
3402
|
props: {
|
|
3398
3403
|
classPrefix: this.classPrefix,
|
|
@@ -3416,7 +3421,7 @@ class Lt extends Dt {
|
|
|
3416
3421
|
const {
|
|
3417
3422
|
element: n
|
|
3418
3423
|
} = this._getResolvedAttachToOptions();
|
|
3419
|
-
ve(this.options.scrollToHandler) ? this.options.scrollToHandler(n) :
|
|
3424
|
+
ve(this.options.scrollToHandler) ? this.options.scrollToHandler(n) : $r(n) && typeof n.scrollIntoView == "function" && n.scrollIntoView(t);
|
|
3420
3425
|
}
|
|
3421
3426
|
/**
|
|
3422
3427
|
* _getClassOptions gets all possible classes for the step
|
|
@@ -3433,9 +3438,9 @@ class Lt extends Dt {
|
|
|
3433
3438
|
*/
|
|
3434
3439
|
_setOptions(t = {}) {
|
|
3435
3440
|
let n = this.tour && this.tour.options && this.tour.options.defaultStepOptions;
|
|
3436
|
-
n =
|
|
3441
|
+
n = Dt({}, n || {}), this.options = Object.assign({
|
|
3437
3442
|
arrow: !0
|
|
3438
|
-
}, n, t,
|
|
3443
|
+
}, n, t, Xi(n, t));
|
|
3439
3444
|
const {
|
|
3440
3445
|
when: r
|
|
3441
3446
|
} = this.options;
|
|
@@ -3448,7 +3453,7 @@ class Lt extends Dt {
|
|
|
3448
3453
|
* @private
|
|
3449
3454
|
*/
|
|
3450
3455
|
_setupElements() {
|
|
3451
|
-
U(this.el) || this.destroy(), this.el = this._createTooltipContent(), this.options.advanceOn &&
|
|
3456
|
+
U(this.el) || this.destroy(), this.el = this._createTooltipContent(), this.options.advanceOn && ri(this), Ki(this);
|
|
3452
3457
|
}
|
|
3453
3458
|
/**
|
|
3454
3459
|
* Triggers `before-show`, generates the tooltip DOM content,
|
|
@@ -3491,7 +3496,7 @@ class Lt extends Dt {
|
|
|
3491
3496
|
});
|
|
3492
3497
|
}
|
|
3493
3498
|
}
|
|
3494
|
-
function
|
|
3499
|
+
function qo(e) {
|
|
3495
3500
|
if (e) {
|
|
3496
3501
|
const {
|
|
3497
3502
|
steps: t
|
|
@@ -3503,7 +3508,7 @@ function Uo(e) {
|
|
|
3503
3508
|
});
|
|
3504
3509
|
}
|
|
3505
3510
|
}
|
|
3506
|
-
function
|
|
3511
|
+
function zo(e) {
|
|
3507
3512
|
let t = "";
|
|
3508
3513
|
const {
|
|
3509
3514
|
innerWidth: n,
|
|
@@ -3530,7 +3535,7 @@ function qo(e) {
|
|
|
3530
3535
|
t += `M${c + d},${a} a${d},${d},0,0,0-${d},${d} V${s + a - g} a${g},${g},0,0,0,${g},${g} H${o + c - f} a${f},${f},0,0,0,${f}-${f} V${a + h} a${h},${h},0,0,0-${h}-${h} Z`;
|
|
3531
3536
|
}), `M${n},${r} H0 V0 H${n} V${r} Z ${t}`.replace(/\s/g, "");
|
|
3532
3537
|
}
|
|
3533
|
-
function
|
|
3538
|
+
function Jo(e) {
|
|
3534
3539
|
let t, n, r, i, o;
|
|
3535
3540
|
return {
|
|
3536
3541
|
c() {
|
|
@@ -3574,7 +3579,7 @@ function ir(e) {
|
|
|
3574
3579
|
const n = e instanceof HTMLElement && window.getComputedStyle(e).overflowY;
|
|
3575
3580
|
return n !== "hidden" && n !== "visible" && e.scrollHeight >= e.clientHeight ? e : ir(e.parentElement);
|
|
3576
3581
|
}
|
|
3577
|
-
function
|
|
3582
|
+
function Ko(e) {
|
|
3578
3583
|
let t = {
|
|
3579
3584
|
top: 0,
|
|
3580
3585
|
left: 0
|
|
@@ -3594,7 +3599,7 @@ function Jo(e) {
|
|
|
3594
3599
|
}
|
|
3595
3600
|
return t;
|
|
3596
3601
|
}
|
|
3597
|
-
function
|
|
3602
|
+
function Xo(e, t) {
|
|
3598
3603
|
const n = e.getBoundingClientRect();
|
|
3599
3604
|
let r = n.y || n.top, i = n.bottom || r + n.height;
|
|
3600
3605
|
if (t) {
|
|
@@ -3607,7 +3612,7 @@ function Ko(e, t) {
|
|
|
3607
3612
|
height: o
|
|
3608
3613
|
};
|
|
3609
3614
|
}
|
|
3610
|
-
function
|
|
3615
|
+
function Go(e, t, n) {
|
|
3611
3616
|
let {
|
|
3612
3617
|
element: r,
|
|
3613
3618
|
openingProperties: i
|
|
@@ -3624,7 +3629,7 @@ function Xo(e, t, n) {
|
|
|
3624
3629
|
}]);
|
|
3625
3630
|
}
|
|
3626
3631
|
function d() {
|
|
3627
|
-
n(1, o = !1),
|
|
3632
|
+
n(1, o = !1), w();
|
|
3628
3633
|
}
|
|
3629
3634
|
function h(y = 0, m = 0, R = 0, D = 0, K, W, X) {
|
|
3630
3635
|
if (W) {
|
|
@@ -3636,7 +3641,7 @@ function Xo(e, t, n) {
|
|
|
3636
3641
|
const {
|
|
3637
3642
|
y: F,
|
|
3638
3643
|
height: L
|
|
3639
|
-
} =
|
|
3644
|
+
} = Xo(A, K), {
|
|
3640
3645
|
x: V,
|
|
3641
3646
|
width: N,
|
|
3642
3647
|
left: ne
|
|
@@ -3657,7 +3662,7 @@ function Xo(e, t, n) {
|
|
|
3657
3662
|
u();
|
|
3658
3663
|
}
|
|
3659
3664
|
function f(y) {
|
|
3660
|
-
|
|
3665
|
+
w(), y.tour.options.useModalOverlay ? (_(y), g()) : d();
|
|
3661
3666
|
}
|
|
3662
3667
|
function g() {
|
|
3663
3668
|
n(1, o = !0);
|
|
@@ -3672,18 +3677,18 @@ function Xo(e, t, n) {
|
|
|
3672
3677
|
passive: !1
|
|
3673
3678
|
});
|
|
3674
3679
|
}
|
|
3675
|
-
function
|
|
3680
|
+
function w() {
|
|
3676
3681
|
s && (cancelAnimationFrame(s), s = void 0), window.removeEventListener("touchmove", b, {
|
|
3677
3682
|
passive: !1
|
|
3678
3683
|
});
|
|
3679
3684
|
}
|
|
3680
|
-
function
|
|
3685
|
+
function _(y) {
|
|
3681
3686
|
const {
|
|
3682
3687
|
modalOverlayOpeningPadding: m,
|
|
3683
3688
|
modalOverlayOpeningRadius: R,
|
|
3684
3689
|
modalOverlayOpeningXOffset: D = 0,
|
|
3685
3690
|
modalOverlayOpeningYOffset: K = 0
|
|
3686
|
-
} = y.options, W =
|
|
3691
|
+
} = y.options, W = Ko(y.target), X = ir(y.target), $ = () => {
|
|
3687
3692
|
s = void 0, h(m, R, D + W.left, K + W.top, X, y.target, y._resolvedExtraHighlightElements), s = requestAnimationFrame($);
|
|
3688
3693
|
};
|
|
3689
3694
|
$(), S();
|
|
@@ -3697,12 +3702,12 @@ function Xo(e, t, n) {
|
|
|
3697
3702
|
"element" in y && n(0, r = y.element), "openingProperties" in y && n(4, i = y.openingProperties);
|
|
3698
3703
|
}, e.$$.update = () => {
|
|
3699
3704
|
e.$$.dirty & /*openingProperties*/
|
|
3700
|
-
16 && n(2, c =
|
|
3705
|
+
16 && n(2, c = zo(i));
|
|
3701
3706
|
}, [r, o, c, E, i, a, u, d, h, f, g, O];
|
|
3702
3707
|
}
|
|
3703
|
-
class
|
|
3708
|
+
class Zo extends me {
|
|
3704
3709
|
constructor(t) {
|
|
3705
|
-
super(), ge(this, t,
|
|
3710
|
+
super(), ge(this, t, Go, Jo, pe, {
|
|
3706
3711
|
element: 0,
|
|
3707
3712
|
openingProperties: 4,
|
|
3708
3713
|
getElement: 5,
|
|
@@ -3732,14 +3737,14 @@ class Go extends me {
|
|
|
3732
3737
|
return this.$$.ctx[10];
|
|
3733
3738
|
}
|
|
3734
3739
|
}
|
|
3735
|
-
class
|
|
3740
|
+
class Qo extends Ft {
|
|
3736
3741
|
constructor() {
|
|
3737
|
-
super(), this.activeTour = void 0,
|
|
3742
|
+
super(), this.activeTour = void 0, jt(this);
|
|
3738
3743
|
}
|
|
3739
3744
|
}
|
|
3740
|
-
class
|
|
3745
|
+
class es extends Ft {
|
|
3741
3746
|
constructor(t = {}) {
|
|
3742
|
-
super(), this.trackedEvents = ["active", "cancel", "complete", "show"], this.classPrefix = void 0, this.currentStep = void 0, this.focusedElBeforeOpen = void 0, this.id = void 0, this.modal = void 0, this.options = void 0, this.steps = void 0,
|
|
3747
|
+
super(), this.trackedEvents = ["active", "cancel", "complete", "show"], this.classPrefix = void 0, this.currentStep = void 0, this.focusedElBeforeOpen = void 0, this.id = void 0, this.modal = void 0, this.options = void 0, this.steps = void 0, jt(this);
|
|
3743
3748
|
const n = {
|
|
3744
3749
|
exitOnEsc: !0,
|
|
3745
3750
|
keyboardNavigation: !0
|
|
@@ -3761,7 +3766,7 @@ class Qo extends Dt {
|
|
|
3761
3766
|
*/
|
|
3762
3767
|
addStep(t, n) {
|
|
3763
3768
|
let r = t;
|
|
3764
|
-
return r instanceof
|
|
3769
|
+
return r instanceof Mt ? r.tour = this : r = new Mt(this, r), U(n) ? this.steps.push(r) : this.steps.splice(n, 0, r), r;
|
|
3765
3770
|
}
|
|
3766
3771
|
/**
|
|
3767
3772
|
* Add multiple steps to the tour
|
|
@@ -3852,7 +3857,7 @@ class Qo extends Dt {
|
|
|
3852
3857
|
* @param {boolean} forward - True if we are going forward, false if backward
|
|
3853
3858
|
*/
|
|
3854
3859
|
show(t = 0, n = !0) {
|
|
3855
|
-
const r =
|
|
3860
|
+
const r = Ke(t) ? this.getById(t) : this.steps[t];
|
|
3856
3861
|
r && (this._updateStateBeforeShow(), ve(r.options.showOn) && !r.options.showOn() ? this._skipStep(r, n) : (this.currentStep = r, this.trigger("show", {
|
|
3857
3862
|
step: r,
|
|
3858
3863
|
previous: this.currentStep
|
|
@@ -3871,7 +3876,7 @@ class Qo extends Dt {
|
|
|
3871
3876
|
*/
|
|
3872
3877
|
_done(t) {
|
|
3873
3878
|
const n = this.steps.indexOf(this.currentStep);
|
|
3874
|
-
if (Array.isArray(this.steps) && this.steps.forEach((r) => r.destroy()),
|
|
3879
|
+
if (Array.isArray(this.steps) && this.steps.forEach((r) => r.destroy()), qo(this), this.trigger(t, {
|
|
3875
3880
|
index: n
|
|
3876
3881
|
}), Se.activeTour = null, this.trigger("inactive", {
|
|
3877
3882
|
tour: this
|
|
@@ -3893,7 +3898,7 @@ class Qo extends Dt {
|
|
|
3893
3898
|
* setupModal create the modal container and instance
|
|
3894
3899
|
*/
|
|
3895
3900
|
setupModal() {
|
|
3896
|
-
this.modal = new
|
|
3901
|
+
this.modal = new Zo({
|
|
3897
3902
|
target: this.options.modalContainer || document.body,
|
|
3898
3903
|
props: {
|
|
3899
3904
|
// @ts-expect-error TODO: investigate where styles comes from
|
|
@@ -3934,25 +3939,25 @@ class Qo extends Dt {
|
|
|
3934
3939
|
this.id = `${n}--${r}`;
|
|
3935
3940
|
}
|
|
3936
3941
|
}
|
|
3937
|
-
const Se = new
|
|
3938
|
-
Se.Step = or ?
|
|
3939
|
-
Se.Tour = or ?
|
|
3940
|
-
const
|
|
3942
|
+
const Se = new Qo(), or = typeof window > "u";
|
|
3943
|
+
Se.Step = or ? ii : Mt;
|
|
3944
|
+
Se.Tour = or ? oi : es;
|
|
3945
|
+
const Jt = Mr(
|
|
3941
3946
|
void 0
|
|
3942
|
-
),
|
|
3943
|
-
const e = Fr(
|
|
3947
|
+
), ns = Jt.Consumer, rs = () => {
|
|
3948
|
+
const e = Fr(Jt);
|
|
3944
3949
|
if (!e)
|
|
3945
3950
|
throw new Error(
|
|
3946
3951
|
"useShepherd must be used within a ShepherdJourneyProvider"
|
|
3947
3952
|
);
|
|
3948
3953
|
const { Shepherd: t } = e;
|
|
3949
3954
|
return t;
|
|
3950
|
-
},
|
|
3955
|
+
}, is = ({
|
|
3951
3956
|
children: e
|
|
3952
|
-
}) => /* @__PURE__ */
|
|
3957
|
+
}) => /* @__PURE__ */ Hr.jsx(Jt.Provider, { value: { Shepherd: Se }, children: e });
|
|
3953
3958
|
export {
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3959
|
+
ns as JourneyMethods,
|
|
3960
|
+
Jt as ShepherdJourneyContext,
|
|
3961
|
+
is as ShepherdJourneyProvider,
|
|
3962
|
+
rs as useShepherd
|
|
3958
3963
|
};
|