PageSourceSearch

https://theqbstable.com/assets/ReviewVault-DO3tpIw7.js

js theqbstable.com collected 2026-10-02 01:46:01 UTC 3,687 bytes, 1 lines download raw bytes

1import{p as w,u as v,r as a,j as e,m as d,A as j,q as b,f as g,H as N}from"./index-DQnoXz1W.js";const y=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],k=w("star",y),l=N.map(t=>({quote:t.quote,name:t.name,role:t.title,stars:5})),C=5e3;function S({count:t}){return e.jsx("div",{className:"flex gap-0.5 mb-4",children:Array.from({length:5}).map((n,i)=>e.jsx(k,{size:14,className:i<t?"text-gold fill-gold":"text-white/15"},i))})}const I={enter:t=>({x:t>0?80:-80,opacity:0}),center:{x:0,opacity:1},exit:t=>({x:t>0?-80:80,opacity:0})};function R(){const t=v(),[n,i]=a.useState(0),[m,c]=a.useState(1),[u,h]=a.useState(!1),p=a.useCallback(s=>{c(s>n?1:-1),i(s)},[n]),x=a.useCallback(()=>{c(1),i(s=>(s+1)%l.length)},[]),f=a.useCallback(()=>{c(-1),i(s=>(s-1+l.length)%l.length)},[]);a.useEffect(()=>{if(u)return;const s=setInterval(x,C);return()=>clearInterval(s)},[u,x]);const o=l[n];return e.jsx("section",{className:"w-full bg-black flex flex-col items-center justify-center px-4 sm:px-6 md:px-10 py-20 md:py-32",onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),children:e.jsxs("div",{className:"max-w-4xl mx-auto w-full",children:[e.jsx(d.p,{className:"text-center text-gold text-xs uppercase tracking-[0.3em] font-sans font-semibold mb-3",initial:t?!1:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:t?{duration:0}:{duration:.6},children:"The Review Vault"}),e.jsx(d.h2,{className:"text-center font-serif text-3xl md:text-5xl text-white mb-16",initial:t?!1:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:t?{duration:0}:{duration:.6,delay:.1},children:"Results Speak Louder"}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"overflow-hidden min-h-[240px] sm:min-h-[220px] flex items-center",children:e.jsx(j,{mode:"wait",custom:m,children:e.jsx(d.div,{custom:m,variants:t?void 0:I,initial:t?!1:"enter",animate:"center",exit:t?void 0:"exit",transition:t?{duration:0}:{duration:.4,ease:"easeInOut"},className:"w-full px-4 sm:px-12",children:e.jsxs("div",{className:"text-center",children:[e.jsx(S,{count:o.stars}),e.jsxs("div",{className:"mb-6",children:[e.jsx("span",{className:"text-gold/40 font-serif text-5xl leading-none",children:"“"}),e.jsx("p",{className:"text-white/65 text-lg sm:text-xl md:text-2xl leading-relaxed font-sans -mt-5 max-w-2xl mx-auto",children:o.quote})]}),e.jsxs("div",{className:"border-t border-white/10 pt-5 inline-block",children:[e.jsx("p",{className:"text-white text-base font-semibold font-sans",children:o.name}),e.jsx("p",{className:"text-gold/60 text-xs uppercase tracking-wider mt-1.5 font-sans",children:o.role})]})]})},n)})}),e.jsx("button",{onClick:f,className:"absolute left-0 top-1/2 -translate-y-1/2 p-2 text-white/30 hover:text-white/60 transition-colors","aria-label":"Previous review",children:e.jsx(b,{size:24})}),e.jsx("button",{onClick:x,className:"absolute right-0 top-1/2 -translate-y-1/2 p-2 text-white/30 hover:text-white/60 transition-colors","aria-label":"Next review",children:e.jsx(g,{size:24})})]}),e.jsx("div",{className:"flex justify-center gap-2 mt-8",children:l.map((s,r)=>e.jsx("button",{onClick:()=>p(r),className:`w-2 h-2 rounded-full transition-all duration-300 ${r===n?"bg-gold w-6":"bg-white/20 hover:bg-white/40"}`,"aria-label":`Go to review ${r+1}`},r))})]})})}export{R 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.