1import{s as m,Y as I,y as r,r as i,j as c}from"./index-7866cfe0.js";import{a as x}from"./arrow-56691559.js";const b=({fnHiddenElement:o,fnVisibleElement:e})=>new IntersectionObserver(a=>{a.forEach(t=>{t.isIntersecting?e==null||e():o==null||o()})}),j=m("div",{fontFamily:"$SkModernist",[I(16,8)]:"",[r("padding-left",30,5)]:"",transition:"$all",a:{display:"flex",alignItems:"center",gap:"10px"},".arrowIcon":{transform:"rotate(33deg)",backgroundImage:`url("${x}")`,backgroundRepeat:"no-repeat",backgroundSize:"contain",backgroundPosition:"center center",transition:"$all"},"&:hover":{transition:"$all",cursor:"pointer"},variants:{size:{big:{".arrowIcon":{[r("width",30,15)]:"",[r("height",30,15)]:""}},small:{".arrowIcon":{[r("width",15,10)]:"",[r("height",15,10)]:""}},default:{[r("width",15,10)]:"",[r("height",15,10)]:""}},hover:{arrowTop:{"@media(hover: hover) and (pointer: fine)":{"&:hover .arrowIcon":{transform:"rotate(-57deg)"}}},arrowDown:{"@media(hover: hover) and (pointer: fine)":{"&:hover .arrowIcon":{transform:"rotate(123deg)"}}}}}});function S({link:o,target:e="_blank",onClick:a,nameLink:t,nameLinkActive:h,size:l="small",hover:v,resetWhenOutOfSight:p=!1}){const[s,d]=i.useState(!1),n=i.useRef(null),w=t||"show more",u=h||"show less",g=i.useCallback(()=>{d(f=>!f),a==null||a()},[]);return n.current&&p&&b({fnHiddenElement:()=>d(!1)}).observe(n.current),c.jsx(j,{ref:n,hover:v?s?"arrowTop":"arrowDown":void 0,className:"learnMore",size:l,onClick:a?g:void 0,children:c.jsxs("a",{href:o,target:e,children:[!s&&w,s&&u,c.jsx("span",{className:"arrowIcon"})]})})}S.toString=()=>".LearnMore";export{S as L,b as o};
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.