PageSourceSearch

https://iiitdplaybook.web.app/static/js/16.039be69c.chunk.js

js iiitdplaybook.web.app collected 2026-10-03 12:26:42 UTC 18,178 bytes, 2 lines download raw bytes

1(this["webpackJsonpstudent-playbook"]=this["webpackJsonpstudent-playbook"]||[]).push([[16],{253:function(e,t,r){"use strict";var n=r(4),a=r(6),o=r(2),i=(r(8),r(7)),l=r(17),c=r(209),s=o.forwardRef((function(e,t){var r=e.children,l=e.classes,s=e.className,u=e.focusVisibleClassName,d=Object(a.a)(e,["children","classes","className","focusVisibleClassName"]);return o.createElement(c.a,Object(n.a)({className:Object(i.a)(l.root,s),focusVisibleClassName:Object(i.a)(u,l.focusVisible),ref:t},d),r,o.createElement("span",{className:l.focusHighlight}))}));t.a=Object(l.a)((function(e){return{root:{display:"block",textAlign:"inherit",width:"100%","&:hover $focusHighlight":{opacity:e.palette.action.hoverOpacity},"&$focusVisible $focusHighlight":{opacity:.12}},focusVisible:{},focusHighlight:{overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}}}),{name:"MuiCardActionArea"})(s)},254:function(e,t,r){"use strict";var n=r(4),a=r(6),o=r(2),i=(r(8),r(7)),l=r(17),c=["video","audio","picture","iframe","img"],s=o.forwardRef((function(e,t){var r=e.children,l=e.classes,s=e.className,u=e.component,d=void 0===u?"div":u,f=e.image,b=e.src,p=e.style,m=Object(a.a)(e,["children","classes","className","component","image","src","style"]),v=-1!==c.indexOf(d),h=!v&&f?Object(n.a)({backgroundImage:'url("'.concat(f,'")')},p):p;return o.createElement(d,Object(n.a)({className:Object(i.a)(l.root,s,v&&l.media,-1!=="picture img".indexOf(d)&&l.img),ref:t,style:h,src:v?f||b:void 0},m),r)}));t.a=Object(l.a)({root:{display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},media:{width:"100%"},img:{objectFit:"cover"}},{name:"MuiCardMedia"})(s)},272:function(e,t){function r(e,t,r,n,a,o,i){try{var l=e[o](i),c=l.value}catch(s){return void r(s)}l.done?t(c):Promise.resolve(c).then(n,a)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var i=e.apply(t,n);function l(e){r(i,a,o,l,c,"next",e)}function c(e){r(i,a,o,l,c,"throw",e)}l(void 0)}))}}},373:function(e,t,r){var n=r(13),a=r(272),o=r(2),i=r(374),l=300,c=5,s=.2,u=300,d=function(e){var t=window.getComputedStyle(e),r=t.getPropertyValue("width"),n=Number(r.split("px")[0]),a=t.getPropertyValue("height");return{x:n,y:Number(a.split("px")[0])}},f=function(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))},b=function(){var e=a(n.mark((function e(t,r){var a,o,l,c,s,u,b,p,m,v,w=arguments;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=w.length>2&&void 0!==w[2]&&w[2],o=y(t),l=d(document.body),c=f(l.x,l.y),s=f(r.x,r.y),u=c/s,b=c/s,p=h(r.x*b+o.x,-r.y*b+o.y),m="",v=200,t.style.transition=a?"ease "+u+"s":"ease-out "+u+"s",m=0===g(t)?x((Math.random()-.5)*v):g(t)>0?x(Math.random()*v/2+g(t)):x((Math.random()-1)*v/2+g(t)),t.style.transform=p+m,e.next=15,i(1e3*u);case 15:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),p=function(e){e.style.transition=l+"ms";var t=y(e),r=h(t.x*-s,t.y*-s),n=x(g(e)*-s);e.style.transform=r+n,setTimeout((function(){e.style.transform="none"}),.75*l),setTimeout((function(){e.style.transition="10ms"}),l)},m=function(e){return Math.abs(e.x)>Math.abs(e.y)?e.x>0?"right":"left":e.y>0?"up":"down"},v=function(e,t){var r=t.x-e.x,n=e.y-t.y,a=(t.time-e.time)/1e3;return{x:r/a,y:n/a}},h=function(e,t){return"translate("+e+"px, "+t+"px)"},x=function(e){return"rotate("+e+"deg)"},y=function(e){var t=window.getComputedStyle(e),r=new WebKitCSSMatrix(t.webkitTransform);return{x:r.m41,y:r.m42}},g=function(e){var t=window.getComputedStyle(e),r=new WebKitCSSMatrix(t.webkitTransform);return-Math.asin(r.m21)/(2*Math.PI)*360},w=function(e,t,r,n){var a={x:e.x+r.x,y:e.y+r.y},o={x:a.x,y:a.y,time:(new Date).getTime()},i=h(a.x,a.y),l=v(n,o).x/1e3,s=x(l*c);return t.style.transform=i+s,o},O=function(e){var t=e.targetTouches[0];return{x:t.clientX,y:t.clientY}},C=function(e){return{x:e.clientX,y:e.clientY}},j=o.forwardRef((function(e,t){var r=e.flickOnSwipe,i=void 0===r||r,l=e.children,c=e.onSwipe,s=e.onCardLeftScreen,d=e.className,f=e.preventSwipe,h=void 0===f?[]:f,x=o.useRef(!1),y=o.useRef();o.useImperativeHandle(t,(function(){return{swipe:function(){var e=arguments;return a(n.mark((function t(){var r,a,o;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.length>0&&void 0!==e[0]?e[0]:"right",c&&c(r),a=1e3,o=100*(Math.random()-.5),"right"!==r){t.next=9;break}return t.next=7,b(y.current,{x:a,y:o},!0);case 7:t.next=22;break;case 9:if("left"!==r){t.next=14;break}return t.next=12,b(y.current,{x:-a,y:o},!0);case 12:t.next=22;break;case 14:if("up"!==r){t.next=19;break}return t.next=17,b(y.current,{x:o,y:a},!0);case 17:t.next=22;break;case 19:if("down"!==r){t.next=22;break}return t.next=22,b(y.current,{x:o,y:-a},!0);case 22:y.current.style.display="none",s&&s(r);case 24:case"end":return t.stop()}}),t)})))()}}}));var g=o.useCallback(function(){var e=a(n.mark((function e(t,r){var a;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!x.current){e.next=2;break}return e.abrupt("return");case 2:if(x.current=!0,!(Math.abs(r.x)>u||Math.abs(r.y)>u)){e.next=13;break}if(a=m(r),c&&c(a),!i){e.next=13;break}if(h.includes(a)){e.next=13;break}return e.next=10,b(t,r);case 10:return t.style.display="none",s&&s(a),e.abrupt("return");case 13:p(t);case 14:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),[x,i,c,s,h]),j=o.useCallback((function(){x.current=!1}),[x]);return o.useLayoutEffect((function(){var e={x:null,y:null},t={x:0,y:0},r={x:0,y:0,time:(new Date).getTime()},n=!1;y.current.addEventListener("touchstart",(function(t){t.preventDefault(),j(),e={x:-O(t).x,y:-O(t).y}})),y.current.addEventListener("mousedown",(function(t){t.preventDefault(),n=!0,j(),e={x:-C(t).x,y:-C(t).y}})),y.current.addEventListener("touchmove",(function(n){n.preventDefault();var a=w(O(n),y.current,e,r);t=v(r,a),r=a}
1)),y.current.addEventListener("mousemove",(function(a){if(a.preventDefault(),n){var o=w(C(a),y.current,e,r);t=v(r,o),r=o}})),y.current.addEventListener("touchend",(function(e){e.preventDefault(),g(y.current,t)})),y.current.addEventListener("mouseup",(function(e){n&&(e.preventDefault(),n=!1,g(y.current,t))})),y.current.addEventListener("mouseleave",(function(e){n&&(e.preventDefault(),n=!1,g(y.current,t))}))}),[]),o.createElement("div",{ref:y,className:d},l)}));e.exports=j},374:function(e,t){e.exports=function(e){return new Promise((function(t){setTimeout(t,e)}))}},422:function(e,t,r){"use strict";var n=r(6),a=r(41),o=r(4),i=r(2),l=(r(8),r(7)),c=r(17),s=r(209),u=r(25),d=i.forwardRef((function(e,t){var r=e.classes,a=e.className,c=e.disabled,d=void 0!==c&&c,f=e.disableFocusRipple,b=void 0!==f&&f,p=e.fullWidth,m=e.icon,v=e.indicator,h=e.label,x=e.onChange,y=e.onClick,g=e.onFocus,w=e.selected,O=e.selectionFollowsFocus,C=e.textColor,j=void 0===C?"inherit":C,k=e.value,E=e.wrapped,S=void 0!==E&&E,N=Object(n.a)(e,["classes","className","disabled","disableFocusRipple","fullWidth","icon","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"]);return i.createElement(s.a,Object(o.a)({focusRipple:!b,className:Object(l.a)(r.root,r["textColor".concat(Object(u.a)(j))],a,d&&r.disabled,w&&r.selected,h&&m&&r.labelIcon,p&&r.fullWidth,S&&r.wrapped),ref:t,role:"tab","aria-selected":w,disabled:d,onClick:function(e){x&&x(e,k),y&&y(e)},onFocus:function(e){O&&!w&&x&&x(e,k),g&&g(e)},tabIndex:w?0:-1},N),i.createElement("span",{className:r.wrapper},m,h),v)}));t.a=Object(c.a)((function(e){var t;return{root:Object(o.a)({},e.typography.button,(t={maxWidth:264,minWidth:72,position:"relative",boxSizing:"border-box",minHeight:48,flexShrink:0,padding:"6px 12px"},Object(a.a)(t,e.breakpoints.up("sm"),{padding:"6px 24px"}),Object(a.a)(t,"overflow","hidden"),Object(a.a)(t,"whiteSpace","normal"),Object(a.a)(t,"textAlign","center"),Object(a.a)(t,e.breakpoints.up("sm"),{minWidth:160}),t)),labelIcon:{minHeight:72,paddingTop:9,"& $wrapper > *:first-child":{marginBottom:6}},textColorInherit:{color:"inherit",opacity:.7,"&$selected":{opacity:1},"&$disabled":{opacity:.5}},textColorPrimary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled}},textColorSecondary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.text.disabled}},selected:{},disabled:{},fullWidth:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},wrapped:{fontSize:e.typography.pxToRem(12),lineHeight:1.5},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"}}}),{name:"MuiTab"})(d)},431:function(e,t,r){"use strict";var n,a=r(4),o=r(6),i=r(41),l=r(2),c=(r(132),r(8),r(7)),s=r(95),u=r(97);function d(){if(n)return n;var e=document.createElement("div");return e.appendChild(document.createTextNode("ABCD")),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),n="reverse",e.scrollLeft>0?n="default":(e.scrollLeft=1,0===e.scrollLeft&&(n="negative")),document.body.removeChild(e),n}function f(e,t){var r=e.scrollLeft;if("rtl"!==t)return r;switch(d()){case"negative":return e.scrollWidth-e.clientWidth+r;case"reverse":return e.scrollWidth-e.clientWidth-r;default:return r}}function b(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var p={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function m(e){var t=e.onChange,r=Object(o.a)(e,["onChange"]),n=l.useRef(),i=l.useRef(null),c=function(){n.current=i.current.offsetHeight-i.current.clientHeight};return l.useEffect((function(){var e=Object(s.a)((function(){var e=n.current;c(),e!==n.current&&t(n.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[t]),l.useEffect((function(){c(),t(n.current)}),[t]),l.createElement("div",Object(a.a)({style:p,ref:i},r))}var v=r(17),h=r(25),x=l.forwardRef((function(e,t){var r=e.classes,n=e.className,i=e.color,s=e.orientation,u=Object(o.a)(e,["classes","className","color","orientation"]);return l.createElement("span",Object(a.a)({className:Object(c.a)(r.root,r["color".concat(Object(h.a)(i))],n,"vertical"===s&&r.vertical),ref:t},u))})),y=Object(v.a)((function(e){return{root:{position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},colorPrimary:{backgroundColor:e.palette.primary.main},colorSecondary:{backgroundColor:e.palette.secondary.main},vertical:{height:"100%",width:2,right:0}}}),{name:"PrivateTabIndicator"})(x),g=r(58),w=Object(g.a)(l.createElement("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),O=Object(g.a)(l.createElement("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),C=r(209),j=l.createElement(w,{fontSize:"small"}),k=l.createElement(O,{fontSize:"small"}),E=l.forwardRef((function(e,t){var r=e.classes,n=e.className,i=e.direction,s=e.orientation,u=e.disabled,d=Object(o.a)(e,["classes","className","direction","orientation","disabled"]);return l.createElement(C.a,Object(a.a)({component:"div",className:Object(c.a)(r.root,n,u&&r.disabled,"vertical"===s&&r.vertical),ref:t,role:null,tabIndex:null},d),"left"===i?j:k)})),S=Object(v.a)({root:{width:40,flexShrink:0,opacity:.8,"&$disabled":{opacity:0}
vendor: 4,098 bytes, line 1
1},vertical:{width:"100%",height:40,"& svg":{transform:"rotate(90deg)"}},disabled:{}},{name:"MuiTabScrollButton"})(E),N=r(32),M=r(94),L=l.forwardRef((function(e,t){var r=e["aria-label"],n=e["aria-labelledby"],p=e.action,v=e.centered,h=void 0!==v&&v,x=e.children,g=e.classes,w=e.className,O=e.component,C=void 0===O?"div":O,j=e.indicatorColor,k=void 0===j?"secondary":j,E=e.onChange,L=e.orientation,W=void 0===L?"horizontal":L,B=e.ScrollButtonComponent,R=void 0===B?S:B,T=e.scrollButtons,D=void 0===T?"auto":T,F=e.selectionFollowsFocus,A=e.TabIndicatorProps,z=void 0===A?{}:A,H=e.TabScrollButtonProps,I=e.textColor,P=void 0===I?"inherit":I,V=e.value,$=e.variant,K=void 0===$?"standard":$,q=Object(o.a)(e,["aria-label","aria-labelledby","action","centered","children","classes","className","component","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant"]),X=Object(M.a)(),J="scrollable"===K,Y="rtl"===X.direction,G="vertical"===W,U=G?"scrollTop":"scrollLeft",Q=G?"top":"left",Z=G?"bottom":"right",_=G?"clientHeight":"clientWidth",ee=G?"height":"width";var te=l.useState(!1),re=te[0],ne=te[1],ae=l.useState({}),oe=ae[0],ie=ae[1],le=l.useState({start:!1,end:!1}),ce=le[0],se=le[1],ue=l.useState({overflow:"hidden",marginBottom:null}),de=ue[0],fe=ue[1],be=new Map,pe=l.useRef(null),me=l.useRef(null),ve=function(){var e,t,r=pe.current;if(r){var n=r.getBoundingClientRect();e={clientWidth:r.clientWidth,scrollLeft:r.scrollLeft,scrollTop:r.scrollTop,scrollLeftNormalized:f(r,X.direction),scrollWidth:r.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(r&&!1!==V){var a=me.current.children;if(a.length>0){var o=a[be.get(V)];0,t=o?o.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},he=Object(N.a)((function(){var e,t=ve(),r=t.tabsMeta,n=t.tabMeta,a=0;if(n&&r)if(G)a=n.top-r.top+r.scrollTop;else{var o=Y?r.scrollLeftNormalized+r.clientWidth-r.scrollWidth:r.scrollLeft;a=n.left-r.left+o}var l=(e={},Object(i.a)(e,Q,a),Object(i.a)(e,ee,n?n[ee]:0),e);if(isNaN(oe[Q])||isNaN(oe[ee]))ie(l);else{var c=Math.abs(oe[Q]-l[Q]),s=Math.abs(oe[ee]-l[ee]);(c>=1||s>=1)&&ie(l)}})),xe=function(e){!function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},o=n.ease,i=void 0===o?b:o,l=n.duration,c=void 0===l?300:l,s=null,u=t[e],d=!1,f=function(){d=!0},p=function n(o){if(d)a(new Error("Animation cancelled"));else{null===s&&(s=o);var l=Math.min(1,(o-s)/c);t[e]=i(l)*(r-u)+u,l>=1?requestAnimationFrame((function(){a(null)})):requestAnimationFrame(n)}};u===r?a(new Error("Element already at target position")):requestAnimationFrame(p)}(U,pe.current,e)},ye=function(e){var t=pe.current[U];G?t+=e:(t+=e*(Y?-1:1),t*=Y&&"reverse"===d()?-1:1),xe(t)},ge=function(){ye(-pe.current[_])},we=function(){ye(pe.current[_])},Oe=l.useCallback((function(e){fe({overflow:null,marginBottom:-e})}),[]),Ce=Object(N.a)((function(){var e=ve(),t=e.tabsMeta,r=e.tabMeta;if(r&&t)if(r[Q]<t[Q]){var n=t[U]+(r[Q]-t[Q]);xe(n)}else if(r[Z]>t[Z]){var a=t[U]+(r[Z]-t[Z]);xe(a)}})),je=Object(N.a)((function(){if(J&&"off"!==D){var e,t,r=pe.current,n=r.scrollTop,a=r.scrollHeight,o=r.clientHeight,i=r.scrollWidth,l=r.clientWidth;if(G)e=n>1,t=n<a-o-1;else{var c=f(pe.current,X.direction);e=Y?c<i-l-1:c>1,t=Y?c>1:c<i-l-1}e===ce.start&&t===ce.end||se({start:e,end:t})}}));l.useEffect((function(){var e=Object(s.a)((function(){he(),je()})),t=Object(u.a)(pe.current);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}),[he,je]);var ke=l.useCallback(Object(s.a)((function(){je()})));l.useEffect((function(){return function(){ke.clear()}}),[ke]),l.useEffect((function(){ne(!0)}),[]),l.useEffect((function(){he(),je()})),l.useEffect((function(){Ce()}),[Ce,oe]),l.useImperativeHandle(p,(function(){return{updateIndicator:he,updateScrollButtons:je}}),[he,je]);var Ee=l.createElement(y,Object(a.a)({className:g.indicator,orientation:W,color:k},z,{style:Object(a.a)({},oe,z.style)}
1)),Se=0,Ne=l.Children.map(x,(function(e){if(!l.isValidElement(e))return null;var t=void 0===e.props.value?Se:e.props.value;be.set(t,Se);var r=t===V;return Se+=1,l.cloneElement(e,{fullWidth:"fullWidth"===K,indicator:r&&!re&&Ee,selected:r,selectionFollowsFocus:F,onChange:E,textColor:P,value:t})})),Me=function(){var e={};e.scrollbarSizeListener=J?l.createElement(m,{className:g.scrollable,onChange:Oe}):null;var t=ce.start||ce.end,r=J&&("auto"===D&&t||"desktop"===D||"on"===D);return e.scrollButtonStart=r?l.createElement(R,Object(a.a)({orientation:W,direction:Y?"right":"left",onClick:ge,disabled:!ce.start,className:Object(c.a)(g.scrollButtons,"on"!==D&&g.scrollButtonsDesktop)},H)):null,e.scrollButtonEnd=r?l.createElement(R,Object(a.a)({orientation:W,direction:Y?"left":"right",onClick:we,disabled:!ce.end,className:Object(c.a)(g.scrollButtons,"on"!==D&&g.scrollButtonsDesktop)},H)):null,e}();return l.createElement(C,Object(a.a)({className:Object(c.a)(g.root,w,G&&g.vertical),ref:t},q),Me.scrollButtonStart,Me.scrollbarSizeListener,l.createElement("div",{className:Object(c.a)(g.scroller,J?g.scrollable:g.fixed),style:de,ref:pe,onScroll:ke},l.createElement("div",{"aria-label":r,"aria-labelledby":n,className:Object(c.a)(g.flexContainer,G&&g.flexContainerVertical,h&&!J&&g.centered),onKeyDown:function(e){var t=e.target;if("tab"===t.getAttribute("role")){var r=null,n="vertical"!==W?"ArrowLeft":"ArrowUp",a="vertical"!==W?"ArrowRight":"ArrowDown";switch("vertical"!==W&&"rtl"===X.direction&&(n="ArrowRight",a="ArrowLeft"),e.key){case n:r=t.previousElementSibling||me.current.lastChild;break;case a:r=t.nextElementSibling||me.current.firstChild;break;case"Home":r=me.current.firstChild;break;case"End":r=me.current.lastChild}null!==r&&(r.focus(),e.preventDefault())}},ref:me,role:"tablist"},Ne),re&&Ee),Me.scrollButtonEnd)}));t.a=Object(v.a)((function(e){return{root:{overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},vertical:{flexDirection:"column"},flexContainer:{display:"flex"},flexContainerVertical:{flexDirection:"column"},centered:{justifyContent:"center"},scroller:{position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},fixed:{overflowX:"hidden",width:"100%"},scrollable:{overflowX:"scroll",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},scrollButtons:{},scrollButtonsDesktop:Object(i.a)({},e.breakpoints.down("xs"),{display:"none"}),indicator:{}}}),{name:"MuiTabs"})(L)}}]);
2//# sourceMappingURL=16.039be69c.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.