{"version":3,"file":"shared-lib.Czmrm9-R.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/UggMPoJS2OcrAqgw8qbF/fDFB8ALOpnLWgKlq0KGN/Navegation.js","https:/framerusercontent.com/modules/9gCX0sHQv58qCLxtgVcc/FOnuPYMRWbVVXD5lvMgf/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState}from\"react\";import{motion,AnimatePresence}from\"framer-motion\";// --- CONFIGURACIÓN DE LOS ENLACES DEL MENÚ ---\nconst NAV_LINKS=[{text:\"Inicio\",url:\"https://tunatide.store\"},{text:\"Tienda\",url:\"https://tunatide.store/tienda\"},{text:\"Recetas\",url:\"https://tunatide.store/recetas\"},{text:\"Contacto\",url:\"https://tunatide.store/contact\"}];export default function NavbarTunatide(){const[activeSubmenu,setActiveSubmenu]=useState(null);return /*#__PURE__*/_jsx(\"div\",{style:navContainer,children:/*#__PURE__*/_jsxs(\"div\",{style:navbarWrapper,children:[/*#__PURE__*/_jsx(\"div\",{style:logoSection,children:/*#__PURE__*/_jsx(\"span\",{style:logoText,children:\"TUNATIDE\"})}),/*#__PURE__*/_jsx(\"nav\",{style:linksSection,children:NAV_LINKS.map((link,index)=>{const hasSubmenu=!!link.submenu;return /*#__PURE__*/_jsxs(\"div\",{style:navItemContainer,onMouseEnter:()=>hasSubmenu&&setActiveSubmenu(index),onMouseLeave:()=>hasSubmenu&&setActiveSubmenu(null),children:[/*#__PURE__*/_jsxs(\"a\",{href:link.url,style:mainLinkStyle,children:[link.text,hasSubmenu&&/*#__PURE__*/_jsx(\"span\",{style:arrowStyle,children:\"▾\"})]}),/*#__PURE__*/_jsx(AnimatePresence,{children:hasSubmenu&&activeSubmenu===index&&/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,y:15,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:10,scale:.95},transition:{duration:.25,ease:[.23,1,.32,1]},style:submenuDropdown,children:/*#__PURE__*/_jsx(\"div\",{style:gridContainer,children:link.submenu?.map((sub,subIdx)=>/*#__PURE__*/_jsxs(\"a\",{href:sub.url,target:\"_blank\",rel:\"noopener\",style:subLinkCard,children:[/*#__PURE__*/_jsx(\"h4\",{style:subTitleStyle,children:sub.title}),/*#__PURE__*/_jsx(\"p\",{style:subInfoStyle,children:sub.info})]},subIdx))})})})]},index);})}),/*#__PURE__*/_jsx(\"div\",{style:rightSection,children:/*#__PURE__*/_jsx(\"a\",{href:\"https://tunatide.store/tienda\",style:ctaButton,children:\"Ir a la Tienda ↗\"})})]})});}// --- ESTILOS EN LÍNEA PREMIUM (REEMPLAZO DE TAILWIND) ---\nconst navContainer={position:\"fixed\",top:0,left:0,right:0,zIndex:99,width:\"100%\",padding:\"20px\",display:\"flex\",justifyContent:\"center\",background:\"linear-gradient(to bottom, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0) 100%)\",pointerEvents:\"none\"};const navbarWrapper={width:\"100%\",maxWidth:\"1100px\",height:\"64px\",backgroundColor:\"rgba(20, 20, 22, 0.75)\",backdropFilter:\"blur(16px)\",WebkitBackdropFilter:\"blur(16px)\",borderRadius:\"100px\",border:\"1px solid rgba(255, 255, 255, 0.08)\",padding:\"0 28px\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",pointerEvents:\"auto\",boxShadow:\"0 8px 32px rgba(0, 0, 0, 0.4)\"};const logoSection={display:\"flex\",alignItems:\"center\"};const logoText={color:\"#ffffff\",fontSize:\"18px\",fontWeight:800,letterSpacing:\"-0.5px\",fontFamily:\"-apple-system, BlinkMacSystemFont, sans-serif\"};const linksSection={display:\"flex\",alignItems:\"center\",gap:\"8px\",height:\"100%\"};const navItemContainer={position:\"relative\",display:\"flex\",alignItems:\"center\",height:\"100%\"};const mainLinkStyle={color:\"rgba(255, 255, 255, 0.7)\",textDecoration:\"none\",fontSize:\"14px\",fontWeight:500,padding:\"8px 16px\",borderRadius:\"100px\",transition:\"color 0.2s ease, background-color 0.2s ease\",fontFamily:\"-apple-system, BlinkMacSystemFont, sans-serif\",display:\"flex\",alignItems:\"center\",gap:\"4px\"};const arrowStyle={fontSize:\"11px\",opacity:.6};const submenuDropdown={position:\"absolute\",top:\"100%\",left:\"50%\",transform:\"translateX(-50%)\",paddingTop:\"12px\",zIndex:100};const gridContainer={backgroundColor:\"#141416\",border:\"1px solid rgba(255, 255, 255, 0.08)\",borderRadius:\"24px\",padding:\"16px\",width:\"280px\",display:\"flex\",flexDirection:\"column\",gap:\"8px\",boxShadow:\"0 20px 40px rgba(0,0,0,0.6)\"};const subLinkCard={display:\"flex\",flexDirection:\"column\",gap:\"4px\",padding:\"12px 16px\",borderRadius:\"14px\",textDecoration:\"none\",transition:\"background-color 0.2s ease\"};// Efecto hover simulado para las tarjetas del submenú\nconst subTitleStyle={color:\"#ffffff\",fontSize:\"15px\",fontWeight:600,margin:0,fontFamily:\"-apple-system, BlinkMacSystemFont, sans-serif\"};const subInfoStyle={color:\"rgba(255, 255, 255, 0.4)\",fontSize:\"12px\",lineHeight:\"1.4\",margin:0,whiteSpace:\"normal\",fontFamily:\"-apple-system, BlinkMacSystemFont, sans-serif\"};const rightSection={display:\"flex\",alignItems:\"center\"};const ctaButton={backgroundColor:\"#ffffff\",color:\"#000000\",textDecoration:\"none\",fontSize:\"13px\",fontWeight:600,padding:\"8px 16px\",borderRadius:\"100px\",transition:\"transform 0.2s ease, background-color 0.2s ease\",fontFamily:\"-apple-system, BlinkMacSystemFont, sans-serif\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"NavbarTunatide\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Navegation.map","// Generated by Framer (199f97e)\nexport default function metadata(params,activeLocale){return{description:\"El mejor at\\xfan fresco del Pac\\xedfico colombiano, por kilogramo y directo a tu mesa.\",favicon:\"https://framerusercontent.com/assets/lgiKX1dveQ9ZFYZUarsUoeO3g.png\",robots:\"max-image-preview:large\",title:\"Tunatide\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"iLACgO,SAAwB,GAAgB,CAAC,GAAK,CAAC,EAAc,GAAkBA,EAAS,IAAI,EAAE,OAAoB,EAAK,MAAM,CAAC,MAAM,EAAa,SAAsB,EAAM,MAAM,CAAC,MAAM,EAAc,SAAS,CAAc,EAAK,MAAM,CAAC,MAAM,EAAY,SAAsB,EAAK,OAAO,CAAC,MAAM,EAAS,SAAS,UAAU,CAAC,CAAC,CAAC,EAAe,EAAK,MAAM,CAAC,MAAM,EAAa,SAAS,EAAU,KAAK,EAAK,IAAQ,CAAC,IAAM,EAAW,CAAC,CAAC,EAAK,QAAQ,OAAoB,EAAM,MAAM,CAAC,MAAM,EAAiB,iBAAiB,GAAY,EAAiB,CAAK,EAAE,iBAAiB,GAAY,EAAiB,IAAI,EAAE,SAAS,CAAc,EAAM,IAAI,CAAC,KAAK,EAAK,IAAI,MAAM,EAAc,SAAS,CAAC,EAAK,KAAK,GAAyB,EAAK,OAAO,CAAC,MAAM,EAAW,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,EAAe,EAAK,EAAgB,CAAC,SAAS,GAAY,IAAgB,GAAoB,EAAK,EAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,EAAE,GAAG,MAAM,GAAG,EAAE,QAAQ,CAAC,QAAQ,EAAE,EAAE,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,QAAQ,EAAE,EAAE,GAAG,MAAM,GAAG,EAAE,WAAW,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,EAAE,MAAM,EAAgB,SAAsB,EAAK,MAAM,CAAC,MAA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