import{r as l,j as n}from"./vendor-react-wBh_31cN.js";import{L as m}from"./vendor-router-D1GqFWiT.js";import{d as e}from"./index-dNe6i2rS.js";function c(t){return!t||t.startsWith("http://")||t.startsWith("https://")||t.startsWith("//")}const i="cursor-pointer font-bold text-quartz-black no-underline transition-colors hover:text-primary hover:underline",p=l.forwardRef(({className:t,children:s,href:r,...a},o)=>c(r)?n.jsx("a",{ref:o,"data-slot":"hoverable-link",className:e(i,t),href:r,...a,children:s}):n.jsx(m,{ref:o,"data-slot":"hoverable-link",className:e(i,t),to:r,...a,children:s}));p.displayName="HoverableLink";export{p as H};
