import{j as e}from"./iframe-p4aYZyoq.js";import{g as h}from"./lipsum-Bi7KVxrj.js";import{C as t}from"./card-CyJngxpA.js";import{S as x}from"./swissprot-C2okrj8H.js";import"./preload-helper-BDBacUwf.js";import"./index-BUaT88Mv.js";import"./index-Dx18ixSn.js";const u=({name:s,link:r,color:a})=>e.jsx("a",{href:r,style:{borderBottom:a?`0.125rem solid ${a}`:void 0},children:s},r),k=[{name:"10 Protein Interactions",link:"#red",color:"red"},{name:"9 Pathways",link:"#blue",color:"blue"},{name:"5 Diseases",link:"#diseases",color:"#bada55"},{name:"72 Variants",link:"#burlywood",color:"burlywood"},{key:"swissprot",name:e.jsxs(e.Fragment,{children:[e.jsx(x,{width:"1.5ch"})," Reviewed"]}),link:"#reviewed"}],v={component:t,title:"Layout/Card",argTypes:{hasHeader:{control:{type:"boolean"},name:"header"},hasCheckbox:{control:{type:"boolean"},name:"checkbox (only if header)"},hasHeaderSeparator:{control:{type:"boolean"},name:"header separator"},hasLinks:{control:{type:"boolean"},name:"links"}},args:{hasHeader:!0,hasHeaderSeparator:!0},render:({hasHeader:s,hasCheckbox:r,hasHeaderSeparator:a,hasLinks:l})=>e.jsx(t,{header:s?e.jsxs(e.Fragment,{children:[r&&e.jsx("input",{type:"checkbox"}),e.jsxs("h2",{children:["Title"," ",e.jsx("a",{className:"medium",href:"/#",children:"APOE_HUMAN - P02649"})]})]}):void 0,headerSeparator:a,links:l?k.map(({name:m,color:c,link:p})=>e.jsx(u,{name:m,color:c,link:`${window.parent.location.href.split("#")[0]}${p}`})):void 0,children:h()})},o={};var n,i,d;o.parameters={...o.parameters,docs:{...(n=o.parameters)==null?void 0:n.docs,source:{originalSource:"{}",...(d=(i=o.parameters)==null?void 0:i.docs)==null?void 0:d.source}}};const C=["Card"];export{o as Card,C as __namedExportsOrder,v as default};
