1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={callServer:function(){return l.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var a in s)Object.defineProperty(r,a,{enumerable:!0,get:s[a]});let l=e.r(32120),n=e.r(92245),i=e.r(35326)},11245,e=>{"use strict";var t=e.i(43476),r=e.i(71645),s=e.i(95187);let a=(0,s.createServerReference)("609c348dd6665ae1266012ce0058e16fbc45702d6b",s.callServer,void 0,s.findSourceMapURL,"submitMagnet");var l=e.i(75679),n=e.i(26704);let i="/downloads/minnesota-storm-damage-checklist.pdf",o={};e.s(["ChecklistCta",0,function({src:e,light:s=!1}){let[d,c,u]=(0,r.useActionState)(a,o),m=(0,r.useRef)(!1),h=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(d.ok&&!m.current){m.current=!0,(0,l.track)("lead_magnet_download",{src:e});let t=document.createElement("a");t.href=i,t.download="",document.body.appendChild(t),t.click(),t.remove()}},[d.ok,e]);let p=s?"rounded-md border border-hail bg-white p-5":"rounded-md border border-white/15 bg-storm-deep/60 p-5",f=s?"text-granule":"text-hail";return d.ok?(0,t.jsxs)("div",{className:p,children:[(0,t.jsx)("p",{className:"eyebrow",children:"Checklist on its way"}),(0,t.jsx)("p",{className:`mt-2 text-sm ${f}`,children:"Your download started. Print it, stick it on the fridge, and do not sign anything at your door before reading it."}),(0,t.jsx)("a",{href:i,download:!0,className:`link-chalk mt-3 inline-block text-sm font-bold ${s?"text-ink":"text-ice"}`,children:"Download again"})]}):(0,t.jsxs)("form",{action:c,className:p,onFocusCapture:()=>{h.current||(h.current=!0,(0,l.track)("lead_magnet_start",{src:e}))},children:[(0,t.jsx)("p",{className:"eyebrow",children:"Not ready to talk? Take the checklist."}),(0,t.jsx)("p",{className:`mt-2 text-sm ${f}`,children:"The Minnesota Storm Damage Checklist: what to photograph, how to stay safe, and what never to sign at your door. Free, two pages. We use your email for the checklist and nothing else."}),(0,t.jsx)("input",{type:"hidden",name:"src",value:e}),(0,t.jsx)("div",{className:"absolute -left-[9999px]","aria-hidden":"true",children:(0,t.jsxs)("label",{children:["Company website",(0,t.jsx)("input",{type:"text",name:"company_website",tabIndex:-1,autoComplete:"off"})]})}),(0,t.jsxs)("div",{className:"mt-4 flex flex-col gap-2 sm:flex-row",children:[(0,t.jsx)("label",{className:"sr-only",htmlFor:`${e}-magnet-email`,children:"Email address"}),(0,t.jsx)("input",{id:`${e}-magnet-email`,type:"email",name:"email",required:!0,autoComplete:"email",placeholder:"[email protected]",defaultValue:d.email,className:"field flex-1"}),(0,t.jsx)("button",{type:"submit",disabled:u,className:`btn ${s?"btn-chalk":"btn-line text-ice"} disabled:opacity-60`,children:u?"Sending...":"Get the checklist"})]}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)(n.Turnstile,{dark:!s,resetKey:d})}),d.error?(0,t.jsx)("p",{role:"alert",className:`mt-2 text-sm font-semibold ${s?"text-chalk-deep":"text-chalk"}`,children:d.error}):null]})}],11245)},97049,e=>{"use strict";var t=e.i(43476),r=e.i(71645);e.s(["HouseFrame",0,function({children:e}){let s=(0,r.useRef)(null),a=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=s.current,t=a.current;if(!e||!t)return;let r=t.getTotalLength();if(t.style.strokeDasharray=`${r}`,t.style.strokeDashoffset=`${r}`,window.matchMedia("(prefers-reduced-motion: reduce)").matches){t.style.strokeDashoffset="0";return}t.style.transition="stroke-dashoffset 1.6s cubic-bezier(0.6, 0, 0.2, 1)";let l=new IntersectionObserver(([e])=>{e.isIntersecting&&(t.style.strokeDashoffset="0",l.disconnect())},{rootMargin:"0px 0px -18% 0px"});return l.observe(e),()=>l.disconnect()},[]),(0,t.jsxs)("div",{ref:s,className:"relative",children:[(0,t.jsx)("svg",{className:"pointer-events-none absolute -inset-4 h-[calc(100%+2rem)] w-[calc(100%+2rem)] sm:-inset-6 sm:h-[calc(100%+3rem)] sm:w-[calc(100%+3rem)]",viewBox:"0 0 100 110",preserveAspectRatio:"none","aria-hidden":"true",children:(0,t.jsx)("path",{ref:a,d:"M2,13 L50,2 L98,13 L98,108 L2,108 L2,13",fill:"none",stroke:"#f5f8fa",strokeWidth:"2",vectorEffect:"non-scaling-stroke",strokeLinejoin:"round"})}),(0,t.jsx)("div",{className:"relative pt-14 sm:pt-16",children:e})]})}])},32276,e=>{"use strict";var t=e.i(43476),r=e.i(71645),s=e.i(95187);let a=(0,s.createServerReference)("60ee78bdafab0eb97ff9afdfbafa570bcbf81bd2b5",s.callServer,void 0,s.findSourceMapURL,"submitLead");var l=e.i(75679),n=e.i(37661);let i="273619749287839820";function o(e){return e.secondary?`${e.street_line} ${e.secondary}`:e.street_line}function d({src:e,dark:s=!1,defaults:a}){let[l,n]=(0,r.useState)(a?.address??""),[c,u]=(0,r.useState)(a?.city??""),[m,h]=(0,r.useState)(a?.zip??""),[p,f]=(0,r.useState)(a?.state??""),[x,b]=(0,r.useState)(!!(a?.address&&a?.city&&a?.zip)),[v,g]=(0,r.useState)(!i),[y,j]=(0,r.useState)(!1),[w,k]=(0,r.useState)(!1),N=v||y,[$,S]=(0,r.useState)([]),[C,_]=(0,r.useState)(!1),[E,R]=(0,r.useState)(-1),L=(0,r.useRef)(null),F=(0,r.useRef)(null),M=(0,r.useRef)(null),z=(0,r.useRef)(null);
1function A(e,t){if(!i||e.trim().length<3){S([]),_(!1);return}z.current?.abort();let r=new AbortController;z.current=r;let s=new URLSearchParams({key:i,search:e,max_results:"8",include_only_states:"MN,WI"});t&&s.set("selected",t),fetch(`https://us-autocomplete-pro.api.smarty.com/lookup?${s.toString()}`,{signal:r.signal}).then(e=>401===e.status||402===e.status?(g(!0),{suggestions:[]}):e.ok?e.json():{suggestions:[]}).then(t=>{let r=t.suggestions??[];S(r),R(-1),_(r.length>0&&document.activeElement===F.current),k(0===r.length&&e.trim().length>=10)}).catch(e=>{e instanceof DOMException&&"AbortError"===e.name||g(!0)})}function T(e){if(e.entries>1){let t=o(e);n(t),A(t,`${o(e)} (${e.entries}) ${e.city} ${e.state} ${e.zipcode}`);return}n(o(e)),u(e.city),f(e.state),h(e.zipcode),b(!0),j(!1),k(!1),S([]),_(!1)}(0,r.useEffect)(()=>{let e=F.current;e&&e.setCustomValidity(N||x?"":"Pick your address from the list so we get the whole address.")},[N,x,l]),(0,r.useEffect)(()=>{function e(e){L.current&&!L.current.contains(e.target)&&_(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,r.useEffect)(()=>{function e(e){let t=e.detail;t&&h(e=>e||t)}return window.addEventListener("rru-prefill-zip",e),()=>window.removeEventListener("rru-prefill-zip",e)},[]);let D=`${e}-address-list`,P=`${e}-address-hint`,O=l.trim().length>=4,I=!N&&!x&&!C&&O;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{ref:L,className:"relative",children:[(0,t.jsx)("label",{className:"field-label",htmlFor:`${e}-address`,children:"Address of the home"}),(0,t.jsx)("input",{ref:F,id:`${e}-address`,name:"address",type:"text",required:!0,autoComplete:"street-address",placeholder:"Start typing, then pick your address",value:l,className:"field",role:"combobox","aria-expanded":C,"aria-autocomplete":"list","aria-controls":D,"aria-describedby":I?P:void 0,onChange:e=>{var t;n(t=e.target.value),x&&(b(!1),u(""),h(""),f("")),k(!1),M.current&&clearTimeout(M.current),M.current=setTimeout(()=>A(t),200)},onKeyDown:function(e){C&&0!==$.length&&("ArrowDown"===e.key?(e.preventDefault(),R(e=>(e+1)%$.length)):"ArrowUp"===e.key?(e.preventDefault(),R(e=>(e-1+$.length)%$.length)):"Enter"===e.key?E>=0&&(e.preventDefault(),T($[E])):"Escape"===e.key&&_(!1))},onFocus:()=>$.length>0&&_(!0)}),C&&$.length>0?(0,t.jsx)("ul",{id:D,role:"listbox",className:"absolute z-30 mt-1 max-h-64 w-full overflow-auto rounded-md border border-hail bg-white shadow-[0_10px_40px_-18px_rgba(40,50,62,0.55)]",children:$.map((e,r)=>{let s;return(0,t.jsx)("li",{role:"option","aria-selected":r===E,onMouseDown:t=>{t.preventDefault(),T(e)},onMouseEnter:()=>R(r),className:`cursor-pointer px-3.5 py-2.5 text-[0.9rem] ${r===E?"bg-frost text-ink":"text-ink"}`,children:(s=`${e.city}, ${e.state} ${e.zipcode}`,e.entries>1?`${o(e)} (${e.entries} units) ${s}`:`${o(e)} ${s}`)},`${e.street_line}-${e.secondary}-${e.zipcode}-${r}`)})}):null,x?(0,t.jsxs)("p",{className:`mt-1.5 text-xs ${s?"text-hail/80":"text-granule"}`,children:[c,", ",p||"MN"," ",m," ",(0,t.jsx)("button",{type:"button",onClick:()=>j(!0),className:"link-chalk font-semibold",children:"Change"})]}):null,I?(0,t.jsx)("p",{id:P,className:`mt-1.5 text-xs ${s?"text-hail/80":"text-granule"}`,children:w?(0,t.jsxs)(t.Fragment,{children:["We could not find that one."," ",(0,t.jsx)("button",{type:"button",onClick:()=>j(!0),className:"link-chalk font-semibold",children:"Enter it myself"})]}):"Pick your address from the list."}):null]}),(0,t.jsx)("input",{type:"hidden",name:"state",value:p}),(0,t.jsx)("input",{type:"hidden",name:"address_verified",value:x?"yes":"no"}),N?(0,t.jsxs)("div",{className:"grid grid-cols-[1.6fr_1fr] gap-3.5",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("label",{className:"field-label",htmlFor:`${e}-city`,children:"City"}),(0,t.jsx)("input",{id:`${e}-city`,name:"city",type:"text",required:!0,autoComplete:"address-level2",placeholder:"Blaine",value:c,onChange:e=>u(e.target.value),className:"field"})]}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("label",{className:"field-label",htmlFor:`${e}-zip`,children:"ZIP"}),(0,t.jsx)("input",{id:`${e}-zip`,name:"zip",type:"text",inputMode:"numeric",pattern:"[0-9]{5}",required:!0,autoComplete:"postal-code",placeholder:"55449",value:m,onChange:e=>h(e.target.value),className:"field"})]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("input",{type:"hidden",name:"city",value:c}),(0,t.jsx)("input",{type:"hidden",name:"zip",value:m})]})]})}var c=e.i(46958),u=e.i(26704);let m=["gclid","gbraid","wbraid","utm_source","utm_medium","utm_campaign","utm_content"],h={};function p(e){let t=e.replace(/\D/g,"").replace(/^1(?=\d{10})/,"").slice(0,10);return t.length<=3?t:t.length<=6?`(${t.slice(0,3)}) ${t.slice(3)}`:`(${t.slice(0,3)}) ${t.slice(3,6)}-${t.slice(6)}`}e.s(["LeadForm",0,function({src:e,variant:s,buttonLabel:i="Get my free inspection",fixedService:o,extraField:f,dark:x=!1,id:b}){let[v,g,y]=(0,r.useActionState)(a,h),j=v.values??{},[w,k]=(0,r.useState)(j.extra||""),[N,$]=(0,r.useState)(p(j.phone||"")),[S,C]=(0,r.useState)({});(0,r.useEffect)(()=>{let e=new URLSearchParams(window.location.search),t={};for(let r of m){let s=e.get(r);s&&(t[r]=s.slice(0,200))}if(Object.keys(t).length){C(t);try{let e=JSON.parse(window.sessionStorage.getItem("rru-attr")||"{}");window.sessionStorage.setItem("rru-attr",JSON.stringify({...t,...e}))}catch{}}},[]);let _=(0,r.useRef)(!1);return(0,t.jsxs)("form",{id:b,action:g,onFocusCapture:()=>{_.current||(_.current=!0,(0,l.trackFormStart)(e))},className:`min-w-0 rounded-md p-5 sm:p-6 ${x?"form-dark bg-storm-deep/60":"bg-white shadow-[0_10px_40px_-18px_rgba(40,50,62,0.35)]"}`,children:[(0,t.jsx)("input",{type:"hidden",name:"src",value:e}),s?(0,t.jsx)("input",{type:"hidden",name:"variant",value:s}):null,Object.entries(S).map(([e,r])=>(0,t.jsx)("input",{type:"hidden",name:`attr_${e}`,value:r},e)),(0,t.jsx)("div",{className:"absolute -left-[9999px]","aria-hidden":"true",children:(0,t.jsxs)("label",{children:["Company website",(0,t.jsx)("input",{type:"text",name:"company_website",tabIndex:-1,autoComplete:"off"})]})}),(0,t.jsxs)("div",{className:"grid gap-3.5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"field-label",htmlFor:`${e}-name`,children:"Name"}),(0,t.jsx)("input",{id:`${e}-name`,name:"name",type:"text",required:!0,autoComplete:"name",placeholder:"First and last name",defaultValue:j.name,className:"field"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"field-label",htmlFor:`${e}-phone`,children:"Phone"}),(0,t.jsx)("input",{id:`${e}-phone`,name:"phone",type:"tel",inputMode:"tel",required:!0,maxLength:14,autoComplete:"tel",placeholder:"(612) 555-0123",value:N,onChange:e=>$(p(e.target.value)),className:"field"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"field-label",htmlFor:`${e}-email`,children:"Email"}),(0,t.jsx)("input",{id:`${e}-email`,name:"email",type:"email",required:!0,autoComplete:"email",placeholder:"[email protected]",defaultValue:j.email,className:"field"})]}),(0,t.jsx)(d,{src:e,dark:x,defaults:{address:j.address,city:j.city,state:j.state,zip:j.zip}}),o?(0,t.jsx)("input",{type:"hidden",name:"service",value:o}):(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"field-label",htmlFor:`${e}-service`,children:"What do you need?"}),(0,t.jsxs)("select",{id:`${e}-service`,name:"service",required:!0,defaultValue:j.service||"",className:"field",children:[(0,t.jsx)("option",{value:"",disabled:!0,children:"Choose one"}),n.SERVICE_OPTIONS.map(e=>(0,t.jsx)("option",{value:e,children:e},e))]})]}),f?(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"field-label",htmlFor:`${e}-extra`,children:[f.label,f.optional?" (optional)":""]}),(0,t.jsx)("input",{type:"hidden",name:"extra_label",value:f.name||f.label}),(0,t.jsxs)("select",{id:`${e}-extra`,name:"extra",required:!f.optional,defaultValue:j.extra||"",onChange:e=>k(e.target.value),className:"field",children:[(0,t.jsx)("option",{value:"",disabled:!f.optional,children:f.optional?"Choose one
1(optional)":"Choose one"}),f.options.map(e=>(0,t.jsx)("option",{value:e,children:e},e))]})]}):null,"Active leak"===w?(0,t.jsxs)("div",{className:`rounded border p-3 text-sm ${x?"border-white/20 text-hail":"border-hail bg-frost text-granule"}`,children:[(0,t.jsx)("p",{className:"font-bold",children:"Active leak right now? Put a bucket under it and stay off the roof."}),(0,t.jsxs)("p",{className:"mt-1",children:["Send the form and we triage it first, or"," ",(0,t.jsx)(c.TelLink,{src:`${e}-leak`,className:"link-chalk font-bold",children:"call us now"}),"."]})]}):null,v.error?(0,t.jsx)("p",{role:"alert",className:"text-sm font-semibold text-chalk-deep",children:v.error}):null,(0,t.jsx)(u.Turnstile,{dark:x,resetKey:v}),(0,t.jsx)("button",{type:"submit",disabled:y,className:"btn btn-chalk w-full disabled:opacity-60",children:y?"Sending...":i}),(0,t.jsx)("p",{className:`text-xs ${x?"text-hail/70":"text-granule"}`,children:"Free inspection, same-day photo report, no obligation. We call back the same business day."})]})]})}],32276)},96199,e=>{"use strict";var t=e.i(43476),r=e.i(71645);e.s(["Reveal",0,function({children:e,className:s,as:a="div"}){let l=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=l.current;if(!e)return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return void e.classList.add("in-view");let t=new IntersectionObserver(r=>{for(let s of r)s.isIntersecting&&(e.classList.add("in-view"),t.disconnect())},{rootMargin:"0px 0px -12% 0px"});return t.observe(e),()=>t.disconnect()},[]),(0,t.jsx)(a,{ref:l,className:s,children:e})}])},26704,e=>{"use strict";e.i(47167);var t=e.i(43476),r=e.i(71645);let s="0x4AAAAAAEwxspfpMzxZ0gll",a=null;e.s(["Turnstile",0,function({dark:e=!1,resetKey:l}){let n=(0,r.useRef)(null),i=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(!s||!n.current)return;let t=!1;return(window.turnstile?Promise.resolve():(!a&&(a=new Promise(e=>{let t=window.onTurnstileLoad;window.onTurnstileLoad=()=>{t?.(),e()};let r=document.createElement("script");r.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit&onload=onTurnstileLoad",r.async=!0,r.defer=!0,document.head.appendChild(r)})),a)).then(()=>{!t&&n.current&&window.turnstile&&(i.current=window.turnstile.render(n.current,{sitekey:s,theme:e?"dark":"light",size:"flexible",appearance:"interaction-only","refresh-expired":"auto"}))}),()=>{if(t=!0,i.current&&window.turnstile){try{window.turnstile.remove(i.current)}catch{}i.current=null}}},[e]);let o=(0,r.useRef)(!0);return(0,r.useEffect)(()=>{if(o.current){o.current=!1;return}if(i.current&&window.turnstile)try{window.turnstile.reset(i.current)}catch{}},[l]),(0,t.jsx)("div",{ref:n,className:"turnstile min-w-0"})}])}]);
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.