1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9744],{17862:function(e,n,t){var r=t(15787).w_;e.exports.c=function(e){return r({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attr:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]})(e)}},19379:function(e,n,t){var r=t(15787).w_;e.exports.R=function(e){return r({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Circle_Question"},child:[{tag:"g",attr:{},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M11.411,12.459a1.547,1.547,0,0,1,.341-.6,2.644,2.644,0,0,1,.535-.417,2.2,2.2,0,0,0,.363-.286,1.2,1.2,0,0,0,.256-.363A1.084,1.084,0,0,0,13,10.341a.923.923,0,0,0-.142-.517.938.938,0,0,0-.374-.338,1.123,1.123,0,0,0-.519-.119,1.173,1.173,0,0,0-.495.107.934.934,0,0,0-.389.335.884.884,0,0,0-.111.224.516.516,0,0,1-.483.359h0a.506.506,0,0,1-.479-.675,1.661,1.661,0,0,1,.178-.349,1.8,1.8,0,0,1,.748-.634,2.437,2.437,0,0,1,1.031-.215,2.4,2.4,0,0,1,1.082.231,1.737,1.737,0,0,1,.721.641,1.772,1.772,0,0,1,.257.96,1.841,1.841,0,0,1-.118.678,1.685,1.685,0,0,1-.334.536,2.289,2.289,0,0,1-.52.417,2.277,2.277,0,0,0-.462.369,1.113,1.113,0,0,0-.256.455,2.344,2.344,0,0,0-.045.283.487.487,0,0,1-.483.429h0a.484.484,0,0,1-.483-.531A2.931,2.931,0,0,1,11.411,12.459Z"}},{tag:"circle",attr:{cx:"11.793",cy:"14.891",r:"0.587"}}]},{tag:"path",attr:{d:"M12,21.931A9.934,9.934,0,1,1,21.934,12,9.945,9.945,0,0,1,12,21.931ZM12,3.064A8.934,8.934,0,1,0,20.934,12,8.943,8.943,0,0,0,12,3.064Z"}}]}]}]})(e)}},21416:function(e,n,t){var r=t(15787).w_;e.exports.W=function(e){return r({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11.646 15.146 5.854 9.354a.5.5 0 0 1 .353-.854h11.586a.5.5 0 0 1 .353.854l-5.793 5.792a.5.5 0 0 1-.707 0Z"}}]})(e)}},63596:function(e,n,t){var r=t(15787).w_;e.exports.r=function(e){return r({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m12.354 8.854 5.792 5.792a.5.5 0 0 1-.353.854H6.207a.5.5 0 0 1-.353-.854l5.792-5.792a.5.5 0 0 1 .708 0Z"}}]})(e)}},35061:function(e,n,t){var r=t(15787).w_;e.exports.Z=function(e){return r({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M12 1.5a5.25 5.25 0 00-5.25 5.25v3a3 3 0 00-3 3v6.75a3 3 0 003 3h10.5a3 3 0 003-3v-6.75a3 3 0 00-3-3v-3c0-2.9-2.35-5.25-5.25-5.25zm3.75 8.25v-3a3.75 3.75 0 10-7.5 0v3h7.5z",clipRule:"evenodd"}}]})(e)}},30891:function(e,n,t){var r=t(15787).w_;e.exports.y=function(e){return r({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M7 4v16l13 -8z"}}]})(e)}},92608:function(e,n,t){"use strict";t.d(n,{Z:function(){return H}});var r=t(82729),i=t(63366),o=t(87462),a=t(67294),s=t(90512),l=t(94780),c=t(70917),d=t(2101),u=t(82056),h=t(66643),p=t(77527),x=t(44001),f=t(1588),g=t(34867);function v(e){return(0,g.ZP)("MuiLinearProgress",e)}(0,f.Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var m=t(85893);function j(){let e=(0,r._)(["\n 0% {\n left: -35%;\n right: 100%;\n }\n\n 60% {\n left: 100%;\n right: -90%;\n }\n\n 100% {\n left: 100%;\n right: -90%;\n }\n"]);return j=function(){return e},e}function b(){let e=(0,r._)(["\n 0% {\n left: -200%;\n right: 100%;\n }\n\n 60% {\n left: 107%;\n right: -8%;\n }\n\n 100% {\n left: 107%;\n right: -8%;\n }\n"]);return b=function(){return e},e}function Z(){let e=(0,r._)(["\n 0% {\n opacity: 1;\n background-position: 0 -23px;\n }\n\n 60% {\n opacity: 0;\n background-position: 0 -23px;\n }\n\n 100% {\n opacity: 1;\n background-position: -200px -23px;\n }\n"]);return Z=function(){return e},e}function w(){let e=(0,r._)(["\n animation: "," 3s infinite linear;\n "]);return w=function(){return e},e}function y(){let e=(0,r._)(["\n width: auto;\n animation: "," 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n "]);return y=function(){return e},e}function _(){let e=(0,r._)(["\n width: auto;\n animation: "," 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;\n "]);return _=function(){return e},e}let C=["className","color","value","valueBuffer","variant"],k=e=>e,F,P,S,M,I,z,L=(0,c.F4)(F||(F=k(j()))),B=(0,c.F4)(P||(P=k(b()))),D=(0,c.F4)(S||(S=k(Z()))),O=e=>{let{classes:n,variant:t,color:r}=e,i={root:["root","color".concat((0,h.Z)(r)),t],dashed:["dashed","dashedColor".concat((0,h.Z)(r))],bar1:["bar","barColor".concat((0,h.Z)(r)),("indeterminate"===t||"query"===t)&&"bar1Indeterminate","determinate"===t&&"bar1Determinate","buffer"===t&&"bar1Buffer"],bar2:["bar","buffer"!==t&&"barColor".concat((0,h.Z)(r)),"buffer"===t&&"color".concat((0,h.Z)(r)),("indeterminate"===t||"query"===t)&&"bar2Indeterminate","buffer"===t&&"bar2Buffer"]};return(0,l.Z)(i,v,n)},R=(e,n)=>"inherit"===n?"currentColor":e.vars?e.vars.palette.LinearProgress["".concat(n,"Bg")]:"light"===e.palette.mode?(0,d.$n)(e.palette[n].main,.62):(0,d._j)(e.palette[n].main,.5),A=(0,p.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,n)=>{let{ownerState:t}=e;return[n.root,n["color".concat((0,h.Z)(t.color))],n[t.variant]]}})(e=>{let{ownerState:n,theme:t}=e;return(0,o.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:R(t,n.color)},"inherit"===n.color&&"buffer"!==n.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===n.variant&&{backgroundColor:"transparent"},"query"===n.variant&&{transform:"rotate(180deg)"})}),N=(0,p.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,n)=>{let{ownerState:t}=e;return[n.dashed,n["dashedColor".concat((0,h.Z)(t.color))]]}})(e=>{let{ownerState:n,theme:t}=e,r=R(t,n.color);return(0,o.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===n.color&&{opacity:.3},{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},(0,c.iv)(M||(M=k(w(),0)),D)),q=(0,p.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,n)=>{let{ownerState:t}=e;
1return[n.bar,n["barColor".concat((0,h.Z)(t.color))],("indeterminate"===t.variant||"query"===t.variant)&&n.bar1Indeterminate,"determinate"===t.variant&&n.bar1Determinate,"buffer"===t.variant&&n.bar1Buffer]}})(e=>{let{ownerState:n,theme:t}=e;return(0,o.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===n.color?"currentColor":(t.vars||t).palette[n.color].main},"determinate"===n.variant&&{transition:"transform .".concat(4,"s linear")},"buffer"===n.variant&&{zIndex:1,transition:"transform .".concat(4,"s linear")})},e=>{let{ownerState:n}=e;return("indeterminate"===n.variant||"query"===n.variant)&&(0,c.iv)(I||(I=k(y(),0)),L)}),E=(0,p.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,n)=>{let{ownerState:t}=e;return[n.bar,n["barColor".concat((0,h.Z)(t.color))],("indeterminate"===t.variant||"query"===t.variant)&&n.bar2Indeterminate,"buffer"===t.variant&&n.bar2Buffer]}})(e=>{let{ownerState:n,theme:t}=e;return(0,o.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==n.variant&&{backgroundColor:"inherit"===n.color?"currentColor":(t.vars||t).palette[n.color].main},"inherit"===n.color&&{opacity:.3},"buffer"===n.variant&&{backgroundColor:R(t,n.color),transition:"transform .".concat(4,"s linear")})},e=>{let{ownerState:n}=e;return("indeterminate"===n.variant||"query"===n.variant)&&(0,c.iv)(z||(z=k(_(),0)),B)});var H=a.forwardRef(function(e,n){let t=(0,x.i)({props:e,name:"MuiLinearProgress"}),{className:r,color:a="primary",value:l,valueBuffer:c,variant:d="indeterminate"}=t,h=(0,i.Z)(t,C),p=(0,o.Z)({},t,{color:a,variant:d}),f=O(p),g=(0,u.V)(),v={},j={bar1:{},bar2:{}};if(("determinate"===d||"buffer"===d)&&void 0!==l){v["aria-valuenow"]=Math.round(l),v["aria-valuemin"]=0,v["aria-valuemax"]=100;let e=l-100;g&&(e=-e),j.bar1.transform="translateX(".concat(e,"%)")}if("buffer"===d&&void 0!==c){let e=(c||0)-100;g&&(e=-e),j.bar2.transform="translateX(".concat(e,"%)")}return(0,m.jsxs)(A,(0,o.Z)({className:(0,s.Z)(f.root,r),ownerState:p,role:"progressbar"},v,{ref:n},h,{children:["buffer"===d?(0,m.jsx)(N,{className:f.dashed,ownerState:p}):null,(0,m.jsx)(q,{className:f.bar1,ownerState:p,style:j.bar1}),"determinate"===d?null:(0,m.jsx)(E,{className:f.bar2,ownerState:p,style:j.bar2})]}))})},51017:function(e,n,t){"use strict";var r=t(85893),i=t(67294),o=t(3314),a=t(18745),s=t(68325);n.Z=(0,i.memo)(function(e){let{...n}=e,t=(0,a.Z)(),i=t.palette.primary.light,l=t.palette.primary.main,c=t.palette.primary.dark,d=t.palette.primary.darker;return(0,r.jsx)(o.Z,{...n,children:(0,r.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 480 360",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)(s.Z,{}),(0,r.jsx)("image",{href:"/assets/illustrations/characters/character_6.png",height:"300",x:"205",y:"30"}),(0,r.jsx)("path",{fill:"#FFAB00",d:"M111.1 141.2c58.7-1 58.6-88.3 0-89.2-58.6 1-58.6 88.3 0 89.2z",opacity:"0.12"}),(0,r.jsx)("path",{fill:"#FFD666",d:"M111.1 120c30.8-.5 30.8-46.3 0-46.8-30.8.5-30.8 46.3 0 46.8z"}),(0,r.jsx)("path",{fill:d,d:"M244.9 182.5c82.3 1.4 82.2 123.8 0 125.2-82.3-1.5-82.3-123.8 0-125.2zm0 23.1c-51.8.9-51.8 77.9 0 78.8 51.8-.9 51.7-77.9 0-78.8z"}),(0,r.jsx)("path",{fill:"url(#paint0_linear_1_119)",d:"M175 265.6c1-8.7-12.1-4.8-17-5.6v-66.6c0-4.5-1.5-5.6-5.6-5.6-5.3.3-13.8-1.4-17.1 4l-55 68.3c-2.7 3.3-1.8 8.8-2 12.8 0 4.1 1.5 5.6 5.6 5.6h54.7v21.7c-.9 7.9 9.1 5.2 13.7 5.6 4.1 0 5.6-1.5 5.6-5.6v-21.7c13.8-1.1 18.1 4.5 17.1-12.9zm-72.5-5.6l36-44.4V260h-36zm309.1 5.6c1-8.7-12.2-4.8-17.1-5.6v-66.6c0-4.5-1.5-5.6-5.6-5.6-5.3.3-13.7-1.4-17.1 4l-55 68.3c-2.7 3.3-1.9 8.8-2 12.8 0 4.1 1.5 5.6 5.6 5.6h54.7v21.7c-.9 7.9 9.1 5.2 13.7 5.6 4.1 0 5.6-1.5 5.6-5.6v-21.7c14.1-1.1 18.2 4.5 17.2-12.9zm-72.4-5.6l36-44.4V260h-36z"}),(0,r.jsx)("path",{fill:l,d:"M425.6 118.2c0-5-4.6-9-9.6-8.2-2-3.7-6-6-10.2-5.9 4.3-21.4-30-21.4-25.7 0-8.7-.8-15.1 9.4-10.4 16.8 2.1 3.5 5.9 5.6 10 5.5h38.7v-.1c4.1-.4 7.2-3.9 7.2-8.1zM104.3 200c.1-4.2-4.1-7.8-8.2-7-1.7-3.2-5.1-5.1-8.8-5 3.8-18.4-25.8-18.4-22 0-7.4-.7-12.9 8.1-8.9 14.4 1.8 3 5.1 4.8 8.6 4.7h33.2v-.1c3.4-.4 6.1-3.4 6.1-7z",opacity:"0.08"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_1_119",x1:"78.3",x2:"78.3",y1:"187.77",y2:"305.935",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:i}),(0,r.jsx)("stop",{offset:"1",stopColor:c})]})})]})})})},89856:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var r=t(85893),i=t(88489),o=t(53145),a=t(5152),s=t.n(a),l=t(71560),c=t(19392);let d=s()(async()=>await t.e(5758).then(t.bind(t,65758)),{loadableGenerated:{webpack:()=>[65758]},ssr:!1});function u(e){let{children:n,sx:t}=e,a=(0,l.yc)(c.ul.H_MAIN_DESKTOP);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d,{isOffset:a}),(0,r.jsx)(i.Z,{component:"main",children:(0,r.jsx)(o.Z,{sx:{py:12,m:"auto",maxWidth:400,minHeight:"100vh",textAlign:"center",justifyContent:"center",...t},children:n})})]})}},15356:function(e,n,t){"use strict";t.d(n,{Z:function(){return r.Z}});var r=t(89856)},75949:function(e,n,t){"use strict";t.d(n,{Z:function(){return x}});
1var r=t(85893),i=t(67294),o=t(3314),a=t(21844),s=t(77881),l=t(88771),c=t(38175),d=t(54035),u=t(34708),h=t(92338),p=t(16198);function x(e){let{children:n}=e,{themeLayout:t}=(0,a.K$)(),x=(0,s.F)("up","md"),[f,g]=(0,i.useState)(!1),v=()=>{g(!0)},m=(0,r.jsx)(p.Z,{isManager:!0,openNav:f,onCloseNav:()=>{g(!1)}});return(0,r.jsxs)(l.Z,{children:[" ","horizontal"===t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Z,{onOpenNav:v}),x?(0,r.jsx)(u.Z,{isManager:!0}):m,(0,r.jsx)(d.Z,{children:n})]}):"mini"===t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Z,{onOpenNav:v}),(0,r.jsxs)(o.Z,{sx:{display:{md:"flex"},minHeight:{md:1}},children:[x?(0,r.jsx)(h.Z,{isManager:!0}):m,(0,r.jsx)(d.Z,{children:n})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Z,{onOpenNav:v}),(0,r.jsxs)(o.Z,{sx:{display:{md:"flex"},minHeight:{md:1}},children:[m,(0,r.jsx)(d.Z,{children:n})]})]})," "]})}},37300:function(e,n,t){"use strict";t.d(n,{Q:function(){return b}});var r=t(85893);t(67294);var i=t(96788),o=t(4336),a=t(52359),s=t(41664),l=t.n(s),c=t(51017),d=t(94986),u=t(97415),h=t(3314),p=t(84324);function x(){return(0,r.jsxs)(h.Z,{sx:{height:"100vh",width:"100%"},children:[(0,r.jsxs)(h.Z,{sx:{width:"100%",height:"50px",display:"flex",justifyContent:"space-between",alignItems:"center",px:"30px",py:"30px"},children:[(0,r.jsx)(p.Z,{variant:"rounded",animation:"wave",width:220,height:50}),(0,r.jsx)(p.Z,{variant:"rounded",animation:"wave",width:60,height:40}),(0,r.jsx)(p.Z,{variant:"rounded",animation:"wave",width:30,height:30})]}),(0,r.jsxs)(h.Z,{display:"flex",justifyContent:"space-between",sx:{gap:1},children:[(0,r.jsx)(p.Z,{variant:"rectangular",animation:"wave",sx:{width:"400px",height:"calc(100vh - 100px)"}}),(0,r.jsx)(p.Z,{variant:"rectangular",animation:"wave",sx:{width:"1200px",height:"calc(100vh - 100px)"}}),(0,r.jsx)(h.Z,{mb:"400px",children:(0,r.jsx)(p.Z,{variant:"rounded",animation:"wave",sx:{width:"70px",height:"calc(70vh - 50px)",borderRadius:"15px 0px 0px 15px"}})})]})]})}var f=t(35536),g=t(2012),v=t(21225),m=t(15356),j=t(75949);function b(e){let{children:n,isFullScreen:t}=e,{data:s,isLoading:h}=(0,g.yV)({});return((0,v.v9)(e=>e.manager.schoolId),(null==s?void 0:s.data.length)||h)?t?h?(0,r.jsx)(x,{}):n:(0,r.jsx)(j.Z,{children:h?(0,r.jsx)(r.Fragment,{}):n}):(0,r.jsx)(m.Z,{children:(0,r.jsxs)(u.NM,{children:[(0,r.jsx)(a.m.div,{variants:(0,u.Wp)().in,children:(0,r.jsx)(i.Z,{variant:"h3",paragraph:!0,children:"No school found!"})}),(0,r.jsx)(a.m.div,{variants:(0,u.Wp)().in,children:(0,r.jsx)(i.Z,{sx:{color:"text.secondary"},children:"Sorry, you don't have access to any school. Please contact your administrator."})}),(0,r.jsx)(a.m.div,{variants:(0,u.Wp)().in,children:(0,r.jsx)(c.Z,{sx:{height:260,my:{xs:5,sm:10}}})}),(0,r.jsx)(d.Z,{roles:[f.u.SuperAdmin,f.u.Admin,f.u.Owner],children:(0,r.jsx)(o.Z,{component:l(),href:"/manager/organization/schools",size:"large",variant:"contained",sx:{mr:2},children:"Create School"})}),(0,r.jsx)(o.Z,{component:l(),href:"/",size:"large",variant:"outlined",children:"Contact Admin"})]})})}},59483:function(e,n,t){"use strict";t.d(n,{e:function(){return x}});var r=t(85893),i=t(67294),o=t(3314),a=t(21844),s=t(77881),l=t(88771),c=t(38175),d=t(54035),u=t(34708),h=t(92338),p=t(16198);function x(e){let{children:n}=e,{themeLayout:t}=(0,a.K$)(),x=(0,s.F)("up","md"),[f,g]=(0,i.useState)(!1),v=()=>{g(!0)},m=(0,r.jsx)(p.Z,{openNav:f,onCloseNav:()=>{g(!1)}});return(0,r.jsxs)(l.Z,{children:[" ","horizontal"===t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Z,{onOpenNav:v}),x?(0,r.jsx)(u.Z,{}):m,(0,r.jsx)(d.Z,{children:n})]}):"mini"===t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Z,{onOpenNav:v}),(0,r.jsxs)(o.Z,{sx:{display:{md:"flex"},minHeight:{md:1}},children:[x?(0,r.jsx)(h.Z,{}):m,(0,r.jsx)(d.Z,{children:n})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Z,{onOpenNav:v}),(0,r.jsxs)(o.Z,{sx:{display:{md:"flex"},minHeight:{md:1}},children:[m,(0,r.jsx)(d.Z,{children:n})]})]})," "]})}},95485:function(e,n,t){"use strict";t.d(n,{Q7:function(){return i.Q},ZP:function(){return r.Z},e0:function(){return o.e}});var r=t(75949),i=t(37300),o=t(59483)},90546:function(e,n,t){"use strict";var r=t(85893);
1n.Z=e=>{let{width:n,height:t}=e;return(0,r.jsxs)("svg",{width:null!=n?n:53,height:null!=t?t:57,viewBox:"0 0 53 57",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M39.6375 23.6701C41.4669 21.335 41.0531 17.9277 38.718 16.0983C36.3829 14.2689 32.9755 14.6826 31.1461 17.0178C29.3167 19.3529 29.7305 22.7602 32.0656 24.5896C34.4008 26.419 37.8081 26.0053 39.6375 23.6701ZM14.8005 29.0489C15.6817 26.656 16.8169 23.9826 18.1765 21.4164L14.2229 21.1282L9.26684 27.4542L14.8005 29.0489ZM50.3597 1.23837C50.3597 1.23837 57.6477 13.7995 42.6798 32.9051L44.8141 39.4075C45.3875 41.1242 45.0403 43.0105 43.9427 44.4115L34.0805 57L26.7925 44.4388L14.0554 34.4602L0.11502 30.3904L9.97718 17.802C11.0915 16.3797 12.8231 15.6123 14.6273 15.7582L21.4514 16.2741C36.4193 -2.83143 50.3597 1.23837 50.3597 1.23837ZM46.4348 6.24827C46.4348 6.24827 36.7068 5.54713 25.6971 19.6003C21.9551 24.3767 19.5045 31.8776 19.5045 31.8776L27.9958 38.53C27.9958 38.53 34.6922 34.3553 38.4342 29.5789C49.4439 15.5257 46.4348 6.24827 46.4348 6.24827ZM34.7409 47.4114L39.697 41.0853L38.4542 37.3369C36.3046 39.2499 33.964 41.0132 31.8516 42.4414L34.7409 47.4114Z",fill:"url(#paint0_linear_81411_42960)"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_81411_42960",x1:"50.3597",y1:"1.23837",x2:"17.0978",y2:"43.6952",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#7A16C9"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F618D3",stopOpacity:"0.71"})]})})]})}},85521:function(e,n,t){"use strict";t.d(n,{Z:function(){return m}});var r=t(85893),i=t(67294),o=t(95639),a=t(3314),s=t(88196),l=t(92365),c=t(96788),d=t(52857),u=t(40110),h=t(4336),p=t(19379),x=t(26646),f=t(8147),g=t(90546),v=t(79411);function m(e){let{children:n,onOpenLesson:t}=e,m=(0,x.q)(),[j,b]=(0,i.useState)(!1),[Z,w]=(0,i.useState)(null),y=e=>{e.stopPropagation(),e.preventDefault(),w(e.currentTarget)};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.Z,{onClick:e=>{b(!0)},children:n}),(0,r.jsxs)(s.Z,{open:j,onClose:e=>{b(!1)},PaperProps:{sx:v.Lw},children:[(0,r.jsxs)(l.Z,{sx:{...v.D1,py:0},children:[(0,r.jsx)(g.Z,{width:20,height:20}),m("lesson_part_project_type")]}),(0,r.jsxs)(a.Z,{sx:v.lt,children:[(0,r.jsx)(c.Z,{sx:v.t7,variant:"h6",children:m("lesson_dialog_title_2")}),(0,r.jsx)(d.Z,{onClick:e=>{b(!1)},sx:v.vd,children:(0,r.jsx)(o.Z,{})})]}),(0,r.jsxs)(u.Z,{sx:v.f6,children:[(0,r.jsxs)(a.Z,{sx:v.n5,children:[(0,r.jsx)(c.Z,{children:m("lesson_dialog_subtitle_1")}),(0,r.jsx)(d.Z,{onClick:y,children:(0,r.jsx)(p.R,{})})]}),(0,r.jsx)(c.Z,{children:m("lesson_dialog_subtitle_2")}),(0,r.jsx)(h.Z,{onClick:e=>{y(e)},sx:{...v.JU,my:0},children:m("lesson_dialog_learn_more")}),(0,r.jsx)(h.Z,{color:"inherit",variant:"soft",onClick:e=>{t()},children:m("lesson_dialog_btn_start")}),(0,r.jsx)(h.Z,{color:"info",variant:"soft",onClick:e=>{b(!1)},children:m("lesson_dialog_go_back")})]}),(0,r.jsxs)(f.YI,{open:Z,arrow:"bottom-center",onClose:()=>{w(null)},disabledArrow:!0,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:50,horizontal:-50},sx:{p:3,width:400},children:[(0,r.jsx)(c.Z,{variant:"h4",sx:{pb:2},children:m("lesson_to_lesson_code_copying")}),(0,r.jsx)(c.Z,{variant:"body1",sx:{pb:1},children:m("lesson_to_lesson_code_copying_subtitle_1")}),(0,r.jsx)(c.Z,{variant:"body1",sx:{pb:1},children:m("lesson_to_lesson_code_copying_subtitle_2")}),(0,r.jsx)(c.Z,{variant:"body1",sx:{pb:1},children:m("lesson_to_lesson_code_copying_subtitle_3")})]})]})]})}},79411:function(e,n,t){"use strict";t.d(n,{$d:function(){return d},D1:function(){return o},JU:function(){return i},Lw:function(){return m},T3:function(){return r},X7:function(){return a},ah:function(){return c},eu:function(){return s},f6:function(){return g},l8:function(){return h},lb:function(){return l},lt:function(){return p},n5:function(){return v},pC:function(){return u},t7:function(){return x},vd:function(){return f}});let r=e=>({borderRadius:2,p:2,pr:3,bgcolor:"light"===e.palette.mode?"#fff":e.palette.background.paper,minHeight:"150px","&:hover":{cursor:"pointer",boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.2)"},transition:"box-shadow 0.3s ease-in-out"}),i={alignSelf:"flex-start",color:"#454F5B",gap:1,p:0,mt:1,mb:1,alignItems:"center","&:hover":{bgcolor:"transparent"}},o={whiteSpace:"nowrap",display:"flex",alignItems:"center",gap:1,color:"#0198ED"},a={whiteSpace:"nowrap",display:"flex",alignItems:"center",gap:1},s={background:"#fff",borderRadius:"50%",display:"flex",p:1,boxShadow:2},l=()=>
1({cursor:"pointer",display:"flex",gap:3,alignItems:"center",background:"#0000001F",color:"#fff",borderRadius:"80px",p:.5,pl:2,ml:"auto"}),c={background:"#fff",borderRadius:"50%",display:"flex",p:1,boxShadow:2},d={position:"absolute",right:0,top:"-8px",width:"20px",height:"20px",backgroundColor:"#FFF",backgroundImage:"url(/assets/courses/compleated.svg)",backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"14px",borderRadius:"50%",border:"1px solid #919EAB3D"},u=e=>({border:"1px solid #919EAB3D","& .MuiLinearProgress-bar":{background:e?"linear-gradient(135deg, #FFF739 0%, #FF6DC5 100%)":"linear-gradient(135deg, #90F361 0%, #00D9CC 100%)"},position:"relative",background:"#fff"}),h=()=>({display:"flex",gap:3,p:.5,pl:2,alignItems:"center",borderRadius:"80px",ml:"auto",color:"#fff",background:"linear-gradient(308.87deg, #FFF739 -19.29%, #FF6DC5 89.25%)"}),p={display:"flex",alignItems:"center",justifyContent:"space-between"},x={pl:3,pb:2,pt:3,mr:3},f={position:"absolute",top:12,right:12},g={display:"flex",flexDirection:"column",gap:4},v={display:"flex",alignItems:"center",gap:2},m={py:4,px:{sm:1,md:3}}},62799:function(e,n,t){"use strict";t.d(n,{Z:function(){return E}});var r=t(85893),i=t(67294),o=t(3314),a=t(53145),s=t(96788),l=t(4336),c=t(18745),d=t(17862),u=t(21416),h=t(63596),p=t(11163),x=t(2664),f=t(13689),g=t(27520),v=t(57041),m=t(26646),j=()=>{let e=(0,i.useRef)(null),[n,t]=(0,i.useState)(!1),r=()=>!!e.current&&e.current.offsetWidth<e.current.scrollWidth;return(0,i.useEffect)(()=>{t(r())},[]),{longDesc:n,textRef:e}},b=t(5188),Z=t(90546),w=t(79411),y=t(21038);let _=e=>{let{label:n,tooltip:t,icon:i,color:o,gradient:a}=e;return{title:(0,r.jsx)(y.Z,{slotProps:{popper:{disablePortal:!0},tooltip:{sx:{maxWidth:250,whiteSpace:"normal",wordWrap:"break-word"}}},title:(0,r.jsx)(s.Z,{variant:"body2",p:1,children:t}),children:(0,r.jsx)(s.Z,{variant:"body2",sx:{...a?{background:a,backgroundClip:"text",WebkitTextFillColor:"transparent"}:{color:o||"text.primary"}},children:n})}),icon:i}};var C=t(61769),k=t(41664),F=t.n(k),P=t(95639),S=t(88196),M=t(52857),I=t(40110);function z(e){let{confirmText:n,closeText:t,title:a,confirmClick:c,children:d}=e,[u,h]=(0,i.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.Z,{onClick:e=>{h(!0)},children:d}),(0,r.jsxs)(S.Z,{open:u,onClose:e=>{h(!1)},PaperProps:{sx:w.Lw},children:[(0,r.jsxs)(o.Z,{sx:w.lt,children:[(0,r.jsx)(s.Z,{sx:w.t7,variant:"h6",children:a}),(0,r.jsx)(M.Z,{onClick:e=>{h(!1)},sx:w.vd,children:(0,r.jsx)(P.Z,{})})]}),(0,r.jsxs)(I.Z,{sx:w.f6,children:[(0,r.jsx)(l.Z,{color:"inherit",variant:"soft",onClick:e=>{c()},children:n}),t&&(0,r.jsx)(l.Z,{color:"info",variant:"soft",onClick:e=>{h(!1)},children:t})]})]})]})}var L=t(85521),B=t(30891),D=e=>{let{customHref:n}=e,t=(0,m.q)();return(0,r.jsxs)(C.Z,{component:F(),href:n,underline:"none",sx:(0,w.l8)(),children:[(0,r.jsxs)(s.Z,{variant:"h5",children:[" ",t("actions_start")," "]}),(0,r.jsx)(o.Z,{sx:w.eu,children:(0,r.jsx)(B.y,{size:30,style:{color:"#364954"}})})]})},O=t(35061),R=()=>{let e=(0,m.q)();return(0,r.jsxs)(o.Z,{sx:(0,w.lb)(),children:[(0,r.jsx)(s.Z,{variant:"h5",children:e("actions_start")}),(0,r.jsx)(o.Z,{sx:w.ah,children:(0,r.jsx)(O.Z,{size:30,style:{color:"#C4CDD5"}})})]})};function A(e){let{locked:n,isLastLessonInProgress:t,fetchCodeFromPrevLesson:i,fetchDefaultCodeFromPrevLesson:o,courseId:a,unitId:s,lesson:l,index:c}=e,d=(0,m.q)(),u=!l.progress&&t;return n?u?l.independent?(0,r.jsx)(C.Z,{href:v.G1.codePanel.workSpace({courseId:a,unitId:s,lessonId:l.id}),component:F(),sx:{"&:hover":{textDecoration:"none"}},children:(0,r.jsx)(R,{})}):(0,r.jsx)(L.Z,{onOpenLesson:o,children:(0,r.jsx)(R,{})}):(0,r.jsx)(D,{customHref:v.G1.codePanel.workSpace({courseId:a,unitId:s,lessonId:l.id})}):0!==c&&u?(0,r.jsx)(z,{confirmText:d("actions_ok"),confirmClick:i,title:d("lesson_catalog_dialog_title"),children:(0,r.jsx)(R,{})}):(0,r.jsx)(D,{customHref:v.G1.codePanel.workSpace({courseId:a,unitId:s,lessonId:l.id})})}var N=t(92608);function q(e){let{progress:n,locked:t}=e;return(0,r.jsxs)(a.Z,{sx:{position:"relative",mb:1},children:[(0,r.jsx)(N.Z,{variant:"determinate",value:n<3?3:n,sx:(0,w.pC)(!t)}),n>=80?(0,r.jsx)(o.Z,{sx:w.$d}
1):null]})}function E(e){var n,t;let{lesson:y,unitId:C,locked:k,prevLesson:F,index:P}=e,{textRef:S,longDesc:M}=j(),{user:I}=(0,f.E)(),{push:z}=(0,p.useRouter)(),L=(0,m.q)(),B=(0,x.I0)(),D=(0,c.Z)(),[O,R]=(0,i.useState)(!1),N=(0,i.useRef)(null),E=(0,p.useRouter)().query.id,H=null!==(n=null==F?void 0:F.progress)&&void 0!==n?n:100,W={practical:_({label:"Practical",tooltip:"Building a project line-by-line with explanations and step-by-step guidance.",icon:(0,r.jsx)(Z.Z,{width:20,height:20}),gradient:"linear-gradient(#7A16C9, #F618D3B5)"}),part_project:_({label:"Part of Project",tooltip:"Build things with this lesson type: The code you type in one lesson, flows to the next, if the lesson is completed.",icon:(0,r.jsx)(o.Z,{component:"img",src:"/assets/icons/lesson/part_of_project_gradient_icon.svg",sx:{width:25,height:21}}),gradient:"linear-gradient(#7A16C9, #F618D3B5)"}),start_project:_({label:"Start of Project",tooltip:"The beginning lesson of a project. Subsequent lessons will build on the code typed here.",icon:(0,r.jsx)(o.Z,{component:"img",src:"/assets/icons/lesson/part_of_project_icon.svg",sx:{width:25,height:21}}),color:"#0198ED"}),exercise:_({label:"Exercise",tooltip:"Exercises with instructions and examples. Great for reinforcing learning or evaluating competency.",icon:(0,r.jsx)(o.Z,{component:"img",src:"/assets/icons/lesson/concept_exercises_icon.svg",sx:{width:20,height:23}}),color:"#155275"}),open_project:_({label:"Open Project",tooltip:"Single slide exercise type of lesson.",icon:(0,r.jsx)(o.Z,{component:"img",src:"/assets/icons/lesson/open_project_icon.svg",sx:{width:19,height:26}}),gradient:"linear-gradient(#C9C216, #F69018B5)"}),quiz:_({label:"Quiz",tooltip:"Multiple-choice questions to test knowledge and understanding.",icon:(0,r.jsx)(o.Z,{component:"img",src:"/assets/icons/lesson/quiz_icon.svg",sx:{width:20,height:20}}),gradient:"linear-gradient(#FF0000, #BA26ED, #2A26ED)"}),other:_({label:"Other",tooltip:"Any other type of lesson.",icon:(0,r.jsx)(o.Z,{component:"img",src:"/assets/icons/lesson/part_of_project_icon.svg",sx:{width:25,height:21}}),color:"#0198ED"})};return(0,r.jsxs)(a.Z,{sx:(0,w.T3)(D),onClick:e=>{let n=document.getElementById(y.id);if(!N.current||!n)return;let t=N.current.querySelector("button, a, div");((null==t?void 0:t.contains(e.target))||n.contains(e.target))&&t instanceof HTMLElement&&t.click()},id:y.id,children:[(0,r.jsx)(q,{progress:null!==(t=null==y?void 0:y.progress)&&void 0!==t?t:0,locked:k}),(0,r.jsxs)(a.Z,{children:[(0,r.jsx)(s.Z,{variant:"h4",gutterBottom:!0,sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:y.name}),(0,r.jsx)(s.Z,{variant:"body1",ref:S,sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:O?"wrap":"nowrap"},children:y.description}),(0,r.jsxs)(a.Z,{direction:"row",justifyContent:"space-between",alignItems:"end",children:[(0,r.jsxs)(a.Z,{children:[M?(0,r.jsxs)(l.Z,{onClick:e=>{e.stopPropagation(),R(!O)},sx:w.JU,children:[L("actions_see_more")," ",O?(0,r.jsx)(h.r,{}):(0,r.jsx)(u.W,{})]}):null,(0,r.jsxs)(a.Z,{direction:"row",gap:2,flexWrap:"wrap",children:[(0,r.jsxs)(s.Z,{variant:"body2",sx:w.D1,children:[W[null==y?void 0:y.type].icon,W[null==y?void 0:y.type]?W[null==y?void 0:y.type].title:"Unknown Type"]}),(0,r.jsxs)(s.Z,{variant:"body2",sx:w.X7,children:[(0,r.jsx)(d.c,{size:20}),function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"H",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"M",r=Math.floor(e/60),i=e%60;return(n&&r?"".concat(r," ").concat(n):"")+(t&&i?" ".concat(i," ").concat(t):"")}((0,b.G)(y.duration),L("hours"),L("minutes"))]})]})]}),(0,r.jsx)(o.Z,{ref:N,children:(0,r.jsx)(A,{locked:k,isLastLessonInProgress:H<=90,fetchCodeFromPrevLesson:()=>{var e;B((0,g.OJ)("".concat(null==I?void 0:null===(e=I.student_profile)||void 0===e?void 0:e.id,"_").concat(null==F?void 0:F.id))),z(v.G1.codePanel.workSpace({courseId:E,unitId:C,lessonId:y.id}))},fetchDefaultCodeFromPrevLesson:()=>{z(v.G1.codePanel.workSpace({courseId:E,unitId:C,lessonId:y.id}))},courseId:E,unitId:C,lesson:y,index:P})})]})]})]})}},5188:function(e,n,t){"use strict";function r(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,t=0;return e?(e.hours&&(t=60*e.hours),e.minutes&&(t+=e.minutes),t||n):n}t.d(n,{G:function(){return r}})}}]);
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.