1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./zuAbkt8c.js","./CYYtTYV7.js","./entry.1cE6QVXy.css","./C-iV7qeQ.js","./DhUR8XoE.js","./Bo9mokf6.js","./Ce0Fdc_h.js","./VAvatar.DSJo9wh4.css","./BFXBP1wj.js","./VCard.DxsCeL4Z.css","./4Qeoli4c.js","./DXokj3hR.js","./DboJVnh3.js","./VInput.Dx0MdFrf.css","./ChdMwXSj.js","./VDivider.CRhg1j9w.css","./Cqk8Ng7f.js","./VList.VEWNRoVC.css","./Bx_5g_-v.js","./Ta7X1Pb-.js","./VOverlay.njjhwC8P.css","./DmD_rs2F.js","./VDialog.DlsI5r_1.css","./AppBarSearch.BmrzWMQp.css"])))=>i.map(i=>d[i]); 2import{aI as vn,cB as Ee,r as ue,ag as xn,af as Sn,bF as On,cC as En,v as Gt,ay as Et,cD as Cn,e as K,bi as An,cE as Tn,A as In,bc as te,cF as kn,z as Dn,cG as Rn,cH as Pn,cI as Mn,c9 as Ln,R as Fn,c0 as Bn,a7 as Vn,o as q,h as ve,g as ee,d as D,w as A,V as Fe,n as Ct,E as jn,c as ot,F as Be,j as qe,t as Ve,l as st,i as Nn,cJ as Hn,cK as $n,cL as Un}from"./CYYtTYV7.js";import{V as zn}from"./BFXBP1wj.js";import{V as Wn,a as qn}from"./DphhPXMu.js";import{b as Kn,a as At,c as Tt,V as Yn}from"./Cqk8Ng7f.js";/* empty css */import"./Bo9mokf6.js";import"./Ce0Fdc_h.js";import"./ChdMwXSj.js";const Xn=e=>e==="defer"||e===!1;function Gn(...e){var _;const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,o,s={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof o!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const i=vn(),r=o,l=()=>Ee.value,c=()=>i.isHydrating?i.payload.data[n]:i.static.data[n];s.server=s.server??!0,s.default=s.default??l,s.getCachedData=s.getCachedData??c,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0,s.deep=s.deep??Ee.deep,s.dedupe=s.dedupe??"cancel";const a=s.getCachedData(n,i),d=a!=null;if(!i._asyncData[n]||!s.immediate){(_=i.payload._errors)[n]??(_[n]=Ee.errorValue);const g=s.deep?ue:xn;i._asyncData[n]={data:g(d?a:s.default()),pending:ue(!d),error:Sn(i.payload._errors,n),status:ue("idle"),_default:s.default}}const u={...i._asyncData[n]};delete u._default,u.refresh=u.execute=(g={})=>{if(i._asyncDataPromises[n]){if(Xn(g.dedupe??s.dedupe))return i._asyncDataPromises[n];i._asyncDataPromises[n].cancelled=!0}if(g._initial||i.isHydrating&&g._initial!==!1){const v=g._initial?a:s.getCachedData(n,i);if(v!=null)return Promise.resolve(v)}u.pending.value=!0,u.status.value="pending";const b=new Promise((v,w)=>{try{v(r(i))}catch(y){w(y)}}).then(async v=>{if(b.cancelled)return i._asyncDataPromises[n];let w=v;s.transform&&(w=await s.transform(v)),s.pick&&(w=Zn(w,s.pick)),i.payload.data[n]=w,u.data.value=w,u.error.value=Ee.errorValue,u.status.value="success"}).catch(v=>{if(b.cancelled)return i._asyncDataPromises[n];u.error.value=Cn(v),u.data.value=K(s.default()),u.status.value="error"}).finally(()=>{b.cancelled||(u.pending.value=!1,delete i._asyncDataPromises[n])});return i._asyncDataPromises[n]=b,i._asyncDataPromises[n]},u.clear=()=>Qn(i,n);const f=()=>u.refresh({_initial:!0}),p=s.server!==!1&&i.payload.serverRendered;{const g=An();if(g&&!g._nuxtOnBeforeMountCbs){g._nuxtOnBeforeMountCbs=[];const w=g._nuxtOnBeforeMountCbs;On(()=>{w.forEach(y=>{y()}),w.splice(0,w.length)}),En(()=>w.splice(0,w.length))}p&&i.isHydrating&&(u.error.value||a!=null)?(u.pending.value=!1,u.status.value=u.error.value?"error":"success"):g&&(i.payload.serverRendered&&i.isHydrating||s.lazy)&&s.immediate?g._nuxtOnBeforeMountCbs.push(f):s.immediate&&f();const b=Tn();if(s.watch){const w=Gt(s.watch,()=>u.refresh());b&&Et(w)}const v=i.hook("app:data:refresh",async w=>{(!w||w.includes(n))&&await u.refresh()});b&&Et(v)}const m=Promise.resolve(i._asyncDataPromises[n]).then(()=>u);return Object.assign(m,u),m}function Qn(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=Ee.errorValue),e._asyncData[t]&&(e._asyncData[t].data.value=void 0,e._asyncData[t].error.value=Ee.errorValue,e._asyncData[t].pending.value=!1,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]&&(e._asyncDataPromises[t].cancelled=!0),e._asyncDataPromises[t]=void 0)}function Zn(e,t){const n={};for(const o of t)n[o]=e[o];return n}
2function Jn(e,t,n){const[o={},s]=typeof t=="string"?[{},t]:[t,n],i=In(()=>te(e)),r=o.key||kn([s,typeof i.value=="string"?i.value:"",...eo(o)]);if(!r||typeof r!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+r);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const l=r===s?"$f"+r:r;if(!o.baseURL&&typeof i.value=="string"&&i.value[0]==="/"&&i.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:c,lazy:a,default:d,transform:u,pick:f,watch:p,immediate:m,getCachedData:_,deep:g,dedupe:b,...v}=o,w=Dn({...Rn,...v,cache:typeof o.cache=="boolean"?void 0:o.cache}),y={server:c,lazy:a,default:d,transform:u,pick:f,immediate:m,getCachedData:_,deep:g,dedupe:b,watch:p===!1?[]:[w,i,...p||[]]};let h;return Gn(l,()=>{var k;(k=h==null?void 0:h.abort)==null||k.call(h,new DOMException("Request aborted as another request to the same endpoint was initiated.","AbortError")),h=typeof AbortController<"u"?new AbortController:{};const C=te(o.timeout);let M;return C&&(M=setTimeout(()=>h.abort(new DOMException("Request aborted due to timeout.","AbortError")),C),h.signal.onabort=()=>clearTimeout(M)),(o.$fetch||globalThis.$fetch)(i.value,{signal:h.signal,...w}).finally(()=>{clearTimeout(M)})},y)}function eo(e){var n;const t=[((n=te(e.method))==null?void 0:n.toUpperCase())||"GET",te(e.baseURL)];for(const o of[e.params||e.query]){const s=te(o);if(!s)continue;const i={};for(const[r,l]of Object.entries(s))i[te(r)]=te(l);t.push(i)}return t}/*! shepherd.js 13.0.3 */function to(e){return e instanceof Element}function Ue(e){return e instanceof HTMLElement}function oe(e){return typeof e=="function"}function Ne(e){return typeof e=="string"}function T(e){return e===void 0}class pt{on(t,n,o,s=!1){var i;return T(this.bindings)&&(this.bindings={}),T(this.bindings[t])&&(this.bindings[t]=[]),(i=this.bindings[t])==null||i.push({handler:n,ctx:o,once:s}),this}once(t,n,o){return this.on(t,n,o,!0)}off(t,n){if(T(this.bindings)||T(this.bindings[t]))return this;if(T(n))delete this.bindings[t];else{var o;(o=this.bindings[t])==null||o.forEach((s,i)=>{if(s.handler===n){var r;(r=this.bindings[t])==null||r.splice(i,1)}})}return this}trigger(t,...n){if(!T(this.bindings)&&this.bindings[t]){var o;(o=this.bindings[t])==null||o.forEach((s,i)=>{const{ctx:r,handler:l,once:c}=s,a=r||this;if(l.apply(a,n),c){var d;(d=this.bindings[t])==null||d.splice(i,1)}})}return this}}function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},I.apply(null,arguments)}function Qt(e,t){if(e==null)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;n[o]=e[o]}return n}const re={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};re.defaultMerge;function no(e,t){return t}function It(e){return typeof e!="object"||e===null?0:Array.isArray(e)?2:io(e)?1:e instanceof Set?3:e instanceof Map?4:5}function oo(e){const t=new Set;for(const n of e)for(const o of[...Object.keys(n),...Object.getOwnPropertySymbols(n)])t.add(o);return t}function so(e,t){return typeof e=="object"&&Object.prototype.propertyIsEnumerable.call(e,t)}function Zt(e){return{*[Symbol.iterator](){for(const t of e)for(const n of t)yield n}}}const kt=new Set(["[object Object]","[object Module]"]);function io(e){if(!kt.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"||!kt.has(Object.prototype.toString.call(n))||!n.hasOwnProperty("isPrototypeOf"))}function ro(e,t,n){const o={};for(const s of oo(e)){const i=[];for(const c of e)so(c,s)&&i.push(c[s]);if(i.length===0)continue;const r=t.metaDataUpdater(n,{key:s,parents:e}),l=en(i,t,r);l!==re.skip&&(s==="__proto__"?Object.defineProperty(o,s,{value:l,configurable:!0,enumerable:!0,writable:!0}):o[s]=l)}return o}function lo(e){return e.flat()}function co(e){return new Set(Zt(e))}function ao(e){return new Map(Zt(e))}function Jt(e){return e.at(-1)}var it=Object.freeze({__proto__:null,mergeArrays:lo,mergeMaps:ao,mergeOthers:Jt,mergeRecords:ro,mergeSets:co});function mt(...e){return uo({})(...e)}function uo(e,t){const n=fo(e,o);function o(...s){return en(s,n,t)}return o}function fo(e,t){var n,o;return{defaultMergeFunctions:it,mergeFunctions:I({},it,Object.fromEntries(Object.entries(e).filter(([s,i])=>Object.hasOwn(it,s)).map(([s,i])=>i===!1?[s,Jt]:[s,i]))),metaDataUpdater:(n=e.metaDataUpdater)!=null?n:no,deepmerge:t,useImplicitDefaultMerging:(o=e.enableImplicitDefaultMerging)!=null?o:!1,actions:re}}
2function en(e,t,n){if(e.length===0)return;if(e.length===1)return rt(e,t,n);const o=It(e[0]);if(o!==0&&o!==5){for(let s=1;s<e.length;s++)if(It(e[s])!==o)return rt(e,t,n)}switch(o){case 1:return ho(e,t,n);case 2:return po(e,t,n);case 3:return mo(e,t,n);case 4:return go(e,t,n);default:return rt(e,t,n)}}function ho(e,t,n){const o=t.mergeFunctions.mergeRecords(e,t,n);return o===re.defaultMerge||t.useImplicitDefaultMerging&&o===void 0&&t.mergeFunctions.mergeRecords!==t.defaultMergeFunctions.mergeRecords?t.defaultMergeFunctions.mergeRecords(e,t,n):o}function po(e,t,n){const o=t.mergeFunctions.mergeArrays(e,t,n);return o===re.defaultMerge||t.useImplicitDefaultMerging&&o===void 0&&t.mergeFunctions.mergeArrays!==t.defaultMergeFunctions.mergeArrays?t.defaultMergeFunctions.mergeArrays(e):o}function mo(e,t,n){const o=t.mergeFunctions.mergeSets(e,t,n);return o===re.defaultMerge||t.useImplicitDefaultMerging&&o===void 0&&t.mergeFunctions.mergeSets!==t.defaultMergeFunctions.mergeSets?t.defaultMergeFunctions.mergeSets(e):o}function go(e,t,n){const o=t.mergeFunctions.mergeMaps(e,t,n);return o===re.defaultMerge||t.useImplicitDefaultMerging&&o===void 0&&t.mergeFunctions.mergeMaps!==t.defaultMergeFunctions.mergeMaps?t.defaultMergeFunctions.mergeMaps(e):o}function rt(e,t,n){const o=t.mergeFunctions.mergeOthers(e,t,n);return o===re.defaultMerge||t.useImplicitDefaultMerging&&o===void 0&&t.mergeFunctions.mergeOthers!==t.defaultMergeFunctions.mergeOthers?t.defaultMergeFunctions.mergeOthers(e):o}function gt(e){const t=Object.getOwnPropertyNames(e.constructor.prototype);for(let n=0;n<t.length;n++){const o=t[n],s=e[o];o!=="constructor"&&typeof s=="function"&&(e[o]=s.bind(e))}return e}function bo(e,t){return n=>{if(e.isOpen()){const o=e.el&&n.currentTarget===e.el;(!T(t)&&n.currentTarget.matches(t)||o)&&e.tour.next()}}}function yo(e){const{event:t,selector:n}=e.options.advanceOn||{};if(t){const o=bo(e,n);let s=null;if(!T(n)&&(s=document.querySelector(n),!s))return console.error(`No element was found for the selector supplied to advanceOn: ${n}`);s?(s.addEventListener(t,o),e.on("destroy",()=>s.removeEventListener(t,o))):(document.body.addEventListener(t,o,!0),e.on("destroy",()=>document.body.removeEventListener(t,o,!0)))}else return console.error("advanceOn was defined, but no event name was passed.")}class wo{constructor(t){}}class _o{constructor(t,n){}}function tn(e){return!Ne(e)||e===""?"":e.charAt(e.length-1)!=="-"?`${e}-`:e}function vo(e){const t=e.options.attachTo||{},n=Object.assign({},t);if(oe(n.element)&&(n.element=n.element.call(e)),Ne(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 nn(e){return e==null?!0:!e.element||!e.on}function on(){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 Te=Math.min,de=Math.max,Xe=Math.round,Ke=Math.floor,se=e=>({x:e,y:e}),xo={left:"right",right:"left",bottom:"top",top:"bottom"},So={start:"end",end:"start"};function at(e,t,n){return de(e,Te(t,n))}function Ie(e,t){return typeof e=="function"?e(t):e}function me(e){return e.split("-")[0]}function Je(e){return e.split("-")[1]}function bt(e){return e==="x"?"y":"x"}function yt(e){return e==="y"?"height":"width"}function ke(e){return["top","bottom"].includes(me(e))?"y":"x"}function wt(e){return bt(ke(e))}function Oo(e,t,n){n===void 0&&(n=!1);const o=Je(e),s=wt(e),i=yt(s);let r=s==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(r=Ge(r)),[r,Ge(r)]}function Eo(e){const t=Ge(e);return[ut(e),t,ut(t)]}function ut(e){return e.replace(/start|end/g,t=>So[t])}function Co(e,t,n){const o=["left","right"],s=["right","left"],i=["top","bottom"],r=["bottom","top"];switch(e){case"top":case"bottom":return n?t?s:o:t?o:s;case"left":case"right":return t?i:r;default:return[]}}function Ao(e,t,n,o){const s=Je(e);let i=Co(me(e),n==="start",o);return s&&(i=i.map(r=>r+"-"+s),t&&(i=i.concat(i.map(ut)))),i}function Ge(e){return e.replace(/left|right|bottom|top/g,t=>xo[t])}function To(e){return I({top:0,right:0,bottom:0,left:0},e)}function sn(e){return typeof e!="number"?To(e):{top:e,right:e,bottom:e,left:e}}function Qe(e){const{x:t,y:n,width:o,height:s}=e;return{width:o,height:s,top:n,left:t,right:t+o,bottom:n+s,x:t,y:n}}const Io=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],ko=["mainAxis","crossAxis","limiter"];function Dt(e,t,n){let{reference:o,floating:s}=e;
2const i=ke(t),r=wt(t),l=yt(r),c=me(t),a=i==="y",d=o.x+o.width/2-s.width/2,u=o.y+o.height/2-s.height/2,f=o[l]/2-s[l]/2;let p;switch(c){case"top":p={x:d,y:o.y-s.height};break;case"bottom":p={x:d,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:u};break;case"left":p={x:o.x-s.width,y:u};break;default:p={x:o.x,y:o.y}}switch(Je(t)){case"start":p[r]-=f*(n&&a?-1:1);break;case"end":p[r]+=f*(n&&a?-1:1);break}return p}const Do=async(e,t,n)=>{const{placement:o="bottom",strategy:s="absolute",middleware:i=[],platform:r}=n,l=i.filter(Boolean),c=await(r.isRTL==null?void 0:r.isRTL(t));let a=await r.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:u}=Dt(a,o,c),f=o,p={},m=0;for(let _=0;_<l.length;_++){const{name:g,fn:b}=l[_],{x:v,y:w,data:y,reset:h}=await b({x:d,y:u,initialPlacement:o,placement:f,strategy:s,middlewareData:p,rects:a,platform:r,elements:{reference:e,floating:t}});d=v??d,u=w??u,p=I({},p,{[g]:I({},p[g],y)}),h&&m<=50&&(m++,typeof h=="object"&&(h.placement&&(f=h.placement),h.rects&&(a=h.rects===!0?await r.getElementRects({reference:e,floating:t,strategy:s}):h.rects),{x:d,y:u}=Dt(a,f,c)),_=-1)}return{x:d,y:u,placement:f,strategy:s,middlewareData:p}};async function rn(e,t){var n;t===void 0&&(t={});const{x:o,y:s,platform:i,rects:r,elements:l,strategy:c}=e,{boundary:a="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:f=!1,padding:p=0}=Ie(t,e),m=sn(p),g=l[f?u==="floating"?"reference":"floating":u],b=Qe(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:a,rootBoundary:d,strategy:c})),v=u==="floating"?{x:o,y:s,width:r.floating.width,height:r.floating.height}:r.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),y=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},h=Qe(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:w,strategy:c}):v);return{top:(b.top-h.top+m.top)/y.y,bottom:(h.bottom-b.bottom+m.bottom)/y.y,left:(b.left-h.left+m.left)/y.x,right:(h.right-b.right+m.right)/y.x}}const Ro=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:s,rects:i,platform:r,elements:l,middlewareData:c}=t,{element:a,padding:d=0}=Ie(e,t)||{};if(a==null)return{};const u=sn(d),f={x:n,y:o},p=wt(s),m=yt(p),_=await r.getDimensions(a),g=p==="y",b=g?"top":"left",v=g?"bottom":"right",w=g?"clientHeight":"clientWidth",y=i.reference[m]+i.reference[p]-f[p]-i.floating[m],h=f[p]-i.reference[p],x=await(r.getOffsetParent==null?void 0:r.getOffsetParent(a));let C=x?x[w]:0;(!C||!await(r.isElement==null?void 0:r.isElement(x)))&&(C=l.floating[w]||i.floating[m]);const M=y/2-h/2,L=C/2-_[m]/2-1,k=Te(u[b],L),F=Te(u[v],L),B=k,ae=C-_[m]-F,V=C/2-_[m]/2+M,ye=at(B,V,ae),N=!c.arrow&&Je(s)!=null&&V!==ye&&i.reference[m]/2-(V<B?k:F)-_[m]/2<0,we=N?V<B?V-B:V-ae:0;return{[p]:f[p]+we,data:I({[p]:ye,centerOffset:V-ye-we},N&&{alignmentOffset:we}),reset:N}}}),Po=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(n){var o,s;const{placement:i,middlewareData:r,rects:l,initialPlacement:c,platform:a,elements:d}=n,u=Ie(t,n),{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:_="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:b=!0}=u,v=Qt(u,Io);if((o=r.arrow)!=null&&o.alignmentOffset)return{};const w=me(i),y=ke(c),h=me(c)===c,x=await(a.isRTL==null?void 0:a.isRTL(d.floating)),C=m||(h||!b?[Ge(c)]:Eo(c)),M=g!=="none";!m&&M&&C.push(...Ao(c,b,g,x));const L=[c,...C],k=await rn(n,v),F=[];let B=((s=r.flip)==null?void 0:s.overflows)||[];if(f&&F.push(k[w]),p){const N=Oo(i,l,x);F.push(k[N[0]],k[N[1]])}if(B=[...B,{placement:i,overflows:F}],!F.every(N=>N<=0)){var ae,V;const N=(((ae=r.flip)==null?void 0:ae.index)||0)+1,we=L[N];if(we)return{data:{index:N,overflows:B},reset:{placement:we}};let Le=(V=B.filter(_e=>_e.overflows[0]<=0).sort((_e,Z)=>_e.overflows[1]-Z.overflows[1])[0])==null?void 0:V.placement;if(!Le)switch(_){case"bestFit":{var ye;const _e=(ye=B.filter(Z=>{if(M){const J=ke(Z.placement);return J===y||J==="y"}return!0}).map(Z=>[Z.placement,Z.overflows.filter(J=>J>0).reduce((J,_n)=>J+_n,0)]).sort((Z,J)=>Z[1]-J[1])[0])==null?void 0:ye[0];_e&&(Le=_e);break}case"initialPlacement":Le=c;break}if(i!==Le)return{reset:{placement:Le}}}return{}}}},Mo=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(n){const{x:o,y:s,placement:i}=n,r=Ie(t,n),{mainAxis:l=!0,crossAxis:c=!1,limiter:a={fn:v=>{let{x:w,y}=v;return{x:w,y}}}}=r,d=Qt(r,ko),u={x:o,y:s},f=await rn(n,d),p=ke(me(i)),m=bt(p);let _=u[m],g=u[p];if(l){const v=m==="y"?"top":"left",w=m==="y"?"bottom":"right",y=_+f[v],h=_-f[w];_=at(y,_,h)}if(c){const v=p==="y"?"top":"left",w=p==="y"?"bottom":"right",y=g+f[v],h=g-f[w];g=at(y,g,h)}const b=a.fn(I({},n,{[m]:_,[p]:g}));return I({},b,{data:{x:b.x-o,y:b.y-s}})}}},Lo=function(t){return t===void 0&&(t={}),{options:t,fn(n){const{x:o,y:s,placement:i,rects:r,middlewareData:l}=n,{offset:c=0,mainAxis:a=!0,crossAxis:d=!0}=Ie(t,n),u={x:o,y:s},f=ke(i),p=bt(f);let m=u[p],_=u[f];const g=Ie(c,n),b=typeof g=="number"?{mainAxis:g,crossAxis:0}:I({mainAxis:0,crossAxis:0},g);if(a){const y=p==="y"?"height":"width",h=r.reference[p]-r.floating[y]+b.mainAxis,x=r.reference[p]+r.reference[y]-b.mainAxis;m<h?m=h:m>x&&(m=x)}if(d){var v,w;const y=p==="y"?"width":"height",h=["top","left"].includes(me(i)),x=r.reference[f]-r.floating[y]+(h&&((v=l.offset)==null?void 0:v[f])||0)+(h?0:b.crossAxis),C=r.reference[f]+r.reference[y]+(h?0:((w=l.offset)==null?void 0:w[f])||0)-(h?b.crossAxis:0);_<x?_=x:_>C&&(_=C)}return{[p]:m,[f]:_}}}};function Me(e){return ln(e)?(e.nodeName||"").toLowerCase():"#document"}function R(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Y(e){var t;return(t=(ln(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ln(e){return e instanceof Node||e instanceof R(e).Node}function H(e){return e instanceof Element||e instanceof R(e).Element}function z(e){return e instanceof HTMLElement||e instanceof R(e).HTMLElement}function Rt(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof R(e).ShadowRoot}function ze(e){const{overflow:t,overflowX:n,overflowY:o,display:s}=$(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(s)}function Fo(e){return["table","td","th"].includes(Me(e))}function et(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function _t(e){const t=vt(),n=H(e)?$(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(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Bo(e){let t=ie(e);for(;z(t)&&!De(t);){if(_t(t))return t;if(et(t))return null;t=ie(t)}return null}function vt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function De(e){return["html","body","#document"].includes(Me(e))}function $(e){return R(e).getComputedStyle(e)}function tt(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ie(e){if(Me(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Rt(e)&&e.host||Y(e);return Rt(t)?t.host:t}function cn(e){const t=ie(e);return De(t)?e.ownerDocument?e.ownerDocument.body:e.body:z(t)&&ze(t)?t:cn(t)}function He(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=cn(e),i=s===((o=e.ownerDocument)==null?void 0:o.body),r=R(s);
2return i?t.concat(r,r.visualViewport||[],ze(s)?s:[],r.frameElement&&n?He(r.frameElement):[]):t.concat(s,He(s,[],n))}function an(e){const t=$(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const s=z(e),i=s?e.offsetWidth:n,r=s?e.offsetHeight:o,l=Xe(n)!==i||Xe(o)!==r;return l&&(n=i,o=r),{width:n,height:o,$:l}}function xt(e){return H(e)?e:e.contextElement}function Ce(e){const t=xt(e);if(!z(t))return se(1);const n=t.getBoundingClientRect(),{width:o,height:s,$:i}=an(t);let r=(i?Xe(n.width):n.width)/o,l=(i?Xe(n.height):n.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}const Vo=se(0);function un(e){const t=R(e);return!vt()||!t.visualViewport?Vo:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function jo(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==R(e)?!1:t}function ge(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),i=xt(e);let r=se(1);t&&(o?H(o)&&(r=Ce(o)):r=Ce(e));const l=jo(i,n,o)?un(i):se(0);let c=(s.left+l.x)/r.x,a=(s.top+l.y)/r.y,d=s.width/r.x,u=s.height/r.y;if(i){const f=R(i),p=o&&H(o)?R(o):o;let m=f,_=m.frameElement;for(;_&&o&&p!==m;){const g=Ce(_),b=_.getBoundingClientRect(),v=$(_),w=b.left+(_.clientLeft+parseFloat(v.paddingLeft))*g.x,y=b.top+(_.clientTop+parseFloat(v.paddingTop))*g.y;c*=g.x,a*=g.y,d*=g.x,u*=g.y,c+=w,a+=y,m=R(_),_=m.frameElement}}return Qe({width:d,height:u,x:c,y:a})}function No(e){let{elements:t,rect:n,offsetParent:o,strategy:s}=e;const i=s==="fixed",r=Y(o),l=t?et(t.floating):!1;if(o===r||l&&i)return n;let c={scrollLeft:0,scrollTop:0},a=se(1);const d=se(0),u=z(o);if((u||!u&&!i)&&((Me(o)!=="body"||ze(r))&&(c=tt(o)),z(o))){const f=ge(o);a=Ce(o),d.x=f.x+o.clientLeft,d.y=f.y+o.clientTop}return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+d.x,y:n.y*a.y-c.scrollTop*a.y+d.y}}function Ho(e){return Array.from(e.getClientRects())}function fn(e){return ge(Y(e)).left+tt(e).scrollLeft}function $o(e){const t=Y(e),n=tt(e),o=e.ownerDocument.body,s=de(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=de(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let r=-n.scrollLeft+fn(e);const l=-n.scrollTop;return $(o).direction==="rtl"&&(r+=de(t.clientWidth,o.clientWidth)-s),{width:s,height:i,x:r,y:l}}function Uo(e,t){const n=R(e),o=Y(e),s=n.visualViewport;let i=o.clientWidth,r=o.clientHeight,l=0,c=0;if(s){i=s.width,r=s.height;const a=vt();(!a||a&&t==="fixed")&&(l=s.offsetLeft,c=s.offsetTop)}return{width:i,height:r,x:l,y:c}}function zo(e,t){const n=ge(e,!0,t==="fixed"),o=n.top+e.clientTop,s=n.left+e.clientLeft,i=z(e)?Ce(e):se(1),r=e.clientWidth*i.x,l=e.clientHeight*i.y,c=s*i.x,a=o*i.y;return{width:r,height:l,x:c,y:a}}function Pt(e,t,n){let o;if(t==="viewport")o=Uo(e,n);else if(t==="document")o=$o(Y(e));else if(H(t))o=zo(t,n);else{const s=un(e);o=I({},t,{x:t.x-s.x,y:t.y-s.y})}return Qe(o)}function dn(e,t){const n=ie(e);return n===t||!H(n)||De(n)?!1:$(n).position==="fixed"||dn(n,t)}function Wo(e,t){const n=t.get(e);if(n)return n;let o=He(e,[],!1).filter(l=>H(l)&&Me(l)!=="body"),s=null;const i=$(e).position==="fixed";let r=i?ie(e):e;for(;H(r)&&!De(r);){const l=$(r),c=_t(r);!c&&l.position==="fixed"&&(s=null),(i?!c&&!s:!c&&l.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||ze(r)&&!c&&dn(e,r))?o=o.filter(d=>d!==r):s=l,r=ie(r)}return t.set(e,o),o}function qo(e){let{element:t,boundary:n,rootBoundary:o,strategy:s}=e;const r=[...n==="clippingAncestors"?et(t)?[]:Wo(t,this._c):[].concat(n),o],l=r[0],c=r.reduce((a,d)=>{const u=Pt(t,d,s);return a.top=de(u.top,a.top),a.right=Te(u.right,a.right),a.bottom=Te(u.bottom,a.bottom),a.left=de(u.left,a.left),a},Pt(t,l,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Ko(e){const{width:t,height:n}=an(e);return{width:t,height:n}}function Yo(e,t,n){const o=z(t),s=Y(t),i=n==="fixed",r=ge(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=se(0);if(o||!o&&!i)if((Me(t)!=="body"||ze(s))&&(l=tt(t)),o){const u=ge(t,!0,i,t);c.x=u.x+t.clientLeft,c.y=u.y+t.clientTop}else s&&(c.x=fn(s));const a=r.left+l.scrollLeft-c.x,d=r.top+l.scrollTop-c.y;return{x:a,y:d,width:r.width,height:r.height}}function lt(e){return $(e).position==="static"}function Mt(e,t){return!z(e)||$(e).position==="fixed"?null:t?t(e):e.offsetParent}function hn(e,t){const n=R(e);if(et(e))return n;if(!z(e)){let s=ie(e);for(;s&&!De(s);){if(H(s)&&!lt(s))return s;s=ie(s)}return n}let o=Mt(e,t);for(;o&&Fo(o)&<(o);)o=Mt(o,t);return o&&De(o)&<(o)&&!_t(o)?n:o||Bo(e)||n}const Xo=async function(t){const n=this.getOffsetParent||hn,o=this.getDimensions,s=await o(t.floating);return{reference:Yo(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function Go(e){return $(e).direction==="rtl"}const Qo={convertOffsetParentRelativeRectToViewportRelativeRect:No,getDocumentElement:Y,getClippingRect:qo,getOffsetParent:hn,getElementRects:Xo,getClientRects:Ho,getDimensions:Ko,getScale:Ce,isElement:H,isRTL:Go};function Zo(e,t){let n=null,o;const s=Y(e);function i(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function r(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),i();const{left:a,top:d,width:u,height:f}=e.getBoundingClientRect();if(l||t(),!u||!f)return;const p=Ke(d),m=Ke(s.clientWidth-(a+u)),_=Ke(s.clientHeight-(d+f)),g=Ke(a),v={rootMargin:-p+"px "+-m+"px "+-_+"px "+-g+"px",threshold:de(0,Te(1,c))||1};let w=!0;function y(h){const x=h[0].intersectionRatio;if(x!==c){if(!w)return r();x?r(!1,x):o=setTimeout(()=>{r(!1,1e-7)},1e3)}w=!1}try{n=new IntersectionObserver(y,I({},v,{root:s.ownerDocument}))}catch{n=new IntersectionObserver(y,v)}n.observe(e)}return r(!0),i}function Jo(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,a=xt(e),d=s||i?[...a?He(a):[],...He(t)]:[];d.forEach(b=>{s&&b.addEventListener("scroll",n,{passive:!0}),i&&b.addEventListener("resize",n)});const u=a&&l?Zo(a,n):null;let f=-1,p=null;r&&(p=new ResizeObserver(b=>{let[v]=b;v&&v.target===a&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=p)==null||w.observe(t)})),n()}),a&&!c&&p.observe(a),p.observe(t));let m,_=c?ge(e):null;c&&g();function g(){const b=ge(e);_&&(b.x!==_.x||b.y!==_.y||b.width!==_.width||b.height!==_.height)&&n(),_=b,m=requestAnimationFrame(g)}return n(),()=>{var b;d.forEach(v=>{s&&v.removeEventListener("scroll",n),i&&v.removeEventListener("resize",n)}),u==null||u(),(b=p)==null||b.disconnect(),p=null,c&&cancelAnimationFrame(m)}}const es=Mo,ts=Po,ns=Ro,os=Lo,ss=(e,t,n)=>{const o=new Map,s=I({platform:Qo},n),i=I({},s.platform,{_c:o});return Do(e,t,I({},s,{platform:i}))};function is(e){e.cleanup&&e.cleanup();const t=e._getResolvedAttachToOptions();let n=t.element;const o=fs(t,e),s=nn(t);return s&&(n=document.body,e.shepherdElementComponent.getElement().classList.add("shepherd-centered")),e.cleanup=Jo(n,e.el,()=>{if(!e.el){e.cleanup==null||e.cleanup();return}cs(n,e,o,s)}),e.target=t.element,o}function rs(e,t){return{floatingUIOptions:mt(e.floatingUIOptions||{},t.floatingUIOptions||{})}}function ls(e){e.cleanup&&e.cleanup(),e.cleanup=null}function cs(e,t,n,o){return ss(e,t.el,n).then(as(t,o)).then(s=>new Promise(i=>{setTimeout(()=>i(s),300)})).then(s=>{s!=null&&s.el&&s.el.focus({preventScroll:!0})})}function as(e,t){return({x:n,y:o,placement:s,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:`${o}px`}),e.el.dataset.popperPlacement=s,us(e.el,i)),e)}function us(e,t){const n=e.querySelector(".shepherd-arrow");if(Ue(n)&&t.arrow){const{x:o,y:s}=t.arrow;Object.assign(n.style,{left:o!=null?`${o}px`:"",top:s!=null?`${s}px`:""})}}function fs(e,t){const n={strategy:"absolute"};n.middleware=[];const o=ds(t);if(!nn(e)){if(n.middleware.push(ts(),es({limiter:os(),crossAxis:!0})),o){var i,r;const l=(e==null||(i=e.on)==null?void 0:i.includes("-start"))||(e==null||(r=e.on)==null?void 0:r.includes("-end"));n.middleware.push(ns({element:o,padding:l?4:0}))}n.placement=e.on}return mt(t.options.floatingUIOptions||{},n)}function ds(e){return e.options.arrow&&e.el?e.el.querySelector(".shepherd-arrow"):!1}function P(){}function hs(e,t){for(const n in t)e[n]=t[n];return e}function pn(e){return e()}function Lt(){return Object.create(null)}function We(e){e.forEach(pn)}function St(e){return typeof e=="function"}function X(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function ps(e){return Object.keys(e).length===0}function Re(e,t){e.appendChild(t)}function U(e,t,n){e.insertBefore(t,n||null)}function j(e){e.parentNode&&e.parentNode.removeChild(e)}function ms(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function W(e){return document.createElement(e)}function Ft(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function mn(e){return document.createTextNode(e)}function Ze(){return mn(" ")}function gs(){return mn("")}function nt(e,t,n,o){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}function O(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const bs=["width","height"];function Bt(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const o in t)t[o]==null?e.removeAttribute(o):o==="style"?e.style.cssText=t[o]:o==="__value"?e.value=e[o]=t[o]:n[o]&&n[o].set&&bs.indexOf(o)===-1?e[o]=t[o]:O(e,o,t[o])}function ys(e){return Array.from(e.childNodes)}function xe(e,t,n){e.classList.toggle(t,!!n)}let $e;function je(e){$e=e}function gn(){if(!$e)throw new Error("Function called outside component initialization");return $e}function ws(e){gn().$$.on_mount.push(e)}function Ot(e){gn().$$.after_update.push(e)}const Oe=[],Pe=[];let Ae=[];const Vt=[],_s=Promise.resolve();let ft=!1;function vs(){ft||(ft=!0,_s.then(bn))}function dt(e){Ae.push(e)}const ct=new Set;let Se=0;function bn(){if(Se!==0)return;const e=$e;do{try{for(;Se<Oe.length;){const t=Oe[Se];Se++,je(t),xs(t.$$)}}catch(t){throw Oe.length=0,Se=0,t}for(je(null),Oe.length=0,Se=0;Pe.length;)Pe.pop()();for(let t=0;t<Ae.length;t+=1){const n=Ae[t];ct.has(n)||(ct.add(n),n())}Ae.length=0}while(Oe.length);for(;Vt.length;)Vt.pop()();ft=!1,ct.clear(),je(e)}
2function xs(e){if(e.fragment!==null){e.update(),We(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(dt)}}function Ss(e){const t=[],n=[];Ae.forEach(o=>e.indexOf(o)===-1?t.push(o):n.push(o)),n.forEach(o=>o()),Ae=t}const Ye=new Set;let fe;function he(){fe={r:0,c:[],p:fe}}function pe(){fe.r||We(fe.c),fe=fe.p}function S(e,t){e&&e.i&&(Ye.delete(e),e.i(t))}function E(e,t,n,o){if(e&&e.o){if(Ye.has(e))return;Ye.add(e),fe.c.push(()=>{Ye.delete(e),o&&(n&&e.d(1),o())}),e.o(t)}else o&&o()}function jt(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Os(e,t){const n={},o={},s={$$scope:1};let i=e.length;for(;i--;){const r=e[i],l=t[i];if(l){for(const c in r)c in l||(o[c]=1);for(const c in l)s[c]||(n[c]=l[c],s[c]=1);e[i]=l}else for(const c in r)s[c]=1}for(const r in o)r in n||(n[r]=void 0);return n}function be(e){e&&e.c()}function le(e,t,n){const{fragment:o,after_update:s}=e.$$;o&&o.m(t,n),dt(()=>{const i=e.$$.on_mount.map(pn).filter(St);e.$$.on_destroy?e.$$.on_destroy.push(...i):We(i),e.$$.on_mount=[]}),s.forEach(dt)}function ce(e,t){const n=e.$$;n.fragment!==null&&(Ss(n.after_update),We(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Es(e,t){e.$$.dirty[0]===-1&&(Oe.push(e),vs(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function G(e,t,n,o,s,i,r=null,l=[-1]){const c=$e;je(e);const a=e.$$={fragment:null,ctx:[],props:i,update:P,not_equal:s,bound:Lt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Lt(),dirty:l,skip_bound:!1,root:t.target||c.$$.root};r&&r(a.root);let d=!1;if(a.ctx=n?n(e,t.props||{},(u,f,...p)=>{const m=p.length?p[0]:f;return a.ctx&&s(a.ctx[u],a.ctx[u]=m)&&(!a.skip_bound&&a.bound[u]&&a.bound[u](m),d&&Es(e,u)),f}):[],a.update(),d=!0,We(a.before_update),a.fragment=o?o(a.ctx):!1,t.target){if(t.hydrate){const u=ys(t.target);a.fragment&&a.fragment.l(u),u.forEach(j)}else a.fragment&&a.fragment.c();t.intro&&S(e.$$.fragment),le(e,t.target,t.anchor),bn()}je(c)}class Q{constructor(){this.$$=void 0,this.$$set=void 0}$destroy(){ce(this,1),this.$destroy=P}$on(t,n){if(!St(n))return P;const o=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return o.push(n),()=>{const s=o.indexOf(n);s!==-1&&o.splice(s,1)}}$set(t){this.$$set&&!ps(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Cs="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Cs);function As(e){let t,n,o,s,i;return{c(){t=W("button"),O(t,"aria-label",n=e[3]?e[3]:null),O(t,"class",o=`${e[1]||""} shepherd-button ${e[4]?"shepherd-button-secondary":""}`),t.disabled=e[2],O(t,"tabindex","0"),O(t,"type","button")},m(r,l){U(r,t,l),t.innerHTML=e[5],s||(i=nt(t,"click",function(){St(e[0])&&e[0].apply(this,arguments)}),s=!0)},p(r,[l]){e=r,l&32&&(t.innerHTML=e[5]),l&8&&n!==(n=e[3]?e[3]:null)&&O(t,"aria-label",n),l&18&&o!==(o=`${e[1]||""} shepherd-button ${e[4]?"shepherd-button-secondary":""}`)&&O(t,"class",o),l&4&&(t.disabled=e[2])},i:P,o:P,d(r){r&&j(t),s=!1,i()}}}function Ts(e,t,n){let{config:o,step:s}=t,i,r,l,c,a,d;function u(f){return oe(f)?f=f.call(s):f}return e.$$set=f=>{"config"in f&&n(6,o=f.config),"step"in f&&n(7,s=f.step)},e.$$.update=()=>{e.$$.dirty&192&&(n(0,i=o.action?o.action.bind(s.tour):null),n(1,r=o.classes),n(2,l=o.disabled?u(o.disabled):!1),n(3,c=o.label?u(o.label):null),n(4,a=o.secondary),n(5,d=o.text?u(o.text):null))},[i,r,l,c,a,d,o,s]}class Is extends Q{constructor(t){super(),G(this,t,Ts,As,X,{config:6,step:7})}}function Nt(e,t,n){const o=e.slice();return o[2]=t[n],o}function Ht(e){let t,n,o=jt(e[1]),s=[];for(let r=0;r<o.length;r+=1)s[r]=$t(Nt(e,o,r));const i=r=>E(s[r],1,1,()=>{s[r]=null});return{c(){for(let r=0;r<s.length;r+=1)s[r].c();t=gs()},m(r,l){for(let c=0;c<s.length;c+=1)s[c]&&s[c].m(r,l);U(r,t,l),n=!0},p(r,l){if(l&3){o=jt(r[1]);let c;for(c=0;c<o.length;c+=1){const a=Nt(r,o,c);s[c]?(s[c].p(a,l),S(s[c],1)):(s[c]=$t(a),s[c].c(),S(s[c],1),s[c].m(t.parentNode,t))}for(he(),c=o.length;c<s.length;c+=1)i(c);pe()}},i(r){if(!n){for(let l=0;l<o.length;l+=1)S(s[l]);n=!0}}
2,o(r){s=s.filter(Boolean);for(let l=0;l<s.length;l+=1)E(s[l]);n=!1},d(r){r&&j(t),ms(s,r)}}}function $t(e){let t,n;return t=new Is({props:{config:e[2],step:e[0]}}),{c(){be(t.$$.fragment)},m(o,s){le(t,o,s),n=!0},p(o,s){const i={};s&2&&(i.config=o[2]),s&1&&(i.step=o[0]),t.$set(i)},i(o){n||(S(t.$$.fragment,o),n=!0)},o(o){E(t.$$.fragment,o),n=!1},d(o){ce(t,o)}}}function ks(e){let t,n,o=e[1]&&Ht(e);return{c(){t=W("footer"),o&&o.c(),O(t,"class","shepherd-footer")},m(s,i){U(s,t,i),o&&o.m(t,null),n=!0},p(s,[i]){s[1]?o?(o.p(s,i),i&2&&S(o,1)):(o=Ht(s),o.c(),S(o,1),o.m(t,null)):o&&(he(),E(o,1,1,()=>{o=null}),pe())},i(s){n||(S(o),n=!0)},o(s){E(o),n=!1},d(s){s&&j(t),o&&o.d()}}}function Ds(e,t,n){let o,{step:s}=t;return e.$$set=i=>{"step"in i&&n(0,s=i.step)},e.$$.update=()=>{e.$$.dirty&1&&n(1,o=s.options.buttons)},[s,o]}class Rs extends Q{constructor(t){super(),G(this,t,Ds,ks,X,{step:0})}}function Ps(e){let t,n,o,s,i;return{c(){t=W("button"),n=W("span"),n.textContent="Ã",O(n,"aria-hidden","true"),O(t,"aria-label",o=e[0].label?e[0].label:"Close Tour"),O(t,"class","shepherd-cancel-icon"),O(t,"type","button")},m(r,l){U(r,t,l),Re(t,n),s||(i=nt(t,"click",e[1]),s=!0)},p(r,[l]){l&1&&o!==(o=r[0].label?r[0].label:"Close Tour")&&O(t,"aria-label",o)},i:P,o:P,d(r){r&&j(t),s=!1,i()}}}function Ms(e,t,n){let{cancelIcon:o,step:s}=t;const i=r=>{r.preventDefault(),s.cancel()};return e.$$set=r=>{"cancelIcon"in r&&n(0,o=r.cancelIcon),"step"in r&&n(2,s=r.step)},[o,i,s]}class Ls extends Q{constructor(t){super(),G(this,t,Ms,Ps,X,{cancelIcon:0,step:2})}}function Fs(e){let t;return{c(){t=W("h3"),O(t,"id",e[1]),O(t,"class","shepherd-title")},m(n,o){U(n,t,o),e[3](t)},p(n,[o]){o&2&&O(t,"id",n[1])},i:P,o:P,d(n){n&&j(t),e[3](null)}}}function Bs(e,t,n){let{labelId:o,element:s,title:i}=t;Ot(()=>{oe(i)&&n(2,i=i()),n(0,s.innerHTML=i,s)});function r(l){Pe[l?"unshift":"push"](()=>{s=l,n(0,s)})}return e.$$set=l=>{"labelId"in l&&n(1,o=l.labelId),"element"in l&&n(0,s=l.element),"title"in l&&n(2,i=l.title)},[s,o,i,r]}class Vs extends Q{constructor(t){super(),G(this,t,Bs,Fs,X,{labelId:1,element:0,title:2})}}function Ut(e){let t,n;return t=new Vs({props:{labelId:e[0],title:e[2]}}),{c(){be(t.$$.fragment)},m(o,s){le(t,o,s),n=!0},p(o,s){const i={};s&1&&(i.labelId=o[0]),s&4&&(i.title=o[2]),t.$set(i)},i(o){n||(S(t.$$.fragment,o),n=!0)},o(o){E(t.$$.fragment,o),n=!1},d(o){ce(t,o)}}}function zt(e){let t,n;return t=new Ls({props:{cancelIcon:e[3],step:e[1]}}),{c(){be(t.$$.fragment)},m(o,s){le(t,o,s),n=!0},p(o,s){const i={};s&8&&(i.cancelIcon=o[3]),s&2&&(i.step=o[1]),t.$set(i)},i(o){n||(S(t.$$.fragment,o),n=!0)},o(o){E(t.$$.fragment,o),n=!1},d(o){ce(t,o)}}}function js(e){let t,n,o,s=e[2]&&Ut(e),i=e[3]&&e[3].enabled&&zt(e);return{c(){t=W("header"),s&&s.c(),n=Ze(),i&&i.c(),O(t,"class","shepherd-header")},m(r,l){U(r,t,l),s&&s.m(t,null),Re(t,n),i&&i.m(t,null),o=!0},p(r,[l]){r[2]?s?(s.p(r,l),l&4&&S(s,1)):(s=Ut(r),s.c(),S(s,1),s.m(t,n)):s&&(he(),E(s,1,1,()=>{s=null}),pe()),r[3]&&r[3].enabled?i?(i.p(r,l),l&8&&S(i,1)):(i=zt(r),i.c(),S(i,1),i.m(t,null)):i&&(he(),E(i,1,1,()=>{i=null}),pe())},i(r){o||(S(s),S(i),o=!0)},o(r){E(s),E(i),o=!1},d(r){r&&j(t),s&&s.d(),i&&i.d()}}}function Ns(e,t,n){let{labelId:o,step:s}=t,i,r;return e.$$set=l=>{"labelId"in l&&n(0,o=l.labelId),"step"in l&&n(1,s=l.step)},e.$$.update=()=>{e.$$.dirty&2&&(n(2,i=s.options.title),n(3,r=s.options.cancelIcon))},[o,s,i,r]}class Hs extends Q{constructor(t){super(),G(this,t,Ns,js,X,{labelId:0,step:1})}}function $s(e){let t;return{c(){t=W("div"),O(t,"class","shepherd-text"),O(t,"id",e[1])},m(n,o){U(n,t,o),e[3](t)},p(n,[o]){o&2&&O(t,"id",n[1])},i:P,o:P,d(n){n&&j(t),e[3](null)}}}function Us(e,t,n){let{descriptionId:o,element:s,step:i}=t;Ot(()=>{let{text:l}=i.options;oe(l)&&(l=l.call(i)),Ue(l)?s.appendChild(l):n(0,s.innerHTML=l,s)});function r(l){Pe[l?"unshift":"push"](()=>{s=l,n(0,s)})}return e.$$set=l=>{"descriptionId"in l&&n(1,o=l.descriptionId),"element"in l&&n(0,s=l.element),"step"in l&&n(2,i=l.step)},[s,o,i,r]}class zs extends Q{constructor(t){super(),G(this,t,Us,$s,X,{descriptionId:1,element:0,step:2})}}function Wt(e){let t,n;return t=new Hs({props:{labelId:e[1],step:e[2]}}),{c(){be(t.$$.fragment)},m(o,s){le(t,o,s),n=!0},p(o,s){const i={};s&2&&(i.labelId=o[1]),s&4&&(i.step=o[2]),t.$set(i)},i(o){n||(S(t.$$.fragment,o),n=!0)},o(o){E(t.$$.fragment,o),n=!1},d(o){ce(t,o)}}}function qt(e){let t,n;return t=new zs({props:{descriptionId:e[0],step:e[2]}}),{c(){be(t.$$.fragment)},m(o,s){le(t,o,s),n=!0},p(o,s){const i={};s&1&&(i.descriptionId=o[0]),s&4&&(i.step=o[2]),t.$set(i)},i(o){n||(S(t.$$.fragment,o),n=!0)},o(o){E(t.$$.fragment,o),n=!1},d(o){ce(t,o)}}}function Kt(e){let t,n;return t=new Rs({props:{step:e[2]}}),{c(){be(t.$$.fragment)},m(o,s){le(t,o,s),n=!0},p(o,s){const i={};s&4&&(i.step=o[2]),t.$set(i)},i(o){n||(S(t.$$.fragment,o),n=!0)},o(o){E(t.$$.fragment,o),n=!1},d(o){ce(t,o)}}}function Ws(e){let t,n=!T(e[2].options.title)||e[2].options.cancelIcon&&e[2].options.cancelIcon.enabled,o,s=!T(e[2].options.text),i,r=Array.isArray(e[2].options.buttons)&&e[2].options.buttons.length,l,c=n&&Wt(e),a=s&&qt(e),d=r&&Kt(e);return{c(){t=W("div"),c&&c.c(),o=Ze(),a&&a.c(),i=Ze(),d&&d.c(),O(t,"class","shepherd-content")},m(u,f){U(u,t,f),c&&c.m(t,null),Re(t,o),a&&a.m(t,null),Re(t,i),d&&d.m(t,null),l=!0},p(u,[f]){f&4&&(n=!T(u[2].options.title)||u[2].options.cancelIcon&&u[2].options.cancelIcon.enabled),n?c?(c.p(u,f),f&4&&S(c,1)):(c=Wt(u),c.c(),S(c,1),c.m(t,o)):c&&(he(),E(c,1,1,()=>{c=null}),pe()),f&4&&(s=!T(u[2].options.text)),s?a?(a.p(u,f),f&4&&S(a,1)):(a=qt(u),a.c(),S(a,1),a.m(t,i)):a&&(he(),E(a,1,1,()=>{a=null}),pe()),f&4&&(r=Array.isArray(u[2].options.buttons)&&u[2].options.buttons.length),r?d?(d.p(u,f),f&4&&S(d,1)):(d=Kt(u),d.c(),S(d,1),d.m(t,null)):d&&(he(),E(d,1,1,()=>{d=null}),pe())},i(u){l||(S(c),S(a),S(d),l=!0)},o(u){E(c),E(a),E(d),l=!1}
2,d(u){u&&j(t),c&&c.d(),a&&a.d(),d&&d.d()}}}function qs(e,t,n){let{descriptionId:o,labelId:s,step:i}=t;return e.$$set=r=>{"descriptionId"in r&&n(0,o=r.descriptionId),"labelId"in r&&n(1,s=r.labelId),"step"in r&&n(2,i=r.step)},[o,s,i]}class Ks extends Q{constructor(t){super(),G(this,t,qs,Ws,X,{descriptionId:0,labelId:1,step:2})}}function Yt(e){let t;return{c(){t=W("div"),O(t,"class","shepherd-arrow"),O(t,"data-popper-arrow","")},m(n,o){U(n,t,o)},d(n){n&&j(t)}}}function Ys(e){let t,n,o,s,i,r,l,c,a=e[4].options.arrow&&e[4].options.attachTo&&e[4].options.attachTo.element&&e[4].options.attachTo.on&&Yt();o=new Ks({props:{descriptionId:e[2],labelId:e[3],step:e[4]}});let d=[{"aria-describedby":s=T(e[4].options.text)?null:e[2]},{"aria-labelledby":i=e[4].options.title?e[3]:null},e[1],{role:"dialog"},{tabindex:"0"}],u={};for(let f=0;f<d.length;f+=1)u=hs(u,d[f]);return{c(){t=W("div"),a&&a.c(),n=Ze(),be(o.$$.fragment),Bt(t,u),xe(t,"shepherd-has-cancel-icon",e[5]),xe(t,"shepherd-has-title",e[6]),xe(t,"shepherd-element",!0)},m(f,p){U(f,t,p),a&&a.m(t,null),Re(t,n),le(o,t,null),e[13](t),r=!0,l||(c=nt(t,"keydown",e[7]),l=!0)},p(f,[p]){f[4].options.arrow&&f[4].options.attachTo&&f[4].options.attachTo.element&&f[4].options.attachTo.on?a||(a=Yt(),a.c(),a.m(t,n)):a&&(a.d(1),a=null);const m={};p&4&&(m.descriptionId=f[2]),p&8&&(m.labelId=f[3]),p&16&&(m.step=f[4]),o.$set(m),Bt(t,u=Os(d,[(!r||p&20&&s!==(s=T(f[4].options.text)?null:f[2]))&&{"aria-describedby":s},(!r||p&24&&i!==(i=f[4].options.title?f[3]:null))&&{"aria-labelledby":i},p&2&&f[1],{role:"dialog"},{tabindex:"0"}])),xe(t,"shepherd-has-cancel-icon",f[5]),xe(t,"shepherd-has-title",f[6]),xe(t,"shepherd-element",!0)},i(f){r||(S(o.$$.fragment,f),r=!0)},o(f){E(o.$$.fragment,f),r=!1},d(f){f&&j(t),a&&a.d(),ce(o),e[13](null),l=!1,c()}}}const Xs=9,Gs=27,Qs=37,Zs=39;function Xt(e){return e.split(" ").filter(t=>!!t.length)}function Js(e,t,n){let{classPrefix:o,element:s,descriptionId:i,firstFocusableElement:r,focusableElements:l,labelId:c,lastFocusableElement:a,step:d,dataStepId:u}=t,f,p,m;const _=()=>s;ws(()=>{n(1,u={[`data-${o}shepherd-step-id`]:d.id}),n(9,l=s.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]')),n(8,r=l[0]),n(10,a=l[l.length-1])}),Ot(()=>{m!==d.options.classes&&g()});function g(){b(m),m=d.options.classes,v(m)}function b(h){if(Ne(h)){const x=Xt(h);x.length&&s.classList.remove(...x)}}function v(h){if(Ne(h)){const x=Xt(h);x.length&&s.classList.add(...x)}}const w=h=>{const{tour:x}=d;switch(h.keyCode){case Xs:if(l.length===0){h.preventDefault();break}h.shiftKey?(document.activeElement===r||document.activeElement.classList.contains("shepherd-element"))&&(h.preventDefault(),a.focus()):document.activeElement===a&&(h.preventDefault(),r.focus());break;case Gs:x.options.exitOnEsc&&(h.preventDefault(),h.stopPropagation(),d.cancel());break;case Qs:x.options.keyboardNavigation&&(h.preventDefault(),h.stopPropagation(),x.back());break;case Zs:x.options.keyboardNavigation&&(h.preventDefault(),h.stopPropagation(),x.next());break}};function y(h){Pe[h?"unshift":"push"](()=>{s=h,n(0,s)})}return e.$$set=h=>{"classPrefix"in h&&n(11,o=h.classPrefix),"element"in h&&n(0,s=h.element),"descriptionId"in h&&n(2,i=h.descriptionId),"firstFocusableElement"in h&&n(8,r=h.firstFocusableElement),"focusableElements"in h&&n(9,l=h.focusableElements),"labelId"in h&&n(3,c=h.labelId),"lastFocusableElement"in h&&n(10,a=h.lastFocusableElement),"step"in h&&n(4,d=h.step),"dataStepId"in h&&n(1,u=h.dataStepId)},e.$$.update=()=>{e.$$.dirty&16&&(n(5,f=d.options&&d.options.cancelIcon&&d.options.cancelIcon.enabled),n(6,p=d.options&&d.options.title))},[s,u,i,c,d,f,p,w,r,l,a,o,_,y]}class ei extends Q{constructor(t){super(),G(this,t,Js,Ys,X,{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 ht extends pt{constructor(t,n={}){return super(),this._resolvedAttachTo=void 0,this.classPrefix=void 0,this.el=void 0,this.target=void 0,this.tour=void 0,this.tour=t,this.classPrefix=this.tour.options?tn(this.tour.options.classPrefix):"",this.styles=t.styles,this._resolvedAttachTo=null,gt(this),this._setOptions(n),this}cancel(){this.tour.cancel(),this.trigger("cancel")}complete(){this.tour.complete(),this.trigger("complete")}destroy(){ls(this),Ue(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")}_resolveAttachToOptions(){return this._resolvedAttachTo=vo(this),this._resolvedAttachTo}_getResolvedAttachToOptions(){return this._resolvedAttachTo===null?this._resolveAttachToOptions():this._resolvedAttachTo}isOpen(){return!!(this.el&&!this.el.hidden)}
2show(){return oe(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 ei({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();oe(this.options.scrollToHandler)?this.options.scrollToHandler(n):to(n)&&typeof n.scrollIntoView=="function"&&n.scrollIntoView(t)}_getClassOptions(t){const n=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions,o=t.classes?t.classes:"",s=n&&n.classes?n.classes:"",i=[...o.split(" "),...s.split(" ")],r=new Set(i);return Array.from(r).join(" ").trim()}_setOptions(t={}){let n=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions;n=mt({},n||{}),this.options=Object.assign({arrow:!0},n,t,rs(n,t));const{when:o}=this.options;this.options.classes=this._getClassOptions(t),this.destroy(),this.id=this.options.id||`step-${on()}`,o&&Object.keys(o).forEach(s=>{this.on(s,o[s],this)})}_setupElements(){T(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&yo(this),is(this)}_show(){var t;this.trigger("before-show"),this._resolveAttachToOptions(),this._setupElements(),this.tour.modal||this.tour.setupModal(),(t=this.tour.modal)==null||t.setupForStep(this),this._styleTargetElementForStep(this),this.el&&(this.el.hidden=!1),this.options.scrollTo&&setTimeout(()=>{this._scrollTo(this.options.scrollTo)}),this.el&&(this.el.hidden=!1);const n=this.shepherdElementComponent.getElement(),o=this.target||document.body;o.classList.add(`${this.classPrefix}shepherd-enabled`),o.classList.add(`${this.classPrefix}shepherd-target`),n.classList.add("shepherd-enabled"),this.trigger("show")}_styleTargetElementForStep(t){const n=t.target;n&&(t.options.highlightClass&&n.classList.add(t.options.highlightClass),n.classList.remove("shepherd-target-click-disabled"),t.options.canClickTarget===!1&&n.classList.add("shepherd-target-click-disabled"))}_updateStepTargetOnHide(){const t=this.target||document.body;this.options.highlightClass&&t.classList.remove(this.options.highlightClass),t.classList.remove("shepherd-target-click-disabled",`${this.classPrefix}shepherd-enabled`,`${this.classPrefix}shepherd-target`)}}function ti(e){if(e){const{steps:t}=e;t.forEach(n=>{n.options&&n.options.canClickTarget===!1&&n.options.attachTo&&Ue(n.target)&&n.target.classList.remove("shepherd-target-click-disabled")})}}function ni({width:e,height:t,x:n=0,y:o=0,r:s=0}){const{innerWidth:i,innerHeight:r}=window,{topLeft:l=0,topRight:c=0,bottomRight:a=0,bottomLeft:d=0}=typeof s=="number"?{topLeft:s,topRight:s,bottomRight:s,bottomLeft:s}:s;return`M${i},${r}H0V0H${i}V${r}ZM${n+l},${o}a${l},${l},0,0,0-${l},${l}V${t+o-d}a${d},${d},0,0,0,${d},${d}H${e+n-a}a${a},${a},0,0,0,${a}-${a}V${o+c}a${c},${c},0,0,0-${c}-${c}Z`}function oi(e){let t,n,o,s,i;return{c(){t=Ft("svg"),n=Ft("path"),O(n,"d",e[2]),O(t,"class",o=`${e[1]?"shepherd-modal-is-visible":""} shepherd-modal-overlay-container`)},m(r,l){U(r,t,l),Re(t,n),e[11](t),s||(i=nt(t,"touchmove",e[3]),s=!0)},p(r,[l]){l&4&&O(n,"d",r[2]),l&2&&o!==(o=`${r[1]?"shepherd-modal-is-visible":""} shepherd-modal-overlay-container`)&&O(t,"class",o)},i:P,o:P,d(r){r&&j(t),e[11](null),s=!1,i()}}}function yn(e){if(!e)return null;const n=e instanceof HTMLElement&&window.getComputedStyle(e).overflowY;return n!=="hidden"&&n!=="visible"&&e.scrollHeight>=e.clientHeight?e:yn(e.parentElement)}function si(e){let t={top:0,left:0};if(!e)return t;let n=e.ownerDocument.defaultView;for(;n!==window.top;){var o;const r=(o=n)==null?void 0:o.frameElement;if(r){var s,i;const l=r.getBoundingClientRect();t.top+=l.top+((s=l.scrollTop)!=null?s:0),t.left+=l.left+((i=l.scrollLeft)!=null?i:0)}n=n.parent}return t}function ii(e,t){const n=e.getBoundingClientRect();let o=n.y||n.top,s=n.bottom||o+n.height;if(t){const r=t.getBoundingClientRect(),l=r.y||r.top,c=r.bottom||l+r.height;o=Math.max(o,l),s=Math.min(s,c)}const i=Math.max(s-o,0);return{y:o,height:i}}function ri(e,t,n){let{element:o,openingProperties:s}=t,i=!1,r,l;a();const c=()=>o;function a(){n(4,s={width:0,height:0,x:0,y:0,r:0})}function d(){n(1,i=!1),b()}
2function u(y=0,h=0,x=0,C=0,M,L){if(L){const{y:k,height:F}=ii(L,M),{x:B,width:ae,left:V}=L.getBoundingClientRect();n(4,s={width:ae+y*2,height:F+y*2,x:(B||V)+x-y,y:k+C-y,r:h})}else a()}function f(y){b(),y.tour.options.useModalOverlay?(v(y),p()):d()}function p(){n(1,i=!0)}const m=y=>{y.preventDefault()},_=y=>{y.stopPropagation()};function g(){window.addEventListener("touchmove",m,{passive:!1})}function b(){r&&(cancelAnimationFrame(r),r=void 0),window.removeEventListener("touchmove",m,{passive:!1})}function v(y){const{modalOverlayOpeningPadding:h,modalOverlayOpeningRadius:x,modalOverlayOpeningXOffset:C=0,modalOverlayOpeningYOffset:M=0}=y.options,L=si(y.target),k=yn(y.target),F=()=>{r=void 0,u(h,x,C+L.left,M+L.top,k,y.target),r=requestAnimationFrame(F)};F(),g()}function w(y){Pe[y?"unshift":"push"](()=>{o=y,n(0,o)})}return e.$$set=y=>{"element"in y&&n(0,o=y.element),"openingProperties"in y&&n(4,s=y.openingProperties)},e.$$.update=()=>{e.$$.dirty&16&&n(2,l=ni(s))},[o,i,l,_,s,c,a,d,u,f,p,w]}class li extends Q{constructor(t){super(),G(this,t,ri,oi,X,{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 ci extends pt{constructor(){super(),this.activeTour=void 0,gt(this)}}class ai extends pt{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,gt(this);const n={exitOnEsc:!0,keyboardNavigation:!0};return this.options=Object.assign({},n,t),this.classPrefix=tn(this.options.classPrefix),this.steps=[],this.addSteps(this.options.steps),["active","cancel","complete","inactive","show","start"].map(s=>{(i=>{this.on(i,r=>{r=r||{},r.tour=this,ne.trigger(i,r)})})(s)}),this._setTourID(t.id),this}addStep(t,n){let o=t;return o instanceof ht?o.tour=this:o=new ht(this,o),T(n)?this.steps.push(o):this.steps.splice(n,0,o),o}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;oe(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 ne.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((o,s)=>{if(o.id===t)return o.isOpen()&&o.hide(),o.destroy(),this.steps.splice(s,1),!0}),n&&n.id===t&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())}show(t=0,n=!0){const o=Ne(t)?this.getById(t):this.steps[t];o&&(this._updateStateBeforeShow(),oe(o.options.showOn)&&!o.options.showOn()?this._skipStep(o,n):(this.trigger("show",{step:o,previous:this.currentStep}),this.currentStep=o,o.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(o=>o.destroy()),ti(this),this.trigger(t,{index:n}),ne.activeTour=null,this.trigger("inactive",{tour:this}),this.modal&&this.modal.hide(),(t==="cancel"||t==="complete")&&this.modal){const o=document.querySelector(".shepherd-modal-overlay-container");o&&(o.remove(),this.modal=null)}Ue(this.focusedElBeforeOpen)&&this.focusedElBeforeOpen.focus()}_setupActiveTour(){this.trigger("active",{tour:this}),ne.activeTour=this}setupModal(){this.modal=new li({target:this.options.modalContainer||document.body,props:{styles:this.styles}})}_skipStep(t,n){const o=this.steps.indexOf(t);if(o===this.steps.length-1)this.complete();else{const s=n?o+1:o-1;this.show(s,n)}}_updateStateBeforeShow(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()}_setTourID(t){const n=this.options.tourName||"tour",o=t||on();this.id=`${n}--${o}`}}
2const ne=new ci,wn=typeof window>"u";ne.Step=wn?wo:ht;ne.Tour=wn?_o:ai;const ui=(e,t={})=>{const n=Ln();Pn("accessToken"),console.log(n.public.apiBaseUrl);const o={baseURL:n.public.apiBaseUrl,key:te(e),headers:{apikey:"12345"}},s=Mn(t,o);return Jn(e,s,"$36vV6Sn5jU")},fi={class:"custom-letter-spacing text-disabled text-uppercase py-2 px-4 mb-0",style:{"font-size":"0.75rem","line-height":"0.875rem"}},di={class:"mt-9"},hi=["onClick"],xi=Object.assign({inheritAttrs:!1},{__name:"NavSearchBar",setup(e){const t=Fn(),n=ue(!1),o=ue(!1),s=[{title:"Popular Searches",content:[{icon:"tabler-chart-bar",title:"Analytics",url:{name:"dashboards-analytics"}},{icon:"tabler-chart-donut-3",title:"CRM",url:{name:"dashboards-crm"}},{icon:"tabler-shopping-cart",title:"eCommerce",url:{name:"dashboards-ecommerce"}},{icon:"tabler-truck",title:"Logistics",url:{name:"dashboards-logistics"}}]},{title:"Apps & Pages",content:[{icon:"tabler-calendar",title:"Calendar",url:{name:"apps-calendar"}},{icon:"tabler-lock",title:"Roles & Permissions",url:{name:"apps-roles"}},{icon:"tabler-settings",title:"Account Settings",url:{name:"pages-account-settings-tab",params:{tab:"account"}}},{icon:"tabler-copy",title:"Dialog Examples",url:{name:"pages-dialog-examples"}}]},{title:"User Interface",content:[{icon:"tabler-typography",title:"Typography",url:{name:"pages-typography"}},{icon:"tabler-menu-2",title:"Accordion",url:{name:"components-expansion-panel"}},{icon:"tabler-info-triangle",title:"Alert",url:{name:"components-alert"}},{icon:"tabler-checkbox",title:"Cards",url:{name:"pages-cards-card-basic"}}]},{title:"Forms & Tables",content:[{icon:"tabler-circle-dot",title:"Radio",url:{name:"forms-radio"}},{icon:"tabler-file-invoice",title:"Form Layouts",url:{name:"forms-form-layouts"}},{icon:"tabler-table",title:"Table",url:{name:"tables-data-table"}},{icon:"tabler-edit",title:"Editor",url:{name:"forms-editors"}}]}],i=[{title:"Analytics",icon:"tabler-chart-bar",url:{name:"dashboards-analytics"}},{title:"CRM",icon:"tabler-chart-donut-3",url:{name:"dashboards-crm"}},{title:"eCommerce",icon:"tabler-shopping-cart",url:{name:"dashboards-ecommerce"}}],r=ue(""),l=Bn(),c=ue([]);Gt(r,async()=>{o.value=!0;const{data:p}=await ui(Hn("/app-bar/search",{q:r.value}));c.value=p.value,setTimeout(()=>{o.value=!1},500)});const d=()=>{n.value=!1,r.value=""},u=p=>{l.push(p.url),d()},f=$n(()=>Un(()=>import("./zuAbkt8c.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]),import.meta.url));return(p,m)=>{const _=Vn("IconBtn");return q(),ve(Be,null,[ee("div",jn({class:"d-flex align-center cursor-pointer"},p.$attrs,{style:{"user-select":"none"},onClick:m[2]||(m[2]=g=>n.value=!K(n))}),[D(_,{onClick:m[0]||(m[0]=g=>{var b;return(b=K(ne).activeTour)==null?void 0:b.cancel()})},{default:A(()=>[D(Fe,{icon:"tabler-search"})]),_:1}),K(t).appContentLayoutNav==="vertical"?(q(),ve("span",{key:0,class:"d-none d-md-flex align-center text-disabled ms-2",onClick:m[1]||(m[1]=g=>{var b;return(b=K(ne).activeTour)==null?void 0:b.cancel()})},m[5]||(m[5]=[ee("span",{class:"me-2"},"Search",-1),ee("span",{class:"meta-key"},"âK",-1)]))):Ct("",!0)],16),D(K(f),{"is-dialog-visible":K(n),"onUpdate:isDialogVisible":m[3]||(m[3]=g=>Nn(n)?n.value=g:null),"search-results":K(c),"is-loading":K(o),onSearch:m[4]||(m[4]=g=>r.value=g)},{suggestions:A(()=>[D(zn,{class:"app-bar-search-suggestions pa-12"},{default:A(()=>[s?(q(),ot(Wn,{key:0},{default:A(()=>[(q(),ve(Be,null,qe(s,g=>D(qn,{key:g.title,cols:"12",sm:"6"},{default:A(()=>[ee("p",fi,Ve(g.title),1),D(Kn,{class:"card-list"},{default:A(()=>[(q(!0),ve(Be,null,qe(g.content,b=>(q(),ot(At,{key:b.title,class:"app-bar-search-suggestion mx-4 mt-2",onClick:v=>u(b)},{prepend:A(()=>[D(Fe,{icon:b.icon,size:"20",class:"me-n1"},null,8,["icon"])]),default:A(()=>[D(Tt,null,{default:A(()=>[st(Ve(b.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1024)),64))]),_:1})):Ct("",!0)]),_:1})]),noDataSuggestion:A(()=>[ee("div",di,[m[6]||(m[6]=ee("span",{class:"d-flex justify-center text-disabled mb-2"},"Try searching for",-1)),(q(),ve(Be,null,qe(i,g=>ee("h6",{key:g.title,class:"app-bar-search-suggestion text-h6 font-weight-regular cursor-pointer py-2 px-4",onClick:b=>u(g)},[D(Fe,{size:"20",icon:g.icon,class:"me-2"}
2,null,8,["icon"]),ee("span",null,Ve(g.title),1)],8,hi)),64))])]),searchResult:A(({item:g})=>[D(Yn,{class:"text-disabled custom-letter-spacing font-weight-regular ps-4"},{default:A(()=>[st(Ve(g.title),1)]),_:2},1024),(q(!0),ve(Be,null,qe(g.children,b=>(q(),ot(At,{key:b.title,to:b.url,onClick:d},{prepend:A(()=>[D(Fe,{size:"20",icon:b.icon,class:"me-n1"},null,8,["icon"])]),append:A(()=>[D(Fe,{size:"20",icon:"tabler-corner-down-left",class:"enter-icon flip-in-rtl"})]),default:A(()=>[D(Tt,null,{default:A(()=>[st(Ve(b.title),1)]),_:2},1024)]),_:2},1032,["to"]))),128))]),_:1},8,["is-dialog-visible","search-results","is-loading"])],64)}}});export{xi as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.