PageSourceSearch

https://www.athletespeakers.com/_next/static/chunks/3358.19133e34c9a056f8.js

js athletespeakers.com collected 2026-10-02 05:10:15 UTC 44,359 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3358],{3358:function(e,t,s){s.r(t),s.d(t,{default:function(){return V}});var a=s(57437),r=s(2265),l=s(26110),o=s(95186),n=s(62869),i=s(87066),c=s(94508);let m=i.fC,d=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(i.aV,{ref:t,className:(0,c.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",s),...r})});d.displayName=i.aV.displayName;let x=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(i.xz,{ref:t,className:(0,c.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",s),...r})});x.displayName=i.xz.displayName;let h=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(i.VY,{ref:t,className:(0,c.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",s),...r})});h.displayName=i.VY.displayName;var u=s(35974),b=s(73247),g=s(32489),p=s(85929),f=s(97226),w=s(91723),v=s(98617),j=s(92369),N=s(41473),k=s(48736),y=s(7586),_=s(49474),C=s(51817),Z=s(54080),S=s(11239),z=s(10407),R=s(95805),D=s(83774),I=s(95252),U=s(17580),W=s(27648),A=s(57834),E=s(48875);function V(e){let{isOpen:t,onClose:s}=e,[i,c]=(0,r.useState)(""),[z,R]=(0,r.useState)("all"),[D,I]=(0,r.useState)([]),[U,W]=(0,r.useState)([]),[V,B]=(0,r.useState)(!1),G=(0,r.useRef)(null),J=(0,r.useRef)(),M=(0,r.useRef)(!1),{search:P,clearResults:K,results:Q,isLoading:X}=function(){let[e,t]=(0,r.useState)(!1),[s,a]=(0,r.useState)(null),[l,o]=(0,r.useState)(null),n=(0,r.useRef)(0);return{search:(0,r.useCallback)(async e=>{if(!e.q||e.q.trim().length<2){o(null);return}let s=++n.current;t(!0),a(null);try{let t=await A.u.globalSearch(e);if(s!==n.current)return null;if(t.success)return o(t.data),t.data;throw Error("Search failed")}catch(t){if(s!==n.current)return null;let e=t instanceof Error?t:Error("Unknown error occurred");return a(e),console.error("Search error:",e),null}finally{s===n.current&&t(!1)}},[]),clearResults:(0,r.useCallback)(()=>{o(null),a(null)},[]),results:l,isLoading:e,error:s}}();(0,r.useEffect)(()=>{"dark"===localStorage.getItem("searchModalTheme")&&B(!0)},[]),(0,r.useEffect)(()=>{if(t){setTimeout(()=>{var e;return null===(e=G.current)||void 0===e?void 0:e.focus()},100);let e=localStorage.getItem("recentSearches");e&&I(JSON.parse(e)),i.trim()&&$(i,z)}else R("all"),K()},[t]),(0,r.useEffect)(()=>{if(!t||M.current)return;M.current=!0;let e=!1;return E.f_.getFeaturedSpeakers(8).then(t=>{e||W(((null==t?void 0:t.data)||[]).filter(e=>e.slug&&(e.firstName||e.lastName)).slice(0,8).map(e=>({id:Number(e.id),firstName:e.firstName||"",lastName:e.lastName||"",slug:e.slug,title:e.title||"",headshotUrl:e.headshotUrl,location:e.location,team:e.team?{name:e.team.name}:void 0,feeRange:e.feeRange?{label:e.feeRange.label}:void 0,isFeatured:!0})))}).catch(()=>{M.current=!1}),()=>{e=!0}},[t]),(0,r.useEffect)(()=>{let e=e=>{t&&"Escape"===e.key&&s()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[t,s]);let $=(0,r.useCallback)(async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all",s=e.trim();if(!s||s.length<2){K();return}let a={q:s,limit:5,page:1};"all"!==t&&(a.entityTypes=t),await P(a)},[P,K]),ee=e=>{if(c(e),J.current&&clearTimeout(J.current),e.trim().length<2){K();return}J.current=setTimeout(()=>{$(e,z)},400)},et=e=>{c(e),$(e,z)},es=e=>{let t=[e,...D.filter(t=>t!==e)].slice(0,5);I(t),localStorage.setItem("recentSearches",JSON.stringify(t)),s()},ea=()=>{var e;c(""),K(),null===(e=G.current)||void 0===e||e.focus()},er=()=>{if(!Q||!Q.results)return 0;let{speakers:e,categories:t,blogs:s,lists:a,teams:r}=Q.results;return((null==e?void 0:e.length)||0)+((null==t?void 0:t.length)||0)+((null==s?void 0:s.length)||0)+((null==a?void 0:a.length)||0)+((null==r?void 0:r.length)||0)},el=e=>{if(!Q||!Q.results)return 0;if("all"===e)return er();let t=Q.results[e];return Array.isArray(t)?t.length:0};return(0,a.jsx)(l.Vq,{open:t,onOpenChange:s,children:(0,a.jsx)(l.cZ,{className:"max-w-4xl h-[70dvh] md:h-[80dvh] md:max-h-[80dvh] p-0 gap-0 overflow-hidden border-0 shadow-2xl flex flex-col transition-colors duration-300 ".concat(V?"bg-[#050915]":"bg-white"),children:(0,a.jsxs)("div",{className:"flex flex-col h-full min-h-0",children:[(0,a.jsxs)("div",{className:"relative border-b transition-colors duration-300 ".concat(V?"border-white/10":"border-neutral-100"),children:[(0,a.jsx)("div",{className:"absolute inset-0 transition-opacity duration-300 ".concat(V?"bg-gradient-to-br from-blue-950/50 via-[#050915] to-indigo-950/30 opacity-100":"bg-gradient-to-br from-blue-50 via-white to-violet-50 opacity-60")}),(0,a.jsxs)("div",{className:"relative flex items-center gap-2 sm:gap-3 px-3 sm:px-6 lg:px-5 py-2.5 sm:py-5 lg:py-3",children:[(0,a.jsx)(b.Z,{className:"h-4 w-4 sm:h-5 sm:w-5 flex-shrink-0 transition-colors duration-300 ".concat(V?"text-blue-400/70":"text-neutral-400")}),(0,a.jsx)(o.I,{ref:G,type:"text",placeholder:"Search speakers...",value:i,onChange:e=>ee(e.target.value),className:"flex-1 border-0 bg-transparent focus-visible:ring-0 focus-visible:ring-offset-0 text-sm sm:text-base px-0 h-auto transition-colors duration-300 ".concat(V?"text-white placeholder:text-white/40":"placeholder:text-neutral-400")}),i&&(0,a.jsx)("button",{onClick:ea,className:"p-1.5 sm:p-2 rounded-lg transition-colors flex-shrink-0 ".concat(V?"hover:bg-white/10":"hover:bg-neutral-100"),"aria-label":"Clear search",children:(0,a.jsx)(g.Z,{className:"h-3.5 w-3.5 sm:h-4 sm:w-4 ".concat(V?"text-white/50":"text-neutral-500")})}),(0,a.jsx)("button",{onClick:()=>{B(e=>{let t=!e;return localStorage.setItem("searchModalTheme",t?"dark":"light"),t})},className:"p-1.5 sm:p-2 rounded-lg transition-colors flex-shrink-0 ".concat(V?"hover:bg-white/10":"hover:bg-neutral-100"),"aria-label":"Toggle theme",children:V?(0,a.jsx)(p.Z,{className:"h-4 w-4 sm:h-5 sm:w-5 text-amber-400"}):(0,a.jsx)(f.Z,{className:"h-4 w-4 sm:h-5 sm:w-5 text-neutral-500"})}),(0,a.jsx)("button",{onClick:s,className:"p-1.5 sm:p-2 rounded-lg transition-colors flex-shrink-0 ".concat(V?"hover:bg-white/10":"hover:bg-neutral-100"),"aria-label":"Close",children:(0,a.jsx)(g.Z,{className:"h-4 w-4 sm:h-5 sm:w-5 ".concat(V?"text-white/60":"text-neutral-600")})})]})]}),!i&&D.length>0&&(0,a.jsxs)("div",{className:"px-3 sm:px-6 lg:px-5 py-2 sm:py-4 lg:py-3 transition-colors duration-300 ".concat(V?"bg-white/[0.03]":"bg-gradient-to-br from-neutral-50/50 to-white"),children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-1.5 sm:mb-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(w.Z,{className:"h-3.5 w-3.5 sm:h-4 sm:w-4 ".concat(V?"text-white/40":"text-neutral-500")}),(0,a.jsx)("span",{className:"text-xs sm:text-sm font-semibold ".concat(V?"text-white/70":"text-neutral-700"),children:"Recent"})]}),(0,a.jsx)("button",{onClick:()=>{I([]),localStorage.removeItem("recentSearches")},className:"text-[10px] sm:text-xs font-medium transition-colors ".concat(V?"text-white/40 hover:text-white/80":"text-neutral-500 hover:text-neutral-900"),children:"Clear"})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-1.5 sm:gap-2",children:D.map((e,t)=>(0,a.jsx)("button",{onClick:()=>et(e),className:"px-2.5 sm:px-3 py-1 sm:py-1.5 text-xs sm:text-sm rounded-md sm:rounded-lg font-medium transition-all ".concat(V?"bg-white/5 border border-white/10 text-white/70 hover:border-blue-400/50 hover:bg-blue-500/10 hover:text-blue-300":"bg-white border border-neutral-200 hover:border-blue-400 hover:bg-blue-50 hover:text-blue-700 shadow-sm"),children:e},t))})]}),!i&&!Q&&(0,a.jsx)("div",{className:"flex-1 min-h-0 overflow-y-auto overscroll-contain transition-colors duration-300 ".concat(V?"bg-transparent":"bg-gradient-to-br from-neutral-50 via-white to-blue-50/30"),style:{WebkitOverflowScrolling:"touch"},children:(0,a.jsx)("div",{className:"p-3 sm:p-4 lg:p-4",children:(0,a.jsx)("div",{className:"w-full space-y-4",children:U.length>0&&(0,a.jsxs)("div",{className:"text-left",children:[(0,a.jsxs)("div",{className:"flex items-center justify-start gap-1.5 mb-2 sm:mb-3",children:[(0,a.jsx)(v.Z,{className:"h-3.5 w-3.5 sm:h-4 sm:w-4 ".concat(V?"text-blue-400":"text-blue-500"),strokeWidth:2.5}),(0,a.jsx)("span",{className:"text-[10px] sm:text-xs font-bold uppercase tracking-wider ".concat(V?"text-white/50":"text-neutral-500"),
1children:"Popular Speakers"})]}),(0,a.jsx)("div",{className:"space-y-2",children:U.map(e=>(0,a.jsx)(q,{speaker:e,onClick:()=>es("".concat(e.firstName," ").concat(e.lastName).trim()),isDark:V,subtle:!0},e.slug))})]})})})}),i&&(0,a.jsxs)(m,{value:z,onValueChange:e=>{R(e),i.trim()&&$(i,e)},className:"flex-1 flex flex-col min-h-0",children:[(0,a.jsxs)(d,{className:"w-full justify-start border-b rounded-none px-2 sm:px-4 lg:px-5 h-auto py-0 gap-0 sm:gap-1 lg:gap-2 overflow-x-auto no-scrollbar transition-colors duration-300 ".concat(V?"bg-white/[0.03] border-white/10":"bg-white border-neutral-100"),children:[(0,a.jsxs)(x,{value:"all",className:"data-[state=active]:border-b-2 data-[state=active]:border-blue-500 rounded-none bg-transparent px-2 sm:px-3 lg:px-4 py-2 sm:py-3 lg:py-3.5 font-semibold text-[11px] sm:text-sm transition-colors whitespace-nowrap flex-shrink-0 ".concat(V?"data-[state=active]:text-blue-400 text-white/50 hover:text-white/80":"data-[state=active]:text-blue-600 text-neutral-600 hover:text-neutral-900"),children:["All",el("all")>0&&(0,a.jsx)(u.C,{className:"ml-1 sm:ml-2 bg-blue-600 text-white hover:bg-blue-600 font-bold px-1.5 sm:px-2 text-[9px] sm:text-xs",children:el("all")})]}),(0,a.jsxs)(x,{value:"speakers",className:"data-[state=active]:border-b-2 data-[state=active]:border-blue-500 rounded-none bg-transparent px-2 sm:px-3 lg:px-4 py-2 sm:py-3 lg:py-3.5 font-semibold text-[11px] sm:text-sm transition-colors whitespace-nowrap flex-shrink-0 ".concat(V?"data-[state=active]:text-blue-400 text-white/50 hover:text-white/80":"data-[state=active]:text-blue-600 text-neutral-600 hover:text-neutral-900"),children:[(0,a.jsx)(j.Z,{className:"h-3 w-3 sm:h-4 sm:w-4 mr-1 sm:mr-2"}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Speakers"}),el("speakers")>0&&(0,a.jsx)(u.C,{className:"ml-1 sm:ml-2 bg-blue-600 text-white hover:bg-blue-600 font-bold px-1.5 sm:px-2 text-[9px] sm:text-xs",children:el("speakers")})]}),(0,a.jsxs)(x,{value:"categories",className:"data-[state=active]:border-b-2 data-[state=active]:border-blue-500 rounded-none bg-transparent px-2 sm:px-3 lg:px-4 py-2 sm:py-3 lg:py-3.5 font-semibold text-[11px] sm:text-sm transition-colors whitespace-nowrap flex-shrink-0 ".concat(V?"data-[state=active]:text-blue-400 text-white/50 hover:text-white/80":"data-[state=active]:text-blue-600 text-neutral-600 hover:text-neutral-900"),children:[(0,a.jsx)(N.Z,{className:"h-3 w-3 sm:h-4 sm:w-4 mr-1 sm:mr-2"}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Categories"}),el("categories")>0&&(0,a.jsx)(u.C,{className:"ml-1 sm:ml-2 bg-blue-600 text-white hover:bg-blue-600 font-bold px-1.5 sm:px-2 text-[9px] sm:text-xs",children:el("categories")})]}),(0,a.jsxs)(x,{value:"blogs",className:"data-[state=active]:border-b-2 data-[state=active]:border-blue-500 rounded-none bg-transparent px-2 sm:px-3 lg:px-4 py-2 sm:py-3 lg:py-3.5 font-semibold text-[11px] sm:text-sm transition-colors whitespace-nowrap flex-shrink-0 ".concat(V?"data-[state=active]:text-blue-400 text-white/50 hover:text-white/80":"data-[state=active]:text-blue-600 text-neutral-600 hover:text-neutral-900"),children:[(0,a.jsx)(k.Z,{className:"h-3 w-3 sm:h-4 sm:w-4 mr-1 sm:mr-2"}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Blogs"}),el("blogs")>0&&(0,a.jsx)(u.C,{className:"ml-1 sm:ml-2 bg-blue-600 text-white hover:bg-blue-600 font-bold px-1.5 sm:px-2 text-[9px] sm:text-xs",children:el("blogs")})]}),(0,a.jsxs)(x,{value:"lists",className:"data-[state=active]:border-b-2 data-[state=active]:border-blue-500 rounded-none bg-transparent px-2 sm:px-3 lg:px-4 py-2 sm:py-3 lg:py-3.5 font-semibold text-[11px] sm:text-sm transition-colors whitespace-nowrap flex-shrink-0 ".concat(V?"data-[state=active]:text-blue-400 text-white/50 hover:text-white/80":"data-[state=active]:text-blue-600 text-neutral-600 hover:text-neutral-900"),children:[(0,a.jsx)(y.Z,{className:"h-3 w-3 sm:h-4 sm:w-4 mr-1 sm:mr-2"}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Lists"}),el("lists")>0&&(0,a.jsx)(u.C,{className:"ml-1 sm:ml-2 bg-blue-600 text-white hover:bg-blue-600 font-bold px-1.5 sm:px-2 text-[9px] sm:text-xs",children:el("lists")})]}),(0,a.jsxs)(x,{value:"teams",className:"data-[state=active]:border-b-2 data-[state=active]:border-blue-500 rounded-none bg-transparent px-2 sm:px-3 lg:px-4 py-2 sm:py-3 lg:py-3.5 font-semibold text-[11px] sm:text-sm transition-colors whitespace-nowrap flex-shrink-0 ".concat(V?"data-[state=active]:text-blue-400 text-white/50 hover:text-white/80":"data-[state=active]:text-blue-600 text-neutral-600 hover:text-neutral-900"),children:[(0,a.jsx)(_.Z,{className:"h-3 w-3 sm:h-4 sm:w-4 mr-1 sm:mr-2"}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Teams"}),el("teams")>0&&(0,a.jsx)(u.C,{className:"ml-1 sm:ml-2 bg-blue-600 text-white hover:bg-blue-600 font-bold px-1.5 sm:px-2 text-[9px] sm:text-xs",children:el("teams")})]})]}),(0,a.jsxs)("div",{className:"flex-1 min-h-0 overflow-y-auto overscroll-contain relative transition-colors duration-300 ".concat(V?"bg-[#050915]":"bg-gradient-to-br from-neutral-100/60 via-neutral-50 to-blue-50/40"),style:{WebkitOverflowScrolling:"touch"},children:[V&&(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_20%_10%,rgba(59,130,246,0.18),transparent_30%),radial-gradient(circle_at_80%_0%,rgba(14,165,233,0.2),transparent_26%),radial-gradient(circle_at_50%_80%,rgba(99,102,241,0.12),transparent_28%)]"}),X?(0,a.jsx)("div",{className:"flex items-center justify-center h-full min-h-[200px] sm:min-h-[400px] relative z-10",children:(0,a.jsxs)("div",{className:"text-center space-y-4",children:[(0,a.jsx)(C.Z,{className:"h-10 w-10 sm:h-12 sm:w-12 animate-spin mx-auto ".concat(V?"text-blue-400":"text-blue-600")}),(0,a.jsx)("p",{className:"font-semibold text-xs sm:text-base ".concat(V?"text-white/60":"text-neutral-600"),children:"Searching..."})]})}):Q&&er()>0?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(h,{value:"all",className:"m-0 p-3 sm:p-4 lg:p-4 space-y-4 sm:sp
1ace-y-8 relative z-10",children:[Q.results.speakers&&Q.results.speakers.length>0&&(0,a.jsx)(F,{title:"Speakers",icon:(0,a.jsx)(j.Z,{className:"h-5 w-5"}),count:Q.results.speakers.length,showAllHref:"/speaker?search=".concat(encodeURIComponent(i)),onShowAllClick:s,isDark:V,children:(0,a.jsx)("div",{className:"space-y-2",children:Q.results.speakers.map(e=>(0,a.jsx)(q,{speaker:e,onClick:()=>es("".concat(e.firstName," ").concat(e.lastName)),isDark:V},e.id))})}),Q.results.categories&&Q.results.categories.length>0&&(0,a.jsx)(F,{title:"Categories",icon:(0,a.jsx)(N.Z,{className:"h-5 w-5"}),count:Q.results.categories.length,showAllHref:"/categories?search=".concat(encodeURIComponent(i)),onShowAllClick:s,isDark:V,children:(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:Q.results.categories.map(e=>(0,a.jsx)(H,{category:e,onClick:()=>es(e.name),isDark:V},e.id))})}),Q.results.blogs&&Q.results.blogs.length>0&&(0,a.jsx)(F,{title:"Blog Posts",icon:(0,a.jsx)(k.Z,{className:"h-5 w-5"}),count:Q.results.blogs.length,showAllHref:"/blog?search=".concat(encodeURIComponent(i)),onShowAllClick:s,isDark:V,children:(0,a.jsx)("div",{className:"space-y-2",children:Q.results.blogs.map(e=>(0,a.jsx)(L,{blog:e,onClick:()=>es(e.title),isDark:V},e.id))})}),Q.results.lists&&Q.results.lists.length>0&&(0,a.jsx)(F,{title:"Speaker Lists",icon:(0,a.jsx)(y.Z,{className:"h-5 w-5"}),count:Q.results.lists.length,showAllHref:"/speaker-list?search=".concat(encodeURIComponent(i)),onShowAllClick:s,isDark:V,children:(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-1 gap-3",children:Q.results.lists.map(e=>(0,a.jsx)(O,{list:e,onClick:()=>es(e.name),isDark:V},e.id))})}),Q.results.teams&&Q.results.teams.length>0&&(0,a.jsx)(F,{title:"Teams",icon:(0,a.jsx)(_.Z,{className:"h-5 w-5"}),count:Q.results.teams.length,showAllHref:"/speaker/teams?search=".concat(encodeURIComponent(i)),onShowAllClick:s,isDark:V,children:(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:Q.results.teams.map(e=>(0,a.jsx)(Y,{team:e,onClick:()=>es(e.name),isDark:V},e.id))})})]}),(0,a.jsx)(h,{value:"speakers",className:"m-0 p-3 sm:p-4 lg:p-4 relative z-10",children:Q.results.speakers&&Q.results.speakers.length>0?(0,a.jsx)("div",{className:"space-y-2",children:Q.results.speakers.map(e=>(0,a.jsx)(q,{speaker:e,onClick:()=>es("".concat(e.firstName," ").concat(e.lastName)),isDark:V},e.id))}):(0,a.jsx)(T,{icon:(0,a.jsx)(j.Z,{className:"h-12 w-12"}),message:"No speakers found",isDark:V})}),(0,a.jsx)(h,{value:"categories",className:"m-0 p-3 sm:p-4 lg:p-4 relative z-10",children:Q.results.categories&&Q.results.categories.length>0?(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:Q.results.categories.map(e=>(0,a.jsx)(H,{category:e,onClick:()=>es(e.name),isDark:V},e.id))}):(0,a.jsx)(T,{icon:(0,a.jsx)(N.Z,{className:"h-12 w-12"}),message:"No categories found",isDark:V})}),(0,a.jsx)(h,{value:"blogs",className:"m-0 p-3 sm:p-4 lg:p-4 relative z-10",children:Q.results.blogs&&Q.results.blogs.length>0?(0,a.jsx)("div",{className:"space-y-2",children:Q.results.blogs.map(e=>(0,a.jsx)(L,{blog:e,onClick:()=>es(e.title),isDark:V},e.id))}):(0,a.jsx)(T,{icon:(0,a.jsx)(k.Z,{className:"h-12 w-12"}),message:"No blog posts found",isDark:V})}),(0,a.jsx)(h,{value:"lists",className:"m-0 p-3 sm:p-4 lg:p-4 relative z-10",children:Q.results.lists&&Q.results.lists.length>0?(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:Q.results.lists.map(e=>(0,a.jsx)(O,{list:e,onClick:()=>es(e.name),isDark:V},e.id))}):(0,a.jsx)(T,{icon:(0,a.jsx)(y.Z,{className:"h-12 w-12"}),message:"No lists found",isDark:V})}),(0,a.jsx)(h,{value:"teams",className:"m-0 p-3 sm:p-4 lg:p-4 relative z-10",children:Q.results.teams&&Q.results.teams.length>0?(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:Q.results.teams.map(e=>(0,a.jsx)(Y,{team:e,onClick:()=>es(e.name),isDark:V},e.id))}):(0,a.jsx)(T,{icon:(0,a.jsx)(_.Z,{className:"h-12 w-12"}),message:"No teams found",isDark:V})})]}):i?(0,a.jsx)("div",{className:"flex items-center justify-center h-full min-h-[200px] sm:min-h-[400px] p-4 sm:p-12 relative z-10",children:(0,a.jsxs)("div",{className:"text-center space-y-4 max-w-md",children:[(0,a.jsx)("div",{className:"relative inline-block",children:(0,a.jsx)(b.Z,{className:"h-10 w-10 sm:h-16 sm:w-16 ".concat(V?"text-white/20":"text-neutral-300")})}),(0,a.jsx)("h3",{className:"text-base sm:text-xl font-bold ".concat(V?"text-white":"text-neutral-900"),children:"No results found"}),(0,a.jsxs)("p",{className:"leading-relaxed text-sm sm:text-base ".concat(V?"text-white/60":"text-neutral-600"),children:["We couldn't find anything matching \"",(0,a.jsx)("span",{className:"font-semibold ".concat(V?"text-white":"text-neutral-900"),children:i}),'". Try different keywords.']}),(0,a.jsx)(n.z,{onClick:ea,variant:"outline",className:"mt-4 border-2 ".concat(V?"border-white/20 text-white hover:bg-white/10":""),children:"Clear Search"})]})}):null]})]}),i&&(0,a.jsx)("div",{className:"border-t px-3 sm:px-4 lg:px-5 py-2 sm:py-2.5 lg:py-2 transition-colors duration-300 ".concat(V?"border-white/10 bg-[#050915]":"border-neutral-100 bg-white"),children:(0,a.jsxs)("div",{className:"flex items-center justify-between text-[10px] sm:text-xs",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 sm:gap-3 lg:gap-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1 sm:gap-1.5",children:[(0,a.jsx)("kbd",{className:"px-1.5 sm:px-2 py-1 sm:py-1.5 rounded font-mono text-[8px] sm:text-[10px] font-semibold flex items-center justify-center min-w-[20px] sm:min-w-[24px] ".concat(V?"bg-white/10 border border-white/15 text-white/60 shadow-none":"bg-neutral-100 border border-neutral-200 shadow-sm"),children:(0,a.jsx)(Z.Z,{className:"h-2.5 w-2.5 sm:h-3 sm:w-3"})}),(0,a.jsx)("span",{className:"font-medium hidden sm:inline text-[10px] sm:text-xs ".concat(V?"text-white/40":"text-neutral-600"),children:"to select"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1 sm:gap-1.5",children:[(0,a.jsx)("kbd",{className:"px-1.5 sm:px-2 py-1 sm:py-1.5 rounded font-mono text-[8px] sm:text-[10px] font-semibold ".concat(V?"bg-white/10 border border-white/15 text-white/60 shadow-none":"bg-neutral-100 border border-neutral-200 shadow-sm"),children:"ESC"}),(0,a.jsx)("span",{className:"font-medium hidden sm:inline text-[10px] sm:text-xs ".concat(V?"text-white/40":"text-neutral-600"),children:"to close"})]})]}),Q&&er()>0&&(0,a.jsxs)("div",{className:"flex items-center gap-1 sm:gap-1.5 px-2 sm:px-3 py-1 sm:py-1.5 rounded-md sm:rounded-lg ".concat(V?"bg-emerald-500/10 border border-emerald-400/20":"bg-gradient-to-r from-emerald-50 to-teal-50 border border-emerald-200"),children:[(0,a.jsx)(S.Z,{className:"h-2.5 w-2.5 sm:h-3.5 sm:w-3.5 ".concat(V?"text-emerald-400":"text-emerald-600")}),(0,a.jsxs)("span",{className:"font-bold text-[10px] sm:text-xs whitespace-nowrap ".concat(V?"text-emerald-300":"text-emerald-900"),children:[er(),(0,a.jsx)("span",{className:"hidden sm:inline",children:" results"})]})]})]})})]})})})}function F(e){let{title:t,icon:s,count:r,children:l,showAllHref:o,onShowAllClick:n,isDark:i}=e;return(0,a.jsxs)("div",{className:"space-y-2 sm:space-y-4",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 sm:gap-3 ".concat(i?"text-white":"text-neutral-900"),children:[(0,a.jsx)("div",{className:"p-1.5 sm:p-2 bg-gradient-to-br from-blue-500 to-blue-600 text-white rounded-md sm:rounded-lg shadow-md",children:s}),(0,a.jsx)("h3",{className:"font-bold text-sm sm:text-lg",children:t}),(0,a.jsx)(u.C,{className:"font-bold px-1.5 sm:px-2.5 text-[10px] sm:text-xs ".concat(i?"bg-white/10 text-white/70 hover:bg-white/10":"bg-neutral-100 text-neutral-700 hover:bg-neutral-100"),children:r})]}),o&&(0,a.jsxs)(W.default,{href:o,onClick:n,className:"flex items-center gap-1 text-xs sm:text-sm font-semibold transition-colors ".concat(i?"text-blue-400 hover:text-blue-300":"text-blue-600 hover:text-blue-700"),
1children:["View all",(0,a.jsx)(z.Z,{className:"h-3.5 w-3.5 sm:h-4 sm:w-4"})]})]}),l,o&&(0,a.jsxs)(W.default,{href:o,onClick:n,className:"flex items-center justify-center gap-2 py-2.5 mt-2 rounded-lg text-xs sm:text-sm font-semibold transition-all ".concat(i?"text-blue-400 hover:text-blue-300 bg-white/5 hover:bg-white/10 border border-white/10":"text-blue-600 hover:text-blue-700 bg-blue-50/80 hover:bg-blue-100 border border-blue-200/60"),children:["View all ",t.toLowerCase(),(0,a.jsx)(z.Z,{className:"h-3.5 w-3.5 sm:h-4 sm:w-4"})]})]})}function T(e){let{icon:t,message:s,isDark:r}=e;return(0,a.jsx)("div",{className:"flex items-center justify-center h-64 sm:h-96 relative z-10",children:(0,a.jsxs)("div",{className:"text-center space-y-2 sm:space-y-3",children:[(0,a.jsx)("div",{className:"flex justify-center ".concat(r?"text-white/15":"text-neutral-300"),children:t}),(0,a.jsx)("p",{className:"font-semibold text-sm sm:text-base ".concat(r?"text-white/50":"text-neutral-600"),children:s})]})})}function q(e){var t,s,r;let{speaker:l,onClick:o,isDark:n,subtle:i}=e,c=l.isFeatured,m=c&&!i,d=m?n?"bg-gradient-to-r from-blue-900/30 via-sky-900/20 to-blue-900/30 border-blue-500/30 hover:border-blue-400/60 shadow-[0_4px_30px_rgba(59,130,246,0.12)]":"bg-gradient-to-r from-blue-50/80 via-sky-50/60 to-blue-50/80 border-blue-200/80 hover:border-blue-400":n?"bg-gradient-to-br from-white/10 via-white/5 to-white/[0.02] border-white/10 hover:border-blue-400/40 shadow-[0_4px_30px_rgba(0,0,0,0.3)]":"bg-white border-neutral-300/90 shadow-[0_2px_4px_rgba(0,0,0,0.06),0_4px_12px_rgba(0,0,0,0.08)] hover:shadow-[0_6px_24px_rgba(0,0,0,0.12)] hover:-translate-y-[1px] hover:border-blue-400";return(0,a.jsxs)(W.default,{href:"/speaker/".concat(l.slug),onClick:o,className:"group relative flex items-center gap-2.5 sm:gap-4 p-2.5 sm:p-4 rounded-lg sm:rounded-xl border hover:shadow-xl transition-all ".concat(d),children:[c&&(0,a.jsx)("div",{className:"absolute -top-2 -right-2 sm:-top-2.5 sm:-right-2.5 z-10 p-1 sm:p-1.5 bg-gradient-to-br from-blue-500 to-blue-600 rounded-full shadow-lg shadow-blue-200/50",children:(0,a.jsx)(v.Z,{className:"h-3 w-3 sm:h-3.5 sm:w-3.5 text-white",strokeWidth:2.5})}),l.headshotUrl?(0,a.jsx)("div",{className:"w-10 h-10 sm:w-16 sm:h-16 rounded-full overflow-hidden flex-shrink-0 ring-2 sm:ring-4 transition-all shadow-md ".concat(m?"ring-blue-100 group-hover:ring-blue-200":n?"ring-white/10 group-hover:ring-blue-400/30 bg-white/10":"ring-neutral-100 group-hover:ring-blue-200 bg-neutral-100"),children:(0,a.jsx)("img",{src:(null==l?void 0:null===(t=l.headshotUrl)||void 0===t?void 0:t.startsWith("http"))?l.headshotUrl:"https://athletespeakers-assets.s3.us-west-2.amazonaws.com/speakers/".concat(l.headshotUrl),alt:"".concat(l.firstName," ").concat(l.lastName),className:"w-full h-full object-cover"})}):(0,a.jsx)("div",{className:"w-10 h-10 sm:w-16 sm:h-16 rounded-full bg-gradient-to-br from-blue-500 to-blue-700 flex items-center justify-center flex-shrink-0 shadow-lg",children:(0,a.jsx)(j.Z,{className:"h-5 w-5 sm:h-7 sm:w-7 text-white",strokeWidth:2.5})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5 sm:gap-2",children:[(0,a.jsxs)("h4",{className:"font-bold transition-colors text-sm sm:text-base ".concat(m?n?"text-blue-300 group-hover:text-blue-200":"text-blue-900 group-hover:text-blue-700":n?"text-white group-hover:text-blue-300":"text-neutral-900 group-hover:text-blue-700"),children:[l.firstName," ",l.lastName]}),m&&(0,a.jsx)("span",{className:"hidden sm:inline-flex items-center gap-1 px-1.5 py-0.5 text-[9px] font-bold uppercase tracking-wider rounded-md ".concat(n?"text-blue-300 bg-blue-500/20 border border-blue-400/30":"text-blue-700 bg-blue-100 border border-blue-200"),children:"Featured"})]}),l.title&&(0,a.jsx)("p",{className:"text-sm sm:text-xs font-semibold mt-0.5 sm:mt-1 line-clamp-1 ".concat(n?"text-white/40":"text-neutral-500"),children:l.title}),(0,a.jsxs)("div",{className:"hidden md:flex flex-wrap items-center gap-1.5 sm:gap-3 mt-1 sm:mt-2",children:[(null===(s=l.team)||void 0===s?void 0:s.name)&&(0,a.jsxs)("span",{className:"text-[10px] sm:text-xs flex items-center gap-1 sm:gap-1.5 font-medium ".concat(n?"text-white/50":"text-neutral-600"),children:[(0,a.jsx)(R.Z,{className:"h-3 w-3 sm:h-3.5 sm:w-3.5"}),l.team.name]}),(0,a.jsxs)("span",{className:"text-[10px] sm:text-xs flex items-center gap-1 sm:gap-1.5 font-medium ".concat(n?"text-white/50":"text-neutral-600"),children:[(0,a.jsx)(D.Z,{className:"h-3 w-3 sm:h-3.5 sm:w-3.5"}),l.location||"Available Upon Request"]}),(0,a.jsxs)("span",{className:"text-[10px] sm:text-xs flex items-center gap-1 sm:gap-1.5 font-medium ".concat(n?"text-white/50":"text-neutral-600"),children:[(0,a.jsx)(I.Z,{className:"h-3 w-3 sm:h-3.5 sm:w-3.5"}),(null==l?void 0:null===(r=l.feeRange)||void 0===r?void 0:r.label)||"Contact for fee"]})]})]}),(0,a.jsx)("div",{className:"flex-shrink-0 p-1.5 sm:p-2 rounded-md sm:rounded-lg transition-colors ".concat(m?n?"bg-blue-500/20 group-hover:bg-blue-500/30":"bg-blue-100 group-hover:bg-blue-200":n?"bg-white/5 group-hover:bg-white/10":"bg-blue-50 group-hover:bg-blue-100"),children:(0,a.jsx)(U.Z,{className:"h-4 w-4 sm:h-5 sm:w-5 group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-transform ".concat(n?"text-blue-400":"text-blue-600")})})]})}function H(e){var t;let{category:s,onClick:r,isDark:l}=e,o=s.isFeatured,n=o?l?"bg-gradient-to-r from-blue-900/30 via-sky-900/20 to-blue-900/30 border-blue-500/30 hover:border-blue-400/60 shadow-[0_4px_30px_rgba(59,130,246,0.12)]":"bg-gradient-to-r from-blue-50/80 via-sky-50/60 to-blue-50/80 border-blue-200/80 hover:border-blue-400":l?"bg-gradient-to-br from-white/10 via-white/5 to-white/[0.02] border-white/10 hover:border-violet-400/40 shadow-[0_4px_30px_rgba(0,0,0,0.3)]":"bg-white border-neutral-300/90 shadow-[0_2px_4px_rgba(0,0,0,0.06),0_4px_12px_rgba(0,0,0,0.08)] hover:shadow-[0_6px_24px_rgba(0,0,0,0.12)] hover:-translate-y-[1px] hover:border-violet-400";return(0,a.jsxs)(W.default,{href:"/category/".concat(s.slug),onClick:r,className:"group relative flex items-center gap-2.5 sm:gap-4 p-2.5 sm:p-4 roun
1ded-lg sm:rounded-xl border hover:shadow-xl transition-all ".concat(n),children:[o&&(0,a.jsx)("div",{className:"absolute -top-2 -right-2 sm:-top-2.5 sm:-right-2.5 z-10 p-1 sm:p-1.5 bg-gradient-to-br from-blue-500 to-blue-600 rounded-full shadow-lg shadow-blue-200/50",children:(0,a.jsx)(v.Z,{className:"h-3 w-3 sm:h-3.5 sm:w-3.5 text-white",strokeWidth:2.5})}),(null==s?void 0:s.metaImage)?(0,a.jsx)("div",{className:"w-10 h-10 sm:w-16 sm:h-16 rounded-lg sm:rounded-xl overflow-hidden flex-shrink-0 ring-2 sm:ring-4 transition-all shadow-md ".concat(o?"ring-blue-100 group-hover:ring-blue-200":l?"ring-white/10 group-hover:ring-violet-400/30 bg-white/10":"ring-neutral-100 group-hover:ring-violet-200 bg-neutral-100"),children:(0,a.jsx)("img",{src:s.metaImage.startsWith("http")?s.metaImage:"https://athletespeakers-assets.s3.us-west-2.amazonaws.com/categories/".concat(s.metaImage),alt:s.name,className:"w-full h-full object-cover"})}):(0,a.jsx)("div",{className:"w-10 h-10 sm:w-16 sm:h-16 rounded-lg sm:rounded-xl bg-gradient-to-br from-violet-500 to-purple-700 flex items-center justify-center flex-shrink-0 shadow-lg",children:(0,a.jsx)(N.Z,{className:"h-5 w-5 sm:h-7 sm:w-7 text-white",strokeWidth:2.5})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5 sm:gap-2",children:[(0,a.jsx)("h4",{className:"font-bold transition-colors text-sm sm:text-base line-clamp-1 ".concat(o?l?"text-blue-300 group-hover:text-blue-200":"text-blue-900 group-hover:text-blue-700":l?"text-white group-hover:text-violet-300":"text-neutral-900 group-hover:text-violet-700"),children:s.name}),o&&(0,a.jsx)("span",{className:"hidden sm:inline-flex items-center gap-1 px-1.5 py-0.5 text-[9px] font-bold uppercase tracking-wider rounded-md flex-shrink-0 ".concat(l?"text-blue-300 bg-blue-500/20 border border-blue-400/30":"text-blue-700 bg-blue-100 border border-blue-200"),children:"Featured"})]}),s.description&&(0,a.jsx)("p",{className:"text-[10px] sm:text-xs line-clamp-1 mt-0.5 sm:mt-1 font-medium ".concat(l?"text-white/40":"text-neutral-600"),children:s.description}),(null===(t=s._count)||void 0===t?void 0:t.speakers)!==void 0&&(0,a.jsxs)("span",{className:"text-[10px] sm:text-xs mt-1 sm:mt-1.5 inline-flex items-center gap-0.5 sm:gap-1 font-semibold ".concat(l?"text-white/40":"text-neutral-500"),children:[(0,a.jsx)(_.Z,{className:"h-2.5 w-2.5 sm:h-3 sm:w-3"}),s._count.speakers," speakers"]})]}),(0,a.jsx)("div",{className:"flex-shrink-0 p-1.5 sm:p-2 rounded-md sm:rounded-lg transition-colors ".concat(o?l?"bg-blue-500/20 group-hover:bg-blue-500/30":"bg-blue-100 group-hover:bg-blue-200":l?"bg-white/5 group-hover:bg-white/10":"bg-violet-50 group-hover:bg-violet-100"),children:(0,a.jsx)(U.Z,{className:"h-4 w-4 sm:h-5 sm:w-5 group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-transform ".concat(o?l?"text-blue-400":"text-blue-600":l?"text-violet-400":"text-violet-600")})})]})}function L(e){let{blog:t,onClick:s,isDark:r}=e,l=t.isFeatured,o=l?r?"bg-gradient-to-r from-blue-900/30 via-sky-900/20 to-blue-900/30 border-blue-500/30 hover:border-blue-400/60 shadow-[0_4px_30px_rgba(59,130,246,0.12)]":"bg-gradient-to-r from-blue-50/80 via-sky-50/60 to-blue-50/80 border-blue-200/80 hover:border-blue-400":r?"bg-gradient-to-br from-white/10 via-white/5 to-white/[0.02] border-white/10 hover:border-emerald-400/40 shadow-[0_4px_30px_rgba(0,0,0,0.3)]":"bg-white border-neutral-300/90 shadow-[0_2px_4px_rgba(0,0,0,0.06),0_4px_12px_rgba(0,0,0,0.08)] hover:shadow-[0_6px_24px_rgba(0,0,0,0.12)] hover:-translate-y-[1px] hover:border-emerald-400";return(0,a.jsxs)(W.default,{href:"/blog/".concat(t.slug),onClick:s,className:"group relative flex items-start gap-2.5 sm:gap-4 p-2.5 sm:p-4 rounded-lg sm:rounded-xl border hover:shadow-xl transition-all ".concat(o),children:[l&&(0,a.jsx)("div",{className:"absolute -top-2 -right-2 sm:-top-2.5 sm:-right-2.5 z-10 p-1 sm:p-1.5 bg-gradient-to-br from-blue-500 to-blue-600 rounded-full shadow-lg shadow-blue-200/50",children:(0,a.jsx)(v.Z,{className:"h-3 w-3 sm:h-3.5 sm:w-3.5 text-white",strokeWidth:2.5})}),t.coverImage?(0,a.jsx)("div",{className:"w-14 h-10 sm:w-24 sm:h-16 rounded-lg sm:rounded-xl overflow-hidden flex-shrink-0 ring-2 sm:ring-4 transition-all shadow-md ".concat(l?"ring-blue-100 group-hover:ring-blue-200":r?"ring-white/10 group-hover:ring-emerald-400/30 bg-white/10":"ring-neutral-100 group-hover:ring-emerald-200 bg-neutral-100"),children:(0,a.jsx)("img",{src:t.coverImage,alt:t.title,className:"w-full h-full object-cover"})}):(0,a.jsx)("div",{className:"w-14 h-10 sm:w-24 sm:h-16 rounded-lg sm:rounded-xl bg-gradient-to-br from-emerald-500 to-teal-700 flex items-center justify-center flex-shrink-0 shadow-lg",children:(0,a.jsx)(k.Z,{className:"h-5 w-5 sm:h-7 sm:w-7 text-white",strokeWidth:2.5})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5 sm:gap-2",children:[(0,a.jsx)("h4",{className:"font-bold transition-colors text-sm sm:text-base line-clamp-1 ".concat(l?r?"text-blue-300 group-hover:text-blue-200":"text-blue-900 group-hover:text-blue-700":r?"text-white group-hover:text-emerald-300":"text-neutral-900 group-hover:text-emerald-700"),children:t.title}),l&&(0,a.jsx)("span",{className:"hidden sm:inline-flex items-center gap-1 px-1.5 py-0.5 text-[9px] font-bold uppercase tracking-wider rounded-md flex-shrink-0 ".concat(r?"text-blue-300 bg-blue-500/20 border border-blue-400/30":"text-blue-700 bg-blue-100 border border-blue-200"),children:"Featured"})]}),t.excerpt&&(0,a.jsx)("p",{className:"text-[10px] sm:text-xs line-clamp-2 mt-1 sm:mt-1.5 leading-relaxed ".concat(r?"text-white/40":"text-neutral-600"),children:t.excerpt}),(0,a.jsxs)("div",{className:"flex items-center gap-1.5 sm:gap-2 mt-1.5 sm:mt-2",children:[t.category&&(0,a.jsx)(u.C,{className:"text-[9px] sm:text-[10px] px-1.5 sm:px-2 py-0.5 font-bold border ".concat(l?r?"bg-blue-500/20 text-blue-300 hover:bg-blue-500/20 border-blue-400/30":"bg-blue-100 text-blue-700 hover:bg-blue-100 border-blue-200":r?"bg-emerald-500/20 text-emerald-300 hover:bg-emerald-500/20 border-emerald-400/30":"bg-emerald-100 text-emerald-700 hover:bg-emerald-100 border-emerald-200"),children:t.category.name}),t.speaker&&(0,a.jsxs)("span",{className:"text-[9px] sm:text-[10px] font-semibold hidden sm:inline ".concat(r?"text-white/40":"text-neutral-500"),
1children:["by ",t.speaker.firstName," ",t.speaker.lastName]})]})]}),(0,a.jsx)("div",{className:"flex-shrink-0 p-1.5 sm:p-2 rounded-md sm:rounded-lg transition-colors ".concat(l?r?"bg-blue-500/20 group-hover:bg-blue-500/30":"bg-blue-100 group-hover:bg-blue-200":r?"bg-white/5 group-hover:bg-white/10":"bg-emerald-50 group-hover:bg-emerald-100"),children:(0,a.jsx)(U.Z,{className:"h-4 w-4 sm:h-5 sm:w-5 group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-transform ".concat(l?r?"text-blue-400":"text-blue-600":r?"text-emerald-400":"text-emerald-600")})})]})}function O(e){var t;let{list:s,onClick:r,isDark:l}=e,o=s.isFeatured,n=o?l?"bg-gradient-to-r from-blue-900/30 via-sky-900/20 to-blue-900/30 border-blue-500/30 hover:border-blue-400/60 shadow-[0_4px_30px_rgba(59,130,246,0.12)]":"bg-gradient-to-r from-blue-50/80 via-sky-50/60 to-blue-50/80 border-blue-200/80 hover:border-blue-400":l?"bg-gradient-to-br from-white/10 via-white/5 to-white/[0.02] border-white/10 hover:border-amber-400/40 shadow-[0_4px_30px_rgba(0,0,0,0.3)]":"bg-white border-neutral-300/90 shadow-[0_2px_4px_rgba(0,0,0,0.06),0_4px_12px_rgba(0,0,0,0.08)] hover:shadow-[0_6px_24px_rgba(0,0,0,0.12)] hover:-translate-y-[1px] hover:border-amber-400";return(0,a.jsxs)(W.default,{href:"/speaker-list/".concat(s.slug),onClick:r,className:"group relative flex items-center gap-2.5 sm:gap-4 p-2.5 sm:p-4 rounded-lg sm:rounded-xl border hover:shadow-xl transition-all ".concat(n),children:[o&&(0,a.jsx)("div",{className:"absolute -top-2 -right-2 sm:-top-2.5 sm:-right-2.5 z-10 p-1 sm:p-1.5 bg-gradient-to-br from-blue-500 to-blue-600 rounded-full shadow-lg shadow-blue-200/50",children:(0,a.jsx)(v.Z,{className:"h-3 w-3 sm:h-3.5 sm:w-3.5 text-white",strokeWidth:2.5})}),s.metaImage?(0,a.jsx)("div",{className:"w-10 h-10 sm:w-16 sm:h-16 rounded-lg sm:rounded-xl overflow-hidden flex-shrink-0 ring-2 sm:ring-4 transition-all shadow-md ".concat(o?"ring-blue-100 group-hover:ring-blue-200":l?"ring-white/10 group-hover:ring-amber-400/30 bg-white/10":"ring-neutral-100 group-hover:ring-amber-200 bg-neutral-100"),children:(0,a.jsx)("img",{src:s.metaImage.includes("http")?s.metaImage:"https://athletespeakers-assets.s3.us-west-2.amazonaws.com/lists/".concat(s.metaImage),alt:s.name,className:"w-full h-full object-cover"})}):(0,a.jsx)("div",{className:"w-10 h-10 sm:w-16 sm:h-16 rounded-lg sm:rounded-xl bg-gradient-to-br from-amber-500 to-orange-700 flex items-center justify-center flex-shrink-0 shadow-lg",children:(0,a.jsx)(y.Z,{className:"h-5 w-5 sm:h-7 sm:w-7 text-white",strokeWidth:2.5})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5 sm:gap-2",children:[(0,a.jsx)("h4",{className:"font-bold transition-colors text-sm sm:text-base line-clamp-1 ".concat(o?l?"text-blue-300 group-hover:text-blue-200":"text-blue-900 group-hover:text-blue-700":l?"text-white group-hover:text-amber-300":"text-neutral-900 group-hover:text-amber-700"),title:s.name,children:s.name}),o&&(0,a.jsx)("span",{className:"hidden sm:inline-flex items-center gap-1 px-1.5 py-0.5 text-[9px] font-bold uppercase tracking-wider rounded-md flex-shrink-0 ".concat(l?"text-blue-300 bg-blue-500/20 border border-blue-400/30":"text-blue-700 bg-blue-100 border border-blue-200"),children:"Featured"})]}),s.description&&(0,a.jsx)("p",{className:"text-[10px] sm:text-xs line-clamp-1 mt-0.5 sm:mt-1 font-medium ".concat(l?"text-white/40":"text-neutral-600"),children:s.description}),(null===(t=s._count)||void 0===t?void 0:t.speakers)!==void 0&&(0,a.jsxs)("span",{className:"text-[10px] sm:text-xs mt-1 sm:mt-1.5 inline-flex items-center gap-0.5 sm:gap-1 font-semibold ".concat(l?"text-white/40":"text-neutral-500"),children:[(0,a.jsx)(_.Z,{className:"h-2.5 w-2.5 sm:h-3 sm:w-3"}),s._count.speakers," speakers"]})]}),(0,a.jsx)("div",{className:"flex-shrink-0 p-1.5 sm:p-2 rounded-md sm:rounded-lg transition-colors ".concat(o?l?"bg-blue-500/20 group-hover:bg-blue-500/30":"bg-blue-100 group-hover:bg-blue-200":l?"bg-white/5 group-hover:bg-white/10":"bg-amber-50 group-hover:bg-amber-100"),children:(0,a.jsx)(U.Z,{className:"h-4 w-4 sm:h-5 sm:w-5 group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-transform ".concat(l?"text-amber-400":"text-amber-600")})})]})}function Y(e){var t;let{team:s,onClick:r,isDark:l}=e;return(0,a.jsxs)(W.default,{href:"/team/".concat(s.slug),onClick:r,className:"group relative flex items-center gap-2.5 sm:gap-4 p-2.5 sm:p-4 roun
1ded-lg sm:rounded-xl border hover:shadow-xl transition-all ".concat(l?"bg-gradient-to-br from-white/10 via-white/5 to-white/[0.02] border-white/10 hover:border-teal-400/40 shadow-[0_4px_30px_rgba(0,0,0,0.3)]":"bg-white border-neutral-300/90 shadow-[0_2px_4px_rgba(0,0,0,0.06),0_4px_12px_rgba(0,0,0,0.08)] hover:shadow-[0_6px_24px_rgba(0,0,0,0.12)] hover:-translate-y-[1px] hover:border-teal-400"),children:[s.logoUrl?(0,a.jsx)("div",{className:"w-10 h-10 sm:w-16 sm:h-16 rounded-lg sm:rounded-xl overflow-hidden flex-shrink-0 ring-2 sm:ring-4 transition-all shadow-md ".concat(l?"ring-white/10 group-hover:ring-teal-400/30 bg-white/10":"ring-neutral-100 group-hover:ring-teal-200 bg-neutral-100"),children:(0,a.jsx)("img",{src:s.logoUrl.startsWith("http")?s.logoUrl:"https://athletespeakers-assets.s3.us-west-2.amazonaws.com/teams/".concat(s.logoUrl),alt:s.name,className:"w-full h-full object-contain p-1"})}):(0,a.jsx)("div",{className:"w-10 h-10 sm:w-16 sm:h-16 rounded-lg sm:rounded-xl bg-gradient-to-br from-teal-500 to-cyan-700 flex items-center justify-center flex-shrink-0 shadow-lg",children:(0,a.jsx)(_.Z,{className:"h-5 w-5 sm:h-7 sm:w-7 text-white",strokeWidth:2.5})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("h4",{className:"font-bold transition-colors text-sm sm:text-base line-clamp-1 ".concat(l?"text-white group-hover:text-teal-300":"text-neutral-900 group-hover:text-teal-700"),children:s.name}),s.sport&&(0,a.jsx)("p",{className:"text-[10px] sm:text-xs mt-0.5 sm:mt-1 font-medium ".concat(l?"text-white/40":"text-neutral-600"),children:s.sport}),(null===(t=s._count)||void 0===t?void 0:t.speakers)!==void 0&&(0,a.jsxs)("span",{className:"text-[10px] sm:text-xs mt-1 sm:mt-1.5 inline-flex items-center gap-0.5 sm:gap-1 font-semibold ".concat(l?"text-white/40":"text-neutral-500"),children:[(0,a.jsx)(R.Z,{className:"h-2.5 w-2.5 sm:h-3 sm:w-3"}),s._count.speakers," speakers"]})]}),(0,a.jsx)("div",{className:"flex-shrink-0 p-1.5 sm:p-2 rounded-md sm:rounded-lg transition-colors ".concat(l?"bg-white/5 group-hover:bg-white/10":"bg-teal-50 group-hover:bg-teal-100"),children:(0,a.jsx)(U.Z,{className:"h-4 w-4 sm:h-5 sm:w-5 group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-transform ".concat(l?"text-teal-400":"text-teal-600")})})]})}},26110:function(e,t,s){s.d(t,{GG:function(){return c},Vq:function(){return n},cZ:function(){return d}});var a=s(57437),r=s(2265),l=s(49027),o=s(94508);let n=l.fC;l.xz;let i=l.h_,c=l.x8,m=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(l.aV,{ref:t,className:(0,o.cn)("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",s),...r})});m.displayName=l.aV.displayName;let d=r.forwardRef((e,t)=>{let{className:s,children:r,...n}=e;return(0,a.jsxs)(i,{children:[(0,a.jsx)(m,{}),(0,a.jsx)(l.VY,{ref:t,className:(0,o.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",s),...n,children:r})]})});d.displayName=l.VY.displayName,r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(l.Dx,{ref:t,className:(0,o.cn)("text-lg font-semibold leading-none tracking-tight",s),...r})}).displayName=l.Dx.displayName,r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(l.dk,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",s),...r})}).displayName=l.dk.displayName},95186:function(e,t,s){s.d(t,{I:function(){return o}});var a=s(57437),r=s(2265),l=s(94508);let o=r.forwardRef((e,t)=>{let{className:s,type:r,...o}=e;return(0,a.jsx)("input",{type:r,className:(0,l.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",s),ref:t,...o})});o.displayName="Input"}}]);

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.