1import{r as k,j as n,d as h}from"./match-v5CBq7EQ33.js";import{c as m,I as y,t as q}from"./error-messages-v5Zzr0seSv.js";import{n as I}from"./component-typo.css-v5BD-x4U6r.js";import"./strings-v5CzpiLbAD.js";var _={default:"b71pjl0 fanmtt0",underlined:"b71pjl1",wrapper:"b71pjl2"},g="ywevnp0 _1w4tqaa0 _1w4tqaa2 _1w4tqaal";const b=({prefix:t,suffix:s,prefixElement:e,iconSize:a,iconClassName:r})=>k.useMemo(()=>{const l=m({[g]:t||s||e}),o=n.jsxs(n.Fragment,{children:[t?n.jsx(y,{type:t,className:r,size:a}):null,e||null]});return{wrapperClassName:l,prefixElements:o,suffixElements:s?n.jsx(y,{type:s,className:r,size:a}):null}},[t,s,e,a,r]),E=({variant:t,navigationStyle:s,textStyles:e})=>m(t&&_[s?"wrapper":t],e&&q[e],s&&I[s]),D=({children:t,clientSide:s,className:e,variant:a="default",textStyles:r,navigationStyle:l,prefix:o,suffix:p,prefixElement:u,iconSize:c,iconClassName:i,...d})=>{const{wrapperClassName:f,prefixElements:x,suffixElements:j}=b({prefix:o,suffix:p,prefixElement:u,iconSize:c,iconClassName:i}),w=m(E({variant:a,navigationStyle:l,textStyles:r}),f,e);return n.jsxs(h,{...d,reloadDocument:!s,className:w,children:[x,t,j]})},F=Object.assign(k.forwardRef(({children:t,disabled:s,className:e,onClick:a,variant:r="default",prefix:l,tabHidden:o,type:p,textStyles:u,navigationStyle:c,prefixElement:i,suffix:d,iconSize:f,iconClassName:x,...j},w)=>{const{wrapperClassName:L,prefixElements:N,suffixElements:S}=b({prefix:l,suffix:d,prefixElement:i,iconSize:f,iconClassName:x});return n.jsxs("button",{ref:w,className:m(E({variant:r,navigationStyle:c,textStyles:u}),L,e),disabled:s,onClick:a,tabIndex:o?-1:void 0,type:p,...j,children:[N,t,S]})}),{displayName:"LinkButton"});export{D as L,F as a,_ as l};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.