{"version":3,"file":"ElfsightWidget.1DIZgsbd.mjs","names":[],"sources":["https:/framerusercontent.com/modules/KfiGvTrNdvM6AwG5rDKq/QWU2HPBPXkaEu4OD6pRy/ElfsightWidget.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function ElfsightWidget(props){const{widgetId}=props;useEffect(()=>{const platform=document.createElement(\"script\");platform.src=\"https://elfsightcdn.com/platform.js\";platform.setAttribute(\"data-use-service-core\",\"\");platform.setAttribute(\"defer\",\"\");document.body.append(platform);return()=>{platform.remove();};},[]);return /*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsx(\"div\",{className:widgetId})});}addPropertyControls(ElfsightWidget,{widgetId:{type:ControlType.String,title:\"Widget ID\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ElfsightWidget\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ElfsightWidget.map"],"mappings":"0KAA4H,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,YAAU,EAAgR,OAA1Q,MAAc,CAAC,IAAM,EAAS,SAAS,cAAc,QAAQ,EAAwK,MAAtK,GAAS,IAAI,sCAAsC,EAAS,aAAa,wBAAwB,EAAE,EAAE,EAAS,aAAa,QAAQ,EAAE,EAAE,SAAS,KAAK,OAAO,CAAQ,MAAY,CAAC,EAAS,OAAO,CAAE,CAAE,EAAE,CAAC,CAAC,EAAsB,EAAK,MAAM,CAAC,SAAsB,EAAK,MAAM,CAAC,UAAU,CAAQ,CAAC,CAAC,CAAC,CAAE,iBAAzf,IAA6B,IAAoD,EAAya,EAAoB,EAAe,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,CAAC,CAAC"}