{"version":3,"file":"FetchGuide.Caq9YHg0.mjs","names":[],"sources":["https:/framerusercontent.com/modules/wS0oR4D28pPtG1FHq3JQ/HxCWHgYgbgmDhWC3KxhO/FetchGuide.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export const fetchDogPoses={point:\"https://framerusercontent.com/images/MUIbCRKDFrr8iM4q89tsZONXPhs.webp?width=160&height=240\",calculate:\"https://framerusercontent.com/images/cqCG6MeMC1FY5ijTOgiqgxTXko.webp?width=160&height=240\",call:\"https://framerusercontent.com/images/bR52JLxHOEyjtcoSy6WOAijh6Y0.webp?width=160&height=240\",read:\"https://framerusercontent.com/images/mM24j7vm0Tl2Y8SMvfX0J3sk6Y.webp?width=160&height=240\",welcome:\"https://framerusercontent.com/images/claq2JwXp2KkEHTADKINLb2ZK0.webp?width=213&height=320\"};export function fetchDogPose({title=\"\",message=\"\",href=\"\",pose=\"auto\",kind=\"\"}={}){if(pose!==\"auto\"&&fetchDogPoses[pose])return pose;if(kind===\"celebrate\")return\"welcome\";if(href.startsWith(\"tel:\")||href.startsWith(\"https://wa.me\")||/let.s talk|first chat|fetch matthew|personal conversation/i.test(title))return\"call\";if(title===\"Let’s sniff out a smarter commercial loan.\")return\"read\";if(/calculator/.test(href)||/numbers|loan|differences|business|whole picture/i.test(title))return\"calculate\";if(/read|unpack|answers|question|information|ideas|guides|seat|familiar|one step|history|statements/i.test(title))return\"read\";if(/first home|good people/i.test(title))return\"welcome\";return\"point\";}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1000\n * @framerIntrinsicHeight 112\n */export default function FetchGuide(props){const questionContact=props.title===\"Got a question? Good.\";const href=props.href||(questionContact?\"tel:0423237242\":\"\");const showCallAlternative=[\"Seen something useful? Let’s take the next step.\",\"Ready to put those ideas to work?\"].includes(props.title);const pose=fetchDogPose({...props,href});const dogOnRight=pose===\"read\"||pose===\"call\";return /*#__PURE__*/_jsxs(\"aside\",{\"aria-label\":props.title||\"Fetch’s tip\",className:\"fetch-guide\",\"data-fetch-pose\":pose,style:{...props.style,width:\"100%\",height:\"auto\",maxWidth:1100,margin:\"18px auto\",boxSizing:\"border-box\",padding:\"12px 16px\",border:\"1px solid #d4e4d9\",borderRadius:16,background:\"#f8fbf5\",display:\"flex\",flexDirection:dogOnRight?\"row-reverse\":\"row\",alignItems:\"center\",gap:16,textAlign:\"left\",color:\"#18382b\",fontFamily:\"Arial,sans-serif\",overflowWrap:\"anywhere\"},children:[/*#__PURE__*/_jsx(\"img\",{src:fetchDogPoses[pose],alt:\"\",\"aria-hidden\":\"true\",width:56,height:84,loading:\"lazy\",decoding:\"async\",style:{display:\"block\",width:56,height:84,flex:\"0 0 56px\",objectFit:\"contain\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{minWidth:0,flex:1},children:[/*#__PURE__*/_jsx(\"strong\",{style:{display:\"block\",fontSize:16,lineHeight:1.4},children:props.title||\"Follow Fetch. Let’s find your next step.\"}),/*#__PURE__*/_jsx(\"p\",{style:{margin:\"5px 0 0\",fontSize:16,lineHeight:1.55,color:\"#456454\"},children:props.message||\"Keep going for useful answers, then I’ll fetch Matthew when you’re ready to talk.\"}),href&&/*#__PURE__*/_jsx(\"a\",{href:href,style:{display:\"block\",marginTop:8,minHeight:32,fontSize:16,lineHeight:1.55,fontWeight:700,color:\"#176947\"},children:questionContact?\"Call Matthew ↗\":props.linkLabel||\"Keep going ↗\"}),showCallAlternative&&/*#__PURE__*/_jsx(\"a\",{href:\"tel:0423237242\",style:{display:\"block\",marginTop:6,minHeight:32,fontSize:16,lineHeight:1.55,fontWeight:700,color:\"#176947\"},children:\"Or talk to Matthew ↗\"})]})]});}addPropertyControls(FetchGuide,{pose:{type:ControlType.Enum,title:\"Dog pose\",options:[\"auto\",\"welcome\",\"point\",\"calculate\",\"read\",\"call\"],optionTitles:[\"Match section\",\"Welcome\",\"Keep going\",\"Check numbers\",\"Read together\",\"Contact Matthew\"],defaultValue:\"auto\"},title:{type:ControlType.String,title:\"Guide title\",defaultValue:\"Follow Fetch. Let’s find your next step.\"},message:{type:ControlType.String,title:\"Guide message\",displayTextArea:true,defaultValue:\"Keep going for useful answers, then I’ll fetch Matthew when you’re ready to talk.\"},href:{type:ControlType.String,title:\"Next section\"},linkLabel:{type:ControlType.String,title:\"Link label\",defaultValue:\"Keep going ↗\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FetchGuide\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"112\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1000\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any\"}},\"fetchDogPose\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fetchDogPoses\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FetchGuide.map"],"mappings":"8JAA0nB,SAAgB,EAAa,CAAC,QAAM,GAAG,UAAQ,GAAG,OAAK,GAAG,OAAK,OAAO,OAAK,IAAI,CAAC,EAAE,CAAulB,OAAnlB,IAAO,QAAQ,EAAc,GAAa,EAAQ,IAAO,YAAkB,UAAa,EAAK,WAAW,MAAM,GAAG,EAAK,WAAW,eAAe,GAAG,6DAA6D,KAAK,CAAK,EAAQ,OAAU,IAAQ,6CAAmD,OAAU,aAAa,KAAK,CAAI,GAAG,mDAAmD,KAAK,CAAK,EAAQ,YAAe,mGAAmG,KAAK,CAAK,EAAQ,OAAU,0BAA0B,KAAK,CAAK,EAAQ,UAAgB,OAAQ,CAK9yC,SAAwB,EAAW,EAAM,CAAC,IAAM,EAAgB,EAAM,QAAQ,wBAA8B,EAAK,EAAM,OAAO,EAAgB,iBAAiB,IAAU,EAAoB,CAAC,mDAAmD,mCAAmC,CAAC,CAAC,SAAS,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