PageSourceSearch

https://www.garyforny1.com/_next/static/chunks/theme.lp-best-728c8d6327945ed5.js

js garyforny1.com collected 2026-10-08 19:06:39 UTC 26,653 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6339],{2105:(e,t,l)=>{l.d(t,{default:()=>r});var n=l(95155),a=l(83850);function r(e){let{list:t}=e,l=(0,a.A)(t);return(null==l?void 0:l.isOpen)?(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsxs)("span",{className:"relative size-2","aria-hidden":!0,children:[(0,n.jsx)("span",{className:"absolute size-full animate-ping bg-[#035D53] rounded-full"}),(0,n.jsx)("span",{className:"size-2 block bg-[#035D53] rounded-full"})]}),(0,n.jsx)("span",{className:"text-[#035D53] font-medium text-sm text-nowrap",children:"Open Now"})]}):null}},12277:(e,t,l)=>{l.d(t,{default:()=>i});var n=l(95155),a=l(70622),r=l(12115);function s(e){let{item:t}=e;return(0,n.jsx)("li",{className:"self-center text-body mb-0 text-neutral-700 ms-3.75",children:t.title})}function i(e){let{list:t}=e,[l,i]=(0,r.useState)(!1);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("ul",{className:"".concat(l?"":"max-md:*:nth-[n+4]:hidden md:max-lg:*:nth-[n+7]:hidden lg:*:nth-[n+10]:hidden"," list-outside list-disc mt-4 grid gap-y-3 gap-x-3 md:grid-cols-2 lg:grid-cols-3 marker:text-[#035D53]"),children:t.map(e=>(0,n.jsx)(s,{item:e},e.title))}),(0,n.jsxs)("button",{type:"button",onClick:()=>i(e=>!e),className:"".concat(t.length>3?"max-md:inline-flex":""," ").concat(t.length>6?"md:max-lg:inline-flex":""," ").concat(t.length>9?"lg:inline-flex":""," cursor-pointer group hidden items-center gap-2 mt-6 text-body text-neutral-700"),children:[(0,n.jsx)("span",{children:l?"See fewer zip codes":"See more zip codes"}),(0,n.jsx)(a.A,{id:"angle-down",path:"/lp-best",size:18,className:"w-3.5 h-3.5 transition-transform duration-200 ".concat(l?"rotate-180":"")})]})]})}},18268:(e,t,l)=>{l.d(t,{default:()=>r});var n=l(95155),a=l(57675);function r(){let e=(0,a.u)();return(0,n.jsxs)("button",{type:"button",className:"lg:hidden grid place-content-center w-8 h-8 cursor-pointer",onClick:e.toggle,"aria-label":"Toggle navigation","aria-expanded":e.isOpen,"aria-controls":"header-mobile-nav",children:[(0,n.jsx)("span",{className:"block border-t-3 border-white rounded-full w-7 transition-all duration-500 ".concat(e.isOpen?"rotate-405 translate-y-[calc(var(--spacing)*1.75)]":"")}),(0,n.jsx)("span",{className:"block border-t-3 border-white rounded-full w-7 mt-1 transition-all duration-500 ".concat(e.isOpen?"opacity-0":"")}),(0,n.jsx)("span",{className:"block border-t-3 border-white rounded-full w-7 mt-1 transition-all duration-500 ".concat(e.isOpen?"-rotate-405 -translate-y-[calc(var(--spacing)*1.75)]":"")})]})}},21401:(e,t,l)=>{l.d(t,{default:()=>r});var n=l(95155);let a=(0,l(67909).default)(()=>l.e(6339).then(l.bind(l,90532)),{loadableGenerated:{webpack:()=>[90532]},ssr:!1,loading:()=>(0,n.jsx)("div",{className:"h-27 w-full business-hours-skeleton"})});function r(e){let{list:t}=e;return(0,n.jsx)(a,{list:t})}},25552:(e,t,l)=>{l.d(t,{default:()=>c});var n=l(95155),a=l(70622),r=l(41062),s=l(12115),i=l(64652);function c(e){let{services:t,quoteButtonLabel:l,title:c}=e,[o,d]=(0,s.useState)(!1),u=(0,s.useCallback)(()=>{d(e=>!e)},[]),{openModal:m}=(0,r.d)();return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"mb-12 mt-12",children:[(0,n.jsx)("h2",{className:"page-content-h2 mb-7",children:c}),(0,n.jsx)("ul",{className:"grid grid-cols-2 lg:grid-cols-5 gap-3.5",children:t.map(e=>(0,n.jsx)("li",{className:"".concat(o?"":"max-lg:nth-[n+7]:hidden"," basis-[10.625rem]"),children:(0,n.jsxs)("button",{type:"button",onClick:e=>{e.preventDefault(),m()},className:"w-full cursor-pointer bg-[#F5F5F5] hover:bg-[#035D53] active:bg-primary-500 flex h-full flex-col items-center justify-center gap-3 rounded-md px-4 py-5 text-neutral-950 transition-all hover:text-white active:text-white",children:[(0,n.jsx)(a.A,{id:e.slug,path:"/lp-best",size:32,className:"h-8 w-8"}),(0,n.jsx)("h3",{className:"font-family-1 flex h-12 items-center justify-center text-center text-[17px] leading-[1.2] font-bold",children:e.name})]})},e.name))}),(0,n.jsx)("div",{className:"mt-8 text-center",children:(0,n.jsx)("button",{className:"".concat(o||t.length<=6?"hidden":"inline-block"," text-btn-md text-[#0A0A0A] font-medium cursor-pointer uppercase underline underline-offset-[20%] lg:hidden"),onClick:u,children:"View all services"})}),(0,n.jsx)("div",{className:"mt-8 text-center",children:(0,n.jsx)(i.default,{className:"btn btn-primary rounded-full uppercase w-full lg:w-auto",children:l})})]})})}},26618:(e,t,l)=>{l.d(t,{default:()=>c});var n=l(95155),a=l(70622),r=l(55836),s=l(12115),i=l(57675);function c(e){let{item:t,servicesList:l}
1=e,[c,o]=(0,s.useState)(!1),{toggle:d}=(0,i.u)(),[u,m]=(0,s.useState)(!1),[h,x]=(0,s.useState)("center"),f=(0,s.useRef)(null),p=(0,s.useRef)(null),b=(0,s.useId)(),g=(0,s.useCallback)(()=>{let e=f.current,t=p.current;if(!e||!t)return;let l=e.getBoundingClientRect();if(0===l.width)return;let n=t.offsetWidth||240,a=document.documentElement.clientWidth,r=l.left+l.width/2;r+n/2>a-8?x("end"):r-n/2<8?x("start"):x("center")},[]);return(0,s.useEffect)(()=>(g(),window.addEventListener("resize",g),()=>window.removeEventListener("resize",g)),[g]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"lg:hidden ".concat(c?"bg-tertiary-500":""),children:[(0,n.jsxs)("button",{type:"button",onClick:()=>o(!c),className:"block w-full text-center text-body-2-lg py-3.5 px-4 focus-visible:outline-0 focus-visible:underline focus-visible:inset-ring-4 focus-visible:inset-ring-secondary-700 ".concat(c?"text-secondary-700":"text-white"),children:[t.name,(0,n.jsx)(a.A,{id:"chevron-down",path:"/lp-best",size:14,className:"inline-block ml-2 transform transition-transform ".concat(c?"text-secondary-700 rotate-180":"text-white"),"aria-hidden":!0})]}),c&&(0,n.jsx)("ul",{className:"bg-tertiary-500 text-secondary-700",children:l.map(e=>{var t;if(!e.hidden_from_menu)return(0,n.jsx)("li",{children:(0,n.jsx)(r.default,{href:"/".concat(null!=(t=e.slug)?t:""),className:"block px-5 py-3.5 text-center text-body-2-lg hover:bg-secondary-500 hover:text-white transition-colors",onClick:()=>{o(!1),d()},children:e.name})},e.slug||e.name)})})]}),(0,n.jsxs)("div",{ref:f,className:"hidden lg:block h-full group relative",onMouseEnter:()=>{g(),m(!0)},onMouseLeave:()=>m(!1),onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||m(!1)},children:[(0,n.jsxs)("button",{type:"button","aria-haspopup":"true","aria-expanded":u,"aria-controls":b,onClick:()=>m(e=>!e),onKeyDown:e=>{"Escape"===e.key&&m(!1)},className:"flex h-full items-center justify-center w-full cursor-pointer text-center text-body-2-lg py-1.5 px-4 gap-1 focus-visible:outline-0 focus-visible:underline focus-visible:inset-ring-4 focus-visible:inset-ring-secondary-700 lg:hover:bg-secondary-500 lg:hover:text-white ".concat(u?"bg-secondary-500 text-white":""),children:[(0,n.jsx)("span",{children:t.name}),(0,n.jsx)(a.A,{id:"chevron-down",path:"/lp-best",size:16,className:"relative mt-1 transform transition-transform ".concat(u?"rotate-180":""),"aria-hidden":!0})]}),(0,n.jsx)("div",{id:b,className:"absolute top-full ".concat("end"===h?"right-0":"start"===h?"left-0":"left-1/2 -translate-x-1/2"," mt-0 max-w-[calc(100vw-1rem)] transition-all duration-200 z-[100] ").concat(u?"opacity-100 visible":"opacity-0 invisible"),children:(0,n.jsx)("div",{ref:p,className:"bg-tertiary-500 min-w-[240px] py-2 shadow-lg",children:l.map(e=>{var t;if(!e.hidden_from_menu)return(0,n.jsx)(r.default,{href:"/".concat(null!=(t=e.slug)?t:""),onClick:()=>m(!1),className:"block px-4 py-2.5 text-center text-body-2-lg font-medium text-secondary-700 hover:bg-secondary-500 hover:text-white transition-colors",children:e.name},e.slug||e.name)})})})]})]})}},41882:(e,t,l)=>{l.d(t,{default:()=>s});var n=l(95155),a=l(41062),r=l(12115);function s(e){let{services:t,buttonLabel:l}=e,[s,i]=(0,r.useState)(""),[c,o]=(0,r.useState)(!1),{openModal:d}=(0,a.d)(),u=(0,r.useCallback)(()=>{o(e=>!e)},[]),m=e=>{let t=e.currentTarget;i(t.value),d({attributes:decodeURIComponent(t.value)})};return(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"".concat(c?"":"max-md:*:nth-[n+8]:hidden md:*:nth-[n+15]:hidden"," grid grid-cols-1 md:grid-cols-2 gap-3"),children:null==t?void 0:t.map((e,t)=>{let{name:l,slug:a}=e;return(0,n.jsxs)("label",{className:"flex items-center space-x-3 p-3 rounded-lg cursor-pointer bg-white hover:bg-neutral-50 border transition-colors group ".concat(s===a?"border-primary-500 font-semibold":"border-neutral-200 hover:border-primary-500"),children:[(0,n.jsx)("input",{type:"radio",name:"services",value:a,checked:s===a,onChange:m,className:"w-4 h-4 appearance-none border-2 border-neutral-300 rounded-full checked:border-[3px] checked:border-white checked:bg-primary-500 checked:shadow-[0px_0px_0px_1px_var(--color-primary-500)] group-hover:border-primary-500 transition-colors"}),(0,n.jsx)("span",{className:"text-neutral-800 text-[17px] font-semibold leading-[1.4]",children:l})]},t)})}),(0,n.jsx)("div",{className:"mt-5 lg:mt-8 text-center",children:(0,n.jsx)("button",{type:"button",onClick:u,className:"".concat(t.length>7?"max-md:inline-flex":""," ").concat(t.length>14?"md:inline-flex":""," hidden items-center gap-2 cursor-pointer text-body-2-lg font-medium uppercase text-neutral-900 underline underline-offset-[20%] transition-colors after:border-x-6 after:border-x-trans
1parent [&:hover,&:active]:text-primary-500 [&:hover,&:active]:no-underline ").concat(c?"after:border-b-6 after:border-b-neutral-900":"after:border-t-6 after:border-t-neutral-900"),children:c?"View less services":"View all services"})}),(0,n.jsx)("div",{className:"mt-5 lg:mt-8 text-center",children:(0,n.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),d({attributes:decodeURIComponent(s)})},className:"btn btn-primary uppercase max-sm:w-full",children:l||"Schedule now"})})]})}},57675:(e,t,l)=>{l.d(t,{HeaderContextProvider:()=>s,u:()=>i});var n=l(95155),a=l(12115);let r=(0,a.createContext)({isOpen:!1,toggle:()=>{}});function s(e){let{children:t}=e,[l,s]=(0,a.useState)(!1),i=(0,a.useCallback)(()=>{s(e=>!e)},[]);return(0,n.jsx)(r.Provider,{value:{isOpen:l,toggle:i},children:t})}function i(){return(0,a.useContext)(r)}},63064:(e,t,l)=>{l.d(t,{default:()=>i});var n=l(95155),a=l(67909);let r=(0,n.jsx)("div",{className:"min-h-50 bg-neutral-050 animate-pulse w-full rounded"}),s=(0,a.default)(()=>Promise.all([l.e(6339),l.e(7567)]).then(l.bind(l,78751)),{loadableGenerated:{webpack:()=>[78751]},ssr:!1,loading:()=>r});function i(e){return(0,n.jsx)(s,{...e})}},64652:(e,t,l)=>{l.r(t),l.d(t,{default:()=>r});var n=l(95155),a=l(41062);function r(e){let{children:t,className:l}=e,{openModal:r,isOpen:s}=(0,a.d)();return(0,n.jsx)("button",{className:l,"aria-haspopup":!0,"aria-expanded":s,onClick:()=>r(),children:t})}},69518:(e,t,l)=>{l.d(t,{default:()=>c});var n=l(95155),a=l(70622),r=l(41062),s=l(12115),i=l(64652);function c(e){let{services:t,quoteButtonLabel:l}=e,[c,o]=(0,s.useState)(!1),d=(0,s.useCallback)(()=>{o(e=>!e)},[]),{openModal:u}=(0,r.d)();return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"mb-12 mt-12",children:[(0,n.jsx)("h2",{className:"page-content-h2 mb-7",children:"Most Sought After Services"}),(0,n.jsx)("ul",{className:"grid grid-cols-2 lg:grid-cols-5 gap-3.5",children:t.map(e=>(0,n.jsx)("li",{className:"".concat(c?"":"max-lg:nth-[n+7]:hidden"," basis-[10.625rem]"),children:(0,n.jsxs)("button",{type:"button",onClick:e=>{e.preventDefault(),u()},className:"w-full cursor-pointer bg-[#F5F5F5] hover:bg-[#035D53] active:bg-primary-500 flex h-full flex-col items-center justify-center gap-3 rounded-md px-4 py-5 text-neutral-950 transition-all hover:text-white active:text-white",children:[(0,n.jsx)(a.A,{id:e.slug,path:"/lp-best",size:32,className:"h-8 w-8"}),(0,n.jsx)("h3",{className:"font-family-1 flex h-12 items-center justify-center text-center text-[17px] leading-[1.2] font-bold",children:e.name})]})},e.name))}),(0,n.jsx)("div",{className:"mt-8 text-center",children:(0,n.jsx)("button",{className:"".concat(c||t.length<=6?"hidden":"inline-block"," text-btn-md text-[#0A0A0A] font-medium cursor-pointer uppercase underline underline-offset-[20%] lg:hidden"),onClick:d,children:"View all services"})}),(0,n.jsx)("div",{className:"mt-8 text-center",children:(0,n.jsx)(i.default,{className:"btn btn-primary rounded-full uppercase w-full lg:w-auto",children:l})})]})})}},78751:(e,t,l)=>{l.r(t),l.d(t,{default:()=>c});var n=l(95155),a=l(70622),r=l(71700),s=l(68072),i=l(12115);function c(e){let{reviews:t}=e,l=(0,i.useMemo)(()=>(0,r.A)({delay:6e3,stopOnMouseEnter:!0,stopOnInteraction:!1}),[]),[c,o]=(0,s.A)({loop:!0},[l]),[d,u]=(0,i.useState)(0),[m,h]=(0,i.useState)([]),x=(0,i.useCallback)(()=>{o&&u(o.selectedScrollSnap())},[o]);return(0,i.useEffect)(()=>{if(o)return h(o.scrollSnapList()),o.on("select",x),x(),()=>{o.off("select",x)}},[o,x]),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"overflow-hidden",ref:c,children:(0,n.jsx)("div",{className:"flex items-stretch",style:{gap:"32px"},children:null==t?void 0:t.map((e,t)=>{let l=e.city&&e.state?" - ".concat(e.city,", ").concat(e.state):"",r="".concat(e.author).concat(l);return(0,n.jsx)("div",{className:"flex-[0_0_100%] min-w-0",children:(0,n.jsxs)("blockquote",{className:"flex flex-col h-full gap-5 border-s-4 border-s-[#035D53] ps-5 py-1.5",children:[(0,n.jsx)("div",{className:"flex items-center justify-center gap-2","aria-hidden":!0,children:[,,,,,].fill(null).map((e,t)=>(0,n.jsx)(a.A,{id:"star-icon",path:"/lp-best",size:18,className:"text-[#F2C300] h-4.5 w-4.5"},t))}),(0,n.jsx)("div",{className:"flex-1 flex items-center justify-center text-center italic text-neutral-700",dangerouslySetInnerHTML:{__html:e.content}}),(0,n.jsx)("h3",{className:"text-body text-center text-[#035D53] font-bold",children:r})]})},t)})})}),(0,n.jsx)("div",{className:"flex justify-center gap-2 mt-5",children:m.map((e,t)=>(0,n.jsx)("button",{className:"w-3 h-3 rounded-full transition-colors cursor-pointer ".concat(t===d?"bg-[#035D53]":"bg-neutral-300"),onClick:()=>null==o?void 0:o.scrollTo(t),"aria-label":"Go to slide ".concat(t+1)},t))})]})}},82632:(e,t,l)=>{l.d(t,{default:()=>d});var n=l(95155),a=l(68072),r=l(12115),s=l(70622),i=l(64652);function c(e,t,l){return"/assets/".concat(e.filename_download,"?v=").concat(e.id,"&width=").concat(t,"&height=").concat(l,"&fit=cover&qual
1ity=60")}function o(e){let{title:t,content:l,image:a,button_label:r,eager:o}=e,d=!!(null==a?void 0:a.filename_download);return(0,n.jsxs)(i.default,{className:"group/slide relative flex h-93.5 w-full cursor-pointer flex-col justify-end overflow-hidden rounded-lg bg-white text-left shadow-md transition-shadow duration-300 hover:shadow-lg focus:shadow-lg active:shadow-lg",children:[(0,n.jsx)("div",{className:"absolute inset-x-0 top-0 h-65 bg-neutral-100",children:(0,n.jsx)("img",{src:d?c(a,415,280):"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",srcSet:d?"".concat(c(a,415,280)," 1x, ").concat(c(a,830,560)," 2x"):void 0,alt:(null==a?void 0:a.title)||"",width:415,height:280,className:"absolute inset-0 h-full w-full object-cover",fetchPriority:o?"high":void 0,loading:o?void 0:"lazy",decoding:"async"})}),(0,n.jsxs)("div",{className:"relative z-1 bg-white p-3 pb-4 text-center",children:[(0,n.jsx)("h3",{className:"text-h5 mb-2 text-[#035D53]",children:t}),(0,n.jsx)("div",{className:"text-sm leading-5 text-neutral-700",dangerouslySetInnerHTML:{__html:l}}),(0,n.jsxs)("span",{className:"mt-3 flex h-0 items-center justify-center gap-1.5 overflow-hidden text-sm font-bold uppercase text-[#035D53] transition-all duration-300 group-hover/slide:h-5 group-focus/slide:h-5 group-active/slide:h-5",children:[r,(0,n.jsx)(s.A,{id:"icon-arrow-right",path:"/lp-best",className:"size-4"})]})]})]})}function d(e){let{list:t}=e,[l,s]=(0,a.A)({align:"start",slidesToScroll:1}),[i,c]=(0,r.useState)(0),[d,u]=(0,r.useState)([]),m=(0,r.useCallback)(()=>{s&&(u(s.scrollSnapList()),c(s.selectedScrollSnap()))},[s]);return(0,r.useEffect)(()=>{if(s)return m(),s.on("select",m),s.on("reInit",m),()=>{s.off("select",m),s.off("reInit",m)}},[s,m]),(0,n.jsxs)("div",{className:"topservices-slider",children:[(0,n.jsx)("div",{className:"overflow-visible",ref:l,children:(0,n.jsx)("div",{className:"flex items-stretch",children:t.map((e,t)=>(0,n.jsx)("div",{className:"topservices-slide flex min-w-0".concat(t===i?" topservices-slide--active":""),children:(0,n.jsx)("div",{className:"flex w-full px-1.5",children:(0,n.jsx)(o,{...e,eager:0===t})})},e.title))})}),d.length>1&&(0,n.jsx)("div",{className:"mt-6 flex justify-center gap-2",children:d.map((e,t)=>(0,n.jsx)("button",{className:"topservices-dot".concat(t===i?" topservices-dot--active":""),onClick:()=>null==s?void 0:s.scrollTo(t),"aria-label":"Go to slide ".concat(t+1)},t))})]})}},85140:(e,t,l)=>{l.d(t,{default:()=>s});var n=l(95155),a=l(12115),r=l(57675);function s(e){let{children:t}=e,{isOpen:l}=(0,r.u)();return(0,a.useEffect)(()=>{l?document.body.style.overflow="hidden":document.body.style.overflow="unset"},[l]),(0,n.jsx)("nav",{id:"header-mobile-nav",className:"".concat(l?"block":"hidden lg:block"," fixed overflow-y-auto lg:overflow-y-visible inset-0 top-28 lg:static bg-secondary-500 lg:bg-tertiary-500 lg:text-secondary-700 text-white"),children:t})}},89244:(e,t,l)=>{l.d(t,{default:()=>s});var n=l(95155),a=l(4988),r=l(12115);function s(e){let{areas:t,center:s,iconColor:i}=e,c=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(t)return(async()=>{await (0,a.P)("/assets/leaflet.css");let e=await l.e(1761).then(l.t.bind(l,55027,23));c.current&&(c.current.remove(),c.current=null);let n=e.default.icon({iconUrl:"data:image/svg+xml;utf8,".concat(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" id="map-marker" viewBox="0 0 14 16">\n      <path fill="'.concat(i,'"\n        d="M1.459 7.533a5.688 5.688 0 1 1 11.375 0c0 2.039-1.052 3.753-2.195 5.018-1.147 1.27-2.429 2.134-2.986 2.481a.951.951 0 0 1-1.013 0c-.557-.347-1.84-1.212-2.986-2.481-1.143-1.265-2.195-2.98-2.195-5.018Z" />\n      <path fill="#fff" d="M7.001 9.958a2.333 2.333 0 1 0 0-4.667 2.333 2.333 0 0 0 0 4.667Z" />\n  </svg>'))),iconSize:[48,48]}),r=s.split(","),o=Number(r[0]),d=Number(r[1]);if(isNaN(o)||isNaN(d))return;let u=e.default.map("service-map",{zoomControl:!1}).setView([o,d],11);c.current=u,e.default.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:""}).addTo(u),t.forEach(t=>{if(t.coverage){let{latitude:l,longitude:a}=t.coverage;null!=l&&null!=a&&e.default.marker([l,a],{icon:n}).addTo(u)}else{let{latitude:l,longitude:a}=t;if(null==l||null==a)return;e.default.marker([l,a],{icon:n}).addTo(u)}}),e.default.marker([o,d],{icon:n}).addTo(u)})(),()=>{c.current&&(c.current.remove(),c.current=null)}},[t,s]),(0,n.jsx)("div",{id:"service-map",className:"z-1 w-full h-full rounded-lg"})}},89355:(e,t,l)=>{l.d(t,{default:()=>c});var n=l(95155),a=l(70622),r=l(55836),s=l(12115);function i(e){var t;let{area:l,service:a}=e;return(0,n.jsx)("li",{children:(0,n.jsxs)(r.default,{className:"text-body mb-0 text-[#035D53] underline hover:no-underline",href:"/".concat(null!=(t=l.slug)?t:""),children:[a," in ",l.name]})})}function c(e){let{areas:t,service:l}
1=e,[r,c]=(0,s.useState)(!1);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("ul",{className:"".concat(r?"":"max-md:*:nth-[n+4]:hidden md:max-lg:*:nth-[n+7]:hidden lg:*:nth-[n+10]:hidden"," list-none grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"),children:t.map(e=>(0,n.jsx)(i,{area:e,service:l},e.slug))}),(0,n.jsxs)("button",{type:"button",onClick:()=>c(e=>!e),className:"".concat(t.length>3?"max-md:inline-flex":""," ").concat(t.length>6?"md:max-lg:inline-flex":""," ").concat(t.length>9?"lg:inline-flex":""," cursor-pointer text-body group hidden items-center gap-2 mt-6 text-[#035D53] lg:mt-8"),children:[(0,n.jsx)("span",{className:"underline group-hover:no-underline",children:r?"See fewer cities":"See more cities"}),(0,n.jsx)(a.A,{id:"angle-down",path:"/lp-best",size:18,className:"w-3.5 h-3.5 transition-transform duration-200 ".concat(r?"rotate-180":"")})]})]})}},90295:(e,t,l)=>{l.d(t,{default:()=>i});var n=l(95155),a=l(70622),r=l(41062),s=l(12115);function i(){let[e,t]=(0,s.useState)(""),{openModal:l}=(0,r.d)();return(0,n.jsxs)("form",{onSubmit:t=>{t.preventDefault(),l({zip_code:e})},className:"relative flex min-h-16 grow-1 flex-wrap gap-4 rounded border-1 border-neutral-300 bg-white px-2 py-2",children:[(0,n.jsxs)("label",{className:"inline-flex min-h-12 grow-1 basis-7/11 items-center gap-2 px-2",children:[(0,n.jsx)(a.A,{id:"location-outline",className:"h-4.5 w-4 text-neutral-900",path:"/lp-best",size:16}),(0,n.jsx)("input",{type:"text",placeholder:"Enter your Zip Code",className:"h-full w-full no-outline",value:e,onChange:e=>t(e.target.value)})]}),(0,n.jsx)("button",{className:"btn btn-primary grow-1 justify-center self-center",type:"submit",children:"Search"})]})}},90454:(e,t,l)=>{l.d(t,{default:()=>c});var n=l(95155),a=l(41062),r=l(27245),s=l.n(r),i=l(12115);function c(e){let{funnel:t}=e,[l,r]=(0,i.useState)(""),{openModal:c}=(0,a.d)();if(!t)return null;let{questions:o,phone:d,quoteButtonLabel:u,queryParams:m}=t,h=e=>{r(e.currentTarget.value)};return(0,n.jsxs)(s(),{"data-form":!0,className:"bg-neutral-700 relative rounded-md p-5 shadow-[0_16px_32px_0_rgba(9,_9,_9,_0.16)]",action:"#",onSubmit:e=>{e.preventDefault(),c({attributes:decodeURIComponent(l)})},children:[(0,n.jsx)("input",{type:"hidden",name:"button",value:"btn-primary"}),(0,n.jsx)("input",{type:"hidden",name:"phone",value:d}),(0,n.jsx)("input",{type:"hidden",name:"category",value:null==m?void 0:m.category}),(0,n.jsx)("input",{type:"hidden",name:"site_abtest_id",value:""}),(0,n.jsx)("input",{type:"hidden",name:"funnel",value:null==m?void 0:m.funnel}),(0,n.jsx)("span",{className:"text-p-lg font-family-2 text-center font-bold text-white block mb-4",children:"What type of electrical project is this?"}),(0,n.jsx)("ul",{className:"bg-white divide-y-1 divide-neutral-300 overflow-hidden rounded border-2 border-neutral-300",children:o.map(e=>(0,n.jsx)("li",{children:(0,n.jsxs)("label",{className:"group text-body-2 flex w-full cursor-pointer items-center gap-2.5 bg-gradient-to-b from-neutral-50 to-neutral-100 p-3 text-neutral-800 transition-all not-[has-[:checked]]:hover:from-[oklch(from_var(--color-tertiary-500)_l_c_h_/_0.30)] not-[has-[:checked]]:hover:to-[oklch(from_var(--color-tertiary-500)_l_c_h_/_0.30)] *:transition-all",children:[(0,n.jsx)("input",{type:"radio",className:"checked:after:bg-primary-400 checked:border-primary-400 group-hover:border-primary-400 relative h-4.5 w-4.5 appearance-none rounded-full border-1 border-neutral-300 bg-white group-hover:border-2 checked:border-2 checked:after:absolute checked:after:inset-0.5 checked:after:rounded-full",value:JSON.stringify(e.value),onChange:h,name:"service-attributes"}),e.display]})},e.display))}),(0,n.jsx)("button",{className:"btn btn-primary mt-2.5 w-full uppercase",type:"submit",children:u}),(0,n.jsxs)("ul",{className:"mt-4 flex flex-wrap justify-around gap-5",children:[(0,n.jsx)("li",{children:(0,n.jsx)("img",{className:"max-h-8 w-auto",src:"/lp-best/tcpa.webp",alt:"TCPA Compliance",width:57,height:32,loading:"lazy"})}),(0,n.jsx)("li",{children:(0,n.jsx)("img",{className:"max-h-8 w-auto",src:"/lp-best/comodo.webp",alt:"Comodo SSL Certificate",width:102,height:32,loading:"lazy"})}),(0,n.jsx)("li",{children:(0,n.jsx)("img",{className:"max-h-8 w-auto",src:"/lp-best/true-trust.webp",alt:"True Trust",width:75,height:32,loading:"lazy"})})]})]})}},90532:(e,t,l)=>{l.r(t),l.d(t,{default:()=>i});var n=l(95155),a=l(68072),r=l(12115),s=l(83850);function i(e){var t;let{list:l}=e,i=(0,s.A)(l),c=null!=(t=null==i?void 0:i.currentDay)?t:-1,[o,d]=(0,a.A)({loop:!0,align:"center",slidesToScroll:1}),u=(0,r.useCallback)(()=>null==d?void 0:d.scrollPrev(),[d]),m=(0,r.useCallback)(()=>null==d?void 0:d.scrollNext(),[d]);return(0,r.useEffect)(()=>{d&&c>=0&&d.scrollTo(c,!0)},[d,c]),(0,n.jsxs)("div",{className:"-mx-4 relative business-hours-slider",children:[(0,n.jsx)("button",{className:"business-hours-prev absolute left-2.5 top-1/2 -translate-y-1/2 z-10",onClick:u,"aria-label":"Previous"}),(0,n.jsx)("button",{className:"business-hours-next absolute right-2.5 top-1/2 -translate-y-1/2 z-10",onClick:m,"aria-label":"Next"}),(0,n.jsx)("div",{className:"overflow-hidden",ref:o,children:(0,n.jsx)("div",{className:"flex items-center py-1",children:null==l?void 0:l.map((e,t)=>(0,n.jsx)("div",{className:"business-hours-slide flex-shrink-0 min-w-0",children:(0,n.jsx)("div",{className:"px-1.5",children:(0,n.jsxs)("div",{className:"flex flex-col gap-1 items-center p-3 rounded-lg border text-center transition-all min-h-25 w-full place-content-center ".concat(t===c?"border-2 border-[#035D53] bg-[#035D53]/5":"border-neutral-200 bg-white"),children:[(0,n.jsx)("span",{className:"text-sm ".concat(t===c?"text-[#035D53]":"text-neutral-500"),
1children:e.title}),(0,n.jsx)("div",{className:"text-sm font-bold text-neutral-900 text-nowrap *:m-0",dangerouslySetInnerHTML:{__html:e.content}})]})})},t))})})]})}},97966:(e,t,l)=>{l.d(t,{default:()=>r});var n=l(95155),a=l(12115);function r(e){let{htmlId:t,title:l,hideDesktopTitle:r=!1,defaultOpen:s=!1,children:i}=e,[c,o]=(0,a.useState)(s),d=(0,a.useCallback)(()=>{o(e=>!e)},[]);return(0,n.jsxs)("div",{children:[r?null:(0,n.jsx)("h2",{className:"footer-nav-title hidden lg:mb-4 lg:block",children:l}),(0,n.jsx)("button",{className:"flex justify-between items-center text-start w-full after:border-x-6 after:border-x-transparent focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-tertiary-400 lg:hidden ".concat(c?"after:border-b-6 after:border-b-tertiary-400":"after:border-t-6 after:border-t-tertiary-400"),"aria-controls":t,"aria-expanded":c,onClick:d,children:(0,n.jsx)("span",{className:"footer-nav-title",children:l})}),(0,n.jsx)("div",{id:t,className:"".concat(c?"block":"hidden"," lg:block mt-4"),children:i})]})}},99921:(e,t,l)=>{l.d(t,{default:()=>r});var n=l(95155),a=l(12115);function r(e){let{title:t,content:l}=e,[r,s]=(0,a.useState)(!0),i=(0,a.useCallback)(()=>{s(e=>!e)},[]);return(0,n.jsxs)("li",{className:"faq-item bg-neutral-100 rounded px-5 py-4.5",children:[(0,n.jsx)("button",{className:"cursor-pointer w-full text-start flex gap-4 items-center justify-between after:border-x-6 after:border-x-transparent ".concat(r?"after:border-b-6 after:border-b-[#035D53]":"after:border-t-6 after:border-t-[#035D53]"),"aria-expanded":r,onClick:i,children:(0,n.jsx)("h3",{className:"text-h5 text-[#035D53] mb-0",children:t})}),(0,n.jsx)("div",{className:"".concat(r?"block":"hidden"," text-body text-neutral-700 mt-4"),dangerouslySetInnerHTML:{__html:l}})]})}}}]);

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.