"use strict";const k=require("react/jsx-runtime"),L=require("react"),s=require("../tools/tools.cjs"),u=function(v){const{active:t,"aria-current":i,"aria-disabled":n,as:a="a",className:r,disabled:e,dropOldClass:o,style:l,type:c,variables:d,...b}=v,y=L.useMemo(()=>{const p=s.classx(!o&&"nav-link",t&&"active",e&&a==="a"&&"disabled",r),N=s.stylex((C,m)=>({tKey:s.convertBsKeyToVar(m)}),d,l);return{"aria-current":i??(t?"page":void 0),"aria-disabled":n??(e?"true":void 0),className:p,disabled:e&&a==="button"?!0:void 0,style:N,type:c??(a==="button"?"button":void 0)}},[a,t,i,n,r,e,o,l,c,d]);return k.jsx(a,{...b,...y})};u.displayName="BRL.NavLink";exports.NavLink=u;
//# sourceMappingURL=nav-link.cjs.map
