https://zerotomastery.io/component---src-pages-principles-for-programmers-js-3574bf1d9fed08ab52b9.js
1(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[6304],{5953:function(e,t,n){"use strict";var a=n(96540),o=n(86462),i=n(29529),r=n(9612),l=n(78324),d=n(8747);t.A=({children:e,removeLinks:t,removeBanner:n,headerProps:s,footerProps:m,stickyNav:p=!0,...c})=>{const{pathname:h}=(0,o.useLocation)(),u=(e=>"/ai"===e||e.startsWith("/ai/"))(h);return(0,a.useEffect)(()=>{const e={isLocalhost:"localhost"===window.location.hostname,isAdmin:l.A.read("admin")||"?debug=true"===window.location.search};e.isAdmin&&l.A.set("admin","true"),window.ztm=e},[]),a.createElement(a.Fragment,null,a.createElement(r.A,Object.assign({isSticky:p,removeLinks:t,removeBanner:!!u||n,isDarkAiNav:u},s)),a.createElement(d.L,Object.assign({mt:[60,60,60,75,75]},c),e),a.createElement(i.A,m))}},8730:function(e,t,n){"use strict";n.d(t,{BK:function(){return c},EL:function(){return u},IJ:function(){return p},PI:function(){return h},cn:function(){return s}});var a=n(92568),o=n(43169),i=n(33536),r=n.n(i),l=n(60667),d=n.n(l);const s=a.default.span.withConfig({displayName:"quiz-inputstyles__QuizValidationText",componentId:"sc-jznbnl-0"})(["display:none;",";color:",";font-weight:",";"],({theme:{typography:e}})=>e.desktop.validation,({theme:e})=>e.colors.errorRed,({theme:{fontWeight:e}})=>e.bold),m=(0,a.css)(["width:50px;height:50px;position:absolute;right:10px;display:none;"]),p=(0,a.default)(r()).withConfig({displayName:"quiz-inputstyles__ErrorIcon",componentId:"sc-jznbnl-1"})(["",";"],m),c=(0,a.default)(d()).withConfig({displayName:"quiz-inputstyles__SuccessIcon",componentId:"sc-jznbnl-2"})(["",";"],m),h=(0,a.default)(o.A).withConfig({displayName:"quiz-inputstyles__QuizInputFieldGroup",componentId:"sc-jznbnl-3"})(['position:relative;display:flex;flex-direction:column-reverse;justify-content:center;border:2px solid black;height:72px;width:100%;border-radius:35px;padding:10px 10px 10px 40px;background-color:white;> input[type="email"]:valid:not(:placeholder-shown) ~ ','{display:inline;}> input[type="email"]:invalid:not(:focus) ~ ',',> input[type="email"]:invalid:not(:focus) ~ ',"{display:inline;}"],c,s,p),u=a.default.input.withConfig({displayName:"quiz-inputstyles__QuizInputField",componentId:"sc-jznbnl-4"})(["outline:none;width:calc(100% - 70px);border:none;color:",";font-weight:",";margin:0;padding:0;&::placeholder{color:",";}"],({theme:{typography:e}})=>e.desktop.inputField,({theme:{fontWeight:e}})=>e.bold,({theme:{colors:e}})=>e.grey)},8747:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var a=n(92568),o=n(43169);const i=(0,a.default)(o.A).withConfig({displayName:"pagestyles__PageContainer",componentId:"sc-3vnvkv-0"})(["display:grid;grid-template-columns:1fr min(1340px,calc(100% - 100px)) 1fr;grid-column-gap:50px;scroll-behavior:smooth;& > *{grid-column:2;}.full-bleed{width:100%;grid-column:1 / -1;}@media screen and (max-width:1000px){grid-template-columns:1fr calc(100% - 40px) 1fr;grid-column-gap:20px;}"])},13926:function(e,t,n){"use strict";n.r(t),n.d(t,{Head:function(){return K},default:function(){return V}});var a=n(96540),o=n(35873),i=n(24794),r=n(5953),l=n(5588),d=n(92568),s=n(70979);const m=(0,d.default)(s.A).withConfig({displayName:"principles-for-programmersstyles__PrincplesHeaderContainer",componentId:"sc-4otwqg-0"})([""]),p=d.default.div.withConfig({displayName:"principles-for-programmersstyles__PrinciplesHeaderContentArea",componentId:"sc-4otwqg-1"})(["grid-column:1 / span 6;max-width:1100px;height:fit-content;margin:auto;@media only screen and (max-width:768px){& button{width:100%;}}"]),c=d.default.h1.withConfig({displayName:"principles-for-programmersstyles__PrinciplesHeaderTitle",componentId:"sc-4otwqg-2"})(["",";margin-bottom:40px;@media only screen and (max-width:1000px){",";margin-bottom:25px;}"],({theme:{typography:e}})=>e.desktop.h1,({theme:{typography:e}})=>e.mobile.h1),h=d.default.div.withConfig({displayName:"principles-for-programmersstyles__PrinciplesHeaderText",componentId:"sc-4otwqg-3"})(["& p{",";@media only screen and (max-width:1000px){",";font-weight:",";}color:",";margin-bottom:40px;& a{color:",";}font-weight:",";& strong{font-weight:",";}}"],({theme:{typography:e}})=>e.desktop.body,({theme:{typography:e}})=>e.mobile.body,({theme:{fontWeight:e}})=>e.regular,({theme:{colors:e}})=>e.darkGrey,({theme:{colors:e}})=>e.accentPink,({theme:{fontWeight:e}})=>e.regular,({theme:{fontWeight:e}})=>e.bold),u=d.default.div.withConfig({displayName:"principles-for-programmersstyles__PrinciplesHeaderNoSpam",componentId:"sc-4otwqg-4"})(["font-family:",";color:",";margin-top:10px;margin-bottom:15px;padding-left:42px;"],({theme:{typography:e}})=>e.desktop.excerpt,({theme:{colors:e}})=>e.darkGrey),g=d.default.div.withConfig({displayName:"principles-for-programmersstyles__PrinciplesHeaderImageContainer",componentId:"sc-4otwqg-5"})(["grid-column:7 / span 6;display:flex;align-items:center;justify-content:center;@media only screen and (max-width:1000px){grid-column:1 / span 6;margin-top:40px;}"]),f=(0,d.default)(l.G).withConfig({displayName:"principles-for-programmersstyles__PrinciplesHeaderImage",componentId:"sc-4otwqg-6"})(["max-width:450px;@media only screen and (max-width:1000px){max-width:275px;}"]),x=d.default.div.withConfig({displayName:"principles-for-programmersstyles__PrinciplesTestimonialContainer",componentId:"sc-4otwqg-7"})(["margin-top:80px;width:100%;grid-column:1 / -1;@media only screen and (max-width:780px){margin-top:60px;}"]);var y=n(36763),w=n(32709);const b=d.default.div.withConfig({displayName:"testimonial-full-widthstyles__TestimonialFWContainer",componentId:"sc-xagc11-0"})(["grid-column:1 / -1;background:linear-gradient( to bottom,white,"," );padding-bottom:80px;@media only screen and (max-width:780px){padding-right:20px;padding-bottom:0px;}"],({theme:{colors:e}})=>e.lightGrey),_=d.default.div.withConfig({displayName:"testimonial-full-widthstyles__TestimonialFWInnerContainer",componentId:"sc-xagc11-1"})(["max-width:1340px;display:grid;grid-template-columns:3fr 6fr 3fr;margin:0 auto;@media only screen and (max-width:780px){grid-template-columns:1fr;width:100%;margin-left:20px;margin-right:20px;margin-bottom:0px;padding-bottom:60px;}"]),v=d.default.div.withConfig({displayName:"testimonial-full-widthstyles__TestimonialFWInnerGridContainer",componentId:"sc-xagc11-2"})(["grid-column:2;"]),C=d.default.div.withConfig({displayName:"testimonial-full-widthstyles__TestimonialFWFlexContainer",componentId:"sc-xagc11-3"})(["display:flex;justify-content:center;@media screen and (max-width:780px){justify-content:flex-start;}"]),I=d.default.div.withConfig({displayName:"testimonial-full-widthstyles__TestimonialFWImageContainer",componentId:"sc-xagc11-4"})(["width:100px;position:relative;"]),k=d.default.h5.withConfig({displayName:"testimonial-full-widthstyles__QuoteText",componentId:"sc-xagc11-5"})(["",";color:",";font-style:italic;font-weight:",";text-align:center;margin-top:43px;margin-bottom:20px;@media only screen and (max-width:780px){",";color:",";text-align:left;margin-top:36px;margin-right:20px;}"],({theme:{typography:e}})=>e.desktop.h5,({theme:{colors:e}})=>e.black,({theme:{fontWeight:e}})=>e.bold,({theme:{typography:e}})=>e.mobile.h5,({theme:{colors:e}})=>e.black),E=(0,d.default)(l.G).withConfig({displayName:"testimonial-full-widthstyles__Avatar",componentId:"sc-xagc11-6"})(["width:100px;height:100px;border-radius:50%;border:3px solid ",";margin:0 auto;transform:rotate(-10deg);@media only screen and (max-width:780px){width:75px;height:75px;border:2px solid ",";}"],({theme:{colors:e},bandColor:t})=>e[t],({theme:{colors:e},bandColor:t})=>e[t]),N=d.default.div.withConfig({displayName:"testimonial-full-widthstyles__ImageContainer",componentId:"sc-xagc11-7"})(["width:70px;height:70px;border-radius:50%;position:relative;background-color:white;position:absolute;bottom:-18px;right:-35px;box-shadow:2px 4px 30px rgba(76,15,251,0.2);display:flex;@media only screen and (max-width:780px){width:65px;height:65px;right:-15px;}"]),A=(0,d.default)(l.G).withConfig({displayName:"testimonial-full-widthstyles__CompanyImage",componentId:"sc-xagc11-8"})(["width:55px;margin:auto;transform:rotate(10deg);"]),T=d.default.p.withConfig({displayName:"testimonial-full-widthstyles__StudentName",componentId:"sc-xagc11-9"})(["",";font-weight:",";color:black;text-align:center;margin-bottom:2px;@media only screen and (max-width:780px){",";font-weight:",";color:black;text-align:left;margin-bottom:0;}"],({theme:{typography:e}})=>e.desktop.excerpt,({theme:{fontWeight:e}})=>e.bold,({theme:{typography:e}})=>e.mobile.excerpt,({theme:{fontWeight:e}})=>e.bold),P=d.default.p.withConfig({displayName:"testimonial-full-widthstyles__JobRoleText",componentId:"sc-xagc11-10"})(["",";font-weight:",";color:",";text-align:center;@media only screen and (max-width:780px){text-align:left;",";font-weight:",";color:",";}"],({theme:{typography:e}})=>e.desktop.metadata,({theme:{fontWeight:e}})=>e.regular,({theme:{colors:e}})=>e.darkGrey,({theme:{typography:e}})=>e.mobile.metadata,({theme:{fontWeight:e}})=>e.regular,({theme:{colors:e}})=>e.darkGrey);d.default.div.withConfig({displayName:"testimonial-full-widthstyles__MarqueeContainer",componentId:"sc-xagc11-11"})(["grid-column:1/-1;background-color:#f6f6fb;padding-top:",";@media only screen and (max-width:780px){padding-top:30px;}"],e=>e.isTeamSubscriptionPage?"40px":"50px"),d.default.div.withConfig({displayName:"testimonial-full-widthstyles__TrustPilotContainer",componentId:"sc-xagc11-12"})(["grid-column:1/-1;background-color:#f6f6fb;display:flex;padding-bottom:35px;margin-top:-5px;@media only screen and (max-width:780px){padding-bottom:0;margin-bottom:-20px;}"]);var W=({personAvatar:e,avatarBandColor:t,personName:n,companyImage:o,testimonialQuote:i,jobRoleText:r})=>a.createElement(b,null,a.createElement(_,null,a.createElement(v,null,a.createElement(C,null,a.createElement(I,null,a.createElement(E,{image:e.gatsbyImageData,alt:"Person Avatar",bandColor:t||"accentBlue"}),a.createElement(N,null,a.createElement(A,{image:o.gatsbyImageData,alt:"Company Logo"})))),a.createElement(k,null,i),a.createElement(T,null,n),a.createElement(P,null,r)))),B=n(43169);const S=(0,d.default)(B.A).withConfig({displayName:"about-the-authorstyles__AboutTheAuthorContainer",componentId:"sc-1nbt8d3-0"})(["background:",";padding:120px 50px;@media only screen and (max-width:1200px){padding:100px 50px;}@media only screen and (max-width:1000px){padding:60px 20px;}"],({theme:{colors:e}})=>e.accessiblePinkBg),L=(0,d.default)(s.A).withConfig({displayName:"about-the-authorstyles__AboutTheAuthorInnerContainer",componentId:"sc-1nbt8d3-1"})(["margin:auto;@media only screen and (max-width:760px){display:flex;flex-direction:column-reverse;}"]),z=d.default.div.withConfig({displayName:"about-the-authorstyles__AboutTheAuthorContentLeftColumn",componentId:"sc-1nbt8d3-2"})(["grid-column:span 6;@media only screen and (max-width:999px){grid-column:span 3;}@media only screen and (max-width:760px){grid-column:span 6;}"]),j=d.default.div.withConfig({displayName:"about-the-authorstyles__AboutTheAuthorContentRightColumn",componentId:"sc-1nbt8d3-3"})(["grid-column:span 6;display:flex;@media only screen and (max-width:999px){grid-column:span 3;}@media only screen and (max-width:760px){grid-column:span 6;margin-bottom:60px;}"]),F=d.default.h2.withConfig({displayName:"about-the-authorstyles__AboutTheAuthorTitle",componentId:"sc-1nbt8d3-4"})(["",";color:",";text-transform:uppercase;font-weight:",";color:",";margin-bottom:20px;@media only screen and (max-width:1000px){",";color:",";font-weight:",";color:",";}"],({theme:{typography:e}})=>e.desktop.excerpt,({theme:{colors:e}})=>e.black,({theme:{fontWeight:e}})=>e.semiBold,({theme:{colors:e}})=>e.white,({theme:{typography:e}})=>e.mobile.excerpt,({theme:{colors:e}})=>e.black,({theme:{fontWeight:e}})=>e.semiBold,({theme:{colors:e}})=>e.white),q=d.default.h3.withConfig({displayName:"about-the-authorstyles__AboutTheAuthorName",componentId:"sc-1nbt8d3-5"})(["",";color:",";margin-bottom:40px;@media only screen and (max-width:1000px){",";color:",";margin-bottom:25px;}"],({theme:{typography:e}})=>e.desktop.h2,({theme:{colors:e}})=>e.white,({theme:{typography:e}})=>e.mobile.h2,({theme:{colors:e}})=>e.white),D=d.default.p.withConfig({displayName:"about-the-authorstyles__AboutTheAuthorBio",componentId:"sc-1nbt8d3-6"})(["",";color:",";font-weight:",";@media only screen and (max-width:1000px){",";color:",";font-weight:",";}"],({theme:{typography:e}})=>e.desktop.body,({theme:{colors:e}})=>e.white,({theme:{fontWeight:e}})=>e.regular,({theme:{typography:e}})=>e.mobile.body,({theme:{colors:e}})=>e.white,({theme:{fontWeight:e}})=>e.regular),G=(0,d.default)(l.G).withConfig({displayName:"about-the-authorstyles__AboutTheAuthorImage",componentId:"sc-1nbt8d3-7"})(["border-radius:50%;width:300px;height:300px;margin:0 auto;box-shadow:2px 4px 30px rgba(0,0,0,0.1);@media only screen and (min-width:1000px){width:350px;height:350px;}"]);var H=({authorImage:e,authorName:t,authorTitle:n,authorBio:o})=>a.createElement(S,{className:"full-bleed"},a.createElement(L,null,a.createElement(z,null,a.createElement(F,null,n),a.createElement(q,null,t),a.createElement(D,null,o)),a.createElement(j,null,a.createElement(G,{image:e.gatsbyImageData}
1)))),M=n(81875),R=n(8730),Q=n(14105),J=n(86562);const K=({location:e,data:t})=>a.createElement(o.G,{metaData:t.allContentfulPageMeta.nodes[0],uri:e.pathname});var V=({data:e})=>{const t=e.allContentfulPageMeta.nodes[0],{0:n,1:o}=(0,a.useState)(""),{0:l,1:d}=(0,a.useState)("default"),{0:s,1:b}=(0,a.useState)(""),_=(0,J.A)(async()=>{if(!1===(0,y.D)(s))d("error"),o("Please enter a valid email address");else{if(200===(await(0,M.C)({email:s,pageSlug:"principlesforprogrammers"})).status){const e=document.getElementById("validation-message"),t=(null!=e&&e.offsetWidth,!0);d("success"),o(t?"Your free ebook is in your email!":"Your free ebook from Andrei is on its way. Check your email now!")}else d("error"),o("An error occured, please try again!")}});return a.createElement(r.A,null,a.createElement(m,null,a.createElement(p,null,a.createElement(c,null,t.heroTitle),a.createElement(h,{dangerouslySetInnerHTML:{__html:t.longHeroDescription.childMarkdownRemark.html}}),a.createElement(R.PI,null,a.createElement(R.EL,{placeholder:"Enter your email here",onChange:e=>{(0,y.D)(e.target.value)?(b(e.target.value),d("success"),o("")):(b(e.target.value),d("default"),o(""))},onKeyDown:e=>"Enter"===e.key?_():null,onFocus:()=>{d("default"),o("")},onBlur:()=>{s.length>0&&(!1===(0,y.D)(s)?(d("error"),o("Please enter a valid email address")):(d("success"),o("")))},type:"email",autoComplete:"email",value:s}),"error"===l&&a.createElement(R.IJ,null),"success"===l&&a.createElement(R.BK,null),n&&a.createElement(Q.E_,{id:"validation-message",validationState:l},n)),a.createElement(u,null,"No spam, ever. Unsubscribe any time."),a.createElement(w.A,{isButton:!0,large:!0,onClick:()=>_(),showPulsingDots:!1},t.ctaMainCtaButtonText)),a.createElement(g,null,a.createElement(f,{image:e.ebookCoverImage.gatsbyImageData,alt:"Ebook Cover"}))),a.createElement(x,null,a.createElement(W,{personAvatar:e.andreiHikingAvatar,avatarBandColor:"accentPink",personName:"Andrei Neagoie",companyImage:e.ztmLogoImage,testimonialQuote:"âThe best thing you can do for your career is to make sure that you enjoy this learning process, you enjoy your work environment, and you do everything in your power to maintain that happiness.â",jobRoleText:"Lead Instructor and Founder"})),a.createElement(H,{authorName:"Andrei Neagoie",authorTitle:"About the Author",authorImage:e.andreiLaptopAvatar,authorBio:a.createElement(a.Fragment,null,a.createElement(i.Link,{to:"/about/instructor/andrei-neagoie/"},"Andrei")," is the instructor of some of the highest rated programming courses on the web. Many of his students (1,000,000+ over the the past few years) now work for some of the biggest tech companies around the world like Apple, Google, Amazon, Tesla, IBM, Facebook, Shopify and many more.",a.createElement("br",null),a.createElement("br",null),"He has been working as a Senior Software Developer in Silicon Valley and Toronto for many years and is now taking all that he has learned to teach programming skills and to help you discover the amazing career opportunities that being a developer allows in life.")}))}},14105:function(e,t,n){"use strict";n.d(t,{A0:function(){return c},E_:function(){return g},Ev:function(){return i},MN:function(){return r},RT:function(){return s},ZA:function(){return p},b7:function(){return h},sb:function(){return u},xW:function(){return d},xe:function(){return l},xt:function(){return m}});var a=n(92568),o=n(32709);const i=a.default.div.withConfig({displayName:"newsletter-page-header-styles__GridContainer",componentId:"sc-xs39e7-0"})(["display:grid;grid-template-columns:repeat(12,1fr);grid-gap:30px;max-width:1340px;padding-bottom:10px;@media (max-width:1000px){grid-template-columns:1fr;grid-gap:0;}"]),r=a.default.div.withConfig({displayName:"newsletter-page-header-styles__Left",componentId:"sc-xs39e7-1"})(["grid-column:span 7;@media (max-width:1000px){grid-column:span 12;order:1;margin-right:0;}"]),l=a.default.div.withConfig({displayName:"newsletter-page-header-styles__Right",componentId:"sc-xs39e7-2"})(["grid-column:9 / span 4;@media (max-width:1450px){margin-right:-15px;}@media (max-width:1400px){grid-column:span 5;}@media (max-width:1200px){margin-right:0;}@media (max-width:1000px){grid-column:span 12;order:4;grid-row:4;margin:30px auto -10px;}"]),d=a.default.div.withConfig({displayName:"newsletter-page-header-styles__ImageWrapper",componentId:"sc-xs39e7-3"})(["position:relative;overflow:hidden;border-top-right-radius:25px;border-top-left-radius:25px;.gatsby-image-wrapper{position:relative;}.gatsby-image-wrapper img{bottom:0;left:0;margin:0;max-width:none;padding:0;position:absolute;right:0;top:0;object-fit:cover;border-top-right-radius:25px;border-top-left-radius:25px;}"]),s=a.default.div.withConfig({displayName:"newsletter-page-header-styles__Three",componentId:"sc-xs39e7-4"})(["grid-column:3 / span 8;margin:0 auto;@media screen and (max-width:1000px){order:2;}"]),m=a.default.div.withConfig({displayName:"newsletter-page-header-styles__LogoIntroText",componentId:"sc-xs39e7-5"})(["",";font-weight:",";color:",";text-align:center;margin-top:30px;@media screen and (max-width:1300px){margin-top:10px;}@media screen and (max-width:1000px){margin:40px 0 30px;}@media screen and (max-width:780px){text-align:left;margin-top:40px;}"],({theme:{typography:e}})=>e.desktop.body,({theme:{fontWeight:e}})=>e.bold,({theme:{colors:e}})=>e.white),p=a.default.div.withConfig({displayName:"newsletter-page-header-styles__Four",componentId:"sc-xs39e7-6"})(["grid-column:span 12;margin:0;padding:0 !important;@media screen and (max-width:1000px){order:3;max-width:85vw;grid-row:3;}"]),c=a.default.div.withConfig({displayName:"newsletter-page-header-styles__InputContainer",componentId:"sc-xs39e7-7"})(["display:grid;grid-template-columns:3fr 1fr;position:relative;@media only screen and (max-width:1300px){grid-template-columns:1fr;}@media only screen and (max-width:1000px){grid-template-columns:3fr 1fr;}@media only screen and (max-width:780px){grid-template-columns:1fr;}"]),h=(0,a.default)(o.A).withConfig({displayName:"newsletter-page-header-styles__SubmitButton",componentId:"sc-xs39e7-8"})(["margin-left:10px;@media only screen and (max-width:1300px){margin-top:10px;margin-left:0;}@media only screen and (max-width:1000px){margin-top:0;margin-left:10px;}@media only screen and (max-width:780px){margin-top:10px;margin-left:0;}@media only screen and (max-width:600px){width:100%;}"]),u=a.default.span.withConfig({displayName:"newsletter-page-header-styles__EmailDisclaimer",componentId:"sc-xs39e7-9"})(["align-self:flex-start;color:white;"]),g=a.default.p.withConfig({displayName:"newsletter-page-header-styles__CustomValidationText",componentId:"sc-xs39e7-10"})(["",";color:",";font-weight:",";"],({theme:{typography:e}})=>e.desktop.validation,e=>"error"===e.validationState?"red":"green",({theme:{fontWeight:e}})=>e.bold)},33536:function(e,t,n){var a=n(96540);function o(e){return a.createElement("svg",e,[a.createElement("circle",{cx:"11.5",cy:"11.5",r:"11.5",fill:"#EB000E",key:0}),a.createElement("line",{x1:"16.3809",y1:"6.78275",x2:"6.78421",y2:"16.3794",stroke:"white",key:1}),a.createElement("line",{x1:"16.4121",y1:"16.3794",x2:"6.81539",y2:"6.78275",stroke:"white",key:2})])}o.defaultProps={width:"23",height:"23",viewBox:"0 0 23 23",fill:"none"},e.exports=o,o.default=o},60667:function(e,t,n){var a=n(96540);function o(e){return a.createElement("svg",e,[a.createElement("circle",{fill:"#1c8000",cx:"11.5",cy:"11.5",r:"11.5",key:0}),a.createElement("path",{stroke:"white",d:"M 17.3789 6.78271 L 8.33081 15.8308 L 4.65625 12.1562",key:1})])}
1o.defaultProps={fill:"none",viewBox:"0 0 23 23",width:"23",height:"23"},e.exports=o,o.default=o},78324:function(e,t){"use strict";const n={set:(e,t)=>{"undefined"!=typeof window&&window.localStorage.setItem(e,t)},read:e=>{if("undefined"!=typeof window)return window.localStorage.getItem(e)}};t.A=n},81875:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});const a=n(86425),o=async({email:e,pageSlug:t})=>{try{return await a.post("https://ciobackend.zerotomastery.io/api/v1/website-signups/landing-pages",{email:e,pageSlug:t})}catch(i){var n,o;return{status:(null==i||null===(n=i.response)||void 0===n?void 0:n.status)||500,message:(null==i||null===(o=i.response)||void 0===o?void 0:o.statusText)||"An error occurred"}}}},86562:function(e,t,n){"use strict";var a=n(96540);t.A=(e,t)=>{const n=(0,a.useRef)(),{0:o,1:i}=(0,a.useState)(0);return(0,a.useEffect)(()=>{n.current=e},[e]),(0,a.useEffect)(()=>{if(o>0){const e=setTimeout(()=>{i(0),n.current()},t);return()=>clearTimeout(e)}},[o,t]),()=>i(e=>e+1)}}}]); 2//# sourceMappingURL=component---src-pages-principles-for-programmers-js-3574bf1d9fed08ab52b9.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.