{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/ss6XvthYlj7xwjVJWABZ/nllyxXMgcOW2QEDWOuff/ContatoButton.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function ContatoButton(props){const{label,backgroundColor,textColor}=props;if(typeof window===\"undefined\")return null;// Fun\u00E7\u00E3o para recuperar a unidade do localStorage\nconst getUnidade=()=>{let unidade=localStorage.getItem(\"unidadeSelecionada\");return unidade||\"jpa\"// Se n\u00E3o encontrar, usa \"jpa\" como fallback\n;};const unidade=getUnidade()// Recupera a unidade\n;// Links de WhatsApp para cada unidade\nconst links={jpa:\"https://wa.me/5583998240014\",rec:\"https://wa.me/5583998240014\",sp:\"https://wa.me/5583998240014\"};const href=links[unidade]||\"https://wa.me/5583998240014\"// Fallback para um link padr\u00E3o\n;return /*#__PURE__*/_jsx(\"a\",{href:href,target:\"_blank\",style:{textDecoration:\"none\"},children:/*#__PURE__*/_jsx(motion.div,{whileHover:{scale:1.05},style:{backgroundColor,color:textColor,padding:\"16px 24px\",borderRadius:12,fontSize:18,fontWeight:600,textAlign:\"center\",cursor:\"pointer\",boxShadow:\"0 2px 4px rgba(0,0,0,0.2)\",width:\"fit-content\"},children:label})});}addPropertyControls(ContatoButton,{label:{title:\"Texto\",type:ControlType.String,defaultValue:\"Entrar em contato\"},backgroundColor:{title:\"Cor do fundo\",type:ControlType.Color,defaultValue:\"#6A4EA4\"},textColor:{title:\"Cor do texto\",type:ControlType.Color,defaultValue:\"#FFFFFF\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ContatoButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ContatoButton.map"],
  "mappings": "yIAGkB,SAARA,EAA+BC,EAAM,CAAC,GAAK,CAAC,MAAAC,EAAM,gBAAAC,EAAgB,UAAAC,CAAS,EAAEH,EAAM,GAAG,OAAOI,EAAS,IAAY,OAAO,KAEhI,IAAMC,EADyB,aAAa,QAAQ,oBAAoB,GAAkB,MAG4BC,EAA7G,CAAC,IAAI,8BAA8B,IAAI,8BAA8B,GAAG,6BAA6B,EAAmBD,CAAO,GAAG,8BAC7I,OAAoBE,EAAK,IAAI,CAAC,KAAKD,EAAK,OAAO,SAAS,MAAM,CAAC,eAAe,MAAM,EAAE,SAAsBC,EAAKC,EAAO,IAAI,CAAC,WAAW,CAAC,MAAM,IAAI,EAAE,MAAM,CAAC,gBAAAN,EAAgB,MAAMC,EAAU,QAAQ,YAAY,aAAa,GAAG,SAAS,GAAG,WAAW,IAAI,UAAU,SAAS,OAAO,UAAU,UAAU,4BAA4B,MAAM,aAAa,EAAE,SAASF,CAAK,CAAC,CAAC,CAAC,CAAE,CAACQ,EAAoBV,EAAc,CAAC,MAAM,CAAC,MAAM,QAAQ,KAAKW,EAAY,OAAO,aAAa,mBAAmB,EAAE,gBAAgB,CAAC,MAAM,eAAe,KAAKA,EAAY,MAAM,aAAa,SAAS,EAAE,UAAU,CAAC,MAAM,eAAe,KAAKA,EAAY,MAAM,aAAa,SAAS,CAAC,CAAC",
  "names": ["ContatoButton", "props", "label", "backgroundColor", "textColor", "window", "unidade", "href", "p", "motion", "addPropertyControls", "ControlType"]
}
