{"version":3,"file":"shared-lib.Ddd4ZE89.mjs","names":["__esmMin","window","init_ssg_sandbox_shims","init_jsx_runtime","c","trackInAmplitude","props","Component","logAmplitudeEvent","init_Amplitude","trackingOptions","options","name"],"sources":["https:/framerusercontent.com/modules/1TUkPfGcKn7ybEsOcQJv/OFpOsPXGNDfrHDCRrIHH/Amplitude.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function trackInAmplitude(Component){return props=>{if(props.amplitudeTrackingName!==\"\"&&props.amplitudeTrackingLabel!==\"\"&&props.amplitudeTrackingFrom!==\"\"){return /*#__PURE__*/_jsx(Component,{...props,amplitudeTrackingTrigger:()=>{logAmplitudeEvent(props.amplitudeTrackingName,{label:props.amplitudeTrackingLabel,from:props.amplitudeTrackingFrom});}});}return /*#__PURE__*/_jsx(Component,{...props});};}// Log event in Amplitude\nexport const logAmplitudeEvent=(name,options)=>{if(window){const trackingOptions={screenURL:document?.location.href,screenPath:document?.location.pathname,screenPageTitle:document?.title,...options};window.amplitude.track(`marketing_site_${name}`,trackingOptions);}};\nexport const __FramerMetadata__ = {\"exports\":{\"trackInAmplitude\":{\"type\":\"reactHoc\",\"name\":\"trackInAmplitude\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"logAmplitudeEvent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Amplitude.map"],"mappings":"A,kHAA2C,SAAgBK,EAAiB,EAAU,CAAC,MAAO,IAAWC,EAAM,wBAAwB,IAAIA,EAAM,yBAAyB,IAAIA,EAAM,wBAAwB,GAAwB,gBAAKC,EAAU,CAAC,GAAGD,EAAM,6BAA6B,CAACE,EAAkBF,EAAM,sBAAsB,CAAC,MAAMA,EAAM,uBAAuB,KAAKA,EAAM,qBAAqB,CAAC,CAAE,CAAC,CAAC,EAAuB,gBAAKC,EAAU,CAAC,GAAGD,CAAK,CAAC,CAAI,C,4CACzb,GAAmB,EAAK,IAAU,CAAC,GAAGL,EAAO,CAAC,IAAMS,EAAgB,CAAC,UAAU,UAAU,SAAS,KAAK,WAAW,UAAU,SAAS,SAAS,gBAAgB,UAAU,MAAM,GAAGC,CAAO,EAAEV,EAAO,UAAU,MAAM,kBAAkBW,IAAOF,CAAe,CAAE,CAAC,C"}