{"version":3,"file":"GoogleTagConversion.uD64LzDM.mjs","names":["useState","useMemo"],"sources":["https:/framerusercontent.com/modules/g7wrb0KsMQldHnlNBqXS/EvNhJ0CRlvEF6b71cveK/ZUIwk3gp7.js","https:/framerusercontent.com/modules/gS77WLU6Y6IhtgeGrjCU/4B6RSgnR4RFVVQGW7nhx/GoogleTagConversion.js"],"sourcesContent":["// Generated by Framer (c0aead9)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOM;Season Mix TRIAL Regular\",\"CUSTOMV2;Season Mix TRIAL Regular\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Season Mix TRIAL Regular\",source:\"custom\",style:\"normal\",uiFamilyName:\"Season Mix TRIAL\",url:\"https://framerusercontent.com/assets/l5zBm0x74D40igDEDIKFy3tn1I.woff2\",weight:\"420\"},{cssFamilyName:\"Season Mix TRIAL Regular\",source:\"custom\",style:\"normal\",uiFamilyName:\"Season Mix TRIAL\",url:\"https://framerusercontent.com/assets/l5zBm0x74D40igDEDIKFy3tn1I.woff2\",weight:\"420\"}]}];export const css=['.framer-H8SfJ .framer-styles-preset-12q4940:not(.rich-text-wrapper), .framer-H8SfJ .framer-styles-preset-12q4940.rich-text-wrapper h3 { --framer-font-family: \"Season Mix TRIAL Regular\", sans-serif; --framer-font-family-bold: \"Season Mix TRIAL Regular\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 2.5); --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 420; --framer-font-weight-bold: 420; --framer-letter-spacing: -0.03em; --framer-line-height: 1.1em; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1919px) and (min-width: 1440px) { .framer-H8SfJ .framer-styles-preset-12q4940:not(.rich-text-wrapper), .framer-H8SfJ .framer-styles-preset-12q4940.rich-text-wrapper h3 { --framer-font-family: \"Season Mix TRIAL Regular\", sans-serif; --framer-font-family-bold: \"Season Mix TRIAL Regular\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 2.5); --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 420; --framer-font-weight-bold: 420; --framer-letter-spacing: -0.03em; --framer-line-height: 1.1em; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 1439px) and (min-width: 1200px) { .framer-H8SfJ .framer-styles-preset-12q4940:not(.rich-text-wrapper), .framer-H8SfJ .framer-styles-preset-12q4940.rich-text-wrapper h3 { --framer-font-family: \"Season Mix TRIAL Regular\", sans-serif; --framer-font-family-bold: \"Season Mix TRIAL Regular\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 2.3); --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 420; --framer-font-weight-bold: 420; --framer-letter-spacing: -0.03em; --framer-line-height: 1.1em; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 1199px) and (min-width: 810px) { .framer-H8SfJ .framer-styles-preset-12q4940:not(.rich-text-wrapper), .framer-H8SfJ .framer-styles-preset-12q4940.rich-text-wrapper h3 { --framer-font-family: \"Season Mix TRIAL Regular\", sans-serif; --framer-font-family-bold: \"Season Mix TRIAL Regular\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 2.2); --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 420; --framer-font-weight-bold: 420; --framer-letter-spacing: -0.03em; --framer-line-height: 1.1em; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-H8SfJ .framer-styles-preset-12q4940:not(.rich-text-wrapper), .framer-H8SfJ .framer-styles-preset-12q4940.rich-text-wrapper h3 { --framer-font-family: \"Season Mix TRIAL Regular\", sans-serif; --framer-font-family-bold: \"Season Mix TRIAL Regular\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 1.5); --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 420; --framer-font-weight-bold: 420; --framer-letter-spacing: -0.03em; --framer-line-height: 1.1em; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-H8SfJ\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useMemo,useState}from\"react\";function resolveVariantText(variant){if(variant===\"get-access\")return\"Get Access\";if(variant===\"excel-add-in\")return\"Get Excel Add-in\";return null// control: keep original\n;}function applyTextToProps(props,text){// Try common label props used by Framer components\nconst candidates=[\"text\",\"label\",\"title\",\"children\"];for(const key of candidates){if(key in props){// Only set if it's a simple value (avoid clobbering complex children trees)\nif(key===\"children\"){// If children is already a React element, don't replace it blindly.\n// Only replace if it's string-like.\nif(typeof props.children===\"string\"||typeof props.children===\"number\"||props.children==null){return{...props,children:text};}continue;}// text/label/title are usually strings — safe to override\nreturn{...props,[key]:text};}}// If none found, just add `text` (some components read it even if not present)\nreturn{...props,text};}export function withGoogleConversionTracking(Component){return props=>{const[variantText,setVariantText]=useState(null);useEffect(()=>{if(typeof posthog===\"undefined\")return;const apply=()=>{const v=posthog.getFeatureFlag(\"cta-texts\");setVariantText(resolveVariantText(v));};apply();posthog.onFeatureFlags(apply);},[]);const mergedProps=useMemo(()=>{if(!variantText)return props;return applyTextToProps(props,variantText);},[props,variantText]);return /*#__PURE__*/_jsx(Component,{...mergedProps,onClick:event=>{// Keep existing behavior\nprops.onClick?.(event);const conversionId=\"AW-17096451737\";if(typeof gtag===\"function\"){gtag(\"event\",\"conversion\",{send_to:conversionId});}else{console.error(\"gtag function not found.\");}}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withGoogleConversionTracking\":{\"type\":\"reactHoc\",\"name\":\"withGoogleConversionTracking\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GoogleTagConversion.map"],"mappings":"yMAC8B,GAAU,UAAU,CAAC,kCAAkC,oCAAoC,CAAC,CAAc,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,cAAc,2BAA2B,OAAO,SAAS,MAAM,SAAS,aAAa,mBAAmB,IAAI,wEAAwE,OAAO,MAAM,CAAC,CAAC,cAAc,2BAA2B,OAAO,SAAS,MAAM,SAAS,aAAa,mBAAmB,IAAI,wEAAwE,OAAO,MAAM,CAAC,CAAC,CAAC,CAAc,EAAI,CAAC,m0BAAm0B,03BAA03B,03BAA03B,y3BAAy3B,s3BAAs3B,CAAc,EAAU,kBCD1yJ,SAAS,EAAmB,EAAQ,CAAmG,OAA/F,IAAU,aAAmB,aAAgB,IAAU,eAAqB,mBAA0B,KACrO,SAAS,EAAiB,EAAM,EAAK,CACc,IAAI,IAAM,IAA9C,CAAC,OAAO,QAAQ,QAAQ,WAAW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