{"version":3,"file":"Open_Intercom_modal.DWWlCiOP.mjs","names":["__legacyOverrideHOC_DataObserverContext"],"sources":["https:/framer.com/m/framer/utils.js@^0.9.0","https:/framerusercontent.com/modules/8dV24RsJ91tsQpDAa1Y1/pcundPIy8GVSvpXFcIVQ/Open_Intercom_modal.js"],"sourcesContent":["export const centerContent = {\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const autoSizingText = {\n    width: \"max-content\",\n    wordBreak: \"break-word\",\n    overflowWrap: \"break-word\",\n    overflow: \"hidden\",\n    whiteSpace: \"pre-wrap\",\n    flexShrink: 0\n};\nexport const defaultContainerStyles = {\n    ...centerContent,\n    overflow: \"hidden\"\n};\nexport const containerStyles = defaultContainerStyles;\nexport const randomColor = ()=>\"#\" + Math.floor(Math.random() * 16777215).toString(16)\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"centerContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"autoSizingText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultContainerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./Utils.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withRotate(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{rotate:90},transition:{duration:2}});});}export function withHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,whileHover:{scale:1.05}});});}export function withRandomColor(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});});}export function triggerIntercom(){return{onTap:()=>window.Intercom(\"startSurvey\",47809983)};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withtriggerIntercom(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...triggerIntercom(props)});};}withtriggerIntercom.displayName=\"triggerIntercom\";\nexport const __FramerMetadata__ = {\"exports\":{\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"triggerIntercom\":{\"type\":\"override\",\"name\":\"triggerIntercom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withtriggerIntercom\":{\"type\":\"reactHoc\",\"name\":\"withtriggerIntercom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Open_Intercom_modal.map"],"mappings":"6XAaa,AAbA,EAAgB,CACzB,QAAS,OACT,eAAgB,SAChB,WAAY,QACf,EASY,EAAyB,CAClC,GAAG,EACH,SAAU,QACb,ICf+pB,SAAgB,GAAiB,CAAC,MAAM,CAAC,MAAM,IAAI,EAAO,SAAS,cAAc,SAAS,AAAC,CAAE,CAAmJ,SAAgB,EAAoB,EAAE,CAAC,MAAO,CAAA,IAAQ,EAA+BA,EAAwC,CAAQ,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAgB,EAAM,AAAC,EAAC,CAAI,gBAAA,IADrkC,GAA2C,IAA8B,IAAqE,IAAqE,CAC0mB,GAAmF,CAA14B,EAAS,EAAY,CAAC,WAAW,SAAU,EAAC,CAAmhC,EAAoB,YAAY"}