PageSourceSearch

https://abodemoney.com/_next/static/chunks/3066-71d0708f650fdb14.js

js abodemoney.com collected 2026-10-04 01:52:02 UTC 51,152 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3066],{93244:function(e,t,l){l.d(t,{d:function(){return r}});var n=l(3827);function r(e){let{policyNumber:t}=e;return(0,n.jsxs)("footer",{className:"w-full pt-10 pb-6 mt-10 border-t border-black/10 flex flex-wrap items-center justify-between gap-4 text-[13px] text-color-text-secondary",children:[(0,n.jsx)("div",{className:"inline-flex items-center gap-2",children:(0,n.jsx)("img",{src:"/images/logo-horizontal.svg",alt:"Abode Money",className:"h-[18px] w-auto"})}),t&&(0,n.jsxs)("span",{className:"text-color-text-tertiary tabular-nums",children:["Policy ",t]})]})}},57694:function(e,t,l){l.d(t,{w:function(){return o}});var n=l(3827),r=l(24900);function o(e){let{lead:t="Your homeowners policy,"}=e;return(0,n.jsxs)("header",{className:"flex flex-col",children:[(0,n.jsxs)("span",{className:"aeonik-display-features self-start inline-flex items-center gap-2.5 rounded-full bg-color-surface-action-alt pl-2.5 pr-3 py-1.5 text-sm font-medium text-color-text-action",children:[(0,n.jsx)("span",{className:"pulse-ring h-[7px] w-[7px] rounded-full bg-color-green-600 animate-pulse motion-reduce:animate-none","aria-hidden":!0}),"Your home insurance, reviewed"]}),(0,n.jsxs)(r.default,{className:"aeonik-display-features mt-3.5 max-w-[1100px] font-medium text-color-text-primary text-[clamp(28px,3.6vw,44px)] leading-[1.08] tracking-[-0.022em] [text-wrap:balance]",children:[t," ",(0,n.jsx)("span",{className:"italic text-color-text-action",children:"in plain English."})]})]})}},72241:function(e,t,l){l.d(t,{p:function(){return i}});var n=l(3827),r=l(75036),o=l(1657),a=l(16062);function i(e){var t,l,o,i;let{summary:u,onSavingsClick:x}=e,m=u.annualPremiumDollars;return(0,n.jsxs)("section",{"aria-label":"Policy summary",className:"rounded-2xl border border-black/10 bg-white px-1.5 py-1 grid items-stretch overflow-hidden grid-cols-2 sm:grid-cols-[1.25fr_1px_1fr_1px_1fr_1px_1.4fr]",children:[(0,n.jsx)(s,{label:"You pay",value:null!=m?(0,n.jsx)(r.ZP,{end:m,duration:1.4,prefix:"$",separator:","}):null!==(t=u.annualPremium)&&void 0!==t?t:"—",suffix:null!=m?"/yr":void 0,children:(0,n.jsx)(d,{savingsAmount:u.savingsAmount,monthlyPremiumDollars:u.monthlyPremiumDollars,onSavingsClick:x})}),(0,n.jsx)(c,{}),(0,n.jsx)(s,{className:"hidden sm:flex",label:"Active since",value:u.effectiveDate?(0,a.p6)(u.effectiveDate):"—",children:null!=u.monthsSinceEffective&&(0,n.jsx)("span",{className:"mt-1.5 text-xs text-color-text-secondary",children:(o=u.monthsSinceEffective)<=0?"Just started":1===o?"Almost 1 month in":"Almost ".concat(o," months in")})}),(0,n.jsx)(c,{}),(0,n.jsx)(s,{className:"border-l border-black/10 sm:border-l-0",label:"Renews",value:u.renewalDate?(0,a.p6)(u.renewalDate):"—",children:null!=u.daysUntilRenewal&&(0,n.jsx)("span",{className:"mt-1.5 inline-flex self-start items-center rounded-full bg-color-yellow-50 px-[9px] py-[3px] text-[11.5px] font-medium text-color-yellow-700",children:(i=u.daysUntilRenewal)<=0?"today":1===i?"tomorrow":"in ".concat(i," days")})}),(0,n.jsx)(c,{}),(0,n.jsx)(s,{className:"hidden sm:flex",label:"Your agent",value:null!==(l=u.carrierName)&&void 0!==l?l:"—",valueClassName:"text-[17px] leading-[1.2]",children:u.carrierPolicyNumber&&(0,n.jsx)("span",{className:"mt-1.5 text-xs text-color-text-secondary",children:u.carrierPolicyNumber})})]})}function s(e){let{label:t,value:l,suffix:r,valueClassName:a,className:i,children:s}=e;return(0,n.jsxs)("div",{className:(0,o.cn)("flex flex-col px-3.5 py-3.5 sm:px-[22px] sm:py-[18px] min-w-0",i),children:[(0,n.jsx)("span",{className:"text-xs font-medium text-color-text-secondary mb-1",children:t}),(0,n.jsxs)("span",{className:(0,o.cn)("font-medium text-color-text-primary text-[22px] leading-[1.15] tracking-[-0.015em] tabular-nums",a),children:[l,r&&(0,n.jsx)("span",{className:"text-sm font-medium text-color-text-secondary ml-[2px]",children:r})]}),s]})}function c(){return(0,n.jsx)("div",{className:"hidden sm:block my-[14px] w-px bg-black/10","aria-hidden":!0})}function d(e){let{savingsAmount:t,monthlyPremiumDollars:l,onSavingsClick:a}=e;return null==t&&null==l?null:(0,n.jsxs)("div",{className:"mt-1.5 flex flex-wrap items-center gap-x-2 gap-y-1 text-xs text-color-text-secondary",children:[null!=l&&(0,n.jsxs)("span",{children:["~",(0,n.jsx)(r.ZP,{end:l,duration:1.4,prefix:"$",separator:","}),"/mo"]}),null!=t&&null!=l&&(0,n.jsx)("span",{children:"\xb7"}),null!=t&&(0,n.jsxs)("button",{type:"button",onClick:a,disabled:!a,className:(0,o.cn)("inline-flex items-center gap-1 rounded-full bg-color-surface-action-alt px-[9px] py-[3px] text-[11.5px] font-medium text-color-text-action transition-colors",a&&"hover:bg-color-moss-100 cursor-pointer",!a&&"cursor-default"),children:[(0,n.jsx)("span",{"aria-hidden":!0,
1children:"↓"}),"Save ",(0,n.jsx)(r.ZP,{end:t,duration:1.4,prefix:"$",separator:","})," with our quote"]})]})}},89281:function(e,t,l){l.d(t,{x:function(){return Y}});var n=l(3827),r=l(64090),o=l(1657),a=l(36994),i=l(35195);function s(e){let{descriptor:t,amountDollars:l,isActive:r,entranceDelaySeconds:s,onMouseEnter:c,onMouseLeave:d,onRequestCall:u,className:x}=e,m=t.icon,p=null!=l,h=null!=s;return(0,n.jsxs)("div",{role:"group","aria-label":"".concat(t.title,": ").concat(t.subtitle),onMouseEnter:c,onMouseLeave:d,style:h?{animationDelay:"".concat(s,"s")}:void 0,className:(0,o.cn)("w-[240px] cursor-pointer select-none bg-white text-color-text-primary","rounded-2xl border border-black/10 px-[18px] pt-4 pb-[18px]","shadow-[0_1px_2px_rgba(0,0,0,.04),0_12px_30px_-12px_rgba(0,0,0,.12)]","will-change-transform transition-[transform,box-shadow,border-color] duration-[250ms] ease-[cubic-bezier(.34,1.56,.64,1)]","motion-reduce:transition-none motion-reduce:transform-none",h&&"animate-card-entrance motion-reduce:animate-none",r&&"-translate-y-[3px] scale-[1.025] !border-color-text-action shadow-[0_0_0_4px_rgba(5,78,4,.08),0_1px_2px_rgba(0,0,0,.04),0_16px_40px_-10px_rgba(0,0,0,.18)]","hover:-translate-y-[3px] hover:scale-[1.025] hover:!border-color-text-action hover:shadow-[0_0_0_4px_rgba(5,78,4,.08),0_1px_2px_rgba(0,0,0,.04),0_16px_40px_-10px_rgba(0,0,0,.18)]",x),children:[(0,n.jsxs)("div",{className:"flex items-start gap-2.5",children:[(0,n.jsx)("span",{className:"mt-[1px] grid h-[22px] w-[22px] flex-none place-items-center rounded-md bg-color-surface-action-alt text-color-text-action",children:(0,n.jsx)(m,{className:"h-[13px] w-[13px]","aria-hidden":!0})}),(0,n.jsxs)("div",{className:"flex min-w-0 flex-col leading-[1.2]",children:[(0,n.jsx)("span",{className:"text-[13px] font-medium text-color-text-secondary",children:t.title}),(0,n.jsx)("span",{className:"mt-[2px] text-[10.5px] font-medium tracking-[0.01em] text-color-text-tertiary",children:t.subtitle})]})]}),p?(0,n.jsx)("div",{className:"mt-[10px] mb-1 text-[32px] font-medium leading-[1.05] tracking-[-0.025em] tabular-nums text-color-text-primary",children:(0,i.xG)(l)}):(0,n.jsxs)("div",{className:"mt-[10px] mb-2 flex items-center justify-center gap-2 rounded-xl border border-color-yellow-200 bg-color-yellow-50 px-3 py-2.5 text-[15px] font-medium text-color-text-primary",children:[(0,n.jsx)(a.Z,{className:"h-4 w-4 flex-none","aria-hidden":!0}),"Coverage gap"]}),(0,n.jsx)("div",{className:"text-sm font-medium leading-[1.35] text-color-text-primary",children:t.shortBlurb}),(0,n.jsxs)("div",{className:"mt-1 text-[12.5px] leading-[1.45] text-color-text-secondary",children:[t.longBlurb,!p&&u&&(0,n.jsxs)(n.Fragment,{children:[" ",(0,n.jsx)("button",{type:"button",onClick:u,className:"inline font-medium text-color-text-action underline decoration-color-text-action/40 underline-offset-2 transition-colors hover:decoration-color-text-action",children:"Request a call to see if this would be valuable."})]})]})]})}var c=l(29733),d=l(18025),u=l(43129);let x="absolute left-1/2 top-[4%] z-10 -translate-x-1/2";function m(e){let{hasCheaperQuote:t,onClick:l,variant:r="desktop"}=e;return t?(0,n.jsx)(f,{onClick:l,variant:r}):(0,n.jsx)(g,{variant:r})}let p={desktop:{pill:"gap-2.5 pl-3.5 pr-[18px] py-[11px] text-sm font-medium",iconWrap:"h-[22px] w-[22px]",icon:"h-3 w-3",copy:{found:"We found a cheaper policy for your house",monitoring:"We're currently monitoring for a cheaper quote"}},compact:{pill:"gap-2 px-3 py-2 text-xs font-medium",iconWrap:"h-[18px] w-[18px]",icon:"h-2.5 w-2.5",copy:{found:"We found a cheaper policy",monitoring:"Monitoring for a cheaper quote"}},mobile:{pill:"gap-2 text-sm font-medium px-6 py-1.5 whitespace-nowrap",iconWrap:"h-[18px] w-[18px]",icon:"h-2.5 w-2.5",copy:{found:"We found a cheaper policy for your house",monitoring:"Monitoring for a cheaper quote"}}},h={desktop:"animate-cta-float motion-reduce:animate-none shadow-[0_1px_2px_rgba(0,0,0,.06),0_18px_40px_-14px_rgba(5,78,4,.55)]",compact:"shadow-md",mobile:"animate-cta-float motion-reduce:animate-none shadow-md"};function f(e){let{onClick:t,variant:l="desktop"}=e,r=p[l];return(0,n.jsxs)("button",{type:"button",onClick:t,"aria-label":"See the cheaper policy we found",className:(0,o.cn)(x,"inline-flex items-center rounded-full bg-color-text-action text-color-text-on-action transition-colors","hover:bg-color-green-900",r.pill,h[l]),children:[(0,n.jsx)("span",{className:(0,o.cn)("grid flex-none place-items-center rounded-full bg-color-text-on-action text-color-text-action",r.iconWrap),children:(0,n.jsx)(c.Z,{className:r.icon,"aria-hidden":!0})}),(0,n.jsx)("span",{className:"font-medium text-white",children:r.copy.found}),"desktop"===l&&(0,n.jsx)(d.Z,{className:"h-3.5 w-3.5","aria-hidden":!0})]})}function g(e){let{variant:t="desktop"}=e,l=p[t];return(0,n.jsxs)("div",{role:"status","aria-live":"polite",className:(0,o.cn)(x,"inline-flex items-center rounded-full border border-color-border-primary bg-white text-color-text-secondary shadow-sm",l.pill),children:[(0,n.jsx)("span",{className:(0,o.cn)("grid flex-none place-items-center rounded-full bg-color-surface-action-alt text-color-text-action",l.iconWrap),children:(0,n.jsx)(u.Z,{className:(0,o.cn)(l.icon,"animate-pulse motion-reduce:animate-none"),"aria-hidden":!0})}),(0,n.jsx)("span",{className:"font-medium text-color-text-primary",children:l.copy.monitoring})]})}var y=l(42527),v=l(83149),b=l(93151),j=l(93193),w=l(77326),N=l(55922);let k=[{key:"DWELLING",badge:"A",icon:y.Z,title:"Your house",subtitle:"Coverage A \xb7 Dwelling",shortBlurb:"If your house burns down, this rebuilds it.",longBlurb:"Walls, roof, foundation, attached garage, decks."},{key:"OTHER_STRUCTURES",badge:"B",icon:v.Z,title:"Garage, shed, fence",subtitle:"Coverage B \xb7 Other Structures",shortBlurb:"Anything not attached to your house.",longBlurb:"Detached garage, fences, sheds, free-standing decks."},{key:"PERSONAL_PROPERTY",badge:"C",icon:b.Z,title:"Your stuff inside",subtitle:"Coverage C \xb7 Personal Property",shortBlurb:"Your belongings, even when they leave the house.",longBlurb:"Furniture, electronics, clothes, the kids' bikes."},{key:"LOSS_OF_USE",badge:"D",icon:j.Z,title:"Hotel & meals",subtitle:"Coverage D \xb7 Loss of Use",shortBlurb:"If your home is unlivable, this pays your hotel.",longBlurb:"Plus meals, laundry, pet boarding while it's rebuilt."},{key:"PERSONAL_LIABILITY",badge:"E",icon:w.Z,title:"If you get sued",subtitle:"Coverage E \xb7 Personal Liability",shortBlurb:"Legal defense and damages, paid for you.",longBlurb:"Dog bite, slip-and-fall lawsuit, kid hits a baseball."},{key:"MEDICAL_PAYMENTS",badge:"F",icon:N.Z,title:"Guest gets hurt",subtitle:"Coverage F \xb7 Medical Payments",shortBlurb:"If a friend trips on your porch.",longBlurb:"Pays 
1small medical bills, no fault required."}],_={DWELLING:{x:220,y:160,label:"A",pulseDelaySeconds:0},OTHER_STRUCTURES:{x:482,y:248,label:"B",pulseDelaySeconds:.3},PERSONAL_PROPERTY:{x:362,y:250,label:"C",pulseDelaySeconds:.6},LOSS_OF_USE:{x:385,y:148,label:"D",pulseDelaySeconds:.9},PERSONAL_LIABILITY:{x:120,y:378,label:"E",pulseDelaySeconds:1.2},MEDICAL_PAYMENTS:{x:280,y:320,label:"F",pulseDelaySeconds:1.5}},S={DWELLING:{d:"M 320,210 C 470,220 600,300 724,353",dotX:724,dotY:353},LOSS_OF_USE:{d:"M 1290,170 C 1140,200 1010,260 918,337",dotX:918,dotY:337},OTHER_STRUCTURES:{d:"M 1290,420 C 1180,430 1080,440 1019,446",dotX:1019,dotY:446},PERSONAL_PROPERTY:{d:"M 1290,720 C 1140,680 1000,560 894,462",dotX:894,dotY:462},MEDICAL_PAYMENTS:{d:"M 800,820 C 800,720 800,640 800,540",dotX:800,dotY:540},PERSONAL_LIABILITY:{d:"M 320,720 C 440,700 540,640 625,587",dotX:625,dotY:587}},E={DWELLING:{kind:"path",d:"M120 200 L280 100 L440 200 L440 360 L120 360 Z"},OTHER_STRUCTURES:{kind:"rect",x:438,y:270,width:92,height:78},PERSONAL_PROPERTY:{kind:"rect",x:160,y:220,width:240,height:135},LOSS_OF_USE:{kind:"path",d:"M100 90 L280 -10 L460 90 L460 360 L100 360 Z"},PERSONAL_LIABILITY:{kind:"rect",x:-40,y:350,width:640,height:60},MEDICAL_PAYMENTS:{kind:"rect",x:248,y:280,width:64,height:80}},L={windowSkyTop:"#DBEDD2",windowSkyBottom:"#B3DB8D",skyTop:"#EFF6E5",skyBottom:"#F5F0EC",sun:"#FCDFA1",doorHighlight:"#0C7109",doorHandle:"#F1C84C",porchStep:"#BBA892",chimneyBrick:"#9E8E7B",chimneyCap:"#675C4F",roofPrimary:"#4E453B",roofShadow:"#352F28",treeFoliageDark:"#556945",treeFoliageMid:"#6B8457",treeTrunk:"#4E453B",wallTrim:"#EAE0D6"},C=Object.keys(S);function P(e){let{activeCov:t}=e;return(0,n.jsx)("g",{children:C.map(e=>{let l=S[e],r=t===e;return(0,n.jsxs)("g",{children:[(0,n.jsx)("path",{d:l.d,fill:"none",stroke:r?"var(--color-green-800)":"var(--color-moss-400)",strokeWidth:r?2.2:1.4,strokeDasharray:"4 6",strokeLinecap:"round",opacity:r?1:.55,className:"coverage-connector-dash transition-all duration-200 motion-reduce:transition-none"}),(0,n.jsx)("circle",{cx:l.dotX,cy:l.dotY,r:3,fill:"var(--color-green-800)",className:"transition-all duration-200",style:r?{filter:"drop-shadow(0 0 6px rgba(5,78,4,.6))"}:void 0})]},e)})})}let R=Object.keys(_);function A(e){let{activeCov:t,onHotspotEnter:l,onHotspotLeave:r}=e;return(0,n.jsx)(n.Fragment,{children:R.map(e=>{let o=_[e],a=t===e;return(0,n.jsxs)("g",{className:"coverage-hotspot-group",onMouseEnter:()=>l(e),onMouseLeave:r,onFocus:()=>l(e),onBlur:r,style:{cursor:"pointer",pointerEvents:"all"},tabIndex:0,role:"button","aria-label":"Coverage ".concat(o.label),children:[(0,n.jsx)("circle",{cx:o.x,cy:o.y,r:13,className:"pin-pulse-ring motion-reduce:animate-none",style:{animationDelay:"".concat(o.pulseDelaySeconds,"s")}}),(0,n.jsx)("circle",{cx:o.x,cy:o.y,r:13,className:"coverage-hotspot-fill","data-active":a,fill:a?"var(--color-green-800)":"var(--color-white-100)",stroke:"var(--color-green-800)",strokeWidth:"2"}),(0,n.jsx)("text",{x:o.x,y:o.y+4,textAnchor:"middle",fontSize:"11",fontWeight:"500",fill:a?"var(--color-moss-100)":"var(--color-text-primary)",style:{pointerEvents:"none",transition:"fill 0.2s ease"},children:o.label})]},e)})})}let D=Object.keys(E);function T(e){let{activeCov:t}=e;return(0,n.jsx)(n.Fragment,{children:D.map(e=>{let l=t===e;return(0,n.jsx)("g",{className:"coverage-zone","data-active":l,fill:"var(--color-green-800)",opacity:l?.14:0,children:(0,n.jsx)(O,{shape:E[e]})},e)})})}function O(e){let{shape:t}=e;return"path"===t.kind?(0,n.jsx)("path",{d:t.d}):(0,n.jsx)("rect",{x:t.x,y:t.y,width:t.width,height:t.height})}function M(){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("ellipse",{cx:"280",cy:"380",rx:"280",ry:"20",fill:"var(--color-green-800)",opacity:"0.07"}),(0,n.jsx)("path",{d:"M-40 360 Q280 340 600 360 L600 460 L-40 460 Z",fill:"var(--color-moss-100)"}),(0,n.jsx)("path",{d:"M-40 372 Q280 356 600 372 L600 460 L-40 460 Z",fill:L.windowSkyBottom}),(0,n.jsx)("ellipse",{cx:"40",cy:"335",rx:"30",ry:"44",fill:L.treeFoliageDark}),(0,n.jsx)("rect",{x:"36",y:"345",width:"8",height:"30",fill:L.treeTrunk}),(0,n.jsx)("ellipse",{cx:"540",cy:"345",rx:"22",ry:"32",fill:L.treeFoliageMid}),(0,n.jsx)("rect",{x:"537",y:"350",width:"6",height:"22",fill:L.treeTrunk}),(0,n.jsx)("rect",{x:"370",y:"118",width:"30",height:"60",fill:L.chimneyBrick}),(0,n.jsx)("rect",{x:"368",y:"115",width:"34",height:"8",fill:L.chimneyCap}),(0,n.jsx)("path",{d:"M120 200 L280 100 L440 200 L420 210 L280 116 L140 210 Z",fill:L.roofPrimary}),(0,n.jsx)("path",{d:"M140 210 L280 116 L420 210 L440 220 L280 130 L120 220 Z",fill:L.roofShadow}),(0,n.jsx)("rect",{x:"138",y:"200",width:"284",height:"160",fill:"#FFFFFF"}),(0,n.jsxs)("g",{stroke:L.wallTrim,strokeWidth:"1",opacity:"0.9",children:[(0,n.jsx)("line",{x1:"138",y1:"240",x2:"422",y2:"240"}),(0,n.jsx)("line",{x1:"138",y1:"280",x2:"422",y2:"280"}),(0,n.jsx)("line",{x1:"138",y1:"320",x2:"422",y2:"320"})]}),(0,n.jsx)("rect",{x:"138",y:"200",width:"284",height:"160",fill:"none",stroke:L.wallTrim,strokeWidth:"1.5"}),(0,n.jsxs)("g",{children:[(0,n.jsx)("rect",{x:"170",y:"226",width:"56",height:"48",fill:"url(#ce-windowSky)",stroke:"var(--color-green-800)",strokeWidth:"2"}),(0,n.jsx)("line",{x1:"198",y1:"226",x2:"198",y2:"274",stroke:"var(--color-green-800)",strokeWidth:"1.5"}),(0,n.jsx)("line",{x1:"170",y1:"250",x2:"226",y2:"250",stroke:"var(--color-green-800)",strokeWidth:"1.5"}),(0,n.jsx)("rect",{x:"334",y:"226",width:"56",height:"48",fill:"url(#ce-windowSky)",stroke:"var(--color-green-800)",strokeWidth:"2"}),(0,n.jsx)("line",{x1:"362",y1:"226",x2:"362",y2:"274",stroke:"var(--color-green-800)",strokeWidth:"1.5"}),(0,n.jsx)("line",{x1:"334",y1:"250",x2:"390",y2:"250",stroke:"var(--color-green-800)",strokeWidth:"1.5"})]}),(0,n.jsx)("rect",{x:"252",y:"280",width:"56",height:"80",fill:"var(--color-green-800)"}),(0,n.jsx)("rect",{x:"258",y:"286",width:"44",height:"40",fill:L.doorHighlight,opacity:"0.5"}),(0,n.jsx)("circle",{cx:"298",cy:"324",r:"2.5",fill:L.doorHandle}),(0,n.jsx)("rect",{x:"238",y:"356",width:"84",height:"6",fill:L.porchStep}),(0,n.jsx)("circle",{cx:"280",cy:"170",r:"10",fill:"var(--color-green-800)",opacity:"0.3"}),(0,n.jsxs)("g",{children:[(0,n.jsx)("path",{d:"M438 270 L482 230 L526 270 L520 274 L482 244 L444 274 Z",fill:L.roofPrimary}),(0,n.jsx)("rect",{x:"442",y:"272",width:"80",height:"76",fill:"#FFFFFF",stroke:L.wallTrim,strokeWidth:"1.5"}),(0,n.jsx)("rect",{x:"450",y:"290",width:"64",height:"50",fill:"url(#ce-windowSky)",stroke:"var(--color-green-800)",strokeWidth:"1.5"}),(0,n.jsx)("line",{x1:"482",y1:"290",x2:"482",y2:"340",stroke:"var(--color-green-800)",strokeWidth:"1.2"}),(0,n.jsx)("line",{x1:"450",y1:"316",x2:"514",y2:"316",stroke:"var(--color-green-800)",strokeWidth:"1.2"})]})]})}function I(e){let{activeCov:t,onHotspotEnter:l,onHotspotLeave:r,className:a}=e;return(0,n.jsxs)("svg",{viewBox:"0 0 ".concat(1600," ").concat(880),preserveAspectRatio:"xMidYMid meet",className:(0,o.cn)("absolute inset-0 h-full w-full",a),style:{pointerEvents:"none"},role:"img","aria-label":"Illustrated house with six coverage hotspots",children:[(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"ce-sky",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,n.jsx)("stop",{offset:"0%",stopColor:L.skyTop}),(0,n.jsx)("stop",{offset:"100%",stopColor:L.skyBottom})]}),(0,n.jsxs)("linearGradient",{id:"ce-windowSky",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,n.jsx)("stop",{offset:"0%",stopColor:L.windowSkyTop}),(0,n.jsx)("stop",{offset:"100%",stopColor:L.windowSkyBottom})]}),(0,n.jsxs)("radialGradient",{id:"ce-sunGlow",cx:"50%",cy:"50%",r:"50%",children:[(0,n.jsx)("stop",{offset:"0%",stopColor:L.sun,stopOpacity:"0.7"}),(0,n.jsx)("stop",{offset:"100%",stopColor:L.sun,stopOpacity:"0"})]})]}),(0,n.jsx)("ellipse",{cx:"800",cy:"500",rx:"650",ry:"280",fill:"url(#ce-sky)",opacity:"0.7"}),(0,n.jsxs)("g",{className:"hidden sm:block",children:[(0,n.jsx)("circle",{cx:"1300",cy:"180",r:"100",fill:"url(#ce-sunGlow)"}),(0,n.jsx)("circle",{cx:"1300",cy:"180",r:"32",fill:L.sun})]}),(0,n.jsxs)("g",{transform:"translate(".concat(520,", ").concat(200,")"),children:[(0,n.jsx)(M,{}),(0,n.jsx)(T,{activeCov:t}),(0,n.jsx)(A,{activeCov:t,onHotspotEnter:l,onHotspotLeave:r})]}),(0,n.jsx)("g",{className:"hidden sm:block",children:(0,n.jsx)(P,{activeCov:t})})]})}let W={DWELLING:"left-[1.5%] top-[14%]",LOSS_OF_USE:"right-[2%] top-[4%]",OTHER_STRUCTURES:"right-[1.5%] top-[36%]",PERSONAL_PROPERTY:"right-[2%] top-[68%]",MEDICAL_PAYMENTS:"left-[39%] top-[86%]",PERSONAL_LIABILITY:"left-[1.5%] top-[65%]"},F=["DWELLING","LOSS_OF_USE","OTHER_STRUCTURES","PERSONAL_PROPERTY","MEDICAL_PAYMENTS","PERSONAL_LIABILITY"].reduce((e,t,l)=>({...e,[t]:.35+.09*l}),{});
1function Y(e){let{coverageAmounts:t,hasCheaperQuote:l,onCheaperPolicyClick:a,onCoverageGapClick:i}=e,[c,d]=(0,r.useState)(null);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"hidden lg:block mx-auto w-full",style:{maxWidth:1216},children:(0,n.jsx)("div",{className:"relative w-full",style:{aspectRatio:"".concat(1216," / ").concat(668),containerType:"inline-size"},children:(0,n.jsxs)("div",{"aria-label":"Coverage map",className:"absolute top-0 left-0 origin-top-left",style:{width:1216,height:668,transform:"scale(min(1, calc(100cqi / ".concat(1216,"px)))")},children:[(0,n.jsx)(I,{activeCov:c,onHotspotEnter:d,onHotspotLeave:()=>d(null)}),(0,n.jsx)(m,{hasCheaperQuote:l,onClick:a}),k.map(e=>{var l;return(0,n.jsx)("div",{className:(0,o.cn)("absolute z-[5]",W[e.key]),children:(0,n.jsx)(s,{descriptor:e,amountDollars:null!==(l=t[e.key])&&void 0!==l?l:null,isActive:c===e.key,entranceDelaySeconds:F[e.key],onMouseEnter:()=>d(e.key),onMouseLeave:()=>d(null),onRequestCall:i})},e.key)})]})})}),(0,n.jsxs)("div",{className:"lg:hidden flex flex-col gap-6",children:[(0,n.jsxs)("div",{className:"relative -mx-4 sm:mx-auto sm:w-full sm:max-w-[720px] aspect-[1600/880] overflow-hidden",children:[(0,n.jsx)(I,{activeCov:c,onHotspotEnter:d,onHotspotLeave:()=>d(null),className:"origin-center scale-[1.9] translate-y-[16px] sm:scale-100 sm:translate-y-0"}),(0,n.jsx)("div",{className:"sm:hidden",children:(0,n.jsx)(m,{hasCheaperQuote:l,onClick:a,variant:"mobile"})}),(0,n.jsx)("div",{className:"hidden sm:block",children:(0,n.jsx)(m,{hasCheaperQuote:l,onClick:a,variant:"compact"})})]}),(0,n.jsx)("div",{className:"sm:hidden -mx-4 flex gap-3 overflow-x-auto snap-x snap-mandatory px-4 pb-2 [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",children:k.map(e=>{var l;return(0,n.jsx)(s,{descriptor:e,amountDollars:null!==(l=t[e.key])&&void 0!==l?l:null,isActive:c===e.key,entranceDelaySeconds:F[e.key],onMouseEnter:()=>d(e.key),onMouseLeave:()=>d(null),onRequestCall:i,className:"snap-start flex-none w-[80%]"},e.key)})}),(0,n.jsx)("div",{className:"hidden sm:grid sm:grid-cols-2 lg:grid-cols-3 gap-4 justify-items-center",children:k.map(e=>{var l;return(0,n.jsx)(s,{descriptor:e,amountDollars:null!==(l=t[e.key])&&void 0!==l?l:null,isActive:c===e.key,entranceDelaySeconds:F[e.key],onMouseEnter:()=>d(e.key),onMouseLeave:()=>d(null),onRequestCall:i,className:"w-full max-w-[280px]"},e.key)})})]})]})}},21699:function(e,t,l){l.d(t,{b:function(){return M},p:function(){return I}});var n=l(3827),r=l(64090),o=l(24900),a=l(274),i=l(35195),s=l(1657);let c=[{value:"save",label:"Pay less"},{value:"upgrade",label:"Get more coverage"}];function d(e){let{mode:t,onChange:l}=e;return(0,n.jsx)("div",{role:"tablist","aria-label":"Better-deal options",className:"inline-flex rounded-full bg-color-surface-secondary p-1",children:c.map(e=>{let r=t===e.value;return(0,n.jsx)("button",{type:"button",role:"tab","aria-selected":r,onClick:()=>l(e.value),className:(0,s.cn)("rounded-full px-4 py-1.5 text-sm font-medium transition-colors",r?"bg-color-text-action text-color-text-on-action shadow-[0_2px_8px_-2px_rgba(5,78,4,.3)]":"text-color-text-secondary hover:text-color-text-primary"),children:e.label},e.value)})})}var u=l(16062);function x(e){let{carrierName:t,premium:l,renewalDate:r}=e;return(0,n.jsxs)("article",{className:"flex flex-col rounded-3xl bg-color-surface-secondary p-9 gap-5",children:[t&&(0,n.jsx)("div",{className:"text-[22px] font-medium leading-none tracking-[-0.012em] text-color-text-secondary",children:t}),(0,n.jsxs)("div",{className:"flex flex-col gap-1",children:[r&&(0,n.jsxs)("span",{className:"text-[11px] font-medium uppercase tracking-[0.08em] text-color-text-tertiary",children:["Renews ",(0,u.p6)(r)]}),(0,n.jsx)("span",{className:"text-[20px] font-medium text-color-text-primary",children:"What you have today"})]}),(0,n.jsxs)("div",{className:"flex items-baseline gap-1.5",children:[(0,n.jsx)("span",{className:"text-[44px] font-medium leading-none tracking-[-0.025em] tabular-nums text-color-text-secondary",children:l}),(0,n.jsx)("span",{className:"text-[20px] text-color-text-tertiary",children:"/yr"})]})]})}var m=l(10775),p=l(29733),h=l(80037),f=l(23441),g=l(18025);function y(e){let{rows:t}=e,[l,o]=(0,r.useState)(!1);return(0,n.jsxs)("div",{className:"border-t border-black/5 pt-3",children:[(0,n.jsxs)("button",{type:"button","aria-expanded":l,onClick:()=>o(e=>!e),className:"flex w-full items-center justify-between text-base font-medium text-color-text-action hover:opacity-80",children:[(0,n.jsx)("span",{children:"See coverage details"}),(0,n.jsx)(f.Z,{className:(0,s.cn)("h-5 w-5 transition-transform",l&&"rotate-180"),"aria-hidden":!0})]}),l&&(0,n.jsx)("ul",{className:"mt-3 flex flex-col",children:t.map((e,t)=>(0,n.jsxs)("li",{className:"grid grid-cols-[1fr_auto] items-center gap-3 py-2.5 border-b border-black/5 last:border-b-0 text-sm",children:[(0,n.jsx)("span",{className:"text-color-text-secondary",children:e.label}),(0,n.jsx)(v,{row:e})]},"".concat(e.label,"-").concat(t)))})]})}function v(e){let{row:t}=e,l=(0,s.cn)("font-medium tabular-nums","better"===t.improvement?"text-color-text-action":"text-color-text-primary");return"—"!==t.currentValue&&"—"!==t.proposedValue?(0,n.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,n.jsx)("span",{className:"font-medium tabular-nums text-color-text-tertiary",children:t.currentValue}),(0,n.jsx)(g.Z,{className:"h-3.5 w-3.5 text-color-text-tertiary","aria-hidden":!0}),(0,n.jsx)("span",{className:l,children:t.proposedValue})]}):(0,n.jsx)("span",{className:l,children:t.proposedValue})}var b=l(79580),j=l(85904),w=l(77252),N=l(35216),k=l(40070),_=l(83355);let S="abode.insurance.matic-consent.v1";function E(e){let{state:t,callStatus:l,onRequestCall:o}=e,a=(null==t?void 0:t.trim().toUpperCase())||null,{optInMaticContact:i}=(0,r.useContext)(k.InsuranceContext);if("confirmed"===l)return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(L,{stateCode:a}),(0,n.jsx)(A,{})]});let c="preparing"===l;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(L,{stateCode:a}),(0,n.jsxs)("button",{type:"button",onClick:()=>{!function(){try{window.localStorage.setItem(S,"1")}catch(e){}}(),function(){try{return"1"===window.localStorage.getItem(S)}catch(e){return!1}}()&&Promise.resolve(null==i?void 0:i()).catch(()=>{}),o()}
1,disabled:c,className:(0,s.cn)("bp-cta inline-flex h-14 items-center justify-center gap-2 rounded-xl bg-color-text-action px-6 text-base font-semibold text-color-text-on-action","hover:bg-color-green-900 transition-colors","disabled:opacity-70 disabled:cursor-not-allowed"),children:["Request a call",c?(0,n.jsx)(b.Z,{className:"h-4 w-4 animate-spin","aria-hidden":!0}):(0,n.jsx)(g.Z,{className:"bp-cta-arrow h-4 w-4","aria-hidden":!0})]}),"failed"===l&&(0,n.jsx)("p",{role:"alert",className:"text-xs text-color-text-secondary -mt-3 text-center",children:"We couldn't reach Matic just now. Tap again to retry."}),(0,n.jsx)(R,{}),(0,n.jsx)(_.k,{className:"!text-[11.5px] !text-color-text-tertiary text-center"})]})}function L(e){let{stateCode:t}=e;return(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)("span",{className:"flex h-11 w-11 flex-none items-center justify-center rounded-full bg-color-surface-action-alt ring-2 ring-white","aria-hidden":!0,children:(0,n.jsx)(j.Z,{className:"h-5 w-5 text-color-text-action",strokeWidth:2})}),(0,n.jsxs)("div",{className:"flex flex-col leading-tight",children:[(0,n.jsx)("span",{className:"text-sm font-medium text-color-text-primary",children:t?"Licensed broker in ".concat(t):"Licensed broker"}),(0,n.jsx)("span",{className:"text-xs text-color-text-secondary",children:"5-min call \xb7 Within 24 hours"})]}),(0,n.jsx)(C,{})]})}function C(){return(0,n.jsxs)(N.J2,{children:[(0,n.jsx)(N.xo,{asChild:!0,children:(0,n.jsx)("button",{type:"button","aria-label":"Why the next step is a call",className:"ml-auto flex h-7 w-7 flex-none items-center justify-center rounded-full text-color-text-secondary transition-colors hover:bg-black/5 hover:text-color-text-action focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-color-text-action",children:(0,n.jsx)(w.Z,{className:"h-[18px] w-[18px]",strokeWidth:2,"aria-hidden":!0})})}),(0,n.jsxs)(N.yk,{align:"end",className:"w-[320px] p-4 text-left",children:[(0,n.jsx)("h4",{className:"text-sm font-medium text-color-text-primary",children:"Why the next step is a quick call"}),(0,n.jsx)("ul",{className:"mt-2.5 flex flex-col gap-2 text-[13px] leading-[1.5] text-color-text-secondary",children:["This quote is built from what your current carrier shared with us. A licensed agent confirms the details are right for your home before anything is final.","They check for discounts your current policy may be missing, which can move the number again.","If you switch, they cancel your old policy and line up the start date so you are never uninsured for a day."].map(e=>(0,n.jsxs)("li",{className:"flex gap-2",children:[(0,n.jsx)("span",{className:"mt-[6px] h-1.5 w-1.5 flex-none rounded-full bg-color-green-600","aria-hidden":!0}),(0,n.jsx)("span",{children:e})]},e))}),(0,n.jsx)("p",{className:"mt-3 text-[11.5px] leading-relaxed text-color-text-tertiary",children:"Nothing changes unless you say so. You can end the call without switching."})]})]})}let P=["Always free","No commitment","Switch only if it's right"];function R(){return(0,n.jsx)("div",{className:"flex flex-wrap items-center justify-center gap-x-5 gap-y-2 text-xs text-color-text-secondary",children:P.map(e=>(0,n.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,n.jsx)(h.Z,{className:"h-3 w-3 text-color-text-action","aria-hidden":!0,strokeWidth:3}),e]},e))})}function A(){return(0,n.jsxs)("div",{role:"status","aria-live":"polite",className:"flex items-center gap-3 rounded-2xl bg-color-text-action px-4 py-4 text-color-text-on-action",children:[(0,n.jsx)("span",{className:"grid h-8 w-8 flex-none place-items-center rounded-full bg-color-text-on-action text-color-text-action",children:(0,n.jsx)(h.Z,{className:"h-4 w-4","aria-hidden":!0,strokeWidth:3})}),(0,n.jsxs)("div",{className:"flex flex-col leading-tight",children:[(0,n.jsx)("span",{className:"text-base font-medium",children:"A representative from Matic will call you within 24 hours."}),(0,n.jsx)("span",{className:"text-[12.5px] opacity-80",children:"We've saved your selection. No further action needed."})]})]})}let D={save:{headline:"Same protection, lower bill",pillPrefix:"Save",pillSuffix:"a year"},upgrade:{headline:"More protection, similar bill",pillPrefix:"+",pillSuffix:"in coverage"}};function T(e){let{mode:t,quote:l,premiumDisplay:r,highlightDollars:o,rows:a,state:s,callStatus:c,onRequestCall:d}=e,{carrier:u}=l,x=D[t],f="save"===t?m.Z:p.Z;return(0,n.jsxs)("article",{className:"relative flex flex-col rounded-3xl border border-color-moss-200 bg-color-surface-action-alt p-9 pt-12 gap-6 shadow-[0_1px_2px_rgba(0,0,0,.05),0_30px_60px_-16px_rgba(5,78,4,.32),0_12px_24px_-8px_rgba(5,78,4,.18),-14px_16px_36px_-12px_rgba(5,78,4,.20)]",children:[(0,n.jsxs)("span",{className:"bp-best-match-badge absolute -top-4 left-6 inline-flex items-center gap-1.5 rounded-full bg-color-text-action px-3.5 py-1.5 text-[13px] font-medium text-color-text-on-action shadow-[0_10px_24px_-8px_rgba(5,78,4,.55),0_2px_4px_rgba(5,78,4,.20)]",children:[(0,n.jsx)(h.Z,{className:"h-3 w-3","aria-hidden":!0,strokeWidth:3}),"Best match for you"]}),u.logo?(0,n.jsx)("img",{src:u.logo,alt:u.name,className:"h-[30px] w-auto self-start object-contain"}):(0,n.jsx)("div",{className:"text-[26px] font-bold italic tracking-[-0.02em] text-color-text-primary",children:u.name}),(0,n.jsx)("h3",{className:"text-[28px] font-medium leading-[1.2] tracking-[-0.015em] text-color-text-primary",children:x.headline}),(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-x-4 gap-y-3",children:[(0,n.jsxs)("div",{className:"flex items-baseline gap-1.5",children:[(0,n.jsx)("span",{className:"text-[56px] font-medium leading-none tracking-[-0.025em] tabular-nums text-color-text-primary",children:r}),(0,n.jsx)("span",{className:"text-base text-color-text-secondary",children:"/yr"})]}),(0,n.jsxs)("span",{className:"bp-savings-breathe inline-flex items-center gap-1.5 rounded-full bg-color-text-action px-3.5 py-2 text-sm font-medium text-color-text-on-action shadow-[0_1px_2px_rgba(0,0,0,.05),0_6px_16px_-6px_rgba(5,78,4,.35)]",children:[(0,n.jsx)(f,{className:"h-3.5 w-3.5","aria-hidden":!0}),x.pillPrefix," ",(0,n.jsx)("span",{className:"text-white tabular-nums",children:(0,i.xG)(o)})," ",x.pillSuffix]})]}),(0,n.jsx)(y,{rows:a}),(0,n.jsx)(E,{state:s,callStatus:c,onRequestCall:d})]})}var O=l(57015);let M="better-policy-section";function I(e){var t;let{address:l,state:s,activePolicy:c,todayPremium:u,renewalDate:m,carrierName:p,scenarios:h,savingsAmount:f,callStatus:g,onRequestCall:y}=e,v=null!=h.save&&null!=f,b=null!=h.upgrade,[j,w]=(0,r.useState)(v?"save":"upgrade");if(!u||!v&&!b)return null;let N="save"!==j||v?"upgrade"!==j||b?j:"save":"upgrade",k="save"===N?h.save:h.upgrade;if(!k)return null;let _=(0,O.PP)(c,k),S=null!==(t=k.premium)&&void 0!==t?t:null,E="save"===N?null!=f?f:0:(0,O.zg)(c,k);return(0,n.jsxs)("section",{id:M,"aria-label":"Better policy options",className:"flex flex-col gap-8",children:[(0,n.jsxs)("header",{className:"flex flex-wrap items-end justify-between gap-4",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-3 max-w-[760px]",children:[(0,n.jsxs)("span",{className:"aeonik-display-features self-start inl
1ine-flex items-center gap-2.5 rounded-full bg-color-surface-action-alt pl-2.5 pr-3 py-1.5 text-sm font-medium text-color-text-action",children:[(0,n.jsx)("span",{className:"pulse-ring h-[7px] w-[7px] rounded-full bg-color-green-600 animate-pulse motion-reduce:animate-none","aria-hidden":!0}),function(e){let t=(null==e?void 0:e.trim())?e:"your home";return"We checked ".concat(function(e){let t=(null==e?void 0:e.trim())||"default",l=0;for(let e=0;e<t.length;e++)l=(l<<5)-l+t.charCodeAt(e)|0;return 300+Math.abs(l)%51}(e)," carriers for ").concat(t)}(l)]}),(0,n.jsxs)(o.default,{className:"aeonik-display-features font-medium text-color-text-primary text-[clamp(32px,4vw,48px)] leading-[1.08] tracking-[-0.022em]",children:["We've found you a ",(0,n.jsx)("span",{className:"italic text-color-text-action",children:"better quote."})]}),(0,n.jsx)(a.n,{customClass:"!text-[17px] !leading-[1.55] font-normal text-color-text-secondary ml-0 text-left",children:"We've shopped every possible policy. Here are the better options we found just for you:"})]}),v&&b&&(0,n.jsx)(d,{mode:N,onChange:w})]}),(0,n.jsxs)("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-[0.92fr_1.12fr] lg:items-start lg:gap-0 lg:pt-6",children:[(0,n.jsx)("div",{className:"lg:z-[1] lg:translate-x-7",children:(0,n.jsx)(x,{carrierName:p,premium:u,renewalDate:m})}),(0,n.jsx)("div",{className:"lg:z-[2] lg:-translate-x-7 lg:-translate-y-2.5",children:(0,n.jsx)(T,{mode:N,quote:k,premiumDisplay:null!=S?(0,i.xG)(S):"—",highlightDollars:E,rows:_,state:s,callStatus:g,onRequestCall:()=>y(k.gid)})})]})]})}},57015:function(e,t,l){l.d(t,{PP:function(){return d},_K:function(){return s},dn:function(){return i},zg:function(){return c}});var n=l(35195),r=l(84084),o=l(49159);let a=[{label:"House",matic:"dwelling",canopy:"DWELLING"},{label:"Stuff inside",matic:"personal_property",canopy:"PERSONAL_PROPERTY"},{label:"If you're sued",matic:"personal_liability",canopy:"PERSONAL_LIABILITY"}];function i(e){var t,l,n;let r=null!==(t=null==e?void 0:e.quotes)&&void 0!==t?t:[];if(!r.length)return null;let o=x(null!==(l=null==e?void 0:e.insurancePolicy)&&void 0!==l?l:null,"DWELLING"),a=r.filter(e=>{let t=m(e,"dwelling");return null==o||null==t||t>=.95*o});return null!==(n=[...a.length?a:r].sort((e,t)=>{var l,n;return(null!==(l=e.premium)&&void 0!==l?l:1/0)-(null!==(n=t.premium)&&void 0!==n?n:1/0)})[0])&&void 0!==n?n:null}function s(e,t){var l,n,r;let a=null!==(n=null==e?void 0:e.quotes)&&void 0!==n?n:[];if(!a.length)return null;let i=x(t,"DWELLING"),s=null==t?void 0:t.totalPremium,d="number"==typeof s&&s>0?s/100:null;if(null==i||null==d)return null;let u=a.filter(e=>{let t=m(e,"dwelling");return null!=t&&"number"==typeof e.premium&&!(e.premium<=0)&&!(t<1.1*i)&&e.premium<=d*o.lG});if(!u.length)return null;let p=u.map(e=>({quote:e,score:c(t,e)}));return p.sort((e,t)=>{var l,n;return t.score!==e.score?t.score-e.score:(null!==(l=e.quote.premium)&&void 0!==l?l:1/0)-(null!==(n=t.quote.premium)&&void 0!==n?n:1/0)}),null!==(r=null===(l=p[0])||void 0===l?void 0:l.quote)&&void 0!==r?r:null}function c(e,t){return(0,o.fT)(null!=e?e:void 0,t.coverages).reduce((e,t)=>e+t.deltaDollars,0)}function d(e,t){let l=[];for(let n of a){let r=x(e,n.canopy),o=m(t,n.matic);u(l,n.label,r,o,"higher-is-better")}let n=(0,r.l)(e);return u(l,"Wind & hail deductible",n.windHail,p(t,"wind_hail"),"lower-is-better"),u(l,"Other deductible",n.other,p(t,"dwelling"),"lower-is-better"),l}function u(e,t,l,n,r){(null!=l||null!=n)&&e.push({label:t,currentValue:h(l),proposedValue:h(n),improvement:function(e,t,l){if(null==e||null==t||e===t)return"same";let n=t>e;return"higher-is-better"===l?n?"better":"worse":n?"worse":"better"}(l,n,r)})}function x(e,t){var l,n,r,o;let a=null===(r=(null!==(o=null==e?void 0:null===(n=e.dwellings)||void 0===n?void 0:null===(l=n[0])||void 0===l?void 0:l.coverages)&&void 0!==o?o:[]).find(e=>e.name===t))||void 0===r?void 0:r.per_incident_limit_cents;return"number"==typeof a&&a>0?a/100:null}function m(e,t){var l;let n=null===(l=e.coverages)||void 0===l?void 0:l.find(e=>e.key===t);return"number"==typeof(null==n?void 0:n.limit_value)&&n.limit_value>0?n.limit_value:null}function p(e,t){var l;let n=null===(l=e.coverages)||void 0===l?void 0:l.find(e=>e.key===t);return"number"==typeof(null==n?void 0:n.deductible_value)&&n.deductible_value>0?n.deductible_value:null}function h(e){return null==e?"—":(0,n.xG)(e)}},74178:function(e,t,l){l.d(t,{Q:function(){return o},R:function(){return a}});var n=l(57015),r=l(89001);function o(e,t){let l=(0,r.$)(null!=e?e:null),o="number"==typeof(null==l?void 0:l.totalPremium)&&l.totalPremium>0?l.totalPremium:null,a=(0,n.dn)(null!=t?t:null);if(null==o||!(null==a?void 0:a.premium))return null;let i=o/100-a.premium;return i>0?Math.round(i):null}function a(e,t){let l=(0,r.$)(null!=e?e:null),o="number"==typeof(null==l?void 0:l.totalPremium)&&l.totalPremium>0?l.totalPremium:null,a=(0,n.dn)(null!=t?t:null);if(null==o||!(null==a?void 0:a.premium)||!a.gid)return{savings:null,quoteGid:null};let i=o/100-a.premium;return i>0?{savings:Math.round(i),quoteGid:a.gid}:{savings:null,quoteGid:null}}},63175:function(e,t,l){l.d(t,{i:function(){return m}});var n=l(3827),r=l(24900),o=l(274),a=l(84084),i=l(35195),s=l(1657);function c(e){let{title:t,subtitle:l,children:r,className:o}=e;return(0,n.jsxs)("article",{className:(0,s.cn)("rounded-2xl border border-black/10 bg-white px-7 py-7 transition-shadow duration-200","hover:shadow-[0_1px_2px_rgba(0,0,0,.04),0_12px_28px_-10px_rgba(0,0,0,.10)]",o),children:[(0,n.jsx)("h3",{className:"mb-1.5 text-lg font-medium tracking-[-0.01em] text-color-text-primary",children:t}),l&&(0,n.jsx)("p",{className:"mb-[18px] text-[13.5px] leading-[1.5] text-color-text-secondary",children:l}),r]})}function d(e){let{deductibles:t}=e,l=[];
1return(null!=t.windHail&&l.push({key:"wind-hail",name:"A storm damages your home",desc:"Wind, hail, hurricane: about 1% of your house's value.",amount:t.windHail}),null!=t.other&&l.push({key:"other",name:"Anything else",desc:"Fire, theft, water damage, vandalism, lawsuits.",amount:t.other}),0===l.length)?null:(0,n.jsx)(c,{title:"What you'd pay first",subtitle:"Your deductible is the amount you cover before insurance kicks in.",children:(0,n.jsx)("ul",{className:"flex flex-col gap-2.5",children:l.map(e=>(0,n.jsxs)("li",{className:"flex items-center justify-between rounded-xl bg-color-surface-secondary px-4 py-3.5",children:[(0,n.jsxs)("div",{className:"min-w-0",children:[(0,n.jsx)("div",{className:"text-sm font-medium text-color-text-primary",children:e.name}),(0,n.jsx)("div",{className:"mt-0.5 text-[12.5px] text-color-text-secondary",children:e.desc})]}),(0,n.jsx)("span",{className:"text-lg font-medium tabular-nums text-color-text-primary",children:(0,i.xG)(e.amount)})]},e.key))})})}var u=l(70094);function x(e){let{items:t}=e;return 0===t.length?null:(0,n.jsx)(c,{title:"Common questions, answered for you",subtitle:"Pre-filled with your actual coverage limits.",children:(0,n.jsx)("ul",{className:"flex flex-col",children:t.map(e=>(0,n.jsx)("li",{className:"border-b border-black/10 last:border-b-0 last:pb-0",children:(0,n.jsxs)("details",{className:"group cursor-pointer py-3.5",children:[(0,n.jsxs)("summary",{className:"flex list-none items-start justify-between gap-3 text-[14.5px] font-medium leading-[1.4] text-color-text-primary marker:hidden [&::-webkit-details-marker]:hidden",children:[(0,n.jsx)("span",{children:e.question}),(0,n.jsx)("span",{className:"grid h-5 w-5 flex-none place-items-center rounded-full bg-color-surface-action-alt text-color-text-action transition-transform duration-200 group-open:rotate-45",children:(0,n.jsx)(u.Z,{className:"h-[11px] w-[11px]",strokeWidth:3,"aria-hidden":!0})})]}),(0,n.jsx)("p",{className:"pt-2.5 text-[13.5px] leading-[1.55] text-color-text-secondary",children:e.answer})]})},e.question))})})}function m(e){let{activePolicy:t,coverageAmounts:l,savingsAmount:s}=e,c=(0,a.l)(t),u=null!=c.windHail||null!=c.other,m=function(e){let{coverageAmounts:t,deductibles:l,savingsAmount:n}=e,r=[];if(null!=l.other&&null!=t.DWELLING){let e=null!=t.OTHER_STRUCTURES?" If it took out your fence too, that's covered separately under your ".concat((0,i.xG)(t.OTHER_STRUCTURES)," garage-and-shed coverage."):"";r.push({question:"If a tree falls on my house, what does it cost me?",answer:"".concat((0,i.xG)(l.other),": that's your deductible. After that, your ").concat((0,i.xG)(t.DWELLING)," House coverage rebuilds whatever the tree damaged.").concat(e)})}if(null!=t.PERSONAL_PROPERTY&&null!=l.other&&r.push({question:"Is my laptop covered if it gets stolen on a trip?",answer:"Yes. Your stuff is covered anywhere in the world up to ".concat((0,i.xG)(t.P
1ERSONAL_PROPERTY)," total. Most policies cap a single item at $1,500 unless you list it separately. After your ").concat((0,i.xG)(l.other)," deductible, you're paid back the rest.")}),null!=t.LOSS_OF_USE){let e=Math.round(t.LOSS_OF_USE/6);r.push({question:"If my house burns down, where do we live?",answer:"Your ".concat((0,i.xG)(t.LOSS_OF_USE)," hotel-and-meals coverage pays for somewhere to live during the rebuild. A ").concat(6,"-month rebuild leaves about ").concat((0,i.xG)(e),"/month for rent, food, laundry, and pet boarding.")})}if(null!=n&&r.push({question:"Can I be paying less?",answer:"Yes: see the comparison above. We found a policy that saves you ".concat((0,i.xG)(n)," a year. Switching takes about 10 minutes with a broker.")}),null!=l.windHail&&null!=l.dwellingValue&&l.dwellingValue>0){let e=Math.round(l.windHail/l.dwellingValue*100);r.push({question:"Why is the wind/hail deductible so much higher?",answer:"It's a separate, percentage-based deductible (1 to 2% of your house's value) that only applies to wind, hurricane, and hail. Yours is roughly ".concat(e,"% of ").concat((0,i.xG)(l.dwellingValue)," = ").concat((0,i.xG)(l.windHail),". Insurers do this to share storm risk with homeowners.")})}return r}({coverageAmounts:l,deductibles:c,savingsAmount:s});return u||0!==m.length?(0,n.jsxs)("section",{"aria-label":"Policy fine print",className:"flex flex-col gap-10",children:[(0,n.jsxs)("header",{className:"flex flex-col gap-2.5",children:[(0,n.jsx)(r.default,{className:"aeonik-display-features font-medium text-color-text-primary text-[clamp(28px,3.5vw,42px)] leading-[1.1] tracking-[-0.022em]",children:"The fine print, made clear."}),(0,n.jsx)(o.n,{customClass:"!text-base !leading-[1.55] font-normal text-color-text-secondary ml-0 text-left max-w-[640px]",children:"What you'd pay first if something happened, and answers to the questions homeowners actually ask."})]}),(0,n.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-[1fr_1.4fr] gap-5",children:[u&&(0,n.jsx)(d,{deductibles:c}),m.length>0&&(0,n.jsx)(x,{items:m})]})]}):null}},89001:function(e,t,l){function n(e){var t,l,n;if(!(null==e?void 0:e.length))return null;let r=[...e].sort((e,t)=>{let l=e.createdAt?new Date(e.createdAt).getTime():0;return(t.createdAt?new Date(t.createdAt).getTime():0)-l});return null!==(n=null!==(l=null!==(t=r.find(e=>"ACTIVE"===e.status&&"HOMEOWNERS"===e.type))&&void 0!==t?t:r.find(e=>"HOMEOWNERS"===e.type))&&void 0!==l?l:r[0])&&void 0!==n?n:null}function r(e){var t,l,n;let r=null!==(n=null==e?void 0:null===(l=e.dwellings)||void 0===l?void 0:null===(t=l[0])||void 0===t?void 0:t.coverages)&&void 0!==n?n:[],o={};for(let e of r){if("string"!=typeof e.name)continue;let t=e.per_incident_limit_cents;"number"!=typeof t||t<=0||(o[e.name]=t/100)}return o}l.d(t,{$:function(){return n},S:function(){return r}})},84084:function(e,t,l){l.d(t,{l:function(){return o}});let n=["WINDSTORM_OR_HAIL","HURRICANE","NAMED_STORM"],r=["ALL_OTHER_PERILS","ALL_PERILS"];function o(e){var t,l;let o=null==e?void 0:null===(t=e.dwellings)||void 0===t?void 0:t[0],s="number"==typeof(null==o?void 0:o.replacement_cost_cents)&&o.replacement_cost_cents>0?o.replacement_cost_cents/100:null,c=null!==(l=null==o?void 0:o.coverages)&&void 0!==l?l:[],d=a(c,n,s),u=a(c,r,s),x=null!=u?u:function(e,t,l){let n=new Set(t),r=e.find(e=>e.name&&!n.has(e.name)&&("number"==typeof e.deductible_cents&&e.deductible_cents>0||"number"==typeof e.deductible_percent));return r?i(r,l):null}(c,n,s);return{windHail:d,other:null!=x?x:function(e){let t=null==e?void 0:e.deductible_cents;return"number"==typeof t&&t>0?t/100:null}(e),dwellingValue:s}}function a(e,t,l){for(let n of t){let t=e.find(e=>e.name===n),r=t?i(t,l):null;if(null!=r)return r}return null}function i(e,t){return"number"==typeof e.deductible_cents&&e.deductible_cents>0?e.deductible_cents/100:"number"==typeof e.deductible_percent&&null!=t?Math.round(e.deductible_percent/100*t):null}},16552:function(e,t,l){l.d(t,{N:function(){return x}});var n=l(64090),r=l(40070),o=l(66012),a=l(35195),i=l(49159),s=l(16062),c=l(74178),d=l(57015),u=l(89001);function x(){var e;let{connectionStatus:t,insurancePolicies:l,maticProfile:x,reviewData:m,loadMaticProfile:p,listInsurancePolicies:h,createMaticProfile:f,getMaticQuotes:g}=(0,n.useContext)(r.InsuranceContext),y=!l,v=(0,n.useMemo)(()=>(0,u.$)(l),[l]),b=(0,n.useMemo)(()=>(0,u.S)(v),[v]),j=Object.keys(b).length>0,w=!!x&&!x.quotesCreatedAt;(0,o.x)({enabled:!!(null==t?void 0:t.connected)&&(!(null==t?void 0:null===(e=t.documents)||void 0===e?void 0:e.length)||!j||w),stopOnDocsArrived:!1,onDocsArrived:()=>{h(),p()},onTick:e=>{var t,l;(null!==(l=null==e?void 0:null===(t=e.documents)||void 0===t?void 0:t.length)&&void 0!==l?l:0)>0&&!j&&h(),w&&p()}});let N=!!x&&!!(null==v?void 0:v.id)&&x.insurancePolicyId!==v.id,[k,_]=(0,n.use
1State)(!1);(0,n.useEffect)(()=>{!k&&(null==t?void 0:t.connected)&&(!x||N)&&(_(!0),(async()=>{try{await f(void 0,{forceRefresh:N})}catch(e){}})())},[k,null==t?void 0:t.connected,x,N,f]);let S=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=null==x?void 0:x.candidateGid;e&&(null==x||!x.quotesCreatedAt)&&S.current!==e&&(S.current=e,(async()=>{try{await g(e),await p()}catch(e){}})())},[null==x?void 0:x.candidateGid,null==x?void 0:x.quotesCreatedAt,g,p]);let E=(0,n.useMemo)(()=>(0,i.sX)({maticProfile:x,reviewData:m}),[x,m]),L=(0,n.useMemo)(()=>(function(e,t,l,n){var r,o,i;let d="number"==typeof(null==e?void 0:e.totalPremium)&&e.totalPremium>0?e.totalPremium:null,u=null!=d?Math.round(d/100):null,x=null!=u?Math.round(u/12):null,m=null!=u?(0,a.xG)(u):t.annualPremium,p=(null==e?void 0:e.effectiveDate)?new Date(e.effectiveDate):null,h=(null==e?void 0:e.renewalDate)?new Date(e.renewalDate):(null==e?void 0:e.expirationDate)?new Date(e.expirationDate):null,f=(0,s.h$)(),g=p?Math.max(0,Math.floor((0,s.Ti)(p,f)/30)):null,y=h?Math.max(0,(0,s.Ti)(f,h)):null,v=(0,c.Q)(l,n);return{annualPremium:m,annualPremiumDollars:u,monthlyPremiumDollars:x,effectiveDate:p,renewalDate:h,monthsSinceEffective:g,daysUntilRenewal:y,carrierName:null!==(o=null!==(r=null==e?void 0:e.carrierName)&&void 0!==r?r:t.provider)&&void 0!==o?o:null,carrierPolicyNumber:null!==(i=null==e?void 0:e.carrierPolicyNumber)&&void 0!==i?i:null,savingsAmount:v}})(v,E,l,x),[v,E,l,x]),C=(0,n.useMemo)(()=>({save:(0,d.dn)(x),upgrade:(0,d._K)(x,v)}),[x,v]),P=y&&!v;return{aiReview:null,activePolicy:v,coverageAmounts:b,hasAnyCoverage:j,summary:L,quoteScenarios:C,isLoading:P}}},33966:function(e,t,l){l.d(t,{u:function(){return r}});var n=l(64090);function r(){(0,n.useEffect)(()=>{window.scrollTo({top:0,left:0,behavior:"auto"})},[])}},41633:function(e,t,l){l.d(t,{O:function(){return i}});var n=l(64090),r=l(40070),o=l(93248);let a="abode.insurance.request-a-call.v1:";function i(){var e;let{selectQuote:t,optInMaticContact:l,maticProfile:i}=(0,n.useContext)(r.InsuranceContext),[s,c]=(0,n.useState)("idle"),d=(0,n.useRef)("idle"),u=(0,n.useCallback)(e=>{d.current=e,c(e)},[]),x=null!==(e=null==i?void 0:i.id)&&void 0!==e?e:null,m=(0,n.useRef)(null);return(0,n.useEffect)(()=>{m.current!==x&&(m.current=x,"preparing"!==d.current&&u(!function(e){if(!e)return!1;try{return!!window.localStorage.getItem(a+e)}catch(e){return!1}}(x)?"idle":"confirmed"))},[x,u]),{requestCall:(0,n.useCallback)(async e=>{if("preparing"===d.current||"confirmed"===d.current)return!1;try{(0,o.L9)(o.os.QuoteSelected,{candidateGid:e,source:"coverage-explorer.request-call"})}catch(e){}u("preparing");let[n,r]=await Promise.allSettled([t(e),l()]);r.status;let i="fulfilled"===n.status&&!1!==n.value;return u(i?"confirmed":"failed"),i&&function(e){if(e)try{window.localStorage.setItem(a+e,String(Date.now()))}catch(e){}}(x),i},[t,l,u,x]),status:s}}},35216:function(e,t,l){l.d(t,{J2:function(){return i},xo:function(){return s},yk:function(){return c}});var n=l(3827),r=l(64090),o=l(55542),a=l(1657);let i=o.fC,s=o.xz;o.ee;let c=r.forwardRef((e,t)=>{let{className:l,align:r="center",sideOffset:i=4,...s}=e;return(0,n.jsx)(o.h_,{children:(0,n.jsx)(o.VY,{ref:t,align:r,sideOffset:i,className:(0,a.cn)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",l),...s})})});c.displayName=o.VY.displayName}}]);

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.