{"version":3,"file":"ElfsightWidget.BRMgiIAn.mjs","names":["__esmMin","init_npm_react_18_3_1","init_jsx_runtime","c","ce","addPropertyControls","init_framer_DymZktPS","ControlType","ElfsightWidget","props","platform","widgetId","init_ElfsightWidget"],"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":"A,0KAA4H,SAAwBQ,EAAe,EAAM,CAAC,GAAK,CAAC,YAAUC,EAAgR,OAA1QL,MAAc,CAAC,IAAMM,EAAS,SAAS,cAAc,QAAQ,EAAwK,MAAtK,GAAS,IAAI,sCAAsCA,EAAS,aAAa,wBAAwB,EAAE,EAAEA,EAAS,aAAa,QAAQ,EAAE,EAAE,SAAS,KAAK,OAAOA,CAAQ,MAAY,CAACA,EAAS,OAAO,CAAE,CAAE,EAAE,CAAC,CAAC,EAAsB,gBAAK,MAAM,CAAC,SAAsB,gBAAK,MAAM,CAAC,UAAUC,CAAQ,CAAC,CAAC,CAAC,CAAE,C,0CAACN,EAAoBG,EAAe,CAAC,SAAS,CAAC,KAAKD,EAAY,OAAO,MAAM,WAAW,CAAC,CAAC,C"}