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