vendor: 3,698 bytes, line 1
1import{c as G,r as l,j as n,a as f,b as D,F as Ce,L as he}from"./index-BROlLVUp.js";import{c as ve,a as L,u as _,b as V,P as w,d as K,e as Q,f as ge,g as be}from"./index-Cusno4JF.js";import{A as Ae}from"./arrow-right-Adw00fds.js";const ye=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Ne=G("chevron-down",ye);const Re=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Ie=G("circle-question-mark",Re);function B(e){const o=je(e),t=l.forwardRef((r,s)=>{const{children:a,...c}=r,i=l.Children.toArray(a),p=i.find(_e);if(p){const u=p.props.children,x=i.map(C=>C===p?l.Children.count(u)>1?l.Children.only(null):l.isValidElement(u)?u.props.children:null:C);return n.jsx(o,{...c,ref:s,children:l.isValidElement(u)?l.cloneElement(u,void 0,x):null})}return n.jsx(o,{...c,ref:s,children:a})});return t.displayName=`${e}.Slot`,t}function je(e){const o=l.forwardRef((t,r)=>{const{children:s,...a}=t;if(l.isValidElement(s)){const c=Pe(s),i=Se(a,s.props);return s.type!==l.Fragment&&(i.ref=r?ve(r,c):c),l.cloneElement(s,i)}return l.Children.count(s)>1?l.Children.only(null):null});return o.displayName=`${e}.SlotClone`,o}var we=Symbol("radix.slottable");function _e(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===we}function Se(e,o){const t={...o};for(const r in o){const s=e[r],a=o[r];/^on[A-Z]/.test(r)?s&&a?t[r]=(...i)=>{const p=a(...i);return s(...i),p}:s&&(t[r]=s):r==="style"?t[r]={...s,...a}:r==="className"&&(t[r]=[s,a].filter(Boolean).join(" "))}return{...e,...t}}function Pe(e){let o=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,t=o&&"isReactWarning"in o&&o.isReactWarning;return t?e.ref:(o=Object.getOwnPropertyDescriptor(e,"ref")?.get,t=o&&"isReactWarning"in o&&o.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}function Ee(e){const o=e+"CollectionProvider",[t,r]=L(o),[s,a]=t(o,{collectionRef:{current:null},itemMap:new Map}),c=h=>{const{scope:m,children:g}=h,d=f.useRef(null),v=f.useRef(new Map).current;return n.jsx(s,{scope:m,itemMap:v,collectionRef:d,children:g})};c.displayName=o;const i=e+"CollectionSlot",p=B(i),u=f.forwardRef((h,m)=>{const{scope:g,children:d}=h,v=a(i,g),b=_(m,v.collectionRef);return n.jsx(p,{ref:b,children:d})});u.displayName=i;const x=e+"CollectionItemSlot",C="data-radix-collection-item",N=B(x),y=f.forwardRef((h,m)=>{const{scope:g,children:d,...v}=h,b=f.useRef(null),j=_(m,b),R=a(x,g);return f.useEffect(()=>(R.itemMap.set(b,{ref:b,...v}),()=>{R.itemMap.delete(b)})),n.jsx(N,{[C]:"",ref:j,children:d})});y.displayName=x;function I(h){const m=a(e+"CollectionConsumer",h);return f.useCallback(()=>{const d=m.collectionRef.current;if(!d)return[];const v=Array.from(d.querySelectorAll(`[${C}]`));return Array.from(m.itemMap.values()).sort((R,O)=>v.indexOf(R.ref.current)-v.indexOf(O.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:c,Slot:u,ItemSlot:y},I,r]}var P="Collapsible",[Me,U]=L(P),[Oe,$]=Me(P),Y=l.forwardRef((e,o)=>{const{__scopeCollapsible:t,open:r,defaultOpen:s,disabled:a,onOpenChange:c,...i}=e,[p,u]=V({prop:r,defaultProp:s??!1,onChange:c,caller:P});return n.jsx(Oe,{scope:t,disabled:a,contentId:K(),open:p,onOpenToggle:l.useCallback(()=>u(x=>!x),[u]),children:n.jsx(w.div,{"data-state":H(p),"data-disabled":a?"":void 0,...i,ref:o})})});Y.displayName=P;var Z="CollapsibleTrigger",J=l.forwardRef((e,o)=>{const{__scopeCollapsible:t,...r}=e,s=$(Z,t);return n.jsx(w.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":H(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...r,ref:o,onClick:Q(e.onClick,s.onOpenToggle)})});J.displayName=Z;
1var z="CollapsibleContent",X=l.forwardRef((e,o)=>{const{forceMount:t,...r}=e,s=$(z,e.__scopeCollapsible);return n.jsx(ge,{present:t||s.open,children:({present:a})=>n.jsx(ke,{...r,ref:o,present:a})})});X.displayName=z;var ke=l.forwardRef((e,o)=>{const{__scopeCollapsible:t,present:r,children:s,...a}=e,c=$(z,t),[i,p]=l.useState(r),u=l.useRef(null),x=_(o,u),C=l.useRef(0),N=C.current,y=l.useRef(0),I=y.current,h=c.open||i,m=l.useRef(h),g=l.useRef(void 0);return l.useEffect(()=>{const d=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(d)},[]),be(()=>{const d=u.current;if(d){g.current=g.current||{transitionDuration:d.style.transitionDuration,animationName:d.style.animationName},d.style.transitionDuration="0s",d.style.animationName="none";const v=d.getBoundingClientRect();C.current=v.height,y.current=v.width,m.current||(d.style.transitionDuration=g.current.transitionDuration,d.style.animationName=g.current.animationName),p(r)}},[c.open,r]),n.jsx(w.div,{"data-state":H(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!h,...a,ref:x,style:{"--radix-collapsible-content-height":N?`${N}px`:void 0,"--radix-collapsible-content-width":I?`${I}px`:void 0,...e.style},children:h&&s})});function H(e){return e?"open":"closed"}var Te=Y,De=J,Le=X,Ve=l.createContext(void 0);function $e(e){const o=l.useContext(Ve);return e||o||"ltr"}var A="Accordion",ze=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[F,He,Fe]=Ee(A),[E]=L(A,[Fe,U]),q=U(),ee=f.forwardRef((e,o)=>{const{type:t,...r}=e,s=r,a=r;return n.jsx(F.Provider,{scope:e.__scopeAccordion,children:t==="multiple"?n.jsx(Ge,{...a,ref:o}):n.jsx(Be,{...s,ref:o})})});ee.displayName=A;var[te,qe]=E(A),[oe,We]=E(A,{collapsible:!1}),Be=f.forwardRef((e,o)=>{const{value:t,defaultValue:r,onValueChange:s=()=>{},collapsible:a=!1,...c}=e,[i,p]=V({prop:t,defaultProp:r??"",onChange:s,caller:A});return n.jsx(te,{scope:e.__scopeAccordion,value:f.useMemo(()=>i?[i]:[],[i]),onItemOpen:p,onItemClose:f.useCallback(()=>a&&p(""),[a,p]),children:n.jsx(oe,{scope:e.__scopeAccordion,collapsible:a,children:n.jsx(ne,{...c,ref:o})})})}),Ge=f.forwardRef((e,o)=>{const{value:t,defaultValue:r,onValueChange:s=()=>{},...a}=e,[c,i]=V({prop:t,defaultProp:r??[],onChange:s,caller:A}),p=f.useCallback(x=>i((C=[])=>[...C,x]),[i]),u=f.useCallback(x=>i((C=[])=>C.filter(N=>N!==x)),[i]);return n.jsx(te,{scope:e.__scopeAccordion,value:c,onItemOpen:p,onItemClose:u,children:n.jsx(oe,{scope:e.__scopeAccordion,collapsible:!0,children:n.jsx(ne,{...a,ref:o})})})}),[Ke,M]=E(A),ne=f.forwardRef((e,o)=>{const{__scopeAccordion:t,disabled:r,dir:s,orientation:a="vertical",...c}=e,i=f.useRef(null),p=_(i,o),u=He(t),C=$e(s)==="ltr",N=Q(e.onKeyDown,y=>{if(!ze.includes(y.key))return;const I=y.target,h=u().filter(k=>!k.ref.current?.disabled),m=h.findIndex(k=>k.ref.current===I),g=h.length;if(m===-1)return;y.preventDefault();let d=m;const v=0,b=g-1,j=()=>{d=m+1,d>b&&(d=v)},R=()=>{d=m-1,d<v&&(d=b)};switch(y.key){case"Home":d=v;break;case"End":d=b;break;case"ArrowRight":a==="horizontal"&&(C?j():R());break;case"ArrowDown":a==="vertical"&&j();break;case"ArrowLeft":a==="horizontal"&&(C?R():j());break;case"ArrowUp":a==="vertical"&&R();break}const O=d%g;h[O].ref.current?.focus()});return n.jsx(Ke,{scope:t,disabled:r,direction:s,orientation:a,children:n.jsx(F.Slot,{scope:t,children:n.jsx(w.div,{...c,"data-orientation":a,ref:p,onKeyDown:r?void 0:N})})})}),S="AccordionItem",[Qe,W]=E(S),re=f.forwardRef((e,o)=>{const{__scopeAccordion:t,value:r,...s}=e,a=M(S,t),c=qe(S,t),i=q(t),p=K(),u=r&&c.value.includes(r)||!1,x=a.disabled||e.disabled;return n.jsx(Qe,{scope:t,open:u,disabled:x,triggerId:p,children:n.jsx(Te,{"data-orientation":a.orientation,"data-state":de(u),...i,...s,ref:o,disabled:x,open:u,onOpenChange:C=>{C?c.onItemOpen(r):c.onItemClose(r)}})})});re.displayName=S;var se="AccordionHeader",ae=f.forwardRef((e,o)=>{const{__scopeAccordion:t,...r}=e,s=M(A,t),a=W(se,t);return n.jsx(w.h3,{"data-orientation":s.orientation,"data-state":de(a.open),"data-disabled":a.disabled?"":void 0,...r,ref:o})});ae.displayName=se;var T="AccordionTrigger",ce=f.forwardRef((e,o)=>{const{__scopeAccordion:t,...r}=e,s=M(A,t),a=W(T,t),c=We(T,t),i=q(t);return n.jsx(F.ItemSlot,{scope:t,children:n.jsx(De,{"aria-disabled":a.open&&!c.collapsible||void 0,"data-orientation":s.orientation,id:a.triggerId,...i,...r,ref:o})})});ce.displayName=T;var ie="AccordionContent",le=f.forwardRef((e,o)=>{const{__scopeAccordion:t,...r}=e,s=M(A,t),a=W(ie,t),c=q(t);return n.jsx(Le,{role:"region","aria-labelledby":a.triggerId,"data-orientation":s.orientation,...c,...r,ref:o,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});le.displayName=ie;function de(e){return e?"open":"closed"}var Ue=ee,Ye=re,Ze=ae,pe=ce,ue=le;const Je=Ue,fe=l.forwardRef(({className:e,...o},t)=>n.jsx(Ye,{ref:t,className:D("border-b",e),...o}));fe.displayName="AccordionItem";const me=l.forwardRef(({className:e,children:o,...t},r)=>n.jsx(Ze,{className:"flex",children:n.jsxs(pe,{ref:r,className:D("flex flex-1 items-center justify-between py-4 text-sm font-medium cursor-pointer transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",e),...t,children:[o,n.jsx(Ne,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));me.displayName=pe.displayName;const xe=l.forwardRef(({className:e,children:o,...t},r)=>n.jsx(ue,{ref:r,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...t,children:n.jsx("div",{className:D("pb-4 pt-0",e),children:o})}));xe.displayName=ue.displayName;function ot(){return n.jsxs("article",{className:"mx-auto max-w-3xl px-3 md:px-6 py-16 md:py-20",children:[n.jsxs("header",{className:"mb-10 text-center",children:[n.jsxs("div",{className:"inline-flex items-center gap-2 text-xs font-semibold uppercase tracking-wider text-brand mb-3",children:[n.jsx(Ie,{className:"h-4 w-4"})," SSS"]}),n.jsx("h1",{className:"font-display text-4xl md:text-5xl font-semibold",children:"Sıkça Sorulan Sorular"}),n.jsx("p",{className:"mt-3 text-muted-foreground",children:"AradıÄınız cevap burada yoksa danıÅmanımıza ulaÅmanız yeterli â ücretsiz cevaplıyoruz."})]}),n.jsx(Je,{type:"single",collapsible:!0,className:"w-full",children:Ce.map((e,o)=>n.jsxs(fe,{value:`item-${o}`,className:"border-border",children:[n.jsx(me,{className:"text-left font-display text-base md:text-lg font-semibold hover:no-underline hover:text-brand",children:e.q}
1),n.jsx(xe,{className:"text-foreground/85 leading-relaxed text-sm md:text-base",children:e.a})]},o))}),n.jsx("section",{className:"mt-16 rounded-2xl p-8 md:p-12 text-white",style:{backgroundImage:"var(--gradient-hero)"},children:n.jsxs("div",{className:"grid md:grid-cols-2 gap-6 items-center",children:[n.jsxs("div",{children:[n.jsx("h2",{className:"font-display text-2xl md:text-3xl font-semibold leading-tight",children:"AradıÄınız cevap burada yok mu?"}),n.jsx("p",{className:"mt-3 text-white/85",children:"Academix danıÅmanı tüm sorularınızı ücretsiz cevaplar; tercihinize göre telefon, e-posta veya WhatsApp ile dönüŠyapar."})]}),n.jsx("div",{className:"flex flex-wrap gap-3 md:justify-end",children:n.jsxs(he,{to:"/iletisim",className:"inline-flex items-center gap-2 rounded-md bg-white text-brand px-5 py-3 text-sm font-semibold hover:bg-white/90",children:["Soru Sor ",n.jsx(Ae,{className:"h-4 w-4"})]})})]})})]})}export{ot as component};
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.