1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,50372,e=>{"use strict";var t=e.i(43476),l=e.i(71645),r=e.i(18566),a=e.i(66065),n=e.i(58249);let o={restoration:[...a.restoration.map(e=>e.label),"Cleaning (air ducts, carpets, exterior)","Not sure / other"],cleaning:[...(0,a.flattenServices)([...a.cleaning.interior.items,...a.cleaning.exterior.items]).map(e=>e.label),"Not sure / other"]},i={restoration:{title:"Request a free inspection",sub:"No obligation. Weâll call you back to schedule.",select:"Type of damage",button:"Request free inspection",call:"Emergency?"},cleaning:{title:"Request a free quote",sub:"No obligation. Weâll call you back with a price and a date.",select:"Service",button:"Request free quote",call:"Prefer to talk?"}};function s({label:e,error:l,children:r}){return(0,t.jsxs)("label",{className:"block",children:[(0,t.jsx)("span",{className:"sr-only",children:e}),r,l&&(0,t.jsx)("span",{role:"alert",className:"mt-1.5 block text-[12px] text-emergency-hi",children:l})]})}e.s(["LeadForm",0,function({kind:e="restoration"}){let d=i[e],c=(0,r.useRouter)(),[p,u]=(0,l.useState)({}),[x,m]=(0,l.useState)("idle");async function g(t){let l;t.preventDefault();let r=new FormData(t.currentTarget),a=function(e,t="restoration"){let l={};return e.name||(l.name="Please enter your name."),(e.phone.match(/\d/g)??[]).length<10&&(l.phone="Please enter a 10-digit phone number."),o[t].includes(e.damage)||(l.damage="cleaning"===t?"Please choose a service.":"Please choose the type of damage."),e.location||(l.location="Please enter your town or ZIP code."),e.email&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.email)&&(l.email="That email doesn't look right."),l}({name:(l=e=>String(r.get(e)??"").trim().slice(0,200))("name"),phone:l("phone"),damage:l("damage"),location:l("location"),email:l("email")},e);if(u(a),!(Object.keys(a).length>0)){r.set("page",window.location.pathname),r.set("kind",e),m("sending");try{let t=await fetch("/api/lead",{method:"POST",body:r}),l=await t.json().catch(()=>({}));if(422===t.status&&l.errors){u(l.errors),m("idle");return}if(!t.ok||!l.ok)throw Error(String(t.status));if(l.dryRun)return void m("dry-run");(0,n.markLeadSubmitted)(e,window.location.pathname),c.push(n.THANK_YOU_PATH[e])}catch{m("failed")}}}return"sent"===x||"dry-run"===x?(0,t.jsxs)("div",{className:"rounded-tile border border-fg/10 bg-card p-6 text-center backdrop-blur-md",children:[(0,t.jsx)("p",{className:"text-xl font-bold tracking-[-0.02em]",children:"Thanks â weâve got it."}),(0,t.jsxs)("p",{className:"mt-2 text-[13px] leading-relaxed text-fg/60",children:["For anything urgent, call"," ",(0,t.jsx)("a",{href:a.site.phone.href,className:"focus-ring font-semibold text-fg",children:a.site.phone.display})," ","â someone picks up 24/7."]}),"dry-run"===x&&(0,t.jsx)("p",{className:"mono-label mt-5 text-[9px] text-warn",children:"Preview only · form not connected"})]}):(0,t.jsxs)("form",{onSubmit:g,noValidate:!0,className:"relative rounded-tile border border-fg/10 bg-card p-5 shadow-[inset_0_1px_0_rgba(255,255,255,0.08)] backdrop-blur-md",children:[(0,t.jsx)("h3",{className:"text-xl font-bold tracking-[-0.02em]",children:d.title}),(0,t.jsx)("p",{className:"mt-1.5 text-[13px] text-fg/55",children:d.sub}),(0,t.jsx)("input",{name:"company",type:"text",tabIndex:-1,autoComplete:"off","aria-hidden":"true",className:"absolute -left-[9999px] h-px w-px opacity-0"}),(0,t.jsxs)("div",{className:"mt-5 flex flex-col gap-4",children:[(0,t.jsx)(s,{label:"Full name",error:p.name,children:(0,t.jsx)("input",{name:"name",type:"text",autoComplete:"name","aria-invalid":!!p.name,className:"focus-ring w-full rounded-lg border border-fg/12 bg-fg/5 px-3.5 py-3 text-[15px] text-fg placeholder:text-fg/55",placeholder:"Full name"})}),(0,t.jsx)(s,{label:"Phone",error:p.phone,children:(0,t.jsx)("input",{name:"phone",type:"tel",inputMode:"tel",autoComplete:"tel","aria-invalid":!!p.phone,className:"focus-ring w-full rounded-lg border border-fg/12 bg-fg/5 px-3.5 py-3 text-[15px] text-fg placeholder:text-fg/55",placeholder:"Phone"})}),(0,t.jsx)(s,{label:"Town",error:p.location,children:(0,t.jsx)("input",{name:"location",type:"text",autoComplete:"address-level2","aria-invalid":!!p.location,className:"focus-ring w-full rounded-lg border border-fg/12 bg-fg/5 px-3.5 py-3 text-[15px] text-fg placeholder:text-fg/55",placeholder:"Town"})}),(0,t.jsx)(s,{label:"Email (optional)",error:p.email,children:(0,t.jsx)("input",{name:"email",type:"email",inputMode:"email",autoComplete:"email","aria-invalid":!!p.email,className:"focus-ring w-full rounded-lg border border-fg/12 bg-fg/5 px-3.5 py-3 text-[15px] text-fg placeholder:text-fg/55",placeholder:"Email (optional)"})}),(0,t.jsx)(s,{label:d.select,error:p.damage,children:(0,t.jsxs)("span",{className:"relative block",children:[(0,t.jsxs)("select",{name:"damage",defaultValue:"","aria-invalid":!!p.damage,className:"focus-ring w-full appearance-none rounded-lg border border-fg/12 bg-fg/5 py-3 pr-10 pl-3.5 text-[15px] text-fg [&:has(option[value='']:checked)]:text-fg/55",children:[(0,t.jsx)("option",{value:"",disabled:!0,className:"bg-panel",children:d.select}),o[e].map(e=>(0,t.jsx)("option",{value:e,className:"bg-panel text-fg",children:e},e))]}),(0,t.jsx)("svg",{"aria-hidden":"true",viewBox:"0 0 12 12",className:"pointer-events-none absolute top-1/2 right-3.5 size-3 -translate-y-1/2 text-fg/50",children:(0,t.jsx)("path",{d:"M2.5 4.5 6 8l3.5-3.5",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]})})]}),(0,t.jsx)("button",{type:"submit",disabled:"sending"===x,className:"focus-ring bg-emergency hover:bg-emergency-hi mt-5 h-12 w-full rounded-full text-[15px] font-semibold text-white transition-colors disabled:opacity-60",children:"sending"===x?"Sendingâ¦":d.button}),"failed"===x&&(0,t.jsxs)("p",{role:"alert",className:"mt-3 text-center text-[13px] text-emergency-hi",children:["Something went wrong sending your request. Please call"," ",(0,t.jsx)("a",{href:a.site.phone.href,className:"focus-ring font-semibold underline",children:a.site.phone.display})," ","â we answer 24/7."]}),(0,t.jsxs)("p",{className:"mt-3.5 text-center text-[12px] text-fg/45",children:[d.call," ",(0,t.jsxs)("a",{href:a.site.phone.href,className:"focus-ring font-semibold text-fg underline underline-offset-2",children:["Call ",a.site.phone.display]})]})]})}],50372)},60285,e=>{"use strict";var t=e.i(43476),l=e.i(71645);e.s(["PillTabs",0,function({groups:e}){let r=(0,l.useId)(),[a,n]=(0,l.useState)(0),[o,i]=(0,l.useState)(()=>e.map(()=>0));return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"-mx-[18px] overflow-x-auto px-[18px] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden lg:mx-0 lg:overflow-visible lg:px-0",children:(0,t.jsx)("div",{role:"tablist","aria-label":"Sections",className:"inline-flex rounded-full border border-white/10 bg-white/5 p-1",children:e.map((l,o)=>(0,t.jsx)("button",{id:`${r}-tab-${o}`,role:"tab",type:"button","aria-selected":a===o,"aria-controls":`${r}-panel-${o}`,tabIndex:a===o?0:-1,onClick:()=>n(o),onKeyDown:t=>{let l,a;return l=e.length,void(null!==(a="ArrowRight"===t.key?(o+1)%l:"ArrowLeft"===t.key?(o-1+l)%l:null)&&(t.preventDefault(),n(a),document.getElementById(`${r}-tab-${a}`)?.focus()))},className:`focus-ring rounded-full px-4 py-2 text-[13px] font-semibold whitespace-nowrap transition-colors lg:px-5 lg:text-sm ${a===o?"bg-white text-ink":"text-white/70 hover:text-white"}`,children:l.label},l.label))})}),e.map((e,l)=>(0,t.jsx)("div",{id:`${r}-panel-${l}`,role:"tabpanel","aria-labelledby":`${r}-tab-${l}`,hidden:a!==l,className:"mt-6 lg:mt-8",children:(0,t.jsx)("ul",{className:"border-t border-white/10",children:e.items.map((e,a)=>{let n=o[l]===a,s=`${r}-region-${l}-${a}`;return(0,t.jsxs)("li",{className:`border px-5 transition-[background-color,border-color,margin] duration-300 motion-reduce:transition-none lg:px-6 ${n?"rounded-tile my-2 border-white/8 bg-white/4 shadow-[inset_0_1px_0_rgba(255,255,255,0.06)]":"border-transparent border-b-white/10"}`,children:[(0,t.jsxs)("button",{type:"button","aria-expanded":n,"aria-controls":s,onClick:()=>i(e=>e.map((e,t)=>t===l?e===a?-1:a:e)),className:"focus-ring group flex w-full items-center justify-between gap-4 py-4 text-left lg:py-5",children:[(0,t.jsx)("span",{className:`text-[17px] font-semibold tracking-[-0.01em] transition-colors lg:text-lg ${n?"text-white":"text-white/80 group-hover:text-white"}`,children:e.title}),(0,t.jsx)("span",{"aria-hidden":"true",className:`bg-emergency flex size-[22px] shrink-0 items-center justify-center rounded-full text-sm text-white transition-transform duration-200 motion-reduce:transition-none ${n?"rotate-45":""}`,children:"+"})]}),(0,t.jsx)("div",{id:s,role:"region",className:`grid transition-[grid-template-rows] duration-300 ease-out motion-reduce:transition-none ${n?"grid-rows-[1fr]":"grid-rows-[0fr]"}`,children:(0,t.jsx)("div",{className:"overflow-hidden",children:(0,t.jsxs)("div",{className:"max-w-[72ch] pb-5 lg:pb-6",children:[(0,t.jsx)("p",{className:"text-[14px] leading-relaxed text-white/65 lg:text-[15px]",children:e.body}),e.points&&(0,t.jsx)("ul",{className:"mt-3 flex flex-col gap-1.5",children:e.points.map(e=>(0,t.jsx)("li",{className:"relative pl-3.5 text-[13px] leading-relaxed text-white/55 before:absolute before:top-[9px] before:left-0 before:size-1 before:rounded-full before:bg-emergency-hi lg:text-sm",children:e},e))})]})})})]},e.title)})})},e.label))]})}])},5282,e=>{"use strict";var t=e.i(43476),l=e.i(71645);e.s(["ScrollLit",0,function({as:e="ul",className:r,children:a}){let n=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let e=n.current?.querySelectorAll(":scope > li");if(!e?.length)return;let t=new IntersectionObserver(e=>{for(let t of e){let e=t.isIntersecting||t.boundingClientRect.top<0;t.target.toggleAttribute("data-active",e)}},{rootMargin:"0px 0px -40% 0px",threshold:0});
1return e.forEach(e=>t.observe(e)),()=>t.disconnect()},[]),(0,t.jsx)(e,{ref:n,className:r,children:a})}])}]);
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.