1import{r as k,j as e,bA as B,R as z,u as q,bB as Y,af as G,S as K,B as Z,A as $,ba as V,bC as Q,a8 as X,c as A,V as S,M as J,e as ee,bD as te}from"./index-BZbnK03S.js";import{P as L}from"./Pagination-CWi-Ear_.js";import{T}from"./TalentFallback-pI0EOxVA.js";import{u as se,i as E,t as U,M as R}from"./use-validated-picks-CRUXuOkf.js";import{MobileAnchorSpacer as re,MobileStickyAd as ae}from"./MobileStickyAd-Bs3TTFBj.js";import"./createLucideIcon-B7vpuTt1.js";import"./sparkles-lwM7Y6-M.js";import"./shopping-bag-BbN54qV2.js";function ne(a){return a.category_slug?`/videos/${a.category_slug}/${a.subcategory_slug??a.category_slug}/${a.slug}.html`:`/videos/yhstudio/yhstudio/${a.slug}.html`}function oe(a){if(!a||a<=0)return"";const n=Math.floor(a/60),s=Math.floor(a%60);return`${n}:${String(s).padStart(2,"0")}`}function le({videos:a,talentName:n,talentSlug:s}){const[r,f]=k.useState(null),o=k.useRef(null),j=k.useRef(null);return k.useEffect(()=>{if(typeof window>"u"||window.matchMedia("(hover: hover)").matches)return;const x=j.current;if(!x)return;const i=Array.from(x.querySelectorAll("[data-up-next-card]"));let m=null,g=0;const w=new IntersectionObserver(y=>{for(const l of y){const N=l.target.getAttribute("data-up-next-card");N&&(l.isIntersecting&&l.intersectionRatio>g&&(g=l.intersectionRatio,m=N),!l.isIntersecting&&N===m&&(m=null,g=0))}g>=.7&&m&&f(m)},{root:x,threshold:[0,.35,.7,.95]});return i.forEach(y=>w.observe(y)),()=>w.disconnect()},[a]),a.length===0?null:e.jsxs("section",{className:"mt-12 border-t-4 border-foreground pt-8",children:[e.jsxs("div",{className:"flex items-baseline justify-between mb-4 gap-4 flex-wrap",children:[e.jsxs("h2",{className:"yh-headline text-2xl md:text-3xl",children:["UP NEXT WITH ",e.jsx("span",{className:"text-hotpink",children:"·"})," ",n.toUpperCase()]}),e.jsx("a",{href:`#videos-${s}`,className:"yh-eyebrow text-muted-foreground hover:text-hotpink transition",children:"All videos â"})]}),e.jsx("p",{className:"text-xs text-muted-foreground mb-4 max-w-xl",children:"Hover (desktop) or scroll to a card (mobile) for a silent preview. Tap any card to watch the full clip."}),e.jsx("div",{ref:j,className:"-mx-4 overflow-x-auto scroll-smooth md:mx-0",children:e.jsx("div",{className:"flex gap-4 px-4 pb-2 md:px-0 snap-x snap-mandatory",children:a.map(x=>{const i=r===x.id,m=ne(x),g=oe(x.duration_seconds);return e.jsxs("a",{href:m,"data-up-next-card":x.id,onMouseEnter:()=>{o.current&&clearTimeout(o.current),o.current=setTimeout(()=>f(x.id),220)},onMouseLeave:()=>{o.current&&clearTimeout(o.current),r===x.id&&f(null)},className:"group relative w-[260px] md:w-[300px] shrink-0 snap-start block border-2 border-foreground bg-foreground text-background hover:border-hotpink transition",children:[e.jsxs("div",{className:"relative aspect-video overflow-hidden bg-black",children:[i&&x.jw_media_id?e.jsx("iframe",{src:B(x.jw_media_id,{prerollTag:"",extra:{autostart:"true",mute:"true",controls:"false",repeat:"true"}}),title:`Preview: ${x.title}`,allow:"autoplay; encrypted-media; picture-in-picture",className:"absolute inset-0 h-full w-full",loading:"lazy"}):x.poster_url?e.jsx(z,{src:x.poster_url,alt:"",sizes:"300px",className:"absolute inset-0 h-full w-full object-cover transition-transform group-hover:scale-105"}):e.jsx("div",{className:"absolute inset-0 grid place-items-center text-background/30 text-xs",children:"no preview"}),!i&&e.jsx("div",{className:"absolute inset-0 grid place-items-center pointer-events-none",children:e.jsx("div",{className:"grid place-items-center rounded-full bg-hotpink/90 group-hover:bg-hotpink transition",style:{width:"20%",aspectRatio:"1/1"},children:e.jsx("svg",{viewBox:"0 0 24 24",className:"w-1/2 h-1/2",fill:"white","aria-hidden":!0,children:e.jsx("polygon",{points:"7,5 20,12 7,19"})})})}),g&&e.jsx("span",{className:"absolute bottom-2 right-2 bg-foreground
1/85 text-background px-1.5 py-0.5 text-[11px] font-mono",children:g}),i&&e.jsx("span",{className:"absolute top-2 left-2 bg-hotpink text-hotpink-foreground px-1.5 py-0.5 yh-eyebrow text-[10px]",children:"PREVIEW"})]}),e.jsxs("div",{className:"p-3",children:[e.jsx("div",{className:"yh-eyebrow text-[10px] text-background/60 mb-1",children:"WATCH NOW"}),e.jsx("h3",{className:"text-sm md:text-base font-bold leading-snug line-clamp-2 group-hover:text-hotpink transition",children:x.title})]})]},x.id)})})})]})}function P({picks:a,talentName:n,talentRole:s,variant:r,className:f}){const o=se(a??[]);if(!o||o.length===0)return null;const j="talent-affiliate";if(r==="sidebar")return e.jsxs("section",{className:`border-2 border-foreground bg-background ${f??""}`,"aria-label":`Shop ${n} affiliate picks`,children:[e.jsxs("div",{className:"bg-hotpink text-hotpink-foreground px-4 py-2",children:[e.jsx("div",{className:"yh-eyebrow text-[10px]",children:"SHOP THE PROFILE"}),e.jsxs("h2",{className:"yh-headline text-lg leading-tight",children:["Shop ",n]})]}
1),e.jsx("ul",{className:"divide-y divide-foreground/15",children:o.map(i=>{const m=E(i.id,i.merchant),g=U({url:i.url,merchant:i.merchant,pickId:i.id,subject:n});return e.jsx("li",{children:e.jsxs("a",{href:g,target:"_blank",rel:"sponsored noopener nofollow","data-affinity":j,"data-merchant":i.merchant.toLowerCase(),"data-pick":i.id,className:"flex items-center gap-3 px-4 py-3 hover:bg-foreground hover:text-background transition group",children:[e.jsx(R,{merchant:i.merchant,Icon:m,size:"sm"}),e.jsxs("span",{className:"min-w-0 flex-1",children:[e.jsx("span",{className:"yh-eyebrow text-[10px] text-muted-foreground group-hover:text-background/70 block",children:i.merchant}),e.jsx("span",{className:"font-bold text-sm block leading-tight group-hover:underline",children:i.label}),e.jsx("span",{className:"text-xs text-muted-foreground group-hover:text-background/70 block leading-tight truncate",children:i.sub}),i.why?e.jsxs("span",{className:"mt-1 text-[9px] uppercase tracking-wider font-bold text-hotpink group-hover:text-background/80 block",children:["Why · ",e.jsx("span",{className:"normal-case tracking-normal font-semibold",children:i.why})]}):null]}),e.jsx("span",{"aria-hidden":!0,className:"text-hotpink group-hover:text-background shrink-0",children:"â"})]})},i.id)})}),e.jsx("p",{className:"px-4 py-2 text-[10px] text-muted-foreground border-t border-foreground
1/15",children:"These open search results at the retailer, not an official store. Some links earn us a commission."})]});const x=[{card:"bg-hotpink text-hotpink-foreground border-hotpink hover:bg-cobalt hover:text-cobalt-foreground hover:border-cobalt",eyebrow:"text-hotpink-foreground/70 group-hover:text-cobalt-foreground/80",sub:"text-hotpink-foreground/85 group-hover:text-cobalt-foreground/85"},{card:"bg-cobalt text-cobalt-foreground border-cobalt hover:bg-neon hover:text-neon-foreground hover:border-neon",eyebrow:"text-cobalt-foreground/70 group-hover:text-neon-foreground/70",sub:"text-cobalt-foreground/85 group-hover:text-neon-foreground/85"},{card:"bg-neon text-neon-foreground border-foreground hover:bg-hotpink hover:text-hotpink-foreground hover:border-hotpink",eyebrow:"text-neon-foreground/70 group-hover:text-hotpink-foreground/80",sub:"text-neon-foreground/80 group-hover:text-hotpink-foreground/85"},{card:"bg-background text-foreground border-foreground hover:bg-cobalt hover:text-cobalt-foreground hover:border-cobalt",eyebrow:"text-hotpink group-hover:text-cobalt-foreground
1/80",sub:"text-foreground/70 group-hover:text-cobalt-foreground/85"}];return e.jsxs("section",{className:`mt-12 border-t-4 border-foreground pt-8 ${f??""}`,"aria-label":`Shop ${n} affiliate picks`,children:[e.jsxs("div",{className:"mb-4",children:[e.jsxs("h2",{className:"yh-headline text-2xl md:text-3xl",children:["SHOP ",n.toUpperCase()," ",e.jsx("span",{className:"text-hotpink",children:"·"})," PICKS"]}),e.jsx("p",{className:"mt-1 text-[11px] text-muted-foreground",children:"These open search results at the retailer, not an official store. Some links earn us a commission."})]}),e.jsx("div",{className:"-mx-4 overflow-x-auto md:mx-0 md:overflow-visible",children:e.jsx("div",{className:"flex gap-4 px-4 pb-2 md:px-0 snap-x snap-mandatory md:grid md:grid-cols-2 lg:grid-cols-4 md:gap-5",children:o.map((i,m)=>{const g=x[m%x.length],w=E(i.id,i.merchant),y=U({url:i.url,merchant:i.merchant,pickId:i.id,subject:n});return e.jsxs("a",{href:y,target:"_blank",rel:"sponsored noopener nofollow","data-affinity":j,"data-merchant":i.merchant.toLowerCase(),"data-pick":i.id,className:`group relative flex flex-col w-[260px] md:w-auto shrink-0 snap-start border-2 p-4 transition-colors ${g.card}`,children:[e.jsxs("div",{className:"flex items-start justify-between gap-3 mb-3",children:[e.jsx("div",{className:`yh-eyebrow text-[10px] ${g.eyebrow}`,children:i.merchant}),e.jsx(R,{merchant:i.merchant,Icon:w})]}),e.jsx("div",{className:"font-bold text-base leading-tight mb-1 group-hover:underline",children:i.label}),e.jsx("div",{className:`text-sm leading-snug ${g.sub}`,children:i.sub}),i.why?e.jsxs("div",{className:`mt-2 text-[10px] uppercase tracking-wider font-bold ${g.eyebrow}`,children:["Why this match · ",e.jsx("span",{className:"normal-case tracking-normal font-semibold",children:i.why})]}):null,e.jsxs("div",{className:"mt-auto pt-3 yh-eyebrow text-[10px] flex items-center gap-1",children:["Shop at ",i.merchant," ",e.jsx("span",{"aria-hidden":!0,children:"â"})]})]},i.id)})})})]})}function ie(a){const n=(a||"").toLowerCase();return["actor","actress"].includes(n)?"actor":["musician","singer","rapper","band","dj","artist"].includes(n)?"musician":["influencer","creator","youtuber","tiktoker"].includes(n)?"influencer":["athlete","sports","player"].includes(n)?"athlete":["director","producer","filmmaker"].includes(n)?"filmmaker":"default"}const _=a=>encodeURIComponent(a.trim()),v=a=>`https://www.amazon.com/s?k=${_(a)}`,M=a=>`https://www.target.com/s?searchTerm=${_(a)}`,H=a=>`https://www.stubhub.com/secure/search?q=${_(a)}`,de=a=>`https://www.fanatics.com/search?query=${_(a)}`,ce=new Set(["coachella","lollapalooza","glastonbury","bonnaroo","stagecoach","rolling","loud","governors","ball","outside","lands","acl","edc","ultra","tomorrowland","wireless","primavera","festival","fest","tour","concert","show","shows","gig","premiere","premieres","release","released","releases","releasing","drops","drop","dropped","dropping","launch","launches","debut","debuts","announces","announced","announce","reveals","revealed","trailer","teaser","preview","first","look","summer","winter","spring","fall","autumn","season","seasons","halloween","christmas","valentine","thanksgiving","easter","grammys","oscars","emmys","vmas","tonys","globes","baftas","billboards","spirit","screen","guild","awards","award","watch","shop","shopping","talks","talking","speaks","interview","exclusive","behind","scenes","video","wait","must","best","trending","viral","latest","newest","upcoming","coming"]);function me(a){return!!/\d/.test(a)}function he(a){const{name:n}=a,s=ie(a.role),r=[...a.topVideoTitles??[],...a.topArticleTitles??[]],f=new Set(n.toLowerCase().split(/\s+/)),o=r.flatMap(m=>m.replace(/[^\w\s]/g," ").split(/\s+/)).filter(m=>{const g=m.toLowerCase();return!(m.length<4||f.has(g)||ce.has(g)||me(m))}).sort((m,g)=>g.length-m.length)[0],j=/s$/i.test(n)?`${n}'`:`${n}'s`,x=!!o,i=o?`linked to ${o}`:`linked to ${n}`;switch(s){case"musician":return[{id:"vinyl",merchant:"Amazon",label:"Vinyl & CDs",sub:`Search Amazon for ${j} albums and singles on vinyl, CD and digital.`,url:v(`${n} vinyl`),why:"Musician · Amazon search"},{id:"merch",merchant:"Amazon",label:"Merch search",sub:`Search Amazon for ${n} tees, hoodies, hats and fan apparel.`,url:v(`${n} merch`),why:"Musician · Amazon search"},{id:"tickets",merchant:"StubHub",label:"Tour tickets",sub:`Search StubHub for upcoming ${n} concert dates and resale tickets.`,url:H(`${n} tour`),why:"Musician · StubHub search"}];case"actor":{const m=[{id:"movies",merchant:"Amazon",label:o?`Watch ${o}`:`Watch ${n}`,sub:o?`Search Amazon for ${o} and other titles featuring ${n}.`:`Search Amazon for ${j} films and series on Blu-ray, DVD and digital.`,url:v(`${n} ${o||"movie"}`),why:`Actor · Amazon search · ${i}`}];return x&&m.push({id:"merch",merchant:"Target",label:`${o} posters`,sub:`Search Target for ${o} posters and prints.`,url:M(`${o} ${n} poster`),why:`Actor · Target search · ${o}`}),m}case"influencer":return[{id:"amazon-storefront",merchant:"Amazon",label:"Shop the look",sub:`Search Amazon for clothing and accessories linked to ${n}.`,url:v(`${n} ${o||"favorites"}`),why:"Creator · Amazon search"}];case"athlete":return[{id:"jersey",merchant:"Fanatics",label:"Jerseys & gear",sub:`Search Fanatics for ${n} jerseys, tees and team apparel.`,url:de(`${n}`),why:"Athlete · Fanatics search"},{id:"tickets",merchant:"StubHub",label:"Game tickets",sub:"Search StubHub for upcoming games and resale seats.",url:H(`${n}`),why:"Athlete · StubHub search"},{id:"merch",merchant:"Amazon",label:"Collectibles",sub:`Search Amazon for ${n} trading cards and memorabilia.`,url:v(`${n} memorabilia`),why:"Athlete · Amazon search"}];case"filmmaker":{const m=[{id:"films",merchant:"Amazon",label:o?`Watch ${o}`:`Films by ${n}`,sub:o?`Search Amazon for ${o} and other titles by ${n}.`:`Search Amazon for films by ${n} on Blu-ray, DVD and digital.`,url:v(`${n} ${o||"film"}`),why:`Filmmaker · Amazon search · ${i}`}];return x&&(m.push({id:"soundtrack",merchant:"Amazon",label:`${o} soundtrack`,sub:`Search Amazon for the ${o} score and soundtrack album.`,url:v(`${o} soundtrack`),why:`Filmmaker · Amazon search · ${o}`}),m.push({id:"merch",merchant:"Target",label:`${o} posters`,sub:`Search Target for ${o} film posters and art prints.`,url:M(`${o} poster`),why:`Filmmaker · Target search · ${o}`})),m}default:return[{id:"amazon",merchant:"Amazon",label:`Search Amazon for ${n}`,sub:`Amazon search results for ${n}. Not an official store.`,url:v(`${n}`),why:"Amazon search"}]}}const xe=te("/talent/$slug/"),ue={instagram:"Instagram",tiktok:"TikTok",x:"X",youtube:"YouTube",facebook:"Facebook"};function pe(){const{slug:a,page:n}=xe.useLoaderData(),{data:s}=q(Y(a,n)),r=s.talent,f=G(r.social_handles),o=r.role_type?r.role_type.charAt(0).toUpperCase()+r.role_type.slice(1):null,j=[{name:"Home",href:"/"},{name:"Talent",href:"/talent"},{name:r.name}];f.map(t=>t.url);const x=he({name:r.name,role:r.role_type,topVideoTitles:(s.topVideos||[]).slice(0,3).map(t=>t.title),topArticleTitles:(s.topArticles||[]).slice(0,3).map(t=>t.title)}),i=r.bio_long??null,m=i?i.split(/\n\n+/).map(t=>
1t.trim()).filter(Boolean):[],w=(Array.isArray(r.faqs)?r.faqs:[]).filter(t=>t&&typeof t.q=="string"&&typeof t.a=="string"&&t.q.trim()&&t.a.trim()),y=t=>t.relation==="with",l=s.featured,N=!!(l&&"video_url"in l),C=N&&l.relation==="with",D=N?C?"WATCH NOW":"RELATED MENTIONS":"TOP STORY",O=N&&!C?`Mentions ${r.name} â not a ${r.name}-led interview.`:null;return e.jsxs(e.Fragment,{children:[e.jsx(K,{}),e.jsxs("main",{className:"overflow-x-clip",children:[e.jsx("section",{className:"border-b border-foreground/10 bg-background",children:e.jsx("div",{className:"mx-auto max-w-[1400px] px-4 md:px-6 py-3",children:e.jsx(Z,{items:j})})}),e.jsx("div",{className:"mx-auto max-w-[1400px] px-4 md:px-6",children:e.jsx($,{id:"talent_top",adId:"1335433e-3f83-4df3-84e9-6fa65a941ecf",size:"billboard",priority:!0,extraTargeting:{talent:a,talent_role:r.role_type??""}})}),e.jsx("section",{className:"bg-foreground text-background relative overflow-hidden",children:e.jsxs("div",{className:"mx-auto max-w-[1400px] grid gap-10 px-4 md:px-6 py-12 md:py-16 md:grid-cols-[minmax(0,520px)_minmax(0,1fr)]",children:[e.jsx("div",{className:"yh-portrait-spotlight",children:e.jsx("div",{className:"portrait-frame aspect-[4/5]",children:(()=>{const t=V(r);return t?e.jsx(z,{src:t,alt:`Portrait of ${r.name}`,priority:!0,sizes:"(min-width: 768px) 520px, 100vw",widths:[360,480,640,800],quality:78,className:"h-full w-full object-cover object-top",fallback:e.jsx(T,{size:"lg",tone:"pink"})}):e.jsx(T,{size:"lg",tone:"pink"})})()})}),e.jsxs("div",{className:"self-center",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-3 mb-4",children:[o&&e.jsx("span",{className:"yh-eyebrow bg-hotpink text-hotpink-foreground px-2 py-1",children:o}),(s.totalVideos+s.totalArticles>=8||!!l)&&e.jsxs("span",{className:"yh-why-now",children:[e.jsx("span",{className:"dot"})," Stars we love"]})]}),e.jsx("h1",{className:"yh-headline text-5xl md:text-7xl lg:text-8xl leading-[0.88]",children:r.name}),(()=>{const t=(r.aliases??[]).map(d=>d.match(/["\u201c]([^"\u201d]+)["\u201d]/)?.[1]).find(Boolean);return t?e.jsxs("p",{className:"mt-3 yh-eyebrow text-background/70",children:["a.k.a. â",t,"â"]}):null})(),r.bio&&e.jsx("p",{className:"yh-speakable mt-6 text-lg md:text-xl text-background/80 max-w-2xl font-serif leading-relaxed",children:r.bio}),(()=>{const t=s.articles?.[0]??null,d=s.videos?.[0]??null,c=t||d;if(!c?.title||!c?.published_at)return null;const h=new Date(c.published_at);if(Number.isNaN(h.getTime()))return null;const p=t?`/scene/${t.slug}.html`:d.category_slug?`/videos/${d.category_slug}/${d.subcategory_slug??d.category_slug}/${d.slug}.html`:`/videos/yhstudio/yhstudio/${d.slug}.html`;return e.jsxs("p",{className:"yh-speakable mt-5 max-w-2xl text-base md:text-lg text-background/90",children:[e.jsx("span",{className:"yh-eyebrow text-hotpink",children:"Latest"})," ",e.jsx("a",{href:p,className:"underline decoration-background/40 underline-offset-4 hover:decoration-background",children:c.title})," ",e.jsxs("time",{dateTime:c.published_at,className:"text-background/60",children:["· ",h.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric",timeZone:"UTC"})]})]})})(),f.length>0&&e.jsx("div",{className:"mt-6 flex gap-3 flex-wrap",children:f.map(t=>e.jsx("a",{href:t.url,className:"yh-eyebrow border border-background/40 px-3 py-1 hover:bg-background hover:text-foreground",target:"_blank",rel:"noopener nofollow",children:ue[t.network]??t.network},t.network))}),s.totalVideos>0&&e.jsxs("a",{href:`#videos-${a}`,className:"mt-6 inline-flex items-center gap-2 bg-hotpink text-hotpink-foreground px-5 py-3 text-sm yh-eyebrow hover:bg-hotpink/90 transition",children:["Watch ",r.name,"âs Videos",e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M5 12h14"}),e.jsx("path",{d:"m12 5 7 7-7 7"})]})]}),s.hasFilmography&&e.jsxs("a",{href:`/talent/${a}/movies-and-tv-shows`,className:"mt-6 ml-0 sm:ml-3 inline-flex items-center gap-2 border border-background/40 text-background px-5 py-3 text-sm yh-eyebrow hover:bg-background hover:text-foreground transition",children:["Movies & TV Shows",e.
1jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M5 12h14"}),e.jsx("path",{d:"m12 5 7 7-7 7"})]})]}),(s.facets??[]).map(t=>e.jsxs("a",{href:`/talent/${a}/${t.slug}`,className:"mt-6 ml-0 sm:ml-3 inline-flex items-center gap-2 border border-background/40 text-background px-5 py-3 text-sm yh-eyebrow hover:bg-background hover:text-foreground transition",children:[t.label,e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M5 12h14"}),e.jsx("path",{d:"m12 5 7 7-7 7"})]})]},t.slug))]})]})}),e.jsx("section",{className:"bg-cobalt-dark text-white border-b-2 border-foreground",children:e.jsxs("div",{className:"mx-auto max-w-[1400px] px-4 md:px-6 py-6 space-y-5",children:[(()=>{const t=r.birth_date,d=t?new Date(`${t}T00:00:00Z`):null,c=d&&!Number.isNaN(d.getTime())?d:null;let h=null;if(c){const u=new Date;h=u.getUTCFullYear()-c.getUTCFullYear();const b=u.getUTCMonth()-c.getUTCMonth();(b<0||b===0&&u.getUTCDate()<c.getUTCDate())&&(h-=1)}const p=[];return h!==null&&h>=0&&h<120&&p.push({label:"Age",value:String(h)}),c&&p.push({label:"Born",value:c.toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric",timeZone:"UTC"}),dt:t}),r.birth_place&&p.push({label:"Birthplace",value:String(r.birth_place)}),r.known_for&&p.push({label:"Known for",value:String(r.known_for)}),o&&p.push({label:"Role",value:o}),p.length===0?null:e.jsx("dl",{className:"grid grid-cols-2 md:grid-cols-4 gap-x-6 gap-y-4",children:p.map(u=>e.jsxs("div",{children:[e.jsx("dt",{className:"yh-eyebrow text-white/60",children:u.label}),e.jsx("dd",{className:"mt-1 text-base md:text-lg font-semibold leading-snug",children:u.dt?e.jsx("time",{dateTime:u.dt,children:u.value}):u.value})]},u.label))})})(),e.jsxs("div",{className:"grid grid-cols-2 gap-4 md:gap-6",children:[e.jsxs("div",{className:"yh-talent-stat",children:[e.jsx("div",{className:"n",children:s.totalArticles}),e.jsx("div",{className:"l",children:"Articles"})]}),e.jsxs("div",{className:"yh-talent-stat",children:[e.jsx("div",{className:"n",children:s.totalVideos}),e.jsx("div",{className:"l",children:"Videos"})]})]}),(()=>{const t=s.articles?.[0]?.published_at||s.videos?.[0]?.published_at||r.updated_at||null;if(!t)return null;const d=new Date(t);return Number.isNaN(d.getTime())?null:e.jsxs("p",{className:"yh-eyebrow text-white/60",children:["Coverage updated"," ",e.jsx("time",{dateTime:t,children:d.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric",timeZone:"UTC"})})]})})()]})}
1),n===1&&e.jsx("section",{className:"border-b border-foreground/10 bg-background",children:e.jsxs("div",{className:"mx-auto max-w-[1400px] px-4 md:px-6 py-6 space-y-4",children:[r.ai_intro&&e.jsx("p",{className:"font-serif text-base md:text-lg leading-relaxed text-foreground/90 max-w-4xl",children:r.ai_intro}),e.jsxs("p",{className:"font-serif text-base md:text-lg leading-relaxed text-foreground/90 max-w-4xl",children:["The latest on ",e.jsx("strong",{children:r.name})," â"," ",e.jsx("a",{href:`#articles-${a}`,className:"underline decoration-hotpink decoration-2 underline-offset-4 hover:text-hotpink",children:"movies, TV shows, and news"})," ","â plus"," ",e.jsx("a",{href:`#videos-${a}`,className:"underline decoration-hotpink decoration-2 underline-offset-4 hover:text-hotpink",children:"exclusive interviews and behind-the-scenes videos"})," ","from the Young Hollywood archive.",s.totalVideos>0&&` ${s.totalVideos} video${s.totalVideos===1?"":"s"}`,s.totalVideos>0&&s.totalArticles>0&&" and ",s.totalArticles>0&&`${s.totalArticles} article${s.totalArticles===1?"":"s"}`,(s.totalVideos>0||s.totalArticles>0)&&` featuring ${r.name}.`]})]})}),n===1&&m.length>
10&&e.jsx("section",{className:"border-b border-foreground/10 bg-background",children:e.jsxs("div",{className:"mx-auto max-w-[1400px] px-4 md:px-6 py-10 grid gap-10 lg:grid-cols-[minmax(0,1fr)_280px]",children:[e.jsxs("div",{children:[e.jsxs("h2",{className:"yh-headline text-2xl md:text-3xl mb-5",children:["ABOUT ",r.name.toUpperCase()]}),e.jsx("div",{className:"font-serif text-base md:text-lg leading-relaxed text-foreground/90 max-w-3xl space-y-5",children:m.map((t,d)=>e.jsx("p",{children:t},d))})]}),e.jsx("aside",{className:"hidden lg:block",children:e.jsxs("div",{className:"border-2 border-foreground p-5 bg-secondary/30",children:[e.jsx("div",{className:"yh-eyebrow text-[10px] text-muted-foreground mb-3",children:"AT A GLANCE"}),e.jsxs("dl",{className:"space-y-3 text-sm",children:[o&&e.jsxs("div",{children:[e.jsx("dt",{className:"yh-eyebrow text-[10px] text-muted-foreground",children:"Known for"}),e.jsx("dd",{className:"font-serif",children:o})]}),e.jsxs("div",{children:[e.jsx("dt",{className:"yh-eyebrow text-[10px] text-muted-foreground",children:"YH coverage"}),e.jsxs("dd",{className:"font-serif",children:[s.totalVideos," videos · ",s.totalArticles," articles"]})]})]})]})})]})}),e.jsxs("div",{className:"mx-auto grid max-w-[1400px] gap-10 px-4 md:px-6 py-10 grid-cols-[minmax(0,1fr)] lg:grid-cols-[minmax(0,1fr)_320px]",children:[e.jsxs("div",{className:"min-w-0",children:[l&&n===1&&e.jsxs("section",{className:"mb-12",children:[e.jsxs("div",{className:"flex items-baseline justify-between mb-4",children:[e.jsx("h2",{className:"yh-headline text-2xl md:text-3xl",children:D}),e.jsx("span",{className:"yh-eyebrow text-muted-foreground",children:O??"Pinned"})]}),"video_url"in l?e.jsxs("div",{className:"border-4 border-foreground",children:[e.jsx(Q,{src:l.video_url,jwMediaId:l.jw_media_id??null,poster:l.poster_url,title:l.title,adTagUrl:l.ad_tag_url,adContext:{pageUrl:`${X}/talent/${a}`,videoId:l.id,category:l.category_slug,subcategory:l.subcategory_slug??l.category_slug,talent:[a],contentType:r.role_type?`talent_featured:${r.role_type}`:"talent_featured"}}),e.jsxs("div",{className:"bg-foreground text-background p-4 md:p-5",children:[e.jsx("h3",{className:"yh-headline text-xl md:text-2xl leading-tight",children:e.jsx("a",{href:`/videos/${l.category_slug}/${l.subcategory_slug??l.category_slug}/${l.slug}.html`,className:"hover:text-hotpink transition",children:l.title})}),l.description&&e.jsx("p",{className:"mt-2 font-serif text-background/70 text-sm md:text-base line-clamp-2",children:l.description})]})]}):l.hero_image_url?e.jsx("div",{className:"border-4 border-foreground p-1 bg-foreground",children:e.jsx(A,{article:l,size:"lg"})}):e.jsxs("a",{href:`/scene/${l.slug}.html`,className:"block border-4 border-foreground bg-foreground text-background p-5 md:p-7 group",children:[e.jsx("h3",{className:"yh-headline text-2xl md:text-4xl leading-tight group-hover:text-hotpink transition",children:l.title}),l.excerpt&&e.jsx("p",{className:"mt-3 font-serif text-background/75 text-sm md:text-base line-clamp-3",children:l.excerpt})]})]}),e.jsx($,{id:"talent_mid",adId:"0d420570-4439-42a0-80af-6e1904f4e0f8",size:"rect",extraTargeting:{talent:a,talent_role:r.role_type??""}}),n===1&&(()=>{const t=l&&"video_url"in l?l.id:null,d=new Set;t&&d.add(t);const h=[...s.topVideos,...s.videos].filter(p=>!!p.jw_media_id||!!p.poster_url).filter(p=>d.has(p.id)?!1:(d.add(p.id),!0)).slice(0,10);return h.length<3?null:e.jsx(le,{videos:h,talentName:r.name,talentSlug:a})})(),s.videos.length>0&&(()=>{const t=n===1&&l&&"video_url"in l?l.id:null,d=(()=>
1{if(!t)return s.videos;const b=s.videos.findIndex(W=>W.id===t);if(b===-1)return[l,...s.videos];if(b===0)return s.videos;const I=[...s.videos],[F]=I.splice(b,1);return[F,...I]})(),c=n===1?6:d.length,h=n===1&&s.totalVideos>c,p=d.filter(y).slice(0,c),u=d.filter(b=>!y(b)).slice(0,Math.max(0,c-p.length));return e.jsxs("div",{id:`videos-${a}`,className:"scroll-mt-24",children:[p.length>0&&e.jsxs("section",{className:"mt-12 border-t-4 border-foreground pt-8",children:[e.jsxs("div",{className:"flex items-baseline justify-between mb-4",children:[e.jsxs("h2",{className:"yh-headline text-2xl md:text-3xl",children:[r.name.toUpperCase()," ON CAMERA"]}),e.jsxs("span",{className:"yh-eyebrow text-muted-foreground",children:[p.length," on this page"]})]}),e.jsxs("p",{className:"yh-eyebrow -mt-2 mb-4 text-muted-foreground normal-case tracking-normal",children:["Interviews and appearances ",r.name," is actually in."]}),e.jsx("div",{className:"grid grid-cols-2 gap-4 md:grid-cols-3 md:gap-6",children:p.map(b=>e.jsx(S,{video:b,size:"sm",pinned:b.id===t},b.id))})]}),u.length>0&&e.jsxs("section",{className:"mt-12 border-t-4 border-foreground pt-8",children:[e.jsxs("div",{className:"flex items-baseline justify-between mb-4",children:[e.jsxs("h2",{className:"yh-headline text-2xl md:text-3xl",children:["OTHERS ON ",r.name.toUpperCase()]}),e.jsxs("span",{className:"yh-eyebrow text-muted-foreground",children:[u.length," on this page"]})]}),e.jsxs("p",{className:"yh-eyebrow -mt-2 mb-4 text-muted-foreground normal-case tracking-normal",children:["Clips where someone else brings ",r.name," up."]}),e.jsx("div",{className:"grid grid-cols-2 gap-4 md:grid-cols-3 md:gap-6",children:u.map(b=>e.jsx(S,{video:b,size:"sm",pinned:b.id===t},b.id))})]}),h?e.jsx("div",{className:"mt-6 flex justify-end",children:e.jsxs("a",{href:`/talent/${a}?page=2#videos-${a}`,className:"yh-eyebrow border-2 border-foreground px-4 py-2 hover:bg-foreground hover:text-background transition",children:["View all ",s.totalVideos," videos â"]})}):e.jsx(L,{page:s.page,pageSize:s.pageSize,total:s.totalVideos,hrefFor:b=>`/talent/${a}?page=${b}`})]})})(),s.videos.length>0&&e.jsx("div",{className:"mt-12",children:e.jsx($,{id:"talent_after_videos",adId:"0d420570-4439-42a0-80af-6e1904f4e0f8",size:"rect",lazyLeadPx:400,extraTargeting:{talent:a,talent_role:r.role_type??""}})}),n===1&&s.topVideos.length>0&&(()=>{const t=l&&"video_url"in l?l.id:null,d=new Set(s.videos.map(h=>h.id));t&&d.add(t);const c=s.topVideos.filter(h=>!d.has(h.id)).slice(0,8);return c.length<3?null:e.jsxs("section",{className:"mt-12 border-t-4 border-foreground pt-8",children:[e.jsxs("div",{className:"flex items-baseline justify-between mb-4 gap-4 flex-wrap",children:[e.jsxs("h2",{className:"yh-headline text-2xl md:text-3xl",children:["WATCH NEXT ",e.jsx("span",{className:"text-hotpink",children:"·"})," ",r.name.toUpperCase()]}),e.jsx("a",{href:`#videos-${a}`,className:"yh-eyebrow text-muted-foreground hover:text-hotpink transition",children:"All videos â"})]}),e.jsx("div",{className:"-mx-4 overflow-x-auto scroll-smooth md:mx-0",children:e.jsx("div",{className:"flex gap-4 px-4 pb-2 md:px-0 snap-x snap-mandatory",children:c.map(h=>e.jsx("div",{className:"w-[260px] shrink-0 snap-start md:w-[300px]",children:e.jsx(S,{video:h,size:"sm"})},h.id))})})]})})(),e.jsx(P,{picks:x,talentName:r.name,talentRole:r.role_type??"",variant:"inline"}),s.articles.length>0&&(()=>{const t=n===1?6:s.articles.length,d=n===1&&s.totalArticles>t,c=s.articles.slice(0,t),h=c.filter(u=>u.relation!=="about"),p=c.filter(u=>u.relation==="about");return e.jsxs("section",{id:`articles-${a}`,className:"mt-12 border-t-4 border-foreground pt-8 scroll-mt-24",children:[h.length>0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex items-baseline justify-between mb-4",children:[e.jsxs("h2",{className:"yh-headline text-2xl md:text-3xl",children:["ALL ABOUT ",r.name.toUpperCase()]}),e.jsxs("span",{className:"yh-eyebrow text-muted-foreground",children:[s.totalArticles," total"]})]}),e.jsxs("p",{className:"yh-eyebrow -mt-2 mb-4 text-muted-foreground normal-case tracking-normal",children:["Stories written about ",r.n
1ame,"."]}),e.jsx("div",{className:"grid gap-6 sm:grid-cols-2 lg:grid-cols-3",children:h.map(u=>e.jsx(A,{article:u,size:"sm"},u.id))})]}):null,p.length>0&&e.jsxs("div",{className:h.length>0?"mt-12 border-t-4 border-foreground pt-8":"",children:[e.jsxs("div",{className:"flex items-baseline justify-between mb-4",children:[e.jsxs("h2",{className:"yh-headline text-2xl md:text-3xl",children:["OTHERS ON ",r.name.toUpperCase()]}),e.jsx("span",{className:"yh-eyebrow text-muted-foreground",children:h.length>0?`${p.length} on this page`:`${s.totalArticles} total`})]}),e.jsxs("p",{className:"yh-eyebrow -mt-2 mb-4 text-muted-foreground normal-case tracking-normal",children:["Stories where ",r.name," comes up in passing."]}),e.jsx("div",{className:"grid gap-6 sm:grid-cols-2 lg:grid-cols-3",children:p.map(u=>e.jsx(A,{article:u,size:"sm"},u.id))})]}),d?e.jsx("div",{className:"mt-6 flex justify-end",children:e.jsxs("a",{href:`/talent/${a}?page=2#articles-${a}`,className:"yh-eyebrow border-2 border-foreground px-4 py-2 hover:bg-foreground hover:text-background transition",children:["View all ",s.totalArticles," stories â"]})}):e.jsx(L,{page:s.page,pageSize:s.pageSize,total:s.totalArticles,hrefFor:u=>`/talent/${a}?page=${u}#articles-${a}`})]})})(),s.articles.length>0&&e.jsx("div",{className:"mt-12",children:e.jsx($,{id:"talent_after_articles",adId:"0d420570-4439-42a0-80af-6e1904f4e0f8",size:"rect",lazyLeadPx:400,extraTargeting:{talent:a,talent_role:r.role_type??""}})}),n===1&&s.topArticles.length>0&&(()=>{const t=new Set(s.articles.map(c=>c.id)),d=s.topArticles.filter(c=>!t.has(c.id)).slice(0,8);return d.length<3?null:e.jsxs("section",{className:"mt-12 border-t-4 border-foreground pt-8",children:[e.jsxs("div",{className:"flex items-baseline justify-between mb-4 gap-4 flex-wrap",children:[e.jsxs("h2",{className:"yh-headline text-2xl md:text-3xl",children:["RELATED NEWS ",e.jsx("span",{className:"text-hotpink",children:"·"})," ",r.name.toUpperCase()]}),e.jsx("a",{href:`#articles-${a}`,className:"yh-eyebrow text-muted-foreground hover:text-hotpink transition",children:"All stories â"})]}),e.jsx("div",{className:"-mx-4 overflow-x-auto scroll-smooth md:mx-0",children:e.jsx("div",{className:"flex gap-4 px-4 pb-2 md:px-0 snap-x snap-mandatory",children:d.map(c=>e.jsx("div",{className:"w-[260px] shrink-0 snap-start md:w-[300px]",children:e.jsx(A,{article:c,size:"sm"})},c.id))})})]})})(),s.relatedTalent.length>0&&e.jsxs("section",{className:"mt-16 border-t-4 border-foreground pt-8",children:[e.jsxs("div",{className:"flex items-baseline justify-between mb-6 gap-4 flex-wrap",children:[e.jsxs("h2",{className:"yh-headline text-2xl md:text-3xl",children:["YOU MIGHT ALSO LIKE ",e.jsx("span",{className:"text-hotpink",children:"·"})," RELATED TALENT"]}),e.jsx("a",{href:"/talent",className:"yh-eyebrow text-muted-foreground hover:text-hotpink transition",children:"Browse all talent â"})]}),e.jsx("div",{className:"-mx-4 overflow-x-auto md:mx-0 md:overflow-visible",children:e.jsx("div",{className:"flex gap-4 px-4 pb-2 md:px-0 md:grid md:grid-cols-6 md:gap-5 snap-x snap-mandatory",children:s.relatedTalent.slice(0,8).map(t=>{const d=V(t);return e.jsxs("a",{href:`/talent/${t.slug}`,className:"yh-related-talent-card w-[160px] shrink-0 snap-start md:w-auto",children:[e.jsx("div",{className:"frame",children:d?e.jsx(z,{src:d,alt:`Portrait of ${t.name}`,loading:"lazy",className:"h-full w-full object-cover object-top",fallback:e.jsx(T,{size:"md"})}):e.jsx(T,{size:"md"})}),e.jsx("span",{className:"name",children:t.name})]},t.id)})})})]})]}),e.jsx("aside",{className:"hidden lg:block",children:e.jsxs("div",{className:"sticky top-24 space-y-8",children:[e.jsx(P,{picks:x,talentName:r.name,talentRole:r.role_type??"",variant:"sidebar"}),(s.topArticles.length>0||s.topVideos.length>0||s.coStars.length>0)&&e.jsxs("section",{className:"border-2 border-foreground bg-background",children:[e.jsxs("div",{className:"bg-foreground text-background px-4 py-2",children:[e.jsx("div",{className:"yh-eyebrow text-[10px]",children:"SUGGESTED READING"}),e.jsxs("h2",{className:"yh-headline text-lg leading-tight",children:["More on ",r.name]})]}),s.topArticles.length>0&&e.jsxs("div",{className:"px-4 pt-4",children:[e.jsx("div",{className:"yh-eyebrow text-[10px] text-muted-foreground mb-2",children:"TOP ARTICLES"}),e.jsx("ul",{className:"space-y-3",children:s.topArticles.slice(0,4).map(t=>e.jsx("li",{children:e.jsx("a",{href:`/scene/${t.slug}.html`,className:"block text-sm leading-snug font-serif hover:text-hotpink transition",children:t.title})},t.id))})]}),s.topVideos.length>0&&e.jsxs("div",{className:"px-4 pt-4",children:[e.jsx("div",{className:"yh-eyebrow text-[10px] text-muted-foreground mb-2",children:"TOP VIDEOS"}),e.jsx("ul",{className:"space-y-3",children:s.topVideos.slice(0,4).map(t=>
1{const d=t.category_slug?`/videos/${t.category_slug}/${t.subcategory_slug??t.category_slug}/${t.slug}.html`:`/videos/yhstudio/yhstudio/${t.slug}.html`;return e.jsx("li",{children:e.jsx("a",{href:d,className:"block text-sm leading-snug font-serif hover:text-hotpink transition",children:t.title})},t.id)})})]}),s.coStars.length>0&&e.jsxs("div",{className:"p-4",children:[e.jsx("div",{className:"yh-eyebrow text-[10px] text-muted-foreground mb-2",children:"APPEARS WITH"}),e.jsx("ul",{className:"flex flex-wrap gap-2",children:s.coStars.slice(0,6).map(t=>e.jsx("li",{children:e.jsxs("a",{href:`/talent/${t.slug}`,className:"yh-eyebrow text-[11px] border border-foreground px-2 py-1 inline-flex items-center gap-1 hover:bg-foreground hover:text-background transition",children:[t.name,e.jsxs("span",{className:"opacity-60",children:["·",t.shared]})]})},t.id))})]})]}),e.jsx(J,{title:"Trending Celebrities",items:s.trendingTalent.slice(0,4).map(t=>({href:`/talent/${t.slug}`,title:t.name,eyebrow:t.role_type,image:t.photo_url}))})]})})]}),n===1&&(()=>{const t=(s.totalVideos||0)+(s.totalArticles||0),d=w.length>=2?w.map(c=>({q:c.q,a:c.a})):[{q:`Who is ${r.name}?`,a:m[0]?.slice(0,240)||r.bio||`${r.name}${o?` is a ${o.toLowerCase()}`:""} covered on Young Hollywood across interviews, videos and news.`},{q:`Where can I watch ${r.name} interviews?`,a:`Watch exclusive ${r.name} interviews, red-carpet moments and behind-the-scenes videos on Young Hollywood at younghollywood.com/talent/${a}.`},{q:`How many ${r.name} stories does Young Hollywood have?`,a:`Young Hollywood's ${r.name} hub currently features ${s.totalVideos||0} videos and ${s.totalArticles||0} articles${t?", updated as new coverage drops":""}.`}];
1return e.jsx("section",{className:"border-t border-foreground/10 bg-background",children:e.jsxs("div",{className:"mx-auto max-w-[1400px] px-4 md:px-6 py-10",children:[e.jsxs("h2",{className:"yh-headline text-2xl md:text-3xl mb-5",children:[r.name.toUpperCase()," â FREQUENTLY ASKED"]}),e.jsx("div",{className:"max-w-3xl divide-y-2 divide-foreground border-y-2 border-foreground",children:d.map((c,h)=>e.jsxs("details",{className:"group py-4",open:h===0,children:[e.jsxs("summary",{className:"yh-headline text-base md:text-lg cursor-pointer flex items-start justify-between gap-4 list-none",children:[e.jsx("span",{children:c.q}),e.jsx("span",{"aria-hidden":!0,className:"text-hotpink text-xl leading-none transition group-open:rotate-45",children:"+"})]}),e.jsx("p",{className:"mt-3 font-serif text-base leading-relaxed text-foreground/85",children:c.a})]},h))})]})})})()]}),e.jsx(ee,{}),e.jsx(re,{}),e.jsx(ae,{adId:"86b344ee-ca22-4b22-859a-2c773a4ea9e1"})]})}const ke=pe;export{ke as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.