{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/h4mri9OPC9ZjPRmEBwvk/RYurAy9hsXqIGYGAJw4r/Integrations_Styling.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";const hideMe={style:{display:\"none\"}};const clientHubRef=[\"clienthub\",\"client-hub\",\"wp.local\",\"backstage.creativerockstars.com\"];export function IntegrationsComponent(props){const[show,setShow]=useState(true)// Show by default\n;useEffect(()=>{if(clientHubRef.find(e=>document.referrer.includes(e)))setShow(false);},[]);return show?{}:hideMe;}export function ClientHubComponent(props){const[show,setShow]=useState(false)// Hide by default\n;useEffect(()=>{if(clientHubRef.find(e=>document.referrer.includes(e)))setShow(true);},[]);return show?{}:hideMe;}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withIntegrationsComponent(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...IntegrationsComponent(props)});};}withIntegrationsComponent.displayName=\"IntegrationsComponent\";export function withClientHubComponent(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ClientHubComponent(props)});};}withClientHubComponent.displayName=\"ClientHubComponent\";\nexport const __FramerMetadata__ = {\"exports\":{\"IntegrationsComponent\":{\"type\":\"override\",\"name\":\"IntegrationsComponent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClientHubComponent\":{\"type\":\"reactHoc\",\"name\":\"withClientHubComponent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withIntegrationsComponent\":{\"type\":\"reactHoc\",\"name\":\"withIntegrationsComponent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ClientHubComponent\":{\"type\":\"override\",\"name\":\"ClientHubComponent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Integrations_Styling.map"],
  "mappings": "uGAAiF,IAAMA,EAAO,CAAC,MAAM,CAAC,QAAQ,MAAM,CAAC,EAAQC,EAAa,CAAC,YAAY,aAAa,WAAW,iCAAiC,EAAS,SAASC,EAAsBC,EAAM,CAAC,GAAK,CAACC,EAAKC,CAAO,EAAEC,EAAS,EAAI,EAC/R,OAAAC,EAAU,IAAI,CAAIN,EAAa,KAAKO,GAAG,SAAS,SAAS,SAASA,CAAC,CAAC,GAAEH,EAAQ,EAAK,CAAE,EAAE,CAAC,CAAC,EAASD,EAAK,CAAC,EAAEJ,CAAO,CAAQ,SAASS,EAAmBN,EAAM,CAAC,GAAK,CAACC,EAAKC,CAAO,EAAEC,EAAS,EAAK,EAC9L,OAAAC,EAAU,IAAI,CAAIN,EAAa,KAAKO,GAAG,SAAS,SAAS,SAASA,CAAC,CAAC,GAAEH,EAAQ,EAAI,CAAE,EAAE,CAAC,CAAC,EAASD,EAAK,CAAC,EAAEJ,CAAO,CAA2J,SAASU,EAA0BC,EAAE,CAAC,OAAOR,IAAQS,EAA+BC,CAAuC,EAASC,EAAKH,EAAE,CAAC,GAAGR,EAAM,GAAGD,EAAsBC,CAAK,CAAC,CAAC,EAAI,CAACO,EAA0B,YAAY,wBAA+B,SAASK,EAAuBJ,EAAE,CAAC,OAAOR,IAAQS,EAA+BC,CAAuC,EAASC,EAAKH,EAAE,CAAC,GAAGR,EAAM,GAAGM,EAAmBN,CAAK,CAAC,CAAC,EAAI,CAACY,EAAuB,YAAY",
  "names": ["hideMe", "clientHubRef", "IntegrationsComponent", "props", "show", "setShow", "ye", "ue", "e", "ClientHubComponent", "withIntegrationsComponent", "C", "re", "DataObserverContext", "p", "withClientHubComponent"]
}
