{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/1k1wz5ADrL8q0eZePvQw/K9StK5wDMIDUWnijMWCB/Actions.js"],
  "sourcesContent": ["/**\n * --------------------------------------------------------------------\n * Gleap: Actions\n * --------------------------------------------------------------------\n * Distributed under the VIAL License:\n * https://www.abruptive.com/policies/vial\n *\n * Unauthorized access or use of this code will result in prosecution\n * according to the furthest extent of the law.\n *\n * \u00A9 Abruptive LLC \u00B7 All Rights Reserved\n * --------------------------------------------------------------------\n */import{jsx as _jsx}from\"react/jsx-runtime\";import{isFramer}from\"https://framerusercontent.com/modules/xbyJH4uSP5O2i9iSVF4l/f5WPGKnvEZbEpCLTZvrK/core.js\";/**\n * --------------------------------------------------------------------\n * Overrides\n * --------------------------------------------------------------------\n *//**\n * Open the regular Gleap chat.\n */export function openChat(Component){if(isFramer)return props=>/*#__PURE__*/_jsx(Component,{...props});return props=>{const onClick=e=>{window.Gleap.startConversation();e.preventDefault();return false;};return /*#__PURE__*/_jsx(\"span\",{onClick:onClick,role:\"button\",children:/*#__PURE__*/_jsx(Component,{...props})});};}/**\n * Open the feature request flow.\n */export function openFeatureRequest(Component){if(isFramer)return props=>/*#__PURE__*/_jsx(Component,{...props});return props=>{const onClick=e=>{window.Gleap.startFeedbackFlow(\"featurerequests\");e.preventDefault();return false;};return /*#__PURE__*/_jsx(\"span\",{onClick:onClick,role:\"button\",children:/*#__PURE__*/_jsx(Component,{...props})});};}/**\n * Open the bugs flow.\n */export function openBugReport(Component){if(isFramer)return props=>/*#__PURE__*/_jsx(Component,{...props});return props=>{const onClick=e=>{window.Gleap.startFeedbackFlow(\"bugreporting\");e.preventDefault();return false;};return /*#__PURE__*/_jsx(\"span\",{onClick:onClick,role:\"button\",children:/*#__PURE__*/_jsx(Component,{...props})});};}/**\n * Open the roadmap.\n */export function openRoadmap(Component){if(isFramer)return props=>/*#__PURE__*/_jsx(Component,{...props});return props=>{const onClick=e=>{window.Gleap.openFeatureRequests(true);e.preventDefault();return false;};return /*#__PURE__*/_jsx(\"span\",{onClick:onClick,role:\"button\",children:/*#__PURE__*/_jsx(Component,{...props})});};}/**\n * Open the news flow.\n */export function openNews(Component){if(isFramer)return props=>/*#__PURE__*/_jsx(Component,{...props});return props=>{const onClick=e=>{window.Gleap.openNews();e.preventDefault();return false;};return /*#__PURE__*/_jsx(\"span\",{onClick:onClick,role:\"button\",children:/*#__PURE__*/_jsx(Component,{...props})});};}/**\n * Open a help center collection.\n */export function openHelp(Component){if(isFramer)return props=>/*#__PURE__*/_jsx(Component,{...props});return props=>{const onClick=e=>{window.Gleap.openHelpCenter(false);e.preventDefault();return false;};return /*#__PURE__*/_jsx(\"span\",{onClick:onClick,role:\"button\",children:/*#__PURE__*/_jsx(Component,{...props})});};}/**\n * Open a help center collection.\n */export function openHelpCollection(Component){if(isFramer)return props=>/*#__PURE__*/_jsx(Component,{...props});return props=>{const{collectionID}=props;if(!collectionID){console.error(\"Invalid collection ID for element wrapped in withHelpCollection\",collectionID);}const onClick=e=>{window.Gleap.openHelpCenterCollection(collectionID,false);e.preventDefault();return false;};return /*#__PURE__*/_jsx(\"span\",{onClick:onClick,role:\"button\",children:/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"openRoadmap\":{\"type\":\"reactHoc\",\"name\":\"openRoadmap\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"openNews\":{\"type\":\"reactHoc\",\"name\":\"openNews\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"openHelpCollection\":{\"type\":\"reactHoc\",\"name\":\"openHelpCollection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"openHelp\":{\"type\":\"reactHoc\",\"name\":\"openHelp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"openChat\":{\"type\":\"reactHoc\",\"name\":\"openChat\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"openBugReport\":{\"type\":\"reactHoc\",\"name\":\"openBugReport\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"openFeatureRequest\":{\"type\":\"reactHoc\",\"name\":\"openFeatureRequest\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "2HAkBU,SAASA,EAASC,EAAU,CAAC,OAAGC,EAAgBC,GAAoBC,EAAKH,EAAU,CAAC,GAAGE,CAAK,CAAC,EAASA,GAAiHC,EAAK,OAAO,CAAC,QAAxGC,IAAIC,EAAO,MAAM,kBAAkB,EAAED,EAAE,eAAe,EAAS,IAAyD,KAAK,SAAS,SAAsBD,EAAKH,EAAU,CAAC,GAAGE,CAAK,CAAC,CAAC,CAAC,CAAI,CAEvT,SAASI,EAAmBN,EAAU,CAAC,OAAGC,EAAgBC,GAAoBC,EAAKH,EAAU,CAAC,GAAGE,CAAK,CAAC,EAASA,GAAkIC,EAAK,OAAO,CAAC,QAAzHC,IAAIC,EAAO,MAAM,kBAAkB,iBAAiB,EAAED,EAAE,eAAe,EAAS,IAAyD,KAAK,SAAS,SAAsBD,EAAKH,EAAU,CAAC,GAAGE,CAAK,CAAC,CAAC,CAAC,CAAI,CAElV,SAASK,EAAcP,EAAU,CAAC,OAAGC,EAAgBC,GAAoBC,EAAKH,EAAU,CAAC,GAAGE,CAAK,CAAC,EAASA,GAA+HC,EAAK,OAAO,CAAC,QAAtHC,IAAIC,EAAO,MAAM,kBAAkB,cAAc,EAAED,EAAE,eAAe,EAAS,IAAyD,KAAK,SAAS,SAAsBD,EAAKH,EAAU,CAAC,GAAGE,CAAK,CAAC,CAAC,CAAC,CAAI,CAM1U,SAASM,EAASC,EAAU,CAAC,OAAGC,EAAgBC,GAAoBC,EAAKH,EAAU,CAAC,GAAGE,CAAK,CAAC,EAASA,GAAmHC,EAAK,OAAO,CAAC,QAA1GC,IAAIC,EAAO,MAAM,eAAe,EAAK,EAAED,EAAE,eAAe,EAAS,IAAyD,KAAK,SAAS,SAAsBD,EAAKH,EAAU,CAAC,GAAGE,CAAK,CAAC,CAAC,CAAC,CAAI,CAEzT,SAASI,EAAmBN,EAAU,CAAC,OAAGC,EAAgBC,GAAoBC,EAAKH,EAAU,CAAC,GAAGE,CAAK,CAAC,EAASA,GAAO,CAAC,GAAK,CAAC,aAAAK,CAAY,EAAEL,EAAM,OAAIK,GAAc,QAAQ,MAAM,kEAAkEA,CAAY,EAAqIJ,EAAK,OAAO,CAAC,QAAjIC,IAAIC,EAAO,MAAM,yBAAyBE,EAAa,EAAK,EAAEH,EAAE,eAAe,EAAS,IAAyD,KAAK,SAAS,SAAsBD,EAAKH,EAAU,CAAC,GAAGE,CAAK,CAAC,CAAC,CAAC,CAAE,CAAE",
  "names": ["openChat", "Component", "isFramer", "props", "p", "e", "window", "openFeatureRequest", "openBugReport", "openHelp", "Component", "isFramer", "props", "p", "e", "window", "openHelpCollection", "collectionID"]
}
