{"version":3,"file":"A6CEGSP5X.lgOTPyEF.mjs","names":["React","localizedValues","Hero","React.useContext","React.useMemo","React.Fragment","React.useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/f8wBTZ8mxclvbvykScIB/s0RZXZlhHyugffsIQRa6/ScrollToTopButton.js","https:/framerusercontent.com/modules/2hovi3wJmSpsgTyKZFcc/kBVz0mwCQYTLruFXZPQZ/A6CEGSP5X-0.js","https:/framerusercontent.com/modules/2hovi3wJmSpsgTyKZFcc/kBVz0mwCQYTLruFXZPQZ/A6CEGSP5X.js","https:/framerusercontent.com/modules/lB9SFIg8sScN3eBj3E49/IVxm4Fm2HKr3kAvEycNd/A6CEGSP5X.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import React from\"react\";function OptimizationFriendly({loading,loaded}){const[isLoading,setLoading]=React.useState(true);React.useEffect(()=>setLoading(false),[]);return isLoading?loading:loaded;}function scrollToTop(){window.scrollTo({top:0,behavior:\"smooth\"});}function withLoaded(Component){return props=>{return /*#__PURE__*/ _jsx(Component,{...props,onClick:scrollToTop});};}/**\n * @framerDisableUnlink\n */ export function ScrollToTopButton(Component){return props=>{const ComponentWithLoaded=withLoaded(Component);return /*#__PURE__*/ _jsx(OptimizationFriendly,{loading:/*#__PURE__*/ _jsx(Component,{...props}),loaded:/*#__PURE__*/ _jsx(ComponentWithLoaded,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"ScrollToTopButton\":{\"type\":\"reactHoc\",\"name\":\"ScrollToTopButton\",\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollToTopButton.map","export const v0=\"Inicio\";\nexport const __FramerMetadata__ = {\"exports\":{\"v0\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (c126521)\nimport*as localizedValues from\"./A6CEGSP5X-0.js\";const valuesByLocaleId={j9Ng3nVv_:localizedValues};export default function getLocalizedValue(key,locale){while(locale){const values=valuesByLocaleId[locale.id];if(values){const value=values[key];if(value)return value;}locale=locale.fallback;}}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (c126521)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{ScrollToTopButton}from\"https://framerusercontent.com/modules/f8wBTZ8mxclvbvykScIB/s0RZXZlhHyugffsIQRa6/ScrollToTopButton.js\";import{Icon as Hero}from\"https://framerusercontent.com/modules/hKjtTuWGYB451ckw6eTN/bbq95ZQZ142lE2fXscHd/Hero.js\";import getLocalizedValue from\"https://framerusercontent.com/modules/2hovi3wJmSpsgTyKZFcc/kBVz0mwCQYTLruFXZPQZ/A6CEGSP5X.js\";const HeroFonts=getFonts(Hero);const MotionDivScrollToTopButton=ScrollToTopButton(motion.div);const serializationHash=\"framer-bskfg\";const variantClassNames={AkAna4Ztb:\"framer-v-ce9yvv\"};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 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=({color,height,iconColor,id,width,...props})=>{return{...props,DxFECmhqH:color??props.DxFECmhqH??\"var(--token-b77bf38b-fa7f-417c-afa9-fa6076614463, rgba(0, 0, 0, 0.9))\",iJ_vf1x3s:iconColor??props.iJ_vf1x3s??\"var(--token-1055a5dc-b1d3-41b9-8066-a3abfbbab218, rgb(255, 255, 255))\"};};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,DxFECmhqH,iJ_vf1x3s,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"AkAna4Ztb\",variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);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__*/_jsx(MotionDivScrollToTopButton,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-ce9yvv\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"AkAna4Ztb\",ref:ref??ref1,style:{backgroundColor:DxFECmhqH,borderBottomLeftRadius:1e3,borderBottomRightRadius:1e3,borderTopLeftRadius:1e3,borderTopRightRadius:1e3,...style},children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1l610g2-container\",\"data-framer-name\":\"Arrow Icon\",layoutDependency:layoutDependency,layoutId:\"Os3OSSEXp-container\",name:\"Arrow Icon\",children:/*#__PURE__*/_jsx(Hero,{color:iJ_vf1x3s,height:\"100%\",iconSearch:getLocalizedValue(\"v0\",activeLocale)??\"Home\",iconSelection:\"ArrowUp\",id:\"Os3OSSEXp\",layoutId:\"Os3OSSEXp\",mirrored:false,name:\"Arrow Icon\",selectByList:true,style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-bskfg.framer-hx448o, .framer-bskfg .framer-hx448o { display: block; }\",\".framer-bskfg.framer-ce9yvv { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 48px; justify-content: center; padding: 0px; position: relative; width: 48px; }\",\".framer-bskfg .framer-1l610g2-container { flex: none; height: 20px; position: relative; width: 20px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-bskfg.framer-ce9yvv { gap: 0px; } .framer-bskfg.framer-ce9yvv > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-bskfg.framer-ce9yvv > :first-child { margin-left: 0px; } .framer-bskfg.framer-ce9yvv > :last-child { margin-right: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 48\n * @framerIntrinsicWidth 48\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"DxFECmhqH\":\"color\",\"iJ_vf1x3s\":\"iconColor\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerA6CEGSP5X=withCSS(Component,css,\"framer-bskfg\");export default FramerA6CEGSP5X;FramerA6CEGSP5X.displayName=\"Scroll-to-Top Button\";FramerA6CEGSP5X.defaultProps={height:48,width:48};addPropertyControls(FramerA6CEGSP5X,{DxFECmhqH:{defaultValue:'var(--token-b77bf38b-fa7f-417c-afa9-fa6076614463, rgba(0, 0, 0, 0.9)) /* {\"name\":\"Button\"} */',title:\"Color\",type:ControlType.Color},iJ_vf1x3s:{defaultValue:'var(--token-1055a5dc-b1d3-41b9-8066-a3abfbbab218, rgb(255, 255, 255)) /* {\"name\":\"Icon\"} */',title:\"Icon Color\",type:ControlType.Color}});addFonts(FramerA6CEGSP5X,[{explicitInter:true,fonts:[]},...HeroFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerA6CEGSP5X\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"DxFECmhqH\\\":\\\"color\\\",\\\"iJ_vf1x3s\\\":\\\"iconColor\\\"}\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"48\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"48\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"mrBAAoE,SAAS,EAAqB,CAAC,UAAQ,UAAQ,CAAC,GAAK,CAAC,EAAU,GAAYA,EAAM,SAAS,GAAK,CAA2C,OAA1C,EAAM,cAAc,EAAW,GAAM,CAAC,EAAE,CAAC,CAAQ,EAAU,EAAQ,EAAQ,SAAS,GAAa,CAAC,EAAO,SAAS,CAAC,IAAI,EAAE,SAAS,SAAS,CAAC,CAAE,SAAS,EAAW,EAAU,CAAC,MAAO,IAA6B,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,EAAY,CAAC,CAEha,SAAgB,EAAkB,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAoB,EAAW,EAAU,CAAC,OAAqB,EAAK,EAAqB,CAAC,QAAsB,EAAK,EAAU,CAAC,GAAG,EAAM,CAAC,CAAC,OAAqB,EAAK,EAAoB,CAAC,GAAG,EAAM,CAAC,CAAC,CAAC,uBAFjO,IAAyB,2DC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