{"version":3,"file":"CheckoutFlow.B82iwQKs.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.useRef","React.useId","RichText","FIXED_CTA_URL","CheckoutCtaButton","SubscriptionTypeToggle","CheckIcon","PriceNavButton","useState","useReducer","PlanPricingCard","AddonCard"],"sources":["https:/framerusercontent.com/modules/SSeH2JS7zVZYi4Epd32t/bAamq2ENILCgeVyE3XHJ/WeN5UT_Kr.js","https:/framer.com/m/SubscriptionTypeToggle-rhda.js@bAamq2ENILCgeVyE3XHJ","https:/framerusercontent.com/modules/oCSkXiMuP05mAuaZXstw/IJshLUMvjiD9K18Jjyw5/CheckoutButton.js","https:/framerusercontent.com/modules/2TMrLhS4WZCZQ4LlcfQr/ofMxBfrz1ptwjTjnqGwX/PricingTypes.js","https:/framerusercontent.com/modules/pj8QPx1vbhLm84vecwAd/EC1JltguAVov7eyblU6h/CheckoutOverviewCard.js","https:/framerusercontent.com/modules/prwW01QHvkZ42JIN7S5U/6r6foukT1VGcArkjmaUe/SubscriptionTypeTabs.js","https:/framerusercontent.com/modules/6OIgLPqYngyHN5v7G225/RGjfPRRRMC7nIRcwwf22/PlanPricingCardLocal.js","https:/framerusercontent.com/modules/8DKJViVLRebEwpzBljxg/pOBHuUw0qQ6J1FBCuUpp/AddonCardLocal.js","https:/framerusercontent.com/modules/6vB5obt71TQlw4PipTG2/p6x3BYVwp1zxhfWYwb2o/CheckoutFlow.js"],"sourcesContent":["// Generated by Framer (401032d)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";const cycleOrder=[\"sdfjJ8ojI\",\"myjCVNru3\"];const serializationHash=\"framer-3MLtd\";const variantClassNames={myjCVNru3:\"framer-v-1g3riqg\",sdfjJ8ojI:\"framer-v-1vc3ecz\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"};const transformTemplate1=(_,t)=>`translateY(-50%) ${t}`;const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={monthly:\"sdfjJ8ojI\",yearly:\"myjCVNru3\"};const getProps=({height,id,tap,width,...props})=>{return{...props,kcNDokUF5:tap??props.kcNDokUF5,variant:humanReadableVariantMap[props.variant]??props.variant??\"sdfjJ8ojI\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,kcNDokUF5,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"sdfjJ8ojI\",variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1ehvycv=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(kcNDokUF5){const res=await kcNDokUF5(...args);if(res===false)return false;}});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const ref1=React.useRef(null);const defaultLayoutId=React.useId();const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1vc3ecz\",className,classNames),\"data-framer-name\":\"monthly\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"sdfjJ8ojI\",onTap:onTap1ehvycv,ref:ref??ref1,style:{...style},...addPropertyOverrides({myjCVNru3:{\"data-framer-name\":\"yearly\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7UGx1cyBKYWthcnRhIFNhbnMtNzAw\",\"--framer-font-family\":'\"Plus Jakarta Sans\", \"Plus Jakarta Sans Placeholder\", sans-serif',\"--framer-font-size\":\"20px\",\"--framer-font-weight\":\"700\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(40, 40, 40))\"},children:\"Mensile\"})}),className:\"framer-vheapk\",\"data-framer-name\":\"Mensile\",fonts:[\"GF;Plus Jakarta Sans-700\"],layoutDependency:layoutDependency,layoutId:\"WoHU3d8vh\",style:{\"--extracted-r6o4lv\":\"rgb(40, 40, 40)\",\"--framer-paragraph-spacing\":\"0px\"},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({myjCVNru3:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7UGx1cyBKYWthcnRhIFNhbnMtNTAw\",\"--framer-font-family\":'\"Plus Jakarta Sans\", \"Plus Jakarta Sans Placeholder\", sans-serif',\"--framer-font-size\":\"20px\",\"--framer-font-weight\":\"500\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(40, 40, 40))\"},children:\"Mensile\"})}),fonts:[\"GF;Plus Jakarta Sans-500\"]}},baseVariant,gestureVariant)}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-t94xan\",\"data-framer-name\":\"Rectangle 2852\",layoutDependency:layoutDependency,layoutId:\"oIKLDyhW1\",style:{backgroundColor:\"rgb(255, 197, 86)\",borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100},variants:{myjCVNru3:{backgroundColor:\"var(--token-f89c4ccb-f5f4-49e6-bd82-bd370b80a464, rgb(49, 88, 130))\"}},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-ph6qwt\",\"data-framer-name\":\"Ellipse 13\",layoutDependency:layoutDependency,layoutId:\"MUUaA3hFQ\",style:{backgroundColor:\"rgb(49, 88, 130)\",borderBottomLeftRadius:\"100%\",borderBottomRightRadius:\"100%\",borderTopLeftRadius:\"100%\",borderTopRightRadius:\"100%\"},variants:{myjCVNru3:{backgroundColor:\"var(--token-e87dad19-c485-4fc4-96fa-c2749b72e22a, rgb(255, 197, 86))\"}},...addPropertyOverrides({myjCVNru3:{transformTemplate:transformTemplate1}},baseVariant,gestureVariant)})}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7UGx1cyBKYWthcnRhIFNhbnMtNTAw\",\"--framer-font-family\":'\"Plus Jakarta Sans\", \"Plus Jakarta Sans Placeholder\", sans-serif',\"--framer-font-size\":\"20px\",\"--framer-font-weight\":\"500\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(40, 40, 40))\"},children:\"Annuale\"})}),className:\"framer-j61xy2\",\"data-framer-name\":\"Annuale\",fonts:[\"GF;Plus Jakarta Sans-500\"],layoutDependency:layoutDependency,layoutId:\"ewP0vyHWH\",style:{\"--extracted-r6o4lv\":\"rgb(40, 40, 40)\",\"--framer-paragraph-spacing\":\"0px\"},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({myjCVNru3:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7UGx1cyBKYWthcnRhIFNhbnMtNzAw\",\"--framer-font-family\":'\"Plus Jakarta Sans\", \"Plus Jakarta Sans Placeholder\", sans-serif',\"--framer-font-size\":\"20px\",\"--framer-font-weight\":\"700\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(40, 40, 40))\"},children:\"Annuale\"})}),fonts:[\"GF;Plus Jakarta Sans-700\"]}},baseVariant,gestureVariant)})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-3MLtd.framer-1qpyukl, .framer-3MLtd .framer-1qpyukl { display: block; }\",\".framer-3MLtd.framer-1vc3ecz { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: min-content; }\",\".framer-3MLtd .framer-vheapk, .framer-3MLtd .framer-j61xy2 { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-3MLtd .framer-t94xan { flex: none; height: 24px; position: relative; width: 56px; }\",\".framer-3MLtd .framer-ph6qwt { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 16px); position: absolute; right: 35px; top: 4px; width: 16px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-3MLtd.framer-1vc3ecz { gap: 0px; } .framer-3MLtd.framer-1vc3ecz > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-3MLtd.framer-1vc3ecz > :first-child { margin-left: 0px; } .framer-3MLtd.framer-1vc3ecz > :last-child { margin-right: 0px; } }\",\".framer-3MLtd.framer-v-1g3riqg .framer-ph6qwt { right: 5px; top: 50%; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 24\n * @framerIntrinsicWidth 227\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"myjCVNru3\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"kcNDokUF5\":\"tap\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerWeN5UT_Kr=withCSS(Component,css,\"framer-3MLtd\");export default FramerWeN5UT_Kr;FramerWeN5UT_Kr.displayName=\"SubscriptionTypeToggle\";FramerWeN5UT_Kr.defaultProps={height:24,width:227};addPropertyControls(FramerWeN5UT_Kr,{variant:{options:[\"sdfjJ8ojI\",\"myjCVNru3\"],optionTitles:[\"monthly\",\"yearly\"],title:\"Variant\",type:ControlType.Enum},kcNDokUF5:{title:\"Tap\",type:ControlType.EventHandler}});addFonts(FramerWeN5UT_Kr,[{explicitInter:true,fonts:[{family:\"Plus Jakarta Sans\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/plusjakartasans/v8/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_TknNTxXUEKi4Rw.woff2\",weight:\"700\"},{family:\"Plus Jakarta Sans\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/plusjakartasans/v8/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_m07NTxXUEKi4Rw.woff2\",weight:\"500\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerWeN5UT_Kr\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerVariables\":\"{\\\"kcNDokUF5\\\":\\\"tap\\\"}\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"myjCVNru3\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicWidth\":\"227\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"24\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WeN5UT_Kr.map","/*\n * SubscriptionTypeToggle\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/SSeH2JS7zVZYi4Epd32t/bAamq2ENILCgeVyE3XHJ/WeN5UT_Kr.js\"\nexport { default } from \"https://framerusercontent.com/modules/SSeH2JS7zVZYi4Epd32t/bAamq2ENILCgeVyE3XHJ/WeN5UT_Kr.js\"\n","\"use client\";import{jsx as _jsx}from\"react/jsx-runtime\";import CheckoutCtaButton from\"https://framer.com/m/CheckoutCtaButton-NEvD.js@BTqrv4C8PQWjIw04HQKU\";const FIXED_CTA_URL=\"https://resflow.app/solicitud-demo\";export default function CheckoutButton({style}){const openDemo=()=>{window.open(FIXED_CTA_URL,\"_blank\",\"noopener,noreferrer\");};return /*#__PURE__*/_jsx(CheckoutCtaButton,{style:{marginInline:\"auto\",...style},text:\"Solicitar demo\",onClick:openDemo,disabled:false});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CheckoutButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CheckoutButton.map","import{ControlType}from\"framer\";export const SUBSCRIPTION_TYPE_CONTROL={type:ControlType.Enum,defaultValue:\"monthly\",displaySegmentedControl:true,segmentedControlDirection:\"horizontal\",options:[\"monthly\",\"yearly\"],optionTitles:[\"Mensual\",\"Anual\"]};export const ADDON_CONTROL={type:ControlType.Object,controls:{id:{type:ControlType.String,title:\"ID del add-on\",defaultValue:\"addon-1\"},name:{type:ControlType.String,title:\"Nombre del add-on\",defaultValue:\"WiFi\"},description:{type:ControlType.String,title:\"Descripci\\xf3n\",defaultValue:\"Acceso a internet de alta velocidad\"},readMoreUrl:{type:ControlType.String,title:\"URL 'M\\xe1s informaci\\xf3n'\",defaultValue:\"\"},infoDetail:{type:ControlType.String,title:\"Informaci\\xf3n detallada\",defaultValue:\"\"},price:{type:ControlType.Object,title:\"Precio del add-on\",controls:{monthly:{type:ControlType.Number,title:\"Mensual\",defaultValue:10},yearly:{type:ControlType.Number,title:\"Anual\",defaultValue:100}}},showPrice:{type:ControlType.Boolean,title:\"Mostrar precio del add-on\",defaultValue:true},activationPrice:{type:ControlType.Object,title:\"Precio de activaci\\xf3n\",controls:{monthly:{type:ControlType.Number,title:\"Activaci\\xf3n mensual\",defaultValue:5},yearly:{type:ControlType.Number,title:\"Activaci\\xf3n anual\",defaultValue:0}}},chargebeeId:{type:ControlType.Object,title:\"IDs de Chargebee (add-on)\",controls:{monthly:{type:ControlType.String,title:\"Mensual\",defaultValue:\"\"},yearly:{type:ControlType.String,title:\"Anual\",defaultValue:\"\"}}},activationChargebeeId:{type:ControlType.Object,title:\"IDs de Chargebee (activaci\\xf3n)\",controls:{monthly:{type:ControlType.String,title:\"Mensual\",defaultValue:\"\"},yearly:{type:ControlType.String,title:\"Anual\",defaultValue:\"\"}}},addonDependencies:{type:ControlType.Array,title:\"Dependencias\",control:{type:ControlType.String},defaultValue:[]}}};export const PLAN_DETAILS_CONTROLS={price:{type:ControlType.Object,title:\"Precio\",controls:{monthly:{type:ControlType.Number,title:\"Precio mensual\",defaultValue:50},yearly:{type:ControlType.Number,title:\"Precio anual\",defaultValue:500}}},activationPrice:{type:ControlType.Object,title:\"Precio de activaci\\xf3n\",controls:{monthly:{type:ControlType.Number,title:\"Activaci\\xf3n mensual\",defaultValue:100},yearly:{type:ControlType.Number,title:\"Activaci\\xf3n anual\",defaultValue:1e3}}},addons:{type:ControlType.Array,title:\"Add-ons\",control:ADDON_CONTROL}};export const PLAN_CONTROL={type:ControlType.Object,controls:{id:{type:ControlType.String,title:\"ID del plan\",defaultValue:\"plan-1\"},name:{type:ControlType.String,title:\"Nombre del plan\",defaultValue:\"Plan Small\"},seats:{type:ControlType.Array,title:\"Asientos\",control:{type:ControlType.Number},defaultValue:[1,5]},chargebeeId:{type:ControlType.Object,title:\"IDs de Chargebee (plan)\",controls:{monthly:{type:ControlType.String,title:\"Mensual\",defaultValue:\"\"},yearly:{type:ControlType.String,title:\"Anual\",defaultValue:\"\"}}},...PLAN_DETAILS_CONTROLS,showPrice:{type:ControlType.Boolean,title:\"Mostrar precio del plan\",defaultValue:true}}};export function checkoutReducer(state,action){switch(action.type){case\"CHECKOUT/SET_PLAN\":return{...state,selectedPlan:action.payload,selectedAddons:[]};case\"CHECKOUT/TOGGLE_SUBSCRIPTION_TYPE\":return{...state,subscriptionType:state.subscriptionType===\"monthly\"?\"yearly\":\"monthly\"};case\"CHECKOUT/TOGGLE_ADDON\":{const toggledAddon=action.payload;const isSelected=state.selectedAddons.some(a=>a.id===toggledAddon.id);// 👉 SI LO SELECCIONO\nif(!isSelected){const dependenciesToAdd=toggledAddon.addonDependencies??[];const updatedAddons=[...state.selectedAddons,toggledAddon,...dependenciesToAdd.filter(depId=>!state.selectedAddons.some(a=>a.id===depId)).map(depId=>state.selectedPlan?.addons.find(a=>a.id===depId)).filter(Boolean)];return{...state,selectedAddons:updatedAddons};}// 👉 SI LO DESELECCIONO\nconst planAddons=state.selectedPlan?.addons??[];const dependentIds=findAllDependents(toggledAddon.id,planAddons);const updatedSelectedAddons=state.selectedAddons.filter(addon=>addon.id!==toggledAddon.id&&!dependentIds.includes(addon.id));return{...state,selectedAddons:updatedSelectedAddons};}default:return state;}}/**\n * Encuentra recursivamente todos los add-ons que dependen de un add-on concreto.\n */function findAllDependents(removedAddonId,allPlanAddons){const visited=new Set;const queue=[removedAddonId];while(queue.length>0){const currentId=queue.shift();const directDependents=allPlanAddons.filter(addon=>addon.addonDependencies?.includes(currentId));for(const dep of directDependents){if(!visited.has(dep.id)){visited.add(dep.id);queue.push(dep.id);}}}return Array.from(visited);}\nexport const __FramerMetadata__ = {\"exports\":{\"ADDON_CONTROL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CheckoutAction\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PlanDetails\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Price\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SUBSCRIPTION_TYPE_CONTROL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CheckoutState\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Plan\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SubscriptionType\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PLAN_DETAILS_CONTROLS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Addon\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PLAN_CONTROL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"checkoutReducer\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PricingTypes.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import SubscriptionTypeToggle from\"https://framer.com/m/SubscriptionTypeToggle-rhda.js@bAamq2ENILCgeVyE3XHJ\";import CheckoutButton from\"https://framerusercontent.com/modules/oCSkXiMuP05mAuaZXstw/IJshLUMvjiD9K18Jjyw5/CheckoutButton.js\";import CheckIcon from\"https://framer.com/m/CheckIcon-Hq9m.js@4lzieTx0q2GdXQSZCuTk\";import{PLAN_CONTROL,ADDON_CONTROL,SUBSCRIPTION_TYPE_CONTROL}from\"https://framerusercontent.com/modules/2TMrLhS4WZCZQ4LlcfQr/ofMxBfrz1ptwjTjnqGwX/PricingTypes.js\";const MONTHS_IN_A_YEAR=12;const CardHeader=({title,children})=>/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"2rem\",display:\"flex\",flexDirection:\"column\",gap:\"20px\",alignItems:\"center\",borderBottomLeftRadius:\"2rem\",borderBottomRightRadius:\"2rem\",backgroundColor:\"#F5F5F5\"},children:[/*#__PURE__*/_jsx(\"h2\",{style:{fontSize:\"24px\",fontWeight:600,textAlign:\"center\",color:\"#315883\",margin:0},children:title}),children]});const PriceItem=({name,price})=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:\"1rem\",width:\"100%\",alignItems:\"center\",justifyContent:\"space-between\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:\"8px\"},children:[/*#__PURE__*/_jsx(CheckIcon,{style:{height:\"20px\",width:\"20px\",color:\"#315883\"}}),/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:700,fontSize:\"18px\"},children:name})]}),/*#__PURE__*/_jsxs(\"span\",{style:{display:\"flex\",alignItems:\"center\",gap:\"4px\",fontWeight:\"700\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{fontSize:\"24px\"},children:[\"€\",price]}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:\"15px\",whiteSpace:\"nowrap\"},children:\"/ mes\"})]})]});const CardFooter=({totalPrice,activationLabels,selectedSubscriptionType,selectedPlan,selectedAddons})=>/*#__PURE__*/_jsxs(\"div\",{style:{color:\"white\",padding:\"2.5rem 2rem\",display:\"flex\",flexDirection:\"column\",gap:\"2rem\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"flex-end\",gap:\"1.25rem\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:\"0.25rem\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{fontSize:\"36px\",fontWeight:700},children:[\"€\",totalPrice]}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:\"20px\"},children:\"/ mes\"})]}),activationLabels.map((activationLabel,index)=>/*#__PURE__*/_jsx(\"span\",{style:{textAlign:\"end\",fontSize:\"14px\"},children:activationLabel},index))]}),/*#__PURE__*/_jsx(CheckoutButton,{selectedSubscriptionType:selectedSubscriptionType,selectedPlan:selectedPlan,selectedAddons:selectedAddons,style:{marginInline:\"auto\"},title:\"Ir al pago\"})]});const PlanSavings=({selectedPlan,subscriptionType,style})=>{const monthlyCost=selectedPlan.price.monthly*12// Total cost if paid monthly\n;const yearlyCost=selectedPlan.price.yearly*12// Total cost if paid yearly\n;const yearlySavings=monthlyCost-yearlyCost// The savings amount\n;return /*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\",position:\"relative\",...style},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"15px\",height:\"15px\",margin:\"0 auto\",position:\"absolute\",top:\"-14px\",left:\"50%\",transform:\"translateX(-50%)\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"15\",height:\"15\",viewBox:\"0 0 15 15\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M5.76795 3C6.53775 1.66667 8.46225 1.66667 9.23205 3L12.2631 8.25C13.0329 9.58333 12.0707 11.25 10.5311 11.25H4.46891C2.92931 11.25 1.96706 9.58333 2.73686 8.25L5.76795 3Z\",fill:\"#315882\"})})}),/*#__PURE__*/_jsxs(\"div\",{style:{backgroundColor:\"#24528e\",borderRadius:\"999px\",color:\"white\",padding:\"10px 20px\",display:\"inline-block\",fontSize:\"12px\",fontWeight:\"bold\"},children:[\"Ahorra m\\xe1s de \",yearlySavings,\"€\"]})]});};/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/components/auto-sizing\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any\n *\n * @framerIntrinsicWidth 440\n */export default function CheckoutOverviewCard(props){const{selectedSubscriptionType,onSubscriptionTypeChange,selectedPlan,selectedAddons,style}=props;const basePlanPrice=selectedPlan.price[selectedSubscriptionType];const addonsPrice=selectedAddons.reduce((sum,addon)=>sum+addon.price[selectedSubscriptionType],0);const totalPrice=basePlanPrice+addonsPrice;const yearlyCost=totalPrice*MONTHS_IN_A_YEAR;const addonActivationLabels=selectedAddons.filter(addon=>addon.activationPrice[selectedSubscriptionType]>0).map(addon=>`Activaci\\xf3n ${addon.name}: €${addon.activationPrice[selectedSubscriptionType]} + IVA, pago \\xfanico`);const yearlyActivationLabels=[`Pago anual en una sola cuota de €${yearlyCost} + IVA. Sin costes de activaci\\xf3n.`];const activationLabels=selectedSubscriptionType===\"yearly\"?[...yearlyActivationLabels,...addonActivationLabels]:[\"Precio sin IVA\",...addonActivationLabels];return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",maxWidth:\"400px\",borderRadius:\"2.5rem\",overflow:\"hidden\",backgroundColor:\"#315883\",...style},children:[/*#__PURE__*/_jsxs(CardHeader,{title:\"Tu plan\",children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:\"1rem\"},children:[/*#__PURE__*/_jsx(SubscriptionTypeToggle,{variant:selectedSubscriptionType,onClick:onSubscriptionTypeChange}),/*#__PURE__*/_jsx(PlanSavings,{selectedPlan:selectedPlan,subscriptionType:selectedSubscriptionType,style:{position:\"relative\",left:\"50%\",transform:\"translateX(-25%)\"}})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",width:\"100%\",color:\"#315883\",gap:\"1rem\"},children:[/*#__PURE__*/_jsx(PriceItem,{name:selectedPlan.name,price:selectedPlan.price[selectedSubscriptionType]},selectedPlan.name),selectedAddons.map((item,index)=>/*#__PURE__*/_jsx(PriceItem,{name:item.name,price:item.price[selectedSubscriptionType]},index))]})]}),/*#__PURE__*/_jsx(CardFooter,{totalPrice:totalPrice,activationLabels:activationLabels,selectedSubscriptionType:selectedSubscriptionType,selectedPlan:selectedPlan,selectedAddons:selectedAddons})]});}addPropertyControls(CheckoutOverviewCard,{selectedPlan:PLAN_CONTROL,selectedAddons:{type:ControlType.Array,title:\"Add-ons\",control:ADDON_CONTROL},selectedSubscriptionType:SUBSCRIPTION_TYPE_CONTROL});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CheckoutOverviewCard\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicWidth\":\"440\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import PriceNavButton from\"https://framer.com/m/Price-Nav-Button-8qYg.js@kOd86dugkENOmYBaRUoM\";export function buildPlanLabel(seats){const[minSeats,maxSeats]=seats;if(maxSeats===-1)return`${minSeats}+`;if(minSeats===maxSeats)return`${minSeats}+`;return`${minSeats} - ${maxSeats}`;}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n *\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 50\n */export default function SubscriptionTypeTabs({availablePlans,selectedPlan,onSelectPlan,style}){return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"row\",justifyContent:\"center\",alignItems:\"center\",gap:\"1rem\",width:\"100%\",...style},children:availablePlans.map((plan,index)=>/*#__PURE__*/_jsx(PriceNavButton,{label:`${buildPlanLabel(plan.seats)} comensales`,variant:selectedPlan&&selectedPlan.name===plan.name?\"selected\":\"unselected\",onClick:()=>onSelectPlan(plan),style:{width:\"100%\"}},index))});}addPropertyControls(SubscriptionTypeTabs,{availablePlans:{type:ControlType.Array,title:\"Planes disponibles\",control:{type:ControlType.Object,controls:{name:{type:ControlType.String,title:\"Nombre del plan\"}}}},selectedPlan:{type:ControlType.Object,title:\"Plan seleccionado\",controls:{name:{type:ControlType.String,title:\"Nombre del plan\"}}},onSelectPlan:{type:ControlType.EventHandler,title:\"Al seleccionar un plan\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SubscriptionTypeTabs\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicHeight\":\"50\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicWidth\":\"600\"}},\"buildPlanLabel\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SubscriptionTypeTabs.map","\"use client\";import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";export default function PlanPricingCardLocal({planName,seatsCount,planPrice,priceSubtitle,style,ctaText=\"Descubre las funcionalidades incluidas en el plan\",onCtaClick}){return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",borderRadius:24,overflow:\"hidden\",backgroundColor:\"#F5F5F5\",...style},children:[/*#__PURE__*/_jsx(\"div\",{style:{padding:24},children:/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",gap:16},children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:28,fontWeight:800,color:\"#315883\"},children:planName}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:6,fontSize:14,color:\"rgba(0,0,0,0.8)\"},children:seatsCount})]}),/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"right\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:32,fontWeight:900,color:\"#2C7888\"},children:planPrice}),priceSubtitle?/*#__PURE__*/_jsx(\"div\",{style:{marginTop:4,fontSize:11,color:\"rgba(0,0,0,0.55)\"},children:priceSubtitle}):null]})]})}),/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:onCtaClick,style:{width:\"100%\",backgroundColor:\"#F6B94C\",border:\"none\",padding:\"16px 18px\",cursor:onCtaClick?\"pointer\":\"default\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",color:\"#1F4C74\",fontWeight:700,fontSize:14},children:[/*#__PURE__*/_jsx(\"span\",{children:ctaText}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":true,style:{fontSize:18},children:\"›\"})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PlanPricingCardLocal\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PlanPricingCardLocal.map","\"use client\";import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";export default function AddonCardLocal({checkboxState,addonName,description,price,priceSubtitle,readMoreUrl,infoDetail,style,onClick}){const checked=checkboxState===\"checked\";return /*#__PURE__*/_jsxs(\"div\",{onClick:onClick,style:{width:\"100%\",borderRadius:24,border:\"1px solid rgba(49,88,131,0.25)\",padding:20,display:\"flex\",justifyContent:\"space-between\",gap:16,cursor:\"pointer\",backgroundColor:\"white\",...style},children:[/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,display:\"flex\",flexDirection:\"column\",gap:10},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:16,fontWeight:700,color:\"#315883\"},children:addonName}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:12,color:\"rgba(0,0,0,0.7)\",lineHeight:1.4},children:description}),/*#__PURE__*/_jsxs(\"label\",{style:{display:\"flex\",alignItems:\"center\",gap:8,fontSize:12,color:\"#315883\",fontWeight:600},children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",readOnly:true,checked:checked}),\"A\\xf1adir m\\xf3dulo\"]}),infoDetail&&/*#__PURE__*/_jsx(\"div\",{style:{fontSize:11,color:\"rgba(0,0,0,0.55)\"},children:infoDetail}),readMoreUrl&&/*#__PURE__*/_jsx(\"a\",{href:readMoreUrl,target:\"_blank\",rel:\"noopener noreferrer\",onClick:e=>e.stopPropagation(),style:{fontSize:12,color:\"#315883\",fontWeight:600,textDecoration:\"underline\"},children:\"M\\xe1s informaci\\xf3n\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{minWidth:110,textAlign:\"right\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:28,fontWeight:800,color:\"#2C7888\"},children:price}),priceSubtitle&&/*#__PURE__*/_jsx(\"div\",{style:{fontSize:11,color:\"rgba(0,0,0,0.45)\"},children:priceSubtitle})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AddonCardLocal\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AddonCardLocal.map","\"use client\";import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useReducer,useState}from\"react\";import CheckoutOverviewCard from\"https://framerusercontent.com/modules/pj8QPx1vbhLm84vecwAd/EC1JltguAVov7eyblU6h/CheckoutOverviewCard.js\";import{PLAN_CONTROL,checkoutReducer}from\"https://framerusercontent.com/modules/2TMrLhS4WZCZQ4LlcfQr/ofMxBfrz1ptwjTjnqGwX/PricingTypes.js\";import SubscriptionTypeTabs,{buildPlanLabel}from\"https://framerusercontent.com/modules/prwW01QHvkZ42JIN7S5U/6r6foukT1VGcArkjmaUe/SubscriptionTypeTabs.js\";import PlanPricingCard from\"https://framerusercontent.com/modules/6OIgLPqYngyHN5v7G225/RGjfPRRRMC7nIRcwwf22/PlanPricingCardLocal.js\";import AddonCard from\"https://framerusercontent.com/modules/8DKJViVLRebEwpzBljxg/pOBHuUw0qQ6J1FBCuUpp/AddonCardLocal.js\";const TABLET_MAX=1024;const DESKTOP_COLORS={heading:\"#315882\",grayTop:\"#f5f5f5\",darkBase:\"#1F4C74\",buttonBg:\"#2C7888\",buttonText:\"#FFFFFF\"};const TM_COLORS={heading:\"#315882\",grayTop:\"#f5f5f5\",darkBase:\"#305882\",buttonBg:\"#2C7888\",buttonText:\"#FFFFFF\"};const FIXED_CTA_URL=\"https://resflow.app/solicitud-demo\";const TEXT={noPlansTitle:\"No hay planes disponibles\",noPlansBody:\"Por favor, a\\xf1ade al menos un plan en el panel de propiedades.\",optionalModules:\"M\\xf3dulos opcionales\",seatsSuffix:\"asientos\",quoteOnRequest:\"Presupuesto a petici\\xf3n\",monthlyLabel:\"cuota mensual\",yearlyLabel:\"facturado anualmente\",cta:\"Solicitar informaci\\xf3n\",yourPlan:\"Tu plan\"};function useIsTabletMobile(){const[isTM,setIsTM]=useState(()=>typeof window!==\"undefined\"?window.innerWidth<=TABLET_MAX:false);useEffect(()=>{const onResize=()=>setIsTM(window.innerWidth<=TABLET_MAX);window.addEventListener(\"resize\",onResize);return()=>window.removeEventListener(\"resize\",onResize);},[]);return isTM;}export default function CheckoutFlow({plans,layout,tabsDirection}){const initialPlan=plans&&plans.length>0?plans[0]:null;const[state,dispatch]=useReducer(checkoutReducer,{selectedPlan:initialPlan,subscriptionType:\"monthly\",selectedAddons:[]});const{selectedPlan,subscriptionType,selectedAddons}=state;const isTabletMobile=useIsTabletMobile();const COLORS=isTabletMobile?TM_COLORS:DESKTOP_COLORS;if(!plans||plans.length===0){return /*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\",padding:\"2rem\",color:COLORS.heading},children:[/*#__PURE__*/_jsx(\"h2\",{children:TEXT.noPlansTitle}),/*#__PURE__*/_jsx(\"p\",{children:TEXT.noPlansBody})]});}const seatsLabel=buildPlanLabel(selectedPlan?.seats??\"\");const isContactOnly=!!(seatsLabel&&seatsLabel.includes(\"250+\"));const contactUrl=FIXED_CTA_URL;const useGrid=!isTabletMobile&&layout===\"grid\";return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:\"2rem\",alignItems:\"center\",width:\"100%\",fontFamily:\"Plus Jakarta Sans, sans-serif\"},children:[/*#__PURE__*/_jsx(SubscriptionTypeTabs,{availablePlans:plans,selectedPlan:selectedPlan,onSelectPlan:plan=>dispatch({type:\"CHECKOUT/SET_PLAN\",payload:plan}),style:{flexDirection:tabsDirection}}),isTabletMobile&&isContactOnly&&/*#__PURE__*/_jsx(ContactOnlyMergedCard,{url:contactUrl,planName:selectedPlan.name,COLORS:COLORS}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",...useGrid?gridLayoutStyle:columnLayoutStyle},children:[/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\"},children:[!(isTabletMobile&&isContactOnly)&&/*#__PURE__*/_jsx(PlanPricingCard,{planName:selectedPlan.name,visibleMese:!selectedPlan.showPrice,seatsCount:`${seatsLabel} ${TEXT.seatsSuffix}`,planPrice:selectedPlan.showPrice===false?TEXT.quoteOnRequest:isContactOnly?/*#__PURE__*/_jsx(\"span\",{style:{fontSize:\"0.25rem\"},children:TEXT.quoteOnRequest}):`€${selectedPlan.price[subscriptionType]}`,priceSubtitle:selectedPlan.showPrice===false?\"\":isContactOnly?\"\":subscriptionType===\"monthly\"?TEXT.monthlyLabel:TEXT.yearlyLabel,style:{marginBottom:\"3rem\",width:\"100%\"}}),selectedPlan.addons.length>0&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",width:\"100%\",gap:\"1.5rem\"},children:[/*#__PURE__*/_jsx(\"h4\",{style:{fontSize:\"20px\",fontWeight:\"bold\",color:COLORS.heading,margin:0},children:TEXT.optionalModules}),selectedPlan.addons.map(addon=>{const checked=selectedAddons.some(a=>a.id===addon.id);return /*#__PURE__*/_jsx(AddonCard,{checkboxState:checked?\"checked\":\"unchecked\",addonName:addon.name,visibleMeseAddon:addon.showPrice,price:selectedPlan.showPrice===false?\"\":isContactOnly?\"—\":`€${addon.price[subscriptionType]}`,description:addon.description,readMoreUrl:addon.readMoreUrl,infoDetail:addon.infoDetail,priceSubtitle:selectedPlan.showPrice===false?\"\":isContactOnly?\"\":subscriptionType===\"monthly\"?TEXT.monthlyLabel:TEXT.yearlyLabel,style:{width:\"100%\"},onClick:()=>dispatch({type:\"CHECKOUT/TOGGLE_ADDON\",payload:addon})},addon.id);})]})]}),isContactOnly?isTabletMobile?null:/*#__PURE__*/_jsx(ContactOnlyCard,{url:contactUrl,planName:selectedPlan.name,COLORS:COLORS}):/*#__PURE__*/_jsx(CheckoutOverviewCard,{selectedPlan:selectedPlan,onSubscriptionTypeChange:()=>dispatch({type:\"CHECKOUT/TOGGLE_SUBSCRIPTION_TYPE\"}),selectedAddons:selectedAddons,selectedSubscriptionType:subscriptionType,style:{width:\"100%\",position:\"sticky\",height:\"fit-content\",top:\"120px\"}})]})]});}function ContactOnlyCard({url,planName,COLORS}){return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",position:\"sticky\",top:\"120px\",height:\"fit-content\",borderRadius:24,overflow:\"hidden\",boxShadow:\"0 8px 24px rgba(0,0,0,0.08)\",display:\"flex\",flexDirection:\"column\",backgroundColor:COLORS.darkBase},children:[/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"36px 28px\",backgroundColor:COLORS.grayTop},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:0,color:COLORS.heading,fontSize:20,fontWeight:700,textAlign:\"center\"},children:TEXT.yourPlan}),/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:20,color:COLORS.heading,fontWeight:800,fontSize:24,display:\"flex\",alignItems:\"center\",gap:10,justifyContent:\"flex-start\"},children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":true,style:{fontSize:20},children:\"✓\"}),/*#__PURE__*/_jsx(\"span\",{children:planName})]})]}),/*#__PURE__*/_jsx(\"div\",{style:{padding:\"28px\",display:\"flex\",justifyContent:\"center\",borderBottomLeftRadius:24,borderBottomRightRadius:24},children:/*#__PURE__*/_jsx(CTAButton,{url:url,COLORS:COLORS})})]});}function ContactOnlyMergedCard({url,planName,COLORS}){return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",borderRadius:24,overflow:\"hidden\",boxShadow:\"0 8px 24px rgba(0,0,0,0.08)\",display:\"flex\",flexDirection:\"column\",backgroundColor:COLORS.darkBase,marginTop:\"0.5rem\",marginBottom:\"2rem\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{padding:\"28px 24px 24px\",backgroundColor:COLORS.grayTop},children:/*#__PURE__*/_jsx(\"div\",{style:{color:COLORS.heading,fontSize:28,fontWeight:800,lineHeight:1.1},children:planName})}),/*#__PURE__*/_jsx(\"div\",{style:{padding:\"24px\",display:\"flex\",justifyContent:\"center\",borderBottomLeftRadius:24,borderBottomRightRadius:24},children:/*#__PURE__*/_jsx(CTAButton,{url:url,COLORS:COLORS})})]});}function CTAButton({url,COLORS}){return /*#__PURE__*/_jsx(\"a\",{href:url,target:\"_blank\",rel:\"noopener noreferrer\",style:{all:\"unset\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",borderRadius:9999,padding:\"14px 40px\",fontWeight:700,fontSize:16,backgroundColor:COLORS.buttonBg,color:COLORS.buttonText,textAlign:\"center\"},children:TEXT.cta});}const gridLayoutStyle={display:\"grid\",gridTemplateColumns:\"2fr 1fr\",gap:\"1rem\"};const columnLayoutStyle={display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:\"1rem\"};addPropertyControls(CheckoutFlow,{plans:{type:ControlType.Array,title:\"Plans\",control:PLAN_CONTROL},layout:{type:ControlType.Enum,title:\"Layout\",defaultValue:\"grid\",displaySegmentedControl:true,segmentedControlDirection:\"horizontal\",options:[\"grid\",\"column\"],optionTitles:[\"Grid\",\"Column\"]},tabsDirection:{type:ControlType.Enum,title:\"Tabs Direction\",defaultValue:\"row\",displaySegmentedControl:true,segmentedControlDirection:\"horizontal\",options:[\"row\",\"column\"],optionTitles:[\"Row\",\"Column\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CheckoutFlow\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CheckoutFlow.map"],"mapp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