{"version":3,"file":"Phone_Number.CADE_f0v.mjs","names":[],"sources":["https:/framerusercontent.com/modules/9EhMNAwPerdjaYBSJq3a/vsTo5ssEN5ywHtm8QrzX/Email.js","https:/framerusercontent.com/modules/oifMJPmFRJgIIv9Oe6k1/2x5WpIPGb5sHkZBuTy1c/Phone_Number.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const getEmail=stateAbbr=>{switch(stateAbbr.toUpperCase()){case\"MD\":return\"md@joinpupscouts.com\";case\"CA\":return\"oc@joinpupscouts.com\";case\"NC\":return\"clt@joinpupscouts.com\";default:return\"info@joinpupscouts.com\";}};export function DynamicEmail({stateAbbr}){const email=getEmail(stateAbbr);const href=`mailto:${email}`;return /*#__PURE__*/_jsx(\"a\",{href:href,style:{fontFamily:\"Public Sans, sans-serif\",fontSize:24,fontWeight:500,letterSpacing:\"-0.04em\",lineHeight:\"130%\",display:\"inline-block\",color:\"#FFFFFF\",textDecoration:\"none\"},children:email});}addPropertyControls(DynamicEmail,{stateAbbr:{type:ControlType.String,title:\"State Abbr\",defaultValue:\"CA\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"DynamicEmail\":{\"type\":\"reactComponent\",\"name\":\"DynamicEmail\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Email.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const getPhoneNumber=stateAbbr=>{switch(stateAbbr.toUpperCase()){case\"MD\":return\"(410) 980-7855\";case\"CA\":return\"(949) 629-0932\";case\"NC\":return\"(704) 330-3089\";default:return\"(000) 000-0000\";}};const getPhoneHref=phone=>`tel:${phone.replace(/[^\\d]/g,\"\")}`;export function DynamicPhoneNumber({stateAbbr}){const phone=getPhoneNumber(stateAbbr);const href=getPhoneHref(phone);return /*#__PURE__*/_jsx(\"a\",{href:href,style:{fontFamily:\"Public Sans, sans-serif\",fontSize:24,fontWeight:500,letterSpacing:\"-0.04em\",lineHeight:\"130%\",display:\"inline-block\",color:\"#FFFFFF\",textDecoration:\"none\"},children:phone});}addPropertyControls(DynamicPhoneNumber,{stateAbbr:{type:ControlType.String,title:\"State Abbr\",defaultValue:\"CA\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"DynamicPhoneNumber\":{\"type\":\"reactComponent\",\"name\":\"DynamicPhoneNumber\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Phone_Number.map"],"mappings":"6JAAuT,SAAgB,EAAa,CAAC,aAAW,CAAC,IAAM,EAAM,EAAS,EAAU,CAA8B,OAAoB,EAAK,IAAI,CAAC,KAAhD,UAAU,IAAgD,MAAM,CAAC,WAAW,0BAA0B,SAAS,GAAG,WAAW,IAAI,cAAc,UAAU,WAAW,OAAO,QAAQ,eAAe,MAAM,UAAU,eAAe,OAAO,CAAC,SAAS,EAAM,CAAC,oBAA1lB,IAAoD,CAAM,EAAS,GAAW,CAAC,OAAO,EAAU,aAAa,CAA9B,CAAgC,IAAI,KAAK,MAAM,uBAAuB,IAAI,KAAK,MAAM,uBAAuB,IAAI,KAAK,MAAM,wBAAwB,QAAQ,MAAM,2BAA4W,EAAoB,EAAa,CAAC,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,aAAa,aAAa,KAAK,CAAC,CAAC,ICAnZ,SAAgB,EAAmB,CAAC,aAAW,CAAC,IAAM,EAAM,EAAe,EAAU,CAAgC,OAAoB,EAAK,IAAI,CAAC,KAAlD,EAAa,EAAM,CAAyC,MAAM,CAAC,WAAW,0BAA0B,SAAS,GAAG,WAAW,IAAI,cAAc,UAAU,WAAW,OAAO,QAAQ,eAAe,MAAM,UAAU,eAAe,OAAO,CAAC,SAAS,EAAM,CAAC,sBAAjpB,IAAoD,CAAM,EAAe,GAAW,CAAC,OAAO,EAAU,aAAa,CAA9B,CAAgC,IAAI,KAAK,MAAM,iBAAiB,IAAI,KAAK,MAAM,iBAAiB,IAAI,KAAK,MAAM,iBAAiB,QAAQ,MAAM,mBAA0B,EAAa,GAAO,OAAO,EAAM,QAAQ,SAAS,GAAG,GAAiW,EAAoB,EAAmB,CAAC,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,aAAa,aAAa,KAAK,CAAC,CAAC"}