{"version":3,"file":"Hero.Cc8Aznfp.mjs","names":["p"],"sources":["https:/framerusercontent.com/modules/ed0vmgJnnxCH8nuRyv06/dAHcWFlAuQXKfoYESoZK/Hero.js"],"sourcesContent":["// HomeSight page hero: eyebrow, H1, subhead, primary + secondary buttons, optional proof strip\n// (one proof point per line) and optional photo (image URL). Mobile-first: photo stacks under the\n// text on phones and sits to the right on desktop.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const CSS=`\n.hs-hero{position:relative;width:100%;box-sizing:border-box;font-family:\"DM Sans\",sans-serif;padding:40px 20px 48px}\n.hs-hero *{box-sizing:border-box}\n.hs-hero.cream{background:#FDFCF7}.hs-hero.sand{background:#EBDDC7}.hs-hero.teal{background:#2C4C3B}\n.hs-hi{max-width:1120px;margin:0 auto}\n.hs-hg{display:grid;grid-template-columns:1fr;gap:28px;align-items:center}\n.hs-eb{font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#BF8B59;margin:0 0 14px}\n.hs-hero h1{font-family:\"Big Shoulders\",\"Big Shoulders Display\",sans-serif;font-weight:800;text-transform:uppercase;line-height:.95;letter-spacing:-.005em;color:#2C4C3B;margin:0 0 18px;max-width:880px;text-wrap:balance;font-size:46px}\n.hs-hero.medium h1{font-size:40px}\n.hs-hero.teal h1{color:#FDFCF7}\n.hs-sub{font-size:18px;line-height:1.55;color:#3A3026;margin:0 0 28px;max-width:640px}\n.hs-hero.teal .hs-sub{color:#EBDDC7}\n.hs-btns{display:flex;flex-wrap:wrap;gap:12px}\n.hs-b1,.hs-b2{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;border-radius:6px;font-weight:700;font-size:16px;text-decoration:none}\n.hs-b1{background:#2C4C3B;color:#FDFCF7}.hs-b1:hover{background:#3A3026}\n.hs-b2{border:1.5px solid #2C4C3B;color:#2C4C3B}.hs-b2:hover{background:rgba(44,76,59,.06)}\n.hs-hero.teal .hs-b1{background:#BF8B59;color:#3A3026}.hs-hero.teal .hs-b2{border-color:#EBDDC7;color:#FDFCF7}\n.hs-photo{width:100%;aspect-ratio:4/3;border-radius:10px;overflow:hidden;background:#EBDDC7}\n.hs-photo img{display:block;width:100%;height:100%;object-fit:cover}\n.hs-proof{list-style:none;margin:32px 0 0;padding:20px 0 0;border-top:1px solid rgba(58,48,38,.15);display:grid;grid-template-columns:1fr 1fr;gap:14px 20px}\n.hs-hero.teal .hs-proof{border-color:rgba(235,221,199,.25)}\n.hs-proof li{font-family:\"Big Shoulders\",\"Big Shoulders Display\",sans-serif;font-weight:800;text-transform:uppercase;font-size:18px;line-height:1.1;color:#2C4C3B;padding-left:14px;border-left:3px solid #BF8B59}\n.hs-hero.teal .hs-proof li{color:#FDFCF7}\n@media (min-width:600px){.hs-hero h1{font-size:60px}.hs-hero.medium h1{font-size:52px}.hs-sub{font-size:20px}}\n@media (min-width:768px){.hs-hero{padding:72px 32px 72px}.hs-proof{grid-template-columns:repeat(4,1fr)}.hs-proof li{font-size:21px}}\n@media (min-width:1024px){.hs-hero h1{font-size:84px}.hs-hero.medium h1{font-size:60px}.hs-hero{padding:88px 32px 80px}.hs-hg.wi{grid-template-columns:1.1fr 1fr;gap:56px}.hs-hg.wi h1{font-size:72px}.hs-hg.wi.md h1{font-size:56px}.hs-photo{aspect-ratio:5/4}}\n`;/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1200\n */export default function Hero(props){const p=props;const proof=(p.proof||\"\").split(\"\\n\").map(s=>s.trim()).filter(Boolean);const hasImg=!!(p.image&&p.image.trim());return /*#__PURE__*/_jsxs(\"section\",{className:\"hs-hero \"+p.tone+\" \"+p.size,style:{...p.style,position:\"relative\"},children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsxs(\"div\",{className:\"hs-hi\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"hs-hg\"+(hasImg?\" wi\":\"\")+(p.size===\"medium\"?\" md\":\"\"),children:[/*#__PURE__*/_jsxs(\"div\",{children:[p.eyebrow?/*#__PURE__*/_jsx(\"p\",{className:\"hs-eb\",children:p.eyebrow}):null,/*#__PURE__*/_jsx(\"h1\",{children:p.title}),p.subtitle?/*#__PURE__*/_jsx(\"p\",{className:\"hs-sub\",children:p.subtitle}):null,/*#__PURE__*/_jsxs(\"div\",{className:\"hs-btns\",children:[p.primaryLabel?/*#__PURE__*/_jsx(\"a\",{className:\"hs-b1\",href:p.primaryUrl,children:p.primaryLabel}):null,p.secondaryLabel?/*#__PURE__*/_jsx(\"a\",{className:\"hs-b2\",href:p.secondaryUrl,children:p.secondaryLabel}):null]})]}),hasImg?/*#__PURE__*/_jsx(\"div\",{className:\"hs-photo\",children:/*#__PURE__*/_jsx(\"img\",{src:p.image,alt:p.imageAlt||\"\",fetchPriority:\"high\"})}):null]}),proof.length?/*#__PURE__*/_jsx(\"ul\",{className:\"hs-proof\",children:proof.map((t,i)=>/*#__PURE__*/_jsx(\"li\",{children:t},i))}):null]})]});}Hero.defaultProps={eyebrow:\"Home inspections in the Twin Cities and North Idaho\",title:\"Learn from HomeSight, not hindsight.\",subtitle:\"Find the problems before you own them.\",primaryLabel:\"Book an Inspection\",primaryUrl:\"https://book.homesightinspections.com/\",secondaryLabel:\"Call (952) 201-2181\",secondaryUrl:\"tel:+19522012181\",proof:\"\",image:\"\",imageAlt:\"\",tone:\"cream\",size:\"large\"};addPropertyControls(Hero,{eyebrow:{type:ControlType.String,title:\"Eyebrow\"},title:{type:ControlType.String,title:\"Headline (H1)\",displayTextArea:true},subtitle:{type:ControlType.String,title:\"Subhead\",displayTextArea:true},primaryLabel:{type:ControlType.String,title:\"Button 1\"},primaryUrl:{type:ControlType.String,title:\"Button 1 URL\"},secondaryLabel:{type:ControlType.String,title:\"Button 2\"},secondaryUrl:{type:ControlType.String,title:\"Button 2 URL\"},proof:{type:ControlType.String,title:\"Proof (1 per line)\",displayTextArea:true},image:{type:ControlType.String,title:\"Photo URL\"},imageAlt:{type:ControlType.String,title:\"Photo alt text\"},tone:{type:ControlType.Enum,title:\"Background\",options:[\"cream\",\"sand\",\"teal\"],optionTitles:[\"Cream\",\"Sand\",\"Teal\"]},size:{type:ControlType.Enum,title:\"Size\",options:[\"large\",\"medium\"],optionTitles:[\"Large\",\"Medium\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Hero\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1200\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Hero.map"],"mappings":"mKAiCG,SAAwB,EAAK,EAAM,CAAC,IAAMA,EAAE,EAAY,GAAOA,EAAE,OAAO,GAAA,CAAI,MAAM;CAAI,CAAC,CAAC,IAAI,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,OAAO,OAAO,EAAQ,EAAO,CAAC,EAAEA,EAAE,OAAOA,EAAE,MAAM,KAAK,GAAG,OAAoB,EAAM,UAAU,CAAC,UAAU,WAAWA,EAAE,KAAK,IAAIA,EAAE,KAAK,MAAM,CAAC,GAAGA,EAAE,MAAM,SAAS,UAAU,EAAE,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS,CAAG,CAAC,EAAe,EAAM,MAAM,CAAC,UAAU,QAAQ,SAAS,CAAc,EAAM,MAAM,CAAC,UAAU,SAAS,EAAO,MAAM,KAAKA,EAAE,OAAO,SAAS,MAAM,IAAI,SAAS,CAAc,EAAM,MAAM,CAAC,SAAS,CAACA,EAAE,QAAqB,EAAK,IAAI,CAAC,UAAU,QAAQ,SAASA,EAAE,OAAO,CAAC,EAAE,KAAkB,EAAK,KAAK,CAAC,SAASA,EAAE,KAAK,CAAC,EAAEA,EAAE,SAAsB,EAAK,IAAI,CAAC,UAAU,SAAS,SAASA,EAAE,QAAQ,CAAC,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