react-shepherd 6.1.3 → 6.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.js +1327 -1286
  2. package/dist/index.umd.cjs +10 -10
  3. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import kn, { createContext as Tr, useContext as Cr } from "react";
2
- var Ct = { exports: {} }, Ye = {};
1
+ import In, { createContext as Cr, useContext as Tr } from "react";
2
+ var Tt = { exports: {} }, qe = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.min.js
@@ -11,17 +11,17 @@ var Ct = { exports: {} }, Ye = {};
11
11
  */
12
12
  var cn;
13
13
  function Ar() {
14
- if (cn) return Ye;
14
+ if (cn) return qe;
15
15
  cn = 1;
16
- var e = kn, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function i(c, a, u) {
18
- var f, h = {}, d = null, g = null;
19
- u !== void 0 && (d = "" + u), a.key !== void 0 && (d = "" + a.key), a.ref !== void 0 && (g = a.ref);
20
- for (f in a) r.call(a, f) && !s.hasOwnProperty(f) && (h[f] = a[f]);
21
- if (c && c.defaultProps) for (f in a = c.defaultProps, a) h[f] === void 0 && (h[f] = a[f]);
22
- return { $$typeof: t, type: c, key: d, ref: g, props: h, _owner: o.current };
16
+ var e = In, 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
+ function s(c, a, u) {
18
+ var d, h = {}, f = null, g = null;
19
+ u !== void 0 && (f = "" + u), a.key !== void 0 && (f = "" + a.key), a.ref !== void 0 && (g = a.ref);
20
+ for (d in a) r.call(a, d) && !o.hasOwnProperty(d) && (h[d] = a[d]);
21
+ if (c && c.defaultProps) for (d in a = c.defaultProps, a) h[d] === void 0 && (h[d] = a[d]);
22
+ return { $$typeof: t, type: c, key: f, ref: g, props: h, _owner: i.current };
23
23
  }
24
- return Ye.Fragment = n, Ye.jsx = i, Ye.jsxs = i, Ye;
24
+ return qe.Fragment = n, qe.jsx = s, qe.jsxs = s, qe;
25
25
  }
26
26
  var ze = {};
27
27
  /**
@@ -36,48 +36,48 @@ var ze = {};
36
36
  var an;
37
37
  function Pr() {
38
38
  return an || (an = 1, process.env.NODE_ENV !== "production" && function() {
39
- var e = kn, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), c = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), v = Symbol.iterator, x = "@@iterator";
39
+ var e = In, 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"), v = Symbol.iterator, E = "@@iterator";
40
40
  function S(l) {
41
41
  if (l === null || typeof l != "object")
42
42
  return null;
43
- var p = v && l[v] || l[x];
43
+ var p = v && l[v] || l[E];
44
44
  return typeof p == "function" ? p : null;
45
45
  }
46
46
  var w = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
47
  function _(l) {
48
48
  {
49
- for (var p = arguments.length, b = new Array(p > 1 ? p - 1 : 0), E = 1; E < p; E++)
50
- b[E - 1] = arguments[E];
49
+ for (var p = arguments.length, b = new Array(p > 1 ? p - 1 : 0), x = 1; x < p; x++)
50
+ b[x - 1] = arguments[x];
51
51
  R("error", l, b);
52
52
  }
53
53
  }
54
54
  function R(l, p, b) {
55
55
  {
56
- var E = w.ReactDebugCurrentFrame, A = E.getStackAddendum();
56
+ var x = w.ReactDebugCurrentFrame, A = x.getStackAddendum();
57
57
  A !== "" && (p += "%s", b = b.concat([A]));
58
- var I = b.map(function(C) {
59
- return String(C);
58
+ var I = b.map(function(T) {
59
+ return String(T);
60
60
  });
61
61
  I.unshift("Warning: " + p), Function.prototype.apply.call(console[l], console, I);
62
62
  }
63
63
  }
64
- var y = !1, m = !1, T = !1, B = !1, oe = !1, H;
65
- H = Symbol.for("react.module.reference");
66
- function K(l) {
67
- return !!(typeof l == "string" || typeof l == "function" || l === r || l === s || oe || l === o || l === u || l === f || B || l === g || y || m || T || typeof l == "object" && l !== null && (l.$$typeof === d || l.$$typeof === h || l.$$typeof === i || l.$$typeof === c || l.$$typeof === a || // This needs to include all possible module reference object
64
+ var y = !1, m = !1, C = !1, V = !1, se = !1, J;
65
+ J = Symbol.for("react.module.reference");
66
+ function G(l) {
67
+ return !!(typeof l == "string" || typeof l == "function" || l === r || l === o || se || l === i || l === u || l === d || V || l === g || y || m || C || typeof l == "object" && l !== null && (l.$$typeof === f || l.$$typeof === h || l.$$typeof === s || l.$$typeof === c || l.$$typeof === a || // This needs to include all possible module reference object
68
68
  // types supported by any Flight configuration anywhere since
69
69
  // we don't know which Flight build this will end up being used
70
70
  // with.
71
- l.$$typeof === H || l.getModuleId !== void 0));
71
+ l.$$typeof === J || l.getModuleId !== void 0));
72
72
  }
73
- function U(l, p, b) {
74
- var E = l.displayName;
75
- if (E)
76
- return E;
73
+ function N(l, p, b) {
74
+ var x = l.displayName;
75
+ if (x)
76
+ return x;
77
77
  var A = p.displayName || p.name || "";
78
78
  return A !== "" ? b + "(" + A + ")" : b;
79
79
  }
80
- function W(l) {
80
+ function D(l) {
81
81
  return l.displayName || "Context";
82
82
  }
83
83
  function j(l) {
@@ -92,32 +92,32 @@ function Pr() {
92
92
  return "Fragment";
93
93
  case n:
94
94
  return "Portal";
95
- case s:
96
- return "Profiler";
97
95
  case o:
96
+ return "Profiler";
97
+ case i:
98
98
  return "StrictMode";
99
99
  case u:
100
100
  return "Suspense";
101
- case f:
101
+ case d:
102
102
  return "SuspenseList";
103
103
  }
104
104
  if (typeof l == "object")
105
105
  switch (l.$$typeof) {
106
106
  case c:
107
107
  var p = l;
108
- return W(p) + ".Consumer";
109
- case i:
108
+ return D(p) + ".Consumer";
109
+ case s:
110
110
  var b = l;
111
- return W(b._context) + ".Provider";
111
+ return D(b._context) + ".Provider";
112
112
  case a:
113
- return U(l, l.render, "ForwardRef");
113
+ return N(l, l.render, "ForwardRef");
114
114
  case h:
115
- var E = l.displayName || null;
116
- return E !== null ? E : j(l.type) || "Memo";
117
- case d: {
118
- var A = l, I = A._payload, C = A._init;
115
+ var x = l.displayName || null;
116
+ return x !== null ? x : j(l.type) || "Memo";
117
+ case f: {
118
+ var A = l, I = A._payload, T = A._init;
119
119
  try {
120
- return j(C(I));
120
+ return j(T(I));
121
121
  } catch {
122
122
  return null;
123
123
  }
@@ -125,18 +125,18 @@ function Pr() {
125
125
  }
126
126
  return null;
127
127
  }
128
- var L = Object.assign, X = 0, Y, le, he, ce, Q, ee, et;
129
- function zt() {
128
+ var M = Object.assign, $ = 0, B, te, ae, Z, W, ne, et;
129
+ function qt() {
130
130
  }
131
- zt.__reactDisabledLog = !0;
131
+ qt.__reactDisabledLog = !0;
132
132
  function er() {
133
133
  {
134
- if (X === 0) {
135
- Y = console.log, le = console.info, he = console.warn, ce = console.error, Q = console.group, ee = console.groupCollapsed, et = console.groupEnd;
134
+ if ($ === 0) {
135
+ B = console.log, te = console.info, ae = console.warn, Z = console.error, W = console.group, ne = console.groupCollapsed, et = console.groupEnd;
136
136
  var l = {
137
137
  configurable: !0,
138
138
  enumerable: !0,
139
- value: zt,
139
+ value: qt,
140
140
  writable: !0
141
141
  };
142
142
  Object.defineProperties(console, {
@@ -149,138 +149,138 @@ function Pr() {
149
149
  groupEnd: l
150
150
  });
151
151
  }
152
- X++;
152
+ $++;
153
153
  }
154
154
  }
155
155
  function tr() {
156
156
  {
157
- if (X--, X === 0) {
157
+ if ($--, $ === 0) {
158
158
  var l = {
159
159
  configurable: !0,
160
160
  enumerable: !0,
161
161
  writable: !0
162
162
  };
163
163
  Object.defineProperties(console, {
164
- log: L({}, l, {
165
- value: Y
164
+ log: M({}, l, {
165
+ value: B
166
166
  }),
167
- info: L({}, l, {
168
- value: le
167
+ info: M({}, l, {
168
+ value: te
169
169
  }),
170
- warn: L({}, l, {
171
- value: he
170
+ warn: M({}, l, {
171
+ value: ae
172
172
  }),
173
- error: L({}, l, {
174
- value: ce
173
+ error: M({}, l, {
174
+ value: Z
175
175
  }),
176
- group: L({}, l, {
177
- value: Q
176
+ group: M({}, l, {
177
+ value: W
178
178
  }),
179
- groupCollapsed: L({}, l, {
180
- value: ee
179
+ groupCollapsed: M({}, l, {
180
+ value: ne
181
181
  }),
182
- groupEnd: L({}, l, {
182
+ groupEnd: M({}, l, {
183
183
  value: et
184
184
  })
185
185
  });
186
186
  }
187
- X < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
187
+ $ < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
188
  }
189
189
  }
190
- var gt = w.ReactCurrentDispatcher, mt;
190
+ var mt = w.ReactCurrentDispatcher, bt;
191
191
  function tt(l, p, b) {
192
192
  {
193
- if (mt === void 0)
193
+ if (bt === void 0)
194
194
  try {
195
195
  throw Error();
196
196
  } catch (A) {
197
- var E = A.stack.trim().match(/\n( *(at )?)/);
198
- mt = E && E[1] || "";
197
+ var x = A.stack.trim().match(/\n( *(at )?)/);
198
+ bt = x && x[1] || "";
199
199
  }
200
200
  return `
201
- ` + mt + l;
201
+ ` + bt + l;
202
202
  }
203
203
  }
204
- var bt = !1, nt;
204
+ var vt = !1, nt;
205
205
  {
206
206
  var nr = typeof WeakMap == "function" ? WeakMap : Map;
207
207
  nt = new nr();
208
208
  }
209
- function qt(l, p) {
210
- if (!l || bt)
209
+ function zt(l, p) {
210
+ if (!l || vt)
211
211
  return "";
212
212
  {
213
213
  var b = nt.get(l);
214
214
  if (b !== void 0)
215
215
  return b;
216
216
  }
217
- var E;
218
- bt = !0;
217
+ var x;
218
+ vt = !0;
219
219
  var A = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
221
  var I;
222
- I = gt.current, gt.current = null, er();
222
+ I = mt.current, mt.current = null, er();
223
223
  try {
224
224
  if (p) {
225
- var C = function() {
225
+ var T = function() {
226
226
  throw Error();
227
227
  };
228
- if (Object.defineProperty(C.prototype, "props", {
228
+ if (Object.defineProperty(T.prototype, "props", {
229
229
  set: function() {
230
230
  throw Error();
231
231
  }
232
232
  }), typeof Reflect == "object" && Reflect.construct) {
233
233
  try {
234
- Reflect.construct(C, []);
234
+ Reflect.construct(T, []);
235
235
  } catch (z) {
236
- E = z;
236
+ x = z;
237
237
  }
238
- Reflect.construct(l, [], C);
238
+ Reflect.construct(l, [], T);
239
239
  } else {
240
240
  try {
241
- C.call();
241
+ T.call();
242
242
  } catch (z) {
243
- E = z;
243
+ x = z;
244
244
  }
245
- l.call(C.prototype);
245
+ l.call(T.prototype);
246
246
  }
247
247
  } else {
248
248
  try {
249
249
  throw Error();
250
250
  } catch (z) {
251
- E = z;
251
+ x = z;
252
252
  }
253
253
  l();
254
254
  }
255
255
  } catch (z) {
256
- if (z && E && typeof z.stack == "string") {
256
+ if (z && x && typeof z.stack == "string") {
257
257
  for (var O = z.stack.split(`
258
- `), $ = E.stack.split(`
259
- `), M = O.length - 1, D = $.length - 1; M >= 1 && D >= 0 && O[M] !== $[D]; )
260
- D--;
261
- for (; M >= 1 && D >= 0; M--, D--)
262
- if (O[M] !== $[D]) {
263
- if (M !== 1 || D !== 1)
258
+ `), U = x.stack.split(`
259
+ `), F = O.length - 1, H = U.length - 1; F >= 1 && H >= 0 && O[F] !== U[H]; )
260
+ H--;
261
+ for (; F >= 1 && H >= 0; F--, H--)
262
+ if (O[F] !== U[H]) {
263
+ if (F !== 1 || H !== 1)
264
264
  do
265
- if (M--, D--, D < 0 || O[M] !== $[D]) {
266
- var G = `
267
- ` + O[M].replace(" at new ", " at ");
268
- return l.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", l.displayName)), typeof l == "function" && nt.set(l, G), G;
265
+ if (F--, H--, H < 0 || O[F] !== U[H]) {
266
+ var Q = `
267
+ ` + O[F].replace(" at new ", " at ");
268
+ return l.displayName && Q.includes("<anonymous>") && (Q = Q.replace("<anonymous>", l.displayName)), typeof l == "function" && nt.set(l, Q), Q;
269
269
  }
270
- while (M >= 1 && D >= 0);
270
+ while (F >= 1 && H >= 0);
271
271
  break;
272
272
  }
273
273
  }
274
274
  } finally {
275
- bt = !1, gt.current = I, tr(), Error.prepareStackTrace = A;
275
+ vt = !1, mt.current = I, tr(), Error.prepareStackTrace = A;
276
276
  }
277
277
  var Pe = l ? l.displayName || l.name : "", _e = Pe ? tt(Pe) : "";
278
278
  return typeof l == "function" && nt.set(l, _e), _e;
279
279
  }
280
280
  function rr(l, p, b) {
281
- return qt(l, !1);
281
+ return zt(l, !1);
282
282
  }
283
- function or(l) {
283
+ function ir(l) {
284
284
  var p = l.prototype;
285
285
  return !!(p && p.isReactComponent);
286
286
  }
@@ -288,13 +288,13 @@ function Pr() {
288
288
  if (l == null)
289
289
  return "";
290
290
  if (typeof l == "function")
291
- return qt(l, or(l));
291
+ return zt(l, ir(l));
292
292
  if (typeof l == "string")
293
293
  return tt(l);
294
294
  switch (l) {
295
295
  case u:
296
296
  return tt("Suspense");
297
- case f:
297
+ case d:
298
298
  return tt("SuspenseList");
299
299
  }
300
300
  if (typeof l == "object")
@@ -303,8 +303,8 @@ function Pr() {
303
303
  return rr(l.render);
304
304
  case h:
305
305
  return rt(l.type, p, b);
306
- case d: {
307
- var E = l, A = E._payload, I = E._init;
306
+ case f: {
307
+ var x = l, A = x._payload, I = x._init;
308
308
  try {
309
309
  return rt(I(A), p, b);
310
310
  } catch {
@@ -313,35 +313,35 @@ function Pr() {
313
313
  }
314
314
  return "";
315
315
  }
316
- var He = Object.prototype.hasOwnProperty, Jt = {}, Kt = w.ReactDebugCurrentFrame;
317
- function ot(l) {
316
+ var Ye = Object.prototype.hasOwnProperty, Jt = {}, Kt = w.ReactDebugCurrentFrame;
317
+ function it(l) {
318
318
  if (l) {
319
319
  var p = l._owner, b = rt(l.type, l._source, p ? p.type : null);
320
320
  Kt.setExtraStackFrame(b);
321
321
  } else
322
322
  Kt.setExtraStackFrame(null);
323
323
  }
324
- function ir(l, p, b, E, A) {
324
+ function or(l, p, b, x, A) {
325
325
  {
326
- var I = Function.call.bind(He);
327
- for (var C in l)
328
- if (I(l, C)) {
326
+ var I = Function.call.bind(Ye);
327
+ for (var T in l)
328
+ if (I(l, T)) {
329
329
  var O = void 0;
330
330
  try {
331
- if (typeof l[C] != "function") {
332
- var $ = Error((E || "React class") + ": " + b + " type `" + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof l[C] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
- throw $.name = "Invariant Violation", $;
331
+ if (typeof l[T] != "function") {
332
+ var U = Error((x || "React class") + ": " + b + " type `" + T + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof l[T] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
+ throw U.name = "Invariant Violation", U;
334
334
  }
335
- O = l[C](p, C, E, b, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
- } catch (M) {
337
- O = M;
335
+ O = l[T](p, T, x, b, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
+ } catch (F) {
337
+ O = F;
338
338
  }
339
- O && !(O instanceof Error) && (ot(A), _("%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).", E || "React class", b, C, typeof O), ot(null)), O instanceof Error && !(O.message in Jt) && (Jt[O.message] = !0, ot(A), _("Failed %s type: %s", b, O.message), ot(null));
339
+ O && !(O instanceof Error) && (it(A), _("%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", b, T, typeof O), it(null)), O instanceof Error && !(O.message in Jt) && (Jt[O.message] = !0, it(A), _("Failed %s type: %s", b, O.message), it(null));
340
340
  }
341
341
  }
342
342
  }
343
343
  var sr = Array.isArray;
344
- function vt(l) {
344
+ function yt(l) {
345
345
  return sr(l);
346
346
  }
347
347
  function lr(l) {
@@ -369,10 +369,10 @@ function Pr() {
369
369
  ref: !0,
370
370
  __self: !0,
371
371
  __source: !0
372
- }, Zt, Qt, yt;
373
- yt = {};
372
+ }, Zt, Qt, _t;
373
+ _t = {};
374
374
  function ur(l) {
375
- if (He.call(l, "ref")) {
375
+ if (Ye.call(l, "ref")) {
376
376
  var p = Object.getOwnPropertyDescriptor(l, "ref").get;
377
377
  if (p && p.isReactWarning)
378
378
  return !1;
@@ -380,7 +380,7 @@ function Pr() {
380
380
  return l.ref !== void 0;
381
381
  }
382
382
  function fr(l) {
383
- if (He.call(l, "key")) {
383
+ if (Ye.call(l, "key")) {
384
384
  var p = Object.getOwnPropertyDescriptor(l, "key").get;
385
385
  if (p && p.isReactWarning)
386
386
  return !1;
@@ -390,7 +390,7 @@ function Pr() {
390
390
  function dr(l, p) {
391
391
  if (typeof l.ref == "string" && Ue.current && p && Ue.current.stateNode !== p) {
392
392
  var b = j(Ue.current.type);
393
- yt[b] || (_('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', j(Ue.current.type), l.ref), yt[b] = !0);
393
+ _t[b] || (_('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', j(Ue.current.type), l.ref), _t[b] = !0);
394
394
  }
395
395
  }
396
396
  function hr(l, p) {
@@ -415,7 +415,7 @@ function Pr() {
415
415
  });
416
416
  }
417
417
  }
418
- var gr = function(l, p, b, E, A, I, C) {
418
+ var gr = function(l, p, b, x, A, I, T) {
419
419
  var O = {
420
420
  // This tag allows us to uniquely identify this as a React Element
421
421
  $$typeof: t,
@@ -423,7 +423,7 @@ function Pr() {
423
423
  type: l,
424
424
  key: p,
425
425
  ref: b,
426
- props: C,
426
+ props: T,
427
427
  // Record the component responsible for creating this element.
428
428
  _owner: I
429
429
  };
@@ -436,7 +436,7 @@ function Pr() {
436
436
  configurable: !1,
437
437
  enumerable: !1,
438
438
  writable: !1,
439
- value: E
439
+ value: x
440
440
  }), Object.defineProperty(O, "_source", {
441
441
  configurable: !1,
442
442
  enumerable: !1,
@@ -444,25 +444,25 @@ function Pr() {
444
444
  value: A
445
445
  }), Object.freeze && (Object.freeze(O.props), Object.freeze(O)), O;
446
446
  };
447
- function mr(l, p, b, E, A) {
447
+ function mr(l, p, b, x, A) {
448
448
  {
449
- var I, C = {}, O = null, $ = null;
450
- b !== void 0 && (Gt(b), O = "" + b), fr(p) && (Gt(p.key), O = "" + p.key), ur(p) && ($ = p.ref, dr(p, A));
449
+ var I, T = {}, O = null, U = null;
450
+ b !== void 0 && (Gt(b), O = "" + b), fr(p) && (Gt(p.key), O = "" + p.key), ur(p) && (U = p.ref, dr(p, A));
451
451
  for (I in p)
452
- He.call(p, I) && !ar.hasOwnProperty(I) && (C[I] = p[I]);
452
+ Ye.call(p, I) && !ar.hasOwnProperty(I) && (T[I] = p[I]);
453
453
  if (l && l.defaultProps) {
454
- var M = l.defaultProps;
455
- for (I in M)
456
- C[I] === void 0 && (C[I] = M[I]);
454
+ var F = l.defaultProps;
455
+ for (I in F)
456
+ T[I] === void 0 && (T[I] = F[I]);
457
457
  }
458
- if (O || $) {
459
- var D = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
460
- O && hr(C, D), $ && pr(C, D);
458
+ if (O || U) {
459
+ var H = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
460
+ O && hr(T, H), U && pr(T, H);
461
461
  }
462
- return gr(l, O, $, A, E, Ue.current, C);
462
+ return gr(l, O, U, A, x, Ue.current, T);
463
463
  }
464
464
  }
465
- var _t = w.ReactCurrentOwner, en = w.ReactDebugCurrentFrame;
465
+ var wt = w.ReactCurrentOwner, en = w.ReactDebugCurrentFrame;
466
466
  function Ae(l) {
467
467
  if (l) {
468
468
  var p = l._owner, b = rt(l.type, l._source, p ? p.type : null);
@@ -470,15 +470,15 @@ function Pr() {
470
470
  } else
471
471
  en.setExtraStackFrame(null);
472
472
  }
473
- var wt;
474
- wt = !1;
473
+ var Et;
474
+ Et = !1;
475
475
  function xt(l) {
476
476
  return typeof l == "object" && l !== null && l.$$typeof === t;
477
477
  }
478
478
  function tn() {
479
479
  {
480
- if (_t.current) {
481
- var l = j(_t.current.type);
480
+ if (wt.current) {
481
+ var l = j(wt.current.type);
482
482
  if (l)
483
483
  return `
484
484
 
@@ -512,26 +512,26 @@ Check the top-level render call using <` + b + ">.");
512
512
  if (nn[b])
513
513
  return;
514
514
  nn[b] = !0;
515
- var E = "";
516
- l && l._owner && l._owner !== _t.current && (E = " It was passed a child from " + j(l._owner.type) + "."), Ae(l), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', b, E), Ae(null);
515
+ var x = "";
516
+ l && l._owner && l._owner !== wt.current && (x = " It was passed a child from " + j(l._owner.type) + "."), Ae(l), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', b, x), Ae(null);
517
517
  }
518
518
  }
519
519
  function on(l, p) {
520
520
  {
521
521
  if (typeof l != "object")
522
522
  return;
523
- if (vt(l))
523
+ if (yt(l))
524
524
  for (var b = 0; b < l.length; b++) {
525
- var E = l[b];
526
- xt(E) && rn(E, p);
525
+ var x = l[b];
526
+ xt(x) && rn(x, p);
527
527
  }
528
528
  else if (xt(l))
529
529
  l._store && (l._store.validated = !0);
530
530
  else if (l) {
531
531
  var A = S(l);
532
532
  if (typeof A == "function" && A !== l.entries)
533
- for (var I = A.call(l), C; !(C = I.next()).done; )
534
- xt(C.value) && rn(C.value, p);
533
+ for (var I = A.call(l), T; !(T = I.next()).done; )
534
+ xt(T.value) && rn(T.value, p);
535
535
  }
536
536
  }
537
537
  }
@@ -550,10 +550,10 @@ Check the top-level render call using <` + b + ">.");
550
550
  else
551
551
  return;
552
552
  if (b) {
553
- var E = j(p);
554
- ir(b, l.props, "prop", E, l);
555
- } else if (p.PropTypes !== void 0 && !wt) {
556
- wt = !0;
553
+ var x = j(p);
554
+ or(b, l.props, "prop", x, l);
555
+ } else if (p.PropTypes !== void 0 && !Et) {
556
+ Et = !0;
557
557
  var A = j(p);
558
558
  _("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
559
559
  }
@@ -563,9 +563,9 @@ Check the top-level render call using <` + b + ">.");
563
563
  function _r(l) {
564
564
  {
565
565
  for (var p = Object.keys(l.props), b = 0; b < p.length; b++) {
566
- var E = p[b];
567
- if (E !== "children" && E !== "key") {
568
- Ae(l), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", E), Ae(null);
566
+ var x = p[b];
567
+ if (x !== "children" && x !== "key") {
568
+ Ae(l), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", x), Ae(null);
569
569
  break;
570
570
  }
571
571
  }
@@ -573,76 +573,76 @@ Check the top-level render call using <` + b + ">.");
573
573
  }
574
574
  }
575
575
  var sn = {};
576
- function ln(l, p, b, E, A, I) {
576
+ function ln(l, p, b, x, A, I) {
577
577
  {
578
- var C = K(l);
579
- if (!C) {
578
+ var T = G(l);
579
+ if (!T) {
580
580
  var O = "";
581
581
  (l === void 0 || typeof l == "object" && l !== null && Object.keys(l).length === 0) && (O += " 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
- var $ = br();
583
- $ ? O += $ : O += tn();
584
- var M;
585
- l === null ? M = "null" : vt(l) ? M = "array" : l !== void 0 && l.$$typeof === t ? (M = "<" + (j(l.type) || "Unknown") + " />", O = " Did you accidentally export a JSX literal instead of a component?") : M = 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", M, O);
582
+ var U = br();
583
+ U ? O += U : O += tn();
584
+ var F;
585
+ l === null ? F = "null" : yt(l) ? F = "array" : l !== void 0 && l.$$typeof === t ? (F = "<" + (j(l.type) || "Unknown") + " />", O = " Did you accidentally export a JSX literal instead of a component?") : F = 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", F, O);
586
586
  }
587
- var D = mr(l, p, b, A, I);
588
- if (D == null)
589
- return D;
590
- if (C) {
591
- var G = p.children;
592
- if (G !== void 0)
593
- if (E)
594
- if (vt(G)) {
595
- for (var Pe = 0; Pe < G.length; Pe++)
596
- on(G[Pe], l);
597
- Object.freeze && Object.freeze(G);
587
+ var H = mr(l, p, b, A, I);
588
+ if (H == null)
589
+ return H;
590
+ if (T) {
591
+ var Q = p.children;
592
+ if (Q !== void 0)
593
+ if (x)
594
+ if (yt(Q)) {
595
+ for (var Pe = 0; Pe < Q.length; Pe++)
596
+ on(Q[Pe], l);
597
+ Object.freeze && Object.freeze(Q);
598
598
  } else
599
599
  _("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
600
  else
601
- on(G, l);
601
+ on(Q, l);
602
602
  }
603
- if (He.call(p, "key")) {
603
+ if (Ye.call(p, "key")) {
604
604
  var _e = j(l), z = Object.keys(p).filter(function(Rr) {
605
605
  return Rr !== "key";
606
- }), Et = z.length > 0 ? "{key: someKey, " + z.join(": ..., ") + ": ...}" : "{key: someKey}";
607
- if (!sn[_e + Et]) {
606
+ }), St = z.length > 0 ? "{key: someKey, " + z.join(": ..., ") + ": ...}" : "{key: someKey}";
607
+ if (!sn[_e + St]) {
608
608
  var Or = z.length > 0 ? "{" + z.join(": ..., ") + ": ...}" : "{}";
609
609
  _(`A props object containing a "key" prop is being spread into JSX:
610
610
  let props = %s;
611
611
  <%s {...props} />
612
612
  React keys must be passed directly to JSX without using spread:
613
613
  let props = %s;
614
- <%s key={someKey} {...props} />`, Et, _e, Or, _e), sn[_e + Et] = !0;
614
+ <%s key={someKey} {...props} />`, St, _e, Or, _e), sn[_e + St] = !0;
615
615
  }
616
616
  }
617
- return l === r ? _r(D) : yr(D), D;
617
+ return l === r ? _r(H) : yr(H), H;
618
618
  }
619
619
  }
620
620
  function wr(l, p, b) {
621
621
  return ln(l, p, b, !0);
622
622
  }
623
- function xr(l, p, b) {
623
+ function Er(l, p, b) {
624
624
  return ln(l, p, b, !1);
625
625
  }
626
- var Er = xr, Sr = wr;
627
- ze.Fragment = r, ze.jsx = Er, ze.jsxs = Sr;
626
+ var xr = Er, Sr = wr;
627
+ ze.Fragment = r, ze.jsx = xr, ze.jsxs = Sr;
628
628
  }()), ze;
629
629
  }
630
- process.env.NODE_ENV === "production" ? Ct.exports = Ar() : Ct.exports = Pr();
631
- var kr = Ct.exports;
632
- /*! shepherd.js 14.0.1 */
630
+ process.env.NODE_ENV === "production" ? Tt.exports = Ar() : Tt.exports = Pr();
631
+ var kr = Tt.exports;
632
+ /*! shepherd.js 14.1.0 */
633
633
  function Ir(e) {
634
634
  return e instanceof Element;
635
635
  }
636
- function Ge(e) {
636
+ function De(e) {
637
637
  return e instanceof HTMLElement;
638
638
  }
639
639
  function pe(e) {
640
640
  return typeof e == "function";
641
641
  }
642
- function Je(e) {
642
+ function Ke(e) {
643
643
  return typeof e == "string";
644
644
  }
645
- function N(e) {
645
+ function Y(e) {
646
646
  return e === void 0;
647
647
  }
648
648
  class Ft {
@@ -655,12 +655,12 @@ class Ft {
655
655
  * @param {boolean} once
656
656
  * @returns
657
657
  */
658
- on(t, n, r, o = !1) {
659
- var s;
660
- return N(this.bindings) && (this.bindings = {}), N(this.bindings[t]) && (this.bindings[t] = []), (s = this.bindings[t]) == null || s.push({
658
+ on(t, n, r, i = !1) {
659
+ var o;
660
+ return Y(this.bindings) && (this.bindings = {}), Y(this.bindings[t]) && (this.bindings[t] = []), (o = this.bindings[t]) == null || o.push({
661
661
  handler: n,
662
662
  ctx: r,
663
- once: o
663
+ once: i
664
664
  }), this;
665
665
  }
666
666
  /**
@@ -682,16 +682,16 @@ class Ft {
682
682
  * @returns
683
683
  */
684
684
  off(t, n) {
685
- if (N(this.bindings) || N(this.bindings[t]))
685
+ if (Y(this.bindings) || Y(this.bindings[t]))
686
686
  return this;
687
- if (N(n))
687
+ if (Y(n))
688
688
  delete this.bindings[t];
689
689
  else {
690
690
  var r;
691
- (r = this.bindings[t]) == null || r.forEach((o, s) => {
692
- if (o.handler === n) {
693
- var i;
694
- (i = this.bindings[t]) == null || i.splice(s, 1);
691
+ (r = this.bindings[t]) == null || r.forEach((i, o) => {
692
+ if (i.handler === n) {
693
+ var s;
694
+ (s = this.bindings[t]) == null || s.splice(o, 1);
695
695
  }
696
696
  });
697
697
  }
@@ -705,33 +705,33 @@ class Ft {
705
705
  */
706
706
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
707
707
  trigger(t, ...n) {
708
- if (!N(this.bindings) && this.bindings[t]) {
708
+ if (!Y(this.bindings) && this.bindings[t]) {
709
709
  var r;
710
- (r = this.bindings[t]) == null || r.forEach((o, s) => {
710
+ (r = this.bindings[t]) == null || r.forEach((i, o) => {
711
711
  const {
712
- ctx: i,
712
+ ctx: s,
713
713
  handler: c,
714
714
  once: a
715
- } = o, u = i || this;
715
+ } = i, u = s || this;
716
716
  if (c.apply(u, n), a) {
717
- var f;
718
- (f = this.bindings[t]) == null || f.splice(s, 1);
717
+ var d;
718
+ (d = this.bindings[t]) == null || d.splice(o, 1);
719
719
  }
720
720
  });
721
721
  }
722
722
  return this;
723
723
  }
724
724
  }
725
- function V() {
726
- return V = Object.assign ? Object.assign.bind() : function(e) {
725
+ function q() {
726
+ return q = Object.assign ? Object.assign.bind() : function(e) {
727
727
  for (var t = 1; t < arguments.length; t++) {
728
728
  var n = arguments[t];
729
729
  for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
730
730
  }
731
731
  return e;
732
- }, V.apply(null, arguments);
732
+ }, q.apply(null, arguments);
733
733
  }
734
- function In(e, t) {
734
+ function Mn(e, t) {
735
735
  if (e == null) return {};
736
736
  var n = {};
737
737
  for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -748,22 +748,28 @@ be.defaultMerge;
748
748
  function Mr(e, t) {
749
749
  return t;
750
750
  }
751
- function un(e) {
752
- return typeof e != "object" || e === null ? 0 : Array.isArray(e) ? 2 : Dr(e) ? 1 : e instanceof Set ? 3 : e instanceof Map ? 4 : 5;
751
+ function Fr(e, t) {
752
+ return e.filter((n) => n !== void 0);
753
753
  }
754
- function Fr(e) {
754
+ var un;
755
+ (function(e) {
756
+ 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
+ })(un || (un = {}));
758
+ function fn(e) {
759
+ return typeof e != "object" || e === null ? 0 : Array.isArray(e) ? 2 : jr(e) ? 1 : e instanceof Set ? 3 : e instanceof Map ? 4 : 5;
760
+ }
761
+ function Lr(e) {
755
762
  const t = /* @__PURE__ */ new Set();
756
763
  for (const n of e)
757
764
  for (const r of [...Object.keys(n), ...Object.getOwnPropertySymbols(n)])
758
765
  t.add(r);
759
766
  return t;
760
767
  }
761
- function Lr(e, t) {
768
+ function Dr(e, t) {
762
769
  return typeof e == "object" && Object.prototype.propertyIsEnumerable.call(e, t);
763
770
  }
764
- function Mn(e) {
771
+ function Fn(e) {
765
772
  return {
766
- // eslint-disable-next-line functional/functional-parameters
767
773
  *[Symbol.iterator]() {
768
774
  for (const t of e)
769
775
  for (const n of t)
@@ -771,9 +777,9 @@ function Mn(e) {
771
777
  }
772
778
  };
773
779
  }
774
- const fn = /* @__PURE__ */ new Set(["[object Object]", "[object Module]"]);
775
- function Dr(e) {
776
- if (!fn.has(Object.prototype.toString.call(e)))
780
+ const dn = /* @__PURE__ */ new Set(["[object Object]", "[object Module]"]);
781
+ function jr(e) {
782
+ if (!dn.has(Object.prototype.toString.call(e)))
777
783
  return !1;
778
784
  const {
779
785
  constructor: t
@@ -781,107 +787,109 @@ function Dr(e) {
781
787
  if (t === void 0)
782
788
  return !0;
783
789
  const n = t.prototype;
784
- return !(n === null || typeof n != "object" || !fn.has(Object.prototype.toString.call(n)) || !n.hasOwnProperty("isPrototypeOf"));
790
+ return !(n === null || typeof n != "object" || !dn.has(Object.prototype.toString.call(n)) || !n.hasOwnProperty("isPrototypeOf"));
785
791
  }
786
- function jr(e, t, n) {
792
+ function Hr(e, t, n) {
787
793
  const r = {};
788
- for (const o of Fr(e)) {
789
- const s = [];
794
+ for (const i of Lr(e)) {
795
+ const o = [];
790
796
  for (const a of e)
791
- Lr(a, o) && s.push(a[o]);
792
- if (s.length === 0)
797
+ Dr(a, i) && o.push(a[i]);
798
+ if (o.length === 0)
793
799
  continue;
794
- const i = t.metaDataUpdater(n, {
795
- key: o,
800
+ const s = t.metaDataUpdater(n, {
801
+ key: i,
796
802
  parents: e
797
- }), c = Ln(s, t, i);
798
- c !== be.skip && (o === "__proto__" ? Object.defineProperty(r, o, {
803
+ }), c = Ln(o, t, s);
804
+ c !== be.skip && (i === "__proto__" ? Object.defineProperty(r, i, {
799
805
  value: c,
800
806
  configurable: !0,
801
807
  enumerable: !0,
802
808
  writable: !0
803
- }) : r[o] = c);
809
+ }) : r[i] = c);
804
810
  }
805
811
  return r;
806
812
  }
807
- function Br(e) {
813
+ function Vr(e) {
808
814
  return e.flat();
809
815
  }
810
816
  function Nr(e) {
811
- return new Set(Mn(e));
817
+ return new Set(Fn(e));
812
818
  }
813
- function Wr(e) {
814
- return new Map(Mn(e));
819
+ function Br(e) {
820
+ return new Map(Fn(e));
815
821
  }
816
- function Fn(e) {
822
+ function $r(e) {
817
823
  return e.at(-1);
818
824
  }
819
- var St = /* @__PURE__ */ Object.freeze({
820
- __proto__: null,
821
- mergeArrays: Br,
822
- mergeMaps: Wr,
823
- mergeOthers: Fn,
824
- mergeRecords: jr,
825
- mergeSets: Nr
826
- });
825
+ const ot = {
826
+ mergeRecords: Hr,
827
+ mergeArrays: Vr,
828
+ mergeSets: Nr,
829
+ mergeMaps: Br,
830
+ mergeOthers: $r
831
+ };
827
832
  function Lt(...e) {
828
- return $r({})(...e);
833
+ return Wr({})(...e);
829
834
  }
830
- function $r(e, t) {
831
- const n = Vr(e, r);
832
- function r(...o) {
833
- return Ln(o, n, t);
835
+ function Wr(e, t) {
836
+ const n = Yr(e, r);
837
+ function r(...i) {
838
+ return Ln(i, n, t);
834
839
  }
835
840
  return r;
836
841
  }
837
- function Vr(e, t) {
838
- var n, r;
842
+ function Yr(e, t) {
843
+ var n, r, i;
839
844
  return {
840
- defaultMergeFunctions: St,
841
- mergeFunctions: V({}, St, Object.fromEntries(Object.entries(e).filter(([o, s]) => Object.hasOwn(St, o)).map(([o, s]) => s === !1 ? [o, Fn] : [o, s]))),
845
+ defaultMergeFunctions: ot,
846
+ mergeFunctions: q({}, ot, Object.fromEntries(Object.entries(e).filter(([o, s]) => Object.hasOwn(ot, o)).map(([o, s]) => s === !1 ? [o, ot.mergeOthers] : [o, s]))),
842
847
  metaDataUpdater: (n = e.metaDataUpdater) != null ? n : Mr,
843
848
  deepmerge: t,
844
849
  useImplicitDefaultMerging: (r = e.enableImplicitDefaultMerging) != null ? r : !1,
850
+ filterValues: e.filterValues === !1 ? void 0 : (i = e.filterValues) != null ? i : Fr,
845
851
  actions: be
846
852
  };
847
853
  }
848
854
  function Ln(e, t, n) {
849
- if (e.length === 0)
855
+ var r;
856
+ const i = (r = t.filterValues == null ? void 0 : t.filterValues(e, n)) != null ? r : e;
857
+ if (i.length === 0)
850
858
  return;
851
- if (e.length === 1)
852
- return Ot(e, t, n);
853
- const r = un(e[0]);
854
- if (r !== 0 && r !== 5) {
855
- for (let o = 1; o < e.length; o++)
856
- if (un(e[o]) !== r)
857
- return Ot(e, t, n);
858
- }
859
- switch (r) {
859
+ if (i.length === 1)
860
+ return Ot(i, t, n);
861
+ const o = fn(i[0]);
862
+ if (o !== 0 && o !== 5) {
863
+ for (let s = 1; s < i.length; s++)
864
+ if (fn(i[s]) !== o)
865
+ return Ot(i, t, n);
866
+ }
867
+ switch (o) {
860
868
  case 1:
861
- return Hr(e, t, n);
869
+ return Ur(i, t, n);
862
870
  case 2:
863
- return Ur(e, t, n);
871
+ return qr(i, t, n);
864
872
  case 3:
865
- return Yr(e, t, n);
873
+ return zr(i, t, n);
866
874
  case 4:
867
- return zr(e, t, n);
875
+ return Jr(i, t, n);
868
876
  default:
869
- return Ot(e, t, n);
877
+ return Ot(i, t, n);
870
878
  }
871
879
  }
872
- function Hr(e, t, n) {
880
+ function Ur(e, t, n) {
873
881
  const r = t.mergeFunctions.mergeRecords(e, t, n);
874
882
  return r === be.defaultMerge || t.useImplicitDefaultMerging && r === void 0 && t.mergeFunctions.mergeRecords !== t.defaultMergeFunctions.mergeRecords ? t.defaultMergeFunctions.mergeRecords(e, t, n) : r;
875
883
  }
876
- function Ur(e, t, n) {
884
+ function qr(e, t, n) {
877
885
  const r = t.mergeFunctions.mergeArrays(e, t, n);
878
886
  return r === be.defaultMerge || t.useImplicitDefaultMerging && r === void 0 && t.mergeFunctions.mergeArrays !== t.defaultMergeFunctions.mergeArrays ? t.defaultMergeFunctions.mergeArrays(e) : r;
879
887
  }
880
- function Yr(e, t, n) {
888
+ function zr(e, t, n) {
881
889
  const r = t.mergeFunctions.mergeSets(e, t, n);
882
890
  return r === be.defaultMerge || t.useImplicitDefaultMerging && r === void 0 && t.mergeFunctions.mergeSets !== t.defaultMergeFunctions.mergeSets ? t.defaultMergeFunctions.mergeSets(e) : r;
883
891
  }
884
- function zr(e, t, n) {
892
+ function Jr(e, t, n) {
885
893
  const r = t.mergeFunctions.mergeMaps(e, t, n);
886
894
  return r === be.defaultMerge || t.useImplicitDefaultMerging && r === void 0 && t.mergeFunctions.mergeMaps !== t.defaultMergeFunctions.mergeMaps ? t.defaultMergeFunctions.mergeMaps(e) : r;
887
895
  }
@@ -892,47 +900,47 @@ function Ot(e, t, n) {
892
900
  function Dt(e) {
893
901
  const t = Object.getOwnPropertyNames(e.constructor.prototype);
894
902
  for (let n = 0; n < t.length; n++) {
895
- const r = t[n], o = e[r];
896
- r !== "constructor" && typeof o == "function" && (e[r] = o.bind(e));
903
+ const r = t[n], i = e[r];
904
+ r !== "constructor" && typeof i == "function" && (e[r] = i.bind(e));
897
905
  }
898
906
  return e;
899
907
  }
900
- function qr(e, t) {
908
+ function Kr(e, t) {
901
909
  return (n) => {
902
910
  if (e.isOpen()) {
903
911
  const r = e.el && n.currentTarget === e.el;
904
- (!N(t) && n.currentTarget.matches(t) || r) && e.tour.next();
912
+ (!Y(t) && n.currentTarget.matches(t) || r) && e.tour.next();
905
913
  }
906
914
  };
907
915
  }
908
- function Jr(e) {
916
+ function Xr(e) {
909
917
  const {
910
918
  event: t,
911
919
  selector: n
912
920
  } = e.options.advanceOn || {};
913
921
  if (t) {
914
- const r = qr(e, n);
915
- let o = null;
916
- if (!N(n) && (o = document.querySelector(n), !o))
922
+ const r = Kr(e, n);
923
+ let i = null;
924
+ if (!Y(n) && (i = document.querySelector(n), !i))
917
925
  return console.error(`No element was found for the selector supplied to advanceOn: ${n}`);
918
- o ? (o.addEventListener(t, r), e.on("destroy", () => o.removeEventListener(t, r))) : (document.body.addEventListener(t, r, !0), e.on("destroy", () => document.body.removeEventListener(t, r, !0)));
926
+ i ? (i.addEventListener(t, r), e.on("destroy", () => i.removeEventListener(t, r))) : (document.body.addEventListener(t, r, !0), e.on("destroy", () => document.body.removeEventListener(t, r, !0)));
919
927
  } else
920
928
  return console.error("advanceOn was defined, but no event name was passed.");
921
929
  }
922
- class Kr {
930
+ class Gr {
923
931
  constructor(t) {
924
932
  }
925
933
  }
926
- class Xr {
934
+ class Zr {
927
935
  constructor(t, n) {
928
936
  }
929
937
  }
930
938
  function Dn(e) {
931
- return !Je(e) || e === "" ? "" : e.charAt(e.length - 1) !== "-" ? `${e}-` : e;
939
+ return !Ke(e) || e === "" ? "" : e.charAt(e.length - 1) !== "-" ? `${e}-` : e;
932
940
  }
933
- function Gr(e) {
941
+ function Qr(e) {
934
942
  const t = e.options.attachTo || {}, n = Object.assign({}, t);
935
- if (pe(n.element) && (n.element = n.element.call(e)), Je(n.element)) {
943
+ if (pe(n.element) && (n.element = n.element.call(e)), Ke(n.element)) {
936
944
  try {
937
945
  n.element = document.querySelector(n.element);
938
946
  } catch {
@@ -941,138 +949,141 @@ function Gr(e) {
941
949
  }
942
950
  return n;
943
951
  }
952
+ function ei(e) {
953
+ return e.options.extraHighlights ? e.options.extraHighlights.flatMap((t) => Array.from(document.querySelectorAll(t))) : [];
954
+ }
944
955
  function jn(e) {
945
956
  return e == null ? !0 : !e.element || !e.on;
946
957
  }
947
- function Bn() {
958
+ function Hn() {
948
959
  let e = Date.now();
949
960
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (t) => {
950
961
  const n = (e + Math.random() * 16) % 16 | 0;
951
962
  return e = Math.floor(e / 16), (t == "x" ? n : n & 3 | 8).toString(16);
952
963
  });
953
964
  }
954
- const De = Math.min, Ee = Math.max, lt = Math.round, it = Math.floor, ge = (e) => ({
965
+ const je = Math.min, xe = Math.max, ct = Math.round, st = Math.floor, ge = (e) => ({
955
966
  x: e,
956
967
  y: e
957
- }), Zr = {
968
+ }), ti = {
958
969
  left: "right",
959
970
  right: "left",
960
971
  bottom: "top",
961
972
  top: "bottom"
962
- }, Qr = {
973
+ }, ni = {
963
974
  start: "end",
964
975
  end: "start"
965
976
  };
966
977
  function At(e, t, n) {
967
- return Ee(e, De(t, n));
978
+ return xe(e, je(t, n));
968
979
  }
969
- function je(e, t) {
980
+ function He(e, t) {
970
981
  return typeof e == "function" ? e(t) : e;
971
982
  }
972
983
  function Re(e) {
973
984
  return e.split("-")[0];
974
985
  }
975
- function ft(e) {
986
+ function dt(e) {
976
987
  return e.split("-")[1];
977
988
  }
978
989
  function jt(e) {
979
990
  return e === "x" ? "y" : "x";
980
991
  }
981
- function Bt(e) {
992
+ function Ht(e) {
982
993
  return e === "y" ? "height" : "width";
983
994
  }
984
- function Be(e) {
995
+ function Ve(e) {
985
996
  return ["top", "bottom"].includes(Re(e)) ? "y" : "x";
986
997
  }
987
- function Nt(e) {
988
- return jt(Be(e));
998
+ function Vt(e) {
999
+ return jt(Ve(e));
989
1000
  }
990
- function eo(e, t, n) {
1001
+ function ri(e, t, n) {
991
1002
  n === void 0 && (n = !1);
992
- const r = ft(e), o = Nt(e), s = Bt(o);
993
- let i = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
994
- return t.reference[s] > t.floating[s] && (i = ct(i)), [i, ct(i)];
1003
+ const r = dt(e), i = Vt(e), o = Ht(i);
1004
+ let s = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
1005
+ return t.reference[o] > t.floating[o] && (s = at(s)), [s, at(s)];
995
1006
  }
996
- function to(e) {
997
- const t = ct(e);
1007
+ function ii(e) {
1008
+ const t = at(e);
998
1009
  return [Pt(e), t, Pt(t)];
999
1010
  }
1000
1011
  function Pt(e) {
1001
- return e.replace(/start|end/g, (t) => Qr[t]);
1012
+ return e.replace(/start|end/g, (t) => ni[t]);
1002
1013
  }
1003
- function no(e, t, n) {
1004
- const r = ["left", "right"], o = ["right", "left"], s = ["top", "bottom"], i = ["bottom", "top"];
1014
+ function oi(e, t, n) {
1015
+ const r = ["left", "right"], i = ["right", "left"], o = ["top", "bottom"], s = ["bottom", "top"];
1005
1016
  switch (e) {
1006
1017
  case "top":
1007
1018
  case "bottom":
1008
- return n ? t ? o : r : t ? r : o;
1019
+ return n ? t ? i : r : t ? r : i;
1009
1020
  case "left":
1010
1021
  case "right":
1011
- return t ? s : i;
1022
+ return t ? o : s;
1012
1023
  default:
1013
1024
  return [];
1014
1025
  }
1015
1026
  }
1016
- function ro(e, t, n, r) {
1017
- const o = ft(e);
1018
- let s = no(Re(e), n === "start", r);
1019
- return o && (s = s.map((i) => i + "-" + o), t && (s = s.concat(s.map(Pt)))), s;
1027
+ function si(e, t, n, r) {
1028
+ const i = dt(e);
1029
+ let o = oi(Re(e), n === "start", r);
1030
+ return i && (o = o.map((s) => s + "-" + i), t && (o = o.concat(o.map(Pt)))), o;
1020
1031
  }
1021
- function ct(e) {
1022
- return e.replace(/left|right|bottom|top/g, (t) => Zr[t]);
1032
+ function at(e) {
1033
+ return e.replace(/left|right|bottom|top/g, (t) => ti[t]);
1023
1034
  }
1024
- function oo(e) {
1025
- return V({
1035
+ function li(e) {
1036
+ return q({
1026
1037
  top: 0,
1027
1038
  right: 0,
1028
1039
  bottom: 0,
1029
1040
  left: 0
1030
1041
  }, e);
1031
1042
  }
1032
- function Nn(e) {
1033
- return typeof e != "number" ? oo(e) : {
1043
+ function Vn(e) {
1044
+ return typeof e != "number" ? li(e) : {
1034
1045
  top: e,
1035
1046
  right: e,
1036
1047
  bottom: e,
1037
1048
  left: e
1038
1049
  };
1039
1050
  }
1040
- function at(e) {
1051
+ function ut(e) {
1041
1052
  const {
1042
1053
  x: t,
1043
1054
  y: n,
1044
1055
  width: r,
1045
- height: o
1056
+ height: i
1046
1057
  } = e;
1047
1058
  return {
1048
1059
  width: r,
1049
- height: o,
1060
+ height: i,
1050
1061
  top: n,
1051
1062
  left: t,
1052
1063
  right: t + r,
1053
- bottom: n + o,
1064
+ bottom: n + i,
1054
1065
  x: t,
1055
1066
  y: n
1056
1067
  };
1057
1068
  }
1058
- const io = ["mainAxis", "crossAxis", "fallbackPlacements", "fallbackStrategy", "fallbackAxisSideDirection", "flipAlignment"], so = ["mainAxis", "crossAxis", "limiter"];
1059
- function dn(e, t, n) {
1069
+ const ci = ["mainAxis", "crossAxis", "fallbackPlacements", "fallbackStrategy", "fallbackAxisSideDirection", "flipAlignment"], ai = ["mainAxis", "crossAxis", "limiter"];
1070
+ function hn(e, t, n) {
1060
1071
  let {
1061
1072
  reference: r,
1062
- floating: o
1073
+ floating: i
1063
1074
  } = e;
1064
- const s = Be(t), i = Nt(t), c = Bt(i), a = Re(t), u = s === "y", f = r.x + r.width / 2 - o.width / 2, h = r.y + r.height / 2 - o.height / 2, d = r[c] / 2 - o[c] / 2;
1075
+ const o = Ve(t), s = Vt(t), c = Ht(s), a = Re(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;
1065
1076
  let g;
1066
1077
  switch (a) {
1067
1078
  case "top":
1068
1079
  g = {
1069
- x: f,
1070
- y: r.y - o.height
1080
+ x: d,
1081
+ y: r.y - i.height
1071
1082
  };
1072
1083
  break;
1073
1084
  case "bottom":
1074
1085
  g = {
1075
- x: f,
1086
+ x: d,
1076
1087
  y: r.y + r.height
1077
1088
  };
1078
1089
  break;
@@ -1084,7 +1095,7 @@ function dn(e, t, n) {
1084
1095
  break;
1085
1096
  case "left":
1086
1097
  g = {
1087
- x: r.x - o.width,
1098
+ x: r.x - i.width,
1088
1099
  y: h
1089
1100
  };
1090
1101
  break;
@@ -1094,106 +1105,106 @@ function dn(e, t, n) {
1094
1105
  y: r.y
1095
1106
  };
1096
1107
  }
1097
- switch (ft(t)) {
1108
+ switch (dt(t)) {
1098
1109
  case "start":
1099
- g[i] -= d * (n && u ? -1 : 1);
1110
+ g[s] -= f * (n && u ? -1 : 1);
1100
1111
  break;
1101
1112
  case "end":
1102
- g[i] += d * (n && u ? -1 : 1);
1113
+ g[s] += f * (n && u ? -1 : 1);
1103
1114
  break;
1104
1115
  }
1105
1116
  return g;
1106
1117
  }
1107
- const lo = async (e, t, n) => {
1118
+ const ui = async (e, t, n) => {
1108
1119
  const {
1109
1120
  placement: r = "bottom",
1110
- strategy: o = "absolute",
1111
- middleware: s = [],
1112
- platform: i
1113
- } = n, c = s.filter(Boolean), a = await (i.isRTL == null ? void 0 : i.isRTL(t));
1114
- let u = await i.getElementRects({
1121
+ strategy: i = "absolute",
1122
+ middleware: o = [],
1123
+ platform: s
1124
+ } = n, c = o.filter(Boolean), a = await (s.isRTL == null ? void 0 : s.isRTL(t));
1125
+ let u = await s.getElementRects({
1115
1126
  reference: e,
1116
1127
  floating: t,
1117
- strategy: o
1128
+ strategy: i
1118
1129
  }), {
1119
- x: f,
1130
+ x: d,
1120
1131
  y: h
1121
- } = dn(u, r, a), d = r, g = {}, v = 0;
1122
- for (let x = 0; x < c.length; x++) {
1132
+ } = hn(u, r, a), f = r, g = {}, v = 0;
1133
+ for (let E = 0; E < c.length; E++) {
1123
1134
  const {
1124
1135
  name: S,
1125
1136
  fn: w
1126
- } = c[x], {
1137
+ } = c[E], {
1127
1138
  x: _,
1128
1139
  y: R,
1129
1140
  data: y,
1130
1141
  reset: m
1131
1142
  } = await w({
1132
- x: f,
1143
+ x: d,
1133
1144
  y: h,
1134
1145
  initialPlacement: r,
1135
- placement: d,
1136
- strategy: o,
1146
+ placement: f,
1147
+ strategy: i,
1137
1148
  middlewareData: g,
1138
1149
  rects: u,
1139
- platform: i,
1150
+ platform: s,
1140
1151
  elements: {
1141
1152
  reference: e,
1142
1153
  floating: t
1143
1154
  }
1144
1155
  });
1145
- f = _ ?? f, h = R ?? h, g = V({}, g, {
1146
- [S]: V({}, g[S], y)
1147
- }), m && v <= 50 && (v++, typeof m == "object" && (m.placement && (d = m.placement), m.rects && (u = m.rects === !0 ? await i.getElementRects({
1156
+ d = _ ?? d, h = R ?? h, g = q({}, g, {
1157
+ [S]: q({}, g[S], y)
1158
+ }), m && v <= 50 && (v++, typeof m == "object" && (m.placement && (f = m.placement), m.rects && (u = m.rects === !0 ? await s.getElementRects({
1148
1159
  reference: e,
1149
1160
  floating: t,
1150
- strategy: o
1161
+ strategy: i
1151
1162
  }) : m.rects), {
1152
- x: f,
1163
+ x: d,
1153
1164
  y: h
1154
- } = dn(u, d, a)), x = -1);
1165
+ } = hn(u, f, a)), E = -1);
1155
1166
  }
1156
1167
  return {
1157
- x: f,
1168
+ x: d,
1158
1169
  y: h,
1159
- placement: d,
1160
- strategy: o,
1170
+ placement: f,
1171
+ strategy: i,
1161
1172
  middlewareData: g
1162
1173
  };
1163
1174
  };
1164
- async function Wn(e, t) {
1175
+ async function Nn(e, t) {
1165
1176
  var n;
1166
1177
  t === void 0 && (t = {});
1167
1178
  const {
1168
1179
  x: r,
1169
- y: o,
1170
- platform: s,
1171
- rects: i,
1180
+ y: i,
1181
+ platform: o,
1182
+ rects: s,
1172
1183
  elements: c,
1173
1184
  strategy: a
1174
1185
  } = e, {
1175
1186
  boundary: u = "clippingAncestors",
1176
- rootBoundary: f = "viewport",
1187
+ rootBoundary: d = "viewport",
1177
1188
  elementContext: h = "floating",
1178
- altBoundary: d = !1,
1189
+ altBoundary: f = !1,
1179
1190
  padding: g = 0
1180
- } = je(t, e), v = Nn(g), S = c[d ? h === "floating" ? "reference" : "floating" : h], w = at(await s.getClippingRect({
1181
- element: (n = await (s.isElement == null ? void 0 : s.isElement(S))) == null || n ? S : S.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(c.floating)),
1191
+ } = He(t, e), v = Vn(g), S = c[f ? h === "floating" ? "reference" : "floating" : h], w = ut(await o.getClippingRect({
1192
+ 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)),
1182
1193
  boundary: u,
1183
- rootBoundary: f,
1194
+ rootBoundary: d,
1184
1195
  strategy: a
1185
1196
  })), _ = h === "floating" ? {
1186
1197
  x: r,
1187
- y: o,
1188
- width: i.floating.width,
1189
- height: i.floating.height
1190
- } : i.reference, R = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c.floating)), y = await (s.isElement == null ? void 0 : s.isElement(R)) ? await (s.getScale == null ? void 0 : s.getScale(R)) || {
1198
+ y: i,
1199
+ width: s.floating.width,
1200
+ height: s.floating.height
1201
+ } : s.reference, R = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c.floating)), y = await (o.isElement == null ? void 0 : o.isElement(R)) ? await (o.getScale == null ? void 0 : o.getScale(R)) || {
1191
1202
  x: 1,
1192
1203
  y: 1
1193
1204
  } : {
1194
1205
  x: 1,
1195
1206
  y: 1
1196
- }, m = at(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
1207
+ }, m = ut(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
1197
1208
  elements: c,
1198
1209
  rect: _,
1199
1210
  offsetParent: R,
@@ -1206,130 +1217,130 @@ async function Wn(e, t) {
1206
1217
  right: (m.right - w.right + v.right) / y.x
1207
1218
  };
1208
1219
  }
1209
- const co = (e) => ({
1220
+ const fi = (e) => ({
1210
1221
  name: "arrow",
1211
1222
  options: e,
1212
1223
  async fn(t) {
1213
1224
  const {
1214
1225
  x: n,
1215
1226
  y: r,
1216
- placement: o,
1217
- rects: s,
1218
- platform: i,
1227
+ placement: i,
1228
+ rects: o,
1229
+ platform: s,
1219
1230
  elements: c,
1220
1231
  middlewareData: a
1221
1232
  } = t, {
1222
1233
  element: u,
1223
- padding: f = 0
1224
- } = je(e, t) || {};
1234
+ padding: d = 0
1235
+ } = He(e, t) || {};
1225
1236
  if (u == null)
1226
1237
  return {};
1227
- const h = Nn(f), d = {
1238
+ const h = Vn(d), f = {
1228
1239
  x: n,
1229
1240
  y: r
1230
- }, g = Nt(o), v = Bt(g), x = await i.getDimensions(u), S = g === "y", w = S ? "top" : "left", _ = S ? "bottom" : "right", R = S ? "clientHeight" : "clientWidth", y = s.reference[v] + s.reference[g] - d[g] - s.floating[v], m = d[g] - s.reference[g], T = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(u));
1231
- let B = T ? T[R] : 0;
1232
- (!B || !await (i.isElement == null ? void 0 : i.isElement(T))) && (B = c.floating[R] || s.floating[v]);
1233
- const oe = y / 2 - m / 2, H = B / 2 - x[v] / 2 - 1, K = De(h[w], H), U = De(h[_], H), W = K, j = B - x[v] - U, L = B / 2 - x[v] / 2 + oe, X = At(W, L, j), Y = !a.arrow && ft(o) != null && L !== X && s.reference[v] / 2 - (L < W ? K : U) - x[v] / 2 < 0, le = Y ? L < W ? L - W : L - j : 0;
1241
+ }, g = Vt(i), v = Ht(g), E = await s.getDimensions(u), S = g === "y", w = S ? "top" : "left", _ = S ? "bottom" : "right", R = S ? "clientHeight" : "clientWidth", y = o.reference[v] + o.reference[g] - f[g] - o.floating[v], m = f[g] - o.reference[g], C = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
1242
+ let V = C ? C[R] : 0;
1243
+ (!V || !await (s.isElement == null ? void 0 : s.isElement(C))) && (V = c.floating[R] || o.floating[v]);
1244
+ const se = y / 2 - m / 2, J = V / 2 - E[v] / 2 - 1, G = je(h[w], J), N = je(h[_], J), D = G, j = V - E[v] - N, M = V / 2 - E[v] / 2 + se, $ = At(D, M, j), B = !a.arrow && dt(i) != null && M !== $ && o.reference[v] / 2 - (M < D ? G : N) - E[v] / 2 < 0, te = B ? M < D ? M - D : M - j : 0;
1234
1245
  return {
1235
- [g]: d[g] + le,
1236
- data: V({
1237
- [g]: X,
1238
- centerOffset: L - X - le
1239
- }, Y && {
1240
- alignmentOffset: le
1246
+ [g]: f[g] + te,
1247
+ data: q({
1248
+ [g]: $,
1249
+ centerOffset: M - $ - te
1250
+ }, B && {
1251
+ alignmentOffset: te
1241
1252
  }),
1242
- reset: Y
1253
+ reset: B
1243
1254
  };
1244
1255
  }
1245
- }), ao = function(t) {
1256
+ }), di = function(t) {
1246
1257
  return t === void 0 && (t = {}), {
1247
1258
  name: "flip",
1248
1259
  options: t,
1249
1260
  async fn(n) {
1250
- var r, o;
1261
+ var r, i;
1251
1262
  const {
1252
- placement: s,
1253
- middlewareData: i,
1263
+ placement: o,
1264
+ middlewareData: s,
1254
1265
  rects: c,
1255
1266
  initialPlacement: a,
1256
1267
  platform: u,
1257
- elements: f
1258
- } = n, h = je(t, n), {
1259
- mainAxis: d = !0,
1268
+ elements: d
1269
+ } = n, h = He(t, n), {
1270
+ mainAxis: f = !0,
1260
1271
  crossAxis: g = !0,
1261
1272
  fallbackPlacements: v,
1262
- fallbackStrategy: x = "bestFit",
1273
+ fallbackStrategy: E = "bestFit",
1263
1274
  fallbackAxisSideDirection: S = "none",
1264
1275
  flipAlignment: w = !0
1265
- } = h, _ = In(h, io);
1266
- if ((r = i.arrow) != null && r.alignmentOffset)
1276
+ } = h, _ = Mn(h, ci);
1277
+ if ((r = s.arrow) != null && r.alignmentOffset)
1267
1278
  return {};
1268
- const R = Re(s), y = Be(a), m = Re(a) === a, T = await (u.isRTL == null ? void 0 : u.isRTL(f.floating)), B = v || (m || !w ? [ct(a)] : to(a)), oe = S !== "none";
1269
- !v && oe && B.push(...ro(a, w, S, T));
1270
- const H = [a, ...B], K = await Wn(n, _), U = [];
1271
- let W = ((o = i.flip) == null ? void 0 : o.overflows) || [];
1272
- if (d && U.push(K[R]), g) {
1273
- const Y = eo(s, c, T);
1274
- U.push(K[Y[0]], K[Y[1]]);
1279
+ const R = Re(o), y = Ve(a), m = Re(a) === a, C = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), V = v || (m || !w ? [at(a)] : ii(a)), se = S !== "none";
1280
+ !v && se && V.push(...si(a, w, S, C));
1281
+ const J = [a, ...V], G = await Nn(n, _), N = [];
1282
+ let D = ((i = s.flip) == null ? void 0 : i.overflows) || [];
1283
+ if (f && N.push(G[R]), g) {
1284
+ const B = ri(o, c, C);
1285
+ N.push(G[B[0]], G[B[1]]);
1275
1286
  }
1276
- if (W = [...W, {
1277
- placement: s,
1278
- overflows: U
1279
- }], !U.every((Y) => Y <= 0)) {
1280
- var j, L;
1281
- const Y = (((j = i.flip) == null ? void 0 : j.index) || 0) + 1, le = H[Y];
1282
- if (le)
1287
+ if (D = [...D, {
1288
+ placement: o,
1289
+ overflows: N
1290
+ }], !N.every((B) => B <= 0)) {
1291
+ var j, M;
1292
+ const B = (((j = s.flip) == null ? void 0 : j.index) || 0) + 1, te = J[B];
1293
+ if (te)
1283
1294
  return {
1284
1295
  data: {
1285
- index: Y,
1286
- overflows: W
1296
+ index: B,
1297
+ overflows: D
1287
1298
  },
1288
1299
  reset: {
1289
- placement: le
1300
+ placement: te
1290
1301
  }
1291
1302
  };
1292
- let he = (L = W.filter((ce) => ce.overflows[0] <= 0).sort((ce, Q) => ce.overflows[1] - Q.overflows[1])[0]) == null ? void 0 : L.placement;
1293
- if (!he)
1294
- switch (x) {
1303
+ let ae = (M = D.filter((Z) => Z.overflows[0] <= 0).sort((Z, W) => Z.overflows[1] - W.overflows[1])[0]) == null ? void 0 : M.placement;
1304
+ if (!ae)
1305
+ switch (E) {
1295
1306
  case "bestFit": {
1296
- var X;
1297
- const ce = (X = W.filter((Q) => {
1298
- if (oe) {
1299
- const ee = Be(Q.placement);
1300
- return ee === y || // Create a bias to the `y` side axis due to horizontal
1307
+ var $;
1308
+ const Z = ($ = D.filter((W) => {
1309
+ if (se) {
1310
+ const ne = Ve(W.placement);
1311
+ return ne === y || // Create a bias to the `y` side axis due to horizontal
1301
1312
  // reading directions favoring greater width.
1302
- ee === "y";
1313
+ ne === "y";
1303
1314
  }
1304
1315
  return !0;
1305
- }).map((Q) => [Q.placement, Q.overflows.filter((ee) => ee > 0).reduce((ee, et) => ee + et, 0)]).sort((Q, ee) => Q[1] - ee[1])[0]) == null ? void 0 : X[0];
1306
- ce && (he = ce);
1316
+ }).map((W) => [W.placement, W.overflows.filter((ne) => ne > 0).reduce((ne, et) => ne + et, 0)]).sort((W, ne) => W[1] - ne[1])[0]) == null ? void 0 : $[0];
1317
+ Z && (ae = Z);
1307
1318
  break;
1308
1319
  }
1309
1320
  case "initialPlacement":
1310
- he = a;
1321
+ ae = a;
1311
1322
  break;
1312
1323
  }
1313
- if (s !== he)
1324
+ if (o !== ae)
1314
1325
  return {
1315
1326
  reset: {
1316
- placement: he
1327
+ placement: ae
1317
1328
  }
1318
1329
  };
1319
1330
  }
1320
1331
  return {};
1321
1332
  }
1322
1333
  };
1323
- }, uo = function(t) {
1334
+ }, hi = function(t) {
1324
1335
  return t === void 0 && (t = {}), {
1325
1336
  name: "shift",
1326
1337
  options: t,
1327
1338
  async fn(n) {
1328
1339
  const {
1329
1340
  x: r,
1330
- y: o,
1331
- placement: s
1332
- } = n, i = je(t, n), {
1341
+ y: i,
1342
+ placement: o
1343
+ } = n, s = He(t, n), {
1333
1344
  mainAxis: c = !0,
1334
1345
  crossAxis: a = !1,
1335
1346
  limiter: u = {
@@ -1344,109 +1355,109 @@ const co = (e) => ({
1344
1355
  };
1345
1356
  }
1346
1357
  }
1347
- } = i, f = In(i, so), h = {
1358
+ } = s, d = Mn(s, ai), h = {
1348
1359
  x: r,
1349
- y: o
1350
- }, d = await Wn(n, f), g = Be(Re(s)), v = jt(g);
1351
- let x = h[v], S = h[g];
1360
+ y: i
1361
+ }, f = await Nn(n, d), g = Ve(Re(o)), v = jt(g);
1362
+ let E = h[v], S = h[g];
1352
1363
  if (c) {
1353
- const _ = v === "y" ? "top" : "left", R = v === "y" ? "bottom" : "right", y = x + d[_], m = x - d[R];
1354
- x = At(y, x, m);
1364
+ const _ = v === "y" ? "top" : "left", R = v === "y" ? "bottom" : "right", y = E + f[_], m = E - f[R];
1365
+ E = At(y, E, m);
1355
1366
  }
1356
1367
  if (a) {
1357
- const _ = g === "y" ? "top" : "left", R = g === "y" ? "bottom" : "right", y = S + d[_], m = S - d[R];
1368
+ const _ = g === "y" ? "top" : "left", R = g === "y" ? "bottom" : "right", y = S + f[_], m = S - f[R];
1358
1369
  S = At(y, S, m);
1359
1370
  }
1360
- const w = u.fn(V({}, n, {
1361
- [v]: x,
1371
+ const w = u.fn(q({}, n, {
1372
+ [v]: E,
1362
1373
  [g]: S
1363
1374
  }));
1364
- return V({}, w, {
1375
+ return q({}, w, {
1365
1376
  data: {
1366
1377
  x: w.x - r,
1367
- y: w.y - o
1378
+ y: w.y - i
1368
1379
  }
1369
1380
  });
1370
1381
  }
1371
1382
  };
1372
- }, fo = function(t) {
1383
+ }, pi = function(t) {
1373
1384
  return t === void 0 && (t = {}), {
1374
1385
  options: t,
1375
1386
  fn(n) {
1376
1387
  const {
1377
1388
  x: r,
1378
- y: o,
1379
- placement: s,
1380
- rects: i,
1389
+ y: i,
1390
+ placement: o,
1391
+ rects: s,
1381
1392
  middlewareData: c
1382
1393
  } = n, {
1383
1394
  offset: a = 0,
1384
1395
  mainAxis: u = !0,
1385
- crossAxis: f = !0
1386
- } = je(t, n), h = {
1396
+ crossAxis: d = !0
1397
+ } = He(t, n), h = {
1387
1398
  x: r,
1388
- y: o
1389
- }, d = Be(s), g = jt(d);
1390
- let v = h[g], x = h[d];
1391
- const S = je(a, n), w = typeof S == "number" ? {
1399
+ y: i
1400
+ }, f = Ve(o), g = jt(f);
1401
+ let v = h[g], E = h[f];
1402
+ const S = He(a, n), w = typeof S == "number" ? {
1392
1403
  mainAxis: S,
1393
1404
  crossAxis: 0
1394
- } : V({
1405
+ } : q({
1395
1406
  mainAxis: 0,
1396
1407
  crossAxis: 0
1397
1408
  }, S);
1398
1409
  if (u) {
1399
- const y = g === "y" ? "height" : "width", m = i.reference[g] - i.floating[y] + w.mainAxis, T = i.reference[g] + i.reference[y] - w.mainAxis;
1400
- v < m ? v = m : v > T && (v = T);
1410
+ const y = g === "y" ? "height" : "width", m = s.reference[g] - s.floating[y] + w.mainAxis, C = s.reference[g] + s.reference[y] - w.mainAxis;
1411
+ v < m ? v = m : v > C && (v = C);
1401
1412
  }
1402
- if (f) {
1413
+ if (d) {
1403
1414
  var _, R;
1404
- const y = g === "y" ? "width" : "height", m = ["top", "left"].includes(Re(s)), T = i.reference[d] - i.floating[y] + (m && ((_ = c.offset) == null ? void 0 : _[d]) || 0) + (m ? 0 : w.crossAxis), B = i.reference[d] + i.reference[y] + (m ? 0 : ((R = c.offset) == null ? void 0 : R[d]) || 0) - (m ? w.crossAxis : 0);
1405
- x < T ? x = T : x > B && (x = B);
1415
+ const y = g === "y" ? "width" : "height", m = ["top", "left"].includes(Re(o)), C = s.reference[f] - s.floating[y] + (m && ((_ = c.offset) == null ? void 0 : _[f]) || 0) + (m ? 0 : w.crossAxis), V = s.reference[f] + s.reference[y] + (m ? 0 : ((R = c.offset) == null ? void 0 : R[f]) || 0) - (m ? w.crossAxis : 0);
1416
+ E < C ? E = C : E > V && (E = V);
1406
1417
  }
1407
1418
  return {
1408
1419
  [g]: v,
1409
- [d]: x
1420
+ [f]: E
1410
1421
  };
1411
1422
  }
1412
1423
  };
1413
1424
  };
1414
- function Ve(e) {
1415
- return $n(e) ? (e.nodeName || "").toLowerCase() : "#document";
1425
+ function We(e) {
1426
+ return Bn(e) ? (e.nodeName || "").toLowerCase() : "#document";
1416
1427
  }
1417
- function q(e) {
1428
+ function K(e) {
1418
1429
  var t;
1419
1430
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
1420
1431
  }
1421
- function ae(e) {
1432
+ function ue(e) {
1422
1433
  var t;
1423
- return (t = ($n(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
1434
+ return (t = (Bn(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
1424
1435
  }
1425
- function $n(e) {
1426
- return e instanceof Node || e instanceof q(e).Node;
1436
+ function Bn(e) {
1437
+ return e instanceof Node || e instanceof K(e).Node;
1427
1438
  }
1428
- function te(e) {
1429
- return e instanceof Element || e instanceof q(e).Element;
1439
+ function re(e) {
1440
+ return e instanceof Element || e instanceof K(e).Element;
1430
1441
  }
1431
- function ie(e) {
1432
- return e instanceof HTMLElement || e instanceof q(e).HTMLElement;
1442
+ function le(e) {
1443
+ return e instanceof HTMLElement || e instanceof K(e).HTMLElement;
1433
1444
  }
1434
- function hn(e) {
1435
- return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof q(e).ShadowRoot;
1445
+ function pn(e) {
1446
+ return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof K(e).ShadowRoot;
1436
1447
  }
1437
1448
  function Ze(e) {
1438
1449
  const {
1439
1450
  overflow: t,
1440
1451
  overflowX: n,
1441
1452
  overflowY: r,
1442
- display: o
1443
- } = ne(e);
1444
- return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !["inline", "contents"].includes(o);
1453
+ display: i
1454
+ } = ie(e);
1455
+ return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !["inline", "contents"].includes(i);
1445
1456
  }
1446
- function ho(e) {
1447
- return ["table", "td", "th"].includes(Ve(e));
1457
+ function gi(e) {
1458
+ return ["table", "td", "th"].includes(We(e));
1448
1459
  }
1449
- function dt(e) {
1460
+ function ht(e) {
1450
1461
  return [":popover-open", ":modal"].some((t) => {
1451
1462
  try {
1452
1463
  return e.matches(t);
@@ -1455,32 +1466,32 @@ function dt(e) {
1455
1466
  }
1456
1467
  });
1457
1468
  }
1458
- function Wt(e) {
1459
- const t = $t(), n = te(e) ? ne(e) : e;
1469
+ function Nt(e) {
1470
+ const t = Bt(), n = re(e) ? ie(e) : e;
1460
1471
  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));
1461
1472
  }
1462
- function po(e) {
1473
+ function mi(e) {
1463
1474
  let t = me(e);
1464
- for (; ie(t) && !Ne(t); ) {
1465
- if (Wt(t))
1475
+ for (; le(t) && !Ne(t); ) {
1476
+ if (Nt(t))
1466
1477
  return t;
1467
- if (dt(t))
1478
+ if (ht(t))
1468
1479
  return null;
1469
1480
  t = me(t);
1470
1481
  }
1471
1482
  return null;
1472
1483
  }
1473
- function $t() {
1484
+ function Bt() {
1474
1485
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
1475
1486
  }
1476
1487
  function Ne(e) {
1477
- return ["html", "body", "#document"].includes(Ve(e));
1488
+ return ["html", "body", "#document"].includes(We(e));
1478
1489
  }
1479
- function ne(e) {
1480
- return q(e).getComputedStyle(e);
1490
+ function ie(e) {
1491
+ return K(e).getComputedStyle(e);
1481
1492
  }
1482
- function ht(e) {
1483
- return te(e) ? {
1493
+ function pt(e) {
1494
+ return re(e) ? {
1484
1495
  scrollLeft: e.scrollLeft,
1485
1496
  scrollTop: e.scrollTop
1486
1497
  } : {
@@ -1489,200 +1500,200 @@ function ht(e) {
1489
1500
  };
1490
1501
  }
1491
1502
  function me(e) {
1492
- if (Ve(e) === "html")
1503
+ if (We(e) === "html")
1493
1504
  return e;
1494
1505
  const t = (
1495
1506
  // Step into the shadow DOM of the parent of a slotted node.
1496
1507
  e.assignedSlot || // DOM Element detected.
1497
1508
  e.parentNode || // ShadowRoot detected.
1498
- hn(e) && e.host || // Fallback.
1499
- ae(e)
1509
+ pn(e) && e.host || // Fallback.
1510
+ ue(e)
1500
1511
  );
1501
- return hn(t) ? t.host : t;
1512
+ return pn(t) ? t.host : t;
1502
1513
  }
1503
- function Vn(e) {
1514
+ function $n(e) {
1504
1515
  const t = me(e);
1505
- return Ne(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ie(t) && Ze(t) ? t : Vn(t);
1516
+ return Ne(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : le(t) && Ze(t) ? t : $n(t);
1506
1517
  }
1507
- function Ke(e, t, n) {
1518
+ function Xe(e, t, n) {
1508
1519
  var r;
1509
1520
  t === void 0 && (t = []), n === void 0 && (n = !0);
1510
- const o = Vn(e), s = o === ((r = e.ownerDocument) == null ? void 0 : r.body), i = q(o);
1511
- return s ? t.concat(i, i.visualViewport || [], Ze(o) ? o : [], i.frameElement && n ? Ke(i.frameElement) : []) : t.concat(o, Ke(o, [], n));
1521
+ const i = $n(e), o = i === ((r = e.ownerDocument) == null ? void 0 : r.body), s = K(i);
1522
+ return o ? t.concat(s, s.visualViewport || [], Ze(i) ? i : [], s.frameElement && n ? Xe(s.frameElement) : []) : t.concat(i, Xe(i, [], n));
1512
1523
  }
1513
- function Hn(e) {
1514
- const t = ne(e);
1524
+ function Wn(e) {
1525
+ const t = ie(e);
1515
1526
  let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
1516
- const o = ie(e), s = o ? e.offsetWidth : n, i = o ? e.offsetHeight : r, c = lt(n) !== s || lt(r) !== i;
1517
- return c && (n = s, r = i), {
1527
+ const i = le(e), o = i ? e.offsetWidth : n, s = i ? e.offsetHeight : r, c = ct(n) !== o || ct(r) !== s;
1528
+ return c && (n = o, r = s), {
1518
1529
  width: n,
1519
1530
  height: r,
1520
1531
  $: c
1521
1532
  };
1522
1533
  }
1523
- function Vt(e) {
1524
- return te(e) ? e : e.contextElement;
1534
+ function $t(e) {
1535
+ return re(e) ? e : e.contextElement;
1525
1536
  }
1526
1537
  function Fe(e) {
1527
- const t = Vt(e);
1528
- if (!ie(t))
1538
+ const t = $t(e);
1539
+ if (!le(t))
1529
1540
  return ge(1);
1530
1541
  const n = t.getBoundingClientRect(), {
1531
1542
  width: r,
1532
- height: o,
1533
- $: s
1534
- } = Hn(t);
1535
- let i = (s ? lt(n.width) : n.width) / r, c = (s ? lt(n.height) : n.height) / o;
1536
- return (!i || !Number.isFinite(i)) && (i = 1), (!c || !Number.isFinite(c)) && (c = 1), {
1537
- x: i,
1543
+ height: i,
1544
+ $: o
1545
+ } = Wn(t);
1546
+ let s = (o ? ct(n.width) : n.width) / r, c = (o ? ct(n.height) : n.height) / i;
1547
+ return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
1548
+ x: s,
1538
1549
  y: c
1539
1550
  };
1540
1551
  }
1541
- const go = /* @__PURE__ */ ge(0);
1542
- function Un(e) {
1543
- const t = q(e);
1544
- return !$t() || !t.visualViewport ? go : {
1552
+ const bi = /* @__PURE__ */ ge(0);
1553
+ function Yn(e) {
1554
+ const t = K(e);
1555
+ return !Bt() || !t.visualViewport ? bi : {
1545
1556
  x: t.visualViewport.offsetLeft,
1546
1557
  y: t.visualViewport.offsetTop
1547
1558
  };
1548
1559
  }
1549
- function mo(e, t, n) {
1550
- return t === void 0 && (t = !1), !n || t && n !== q(e) ? !1 : t;
1560
+ function vi(e, t, n) {
1561
+ return t === void 0 && (t = !1), !n || t && n !== K(e) ? !1 : t;
1551
1562
  }
1552
- function Te(e, t, n, r) {
1563
+ function Ce(e, t, n, r) {
1553
1564
  t === void 0 && (t = !1), n === void 0 && (n = !1);
1554
- const o = e.getBoundingClientRect(), s = Vt(e);
1555
- let i = ge(1);
1556
- t && (r ? te(r) && (i = Fe(r)) : i = Fe(e));
1557
- const c = mo(s, n, r) ? Un(s) : ge(0);
1558
- let a = (o.left + c.x) / i.x, u = (o.top + c.y) / i.y, f = o.width / i.x, h = o.height / i.y;
1559
- if (s) {
1560
- const d = q(s), g = r && te(r) ? q(r) : r;
1561
- let v = d, x = v.frameElement;
1562
- for (; x && r && g !== v; ) {
1563
- const S = Fe(x), w = x.getBoundingClientRect(), _ = ne(x), R = w.left + (x.clientLeft + parseFloat(_.paddingLeft)) * S.x, y = w.top + (x.clientTop + parseFloat(_.paddingTop)) * S.y;
1564
- a *= S.x, u *= S.y, f *= S.x, h *= S.y, a += R, u += y, v = q(x), x = v.frameElement;
1565
- }
1566
- }
1567
- return at({
1568
- width: f,
1565
+ const i = e.getBoundingClientRect(), o = $t(e);
1566
+ let s = ge(1);
1567
+ t && (r ? re(r) && (s = Fe(r)) : s = Fe(e));
1568
+ const c = vi(o, n, r) ? Yn(o) : ge(0);
1569
+ 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;
1570
+ if (o) {
1571
+ const f = K(o), g = r && re(r) ? K(r) : r;
1572
+ let v = f, E = v.frameElement;
1573
+ for (; E && r && g !== v; ) {
1574
+ const S = Fe(E), w = E.getBoundingClientRect(), _ = ie(E), R = w.left + (E.clientLeft + parseFloat(_.paddingLeft)) * S.x, y = w.top + (E.clientTop + parseFloat(_.paddingTop)) * S.y;
1575
+ a *= S.x, u *= S.y, d *= S.x, h *= S.y, a += R, u += y, v = K(E), E = v.frameElement;
1576
+ }
1577
+ }
1578
+ return ut({
1579
+ width: d,
1569
1580
  height: h,
1570
1581
  x: a,
1571
1582
  y: u
1572
1583
  });
1573
1584
  }
1574
- function bo(e) {
1585
+ function yi(e) {
1575
1586
  let {
1576
1587
  elements: t,
1577
1588
  rect: n,
1578
1589
  offsetParent: r,
1579
- strategy: o
1590
+ strategy: i
1580
1591
  } = e;
1581
- const s = o === "fixed", i = ae(r), c = t ? dt(t.floating) : !1;
1582
- if (r === i || c && s)
1592
+ const o = i === "fixed", s = ue(r), c = t ? ht(t.floating) : !1;
1593
+ if (r === s || c && o)
1583
1594
  return n;
1584
1595
  let a = {
1585
1596
  scrollLeft: 0,
1586
1597
  scrollTop: 0
1587
1598
  }, u = ge(1);
1588
- const f = ge(0), h = ie(r);
1589
- if ((h || !h && !s) && ((Ve(r) !== "body" || Ze(i)) && (a = ht(r)), ie(r))) {
1590
- const d = Te(r);
1591
- u = Fe(r), f.x = d.x + r.clientLeft, f.y = d.y + r.clientTop;
1599
+ const d = ge(0), h = le(r);
1600
+ if ((h || !h && !o) && ((We(r) !== "body" || Ze(s)) && (a = pt(r)), le(r))) {
1601
+ const f = Ce(r);
1602
+ u = Fe(r), d.x = f.x + r.clientLeft, d.y = f.y + r.clientTop;
1592
1603
  }
1593
1604
  return {
1594
1605
  width: n.width * u.x,
1595
1606
  height: n.height * u.y,
1596
- x: n.x * u.x - a.scrollLeft * u.x + f.x,
1597
- y: n.y * u.y - a.scrollTop * u.y + f.y
1607
+ x: n.x * u.x - a.scrollLeft * u.x + d.x,
1608
+ y: n.y * u.y - a.scrollTop * u.y + d.y
1598
1609
  };
1599
1610
  }
1600
- function vo(e) {
1611
+ function _i(e) {
1601
1612
  return Array.from(e.getClientRects());
1602
1613
  }
1603
- function Yn(e) {
1604
- return Te(ae(e)).left + ht(e).scrollLeft;
1614
+ function Un(e) {
1615
+ return Ce(ue(e)).left + pt(e).scrollLeft;
1605
1616
  }
1606
- function yo(e) {
1607
- const t = ae(e), n = ht(e), r = e.ownerDocument.body, o = Ee(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), s = Ee(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
1608
- let i = -n.scrollLeft + Yn(e);
1617
+ function wi(e) {
1618
+ const t = ue(e), n = pt(e), r = e.ownerDocument.body, i = xe(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), o = xe(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
1619
+ let s = -n.scrollLeft + Un(e);
1609
1620
  const c = -n.scrollTop;
1610
- return ne(r).direction === "rtl" && (i += Ee(t.clientWidth, r.clientWidth) - o), {
1611
- width: o,
1612
- height: s,
1613
- x: i,
1621
+ return ie(r).direction === "rtl" && (s += xe(t.clientWidth, r.clientWidth) - i), {
1622
+ width: i,
1623
+ height: o,
1624
+ x: s,
1614
1625
  y: c
1615
1626
  };
1616
1627
  }
1617
- function _o(e, t) {
1618
- const n = q(e), r = ae(e), o = n.visualViewport;
1619
- let s = r.clientWidth, i = r.clientHeight, c = 0, a = 0;
1620
- if (o) {
1621
- s = o.width, i = o.height;
1622
- const u = $t();
1623
- (!u || u && t === "fixed") && (c = o.offsetLeft, a = o.offsetTop);
1628
+ function Ei(e, t) {
1629
+ const n = K(e), r = ue(e), i = n.visualViewport;
1630
+ let o = r.clientWidth, s = r.clientHeight, c = 0, a = 0;
1631
+ if (i) {
1632
+ o = i.width, s = i.height;
1633
+ const u = Bt();
1634
+ (!u || u && t === "fixed") && (c = i.offsetLeft, a = i.offsetTop);
1624
1635
  }
1625
1636
  return {
1626
- width: s,
1627
- height: i,
1637
+ width: o,
1638
+ height: s,
1628
1639
  x: c,
1629
1640
  y: a
1630
1641
  };
1631
1642
  }
1632
- function wo(e, t) {
1633
- const n = Te(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, s = ie(e) ? Fe(e) : ge(1), i = e.clientWidth * s.x, c = e.clientHeight * s.y, a = o * s.x, u = r * s.y;
1643
+ function xi(e, t) {
1644
+ const n = Ce(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, o = le(e) ? Fe(e) : ge(1), s = e.clientWidth * o.x, c = e.clientHeight * o.y, a = i * o.x, u = r * o.y;
1634
1645
  return {
1635
- width: i,
1646
+ width: s,
1636
1647
  height: c,
1637
1648
  x: a,
1638
1649
  y: u
1639
1650
  };
1640
1651
  }
1641
- function pn(e, t, n) {
1652
+ function gn(e, t, n) {
1642
1653
  let r;
1643
1654
  if (t === "viewport")
1644
- r = _o(e, n);
1655
+ r = Ei(e, n);
1645
1656
  else if (t === "document")
1646
- r = yo(ae(e));
1647
- else if (te(t))
1648
- r = wo(t, n);
1657
+ r = wi(ue(e));
1658
+ else if (re(t))
1659
+ r = xi(t, n);
1649
1660
  else {
1650
- const o = Un(e);
1651
- r = V({}, t, {
1652
- x: t.x - o.x,
1653
- y: t.y - o.y
1661
+ const i = Yn(e);
1662
+ r = q({}, t, {
1663
+ x: t.x - i.x,
1664
+ y: t.y - i.y
1654
1665
  });
1655
1666
  }
1656
- return at(r);
1667
+ return ut(r);
1657
1668
  }
1658
- function zn(e, t) {
1669
+ function qn(e, t) {
1659
1670
  const n = me(e);
1660
- return n === t || !te(n) || Ne(n) ? !1 : ne(n).position === "fixed" || zn(n, t);
1671
+ return n === t || !re(n) || Ne(n) ? !1 : ie(n).position === "fixed" || qn(n, t);
1661
1672
  }
1662
- function xo(e, t) {
1673
+ function Si(e, t) {
1663
1674
  const n = t.get(e);
1664
1675
  if (n)
1665
1676
  return n;
1666
- let r = Ke(e, [], !1).filter((c) => te(c) && Ve(c) !== "body"), o = null;
1667
- const s = ne(e).position === "fixed";
1668
- let i = s ? me(e) : e;
1669
- for (; te(i) && !Ne(i); ) {
1670
- const c = ne(i), a = Wt(i);
1671
- !a && c.position === "fixed" && (o = null), (s ? !a && !o : !a && c.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || Ze(i) && !a && zn(e, i)) ? r = r.filter((f) => f !== i) : o = c, i = me(i);
1677
+ let r = Xe(e, [], !1).filter((c) => re(c) && We(c) !== "body"), i = null;
1678
+ const o = ie(e).position === "fixed";
1679
+ let s = o ? me(e) : e;
1680
+ for (; re(s) && !Ne(s); ) {
1681
+ const c = ie(s), a = Nt(s);
1682
+ !a && c.position === "fixed" && (i = null), (o ? !a && !i : !a && c.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || Ze(s) && !a && qn(e, s)) ? r = r.filter((d) => d !== s) : i = c, s = me(s);
1672
1683
  }
1673
1684
  return t.set(e, r), r;
1674
1685
  }
1675
- function Eo(e) {
1686
+ function Oi(e) {
1676
1687
  let {
1677
1688
  element: t,
1678
1689
  boundary: n,
1679
1690
  rootBoundary: r,
1680
- strategy: o
1691
+ strategy: i
1681
1692
  } = e;
1682
- const i = [...n === "clippingAncestors" ? dt(t) ? [] : xo(t, this._c) : [].concat(n), r], c = i[0], a = i.reduce((u, f) => {
1683
- const h = pn(t, f, o);
1684
- return u.top = Ee(h.top, u.top), u.right = De(h.right, u.right), u.bottom = De(h.bottom, u.bottom), u.left = Ee(h.left, u.left), u;
1685
- }, pn(t, c, o));
1693
+ const s = [...n === "clippingAncestors" ? ht(t) ? [] : Si(t, this._c) : [].concat(n), r], c = s[0], a = s.reduce((u, d) => {
1694
+ const h = gn(t, d, i);
1695
+ return u.top = xe(h.top, u.top), u.right = je(h.right, u.right), u.bottom = je(h.bottom, u.bottom), u.left = xe(h.left, u.left), u;
1696
+ }, gn(t, c, i));
1686
1697
  return {
1687
1698
  width: a.right - a.left,
1688
1699
  height: a.bottom - a.top,
@@ -1690,214 +1701,214 @@ function Eo(e) {
1690
1701
  y: a.top
1691
1702
  };
1692
1703
  }
1693
- function So(e) {
1704
+ function Ri(e) {
1694
1705
  const {
1695
1706
  width: t,
1696
1707
  height: n
1697
- } = Hn(e);
1708
+ } = Wn(e);
1698
1709
  return {
1699
1710
  width: t,
1700
1711
  height: n
1701
1712
  };
1702
1713
  }
1703
- function Oo(e, t, n) {
1704
- const r = ie(t), o = ae(t), s = n === "fixed", i = Te(e, !0, s, t);
1714
+ function Ci(e, t, n) {
1715
+ const r = le(t), i = ue(t), o = n === "fixed", s = Ce(e, !0, o, t);
1705
1716
  let c = {
1706
1717
  scrollLeft: 0,
1707
1718
  scrollTop: 0
1708
1719
  };
1709
1720
  const a = ge(0);
1710
- if (r || !r && !s)
1711
- if ((Ve(t) !== "body" || Ze(o)) && (c = ht(t)), r) {
1712
- const h = Te(t, !0, s, t);
1721
+ if (r || !r && !o)
1722
+ if ((We(t) !== "body" || Ze(i)) && (c = pt(t)), r) {
1723
+ const h = Ce(t, !0, o, t);
1713
1724
  a.x = h.x + t.clientLeft, a.y = h.y + t.clientTop;
1714
- } else o && (a.x = Yn(o));
1715
- const u = i.left + c.scrollLeft - a.x, f = i.top + c.scrollTop - a.y;
1725
+ } else i && (a.x = Un(i));
1726
+ const u = s.left + c.scrollLeft - a.x, d = s.top + c.scrollTop - a.y;
1716
1727
  return {
1717
1728
  x: u,
1718
- y: f,
1719
- width: i.width,
1720
- height: i.height
1729
+ y: d,
1730
+ width: s.width,
1731
+ height: s.height
1721
1732
  };
1722
1733
  }
1723
1734
  function Rt(e) {
1724
- return ne(e).position === "static";
1735
+ return ie(e).position === "static";
1725
1736
  }
1726
- function gn(e, t) {
1727
- return !ie(e) || ne(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
1737
+ function mn(e, t) {
1738
+ return !le(e) || ie(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
1728
1739
  }
1729
- function qn(e, t) {
1730
- const n = q(e);
1731
- if (dt(e))
1740
+ function zn(e, t) {
1741
+ const n = K(e);
1742
+ if (ht(e))
1732
1743
  return n;
1733
- if (!ie(e)) {
1734
- let o = me(e);
1735
- for (; o && !Ne(o); ) {
1736
- if (te(o) && !Rt(o))
1737
- return o;
1738
- o = me(o);
1744
+ if (!le(e)) {
1745
+ let i = me(e);
1746
+ for (; i && !Ne(i); ) {
1747
+ if (re(i) && !Rt(i))
1748
+ return i;
1749
+ i = me(i);
1739
1750
  }
1740
1751
  return n;
1741
1752
  }
1742
- let r = gn(e, t);
1743
- for (; r && ho(r) && Rt(r); )
1744
- r = gn(r, t);
1745
- return r && Ne(r) && Rt(r) && !Wt(r) ? n : r || po(e) || n;
1753
+ let r = mn(e, t);
1754
+ for (; r && gi(r) && Rt(r); )
1755
+ r = mn(r, t);
1756
+ return r && Ne(r) && Rt(r) && !Nt(r) ? n : r || mi(e) || n;
1746
1757
  }
1747
- const Ro = async function(t) {
1748
- const n = this.getOffsetParent || qn, r = this.getDimensions, o = await r(t.floating);
1758
+ const Ti = async function(t) {
1759
+ const n = this.getOffsetParent || zn, r = this.getDimensions, i = await r(t.floating);
1749
1760
  return {
1750
- reference: Oo(t.reference, await n(t.floating), t.strategy),
1761
+ reference: Ci(t.reference, await n(t.floating), t.strategy),
1751
1762
  floating: {
1752
1763
  x: 0,
1753
1764
  y: 0,
1754
- width: o.width,
1755
- height: o.height
1765
+ width: i.width,
1766
+ height: i.height
1756
1767
  }
1757
1768
  };
1758
1769
  };
1759
- function To(e) {
1760
- return ne(e).direction === "rtl";
1761
- }
1762
- const Co = {
1763
- convertOffsetParentRelativeRectToViewportRelativeRect: bo,
1764
- getDocumentElement: ae,
1765
- getClippingRect: Eo,
1766
- getOffsetParent: qn,
1767
- getElementRects: Ro,
1768
- getClientRects: vo,
1769
- getDimensions: So,
1770
+ function Ai(e) {
1771
+ return ie(e).direction === "rtl";
1772
+ }
1773
+ const Pi = {
1774
+ convertOffsetParentRelativeRectToViewportRelativeRect: yi,
1775
+ getDocumentElement: ue,
1776
+ getClippingRect: Oi,
1777
+ getOffsetParent: zn,
1778
+ getElementRects: Ti,
1779
+ getClientRects: _i,
1780
+ getDimensions: Ri,
1770
1781
  getScale: Fe,
1771
- isElement: te,
1772
- isRTL: To
1782
+ isElement: re,
1783
+ isRTL: Ai
1773
1784
  };
1774
- function Ao(e, t) {
1785
+ function ki(e, t) {
1775
1786
  let n = null, r;
1776
- const o = ae(e);
1777
- function s() {
1787
+ const i = ue(e);
1788
+ function o() {
1778
1789
  var c;
1779
1790
  clearTimeout(r), (c = n) == null || c.disconnect(), n = null;
1780
1791
  }
1781
- function i(c, a) {
1782
- c === void 0 && (c = !1), a === void 0 && (a = 1), s();
1792
+ function s(c, a) {
1793
+ c === void 0 && (c = !1), a === void 0 && (a = 1), o();
1783
1794
  const {
1784
1795
  left: u,
1785
- top: f,
1796
+ top: d,
1786
1797
  width: h,
1787
- height: d
1798
+ height: f
1788
1799
  } = e.getBoundingClientRect();
1789
- if (c || t(), !h || !d)
1800
+ if (c || t(), !h || !f)
1790
1801
  return;
1791
- const g = it(f), v = it(o.clientWidth - (u + h)), x = it(o.clientHeight - (f + d)), S = it(u), _ = {
1792
- rootMargin: -g + "px " + -v + "px " + -x + "px " + -S + "px",
1793
- threshold: Ee(0, De(1, a)) || 1
1802
+ const g = st(d), v = st(i.clientWidth - (u + h)), E = st(i.clientHeight - (d + f)), S = st(u), _ = {
1803
+ rootMargin: -g + "px " + -v + "px " + -E + "px " + -S + "px",
1804
+ threshold: xe(0, je(1, a)) || 1
1794
1805
  };
1795
1806
  let R = !0;
1796
1807
  function y(m) {
1797
- const T = m[0].intersectionRatio;
1798
- if (T !== a) {
1808
+ const C = m[0].intersectionRatio;
1809
+ if (C !== a) {
1799
1810
  if (!R)
1800
- return i();
1801
- T ? i(!1, T) : r = setTimeout(() => {
1802
- i(!1, 1e-7);
1811
+ return s();
1812
+ C ? s(!1, C) : r = setTimeout(() => {
1813
+ s(!1, 1e-7);
1803
1814
  }, 1e3);
1804
1815
  }
1805
1816
  R = !1;
1806
1817
  }
1807
1818
  try {
1808
- n = new IntersectionObserver(y, V({}, _, {
1819
+ n = new IntersectionObserver(y, q({}, _, {
1809
1820
  // Handle <iframe>s
1810
- root: o.ownerDocument
1821
+ root: i.ownerDocument
1811
1822
  }));
1812
1823
  } catch {
1813
1824
  n = new IntersectionObserver(y, _);
1814
1825
  }
1815
1826
  n.observe(e);
1816
1827
  }
1817
- return i(!0), s;
1828
+ return s(!0), o;
1818
1829
  }
1819
- function Po(e, t, n, r) {
1830
+ function Ii(e, t, n, r) {
1820
1831
  r === void 0 && (r = {});
1821
1832
  const {
1822
- ancestorScroll: o = !0,
1823
- ancestorResize: s = !0,
1824
- elementResize: i = typeof ResizeObserver == "function",
1833
+ ancestorScroll: i = !0,
1834
+ ancestorResize: o = !0,
1835
+ elementResize: s = typeof ResizeObserver == "function",
1825
1836
  layoutShift: c = typeof IntersectionObserver == "function",
1826
1837
  animationFrame: a = !1
1827
- } = r, u = Vt(e), f = o || s ? [...u ? Ke(u) : [], ...Ke(t)] : [];
1828
- f.forEach((w) => {
1829
- o && w.addEventListener("scroll", n, {
1838
+ } = r, u = $t(e), d = i || o ? [...u ? Xe(u) : [], ...Xe(t)] : [];
1839
+ d.forEach((w) => {
1840
+ i && w.addEventListener("scroll", n, {
1830
1841
  passive: !0
1831
- }), s && w.addEventListener("resize", n);
1842
+ }), o && w.addEventListener("resize", n);
1832
1843
  });
1833
- const h = u && c ? Ao(u, n) : null;
1834
- let d = -1, g = null;
1835
- i && (g = new ResizeObserver((w) => {
1844
+ const h = u && c ? ki(u, n) : null;
1845
+ let f = -1, g = null;
1846
+ s && (g = new ResizeObserver((w) => {
1836
1847
  let [_] = w;
1837
- _ && _.target === u && g && (g.unobserve(t), cancelAnimationFrame(d), d = requestAnimationFrame(() => {
1848
+ _ && _.target === u && g && (g.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
1838
1849
  var R;
1839
1850
  (R = g) == null || R.observe(t);
1840
1851
  })), n();
1841
1852
  }), u && !a && g.observe(u), g.observe(t));
1842
- let v, x = a ? Te(e) : null;
1853
+ let v, E = a ? Ce(e) : null;
1843
1854
  a && S();
1844
1855
  function S() {
1845
- const w = Te(e);
1846
- x && (w.x !== x.x || w.y !== x.y || w.width !== x.width || w.height !== x.height) && n(), x = w, v = requestAnimationFrame(S);
1856
+ const w = Ce(e);
1857
+ E && (w.x !== E.x || w.y !== E.y || w.width !== E.width || w.height !== E.height) && n(), E = w, v = requestAnimationFrame(S);
1847
1858
  }
1848
1859
  return n(), () => {
1849
1860
  var w;
1850
- f.forEach((_) => {
1851
- o && _.removeEventListener("scroll", n), s && _.removeEventListener("resize", n);
1861
+ d.forEach((_) => {
1862
+ i && _.removeEventListener("scroll", n), o && _.removeEventListener("resize", n);
1852
1863
  }), h == null || h(), (w = g) == null || w.disconnect(), g = null, a && cancelAnimationFrame(v);
1853
1864
  };
1854
1865
  }
1855
- const ko = uo, Io = ao, Mo = co, Fo = fo, Lo = (e, t, n) => {
1856
- const r = /* @__PURE__ */ new Map(), o = V({
1857
- platform: Co
1858
- }, n), s = V({}, o.platform, {
1866
+ const Mi = hi, Fi = di, Li = fi, Di = pi, ji = (e, t, n) => {
1867
+ const r = /* @__PURE__ */ new Map(), i = q({
1868
+ platform: Pi
1869
+ }, n), o = q({}, i.platform, {
1859
1870
  _c: r
1860
1871
  });
1861
- return lo(e, t, V({}, o, {
1862
- platform: s
1872
+ return ui(e, t, q({}, i, {
1873
+ platform: o
1863
1874
  }));
1864
1875
  };
1865
- function Do(e) {
1876
+ function Hi(e) {
1866
1877
  e.cleanup && e.cleanup();
1867
1878
  const t = e._getResolvedAttachToOptions();
1868
1879
  let n = t.element;
1869
- const r = Vo(t, e), o = jn(t);
1870
- return o && (n = document.body, e.shepherdElementComponent.getElement().classList.add("shepherd-centered")), e.cleanup = Po(n, e.el, () => {
1880
+ const r = Yi(t, e), i = jn(t);
1881
+ return i && (n = document.body, e.shepherdElementComponent.getElement().classList.add("shepherd-centered")), e.cleanup = Ii(n, e.el, () => {
1871
1882
  if (!e.el) {
1872
1883
  e.cleanup == null || e.cleanup();
1873
1884
  return;
1874
1885
  }
1875
- No(n, e, r, o);
1886
+ Bi(n, e, r, i);
1876
1887
  }), e.target = t.element, r;
1877
1888
  }
1878
- function jo(e, t) {
1889
+ function Vi(e, t) {
1879
1890
  return {
1880
1891
  floatingUIOptions: Lt(e.floatingUIOptions || {}, t.floatingUIOptions || {})
1881
1892
  };
1882
1893
  }
1883
- function Bo(e) {
1894
+ function Ni(e) {
1884
1895
  e.cleanup && e.cleanup(), e.cleanup = null;
1885
1896
  }
1886
- function No(e, t, n, r) {
1887
- return Lo(e, t.el, n).then(Wo(t, r)).then((o) => new Promise((s) => {
1888
- setTimeout(() => s(o), 300);
1889
- })).then((o) => {
1890
- o != null && o.el && o.el.focus({
1897
+ function Bi(e, t, n, r) {
1898
+ return ji(e, t.el, n).then($i(t, r)).then((i) => new Promise((o) => {
1899
+ setTimeout(() => o(i), 300);
1900
+ })).then((i) => {
1901
+ i != null && i.el && i.el.focus({
1891
1902
  preventScroll: !0
1892
1903
  });
1893
1904
  });
1894
1905
  }
1895
- function Wo(e, t) {
1906
+ function $i(e, t) {
1896
1907
  return ({
1897
1908
  x: n,
1898
1909
  y: r,
1899
- placement: o,
1900
- middlewareData: s
1910
+ placement: i,
1911
+ middlewareData: o
1901
1912
  }) => (e.el && (t ? Object.assign(e.el.style, {
1902
1913
  position: "fixed",
1903
1914
  left: "50%",
@@ -1907,39 +1918,39 @@ function Wo(e, t) {
1907
1918
  position: "absolute",
1908
1919
  left: `${n}px`,
1909
1920
  top: `${r}px`
1910
- }), e.el.dataset.popperPlacement = o, $o(e.el, s)), e);
1921
+ }), e.el.dataset.popperPlacement = i, Wi(e.el, o)), e);
1911
1922
  }
1912
- function $o(e, t) {
1923
+ function Wi(e, t) {
1913
1924
  const n = e.querySelector(".shepherd-arrow");
1914
- if (Ge(n) && t.arrow) {
1925
+ if (De(n) && t.arrow) {
1915
1926
  const {
1916
1927
  x: r,
1917
- y: o
1928
+ y: i
1918
1929
  } = t.arrow;
1919
1930
  Object.assign(n.style, {
1920
1931
  left: r != null ? `${r}px` : "",
1921
- top: o != null ? `${o}px` : ""
1932
+ top: i != null ? `${i}px` : ""
1922
1933
  });
1923
1934
  }
1924
1935
  }
1925
- function Vo(e, t) {
1936
+ function Yi(e, t) {
1926
1937
  const n = {
1927
1938
  strategy: "absolute"
1928
1939
  };
1929
1940
  n.middleware = [];
1930
- const r = Ho(t);
1941
+ const r = Ui(t);
1931
1942
  if (!jn(e)) {
1932
1943
  if (n.middleware.push(
1933
- Io(),
1944
+ Fi(),
1934
1945
  // Replicate PopperJS default behavior.
1935
- ko({
1936
- limiter: Fo(),
1946
+ Mi({
1947
+ limiter: Di(),
1937
1948
  crossAxis: !0
1938
1949
  })
1939
1950
  ), r) {
1940
- var s, i;
1941
- const c = (e == null || (s = e.on) == null ? void 0 : s.includes("-start")) || (e == null || (i = e.on) == null ? void 0 : i.includes("-end"));
1942
- n.middleware.push(Mo({
1951
+ var o, s;
1952
+ const c = (e == null || (o = e.on) == null ? void 0 : o.includes("-start")) || (e == null || (s = e.on) == null ? void 0 : s.includes("-end"));
1953
+ n.middleware.push(Li({
1943
1954
  element: r,
1944
1955
  padding: c ? 4 : 0
1945
1956
  }));
@@ -1948,12 +1959,12 @@ function Vo(e, t) {
1948
1959
  }
1949
1960
  return Lt(n, t.options.floatingUIOptions || {});
1950
1961
  }
1951
- function Ho(e) {
1962
+ function Ui(e) {
1952
1963
  return e.options.arrow && e.el ? e.el.querySelector(".shepherd-arrow") : !1;
1953
1964
  }
1954
- function J() {
1965
+ function X() {
1955
1966
  }
1956
- function Uo(e, t) {
1967
+ function qi(e, t) {
1957
1968
  for (const n in t) e[n] = t[n];
1958
1969
  return (
1959
1970
  /** @type {T & S} */
@@ -1963,129 +1974,129 @@ function Uo(e, t) {
1963
1974
  function Jn(e) {
1964
1975
  return e();
1965
1976
  }
1966
- function mn() {
1977
+ function bn() {
1967
1978
  return /* @__PURE__ */ Object.create(null);
1968
1979
  }
1969
1980
  function Qe(e) {
1970
1981
  e.forEach(Jn);
1971
1982
  }
1972
- function Ht(e) {
1983
+ function Wt(e) {
1973
1984
  return typeof e == "function";
1974
1985
  }
1975
- function ue(e, t) {
1986
+ function fe(e, t) {
1976
1987
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
1977
1988
  }
1978
- function Yo(e) {
1989
+ function zi(e) {
1979
1990
  return Object.keys(e).length === 0;
1980
1991
  }
1981
- function We(e, t) {
1992
+ function Be(e, t) {
1982
1993
  e.appendChild(t);
1983
1994
  }
1984
- function re(e, t, n) {
1995
+ function oe(e, t, n) {
1985
1996
  e.insertBefore(t, n || null);
1986
1997
  }
1987
- function Z(e) {
1998
+ function ee(e) {
1988
1999
  e.parentNode && e.parentNode.removeChild(e);
1989
2000
  }
1990
- function zo(e, t) {
2001
+ function Ji(e, t) {
1991
2002
  for (let n = 0; n < e.length; n += 1)
1992
2003
  e[n] && e[n].d(t);
1993
2004
  }
1994
- function se(e) {
2005
+ function ce(e) {
1995
2006
  return document.createElement(e);
1996
2007
  }
1997
- function bn(e) {
2008
+ function vn(e) {
1998
2009
  return document.createElementNS("http://www.w3.org/2000/svg", e);
1999
2010
  }
2000
2011
  function Kn(e) {
2001
2012
  return document.createTextNode(e);
2002
2013
  }
2003
- function ut() {
2014
+ function ft() {
2004
2015
  return Kn(" ");
2005
2016
  }
2006
- function qo() {
2017
+ function Ki() {
2007
2018
  return Kn("");
2008
2019
  }
2009
- function pt(e, t, n, r) {
2020
+ function gt(e, t, n, r) {
2010
2021
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
2011
2022
  }
2012
2023
  function k(e, t, n) {
2013
2024
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
2014
2025
  }
2015
- const Jo = ["width", "height"];
2016
- function vn(e, t) {
2026
+ const Xi = ["width", "height"];
2027
+ function yn(e, t) {
2017
2028
  const n = Object.getOwnPropertyDescriptors(e.__proto__);
2018
2029
  for (const r in t)
2019
- 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 && Jo.indexOf(r) === -1 ? e[r] = t[r] : k(e, r, t[r]);
2030
+ 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 && Xi.indexOf(r) === -1 ? e[r] = t[r] : k(e, r, t[r]);
2020
2031
  }
2021
- function Ko(e) {
2032
+ function Gi(e) {
2022
2033
  return Array.from(e.childNodes);
2023
2034
  }
2024
2035
  function ke(e, t, n) {
2025
2036
  e.classList.toggle(t, !!n);
2026
2037
  }
2027
- let Xe;
2028
- function qe(e) {
2029
- Xe = e;
2038
+ let Ge;
2039
+ function Je(e) {
2040
+ Ge = e;
2030
2041
  }
2031
2042
  function Xn() {
2032
- if (!Xe) throw new Error("Function called outside component initialization");
2033
- return Xe;
2043
+ if (!Ge) throw new Error("Function called outside component initialization");
2044
+ return Ge;
2034
2045
  }
2035
- function Xo(e) {
2046
+ function Zi(e) {
2036
2047
  Xn().$$.on_mount.push(e);
2037
2048
  }
2038
- function Ut(e) {
2049
+ function Yt(e) {
2039
2050
  Xn().$$.after_update.push(e);
2040
2051
  }
2041
2052
  const Me = [], $e = [];
2042
2053
  let Le = [];
2043
- const yn = [], Go = /* @__PURE__ */ Promise.resolve();
2054
+ const _n = [], Qi = /* @__PURE__ */ Promise.resolve();
2044
2055
  let kt = !1;
2045
- function Zo() {
2046
- kt || (kt = !0, Go.then(Gn));
2056
+ function eo() {
2057
+ kt || (kt = !0, Qi.then(Gn));
2047
2058
  }
2048
2059
  function It(e) {
2049
2060
  Le.push(e);
2050
2061
  }
2051
- const Tt = /* @__PURE__ */ new Set();
2062
+ const Ct = /* @__PURE__ */ new Set();
2052
2063
  let Ie = 0;
2053
2064
  function Gn() {
2054
2065
  if (Ie !== 0)
2055
2066
  return;
2056
- const e = Xe;
2067
+ const e = Ge;
2057
2068
  do {
2058
2069
  try {
2059
2070
  for (; Ie < Me.length; ) {
2060
2071
  const t = Me[Ie];
2061
- Ie++, qe(t), Qo(t.$$);
2072
+ Ie++, Je(t), to(t.$$);
2062
2073
  }
2063
2074
  } catch (t) {
2064
2075
  throw Me.length = 0, Ie = 0, t;
2065
2076
  }
2066
- for (qe(null), Me.length = 0, Ie = 0; $e.length; ) $e.pop()();
2077
+ for (Je(null), Me.length = 0, Ie = 0; $e.length; ) $e.pop()();
2067
2078
  for (let t = 0; t < Le.length; t += 1) {
2068
2079
  const n = Le[t];
2069
- Tt.has(n) || (Tt.add(n), n());
2080
+ Ct.has(n) || (Ct.add(n), n());
2070
2081
  }
2071
2082
  Le.length = 0;
2072
2083
  } while (Me.length);
2073
- for (; yn.length; )
2074
- yn.pop()();
2075
- kt = !1, Tt.clear(), qe(e);
2084
+ for (; _n.length; )
2085
+ _n.pop()();
2086
+ kt = !1, Ct.clear(), Je(e);
2076
2087
  }
2077
- function Qo(e) {
2088
+ function to(e) {
2078
2089
  if (e.fragment !== null) {
2079
2090
  e.update(), Qe(e.before_update);
2080
2091
  const t = e.dirty;
2081
2092
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(It);
2082
2093
  }
2083
2094
  }
2084
- function ei(e) {
2095
+ function no(e) {
2085
2096
  const t = [], n = [];
2086
2097
  Le.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Le = t;
2087
2098
  }
2088
- const st = /* @__PURE__ */ new Set();
2099
+ const lt = /* @__PURE__ */ new Set();
2089
2100
  let we;
2090
2101
  function Se() {
2091
2102
  we = {
@@ -2099,71 +2110,71 @@ function Oe() {
2099
2110
  we.r || Qe(we.c), we = we.p;
2100
2111
  }
2101
2112
  function P(e, t) {
2102
- e && e.i && (st.delete(e), e.i(t));
2113
+ e && e.i && (lt.delete(e), e.i(t));
2103
2114
  }
2104
- function F(e, t, n, r) {
2115
+ function L(e, t, n, r) {
2105
2116
  if (e && e.o) {
2106
- if (st.has(e)) return;
2107
- st.add(e), we.c.push(() => {
2108
- st.delete(e), r && (n && e.d(1), r());
2117
+ if (lt.has(e)) return;
2118
+ lt.add(e), we.c.push(() => {
2119
+ lt.delete(e), r && (n && e.d(1), r());
2109
2120
  }), e.o(t);
2110
2121
  } else r && r();
2111
2122
  }
2112
- function _n(e) {
2123
+ function wn(e) {
2113
2124
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
2114
2125
  }
2115
- function ti(e, t) {
2116
- const n = {}, r = {}, o = {
2126
+ function ro(e, t) {
2127
+ const n = {}, r = {}, i = {
2117
2128
  $$scope: 1
2118
2129
  };
2119
- let s = e.length;
2120
- for (; s--; ) {
2121
- const i = e[s], c = t[s];
2130
+ let o = e.length;
2131
+ for (; o--; ) {
2132
+ const s = e[o], c = t[o];
2122
2133
  if (c) {
2123
- for (const a in i)
2134
+ for (const a in s)
2124
2135
  a in c || (r[a] = 1);
2125
2136
  for (const a in c)
2126
- o[a] || (n[a] = c[a], o[a] = 1);
2127
- e[s] = c;
2137
+ i[a] || (n[a] = c[a], i[a] = 1);
2138
+ e[o] = c;
2128
2139
  } else
2129
- for (const a in i)
2130
- o[a] = 1;
2140
+ for (const a in s)
2141
+ i[a] = 1;
2131
2142
  }
2132
- for (const i in r)
2133
- i in n || (n[i] = void 0);
2143
+ for (const s in r)
2144
+ s in n || (n[s] = void 0);
2134
2145
  return n;
2135
2146
  }
2136
- function Ce(e) {
2147
+ function Te(e) {
2137
2148
  e && e.c();
2138
2149
  }
2139
2150
  function ve(e, t, n) {
2140
2151
  const {
2141
2152
  fragment: r,
2142
- after_update: o
2153
+ after_update: i
2143
2154
  } = e.$$;
2144
2155
  r && r.m(t, n), It(() => {
2145
- const s = e.$$.on_mount.map(Jn).filter(Ht);
2146
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Qe(s), e.$$.on_mount = [];
2147
- }), o.forEach(It);
2156
+ const o = e.$$.on_mount.map(Jn).filter(Wt);
2157
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Qe(o), e.$$.on_mount = [];
2158
+ }), i.forEach(It);
2148
2159
  }
2149
2160
  function ye(e, t) {
2150
2161
  const n = e.$$;
2151
- n.fragment !== null && (ei(n.after_update), Qe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
2162
+ n.fragment !== null && (no(n.after_update), Qe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
2152
2163
  }
2153
- function ni(e, t) {
2154
- e.$$.dirty[0] === -1 && (Me.push(e), Zo(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
2164
+ function io(e, t) {
2165
+ e.$$.dirty[0] === -1 && (Me.push(e), eo(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
2155
2166
  }
2156
- function fe(e, t, n, r, o, s, i = null, c = [-1]) {
2157
- const a = Xe;
2158
- qe(e);
2167
+ function de(e, t, n, r, i, o, s = null, c = [-1]) {
2168
+ const a = Ge;
2169
+ Je(e);
2159
2170
  const u = e.$$ = {
2160
2171
  fragment: null,
2161
2172
  ctx: [],
2162
2173
  // state
2163
- props: s,
2164
- update: J,
2165
- not_equal: o,
2166
- bound: mn(),
2174
+ props: o,
2175
+ update: X,
2176
+ not_equal: i,
2177
+ bound: bn(),
2167
2178
  // lifecycle
2168
2179
  on_mount: [],
2169
2180
  on_destroy: [],
@@ -2172,33 +2183,33 @@ function fe(e, t, n, r, o, s, i = null, c = [-1]) {
2172
2183
  after_update: [],
2173
2184
  context: new Map(t.context || (a ? a.$$.context : [])),
2174
2185
  // everything else
2175
- callbacks: mn(),
2186
+ callbacks: bn(),
2176
2187
  dirty: c,
2177
2188
  skip_bound: !1,
2178
2189
  root: t.target || a.$$.root
2179
2190
  };
2180
- i && i(u.root);
2181
- let f = !1;
2182
- if (u.ctx = n ? n(e, t.props || {}, (h, d, ...g) => {
2183
- const v = g.length ? g[0] : d;
2184
- return u.ctx && o(u.ctx[h], u.ctx[h] = v) && (!u.skip_bound && u.bound[h] && u.bound[h](v), f && ni(e, h)), d;
2185
- }) : [], u.update(), f = !0, Qe(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
2191
+ s && s(u.root);
2192
+ let d = !1;
2193
+ if (u.ctx = n ? n(e, t.props || {}, (h, f, ...g) => {
2194
+ const v = g.length ? g[0] : f;
2195
+ return u.ctx && i(u.ctx[h], u.ctx[h] = v) && (!u.skip_bound && u.bound[h] && u.bound[h](v), d && io(e, h)), f;
2196
+ }) : [], u.update(), d = !0, Qe(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
2186
2197
  if (t.hydrate) {
2187
- const h = Ko(t.target);
2188
- u.fragment && u.fragment.l(h), h.forEach(Z);
2198
+ const h = Gi(t.target);
2199
+ u.fragment && u.fragment.l(h), h.forEach(ee);
2189
2200
  } else
2190
2201
  u.fragment && u.fragment.c();
2191
2202
  t.intro && P(e.$$.fragment), ve(e, t.target, t.anchor), Gn();
2192
2203
  }
2193
- qe(a);
2204
+ Je(a);
2194
2205
  }
2195
- class de {
2206
+ class he {
2196
2207
  constructor() {
2197
2208
  this.$$ = void 0, this.$$set = void 0;
2198
2209
  }
2199
2210
  /** @returns {void} */
2200
2211
  $destroy() {
2201
- ye(this, 1), this.$destroy = J;
2212
+ ye(this, 1), this.$destroy = X;
2202
2213
  }
2203
2214
  /**
2204
2215
  * @template {Extract<keyof Events, string>} K
@@ -2207,12 +2218,12 @@ class de {
2207
2218
  * @returns {() => void}
2208
2219
  */
2209
2220
  $on(t, n) {
2210
- if (!Ht(n))
2211
- return J;
2221
+ if (!Wt(n))
2222
+ return X;
2212
2223
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
2213
2224
  return r.push(n), () => {
2214
- const o = r.indexOf(n);
2215
- o !== -1 && r.splice(o, 1);
2225
+ const i = r.indexOf(n);
2226
+ i !== -1 && r.splice(i, 1);
2216
2227
  };
2217
2228
  }
2218
2229
  /**
@@ -2220,18 +2231,18 @@ class de {
2220
2231
  * @returns {void}
2221
2232
  */
2222
2233
  $set(t) {
2223
- this.$$set && !Yo(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
2234
+ this.$$set && !zi(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
2224
2235
  }
2225
2236
  }
2226
- const ri = "4";
2237
+ const oo = "4";
2227
2238
  typeof window < "u" && (window.__svelte || (window.__svelte = {
2228
2239
  v: /* @__PURE__ */ new Set()
2229
- })).v.add(ri);
2230
- function oi(e) {
2231
- let t, n, r, o, s;
2240
+ })).v.add(oo);
2241
+ function so(e) {
2242
+ let t, n, r, i, o;
2232
2243
  return {
2233
2244
  c() {
2234
- t = se("button"), k(t, "aria-label", n = /*label*/
2245
+ t = ce("button"), k(t, "aria-label", n = /*label*/
2235
2246
  e[3] ? (
2236
2247
  /*label*/
2237
2248
  e[3]
@@ -2240,17 +2251,17 @@ function oi(e) {
2240
2251
  e[4] ? "shepherd-button-secondary" : ""}`), t.disabled = /*disabled*/
2241
2252
  e[2], k(t, "tabindex", "0"), k(t, "type", "button");
2242
2253
  },
2243
- m(i, c) {
2244
- re(i, t, c), t.innerHTML = /*text*/
2245
- e[5], o || (s = pt(t, "click", function() {
2246
- Ht(
2254
+ m(s, c) {
2255
+ oe(s, t, c), t.innerHTML = /*text*/
2256
+ e[5], i || (o = gt(t, "click", function() {
2257
+ Wt(
2247
2258
  /*action*/
2248
2259
  e[0]
2249
2260
  ) && e[0].apply(this, arguments);
2250
- }), o = !0);
2261
+ }), i = !0);
2251
2262
  },
2252
- p(i, [c]) {
2253
- e = i, c & /*text*/
2263
+ p(s, [c]) {
2264
+ e = s, c & /*text*/
2254
2265
  32 && (t.innerHTML = /*text*/
2255
2266
  e[5]), c & /*label*/
2256
2267
  8 && n !== (n = /*label*/
@@ -2264,99 +2275,99 @@ function oi(e) {
2264
2275
  4 && (t.disabled = /*disabled*/
2265
2276
  e[2]);
2266
2277
  },
2267
- i: J,
2268
- o: J,
2269
- d(i) {
2270
- i && Z(t), o = !1, s();
2278
+ i: X,
2279
+ o: X,
2280
+ d(s) {
2281
+ s && ee(t), i = !1, o();
2271
2282
  }
2272
2283
  };
2273
2284
  }
2274
- function ii(e, t, n) {
2285
+ function lo(e, t, n) {
2275
2286
  let {
2276
2287
  config: r,
2277
- step: o
2278
- } = t, s, i, c, a, u, f;
2279
- function h(d) {
2280
- return pe(d) ? d = d.call(o) : d;
2288
+ step: i
2289
+ } = t, o, s, c, a, u, d;
2290
+ function h(f) {
2291
+ return pe(f) ? f = f.call(i) : f;
2281
2292
  }
2282
- return e.$$set = (d) => {
2283
- "config" in d && n(6, r = d.config), "step" in d && n(7, o = d.step);
2293
+ return e.$$set = (f) => {
2294
+ "config" in f && n(6, r = f.config), "step" in f && n(7, i = f.step);
2284
2295
  }, e.$$.update = () => {
2285
2296
  e.$$.dirty & /*config, step*/
2286
- 192 && (n(0, s = r.action ? r.action.bind(o.tour) : null), n(1, i = 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, f = r.text ? h(r.text) : null));
2287
- }, [s, i, c, a, u, f, r, o];
2297
+ 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));
2298
+ }, [o, s, c, a, u, d, r, i];
2288
2299
  }
2289
- class si extends de {
2300
+ class co extends he {
2290
2301
  constructor(t) {
2291
- super(), fe(this, t, ii, oi, ue, {
2302
+ super(), de(this, t, lo, so, fe, {
2292
2303
  config: 6,
2293
2304
  step: 7
2294
2305
  });
2295
2306
  }
2296
2307
  }
2297
- function wn(e, t, n) {
2308
+ function En(e, t, n) {
2298
2309
  const r = e.slice();
2299
2310
  return r[2] = t[n], r;
2300
2311
  }
2301
2312
  function xn(e) {
2302
- let t, n, r = _n(
2313
+ let t, n, r = wn(
2303
2314
  /*buttons*/
2304
2315
  e[1]
2305
- ), o = [];
2306
- for (let i = 0; i < r.length; i += 1)
2307
- o[i] = En(wn(e, r, i));
2308
- const s = (i) => F(o[i], 1, 1, () => {
2309
- o[i] = null;
2316
+ ), i = [];
2317
+ for (let s = 0; s < r.length; s += 1)
2318
+ i[s] = Sn(En(e, r, s));
2319
+ const o = (s) => L(i[s], 1, 1, () => {
2320
+ i[s] = null;
2310
2321
  });
2311
2322
  return {
2312
2323
  c() {
2313
- for (let i = 0; i < o.length; i += 1)
2314
- o[i].c();
2315
- t = qo();
2324
+ for (let s = 0; s < i.length; s += 1)
2325
+ i[s].c();
2326
+ t = Ki();
2316
2327
  },
2317
- m(i, c) {
2318
- for (let a = 0; a < o.length; a += 1)
2319
- o[a] && o[a].m(i, c);
2320
- re(i, t, c), n = !0;
2328
+ m(s, c) {
2329
+ for (let a = 0; a < i.length; a += 1)
2330
+ i[a] && i[a].m(s, c);
2331
+ oe(s, t, c), n = !0;
2321
2332
  },
2322
- p(i, c) {
2333
+ p(s, c) {
2323
2334
  if (c & /*buttons, step*/
2324
2335
  3) {
2325
- r = _n(
2336
+ r = wn(
2326
2337
  /*buttons*/
2327
- i[1]
2338
+ s[1]
2328
2339
  );
2329
2340
  let a;
2330
2341
  for (a = 0; a < r.length; a += 1) {
2331
- const u = wn(i, r, a);
2332
- o[a] ? (o[a].p(u, c), P(o[a], 1)) : (o[a] = En(u), o[a].c(), P(o[a], 1), o[a].m(t.parentNode, t));
2342
+ const u = En(s, r, a);
2343
+ i[a] ? (i[a].p(u, c), P(i[a], 1)) : (i[a] = Sn(u), i[a].c(), P(i[a], 1), i[a].m(t.parentNode, t));
2333
2344
  }
2334
- for (Se(), a = r.length; a < o.length; a += 1)
2335
- s(a);
2345
+ for (Se(), a = r.length; a < i.length; a += 1)
2346
+ o(a);
2336
2347
  Oe();
2337
2348
  }
2338
2349
  },
2339
- i(i) {
2350
+ i(s) {
2340
2351
  if (!n) {
2341
2352
  for (let c = 0; c < r.length; c += 1)
2342
- P(o[c]);
2353
+ P(i[c]);
2343
2354
  n = !0;
2344
2355
  }
2345
2356
  },
2346
- o(i) {
2347
- o = o.filter(Boolean);
2348
- for (let c = 0; c < o.length; c += 1)
2349
- F(o[c]);
2357
+ o(s) {
2358
+ i = i.filter(Boolean);
2359
+ for (let c = 0; c < i.length; c += 1)
2360
+ L(i[c]);
2350
2361
  n = !1;
2351
2362
  },
2352
- d(i) {
2353
- i && Z(t), zo(o, i);
2363
+ d(s) {
2364
+ s && ee(t), Ji(i, s);
2354
2365
  }
2355
2366
  };
2356
2367
  }
2357
- function En(e) {
2368
+ function Sn(e) {
2358
2369
  let t, n;
2359
- return t = new si({
2370
+ return t = new co({
2360
2371
  props: {
2361
2372
  config: (
2362
2373
  /*config*/
@@ -2369,136 +2380,136 @@ function En(e) {
2369
2380
  }
2370
2381
  }), {
2371
2382
  c() {
2372
- Ce(t.$$.fragment);
2383
+ Te(t.$$.fragment);
2373
2384
  },
2374
- m(r, o) {
2375
- ve(t, r, o), n = !0;
2385
+ m(r, i) {
2386
+ ve(t, r, i), n = !0;
2376
2387
  },
2377
- p(r, o) {
2378
- const s = {};
2379
- o & /*buttons*/
2380
- 2 && (s.config = /*config*/
2381
- r[2]), o & /*step*/
2382
- 1 && (s.step = /*step*/
2383
- r[0]), t.$set(s);
2388
+ p(r, i) {
2389
+ const o = {};
2390
+ i & /*buttons*/
2391
+ 2 && (o.config = /*config*/
2392
+ r[2]), i & /*step*/
2393
+ 1 && (o.step = /*step*/
2394
+ r[0]), t.$set(o);
2384
2395
  },
2385
2396
  i(r) {
2386
2397
  n || (P(t.$$.fragment, r), n = !0);
2387
2398
  },
2388
2399
  o(r) {
2389
- F(t.$$.fragment, r), n = !1;
2400
+ L(t.$$.fragment, r), n = !1;
2390
2401
  },
2391
2402
  d(r) {
2392
2403
  ye(t, r);
2393
2404
  }
2394
2405
  };
2395
2406
  }
2396
- function li(e) {
2407
+ function ao(e) {
2397
2408
  let t, n, r = (
2398
2409
  /*buttons*/
2399
2410
  e[1] && xn(e)
2400
2411
  );
2401
2412
  return {
2402
2413
  c() {
2403
- t = se("footer"), r && r.c(), k(t, "class", "shepherd-footer");
2414
+ t = ce("footer"), r && r.c(), k(t, "class", "shepherd-footer");
2404
2415
  },
2405
- m(o, s) {
2406
- re(o, t, s), r && r.m(t, null), n = !0;
2416
+ m(i, o) {
2417
+ oe(i, t, o), r && r.m(t, null), n = !0;
2407
2418
  },
2408
- p(o, [s]) {
2419
+ p(i, [o]) {
2409
2420
  /*buttons*/
2410
- o[1] ? r ? (r.p(o, s), s & /*buttons*/
2411
- 2 && P(r, 1)) : (r = xn(o), r.c(), P(r, 1), r.m(t, null)) : r && (Se(), F(r, 1, 1, () => {
2421
+ i[1] ? r ? (r.p(i, o), o & /*buttons*/
2422
+ 2 && P(r, 1)) : (r = xn(i), r.c(), P(r, 1), r.m(t, null)) : r && (Se(), L(r, 1, 1, () => {
2412
2423
  r = null;
2413
2424
  }), Oe());
2414
2425
  },
2415
- i(o) {
2426
+ i(i) {
2416
2427
  n || (P(r), n = !0);
2417
2428
  },
2418
- o(o) {
2419
- F(r), n = !1;
2429
+ o(i) {
2430
+ L(r), n = !1;
2420
2431
  },
2421
- d(o) {
2422
- o && Z(t), r && r.d();
2432
+ d(i) {
2433
+ i && ee(t), r && r.d();
2423
2434
  }
2424
2435
  };
2425
2436
  }
2426
- function ci(e, t, n) {
2437
+ function uo(e, t, n) {
2427
2438
  let r, {
2428
- step: o
2439
+ step: i
2429
2440
  } = t;
2430
- return e.$$set = (s) => {
2431
- "step" in s && n(0, o = s.step);
2441
+ return e.$$set = (o) => {
2442
+ "step" in o && n(0, i = o.step);
2432
2443
  }, e.$$.update = () => {
2433
2444
  e.$$.dirty & /*step*/
2434
- 1 && n(1, r = o.options.buttons);
2435
- }, [o, r];
2445
+ 1 && n(1, r = i.options.buttons);
2446
+ }, [i, r];
2436
2447
  }
2437
- class ai extends de {
2448
+ class fo extends he {
2438
2449
  constructor(t) {
2439
- super(), fe(this, t, ci, li, ue, {
2450
+ super(), de(this, t, uo, ao, fe, {
2440
2451
  step: 0
2441
2452
  });
2442
2453
  }
2443
2454
  }
2444
- function ui(e) {
2445
- let t, n, r, o, s;
2455
+ function ho(e) {
2456
+ let t, n, r, i, o;
2446
2457
  return {
2447
2458
  c() {
2448
- t = se("button"), n = se("span"), n.textContent = "×", k(n, "aria-hidden", "true"), k(t, "aria-label", r = /*cancelIcon*/
2459
+ t = ce("button"), n = ce("span"), n.textContent = "×", k(n, "aria-hidden", "true"), k(t, "aria-label", r = /*cancelIcon*/
2449
2460
  e[0].label ? (
2450
2461
  /*cancelIcon*/
2451
2462
  e[0].label
2452
2463
  ) : "Close Tour"), k(t, "class", "shepherd-cancel-icon"), k(t, "type", "button");
2453
2464
  },
2454
- m(i, c) {
2455
- re(i, t, c), We(t, n), o || (s = pt(
2465
+ m(s, c) {
2466
+ oe(s, t, c), Be(t, n), i || (o = gt(
2456
2467
  t,
2457
2468
  "click",
2458
2469
  /*handleCancelClick*/
2459
2470
  e[1]
2460
- ), o = !0);
2471
+ ), i = !0);
2461
2472
  },
2462
- p(i, [c]) {
2473
+ p(s, [c]) {
2463
2474
  c & /*cancelIcon*/
2464
2475
  1 && r !== (r = /*cancelIcon*/
2465
- i[0].label ? (
2476
+ s[0].label ? (
2466
2477
  /*cancelIcon*/
2467
- i[0].label
2478
+ s[0].label
2468
2479
  ) : "Close Tour") && k(t, "aria-label", r);
2469
2480
  },
2470
- i: J,
2471
- o: J,
2472
- d(i) {
2473
- i && Z(t), o = !1, s();
2481
+ i: X,
2482
+ o: X,
2483
+ d(s) {
2484
+ s && ee(t), i = !1, o();
2474
2485
  }
2475
2486
  };
2476
2487
  }
2477
- function fi(e, t, n) {
2488
+ function po(e, t, n) {
2478
2489
  let {
2479
2490
  cancelIcon: r,
2480
- step: o
2491
+ step: i
2481
2492
  } = t;
2482
- const s = (i) => {
2483
- i.preventDefault(), o.cancel();
2493
+ const o = (s) => {
2494
+ s.preventDefault(), i.cancel();
2484
2495
  };
2485
- return e.$$set = (i) => {
2486
- "cancelIcon" in i && n(0, r = i.cancelIcon), "step" in i && n(2, o = i.step);
2487
- }, [r, s, o];
2496
+ return e.$$set = (s) => {
2497
+ "cancelIcon" in s && n(0, r = s.cancelIcon), "step" in s && n(2, i = s.step);
2498
+ }, [r, o, i];
2488
2499
  }
2489
- class di extends de {
2500
+ class go extends he {
2490
2501
  constructor(t) {
2491
- super(), fe(this, t, fi, ui, ue, {
2502
+ super(), de(this, t, po, ho, fe, {
2492
2503
  cancelIcon: 0,
2493
2504
  step: 2
2494
2505
  });
2495
2506
  }
2496
2507
  }
2497
- function hi(e) {
2508
+ function mo(e) {
2498
2509
  let t;
2499
2510
  return {
2500
2511
  c() {
2501
- t = se("h3"), k(
2512
+ t = ce("h3"), k(
2502
2513
  t,
2503
2514
  "id",
2504
2515
  /*labelId*/
@@ -2506,7 +2517,7 @@ function hi(e) {
2506
2517
  ), k(t, "class", "shepherd-title");
2507
2518
  },
2508
2519
  m(n, r) {
2509
- re(n, t, r), e[3](t);
2520
+ oe(n, t, r), e[3](t);
2510
2521
  },
2511
2522
  p(n, [r]) {
2512
2523
  r & /*labelId*/
@@ -2517,43 +2528,43 @@ function hi(e) {
2517
2528
  n[1]
2518
2529
  );
2519
2530
  },
2520
- i: J,
2521
- o: J,
2531
+ i: X,
2532
+ o: X,
2522
2533
  d(n) {
2523
- n && Z(t), e[3](null);
2534
+ n && ee(t), e[3](null);
2524
2535
  }
2525
2536
  };
2526
2537
  }
2527
- function pi(e, t, n) {
2538
+ function bo(e, t, n) {
2528
2539
  let {
2529
2540
  labelId: r,
2530
- element: o,
2531
- title: s
2541
+ element: i,
2542
+ title: o
2532
2543
  } = t;
2533
- Ut(() => {
2534
- pe(s) && n(2, s = s()), n(0, o.innerHTML = s, o);
2544
+ Yt(() => {
2545
+ pe(o) && n(2, o = o()), n(0, i.innerHTML = o, i);
2535
2546
  });
2536
- function i(c) {
2547
+ function s(c) {
2537
2548
  $e[c ? "unshift" : "push"](() => {
2538
- o = c, n(0, o);
2549
+ i = c, n(0, i);
2539
2550
  });
2540
2551
  }
2541
2552
  return e.$$set = (c) => {
2542
- "labelId" in c && n(1, r = c.labelId), "element" in c && n(0, o = c.element), "title" in c && n(2, s = c.title);
2543
- }, [o, r, s, i];
2553
+ "labelId" in c && n(1, r = c.labelId), "element" in c && n(0, i = c.element), "title" in c && n(2, o = c.title);
2554
+ }, [i, r, o, s];
2544
2555
  }
2545
- class gi extends de {
2556
+ class vo extends he {
2546
2557
  constructor(t) {
2547
- super(), fe(this, t, pi, hi, ue, {
2558
+ super(), de(this, t, bo, mo, fe, {
2548
2559
  labelId: 1,
2549
2560
  element: 0,
2550
2561
  title: 2
2551
2562
  });
2552
2563
  }
2553
2564
  }
2554
- function Sn(e) {
2565
+ function On(e) {
2555
2566
  let t, n;
2556
- return t = new gi({
2567
+ return t = new vo({
2557
2568
  props: {
2558
2569
  labelId: (
2559
2570
  /*labelId*/
@@ -2566,33 +2577,33 @@ function Sn(e) {
2566
2577
  }
2567
2578
  }), {
2568
2579
  c() {
2569
- Ce(t.$$.fragment);
2580
+ Te(t.$$.fragment);
2570
2581
  },
2571
- m(r, o) {
2572
- ve(t, r, o), n = !0;
2582
+ m(r, i) {
2583
+ ve(t, r, i), n = !0;
2573
2584
  },
2574
- p(r, o) {
2575
- const s = {};
2576
- o & /*labelId*/
2577
- 1 && (s.labelId = /*labelId*/
2578
- r[0]), o & /*title*/
2579
- 4 && (s.title = /*title*/
2580
- r[2]), t.$set(s);
2585
+ p(r, i) {
2586
+ const o = {};
2587
+ i & /*labelId*/
2588
+ 1 && (o.labelId = /*labelId*/
2589
+ r[0]), i & /*title*/
2590
+ 4 && (o.title = /*title*/
2591
+ r[2]), t.$set(o);
2581
2592
  },
2582
2593
  i(r) {
2583
2594
  n || (P(t.$$.fragment, r), n = !0);
2584
2595
  },
2585
2596
  o(r) {
2586
- F(t.$$.fragment, r), n = !1;
2597
+ L(t.$$.fragment, r), n = !1;
2587
2598
  },
2588
2599
  d(r) {
2589
2600
  ye(t, r);
2590
2601
  }
2591
2602
  };
2592
2603
  }
2593
- function On(e) {
2604
+ function Rn(e) {
2594
2605
  let t, n;
2595
- return t = new di({
2606
+ return t = new go({
2596
2607
  props: {
2597
2608
  cancelIcon: (
2598
2609
  /*cancelIcon*/
@@ -2605,94 +2616,94 @@ function On(e) {
2605
2616
  }
2606
2617
  }), {
2607
2618
  c() {
2608
- Ce(t.$$.fragment);
2619
+ Te(t.$$.fragment);
2609
2620
  },
2610
- m(r, o) {
2611
- ve(t, r, o), n = !0;
2621
+ m(r, i) {
2622
+ ve(t, r, i), n = !0;
2612
2623
  },
2613
- p(r, o) {
2614
- const s = {};
2615
- o & /*cancelIcon*/
2616
- 8 && (s.cancelIcon = /*cancelIcon*/
2617
- r[3]), o & /*step*/
2618
- 2 && (s.step = /*step*/
2619
- r[1]), t.$set(s);
2624
+ p(r, i) {
2625
+ const o = {};
2626
+ i & /*cancelIcon*/
2627
+ 8 && (o.cancelIcon = /*cancelIcon*/
2628
+ r[3]), i & /*step*/
2629
+ 2 && (o.step = /*step*/
2630
+ r[1]), t.$set(o);
2620
2631
  },
2621
2632
  i(r) {
2622
2633
  n || (P(t.$$.fragment, r), n = !0);
2623
2634
  },
2624
2635
  o(r) {
2625
- F(t.$$.fragment, r), n = !1;
2636
+ L(t.$$.fragment, r), n = !1;
2626
2637
  },
2627
2638
  d(r) {
2628
2639
  ye(t, r);
2629
2640
  }
2630
2641
  };
2631
2642
  }
2632
- function mi(e) {
2633
- let t, n, r, o = (
2643
+ function yo(e) {
2644
+ let t, n, r, i = (
2634
2645
  /*title*/
2635
- e[2] && Sn(e)
2636
- ), s = (
2646
+ e[2] && On(e)
2647
+ ), o = (
2637
2648
  /*cancelIcon*/
2638
2649
  e[3] && /*cancelIcon*/
2639
- e[3].enabled && On(e)
2650
+ e[3].enabled && Rn(e)
2640
2651
  );
2641
2652
  return {
2642
2653
  c() {
2643
- t = se("header"), o && o.c(), n = ut(), s && s.c(), k(t, "class", "shepherd-header");
2654
+ t = ce("header"), i && i.c(), n = ft(), o && o.c(), k(t, "class", "shepherd-header");
2644
2655
  },
2645
- m(i, c) {
2646
- re(i, t, c), o && o.m(t, null), We(t, n), s && s.m(t, null), r = !0;
2656
+ m(s, c) {
2657
+ oe(s, t, c), i && i.m(t, null), Be(t, n), o && o.m(t, null), r = !0;
2647
2658
  },
2648
- p(i, [c]) {
2659
+ p(s, [c]) {
2649
2660
  /*title*/
2650
- i[2] ? o ? (o.p(i, c), c & /*title*/
2651
- 4 && P(o, 1)) : (o = Sn(i), o.c(), P(o, 1), o.m(t, n)) : o && (Se(), F(o, 1, 1, () => {
2652
- o = null;
2661
+ s[2] ? i ? (i.p(s, c), c & /*title*/
2662
+ 4 && P(i, 1)) : (i = On(s), i.c(), P(i, 1), i.m(t, n)) : i && (Se(), L(i, 1, 1, () => {
2663
+ i = null;
2653
2664
  }), Oe()), /*cancelIcon*/
2654
- i[3] && /*cancelIcon*/
2655
- i[3].enabled ? s ? (s.p(i, c), c & /*cancelIcon*/
2656
- 8 && P(s, 1)) : (s = On(i), s.c(), P(s, 1), s.m(t, null)) : s && (Se(), F(s, 1, 1, () => {
2657
- s = null;
2665
+ s[3] && /*cancelIcon*/
2666
+ s[3].enabled ? o ? (o.p(s, c), c & /*cancelIcon*/
2667
+ 8 && P(o, 1)) : (o = Rn(s), o.c(), P(o, 1), o.m(t, null)) : o && (Se(), L(o, 1, 1, () => {
2668
+ o = null;
2658
2669
  }), Oe());
2659
2670
  },
2660
- i(i) {
2661
- r || (P(o), P(s), r = !0);
2671
+ i(s) {
2672
+ r || (P(i), P(o), r = !0);
2662
2673
  },
2663
- o(i) {
2664
- F(o), F(s), r = !1;
2674
+ o(s) {
2675
+ L(i), L(o), r = !1;
2665
2676
  },
2666
- d(i) {
2667
- i && Z(t), o && o.d(), s && s.d();
2677
+ d(s) {
2678
+ s && ee(t), i && i.d(), o && o.d();
2668
2679
  }
2669
2680
  };
2670
2681
  }
2671
- function bi(e, t, n) {
2682
+ function _o(e, t, n) {
2672
2683
  let {
2673
2684
  labelId: r,
2674
- step: o
2675
- } = t, s, i;
2685
+ step: i
2686
+ } = t, o, s;
2676
2687
  return e.$$set = (c) => {
2677
- "labelId" in c && n(0, r = c.labelId), "step" in c && n(1, o = c.step);
2688
+ "labelId" in c && n(0, r = c.labelId), "step" in c && n(1, i = c.step);
2678
2689
  }, e.$$.update = () => {
2679
2690
  e.$$.dirty & /*step*/
2680
- 2 && (n(2, s = o.options.title), n(3, i = o.options.cancelIcon));
2681
- }, [r, o, s, i];
2691
+ 2 && (n(2, o = i.options.title), n(3, s = i.options.cancelIcon));
2692
+ }, [r, i, o, s];
2682
2693
  }
2683
- class vi extends de {
2694
+ class wo extends he {
2684
2695
  constructor(t) {
2685
- super(), fe(this, t, bi, mi, ue, {
2696
+ super(), de(this, t, _o, yo, fe, {
2686
2697
  labelId: 0,
2687
2698
  step: 1
2688
2699
  });
2689
2700
  }
2690
2701
  }
2691
- function yi(e) {
2702
+ function Eo(e) {
2692
2703
  let t;
2693
2704
  return {
2694
2705
  c() {
2695
- t = se("div"), k(t, "class", "shepherd-text"), k(
2706
+ t = ce("div"), k(t, "class", "shepherd-text"), k(
2696
2707
  t,
2697
2708
  "id",
2698
2709
  /*descriptionId*/
@@ -2700,7 +2711,7 @@ function yi(e) {
2700
2711
  );
2701
2712
  },
2702
2713
  m(n, r) {
2703
- re(n, t, r), e[3](t);
2714
+ oe(n, t, r), e[3](t);
2704
2715
  },
2705
2716
  p(n, [r]) {
2706
2717
  r & /*descriptionId*/
@@ -2711,46 +2722,46 @@ function yi(e) {
2711
2722
  n[1]
2712
2723
  );
2713
2724
  },
2714
- i: J,
2715
- o: J,
2725
+ i: X,
2726
+ o: X,
2716
2727
  d(n) {
2717
- n && Z(t), e[3](null);
2728
+ n && ee(t), e[3](null);
2718
2729
  }
2719
2730
  };
2720
2731
  }
2721
- function _i(e, t, n) {
2732
+ function xo(e, t, n) {
2722
2733
  let {
2723
2734
  descriptionId: r,
2724
- element: o,
2725
- step: s
2735
+ element: i,
2736
+ step: o
2726
2737
  } = t;
2727
- Ut(() => {
2738
+ Yt(() => {
2728
2739
  let {
2729
2740
  text: c
2730
- } = s.options;
2731
- pe(c) && (c = c.call(s)), Ge(c) ? o.appendChild(c) : n(0, o.innerHTML = c, o);
2741
+ } = o.options;
2742
+ pe(c) && (c = c.call(o)), De(c) ? i.appendChild(c) : n(0, i.innerHTML = c, i);
2732
2743
  });
2733
- function i(c) {
2744
+ function s(c) {
2734
2745
  $e[c ? "unshift" : "push"](() => {
2735
- o = c, n(0, o);
2746
+ i = c, n(0, i);
2736
2747
  });
2737
2748
  }
2738
2749
  return e.$$set = (c) => {
2739
- "descriptionId" in c && n(1, r = c.descriptionId), "element" in c && n(0, o = c.element), "step" in c && n(2, s = c.step);
2740
- }, [o, r, s, i];
2750
+ "descriptionId" in c && n(1, r = c.descriptionId), "element" in c && n(0, i = c.element), "step" in c && n(2, o = c.step);
2751
+ }, [i, r, o, s];
2741
2752
  }
2742
- class wi extends de {
2753
+ class So extends he {
2743
2754
  constructor(t) {
2744
- super(), fe(this, t, _i, yi, ue, {
2755
+ super(), de(this, t, xo, Eo, fe, {
2745
2756
  descriptionId: 1,
2746
2757
  element: 0,
2747
2758
  step: 2
2748
2759
  });
2749
2760
  }
2750
2761
  }
2751
- function Rn(e) {
2762
+ function Cn(e) {
2752
2763
  let t, n;
2753
- return t = new vi({
2764
+ return t = new wo({
2754
2765
  props: {
2755
2766
  labelId: (
2756
2767
  /*labelId*/
@@ -2763,24 +2774,24 @@ function Rn(e) {
2763
2774
  }
2764
2775
  }), {
2765
2776
  c() {
2766
- Ce(t.$$.fragment);
2777
+ Te(t.$$.fragment);
2767
2778
  },
2768
- m(r, o) {
2769
- ve(t, r, o), n = !0;
2779
+ m(r, i) {
2780
+ ve(t, r, i), n = !0;
2770
2781
  },
2771
- p(r, o) {
2772
- const s = {};
2773
- o & /*labelId*/
2774
- 2 && (s.labelId = /*labelId*/
2775
- r[1]), o & /*step*/
2776
- 4 && (s.step = /*step*/
2777
- r[2]), t.$set(s);
2782
+ p(r, i) {
2783
+ const o = {};
2784
+ i & /*labelId*/
2785
+ 2 && (o.labelId = /*labelId*/
2786
+ r[1]), i & /*step*/
2787
+ 4 && (o.step = /*step*/
2788
+ r[2]), t.$set(o);
2778
2789
  },
2779
2790
  i(r) {
2780
2791
  n || (P(t.$$.fragment, r), n = !0);
2781
2792
  },
2782
2793
  o(r) {
2783
- F(t.$$.fragment, r), n = !1;
2794
+ L(t.$$.fragment, r), n = !1;
2784
2795
  },
2785
2796
  d(r) {
2786
2797
  ye(t, r);
@@ -2789,7 +2800,7 @@ function Rn(e) {
2789
2800
  }
2790
2801
  function Tn(e) {
2791
2802
  let t, n;
2792
- return t = new wi({
2803
+ return t = new So({
2793
2804
  props: {
2794
2805
  descriptionId: (
2795
2806
  /*descriptionId*/
@@ -2802,33 +2813,33 @@ function Tn(e) {
2802
2813
  }
2803
2814
  }), {
2804
2815
  c() {
2805
- Ce(t.$$.fragment);
2816
+ Te(t.$$.fragment);
2806
2817
  },
2807
- m(r, o) {
2808
- ve(t, r, o), n = !0;
2818
+ m(r, i) {
2819
+ ve(t, r, i), n = !0;
2809
2820
  },
2810
- p(r, o) {
2811
- const s = {};
2812
- o & /*descriptionId*/
2813
- 1 && (s.descriptionId = /*descriptionId*/
2814
- r[0]), o & /*step*/
2815
- 4 && (s.step = /*step*/
2816
- r[2]), t.$set(s);
2821
+ p(r, i) {
2822
+ const o = {};
2823
+ i & /*descriptionId*/
2824
+ 1 && (o.descriptionId = /*descriptionId*/
2825
+ r[0]), i & /*step*/
2826
+ 4 && (o.step = /*step*/
2827
+ r[2]), t.$set(o);
2817
2828
  },
2818
2829
  i(r) {
2819
2830
  n || (P(t.$$.fragment, r), n = !0);
2820
2831
  },
2821
2832
  o(r) {
2822
- F(t.$$.fragment, r), n = !1;
2833
+ L(t.$$.fragment, r), n = !1;
2823
2834
  },
2824
2835
  d(r) {
2825
2836
  ye(t, r);
2826
2837
  }
2827
2838
  };
2828
2839
  }
2829
- function Cn(e) {
2840
+ function An(e) {
2830
2841
  let t, n;
2831
- return t = new ai({
2842
+ return t = new fo({
2832
2843
  props: {
2833
2844
  step: (
2834
2845
  /*step*/
@@ -2837,129 +2848,129 @@ function Cn(e) {
2837
2848
  }
2838
2849
  }), {
2839
2850
  c() {
2840
- Ce(t.$$.fragment);
2851
+ Te(t.$$.fragment);
2841
2852
  },
2842
- m(r, o) {
2843
- ve(t, r, o), n = !0;
2853
+ m(r, i) {
2854
+ ve(t, r, i), n = !0;
2844
2855
  },
2845
- p(r, o) {
2846
- const s = {};
2847
- o & /*step*/
2848
- 4 && (s.step = /*step*/
2849
- r[2]), t.$set(s);
2856
+ p(r, i) {
2857
+ const o = {};
2858
+ i & /*step*/
2859
+ 4 && (o.step = /*step*/
2860
+ r[2]), t.$set(o);
2850
2861
  },
2851
2862
  i(r) {
2852
2863
  n || (P(t.$$.fragment, r), n = !0);
2853
2864
  },
2854
2865
  o(r) {
2855
- F(t.$$.fragment, r), n = !1;
2866
+ L(t.$$.fragment, r), n = !1;
2856
2867
  },
2857
2868
  d(r) {
2858
2869
  ye(t, r);
2859
2870
  }
2860
2871
  };
2861
2872
  }
2862
- function xi(e) {
2863
- let t, n = !N(
2873
+ function Oo(e) {
2874
+ let t, n = !Y(
2864
2875
  /*step*/
2865
2876
  e[2].options.title
2866
2877
  ) || /*step*/
2867
2878
  e[2].options.cancelIcon && /*step*/
2868
- e[2].options.cancelIcon.enabled, r, o = !N(
2879
+ e[2].options.cancelIcon.enabled, r, i = !Y(
2869
2880
  /*step*/
2870
2881
  e[2].options.text
2871
- ), s, i = Array.isArray(
2882
+ ), o, s = Array.isArray(
2872
2883
  /*step*/
2873
2884
  e[2].options.buttons
2874
2885
  ) && /*step*/
2875
- e[2].options.buttons.length, c, a = n && Rn(e), u = o && Tn(e), f = i && Cn(e);
2886
+ e[2].options.buttons.length, c, a = n && Cn(e), u = i && Tn(e), d = s && An(e);
2876
2887
  return {
2877
2888
  c() {
2878
- t = se("div"), a && a.c(), r = ut(), u && u.c(), s = ut(), f && f.c(), k(t, "class", "shepherd-content"), k(t, "tabindex", "0");
2889
+ t = ce("div"), a && a.c(), r = ft(), u && u.c(), o = ft(), d && d.c(), k(t, "class", "shepherd-content"), k(t, "tabindex", "0");
2879
2890
  },
2880
- m(h, d) {
2881
- re(h, t, d), a && a.m(t, null), We(t, r), u && u.m(t, null), We(t, s), f && f.m(t, null), c = !0;
2891
+ m(h, f) {
2892
+ oe(h, t, f), a && a.m(t, null), Be(t, r), u && u.m(t, null), Be(t, o), d && d.m(t, null), c = !0;
2882
2893
  },
2883
- p(h, [d]) {
2884
- d & /*step*/
2885
- 4 && (n = !N(
2894
+ p(h, [f]) {
2895
+ f & /*step*/
2896
+ 4 && (n = !Y(
2886
2897
  /*step*/
2887
2898
  h[2].options.title
2888
2899
  ) || /*step*/
2889
2900
  h[2].options.cancelIcon && /*step*/
2890
- h[2].options.cancelIcon.enabled), n ? a ? (a.p(h, d), d & /*step*/
2891
- 4 && P(a, 1)) : (a = Rn(h), a.c(), P(a, 1), a.m(t, r)) : a && (Se(), F(a, 1, 1, () => {
2901
+ h[2].options.cancelIcon.enabled), n ? a ? (a.p(h, f), f & /*step*/
2902
+ 4 && P(a, 1)) : (a = Cn(h), a.c(), P(a, 1), a.m(t, r)) : a && (Se(), L(a, 1, 1, () => {
2892
2903
  a = null;
2893
- }), Oe()), d & /*step*/
2894
- 4 && (o = !N(
2904
+ }), Oe()), f & /*step*/
2905
+ 4 && (i = !Y(
2895
2906
  /*step*/
2896
2907
  h[2].options.text
2897
- )), o ? u ? (u.p(h, d), d & /*step*/
2898
- 4 && P(u, 1)) : (u = Tn(h), u.c(), P(u, 1), u.m(t, s)) : u && (Se(), F(u, 1, 1, () => {
2908
+ )), i ? u ? (u.p(h, f), f & /*step*/
2909
+ 4 && P(u, 1)) : (u = Tn(h), u.c(), P(u, 1), u.m(t, o)) : u && (Se(), L(u, 1, 1, () => {
2899
2910
  u = null;
2900
- }), Oe()), d & /*step*/
2901
- 4 && (i = Array.isArray(
2911
+ }), Oe()), f & /*step*/
2912
+ 4 && (s = Array.isArray(
2902
2913
  /*step*/
2903
2914
  h[2].options.buttons
2904
2915
  ) && /*step*/
2905
- h[2].options.buttons.length), i ? f ? (f.p(h, d), d & /*step*/
2906
- 4 && P(f, 1)) : (f = Cn(h), f.c(), P(f, 1), f.m(t, null)) : f && (Se(), F(f, 1, 1, () => {
2907
- f = null;
2916
+ h[2].options.buttons.length), s ? d ? (d.p(h, f), f & /*step*/
2917
+ 4 && P(d, 1)) : (d = An(h), d.c(), P(d, 1), d.m(t, null)) : d && (Se(), L(d, 1, 1, () => {
2918
+ d = null;
2908
2919
  }), Oe());
2909
2920
  },
2910
2921
  i(h) {
2911
- c || (P(a), P(u), P(f), c = !0);
2922
+ c || (P(a), P(u), P(d), c = !0);
2912
2923
  },
2913
2924
  o(h) {
2914
- F(a), F(u), F(f), c = !1;
2925
+ L(a), L(u), L(d), c = !1;
2915
2926
  },
2916
2927
  d(h) {
2917
- h && Z(t), a && a.d(), u && u.d(), f && f.d();
2928
+ h && ee(t), a && a.d(), u && u.d(), d && d.d();
2918
2929
  }
2919
2930
  };
2920
2931
  }
2921
- function Ei(e, t, n) {
2932
+ function Ro(e, t, n) {
2922
2933
  let {
2923
2934
  descriptionId: r,
2924
- labelId: o,
2925
- step: s
2935
+ labelId: i,
2936
+ step: o
2926
2937
  } = t;
2927
- return e.$$set = (i) => {
2928
- "descriptionId" in i && n(0, r = i.descriptionId), "labelId" in i && n(1, o = i.labelId), "step" in i && n(2, s = i.step);
2929
- }, [r, o, s];
2938
+ return e.$$set = (s) => {
2939
+ "descriptionId" in s && n(0, r = s.descriptionId), "labelId" in s && n(1, i = s.labelId), "step" in s && n(2, o = s.step);
2940
+ }, [r, i, o];
2930
2941
  }
2931
- class Si extends de {
2942
+ class Co extends he {
2932
2943
  constructor(t) {
2933
- super(), fe(this, t, Ei, xi, ue, {
2944
+ super(), de(this, t, Ro, Oo, fe, {
2934
2945
  descriptionId: 0,
2935
2946
  labelId: 1,
2936
2947
  step: 2
2937
2948
  });
2938
2949
  }
2939
2950
  }
2940
- function An(e) {
2951
+ function Pn(e) {
2941
2952
  let t;
2942
2953
  return {
2943
2954
  c() {
2944
- t = se("div"), k(t, "class", "shepherd-arrow"), k(t, "data-popper-arrow", "");
2955
+ t = ce("div"), k(t, "class", "shepherd-arrow"), k(t, "data-popper-arrow", "");
2945
2956
  },
2946
2957
  m(n, r) {
2947
- re(n, t, r);
2958
+ oe(n, t, r);
2948
2959
  },
2949
2960
  d(n) {
2950
- n && Z(t);
2961
+ n && ee(t);
2951
2962
  }
2952
2963
  };
2953
2964
  }
2954
- function Oi(e) {
2955
- let t, n, r, o, s, i, c, a, u = (
2965
+ function To(e) {
2966
+ let t, n, r, i, o, s, c, a, u = (
2956
2967
  /*step*/
2957
2968
  e[4].options.arrow && /*step*/
2958
2969
  e[4].options.attachTo && /*step*/
2959
2970
  e[4].options.attachTo.element && /*step*/
2960
- e[4].options.attachTo.on && An()
2971
+ e[4].options.attachTo.on && Pn()
2961
2972
  );
2962
- r = new Si({
2973
+ r = new Co({
2963
2974
  props: {
2964
2975
  descriptionId: (
2965
2976
  /*descriptionId*/
@@ -2975,9 +2986,9 @@ function Oi(e) {
2975
2986
  )
2976
2987
  }
2977
2988
  });
2978
- let f = [
2989
+ let d = [
2979
2990
  {
2980
- "aria-describedby": o = N(
2991
+ "aria-describedby": i = Y(
2981
2992
  /*step*/
2982
2993
  e[4].options.text
2983
2994
  ) ? null : (
@@ -2986,7 +2997,7 @@ function Oi(e) {
2986
2997
  )
2987
2998
  },
2988
2999
  {
2989
- "aria-labelledby": s = /*step*/
3000
+ "aria-labelledby": o = /*step*/
2990
3001
  e[4].options.title ? (
2991
3002
  /*labelId*/
2992
3003
  e[3]
@@ -2998,11 +3009,11 @@ function Oi(e) {
2998
3009
  open: "true"
2999
3010
  }
3000
3011
  ], h = {};
3001
- for (let d = 0; d < f.length; d += 1)
3002
- h = Uo(h, f[d]);
3012
+ for (let f = 0; f < d.length; f += 1)
3013
+ h = qi(h, d[f]);
3003
3014
  return {
3004
3015
  c() {
3005
- t = se("dialog"), u && u.c(), n = ut(), Ce(r.$$.fragment), vn(t, h), ke(
3016
+ t = ce("dialog"), u && u.c(), n = ft(), Te(r.$$.fragment), yn(t, h), ke(
3006
3017
  t,
3007
3018
  "shepherd-has-cancel-icon",
3008
3019
  /*hasCancelIcon*/
@@ -3014,147 +3025,147 @@ function Oi(e) {
3014
3025
  e[6]
3015
3026
  ), ke(t, "shepherd-element", !0);
3016
3027
  },
3017
- m(d, g) {
3018
- re(d, t, g), u && u.m(t, null), We(t, n), ve(r, t, null), e[13](t), i = !0, c || (a = pt(
3028
+ m(f, g) {
3029
+ oe(f, t, g), u && u.m(t, null), Be(t, n), ve(r, t, null), e[13](t), s = !0, c || (a = gt(
3019
3030
  t,
3020
3031
  "keydown",
3021
3032
  /*handleKeyDown*/
3022
3033
  e[7]
3023
3034
  ), c = !0);
3024
3035
  },
3025
- p(d, [g]) {
3036
+ p(f, [g]) {
3026
3037
  /*step*/
3027
- d[4].options.arrow && /*step*/
3028
- d[4].options.attachTo && /*step*/
3029
- d[4].options.attachTo.element && /*step*/
3030
- d[4].options.attachTo.on ? u || (u = An(), u.c(), u.m(t, n)) : u && (u.d(1), u = null);
3038
+ f[4].options.arrow && /*step*/
3039
+ f[4].options.attachTo && /*step*/
3040
+ f[4].options.attachTo.element && /*step*/
3041
+ f[4].options.attachTo.on ? u || (u = Pn(), u.c(), u.m(t, n)) : u && (u.d(1), u = null);
3031
3042
  const v = {};
3032
3043
  g & /*descriptionId*/
3033
3044
  4 && (v.descriptionId = /*descriptionId*/
3034
- d[2]), g & /*labelId*/
3045
+ f[2]), g & /*labelId*/
3035
3046
  8 && (v.labelId = /*labelId*/
3036
- d[3]), g & /*step*/
3047
+ f[3]), g & /*step*/
3037
3048
  16 && (v.step = /*step*/
3038
- d[4]), r.$set(v), vn(t, h = ti(f, [(!i || g & /*step, descriptionId*/
3039
- 20 && o !== (o = N(
3049
+ f[4]), r.$set(v), yn(t, h = ro(d, [(!s || g & /*step, descriptionId*/
3050
+ 20 && i !== (i = Y(
3040
3051
  /*step*/
3041
- d[4].options.text
3052
+ f[4].options.text
3042
3053
  ) ? null : (
3043
3054
  /*descriptionId*/
3044
- d[2]
3055
+ f[2]
3045
3056
  ))) && {
3046
- "aria-describedby": o
3047
- }, (!i || g & /*step, labelId*/
3048
- 24 && s !== (s = /*step*/
3049
- d[4].options.title ? (
3057
+ "aria-describedby": i
3058
+ }, (!s || g & /*step, labelId*/
3059
+ 24 && o !== (o = /*step*/
3060
+ f[4].options.title ? (
3050
3061
  /*labelId*/
3051
- d[3]
3062
+ f[3]
3052
3063
  ) : null)) && {
3053
- "aria-labelledby": s
3064
+ "aria-labelledby": o
3054
3065
  }, g & /*dataStepId*/
3055
3066
  2 && /*dataStepId*/
3056
- d[1], {
3067
+ f[1], {
3057
3068
  open: "true"
3058
3069
  }])), ke(
3059
3070
  t,
3060
3071
  "shepherd-has-cancel-icon",
3061
3072
  /*hasCancelIcon*/
3062
- d[5]
3073
+ f[5]
3063
3074
  ), ke(
3064
3075
  t,
3065
3076
  "shepherd-has-title",
3066
3077
  /*hasTitle*/
3067
- d[6]
3078
+ f[6]
3068
3079
  ), ke(t, "shepherd-element", !0);
3069
3080
  },
3070
- i(d) {
3071
- i || (P(r.$$.fragment, d), i = !0);
3081
+ i(f) {
3082
+ s || (P(r.$$.fragment, f), s = !0);
3072
3083
  },
3073
- o(d) {
3074
- F(r.$$.fragment, d), i = !1;
3084
+ o(f) {
3085
+ L(r.$$.fragment, f), s = !1;
3075
3086
  },
3076
- d(d) {
3077
- d && Z(t), u && u.d(), ye(r), e[13](null), c = !1, a();
3087
+ d(f) {
3088
+ f && ee(t), u && u.d(), ye(r), e[13](null), c = !1, a();
3078
3089
  }
3079
3090
  };
3080
3091
  }
3081
- const Ri = 9, Ti = 27, Ci = 37, Ai = 39;
3082
- function Pn(e) {
3092
+ const Ao = 9, Po = 27, ko = 37, Io = 39;
3093
+ function kn(e) {
3083
3094
  return e.split(" ").filter((t) => !!t.length);
3084
3095
  }
3085
- function Pi(e, t, n) {
3096
+ function Mo(e, t, n) {
3086
3097
  let {
3087
3098
  classPrefix: r,
3088
- element: o,
3089
- descriptionId: s,
3090
- firstFocusableElement: i,
3099
+ element: i,
3100
+ descriptionId: o,
3101
+ firstFocusableElement: s,
3091
3102
  focusableElements: c,
3092
3103
  labelId: a,
3093
3104
  lastFocusableElement: u,
3094
- step: f,
3105
+ step: d,
3095
3106
  dataStepId: h
3096
- } = t, d, g, v;
3097
- const x = () => o;
3098
- Xo(() => {
3107
+ } = t, f, g, v;
3108
+ const E = () => i;
3109
+ Zi(() => {
3099
3110
  n(1, h = {
3100
- [`data-${r}shepherd-step-id`]: f.id
3101
- }), n(9, c = o.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]')), n(8, i = c[0]), n(10, u = c[c.length - 1]);
3102
- }), Ut(() => {
3103
- v !== f.options.classes && S();
3111
+ [`data-${r}shepherd-step-id`]: d.id
3112
+ }), 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]);
3113
+ }), Yt(() => {
3114
+ v !== d.options.classes && S();
3104
3115
  });
3105
3116
  function S() {
3106
- w(v), v = f.options.classes, _(v);
3117
+ w(v), v = d.options.classes, _(v);
3107
3118
  }
3108
3119
  function w(m) {
3109
- if (Je(m)) {
3110
- const T = Pn(m);
3111
- T.length && o.classList.remove(...T);
3120
+ if (Ke(m)) {
3121
+ const C = kn(m);
3122
+ C.length && i.classList.remove(...C);
3112
3123
  }
3113
3124
  }
3114
3125
  function _(m) {
3115
- if (Je(m)) {
3116
- const T = Pn(m);
3117
- T.length && o.classList.add(...T);
3126
+ if (Ke(m)) {
3127
+ const C = kn(m);
3128
+ C.length && i.classList.add(...C);
3118
3129
  }
3119
3130
  }
3120
3131
  const R = (m) => {
3121
3132
  const {
3122
- tour: T
3123
- } = f;
3133
+ tour: C
3134
+ } = d;
3124
3135
  switch (m.keyCode) {
3125
- case Ri:
3136
+ case Ao:
3126
3137
  if (c.length === 0) {
3127
3138
  m.preventDefault();
3128
3139
  break;
3129
3140
  }
3130
- m.shiftKey ? (document.activeElement === i || document.activeElement.classList.contains("shepherd-element")) && (m.preventDefault(), u.focus()) : document.activeElement === u && (m.preventDefault(), i.focus());
3141
+ m.shiftKey ? (document.activeElement === s || document.activeElement.classList.contains("shepherd-element")) && (m.preventDefault(), u.focus()) : document.activeElement === u && (m.preventDefault(), s.focus());
3131
3142
  break;
3132
- case Ti:
3133
- T.options.exitOnEsc && (m.preventDefault(), m.stopPropagation(), f.cancel());
3143
+ case Po:
3144
+ C.options.exitOnEsc && (m.preventDefault(), m.stopPropagation(), d.cancel());
3134
3145
  break;
3135
- case Ci:
3136
- T.options.keyboardNavigation && (m.preventDefault(), m.stopPropagation(), T.back());
3146
+ case ko:
3147
+ C.options.keyboardNavigation && (m.preventDefault(), m.stopPropagation(), C.back());
3137
3148
  break;
3138
- case Ai:
3139
- T.options.keyboardNavigation && (m.preventDefault(), m.stopPropagation(), T.next());
3149
+ case Io:
3150
+ C.options.keyboardNavigation && (m.preventDefault(), m.stopPropagation(), C.next());
3140
3151
  break;
3141
3152
  }
3142
3153
  };
3143
3154
  function y(m) {
3144
3155
  $e[m ? "unshift" : "push"](() => {
3145
- o = m, n(0, o);
3156
+ i = m, n(0, i);
3146
3157
  });
3147
3158
  }
3148
3159
  return e.$$set = (m) => {
3149
- "classPrefix" in m && n(11, r = m.classPrefix), "element" in m && n(0, o = m.element), "descriptionId" in m && n(2, s = m.descriptionId), "firstFocusableElement" in m && n(8, i = m.firstFocusableElement), "focusableElements" in m && n(9, c = m.focusableElements), "labelId" in m && n(3, a = m.labelId), "lastFocusableElement" in m && n(10, u = m.lastFocusableElement), "step" in m && n(4, f = m.step), "dataStepId" in m && n(1, h = m.dataStepId);
3160
+ "classPrefix" in m && n(11, r = m.classPrefix), "element" in m && n(0, i = m.element), "descriptionId" in m && n(2, o = m.descriptionId), "firstFocusableElement" in m && n(8, s = m.firstFocusableElement), "focusableElements" in m && n(9, c = m.focusableElements), "labelId" in m && n(3, a = m.labelId), "lastFocusableElement" in m && n(10, u = m.lastFocusableElement), "step" in m && n(4, d = m.step), "dataStepId" in m && n(1, h = m.dataStepId);
3150
3161
  }, e.$$.update = () => {
3151
3162
  e.$$.dirty & /*step*/
3152
- 16 && (n(5, d = f.options && f.options.cancelIcon && f.options.cancelIcon.enabled), n(6, g = f.options && f.options.title));
3153
- }, [o, h, s, a, f, d, g, R, i, c, u, r, x, y];
3163
+ 16 && (n(5, f = d.options && d.options.cancelIcon && d.options.cancelIcon.enabled), n(6, g = d.options && d.options.title));
3164
+ }, [i, h, o, a, d, f, g, R, s, c, u, r, E, y];
3154
3165
  }
3155
- class ki extends de {
3166
+ class Fo extends he {
3156
3167
  constructor(t) {
3157
- super(), fe(this, t, Pi, Oi, ue, {
3168
+ super(), de(this, t, Mo, To, fe, {
3158
3169
  classPrefix: 11,
3159
3170
  element: 0,
3160
3171
  descriptionId: 2,
@@ -3173,7 +3184,7 @@ class ki extends de {
3173
3184
  }
3174
3185
  class Mt extends Ft {
3175
3186
  constructor(t, n = {}) {
3176
- return super(), this._resolvedAttachTo = 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 ? Dn(this.tour.options.classPrefix) : "", this.styles = t.styles, this._resolvedAttachTo = null, Dt(this), this._setOptions(n), this;
3187
+ 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 ? Dn(this.tour.options.classPrefix) : "", this.styles = t.styles, this._resolvedAttachTo = null, Dt(this), this._setOptions(n), this;
3177
3188
  }
3178
3189
  /**
3179
3190
  * Cancel the tour
@@ -3194,7 +3205,7 @@ class Mt extends Ft {
3194
3205
  * Triggers `destroy` event
3195
3206
  */
3196
3207
  destroy() {
3197
- Bo(this), Ge(this.el) && (this.el.remove(), this.el = null), this._updateStepTargetOnHide(), this.trigger("destroy");
3208
+ Ni(this), De(this.el) && (this.el.remove(), this.el = null), this._updateStepTargetOnHide(), this.trigger("destroy");
3198
3209
  }
3199
3210
  /**
3200
3211
  * Returns the tour for the step
@@ -3210,12 +3221,19 @@ class Mt extends Ft {
3210
3221
  var t;
3211
3222
  (t = this.tour.modal) == null || t.hide(), this.trigger("before-hide"), this.el && (this.el.hidden = !0), this._updateStepTargetOnHide(), this.trigger("hide");
3212
3223
  }
3224
+ /**
3225
+ * Resolves attachTo options.
3226
+ * @returns {{}|{element, on}}
3227
+ */
3228
+ _resolveExtraHiglightElements() {
3229
+ return this._resolvedExtraHighlightElements = ei(this), this._resolvedExtraHighlightElements;
3230
+ }
3213
3231
  /**
3214
3232
  * Resolves attachTo options.
3215
3233
  * @returns {{}|{element, on}}
3216
3234
  */
3217
3235
  _resolveAttachToOptions() {
3218
- return this._resolvedAttachTo = Gr(this), this._resolvedAttachTo;
3236
+ return this._resolvedAttachTo = Qr(this), this._resolvedAttachTo;
3219
3237
  }
3220
3238
  /**
3221
3239
  * A selector for resolved attachTo options.
@@ -3270,7 +3288,7 @@ class Mt extends Ft {
3270
3288
  */
3271
3289
  _createTooltipContent() {
3272
3290
  const t = `${this.id}-description`, n = `${this.id}-label`;
3273
- return this.shepherdElementComponent = new ki({
3291
+ return this.shepherdElementComponent = new Fo({
3274
3292
  target: this.tour.options.stepsContainer || document.body,
3275
3293
  props: {
3276
3294
  classPrefix: this.classPrefix,
@@ -3302,8 +3320,8 @@ class Mt extends Ft {
3302
3320
  * @returns {string} unique string from array of classes
3303
3321
  */
3304
3322
  _getClassOptions(t) {
3305
- const n = this.tour && this.tour.options && this.tour.options.defaultStepOptions, r = t.classes ? t.classes : "", o = n && n.classes ? n.classes : "", s = [...r.split(" "), ...o.split(" ")], i = new Set(s);
3306
- return Array.from(i).join(" ").trim();
3323
+ const n = this.tour && this.tour.options && this.tour.options.defaultStepOptions, r = t.classes ? t.classes : "", i = n && n.classes ? n.classes : "", o = [...r.split(" "), ...i.split(" ")], s = new Set(o);
3324
+ return Array.from(s).join(" ").trim();
3307
3325
  }
3308
3326
  /**
3309
3327
  * Sets the options for the step, maps `when` to events, sets up buttons
@@ -3313,12 +3331,12 @@ class Mt extends Ft {
3313
3331
  let n = this.tour && this.tour.options && this.tour.options.defaultStepOptions;
3314
3332
  n = Lt({}, n || {}), this.options = Object.assign({
3315
3333
  arrow: !0
3316
- }, n, t, jo(n, t));
3334
+ }, n, t, Vi(n, t));
3317
3335
  const {
3318
3336
  when: r
3319
3337
  } = this.options;
3320
- this.options.classes = this._getClassOptions(t), this.destroy(), this.id = this.options.id || `step-${Bn()}`, r && Object.keys(r).forEach((o) => {
3321
- this.on(o, r[o], this);
3338
+ this.options.classes = this._getClassOptions(t), this.destroy(), this.id = this.options.id || `step-${Hn()}`, r && Object.keys(r).forEach((i) => {
3339
+ this.on(i, r[i], this);
3322
3340
  });
3323
3341
  }
3324
3342
  /**
@@ -3326,7 +3344,7 @@ class Mt extends Ft {
3326
3344
  * @private
3327
3345
  */
3328
3346
  _setupElements() {
3329
- N(this.el) || this.destroy(), this.el = this._createTooltipContent(), this.options.advanceOn && Jr(this), Do(this);
3347
+ Y(this.el) || this.destroy(), this.el = this._createTooltipContent(), this.options.advanceOn && Xr(this), Hi(this);
3330
3348
  }
3331
3349
  /**
3332
3350
  * Triggers `before-show`, generates the tooltip DOM content,
@@ -3335,11 +3353,13 @@ class Mt extends Ft {
3335
3353
  */
3336
3354
  _show() {
3337
3355
  var t;
3338
- this.trigger("before-show"), this._resolveAttachToOptions(), this._setupElements(), this.tour.modal || this.tour.setupModal(), (t = this.tour.modal) == null || t.setupForStep(this), this._styleTargetElementForStep(this), this.el && (this.el.hidden = !1), this.options.scrollTo && setTimeout(() => {
3356
+ this.trigger("before-show"), this._resolveAttachToOptions(), this._resolveExtraHiglightElements(), this._setupElements(), this.tour.modal || this.tour.setupModal(), (t = this.tour.modal) == null || t.setupForStep(this), this._styleTargetElementForStep(this), this.el && (this.el.hidden = !1), this.options.scrollTo && setTimeout(() => {
3339
3357
  this._scrollTo(this.options.scrollTo);
3340
3358
  }), this.el && (this.el.hidden = !1);
3341
- const n = this.shepherdElementComponent.getElement(), r = this.target || document.body;
3342
- r.classList.add(`${this.classPrefix}shepherd-enabled`), r.classList.add(`${this.classPrefix}shepherd-target`), n.classList.add("shepherd-enabled"), this.trigger("show");
3359
+ const n = this.shepherdElementComponent.getElement(), r = this.target || document.body, i = this._resolvedExtraHighlightElements;
3360
+ r.classList.add(`${this.classPrefix}shepherd-enabled`), r.classList.add(`${this.classPrefix}shepherd-target`), n.classList.add("shepherd-enabled"), i == null || i.forEach((o) => {
3361
+ o.classList.add(`${this.classPrefix}shepherd-enabled`), o.classList.add(`${this.classPrefix}shepherd-target`);
3362
+ }), this.trigger("show");
3343
3363
  }
3344
3364
  /**
3345
3365
  * Modulates the styles of the passed step's target element, based on the step's options and
@@ -3349,8 +3369,11 @@ class Mt extends Ft {
3349
3369
  * @private
3350
3370
  */
3351
3371
  _styleTargetElementForStep(t) {
3352
- const n = t.target;
3353
- n && (t.options.highlightClass && n.classList.add(t.options.highlightClass), n.classList.remove("shepherd-target-click-disabled"), t.options.canClickTarget === !1 && n.classList.add("shepherd-target-click-disabled"));
3372
+ const n = t.target, r = t._resolvedExtraHighlightElements;
3373
+ if (!n)
3374
+ return;
3375
+ const i = t.options.highlightClass;
3376
+ i && (n.classList.add(i), r == null || r.forEach((o) => o.classList.add(i))), n.classList.remove("shepherd-target-click-disabled"), r == null || r.forEach((o) => o.classList.remove("shepherd-target-click-disabled")), t.options.canClickTarget === !1 && (n.classList.add("shepherd-target-click-disabled"), r == null || r.forEach((o) => o.classList.add("shepherd-target-click-disabled")));
3354
3377
  }
3355
3378
  /**
3356
3379
  * When a step is hidden, remove the highlightClass and 'shepherd-enabled'
@@ -3358,48 +3381,56 @@ class Mt extends Ft {
3358
3381
  * @private
3359
3382
  */
3360
3383
  _updateStepTargetOnHide() {
3361
- const t = this.target || document.body;
3362
- this.options.highlightClass && t.classList.remove(this.options.highlightClass), t.classList.remove("shepherd-target-click-disabled", `${this.classPrefix}shepherd-enabled`, `${this.classPrefix}shepherd-target`);
3384
+ const t = this.target || document.body, n = this._resolvedExtraHighlightElements, r = this.options.highlightClass;
3385
+ r && (t.classList.remove(r), n == null || n.forEach((i) => i.classList.remove(r))), t.classList.remove("shepherd-target-click-disabled", `${this.classPrefix}shepherd-enabled`, `${this.classPrefix}shepherd-target`), n == null || n.forEach((i) => {
3386
+ i.classList.remove("shepherd-target-click-disabled", `${this.classPrefix}shepherd-enabled`, `${this.classPrefix}shepherd-target`);
3387
+ });
3363
3388
  }
3364
3389
  }
3365
- function Ii(e) {
3390
+ function Lo(e) {
3366
3391
  if (e) {
3367
3392
  const {
3368
3393
  steps: t
3369
3394
  } = e;
3370
3395
  t.forEach((n) => {
3371
- n.options && n.options.canClickTarget === !1 && n.options.attachTo && Ge(n.target) && n.target.classList.remove("shepherd-target-click-disabled");
3396
+ n.options && n.options.canClickTarget === !1 && n.options.attachTo && (De(n.target) && n.target.classList.remove("shepherd-target-click-disabled"), n._resolvedExtraHighlightElements && n._resolvedExtraHighlightElements.forEach((r) => {
3397
+ De(r) && r.classList.remove("shepherd-target-click-disabled");
3398
+ }));
3372
3399
  });
3373
3400
  }
3374
3401
  }
3375
- function Mi({
3376
- width: e,
3377
- height: t,
3378
- x: n = 0,
3379
- y: r = 0,
3380
- r: o = 0
3381
- }) {
3402
+ function Do(e) {
3403
+ let t = "";
3382
3404
  const {
3383
- innerWidth: s,
3384
- innerHeight: i
3385
- } = window, {
3386
- topLeft: c = 0,
3387
- topRight: a = 0,
3388
- bottomRight: u = 0,
3389
- bottomLeft: f = 0
3390
- } = typeof o == "number" ? {
3391
- topLeft: o,
3392
- topRight: o,
3393
- bottomRight: o,
3394
- bottomLeft: o
3395
- } : o;
3396
- return `M${s},${i}H0V0H${s}V${i}ZM${n + c},${r}a${c},${c},0,0,0-${c},${c}V${t + r - f}a${f},${f},0,0,0,${f},${f}H${e + n - u}a${u},${u},0,0,0,${u}-${u}V${r + a}a${a},${a},0,0,0-${a}-${a}Z`;
3397
- }
3398
- function Fi(e) {
3399
- let t, n, r, o, s;
3405
+ innerWidth: n,
3406
+ innerHeight: r
3407
+ } = window;
3408
+ return e.forEach((i) => {
3409
+ const {
3410
+ width: o,
3411
+ height: s,
3412
+ x: c = 0,
3413
+ y: a = 0,
3414
+ r: u = 0
3415
+ } = i, {
3416
+ topLeft: d = 0,
3417
+ topRight: h = 0,
3418
+ bottomRight: f = 0,
3419
+ bottomLeft: g = 0
3420
+ } = typeof u == "number" ? {
3421
+ topLeft: u,
3422
+ topRight: u,
3423
+ bottomRight: u,
3424
+ bottomLeft: u
3425
+ } : u;
3426
+ 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`;
3427
+ }), `M${n},${r} H0 V0 H${n} V${r} Z ${t}`.replace(/\s/g, "");
3428
+ }
3429
+ function jo(e) {
3430
+ let t, n, r, i, o;
3400
3431
  return {
3401
3432
  c() {
3402
- t = bn("svg"), n = bn("path"), k(
3433
+ t = vn("svg"), n = vn("path"), k(
3403
3434
  n,
3404
3435
  "d",
3405
3436
  /*pathDefinition*/
@@ -3407,29 +3438,29 @@ function Fi(e) {
3407
3438
  ), k(t, "class", r = `${/*modalIsVisible*/
3408
3439
  e[1] ? "shepherd-modal-is-visible" : ""} shepherd-modal-overlay-container`);
3409
3440
  },
3410
- m(i, c) {
3411
- re(i, t, c), We(t, n), e[11](t), o || (s = pt(
3441
+ m(s, c) {
3442
+ oe(s, t, c), Be(t, n), e[11](t), i || (o = gt(
3412
3443
  t,
3413
3444
  "touchmove",
3414
3445
  /*_preventModalOverlayTouch*/
3415
3446
  e[3]
3416
- ), o = !0);
3447
+ ), i = !0);
3417
3448
  },
3418
- p(i, [c]) {
3449
+ p(s, [c]) {
3419
3450
  c & /*pathDefinition*/
3420
3451
  4 && k(
3421
3452
  n,
3422
3453
  "d",
3423
3454
  /*pathDefinition*/
3424
- i[2]
3455
+ s[2]
3425
3456
  ), c & /*modalIsVisible*/
3426
3457
  2 && r !== (r = `${/*modalIsVisible*/
3427
- i[1] ? "shepherd-modal-is-visible" : ""} shepherd-modal-overlay-container`) && k(t, "class", r);
3458
+ s[1] ? "shepherd-modal-is-visible" : ""} shepherd-modal-overlay-container`) && k(t, "class", r);
3428
3459
  },
3429
- i: J,
3430
- o: J,
3431
- d(i) {
3432
- i && Z(t), e[11](null), o = !1, s();
3460
+ i: X,
3461
+ o: X,
3462
+ d(s) {
3463
+ s && ee(t), e[11](null), i = !1, o();
3433
3464
  }
3434
3465
  };
3435
3466
  }
@@ -3439,7 +3470,7 @@ function Zn(e) {
3439
3470
  const n = e instanceof HTMLElement && window.getComputedStyle(e).overflowY;
3440
3471
  return n !== "hidden" && n !== "visible" && e.scrollHeight >= e.clientHeight ? e : Zn(e.parentElement);
3441
3472
  }
3442
- function Li(e) {
3473
+ function Ho(e) {
3443
3474
  let t = {
3444
3475
  top: 0,
3445
3476
  left: 0
@@ -3449,77 +3480,87 @@ function Li(e) {
3449
3480
  let n = e.ownerDocument.defaultView;
3450
3481
  for (; n !== window.top; ) {
3451
3482
  var r;
3452
- const i = (r = n) == null ? void 0 : r.frameElement;
3453
- if (i) {
3454
- var o, s;
3455
- const c = i.getBoundingClientRect();
3456
- t.top += c.top + ((o = c.scrollTop) != null ? o : 0), t.left += c.left + ((s = c.scrollLeft) != null ? s : 0);
3483
+ const s = (r = n) == null ? void 0 : r.frameElement;
3484
+ if (s) {
3485
+ var i, o;
3486
+ const c = s.getBoundingClientRect();
3487
+ t.top += c.top + ((i = c.scrollTop) != null ? i : 0), t.left += c.left + ((o = c.scrollLeft) != null ? o : 0);
3457
3488
  }
3458
3489
  n = n.parent;
3459
3490
  }
3460
3491
  return t;
3461
3492
  }
3462
- function Di(e, t) {
3493
+ function Vo(e, t) {
3463
3494
  const n = e.getBoundingClientRect();
3464
- let r = n.y || n.top, o = n.bottom || r + n.height;
3495
+ let r = n.y || n.top, i = n.bottom || r + n.height;
3465
3496
  if (t) {
3466
- const i = t.getBoundingClientRect(), c = i.y || i.top, a = i.bottom || c + i.height;
3467
- r = Math.max(r, c), o = Math.min(o, a);
3497
+ const s = t.getBoundingClientRect(), c = s.y || s.top, a = s.bottom || c + s.height;
3498
+ r = Math.max(r, c), i = Math.min(i, a);
3468
3499
  }
3469
- const s = Math.max(o - r, 0);
3500
+ const o = Math.max(i - r, 0);
3470
3501
  return {
3471
3502
  y: r,
3472
- height: s
3503
+ height: o
3473
3504
  };
3474
3505
  }
3475
- function ji(e, t, n) {
3506
+ function No(e, t, n) {
3476
3507
  let {
3477
3508
  element: r,
3478
- openingProperties: o
3479
- } = t, s = !1, i, c;
3509
+ openingProperties: i
3510
+ } = t, o = !1, s, c;
3480
3511
  u();
3481
3512
  const a = () => r;
3482
3513
  function u() {
3483
- n(4, o = {
3514
+ n(4, i = [{
3484
3515
  width: 0,
3485
3516
  height: 0,
3486
3517
  x: 0,
3487
3518
  y: 0,
3488
3519
  r: 0
3489
- });
3490
- }
3491
- function f() {
3492
- n(1, s = !1), w();
3493
- }
3494
- function h(y = 0, m = 0, T = 0, B = 0, oe, H) {
3495
- if (H) {
3496
- const {
3497
- y: K,
3498
- height: U
3499
- } = Di(H, oe), {
3500
- x: W,
3501
- width: j,
3502
- left: L
3503
- } = H.getBoundingClientRect();
3504
- n(4, o = {
3505
- width: j + y * 2,
3506
- height: U + y * 2,
3507
- x: (W || L) + T - y,
3508
- y: K + B - y,
3509
- r: m
3510
- });
3520
+ }]);
3521
+ }
3522
+ function d() {
3523
+ n(1, o = !1), w();
3524
+ }
3525
+ function h(y = 0, m = 0, C = 0, V = 0, se, J, G) {
3526
+ if (J) {
3527
+ const N = [J, ...G || []];
3528
+ n(4, i = []);
3529
+ for (const D of N) {
3530
+ if (!D || N.indexOf(D) !== N.lastIndexOf(D))
3531
+ continue;
3532
+ const {
3533
+ y: j,
3534
+ height: M
3535
+ } = Vo(D, se), {
3536
+ x: $,
3537
+ width: B,
3538
+ left: te
3539
+ } = D.getBoundingClientRect();
3540
+ N.some((Z) => {
3541
+ if (Z === D) return !1;
3542
+ const W = Z.getBoundingClientRect();
3543
+ return $ >= W.left && $ + B <= W.right && j >= W.top && j + M <= W.bottom;
3544
+ }) || i.push({
3545
+ width: B + y * 2,
3546
+ height: M + y * 2,
3547
+ x: ($ || te) + C - y,
3548
+ y: j + V - y,
3549
+ r: m
3550
+ });
3551
+ }
3511
3552
  } else
3512
3553
  u();
3513
3554
  }
3514
- function d(y) {
3515
- w(), y.tour.options.useModalOverlay ? (_(y), g()) : f();
3555
+ function f(y) {
3556
+ w(), y.tour.options.useModalOverlay ? (_(y), g()) : d();
3516
3557
  }
3517
3558
  function g() {
3518
- n(1, s = !0);
3559
+ n(1, o = !0);
3519
3560
  }
3520
3561
  const v = (y) => {
3521
3562
  y.preventDefault();
3522
- }, x = (y) => {
3563
+ }, E = (y) => {
3523
3564
  y.stopPropagation();
3524
3565
  };
3525
3566
  function S() {
@@ -3528,20 +3569,20 @@ function ji(e, t, n) {
3528
3569
  });
3529
3570
  }
3530
3571
  function w() {
3531
- i && (cancelAnimationFrame(i), i = void 0), window.removeEventListener("touchmove", v, {
3572
+ s && (cancelAnimationFrame(s), s = void 0), window.removeEventListener("touchmove", v, {
3532
3573
  passive: !1
3533
3574
  });
3534
3575
  }
3535
3576
  function _(y) {
3536
3577
  const {
3537
3578
  modalOverlayOpeningPadding: m,
3538
- modalOverlayOpeningRadius: T,
3539
- modalOverlayOpeningXOffset: B = 0,
3540
- modalOverlayOpeningYOffset: oe = 0
3541
- } = y.options, H = Li(y.target), K = Zn(y.target), U = () => {
3542
- i = void 0, h(m, T, B + H.left, oe + H.top, K, y.target), i = requestAnimationFrame(U);
3579
+ modalOverlayOpeningRadius: C,
3580
+ modalOverlayOpeningXOffset: V = 0,
3581
+ modalOverlayOpeningYOffset: se = 0
3582
+ } = y.options, J = Ho(y.target), G = Zn(y.target), N = () => {
3583
+ s = void 0, h(m, C, V + J.left, se + J.top, G, y.target, y._resolvedExtraHighlightElements), s = requestAnimationFrame(N);
3543
3584
  };
3544
- U(), S();
3585
+ N(), S();
3545
3586
  }
3546
3587
  function R(y) {
3547
3588
  $e[y ? "unshift" : "push"](() => {
@@ -3549,15 +3590,15 @@ function ji(e, t, n) {
3549
3590
  });
3550
3591
  }
3551
3592
  return e.$$set = (y) => {
3552
- "element" in y && n(0, r = y.element), "openingProperties" in y && n(4, o = y.openingProperties);
3593
+ "element" in y && n(0, r = y.element), "openingProperties" in y && n(4, i = y.openingProperties);
3553
3594
  }, e.$$.update = () => {
3554
3595
  e.$$.dirty & /*openingProperties*/
3555
- 16 && n(2, c = Mi(o));
3556
- }, [r, s, c, x, o, a, u, f, h, d, g, R];
3596
+ 16 && n(2, c = Do(i));
3597
+ }, [r, o, c, E, i, a, u, d, h, f, g, R];
3557
3598
  }
3558
- class Bi extends de {
3599
+ class Bo extends he {
3559
3600
  constructor(t) {
3560
- super(), fe(this, t, ji, Fi, ue, {
3601
+ super(), de(this, t, No, jo, fe, {
3561
3602
  element: 0,
3562
3603
  openingProperties: 4,
3563
3604
  getElement: 5,
@@ -3587,24 +3628,24 @@ class Bi extends de {
3587
3628
  return this.$$.ctx[10];
3588
3629
  }
3589
3630
  }
3590
- class Ni extends Ft {
3631
+ class $o extends Ft {
3591
3632
  constructor() {
3592
3633
  super(), this.activeTour = void 0, Dt(this);
3593
3634
  }
3594
3635
  }
3595
- class Wi extends Ft {
3636
+ class Wo extends Ft {
3596
3637
  constructor(t = {}) {
3597
3638
  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, Dt(this);
3598
3639
  const n = {
3599
3640
  exitOnEsc: !0,
3600
3641
  keyboardNavigation: !0
3601
3642
  };
3602
- return this.options = Object.assign({}, n, t), this.classPrefix = Dn(this.options.classPrefix), this.steps = [], this.addSteps(this.options.steps), ["active", "cancel", "complete", "inactive", "show", "start"].map((o) => {
3603
- ((s) => {
3604
- this.on(s, (i) => {
3605
- i = i || {}, i.tour = this, xe.trigger(s, i);
3643
+ return this.options = Object.assign({}, n, t), this.classPrefix = Dn(this.options.classPrefix), this.steps = [], this.addSteps(this.options.steps), ["active", "cancel", "complete", "inactive", "show", "start"].map((i) => {
3644
+ ((o) => {
3645
+ this.on(o, (s) => {
3646
+ s = s || {}, s.tour = this, Ee.trigger(o, s);
3606
3647
  });
3607
- })(o);
3648
+ })(i);
3608
3649
  }), this._setTourID(t.id), this;
3609
3650
  }
3610
3651
  /**
@@ -3616,7 +3657,7 @@ class Wi extends Ft {
3616
3657
  */
3617
3658
  addStep(t, n) {
3618
3659
  let r = t;
3619
- return r instanceof Mt ? r.tour = this : r = new Mt(this, r), N(n) ? this.steps.push(r) : this.steps.splice(n, 0, r), r;
3660
+ return r instanceof Mt ? r.tour = this : r = new Mt(this, r), Y(n) ? this.steps.push(r) : this.steps.splice(n, 0, r), r;
3620
3661
  }
3621
3662
  /**
3622
3663
  * Add multiple steps to the tour
@@ -3680,7 +3721,7 @@ class Wi extends Ft {
3680
3721
  * Check if the tour is active
3681
3722
  */
3682
3723
  isActive() {
3683
- return xe.activeTour === this;
3724
+ return Ee.activeTour === this;
3684
3725
  }
3685
3726
  /**
3686
3727
  * Go to the next step in the tour
@@ -3696,9 +3737,9 @@ class Wi extends Ft {
3696
3737
  */
3697
3738
  removeStep(t) {
3698
3739
  const n = this.getCurrentStep();
3699
- this.steps.some((r, o) => {
3740
+ this.steps.some((r, i) => {
3700
3741
  if (r.id === t)
3701
- return r.isOpen() && r.hide(), r.destroy(), this.steps.splice(o, 1), !0;
3742
+ return r.isOpen() && r.hide(), r.destroy(), this.steps.splice(i, 1), !0;
3702
3743
  }), n && n.id === t && (this.currentStep = void 0, this.steps.length ? this.show(0) : this.cancel());
3703
3744
  }
3704
3745
  /**
@@ -3707,7 +3748,7 @@ class Wi extends Ft {
3707
3748
  * @param {boolean} forward - True if we are going forward, false if backward
3708
3749
  */
3709
3750
  show(t = 0, n = !0) {
3710
- const r = Je(t) ? this.getById(t) : this.steps[t];
3751
+ const r = Ke(t) ? this.getById(t) : this.steps[t];
3711
3752
  r && (this._updateStateBeforeShow(), pe(r.options.showOn) && !r.options.showOn() ? this._skipStep(r, n) : (this.currentStep = r, this.trigger("show", {
3712
3753
  step: r,
3713
3754
  previous: this.currentStep
@@ -3726,15 +3767,15 @@ class Wi extends Ft {
3726
3767
  */
3727
3768
  _done(t) {
3728
3769
  const n = this.steps.indexOf(this.currentStep);
3729
- if (Array.isArray(this.steps) && this.steps.forEach((r) => r.destroy()), Ii(this), this.trigger(t, {
3770
+ if (Array.isArray(this.steps) && this.steps.forEach((r) => r.destroy()), Lo(this), this.trigger(t, {
3730
3771
  index: n
3731
- }), xe.activeTour = null, this.trigger("inactive", {
3772
+ }), Ee.activeTour = null, this.trigger("inactive", {
3732
3773
  tour: this
3733
3774
  }), this.modal && this.modal.hide(), (t === "cancel" || t === "complete") && this.modal) {
3734
3775
  const r = document.querySelector(".shepherd-modal-overlay-container");
3735
3776
  r && (r.remove(), this.modal = null);
3736
3777
  }
3737
- Ge(this.focusedElBeforeOpen) && this.focusedElBeforeOpen.focus();
3778
+ De(this.focusedElBeforeOpen) && this.focusedElBeforeOpen.focus();
3738
3779
  }
3739
3780
  /**
3740
3781
  * Make this tour "active"
@@ -3742,13 +3783,13 @@ class Wi extends Ft {
3742
3783
  _setupActiveTour() {
3743
3784
  this.trigger("active", {
3744
3785
  tour: this
3745
- }), xe.activeTour = this;
3786
+ }), Ee.activeTour = this;
3746
3787
  }
3747
3788
  /**
3748
3789
  * setupModal create the modal container and instance
3749
3790
  */
3750
3791
  setupModal() {
3751
- this.modal = new Bi({
3792
+ this.modal = new Bo({
3752
3793
  target: this.options.modalContainer || document.body,
3753
3794
  props: {
3754
3795
  // @ts-expect-error TODO: investigate where styles comes from
@@ -3767,8 +3808,8 @@ class Wi extends Ft {
3767
3808
  if (r === this.steps.length - 1)
3768
3809
  this.complete();
3769
3810
  else {
3770
- const o = n ? r + 1 : r - 1;
3771
- this.show(o, n);
3811
+ const i = n ? r + 1 : r - 1;
3812
+ this.show(i, n);
3772
3813
  }
3773
3814
  }
3774
3815
  /**
@@ -3785,29 +3826,29 @@ class Wi extends Ft {
3785
3826
  * @private
3786
3827
  */
3787
3828
  _setTourID(t) {
3788
- const n = this.options.tourName || "tour", r = t || Bn();
3829
+ const n = this.options.tourName || "tour", r = t || Hn();
3789
3830
  this.id = `${n}--${r}`;
3790
3831
  }
3791
3832
  }
3792
- const xe = new Ni(), Qn = typeof window > "u";
3793
- xe.Step = Qn ? Kr : Mt;
3794
- xe.Tour = Qn ? Xr : Wi;
3795
- const Yt = Tr(
3833
+ const Ee = new $o(), Qn = typeof window > "u";
3834
+ Ee.Step = Qn ? Gr : Mt;
3835
+ Ee.Tour = Qn ? Zr : Wo;
3836
+ const Ut = Cr(
3796
3837
  void 0
3797
- ), Vi = Yt.Consumer, Hi = () => {
3798
- const e = Cr(Yt);
3838
+ ), Uo = Ut.Consumer, qo = () => {
3839
+ const e = Tr(Ut);
3799
3840
  if (!e)
3800
3841
  throw new Error(
3801
3842
  "useShepherd must be used within a ShepherdJourneyProvider"
3802
3843
  );
3803
3844
  const { Shepherd: t } = e;
3804
3845
  return t;
3805
- }, Ui = ({
3846
+ }, zo = ({
3806
3847
  children: e
3807
- }) => /* @__PURE__ */ kr.jsx(Yt.Provider, { value: { Shepherd: xe }, children: e });
3848
+ }) => /* @__PURE__ */ kr.jsx(Ut.Provider, { value: { Shepherd: Ee }, children: e });
3808
3849
  export {
3809
- Vi as JourneyMethods,
3810
- Yt as ShepherdJourneyContext,
3811
- Ui as ShepherdJourneyProvider,
3812
- Hi as useShepherd
3850
+ Uo as JourneyMethods,
3851
+ Ut as ShepherdJourneyContext,
3852
+ zo as ShepherdJourneyProvider,
3853
+ qo as useShepherd
3813
3854
  };