1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18566,(e,t,r)=>{t.exports=e.r(76562)},75254,e=>{"use strict";var t=e.i(71645);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,t.forwardRef)(({color:e="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:s="",children:i,iconNode:u,...c},d)=>(0,t.createElement)("svg",{ref:d,...o,width:n,height:n,stroke:e,strokeWidth:l?24*Number(a)/Number(n):a,className:r("lucide",s),...!i&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(c)&&{"aria-hidden":"true"},...c},[...u.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(i)?i:[i]]));e.s(["default",0,(e,o)=>{let l=(0,t.forwardRef)(({className:l,...s},i)=>(0,t.createElement)(a,{ref:i,iconNode:o,className:r(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,l),...s}));return l.displayName=n(e),l}],75254)},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return i},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function l(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,l(e));else t.set(r,l(n));return t}function i(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},18967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return x},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return v},NormalizeError:function(){return g},PageNotFoundError:function(){return y},SP:function(){return m},ST:function(){return b},WEB_VITALS:function(){return a},execOnce:function(){return l},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return i},isResSent:function(){return f},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return j}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function l(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>s.test(e);function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(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 n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,b=m&&["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}`}}
1class 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})}},33525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return u},urlObjectKeys:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(90809)._(e.r(98183)),l=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",s=e.hash||"",i=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),i&&"object"==typeof i&&(i=String(a.urlQueryToSearchParams(i)));let c=e.search||i&&`?${i}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||l.test(n))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${o}${c}${s}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return s(e)}},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(71645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("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)},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(18967),o=e.r(52817);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return x},useLinkStatus:function(){return y}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(90809),l=e.r(43476),s=a._(e.r(71645)),i=e.r(95057),u=e.r(8372),c=e.r(18581),d=e.r(18967),f=e.r(5550);e.r(33525);let p=e.r(88540),h=e.r(91949),m=e.r(73668),b=e.r(9396);function x(t){var r,n;let o,a,x,[y,v]=(0,s.useOptimistic)(h.IDLE_LINK_STATUS),w=(0,s.useRef)(null),{href:j,as:N,children:A,prefetch:E=null,passHref:_,replace:C,shallow:P,scroll:k,onClick:O,onMouseEnter:S,onTouchStart:T,legacyBehavior:R=!1,onNavigate:L,transitionTypes:B,ref:I,unstable_dynamicOnHover:M,...U}=t;o=A,R&&("string"==typeof o||"number"==typeof o)&&(o=(0,l.jsx)("a",{children:o}));let $=s.default.useContext(u.AppRouterContext),F=!1!==E,q=!1!==E?null===(n=E)||"auto"===n?b.FetchStrategy.PPR:b.FetchStrategy.Full:b.FetchStrategy.PPR,z="string"==typeof(r=N||j)?r:(0,i.formatUrl)(r);if(R){if(o?.$$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>
1` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=s.default.Children.only(o)}let D=R?a&&"object"==typeof a&&a.ref:I,K=s.default.useCallback(e=>(null!==$&&(w.current=(0,h.mountLinkInstance)(e,z,$,q,F,v)),()=>{w.current&&((0,h.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,h.unmountPrefetchableInstance)(e)}),[F,z,$,q,v]),W={ref:(0,c.useMergedRef)(K,D),onClick(t){R||"function"!=typeof O||O(t),R&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!$||t.defaultPrevented||function(t,r,n,o,a,l,i){if("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);s.default.startTransition(()=>{d(r,o?"replace":"push",!1===a?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,i)})}}(t,z,w,C,k,L,B)},onMouseEnter(e){R||"function"!=typeof S||S(e),R&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),$&&F&&(0,h.onNavigationIntent)(e.currentTarget,!0===M)},onTouchStart:function(e){R||"function"!=typeof T||T(e),R&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),$&&F&&(0,h.onNavigationIntent)(e.currentTarget,!0===M)}};return(0,d.isAbsoluteUrl)(z)?W.href=z:R&&!_&&("a"!==a.type||"href"in a.props)||(W.href=(0,f.addBasePath)(z)),x=R?s.default.cloneElement(a,W):(0,l.jsx)("a",{...U,...W,children:o}),(0,l.jsx)(g.Provider,{value:y,children:x})}e.r(84508);let g=(0,s.createContext)(h.IDLE_LINK_STATUS),y=()=>(0,s.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)},71689,e=>{"use strict";let t=(0,e.i(75254).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,t],71689)},53373,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(18566),o=e.i(22016),a=e.i(71689),l=e.i(5766);e.s(["default",0,function(){let e=(0,n.useRouter)(),[s,i]=(0,r.useState)({fullName:"",email:"",phone:"",college:"",university:"",course:"",year:"",city:"",linkedin:"",github:"",whySelect:"",outreachCapability:""}),[u,c]=(0,r.useState)(!1),[d,f]=(0,r.useState)(!1),p=e=>{i({...s,[e.target.name]:e.target.value})},h=async t=>{t.preventDefault(),f(!0);try{let t=await fetch("/api/infinity/ambassadors/apply",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}),r=await t.json();r.success?(l.default.success(r.message),e.push("/")):l.default.error(r.message||"Application failed")}catch(e){console.error("Apply error"),l.default.error("Failed to submit application. Please try again.")}finally{f(!1)}};return(0,t.jsxs)("div",{className:"min-h-screen bg-[#030303] text-white flex flex-col items-center justify-center px-4 py-24 relative overflow-hidden font-sora",children:[(0,t.jsxs)(o.default,{href:"/",className:"absolute top-6 left-6 flex items-center gap-2 text-[#8B92A5] hover:text-white transition-colors z-20 bg-[#0a0a0a]/50 p-2 rounded-lg border border-white/10 hover:border-white/30 backdrop-blur-md",children:[(0,t.jsx)(a.ArrowLeft,{className:"w-5 h-5"}),(0,t.jsx)("span",{className:"font-mono text-sm font-bold hidden sm:inline",children:"HOME"})]}),(0,t.jsxs)("div",{className:"relative z-10 w-full max-w-[800px] mx-auto",children:[(0,t.jsxs)("div",{className:"text-center mb-12 flex flex-col items-center",children:[(0,t.jsx)("div",{className:"w-16 h-12 bg-[#0a0a0a] border-[3px] border-[#00EA64] rounded-xl shadow-[4px_4px_0_rgba(0,234,100,0.5)] flex items-center justify-center mb-6",children:(0,t.jsx)("span",{className:"font-bold text-2xl font-mono text-[#00EA64]",children:"â"})}),(0,t.jsx)("div",{className:"inline-block px-4 py-1.5 bg-[#00EA64] text-black font-bold font-mono tracking-widest uppercase mb-4 shadow-[2px_2px_0_#fff]",children:"APPLICATION_PORTAL"}),(0,t.jsxs)("h1",{className:"text-4xl md:text-5xl font-black mb-4",children:["Become an ",(0,t.jsx)("span",{className:"text-[#00EA64]",children:"Ambassador"})]}),(0,t.jsx)("p",{className:"text-[#8B92A5] font-mono text-sm max-w-lg mx-auto",children:"Lead your campus. Expand the network. Earn exclusive rewards."})]}),(0,t.jsx)("div",{className:"bg-[#0a0a0a]/80 backdrop-blur-md border-[3px] border-white/20 rounded-2xl p-6 md:p-10 shadow-[8px_8px_0_rgba(255,255,255,0.1)]",children:(0,t.jsxs)("form",{onSubmit:h,className:"space-y-8",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"text-xs font-bold block mb-2 font-mono text-[#8B92A5] uppercase",children:"Full Name"}),(0,t.jsx)("input",{name:"fullName",type:"text",required:!0,value:s.fullName,onChange:p,className:"w-full px-4 py-3 rounded-lg bg-[#050505] border-[2px] border-white/20 text-white font-mono focus:border-[#00EA64] outline-none transition-colors"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"text-xs font-bold block mb-2 font-mono text-[#8B92A5] uppercase",children:"Email Address"}),(0,t.jsx)("input",{name:"email",type:"email",required:!0,value:s.email,onChange:p,className:"w-full px-4 py-3 rounded-lg bg-[#050505] border-[2px] border-white/20 text-white font-mono focus:border-[#00EA64] outline-none transition-colors"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"text-xs font-bold block mb-2 font-mono text-[#8B92A5] uppercase",children:"Phone Number"}),(0,t.jsx)("input",{name:"phone",type:"tel",required:!0,value:s.phone,onChange:p,className:"w-full px-4 py-3 rounded-lg bg-[#050505] border-[2px] border-white/20 text-white font-mono focus:border-[#00EA64] outline-none transition-colors"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"text-xs font-bold block mb-2 font-mono text-[#8B92A5] uppercase",children:"City"}),(0,t.jsx)("input",{name:"city",type:"text",required:!0,value:s.city,onChange:p,className:"w-full px-4 py-3 rounded-lg bg-[#050505] border-[2px] border-white/20 text-white font-mono focus:border-[#00EA64] outline-none transition-colors"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"text-xs font-bold block mb-2 font-mono text-[#8B92A5] uppercase",children:"College / Institute"}),(0,t.jsx)("input",{name:"college",type:"text",required:!0,value:s.college,onChange:p,className:"w-full px-4 py-3 rounded-lg bg-[#050505] border-[2px] border-white/20 text-white font-mono focus:border-[#00EA64] outline-none transition-colors"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"text-xs font-bold block mb-2 font-mono text-[#8B92A5] uppercase",children:"University"}),(0,t.jsx)("input",{name:"university",type:"text",required:!0,value:s.university,onChange:p,className:"w-full px-4 py-3 rounded-lg bg-[#050505] border-[2px] border-white/20 text-white font-mono focus:border-[#00EA64] outline-none transition-colors"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"text-xs font-bold block mb-2 font-mono text-[#8B92A5] uppercase",children:"Course"}),(0,t.jsx)("input",{name:"course",type:"text",required:!0,value:s.course,onChange:p,className:"w-full px-4 py-3 rounded-lg bg-[#050505] border-[2px] border-white/20 text-white font-mono focus:border-[#00EA64] outline-none transition-colors"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"text-xs font-bold block mb-2 font-mono text-[#8B92A5] uppercase",children:"Year of Study"}),(0,t.jsx)("input",{name:"year",type:"text",required:!0,value:s.year,onChange:p,className:"w-full px-4 py-3 rounded-lg bg-[#050505] border-[2px] border-white/20 text-white font-mono focus:border-[#00EA64] outline-none transition-colors"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"text-xs font-bold block mb-2 font-mono text-[#8B92A5] uppercase",children:"LinkedIn Profile"}),(0,t.jsx)("input",{name:"linkedin",type:"url",value:s.linkedin,onChange:p,className:"w-full px-4 py-3 rounded-lg bg-[#050505] border-[2px] border-white/20 text-white font-mono focus:border-[#00EA64] outline-none transition-colors"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"text-xs font-bold block mb-2 font-mono text-[#8B92A5] uppercase",children:"GitHub Profile"}),(0,t.jsx)("input",{name:"github",type:"url",value:s.github,onChange:p,className:"w-full px-4 py-3 rounded-lg bg-[#050505] border-[2px] border-white/20 text-white font-mono focus:border-[#00EA64] outline-none transition-colors"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"text-xs font-bold block mb-2 font-mono text-[#8B92A5] uppercase",children:"Why should we select you?"}),(0,t.jsx)("textarea",{name:"whySelect",required:!0,value:s.whySelect,onChange:p,rows:4,className:"w-full px-4 py-3 rounded-lg bg-[#050505] border-[2px] border-white/20 text-white font-mono focus:border-[#00EA64] outline-none transition-colors resize-none"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"text-xs font-bold block mb-2 font-mono text-[#8B92A5] uppercase",children:"Estimated Outreach Capability"}),(0,t.jsx)("textarea",{name:"outreachCapability",required:!0,value:s.outreachCapability,onChange:p,rows:3,placeholder:"How many registrations can you drive?",className:"w-full px-4 py-3 rounded-lg bg-[#050505] border-[2px] border-white/20 text-white font-mono focus:border-[#00EA64] outline-none transition-colors resize-none"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3 bg-[#00EA64]/5 p-4 rounded-lg border border-[#00EA64]/20",children:[(0,t.jsx)("input",{type:"checkbox",id:"hackathonRegistration",checked:u,onChange:e=>c(e.target.checked),className:"w-5 h-5 rounded bg-[#050505] border-[2px] border-white/20 accent-[#00EA64] cursor-pointer"}),(0,t.jsx)("label",{htmlFor:"hackathonRegistration",className:"text-sm font-mono text-white cursor-pointer select-none",children:"I confirm that I have registered for Infinity Hacks and have a valid account."})]}),(0,t.jsx)("button",{type:"submit",disabled:d||!u,className:"w-full py-4 bg-[#00EA64] border-[3px] border-[#00EA64] rounded-lg font-bold font-mono text-black uppercase shadow-[4px_4px_0_rgba(255,255,255,0.2)] hover:translate-x-[2px] hover:translate-y-[2px] hover:shadow-[2px_2px_0_rgba(255,255,255,0.5)] transition-all disabled:opacity-50",children:d?"Submitting...":"Submit Application"})]})})]})]})}])}]);
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.