{"version":3,"file":"TriggerChatbot.y5dXRUS3.mjs","names":["React.forwardRef","__legacyOverrideHOC_DataObserverContext","_jsx","__esmMin","init_npm_react_18_3_1","window","oe","c","J","init_jsx_runtime","init_ssg_sandbox_shims","motion","addPropertyControls","useSVGTemplate","withCSS","cx","ControlType","init_framer_BisrWwwE","DataObserverContext","mask","Base","MotionSVG","SVG","svg","getProps","Icon","init_UJG2BKbuv","props","rest","animated","color","width1","alpha","restProps","href","className","qxTvv_EBh","ezTt3ayMo","lschgej4H","style","OpenFrontChat","start","tryShow","withOpenFrontChat","C","init_TriggerChatbot"],"sources":["https:/framerusercontent.com/modules/kPpz8W4Kcul7GryF3oVg/VglRA87mSMagEKqaZfA2/UJG2BKbuv.js","https:/framerusercontent.com/modules/A641UJSatmJtP3Kf1jp6/xkBi18v7ebb5EJ4nUoGz/TriggerChatbot.js"],"sourcesContent":["// Generated by Framer (6ca5d98)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 0 5.25 L 0 9 C 0 9.414 0.336 9.75 0.75 9.75 L 9.789 9.75 L 13.5 12.75 L 13.5 0.75 C 13.5 0.336 13.164 0 12.75 0 L 9 0 L 9 4.5 C 9 4.914 8.664 5.25 8.25 5.25 Z\" fill-opacity=\"var(--1m6trwb, 0)\" fill=\"var(--21h8s6, rgb(0, 0, 0))\" height=\"12.75px\" id=\"iwto7RSa_\" transform=\"translate(7.5 8.25)\" width=\"13.5px\"/><path d=\"M 3.711 9.75 L 0 12.75 L 0 0.75 C 0 0.336 0.336 0 0.75 0 L 12.75 0 C 13.164 0 13.5 0.336 13.5 0.75 L 13.5 9 C 13.5 9.414 13.164 9.75 12.75 9.75 Z\" fill=\"transparent\" height=\"12.75px\" id=\"EBWh6IZId\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(3 3.75)\" width=\"13.5px\"/><path d=\"M 0 5.25 L 0 9 C 0 9.414 0.336 9.75 0.75 9.75 L 9.789 9.75 L 13.5 12.75 L 13.5 0.75 C 13.5 0.336 13.164 0 12.75 0 L 9 0\" fill=\"transparent\" height=\"12.75px\" id=\"yCWG4bwZa\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(7.5 8.25)\" width=\"13.5px\"/></svg>';const getProps=({alpha,color,height,id,width,width1,...props})=>{return{...props,ezTt3ayMo:color??props.ezTt3ayMo??\"rgb(0, 0, 0)\",lschgej4H:width1??props.lschgej4H??1.5,qxTvv_EBh:alpha??props.qxTvv_EBh};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,ezTt3ayMo,lschgej4H,qxTvv_EBh,...restProps}=getProps(props);const href=useSVGTemplate(\"1380799810\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-I3Kmg\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m6trwb\":qxTvv_EBh,\"--21h8s6\":ezTt3ayMo,\"--pgex8v\":lschgej4H,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-I3Kmg { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"ezTt3ayMo\":\"color\",\"lschgej4H\":\"width1\",\"qxTvv_EBh\":\"alpha\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Chats\",\"color\":{\"type\":\"variable\",\"value\":\"21h8s6\"},\"set\":{\"localId\":\"vectorSet/NGVKdicsm\",\"id\":\"NGVKdicsm\",\"moduleId\":\"omX0gWFPqDwhaiWwf6ab\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-I3Kmg\");Icon.displayName=\"Chats\";export default Icon;addPropertyControls(Icon,{ezTt3ayMo:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},lschgej4H:{defaultValue:1.5,displayStepper:true,hidden:false,max:6,min:0,step:.5,title:\"Width\",type:ControlType.Number},qxTvv_EBh:{defaultValue:0,displayStepper:true,hidden:false,max:1,min:0,step:.1,title:\"Alpha\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"24\",\"framerVector\":\"{\\\"name\\\":\\\"Chats\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"21h8s6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/NGVKdicsm\\\",\\\"id\\\":\\\"NGVKdicsm\\\",\\\"moduleId\\\":\\\"omX0gWFPqDwhaiWwf6ab\\\"}}\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"true\",\"framerIntrinsicWidth\":\"24\",\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"ezTt3ayMo\\\":\\\"color\\\",\\\"lschgej4H\\\":\\\"width1\\\",\\\"qxTvv_EBh\\\":\\\"alpha\\\"}\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// code.tsx\nimport{jsx as _jsx}from\"react/jsx-runtime\";let frontReady=false;if(typeof window!==\"undefined\"){// If init already ran, onInitCompleted may have fired.\n// We'll also add a small check helper.\n// @ts-ignore\nconst FC=window.FrontChat;if(FC){// No-op; we'll rely on our boolean flag below if needed.\n}}export function OpenFrontChat(){return{onTap(){// If FrontChat is available, show the widget\nif(window.FrontChat){window.FrontChat(\"show\")// opens the Front Chat panel\n;}else{// Light fallback: retry briefly if the script is still loading\nconst start=Date.now();const tryShow=()=>{if(window.FrontChat)return window.FrontChat(\"show\");if(Date.now()-start<3e3)requestAnimationFrame(tryShow);else console.warn(\"FrontChat not ready yet.\");};tryShow();}}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withOpenFrontChat(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...OpenFrontChat(props)});};}withOpenFrontChat.displayName=\"OpenFrontChat\";\nexport const __FramerMetadata__ = {\"exports\":{\"OpenFrontChat\":{\"type\":\"override\",\"name\":\"OpenFrontChat\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withOpenFrontChat\":{\"type\":\"reactHoc\",\"name\":\"withOpenFrontChat\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TriggerChatbot.map"],"mappings":"A,oUACgM,EAAK,0BAAgC,EAAkB,gBAAW,SAAS,EAAM,EAAI,CAAC,MAAoB,gBAAK,MAAM,CAAC,GAAG2B,EAAU,MAAI,SAASA,EAAM,QAAQ,CAAC,CAAE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