{"version":3,"file":"Text_Color.LANNbefB.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/cPrDnGm8bAY0NZUl0iUw/DNRpWo3sTPRVt2nS24sC/Text_Color.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";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/docs/guides/overrides/\nconst useStore=createStore({background:\"#062959\"});export function withRotate(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,animate:{rotate:90},transition:{duration:2}});};}export function withHover(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,whileHover:{scale:1.05}});};}export function triggerIntercom(){return{onTap:()=>window.Intercom(\"show\")};}export function withRandomColor(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});};}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\":{\"withtriggerIntercom\":{\"type\":\"reactHoc\",\"name\":\"withtriggerIntercom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"triggerIntercom\":{\"type\":\"override\",\"name\":\"triggerIntercom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Text_Color.map"],"mappings":"6XACoU,SAAgB,GAAiB,CAAC,MAAM,CAAC,UAAU,EAAO,SAAS,OAAO,CAAC,CAA4X,SAAgB,EAAoB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAgB,EAAM,CAAC,CAAC,uBADj5B,IAAqE,IAAqE,IACmgB,IAAmF,CAA5vB,EAAY,CAAC,WAAW,UAAU,CAAC,CAA84B,EAAoB,YAAY"}