{"version":3,"file":"Logo_Changer.DZSWfT-v.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Image","useState","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/XoG1YSqeE0nVL4afhPuW/OMoNIcE1VqhjdW3DQCmC/u5YTbwaXy.js","https:/framerusercontent.com/modules/DYv5tj5igPFjK5HLUrdV/5V9GtvXGtJxkjDs16qNx/Logo_Changer.js"],"sourcesContent":["// Generated by Framer (04b9457)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image,Link,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const cycleOrder=[\"LjFwSLwdO\",\"HQC8JV9yz\",\"hMv8VJvRe\",\"ZBq5gTSoK\",\"NJ4jSJpOq\"];const serializationHash=\"framer-UsP09\";const variantClassNames={hMv8VJvRe:\"framer-v-z4rok\",HQC8JV9yz:\"framer-v-d4lc\",LjFwSLwdO:\"framer-v-q815k\",NJ4jSJpOq:\"framer-v-1odo75e\",ZBq5gTSoK:\"framer-v-ke6hy6\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};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={\"Dark Icon\":\"ZBq5gTSoK\",\"Light Icon\":\"NJ4jSJpOq\",\"Variant 1\":\"LjFwSLwdO\",Dark:\"hMv8VJvRe\",Light:\"HQC8JV9yz\"};const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"LjFwSLwdO\"};};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,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"LjFwSLwdO\",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__*/_jsx(Link,{href:{webPageId:\"VEx_fodoQ\"},motionChild:true,nodeId:\"LjFwSLwdO\",openInNewTab:false,scopeId:\"u5YTbwaXy\",children:/*#__PURE__*/_jsx(Image,{...restProps,...gestureHandlers,as:\"a\",background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:374,pixelWidth:1127,sizes:componentViewport?.width||\"100vw\",src:\"https://framerusercontent.com/images/htOyLPHtZPHfyudrbBqlTcqUB0I.png?width=1127&height=374\",srcSet:\"https://framerusercontent.com/images/htOyLPHtZPHfyudrbBqlTcqUB0I.png?scale-down-to=512&width=1127&height=374 512w,https://framerusercontent.com/images/htOyLPHtZPHfyudrbBqlTcqUB0I.png?scale-down-to=1024&width=1127&height=374 1024w,https://framerusercontent.com/images/htOyLPHtZPHfyudrbBqlTcqUB0I.png?width=1127&height=374 1127w\"},className:`${cx(scopingClassNames,\"framer-q815k\",className,classNames)} framer-ns52hp`,\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"LjFwSLwdO\",ref:refBinding,style:{...style},...addPropertyOverrides({hMv8VJvRe:{\"data-framer-name\":\"Dark\",background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:440,pixelWidth:1338,sizes:componentViewport?.width||\"100vw\",src:\"https://framerusercontent.com/images/xIXyzoRuWPwTB61hwFCZPjwIWY.png?width=1338&height=440\",srcSet:\"https://framerusercontent.com/images/xIXyzoRuWPwTB61hwFCZPjwIWY.png?scale-down-to=512&width=1338&height=440 512w,https://framerusercontent.com/images/xIXyzoRuWPwTB61hwFCZPjwIWY.png?scale-down-to=1024&width=1338&height=440 1024w,https://framerusercontent.com/images/xIXyzoRuWPwTB61hwFCZPjwIWY.png?width=1338&height=440 1338w\"}},HQC8JV9yz:{\"data-framer-name\":\"Light\"},NJ4jSJpOq:{\"data-framer-name\":\"Light Icon\",background:{alt:\"\",fit:\"fit\",loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:374,pixelWidth:396,positionX:\"center\",positionY:\"center\",src:\"https://framerusercontent.com/images/6AEdIeYSCAdEvMkRU8ifZNFYY4.png?width=396&height=374\"}},ZBq5gTSoK:{\"data-framer-name\":\"Dark Icon\",background:{alt:\"\",fit:\"fit\",loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:440,pixelWidth:467,positionX:\"center\",positionY:\"center\",src:\"https://framerusercontent.com/images/Wq4skNk39VDaYd1FInQifsH7X4.png?width=467&height=440\"}}},baseVariant,gestureVariant)})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-UsP09.framer-ns52hp, .framer-UsP09 .framer-ns52hp { display: block; }\",\".framer-UsP09.framer-q815k { height: 65px; position: relative; text-decoration: none; width: 197px; }\",\".framer-UsP09.framer-v-d4lc.framer-q815k, .framer-UsP09.framer-v-z4rok.framer-q815k { aspect-ratio: 3.027027027027027 / 1; height: var(--framer-aspect-ratio-supported, 65px); }\",\".framer-UsP09.framer-v-ke6hy6.framer-q815k, .framer-UsP09.framer-v-1odo75e.framer-q815k { aspect-ratio: 1 / 1; height: var(--framer-aspect-ratio-supported, 80px); width: 80px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 65\n * @framerIntrinsicWidth 197\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"HQC8JV9yz\":{\"layout\":[\"fixed\",\"fixed\"]},\"hMv8VJvRe\":{\"layout\":[\"fixed\",\"fixed\"]},\"ZBq5gTSoK\":{\"layout\":[\"fixed\",\"fixed\"]},\"NJ4jSJpOq\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Frameru5YTbwaXy=withCSS(Component,css,\"framer-UsP09\");export default Frameru5YTbwaXy;Frameru5YTbwaXy.displayName=\"Logo\";Frameru5YTbwaXy.defaultProps={height:65,width:197};addPropertyControls(Frameru5YTbwaXy,{variant:{options:[\"LjFwSLwdO\",\"HQC8JV9yz\",\"hMv8VJvRe\",\"ZBq5gTSoK\",\"NJ4jSJpOq\"],optionTitles:[\"Variant 1\",\"Light\",\"Dark\",\"Dark Icon\",\"Light Icon\"],title:\"Variant\",type:ControlType.Enum}});addFonts(Frameru5YTbwaXy,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Frameru5YTbwaXy\",\"slots\":[],\"annotations\":{\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"HQC8JV9yz\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"hMv8VJvRe\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"ZBq5gTSoK\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"NJ4jSJpOq\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicHeight\":\"65\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"197\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./u5YTbwaXy.map","// overrides/themeLogo.ts\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";// 1) Hook único: ¿prefiere dark?\nfunction usePrefersDark(){const[isDark,setIsDark]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;const mql=window.matchMedia(\"(prefers-color-scheme: dark)\");const onChange=e=>setIsDark(\"matches\"in e?e.matches:e.matches);setIsDark(mql.matches);// Compat: Safari antiguo\nif(\"addEventListener\"in mql)mql.addEventListener(\"change\",onChange);else mql.addListener(onChange);return()=>{if(\"removeEventListener\"in mql)mql.removeEventListener(\"change\",onChange);else mql.removeListener(onChange);};},[]);return isDark;}// 2) Utilidad: genera el Override según el mapa de variantes\nfunction useThemeVariant(map){const isDark=usePrefersDark();return{variant:isDark?map.dark:map.light};}// 3) Logo completo (usa tus nombres de variantes EXACTOS)\nexport function ThemeLogo(){return useThemeVariant({dark:\"Dark\",light:\"Light\"});}// 4) SOLO Ícono (usa tus variantes “Dark Icon” / “Light Icon”)\nexport function ThemeLogoIcon(){return useThemeVariant({dark:\"Dark Icon\",light:\"Light Icon\"});}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withuseThemeVariant(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...useThemeVariant(props)});};}withuseThemeVariant.displayName=\"useThemeVariant\";export function withThemeLogo(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ThemeLogo(props)});};}withThemeLogo.displayName=\"ThemeLogo\";export function withThemeLogoIcon(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ThemeLogoIcon(props)});};}withThemeLogoIcon.displayName=\"ThemeLogoIcon\";\nexport const __FramerMetadata__ = {\"exports\":{\"ThemeLogo\":{\"type\":\"override\",\"name\":\"ThemeLogo\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ThemeLogoIcon\":{\"type\":\"override\",\"name\":\"ThemeLogoIcon\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withThemeLogoIcon\":{\"type\":\"reactHoc\",\"name\":\"withThemeLogoIcon\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withThemeLogo\":{\"type\":\"reactHoc\",\"name\":\"withThemeLogo\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withuseThemeVariant\":{\"type\":\"reactHoc\",\"name\":\"withuseThemeVariant\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Logo_Changer.map"],"mappings":"saAC4lB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,2CAAztB,IAAgK,IAAkE,IAA4B,CAAgC,EAAW,CAAC,YAAY,YAAY,YAAY,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,iBAAiB,U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