react-shepherd 6.1.8 → 6.1.9
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.d.ts +2 -2
- package/dist/index.js +1589 -1546
- package/dist/index.umd.cjs +10 -10
- package/package.json +7 -7
package/dist/index.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(ce,ve){typeof exports=="object"&&typeof module<"u"?ve(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],ve):(ce=typeof globalThis<"u"?globalThis:ce||self,ve(ce.ShepherdProReact={},ce.require$$0))})(this,function(ce,ve){"use strict";var rt={exports:{}},Ke={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var Qt;function cr(){if(Qt)return Ke;Qt=1;var e=ve,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(c,a,u){var h,d={},f=null,p=null;u!==void 0&&(f=""+u),a.key!==void 0&&(f=""+a.key),a.ref!==void 0&&(p=a.ref);for(h in a)r.call(a,h)&&!i.hasOwnProperty(h)&&(d[h]=a[h]);if(c&&c.defaultProps)for(h in a=c.defaultProps,a)d[h]===void 0&&(d[h]=a[h]);return{$$typeof:t,type:c,key:f,ref:p,props:d,_owner:o.current}}return Ke.Fragment=n,Ke.jsx=s,Ke.jsxs=s,Ke}var $e={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,17 +14,17 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
18
|
-
`+
|
|
19
|
-
`),
|
|
20
|
-
`),
|
|
21
|
-
`+
|
|
17
|
+
*/var en;function ar(){return en||(en=1,process.env.NODE_ENV!=="production"&&function(){var e=ve,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=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"),h=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),y=Symbol.iterator,w="@@iterator";function S(l){if(l===null||typeof l!="object")return null;var g=y&&l[y]||l[w];return typeof g=="function"?g:null}var _=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(l){{for(var g=arguments.length,b=new Array(g>1?g-1:0),x=1;x<g;x++)b[x-1]=arguments[x];O("error",l,b)}}function O(l,g,b){{var x=_.ReactDebugCurrentFrame,k=x.getStackAddendum();k!==""&&(g+="%s",b=b.concat([k]));var L=b.map(function(C){return String(C)});L.unshift("Warning: "+g),Function.prototype.apply.call(console[l],console,L)}}var v=!1,T=!1,j=!1,D=!1,U=!1,W;W=Symbol.for("react.module.reference");function m(l){return!!(typeof l=="string"||typeof l=="function"||l===r||l===i||U||l===o||l===u||l===h||D||l===p||v||T||j||typeof l=="object"&&l!==null&&(l.$$typeof===f||l.$$typeof===d||l.$$typeof===s||l.$$typeof===c||l.$$typeof===a||l.$$typeof===W||l.getModuleId!==void 0))}function P(l,g,b){var x=l.displayName;if(x)return x;var k=g.displayName||g.name||"";return k!==""?b+"("+k+")":b}function A(l){return l.displayName||"Context"}function M(l){if(l==null)return null;if(typeof l.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case r:return"Fragment";case n:return"Portal";case i:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case h:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case c:var g=l;return A(g)+".Consumer";case s:var b=l;return A(b._context)+".Provider";case a:return P(l,l.render,"ForwardRef");case d:var x=l.displayName||null;return x!==null?x:M(l.type)||"Memo";case f:{var k=l,L=k._payload,C=k._init;try{return M(C(L))}catch{return null}}}return null}var H=Object.assign,Y=0,te,z,De,se,J,Q,le;function bt(){}bt.__reactDisabledLog=!0;function Ii(){{if(Y===0){te=console.log,z=console.info,De=console.warn,se=console.error,J=console.group,Q=console.groupCollapsed,le=console.groupEnd;var l={configurable:!0,enumerable:!0,value:bt,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}Y++}}function Di(){{if(Y--,Y===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:H({},l,{value:te}),info:H({},l,{value:z}),warn:H({},l,{value:De}),error:H({},l,{value:se}),group:H({},l,{value:J}),groupCollapsed:H({},l,{value:Q}),groupEnd:H({},l,{value:le})})}Y<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var qt=_.ReactCurrentDispatcher,zt;function vt(l,g,b){{if(zt===void 0)try{throw Error()}catch(k){var x=k.stack.trim().match(/\n( *(at )?)/);zt=x&&x[1]||""}return`
|
|
18
|
+
`+zt+l}}var Jt=!1,yt;{var Fi=typeof WeakMap=="function"?WeakMap:Map;yt=new Fi}function Jn(l,g){if(!l||Jt)return"";{var b=yt.get(l);if(b!==void 0)return b}var x;Jt=!0;var k=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var L;L=qt.current,qt.current=null,Ii();try{if(g){var C=function(){throw Error()};if(Object.defineProperty(C.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(C,[])}catch(X){x=X}Reflect.construct(l,[],C)}else{try{C.call()}catch(X){x=X}l.call(C.prototype)}}else{try{throw Error()}catch(X){x=X}l()}}catch(X){if(X&&x&&typeof X.stack=="string"){for(var R=X.stack.split(`
|
|
19
|
+
`),K=x.stack.split(`
|
|
20
|
+
`),V=R.length-1,N=K.length-1;V>=1&&N>=0&&R[V]!==K[N];)N--;for(;V>=1&&N>=0;V--,N--)if(R[V]!==K[N]){if(V!==1||N!==1)do if(V--,N--,N<0||R[V]!==K[N]){var ne=`
|
|
21
|
+
`+R[V].replace(" at new "," at ");return l.displayName&&ne.includes("<anonymous>")&&(ne=ne.replace("<anonymous>",l.displayName)),typeof l=="function"&&yt.set(l,ne),ne}while(V>=1&&N>=0);break}}}finally{Jt=!1,qt.current=L,Di(),Error.prepareStackTrace=k}var Je=l?l.displayName||l.name:"",Fe=Je?vt(Je):"";return typeof l=="function"&&yt.set(l,Fe),Fe}function Mi(l,g,b){return Jn(l,!1)}function Li(l){var g=l.prototype;return!!(g&&g.isReactComponent)}function wt(l,g,b){if(l==null)return"";if(typeof l=="function")return Jn(l,Li(l));if(typeof l=="string")return vt(l);switch(l){case u:return vt("Suspense");case h:return vt("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case a:return Mi(l.render);case d:return wt(l.type,g,b);case f:{var x=l,k=x._payload,L=x._init;try{return wt(L(k),g,b)}catch{}}}return""}var nt=Object.prototype.hasOwnProperty,Kn={},$n=_.ReactDebugCurrentFrame;function _t(l){if(l){var g=l._owner,b=wt(l.type,l._source,g?g.type:null);$n.setExtraStackFrame(b)}else $n.setExtraStackFrame(null)}function ji(l,g,b,x,k){{var L=Function.call.bind(nt);for(var C in l)if(L(l,C)){var R=void 0;try{if(typeof l[C]!="function"){var K=Error((x||"React class")+": "+b+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw K.name="Invariant Violation",K}R=l[C](g,C,x,b,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(V){R=V}R&&!(R instanceof Error)&&(_t(k),E("%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,C,typeof R),_t(null)),R instanceof Error&&!(R.message in Kn)&&(Kn[R.message]=!0,_t(k),E("Failed %s type: %s",b,R.message),_t(null))}}}var Hi=Array.isArray;function Kt(l){return Hi(l)}function Bi(l){{var g=typeof Symbol=="function"&&Symbol.toStringTag,b=g&&l[Symbol.toStringTag]||l.constructor.name||"Object";return b}}function Vi(l){try{return Xn(l),!1}catch{return!0}}function Xn(l){return""+l}function Gn(l){if(Vi(l))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Bi(l)),Xn(l)}var Zn=_.ReactCurrentOwner,Ni={key:!0,ref:!0,__self:!0,__source:!0},Qn,er;function Wi(l){if(nt.call(l,"ref")){var g=Object.getOwnPropertyDescriptor(l,"ref").get;if(g&&g.isReactWarning)return!1}return l.ref!==void 0}function Yi(l){if(nt.call(l,"key")){var g=Object.getOwnPropertyDescriptor(l,"key").get;if(g&&g.isReactWarning)return!1}return l.key!==void 0}function Ui(l,g){typeof l.ref=="string"&&Zn.current}function qi(l,g){{var b=function(){Qn||(Qn=!0,E("%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)",g))};b.isReactWarning=!0,Object.defineProperty(l,"key",{get:b,configurable:!0})}}function zi(l,g){{var b=function(){er||(er=!0,E("%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)",g))};b.isReactWarning=!0,Object.defineProperty(l,"ref",{get:b,configurable:!0})}}var Ji=function(l,g,b,x,k,L,C){var R={$$typeof:t,type:l,key:g,ref:b,props:C,_owner:L};return R._store={},Object.defineProperty(R._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(R,"_self",{configurable:!1,enumerable:!1,writable:!1,value:x}),Object.defineProperty(R,"_source",{configurable:!1,enumerable:!1,writable:!1,value:k}),Object.freeze&&(Object.freeze(R.props),Object.freeze(R)),R};function Ki(l,g,b,x,k){{var L,C={},R=null,K=null;b!==void 0&&(Gn(b),R=""+b),Yi(g)&&(Gn(g.key),R=""+g.key),Wi(g)&&(K=g.ref,Ui(g,k));for(L in g)nt.call(g,L)&&!Ni.hasOwnProperty(L)&&(C[L]=g[L]);if(l&&l.defaultProps){var V=l.defaultProps;for(L in V)C[L]===void 0&&(C[L]=V[L])}if(R||K){var N=typeof l=="function"?l.displayName||l.name||"Unknown":l;R&&qi(C,N),K&&zi(C,N)}return Ji(l,R,K,k,x,Zn.current,C)}}var $t=_.ReactCurrentOwner,tr=_.ReactDebugCurrentFrame;function ze(l){if(l){var g=l._owner,b=wt(l.type,l._source,g?g.type:null);tr.setExtraStackFrame(b)}else tr.setExtraStackFrame(null)}var Xt;Xt=!1;function Gt(l){return typeof l=="object"&&l!==null&&l.$$typeof===t}function nr(){{if($t.current){var l=M($t.current.type);if(l)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+l+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+l+"`."}return""}}function $i(l){return""}var rr={};function Xi(l){{var g=nr();if(!g){var b=typeof l=="string"?l:l.displayName||l.name;b&&(g=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+
|
|
25
|
+
Check the top-level render call using <`+b+">.")}return g}}function or(l,g){{if(!l._store||l._store.validated||l.key!=null)return;l._store.validated=!0;var b=Xi(g);if(rr[b])return;rr[b]=!0;var x="";l&&l._owner&&l._owner!==$t.current&&(x=" It was passed a child from "+M(l._owner.type)+"."),ze(l),E('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),ze(null)}}function ir(l,g){{if(typeof l!="object")return;if(Kt(l))for(var b=0;b<l.length;b++){var x=l[b];Gt(x)&&or(x,g)}else if(Gt(l))l._store&&(l._store.validated=!0);else if(l){var k=S(l);if(typeof k=="function"&&k!==l.entries)for(var L=k.call(l),C;!(C=L.next()).done;)Gt(C.value)&&or(C.value,g)}}}function Gi(l){{var g=l.type;if(g==null||typeof g=="string")return;var b;if(typeof g=="function")b=g.propTypes;else if(typeof g=="object"&&(g.$$typeof===a||g.$$typeof===d))b=g.propTypes;else return;if(b){var x=M(g);ji(b,l.props,"prop",x,l)}else if(g.PropTypes!==void 0&&!Xt){Xt=!0;var k=M(g);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",k||"Unknown")}typeof g.getDefaultProps=="function"&&!g.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Zi(l){{for(var g=Object.keys(l.props),b=0;b<g.length;b++){var x=g[b];if(x!=="children"&&x!=="key"){ze(l),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",x),ze(null);break}}l.ref!==null&&(ze(l),E("Invalid attribute `ref` supplied to `React.Fragment`."),ze(null))}}var sr={};function lr(l,g,b,x,k,L){{var C=m(l);if(!C){var R="";(l===void 0||typeof l=="object"&&l!==null&&Object.keys(l).length===0)&&(R+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var K=$i();K?R+=K:R+=nr();var V;l===null?V="null":Kt(l)?V="array":l!==void 0&&l.$$typeof===t?(V="<"+(M(l.type)||"Unknown")+" />",R=" Did you accidentally export a JSX literal instead of a component?"):V=typeof l,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",V,R)}var N=Ki(l,g,b,k,L);if(N==null)return N;if(C){var ne=g.children;if(ne!==void 0)if(x)if(Kt(ne)){for(var Je=0;Je<ne.length;Je++)ir(ne[Je],l);Object.freeze&&Object.freeze(ne)}else E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ir(ne,l)}if(nt.call(g,"key")){var Fe=M(l),X=Object.keys(g).filter(function(os){return os!=="key"}),Zt=X.length>0?"{key: someKey, "+X.join(": ..., ")+": ...}":"{key: someKey}";if(!sr[Fe+Zt]){var rs=X.length>0?"{"+X.join(": ..., ")+": ...}":"{}";E(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,Xt,Ie,ts,Ie),or[Ie+Xt]=!0}}return l===r?Xo(V):Ko(V),V}}function Go(l,p,v){return sr(l,p,v,!0)}function Zo(l,p,v){return sr(l,p,v,!1)}var Qo=Zo,es=Go;Je.Fragment=r,Je.jsx=Qo,Je.jsxs=es}()),Je}var Qt;function ar(){return Qt||(Qt=1,process.env.NODE_ENV==="production"?nt.exports=lr():nt.exports=cr()),nt.exports}var ur=ar();/*! shepherd.js 14.5.0 */function fr(e){return e instanceof Element}function Me(e){return e instanceof HTMLElement}function ye(e){return typeof e=="function"}function Ke(e){return typeof e=="string"}function W(e){return e===void 0}class _t{on(t,n,r,i=!1){var o;return W(this.bindings)&&(this.bindings={}),W(this.bindings[t])&&(this.bindings[t]=[]),(o=this.bindings[t])==null||o.push({handler:n,ctx:r,once:i}),this}once(t,n,r){return this.on(t,n,r,!0)}off(t,n){if(W(this.bindings)||W(this.bindings[t]))return this;if(W(n))delete this.bindings[t];else{var r;(r=this.bindings[t])==null||r.forEach((i,o)=>{if(i.handler===n){var s;(s=this.bindings[t])==null||s.splice(o,1)}})}return this}trigger(t,...n){if(!W(this.bindings)&&this.bindings[t]){var r;(r=this.bindings[t])==null||r.forEach((i,o)=>{const{ctx:s,handler:c,once:a}=i,u=s||this;if(c.apply(u,n),a){var d;(d=this.bindings[t])==null||d.splice(o,1)}})}return this}}function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z.apply(null,arguments)}function Et(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}const we={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};we.defaultMerge;function dr(e,t){return t}function hr(e,t){return e.filter(n=>n!==void 0)}var en;(function(e){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"})(en||(en={}));function tn(e){return typeof e!="object"||e===null?0:Array.isArray(e)?2:mr(e)?1:e instanceof Set?3:e instanceof Map?4:5}function pr(e){const t=new Set;for(const n of e)for(const r of[...Object.keys(n),...Object.getOwnPropertySymbols(n)])t.add(r);return t}function gr(e,t){return typeof e=="object"&&Object.prototype.propertyIsEnumerable.call(e,t)}function nn(e){return{*[Symbol.iterator](){for(const t of e)for(const n of t)yield n}}}const rn=new Set(["[object Object]","[object Module]"]);function mr(e){if(!rn.has(Object.prototype.toString.call(e)))return!1;const{constructor:t}=e;if(t===void 0)return!0;const n=t.prototype;return!(n===null||typeof n!="object"||!rn.has(Object.prototype.toString.call(n))||!n.hasOwnProperty("isPrototypeOf"))}function vr(e,t,n){const r={};for(const i of pr(e)){const o=[];for(const a of e)gr(a,i)&&o.push(a[i]);if(o.length===0)continue;const s=t.metaDataUpdater(n,{key:i,parents:e}),c=on(o,t,s);c!==we.skip&&(i==="__proto__"?Object.defineProperty(r,i,{value:c,configurable:!0,enumerable:!0,writable:!0}):r[i]=c)}return r}function br(e){return e.flat()}function yr(e){return new Set(nn(e))}function wr(e){return new Map(nn(e))}function _r(e){return e.at(-1)}const rt={mergeRecords:vr,mergeArrays:br,mergeSets:yr,mergeMaps:wr,mergeOthers:_r};function xt(...e){return Er({})(...e)}function Er(e,t){const n=xr(e,r);function r(...i){return on(i,n,t)}return r}function xr(e,t){var n,r,i;return{defaultMergeFunctions:rt,mergeFunctions:z({},rt,Object.fromEntries(Object.entries(e).filter(([o,s])=>Object.hasOwn(rt,o)).map(([o,s])=>s===!1?[o,rt.mergeOthers]:[o,s]))),metaDataUpdater:(n=e.metaDataUpdater)!=null?n:dr,deepmerge:t,useImplicitDefaultMerging:(r=e.enableImplicitDefaultMerging)!=null?r:!1,filterValues:e.filterValues===!1?void 0:(i=e.filterValues)!=null?i:hr,actions:we}}function on(e,t,n){var r;const i=(r=t.filterValues==null?void 0:t.filterValues(e,n))!=null?r:e;if(i.length===0)return;if(i.length===1)return St(i,t,n);const o=tn(i[0]);if(o!==0&&o!==5){for(let s=1;s<i.length;s++)if(tn(i[s])!==o)return St(i,t,n)}switch(o){case 1:return Sr(i,t,n);case 2:return Or(i,t,n);case 3:return Rr(i,t,n);case 4:return Tr(i,t,n);default:return St(i,t,n)}}function Sr(e,t,n){const r=t.mergeFunctions.mergeRecords(e,t,n);return r===we.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeRecords!==t.defaultMergeFunctions.mergeRecords?t.defaultMergeFunctions.mergeRecords(e,t,n):r}function Or(e,t,n){const r=t.mergeFunctions.mergeArrays(e,t,n);return r===we.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeArrays!==t.defaultMergeFunctions.mergeArrays?t.defaultMergeFunctions.mergeArrays(e):r}function Rr(e,t,n){const r=t.mergeFunctions.mergeSets(e,t,n);return r===we.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeSets!==t.defaultMergeFunctions.mergeSets?t.defaultMergeFunctions.mergeSets(e):r}function Tr(e,t,n){const r=t.mergeFunctions.mergeMaps(e,t,n);return r===we.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeMaps!==t.defaultMergeFunctions.mergeMaps?t.defaultMergeFunctions.mergeMaps(e):r}function St(e,t,n){const r=t.mergeFunctions.mergeOthers(e,t,n);return r===we.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeOthers!==t.defaultMergeFunctions.mergeOthers?t.defaultMergeFunctions.mergeOthers(e):r}function Ot(e){const t=Object.getOwnPropertyNames(e.constructor.prototype);for(let n=0;n<t.length;n++){const r=t[n],i=e[r];r!=="constructor"&&typeof i=="function"&&(e[r]=i.bind(e))}return e}function Cr(e,t){return n=>{if(e.isOpen()){const r=e.el&&n.currentTarget===e.el;(!W(t)&&n.currentTarget.matches(t)||r)&&e.tour.next()}}}function Ar(e){const{event:t,selector:n}=e.options.advanceOn||{};if(t){const r=Cr(e,n);let i=null;if(!W(n)&&(i=document.querySelector(n),!i))return console.error(`No element was found for the selector supplied to advanceOn: ${n}`);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)))}else return console.error("advanceOn was defined, but no event name was passed.")}class Pr{constructor(t){}}class kr{constructor(t,n){}}function sn(e){return!Ke(e)||e===""?"":e.charAt(e.length-1)!=="-"?`${e}-`:e}function Ir(e){const t=e.options.attachTo||{},n=Object.assign({},t);if(ye(n.element)&&(n.element=n.element.call(e)),Ke(n.element)){try{n.element=document.querySelector(n.element)}catch{}n.element||console.error(`The element for this Shepherd step was not found ${t.element}`)}return n}function Mr(e){return e.options.extraHighlights?e.options.extraHighlights.flatMap(t=>Array.from(document.querySelectorAll(t))):[]}function ln(e){return e==null?!0:!e.element||!e.on}function cn(){let e=Date.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(t=="x"?n:n&3|8).toString(16)})}const Fr=["top","right","bottom","left"],an=["start","end"],un=Fr.reduce((e,t)=>e.concat(t,t+"-"+an[0],t+"-"+an[1]),[]),Fe=Math.min,Se=Math.max,it=Math.round,ot=Math.floor,ce=e=>({x:e,y:e}),Lr={left:"right",right:"left",bottom:"top",top:"bottom"},Dr={start:"end",end:"start"};function Rt(e,t,n){return Se(e,Fe(t,n))}function Oe(e,t){return typeof e=="function"?e(t):e}function de(e){return e.split("-")[0]}function he(e){return e.split("-")[1]}function Tt(e){return e==="x"?"y":"x"}function Ct(e){return e==="y"?"height":"width"}function Le(e){return["top","bottom"].includes(de(e))?"y":"x"}function At(e){return Tt(Le(e))}function fn(e,t,n){n===void 0&&(n=!1);const r=he(e),i=At(e),o=Ct(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=lt(s)),[s,lt(s)]}function jr(e){const t=lt(e);return[st(e),t,st(t)]}function st(e){return e.replace(/start|end/g,t=>Dr[t])}function Hr(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:s;default:return[]}}function Br(e,t,n,r){const i=he(e);let o=Hr(de(e),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(st)))),o}function lt(e){return e.replace(/left|right|bottom|top/g,t=>Lr[t])}function Vr(e){return z({top:0,right:0,bottom:0,left:0},e)}function dn(e){return typeof e!="number"?Vr(e):{top:e,right:e,bottom:e,left:e}}function ct(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}const Nr=["crossAxis","alignment","allowedPlacements","autoAlignment"],$r=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],Wr=["mainAxis","crossAxis","limiter"];function hn(e,t,n){let{reference:r,floating:i}=e;const o=Le(t),s=At(t),c=Ct(s),a=de(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;let g;switch(a){case"top":g={x:d,y:r.y-i.height};break;case"bottom":g={x:d,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:h};break;case"left":g={x:r.x-i.width,y:h};break;default:g={x:r.x,y:r.y}}switch(he(t)){case"start":g[s]-=f*(n&&u?-1:1);break;case"end":g[s]+=f*(n&&u?-1:1);break}return g}const Yr=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,c=o.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:h}=hn(u,r,a),f=r,g={},b=0;for(let E=0;E<c.length;E++){const{name:S,fn:w}=c[E],{x:_,y:O,data:y,reset:m}=await w({x:d,y:h,initialPlacement:r,placement:f,strategy:i,middlewareData:g,rects:u,platform:s,elements:{reference:e,floating:t}});d=_??d,h=O??h,g=z({},g,{[S]:z({},g[S],y)}),m&&b<=50&&(b++,typeof m=="object"&&(m.placement&&(f=m.placement),m.rects&&(u=m.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):m.rects),{x:d,y:h}=hn(u,f,a)),E=-1)}return{x:d,y:h,placement:f,strategy:i,middlewareData:g}};async function Pt(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:s,elements:c,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:f=!1,padding:g=0}=Oe(t,e),b=dn(g),S=c[f?h==="floating"?"reference":"floating":h],w=ct(await o.getClippingRect({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)),boundary:u,rootBoundary:d,strategy:a})),_=h==="floating"?{x:r,y:i,width:s.floating.width,height:s.floating.height}: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))||{x:1,y:1}:{x:1,y:1},m=ct(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:_,offsetParent:O,strategy:a}):_);return{top:(w.top-m.top+b.top)/y.y,bottom:(m.bottom-w.bottom+b.bottom)/y.y,left:(w.left-m.left+b.left)/y.x,right:(m.right-w.right+b.right)/y.x}}const Ur=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:s,elements:c,middlewareData:a}=t,{element:u,padding:d=0}=Oe(e,t)||{};if(u==null)return{};const h=dn(d),f={x:n,y:r},g=At(i),b=Ct(g),E=await s.getDimensions(u),S=g==="y",w=S?"top":"left",_=S?"bottom":"right",O=S?"clientHeight":"clientWidth",y=o.reference[b]+o.reference[g]-f[g]-o.floating[b],m=f[g]-o.reference[g],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let j=R?R[O]:0;(!j||!await(s.isElement==null?void 0:s.isElement(R)))&&(j=c.floating[O]||o.floating[b]);const G=y/2-m/2,Y=j/2-E[b]/2-1,Z=Fe(h[w],Y),B=Fe(h[_],Y),A=Z,F=j-E[b]-B,L=j/2-E[b]/2+G,N=Rt(A,L,F),$=!a.arrow&&he(i)!=null&&L!==N&&o.reference[b]/2-(L<A?Z:B)-E[b]/2<0,oe=$?L<A?L-A:L-F:0;return{[g]:f[g]+oe,data:z({[g]:N,centerOffset:L-N-oe},$&&{alignmentOffset:oe}),reset:$}}});function qr(e,t,n){return(e?[...n.filter(i=>he(i)===e),...n.filter(i=>he(i)!==e)]:n.filter(i=>de(i)===i)).filter(i=>e?he(i)===e||(t?st(i)!==i:!1):!0)}const zr=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(n){var r,i,o;const{rects:s,middlewareData:c,placement:a,platform:u,elements:d}=n,h=Oe(t,n),{crossAxis:f=!1,alignment:g,allowedPlacements:b=un,autoAlignment:E=!0}=h,S=Et(h,Nr),w=g!==void 0||b===un?qr(g||null,E,b):b,_=await Pt(n,S),O=((r=c.autoPlacement)==null?void 0:r.index)||0,y=w[O];if(y==null)return{};const m=fn(y,s,await(u.isRTL==null?void 0:u.isRTL(d.floating)));if(a!==y)return{reset:{placement:w[0]}};const R=[_[de(y)],_[m[0]],_[m[1]]],j=[...((i=c.autoPlacement)==null?void 0:i.overflows)||[],{placement:y,overflows:R}],G=w[O+1];if(G)return{data:{index:O+1,overflows:j},reset:{placement:G}};const Y=j.map(A=>{const F=he(A.placement);return[A.placement,F&&f?A.overflows.slice(0,2).reduce((L,N)=>L+N,0):A.overflows[0],A.overflows]}).sort((A,F)=>A[1]-F[1]),B=((o=Y.filter(A=>A[2].slice(0,he(A[0])?2:3).every(F=>F<=0))[0])==null?void 0:o[0])||Y[0][0];return B!==a?{data:{index:O+1,overflows:j},reset:{placement:B}}:{}}}},Jr=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(n){var r,i;const{placement:o,middlewareData:s,rects:c,initialPlacement:a,platform:u,elements:d}=n,h=Oe(t,n),{mainAxis:f=!0,crossAxis:g=!0,fallbackPlacements:b,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:w=!0}=h,_=Et(h,$r);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const O=de(o),y=Le(a),m=de(a)===a,R=await(u.isRTL==null?void 0:u.isRTL(d.floating)),j=b||(m||!w?[lt(a)]:jr(a)),G=S!=="none";!b&&G&&j.push(...Br(a,w,S,R));const Y=[a,...j],Z=await Pt(n,_),B=[];let A=((i=s.flip)==null?void 0:i.overflows)||[];if(f&&B.push(Z[O]),g){const $=fn(o,c,R);B.push(Z[$[0]],Z[$[1]])}if(A=[...A,{placement:o,overflows:B}],!B.every($=>$<=0)){var F,L;const $=(((F=s.flip)==null?void 0:F.index)||0)+1,oe=Y[$];if(oe)return{data:{index:$,overflows:A},reset:{placement:oe}};let ve=(L=A.filter(ee=>ee.overflows[0]<=0).sort((ee,U)=>ee.overflows[1]-U.overflows[1])[0])==null?void 0:L.placement;if(!ve)switch(E){case"bestFit":{var N;const ee=(N=A.filter(U=>{if(G){const se=Le(U.placement);return se===y||se==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(se=>se>0).reduce((se,mt)=>se+mt,0)]).sort((U,se)=>U[1]-se[1])[0])==null?void 0:N[0];ee&&(ve=ee);break}case"initialPlacement":ve=a;break}if(o!==ve)return{reset:{placement:ve}}}return{}}}},Kr=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(n){const{x:r,y:i,placement:o}=n,s=Oe(t,n),{mainAxis:c=!0,crossAxis:a=!1,limiter:u={fn:_=>{let{x:O,y}=_;return{x:O,y}}}}=s,d=Et(s,Wr),h={x:r,y:i},f=await Pt(n,d),g=Le(de(o)),b=Tt(g);let E=h[b],S=h[g];if(c){const _=b==="y"?"top":"left",O=b==="y"?"bottom":"right",y=E+f[_],m=E-f[O];E=Rt(y,E,m)}if(a){const _=g==="y"?"top":"left",O=g==="y"?"bottom":"right",y=S+f[_],m=S-f[O];S=Rt(y,S,m)}const w=u.fn(z({},n,{[b]:E,[g]:S}));return z({},w,{data:{x:w.x-r,y:w.y-i}})}}},Xr=function(t){return t===void 0&&(t={}),{options:t,fn(n){const{x:r,y:i,placement:o,rects:s,middlewareData:c}=n,{offset:a=0,mainAxis:u=!0,crossAxis:d=!0}=Oe(t,n),h={x:r,y:i},f=Le(o),g=Tt(f);let b=h[g],E=h[f];const S=Oe(a,n),w=typeof S=="number"?{mainAxis:S,crossAxis:0}:z({mainAxis:0,crossAxis:0},S);if(u){const y=g==="y"?"height":"width",m=s.reference[g]-s.floating[y]+w.mainAxis,R=s.reference[g]+s.reference[y]-w.mainAxis;b<m?b=m:b>R&&(b=R)}if(d){var _,O;const y=g==="y"?"width":"height",m=["top","left"].includes(de(o)),R=s.reference[f]-s.floating[y]+(m&&((_=c.offset)==null?void 0:_[f])||0)+(m?0:w.crossAxis),j=s.reference[f]+s.reference[y]+(m?0:((O=c.offset)==null?void 0:O[f])||0)-(m?w.crossAxis:0);E<R?E=R:E>j&&(E=j)}return{[g]:b,[f]:E}}}};function at(){return typeof window<"u"}function De(e){return pn(e)?(e.nodeName||"").toLowerCase():"#document"}function K(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ae(e){var t;return(t=(pn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function pn(e){return at()?e instanceof Node||e instanceof K(e).Node:!1}function ne(e){return at()?e instanceof Element||e instanceof K(e).Element:!1}function ue(e){return at()?e instanceof HTMLElement||e instanceof K(e).HTMLElement:!1}function gn(e){return!at()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof K(e).ShadowRoot}function Xe(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=re(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function Gr(e){return["table","td","th"].includes(De(e))}function ut(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function kt(e){const t=It(),n=ne(e)?re(e):e;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))}function Zr(e){let t=_e(e);for(;ue(t)&&!je(t);){if(kt(t))return t;if(ut(t))return null;t=_e(t)}return null}function It(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function je(e){return["html","body","#document"].includes(De(e))}function re(e){return K(e).getComputedStyle(e)}function ft(e){return ne(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function _e(e){if(De(e)==="html")return e;const t=e.assignedSlot||e.parentNode||gn(e)&&e.host||ae(e);return gn(t)?t.host:t}function mn(e){const t=_e(e);return je(t)?e.ownerDocument?e.ownerDocument.body:e.body:ue(t)&&Xe(t)?t:mn(t)}function Ge(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=mn(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=K(i);if(o){const c=Mt(s);return t.concat(s,s.visualViewport||[],Xe(i)?i:[],c&&n?Ge(c):[])}return t.concat(i,Ge(i,[],n))}function Mt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function vn(e){const t=re(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=ue(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,c=it(n)!==o||it(r)!==s;return c&&(n=o,r=s),{width:n,height:r,$:c}}function Ft(e){return ne(e)?e:e.contextElement}function He(e){const t=Ft(e);if(!ue(t))return ce(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=vn(t);let s=(o?it(n.width):n.width)/r,c=(o?it(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Qr=ce(0);function bn(e){const t=K(e);return!It()||!t.visualViewport?Qr:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ei(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==K(e)?!1:t}function Re(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=Ft(e);let s=ce(1);t&&(r?ne(r)&&(s=He(r)):s=He(e));const c=ei(o,n,r)?bn(o):ce(0);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;if(o){const f=K(o),g=r&&ne(r)?K(r):r;let b=f,E=Mt(b);for(;E&&r&&g!==b;){const S=He(E),w=E.getBoundingClientRect(),_=re(E),O=w.left+(E.clientLeft+parseFloat(_.paddingLeft))*S.x,y=w.top+(E.clientTop+parseFloat(_.paddingTop))*S.y;a*=S.x,u*=S.y,d*=S.x,h*=S.y,a+=O,u+=y,b=K(E),E=Mt(b)}}return ct({width:d,height:h,x:a,y:u})}function Lt(e,t){const n=ft(e).scrollLeft;return t?t.left+n:Re(ae(e)).left+n}function yn(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:Lt(e,r)),o=r.top+t.scrollTop;return{x:i,y:o}}function ti(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",s=ae(r),c=t?ut(t.floating):!1;if(r===s||c&&o)return n;let a={scrollLeft:0,scrollTop:0},u=ce(1);const d=ce(0),h=ue(r);if((h||!h&&!o)&&((De(r)!=="body"||Xe(s))&&(a=ft(r)),ue(r))){const g=Re(r);u=He(r),d.x=g.x+r.clientLeft,d.y=g.y+r.clientTop}const f=s&&!h&&!o?yn(s,a,!0):ce(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+d.x+f.x,y:n.y*u.y-a.scrollTop*u.y+d.y+f.y}}function ni(e){return Array.from(e.getClientRects())}function ri(e){const t=ae(e),n=ft(e),r=e.ownerDocument.body,i=Se(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Se(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Lt(e);const c=-n.scrollTop;return re(r).direction==="rtl"&&(s+=Se(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:c}}function ii(e,t){const n=K(e),r=ae(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,c=0,a=0;if(i){o=i.width,s=i.height;const u=It();(!u||u&&t==="fixed")&&(c=i.offsetLeft,a=i.offsetTop)}return{width:o,height:s,x:c,y:a}}function oi(e,t){const n=Re(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=ue(e)?He(e):ce(1),s=e.clientWidth*o.x,c=e.clientHeight*o.y,a=i*o.x,u=r*o.y;return{width:s,height:c,x:a,y:u}}function wn(e,t,n){let r;if(t==="viewport")r=ii(e,n);else if(t==="document")r=ri(ae(e));else if(ne(t))r=oi(t,n);else{const i=bn(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return ct(r)}function _n(e,t){const n=_e(e);return n===t||!ne(n)||je(n)?!1:re(n).position==="fixed"||_n(n,t)}function si(e,t){const n=t.get(e);if(n)return n;let r=Ge(e,[],!1).filter(c=>ne(c)&&De(c)!=="body"),i=null;const o=re(e).position==="fixed";let s=o?_e(e):e;for(;ne(s)&&!je(s);){const c=re(s),a=kt(s);!a&&c.position==="fixed"&&(i=null),(o?!a&&!i:!a&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Xe(s)&&!a&&_n(e,s))?r=r.filter(d=>d!==s):i=c,s=_e(s)}return t.set(e,r),r}function li(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const s=[...n==="clippingAncestors"?ut(t)?[]:si(t,this._c):[].concat(n),r],c=s[0],a=s.reduce((u,d)=>{const h=wn(t,d,i);return u.top=Se(h.top,u.top),u.right=Fe(h.right,u.right),u.bottom=Fe(h.bottom,u.bottom),u.left=Se(h.left,u.left),u},wn(t,c,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function ci(e){const{width:t,height:n}=vn(e);return{width:t,height:n}}function ai(e,t,n){const r=ue(t),i=ae(t),o=n==="fixed",s=Re(e,!0,o,t);let c={scrollLeft:0,scrollTop:0};const a=ce(0);if(r||!r&&!o)if((De(t)!=="body"||Xe(i))&&(c=ft(t)),r){const f=Re(t,!0,o,t);a.x=f.x+t.clientLeft,a.y=f.y+t.clientTop}else i&&(a.x=Lt(i));const u=i&&!r&&!o?yn(i,c):ce(0),d=s.left+c.scrollLeft-a.x-u.x,h=s.top+c.scrollTop-a.y-u.y;return{x:d,y:h,width:s.width,height:s.height}}function Dt(e){return re(e).position==="static"}function En(e,t){if(!ue(e)||re(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ae(e)===n&&(n=n.ownerDocument.body),n}function xn(e,t){const n=K(e);if(ut(e))return n;if(!ue(e)){let i=_e(e);for(;i&&!je(i);){if(ne(i)&&!Dt(i))return i;i=_e(i)}return n}let r=En(e,t);for(;r&&Gr(r)&&Dt(r);)r=En(r,t);return r&&je(r)&&Dt(r)&&!kt(r)?n:r||Zr(e)||n}const ui=async function(t){const n=this.getOffsetParent||xn,r=this.getDimensions,i=await r(t.floating);return{reference:ai(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function fi(e){return re(e).direction==="rtl"}const di={convertOffsetParentRelativeRectToViewportRelativeRect:ti,getDocumentElement:ae,getClippingRect:li,getOffsetParent:xn,getElementRects:ui,getClientRects:ni,getDimensions:ci,getScale:He,isElement:ne,isRTL:fi};function hi(e,t){let n=null,r;const i=ae(e);function o(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function s(c,a){c===void 0&&(c=!1),a===void 0&&(a=1),o();const{left:u,top:d,width:h,height:f}=e.getBoundingClientRect();if(c||t(),!h||!f)return;const g=ot(d),b=ot(i.clientWidth-(u+h)),E=ot(i.clientHeight-(d+f)),S=ot(u),_={rootMargin:-g+"px "+-b+"px "+-E+"px "+-S+"px",threshold:Se(0,Fe(1,a))||1};let O=!0;function y(m){const R=m[0].intersectionRatio;if(R!==a){if(!O)return s();R?s(!1,R):r=setTimeout(()=>{s(!1,1e-7)},1e3)}O=!1}try{n=new IntersectionObserver(y,z({},_,{root:i.ownerDocument}))}catch{n=new IntersectionObserver(y,_)}n.observe(e)}return s(!0),o}function pi(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=Ft(e),d=i||o?[...u?Ge(u):[],...Ge(t)]:[];d.forEach(w=>{i&&w.addEventListener("scroll",n,{passive:!0}),o&&w.addEventListener("resize",n)});const h=u&&c?hi(u,n):null;let f=-1,g=null;s&&(g=new ResizeObserver(w=>{let[_]=w;_&&_.target===u&&g&&(g.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var O;(O=g)==null||O.observe(t)})),n()}),u&&!a&&g.observe(u),g.observe(t));let b,E=a?Re(e):null;a&&S();function S(){const w=Re(e);E&&(w.x!==E.x||w.y!==E.y||w.width!==E.width||w.height!==E.height)&&n(),E=w,b=requestAnimationFrame(S)}return n(),()=>{var w;d.forEach(_=>{i&&_.removeEventListener("scroll",n),o&&_.removeEventListener("resize",n)}),h==null||h(),(w=g)==null||w.disconnect(),g=null,a&&cancelAnimationFrame(b)}}const gi=zr,mi=Kr,vi=Jr,bi=Ur,yi=Xr,wi=(e,t,n)=>{const r=new Map,i=z({platform:di},n),o=z({},i.platform,{_c:r});return Yr(e,t,z({},i,{platform:o}))};function _i(e){e.cleanup&&e.cleanup();const t=e._getResolvedAttachToOptions();let n=t.element;const r=Ti(t,e),i=ln(t);return i&&(n=document.body,e.shepherdElementComponent.getElement().classList.add("shepherd-centered")),e.cleanup=pi(n,e.el,()=>{if(!e.el){e.cleanup==null||e.cleanup();return}Si(n,e,r,i)}),e.target=t.element,r}function Ei(e,t){return{floatingUIOptions:xt(e.floatingUIOptions||{},t.floatingUIOptions||{})}}function xi(e){e.cleanup&&e.cleanup(),e.cleanup=null}function Si(e,t,n,r){return wi(e,t.el,n).then(Oi(t,r)).then(i=>new Promise(o=>{setTimeout(()=>o(i),300)})).then(i=>{i!=null&&i.el&&i.el.focus({preventScroll:!0})})}function Oi(e,t){return({x:n,y:r,placement:i,middlewareData:o})=>(e.el&&(t?Object.assign(e.el.style,{position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)"}):Object.assign(e.el.style,{position:"absolute",left:`${n}px`,top:`${r}px`}),e.el.dataset.popperPlacement=i,Ri(e.el,o)),e)}function Ri(e,t){const n=e.querySelector(".shepherd-arrow");if(Me(n)&&t.arrow){const{x:r,y:i}=t.arrow;Object.assign(n.style,{left:r!=null?`${r}px`:"",top:i!=null?`${i}px`:""})}}function Ti(e,t){var n,r,i;const o={strategy:"absolute"};o.middleware=[];const s=Ci(t),c=ln(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"));if(!c){if(a){var d;o.middleware.push(gi({crossAxis:!0,alignment:u?e==null||(d=e.on)==null?void 0:d.split("-").pop():null}))}else o.middleware.push(vi());if(o.middleware.push(mi({limiter:yi(),crossAxis:!0})),s){const h=typeof t.options.arrow=="object"?t.options.arrow:{padding:4};o.middleware.push(bi({element:s,padding:u?h.padding:0}))}a||(o.placement=e.on)}return xt(o,t.options.floatingUIOptions||{})}function Ci(e){return e.options.arrow&&e.el?e.el.querySelector(".shepherd-arrow"):!1}function X(){}function Ai(e,t){for(const n in t)e[n]=t[n];return e}function Sn(e){return e()}function On(){return Object.create(null)}function Ze(e){e.forEach(Sn)}function jt(e){return typeof e=="function"}function pe(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Pi(e){return Object.keys(e).length===0}function Be(e,t){e.appendChild(t)}function ie(e,t,n){e.insertBefore(t,n||null)}function Q(e){e.parentNode&&e.parentNode.removeChild(e)}function ki(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function fe(e){return document.createElement(e)}function Rn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Tn(e){return document.createTextNode(e)}function dt(){return Tn(" ")}function Ii(){return Tn("")}function ht(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function I(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const Mi=["width","height"];function Cn(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const r in t)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&&Mi.indexOf(r)===-1?e[r]=t[r]:I(e,r,t[r])}function Fi(e){return Array.from(e.childNodes)}function Ve(e,t,n){e.classList.toggle(t,!!n)}let Qe;function et(e){Qe=e}function An(){if(!Qe)throw new Error("Function called outside component initialization");return Qe}function Li(e){An().$$.on_mount.push(e)}function Ht(e){An().$$.after_update.push(e)}const Ne=[],$e=[];let We=[];const Pn=[],Di=Promise.resolve();let Bt=!1;function ji(){Bt||(Bt=!0,Di.then(kn))}function Vt(e){We.push(e)}const Nt=new Set;let Ye=0;function kn(){if(Ye!==0)return;const e=Qe;do{try{for(;Ye<Ne.length;){const t=Ne[Ye];Ye++,et(t),Hi(t.$$)}}catch(t){throw Ne.length=0,Ye=0,t}for(et(null),Ne.length=0,Ye=0;$e.length;)$e.pop()();for(let t=0;t<We.length;t+=1){const n=We[t];Nt.has(n)||(Nt.add(n),n())}We.length=0}while(Ne.length);for(;Pn.length;)Pn.pop()();Bt=!1,Nt.clear(),et(e)}function Hi(e){if(e.fragment!==null){e.update(),Ze(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Vt)}}function Bi(e){const t=[],n=[];We.forEach(r=>e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),We=t}const pt=new Set;let Te;function Ce(){Te={r:0,c:[],p:Te}}function Ae(){Te.r||Ze(Te.c),Te=Te.p}function k(e,t){e&&e.i&&(pt.delete(e),e.i(t))}function D(e,t,n,r){if(e&&e.o){if(pt.has(e))return;pt.add(e),Te.c.push(()=>{pt.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}function In(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Vi(e,t){const n={},r={},i={$$scope:1};let o=e.length;for(;o--;){const s=e[o],c=t[o];if(c){for(const a in s)a in c||(r[a]=1);for(const a in c)i[a]||(n[a]=c[a],i[a]=1);e[o]=c}else for(const a in s)i[a]=1}for(const s in r)s in n||(n[s]=void 0);return n}function Pe(e){e&&e.c()}function Ee(e,t,n){const{fragment:r,after_update:i}=e.$$;r&&r.m(t,n),Vt(()=>{const o=e.$$.on_mount.map(Sn).filter(jt);e.$$.on_destroy?e.$$.on_destroy.push(...o):Ze(o),e.$$.on_mount=[]}),i.forEach(Vt)}function xe(e,t){const n=e.$$;n.fragment!==null&&(Bi(n.after_update),Ze(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Ni(e,t){e.$$.dirty[0]===-1&&(Ne.push(e),ji(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ge(e,t,n,r,i,o,s=null,c=[-1]){const a=Qe;et(e);const u=e.$$={fragment:null,ctx:[],props:o,update:X,not_equal:i,bound:On(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(a?a.$$.context:[])),callbacks:On(),dirty:c,skip_bound:!1,root:t.target||a.$$.root};s&&s(u.root);let d=!1;if(u.ctx=n?n(e,t.props||{},(h,f,...g)=>{const b=g.length?g[0]:f;return u.ctx&&i(u.ctx[h],u.ctx[h]=b)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](b),d&&Ni(e,h)),f}):[],u.update(),d=!0,Ze(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const h=Fi(t.target);u.fragment&&u.fragment.l(h),h.forEach(Q)}else u.fragment&&u.fragment.c();t.intro&&k(e.$$.fragment),Ee(e,t.target,t.anchor),kn()}et(a)}class me{constructor(){this.$$=void 0,this.$$set=void 0}$destroy(){xe(this,1),this.$destroy=X}$on(t,n){if(!jt(n))return X;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(t){this.$$set&&!Pi(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const $i="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add($i);function Wi(e){let t,n,r,i,o;return{c(){t=fe("button"),I(t,"aria-label",n=e[3]?e[3]:null),I(t,"class",r=`${e[1]||""} shepherd-button ${e[4]?"shepherd-button-secondary":""}`),t.disabled=e[2],I(t,"tabindex","0"),I(t,"type","button")},m(s,c){ie(s,t,c),t.innerHTML=e[5],i||(o=ht(t,"click",function(){jt(e[0])&&e[0].apply(this,arguments)}),i=!0)},p(s,[c]){e=s,c&32&&(t.innerHTML=e[5]),c&8&&n!==(n=e[3]?e[3]:null)&&I(t,"aria-label",n),c&18&&r!==(r=`${e[1]||""} shepherd-button ${e[4]?"shepherd-button-secondary":""}`)&&I(t,"class",r),c&4&&(t.disabled=e[2])},i:X,o:X,d(s){s&&Q(t),i=!1,o()}}}function Yi(e,t,n){let{config:r,step:i}=t,o,s,c,a,u,d;function h(f){return ye(f)?f=f.call(i):f}return e.$$set=f=>{"config"in f&&n(6,r=f.config),"step"in f&&n(7,i=f.step)},e.$$.update=()=>{e.$$.dirty&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))},[o,s,c,a,u,d,r,i]}class Ui extends me{constructor(t){super(),ge(this,t,Yi,Wi,pe,{config:6,step:7})}}function Mn(e,t,n){const r=e.slice();return r[2]=t[n],r}function Fn(e){let t,n,r=In(e[1]),i=[];for(let s=0;s<r.length;s+=1)i[s]=Ln(Mn(e,r,s));const o=s=>D(i[s],1,1,()=>{i[s]=null});return{c(){for(let s=0;s<i.length;s+=1)i[s].c();t=Ii()},m(s,c){for(let a=0;a<i.length;a+=1)i[a]&&i[a].m(s,c);ie(s,t,c),n=!0},p(s,c){if(c&3){r=In(s[1]);let a;for(a=0;a<r.length;a+=1){const u=Mn(s,r,a);i[a]?(i[a].p(u,c),k(i[a],1)):(i[a]=Ln(u),i[a].c(),k(i[a],1),i[a].m(t.parentNode,t))}for(Ce(),a=r.length;a<i.length;a+=1)o(a);Ae()}},i(s){if(!n){for(let c=0;c<r.length;c+=1)k(i[c]);n=!0}},o(s){i=i.filter(Boolean);for(let c=0;c<i.length;c+=1)D(i[c]);n=!1},d(s){s&&Q(t),ki(i,s)}}}function Ln(e){let t,n;return t=new Ui({props:{config:e[2],step:e[0]}}),{c(){Pe(t.$$.fragment)},m(r,i){Ee(t,r,i),n=!0},p(r,i){const o={};i&2&&(o.config=r[2]),i&1&&(o.step=r[0]),t.$set(o)},i(r){n||(k(t.$$.fragment,r),n=!0)},o(r){D(t.$$.fragment,r),n=!1},d(r){xe(t,r)}}}function qi(e){let t,n,r=e[1]&&Fn(e);return{c(){t=fe("footer"),r&&r.c(),I(t,"class","shepherd-footer")},m(i,o){ie(i,t,o),r&&r.m(t,null),n=!0},p(i,[o]){i[1]?r?(r.p(i,o),o&2&&k(r,1)):(r=Fn(i),r.c(),k(r,1),r.m(t,null)):r&&(Ce(),D(r,1,1,()=>{r=null}),Ae())},i(i){n||(k(r),n=!0)},o(i){D(r),n=!1},d(i){i&&Q(t),r&&r.d()}}}function zi(e,t,n){let r,{step:i}=t;return e.$$set=o=>{"step"in o&&n(0,i=o.step)},e.$$.update=()=>{e.$$.dirty&1&&n(1,r=i.options.buttons)},[i,r]}class Ji extends me{constructor(t){super(),ge(this,t,zi,qi,pe,{step:0})}}function Ki(e){let t,n,r,i,o;return{c(){t=fe("button"),n=fe("span"),n.textContent="×",I(n,"aria-hidden","true"),I(t,"aria-label",r=e[0].label?e[0].label:"Close Tour"),I(t,"class","shepherd-cancel-icon"),I(t,"type","button")},m(s,c){ie(s,t,c),Be(t,n),i||(o=ht(t,"click",e[1]),i=!0)},p(s,[c]){c&1&&r!==(r=s[0].label?s[0].label:"Close Tour")&&I(t,"aria-label",r)},i:X,o:X,d(s){s&&Q(t),i=!1,o()}}}function Xi(e,t,n){let{cancelIcon:r,step:i}=t;const o=s=>{s.preventDefault(),i.cancel()};return e.$$set=s=>{"cancelIcon"in s&&n(0,r=s.cancelIcon),"step"in s&&n(2,i=s.step)},[r,o,i]}class Gi extends me{constructor(t){super(),ge(this,t,Xi,Ki,pe,{cancelIcon:0,step:2})}}function Zi(e){let t;return{c(){t=fe("h3"),I(t,"id",e[1]),I(t,"class","shepherd-title")},m(n,r){ie(n,t,r),e[3](t)},p(n,[r]){r&2&&I(t,"id",n[1])},i:X,o:X,d(n){n&&Q(t),e[3](null)}}}function Qi(e,t,n){let{labelId:r,element:i,title:o}=t;Ht(()=>{ye(o)&&n(2,o=o()),n(0,i.innerHTML=o,i)});function s(c){$e[c?"unshift":"push"](()=>{i=c,n(0,i)})}return e.$$set=c=>{"labelId"in c&&n(1,r=c.labelId),"element"in c&&n(0,i=c.element),"title"in c&&n(2,o=c.title)},[i,r,o,s]}class eo extends me{constructor(t){super(),ge(this,t,Qi,Zi,pe,{labelId:1,element:0,title:2})}}function Dn(e){let t,n;return t=new eo({props:{labelId:e[0],title:e[2]}}),{c(){Pe(t.$$.fragment)},m(r,i){Ee(t,r,i),n=!0},p(r,i){const o={};i&1&&(o.labelId=r[0]),i&4&&(o.title=r[2]),t.$set(o)},i(r){n||(k(t.$$.fragment,r),n=!0)},o(r){D(t.$$.fragment,r),n=!1},d(r){xe(t,r)}}}function jn(e){let t,n;return t=new Gi({props:{cancelIcon:e[3],step:e[1]}}),{c(){Pe(t.$$.fragment)},m(r,i){Ee(t,r,i),n=!0},p(r,i){const o={};i&8&&(o.cancelIcon=r[3]),i&2&&(o.step=r[1]),t.$set(o)},i(r){n||(k(t.$$.fragment,r),n=!0)},o(r){D(t.$$.fragment,r),n=!1},d(r){xe(t,r)}}}function to(e){let t,n,r,i=e[2]&&Dn(e),o=e[3]&&e[3].enabled&&jn(e);return{c(){t=fe("header"),i&&i.c(),n=dt(),o&&o.c(),I(t,"class","shepherd-header")},m(s,c){ie(s,t,c),i&&i.m(t,null),Be(t,n),o&&o.m(t,null),r=!0},p(s,[c]){s[2]?i?(i.p(s,c),c&4&&k(i,1)):(i=Dn(s),i.c(),k(i,1),i.m(t,n)):i&&(Ce(),D(i,1,1,()=>{i=null}),Ae()),s[3]&&s[3].enabled?o?(o.p(s,c),c&8&&k(o,1)):(o=jn(s),o.c(),k(o,1),o.m(t,null)):o&&(Ce(),D(o,1,1,()=>{o=null}),Ae())},i(s){r||(k(i),k(o),r=!0)},o(s){D(i),D(o),r=!1},d(s){s&&Q(t),i&&i.d(),o&&o.d()}}}function no(e,t,n){let{labelId:r,step:i}=t,o,s;return e.$$set=c=>{"labelId"in c&&n(0,r=c.labelId),"step"in c&&n(1,i=c.step)},e.$$.update=()=>{e.$$.dirty&2&&(n(2,o=i.options.title),n(3,s=i.options.cancelIcon))},[r,i,o,s]}class ro extends me{constructor(t){super(),ge(this,t,no,to,pe,{labelId:0,step:1})}}function io(e){let t;return{c(){t=fe("div"),I(t,"class","shepherd-text"),I(t,"id",e[1])},m(n,r){ie(n,t,r),e[3](t)},p(n,[r]){r&2&&I(t,"id",n[1])},i:X,o:X,d(n){n&&Q(t),e[3](null)}}}function oo(e,t,n){let{descriptionId:r,element:i,step:o}=t;Ht(()=>{let{text:c}=o.options;ye(c)&&(c=c.call(o)),Me(c)?i.appendChild(c):n(0,i.innerHTML=c,i)});function s(c){$e[c?"unshift":"push"](()=>{i=c,n(0,i)})}return e.$$set=c=>{"descriptionId"in c&&n(1,r=c.descriptionId),"element"in c&&n(0,i=c.element),"step"in c&&n(2,o=c.step)},[i,r,o,s]}class so extends me{constructor(t){super(),ge(this,t,oo,io,pe,{descriptionId:1,element:0,step:2})}}function Hn(e){let t,n;return t=new ro({props:{labelId:e[1],step:e[2]}}),{c(){Pe(t.$$.fragment)},m(r,i){Ee(t,r,i),n=!0},p(r,i){const o={};i&2&&(o.labelId=r[1]),i&4&&(o.step=r[2]),t.$set(o)},i(r){n||(k(t.$$.fragment,r),n=!0)},o(r){D(t.$$.fragment,r),n=!1},d(r){xe(t,r)}}}function Bn(e){let t,n;return t=new so({props:{descriptionId:e[0],step:e[2]}}),{c(){Pe(t.$$.fragment)},m(r,i){Ee(t,r,i),n=!0},p(r,i){const o={};i&1&&(o.descriptionId=r[0]),i&4&&(o.step=r[2]),t.$set(o)},i(r){n||(k(t.$$.fragment,r),n=!0)},o(r){D(t.$$.fragment,r),n=!1},d(r){xe(t,r)}}}function Vn(e){let t,n;return t=new Ji({props:{step:e[2]}}),{c(){Pe(t.$$.fragment)},m(r,i){Ee(t,r,i),n=!0},p(r,i){const o={};i&4&&(o.step=r[2]),t.$set(o)},i(r){n||(k(t.$$.fragment,r),n=!0)},o(r){D(t.$$.fragment,r),n=!1},d(r){xe(t,r)}}}function lo(e){let t,n=!W(e[2].options.title)||e[2].options.cancelIcon&&e[2].options.cancelIcon.enabled,r,i=!W(e[2].options.text),o,s=Array.isArray(e[2].options.buttons)&&e[2].options.buttons.length,c,a=n&&Hn(e),u=i&&Bn(e),d=s&&Vn(e);return{c(){t=fe("div"),a&&a.c(),r=dt(),u&&u.c(),o=dt(),d&&d.c(),I(t,"class","shepherd-content")},m(h,f){ie(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},p(h,[f]){f&4&&(n=!W(h[2].options.title)||h[2].options.cancelIcon&&h[2].options.cancelIcon.enabled),n?a?(a.p(h,f),f&4&&k(a,1)):(a=Hn(h),a.c(),k(a,1),a.m(t,r)):a&&(Ce(),D(a,1,1,()=>{a=null}),Ae()),f&4&&(i=!W(h[2].options.text)),i?u?(u.p(h,f),f&4&&k(u,1)):(u=Bn(h),u.c(),k(u,1),u.m(t,o)):u&&(Ce(),D(u,1,1,()=>{u=null}),Ae()),f&4&&(s=Array.isArray(h[2].options.buttons)&&h[2].options.buttons.length),s?d?(d.p(h,f),f&4&&k(d,1)):(d=Vn(h),d.c(),k(d,1),d.m(t,null)):d&&(Ce(),D(d,1,1,()=>{d=null}),Ae())},i(h){c||(k(a),k(u),k(d),c=!0)},o(h){D(a),D(u),D(d),c=!1},d(h){h&&Q(t),a&&a.d(),u&&u.d(),d&&d.d()}}}function co(e,t,n){let{descriptionId:r,labelId:i,step:o}=t;return e.$$set=s=>{"descriptionId"in s&&n(0,r=s.descriptionId),"labelId"in s&&n(1,i=s.labelId),"step"in s&&n(2,o=s.step)},[r,i,o]}class ao extends me{constructor(t){super(),ge(this,t,co,lo,pe,{descriptionId:0,labelId:1,step:2})}}function Nn(e){let t;return{c(){t=fe("div"),I(t,"class","shepherd-arrow"),I(t,"data-popper-arrow","")},m(n,r){ie(n,t,r)},d(n){n&&Q(t)}}}function uo(e){let t,n,r,i,o,s,c,a,u=e[4].options.arrow&&e[4].options.attachTo&&e[4].options.attachTo.element&&e[4].options.attachTo.on&&Nn();r=new ao({props:{descriptionId:e[2],labelId:e[3],step:e[4]}});let d=[{"aria-describedby":i=W(e[4].options.text)?null:e[2]},{"aria-labelledby":o=e[4].options.title?e[3]:null},e[1],{open:"true"}],h={};for(let f=0;f<d.length;f+=1)h=Ai(h,d[f]);return{c(){t=fe("dialog"),u&&u.c(),n=dt(),Pe(r.$$.fragment),Cn(t,h),Ve(t,"shepherd-has-cancel-icon",e[5]),Ve(t,"shepherd-has-title",e[6]),Ve(t,"shepherd-element",!0)},m(f,g){ie(f,t,g),u&&u.m(t,null),Be(t,n),Ee(r,t,null),e[13](t),s=!0,c||(a=ht(t,"keydown",e[7]),c=!0)},p(f,[g]){f[4].options.arrow&&f[4].options.attachTo&&f[4].options.attachTo.element&&f[4].options.attachTo.on?u||(u=Nn(),u.c(),u.m(t,n)):u&&(u.d(1),u=null);const b={};g&4&&(b.descriptionId=f[2]),g&8&&(b.labelId=f[3]),g&16&&(b.step=f[4]),r.$set(b),Cn(t,h=Vi(d,[(!s||g&20&&i!==(i=W(f[4].options.text)?null:f[2]))&&{"aria-describedby":i},(!s||g&24&&o!==(o=f[4].options.title?f[3]:null))&&{"aria-labelledby":o},g&2&&f[1],{open:"true"}])),Ve(t,"shepherd-has-cancel-icon",f[5]),Ve(t,"shepherd-has-title",f[6]),Ve(t,"shepherd-element",!0)},i(f){s||(k(r.$$.fragment,f),s=!0)},o(f){D(r.$$.fragment,f),s=!1},d(f){f&&Q(t),u&&u.d(),xe(r),e[13](null),c=!1,a()}}}const fo=9,ho=27,po=37,go=39;function $n(e){return e.split(" ").filter(t=>!!t.length)}function mo(e,t,n){let{classPrefix:r,element:i,descriptionId:o,firstFocusableElement:s,focusableElements:c,labelId:a,lastFocusableElement:u,step:d,dataStepId:h}=t,f,g,b;const E=()=>i;Li(()=>{n(1,h={[`data-${r}shepherd-step-id`]:d.id}),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])}),Ht(()=>{b!==d.options.classes&&S()});function S(){w(b),b=d.options.classes,_(b)}function w(m){if(Ke(m)){const R=$n(m);R.length&&i.classList.remove(...R)}}function _(m){if(Ke(m)){const R=$n(m);R.length&&i.classList.add(...R)}}const O=m=>{const{tour:R}=d;switch(m.keyCode){case fo:if(c.length===0){m.preventDefault();break}m.shiftKey?(document.activeElement===s||document.activeElement.classList.contains("shepherd-element"))&&(m.preventDefault(),u.focus()):document.activeElement===u&&(m.preventDefault(),s.focus());break;case ho:R.options.exitOnEsc&&(m.preventDefault(),m.stopPropagation(),d.cancel());break;case po:R.options.keyboardNavigation&&(m.preventDefault(),m.stopPropagation(),R.back());break;case go:R.options.keyboardNavigation&&(m.preventDefault(),m.stopPropagation(),R.next());break}};function y(m){$e[m?"unshift":"push"](()=>{i=m,n(0,i)})}return e.$$set=m=>{"classPrefix"in m&&n(11,r=m.classPrefix),"element"in m&&n(0,i=m.element),"descriptionId"in m&&n(2,o=m.descriptionId),"firstFocusableElement"in m&&n(8,s=m.firstFocusableElement),"focusableElements"in m&&n(9,c=m.focusableElements),"labelId"in m&&n(3,a=m.labelId),"lastFocusableElement"in m&&n(10,u=m.lastFocusableElement),"step"in m&&n(4,d=m.step),"dataStepId"in m&&n(1,h=m.dataStepId)},e.$$.update=()=>{e.$$.dirty&16&&(n(5,f=d.options&&d.options.cancelIcon&&d.options.cancelIcon.enabled),n(6,g=d.options&&d.options.title))},[i,h,o,a,d,f,g,O,s,c,u,r,E,y]}class vo extends me{constructor(t){super(),ge(this,t,mo,uo,pe,{classPrefix:11,element:0,descriptionId:2,firstFocusableElement:8,focusableElements:9,labelId:3,lastFocusableElement:10,step:4,dataStepId:1,getElement:12})}get getElement(){return this.$$.ctx[12]}}class $t extends _t{constructor(t,n={}){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?sn(this.tour.options.classPrefix):"",this.styles=t.styles,this._resolvedAttachTo=null,Ot(this),this._setOptions(n),this}cancel(){this.tour.cancel(),this.trigger("cancel")}complete(){this.tour.complete(),this.trigger("complete")}destroy(){xi(this),Me(this.el)&&(this.el.remove(),this.el=null),this._updateStepTargetOnHide(),this.trigger("destroy")}getTour(){return this.tour}hide(){var t;(t=this.tour.modal)==null||t.hide(),this.trigger("before-hide"),this.el&&(this.el.hidden=!0),this._updateStepTargetOnHide(),this.trigger("hide")}_resolveExtraHiglightElements(){return this._resolvedExtraHighlightElements=Mr(this),this._resolvedExtraHighlightElements}_resolveAttachToOptions(){return this._resolvedAttachTo=Ir(this),this._resolvedAttachTo}_getResolvedAttachToOptions(){return this._resolvedAttachTo===null?this._resolveAttachToOptions():this._resolvedAttachTo}isOpen(){return!!(this.el&&!this.el.hidden)}show(){return ye(this.options.beforeShowPromise)?Promise.resolve(this.options.beforeShowPromise()).then(()=>this._show()):Promise.resolve(this._show())}updateStepOptions(t){Object.assign(this.options,t),this.shepherdElementComponent&&this.shepherdElementComponent.$set({step:this})}getElement(){return this.el}getTarget(){return this.target}_createTooltipContent(){const t=`${this.id}-description`,n=`${this.id}-label`;return this.shepherdElementComponent=new vo({target:this.tour.options.stepsContainer||document.body,props:{classPrefix:this.classPrefix,descriptionId:t,labelId:n,step:this,styles:this.styles}}),this.shepherdElementComponent.getElement()}_scrollTo(t){const{element:n}=this._getResolvedAttachToOptions();ye(this.options.scrollToHandler)?this.options.scrollToHandler(n):fr(n)&&typeof n.scrollIntoView=="function"&&n.scrollIntoView(t)}_getClassOptions(t){const n=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions,r=t.classes?t.classes:"",i=n&&n.classes?n.classes:"",o=[...r.split(" "),...i.split(" ")],s=new Set(o);return Array.from(s).join(" ").trim()}_setOptions(t={}){let n=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions;n=xt({},n||{}),this.options=Object.assign({arrow:!0},n,t,Ei(n,t));const{when:r}=this.options;this.options.classes=this._getClassOptions(t),this.destroy(),this.id=this.options.id||`step-${cn()}`,r&&Object.keys(r).forEach(i=>{this.on(i,r[i],this)})}_setupElements(){W(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&Ar(this),_i(this)}_show(){var t;this.trigger("before-show"),this._resolveAttachToOptions(),this._resolveExtraHiglightElements(),this._setupElements(),this.tour.modal||this.tour.setupModal(),(t=this.tour.modal)==null||t.setupForStep(this),this._styleTargetElementForStep(this),this.el&&(this.el.hidden=!1),this.options.scrollTo&&setTimeout(()=>{this._scrollTo(this.options.scrollTo)}),this.el&&(this.el.hidden=!1);const n=this.shepherdElementComponent.getElement(),r=this.target||document.body,i=this._resolvedExtraHighlightElements;r.classList.add(`${this.classPrefix}shepherd-enabled`),r.classList.add(`${this.classPrefix}shepherd-target`),n.classList.add("shepherd-enabled"),i==null||i.forEach(o=>{o.classList.add(`${this.classPrefix}shepherd-enabled`),o.classList.add(`${this.classPrefix}shepherd-target`)}),this.trigger("show")}_styleTargetElementForStep(t){const n=t.target,r=t._resolvedExtraHighlightElements;if(!n)return;const i=t.options.highlightClass;i&&(n.classList.add(i),r==null||r.forEach(o=>o.classList.add(i))),n.classList.remove("shepherd-target-click-disabled"),r==null||r.forEach(o=>o.classList.remove("shepherd-target-click-disabled")),t.options.canClickTarget===!1&&(n.classList.add("shepherd-target-click-disabled"),r==null||r.forEach(o=>o.classList.add("shepherd-target-click-disabled")))}_updateStepTargetOnHide(){const t=this.target||document.body,n=this._resolvedExtraHighlightElements,r=this.options.highlightClass;r&&(t.classList.remove(r),n==null||n.forEach(i=>i.classList.remove(r))),t.classList.remove("shepherd-target-click-disabled",`${this.classPrefix}shepherd-enabled`,`${this.classPrefix}shepherd-target`),n==null||n.forEach(i=>{i.classList.remove("shepherd-target-click-disabled",`${this.classPrefix}shepherd-enabled`,`${this.classPrefix}shepherd-target`)})}}function bo(e){if(e){const{steps:t}=e;t.forEach(n=>{n.options&&n.options.canClickTarget===!1&&n.options.attachTo&&(Me(n.target)&&n.target.classList.remove("shepherd-target-click-disabled"),n._resolvedExtraHighlightElements&&n._resolvedExtraHighlightElements.forEach(r=>{Me(r)&&r.classList.remove("shepherd-target-click-disabled")}))})}}function yo(e){let t="";const{innerWidth:n,innerHeight:r}=window;return e.forEach(i=>{const{width:o,height:s,x:c=0,y:a=0,r:u=0}=i,{topLeft:d=0,topRight:h=0,bottomRight:f=0,bottomLeft:g=0}=typeof u=="number"?{topLeft:u,topRight:u,bottomRight:u,bottomLeft:u}:u;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`}),`M${n},${r} H0 V0 H${n} V${r} Z ${t}`.replace(/\s/g,"")}function wo(e){let t,n,r,i,o;return{c(){t=Rn("svg"),n=Rn("path"),I(n,"d",e[2]),I(t,"class",r=`${e[1]?"shepherd-modal-is-visible":""} shepherd-modal-overlay-container`)},m(s,c){ie(s,t,c),Be(t,n),e[11](t),i||(o=ht(t,"touchmove",e[3]),i=!0)},p(s,[c]){c&4&&I(n,"d",s[2]),c&2&&r!==(r=`${s[1]?"shepherd-modal-is-visible":""} shepherd-modal-overlay-container`)&&I(t,"class",r)},i:X,o:X,d(s){s&&Q(t),e[11](null),i=!1,o()}}}function Wn(e){if(!e)return null;const n=e instanceof HTMLElement&&window.getComputedStyle(e).overflowY;return n!=="hidden"&&n!=="visible"&&e.scrollHeight>=e.clientHeight?e:Wn(e.parentElement)}function _o(e){let t={top:0,left:0};if(!e)return t;let n=e.ownerDocument.defaultView;for(;n!==window.top;){var r;const s=(r=n)==null?void 0:r.frameElement;if(s){var i,o;const c=s.getBoundingClientRect();t.top+=c.top+((i=c.scrollTop)!=null?i:0),t.left+=c.left+((o=c.scrollLeft)!=null?o:0)}n=n.parent}return t}function Eo(e,t){const n=e.getBoundingClientRect();let r=n.y||n.top,i=n.bottom||r+n.height;if(t){const s=t.getBoundingClientRect(),c=s.y||s.top,a=s.bottom||c+s.height;r=Math.max(r,c),i=Math.min(i,a)}const o=Math.max(i-r,0);return{y:r,height:o}}function xo(e,t,n){let{element:r,openingProperties:i}=t,o=!1,s,c;u();const a=()=>r;function u(){n(4,i=[{width:0,height:0,x:0,y:0,r:0}])}function d(){n(1,o=!1),w()}function h(y=0,m=0,R=0,j=0,G,Y,Z){if(Y){const B=[Y,...Z||[]];n(4,i=[]);for(const A of B){if(!A||B.indexOf(A)!==B.lastIndexOf(A))continue;const{y:F,height:L}=Eo(A,G),{x:N,width:$,left:oe}=A.getBoundingClientRect();B.some(ee=>{if(ee===A)return!1;const U=ee.getBoundingClientRect();return N>=U.left&&N+$<=U.right&&F>=U.top&&F+L<=U.bottom})||i.push({width:$+y*2,height:L+y*2,x:(N||oe)+R-y,y:F+j-y,r:m})}}else u()}function f(y){w(),y.tour.options.useModalOverlay?(_(y),g()):d()}function g(){n(1,o=!0)}const b=y=>{y.preventDefault()},E=y=>{y.stopPropagation()};function S(){window.addEventListener("touchmove",b,{passive:!1})}function w(){s&&(cancelAnimationFrame(s),s=void 0),window.removeEventListener("touchmove",b,{passive:!1})}function _(y){const{modalOverlayOpeningPadding:m,modalOverlayOpeningRadius:R,modalOverlayOpeningXOffset:j=0,modalOverlayOpeningYOffset:G=0}=y.options,Y=_o(y.target),Z=Wn(y.target),B=()=>{s=void 0,h(m,R,j+Y.left,G+Y.top,Z,y.target,y._resolvedExtraHighlightElements),s=requestAnimationFrame(B)};B(),S()}function O(y){$e[y?"unshift":"push"](()=>{r=y,n(0,r)})}return e.$$set=y=>{"element"in y&&n(0,r=y.element),"openingProperties"in y&&n(4,i=y.openingProperties)},e.$$.update=()=>{e.$$.dirty&16&&n(2,c=yo(i))},[r,o,c,E,i,a,u,d,h,f,g,O]}class So extends me{constructor(t){super(),ge(this,t,xo,wo,pe,{element:0,openingProperties:4,getElement:5,closeModalOpening:6,hide:7,positionModal:8,setupForStep:9,show:10})}get getElement(){return this.$$.ctx[5]}get closeModalOpening(){return this.$$.ctx[6]}get hide(){return this.$$.ctx[7]}get positionModal(){return this.$$.ctx[8]}get setupForStep(){return this.$$.ctx[9]}get show(){return this.$$.ctx[10]}}class Oo extends _t{constructor(){super(),this.activeTour=void 0,Ot(this)}}class Ro extends _t{constructor(t={}){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,Ot(this);const n={exitOnEsc:!0,keyboardNavigation:!0};return this.options=Object.assign({},n,t),this.classPrefix=sn(this.options.classPrefix),this.steps=[],this.addSteps(this.options.steps),["active","cancel","complete","inactive","show","start"].map(i=>{(o=>{this.on(o,s=>{s=s||{},s.tour=this,ke.trigger(o,s)})})(i)}),this._setTourID(t.id),this}addStep(t,n){let r=t;return r instanceof $t?r.tour=this:r=new $t(this,r),W(n)?this.steps.push(r):this.steps.splice(n,0,r),r}addSteps(t){return Array.isArray(t)&&t.forEach(n=>{this.addStep(n)}),this}back(){const t=this.steps.indexOf(this.currentStep);this.show(t-1,!1)}async cancel(){if(this.options.confirmCancel){const t=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?";let n;ye(this.options.confirmCancel)?n=await this.options.confirmCancel():n=window.confirm(t),n&&this._done("cancel")}else this._done("cancel")}complete(){this._done("complete")}getById(t){return this.steps.find(n=>n.id===t)}getCurrentStep(){return this.currentStep}hide(){const t=this.getCurrentStep();if(t)return t.hide()}isActive(){return ke.activeTour===this}next(){const t=this.steps.indexOf(this.currentStep);t===this.steps.length-1?this.complete():this.show(t+1,!0)}removeStep(t){const n=this.getCurrentStep();this.steps.some((r,i)=>{if(r.id===t)return r.isOpen()&&r.hide(),r.destroy(),this.steps.splice(i,1),!0}),n&&n.id===t&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())}show(t=0,n=!0){const r=Ke(t)?this.getById(t):this.steps[t];r&&(this._updateStateBeforeShow(),ye(r.options.showOn)&&!r.options.showOn()?this._skipStep(r,n):(this.currentStep=r,this.trigger("show",{step:r,previous:this.currentStep}),r.show()))}async start(){this.trigger("start"),this.focusedElBeforeOpen=document.activeElement,this.currentStep=null,this.setupModal(),this._setupActiveTour(),this.next()}_done(t){const n=this.steps.indexOf(this.currentStep);if(Array.isArray(this.steps)&&this.steps.forEach(r=>r.destroy()),bo(this),this.trigger(t,{index:n}),ke.activeTour=null,this.trigger("inactive",{tour:this}),this.modal&&this.modal.hide(),(t==="cancel"||t==="complete")&&this.modal){const r=document.querySelector(".shepherd-modal-overlay-container");r&&(r.remove(),this.modal=null)}Me(this.focusedElBeforeOpen)&&this.focusedElBeforeOpen.focus()}_setupActiveTour(){this.trigger("active",{tour:this}),ke.activeTour=this}setupModal(){this.modal=new So({target:this.options.modalContainer||document.body,props:{styles:this.styles}})}_skipStep(t,n){const r=this.steps.indexOf(t);if(r===this.steps.length-1)this.complete();else{const i=n?r+1:r-1;this.show(i,n)}}_updateStateBeforeShow(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()}_setTourID(t){const n=this.options.tourName||"tour",r=t||cn();this.id=`${n}--${r}`}}const ke=new Oo,Yn=typeof window>"u";ke.Step=Yn?Pr:$t,ke.Tour=Yn?kr:Ro;const gt=be.createContext(void 0),To=gt.Consumer,Co=()=>{const e=be.useContext(gt);if(!e)throw new Error("useShepherd must be used within a ShepherdJourneyProvider");const{Shepherd:t}=e;return t},Ao=({children:e})=>ur.jsx(gt.Provider,{value:{Shepherd:ke},children:e});le.JourneyMethods=To,le.ShepherdJourneyContext=gt,le.ShepherdJourneyProvider=Ao,le.useShepherd=Co,Object.defineProperty(le,Symbol.toStringTag,{value:"Module"})});
|
|
30
|
+
<%s key={someKey} {...props} />`,Zt,Fe,rs,Fe),sr[Fe+Zt]=!0}}return l===r?Zi(N):Gi(N),N}}function Qi(l,g,b){return lr(l,g,b,!0)}function es(l,g,b){return lr(l,g,b,!1)}var ts=es,ns=Qi;$e.Fragment=r,$e.jsx=ts,$e.jsxs=ns}()),$e}var tn;function ur(){return tn||(tn=1,process.env.NODE_ENV==="production"?rt.exports=cr():rt.exports=ar()),rt.exports}var fr=ur();/*! shepherd.js 14.5.1 */function dr(e){return e instanceof Element}function Me(e){return e instanceof HTMLElement}function ye(e){return typeof e=="function"}function Xe(e){return typeof e=="string"}function q(e){return e===void 0}class Et{on(t,n,r,o=!1){var i;return q(this.bindings)&&(this.bindings={}),q(this.bindings[t])&&(this.bindings[t]=[]),(i=this.bindings[t])==null||i.push({handler:n,ctx:r,once:o}),this}once(t,n,r){return this.on(t,n,r,!0)}off(t,n){if(q(this.bindings)||q(this.bindings[t]))return this;if(q(n))delete this.bindings[t];else{var r;(r=this.bindings[t])==null||r.forEach((o,i)=>{if(o.handler===n){var s;(s=this.bindings[t])==null||s.splice(i,1)}})}return this}trigger(t,...n){if(!q(this.bindings)&&this.bindings[t]){var r;(r=this.bindings[t])==null||r.forEach((o,i)=>{const{ctx:s,handler:c,once:a}=o,u=s||this;if(c.apply(u,n),a){var h;(h=this.bindings[t])==null||h.splice(i,1)}})}return this}}function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$.apply(null,arguments)}function xt(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}const we={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};we.defaultMerge;function hr(e,t){return t}function pr(e,t){return e.filter(n=>n!==void 0)}var nn;(function(e){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"})(nn||(nn={}));function rn(e){return typeof e!="object"||e===null?0:Array.isArray(e)?2:br(e)?1:e instanceof Set?3:e instanceof Map?4:5}function gr(e){const t=new Set;for(const n of e)for(const r of[...Object.keys(n),...Object.getOwnPropertySymbols(n)])t.add(r);return t}function mr(e,t){return typeof e=="object"&&Object.prototype.propertyIsEnumerable.call(e,t)}function on(e){return{*[Symbol.iterator](){for(const t of e)for(const n of t)yield n}}}const sn=new Set(["[object Object]","[object Module]"]);function br(e){if(!sn.has(Object.prototype.toString.call(e)))return!1;const{constructor:t}=e;if(t===void 0)return!0;const n=t.prototype;return!(n===null||typeof n!="object"||!sn.has(Object.prototype.toString.call(n))||!n.hasOwnProperty("isPrototypeOf"))}function vr(e,t,n){const r={};for(const o of gr(e)){const i=[];for(const a of e)mr(a,o)&&i.push(a[o]);if(i.length===0)continue;const s=t.metaDataUpdater(n,{key:o,parents:e}),c=ln(i,t,s);c!==we.skip&&(o==="__proto__"?Object.defineProperty(r,o,{value:c,configurable:!0,enumerable:!0,writable:!0}):r[o]=c)}return r}function yr(e){return e.flat()}function wr(e){return new Set(on(e))}function _r(e){return new Map(on(e))}function Er(e){return e.at(-1)}const ot={mergeRecords:vr,mergeArrays:yr,mergeSets:wr,mergeMaps:_r,mergeOthers:Er};function St(...e){return xr({})(...e)}function xr(e,t){const n=Sr(e,r);function r(...o){return ln(o,n,t)}return r}function Sr(e,t){var n,r,o;return{defaultMergeFunctions:ot,mergeFunctions:$({},ot,Object.fromEntries(Object.entries(e).filter(([i,s])=>Object.hasOwn(ot,i)).map(([i,s])=>s===!1?[i,ot.mergeOthers]:[i,s]))),metaDataUpdater:(n=e.metaDataUpdater)!=null?n:hr,deepmerge:t,useImplicitDefaultMerging:(r=e.enableImplicitDefaultMerging)!=null?r:!1,filterValues:e.filterValues===!1?void 0:(o=e.filterValues)!=null?o:pr,actions:we}}function ln(e,t,n){var r;const o=(r=t.filterValues==null?void 0:t.filterValues(e,n))!=null?r:e;if(o.length===0)return;if(o.length===1)return Ot(o,t,n);const i=rn(o[0]);if(i!==0&&i!==5){for(let s=1;s<o.length;s++)if(rn(o[s])!==i)return Ot(o,t,n)}switch(i){case 1:return Or(o,t,n);case 2:return Tr(o,t,n);case 3:return Rr(o,t,n);case 4:return Ar(o,t,n);default:return Ot(o,t,n)}}function Or(e,t,n){const r=t.mergeFunctions.mergeRecords(e,t,n);return r===we.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeRecords!==t.defaultMergeFunctions.mergeRecords?t.defaultMergeFunctions.mergeRecords(e,t,n):r}function Tr(e,t,n){const r=t.mergeFunctions.mergeArrays(e,t,n);return r===we.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeArrays!==t.defaultMergeFunctions.mergeArrays?t.defaultMergeFunctions.mergeArrays(e):r}function Rr(e,t,n){const r=t.mergeFunctions.mergeSets(e,t,n);return r===we.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeSets!==t.defaultMergeFunctions.mergeSets?t.defaultMergeFunctions.mergeSets(e):r}function Ar(e,t,n){const r=t.mergeFunctions.mergeMaps(e,t,n);return r===we.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeMaps!==t.defaultMergeFunctions.mergeMaps?t.defaultMergeFunctions.mergeMaps(e):r}function Ot(e,t,n){const r=t.mergeFunctions.mergeOthers(e,t,n);return r===we.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeOthers!==t.defaultMergeFunctions.mergeOthers?t.defaultMergeFunctions.mergeOthers(e):r}function Tt(e){const t=Object.getOwnPropertyNames(e.constructor.prototype);for(let n=0;n<t.length;n++){const r=t[n],o=e[r];r!=="constructor"&&typeof o=="function"&&(e[r]=o.bind(e))}return e}function Cr(e,t){return n=>{if(e.isOpen()){const r=e.el&&n.currentTarget===e.el;(!q(t)&&n.currentTarget.matches(t)||r)&&e.tour.next()}}}function Pr(e){const{event:t,selector:n}=e.options.advanceOn||{};if(t){const r=Cr(e,n);let o=null;if(!q(n)&&(o=document.querySelector(n),!o))return console.error(`No element was found for the selector supplied to advanceOn: ${n}`);o?(o.addEventListener(t,r),e.on("destroy",()=>o.removeEventListener(t,r))):(document.body.addEventListener(t,r,!0),e.on("destroy",()=>document.body.removeEventListener(t,r,!0)))}else return console.error("advanceOn was defined, but no event name was passed.")}class kr{constructor(t){}}class Ir{constructor(t,n){}}function cn(e){return!Xe(e)||e===""?"":e.charAt(e.length-1)!=="-"?`${e}-`:e}function Dr(e){const t=e.options.attachTo||{},n=Object.assign({},t);if(ye(n.element)&&(n.element=n.element.call(e)),Xe(n.element)){try{n.element=document.querySelector(n.element)}catch{}n.element||console.error(`The element for this Shepherd step was not found ${t.element}`)}return n}function Fr(e){return e.options.extraHighlights?e.options.extraHighlights.flatMap(t=>Array.from(document.querySelectorAll(t))):[]}function an(e){return e==null?!0:!e.element||!e.on}function un(){let e=Date.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(t=="x"?n:n&3|8).toString(16)})}const Mr=["top","right","bottom","left"],fn=["start","end"],dn=Mr.reduce((e,t)=>e.concat(t,t+"-"+fn[0],t+"-"+fn[1]),[]),Le=Math.min,Se=Math.max,it=Math.round,st=Math.floor,ae=e=>({x:e,y:e}),Lr={left:"right",right:"left",bottom:"top",top:"bottom"},jr={start:"end",end:"start"};function Rt(e,t,n){return Se(e,Le(t,n))}function Oe(e,t){return typeof e=="function"?e(t):e}function he(e){return e.split("-")[0]}function pe(e){return e.split("-")[1]}function At(e){return e==="x"?"y":"x"}function Ct(e){return e==="y"?"height":"width"}function Te(e){return["top","bottom"].includes(he(e))?"y":"x"}function Pt(e){return At(Te(e))}function hn(e,t,n){n===void 0&&(n=!1);const r=pe(e),o=Pt(e),i=Ct(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=ct(s)),[s,ct(s)]}function Hr(e){const t=ct(e);return[lt(e),t,lt(t)]}function lt(e){return e.replace(/start|end/g,t=>jr[t])}function Br(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function Vr(e,t,n,r){const o=pe(e);let i=Br(he(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(lt)))),i}function ct(e){return e.replace(/left|right|bottom|top/g,t=>Lr[t])}function Nr(e){return $({top:0,right:0,bottom:0,left:0},e)}function pn(e){return typeof e!="number"?Nr(e):{top:e,right:e,bottom:e,left:e}}function at(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}const Wr=["crossAxis","alignment","allowedPlacements","autoAlignment"],Yr=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],Ur=["mainAxis","crossAxis","limiter"];function gn(e,t,n){let{reference:r,floating:o}=e;const i=Te(t),s=Pt(t),c=Ct(s),a=he(t),u=i==="y",h=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[c]/2-o[c]/2;let p;switch(a){case"top":p={x:h,y:r.y-o.height};break;case"bottom":p={x:h,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(pe(t)){case"start":p[s]-=f*(n&&u?-1:1);break;case"end":p[s]+=f*(n&&u?-1:1);break}return p}const qr=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,c=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:d}=gn(u,r,a),f=r,p={},y=0;for(let w=0;w<c.length;w++){const{name:S,fn:_}=c[w],{x:E,y:O,data:v,reset:T}=await _({x:h,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:u,platform:s,elements:{reference:e,floating:t}});h=E??h,d=O??d,p=$({},p,{[S]:$({},p[S],v)}),T&&y<=50&&(y++,typeof T=="object"&&(T.placement&&(f=T.placement),T.rects&&(u=T.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):T.rects),{x:h,y:d}=gn(u,f,a)),w=-1)}return{x:h,y:d,placement:f,strategy:o,middlewareData:p}};async function kt(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:c,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=Oe(t,e),y=pn(p),S=c[f?d==="floating"?"reference":"floating":d],_=at(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(S)))==null||n?S:S.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:h,strategy:a})),E=d==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),v=await(i.isElement==null?void 0:i.isElement(O))?await(i.getScale==null?void 0:i.getScale(O))||{x:1,y:1}:{x:1,y:1},T=at(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:E,offsetParent:O,strategy:a}):E);return{top:(_.top-T.top+y.top)/v.y,bottom:(T.bottom-_.bottom+y.bottom)/v.y,left:(_.left-T.left+y.left)/v.x,right:(T.right-_.right+y.right)/v.x}}const zr=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:c,middlewareData:a}=t,{element:u,padding:h=0}=Oe(e,t)||{};if(u==null)return{};const d=pn(h),f={x:n,y:r},p=Pt(o),y=Ct(p),w=await s.getDimensions(u),S=p==="y",_=S?"top":"left",E=S?"bottom":"right",O=S?"clientHeight":"clientWidth",v=i.reference[y]+i.reference[p]-f[p]-i.floating[y],T=f[p]-i.reference[p],j=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let D=j?j[O]:0;(!D||!await(s.isElement==null?void 0:s.isElement(j)))&&(D=c.floating[O]||i.floating[y]);const U=v/2-T/2,W=D/2-w[y]/2-1,m=Le(d[_],W),P=Le(d[E],W),A=m,M=D-w[y]-P,H=D/2-w[y]/2+U,Y=Rt(A,H,M),te=!a.arrow&&pe(o)!=null&&H!==Y&&i.reference[y]/2-(H<A?m:P)-w[y]/2<0,z=te?H<A?H-A:H-M:0;return{[p]:f[p]+z,data:$({[p]:Y,centerOffset:H-Y-z},te&&{alignmentOffset:z}),reset:te}}});function Jr(e,t,n){return(e?[...n.filter(o=>pe(o)===e),...n.filter(o=>pe(o)!==e)]:n.filter(o=>he(o)===o)).filter(o=>e?pe(o)===e||(t?lt(o)!==o:!1):!0)}const Kr=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(n){var r,o,i;const{rects:s,middlewareData:c,placement:a,platform:u,elements:h}=n,d=Oe(t,n),{crossAxis:f=!1,alignment:p,allowedPlacements:y=dn,autoAlignment:w=!0}=d,S=xt(d,Wr),_=p!==void 0||y===dn?Jr(p||null,w,y):y,E=await kt(n,S),O=((r=c.autoPlacement)==null?void 0:r.index)||0,v=_[O];if(v==null)return{};const T=hn(v,s,await(u.isRTL==null?void 0:u.isRTL(h.floating)));if(a!==v)return{reset:{placement:_[0]}};const j=[E[he(v)],E[T[0]],E[T[1]]],D=[...((o=c.autoPlacement)==null?void 0:o.overflows)||[],{placement:v,overflows:j}],U=_[O+1];if(U)return{data:{index:O+1,overflows:D},reset:{placement:U}};const W=D.map(A=>{const M=pe(A.placement);return[A.placement,M&&f?A.overflows.slice(0,2).reduce((H,Y)=>H+Y,0):A.overflows[0],A.overflows]}).sort((A,M)=>A[1]-M[1]),P=((i=W.filter(A=>A[2].slice(0,pe(A[0])?2:3).every(M=>M<=0))[0])==null?void 0:i[0])||W[0][0];return P!==a?{data:{index:O+1,overflows:D},reset:{placement:P}}:{}}}},$r=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(n){var r,o;const{placement:i,middlewareData:s,rects:c,initialPlacement:a,platform:u,elements:h}=n,d=Oe(t,n),{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:_=!0}=d,E=xt(d,Yr);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const O=he(i),v=Te(a),T=he(a)===a,j=await(u.isRTL==null?void 0:u.isRTL(h.floating)),D=y||(T||!_?[ct(a)]:Hr(a)),U=S!=="none";!y&&U&&D.push(...Vr(a,_,S,j));const W=[a,...D],m=await kt(n,E),P=[];let A=((o=s.flip)==null?void 0:o.overflows)||[];if(f&&P.push(m[O]),p){const z=hn(i,c,j);P.push(m[z[0]],m[z[1]])}if(A=[...A,{placement:i,overflows:P}],!P.every(z=>z<=0)){var M,H;const z=(((M=s.flip)==null?void 0:M.index)||0)+1,De=W[z];if(De){var Y;const J=p==="alignment"?v!==Te(De):!1,Q=((Y=A[0])==null?void 0:Y.overflows[0])>0;if(!J||Q)return{data:{index:z,overflows:A},reset:{placement:De}}}let se=(H=A.filter(J=>J.overflows[0]<=0).sort((J,Q)=>J.overflows[1]-Q.overflows[1])[0])==null?void 0:H.placement;if(!se)switch(w){case"bestFit":{var te;const J=(te=A.filter(Q=>{if(U){const le=Te(Q.placement);return le===v||le==="y"}return!0}).map(Q=>[Q.placement,Q.overflows.filter(le=>le>0).reduce((le,bt)=>le+bt,0)]).sort((Q,le)=>Q[1]-le[1])[0])==null?void 0:te[0];J&&(se=J);break}case"initialPlacement":se=a;break}if(i!==se)return{reset:{placement:se}}}return{}}}},Xr=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(n){const{x:r,y:o,placement:i}=n,s=Oe(t,n),{mainAxis:c=!0,crossAxis:a=!1,limiter:u={fn:E=>{let{x:O,y:v}=E;return{x:O,y:v}}}}=s,h=xt(s,Ur),d={x:r,y:o},f=await kt(n,h),p=Te(he(i)),y=At(p);let w=d[y],S=d[p];if(c){const E=y==="y"?"top":"left",O=y==="y"?"bottom":"right",v=w+f[E],T=w-f[O];w=Rt(v,w,T)}if(a){const E=p==="y"?"top":"left",O=p==="y"?"bottom":"right",v=S+f[E],T=S-f[O];S=Rt(v,S,T)}const _=u.fn($({},n,{[y]:w,[p]:S}));return $({},_,{data:{x:_.x-r,y:_.y-o,enabled:{[y]:c,[p]:a}}})}}},Gr=function(t){return t===void 0&&(t={}),{options:t,fn(n){const{x:r,y:o,placement:i,rects:s,middlewareData:c}=n,{offset:a=0,mainAxis:u=!0,crossAxis:h=!0}=Oe(t,n),d={x:r,y:o},f=Te(i),p=At(f);let y=d[p],w=d[f];const S=Oe(a,n),_=typeof S=="number"?{mainAxis:S,crossAxis:0}:$({mainAxis:0,crossAxis:0},S);if(u){const v=p==="y"?"height":"width",T=s.reference[p]-s.floating[v]+_.mainAxis,j=s.reference[p]+s.reference[v]-_.mainAxis;y<T?y=T:y>j&&(y=j)}if(h){var E,O;const v=p==="y"?"width":"height",T=["top","left"].includes(he(i)),j=s.reference[f]-s.floating[v]+(T&&((E=c.offset)==null?void 0:E[f])||0)+(T?0:_.crossAxis),D=s.reference[f]+s.reference[v]+(T?0:((O=c.offset)==null?void 0:O[f])||0)-(T?_.crossAxis:0);w<j?w=j:w>D&&(w=D)}return{[p]:y,[f]:w}}}};function ut(){return typeof window<"u"}function je(e){return mn(e)?(e.nodeName||"").toLowerCase():"#document"}function G(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ue(e){var t;return(t=(mn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function mn(e){return ut()?e instanceof Node||e instanceof G(e).Node:!1}function re(e){return ut()?e instanceof Element||e instanceof G(e).Element:!1}function fe(e){return ut()?e instanceof HTMLElement||e instanceof G(e).HTMLElement:!1}function bn(e){return!ut()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof G(e).ShadowRoot}function Ge(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=oe(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Zr(e){return["table","td","th"].includes(je(e))}function ft(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function It(e){const t=Dt(),n=re(e)?oe(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Qr(e){let t=_e(e);for(;fe(t)&&!He(t);){if(It(t))return t;if(ft(t))return null;t=_e(t)}return null}function Dt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function He(e){return["html","body","#document"].includes(je(e))}function oe(e){return G(e).getComputedStyle(e)}function dt(e){return re(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function _e(e){if(je(e)==="html")return e;const t=e.assignedSlot||e.parentNode||bn(e)&&e.host||ue(e);return bn(t)?t.host:t}function vn(e){const t=_e(e);return He(t)?e.ownerDocument?e.ownerDocument.body:e.body:fe(t)&&Ge(t)?t:vn(t)}function Ze(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=vn(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=G(o);if(i){const c=Ft(s);return t.concat(s,s.visualViewport||[],Ge(o)?o:[],c&&n?Ze(c):[])}return t.concat(o,Ze(o,[],n))}function Ft(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yn(e){const t=oe(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=fe(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,c=it(n)!==i||it(r)!==s;return c&&(n=i,r=s),{width:n,height:r,$:c}}function Mt(e){return re(e)?e:e.contextElement}function Be(e){const t=Mt(e);if(!fe(t))return ae(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=yn(t);let s=(i?it(n.width):n.width)/r,c=(i?it(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const eo=ae(0);function wn(e){const t=G(e);return!Dt()||!t.visualViewport?eo:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function to(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==G(e)?!1:t}function Re(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Mt(e);let s=ae(1);t&&(r?re(r)&&(s=Be(r)):s=Be(e));const c=to(i,n,r)?wn(i):ae(0);let a=(o.left+c.x)/s.x,u=(o.top+c.y)/s.y,h=o.width/s.x,d=o.height/s.y;if(i){const f=G(i),p=r&&re(r)?G(r):r;let y=f,w=Ft(y);for(;w&&r&&p!==y;){const S=Be(w),_=w.getBoundingClientRect(),E=oe(w),O=_.left+(w.clientLeft+parseFloat(E.paddingLeft))*S.x,v=_.top+(w.clientTop+parseFloat(E.paddingTop))*S.y;a*=S.x,u*=S.y,h*=S.x,d*=S.y,a+=O,u+=v,y=G(w),w=Ft(y)}}return at({width:h,height:d,x:a,y:u})}function Lt(e,t){const n=dt(e).scrollLeft;return t?t.left+n:Re(ue(e)).left+n}function _n(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Lt(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function no(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=ue(r),c=t?ft(t.floating):!1;if(r===s||c&&i)return n;let a={scrollLeft:0,scrollTop:0},u=ae(1);const h=ae(0),d=fe(r);if((d||!d&&!i)&&((je(r)!=="body"||Ge(s))&&(a=dt(r)),fe(r))){const p=Re(r);u=Be(r),h.x=p.x+r.clientLeft,h.y=p.y+r.clientTop}const f=s&&!d&&!i?_n(s,a,!0):ae(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+h.x+f.x,y:n.y*u.y-a.scrollTop*u.y+h.y+f.y}}function ro(e){return Array.from(e.getClientRects())}function oo(e){const t=ue(e),n=dt(e),r=e.ownerDocument.body,o=Se(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Se(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Lt(e);const c=-n.scrollTop;return oe(r).direction==="rtl"&&(s+=Se(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:c}}function io(e,t){const n=G(e),r=ue(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,c=0,a=0;if(o){i=o.width,s=o.height;const u=Dt();(!u||u&&t==="fixed")&&(c=o.offsetLeft,a=o.offsetTop)}return{width:i,height:s,x:c,y:a}}function so(e,t){const n=Re(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=fe(e)?Be(e):ae(1),s=e.clientWidth*i.x,c=e.clientHeight*i.y,a=o*i.x,u=r*i.y;return{width:s,height:c,x:a,y:u}}function En(e,t,n){let r;if(t==="viewport")r=io(e,n);else if(t==="document")r=oo(ue(e));else if(re(t))r=so(t,n);else{const o=wn(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return at(r)}function xn(e,t){const n=_e(e);return n===t||!re(n)||He(n)?!1:oe(n).position==="fixed"||xn(n,t)}function lo(e,t){const n=t.get(e);if(n)return n;let r=Ze(e,[],!1).filter(c=>re(c)&&je(c)!=="body"),o=null;const i=oe(e).position==="fixed";let s=i?_e(e):e;for(;re(s)&&!He(s);){const c=oe(s),a=It(s);!a&&c.position==="fixed"&&(o=null),(i?!a&&!o:!a&&c.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Ge(s)&&!a&&xn(e,s))?r=r.filter(h=>h!==s):o=c,s=_e(s)}return t.set(e,r),r}function co(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?ft(t)?[]:lo(t,this._c):[].concat(n),r],c=s[0],a=s.reduce((u,h)=>{const d=En(t,h,o);return u.top=Se(d.top,u.top),u.right=Le(d.right,u.right),u.bottom=Le(d.bottom,u.bottom),u.left=Se(d.left,u.left),u},En(t,c,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function ao(e){const{width:t,height:n}=yn(e);return{width:t,height:n}}function uo(e,t,n){const r=fe(t),o=ue(t),i=n==="fixed",s=Re(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const a=ae(0);function u(){a.x=Lt(o)}if(r||!r&&!i)if((je(t)!=="body"||Ge(o))&&(c=dt(t)),r){const p=Re(t,!0,i,t);a.x=p.x+t.clientLeft,a.y=p.y+t.clientTop}else o&&u();i&&!r&&o&&u();const h=o&&!r&&!i?_n(o,c):ae(0),d=s.left+c.scrollLeft-a.x-h.x,f=s.top+c.scrollTop-a.y-h.y;return{x:d,y:f,width:s.width,height:s.height}}function jt(e){return oe(e).position==="static"}function Sn(e,t){if(!fe(e)||oe(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ue(e)===n&&(n=n.ownerDocument.body),n}function On(e,t){const n=G(e);if(ft(e))return n;if(!fe(e)){let o=_e(e);for(;o&&!He(o);){if(re(o)&&!jt(o))return o;o=_e(o)}return n}let r=Sn(e,t);for(;r&&Zr(r)&&jt(r);)r=Sn(r,t);return r&&He(r)&&jt(r)&&!It(r)?n:r||Qr(e)||n}const fo=async function(t){const n=this.getOffsetParent||On,r=this.getDimensions,o=await r(t.floating);return{reference:uo(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function ho(e){return oe(e).direction==="rtl"}const po={convertOffsetParentRelativeRectToViewportRelativeRect:no,getDocumentElement:ue,getClippingRect:co,getOffsetParent:On,getElementRects:fo,getClientRects:ro,getDimensions:ao,getScale:Be,isElement:re,isRTL:ho};function Tn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function go(e,t){let n=null,r;const o=ue(e);function i(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function s(c,a){c===void 0&&(c=!1),a===void 0&&(a=1),i();const u=e.getBoundingClientRect(),{left:h,top:d,width:f,height:p}=u;if(c||t(),!f||!p)return;const y=st(d),w=st(o.clientWidth-(h+f)),S=st(o.clientHeight-(d+p)),_=st(h),O={rootMargin:-y+"px "+-w+"px "+-S+"px "+-_+"px",threshold:Se(0,Le(1,a))||1};let v=!0;function T(j){const D=j[0].intersectionRatio;if(D!==a){if(!v)return s();D?s(!1,D):r=setTimeout(()=>{s(!1,1e-7)},1e3)}D===1&&!Tn(u,e.getBoundingClientRect())&&s(),v=!1}try{n=new IntersectionObserver(T,$({},O,{root:o.ownerDocument}))}catch{n=new IntersectionObserver(T,O)}n.observe(e)}return s(!0),i}function mo(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=Mt(e),h=o||i?[...u?Ze(u):[],...Ze(t)]:[];h.forEach(_=>{o&&_.addEventListener("scroll",n,{passive:!0}),i&&_.addEventListener("resize",n)});const d=u&&c?go(u,n):null;let f=-1,p=null;s&&(p=new ResizeObserver(_=>{let[E]=_;E&&E.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var O;(O=p)==null||O.observe(t)})),n()}),u&&!a&&p.observe(u),p.observe(t));let y,w=a?Re(e):null;a&&S();function S(){const _=Re(e);w&&!Tn(w,_)&&n(),w=_,y=requestAnimationFrame(S)}return n(),()=>{var _;h.forEach(E=>{o&&E.removeEventListener("scroll",n),i&&E.removeEventListener("resize",n)}),d==null||d(),(_=p)==null||_.disconnect(),p=null,a&&cancelAnimationFrame(y)}}const bo=Kr,vo=Xr,yo=$r,wo=zr,_o=Gr,Eo=(e,t,n)=>{const r=new Map,o=$({platform:po},n),i=$({},o.platform,{_c:r});return qr(e,t,$({},o,{platform:i}))};function xo(e){e.cleanup&&e.cleanup();const t=e._getResolvedAttachToOptions();let n=t.element;const r=Co(t,e),o=an(t);return o&&(n=document.body,e.shepherdElementComponent.getElement().classList.add("shepherd-centered")),e.cleanup=mo(n,e.el,()=>{if(!e.el){e.cleanup==null||e.cleanup();return}To(n,e,r,o)}),e.target=t.element,r}function So(e,t){return{floatingUIOptions:St(e.floatingUIOptions||{},t.floatingUIOptions||{})}}function Oo(e){e.cleanup&&e.cleanup(),e.cleanup=null}function To(e,t,n,r){return Eo(e,t.el,n).then(Ro(t,r)).then(o=>new Promise(i=>{setTimeout(()=>i(o),300)})).then(o=>{o!=null&&o.el&&(o.el.tabIndex=0,o.el.focus({preventScroll:!0}))})}function Ro(e,t){return({x:n,y:r,placement:o,middlewareData:i})=>(e.el&&(t?Object.assign(e.el.style,{position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)"}):Object.assign(e.el.style,{position:"absolute",left:`${n}px`,top:`${r}px`}),e.el.dataset.popperPlacement=o,Ao(e.el,i)),e)}function Ao(e,t){const n=e.querySelector(".shepherd-arrow");if(Me(n)&&t.arrow){const{x:r,y:o}=t.arrow;Object.assign(n.style,{left:r!=null?`${r}px`:"",top:o!=null?`${o}px`:""})}}function Co(e,t){var n,r,o;const i={strategy:"absolute"};i.middleware=[];const s=Po(t),c=an(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||(o=e.on)==null?void 0:o.includes("-end"));if(!c){if(a){var h;i.middleware.push(bo({crossAxis:!0,alignment:u?e==null||(h=e.on)==null?void 0:h.split("-").pop():null}))}else i.middleware.push(yo());if(i.middleware.push(vo({limiter:_o(),crossAxis:!0})),s){const d=typeof t.options.arrow=="object"?t.options.arrow:{padding:4};i.middleware.push(wo({element:s,padding:u?d.padding:0}))}a||(i.placement=e.on)}return St(i,t.options.floatingUIOptions||{})}function Po(e){return e.options.arrow&&e.el?e.el.querySelector(".shepherd-arrow"):!1}function Z(){}function ko(e,t){for(const n in t)e[n]=t[n];return e}function Rn(e){return e()}function An(){return Object.create(null)}function Qe(e){e.forEach(Rn)}function Ht(e){return typeof e=="function"}function ge(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Io(e){return Object.keys(e).length===0}function Ve(e,t){e.appendChild(t)}function ie(e,t,n){e.insertBefore(t,n||null)}function ee(e){e.parentNode&&e.parentNode.removeChild(e)}function Do(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function de(e){return document.createElement(e)}function Cn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Pn(e){return document.createTextNode(e)}function ht(){return Pn(" ")}function Fo(){return Pn("")}function pt(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function F(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const Mo=["width","height"];function kn(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const r in t)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&&Mo.indexOf(r)===-1?e[r]=t[r]:F(e,r,t[r])}function Lo(e){return Array.from(e.childNodes)}function Ne(e,t,n){e.classList.toggle(t,!!n)}let et;function tt(e){et=e}function Bt(){if(!et)throw new Error("Function called outside component initialization");return et}function jo(e){Bt().$$.on_mount.push(e)}function Vt(e){Bt().$$.after_update.push(e)}function Ho(e){Bt().$$.on_destroy.push(e)}const We=[],Ye=[];let Ue=[];const In=[],Bo=Promise.resolve();let Nt=!1;function Vo(){Nt||(Nt=!0,Bo.then(Dn))}function Wt(e){Ue.push(e)}const Yt=new Set;let qe=0;function Dn(){if(qe!==0)return;const e=et;do{try{for(;qe<We.length;){const t=We[qe];qe++,tt(t),No(t.$$)}}catch(t){throw We.length=0,qe=0,t}for(tt(null),We.length=0,qe=0;Ye.length;)Ye.pop()();for(let t=0;t<Ue.length;t+=1){const n=Ue[t];Yt.has(n)||(Yt.add(n),n())}Ue.length=0}while(We.length);for(;In.length;)In.pop()();Nt=!1,Yt.clear(),tt(e)}function No(e){if(e.fragment!==null){e.update(),Qe(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Wt)}}function Wo(e){const t=[],n=[];Ue.forEach(r=>e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),Ue=t}const gt=new Set;let Ae;function Ce(){Ae={r:0,c:[],p:Ae}}function Pe(){Ae.r||Qe(Ae.c),Ae=Ae.p}function I(e,t){e&&e.i&&(gt.delete(e),e.i(t))}function B(e,t,n,r){if(e&&e.o){if(gt.has(e))return;gt.add(e),Ae.c.push(()=>{gt.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}function Fn(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Yo(e,t){const n={},r={},o={$$scope:1};let i=e.length;for(;i--;){const s=e[i],c=t[i];if(c){for(const a in s)a in c||(r[a]=1);for(const a in c)o[a]||(n[a]=c[a],o[a]=1);e[i]=c}else for(const a in s)o[a]=1}for(const s in r)s in n||(n[s]=void 0);return n}function ke(e){e&&e.c()}function Ee(e,t,n){const{fragment:r,after_update:o}=e.$$;r&&r.m(t,n),Wt(()=>{const i=e.$$.on_mount.map(Rn).filter(Ht);e.$$.on_destroy?e.$$.on_destroy.push(...i):Qe(i),e.$$.on_mount=[]}),o.forEach(Wt)}function xe(e,t){const n=e.$$;n.fragment!==null&&(Wo(n.after_update),Qe(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Uo(e,t){e.$$.dirty[0]===-1&&(We.push(e),Vo(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function me(e,t,n,r,o,i,s=null,c=[-1]){const a=et;tt(e);const u=e.$$={fragment:null,ctx:[],props:i,update:Z,not_equal:o,bound:An(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(a?a.$$.context:[])),callbacks:An(),dirty:c,skip_bound:!1,root:t.target||a.$$.root};s&&s(u.root);let h=!1;if(u.ctx=n?n(e,t.props||{},(d,f,...p)=>{const y=p.length?p[0]:f;return u.ctx&&o(u.ctx[d],u.ctx[d]=y)&&(!u.skip_bound&&u.bound[d]&&u.bound[d](y),h&&Uo(e,d)),f}):[],u.update(),h=!0,Qe(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const d=Lo(t.target);u.fragment&&u.fragment.l(d),d.forEach(ee)}else u.fragment&&u.fragment.c();t.intro&&I(e.$$.fragment),Ee(e,t.target,t.anchor),Dn()}tt(a)}class be{constructor(){this.$$=void 0,this.$$set=void 0}$destroy(){xe(this,1),this.$destroy=Z}$on(t,n){if(!Ht(n))return Z;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const o=r.indexOf(n);o!==-1&&r.splice(o,1)}}$set(t){this.$$set&&!Io(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const qo="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(qo);function zo(e){let t,n,r,o,i;return{c(){t=de("button"),F(t,"aria-label",n=e[3]?e[3]:null),F(t,"class",r=`${e[1]||""} shepherd-button ${e[4]?"shepherd-button-secondary":""}`),t.disabled=e[2],F(t,"tabindex","0"),F(t,"type","button")},m(s,c){ie(s,t,c),t.innerHTML=e[5],o||(i=pt(t,"click",function(){Ht(e[0])&&e[0].apply(this,arguments)}),o=!0)},p(s,[c]){e=s,c&32&&(t.innerHTML=e[5]),c&8&&n!==(n=e[3]?e[3]:null)&&F(t,"aria-label",n),c&18&&r!==(r=`${e[1]||""} shepherd-button ${e[4]?"shepherd-button-secondary":""}`)&&F(t,"class",r),c&4&&(t.disabled=e[2])},i:Z,o:Z,d(s){s&&ee(t),o=!1,i()}}}function Jo(e,t,n){let{config:r,step:o}=t,i,s,c,a,u,h;function d(f){return ye(f)?f=f.call(o):f}return e.$$set=f=>{"config"in f&&n(6,r=f.config),"step"in f&&n(7,o=f.step)},e.$$.update=()=>{e.$$.dirty&192&&(n(0,i=r.action?r.action.bind(o.tour):null),n(1,s=r.classes),n(2,c=r.disabled?d(r.disabled):!1),n(3,a=r.label?d(r.label):null),n(4,u=r.secondary),n(5,h=r.text?d(r.text):null))},[i,s,c,a,u,h,r,o]}class Ko extends be{constructor(t){super(),me(this,t,Jo,zo,ge,{config:6,step:7})}}function Mn(e,t,n){const r=e.slice();return r[2]=t[n],r}function Ln(e){let t,n,r=Fn(e[1]),o=[];for(let s=0;s<r.length;s+=1)o[s]=jn(Mn(e,r,s));const i=s=>B(o[s],1,1,()=>{o[s]=null});return{c(){for(let s=0;s<o.length;s+=1)o[s].c();t=Fo()},m(s,c){for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(s,c);ie(s,t,c),n=!0},p(s,c){if(c&3){r=Fn(s[1]);let a;for(a=0;a<r.length;a+=1){const u=Mn(s,r,a);o[a]?(o[a].p(u,c),I(o[a],1)):(o[a]=jn(u),o[a].c(),I(o[a],1),o[a].m(t.parentNode,t))}for(Ce(),a=r.length;a<o.length;a+=1)i(a);Pe()}},i(s){if(!n){for(let c=0;c<r.length;c+=1)I(o[c]);n=!0}},o(s){o=o.filter(Boolean);for(let c=0;c<o.length;c+=1)B(o[c]);n=!1},d(s){s&&ee(t),Do(o,s)}}}function jn(e){let t,n;return t=new Ko({props:{config:e[2],step:e[0]}}),{c(){ke(t.$$.fragment)},m(r,o){Ee(t,r,o),n=!0},p(r,o){const i={};o&2&&(i.config=r[2]),o&1&&(i.step=r[0]),t.$set(i)},i(r){n||(I(t.$$.fragment,r),n=!0)},o(r){B(t.$$.fragment,r),n=!1},d(r){xe(t,r)}}}function $o(e){let t,n,r=e[1]&&Ln(e);return{c(){t=de("footer"),r&&r.c(),F(t,"class","shepherd-footer")},m(o,i){ie(o,t,i),r&&r.m(t,null),n=!0},p(o,[i]){o[1]?r?(r.p(o,i),i&2&&I(r,1)):(r=Ln(o),r.c(),I(r,1),r.m(t,null)):r&&(Ce(),B(r,1,1,()=>{r=null}),Pe())},i(o){n||(I(r),n=!0)},o(o){B(r),n=!1},d(o){o&&ee(t),r&&r.d()}}}function Xo(e,t,n){let r,{step:o}=t;return e.$$set=i=>{"step"in i&&n(0,o=i.step)},e.$$.update=()=>{e.$$.dirty&1&&n(1,r=o.options.buttons)},[o,r]}class Go extends be{constructor(t){super(),me(this,t,Xo,$o,ge,{step:0})}}function Zo(e){let t,n,r,o,i;return{c(){t=de("button"),n=de("span"),n.textContent="×",F(n,"aria-hidden","true"),F(t,"aria-label",r=e[0].label?e[0].label:"Close Tour"),F(t,"class","shepherd-cancel-icon"),F(t,"type","button")},m(s,c){ie(s,t,c),Ve(t,n),o||(i=pt(t,"click",e[1]),o=!0)},p(s,[c]){c&1&&r!==(r=s[0].label?s[0].label:"Close Tour")&&F(t,"aria-label",r)},i:Z,o:Z,d(s){s&&ee(t),o=!1,i()}}}function Qo(e,t,n){let{cancelIcon:r,step:o}=t;const i=s=>{s.preventDefault(),o.cancel()};return e.$$set=s=>{"cancelIcon"in s&&n(0,r=s.cancelIcon),"step"in s&&n(2,o=s.step)},[r,i,o]}class ei extends be{constructor(t){super(),me(this,t,Qo,Zo,ge,{cancelIcon:0,step:2})}}function ti(e){let t;return{c(){t=de("h3"),F(t,"id",e[1]),F(t,"class","shepherd-title")},m(n,r){ie(n,t,r),e[3](t)},p(n,[r]){r&2&&F(t,"id",n[1])},i:Z,o:Z,d(n){n&&ee(t),e[3](null)}}}function ni(e,t,n){let{labelId:r,element:o,title:i}=t;Vt(()=>{ye(i)&&n(2,i=i()),n(0,o.innerHTML=i,o)});function s(c){Ye[c?"unshift":"push"](()=>{o=c,n(0,o)})}return e.$$set=c=>{"labelId"in c&&n(1,r=c.labelId),"element"in c&&n(0,o=c.element),"title"in c&&n(2,i=c.title)},[o,r,i,s]}class ri extends be{constructor(t){super(),me(this,t,ni,ti,ge,{labelId:1,element:0,title:2})}}function Hn(e){let t,n;return t=new ri({props:{labelId:e[0],title:e[2]}}),{c(){ke(t.$$.fragment)},m(r,o){Ee(t,r,o),n=!0},p(r,o){const i={};o&1&&(i.labelId=r[0]),o&4&&(i.title=r[2]),t.$set(i)},i(r){n||(I(t.$$.fragment,r),n=!0)},o(r){B(t.$$.fragment,r),n=!1},d(r){xe(t,r)}}}function Bn(e){let t,n;return t=new ei({props:{cancelIcon:e[3],step:e[1]}}),{c(){ke(t.$$.fragment)},m(r,o){Ee(t,r,o),n=!0},p(r,o){const i={};o&8&&(i.cancelIcon=r[3]),o&2&&(i.step=r[1]),t.$set(i)},i(r){n||(I(t.$$.fragment,r),n=!0)},o(r){B(t.$$.fragment,r),n=!1},d(r){xe(t,r)}}}function oi(e){let t,n,r,o=e[2]&&Hn(e),i=e[3]&&e[3].enabled&&Bn(e);return{c(){t=de("header"),o&&o.c(),n=ht(),i&&i.c(),F(t,"class","shepherd-header")},m(s,c){ie(s,t,c),o&&o.m(t,null),Ve(t,n),i&&i.m(t,null),r=!0},p(s,[c]){s[2]?o?(o.p(s,c),c&4&&I(o,1)):(o=Hn(s),o.c(),I(o,1),o.m(t,n)):o&&(Ce(),B(o,1,1,()=>{o=null}),Pe()),s[3]&&s[3].enabled?i?(i.p(s,c),c&8&&I(i,1)):(i=Bn(s),i.c(),I(i,1),i.m(t,null)):i&&(Ce(),B(i,1,1,()=>{i=null}),Pe())},i(s){r||(I(o),I(i),r=!0)},o(s){B(o),B(i),r=!1},d(s){s&&ee(t),o&&o.d(),i&&i.d()}}}function ii(e,t,n){let{labelId:r,step:o}=t,i,s;return e.$$set=c=>{"labelId"in c&&n(0,r=c.labelId),"step"in c&&n(1,o=c.step)},e.$$.update=()=>{e.$$.dirty&2&&(n(2,i=o.options.title),n(3,s=o.options.cancelIcon))},[r,o,i,s]}class si extends be{constructor(t){super(),me(this,t,ii,oi,ge,{labelId:0,step:1})}}function li(e){let t;return{c(){t=de("div"),F(t,"class","shepherd-text"),F(t,"id",e[1])},m(n,r){ie(n,t,r),e[3](t)},p(n,[r]){r&2&&F(t,"id",n[1])},i:Z,o:Z,d(n){n&&ee(t),e[3](null)}}}function ci(e,t,n){let{descriptionId:r,element:o,step:i}=t;Vt(()=>{let{text:c}=i.options;ye(c)&&(c=c.call(i)),Me(c)?o.appendChild(c):n(0,o.innerHTML=c,o)});function s(c){Ye[c?"unshift":"push"](()=>{o=c,n(0,o)})}return e.$$set=c=>{"descriptionId"in c&&n(1,r=c.descriptionId),"element"in c&&n(0,o=c.element),"step"in c&&n(2,i=c.step)},[o,r,i,s]}class ai extends be{constructor(t){super(),me(this,t,ci,li,ge,{descriptionId:1,element:0,step:2})}}function Vn(e){let t,n;return t=new si({props:{labelId:e[1],step:e[2]}}),{c(){ke(t.$$.fragment)},m(r,o){Ee(t,r,o),n=!0},p(r,o){const i={};o&2&&(i.labelId=r[1]),o&4&&(i.step=r[2]),t.$set(i)},i(r){n||(I(t.$$.fragment,r),n=!0)},o(r){B(t.$$.fragment,r),n=!1},d(r){xe(t,r)}}}function Nn(e){let t,n;return t=new ai({props:{descriptionId:e[0],step:e[2]}}),{c(){ke(t.$$.fragment)},m(r,o){Ee(t,r,o),n=!0},p(r,o){const i={};o&1&&(i.descriptionId=r[0]),o&4&&(i.step=r[2]),t.$set(i)},i(r){n||(I(t.$$.fragment,r),n=!0)},o(r){B(t.$$.fragment,r),n=!1},d(r){xe(t,r)}}}function Wn(e){let t,n;return t=new Go({props:{step:e[2]}}),{c(){ke(t.$$.fragment)},m(r,o){Ee(t,r,o),n=!0},p(r,o){const i={};o&4&&(i.step=r[2]),t.$set(i)},i(r){n||(I(t.$$.fragment,r),n=!0)},o(r){B(t.$$.fragment,r),n=!1},d(r){xe(t,r)}}}function ui(e){let t,n=!q(e[2].options.title)||e[2].options.cancelIcon&&e[2].options.cancelIcon.enabled,r,o=!q(e[2].options.text),i,s=Array.isArray(e[2].options.buttons)&&e[2].options.buttons.length,c,a=n&&Vn(e),u=o&&Nn(e),h=s&&Wn(e);return{c(){t=de("div"),a&&a.c(),r=ht(),u&&u.c(),i=ht(),h&&h.c(),F(t,"class","shepherd-content")},m(d,f){ie(d,t,f),a&&a.m(t,null),Ve(t,r),u&&u.m(t,null),Ve(t,i),h&&h.m(t,null),c=!0},p(d,[f]){f&4&&(n=!q(d[2].options.title)||d[2].options.cancelIcon&&d[2].options.cancelIcon.enabled),n?a?(a.p(d,f),f&4&&I(a,1)):(a=Vn(d),a.c(),I(a,1),a.m(t,r)):a&&(Ce(),B(a,1,1,()=>{a=null}),Pe()),f&4&&(o=!q(d[2].options.text)),o?u?(u.p(d,f),f&4&&I(u,1)):(u=Nn(d),u.c(),I(u,1),u.m(t,i)):u&&(Ce(),B(u,1,1,()=>{u=null}),Pe()),f&4&&(s=Array.isArray(d[2].options.buttons)&&d[2].options.buttons.length),s?h?(h.p(d,f),f&4&&I(h,1)):(h=Wn(d),h.c(),I(h,1),h.m(t,null)):h&&(Ce(),B(h,1,1,()=>{h=null}),Pe())},i(d){c||(I(a),I(u),I(h),c=!0)},o(d){B(a),B(u),B(h),c=!1},d(d){d&&ee(t),a&&a.d(),u&&u.d(),h&&h.d()}}}function fi(e,t,n){let{descriptionId:r,labelId:o,step:i}=t;return e.$$set=s=>{"descriptionId"in s&&n(0,r=s.descriptionId),"labelId"in s&&n(1,o=s.labelId),"step"in s&&n(2,i=s.step)},[r,o,i]}class di extends be{constructor(t){super(),me(this,t,fi,ui,ge,{descriptionId:0,labelId:1,step:2})}}function Yn(e){let t;return{c(){t=de("div"),F(t,"class","shepherd-arrow"),F(t,"data-popper-arrow","")},m(n,r){ie(n,t,r)},d(n){n&&ee(t)}}}function hi(e){let t,n,r,o,i,s,c,a,u=e[4].options.arrow&&e[4].options.attachTo&&e[4].options.attachTo.element&&e[4].options.attachTo.on&&Yn();r=new di({props:{descriptionId:e[2],labelId:e[3],step:e[4]}});let h=[{"aria-describedby":o=q(e[4].options.text)?null:e[2]},{"aria-labelledby":i=e[4].options.title?e[3]:null},e[1],{open:"true"}],d={};for(let f=0;f<h.length;f+=1)d=ko(d,h[f]);return{c(){t=de("dialog"),u&&u.c(),n=ht(),ke(r.$$.fragment),kn(t,d),Ne(t,"shepherd-has-cancel-icon",e[5]),Ne(t,"shepherd-has-title",e[6]),Ne(t,"shepherd-element",!0)},m(f,p){ie(f,t,p),u&&u.m(t,null),Ve(t,n),Ee(r,t,null),e[18](t),s=!0,c||(a=pt(t,"keydown",e[7]),c=!0)},p(f,[p]){f[4].options.arrow&&f[4].options.attachTo&&f[4].options.attachTo.element&&f[4].options.attachTo.on?u||(u=Yn(),u.c(),u.m(t,n)):u&&(u.d(1),u=null);const y={};p&4&&(y.descriptionId=f[2]),p&8&&(y.labelId=f[3]),p&16&&(y.step=f[4]),r.$set(y),kn(t,d=Yo(h,[(!s||p&20&&o!==(o=q(f[4].options.text)?null:f[2]))&&{"aria-describedby":o},(!s||p&24&&i!==(i=f[4].options.title?f[3]:null))&&{"aria-labelledby":i},p&2&&f[1],{open:"true"}])),Ne(t,"shepherd-has-cancel-icon",f[5]),Ne(t,"shepherd-has-title",f[6]),Ne(t,"shepherd-element",!0)},i(f){s||(I(r.$$.fragment,f),s=!0)},o(f){B(r.$$.fragment,f),s=!1},d(f){f&&ee(t),u&&u.d(),xe(r),e[18](null),c=!1,a()}}}const pi=9,gi=27,mi=37,bi=39;function Un(e){return e.split(" ").filter(t=>!!t.length)}function vi(e,t,n){let{attachToElement:r,attachTofocusableDialogElements:o,classPrefix:i,element:s,descriptionId:c,focusableAttachToElements:a,firstFocusableAttachToElement:u,lastFocusableAttachToElement:h,firstFocusableDialogElement:d,focusableDialogElements:f,lastFocusableDialogElement:p,labelId:y,step:w,dataStepId:S}=t,_,E,O;const v=()=>s;jo(()=>{n(1,S={[`data-${i}shepherd-step-id`]:w.id}),n(13,f=[...s.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]')]),n(12,d=f[0]),n(14,p=f[f.length-1]);const m=w._getResolvedAttachToOptions();m!=null&&m.element&&(n(8,r=m.element),n(8,r.tabIndex=0,r),n(9,a=[r,...r.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]')]),n(10,u=a[0]),n(11,h=a[a.length-1]),r.addEventListener("keydown",U))}),Ho(()=>{var m;(m=r)==null||m.removeEventListener("keydown",U)}),Vt(()=>{O!==w.options.classes&&T()});function T(){j(O),O=w.options.classes,D(O)}function j(m){if(Xe(m)){const P=Un(m);P.length&&s.classList.remove(...P)}}function D(m){if(Xe(m)){const P=Un(m);P.length&&s.classList.add(...P)}}const U=m=>{const{tour:P}=w;switch(m.keyCode){case pi:if((!a||a.length===0)&&f.length===0){m.preventDefault();break}if(m.shiftKey)if(document.activeElement===d||document.activeElement.classList.contains("shepherd-element")){var A;m.preventDefault(),((A=h)!=null?A:p).focus()}else document.activeElement===u&&(m.preventDefault(),p.focus());else if(document.activeElement===p){var M;m.preventDefault(),((M=u)!=null?M:d).focus()}else document.activeElement===h&&(m.preventDefault(),d.focus());break;case gi:P.options.exitOnEsc&&(m.preventDefault(),m.stopPropagation(),w.cancel());break;case mi:P.options.keyboardNavigation&&(m.preventDefault(),m.stopPropagation(),P.back());break;case bi:P.options.keyboardNavigation&&(m.preventDefault(),m.stopPropagation(),P.next());break}};function W(m){Ye[m?"unshift":"push"](()=>{s=m,n(0,s)})}return e.$$set=m=>{"attachToElement"in m&&n(8,r=m.attachToElement),"attachTofocusableDialogElements"in m&&n(15,o=m.attachTofocusableDialogElements),"classPrefix"in m&&n(16,i=m.classPrefix),"element"in m&&n(0,s=m.element),"descriptionId"in m&&n(2,c=m.descriptionId),"focusableAttachToElements"in m&&n(9,a=m.focusableAttachToElements),"firstFocusableAttachToElement"in m&&n(10,u=m.firstFocusableAttachToElement),"lastFocusableAttachToElement"in m&&n(11,h=m.lastFocusableAttachToElement),"firstFocusableDialogElement"in m&&n(12,d=m.firstFocusableDialogElement),"focusableDialogElements"in m&&n(13,f=m.focusableDialogElements),"lastFocusableDialogElement"in m&&n(14,p=m.lastFocusableDialogElement),"labelId"in m&&n(3,y=m.labelId),"step"in m&&n(4,w=m.step),"dataStepId"in m&&n(1,S=m.dataStepId)},e.$$.update=()=>{e.$$.dirty&16&&(n(5,_=w.options&&w.options.cancelIcon&&w.options.cancelIcon.enabled),n(6,E=w.options&&w.options.title))},[s,S,c,y,w,_,E,U,r,a,u,h,d,f,p,o,i,v,W]}class yi extends be{constructor(t){super(),me(this,t,vi,hi,ge,{attachToElement:8,attachTofocusableDialogElements:15,classPrefix:16,element:0,descriptionId:2,focusableAttachToElements:9,firstFocusableAttachToElement:10,lastFocusableAttachToElement:11,firstFocusableDialogElement:12,focusableDialogElements:13,lastFocusableDialogElement:14,labelId:3,step:4,dataStepId:1,getElement:17})}get getElement(){return this.$$.ctx[17]}}class Ut extends Et{constructor(t,n={}){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?cn(this.tour.options.classPrefix):"",this.styles=t.styles,this._resolvedAttachTo=null,Tt(this),this._setOptions(n),this}cancel(){this.tour.cancel(),this.trigger("cancel")}complete(){this.tour.complete(),this.trigger("complete")}destroy(){Oo(this),Me(this.el)&&(this.el.remove(),this.el=null),this._updateStepTargetOnHide(),this.trigger("destroy")}getTour(){return this.tour}hide(){var t;(t=this.tour.modal)==null||t.hide(),this.trigger("before-hide"),this.el&&(this.el.hidden=!0),this._updateStepTargetOnHide(),this.trigger("hide")}_resolveExtraHiglightElements(){return this._resolvedExtraHighlightElements=Fr(this),this._resolvedExtraHighlightElements}_resolveAttachToOptions(){return this._resolvedAttachTo=Dr(this),this._resolvedAttachTo}_getResolvedAttachToOptions(){return this._resolvedAttachTo===null?this._resolveAttachToOptions():this._resolvedAttachTo}isOpen(){return!!(this.el&&!this.el.hidden)}show(){return ye(this.options.beforeShowPromise)?Promise.resolve(this.options.beforeShowPromise()).then(()=>this._show()):Promise.resolve(this._show())}updateStepOptions(t){Object.assign(this.options,t),this.shepherdElementComponent&&this.shepherdElementComponent.$set({step:this})}getElement(){return this.el}getTarget(){return this.target}_createTooltipContent(){const t=`${this.id}-description`,n=`${this.id}-label`;return this.shepherdElementComponent=new yi({target:this.tour.options.stepsContainer||document.body,props:{classPrefix:this.classPrefix,descriptionId:t,labelId:n,step:this,styles:this.styles}}),this.shepherdElementComponent.getElement()}_scrollTo(t){const{element:n}=this._getResolvedAttachToOptions();ye(this.options.scrollToHandler)?this.options.scrollToHandler(n):dr(n)&&typeof n.scrollIntoView=="function"&&n.scrollIntoView(t)}_getClassOptions(t){const n=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions,r=t.classes?t.classes:"",o=n&&n.classes?n.classes:"",i=[...r.split(" "),...o.split(" ")],s=new Set(i);return Array.from(s).join(" ").trim()}_setOptions(t={}){let n=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions;n=St({},n||{}),this.options=Object.assign({arrow:!0},n,t,So(n,t));const{when:r}=this.options;this.options.classes=this._getClassOptions(t),this.destroy(),this.id=this.options.id||`step-${un()}`,r&&Object.keys(r).forEach(o=>{this.on(o,r[o],this)})}_setupElements(){q(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&Pr(this),xo(this)}_show(){var t;this.trigger("before-show"),this._resolveAttachToOptions(),this._resolveExtraHiglightElements(),this._setupElements(),this.tour.modal||this.tour.setupModal(),(t=this.tour.modal)==null||t.setupForStep(this),this._styleTargetElementForStep(this),this.el&&(this.el.hidden=!1),this.options.scrollTo&&setTimeout(()=>{this._scrollTo(this.options.scrollTo)}),this.el&&(this.el.hidden=!1);const n=this.shepherdElementComponent.getElement(),r=this.target||document.body,o=this._resolvedExtraHighlightElements;r.classList.add(`${this.classPrefix}shepherd-enabled`),r.classList.add(`${this.classPrefix}shepherd-target`),n.classList.add("shepherd-enabled"),o==null||o.forEach(i=>{i.classList.add(`${this.classPrefix}shepherd-enabled`),i.classList.add(`${this.classPrefix}shepherd-target`)}),this.trigger("show")}_styleTargetElementForStep(t){const n=t.target,r=t._resolvedExtraHighlightElements;if(!n)return;const o=t.options.highlightClass;o&&(n.classList.add(o),r==null||r.forEach(i=>i.classList.add(o))),n.classList.remove("shepherd-target-click-disabled"),r==null||r.forEach(i=>i.classList.remove("shepherd-target-click-disabled")),t.options.canClickTarget===!1&&(n.classList.add("shepherd-target-click-disabled"),r==null||r.forEach(i=>i.classList.add("shepherd-target-click-disabled")))}_updateStepTargetOnHide(){const t=this.target||document.body,n=this._resolvedExtraHighlightElements,r=this.options.highlightClass;r&&(t.classList.remove(r),n==null||n.forEach(o=>o.classList.remove(r))),t.classList.remove("shepherd-target-click-disabled",`${this.classPrefix}shepherd-enabled`,`${this.classPrefix}shepherd-target`),n==null||n.forEach(o=>{o.classList.remove("shepherd-target-click-disabled",`${this.classPrefix}shepherd-enabled`,`${this.classPrefix}shepherd-target`)})}}function wi(e){if(e){const{steps:t}=e;t.forEach(n=>{n.options&&n.options.canClickTarget===!1&&n.options.attachTo&&(Me(n.target)&&n.target.classList.remove("shepherd-target-click-disabled"),n._resolvedExtraHighlightElements&&n._resolvedExtraHighlightElements.forEach(r=>{Me(r)&&r.classList.remove("shepherd-target-click-disabled")}))})}}function _i(e){let t="";const{innerWidth:n,innerHeight:r}=window;return e.forEach(o=>{const{width:i,height:s,x:c=0,y:a=0,r:u=0}=o,{topLeft:h=0,topRight:d=0,bottomRight:f=0,bottomLeft:p=0}=typeof u=="number"?{topLeft:u,topRight:u,bottomRight:u,bottomLeft:u}:u;t+=`M${c+h},${a} a${h},${h},0,0,0-${h},${h} V${s+a-p} a${p},${p},0,0,0,${p},${p} H${i+c-f} a${f},${f},0,0,0,${f}-${f} V${a+d} a${d},${d},0,0,0-${d}-${d} Z`}),`M${n},${r} H0 V0 H${n} V${r} Z ${t}`.replace(/\s/g,"")}function Ei(e){let t,n,r,o,i;return{c(){t=Cn("svg"),n=Cn("path"),F(n,"d",e[2]),F(t,"class",r=`${e[1]?"shepherd-modal-is-visible":""} shepherd-modal-overlay-container`)},m(s,c){ie(s,t,c),Ve(t,n),e[11](t),o||(i=pt(t,"touchmove",e[3]),o=!0)},p(s,[c]){c&4&&F(n,"d",s[2]),c&2&&r!==(r=`${s[1]?"shepherd-modal-is-visible":""} shepherd-modal-overlay-container`)&&F(t,"class",r)},i:Z,o:Z,d(s){s&&ee(t),e[11](null),o=!1,i()}}}function qn(e){if(!e)return null;const n=e instanceof HTMLElement&&window.getComputedStyle(e).overflowY;return n!=="hidden"&&n!=="visible"&&e.scrollHeight>=e.clientHeight?e:qn(e.parentElement)}function xi(e){let t={top:0,left:0};if(!e)return t;let n=e.ownerDocument.defaultView;for(;n!==window.top;){var r;const s=(r=n)==null?void 0:r.frameElement;if(s){var o,i;const c=s.getBoundingClientRect();t.top+=c.top+((o=c.scrollTop)!=null?o:0),t.left+=c.left+((i=c.scrollLeft)!=null?i:0)}n=n.parent}return t}function Si(e,t){const n=e.getBoundingClientRect();let r=n.y||n.top,o=n.bottom||r+n.height;if(t){const s=t.getBoundingClientRect(),c=s.y||s.top,a=s.bottom||c+s.height;r=Math.max(r,c),o=Math.min(o,a)}const i=Math.max(o-r,0);return{y:r,height:i}}function Oi(e,t,n){let{element:r,openingProperties:o}=t,i=!1,s,c;u();const a=()=>r;function u(){n(4,o=[{width:0,height:0,x:0,y:0,r:0}])}function h(){n(1,i=!1),_()}function d(v=0,T=0,j=0,D=0,U,W,m){if(W){const P=[W,...m||[]];n(4,o=[]);for(const A of P){if(!A||P.indexOf(A)!==P.lastIndexOf(A))continue;const{y:M,height:H}=Si(A,U),{x:Y,width:te,left:z}=A.getBoundingClientRect();P.some(se=>{if(se===A)return!1;const J=se.getBoundingClientRect();return Y>=J.left&&Y+te<=J.right&&M>=J.top&&M+H<=J.bottom})||o.push({width:te+v*2,height:H+v*2,x:(Y||z)+j-v,y:M+D-v,r:T})}}else u()}function f(v){_(),v.tour.options.useModalOverlay?(E(v),p()):h()}function p(){n(1,i=!0)}const y=v=>{v.preventDefault()},w=v=>{v.stopPropagation()};function S(){window.addEventListener("touchmove",y,{passive:!1})}function _(){s&&(cancelAnimationFrame(s),s=void 0),window.removeEventListener("touchmove",y,{passive:!1})}function E(v){const{modalOverlayOpeningPadding:T,modalOverlayOpeningRadius:j,modalOverlayOpeningXOffset:D=0,modalOverlayOpeningYOffset:U=0}=v.options,W=xi(v.target),m=qn(v.target),P=()=>{s=void 0,d(T,j,D+W.left,U+W.top,m,v.target,v._resolvedExtraHighlightElements),s=requestAnimationFrame(P)};P(),S()}function O(v){Ye[v?"unshift":"push"](()=>{r=v,n(0,r)})}return e.$$set=v=>{"element"in v&&n(0,r=v.element),"openingProperties"in v&&n(4,o=v.openingProperties)},e.$$.update=()=>{e.$$.dirty&16&&n(2,c=_i(o))},[r,i,c,w,o,a,u,h,d,f,p,O]}class Ti extends be{constructor(t){super(),me(this,t,Oi,Ei,ge,{element:0,openingProperties:4,getElement:5,closeModalOpening:6,hide:7,positionModal:8,setupForStep:9,show:10})}get getElement(){return this.$$.ctx[5]}get closeModalOpening(){return this.$$.ctx[6]}get hide(){return this.$$.ctx[7]}get positionModal(){return this.$$.ctx[8]}get setupForStep(){return this.$$.ctx[9]}get show(){return this.$$.ctx[10]}}class Ri extends Et{constructor(){super(),this.activeTour=void 0,Tt(this)}}class Ai extends Et{constructor(t={}){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,Tt(this);const n={exitOnEsc:!0,keyboardNavigation:!0};return this.options=Object.assign({},n,t),this.classPrefix=cn(this.options.classPrefix),this.steps=[],this.addSteps(this.options.steps),["active","cancel","complete","inactive","show","start"].map(o=>{(i=>{this.on(i,s=>{s=s||{},s.tour=this,Ie.trigger(i,s)})})(o)}),this._setTourID(t.id),this}addStep(t,n){let r=t;return r instanceof Ut?r.tour=this:r=new Ut(this,r),q(n)?this.steps.push(r):this.steps.splice(n,0,r),r}addSteps(t){return Array.isArray(t)&&t.forEach(n=>{this.addStep(n)}),this}back(){const t=this.steps.indexOf(this.currentStep);this.show(t-1,!1)}async cancel(){if(this.options.confirmCancel){const t=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?";let n;ye(this.options.confirmCancel)?n=await this.options.confirmCancel():n=window.confirm(t),n&&this._done("cancel")}else this._done("cancel")}complete(){this._done("complete")}getById(t){return this.steps.find(n=>n.id===t)}getCurrentStep(){return this.currentStep}hide(){const t=this.getCurrentStep();if(t)return t.hide()}isActive(){return Ie.activeTour===this}next(){const t=this.steps.indexOf(this.currentStep);t===this.steps.length-1?this.complete():this.show(t+1,!0)}removeStep(t){const n=this.getCurrentStep();this.steps.some((r,o)=>{if(r.id===t)return r.isOpen()&&r.hide(),r.destroy(),this.steps.splice(o,1),!0}),n&&n.id===t&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())}show(t=0,n=!0){const r=Xe(t)?this.getById(t):this.steps[t];r&&(this._updateStateBeforeShow(),ye(r.options.showOn)&&!r.options.showOn()?this._skipStep(r,n):(this.currentStep=r,this.trigger("show",{step:r,previous:this.currentStep}),r.show()))}async start(){this.trigger("start"),this.focusedElBeforeOpen=document.activeElement,this.currentStep=null,this.setupModal(),this._setupActiveTour(),this.next()}_done(t){const n=this.steps.indexOf(this.currentStep);if(Array.isArray(this.steps)&&this.steps.forEach(r=>r.destroy()),wi(this),this.trigger(t,{index:n}),Ie.activeTour=null,this.trigger("inactive",{tour:this}),this.modal&&this.modal.hide(),(t==="cancel"||t==="complete")&&this.modal){const r=document.querySelector(".shepherd-modal-overlay-container");r&&(r.remove(),this.modal=null)}Me(this.focusedElBeforeOpen)&&this.focusedElBeforeOpen.focus()}_setupActiveTour(){this.trigger("active",{tour:this}),Ie.activeTour=this}setupModal(){this.modal=new Ti({target:this.options.modalContainer||document.body,props:{styles:this.styles}})}_skipStep(t,n){const r=this.steps.indexOf(t);if(r===this.steps.length-1)this.complete();else{const o=n?r+1:r-1;this.show(o,n)}}_updateStateBeforeShow(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()}_setTourID(t){const n=this.options.tourName||"tour",r=t||un();this.id=`${n}--${r}`}}const Ie=new Ri,zn=typeof window>"u";Ie.Step=zn?kr:Ut,Ie.Tour=zn?Ir:Ai;const mt=ve.createContext(void 0),Ci=mt.Consumer,Pi=()=>{const e=ve.useContext(mt);if(!e)throw new Error("useShepherd must be used within a ShepherdJourneyProvider");const{Shepherd:t}=e;return t},ki=({children:e})=>fr.jsx(mt.Provider,{value:{Shepherd:Ie},children:e});ce.JourneyMethods=Ci,ce.ShepherdJourneyContext=mt,ce.ShepherdJourneyProvider=ki,ce.useShepherd=Pi,Object.defineProperty(ce,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-shepherd",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
"src"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"shepherd.js": "14.5.
|
|
27
|
+
"shepherd.js": "14.5.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@testing-library/jest-dom": "^6.2.0",
|
|
31
31
|
"@testing-library/react": "^16.0.1",
|
|
32
|
-
"@types/react": "^
|
|
33
|
-
"@vitejs/plugin-react": "^4.
|
|
32
|
+
"@types/react": "^19.1.0",
|
|
33
|
+
"@vitejs/plugin-react": "^4.6.0",
|
|
34
34
|
"@vitest/ui": "^2.1.5",
|
|
35
35
|
"happy-dom": "^15.10.2",
|
|
36
|
-
"typescript": "^5.
|
|
37
|
-
"vite": "^6.
|
|
38
|
-
"vite-plugin-dts": "^
|
|
36
|
+
"typescript": "^5.7.3",
|
|
37
|
+
"vite": "^6.3.5",
|
|
38
|
+
"vite-plugin-dts": "^4.5.3",
|
|
39
39
|
"vitest": "^2.1.9"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|