{"version":3,"file":"Widgetv2.BwMuIF4D.mjs","names":[],"sources":["https:/framerusercontent.com/modules/fSDC2cQoyYrYvHC4LtCr/jglkU6V9Uui2SqD9KjeD/Widgetv2.js"],"sourcesContent":["/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export function SupportChat(props){const{widgetKey}=props;useEffect(()=>{const script=document.createElement(\"script\");script.src=\"https://d2cqc7yqzf8c8f.cloudfront.net/web-widget-staging.js\";script.defer=true;script.onload=()=>{window.widgetLib.scanWidgets?.();};document.body.appendChild(script);return()=>{document.body.removeChild(script);};},[]);return /*#__PURE__*/_jsx(\"div\",{\"data-widget-key\":widgetKey,style:{overflow:\"visible\",margin:\"0 auto\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\"}});}addPropertyControls(SupportChat,{widgetKey:{type:ControlType.String,title:\"Widget Key\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"SupportChat\":{\"type\":\"reactComponent\",\"name\":\"SupportChat\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Widgetv2.map"],"mappings":"0SAI+H,SAAgB,EAAY,EAAM,CAAC,GAAK,CAAC,aAAW,EAA2S,OAArS,MAAc,CAAC,IAAM,EAAO,SAAS,cAAc,SAAS,CAAoL,MAAnL,GAAO,IAAI,8DAA8D,EAAO,MAAM,GAAK,EAAO,WAAW,CAAC,EAAO,UAAU,eAAe,EAAG,SAAS,KAAK,YAAY,EAAO,KAAW,CAAC,SAAS,KAAK,YAAY,EAAO,GAAK,EAAE,CAAC,CAAqB,EAAK,MAAM,CAAC,kBAAkB,EAAU,MAAM,CAAC,SAAS,UAAU,OAAO,SAAS,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,CAAC,CAAC,sBAAnlB,IAA6B,IAAoD,CAAogB,EAAoB,EAAY,CAAC,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,aAAa,CAAC,CAAC"}