PageSourceSearch

https://iiitdplaybook.web.app/static/js/main.0f42a1f8.chunk.js

js iiitdplaybook.web.app collected 2026-10-03 12:26:22 UTC 46,865 bytes, 2 lines download raw bytes

1(this["webpackJsonpstudent-playbook"]=this["webpackJsonpstudent-playbook"]||[]).push([[4],{112:function(e,c,t){"use strict";var s=t(0);t(2),t(157);c.a=function(){return Object(s.jsxs)("div",{children:[Object(s.jsx)("div",{id:"stars"}),Object(s.jsx)("div",{id:"stars2"}),Object(s.jsx)("div",{id:"stars3"})]})}},116:function(e,c,t){"use strict";var s=t(33);function a(){var e=Object(s.a)(["\n  width: 100vw;\n  position: relative;\n  left: 0%;\n  right: 0%;\n  margin-left: -50vw;\n  margin-right: -50vw;\n"]);return a=function(){return e},e}var i=t(22).default.div(a());c.a=i},140:function(e,c,t){},141:function(e,c,t){},148:function(e,c,t){},149:function(e,c,t){},157:function(e,c,t){},158:function(e,c,t){},174:function(e,c,t){},189:function(e,c,t){},190:function(e,c,t){},196:function(e,c,t){},197:function(e,c,t){},199:function(e,c,t){"use strict";t.r(c);var s=t(0),a=t(2),i=t.n(a),n=t(16),r=t.n(n),l=(t(140),t(117)),o=t(10),j=(t(141),t(13)),d=t.n(j),b=t(26),x=t(15),m=t(38),u=(t(147),t(148),t(93)),h=t(112);t(158);var O=function(){return Object(s.jsx)("div",{children:Object(s.jsxs)("div",{id:"Clouds",children:[Object(s.jsx)("div",{className:"Cloud Foreground"}),Object(s.jsx)("div",{className:"Cloud Background"}),Object(s.jsx)("div",{className:"Cloud Foreground"}),Object(s.jsx)("div",{className:"Cloud Background"}),Object(s.jsx)("div",{className:"Cloud Foreground"}),Object(s.jsx)("div",{className:"Cloud Background"}),Object(s.jsx)("div",{className:"Cloud Background"}),Object(s.jsx)("div",{className:"Cloud Foreground"}),Object(s.jsx)("div",{className:"Cloud Background"}),Object(s.jsx)("div",{className:"Cloud Background"})]})})},v=t(48),p=(t(79),t(89)),f=t.n(p);t(189);var N=function(){return Object(s.jsx)(s.Fragment,{children:Object(s.jsxs)("div",{className:"containerCircles",children:[Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})}),Object(s.jsx)("div",{className:"circle-container",children:Object(s.jsx)("div",{className:"circle"})})]})})},g=t(101),y=t(29);var k=function(){var e=i.a.useState([]),c=Object(o.a)(e,2),t=c[0],a=c[1],n=function(){var e=Object(b.a)(d.a.mark((function e(){var c,t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=y.b.database().ref("Creators"),e.next=3,c.once("value");case 3:return t=e.sent,e.abrupt("return",Object.values(t.val()));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return i.a.useEffect(Object(b.a)(d.a.mark((function e(){var c;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n();case 2:return c=e.sent,a(c),e.abrupt("return",(function(){}));case 5:case"end":return e.stop()}}),e)}))),[]),Object(s.jsx)(s.Fragment,{children:t.map((function(e,c){return Object(s.jsx)("a",{className:"defaultClick",href:e.defaultLink,target:"_blank",rel:"noreferrer",children:Object(s.jsxs)("div",{className:"creatorCard",children:[Object(s.jsx)("img",{src:e.image,alt:e.firstName}),Object(s.jsxs)("div",{className:"memberText",children:[Object(s.jsxs)("p",{children:[e.firstName+" ",Object(s.jsxs)("div",{className:"removeText",children:["\xa0",e.lastName]})," "]}),Object(s.jsx)("p",{className:"teamName",children:"Creator"})]}),Object(s.jsx)("a",{className:"fa fa-linkedin fa-lg",href:e.linkedin,target:"_blank",rel:"noreferrer"})]})},c)}))})},S=(t(190),t(27)),w=t(11),I=t(66),T=t.n(I),_=t(43),C=t.n(_);var P=function(){var e=i.a.useState([]),c=Object(o.a)(e,2),t=c[0],a=c[1],n=function(){var e=Object(b.a)(d.a.mark((function e(){var c,t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=y.b.database().ref("Team"),e.next=3,c.once("value");case 3:return t=e.sent,e.abrupt("return",Object.values(t.val()));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return i.a.useEffect(Object(b.a)(d.a.mark((function e(){var c;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n();case 2:return c=e.sent,a(c),e.abrupt("return",(function(){}));case 5:case"end":return e.stop()}}),e)}))),[]),t.length&&Object(s.jsx)(T.a,{velocity:20,children:C()(t.length,Number).map((function(e,c){return Object(s.jsx)("div",{children:Object(s.jsx)("a",{className:"defaultClick",href:t[e].defaultLink,target:"_blank",children:Object(s.jsxs)("div",{className:"memberCard",children:[Object(s.jsx)("img",{src:t[e].image}),Object(s.jsxs)("div",{className:"memberText",children:[Object(s.jsxs)("p",{children:[t[e].firstName+" ",Object(s.jsxs)("div",{className:"removeText",children:["\xa0",t[e].lastName]})," "]}),Object(s.jsx)("p",{className:"teamName",children:t[e].team})]}),Object(s.jsx)("a",{className:"fa fa-linkedin fa-lg",href:t[e].linkedin,target:"_blank"})]})})},c)}))})};var A=function(e){var c=e.page,t=Object(a.useState)(!1),i=Object(o.a)(t,2),n=i[0],r=i[1],l="#fff";return Object(a.useEffect)((function(){r("login"!==c),"login"===c&&(l="#051e36")})),Object(s.jsxs)("div",{id:n?"footer":"footer-login",children:[Object(s.jsxs)("div",{className:"upper",children:[Object(s.jsxs)("div",{className:n?"divider":"invisible",children:[Object(s.jsx)("div",{className:"support-us",children:Object(s.jsx)("div",{children:Object(s.jsxs)(S.a,{className:"footerBtn",target:"_blank",href:"https://www.buymeacoffee.com/iiitdplaybook",children:[Object(s.jsx)("img",{className:"buymeacoffeelogo",src:"https://bmc-dev.s3.us-east-2.amazonaws.com/assets/icons/bmc_icon_black.png"}),"Support Us"]})})}),Object(s.jsx)("div",{className:"contribute",children:Object(s.jsxs)(S.a,{className:"footerBtn",component:w.b,to:"/contribute/testimonies",children:[Object(s.jsx)("img",{className:"buymeacoffeelogo",src:"https://cdn.statically.io/gh/ananyalohani/iiitdplaybook/footer/src/Assets/icons/contribute.png"}),"Contribute"]})})]}),Object(s.jsx)("div",{className:"creators",children:Object(s.jsx)(k,{})}),Object(s.jsx)("div",{className:"team",children:Object(s.jsx)(P,{})})]}),Object(s.jsx)("div",{className:"lower",style:{color:"".concat(l)},children:"IIITD Student Playbook \xa9 2021"})]})};t(196);var E=function(){var e=[{title:"brewbakes",img:"https://cdn.statically.io/gh/iiitdplaybook/iiitdplaybook/7a661570/src/Assets/college_phases/brewbakes.jpeg"},{title:"graduation",img:"https://cdn.statically.io/gh/iiitdplaybook/iiit
1dplaybook/cae94a65/src/Assets/college_phases/graduation.gif"},{title:"holi",img:"https://cdn.statically.io/gh/iiitdplaybook/iiitdplaybook/7a661570/src/Assets/college_phases/holi.jpeg"},{title:"library",img:"https://cdn.statically.io/gh/iiitdplaybook/iiitdplaybook/7a661570/src/Assets/college_phases/library.jpeg"},{title:"dandiya",img:"https://cdn.statically.io/gh/iiitdplaybook/iiitdplaybook/7a661570/src/Assets/college_phases/dandiya.jpg"}];function c(){return 30*Math.random()-15+"deg"}return Object(s.jsx)("div",{className:"college-phases",children:Object(s.jsx)("div",{className:"items",children:e.map((function(t,a){return a===Math.floor(e.length/2)?Object(s.jsxs)(s.Fragment,{children:[Object(s.jsx)("h1",{className:"textCard",children:"Phases of College Life"}),Object(s.jsx)("div",{className:"item",children:Object(s.jsx)("img",{className:"phases-image",src:t.img,alt:t.title,style:{transform:"rotate("+c()+")"}})},a)]}):Object(s.jsx)("div",{className:"item",children:Object(s.jsx)("img",{className:"phases-image",src:t.img,alt:t.title,style:{transform:"rotate("+c()+")"}})},a)}))})})};var U=function(){var e=Object(m.b)(),c=Object(o.a)(e,1)[0],t=(c.user,c.isSignedIn),i=c.userName,n=Object(a.useState)([]),r=Object(o.a)(n,2),l=r[0],j=r[1],p=Object(a.useState)([]),y=Object(o.a)(p,2),k=y[0],I=y[1],T=Object(a.useState)([]),_=Object(o.a)(T,2),C=_[0],P=_[1],U=Object(a.useState)([]),z=Object(o.a)(U,2),B=z[0],D=z[1],F=Object(a.useState)([]),L=Object(o.a)(F,2),M=L[0],R=L[1],G=Object(a.useState)([]),W=Object(o.a)(G,2),H=W[0],q=W[1],Y=Object(a.useState)(0),J=Object(o.a)(Y,2),V=J[0],K=J[1],Q=function(){var e=Object(b.a)(d.a.mark((function e(){var c,t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=[],t=x.a.database().ref("Greetings"),e.next=4,t.once("value",(function(e){e.forEach((function(e){var t=[e.val().prefix,e.val().suffix];c.push(t)}))}));case 4:K(Math.floor(Math.random()*Math.floor(c.length))),q(c);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Z=function(){var e=Object(b.a)(d.a.mark((function e(){var c,t,s,a,i,n,r,l,o,b;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=[],t=[],s=[],a=[],i=[],n=x.a.database().ref("Testimonies/Phases of College - Baby Steps"),e.next=8,n.once("value",(function(e){e.forEach((function(e){if(1==e.val().isApproved){var t=e.val().Name,s=e.val().Text,a=e.val().UserAvatar,i={};i.UserAvatar=a,i.Text=s,i.Name=t,i.Topic="Phases of College - Baby Steps",i.isApproved=!0,c.push(i)}}))}));case 8:return r=x.a.database().ref("Testimonies/Phases of College - Exploring"),e.next=11,r.once("value",(function(e){e.forEach((function(e){if(1==e.val().isApproved){var c=e.val().Name,s=e.val().Text,a=e.val().UserAvatar,i={};i.UserAvatar=a,i.Text=s,i.Name=c,i.Topic="Phases of College - Exploring",i.isApproved=!0,t.push(i)}}))}));case 11:return l=x.a.database().ref("Testimonies/Phases of College - Defining Point"),e.next=14,l.once("value",(function(e){e.forEach((function(e){if(1==e.val().isApproved){var c=e.val().Name,t=e.val().Text,a=e.val().UserAvatar,i={};i.UserAvatar=a,i.Text=t,i.Name=c,i.Topic="Phases of College - Defining Point",i.isApproved=!0,s.push(i)}}))}));case 14:return o=x.a.database().ref("Testimonies/Phases of College - Graduating"),e.next=17,o.once("value",(function(e){e.forEach((function(e){if(1==e.val().isApproved){var c=e.val().Name,t=e.val().Text,s=e.val().UserAvatar,i={};i.UserAvatar=s,i.Text=t,i.Name=c,i.Topic="Phases of College - Graduating",i.isApproved=!0,a.push(i)}}))}));case 17:return b=x.a.database().ref("Testimonies/Phases of College - Nostalgia"),e.next=20,b.once("value",(function(e){e.forEach((function(e){if(1==e.val().isApproved){var c=e.val().Name,t=e.val().Text,s=e.val().UserAvatar,a={};a.UserAvatar=s,a.Text=t,a.Name=c,a.Topic="Phases of College - Nostalgia",a.isApproved=!0,i.push(a)}}))}));case 20:j(c),I(t),P(s),D(a),R(i);case 25:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();Object(a.useEffect)((function(){return Z(),Q(),function(){}}),[]);var X=[];return Object(a.useEffect)((function(){for(var e=0;e<7;e++)X[e].setAttribute("style","height:100vh","!important")})),Object(s.jsxs)(s.Fragment,{children:[Object(s.jsx)(u.a,{loggedIn:!0,colorStatus:!1,stickyCond:!0}),Object(s.jsx)(f.a,{fitToSection:!0,scrollingSpeed:500,navigation:window.innerWidth>600,navigationPosition:"left",navigationTooltips:["Welcome","Phases of College","Baby Steps","Exploring","Defining Point","Graduation","Nostalgia"],bigSectionsDestination:"top",recordHistory:!1,touchSensitivity:10,render:function(e){var c,a;e.state,e.fullpageApi;return Object(s.jsxs)(f.a.Wrapper,{children:[Object(s.jsxs)("div",{ref:function(e){return X[0]=e},className:"section section_0",children:[Object(s.jsx)(N,{}
1),Object(s.jsxs)("div",{className:"section_1",children:[Object(s.jsx)(g.a,{trackOnWindow:!0,perspective:500,children:t?Object(s.jsxs)("h1",{className:"welcome_text",children:[null===H||void 0===H||null===(c=H[V])||void 0===c?void 0:c[0],i.split(" ")[0],null===H||void 0===H||null===(a=H[V])||void 0===a?void 0:a[1]]}):Object(s.jsx)("h1",{className:"welcome_text",children:"Hello"})}),Object(s.jsx)("h4",{style:{textAlign:"center",marginLeft:"20%",marginRight:"20%",color:"#e6e6e6"},children:"Welcome to the only guide to hack IIITD. The playbook provides you with multiple strategies that other students use, their experiences and stories, tools you can use to help you along the way and much more!"}),Object(s.jsxs)(S.a,{className:"explore_button",component:w.b,to:"/explore",children:["Explore The Playbook ",">"]})]}),Object(s.jsx)("div",{className:"logo-image",children:Object(s.jsx)("img",{className:"imgHero",src:"https://cdn.statically.io/gh/iiitdplaybook/iiitdplaybook/7a661570/src/Assets/homepage_illustrations/iiitd_pedestal.png"})})]}),Object(s.jsx)("div",{ref:function(e){return X[1]=e},className:"section phases-of-college",children:Object(s.jsx)(E,{})}),Object(s.jsx)("div",{ref:function(e){return X[2]=e},className:"section baby-steps",children:Object(s.jsxs)("div",{className:"section-wrapper",children:[Object(s.jsx)("img",{className:"section-image",src:"https://cdn.statically.io/gh/iiitdplaybook/iiitdplaybook/79223f1e/src/Assets/homepage_illustrations/baby_steps.png",alt:"Baby Steps"}),Object(s.jsxs)("div",{className:"section-container",children:[Object(s.jsx)("h1",{className:"section-title",children:"Baby Steps"}),Object(s.jsx)("p",{className:"section-text",children:"You've got all the time in the world in your first year. Use it to pursue a hobby, join a club, polish your skillset, hang out with friends- pretty much whatever you like!"})]}),Object(s.jsx)(v.default,{portraits:l})]})}),Object(s.jsxs)("div",{ref:function(e){return X[3]=e},className:"section exploring",children:[Object(s.jsx)(O,{}),Object(s.jsxs)("div",{className:"section-wrapper",children:[Object(s.jsx)("img",{className:"section-image",src:"https://cdn.statically.io/gh/iiitdplaybook/iiitdplaybook/7a661570/src/Assets/homepage_illustrations/exploring.png",alt:"Exploring"}),Object(s.jsxs)("div",{className:"section-container",children:[Object(s.jsx)("h1",{className:"section-title",children:"Exploring"}),Object(s.jsx)("p",{className:"section-text",children:"Consume as much information as you can. Participate in hackathons; get to know people in college, get to know people outside college, travel to escape it all, explore relationships. There is so much to do! (Psst. learn how to Google)."})]}),Object(s.jsx)(v.default,{portraits:k})]})]}),Object(s.jsx)("div",{ref:function(e){return X[4]=e},className:"section defining-point",children:Object(s.jsxs)("div",{className:"section-wrapper",children:[Object(s.jsx)("img",{className:"section-image",src:"https://cdn.statically.io/gh/iiitdplaybook/iiitdplaybook/7a661570/src/Assets/homepage_illustrations/defining_point.png",alt:"Defining Point"}),Object(s.jsxs)("div",{className:"section-container",children:[Object(s.jsx)("h1",{className:"section-title",children:"Defining Point"}),Object(s.jsx)("p",{className:"section-text",children:"Do not shy away from trying whatever intrigues you. Try to find something you are passionate about. Follow your own path, find your purpose, find your own ambition and aspiration and don't forget to live in the present."})]}),Object(s.jsx)(v.default,{portraits:C})]})}),Object(s.jsx)("div",{ref:function(e){return X[5]=e},className:"section graduation",children:Object(s.jsxs)("div",{className:"section-wrapper",children:[Object(s.jsx)("img",{className:"section-image",src:"https://cdn.statically.io/gh/iiitdplaybook/iiitdplaybook/7a661570/src/Assets/homepage_illustrations/graduation.png",alt:"Graduation"}),Object(s.jsxs)("div",{className:"section-container",children:[Object(s.jsx)("h1",{className:"section-title",children:"Graduation"}),Object(s.jsx)("p",{className:"section-text",children:"You may be leaving IIITD, but IIITD never leaves you. You cannot say goodbye just yet. All the lessons you've learnt, adventures you've embarked upon and most importantly, the friends you've made are gonna stay with you forever as you enter the next phase of your life."})]}),Object(s.jsx)(v.default,{portraits:B})]})}),Object(s.jsxs)("div",{ref:function(e){return X[6]=e}
1,className:"section nostalgia",id:"stars_container",children:[Object(s.jsxs)("div",{className:"section-wrapper",children:[Object(s.jsx)("img",{className:"section-image",src:"https://cdn.statically.io/gh/iiitdplaybook/iiitdplaybook/7a661570/src/Assets/homepage_illustrations/nostalgia.png",alt:"Nostalgia"}),Object(s.jsxs)("div",{className:"section-container",children:[Object(s.jsx)("h1",{className:"section-title",children:"Nostalgia"}),Object(s.jsx)("p",{className:"section-text",children:"From Odyssey to mid-sems, morning classes to late night movie sessions, mess to brew bakes, impromptu travel plans to midnight parantha breaks - come take a trip down the memory lane with us and relive some of your favourite moments."})]}),Object(s.jsx)(v.default,{portraits:M})]}),Object(s.jsx)(h.a,{})]}),Object(s.jsx)("div",{className:"section fp-auto-height",children:Object(s.jsx)(A,{})})]})}})]})},z=(t(197),t(201)),B=t(33),D=t(22);t(116);function F(){var e=Object(B.a)(["\n  p {\n    margin: 8px;\n    color: #382f70;\n    font-family: Poppins, sans-serif;\n    font-size: ","px;\n    line-height: ","px;\n    font-weight: 100;\n    text-align: left;\n  }\n"]);return F=function(){return e},e}function L(){var e=Object(B.a)(["\n  border-radius: 50%;\n  width: ","px;\n  height: ","px;\n  overflow: hidden;\n  flex-shrink: 0;\n  margin-right: ","px;\n  img {\n    max-width: 100%;\n  }\n"]);return L=function(){return e},e}function M(){var e=Object(B.a)(["\n  width: ","px;\n  display: flex;\n  padding: ","px;\n  background: #fff;\n  // background: rgba(255,255,255,.2);\n  // backdrop-filter: blur(100px);\n  border-radius: 65px;\n  border-color: linear-gradient(90deg, #1eb0f6 6.32%, #2bd4df 100%);\n  box-shadow: 0 7px 20px 0 rgba(0, 0, 0, 0.12);\n"]);return M=function(){return e},e}function R(){var e=Object(B.a)(["\n  padding: ","px;\n"]);return R=function(){return e},e}function G(){var e=Object(B.a)(["\n  position: relative;\n  width: 100%;\n"]);return G=function(){return e},e}D.default.div(G()),D.default.div(R(),(function(e){return 40*e.scale})),D.default.div(M(),(function(e){return 225*e.scale}),(function(e){return 20*e.scale})),D.default.div(L(),(function(e){return 58*e.scale}),(function(e){return 58*e.scale}),(function(e){return 15*e.scale})),D.default.div(F(),(function(e){return 28*e.scale}),(function(e){return 24*e.scale}));var W=t(20);t(106);function H(){var e=Object(B.a)(["\n  @media (prefers-reduced-motion: no-preference) {\n    animation-name: ",";\n    animation-fill-mode: backwards;\n  }\n"]);return H=function(){return e},e}function q(){var e=Object(B.a)(["\n  from {\n    opacity: 0;\n  }\n  to {\n    opacity: 1;\n  }\n"]);return q=function(){return e},e}var Y=Object(D.keyframes)(q()),J=(D.default.div(H(),Y),t(83)),V=t(14);var K=function(){var e=i.a.useState([]),c=Object(o.a)(e,2),t=(c[0],c[1],Object(V.f)());return Object(z.a)({root:{width:200,marginLeft:50},media:{height:150}})(),Object(s.jsxs)("div",{className:"login",children:[Object(s.jsxs)("div",{className:"login__logo",children:[Object(s.jsx)("img",{id:"logo",src:"https://cdn.statically.io/gh/PabitraBansal/StudentPlaybook/6d20d536/src/Assets/Logo.png"}),Object(s.jsx)(w.b,{className:"login__link",to:{pathname:"https://forms.gle/beJjnyQ9rkTTBGtq9"},target:"_blank",children:Object(s.jsx)(S.a,{className:"login__form",children:"Playbook for your college?"})})]}),Object(s.jsxs)("div",{className:"login__action",children:[Object(s.jsxs)("div",{className:"login__heading",children:[Object(s.jsx)("h1",{className:"textCard2",children:"Student Playbook"}),Object(s.jsx)("h5",{className:"textCard3",children:"For the students, by the students"})]}),Object(s.jsxs)("div",{className:"login__buttons",children:[Object(s.jsx)(S.a,{id:"signIn",onClick:function(){y.a.setPersistence(x.a.auth.Auth.Persistence.LOCAL),y.a.signInWithPopup(y.c).then((function(e){localStorage.setItem("isSignedIn",!0),function(e){var c=x.a.firestore().collection("users").doc(e.uid);c.get().then((function(t){if(!t.exists){var s={uid:e.uid,displayName:e.displayName,email:e.email,UserAvatar:e.photoURL};c.set(s).then((function(){}))}}))}
1(e.user),t.push("/homepage")})).catch((function(e){}))},children:"Sign in with IIITD Mail"}),Object(s.jsx)(S.a,{id:"guest",component:w.b,to:"/homepage",children:"Take a Sneak Peek"})]})]})]})};var Q=function(){return Object(s.jsxs)("div",{className:"loader_wrapper",style:{background:"white",height:"100vh",width:"100vw",overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"},children:[Object(s.jsx)("p",{style:{color:"#141414",fontSize:"1.5em"},children:"Loading..."}),Object(s.jsx)("p",{style:{color:"#141414",fontStyle:"italic",marginTop:"2%"},children:"Open in laptop for best experience"}),Object(s.jsx)(J.a,{autoplay:!0,loop:!0,src:"https://cdn.statically.io/gh/iiitdplaybook/iiitdplaybook/7a661570/src/Assets/beat.json",style:{height:"300px",width:"300px",zIndex:"1"}})]})},Z=t(73),X=t(127),$=t(125);function ee(){var e=Object(V.g)().pathname;return Object(a.useEffect)((function(){window.scrollTo({top:0,left:0,behavior:"smooth"})}),[e]),null}var ce=t(39);var te=function(){var e=Object(m.b)(),c=Object(o.a)(e,2);Object(l.a)(c[0]);var n=c[1],r=Object(a.useState)(!0),j=Object(o.a)(r,2),d=j[0],b=j[1],u=i.a.lazy((function(){return Promise.all([t.e(0),t.e(11),t.e(21)]).then(t.bind(null,440))})),h=i.a.lazy((function(){return Promise.resolve().then(t.bind(null,48))})),O=i.a.lazy((function(){return Promise.all([t.e(2),t.e(7),t.e(28)]).then(t.bind(null,417))})),v=i.a.lazy((function(){return Promise.all([t.e(1),t.e(19)]).then(t.bind(null,437))})),p=i.a.lazy((function(){return Promise.all([t.e(0),t.e(3),t.e(8),t.e(10)]).then(t.bind(null,429))})),f=i.a.lazy((function(){return t.e(13).then(t.bind(null,421))})),N=i.a.lazy((function(){return Promise.all([t.e(9),t.e(18)]).then(t.bind(null,441))})),g=i.a.lazy((function(){return Promise.all([t.e(2),t.e(16),t.e(14)]).then(t.bind(null,442))})),y=i.a.lazy((function(){return t.e(12).then(t.bind(null,434))})),k=i.a.lazy((function(){return Promise.all([t.e(17),t.e(23)]).then(t.bind(null,443))})),S=i.a.lazy((function(){return Promise.all([t.e(0),t.e(3),t.e(15)]).then(t.bind(null,435))})),I=i.a.lazy((function(){return Promise.all([t.e(1),t.e(22)]).then(t.bind(null,438))})),T=i.a.lazy((function(){return t.e(25).then(t.bind(null,423))})),_=i.a.lazy((function(){return t.e(26).then(t.bind(null,424))})),C=i.a.lazy((function(){return t.e(20).then(t.bind(null,425))})),P=i.a.lazy((function(){return t.e(24).then(t.bind(null,426))})),E=i.a.lazy((function(){return t.e(27).then(t.bind(null,427))}));ce.a.configure(),Object(a.useEffect)((function(){setTimeout((function(){return b(!1)}),10)}),[]),Object(a.useEffect)((function(){x.a.auth().onAuthStateChanged((function(e){n(e?{type:"SET_USER",user:e,isSignedIn:!0,userName:e.displayName}:{type:"SET_USER",user:null,isSignedIn:!1,userName:""})}))}),[]);var z=Object(Z.a)({palette:{primary:{main:"#fff"}}});return Object(s.jsx)(s.Fragment,{children:Object(s.jsx)(X.a,{theme:z,children:!1===d?Object(s.jsxs)("div",{className:"app",children:[$.isMobile?Object(s.jsx)("div",{className:"popup",children:Object(s.jsx)("p",{children:"Hello, you are using phone so get off. Use laptop"})}):null,Object(s.jsx)("div",{className:"popup",children:Object(s.jsxs)("div",{className:"modal_content",children:[Object(s.jsx)("span",{className:"close",children:"\xd7"}),Object(s.jsx)("p",{children:"I'm A Pop Up!!!"})]})}),Object(s.jsxs)(w.a,{children:[Object(s.jsx)(ee,{}),localStorage.getItem("isSignedIn")?Object(s.jsxs)("div",{children:[Object(s.jsxs)(V.c,{children:[Object(s.jsx)(V.a,{path:"/explore",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)(f,{})})}),Object(s.jsx)(V.a,{path:"/supplies",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)(v,{})})}),Object(s.jsx)(V.a,{path:"/internships",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)(p,{})})}),Object(s.jsx)(V.a,{path:"/nostalgia",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)(k,{})})}),Object(s.jsx)(V.a,{path:"/friends",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)(O,{})})}),Object(s.jsx)(V.a,{path:"/test",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)(h,{})})}),Object(s.jsx)(V.a,{path:"/timemanagement",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)(g,{})})}),Object(s.jsx)(V.a,{path:"/quickbites",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)(S,{})})}),Object(s.jsx)(V.a,{path:"/tools",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)(N,{})})}),Object(s.jsx)(V.a,{path:"/resources",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)(y,{})})}),Object(s.jsx)(V.a,{path:"/contribute/testimonies",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)(u,{})})}),Object(s.jsx)(V.a,{path:"/hmu",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)("div",{className:"app__body",children:Object(s.jsx)(I,{})})})}),Object(s.jsx)(V.a,{path:"/projects",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)("div",{className:"app__body",children:Object(s.jsx)(T,{})})})}),Object(s.jsx)(V.a,{path:"/queries",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)("div",{className:"app__body",children:Object(s.jsx)(_,{})})})}),Object(s.jsx)(V.a,{path:"/clubs",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)("div",{className:"app__body",children:Object(s.jsx)(C,{})})})}),Object(s.jsx)(V.a,{path:"/opportunities",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)("div",{className:"app__body",children:Object(s.jsx)(P,{})})})}),Object(s.jsx)(V.a,{path:"/talking",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)("div",{className:"app__body",children:Object(s.jsx)(E,{})})})}),Object(s.jsx)(V.a,{path:"/",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)("div",{className:"app__body",children:Object(s.jsx)(U,{})})})})]}),Object(s.jsx)(A,{})]}):Object(s.jsx)("div",{children:Object(s.jsxs)(V.c,{children:[Object(s.jsx)(V.a,{path:"/supplies",children:Object(s.jsxs)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:[Object(s.jsx)(v,{}),Object(s.jsx)(A,{})]})}),Object(s.jsx)(V.a,{path:"/nostalgia",children:Object(s.jsxs)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:[Object(s.jsx)(k,{}
1),Object(s.jsx)(A,{})]})}),Object(s.jsx)(V.a,{path:"/quickbites",children:Object(s.jsxs)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:[Object(s.jsx)(S,{}),Object(s.jsx)(A,{})]})}),Object(s.jsx)(V.a,{path:"/explore",children:Object(s.jsxs)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:[Object(s.jsx)(f,{}),Object(s.jsx)(A,{})]})}),Object(s.jsx)(V.a,{path:"/homepage",children:Object(s.jsx)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:Object(s.jsx)("div",{className:"app__body",children:Object(s.jsx)(U,{})})})}),Object(s.jsx)(V.a,{path:"/",children:Object(s.jsxs)(a.Suspense,{fallback:Object(s.jsx)(Q,{}),children:[Object(s.jsx)(K,{}),Object(s.jsx)(A,{page:"login"})]})})]})})]})]}):Object(s.jsx)(Q,{})})})},se=function(e){e&&e instanceof Function&&t.e(29).then(t.bind(null,428)).then((function(c){var t=c.getCLS,s=c.getFID,a=c.getFCP,i=c.getLCP,n=c.getTTFB;t(e),s(e),a(e),i(e),n(e)}))},ae={user:null,isSignedIn:!1,userName:""},ie="SET_USER",ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ae,c=arguments.length>1?arguments[1]:void 0;switch(c.type){case ie:return Object(W.a)(Object(W.a)({},e),{},{user:c.user,isSignedIn:c.isSignedIn,userName:c.userName});default:return e}};r.a.render(Object(s.jsx)(i.a.StrictMode,{children:Object(s.jsx)(m.a,{initialState:ae,reducer:ne,children:Object(s.jsx)(te,{})})}),document.getElementById("root")),se()},29:function(e,c,t){"use strict";t.d(c,"a",(function(){return i})),t.d(c,"c",(function(){return n}));var s=t(15),a=s.a.initializeApp({apiKey:"AIzaSyAiXO2Tf-PdAWv0VFLn5x1gytZW4Qw8RyY",authDomain:"iiitd-student-playbook.firebaseapp.com",databaseURL:"https://iiitd-student-playbook.firebaseio.com",projectId:"iiitd-student-playbook",storageBucket:"iiitd-student-playbook.appspot.com",messagingSenderId:"557827916584",appId:"1:557827916584:web:679950ab0a34089436461d",measurementId:"G-5BBSPSTEEE"}),i=s.a.auth(),n=(new s.a.auth.GoogleAuthProvider).setCustomParameters({hd:"iiitd.ac.in"});s.a.analytics(),s.a.firestore().settings({cacheSizeBytes:s.a.firestore.CACHE_SIZE_UNLIMITED}),s.a.firestore().enablePersistence().catch((function(e){"failed-precondition"==e.code||e.code})),c.b=a},38:function(e,c,t){"use strict";t.d(c,"a",(function(){return n})),t.d(c,"b",(function(){return r}));var s=t(0),a=t(2),i=Object(a.createContext)(),n=function(e){var c=e.reducer,t=e.initialState,n=e.children;return Object(s.jsx)(i.Provider,{value:Object(a.useReducer)(c,t),children:n})},r=function(){return Object(a.useContext)(i)}},48:function(e,c,t){"use strict";t.r(c),t.d(c,"default",(function(){return o}));var s=t(20),a=t(0),i=(t(2),t(98)),n=t.n(i),r=(t(174),t(43)),l=t.n(r);function o(e){var c=e.portraits,t=window.innerWidth<600?Math.min(1,c.length):Math.min(4,c.length),i=(window.innerWidth,Math.min(1,c.length)),r={dots:window.innerWidth>600,infinite:!0,slidesToShow:t,slidesToScroll:i,autoplay:!0,autoplaySpeed:1500,cssEase:"ease-in-out",pauseOnHover:!0,arrows:window.innerWidth>600,centerMode:!0,centerPadding:"30px",adaptiveHeight:!0};return Object(a.jsx)("div",{style:{margin:"5%"},children:Object(a.jsx)(n.a,Object(s.a)(Object(s.a)({},r),{},{children:l()(c.length,String).map((function(e,t){return Object(a.jsx)("div",{children:Object(a.jsx)("div",{className:"box",children:Object(a.jsxs)("div",{className:"review",children:[Object(a.jsxs)("div",{id:"containerHeader",children:[Object(a.jsx)("div",{className:"avatar",children:Object(a.jsx)("img",{src:c[e].UserAvatar,alt:""})}),Object(a.jsx)("div",{className:"name",children:Object(a.jsx)("p",{children:c[e].Name})})]}),Object(a.jsx)("div",{className:"content",children:Object(a.jsx)("p",{children:c[e].Text})})]})})},t)}))}))})}},93:function(e,c,t){"use strict";var s=t(20),a=t(10),i=t(0),n=t(2),r=t.n(n),l=(t(149),t(29)),o=t(203),j=t(205),d=t(206),b=t(207),x=t(210),m=t(92),u=t(27),h=t(130),O=t(201),v=t(38),p=t(11),f=t(73),N=t(127),g=t(128),y=t(87),k=t.n(y),S=t(54),w=t.n(S),I=t(55),T=t.n(I),_=t(88),C=t.n(_),P=t(15),A=t(39),E=(t(79),t(14)),U="https://cdn.statically.io/gh/iiitdplaybook/iiitdplaybook/7a661570/src/Assets/SVG/Asset1.svg",z="https://cdn.statically.io/gh/iiitdplaybook/iiitdplaybook/7a661570/src/Assets/SVG/Asset2.svg",B=Object(O.a)((function(e){return{root:{display:"flex"},paper:{marginRight:e.spacing(2)}}}));c.a=function(e){e.loggedIn;var c=e.colorStatus,t=e.stickyCond,n=Object(v.b)(),O=Object(a.a)(n,1)[0].user,y=r.a.useState(null),S=Object(a.a)(y,2),I=(S[0],S[1],B(),r.a.useState(!1)),_=Object(a.a)(I,2),D=_[0],F=_[1],L=r.a.useRef(null),M=function(){F((function(e){return!e}))},R=function(e){L.current&&L.current.contains(e.target)||F(!1)};function G(e){"Tab"===e.key&&(e.preventDefault(),F(!1))}var W=r.a.useRef(D);r.a.useEffect((function(){!0===W.current&&!1===D&&L.current.focus(),W.current=D}),[D]),A.a.configure();var H=function(){return A.a.info("Sign in with IIITD mail to access",{draggablePercent:30,autoClose:2500})},q=Object(E.f)(),Y=function(){l.a.signOut().then((function(e){localStorage.removeItem("isSignedIn"),q.push("/login")})).catch((function(e){}))},J=Object(f.a)({palette:{primary:{main:"#fff"}}}),V=Object(f.a)({palette:{primary:{main:"#141414"}}});function K(){P.a.auth.currentUser;return Object(i.jsx)(o.a,{open:D,anchorEl:L.current,role:void 0,transition:!0,disablePortal:!0,children:function(e){var c=e.TransitionProps,t=e.placement;return Object(i.jsx)(j.a,Object(s.a)(Object(s.a)({},c),{},{style:{transformOrigin:"bottom"===t?"center top":"center bottom"},children:Object(i.jsx)(d.a,{children:Object(i.jsx)(b.a,{onClickAway:R,children:Object(i.jsxs)(x.a,{autoFocusItem:D,id:"menu-list-grow",onKeyDown:G,children:[Object(i.jsx)(m.a,{children:null===O||void 0===O?void 0:O.displayName}),localStorage.getItem("isSignedIn")?Object(i.jsx)(m.a,{id:"sign
1Btn",onClick:Y,color:"primary",children:"Sign out"}):Object(i.jsx)(m.a,{id:"signBtn",component:p.b,color:"primary",to:"/login",children:"Sign in"})]})})})}))}})}return Object(i.jsx)(i.Fragment,{children:t?Object(i.jsxs)("div",{className:"navbar",style:{backgroundImage:"linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,.5))",position:"fixed",top:"0",width:"98vw"},children:[Object(i.jsx)("div",{className:"navbar__left",children:Object(i.jsx)(p.b,{to:"/homepage",style:{textDecoration:"none"},children:c?Object(i.jsx)("img",{id:"logo",src:z,alt:"Student Playbook"}):Object(i.jsx)("img",{id:"logo",src:U,alt:"Student Playbook"})})}),Object(i.jsx)("div",{className:"navbar__right",children:Object(i.jsxs)(N.a,{theme:c?V:J,children:[Object(i.jsx)(u.a,{id:"btn",component:p.b,color:"primary",to:"/explore",startIcon:Object(i.jsx)(k.a,{style:{color:"primary",padding:"10%"}}),children:Object(i.jsx)("div",{className:"removeText",children:"Explore"})}),localStorage.getItem("isSignedIn")?Object(i.jsx)(u.a,{id:"btn",component:p.b,color:"primary",to:"/tools",startIcon:Object(i.jsx)(w.a,{style:{color:"primary",padding:"10%"}}),children:Object(i.jsx)("div",{className:"removeText",children:"Tools"})}):Object(i.jsx)(u.a,{id:"btn",color:"primary",onClick:H,style:{opacity:".5"},startIcon:Object(i.jsx)(w.a,{style:{color:"primary",padding:"10%"}}),children:Object(i.jsx)("div",{className:"removeText",children:"Tools"})}),localStorage.getItem("isSignedIn")?Object(i.jsx)(u.a,{id:"btn",color:"primary",component:p.b,to:"/contribute/testimonies",startIcon:Object(i.jsx)(T.a,{style:{color:"primary",padding:"10%"}}),children:Object(i.jsx)("div",{className:"removeText",children:"Contribute"})}):Object(i.jsx)(u.a,{id:"btn",color:"primary",onClick:H,style:{opacity:".5"},startIcon:Object(i.jsx)(T.a,{style:{color:"primary",padding:"10%"}}),children:Object(i.jsx)("div",{className:"removeText",children:"Contribute"})}),Object(i.jsx)(u.a,{id:"btn",component:p.b,color:"primary",to:"/supplies",startIcon:Object(i.jsx)(C.a,{style:{color:"primary",padding:"2%",transform:"scale(1.3)"}}),children:Object(i.jsx)("div",{className:"removeText",children:"Supplies"})}),localStorage.getItem("isSignedIn")?Object(i.jsx)(g.a,{className:"userIcon",ref:L,"aria-controls":D?"menu-list-grow":void 0,"aria-haspopup":"true",onClick:M,children:Object(i.jsx)(h.a,{id:"pic",src:null===O||void 0===O?void 0:O.photoURL,alt:"User"})}):Object(i.jsx)(u.a,{id:"btn",component:p.b,to:"/login",color:"primary",children:"Sign In"}),K()]})})]}):Object(i.jsxs)("div",{className:"navbar",children:[Object(i.jsx)("div",{className:"navbar__left",children:Object(i.jsx)(p.b,{to:"/homepage",style:{textDecoration:"none"},children:c?Object(i.jsx)("img",{id:"logo",src:z,alt:"Student Playbook"}):Object(i.jsx)("img",{id:"logo",src:U,alt:"Student Playbook"})})}),Object(i.jsx)("div",{className:"navbar__right",children:Object(i.jsxs)(N.a,{theme:c?V:J,children:[Object(i.jsx)(u.a,{id:"btn",component:p.b,color:"primary",to:"/explore",startIcon:Object(i.jsx)(k.a,{style:{color:"primary",padding:"10%"}}),children:Object(i.jsx)("div",{className:"removeText",children:"Explore"})}),localStorage.getItem("isSignedIn")?Object(i.jsx)(u.a,{id:"btn",component:p.b,color:"primary",to:"/tools",startIcon:Object(i.jsx)(w.a,{style:{color:"primary",padding:"10%"}}),children:Object(i.jsx)("div",{className:"removeText",children:"Tools"})}):Object(i.jsx)(u.a,{id:"btn",color:"primary",onClick:H,style:{opacity:".5"},startIcon:Object(i.jsx)(w.a,{style:{color:"primary",padding:"10%"}}),children:Object(i.jsx)("div",{className:"removeText",children:"Tools"})}),localStorage.getItem("isSignedIn")?Object(i.jsx)(u.a,{id:"btn",color:"primary",component:p.b,to:"/contribute/testimonies",startIcon:Object(i.jsx)(T.a,{style:{color:"primary",padding:"10%"}}),children:Object(i.jsx)("div",{className:"removeText",children:"Contribute"})}):Object(i.jsx)(u.a,{id:"btn",color:"primary",onClick:H,style:{opacity:".5"},startIcon:Object(i.jsx)(T.a,{style:{color:"primary",padding:"10%"}}),children:Object(i.jsx)("div",{className:"removeText",children:"Contribute"})}
1),Object(i.jsx)(u.a,{id:"btn",component:p.b,color:"primary",to:"/supplies",startIcon:Object(i.jsx)(C.a,{style:{color:"primary",padding:"2%",transform:"scale(1.3)"}}),children:Object(i.jsx)("div",{className:"removeText",children:"Supplies"})}),localStorage.getItem("isSignedIn")?Object(i.jsx)(g.a,{className:"userIcon",ref:L,"aria-controls":D?"menu-list-grow":void 0,"aria-haspopup":"true",onClick:M,children:Object(i.jsx)(h.a,{id:"pic",src:null===O||void 0===O?void 0:O.photoURL,alt:"User"})}):Object(i.jsx)(u.a,{id:"btn",component:p.b,to:"/login",color:"primary",children:"Sign In"}),K()]})})]})})}}},[[199,5,6]]]);
2//# sourceMappingURL=main.0f42a1f8.chunk.js.map

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.