{"version":3,"file":"FetchUrlText_complete.-ewrfLBC.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/JqKmtpbQtJzabAU4Lj9R/Vxfi5eRTDAVjvcV27fqP/FetchUrlText_complete.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";/**\n * Ultra-Fast URL Parameter Text Override for Framer\n * Optimized for instant loading with no flash\n *\n * Setup:\n * 1. Set your text layers to opacity: 0 in Framer\n * 2. Apply these overrides for instant text replacement\n */// Cache URL params for maximum speed\nconst params=typeof window!==\"undefined\"?new URLSearchParams(window.location.search):null;// Instant headline replacement\nexport function withHeadline(){// Server-side: keep hidden\nif(!params)return{opacity:0};const headline=params.get(\"headline\");// Instant show with or without replacement\nreturn headline?{text:decodeURIComponent(headline),opacity:1}:{opacity:1};}// Instant headline2 replacement\nexport function withHeadline2(){if(!params)return{opacity:0};const headline2=params.get(\"headline2\");return headline2?{text:decodeURIComponent(headline2),opacity:1}:{opacity:1};}// Instant subheadline replacement\nexport function withSubheadline(){if(!params)return{opacity:0};const subheadline=params.get(\"subheadline\");return subheadline?{text:decodeURIComponent(subheadline),opacity:1}:{opacity:1};}// Instant pill text replacement\nexport function withPillText(){if(!params)return{opacity:0};const pilltext=params.get(\"pilltext\");return pilltext?{text:decodeURIComponent(pilltext),opacity:1}:{opacity:1};}// Instant button text replacement\nexport function withButtonText(){if(!params)return{opacity:0};const buttontext=params.get(\"buttontext\");return buttontext?{text:decodeURIComponent(buttontext),opacity:1}:{opacity:1};}// Alternative: Using CSS injection for even faster performance\n// This runs before React hydration\nexport function withInstantHeadline(){if(typeof window===\"undefined\")return{opacity:0};// Inject style immediately to prevent any flash\nif(!window.__textOverrideInjected){window.__textOverrideInjected=true;const style=document.createElement(\"style\");style.innerHTML=`\n            [data-framer-component-type=\"Text\"] {\n                opacity: 0 !important;\n                transition: none !important;\n            }\n            [data-framer-component-type=\"Text\"].text-loaded {\n                opacity: 1 !important;\n            }\n        `;document.head.appendChild(style);// Clean up after a tiny delay\nrequestAnimationFrame(()=>{document.querySelectorAll('[data-framer-component-type=\"Text\"]').forEach(el=>{el.classList.add(\"text-loaded\");});setTimeout(()=>style.remove(),100);});}const headline=params?.get(\"headline\");return headline?{text:decodeURIComponent(headline),opacity:1}:{opacity:1};}// Performance-optimized version with memoization\nconst textCache=new Map;export function withCachedHeadline(){if(!params)return{opacity:0};const cacheKey=\"headline\";// Check cache first\nif(textCache.has(cacheKey)){return textCache.get(cacheKey);}const headline=params.get(\"headline\");const override=headline?{text:decodeURIComponent(headline),opacity:1}:{opacity:1};textCache.set(cacheKey,override);return override;}export function withCachedHeadline2(){if(!params)return{opacity:0};const cacheKey=\"headline2\";if(textCache.has(cacheKey)){return textCache.get(cacheKey);}const headline2=params.get(\"headline2\");const override=headline2?{text:decodeURIComponent(headline2),opacity:1}:{opacity:1};textCache.set(cacheKey,override);return override;}export function withCachedSubheadline(){if(!params)return{opacity:0};const cacheKey=\"subheadline\";if(textCache.has(cacheKey)){return textCache.get(cacheKey);}const subheadline=params.get(\"subheadline\");const override=subheadline?{text:decodeURIComponent(subheadline),opacity:1}:{opacity:1};textCache.set(cacheKey,override);return override;}export function withCachedPillText(){if(!params)return{opacity:0};const cacheKey=\"pilltext\";if(textCache.has(cacheKey)){return textCache.get(cacheKey);}const pilltext=params.get(\"pilltext\");const override=pilltext?{text:decodeURIComponent(pilltext),opacity:1}:{opacity:1};textCache.set(cacheKey,override);return override;}export function withCachedButtonText(){if(!params)return{opacity:0};const cacheKey=\"buttontext\";if(textCache.has(cacheKey)){return textCache.get(cacheKey);}const buttontext=params.get(\"buttontext\");const override=buttontext?{text:decodeURIComponent(buttontext),opacity:1}:{opacity:1};textCache.set(cacheKey,override);return override;}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withwithHeadline(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...withHeadline(props)});};}withwithHeadline.displayName=\"withHeadline\";export function withwithHeadline2(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...withHeadline2(props)});};}withwithHeadline2.displayName=\"withHeadline2\";export function withwithSubheadline(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...withSubheadline(props)});};}withwithSubheadline.displayName=\"withSubheadline\";export function withwithPillText(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...withPillText(props)});};}withwithPillText.displayName=\"withPillText\";export function withwithButtonText(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...withButtonText(props)});};}withwithButtonText.displayName=\"withButtonText\";export function withwithInstantHeadline(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...withInstantHeadline(props)});};}withwithInstantHeadline.displayName=\"withInstantHeadline\";export function withwithCachedHeadline(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...withCachedHeadline(props)});};}withwithCachedHeadline.displayName=\"withCachedHeadline\";export function withwithCachedHeadline2(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...withCachedHeadline2(props)});};}withwithCachedHeadline2.displayName=\"withCachedHeadline2\";export function withwithCachedSubheadline(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...withCachedSubheadline(props)});};}withwithCachedSubheadline.displayName=\"withCachedSubheadline\";export function withwithCachedPillText(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...withCachedPillText(props)});};}withwithCachedPillText.displayName=\"withCachedPillText\";export function withwithCachedButtonText(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...withCachedButtonText(props)});};}withwithCachedButtonText.displayName=\"withCachedButtonText\";\nexport const __FramerMetadata__ = {\"exports\":{\"withSubheadline\":{\"type\":\"override\",\"name\":\"withSubheadline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withwithCachedHeadline\":{\"type\":\"reactHoc\",\"name\":\"withwithCachedHeadline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withwithButtonText\":{\"type\":\"reactHoc\",\"name\":\"withwithButtonText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCachedSubheadline\":{\"type\":\"override\",\"name\":\"withCachedSubheadline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCachedHeadline\":{\"type\":\"override\",\"name\":\"withCachedHeadline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withwithHeadline2\":{\"type\":\"reactHoc\",\"name\":\"withwithHeadline2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withwithCachedButtonText\":{\"type\":\"reactHoc\",\"name\":\"withwithCachedButtonText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withwithSubheadline\":{\"type\":\"reactHoc\",\"name\":\"withwithSubheadline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withwithPillText\":{\"type\":\"reactHoc\",\"name\":\"withwithPillText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withInstantHeadline\":{\"type\":\"override\",\"name\":\"withInstantHeadline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCachedPillText\":{\"type\":\"override\",\"name\":\"withCachedPillText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCachedButtonText\":{\"type\":\"override\",\"name\":\"withCachedButtonText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withwithCachedSubheadline\":{\"type\":\"reactHoc\",\"name\":\"withwithCachedSubheadline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeadline\":{\"type\":\"override\",\"name\":\"withHeadline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPillText\":{\"type\":\"override\",\"name\":\"withPillText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withButtonText\":{\"type\":\"override\",\"name\":\"withButtonText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withwithInstantHeadline\":{\"type\":\"reactHoc\",\"name\":\"withwithInstantHeadline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withwithCachedPillText\":{\"type\":\"reactHoc\",\"name\":\"withwithCachedPillText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeadline2\":{\"type\":\"override\",\"name\":\"withHeadline2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withwithCachedHeadline2\":{\"type\":\"reactHoc\",\"name\":\"withwithCachedHeadline2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCachedHeadline2\":{\"type\":\"override\",\"name\":\"withCachedHeadline2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withwithHeadline\":{\"type\":\"reactHoc\",\"name\":\"withwithHeadline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FetchUrlText_complete.map"],"mappings":"yRASA,SAAgB,GAAc,CAC9B,GAAG,CAAC,EAAO,MAAM,CAAC,QAAQ,EAAE,CAAC,IAAM,EAAS,EAAO,IAAI,YACvD,OAAO,EAAS,CAAC,KAAK,mBAAmB,GAAU,QAAQ,EAAE,CAAC,CAAC,QAAQ,EAAE,AAAE,CAC3E,SAAgB,GAAe,CAAC,GAAG,CAAC,EAAO,MAAM,CAAC,QAAQ,EAAE,CAAC,IAAM,EAAU,EAAO,IAAI,aAAa,OAAO,EAAU,CAAC,KAAK,mBAAmB,GAAW,QAAQ,EAAE,CAAC,CAAC,QAAQ,EAAE,AAAE,CAClL,SAAgB,GAAiB,CAAC,GAAG,CAAC,EAAO,MAAM,CAAC,QAAQ,EAAE,CAAC,IAAM,EAAY,EAAO,IAAI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