{"version":3,"file":"Freshchat.Dk8mL6E5.mjs","names":[],"sources":["https:/framerusercontent.com/modules/uq19QHYUsKldFBilebBW/DwC4RWV7Xn52YOz59MHn/Freshchat.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";export default function Freshchat(props){const{tint}=props;useEffect(()=>{// Inject the Freshchat script only once\nconst script=document.createElement(\"script\");script.src=\"//eu.fw-cdn.com/12988336/940924.js\";script.setAttribute(\"chat\",\"true\");script.async=true;document.body.appendChild(script);return()=>{// Optional cleanup (if needed)\ndocument.body.removeChild(script);};},[]);return /*#__PURE__*/_jsx(motion.div,{style:{margin:50,width:100,height:100,borderRadius:25,backgroundColor:tint},animate:{scale:1.5},whileHover:{rotate:90}});}addPropertyControls(Freshchat,{tint:{title:\"Tint\",type:ControlType.Color,defaultValue:\"#ffffff\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Freshchat\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Freshchat.map"],"mappings":"2NAA8J,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,QAAM,EAEzK,OAF+K,MAAc,CACvO,IAAM,EAAO,SAAS,cAAc,SAAS,CAAwI,MAAvI,GAAO,IAAI,qCAAqC,EAAO,aAAa,OAAO,OAAO,CAAC,EAAO,MAAM,GAAK,SAAS,KAAK,YAAY,EAAO,KAAW,CAC/L,SAAS,KAAK,YAAY,EAAO,GAAK,EAAE,CAAC,CAAqB,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,OAAO,GAAG,MAAM,IAAI,OAAO,IAAI,aAAa,GAAG,gBAAgB,EAAK,CAAC,QAAQ,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,GAAG,CAAC,CAAC,kBAF5J,IAA6B,IAAoD,IAAkC,CAE2C,EAAoB,EAAU,CAAC,KAAK,CAAC,MAAM,OAAO,KAAK,EAAY,MAAM,aAAa,UAAU,CAAC,CAAC"}