{"version":3,"file":"ImageComparison.BrdJHXtG.mjs","names":["CTAButton","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","Image1","RichText","useState","useRef","useCallback"],"sources":["https:/framerusercontent.com/modules/YJCZD5Iny7oo4VhpxC2k/4oIhCrDKGBjabFQM0RYg/NyghqP0fr.js","https:/framerusercontent.com/modules/E97xndxy9dhMxfIuKuhT/xynREgHbFrrMSgjoDipJ/ImageComparison.js"],"sourcesContent":["// Generated by Framer (4ecd144)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,forwardLoader,getFonts,getLoadingLazyAtYPosition,Image as Image1,RichText,runTasksWithYield,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import CTAButton from\"https://framerusercontent.com/modules/tuelMscvLXYD0dTiM4rx/0qXCmyQRPcwEzT2ngIqb/y8QxDgjvn.js\";const CTAButtonFonts=getFonts(CTAButton);const serializationHash=\"framer-NtDXo\";const variantClassNames={z9vF2gNfb:\"framer-v-x7hvd2\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const uqLTBHepI=undefined;const qF70wURb5=undefined;const ze47lK5Wg=undefined;const ixY1XOZkB=undefined;const XjzXpdasp=undefined;const cFGYk2xdy=undefined;const U77tGbzfP=undefined;const lsA91segS=undefined;const u2148nJhc=undefined;const MIeqB3Ba3=undefined;const cjB4_B9H7=undefined;const vSD1iiVyM=undefined;const Tt_WmfvSf=undefined;const bNzo07N1i=undefined;const P1Wf8BLwR=undefined;const UrEoTrPgW=undefined;const MPNYJclH9=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const matchVariant=(...args)=>{for(const arg of args){if(arg&&typeof arg===\"string\")return arg;}return undefined;};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 getProps=({beneficio1,beneficio2,beneficio3,bolivia,chile,colombia,costaRica,ecuador,elSalvador,guatemala,height,id,imagen,m_xico,nombre,panama,per_,puertoRico,republicaDominicana,width,...props})=>{return{...props,bNzo07N1i:guatemala??props.bNzo07N1i,cFGYk2xdy:chile??props.cFGYk2xdy,cjB4_B9H7:m_xico??props.cjB4_B9H7,ixY1XOZkB:beneficio2??props.ixY1XOZkB??\"✓Cepillo Long Effect\",lsA91segS:colombia??props.lsA91segS,MIeqB3Ba3:panama??props.MIeqB3Ba3,MPNYJclH9:puertoRico??props.MPNYJclH9,P1Wf8BLwR:republicaDominicana??props.P1Wf8BLwR,qF70wURb5:nombre??props.qF70wURb5??\"MEGA FULL SIZE\",Tt_WmfvSf:elSalvador??props.Tt_WmfvSf,u2148nJhc:ecuador??props.u2148nJhc,U77tGbzfP:per_??props.U77tGbzfP,uqLTBHepI:imagen??props.uqLTBHepI??{pixelHeight:341,pixelWidth:206,src:\"https://framerusercontent.com/images/U97xb91HAlCEDtDakqEQMv6f2fg.webp?width=206&height=341\"},UrEoTrPgW:costaRica??props.UrEoTrPgW,vSD1iiVyM:bolivia??props.vSD1iiVyM,XjzXpdasp:beneficio3??props.XjzXpdasp??\"✓Ligera y sin grumos\",ze47lK5Wg:beneficio1??props.ze47lK5Wg??\"✓Largo insuperable\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,uqLTBHepI,qF70wURb5,ze47lK5Wg,ixY1XOZkB,XjzXpdasp,cFGYk2xdy,U77tGbzfP,lsA91segS,u2148nJhc,MIeqB3Ba3,cjB4_B9H7,vSD1iiVyM,Tt_WmfvSf,bNzo07N1i,P1Wf8BLwR,UrEoTrPgW,MPNYJclH9,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"z9vF2gNfb\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);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-x7hvd2\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Primary\",layoutDependency:layoutDependency,layoutId:\"z9vF2gNfb\",ref:refBinding,style:{\"--border-bottom-width\":\"2px\",\"--border-color\":\"rgba(0, 0, 0, 0.5)\",\"--border-left-width\":\"2px\",\"--border-right-width\":\"2px\",\"--border-style\":\"solid\",\"--border-top-width\":\"2px\",...style},children:[/*#__PURE__*/_jsx(Image1,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+0),pixelHeight:341,pixelWidth:206,sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(uqLTBHepI),...{positionX:\"center\",positionY:\"top\"}},className:\"framer-1qe8m84\",\"data-framer-name\":\"Product Image\",layoutDependency:layoutDependency,layoutId:\"DKLts0O6Q\"}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1yf2qdu\",\"data-framer-name\":\"Content\",layoutDependency:layoutDependency,layoutId:\"mZnDpcPIS\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7SGVsbGl4IFJlZ3VsYXI=\",\"--framer-font-family\":'\"Hellix Regular\", \"Hellix Regular Placeholder\", sans-serif',\"--framer-font-size\":\"18px\"},children:\"Nombre\"})}),className:\"framer-1pmgcun\",fonts:[\"CUSTOMV2;Hellix Regular\"],layoutDependency:layoutDependency,layoutId:\"G9D60nB9C\",text:qF70wURb5,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-17548w5\",\"data-framer-name\":\"Text Stack\",layoutDependency:layoutDependency,layoutId:\"YKybOgfZF\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7QnJvd25TdGQgUmVndWxhcg==\",\"--framer-font-family\":'\"BrownStd Regular\", \"BrownStd Regular Placeholder\", sans-serif'},children:\"✓Largo insuperable\"})}),className:\"framer-1clnhqu\",fonts:[\"CUSTOMV2;BrownStd Regular\"],layoutDependency:layoutDependency,layoutId:\"N_Nalpw53\",text:ze47lK5Wg,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7QnJvd25TdGQgUmVndWxhcg==\",\"--framer-font-family\":'\"BrownStd Regular\", \"BrownStd Regular Placeholder\", sans-serif'},children:\"✓Cepillo Long Effect\"})}),className:\"framer-kbajsr\",fonts:[\"CUSTOMV2;BrownStd Regular\"],layoutDependency:layoutDependency,layoutId:\"URP35be4C\",text:ixY1XOZkB,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7QnJvd25TdGQgUmVndWxhcg==\",\"--framer-font-family\":'\"BrownStd Regular\", \"BrownStd Regular Placeholder\", sans-serif'},children:\"✓Ligera y sin grumos\"})}),className:\"framer-nk8i4p\",fonts:[\"CUSTOMV2;BrownStd Regular\"],layoutDependency:layoutDependency,layoutId:\"dSgNEfaw4\",text:XjzXpdasp,verticalAlignment:\"top\",withExternalLayout:true})]}),/*#__PURE__*/_jsx(ComponentViewportProvider,{height:39,width:`calc(${componentViewport?.width||\"100vw\"} - 40px)`,y:(componentViewport?.y||0)+0+523+32+218,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-rgl7t2-container\",layoutDependency:layoutDependency,layoutId:\"nyGzQ7B1D-container\",nodeId:\"nyGzQ7B1D\",rendersWithMotion:true,scopeId:\"NyghqP0fr\",children:/*#__PURE__*/_jsx(CTAButton,{AbYlSVhFL:\"rgb(0, 0, 0)\",e1xNSzpnM:\"track-boton-1-descrubelo-aqui\",E9ZCD4WLk:{borderColor:\"rgb(0, 0, 0)\",borderStyle:\"solid\",borderWidth:1},eJ6d5lDbH:P1Wf8BLwR,eROOqoU2X:u2148nJhc,fWXm1qAQ3:MPNYJclH9,height:\"100%\",id:\"nyGzQ7B1D\",JHD4UWpFj:\"rgb(0, 0, 0)\",layoutId:\"nyGzQ7B1D\",lsLZoPJn4:bNzo07N1i,npi_JciID:\"\\xa1Desc\\xfabrela aqu\\xed!\",PoOy_bGfM:vSD1iiVyM,QLGNSr7Hm:14,rLUrkqZK5:\"10px 24px 10px 24px\",sLiHfaN1t:Tt_WmfvSf,style:{height:\"100%\",width:\"100%\"},tBOHxBqZz:lsA91segS,UJoXu1whT:\"rgb(255, 255, 255)\",UVA8R3yEo:UrEoTrPgW,variant:matchVariant(\"c7SNRLEmV\"),WF76KrsMW:cFGYk2xdy,width:\"100%\",Y7_8UGXr0:MIeqB3Ba3,Y9wsVqh9z:cjB4_B9H7,Zu3W8vcUv:\"rgb(255, 255, 255)\",zwCvn6uCQ:U77tGbzfP})})})]})]})})})});});const css=[\".framer-NtDXo.framer-1qwqsg, .framer-NtDXo .framer-1qwqsg { display: block; }\",\".framer-NtDXo.framer-x7hvd2 { align-content: flex-start; align-items: flex-start; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 759px; justify-content: flex-start; padding: 0px; position: relative; width: 316px; }\",\".framer-NtDXo .framer-1qe8m84 { flex: none; height: 523px; position: relative; width: 100%; }\",\".framer-NtDXo .framer-1yf2qdu { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 21px; height: min-content; justify-content: flex-start; padding: 32px 20px 0px 20px; position: relative; width: 100%; }\",\".framer-NtDXo .framer-1pmgcun { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-NtDXo .framer-17548w5 { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 1px; height: min-content; justify-content: flex-start; padding: 0px; position: relative; width: 276px; }\",\".framer-NtDXo .framer-1clnhqu, .framer-NtDXo .framer-kbajsr, .framer-NtDXo .framer-nk8i4p { flex: none; height: 22px; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-NtDXo .framer-rgl7t2-container { flex: none; height: 39px; position: relative; width: 100%; }\",'.framer-NtDXo[data-border=\"true\"]::after, .framer-NtDXo [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 759\n * @framerIntrinsicWidth 316\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"uqLTBHepI\":\"imagen\",\"qF70wURb5\":\"nombre\",\"ze47lK5Wg\":\"beneficio1\",\"ixY1XOZkB\":\"beneficio2\",\"XjzXpdasp\":\"beneficio3\",\"cFGYk2xdy\":\"chile\",\"U77tGbzfP\":\"per_\",\"lsA91segS\":\"colombia\",\"u2148nJhc\":\"ecuador\",\"MIeqB3Ba3\":\"panama\",\"cjB4_B9H7\":\"m_xico\",\"vSD1iiVyM\":\"bolivia\",\"Tt_WmfvSf\":\"elSalvador\",\"bNzo07N1i\":\"guatemala\",\"P1Wf8BLwR\":\"republicaDominicana\",\"UrEoTrPgW\":\"costaRica\",\"MPNYJclH9\":\"puertoRico\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n * @framerTrackingIds [{\"id\":\"_reeyh0\",\"trackingId\":\"track-boton-1-descrubelo-aqui\"}]\n */const FramerNyghqP0fr=withCSS(Component,css,\"framer-NtDXo\");export default FramerNyghqP0fr;FramerNyghqP0fr.displayName=\"MascaraSpecCard\";FramerNyghqP0fr.defaultProps={height:759,width:316};addPropertyControls(FramerNyghqP0fr,{uqLTBHepI:{__defaultAssetReference:\"data:framer/asset-reference,U97xb91HAlCEDtDakqEQMv6f2fg.webp?originalFilename=COMPARATIVO-MFS_10_11zon.webp&width=206&height=341\",title:\"Imagen\",type:ControlType.ResponsiveImage},qF70wURb5:{defaultValue:\"MEGA FULL SIZE\",title:\"Nombre\",type:ControlType.String},onqF70wURb5Change:{changes:\"qF70wURb5\",type:ControlType.ChangeHandler},ze47lK5Wg:{defaultValue:\"✓Largo insuperable\",title:\"Beneficio 1\",type:ControlType.String},onze47lK5WgChange:{changes:\"ze47lK5Wg\",type:ControlType.ChangeHandler},ixY1XOZkB:{defaultValue:\"✓Cepillo Long Effect\",title:\"Beneficio 2\",type:ControlType.String},onixY1XOZkBChange:{changes:\"ixY1XOZkB\",type:ControlType.ChangeHandler},XjzXpdasp:{defaultValue:\"✓Ligera y sin grumos\",title:\"Beneficio 3\",type:ControlType.String},onXjzXpdaspChange:{changes:\"XjzXpdasp\",type:ControlType.ChangeHandler},cFGYk2xdy:{title:\"Chile\",type:ControlType.Link},U77tGbzfP:{title:\"Per\\xfa\",type:ControlType.Link},lsA91segS:{title:\"Colombia\",type:ControlType.Link},u2148nJhc:{title:\"Ecuador\",type:ControlType.Link},MIeqB3Ba3:{title:\"Panama\",type:ControlType.Link},cjB4_B9H7:{title:\"M\\xe9xico\",type:ControlType.Link},vSD1iiVyM:{title:\"Bolivia\",type:ControlType.Link},Tt_WmfvSf:{title:\"El Salvador\",type:ControlType.Link},bNzo07N1i:{title:\"Guatemala\",type:ControlType.Link},P1Wf8BLwR:{title:\"Republica Dominicana\",type:ControlType.Link},UrEoTrPgW:{title:\"Costa Rica\",type:ControlType.Link},MPNYJclH9:{title:\"Puerto Rico\",type:ControlType.Link}});addFonts(FramerNyghqP0fr,[{explicitInter:true,fonts:[{cssFamilyName:\"Hellix Regular\",source:\"custom\",style:\"normal\",uiFamilyName:\"Hellix\",url:\"https://framerusercontent.com/assets/P5IDOhG9Q0ltJRVhfjVbfNO63Cs.woff2\",weight:\"400\"},{cssFamilyName:\"BrownStd Regular\",source:\"custom\",style:\"normal\",uiFamilyName:\"BrownStd\",url:\"https://framerusercontent.com/assets/Rmb8ojGKUo44uiLeOyFRMbHeFI.woff2\",weight:\"400\"}]},...CTAButtonFonts],{supportsExplicitInterCodegen:true});FramerNyghqP0fr.loader={load:(props,context)=>{return runTasksWithYield([()=>forwardLoader(CTAButton,{},context)],context);}};\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerNyghqP0fr\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerVariables\":\"{\\\"uqLTBHepI\\\":\\\"imagen\\\",\\\"qF70wURb5\\\":\\\"nombre\\\",\\\"ze47lK5Wg\\\":\\\"beneficio1\\\",\\\"ixY1XOZkB\\\":\\\"beneficio2\\\",\\\"XjzXpdasp\\\":\\\"beneficio3\\\",\\\"cFGYk2xdy\\\":\\\"chile\\\",\\\"U77tGbzfP\\\":\\\"per_\\\",\\\"lsA91segS\\\":\\\"colombia\\\",\\\"u2148nJhc\\\":\\\"ecuador\\\",\\\"MIeqB3Ba3\\\":\\\"panama\\\",\\\"cjB4_B9H7\\\":\\\"m_xico\\\",\\\"vSD1iiVyM\\\":\\\"bolivia\\\",\\\"Tt_WmfvSf\\\":\\\"elSalvador\\\",\\\"bNzo07N1i\\\":\\\"guatemala\\\",\\\"P1Wf8BLwR\\\":\\\"republicaDominicana\\\",\\\"UrEoTrPgW\\\":\\\"costaRica\\\",\\\"MPNYJclH9\\\":\\\"puertoRico\\\"}\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerTrackingIds\":\"[{\\\"id\\\":\\\"_reeyh0\\\",\\\"trackingId\\\":\\\"track-boton-1-descrubelo-aqui\\\"}]\",\"framerIntrinsicHeight\":\"759\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"316\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NyghqP0fr.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useRef,useCallback,useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function ImageComparison({beforeImage=\"https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&w=1200&q=80\",afterImage=\"https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&w=1200&q=80\",initialPosition=50,dividerColor=\"#FFFFFF\",buttonBg=\"rgba(20, 20, 20, 0.75)\",arrowColor=\"#FFFFFF\",buttonSize=42,dividerWidth=2,borderRadius=12,altBefore=\"Antes\",altAfter=\"Despu\\xe9s\"}){const[sliderPos,setSliderPos]=useState(initialPosition);const containerRef=useRef(null);const isDragging=useRef(false);// Permite que si cambias initialPosition desde el inspector se actualice en vivo\nuseEffect(()=>{setSliderPos(initialPosition);},[initialPosition]);const handleMove=useCallback(clientX=>{if(!containerRef.current)return;const rect=containerRef.current.getBoundingClientRect();const x=clientX-rect.left;const percentage=Math.max(0,Math.min(100,x/rect.width*100));setSliderPos(percentage);},[]);const handlePointerDown=e=>{isDragging.current=true;e.currentTarget.setPointerCapture(e.pointerId);handleMove(e.clientX);};const handlePointerMove=e=>{if(!isDragging.current)return;handleMove(e.clientX);};const handlePointerUp=e=>{isDragging.current=false;try{e.currentTarget.releasePointerCapture(e.pointerId);}catch(_){}};return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,onPointerDown:handlePointerDown,onPointerMove:handlePointerMove,onPointerUp:handlePointerUp,onPointerCancel:handlePointerUp,style:{position:\"relative\",width:\"100%\",height:\"100%\",minHeight:200,borderRadius:`${borderRadius}px`,overflow:\"hidden\",userSelect:\"none\",WebkitUserSelect:\"none\",touchAction:\"none\",cursor:\"ew-resize\"},children:[/*#__PURE__*/_jsx(\"img\",{src:afterImage,alt:altAfter,style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",objectPosition:\"center\",pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",clipPath:`inset(0 ${100-sliderPos}% 0 0)`,WebkitClipPath:`inset(0 ${100-sliderPos}% 0 0)`,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"img\",{src:beforeImage,alt:altBefore,style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",objectPosition:\"center\"}})}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,bottom:0,left:`${sliderPos}%`,width:`${dividerWidth}px`,backgroundColor:dividerColor,transform:\"translateX(-50%)\",pointerEvents:\"none\",boxShadow:\"0 0 8px rgba(0,0,0,0.3)\"},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"50%\",left:\"50%\",transform:\"translate(-50%, -50%)\",width:`${buttonSize}px`,height:`${buttonSize}px`,borderRadius:\"50%\",backgroundColor:buttonBg,border:`2px solid ${dividerColor}`,boxShadow:\"0 4px 12px rgba(0, 0, 0, 0.35)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",backdropFilter:\"blur(6px)\",WebkitBackdropFilter:\"blur(6px)\"},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:{display:\"block\"},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M9 7L4 12L9 17\",stroke:arrowColor,strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M15 7L20 12L15 17\",stroke:arrowColor,strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})]})})})]});}// CONTROLES EN EL INSPECTOR LATERAL DE FRAMER\naddPropertyControls(ImageComparison,{beforeImage:{type:ControlType.Image,title:\"Antes (Izq)\",description:\"Imagen del lado izquierdo\"},afterImage:{type:ControlType.Image,title:\"Despu\\xe9s (Der)\",description:\"Imagen del lado derecho\"},initialPosition:{type:ControlType.Number,title:\"Posici\\xf3n Inicial\",min:0,max:100,unit:\"%\",step:1,defaultValue:50},dividerColor:{type:ControlType.Color,title:\"L\\xednea/Borde\",defaultValue:\"#FFFFFF\"},buttonBg:{type:ControlType.Color,title:\"Fondo Bot\\xf3n\",defaultValue:\"rgba(20, 20, 20, 0.75)\"},arrowColor:{type:ControlType.Color,title:\"Color Flechas\",defaultValue:\"#FFFFFF\"},buttonSize:{type:ControlType.Number,title:\"Tama\\xf1o Bot\\xf3n\",min:28,max:70,defaultValue:42},dividerWidth:{type:ControlType.Number,title:\"Grosor L\\xednea\",min:1,max:10,defaultValue:2},borderRadius:{type:ControlType.Number,title:\"Bordes Redondos\",min:0,max:60,defaultValue:16}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImageComparison\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageComparison.map"],"mappings":"2eACwD,IAA+Q,IAAkE,IAA4B,IAA8I,EAAO,EAAe,EAASA,CAAS,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,iBAAiB,EAAynB,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,EAAkB,GAAW,OAAO,GAAQ,UAAU,GAAc,OAAO,EAAM,KAAM,SAAiB,EAAc,OAAO,GAAQ,SAAS,CAAC,IAAI,CAAK,EAAE,IAAA,GAAkB,GAAc,GAAG,IAAO,CAAC,IAAI,IAAM,KAAO,EAAM,GAAG,GAAK,OAAO,GAAM,SAAS,OAAO,CAAsB,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,EAAiB,CAAmB,EAAQ,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,YAAU,GAAG,CAAC,KAAK,UAAU,CAAU,CAAC,CAAC,EAAE,OAAoB,EAAK,E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