1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/motion-wNnM2GhM.js","assets/jsx-runtime-B-hcVAMW.js"])))=>i.map(i=>d[i]); 2import{a as e,n as t,t as n}from"./jsx-runtime-B-hcVAMW.js";import{t as r}from"./link-EZeSk_01.js";import{t as i}from"./utils-Mpif4Wgv.js";import{m as a}from"./index-CFG5Yzb3.js";import{t as o}from"./motion-wNnM2GhM.js";import{t as s}from"./arrow-right-6VXQEvgI.js";import{t as c}from"./lucide-DyASC__9.js";import{t as l}from"./reveal-DFGIrbIN.js";var u=`/assets/pattern-BJsVgL5z.svg`,d=`/assets/community-crowd-CJFSPSn9.webp`,f=e(t(),1),p=n();function m(e){let t=e.match(/^[^0-9]*/)?.[0]??``,n=e.slice(t.length),r=Number.parseFloat(n.replace(/[^0-9.]/g,``)),i=n.replace(/^[0-9.]+/,``);return{prefix:t,num:Number.isNaN(r)?0:r,suffix:i,raw:e}}function h({value:e,className:t,duration:n=1.8}){let{prefix:r,num:s,suffix:c,raw:l}=m(e),[u,d]=(0,f.useState)(0),h=(0,f.useRef)(null),g=(0,f.useRef)(!1);(0,f.useEffect)(()=>{if(!(!h.current||typeof window>`u`||g.current)){if(o()){d(s);return}a(async()=>{let{gsap:e}=await import(`./motion-wNnM2GhM.js`).then(e=>e.i);return{gsap:e}},__vite__mapDeps([0,1])).then(({gsap:e})=>a(async()=>{let{ScrollTrigger:e}=await import(`./motion-wNnM2GhM.js`).then(e=>e.a);return{ScrollTrigger:e}},__vite__mapDeps([0,1])).then(({ScrollTrigger:t})=>{e.registerPlugin(t),t.create({trigger:h.current,start:`top 88%`,onEnter:()=>{if(g.current)return;g.current=!0;let t={val:0};e.to(t,{val:s,duration:n,ease:`expo.out`,onUpdate(){d(Math.round(t.val))}})}})}))}},[s,n]);let _=s===0?l:`${r}${u.toLocaleString()}${c}`;return(0,p.jsx)(`span`,{ref:h,className:i(`count-up-number tabular-nums`,t),children:_})}var g=[{value:`1000+`,label:`LAN Gamers`,iconKey:`Gamepad2`},{value:`180+`,label:`Experiences`,iconKey:`Users`},{value:`3`,label:`Days`,iconKey:`CalendarDays`},{value:`5+`,label:`Stages`,iconKey:`Clock`},{value:`25+`,label:`Tournaments`,iconKey:`Trophy`},{value:`1`,label:`Epic Weekend`,iconKey:`Sparkles`}];function _(){return(0,p.jsxs)(`section`,{className:`grid grid-cols-1 lg:grid-cols-2`,children:[(0,p.jsxs)(`div`,{className:`relative overflow-hidden bg-gradient-green px-6 py-10 text-white md:px-10 lg:px-16 lg:py-24`,children:[(0,p.jsx)(`img`,{src:u,alt:``,"aria-hidden":`true`,className:`pointer-events-none absolute inset-0 size-full object-cover opacity-25 mix-blend-overlay`}),(0,p.jsxs)(`div`,{className:`relative`,children:[(0,p.jsx)(`p`,{className:`font-mono text-xs font-bold uppercase tracking-[0.28em] text-white/60 mb-6`,children:`By the numbers`}),(0,p.jsx)(`div`,{className:`grid max-w-2xl grid-cols-2 gap-x-12 gap-y-10`,children:g.map(({value:e,label:t,iconKey:n},r)=>{let i=c(n);return(0,p.jsx)(l,{delay:r*.07,children:(0,p.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,p.jsx)(i,{className:`size-5 shrink-0 mt-1 text-white/50`,strokeWidth:1.5}),(0,p.jsxs)(`div`,{children:[(0,p.jsx)(`div`,{className:`font-display text-5xl lg:text-6xl leading-none tabular-nums`,children:(0,p.jsx)(h,{value:e})}),(0,p.jsx)(`div`,{className:`mt-1 font-mono text-xs font-bold uppercase tracking-[0.18em] text-white/50`,children:t})]})]})},t)})})]})]}),(0,p.jsxs)(`div`,{className:`relative overflow-hidden bg-ink text-white`,children:[(0,p.jsx)(`img`,{src:d,alt:`rAge festival community celebrating together`,className:`absolute inset-0 size-full bg-neutral-800 object-cover`}),(0,p.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-ink via-ink/80 to-ink/40 lg:bg-gradient-to-r lg:from-ink lg:via-ink/70 lg:to-transparent`}),(0,p.jsx)(`div`,{className:`relative px-6 py-10 md:px-10 lg:flex lg:h-full lg:flex-col lg:justify-center lg:px-16 lg:py-24`,children:(0,p.jsxs)(l,{children:[(0,p.jsx)(`p`,{className:`font-mono text-xs font-bold uppercase tracking-[0.28em] text-white/40 mb-4`,children:`Community`}),(0,p.jsxs)(`h2`,{className:`font-display text-5xl lg:text-6xl xl:text-7xl uppercase leading-[0.9]`,children:[`More Than Gaming.`,(0,p.jsx)(`br`,{}),(0,p.jsx)(`span`,{className:`text-primary`,children:`Itâs a Community.`})]}),(0,p.jsx)(`div`,{className:`mt-4 h-1 w-16 lg:w-20 -skew-x-12 bg-volt`}),(0,p.jsx)(`p`,{className:`mt-5 max-w-md text-base lg:text-lg leading-relaxed text-white/70`,children:`rAge brings together gamers, creators, fans and dreamers for a
2weekend of unforgettable experiences. Three days. Endless adventures.`}),(0,p.jsxs)(r,{to:`/festival`,className:`mt-7 inline-flex items-center gap-2 font-mono text-xs font-bold uppercase tracking-[0.22em] text-white/60 transition-colors hover:text-white`,children:[`See The Community`,(0,p.jsx)(s,{className:`size-3.5`})]})]})})]})]})}export{h as n,_ as t};
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.