(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[928],{5531:function(e,t,l){"use strict";l.d(t,{Z:function(){return createLucideIcon}});var r=l(2265);/** * @license lucide-react v0.511.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let toKebabCase=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),toCamelCase=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,l)=>l?l.toUpperCase():t.toLowerCase()),toPascalCase=e=>{let t=toCamelCase(e);return t.charAt(0).toUpperCase()+t.slice(1)},mergeClasses=(...e)=>e.filter((e,t,l)=>!!e&&""!==e.trim()&&l.indexOf(e)===t).join(" ").trim(),hasA11yProp=e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0};/** * @license lucide-react v0.511.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var i={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"};/** * @license lucide-react v0.511.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let a=(0,r.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:l=2,absoluteStrokeWidth:a,className:s="",children:n,iconNode:o,...d},c)=>(0,r.createElement)("svg",{ref:c,...i,width:t,height:t,stroke:e,strokeWidth:a?24*Number(l)/Number(t):l,className:mergeClasses("lucide",s),...!n&&!hasA11yProp(d)&&{"aria-hidden":"true"},...d},[...o.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(n)?n:[n]])),createLucideIcon=(e,t)=>{let l=(0,r.forwardRef)(({className:l,...i},s)=>(0,r.createElement)(a,{ref:s,iconNode:t,className:mergeClasses(`lucide-${toKebabCase(toPascalCase(e))}`,`lucide-${e}`,l),...i}));return l.displayName=toPascalCase(e),l}},7224:function(e,t,l){Promise.resolve().then(l.bind(l,8632))},679:function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var l in t)Object.defineProperty(e,l,{enumerable:!0,get:t[l]})}(t,{unstable_getImgProps:function(){return unstable_getImgProps},default:function(){return o}});let r=l(1024),i=l(7929),a=l(2637),s=l(413),n=r._(l(9950)),unstable_getImgProps=e=>{(0,a.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:t}=(0,i.getImgProps)(e,{defaultLoader:n.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,l]of Object.entries(t))void 0===l&&delete t[e];return{props:t}},o=s.Image},8632:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return page}});var r=l(7437),i=l(2265),a=l(6691),s=l.n(a),n=JSON.parse('[{"id":1,"title":"Bid Buzz"},{"id":2,"title":"ESummit 2025"},{"id":3,"title":"ESummit 2025"},{"id":4,"title":"Fintech Hackathon"},{"id":5,"title":"Pitch Desk 2025"},{"id":6,"title":"AI and IOT ESummit 2025"},{"id":7,"title":"AI and IOT ESummit 2025"},{"id":8,"title":"Haseeb Comedian ESummit 2025"},{"id":9,"title":"Haseeb Comedian ESummit 2025"},{"id":10,"title":"Kaushtubh ESummit 2025"},{"id":11,"title":"Kaushtubh ESummit 2025"},{"id":12,"title":"BaseCamp ESummit 2025"}]'),o=l(5531);let d=(0,o.Z)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var c=JSON.parse('[{"id":"iydMv_BAZJE","title":"E-Summit 2024 Recap","thumbnail":"/Videos/1.avif"},{"id":"iydMv_BAZJE","title":"E-Summit 2024 Recap","thumbnail":"/Videos/1.avif"},{"id":"iydMv_BAZJE","title":"E-Summit 2024 Recap","thumbnail":"/Videos/1.avif"},{"id":"iydMv_BAZJE","title":"E-Summit 2024 Recap","thumbnail":"/Videos/1.avif"},{"id":"iydMv_BAZJE","title":"E-Summit 2024 Recap","thumbnail":"/Videos/1.avif"},{"id":"iydMv_BAZJE","title":"E-Summit 2024 Recap","thumbnail":"/Videos/1.avif"}]'),components_VideoGallery=()=>{let[e,t]=(0,i.useState)(null);return(0,r.jsxs)("div",{className:"relative mt-24 z-10",children:[(0,r.jsx)("h2",{className:"text-3xl sm:text-4xl font-bold text-center mb-10",children:(0,r.jsx)("span",{className:"bg-gradient-to-r from-yellow-300 via-pink-500 to-purple-500 bg-clip-text text-transparent",children:"Video Highlights"})}),(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-10",children:c.map(e=>(0,r.jsxs)("div",{onClick:()=>t(e.id),className:"cursor-pointer bg-black/70 border border-neutral-700 rounded-2xl shadow-lg backdrop-blur-md overflow-hidden transition-transform hover:scale-105 hover:shadow-pink-500/20",children:[(0,r.jsx)("img",{src:e.thumbnail,alt:e.title,className:"w-full h-48 object-cover"}),(0,r.jsx)("div",{className:"p-4 text-white text-lg font-medium",children:e.title})]},e.id))}),e&&(0,r.jsx)("div",{className:"fixed inset-0 z-50 bg-black/80 backdrop-blur-sm flex items-center justify-center px-4",onClick:()=>t(null),children:(0,r.jsxs)("div",{className:"relative w-full max-w-4xl bg-neutral-900 rounded-3xl shadow-xl overflow-hidden animate-scale-in border border-purple-500",onClick:e=>e.stopPropagation(),children:[(0,r.jsx)("button",{className:"absolute top-4 right-4 z-50 bg-neutral-800 text-white border border-neutral-600 hover:border-red-400 hover:text-red-400 rounded-full p-2 shadow-md transition duration-200",onClick:()=>t(null),children:(0,r.jsx)(d,{size:20})}),(0,r.jsx)("div",{className:"aspect-video w-full",children:(0,r.jsx)("iframe",{className:"w-full h-full",src:"https://www.youtube.com/embed/".concat(e,"?autoplay=1"),title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})]})})]})},page=()=>{let[e,t]=(0,i.useState)(null),openModal=e=>t(e),closeModal=()=>t(null),l=(0,i.useCallback)(()=>{null!==e&&t(e=>(e+1)%n.length)},[e]),a=(0,i.useCallback)(()=>{null!==e&&t(e=>(e-1+n.length)%n.length)},[e]);return(0,i.useEffect)(()=>{let handleKey=t=>{null!==e&&("ArrowRight"===t.key?l():"ArrowLeft"===t.key?a():"Escape"===t.key&&closeModal())};return window.addEventListener("keydown",handleKey),()=>window.removeEventListener("keydown",handleKey)},[e,l,a]),(0,r.jsxs)("div",{className:"bg-black text-white font-sans min-h-screen sm:px-24 px-12 pt-40 ",children:[(0,r.jsxs)("div",{className:"flex flex-col-reverse lg:flex-row items-center justify-between gap-12",children:[(0,r.jsxs)("div",{className:"w-full lg:w-1/2 flex flex-col gap-4",children:[(0,r.jsx)("h1",{className:"text-4xl md:text-6xl font-extrabold bg-gradient-to-br from-purple-400 via-pink-500 to-red-400 bg-clip-text text-transparent leading-tight drop-shadow-lg",children:"Gallery of Impact"}),(0,r.jsx)("p",{className:"text-lg md:text-xl text-gray-300",children:"Dive into our vibrant visual universe, from events and posters to raw creativity at E-Cell, IIIT Delhi."})]}),(0,r.jsx)("div",{className:"w-full lg:w-1/2 flex justify-center",children:(0,r.jsx)(s(),{src:"/art/5.png",alt:"Gallery Artwork",width:400,height:400,className:"w-[18rem] md:w-[22rem] lg:w-[26rem] h-auto object-contain drop-shadow-2xl hover:scale-105 transition-transform duration-500"})})]}),(0,r.jsx)("div",{className:"mt-24 grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-6 place-items-center",children:n.map((e,t)=>(0,r.jsxs)("div",{onClick:()=>openModal(t),className:"group cursor-pointer transition-transform hover:scale-[1.03] duration-300 w-full max-w-[220px]",children:[(0,r.jsx)("div",{className:"aspect-[4/3] w-full overflow-hidden rounded-xl shadow-lg bg-gray-900/30",children:(0,r.jsx)(s(),{src:"/gallery/".concat(e.id,".png"),alt:e.title,width:720,height:720,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105",priority:0===t})}),(0,r.jsx)("p",{className:"mt-3 text-sm text-center text-gray-300 font-medium leading-tight",children:e.title})]},e.id))}),(0,r.jsx)("section",{id:"Videos",children:(0,r.jsx)(components_VideoGallery,{})}),(0,r.jsxs)("div",{className:"mt-16 text-center text-sm text-gray-500",children:["All Media Are the intellectual property of ",(0,r.jsx)("span",{className:"text-purple-400",children:"E-Cell IIIT Delhi"}),"."]}),null!==e&&(0,r.jsx)("div",{className:"fixed inset-0 bg-black/60 backdrop-blur-sm z-50 flex items-center justify-center px-4",onClick:closeModal,children:(0,r.jsxs)("div",{className:"relative w-full max-w-4xl bg-gradient-to-br from-neutral-800/80 to-neutral-900/80 border border-purple-500 rounded-3xl shadow-[0_0_40px_rgba(168,85,247,0.2)] backdrop-blur-lg p-6 sm:p-10 animate-scale-in",onClick:e=>e.stopPropagation(),children:[(0,r.jsx)("h2",{className:"text-xl sm:text-2xl font-bold text-white mb-4 text-center",children:n[e].title}),(0,r.jsx)("div",{className:"relative w-full h-auto max-h-[70vh] flex justify-center items-center overflow-hidden rounded-xl",children:(0,r.jsx)(s(),{src:"/gallery/".concat(n[e].id,".png"),alt:n[e].title,width:1e3,height:1e3,className:"max-h-[60vh] w-auto h-auto object-contain rounded-xl "})}),(0,r.jsxs)("div",{className:"flex justify-between mt-6 items-center text-white",children:[(0,r.jsx)("button",{onClick:a,className:"text-2xl bg-neutral-800 hover:bg-neutral-700 p-2 rounded-full transition",children:"←"}),(0,r.jsx)("div",{className:"flex gap-4",children:(0,r.jsx)("button",{onClick:closeModal,className:"bg-red-600 px-4 py-2 rounded-full hover:bg-red-500 text-sm transition",children:"Close"})}),(0,r.jsx)("button",{onClick:l,className:"text-2xl bg-neutral-800 hover:bg-neutral-700 p-2 rounded-full transition",children:"→"})]})]})})]})}},622:function(e,t,l){"use strict";/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var r=l(2265),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,n=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function q(e,t,l){var r,a={},d=null,c=null;for(r in void 0!==l&&(d=""+l),void 0!==t.key&&(d=""+t.key),void 0!==t.ref&&(c=t.ref),t)s.call(t,r)&&!o.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:i,type:e,key:d,ref:c,props:a,_owner:n.current}}t.Fragment=a,t.jsx=q,t.jsxs=q},7437:function(e,t,l){"use strict";e.exports=l(622)},6691:function(e,t,l){e.exports=l(679)}},function(e){e.O(0,[413,971,472,744],function(){return e(e.s=7224)}),_N_E=e.O()}]);