1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="2bf79dcf-5ea2-a1b6-9c1a-475747b6af5d")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,566894,t=>{"use strict";var e=t.i(620122),o=t.i(720216);let i={some:0,all:1};function r(t,{root:n,margin:s,amount:l,once:a=!1,initial:d=!1}={}){let[c,u]=(0,e.useState)(d);return(0,e.useEffect)(()=>{if(!t.current||a&&c)return;let e={root:n&&n.current||void 0,margin:s,amount:l};return function(t,e,{root:r,margin:n,amount:s="some"}={}){let l=(0,o.resolveElements)(t),a=new WeakMap,d=new IntersectionObserver(t=>{t.forEach(t=>{let o=a.get(t.target);if(!!o!==t.isIntersecting)if(t.isIntersecting){let o=e(t.target,t);"function"==typeof o?a.set(t.target,o):d.unobserve(t.target)}else"function"==typeof o&&(o(t),a.delete(t.target))})},{root:r,rootMargin:n,threshold:"number"==typeof s?s:i[s]});return l.forEach(t=>d.observe(t)),()=>d.disconnect()}(t.current,()=>(u(!0),a?void 0:()=>u(!1)),e)},[n,t,s,a,l]),c}t.s(["useInView",()=>r],566894)},158952,686170,743420,3774,200233,491268,t=>{"use strict";var e=t.i(620122),o=t.i(13251);let i=(0,e.createContext)(void 0),r=()=>{let t=(0,e.useContext)(i);if(void 0===t)throw Error("useNextStep must be used within a NextStepProvider");return t},n=({children:t})=>{let[r,n]=(0,e.useState)(null),[s,l]=(0,e.useState)(0),[a,d]=(0,e.useState)(!1),c=(0,e.useCallback)((t,e)=>{e?setTimeout(()=>{l(t),d(!0)},e):(l(t),d(!0))},[]),u=(0,e.useCallback)(()=>{d(!1),n(null)},[]),h=(0,e.useCallback)(t=>{n(t),l(0),d(!0)},[]);return(0,o.jsx)(i.Provider,{value:{currentTour:r,currentStep:s,setCurrentStep:c,closeNextStep:u,startNextStep:h,isNextStepVisible:a},children:t})};t.s(["NextStepProvider",()=>n,"useNextStep",()=>r],686170);var s=t.i(86876),l=t.i(566894);let a=()=>{let t="u">typeof window;return console.debug("Navigation is not available, using window adapter! Some features may not work. Use Framework specific adapters for better results."),{push:e=>{t&&(window.history.pushState({},"",e),window.dispatchEvent(new PopStateEvent("popstate",{state:{}})))},getCurrentPath:()=>t?window.location.pathname:"/"}},d=({step:t,currentStep:e,totalSteps:i,nextStep:r,prevStep:n,skipTour:s,arrow:l})=>(0,o.jsxs)("div",{style:{backgroundColor:"white",borderRadius:"0.5rem",boxShadow:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",padding:"1rem",maxWidth:"32rem",minWidth:"16rem"},children:[(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"1rem"},children:[(0,o.jsx)("h2",{style:{fontSize:"1.125rem",fontWeight:"bold"},children:t.title}),t.icon&&(0,o.jsx)("span",{style:{fontSize:"1.5rem"},children:t.icon})]}),(0,o.jsx)("div",{style:{marginBottom:"1rem",fontSize:"0.875rem"},children:t.content}),(0,o.jsx)("div",{style:{marginBottom:"1rem",backgroundColor:"#E5E7EB",borderRadius:"9999px",height:"0.625rem"},children:(0,o.jsx)("div",{style:{backgroundColor:"#2563EB",height:"0.625rem",borderRadius:"9999px",width:`${(e+1)/i*100}%`}})}),(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"1rem",fontSize:"0.75rem"},children:[(0,o.jsx)("button",{onClick:n,style:{padding:"0.5rem 1rem",fontWeight:"500",color:"#4B5563",backgroundColor:"#F3F4F6",borderRadius:"0.375rem",cursor:"pointer",display:t.showControls?"block":"none"},disabled:0===e,children:"Previous"}),(0,o.jsxs)("span",{style:{color:"#6B7280",whiteSpace:"nowrap"},children:[e+1," of ",i]}),e===i-1?(0,o.jsx)("button",{onClick:r,style:{padding:"0.5rem 1rem",fontWeight:"500",color:"white",backgroundColor:"#10B981",borderRadius:"0.375rem",cursor:"pointer",display:t.showControls?"block":"none"},children:"Finish"}):(0,o.jsx)("button",{onClick:r,style:{padding:"0.5rem 1rem",fontWeight:"500",color:"white",backgroundColor:"#2563EB",borderRadius:"0.375rem",cursor:"pointer",display:t.showControls?"block":"none"},children:"Next"})]}),l,s&&e<i-1&&(0,o.jsx)("button",{onClick:s,style:{marginTop:"1rem",fontSize:"0.75rem",width:"100%",padding:"0.5rem 1rem",fontWeight:"500",color:"#4B5563",backgroundColor:"#F3F4F6",borderRadius:"0.375rem",cursor:"pointer",display:t.showSkip?"block":"none"},children:"Skip Tour"})]});var c=t.i(177345);let u=({viewportID:t,children:o})=>{let[i,r]=(0,e.useState)(null);return((0,e.useEffect)(()=>
2{if(t){let e=document.getElementById(t);e?r(e):(console.warn(`Element with ID "${t}" not found. Rendering into document body.`),r(document.body))}else r(document.body)},[t]),i)?(0,c.createPortal)(o,i):null},h=({x:t,y:e,width:i,height:r,padding:n,radius:l,shadowOpacity:a,shadowRgb:d,zIndex:c})=>(0,o.jsx)("div",{style:{position:"absolute",inset:0,zIndex:c,pointerEvents:"none"},children:(0,o.jsxs)("svg",{width:"100%",height:"100%",children:[(0,o.jsx)("defs",{children:(0,o.jsxs)("mask",{id:"smooth-spotlight-mask",children:[(0,o.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,o.jsx)(s.motion.rect,{initial:!1,animate:{x:t-n/2,y:e-n/2,width:i+n,height:r+n,rx:l,ry:l},transition:{duration:.4,ease:"easeInOut"},fill:"black"})]})}),(0,o.jsx)("rect",{width:"100%",height:"100%",fill:`rgba(${d}, ${a})`,mask:"url(#smooth-spotlight-mask)"})]})}),p=({children:t,steps:i,shadowRgb:n="0, 0, 0",shadowOpacity:c="0.2",cardTransition:p={ease:"anticipate",duration:.6},cardComponent:b,onStart:w=()=>{},onStepChange:f=()=>{},onComplete:x=()=>{},onSkip:v=()=>{},displayArrow:y=!0,clickThroughOverlay:C=!1,navigationAdapter:k=a,disableConsoleLogs:S=!1,scrollToTop:I=!0,noInViewScroll:R=!1,overlayZIndex:E=999})=>{let{currentTour:j,currentStep:T,setCurrentStep:B,isNextStepVisible:P,closeNextStep:$}=r(),A=i.find(t=>t.tour===j)?.steps,[D,W]=(0,e.useState)(null),[z,H]=(0,e.useState)(null),q=(0,e.useRef)(null),L=(0,e.useRef)(null),O=(0,l.useInView)(L),[N,M]=(0,e.useState)(0),[V,Y]=(0,e.useState)(null),[F,K]=(0,e.useState)(null),[U,X]=(0,e.useState)(null),G=k(),_=(0,e.useCallback)(()=>{$()},[$]);(0,e.useEffect)(()=>(window.addEventListener("popstate",_),()=>{window.removeEventListener("popstate",_)}),[_]),(0,e.useEffect)(()=>{Y(window.document.body),K(window.document.body.getBoundingClientRect()),X(window.document.body)},[]);let J=G.getCurrentPath()||"/";(0,e.useEffect)(()=>{P&&w?.(j)},[j,w,P]),(0,e.useEffect)(()=>{if(P&&A){S||console.log("NextStep: Current Step Changed");let t=A[T],e=window.document.body;if(t&&t.viewportID){let o=document.querySelector(`#${t.viewportID}`);o&&(e=o)}let o=e.getBoundingClientRect();if(Y(e),K(o),X(m(e)),t&&t.selector){let e=document.querySelector(t.selector);if(e){H(Q(e)),q.current=e,W(e);let t=e.getBoundingClientRect();if(!(t.top>=-20&&t.bottom<=window.innerHeight+20)){let t=tn(A?.[T]?.side||"right");e.scrollIntoView({behavior:"smooth",block:t.includes("top")?"end":t.includes("bottom")?"start":"center"})}}}else t.viewportID?H({x:m(e).getBoundingClientRect().width/2,y:m(e).getBoundingClientRect().height/2,width:0,height:0}):H({x:window.innerWidth/2,y:window.innerHeight/2,width:0,height:0}),q.current=null,W(null)}},[T,A,O,20,P]);let Z=()=>{let t=window.document.body;if(A&&void 0!==T){let e=A[T];if(e.viewportID){let o=document.querySelector(`#${e.viewportID}`);o&&(t=o)}}Y(t),K(t.getBoundingClientRect()),X(m(t))};(0,e.useEffect)(()=>{if(P)return Z(),window.addEventListener("resize",Z),()=>{window.removeEventListener("resize",Z)}},[T,J,A,P]);let Q=t=>{let e=t.getBoundingClientRect(),o=window.document.body,i=window.document.body.getBoundingClientRect();if(A&&void 0!==T){let t=A[T];if(t.viewportID){let e=document.querySelector(`#${t.viewportID}`);e&&(i=(o=e).getBoundingClientRect())}}let r=e.top-i.top+o.scrollTop;return{x:e.left-i.left+o.scrollLeft,y:r,width:e.width,height:e.height}};(0,e.useEffect)(()=>{if(P&&A){S||console.log("NextStep: Current Step Changed");let t=A[T],e=window.document.body;if(t&&t.viewportID){let o=document.querySelector(`#${t.viewportID}`);o&&(e=o)}let o=e.getBoundingClientRect();if(Y(e),K(o),X(m(e)),t&&t.selector){let e=document.querySelector(t.selector);if(e){H(Q(e)),q.current=e,W(e);let t=e.getBoundingClientRect();if(!(t.top>=-20&&t.bottom<=window.innerHeight+20)){let t=tn(A?.[T]?.side||"right");e.scrollIntoView({behavior:"smooth",block:t.includes("top")?"end":t.includes("bottom")?"start":"center"})}}}else t.viewportID?H({x:m(e).getBoundingClientRect().width/2,y:m(e).getBoundingClientRect().height/2,width:0,height:0}):H({x:window.innerWidth/2,y:window.innerHeight/2,width:0,height:0}),q.current=null,W(null)}},[T,A,O,20,P]),(0,e.useEffect)(()=>
2{if(D&&!O&&P){S||console.log("NextStep: Element to Scroll Changed");let t=tn(A?.[T]?.side||"right");R||D.scrollIntoView({behavior:"smooth",block:t.includes("top")?"end":t.includes("bottom")?"start":"center",inline:"center"})}else(I||!D)&&window.scrollTo({top:0,behavior:"smooth"})},[D,O,P]);let tt=()=>{if(A){let t=A[T];if(t&&t.selector){let e=document.querySelector(t.selector);e&&H(Q(e))}else{let e=document.querySelector(`#${t.viewportID}`);t.viewportID&&e&&U?H({x:m(e).getBoundingClientRect().width/2,y:U.getBoundingClientRect().height/2,width:0,height:0}):H({x:window.innerWidth/2,y:window.innerHeight/2,width:0,height:0}),q.current=null,W(null)}}};(0,e.useEffect)(()=>{if(P)return window.addEventListener("resize",tt),()=>window.removeEventListener("resize",tt)},[T,A,P]),(0,e.useEffect)(()=>{let t=()=>{M(Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight))};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]),(0,e.useEffect)(()=>{if(!P||!j||!A||void 0===T)return;let t=A[T];if(!t.selector)return;let e=document.querySelector(t.selector);if(!e)return;let o=new ResizeObserver(()=>{tt(),Z()});return o.observe(e),()=>{o.disconnect()}},[T,j]);let te=()=>{if(A&&T<A.length-1)try{let t=T+1,e=A[T].nextRoute;if(f?.(t,j),e){G.push(e);let o=A[t].selector;o?new MutationObserver((e,i)=>{document.querySelector(o)&&(B(t),tr(t),i.disconnect())}).observe(document.body,{childList:!0,subtree:!0}):B(t)}else B(t),tr(t)}catch(t){S||console.error("Error navigating to next route",t)}else A&&T===A.length-1&&(x?.(j),$())},to=()=>{if(A&&T>0)try{let t=T-1,e=A[T].prevRoute;if(f?.(t,j),e){G.push(e);let o=A[t].selector;o?new MutationObserver((e,i)=>{document.querySelector(o)&&(B(t),tr(t),i.disconnect())}).observe(document.body,{childList:!0,subtree:!0}):B(t)}else B(t),tr(t)}catch(t){S||console.error("Error navigating to previous route",t)}},ti=()=>{v?.(T,j),$()};(0,e.useEffect)(()=>{let t=t=>{if(P&&!A?.[T]?.blockKeyboardControl)switch(t.key){case"ArrowRight":te();break;case"ArrowLeft":to();break;case"Escape":ti()}};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[P,te,to,ti]);let tr=t=>{if(A){let e=A[t].selector;if(e){let o=document.querySelector(e);if(o){let{top:e}=o.getBoundingClientRect();if(!(e>=-20&&e<=window.innerHeight+20)){let e=tn(A?.[t]?.side||"right");o.scrollIntoView({behavior:"smooth",block:e.includes("top")?"end":e.includes("bottom")?"start":"center"})}H(Q(o))}}else A?.[T]?.viewportID&&U?H({x:U.getBoundingClientRect().width/2,y:U.getBoundingClientRect().height/2,width:0,height:0}):H({x:window.innerWidth/2,y:window.innerHeight/2,width:0,height:0}),q.current=null,W(null)}},tn=t=>{if(!t||!V)return t;let e=t,o=!1;return t.startsWith("right")&&z&&V.scrollWidth<z.x+z.width+256?o=!0:t.startsWith("left")&&z&&z.x<256&&(o=!0),t.includes("top")&&z&&z.y<256?e=o?"bottom":t.replace("top","bottom"):t.includes("bottom")&&z&&z.y+z.height+256>V.scrollHeight?e=o?"top":t.replace("bottom","top"):o&&(e=z&&z.y<256?"bottom":"top"),e},ts=({isVisible:t})=>t?(0,o.jsx)("svg",{viewBox:"0 0 54 54","data-name":"nextstep-arrow",style:{...(t=>{switch(t=tn(t)){case"bottom":return{transform:"translate(-50%, 0) rotate(270deg)",left:"50%",top:"-23px"};case"top":return{transform:"translate(-50%, 0) rotate(90deg)",left:"50%",bottom:"-23px"};case"right":return{transform:"translate(0, -50%) rotate(180deg)",top:"50%",left:"-23px"};case"left":return{transform:"translate(0, -50%) rotate(0deg)",top:"50%",right:"-23px"};case"top-left":return{transform:"rotate(90deg)",left:"10px",bottom:"-23px"};case"top-right":return{transform:"rotate(90deg)",right:"10px",bottom:"-23px"};case"bottom-left":return{transform:"rotate(270deg)",left:"10px",top:"-23px"};case"bottom-right":return{transform:"rotate(270deg)",right:"10px",top:"-23px"};case"right-bottom":return{transform:"rotate(180deg)",left:"-23px",bottom:"10px"};case"right-top":return{transform:"rotate(180deg)",left:"-23px",top:"10px"};case"left-bottom":return{transform:"rotate(0deg)",right:"-23px",bottom:"10px"};case"left-top":return{transform:"rotate(0deg)",right:"-23px",top:"10px"};default:return{display:"none"}}})(A?.[T]?.side),position:"absolute",width:"1.5rem",height:"1.5rem",transformOrigin:"center"},children:(0,o.jsx)("path",{id:"triangle",d:"M27 27L0 0V54L27 27Z",fill:"currentColor"})}):null,tl={visible:{opacity:1},hidden:{opacity:0}
2},ta=A?.[T]?.pointerPadding??30,td=ta/2,tc=A?.[T]?.pointerRadius??28,tu=!!V&&g(V),th=(0,e.useCallback)(t=>{console.warn("No navigation adapter provided. Please provide a navigation adapter or import one from nextstepjs/adapters/*")},[]);return(0,e.useMemo)(()=>k||{push:th,getCurrentPath:()=>"/"},[k,th]),(0,o.jsxs)("div",{"data-name":"nextstep-wrapper","data-nextstep":"dev",style:{position:"relative",width:"100%"},children:[(0,o.jsx)("div",{"data-name":"nextstep-site",style:{display:"block",width:"100%"},children:t}),z&&P&&V&&(0,o.jsx)(u,{viewportID:A?.[T]?.viewportID,children:(0,o.jsxs)(s.motion.div,{"data-name":"nextstep-overlay",initial:"hidden",animate:P?"visible":"hidden",variants:tl,transition:{duration:.5},style:{position:"absolute",top:0,left:0,overflow:"hidden",height:tu?`${V.scrollHeight}px`:"100%",width:tu?`${V.scrollWidth}px`:"100%",zIndex:E-2,pointerEvents:"none"},children:[!C&&F&&(0,o.jsxs)("div",{"data-name":"nextstep-prevent-click-overlay",style:{position:"absolute",inset:0,zIndex:E-1,pointerEvents:"none",height:`${V.scrollHeight}px`,width:`${V.scrollWidth}px`},children:[(0,o.jsx)("div",{"data-name":"nextstep-prevent-click-overlay-top",style:{position:"absolute",top:0,left:0,right:0,pointerEvents:"auto",height:Math.max(z.y-td,0)}}),(0,o.jsx)("div",{"data-name":"nextstep-prevent-click-overlay-bottom",style:{position:"absolute",left:0,right:0,bottom:0,pointerEvents:"auto",height:`${Math.max(F.height-(z.y+z.height+td),0)}px`}}),(0,o.jsx)("div",{"data-name":"nextstep-prevent-click-overlay-left",style:{position:"absolute",left:0,top:0,pointerEvents:"auto",width:Math.max(z.x-td,0),height:F.height}}),(0,o.jsx)("div",{"data-name":"nextstep-prevent-click-overlay-right",style:{position:"absolute",top:0,pointerEvents:"auto",left:`${z.x+z.width+td}px`,right:0,height:F.height}})]}),(0,o.jsx)(h,{x:z.x-td,y:z.y-td,width:z.width+ta,height:z.height+ta,padding:ta,radius:tc,shadowOpacity:c,shadowRgb:n,zIndex:E-1}),(0,o.jsx)(s.motion.div,{"data-name":"nextstep-pointer",style:{position:"relative",zIndex:E,borderRadius:`${tc}px ${tc}px ${tc}px ${tc}px`,pointerEvents:`${A?.[T]?.disableInteraction?"auto":"none"}`},initial:z?{x:z.x-td,y:z.y-td,width:z.width+ta,height:z.height+ta}:{},animate:z?{x:z.x-td,y:z.y-td,width:z.width+ta,height:z.height+ta}:{},transition:p,children:(0,o.jsx)(s.motion.div,{"data-name":"nextstep-card",transition:p,style:{...(t=>{if(!t||!A?.[T]?.selector)return{top:"50%",left:"50%",transform:"translate(-50%, -50%)",position:"fixed",margin:"0"};switch(t=tn(t)){case"top":return{transform:"translate(-50%, 0)",left:"50%",bottom:"100%",marginBottom:"25px"};case"bottom":return{transform:"translate(-50%, 0)",left:"50%",top:"100%",marginTop:"25px"};case"left":return{transform:"translate(0, -50%)",right:"100%",top:"50%",marginRight:"25px"};case"right":return{transform:"translate(0, -50%)",left:"100%",top:"50%",marginLeft:"25px"};case"top-left":return{bottom:"100%",marginBottom:"25px"};case"top-right":return{right:0,bottom:"100%",marginBottom:"25px"};case"bottom-left":return{top:"100%",marginTop:"25px"};case"bottom-right":return{right:0,top:"100%",marginTop:"25px"};case"right-bottom":return{left:"100%",bottom:0,marginLeft:"25px"};case"right-top":return{left:"100%",top:0,marginLeft:"25px"};case"left-bottom":return{right:"100%",bottom:0,marginRight:"25px"};case"left-top":return{right:"100%",top:0,marginRight:"25px"};default:return{}}})(A?.[T]?.side),position:"absolute",display:"flex",flexDirection:"column",maxWidth:"100%",minWidth:"min-content",pointerEvents:"auto",zIndex:E},children:b?(0,o.jsx)(b,{step:A?.[T],currentStep:T,totalSteps:A?.length??0,nextStep:te,prevStep:to,arrow:(0,o.jsx)(ts,{isVisible:!!(A?.[T]?.selector&&y)}),skipTour:ti}):(0,o.jsx)(d,{step:A?.[T],currentStep:T,totalSteps:A?.length??0,nextStep:te,prevStep:to,arrow:(0,o.jsx)(ts,{isVisible:!!(A?.[T]?.selector&&y)}),skipTour:ti})})})]})}),z&&P&&A?.[T]?.viewportID&&U&&(0,o.jsx)(u,{children:(0,o.jsx)(s.motion.div,{"data-name":"nextstep-overlay2",initial:"hidden",animate:P?"visible":"hidden",variants:tl,transition:{duration:.5},style:{position:"absolute",top:0,left:0,overflow:"hidden",height:`${N}px`,width:`${document.body.scrollWidth}px`,zIndex:E-2,pointerEvents:"none"},children:!C&&(0,o.jsxs)("div",{style:{position:"absolute",inset:0,zIndex:E-1,pointerEvents:"none",width:"100vw",height:N},children:[(0,o.jsx)("div",{style:{position:"absolute",left:0,right:0,top:0,pointerEvents:"auto",height:U.getBoundingClientRect().top+window.scrollY,width:`${document.body.scrollWidth}px`,backgroundColor:`rgba(${n}, ${c})`}}),(0,o.jsx)("div",{style:{position:"absolute",left:0,right:0,pointerEvents:"auto",top:`${U.getBoundingClientRect().bottom+window.scrollY}px`,height:`${N-U.getBoundingClientRect().bottom-window.scrollY}px`,width:`${document.body.scrollWidth}px`,backgroundColor:`rgba(${n}, ${c})`}}),(0,o.jsx)("div",{style:{position:"absolute",pointerEvents:"auto",left:"0",top:U.getBoundingClientRect().top+window.scrollY,width:U.getBoundingClientRect().left+window.scrollX,height:U.getBoundingClientRect().height,backgroundColor:`rgba(${n}, ${c})`}}),(0,o.jsx)("div",{style:{position:"absolute",pointerEvents:"auto",top:U.getBoundingClientRect().top+window.scrollY,left:`${U.getBoundingClientRect().right+window.scrollX}px`,width:`${document.body.scrollWidth-U.getBoundingClientRect().right-window.scrollX}px`,height:U.getBoundingClientRect().height,backgroundColor:`rgba(${n}, ${c})`}})]})})})]})},m=t=>{let e=t.parentElement;for(;e;){let t=getComputedStyle(e),o=t.overflowY,i=t.overflowX,r="scroll"===i||"auto"===i;if(("scroll"===o||"auto"===o)&&e.scrollHeight>e.clientHeight||r&&e.scrollWidth>e.clientWidth)return e;e=e.parentElement}return t},g=t=>t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth||t===document.body;var b=t.i(910984);let w=()=>{let t=(0,b.useRouter)(),e=(0,b.usePathname)(),o="u">typeof window;return{push:e=>{o&&t.push(e)},getCurrentPath:()=>o&&e||"/"}};t.s(["useNextAdapter",0,w],743420),t.s(["default",0,({children:t,steps:e,shadowRgb:i="0, 0, 0",shadowOpacity:r="0.2",cardTransition:n={ease:"anticipate",duration:.6},cardComponent:s,onStart:l=()=>{},onStepChange:a=()=>{},onComplete:d=()=>{},onSkip:c=()=>{},displayArrow:u=!0,clickThroughOverlay:h=!1,navigationAdapter:m=w,disableConsoleLogs:g=!1,scrollToTop:b=!0,noInViewScroll:f=!1,overlayZIndex:x=999})=>(0,o.jsx)(p,{children:t,steps:e,shadowRgb:i,shadowOpacity:r,cardTransition:n,cardComponent:s,onStart:l,onStepChange:a,onComplete:d,onSkip:c,displayArrow:u,clickThroughOverlay:h,navigationAdapter:m,disableConsoleLogs:g,scrollToTop:b,noInViewScroll:f,overlayZIndex:x})],3774),t.s([],200233);let f=[{id:"ch-1",name:"Dashboard",stepCount:5},{id:"ch-2",name:"Prompts",stepCount:4},{id:"ch-3",name:"Competitors",stepCount:3},{id:"ch-4",name:"Site Audit",stepCount:5},{id:"ch-5",name:"Tasks",stepCount:2},{id:"ch-6",name:"Navigation",stepCount:2}],x={icon:null,showControls:!0,showSkip:!0,pointerPadding:12,pointerRadius:12,disableInteraction:!0},v=[{tour:"tour-welcome",steps:[{...x,title:"Welcome to Phemly",content:"Choose how you'd like to explore the app.",side:"top",pointerPadding:0,pointerRadius:0}]},{tour:"quick-tour",steps:[{...x,title:"Your Key Metrics",content:"These 4 KPIs show your brand's AI visibility at a glance.",selector:"#tour-metrics",side:"bottom"},{...x,title:"Visibility Trends",content:"Watch your AI coverage and share of voice change over time.",selector:"#tour-charts",side:"bottom"},{...x,title:"Recent AI Responses",content:"Click any scan to read the full AI-generated response.",selector:"#tour-recent-scans",side:"top"},{...x,title:"Tracked Prompts",content:"AI queries we monitor for your brand. Add more to expand coverage.",selector:"#tour-nav-prompts",side:"right",pointerPadding:8},{...x,title:"You're all set!",content:"Explore the sidebar to discover more. Replay chapters anytime from the user menu.",side:"top",pointerPadding:0,pointerRadius:0}]},{tour:"ch-1",steps:[{...x,title:"Switch Projects",content:"This is the project switcher. Use it to switch between your tracked brands.",selector:"#tour-team-switcher",side:"right-bottom",pointerPadding:8},{...x,title:"Filters",content:"Use these filters to change the time range or select a specific AI engine.",selector:"#tour-dashboard-header",side:"bottom"},{...x,title:"Key Metrics",content:"Your 4 main KPIs â Coverage, Mentions, Share of Voice and Ranking.",selector:"#tour-metrics",side:"bottom"},{...x,title:"Switch Charts",content:"Click the purple dots below the chart to switch between Coverage and Share of Voice views.",selector:"#tour-charts",side:"right",disableInteraction:!1},{...x,title:"Action Items",content:"AI-generated tasks to boost your visibility. Tasks appear automatically after scans or you can generate them from the Brand Audit.",selector:"#tour-action-items",side:"top"}]},{tour:"ch-2",steps:[{...x,title:"Expand Prompts",content:"Click Prompts in the sidebar to expand its menu.",selector:"#tour-nav-prompts",side:"right",pointerPadding:8,disableInteraction:!1},{...x,title:"Go to All Prompts",content:"Now click All Prompts to see your tracked prompts.",selector:"#tour-nav-all-prompts",side:"right",pointerPadding:8,nextRoute:"/dashboard/prompts",disableInteraction:!1},{...x,title:"Prompt Table",content:"Each row shows a tracked prompt with its visibility score. Click any row for details.",selector:"#tour-prompts-table",side:"bottom"},{...x,title:"Generate Prompts",content:"Use Generate to create more AI-optimized prompts for your brand anytime.",selector:"#tour-prompts-generate-link",side:"bottom"}]},{tour:"ch-3",steps:[{...x,title:"Open Competitors",content:"Click Competitors in the sidebar to see your competitive landscape.",selector:"#tour-nav-compet
2itors",side:"right",pointerPadding:8,nextRoute:"/dashboard/competitors",disableInteraction:!1},{...x,title:"Track a Competitor",content:"Click Track on a suggested competitor to start monitoring them.",selector:"#tour-suggested-brand-0",side:"bottom",pointerPadding:24,disableInteraction:!1},{...x,title:"See the Analysis",content:"Open the Analysis tab to compare every metric against your competitors over time.",selector:"#tour-analysis-tab",side:"bottom",disableInteraction:!1}]},{tour:"ch-4",steps:[{...x,title:"Open Audit",content:"Click Brand Audit in the sidebar to check your AI readiness.",selector:"#tour-nav-audit",side:"right",pointerPadding:8,nextRoute:"/dashboard/audit",disableInteraction:!1},{...x,title:"Run Audit",content:"Click Run Audit to analyze your website. The tour will continue when your audit is ready.",selector:"#tour-run-audit-btn",side:"left",disableInteraction:!1},{...x,title:"Suggestions Tab",content:"Click the Suggestions tab to see improvement recommendations.",selector:"#tour-audit-suggestions-tab",side:"bottom",disableInteraction:!1},{...x,title:"Open a suggestion",content:"Click a suggestion to expand it and see how to fix it.",selector:"#tour-audit-suggestion-0",side:"top",disableInteraction:!1},{...x,title:"Create a task",content:"Click Create task to turn this suggestion into an actionable task.",selector:"#tour-audit-create-task-0",side:"top",disableInteraction:!1}]},{tour:"ch-5",steps:[{...x,title:"Open Tasks",content:"Click Tasks in the sidebar to see your improvement tasks.",selector:"#tour-nav-tasks",side:"right",pointerPadding:8,nextRoute:"/dashboard/tasks",disableInteraction:!1},{...x,title:"Your Tasks",content:"Here are your tasks from the audit. Click any task to see details and implementation steps.",selector:"#tour-tasks-list",side:"right"}]},{tour:"ch-6",steps:[{...x,title:"Sidebar Navigation",content:"Access all sections from here â Dashboard, Prompts, Tasks, Content, and more.",selector:"#tour-sidebar-content",side:"right",nextRoute:"/dashboard"},{...x,title:"Your Account",content:"Manage your profile and settings, switch themes, and replay this tour anytime.",selector:"#tour-nav-user",side:"top",pointerPadding:8}]}];t.s(["TOUR_CHAPTERS",0,f,"tourSteps",0,v],491268);let y=[];function C(){return!y.includes(window.location.hostname)}let k="pheme_tour_progress",S={tourDismissed:!1,quickTourCompleted:!1,fullTourStarted:!1,widgetDismissed:!1,chaptersCompleted:{"ch-1":!1,"ch-2":!1,"ch-3":!1,"ch-4":!1,"ch-5":!1,"ch-6":!1}};function I(){try{let t=localStorage.getItem(k);if(!t)return S;let e=JSON.parse(t);return{tourDismissed:e.tourDismissed??!1,quickTourCompleted:e.quickTourCompleted??!1,fullTourStarted:e.fullTourStarted??!1,widgetDismissed:e.widgetDismissed??!1,chaptersCompleted:{"ch-1":e.chaptersCompleted?.["ch-1"]??!1,"ch-2":e.chaptersCompleted?.["ch-2"]??!1,"ch-3":e.chaptersCompleted?.["ch-3"]??!1,"ch-4":e.chaptersCompleted?.["ch-4"]??!1,"ch-5":e.chaptersCompleted?.["ch-5"]??!1,"ch-6":e.chaptersCompleted?.["ch-6"]??!1}}}catch{return S}}function R(t){localStorage.setItem(k,JSON.stringify(t))}function E(t){let e=I();return e.chaptersCompleted[t]=!0,R(e),e}function j(){let t=I();for(let e of f)if(!t.chaptersCompleted[e.id])return e.id;return null}function T(){let{startNextStep:t,closeNextStep:o,currentTour:i,currentStep:n,setCurrentStep:s}=r(),[l,a]=(0,e.useState)(S);(0,e.useEffect)(()=>{a(I())},[]);let d=(0,e.useMemo)(()=>C()&&!l.tourDismissed&&!l.quickTourCompleted&&!Object.values(l.chaptersCompleted).some(Boolean),[l]),c=(0,e.useCallback)(()=>{t("tour-welcome")},[t]),u=(0,e.useCallback)(()=>{t("quick-tour")},[t]),h=(0,e.useCallback)(e=>{t(e)},[t]),p=(0,e.useCallback)(()=>{let e=j();e&&setTimeout(()=>t(e),300)},[t]),m=(0,e.useCallback)(e=>{let o;(o=I()).chaptersCompleted[e]=!1,R(o),a(I()),t(e)},[t]),g=(0,e.useCallback)(()=>{let e,o=(R(e={...S}),e);o.fullTourStarted=!0,R(o),a(o),t("ch-1")},[t]),b=(0,e.useCallback)(()=>{let t=I();t.tourDismissed=!0,R(t),a(t),o()},[o]),w=(0,e.useCallback)(()=>{let t=I();t.quickTourCompleted=!0,t.tourDismissed=!0,R(t),a(t)},[]);return{progress:l,isFirstVisit:d,isActive:!!i,currentTour:i,currentStep:n,setCurrentStep:s,showWelcome:c,startQuickTour:u,startChapter:h,startNextChapter:p,replayChapter:m,replayAll:g,skipAll:b,markQuickTourDone:w,markChapterDone:(0,e.useCallback)(t=>{t.startsWith("ch-")&&a(E(t))},[]),refreshProgress:(0,e.useCallback)(()=>{a(I())},[]),closeTour:o}}t.s(["completeChapter",()=>E,"getNextIncompleteChapter",()=>j,"getTourProgress",()=>I,"isTourEnabled",()=>C,"saveTourProgress",()=>R,"useTour",()=>T],158952)},210562,t=>{"use strict";let e=(0,t.i(27141).default)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);t.s(["CircleIcon",()=>e],210562)}]); 3 4//# debugId=2bf79dcf-5ea2-a1b6-9c1a-475747b6af5d
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.