PageSourceSearch

https://daddyjim.art/_next/static/chunks/10kgh47c4nkb8.js

js daddyjim.art collected 2026-10-09 22:54:19 UTC 77,957 bytes, 13 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,674145,e=>{"use strict";var t=e.i(843476),a=e.i(271645),i=e.i(846932),r=e.i(88653),l=e.i(347782),s=e.i(657688),o=e.i(511152),n=e.i(868127),d=e.i(452438),c=e.i(380157),h=e.i(427545),u=e.i(31526),p=e.i(120094);let m="absolute top-1/2 -translate-y-1/2 z-10 rounded-full backdrop-blur-sm transition-all p-2 bg-black/40 border border-white/60 text-white/80 shadow-md md:p-3 md:bg-black/75 md:border-2 md:border-white/70 md:text-white md:shadow-[0_0_16px_rgba(0,0,0,0.7)] hover:bg-purple-600 hover:border-purple-300 hover:text-white disabled:opacity-60",x="w-4 h-4 md:w-7 md:h-7",b={enter:e=>({x:90*e,opacity:0}),center:{x:0,opacity:1,transition:{type:"tween",duration:.22,ease:"easeOut"}},exit:e=>({x:-220*e,opacity:0,transition:{type:"tween",duration:.18,ease:"easeIn"}})},g="djhq_gallery_muted";function w(){try{return"1"===localStorage.getItem(g)}catch{return!1}}function f(e,t){(0,a.useEffect)(()=>{let a=e.current;if(!t||!a)return;let i=e=>{e.touches.length>1||e.target?.closest?.("video")||a.scrollHeight>a.clientHeight||a.scrollWidth>a.clientWidth||e.preventDefault()};return a.addEventListener("touchmove",i,{passive:!1}),()=>a.removeEventListener("touchmove",i)},[e,t])}var v=e.i(713410),j=e.i(31543),y=e.i(7335);function k({isOpen:e,onClose:l,song:d,t:c,trackClick:h,sourceTag:u=""}){if((0,a.useEffect)(()=>{if(!e)return;let t=e=>{"Escape"===e.key&&l()};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[e,l]),!d)return null;let p=(e,t)=>{if(h){let a=u?` (${u})`:"";h("music",`${e}: ${d.release_title}${a} (modal)`,t)}},m=c.streamOnPlatforms||"Stream on your favorite platform",x=c.aboutThisSong||"About this song",b=c.songModalClose||c.closeLabel||"Close",g=!!(d.about||d.creator_notes);return(0,t.jsx)(r.AnimatePresence,{children:e&&(0,t.jsx)(i.motion.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 z-[120] flex items-center justify-center p-4 bg-black/85 backdrop-blur-sm",onClick:l,"aria-modal":"true",role:"dialog",children:(0,t.jsxs)(i.motion.div,{initial:{scale:.9,opacity:0,y:16},animate:{scale:1,opacity:1,y:0},exit:{scale:.92,opacity:0,y:8},transition:{type:"spring",stiffness:260,damping:24},onClick:e=>e.stopPropagation(),className:"relative w-full max-w-md md:max-w-lg bg-gradient-to-b from-zinc-700 to-zinc-900 rounded-2xl shadow-2xl ring-1 ring-white/10 overflow-hidden max-h-[95vh] overflow-y-auto",children:[(0,t.jsx)("button",{onClick:l,"aria-label":b,title:b,className:"absolute top-3 right-3 z-10 p-2 rounded-full bg-black/60 hover:bg-white/20 text-white transition-all",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})}),d.cover_art_url&&(0,t.jsx)("div",{className:"p-4 md:p-8 pb-3 md:pb-4 flex justify-center",children:(0,t.jsx)("div",{className:"w-32 h-32 md:w-64 md:h-64 rounded-xl overflow-hidden ring-1 ring-white/10 shadow-xl",children:(0,t.jsx)(s.default,{src:d.cover_art_url,alt:d.release_title,width:320,height:320,className:"w-full h-full object-cover"})})}),(0,t.jsx)("div",{className:"px-4 md:px-6 pb-2 text-center",children:(0,t.jsx)("h3",{className:"text-white text-base md:text-xl font-bold leading-tight",children:d.release_title})}),(0,t.jsx)("p",{className:"px-4 md:px-6 pb-3 text-white/50 text-[10px] md:text-xs uppercase tracking-wider text-center",children:m}),(0,t.jsxs)("div",{className:"px-4 md:px-6 pb-5 md:pb-6 grid grid-cols-2 gap-2.5 md:gap-3",children:[d.apple_music_url&&(0,t.jsxs)("a",{href:d.apple_music_url,target:"_blank",rel:"noopener noreferrer",onClick:()=>p("Apple Music",d.apple_music_url),className:"flex items-center justify-center gap-2 px-4 py-3 rounded-lg bg-black border border-white/20 hover:border-white/60 hover:bg-white/10 transition-all",children:[(0,t.jsx)(o.FaApple,{className:"w-5 h-5 text-white"}),(0,t.jsx)("span",{className:"text-white text-sm font-medium",children:"Apple Music"})]}),d.itunes_purchase_url&&(0,t.jsxs)("a",{href:d.itunes_purchase_url,target:"_blank",rel:"noopener noreferrer",onClick:()=>p("iTunes",d.itunes_purchase_url),className:"flex items-center justify-center gap-2 px-4 py-3 rounded-lg bg-white border-2 border-[#D12D8C] hover:bg-[#fdf2f8] transition-all",children:[(0,t.jsx)(o.FaItunesNote,{className:"w-5 h-5 text-[#D12D8C]"}),(0,t.jsx)("span",{className:"text-[#D12D8C] text-sm font-medium",children:"iTunes"})]}),d.spotify_url&&(0,t.jsxs)("a",{href:d.spotify_url,target:"_blank",rel:"noopener noreferrer",onClick:()=>p("Spotify",d.spotify_url),className:"flex items-center justify-center gap-2 px-4 py-3 rounded-lg bg-[#1DB954] hover:bg-[#1ed760] transition-all",children:[(0,t.jsx)(o.FaSpotify,{className:"w-5 h-5 text-white"}),(0,t.jsx)("span",{className:"text-white text-sm font-medium",children:"Spotify"})]}),d.youtube_url&&(0,t.jsxs)("a",{href:d.youtube_url,target:"_blank",rel:"noopener noreferrer",onClick:()=>p("YouTube Music",d.youtube_url),className:"flex items-center justify-center gap-2 px-4 py-3 rounded-lg bg-[#FF0000] hover:bg-[#ff3333] transition-all",children:[(0,t.jsx)(n.SiYoutubemusic,{"aria-hidden":"true",className:"w-5 h-5 text-white"}),(0,t.jsx)("span",{className:"text-white text-sm font-medium",children:"YouTube Music"})]})]}),g&&(0,t.jsxs)("div",{className:"px-4 md:px-6 pb-5 md:pb-6 border-t border-white/5 pt-4 md:pt-5",children:[(0,t.jsx)("p",{className:"text-white/40 text-[10px] md:text-[11px] uppercase tracking-wider mb-2",children:x}),d.about&&(0,t.jsx)("p",{className:"text-white/85 text-sm leading-relaxed whitespace-pre-line",children:d.about}),d.creator_notes&&(0,t.jsx)("p",{className:"mt-3 text-white/65 text-sm italic leading-relaxed whitespace-pre-line hidden md:block",children:d.creator_notes})]})]})})})}let _=`
2.neon-spotify { box-shadow: 0 0 10px rgba(30,185,84,0.6), 0 0 25px rgba(30,185,84,0.3), 0 0 50px rgba(30,185,84,0.12); }
3.neon-apple { box-shadow: 0 0 10px rgba(255,255,255,0.35), 0 0 25px rgba(255,255,255,0.15), 0 0 50px rgba(255,255,255,0.05); }
4.neon-youtube { box-shadow: 0 0 10px rgba(255,0,0,0.6), 0 0 25px rgba(255,0,0,0.3), 0 0 50px rgba(255,0,0,0.12); }
5.neon-facebook { box-shadow: 0 0 10px rgba(24,119,242,0.6), 0 0 25px rgba(24,119,242,0.3), 0 0 50px rgba(24,119,242,0.12); }
6.neon-instagram { box-shadow: 0 0 10px rgba(225,48,108,0.6), 0 0 25px rgba(225,48,108,0.3), 0 0 50px rgba(225,48,108,0.12); }
7`;function N({href:e,onClick:a,bg:r,glowClass:l,children:s,title:o}){return(0,t.jsx)(i.motion.a,{href:e,target:"_blank",rel:"noopener noreferrer",onClick:a,title:o,className:`relative shrink-0 p-2 rounded-full ${l}`,style:{backgroundColor:r},whileHover:{scale:1.15},whileTap:{scale:.92},transition:{type:"spring",stiffness:400,damping:15},children:s})}let C={headquarters:{bg:"linear-gradient(135deg, #7C3AED, #6D28D9)",active:"bg-purple-600 border-purple-600"},"anime-art":{bg:"linear-gradient(135deg, #F97316, #EF4444)",active:"bg-orange-500 border-orange-500"},lorelai:{bg:"linear-gradient(135deg, #EC4899, #8B5CF6)",active:"bg-pink-500 border-pink-500"}};function S({t:e,locale:g,initialImages:w,initialHasMore:$,collections:P,initialCollection:L,surface:F,onSwitchToVideos:M}){let T=void 0!==F,A="art"===F,D="memes"===F,B=A?(0,j.hqUrl)(g):"en"===g?"/":`/${g}`,E=A?"/":D?"/memes":"/photos",U=A?(0,j.artPath)(g):D?(0,j.memesPath)(g):"en"===g?"/photos":`/${g}/photos`,q=P.map(e=>e.tag),I=q[0]||"anime-art",[O,R]=(0,a.useState)(()=>
7{if(L&&q.includes(L))return L;{let e=new URLSearchParams(window.location.search).get("c");if(e&&q.includes(e))return e}return I}),[V,H]=(0,a.useState)("lorelai"),z="djw_mature_ok",[Y,W]=(0,a.useState)(!1),[J,G]=(0,a.useState)(!1),[K,X]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(A)try{"1"===window.localStorage.getItem(z)&&W(!0)}catch{}},[]);let[Z,Q]=(0,a.useState)(w),[ee,et]=(0,a.useState)(!1),[ea,ei]=(0,a.useState)(!1),[er,el]=(0,a.useState)($),[es,eo]=(0,a.useState)("newest"),[en,ed]=(0,a.useState)(!1),[ec,eh]=(0,a.useState)(null),[eu,ep]=(0,a.useState)(null),[em,ex]=(0,a.useState)(null),[eb,eg]=(0,a.useState)(!1),[ew,ef]=(0,a.useState)(!1),ev=(0,a.useRef)(!1),ej=(0,a.useRef)(null),[ey,ek]=(0,a.useState)(0),e_=async(e,t)=>{try{let a=await fetch(e,{mode:"cors"}),i=await a.blob(),r=URL.createObjectURL(i),l=document.createElement("a");l.href=r,l.download=t,document.body.appendChild(l),l.click(),l.remove(),URL.revokeObjectURL(r)}catch{window.open(e,"_blank","noopener,noreferrer")}},[eN,eC]=(0,a.useState)({}),[eS,e$]=(0,a.useState)(!0),[eP,eL]=(0,a.useState)(""),[eF,eM]=(0,a.useState)(""),eT=(0,a.useRef)(null),[eA,eD]=(0,a.useState)(()=>"u">typeof document&&document.cookie.includes("djhq_hide_names=1")),[eB,eE]=(0,a.useState)(()=>!("u">typeof document)||!document.cookie.includes("djhq_auto_preview=0")),[eU,eq]=(0,a.useState)(null),[eI,eO]=(0,a.useState)(null),[eR,eV]=(0,a.useState)(null),[eH,ez]=(0,a.useState)(!1),[eY,eW]=(0,a.useState)(null),eJ=(0,a.useRef)(null),eG=(0,a.useRef)(eB),eK=e=>{let t=new Audio(e);t.volume=.3,t.play().catch(()=>{}),eJ.current=t},eX=e=>{eG.current=e,eE(e),document.cookie=e?"djhq_auto_preview=; max-age=0; path=/":"djhq_auto_preview=0; max-age=31536000; path=/; SameSite=Lax",e?eI?.previewUrl&&!eJ.current&&eK(eI.previewUrl):eJ.current&&(eJ.current.pause(),eJ.current=null)},eZ=(0,a.useRef)(!0),eQ=(0,a.useRef)(!1),e0=t=>t?"Original"===t?e.franchiseOriginal||"Original":"Other Girls"===t?e.characterOtherGirls||"Other Girls":(0,p.translateImageCharacter)(t,e):"",e1=t=>t?"Original"===t?e.franchiseOriginal||"Original":(0,p.translateImageShow)(t,e):"",e2=P.find(e=>e.tag===O),e5=eU?.franchises||e2?.franchises||[],e3=e5.filter(e=>null!==e.show),e4=e5.find(e=>null===e.show),e6=e4?.count||0,e8=eU?.total??e2?.count??0,e9=ec&&e3.find(e=>e.show===ec)?.characters||[],e7=C[O]||C.headquarters;(0,a.useEffect)(()=>{if(!eQ.current){eQ.current=!0;return}let e=new URL(window.location.href);O!==I?e.searchParams.set("c",O):e.searchParams.delete("c"),ec?e.searchParams.set("show",ec):e.searchParams.delete("show"),eu?e.searchParams.set("char",eu):e.searchParams.delete("char"),window.history.replaceState({},"",e.pathname+e.search)},[O,ec,eu]),(0,a.useEffect)(()=>{let e=setTimeout(()=>eM(eP),300);return()=>clearTimeout(e)},[eP]),(0,a.useEffect)(()=>{let e=new URLSearchParams(window.location.search),t=e.get("c"),a=e.get("show"),i=e.get("
7char");(t||a||i)&&(t&&q.includes(t)&&R(t),a&&eh(a),i&&ep(i),(t&&t!==I||a||i)&&Q([]))},[]),(0,a.useEffect)(()=>{let e=new URLSearchParams(window.location.search),t=e.get("img")??e.get("image");if(!t)return;let a=parseInt(t,10);Number.isFinite(a)&&(async()=>{try{let e=await fetch(`/api/gallery?id=${a}`);if(!e.ok)return;let t=await e.json();t&&t.id&&(eg(!1),ex(t))}catch{}})()},[]);let te=(0,a.useCallback)(async()=>{try{let e=new URLSearchParams({collection:O});Y&&e.set("include_mature","true"),J&&e.set("mature_only","true");let t=await fetch(`/api/gallery/counts?${e}`),a=await t.json();eq(a)}catch{}},[O,Y,J]);(0,a.useEffect)(()=>{te()},[te]);let tt=(0,a.useCallback)(async(e=0,t=!1)=>{0===e?et(!0):ei(!0);try{let a=new URLSearchParams({sort:es,offset:e.toString(),collection:O});eF.trim().length>=2&&a.set("q",eF.trim()),"lorelai"===O&&"all"!==V?a.set("character","lorelai"===V?"Lorelai":"__not_lorelai__"):"__other__"===ec?a.set("show","__other__"):ec&&(a.set("show",ec),eu&&a.set("character",eu)),en&&a.set("wallpaper_only","true"),Y&&a.set("include_mature","true"),J&&a.set("mature_only","true");let i=await fetch(`/api/gallery?${a}`),r=await i.json();t?Q(e=>[...e,...r.images]):Q(r.images),el(r.hasMore)}catch(e){console.error("Failed to fetch images:",e)}finally{et(!1),ei(!1)}},[es,O,ec,eu,V,eF,en,Y,J]);(0,a.useEffect)(()=>{if(eZ.current){eZ.current=!1,tt(0);return}tt(0)},[tt]),(0,a.useEffect)(()=>(em?(document.documentElement.style.overflowY="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflowY="",document.body.style.overflow="",eJ.current&&(eJ.current.pause(),eJ.current=null),eO(null),eV(null),ez(!1)),()=>{document.documentElement.style.overflowY="",document.body.style.overflow=""}),[em]),(0,a.useEffect)(()=>{if(!em?.apple_music_url||!em.release_title)return;let e=!1;return fetch(`/api/preview?apple_url=${encodeURIComponent(em.apple_music_url)}`).then(e=>e.ok?e.json():null).then(t=>{!e&&t?.previewUrl&&(eO(t),eG.current&&eK(t.previewUrl))}).catch(()=>{}),()=>{e=!0,eJ.current&&(eJ.current.pause(),eJ.current=null)}},[em?.id,em?.apple_music_url,em?.release_title]),(0,a.useEffect)(()=>{if(!em||em.release_title)return;let e=!1;return fetch("/api/preview/random").then(e=>e.ok?e.json():null).then(t=>{e||(ez(!1),t&&(eV(t),t.previewUrl&&(eO({previewUrl:t.previewUrl,purchaseUrl:t.purchaseUrl||""}),eG.current&&eK(t.previewUrl))))}).catch(()=>{e||ez(!1)}),()=>{e=!0,eJ.current&&(eJ.current.pause(),eJ.current=null)}},[em?.id,em?.release_title]),(0,a.useEffect)(()=>{let e=eT.current;if(!e)return;let t=new IntersectionObserver(([e])=>e$(e.isIntersecting),{threshold:0});return t.observe(e),()=>t.disconnect()},[]);let ta=A&&("anime-art"===O||"lorelai"===O),ti=e=>{tr("filter",`Franchise: ${e||"All"}`,"/photos"),ep(null),eh(e)},tr=(e,t,a)=>{fetch("/api/track",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({link_type:e,link_name:t,link_url:a,page:E,language:g,session_id:sessionStorage.getItem("analytics_session_id"),placement:A?"art-photos-tab":D?"memes-photos-tab":"photos-page"})}).catch(()=>{})},tl=async(e,t=0)=>{tr("image",e.character_name||"Unknown",e.cdn_location),ek(t),eg(!1),ef(!1),ez(!e.release_title),ex(e);try{let t=await fetch(`/api/gallery?id=${e.id}`),a=await t.json();a&&a.release_title&&(ex(t=>t&&t.id===e.id?{...t,...a}:t),ez(!1))}catch{}},ts=em?Z.findIndex(e=>e.id===em.id):-1,to=ts>0,tn=ts>=0&&(ts<Z.length-1||er),td=ea&&ts===Z.length-1,tc=()=>{to&&tl(Z[ts-1],-1)},th=()=>{ts<0||(ts<Z.length-1?tl(Z[ts+1],1):er&&!ea&&(ev.current=!0,tt(Z.length,!0)))};return(0,a.useEffect)(()=>{if(!ev.current||!em)return;let e=Z.findIndex(e=>e.id===em.id);e>=0&&e+1<Z.length?(ev.current=!1,tl(Z[e+1],1)):ea||(ev.current=!1)},[Z,ea]),(0,a.useEffect)(()=>{if(!em)return;let e=e=>{"ArrowLeft"===e.key?(e.preventDefault(),tc()):"ArrowRight"===e.key&&(e.preventDefault(),th())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[em,Z,er,ea]),f(ej,null!==em),(0,a.useEffect)(()=>{if(!(ts<0))for(let e of[Z[ts+1],Z[ts-1]])e&&(new window.Image().src=e.cdn_location)},[ts,Z]),(0,t.jsxs)("div",{className:"w-full max-w-4xl mx-auto px-4 py-4",children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:_}}),(0,t.jsxs)(i.motion.div,{className:"relative text-center mb-4 pt-16 pb-4 px-8 rounded-2xl bg-black/90 backdrop-blur-[2px]",initial:{opacity:0,y:-20}
7,animate:{opacity:1,y:0},transition:{duration:.5},children:[A?(0,t.jsxs)("a",{href:(0,j.hqUrl)(g),"aria-label":e.wikiBackButton||"Back",onClick:()=>tr("other","Back",(0,j.hqUrl)(g)),className:"absolute top-3 left-3 z-10 flex items-center gap-2 px-3 py-2 rounded-lg bg-black/60 backdrop-blur-sm border border-white/20 text-white/80 hover:text-white hover:bg-black/80 transition-colors text-sm",children:[(0,t.jsx)(o.FaArrowLeft,{className:"text-xs"}),(0,t.jsx)("span",{children:e.wikiBackButton||"Back"})]}):(0,t.jsxs)(d.default,{href:B,ariaLabel:e.wikiBackButton||"Back",onNavigate:()=>tr("other","Back","/"),className:"absolute top-3 left-3 z-10 flex items-center gap-2 px-3 py-2 rounded-lg bg-black/60 backdrop-blur-sm border border-white/20 text-white/80 hover:text-white hover:bg-black/80 transition-colors text-sm",children:[(0,t.jsx)(o.FaArrowLeft,{className:"text-xs"}),(0,t.jsx)("span",{children:e.wikiBackButton||"Back"})]}),(0,t.jsx)("div",{className:"absolute top-2 right-2 md:top-3 md:right-3 z-50 scale-90 md:scale-100",children:(0,t.jsx)(c.default,{})}),D?(0,t.jsx)("h1",{className:"text-4xl md:text-5xl font-black text-white drop-shadow-[0_2px_10px_rgba(0,0,0,0.8)]",children:e.memesH1||"Anime Memes"}):T?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("img",{src:"https://cdn.daddyjim.com/art/daddy-jim-waifus-banner-v1.webp",alt:e.artPageTitle||"Daddy Jim Waifus",className:"w-full rounded-xl ring-1 ring-white/15 shadow-lg",width:1376,height:768}),(0,t.jsx)("h1",{className:"text-4xl md:text-5xl font-black text-white mt-4 drop-shadow-[0_2px_10px_rgba(0,0,0,0.8)]",children:e.artWaifusH1||"Anime Waifus"})]}):(0,t.jsx)("h1",{className:"text-4xl md:text-5xl font-black text-white drop-shadow-[0_2px_10px_rgba(0,0,0,0.8)]",children:e.photosTitle||"Photos"}),(0,t.jsx)("p",{className:"text-xl md:text-3xl text-white mt-2 font-light tracking-wide drop-shadow-[0_2px_8px_rgba(0,0,0,0.9)]",children:D?e.memesSubtext||"Dragon Ball memes, anime memes, and the funny videos behind them":e.photosSubtext||"Dragon Ball fan art and character illustrations"}),(0,t.jsx)(h.default,{locale:g,page:E}),(0,t.jsx)(u.default,{locale:g}),(0,t.jsx)(y.default,{items:[{label:e.photosLinkTitle||"Photos",href:U}]})]}),A&&(0,t.jsx)(i.motion.div,{className:"mb-4",initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.05,duration:.4},children:(0,t.jsxs)("a",{href:(0,j.hqUrl)(g),onClick:()=>tr("nav","Daddy Jim Headquarters plug",(0,j.hqUrl)(g)),className:"group relative overflow-hidden rounded-xl p-4 flex items-center gap-4 text-white transition-all duration-300 cursor-pointer block",style:{background:"linear-gradient(135deg, #7C3AED, #9333EA, #6366F1)",boxShadow:"0 0 10px rgba(124,58,237,0.6), 0 0 25px rgba(147,51,234,0.35)"},children:[(0,t.jsx)("div",{className:"shrink-0 w-[64px] h-[64px] md:w-20 md:h-20 rounded-xl overflow-hidden ring-2 ring-white/30 shadow-lg",children:(0,t.jsx)(s.default,{src:"https://cdn.daddyjim.com/coverart/mr-popo-took-your-girl.webp",alt:"Daddy Jim Headquarters",width:80,height:80,className:"w-full h-full object-cover"})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("div",{className:"font-black text-lg md:text-2xl",children:e.artHqPlugTitle||"Daddy Jim Headquarters"}),(0,t.jsx)("div",{className:"text-sm md:text-base text-white/80 leading-snug",children:e.artHqPlugSub||"Music, memes, and anime wikis"})]}),(0,t.jsx)("div",{className:"absolute inset-0 bg-white/10 opacity-0 group-hover:opacity-100 transition-opacity"})]})}),(0,t.jsxs)(i.motion.div,{ref:eT,className:"mb-4 rounded-xl bg-black/90 backdrop-blur-sm p-3",initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.05,duration:.4},children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-2 mb-3 pb-3 border-b border-white/10",children:[(0,t.jsxs)("div",{className:"flex items-center justify-center gap-1.5 md:gap-2 py-2 rounded-lg text-xs md:text-sm font-bold text-white shadow-lg ring-2 ring-white/40",style:{background:"linear-gradient(135deg, #0EA5E9, #2563EB)"},children:[(0,t.jsx)(o.FaImages,{className:"w-3.5 h-3.5 md:w-4 md:h-4"}),(0,t.jsx)("span",{children:e.photosLinkTitle||"Photos"})]}),T?(0,t.jsxs)("button",{type:"button",onClick:()=>{tr("nav",`Switch to Videos (${O})`,E),M?.(O)},className:"flex items-center justify-center gap-1.5 md:gap-2 py-2 rounded-lg text-xs md:text-sm font-bold text-white/80 hover:text-white bg-white/10 hover:bg-white/15 ring-1 ring-white/15 transition-all",children:[(0,t.jsx)(o.FaVideo,{className:"w-3.5 h-3.5 md:w-4 md:h-4"}),(0,t.jsx)("span",{children:e.videosLinkTitle||"Videos"})]}):(0,t.jsxs)(l.default,{href:"en"===g?`/videos${"lorelai"===O?"?channel=lorelai":"anime-art"===O?"?channel=waifus":""}`:`/${g}/videos${"lorelai"===O?"?channel=lorelai":"anime-art"===O?"?channel=waifus":""}`,onClick:()=>tr("nav",`Switch to Videos (${O})`,"/videos"),className:"flex items-center justify-center gap-1.5 md:gap-2 py-2 rounded-lg text-xs md:text-sm font-bold text-white/80 hover:text-white bg-white/10 hover:bg-white/15 ring-1 ring-white/15 transition-all",children:[(0,t.jsx)(o.FaVideo,{className:"w-3.5 h-3.5 md:w-4 md:h-4"}),(0,t.jsx)("span",{children:e.videosLinkTitle||"Videos"})]})]}),P.length>1&&(0,t.jsx)("div",{className:"grid gap-2 mb-3 pb-3 border-b border-white/10",style:{gridTemplateColumns:`repeat(${P.length}, minmax(0, 1fr))`},children:P.map(a=>{let i=C[a.tag]||C.headquarters,r=O===a.tag;return(0,t.jsxs)("button",{onClick:()=>{var e;tr("other",a.label,"/photos"),(e=a.tag)!==O&&(R(e),eh(null),ep(null),H("all"),eC({}),eq(null),G(!1))},className:`py-2 rounded-lg text-sm font-bold text-white transition-all ${r?"ring-2 ring-white/40 shadow-lg":"opacity-60 hover:opacity-80"}`,style:{background:i.bg,..."headquarters"===a.tag?{transform:"translateX(-0.5px)"}:{}},children:[(0,t.jsx)("span",{className:"md:ml-1",children:"lorelai"===a.tag?e.collectionLorelai||"Lorelai":a.label}),(0,t.jsxs)("span",{className:"md:mr-1.5 ml-1.5 text-xs font-normal text-white/70 hidden md:inline",children:["(",a.count,")"]})]},a.tag)})}),"lorelai"===O&&(0,t.jsxs)("div",{className:"flex gap-2 items-center justify-center mb-2",children:[(0,t.jsx)("button",{onClick:()=>{tr("filter","Lorelai Filter: All","/photos"),H("all")},className:`px-4 py-2 rounded-full text-sm font-semibold transition-all border ${"all"===V?"bg-pink-600 text-white border-pink-600":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:e.filterAll||"All"}),(0,t.jsx)("button",{onClick:()=>
7{tr("filter","Lorelai Filter: Lorelai","/photos"),H("lorelai")},className:`px-4 py-2 rounded-full text-sm font-semibold transition-all border ${"lorelai"===V?"bg-pink-600 text-white border-pink-600":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:"Lorelai"}),(0,t.jsx)("button",{onClick:()=>{tr("filter","Lorelai Filter: Other Girls","/photos"),H("other-girls")},className:`px-4 py-2 rounded-full text-sm font-semibold transition-all border ${"other-girls"===V?"bg-pink-600 text-white border-pink-600":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:e.characterOtherGirls||"Other Girls"})]}),(0,t.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center gap-2",children:["lorelai"!==O&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex gap-1.5 flex-wrap justify-center md:justify-start",children:[(0,t.jsxs)("button",{onClick:()=>ti(null),className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border whitespace-nowrap ${null===ec?e7.active+" text-white":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:[e.filterAll||"All"," (",e8,")"]}),e3.map(e=>(0,t.jsxs)("button",{onClick:()=>ti(e.show),className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border whitespace-nowrap ${ec===e.show?e7.active+" text-white":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:[e1(e.show)," (",e.count,")"]},e.show)),e6>0&&(0,t.jsxs)("button",{onClick:()=>ti("__other__"),className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border whitespace-nowrap ${"__other__"===ec?e7.active+" text-white":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:[e.filterOther||"Other"," (",e6,")"]})]}),(0,t.jsx)("div",{className:"h-px w-full bg-white/20 md:h-5 md:w-px md:mx-1"})]}),(0,t.jsxs)("div",{className:"flex gap-1.5 md:gap-2 justify-center md:justify-start items-center flex-wrap",children:[(0,t.jsx)("button",{onClick:()=>{tr("filter","Sort: Newest","/photos"),eo("newest")},className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border ${"newest"===es?e7.active+" text-white":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:e.newest||"Newest"}),(0,t.jsx)("button",{onClick:()=>{tr("filter","Sort: Oldest","/photos"),eo("oldest")},className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border ${"oldest"===es?e7.active+" text-white":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:e.oldest||"Oldest"}),(0,t.jsx)("button",{onClick:()=>{tr("filter","Sort: Popular","/photos"),eo("popular")},className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border ${"popular"===es?e7.active+" text-white":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:e.popular||"Popular"}),(0,t.jsxs)("button",{onClick:()=>{tr("filter",`Wallpapers: ${!en?"on":"off"}`,"/photos"),ed(e=>!e)},className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border flex items-center gap-1.5 ${en?e7.active+" text-white":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:[(0,t.jsx)(o.FaDownload,{className:"w-3 h-3"}),e.wallpapers||"Wallpapers"]}),(0,t.jsx)("div",{className:"w-px h-5 bg-white/20"}),(0,t.jsxs)("button",{onClick:()=>{tr("filter",`Names ${eA?"shown":"hidden"}`,"/photos");let e=!eA;eD(e),document.cookie=e?"djhq_hide_names=1; max-age=31536000; path=/; SameSite=Lax":"djhq_hide_names=; max-age=0; path=/"},className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border whitespace-nowrap flex items-center gap-1.5 ${eA?"bg-white/25 text-white border-white/40":"bg-purple-600/80 text-white border-purple-600"}`,children:[(0,t.jsx)("svg",{className:"w-3 h-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:eA?(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"}):(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})}),e.nameLabels||"Names"]}),(0,t.jsxs)("button",{onClick:()=>{tr("filter",`Auto preview ${eB?"off":"on"}`,"/photos"),eX(!eB)},className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border whitespace-nowrap flex items-center gap-1.5 ${eB?"bg-purple-600/80 text-white border-purple-600":"bg-white/25 text-white border-white/40"}`,children:[eB?(0,t.jsx)(o.FaVolumeUp,{className:"w-3 h-3"}):(0,t.jsx)(o.FaVolumeMute,{className:"w-3 h-3"}),e.autoPreview||"Auto-Play"]}),ta&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"w-px h-5 bg-white/20"}),(0,t.jsxs)("button",{onClick:()=>
7{if(tr("filter",`Mature ${Y?"hide":"show"}`,E),Y){W(!1),G(!1);return}let e=!1;try{e="1"===window.localStorage.getItem(z)}catch{}e?W(!0):(tr("other","Mature Gate",E),X(!0))},className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border whitespace-nowrap flex items-center gap-1.5 ${Y?"bg-pink-600 text-white border-pink-600":"bg-white/25 text-white border-white/40 hover:bg-white/35"}`,title:Y?"Mature content enabled. Click to hide.":"Click to enable mature content",children:[(0,t.jsx)("svg",{className:"w-3 h-3",fill:"currentColor",viewBox:"0 0 24 24",children:Y?(0,t.jsx)("path",{d:"M12 1a5 5 0 0 1 5 5v2h2a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h9V6a3 3 0 0 0-6 0H6a5 5 0 0 1 6-5z"}):(0,t.jsx)("path",{d:"M12 1a5 5 0 0 0-5 5v4H5a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-2V6a5 5 0 0 0-5-5zm0 2a3 3 0 0 1 3 3v4H9V6a3 3 0 0 1 3-3z"})}),e.matureToggle||"Mature"]}),Y&&(0,t.jsxs)("button",{onClick:()=>{tr("filter",`Mature only ${J?"off":"on"}`,E),G(!J)},className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border whitespace-nowrap flex items-center gap-1.5 ${J?"bg-pink-600 text-white border-pink-600":"bg-white/25 text-white border-white/40 hover:bg-white/35"}`,children:[J?(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:3.5,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})}):(0,t.jsx)("div",{className:"w-4 h-4 rounded border-2 border-white/50"}),e.matureOnly||"Mature Only"]})]})]})]}),(0,t.jsx)(r.AnimatePresence,{children:ec&&"__other__"!==ec&&e9.length>1&&(0,t.jsxs)(i.motion.div,{className:"flex gap-1.5 flex-wrap justify-center md:justify-start mt-2 pt-2 border-t border-white/10",initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.2},children:[(0,t.jsx)("button",{onClick:()=>{tr("filter","Character: All","/photos"),ep(null)},className:`px-2.5 py-1 rounded-full text-[11px] font-semibold transition-all border whitespace-nowrap ${null===eu?"bg-orange-500 text-white border-orange-500":"bg-white/10 text-white/80 border-white/20 hover:bg-white/20"}`,children:"All"}),e9.map(e=>(0,t.jsxs)("button",{onClick:()=>{tr("filter",`Character: ${e.name}`,"/photos"),ep(e.name)},className:`px-2.5 py-1 rounded-full text-[11px] font-semibold transition-all border whitespace-nowrap ${eu===e.name?"bg-orange-500 text-white border-orange-500":"bg-white/10 text-white/80 border-white/20 hover:bg-white/20"}`,children:[e0(e.name)," (",e.count,")"]},e.name))]})})]}),(0,t.jsx)(i.motion.div,{className:"mb-4 rounded-xl bg-black/90 backdrop-blur-sm p-3",initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.1,duration:.4},children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("svg",{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-white/40 pointer-events-none",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-4.35-4.35M17 11A6 6 0 1 1 5 11a6 6 0 0 1 12 0z"})}),(0,t.jsx)("input",{type:"text",value:eP,onChange:e=>eL(e.target.value),placeholder:e.searchAllPhotos||"Search all photos",className:"w-full pl-9 pr-4 py-2 rounded-lg bg-white/10 border border-white/20 text-white placeholder-white/40 text-sm focus:outline-none focus:border-white/40 focus:bg-white/15 transition-colors"}),eP&&(0,t.jsx)("button",{onClick:()=>eL(""),className:"absolute right-3 top-1/2 -translate-y-1/2 text-white/40 hover:text-white/70 text-sm",children:"✕"})]})}),ee?(0,t.jsx)("div",{dir:"ltr",className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-2",children:Array.from({length:8}).map((e,a)=>(0,t.jsx)("div",{className:"aspect-[3/4] rounded-xl bg-white/10 animate-pulse"},a))}):0===Z.length?(0,t.jsx)("div",{className:"text-center py-16",children:(0,t.jsx)("p",{className:"text-white/50 text-lg",children:e.noPhotosYet||"No photos yet. Check back soon!"})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{dir:"ltr",className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-2",children:Z.map((e,a)=>(0,t.jsxs)(i.motion.div,{className:"relative group cursor-pointer rounded-xl overflow-hidden bg-white/10",initial:{opacity:0}
7,animate:{opacity:1},transition:{delay:Math.min(.03*a,.3),duration:.3},onClick:()=>tl(e),children:[!eN[e.id]&&(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-white/10",children:(0,t.jsx)("div",{className:"w-8 h-8 rounded-full border-2 border-white/20 border-t-white/70 animate-spin"})}),(0,t.jsx)(s.default,{src:e.cdn_location,alt:e.alt_text||e.character_name||"Daddy Jim fan art",width:400,height:600,sizes:"(max-width: 640px) 50vw, (max-width: 1024px) 33vw, (max-width: 1280px) 25vw, 20vw",unoptimized:!0,className:`w-full h-auto object-cover rounded-xl group-hover:scale-105 transition-transform duration-500 ${eN[e.id]?"opacity-100":"opacity-0"}`,onLoad:()=>{var t;return t=e.id,void eC(e=>e[t]?e:{...e,[t]:!0})}}),e.character_name&&!eA&&(0,t.jsx)("div",{className:"absolute top-1.5 left-1.5 md:top-2 md:left-2 bg-black/50 backdrop-blur-sm rounded-md px-1.5 py-0.5 md:px-2 md:py-1",children:(0,t.jsxs)("p",{className:"text-white/90 text-[10px] md:text-xs font-semibold leading-tight",children:[e0(e.character_name),e.secondary_character_name&&(0,t.jsxs)("span",{className:"text-white/90 font-normal",children:[" & ",e0(e.secondary_character_name)]}),e.show&&(0,t.jsx)("span",{className:"text-white/40 font-normal text-[8px] md:text-[10px] ml-1",children:e1(e.show)})]})}),(0,t.jsx)("div",{className:"absolute bottom-2 right-2 p-1.5 bg-black/50 rounded-full text-white opacity-50 group-hover:opacity-90 transition-opacity backdrop-blur-sm",children:(0,t.jsx)("svg",{className:"w-3.5 h-3.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v3m0 0v3m0-3h3m-3 0H7"})})})]},e.id))}),er&&(0,t.jsx)("div",{className:"flex justify-center mt-6",children:(0,t.jsx)("button",{onClick:()=>{tr("other","Load More","/photos"),tt(Z.length,!0)},disabled:ea,className:"px-8 py-3 rounded-full text-white font-semibold transition-all cursor-pointer hover:brightness-125",style:{background:e7.bg},children:ea?e.loading||"Loading...":e.loadMore||"Load More"})})]}),(0,t.jsx)(r.AnimatePresence,{children:!eS&&!em&&(0,t.jsx)(i.motion.button,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.2},onClick:()=>eT.current?.scrollIntoView({behavior:"smooth",block:"center"}),className:"fixed top-4 right-4 z-50 p-3 bg-black/80 backdrop-blur-sm rounded-full text-white shadow-lg ring-1 ring-white/20 hover:bg-black/90 hover:ring-white/40 transition-all","aria-label":"Open filters",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})})})}),(0,t.jsx)(r.AnimatePresence,{children:K&&(0,t.jsx)(i.motion.div,{className:"fixed inset-0 z-[110] flex items-center justify-center bg-black/80 backdrop-blur-sm p-4",initial:{opacity:0}
7,animate:{opacity:1},exit:{opacity:0},onClick:()=>X(!1),children:(0,t.jsxs)(i.motion.div,{className:"relative max-w-md w-full rounded-2xl bg-slate-900 border border-white/10 p-6 md:p-7 shadow-2xl",initial:{scale:.95,y:20},animate:{scale:1,y:0},exit:{scale:.95,y:20},onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("h2",{className:"text-xl md:text-2xl font-bold text-white mb-3",children:e.matureGateTitle||"Mature Content"}),(0,t.jsx)("p",{className:"text-white/80 text-sm md:text-base leading-relaxed mb-5",children:e.matureGateBody||"This section contains tasteful artistic imagery of fictional characters. Some content includes artistic nudity. You must be 18 or older to view."}),(0,t.jsxs)("div",{className:"flex flex-col-reverse sm:flex-row gap-2 sm:justify-end",children:[(0,t.jsx)("button",{onClick:()=>X(!1),className:"px-4 py-2.5 rounded-lg bg-white/10 hover:bg-white/20 text-white text-sm font-medium transition-all",children:e.matureGateCancel||"Cancel"}),(0,t.jsx)("button",{onClick:()=>{tr("filter","Mature agree",E);try{window.localStorage.setItem(z,"1")}catch{}W(!0),G(!0),X(!1),tr("other","Mature Accepted",E)},className:"px-4 py-2.5 rounded-lg text-white text-sm font-semibold transition-all",style:{background:"linear-gradient(135deg, #7C3AED, #6D28D9)"},children:e.matureGateConfirm||"I am 18+ and Agree"})]})]})})}),(0,t.jsx)(v.default,{locale:g,page:E,surface:F}),(0,t.jsx)("div",{className:"fixed bottom-0 left-0 right-0 h-32 bg-gradient-to-t from-purple-900/50 to-transparent pointer-events-none"}),em&&(0,t.jsxs)("div",{ref:ej,className:"fixed inset-0 z-[100] flex overflow-y-auto overflow-x-hidden overscroll-contain bg-black",onClick:()=>ex(null),children:[!eb&&(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)("div",{className:"w-10 h-10 border-3 border-white/30 border-t-white rounded-full animate-spin"})}),(0,t.jsxs)("div",{className:"relative w-fit shrink-0 m-auto",onClick:e=>e.stopPropagation(),children:[(0,t.jsx)(r.AnimatePresence,{mode:"popLayout",custom:ey,children:(0,t.jsxs)(i.motion.div,{className:"relative",custom:ey,variants:b,initial:"enter",animate:eb?"center":"enter",exit:"exit",drag:"x",dragConstraints:{left:0,right:0},dragElastic:.5,dragMomentum:!1,onDragEnd:(e,t)=>{t.offset.x<-70||t.velocity.x<-400?th():(t.offset.x>70||t.velocity.x>400)&&tc()},children:[(0,t.jsx)(s.default,{src:em.cdn_location,alt:em.alt_text||"Daddy Jim fan art",width:1200,height:1800,className:"w-auto h-auto max-w-[max(100vw,360px)] md:max-w-[calc(100vw-10rem)] max-h-[max(100dvh,600px)]",unoptimized:!0,priority:!0,draggable:!1,onLoad:e=>{let t,a;eg(!0),ef((t=e.currentTarget.naturalWidth,a=e.currentTarget.naturalHeight,t>0&&a/t>=1.6))}}),em.character_name&&!eA&&(0,t.jsx)("div",{className:"absolute top-2 left-2 md:top-4 md:left-4 max-w-[55%] bg-black/40 backdrop-blur-sm rounded-lg px-2.5 py-1.5 md:px-3 md:py-2",children:(0,t.jsxs)("p",{className:"text-white/90 text-xs md:text-sm font-semibold",children:[e0(em.character_name),em.secondary_character_name&&(0,t.jsxs)("span",{className:"text-white/90 font-normal",children:[" & ",e0(em.secondary_character_name)]}),em.show&&(0,t.jsx)("span",{className:"text-white/40 font-normal text-[10px] md:text-xs ml-1.5",children:e1(em.show)})]})}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/80 to-transparent p-4 pt-10",children:(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-3",children:em.release_title?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{type:"button",onClick:e=>{e.stopPropagation(),eW({release_title:em.release_title,cover_art_url:em.cover_art_url,about:em.release_about,creator_notes:em.release_creator_notes,apple_music_url:em.apple_music_url,itunes_purchase_url:eI?.purchaseUrl||null,spotify_url:em.spotify_url,youtube_url:em.youtube_url}),tr("music-modal",`Song Modal Open: ${em.release_title} (img:${em.id})`,"/photos#song-modal")},"aria-label":e.openSongModal||em.release_title,className:"flex flex-1 items-center gap-3 min-w-0 text-left cursor-pointer",children:[em.cover_art_url&&(0,t.jsx)("span",{className:"shrink-0 w-10 h-10 rounded-md overflow-hidden ring-1 ring-white/20 block",children:(0,t.jsx)(s.default,{src:em.cover_art_url,alt:em.release_title,width:48,height:48,className:"w-full h-full object-cover"})}),(0,t.jsx)("span",{className:"min-w-0 block",children:(0,t.jsx)("span",{className:"block text-white text-[11px] md:text-xs font-semibold leading-tight",children:em.release_title})})]}),eI&&(0,t.jsx)("button",{onClick:e=>{e.stopPropagation(),tr("other",`Auto preview ${eB?"off":"on"} (lightbox, img:${em.id})`,"/photos"),eX(!eB)},className:"shrink-0 p-2 rounded-full bg-white/10 hover:bg-white/20 transition-colors",title:`${e.autoPreview||"Auto-Play"}: ${eB?"on":"off"}`,"aria-pressed":eB,children:eB?(0,t.jsx)(o.FaVolumeUp,{className:"w-3.5 h-3.5 text-white"}):(0,t.jsx)(o.FaVolumeMute,{className:"w-3.5 h-3.5 text-white/60"})}),em.apple_music_url&&(0,t.jsx)(N,{href:em.apple_music_url,onClick:e=>{e.stopPropagation(),tr("music",`Apple Music: ${em.release_title} (img:${em.id})`,em.apple_music_url)}
7,bg:"#000000",glowClass:"neon-apple",title:"Apple Music",children:(0,t.jsx)(o.FaApple,{className:"w-4 h-4 text-white"})}),eI?.purchaseUrl&&(0,t.jsx)(i.motion.a,{href:eI.purchaseUrl,target:"_blank",rel:"noopener noreferrer",onClick:e=>{e.stopPropagation(),tr("music",`iTunes Purchase: ${em.release_title} (img:${em.id})`,eI.purchaseUrl)},title:"Buy on iTunes",className:"relative shrink-0 p-2 rounded-full border-2 border-[#D12D8C]",style:{backgroundColor:"#FFFFFF"},whileHover:{scale:1.15},whileTap:{scale:.92},transition:{type:"spring",stiffness:400,damping:15},children:(0,t.jsx)(o.FaItunesNote,{className:"w-3.5 h-3.5 text-[#D12D8C]"})}),em.spotify_url&&(0,t.jsx)(N,{href:em.spotify_url,onClick:e=>{e.stopPropagation(),tr("music",`Spotify: ${em.release_title} (img:${em.id})`,em.spotify_url)},bg:"#1DB954",glowClass:"neon-spotify",title:"Spotify",children:(0,t.jsx)(o.FaSpotify,{className:"w-4 h-4 text-white"})}),em.youtube_url&&(0,t.jsx)(N,{href:em.youtube_url,onClick:e=>{e.stopPropagation(),tr("music",`YouTube Music: ${em.release_title} (img:${em.id})`,em.youtube_url)},bg:"#FF0000",glowClass:"neon-youtube",title:"YouTube Music",children:(0,t.jsx)(n.SiYoutubemusic,{"aria-hidden":"true",className:"w-4 h-4 text-white"})})]}):eR?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{type:"button",onClick:e=>{e.stopPropagation(),eW({release_title:eR.release_title,cover_art_url:eR.cover_art_url,about:eR.release_about,creator_notes:eR.release_creator_notes,apple_music_url:eR.apple_music_url,itunes_purchase_url:eR.purchaseUrl,spotify_url:eR.spotify_url,youtube_url:eR.youtube_url}),tr("music-modal",`Song Modal Open: ${eR.release_title} (random)`,"/photos#song-modal")},"aria-label":e.openSongModal||eR.release_title,className:"flex flex-1 items-center gap-3 min-w-0 text-left cursor-pointer",children:[eR.cover_art_url&&(0,t.jsx)("span",{className:"shrink-0 w-10 h-10 rounded-md overflow-hidden ring-1 ring-white/20 block",children:(0,t.jsx)(s.default,{src:eR.cover_art_url,alt:eR.release_title,width:48,height:48,className:"w-full h-full object-cover"})}),(0,t.jsx)("span",{className:"min-w-0 block",children:(0,t.jsx)("span",{className:"block text-white text-[11px] md:text-xs font-semibold leading-tight",children:eR.release_title})})]}),eI&&(0,t.jsx)("button",{onClick:e=>{e.stopPropagation(),tr("other",`Auto preview ${eB?"off":"on"} (lightbox, img:${em.id})`,"/photos"),eX(!eB)},className:"shrink-0 p-2 rounded-full bg-white/10 hover:bg-white/20 transition-colors",title:`${e.autoPreview||"Auto-Play"}: ${eB?"on":"off"}`,"aria-pressed":eB,children:eB?(0,t.jsx)(o.FaVolumeUp,{className:"w-3.5 h-3.5 text-white"}):(0,t.jsx)(o.FaVolumeMute,{className:"w-3.5 h-3.5 text-white/60"})}),eR.apple_music_url&&(0,t.jsx)(N,{href:eR.apple_music_url,onClick:e=>{e.stopPropagation(),tr("music",`Apple Music: ${eR.release_title} (random) (img:${em.id})`,eR.apple_music_url)}
7,bg:"#000000",glowClass:"neon-apple",title:"Apple Music",children:(0,t.jsx)(o.FaApple,{className:"w-4 h-4 text-white"})}),eI?.purchaseUrl&&(0,t.jsx)(i.motion.a,{href:eI.purchaseUrl,target:"_blank",rel:"noopener noreferrer",onClick:e=>{e.stopPropagation(),tr("music",`iTunes Purchase: ${eR.release_title} (random) (img:${em.id})`,eI.purchaseUrl)},title:"Buy on iTunes",className:"relative shrink-0 p-2 rounded-full border-2 border-[#D12D8C]",style:{backgroundColor:"#FFFFFF"},whileHover:{scale:1.15},whileTap:{scale:.92},transition:{type:"spring",stiffness:400,damping:15},children:(0,t.jsx)(o.FaItunesNote,{className:"w-3.5 h-3.5 text-[#D12D8C]"})}),eR.spotify_url&&(0,t.jsx)(N,{href:eR.spotify_url,onClick:e=>{e.stopPropagation(),tr("music",`Spotify: ${eR.release_title} (random) (img:${em.id})`,eR.spotify_url)},bg:"#1DB954",glowClass:"neon-spotify",title:"Spotify",children:(0,t.jsx)(o.FaSpotify,{className:"w-4 h-4 text-white"})}),eR.youtube_url&&(0,t.jsx)(N,{href:eR.youtube_url,onClick:e=>{e.stopPropagation(),tr("music",`YouTube Music: ${eR.release_title} (random) (img:${em.id})`,eR.youtube_url)},bg:"#FF0000",glowClass:"neon-youtube",title:"YouTube Music",children:(0,t.jsx)(n.SiYoutubemusic,{"aria-hidden":"true",className:"w-4 h-4 text-white"})})]}):eH?(0,t.jsx)("div",{className:"flex items-center justify-center py-3",children:(0,t.jsx)("div",{className:"w-6 h-6 rounded-full border-2 border-white/20 border-t-white/70 animate-spin"})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"shrink-0 w-10 h-10 rounded-md overflow-hidden ring-1 ring-white/20",children:(0,t.jsx)(s.default,{src:"/images/djhq-mascot-v6.webp",alt:e.siteBrandName||"Daddy Jim Headquarters",width:48,height:48,className:"w-full h-full object-cover"})}),(0,t.jsx)("div",{className:"flex-1 min-w-0",children:(0,t.jsx)("p",{className:"text-white text-[11px] md:text-xs font-semibold leading-tight",children:e.findOurMusic||"Find our music"})}),(0,t.jsx)(N,{href:"https://open.spotify.com/artist/7v2RBdUCq3TugxENKDraYb",onClick:e=>{e.stopPropagation(),tr("music",`Spotify (generic) (img:${em.id})`,"https://open.spotify.com/artist/7v2RBdUCq3TugxENKDraYb")},bg:"#1DB954",glowClass:"neon-spotify",title:"Spotify",children:(0,t.jsx)(o.FaSpotify,{className:"w-4 h-4 text-white"})}),(0,t.jsx)(N,{href:"https://music.apple.com/us/artist/daddy-jim-headquarters/1857579375",onClick:e=>{e.stopPropagation(),tr("music",`Apple Music (generic) (img:${em.id})`,"https://music.apple.com/us/artist/daddy-jim-headquarters/1857579375")}
7,bg:"#000000",glowClass:"neon-apple",title:"Apple Music",children:(0,t.jsx)(o.FaApple,{className:"w-4 h-4 text-white"})}),(0,t.jsx)(N,{href:"https://music.youtube.com/channel/UC78Ja6xIABcKspgiCsegZWA",onClick:e=>{e.stopPropagation(),tr("music",`YouTube Music (generic) (img:${em.id})`,"https://music.youtube.com/channel/UC78Ja6xIABcKspgiCsegZWA")},bg:"#FF0000",glowClass:"neon-youtube",title:"YouTube Music",children:(0,t.jsx)(n.SiYoutubemusic,{"aria-hidden":"true",className:"w-4 h-4 text-white"})})]})})}),(0,t.jsxs)("div",{className:"absolute top-2 right-2 md:top-4 md:right-4 flex items-center gap-2 md:gap-3",children:[ew&&(0,t.jsx)("button",{onClick:e=>{e.stopPropagation();let t=em.cdn_location.split("/").pop()?.split("?")[0]||`daddyjim-wallpaper-${em.id}.webp`;tr("other",`Wallpaper download (img:${em.id})`,em.cdn_location),e_(em.cdn_location,t)},className:"p-2.5 bg-black/50 hover:bg-purple-600 rounded-full text-white transition-all backdrop-blur-sm","aria-label":"Download wallpaper",title:"Download wallpaper",children:(0,t.jsx)(o.FaDownload,{className:"w-5 h-5"})}),(0,t.jsx)("button",{onClick:e=>{e.stopPropagation(),tr("share",`Share: ${em.character_name||"Image"} #${em.id}`,"/photos");let t=`${window.location.origin}${"en"===g?"":`/${g}`}/photos?img=${em.id}`;navigator.share?navigator.share({title:"Daddy Jim Photos",url:t}).catch(()=>{}):navigator.clipboard.writeText(t).then(()=>alert("Link copied!")).catch(()=>{})},className:"p-2.5 bg-black/50 hover:bg-purple-600 rounded-full text-white transition-all backdrop-blur-sm","aria-label":"Share",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 110-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 105.367-2.684 3 3 0 00-5.367 2.684zm0 9.316a3 3 0 105.368 2.684 3 3 0 00-5.368-2.684z"})})}),(0,t.jsx)("button",{onClick:()=>ex(null),className:"p-2.5 bg-black/50 hover:bg-white/30 rounded-full text-white transition-all backdrop-blur-sm","aria-label":"Close",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]})]},em.id)}),to&&(0,t.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation(),tc()},className:`${m} left-2 md:-left-16`,"aria-label":"Previous",children:(0,t.jsx)(o.FaChevronLeft,{className:x})}),tn&&(0,t.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation(),th()},disabled:td,className:`${m} right-2 md:-right-16`,"aria-label":"Next",children:td?(0,t.jsx)("span",{className:`block ${x} rounded-full border-2 border-white/30 border-t-white animate-spin`}):(0,t.jsx)(o.FaChevronRight,{className:x})})]})]}),(0,t.jsx)(k,{isOpen:null!==eY,onClose:()=>eW(null),song:eY,t:e,trackClick:tr,sourceTag:em?`img:${em.id}`:"photos"})]})}var $=e.i(984828);let P=`
8.neon-spotify { box-shadow: 0 0 10px rgba(30,185,84,0.6), 0 0 25px rgba(30,185,84,0.3), 0 0 50px rgba(30,185,84,0.12); }
9.neon-apple { box-shadow: 0 0 10px rgba(255,255,255,0.35), 0 0 25px rgba(255,255,255,0.15), 0 0 50px rgba(255,255,255,0.05); }
10.neon-youtube { box-shadow: 0 0 10px rgba(255,0,0,0.6), 0 0 25px rgba(255,0,0,0.3), 0 0 50px rgba(255,0,0,0.12); }
11.neon-facebook { box-shadow: 0 0 10px rgba(24,119,242,0.6), 0 0 25px rgba(24,119,242,0.3), 0 0 50px rgba(24,119,242,0.12); }
12.neon-instagram { box-shadow: 0 0 10px rgba(225,48,108,0.6), 0 0 25px rgba(225,48,108,0.3), 0 0 50px rgba(225,48,108,0.12); }
13`;function L({href:e,onClick:a,bg:r,glowClass:l,children:s,title:o}){return(0,t.jsx)(i.motion.a,{href:e,target:"_blank",rel:"noopener noreferrer",onClick:a,title:o,className:`relative p-2.5 md:p-3 rounded-full ${l}`,style:{backgroundColor:r},whileHover:{scale:1.15},whileTap:{scale:.92},transition:{type:"spring",stiffness:400,damping:15},children:s})}function F({t:e,locale:p,initialVideos:_,initialHasMore:N,surface:C,initialChannel:S,onSwitchToPhotos:M}){let T=void 0!==C,A="art"===C,D="memes"===C,B=A?(0,j.hqUrl)(p):"en"===p?"/":`/${p}`,E=A?"/":D?"/memes":"/videos",U=A?(0,j.artPath)(p):D?(0,j.memesPath)(p):"en"===p?"/videos":`/${p}/videos`,[q,I]=(0,a.useState)(_),[O,R]=(0,a.useState)(!1),[V,H]=(0,a.useState)(!1),[z,Y]=(0,a.useState)(N),[W,J]=(0,a.useState)("newest"),[G,K]=(0,a.useState)("shorts"),[X,Z]=(0,a.useState)(S&&(A?"djhq"!==S:!A)?S:A?"waifus":"djhq"),[Q,ee]=(0,a.useState)(null),[et,ea]=(0,a.useState)(null),[ei,er]=(0,a.useState)(null),[el,es]=(0,a.useState)(!1),eo=(0,a.useRef)(!1),en=(0,a.useRef)(null),[ed,ec]=(0,a.useState)(0),[eh,eu]=(0,a.useState)(w),[ep,em]=(0,a.useState)({}),[ex,eb]=(0,a.useState)(!0),[eg,ew]=(0,a.useState)(""),[ef,ev]=(0,a.useState)(""),[ej,ey]=(0,a.useState)(null),[ek,e_]=(0,a.useState)(null),eN=(0,a.useRef)(null),eC=(0,a.useRef)(!0);(0,a.useEffect)(()=>
13{if(D)return;let e=new URLSearchParams(window.location.search).get("channel");"lorelai"!==e&&("waifus"!==e||A)||(I([]),Z(e))},[]),(0,a.useEffect)(()=>{let e=new URL(window.location.href);"lorelai"===X?e.searchParams.set("channel","lorelai"):"waifus"!==X||A?e.searchParams.delete("channel"):e.searchParams.set("channel","waifus"),window.history.replaceState({},"",e.pathname+e.search)},[X]),(0,a.useEffect)(()=>{let e=setTimeout(()=>ev(eg),300);return()=>clearTimeout(e)},[eg]);let eS=(0,a.useCallback)(async(e=0,t=!1)=>{0===e?R(!0):H(!0);try{let a=new URLSearchParams({sort:W,offset:e.toString(),type:G,locale:p});"lorelai"===X?a.set("channel","Lorelai"):(a.set("channel","Daddy Jim Headquarters"),"waifus"===X&&a.set("playlist","waifus")),Q&&a.set("tag",Q),"djhq"===X&&et&&a.set("playlist",et),ef.trim().length>=2&&a.set("search",ef.trim());let i=await fetch(`/api/videos?${a}`),r=await i.json();t?I(e=>[...e,...r.videos]):I(r.videos),Y(r.hasMore)}catch(e){console.error("Failed to fetch videos:",e)}finally{R(!1),H(!1)}},[W,G,Q,et,ef,X]);(0,a.useEffect)(()=>{if(eC.current){eC.current=!1;return}eS(0)},[eS]),(0,a.useEffect)(()=>(es(!1),ei?(document.documentElement.style.overflowY="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflowY="",document.body.style.overflow="",ey(null)),()=>{document.documentElement.style.overflowY="",document.body.style.overflow=""}),[ei]),(0,a.useEffect)(()=>{if(!ei?.apple_music_url)return;let e=!1;return fetch(`/api/preview?apple_url=${encodeURIComponent(ei.apple_music_url)}`).then(e=>e.ok?e.json():null).then(t=>{!e&&t?.purchaseUrl&&ey(t.purchaseUrl)}).catch(()=>{}),()=>{e=!0}},[ei?.video_id,ei?.apple_music_url]),(0,a.useEffect)(()=>{let e=eN.current;if(!e)return;let t=new IntersectionObserver(([e])=>eb(e.isIntersecting),{threshold:0});return t.observe(e),()=>t.disconnect()},[]);let e$=(e,t,a)=>{fetch("/api/track",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({link_type:e,link_name:t,link_url:a,page:E,language:p,session_id:sessionStorage.getItem("analytics_session_id"),placement:A?"art-videos-tab":D?"memes-videos-tab":"videos-page"})}).catch(()=>{})},eP=(e,t=0)=>{let a=e.cdn_mp4_url||`https://youtube.com/watch?v=${e.video_id}`;e$("video",e.title,a),ec(t),er(e)},eL=ei?q.findIndex(e=>e.id===ei.id):-1,eF=eL>0,eM=eL>=0&&(eL<q.length-1||z),eT=V&&eL===q.length-1,eA=eL>=0&&!el,eD=()=>{eF&&eP(q[eL-1],-1)},eB=()=>{eL<0||(eL<q.length-1?eP(q[eL+1],1):z&&!V&&(eo.current=!0,eS(q.length,!0)))};(0,a.useEffect)(()=>{if(!eo.current||!ei)return;let e=q.findIndex(e=>e.id===ei.id);e>=0&&e+1<q.length?(eo.current=!1,eP(q[e+1],1)):V||(eo.current=!1)},[q,V]),(0,a.useEffect)(()=>{if(!ei||!eA)return;let e=e=>{"ArrowLeft"===e.key?(e.preventDefault(),eD()):"ArrowRight"===e.key&&(e.preventDefault(),eB())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[ei,eA,q,z,V]);let eE=function({onPrev:e,onNext:t}){let i=(0,a.useRef)(null);return{onTouchStart:e=>{if(1!==e.touches.length){i.current=null;return}let t=e.touches[0],a=e.target?.closest?.("video");if(a){let e=a.getBoundingClientRect();if(t.clientY>e.bottom-72){i.current=null;return}}i.current={x:t.clientX,y:t.clientY,t:Date.now()}},onTouchEnd:a=>{let r=i.current;if(i.current=null,!r)return;let l=a.changedTouches[0];if(!l)return;let s=l.clientX-r.x,o=l.clientY-r.y;50>Math.abs(s)||Math.abs(s)<1.5*Math.abs(o)||Date.now()-r.t>800||(s<0?t():e())}}}({onPrev:eD,onNext:eB});return f(en,null!==ei),(0,t.jsxs)("div",{className:"w-full max-w-4xl mx-auto px-4 py-4",children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:P}}),(0,t.jsxs)(i.motion.div,{className:"relative text-center mb-4 pt-16 pb-4 px-8 rounded-2xl bg-black/90 backdrop-blur-[2px]",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.5},children:[A?(0,t.jsxs)("a",{href:(0,j.hqUrl)(p),"aria-label":e.wikiBackButton||"Back",onClick:()=>e$("other","Back",(0,j.hqUrl)(p)),className:"absolute top-3 left-3 z-10 flex items-center gap-2 px-3 py-2 rounded-lg bg-black/60 backdrop-blur-sm border border-white/20 text-white/80 hover:text-white hover:bg-black/80 transition-colors text-sm",children:[(0,t.jsx)(o.FaArrowLeft,{className:"text-xs"}),(0,t.jsx)("span",{children:e.wikiBackButton||"Back"})]}):(0,t.jsxs)(d.default,{href:B,ariaLabel:e.wikiBackButton||"Back",onNavigate:()=>e$("other","Back","/"),className:"absolute top-3 left-3 z-10 flex items-center gap-2 px-3 py-2 rounded-lg bg-black/60 backdrop-blur-sm border border-white/20 text-white/80 hover:text-white hover:bg-black/80 transition-colors text-sm",children:[(0,t.jsx)(o.FaArrowLeft,{className:"text-xs"}),(0,t.jsx)("span",{children:e.wikiBackButton||"Back"})]}),(0,t.jsx)("div",{className:"absolute top-2 right-2 md:top-3 md:right-3 z-50 scale-90 md:scale-100",children:(0,t.jsx)(c.default,{})}),D?(0,t.jsx)("h1",{className:"text-4xl md:text-5xl font-black text-white drop-shadow-[0_2px_10px_rgba(0,0,0,0.8)]",children:e.memesH1||"Anime Memes"}):T?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("img",{src:"https://cdn.daddyjim.com/art/daddy-jim-waifus-banner-v1.webp",alt:e.artPageTitle||"Daddy Jim Waifus",className:"w-full rounded-xl ring-1 ring-white/15 shadow-lg",width:1376,height:768}),(0,t.jsx)("h1",{className:"sr-only",children:e.artPageTitle||"Daddy Jim Waifus"})]}):(0,t.jsx)("h1",{className:"text-4xl md:text-5xl font-black text-white drop-shadow-[0_2px_10px_rgba(0,0,0,0.8)]",children:e.videosTitle||"Videos"}),(0,t.jsx)("p",{className:"text-xl md:text-3xl text-white mt-2 font-light tracking-wide drop-shadow-[0_2px_8px_rgba(0,0,0,0.9)]",children:e.videosSubtext||"Music videos, shorts, and everything in between"}),(0,t.jsx)(h.default,{locale:p,page:E}),(0,t.jsx)(u.default,{locale:p}),(0,t.jsx)(y.default,{items:[{label:e.videosLinkTitle||"Videos",href:U}]})]}),A&&(0,t.jsx)(i.motion.div,{className:"mb-4",initial:{opacity:0,y:10}
13,animate:{opacity:1,y:0},transition:{delay:.05,duration:.4},children:(0,t.jsxs)("a",{href:(0,j.hqUrl)(p),onClick:()=>e$("nav","Daddy Jim Headquarters plug",(0,j.hqUrl)(p)),className:"group relative overflow-hidden rounded-xl p-4 flex items-center gap-4 text-white transition-all duration-300 cursor-pointer block",style:{background:"linear-gradient(135deg, #7C3AED, #9333EA, #6366F1)",boxShadow:"0 0 10px rgba(124,58,237,0.6), 0 0 25px rgba(147,51,234,0.35)"},children:[(0,t.jsx)("div",{className:"shrink-0 w-[64px] h-[64px] md:w-20 md:h-20 rounded-xl overflow-hidden ring-2 ring-white/30 shadow-lg",children:(0,t.jsx)(s.default,{src:"https://cdn.daddyjim.com/coverart/mr-popo-took-your-girl.webp",alt:"Daddy Jim Headquarters",width:80,height:80,className:"w-full h-full object-cover"})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("div",{className:"font-black text-lg md:text-2xl",children:e.artHqPlugTitle||"Daddy Jim Headquarters"}),(0,t.jsx)("div",{className:"text-sm md:text-base text-white/80 leading-snug",children:e.artHqPlugSub||"Music, memes, and anime wikis"})]}),(0,t.jsx)("div",{className:"absolute inset-0 bg-white/10 opacity-0 group-hover:opacity-100 transition-opacity"})]})}),(0,t.jsxs)(i.motion.div,{ref:eN,className:"mb-4 rounded-xl bg-black/90 backdrop-blur-sm p-3",initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.1,duration:.4},children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-2 mb-3 pb-3 border-b border-white/10",children:[T?(0,t.jsxs)("button",{type:"button",onClick:()=>{e$("nav",`Switch to Photos (${X})`,E),M?.(X)},className:"flex items-center justify-center gap-1.5 md:gap-2 py-2 rounded-lg text-xs md:text-sm font-bold text-white/80 hover:text-white bg-white/10 hover:bg-white/15 ring-1 ring-white/15 transition-all",children:[(0,t.jsx)(o.FaImages,{className:"w-3.5 h-3.5 md:w-4 md:h-4"}),(0,t.jsx)("span",{children:e.photosLinkTitle||"Photos"})]}):(0,t.jsxs)(l.default,{href:"en"===p?`/photos${"lorelai"===X?"?c=lorelai":"djhq"===X?"?c=headquarters":""}`:`/${p}/photos${"lorelai"===X?"?c=lorelai":"djhq"===X?"?c=headquarters":""}`,onClick:()=>e$("nav",`Switch to Photos (${X})`,"/photos"),className:"flex items-center justify-center gap-1.5 md:gap-2 py-2 rounded-lg text-xs md:text-sm font-bold text-white/80 hover:text-white bg-white/10 hover:bg-white/15 ring-1 ring-white/15 transition-all",children:[(0,t.jsx)(o.FaImages,{className:"w-3.5 h-3.5 md:w-4 md:h-4"}),(0,t.jsx)("span",{children:e.photosLinkTitle||"Photos"})]}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-1.5 md:gap-2 py-2 rounded-lg text-xs md:text-sm font-bold text-white shadow-lg ring-2 ring-white/40",style:{background:"linear-gradient(135deg, #0EA5E9, #2563EB)"},children:[(0,t.jsx)(o.FaVideo,{className:"w-3.5 h-3.5 md:w-4 md:h-4"}),(0,t.jsx)("span",{children:e.videosLinkTitle||"Videos"})]})]}),!D&&(0,t.jsxs)("div",{className:"flex gap-2 items-center justify-center mb-3 pb-3 border-b border-white/10",children:[!A&&(0,t.jsx)("button",{onClick:()=>{e$("filter","Channel: DJHQ","/videos"),Z("djhq"),ee(null),ea(null)},className:`px-4 py-2 rounded-full text-sm font-semibold transition-all border ${"djhq"===X?"bg-purple-600 text-white border-purple-600":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:e.channelDaddyJim||"Daddy Jim HQ"}),(0,t.jsx)("button",{onClick:()=>{e$("filter","Channel: Waifus","/videos"),Z("waifus"),ee(null),ea(null)},className:`px-4 py-2 rounded-full text-sm font-semibold transition-all border ${"waifus"===X?"bg-fuchsia-600 text-white border-fuchsia-600":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:e.channelWaifus||"Waifus"}),(0,t.jsx)("button",{onClick:()=>{e$("filter","Channel: Lorelai","/videos"),Z("lorelai"),ee(null),ea(null)},className:`px-4 py-2 rounded-full text-sm font-semibold transition-all border ${"lorelai"===X?"bg-pink-600 text-white border-pink-600":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:e.channelLorelai||"Lorelai"})]}),(0,t.jsxs)("div",{className:"flex gap-1.5 md:gap-2 items-center justify-center flex-wrap",children:[(0,t.jsx)("button",{onClick:()=>{e$("filter","Sort: Newest","/videos"),J("newest")},className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border ${"newest"===W?"bg-purple-600 text-white border-purple-600":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:e.newest||"Newest"}),(0,t.jsx)("button",{onClick:()=>{e$("filter","Sort: Oldest","/videos"),J("oldest")},className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border ${"oldest"===W?"bg-purple-600 text-white border-purple-600":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:e.oldest||"Oldest"}),(0,t.jsx)("button",{onClick:()=>{e$("filter","Sort: Popular","/videos"),J("popular")},className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border ${"popular"===W?"bg-purple-600 text-white border-purple-600":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:e.popular||"Popular"}),(0,t.jsx)("div",{className:"w-px h-5 bg-white/20"}),["all","shorts","videos"].map(a=>(0,t.jsx)("button",{onClick:()=>{e$("filter","Video Type: "+("all"===a?"All":"videos"===a?"Videos":"Shorts"),"/videos"),K(a)},className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border whitespace-nowrap ${G===a?"bg-purple-600 text-white border-purple-600":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:"all"===a?e.filterAll||"All":"videos"===a?e.videosLabel||"Videos":e.shortsLabel||"Shorts"},a))]}),"djhq"===X&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"h-px w-full bg-white/10 my-2"}),(0,t.jsxs)("div",{className:"flex gap-1.5 md:gap-2 items-center justify-center flex-wrap",children:[[{tag:"mr-popo",label:e.tagMrPopo||"Mr. Popo"},{tag:"throwback",label:e.throwbackTag||"Throwback"}].map(e=>(0,t.jsx)("button",{onClick:()=>
13{e$("filter","Video Tag: "+e.label,"/videos"),ea(null),ee(Q===e.tag?null:e.tag)},className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border whitespace-nowrap ${Q===e.tag?"bg-purple-600 text-white border-purple-600":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:e.label},e.tag)),[{id:"music-videos",label:e.videoFullMusicVideo||"Full Music Video"},{id:"lyric-videos",label:e.videoLyricsVideo||"Lyrics Video"}].map(e=>(0,t.jsx)("button",{onClick:()=>{e$("filter","Video Playlist: "+e.label,"/videos"),ee(null);let t=et===e.id?null:e.id;ea(t),t&&K("all")},className:`px-3 py-1.5 rounded-full text-xs font-semibold transition-all border whitespace-nowrap ${et===e.id?"bg-purple-600 text-white border-purple-600":"bg-white/15 text-white border-white/30 hover:bg-white/25"}`,children:e.label},e.id))]})]})]}),(0,t.jsx)(i.motion.div,{className:"mb-4 rounded-xl bg-black/90 backdrop-blur-sm p-3",initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.15,duration:.4},children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("svg",{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-white/40 pointer-events-none",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-4.35-4.35M17 11A6 6 0 1 1 5 11a6 6 0 0 1 12 0z"})}),(0,t.jsx)("input",{type:"text",value:eg,onChange:e=>ew(e.target.value),placeholder:e.searchAllVideos||"Search all videos",className:"w-full pl-9 pr-4 py-2 rounded-lg bg-white/10 border border-white/20 text-white placeholder-white/40 text-sm focus:outline-none focus:border-white/40 focus:bg-white/15 transition-colors"}),eg&&(0,t.jsx)("button",{onClick:()=>ew(""),className:"absolute right-3 top-1/2 -translate-y-1/2 text-white/40 hover:text-white/70 text-sm",children:"✕"})]})}),O?(0,t.jsx)("div",{dir:"ltr",className:"grid grid-cols-2 md:grid-cols-3 gap-2 md:gap-3",children:Array.from({length:8}).map((e,a)=>(0,t.jsx)("div",{className:`${"shorts"===G?"aspect-[9/16]":"aspect-video"} rounded-xl bg-white/10 animate-pulse`},a))}):0===q.length?(0,t.jsx)("div",{className:"text-center py-16 rounded-2xl bg-black/80 backdrop-blur-sm",children:"lorelai"===X?(0,t.jsx)("p",{className:"text-white text-3xl md:text-4xl font-bold",children:e.lorelaiComingSoon||"Coming Soon"}):(0,t.jsx)("p",{className:"text-white/50 text-lg",children:e.noVideosYet||"No videos yet. Check back soon!"})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{dir:"ltr",className:"grid grid-cols-2 md:grid-cols-3 gap-2 md:gap-3",children:q.map((e,a)=>(0,t.jsxs)(i.motion.div,{className:"relative group cursor-pointer rounded-xl overflow-hidden bg-white/10 self-start",initial:{opacity:0}
13,animate:{opacity:1},transition:{delay:Math.min(.03*a,.3),duration:.3},onClick:()=>eP(e),children:[e.cdn_poster_url||e.thumbnail_high_url||e.thumbnail_url?(0,t.jsxs)(t.Fragment,{children:[!ep[e.id]&&(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-white/10",children:(0,t.jsx)("div",{className:"w-8 h-8 rounded-full border-2 border-white/20 border-t-white/70 animate-spin"})}),(0,t.jsx)(s.default,{src:e.cdn_poster_url||e.thumbnail_high_url||e.thumbnail_url,alt:e.title,width:e.is_short?270:480,height:e.is_short?480:270,unoptimized:!0,className:`w-full ${e.is_short?"aspect-[9/16]":"aspect-video"} object-cover rounded-xl transition-opacity duration-300 ${ep[e.id]?"opacity-100":"opacity-0"}`,onLoad:()=>{var t;return t=e.id,void em(e=>e[t]?e:{...e,[t]:!0})}})]}):e.cdn_mp4_url?(0,t.jsx)("video",{src:`${e.cdn_mp4_url}#t=0.1`,poster:e.cdn_poster_url||void 0,muted:!0,playsInline:!0,preload:"metadata",className:`w-full ${e.is_short?"aspect-[9/16]":"aspect-video"} object-cover rounded-xl bg-black`}):(0,t.jsx)("div",{className:`${e.is_short?"aspect-[9/16]":"aspect-video"} bg-black/40 rounded-xl flex items-center justify-center`,children:(0,t.jsx)(o.FaPlay,{className:"text-white/30 text-3xl"})}),(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity",children:(0,t.jsx)("div",{className:"w-12 h-12 bg-black/80 rounded-full flex items-center justify-center backdrop-blur-sm",children:(0,t.jsx)(o.FaPlay,{className:"text-white text-lg ml-1"})})}),(0,t.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/90 to-transparent p-2 pt-6",children:[(0,t.jsx)("p",{className:"text-white text-base md:text-lg font-semibold leading-tight line-clamp-2",children:e.title}),(0,t.jsx)("p",{className:"text-white/50 text-sm md:text-base mt-0.5",children:new Date(e.published_at).toLocaleDateString(p,{month:"short",day:"numeric",year:"numeric",timeZone:"UTC"})})]})]},e.id))}),z&&(0,t.jsx)("div",{className:"flex justify-center mt-6",children:(0,t.jsx)("button",{onClick:()=>{e$("other","Load More Videos","/videos"),eS(q.length,!0)},disabled:V,className:"px-8 py-3 rounded-full text-white font-semibold transition-all cursor-pointer hover:brightness-125",style:{background:"linear-gradient(135deg, #7C3AED, #6D28D9)"},children:V?e.loading||"Loading...":e.loadMore||"Load More"})})]}),(0,t.jsx)(r.AnimatePresence,{children:!ex&&!ei&&(0,t.jsx)(i.motion.button,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.2},onClick:()=>eN.current?.scrollIntoView({behavior:"smooth",block:"center"}),className:"fixed top-4 right-4 z-50 p-3 bg-black/80 backdrop-blur-sm rounded-full text-white shadow-lg ring-1 ring-white/20 hover:bg-black/90 hover:ring-white/40 transition-all","aria-label":"Scroll to filters",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})})})}),(0,t.jsx)(v.default,{locale:p,page:E,surface:C}),(0,t.jsx)("div",{className:"fixed bottom-0 left-0 right-0 h-32 bg-gradient-to-t from-purple-900/50 to-transparent pointer-events-none"}),ei&&(0,t.jsx)("div",{ref:en,className:"fixed inset-0 z-[100] flex items-center justify-center overscroll-contain bg-black/95 pb-6 md:pb-0",onClick:()=>er(null),onTouchStart:eE.onTouchStart,onTouchEnd:eE.onTouchEnd,children:(0,t.jsxs)("div",{className:`relative mx-4 md:mx-20 ${ei.is_short?"w-full max-w-sm":"w-full max-w-4xl"}`,onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(r.AnimatePresence,{mode:"popLayout",custom:ed,children:(0,t.jsx)(i.motion.div,{className:"w-full",custom:ed,variants:b,initial:"enter",animate:"center",exit:"exit",children:(0,t.jsx)("div",{className:`relative w-full ${ei.is_short?"aspect-[9/16]":"aspect-video"} rounded-xl overflow-hidden bg-black`,children:ei.cdn_mp4_url?(0,t.jsx)("video",{src:ei.cdn_mp4_url,poster:ei.cdn_poster_url||void 0,controls:!0,autoPlay:!0,playsInl
13ine:!0,muted:eh,onVolumeChange:e=>{let t=e.currentTarget.muted;if(t!==eh){eu(t);try{localStorage.setItem(g,t?"1":"0")}catch{}}},onPlay:()=>{es(!0),e$("video-play",ei.title,ei.cdn_mp4_url||"")},onPause:()=>es(!1),onEnded:()=>es(!1),className:"absolute inset-0 w-full h-full object-contain"},ei.id):(0,t.jsx)("iframe",{src:`https://www.youtube.com/embed/${ei.video_id}?autoplay=1&rel=0`,title:ei.title,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 w-full h-full"},ei.id)})},ei.id)}),eF&&(0,t.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation(),eD()},className:`${m} left-2 md:-left-16 duration-300 ${eA?"opacity-100":"opacity-0 pointer-events-none"}`,"aria-label":"Previous","aria-hidden":!eA,children:(0,t.jsx)(o.FaChevronLeft,{className:x})}),eM&&(0,t.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation(),eB()},disabled:eT,className:`${m} right-2 md:-right-16 duration-300 ${eA?"opacity-100":"opacity-0 pointer-events-none"}`,"aria-label":"Next","aria-hidden":!eA,children:eT?(0,t.jsx)("span",{className:`block ${x} rounded-full border-2 border-white/30 border-t-white animate-spin`}):(0,t.jsx)(o.FaChevronRight,{className:x})})]}),(0,t.jsx)("div",{className:"mt-3 px-1",children:(0,t.jsx)("div",{className:"flex items-center justify-center gap-3 md:gap-4",children:(0,t.jsx)("div",{className:"flex items-center gap-3 md:gap-4",children:"lorelai"===X?(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("a",{href:"https://x.com/DaddyJimWaifus",target:"_blank",rel:"noopener noreferrer",onClick:e=>{e.stopPropagation(),e$("social",`Lorelai X (vid:${ei.video_id})`,"https://x.com/DaddyJimWaifus")},className:"flex items-center gap-3 md:gap-4 min-w-0 text-left cursor-pointer rounded-xl px-2.5 py-1.5 ring-1 ring-pink-300/30 hover:ring-pink-300/60 transition-all",children:[(0,t.jsx)("span",{className:"shrink-0 w-10 h-10 md:w-12 md:h-12 rounded-md overflow-hidden ring-1 ring-pink-300/40 block",children:(0,t.jsx)(s.default,{src:"/icons/lorelai/web-app-manifest-192x192-v4.png",alt:"Lorelai",width:48,height:48,className:"w-full h-full object-cover"})}),(0,t.jsxs)("span",{className:"min-w-0 block",children:[(0,t.jsx)("span",{className:"block text-pink-200/70 text-[9px] md:text-[10px] uppercase tracking-wider",children:e.lorelaiLightboxLabel||"Come say hi"}),(0,t.jsx)("span",{className:"block text-white text-[11px] md:text-sm font-semibold leading-tight truncate",children:e.lorelaiLightboxTitleX||"Follow me on X"})]}),(0,t.jsx)("span",{className:"shrink-0 w-8 h-8 md:w-9 md:h-9 rounded-md flex items-center justify-center",style:{background:"#000000"},children:(0,t.jsx)($.FaXTwitter,{size:18,color:"#ffffff"})})]})}):(0,t.jsxs)(t.Fragment,{children:[ei.release_title&&(0,t.jsxs)("button",{type:"button",onClick:e=>{e.stopPropagation(),e_({release_title:ei.release_title,cover_art_url:ei.cover_art_url,about:ei.release_about,creator_notes:ei.release_creator_notes,apple_music_url:ei.apple_music_url,itunes_purchase_url:ej,spotify_url:ei.spotify_url,youtube_url:ei.release_youtube_url}),e$("music-modal",`Song Modal Open: ${ei.release_title} (vid:${ei.video_id})`,"/videos#song-modal")},"aria-label":e.openSongModal||ei.release_title,className:"flex items-center gap-3 md:gap-4 min-w-0 text-left cursor-pointer",children:[ei.cover_art_url&&(0,t.jsx)("span",{className:"shrink-0 w-10 h-10 md:w-12 md:h-12 rounded-md overflow-hidden ring-1 ring-white/20 block",children:(0,t.jsx)(s.default,{src:ei.cover_art_url,alt:ei.release_title,width:40,height:40,className:"w-full h-full object-cover"})}),(0,t.jsx)("span",{className:"min-w-0 block",children:(0,t.jsx)("span",{className:"block text-white text-[11px] md:text-sm font-semibold leading-tight line-clamp-2",children:ei.release_title})})]}),ei.spotify_url||ei.apple_music_url||ei.release_youtube_url?(0,t.jsxs)(t.Fragment,{children:[ei.apple_music_url&&(0,t.jsx)(L,{href:ei.apple_music_url,onClick:e=>{e.stopPropagation(),e$("music",`Apple Music: ${ei.release_title||"Stream"} (vid:${ei.video_id})`,ei.apple_music_url)}
13,bg:"#000000",glowClass:"neon-apple",title:"Apple Music",children:(0,t.jsx)(o.FaApple,{className:"w-5 h-5 text-white"})}),ej&&(0,t.jsx)(i.motion.a,{href:ej,target:"_blank",rel:"noopener noreferrer",onClick:e=>{e.stopPropagation(),e$("music",`iTunes Purchase: ${ei.release_title||"Stream"} (vid:${ei.video_id})`,ej)},title:"Buy on iTunes",className:"relative p-2.5 md:p-3 rounded-full border-2 border-[#D12D8C]",style:{backgroundColor:"#FFFFFF"},whileHover:{scale:1.15},whileTap:{scale:.92},transition:{type:"spring",stiffness:400,damping:15},children:(0,t.jsx)(o.FaItunesNote,{className:"w-5 h-5 text-[#D12D8C]"})}),ei.spotify_url&&(0,t.jsx)(L,{href:ei.spotify_url,onClick:e=>{e.stopPropagation(),e$("music",`Spotify: ${ei.release_title||"Stream"} (vid:${ei.video_id})`,ei.spotify_url)},bg:"#1DB954",glowClass:"neon-spotify",title:"Spotify",children:(0,t.jsx)(o.FaSpotify,{className:"w-5 h-5 text-white"})}),ei.release_youtube_url&&(0,t.jsx)(L,{href:ei.release_youtube_url,onClick:e=>{e.stopPropagation(),e$("music",`YouTube Music: ${ei.release_title||"Stream"} (vid:${ei.video_id})`,ei.release_youtube_url)},bg:"#FF0000",glowClass:"neon-youtube",title:"YouTube Music",children:(0,t.jsx)(n.SiYoutubemusic,{"aria-hidden":"true",className:"w-5 h-5 text-white"})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"shrink-0 w-10 h-10 md:w-12 md:h-12 rounded-md overflow-hidden ring-1 ring-white/20",children:(0,t.jsx)(s.default,{src:"/images/djhq-mascot-v6.webp",alt:e.siteBrandName||"Daddy Jim Headquarters",width:48,height:48,className:"w-full h-full object-cover"})}),(0,t.jsx)("div",{className:"min-w-0",children:(0,t.jsx)("p",{className:"text-white text-[11px] md:text-sm font-semibold leading-tight",children:e.findOurMusic||"Find our music"})}),(0,t.jsx)(L,{href:"https://music.apple.com/us/artist/daddy-jim-headquarters/1857579375",onClick:e=>{e.stopPropagation(),e$("music",`Apple Music (generic) (vid:${ei.video_id})`,"https://music.apple.com/us/artist/daddy-jim-headquarters/1857579375")}
13,bg:"#000000",glowClass:"neon-apple",title:"Apple Music",children:(0,t.jsx)(o.FaApple,{className:"w-5 h-5 text-white"})}),(0,t.jsx)(i.motion.a,{href:"https://music.apple.com/us/artist/daddy-jim-headquarters/1857579375?uo=4",target:"_blank",rel:"noopener noreferrer",onClick:e=>{e.stopPropagation(),e$("music",`iTunes (generic) (vid:${ei.video_id})`,"https://music.apple.com/us/artist/daddy-jim-headquarters/1857579375?uo=4")},title:"Buy on iTunes",className:"relative p-2.5 md:p-3 rounded-full border-2 border-[#D12D8C]",style:{backgroundColor:"#FFFFFF"},whileHover:{scale:1.15},whileTap:{scale:.92},transition:{type:"spring",stiffness:400,damping:15},children:(0,t.jsx)(o.FaItunesNote,{className:"w-5 h-5 text-[#D12D8C]"})}),(0,t.jsx)(L,{href:"https://open.spotify.com/artist/7v2RBdUCq3TugxENKDraYb",onClick:e=>{e.stopPropagation(),e$("music",`Spotify (generic) (vid:${ei.video_id})`,"https://open.spotify.com/artist/7v2RBdUCq3TugxENKDraYb")},bg:"#1DB954",glowClass:"neon-spotify",title:"Spotify",children:(0,t.jsx)(o.FaSpotify,{className:"w-5 h-5 text-white"})}),(0,t.jsx)(L,{href:"https://music.youtube.com/channel/UC78Ja6xIABcKspgiCsegZWA",onClick:e=>{e.stopPropagation(),e$("music",`YouTube Music (generic) (vid:${ei.video_id})`,"https://music.youtube.com/channel/UC78Ja6xIABcKspgiCsegZWA")},bg:"#FF0000",glowClass:"neon-youtube",title:"YouTube Music",children:(0,t.jsx)(n.SiYoutubemusic,{"aria-hidden":"true",className:"w-5 h-5 text-white"})})]})]})})})}),(0,t.jsxs)("div",{className:"absolute top-2 right-2 md:top-3 md:right-3 flex items-center gap-2",children:[(0,t.jsx)("button",{onClick:e=>{e.stopPropagation(),e$("share",`Share Video: ${ei.title}`,"/videos");let t=ei.cdn_mp4_url||`https://youtube.com/watch?v=${ei.video_id}`;navigator.share?navigator.share({title:ei.title,url:t}).catch(()=>{}):navigator.clipboard.writeText(t).then(()=>alert("Link copied!")).catch(()=>{})},className:"p-2.5 bg-black/70 hover:bg-purple-600 rounded-full text-white transition-all backdrop-blur-sm","aria-label":"Share",children:(0,t.jsx)("svg",{className:"w-4 h-4 md:w-5 md:h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 110-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 105.367-2.684 3 3 0 00-5.367 2.684zm0 9.316a3 3 0 105.368 2.684 3 3 0 00-5.368-2.684z"})})}),(0,t.jsx)("button",{onClick:()=>er(null),className:"p-2.5 bg-black/70 hover:bg-white/30 rounded-full text-white transition-all backdrop-blur-sm","aria-label":"Close",children:(0,t.jsx)("svg",{className:"w-4 h-4 md:w-5 md:h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]})]})}),(0,t.jsx)(k,{isOpen:null!==ek,onClose:()=>e_(null),song:ek,t:e,trackClick:e$,sourceTag:ei?`vid:${ei.video_id}`:"videos"})]})}e.s(["default",0,function({surface:e,t:i,locale:r,initialImages:l,initialHasMore:s,collections:o,initialVideos:n,initialVideosHasMore:d}){let[c,h]=(0,a.useState)(()=>{let e=new URLSearchParams(window.location.search);return"videos"===e.get("tab")||e.has("channel")?"videos":"photos"}),[u,p]=(0,a.useState)(void 0),m=e=>{h(e);{let t=new URL(window.location.href);"videos"===e?t.searchParams.set("tab","videos"):t.searchParams.delete("tab"),window.history.replaceState({},"",t.pathname+t.search),window.scrollTo({top:0})}};if("videos"===c)return(0,t.jsx)(F,{t:i,locale:r,initialVideos:n,initialHasMore:d,surface:e,initialChannel:"anime-art"===u?"waifus":"lorelai"===u?"lorelai":"headquarters"===u?"djhq":void 0,onSwitchToPhotos:e=>{p("waifus"===e?"anime-art":"lorelai"===e?"lorelai":"headquarters"),m("photos")}});return(0,t.jsx)(S,{t:i,locale:r,initialImages:l,initialHasMore:s,collections:o,initialCollection:u,surface:e,onSwitchToVideos:e=>{p(e),m("videos")}})}],674145)}]);

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.