1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{1131:(e,a,t)=>{"use strict";t.d(a,{a:()=>r});var s=t(12115);function r(){let[e,a]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=()=>{a(window.innerWidth<768)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),e}},33884:(e,a,t)=>{"use strict";t.d(a,{BK:()=>o,eu:()=>n,q5:()=>d});var s=t(95155),r=t(12115),i=t(7870),l=t(36102);let n=r.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,s.jsx)(i.bL,{ref:a,className:(0,l.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",t),...r})});n.displayName=i.bL.displayName;let o=r.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,s.jsx)(i._V,{ref:a,className:(0,l.cn)("aspect-square h-full w-full",t),...r})});o.displayName=i._V.displayName;let d=r.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,s.jsx)(i.H4,{ref:a,className:(0,l.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",t),...r})});d.displayName=i.H4.displayName},33981:(e,a,t)=>{"use strict";t.d(a,{Y:()=>u});var s=t(95155),r=t(52619),i=t.n(r),l=t(20508),n=t(39347),o=t(39867),d=t(36102),c=t(97003),x=t(83209);let b=t(51293).b;var m=t(33884),h=t(93621);function u(e){var a,t;let{workspace:r,className:u}=e,p=(null==(a=r.user_profiles)?void 0:a.username)||"Anonymous",g=null==(t=r.user_profiles)?void 0:t.avatar_url,f=r.illustration_name||r.illustration,v=r.illustration_color||"#6c63ff",j=f&&""!==f.trim(),w=j?(0,h.WV)(f):null,y=j&&v?(0,h.OS)(v,"#6c63ff"):"";return(0,s.jsxs)(x.Zp,{className:(0,d.cn)("group flex h-full flex-col overflow-hidden rounded-2xl border-border/80 bg-card/80 shadow-sm transition-all duration-300 ease-in-out hover:shadow-lg hover:border-border",u),children:[(0,s.jsx)(x.aR,{className:"p-0",children:(0,s.jsx)(i(),{href:"/marketplace/".concat(r.id),className:"block",children:(0,s.jsx)(b,{ratio:16/9,className:"overflow-hidden rounded-t-2xl bg-gradient-to-br from-muted/30 to-muted/60",children:j&&w?(0,s.jsx)("div",{className:"w-full h-full flex items-center justify-center p-4",children:(0,s.jsx)("img",{src:w,alt:r.name||"Workspace illustration",className:"w-full h-full object-contain transition-transform duration-500 ease-in-out group-hover:scale-105",style:{filter:y},onError:e=>{e.currentTarget.src="https://cdn.undraw.co/illustration/warning_tl76.svg"}})}):(0,s.jsx)("div",{className:"w-full h-full flex items-center justify-center",children:(0,s.jsx)("div",{className:"w-16 h-16 rounded-full bg-primary/20 flex items-center justify-center",children:(0,s.jsx)(l.A,{className:"h-8 w-8 text-primary"})})})})})}),(0,s.jsxs)(x.Wu,{className:"flex flex-1 flex-col p-4",children:[(0,s.jsx)(x.ZB,{className:"mb-1 text-lg font-semibold tracking-tight",children:(0,s.jsx)(i(),{href:"/marketplace/".concat(r.id),className:"hover:text-primary transition-colors",children:r.name})}),(0,s.jsx)(x.BT,{className:"flex-grow text-sm text-muted-foreground line-clamp-2",children:r.description}),(0,s.jsxs)("div",{className:"mt-4 flex items-center gap-4 text-xs text-muted-foreground",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)(n.A,{className:"h-4 w-4 text-yellow-500"}),(0,s.jsx)("span",{children:r.vote_score||0})]}),(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)(o.A,{className:"h-4 w-4 text-green-500"}),(0,s.jsx)("span",{children:r.import_count||0})]})]})]}),(0,s.jsxs)(x.wL,{className:"flex items-center justify-between p-4 pt-0",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsxs)(m.eu,{className:"h-6 w-6",children:[g&&(0,s.jsx)(m.BK,{src:g,alt:p}),(0,s.jsx)(m.q5,{className:"text-xs",children:null==p?void 0:p.charAt(0).toUpperCase()})]}),(0,s.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:p})]}),(0,s.jsx)(c.$,{asChild:!0,size:"sm",variant:"outline",className:"rounded-full",children:(0,s.jsxs)(i(),{href:"/marketplace/".concat(r.id,"/import"),children:["Import",(0,s.jsx)(o.A,{className:"ml-1.5 h-3 w-3"})]})})]})]})}},38661:(e,a,t)=>{Promise.resolve().then(t.bind(t,75665))},75665:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>J});
1var s=t(95155),r=t(28291),i=t(12115),l=t(20063),n=t(52619),o=t.n(n),d=t(15239),c=t(20508),x=t(35017),b=t(65229),m=t(9540),h=t(97003),u=t(66119),p=t(71408);function g(e){let{user:a,onClose:t}=e,r={hidden:{opacity:0,y:15,filter:"blur(5px)"},visible:{opacity:1,y:0,filter:"blur(0px)",transition:{type:"spring",damping:20,stiffness:200}}},i=a?[{href:"/workspaces",label:"Dashboard",icon:"\uD83D\uDCCA",type:"primary"},{href:"/account",label:"My Account",icon:"\uD83D\uDC64",type:"secondary"}]:[{href:"/login",label:"Sign In",icon:"\uD83D\uDD11",type:"secondary"},{href:"/guestmode",label:"Try Guest Mode",icon:"\uD83D\uDE80",type:"primary"}];return(0,s.jsxs)(u.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},className:"fixed inset-0 z-50 lg:hidden",onClick:t,children:[(0,s.jsx)(u.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"absolute inset-0 bg-zinc-900/40 dark:bg-black/60 backdrop-blur-xl"}),(0,s.jsxs)(u.P.div,{variants:{hidden:{opacity:0,scale:.95,y:-20,rotateX:-10},visible:{opacity:1,scale:1,y:0,rotateX:0,transition:{type:"spring",damping:30,stiffness:250,staggerChildren:.08,delayChildren:.1}},exit:{opacity:0,scale:.9,y:-20,rotateX:10,transition:{duration:.25}}},initial:"hidden",animate:"visible",exit:"exit",className:"fixed top-5 left-4 right-4 bg-white/85 dark:bg-zinc-900/85 backdrop-blur-2xl rounded-3xl shadow-2xl border border-white/20 dark:border-zinc-700/50 overflow-hidden ring-1 ring-black/5 dark:ring-white/10",style:{perspective:"1000px"},onClick:e=>e.stopPropagation(),children:[(0,s.jsxs)("div",{className:"absolute inset-0 opacity-20 dark:opacity-10",children:[(0,s.jsx)("div",{className:"absolute top-0 -left-24 w-64 h-64 bg-gradient-to-br from-pink-400 to-purple-500 rounded-full blur-3xl animate-blob"}),(0,s.jsx)("div",{className:"absolute -bottom-16 -right-16 w-56 h-56 bg-gradient-to-br from-blue-400 to-green-500 rounded-full blur-3xl animate-blob animation-delay-2000"})]}),(0,s.jsxs)("div",{className:"relative flex flex-col max-h-[calc(100vh-40px)]",children:[(0,s.jsxs)(u.P.div,{variants:r,className:"flex items-center justify-between p-5 border-b border-zinc-200/50 dark:border-zinc-800/50",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"w-9 h-9 bg-white/80 dark:bg-zinc-950/50 border border-zinc-200/80 dark:border-zinc-800/80 rounded-lg flex items-center justify-center shadow-inner-sm",children:a?(0,s.jsx)(c.A,{className:"h-5 w-5 text-zinc-600 dark:text-zinc-300"}):(0,s.jsx)(x.A,{className:"h-5 w-5 text-zinc-600 dark:text-zinc-300"})}),(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("h2",{className:"text-md font-bold text-zinc-900 dark:text-white",children:a?"Welcome":"Navigation"}),a&&(0,s.jsx)("p",{className:"text-xs text-zinc-500 dark:text-zinc-400 -mt-0.5 truncate max-w-[150px]",children:a.email})]})]}),(0,s.jsx)(h.$,{variant:"ghost",size:"icon",onClick:t,className:"h-10 w-10 rounded-full bg-zinc-100/50 dark:bg-zinc-800/50 text-zinc-600 dark:text-zinc-300 hover:bg-zinc-200/70 dark:hover:bg-zinc-700/70",children:(0,s.jsx)(b.A,{className:"h-5 w-5"})})]}),(0,s.jsx)("div",{className:"flex-1 p-4 space-y-2 overflow-y-auto",children:i.map(e=>(0,s.jsx)(u.P.div,{variants:r,children:(0,s.jsx)(h.$,{asChild:!0,className:"w-full h-14 text-base justify-start transition-all duration-300 ".concat("primary"===e.type?"text-white bg-gradient-to-r from-pink-500 via-purple-500 via-blue-500 via-green-500 via-yellow-500 to-pink-500 bg-[length:200%_auto] animate-gradient-x shadow-lg hover:shadow-xl":"text-zinc-800 dark:text-zinc-200 bg-transparent hover:bg-zinc-100 dark:hover:bg-zinc-800/80"),onClick:t,children:(0,s.jsxs)(o(),{href:e.href,className:"flex items-center gap-4",children:[(0,s.jsx)("span",{className:"text-xl w-6 text-center",children:e.icon}),(0,s.jsx)("span",{children:e.label})]})})},e.href))})]})]})]})}function f(e){let{user:a}=e,[t,r]=(0,i.useState)(!1),[l,n]=(0,i.useState)(!1),c=()=>{n(window.scrollY>20)},x=e=>{"Escape"===e.key&&r(!1)};return(0,i.useEffect)(()=>(window.addEventListener("scroll",c),window.addEventListener("keydown",x),t?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{window.removeEventListener("scroll",c),window.removeEventListener("keydown",x),document.body.style.overflow=""}),[t]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("header",{className:"sticky top-0 z-40 transition-all duration-300 ".concat(l?"bg-white/80 dark:bg-black/80 backdrop-blur-xl shadow-md":"bg-transparent"),children:(0,s.jsx)("div",{className:"w-full px-4 sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{className:"flex h-20 items-center justify-between",children:[(0,s.jsxs)(o(),{href:"/",className:"flex items-center gap-2",children:[(0,s.jsxs)("div",{className:"w-9 h-9 flex items-center justify-center bg-slate-900 dark:bg-white rounded-lg shadow-sm",children:[(0,s.jsx)(d.default,{src:"/logo-dark.svg",alt:"tab9 logo",width:20,height:20,className:"dark:hidden"}),(0,s.jsx)(d.default,{src:"/logo-light.svg",alt:"tab9 logo",width:20,height:20,className:"hidden dark:block"})]}),(0,s.jsx)("span",{className:"text-xl font-bold tracking-tighter text-slate-900 dark:text-white",children:"tab9.me"})]}),(0,s.jsx)("nav",{className:"hidden lg:flex items-center gap-4",children:a?(0,s.jsx)(h.$,{asChild:!0,children:(0,s.jsx)(o(),{href:"/workspaces",children:"Go to Dashboard"})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(h.$,{asChild:!0,variant:"ghost",children:(0,s.jsx)(o(),{href:"/login",children:"Sign In"})}),(0,s.jsx)(h.$,{asChild:!0,children:(0,s.jsx)(o(),{href:"/guestmode",children:"Try Guest Mode"})})]})}),(0,s.jsxs)("div",{className:"lg:hidden flex items-center gap-2",children:[!a&&(0,s.jsx)(h.$,{asChild:!0,size:"sm",className:"h-9 px-3 text-sm",children:(0,s.jsx)(o(),{href:"/guestmode",children:"Try Guest Mode"})}),(0,s.jsx)(u.P.button,{whileTap:{scale:.9},onClick:()=>r(!0),className:"flex items-center justify-center h-12 w-12 rounded-xl bg-white/80 dark:bg-black/80 border border-slate-200 dark:border-slate-700 hover:bg-white dark:hover:bg-black shadow-sm transition-colors","aria-label":"Open menu",children:(0,s.jsx)(m.A,{className:"h-7 w-7 text-slate-800 dark:text-white"})})]})]})})}),(0,s.jsx)(p.N,{children:t&&(0,s.jsx)(g,{user:a,onClose:()=>r(!1)})})]})}
1var v=t(52675),j=t(88661),w=t.n(j),y=t(6191),k=t(91456),N=t(4788),z=t(95740),A=t(56154),_=t(85625),C=t(89715),I=t(94684),P=t(50859),L=t(74570),O=t(33327);function S(e){let{from:a=0,to:t,duration:r=1.5}=e,[l,n]=(0,i.useState)(a),o=(0,O.z)(a,{damping:100,stiffness:100});return(0,i.useEffect)(()=>{o.set(t)},[o,t]),(0,i.useEffect)(()=>o.on("change",e=>{n(Math.round(e))}),[o]),(0,s.jsx)(u.P.span,{children:l.toLocaleString()})}var E=t(1131);let T=[{key:"bridge",headline:"The Web's Missing Layer.",subheadline:"tab9.me is the universal intelligence layer that bridges browser chaos with your knowledge tools. Don't just manage tabsâsynthesize knowledge.",cta:"Activate The Bridge"},{key:"speed",headline:"From Chaos to Clarity. Instantly.",subheadline:"Stop wasting time organizing. Paste your scattered links, notes, and ideas. Receive a perfectly structured workspace in less than 3 seconds.",cta:"Experience Instant Organization"},{key:"ai",headline:"Your AI Research Partner.",subheadline:"Our AI doesn't just sort, it understands. It finds the missing pieces, discovers new connections, and enriches your research automatically.",cta:"Start Discovering with AI"}];function W(e){let{user:a,isChrome:t}=e,[r,l]=(0,i.useState)(0),[n,c]=(0,i.useState)(null),[x,b]=(0,i.useState)(!1),[m,u]=(0,i.useState)(!1),[p,g]=(0,i.useState)(!1),f=(0,i.useRef)(null),v=(0,L.W)(f,{once:!1,margin:"100px"}),j=(0,E.a)();return(0,i.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/hero-stats");if(!e.ok)throw Error("Failed to fetch stats");let a=await e.json();c(a)}catch(e){console.error(e),c({totalWorkspaces:0,totalLinks:0,totalAIGenerations:0})}})();let e=navigator.userAgent.toLowerCase(),a=e.includes("chrome")&&!e.includes("edg")&&!e.includes("firefox"),s=e.includes("firefox");b(null!=t?t:a),u(s),g(!0)},[t]),(0,i.useEffect)(()=>{if(!v)return;let e=setInterval(()=>{l(e=>(e+1)%T.length)},8e3);return()=>clearInterval(e)},[v]),T[r],y.A,(0,s.jsxs)("section",{ref:f,className:"jsx-9a1db90bc2956efb relative w-full overflow-hidden bg-background",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb relative z-10 mx-auto flex min-h-[80vh] items-center justify-center px-2 py-4 lg:px-4",children:(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb relative w-full max-w-[98vw] overflow-hidden rounded-3xl shadow-2xl",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb absolute inset-0 z-0",children:(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb absolute inset-0 bg-gradient-to-r from-pink-500 via-purple-500 via-blue-500 via-green-500 via-yellow-500 to-pink-500 animate-gradient-x"})}),(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb relative z-10 flex flex-col items-center text-center p-6 md:p-12 lg:p-16 xl:p-20 min-h-[45vh] md:min-h-[70vh] lg:min-h-[75vh] pb-[280px] md:pb-[450px] lg:pb-[550px] xl:pb-[650px]",children:(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb flex flex-col items-center text-center mb-8 md:mb-12",children:[(0,s.jsx)("h1",{className:"jsx-9a1db90bc2956efb text-5xl font-bold tracking-tighter text-white sm:text-6xl md:text-7xl lg:text-8xl xl:text-9xl mb-6 leading-none",children:"The Tab Organizer"}),(0,s.jsx)("p",{className:"jsx-9a1db90bc2956efb text-base md:text-lg lg:text-xl text-white/90 max-w-5xl mb-6 md:mb-12 leading-snug px-2",children:"Built to end tab chaos forever, tab9.me is the smartest way to organize with AI."}),(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb hidden md:flex flex-col sm:flex-row gap-6 items-center",children:[(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb group relative",children:[(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb absolute -inset-[6px] rounded-2xl opacity-50 group-hover:opacity-90 transition-all duration-700",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb absolute inset-0 rounded-2xl border-2 border-white/30 backdrop-blur-xl group-hover:border-white/50 transition-all duration-500"}),(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb absolute inset-0 rounded-2xl bg-gradient-to-r from-white/5 via-white/15 to-white/5 blur-sm group-hover:blur-md transition-all duration-500"})]}),(0,s.jsx)(h.$,{asChild:!0,size:"lg",className:"relative h-16 px-12 text-lg font-semibold flex items-center justify-center transform transition-all duration-500 group-hover:scale-[1.02] bg-black/90 backdrop-blur-xl text-white shadow-2xl group-hover:shadow-black/50 dark:bg-white/95 dar
1k:text-black dark:group-hover:bg-white dark:group-hover:shadow-white/30 rounded-2xl border-0 overflow-hidden",children:(0,s.jsxs)(o(),{href:"/create-workspace",className:"relative flex items-center justify-center z-10",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb absolute inset-0 bg-gradient-to-r from-transparent via-white/20 to-transparent skew-x-12 -translate-x-full group-hover:translate-x-full dark:via-black/20 transition-transform duration-1200 ease-out"}),(0,s.jsx)("span",{className:"jsx-9a1db90bc2956efb mr-2 text-xl font-bold text-white dark:text-black",children:"â¡"}),(0,s.jsx)("span",{className:"jsx-9a1db90bc2956efb font-bold tracking-tight dark:text-black",children:"Organize My Tabs Now"})]})})]}),(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb group relative",children:[(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb absolute -inset-[6px] rounded-2xl opacity-60 group-hover:opacity-100 transition-all duration-700",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb absolute inset-0 rounded-2xl border-2 border-white/40 backdrop-blur-xl group-hover:border-white/60 transition-all duration-500"}),(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb absolute inset-0 rounded-2xl bg-gradient-to-r from-white/10 via-white/20 to-white/10 blur-sm group-hover:blur-md transition-all duration-500"})]}),(0,s.jsx)(h.$,{asChild:!0,size:"lg",variant:"outline",className:"relative h-16 px-12 text-lg font-semibold flex items-center justify-center transform transition-all duration-500 group-hover:scale-[1.02] bg-white/95 backdrop-blur-xl text-black shadow-2xl group-hover:shadow-white/30 dark:bg-black/90 dark:text-white dark:group-hover:bg-black dark:group-hover:shadow-black/50 rounded-2xl border-0 overflow-hidden",children:(0,s.jsxs)(o(),{href:p?x?"https://chromewebstore.google.com/detail/tab9me-the-ai-tab-manager/ebaddappdcblohcikcpfkeebdpekmndn":m?"https://addons.mozilla.org/en-US/firefox/addon/tab9-me/":"/signup":"/signup",target:p&&(x||m)?"_blank":void 0,className:"relative flex items-center justify-center z-10",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent skew-x-12 -translate-x-full group-hover:translate-x-full dark:via-white/20 transition-transform duration-1200 ease-out"}),p&&x?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("img",{src:"https://www.google.com/chrome/static/images/chrome-logo.svg",alt:"Chrome",className:"jsx-9a1db90bc2956efb mr-3 w-8 h-8 flex-shrink-0"}),(0,s.jsx)("span",{className:"jsx-9a1db90bc2956efb font-bold tracking-tight dark:text-white",children:"Add to Chrome"})]}):p&&m?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("img",{src:"/firefox-logo.svg",alt:"Firefox",className:"jsx-9a1db90bc2956efb mr-3 w-8 h-8 flex-shrink-0"}),(0,s.jsx)("span",{className:"jsx-9a1db90bc2956efb font-bold tracking-tight dark:text-white",children:"Add to Firefox"})]}):(0,s.jsx)("span",{className:"jsx-9a1db90bc2956efb font-bold tracking-tight dark:text-white",children:"Sign Up"})]})})]})]}),(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb hidden md:flex items-center justify-center gap-6 mt-8 opacity-90",children:[(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb flex items-center gap-2",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb w-2 h-2 rounded-full bg-white/80"}),(0,s.jsx)("span",{className:"jsx-9a1db90bc2956efb text-sm text-white/90 font-medium",children:"Free to start"})]}),(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb w-1 h-4 bg-white/20"}),(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb flex items-center gap-2",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb w-2 h-2 rounded-full bg-white/60"}),(0,s.jsx)("span",{className:"jsx-9a1db90bc2956efb text-sm text-white/90 font-medium",children:"No credit card"})]})]})]})}),(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb absolute bottom-16 md:bottom-0 left-4 right-4 md:left-0 md:right-0 h-[350px] md:h-[400px] lg:h-[500px] xl:h-[600px] z-20",children:[(0,s.jsx)(d.default,{src:"/hero_product_light.webp",alt:"tab9.me workspace preview",fill:!0,className:"object-contain object-bottom dark:hidden",priority:!0}),(0,s.jsx)(d.default,{src:"/hero_product_dark.webp",alt:"tab9.me workspace preview",fill:!0,className:"object-contain object-bottom hidden dark:block",priority:!0})]}
1),(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb md:hidden absolute bottom-0 left-0 right-0 z-50",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb absolute inset-0 bg-gradient-to-t from-black/95 via-black/70 via-black/40 via-black/20 to-transparent"}),(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb relative z-10 px-8 pb-6 pt-12",children:(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb space-y-4",children:[(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb group relative",children:[(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb absolute -inset-[6px] rounded-2xl opacity-50 group-hover:opacity-90 transition-all duration-700",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb absolute inset-0 rounded-2xl border-2 border-white/30 backdrop-blur-xl group-hover:border-white/50 transition-all duration-500"}),(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb absolute inset-0 rounded-2xl bg-gradient-to-r from-white/5 via-white/15 to-white/5 blur-sm group-hover:blur-md transition-all duration-500"})]}),(0,s.jsx)(h.$,{asChild:!0,size:"lg",className:"relative h-12 px-6 text-sm font-semibold flex items-center justify-center transform transition-all duration-500 group-hover:scale-[1.02] bg-black/90 backdrop-blur-xl text-white shadow-2xl group-hover:shadow-black/50 dark:bg-white/95 dark:text-black dark:group-hover:bg-white dark:group-hover:shadow-white/30 rounded-2xl border-0 overflow-hidden w-full",children:(0,s.jsxs)(o(),{href:"/create-workspace",className:"relative flex items-center justify-center z-10 w-full",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb absolute inset-0 bg-gradient-to-r from-transparent via-white/20 to-transparent skew-x-12 -translate-x-full group-hover:translate-x-full dark:via-black/20 transition-transform duration-1200 ease-out"}),(0,s.jsx)("span",{className:"jsx-9a1db90bc2956efb mr-2 text-xl font-bold text-white dark:text-black",children:"â¡"}),(0,s.jsx)("span",{className:"jsx-9a1db90bc2956efb font-bold tracking-tight dark:text-black",children:"Organize My Tabs Now"})]})})]}),(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb group relative",children:[(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb absolute -inset-[6px] rounded-2xl opacity-60 group-hover:opacity-100 transition-all duration-700",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb absolute inset-0 rounded-2xl border-2 border-white/40 backdrop-blur-xl group-hover:border-white/60 transition-all duration-500"}),(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb absolute inset-0 rounded-2xl bg-gradient-to-r from-white/10 via-white/20 to-white/10 blur-sm group-hover:blur-md transition-all duration-500"})]}),(0,s.jsx)(h.$,{asChild:!0,size:"lg",variant:"outline",className:"relative h-12 px-6 text-sm font-semibold flex items-center justify-center transform transition-all duration-500 group-hover:scale-[1.02] bg-white/95 backdrop-blur-xl text-black shadow-2xl group-hover:shadow-white/30 dark:bg-black/90 dark:text-white dark:group-hover:bg-black dark:group-hover:shadow-black/50 rounded-2xl border-0 overflow-hidden w-full",children:(0,s.jsxs)(o(),{href:p?x?"https://chromewebstore.google.com/detail/tab9me-the-ai-tab-manager/ebaddappdcblohcikcpfkeebdpekmndn":m?"https://addons.mozilla.org/en-US/firefox/addon/tab9-me/":"/signup":"/signup",target:p&&(x||m)?"_blank":void 0,className:"relative flex items-center justify-center z-10 w-full",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent skew-x-12 -translate-x-full group-hover:translate-x-full dark:via-white/20 transition-transform duration-1200 ease-out"}),p&&x?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("img",{src:"https://www.google.com/chrome/static/images/chrome-logo.svg",alt:"Chrome",className:"jsx-9a1db90bc2956efb mr-3 w-8 h-8 flex-shrink-0"}),(0,s.jsx)("span",{className:"jsx-9a1db90bc2956efb font-bold tracking-tight dark:text-white",children:"Add to Chrome"})]}):p&&m?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("img",{src:"/firefox-logo.svg",alt:"Firefox",className:"jsx-9a1db90bc2956efb mr-3 w-8 h-8 flex-shrink-0"}
1),(0,s.jsx)("span",{className:"jsx-9a1db90bc2956efb font-bold tracking-tight dark:text-white",children:"Add to Firefox"})]}):(0,s.jsx)("span",{className:"jsx-9a1db90bc2956efb font-bold tracking-tight dark:text-white",children:"Sign Up"})]})})]}),(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb flex items-center justify-center gap-6 mt-6 opacity-90",children:[(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb flex items-center gap-2",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb w-2 h-2 rounded-full bg-white/80"}),(0,s.jsx)("span",{className:"jsx-9a1db90bc2956efb text-sm text-white/90 font-medium",children:"Free to start"})]}),(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb flex items-center gap-2",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb w-2 h-2 rounded-full bg-white/60"}),(0,s.jsx)("span",{className:"jsx-9a1db90bc2956efb text-sm text-white/90 font-medium",children:"No credit card"})]})]})]})})]})]})}),(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb container relative z-10 mx-auto max-w-5xl px-4 pt-32 md:pt-48 pb-32",children:[(0,s.jsx)("h2",{className:"jsx-9a1db90bc2956efb text-xl md:text-2xl font-semibold tracking-tight text-center text-muted-foreground mb-8",children:"Join 1,000+ people who stopped losing their research"}),(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb flex flex-col md:flex-row flex-wrap justify-center items-center gap-4",children:[(0,s.jsxs)("a",{href:"https://chromewebstore.google.com/detail/tab9me-the-ai-tab-manager/ebaddappdcblohcikcpfkeebdpekmndn",target:"_blank",rel:"noopener noreferrer",className:"jsx-9a1db90bc2956efb group flex w-full md:w-auto items-center gap-4 roun
1ded-xl border border-gray-200/50 bg-white/90 p-4 shadow-lg backdrop-blur-xl transition-all duration-300 hover:shadow-xl dark:border-gray-700/50 dark:bg-gray-800/90 md:hover:scale-105",children:[(0,s.jsx)("img",{src:"https://www.google.com/chrome/static/images/chrome-logo.svg",alt:"Chrome",className:"jsx-9a1db90bc2956efb h-8 w-8 flex-shrink-0 transition-transform duration-300 group-hover:scale-110"}),(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb flex-grow text-left",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb text-sm font-semibold text-gray-900 dark:text-white",children:"Chrome Extension"}),(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb text-xs font-medium text-green-600 dark:text-green-400",children:"Available Now"})]})]}),(0,s.jsxs)("a",{href:"https://addons.mozilla.org/en-US/firefox/addon/tab9-me/",target:"_blank",rel:"noopener noreferrer",className:"jsx-9a1db90bc2956efb group flex w-full md:w-auto items-center gap-4 rounded-xl border border-gray-200/50 bg-white/90 p-4 shadow-lg backdrop-blur-xl transition-all duration-300 hover:shadow-xl dark:border-gray-700/50 dark:bg-gray-800/90 md:hover:scale-105",children:[(0,s.jsx)("img",{src:"/firefox-logo.svg",alt:"Firefox",className:"jsx-9a1db90bc2956efb h-8 w-8 flex-shrink-0 transition-transform duration-300 group-hover:scale-110"}),(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb flex-grow text-left",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb text-sm font-semibold text-gray-900 dark:text-white",children:"Firefox Extension"}),(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb text-xs font-medium text-green-600 dark:text-green-400",children:"Available Now"})]})]}),(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb group flex w-full items-center gap-4 roun
1ded-xl border border-gray-200/50 bg-white/90 p-4 shadow-lg backdrop-blur-xl dark:border-gray-700/50 dark:bg-gray-800/90 md:w-auto",children:[(0,s.jsx)("img",{src:"/safari-logo.svg",alt:"Safari",className:"jsx-9a1db90bc2956efb h-8 w-8 flex-shrink-0 transition-transform duration-300 group-hover:scale-110"}),(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb text-left",children:[(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb text-sm font-semibold text-gray-900 dark:text-white",children:"Safari Extension"}),(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb text-xs font-medium text-blue-600 dark:text-blue-400",children:"In Development"})]})]})]}),(0,s.jsxs)("div",{className:"jsx-9a1db90bc2956efb relative my-12",children:[(0,s.jsx)("div",{"aria-hidden":"true",className:"jsx-9a1db90bc2956efb absolute inset-0 flex items-center",children:(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb w-full border-t border-gray-300/40 dark:border-gray-700/60"})}),(0,s.jsx)("div",{className:"jsx-9a1db90bc2956efb relative flex justify-center",children:(0,s.jsx)("span",{className:"jsx-9a1db90bc2956efb bg-background px-4 text-sm font-medium text-gray-600 dark:text-gray-300",children:"Key Stats"})})]}),(0,s.jsx)(D,{stats:n,isInView:v,isMobile:j})]}),(0,s.jsx)(w(),{id:"9a1db90bc2956efb",children:'.dark .hero-synthesis-glow::before{content:"";position:absolute;inset:0;border-radius:1rem;padding:2px;background:linear-gradient(45deg,rgba(192,132,252,.1),rgba(236,72,153,.1));-webkit-mask:linear-gradient(#fff 0 0)content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}@keyframes gradient-x{0%,100%{background-position:0%50%}50%{background-position:100%50%}}.animate-gradient-x{animation:gradient-x 4s ease infinite}'})]})}let D=e=>{let{stats:a,isInView:t,isMobile:r}=e,i=a?[{count:a.totalWorkspaces,label:"Workspaces Organized",icon:(0,s.jsx)(k.A,{className:"h-8 w-8"}),gradient:"from-blue-500 via-purple-500 to-pink-500",glowColor:"rgba(59, 130, 246, 0.15)",delay:.1},{count:a.totalLinks,label:"Links Synthesized",icon:(0,s.jsx)(N.A,{className:"h-8 w-8"}),gradient:"from-green-500 via-teal-500 to-cyan-500",glowColor:"rgba(34, 197, 94, 0.15)",delay:.2},{count:a.totalAIGenerations,label:"AI-Creations",icon:(0,s.jsx)(z.A,{className:"h-8 w-8"}),gradient:"from-orange-500 via-red-500 to-pink-500",glowColor:"rgba(249, 115, 22, 0.15)",delay:.3}]:[,,,].fill(null).map((e,a)=>({count:null,label:["Workspaces Organized","Links Synthesized","AI-Creations"][a],icon:[(0,s.jsx)(k.A,{className:"h-8 w-8"},"1"),(0,s.jsx)(N.A,{className:"h-8 w-8"},"2"),(0,s.jsx)(z.A,{className:"h-8 w-8"},"3")][a],gradient:["from-blue-500 via-purple-500 to-pink-500","from-green-500 via-teal-500 to-cyan-500","from-orange-500 via-red-500 to-pink-500"][a],glowColor:["rgba(59, 130, 246, 0.15)","rgba(34, 197, 94, 0.15)","rgba(249, 115, 22, 0.15)"][a],delay:[.1,.2,.3][a]}));return r?(0,s.jsx)(u.P.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{delay:.2,duration:.8,ease:"easeOut"},className:"grid grid-cols-1 gap-4",children:i.map((e,a)=>null!==e.count?(0,s.jsxs)(u.P.div,{initial:{opacity:0,scale:.9,y:20},animate:t?{opacity:1,scale:1,y:0}:{},transition:{delay:e.delay,duration:.6,ease:"easeOut",type:"spring",stiffness:100}
1,className:"group flex items-center gap-4 rounded-xl border border-gray-200/50 bg-white/90 p-4 shadow-lg backdrop-blur-xl dark:border-gray-700/50 dark:bg-gray-800/90",children:[(0,s.jsx)("div",{className:"flex-shrink-0 p-3 rounded-lg bg-gradient-to-br ".concat(e.gradient," shadow-md"),children:(0,s.jsx)("div",{className:"text-white",children:e.icon})}),(0,s.jsxs)("div",{className:"text-left",children:[(0,s.jsx)("p",{className:"text-3xl font-black tracking-tighter bg-gradient-to-br ".concat(e.gradient," bg-clip-text text-transparent leading-none"),children:(0,s.jsx)(S,{to:t?e.count:0})}),(0,s.jsx)("p",{className:"text-sm font-medium text-gray-700 dark:text-white/70 leading-tight",children:e.label})]})]},a):(0,s.jsx)("div",{className:"rounded-xl h-24 bg-white/80 dark:bg-black/20 border border-black/10 dark:border-white/5 backdrop-blur-xl flex items-center justify-center",children:(0,s.jsx)("div",{className:"w-12 h-12 rounded-full bg-black/10 dark:bg-white/5 animate-pulse"})},a))}):(0,s.jsx)(u.P.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{delay:.2,duration:.8,ease:"easeOut"},className:"grid grid-cols-1 md:grid-cols-3 gap-4 md:gap-6",children:i.map((e,a)=>null!==e.count?(0,s.jsxs)(u.P.div,{initial:{opacity:0,scale:.9,y:20},animate:t?{opacity:1,scale:1,y:0}:{},transition:{delay:e.delay,duration:.6,ease:"easeOut",type:"spring",stiffness:100},className:"group relative",children:[(0,s.jsxs)("div",{className:"absolute -inset-[1px] rounded-2xl opacity-0 group-hover:opacity-100 transition-all duration-700 ease-out",children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-2xl bg-gradient-to-r ".concat(e.gradient," blur-md")}),(0,s.jsx)("div",{className:"absolute inset-0 rounded-2xl bg-gradient-to-r from-black/10 via-black/5 to-black/10 dark:from-white/20 dark:via-white/10 dark:to-white/20"})]}),(0,s.jsxs)("div",{className:"relative overflow-hidden rounded-2xl backdrop-blur-2xl border border-black/10 dark:border-white/5 bg-white/80 dark:bg-black/20 p-6 text-center transform hover:scale-[1.02] transition-all duration-500 group hover:shadow-2xl min-h-[160px] flex flex-col justify-center",children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-2xl opacity-20 group-hover:opacity-30 transition-opacity duration-700",style:{background:"radial-gradient(circle at 50% 50%, ".concat(e.glowColor," 0%, transparent 70%)")}}),(0,s.jsx)("div",{className:"absolute inset-0 opacity-[0.08] dark:opacity-[0.05]",style:{backgroundImage:"radial-gradient(circle at 1px 1px, rgba(0,0,0,0.1) 1px, transparent 0)",backgroundSize:"24px 24px"}}),(0,s.jsxs)("div",{className:"relative space-y-3",children:[(0,s.jsx)(u.P.div,{initial:{scale:.8,opacity:0}
1,animate:t?{scale:1,opacity:1}:{},transition:{delay:e.delay+.2,duration:.5},className:"flex justify-center",children:(0,s.jsx)("div",{className:"p-2 rounded-xl bg-gradient-to-br ".concat(e.gradient," shadow-lg transform group-hover:scale-110 transition-transform duration-500"),children:(0,s.jsx)("div",{className:"text-white",children:e.icon})})}),(0,s.jsx)(u.P.div,{initial:{scale:.5,opacity:0},animate:t?{scale:1,opacity:1}:{},transition:{delay:e.delay+.4,duration:.6,ease:"backOut"},children:(0,s.jsx)("p",{className:"text-3xl md:text-4xl font-black tracking-tighter bg-gradient-to-br ".concat(e.gradient," bg-clip-text text-transparent leading-none"),children:(0,s.jsx)(S,{to:t?e.count:0})})}),(0,s.jsx)(u.P.p,{initial:{opacity:0,y:10},animate:t?{opacity:1,y:0}:{},transition:{delay:e.delay+.6,duration:.5},className:"text-sm font-medium text-gray-700 dark:text-white/70 leading-tight",children:e.label}),(0,s.jsx)("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-24 h-24 bg-gradient-to-r ".concat(e.gradient," rounded-full opacity-5 group-hover:opacity-10 blur-3xl transition-opacity duration-1000")})]}),(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/10 to-transparent -skew-x-12 -translate-x-full group-hover:translate-x-full transition-transform duration-1000 ease-out"})]})]},a):(0,s.jsx)(u.P.div,{initial:{opacity:0,scale:.9},animate:t?{opacity:1,scale:1}:{},transition:{delay:e.delay,duration:.6},className:"rounded-2xl min-h-[160px] bg-white/80 dark:bg-black/20 border border-black/10 dark:border-white/5 backdrop-blur-xl flex items-center justify-center",children:(0,s.jsx)("div",{className:"w-12 h-12 rounded-full bg-black/10 dark:bg-white/5 animate-pulse"})},a))})};function F(e){let{title:a,subtitle:t,description:r,imageLight:l,imageDark:n,videoLight:o,videoDark:c,gradient:x,showAIEffects:b=!1}=e,m=(0,i.useRef)(null),h=(0,i.useRef)(null),p=(0,i.useRef)(null),g=(0,L.W)(m,{once:!0,margin:"-100px"});return(0,i.useEffect)(()=>{if(!(o||c))return;let e=h.current,a=p.current,t=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting?(e&&e.play().catch(e=>{console.log("Light video autoplay failed:",e)}),a&&a.play().catch(e=>{console.log("Dark video autoplay failed:",e)})):(e&&e.pause(),a&&a.pause())})},{threshold:.3,rootMargin:"50px"});return e&&t.observe(e),a&&t.observe(a),()=>{t.disconnect()}},[o,c]),(0,s.jsx)("section",{ref:m,className:"relative py-16 bg-background",children:(0,s.jsxs)("div",{className:"container relative z-10 mx-auto max-w-7xl px-6",children:[(0,s.jsxs)(u.P.div,{initial:{opacity:0,y:30},animate:g?{opacity:1,y:0}:{},transition:{duration:.8,ease:"easeOut"},className:"text-center mb-16",children:[(0,s.jsx)("h2",{className:"text-4xl lg:text-5xl xl:text-6xl font-bold text-foreground mb-6 leading-tight",children:a}),(0,s.jsx)("p",{className:"text-lg lg:text-xl text-muted-foreground leading-relaxed max-w-3xl mx-auto",children:r})]}),(0,s.jsx)(u.P.div,{initial:{opacity:0,y:50},animate:g?{opacity:1,y:0}:{},transition:{duration:.8,ease:"easeOut",delay:.3},className:"relative",children:(0,s.jsxs)("div",{className:"relative w-full overflow-hidden rounded-3xl shadow-2xl ".concat(x),children:[b&&(0,s.jsxs)("div",{className:"absolute inset-0 z-10 pointer-events-none",children:[(0,s.jsxs)("div",{className:"absolute left-0 top-0 h-full w-1/3",children:[(0,s.jsx)(u.P.div,{initial:{opacity:0,scale:.5},animate:g?{opacity:[.3,.7,.3],scale:[.8,1.2,.8],x:[0,20,0],y:[0,-15,0]}:{},transition:{duration:4,repeat:1/0,ease:"easeInOut",delay:.5},className:"absolute top-16 left-8 w-4 h-4 bg-white/20 rounded-full backdrop-blur-sm"}),(0,s.jsx)(u.P.div,{initial:{opacity:0,scale:.5},animate:g?{opacity:[.2,.6,.2],scale:[1,1.5,1],x:[0,-10,0],y:[0,25,0]}:{},transition:{duration:5,repeat:1/0,ease:"easeInOut",delay:1.2},className:"absolute top-32 left-12 w-6 h-6 bg-white/15 rounded-full backdrop-blur-sm"}),(0,s.jsx)(u.P.div,{initial:{opacity:0,scale:.5},animate:g?{opacity:[.4,.8,.4],scale:[.6,1,.6],x:[0,15,0],y:[0,-20,0]}:{},transition:{duration:3.5,repeat:1/0,ease:"easeInOut",delay:2},className:"absolute bottom-24 left-6 w-3 h-3 bg-white/25 rounded-full backdrop-blur-sm"})]}),(0,s.jsxs)("div",{className:"absolute right-0 top-0 h-full w-1/3",children:[(0,s.jsx)(u.P.div,{initial:{opacity:0,scale:.5},animate:g?{opacity:[.3,.7,.3],scale:[1,1.3,1],x:[0,-20,0],y:[0,15,0]}:{},transition:{duration:4.5,repeat:1/0,ease:"easeInOut",delay:.8},className:"absolute top-20 right-8 w-5 h-5 bg-white/20 rounded-full backdrop-blur-sm"}),(0,s.jsx)(u.P.div,{initial:{opacity:0,scale:.5},animate:g?{opacity:[.2,.6,.2],scale:[.8,1.4,.8],x:[0,10,0],y:[0,-25,0]}:{},transition:{duration:3.8,repeat:1/0,ease:"easeInOut",delay:1.5},className:"absolute top-36 right-12 w-4 h-4 bg-white/15 rounded-full backdrop-blur-sm"}),(0,s.jsx)(u.P.div,{initial:{opacity:0,scale:.5},animate:g?{opacity:[.4,.8,.4],scale:[1.2,.7,1.2],x:[0,-15,0],y:[0,20,0]}:{},transition:{duration:4.2,repeat:1/0,ease:"easeInOut",delay:2.3},className:"absolute bottom-20 right-6 w-6 h-6 bg-white/25 rounded-full backdrop-blur-sm"})]}),(0,s.jsxs)("div",{className:"absolute top-0 left-1/4 right-1/4 h-1/2",children:[(0,s.jsx)(u.P.div,{initial:{opacity:0,pathLength:0},animate:g?{opacity:[0,.3,0],pathLength:[0,1,0]}:{},transition:{duration:6,repeat:1/0,ease:"easeInOut",delay:1},className:"absolute inset-0",children:(0,s.jsxs)("svg",{className:"w-full h-full",viewBox:"0 0 200 100",children:[(0,s.jsx)(u.P.path,{d:"M20,20 Q60,60 100,30 T180,50",stroke:"rgba(255,255,255,0.2)",strokeWidth:"1",fill:"none",strokeDasharray:"4,4",initial:{pathLength:0},animate:g?{pathLength:[0,1,0]}:{},transition:{duration:5,repeat:1/0,ease:"easeInOut",delay:.5}}),(0,s.jsx)(u.P.path,{d:"M30,70 Q80,30 120,60 T170,40",stroke:"rgba(255,255,255,0.15)",strokeWidth:"1",fill:"none",strokeDasharray:"3,6",initial:{pathLength:0},animate:g?{pathLength:[0,1,0]}:{},transition:{duration:4.5,repeat:1/0,ease:"easeInOut",delay:1.5}})]})}),(0,s.jsx)(u.P.div,{initial:{opacity:0,scale:0},animate:g?{opacity:[0,.6,0],scale:[.5,1.2,.5]}:{},transition:{duration:3,repeat:1/0,ease:"easeInOut",delay:2},className:"absolute top-8 left-1/4 w-2 h-2 bg-white/30 rounded-full"}),(0,s.jsx)(u.P.div,{initial:{opacity:0,scale:0},animate:g?{opacity:[0,.5,0],scale:[.8,1.5,.8]}:{},transition:{duration:3.5,repeat:1/0,ease:"easeInOut",delay:2.5},className:"absolute top-12 right-1/3 w-3 h-3 bg-white/25 rounded-full"})]})]}),(0,s.jsx)("div",{className:"relative z-10 flex flex-col items-center text-center p-4 sm:p-6 lg:p-16 min-h-[50vh] md:min-
1h-[60vh] pb-[320px] md:pb-[380px] lg:pb-[480px]",children:(0,s.jsx)("div",{className:"absolute bottom-0 left-2 right-2 sm:left-4 sm:right-4 md:left-8 md:right-8 h-[300px] md:h-[350px] lg:h-[450px] z-20",children:o||c?(0,s.jsxs)(s.Fragment,{children:[o&&(0,s.jsx)("video",{ref:h,src:o,loop:!0,muted:!0,playsInline:!0,preload:"metadata",className:"w-full h-full object-contain object-bottom rounded-lg dark:hidden",style:{filter:"drop-shadow(0 25px 50px rgba(0,0,0,0.3))"},children:"Your browser does not support the video tag."}),c&&(0,s.jsx)("video",{ref:p,src:c,loop:!0,muted:!0,playsInline:!0,preload:"metadata",className:"w-full h-full object-contain object-bottom rounded-lg hidden dark:block",style:{filter:"drop-shadow(0 25px 50px rgba(0,0,0,0.3))"},children:"Your browser does not support the video tag."})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.default,{src:l,alt:"tab9 workspace preview",fill:!0,className:"object-contain object-bottom dark:hidden rounded-lg",priority:!0,quality:85,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 80vw, 70vw"}),(0,s.jsx)(d.default,{src:n,alt:"tab9 workspace preview",fill:!0,className:"object-contain object-bottom hidden dark:block rounded-lg",priority:!0,quality:85,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 80vw, 70vw"})]})})})]})})]})})}function R(){return(0,s.jsxs)("div",{className:"bg-background",children:[(0,s.jsx)(F,{subtitle:"Paste, wait 3 seconds",title:"Clean your browser chaos",description:"Dump your scattered links from emails, Slack, and browser tabs. AI creates searchable workspaces in seconds.",videoLight:"/ai_showcase_light.webm",videoDark:"/ai_showcase_dark.webm",gradient:"bg-gradient-to-br from-pink-500 via-purple-600 to-blue-600"}),(0,s.jsx)(F,{subtitle:"Search, don't scroll",title:"Find that thing from Tuesday",description:"Never search for links again with tab9.me everything is organised into perfect workspaces.",videoLight:"/workspace_showcase_light.webm",videoDark:"/workspace_showcase_dark.webm",gradient:"bg-gradient-to-br from-blue-600 via-cyan-500 to-green-500"}),(0,s.jsx)(F,{subtitle:"One link, everything",title:"Send your entire research in seconds",description:"Share complete workspaces with your team. No more 'check my email from last week' or hunting through scattered files.",videoLight:"/link_showcase_light.webm",videoDark:"/link_showcase_dark.webm",gradient:"bg-gradient-to-br from-green-500 via-yellow-500 to-orange-500"})]})}A.A,_.A,C.A,I.A,P.A,A.A,C.A,_.A,P.A,I.A;var M=t(33884),B=t(28150),G=t(39926),U=t(1524);let $=[{content:"As a consultant and headhunter I tend to have many bookmarks and open tabs simultaneously. Tab9 helps me to stay organised.",author:"Liza Hillermann",role:"Headhunter",company:"Self-employed",avatar:"https://media.licdn.com/dms/image/v2/D4D03AQHN0UdIj6XmdA/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1727432588667?e=1757548800&v=beta&t=lKXS7DKRe4bqriB0EpHpUCOPnXB-XJeQ321alRG5OK4",isAnonymous:!1},{content:"I create curated lists for my team using tab9 and it saves us so much time on web research. Everyone knows exactly where to find the resources they need.",author:"Thassilo Warneke",role:"Product Manager",company:"Techstarter",avatar:"https://media.licdn.com/dms/image/v2/D4E03AQGZbiBwkjaYng/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1732625345844?e=1757548800&v=beta&t=D8oZGco9PPaZiE96WjHUZzGjPxL2Yx2GA-tbwmsiyLk",isAnonymous:!1},{content:"I can just paste all my financial research links into tab9 and it automatically organizes them into beautiful projects and lists. It's incredible how it understands my workflow.",author:"Lukas Hillermann",role:"Finance Entrepreneur",company:"",avatar:"https://media.licdn.com/dms/image/v2/C4D03AQFsTx7jirTVHg/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1616330247901?e=1757548800&v=beta&t=Pp0GjbsDN5eTYq1C4PRtCd777z9Jv_kOuun92NUaRic",isAnonymous:!1},{content:"I was skeptical about another productivity tool, but tab9's AI actually understands context. It's like having a research assistant.",author:"Anonymous User",role:"Software Developer",company:"",icon:B.A,iconColor:"bg-gradient-to-br from-gray-700 to-gray-800",isAnonymous:!0},{content:"Perfect for managing design resources and inspiration. Our team collaboration has never been this smooth and organized.",author:"Anonymous User",role:"UX Designer",company:"",icon:G.A,iconColor:"bg-gradient-to-br from-slate-600 to-slate-700",isAnonymous:!0},{content:"Finally found a solution for my bookmark chaos. Everything is searchable and I can actually find what I saved months ago.",author:"Anonymous User",role:"Marketing Manager",company:"",icon:U.A,iconColor:"bg-gradient-to-br from-zinc-600 to-zinc-700",isAnonymous:!0}];function H(){let e=(0,i.useRef)(null),a=(0,L.W)(e,{once:!0,margin:"-50px"}),[t,r]=(0,i.useState)(null);return(0,i.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/hero-stats");if(!e.ok)throw Error("Failed to fetch stats");let a=await e.json();r(a)}catch(e){console.error(e),r({totalWorkspaces:0,totalLinks:0,totalAIGenerations:0})}})()},[]),(0,s.jsx)("section",{ref:e,className:"pt-32 pb-12 bg-background",children:(0,s.jsxs)("div",{className:"container mx-auto max-w-7xl px-4 sm:px-6",children:[(0,s.jsxs)(u.P.div,{initial:{opacity:0,y:20},animate:a?{opacity:1,y:0}:{},transition:{duration:.8,ease:"easeOut"},className:"text-center mb-12 sm:mb-16",children:[(0,s.jsx)("h2",{className:"text-2xl sm:text-3xl lg:text-4xl xl:text-5xl font-bold text-foreground mb-4",children:"People are getting their time back"}),(0,s.jsx)("p",{className:"text-base sm:text-lg text-muted-foreground max-w-2xl mx-auto",children:'"I used to spend 30 minutes just finding things I already found." Not anymore.'})]}),(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-8",children:$.map((e,t)=>(0,s.jsx)(u.P.div,{initial:{opacity:0,y:20},animate:a?{opacity:1,y:0}:{},transition:{duration:.6,ease:"easeOut",delay:.1*t},className:"relative group",children:(0,s.jsxs)("div",{className:"bg-card border border-border rounded-2xl p-6 h-full transition-all duration-500 hover:shadow-2xl hover:shadow-
1purple-500/20 hover:scale-[1.02] hover:border-transparent relative overflow-hidden flex flex-col",children:[(0,s.jsxs)("blockquote",{className:"text-foreground mb-6 leading-relaxed relative z-10 flex-1",children:['"',e.content,'"']}),(0,s.jsxs)("div",{className:"flex items-center gap-3 relative z-10 mt-auto",children:[e.isAnonymous?(0,s.jsx)("div",{className:"h-10 w-10 flex-shrink-0 rounded-full ".concat(e.iconColor," flex items-center justify-center"),children:e.icon&&i.createElement(e.icon,{className:"h-5 w-5 text-white"})}):(0,s.jsxs)(M.eu,{className:"h-10 w-10 flex-shrink-0",children:[(0,s.jsx)(M.BK,{src:e.avatar,alt:e.author}),(0,s.jsx)(M.q5,{children:e.author.split(" ").map(e=>e[0]).join("")})]}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("div",{className:"font-semibold text-foreground text-sm truncate",children:e.author}),(0,s.jsx)("div",{className:"text-muted-foreground text-sm truncate",children:e.company?"".concat(e.role," ⢠").concat(e.company):e.role})]})]}),(0,s.jsx)("div",{className:"absolute inset-0 rounded-2xl bg-gradient-to-br from-pink-500/20 via-purple-500/20 via-blue-500/20 via-green-500/20 via-yellow-500/20 to-pink-500/20 opacity-0 group-hover:opacity-100 transition-all duration-500 pointer-events-none"}),(0,s.jsxs)("div",{className:"absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-100 transition-all duration-500 pointer-events-none",children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-2xl bg-gradient-to-r from-pink-500 via-purple-500 via-blue-500 via-green-500 via-yellow-500 to-pink-500 blur-sm opacity-60"}),(0,s.jsx)("div",{className:"absolute inset-[2px] rounded-2xl bg-card"})]}),(0,s.jsx)("div",{className:"absolute inset-0 rounded-2xl bg-gradient-to-r from-transparent via-white/10 to-transparent -skew-x-12 -translate-x-full group-hover:translate-x-full transition-transform duration-1000 ease-out pointer-events-none"})]})},t))}),(0,s.jsx)(u.P.div,{initial:{opacity:0,y:20},animate:a?{opacity:1,y:0}:{},transition:{duration:.8,ease:"easeOut",delay:.6},className:"grid grid-cols-3 gap-4 sm:gap-6 lg:gap-8 mt-12 sm:mt-16 pt-12 sm:pt-16 border-t border-border",children:(t?[{number:t.totalWorkspaces.toLocaleString(),label:"Workspaces Created",shortLabel:"Workspaces"},{number:t.totalLinks.toLocaleString(),label:"Links Organized",shortLabel:"Links"},{number:t.totalAIGenerations.toLocaleString(),label:"AI Creations",shortLabel:"AI Creations"}]:[{number:"---",label:"Workspaces Created",shortLabel:"Workspaces"},{number:"---",label:"Links Organized",shortLabel:"Links"},{number:"---",label:"AI Creations",shortLabel:"AI Creations"}]).map((e,a)=>(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"text-xl sm:text-2xl lg:text-3xl font-bold text-foreground mb-2",children:e.number}),(0,s.jsxs)("div",{className:"text-xs sm:text-sm text-muted-foreground",children:[(0,s.jsx)("span",{className:"sm:hidden",children:e.shortLabel}),(0,s.jsx)("span",{className:"hidden sm:inline",children:e.label})]})]},a))})]})})}var q=t(26983),Y=t(52987),V=t(36102),X=t(33981),Z=t(79706);let K=[{id:"featured",label:"Featured",icon:z.A},{id:"popular",label:"Popular",icon:U.A},{id:"newest",label:"Newest",icon:q.A}];function Q(){let e,[a,t]=(0,i.useState)(K[0].id),[r,l]=(0,i.useState)([]),[n,d]=(0,i.useState)(!0);(0,i.useEffect)(()=>{!async function(){d(!0);try{let e=Z.D.getInstance(),{data:a,error:t}=await e.getMarketplaceWorkspaces({limit:12});if(t)throw t;if(!a)throw Error("Marketplace data is empty or malformed");let s=a.map(e=>({id:e.resource_id,name:e.workspace_name,description:e.description,illustration:e.illustration_name,illustration_name:e.illustration_name,illustration_color:e.illustration_color,vote_score:e.vote_score,import_count:e.import_count,created_at:e.created_at,is_public:!0,is_featured:e.is_featured,user_profiles:{id:e.workspace_owner_id,username:e.author_name||"Anonymous"}}));l(s)}catch(e){console.error("Could not load community showcase data:",e),l([])}finally{d(!1)}}()},[]);let c=(e=[...r],"popular"===a||"featured"===a?e.sort((e,a)=>a.import_count+a.vote_score-(e.import_count+e.vote_score)):"newest"===a&&e.sort((e,a)=>new Date(a.created_at).getTime()-new Date(e.created_at).getTime()),e.slice(0,6));return(0,s.jsxs)("section",{className:"relative overflow-hidden pt-24 pb-12 bg-background",children:[(0,s.jsxs)("div",{className:"absolute inset-0 z-0 opacity-30",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-trans
1parent to-transparent"}),(0,s.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:"radial-gradient(circle at 20% 20%, #581c87 0%, transparent 40%), radial-gradient(circle at 80% 70%, #1e40af 0%, transparent 40%)",opacity:.3}}),(0,s.jsx)("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:"url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='%23374151'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e\")",backgroundRepeat:"repeat"}})]}),(0,s.jsxs)("div",{className:"container relative z-10 mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:[(0,s.jsxs)(u.P.div,{className:"text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.8},children:[(0,s.jsx)("h2",{className:"text-4xl lg:text-5xl xl:text-6xl font-bold text-foreground mb-4 leading-tight",children:"tab9.me Community"}),(0,s.jsx)("p",{className:"text-lg lg:text-xl text-muted-foreground leading-relaxed max-w-3xl mx-auto",children:"Why start from scratch? Instantly import powerful, community-vetted workspaces for any use case."})]}),(0,s.jsx)("div",{className:"my-12 flex justify-center",children:(0,s.jsx)("div",{className:"flex items-center space-x-2 rounded-full bg-muted p-1.5 border",children:K.map(e=>(0,s.jsxs)("button",{onClick:()=>t(e.id),className:(0,V.cn)("flex items-center justify-center rounded-full px-4 py-2.5 text-sm font-semibold transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a===e.id?"bg-primary text-primary-foreground shadow-md":"text-muted-foreground hover:bg-muted-foreground/10"),children:[(0,s.jsx)(e.icon,{className:"mr-2 h-5 w-5"}),e.label]},e.id))})}),(0,s.jsx)("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:n?Array.from({length:6}).map((e,a)=>(0,s.jsx)("div",{className:"h-[28rem] rounded-2xl bg-muted/50 animate-pulse"},a)):c.map((e,a)=>(0,s.jsx)(u.P.div,{initial:{opacity:0,y:30,scale:.95},animate:{opacity:1,y:0,scale:1},transition:{duration:.5,delay:.1*a,ease:"easeOut"},children:(0,s.jsx)(X.Y,{workspace:e})},e.id))}),(0,s.jsx)(u.P.div,{className:"flex justify-center mt-16",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.3},children:(0,s.jsx)(h.$,{asChild:!0,size:"lg",variant:"outline",className:"group text-lg h-14 px-8 rounded-full border-2 shadow-lg hover:shadow-xl hover:scale-105 hover:bg-muted/80 transition-all duration-300",children:(0,s.jsxs)(o(),{href:"/marketplace",children:["Explore All Templates",(0,s.jsx)(Y.A,{className:"w-5 h-5 ml-2 group-hover:translate-x-1 transition-transform"})]})})})]})]})}function J(){let{user:e,isGuest:a,isLoading:t}=(0,r.E)(),n=(0,l.useRouter)();(0,i.useEffect)(()=>{!t&&e&&n.replace("/dashboard")},[e,t,n]);let{user:o,isGuest:d}=(0,r.E)();return o?null:(0,s.jsxs)("div",{className:"flex min-h-screen flex-col",children:[(0,s.jsx)(f,{user:o}),(0,s.jsxs)("main",{className:"flex-1",children:[(0,s.jsx)(W,{user:o}),(0,s.jsx)(R,{}),(0,s.jsx)(H,{}),(0,s.jsx)(Q,{})]}),(0,s.jsx)(v.w,{})]})}},83209:(e,a,t)=>{"use strict";t.d(a,{BT:()=>d,Wu:()=>c,ZB:()=>o,Zp:()=>l,aR:()=>n,wL:()=>x});var s=t(95155),r=t(12115),i=t(36102);let l=r.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,s.jsx)("div",{ref:a,className:(0,i.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",t),...r})});l.displayName="Card";let n=r.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,s.jsx)("div",{ref:a,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",t),...r})});n.displayName="CardHeader";let o=r.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,s.jsx)("div",{ref:a,className:(0,i.cn)("text-2xl font-semibold leading-none tracking-tight",t),...r})});o.displayName="CardTitle";let d=r.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,s.jsx)("div",{ref:a,className:(0,i.cn)("text-sm text-muted-foreground",t),...r})});d.displayName="CardDescription";let c=r.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,s.jsx)("div",{ref:a,className:(0,i.cn)("p-6 pt-0",t),...r})});
1c.displayName="CardContent";let x=r.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,s.jsx)("div",{ref:a,className:(0,i.cn)("flex items-center p-6 pt-0",t),...r})});x.displayName="CardFooter"}},e=>{e.O(0,[9779,6119,9698,1157,5239,3926,2394,1262,8346,9341,4566,8291,2675,9706,3621,8441,1255,7358],()=>e(e.s=38661)),_N_E=e.O()}]);
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.