"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[891],{4341:function(e,t,n){n.d(t,{Z:function(){return l}});var s=n(5893),i=n(7294);function l(e){let{children:t,className:n="",style:l={},factor:c=5}=e,[a,r]=(0,i.useState)(0),o=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=o.current;function t(t){let n=e.getBoundingClientRect().top,s=e.getBoundingClientRect().bottom;n<=window.innerHeight&&s>=0&&r(t=>e&&e.prevScroll?t+(window.scrollY-e.prevScroll)/c:t),e&&(e.prevScroll=window.scrollY)}return window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t)}},[c]),(0,s.jsx)("div",{className:n,style:{...l,transform:"translate3d(0, ".concat(a,"px, 0)")},ref:o,children:t})}},8080:function(e,t,n){n.d(t,{Z:function(){return l}});var s=n(5893);n(7294);var i=n(2962),l=function(e){let{title:t,desc:n,imgSrc:l,url:c}=e,a="/seo/banner.png",r=null!=l?l:a,o=null!=n?n:"IIITD presents #Induction2023 for the incoming batch of B.Tech. students from 2nd to 6th August, 2023. The induction is a significant event that marks the beginning of an exciting and enriching journey ahead, for the new batch of students. Let's celebrate the dawn of new beginnings, embrace boundless opportunities, and create treasured memories as our freshers embark on this transformative journey of learning and growth!",d=null!=t?t:"B.Tech Induction 2023 | IIITD";return(0,s.jsx)(i.PB,{title:d,defaultTitle:"B.Tech Induction 2023 | IIITD",description:o,additionalMetaTags:[{property:"og:title",content:d},{property:"og:image",itemprop:"image",content:r},{property:"og:description",content:o},{property:"og:site_name",content:"IIITD Induction 2023"},{itemprop:"thumbnailUrl",href:r},{property:"og:type",content:"website"},{property:"og:url",content:null!=c?c:"https://induction.iiitd.edu.in/"},{itemProp:"image",content:r},{itemProp:"description",content:o},{name:"msapplication-TileImage",content:a},{name:"viewport",content:"width=device-width, initial-scale=1.0"}],additionalLinkTags:[{rel:"icon",href:"/favicon.ico"},{rel:"apple-touch-icon",href:"/favicon.ico",sizes:"76x76"}]})}},8151:function(e,t,n){n.d(t,{Z:function(){return i}});var s=n(5893);function i(e){let{title:t,subtitle:n,subtext:i,graphic:l,graphic2:c,variant:a=1}=e;return(0,s.jsxs)("div",{className:"relative bg-background pl-4 sm:pl-8 pr-20 pt-4 sm:pt-6 rounded-2xl ".concat(1===a?"pb-12":"pb-20"),style:{boxShadow:"0 4px 4px 0 rgba(0,0,0,0.25), 18px 20px 0 0 ".concat(1===a?"#FAC018":"#E44F44",", 19px 21px 0 0 black, 19px 19px 0 0 black, 17px 21px 0 0 black")},children:[(0,s.jsx)("div",{className:"bg-yellow rounded-2xl p-2 md:p-4 w-fit text-xl sm:text-2xl md:text-4xl lg:text-5xl font-bold",style:{textShadow:"0 3px 4px rgba(0,0,0,0.25)"},children:i}),(0,s.jsx)("div",{className:"text-5xl sm:text-6xl md:text-7xl lg:text-8xl text-red font-bold mt-6 whitespace-nowrap",children:t}),2===a?(0,s.jsx)("div",{className:"text-6xl sm:text-7xl md:text-8xl lg:text-9xl text-red font-bold",children:n}):null,(0,s.jsx)("div",{className:"absolute -bottom-10 -right-5 overflow-visible w-1/2 h-1/2",children:l}),(0,s.jsx)("div",{className:"absolute bottom-0 left-[10%] w-0 h-0 flex items-center justify-center",children:(0,s.jsx)("div",{className:"overflow-visible w-[15rem] h-[15rem] basis-[15rem] md:w-[25rem] md:h-[25rem] md:basis-[25rem] flex-shrink-0 flex-grow-0 min-w-0 relative",children:c})})]})}},3977:function(e,t,n){n.d(t,{Z:function(){return j}});var s=n(5893),i=n(5675),l=n.n(i),c=n(326),a=n(594),r=n(7294),o=n(1664),d=n.n(o);function x(e){let{text:t}=e;return(0,s.jsxs)("div",{className:"relative w-fit cursor-pointer [&>div]:hover:w-full",children:[(0,s.jsx)("span",{children:t}),(0,s.jsx)("div",{className:"absolute bottom-0 w-0 h-[2px] transition-all duration-100 bg-black"})]})}function h(){let e="flex-grow-0 flex-shrink-1 basis-[50%] flex justify-center transiton-all duration-100 cursor-pointer",t={width:199,height:120},n=t.height/2,i=(0,r.useMemo)(()=>[{name:"About Us",href:"https://www.iiitd.ac.in/"},{name:"Location",href:"https://www.google.com/maps/place/Indraprastha+Institute+of+Information+Technology+Delhi/@28.5458541,77.2731762,17z/data=!3m1!4b1!4m6!3m5!1s0x390ce3e564daac1d:0x2c582e340e7bc556!8m2!3d28.5458541!4d77.2731762!16s%2Fg%2F11bc5q5mqf?entry=ttu"},{name:"FAQs",href:"https://docs.google.com/spreadsheets/d/1w85BGovNseeoUiKojVfF8NYx4NBOw_5UfrIc6ALt4Yo/edit#gid=1213820881"}],[]);return(0,s.jsxs)("div",{className:"w-screen h-full sm:h-auto sm:w-fit p-4 bg-yellow flex flex-col justify-between bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url('/menu/bg_texture.png')"},children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"rounded-2xl bg-red text-background p-1 border-4 border-background border-solid text-xs sm:text-sm font-bold w-fit",children:"DISCOVER MORE"}),(0,s.jsx)("div",{className:"text-6xl sm:text-8xl font-bold",children:"MENU"})]}),(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)("div",{className:"".concat(e),children:(0,s.jsx)(d(),{href:"/schedule",children:(0,s.jsx)(l(),{alt:"schedule",src:"/menu/schedule.png",...t})})}),(0,s.jsx)("div",{className:"".concat(e," relative"),style:{top:"".concat(n,"px")},children:(0,s.jsx)(d(),{href:"http://studentcouncil.iiitd.edu.in/clubs.html",target:"_blank",children:(0,s.jsx)(l(),{alt:"clubs",src:"/menu/clubs.png",width:209,height:121})})})]}),(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)("div",{className:"".concat(e),children:(0,s.jsx)(d(),{href:"https://iiitd.ac.in/life/discipline-grievance/anti-sexual-harassment-committee",target:"_blank",children:(0,s.jsx)(l(),{alt:"icc",src:"/menu/icc.png",width:177,height:140})})}),(0,s.jsx)("div",{className:"".concat(e," relative"),style:{top:"".concat(n,"px")},children:(0,s.jsx)(d(),{href:"https://www.iiitd.ac.in/contact",target:"_blank",children:(0,s.jsx)(l(),{alt:"contact",src:"/menu/contact.png",width:176,height:178})})})]}),(0,s.jsx)("div",{style:{height:"".concat(n,"px")}}),(0,s.jsx)("div",{className:"mt-2 flex items-end justify-between",children:(0,s.jsxs)("div",{className:"leading-tight font-bold",children:[(0,s.jsx)(d(),{href:"/",className:"text-black no-underline",children:(0,s.jsx)(x,{text:"Home"})}),i.map(e=>(0,s.jsx)(d(),{className:"text-black no-underline",href:e.href,target:"_blank",children:(0,s.jsx)(x,{text:e.name})},e.href)),(0,s.jsx)(x,{text:"Team"})]})})]})}var m=n(1163),u=function(){let e=(0,r.useMemo)(()=>"w-4 sm:w-5 md:w-6 lg:w-7",[]),[t,n]=(0,r.useState)(!1),i=(0,r.useRef)(null),[o,x]=(0,r.useState)(0),{asPath:u}=(0,m.useRouter)();return(0,r.useEffect)(()=>{function e(){if(!i.current)return;let e=i.current.getBoundingClientRect().height;x(window.innerHeight-e)}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,s.jsxs)("div",{className:"w-full bg-white bg-opacity-10 fixed z-50 top-0",ref:i,children:[(0,s.jsxs)("div",{className:"flex items-center justify-between py-2 px-4 md:px-5 lg:px-10 pt-3 pb-3",children:[t?(0,s.jsx)(a.Z,{className:"text-white text-2xl md:text-3xl lg:text-4xl cursor-pointer",onClick:()=>{n(!t)}}):(0,s.jsx)(c.Z,{className:"text-white text-2xl md:text-3xl lg:text-4xl cursor-pointer",onClick:()=>{n(!t)}}),(0,s.jsx)("div",{className:"absolute left-1/2 -translate-x-1/2",children:(0,s.jsx)(d(),{href:"/",children:(0,s.jsx)(l(),{width:125,height:125,src:"/induction.svg",alt:"IIITD Logo",className:"w-20 sm:w-24 md:w-28 lg:w-32"})})}),(0,s.jsxs)("div",{className:"flex items-center justify-between gap-4 font-medium",children:["/"===u&&(0,s.jsx)(d(),{href:"/schedule",className:"text-white no-underline hidden md:inline",children:"Schedule"}),"/schedule"===u&&(0,s.jsx)(d(),{href:"/",className:"text-white no-underline hidden md:inline",children:"Home"}),(0,s.jsx)("a",{href:"https://instagram.com/sc.iiitd?igshid=MmU2YjMzNjRlOQ==",target:"_blank",children:(0,s.jsx)(l(),{width:25,height:25,src:"/instagram.svg",alt:"IIITD Logo",className:e})}),(0,s.jsx)("a",{href:"https://www.linkedin.com/school/iiit-delhi/",target:"_blank",children:(0,s.jsx)(l(),{width:25,height:25,src:"/linkedin.svg",alt:"IIITD Logo",className:e})}),(0,s.jsx)("a",{href:"https://twitter.com/IIITDelhi",target:"_blank",children:(0,s.jsx)(l(),{width:25,height:25,src:"/twitter.svg",alt:"IIITD Logo",className:e})})]})]}),(0,s.jsx)("div",{className:"absolute top-[100%] left-0",style:{visibility:t?"visible":"hidden"},children:(0,s.jsx)("div",{className:"relative duration-100 transition-all ".concat(t?"left-0":"left-[-100%]"),style:{height:"".concat(o,"px")},children:(0,s.jsx)(h,{})})})]})},p=n(456),g=n(891),f=n(1145),b=function(){(0,r.useEffect)(()=>{let e=document.createElement("script");return e.async=!0,document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]);let e=(0,r.useMemo)(()=>"text-xs md:text-sm lg:text-md",[]),t=(0,r.useMemo)(()=>[{title:"Phone",content:(0,s.jsx)("p",{className:e,children:"+91-011-26907421, +91-011-26907553"}),icon:(0,s.jsx)(f.Z,{})},{title:"Mail",content:(0,s.jsx)("p",{className:e,children:(0,s.jsx)("a",{className:"hover:underline text-red no-underline",href:"mailto:induction@iiitd.ac.in",children:"induction@iiitd.ac.in"})}),icon:(0,s.jsx)(g.Z,{})},{title:"Fax",content:(0,s.jsx)("p",{className:e,children:"+91-11-26907405"}),icon:(0,s.jsx)(p.Z,{})}],[e]);return(0,s.jsxs)("div",{className:"w-full bg-[#252525] p-4 sm:p-6 md:p-8 lg:p-10 flex flex-col md:flex-row justify-between text-red gap-5",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(l(),{width:75,height:75,src:"/logo.svg",alt:"IIITD Logo"}),(0,s.jsx)("div",{className:"w-1 h-11 bg-red"}),(0,s.jsx)("p",{className:"uppercase font-bold text-xs sm:text-sm md:text-md lg:text-lg my-0.5",children:"indraprashta institute of information technology, delhi"})]}),(0,s.jsx)("div",{"data-inview-text-shuffle":!0,children:(0,s.jsx)("div",{"data-text-shuffle":!0,children:(0,s.jsxs)("p",{className:"text-xs sm:text-sm md:text-md lg:text-lg",children:["Okhla Industrial Area Phase 3, Near Govindpuri Metro Station"," ",(0,s.jsx)("br",{}),"New Delhi, Delhi, 110020"]})})})]}),(0,s.jsx)("div",{children:t.map(e=>(0,s.jsxs)("div",{className:"flex justify-between sm:justify-start items-center gap-5 my-2",children:[(0,s.jsxs)("div",{className:"flex gap-2",children:[e.icon,(0,s.jsx)("p",{className:"font-bold text-xs md:text-sm lg:text-md",children:e.title})]}),(0,s.jsx)("div",{"data-inview-text-shuffle":!0,children:(0,s.jsx)("div",{"data-text-shuffle":!0,children:e.content})})]},e.title))})]})};function j(e){let{firstSection:t,secondSection:n,thirdSection:i,fourthSection:c,variant:a=1}=e,[o,d]=(0,r.useState)(0),[x,h]=(0,r.useState)(0);(0,r.useEffect)(()=>{function e(){let e=window.innerWidth,t=13.6;e<768?t=9.6:e>=1200&&(t=16),d(2*e/t),h(e)}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]);let m=(0,r.useMemo)(()=>"0px ".concat(o/2.3,"px, 50% ").concat(o/6.5,"px, 100% 0px"),[o]),p=(0,r.useMemo)(()=>"100% calc(100% - ".concat(o/3,"px), 50% calc(100% - ").concat(o/6.5,"px), 0px 100%"),[o]);return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("div",{className:"".concat(1===a?"bg-[#DF392E]":"bg-yellow"," relative bg-bottom bg-cover bg-no-repeat"),style:{backgroundImage:"url('/background_filters/section1.png')",paddingBottom:"".concat(o/1.5,"px")},children:[(0,s.jsx)(u,{}),t,(0,s.jsx)("div",{className:"absolute w-full h-[".concat(o,"px] bottom-0 left-0 z-[2]"),style:{height:"".concat(o,"px")},children:(0,s.jsx)(l(),{src:"/background_filters/ripped1.svg",fill:!0,alt:"rip",className:"object-cover object-center"})})]}),(0,s.jsx)("div",{className:"".concat(1===a?"bg-[#32BD6C]":"bg-purple9"," relative z-[1] bg-bottom bg-cover bg-no-repeat"),style:{top:"-".concat(o/1.5,"px"),clipPath:"polygon(".concat(m,", ").concat(p,")"),backgroundImage:"url('/background_filters/section2.png')",paddingTop:"".concat(o/1.5,"px"),paddingBottom:"".concat(o,"px")},children:n}),i&&(0,s.jsxs)("div",{className:"bg-[#DF392E] relative bg-bottom bg-cover bg-no-repeat",style:{top:"-".concat(o,"px"),backgroundImage:"url('/background_filters/section3.png')",paddingTop:"".concat(o/3,"px"),paddingBottom:"".concat(x<768?5*o:o/2,"px")},children:[(0,s.jsx)("div",{className:"absolute w-full z-[3]",style:{height:"".concat(o,"px"),top:"-".concat(o/3,"px")},children:(0,s.jsx)(l(),{src:"/background_filters/ripped1.svg",fill:!0,alt:"rip",className:"object-cover object-center"})}),i]}),c?(0,s.jsxs)("div",{className:"relative bg-yellow bg-cover bg-top bg-no-repeat",style:{top:"-".concat(o,"px"),backgroundImage:"url('/background_filters/section1.png')",paddingTop:"".concat(o/3,"px")},children:[(0,s.jsx)("div",{className:"absolute w-full z-[2]",style:{height:"".concat(o,"px"),top:"-".concat(o/2,"px"),transform:"rotateZ(3deg)"},children:(0,s.jsx)(l(),{src:"/background_filters/ripped1.svg",fill:!0,alt:"rip",className:"object-cover object-center"})}),c]}):null,(0,s.jsx)("div",{className:"absolute w-full bg-background z-[5] flex items-center",style:{marginTop:"-".concat(o,"px"),bottom:"0",minHeight:"".concat(o,"px")},children:(0,s.jsx)(b,{})})]})})}}}]);