"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5424],{30166:function(e,t,n){n.d(t,{default:function(){return s.a}});var l=n(55775),s=n.n(l)},55775:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});let l=n(47043);n(57437),n(2265);let s=l._(n(15602));function r(e,t){var n;let l={loading:e=>{let{error:t,isLoading:n,pastDelay:l}=e;return null}};"function"==typeof e&&(l.loader=e);let r={...l,...t};return(0,s.default)({...r,modules:null==(n=r.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81523:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return s}});let l=n(18993);function s(e){let{reason:t,children:n}=e;if("undefined"==typeof window)throw new l.BailoutToCSRError(t);return n}},15602:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let l=n(57437),s=n(2265),r=n(81523),a=n(70049);function o(e){return{default:e&&"default"in e?e.default:e}}let x={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},c=function(e){let t={...x,...e},n=(0,s.lazy)(()=>t.loader().then(o)),c=t.loading;function d(e){let o=c?(0,l.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,x=t.ssr?(0,l.jsxs)(l.Fragment,{children:["undefined"==typeof window?(0,l.jsx)(a.PreloadCss,{moduleIds:t.modules}):null,(0,l.jsx)(n,{...e})]}):(0,l.jsx)(r.BailoutToCSR,{reason:"next/dynamic",children:(0,l.jsx)(n,{...e})});return(0,l.jsx)(s.Suspense,{fallback:o,children:x})}return d.displayName="LoadableComponent",d}},70049:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadCss",{enumerable:!0,get:function(){return r}});let l=n(57437),s=n(20544);function r(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let n=(0,s.getExpectedRequestStore)("next/dynamic css"),r=[];if(n.reactLoadableManifest&&t){let e=n.reactLoadableManifest;for(let n of t){if(!e[n])continue;let t=e[n].files.filter(e=>e.endsWith(".css"));r.push(...t)}}return 0===r.length?null:(0,l.jsx)(l.Fragment,{children:r.map(e=>(0,l.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:n.assetPrefix+"/_next/"+encodeURI(e),as:"style"},e))})}},19651:function(e,t,n){n.r(t);var l=n(57437);n(2265);var s=n(47615);t.default=e=>{let{text:t,type:n,className:r}=e,{openModal:a}=(0,s.Z)();switch(n){case"free-solar-savings-report-orange":return(0,l.jsx)("button",{className:"flex bg-orange rounded-full p-5 md:px-10 shadow-[0_4px_20px_0px_rgba(0,0,0,0.3)] ".concat(r),onClick:()=>a("solar-savings-report"),children:(0,l.jsxs)("div",{className:"text-base uppercase",children:[(0,l.jsx)("span",{className:"text-gray-800 font-semibold | md:text-gray-700 md:text-xl md:font-bold tracking-wide",children:"FREE"})," ",(0,l.jsx)("span",{className:"text-white font-bold | md:text-xl md:tracking-wide",children:"SOLAR SAVINGS REPORT"})]})});case"free-solar-savings-report-white":return(0,l.jsx)("button",{className:"flex bg-white rounded-full p-5 md:px-10 shadow-[0_4px_20px_0px_rgba(0,0,0,0.3)] ".concat(r),onClick:()=>a("solar-savings-report"),children:(0,l.jsxs)("div",{className:"text-base uppercase",children:[(0,l.jsx)("span",{className:"text-orange font-semibold | md:text-xl md:font-bold tracking-wide",children:"FREE"})," ",(0,l.jsx)("span",{className:"text-gray-800 font-bold | md:text-xl md:tracking-wide",children:"SOLAR SAVINGS REPORT"})]})});case"start-your-quote-black":return(0,l.jsx)("button",{className:"flex justify-center bg-[#303D46] w-[208px] xs:w-[228px] sm:w-[100%] xl:w-[400px] 2xl:w-[445px] rounded-full p-5 md:px-10 text-[16px] xl:text-[22px] shadow-[0_4px_20px_0px_rgba(0,0,0,0.3)] ".concat(r),onClick:()=>a("solar-savings-report"),children:(0,l.jsxs)("div",{className:"text-base uppercase",children:[(0,l.jsx)("span",{className:"text-orange font-semibold | md:text-xl md:font-medium tracking-wide",children:"START"})," ",(0,l.jsx)("span",{className:"text-white font-medium | md:text-xl md:tracking-wide",children:"YOUR QUOTE"})]})});case"start-your-quote-orange":return(0,l.jsxs)("button",{className:"w-[240px] xs:w-[290px] lg:w-[300px] xl:w-[400px] 2xl:w-[445px] bg-orange rounded-full flex justify-center p-[20px] text-[16px] xl:text-[22px] ".concat(r),onClick:()=>a("solar-savings-report"),children:[(0,l.jsx)("span",{className:"text-black pr-[4px] font-bold",children:"START"})," ",(0,l.jsx)("span",{className:"font-bold text-white",children:"YOUR QUOTE"})]});case"start-your-quote-white":return(0,l.jsxs)("button",{className:"w-[240px] xs:w-[80%] sm:w[70%] md:w-[260px] lg:w-[310px] 2xl:w-[396px] max:w-[430px] bg-white rounded-full flex justify-center ".concat(r?"p-0":"p-4"," lg:p-5 text-[16px] xl:text-[20px] 2xl:text-[22px] ").concat(r),onClick:()=>a("solar-savings-report"),children:[(0,l.jsx)("span",{className:"text-orange pr-[4px] font-bold",children:"START"})," ",(0,l.jsx)("span",{className:"font-bold text-black",children:"YOUR QUOTE"})]});case"start-your-quote-text-white":return(0,l.jsx)("div",{className:"p-[16px] xs:p-[25px] bg-[#FF69001A] rounded-[55px]",children:(0,l.jsx)("button",{className:"w-[280px] xs:w-[290px] xl:w-[445px] bg-orange text-white rounded-full flex justify-center p-[20px] text-[16px] xl:text-[22px] ".concat(r," shadow-[0px_4px_20px_0px_rgba(154,44,0,0.40)]"),onClick:()=>a("solar-savings-report"),children:"START YOUR QUOTE"})});case"contact-us":return(0,l.jsxs)("button",{className:" text-orange w-[210px] flex flex-col items-center leading-tight p-[10px] rounded-full font-semibold border-2 border-orange font-monserat",onClick:()=>a("contact-us"),children:[(0,l.jsx)("span",{className:"text-[16px]",children:"Click to Call"}),(0,l.jsx)("span",{className:"text-[#425563] text-[12px]",children:"(844) 276-4947"})]});case"contact-us-navbar":return(0,l.jsxs)("button",{className:" text-orange w-[210px] flex flex-col items-center leading-tight p-[10px] rounded-full font-semibold border-2 border-orange font-monserat",onClick:()=>a("contact-us"),children:[(0,l.jsx)("span",{className:"text-[22px]",children:"Click to Call"}),(0,l.jsx)("span",{className:"text-[#425563] text-[16px]",children:"(844) 807-4463"})]});case"call-customer-support":return(0,l.jsx)("a",{href:"tel:4798164463",className:"cursor-pointer",children:(0,l.jsxs)("button",{className:"bg-white text-orange w-[300px] md:w-[312px] flex flex-col items-center text-[18px] leading-tight p-[10px] rounded-[45px] font-semibold border-2 border-orange",children:[(0,l.jsx)("span",{className:"text-[#FF6900]",children:"CALL CUSTOMER SUPPORT"}),(0,l.jsx)("span",{className:"text-[#425563] text-[12px]",children:"(844) 276-4947"})]})});case"call-now":return(0,l.jsx)("a",{href:"tel:4798164463",className:"cursor-pointer",children:(0,l.jsxs)("button",{className:"bg-[#FF6900] text-orange w-[300px] md:w-[312px] flex flex-col items-center text-[18px] leading-tight p-[10px] rounded-[45px] font-bold shadow-[0px_4px_20px_0px_rgba(0,0,0,0.39)]",children:[(0,l.jsx)("span",{className:"text-white",children:"CALL NOW"}),(0,l.jsx)("span",{className:"text-[#425563] text-[12px]",children:"(844) 807-4463"})]})});case"get-offer-light":return(0,l.jsx)("button",{className:"w-[260px] bg-[#1BD0FF] text-[#000] rounded-full flex justify-center py-[16px] px-[20px] text-[18px] font-medium leading-[22px] ".concat(r),onClick:()=>a("aeroseal"),children:"Get Offer"});case"get-offer-orange":return(0,l.jsx)("button",{className:"w-[260px] bg-orange text-white rounded-full flex justify-center py-[16px] px-[20px] text-[18px] font-medium leading-[22px] ".concat(r),onClick:()=>a("roofing"),children:t||"Get My FREE Estimate"});case"get-special-offer-orange":return(0,l.jsx)("button",{className:"w-[230px] bg-orange text-white rounded-full flex justify-center py-[16px] px-[14px] text-[18px] font-medium leading-[20px] ".concat(r),onClick:()=>a("roofing"),children:t||"Get My FREE Estimate"});case"get-special-offer-light":return(0,l.jsx)("button",{className:"w-[230px] bg-[#1BD0FF] text-[#000] rounded-full flex justify-center py-[16px] px-[14px] text-[18px] font-medium leading-[20px] ".concat(r),children:"Get our Special Offer"});case"get-offer-dark":return(0,l.jsx)("button",{className:"h-[50px] sm:h-[60px] text-white font-medium rounded-full flex justify-center items-center py-[16px] px-[20px] ".concat(r),onClick:()=>a("roofing"),children:t||"Get My FREE Estimate"});case"rsvp-now":return(0,l.jsx)("button",{className:"min-w-[120px] bg-[#123044] rounded-full flex justify-center py-[14px] sm:px-[20px] lg:px-[40px] text-[16px] sm:text-[18px] font-medium leading-[22px] ".concat(r),children:(0,l.jsxs)("p",{children:[(0,l.jsx)("span",{className:"text-[#FF5D59]",children:"RSVP"})," ",(0,l.jsx)("span",{className:"text-white",children:"Now!"})]})});default:return null}}},47615:function(e,t,n){var l=n(92367),s=n(83337);t.Z=()=>{let e=(0,s.T)();return{openModal:t=>{e((0,l.h7)(t))},closeModal:()=>{e((0,l.Mr)())}}}},83337:function(e,t,n){n.d(t,{C:function(){return r},T:function(){return s}});var l=n(32603);let s=l.I0,r=l.v9},92367:function(e,t,n){n.d(t,{Mr:function(){return r},h7:function(){return s}});let l=(0,n(95667).oM)({name:"modal",initialState:{isOpen:!1,modalType:null},reducers:{openModal:(e,t)=>{e.isOpen=!0,e.modalType=t.payload},closeModal:e=>{e.isOpen=!1,e.modalType=null}}}),{openModal:s,closeModal:r}=l.actions;t.ZP=l.reducer}}]);