{"version":3,"file":"DraftPlanCard.CGG50cfb.mjs","names":["__esmMin","p","c","init_jsx_runtime","init_framer_DDfsYcI0","ControlType","addPropertyControls","inquiryLink","service","tier","DraftPlanCard","css","tiers","outcome","money","monthly","months","scope","services","init_DraftPlanCard"],"sources":["https:/framerusercontent.com/modules/5leMpNTJk0S2iHsTigt2/1HSmhEy18jZbv4AGZEcz/DraftPlanCard.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const services={website:\"Website\",branding:\"Branding\",\"get-found\":\"Get Found\",\"ai-call-answering\":\"AI Call Answering\",\"email-sms\":\"Email & SMS\"};const tiers={essentials:\"Essentials\",plus:\"Plus\",premium:\"Premium\"};function inquiryLink(service,tier){return\"/get-started?service=\"+service+\"&tier=\"+tier+\"#project-inquiry\";}const money=new Intl.NumberFormat(\"en-US\",{style:\"currency\",currency:\"USD\",maximumFractionDigits:2,minimumFractionDigits:0});const css=`\n.mfm-plan {display:flex;flex-direction:column;gap:14px;padding:clamp(18px,2.2vw,30px);box-sizing:border-box;min-width:0;background:white;border:1px solid #D4D6DB;border-top:4px solid #181a1b;color:#181a1b;font:18px/1.35 \"Source Sans 3\",system-ui,sans-serif}\n.mfm-plan[data-tier=plus]{border-top-color:#ad3329}\n.mfm-plan .tier {margin:0;color:#8e281f;font-size:15px;letter-spacing:.08em;font-weight:750;text-transform:uppercase}\n.mfm-plan h3 {margin:0;font:800 clamp(28px,2.8vw,38px)/1 \"Barlow Condensed\",sans-serif;text-wrap:balance}\n.mfm-plan .price {margin:0;font-weight:650}\n.mfm-plan .price strong {font:900 clamp(38px,3.8vw,54px)/1 \"Barlow Condensed\",sans-serif}\n.mfm-plan .term {display:block;margin-top:5px;color:#565553;font-size:16px}\n.mfm-plan .scope {margin:0;flex:1}\n.mfm-plan a {align-self:flex-start;display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box;padding:8px 13px;color:#8e281f;background:white;border:1px solid #a43028;border-radius:2px;text-decoration:none;font-weight:700}\n.mfm-plan a:hover {background:#F2F3F5}\n.mfm-plan a:focus-visible {outline:3px solid #005fcc;outline-offset:2px}\n`;/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function DraftPlanCard({service=\"website\",tier=\"essentials\",outcome=\"Get your business online\",scope=\"A service page and a clear way to request an estimate.\",monthly=249,months=12,style}){return /*#__PURE__*/_jsxs(\"article\",{className:\"mfm-plan\",\"data-tier\":tier,style:style,children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(\"p\",{className:\"tier\",children:tiers[tier]}),/*#__PURE__*/_jsx(\"h3\",{children:outcome}),/*#__PURE__*/_jsxs(\"p\",{className:\"price\",children:[/*#__PURE__*/_jsx(\"strong\",{children:money.format(monthly)}),\" / month\",/*#__PURE__*/_jsx(\"span\",{className:\"term\",children:months>0?`${months} monthly installments \\xb7 ${money.format(monthly*months)} total`:service===\"website\"?\"Website build + ongoing care\":\"Ongoing service \\xb7 draft monthly rate\"})]}),/*#__PURE__*/_jsx(\"p\",{className:\"scope\",children:scope}),/*#__PURE__*/_jsxs(\"a\",{href:inquiryLink(service,tier),\"aria-label\":`Discuss ${tiers[tier]} for ${services[service]}`,children:[\"Discuss \",tiers[tier]]})]});}addPropertyControls(DraftPlanCard,{service:{type:ControlType.Enum,title:\"Service\",options:Object.keys(services),optionTitles:Object.values(services),defaultValue:\"website\"},tier:{type:ControlType.Enum,title:\"Tier\",options:Object.keys(tiers),optionTitles:Object.values(tiers),defaultValue:\"essentials\"},outcome:{type:ControlType.String,title:\"Outcome\",defaultValue:\"Get your business online\"},scope:{type:ControlType.String,title:\"Draft scope\",displayTextArea:true,defaultValue:\"A service page and a clear way to request an estimate.\"},monthly:{type:ControlType.Number,title:\"Monthly USD\",min:0,step:1,defaultValue:249},months:{type:ControlType.Number,title:\"Installments\",min:0,step:1,displayStepper:true,defaultValue:12,description:\"Use zero for ongoing service. Fixed-term totals update with the price.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DraftPlanCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DraftPlanCard.map"],"mappings":"A,mKAAkU,SAASO,EAAY,EAAQ,EAAK,CAAC,MAAM,wBAAwBC,EAAQ,SAASC,EAAK,kBAAmB,CAeza,SAAwBC,EAAc,CAAC,UAAQ,UAAU,OAAK,aAAa,UAAQ,2BAA2B,QAAM,yDAAyD,UAAQ,IAAI,SAAO,GAAG,SAAO,CAAC,MAAoB,gBAAM,UAAU,CAAC,UAAU,WAAW,YAAYD,EAAW,QAAM,SAAS,CAAc,gBAAK,QAAQ,CAAC,SAASE,CAAG,CAAC,EAAe,gBAAK,IAAI,CAAC,UAAU,OAAO,SAASC,EAAMH,EAAK,CAAC,EAAe,gBAAK,KAAK,CAAC,SAASI,CAAO,CAAC,EAAe,gBAAM,IAAI,CAAC,UAAU,QAAQ,SAAS,CAAc,gBAAK,SAAS,CAAC,SAASC,EAAM,OAAOC,CAAO,CAAC,CAAC,EAAE,WAAwB,gBAAK,OAAO,CAAC,UAAU,OAAO,SAASC,EAAO,EAAE,GAAGA,EAAO,6BAA6BF,EAAM,OAAOC,EAAQC,CAAM,EAAE,QAAQR,IAAU,UAAU,+BAA+B,sCAAyC,CAAC,CAAC,CAAC,CAAC,EAAe,gBAAK,IAAI,CAAC,UAAU,QAAQ,SAASS,CAAK,CAAC,EAAe,gBAAM,IAAI,CAAC,KAAKV,EAAYC,EAAQC,CAAI,EAAE,aAAa,WAAWG,EAAMH,GAAM,OAAOS,EAASV,KAAW,SAAS,CAAC,WAAWI,EAAMH,EAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,C,kDAf94B,EAAS,CAAC,QAAQ,UAAU,SAAS,WAAW,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