{"version":3,"file":"Contact_us_Open_Chat.CodQ5Pyh.mjs","names":[],"sources":["https:/framerusercontent.com/modules/8Kyy9np66jahwx4U3Hh9/P07KoEIIoW6EyiqY6qBt/Contact_us_Open_Chat.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";export function withOpenNeetoChat(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const handleClick=event=>{if(typeof props.onClick===\"function\"){props.onClick(event);}try{if(typeof window!==\"undefined\"&&window.NeetoChat?.contextualHelp?.openWidget){window.NeetoChat.contextualHelp.openWidget();}else{console.warn(\"NeetoChat is not available on window. Ensure the widget script is loaded.\");}}catch(e){console.error(\"Failed to open NeetoChat widget:\",e);}};const handleKeyDown=event=>{// Activate on Enter or Space for keyboard users\nif(event.key===\"Enter\"||event.key===\" \"){event.preventDefault();handleClick(event);}};return /*#__PURE__*/_jsx(Component,{ref:ref,...props,// Ensure pointer cursor even if the child doesn't set it\nstyle:{...props.style||{},cursor:\"pointer\"},// Basic a11y so it behaves like a button\nrole:props.role??\"button\",tabIndex:props.tabIndex??0,onKeyDown:handleKeyDown,onClick:handleClick});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withOpenNeetoChat\":{\"type\":\"reactHoc\",\"name\":\"withOpenNeetoChat\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Contact_us_Open_Chat.map"],"mappings":"gIAAyE,SAAgB,EAAkB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,IAAM,EAAY,GAAO,CAAI,OAAO,EAAM,SAAU,YAAY,EAAM,QAAQ,EAAM,CAAE,GAAG,CAAW,IAAS,QAAa,EAAO,WAAW,gBAAgB,WAAY,EAAO,UAAU,eAAe,YAAY,CAAO,QAAQ,KAAK,4EAA4E,OAAS,EAAE,CAAC,QAAQ,MAAM,mCAAmC,EAAE,GAAU,EAAc,GAAO,EACljB,EAAM,MAAM,SAAS,EAAM,MAAM,OAAK,EAAM,gBAAgB,CAAC,EAAY,EAAM,GAAI,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EACrI,MAAM,CAAC,GAAG,EAAM,OAAO,EAAE,CAAC,OAAO,UAAU,CAC3C,KAAK,EAAM,MAAM,SAAS,SAAS,EAAM,UAAU,EAAE,UAAU,EAAc,QAAQ,EAAY,CAAC,EAAG,sBAH1D,IAA8B"}