1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,7245,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={assign:function(){return i},searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return l}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});function o(e){let t={};for(let[r,a]of e.entries()){let e=t[r];void 0===e?t[r]=a:Array.isArray(e)?e.push(a):t[r]=[e,a]}return t}function s(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function l(e){let t=new URLSearchParams;for(let[r,a]of Object.entries(e))if(Array.isArray(a))for(let e of a)t.append(r,s(e));else t.set(r,s(a));return t}function i(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,a]of r.entries())e.append(t,a)}return e}},98477,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={formatUrl:function(){return l},formatWithValidation:function(){return d},urlObjectKeys:function(){return i}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o=e.r(44066)._(e.r(7245)),s=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,a=e.protocol||"",n=e.pathname||"",l=e.hash||"",i=e.query||"",d=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?d=t+e.host:r&&(d=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(d+=":"+e.port)),i&&"object"==typeof i&&(i=String(o.urlQueryToSearchParams(i)));let c=e.search||i&&`?${i}`||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||s.test(a))&&!1!==d?(d="//"+(d||""),n&&"/"!==n[0]&&(n="/"+n)):d||(d=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),n=n.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${a}${d}${n}${c}${l}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function d(e){return l(e)}},27384,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={DecodeError:function(){return x},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return v},NormalizeError:function(){return g},PageNotFoundError:function(){return y},SP:function(){return b},ST:function(){return p},WEB_VITALS:function(){return o},execOnce:function(){return s},getDisplayName:function(){return u},getLocationOrigin:function(){return d},getURL:function(){return c},isAbsoluteUrl:function(){return i},isResSent:function(){return f},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return m},stringifyError:function(){return j}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function s(e){let t,r=!1;return(...a)=>(r||(r=!0,t=e(...a)),t)}let l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>l.test(e);function d(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=d();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function m(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let a=await e.getInitialProps(t);if(r&&f(r))return a;if(!a)throw Object.defineProperty(Error(`"${u(e)}.getInitialProps()" should resolve to an object. But found "${a}" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return a}let b="undefined"!=typeof performance,p=b&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class x extends Error{}class g extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function j(e){return JSON.stringify({message:e.message,stack:e.stack})}},51,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return o}});let a=e.r(27384),n=e.r(69334);function o(e){if(!(0,a.isAbsoluteUrl)(e))return!0;try{let t=(0,a.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,n.hasBasePath)(r.pathname)}catch(e){return!1}}},22436,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},91514,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return x},useLinkStatus:function(){return y}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o=e.r(44066),s=e.r(49973),l=o._(e.r(18939)),i=e.r(98477),d=e.r(58447),c=e.r(84764),u=e.r(27384),f=e.r(4646);e.r(9851);let m=e.r(53676),h=e.r(51),b=e.r(44566);function p(e){return"string"==typeof e?e:(0,i.formatUrl)(e)}function x(t){var r;let a,n,o,[i,x]=(0,l.useOptimistic)(m.IDLE_LINK_STATUS),y=(0,l.useRef)(null),{href:v,as:w,children:j,prefetch:N=null,passHref:$,replace:C,shallow:k,scroll:E,onClick:P,onMouseEnter:S,onTouchStart:T,legacyBehavior:O=!1,onNavigate:_,ref:R,unstable_dynamicOnHover:A,...L}=t;a=j,O&&("string"==typeof a||"number"==typeof a)&&(a=(0,s.jsx)("a",{children:a}));let I=l.default.useContext(d.AppRouterContext),M=!1!==N,B=!1!==N?null===(r=N)||"auto"===r?b.FetchStrategy.PPR:b.FetchStrategy.Full:b.FetchStrategy.PPR,{href:F,as:z}=l.default.useMemo(()=>{let e=p(v);return{href:e,as:w?p(w):e}},[v,w]);if(O){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});n=l.default.Children.only(a)}let U=O?n&&"object"==typeof n&&n.ref:R,D=l.default.useCallback(e=>(null!==I&&(y.current=(0,m.mountLinkInstance)(e,F,I,B,M,x)),()=>{y.current&&((0,m.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,m.unmountPrefetchableInstance)(e)}),[M,F,I,B,x]),G={ref:(0,c.useMergedRef)(D,U),onClick(t){O||"function"!=typeof P||P(t),O&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(t),!I||t.defaultPrevented||function(t,r,a,n,o,s,i){if("undefined"!=typeof window){let d,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((d=t.currentTarget.getAttribute("target"))&&"_self"!==d||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(8527);l.default.startTransition(()=>{u(a||r,o?"replace":"push",s??!0,n.current)})}}(t,F,z,y,C,E,_)},onMouseEnter(e){O||"function"!=typeof S||S(e),O&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),I&&M&&(0,m.onNavigationIntent)(e.currentTarget,!0===A)},onTouchStart:function(e){O||"function"!=typeof T||T(e),O&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),I&&M&&(0,m.onNavigationIntent)(e.currentTarget,!0===A)}};return(0,u.isAbsoluteUrl)(z)?G.href=z:O&&!$&&("a"!==n.type||"href"in n.props)||(G.href=(0,f.addBasePath)(z)),o=O?l.default.cloneElement(n,G):(0,s.jsx)("a",{...L,...G,children:a}),(0,s.jsx)(g.Provider,{value:i,children:o})}e.r(22436);let g=(0,l.createContext)(m.IDLE_LINK_STATUS),y=()=>(0,l.useContext)(g);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},99486,e=>{"use strict";async function t(e){if(navigator.clipboard&&"function"==typeof navigator.clipboard.writeText)try{return await navigator.clipboard.writeText(e),!0}catch{}try{let t=document.createElement("textarea");t.value=e,t.style.top="0",t.style.left="0",t.style.position="fixed",t.style.width="2em",t.style.height="2em",t.style.padding="0",t.style.border="none",t.style.outline="none",t.style.boxShadow="none",t.style.background="transparent",t.style.fontSize="16px",document.body.appendChild(t),t.focu
1s(),t.select(),t.setSelectionRange(0,e.length);let r=document.execCommand("copy");return document.body.removeChild(t),r}catch{return!1}}e.s(["copyToClipboard",()=>t])},59544,e=>{"use strict";var t=e.i(49973),r=e.i(18939);let a={primary:"bg-gradient-to-r from-amber-500 to-orange-500 text-black font-bold hover:shadow-lg hover:shadow-amber-500/30 hover:scale-105 active:scale-95",secondary:"bg-white/5 border-2 border-white/20 text-white hover:border-amber-500/50 hover:bg-white/10 hover:scale-105 active:scale-95",ghost:"bg-transparent text-white/60 hover:text-white hover:bg-white/5 hover:scale-105 active:scale-95",danger:"bg-gradient-to-r from-red-500 to-rose-500 text-white font-bold hover:shadow-lg hover:shadow-red-500/30 hover:scale-105 active:scale-95"},n={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"},o=(0,r.forwardRef)(({className:e="",variant:r="primary",size:o="md",isLoading:s,disabled:l,children:i,...d},c)=>(0,t.jsxs)("button",{ref:c,className:`relative inline-flex items-center justify-center font-display font-medium rounded-xl transition-all duration-300 overflow-hidden focus:outline-none focus:ring-2 focus:ring-amber-500 focus:ring-offset-2 focus:ring-offset-[#0a0a0a] disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:scale-100 ${a[r]} ${n[o]} ${e}`,disabled:l||s,...d,children:["primary"===r&&!l&&!s&&(0,t.jsx)("span",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/20 to-transparent -translate-x-full hover:translate-x-full transition-transform duration-700 pointer-events-none animate-shimmer"}),s?(0,t.jsxs)("span",{className:"relative z-10 inline-flex items-center",children:[(0,t.jsxs)("svg",{className:"animate-spin -ml-1 mr-2 h-4 w-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Loading..."]}):(0,t.jsx)("span",{className:"relative z-10",children:i})]}));o.displayName="Button",e.s(["Button",0,o])},72072,e=>{"use strict";var t=e.i(49973),r=e.i(18939);function a({count:e=20,color:a="rgb(245, 158, 11)",className:n="",minSize:o=2,maxSize:s=6}){let l=(0,r.useMemo)(()=>Array.from({length:e},(e,t)=>{let r=(t+1)*.618033988749895,a=e=>(r*(e+1)*9301+49297)%233280/233280;return{id:t,x:100*a(1),y:100*a(2),size:a(3)*(s-o)+o,duration:10*a(4)+10,delay:5*a(5),opacity:.3*a(6)+.1}}),[e,o,s]);return(0,t.jsx)("div",{className:`absolute inset-0 overflow-hidden pointer-events-none ${n}`,"aria-hidden":"true",children:l.map(e=>(0,t.jsx)("div",{className:"absolute rounded-full animate-float",style:{left:`${e.x}%`,top:`${e.y}%`,width:e.size,height:e.size,backgroundColor:a,opacity:e.opacity,animationDuration:`${e.duration}s`,animationDelay:`${e.delay}s`}},e.id))})}function n({x:e=50,y:r=50,size:a=400,color:n="rgba(245, 158, 11, 0.15)",blur:o=100,className:s=""}){return(0,t.jsx)("div",{className:`absolute rounded-full pointer-events-none animate-pulse-subtle ${s}`,style:{left:`${e}%`,top:`${r}%`,width:a,height:a,backgroundColor:n,filter:`blur(${o}px)`,transform:"translate(-50%, -50%)"},"aria-hidden":"true"})}function o({opacity:e=.02,className:r=""}){return(0,t.jsx)("div",{className:`noise-overlay ${r}`,style:{opacity:e},"aria-hidden":"true"})}e.s(["FloatingParticles",()=>a,"GradientOrb",()=>n,"NoiseOverlay",()=>o])},15396,e=>{"use strict";var t=e.i(49973);let r={sm:"w-12 h-12",md:"w-20 h-20",lg:"w-32 h-32",xl:"w-64 h-64"},a={sm:"2s",md:"3s",lg:"4s",xl:"6s"};function n({size:e="md",className:n=""}){return(0,t.jsxs)("div",{className:`${r[e]} relative animate-spin-slow ${n}`,style:{animationDuration:a[e]},children:[(0,t.jsx)("div",{className:"absolute inset-0 rounded-full bg-amber-500/20 blur-xl"}),(0,t.jsx)("div",{className:"absolute inset-0 rounded-full bg-gradient-to-br from-neutral-800 to-neutral-900 border border-white/10 shadow-2xl"}),(0,t.jsx)("div",{className:"absolute inset-[10%] rounded-full border border-white/5"}),(0,t.jsx)("div",{className:"absolute inset-[20%] rounded-full border border-white/5"}),(0,t.jsx)("div",{className:"absolute inset-[30%] rounded-full border border-white/5"}),(0,t.jsx)("div",{className:"absolute inset-[40%] rounded-full border border-white/10"}),(0,t.jsx)("div",{className:"absolute inset-[42%] rounded-full bg-gradient-to-br from-amber-400 to-orange-600"}),(0,t.jsx)("div",{className:"absolute inset-[47%] rounded-full bg-[#0a0a0a]"}),(0,t.jsx)("div",{className:"absolute inset-0 rounded-full bg-gradient-to-tr from-transparent via-white/5 to-transparent"})]})}function o({className:e=""}){return(0,t.jsxs)("div",{className:`w-5 h-5 relative animate-spin ${e}`,children:[(0,t.jsx)("div",{className:"absolute inset-0 rounded-full bg-gradient-to-br from-neutral-700 to-neutral-800 border border-white/10"}),(0,t.jsx)("div",{className:"absolute inset-[25%] rounded-full border border-white/10"}),(0,t.jsx)("div",{className:"absolute inset-[35%] rounded-full bg-gradient-to-br from-amber-400 to-orange-500"}),(0,t.jsx)("div",{className:"absolute inset-[45%] rounded-full bg-[#0a0a0a]"})]})}e.s(["VinylSpinner",()=>n,"VinylSpinnerInline",()=>o])},69004,e=>{"use strict";var t=e.i(49973);let r={amber:"from-amber-400 via-orange-500 to-rose-500",sunset:"from-orange-400 via-rose-500 to-purple-500",fire:"from-yellow-400 via-orange-500 to-red-500",emerald:"from-emerald-400 via-teal-500 to-cyan-500",purple:"from-violet-400 via-purple-500 to-fuchsia-500"};function a({className:e="",variant:a="amber",animated:n=!0,as:o="span",children:s,...l}){return(0,t.jsx)(o,{className:`bg-gradient-to-r ${r[a]} bg-clip-text text-transparent ${n?"animate-gradient bg-[length:200%_auto]":""} ${e}`,...l,children:s})}function n({size:e="md",stacked:r=!1,className:n=""}){let o={sm:"text-xl",md:"text-3xl",lg:"text-5xl sm:text-6xl",xl:"text-6xl sm:text-7xl lg:text-8xl"};return r?(0,t.jsxs)("div",{className:`font-display font-bold tracking-tight ${o[e]} ${n}`,children:[(0,t.jsx)("span",{className:"block text-white leading-[0.85]",children:"BEAT"}),(0,t.jsx)(a,{as:"span",variant:"amber",className:"block leading-[0.85]",children:"ARCHIVIST"})]}):(0,t.jsxs)("span",{className:`font-display font-bold tracking-tight ${o[e]} ${n}`,children:[(0,t.jsx)("span",{className:"text-amber-400",children:"Beat"})," ",(0,t.jsx)("span",{className:"text-white",children:"Archivist"})]})}e.s(["GradientText",()=>a,"LogoText",()=>n])},38171,e=>{"use strict";var t=e.i(49973),r=e.i(18939);
1let a={amber:{gradient:"from-amber-500/20 to-amber-500/5",text:"text-amber-400",border:"border-amber-500/20"},orange:{gradient:"from-orange-500/20 to-orange-500/5",text:"text-orange-400",border:"border-orange-500/20"},rose:{gradient:"from-rose-500/20 to-rose-500/5",text:"text-rose-400",border:"border-rose-500/20"},emerald:{gradient:"from-emerald-500/20 to-emerald-500/5",text:"text-emerald-400",border:"border-emerald-500/20"},purple:{gradient:"from-purple-500/20 to-purple-500/5",text:"text-purple-400",border:"border-purple-500/20"},cyan:{gradient:"from-cyan-500/20 to-cyan-500/5",text:"text-cyan-400",border:"border-cyan-500/20"}};function n(e,t=1e3,a=!0){let o=(0,r.useRef)({count:0,listeners:new Set}),s=(0,r.useRef)({startTime:null,frameId:null,targetValue:e}),l=(0,r.useCallback)(e=>(o.current.listeners.add(e),()=>o.current.listeners.delete(e)),[]),i=(0,r.useCallback)(()=>o.current.count,[]),d=(0,r.useCallback)(()=>a?e:0,[a,e]);return(0,r.useEffect)(()=>{if(!a||"number"!=typeof e){o.current.count=e,o.current.listeners.forEach(e=>e());return}s.current.startTime=null,s.current.targetValue=e;let r=e=>{s.current.startTime||(s.current.startTime=e);let a=Math.min((e-s.current.startTime)/t,1),n=Math.floor((1-Math.pow(1-a,4))*s.current.targetValue);o.current.count!==n&&(o.current.count=n,o.current.listeners.forEach(e=>e())),a<1&&(s.current.frameId=requestAnimationFrame(r))},n=requestAnimationFrame(r);return s.current.frameId=n,()=>{cancelAnimationFrame(n)}},[e,t,a]),(0,r.useSyncExternalStore)(l,i,d)}function o({value:e,label:r,accent:o="amber",icon:s,animated:l=!0,suffix:i="",prefix:d="",className:c="",...u}){let{gradient:f,text:m,border:h}=a[o],b="number"==typeof e,p=n(b?e:0,1e3,l&&b),x=b?p:e;return(0,t.jsxs)("div",{className:`p-6 rounded-2xl bg-gradient-to-br ${f} border ${h} ${c}`,...u,children:[s&&(0,t.jsx)("div",{className:`mb-3 ${m}`,children:s}),(0,t.jsxs)("div",{className:`text-5xl font-display font-bold ${m} mb-2`,children:[d,x,i]}),(0,t.jsx)("div",{className:"text-white/50 uppercase tracking-wider text-sm",children:r})]})}function s({streak:e,className:r="",...a}){let o=n(e,800,!0);return(0,t.jsxs)("div",{className:`p-6 rounded-2xl bg-gradient-to-br from-rose-500/10 to-orange-500/5 border border-rose-500/20 relative overflow-hidden ${r}`,...a,children:[e>0&&(0,t.jsx)("div",{className:"absolute top-2 right-2",children:(0,t.jsx)("span",{className:"text-3xl animate-bounce",style:{animationDuration:"0.6s"},children:"ð¥"})}),(0,t.jsx)("div",{className:"text-5xl font-display font-bold text-rose-400 mb-2",children:o}),(0,t.jsx)("div",{className:"text-white/50 uppercase tracking-wider text-sm",children:"Current Streak"})]})}function l({stats:e,className:r=""}){return(0,t.jsx)("div",{className:`flex items-center gap-8 text-sm font-display ${r}`,children:e.map((e,r)=>(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:`text-3xl font-bold ${a[e.accent||"amber"].text}`,children:e.value}),(0,t.jsx)("div",{className:"text-white/40",children:e.label})]},r))})}function i({className:e=""}){return(0,t.jsx)("div",{className:`w-px h-8 bg-white/10 ${e}`})}e.s(["StatCard",()=>o,"StatDivider",()=>i,"StatRow",()=>l,"StreakCard",()=>s])},39964,e=>{"use strict";var t=e.i(49973),r=e.i(18939);let a={default:"bg-[#141414]",elevated:"bg-[#141414] shadow-xl shadow-black/40",outlined:"bg-[#141414]/50 border border-white/10",glass:"bg-white/5 backdrop-blur-md border border-white/10",glow:"bg-[#141414] border border-white/10 shadow-lg"},n={none:"",amber:"border-amber-500/30 shadow-amber-500/10",orange:"border-orange-500/30 shadow-orange-500/10",rose:"border-rose-500/30 shadow-rose-500/10",emerald:"border-emerald-500/30 shadow-emerald-500/10"},o={none:"",amber:"from-amber-500/20 to-amber-500/5",orange:"from-orange-500/20 to-orange-500/5",rose:"from-rose-500/20 to-rose-500/5",emerald:"from-emerald-500/20 to-emerald-500/5"},s=(0,r.forwardRef)(({className:e="",variant:r="default",accent:s="none",hoverable:l=!1,children:i,...d},c)=>{let u="none"!==s?`bg-gradient-to-br ${o[s]}`:"";return(0,t.jsx)("div",{ref:c,className:`rounded-2xl ${a[r]} ${"none"!==s?n[s]:""} ${u} ${l?"transition-all duration-300 hover:scale-[1.02] hover:shadow-xl cursor-pointer":""} ${e}`,...d,children:i})});
1s.displayName="Card";let l=(0,r.forwardRef)(({className:e="",children:r,...a},n)=>(0,t.jsx)("div",{ref:n,className:`px-6 py-4 border-b border-white/5 ${e}`,...a,children:r}));l.displayName="CardHeader";let i=(0,r.forwardRef)(({className:e="",children:r,...a},n)=>(0,t.jsx)("div",{ref:n,className:`px-6 py-4 ${e}`,...a,children:r}));i.displayName="CardContent";let d=(0,r.forwardRef)(({className:e="",children:r,...a},n)=>(0,t.jsx)("div",{ref:n,className:`px-6 py-4 border-t border-white/5 ${e}`,...a,children:r}));d.displayName="CardFooter",e.s(["Card",0,s,"CardContent",0,i,"CardFooter",0,d,"CardHeader",0,l])},95659,e=>{"use strict";var t=e.i(49973);let r={amber:{border:"border-amber-500/40",shadow:"shadow-amber-500/30"},orange:{border:"border-orange-500/40",shadow:"shadow-orange-500/30"},rose:{border:"border-rose-500/40",shadow:"shadow-rose-500/30"},emerald:{border:"border-emerald-500/40",shadow:"shadow-emerald-500/30"},purple:{border:"border-purple-500/40",shadow:"shadow-purple-500/30"},cyan:{border:"border-cyan-500/40",shadow:"shadow-cyan-500/30"}},a={subtle:"shadow-md",normal:"shadow-lg",strong:"shadow-xl"};function n({color:e="amber",animated:n=!0,intensity:o="normal",className:s="",children:l,...i}){let{border:d,shadow:c}=r[e];return(0,t.jsx)("div",{className:`rounded-2xl border ${d} ${c} ${a[o]} ${n?"animate-border-glow":""} ${s}`,...i,children:l})}function o({className:e="",children:r,animated:a=!0,...n}){return(0,t.jsxs)("div",{className:`relative p-[1px] rounded-2xl ${e}`,...n,children:[(0,t.jsx)("div",{className:`absolute inset-0 rounded-2xl bg-gradient-to-r from-amber-500 via-orange-500 to-rose-500 ${a?"animate-gradient bg-[length:200%_auto]":""}`}),(0,t.jsx)("div",{className:"relative rounded-2xl bg-[#0a0a0a]",children:r})]})}function s({color:e="amber",className:r="",...a}){let n={amber:"border-amber-400",orange:"border-orange-400",rose:"border-rose-400",emerald:"border-emerald-400",purple:"border-purple-400",cyan:"border-cyan-400"};return(0,t.jsxs)("div",{className:`relative ${r}`,...a,children:[(0,t.jsx)("span",{className:`absolute inset-0 rounded-full border-2 ${n[e]} animate-ping opacity-30`}),(0,t.jsx)("span",{className:`absolute inset-0 rounded-full border-2 ${n[e]} animate-ping opacity-20`,style:{animationDelay:"0.2s"}})]})}e.s(["GlowBorder",()=>n,"GradientBorder",()=>o,"PulsingRing",()=>s])},16787,e=>{"use strict";e.i(59544),e.i(39964),e.i(72072),e.i(15396),e.i(69004),e.i(95659),e.i(38171),e.s([])},17173,e=>{"use strict";var t=e.i(49973),r=e.i(18939),a=e.i(91514),n=e.i(93149);function o(e){if(!e)return!1;try{let t=localStorage.getItem("beat_archivist_won_dailies");return(t?JSON.parse(t):[]).includes(e)}catch{return!1}}function s(){let e=(0,n.usePathname)(),[s,l]=(0,r.useState)({hasChallenge:!1,challengeId:null,hasWonToday:!1}),[i,d]=(0,r.useState)(!1),c=(0,r.useRef)(null);(0,r.useEffect)(()=>{function e(e){c.current&&!c.current.contains(e.target)&&d(!1)}if(i)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[i]),(0,r.useEffect)(()=>{let e=null;function t(){if(e){let t=o(e);l(e=>({...e,hasWonToday:t}))}}(async function(){try{let t=await fetch("/api/game/daily");if(t.ok){let r=await t.json();if(r.challenge){e=r.challenge.id;let t=o(r.challenge.id);l({hasChallenge:!0,challengeId:r.challenge.id,hasWonToday:t})}}}catch{}})(),window.addEventListener("storage",t);let r=setInterval(t,2e3);return()=>{window.removeEventListener("storage",t),clearInterval(r)}},[]);let u="/play/daily"===e,f="/play"===e,m=e?.startsWith("/play/family"),h=s.hasChallenge&&!s.hasWonToday;return(0,t.jsx)("header",{className:"flex-shrink-0 sticky top-0 z-50 bg-[#0a0a0a]/80 backdrop-blur-md border-b border-white/5",children:(0,t.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-3 sm:py-4 flex items-center justify-between",children:[(0,t.jsxs)(a.default,{href:"/",className:"font-display font-bold text-lg sm:text-xl tracking-tight",children:[(0,t.jsx)("span",{className:"text-amber-400",children:"Beat"})," ",(0,t.jsx)("span",{className:"text-white",children:"Archivist"})]}),(0,t.jsxs)("nav",{className:"flex items-center gap-1 sm:gap-2",children:[(0,t.jsx)(a.default,{href:"/play",className:`font-display text-sm px-3 py-2 rounded-lg transition-all duration-200 ${f?"bg-amber-500/20 text-amber-300 border border-amber-500/30":"text-white/60 hover:text-white hover:bg-white/5"}`,children:"Endless"}),(0,t.jsxs)(a.default,{href:"/play/daily",className:`relative font-display text-sm px-3 py-2 rounded-lg transition-all duration-200 ${u?"bg-amber-500/20 text-amber-300 border border-amber-500/30":"text-white/60 hover:text-white hover:bg-white/5"}`,children:["Daily",h&&!u&&(0,t.jsxs)("span",{className:"absolute -top-1 -right-1 flex h-3 w-3",children:[(0,t.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-amber-400 opacity-75"}),(0,t.jsx)("span",{className:"relative inline-flex rounded-full h-3 w-3 bg-amber-500"})]})]}),(0,t.jsx)(a.default,{href:"/play/family",className:`font-display text-sm px-3 py-2 rounded-lg transition-all duration-200 ${m?"bg-emerald-500/20 text-emerald-300 border border-emerald-500/30":"text-white/60 hover:text-white hover:bg-white/5"}`,children:"Family"}),(0,t.jsxs)("div",{className:"relative",ref:c,children:[(0,t.jsxs)("button",{onClick:()=>d(!i),className:"font-display text-sm text-white/40 hover:text-white hover:bg-white/5 px-3 py-2 rounded-lg transition-all duration-200 flex items-center gap-1","aria-label":"More options","aria-expanded":i,children:[(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"More"})]}),i&&(0,t.jsx)("div",{className:"absolute right-0 mt-2 w-48 rounded-xl bg-[#141414] border border-white/10 shadow-xl overflow-hidden z-50 animate-scale-in origin-top-right",children:(0,t.jsxs)("div",{className:"py-1",children:[(0,t.jsx)(a.default,{href:"/",onClick:()=>d(!1),className:"block px-4 py-2.5 text-sm text-white/70 hover:bg-white/5 hover:text-white transition-colors font-display",children:"Home"}),(0,t.jsx)(a.default,{href:"/how-to-play",onClick:()=>d(!1),className:"block px-4 py-2.5 text-sm text-white/70 hover:bg-white/5 hover:text-white transition-colors font-display",children:"How to Play"}),(0,t.jsx)(a.default,{href:"/about",onClick:()=>d(!1),className:"block px-4 py-2.5 text-sm text-white/70 hover:bg-white/5 hover:text-white transition-colors font-display",children:"About"}),(0,t.jsx)("div",{className:"border-t border-white/5 my-1"}),(0,t.jsx)(a.default,{href:"/privacy",onClick:()=>d(!1),className:"block px-4 py-2.5 text-sm text-white/50 hover:bg-white/5 hover:text-white/70 transition-colors font-display",children:"Privacy"}),(0,t.jsx)(a.default,{href:"/terms",onClick:()=>d(!1),className:"block px-4 py-2.5 text-sm text-white/50 hover:bg-white/5 hover:text-white/70 transition-colors font-display",children:"Terms"})]})})]})]})]})})}e.s(["GameHeader",()=>s])},44725,e=>{"use strict";var t=e.i(49973);e.i(86056);var r=e.i(57806),a=e.i(17173),n=e.i(72072);function o(){return(0,t.jsxs)("div",{className:"flex flex-col flex-1 min-h-dvh relative overflow-hidden",children:[(0,t.jsx)(n.FloatingParticles,{count:15,color:"rgba(245, 158, 11, 0.25)"}),(0,t.jsx)(n.GradientOrb,{x:20,y:20,size:400,color:"rgba(245, 158, 11, 0.08)",blur:120}),(0,t.jsx)(n.GradientOrb,{x:80,y:70,size:350,color:"rgba(249, 115, 22, 0.06)",blur:100,className:"animation-delay-1000"}),(0,t.jsx)(a.GameHeader,{}),(0,t.jsx)("main",{className:"flex-1 flex flex-col min-h-0 px-4 sm:px-6 lg:px-8 py-4 sm:py-6 relative z-10",children:(0,t.jsx)("div",{className:"flex-1 flex flex-col min-h-0 w-full max-w-2xl lg:max-w-3xl xl:max-w-4xl mx-auto",children:(0,t.jsx)(r.GameBoard,{})})})]})}e.s(["default",()=>o])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.