PageSourceSearch

https://stepily.com/assets/FAQ-CrA_rAU1.js

js stepily.com collected 2026-10-02 01:45:07 UTC 7,682 bytes, 1 lines download raw bytes

1import{a2 as l,j as e,aZ as ae,u as V,b9 as se,a as M,b as ce,a5 as ie,d as le,f as de,r as P,g as k,ag as pe,h as xe,ay as me,au as ue,az as $,bw as fe}from"./index-Dmz6Wrx6.js";import{R as he,T as ge,b as be,c as F}from"./index-Br9ledJq.js";var x="Accordion",ve=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[E,we,Ae]=ae(x),[v]=de(x,[Ae,F]),S=F(),H=l.forwardRef((o,a)=>{const{type:t,...r}=o,s=r,n=r;return e.jsx(E.Provider,{scope:o.__scopeAccordion,children:t==="multiple"?e.jsx(Ne,{...n,ref:a}):e.jsx(_e,{...s,ref:a})})});H.displayName=x;var[L,je]=v(x),[Q,Ce]=v(x,{collapsible:!1}),_e=l.forwardRef((o,a)=>{const{value:t,defaultValue:r,onValueChange:s=()=>{},collapsible:n=!1,...c}=o,[i,d]=V({prop:t,defaultProp:r??"",onChange:s,caller:x});return e.jsx(L,{scope:o.__scopeAccordion,value:l.useMemo(()=>i?[i]:[],[i]),onItemOpen:d,onItemClose:l.useCallback(()=>n&&d(""),[n,d]),children:e.jsx(Q,{scope:o.__scopeAccordion,collapsible:n,children:e.jsx(z,{...c,ref:a})})})}),Ne=l.forwardRef((o,a)=>{const{value:t,defaultValue:r,onValueChange:s=()=>{},...n}=o,[c,i]=V({prop:t,defaultProp:r??[],onChange:s,caller:x}),d=l.useCallback(u=>i((p=[])=>[...p,u]),[i]),m=l.useCallback(u=>i((p=[])=>p.filter(A=>A!==u)),[i]);return e.jsx(L,{scope:o.__scopeAccordion,value:c,onItemOpen:d,onItemClose:m,children:e.jsx(Q,{scope:o.__scopeAccordion,collapsible:!0,children:e.jsx(z,{...n,ref:a})})})}),[ye,w]=v(x),z=l.forwardRef((o,a)=>{const{__scopeAccordion:t,disabled:r,dir:s,orientation:n="vertical",...c}=o,i=l.useRef(null),d=ce(i,a),m=we(t),p=ie(s)==="ltr",A=le(o.onKeyDown,h=>{var D;if(!ve.includes(h.key))return;const re=h.target,j=m().filter(I=>{var O;return!((O=I.ref.current)!=null&&O.disabled)}),g=j.findIndex(I=>I.ref.current===re),T=j.length;if(g===-1)return;h.preventDefault();let f=g;const C=0,_=T-1,N=()=>
1{f=g+1,f>_&&(f=C)},y=()=>{f=g-1,f<C&&(f=_)};switch(h.key){case"Home":f=C;break;case"End":f=_;break;case"ArrowRight":n==="horizontal"&&(p?N():y());break;case"ArrowDown":n==="vertical"&&N();break;case"ArrowLeft":n==="horizontal"&&(p?y():N());break;case"ArrowUp":n==="vertical"&&y();break}const ne=f%T;(D=j[ne].ref.current)==null||D.focus()});return e.jsx(ye,{scope:t,disabled:r,direction:s,orientation:n,children:e.jsx(E.Slot,{scope:t,children:e.jsx(M.div,{...c,"data-orientation":n,ref:d,onKeyDown:r?void 0:A})})})}),b="AccordionItem",[Ie,q]=v(b),K=l.forwardRef((o,a)=>{const{__scopeAccordion:t,value:r,...s}=o,n=w(b,t),c=je(b,t),i=S(t),d=se(),m=r&&c.value.includes(r)||!1,u=n.disabled||o.disabled;return e.jsx(Ie,{scope:t,open:m,disabled:u,triggerId:d,children:e.jsx(he,{"data-orientation":n.orientation,"data-state":Z(m),...i,...s,ref:a,disabled:u,open:m,onOpenChange:p=>{p?c.onItemOpen(r):c.onItemClose(r)}})})});K.displayName=b;var G="AccordionHeader",U=l.forwardRef((o,a)=>{const{__scopeAccordion:t,...r}=o,s=w(x,t),n=q(G,t);return e.jsx(M.h3,{"data-orientation":s.orientation,"data-state":Z(n.open),"data-disabled":n.disabled?"":void 0,...r,ref:a})});U.displayName=G;var R="AccordionTrigger",B=l.forwardRef((o,a)=>{const{__scopeAccordion:t,...r}=o,s=w(x,t),n=q(R,t),c=Ce(R,t),i=S(t);return e.jsx(E.ItemSlot,{scope:t,children:e.jsx(ge,{"aria-disabled":n.open&&!c.collapsible||void 0,"data-orientation":s.orientation,id:n.triggerId,...i,...r,ref:a})})});B.displayName=R;var J="AccordionContent",Y=l.forwardRef((o,a)=>{const{__scopeAccordion:t,...r}=o,s=w(x,t),n=q(J,t),c=S(t);return e.jsx(be,{role:"region","aria-labelledby":n.triggerId,"data-orientation":s.orientation,...c,...r,ref:a,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...o.style}})});Y.displayName=J;function Z(o){return o?"open":"closed"}var Re=H,Pe=K,ke=U,W=B,X=Y;const Ee=Re,ee=P.forwardRef(({className:o,...a},t)=>e.jsx(Pe,{ref:t,className:k("border-b",o),...a}));ee.displayName="AccordionItem";const oe=P.forwardRef(({className:o,children:a,...t},r)=>e.jsx(ke,{className:"flex",children:e.jsxs(W,{ref:r,className:k("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",o),...t,children:[a,e.jsx(pe,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));oe.displayName=W.displayName;const te=P.forwardRef(({className:o,children:a,...t},r)=>e.jsx(X,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...t,children:e.jsx("div",{className:k("pb-4 pt-0",o),children:a})}));te.displayName=X.displayName;const Se=["whatIsStepily","whoIsFor","extension","needExtension","privateGuides"],De=()=>{const{t:o}=xe(),a=Se.map(r=>{const s=`faq.items.${r}`,n=o(`${s}.question`),c=o(`${s}.list`,{returnObjects:!0,defaultValue:[]}),i=o(`${s}.useItTo`,{defaultValue:""}),d=o(`${s}.intro`,{defaultValue:""}),m=c.length>0?e.jsxs(e.Fragment,{children:[e.jsx("p",{children:d}),i&&e.jsx("p",{className:"mt-4",children:i}),e.jsx("ol",{className:"mt-4 list-decimal space-y-2 pl-5",children:c.map(p=>e.jsx("li",{children:p},p))})]}):o(`${s}.answer`),u=c.length>0?[d,i,...c].filter(Boolean).join(" "):o(`${s}.answer`);return{id:r,question:n,answer:m,plainAnswer:u}}),t={"@context":"https://schema.org","@type":"FAQPage",mainEntity:a.map(r=>({"@type":"Question",name:r.question,acceptedAnswer:{"@type":"Answer",text:r.plainAnswer}}))};return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(me,{title:"FAQ - Frequently Asked Questions",description:"Answers to common questions about Stepily: what it is, who it's for, the Chrome extension, and how private guides work.",path:"/faq",jsonLd:t}),e.jsx("div",{className:"sticky top-0 z-50",children:e.jsx(ue,{showSearch:!1,showNav:!1,sticky:!1})}),e.jsxs("main",{children:[e.jsx("section",{className:"border-b border-border/70 bg-[radial-gradient(circle_at_top_left,hsl(221_95%_95%)_0%,hsl(0_0%_100%)_42%,hsl(268_85%_95%)_100%)]",children:e.jsxs("div",{className:"max-w-5xl mx-auto px-4 md:px-12 py-14 md:py-20",children:[e.jsx("p",{className:"text-sm font-medium uppercase tracking-[0.22em] text-muted-foreground",children:o("faq.eyebrow")}),e.jsxs("div",{className:"mt-4 flex flex-col gap-5 md:flex-row md:items-end md:justify-between",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-4xl font-semibold tracking-tight text-foreground md:text-5xl",children:o("faq.title")}),e.jsx("p",{className:"mt-4 max-w-2xl text-base leading-7 text-muted-foreground",children:o("faq.subtitle")})]}),e.jsxs("div",{className:"flex min-w-fit items-center gap-3",children:[e.jsx($,{to:"/pricing",className:"inline-flex whitespace-nowrap rounded-full border border-border bg-white/80 px-4 py-2 text-sm font-medium text-foreground shadow-sm transition-colors hover:bg-white",children:o("faq.viewPricing")}),e.jsx($,{to:"/book-demo",className:"inline-flex whitespace-nowrap rounded-full border border-violet-700 bg-violet-600 px-4 py-2 text-sm font-medium text-white shadow-[0_14px_40px_rgba(139,92,246,0.28)] transition-colors hover:bg-violet-700",children:o("faq.bookDemo")})]})]})]})}),e.jsx("section",{className:"max-w-4xl mx-auto px-4 md:px-12 py-12 md:py-16",children:e.jsx("div",{className:"rounded-3xl border border-border/70 bg-white px-6 py-4 shadow-[0_24px_80px_rgba(22,30,44,0.08)] md:px-10 md:py-6",children:e.jsx(Ee,{type:"single",collapsible:!0,className:"w-full",children:a.map(r=>
1e.jsxs(ee,{value:r.id,children:[e.jsx(oe,{className:"text-left text-base text-foreground hover:no-underline",children:r.question}),e.jsx(te,{className:"text-[15px] leading-7 text-muted-foreground",children:r.answer})]},r.id))})})})]}),e.jsx(fe,{})]})};export{De 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.