react-shepherd 6.1.6 → 6.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import Dn, { createContext as Pr, useContext as kr } from "react";
2
- var At = { exports: {} }, ze = {};
1
+ import $n, { createContext as Mr, useContext as Fr } from "react";
2
+ var Pt = { exports: {} }, ze = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.min.js
@@ -9,11 +9,11 @@ var At = { exports: {} }, ze = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var un;
13
- function Ir() {
14
- if (un) return ze;
15
- un = 1;
16
- var e = Dn, 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 };
12
+ var hn;
13
+ function Lr() {
14
+ if (hn) return ze;
15
+ hn = 1;
16
+ var e = $n, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
17
17
  function s(c, a, u) {
18
18
  var d, h = {}, f = null, g = null;
19
19
  u !== void 0 && (f = "" + u), a.key !== void 0 && (f = "" + a.key), a.ref !== void 0 && (g = a.ref);
@@ -33,10 +33,10 @@ var Je = {};
33
33
  * This source code is licensed under the MIT license found in the
34
34
  * LICENSE file in the root directory of this source tree.
35
35
  */
36
- var fn;
37
- function Mr() {
38
- return fn || (fn = 1, process.env.NODE_ENV !== "production" && function() {
39
- var e = Dn, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), b = Symbol.iterator, E = "@@iterator";
36
+ var pn;
37
+ function Dr() {
38
+ return pn || (pn = 1, process.env.NODE_ENV !== "production" && function() {
39
+ var e = $n, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), b = Symbol.iterator, E = "@@iterator";
40
40
  function S(l) {
41
41
  if (l === null || typeof l != "object")
42
42
  return null;
@@ -55,10 +55,10 @@ function Mr() {
55
55
  {
56
56
  var x = _.ReactDebugCurrentFrame, P = x.getStackAddendum();
57
57
  P !== "" && (p += "%s", v = v.concat([P]));
58
- var M = v.map(function(C) {
58
+ var I = v.map(function(C) {
59
59
  return String(C);
60
60
  });
61
- M.unshift("Warning: " + p), Function.prototype.apply.call(console[l], console, M);
61
+ I.unshift("Warning: " + p), Function.prototype.apply.call(console[l], console, I);
62
62
  }
63
63
  }
64
64
  var y = !1, m = !1, R = !1, D = !1, K = !1, W;
@@ -115,9 +115,9 @@ function Mr() {
115
115
  var x = l.displayName || null;
116
116
  return x !== null ? x : F(l.type) || "Memo";
117
117
  case f: {
118
- var P = l, M = P._payload, C = P._init;
118
+ var P = l, I = P._payload, C = P._init;
119
119
  try {
120
- return F(C(M));
120
+ return F(C(I));
121
121
  } catch {
122
122
  return null;
123
123
  }
@@ -125,18 +125,18 @@ function Mr() {
125
125
  }
126
126
  return null;
127
127
  }
128
- var L = Object.assign, B = 0, N, ne, ae, Q, Y, re, tt;
129
- function Jt() {
128
+ var L = Object.assign, V = 0, N, ne, fe, Q, Y, re, tt;
129
+ function Gt() {
130
130
  }
131
- Jt.__reactDisabledLog = !0;
132
- function rr() {
131
+ Gt.__reactDisabledLog = !0;
132
+ function sr() {
133
133
  {
134
- if (B === 0) {
135
- N = console.log, ne = console.info, ae = console.warn, Q = console.error, Y = console.group, re = console.groupCollapsed, tt = console.groupEnd;
134
+ if (V === 0) {
135
+ N = console.log, ne = console.info, fe = console.warn, Q = console.error, Y = console.group, re = console.groupCollapsed, tt = console.groupEnd;
136
136
  var l = {
137
137
  configurable: !0,
138
138
  enumerable: !0,
139
- value: Jt,
139
+ value: Gt,
140
140
  writable: !0
141
141
  };
142
142
  Object.defineProperties(console, {
@@ -149,12 +149,12 @@ function Mr() {
149
149
  groupEnd: l
150
150
  });
151
151
  }
152
- B++;
152
+ V++;
153
153
  }
154
154
  }
155
- function ir() {
155
+ function lr() {
156
156
  {
157
- if (B--, B === 0) {
157
+ if (V--, V === 0) {
158
158
  var l = {
159
159
  configurable: !0,
160
160
  enumerable: !0,
@@ -168,7 +168,7 @@ function Mr() {
168
168
  value: ne
169
169
  }),
170
170
  warn: L({}, l, {
171
- value: ae
171
+ value: fe
172
172
  }),
173
173
  error: L({}, l, {
174
174
  value: Q
@@ -184,30 +184,30 @@ function Mr() {
184
184
  })
185
185
  });
186
186
  }
187
- B < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
187
+ V < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
188
  }
189
189
  }
190
- var vt = _.ReactCurrentDispatcher, bt;
190
+ var bt = _.ReactCurrentDispatcher, yt;
191
191
  function nt(l, p, v) {
192
192
  {
193
- if (bt === void 0)
193
+ if (yt === void 0)
194
194
  try {
195
195
  throw Error();
196
196
  } catch (P) {
197
197
  var x = P.stack.trim().match(/\n( *(at )?)/);
198
- bt = x && x[1] || "";
198
+ yt = x && x[1] || "";
199
199
  }
200
200
  return `
201
- ` + bt + l;
201
+ ` + yt + l;
202
202
  }
203
203
  }
204
- var yt = !1, rt;
204
+ var wt = !1, rt;
205
205
  {
206
- var or = typeof WeakMap == "function" ? WeakMap : Map;
207
- rt = new or();
206
+ var cr = typeof WeakMap == "function" ? WeakMap : Map;
207
+ rt = new cr();
208
208
  }
209
- function Kt(l, p) {
210
- if (!l || yt)
209
+ function Zt(l, p) {
210
+ if (!l || wt)
211
211
  return "";
212
212
  {
213
213
  var v = rt.get(l);
@@ -215,11 +215,11 @@ function Mr() {
215
215
  return v;
216
216
  }
217
217
  var x;
218
- yt = !0;
218
+ wt = !0;
219
219
  var P = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
- var M;
222
- M = vt.current, vt.current = null, rr();
221
+ var I;
222
+ I = bt.current, bt.current = null, sr();
223
223
  try {
224
224
  if (p) {
225
225
  var C = function() {
@@ -232,55 +232,55 @@ function Mr() {
232
232
  }), typeof Reflect == "object" && Reflect.construct) {
233
233
  try {
234
234
  Reflect.construct(C, []);
235
- } catch (J) {
236
- x = J;
235
+ } catch (z) {
236
+ x = z;
237
237
  }
238
238
  Reflect.construct(l, [], C);
239
239
  } else {
240
240
  try {
241
241
  C.call();
242
- } catch (J) {
243
- x = J;
242
+ } catch (z) {
243
+ x = z;
244
244
  }
245
245
  l.call(C.prototype);
246
246
  }
247
247
  } else {
248
248
  try {
249
249
  throw Error();
250
- } catch (J) {
251
- x = J;
250
+ } catch (z) {
251
+ x = z;
252
252
  }
253
253
  l();
254
254
  }
255
- } catch (J) {
256
- if (J && x && typeof J.stack == "string") {
257
- for (var T = J.stack.split(`
255
+ } catch (z) {
256
+ if (z && x && typeof z.stack == "string") {
257
+ for (var T = z.stack.split(`
258
258
  `), q = x.stack.split(`
259
- `), j = T.length - 1, V = q.length - 1; j >= 1 && V >= 0 && T[j] !== q[V]; )
260
- V--;
261
- for (; j >= 1 && V >= 0; j--, V--)
262
- if (T[j] !== q[V]) {
263
- if (j !== 1 || V !== 1)
259
+ `), j = T.length - 1, B = q.length - 1; j >= 1 && B >= 0 && T[j] !== q[B]; )
260
+ B--;
261
+ for (; j >= 1 && B >= 0; j--, B--)
262
+ if (T[j] !== q[B]) {
263
+ if (j !== 1 || B !== 1)
264
264
  do
265
- if (j--, V--, V < 0 || T[j] !== q[V]) {
265
+ if (j--, B--, B < 0 || T[j] !== q[B]) {
266
266
  var ee = `
267
267
  ` + T[j].replace(" at new ", " at ");
268
268
  return l.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", l.displayName)), typeof l == "function" && rt.set(l, ee), ee;
269
269
  }
270
- while (j >= 1 && V >= 0);
270
+ while (j >= 1 && B >= 0);
271
271
  break;
272
272
  }
273
273
  }
274
274
  } finally {
275
- yt = !1, vt.current = M, ir(), Error.prepareStackTrace = P;
275
+ wt = !1, bt.current = I, lr(), Error.prepareStackTrace = P;
276
276
  }
277
277
  var Ie = l ? l.displayName || l.name : "", Ee = Ie ? nt(Ie) : "";
278
278
  return typeof l == "function" && rt.set(l, Ee), Ee;
279
279
  }
280
- function sr(l, p, v) {
281
- return Kt(l, !1);
280
+ function ar(l, p, v) {
281
+ return Zt(l, !1);
282
282
  }
283
- function lr(l) {
283
+ function ur(l) {
284
284
  var p = l.prototype;
285
285
  return !!(p && p.isReactComponent);
286
286
  }
@@ -288,7 +288,7 @@ function Mr() {
288
288
  if (l == null)
289
289
  return "";
290
290
  if (typeof l == "function")
291
- return Kt(l, lr(l));
291
+ return Zt(l, ur(l));
292
292
  if (typeof l == "string")
293
293
  return nt(l);
294
294
  switch (l) {
@@ -300,32 +300,32 @@ function Mr() {
300
300
  if (typeof l == "object")
301
301
  switch (l.$$typeof) {
302
302
  case a:
303
- return sr(l.render);
303
+ return ar(l.render);
304
304
  case h:
305
305
  return it(l.type, p, v);
306
306
  case f: {
307
- var x = l, P = x._payload, M = x._init;
307
+ var x = l, P = x._payload, I = x._init;
308
308
  try {
309
- return it(M(P), p, v);
309
+ return it(I(P), p, v);
310
310
  } catch {
311
311
  }
312
312
  }
313
313
  }
314
314
  return "";
315
315
  }
316
- var Ue = Object.prototype.hasOwnProperty, Xt = {}, Gt = _.ReactDebugCurrentFrame;
316
+ var Ue = Object.prototype.hasOwnProperty, Qt = {}, en = _.ReactDebugCurrentFrame;
317
317
  function ot(l) {
318
318
  if (l) {
319
319
  var p = l._owner, v = it(l.type, l._source, p ? p.type : null);
320
- Gt.setExtraStackFrame(v);
320
+ en.setExtraStackFrame(v);
321
321
  } else
322
- Gt.setExtraStackFrame(null);
322
+ en.setExtraStackFrame(null);
323
323
  }
324
- function cr(l, p, v, x, P) {
324
+ function fr(l, p, v, x, P) {
325
325
  {
326
- var M = Function.call.bind(Ue);
326
+ var I = Function.call.bind(Ue);
327
327
  for (var C in l)
328
- if (M(l, C)) {
328
+ if (I(l, C)) {
329
329
  var T = void 0;
330
330
  try {
331
331
  if (typeof l[C] != "function") {
@@ -336,42 +336,42 @@ function Mr() {
336
336
  } catch (j) {
337
337
  T = j;
338
338
  }
339
- T && !(T instanceof Error) && (ot(P), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", x || "React class", v, C, typeof T), ot(null)), T instanceof Error && !(T.message in Xt) && (Xt[T.message] = !0, ot(P), w("Failed %s type: %s", v, T.message), ot(null));
339
+ T && !(T instanceof Error) && (ot(P), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", x || "React class", v, C, typeof T), ot(null)), T instanceof Error && !(T.message in Qt) && (Qt[T.message] = !0, ot(P), w("Failed %s type: %s", v, T.message), ot(null));
340
340
  }
341
341
  }
342
342
  }
343
- var ar = Array.isArray;
344
- function wt(l) {
345
- return ar(l);
343
+ var dr = Array.isArray;
344
+ function _t(l) {
345
+ return dr(l);
346
346
  }
347
- function ur(l) {
347
+ function hr(l) {
348
348
  {
349
349
  var p = typeof Symbol == "function" && Symbol.toStringTag, v = p && l[Symbol.toStringTag] || l.constructor.name || "Object";
350
350
  return v;
351
351
  }
352
352
  }
353
- function fr(l) {
353
+ function pr(l) {
354
354
  try {
355
- return Zt(l), !1;
355
+ return tn(l), !1;
356
356
  } catch {
357
357
  return !0;
358
358
  }
359
359
  }
360
- function Zt(l) {
360
+ function tn(l) {
361
361
  return "" + l;
362
362
  }
363
- function Qt(l) {
364
- if (fr(l))
365
- return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ur(l)), Zt(l);
363
+ function nn(l) {
364
+ if (pr(l))
365
+ return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", hr(l)), tn(l);
366
366
  }
367
- var qe = _.ReactCurrentOwner, dr = {
367
+ var qe = _.ReactCurrentOwner, gr = {
368
368
  key: !0,
369
369
  ref: !0,
370
370
  __self: !0,
371
371
  __source: !0
372
- }, en, tn, _t;
373
- _t = {};
374
- function hr(l) {
372
+ }, rn, on, Et;
373
+ Et = {};
374
+ function mr(l) {
375
375
  if (Ue.call(l, "ref")) {
376
376
  var p = Object.getOwnPropertyDescriptor(l, "ref").get;
377
377
  if (p && p.isReactWarning)
@@ -379,7 +379,7 @@ function Mr() {
379
379
  }
380
380
  return l.ref !== void 0;
381
381
  }
382
- function pr(l) {
382
+ function vr(l) {
383
383
  if (Ue.call(l, "key")) {
384
384
  var p = Object.getOwnPropertyDescriptor(l, "key").get;
385
385
  if (p && p.isReactWarning)
@@ -387,16 +387,16 @@ function Mr() {
387
387
  }
388
388
  return l.key !== void 0;
389
389
  }
390
- function gr(l, p) {
390
+ function br(l, p) {
391
391
  if (typeof l.ref == "string" && qe.current && p && qe.current.stateNode !== p) {
392
392
  var v = F(qe.current.type);
393
- _t[v] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', F(qe.current.type), l.ref), _t[v] = !0);
393
+ Et[v] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', F(qe.current.type), l.ref), Et[v] = !0);
394
394
  }
395
395
  }
396
- function mr(l, p) {
396
+ function yr(l, p) {
397
397
  {
398
398
  var v = function() {
399
- en || (en = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", p));
399
+ rn || (rn = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", p));
400
400
  };
401
401
  v.isReactWarning = !0, Object.defineProperty(l, "key", {
402
402
  get: v,
@@ -404,10 +404,10 @@ function Mr() {
404
404
  });
405
405
  }
406
406
  }
407
- function vr(l, p) {
407
+ function wr(l, p) {
408
408
  {
409
409
  var v = function() {
410
- tn || (tn = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", p));
410
+ on || (on = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", p));
411
411
  };
412
412
  v.isReactWarning = !0, Object.defineProperty(l, "ref", {
413
413
  get: v,
@@ -415,7 +415,7 @@ function Mr() {
415
415
  });
416
416
  }
417
417
  }
418
- var br = function(l, p, v, x, P, M, C) {
418
+ var _r = function(l, p, v, x, P, I, C) {
419
419
  var T = {
420
420
  // This tag allows us to uniquely identify this as a React Element
421
421
  $$typeof: t,
@@ -425,7 +425,7 @@ function Mr() {
425
425
  ref: v,
426
426
  props: C,
427
427
  // Record the component responsible for creating this element.
428
- _owner: M
428
+ _owner: I
429
429
  };
430
430
  return T._store = {}, Object.defineProperty(T._store, "validated", {
431
431
  configurable: !1,
@@ -444,41 +444,41 @@ function Mr() {
444
444
  value: P
445
445
  }), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
446
446
  };
447
- function yr(l, p, v, x, P) {
447
+ function Er(l, p, v, x, P) {
448
448
  {
449
- var M, C = {}, T = null, q = null;
450
- v !== void 0 && (Qt(v), T = "" + v), pr(p) && (Qt(p.key), T = "" + p.key), hr(p) && (q = p.ref, gr(p, P));
451
- for (M in p)
452
- Ue.call(p, M) && !dr.hasOwnProperty(M) && (C[M] = p[M]);
449
+ var I, C = {}, T = null, q = null;
450
+ v !== void 0 && (nn(v), T = "" + v), vr(p) && (nn(p.key), T = "" + p.key), mr(p) && (q = p.ref, br(p, P));
451
+ for (I in p)
452
+ Ue.call(p, I) && !gr.hasOwnProperty(I) && (C[I] = p[I]);
453
453
  if (l && l.defaultProps) {
454
454
  var j = l.defaultProps;
455
- for (M in j)
456
- C[M] === void 0 && (C[M] = j[M]);
455
+ for (I in j)
456
+ C[I] === void 0 && (C[I] = j[I]);
457
457
  }
458
458
  if (T || q) {
459
- var V = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
460
- T && mr(C, V), q && vr(C, V);
459
+ var B = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
460
+ T && yr(C, B), q && wr(C, B);
461
461
  }
462
- return br(l, T, q, P, x, qe.current, C);
462
+ return _r(l, T, q, P, x, qe.current, C);
463
463
  }
464
464
  }
465
- var Et = _.ReactCurrentOwner, nn = _.ReactDebugCurrentFrame;
465
+ var xt = _.ReactCurrentOwner, sn = _.ReactDebugCurrentFrame;
466
466
  function ke(l) {
467
467
  if (l) {
468
468
  var p = l._owner, v = it(l.type, l._source, p ? p.type : null);
469
- nn.setExtraStackFrame(v);
469
+ sn.setExtraStackFrame(v);
470
470
  } else
471
- nn.setExtraStackFrame(null);
471
+ sn.setExtraStackFrame(null);
472
472
  }
473
- var xt;
474
- xt = !1;
475
- function St(l) {
473
+ var St;
474
+ St = !1;
475
+ function Ot(l) {
476
476
  return typeof l == "object" && l !== null && l.$$typeof === t;
477
477
  }
478
- function rn() {
478
+ function ln() {
479
479
  {
480
- if (Et.current) {
481
- var l = F(Et.current.type);
480
+ if (xt.current) {
481
+ var l = F(xt.current.type);
482
482
  if (l)
483
483
  return `
484
484
 
@@ -487,13 +487,13 @@ Check the render method of \`` + l + "`.";
487
487
  return "";
488
488
  }
489
489
  }
490
- function wr(l) {
490
+ function xr(l) {
491
491
  return "";
492
492
  }
493
- var on = {};
494
- function _r(l) {
493
+ var cn = {};
494
+ function Sr(l) {
495
495
  {
496
- var p = rn();
496
+ var p = ln();
497
497
  if (!p) {
498
498
  var v = typeof l == "string" ? l : l.displayName || l.name;
499
499
  v && (p = `
@@ -503,39 +503,39 @@ Check the top-level render call using <` + v + ">.");
503
503
  return p;
504
504
  }
505
505
  }
506
- function sn(l, p) {
506
+ function an(l, p) {
507
507
  {
508
508
  if (!l._store || l._store.validated || l.key != null)
509
509
  return;
510
510
  l._store.validated = !0;
511
- var v = _r(p);
512
- if (on[v])
511
+ var v = Sr(p);
512
+ if (cn[v])
513
513
  return;
514
- on[v] = !0;
514
+ cn[v] = !0;
515
515
  var x = "";
516
- l && l._owner && l._owner !== Et.current && (x = " It was passed a child from " + F(l._owner.type) + "."), ke(l), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', v, x), ke(null);
516
+ l && l._owner && l._owner !== xt.current && (x = " It was passed a child from " + F(l._owner.type) + "."), ke(l), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', v, x), ke(null);
517
517
  }
518
518
  }
519
- function ln(l, p) {
519
+ function un(l, p) {
520
520
  {
521
521
  if (typeof l != "object")
522
522
  return;
523
- if (wt(l))
523
+ if (_t(l))
524
524
  for (var v = 0; v < l.length; v++) {
525
525
  var x = l[v];
526
- St(x) && sn(x, p);
526
+ Ot(x) && an(x, p);
527
527
  }
528
- else if (St(l))
528
+ else if (Ot(l))
529
529
  l._store && (l._store.validated = !0);
530
530
  else if (l) {
531
531
  var P = S(l);
532
532
  if (typeof P == "function" && P !== l.entries)
533
- for (var M = P.call(l), C; !(C = M.next()).done; )
534
- St(C.value) && sn(C.value, p);
533
+ for (var I = P.call(l), C; !(C = I.next()).done; )
534
+ Ot(C.value) && an(C.value, p);
535
535
  }
536
536
  }
537
537
  }
538
- function Er(l) {
538
+ function Or(l) {
539
539
  {
540
540
  var p = l.type;
541
541
  if (p == null || typeof p == "string")
@@ -551,16 +551,16 @@ Check the top-level render call using <` + v + ">.");
551
551
  return;
552
552
  if (v) {
553
553
  var x = F(p);
554
- cr(v, l.props, "prop", x, l);
555
- } else if (p.PropTypes !== void 0 && !xt) {
556
- xt = !0;
554
+ fr(v, l.props, "prop", x, l);
555
+ } else if (p.PropTypes !== void 0 && !St) {
556
+ St = !0;
557
557
  var P = F(p);
558
558
  w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown");
559
559
  }
560
560
  typeof p.getDefaultProps == "function" && !p.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
561
  }
562
562
  }
563
- function xr(l) {
563
+ function Rr(l) {
564
564
  {
565
565
  for (var p = Object.keys(l.props), v = 0; v < p.length; v++) {
566
566
  var x = p[v];
@@ -572,71 +572,71 @@ Check the top-level render call using <` + v + ">.");
572
572
  l.ref !== null && (ke(l), w("Invalid attribute `ref` supplied to `React.Fragment`."), ke(null));
573
573
  }
574
574
  }
575
- var cn = {};
576
- function an(l, p, v, x, P, M) {
575
+ var fn = {};
576
+ function dn(l, p, v, x, P, I) {
577
577
  {
578
578
  var C = X(l);
579
579
  if (!C) {
580
580
  var T = "";
581
581
  (l === void 0 || typeof l == "object" && l !== null && Object.keys(l).length === 0) && (T += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
- var q = wr();
583
- q ? T += q : T += rn();
582
+ var q = xr();
583
+ q ? T += q : T += ln();
584
584
  var j;
585
- l === null ? j = "null" : wt(l) ? j = "array" : l !== void 0 && l.$$typeof === t ? (j = "<" + (F(l.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : j = typeof l, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, T);
585
+ l === null ? j = "null" : _t(l) ? j = "array" : l !== void 0 && l.$$typeof === t ? (j = "<" + (F(l.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : j = typeof l, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, T);
586
586
  }
587
- var V = yr(l, p, v, P, M);
588
- if (V == null)
589
- return V;
587
+ var B = Er(l, p, v, P, I);
588
+ if (B == null)
589
+ return B;
590
590
  if (C) {
591
591
  var ee = p.children;
592
592
  if (ee !== void 0)
593
593
  if (x)
594
- if (wt(ee)) {
594
+ if (_t(ee)) {
595
595
  for (var Ie = 0; Ie < ee.length; Ie++)
596
- ln(ee[Ie], l);
596
+ un(ee[Ie], l);
597
597
  Object.freeze && Object.freeze(ee);
598
598
  } else
599
599
  w("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
- ln(ee, l);
601
+ un(ee, l);
602
602
  }
603
603
  if (Ue.call(p, "key")) {
604
- var Ee = F(l), J = Object.keys(p).filter(function(Ar) {
605
- return Ar !== "key";
606
- }), Ot = J.length > 0 ? "{key: someKey, " + J.join(": ..., ") + ": ...}" : "{key: someKey}";
607
- if (!cn[Ee + Ot]) {
608
- var Cr = J.length > 0 ? "{" + J.join(": ..., ") + ": ...}" : "{}";
604
+ var Ee = F(l), z = Object.keys(p).filter(function(Ir) {
605
+ return Ir !== "key";
606
+ }), Rt = z.length > 0 ? "{key: someKey, " + z.join(": ..., ") + ": ...}" : "{key: someKey}";
607
+ if (!fn[Ee + Rt]) {
608
+ var kr = z.length > 0 ? "{" + z.join(": ..., ") + ": ...}" : "{}";
609
609
  w(`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} />`, Ot, Ee, Cr, Ee), cn[Ee + Ot] = !0;
614
+ <%s key={someKey} {...props} />`, Rt, Ee, kr, Ee), fn[Ee + Rt] = !0;
615
615
  }
616
616
  }
617
- return l === r ? xr(V) : Er(V), V;
617
+ return l === r ? Rr(B) : Or(B), B;
618
618
  }
619
619
  }
620
- function Sr(l, p, v) {
621
- return an(l, p, v, !0);
620
+ function Tr(l, p, v) {
621
+ return dn(l, p, v, !0);
622
622
  }
623
- function Or(l, p, v) {
624
- return an(l, p, v, !1);
623
+ function Cr(l, p, v) {
624
+ return dn(l, p, v, !1);
625
625
  }
626
- var Rr = Or, Tr = Sr;
627
- Je.Fragment = r, Je.jsx = Rr, Je.jsxs = Tr;
626
+ var Ar = Cr, Pr = Tr;
627
+ Je.Fragment = r, Je.jsx = Ar, Je.jsxs = Pr;
628
628
  }()), Je;
629
629
  }
630
- process.env.NODE_ENV === "production" ? At.exports = Ir() : At.exports = Mr();
631
- var Fr = At.exports;
632
- /*! shepherd.js 14.3.0 */
633
- function Lr(e) {
630
+ process.env.NODE_ENV === "production" ? Pt.exports = Lr() : Pt.exports = Dr();
631
+ var jr = Pt.exports;
632
+ /*! shepherd.js 14.4.0 */
633
+ function Hr(e) {
634
634
  return e instanceof Element;
635
635
  }
636
636
  function He(e) {
637
637
  return e instanceof HTMLElement;
638
638
  }
639
- function me(e) {
639
+ function ve(e) {
640
640
  return typeof e == "function";
641
641
  }
642
642
  function Xe(e) {
@@ -645,7 +645,7 @@ function Xe(e) {
645
645
  function U(e) {
646
646
  return e === void 0;
647
647
  }
648
- class Ft {
648
+ class Dt {
649
649
  /**
650
650
  * Adds an event listener for the given event string.
651
651
  *
@@ -722,16 +722,16 @@ class Ft {
722
722
  return this;
723
723
  }
724
724
  }
725
- function z() {
726
- return z = Object.assign ? Object.assign.bind() : function(e) {
725
+ function J() {
726
+ return J = 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
- }, z.apply(null, arguments);
732
+ }, J.apply(null, arguments);
733
733
  }
734
- function Lt(e, t) {
734
+ function jt(e, t) {
735
735
  if (e == null) return {};
736
736
  var n = {};
737
737
  for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -745,30 +745,30 @@ const ye = {
745
745
  skip: Symbol("deepmerge-ts: skip")
746
746
  };
747
747
  ye.defaultMerge;
748
- function Dr(e, t) {
748
+ function $r(e, t) {
749
749
  return t;
750
750
  }
751
- function jr(e, t) {
751
+ function Br(e, t) {
752
752
  return e.filter((n) => n !== void 0);
753
753
  }
754
- var dn;
754
+ var gn;
755
755
  (function(e) {
756
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
- })(dn || (dn = {}));
758
- function hn(e) {
759
- return typeof e != "object" || e === null ? 0 : Array.isArray(e) ? 2 : Vr(e) ? 1 : e instanceof Set ? 3 : e instanceof Map ? 4 : 5;
757
+ })(gn || (gn = {}));
758
+ function mn(e) {
759
+ return typeof e != "object" || e === null ? 0 : Array.isArray(e) ? 2 : Wr(e) ? 1 : e instanceof Set ? 3 : e instanceof Map ? 4 : 5;
760
760
  }
761
- function Hr(e) {
761
+ function Vr(e) {
762
762
  const t = /* @__PURE__ */ new Set();
763
763
  for (const n of e)
764
764
  for (const r of [...Object.keys(n), ...Object.getOwnPropertySymbols(n)])
765
765
  t.add(r);
766
766
  return t;
767
767
  }
768
- function $r(e, t) {
768
+ function Nr(e, t) {
769
769
  return typeof e == "object" && Object.prototype.propertyIsEnumerable.call(e, t);
770
770
  }
771
- function jn(e) {
771
+ function Bn(e) {
772
772
  return {
773
773
  *[Symbol.iterator]() {
774
774
  for (const t of e)
@@ -777,9 +777,9 @@ function jn(e) {
777
777
  }
778
778
  };
779
779
  }
780
- const pn = /* @__PURE__ */ new Set(["[object Object]", "[object Module]"]);
781
- function Vr(e) {
782
- if (!pn.has(Object.prototype.toString.call(e)))
780
+ const vn = /* @__PURE__ */ new Set(["[object Object]", "[object Module]"]);
781
+ function Wr(e) {
782
+ if (!vn.has(Object.prototype.toString.call(e)))
783
783
  return !1;
784
784
  const {
785
785
  constructor: t
@@ -787,20 +787,20 @@ function Vr(e) {
787
787
  if (t === void 0)
788
788
  return !0;
789
789
  const n = t.prototype;
790
- return !(n === null || typeof n != "object" || !pn.has(Object.prototype.toString.call(n)) || !n.hasOwnProperty("isPrototypeOf"));
790
+ return !(n === null || typeof n != "object" || !vn.has(Object.prototype.toString.call(n)) || !n.hasOwnProperty("isPrototypeOf"));
791
791
  }
792
- function Br(e, t, n) {
792
+ function Yr(e, t, n) {
793
793
  const r = {};
794
- for (const i of Hr(e)) {
794
+ for (const i of Vr(e)) {
795
795
  const o = [];
796
796
  for (const a of e)
797
- $r(a, i) && o.push(a[i]);
797
+ Nr(a, i) && o.push(a[i]);
798
798
  if (o.length === 0)
799
799
  continue;
800
800
  const s = t.metaDataUpdater(n, {
801
801
  key: i,
802
802
  parents: e
803
- }), c = Hn(o, t, s);
803
+ }), c = Vn(o, t, s);
804
804
  c !== ye.skip && (i === "__proto__" ? Object.defineProperty(r, i, {
805
805
  value: c,
806
806
  configurable: !0,
@@ -810,94 +810,94 @@ function Br(e, t, n) {
810
810
  }
811
811
  return r;
812
812
  }
813
- function Nr(e) {
813
+ function Ur(e) {
814
814
  return e.flat();
815
815
  }
816
- function Wr(e) {
817
- return new Set(jn(e));
816
+ function qr(e) {
817
+ return new Set(Bn(e));
818
818
  }
819
- function Yr(e) {
820
- return new Map(jn(e));
819
+ function zr(e) {
820
+ return new Map(Bn(e));
821
821
  }
822
- function Ur(e) {
822
+ function Jr(e) {
823
823
  return e.at(-1);
824
824
  }
825
825
  const st = {
826
- mergeRecords: Br,
827
- mergeArrays: Nr,
828
- mergeSets: Wr,
829
- mergeMaps: Yr,
830
- mergeOthers: Ur
826
+ mergeRecords: Yr,
827
+ mergeArrays: Ur,
828
+ mergeSets: qr,
829
+ mergeMaps: zr,
830
+ mergeOthers: Jr
831
831
  };
832
- function Dt(...e) {
833
- return qr({})(...e);
832
+ function Ht(...e) {
833
+ return Kr({})(...e);
834
834
  }
835
- function qr(e, t) {
836
- const n = zr(e, r);
835
+ function Kr(e, t) {
836
+ const n = Xr(e, r);
837
837
  function r(...i) {
838
- return Hn(i, n, t);
838
+ return Vn(i, n, t);
839
839
  }
840
840
  return r;
841
841
  }
842
- function zr(e, t) {
842
+ function Xr(e, t) {
843
843
  var n, r, i;
844
844
  return {
845
845
  defaultMergeFunctions: st,
846
- mergeFunctions: z({}, st, Object.fromEntries(Object.entries(e).filter(([o, s]) => Object.hasOwn(st, o)).map(([o, s]) => s === !1 ? [o, st.mergeOthers] : [o, s]))),
847
- metaDataUpdater: (n = e.metaDataUpdater) != null ? n : Dr,
846
+ mergeFunctions: J({}, st, Object.fromEntries(Object.entries(e).filter(([o, s]) => Object.hasOwn(st, o)).map(([o, s]) => s === !1 ? [o, st.mergeOthers] : [o, s]))),
847
+ metaDataUpdater: (n = e.metaDataUpdater) != null ? n : $r,
848
848
  deepmerge: t,
849
849
  useImplicitDefaultMerging: (r = e.enableImplicitDefaultMerging) != null ? r : !1,
850
- filterValues: e.filterValues === !1 ? void 0 : (i = e.filterValues) != null ? i : jr,
850
+ filterValues: e.filterValues === !1 ? void 0 : (i = e.filterValues) != null ? i : Br,
851
851
  actions: ye
852
852
  };
853
853
  }
854
- function Hn(e, t, n) {
854
+ function Vn(e, t, n) {
855
855
  var r;
856
856
  const i = (r = t.filterValues == null ? void 0 : t.filterValues(e, n)) != null ? r : e;
857
857
  if (i.length === 0)
858
858
  return;
859
859
  if (i.length === 1)
860
- return Rt(i, t, n);
861
- const o = hn(i[0]);
860
+ return Tt(i, t, n);
861
+ const o = mn(i[0]);
862
862
  if (o !== 0 && o !== 5) {
863
863
  for (let s = 1; s < i.length; s++)
864
- if (hn(i[s]) !== o)
865
- return Rt(i, t, n);
864
+ if (mn(i[s]) !== o)
865
+ return Tt(i, t, n);
866
866
  }
867
867
  switch (o) {
868
868
  case 1:
869
- return Jr(i, t, n);
869
+ return Gr(i, t, n);
870
870
  case 2:
871
- return Kr(i, t, n);
871
+ return Zr(i, t, n);
872
872
  case 3:
873
- return Xr(i, t, n);
873
+ return Qr(i, t, n);
874
874
  case 4:
875
- return Gr(i, t, n);
875
+ return ei(i, t, n);
876
876
  default:
877
- return Rt(i, t, n);
877
+ return Tt(i, t, n);
878
878
  }
879
879
  }
880
- function Jr(e, t, n) {
880
+ function Gr(e, t, n) {
881
881
  const r = t.mergeFunctions.mergeRecords(e, t, n);
882
882
  return r === ye.defaultMerge || t.useImplicitDefaultMerging && r === void 0 && t.mergeFunctions.mergeRecords !== t.defaultMergeFunctions.mergeRecords ? t.defaultMergeFunctions.mergeRecords(e, t, n) : r;
883
883
  }
884
- function Kr(e, t, n) {
884
+ function Zr(e, t, n) {
885
885
  const r = t.mergeFunctions.mergeArrays(e, t, n);
886
886
  return r === ye.defaultMerge || t.useImplicitDefaultMerging && r === void 0 && t.mergeFunctions.mergeArrays !== t.defaultMergeFunctions.mergeArrays ? t.defaultMergeFunctions.mergeArrays(e) : r;
887
887
  }
888
- function Xr(e, t, n) {
888
+ function Qr(e, t, n) {
889
889
  const r = t.mergeFunctions.mergeSets(e, t, n);
890
890
  return r === ye.defaultMerge || t.useImplicitDefaultMerging && r === void 0 && t.mergeFunctions.mergeSets !== t.defaultMergeFunctions.mergeSets ? t.defaultMergeFunctions.mergeSets(e) : r;
891
891
  }
892
- function Gr(e, t, n) {
892
+ function ei(e, t, n) {
893
893
  const r = t.mergeFunctions.mergeMaps(e, t, n);
894
894
  return r === ye.defaultMerge || t.useImplicitDefaultMerging && r === void 0 && t.mergeFunctions.mergeMaps !== t.defaultMergeFunctions.mergeMaps ? t.defaultMergeFunctions.mergeMaps(e) : r;
895
895
  }
896
- function Rt(e, t, n) {
896
+ function Tt(e, t, n) {
897
897
  const r = t.mergeFunctions.mergeOthers(e, t, n);
898
898
  return r === ye.defaultMerge || t.useImplicitDefaultMerging && r === void 0 && t.mergeFunctions.mergeOthers !== t.defaultMergeFunctions.mergeOthers ? t.defaultMergeFunctions.mergeOthers(e) : r;
899
899
  }
900
- function jt(e) {
900
+ function $t(e) {
901
901
  const t = Object.getOwnPropertyNames(e.constructor.prototype);
902
902
  for (let n = 0; n < t.length; n++) {
903
903
  const r = t[n], i = e[r];
@@ -905,7 +905,7 @@ function jt(e) {
905
905
  }
906
906
  return e;
907
907
  }
908
- function Zr(e, t) {
908
+ function ti(e, t) {
909
909
  return (n) => {
910
910
  if (e.isOpen()) {
911
911
  const r = e.el && n.currentTarget === e.el;
@@ -913,13 +913,13 @@ function Zr(e, t) {
913
913
  }
914
914
  };
915
915
  }
916
- function Qr(e) {
916
+ function ni(e) {
917
917
  const {
918
918
  event: t,
919
919
  selector: n
920
920
  } = e.options.advanceOn || {};
921
921
  if (t) {
922
- const r = Zr(e, n);
922
+ const r = ti(e, n);
923
923
  let i = null;
924
924
  if (!U(n) && (i = document.querySelector(n), !i))
925
925
  return console.error(`No element was found for the selector supplied to advanceOn: ${n}`);
@@ -927,20 +927,20 @@ function Qr(e) {
927
927
  } else
928
928
  return console.error("advanceOn was defined, but no event name was passed.");
929
929
  }
930
- class ei {
930
+ class ri {
931
931
  constructor(t) {
932
932
  }
933
933
  }
934
- class ti {
934
+ class ii {
935
935
  constructor(t, n) {
936
936
  }
937
937
  }
938
- function $n(e) {
938
+ function Nn(e) {
939
939
  return !Xe(e) || e === "" ? "" : e.charAt(e.length - 1) !== "-" ? `${e}-` : e;
940
940
  }
941
- function ni(e) {
941
+ function oi(e) {
942
942
  const t = e.options.attachTo || {}, n = Object.assign({}, t);
943
- if (me(n.element) && (n.element = n.element.call(e)), Xe(n.element)) {
943
+ if (ve(n.element) && (n.element = n.element.call(e)), Xe(n.element)) {
944
944
  try {
945
945
  n.element = document.querySelector(n.element);
946
946
  } catch {
@@ -949,69 +949,69 @@ function ni(e) {
949
949
  }
950
950
  return n;
951
951
  }
952
- function ri(e) {
952
+ function si(e) {
953
953
  return e.options.extraHighlights ? e.options.extraHighlights.flatMap((t) => Array.from(document.querySelectorAll(t))) : [];
954
954
  }
955
- function Vn(e) {
955
+ function Wn(e) {
956
956
  return e == null ? !0 : !e.element || !e.on;
957
957
  }
958
- function Bn() {
958
+ function Yn() {
959
959
  let e = Date.now();
960
960
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (t) => {
961
961
  const n = (e + Math.random() * 16) % 16 | 0;
962
962
  return e = Math.floor(e / 16), (t == "x" ? n : n & 3 | 8).toString(16);
963
963
  });
964
964
  }
965
- const ii = ["top", "right", "bottom", "left"], gn = ["start", "end"], mn = /* @__PURE__ */ ii.reduce((e, t) => e.concat(t, t + "-" + gn[0], t + "-" + gn[1]), []), $e = Math.min, Oe = Math.max, at = Math.round, lt = Math.floor, ve = (e) => ({
965
+ const li = ["top", "right", "bottom", "left"], bn = ["start", "end"], yn = /* @__PURE__ */ li.reduce((e, t) => e.concat(t, t + "-" + bn[0], t + "-" + bn[1]), []), $e = Math.min, Oe = Math.max, at = Math.round, lt = Math.floor, le = (e) => ({
966
966
  x: e,
967
967
  y: e
968
- }), oi = {
968
+ }), ci = {
969
969
  left: "right",
970
970
  right: "left",
971
971
  bottom: "top",
972
972
  top: "bottom"
973
- }, si = {
973
+ }, ai = {
974
974
  start: "end",
975
975
  end: "start"
976
976
  };
977
- function Pt(e, t, n) {
977
+ function kt(e, t, n) {
978
978
  return Oe(e, $e(t, n));
979
979
  }
980
980
  function Ce(e, t) {
981
981
  return typeof e == "function" ? e(t) : e;
982
982
  }
983
- function fe(e) {
983
+ function he(e) {
984
984
  return e.split("-")[0];
985
985
  }
986
- function ue(e) {
986
+ function de(e) {
987
987
  return e.split("-")[1];
988
988
  }
989
- function Ht(e) {
989
+ function Bt(e) {
990
990
  return e === "x" ? "y" : "x";
991
991
  }
992
- function $t(e) {
992
+ function Vt(e) {
993
993
  return e === "y" ? "height" : "width";
994
994
  }
995
- function Ve(e) {
996
- return ["top", "bottom"].includes(fe(e)) ? "y" : "x";
995
+ function Be(e) {
996
+ return ["top", "bottom"].includes(he(e)) ? "y" : "x";
997
997
  }
998
- function Vt(e) {
999
- return Ht(Ve(e));
998
+ function Nt(e) {
999
+ return Bt(Be(e));
1000
1000
  }
1001
- function Nn(e, t, n) {
1001
+ function Un(e, t, n) {
1002
1002
  n === void 0 && (n = !1);
1003
- const r = ue(e), i = Vt(e), o = $t(i);
1003
+ const r = de(e), i = Nt(e), o = Vt(i);
1004
1004
  let s = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
1005
1005
  return t.reference[o] > t.floating[o] && (s = ft(s)), [s, ft(s)];
1006
1006
  }
1007
- function li(e) {
1007
+ function ui(e) {
1008
1008
  const t = ft(e);
1009
1009
  return [ut(e), t, ut(t)];
1010
1010
  }
1011
1011
  function ut(e) {
1012
- return e.replace(/start|end/g, (t) => si[t]);
1012
+ return e.replace(/start|end/g, (t) => ai[t]);
1013
1013
  }
1014
- function ci(e, t, n) {
1014
+ function fi(e, t, n) {
1015
1015
  const r = ["left", "right"], i = ["right", "left"], o = ["top", "bottom"], s = ["bottom", "top"];
1016
1016
  switch (e) {
1017
1017
  case "top":
@@ -1024,24 +1024,24 @@ function ci(e, t, n) {
1024
1024
  return [];
1025
1025
  }
1026
1026
  }
1027
- function ai(e, t, n, r) {
1028
- const i = ue(e);
1029
- let o = ci(fe(e), n === "start", r);
1027
+ function di(e, t, n, r) {
1028
+ const i = de(e);
1029
+ let o = fi(he(e), n === "start", r);
1030
1030
  return i && (o = o.map((s) => s + "-" + i), t && (o = o.concat(o.map(ut)))), o;
1031
1031
  }
1032
1032
  function ft(e) {
1033
- return e.replace(/left|right|bottom|top/g, (t) => oi[t]);
1033
+ return e.replace(/left|right|bottom|top/g, (t) => ci[t]);
1034
1034
  }
1035
- function ui(e) {
1036
- return z({
1035
+ function hi(e) {
1036
+ return J({
1037
1037
  top: 0,
1038
1038
  right: 0,
1039
1039
  bottom: 0,
1040
1040
  left: 0
1041
1041
  }, e);
1042
1042
  }
1043
- function Wn(e) {
1044
- return typeof e != "number" ? ui(e) : {
1043
+ function qn(e) {
1044
+ return typeof e != "number" ? hi(e) : {
1045
1045
  top: e,
1046
1046
  right: e,
1047
1047
  bottom: e,
@@ -1066,13 +1066,13 @@ function dt(e) {
1066
1066
  y: n
1067
1067
  };
1068
1068
  }
1069
- const fi = ["crossAxis", "alignment", "allowedPlacements", "autoAlignment"], di = ["mainAxis", "crossAxis", "fallbackPlacements", "fallbackStrategy", "fallbackAxisSideDirection", "flipAlignment"], hi = ["mainAxis", "crossAxis", "limiter"];
1070
- function vn(e, t, n) {
1069
+ const pi = ["crossAxis", "alignment", "allowedPlacements", "autoAlignment"], gi = ["mainAxis", "crossAxis", "fallbackPlacements", "fallbackStrategy", "fallbackAxisSideDirection", "flipAlignment"], mi = ["mainAxis", "crossAxis", "limiter"];
1070
+ function wn(e, t, n) {
1071
1071
  let {
1072
1072
  reference: r,
1073
1073
  floating: i
1074
1074
  } = e;
1075
- const o = Ve(t), s = Vt(t), c = $t(s), a = fe(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;
1075
+ const o = Be(t), s = Nt(t), c = Vt(s), a = he(t), u = o === "y", d = r.x + r.width / 2 - i.width / 2, h = r.y + r.height / 2 - i.height / 2, f = r[c] / 2 - i[c] / 2;
1076
1076
  let g;
1077
1077
  switch (a) {
1078
1078
  case "top":
@@ -1105,7 +1105,7 @@ function vn(e, t, n) {
1105
1105
  y: r.y
1106
1106
  };
1107
1107
  }
1108
- switch (ue(t)) {
1108
+ switch (de(t)) {
1109
1109
  case "start":
1110
1110
  g[s] -= f * (n && u ? -1 : 1);
1111
1111
  break;
@@ -1115,7 +1115,7 @@ function vn(e, t, n) {
1115
1115
  }
1116
1116
  return g;
1117
1117
  }
1118
- const pi = async (e, t, n) => {
1118
+ const vi = async (e, t, n) => {
1119
1119
  const {
1120
1120
  placement: r = "bottom",
1121
1121
  strategy: i = "absolute",
@@ -1129,7 +1129,7 @@ const pi = async (e, t, n) => {
1129
1129
  }), {
1130
1130
  x: d,
1131
1131
  y: h
1132
- } = vn(u, r, a), f = r, g = {}, b = 0;
1132
+ } = wn(u, r, a), f = r, g = {}, b = 0;
1133
1133
  for (let E = 0; E < c.length; E++) {
1134
1134
  const {
1135
1135
  name: S,
@@ -1153,8 +1153,8 @@ const pi = async (e, t, n) => {
1153
1153
  floating: t
1154
1154
  }
1155
1155
  });
1156
- d = w ?? d, h = O ?? h, g = z({}, g, {
1157
- [S]: z({}, g[S], y)
1156
+ d = w ?? d, h = O ?? h, g = J({}, g, {
1157
+ [S]: J({}, g[S], y)
1158
1158
  }), m && b <= 50 && (b++, typeof m == "object" && (m.placement && (f = m.placement), m.rects && (u = m.rects === !0 ? await s.getElementRects({
1159
1159
  reference: e,
1160
1160
  floating: t,
@@ -1162,7 +1162,7 @@ const pi = async (e, t, n) => {
1162
1162
  }) : m.rects), {
1163
1163
  x: d,
1164
1164
  y: h
1165
- } = vn(u, f, a)), E = -1);
1165
+ } = wn(u, f, a)), E = -1);
1166
1166
  }
1167
1167
  return {
1168
1168
  x: d,
@@ -1172,7 +1172,7 @@ const pi = async (e, t, n) => {
1172
1172
  middlewareData: g
1173
1173
  };
1174
1174
  };
1175
- async function Bt(e, t) {
1175
+ async function Wt(e, t) {
1176
1176
  var n;
1177
1177
  t === void 0 && (t = {});
1178
1178
  const {
@@ -1188,7 +1188,7 @@ async function Bt(e, t) {
1188
1188
  elementContext: h = "floating",
1189
1189
  altBoundary: f = !1,
1190
1190
  padding: g = 0
1191
- } = Ce(t, e), b = Wn(g), S = c[f ? h === "floating" ? "reference" : "floating" : h], _ = dt(await o.getClippingRect({
1191
+ } = Ce(t, e), b = qn(g), S = c[f ? h === "floating" ? "reference" : "floating" : h], _ = dt(await o.getClippingRect({
1192
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)),
1193
1193
  boundary: u,
1194
1194
  rootBoundary: d,
@@ -1217,7 +1217,7 @@ async function Bt(e, t) {
1217
1217
  right: (m.right - _.right + b.right) / y.x
1218
1218
  };
1219
1219
  }
1220
- const gi = (e) => ({
1220
+ const bi = (e) => ({
1221
1221
  name: "arrow",
1222
1222
  options: e,
1223
1223
  async fn(t) {
@@ -1235,18 +1235,18 @@ const gi = (e) => ({
1235
1235
  } = Ce(e, t) || {};
1236
1236
  if (u == null)
1237
1237
  return {};
1238
- const h = Wn(d), f = {
1238
+ const h = qn(d), f = {
1239
1239
  x: n,
1240
1240
  y: r
1241
- }, g = Vt(i), b = $t(g), E = await s.getDimensions(u), S = g === "y", _ = S ? "top" : "left", w = S ? "bottom" : "right", O = S ? "clientHeight" : "clientWidth", y = o.reference[b] + o.reference[g] - f[g] - o.floating[b], m = f[g] - o.reference[g], R = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
1241
+ }, g = Nt(i), b = Vt(g), E = await s.getDimensions(u), S = g === "y", _ = S ? "top" : "left", w = S ? "bottom" : "right", O = S ? "clientHeight" : "clientWidth", y = o.reference[b] + o.reference[g] - f[g] - o.floating[b], m = f[g] - o.reference[g], R = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
1242
1242
  let D = R ? R[O] : 0;
1243
1243
  (!D || !await (s.isElement == null ? void 0 : s.isElement(R))) && (D = c.floating[O] || o.floating[b]);
1244
- const K = y / 2 - m / 2, W = D / 2 - E[b] / 2 - 1, X = $e(h[_], W), $ = $e(h[w], W), A = X, F = D - E[b] - $, L = D / 2 - E[b] / 2 + K, B = Pt(A, L, F), N = !a.arrow && ue(i) != null && L !== B && o.reference[b] / 2 - (L < A ? X : $) - E[b] / 2 < 0, ne = N ? L < A ? L - A : L - F : 0;
1244
+ const K = y / 2 - m / 2, W = D / 2 - E[b] / 2 - 1, X = $e(h[_], W), $ = $e(h[w], W), A = X, F = D - E[b] - $, L = D / 2 - E[b] / 2 + K, V = kt(A, L, F), N = !a.arrow && de(i) != null && L !== V && o.reference[b] / 2 - (L < A ? X : $) - E[b] / 2 < 0, ne = N ? L < A ? L - A : L - F : 0;
1245
1245
  return {
1246
1246
  [g]: f[g] + ne,
1247
- data: z({
1248
- [g]: B,
1249
- centerOffset: L - B - ne
1247
+ data: J({
1248
+ [g]: V,
1249
+ centerOffset: L - V - ne
1250
1250
  }, N && {
1251
1251
  alignmentOffset: ne
1252
1252
  }),
@@ -1254,10 +1254,10 @@ const gi = (e) => ({
1254
1254
  };
1255
1255
  }
1256
1256
  });
1257
- function mi(e, t, n) {
1258
- return (e ? [...n.filter((i) => ue(i) === e), ...n.filter((i) => ue(i) !== e)] : n.filter((i) => fe(i) === i)).filter((i) => e ? ue(i) === e || (t ? ut(i) !== i : !1) : !0);
1257
+ function yi(e, t, n) {
1258
+ return (e ? [...n.filter((i) => de(i) === e), ...n.filter((i) => de(i) !== e)] : n.filter((i) => he(i) === i)).filter((i) => e ? de(i) === e || (t ? ut(i) !== i : !1) : !0);
1259
1259
  }
1260
- const vi = function(t) {
1260
+ const wi = function(t) {
1261
1261
  return t === void 0 && (t = {}), {
1262
1262
  name: "autoPlacement",
1263
1263
  options: t,
@@ -1272,19 +1272,19 @@ const vi = function(t) {
1272
1272
  } = n, h = Ce(t, n), {
1273
1273
  crossAxis: f = !1,
1274
1274
  alignment: g,
1275
- allowedPlacements: b = mn,
1275
+ allowedPlacements: b = yn,
1276
1276
  autoAlignment: E = !0
1277
- } = h, S = Lt(h, fi), _ = g !== void 0 || b === mn ? mi(g || null, E, b) : b, w = await Bt(n, S), O = ((r = c.autoPlacement) == null ? void 0 : r.index) || 0, y = _[O];
1277
+ } = h, S = jt(h, pi), _ = g !== void 0 || b === yn ? yi(g || null, E, b) : b, w = await Wt(n, S), O = ((r = c.autoPlacement) == null ? void 0 : r.index) || 0, y = _[O];
1278
1278
  if (y == null)
1279
1279
  return {};
1280
- const m = Nn(y, s, await (u.isRTL == null ? void 0 : u.isRTL(d.floating)));
1280
+ const m = Un(y, s, await (u.isRTL == null ? void 0 : u.isRTL(d.floating)));
1281
1281
  if (a !== y)
1282
1282
  return {
1283
1283
  reset: {
1284
1284
  placement: _[0]
1285
1285
  }
1286
1286
  };
1287
- const R = [w[fe(y)], w[m[0]], w[m[1]]], D = [...((i = c.autoPlacement) == null ? void 0 : i.overflows) || [], {
1287
+ const R = [w[he(y)], w[m[0]], w[m[1]]], D = [...((i = c.autoPlacement) == null ? void 0 : i.overflows) || [], {
1288
1288
  placement: y,
1289
1289
  overflows: R
1290
1290
  }], K = _[O + 1];
@@ -1299,10 +1299,10 @@ const vi = function(t) {
1299
1299
  }
1300
1300
  };
1301
1301
  const W = D.map((A) => {
1302
- const F = ue(A.placement);
1302
+ const F = de(A.placement);
1303
1303
  return [A.placement, F && f ? (
1304
1304
  // Check along the mainAxis and main crossAxis side.
1305
- A.overflows.slice(0, 2).reduce((L, B) => L + B, 0)
1305
+ A.overflows.slice(0, 2).reduce((L, V) => L + V, 0)
1306
1306
  ) : (
1307
1307
  // Check only the mainAxis.
1308
1308
  A.overflows[0]
@@ -1311,7 +1311,7 @@ const vi = function(t) {
1311
1311
  0,
1312
1312
  // Aligned placements should not check their opposite crossAxis
1313
1313
  // side.
1314
- ue(A[0]) ? 2 : 3
1314
+ de(A[0]) ? 2 : 3
1315
1315
  ).every((F) => F <= 0))[0]) == null ? void 0 : o[0]) || W[0][0];
1316
1316
  return $ !== a ? {
1317
1317
  data: {
@@ -1324,7 +1324,7 @@ const vi = function(t) {
1324
1324
  } : {};
1325
1325
  }
1326
1326
  };
1327
- }, bi = function(t) {
1327
+ }, _i = function(t) {
1328
1328
  return t === void 0 && (t = {}), {
1329
1329
  name: "flip",
1330
1330
  options: t,
@@ -1344,15 +1344,15 @@ const vi = function(t) {
1344
1344
  fallbackStrategy: E = "bestFit",
1345
1345
  fallbackAxisSideDirection: S = "none",
1346
1346
  flipAlignment: _ = !0
1347
- } = h, w = Lt(h, di);
1347
+ } = h, w = jt(h, gi);
1348
1348
  if ((r = s.arrow) != null && r.alignmentOffset)
1349
1349
  return {};
1350
- const O = fe(o), y = Ve(a), m = fe(a) === a, R = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), D = b || (m || !_ ? [ft(a)] : li(a)), K = S !== "none";
1351
- !b && K && D.push(...ai(a, _, S, R));
1352
- const W = [a, ...D], X = await Bt(n, w), $ = [];
1350
+ const O = he(o), y = Be(a), m = he(a) === a, R = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), D = b || (m || !_ ? [ft(a)] : ui(a)), K = S !== "none";
1351
+ !b && K && D.push(...di(a, _, S, R));
1352
+ const W = [a, ...D], X = await Wt(n, w), $ = [];
1353
1353
  let A = ((i = s.flip) == null ? void 0 : i.overflows) || [];
1354
1354
  if (f && $.push(X[O]), g) {
1355
- const N = Nn(o, c, R);
1355
+ const N = Un(o, c, R);
1356
1356
  $.push(X[N[0]], X[N[1]]);
1357
1357
  }
1358
1358
  if (A = [...A, {
@@ -1371,38 +1371,38 @@ const vi = function(t) {
1371
1371
  placement: ne
1372
1372
  }
1373
1373
  };
1374
- let ae = (L = A.filter((Q) => Q.overflows[0] <= 0).sort((Q, Y) => Q.overflows[1] - Y.overflows[1])[0]) == null ? void 0 : L.placement;
1375
- if (!ae)
1374
+ let fe = (L = A.filter((Q) => Q.overflows[0] <= 0).sort((Q, Y) => Q.overflows[1] - Y.overflows[1])[0]) == null ? void 0 : L.placement;
1375
+ if (!fe)
1376
1376
  switch (E) {
1377
1377
  case "bestFit": {
1378
- var B;
1379
- const Q = (B = A.filter((Y) => {
1378
+ var V;
1379
+ const Q = (V = A.filter((Y) => {
1380
1380
  if (K) {
1381
- const re = Ve(Y.placement);
1381
+ const re = Be(Y.placement);
1382
1382
  return re === y || // Create a bias to the `y` side axis due to horizontal
1383
1383
  // reading directions favoring greater width.
1384
1384
  re === "y";
1385
1385
  }
1386
1386
  return !0;
1387
- }).map((Y) => [Y.placement, Y.overflows.filter((re) => re > 0).reduce((re, tt) => re + tt, 0)]).sort((Y, re) => Y[1] - re[1])[0]) == null ? void 0 : B[0];
1388
- Q && (ae = Q);
1387
+ }).map((Y) => [Y.placement, Y.overflows.filter((re) => re > 0).reduce((re, tt) => re + tt, 0)]).sort((Y, re) => Y[1] - re[1])[0]) == null ? void 0 : V[0];
1388
+ Q && (fe = Q);
1389
1389
  break;
1390
1390
  }
1391
1391
  case "initialPlacement":
1392
- ae = a;
1392
+ fe = a;
1393
1393
  break;
1394
1394
  }
1395
- if (o !== ae)
1395
+ if (o !== fe)
1396
1396
  return {
1397
1397
  reset: {
1398
- placement: ae
1398
+ placement: fe
1399
1399
  }
1400
1400
  };
1401
1401
  }
1402
1402
  return {};
1403
1403
  }
1404
1404
  };
1405
- }, yi = function(t) {
1405
+ }, Ei = function(t) {
1406
1406
  return t === void 0 && (t = {}), {
1407
1407
  name: "shift",
1408
1408
  options: t,
@@ -1426,24 +1426,24 @@ const vi = function(t) {
1426
1426
  };
1427
1427
  }
1428
1428
  }
1429
- } = s, d = Lt(s, hi), h = {
1429
+ } = s, d = jt(s, mi), h = {
1430
1430
  x: r,
1431
1431
  y: i
1432
- }, f = await Bt(n, d), g = Ve(fe(o)), b = Ht(g);
1432
+ }, f = await Wt(n, d), g = Be(he(o)), b = Bt(g);
1433
1433
  let E = h[b], S = h[g];
1434
1434
  if (c) {
1435
1435
  const w = b === "y" ? "top" : "left", O = b === "y" ? "bottom" : "right", y = E + f[w], m = E - f[O];
1436
- E = Pt(y, E, m);
1436
+ E = kt(y, E, m);
1437
1437
  }
1438
1438
  if (a) {
1439
1439
  const w = g === "y" ? "top" : "left", O = g === "y" ? "bottom" : "right", y = S + f[w], m = S - f[O];
1440
- S = Pt(y, S, m);
1440
+ S = kt(y, S, m);
1441
1441
  }
1442
- const _ = u.fn(z({}, n, {
1442
+ const _ = u.fn(J({}, n, {
1443
1443
  [b]: E,
1444
1444
  [g]: S
1445
1445
  }));
1446
- return z({}, _, {
1446
+ return J({}, _, {
1447
1447
  data: {
1448
1448
  x: _.x - r,
1449
1449
  y: _.y - i
@@ -1451,7 +1451,7 @@ const vi = function(t) {
1451
1451
  });
1452
1452
  }
1453
1453
  };
1454
- }, wi = function(t) {
1454
+ }, xi = function(t) {
1455
1455
  return t === void 0 && (t = {}), {
1456
1456
  options: t,
1457
1457
  fn(n) {
@@ -1468,12 +1468,12 @@ const vi = function(t) {
1468
1468
  } = Ce(t, n), h = {
1469
1469
  x: r,
1470
1470
  y: i
1471
- }, f = Ve(o), g = Ht(f);
1471
+ }, f = Be(o), g = Bt(f);
1472
1472
  let b = h[g], E = h[f];
1473
1473
  const S = Ce(a, n), _ = typeof S == "number" ? {
1474
1474
  mainAxis: S,
1475
1475
  crossAxis: 0
1476
- } : z({
1476
+ } : J({
1477
1477
  mainAxis: 0,
1478
1478
  crossAxis: 0
1479
1479
  }, S);
@@ -1483,7 +1483,7 @@ const vi = function(t) {
1483
1483
  }
1484
1484
  if (d) {
1485
1485
  var w, O;
1486
- const y = g === "y" ? "width" : "height", m = ["top", "left"].includes(fe(o)), R = s.reference[f] - s.floating[y] + (m && ((w = c.offset) == null ? void 0 : w[f]) || 0) + (m ? 0 : _.crossAxis), D = s.reference[f] + s.reference[y] + (m ? 0 : ((O = c.offset) == null ? void 0 : O[f]) || 0) - (m ? _.crossAxis : 0);
1486
+ const y = g === "y" ? "width" : "height", m = ["top", "left"].includes(he(o)), R = s.reference[f] - s.floating[y] + (m && ((w = c.offset) == null ? void 0 : w[f]) || 0) + (m ? 0 : _.crossAxis), D = s.reference[f] + s.reference[y] + (m ? 0 : ((O = c.offset) == null ? void 0 : O[f]) || 0) - (m ? _.crossAxis : 0);
1487
1487
  E < R ? E = R : E > D && (E = D);
1488
1488
  }
1489
1489
  return {
@@ -1493,28 +1493,31 @@ const vi = function(t) {
1493
1493
  }
1494
1494
  };
1495
1495
  };
1496
+ function pt() {
1497
+ return typeof window < "u";
1498
+ }
1496
1499
  function Ye(e) {
1497
- return Yn(e) ? (e.nodeName || "").toLowerCase() : "#document";
1500
+ return zn(e) ? (e.nodeName || "").toLowerCase() : "#document";
1498
1501
  }
1499
1502
  function G(e) {
1500
1503
  var t;
1501
1504
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
1502
1505
  }
1503
- function de(e) {
1506
+ function ue(e) {
1504
1507
  var t;
1505
- return (t = (Yn(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
1508
+ return (t = (zn(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
1506
1509
  }
1507
- function Yn(e) {
1508
- return e instanceof Node || e instanceof G(e).Node;
1510
+ function zn(e) {
1511
+ return pt() ? e instanceof Node || e instanceof G(e).Node : !1;
1509
1512
  }
1510
1513
  function ie(e) {
1511
- return e instanceof Element || e instanceof G(e).Element;
1514
+ return pt() ? e instanceof Element || e instanceof G(e).Element : !1;
1512
1515
  }
1513
- function le(e) {
1514
- return e instanceof HTMLElement || e instanceof G(e).HTMLElement;
1516
+ function ce(e) {
1517
+ return pt() ? e instanceof HTMLElement || e instanceof G(e).HTMLElement : !1;
1515
1518
  }
1516
- function bn(e) {
1517
- return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof G(e).ShadowRoot;
1519
+ function _n(e) {
1520
+ return !pt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof G(e).ShadowRoot;
1518
1521
  }
1519
1522
  function Qe(e) {
1520
1523
  const {
@@ -1525,10 +1528,10 @@ function Qe(e) {
1525
1528
  } = oe(e);
1526
1529
  return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !["inline", "contents"].includes(i);
1527
1530
  }
1528
- function _i(e) {
1531
+ function Si(e) {
1529
1532
  return ["table", "td", "th"].includes(Ye(e));
1530
1533
  }
1531
- function pt(e) {
1534
+ function gt(e) {
1532
1535
  return [":popover-open", ":modal"].some((t) => {
1533
1536
  try {
1534
1537
  return e.matches(t);
@@ -1537,31 +1540,31 @@ function pt(e) {
1537
1540
  }
1538
1541
  });
1539
1542
  }
1540
- function Nt(e) {
1541
- const t = Wt(), n = ie(e) ? oe(e) : e;
1543
+ function Yt(e) {
1544
+ const t = Ut(), n = ie(e) ? oe(e) : e;
1542
1545
  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));
1543
1546
  }
1544
- function Ei(e) {
1547
+ function Oi(e) {
1545
1548
  let t = be(e);
1546
- for (; le(t) && !Be(t); ) {
1547
- if (Nt(t))
1549
+ for (; ce(t) && !Ve(t); ) {
1550
+ if (Yt(t))
1548
1551
  return t;
1549
- if (pt(t))
1552
+ if (gt(t))
1550
1553
  return null;
1551
1554
  t = be(t);
1552
1555
  }
1553
1556
  return null;
1554
1557
  }
1555
- function Wt() {
1558
+ function Ut() {
1556
1559
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
1557
1560
  }
1558
- function Be(e) {
1561
+ function Ve(e) {
1559
1562
  return ["html", "body", "#document"].includes(Ye(e));
1560
1563
  }
1561
1564
  function oe(e) {
1562
1565
  return G(e).getComputedStyle(e);
1563
1566
  }
1564
- function gt(e) {
1567
+ function mt(e) {
1565
1568
  return ie(e) ? {
1566
1569
  scrollLeft: e.scrollLeft,
1567
1570
  scrollTop: e.scrollTop
@@ -1577,73 +1580,80 @@ function be(e) {
1577
1580
  // Step into the shadow DOM of the parent of a slotted node.
1578
1581
  e.assignedSlot || // DOM Element detected.
1579
1582
  e.parentNode || // ShadowRoot detected.
1580
- bn(e) && e.host || // Fallback.
1581
- de(e)
1583
+ _n(e) && e.host || // Fallback.
1584
+ ue(e)
1582
1585
  );
1583
- return bn(t) ? t.host : t;
1586
+ return _n(t) ? t.host : t;
1584
1587
  }
1585
- function Un(e) {
1588
+ function Jn(e) {
1586
1589
  const t = be(e);
1587
- return Be(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : le(t) && Qe(t) ? t : Un(t);
1590
+ return Ve(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ce(t) && Qe(t) ? t : Jn(t);
1588
1591
  }
1589
1592
  function Ge(e, t, n) {
1590
1593
  var r;
1591
1594
  t === void 0 && (t = []), n === void 0 && (n = !0);
1592
- const i = Un(e), o = i === ((r = e.ownerDocument) == null ? void 0 : r.body), s = G(i);
1593
- return o ? t.concat(s, s.visualViewport || [], Qe(i) ? i : [], s.frameElement && n ? Ge(s.frameElement) : []) : t.concat(i, Ge(i, [], n));
1595
+ const i = Jn(e), o = i === ((r = e.ownerDocument) == null ? void 0 : r.body), s = G(i);
1596
+ if (o) {
1597
+ const c = It(s);
1598
+ return t.concat(s, s.visualViewport || [], Qe(i) ? i : [], c && n ? Ge(c) : []);
1599
+ }
1600
+ return t.concat(i, Ge(i, [], n));
1594
1601
  }
1595
- function qn(e) {
1602
+ function It(e) {
1603
+ return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
1604
+ }
1605
+ function Kn(e) {
1596
1606
  const t = oe(e);
1597
1607
  let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
1598
- const i = le(e), o = i ? e.offsetWidth : n, s = i ? e.offsetHeight : r, c = at(n) !== o || at(r) !== s;
1608
+ const i = ce(e), o = i ? e.offsetWidth : n, s = i ? e.offsetHeight : r, c = at(n) !== o || at(r) !== s;
1599
1609
  return c && (n = o, r = s), {
1600
1610
  width: n,
1601
1611
  height: r,
1602
1612
  $: c
1603
1613
  };
1604
1614
  }
1605
- function Yt(e) {
1615
+ function qt(e) {
1606
1616
  return ie(e) ? e : e.contextElement;
1607
1617
  }
1608
1618
  function De(e) {
1609
- const t = Yt(e);
1610
- if (!le(t))
1611
- return ve(1);
1619
+ const t = qt(e);
1620
+ if (!ce(t))
1621
+ return le(1);
1612
1622
  const n = t.getBoundingClientRect(), {
1613
1623
  width: r,
1614
1624
  height: i,
1615
1625
  $: o
1616
- } = qn(t);
1626
+ } = Kn(t);
1617
1627
  let s = (o ? at(n.width) : n.width) / r, c = (o ? at(n.height) : n.height) / i;
1618
1628
  return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
1619
1629
  x: s,
1620
1630
  y: c
1621
1631
  };
1622
1632
  }
1623
- const xi = /* @__PURE__ */ ve(0);
1624
- function zn(e) {
1633
+ const Ri = /* @__PURE__ */ le(0);
1634
+ function Xn(e) {
1625
1635
  const t = G(e);
1626
- return !Wt() || !t.visualViewport ? xi : {
1636
+ return !Ut() || !t.visualViewport ? Ri : {
1627
1637
  x: t.visualViewport.offsetLeft,
1628
1638
  y: t.visualViewport.offsetTop
1629
1639
  };
1630
1640
  }
1631
- function Si(e, t, n) {
1641
+ function Ti(e, t, n) {
1632
1642
  return t === void 0 && (t = !1), !n || t && n !== G(e) ? !1 : t;
1633
1643
  }
1634
1644
  function Ae(e, t, n, r) {
1635
1645
  t === void 0 && (t = !1), n === void 0 && (n = !1);
1636
- const i = e.getBoundingClientRect(), o = Yt(e);
1637
- let s = ve(1);
1646
+ const i = e.getBoundingClientRect(), o = qt(e);
1647
+ let s = le(1);
1638
1648
  t && (r ? ie(r) && (s = De(r)) : s = De(e));
1639
- const c = Si(o, n, r) ? zn(o) : ve(0);
1649
+ const c = Ti(o, n, r) ? Xn(o) : le(0);
1640
1650
  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;
1641
1651
  if (o) {
1642
1652
  const f = G(o), g = r && ie(r) ? G(r) : r;
1643
- let b = f, E = b.frameElement;
1653
+ let b = f, E = It(b);
1644
1654
  for (; E && r && g !== b; ) {
1645
1655
  const S = De(E), _ = E.getBoundingClientRect(), w = oe(E), O = _.left + (E.clientLeft + parseFloat(w.paddingLeft)) * S.x, y = _.top + (E.clientTop + parseFloat(w.paddingTop)) * S.y;
1646
- a *= S.x, u *= S.y, d *= S.x, h *= S.y, a += O, u += y, b = G(E), E = b.frameElement;
1656
+ a *= S.x, u *= S.y, d *= S.x, h *= S.y, a += O, u += y, b = G(E), E = It(b);
1647
1657
  }
1648
1658
  }
1649
1659
  return dt({
@@ -1653,41 +1663,54 @@ function Ae(e, t, n, r) {
1653
1663
  y: u
1654
1664
  });
1655
1665
  }
1656
- function Oi(e) {
1666
+ function zt(e, t) {
1667
+ const n = mt(e).scrollLeft;
1668
+ return t ? t.left + n : Ae(ue(e)).left + n;
1669
+ }
1670
+ function Gn(e, t, n) {
1671
+ n === void 0 && (n = !1);
1672
+ const r = e.getBoundingClientRect(), i = r.left + t.scrollLeft - (n ? 0 : (
1673
+ // RTL <body> scrollbar.
1674
+ zt(e, r)
1675
+ )), o = r.top + t.scrollTop;
1676
+ return {
1677
+ x: i,
1678
+ y: o
1679
+ };
1680
+ }
1681
+ function Ci(e) {
1657
1682
  let {
1658
1683
  elements: t,
1659
1684
  rect: n,
1660
1685
  offsetParent: r,
1661
1686
  strategy: i
1662
1687
  } = e;
1663
- const o = i === "fixed", s = de(r), c = t ? pt(t.floating) : !1;
1688
+ const o = i === "fixed", s = ue(r), c = t ? gt(t.floating) : !1;
1664
1689
  if (r === s || c && o)
1665
1690
  return n;
1666
1691
  let a = {
1667
1692
  scrollLeft: 0,
1668
1693
  scrollTop: 0
1669
- }, u = ve(1);
1670
- const d = ve(0), h = le(r);
1671
- if ((h || !h && !o) && ((Ye(r) !== "body" || Qe(s)) && (a = gt(r)), le(r))) {
1672
- const f = Ae(r);
1673
- u = De(r), d.x = f.x + r.clientLeft, d.y = f.y + r.clientTop;
1694
+ }, u = le(1);
1695
+ const d = le(0), h = ce(r);
1696
+ if ((h || !h && !o) && ((Ye(r) !== "body" || Qe(s)) && (a = mt(r)), ce(r))) {
1697
+ const g = Ae(r);
1698
+ u = De(r), d.x = g.x + r.clientLeft, d.y = g.y + r.clientTop;
1674
1699
  }
1700
+ const f = s && !h && !o ? Gn(s, a, !0) : le(0);
1675
1701
  return {
1676
1702
  width: n.width * u.x,
1677
1703
  height: n.height * u.y,
1678
- x: n.x * u.x - a.scrollLeft * u.x + d.x,
1679
- y: n.y * u.y - a.scrollTop * u.y + d.y
1704
+ x: n.x * u.x - a.scrollLeft * u.x + d.x + f.x,
1705
+ y: n.y * u.y - a.scrollTop * u.y + d.y + f.y
1680
1706
  };
1681
1707
  }
1682
- function Ri(e) {
1708
+ function Ai(e) {
1683
1709
  return Array.from(e.getClientRects());
1684
1710
  }
1685
- function Jn(e) {
1686
- return Ae(de(e)).left + gt(e).scrollLeft;
1687
- }
1688
- function Ti(e) {
1689
- const t = de(e), n = gt(e), r = e.ownerDocument.body, i = Oe(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), o = Oe(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
1690
- let s = -n.scrollLeft + Jn(e);
1711
+ function Pi(e) {
1712
+ const t = ue(e), n = mt(e), r = e.ownerDocument.body, i = Oe(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), o = Oe(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
1713
+ let s = -n.scrollLeft + zt(e);
1691
1714
  const c = -n.scrollTop;
1692
1715
  return oe(r).direction === "rtl" && (s += Oe(t.clientWidth, r.clientWidth) - i), {
1693
1716
  width: i,
@@ -1696,12 +1719,12 @@ function Ti(e) {
1696
1719
  y: c
1697
1720
  };
1698
1721
  }
1699
- function Ci(e, t) {
1700
- const n = G(e), r = de(e), i = n.visualViewport;
1722
+ function ki(e, t) {
1723
+ const n = G(e), r = ue(e), i = n.visualViewport;
1701
1724
  let o = r.clientWidth, s = r.clientHeight, c = 0, a = 0;
1702
1725
  if (i) {
1703
1726
  o = i.width, s = i.height;
1704
- const u = Wt();
1727
+ const u = Ut();
1705
1728
  (!u || u && t === "fixed") && (c = i.offsetLeft, a = i.offsetTop);
1706
1729
  }
1707
1730
  return {
@@ -1711,8 +1734,8 @@ function Ci(e, t) {
1711
1734
  y: a
1712
1735
  };
1713
1736
  }
1714
- function Ai(e, t) {
1715
- const n = Ae(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, o = le(e) ? De(e) : ve(1), s = e.clientWidth * o.x, c = e.clientHeight * o.y, a = i * o.x, u = r * o.y;
1737
+ function Ii(e, t) {
1738
+ const n = Ae(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, o = ce(e) ? De(e) : le(1), s = e.clientWidth * o.x, c = e.clientHeight * o.y, a = i * o.x, u = r * o.y;
1716
1739
  return {
1717
1740
  width: s,
1718
1741
  height: c,
@@ -1720,51 +1743,53 @@ function Ai(e, t) {
1720
1743
  y: u
1721
1744
  };
1722
1745
  }
1723
- function yn(e, t, n) {
1746
+ function En(e, t, n) {
1724
1747
  let r;
1725
1748
  if (t === "viewport")
1726
- r = Ci(e, n);
1749
+ r = ki(e, n);
1727
1750
  else if (t === "document")
1728
- r = Ti(de(e));
1751
+ r = Pi(ue(e));
1729
1752
  else if (ie(t))
1730
- r = Ai(t, n);
1753
+ r = Ii(t, n);
1731
1754
  else {
1732
- const i = zn(e);
1733
- r = z({}, t, {
1755
+ const i = Xn(e);
1756
+ r = {
1734
1757
  x: t.x - i.x,
1735
- y: t.y - i.y
1736
- });
1758
+ y: t.y - i.y,
1759
+ width: t.width,
1760
+ height: t.height
1761
+ };
1737
1762
  }
1738
1763
  return dt(r);
1739
1764
  }
1740
- function Kn(e, t) {
1765
+ function Zn(e, t) {
1741
1766
  const n = be(e);
1742
- return n === t || !ie(n) || Be(n) ? !1 : oe(n).position === "fixed" || Kn(n, t);
1767
+ return n === t || !ie(n) || Ve(n) ? !1 : oe(n).position === "fixed" || Zn(n, t);
1743
1768
  }
1744
- function Pi(e, t) {
1769
+ function Mi(e, t) {
1745
1770
  const n = t.get(e);
1746
1771
  if (n)
1747
1772
  return n;
1748
1773
  let r = Ge(e, [], !1).filter((c) => ie(c) && Ye(c) !== "body"), i = null;
1749
1774
  const o = oe(e).position === "fixed";
1750
1775
  let s = o ? be(e) : e;
1751
- for (; ie(s) && !Be(s); ) {
1752
- const c = oe(s), a = Nt(s);
1753
- !a && c.position === "fixed" && (i = null), (o ? !a && !i : !a && c.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || Qe(s) && !a && Kn(e, s)) ? r = r.filter((d) => d !== s) : i = c, s = be(s);
1776
+ for (; ie(s) && !Ve(s); ) {
1777
+ const c = oe(s), a = Yt(s);
1778
+ !a && c.position === "fixed" && (i = null), (o ? !a && !i : !a && c.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || Qe(s) && !a && Zn(e, s)) ? r = r.filter((d) => d !== s) : i = c, s = be(s);
1754
1779
  }
1755
1780
  return t.set(e, r), r;
1756
1781
  }
1757
- function ki(e) {
1782
+ function Fi(e) {
1758
1783
  let {
1759
1784
  element: t,
1760
1785
  boundary: n,
1761
1786
  rootBoundary: r,
1762
1787
  strategy: i
1763
1788
  } = e;
1764
- const s = [...n === "clippingAncestors" ? pt(t) ? [] : Pi(t, this._c) : [].concat(n), r], c = s[0], a = s.reduce((u, d) => {
1765
- const h = yn(t, d, i);
1789
+ const s = [...n === "clippingAncestors" ? gt(t) ? [] : Mi(t, this._c) : [].concat(n), r], c = s[0], a = s.reduce((u, d) => {
1790
+ const h = En(t, d, i);
1766
1791
  return u.top = Oe(h.top, u.top), u.right = $e(h.right, u.right), u.bottom = $e(h.bottom, u.bottom), u.left = Oe(h.left, u.left), u;
1767
- }, yn(t, c, i));
1792
+ }, En(t, c, i));
1768
1793
  return {
1769
1794
  width: a.right - a.left,
1770
1795
  height: a.bottom - a.top,
@@ -1772,64 +1797,69 @@ function ki(e) {
1772
1797
  y: a.top
1773
1798
  };
1774
1799
  }
1775
- function Ii(e) {
1800
+ function Li(e) {
1776
1801
  const {
1777
1802
  width: t,
1778
1803
  height: n
1779
- } = qn(e);
1804
+ } = Kn(e);
1780
1805
  return {
1781
1806
  width: t,
1782
1807
  height: n
1783
1808
  };
1784
1809
  }
1785
- function Mi(e, t, n) {
1786
- const r = le(t), i = de(t), o = n === "fixed", s = Ae(e, !0, o, t);
1810
+ function Di(e, t, n) {
1811
+ const r = ce(t), i = ue(t), o = n === "fixed", s = Ae(e, !0, o, t);
1787
1812
  let c = {
1788
1813
  scrollLeft: 0,
1789
1814
  scrollTop: 0
1790
1815
  };
1791
- const a = ve(0);
1816
+ const a = le(0);
1792
1817
  if (r || !r && !o)
1793
- if ((Ye(t) !== "body" || Qe(i)) && (c = gt(t)), r) {
1794
- const h = Ae(t, !0, o, t);
1795
- a.x = h.x + t.clientLeft, a.y = h.y + t.clientTop;
1796
- } else i && (a.x = Jn(i));
1797
- const u = s.left + c.scrollLeft - a.x, d = s.top + c.scrollTop - a.y;
1818
+ if ((Ye(t) !== "body" || Qe(i)) && (c = mt(t)), r) {
1819
+ const f = Ae(t, !0, o, t);
1820
+ a.x = f.x + t.clientLeft, a.y = f.y + t.clientTop;
1821
+ } else i && (a.x = zt(i));
1822
+ const u = i && !r && !o ? Gn(i, c) : le(0), d = s.left + c.scrollLeft - a.x - u.x, h = s.top + c.scrollTop - a.y - u.y;
1798
1823
  return {
1799
- x: u,
1800
- y: d,
1824
+ x: d,
1825
+ y: h,
1801
1826
  width: s.width,
1802
1827
  height: s.height
1803
1828
  };
1804
1829
  }
1805
- function Tt(e) {
1830
+ function Ct(e) {
1806
1831
  return oe(e).position === "static";
1807
1832
  }
1808
- function wn(e, t) {
1809
- return !le(e) || oe(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
1833
+ function xn(e, t) {
1834
+ if (!ce(e) || oe(e).position === "fixed")
1835
+ return null;
1836
+ if (t)
1837
+ return t(e);
1838
+ let n = e.offsetParent;
1839
+ return ue(e) === n && (n = n.ownerDocument.body), n;
1810
1840
  }
1811
- function Xn(e, t) {
1841
+ function Qn(e, t) {
1812
1842
  const n = G(e);
1813
- if (pt(e))
1843
+ if (gt(e))
1814
1844
  return n;
1815
- if (!le(e)) {
1845
+ if (!ce(e)) {
1816
1846
  let i = be(e);
1817
- for (; i && !Be(i); ) {
1818
- if (ie(i) && !Tt(i))
1847
+ for (; i && !Ve(i); ) {
1848
+ if (ie(i) && !Ct(i))
1819
1849
  return i;
1820
1850
  i = be(i);
1821
1851
  }
1822
1852
  return n;
1823
1853
  }
1824
- let r = wn(e, t);
1825
- for (; r && _i(r) && Tt(r); )
1826
- r = wn(r, t);
1827
- return r && Be(r) && Tt(r) && !Nt(r) ? n : r || Ei(e) || n;
1854
+ let r = xn(e, t);
1855
+ for (; r && Si(r) && Ct(r); )
1856
+ r = xn(r, t);
1857
+ return r && Ve(r) && Ct(r) && !Yt(r) ? n : r || Oi(e) || n;
1828
1858
  }
1829
- const Fi = async function(t) {
1830
- const n = this.getOffsetParent || Xn, r = this.getDimensions, i = await r(t.floating);
1859
+ const ji = async function(t) {
1860
+ const n = this.getOffsetParent || Qn, r = this.getDimensions, i = await r(t.floating);
1831
1861
  return {
1832
- reference: Mi(t.reference, await n(t.floating), t.strategy),
1862
+ reference: Di(t.reference, await n(t.floating), t.strategy),
1833
1863
  floating: {
1834
1864
  x: 0,
1835
1865
  y: 0,
@@ -1838,24 +1868,24 @@ const Fi = async function(t) {
1838
1868
  }
1839
1869
  };
1840
1870
  };
1841
- function Li(e) {
1871
+ function Hi(e) {
1842
1872
  return oe(e).direction === "rtl";
1843
1873
  }
1844
- const Di = {
1845
- convertOffsetParentRelativeRectToViewportRelativeRect: Oi,
1846
- getDocumentElement: de,
1847
- getClippingRect: ki,
1848
- getOffsetParent: Xn,
1849
- getElementRects: Fi,
1850
- getClientRects: Ri,
1851
- getDimensions: Ii,
1874
+ const $i = {
1875
+ convertOffsetParentRelativeRectToViewportRelativeRect: Ci,
1876
+ getDocumentElement: ue,
1877
+ getClippingRect: Fi,
1878
+ getOffsetParent: Qn,
1879
+ getElementRects: ji,
1880
+ getClientRects: Ai,
1881
+ getDimensions: Li,
1852
1882
  getScale: De,
1853
1883
  isElement: ie,
1854
- isRTL: Li
1884
+ isRTL: Hi
1855
1885
  };
1856
- function ji(e, t) {
1886
+ function Bi(e, t) {
1857
1887
  let n = null, r;
1858
- const i = de(e);
1888
+ const i = ue(e);
1859
1889
  function o() {
1860
1890
  var c;
1861
1891
  clearTimeout(r), (c = n) == null || c.disconnect(), n = null;
@@ -1887,7 +1917,7 @@ function ji(e, t) {
1887
1917
  O = !1;
1888
1918
  }
1889
1919
  try {
1890
- n = new IntersectionObserver(y, z({}, w, {
1920
+ n = new IntersectionObserver(y, J({}, w, {
1891
1921
  // Handle <iframe>s
1892
1922
  root: i.ownerDocument
1893
1923
  }));
@@ -1898,7 +1928,7 @@ function ji(e, t) {
1898
1928
  }
1899
1929
  return s(!0), o;
1900
1930
  }
1901
- function Hi(e, t, n, r) {
1931
+ function Vi(e, t, n, r) {
1902
1932
  r === void 0 && (r = {});
1903
1933
  const {
1904
1934
  ancestorScroll: i = !0,
@@ -1906,13 +1936,13 @@ function Hi(e, t, n, r) {
1906
1936
  elementResize: s = typeof ResizeObserver == "function",
1907
1937
  layoutShift: c = typeof IntersectionObserver == "function",
1908
1938
  animationFrame: a = !1
1909
- } = r, u = Yt(e), d = i || o ? [...u ? Ge(u) : [], ...Ge(t)] : [];
1939
+ } = r, u = qt(e), d = i || o ? [...u ? Ge(u) : [], ...Ge(t)] : [];
1910
1940
  d.forEach((_) => {
1911
1941
  i && _.addEventListener("scroll", n, {
1912
1942
  passive: !0
1913
1943
  }), o && _.addEventListener("resize", n);
1914
1944
  });
1915
- const h = u && c ? ji(u, n) : null;
1945
+ const h = u && c ? Bi(u, n) : null;
1916
1946
  let f = -1, g = null;
1917
1947
  s && (g = new ResizeObserver((_) => {
1918
1948
  let [w] = _;
@@ -1934,39 +1964,39 @@ function Hi(e, t, n, r) {
1934
1964
  }), h == null || h(), (_ = g) == null || _.disconnect(), g = null, a && cancelAnimationFrame(b);
1935
1965
  };
1936
1966
  }
1937
- const $i = vi, Vi = yi, Bi = bi, Ni = gi, Wi = wi, Yi = (e, t, n) => {
1938
- const r = /* @__PURE__ */ new Map(), i = z({
1939
- platform: Di
1940
- }, n), o = z({}, i.platform, {
1967
+ const Ni = wi, Wi = Ei, Yi = _i, Ui = bi, qi = xi, zi = (e, t, n) => {
1968
+ const r = /* @__PURE__ */ new Map(), i = J({
1969
+ platform: $i
1970
+ }, n), o = J({}, i.platform, {
1941
1971
  _c: r
1942
1972
  });
1943
- return pi(e, t, z({}, i, {
1973
+ return vi(e, t, J({}, i, {
1944
1974
  platform: o
1945
1975
  }));
1946
1976
  };
1947
- function Ui(e) {
1977
+ function Ji(e) {
1948
1978
  e.cleanup && e.cleanup();
1949
1979
  const t = e._getResolvedAttachToOptions();
1950
1980
  let n = t.element;
1951
- const r = Gi(t, e), i = Vn(t);
1952
- return i && (n = document.body, e.shepherdElementComponent.getElement().classList.add("shepherd-centered")), e.cleanup = Hi(n, e.el, () => {
1981
+ const r = eo(t, e), i = Wn(t);
1982
+ return i && (n = document.body, e.shepherdElementComponent.getElement().classList.add("shepherd-centered")), e.cleanup = Vi(n, e.el, () => {
1953
1983
  if (!e.el) {
1954
1984
  e.cleanup == null || e.cleanup();
1955
1985
  return;
1956
1986
  }
1957
- Ji(n, e, r, i);
1987
+ Gi(n, e, r, i);
1958
1988
  }), e.target = t.element, r;
1959
1989
  }
1960
- function qi(e, t) {
1990
+ function Ki(e, t) {
1961
1991
  return {
1962
- floatingUIOptions: Dt(e.floatingUIOptions || {}, t.floatingUIOptions || {})
1992
+ floatingUIOptions: Ht(e.floatingUIOptions || {}, t.floatingUIOptions || {})
1963
1993
  };
1964
1994
  }
1965
- function zi(e) {
1995
+ function Xi(e) {
1966
1996
  e.cleanup && e.cleanup(), e.cleanup = null;
1967
1997
  }
1968
- function Ji(e, t, n, r) {
1969
- return Yi(e, t.el, n).then(Ki(t, r)).then((i) => new Promise((o) => {
1998
+ function Gi(e, t, n, r) {
1999
+ return zi(e, t.el, n).then(Zi(t, r)).then((i) => new Promise((o) => {
1970
2000
  setTimeout(() => o(i), 300);
1971
2001
  })).then((i) => {
1972
2002
  i != null && i.el && i.el.focus({
@@ -1974,7 +2004,7 @@ function Ji(e, t, n, r) {
1974
2004
  });
1975
2005
  });
1976
2006
  }
1977
- function Ki(e, t) {
2007
+ function Zi(e, t) {
1978
2008
  return ({
1979
2009
  x: n,
1980
2010
  y: r,
@@ -1989,9 +2019,9 @@ function Ki(e, t) {
1989
2019
  position: "absolute",
1990
2020
  left: `${n}px`,
1991
2021
  top: `${r}px`
1992
- }), e.el.dataset.popperPlacement = i, Xi(e.el, o)), e);
2022
+ }), e.el.dataset.popperPlacement = i, Qi(e.el, o)), e);
1993
2023
  }
1994
- function Xi(e, t) {
2024
+ function Qi(e, t) {
1995
2025
  const n = e.querySelector(".shepherd-arrow");
1996
2026
  if (He(n) && t.arrow) {
1997
2027
  const {
@@ -2004,63 +2034,63 @@ function Xi(e, t) {
2004
2034
  });
2005
2035
  }
2006
2036
  }
2007
- function Gi(e, t) {
2037
+ function eo(e, t) {
2008
2038
  var n, r, i;
2009
2039
  const o = {
2010
2040
  strategy: "absolute"
2011
2041
  };
2012
2042
  o.middleware = [];
2013
- const s = Zi(t), c = Vn(e), a = (n = e.on) == null ? void 0 : n.includes("auto"), u = (e == null || (r = e.on) == null ? void 0 : r.includes("-start")) || (e == null || (i = e.on) == null ? void 0 : i.includes("-end"));
2043
+ const s = to(t), c = Wn(e), a = (n = e.on) == null ? void 0 : n.includes("auto"), u = (e == null || (r = e.on) == null ? void 0 : r.includes("-start")) || (e == null || (i = e.on) == null ? void 0 : i.includes("-end"));
2014
2044
  if (!c) {
2015
2045
  if (a) {
2016
2046
  var d;
2017
- o.middleware.push($i({
2047
+ o.middleware.push(Ni({
2018
2048
  crossAxis: !0,
2019
2049
  alignment: u ? e == null || (d = e.on) == null ? void 0 : d.split("-").pop() : null
2020
2050
  }));
2021
2051
  } else
2022
- o.middleware.push(Bi());
2052
+ o.middleware.push(Yi());
2023
2053
  o.middleware.push(
2024
2054
  // Replicate PopperJS default behavior.
2025
- Vi({
2026
- limiter: Wi(),
2055
+ Wi({
2056
+ limiter: qi(),
2027
2057
  crossAxis: !0
2028
2058
  })
2029
- ), s && o.middleware.push(Ni({
2059
+ ), s && o.middleware.push(Ui({
2030
2060
  element: s,
2031
2061
  padding: u ? 4 : 0
2032
2062
  })), a || (o.placement = e.on);
2033
2063
  }
2034
- return Dt(o, t.options.floatingUIOptions || {});
2064
+ return Ht(o, t.options.floatingUIOptions || {});
2035
2065
  }
2036
- function Zi(e) {
2066
+ function to(e) {
2037
2067
  return e.options.arrow && e.el ? e.el.querySelector(".shepherd-arrow") : !1;
2038
2068
  }
2039
2069
  function Z() {
2040
2070
  }
2041
- function Qi(e, t) {
2071
+ function no(e, t) {
2042
2072
  for (const n in t) e[n] = t[n];
2043
2073
  return (
2044
2074
  /** @type {T & S} */
2045
2075
  e
2046
2076
  );
2047
2077
  }
2048
- function Gn(e) {
2078
+ function er(e) {
2049
2079
  return e();
2050
2080
  }
2051
- function _n() {
2081
+ function Sn() {
2052
2082
  return /* @__PURE__ */ Object.create(null);
2053
2083
  }
2054
2084
  function et(e) {
2055
- e.forEach(Gn);
2085
+ e.forEach(er);
2056
2086
  }
2057
- function Ut(e) {
2087
+ function Jt(e) {
2058
2088
  return typeof e == "function";
2059
2089
  }
2060
- function he(e, t) {
2090
+ function pe(e, t) {
2061
2091
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
2062
2092
  }
2063
- function eo(e) {
2093
+ function ro(e) {
2064
2094
  return Object.keys(e).length === 0;
2065
2095
  }
2066
2096
  function Ne(e, t) {
@@ -2072,38 +2102,38 @@ function se(e, t, n) {
2072
2102
  function te(e) {
2073
2103
  e.parentNode && e.parentNode.removeChild(e);
2074
2104
  }
2075
- function to(e, t) {
2105
+ function io(e, t) {
2076
2106
  for (let n = 0; n < e.length; n += 1)
2077
2107
  e[n] && e[n].d(t);
2078
2108
  }
2079
- function ce(e) {
2109
+ function ae(e) {
2080
2110
  return document.createElement(e);
2081
2111
  }
2082
- function En(e) {
2112
+ function On(e) {
2083
2113
  return document.createElementNS("http://www.w3.org/2000/svg", e);
2084
2114
  }
2085
- function Zn(e) {
2115
+ function tr(e) {
2086
2116
  return document.createTextNode(e);
2087
2117
  }
2088
2118
  function ht() {
2089
- return Zn(" ");
2119
+ return tr(" ");
2090
2120
  }
2091
- function no() {
2092
- return Zn("");
2121
+ function oo() {
2122
+ return tr("");
2093
2123
  }
2094
- function mt(e, t, n, r) {
2124
+ function vt(e, t, n, r) {
2095
2125
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
2096
2126
  }
2097
- function I(e, t, n) {
2127
+ function M(e, t, n) {
2098
2128
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
2099
2129
  }
2100
- const ro = ["width", "height"];
2101
- function xn(e, t) {
2130
+ const so = ["width", "height"];
2131
+ function Rn(e, t) {
2102
2132
  const n = Object.getOwnPropertyDescriptors(e.__proto__);
2103
2133
  for (const r in t)
2104
- 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 && ro.indexOf(r) === -1 ? e[r] = t[r] : I(e, r, t[r]);
2134
+ t[r] == null ? e.removeAttribute(r) : r === "style" ? e.style.cssText = t[r] : r === "__value" ? e.value = e[r] = t[r] : n[r] && n[r].set && so.indexOf(r) === -1 ? e[r] = t[r] : M(e, r, t[r]);
2105
2135
  }
2106
- function io(e) {
2136
+ function lo(e) {
2107
2137
  return Array.from(e.childNodes);
2108
2138
  }
2109
2139
  function Me(e, t, n) {
@@ -2113,29 +2143,29 @@ let Ze;
2113
2143
  function Ke(e) {
2114
2144
  Ze = e;
2115
2145
  }
2116
- function Qn() {
2146
+ function nr() {
2117
2147
  if (!Ze) throw new Error("Function called outside component initialization");
2118
2148
  return Ze;
2119
2149
  }
2120
- function oo(e) {
2121
- Qn().$$.on_mount.push(e);
2150
+ function co(e) {
2151
+ nr().$$.on_mount.push(e);
2122
2152
  }
2123
- function qt(e) {
2124
- Qn().$$.after_update.push(e);
2153
+ function Kt(e) {
2154
+ nr().$$.after_update.push(e);
2125
2155
  }
2126
2156
  const Le = [], We = [];
2127
2157
  let je = [];
2128
- const Sn = [], so = /* @__PURE__ */ Promise.resolve();
2129
- let kt = !1;
2130
- function lo() {
2131
- kt || (kt = !0, so.then(er));
2158
+ const Tn = [], ao = /* @__PURE__ */ Promise.resolve();
2159
+ let Mt = !1;
2160
+ function uo() {
2161
+ Mt || (Mt = !0, ao.then(rr));
2132
2162
  }
2133
- function It(e) {
2163
+ function Ft(e) {
2134
2164
  je.push(e);
2135
2165
  }
2136
- const Ct = /* @__PURE__ */ new Set();
2166
+ const At = /* @__PURE__ */ new Set();
2137
2167
  let Fe = 0;
2138
- function er() {
2168
+ function rr() {
2139
2169
  if (Fe !== 0)
2140
2170
  return;
2141
2171
  const e = Ze;
@@ -2143,7 +2173,7 @@ function er() {
2143
2173
  try {
2144
2174
  for (; Fe < Le.length; ) {
2145
2175
  const t = Le[Fe];
2146
- Fe++, Ke(t), co(t.$$);
2176
+ Fe++, Ke(t), fo(t.$$);
2147
2177
  }
2148
2178
  } catch (t) {
2149
2179
  throw Le.length = 0, Fe = 0, t;
@@ -2151,22 +2181,22 @@ function er() {
2151
2181
  for (Ke(null), Le.length = 0, Fe = 0; We.length; ) We.pop()();
2152
2182
  for (let t = 0; t < je.length; t += 1) {
2153
2183
  const n = je[t];
2154
- Ct.has(n) || (Ct.add(n), n());
2184
+ At.has(n) || (At.add(n), n());
2155
2185
  }
2156
2186
  je.length = 0;
2157
2187
  } while (Le.length);
2158
- for (; Sn.length; )
2159
- Sn.pop()();
2160
- kt = !1, Ct.clear(), Ke(e);
2188
+ for (; Tn.length; )
2189
+ Tn.pop()();
2190
+ Mt = !1, At.clear(), Ke(e);
2161
2191
  }
2162
- function co(e) {
2192
+ function fo(e) {
2163
2193
  if (e.fragment !== null) {
2164
2194
  e.update(), et(e.before_update);
2165
2195
  const t = e.dirty;
2166
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(It);
2196
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ft);
2167
2197
  }
2168
2198
  }
2169
- function ao(e) {
2199
+ function ho(e) {
2170
2200
  const t = [], n = [];
2171
2201
  je.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), je = t;
2172
2202
  }
@@ -2194,10 +2224,10 @@ function H(e, t, n, r) {
2194
2224
  }), e.o(t);
2195
2225
  } else r && r();
2196
2226
  }
2197
- function On(e) {
2227
+ function Cn(e) {
2198
2228
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
2199
2229
  }
2200
- function uo(e, t) {
2230
+ function po(e, t) {
2201
2231
  const n = {}, r = {}, i = {
2202
2232
  $$scope: 1
2203
2233
  };
@@ -2226,19 +2256,19 @@ function we(e, t, n) {
2226
2256
  fragment: r,
2227
2257
  after_update: i
2228
2258
  } = e.$$;
2229
- r && r.m(t, n), It(() => {
2230
- const o = e.$$.on_mount.map(Gn).filter(Ut);
2259
+ r && r.m(t, n), Ft(() => {
2260
+ const o = e.$$.on_mount.map(er).filter(Jt);
2231
2261
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : et(o), e.$$.on_mount = [];
2232
- }), i.forEach(It);
2262
+ }), i.forEach(Ft);
2233
2263
  }
2234
2264
  function _e(e, t) {
2235
2265
  const n = e.$$;
2236
- n.fragment !== null && (ao(n.after_update), et(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
2266
+ n.fragment !== null && (ho(n.after_update), et(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
2237
2267
  }
2238
- function fo(e, t) {
2239
- e.$$.dirty[0] === -1 && (Le.push(e), lo(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
2268
+ function go(e, t) {
2269
+ e.$$.dirty[0] === -1 && (Le.push(e), uo(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
2240
2270
  }
2241
- function pe(e, t, n, r, i, o, s = null, c = [-1]) {
2271
+ function ge(e, t, n, r, i, o, s = null, c = [-1]) {
2242
2272
  const a = Ze;
2243
2273
  Ke(e);
2244
2274
  const u = e.$$ = {
@@ -2248,7 +2278,7 @@ function pe(e, t, n, r, i, o, s = null, c = [-1]) {
2248
2278
  props: o,
2249
2279
  update: Z,
2250
2280
  not_equal: i,
2251
- bound: _n(),
2281
+ bound: Sn(),
2252
2282
  // lifecycle
2253
2283
  on_mount: [],
2254
2284
  on_destroy: [],
@@ -2257,7 +2287,7 @@ function pe(e, t, n, r, i, o, s = null, c = [-1]) {
2257
2287
  after_update: [],
2258
2288
  context: new Map(t.context || (a ? a.$$.context : [])),
2259
2289
  // everything else
2260
- callbacks: _n(),
2290
+ callbacks: Sn(),
2261
2291
  dirty: c,
2262
2292
  skip_bound: !1,
2263
2293
  root: t.target || a.$$.root
@@ -2266,18 +2296,18 @@ function pe(e, t, n, r, i, o, s = null, c = [-1]) {
2266
2296
  let d = !1;
2267
2297
  if (u.ctx = n ? n(e, t.props || {}, (h, f, ...g) => {
2268
2298
  const b = g.length ? g[0] : f;
2269
- return u.ctx && i(u.ctx[h], u.ctx[h] = b) && (!u.skip_bound && u.bound[h] && u.bound[h](b), d && fo(e, h)), f;
2299
+ return u.ctx && i(u.ctx[h], u.ctx[h] = b) && (!u.skip_bound && u.bound[h] && u.bound[h](b), d && go(e, h)), f;
2270
2300
  }) : [], u.update(), d = !0, et(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
2271
2301
  if (t.hydrate) {
2272
- const h = io(t.target);
2302
+ const h = lo(t.target);
2273
2303
  u.fragment && u.fragment.l(h), h.forEach(te);
2274
2304
  } else
2275
2305
  u.fragment && u.fragment.c();
2276
- t.intro && k(e.$$.fragment), we(e, t.target, t.anchor), er();
2306
+ t.intro && k(e.$$.fragment), we(e, t.target, t.anchor), rr();
2277
2307
  }
2278
2308
  Ke(a);
2279
2309
  }
2280
- class ge {
2310
+ class me {
2281
2311
  constructor() {
2282
2312
  this.$$ = void 0, this.$$set = void 0;
2283
2313
  }
@@ -2292,7 +2322,7 @@ class ge {
2292
2322
  * @returns {() => void}
2293
2323
  */
2294
2324
  $on(t, n) {
2295
- if (!Ut(n))
2325
+ if (!Jt(n))
2296
2326
  return Z;
2297
2327
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
2298
2328
  return r.push(n), () => {
@@ -2305,30 +2335,30 @@ class ge {
2305
2335
  * @returns {void}
2306
2336
  */
2307
2337
  $set(t) {
2308
- this.$$set && !eo(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
2338
+ this.$$set && !ro(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
2309
2339
  }
2310
2340
  }
2311
- const ho = "4";
2341
+ const mo = "4";
2312
2342
  typeof window < "u" && (window.__svelte || (window.__svelte = {
2313
2343
  v: /* @__PURE__ */ new Set()
2314
- })).v.add(ho);
2315
- function po(e) {
2344
+ })).v.add(mo);
2345
+ function vo(e) {
2316
2346
  let t, n, r, i, o;
2317
2347
  return {
2318
2348
  c() {
2319
- t = ce("button"), I(t, "aria-label", n = /*label*/
2349
+ t = ae("button"), M(t, "aria-label", n = /*label*/
2320
2350
  e[3] ? (
2321
2351
  /*label*/
2322
2352
  e[3]
2323
- ) : null), I(t, "class", r = `${/*classes*/
2353
+ ) : null), M(t, "class", r = `${/*classes*/
2324
2354
  e[1] || ""} shepherd-button ${/*secondary*/
2325
2355
  e[4] ? "shepherd-button-secondary" : ""}`), t.disabled = /*disabled*/
2326
- e[2], I(t, "tabindex", "0"), I(t, "type", "button");
2356
+ e[2], M(t, "tabindex", "0"), M(t, "type", "button");
2327
2357
  },
2328
2358
  m(s, c) {
2329
2359
  se(s, t, c), t.innerHTML = /*text*/
2330
- e[5], i || (o = mt(t, "click", function() {
2331
- Ut(
2360
+ e[5], i || (o = vt(t, "click", function() {
2361
+ Jt(
2332
2362
  /*action*/
2333
2363
  e[0]
2334
2364
  ) && e[0].apply(this, arguments);
@@ -2342,10 +2372,10 @@ function po(e) {
2342
2372
  e[3] ? (
2343
2373
  /*label*/
2344
2374
  e[3]
2345
- ) : null) && I(t, "aria-label", n), c & /*classes, secondary*/
2375
+ ) : null) && M(t, "aria-label", n), c & /*classes, secondary*/
2346
2376
  18 && r !== (r = `${/*classes*/
2347
2377
  e[1] || ""} shepherd-button ${/*secondary*/
2348
- e[4] ? "shepherd-button-secondary" : ""}`) && I(t, "class", r), c & /*disabled*/
2378
+ e[4] ? "shepherd-button-secondary" : ""}`) && M(t, "class", r), c & /*disabled*/
2349
2379
  4 && (t.disabled = /*disabled*/
2350
2380
  e[2]);
2351
2381
  },
@@ -2356,13 +2386,13 @@ function po(e) {
2356
2386
  }
2357
2387
  };
2358
2388
  }
2359
- function go(e, t, n) {
2389
+ function bo(e, t, n) {
2360
2390
  let {
2361
2391
  config: r,
2362
2392
  step: i
2363
2393
  } = t, o, s, c, a, u, d;
2364
2394
  function h(f) {
2365
- return me(f) ? f = f.call(i) : f;
2395
+ return ve(f) ? f = f.call(i) : f;
2366
2396
  }
2367
2397
  return e.$$set = (f) => {
2368
2398
  "config" in f && n(6, r = f.config), "step" in f && n(7, i = f.step);
@@ -2371,25 +2401,25 @@ function go(e, t, n) {
2371
2401
  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));
2372
2402
  }, [o, s, c, a, u, d, r, i];
2373
2403
  }
2374
- class mo extends ge {
2404
+ class yo extends me {
2375
2405
  constructor(t) {
2376
- super(), pe(this, t, go, po, he, {
2406
+ super(), ge(this, t, bo, vo, pe, {
2377
2407
  config: 6,
2378
2408
  step: 7
2379
2409
  });
2380
2410
  }
2381
2411
  }
2382
- function Rn(e, t, n) {
2412
+ function An(e, t, n) {
2383
2413
  const r = e.slice();
2384
2414
  return r[2] = t[n], r;
2385
2415
  }
2386
- function Tn(e) {
2387
- let t, n, r = On(
2416
+ function Pn(e) {
2417
+ let t, n, r = Cn(
2388
2418
  /*buttons*/
2389
2419
  e[1]
2390
2420
  ), i = [];
2391
2421
  for (let s = 0; s < r.length; s += 1)
2392
- i[s] = Cn(Rn(e, r, s));
2422
+ i[s] = kn(An(e, r, s));
2393
2423
  const o = (s) => H(i[s], 1, 1, () => {
2394
2424
  i[s] = null;
2395
2425
  });
@@ -2397,7 +2427,7 @@ function Tn(e) {
2397
2427
  c() {
2398
2428
  for (let s = 0; s < i.length; s += 1)
2399
2429
  i[s].c();
2400
- t = no();
2430
+ t = oo();
2401
2431
  },
2402
2432
  m(s, c) {
2403
2433
  for (let a = 0; a < i.length; a += 1)
@@ -2407,14 +2437,14 @@ function Tn(e) {
2407
2437
  p(s, c) {
2408
2438
  if (c & /*buttons, step*/
2409
2439
  3) {
2410
- r = On(
2440
+ r = Cn(
2411
2441
  /*buttons*/
2412
2442
  s[1]
2413
2443
  );
2414
2444
  let a;
2415
2445
  for (a = 0; a < r.length; a += 1) {
2416
- const u = Rn(s, r, a);
2417
- i[a] ? (i[a].p(u, c), k(i[a], 1)) : (i[a] = Cn(u), i[a].c(), k(i[a], 1), i[a].m(t.parentNode, t));
2446
+ const u = An(s, r, a);
2447
+ i[a] ? (i[a].p(u, c), k(i[a], 1)) : (i[a] = kn(u), i[a].c(), k(i[a], 1), i[a].m(t.parentNode, t));
2418
2448
  }
2419
2449
  for (Re(), a = r.length; a < i.length; a += 1)
2420
2450
  o(a);
@@ -2435,13 +2465,13 @@ function Tn(e) {
2435
2465
  n = !1;
2436
2466
  },
2437
2467
  d(s) {
2438
- s && te(t), to(i, s);
2468
+ s && te(t), io(i, s);
2439
2469
  }
2440
2470
  };
2441
2471
  }
2442
- function Cn(e) {
2472
+ function kn(e) {
2443
2473
  let t, n;
2444
- return t = new mo({
2474
+ return t = new yo({
2445
2475
  props: {
2446
2476
  config: (
2447
2477
  /*config*/
@@ -2478,14 +2508,14 @@ function Cn(e) {
2478
2508
  }
2479
2509
  };
2480
2510
  }
2481
- function vo(e) {
2511
+ function wo(e) {
2482
2512
  let t, n, r = (
2483
2513
  /*buttons*/
2484
- e[1] && Tn(e)
2514
+ e[1] && Pn(e)
2485
2515
  );
2486
2516
  return {
2487
2517
  c() {
2488
- t = ce("footer"), r && r.c(), I(t, "class", "shepherd-footer");
2518
+ t = ae("footer"), r && r.c(), M(t, "class", "shepherd-footer");
2489
2519
  },
2490
2520
  m(i, o) {
2491
2521
  se(i, t, o), r && r.m(t, null), n = !0;
@@ -2493,7 +2523,7 @@ function vo(e) {
2493
2523
  p(i, [o]) {
2494
2524
  /*buttons*/
2495
2525
  i[1] ? r ? (r.p(i, o), o & /*buttons*/
2496
- 2 && k(r, 1)) : (r = Tn(i), r.c(), k(r, 1), r.m(t, null)) : r && (Re(), H(r, 1, 1, () => {
2526
+ 2 && k(r, 1)) : (r = Pn(i), r.c(), k(r, 1), r.m(t, null)) : r && (Re(), H(r, 1, 1, () => {
2497
2527
  r = null;
2498
2528
  }), Te());
2499
2529
  },
@@ -2508,7 +2538,7 @@ function vo(e) {
2508
2538
  }
2509
2539
  };
2510
2540
  }
2511
- function bo(e, t, n) {
2541
+ function _o(e, t, n) {
2512
2542
  let r, {
2513
2543
  step: i
2514
2544
  } = t;
@@ -2519,25 +2549,25 @@ function bo(e, t, n) {
2519
2549
  1 && n(1, r = i.options.buttons);
2520
2550
  }, [i, r];
2521
2551
  }
2522
- class yo extends ge {
2552
+ class Eo extends me {
2523
2553
  constructor(t) {
2524
- super(), pe(this, t, bo, vo, he, {
2554
+ super(), ge(this, t, _o, wo, pe, {
2525
2555
  step: 0
2526
2556
  });
2527
2557
  }
2528
2558
  }
2529
- function wo(e) {
2559
+ function xo(e) {
2530
2560
  let t, n, r, i, o;
2531
2561
  return {
2532
2562
  c() {
2533
- t = ce("button"), n = ce("span"), n.textContent = "×", I(n, "aria-hidden", "true"), I(t, "aria-label", r = /*cancelIcon*/
2563
+ t = ae("button"), n = ae("span"), n.textContent = "×", M(n, "aria-hidden", "true"), M(t, "aria-label", r = /*cancelIcon*/
2534
2564
  e[0].label ? (
2535
2565
  /*cancelIcon*/
2536
2566
  e[0].label
2537
- ) : "Close Tour"), I(t, "class", "shepherd-cancel-icon"), I(t, "type", "button");
2567
+ ) : "Close Tour"), M(t, "class", "shepherd-cancel-icon"), M(t, "type", "button");
2538
2568
  },
2539
2569
  m(s, c) {
2540
- se(s, t, c), Ne(t, n), i || (o = mt(
2570
+ se(s, t, c), Ne(t, n), i || (o = vt(
2541
2571
  t,
2542
2572
  "click",
2543
2573
  /*handleCancelClick*/
@@ -2550,7 +2580,7 @@ function wo(e) {
2550
2580
  s[0].label ? (
2551
2581
  /*cancelIcon*/
2552
2582
  s[0].label
2553
- ) : "Close Tour") && I(t, "aria-label", r);
2583
+ ) : "Close Tour") && M(t, "aria-label", r);
2554
2584
  },
2555
2585
  i: Z,
2556
2586
  o: Z,
@@ -2559,7 +2589,7 @@ function wo(e) {
2559
2589
  }
2560
2590
  };
2561
2591
  }
2562
- function _o(e, t, n) {
2592
+ function So(e, t, n) {
2563
2593
  let {
2564
2594
  cancelIcon: r,
2565
2595
  step: i
@@ -2571,31 +2601,31 @@ function _o(e, t, n) {
2571
2601
  "cancelIcon" in s && n(0, r = s.cancelIcon), "step" in s && n(2, i = s.step);
2572
2602
  }, [r, o, i];
2573
2603
  }
2574
- class Eo extends ge {
2604
+ class Oo extends me {
2575
2605
  constructor(t) {
2576
- super(), pe(this, t, _o, wo, he, {
2606
+ super(), ge(this, t, So, xo, pe, {
2577
2607
  cancelIcon: 0,
2578
2608
  step: 2
2579
2609
  });
2580
2610
  }
2581
2611
  }
2582
- function xo(e) {
2612
+ function Ro(e) {
2583
2613
  let t;
2584
2614
  return {
2585
2615
  c() {
2586
- t = ce("h3"), I(
2616
+ t = ae("h3"), M(
2587
2617
  t,
2588
2618
  "id",
2589
2619
  /*labelId*/
2590
2620
  e[1]
2591
- ), I(t, "class", "shepherd-title");
2621
+ ), M(t, "class", "shepherd-title");
2592
2622
  },
2593
2623
  m(n, r) {
2594
2624
  se(n, t, r), e[3](t);
2595
2625
  },
2596
2626
  p(n, [r]) {
2597
2627
  r & /*labelId*/
2598
- 2 && I(
2628
+ 2 && M(
2599
2629
  t,
2600
2630
  "id",
2601
2631
  /*labelId*/
@@ -2609,14 +2639,14 @@ function xo(e) {
2609
2639
  }
2610
2640
  };
2611
2641
  }
2612
- function So(e, t, n) {
2642
+ function To(e, t, n) {
2613
2643
  let {
2614
2644
  labelId: r,
2615
2645
  element: i,
2616
2646
  title: o
2617
2647
  } = t;
2618
- qt(() => {
2619
- me(o) && n(2, o = o()), n(0, i.innerHTML = o, i);
2648
+ Kt(() => {
2649
+ ve(o) && n(2, o = o()), n(0, i.innerHTML = o, i);
2620
2650
  });
2621
2651
  function s(c) {
2622
2652
  We[c ? "unshift" : "push"](() => {
@@ -2627,18 +2657,18 @@ function So(e, t, n) {
2627
2657
  "labelId" in c && n(1, r = c.labelId), "element" in c && n(0, i = c.element), "title" in c && n(2, o = c.title);
2628
2658
  }, [i, r, o, s];
2629
2659
  }
2630
- class Oo extends ge {
2660
+ class Co extends me {
2631
2661
  constructor(t) {
2632
- super(), pe(this, t, So, xo, he, {
2662
+ super(), ge(this, t, To, Ro, pe, {
2633
2663
  labelId: 1,
2634
2664
  element: 0,
2635
2665
  title: 2
2636
2666
  });
2637
2667
  }
2638
2668
  }
2639
- function An(e) {
2669
+ function In(e) {
2640
2670
  let t, n;
2641
- return t = new Oo({
2671
+ return t = new Co({
2642
2672
  props: {
2643
2673
  labelId: (
2644
2674
  /*labelId*/
@@ -2675,9 +2705,9 @@ function An(e) {
2675
2705
  }
2676
2706
  };
2677
2707
  }
2678
- function Pn(e) {
2708
+ function Mn(e) {
2679
2709
  let t, n;
2680
- return t = new Eo({
2710
+ return t = new Oo({
2681
2711
  props: {
2682
2712
  cancelIcon: (
2683
2713
  /*cancelIcon*/
@@ -2714,18 +2744,18 @@ function Pn(e) {
2714
2744
  }
2715
2745
  };
2716
2746
  }
2717
- function Ro(e) {
2747
+ function Ao(e) {
2718
2748
  let t, n, r, i = (
2719
2749
  /*title*/
2720
- e[2] && An(e)
2750
+ e[2] && In(e)
2721
2751
  ), o = (
2722
2752
  /*cancelIcon*/
2723
2753
  e[3] && /*cancelIcon*/
2724
- e[3].enabled && Pn(e)
2754
+ e[3].enabled && Mn(e)
2725
2755
  );
2726
2756
  return {
2727
2757
  c() {
2728
- t = ce("header"), i && i.c(), n = ht(), o && o.c(), I(t, "class", "shepherd-header");
2758
+ t = ae("header"), i && i.c(), n = ht(), o && o.c(), M(t, "class", "shepherd-header");
2729
2759
  },
2730
2760
  m(s, c) {
2731
2761
  se(s, t, c), i && i.m(t, null), Ne(t, n), o && o.m(t, null), r = !0;
@@ -2733,12 +2763,12 @@ function Ro(e) {
2733
2763
  p(s, [c]) {
2734
2764
  /*title*/
2735
2765
  s[2] ? i ? (i.p(s, c), c & /*title*/
2736
- 4 && k(i, 1)) : (i = An(s), i.c(), k(i, 1), i.m(t, n)) : i && (Re(), H(i, 1, 1, () => {
2766
+ 4 && k(i, 1)) : (i = In(s), i.c(), k(i, 1), i.m(t, n)) : i && (Re(), H(i, 1, 1, () => {
2737
2767
  i = null;
2738
2768
  }), Te()), /*cancelIcon*/
2739
2769
  s[3] && /*cancelIcon*/
2740
2770
  s[3].enabled ? o ? (o.p(s, c), c & /*cancelIcon*/
2741
- 8 && k(o, 1)) : (o = Pn(s), o.c(), k(o, 1), o.m(t, null)) : o && (Re(), H(o, 1, 1, () => {
2771
+ 8 && k(o, 1)) : (o = Mn(s), o.c(), k(o, 1), o.m(t, null)) : o && (Re(), H(o, 1, 1, () => {
2742
2772
  o = null;
2743
2773
  }), Te());
2744
2774
  },
@@ -2753,7 +2783,7 @@ function Ro(e) {
2753
2783
  }
2754
2784
  };
2755
2785
  }
2756
- function To(e, t, n) {
2786
+ function Po(e, t, n) {
2757
2787
  let {
2758
2788
  labelId: r,
2759
2789
  step: i
@@ -2765,19 +2795,19 @@ function To(e, t, n) {
2765
2795
  2 && (n(2, o = i.options.title), n(3, s = i.options.cancelIcon));
2766
2796
  }, [r, i, o, s];
2767
2797
  }
2768
- class Co extends ge {
2798
+ class ko extends me {
2769
2799
  constructor(t) {
2770
- super(), pe(this, t, To, Ro, he, {
2800
+ super(), ge(this, t, Po, Ao, pe, {
2771
2801
  labelId: 0,
2772
2802
  step: 1
2773
2803
  });
2774
2804
  }
2775
2805
  }
2776
- function Ao(e) {
2806
+ function Io(e) {
2777
2807
  let t;
2778
2808
  return {
2779
2809
  c() {
2780
- t = ce("div"), I(t, "class", "shepherd-text"), I(
2810
+ t = ae("div"), M(t, "class", "shepherd-text"), M(
2781
2811
  t,
2782
2812
  "id",
2783
2813
  /*descriptionId*/
@@ -2789,7 +2819,7 @@ function Ao(e) {
2789
2819
  },
2790
2820
  p(n, [r]) {
2791
2821
  r & /*descriptionId*/
2792
- 2 && I(
2822
+ 2 && M(
2793
2823
  t,
2794
2824
  "id",
2795
2825
  /*descriptionId*/
@@ -2803,17 +2833,17 @@ function Ao(e) {
2803
2833
  }
2804
2834
  };
2805
2835
  }
2806
- function Po(e, t, n) {
2836
+ function Mo(e, t, n) {
2807
2837
  let {
2808
2838
  descriptionId: r,
2809
2839
  element: i,
2810
2840
  step: o
2811
2841
  } = t;
2812
- qt(() => {
2842
+ Kt(() => {
2813
2843
  let {
2814
2844
  text: c
2815
2845
  } = o.options;
2816
- me(c) && (c = c.call(o)), He(c) ? i.appendChild(c) : n(0, i.innerHTML = c, i);
2846
+ ve(c) && (c = c.call(o)), He(c) ? i.appendChild(c) : n(0, i.innerHTML = c, i);
2817
2847
  });
2818
2848
  function s(c) {
2819
2849
  We[c ? "unshift" : "push"](() => {
@@ -2824,18 +2854,18 @@ function Po(e, t, n) {
2824
2854
  "descriptionId" in c && n(1, r = c.descriptionId), "element" in c && n(0, i = c.element), "step" in c && n(2, o = c.step);
2825
2855
  }, [i, r, o, s];
2826
2856
  }
2827
- class ko extends ge {
2857
+ class Fo extends me {
2828
2858
  constructor(t) {
2829
- super(), pe(this, t, Po, Ao, he, {
2859
+ super(), ge(this, t, Mo, Io, pe, {
2830
2860
  descriptionId: 1,
2831
2861
  element: 0,
2832
2862
  step: 2
2833
2863
  });
2834
2864
  }
2835
2865
  }
2836
- function kn(e) {
2866
+ function Fn(e) {
2837
2867
  let t, n;
2838
- return t = new Co({
2868
+ return t = new ko({
2839
2869
  props: {
2840
2870
  labelId: (
2841
2871
  /*labelId*/
@@ -2872,9 +2902,9 @@ function kn(e) {
2872
2902
  }
2873
2903
  };
2874
2904
  }
2875
- function In(e) {
2905
+ function Ln(e) {
2876
2906
  let t, n;
2877
- return t = new ko({
2907
+ return t = new Fo({
2878
2908
  props: {
2879
2909
  descriptionId: (
2880
2910
  /*descriptionId*/
@@ -2911,9 +2941,9 @@ function In(e) {
2911
2941
  }
2912
2942
  };
2913
2943
  }
2914
- function Mn(e) {
2944
+ function Dn(e) {
2915
2945
  let t, n;
2916
- return t = new yo({
2946
+ return t = new Eo({
2917
2947
  props: {
2918
2948
  step: (
2919
2949
  /*step*/
@@ -2944,7 +2974,7 @@ function Mn(e) {
2944
2974
  }
2945
2975
  };
2946
2976
  }
2947
- function Io(e) {
2977
+ function Lo(e) {
2948
2978
  let t, n = !U(
2949
2979
  /*step*/
2950
2980
  e[2].options.title
@@ -2957,10 +2987,10 @@ function Io(e) {
2957
2987
  /*step*/
2958
2988
  e[2].options.buttons
2959
2989
  ) && /*step*/
2960
- e[2].options.buttons.length, c, a = n && kn(e), u = i && In(e), d = s && Mn(e);
2990
+ e[2].options.buttons.length, c, a = n && Fn(e), u = i && Ln(e), d = s && Dn(e);
2961
2991
  return {
2962
2992
  c() {
2963
- t = ce("div"), a && a.c(), r = ht(), u && u.c(), o = ht(), d && d.c(), I(t, "class", "shepherd-content"), I(t, "tabindex", "0");
2993
+ t = ae("div"), a && a.c(), r = ht(), u && u.c(), o = ht(), d && d.c(), M(t, "class", "shepherd-content");
2964
2994
  },
2965
2995
  m(h, f) {
2966
2996
  se(h, t, f), a && a.m(t, null), Ne(t, r), u && u.m(t, null), Ne(t, o), d && d.m(t, null), c = !0;
@@ -2973,14 +3003,14 @@ function Io(e) {
2973
3003
  ) || /*step*/
2974
3004
  h[2].options.cancelIcon && /*step*/
2975
3005
  h[2].options.cancelIcon.enabled), n ? a ? (a.p(h, f), f & /*step*/
2976
- 4 && k(a, 1)) : (a = kn(h), a.c(), k(a, 1), a.m(t, r)) : a && (Re(), H(a, 1, 1, () => {
3006
+ 4 && k(a, 1)) : (a = Fn(h), a.c(), k(a, 1), a.m(t, r)) : a && (Re(), H(a, 1, 1, () => {
2977
3007
  a = null;
2978
3008
  }), Te()), f & /*step*/
2979
3009
  4 && (i = !U(
2980
3010
  /*step*/
2981
3011
  h[2].options.text
2982
3012
  )), i ? u ? (u.p(h, f), f & /*step*/
2983
- 4 && k(u, 1)) : (u = In(h), u.c(), k(u, 1), u.m(t, o)) : u && (Re(), H(u, 1, 1, () => {
3013
+ 4 && k(u, 1)) : (u = Ln(h), u.c(), k(u, 1), u.m(t, o)) : u && (Re(), H(u, 1, 1, () => {
2984
3014
  u = null;
2985
3015
  }), Te()), f & /*step*/
2986
3016
  4 && (s = Array.isArray(
@@ -2988,7 +3018,7 @@ function Io(e) {
2988
3018
  h[2].options.buttons
2989
3019
  ) && /*step*/
2990
3020
  h[2].options.buttons.length), s ? d ? (d.p(h, f), f & /*step*/
2991
- 4 && k(d, 1)) : (d = Mn(h), d.c(), k(d, 1), d.m(t, null)) : d && (Re(), H(d, 1, 1, () => {
3021
+ 4 && k(d, 1)) : (d = Dn(h), d.c(), k(d, 1), d.m(t, null)) : d && (Re(), H(d, 1, 1, () => {
2992
3022
  d = null;
2993
3023
  }), Te());
2994
3024
  },
@@ -3003,7 +3033,7 @@ function Io(e) {
3003
3033
  }
3004
3034
  };
3005
3035
  }
3006
- function Mo(e, t, n) {
3036
+ function Do(e, t, n) {
3007
3037
  let {
3008
3038
  descriptionId: r,
3009
3039
  labelId: i,
@@ -3013,20 +3043,20 @@ function Mo(e, t, n) {
3013
3043
  "descriptionId" in s && n(0, r = s.descriptionId), "labelId" in s && n(1, i = s.labelId), "step" in s && n(2, o = s.step);
3014
3044
  }, [r, i, o];
3015
3045
  }
3016
- class Fo extends ge {
3046
+ class jo extends me {
3017
3047
  constructor(t) {
3018
- super(), pe(this, t, Mo, Io, he, {
3048
+ super(), ge(this, t, Do, Lo, pe, {
3019
3049
  descriptionId: 0,
3020
3050
  labelId: 1,
3021
3051
  step: 2
3022
3052
  });
3023
3053
  }
3024
3054
  }
3025
- function Fn(e) {
3055
+ function jn(e) {
3026
3056
  let t;
3027
3057
  return {
3028
3058
  c() {
3029
- t = ce("div"), I(t, "class", "shepherd-arrow"), I(t, "data-popper-arrow", "");
3059
+ t = ae("div"), M(t, "class", "shepherd-arrow"), M(t, "data-popper-arrow", "");
3030
3060
  },
3031
3061
  m(n, r) {
3032
3062
  se(n, t, r);
@@ -3036,15 +3066,15 @@ function Fn(e) {
3036
3066
  }
3037
3067
  };
3038
3068
  }
3039
- function Lo(e) {
3069
+ function Ho(e) {
3040
3070
  let t, n, r, i, o, s, c, a, u = (
3041
3071
  /*step*/
3042
3072
  e[4].options.arrow && /*step*/
3043
3073
  e[4].options.attachTo && /*step*/
3044
3074
  e[4].options.attachTo.element && /*step*/
3045
- e[4].options.attachTo.on && Fn()
3075
+ e[4].options.attachTo.on && jn()
3046
3076
  );
3047
- r = new Fo({
3077
+ r = new jo({
3048
3078
  props: {
3049
3079
  descriptionId: (
3050
3080
  /*descriptionId*/
@@ -3084,10 +3114,10 @@ function Lo(e) {
3084
3114
  }
3085
3115
  ], h = {};
3086
3116
  for (let f = 0; f < d.length; f += 1)
3087
- h = Qi(h, d[f]);
3117
+ h = no(h, d[f]);
3088
3118
  return {
3089
3119
  c() {
3090
- t = ce("dialog"), u && u.c(), n = ht(), Pe(r.$$.fragment), xn(t, h), Me(
3120
+ t = ae("dialog"), u && u.c(), n = ht(), Pe(r.$$.fragment), Rn(t, h), Me(
3091
3121
  t,
3092
3122
  "shepherd-has-cancel-icon",
3093
3123
  /*hasCancelIcon*/
@@ -3100,7 +3130,7 @@ function Lo(e) {
3100
3130
  ), Me(t, "shepherd-element", !0);
3101
3131
  },
3102
3132
  m(f, g) {
3103
- se(f, t, g), u && u.m(t, null), Ne(t, n), we(r, t, null), e[13](t), s = !0, c || (a = mt(
3133
+ se(f, t, g), u && u.m(t, null), Ne(t, n), we(r, t, null), e[13](t), s = !0, c || (a = vt(
3104
3134
  t,
3105
3135
  "keydown",
3106
3136
  /*handleKeyDown*/
@@ -3112,7 +3142,7 @@ function Lo(e) {
3112
3142
  f[4].options.arrow && /*step*/
3113
3143
  f[4].options.attachTo && /*step*/
3114
3144
  f[4].options.attachTo.element && /*step*/
3115
- f[4].options.attachTo.on ? u || (u = Fn(), u.c(), u.m(t, n)) : u && (u.d(1), u = null);
3145
+ f[4].options.attachTo.on ? u || (u = jn(), u.c(), u.m(t, n)) : u && (u.d(1), u = null);
3116
3146
  const b = {};
3117
3147
  g & /*descriptionId*/
3118
3148
  4 && (b.descriptionId = /*descriptionId*/
@@ -3120,7 +3150,7 @@ function Lo(e) {
3120
3150
  8 && (b.labelId = /*labelId*/
3121
3151
  f[3]), g & /*step*/
3122
3152
  16 && (b.step = /*step*/
3123
- f[4]), r.$set(b), xn(t, h = uo(d, [(!s || g & /*step, descriptionId*/
3153
+ f[4]), r.$set(b), Rn(t, h = po(d, [(!s || g & /*step, descriptionId*/
3124
3154
  20 && i !== (i = U(
3125
3155
  /*step*/
3126
3156
  f[4].options.text
@@ -3163,11 +3193,11 @@ function Lo(e) {
3163
3193
  }
3164
3194
  };
3165
3195
  }
3166
- const Do = 9, jo = 27, Ho = 37, $o = 39;
3167
- function Ln(e) {
3196
+ const $o = 9, Bo = 27, Vo = 37, No = 39;
3197
+ function Hn(e) {
3168
3198
  return e.split(" ").filter((t) => !!t.length);
3169
3199
  }
3170
- function Vo(e, t, n) {
3200
+ function Wo(e, t, n) {
3171
3201
  let {
3172
3202
  classPrefix: r,
3173
3203
  element: i,
@@ -3180,11 +3210,11 @@ function Vo(e, t, n) {
3180
3210
  dataStepId: h
3181
3211
  } = t, f, g, b;
3182
3212
  const E = () => i;
3183
- oo(() => {
3213
+ co(() => {
3184
3214
  n(1, h = {
3185
3215
  [`data-${r}shepherd-step-id`]: d.id
3186
3216
  }), 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]);
3187
- }), qt(() => {
3217
+ }), Kt(() => {
3188
3218
  b !== d.options.classes && S();
3189
3219
  });
3190
3220
  function S() {
@@ -3192,13 +3222,13 @@ function Vo(e, t, n) {
3192
3222
  }
3193
3223
  function _(m) {
3194
3224
  if (Xe(m)) {
3195
- const R = Ln(m);
3225
+ const R = Hn(m);
3196
3226
  R.length && i.classList.remove(...R);
3197
3227
  }
3198
3228
  }
3199
3229
  function w(m) {
3200
3230
  if (Xe(m)) {
3201
- const R = Ln(m);
3231
+ const R = Hn(m);
3202
3232
  R.length && i.classList.add(...R);
3203
3233
  }
3204
3234
  }
@@ -3207,20 +3237,20 @@ function Vo(e, t, n) {
3207
3237
  tour: R
3208
3238
  } = d;
3209
3239
  switch (m.keyCode) {
3210
- case Do:
3240
+ case $o:
3211
3241
  if (c.length === 0) {
3212
3242
  m.preventDefault();
3213
3243
  break;
3214
3244
  }
3215
3245
  m.shiftKey ? (document.activeElement === s || document.activeElement.classList.contains("shepherd-element")) && (m.preventDefault(), u.focus()) : document.activeElement === u && (m.preventDefault(), s.focus());
3216
3246
  break;
3217
- case jo:
3247
+ case Bo:
3218
3248
  R.options.exitOnEsc && (m.preventDefault(), m.stopPropagation(), d.cancel());
3219
3249
  break;
3220
- case Ho:
3250
+ case Vo:
3221
3251
  R.options.keyboardNavigation && (m.preventDefault(), m.stopPropagation(), R.back());
3222
3252
  break;
3223
- case $o:
3253
+ case No:
3224
3254
  R.options.keyboardNavigation && (m.preventDefault(), m.stopPropagation(), R.next());
3225
3255
  break;
3226
3256
  }
@@ -3237,9 +3267,9 @@ function Vo(e, t, n) {
3237
3267
  16 && (n(5, f = d.options && d.options.cancelIcon && d.options.cancelIcon.enabled), n(6, g = d.options && d.options.title));
3238
3268
  }, [i, h, o, a, d, f, g, O, s, c, u, r, E, y];
3239
3269
  }
3240
- class Bo extends ge {
3270
+ class Yo extends me {
3241
3271
  constructor(t) {
3242
- super(), pe(this, t, Vo, Lo, he, {
3272
+ super(), ge(this, t, Wo, Ho, pe, {
3243
3273
  classPrefix: 11,
3244
3274
  element: 0,
3245
3275
  descriptionId: 2,
@@ -3256,9 +3286,9 @@ class Bo extends ge {
3256
3286
  return this.$$.ctx[12];
3257
3287
  }
3258
3288
  }
3259
- class Mt extends Ft {
3289
+ class Lt extends Dt {
3260
3290
  constructor(t, n = {}) {
3261
- 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 ? $n(this.tour.options.classPrefix) : "", this.styles = t.styles, this._resolvedAttachTo = null, jt(this), this._setOptions(n), this;
3291
+ return super(), this._resolvedAttachTo = void 0, this._resolvedExtraHighlightElements = void 0, this.classPrefix = void 0, this.el = void 0, this.target = void 0, this.tour = void 0, this.tour = t, this.classPrefix = this.tour.options ? Nn(this.tour.options.classPrefix) : "", this.styles = t.styles, this._resolvedAttachTo = null, $t(this), this._setOptions(n), this;
3262
3292
  }
3263
3293
  /**
3264
3294
  * Cancel the tour
@@ -3279,7 +3309,7 @@ class Mt extends Ft {
3279
3309
  * Triggers `destroy` event
3280
3310
  */
3281
3311
  destroy() {
3282
- zi(this), He(this.el) && (this.el.remove(), this.el = null), this._updateStepTargetOnHide(), this.trigger("destroy");
3312
+ Xi(this), He(this.el) && (this.el.remove(), this.el = null), this._updateStepTargetOnHide(), this.trigger("destroy");
3283
3313
  }
3284
3314
  /**
3285
3315
  * Returns the tour for the step
@@ -3300,14 +3330,14 @@ class Mt extends Ft {
3300
3330
  * @returns {{}|{element, on}}
3301
3331
  */
3302
3332
  _resolveExtraHiglightElements() {
3303
- return this._resolvedExtraHighlightElements = ri(this), this._resolvedExtraHighlightElements;
3333
+ return this._resolvedExtraHighlightElements = si(this), this._resolvedExtraHighlightElements;
3304
3334
  }
3305
3335
  /**
3306
3336
  * Resolves attachTo options.
3307
3337
  * @returns {{}|{element, on}}
3308
3338
  */
3309
3339
  _resolveAttachToOptions() {
3310
- return this._resolvedAttachTo = ni(this), this._resolvedAttachTo;
3340
+ return this._resolvedAttachTo = oi(this), this._resolvedAttachTo;
3311
3341
  }
3312
3342
  /**
3313
3343
  * A selector for resolved attachTo options.
@@ -3328,7 +3358,7 @@ class Mt extends Ft {
3328
3358
  * Wraps `_show` and ensures `beforeShowPromise` resolves before calling show
3329
3359
  */
3330
3360
  show() {
3331
- return me(this.options.beforeShowPromise) ? Promise.resolve(this.options.beforeShowPromise()).then(() => this._show()) : Promise.resolve(this._show());
3361
+ return ve(this.options.beforeShowPromise) ? Promise.resolve(this.options.beforeShowPromise()).then(() => this._show()) : Promise.resolve(this._show());
3332
3362
  }
3333
3363
  /**
3334
3364
  * Updates the options of the step.
@@ -3362,7 +3392,7 @@ class Mt extends Ft {
3362
3392
  */
3363
3393
  _createTooltipContent() {
3364
3394
  const t = `${this.id}-description`, n = `${this.id}-label`;
3365
- return this.shepherdElementComponent = new Bo({
3395
+ return this.shepherdElementComponent = new Yo({
3366
3396
  target: this.tour.options.stepsContainer || document.body,
3367
3397
  props: {
3368
3398
  classPrefix: this.classPrefix,
@@ -3386,7 +3416,7 @@ class Mt extends Ft {
3386
3416
  const {
3387
3417
  element: n
3388
3418
  } = this._getResolvedAttachToOptions();
3389
- me(this.options.scrollToHandler) ? this.options.scrollToHandler(n) : Lr(n) && typeof n.scrollIntoView == "function" && n.scrollIntoView(t);
3419
+ ve(this.options.scrollToHandler) ? this.options.scrollToHandler(n) : Hr(n) && typeof n.scrollIntoView == "function" && n.scrollIntoView(t);
3390
3420
  }
3391
3421
  /**
3392
3422
  * _getClassOptions gets all possible classes for the step
@@ -3403,13 +3433,13 @@ class Mt extends Ft {
3403
3433
  */
3404
3434
  _setOptions(t = {}) {
3405
3435
  let n = this.tour && this.tour.options && this.tour.options.defaultStepOptions;
3406
- n = Dt({}, n || {}), this.options = Object.assign({
3436
+ n = Ht({}, n || {}), this.options = Object.assign({
3407
3437
  arrow: !0
3408
- }, n, t, qi(n, t));
3438
+ }, n, t, Ki(n, t));
3409
3439
  const {
3410
3440
  when: r
3411
3441
  } = this.options;
3412
- this.options.classes = this._getClassOptions(t), this.destroy(), this.id = this.options.id || `step-${Bn()}`, r && Object.keys(r).forEach((i) => {
3442
+ this.options.classes = this._getClassOptions(t), this.destroy(), this.id = this.options.id || `step-${Yn()}`, r && Object.keys(r).forEach((i) => {
3413
3443
  this.on(i, r[i], this);
3414
3444
  });
3415
3445
  }
@@ -3418,7 +3448,7 @@ class Mt extends Ft {
3418
3448
  * @private
3419
3449
  */
3420
3450
  _setupElements() {
3421
- U(this.el) || this.destroy(), this.el = this._createTooltipContent(), this.options.advanceOn && Qr(this), Ui(this);
3451
+ U(this.el) || this.destroy(), this.el = this._createTooltipContent(), this.options.advanceOn && ni(this), Ji(this);
3422
3452
  }
3423
3453
  /**
3424
3454
  * Triggers `before-show`, generates the tooltip DOM content,
@@ -3461,7 +3491,7 @@ class Mt extends Ft {
3461
3491
  });
3462
3492
  }
3463
3493
  }
3464
- function No(e) {
3494
+ function Uo(e) {
3465
3495
  if (e) {
3466
3496
  const {
3467
3497
  steps: t
@@ -3473,7 +3503,7 @@ function No(e) {
3473
3503
  });
3474
3504
  }
3475
3505
  }
3476
- function Wo(e) {
3506
+ function qo(e) {
3477
3507
  let t = "";
3478
3508
  const {
3479
3509
  innerWidth: n,
@@ -3500,20 +3530,20 @@ function Wo(e) {
3500
3530
  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`;
3501
3531
  }), `M${n},${r} H0 V0 H${n} V${r} Z ${t}`.replace(/\s/g, "");
3502
3532
  }
3503
- function Yo(e) {
3533
+ function zo(e) {
3504
3534
  let t, n, r, i, o;
3505
3535
  return {
3506
3536
  c() {
3507
- t = En("svg"), n = En("path"), I(
3537
+ t = On("svg"), n = On("path"), M(
3508
3538
  n,
3509
3539
  "d",
3510
3540
  /*pathDefinition*/
3511
3541
  e[2]
3512
- ), I(t, "class", r = `${/*modalIsVisible*/
3542
+ ), M(t, "class", r = `${/*modalIsVisible*/
3513
3543
  e[1] ? "shepherd-modal-is-visible" : ""} shepherd-modal-overlay-container`);
3514
3544
  },
3515
3545
  m(s, c) {
3516
- se(s, t, c), Ne(t, n), e[11](t), i || (o = mt(
3546
+ se(s, t, c), Ne(t, n), e[11](t), i || (o = vt(
3517
3547
  t,
3518
3548
  "touchmove",
3519
3549
  /*_preventModalOverlayTouch*/
@@ -3522,14 +3552,14 @@ function Yo(e) {
3522
3552
  },
3523
3553
  p(s, [c]) {
3524
3554
  c & /*pathDefinition*/
3525
- 4 && I(
3555
+ 4 && M(
3526
3556
  n,
3527
3557
  "d",
3528
3558
  /*pathDefinition*/
3529
3559
  s[2]
3530
3560
  ), c & /*modalIsVisible*/
3531
3561
  2 && r !== (r = `${/*modalIsVisible*/
3532
- s[1] ? "shepherd-modal-is-visible" : ""} shepherd-modal-overlay-container`) && I(t, "class", r);
3562
+ s[1] ? "shepherd-modal-is-visible" : ""} shepherd-modal-overlay-container`) && M(t, "class", r);
3533
3563
  },
3534
3564
  i: Z,
3535
3565
  o: Z,
@@ -3538,13 +3568,13 @@ function Yo(e) {
3538
3568
  }
3539
3569
  };
3540
3570
  }
3541
- function tr(e) {
3571
+ function ir(e) {
3542
3572
  if (!e)
3543
3573
  return null;
3544
3574
  const n = e instanceof HTMLElement && window.getComputedStyle(e).overflowY;
3545
- return n !== "hidden" && n !== "visible" && e.scrollHeight >= e.clientHeight ? e : tr(e.parentElement);
3575
+ return n !== "hidden" && n !== "visible" && e.scrollHeight >= e.clientHeight ? e : ir(e.parentElement);
3546
3576
  }
3547
- function Uo(e) {
3577
+ function Jo(e) {
3548
3578
  let t = {
3549
3579
  top: 0,
3550
3580
  left: 0
@@ -3564,7 +3594,7 @@ function Uo(e) {
3564
3594
  }
3565
3595
  return t;
3566
3596
  }
3567
- function qo(e, t) {
3597
+ function Ko(e, t) {
3568
3598
  const n = e.getBoundingClientRect();
3569
3599
  let r = n.y || n.top, i = n.bottom || r + n.height;
3570
3600
  if (t) {
@@ -3577,7 +3607,7 @@ function qo(e, t) {
3577
3607
  height: o
3578
3608
  };
3579
3609
  }
3580
- function zo(e, t, n) {
3610
+ function Xo(e, t, n) {
3581
3611
  let {
3582
3612
  element: r,
3583
3613
  openingProperties: i
@@ -3606,19 +3636,19 @@ function zo(e, t, n) {
3606
3636
  const {
3607
3637
  y: F,
3608
3638
  height: L
3609
- } = qo(A, K), {
3610
- x: B,
3639
+ } = Ko(A, K), {
3640
+ x: V,
3611
3641
  width: N,
3612
3642
  left: ne
3613
3643
  } = A.getBoundingClientRect();
3614
3644
  $.some((Q) => {
3615
3645
  if (Q === A) return !1;
3616
3646
  const Y = Q.getBoundingClientRect();
3617
- return B >= Y.left && B + N <= Y.right && F >= Y.top && F + L <= Y.bottom;
3647
+ return V >= Y.left && V + N <= Y.right && F >= Y.top && F + L <= Y.bottom;
3618
3648
  }) || i.push({
3619
3649
  width: N + y * 2,
3620
3650
  height: L + y * 2,
3621
- x: (B || ne) + R - y,
3651
+ x: (V || ne) + R - y,
3622
3652
  y: F + D - y,
3623
3653
  r: m
3624
3654
  });
@@ -3653,7 +3683,7 @@ function zo(e, t, n) {
3653
3683
  modalOverlayOpeningRadius: R,
3654
3684
  modalOverlayOpeningXOffset: D = 0,
3655
3685
  modalOverlayOpeningYOffset: K = 0
3656
- } = y.options, W = Uo(y.target), X = tr(y.target), $ = () => {
3686
+ } = y.options, W = Jo(y.target), X = ir(y.target), $ = () => {
3657
3687
  s = void 0, h(m, R, D + W.left, K + W.top, X, y.target, y._resolvedExtraHighlightElements), s = requestAnimationFrame($);
3658
3688
  };
3659
3689
  $(), S();
@@ -3667,12 +3697,12 @@ function zo(e, t, n) {
3667
3697
  "element" in y && n(0, r = y.element), "openingProperties" in y && n(4, i = y.openingProperties);
3668
3698
  }, e.$$.update = () => {
3669
3699
  e.$$.dirty & /*openingProperties*/
3670
- 16 && n(2, c = Wo(i));
3700
+ 16 && n(2, c = qo(i));
3671
3701
  }, [r, o, c, E, i, a, u, d, h, f, g, O];
3672
3702
  }
3673
- class Jo extends ge {
3703
+ class Go extends me {
3674
3704
  constructor(t) {
3675
- super(), pe(this, t, zo, Yo, he, {
3705
+ super(), ge(this, t, Xo, zo, pe, {
3676
3706
  element: 0,
3677
3707
  openingProperties: 4,
3678
3708
  getElement: 5,
@@ -3702,19 +3732,19 @@ class Jo extends ge {
3702
3732
  return this.$$.ctx[10];
3703
3733
  }
3704
3734
  }
3705
- class Ko extends Ft {
3735
+ class Zo extends Dt {
3706
3736
  constructor() {
3707
- super(), this.activeTour = void 0, jt(this);
3737
+ super(), this.activeTour = void 0, $t(this);
3708
3738
  }
3709
3739
  }
3710
- class Xo extends Ft {
3740
+ class Qo extends Dt {
3711
3741
  constructor(t = {}) {
3712
- super(), this.trackedEvents = ["active", "cancel", "complete", "show"], this.classPrefix = void 0, this.currentStep = void 0, this.focusedElBeforeOpen = void 0, this.id = void 0, this.modal = void 0, this.options = void 0, this.steps = void 0, jt(this);
3742
+ super(), this.trackedEvents = ["active", "cancel", "complete", "show"], this.classPrefix = void 0, this.currentStep = void 0, this.focusedElBeforeOpen = void 0, this.id = void 0, this.modal = void 0, this.options = void 0, this.steps = void 0, $t(this);
3713
3743
  const n = {
3714
3744
  exitOnEsc: !0,
3715
3745
  keyboardNavigation: !0
3716
3746
  };
3717
- return this.options = Object.assign({}, n, t), this.classPrefix = $n(this.options.classPrefix), this.steps = [], this.addSteps(this.options.steps), ["active", "cancel", "complete", "inactive", "show", "start"].map((i) => {
3747
+ return this.options = Object.assign({}, n, t), this.classPrefix = Nn(this.options.classPrefix), this.steps = [], this.addSteps(this.options.steps), ["active", "cancel", "complete", "inactive", "show", "start"].map((i) => {
3718
3748
  ((o) => {
3719
3749
  this.on(o, (s) => {
3720
3750
  s = s || {}, s.tour = this, Se.trigger(o, s);
@@ -3731,7 +3761,7 @@ class Xo extends Ft {
3731
3761
  */
3732
3762
  addStep(t, n) {
3733
3763
  let r = t;
3734
- return r instanceof Mt ? r.tour = this : r = new Mt(this, r), U(n) ? this.steps.push(r) : this.steps.splice(n, 0, r), r;
3764
+ return r instanceof Lt ? r.tour = this : r = new Lt(this, r), U(n) ? this.steps.push(r) : this.steps.splice(n, 0, r), r;
3735
3765
  }
3736
3766
  /**
3737
3767
  * Add multiple steps to the tour
@@ -3759,7 +3789,7 @@ class Xo extends Ft {
3759
3789
  if (this.options.confirmCancel) {
3760
3790
  const t = this.options.confirmCancelMessage || "Are you sure you want to stop the tour?";
3761
3791
  let n;
3762
- me(this.options.confirmCancel) ? n = await this.options.confirmCancel() : n = window.confirm(t), n && this._done("cancel");
3792
+ ve(this.options.confirmCancel) ? n = await this.options.confirmCancel() : n = window.confirm(t), n && this._done("cancel");
3763
3793
  } else
3764
3794
  this._done("cancel");
3765
3795
  }
@@ -3823,7 +3853,7 @@ class Xo extends Ft {
3823
3853
  */
3824
3854
  show(t = 0, n = !0) {
3825
3855
  const r = Xe(t) ? this.getById(t) : this.steps[t];
3826
- r && (this._updateStateBeforeShow(), me(r.options.showOn) && !r.options.showOn() ? this._skipStep(r, n) : (this.currentStep = r, this.trigger("show", {
3856
+ r && (this._updateStateBeforeShow(), ve(r.options.showOn) && !r.options.showOn() ? this._skipStep(r, n) : (this.currentStep = r, this.trigger("show", {
3827
3857
  step: r,
3828
3858
  previous: this.currentStep
3829
3859
  }), r.show()));
@@ -3841,7 +3871,7 @@ class Xo extends Ft {
3841
3871
  */
3842
3872
  _done(t) {
3843
3873
  const n = this.steps.indexOf(this.currentStep);
3844
- if (Array.isArray(this.steps) && this.steps.forEach((r) => r.destroy()), No(this), this.trigger(t, {
3874
+ if (Array.isArray(this.steps) && this.steps.forEach((r) => r.destroy()), Uo(this), this.trigger(t, {
3845
3875
  index: n
3846
3876
  }), Se.activeTour = null, this.trigger("inactive", {
3847
3877
  tour: this
@@ -3863,7 +3893,7 @@ class Xo extends Ft {
3863
3893
  * setupModal create the modal container and instance
3864
3894
  */
3865
3895
  setupModal() {
3866
- this.modal = new Jo({
3896
+ this.modal = new Go({
3867
3897
  target: this.options.modalContainer || document.body,
3868
3898
  props: {
3869
3899
  // @ts-expect-error TODO: investigate where styles comes from
@@ -3900,29 +3930,29 @@ class Xo extends Ft {
3900
3930
  * @private
3901
3931
  */
3902
3932
  _setTourID(t) {
3903
- const n = this.options.tourName || "tour", r = t || Bn();
3933
+ const n = this.options.tourName || "tour", r = t || Yn();
3904
3934
  this.id = `${n}--${r}`;
3905
3935
  }
3906
3936
  }
3907
- const Se = new Ko(), nr = typeof window > "u";
3908
- Se.Step = nr ? ei : Mt;
3909
- Se.Tour = nr ? ti : Xo;
3910
- const zt = Pr(
3937
+ const Se = new Zo(), or = typeof window > "u";
3938
+ Se.Step = or ? ri : Lt;
3939
+ Se.Tour = or ? ii : Qo;
3940
+ const Xt = Mr(
3911
3941
  void 0
3912
- ), Zo = zt.Consumer, Qo = () => {
3913
- const e = kr(zt);
3942
+ ), ts = Xt.Consumer, ns = () => {
3943
+ const e = Fr(Xt);
3914
3944
  if (!e)
3915
3945
  throw new Error(
3916
3946
  "useShepherd must be used within a ShepherdJourneyProvider"
3917
3947
  );
3918
3948
  const { Shepherd: t } = e;
3919
3949
  return t;
3920
- }, es = ({
3950
+ }, rs = ({
3921
3951
  children: e
3922
- }) => /* @__PURE__ */ Fr.jsx(zt.Provider, { value: { Shepherd: Se }, children: e });
3952
+ }) => /* @__PURE__ */ jr.jsx(Xt.Provider, { value: { Shepherd: Se }, children: e });
3923
3953
  export {
3924
- Zo as JourneyMethods,
3925
- zt as ShepherdJourneyContext,
3926
- es as ShepherdJourneyProvider,
3927
- Qo as useShepherd
3954
+ ts as JourneyMethods,
3955
+ Xt as ShepherdJourneyContext,
3956
+ rs as ShepherdJourneyProvider,
3957
+ ns as useShepherd
3928
3958
  };