{"version":3,"file":"LoadingBPCheck.Du1Qlua6.mjs","names":["p","React.useState","React.useRef"],"sources":["https:/framerusercontent.com/modules/9HI4NRiAsEmNxF6FUlxv/LJoiRJ02Z9caiDcztdHl/LoadingBPCheck.js"],"sourcesContent":["// CentoLoadingRedirectPulse.tsx\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";function isCanvas(){try{return RenderTarget.current()===RenderTarget.canvas;}catch{return false;}}function normaliseCommaList(v){return(v||\"\").split(\",\").map(s=>s.trim()).filter(Boolean);}function safeGetSessionValue(key){try{return window.sessionStorage.getItem(key);}catch{return null;}}function safeGetLocalValue(key){try{return window.localStorage.getItem(key);}catch{return null;}}function safeJsonParse(raw){try{return JSON.parse(raw);}catch{return null;}}function equalsIgnoreCase(a,b){return String(a??\"\").trim().toLowerCase()===String(b??\"\").trim().toLowerCase();}function hasRequiredFields(obj,fields){if(!obj||typeof obj!==\"object\")return false;return fields.every(f=>{const v=obj?.[f];if(v===null||v===undefined)return false;if(typeof v===\"string\")return v.trim().length>0;return true;});}function redirectTo(url,useReplace){console.log(\"[CentoLoading] redirectTo called with:\",url,\"useReplace:\",useReplace);if(!url){console.log(\"[CentoLoading] Empty URL, not redirecting\");return;}// Force a hard navigation by setting window.location\n// Use window.top to break out of any router context\nconsole.log(\"[CentoLoading] Forcing hard navigation to:\",url);try{if(window.top){window.top.location.href=url;}else{window.location.href=url;}}catch(e){// Fallback if window.top is restricted\nwindow.location.href=url;}}export default function CentoLoadingRedirectPulse(p){const props={// Content\nheadline:\"Securing your spot...\",subline:\"Preparing your personalised plan\",benefit1:\"Lifetime access included\",benefit2:\"100% risk-free - 7-day money-back guarantee\",benefit3:\"One-time payment - no subscription\",// Timing\ntotalDuration:4,// Card styling\ncardBg:\"#ffffff\",cardRadius:18,cardShadow:24,shadowColor:\"rgba(15,23,42,0.16)\",padding:24,// Progress bar\nbarHeight:8,barRadius:999,barTrackColor:\"#E5E7EB\",barFillColor:\"#16A34A\",// Colors\ntextColor:\"#111827\",mutedTextColor:\"#6B7280\",checkColor:\"#16A34A\",checkBg:\"rgba(22,163,74,0.08)\",// Typography\nheadlineFont:undefined,headlineSize:22,headlineWeight:700,bodyFont:undefined,sublineSize:13,benefitSize:14,benefitWeight:500,benefitRowGap:6,// Fallback button\nshowFallbackButton:true,buttonLabel:\"Continue to secure your spot\",buttonBg:\"#111111\",buttonTextColor:\"#ffffff\",buttonRadius:999,buttonFont:undefined,buttonFontSize:15,buttonFontWeight:600,buttonPaddingY:10,buttonPaddingX:20,// Redirect behaviour\nenableRedirect:true,useReplace:true,// Version routing (checked first)\nversionSessionKey:\"version\",versionValues:\"consultation,trial\",versionRedirectUrls:\"/heart-check/consultation,/heart-check/pricing-trial\",// Test routing\ntestSessionKey:\"isTest\",testSessionValue:\"true\",testRedirectUrl:\"/bp/quiz\",// Local storage routing\nlocalStorageKeys:\"cc_result_bp,cc_result_hc\",refField:\"ref\",expectedRefValue:\"bp-protocol\",requiredFields:\"email,cid\",successRedirectUrl:\"/bp/deposit\",fallbackRedirectUrl:\"/bp/waitlist\",debug:false,...p};const[visible1,setVisible1]=React.useState(false);const[visible2,setVisible2]=React.useState(false);const[visible3,setVisible3]=React.useState(false);const[isLoaded,setIsLoaded]=React.useState(false);const redirectScheduledRef=React.useRef(false);const timerRef=React.useRef(null);// Main redirect logic\nReact.useEffect(()=>{if(typeof window===\"undefined\")return;if(redirectScheduledRef.current)return;const inCanvas=isCanvas();redirectScheduledRef.current=true;const totalMs=Math.max(.5,props.totalDuration)*1e3;timerRef.current=window.setTimeout(()=>{console.log(\"[CentoLoading] Timer complete after\",totalMs,\"ms\");setIsLoaded(true);if(!inCanvas&&props.enableRedirect){// Determine redirect URL using original logic\nconst url=determineRedirectUrl();console.log(\"[CentoLoading] Final redirect URL:\",url);if(url){console.log(\"[CentoLoading] Executing redirect now...\");redirectTo(url,props.useReplace);}else{console.log(\"[CentoLoading] No URL to redirect to!\");}}else{console.log(\"[CentoLoading] Redirect skipped. inCanvas:\",inCanvas,\"enableRedirect:\",props.enableRedirect);}},totalMs);return()=>{if(timerRef.current!==null){window.clearTimeout(timerRef.current);timerRef.current=null;}};},[props.totalDuration,props.enableRedirect,props.useReplace,props.versionSessionKey,props.versionValues,props.versionRedirectUrls,props.testSessionKey,props.testSessionValue,props.testRedirectUrl,props.localStorageKeys,props.refField,props.expectedRefValue,props.requiredFields,props.successRedirectUrl,props.fallbackRedirectUrl,props.debug]);// Benefits fade-in timing\nReact.useEffect(()=>{const totalMs=Math.max(.5,props.totalDuration)*1e3;const timers=[];const addTimer=(ms,fn)=>{const id=window.setTimeout(fn,ms);timers.push(id);};addTimer(totalMs*.3,()=>setVisible1(true));addTimer(totalMs*.6,()=>setVisible2(true));addTimer(totalMs*.85,()=>setVisible3(true));return()=>{timers.forEach(id=>window.clearTimeout(id));};},[props.totalDuration]);function determineRedirectUrl(){console.log(\"[CentoLoading] Starting redirect decision...\");if(isCanvas()){console.log(\"[CentoLoading] Canvas detected, skipping redirect\");return\"\";}if(!props.enableRedirect){console.log(\"[CentoLoading] Redirect disabled via setting\");return\"\";}// 0) Version routing - checked FIRST\nconsole.log(\"[CentoLoading] Checking version routing:\",props.versionSessionKey);const versionVal=safeGetSessionValue(props.versionSessionKey);console.log(\"[CentoLoading] Version value:\",versionVal);if(versionVal){const versions=normaliseCommaList(props.versionValues);const urls=normaliseCommaList(props.versionRedirectUrls);console.log(\"[CentoLoading] Configured versions:\",versions);console.log(\"[CentoLoading] Configured URLs:\",urls);const versionIndex=versions.findIndex(v=>equalsIgnoreCase(v,versionVal));if(versionIndex!==-1&&versionIndex<urls.length){const redirectUrl=urls[versionIndex];console.log(\"[CentoLoading] ✓ Version matched:\",versionVal,\"→\",redirectUrl);return redirectUrl;}else{console.log(\"[CentoLoading] Version value didn't match any configured versions\");}}// 1) Session test flag\nconsole.log(\"[CentoLoading] Checking session test flag:\",props.testSessionKey);const testVal=safeGetSessionValue(props.testSessionKey);console.log(\"[CentoLoading] Session value:\",testVal,\"Expected:\",props.testSessionValue);if(equalsIgnoreCase(testVal,props.testSessionValue)){console.log(\"[CentoLoading] ✓ Test flag matched, redirect:\",props.testRedirectUrl);return props.testRedirectUrl;}// 2) Local storage check\nconst keys=normaliseCommaList(props.localStorageKeys);const required=normaliseCommaList(props.requiredFields);console.log(\"[CentoLoading] Checking localStorage keys:\",keys);console.log(\"[CentoLoading] Required fields:\",required);console.log(\"[CentoLoading] Looking for ref field:\",props.refField,\"with value:\",props.expectedRefValue);for(const k of keys){console.log(\"[CentoLoading] Checking key:\",k);const raw=safeGetLocalValue(k);if(!raw){console.log(\"[CentoLoading]   ✗ Key not found or empty\");continue;}console.log(\"[CentoLoading]   Raw value:\",raw.substring(0,100)+\"...\");const parsed=safeJsonParse(raw);if(!parsed){console.log(\"[CentoLoading]   ✗ Failed to parse JSON\");continue;}console.log(\"[CentoLoading]   Parsed object keys:\",Object.keys(parsed));const refVal=parsed?.[props.refField];console.log(\"[CentoLoading]   Ref field value:\",refVal);if(!equalsIgnoreCase(refVal,props.expectedRefValue)){console.log(\"[CentoLoading]   ✗ Ref value mismatch\");continue;}console.log(\"[CentoLoading]   ✓ Ref value matches!\");const hasFields=hasRequiredFields(parsed,required);console.log(\"[CentoLoading]   Required fields present?\",hasFields);if(!hasFields){console.log(\"[CentoLoading]   ✗ Missing required fields\");continue;}console.log(\"[CentoLoading] ✓✓✓ Valid stored result in\",k,\"redirect:\",props.successRedirectUrl);return props.successRedirectUrl;}// 3) Fallback\nconsole.log(\"[CentoLoading] No valid result found, using fallback:\",props.fallbackRedirectUrl);return props.fallbackRedirectUrl;}const headlineFamily=props.headlineFont?.family||props.headlineFont?.fontFamily||\"system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif\";const bodyFamily=props.bodyFont?.family||props.bodyFont?.fontFamily||\"system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif\";const buttonFamily=props.buttonFont?.family||props.buttonFont?.fontFamily||\"system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif\";const wrapperStyle={width:\"100%\",height:\"100%\",boxSizing:\"border-box\",display:\"flex\",flexDirection:\"column\",alignItems:\"stretch\",justifyContent:\"flex-start\",gap:12};const cardStyle={width:\"100%\",boxSizing:\"border-box\",background:props.cardBg,borderRadius:props.cardRadius,boxShadow:props.cardShadow?`0 ${Math.round(props.cardShadow/2)}px ${props.cardShadow}px ${props.shadowColor}`:\"none\",padding:props.padding,display:\"flex\",flexDirection:\"column\",justifyContent:\"flex-start\",gap:16,flexShrink:0};const headerStyle={display:\"flex\",flexDirection:\"column\",gap:6};const headlineStyle={fontFamily:headlineFamily,fontSize:props.headlineSize,fontWeight:props.headlineWeight,color:props.textColor,lineHeight:1.2};const sublineStyle={fontFamily:bodyFamily,fontSize:props.sublineSize,fontWeight:400,color:props.mutedTextColor,lineHeight:1.5};const barTrackStyle={width:\"100%\",height:props.barHeight,borderRadius:props.barRadius,background:props.barTrackColor,overflow:\"hidden\",position:\"relative\",marginTop:10,marginBottom:6};const benefitsWrapper={display:\"flex\",flexDirection:\"column\",gap:props.benefitRowGap,marginTop:4};const benefitRow={display:\"flex\",alignItems:\"flex-start\",gap:8};const benefitText={fontFamily:bodyFamily,fontSize:props.benefitSize,fontWeight:props.benefitWeight,color:props.textColor,lineHeight:1.4};const checkBase={width:20,height:20,borderRadius:999,border:`1px solid ${props.checkColor}`,background:props.checkBg,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,marginTop:2};const fallbackButtonWrapper={display:props.showFallbackButton&&isLoaded?\"flex\":\"none\",justifyContent:\"center\",alignItems:\"center\",width:\"100%\"};const fallbackButtonStyle={border:\"none\",outline:\"none\",cursor:\"pointer\",borderRadius:props.buttonRadius,background:props.buttonBg,color:props.buttonTextColor,padding:`${props.buttonPaddingY}px ${props.buttonPaddingX}px`,fontFamily:buttonFamily,fontSize:props.buttonFontSize,fontWeight:props.buttonFontWeight,lineHeight:1.2,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",whiteSpace:\"nowrap\",minWidth:0,width:\"100%\",textDecoration:\"none\"};const CheckIcon=()=>/*#__PURE__*/_jsx(\"div\",{style:checkBase,children:/*#__PURE__*/_jsx(\"svg\",{width:\"11\",height:\"11\",viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 12.5 9.5 17 19 7.5\",stroke:props.checkColor,strokeWidth:2,strokeLinecap:\"round\",strokeLinejoin:\"round\"})})});const FadeInBenefit=({visible,children})=>/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,y:4},animate:visible?{opacity:1,y:0}:{opacity:0,y:4},transition:{duration:.35,ease:\"easeOut\"},style:{display:visible?\"flex\":\"none\"},children:children});const handleFallbackClick=e=>{if(typeof window===\"undefined\")return;e.preventDefault();const url=determineRedirectUrl();if(url){redirectTo(url,props.useReplace);}};return /*#__PURE__*/_jsxs(\"div\",{style:wrapperStyle,children:[/*#__PURE__*/_jsxs(\"div\",{style:cardStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:headerStyle,children:/*#__PURE__*/_jsx(\"div\",{style:headlineStyle,children:props.headline})}),/*#__PURE__*/_jsx(\"div\",{style:barTrackStyle,children:/*#__PURE__*/_jsx(motion.div,{initial:{width:\"0%\"},animate:{width:\"100%\"},transition:{duration:props.totalDuration,ease:\"easeInOut\"},style:{position:\"absolute\",inset:0,background:props.barFillColor}})}),/*#__PURE__*/_jsx(\"div\",{style:sublineStyle,children:props.subline}),/*#__PURE__*/_jsxs(\"div\",{style:benefitsWrapper,children:[/*#__PURE__*/_jsx(FadeInBenefit,{visible:visible1,children:/*#__PURE__*/_jsxs(\"div\",{style:benefitRow,children:[/*#__PURE__*/_jsx(CheckIcon,{}),/*#__PURE__*/_jsx(\"div\",{style:benefitText,children:props.benefit1})]})}),/*#__PURE__*/_jsx(FadeInBenefit,{visible:visible2,children:/*#__PURE__*/_jsxs(\"div\",{style:benefitRow,children:[/*#__PURE__*/_jsx(CheckIcon,{}),/*#__PURE__*/_jsx(\"div\",{style:benefitText,children:props.benefit2})]})}),/*#__PURE__*/_jsx(FadeInBenefit,{visible:visible3,children:/*#__PURE__*/_jsxs(\"div\",{style:benefitRow,children:[/*#__PURE__*/_jsx(CheckIcon,{}),/*#__PURE__*/_jsx(\"div\",{style:benefitText,children:props.benefit3})]})})]})]}),/*#__PURE__*/_jsx(\"div\",{style:fallbackButtonWrapper,children:/*#__PURE__*/_jsx(\"a\",{href:props.fallbackRedirectUrl,style:fallbackButtonStyle,onClick:handleFallbackClick,children:props.buttonLabel})})]});}addPropertyControls(CentoLoadingRedirectPulse,{// Content\nheadline:{type:ControlType.String,title:\"Headline\",defaultValue:\"Securing your spot...\"},subline:{type:ControlType.String,title:\"Subline\",defaultValue:\"Preparing your personalised plan\"},benefit1:{type:ControlType.String,title:\"Benefit 1\",defaultValue:\"Lifetime access included\"},benefit2:{type:ControlType.String,title:\"Benefit 2\",defaultValue:\"100% risk-free - 7-day money-back guarantee\"},benefit3:{type:ControlType.String,title:\"Benefit 3\",defaultValue:\"One-time payment - no subscription\"},// Timing\ntotalDuration:{type:ControlType.Number,title:\"Duration (seconds)\",defaultValue:4,min:1,max:12,step:.5},// Card styling\ncardBg:{type:ControlType.Color,title:\"Card background\",defaultValue:\"#ffffff\"},cardRadius:{type:ControlType.Number,title:\"Card radius\",defaultValue:18,min:0,max:48},cardShadow:{type:ControlType.Number,title:\"Card shadow\",defaultValue:24,min:0,max:60},shadowColor:{type:ControlType.Color,title:\"Shadow color\",defaultValue:\"rgba(15,23,42,0.16)\"},padding:{type:ControlType.Number,title:\"Card padding\",defaultValue:24,min:8,max:48},// Progress bar\nbarHeight:{type:ControlType.Number,title:\"Bar height\",defaultValue:8,min:4,max:24},barRadius:{type:ControlType.Number,title:\"Bar radius\",defaultValue:999,min:0,max:999},barTrackColor:{type:ControlType.Color,title:\"Bar track color\",defaultValue:\"#E5E7EB\"},barFillColor:{type:ControlType.Color,title:\"Bar fill color\",defaultValue:\"#16A34A\"},// Colors\ntextColor:{type:ControlType.Color,title:\"Text color\",defaultValue:\"#111827\"},mutedTextColor:{type:ControlType.Color,title:\"Subtext color\",defaultValue:\"#6B7280\"},checkColor:{type:ControlType.Color,title:\"Check color\",defaultValue:\"#16A34A\"},checkBg:{type:ControlType.Color,title:\"Check background\",defaultValue:\"rgba(22,163,74,0.08)\"},// Typography\nheadlineFont:{type:ControlType.Font,title:\"Headline font\"},headlineSize:{type:ControlType.Number,title:\"Headline size\",defaultValue:22,min:14,max:40},headlineWeight:{type:ControlType.Number,title:\"Headline weight\",defaultValue:700,min:400,max:900,step:50},bodyFont:{type:ControlType.Font,title:\"Body font\"},sublineSize:{type:ControlType.Number,title:\"Subline size\",defaultValue:13,min:10,max:22},benefitSize:{type:ControlType.Number,title:\"Benefit size\",defaultValue:14,min:10,max:22},benefitWeight:{type:ControlType.Number,title:\"Benefit weight\",defaultValue:500,min:300,max:900,step:50},benefitRowGap:{type:ControlType.Number,title:\"Benefit spacing\",defaultValue:6,min:0,max:32},// Fallback button\nshowFallbackButton:{type:ControlType.Boolean,title:\"Show fallback button\",defaultValue:true},buttonLabel:{type:ControlType.String,title:\"Button label\",defaultValue:\"Continue to secure your spot\"},buttonBg:{type:ControlType.Color,title:\"Button background\",defaultValue:\"#111111\"},buttonTextColor:{type:ControlType.Color,title:\"Button text\",defaultValue:\"#ffffff\"},buttonRadius:{type:ControlType.Number,title:\"Button radius\",defaultValue:999,min:0,max:999},buttonFont:{type:ControlType.Font,title:\"Button font\"},buttonFontSize:{type:ControlType.Number,title:\"Button size\",defaultValue:15,min:10,max:28},buttonFontWeight:{type:ControlType.Number,title:\"Button weight\",defaultValue:600,min:300,max:900,step:50},buttonPaddingY:{type:ControlType.Number,title:\"Button padding Y\",defaultValue:10,min:4,max:24},buttonPaddingX:{type:ControlType.Number,title:\"Button padding X\",defaultValue:20,min:8,max:40},// Redirect behaviour\nenableRedirect:{type:ControlType.Boolean,title:\"Enable redirect\",defaultValue:true},useReplace:{type:ControlType.Boolean,title:\"Use replace\",defaultValue:true},// Version routing (checked first)\nversionSessionKey:{type:ControlType.String,title:\"Version session key\",defaultValue:\"version\"},versionValues:{type:ControlType.String,title:\"Version values\",defaultValue:\"consultation,trial\",description:\"Comma-separated version values to check\"},versionRedirectUrls:{type:ControlType.String,title:\"Version redirect URLs\",defaultValue:\"/heart-check/consultation,/heart-check/pricing-trial\",description:\"Comma-separated URLs (must match version values count)\"},// Test routing\ntestSessionKey:{type:ControlType.String,title:\"Test session key\",defaultValue:\"isTest\"},testSessionValue:{type:ControlType.String,title:\"Test session value\",defaultValue:\"true\"},testRedirectUrl:{type:ControlType.String,title:\"Test redirect URL\",defaultValue:\"/bp/quiz\"},// Local storage routing\nlocalStorageKeys:{type:ControlType.String,title:\"Local storage keys\",defaultValue:\"cc_result_bp,cc_result_hc\"},refField:{type:ControlType.String,title:\"Reference field\",defaultValue:\"ref\"},expectedRefValue:{type:ControlType.String,title:\"Expected ref value\",defaultValue:\"bp-protocol\"},requiredFields:{type:ControlType.String,title:\"Required fields\",defaultValue:\"email,cid\"},successRedirectUrl:{type:ControlType.String,title:\"Success redirect URL\",defaultValue:\"/bp/deposit\"},fallbackRedirectUrl:{type:ControlType.String,title:\"Fallback redirect URL\",defaultValue:\"/bp/waitlist\"},// Debug\ndebug:{type:ControlType.Boolean,title:\"Debug mode\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CentoLoadingRedirectPulse\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LoadingBPCheck.map"],"mappings":"qQACwL,SAAS,GAAU,CAAC,GAAG,CAAC,OAAO,EAAa,SAAS,GAAG,EAAa,YAAa,CAAC,MAAO,IAAQ,SAAS,EAAmB,E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