captjt commited on
Commit
6f6ca6a
β€’
1 Parent(s): 6515384

deeeeep links

Browse files
static/assets/AILineageExplorerLogo-4258f229.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{j as C,r as p,c as g,i as k,L as _}from"./index-c062f015.js";import{g as w,b}from"./routes-17d4ed4d.js";const B=()=>C.jsx("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:C.jsxs("g",{id:"Group 47",children:[C.jsx("path",{id:"Vector",d:"M4.15516 26C1.86323 26 0 24.1354 0 21.8448V8.39964C0 7.05856 1.09101 5.96618 2.43346 5.96618H6.39214C6.1929 5.78205 6.04312 5.54846 5.9648 5.27915C5.77793 4.64296 6.03351 3.99165 6.61336 3.61928L11.8348 0.269316C12.1096 0.0934362 12.4311 0 12.7664 0C13.1017 0 13.4232 0.0934362 13.698 0.269316L18.9195 3.61928C19.5007 3.99165 19.7549 4.64296 19.568 5.27915C19.4883 5.54846 19.3399 5.78343 19.1407 5.96618H23.0994C24.4404 5.96618 25.5328 7.05718 25.5328 8.39964V21.8448C25.5328 24.1368 23.6682 26 21.3777 26H4.15516Z",fill:"white"}),C.jsx("path",{id:"Vector_2",d:"M24.571 8.39967C24.571 7.5876 23.9129 6.92805 23.0994 6.92805H16.4888V5.43994H17.9865C18.6323 5.43994 18.9113 4.75703 18.3988 4.42863L16.3706 3.12739L13.1787 1.07866C12.9355 0.922021 12.5975 0.922021 12.3543 1.07866L9.16232 3.12739L7.1342 4.42863C6.62167 4.75703 6.90061 5.43994 7.54642 5.43994H8.96033V6.92805H2.43353C1.62146 6.92805 0.961914 7.58622 0.961914 8.39967V21.8449C0.961914 23.6092 2.39231 25.0382 4.15523 25.0382H21.3777C23.142 25.0382 24.571 23.6078 24.571 21.8449V8.39967Z",fill:"white"}),C.jsx("path",{id:"Vector_3",d:"M0.961914 17.8505H24.571V21.8449C24.571 23.6078 23.1406 25.0382 21.3777 25.0382H4.15523C2.39231 25.0382 0.961914 23.6078 0.961914 21.8449V17.8505Z",fill:"#D8D8D8"}),C.jsx("path",{id:"Vector_4",d:"M22.8412 8.70605H2.69336V12.6249H22.8412V8.70605Z",fill:"#79D6FF"}),C.jsx("path",{id:"Vector_5",d:"M2.69336 12.6249V16.9161H7.24837V19.0857H18.3659V16.9161H22.8412V12.6249H2.69336Z",fill:"#79D6FF"}),C.jsx("path",{id:"Vector_6",d:"M23.0994 6.92804H2.43353C1.62146 6.92804 0.961914 7.58622 0.961914 8.39966V17.8518H6.86763V20.0751C6.86763 20.5491 7.25237 20.9339 7.72642 20.9339H17.8065C18.2806 20.9339 18.6653 20.5491 18.6653 20.0751V17.8518H24.571V8.39966C24.571 7.58759 23.9129 6.92804 23.0994 6.92804ZM22.8397 16.1205H18.1748C17.8395 16.1205 17.5675 16.3926 17.5675 16.7278V18.4372C17.5675 18.7958 17.2775 19.0857 16.9189 19.0857H8.61269C8.25406 19.0857 7.96413 18.7958 7.96413 18.4372V16.7278C7.96413 16.3926 7.69207 16.1205 7.3568 16.1205H2.69323V8.65798H22.8411V16.1205H22.8397Z",fill:"#B3B4B7"}),C.jsx("path",{id:"Vector_7",d:"M7.54658 5.43994H8.96049V13.8547C8.96049 14.4236 9.42218 14.8852 9.99104 14.8852H15.4598C16.0287 14.8852 16.4904 14.4236 16.4904 13.8547V5.43994H17.9881C18.6339 5.43994 18.9128 4.75703 18.4003 4.42863L16.3722 3.12739L13.1802 1.07866C12.937 0.922021 12.599 0.922021 12.3558 1.07866L9.16386 3.12739L7.13574 4.42863C6.62322 4.75703 6.90215 5.43994 7.54796 5.43994H7.54658Z",fill:"#FF0030"})]})}),D="_container_1rnz4_1",F="_inner_1rnz4_12",y="_close_1rnz4_21",E="_closeSmall_1rnz4_22",S="_dragAndDropArea_1rnz4_66",N="_icon_1rnz4_74",R="_form_1rnz4_84",A="_fileItem_1rnz4_85",I="_cta_1rnz4_96",z="_fileInfo_1rnz4_115",T="_fileList_1rnz4_129",c={container:D,inner:F,close:y,closeSmall:E,dragAndDropArea:S,icon:N,form:R,fileItem:A,cta:I,fileInfo:z,fileList:T};function G({handleClose:i,onFilesSelected:t}){const[n,o]=p.useState([]),L=r=>{const l=r.target.files;if(l&&l.length>0){const H=Array.from(l);o(f=>[...f,...H])}},e=r=>{r.preventDefault();const l=r.dataTransfer.files;if(l.length>0){const H=Array.from(l);o(f=>[...f,...H])}},d=r=>{o(l=>l.filter((H,f)=>f!==r))};return p.useEffect(()=>{t(n)},[n,t]),C.jsx("div",{className:c.container,children:C.jsxs("div",{className:c.inner,children:[C.jsxs("button",{className:c.close,onClick:()=>i(),children:[C.jsx("span",{}),C.jsx("span",{})]}),C.jsxs("div",{className:c.dragAndDropArea,onDrop:e,onDragOver:r=>r.preventDefault(),children:[C.jsx("div",{className:c.icon,children:C.jsx(B,{})}),C.jsxs("form",{className:c.form,children:[C.jsx("p",{children:"Drag a manifest here or"}),C.jsxs("label",{htmlFor:"uploadBtn",children:["upload a file",C.jsx("input",{type:"file",id:"uploadBtn",name:"filename",accept:"application/json",hidden:!0,onChange:L})]})]})]}),C.jsxs("div",{className:c.fileInfo,children:[n.length>0&&C.jsx("div",{className:c.fileList,children:n.map((r,l)=>C.jsxs("div",{className:c.fileItem,children:[C.jsx("p",{children:r.name}),C.jsxs("button",{className:c.closeSmall,onClick:()=>d(l),children:[C.jsx("span",{}),C.jsx("span",{})]})]},l))}),C.jsxs("p",{children:["Supported format: JSON ",C.jsx("br",{})]})]}),C.jsxs("p",{className:c.cta,children:[C.jsx("a",{href:"https://huggingface.co/spaces/EQTYLab/lineage-explorer/blob/main/README.md",target:"_blank",children:"Learn more"})," ","to create your own AI Manifest"]})]})})}const $=()=>C.jsx("svg",{width:"29",height:"26",viewBox:"0 0 29 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:C.jsxs("g",{id:"Group 44",children:[C.jsx("path",{id:"Vector",d:"M28.9013 19.1141C28.8279 18.8381 28.7095 18.577 28.5518 18.3403C28.5858 18.2152 28.6116 18.0887 28.6293 17.9609C28.7422 17.1476 28.4607 16.4037 27.9289 15.8285C27.6406 15.5143 27.3333 15.3063 27.0069 15.1784C27.2218 14.2618 27.3292 13.3235 27.3305 12.381C27.3305 11.9513 27.3061 11.5297 27.2653 11.1149C27.2449 10.9068 27.2177 10.7001 27.1878 10.4948C27.0939 9.88686 26.9552 9.28576 26.773 8.69826C26.6519 8.30931 26.5146 7.92988 26.3582 7.55998C26.1229 7.00784 25.8482 6.47337 25.5368 5.96203C25.3314 5.62068 25.1097 5.29158 24.869 4.97471C24.7507 4.81423 24.6283 4.65784 24.5018 4.50552C24.1238 4.04586 23.7131 3.61475 23.2738 3.21493C23.1283 3.08165 22.9773 2.9511 22.8237 2.82598C22.6727 2.69815 22.515 2.57711 22.3586 2.45879C22.0417 2.22216 21.7085 1.99913 21.3712 1.79106C19.4931 0.652777 17.2955 0 14.9468 0C8.10762 0 2.56445 5.54317 2.56445 12.3824C2.56445 13.3357 2.67461 14.2863 2.89356 15.2138C2.59981 15.3416 2.3183 15.5402 2.05719 15.8271C1.52681 16.4024 1.24394 17.1436 1.35682 17.9568C1.3745 18.086 1.39897 18.2138 1.43433 18.339C1.27522 18.5756 1.1569 18.8381 1.08483 19.1128C0.921631 19.7329 0.976029 20.2919 1.18274 20.7828C0.95699 21.4233 1.01411 22.106 1.30786 22.699C1.52137 23.1328 1.82736 23.4673 2.20407 23.7665C2.65149 24.1228 3.21179 24.4247 3.88905 24.7144C4.6955 25.0585 5.6801 25.3822 6.12889 25.5005C7.28621 25.7997 8.39457 25.9901 9.51925 25.9996C11.1213 26.0145 12.5003 25.6378 13.4876 24.6736C13.9731 24.7335 14.4613 24.7634 14.9495 24.762C15.4663 24.762 15.9817 24.728 16.4944 24.6641C17.4791 25.6337 18.8648 26.0145 20.4723 25.9982C21.5956 25.9887 22.7053 25.7997 23.8586 25.4991C24.3101 25.3808 25.2933 25.0571 26.1012 24.7131C26.777 24.422 27.3373 24.1201 27.7889 23.7638C28.1628 23.4646 28.4675 23.1287 28.681 22.6962C28.9775 22.1033 29.0305 21.4206 28.8088 20.7801C29.0142 20.2905 29.0672 19.7288 28.904 19.1101L28.9013 19.1141ZM27.7535 20.742C27.9806 21.1731 27.9956 21.66 27.7943 22.1142C27.4897 22.8023 26.7349 23.3436 25.2675 23.9256C24.355 24.2874 23.52 24.5186 23.5132 24.5213C22.3069 24.8341 21.2148 24.9932 20.271 24.9932C18.7071 24.9932 17.543 24.5621 16.8045 23.7094C15.5561 23.9216 14.2818 23.9297 13.0306 23.7312C12.2922 24.5689 11.1349 24.9932 9.58317 24.9932C8.638 24.9932 7.54732 24.8341 6.34104 24.5213C6.33424 24.5186 5.49923 24.2874 4.5867 23.9256C3.11931 23.3436 2.36454 22.8023 2.05991 22.1142C1.86 21.66 1.8736 21.1731 2.10071 20.742C2.12111 20.7026 2.14423 20.6631 2.16871 20.625C2.03271 20.421 1.9416 20.1899 1.9008 19.9464C1.86 19.7044 1.87088 19.4555 1.93344 19.2175C2.02319 18.8748 2.21087 18.5892 2.46382 18.3838C2.34142 18.1839 2.26118 17.9595 2.22855 17.7283C2.15511 17.2238 2.32374 16.7193 2.70045 16.3072C2.9942 15.9876 3.40898 15.8108 3.86865 15.8108H3.88089C3.5341 14.6997 3.35867 13.5424 3.36003 12.3783C3.36003 6.03547 8.50609 0.889409 14.8543 0.889409C21.2026 0.889409 26.3473 6.03411 26.3473 12.3824C26.3473 13.5492 26.1705 14.7092 25.8224 15.823C25.8781 15.8176 25.9325 15.8149 25.9856 15.8149C26.4452 15.8149 26.86 15.9903 27.1538 16.3113C27.5305 16.722 27.6991 17.2265 27.6257 17.7324C27.593 17.965 27.5128 18.188 27.3904 18.3879C27.6433 18.5933 27.8297 18.8775 27.9208 19.2216C27.9833 19.4596 27.9942 19.7071 27.9534 19.9505C27.9126 20.1926 27.8215 20.4238 27.6855 20.6291C27.71 20.6658 27.7317 20.7053 27.7535 20.7461V20.742Z",fill:"white"}),C.jsx("path",{id:"Vector_2",d:"M27.6858 20.6264C27.8218 20.4224 27.9129 20.1912 27.9537 19.9478C27.9945 19.7057 27.9823 19.4569 27.9211 19.2189C27.8313 18.8762 27.6437 18.5906 27.3907 18.3852C27.5131 18.1853 27.5933 17.9623 27.626 17.7297C27.6994 17.2252 27.5308 16.7206 27.1541 16.3086C26.8603 15.989 26.4455 15.8122 25.9859 15.8122C25.9328 15.8122 25.8784 15.8149 25.8227 15.8204C26.1708 14.7066 26.3476 13.5465 26.3463 12.3797C26.3463 6.03278 21.2002 0.886719 14.8533 0.886719C8.5064 0.886719 3.36034 6.03414 3.36034 12.3824C3.36034 13.5465 3.53441 14.7038 3.8812 15.8149H3.86896C3.4093 15.8149 2.99451 15.9904 2.70076 16.3113C2.32406 16.722 2.15542 17.2265 2.22886 17.7325C2.2615 17.965 2.34173 18.188 2.46413 18.3879C2.21118 18.5933 2.02487 18.8789 1.93375 19.2216C1.87119 19.4596 1.86031 19.7071 1.90111 19.9505C1.94191 20.1926 2.03303 20.4238 2.16902 20.6292C2.14454 20.6672 2.12278 20.7067 2.10102 20.7461C1.87391 21.1772 1.85895 21.6641 2.06022 22.1183C2.36485 22.8064 3.11963 23.3477 4.58702 23.9298C5.49954 24.2915 6.33456 24.5227 6.34136 24.5254C7.54763 24.8382 8.63968 24.9973 9.58348 24.9973C11.1352 24.9973 12.2925 24.573 13.031 23.7339C14.2821 23.9325 15.5564 23.9257 16.8048 23.7122C17.5433 24.5649 18.7074 24.996 20.2713 24.996C21.2165 24.996 22.3072 24.8368 23.5135 24.5241C23.5203 24.5213 24.3553 24.2901 25.2678 23.9284C26.7352 23.3463 27.49 22.8051 27.7946 22.1169C27.9945 21.6627 27.9809 21.1758 27.7538 20.7447C27.7334 20.7039 27.7103 20.6659 27.6858 20.6278V20.6264ZM12.5019 22.4188C12.4421 22.5249 12.3727 22.6337 12.2979 22.7452C12.1076 23.0254 11.856 23.2389 11.5636 23.398C11.006 23.7026 10.3002 23.8087 9.58348 23.8087C8.45064 23.8087 7.28924 23.5435 6.63918 23.3749C6.60655 23.3667 2.65044 22.2489 3.15091 21.2969C3.23522 21.1364 3.37394 21.0725 3.54801 21.0725C4.25383 21.0725 5.53762 22.1224 6.08976 22.1224C6.21352 22.1224 6.30056 22.0693 6.33592 21.9415C6.57119 21.097 2.7606 20.7434 3.08155 19.5208C3.13867 19.3046 3.29234 19.2162 3.50721 19.2162C4.44014 19.2162 6.53311 20.8563 6.97101 20.8563C7.00501 20.8563 7.02813 20.8467 7.04173 20.8263C7.04309 20.8236 7.04581 20.8195 7.04717 20.8168C7.25252 20.4768 7.13421 20.2307 5.72666 19.3685C5.68314 19.3413 5.63826 19.3141 5.59202 19.2855C4.04304 18.3485 2.95507 17.7841 3.57385 17.111C3.64457 17.0334 3.74521 16.9994 3.86896 16.9994C4.01448 16.9994 4.18991 17.0484 4.38438 17.13C5.20307 17.4754 6.33592 18.4165 6.81054 18.8259C6.95061 18.9469 7.03221 19.0217 7.03221 19.0217C7.03221 19.0217 7.63195 19.6459 7.99506 19.6459C8.07801 19.6459 8.14873 19.6133 8.19769 19.5317C8.45472 19.0978 5.80961 17.0933 5.66002 16.2664C5.55938 15.7061 5.73074 15.4219 6.04897 15.4219C6.19992 15.4219 6.38487 15.4858 6.58887 15.615C7.22124 16.0162 8.44248 18.1146 8.88991 18.9306C9.0395 19.2039 9.29517 19.3195 9.52636 19.3195C9.98331 19.3195 10.341 18.8653 9.56852 18.2873C8.40712 17.4183 8.81375 15.9972 9.36861 15.9101C9.39173 15.906 9.41621 15.9047 9.44069 15.9047C9.94523 15.9047 10.1669 16.7737 10.1669 16.7737C10.1669 16.7737 10.8183 18.4111 11.9389 19.5303C12.9548 20.5462 13.0976 21.3798 12.5047 22.4188H12.5019ZM16.1235 22.6106L16.065 22.6174C16.0324 22.6215 15.9984 22.6256 15.9657 22.6283C15.9141 22.6337 15.861 22.6392 15.8093 22.6432L15.7577 22.6473L15.7114 22.6514L15.6448 22.6568C15.6203 22.6582 15.5958 22.6609 15.5714 22.6623L15.4979 22.6677H15.4816C15.4626 22.6691 15.4435 22.6704 15.4245 22.6718H15.4C15.3769 22.6745 15.3551 22.6759 15.332 22.6759L15.2531 22.6786L15.181 22.6813H15.1334L15.109 22.6827C15.094 22.6827 15.0791 22.6827 15.0641 22.6827H15.041C15.026 22.6827 15.0111 22.6827 14.9961 22.6827H14.9349C14.9063 22.6827 14.8778 22.6827 14.8492 22.6827C14.7826 22.6827 14.7159 22.6827 14.6493 22.6813H14.5949C14.5799 22.6813 14.5636 22.68 14.5487 22.6786H14.4916L14.4208 22.6745L14.3569 22.6718H14.3406L14.2794 22.6677C14.2631 22.6677 14.2454 22.6664 14.2291 22.665L14.1896 22.6623C14.1407 22.6596 14.0904 22.6555 14.0414 22.6514L13.9897 22.6473C13.968 22.646 13.9462 22.6432 13.9245 22.6419C13.8986 22.6392 13.8741 22.6378 13.8483 22.6351C13.8061 22.631 13.7626 22.6269 13.7205 22.6215H13.7191C14.3406 21.2357 14.0264 19.9397 12.7698 18.6858C11.9457 17.863 11.3977 16.6486 11.2848 16.382C11.0549 15.5932 10.4457 14.7147 9.43389 14.7147C9.34821 14.7147 9.26253 14.7215 9.17822 14.7351C8.73487 14.8045 8.34729 15.0601 8.07122 15.4437C7.77203 15.0724 7.48236 14.7773 7.21988 14.61C6.82414 14.3598 6.42975 14.2319 6.04489 14.2319C5.56482 14.2319 5.13508 14.4291 4.83589 14.7868L4.82773 14.7963C4.82229 14.7732 4.81685 14.7487 4.81141 14.7256V14.7229C4.79373 14.6508 4.77741 14.5774 4.76245 14.5039C4.73661 14.3815 4.71349 14.2578 4.69173 14.134C4.68357 14.0851 4.67541 14.0361 4.66725 13.9871C4.66725 13.9858 4.66725 13.9844 4.66725 13.9817C4.66453 13.9627 4.66181 13.945 4.65909 13.9259C4.65773 13.9151 4.65501 13.9042 4.65365 13.8933C4.65093 13.8743 4.64821 13.8552 4.64549 13.8362C4.64141 13.8103 4.63869 13.7859 4.63461 13.7614C4.63189 13.7369 4.62782 13.7111 4.6251 13.6866C4.62238 13.6608 4.6183 13.6363 4.61558 13.6104C4.61286 13.5846 4.61014 13.5628 4.60742 13.5384V13.5316C4.60062 13.4812 4.59654 13.4323 4.5911 13.382C4.58702 13.3344 4.58158 13.2854 4.57886 13.2378C4.57886 13.2256 4.57614 13.2133 4.57614 13.1997C4.57478 13.178 4.57342 13.1576 4.5707 13.1358C4.5707 13.1181 4.56798 13.1005 4.56662 13.0828C4.56662 13.0787 4.56662 13.0746 4.56662 13.0705C4.56526 13.0474 4.5639 13.0229 4.56254 12.9998C4.56118 12.974 4.55982 12.9481 4.55846 12.9223C4.55846 12.8965 4.55574 12.8706 4.55438 12.8448C4.55438 12.8217 4.55302 12.7999 4.55166 12.7768V12.7564C4.5503 12.736 4.54894 12.7142 4.54894 12.6938V12.6408C4.54758 12.6204 4.54622 12.5986 4.54622 12.5769C4.54622 12.5565 4.54622 12.532 4.54622 12.5102C4.54622 12.4885 4.54622 12.4654 4.54622 12.4436C4.54622 12.4218 4.54622 12.3987 4.54622 12.377C4.54894 6.691 9.16326 2.07668 14.856 2.07668C20.5488 2.07668 25.1631 6.691 25.1631 12.3824V12.5157C25.1631 12.5374 25.1631 12.5606 25.1631 12.5823C25.1631 12.6013 25.1631 12.619 25.1631 12.6367C25.1631 12.653 25.1631 12.6693 25.1631 12.6857C25.1631 12.7061 25.1631 12.7278 25.1617 12.7482C25.1617 12.7741 25.1604 12.7985 25.159 12.8217C25.159 12.8421 25.1577 12.8638 25.1563 12.8842V12.8992C25.1549 12.9223 25.1536 12.9441 25.1522 12.9672C25.1522 12.9849 25.1509 13.0025 25.1495 13.0202C25.1427 13.129 25.1345 13.2364 25.125 13.3439C25.1237 13.3629 25.1223 13.382 25.1196 13.401C25.1169 13.4268 25.1155 13.45 25.1128 13.4744C25.1114 13.4935 25.1087 13.5112 25.1073 13.5302C25.1033 13.5669 25.0992 13.6036 25.0951 13.6404L25.0883 13.6961C25.0856 13.7179 25.0829 13.7396 25.0801 13.7614C25.0774 13.7859 25.0733 13.809 25.0706 13.8321C25.0665 13.8593 25.0625 13.8851 25.0597 13.911L25.0502 13.9735C25.0461 13.9967 25.0434 14.0211 25.0393 14.0443C25.0353 14.0674 25.0312 14.0919 25.0271 14.115C25.023 14.1381 25.0189 14.1612 25.0149 14.1857C25.0067 14.2319 24.9985 14.2795 24.989 14.3258C24.9809 14.3706 24.9713 14.4155 24.9632 14.459C24.9577 14.4835 24.9523 14.5094 24.9469 14.5338C24.9414 14.557 24.9373 14.5801 24.9319 14.6032C24.9265 14.6263 24.921 14.6494 24.9169 14.6726C24.6273 14.391 24.2424 14.2374 23.8195 14.2374C23.4346 14.2374 23.0402 14.3652 22.6445 14.6154C22.382 14.7827 22.0923 15.0778 21.7931 15.4491C21.5171 15.0656 21.1295 14.8099 20.6861 14.7406C20.6018 14.727 20.5161 14.7202 20.4305 14.7202C19.4187 14.7202 18.8094 15.5973 18.5796 16.3875C18.4653 16.654 17.9173 17.8684 17.0931 18.6926C15.8379 19.9437 15.521 21.233 16.133 22.6133L16.1235 22.6106ZM26.7638 19.8349C26.7638 19.8349 26.761 19.8431 26.7597 19.8472C26.757 19.8553 26.7542 19.8621 26.7502 19.8703C26.7447 19.8812 26.7406 19.8934 26.7352 19.9043C26.7311 19.9125 26.7284 19.9193 26.7243 19.9274C26.7148 19.9465 26.7039 19.9641 26.6917 19.9832C26.6767 20.0049 26.6604 20.0267 26.6441 20.0484C26.6359 20.0593 26.6264 20.0702 26.6169 20.0797C26.6101 20.0865 26.6046 20.0933 26.5978 20.1001C26.5883 20.111 26.5774 20.1205 26.5679 20.1314C26.3843 20.3123 26.1055 20.4714 25.79 20.6183C25.7547 20.6346 25.718 20.6509 25.6812 20.6672L25.6445 20.6835C25.62 20.6944 25.5956 20.7053 25.5711 20.7162C25.5466 20.7271 25.5208 20.7366 25.4963 20.7475L25.4201 20.7787C25.2433 20.8522 25.0611 20.9215 24.8829 20.9895L24.8068 21.0195L24.732 21.0494C24.6817 21.0684 24.6327 21.0888 24.5851 21.1079L24.513 21.1364L24.4423 21.165L24.407 21.1799C24.3838 21.1895 24.3607 21.199 24.339 21.2085C23.8167 21.4329 23.4414 21.66 23.5203 21.9429C23.523 21.951 23.5244 21.9578 23.5271 21.966C23.5339 21.9864 23.5434 22.0068 23.5556 22.0258C23.5624 22.0367 23.5706 22.0476 23.5801 22.0571C23.6726 22.1537 23.8412 22.1387 24.0547 22.0612C24.0724 22.0544 24.0901 22.0476 24.1078 22.0408C24.12 22.0367 24.1323 22.0313 24.1445 22.0258L24.1635 22.0177C24.2125 21.9973 24.2642 21.9741 24.3158 21.9483C24.3294 21.9415 24.3417 21.9361 24.3553 21.9293C24.615 21.8028 24.9101 21.6301 25.2025 21.475C25.2474 21.4506 25.2923 21.4274 25.3372 21.4043C25.412 21.3662 25.4854 21.3295 25.5588 21.2955C25.8363 21.165 26.096 21.0725 26.3055 21.0725C26.4034 21.0725 26.4904 21.0929 26.5625 21.1391L26.5747 21.1473C26.5829 21.1527 26.5897 21.1582 26.5978 21.165C26.625 21.1867 26.6495 21.2126 26.6686 21.2411C26.674 21.2493 26.6808 21.2588 26.6862 21.267C26.6917 21.2765 26.6971 21.286 26.7026 21.2955C26.8059 21.4914 26.7189 21.6954 26.5163 21.8953C26.3218 22.087 26.0185 22.2747 25.6744 22.4488C25.6486 22.4624 25.6228 22.4746 25.5969 22.4868C24.5729 22.99 23.232 23.3681 23.2129 23.3735C22.8553 23.466 22.3439 23.5884 21.7687 23.6782L21.683 23.6918H21.6694C21.6381 23.6986 21.6082 23.7026 21.5769 23.7081C21.5429 23.7122 21.5103 23.7176 21.4763 23.7217C21.411 23.7298 21.3444 23.738 21.2777 23.7462H21.2655C21.0261 23.7747 20.7813 23.7938 20.5365 23.8033H20.5325C20.4441 23.806 20.357 23.8074 20.2686 23.8074H20.1666C20.115 23.8074 20.0646 23.806 20.013 23.8033C19.9286 23.8006 19.8457 23.7951 19.7641 23.7883C19.7614 23.7883 19.7573 23.7883 19.7546 23.7883C19.7233 23.7856 19.692 23.7829 19.6607 23.7802C19.6444 23.7788 19.6281 23.7774 19.6104 23.7747C19.5601 23.7693 19.5111 23.7638 19.4622 23.757C19.4295 23.753 19.3969 23.7475 19.3643 23.7421C19.333 23.7366 19.299 23.7312 19.2663 23.7258C19.2514 23.723 19.2364 23.7203 19.2215 23.7176H19.2174C19.1698 23.7081 19.1235 23.6986 19.076 23.6877C19.0488 23.6809 19.0216 23.6754 18.9944 23.6686L18.978 23.6646C18.9644 23.6618 18.9522 23.6578 18.9386 23.6537H18.9318L18.8896 23.6401C18.8747 23.636 18.8597 23.6319 18.8434 23.6265H18.838L18.7985 23.6129C18.7836 23.6088 18.7686 23.6034 18.7536 23.5979C18.7414 23.5938 18.7292 23.5898 18.7169 23.5857L18.6897 23.5762C18.6639 23.5666 18.638 23.5571 18.6122 23.5476L18.5877 23.5381L18.5673 23.5299C18.5292 23.5136 18.4898 23.4986 18.4531 23.481L18.4273 23.4687H18.4232C18.4137 23.4633 18.4055 23.4579 18.396 23.4551C18.3783 23.447 18.3606 23.4375 18.3443 23.4293L18.3389 23.4266L18.3144 23.413C18.2858 23.398 18.2573 23.3831 18.2301 23.3667C18.2151 23.3572 18.1988 23.3491 18.1838 23.3395L18.1607 23.3246C18.1485 23.3178 18.1376 23.3096 18.1253 23.3028L18.0954 23.2824C18.0845 23.2756 18.0737 23.2675 18.0628 23.2593L18.0437 23.2457C18.0233 23.2307 18.0029 23.2158 17.9825 23.1995C17.9717 23.1913 17.9622 23.1831 17.9513 23.175C17.939 23.1655 17.9268 23.1546 17.9132 23.1437C17.9023 23.1355 17.8928 23.126 17.8819 23.1179C17.871 23.107 17.8602 23.0975 17.8493 23.0879C17.8384 23.0784 17.8289 23.0689 17.818 23.058C17.8071 23.0458 17.7962 23.0363 17.7854 23.0254C17.7745 23.0145 17.765 23.0036 17.7541 22.9927C17.7432 22.9819 17.7337 22.971 17.7228 22.9601C17.7133 22.9492 17.7038 22.9383 17.6942 22.9275L17.6915 22.9234C17.682 22.9125 17.6738 22.9016 17.6643 22.8908C17.6453 22.8676 17.6262 22.8432 17.6072 22.8187C17.5882 22.7942 17.5705 22.7697 17.5528 22.7439C17.5474 22.7357 17.5419 22.7276 17.5365 22.7194C17.5256 22.7031 17.5147 22.6868 17.5038 22.6691C17.493 22.6528 17.4821 22.6364 17.4712 22.6201C17.4603 22.6038 17.4508 22.5875 17.4399 22.5712C17.4345 22.563 17.429 22.5548 17.425 22.5467C17.4154 22.5317 17.4059 22.5154 17.3964 22.5004C17.3964 22.4977 17.3937 22.4964 17.3923 22.4936C17.3828 22.4787 17.3747 22.4637 17.3665 22.4488C17.3611 22.4406 17.357 22.4324 17.3529 22.4243C17.3488 22.4161 17.3434 22.408 17.3379 22.3984C17.3352 22.3944 17.3325 22.3889 17.3298 22.3848C17.3271 22.3808 17.3271 22.3794 17.3243 22.3753C17.3148 22.359 17.3067 22.3427 17.2971 22.3264C17.2931 22.3196 17.289 22.3114 17.2849 22.3046L17.2727 22.2815L17.2604 22.2584C17.2523 22.2421 17.2441 22.2271 17.2373 22.2108C17.2332 22.2026 17.2291 22.1945 17.2264 22.1877C17.2183 22.1713 17.2101 22.155 17.2033 22.1387C17.2006 22.1319 17.1979 22.1251 17.1938 22.1183C17.187 22.1033 17.1802 22.087 17.1734 22.0721C17.1707 22.0639 17.1666 22.0571 17.1639 22.0489C17.1571 22.034 17.1516 22.019 17.1448 22.0027C17.1421 21.9959 17.1394 21.9877 17.1367 21.9809C17.1244 21.951 17.1135 21.9197 17.104 21.8898C17.1013 21.8817 17.0986 21.8749 17.0959 21.8667C17.0918 21.8531 17.0863 21.8395 17.0823 21.8259C17.0755 21.8028 17.0673 21.7783 17.0619 21.7552C17.0591 21.7484 17.0578 21.7402 17.0564 21.7334C17.051 21.7117 17.0455 21.6886 17.0401 21.6668C17.036 21.6518 17.0333 21.6369 17.0306 21.6233C17.0292 21.6151 17.0279 21.6083 17.0265 21.6015C17.0238 21.5866 17.0211 21.573 17.0183 21.558C17.0143 21.5362 17.0115 21.5145 17.0088 21.4927C17.0088 21.4859 17.0075 21.4778 17.0061 21.471C17.0061 21.4642 17.0047 21.456 17.0034 21.4492C17.0007 21.4206 16.9979 21.3907 16.9966 21.3622C16.9966 21.3554 16.9966 21.3472 16.9966 21.3404C16.9966 21.3254 16.9966 21.3118 16.9966 21.2969C16.9884 20.7162 17.2835 20.1572 17.9118 19.5289C19.0311 18.4097 19.6839 16.7723 19.6839 16.7723C19.6839 16.7723 19.7015 16.703 19.7382 16.6051C19.7437 16.5915 19.7491 16.5765 19.7546 16.5629C19.7614 16.5452 19.7695 16.5275 19.7763 16.5085C19.7872 16.4827 19.7981 16.4568 19.8117 16.431C19.8158 16.4215 19.8212 16.4106 19.8266 16.4011C19.828 16.397 19.8294 16.3943 19.8321 16.3902C19.8348 16.3834 19.8389 16.3766 19.8416 16.3698C19.8606 16.3331 19.8824 16.295 19.9055 16.2583C19.911 16.2487 19.9178 16.2379 19.9246 16.2283C19.9382 16.2079 19.9518 16.1889 19.9654 16.1699C19.9722 16.1603 19.979 16.1508 19.9871 16.1413C19.9994 16.1263 20.013 16.1114 20.0252 16.0964C20.0306 16.091 20.0361 16.0855 20.0415 16.0801C20.1068 16.0135 20.1802 15.9591 20.2646 15.9292L20.2754 15.9264C20.2822 15.9237 20.289 15.9224 20.2972 15.9196C20.3053 15.9169 20.3135 15.9156 20.323 15.9142H20.3271C20.3448 15.9101 20.3625 15.9074 20.3801 15.906H20.3815C20.391 15.906 20.4005 15.906 20.4101 15.906C20.4223 15.906 20.4332 15.906 20.4454 15.906C20.4577 15.906 20.4699 15.9088 20.4821 15.9101C20.5828 15.9264 20.6793 15.9863 20.7623 16.0787C20.7664 16.0828 20.7705 16.0869 20.7732 16.0923C20.7922 16.1141 20.8099 16.1386 20.8262 16.1631C20.833 16.1726 20.8398 16.1835 20.8466 16.193C20.8629 16.2188 20.8779 16.2474 20.8928 16.2759C20.8983 16.2882 20.9037 16.2991 20.9092 16.3113C20.9119 16.3167 20.9146 16.3235 20.9173 16.3303C20.9228 16.3426 20.9282 16.3548 20.9323 16.3671C20.9377 16.3793 20.9418 16.3929 20.9472 16.4051C20.969 16.4663 20.9867 16.5289 20.9989 16.5915C21.0016 16.6064 21.0044 16.62 21.0071 16.635C21.0166 16.688 21.022 16.741 21.0248 16.7954C21.0248 16.8104 21.0261 16.8267 21.0275 16.843C21.0275 16.8798 21.0275 16.9178 21.0275 16.9559C21.0275 16.9709 21.0261 16.9845 21.0248 16.9994C21.0152 17.1368 20.988 17.2728 20.9445 17.4033C20.9364 17.4265 20.9282 17.4482 20.92 17.4713C20.9146 17.4863 20.9078 17.5013 20.9024 17.5162C20.8901 17.5461 20.8765 17.5774 20.8616 17.6073C20.8507 17.6305 20.8384 17.6522 20.8262 17.6753C20.8181 17.6903 20.8099 17.7053 20.8004 17.7202C20.7786 17.7569 20.7541 17.795 20.7297 17.8317L20.7147 17.8535C20.6943 17.8834 20.6712 17.912 20.6481 17.9405C20.6059 17.9922 20.561 18.0412 20.5148 18.0888C20.4427 18.1608 20.3652 18.2275 20.2836 18.2887C20.2102 18.3431 20.1394 18.4029 20.0742 18.4682C20.0674 18.475 20.0606 18.4831 20.0538 18.4899C19.8498 18.7048 19.8022 18.8938 19.8484 19.0366C19.8511 19.0434 19.8525 19.0502 19.8552 19.0557C19.8593 19.0652 19.8634 19.0747 19.8674 19.0842C19.8702 19.0897 19.8729 19.0965 19.877 19.1019C19.8906 19.125 19.9069 19.1468 19.9259 19.1672C19.9286 19.1699 19.9314 19.1726 19.9327 19.174L19.9395 19.1808C19.9463 19.1876 19.9545 19.1944 19.9626 19.2012L19.9708 19.208C19.9708 19.208 19.9817 19.2162 19.9871 19.2202C20.0021 19.2311 20.017 19.2406 20.0334 19.2488C20.0402 19.2515 20.0456 19.2556 20.0524 19.2583C20.0755 19.2706 20.1 19.2801 20.1258 19.2882C20.1326 19.291 20.1394 19.2923 20.1462 19.295L20.1558 19.2978L20.168 19.3005L20.1789 19.3032L20.1898 19.3059L20.2006 19.3086H20.2115C20.2197 19.3114 20.2278 19.3127 20.236 19.3141H20.2442L20.2577 19.3168H20.2659L20.2809 19.3182H20.304H20.3108H20.3652L20.3801 19.3168H20.3992L20.4169 19.3127C20.4209 19.3127 20.425 19.3127 20.4291 19.3114C20.4386 19.3114 20.4468 19.3086 20.4563 19.3073C20.4781 19.3032 20.5012 19.2978 20.5229 19.291C20.5447 19.2842 20.5678 19.2774 20.5882 19.2678C20.595 19.2651 20.6032 19.2624 20.61 19.2583C20.6222 19.2529 20.6345 19.2474 20.6453 19.242C20.6549 19.2379 20.6644 19.2325 20.6739 19.227C20.6875 19.2189 20.7025 19.2107 20.7147 19.2012C20.746 19.1808 20.7745 19.1577 20.8031 19.1332C20.8099 19.1278 20.8167 19.121 20.8221 19.1155C20.8249 19.1128 20.8276 19.1101 20.8316 19.106C20.8371 19.1006 20.8439 19.0938 20.8493 19.087C20.8616 19.0747 20.8724 19.0611 20.8847 19.0462C20.9132 19.0094 20.9391 18.97 20.9622 18.9292C21.1444 18.5974 21.4531 18.0548 21.7986 17.4999C21.8122 17.4781 21.8258 17.4564 21.838 17.436C21.8516 17.4142 21.8652 17.3925 21.8788 17.3721C21.8992 17.3394 21.9196 17.3081 21.94 17.2755L21.9604 17.2429C21.974 17.2211 21.9876 17.2007 22.0012 17.179C22.0556 17.0946 22.1114 17.0103 22.1671 16.9274L22.2093 16.8648C22.2922 16.741 22.3752 16.6214 22.4582 16.5071L22.499 16.4514C22.5602 16.3671 22.62 16.2868 22.6798 16.2107C22.7125 16.1685 22.7451 16.1277 22.7777 16.0896L22.8158 16.0434C22.8226 16.0352 22.8281 16.0284 22.8349 16.0203C22.8471 16.0053 22.8607 15.9904 22.8729 15.9768C22.8797 15.97 22.8852 15.9632 22.892 15.955C22.9042 15.9414 22.9165 15.9264 22.9287 15.9142C22.9341 15.9074 22.9409 15.9006 22.9477 15.8938C22.9654 15.8734 22.9845 15.8544 23.0021 15.8367C23.0144 15.8244 23.0253 15.8122 23.0375 15.8013C23.1069 15.7306 23.183 15.668 23.2646 15.6123L23.2836 15.6C23.2836 15.6 23.2959 15.5919 23.3027 15.5878C23.3149 15.581 23.3272 15.5728 23.3394 15.566C23.6604 15.3838 23.9269 15.3702 24.0806 15.5239C24.1731 15.6164 24.2247 15.77 24.222 15.9849C24.222 15.9944 24.222 16.004 24.222 16.0135V16.0244C24.222 16.0339 24.222 16.0434 24.2207 16.0543C24.2207 16.0665 24.2193 16.0787 24.2179 16.091C24.2179 16.1032 24.2166 16.1127 24.2152 16.1236C24.2152 16.1263 24.2152 16.1304 24.2152 16.1331C24.2152 16.1427 24.2125 16.1522 24.2125 16.1617C24.2125 16.1644 24.2125 16.1671 24.2125 16.1712C24.2125 16.1807 24.2098 16.1916 24.2084 16.2011C24.2084 16.2039 24.2084 16.2066 24.2084 16.2093C24.2071 16.2215 24.2043 16.2324 24.203 16.2447C24.203 16.2515 24.2003 16.2583 24.1989 16.2651C24.1948 16.2841 24.1907 16.3031 24.1853 16.3222C24.1799 16.3426 24.1731 16.3616 24.1649 16.3834C24.1595 16.397 24.154 16.4119 24.1472 16.4255C24.1404 16.4405 24.1336 16.4541 24.1268 16.4691C24.1119 16.499 24.0955 16.5289 24.0779 16.5602C24.0683 16.5751 24.0588 16.5915 24.0493 16.6078C24.0439 16.6159 24.0398 16.6241 24.0343 16.6322C24.0194 16.6567 24.0031 16.6812 23.9854 16.7057C23.9691 16.7302 23.95 16.756 23.931 16.7818C23.9051 16.8158 23.8793 16.8512 23.8507 16.8866L23.829 16.9138C23.7936 16.9586 23.7555 17.0035 23.7175 17.0498C23.6944 17.077 23.6699 17.1055 23.6454 17.1341C23.6291 17.1531 23.6128 17.1722 23.5951 17.1898L23.5692 17.2184C23.5352 17.2565 23.4999 17.2945 23.4645 17.334L23.4373 17.3625C23.4196 17.3816 23.4006 17.402 23.3829 17.421C23.3652 17.4401 23.3462 17.4605 23.3272 17.4795L23.2714 17.538C23.2524 17.557 23.2333 17.5774 23.2143 17.5965C23.1952 17.6169 23.1762 17.6359 23.1572 17.6563C23.1191 17.6957 23.081 17.7352 23.0416 17.776C22.4908 18.3417 21.9087 18.9047 21.7129 19.257C21.6993 19.2801 21.6884 19.3032 21.6775 19.3277C21.649 19.3916 21.6381 19.446 21.6463 19.4909C21.649 19.5058 21.6544 19.5194 21.6612 19.5317C21.6667 19.5412 21.6735 19.5507 21.6803 19.5602C21.6871 19.5684 21.6939 19.5765 21.7007 19.5847C21.7075 19.5915 21.7156 19.5983 21.7238 19.6051C21.7646 19.6337 21.8135 19.6486 21.8625 19.6473H21.8938L21.9101 19.6445H21.9237C21.9237 19.6445 21.9278 19.6418 21.9291 19.6418L21.9414 19.6391H21.9441L21.9577 19.635H21.9631C21.9631 19.635 21.9727 19.6309 21.9767 19.6296C21.9808 19.6296 21.9876 19.6269 21.993 19.6241C22.0039 19.6214 22.0148 19.6173 22.027 19.6133C22.0379 19.6092 22.0515 19.6037 22.0638 19.5997C22.076 19.5942 22.0882 19.5888 22.0991 19.5833C22.1046 19.5806 22.1114 19.5779 22.1168 19.5752L22.1345 19.5657C22.1576 19.5534 22.1821 19.5412 22.2052 19.5262C22.2242 19.5153 22.2433 19.5031 22.261 19.4909L22.2786 19.4786C22.2786 19.4786 22.2909 19.4705 22.2963 19.4664L22.314 19.4542L22.3235 19.4473C22.3317 19.4419 22.3412 19.4351 22.3494 19.4297C22.3738 19.4134 22.397 19.3957 22.4201 19.378H22.4214C22.4337 19.3671 22.4459 19.3576 22.4582 19.3481C22.5085 19.3086 22.5561 19.2692 22.5982 19.2311L22.6268 19.2066L22.6295 19.2039L22.6445 19.1903C22.6798 19.159 22.7111 19.1291 22.7369 19.1046L22.7478 19.0938C22.7573 19.0842 22.7655 19.0761 22.7737 19.0693L22.7886 19.0543L22.7941 19.0489H22.7954C22.8022 19.0407 22.8077 19.0353 22.8117 19.0312C22.8172 19.0258 22.8213 19.0217 22.8213 19.0203L22.8267 19.0149C22.8281 19.0135 22.8308 19.0122 22.8321 19.0094H22.8335L22.8389 19.0026L22.8661 18.9782L22.8811 18.9646C22.8893 18.9578 22.8974 18.951 22.9056 18.9428L22.9246 18.9265C22.9246 18.9265 22.9314 18.921 22.9341 18.9183L22.9532 18.902L22.9817 18.8775L22.9967 18.8639C23.0552 18.8123 23.1272 18.7497 23.2102 18.6803L23.2442 18.6518L23.3 18.6042C23.319 18.5879 23.338 18.5729 23.3571 18.5566C23.4319 18.494 23.5121 18.4287 23.5978 18.3594L23.6536 18.3145C23.7012 18.2764 23.7501 18.2384 23.7991 18.1989C23.8195 18.184 23.8385 18.1676 23.8603 18.1527C23.8902 18.1296 23.9215 18.1051 23.9527 18.082C23.9731 18.067 23.9935 18.0507 24.0139 18.0357C24.1309 17.9473 24.2506 17.8589 24.373 17.7733L24.4246 17.7365C24.4614 17.7107 24.4981 17.6862 24.5334 17.6617L24.5661 17.6386C24.6001 17.6155 24.6354 17.5924 24.6694 17.5706C24.7007 17.5502 24.732 17.5298 24.7646 17.5094L24.7973 17.489L24.8299 17.4686C24.8625 17.4482 24.8952 17.4278 24.9278 17.4088L24.9605 17.3897L25.0257 17.3517C25.0475 17.3394 25.0679 17.3272 25.0897 17.3149L25.1019 17.3081C25.1182 17.2986 25.1359 17.2891 25.1522 17.2809C25.1726 17.2701 25.1944 17.2578 25.2148 17.2483L25.2461 17.232L25.276 17.217C25.2869 17.2116 25.2964 17.2075 25.3073 17.2021C25.3685 17.1721 25.4283 17.145 25.4868 17.1218C25.4963 17.1178 25.5058 17.1137 25.5153 17.1096C25.5344 17.1014 25.5534 17.0946 25.5724 17.0878C25.5915 17.081 25.6105 17.0742 25.6282 17.0688C25.6445 17.0634 25.6608 17.0579 25.6772 17.0538H25.6826C25.6908 17.0498 25.6989 17.047 25.7084 17.0443H25.7112C25.7288 17.0389 25.7465 17.0348 25.7628 17.0307C25.7887 17.0253 25.8132 17.0198 25.8376 17.0158C25.8458 17.0144 25.854 17.013 25.8621 17.0117C25.8784 17.009 25.8948 17.0076 25.9097 17.0062C25.9179 17.0062 25.9247 17.0062 25.9328 17.0049C25.9478 17.0049 25.9628 17.0035 25.9777 17.0035H25.9886C26.0035 17.0035 26.0185 17.0035 26.0335 17.0062C26.0403 17.0062 26.0471 17.0062 26.0539 17.009H26.0566C26.0566 17.009 26.0702 17.0103 26.0756 17.0117C26.0824 17.013 26.0892 17.0144 26.0947 17.0158H26.0974C26.0974 17.0158 26.1096 17.0185 26.1164 17.0212C26.1232 17.0226 26.1287 17.0253 26.1355 17.0266C26.1572 17.0334 26.1776 17.043 26.198 17.0552C26.2035 17.0579 26.2089 17.062 26.2143 17.0661C26.2198 17.0702 26.2252 17.0729 26.2307 17.077C26.2402 17.0838 26.2483 17.0906 26.2565 17.0987L26.2606 17.1028C26.2606 17.1028 26.2647 17.1069 26.2674 17.1096L26.2742 17.1164C26.3286 17.1735 26.3735 17.2401 26.4075 17.3109C26.4088 17.3149 26.4115 17.319 26.4129 17.3231C26.417 17.3313 26.4197 17.3394 26.4224 17.3476C26.4292 17.3666 26.436 17.387 26.4401 17.4074C26.4578 17.4877 26.4537 17.572 26.4265 17.6495C26.4238 17.6563 26.4224 17.6631 26.4197 17.6713C26.4102 17.6971 26.3979 17.7229 26.3843 17.7488C26.3803 17.7556 26.3775 17.7624 26.3735 17.7692C26.3313 17.8399 26.281 17.9065 26.2239 17.9664L26.2116 17.98C26.1939 17.999 26.1749 18.018 26.1545 18.0371C26.1463 18.0452 26.1368 18.0534 26.1273 18.0629C26.1178 18.0711 26.1083 18.0806 26.0987 18.0888L26.0838 18.1024C26.0743 18.1105 26.0647 18.12 26.0539 18.1282C26.0335 18.1459 26.0131 18.1622 25.9913 18.1799C25.9859 18.184 25.9804 18.188 25.975 18.1935C25.9532 18.2112 25.9315 18.2288 25.9084 18.2465C25.8676 18.2778 25.8254 18.3091 25.7819 18.3403C25.7438 18.3675 25.7044 18.3947 25.6649 18.4233C25.616 18.4573 25.5656 18.4899 25.514 18.5239C25.4215 18.5851 25.3236 18.6463 25.2216 18.7103C25.193 18.7279 25.1645 18.7456 25.1359 18.7633C24.868 18.9278 24.5715 19.1033 24.256 19.295L24.1744 19.3454C24.0847 19.3998 24.0003 19.4528 23.9201 19.5017L23.8807 19.5276L23.8045 19.5765C23.7746 19.5956 23.7447 19.6146 23.7161 19.6323C23.6943 19.6459 23.674 19.6595 23.6536 19.6731L23.6128 19.7003C23.5924 19.7139 23.5733 19.7261 23.5543 19.7397L23.5352 19.752C23.5148 19.7656 23.4958 19.7792 23.4768 19.7914L23.4455 19.8132L23.4088 19.839L23.3748 19.8621C23.3176 19.9016 23.266 19.941 23.217 19.9764L23.1993 19.99C23.1789 20.0049 23.1585 20.0212 23.1395 20.0362C23.1313 20.043 23.1232 20.0498 23.115 20.0566C23.0729 20.0906 23.0348 20.1232 22.9994 20.1545L22.9831 20.1695C22.9736 20.179 22.9641 20.1872 22.9545 20.1953C22.9477 20.2008 22.9423 20.2076 22.9355 20.213L22.926 20.2212C22.926 20.2212 22.9151 20.232 22.9097 20.2375C22.8961 20.2524 22.8825 20.266 22.8702 20.281L22.8607 20.2919C22.8403 20.315 22.824 20.3368 22.8077 20.3585L22.8009 20.368C22.7886 20.3857 22.7777 20.4034 22.7682 20.4224C22.7655 20.4265 22.7628 20.432 22.7614 20.436C22.7587 20.4401 22.7573 20.4456 22.7546 20.4496C22.7519 20.4537 22.7519 20.4564 22.7505 20.4592L22.7478 20.466L22.7451 20.4714C22.7451 20.4714 22.7424 20.4768 22.7424 20.4796C22.7424 20.4823 22.7397 20.4877 22.7383 20.4918C22.7342 20.5054 22.7301 20.519 22.7274 20.5326C22.7274 20.5353 22.7274 20.538 22.7261 20.5421C22.7261 20.5448 22.7261 20.5476 22.7261 20.5516C22.7261 20.5544 22.7261 20.5571 22.7261 20.5598V20.568C22.7261 20.568 22.7261 20.5748 22.7261 20.5775V20.6101C22.7261 20.6101 22.7261 20.6169 22.7261 20.621C22.7261 20.6237 22.7261 20.6251 22.7261 20.6278C22.7261 20.6319 22.7261 20.6346 22.7261 20.6387C22.7261 20.6427 22.7274 20.6482 22.7288 20.6536C22.7288 20.6536 22.7301 20.6631 22.7315 20.6686C22.7315 20.674 22.7342 20.6781 22.7356 20.6835C22.7383 20.6931 22.741 20.7026 22.7451 20.7121C22.7465 20.7175 22.7492 20.723 22.7519 20.7284V20.7311C22.7533 20.7352 22.7546 20.7393 22.7573 20.742C22.7587 20.7461 22.7614 20.7515 22.7641 20.757C22.7682 20.7665 22.7737 20.7774 22.7791 20.7869C22.7818 20.7923 22.7845 20.7978 22.7873 20.8019L22.7968 20.8168C22.7968 20.8168 22.8022 20.8277 22.8063 20.8318C22.8077 20.8345 22.8104 20.8372 22.8117 20.8386L22.8145 20.8413L22.8172 20.844L22.8213 20.8467C22.8213 20.8467 22.8267 20.8495 22.8294 20.8522C22.8321 20.8522 22.8349 20.8549 22.8376 20.8563C22.8403 20.8563 22.8444 20.8576 22.8471 20.859C22.926 20.8767 23.0865 20.8114 23.3013 20.6985C23.3136 20.6917 23.3272 20.6849 23.3394 20.6781L23.4047 20.6427L23.4373 20.6251C23.4604 20.6128 23.4836 20.5992 23.5067 20.5856C23.5203 20.5775 23.5352 20.5693 23.5502 20.5612C23.8331 20.398 24.1717 20.1885 24.5212 19.9845C24.5538 19.9655 24.5865 19.9465 24.6191 19.9274L24.6858 19.8853C24.7184 19.8662 24.7524 19.8472 24.785 19.8295C24.8286 19.805 24.8734 19.7805 24.9169 19.7561C25.0162 19.7017 25.1141 19.6486 25.2121 19.5997L25.2773 19.567C25.3209 19.5453 25.363 19.5249 25.4052 19.5045C25.4473 19.4841 25.4895 19.465 25.5303 19.4473C25.5711 19.4297 25.6119 19.412 25.6513 19.3943L25.6976 19.3753L25.703 19.3726C25.9437 19.2774 26.1627 19.2175 26.3395 19.2175C26.3775 19.2175 26.4156 19.2202 26.4537 19.227C26.4659 19.2298 26.4768 19.2311 26.4877 19.2352H26.4891C26.4986 19.2379 26.5067 19.2406 26.5163 19.2434C26.5231 19.2461 26.5299 19.2474 26.5367 19.2502C26.5435 19.2529 26.5475 19.2542 26.5516 19.257C26.5584 19.2597 26.5652 19.2624 26.572 19.2665C26.5788 19.2692 26.5883 19.2746 26.5951 19.2801C26.6237 19.2978 26.6495 19.3182 26.6713 19.3426C26.6808 19.3535 26.6903 19.3644 26.6985 19.3766C26.7012 19.3807 26.7039 19.3848 26.7066 19.3889C26.7121 19.397 26.7162 19.4052 26.7216 19.4134C26.727 19.4242 26.7325 19.4351 26.7379 19.446C26.7434 19.4582 26.7474 19.4691 26.7515 19.4827C26.7556 19.4963 26.7597 19.5085 26.7638 19.5221C26.7923 19.6255 26.7896 19.7343 26.7556 19.8363L26.7638 19.8349Z",fill:"#FF9700"}),C.jsx("path",{id:"Vector_3",fillRule:"evenodd",clipRule:"evenodd",d:"M25.1596 12.449V12.3824C25.1596 6.69098 20.5467 2.07666 14.8553 2.07666C9.16386 2.07666 4.54818 6.69098 4.54818 12.3824C4.54818 12.3905 4.54818 12.3973 4.54818 12.4041C4.54818 12.4191 4.54818 12.4341 4.54818 12.449C4.54818 12.464 4.54818 12.4776 4.54818 12.4912C4.54818 12.4993 4.54818 12.5075 4.54818 12.5157C4.54818 12.532 4.54818 12.5483 4.54818 12.5646C4.54818 12.5701 4.54818 12.5769 4.54818 12.5823C4.54818 12.5905 4.54818 12.5986 4.54818 12.6068C4.54818 12.6204 4.54818 12.6326 4.54818 12.6462V12.6992C4.5509 12.7196 4.5509 12.7414 4.55226 12.7618V12.7822C4.55362 12.804 4.55498 12.8257 4.55634 12.8461V12.8488C4.55634 12.8733 4.55906 12.8992 4.56042 12.9236C4.56042 12.9508 4.56314 12.9767 4.5645 13.0025C4.5645 13.027 4.56722 13.0501 4.56858 13.0732C4.56858 13.0746 4.56858 13.076 4.56858 13.0773C4.56858 13.08 4.56858 13.0828 4.56858 13.0855C4.56858 13.1032 4.5713 13.1208 4.57266 13.1385V13.144C4.57402 13.163 4.57538 13.1834 4.5781 13.2024V13.2065C4.5781 13.2174 4.58082 13.2296 4.58082 13.2405C4.5849 13.2881 4.58898 13.3371 4.59306 13.3847C4.5985 13.435 4.60258 13.4853 4.60802 13.5343V13.5411C4.6121 13.5655 4.61346 13.5873 4.61754 13.6131C4.62026 13.6376 4.62298 13.6635 4.62706 13.6893C4.62978 13.7056 4.63114 13.7233 4.63386 13.741C4.63386 13.7491 4.63658 13.7573 4.63658 13.7655C4.6393 13.7899 4.64338 13.8158 4.64746 13.8403C4.65018 13.8593 4.6529 13.8783 4.65561 13.8974C4.65697 13.9082 4.65833 13.9191 4.66105 13.9314V13.9354C4.66377 13.9531 4.66649 13.9708 4.66921 13.9871C4.66921 13.9885 4.66921 13.9898 4.66921 13.9926C4.67737 14.0429 4.68553 14.0918 4.69369 14.1394C4.71545 14.2632 4.73857 14.387 4.76441 14.5093C4.78073 14.5828 4.79569 14.6562 4.81337 14.7283V14.731C4.81337 14.731 4.81745 14.7433 4.81881 14.7501C4.82289 14.7677 4.82697 14.7854 4.83105 14.8017L4.83921 14.7922C5.1384 14.4345 5.56814 14.2374 6.04821 14.2374C6.43307 14.2374 6.82746 14.3638 7.22321 14.6154C7.48568 14.7827 7.77535 15.0778 8.07454 15.4491C8.35061 15.0656 8.73819 14.8099 9.18154 14.7405C9.26585 14.7269 9.35153 14.7201 9.43721 14.7201C10.449 14.7201 11.0583 15.5973 11.2881 16.3874C11.401 16.654 11.949 17.8684 12.7759 18.6898C14.0311 19.9451 14.3466 21.2397 13.7251 22.6255H13.7265C13.7687 22.6296 13.8108 22.6351 13.8543 22.6391C13.8802 22.6419 13.9047 22.6446 13.9305 22.6459H13.94C13.9591 22.6487 13.9767 22.65 13.9958 22.6514L14.0474 22.6555C14.0964 22.6595 14.1467 22.6623 14.1957 22.6663L14.2351 22.6691C14.246 22.6691 14.2555 22.6691 14.2664 22.6704C14.2732 22.6704 14.28 22.6704 14.2854 22.6704L14.3466 22.6731H14.363L14.4269 22.6772L14.4976 22.6799H14.5547C14.5547 22.6799 14.5615 22.6813 14.5642 22.6827C14.5765 22.6827 14.5887 22.6827 14.6009 22.6827C14.605 22.6827 14.6091 22.6827 14.6145 22.6827C14.6281 22.6827 14.6417 22.6827 14.6553 22.6827C14.722 22.6827 14.7886 22.684 14.8553 22.684H15.0008C15.0157 22.6827 15.0307 22.6827 15.0457 22.6827H15.0688C15.0688 22.6827 15.0824 22.6827 15.0892 22.6827C15.0973 22.6827 15.1055 22.6827 15.1137 22.6827H15.1857L15.2578 22.6786L15.3367 22.6759C15.3598 22.6759 15.3816 22.6745 15.4047 22.6731H15.4292C15.4414 22.6718 15.4536 22.6704 15.4645 22.6691C15.4713 22.6691 15.4781 22.6691 15.4863 22.6691H15.5026L15.576 22.6636C15.6005 22.6623 15.625 22.6609 15.6495 22.6582L15.7161 22.6527L15.7623 22.6487L15.8127 22.6446C15.8643 22.6391 15.9174 22.6351 15.9691 22.6296C16.0017 22.6255 16.0357 22.6228 16.0683 22.6187L16.1268 22.6119C15.5148 21.2316 15.8317 19.9424 17.0829 18.6926C17.907 17.8684 18.4551 16.654 18.5693 16.3874C18.7991 15.5973 19.4084 14.7201 20.4202 14.7201C20.5059 14.7201 20.5915 14.7269 20.6759 14.7405C21.1192 14.8099 21.5054 15.0656 21.7829 15.4491C22.082 15.0778 22.3717 14.7827 22.6342 14.6154C23.0299 14.3638 23.4257 14.2374 23.8092 14.2374C24.2335 14.2374 24.617 14.391 24.9067 14.6725C24.9121 14.6494 24.9175 14.6263 24.9216 14.6032C24.9271 14.5801 24.9311 14.5569 24.9366 14.5338C24.942 14.5093 24.9475 14.4835 24.9529 14.459C24.9624 14.4142 24.9706 14.3706 24.9787 14.3258C24.9883 14.2795 24.9964 14.2319 25.0046 14.1857C25.0059 14.1775 25.0073 14.1694 25.0087 14.1598C25.0114 14.1449 25.0141 14.1299 25.0168 14.115C25.0209 14.0918 25.025 14.0687 25.0291 14.0442V14.0347C25.0345 14.0143 25.0372 13.9939 25.0399 13.9735L25.0495 13.911C25.0535 13.8838 25.0576 13.8579 25.0603 13.8321C25.0631 13.8117 25.0658 13.7927 25.0685 13.7723V13.7614L25.078 13.6961L25.0848 13.6403C25.0889 13.6036 25.093 13.5669 25.0971 13.5302C25.0984 13.5152 25.0998 13.5016 25.1025 13.4867V13.4744C25.1066 13.4513 25.1093 13.4268 25.1107 13.4037C25.1107 13.4037 25.1107 13.4037 25.1107 13.4023C25.112 13.3833 25.1147 13.3643 25.1161 13.3452C25.1256 13.2378 25.1338 13.1304 25.1406 13.0229C25.1406 13.0052 25.1433 12.9876 25.1433 12.9699C25.1433 12.9468 25.146 12.925 25.1474 12.9019V12.8869C25.1487 12.8665 25.1501 12.8448 25.1501 12.8244C25.1501 12.7999 25.1528 12.7768 25.1528 12.7523C25.1528 12.7441 25.1528 12.7387 25.1528 12.7332C25.1528 12.7183 25.1528 12.7033 25.1528 12.6884V12.6829C25.1528 12.6693 25.1542 12.6544 25.1542 12.6408C25.1542 12.6367 25.1542 12.6326 25.1542 12.6285C25.1542 12.6149 25.1542 12.6 25.1542 12.5864C25.1542 12.5823 25.1542 12.5782 25.1542 12.5741C25.1542 12.5565 25.1542 12.5374 25.1542 12.5197V12.4531L25.1596 12.449ZM12.2985 22.7452C13.1145 21.5485 13.0574 20.6495 11.9368 19.5303C10.8176 18.411 10.1648 16.7737 10.1648 16.7737C10.1648 16.7737 9.92135 15.8231 9.36649 15.9101C8.81163 15.9971 8.405 17.4183 9.5664 18.2873C10.7278 19.1577 9.33521 19.7465 8.88779 18.9306C8.44036 18.1146 7.21913 16.0162 6.58675 15.615C5.95437 15.2138 5.50831 15.4382 5.6579 16.265C5.73134 16.6758 6.42083 17.3761 7.06545 18.0303C7.71823 18.6953 8.32613 19.3113 8.19557 19.5303C7.93854 19.9641 7.03145 19.0203 7.03145 19.0203C7.03145 19.0203 4.19187 16.4364 3.57445 17.1096C3.00463 17.7297 3.88316 18.2574 5.23767 19.0706C5.35327 19.14 5.47159 19.2107 5.59262 19.2841C7.14161 20.2225 7.26264 20.4687 7.04233 20.8236C6.96073 20.9542 6.44259 20.6427 5.80477 20.2606C4.71681 19.6078 3.28342 18.747 3.08079 19.5181C2.90536 20.1844 3.96068 20.5938 4.91673 20.9637C5.71366 21.2724 6.44259 21.5553 6.33516 21.9374C6.22364 22.3345 5.62118 22.004 4.96296 21.6409C4.22315 21.2343 3.41398 20.7882 3.14879 21.2914C2.64833 22.242 6.60443 23.3613 6.63707 23.3694C7.91542 23.7013 11.1616 24.403 12.2972 22.7411L12.2985 22.7452ZM17.5561 22.7452C16.7402 21.5485 16.7973 20.6495 17.9179 19.5303C19.0371 18.411 19.6899 16.7737 19.6899 16.7737C19.6899 16.7737 19.9333 15.8231 20.4882 15.9101C21.043 15.9971 21.4497 17.4183 20.2883 18.2873C19.1269 19.1563 20.5195 19.7465 20.9669 18.9306C21.4143 18.1146 22.6342 16.0162 23.2666 15.615C23.8989 15.2138 24.345 15.4382 24.1954 16.265C24.122 16.6758 23.4325 17.3761 22.7879 18.0316C22.1351 18.6953 21.5285 19.3127 21.6577 19.5303C21.9148 19.9641 22.8232 19.0203 22.8232 19.0203C22.8232 19.0203 25.6614 16.4364 26.2802 17.1096C26.85 17.7297 25.9715 18.2574 24.617 19.0706C24.5014 19.14 24.3831 19.2107 24.2621 19.2841C22.7131 20.2225 22.592 20.47 22.8123 20.8236C22.8939 20.9542 23.4121 20.6441 24.0499 20.2606C25.1379 19.6078 26.5713 18.747 26.7739 19.5181C26.9493 20.1844 25.894 20.5938 24.9379 20.9637C24.141 21.2724 23.4121 21.5539 23.5195 21.9374C23.631 22.3345 24.2321 22.0027 24.8903 21.6409C25.6288 21.2343 26.4393 20.7882 26.7045 21.2914C27.205 22.2434 23.2489 23.3613 23.2162 23.3694C21.9379 23.7026 18.6917 24.4044 17.5575 22.7411L17.5561 22.7452Z",fill:"#FFD000"}),C.jsx("path",{id:"Vector_4",fillRule:"evenodd",clipRule:"evenodd",d:"M18.2028 9.5768C18.3633 9.63392 18.4829 9.80663 18.5972 9.97118C18.7508 10.1942 18.8936 10.4009 19.1139 10.284C19.3723 10.1466 19.5859 9.93447 19.7246 9.67607C19.8633 9.41768 19.9231 9.12393 19.8946 8.83154C19.866 8.53915 19.7531 8.26308 19.5668 8.03597C19.3819 7.80886 19.133 7.64159 18.8515 7.55591C18.5713 7.47023 18.2721 7.46887 17.9906 7.55455C17.7105 7.63887 17.4602 7.80478 17.2739 8.03189C17.0876 8.259 16.972 8.53507 16.9421 8.8261C16.9122 9.11849 16.9707 9.41224 17.108 9.67063C17.21 9.86239 17.4358 9.77127 17.6738 9.67607C17.8601 9.60128 18.0545 9.52376 18.2041 9.57544L18.2028 9.5768ZM11.2153 9.5768C11.0549 9.63392 10.9352 9.80663 10.821 9.97118C10.6673 10.1942 10.5245 10.4009 10.3042 10.284C10.0458 10.1466 9.83227 9.93447 9.69356 9.67607C9.55484 9.41768 9.495 9.12393 9.52356 8.83154C9.55212 8.53915 9.66636 8.26308 9.85131 8.03597C10.0376 7.80886 10.2851 7.64159 10.5666 7.55591C10.8468 7.47023 11.146 7.46887 11.4275 7.55455C11.7076 7.63887 11.9579 7.80478 12.1442 8.03053C12.3305 8.25628 12.4461 8.53371 12.476 8.82474C12.5059 9.11713 12.4475 9.41088 12.3101 9.66927C12.2081 9.86103 11.9824 9.76991 11.7444 9.67471C11.5581 9.59992 11.3636 9.5224 11.2153 9.57408V9.5768ZM17.1216 15.9346C18.2286 15.0615 18.6352 13.6376 18.6352 12.7604C18.6352 12.0669 18.1688 12.2858 17.4208 12.6544C17.4072 12.6612 17.3922 12.668 17.3786 12.6748C16.6932 13.0148 15.7793 13.4663 14.7784 13.4663C13.7775 13.4663 12.8636 13.0134 12.1782 12.6748C11.4071 12.2926 10.923 12.0533 10.923 12.7591C10.923 13.6635 11.3554 15.1499 12.544 16.0135C12.7004 15.6952 12.9221 15.4124 13.1927 15.1839C13.4633 14.9554 13.7789 14.7841 14.1188 14.6821C14.2372 14.6467 14.3596 14.8507 14.4847 15.0601C14.6057 15.2614 14.7281 15.4681 14.8546 15.4681C14.9879 15.4681 15.1198 15.2655 15.2476 15.0669C15.3822 14.8602 15.5128 14.6576 15.6379 14.6984C15.6746 14.7106 15.7113 14.7229 15.7481 14.7365C16.3369 14.9554 16.8251 15.3811 17.123 15.9332L17.1216 15.9346Z",fill:"#32343E"}),C.jsx("path",{id:"Vector_5",d:"M17.1212 15.9346C16.5445 16.3888 15.7775 16.6935 14.7793 16.6935C13.841 16.6935 13.1079 16.4242 12.5449 16.0148C12.7013 15.6966 12.923 15.4137 13.1936 15.1853C13.4642 14.9568 13.7798 14.7854 14.1197 14.6834C14.3523 14.6141 14.5998 15.4695 14.8541 15.4695C15.1275 15.4695 15.3913 14.6195 15.6388 14.6984C15.6755 14.7106 15.7123 14.7229 15.749 14.7365C16.3378 14.9554 16.8261 15.3811 17.1225 15.9332L17.1212 15.9346Z",fill:"#FF0030"}),C.jsx("path",{id:"Vector_6",fillRule:"evenodd",clipRule:"evenodd",d:"M8.56741 10.8103C8.4083 10.9163 8.22198 10.9721 8.03159 10.9721C7.90511 10.9721 7.78 10.9476 7.66304 10.8987C7.54609 10.8497 7.44001 10.779 7.35025 10.6892C7.2605 10.5995 7.18978 10.4934 7.14082 10.3764C7.09186 10.2595 7.06738 10.1344 7.06738 10.0079C7.06738 9.81749 7.1245 9.63118 7.23058 9.47207C7.33665 9.31295 7.48761 9.19056 7.66304 9.11712C7.83984 9.04368 8.03295 9.02464 8.22062 9.06272C8.40694 9.09944 8.57965 9.19192 8.71429 9.32655C8.84892 9.46119 8.9414 9.63254 8.97812 9.82021C9.01483 10.0079 8.9958 10.201 8.92372 10.3778C8.85028 10.5532 8.72789 10.7042 8.56877 10.8103H8.56741ZM22.3587 10.8103C22.1996 10.9163 22.0133 10.9721 21.8229 10.9721C21.6964 10.9721 21.5713 10.9476 21.4543 10.8987C21.3374 10.8497 21.2313 10.779 21.1415 10.6892C21.0518 10.5995 20.9811 10.4934 20.9321 10.3764C20.8831 10.2595 20.8587 10.1344 20.8587 10.0079C20.8587 9.81749 20.9158 9.63118 21.0205 9.47207C21.1266 9.31295 21.2775 9.19056 21.453 9.11712C21.6284 9.04368 21.8229 9.02464 22.0105 9.06272C22.1982 9.09944 22.3696 9.19192 22.5042 9.32655C22.6388 9.46119 22.7313 9.63254 22.768 9.82021C22.8048 10.0079 22.7857 10.201 22.7136 10.3778C22.6402 10.5532 22.5178 10.7042 22.3587 10.8103Z",fill:"#FFA800"})]})}),U=()=>C.jsx("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:C.jsxs("g",{id:"Group",children:[C.jsx("path",{id:"Vector",d:"M10.9988 21.822C16.9686 21.822 21.8081 16.978 21.8081 11.0026C21.8081 5.02724 16.9686 0.183228 10.9988 0.183228C5.02895 0.183228 0.189453 5.02724 0.189453 11.0026C0.189453 16.978 5.02895 21.822 10.9988 21.822Z",fill:"#79D6FF"}),C.jsxs("g",{id:"Clip path group",children:[C.jsx("mask",{id:"mask0_41_9667",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"22",height:"22",children:C.jsx("g",{id:"clippath",children:C.jsx("path",{id:"Vector_2",d:"M10.9968 21.822C16.9666 21.822 21.8061 16.9779 21.8061 11.0026C21.8061 5.02717 16.9666 0.183167 10.9968 0.183167C5.02699 0.183167 0.1875 5.02717 0.1875 11.0026C0.1875 16.9779 5.02699 21.822 10.9968 21.822Z",fill:"white"})})}),C.jsx("g",{mask:"url(#mask0_41_9667)",children:C.jsx("g",{id:"Group_2",children:C.jsxs("g",{id:"Group_3",children:[C.jsx("path",{id:"Vector_3",d:"M20.785 3.51493L14.6889 -0.465513C14.6889 -0.465513 14.8358 0.456502 13.7887 0.4769C12.7416 0.497299 11.254 -0.318643 10.7508 -0.696696C10.2477 -1.07339 5.8908 0.0362917 5.8908 0.0362917C5.8908 0.0362917 6.0159 1.23029 6.83316 1.23029C7.65042 1.23029 8.57239 1.3554 8.7818 0.894391C8.99122 0.433384 9.74593 -0.237049 9.87103 0.266115C9.99614 0.76928 10.0383 1.73345 9.36789 1.73345C8.69749 1.73345 7.65042 1.43971 7.18944 1.77561C6.72846 2.1115 6.05806 3.03216 5.59708 2.65547C5.13609 2.27877 5.30335 1.27244 5.01099 1.10518C4.71726 0.937908 3.41862 2.19446 3.41862 2.19446C3.41862 2.19446 3.62804 3.15863 4.21549 3.20079C4.80157 3.24294 5.05314 3.11647 5.05314 3.49453C5.05314 3.87258 4.84373 4.08065 4.29844 4.03985C3.75314 3.99769 3.1045 5.23384 3.94216 5.276C4.77982 5.31816 5.2204 5.00402 5.28295 5.276C5.34551 5.54798 4.23588 5.86212 3.58588 6.63726C2.93588 7.41241 1.72155 8.18756 2.07783 9.69569C2.4341 11.2038 2.91549 11.9586 3.92176 11.9382C4.92804 11.9178 5.95471 11.7287 6.37354 11.9382C6.79237 12.1476 7.73609 14.1589 7.79865 15.3746C7.8612 16.5904 7.75649 19.5237 9.83159 19.691C11.9053 19.8582 12.1991 17.9938 12.5553 17.303C12.9116 16.6122 13.7071 16.0247 13.5616 15.4386C13.4148 14.8524 12.9959 13.9087 13.8975 13.0506C14.7991 12.1911 15.804 11.9395 15.3852 11.1236C14.9663 10.3063 14.2334 10.8298 13.7928 10.139C13.3522 9.44818 11.7598 7.24786 12.3255 6.97452C12.8912 6.70254 14.043 9.86568 14.8399 9.94999C15.6367 10.0343 17.1869 9.2374 16.9354 8.69344C16.6838 8.14812 15.1961 7.64631 15.3852 7.05883C15.5742 6.47272 16.0352 7.18395 16.9354 7.562C17.8356 7.93869 18.423 7.43689 19.1138 8.14812C19.806 8.86071 19.2389 10.8516 20.1201 11.0189C20.9999 11.1861 20.7905 9.51074 21.1046 9.15445C21.4187 8.79815 22.1109 8.56833 22.1109 8.56833L20.7905 3.519L20.785 3.51493ZM8.23515 6.23881C6.64279 6.1341 5.82553 5.3372 6.13965 4.85579C6.45377 4.37438 7.31318 5.14953 7.73201 5.21209C8.15084 5.27464 8.13045 5.14953 8.86339 4.9605C9.59634 4.77148 10.7277 5.3372 10.7073 5.86076C10.6869 6.38432 9.82752 6.34216 8.23515 6.23745V6.23881Z",fill:"#23BD33"}),C.jsx("path",{id:"Vector_4",d:"M13.8085 18.4537C13.3679 18.2443 13.6195 17.3645 13.9132 17.0504C14.2069 16.7362 14.604 16.4425 14.9398 16.6315C15.2757 16.8206 14.2491 18.6631 13.8085 18.4537Z",fill:"#23BD33"})]})})})]})]})}),J=()=>C.jsx("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:C.jsxs("g",{id:"Group 42",children:[C.jsx("path",{id:"Vector 27",d:"M15.4004 15.8943L21.0002 21.4942",stroke:"black"}),C.jsx("circle",{id:"Ellipse 4757",cx:"9.09969",cy:"9.60561",r:"8.59969",stroke:"black"})]})}),O=()=>C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[C.jsx("path",{d:"M8.99924 13.4816L8.99915 1.33936",stroke:"black"}),C.jsx("path",{d:"M15.2305 7.57117L8.99867 1.33937L2.76687 7.57117",stroke:"black"}),C.jsx("path",{d:"M0.765625 11.6607V16.6607H16.7656V11.6607",stroke:"black"})]}),W=(i,t)=>p.useEffect(()=>{const n=o=>{i&&o.key==="Escape"&&t()};return document.addEventListener("keydown",n),()=>{document.removeEventListener("keydown",n)}},[i,t]);async function K(i){let t=[],n=[];const o=await fetch(`https://huggingface.co/api/models?search=${i}&limit=5&full=true`,{method:"GET",headers:{}});o.ok&&(t=(await o.json()).map(d=>({label:d.id,href:`/explorer/lineage/${d.id}`})));const L=await fetch(`https://huggingface.co/api/datasets?search=${i}&limit=5&full=true`,{method:"GET",headers:{}});return L.ok&&(n=(await L.json()).map(d=>({label:d.id,href:`/explorer/lineage/${d.id}`}))),{models:t,datasets:n}}async function i2(i){const t=await fetch(`https://huggingface.co/api/models/${i}`,{method:"GET",headers:{}});return t.ok?await t.json():Promise.reject(t)}const P="_form_wu6ja_1",Q="_search_wu6ja_2",Y="_upload_wu6ja_3",q="_hfBtn_wu6ja_4",X="_urlBtn_wu6ja_5",C2="_searchTypeBtns_wu6ja_6",e2="_searchBtn_wu6ja_19",s2="_active_wu6ja_41",t2="_inputWrapper_wu6ja_64",l2="_dropdown_wu6ja_148",a={form:P,search:Q,upload:Y,hfBtn:q,urlBtn:X,searchTypeBtns:C2,searchBtn:e2,active:s2,inputWrapper:t2,dropdown:l2};function o2({className:i,onSearch:t,isLandingPage:n}){const[o,L]=p.useState(!1),[e,d]=p.useState(""),[r,l]=p.useState([]),[H,f]=p.useState({models:[{label:"eci-io/climategpt-13b",href:"/explorer/lineage/eci-io/climategpt-13b"}],datasets:[{label:"eci-io/climategpt-13b",href:"/explorer/lineage/eci-io/climategpt-13b"}]}),[M,u]=p.useState(!1),m=["/explorer/lineage/eci-io/climategpt-70b","/explorer/lineage/eci-io/climategpt-13b","/explorer/lineage/eci-io/climategpt-7b","/explorer/lineage/eci-io/climategpt-7b-fsc","/explorer/lineage/eci-io/climategpt-7b-fsg"],j=e.includes("https://"),Z=g(a.container,i);g(a.hfBtn,e&&!j?a.active:""),g(a.urlBtn,e&&j?a.active:"");const x=k(),v=async s=>{d(s);const h=await K(e);f(h)};return W(o,()=>L(!1)),C.jsxs("div",{className:Z,children:[C.jsxs("form",{className:a.form,children:[C.jsxs("div",{className:a.search,children:[C.jsx("button",{className:a.searchBtn,onClick:t,children:C.jsx(J,{})}),C.jsxs("div",{className:a.inputWrapper,children:[C.jsx("input",{type:"search",id:"search",name:"search",onKeyDown:s=>{if(console.log("e.key: ",s.key),s.key==="Enter")if(s.preventDefault(),/^(ftp|http|https|www):\/\/[^ "]+$/.test(e))if(e.startsWith("https://huggingface.co/")){const V=e.replace("https://huggingface.co/","");x(w(V))}else x(b(e));else x(w(e))},onChange:s=>{v(s.target.value),u(!0)}}),!e&&C.jsxs("span",{children:["Search Hugging Face ",C.jsx($,{})," or Type a URL ",C.jsx(U,{})]})]}),e&&M&&C.jsxs("ul",{className:a.dropdown,children:[C.jsx("li",{children:"Models"}),H.models.map(({label:s,href:h},V)=>C.jsx("li",{children:C.jsx(_,{to:h,onClick:()=>u(!1),children:s})},V)),C.jsx("li",{children:"Datasets"}),H.datasets.map(({label:s,href:h},V)=>C.jsx("li",{children:C.jsx(_,{to:h,onClick:()=>u(!1),children:s})},(V+1)*2))]})]}),C.jsxs("button",{className:a.upload,onClick:s=>{s.preventDefault(),L(!0)},children:["Upload a Manifest ",C.jsx(O,{})]}),!n&&C.jsx("button",{className:a.upload,onClick:s=>{s.preventDefault();const h=Math.floor(Math.random()*m.length),V=m[h];x(V)},children:"Explore More..."})]}),o&&C.jsx(G,{handleClose:()=>L(!1),onFilesSelected:l})]})}const r2=()=>C.jsxs("svg",{viewBox:"0 0 860 88",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C.jsx("rect",{width:"70",height:"70",rx:"35",fill:"#85E2FF"}),C.jsx("path",{d:"M38.05 47.6V45.75H34.35C33.3325 45.75 32.4615 45.3877 31.7369 44.6631C31.0123 43.9385 30.65 43.0675 30.65 42.05V27.25H26.95V29.1C26.95 30.1175 26.5877 30.9885 25.8631 31.7131C25.1385 32.4377 24.2675 32.8 23.25 32.8H17.7C16.6825 32.8 15.8115 32.4377 15.0869 31.7131C14.3623 30.9885 14 30.1175 14 29.1V21.7C14 20.6825 14.3623 19.8115 15.0869 19.0869C15.8115 18.3623 16.6825 18 17.7 18H23.25C24.2675 18 25.1385 18.3623 25.8631 19.0869C26.5877 19.8115 26.95 20.6825 26.95 21.7V23.55H38.05V21.7C38.05 20.6825 38.4123 19.8115 39.1369 19.0869C39.8615 18.3623 40.7325 18 41.75 18H47.3C48.3175 18 49.1885 18.3623 49.9131 19.0869C50.6377 19.8115 51 20.6825 51 21.7V29.1C51 30.1175 50.6377 30.9885 49.9131 31.7131C49.1885 32.4377 48.3175 32.8 47.3 32.8H41.75C40.7325 32.8 39.8615 32.4377 39.1369 31.7131C38.4123 30.9885 38.05 30.1175 38.05 29.1V27.25H34.35V42.05H38.05V40.2C38.05 39.1825 38.4123 38.3115 39.1369 37.5869C39.8615 36.8623 40.7325 36.5 41.75 36.5H47.3C48.3175 36.5 49.1885 36.8623 49.9131 37.5869C50.6377 38.3115 51 39.1825 51 40.2V47.6C51 48.6175 50.6377 49.4885 49.9131 50.2131C49.1885 50.9377 48.3175 51.3 47.3 51.3H41.75C40.7325 51.3 39.8615 50.9377 39.1369 50.2131C38.4123 49.4885 38.05 48.6175 38.05 47.6Z",fill:"black"}),C.jsx("path",{d:"M98.6868 68.5H86.2187L110.686 1.56606H125.685L149.965 68.5H137.403L131.123 50.5947H105.061L98.6868 68.5ZM108.343 41.0327H127.841L118.186 12.4405H117.904L108.343 41.0327ZM154.283 1.56606H166.282V68.5H154.283V1.56606ZM193.656 1.56606H205.655V58.3755H236.872V68.5H193.656V1.56606ZM252.507 12.5342H240.601V1.56606H252.507V12.5342ZM240.414 68.5V20.0338H251.944V68.5H240.414ZM260.192 68.5V20.0338H271.441V28.4709C274.066 22.8462 278.472 18.7214 285.972 18.7214C298.534 18.7214 303.408 26.971 303.408 38.5016V68.5H292.065V41.1265C292.065 33.8143 289.815 28.6584 282.972 28.6584C276.41 28.6584 271.722 34.3768 271.722 46.3762V68.5H260.192ZM355.167 54.157C352.261 63.9065 343.918 69.9062 332.293 69.9062C317.669 69.9062 307.639 59.5005 307.639 44.1263C307.639 29.3146 318.044 18.6277 332.293 18.6277C348.699 18.6277 355.823 31.1895 355.917 45.2512C355.917 45.72 355.917 46.5637 355.823 47.4074H318.607C319.544 55.5632 324.888 60.6254 332.2 60.6254C337.543 60.6254 342.043 58.6568 343.73 54.157H355.167ZM318.7 39.5328H344.762C344.012 32.9706 340.168 27.4397 332.2 27.4397C324.794 27.4397 319.825 32.3144 318.7 39.5328ZM360.712 34.8455C362.025 26.971 368.587 18.5339 381.242 18.5339C396.898 18.5339 401.866 27.7209 401.866 38.8766V56.9694C401.866 60.7192 402.147 65.5002 402.71 68.5H391.179C390.898 66.7188 390.804 64.9377 390.804 63.1565V60.8129H390.711C388.929 64.6565 384.898 69.8124 375.43 69.8124C364.649 69.8124 358.462 63.1565 358.462 55.282C358.462 41.8764 374.586 40.6577 381.524 39.6265C387.711 38.6891 390.617 37.5641 390.617 33.4394C390.617 29.5958 387.148 27.2522 381.43 27.2522C376.368 27.2522 372.711 30.1583 371.493 34.8455H360.712ZM369.805 54.8132C369.805 58.4693 372.899 61.1879 378.43 61.1879C384.805 61.1879 390.804 57.3443 390.804 46.0012V41.5014C389.679 44.0326 387.054 46.1887 379.555 47.6886C372.993 48.9073 369.805 50.9697 369.805 54.8132ZM443.558 20.0338H455.557V63.6253C455.557 79.8431 444.214 86.5928 431.465 86.5928C418.247 86.5928 409.341 79.6557 408.028 69.9062H419.278C420.309 75.5309 424.809 77.7808 431.371 77.7808C438.964 77.7808 443.558 73.7497 443.558 65.0314V59.2192H443.464C441.495 64.094 437.183 68.3125 428.652 68.3125C415.434 68.3125 406.06 58.6568 406.06 43.3763C406.06 28.2834 415.247 18.7214 428.559 18.7214C436.902 18.7214 441.777 23.1274 443.464 27.2522H443.558V20.0338ZM417.497 43.4701C417.497 51.7196 421.996 59.1255 431.09 59.1255C440.933 59.1255 444.589 50.501 444.589 43.4701C444.589 36.4392 439.995 27.9084 431.09 27.9084C422.184 27.9084 417.497 35.2205 417.497 43.4701ZM507.697 54.157C504.791 63.9065 496.448 69.9062 484.823 69.9062C470.199 69.9062 460.168 59.5005 460.168 44.1263C460.168 29.3146 470.574 18.6277 484.823 18.6277C501.229 18.6277 508.353 31.1895 508.447 45.2512C508.447 45.72 508.447 46.5637 508.353 47.4074H471.136C472.074 55.5632 477.417 60.6254 484.729 60.6254C490.073 60.6254 494.573 58.6568 496.26 54.157H507.697ZM471.23 39.5328H497.291C496.541 32.9706 492.698 27.4397 484.729 27.4397C477.324 27.4397 472.355 32.3144 471.23 39.5328ZM575.262 1.56606V11.6905H544.045V29.6896H573.294V39.6265H544.045V58.3755H575.543V68.5H532.046V1.56606H575.262ZM578.151 68.5L595.307 43.7513L578.714 20.0338H591.557L601.775 34.9393L611.9 20.0338H624.743L608.15 43.6576L625.305 68.5H612.462L601.775 52.5633L590.995 68.5H578.151ZM655.702 18.7214C668.92 18.7214 678.295 28.7521 678.295 44.1263C678.295 59.5942 668.826 69.7187 655.608 69.7187C647.359 69.7187 642.296 64.469 640.609 60.5317H640.515V87.249H628.61V20.0338H640.328V28.3771H640.422C642.015 24.1586 647.265 18.7214 655.702 18.7214ZM639.484 44.1263C639.484 52.6571 643.89 60.6254 653.265 60.6254C662.264 60.6254 666.951 53.4071 666.951 44.1263C666.951 35.033 662.077 27.9084 653.265 27.9084C644.171 27.9084 639.484 35.783 639.484 44.1263ZM682.993 1.56606H694.523V68.5H682.993V1.56606ZM724.348 69.9062C710.098 69.9062 699.13 59.688 699.13 44.22C699.13 28.8459 710.098 18.7214 724.348 18.7214C738.597 18.7214 749.471 28.8459 749.471 44.22C749.471 59.688 738.597 69.9062 724.348 69.9062ZM710.38 44.22C710.38 53.2196 715.91 60.6254 724.348 60.6254C732.785 60.6254 738.316 53.2196 738.316 44.22C738.316 35.2205 732.785 27.8147 724.348 27.8147C715.91 27.8147 710.38 35.2205 710.38 44.22ZM765.382 20.0338V28.8459C768.007 22.19 773.163 19.5651 780.006 19.4714V30.3458C779.444 30.3458 776.257 30.3458 774.663 30.9083C770.163 31.8457 765.663 34.2831 765.663 46.4699V68.5H754.133V20.0338H765.382ZM827.961 54.157C825.055 63.9065 816.711 69.9062 805.087 69.9062C790.463 69.9062 780.432 59.5005 780.432 44.1263C780.432 29.3146 790.838 18.6277 805.087 18.6277C821.492 18.6277 828.617 31.1895 828.711 45.2512C828.711 45.72 828.711 46.5637 828.617 47.4074H791.4C792.338 55.5632 797.681 60.6254 804.993 60.6254C810.337 60.6254 814.836 58.6568 816.524 54.157H827.961ZM791.494 39.5328H817.555C816.805 32.9706 812.961 27.4397 804.993 27.4397C797.587 27.4397 792.619 32.3144 791.494 39.5328ZM845.036 20.0338V28.8459C847.661 22.19 852.817 19.5651 859.66 19.4714V30.3458C859.098 30.3458 855.911 30.3458 854.317 30.9083C849.817 31.8457 845.317 34.2831 845.317 46.4699V68.5H833.787V20.0338H845.036Z",fill:"black"})]});export{r2 as A,o2 as S,i2 as g};
static/assets/AILineageExplorerLogo-b3c24471.js DELETED
@@ -1 +0,0 @@
1
- import{j as C,r as p,c as g,k,L as _}from"./index-911b15ef.js";import{g as w,b}from"./routes-17d4ed4d.js";const B=()=>C.jsx("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:C.jsxs("g",{id:"Group 47",children:[C.jsx("path",{id:"Vector",d:"M4.15516 26C1.86323 26 0 24.1354 0 21.8448V8.39964C0 7.05856 1.09101 5.96618 2.43346 5.96618H6.39214C6.1929 5.78205 6.04312 5.54846 5.9648 5.27915C5.77793 4.64296 6.03351 3.99165 6.61336 3.61928L11.8348 0.269316C12.1096 0.0934362 12.4311 0 12.7664 0C13.1017 0 13.4232 0.0934362 13.698 0.269316L18.9195 3.61928C19.5007 3.99165 19.7549 4.64296 19.568 5.27915C19.4883 5.54846 19.3399 5.78343 19.1407 5.96618H23.0994C24.4404 5.96618 25.5328 7.05718 25.5328 8.39964V21.8448C25.5328 24.1368 23.6682 26 21.3777 26H4.15516Z",fill:"white"}),C.jsx("path",{id:"Vector_2",d:"M24.571 8.39967C24.571 7.5876 23.9129 6.92805 23.0994 6.92805H16.4888V5.43994H17.9865C18.6323 5.43994 18.9113 4.75703 18.3988 4.42863L16.3706 3.12739L13.1787 1.07866C12.9355 0.922021 12.5975 0.922021 12.3543 1.07866L9.16232 3.12739L7.1342 4.42863C6.62167 4.75703 6.90061 5.43994 7.54642 5.43994H8.96033V6.92805H2.43353C1.62146 6.92805 0.961914 7.58622 0.961914 8.39967V21.8449C0.961914 23.6092 2.39231 25.0382 4.15523 25.0382H21.3777C23.142 25.0382 24.571 23.6078 24.571 21.8449V8.39967Z",fill:"white"}),C.jsx("path",{id:"Vector_3",d:"M0.961914 17.8505H24.571V21.8449C24.571 23.6078 23.1406 25.0382 21.3777 25.0382H4.15523C2.39231 25.0382 0.961914 23.6078 0.961914 21.8449V17.8505Z",fill:"#D8D8D8"}),C.jsx("path",{id:"Vector_4",d:"M22.8412 8.70605H2.69336V12.6249H22.8412V8.70605Z",fill:"#79D6FF"}),C.jsx("path",{id:"Vector_5",d:"M2.69336 12.6249V16.9161H7.24837V19.0857H18.3659V16.9161H22.8412V12.6249H2.69336Z",fill:"#79D6FF"}),C.jsx("path",{id:"Vector_6",d:"M23.0994 6.92804H2.43353C1.62146 6.92804 0.961914 7.58622 0.961914 8.39966V17.8518H6.86763V20.0751C6.86763 20.5491 7.25237 20.9339 7.72642 20.9339H17.8065C18.2806 20.9339 18.6653 20.5491 18.6653 20.0751V17.8518H24.571V8.39966C24.571 7.58759 23.9129 6.92804 23.0994 6.92804ZM22.8397 16.1205H18.1748C17.8395 16.1205 17.5675 16.3926 17.5675 16.7278V18.4372C17.5675 18.7958 17.2775 19.0857 16.9189 19.0857H8.61269C8.25406 19.0857 7.96413 18.7958 7.96413 18.4372V16.7278C7.96413 16.3926 7.69207 16.1205 7.3568 16.1205H2.69323V8.65798H22.8411V16.1205H22.8397Z",fill:"#B3B4B7"}),C.jsx("path",{id:"Vector_7",d:"M7.54658 5.43994H8.96049V13.8547C8.96049 14.4236 9.42218 14.8852 9.99104 14.8852H15.4598C16.0287 14.8852 16.4904 14.4236 16.4904 13.8547V5.43994H17.9881C18.6339 5.43994 18.9128 4.75703 18.4003 4.42863L16.3722 3.12739L13.1802 1.07866C12.937 0.922021 12.599 0.922021 12.3558 1.07866L9.16386 3.12739L7.13574 4.42863C6.62322 4.75703 6.90215 5.43994 7.54796 5.43994H7.54658Z",fill:"#FF0030"})]})}),D="_container_1rnz4_1",F="_inner_1rnz4_12",y="_close_1rnz4_21",E="_closeSmall_1rnz4_22",S="_dragAndDropArea_1rnz4_66",N="_icon_1rnz4_74",R="_form_1rnz4_84",A="_fileItem_1rnz4_85",I="_cta_1rnz4_96",z="_fileInfo_1rnz4_115",T="_fileList_1rnz4_129",c={container:D,inner:F,close:y,closeSmall:E,dragAndDropArea:S,icon:N,form:R,fileItem:A,cta:I,fileInfo:z,fileList:T};function G({handleClose:i,onFilesSelected:t}){const[n,o]=p.useState([]),L=r=>{const l=r.target.files;if(l&&l.length>0){const H=Array.from(l);o(f=>[...f,...H])}},e=r=>{r.preventDefault();const l=r.dataTransfer.files;if(l.length>0){const H=Array.from(l);o(f=>[...f,...H])}},d=r=>{o(l=>l.filter((H,f)=>f!==r))};return p.useEffect(()=>{t(n)},[n,t]),C.jsx("div",{className:c.container,children:C.jsxs("div",{className:c.inner,children:[C.jsxs("button",{className:c.close,onClick:()=>i(),children:[C.jsx("span",{}),C.jsx("span",{})]}),C.jsxs("div",{className:c.dragAndDropArea,onDrop:e,onDragOver:r=>r.preventDefault(),children:[C.jsx("div",{className:c.icon,children:C.jsx(B,{})}),C.jsxs("form",{className:c.form,children:[C.jsx("p",{children:"Drag a manifest here or"}),C.jsxs("label",{htmlFor:"uploadBtn",children:["upload a file",C.jsx("input",{type:"file",id:"uploadBtn",name:"filename",accept:"application/json",hidden:!0,onChange:L})]})]})]}),C.jsxs("div",{className:c.fileInfo,children:[n.length>0&&C.jsx("div",{className:c.fileList,children:n.map((r,l)=>C.jsxs("div",{className:c.fileItem,children:[C.jsx("p",{children:r.name}),C.jsxs("button",{className:c.closeSmall,onClick:()=>d(l),children:[C.jsx("span",{}),C.jsx("span",{})]})]},l))}),C.jsxs("p",{children:["Supported format: JSON ",C.jsx("br",{})]})]}),C.jsxs("p",{className:c.cta,children:[C.jsx("a",{href:"https://huggingface.co/spaces/EQTYLab/lineage-explorer/blob/main/README.md",target:"_blank",children:"Learn more"})," ","to create your own AI Manifest"]})]})})}const $=()=>C.jsx("svg",{width:"29",height:"26",viewBox:"0 0 29 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:C.jsxs("g",{id:"Group 44",children:[C.jsx("path",{id:"Vector",d:"M28.9013 19.1141C28.8279 18.8381 28.7095 18.577 28.5518 18.3403C28.5858 18.2152 28.6116 18.0887 28.6293 17.9609C28.7422 17.1476 28.4607 16.4037 27.9289 15.8285C27.6406 15.5143 27.3333 15.3063 27.0069 15.1784C27.2218 14.2618 27.3292 13.3235 27.3305 12.381C27.3305 11.9513 27.3061 11.5297 27.2653 11.1149C27.2449 10.9068 27.2177 10.7001 27.1878 10.4948C27.0939 9.88686 26.9552 9.28576 26.773 8.69826C26.6519 8.30931 26.5146 7.92988 26.3582 7.55998C26.1229 7.00784 25.8482 6.47337 25.5368 5.96203C25.3314 5.62068 25.1097 5.29158 24.869 4.97471C24.7507 4.81423 24.6283 4.65784 24.5018 4.50552C24.1238 4.04586 23.7131 3.61475 23.2738 3.21493C23.1283 3.08165 22.9773 2.9511 22.8237 2.82598C22.6727 2.69815 22.515 2.57711 22.3586 2.45879C22.0417 2.22216 21.7085 1.99913 21.3712 1.79106C19.4931 0.652777 17.2955 0 14.9468 0C8.10762 0 2.56445 5.54317 2.56445 12.3824C2.56445 13.3357 2.67461 14.2863 2.89356 15.2138C2.59981 15.3416 2.3183 15.5402 2.05719 15.8271C1.52681 16.4024 1.24394 17.1436 1.35682 17.9568C1.3745 18.086 1.39897 18.2138 1.43433 18.339C1.27522 18.5756 1.1569 18.8381 1.08483 19.1128C0.921631 19.7329 0.976029 20.2919 1.18274 20.7828C0.95699 21.4233 1.01411 22.106 1.30786 22.699C1.52137 23.1328 1.82736 23.4673 2.20407 23.7665C2.65149 24.1228 3.21179 24.4247 3.88905 24.7144C4.6955 25.0585 5.6801 25.3822 6.12889 25.5005C7.28621 25.7997 8.39457 25.9901 9.51925 25.9996C11.1213 26.0145 12.5003 25.6378 13.4876 24.6736C13.9731 24.7335 14.4613 24.7634 14.9495 24.762C15.4663 24.762 15.9817 24.728 16.4944 24.6641C17.4791 25.6337 18.8648 26.0145 20.4723 25.9982C21.5956 25.9887 22.7053 25.7997 23.8586 25.4991C24.3101 25.3808 25.2933 25.0571 26.1012 24.7131C26.777 24.422 27.3373 24.1201 27.7889 23.7638C28.1628 23.4646 28.4675 23.1287 28.681 22.6962C28.9775 22.1033 29.0305 21.4206 28.8088 20.7801C29.0142 20.2905 29.0672 19.7288 28.904 19.1101L28.9013 19.1141ZM27.7535 20.742C27.9806 21.1731 27.9956 21.66 27.7943 22.1142C27.4897 22.8023 26.7349 23.3436 25.2675 23.9256C24.355 24.2874 23.52 24.5186 23.5132 24.5213C22.3069 24.8341 21.2148 24.9932 20.271 24.9932C18.7071 24.9932 17.543 24.5621 16.8045 23.7094C15.5561 23.9216 14.2818 23.9297 13.0306 23.7312C12.2922 24.5689 11.1349 24.9932 9.58317 24.9932C8.638 24.9932 7.54732 24.8341 6.34104 24.5213C6.33424 24.5186 5.49923 24.2874 4.5867 23.9256C3.11931 23.3436 2.36454 22.8023 2.05991 22.1142C1.86 21.66 1.8736 21.1731 2.10071 20.742C2.12111 20.7026 2.14423 20.6631 2.16871 20.625C2.03271 20.421 1.9416 20.1899 1.9008 19.9464C1.86 19.7044 1.87088 19.4555 1.93344 19.2175C2.02319 18.8748 2.21087 18.5892 2.46382 18.3838C2.34142 18.1839 2.26118 17.9595 2.22855 17.7283C2.15511 17.2238 2.32374 16.7193 2.70045 16.3072C2.9942 15.9876 3.40898 15.8108 3.86865 15.8108H3.88089C3.5341 14.6997 3.35867 13.5424 3.36003 12.3783C3.36003 6.03547 8.50609 0.889409 14.8543 0.889409C21.2026 0.889409 26.3473 6.03411 26.3473 12.3824C26.3473 13.5492 26.1705 14.7092 25.8224 15.823C25.8781 15.8176 25.9325 15.8149 25.9856 15.8149C26.4452 15.8149 26.86 15.9903 27.1538 16.3113C27.5305 16.722 27.6991 17.2265 27.6257 17.7324C27.593 17.965 27.5128 18.188 27.3904 18.3879C27.6433 18.5933 27.8297 18.8775 27.9208 19.2216C27.9833 19.4596 27.9942 19.7071 27.9534 19.9505C27.9126 20.1926 27.8215 20.4238 27.6855 20.6291C27.71 20.6658 27.7317 20.7053 27.7535 20.7461V20.742Z",fill:"white"}),C.jsx("path",{id:"Vector_2",d:"M27.6858 20.6264C27.8218 20.4224 27.9129 20.1912 27.9537 19.9478C27.9945 19.7057 27.9823 19.4569 27.9211 19.2189C27.8313 18.8762 27.6437 18.5906 27.3907 18.3852C27.5131 18.1853 27.5933 17.9623 27.626 17.7297C27.6994 17.2252 27.5308 16.7206 27.1541 16.3086C26.8603 15.989 26.4455 15.8122 25.9859 15.8122C25.9328 15.8122 25.8784 15.8149 25.8227 15.8204C26.1708 14.7066 26.3476 13.5465 26.3463 12.3797C26.3463 6.03278 21.2002 0.886719 14.8533 0.886719C8.5064 0.886719 3.36034 6.03414 3.36034 12.3824C3.36034 13.5465 3.53441 14.7038 3.8812 15.8149H3.86896C3.4093 15.8149 2.99451 15.9904 2.70076 16.3113C2.32406 16.722 2.15542 17.2265 2.22886 17.7325C2.2615 17.965 2.34173 18.188 2.46413 18.3879C2.21118 18.5933 2.02487 18.8789 1.93375 19.2216C1.87119 19.4596 1.86031 19.7071 1.90111 19.9505C1.94191 20.1926 2.03303 20.4238 2.16902 20.6292C2.14454 20.6672 2.12278 20.7067 2.10102 20.7461C1.87391 21.1772 1.85895 21.6641 2.06022 22.1183C2.36485 22.8064 3.11963 23.3477 4.58702 23.9298C5.49954 24.2915 6.33456 24.5227 6.34136 24.5254C7.54763 24.8382 8.63968 24.9973 9.58348 24.9973C11.1352 24.9973 12.2925 24.573 13.031 23.7339C14.2821 23.9325 15.5564 23.9257 16.8048 23.7122C17.5433 24.5649 18.7074 24.996 20.2713 24.996C21.2165 24.996 22.3072 24.8368 23.5135 24.5241C23.5203 24.5213 24.3553 24.2901 25.2678 23.9284C26.7352 23.3463 27.49 22.8051 27.7946 22.1169C27.9945 21.6627 27.9809 21.1758 27.7538 20.7447C27.7334 20.7039 27.7103 20.6659 27.6858 20.6278V20.6264ZM12.5019 22.4188C12.4421 22.5249 12.3727 22.6337 12.2979 22.7452C12.1076 23.0254 11.856 23.2389 11.5636 23.398C11.006 23.7026 10.3002 23.8087 9.58348 23.8087C8.45064 23.8087 7.28924 23.5435 6.63918 23.3749C6.60655 23.3667 2.65044 22.2489 3.15091 21.2969C3.23522 21.1364 3.37394 21.0725 3.54801 21.0725C4.25383 21.0725 5.53762 22.1224 6.08976 22.1224C6.21352 22.1224 6.30056 22.0693 6.33592 21.9415C6.57119 21.097 2.7606 20.7434 3.08155 19.5208C3.13867 19.3046 3.29234 19.2162 3.50721 19.2162C4.44014 19.2162 6.53311 20.8563 6.97101 20.8563C7.00501 20.8563 7.02813 20.8467 7.04173 20.8263C7.04309 20.8236 7.04581 20.8195 7.04717 20.8168C7.25252 20.4768 7.13421 20.2307 5.72666 19.3685C5.68314 19.3413 5.63826 19.3141 5.59202 19.2855C4.04304 18.3485 2.95507 17.7841 3.57385 17.111C3.64457 17.0334 3.74521 16.9994 3.86896 16.9994C4.01448 16.9994 4.18991 17.0484 4.38438 17.13C5.20307 17.4754 6.33592 18.4165 6.81054 18.8259C6.95061 18.9469 7.03221 19.0217 7.03221 19.0217C7.03221 19.0217 7.63195 19.6459 7.99506 19.6459C8.07801 19.6459 8.14873 19.6133 8.19769 19.5317C8.45472 19.0978 5.80961 17.0933 5.66002 16.2664C5.55938 15.7061 5.73074 15.4219 6.04897 15.4219C6.19992 15.4219 6.38487 15.4858 6.58887 15.615C7.22124 16.0162 8.44248 18.1146 8.88991 18.9306C9.0395 19.2039 9.29517 19.3195 9.52636 19.3195C9.98331 19.3195 10.341 18.8653 9.56852 18.2873C8.40712 17.4183 8.81375 15.9972 9.36861 15.9101C9.39173 15.906 9.41621 15.9047 9.44069 15.9047C9.94523 15.9047 10.1669 16.7737 10.1669 16.7737C10.1669 16.7737 10.8183 18.4111 11.9389 19.5303C12.9548 20.5462 13.0976 21.3798 12.5047 22.4188H12.5019ZM16.1235 22.6106L16.065 22.6174C16.0324 22.6215 15.9984 22.6256 15.9657 22.6283C15.9141 22.6337 15.861 22.6392 15.8093 22.6432L15.7577 22.6473L15.7114 22.6514L15.6448 22.6568C15.6203 22.6582 15.5958 22.6609 15.5714 22.6623L15.4979 22.6677H15.4816C15.4626 22.6691 15.4435 22.6704 15.4245 22.6718H15.4C15.3769 22.6745 15.3551 22.6759 15.332 22.6759L15.2531 22.6786L15.181 22.6813H15.1334L15.109 22.6827C15.094 22.6827 15.0791 22.6827 15.0641 22.6827H15.041C15.026 22.6827 15.0111 22.6827 14.9961 22.6827H14.9349C14.9063 22.6827 14.8778 22.6827 14.8492 22.6827C14.7826 22.6827 14.7159 22.6827 14.6493 22.6813H14.5949C14.5799 22.6813 14.5636 22.68 14.5487 22.6786H14.4916L14.4208 22.6745L14.3569 22.6718H14.3406L14.2794 22.6677C14.2631 22.6677 14.2454 22.6664 14.2291 22.665L14.1896 22.6623C14.1407 22.6596 14.0904 22.6555 14.0414 22.6514L13.9897 22.6473C13.968 22.646 13.9462 22.6432 13.9245 22.6419C13.8986 22.6392 13.8741 22.6378 13.8483 22.6351C13.8061 22.631 13.7626 22.6269 13.7205 22.6215H13.7191C14.3406 21.2357 14.0264 19.9397 12.7698 18.6858C11.9457 17.863 11.3977 16.6486 11.2848 16.382C11.0549 15.5932 10.4457 14.7147 9.43389 14.7147C9.34821 14.7147 9.26253 14.7215 9.17822 14.7351C8.73487 14.8045 8.34729 15.0601 8.07122 15.4437C7.77203 15.0724 7.48236 14.7773 7.21988 14.61C6.82414 14.3598 6.42975 14.2319 6.04489 14.2319C5.56482 14.2319 5.13508 14.4291 4.83589 14.7868L4.82773 14.7963C4.82229 14.7732 4.81685 14.7487 4.81141 14.7256V14.7229C4.79373 14.6508 4.77741 14.5774 4.76245 14.5039C4.73661 14.3815 4.71349 14.2578 4.69173 14.134C4.68357 14.0851 4.67541 14.0361 4.66725 13.9871C4.66725 13.9858 4.66725 13.9844 4.66725 13.9817C4.66453 13.9627 4.66181 13.945 4.65909 13.9259C4.65773 13.9151 4.65501 13.9042 4.65365 13.8933C4.65093 13.8743 4.64821 13.8552 4.64549 13.8362C4.64141 13.8103 4.63869 13.7859 4.63461 13.7614C4.63189 13.7369 4.62782 13.7111 4.6251 13.6866C4.62238 13.6608 4.6183 13.6363 4.61558 13.6104C4.61286 13.5846 4.61014 13.5628 4.60742 13.5384V13.5316C4.60062 13.4812 4.59654 13.4323 4.5911 13.382C4.58702 13.3344 4.58158 13.2854 4.57886 13.2378C4.57886 13.2256 4.57614 13.2133 4.57614 13.1997C4.57478 13.178 4.57342 13.1576 4.5707 13.1358C4.5707 13.1181 4.56798 13.1005 4.56662 13.0828C4.56662 13.0787 4.56662 13.0746 4.56662 13.0705C4.56526 13.0474 4.5639 13.0229 4.56254 12.9998C4.56118 12.974 4.55982 12.9481 4.55846 12.9223C4.55846 12.8965 4.55574 12.8706 4.55438 12.8448C4.55438 12.8217 4.55302 12.7999 4.55166 12.7768V12.7564C4.5503 12.736 4.54894 12.7142 4.54894 12.6938V12.6408C4.54758 12.6204 4.54622 12.5986 4.54622 12.5769C4.54622 12.5565 4.54622 12.532 4.54622 12.5102C4.54622 12.4885 4.54622 12.4654 4.54622 12.4436C4.54622 12.4218 4.54622 12.3987 4.54622 12.377C4.54894 6.691 9.16326 2.07668 14.856 2.07668C20.5488 2.07668 25.1631 6.691 25.1631 12.3824V12.5157C25.1631 12.5374 25.1631 12.5606 25.1631 12.5823C25.1631 12.6013 25.1631 12.619 25.1631 12.6367C25.1631 12.653 25.1631 12.6693 25.1631 12.6857C25.1631 12.7061 25.1631 12.7278 25.1617 12.7482C25.1617 12.7741 25.1604 12.7985 25.159 12.8217C25.159 12.8421 25.1577 12.8638 25.1563 12.8842V12.8992C25.1549 12.9223 25.1536 12.9441 25.1522 12.9672C25.1522 12.9849 25.1509 13.0025 25.1495 13.0202C25.1427 13.129 25.1345 13.2364 25.125 13.3439C25.1237 13.3629 25.1223 13.382 25.1196 13.401C25.1169 13.4268 25.1155 13.45 25.1128 13.4744C25.1114 13.4935 25.1087 13.5112 25.1073 13.5302C25.1033 13.5669 25.0992 13.6036 25.0951 13.6404L25.0883 13.6961C25.0856 13.7179 25.0829 13.7396 25.0801 13.7614C25.0774 13.7859 25.0733 13.809 25.0706 13.8321C25.0665 13.8593 25.0625 13.8851 25.0597 13.911L25.0502 13.9735C25.0461 13.9967 25.0434 14.0211 25.0393 14.0443C25.0353 14.0674 25.0312 14.0919 25.0271 14.115C25.023 14.1381 25.0189 14.1612 25.0149 14.1857C25.0067 14.2319 24.9985 14.2795 24.989 14.3258C24.9809 14.3706 24.9713 14.4155 24.9632 14.459C24.9577 14.4835 24.9523 14.5094 24.9469 14.5338C24.9414 14.557 24.9373 14.5801 24.9319 14.6032C24.9265 14.6263 24.921 14.6494 24.9169 14.6726C24.6273 14.391 24.2424 14.2374 23.8195 14.2374C23.4346 14.2374 23.0402 14.3652 22.6445 14.6154C22.382 14.7827 22.0923 15.0778 21.7931 15.4491C21.5171 15.0656 21.1295 14.8099 20.6861 14.7406C20.6018 14.727 20.5161 14.7202 20.4305 14.7202C19.4187 14.7202 18.8094 15.5973 18.5796 16.3875C18.4653 16.654 17.9173 17.8684 17.0931 18.6926C15.8379 19.9437 15.521 21.233 16.133 22.6133L16.1235 22.6106ZM26.7638 19.8349C26.7638 19.8349 26.761 19.8431 26.7597 19.8472C26.757 19.8553 26.7542 19.8621 26.7502 19.8703C26.7447 19.8812 26.7406 19.8934 26.7352 19.9043C26.7311 19.9125 26.7284 19.9193 26.7243 19.9274C26.7148 19.9465 26.7039 19.9641 26.6917 19.9832C26.6767 20.0049 26.6604 20.0267 26.6441 20.0484C26.6359 20.0593 26.6264 20.0702 26.6169 20.0797C26.6101 20.0865 26.6046 20.0933 26.5978 20.1001C26.5883 20.111 26.5774 20.1205 26.5679 20.1314C26.3843 20.3123 26.1055 20.4714 25.79 20.6183C25.7547 20.6346 25.718 20.6509 25.6812 20.6672L25.6445 20.6835C25.62 20.6944 25.5956 20.7053 25.5711 20.7162C25.5466 20.7271 25.5208 20.7366 25.4963 20.7475L25.4201 20.7787C25.2433 20.8522 25.0611 20.9215 24.8829 20.9895L24.8068 21.0195L24.732 21.0494C24.6817 21.0684 24.6327 21.0888 24.5851 21.1079L24.513 21.1364L24.4423 21.165L24.407 21.1799C24.3838 21.1895 24.3607 21.199 24.339 21.2085C23.8167 21.4329 23.4414 21.66 23.5203 21.9429C23.523 21.951 23.5244 21.9578 23.5271 21.966C23.5339 21.9864 23.5434 22.0068 23.5556 22.0258C23.5624 22.0367 23.5706 22.0476 23.5801 22.0571C23.6726 22.1537 23.8412 22.1387 24.0547 22.0612C24.0724 22.0544 24.0901 22.0476 24.1078 22.0408C24.12 22.0367 24.1323 22.0313 24.1445 22.0258L24.1635 22.0177C24.2125 21.9973 24.2642 21.9741 24.3158 21.9483C24.3294 21.9415 24.3417 21.9361 24.3553 21.9293C24.615 21.8028 24.9101 21.6301 25.2025 21.475C25.2474 21.4506 25.2923 21.4274 25.3372 21.4043C25.412 21.3662 25.4854 21.3295 25.5588 21.2955C25.8363 21.165 26.096 21.0725 26.3055 21.0725C26.4034 21.0725 26.4904 21.0929 26.5625 21.1391L26.5747 21.1473C26.5829 21.1527 26.5897 21.1582 26.5978 21.165C26.625 21.1867 26.6495 21.2126 26.6686 21.2411C26.674 21.2493 26.6808 21.2588 26.6862 21.267C26.6917 21.2765 26.6971 21.286 26.7026 21.2955C26.8059 21.4914 26.7189 21.6954 26.5163 21.8953C26.3218 22.087 26.0185 22.2747 25.6744 22.4488C25.6486 22.4624 25.6228 22.4746 25.5969 22.4868C24.5729 22.99 23.232 23.3681 23.2129 23.3735C22.8553 23.466 22.3439 23.5884 21.7687 23.6782L21.683 23.6918H21.6694C21.6381 23.6986 21.6082 23.7026 21.5769 23.7081C21.5429 23.7122 21.5103 23.7176 21.4763 23.7217C21.411 23.7298 21.3444 23.738 21.2777 23.7462H21.2655C21.0261 23.7747 20.7813 23.7938 20.5365 23.8033H20.5325C20.4441 23.806 20.357 23.8074 20.2686 23.8074H20.1666C20.115 23.8074 20.0646 23.806 20.013 23.8033C19.9286 23.8006 19.8457 23.7951 19.7641 23.7883C19.7614 23.7883 19.7573 23.7883 19.7546 23.7883C19.7233 23.7856 19.692 23.7829 19.6607 23.7802C19.6444 23.7788 19.6281 23.7774 19.6104 23.7747C19.5601 23.7693 19.5111 23.7638 19.4622 23.757C19.4295 23.753 19.3969 23.7475 19.3643 23.7421C19.333 23.7366 19.299 23.7312 19.2663 23.7258C19.2514 23.723 19.2364 23.7203 19.2215 23.7176H19.2174C19.1698 23.7081 19.1235 23.6986 19.076 23.6877C19.0488 23.6809 19.0216 23.6754 18.9944 23.6686L18.978 23.6646C18.9644 23.6618 18.9522 23.6578 18.9386 23.6537H18.9318L18.8896 23.6401C18.8747 23.636 18.8597 23.6319 18.8434 23.6265H18.838L18.7985 23.6129C18.7836 23.6088 18.7686 23.6034 18.7536 23.5979C18.7414 23.5938 18.7292 23.5898 18.7169 23.5857L18.6897 23.5762C18.6639 23.5666 18.638 23.5571 18.6122 23.5476L18.5877 23.5381L18.5673 23.5299C18.5292 23.5136 18.4898 23.4986 18.4531 23.481L18.4273 23.4687H18.4232C18.4137 23.4633 18.4055 23.4579 18.396 23.4551C18.3783 23.447 18.3606 23.4375 18.3443 23.4293L18.3389 23.4266L18.3144 23.413C18.2858 23.398 18.2573 23.3831 18.2301 23.3667C18.2151 23.3572 18.1988 23.3491 18.1838 23.3395L18.1607 23.3246C18.1485 23.3178 18.1376 23.3096 18.1253 23.3028L18.0954 23.2824C18.0845 23.2756 18.0737 23.2675 18.0628 23.2593L18.0437 23.2457C18.0233 23.2307 18.0029 23.2158 17.9825 23.1995C17.9717 23.1913 17.9622 23.1831 17.9513 23.175C17.939 23.1655 17.9268 23.1546 17.9132 23.1437C17.9023 23.1355 17.8928 23.126 17.8819 23.1179C17.871 23.107 17.8602 23.0975 17.8493 23.0879C17.8384 23.0784 17.8289 23.0689 17.818 23.058C17.8071 23.0458 17.7962 23.0363 17.7854 23.0254C17.7745 23.0145 17.765 23.0036 17.7541 22.9927C17.7432 22.9819 17.7337 22.971 17.7228 22.9601C17.7133 22.9492 17.7038 22.9383 17.6942 22.9275L17.6915 22.9234C17.682 22.9125 17.6738 22.9016 17.6643 22.8908C17.6453 22.8676 17.6262 22.8432 17.6072 22.8187C17.5882 22.7942 17.5705 22.7697 17.5528 22.7439C17.5474 22.7357 17.5419 22.7276 17.5365 22.7194C17.5256 22.7031 17.5147 22.6868 17.5038 22.6691C17.493 22.6528 17.4821 22.6364 17.4712 22.6201C17.4603 22.6038 17.4508 22.5875 17.4399 22.5712C17.4345 22.563 17.429 22.5548 17.425 22.5467C17.4154 22.5317 17.4059 22.5154 17.3964 22.5004C17.3964 22.4977 17.3937 22.4964 17.3923 22.4936C17.3828 22.4787 17.3747 22.4637 17.3665 22.4488C17.3611 22.4406 17.357 22.4324 17.3529 22.4243C17.3488 22.4161 17.3434 22.408 17.3379 22.3984C17.3352 22.3944 17.3325 22.3889 17.3298 22.3848C17.3271 22.3808 17.3271 22.3794 17.3243 22.3753C17.3148 22.359 17.3067 22.3427 17.2971 22.3264C17.2931 22.3196 17.289 22.3114 17.2849 22.3046L17.2727 22.2815L17.2604 22.2584C17.2523 22.2421 17.2441 22.2271 17.2373 22.2108C17.2332 22.2026 17.2291 22.1945 17.2264 22.1877C17.2183 22.1713 17.2101 22.155 17.2033 22.1387C17.2006 22.1319 17.1979 22.1251 17.1938 22.1183C17.187 22.1033 17.1802 22.087 17.1734 22.0721C17.1707 22.0639 17.1666 22.0571 17.1639 22.0489C17.1571 22.034 17.1516 22.019 17.1448 22.0027C17.1421 21.9959 17.1394 21.9877 17.1367 21.9809C17.1244 21.951 17.1135 21.9197 17.104 21.8898C17.1013 21.8817 17.0986 21.8749 17.0959 21.8667C17.0918 21.8531 17.0863 21.8395 17.0823 21.8259C17.0755 21.8028 17.0673 21.7783 17.0619 21.7552C17.0591 21.7484 17.0578 21.7402 17.0564 21.7334C17.051 21.7117 17.0455 21.6886 17.0401 21.6668C17.036 21.6518 17.0333 21.6369 17.0306 21.6233C17.0292 21.6151 17.0279 21.6083 17.0265 21.6015C17.0238 21.5866 17.0211 21.573 17.0183 21.558C17.0143 21.5362 17.0115 21.5145 17.0088 21.4927C17.0088 21.4859 17.0075 21.4778 17.0061 21.471C17.0061 21.4642 17.0047 21.456 17.0034 21.4492C17.0007 21.4206 16.9979 21.3907 16.9966 21.3622C16.9966 21.3554 16.9966 21.3472 16.9966 21.3404C16.9966 21.3254 16.9966 21.3118 16.9966 21.2969C16.9884 20.7162 17.2835 20.1572 17.9118 19.5289C19.0311 18.4097 19.6839 16.7723 19.6839 16.7723C19.6839 16.7723 19.7015 16.703 19.7382 16.6051C19.7437 16.5915 19.7491 16.5765 19.7546 16.5629C19.7614 16.5452 19.7695 16.5275 19.7763 16.5085C19.7872 16.4827 19.7981 16.4568 19.8117 16.431C19.8158 16.4215 19.8212 16.4106 19.8266 16.4011C19.828 16.397 19.8294 16.3943 19.8321 16.3902C19.8348 16.3834 19.8389 16.3766 19.8416 16.3698C19.8606 16.3331 19.8824 16.295 19.9055 16.2583C19.911 16.2487 19.9178 16.2379 19.9246 16.2283C19.9382 16.2079 19.9518 16.1889 19.9654 16.1699C19.9722 16.1603 19.979 16.1508 19.9871 16.1413C19.9994 16.1263 20.013 16.1114 20.0252 16.0964C20.0306 16.091 20.0361 16.0855 20.0415 16.0801C20.1068 16.0135 20.1802 15.9591 20.2646 15.9292L20.2754 15.9264C20.2822 15.9237 20.289 15.9224 20.2972 15.9196C20.3053 15.9169 20.3135 15.9156 20.323 15.9142H20.3271C20.3448 15.9101 20.3625 15.9074 20.3801 15.906H20.3815C20.391 15.906 20.4005 15.906 20.4101 15.906C20.4223 15.906 20.4332 15.906 20.4454 15.906C20.4577 15.906 20.4699 15.9088 20.4821 15.9101C20.5828 15.9264 20.6793 15.9863 20.7623 16.0787C20.7664 16.0828 20.7705 16.0869 20.7732 16.0923C20.7922 16.1141 20.8099 16.1386 20.8262 16.1631C20.833 16.1726 20.8398 16.1835 20.8466 16.193C20.8629 16.2188 20.8779 16.2474 20.8928 16.2759C20.8983 16.2882 20.9037 16.2991 20.9092 16.3113C20.9119 16.3167 20.9146 16.3235 20.9173 16.3303C20.9228 16.3426 20.9282 16.3548 20.9323 16.3671C20.9377 16.3793 20.9418 16.3929 20.9472 16.4051C20.969 16.4663 20.9867 16.5289 20.9989 16.5915C21.0016 16.6064 21.0044 16.62 21.0071 16.635C21.0166 16.688 21.022 16.741 21.0248 16.7954C21.0248 16.8104 21.0261 16.8267 21.0275 16.843C21.0275 16.8798 21.0275 16.9178 21.0275 16.9559C21.0275 16.9709 21.0261 16.9845 21.0248 16.9994C21.0152 17.1368 20.988 17.2728 20.9445 17.4033C20.9364 17.4265 20.9282 17.4482 20.92 17.4713C20.9146 17.4863 20.9078 17.5013 20.9024 17.5162C20.8901 17.5461 20.8765 17.5774 20.8616 17.6073C20.8507 17.6305 20.8384 17.6522 20.8262 17.6753C20.8181 17.6903 20.8099 17.7053 20.8004 17.7202C20.7786 17.7569 20.7541 17.795 20.7297 17.8317L20.7147 17.8535C20.6943 17.8834 20.6712 17.912 20.6481 17.9405C20.6059 17.9922 20.561 18.0412 20.5148 18.0888C20.4427 18.1608 20.3652 18.2275 20.2836 18.2887C20.2102 18.3431 20.1394 18.4029 20.0742 18.4682C20.0674 18.475 20.0606 18.4831 20.0538 18.4899C19.8498 18.7048 19.8022 18.8938 19.8484 19.0366C19.8511 19.0434 19.8525 19.0502 19.8552 19.0557C19.8593 19.0652 19.8634 19.0747 19.8674 19.0842C19.8702 19.0897 19.8729 19.0965 19.877 19.1019C19.8906 19.125 19.9069 19.1468 19.9259 19.1672C19.9286 19.1699 19.9314 19.1726 19.9327 19.174L19.9395 19.1808C19.9463 19.1876 19.9545 19.1944 19.9626 19.2012L19.9708 19.208C19.9708 19.208 19.9817 19.2162 19.9871 19.2202C20.0021 19.2311 20.017 19.2406 20.0334 19.2488C20.0402 19.2515 20.0456 19.2556 20.0524 19.2583C20.0755 19.2706 20.1 19.2801 20.1258 19.2882C20.1326 19.291 20.1394 19.2923 20.1462 19.295L20.1558 19.2978L20.168 19.3005L20.1789 19.3032L20.1898 19.3059L20.2006 19.3086H20.2115C20.2197 19.3114 20.2278 19.3127 20.236 19.3141H20.2442L20.2577 19.3168H20.2659L20.2809 19.3182H20.304H20.3108H20.3652L20.3801 19.3168H20.3992L20.4169 19.3127C20.4209 19.3127 20.425 19.3127 20.4291 19.3114C20.4386 19.3114 20.4468 19.3086 20.4563 19.3073C20.4781 19.3032 20.5012 19.2978 20.5229 19.291C20.5447 19.2842 20.5678 19.2774 20.5882 19.2678C20.595 19.2651 20.6032 19.2624 20.61 19.2583C20.6222 19.2529 20.6345 19.2474 20.6453 19.242C20.6549 19.2379 20.6644 19.2325 20.6739 19.227C20.6875 19.2189 20.7025 19.2107 20.7147 19.2012C20.746 19.1808 20.7745 19.1577 20.8031 19.1332C20.8099 19.1278 20.8167 19.121 20.8221 19.1155C20.8249 19.1128 20.8276 19.1101 20.8316 19.106C20.8371 19.1006 20.8439 19.0938 20.8493 19.087C20.8616 19.0747 20.8724 19.0611 20.8847 19.0462C20.9132 19.0094 20.9391 18.97 20.9622 18.9292C21.1444 18.5974 21.4531 18.0548 21.7986 17.4999C21.8122 17.4781 21.8258 17.4564 21.838 17.436C21.8516 17.4142 21.8652 17.3925 21.8788 17.3721C21.8992 17.3394 21.9196 17.3081 21.94 17.2755L21.9604 17.2429C21.974 17.2211 21.9876 17.2007 22.0012 17.179C22.0556 17.0946 22.1114 17.0103 22.1671 16.9274L22.2093 16.8648C22.2922 16.741 22.3752 16.6214 22.4582 16.5071L22.499 16.4514C22.5602 16.3671 22.62 16.2868 22.6798 16.2107C22.7125 16.1685 22.7451 16.1277 22.7777 16.0896L22.8158 16.0434C22.8226 16.0352 22.8281 16.0284 22.8349 16.0203C22.8471 16.0053 22.8607 15.9904 22.8729 15.9768C22.8797 15.97 22.8852 15.9632 22.892 15.955C22.9042 15.9414 22.9165 15.9264 22.9287 15.9142C22.9341 15.9074 22.9409 15.9006 22.9477 15.8938C22.9654 15.8734 22.9845 15.8544 23.0021 15.8367C23.0144 15.8244 23.0253 15.8122 23.0375 15.8013C23.1069 15.7306 23.183 15.668 23.2646 15.6123L23.2836 15.6C23.2836 15.6 23.2959 15.5919 23.3027 15.5878C23.3149 15.581 23.3272 15.5728 23.3394 15.566C23.6604 15.3838 23.9269 15.3702 24.0806 15.5239C24.1731 15.6164 24.2247 15.77 24.222 15.9849C24.222 15.9944 24.222 16.004 24.222 16.0135V16.0244C24.222 16.0339 24.222 16.0434 24.2207 16.0543C24.2207 16.0665 24.2193 16.0787 24.2179 16.091C24.2179 16.1032 24.2166 16.1127 24.2152 16.1236C24.2152 16.1263 24.2152 16.1304 24.2152 16.1331C24.2152 16.1427 24.2125 16.1522 24.2125 16.1617C24.2125 16.1644 24.2125 16.1671 24.2125 16.1712C24.2125 16.1807 24.2098 16.1916 24.2084 16.2011C24.2084 16.2039 24.2084 16.2066 24.2084 16.2093C24.2071 16.2215 24.2043 16.2324 24.203 16.2447C24.203 16.2515 24.2003 16.2583 24.1989 16.2651C24.1948 16.2841 24.1907 16.3031 24.1853 16.3222C24.1799 16.3426 24.1731 16.3616 24.1649 16.3834C24.1595 16.397 24.154 16.4119 24.1472 16.4255C24.1404 16.4405 24.1336 16.4541 24.1268 16.4691C24.1119 16.499 24.0955 16.5289 24.0779 16.5602C24.0683 16.5751 24.0588 16.5915 24.0493 16.6078C24.0439 16.6159 24.0398 16.6241 24.0343 16.6322C24.0194 16.6567 24.0031 16.6812 23.9854 16.7057C23.9691 16.7302 23.95 16.756 23.931 16.7818C23.9051 16.8158 23.8793 16.8512 23.8507 16.8866L23.829 16.9138C23.7936 16.9586 23.7555 17.0035 23.7175 17.0498C23.6944 17.077 23.6699 17.1055 23.6454 17.1341C23.6291 17.1531 23.6128 17.1722 23.5951 17.1898L23.5692 17.2184C23.5352 17.2565 23.4999 17.2945 23.4645 17.334L23.4373 17.3625C23.4196 17.3816 23.4006 17.402 23.3829 17.421C23.3652 17.4401 23.3462 17.4605 23.3272 17.4795L23.2714 17.538C23.2524 17.557 23.2333 17.5774 23.2143 17.5965C23.1952 17.6169 23.1762 17.6359 23.1572 17.6563C23.1191 17.6957 23.081 17.7352 23.0416 17.776C22.4908 18.3417 21.9087 18.9047 21.7129 19.257C21.6993 19.2801 21.6884 19.3032 21.6775 19.3277C21.649 19.3916 21.6381 19.446 21.6463 19.4909C21.649 19.5058 21.6544 19.5194 21.6612 19.5317C21.6667 19.5412 21.6735 19.5507 21.6803 19.5602C21.6871 19.5684 21.6939 19.5765 21.7007 19.5847C21.7075 19.5915 21.7156 19.5983 21.7238 19.6051C21.7646 19.6337 21.8135 19.6486 21.8625 19.6473H21.8938L21.9101 19.6445H21.9237C21.9237 19.6445 21.9278 19.6418 21.9291 19.6418L21.9414 19.6391H21.9441L21.9577 19.635H21.9631C21.9631 19.635 21.9727 19.6309 21.9767 19.6296C21.9808 19.6296 21.9876 19.6269 21.993 19.6241C22.0039 19.6214 22.0148 19.6173 22.027 19.6133C22.0379 19.6092 22.0515 19.6037 22.0638 19.5997C22.076 19.5942 22.0882 19.5888 22.0991 19.5833C22.1046 19.5806 22.1114 19.5779 22.1168 19.5752L22.1345 19.5657C22.1576 19.5534 22.1821 19.5412 22.2052 19.5262C22.2242 19.5153 22.2433 19.5031 22.261 19.4909L22.2786 19.4786C22.2786 19.4786 22.2909 19.4705 22.2963 19.4664L22.314 19.4542L22.3235 19.4473C22.3317 19.4419 22.3412 19.4351 22.3494 19.4297C22.3738 19.4134 22.397 19.3957 22.4201 19.378H22.4214C22.4337 19.3671 22.4459 19.3576 22.4582 19.3481C22.5085 19.3086 22.5561 19.2692 22.5982 19.2311L22.6268 19.2066L22.6295 19.2039L22.6445 19.1903C22.6798 19.159 22.7111 19.1291 22.7369 19.1046L22.7478 19.0938C22.7573 19.0842 22.7655 19.0761 22.7737 19.0693L22.7886 19.0543L22.7941 19.0489H22.7954C22.8022 19.0407 22.8077 19.0353 22.8117 19.0312C22.8172 19.0258 22.8213 19.0217 22.8213 19.0203L22.8267 19.0149C22.8281 19.0135 22.8308 19.0122 22.8321 19.0094H22.8335L22.8389 19.0026L22.8661 18.9782L22.8811 18.9646C22.8893 18.9578 22.8974 18.951 22.9056 18.9428L22.9246 18.9265C22.9246 18.9265 22.9314 18.921 22.9341 18.9183L22.9532 18.902L22.9817 18.8775L22.9967 18.8639C23.0552 18.8123 23.1272 18.7497 23.2102 18.6803L23.2442 18.6518L23.3 18.6042C23.319 18.5879 23.338 18.5729 23.3571 18.5566C23.4319 18.494 23.5121 18.4287 23.5978 18.3594L23.6536 18.3145C23.7012 18.2764 23.7501 18.2384 23.7991 18.1989C23.8195 18.184 23.8385 18.1676 23.8603 18.1527C23.8902 18.1296 23.9215 18.1051 23.9527 18.082C23.9731 18.067 23.9935 18.0507 24.0139 18.0357C24.1309 17.9473 24.2506 17.8589 24.373 17.7733L24.4246 17.7365C24.4614 17.7107 24.4981 17.6862 24.5334 17.6617L24.5661 17.6386C24.6001 17.6155 24.6354 17.5924 24.6694 17.5706C24.7007 17.5502 24.732 17.5298 24.7646 17.5094L24.7973 17.489L24.8299 17.4686C24.8625 17.4482 24.8952 17.4278 24.9278 17.4088L24.9605 17.3897L25.0257 17.3517C25.0475 17.3394 25.0679 17.3272 25.0897 17.3149L25.1019 17.3081C25.1182 17.2986 25.1359 17.2891 25.1522 17.2809C25.1726 17.2701 25.1944 17.2578 25.2148 17.2483L25.2461 17.232L25.276 17.217C25.2869 17.2116 25.2964 17.2075 25.3073 17.2021C25.3685 17.1721 25.4283 17.145 25.4868 17.1218C25.4963 17.1178 25.5058 17.1137 25.5153 17.1096C25.5344 17.1014 25.5534 17.0946 25.5724 17.0878C25.5915 17.081 25.6105 17.0742 25.6282 17.0688C25.6445 17.0634 25.6608 17.0579 25.6772 17.0538H25.6826C25.6908 17.0498 25.6989 17.047 25.7084 17.0443H25.7112C25.7288 17.0389 25.7465 17.0348 25.7628 17.0307C25.7887 17.0253 25.8132 17.0198 25.8376 17.0158C25.8458 17.0144 25.854 17.013 25.8621 17.0117C25.8784 17.009 25.8948 17.0076 25.9097 17.0062C25.9179 17.0062 25.9247 17.0062 25.9328 17.0049C25.9478 17.0049 25.9628 17.0035 25.9777 17.0035H25.9886C26.0035 17.0035 26.0185 17.0035 26.0335 17.0062C26.0403 17.0062 26.0471 17.0062 26.0539 17.009H26.0566C26.0566 17.009 26.0702 17.0103 26.0756 17.0117C26.0824 17.013 26.0892 17.0144 26.0947 17.0158H26.0974C26.0974 17.0158 26.1096 17.0185 26.1164 17.0212C26.1232 17.0226 26.1287 17.0253 26.1355 17.0266C26.1572 17.0334 26.1776 17.043 26.198 17.0552C26.2035 17.0579 26.2089 17.062 26.2143 17.0661C26.2198 17.0702 26.2252 17.0729 26.2307 17.077C26.2402 17.0838 26.2483 17.0906 26.2565 17.0987L26.2606 17.1028C26.2606 17.1028 26.2647 17.1069 26.2674 17.1096L26.2742 17.1164C26.3286 17.1735 26.3735 17.2401 26.4075 17.3109C26.4088 17.3149 26.4115 17.319 26.4129 17.3231C26.417 17.3313 26.4197 17.3394 26.4224 17.3476C26.4292 17.3666 26.436 17.387 26.4401 17.4074C26.4578 17.4877 26.4537 17.572 26.4265 17.6495C26.4238 17.6563 26.4224 17.6631 26.4197 17.6713C26.4102 17.6971 26.3979 17.7229 26.3843 17.7488C26.3803 17.7556 26.3775 17.7624 26.3735 17.7692C26.3313 17.8399 26.281 17.9065 26.2239 17.9664L26.2116 17.98C26.1939 17.999 26.1749 18.018 26.1545 18.0371C26.1463 18.0452 26.1368 18.0534 26.1273 18.0629C26.1178 18.0711 26.1083 18.0806 26.0987 18.0888L26.0838 18.1024C26.0743 18.1105 26.0647 18.12 26.0539 18.1282C26.0335 18.1459 26.0131 18.1622 25.9913 18.1799C25.9859 18.184 25.9804 18.188 25.975 18.1935C25.9532 18.2112 25.9315 18.2288 25.9084 18.2465C25.8676 18.2778 25.8254 18.3091 25.7819 18.3403C25.7438 18.3675 25.7044 18.3947 25.6649 18.4233C25.616 18.4573 25.5656 18.4899 25.514 18.5239C25.4215 18.5851 25.3236 18.6463 25.2216 18.7103C25.193 18.7279 25.1645 18.7456 25.1359 18.7633C24.868 18.9278 24.5715 19.1033 24.256 19.295L24.1744 19.3454C24.0847 19.3998 24.0003 19.4528 23.9201 19.5017L23.8807 19.5276L23.8045 19.5765C23.7746 19.5956 23.7447 19.6146 23.7161 19.6323C23.6943 19.6459 23.674 19.6595 23.6536 19.6731L23.6128 19.7003C23.5924 19.7139 23.5733 19.7261 23.5543 19.7397L23.5352 19.752C23.5148 19.7656 23.4958 19.7792 23.4768 19.7914L23.4455 19.8132L23.4088 19.839L23.3748 19.8621C23.3176 19.9016 23.266 19.941 23.217 19.9764L23.1993 19.99C23.1789 20.0049 23.1585 20.0212 23.1395 20.0362C23.1313 20.043 23.1232 20.0498 23.115 20.0566C23.0729 20.0906 23.0348 20.1232 22.9994 20.1545L22.9831 20.1695C22.9736 20.179 22.9641 20.1872 22.9545 20.1953C22.9477 20.2008 22.9423 20.2076 22.9355 20.213L22.926 20.2212C22.926 20.2212 22.9151 20.232 22.9097 20.2375C22.8961 20.2524 22.8825 20.266 22.8702 20.281L22.8607 20.2919C22.8403 20.315 22.824 20.3368 22.8077 20.3585L22.8009 20.368C22.7886 20.3857 22.7777 20.4034 22.7682 20.4224C22.7655 20.4265 22.7628 20.432 22.7614 20.436C22.7587 20.4401 22.7573 20.4456 22.7546 20.4496C22.7519 20.4537 22.7519 20.4564 22.7505 20.4592L22.7478 20.466L22.7451 20.4714C22.7451 20.4714 22.7424 20.4768 22.7424 20.4796C22.7424 20.4823 22.7397 20.4877 22.7383 20.4918C22.7342 20.5054 22.7301 20.519 22.7274 20.5326C22.7274 20.5353 22.7274 20.538 22.7261 20.5421C22.7261 20.5448 22.7261 20.5476 22.7261 20.5516C22.7261 20.5544 22.7261 20.5571 22.7261 20.5598V20.568C22.7261 20.568 22.7261 20.5748 22.7261 20.5775V20.6101C22.7261 20.6101 22.7261 20.6169 22.7261 20.621C22.7261 20.6237 22.7261 20.6251 22.7261 20.6278C22.7261 20.6319 22.7261 20.6346 22.7261 20.6387C22.7261 20.6427 22.7274 20.6482 22.7288 20.6536C22.7288 20.6536 22.7301 20.6631 22.7315 20.6686C22.7315 20.674 22.7342 20.6781 22.7356 20.6835C22.7383 20.6931 22.741 20.7026 22.7451 20.7121C22.7465 20.7175 22.7492 20.723 22.7519 20.7284V20.7311C22.7533 20.7352 22.7546 20.7393 22.7573 20.742C22.7587 20.7461 22.7614 20.7515 22.7641 20.757C22.7682 20.7665 22.7737 20.7774 22.7791 20.7869C22.7818 20.7923 22.7845 20.7978 22.7873 20.8019L22.7968 20.8168C22.7968 20.8168 22.8022 20.8277 22.8063 20.8318C22.8077 20.8345 22.8104 20.8372 22.8117 20.8386L22.8145 20.8413L22.8172 20.844L22.8213 20.8467C22.8213 20.8467 22.8267 20.8495 22.8294 20.8522C22.8321 20.8522 22.8349 20.8549 22.8376 20.8563C22.8403 20.8563 22.8444 20.8576 22.8471 20.859C22.926 20.8767 23.0865 20.8114 23.3013 20.6985C23.3136 20.6917 23.3272 20.6849 23.3394 20.6781L23.4047 20.6427L23.4373 20.6251C23.4604 20.6128 23.4836 20.5992 23.5067 20.5856C23.5203 20.5775 23.5352 20.5693 23.5502 20.5612C23.8331 20.398 24.1717 20.1885 24.5212 19.9845C24.5538 19.9655 24.5865 19.9465 24.6191 19.9274L24.6858 19.8853C24.7184 19.8662 24.7524 19.8472 24.785 19.8295C24.8286 19.805 24.8734 19.7805 24.9169 19.7561C25.0162 19.7017 25.1141 19.6486 25.2121 19.5997L25.2773 19.567C25.3209 19.5453 25.363 19.5249 25.4052 19.5045C25.4473 19.4841 25.4895 19.465 25.5303 19.4473C25.5711 19.4297 25.6119 19.412 25.6513 19.3943L25.6976 19.3753L25.703 19.3726C25.9437 19.2774 26.1627 19.2175 26.3395 19.2175C26.3775 19.2175 26.4156 19.2202 26.4537 19.227C26.4659 19.2298 26.4768 19.2311 26.4877 19.2352H26.4891C26.4986 19.2379 26.5067 19.2406 26.5163 19.2434C26.5231 19.2461 26.5299 19.2474 26.5367 19.2502C26.5435 19.2529 26.5475 19.2542 26.5516 19.257C26.5584 19.2597 26.5652 19.2624 26.572 19.2665C26.5788 19.2692 26.5883 19.2746 26.5951 19.2801C26.6237 19.2978 26.6495 19.3182 26.6713 19.3426C26.6808 19.3535 26.6903 19.3644 26.6985 19.3766C26.7012 19.3807 26.7039 19.3848 26.7066 19.3889C26.7121 19.397 26.7162 19.4052 26.7216 19.4134C26.727 19.4242 26.7325 19.4351 26.7379 19.446C26.7434 19.4582 26.7474 19.4691 26.7515 19.4827C26.7556 19.4963 26.7597 19.5085 26.7638 19.5221C26.7923 19.6255 26.7896 19.7343 26.7556 19.8363L26.7638 19.8349Z",fill:"#FF9700"}),C.jsx("path",{id:"Vector_3",fillRule:"evenodd",clipRule:"evenodd",d:"M25.1596 12.449V12.3824C25.1596 6.69098 20.5467 2.07666 14.8553 2.07666C9.16386 2.07666 4.54818 6.69098 4.54818 12.3824C4.54818 12.3905 4.54818 12.3973 4.54818 12.4041C4.54818 12.4191 4.54818 12.4341 4.54818 12.449C4.54818 12.464 4.54818 12.4776 4.54818 12.4912C4.54818 12.4993 4.54818 12.5075 4.54818 12.5157C4.54818 12.532 4.54818 12.5483 4.54818 12.5646C4.54818 12.5701 4.54818 12.5769 4.54818 12.5823C4.54818 12.5905 4.54818 12.5986 4.54818 12.6068C4.54818 12.6204 4.54818 12.6326 4.54818 12.6462V12.6992C4.5509 12.7196 4.5509 12.7414 4.55226 12.7618V12.7822C4.55362 12.804 4.55498 12.8257 4.55634 12.8461V12.8488C4.55634 12.8733 4.55906 12.8992 4.56042 12.9236C4.56042 12.9508 4.56314 12.9767 4.5645 13.0025C4.5645 13.027 4.56722 13.0501 4.56858 13.0732C4.56858 13.0746 4.56858 13.076 4.56858 13.0773C4.56858 13.08 4.56858 13.0828 4.56858 13.0855C4.56858 13.1032 4.5713 13.1208 4.57266 13.1385V13.144C4.57402 13.163 4.57538 13.1834 4.5781 13.2024V13.2065C4.5781 13.2174 4.58082 13.2296 4.58082 13.2405C4.5849 13.2881 4.58898 13.3371 4.59306 13.3847C4.5985 13.435 4.60258 13.4853 4.60802 13.5343V13.5411C4.6121 13.5655 4.61346 13.5873 4.61754 13.6131C4.62026 13.6376 4.62298 13.6635 4.62706 13.6893C4.62978 13.7056 4.63114 13.7233 4.63386 13.741C4.63386 13.7491 4.63658 13.7573 4.63658 13.7655C4.6393 13.7899 4.64338 13.8158 4.64746 13.8403C4.65018 13.8593 4.6529 13.8783 4.65561 13.8974C4.65697 13.9082 4.65833 13.9191 4.66105 13.9314V13.9354C4.66377 13.9531 4.66649 13.9708 4.66921 13.9871C4.66921 13.9885 4.66921 13.9898 4.66921 13.9926C4.67737 14.0429 4.68553 14.0918 4.69369 14.1394C4.71545 14.2632 4.73857 14.387 4.76441 14.5093C4.78073 14.5828 4.79569 14.6562 4.81337 14.7283V14.731C4.81337 14.731 4.81745 14.7433 4.81881 14.7501C4.82289 14.7677 4.82697 14.7854 4.83105 14.8017L4.83921 14.7922C5.1384 14.4345 5.56814 14.2374 6.04821 14.2374C6.43307 14.2374 6.82746 14.3638 7.22321 14.6154C7.48568 14.7827 7.77535 15.0778 8.07454 15.4491C8.35061 15.0656 8.73819 14.8099 9.18154 14.7405C9.26585 14.7269 9.35153 14.7201 9.43721 14.7201C10.449 14.7201 11.0583 15.5973 11.2881 16.3874C11.401 16.654 11.949 17.8684 12.7759 18.6898C14.0311 19.9451 14.3466 21.2397 13.7251 22.6255H13.7265C13.7687 22.6296 13.8108 22.6351 13.8543 22.6391C13.8802 22.6419 13.9047 22.6446 13.9305 22.6459H13.94C13.9591 22.6487 13.9767 22.65 13.9958 22.6514L14.0474 22.6555C14.0964 22.6595 14.1467 22.6623 14.1957 22.6663L14.2351 22.6691C14.246 22.6691 14.2555 22.6691 14.2664 22.6704C14.2732 22.6704 14.28 22.6704 14.2854 22.6704L14.3466 22.6731H14.363L14.4269 22.6772L14.4976 22.6799H14.5547C14.5547 22.6799 14.5615 22.6813 14.5642 22.6827C14.5765 22.6827 14.5887 22.6827 14.6009 22.6827C14.605 22.6827 14.6091 22.6827 14.6145 22.6827C14.6281 22.6827 14.6417 22.6827 14.6553 22.6827C14.722 22.6827 14.7886 22.684 14.8553 22.684H15.0008C15.0157 22.6827 15.0307 22.6827 15.0457 22.6827H15.0688C15.0688 22.6827 15.0824 22.6827 15.0892 22.6827C15.0973 22.6827 15.1055 22.6827 15.1137 22.6827H15.1857L15.2578 22.6786L15.3367 22.6759C15.3598 22.6759 15.3816 22.6745 15.4047 22.6731H15.4292C15.4414 22.6718 15.4536 22.6704 15.4645 22.6691C15.4713 22.6691 15.4781 22.6691 15.4863 22.6691H15.5026L15.576 22.6636C15.6005 22.6623 15.625 22.6609 15.6495 22.6582L15.7161 22.6527L15.7623 22.6487L15.8127 22.6446C15.8643 22.6391 15.9174 22.6351 15.9691 22.6296C16.0017 22.6255 16.0357 22.6228 16.0683 22.6187L16.1268 22.6119C15.5148 21.2316 15.8317 19.9424 17.0829 18.6926C17.907 17.8684 18.4551 16.654 18.5693 16.3874C18.7991 15.5973 19.4084 14.7201 20.4202 14.7201C20.5059 14.7201 20.5915 14.7269 20.6759 14.7405C21.1192 14.8099 21.5054 15.0656 21.7829 15.4491C22.082 15.0778 22.3717 14.7827 22.6342 14.6154C23.0299 14.3638 23.4257 14.2374 23.8092 14.2374C24.2335 14.2374 24.617 14.391 24.9067 14.6725C24.9121 14.6494 24.9175 14.6263 24.9216 14.6032C24.9271 14.5801 24.9311 14.5569 24.9366 14.5338C24.942 14.5093 24.9475 14.4835 24.9529 14.459C24.9624 14.4142 24.9706 14.3706 24.9787 14.3258C24.9883 14.2795 24.9964 14.2319 25.0046 14.1857C25.0059 14.1775 25.0073 14.1694 25.0087 14.1598C25.0114 14.1449 25.0141 14.1299 25.0168 14.115C25.0209 14.0918 25.025 14.0687 25.0291 14.0442V14.0347C25.0345 14.0143 25.0372 13.9939 25.0399 13.9735L25.0495 13.911C25.0535 13.8838 25.0576 13.8579 25.0603 13.8321C25.0631 13.8117 25.0658 13.7927 25.0685 13.7723V13.7614L25.078 13.6961L25.0848 13.6403C25.0889 13.6036 25.093 13.5669 25.0971 13.5302C25.0984 13.5152 25.0998 13.5016 25.1025 13.4867V13.4744C25.1066 13.4513 25.1093 13.4268 25.1107 13.4037C25.1107 13.4037 25.1107 13.4037 25.1107 13.4023C25.112 13.3833 25.1147 13.3643 25.1161 13.3452C25.1256 13.2378 25.1338 13.1304 25.1406 13.0229C25.1406 13.0052 25.1433 12.9876 25.1433 12.9699C25.1433 12.9468 25.146 12.925 25.1474 12.9019V12.8869C25.1487 12.8665 25.1501 12.8448 25.1501 12.8244C25.1501 12.7999 25.1528 12.7768 25.1528 12.7523C25.1528 12.7441 25.1528 12.7387 25.1528 12.7332C25.1528 12.7183 25.1528 12.7033 25.1528 12.6884V12.6829C25.1528 12.6693 25.1542 12.6544 25.1542 12.6408C25.1542 12.6367 25.1542 12.6326 25.1542 12.6285C25.1542 12.6149 25.1542 12.6 25.1542 12.5864C25.1542 12.5823 25.1542 12.5782 25.1542 12.5741C25.1542 12.5565 25.1542 12.5374 25.1542 12.5197V12.4531L25.1596 12.449ZM12.2985 22.7452C13.1145 21.5485 13.0574 20.6495 11.9368 19.5303C10.8176 18.411 10.1648 16.7737 10.1648 16.7737C10.1648 16.7737 9.92135 15.8231 9.36649 15.9101C8.81163 15.9971 8.405 17.4183 9.5664 18.2873C10.7278 19.1577 9.33521 19.7465 8.88779 18.9306C8.44036 18.1146 7.21913 16.0162 6.58675 15.615C5.95437 15.2138 5.50831 15.4382 5.6579 16.265C5.73134 16.6758 6.42083 17.3761 7.06545 18.0303C7.71823 18.6953 8.32613 19.3113 8.19557 19.5303C7.93854 19.9641 7.03145 19.0203 7.03145 19.0203C7.03145 19.0203 4.19187 16.4364 3.57445 17.1096C3.00463 17.7297 3.88316 18.2574 5.23767 19.0706C5.35327 19.14 5.47159 19.2107 5.59262 19.2841C7.14161 20.2225 7.26264 20.4687 7.04233 20.8236C6.96073 20.9542 6.44259 20.6427 5.80477 20.2606C4.71681 19.6078 3.28342 18.747 3.08079 19.5181C2.90536 20.1844 3.96068 20.5938 4.91673 20.9637C5.71366 21.2724 6.44259 21.5553 6.33516 21.9374C6.22364 22.3345 5.62118 22.004 4.96296 21.6409C4.22315 21.2343 3.41398 20.7882 3.14879 21.2914C2.64833 22.242 6.60443 23.3613 6.63707 23.3694C7.91542 23.7013 11.1616 24.403 12.2972 22.7411L12.2985 22.7452ZM17.5561 22.7452C16.7402 21.5485 16.7973 20.6495 17.9179 19.5303C19.0371 18.411 19.6899 16.7737 19.6899 16.7737C19.6899 16.7737 19.9333 15.8231 20.4882 15.9101C21.043 15.9971 21.4497 17.4183 20.2883 18.2873C19.1269 19.1563 20.5195 19.7465 20.9669 18.9306C21.4143 18.1146 22.6342 16.0162 23.2666 15.615C23.8989 15.2138 24.345 15.4382 24.1954 16.265C24.122 16.6758 23.4325 17.3761 22.7879 18.0316C22.1351 18.6953 21.5285 19.3127 21.6577 19.5303C21.9148 19.9641 22.8232 19.0203 22.8232 19.0203C22.8232 19.0203 25.6614 16.4364 26.2802 17.1096C26.85 17.7297 25.9715 18.2574 24.617 19.0706C24.5014 19.14 24.3831 19.2107 24.2621 19.2841C22.7131 20.2225 22.592 20.47 22.8123 20.8236C22.8939 20.9542 23.4121 20.6441 24.0499 20.2606C25.1379 19.6078 26.5713 18.747 26.7739 19.5181C26.9493 20.1844 25.894 20.5938 24.9379 20.9637C24.141 21.2724 23.4121 21.5539 23.5195 21.9374C23.631 22.3345 24.2321 22.0027 24.8903 21.6409C25.6288 21.2343 26.4393 20.7882 26.7045 21.2914C27.205 22.2434 23.2489 23.3613 23.2162 23.3694C21.9379 23.7026 18.6917 24.4044 17.5575 22.7411L17.5561 22.7452Z",fill:"#FFD000"}),C.jsx("path",{id:"Vector_4",fillRule:"evenodd",clipRule:"evenodd",d:"M18.2028 9.5768C18.3633 9.63392 18.4829 9.80663 18.5972 9.97118C18.7508 10.1942 18.8936 10.4009 19.1139 10.284C19.3723 10.1466 19.5859 9.93447 19.7246 9.67607C19.8633 9.41768 19.9231 9.12393 19.8946 8.83154C19.866 8.53915 19.7531 8.26308 19.5668 8.03597C19.3819 7.80886 19.133 7.64159 18.8515 7.55591C18.5713 7.47023 18.2721 7.46887 17.9906 7.55455C17.7105 7.63887 17.4602 7.80478 17.2739 8.03189C17.0876 8.259 16.972 8.53507 16.9421 8.8261C16.9122 9.11849 16.9707 9.41224 17.108 9.67063C17.21 9.86239 17.4358 9.77127 17.6738 9.67607C17.8601 9.60128 18.0545 9.52376 18.2041 9.57544L18.2028 9.5768ZM11.2153 9.5768C11.0549 9.63392 10.9352 9.80663 10.821 9.97118C10.6673 10.1942 10.5245 10.4009 10.3042 10.284C10.0458 10.1466 9.83227 9.93447 9.69356 9.67607C9.55484 9.41768 9.495 9.12393 9.52356 8.83154C9.55212 8.53915 9.66636 8.26308 9.85131 8.03597C10.0376 7.80886 10.2851 7.64159 10.5666 7.55591C10.8468 7.47023 11.146 7.46887 11.4275 7.55455C11.7076 7.63887 11.9579 7.80478 12.1442 8.03053C12.3305 8.25628 12.4461 8.53371 12.476 8.82474C12.5059 9.11713 12.4475 9.41088 12.3101 9.66927C12.2081 9.86103 11.9824 9.76991 11.7444 9.67471C11.5581 9.59992 11.3636 9.5224 11.2153 9.57408V9.5768ZM17.1216 15.9346C18.2286 15.0615 18.6352 13.6376 18.6352 12.7604C18.6352 12.0669 18.1688 12.2858 17.4208 12.6544C17.4072 12.6612 17.3922 12.668 17.3786 12.6748C16.6932 13.0148 15.7793 13.4663 14.7784 13.4663C13.7775 13.4663 12.8636 13.0134 12.1782 12.6748C11.4071 12.2926 10.923 12.0533 10.923 12.7591C10.923 13.6635 11.3554 15.1499 12.544 16.0135C12.7004 15.6952 12.9221 15.4124 13.1927 15.1839C13.4633 14.9554 13.7789 14.7841 14.1188 14.6821C14.2372 14.6467 14.3596 14.8507 14.4847 15.0601C14.6057 15.2614 14.7281 15.4681 14.8546 15.4681C14.9879 15.4681 15.1198 15.2655 15.2476 15.0669C15.3822 14.8602 15.5128 14.6576 15.6379 14.6984C15.6746 14.7106 15.7113 14.7229 15.7481 14.7365C16.3369 14.9554 16.8251 15.3811 17.123 15.9332L17.1216 15.9346Z",fill:"#32343E"}),C.jsx("path",{id:"Vector_5",d:"M17.1212 15.9346C16.5445 16.3888 15.7775 16.6935 14.7793 16.6935C13.841 16.6935 13.1079 16.4242 12.5449 16.0148C12.7013 15.6966 12.923 15.4137 13.1936 15.1853C13.4642 14.9568 13.7798 14.7854 14.1197 14.6834C14.3523 14.6141 14.5998 15.4695 14.8541 15.4695C15.1275 15.4695 15.3913 14.6195 15.6388 14.6984C15.6755 14.7106 15.7123 14.7229 15.749 14.7365C16.3378 14.9554 16.8261 15.3811 17.1225 15.9332L17.1212 15.9346Z",fill:"#FF0030"}),C.jsx("path",{id:"Vector_6",fillRule:"evenodd",clipRule:"evenodd",d:"M8.56741 10.8103C8.4083 10.9163 8.22198 10.9721 8.03159 10.9721C7.90511 10.9721 7.78 10.9476 7.66304 10.8987C7.54609 10.8497 7.44001 10.779 7.35025 10.6892C7.2605 10.5995 7.18978 10.4934 7.14082 10.3764C7.09186 10.2595 7.06738 10.1344 7.06738 10.0079C7.06738 9.81749 7.1245 9.63118 7.23058 9.47207C7.33665 9.31295 7.48761 9.19056 7.66304 9.11712C7.83984 9.04368 8.03295 9.02464 8.22062 9.06272C8.40694 9.09944 8.57965 9.19192 8.71429 9.32655C8.84892 9.46119 8.9414 9.63254 8.97812 9.82021C9.01483 10.0079 8.9958 10.201 8.92372 10.3778C8.85028 10.5532 8.72789 10.7042 8.56877 10.8103H8.56741ZM22.3587 10.8103C22.1996 10.9163 22.0133 10.9721 21.8229 10.9721C21.6964 10.9721 21.5713 10.9476 21.4543 10.8987C21.3374 10.8497 21.2313 10.779 21.1415 10.6892C21.0518 10.5995 20.9811 10.4934 20.9321 10.3764C20.8831 10.2595 20.8587 10.1344 20.8587 10.0079C20.8587 9.81749 20.9158 9.63118 21.0205 9.47207C21.1266 9.31295 21.2775 9.19056 21.453 9.11712C21.6284 9.04368 21.8229 9.02464 22.0105 9.06272C22.1982 9.09944 22.3696 9.19192 22.5042 9.32655C22.6388 9.46119 22.7313 9.63254 22.768 9.82021C22.8048 10.0079 22.7857 10.201 22.7136 10.3778C22.6402 10.5532 22.5178 10.7042 22.3587 10.8103Z",fill:"#FFA800"})]})}),U=()=>C.jsx("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:C.jsxs("g",{id:"Group",children:[C.jsx("path",{id:"Vector",d:"M10.9988 21.822C16.9686 21.822 21.8081 16.978 21.8081 11.0026C21.8081 5.02724 16.9686 0.183228 10.9988 0.183228C5.02895 0.183228 0.189453 5.02724 0.189453 11.0026C0.189453 16.978 5.02895 21.822 10.9988 21.822Z",fill:"#79D6FF"}),C.jsxs("g",{id:"Clip path group",children:[C.jsx("mask",{id:"mask0_41_9667",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"22",height:"22",children:C.jsx("g",{id:"clippath",children:C.jsx("path",{id:"Vector_2",d:"M10.9968 21.822C16.9666 21.822 21.8061 16.9779 21.8061 11.0026C21.8061 5.02717 16.9666 0.183167 10.9968 0.183167C5.02699 0.183167 0.1875 5.02717 0.1875 11.0026C0.1875 16.9779 5.02699 21.822 10.9968 21.822Z",fill:"white"})})}),C.jsx("g",{mask:"url(#mask0_41_9667)",children:C.jsx("g",{id:"Group_2",children:C.jsxs("g",{id:"Group_3",children:[C.jsx("path",{id:"Vector_3",d:"M20.785 3.51493L14.6889 -0.465513C14.6889 -0.465513 14.8358 0.456502 13.7887 0.4769C12.7416 0.497299 11.254 -0.318643 10.7508 -0.696696C10.2477 -1.07339 5.8908 0.0362917 5.8908 0.0362917C5.8908 0.0362917 6.0159 1.23029 6.83316 1.23029C7.65042 1.23029 8.57239 1.3554 8.7818 0.894391C8.99122 0.433384 9.74593 -0.237049 9.87103 0.266115C9.99614 0.76928 10.0383 1.73345 9.36789 1.73345C8.69749 1.73345 7.65042 1.43971 7.18944 1.77561C6.72846 2.1115 6.05806 3.03216 5.59708 2.65547C5.13609 2.27877 5.30335 1.27244 5.01099 1.10518C4.71726 0.937908 3.41862 2.19446 3.41862 2.19446C3.41862 2.19446 3.62804 3.15863 4.21549 3.20079C4.80157 3.24294 5.05314 3.11647 5.05314 3.49453C5.05314 3.87258 4.84373 4.08065 4.29844 4.03985C3.75314 3.99769 3.1045 5.23384 3.94216 5.276C4.77982 5.31816 5.2204 5.00402 5.28295 5.276C5.34551 5.54798 4.23588 5.86212 3.58588 6.63726C2.93588 7.41241 1.72155 8.18756 2.07783 9.69569C2.4341 11.2038 2.91549 11.9586 3.92176 11.9382C4.92804 11.9178 5.95471 11.7287 6.37354 11.9382C6.79237 12.1476 7.73609 14.1589 7.79865 15.3746C7.8612 16.5904 7.75649 19.5237 9.83159 19.691C11.9053 19.8582 12.1991 17.9938 12.5553 17.303C12.9116 16.6122 13.7071 16.0247 13.5616 15.4386C13.4148 14.8524 12.9959 13.9087 13.8975 13.0506C14.7991 12.1911 15.804 11.9395 15.3852 11.1236C14.9663 10.3063 14.2334 10.8298 13.7928 10.139C13.3522 9.44818 11.7598 7.24786 12.3255 6.97452C12.8912 6.70254 14.043 9.86568 14.8399 9.94999C15.6367 10.0343 17.1869 9.2374 16.9354 8.69344C16.6838 8.14812 15.1961 7.64631 15.3852 7.05883C15.5742 6.47272 16.0352 7.18395 16.9354 7.562C17.8356 7.93869 18.423 7.43689 19.1138 8.14812C19.806 8.86071 19.2389 10.8516 20.1201 11.0189C20.9999 11.1861 20.7905 9.51074 21.1046 9.15445C21.4187 8.79815 22.1109 8.56833 22.1109 8.56833L20.7905 3.519L20.785 3.51493ZM8.23515 6.23881C6.64279 6.1341 5.82553 5.3372 6.13965 4.85579C6.45377 4.37438 7.31318 5.14953 7.73201 5.21209C8.15084 5.27464 8.13045 5.14953 8.86339 4.9605C9.59634 4.77148 10.7277 5.3372 10.7073 5.86076C10.6869 6.38432 9.82752 6.34216 8.23515 6.23745V6.23881Z",fill:"#23BD33"}),C.jsx("path",{id:"Vector_4",d:"M13.8085 18.4537C13.3679 18.2443 13.6195 17.3645 13.9132 17.0504C14.2069 16.7362 14.604 16.4425 14.9398 16.6315C15.2757 16.8206 14.2491 18.6631 13.8085 18.4537Z",fill:"#23BD33"})]})})})]})]})}),J=()=>C.jsx("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:C.jsxs("g",{id:"Group 42",children:[C.jsx("path",{id:"Vector 27",d:"M15.4004 15.8943L21.0002 21.4942",stroke:"black"}),C.jsx("circle",{id:"Ellipse 4757",cx:"9.09969",cy:"9.60561",r:"8.59969",stroke:"black"})]})}),O=()=>C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[C.jsx("path",{d:"M8.99924 13.4816L8.99915 1.33936",stroke:"black"}),C.jsx("path",{d:"M15.2305 7.57117L8.99867 1.33937L2.76687 7.57117",stroke:"black"}),C.jsx("path",{d:"M0.765625 11.6607V16.6607H16.7656V11.6607",stroke:"black"})]}),W=(i,t)=>p.useEffect(()=>{const n=o=>{i&&o.key==="Escape"&&t()};return document.addEventListener("keydown",n),()=>{document.removeEventListener("keydown",n)}},[i,t]);async function K(i){let t=[],n=[];const o=await fetch(`https://huggingface.co/api/models?search=${i}&limit=5&full=true`,{method:"GET",headers:{}});o.ok&&(t=(await o.json()).map(d=>({label:d.id,href:`/explorer/lineage/${d.id}`})));const L=await fetch(`https://huggingface.co/api/datasets?search=${i}&limit=5&full=true`,{method:"GET",headers:{}});return L.ok&&(n=(await L.json()).map(d=>({label:d.id,href:`/explorer/lineage/${d.id}`}))),{models:t,datasets:n}}async function i2(i){const t=await fetch(`https://huggingface.co/api/models/${i}`,{method:"GET",headers:{}});return t.ok?await t.json():Promise.reject(t)}const P="_form_wu6ja_1",Q="_search_wu6ja_2",Y="_upload_wu6ja_3",q="_hfBtn_wu6ja_4",X="_urlBtn_wu6ja_5",C2="_searchTypeBtns_wu6ja_6",e2="_searchBtn_wu6ja_19",s2="_active_wu6ja_41",t2="_inputWrapper_wu6ja_64",l2="_dropdown_wu6ja_148",a={form:P,search:Q,upload:Y,hfBtn:q,urlBtn:X,searchTypeBtns:C2,searchBtn:e2,active:s2,inputWrapper:t2,dropdown:l2};function o2({className:i,onSearch:t,isLandingPage:n}){const[o,L]=p.useState(!1),[e,d]=p.useState(""),[r,l]=p.useState([]),[H,f]=p.useState({models:[{label:"eci-io/climategpt-13b",href:"/explorer/lineage/eci-io/climategpt-13b"}],datasets:[{label:"eci-io/climategpt-13b",href:"/explorer/lineage/eci-io/climategpt-13b"}]}),[M,u]=p.useState(!1),m=["/explorer/lineage/eci-io/climategpt-70b","/explorer/lineage/eci-io/climategpt-13b","/explorer/lineage/eci-io/climategpt-7b","/explorer/lineage/eci-io/climategpt-7b-fsc","/explorer/lineage/eci-io/climategpt-7b-fsg"],j=e.includes("https://"),Z=g(a.container,i);g(a.hfBtn,e&&!j?a.active:""),g(a.urlBtn,e&&j?a.active:"");const x=k(),v=async s=>{d(s);const h=await K(e);f(h)};return W(o,()=>L(!1)),C.jsxs("div",{className:Z,children:[C.jsxs("form",{className:a.form,children:[C.jsxs("div",{className:a.search,children:[C.jsx("button",{className:a.searchBtn,onClick:t,children:C.jsx(J,{})}),C.jsxs("div",{className:a.inputWrapper,children:[C.jsx("input",{type:"search",id:"search",name:"search",onKeyDown:s=>{if(console.log("e.key: ",s.key),s.key==="Enter")if(s.preventDefault(),/^(ftp|http|https|www):\/\/[^ "]+$/.test(e))if(e.startsWith("https://huggingface.co/")){const V=e.replace("https://huggingface.co/","");x(w(V))}else x(b(e));else x(w(e))},onChange:s=>{v(s.target.value),u(!0)}}),!e&&C.jsxs("span",{children:["Search Hugging Face ",C.jsx($,{})," or Type a URL ",C.jsx(U,{})]})]}),e&&M&&C.jsxs("ul",{className:a.dropdown,children:[C.jsx("li",{children:"Models"}),H.models.map(({label:s,href:h},V)=>C.jsx("li",{children:C.jsx(_,{to:h,onClick:()=>u(!1),children:s})},V)),C.jsx("li",{children:"Datasets"}),H.datasets.map(({label:s,href:h},V)=>C.jsx("li",{children:C.jsx(_,{to:h,onClick:()=>u(!1),children:s})},(V+1)*2))]})]}),C.jsxs("button",{className:a.upload,onClick:s=>{s.preventDefault(),L(!0)},children:["Upload a Manifest ",C.jsx(O,{})]}),!n&&C.jsx("button",{className:a.upload,onClick:s=>{s.preventDefault();const h=Math.floor(Math.random()*m.length),V=m[h];x(V)},children:"Explore More..."})]}),o&&C.jsx(G,{handleClose:()=>L(!1),onFilesSelected:l})]})}const r2=()=>C.jsxs("svg",{viewBox:"0 0 860 88",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C.jsx("rect",{width:"70",height:"70",rx:"35",fill:"#85E2FF"}),C.jsx("path",{d:"M38.05 47.6V45.75H34.35C33.3325 45.75 32.4615 45.3877 31.7369 44.6631C31.0123 43.9385 30.65 43.0675 30.65 42.05V27.25H26.95V29.1C26.95 30.1175 26.5877 30.9885 25.8631 31.7131C25.1385 32.4377 24.2675 32.8 23.25 32.8H17.7C16.6825 32.8 15.8115 32.4377 15.0869 31.7131C14.3623 30.9885 14 30.1175 14 29.1V21.7C14 20.6825 14.3623 19.8115 15.0869 19.0869C15.8115 18.3623 16.6825 18 17.7 18H23.25C24.2675 18 25.1385 18.3623 25.8631 19.0869C26.5877 19.8115 26.95 20.6825 26.95 21.7V23.55H38.05V21.7C38.05 20.6825 38.4123 19.8115 39.1369 19.0869C39.8615 18.3623 40.7325 18 41.75 18H47.3C48.3175 18 49.1885 18.3623 49.9131 19.0869C50.6377 19.8115 51 20.6825 51 21.7V29.1C51 30.1175 50.6377 30.9885 49.9131 31.7131C49.1885 32.4377 48.3175 32.8 47.3 32.8H41.75C40.7325 32.8 39.8615 32.4377 39.1369 31.7131C38.4123 30.9885 38.05 30.1175 38.05 29.1V27.25H34.35V42.05H38.05V40.2C38.05 39.1825 38.4123 38.3115 39.1369 37.5869C39.8615 36.8623 40.7325 36.5 41.75 36.5H47.3C48.3175 36.5 49.1885 36.8623 49.9131 37.5869C50.6377 38.3115 51 39.1825 51 40.2V47.6C51 48.6175 50.6377 49.4885 49.9131 50.2131C49.1885 50.9377 48.3175 51.3 47.3 51.3H41.75C40.7325 51.3 39.8615 50.9377 39.1369 50.2131C38.4123 49.4885 38.05 48.6175 38.05 47.6Z",fill:"black"}),C.jsx("path",{d:"M98.6868 68.5H86.2187L110.686 1.56606H125.685L149.965 68.5H137.403L131.123 50.5947H105.061L98.6868 68.5ZM108.343 41.0327H127.841L118.186 12.4405H117.904L108.343 41.0327ZM154.283 1.56606H166.282V68.5H154.283V1.56606ZM193.656 1.56606H205.655V58.3755H236.872V68.5H193.656V1.56606ZM252.507 12.5342H240.601V1.56606H252.507V12.5342ZM240.414 68.5V20.0338H251.944V68.5H240.414ZM260.192 68.5V20.0338H271.441V28.4709C274.066 22.8462 278.472 18.7214 285.972 18.7214C298.534 18.7214 303.408 26.971 303.408 38.5016V68.5H292.065V41.1265C292.065 33.8143 289.815 28.6584 282.972 28.6584C276.41 28.6584 271.722 34.3768 271.722 46.3762V68.5H260.192ZM355.167 54.157C352.261 63.9065 343.918 69.9062 332.293 69.9062C317.669 69.9062 307.639 59.5005 307.639 44.1263C307.639 29.3146 318.044 18.6277 332.293 18.6277C348.699 18.6277 355.823 31.1895 355.917 45.2512C355.917 45.72 355.917 46.5637 355.823 47.4074H318.607C319.544 55.5632 324.888 60.6254 332.2 60.6254C337.543 60.6254 342.043 58.6568 343.73 54.157H355.167ZM318.7 39.5328H344.762C344.012 32.9706 340.168 27.4397 332.2 27.4397C324.794 27.4397 319.825 32.3144 318.7 39.5328ZM360.712 34.8455C362.025 26.971 368.587 18.5339 381.242 18.5339C396.898 18.5339 401.866 27.7209 401.866 38.8766V56.9694C401.866 60.7192 402.147 65.5002 402.71 68.5H391.179C390.898 66.7188 390.804 64.9377 390.804 63.1565V60.8129H390.711C388.929 64.6565 384.898 69.8124 375.43 69.8124C364.649 69.8124 358.462 63.1565 358.462 55.282C358.462 41.8764 374.586 40.6577 381.524 39.6265C387.711 38.6891 390.617 37.5641 390.617 33.4394C390.617 29.5958 387.148 27.2522 381.43 27.2522C376.368 27.2522 372.711 30.1583 371.493 34.8455H360.712ZM369.805 54.8132C369.805 58.4693 372.899 61.1879 378.43 61.1879C384.805 61.1879 390.804 57.3443 390.804 46.0012V41.5014C389.679 44.0326 387.054 46.1887 379.555 47.6886C372.993 48.9073 369.805 50.9697 369.805 54.8132ZM443.558 20.0338H455.557V63.6253C455.557 79.8431 444.214 86.5928 431.465 86.5928C418.247 86.5928 409.341 79.6557 408.028 69.9062H419.278C420.309 75.5309 424.809 77.7808 431.371 77.7808C438.964 77.7808 443.558 73.7497 443.558 65.0314V59.2192H443.464C441.495 64.094 437.183 68.3125 428.652 68.3125C415.434 68.3125 406.06 58.6568 406.06 43.3763C406.06 28.2834 415.247 18.7214 428.559 18.7214C436.902 18.7214 441.777 23.1274 443.464 27.2522H443.558V20.0338ZM417.497 43.4701C417.497 51.7196 421.996 59.1255 431.09 59.1255C440.933 59.1255 444.589 50.501 444.589 43.4701C444.589 36.4392 439.995 27.9084 431.09 27.9084C422.184 27.9084 417.497 35.2205 417.497 43.4701ZM507.697 54.157C504.791 63.9065 496.448 69.9062 484.823 69.9062C470.199 69.9062 460.168 59.5005 460.168 44.1263C460.168 29.3146 470.574 18.6277 484.823 18.6277C501.229 18.6277 508.353 31.1895 508.447 45.2512C508.447 45.72 508.447 46.5637 508.353 47.4074H471.136C472.074 55.5632 477.417 60.6254 484.729 60.6254C490.073 60.6254 494.573 58.6568 496.26 54.157H507.697ZM471.23 39.5328H497.291C496.541 32.9706 492.698 27.4397 484.729 27.4397C477.324 27.4397 472.355 32.3144 471.23 39.5328ZM575.262 1.56606V11.6905H544.045V29.6896H573.294V39.6265H544.045V58.3755H575.543V68.5H532.046V1.56606H575.262ZM578.151 68.5L595.307 43.7513L578.714 20.0338H591.557L601.775 34.9393L611.9 20.0338H624.743L608.15 43.6576L625.305 68.5H612.462L601.775 52.5633L590.995 68.5H578.151ZM655.702 18.7214C668.92 18.7214 678.295 28.7521 678.295 44.1263C678.295 59.5942 668.826 69.7187 655.608 69.7187C647.359 69.7187 642.296 64.469 640.609 60.5317H640.515V87.249H628.61V20.0338H640.328V28.3771H640.422C642.015 24.1586 647.265 18.7214 655.702 18.7214ZM639.484 44.1263C639.484 52.6571 643.89 60.6254 653.265 60.6254C662.264 60.6254 666.951 53.4071 666.951 44.1263C666.951 35.033 662.077 27.9084 653.265 27.9084C644.171 27.9084 639.484 35.783 639.484 44.1263ZM682.993 1.56606H694.523V68.5H682.993V1.56606ZM724.348 69.9062C710.098 69.9062 699.13 59.688 699.13 44.22C699.13 28.8459 710.098 18.7214 724.348 18.7214C738.597 18.7214 749.471 28.8459 749.471 44.22C749.471 59.688 738.597 69.9062 724.348 69.9062ZM710.38 44.22C710.38 53.2196 715.91 60.6254 724.348 60.6254C732.785 60.6254 738.316 53.2196 738.316 44.22C738.316 35.2205 732.785 27.8147 724.348 27.8147C715.91 27.8147 710.38 35.2205 710.38 44.22ZM765.382 20.0338V28.8459C768.007 22.19 773.163 19.5651 780.006 19.4714V30.3458C779.444 30.3458 776.257 30.3458 774.663 30.9083C770.163 31.8457 765.663 34.2831 765.663 46.4699V68.5H754.133V20.0338H765.382ZM827.961 54.157C825.055 63.9065 816.711 69.9062 805.087 69.9062C790.463 69.9062 780.432 59.5005 780.432 44.1263C780.432 29.3146 790.838 18.6277 805.087 18.6277C821.492 18.6277 828.617 31.1895 828.711 45.2512C828.711 45.72 828.711 46.5637 828.617 47.4074H791.4C792.338 55.5632 797.681 60.6254 804.993 60.6254C810.337 60.6254 814.836 58.6568 816.524 54.157H827.961ZM791.494 39.5328H817.555C816.805 32.9706 812.961 27.4397 804.993 27.4397C797.587 27.4397 792.619 32.3144 791.494 39.5328ZM845.036 20.0338V28.8459C847.661 22.19 852.817 19.5651 859.66 19.4714V30.3458C859.098 30.3458 855.911 30.3458 854.317 30.9083C849.817 31.8457 845.317 34.2831 845.317 46.4699V68.5H833.787V20.0338H845.036Z",fill:"black"})]});export{r2 as A,o2 as S,i2 as g};
 
 
static/assets/{Header-9a64b6bd.js β†’ Header-146bfe97.js} RENAMED
@@ -1,4 +1,4 @@
1
- import{a6 as st,c as C,r as c,A as Me,_ as ge,b as dt,n as xe,aa as ct,v as Le,u as k,au as ut,S as Z,s as ne,R as u,Q as _e,p as we,q as oe,a0 as De,o as ft,C as We,ae as Ve,ad as gt,x as Ge,D as Ke,af as Xe,e as vt,ar as je,aO as Te,ab as qe,f as Pe,N as Fe,j as pt}from"./index-911b15ef.js";import{u as He,R as mt}from"./index-8976ce36.js";const aa=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}});var Ye=function(t){if(st()&&window.document.documentElement){var a=Array.isArray(t)?t:[t],r=window.document.documentElement;return a.some(function(n){return n in r.style})}return!1},ht=function(t,a){if(!Ye(t))return!1;var r=document.createElement("div"),n=r.style[t];return r.style[t]=a,r.style[t]!==n};function ra(e,t){return!Array.isArray(e)&&t!==void 0?ht(e,t):Ye(e)}function be(e,t,a){return C({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:a})}const Ze=(e,t)=>t||e;var bt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const xt=bt;var St=function(t,a){return c.createElement(Me,ge({},t,{ref:a,icon:xt}))};const na=c.forwardRef(St),$t=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Ue=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Be=e=>({borderColor:e.activeBorderColor,boxShadow:e.activeShadow,outline:0,backgroundColor:e.activeBg}),Qe=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover:not([disabled])":Object.assign({},Ue(xe(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),Je=e=>{const{paddingBlockLG:t,fontSizeLG:a,lineHeightLG:r,borderRadiusLG:n,paddingInlineLG:l}=e;return{padding:`${k(t)} ${k(l)}`,fontSize:a,lineHeight:r,borderRadius:n}},ke=e=>({padding:`${k(e.paddingBlockSM)} ${k(e.paddingInlineSM)}`,borderRadius:e.borderRadiusSM}),et=(e,t)=>{const{componentCls:a,colorError:r,colorWarning:n,errorActiveShadow:l,warningActiveShadow:i,colorErrorBorderHover:d,colorWarningBorderHover:v}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:d},"&:focus, &:focus-within":Object.assign({},Be(xe(e,{activeBorderColor:r,activeShadow:l}))),[`${a}-prefix, ${a}-suffix`]:{color:r}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:n,"&:hover":{borderColor:v},"&:focus, &:focus-within":Object.assign({},Be(xe(e,{activeBorderColor:n,activeShadow:i}))),[`${a}-prefix, ${a}-suffix`]:{color:n}}}},tt=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${k(e.paddingBlock)} ${k(e.paddingInline)}`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},$t(e.colorTextPlaceholder)),{"&:hover":Object.assign({},Ue(e)),"&:focus, &:focus-within":Object.assign({},Be(e)),"&-disabled, &[disabled]":Object.assign({},Qe(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},Je(e)),"&-sm":Object.assign({},ke(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),wt=e=>{const{componentCls:t,antCls:a}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},Je(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},ke(e)),[`&-lg ${a}-select-single ${a}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${a}-select-single ${a}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${k(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.addonBg,border:`${k(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${a}-select`]:{margin:`${k(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${k(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${a}-select-single:not(${a}-select-customize-input):not(${a}-pagination-size-changer)`]:{[`${a}-select-selector`]:{backgroundColor:"inherit",border:`${k(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${a}-select-selector`]:{color:e.colorPrimary}}},[`${a}-cascader-picker`]:{margin:`-9px ${k(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${a}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${a}-select ${a}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${a}-select ${a}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},ut()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
2
  & > ${t}-affix-wrapper,
3
  & > ${t}-number-affix-wrapper,
4
  & > ${a}-picker-range
 
1
+ import{a6 as st,c as C,r as c,A as Me,_ as ge,b as dt,n as xe,aa as ct,v as Le,u as k,au as ut,S as Z,s as ne,R as u,Q as _e,p as we,q as oe,a0 as De,o as ft,C as We,ae as Ve,ad as gt,x as Ge,D as Ke,af as Xe,e as vt,ar as je,aO as Te,ab as qe,f as Pe,N as Fe,j as pt}from"./index-c062f015.js";import{u as He,R as mt}from"./index-0bfe7458.js";const aa=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}});var Ye=function(t){if(st()&&window.document.documentElement){var a=Array.isArray(t)?t:[t],r=window.document.documentElement;return a.some(function(n){return n in r.style})}return!1},ht=function(t,a){if(!Ye(t))return!1;var r=document.createElement("div"),n=r.style[t];return r.style[t]=a,r.style[t]!==n};function ra(e,t){return!Array.isArray(e)&&t!==void 0?ht(e,t):Ye(e)}function be(e,t,a){return C({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:a})}const Ze=(e,t)=>t||e;var bt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const xt=bt;var St=function(t,a){return c.createElement(Me,ge({},t,{ref:a,icon:xt}))};const na=c.forwardRef(St),$t=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Ue=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Be=e=>({borderColor:e.activeBorderColor,boxShadow:e.activeShadow,outline:0,backgroundColor:e.activeBg}),Qe=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover:not([disabled])":Object.assign({},Ue(xe(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),Je=e=>{const{paddingBlockLG:t,fontSizeLG:a,lineHeightLG:r,borderRadiusLG:n,paddingInlineLG:l}=e;return{padding:`${k(t)} ${k(l)}`,fontSize:a,lineHeight:r,borderRadius:n}},ke=e=>({padding:`${k(e.paddingBlockSM)} ${k(e.paddingInlineSM)}`,borderRadius:e.borderRadiusSM}),et=(e,t)=>{const{componentCls:a,colorError:r,colorWarning:n,errorActiveShadow:l,warningActiveShadow:i,colorErrorBorderHover:d,colorWarningBorderHover:v}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:d},"&:focus, &:focus-within":Object.assign({},Be(xe(e,{activeBorderColor:r,activeShadow:l}))),[`${a}-prefix, ${a}-suffix`]:{color:r}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:n,"&:hover":{borderColor:v},"&:focus, &:focus-within":Object.assign({},Be(xe(e,{activeBorderColor:n,activeShadow:i}))),[`${a}-prefix, ${a}-suffix`]:{color:n}}}},tt=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${k(e.paddingBlock)} ${k(e.paddingInline)}`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},$t(e.colorTextPlaceholder)),{"&:hover":Object.assign({},Ue(e)),"&:focus, &:focus-within":Object.assign({},Be(e)),"&-disabled, &[disabled]":Object.assign({},Qe(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},Je(e)),"&-sm":Object.assign({},ke(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),wt=e=>{const{componentCls:t,antCls:a}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},Je(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},ke(e)),[`&-lg ${a}-select-single ${a}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${a}-select-single ${a}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${k(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.addonBg,border:`${k(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${a}-select`]:{margin:`${k(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${k(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${a}-select-single:not(${a}-select-customize-input):not(${a}-pagination-size-changer)`]:{[`${a}-select-selector`]:{backgroundColor:"inherit",border:`${k(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${a}-select-selector`]:{color:e.colorPrimary}}},[`${a}-cascader-picker`]:{margin:`-9px ${k(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${a}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${a}-select ${a}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${a}-select ${a}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},ut()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
2
  & > ${t}-affix-wrapper,
3
  & > ${t}-number-affix-wrapper,
4
  & > ${a}-picker-range
static/assets/{drawer-497d3ebd.js β†’ drawer-0e0e61af.js} RENAMED
@@ -1,4 +1,4 @@
1
- import{N as wt,O as Et,P as Yl,r as i,l as Gl,C as vt,c as U,R as ce,Q as Nt,q as re,p as Je,_ as le,S as H,U as un,V as Cr,f as Vt,X as Cd,e as tr,Y as fn,s as V,K as xe,Z as Jt,$ as xd,a0 as Re,a1 as Ba,a2 as Gr,a3 as Zr,a4 as Sd,a5 as Qr,o as Lt,a6 as Zl,t as $n,a7 as En,T as rn,b as an,n as $t,h as Ql,v as Mt,a8 as xr,u as B,a9 as Jr,aa as wd,A as Pt,ab as $d,ac as Jl,y as es,ad as Ka,ae as In,af as Sr,x as nr,D as La,ag as ja,ah as Ed,ai as Lr,aj as Mn,ak as ts,al as Ha,am as Aa,an as Fa,ao as ns,d as en,ap as bn,aq as Id,ar as Od,as as Tn,at as rs,au as Mo,av as Wa,w as To,aw as eo,ax as Nd,ay as jr,W as os,az as as,aA as Zn,aB as Pd,aC as Rd,aD as Oi,aE as Md,aF as Td,aG as Ni,aH as is,aI as Pi,aJ as Ri,aK as Mi,aL as xn,aM as Dd,j as ne,g as to,aN as _d,G as kd,k as ls,z as ss,B as cs,m as zd,J as Bd}from"./index-911b15ef.js";import{I as Xn,J as wn,O as Kd,Q as Ld,S as Ti,F as Di,e as ds,f as jd,z as Hd,a as us,U as Ad,N as Fd}from"./stripPrefix-d6a1507e.js";import{C as Wd,g as Vd,b as Ud,u as qd,c as Xd,I as Va,T as Yd,d as Gd,e as Zd,f as Qd,h as Jd,i as eu,o as tu,a as nu,H as ru}from"./Header-9a64b6bd.js";import{u as Kt,R as kn,a as Ua,i as ou,T as fs,g as au,b as iu,c as lu,d as su}from"./index-8976ce36.js";import{i as _i,a as ki}from"./gapSize-a2278ff3.js";import{g as Do}from"./routes-17d4ed4d.js";function _o(e){return e!=null&&e===e.window}function cu(e,t){var r,n;if(typeof window>"u")return 0;const o=t?"scrollTop":"scrollLeft";let a=0;return _o(e)?a=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?a=e.documentElement[o]:(e instanceof HTMLElement||e)&&(a=e[o]),e&&!_o(e)&&typeof a!="number"&&(a=(n=((r=e.ownerDocument)!==null&&r!==void 0?r:e).documentElement)===null||n===void 0?void 0:n[o]),a}function du(e,t,r,n){const o=r-t;return e/=n/2,e<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}function uu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:r=()=>window,callback:n,duration:o=450}=t,a=r(),s=cu(a,!0),l=Date.now(),c=()=>{const f=Date.now()-l,u=du(f>o?o:f,s,e,o);_o(a)?a.scrollTo(window.pageXOffset,u):a instanceof Document||a.constructor.name==="HTMLDocument"?a.documentElement.scrollTop=u:a.scrollTop=u,f<o?wt(c):typeof n=="function"&&n()};wt(c)}const fu=new Et("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),mu=new Et("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),pu=new Et("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),vu=new Et("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),gu=new Et("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),hu=new Et("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),bu=new Et("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),yu=new Et("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),Cu={"move-up":{inKeyframes:bu,outKeyframes:yu},"move-down":{inKeyframes:fu,outKeyframes:mu},"move-left":{inKeyframes:pu,outKeyframes:vu},"move-right":{inKeyframes:gu,outKeyframes:hu}},Hr=(e,t)=>{const{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:o,outKeyframes:a}=Cu[t];return[Yl(n,o,a,e.motionDurationMid),{[`
2
  ${n}-enter,
3
  ${n}-appear
4
  `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},qa=new Et("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Xa=new Et("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Ya=new Et("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Ga=new Et("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),xu=new Et("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Su=new Et("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),wu=new Et("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),$u=new Et("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),Eu={"slide-up":{inKeyframes:qa,outKeyframes:Xa},"slide-down":{inKeyframes:Ya,outKeyframes:Ga},"slide-left":{inKeyframes:xu,outKeyframes:Su},"slide-right":{inKeyframes:wu,outKeyframes:$u}},Qn=(e,t)=>{const{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:o,outKeyframes:a}=Eu[t];return[Yl(n,o,a,e.motionDurationMid),{[`
 
1
+ import{N as wt,O as Et,P as Yl,r as i,l as Gl,C as vt,c as U,R as ce,Q as Nt,q as re,p as Je,_ as le,S as H,U as un,V as Cr,f as Vt,X as Cd,e as tr,Y as fn,s as V,K as xe,Z as Jt,$ as xd,a0 as Re,a1 as Ba,a2 as Gr,a3 as Zr,a4 as Sd,a5 as Qr,o as Lt,a6 as Zl,t as $n,a7 as En,T as rn,b as an,n as $t,h as Ql,v as Mt,a8 as xr,u as B,a9 as Jr,aa as wd,A as Pt,ab as $d,ac as Jl,y as es,ad as Ka,ae as In,af as Sr,x as nr,D as La,ag as ja,ah as Ed,ai as Lr,aj as Mn,ak as ts,al as Ha,am as Aa,an as Fa,ao as ns,d as en,ap as bn,aq as Id,ar as Od,as as Tn,at as rs,au as Mo,av as Wa,w as To,aw as eo,ax as Nd,ay as jr,W as os,az as as,aA as Zn,aB as Pd,aC as Rd,aD as Oi,aE as Md,aF as Td,aG as Ni,aH as is,aI as Pi,aJ as Ri,aK as Mi,aL as xn,aM as Dd,j as ne,g as to,aN as _d,G as kd,i as ls,z as ss,B as cs,m as zd,J as Bd}from"./index-c062f015.js";import{I as Xn,J as wn,O as Kd,Q as Ld,S as Ti,F as Di,e as ds,f as jd,z as Hd,a as us,U as Ad,N as Fd}from"./stripPrefix-e3f3bf0d.js";import{C as Wd,g as Vd,b as Ud,u as qd,c as Xd,I as Va,T as Yd,d as Gd,e as Zd,f as Qd,h as Jd,i as eu,o as tu,a as nu,H as ru}from"./Header-146bfe97.js";import{u as Kt,R as kn,a as Ua,i as ou,T as fs,g as au,b as iu,c as lu,d as su}from"./index-0bfe7458.js";import{i as _i,a as ki}from"./gapSize-a2278ff3.js";import{g as Do}from"./routes-17d4ed4d.js";function _o(e){return e!=null&&e===e.window}function cu(e,t){var r,n;if(typeof window>"u")return 0;const o=t?"scrollTop":"scrollLeft";let a=0;return _o(e)?a=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?a=e.documentElement[o]:(e instanceof HTMLElement||e)&&(a=e[o]),e&&!_o(e)&&typeof a!="number"&&(a=(n=((r=e.ownerDocument)!==null&&r!==void 0?r:e).documentElement)===null||n===void 0?void 0:n[o]),a}function du(e,t,r,n){const o=r-t;return e/=n/2,e<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}function uu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:r=()=>window,callback:n,duration:o=450}=t,a=r(),s=cu(a,!0),l=Date.now(),c=()=>{const f=Date.now()-l,u=du(f>o?o:f,s,e,o);_o(a)?a.scrollTo(window.pageXOffset,u):a instanceof Document||a.constructor.name==="HTMLDocument"?a.documentElement.scrollTop=u:a.scrollTop=u,f<o?wt(c):typeof n=="function"&&n()};wt(c)}const fu=new Et("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),mu=new Et("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),pu=new Et("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),vu=new Et("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),gu=new Et("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),hu=new Et("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),bu=new Et("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),yu=new Et("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),Cu={"move-up":{inKeyframes:bu,outKeyframes:yu},"move-down":{inKeyframes:fu,outKeyframes:mu},"move-left":{inKeyframes:pu,outKeyframes:vu},"move-right":{inKeyframes:gu,outKeyframes:hu}},Hr=(e,t)=>{const{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:o,outKeyframes:a}=Cu[t];return[Yl(n,o,a,e.motionDurationMid),{[`
2
  ${n}-enter,
3
  ${n}-appear
4
  `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},qa=new Et("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Xa=new Et("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Ya=new Et("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Ga=new Et("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),xu=new Et("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Su=new Et("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),wu=new Et("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),$u=new Et("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),Eu={"slide-up":{inKeyframes:qa,outKeyframes:Xa},"slide-down":{inKeyframes:Ya,outKeyframes:Ga},"slide-left":{inKeyframes:xu,outKeyframes:Su},"slide-right":{inKeyframes:wu,outKeyframes:$u}},Qn=(e,t)=>{const{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:o,outKeyframes:a}=Eu[t];return[Yl(n,o,a,e.motionDurationMid),{[`
static/assets/{index-8976ce36.js β†’ index-0bfe7458.js} RENAMED
@@ -1 +1 @@
1
- import{r as i,al as nn,am as on,a3 as an,a2 as sn,ai as jr,a1 as Wr,S as q,a4 as gr,Q as ln,t as cn,_ as Zt,aQ as Rr,q as L,U as Te,aR as xr,c as pe,an as Br,f as Pe,e as un,aI as fn,aS as yr,ak as vn,a0 as Ft,N as $r,aT as wr,p as Ir,aU as dn,aV as Vr,u as pr,b as hn,n as Hr,at as mn,v as gn,C as Fr,a7 as bn,ar as yn,ap as wn,aW as pn,ag as Cn,ah as _n,d as Mn,ax as Pn,aw as Sn}from"./index-911b15ef.js";var Cr=i.createContext(null);function Rn(e){var r=e.children,t=e.onBatchResize,n=i.useRef(0),o=i.useRef([]),a=i.useContext(Cr),s=i.useCallback(function(l,c,f){n.current+=1;var m=n.current;o.current.push({size:l,element:c,data:f}),Promise.resolve().then(function(){m===n.current&&(t==null||t(o.current),o.current=[])}),a==null||a(l,c,f)},[t,a]);return i.createElement(Cr.Provider,{value:s},r)}var qr=function(){if(typeof Map<"u")return Map;function e(r,t){var n=-1;return r.some(function(o,a){return o[0]===t?(n=a,!0):!1}),n}return function(){function r(){this.__entries__=[]}return Object.defineProperty(r.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),r.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},r.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},r.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},r.prototype.has=function(t){return!!~e(this.__entries__,t)},r.prototype.clear=function(){this.__entries__.splice(0)},r.prototype.forEach=function(t,n){n===void 0&&(n=null);for(var o=0,a=this.__entries__;o<a.length;o++){var s=a[o];t.call(n,s[1],s[0])}},r}()}(),_r=typeof window<"u"&&typeof document<"u"&&window.document===document,qt=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),xn=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(qt):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),$n=2;function kn(e,r){var t=!1,n=!1,o=0;function a(){t&&(t=!1,e()),n&&l()}function s(){xn(a)}function l(){var c=Date.now();if(t){if(c-o<$n)return;n=!0}else t=!0,n=!1,setTimeout(s,r);o=c}return l}var Tn=20,On=["top","right","bottom","left","width","height","size","weight"],En=typeof MutationObserver<"u",zn=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=kn(this.refresh.bind(this),Tn)}return e.prototype.addObserver=function(r){~this.observers_.indexOf(r)||this.observers_.push(r),this.connected_||this.connect_()},e.prototype.removeObserver=function(r){var t=this.observers_,n=t.indexOf(r);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var r=this.updateObservers_();r&&this.refresh()},e.prototype.updateObservers_=function(){var r=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return r.forEach(function(t){return t.broadcastActive()}),r.length>0},e.prototype.connect_=function(){!_r||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),En?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!_r||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(r){var t=r.propertyName,n=t===void 0?"":t,o=On.some(function(a){return!!~n.indexOf(a)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Gr=function(e,r){for(var t=0,n=Object.keys(r);t<n.length;t++){var o=n[t];Object.defineProperty(e,o,{value:r[o],enumerable:!1,writable:!1,configurable:!0})}return e},ut=function(e){var r=e&&e.ownerDocument&&e.ownerDocument.defaultView;return r||qt},Ur=Qt(0,0,0,0);function Gt(e){return parseFloat(e)||0}function kr(e){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];return r.reduce(function(n,o){var a=e["border-"+o+"-width"];return n+Gt(a)},0)}function Dn(e){for(var r=["top","right","bottom","left"],t={},n=0,o=r;n<o.length;n++){var a=o[n],s=e["padding-"+a];t[a]=Gt(s)}return t}function Ln(e){var r=e.getBBox();return Qt(0,0,r.width,r.height)}function Nn(e){var r=e.clientWidth,t=e.clientHeight;if(!r&&!t)return Ur;var n=ut(e).getComputedStyle(e),o=Dn(n),a=o.left+o.right,s=o.top+o.bottom,l=Gt(n.width),c=Gt(n.height);if(n.boxSizing==="border-box"&&(Math.round(l+a)!==r&&(l-=kr(n,"left","right")+a),Math.round(c+s)!==t&&(c-=kr(n,"top","bottom")+s)),!jn(e)){var f=Math.round(l+a)-r,m=Math.round(c+s)-t;Math.abs(f)!==1&&(l-=f),Math.abs(m)!==1&&(c-=m)}return Qt(o.left,o.top,l,c)}var An=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof ut(e).SVGGraphicsElement}:function(e){return e instanceof ut(e).SVGElement&&typeof e.getBBox=="function"}}();function jn(e){return e===ut(e).document.documentElement}function Wn(e){return _r?An(e)?Ln(e):Nn(e):Ur}function Bn(e){var r=e.x,t=e.y,n=e.width,o=e.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,s=Object.create(a.prototype);return Gr(s,{x:r,y:t,width:n,height:o,top:t,right:r+n,bottom:o+t,left:r}),s}function Qt(e,r,t,n){return{x:e,y:r,width:t,height:n}}var In=function(){function e(r){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Qt(0,0,0,0),this.target=r}return e.prototype.isActive=function(){var r=Wn(this.target);return this.contentRect_=r,r.width!==this.broadcastWidth||r.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var r=this.contentRect_;return this.broadcastWidth=r.width,this.broadcastHeight=r.height,r},e}(),Vn=function(){function e(r,t){var n=Bn(t);Gr(this,{target:r,contentRect:n})}return e}(),Hn=function(){function e(r,t,n){if(this.activeObservations_=[],this.observations_=new qr,typeof r!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=r,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(r){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(r instanceof ut(r).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(r)||(t.set(r,new In(r)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(r){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(r instanceof ut(r).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(r)&&(t.delete(r),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var r=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&r.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var r=this.callbackCtx_,t=this.activeObservations_.map(function(n){return new Vn(n.target,n.broadcastRect())});this.callback_.call(r,t,r),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Zr=typeof WeakMap<"u"?new WeakMap:new qr,Qr=function(){function e(r){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=zn.getInstance(),n=new Hn(r,t,this);Zr.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Qr.prototype[e]=function(){var r;return(r=Zr.get(this))[e].apply(r,arguments)}});var Fn=function(){return typeof qt.ResizeObserver<"u"?qt.ResizeObserver:Qr}(),Ie=new Map;function qn(e){e.forEach(function(r){var t,n=r.target;(t=Ie.get(n))===null||t===void 0||t.forEach(function(o){return o(n)})})}var Jr=new Fn(qn);function Gn(e,r){Ie.has(e)||(Ie.set(e,new Set),Jr.observe(e)),Ie.get(e).add(r)}function Un(e,r){Ie.has(e)&&(Ie.get(e).delete(r),Ie.get(e).size||(Jr.unobserve(e),Ie.delete(e)))}var Zn=function(e){nn(t,e);var r=on(t);function t(){return an(this,t),r.apply(this,arguments)}return sn(t,[{key:"render",value:function(){return this.props.children}}]),t}(i.Component);function Qn(e,r){var t=e.children,n=e.disabled,o=i.useRef(null),a=i.useRef(null),s=i.useContext(Cr),l=typeof t=="function",c=l?t(o):t,f=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),m=!l&&i.isValidElement(c)&&jr(c),v=m?c.ref:null,w=Wr(v,o),h=function(){var M;return gr(o.current)||(o.current&&ln(o.current)==="object"?gr((M=o.current)===null||M===void 0?void 0:M.nativeElement):null)||gr(a.current)};i.useImperativeHandle(r,function(){return h()});var p=i.useRef(e);p.current=e;var _=i.useCallback(function(b){var M=p.current,C=M.onResize,y=M.data,u=b.getBoundingClientRect(),$=u.width,W=u.height,O=b.offsetWidth,B=b.offsetHeight,U=Math.floor($),N=Math.floor(W);if(f.current.width!==U||f.current.height!==N||f.current.offsetWidth!==O||f.current.offsetHeight!==B){var I={width:U,height:N,offsetWidth:O,offsetHeight:B};f.current=I;var J=O===Math.round($)?$:O,K=B===Math.round(W)?W:B,A=q(q({},I),{},{offsetWidth:J,offsetHeight:K});s==null||s(A,b,y),C&&Promise.resolve().then(function(){C(A,b)})}},[]);return i.useEffect(function(){var b=h();return b&&!n&&Gn(b,_),function(){return Un(b,_)}},[o.current,n]),i.createElement(Zn,{ref:a},m?i.cloneElement(c,{ref:w}):c)}var Jn=i.forwardRef(Qn),Kn="rc-observer-key";function Xn(e,r){var t=e.children,n=typeof t=="function"?[t]:cn(t);return n.map(function(o,a){var s=(o==null?void 0:o.key)||"".concat(Kn,"-").concat(a);return i.createElement(Jn,Zt({},e,{key:s,ref:a===0?r:void 0}),o)})}var Pr=i.forwardRef(Xn);Pr.Collection=Rn;const Ut=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function br(e){return e!==void 0}function Yn(e,r){var t=r||{},n=t.defaultValue,o=t.value,a=t.onChange,s=t.postState,l=Rr(function(){return br(o)?o:br(n)?typeof n=="function"?n():n:typeof e=="function"?e():e}),c=L(l,2),f=c[0],m=c[1],v=o!==void 0?o:f,w=s?s(v):v,h=Te(a),p=Rr([v]),_=L(p,2),b=_[0],M=_[1];xr(function(){var y=b[0];f!==y&&h(f,y)},[b]),xr(function(){br(o)||m(o)},[o]);var C=Te(function(y,u){m(y,u),M([v],u)});return[w,C]}function eo(e,r){return Ut.reduce((t,n)=>{const o=e[`${n}1`],a=e[`${n}3`],s=e[`${n}6`],l=e[`${n}7`];return Object.assign(Object.assign({},t),r(n,{lightColor:o,lightBorderColor:a,darkColor:s,textColor:l}))},{})}const to=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};function ro(e){var r=e.prefixCls,t=e.align,n=e.arrow,o=e.arrowPos,a=n||{},s=a.className,l=a.content,c=o.x,f=c===void 0?0:c,m=o.y,v=m===void 0?0:m,w=i.useRef();if(!t||!t.points)return null;var h={position:"absolute"};if(t.autoArrow!==!1){var p=t.points[0],_=t.points[1],b=p[0],M=p[1],C=_[0],y=_[1];b===C||!["t","b"].includes(b)?h.top=v:b==="t"?h.top=0:h.bottom=0,M===y||!["l","r"].includes(M)?h.left=f:M==="l"?h.left=0:h.right=0}return i.createElement("div",{ref:w,className:pe("".concat(r,"-arrow"),s),style:h},l)}function no(e){var r=e.prefixCls,t=e.open,n=e.zIndex,o=e.mask,a=e.motion;return o?i.createElement(Br,Zt({},a,{motionAppear:!0,visible:t,removeOnLeave:!0}),function(s){var l=s.className;return i.createElement("div",{style:{zIndex:n},className:pe("".concat(r,"-mask"),l)})}):null}var oo=i.memo(function(e){var r=e.children;return r},function(e,r){return r.cache}),ao=i.forwardRef(function(e,r){var t=e.popup,n=e.className,o=e.prefixCls,a=e.style,s=e.target,l=e.onVisibleChanged,c=e.open,f=e.keepDom,m=e.fresh,v=e.onClick,w=e.mask,h=e.arrow,p=e.arrowPos,_=e.align,b=e.motion,M=e.maskMotion,C=e.forceRender,y=e.getPopupContainer,u=e.autoDestroy,$=e.portal,W=e.zIndex,O=e.onMouseEnter,B=e.onMouseLeave,U=e.onPointerEnter,N=e.ready,I=e.offsetX,J=e.offsetY,K=e.offsetR,A=e.offsetB,oe=e.onAlign,T=e.onPrepare,k=e.stretch,P=e.targetWidth,Z=e.targetHeight,x=typeof t=="function"?t():t,ue=c||f,ae=(y==null?void 0:y.length)>0,Ve=i.useState(!y||!ae),Oe=L(Ve,2),fe=Oe[0],ie=Oe[1];if(Pe(function(){!fe&&ae&&s&&ie(!0)},[fe,ae,s]),!fe)return null;var se="auto",j={left:"-1000vw",top:"-1000vh",right:se,bottom:se};if(N||!c){var Q,te=_.points,X=_.dynamicInset||((Q=_._experimental)===null||Q===void 0?void 0:Q.dynamicInset),Ee=X&&te[0][1]==="r",He=X&&te[0][0]==="b";Ee?(j.right=K,j.left=se):(j.left=I,j.right=se),He?(j.bottom=A,j.top=se):(j.top=J,j.bottom=se)}var F={};return k&&(k.includes("height")&&Z?F.height=Z:k.includes("minHeight")&&Z&&(F.minHeight=Z),k.includes("width")&&P?F.width=P:k.includes("minWidth")&&P&&(F.minWidth=P)),c||(F.pointerEvents="none"),i.createElement($,{open:C||ue,getContainer:y&&function(){return y(s)},autoDestroy:u},i.createElement(no,{prefixCls:o,open:c,zIndex:W,mask:w,motion:M}),i.createElement(Pr,{onResize:oe,disabled:!c},function(ze){return i.createElement(Br,Zt({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:C,leavedClassName:"".concat(o,"-hidden")},b,{onAppearPrepare:T,onEnterPrepare:T,visible:c,onVisibleChanged:function(Y){var ge;b==null||(ge=b.onVisibleChanged)===null||ge===void 0||ge.call(b,Y),l(Y)}}),function(ve,Y){var ge=ve.className,R=ve.style,Se=pe(o,ge,n);return i.createElement("div",{ref:un(ze,r,Y),className:Se,style:q(q(q(q({"--arrow-x":"".concat(p.x||0,"px"),"--arrow-y":"".concat(p.y||0,"px")},j),F),R),{},{boxSizing:"border-box",zIndex:W},a),onMouseEnter:O,onMouseLeave:B,onPointerEnter:U,onClick:v},h&&i.createElement(ro,{prefixCls:o,arrow:h,arrowPos:p,align:_}),i.createElement(oo,{cache:!c&&!m},x))})}))}),io=i.forwardRef(function(e,r){var t=e.children,n=e.getTriggerDOMNode,o=jr(t),a=i.useCallback(function(l){fn(r,n?n(l):l)},[n]),s=Wr(a,t.ref);return o?i.cloneElement(t,{ref:s}):t}),Tr=i.createContext(null);function Or(e){return e?Array.isArray(e)?e:[e]:[]}function so(e,r,t,n){return i.useMemo(function(){var o=Or(t??r),a=Or(n??r),s=new Set(o),l=new Set(a);return e&&(s.has("hover")&&(s.delete("hover"),s.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[s,l]},[e,r,t,n])}function lo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],t=arguments.length>2?arguments[2]:void 0;return t?e[0]===r[0]:e[0]===r[0]&&e[1]===r[1]}function co(e,r,t,n){for(var o=t.points,a=Object.keys(e),s=0;s<a.length;s+=1){var l,c=a[s];if(lo((l=e[c])===null||l===void 0?void 0:l.points,o,n))return"".concat(r,"-placement-").concat(c)}return""}function Er(e,r,t,n){return r||(t?{motionName:"".concat(e,"-").concat(t)}:n?{motionName:n}:null)}function _t(e){return e.ownerDocument.defaultView}function Mr(e){for(var r=[],t=e==null?void 0:e.parentElement,n=["hidden","scroll","clip","auto"];t;){var o=_t(t).getComputedStyle(t),a=o.overflowX,s=o.overflowY,l=o.overflow;[a,s,l].some(function(c){return n.includes(c)})&&r.push(t),t=t.parentElement}return r}function Ct(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?r:e}function pt(e){return Ct(parseFloat(e),0)}function zr(e,r){var t=q({},e);return(r||[]).forEach(function(n){if(!(n instanceof HTMLBodyElement||n instanceof HTMLHtmlElement)){var o=_t(n).getComputedStyle(n),a=o.overflow,s=o.overflowClipMargin,l=o.borderTopWidth,c=o.borderBottomWidth,f=o.borderLeftWidth,m=o.borderRightWidth,v=n.getBoundingClientRect(),w=n.offsetHeight,h=n.clientHeight,p=n.offsetWidth,_=n.clientWidth,b=pt(l),M=pt(c),C=pt(f),y=pt(m),u=Ct(Math.round(v.width/p*1e3)/1e3),$=Ct(Math.round(v.height/w*1e3)/1e3),W=(p-_-C-y)*u,O=(w-h-b-M)*$,B=b*$,U=M*$,N=C*u,I=y*u,J=0,K=0;if(a==="clip"){var A=pt(s);J=A*u,K=A*$}var oe=v.x+N-J,T=v.y+B-K,k=oe+v.width+2*J-N-I-W,P=T+v.height+2*K-B-U-O;t.left=Math.max(t.left,oe),t.top=Math.max(t.top,T),t.right=Math.min(t.right,k),t.bottom=Math.min(t.bottom,P)}}),t}function Dr(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t="".concat(r),n=t.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(t)}function Lr(e,r){var t=r||[],n=L(t,2),o=n[0],a=n[1];return[Dr(e.width,o),Dr(e.height,a)]}function Nr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function st(e,r){var t=r[0],n=r[1],o,a;return t==="t"?a=e.y:t==="b"?a=e.y+e.height:a=e.y+e.height/2,n==="l"?o=e.x:n==="r"?o=e.x+e.width:o=e.x+e.width/2,{x:o,y:a}}function Be(e,r){var t={t:"b",b:"t",l:"r",r:"l"};return e.map(function(n,o){return o===r?t[n]||"c":n}).join("")}function uo(e,r,t,n,o,a,s){var l=i.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[n]||{}}),c=L(l,2),f=c[0],m=c[1],v=i.useRef(0),w=i.useMemo(function(){return r?Mr(r):[]},[r]),h=i.useRef({}),p=function(){h.current={}};e||p();var _=Te(function(){if(r&&t&&e){let he=function(ke,Ke){var at=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Se,it=x.x+ke,yt=x.y+Ke,wt=it+Q,Bt=yt+j,fr=Math.max(it,at.left),vr=Math.max(yt,at.top),dr=Math.min(wt,at.right),hr=Math.min(Bt,at.bottom);return Math.max(0,(dr-fr)*(hr-vr))},Wt=function(){Ne=x.y+S,Ae=Ne+j,je=x.x+D,tt=je+Q};var C,y,u=r,$=u.ownerDocument,W=_t(u),O=W.getComputedStyle(u),B=O.width,U=O.height,N=O.position,I=u.style.left,J=u.style.top,K=u.style.right,A=u.style.bottom,oe=u.style.overflow,T=q(q({},o[n]),a),k=$.createElement("div");(C=u.parentElement)===null||C===void 0||C.appendChild(k),k.style.left="".concat(u.offsetLeft,"px"),k.style.top="".concat(u.offsetTop,"px"),k.style.position=N,k.style.height="".concat(u.offsetHeight,"px"),k.style.width="".concat(u.offsetWidth,"px"),u.style.left="0",u.style.top="0",u.style.right="auto",u.style.bottom="auto",u.style.overflow="hidden";var P;if(Array.isArray(t))P={x:t[0],y:t[1],width:0,height:0};else{var Z=t.getBoundingClientRect();P={x:Z.x,y:Z.y,width:Z.width,height:Z.height}}var x=u.getBoundingClientRect(),ue=$.documentElement,ae=ue.clientWidth,Ve=ue.clientHeight,Oe=ue.scrollWidth,fe=ue.scrollHeight,ie=ue.scrollTop,se=ue.scrollLeft,j=x.height,Q=x.width,te=P.height,X=P.width,Ee={left:0,top:0,right:ae,bottom:Ve},He={left:-se,top:-ie,right:Oe-se,bottom:fe-ie},F=T.htmlRegion,ze="visible",ve="visibleFirst";F!=="scroll"&&F!==ve&&(F=ze);var Y=F===ve,ge=zr(He,w),R=zr(Ee,w),Se=F===ze?R:ge,re=Y?R:Se;u.style.left="auto",u.style.top="auto",u.style.right="0",u.style.bottom="0";var Xe=u.getBoundingClientRect();u.style.left=I,u.style.top=J,u.style.right=K,u.style.bottom=A,u.style.overflow=oe,(y=u.parentElement)===null||y===void 0||y.removeChild(k);var V=Ct(Math.round(Q/parseFloat(B)*1e3)/1e3),ee=Ct(Math.round(j/parseFloat(U)*1e3)/1e3);if(V===0||ee===0||yr(t)&&!vn(t))return;var be=T.offset,ye=T.targetOffset,Jt=Lr(x,be),Mt=L(Jt,2),we=Mt[0],de=Mt[1],Ce=Lr(P,ye),Pt=L(Ce,2),St=Pt[0],Kt=Pt[1];P.x-=St,P.y-=Kt;var Ye=T.points||[],le=L(Ye,2),De=le[0],Xt=le[1],Re=Nr(Xt),ce=Nr(De),Rt=st(P,Re),ft=st(x,ce),Le=q({},T),D=Rt.x-ft.x+we,S=Rt.y-ft.y+de,_e=he(D,S),Me=he(D,S,R),Fe=st(P,["t","l"]),vt=st(x,["t","l"]),dt=st(P,["b","r"]),ht=st(x,["b","r"]),ne=T.overflow||{},Yt=ne.adjustX,xt=ne.adjustY,et=ne.shiftX,mt=ne.shiftY,$t=function(Ke){return typeof Ke=="boolean"?Ke:Ke>=0},Ne,Ae,je,tt;Wt();var gt=$t(xt),bt=ce[0]===Re[0];if(gt&&ce[0]==="t"&&(Ae>re.bottom||h.current.bt)){var qe=S;bt?qe-=j-te:qe=Fe.y-ht.y-de;var Ge=he(D,qe),er=he(D,qe,R);Ge>_e||Ge===_e&&(!Y||er>=Me)?(h.current.bt=!0,S=qe,de=-de,Le.points=[Be(ce,0),Be(Re,0)]):h.current.bt=!1}if(gt&&ce[0]==="b"&&(Ne<re.top||h.current.tb)){var G=S;bt?G+=j-te:G=dt.y-vt.y-de;var kt=he(D,G),tr=he(D,G,R);kt>_e||kt===_e&&(!Y||tr>=Me)?(h.current.tb=!0,S=G,de=-de,Le.points=[Be(ce,0),Be(Re,0)]):h.current.tb=!1}var Tt=$t(Yt),Ot=ce[1]===Re[1];if(Tt&&ce[1]==="l"&&(tt>re.right||h.current.rl)){var Ue=D;Ot?Ue-=Q-X:Ue=Fe.x-ht.x-we;var Et=he(Ue,S),rr=he(Ue,S,R);Et>_e||Et===_e&&(!Y||rr>=Me)?(h.current.rl=!0,D=Ue,we=-we,Le.points=[Be(ce,1),Be(Re,1)]):h.current.rl=!1}if(Tt&&ce[1]==="r"&&(je<re.left||h.current.lr)){var Ze=D;Ot?Ze+=Q-X:Ze=dt.x-vt.x-we;var zt=he(Ze,S),rt=he(Ze,S,R);zt>_e||zt===_e&&(!Y||rt>=Me)?(h.current.lr=!0,D=Ze,we=-we,Le.points=[Be(ce,1),Be(Re,1)]):h.current.lr=!1}Wt();var xe=et===!0?0:et;typeof xe=="number"&&(je<R.left&&(D-=je-R.left-we,P.x+X<R.left+xe&&(D+=P.x-R.left+X-xe)),tt>R.right&&(D-=tt-R.right-we,P.x>R.right-xe&&(D+=P.x-R.right+xe)));var Qe=mt===!0?0:mt;typeof Qe=="number"&&(Ne<R.top&&(S-=Ne-R.top-de,P.y+te<R.top+Qe&&(S+=P.y-R.top+te-Qe)),Ae>R.bottom&&(S-=Ae-R.bottom-de,P.y>R.bottom-Qe&&(S+=P.y-R.bottom+Qe)));var nt=x.x+D,ot=nt+Q,$e=x.y+S,Dt=$e+j,Je=P.x,We=Je+X,Lt=P.y,nr=Lt+te,or=Math.max(nt,Je),Nt=Math.min(ot,We),ar=(or+Nt)/2,ir=ar-nt,sr=Math.max($e,Lt),At=Math.min(Dt,nr),lr=(sr+At)/2,cr=lr-$e;s==null||s(r,Le);var jt=Xe.right-x.x-(D+x.width),ur=Xe.bottom-x.y-(S+x.height);m({ready:!0,offsetX:D/V,offsetY:S/ee,offsetR:jt/V,offsetB:ur/ee,arrowX:ir/V,arrowY:cr/ee,scaleX:V,scaleY:ee,align:Le})}}),b=function(){v.current+=1;var y=v.current;Promise.resolve().then(function(){v.current===y&&_()})},M=function(){m(function(y){return q(q({},y),{},{ready:!1})})};return Pe(M,[n]),Pe(function(){e||M()},[e]),[f.ready,f.offsetX,f.offsetY,f.offsetR,f.offsetB,f.arrowX,f.arrowY,f.scaleX,f.scaleY,f.align,b]}function fo(e,r,t,n,o){Pe(function(){if(e&&r&&t){let v=function(){n(),o()};var a=r,s=t,l=Mr(a),c=Mr(s),f=_t(s),m=new Set([f].concat(Ft(l),Ft(c)));return m.forEach(function(w){w.addEventListener("scroll",v,{passive:!0})}),f.addEventListener("resize",v,{passive:!0}),n(),function(){m.forEach(function(w){w.removeEventListener("scroll",v),f.removeEventListener("resize",v)})}}},[e,r,t])}function vo(e,r,t,n,o,a,s,l){var c=i.useRef(e),f=i.useRef(!1);c.current!==e&&(f.current=!0,c.current=e),i.useEffect(function(){var m=$r(function(){f.current=!1});return function(){$r.cancel(m)}},[e]),i.useEffect(function(){if(r&&n&&(!o||a)){var m=function(){var W=!1,O=function(N){var I=N.target;W=s(I)},B=function(N){var I=N.target;!f.current&&c.current&&!W&&!s(I)&&l(!1)};return[O,B]},v=m(),w=L(v,2),h=w[0],p=w[1],_=m(),b=L(_,2),M=b[0],C=b[1],y=_t(n);y.addEventListener("mousedown",h,!0),y.addEventListener("click",p,!0),y.addEventListener("contextmenu",p,!0);var u=wr(t);return u&&(u.addEventListener("mousedown",M,!0),u.addEventListener("click",C,!0),u.addEventListener("contextmenu",C,!0)),function(){y.removeEventListener("mousedown",h,!0),y.removeEventListener("click",p,!0),y.removeEventListener("contextmenu",p,!0),u&&(u.removeEventListener("mousedown",M,!0),u.removeEventListener("click",C,!0),u.removeEventListener("contextmenu",C,!0))}}},[r,t,n,o,a])}var ho=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function mo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Vr,r=i.forwardRef(function(t,n){var o=t.prefixCls,a=o===void 0?"rc-trigger-popup":o,s=t.children,l=t.action,c=l===void 0?"hover":l,f=t.showAction,m=t.hideAction,v=t.popupVisible,w=t.defaultPopupVisible,h=t.onPopupVisibleChange,p=t.afterPopupVisibleChange,_=t.mouseEnterDelay,b=t.mouseLeaveDelay,M=b===void 0?.1:b,C=t.focusDelay,y=t.blurDelay,u=t.mask,$=t.maskClosable,W=$===void 0?!0:$,O=t.getPopupContainer,B=t.forceRender,U=t.autoDestroy,N=t.destroyPopupOnHide,I=t.popup,J=t.popupClassName,K=t.popupStyle,A=t.popupPlacement,oe=t.builtinPlacements,T=oe===void 0?{}:oe,k=t.popupAlign,P=t.zIndex,Z=t.stretch,x=t.getPopupClassNameFromAlign,ue=t.fresh,ae=t.alignPoint,Ve=t.onPopupClick,Oe=t.onPopupAlign,fe=t.arrow,ie=t.popupMotion,se=t.maskMotion,j=t.popupTransitionName,Q=t.popupAnimation,te=t.maskTransitionName,X=t.maskAnimation,Ee=t.className,He=t.getTriggerDOMNode,F=Ir(t,ho),ze=U||N||!1,ve=i.useState(!1),Y=L(ve,2),ge=Y[0],R=Y[1];Pe(function(){R(to())},[]);var Se=i.useRef({}),re=i.useContext(Tr),Xe=i.useMemo(function(){return{registerSubPopup:function(g,E){Se.current[g]=E,re==null||re.registerSubPopup(g,E)}}},[re]),V=dn(),ee=i.useState(null),be=L(ee,2),ye=be[0],Jt=be[1],Mt=Te(function(d){yr(d)&&ye!==d&&Jt(d),re==null||re.registerSubPopup(V,d)}),we=i.useState(null),de=L(we,2),Ce=de[0],Pt=de[1],St=i.useRef(null),Kt=Te(function(d){yr(d)&&Ce!==d&&(Pt(d),St.current=d)}),Ye=i.Children.only(s),le=(Ye==null?void 0:Ye.props)||{},De={},Xt=Te(function(d){var g,E,H=Ce;return(H==null?void 0:H.contains(d))||((g=wr(H))===null||g===void 0?void 0:g.host)===d||d===H||(ye==null?void 0:ye.contains(d))||((E=wr(ye))===null||E===void 0?void 0:E.host)===d||d===ye||Object.values(Se.current).some(function(z){return(z==null?void 0:z.contains(d))||d===z})}),Re=Er(a,ie,Q,j),ce=Er(a,se,X,te),Rt=i.useState(w||!1),ft=L(Rt,2),Le=ft[0],D=ft[1],S=v??Le,_e=Te(function(d){v===void 0&&D(d)});Pe(function(){D(v||!1)},[v]);var Me=i.useRef(S);Me.current=S;var Fe=i.useRef([]);Fe.current=[];var vt=Te(function(d){var g;_e(d),((g=Fe.current[Fe.current.length-1])!==null&&g!==void 0?g:S)!==d&&(Fe.current.push(d),h==null||h(d))}),dt=i.useRef(),ht=function(){clearTimeout(dt.current)},ne=function(g){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;ht(),E===0?vt(g):dt.current=setTimeout(function(){vt(g)},E*1e3)};i.useEffect(function(){return ht},[]);var Yt=i.useState(!1),xt=L(Yt,2),et=xt[0],mt=xt[1];Pe(function(d){(!d||S)&&mt(!0)},[S]);var $t=i.useState(null),Ne=L($t,2),Ae=Ne[0],je=Ne[1],tt=i.useState([0,0]),gt=L(tt,2),bt=gt[0],qe=gt[1],Ge=function(g){qe([g.clientX,g.clientY])},er=uo(S,ye,ae?bt:Ce,A,T,k,Oe),G=L(er,11),kt=G[0],tr=G[1],Tt=G[2],Ot=G[3],Ue=G[4],Et=G[5],rr=G[6],Ze=G[7],zt=G[8],rt=G[9],xe=G[10],Qe=so(ge,c,f,m),nt=L(Qe,2),ot=nt[0],$e=nt[1],Dt=ot.has("click"),Je=$e.has("click")||$e.has("contextMenu"),We=Te(function(){et||xe()}),Lt=function(){Me.current&&ae&&Je&&ne(!1)};fo(S,Ce,ye,We,Lt),Pe(function(){We()},[bt,A]),Pe(function(){S&&!(T!=null&&T[A])&&We()},[JSON.stringify(k)]);var nr=i.useMemo(function(){var d=co(T,a,rt,ae);return pe(d,x==null?void 0:x(rt))},[rt,x,T,a,ae]);i.useImperativeHandle(n,function(){return{nativeElement:St.current,forceAlign:We}});var or=i.useState(0),Nt=L(or,2),ar=Nt[0],ir=Nt[1],sr=i.useState(0),At=L(sr,2),lr=At[0],cr=At[1],jt=function(){if(Z&&Ce){var g=Ce.getBoundingClientRect();ir(g.width),cr(g.height)}},ur=function(){jt(),We()},he=function(g){mt(!1),xe(),p==null||p(g)},Wt=function(){return new Promise(function(g){jt(),je(function(){return g})})};Pe(function(){Ae&&(xe(),Ae(),je(null))},[Ae]);function ke(d,g,E,H){De[d]=function(z){var It;H==null||H(z),ne(g,E);for(var mr=arguments.length,Sr=new Array(mr>1?mr-1:0),Vt=1;Vt<mr;Vt++)Sr[Vt-1]=arguments[Vt];(It=le[d])===null||It===void 0||It.call.apply(It,[le,z].concat(Sr))}}(Dt||Je)&&(De.onClick=function(d){var g;Me.current&&Je?ne(!1):!Me.current&&Dt&&(Ge(d),ne(!0));for(var E=arguments.length,H=new Array(E>1?E-1:0),z=1;z<E;z++)H[z-1]=arguments[z];(g=le.onClick)===null||g===void 0||g.call.apply(g,[le,d].concat(H))}),vo(S,Je,Ce,ye,u,W,Xt,ne);var Ke=ot.has("hover"),at=$e.has("hover"),it,yt;Ke&&(ke("onMouseEnter",!0,_,function(d){Ge(d)}),ke("onPointerEnter",!0,_,function(d){Ge(d)}),it=function(){(S||et)&&ne(!0,_)},ae&&(De.onMouseMove=function(d){var g;(g=le.onMouseMove)===null||g===void 0||g.call(le,d)})),at&&(ke("onMouseLeave",!1,M),ke("onPointerLeave",!1,M),yt=function(){ne(!1,M)}),ot.has("focus")&&ke("onFocus",!0,C),$e.has("focus")&&ke("onBlur",!1,y),ot.has("contextMenu")&&(De.onContextMenu=function(d){var g;Me.current&&$e.has("contextMenu")?ne(!1):(Ge(d),ne(!0)),d.preventDefault();for(var E=arguments.length,H=new Array(E>1?E-1:0),z=1;z<E;z++)H[z-1]=arguments[z];(g=le.onContextMenu)===null||g===void 0||g.call.apply(g,[le,d].concat(H))}),Ee&&(De.className=pe(le.className,Ee));var wt=q(q({},le),De),Bt={},fr=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];fr.forEach(function(d){F[d]&&(Bt[d]=function(){for(var g,E=arguments.length,H=new Array(E),z=0;z<E;z++)H[z]=arguments[z];(g=wt[d])===null||g===void 0||g.call.apply(g,[wt].concat(H)),F[d].apply(F,H)})});var vr=i.cloneElement(Ye,q(q({},wt),Bt)),dr={x:Et,y:rr},hr=fe?q({},fe!==!0?fe:{}):null;return i.createElement(i.Fragment,null,i.createElement(Pr,{disabled:!S,ref:Kt,onResize:ur},i.createElement(io,{getTriggerDOMNode:He},vr)),i.createElement(Tr.Provider,{value:Xe},i.createElement(ao,{portal:e,ref:Mt,prefixCls:a,popup:I,className:pe(J,nr),style:K,target:Ce,onMouseEnter:it,onMouseLeave:yt,onPointerEnter:it,zIndex:P,open:S,keepDom:et,fresh:ue,onClick:Ve,mask:u,motion:Re,maskMotion:ce,onVisibleChanged:he,onPrepare:Wt,forceRender:B,autoDestroy:ze,getPopupContainer:O,align:rt,arrow:hr,arrowPos:dr,ready:kt,offsetX:tr,offsetY:Tt,offsetR:Ot,offsetB:Ue,onAlign:We,stretch:Z,targetWidth:ar/Ze,targetHeight:lr/zt})))});return r}const go=mo(Vr);function Kr(e){var r=e.children,t=e.prefixCls,n=e.id,o=e.overlayInnerStyle,a=e.className,s=e.style;return i.createElement("div",{className:pe("".concat(t,"-content"),a),style:s},i.createElement("div",{className:"".concat(t,"-inner"),id:n,role:"tooltip",style:o},typeof r=="function"?r():r))}var lt={shiftX:64,adjustY:1},ct={adjustX:1,shiftY:!0},me=[0,0],bo={left:{points:["cr","cl"],overflow:ct,offset:[-4,0],targetOffset:me},right:{points:["cl","cr"],overflow:ct,offset:[4,0],targetOffset:me},top:{points:["bc","tc"],overflow:lt,offset:[0,-4],targetOffset:me},bottom:{points:["tc","bc"],overflow:lt,offset:[0,4],targetOffset:me},topLeft:{points:["bl","tl"],overflow:lt,offset:[0,-4],targetOffset:me},leftTop:{points:["tr","tl"],overflow:ct,offset:[-4,0],targetOffset:me},topRight:{points:["br","tr"],overflow:lt,offset:[0,-4],targetOffset:me},rightTop:{points:["tl","tr"],overflow:ct,offset:[4,0],targetOffset:me},bottomRight:{points:["tr","br"],overflow:lt,offset:[0,4],targetOffset:me},rightBottom:{points:["bl","br"],overflow:ct,offset:[4,0],targetOffset:me},bottomLeft:{points:["tl","bl"],overflow:lt,offset:[0,4],targetOffset:me},leftBottom:{points:["br","bl"],overflow:ct,offset:[-4,0],targetOffset:me}},yo=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],wo=function(r,t){var n=r.overlayClassName,o=r.trigger,a=o===void 0?["hover"]:o,s=r.mouseEnterDelay,l=s===void 0?0:s,c=r.mouseLeaveDelay,f=c===void 0?.1:c,m=r.overlayStyle,v=r.prefixCls,w=v===void 0?"rc-tooltip":v,h=r.children,p=r.onVisibleChange,_=r.afterVisibleChange,b=r.transitionName,M=r.animation,C=r.motion,y=r.placement,u=y===void 0?"right":y,$=r.align,W=$===void 0?{}:$,O=r.destroyTooltipOnHide,B=O===void 0?!1:O,U=r.defaultVisible,N=r.getTooltipContainer,I=r.overlayInnerStyle;r.arrowContent;var J=r.overlay,K=r.id,A=r.showArrow,oe=A===void 0?!0:A,T=Ir(r,yo),k=i.useRef(null);i.useImperativeHandle(t,function(){return k.current});var P=q({},T);"visible"in r&&(P.popupVisible=r.visible);var Z=function(){return i.createElement(Kr,{key:"content",prefixCls:w,id:K,overlayInnerStyle:I},J)};return i.createElement(go,Zt({popupClassName:n,prefixCls:w,popup:Z,action:a,builtinPlacements:bo,popupPlacement:u,ref:k,popupAlign:W,getPopupContainer:N,onPopupVisibleChange:p,afterPopupVisibleChange:_,popupTransitionName:b,popupAnimation:M,popupMotion:C,defaultPopupVisible:U,autoDestroy:B,mouseLeaveDelay:f,popupStyle:m,mouseEnterDelay:l,arrow:oe},P),h)};const po=i.forwardRef(wo);function Co(e){const{sizePopupArrow:r,borderRadiusXS:t,borderRadiusOuter:n}=e,o=r/2,a=0,s=o,l=n*1/Math.sqrt(2),c=o-n*(1-1/Math.sqrt(2)),f=o-t*(1/Math.sqrt(2)),m=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),v=2*o-f,w=m,h=2*o-l,p=c,_=2*o-a,b=s,M=o*Math.sqrt(2)+n*(Math.sqrt(2)-2),C=n*(Math.sqrt(2)-1),y=`polygon(${C}px 100%, 50% ${C}px, ${2*o-C}px 100%, ${C}px 100%)`,u=`path('M ${a} ${s} A ${n} ${n} 0 0 0 ${l} ${c} L ${f} ${m} A ${t} ${t} 0 0 1 ${v} ${w} L ${h} ${p} A ${n} ${n} 0 0 0 ${_} ${b} Z')`;return{arrowShadowWidth:M,arrowPath:u,arrowPolygon:y}}const _o=(e,r,t)=>{const{sizePopupArrow:n,arrowPolygon:o,arrowPath:a,arrowShadowWidth:s,borderRadiusXS:l,calc:c}=e;return{pointerEvents:"none",width:n,height:n,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:n,height:c(n).div(2).equal(),background:r,clipPath:{_multi_value_:!0,value:[o,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:s,height:s,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${pr(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:t,zIndex:0,background:"transparent"}}},Xr=8;function Yr(e){const{contentRadius:r,limitVerticalRadius:t}=e,n=r>12?r+2:12;return{arrowOffsetHorizontal:n,arrowOffsetVertical:t?Xr:n}}function Ht(e,r){return e?r:{}}function Mo(e,r,t){const{componentCls:n,boxShadowPopoverArrow:o,arrowOffsetVertical:a,arrowOffsetHorizontal:s}=e,{arrowDistance:l=0,arrowPlacement:c={left:!0,right:!0,top:!0,bottom:!0}}=t||{};return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({[`${n}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},_o(e,r,o)),{"&:before":{background:r}})]},Ht(!!c.top,{[[`&-placement-top > ${n}-arrow`,`&-placement-topLeft > ${n}-arrow`,`&-placement-topRight > ${n}-arrow`].join(",")]:{bottom:l,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${n}-arrow`]:{left:{_skip_check_:!0,value:s}},[`&-placement-topRight > ${n}-arrow`]:{right:{_skip_check_:!0,value:s}}})),Ht(!!c.bottom,{[[`&-placement-bottom > ${n}-arrow`,`&-placement-bottomLeft > ${n}-arrow`,`&-placement-bottomRight > ${n}-arrow`].join(",")]:{top:l,transform:"translateY(-100%)"},[`&-placement-bottom > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft > ${n}-arrow`]:{left:{_skip_check_:!0,value:s}},[`&-placement-bottomRight > ${n}-arrow`]:{right:{_skip_check_:!0,value:s}}})),Ht(!!c.left,{[[`&-placement-left > ${n}-arrow`,`&-placement-leftTop > ${n}-arrow`,`&-placement-leftBottom > ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:l},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${n}-arrow`]:{top:a},[`&-placement-leftBottom > ${n}-arrow`]:{bottom:a}})),Ht(!!c.right,{[[`&-placement-right > ${n}-arrow`,`&-placement-rightTop > ${n}-arrow`,`&-placement-rightBottom > ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:l},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${n}-arrow`]:{top:a},[`&-placement-rightBottom > ${n}-arrow`]:{bottom:a}}))}}function Po(e,r,t,n){if(n===!1)return{adjustX:!1,adjustY:!1};const o=n&&typeof n=="object"?n:{},a={};switch(e){case"top":case"bottom":a.shiftX=r.arrowOffsetHorizontal*2+t,a.shiftY=!0,a.adjustY=!0;break;case"left":case"right":a.shiftY=r.arrowOffsetVertical*2+t,a.shiftX=!0,a.adjustX=!0;break}const s=Object.assign(Object.assign({},a),o);return s.shiftX||(s.adjustX=!0),s.shiftY||(s.adjustY=!0),s}const Ar={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},So={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},Ro=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function xo(e){const{arrowWidth:r,autoAdjustOverflow:t,arrowPointAtCenter:n,offset:o,borderRadius:a,visibleFirst:s}=e,l=r/2,c={};return Object.keys(Ar).forEach(f=>{const m=n&&So[f]||Ar[f],v=Object.assign(Object.assign({},m),{offset:[0,0],dynamicInset:!0});switch(c[f]=v,Ro.has(f)&&(v.autoArrow=!1),f){case"top":case"topLeft":case"topRight":v.offset[1]=-l-o;break;case"bottom":case"bottomLeft":case"bottomRight":v.offset[1]=l+o;break;case"left":case"leftTop":case"leftBottom":v.offset[0]=-l-o;break;case"right":case"rightTop":case"rightBottom":v.offset[0]=l+o;break}const w=Yr({contentRadius:a,limitVerticalRadius:!0});if(n)switch(f){case"topLeft":case"bottomLeft":v.offset[0]=-w.arrowOffsetHorizontal-l;break;case"topRight":case"bottomRight":v.offset[0]=w.arrowOffsetHorizontal+l;break;case"leftTop":case"rightTop":v.offset[1]=-w.arrowOffsetHorizontal-l;break;case"leftBottom":case"rightBottom":v.offset[1]=w.arrowOffsetHorizontal+l;break}v.overflow=Po(f,w,r,t),s&&(v.htmlRegion="visibleFirst")}),c}const $o=e=>{const{componentCls:r,tooltipMaxWidth:t,tooltipColor:n,tooltipBg:o,tooltipBorderRadius:a,zIndexPopup:s,controlHeight:l,boxShadowSecondary:c,paddingSM:f,paddingXS:m}=e;return[{[r]:Object.assign(Object.assign(Object.assign(Object.assign({},gn(e)),{position:"absolute",zIndex:s,display:"block",width:"max-content",maxWidth:t,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${r}-inner`]:{minWidth:l,minHeight:l,padding:`${pr(e.calc(f).div(2).equal())} ${pr(m)}`,color:n,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:a,boxShadow:c,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${r}-inner`]:{borderRadius:e.min(a,Xr)}},[`${r}-content`]:{position:"relative"}}),eo(e,(v,w)=>{let{darkColor:h}=w;return{[`&${r}-${v}`]:{[`${r}-inner`]:{backgroundColor:h},[`${r}-arrow`]:{"--antd-arrow-background-color":h}}}})),{"&-rtl":{direction:"rtl"}})},Mo(e,"var(--antd-arrow-background-color)"),{[`${r}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},ko=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},Yr({contentRadius:e.borderRadius,limitVerticalRadius:!0})),Co(Hr(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),en=function(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return hn("Tooltip",n=>{const{borderRadius:o,colorTextLightSolid:a,colorBgSpotlight:s}=n,l=Hr(n,{tooltipMaxWidth:250,tooltipColor:a,tooltipBorderRadius:o,tooltipBg:s});return[$o(l),mn(n,"zoom-big-fast")]},ko,{resetStyle:!1,injectStyle:r})(e)},To=Ut.map(e=>`${e}-inverse`);function Oo(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(Ft(To),Ft(Ut)).includes(e):Ut.includes(e)}function tn(e,r){const t=Oo(r),n=pe({[`${e}-${r}`]:r&&t}),o={},a={};return r&&!t&&(o.background=r,a["--antd-arrow-background-color"]=r),{className:n,overlayStyle:o,arrowStyle:a}}const Eo=e=>{const{prefixCls:r,className:t,placement:n="top",title:o,color:a,overlayInnerStyle:s}=e,{getPrefixCls:l}=i.useContext(Fr),c=l("tooltip",r),[f,m,v]=en(c),w=tn(c,a),h=w.arrowStyle,p=Object.assign(Object.assign({},s),w.overlayStyle),_=pe(m,v,c,`${c}-pure`,`${c}-placement-${n}`,t,w.className);return f(i.createElement("div",{className:_,style:h},i.createElement("div",{className:`${c}-arrow`}),i.createElement(Kr,Object.assign({},e,{className:m,prefixCls:c,overlayInnerStyle:p}),o)))},zo=Eo;var Do=globalThis&&globalThis.__rest||function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};const rn=i.forwardRef((e,r)=>{var t,n;const{prefixCls:o,openClassName:a,getTooltipContainer:s,overlayClassName:l,color:c,overlayInnerStyle:f,children:m,afterOpenChange:v,afterVisibleChange:w,destroyTooltipOnHide:h,arrow:p=!0,title:_,overlay:b,builtinPlacements:M,arrowPointAtCenter:C=!1,autoAdjustOverflow:y=!0}=e,u=!!p,[,$]=bn(),{getPopupContainer:W,getPrefixCls:O,direction:B}=i.useContext(Fr),U=Sn(),N=i.useRef(null),I=()=>{var V;(V=N.current)===null||V===void 0||V.forceAlign()};i.useImperativeHandle(r,()=>({forceAlign:I,forcePopupAlign:()=>{U.deprecated(!1,"forcePopupAlign","forceAlign"),I()}}));const[J,K]=Yn(!1,{value:(t=e.open)!==null&&t!==void 0?t:e.visible,defaultValue:(n=e.defaultOpen)!==null&&n!==void 0?n:e.defaultVisible}),A=!_&&!b&&_!==0,oe=V=>{var ee,be;K(A?!1:V),A||((ee=e.onOpenChange)===null||ee===void 0||ee.call(e,V),(be=e.onVisibleChange)===null||be===void 0||be.call(e,V))},T=i.useMemo(()=>{var V,ee;let be=C;return typeof p=="object"&&(be=(ee=(V=p.pointAtCenter)!==null&&V!==void 0?V:p.arrowPointAtCenter)!==null&&ee!==void 0?ee:C),M||xo({arrowPointAtCenter:be,autoAdjustOverflow:y,arrowWidth:u?$.sizePopupArrow:0,borderRadius:$.borderRadius,offset:$.marginXXS,visibleFirst:!0})},[C,p,M,$]),k=i.useMemo(()=>_===0?_:b||_||"",[b,_]),P=i.createElement(yn,null,typeof k=="function"?k():k),{getPopupContainer:Z,placement:x="top",mouseEnterDelay:ue=.1,mouseLeaveDelay:ae=.1,overlayStyle:Ve,rootClassName:Oe}=e,fe=Do(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),ie=O("tooltip",o),se=O(),j=e["data-popover-inject"];let Q=J;!("open"in e)&&!("visible"in e)&&A&&(Q=!1);const te=wn(m)&&!pn(m)?m:i.createElement("span",null,m),X=te.props,Ee=!X.className||typeof X.className=="string"?pe(X.className,a||`${ie}-open`):X.className,[He,F,ze]=en(ie,!j),ve=tn(ie,c),Y=ve.arrowStyle,ge=Object.assign(Object.assign({},f),ve.overlayStyle),R=pe(l,{[`${ie}-rtl`]:B==="rtl"},ve.className,Oe,F,ze),[Se,re]=Cn("Tooltip",fe.zIndex),Xe=i.createElement(po,Object.assign({},fe,{zIndex:Se,showArrow:u,placement:x,mouseEnterDelay:ue,mouseLeaveDelay:ae,prefixCls:ie,overlayClassName:R,overlayStyle:Object.assign(Object.assign({},Y),Ve),getTooltipContainer:Z||s||W,ref:N,builtinPlacements:T,overlay:P,visible:Q,onVisibleChange:oe,afterVisibleChange:v??w,overlayInnerStyle:ge,arrowContent:i.createElement("span",{className:`${ie}-arrow-content`}),motion:{motionName:_n(se,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!h}),Q?Mn(te,{className:Ee}):te);return He(i.createElement(Pn.Provider,{value:re},Xe))});rn._InternalPanelDoNotUseOrYouWillBeFired=zo;const No=rn;export{Ut as P,Pr as R,No as T,go as a,Yr as b,Co as c,xo as d,Kr as e,Mo as g,to as i,Yn as u};
 
1
+ import{r as i,al as nn,am as on,a3 as an,a2 as sn,ai as jr,a1 as Wr,S as q,a4 as gr,Q as ln,t as cn,_ as Zt,aQ as Rr,q as L,U as Te,aR as xr,c as pe,an as Br,f as Pe,e as un,aI as fn,aS as yr,ak as vn,a0 as Ft,N as $r,aT as wr,p as Ir,aU as dn,aV as Vr,u as pr,b as hn,n as Hr,at as mn,v as gn,C as Fr,a7 as bn,ar as yn,ap as wn,aW as pn,ag as Cn,ah as _n,d as Mn,ax as Pn,aw as Sn}from"./index-c062f015.js";var Cr=i.createContext(null);function Rn(e){var r=e.children,t=e.onBatchResize,n=i.useRef(0),o=i.useRef([]),a=i.useContext(Cr),s=i.useCallback(function(l,c,f){n.current+=1;var m=n.current;o.current.push({size:l,element:c,data:f}),Promise.resolve().then(function(){m===n.current&&(t==null||t(o.current),o.current=[])}),a==null||a(l,c,f)},[t,a]);return i.createElement(Cr.Provider,{value:s},r)}var qr=function(){if(typeof Map<"u")return Map;function e(r,t){var n=-1;return r.some(function(o,a){return o[0]===t?(n=a,!0):!1}),n}return function(){function r(){this.__entries__=[]}return Object.defineProperty(r.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),r.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},r.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},r.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},r.prototype.has=function(t){return!!~e(this.__entries__,t)},r.prototype.clear=function(){this.__entries__.splice(0)},r.prototype.forEach=function(t,n){n===void 0&&(n=null);for(var o=0,a=this.__entries__;o<a.length;o++){var s=a[o];t.call(n,s[1],s[0])}},r}()}(),_r=typeof window<"u"&&typeof document<"u"&&window.document===document,qt=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),xn=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(qt):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),$n=2;function kn(e,r){var t=!1,n=!1,o=0;function a(){t&&(t=!1,e()),n&&l()}function s(){xn(a)}function l(){var c=Date.now();if(t){if(c-o<$n)return;n=!0}else t=!0,n=!1,setTimeout(s,r);o=c}return l}var Tn=20,On=["top","right","bottom","left","width","height","size","weight"],En=typeof MutationObserver<"u",zn=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=kn(this.refresh.bind(this),Tn)}return e.prototype.addObserver=function(r){~this.observers_.indexOf(r)||this.observers_.push(r),this.connected_||this.connect_()},e.prototype.removeObserver=function(r){var t=this.observers_,n=t.indexOf(r);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var r=this.updateObservers_();r&&this.refresh()},e.prototype.updateObservers_=function(){var r=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return r.forEach(function(t){return t.broadcastActive()}),r.length>0},e.prototype.connect_=function(){!_r||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),En?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!_r||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(r){var t=r.propertyName,n=t===void 0?"":t,o=On.some(function(a){return!!~n.indexOf(a)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Gr=function(e,r){for(var t=0,n=Object.keys(r);t<n.length;t++){var o=n[t];Object.defineProperty(e,o,{value:r[o],enumerable:!1,writable:!1,configurable:!0})}return e},ut=function(e){var r=e&&e.ownerDocument&&e.ownerDocument.defaultView;return r||qt},Ur=Qt(0,0,0,0);function Gt(e){return parseFloat(e)||0}function kr(e){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];return r.reduce(function(n,o){var a=e["border-"+o+"-width"];return n+Gt(a)},0)}function Dn(e){for(var r=["top","right","bottom","left"],t={},n=0,o=r;n<o.length;n++){var a=o[n],s=e["padding-"+a];t[a]=Gt(s)}return t}function Ln(e){var r=e.getBBox();return Qt(0,0,r.width,r.height)}function Nn(e){var r=e.clientWidth,t=e.clientHeight;if(!r&&!t)return Ur;var n=ut(e).getComputedStyle(e),o=Dn(n),a=o.left+o.right,s=o.top+o.bottom,l=Gt(n.width),c=Gt(n.height);if(n.boxSizing==="border-box"&&(Math.round(l+a)!==r&&(l-=kr(n,"left","right")+a),Math.round(c+s)!==t&&(c-=kr(n,"top","bottom")+s)),!jn(e)){var f=Math.round(l+a)-r,m=Math.round(c+s)-t;Math.abs(f)!==1&&(l-=f),Math.abs(m)!==1&&(c-=m)}return Qt(o.left,o.top,l,c)}var An=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof ut(e).SVGGraphicsElement}:function(e){return e instanceof ut(e).SVGElement&&typeof e.getBBox=="function"}}();function jn(e){return e===ut(e).document.documentElement}function Wn(e){return _r?An(e)?Ln(e):Nn(e):Ur}function Bn(e){var r=e.x,t=e.y,n=e.width,o=e.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,s=Object.create(a.prototype);return Gr(s,{x:r,y:t,width:n,height:o,top:t,right:r+n,bottom:o+t,left:r}),s}function Qt(e,r,t,n){return{x:e,y:r,width:t,height:n}}var In=function(){function e(r){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Qt(0,0,0,0),this.target=r}return e.prototype.isActive=function(){var r=Wn(this.target);return this.contentRect_=r,r.width!==this.broadcastWidth||r.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var r=this.contentRect_;return this.broadcastWidth=r.width,this.broadcastHeight=r.height,r},e}(),Vn=function(){function e(r,t){var n=Bn(t);Gr(this,{target:r,contentRect:n})}return e}(),Hn=function(){function e(r,t,n){if(this.activeObservations_=[],this.observations_=new qr,typeof r!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=r,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(r){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(r instanceof ut(r).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(r)||(t.set(r,new In(r)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(r){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(r instanceof ut(r).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(r)&&(t.delete(r),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var r=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&r.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var r=this.callbackCtx_,t=this.activeObservations_.map(function(n){return new Vn(n.target,n.broadcastRect())});this.callback_.call(r,t,r),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Zr=typeof WeakMap<"u"?new WeakMap:new qr,Qr=function(){function e(r){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=zn.getInstance(),n=new Hn(r,t,this);Zr.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Qr.prototype[e]=function(){var r;return(r=Zr.get(this))[e].apply(r,arguments)}});var Fn=function(){return typeof qt.ResizeObserver<"u"?qt.ResizeObserver:Qr}(),Ie=new Map;function qn(e){e.forEach(function(r){var t,n=r.target;(t=Ie.get(n))===null||t===void 0||t.forEach(function(o){return o(n)})})}var Jr=new Fn(qn);function Gn(e,r){Ie.has(e)||(Ie.set(e,new Set),Jr.observe(e)),Ie.get(e).add(r)}function Un(e,r){Ie.has(e)&&(Ie.get(e).delete(r),Ie.get(e).size||(Jr.unobserve(e),Ie.delete(e)))}var Zn=function(e){nn(t,e);var r=on(t);function t(){return an(this,t),r.apply(this,arguments)}return sn(t,[{key:"render",value:function(){return this.props.children}}]),t}(i.Component);function Qn(e,r){var t=e.children,n=e.disabled,o=i.useRef(null),a=i.useRef(null),s=i.useContext(Cr),l=typeof t=="function",c=l?t(o):t,f=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),m=!l&&i.isValidElement(c)&&jr(c),v=m?c.ref:null,w=Wr(v,o),h=function(){var M;return gr(o.current)||(o.current&&ln(o.current)==="object"?gr((M=o.current)===null||M===void 0?void 0:M.nativeElement):null)||gr(a.current)};i.useImperativeHandle(r,function(){return h()});var p=i.useRef(e);p.current=e;var _=i.useCallback(function(b){var M=p.current,C=M.onResize,y=M.data,u=b.getBoundingClientRect(),$=u.width,W=u.height,O=b.offsetWidth,B=b.offsetHeight,U=Math.floor($),N=Math.floor(W);if(f.current.width!==U||f.current.height!==N||f.current.offsetWidth!==O||f.current.offsetHeight!==B){var I={width:U,height:N,offsetWidth:O,offsetHeight:B};f.current=I;var J=O===Math.round($)?$:O,K=B===Math.round(W)?W:B,A=q(q({},I),{},{offsetWidth:J,offsetHeight:K});s==null||s(A,b,y),C&&Promise.resolve().then(function(){C(A,b)})}},[]);return i.useEffect(function(){var b=h();return b&&!n&&Gn(b,_),function(){return Un(b,_)}},[o.current,n]),i.createElement(Zn,{ref:a},m?i.cloneElement(c,{ref:w}):c)}var Jn=i.forwardRef(Qn),Kn="rc-observer-key";function Xn(e,r){var t=e.children,n=typeof t=="function"?[t]:cn(t);return n.map(function(o,a){var s=(o==null?void 0:o.key)||"".concat(Kn,"-").concat(a);return i.createElement(Jn,Zt({},e,{key:s,ref:a===0?r:void 0}),o)})}var Pr=i.forwardRef(Xn);Pr.Collection=Rn;const Ut=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function br(e){return e!==void 0}function Yn(e,r){var t=r||{},n=t.defaultValue,o=t.value,a=t.onChange,s=t.postState,l=Rr(function(){return br(o)?o:br(n)?typeof n=="function"?n():n:typeof e=="function"?e():e}),c=L(l,2),f=c[0],m=c[1],v=o!==void 0?o:f,w=s?s(v):v,h=Te(a),p=Rr([v]),_=L(p,2),b=_[0],M=_[1];xr(function(){var y=b[0];f!==y&&h(f,y)},[b]),xr(function(){br(o)||m(o)},[o]);var C=Te(function(y,u){m(y,u),M([v],u)});return[w,C]}function eo(e,r){return Ut.reduce((t,n)=>{const o=e[`${n}1`],a=e[`${n}3`],s=e[`${n}6`],l=e[`${n}7`];return Object.assign(Object.assign({},t),r(n,{lightColor:o,lightBorderColor:a,darkColor:s,textColor:l}))},{})}const to=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};function ro(e){var r=e.prefixCls,t=e.align,n=e.arrow,o=e.arrowPos,a=n||{},s=a.className,l=a.content,c=o.x,f=c===void 0?0:c,m=o.y,v=m===void 0?0:m,w=i.useRef();if(!t||!t.points)return null;var h={position:"absolute"};if(t.autoArrow!==!1){var p=t.points[0],_=t.points[1],b=p[0],M=p[1],C=_[0],y=_[1];b===C||!["t","b"].includes(b)?h.top=v:b==="t"?h.top=0:h.bottom=0,M===y||!["l","r"].includes(M)?h.left=f:M==="l"?h.left=0:h.right=0}return i.createElement("div",{ref:w,className:pe("".concat(r,"-arrow"),s),style:h},l)}function no(e){var r=e.prefixCls,t=e.open,n=e.zIndex,o=e.mask,a=e.motion;return o?i.createElement(Br,Zt({},a,{motionAppear:!0,visible:t,removeOnLeave:!0}),function(s){var l=s.className;return i.createElement("div",{style:{zIndex:n},className:pe("".concat(r,"-mask"),l)})}):null}var oo=i.memo(function(e){var r=e.children;return r},function(e,r){return r.cache}),ao=i.forwardRef(function(e,r){var t=e.popup,n=e.className,o=e.prefixCls,a=e.style,s=e.target,l=e.onVisibleChanged,c=e.open,f=e.keepDom,m=e.fresh,v=e.onClick,w=e.mask,h=e.arrow,p=e.arrowPos,_=e.align,b=e.motion,M=e.maskMotion,C=e.forceRender,y=e.getPopupContainer,u=e.autoDestroy,$=e.portal,W=e.zIndex,O=e.onMouseEnter,B=e.onMouseLeave,U=e.onPointerEnter,N=e.ready,I=e.offsetX,J=e.offsetY,K=e.offsetR,A=e.offsetB,oe=e.onAlign,T=e.onPrepare,k=e.stretch,P=e.targetWidth,Z=e.targetHeight,x=typeof t=="function"?t():t,ue=c||f,ae=(y==null?void 0:y.length)>0,Ve=i.useState(!y||!ae),Oe=L(Ve,2),fe=Oe[0],ie=Oe[1];if(Pe(function(){!fe&&ae&&s&&ie(!0)},[fe,ae,s]),!fe)return null;var se="auto",j={left:"-1000vw",top:"-1000vh",right:se,bottom:se};if(N||!c){var Q,te=_.points,X=_.dynamicInset||((Q=_._experimental)===null||Q===void 0?void 0:Q.dynamicInset),Ee=X&&te[0][1]==="r",He=X&&te[0][0]==="b";Ee?(j.right=K,j.left=se):(j.left=I,j.right=se),He?(j.bottom=A,j.top=se):(j.top=J,j.bottom=se)}var F={};return k&&(k.includes("height")&&Z?F.height=Z:k.includes("minHeight")&&Z&&(F.minHeight=Z),k.includes("width")&&P?F.width=P:k.includes("minWidth")&&P&&(F.minWidth=P)),c||(F.pointerEvents="none"),i.createElement($,{open:C||ue,getContainer:y&&function(){return y(s)},autoDestroy:u},i.createElement(no,{prefixCls:o,open:c,zIndex:W,mask:w,motion:M}),i.createElement(Pr,{onResize:oe,disabled:!c},function(ze){return i.createElement(Br,Zt({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:C,leavedClassName:"".concat(o,"-hidden")},b,{onAppearPrepare:T,onEnterPrepare:T,visible:c,onVisibleChanged:function(Y){var ge;b==null||(ge=b.onVisibleChanged)===null||ge===void 0||ge.call(b,Y),l(Y)}}),function(ve,Y){var ge=ve.className,R=ve.style,Se=pe(o,ge,n);return i.createElement("div",{ref:un(ze,r,Y),className:Se,style:q(q(q(q({"--arrow-x":"".concat(p.x||0,"px"),"--arrow-y":"".concat(p.y||0,"px")},j),F),R),{},{boxSizing:"border-box",zIndex:W},a),onMouseEnter:O,onMouseLeave:B,onPointerEnter:U,onClick:v},h&&i.createElement(ro,{prefixCls:o,arrow:h,arrowPos:p,align:_}),i.createElement(oo,{cache:!c&&!m},x))})}))}),io=i.forwardRef(function(e,r){var t=e.children,n=e.getTriggerDOMNode,o=jr(t),a=i.useCallback(function(l){fn(r,n?n(l):l)},[n]),s=Wr(a,t.ref);return o?i.cloneElement(t,{ref:s}):t}),Tr=i.createContext(null);function Or(e){return e?Array.isArray(e)?e:[e]:[]}function so(e,r,t,n){return i.useMemo(function(){var o=Or(t??r),a=Or(n??r),s=new Set(o),l=new Set(a);return e&&(s.has("hover")&&(s.delete("hover"),s.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[s,l]},[e,r,t,n])}function lo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],t=arguments.length>2?arguments[2]:void 0;return t?e[0]===r[0]:e[0]===r[0]&&e[1]===r[1]}function co(e,r,t,n){for(var o=t.points,a=Object.keys(e),s=0;s<a.length;s+=1){var l,c=a[s];if(lo((l=e[c])===null||l===void 0?void 0:l.points,o,n))return"".concat(r,"-placement-").concat(c)}return""}function Er(e,r,t,n){return r||(t?{motionName:"".concat(e,"-").concat(t)}:n?{motionName:n}:null)}function _t(e){return e.ownerDocument.defaultView}function Mr(e){for(var r=[],t=e==null?void 0:e.parentElement,n=["hidden","scroll","clip","auto"];t;){var o=_t(t).getComputedStyle(t),a=o.overflowX,s=o.overflowY,l=o.overflow;[a,s,l].some(function(c){return n.includes(c)})&&r.push(t),t=t.parentElement}return r}function Ct(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?r:e}function pt(e){return Ct(parseFloat(e),0)}function zr(e,r){var t=q({},e);return(r||[]).forEach(function(n){if(!(n instanceof HTMLBodyElement||n instanceof HTMLHtmlElement)){var o=_t(n).getComputedStyle(n),a=o.overflow,s=o.overflowClipMargin,l=o.borderTopWidth,c=o.borderBottomWidth,f=o.borderLeftWidth,m=o.borderRightWidth,v=n.getBoundingClientRect(),w=n.offsetHeight,h=n.clientHeight,p=n.offsetWidth,_=n.clientWidth,b=pt(l),M=pt(c),C=pt(f),y=pt(m),u=Ct(Math.round(v.width/p*1e3)/1e3),$=Ct(Math.round(v.height/w*1e3)/1e3),W=(p-_-C-y)*u,O=(w-h-b-M)*$,B=b*$,U=M*$,N=C*u,I=y*u,J=0,K=0;if(a==="clip"){var A=pt(s);J=A*u,K=A*$}var oe=v.x+N-J,T=v.y+B-K,k=oe+v.width+2*J-N-I-W,P=T+v.height+2*K-B-U-O;t.left=Math.max(t.left,oe),t.top=Math.max(t.top,T),t.right=Math.min(t.right,k),t.bottom=Math.min(t.bottom,P)}}),t}function Dr(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t="".concat(r),n=t.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(t)}function Lr(e,r){var t=r||[],n=L(t,2),o=n[0],a=n[1];return[Dr(e.width,o),Dr(e.height,a)]}function Nr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function st(e,r){var t=r[0],n=r[1],o,a;return t==="t"?a=e.y:t==="b"?a=e.y+e.height:a=e.y+e.height/2,n==="l"?o=e.x:n==="r"?o=e.x+e.width:o=e.x+e.width/2,{x:o,y:a}}function Be(e,r){var t={t:"b",b:"t",l:"r",r:"l"};return e.map(function(n,o){return o===r?t[n]||"c":n}).join("")}function uo(e,r,t,n,o,a,s){var l=i.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[n]||{}}),c=L(l,2),f=c[0],m=c[1],v=i.useRef(0),w=i.useMemo(function(){return r?Mr(r):[]},[r]),h=i.useRef({}),p=function(){h.current={}};e||p();var _=Te(function(){if(r&&t&&e){let he=function(ke,Ke){var at=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Se,it=x.x+ke,yt=x.y+Ke,wt=it+Q,Bt=yt+j,fr=Math.max(it,at.left),vr=Math.max(yt,at.top),dr=Math.min(wt,at.right),hr=Math.min(Bt,at.bottom);return Math.max(0,(dr-fr)*(hr-vr))},Wt=function(){Ne=x.y+S,Ae=Ne+j,je=x.x+D,tt=je+Q};var C,y,u=r,$=u.ownerDocument,W=_t(u),O=W.getComputedStyle(u),B=O.width,U=O.height,N=O.position,I=u.style.left,J=u.style.top,K=u.style.right,A=u.style.bottom,oe=u.style.overflow,T=q(q({},o[n]),a),k=$.createElement("div");(C=u.parentElement)===null||C===void 0||C.appendChild(k),k.style.left="".concat(u.offsetLeft,"px"),k.style.top="".concat(u.offsetTop,"px"),k.style.position=N,k.style.height="".concat(u.offsetHeight,"px"),k.style.width="".concat(u.offsetWidth,"px"),u.style.left="0",u.style.top="0",u.style.right="auto",u.style.bottom="auto",u.style.overflow="hidden";var P;if(Array.isArray(t))P={x:t[0],y:t[1],width:0,height:0};else{var Z=t.getBoundingClientRect();P={x:Z.x,y:Z.y,width:Z.width,height:Z.height}}var x=u.getBoundingClientRect(),ue=$.documentElement,ae=ue.clientWidth,Ve=ue.clientHeight,Oe=ue.scrollWidth,fe=ue.scrollHeight,ie=ue.scrollTop,se=ue.scrollLeft,j=x.height,Q=x.width,te=P.height,X=P.width,Ee={left:0,top:0,right:ae,bottom:Ve},He={left:-se,top:-ie,right:Oe-se,bottom:fe-ie},F=T.htmlRegion,ze="visible",ve="visibleFirst";F!=="scroll"&&F!==ve&&(F=ze);var Y=F===ve,ge=zr(He,w),R=zr(Ee,w),Se=F===ze?R:ge,re=Y?R:Se;u.style.left="auto",u.style.top="auto",u.style.right="0",u.style.bottom="0";var Xe=u.getBoundingClientRect();u.style.left=I,u.style.top=J,u.style.right=K,u.style.bottom=A,u.style.overflow=oe,(y=u.parentElement)===null||y===void 0||y.removeChild(k);var V=Ct(Math.round(Q/parseFloat(B)*1e3)/1e3),ee=Ct(Math.round(j/parseFloat(U)*1e3)/1e3);if(V===0||ee===0||yr(t)&&!vn(t))return;var be=T.offset,ye=T.targetOffset,Jt=Lr(x,be),Mt=L(Jt,2),we=Mt[0],de=Mt[1],Ce=Lr(P,ye),Pt=L(Ce,2),St=Pt[0],Kt=Pt[1];P.x-=St,P.y-=Kt;var Ye=T.points||[],le=L(Ye,2),De=le[0],Xt=le[1],Re=Nr(Xt),ce=Nr(De),Rt=st(P,Re),ft=st(x,ce),Le=q({},T),D=Rt.x-ft.x+we,S=Rt.y-ft.y+de,_e=he(D,S),Me=he(D,S,R),Fe=st(P,["t","l"]),vt=st(x,["t","l"]),dt=st(P,["b","r"]),ht=st(x,["b","r"]),ne=T.overflow||{},Yt=ne.adjustX,xt=ne.adjustY,et=ne.shiftX,mt=ne.shiftY,$t=function(Ke){return typeof Ke=="boolean"?Ke:Ke>=0},Ne,Ae,je,tt;Wt();var gt=$t(xt),bt=ce[0]===Re[0];if(gt&&ce[0]==="t"&&(Ae>re.bottom||h.current.bt)){var qe=S;bt?qe-=j-te:qe=Fe.y-ht.y-de;var Ge=he(D,qe),er=he(D,qe,R);Ge>_e||Ge===_e&&(!Y||er>=Me)?(h.current.bt=!0,S=qe,de=-de,Le.points=[Be(ce,0),Be(Re,0)]):h.current.bt=!1}if(gt&&ce[0]==="b"&&(Ne<re.top||h.current.tb)){var G=S;bt?G+=j-te:G=dt.y-vt.y-de;var kt=he(D,G),tr=he(D,G,R);kt>_e||kt===_e&&(!Y||tr>=Me)?(h.current.tb=!0,S=G,de=-de,Le.points=[Be(ce,0),Be(Re,0)]):h.current.tb=!1}var Tt=$t(Yt),Ot=ce[1]===Re[1];if(Tt&&ce[1]==="l"&&(tt>re.right||h.current.rl)){var Ue=D;Ot?Ue-=Q-X:Ue=Fe.x-ht.x-we;var Et=he(Ue,S),rr=he(Ue,S,R);Et>_e||Et===_e&&(!Y||rr>=Me)?(h.current.rl=!0,D=Ue,we=-we,Le.points=[Be(ce,1),Be(Re,1)]):h.current.rl=!1}if(Tt&&ce[1]==="r"&&(je<re.left||h.current.lr)){var Ze=D;Ot?Ze+=Q-X:Ze=dt.x-vt.x-we;var zt=he(Ze,S),rt=he(Ze,S,R);zt>_e||zt===_e&&(!Y||rt>=Me)?(h.current.lr=!0,D=Ze,we=-we,Le.points=[Be(ce,1),Be(Re,1)]):h.current.lr=!1}Wt();var xe=et===!0?0:et;typeof xe=="number"&&(je<R.left&&(D-=je-R.left-we,P.x+X<R.left+xe&&(D+=P.x-R.left+X-xe)),tt>R.right&&(D-=tt-R.right-we,P.x>R.right-xe&&(D+=P.x-R.right+xe)));var Qe=mt===!0?0:mt;typeof Qe=="number"&&(Ne<R.top&&(S-=Ne-R.top-de,P.y+te<R.top+Qe&&(S+=P.y-R.top+te-Qe)),Ae>R.bottom&&(S-=Ae-R.bottom-de,P.y>R.bottom-Qe&&(S+=P.y-R.bottom+Qe)));var nt=x.x+D,ot=nt+Q,$e=x.y+S,Dt=$e+j,Je=P.x,We=Je+X,Lt=P.y,nr=Lt+te,or=Math.max(nt,Je),Nt=Math.min(ot,We),ar=(or+Nt)/2,ir=ar-nt,sr=Math.max($e,Lt),At=Math.min(Dt,nr),lr=(sr+At)/2,cr=lr-$e;s==null||s(r,Le);var jt=Xe.right-x.x-(D+x.width),ur=Xe.bottom-x.y-(S+x.height);m({ready:!0,offsetX:D/V,offsetY:S/ee,offsetR:jt/V,offsetB:ur/ee,arrowX:ir/V,arrowY:cr/ee,scaleX:V,scaleY:ee,align:Le})}}),b=function(){v.current+=1;var y=v.current;Promise.resolve().then(function(){v.current===y&&_()})},M=function(){m(function(y){return q(q({},y),{},{ready:!1})})};return Pe(M,[n]),Pe(function(){e||M()},[e]),[f.ready,f.offsetX,f.offsetY,f.offsetR,f.offsetB,f.arrowX,f.arrowY,f.scaleX,f.scaleY,f.align,b]}function fo(e,r,t,n,o){Pe(function(){if(e&&r&&t){let v=function(){n(),o()};var a=r,s=t,l=Mr(a),c=Mr(s),f=_t(s),m=new Set([f].concat(Ft(l),Ft(c)));return m.forEach(function(w){w.addEventListener("scroll",v,{passive:!0})}),f.addEventListener("resize",v,{passive:!0}),n(),function(){m.forEach(function(w){w.removeEventListener("scroll",v),f.removeEventListener("resize",v)})}}},[e,r,t])}function vo(e,r,t,n,o,a,s,l){var c=i.useRef(e),f=i.useRef(!1);c.current!==e&&(f.current=!0,c.current=e),i.useEffect(function(){var m=$r(function(){f.current=!1});return function(){$r.cancel(m)}},[e]),i.useEffect(function(){if(r&&n&&(!o||a)){var m=function(){var W=!1,O=function(N){var I=N.target;W=s(I)},B=function(N){var I=N.target;!f.current&&c.current&&!W&&!s(I)&&l(!1)};return[O,B]},v=m(),w=L(v,2),h=w[0],p=w[1],_=m(),b=L(_,2),M=b[0],C=b[1],y=_t(n);y.addEventListener("mousedown",h,!0),y.addEventListener("click",p,!0),y.addEventListener("contextmenu",p,!0);var u=wr(t);return u&&(u.addEventListener("mousedown",M,!0),u.addEventListener("click",C,!0),u.addEventListener("contextmenu",C,!0)),function(){y.removeEventListener("mousedown",h,!0),y.removeEventListener("click",p,!0),y.removeEventListener("contextmenu",p,!0),u&&(u.removeEventListener("mousedown",M,!0),u.removeEventListener("click",C,!0),u.removeEventListener("contextmenu",C,!0))}}},[r,t,n,o,a])}var ho=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function mo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Vr,r=i.forwardRef(function(t,n){var o=t.prefixCls,a=o===void 0?"rc-trigger-popup":o,s=t.children,l=t.action,c=l===void 0?"hover":l,f=t.showAction,m=t.hideAction,v=t.popupVisible,w=t.defaultPopupVisible,h=t.onPopupVisibleChange,p=t.afterPopupVisibleChange,_=t.mouseEnterDelay,b=t.mouseLeaveDelay,M=b===void 0?.1:b,C=t.focusDelay,y=t.blurDelay,u=t.mask,$=t.maskClosable,W=$===void 0?!0:$,O=t.getPopupContainer,B=t.forceRender,U=t.autoDestroy,N=t.destroyPopupOnHide,I=t.popup,J=t.popupClassName,K=t.popupStyle,A=t.popupPlacement,oe=t.builtinPlacements,T=oe===void 0?{}:oe,k=t.popupAlign,P=t.zIndex,Z=t.stretch,x=t.getPopupClassNameFromAlign,ue=t.fresh,ae=t.alignPoint,Ve=t.onPopupClick,Oe=t.onPopupAlign,fe=t.arrow,ie=t.popupMotion,se=t.maskMotion,j=t.popupTransitionName,Q=t.popupAnimation,te=t.maskTransitionName,X=t.maskAnimation,Ee=t.className,He=t.getTriggerDOMNode,F=Ir(t,ho),ze=U||N||!1,ve=i.useState(!1),Y=L(ve,2),ge=Y[0],R=Y[1];Pe(function(){R(to())},[]);var Se=i.useRef({}),re=i.useContext(Tr),Xe=i.useMemo(function(){return{registerSubPopup:function(g,E){Se.current[g]=E,re==null||re.registerSubPopup(g,E)}}},[re]),V=dn(),ee=i.useState(null),be=L(ee,2),ye=be[0],Jt=be[1],Mt=Te(function(d){yr(d)&&ye!==d&&Jt(d),re==null||re.registerSubPopup(V,d)}),we=i.useState(null),de=L(we,2),Ce=de[0],Pt=de[1],St=i.useRef(null),Kt=Te(function(d){yr(d)&&Ce!==d&&(Pt(d),St.current=d)}),Ye=i.Children.only(s),le=(Ye==null?void 0:Ye.props)||{},De={},Xt=Te(function(d){var g,E,H=Ce;return(H==null?void 0:H.contains(d))||((g=wr(H))===null||g===void 0?void 0:g.host)===d||d===H||(ye==null?void 0:ye.contains(d))||((E=wr(ye))===null||E===void 0?void 0:E.host)===d||d===ye||Object.values(Se.current).some(function(z){return(z==null?void 0:z.contains(d))||d===z})}),Re=Er(a,ie,Q,j),ce=Er(a,se,X,te),Rt=i.useState(w||!1),ft=L(Rt,2),Le=ft[0],D=ft[1],S=v??Le,_e=Te(function(d){v===void 0&&D(d)});Pe(function(){D(v||!1)},[v]);var Me=i.useRef(S);Me.current=S;var Fe=i.useRef([]);Fe.current=[];var vt=Te(function(d){var g;_e(d),((g=Fe.current[Fe.current.length-1])!==null&&g!==void 0?g:S)!==d&&(Fe.current.push(d),h==null||h(d))}),dt=i.useRef(),ht=function(){clearTimeout(dt.current)},ne=function(g){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;ht(),E===0?vt(g):dt.current=setTimeout(function(){vt(g)},E*1e3)};i.useEffect(function(){return ht},[]);var Yt=i.useState(!1),xt=L(Yt,2),et=xt[0],mt=xt[1];Pe(function(d){(!d||S)&&mt(!0)},[S]);var $t=i.useState(null),Ne=L($t,2),Ae=Ne[0],je=Ne[1],tt=i.useState([0,0]),gt=L(tt,2),bt=gt[0],qe=gt[1],Ge=function(g){qe([g.clientX,g.clientY])},er=uo(S,ye,ae?bt:Ce,A,T,k,Oe),G=L(er,11),kt=G[0],tr=G[1],Tt=G[2],Ot=G[3],Ue=G[4],Et=G[5],rr=G[6],Ze=G[7],zt=G[8],rt=G[9],xe=G[10],Qe=so(ge,c,f,m),nt=L(Qe,2),ot=nt[0],$e=nt[1],Dt=ot.has("click"),Je=$e.has("click")||$e.has("contextMenu"),We=Te(function(){et||xe()}),Lt=function(){Me.current&&ae&&Je&&ne(!1)};fo(S,Ce,ye,We,Lt),Pe(function(){We()},[bt,A]),Pe(function(){S&&!(T!=null&&T[A])&&We()},[JSON.stringify(k)]);var nr=i.useMemo(function(){var d=co(T,a,rt,ae);return pe(d,x==null?void 0:x(rt))},[rt,x,T,a,ae]);i.useImperativeHandle(n,function(){return{nativeElement:St.current,forceAlign:We}});var or=i.useState(0),Nt=L(or,2),ar=Nt[0],ir=Nt[1],sr=i.useState(0),At=L(sr,2),lr=At[0],cr=At[1],jt=function(){if(Z&&Ce){var g=Ce.getBoundingClientRect();ir(g.width),cr(g.height)}},ur=function(){jt(),We()},he=function(g){mt(!1),xe(),p==null||p(g)},Wt=function(){return new Promise(function(g){jt(),je(function(){return g})})};Pe(function(){Ae&&(xe(),Ae(),je(null))},[Ae]);function ke(d,g,E,H){De[d]=function(z){var It;H==null||H(z),ne(g,E);for(var mr=arguments.length,Sr=new Array(mr>1?mr-1:0),Vt=1;Vt<mr;Vt++)Sr[Vt-1]=arguments[Vt];(It=le[d])===null||It===void 0||It.call.apply(It,[le,z].concat(Sr))}}(Dt||Je)&&(De.onClick=function(d){var g;Me.current&&Je?ne(!1):!Me.current&&Dt&&(Ge(d),ne(!0));for(var E=arguments.length,H=new Array(E>1?E-1:0),z=1;z<E;z++)H[z-1]=arguments[z];(g=le.onClick)===null||g===void 0||g.call.apply(g,[le,d].concat(H))}),vo(S,Je,Ce,ye,u,W,Xt,ne);var Ke=ot.has("hover"),at=$e.has("hover"),it,yt;Ke&&(ke("onMouseEnter",!0,_,function(d){Ge(d)}),ke("onPointerEnter",!0,_,function(d){Ge(d)}),it=function(){(S||et)&&ne(!0,_)},ae&&(De.onMouseMove=function(d){var g;(g=le.onMouseMove)===null||g===void 0||g.call(le,d)})),at&&(ke("onMouseLeave",!1,M),ke("onPointerLeave",!1,M),yt=function(){ne(!1,M)}),ot.has("focus")&&ke("onFocus",!0,C),$e.has("focus")&&ke("onBlur",!1,y),ot.has("contextMenu")&&(De.onContextMenu=function(d){var g;Me.current&&$e.has("contextMenu")?ne(!1):(Ge(d),ne(!0)),d.preventDefault();for(var E=arguments.length,H=new Array(E>1?E-1:0),z=1;z<E;z++)H[z-1]=arguments[z];(g=le.onContextMenu)===null||g===void 0||g.call.apply(g,[le,d].concat(H))}),Ee&&(De.className=pe(le.className,Ee));var wt=q(q({},le),De),Bt={},fr=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];fr.forEach(function(d){F[d]&&(Bt[d]=function(){for(var g,E=arguments.length,H=new Array(E),z=0;z<E;z++)H[z]=arguments[z];(g=wt[d])===null||g===void 0||g.call.apply(g,[wt].concat(H)),F[d].apply(F,H)})});var vr=i.cloneElement(Ye,q(q({},wt),Bt)),dr={x:Et,y:rr},hr=fe?q({},fe!==!0?fe:{}):null;return i.createElement(i.Fragment,null,i.createElement(Pr,{disabled:!S,ref:Kt,onResize:ur},i.createElement(io,{getTriggerDOMNode:He},vr)),i.createElement(Tr.Provider,{value:Xe},i.createElement(ao,{portal:e,ref:Mt,prefixCls:a,popup:I,className:pe(J,nr),style:K,target:Ce,onMouseEnter:it,onMouseLeave:yt,onPointerEnter:it,zIndex:P,open:S,keepDom:et,fresh:ue,onClick:Ve,mask:u,motion:Re,maskMotion:ce,onVisibleChanged:he,onPrepare:Wt,forceRender:B,autoDestroy:ze,getPopupContainer:O,align:rt,arrow:hr,arrowPos:dr,ready:kt,offsetX:tr,offsetY:Tt,offsetR:Ot,offsetB:Ue,onAlign:We,stretch:Z,targetWidth:ar/Ze,targetHeight:lr/zt})))});return r}const go=mo(Vr);function Kr(e){var r=e.children,t=e.prefixCls,n=e.id,o=e.overlayInnerStyle,a=e.className,s=e.style;return i.createElement("div",{className:pe("".concat(t,"-content"),a),style:s},i.createElement("div",{className:"".concat(t,"-inner"),id:n,role:"tooltip",style:o},typeof r=="function"?r():r))}var lt={shiftX:64,adjustY:1},ct={adjustX:1,shiftY:!0},me=[0,0],bo={left:{points:["cr","cl"],overflow:ct,offset:[-4,0],targetOffset:me},right:{points:["cl","cr"],overflow:ct,offset:[4,0],targetOffset:me},top:{points:["bc","tc"],overflow:lt,offset:[0,-4],targetOffset:me},bottom:{points:["tc","bc"],overflow:lt,offset:[0,4],targetOffset:me},topLeft:{points:["bl","tl"],overflow:lt,offset:[0,-4],targetOffset:me},leftTop:{points:["tr","tl"],overflow:ct,offset:[-4,0],targetOffset:me},topRight:{points:["br","tr"],overflow:lt,offset:[0,-4],targetOffset:me},rightTop:{points:["tl","tr"],overflow:ct,offset:[4,0],targetOffset:me},bottomRight:{points:["tr","br"],overflow:lt,offset:[0,4],targetOffset:me},rightBottom:{points:["bl","br"],overflow:ct,offset:[4,0],targetOffset:me},bottomLeft:{points:["tl","bl"],overflow:lt,offset:[0,4],targetOffset:me},leftBottom:{points:["br","bl"],overflow:ct,offset:[-4,0],targetOffset:me}},yo=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],wo=function(r,t){var n=r.overlayClassName,o=r.trigger,a=o===void 0?["hover"]:o,s=r.mouseEnterDelay,l=s===void 0?0:s,c=r.mouseLeaveDelay,f=c===void 0?.1:c,m=r.overlayStyle,v=r.prefixCls,w=v===void 0?"rc-tooltip":v,h=r.children,p=r.onVisibleChange,_=r.afterVisibleChange,b=r.transitionName,M=r.animation,C=r.motion,y=r.placement,u=y===void 0?"right":y,$=r.align,W=$===void 0?{}:$,O=r.destroyTooltipOnHide,B=O===void 0?!1:O,U=r.defaultVisible,N=r.getTooltipContainer,I=r.overlayInnerStyle;r.arrowContent;var J=r.overlay,K=r.id,A=r.showArrow,oe=A===void 0?!0:A,T=Ir(r,yo),k=i.useRef(null);i.useImperativeHandle(t,function(){return k.current});var P=q({},T);"visible"in r&&(P.popupVisible=r.visible);var Z=function(){return i.createElement(Kr,{key:"content",prefixCls:w,id:K,overlayInnerStyle:I},J)};return i.createElement(go,Zt({popupClassName:n,prefixCls:w,popup:Z,action:a,builtinPlacements:bo,popupPlacement:u,ref:k,popupAlign:W,getPopupContainer:N,onPopupVisibleChange:p,afterPopupVisibleChange:_,popupTransitionName:b,popupAnimation:M,popupMotion:C,defaultPopupVisible:U,autoDestroy:B,mouseLeaveDelay:f,popupStyle:m,mouseEnterDelay:l,arrow:oe},P),h)};const po=i.forwardRef(wo);function Co(e){const{sizePopupArrow:r,borderRadiusXS:t,borderRadiusOuter:n}=e,o=r/2,a=0,s=o,l=n*1/Math.sqrt(2),c=o-n*(1-1/Math.sqrt(2)),f=o-t*(1/Math.sqrt(2)),m=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),v=2*o-f,w=m,h=2*o-l,p=c,_=2*o-a,b=s,M=o*Math.sqrt(2)+n*(Math.sqrt(2)-2),C=n*(Math.sqrt(2)-1),y=`polygon(${C}px 100%, 50% ${C}px, ${2*o-C}px 100%, ${C}px 100%)`,u=`path('M ${a} ${s} A ${n} ${n} 0 0 0 ${l} ${c} L ${f} ${m} A ${t} ${t} 0 0 1 ${v} ${w} L ${h} ${p} A ${n} ${n} 0 0 0 ${_} ${b} Z')`;return{arrowShadowWidth:M,arrowPath:u,arrowPolygon:y}}const _o=(e,r,t)=>{const{sizePopupArrow:n,arrowPolygon:o,arrowPath:a,arrowShadowWidth:s,borderRadiusXS:l,calc:c}=e;return{pointerEvents:"none",width:n,height:n,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:n,height:c(n).div(2).equal(),background:r,clipPath:{_multi_value_:!0,value:[o,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:s,height:s,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${pr(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:t,zIndex:0,background:"transparent"}}},Xr=8;function Yr(e){const{contentRadius:r,limitVerticalRadius:t}=e,n=r>12?r+2:12;return{arrowOffsetHorizontal:n,arrowOffsetVertical:t?Xr:n}}function Ht(e,r){return e?r:{}}function Mo(e,r,t){const{componentCls:n,boxShadowPopoverArrow:o,arrowOffsetVertical:a,arrowOffsetHorizontal:s}=e,{arrowDistance:l=0,arrowPlacement:c={left:!0,right:!0,top:!0,bottom:!0}}=t||{};return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({[`${n}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},_o(e,r,o)),{"&:before":{background:r}})]},Ht(!!c.top,{[[`&-placement-top > ${n}-arrow`,`&-placement-topLeft > ${n}-arrow`,`&-placement-topRight > ${n}-arrow`].join(",")]:{bottom:l,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${n}-arrow`]:{left:{_skip_check_:!0,value:s}},[`&-placement-topRight > ${n}-arrow`]:{right:{_skip_check_:!0,value:s}}})),Ht(!!c.bottom,{[[`&-placement-bottom > ${n}-arrow`,`&-placement-bottomLeft > ${n}-arrow`,`&-placement-bottomRight > ${n}-arrow`].join(",")]:{top:l,transform:"translateY(-100%)"},[`&-placement-bottom > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft > ${n}-arrow`]:{left:{_skip_check_:!0,value:s}},[`&-placement-bottomRight > ${n}-arrow`]:{right:{_skip_check_:!0,value:s}}})),Ht(!!c.left,{[[`&-placement-left > ${n}-arrow`,`&-placement-leftTop > ${n}-arrow`,`&-placement-leftBottom > ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:l},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${n}-arrow`]:{top:a},[`&-placement-leftBottom > ${n}-arrow`]:{bottom:a}})),Ht(!!c.right,{[[`&-placement-right > ${n}-arrow`,`&-placement-rightTop > ${n}-arrow`,`&-placement-rightBottom > ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:l},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${n}-arrow`]:{top:a},[`&-placement-rightBottom > ${n}-arrow`]:{bottom:a}}))}}function Po(e,r,t,n){if(n===!1)return{adjustX:!1,adjustY:!1};const o=n&&typeof n=="object"?n:{},a={};switch(e){case"top":case"bottom":a.shiftX=r.arrowOffsetHorizontal*2+t,a.shiftY=!0,a.adjustY=!0;break;case"left":case"right":a.shiftY=r.arrowOffsetVertical*2+t,a.shiftX=!0,a.adjustX=!0;break}const s=Object.assign(Object.assign({},a),o);return s.shiftX||(s.adjustX=!0),s.shiftY||(s.adjustY=!0),s}const Ar={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},So={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},Ro=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function xo(e){const{arrowWidth:r,autoAdjustOverflow:t,arrowPointAtCenter:n,offset:o,borderRadius:a,visibleFirst:s}=e,l=r/2,c={};return Object.keys(Ar).forEach(f=>{const m=n&&So[f]||Ar[f],v=Object.assign(Object.assign({},m),{offset:[0,0],dynamicInset:!0});switch(c[f]=v,Ro.has(f)&&(v.autoArrow=!1),f){case"top":case"topLeft":case"topRight":v.offset[1]=-l-o;break;case"bottom":case"bottomLeft":case"bottomRight":v.offset[1]=l+o;break;case"left":case"leftTop":case"leftBottom":v.offset[0]=-l-o;break;case"right":case"rightTop":case"rightBottom":v.offset[0]=l+o;break}const w=Yr({contentRadius:a,limitVerticalRadius:!0});if(n)switch(f){case"topLeft":case"bottomLeft":v.offset[0]=-w.arrowOffsetHorizontal-l;break;case"topRight":case"bottomRight":v.offset[0]=w.arrowOffsetHorizontal+l;break;case"leftTop":case"rightTop":v.offset[1]=-w.arrowOffsetHorizontal-l;break;case"leftBottom":case"rightBottom":v.offset[1]=w.arrowOffsetHorizontal+l;break}v.overflow=Po(f,w,r,t),s&&(v.htmlRegion="visibleFirst")}),c}const $o=e=>{const{componentCls:r,tooltipMaxWidth:t,tooltipColor:n,tooltipBg:o,tooltipBorderRadius:a,zIndexPopup:s,controlHeight:l,boxShadowSecondary:c,paddingSM:f,paddingXS:m}=e;return[{[r]:Object.assign(Object.assign(Object.assign(Object.assign({},gn(e)),{position:"absolute",zIndex:s,display:"block",width:"max-content",maxWidth:t,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${r}-inner`]:{minWidth:l,minHeight:l,padding:`${pr(e.calc(f).div(2).equal())} ${pr(m)}`,color:n,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:a,boxShadow:c,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${r}-inner`]:{borderRadius:e.min(a,Xr)}},[`${r}-content`]:{position:"relative"}}),eo(e,(v,w)=>{let{darkColor:h}=w;return{[`&${r}-${v}`]:{[`${r}-inner`]:{backgroundColor:h},[`${r}-arrow`]:{"--antd-arrow-background-color":h}}}})),{"&-rtl":{direction:"rtl"}})},Mo(e,"var(--antd-arrow-background-color)"),{[`${r}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},ko=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},Yr({contentRadius:e.borderRadius,limitVerticalRadius:!0})),Co(Hr(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),en=function(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return hn("Tooltip",n=>{const{borderRadius:o,colorTextLightSolid:a,colorBgSpotlight:s}=n,l=Hr(n,{tooltipMaxWidth:250,tooltipColor:a,tooltipBorderRadius:o,tooltipBg:s});return[$o(l),mn(n,"zoom-big-fast")]},ko,{resetStyle:!1,injectStyle:r})(e)},To=Ut.map(e=>`${e}-inverse`);function Oo(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(Ft(To),Ft(Ut)).includes(e):Ut.includes(e)}function tn(e,r){const t=Oo(r),n=pe({[`${e}-${r}`]:r&&t}),o={},a={};return r&&!t&&(o.background=r,a["--antd-arrow-background-color"]=r),{className:n,overlayStyle:o,arrowStyle:a}}const Eo=e=>{const{prefixCls:r,className:t,placement:n="top",title:o,color:a,overlayInnerStyle:s}=e,{getPrefixCls:l}=i.useContext(Fr),c=l("tooltip",r),[f,m,v]=en(c),w=tn(c,a),h=w.arrowStyle,p=Object.assign(Object.assign({},s),w.overlayStyle),_=pe(m,v,c,`${c}-pure`,`${c}-placement-${n}`,t,w.className);return f(i.createElement("div",{className:_,style:h},i.createElement("div",{className:`${c}-arrow`}),i.createElement(Kr,Object.assign({},e,{className:m,prefixCls:c,overlayInnerStyle:p}),o)))},zo=Eo;var Do=globalThis&&globalThis.__rest||function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]]);return t};const rn=i.forwardRef((e,r)=>{var t,n;const{prefixCls:o,openClassName:a,getTooltipContainer:s,overlayClassName:l,color:c,overlayInnerStyle:f,children:m,afterOpenChange:v,afterVisibleChange:w,destroyTooltipOnHide:h,arrow:p=!0,title:_,overlay:b,builtinPlacements:M,arrowPointAtCenter:C=!1,autoAdjustOverflow:y=!0}=e,u=!!p,[,$]=bn(),{getPopupContainer:W,getPrefixCls:O,direction:B}=i.useContext(Fr),U=Sn(),N=i.useRef(null),I=()=>{var V;(V=N.current)===null||V===void 0||V.forceAlign()};i.useImperativeHandle(r,()=>({forceAlign:I,forcePopupAlign:()=>{U.deprecated(!1,"forcePopupAlign","forceAlign"),I()}}));const[J,K]=Yn(!1,{value:(t=e.open)!==null&&t!==void 0?t:e.visible,defaultValue:(n=e.defaultOpen)!==null&&n!==void 0?n:e.defaultVisible}),A=!_&&!b&&_!==0,oe=V=>{var ee,be;K(A?!1:V),A||((ee=e.onOpenChange)===null||ee===void 0||ee.call(e,V),(be=e.onVisibleChange)===null||be===void 0||be.call(e,V))},T=i.useMemo(()=>{var V,ee;let be=C;return typeof p=="object"&&(be=(ee=(V=p.pointAtCenter)!==null&&V!==void 0?V:p.arrowPointAtCenter)!==null&&ee!==void 0?ee:C),M||xo({arrowPointAtCenter:be,autoAdjustOverflow:y,arrowWidth:u?$.sizePopupArrow:0,borderRadius:$.borderRadius,offset:$.marginXXS,visibleFirst:!0})},[C,p,M,$]),k=i.useMemo(()=>_===0?_:b||_||"",[b,_]),P=i.createElement(yn,null,typeof k=="function"?k():k),{getPopupContainer:Z,placement:x="top",mouseEnterDelay:ue=.1,mouseLeaveDelay:ae=.1,overlayStyle:Ve,rootClassName:Oe}=e,fe=Do(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),ie=O("tooltip",o),se=O(),j=e["data-popover-inject"];let Q=J;!("open"in e)&&!("visible"in e)&&A&&(Q=!1);const te=wn(m)&&!pn(m)?m:i.createElement("span",null,m),X=te.props,Ee=!X.className||typeof X.className=="string"?pe(X.className,a||`${ie}-open`):X.className,[He,F,ze]=en(ie,!j),ve=tn(ie,c),Y=ve.arrowStyle,ge=Object.assign(Object.assign({},f),ve.overlayStyle),R=pe(l,{[`${ie}-rtl`]:B==="rtl"},ve.className,Oe,F,ze),[Se,re]=Cn("Tooltip",fe.zIndex),Xe=i.createElement(po,Object.assign({},fe,{zIndex:Se,showArrow:u,placement:x,mouseEnterDelay:ue,mouseLeaveDelay:ae,prefixCls:ie,overlayClassName:R,overlayStyle:Object.assign(Object.assign({},Y),Ve),getTooltipContainer:Z||s||W,ref:N,builtinPlacements:T,overlay:P,visible:Q,onVisibleChange:oe,afterVisibleChange:v??w,overlayInnerStyle:ge,arrowContent:i.createElement("span",{className:`${ie}-arrow-content`}),motion:{motionName:_n(se,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!h}),Q?Mn(te,{className:Ee}):te);return He(i.createElement(Pn.Provider,{value:re},Xe))});rn._InternalPanelDoNotUseOrYouWillBeFired=zo;const No=rn;export{Ut as P,Pr as R,No as T,go as a,Yr as b,Co as c,xo as d,Kr as e,Mo as g,to as i,Yn as u};
static/assets/{index-07236b78.js β†’ index-16084821.js} RENAMED
@@ -1 +1 @@
1
- import{c as m,b as E,n as F,R as f,C as N,o as P}from"./index-911b15ef.js";import{i as p}from"./gapSize-a2278ff3.js";const x=["wrap","nowrap","wrap-reverse"],u=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],y=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],V=(e,n)=>{const l={};return x.forEach(t=>{l[`${e}-wrap-${t}`]=n.wrap===t}),l},I=(e,n)=>{const l={};return y.forEach(t=>{l[`${e}-align-${t}`]=n.align===t}),l[`${e}-align-stretch`]=!n.align&&!!n.vertical,l},T=(e,n)=>{const l={};return u.forEach(t=>{l[`${e}-justify-${t}`]=n.justify===t}),l};function W(e,n){return m(Object.assign(Object.assign(Object.assign({},V(e,n)),I(e,n)),T(e,n)))}const _=e=>{const{componentCls:n}=e;return{[n]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},L=e=>{const{componentCls:n}=e;return{[n]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},R=e=>{const{componentCls:n}=e,l={};return x.forEach(t=>{l[`${n}-wrap-${t}`]={flexWrap:t}}),l},z=e=>{const{componentCls:n}=e,l={};return y.forEach(t=>{l[`${n}-align-${t}`]={alignItems:t}}),l},A=e=>{const{componentCls:n}=e,l={};return u.forEach(t=>{l[`${n}-justify-${t}`]={justifyContent:t}}),l},D=()=>({}),J=E("Flex",e=>{const{paddingXS:n,padding:l,paddingLG:t}=e,s=F(e,{flexGapSM:n,flexGap:l,flexGapLG:t});return[_(s),L(s),R(s),z(s),A(s)]},D,{resetStyle:!1});var M=globalThis&&globalThis.__rest||function(e,n){var l={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(l[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,t=Object.getOwnPropertySymbols(e);s<t.length;s++)n.indexOf(t[s])<0&&Object.prototype.propertyIsEnumerable.call(e,t[s])&&(l[t[s]]=e[t[s]]);return l};const H=f.forwardRef((e,n)=>{const{prefixCls:l,rootClassName:t,className:s,style:d,flex:g,gap:o,children:C,vertical:c=!1,component:S="div"}=e,h=M(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:a,direction:b,getPrefixCls:j}=f.useContext(N),r=j("flex",l),[$,v,w]=J(r),O=c??(a==null?void 0:a.vertical),G=m(s,t,a==null?void 0:a.className,r,v,w,W(r,e),{[`${r}-rtl`]:b==="rtl",[`${r}-gap-${o}`]:p(o),[`${r}-vertical`]:O}),i=Object.assign(Object.assign({},a==null?void 0:a.style),d);return g&&(i.flex=g),o&&!p(o)&&(i.gap=o),$(f.createElement(S,Object.assign({ref:n,className:G,style:i},P(h,["justify","wrap","align"])),C))}),B=H;export{B as F};
 
1
+ import{c as m,b as E,n as F,R as f,C as N,o as P}from"./index-c062f015.js";import{i as p}from"./gapSize-a2278ff3.js";const x=["wrap","nowrap","wrap-reverse"],u=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],y=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],V=(e,n)=>{const l={};return x.forEach(t=>{l[`${e}-wrap-${t}`]=n.wrap===t}),l},I=(e,n)=>{const l={};return y.forEach(t=>{l[`${e}-align-${t}`]=n.align===t}),l[`${e}-align-stretch`]=!n.align&&!!n.vertical,l},T=(e,n)=>{const l={};return u.forEach(t=>{l[`${e}-justify-${t}`]=n.justify===t}),l};function W(e,n){return m(Object.assign(Object.assign(Object.assign({},V(e,n)),I(e,n)),T(e,n)))}const _=e=>{const{componentCls:n}=e;return{[n]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},L=e=>{const{componentCls:n}=e;return{[n]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},R=e=>{const{componentCls:n}=e,l={};return x.forEach(t=>{l[`${n}-wrap-${t}`]={flexWrap:t}}),l},z=e=>{const{componentCls:n}=e,l={};return y.forEach(t=>{l[`${n}-align-${t}`]={alignItems:t}}),l},A=e=>{const{componentCls:n}=e,l={};return u.forEach(t=>{l[`${n}-justify-${t}`]={justifyContent:t}}),l},D=()=>({}),J=E("Flex",e=>{const{paddingXS:n,padding:l,paddingLG:t}=e,s=F(e,{flexGapSM:n,flexGap:l,flexGapLG:t});return[_(s),L(s),R(s),z(s),A(s)]},D,{resetStyle:!1});var M=globalThis&&globalThis.__rest||function(e,n){var l={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(l[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,t=Object.getOwnPropertySymbols(e);s<t.length;s++)n.indexOf(t[s])<0&&Object.prototype.propertyIsEnumerable.call(e,t[s])&&(l[t[s]]=e[t[s]]);return l};const H=f.forwardRef((e,n)=>{const{prefixCls:l,rootClassName:t,className:s,style:d,flex:g,gap:o,children:C,vertical:c=!1,component:S="div"}=e,h=M(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:a,direction:b,getPrefixCls:j}=f.useContext(N),r=j("flex",l),[$,v,w]=J(r),O=c??(a==null?void 0:a.vertical),G=m(s,t,a==null?void 0:a.className,r,v,w,W(r,e),{[`${r}-rtl`]:b==="rtl",[`${r}-gap-${o}`]:p(o),[`${r}-vertical`]:O}),i=Object.assign(Object.assign({},a==null?void 0:a.style),d);return g&&(i.flex=g),o&&!p(o)&&(i.gap=o),$(f.createElement(S,Object.assign({ref:n,className:G,style:i},P(h,["justify","wrap","align"])),C))}),B=H;export{B as F};
static/assets/{index-03bbb574.js β†’ index-78e1e530.js} RENAMED
The diff for this file is too large to render. See raw diff
 
static/assets/{index-23dc4629.js β†’ index-be54f8cb.js} RENAMED
@@ -1,2 +1,2 @@
1
- var qe=(e,n,t)=>{if(!n.has(e))throw TypeError("Cannot "+t)};var u=(e,n,t)=>(qe(e,n,"read from private field"),t?t.call(e):n.get(e)),S=(e,n,t)=>{if(n.has(e))throw TypeError("Cannot add the same private member more than once");n instanceof WeakSet?n.add(e):n.set(e,t)},W=(e,n,t,r)=>(qe(e,n,"write to private field"),r?r.call(e,t):n.set(e,t),t);var $e=(e,n,t,r)=>({set _(o){W(e,n,o,t)},get _(){return u(e,n,r)}}),ee=(e,n,t)=>(qe(e,n,"access private method"),t);import{r as _,p as Xt,q as Kt,c as H,s as vn,_ as Qt,K as bn,b as Zt,n as Jt,u as fe,v as er,w as nr,T as tr,C as rr,D as or,x as sr,W as ir,y as ar,R as we,k as De,z as ze,B as dn,j as m,E as He,l as Hn,m as be,F as cr,G as lr,H as dr,I as hr,J as ur,M as yn}from"./index-911b15ef.js";/* empty css */import{u as tn,s as fr,c as pr,g as mr,a as gr,b as Wn,d as wr,e as Se,f as hn,r as Un,N as Oe,H as Re,P as We,D as qn,M as Yn,C as Xn,h as Kn,T as Qn,A as Zn,B as Jn,i as et,j as nt,k as tt,l as rt,m as ot,n as st,o as vr,p as br,q as yr,E as kr,G as Er,t as it,v as Nr,w as at,x as ct,R as _r,y as xr,z as Cr,F as Ir,I as Sr,J as $r,K as jr,L as Tr}from"./stripPrefix-d6a1507e.js";import{g as lt,Z as Or,a as Lr,G as Pr}from"./routes-17d4ed4d.js";import{u as dt}from"./index-8976ce36.js";import{A as Mr,S as Br}from"./AILineageExplorerLogo-b3c24471.js";var Fr=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ht=_.forwardRef(function(e,n){var t,r=e.prefixCls,o=r===void 0?"rc-switch":r,s=e.className,i=e.checked,a=e.defaultChecked,c=e.disabled,l=e.loadingIcon,d=e.checkedChildren,h=e.unCheckedChildren,f=e.onClick,p=e.onChange,g=e.onKeyDown,v=Xt(e,Fr),w=dt(!1,{value:i,defaultValue:a}),y=Kt(w,2),b=y[0],k=y[1];function x(N,V){var T=b;return c||(T=N,k(T),p==null||p(T,V)),T}function L(N){N.which===bn.LEFT?x(!1,N):N.which===bn.RIGHT&&x(!0,N),g==null||g(N)}function E(N){var V=x(!b,N);f==null||f(V,N)}var P=H(o,s,(t={},vn(t,"".concat(o,"-checked"),b),vn(t,"".concat(o,"-disabled"),c),t));return _.createElement("button",Qt({},v,{type:"button",role:"switch","aria-checked":b,disabled:c,className:P,ref:n,onKeyDown:L,onClick:E}),l,_.createElement("span",{className:"".concat(o,"-inner")},_.createElement("span",{className:"".concat(o,"-inner-checked")},d),_.createElement("span",{className:"".concat(o,"-inner-unchecked")},h)))});ht.displayName="Switch";const Gr=e=>{const{componentCls:n,trackHeightSM:t,trackPadding:r,trackMinWidthSM:o,innerMinMarginSM:s,innerMaxMarginSM:i,handleSizeSM:a,calc:c}=e,l=`${n}-inner`,d=fe(c(a).add(c(r).mul(2)).equal()),h=fe(c(i).mul(2).equal());return{[n]:{[`&${n}-small`]:{minWidth:o,height:t,lineHeight:fe(t),[`${n}-inner`]:{paddingInlineStart:i,paddingInlineEnd:s,[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${h})`,marginInlineEnd:`calc(100% - ${d} + ${h})`},[`${l}-unchecked`]:{marginTop:c(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${n}-handle`]:{width:a,height:a},[`${n}-loading-icon`]:{top:c(c(a).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${n}-checked`]:{[`${n}-inner`]:{paddingInlineStart:s,paddingInlineEnd:i,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${h})`,marginInlineEnd:`calc(-100% + ${d} - ${h})`}},[`${n}-handle`]:{insetInlineStart:`calc(100% - ${fe(c(a).add(r).equal())})`}},[`&:not(${n}-disabled):active`]:{[`&:not(${n}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:c(e.marginXXS).div(2).equal(),marginInlineEnd:c(e.marginXXS).mul(-1).div(2).equal()}},[`&${n}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:c(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(e.marginXXS).div(2).equal()}}}}}}},Vr=e=>{const{componentCls:n,handleSize:t,calc:r}=e;return{[n]:{[`${n}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(t).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${n}-checked ${n}-loading-icon`]:{color:e.switchColor}}}},Rr=e=>{const{componentCls:n,trackPadding:t,handleBg:r,handleShadow:o,handleSize:s,calc:i}=e,a=`${n}-handle`;return{[n]:{[a]:{position:"absolute",top:t,insetInlineStart:t,width:s,height:s,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:i(s).div(2).equal(),boxShadow:o,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${n}-checked ${a}`]:{insetInlineStart:`calc(100% - ${fe(i(s).add(t).equal())})`},[`&:not(${n}-disabled):active`]:{[`${a}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${n}-checked ${a}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},Ar=e=>{const{componentCls:n,trackHeight:t,trackPadding:r,innerMinMargin:o,innerMaxMargin:s,handleSize:i,calc:a}=e,c=`${n}-inner`,l=fe(a(i).add(a(r).mul(2)).equal()),d=fe(a(s).mul(2).equal());return{[n]:{[c]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:s,paddingInlineEnd:o,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${c}-checked, ${c}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${l} - ${d})`,marginInlineEnd:`calc(100% - ${l} + ${d})`},[`${c}-unchecked`]:{marginTop:a(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${n}-checked ${c}`]:{paddingInlineStart:o,paddingInlineEnd:s,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${l} + ${d})`,marginInlineEnd:`calc(-100% + ${l} - ${d})`}},[`&:not(${n}-disabled):active`]:{[`&:not(${n}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:a(r).mul(2).equal(),marginInlineEnd:a(r).mul(-1).mul(2).equal()}},[`&${n}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:a(r).mul(-1).mul(2).equal(),marginInlineEnd:a(r).mul(2).equal()}}}}}},Dr=e=>{const{componentCls:n,trackHeight:t,trackMinWidth:r}=e;return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},er(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:t,lineHeight:`${fe(t)}`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${n}-disabled)`]:{background:e.colorTextTertiary}}),nr(e)),{[`&${n}-checked`]:{background:e.switchColor,[`&:hover:not(${n}-disabled)`]:{background:e.colorPrimaryHover}},[`&${n}-loading, &${n}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${n}-rtl`]:{direction:"rtl"}})}},zr=e=>{const{fontSize:n,lineHeight:t,controlHeight:r,colorWhite:o}=e,s=n*t,i=r/2,a=2,c=s-a*2,l=i-a*2;return{trackHeight:s,trackHeightSM:i,trackMinWidth:c*2+a*4,trackMinWidthSM:l*2+a*2,trackPadding:a,handleBg:o,handleSize:c,handleSizeSM:l,handleShadow:`0 2px 4px 0 ${new tr("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:c/2,innerMaxMargin:c+a+a*2,innerMinMarginSM:l/2,innerMaxMarginSM:l+a+a*2}},Hr=Zt("Switch",e=>{const n=Jt(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Dr(n),Ar(n),Rr(n),Vr(n),Gr(n)]},zr);var Wr=globalThis&&globalThis.__rest||function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t};const ut=_.forwardRef((e,n)=>{const{prefixCls:t,size:r,disabled:o,loading:s,className:i,rootClassName:a,style:c,checked:l,value:d,defaultChecked:h,defaultValue:f,onChange:p}=e,g=Wr(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[v,w]=dt(!1,{value:l??d,defaultValue:h??f}),{getPrefixCls:y,direction:b,switch:k}=_.useContext(rr),x=_.useContext(or),L=(o??x)||s,E=y("switch",t),P=_.createElement("div",{className:`${E}-handle`},s&&_.createElement(ar,{className:`${E}-loading-icon`})),[N,V,T]=Hr(E),oe=sr(r),pe=H(k==null?void 0:k.className,{[`${E}-small`]:oe==="small",[`${E}-loading`]:s,[`${E}-rtl`]:b==="rtl"},i,a,V,T),I=Object.assign(Object.assign({},k==null?void 0:k.style),c),O=function(){w(arguments.length<=0?void 0:arguments[0]),p==null||p.apply(void 0,arguments)};return N(_.createElement(ir,{component:"Switch"},_.createElement(ht,Object.assign({},g,{checked:v,onChange:O,prefixCls:E,className:pe,style:I,disabled:L,ref:n,loadingIcon:P}))))});ut.__ANT_SWITCH=!0;const Ur=ut;var Q;(function(e){e.Lines="lines",e.Dots="dots",e.Cross="cross"})(Q||(Q={}));function qr({color:e,dimensions:n,lineWidth:t}){return we.createElement("path",{stroke:e,strokeWidth:t,d:`M${n[0]/2} 0 V${n[1]} M0 ${n[1]/2} H${n[0]}`})}function Yr({color:e,radius:n}){return we.createElement("circle",{cx:n,cy:n,r:n,fill:e})}const Xr={[Q.Dots]:"#91919a",[Q.Lines]:"#eee",[Q.Cross]:"#e2e2e2"},Kr={[Q.Dots]:1,[Q.Lines]:1,[Q.Cross]:6},Qr=e=>({transform:e.transform,patternId:`pattern-${e.rfId}`});function ft({id:e,variant:n=Q.Dots,gap:t=20,size:r,lineWidth:o=1,offset:s=2,color:i,style:a,className:c}){const l=_.useRef(null),{transform:d,patternId:h}=tn(Qr,fr),f=i||Xr[n],p=r||Kr[n],g=n===Q.Dots,v=n===Q.Cross,w=Array.isArray(t)?t:[t,t],y=[w[0]*d[2]||1,w[1]*d[2]||1],b=p*d[2],k=v?[b,b]:y,x=g?[b/s,b/s]:[k[0]/s,k[1]/s];return we.createElement("svg",{className:pr(["react-flow__background",c]),style:{...a,position:"absolute",width:"100%",height:"100%",top:0,left:0},ref:l,"data-testid":"rf__background"},we.createElement("pattern",{id:h+e,x:d[0]%y[0],y:d[1]%y[1],width:y[0],height:y[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${x[0]},-${x[1]})`},g?we.createElement(Yr,{color:f,radius:b/s}):we.createElement(qr,{dimensions:k,color:f,lineWidth:o})),we.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${h+e})`}))}ft.displayName="Background";var Zr=_.memo(ft);async function Jr(e,n){e||(e="ClimateGPT-13B"),Wn(e);const t=`${mr()}/${n}`,r=await fetch(t,{});return r.status===404||r.status===401?{nodes:[],edges:[]}:(await r.json()).graph}async function eo(e,n){Wn(e);const t=`${gr()}/${n}`,r=await fetch(t,{});return r.status===404||r.status===401?{nodes:[],edges:[]}:(await r.json()).graph}const no="_container_icmxu_8",to="_topBar_icmxu_19",ro="_vcModeOn_icmxu_32",oo="_labelContainer_icmxu_36",so="_nodeType_icmxu_41",io="_nodeLabel_icmxu_47",ao="_nodeTypeLarge_icmxu_54",co="_topBarIsVCUnknown_icmxu_68",lo="_bottomBarIsVCUnknown_icmxu_70",ho="_topBarIsVCNone_icmxu_73",uo="_bottomBarIsVCNone_icmxu_77",fo="_zoomedOutFar_icmxu_82",po="_icon_icmxu_82",mo="_badge_icmxu_87",go="_iconContainer_icmxu_94",wo="_vcNone_icmxu_105",vo="_containerIsPill_icmxu_119",bo="_displayType_icmxu_123",yo="_displayTypeZoomed_icmxu_127",ko="_bottomBar_icmxu_70",Eo="_clickableArea_icmxu_142",No="_flex_icmxu_145",_o="_benchmark_icmxu_149",xo="_active_icmxu_174",Co="_benchmarkVc_icmxu_179",Io="_benchmarkNone_icmxu_182",So="_vcTrusted_icmxu_191",$o="_vcUntrusted_icmxu_193",jo="_vcUnknown_icmxu_195",C={"selected-node":"_selected-node_icmxu_5",container:no,topBar:to,vcModeOn:ro,labelContainer:oo,nodeType:so,nodeLabel:io,nodeTypeLarge:ao,topBarIsVCUnknown:co,bottomBarIsVCUnknown:lo,topBarIsVCNone:ho,bottomBarIsVCNone:uo,zoomedOutFar:fo,icon:po,badge:mo,iconContainer:go,vcNone:wo,containerIsPill:vo,displayType:bo,displayTypeZoomed:yo,bottomBar:ko,clickableArea:Eo,flex:No,benchmark:_o,active:xo,benchmarkVc:Co,benchmarkNone:Io,vcTrusted:So,vcUntrusted:$o,vcUnknown:jo},To={DataIcon:qn,ModelIcon:Yn,ComputationIcon:Xn,DocumentIcon:Kn,TokenIcon:Qn,AttributionIcon:Zn,BenchmarkIcon:Jn,Benchmark_resultIcon:et,CertificateIcon:nt,CodeIcon:tt,DatabaseIcon:rt,DatasetIcon:ot,Media_fileIcon:st},Oo=e=>To[e]||null,Lo=({top:e,bottom:n})=>({"--node-color-top":e,"--node-color-bottom":n}),Po=e=>e.transform[2]>=Or,Mo=e=>e.transform[2]>=Lr,Bo=({id:e,data:n})=>{const{nodeColor:t,label:r,icon:o,sourcePosition:s,displayType:i,typeLabel:a,governanceNodes:c,isSourceForConnection:l,isTargetForConnection:d,benchmarks:h}=n;wr();const f=De(),p=ze(),[g,v]=dn(),w=p.nodeCid,{graphState:y,vcsToGraph:b,governanceFilter:k,setGovernanceFilter:x,sinks:L,activeSink:E}=Se(M=>({graphState:M.graphState,vcsToGraph:M.vcsToGraph,governanceFilter:M.governanceFilter,setGovernanceFilter:M.setGovernanceFilter,sinks:M.sinks,activeSink:M.activeSink})),P=E?L[E]:null,N=P?P.nodes.has(e)||E===e:!1,V=new Map(h==null?void 0:h.map(M=>[M.id,hn(M.id,b)])),T=Un(Array.from(V.values())),oe=h?h.find(M=>M.id===w):!1,pe=M=>{let de=1;return P&&!w&&(de=N?1:.1),P&&w&&(P.nodes.has(w)||E===w?N?oe?de=1:de=.5:de=.1:de=oe?1:.1),!P&&w&&(de=oe?1:.1),k?{opacity:k.find(qt=>c.some(Yt=>Yt.id===qt))?1:.2}:{opacity:de}},I={"vc-off":{top:t,bottom:"white"},"vc-on":{top:Oe[T],bottom:Oe[T]}},O=y==="vc-on",J={...Lo(I[y])},R=H(C.container,{[C.vcModeOn]:O,[C.vcTrusted]:O&&T==="trusted",[C.vcUntrusted]:O&&T==="untrusted",[C.vcUnknown]:O&&T==="unknown",[C.vcNone]:O&&T==="none"}),se=H(C.topBar,{[C.topBarIsVCUnknown]:T==="unknown"&&y==="vc-on",[C.topBarIsVCNone]:T==="none"&&y==="vc-on"}),$=H(C.bottomBar,{[C.bottomBarIsVCUnknown]:T==="unknown"&&y==="vc-on",[C.bottomBarIsVCNone]:T==="none"&&y==="vc-on"});H(C.zoomedOut,{});const j=Oo(o),Y=r.replace(/.{1,20}/g,`$&
2
  `);_.useEffect(()=>{w&&x(null)},[w]);const X={top:"30px"},D=tn(Po);tn(Mo);const[me,wn]=_.useState(!0);return m.jsxs(He.div,{style:J,className:R,animate:{...pe()},initial:{opacity:0},transition:{duration:1},children:[m.jsxs("div",{className:C.clickableArea,children:[m.jsxs("div",{className:se,children:[m.jsx("span",{className:C.iconContainer,children:j&&m.jsx(j,{className:C.icon})}),m.jsxs("div",{className:C.labelContainer,children:[m.jsx("div",{className:C.nodeType,style:{visibility:D?"visible":"hidden"},children:i}),m.jsx("div",{className:C.nodeLabel,style:{visibility:D?"visible":"hidden"},children:Y}),m.jsx("div",{className:C.nodeTypeLarge,style:{display:D?"none":"flex"},children:i})]})]}),m.jsx("div",{className:$,style:{display:me?"block":"none"},children:h==null?void 0:h.map((M,de)=>{const ke=V.get(M.id);return m.jsx("div",{"data-benchmark":M.id,style:{"--node-color-top":O?Oe[ke]:t},className:H(C.benchmark,{[C.active]:w===M.id,[C.benchmarkVc]:O,[C.benchmarkTrusted]:O&&ke==="trusted",[C.benchmarkUntrusted]:O&&ke==="untrusted",[C.benchmarkUnknown]:O&&ke==="unknown",[C.benchmarkNone]:O&&ke==="none"}),onClick:()=>{w!==M.id&&f(lt(`${p.owner}/${p.repo}`)+"/"+M.id+`?${g.toString()}`)},children:M.data.label},M.id)})})]}),d&&m.jsx(Re,{type:"target",position:We.Left,id:"left",style:X}),l&&m.jsx(Re,{type:"source",position:s,id:"source",style:X})]})},Fo=_.memo(Bo),Go="_edge_1ljkl_4",Vo="_icon_1ljkl_9",Ro="_iconVisible_1ljkl_16",Ao={edge:Go,icon:Vo,iconVisible:Ro};function Do(e){var x,L,E,P;const n=ze(),{governanceFilter:t,graphState:r,sinks:o,activeSink:s,getNodeFromFullGraph:i}=Se(N=>({governanceFilter:N.governanceFilter,graphState:N.graphState,sinks:N.sinks,activeSink:N.activeSink,getNodeFromFullGraph:N.getNodeFromFullGraph})),a=s?o[s]:null,c=a?a.edges.has(e.id)||s===e.id:!1;let l=n.nodeCid;if(l){const N=i(l);l=(x=N==null?void 0:N.data.model)!=null&&x.id?`${N.data.model.id}-benchmarks`:l}const[d]=vr(e),{vcsToGraph:h}=Se(N=>({vcsToGraph:N.vcsToGraph}));let f=br(e.id,h);if((L=e.data)!=null&&L.benchmarks){const N=new Map(e.data.benchmarks.map(V=>[V,hn(V,h)]));f=Un(Array.from(N.values()))}const p=r==="vc-on",g=p?kr[f]:"#475569",v={...e.style},w=t,y=((P=(E=e.data)==null?void 0:E.benchmarks)==null?void 0:P.includes(l))||l===e.target||l===e.source,b=l&&!y||w;v.stroke=g,f==="none"&&p&&(v.strokeDasharray="5");let k=1;return a&&!l&&(k=c?1:.05),a&&l&&(a.nodes.has(l)||s==l?c?y?k=1:k=.5:k=.05:k=b?.05:1),!a&&l&&(k=b?.05:1),w&&(k=.05),m.jsx(He.g,{className:Ao.edge,animate:{opacity:k},initial:{opacity:0},transition:{duration:1},children:m.jsx(yr,{path:d,style:v})})}const zo="_container_mx72m_1",Ho="_dim_mx72m_9",Wo="_sidebar_mx72m_12",Uo="_switchContainer_mx72m_21",qo="_modelFilterContainer_mx72m_32",Yo="_graphNameHeader_mx72m_40",Xo="_graphNameHeaderImg_mx72m_63",je={container:zo,dim:Ho,sidebar:Wo,switchContainer:Uo,modelFilterContainer:qo,graphNameHeader:Yo,graphNameHeaderImg:Xo},Ko="_legendContainer_132y0_1",Qo="_switchContainer_132y0_18",Zo="_isActive_132y0_34",Jo="_clipContainer_132y0_38",es="_contentContainer_132y0_42",ns="_icon_132y0_56",ts="_iconLabel_132y0_60",rs="_icons_132y0_70",os="_switchLabel_132y0_83",B={legendContainer:Ko,switchContainer:Qo,isActive:Zo,clipContainer:Jo,contentContainer:es,icon:ns,iconLabel:ts,icons:rs,switchLabel:os},ss=({className:e})=>m.jsx("svg",{className:`${e}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:m.jsx("circle",{cx:"16",cy:"16",r:"16",fill:"#26D958"})}),is=({className:e})=>m.jsx("svg",{className:`${e}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 33 33",children:m.jsx("circle",{cx:"16.3206",cy:"16",r:"15",fill:"white",stroke:"#475569",strokeWidth:"2",strokeDasharray:"15 5"})}),as=({className:e})=>m.jsx("svg",{className:`${e}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 33",children:m.jsx("circle",{cx:"16",cy:"16.5285",r:"16",fill:"#E2E8F0"})}),cs=({className:e})=>m.jsx("svg",{className:`${e}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 33",children:m.jsx("circle",{cx:"16",cy:"16.9263",r:"16",fill:"#FF6682"})}),ls=({selected:e,onClick:n})=>{const t=H(B.legendContainer,{[B.isActive]:e});return H(B.pill,{[B.isActive]:!0}),H(B.secondLabel,{[B.secondLabelActive]:e}),m.jsxs(m.Fragment,{children:[m.jsx("div",{className:t,children:m.jsxs("div",{className:B.icons,children:[m.jsxs("span",{className:B.iconLabel,children:["Trusted",m.jsx(ss,{className:B.icon})]}),m.jsxs("span",{className:B.iconLabel,children:["Untrusted ",m.jsx(cs,{className:B.icon})]}),m.jsxs("span",{className:B.iconLabel,children:["Unknown ",m.jsx(as,{className:B.icon})]}),m.jsxs("span",{className:B.iconLabel,children:["None ",m.jsx(is,{className:B.icon})]})]})}),m.jsxs("div",{className:B.switchContainer,children:[m.jsx("div",{className:B.clipContainer,children:m.jsx("div",{className:B.contentContainer,children:m.jsx("span",{className:B.switchLabel,children:"Verified Certificate View"})})}),m.jsx(Hn,{theme:{components:{Switch:{handleSize:8,trackPadding:5,trackHeight:18,trackMinWidth:33,colorPrimary:be.darkBlue,colorTextQuaternary:"#CECECF",colorPrimaryBorder:"rgb(0, 0, 0)",colorPrimaryHover:be.violet,handleBg:"rgb(255, 255, 255)",colorTextTertiary:"rgba(30, 30, 30, 0.45)",colorText:"rgba(110, 110, 110, 0.88)",colorTextLightSolid:"rgb(225, 225, 225)",colorWhite:"rgb(255, 255, 255)",opacityLoading:1}}},children:m.jsx(Ur,{defaultChecked:e,onChange:n})})]})]})},ds="_container_1e22t_5",hs="_topBar_1e22t_18",us="_vcModeOn_1e22t_35",fs="_selectedNode_1e22t_41",ps="_topBarIsVCNone_1e22t_45",ms="_bottomBarIsVCUnknown_1e22t_49",gs="_bottomBarIsVCNone_1e22t_56",ws="_badge_1e22t_65",vs="_iconContainer_1e22t_73",bs="_icon_1e22t_73",ys="_clickableArea_1e22t_94",ks="_flex_1e22t_100",ne={container:ds,topBar:hs,vcModeOn:us,selectedNode:fs,topBarIsVCNone:ps,bottomBarIsVCUnknown:ms,bottomBarIsVCNone:gs,badge:ws,iconContainer:vs,icon:bs,clickableArea:ys,flex:ks},Es={DataIcon:qn,ModelIcon:Yn,ComputationIcon:Xn,DocumentIcon:Kn,TokenIcon:Qn,AttributionIcon:Zn,BenchmarkIcon:Jn,Benchmark_resultIcon:et,CertificateIcon:nt,CodeIcon:tt,DatabaseIcon:rt,DatasetIcon:ot,Media_fileIcon:st},Ns=e=>Es[e]||null,_s=({top:e,bottom:n})=>({"--node-color-top":e,"--node-color-bottom":n}),xs=({id:e,data:n})=>{const{nodeColor:t,icon:r,sourcePosition:o,governanceNodes:s,isSourceForConnection:i,isTargetForConnection:a}=n,c=De(),l=ze(),[d,h]=dn(),f=l.nodeCid,{graphState:p,vcsToGraph:g,governanceFilter:v,setGovernanceFilter:w,sinks:y,activeSink:b,getNodeFromFullGraph:k}=Se($=>({graphState:$.graphState,vcsToGraph:$.vcsToGraph,governanceFilter:$.governanceFilter,setGovernanceFilter:$.setGovernanceFilter,sinks:$.sinks,activeSink:$.activeSink,getNodeFromFullGraph:$.getNodeFromFullGraph})),x=b?y[b]:null,L=x?x.nodes.has(e)||b===e:!1,E=f===e,P=hn(e,g),N=$=>{var Y;let j=1;if(x&&!f&&(j=L?1:.1),x&&f){const X=k(f),D=(Y=X==null?void 0:X.data.model)!=null&&Y.id?`${X.data.model.id}-benchmarks`:f;x.nodes.has(D)||b===D?L?D===$?j=1:j=.5:j=.1:j=D!==$?.1:1}return!x&&f&&(j=f!==$?.1:1),v?{opacity:v.find(D=>s.some(me=>me.id===D))?1:.2}:{opacity:j}},V=$=>{$.altKey?h(j=>({...j,sourceNode:e})):E||c(lt(`${l.owner}/${l.repo}`)+"/"+e+`?${d.toString()}`)},T={"vc-off":{top:t,bottom:"white"},"vc-on":{top:Oe[P],bottom:Oe[P]}},oe={..._s(T[p])},pe=H(ne.container,{[ne.selectedNode]:E,[ne.vcModeOn]:p==="vc-on"}),I=H(ne.topBar,{[ne.topBarIsVCUnknown]:P==="unknown"&&p==="vc-on",[ne.topBarIsVCNone]:P==="none"&&p==="vc-on"}),O=Ns(r),J=$=>{const j=[...v||[]],Y=j.indexOf($);Y>-1?j.splice(Y,1):j.push($),j.length===0?w(null):w(j)},R=()=>{w(null)};_.useEffect(()=>{f&&w(null)},[f]);const se={top:"50%"};return m.jsxs(He.div,{style:oe,className:pe,animate:{...N(e)},initial:{opacity:0},transition:{duration:1},children:[m.jsx("div",{className:"popup-container"}),m.jsx("div",{className:ne.badge,children:s.length>0&&m.jsx(Er,{governanceNodes:s,onGovernanceSelect:J,onGovernanceClose:R,governanceFilter:v})}),m.jsx("div",{className:ne.clickableArea,onClick:V,children:m.jsx("div",{className:I,children:m.jsx("span",{className:ne.iconContainer,children:O&&m.jsx(O,{className:ne.icon})})})}),a&&m.jsx(Re,{type:"target",position:We.Left,id:"left",style:se}),i&&m.jsx(Re,{type:"source",position:o,id:"source",style:se})]})},Cs=_.memo(xs);var Is="\0",ge="\0",kn="",A,ve,z,Pe,Ne,_e,U,te,he,re,ue,ie,ae,xe,Ce,ce,K,Me,rn,Dn;let Ss=(Dn=class{constructor(n){S(this,Me);S(this,A,!0);S(this,ve,!1);S(this,z,!1);S(this,Pe,void 0);S(this,Ne,()=>{});S(this,_e,()=>{});S(this,U,{});S(this,te,{});S(this,he,{});S(this,re,{});S(this,ue,{});S(this,ie,{});S(this,ae,{});S(this,xe,0);S(this,Ce,0);S(this,ce,void 0);S(this,K,void 0);n&&(W(this,A,n.hasOwnProperty("directed")?n.directed:!0),W(this,ve,n.hasOwnProperty("multigraph")?n.multigraph:!1),W(this,z,n.hasOwnProperty("compound")?n.compound:!1)),u(this,z)&&(W(this,ce,{}),W(this,K,{}),u(this,K)[ge]={})}isDirected(){return u(this,A)}isMultigraph(){return u(this,ve)}isCompound(){return u(this,z)}setGraph(n){return W(this,Pe,n),this}graph(){return u(this,Pe)}setDefaultNodeLabel(n){return W(this,Ne,n),typeof n!="function"&&W(this,Ne,()=>n),this}nodeCount(){return u(this,xe)}nodes(){return Object.keys(u(this,U))}sources(){var n=this;return this.nodes().filter(t=>Object.keys(u(n,te)[t]).length===0)}sinks(){var n=this;return this.nodes().filter(t=>Object.keys(u(n,re)[t]).length===0)}setNodes(n,t){var r=arguments,o=this;return n.forEach(function(s){r.length>1?o.setNode(s,t):o.setNode(s)}),this}setNode(n,t){return u(this,U).hasOwnProperty(n)?(arguments.length>1&&(u(this,U)[n]=t),this):(u(this,U)[n]=arguments.length>1?t:u(this,Ne).call(this,n),u(this,z)&&(u(this,ce)[n]=ge,u(this,K)[n]={},u(this,K)[ge][n]=!0),u(this,te)[n]={},u(this,he)[n]={},u(this,re)[n]={},u(this,ue)[n]={},++$e(this,xe)._,this)}node(n){return u(this,U)[n]}hasNode(n){return u(this,U).hasOwnProperty(n)}removeNode(n){var t=this;if(u(this,U).hasOwnProperty(n)){var r=o=>t.removeEdge(u(t,ie)[o]);delete u(this,U)[n],u(this,z)&&(ee(this,Me,rn).call(this,n),delete u(this,ce)[n],this.children(n).forEach(function(o){t.setParent(o)}),delete u(this,K)[n]),Object.keys(u(this,te)[n]).forEach(r),delete u(this,te)[n],delete u(this,he)[n],Object.keys(u(this,re)[n]).forEach(r),delete u(this,re)[n],delete u(this,ue)[n],--$e(this,xe)._}return this}setParent(n,t){if(!u(this,z))throw new Error("Cannot set parent in a non-compound graph");if(t===void 0)t=ge;else{t+="";for(var r=t;r!==void 0;r=this.parent(r))if(r===n)throw new Error("Setting "+t+" as parent of "+n+" would create a cycle");this.setNode(t)}return this.setNode(n),ee(this,Me,rn).call(this,n),u(this,ce)[n]=t,u(this,K)[t][n]=!0,this}parent(n){if(u(this,z)){var t=u(this,ce)[n];if(t!==ge)return t}}children(n=ge){if(u(this,z)){var t=u(this,K)[n];if(t)return Object.keys(t)}else{if(n===ge)return this.nodes();if(this.hasNode(n))return[]}}predecessors(n){var t=u(this,he)[n];if(t)return Object.keys(t)}successors(n){var t=u(this,ue)[n];if(t)return Object.keys(t)}neighbors(n){var t=this.predecessors(n);if(t){const o=new Set(t);for(var r of this.successors(n))o.add(r);return Array.from(o.values())}}isLeaf(n){var t;return this.isDirected()?t=this.successors(n):t=this.neighbors(n),t.length===0}filterNodes(n){var t=new this.constructor({directed:u(this,A),multigraph:u(this,ve),compound:u(this,z)});t.setGraph(this.graph());var r=this;Object.entries(u(this,U)).forEach(function([i,a]){n(i)&&t.setNode(i,a)}),Object.values(u(this,ie)).forEach(function(i){t.hasNode(i.v)&&t.hasNode(i.w)&&t.setEdge(i,r.edge(i))});var o={};function s(i){var a=r.parent(i);return a===void 0||t.hasNode(a)?(o[i]=a,a):a in o?o[a]:s(a)}return u(this,z)&&t.nodes().forEach(i=>t.setParent(i,s(i))),t}setDefaultEdgeLabel(n){return W(this,_e,n),typeof n!="function"&&W(this,_e,()=>n),this}edgeCount(){return u(this,Ce)}edges(){return Object.values(u(this,ie))}setPath(n,t){var r=this,o=arguments;return n.reduce(function(s,i){return o.length>1?r.setEdge(s,i,t):r.setEdge(s,i),i}),this}setEdge(){var n,t,r,o,s=!1,i=arguments[0];typeof i=="object"&&i!==null&&"v"in i?(n=i.v,t=i.w,r=i.name,arguments.length===2&&(o=arguments[1],s=!0)):(n=i,t=arguments[1],r=arguments[3],arguments.length>2&&(o=arguments[2],s=!0)),n=""+n,t=""+t,r!==void 0&&(r=""+r);var a=Te(u(this,A),n,t,r);if(u(this,ae).hasOwnProperty(a))return s&&(u(this,ae)[a]=o),this;if(r!==void 0&&!u(this,ve))throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(t),u(this,ae)[a]=s?o:u(this,_e).call(this,n,t,r);var c=$s(u(this,A),n,t,r);return n=c.v,t=c.w,Object.freeze(c),u(this,ie)[a]=c,En(u(this,he)[t],n),En(u(this,ue)[n],t),u(this,te)[t][a]=c,u(this,re)[n][a]=c,$e(this,Ce)._++,this}edge(n,t,r){var o=arguments.length===1?Ye(u(this,A),arguments[0]):Te(u(this,A),n,t,r);return u(this,ae)[o]}edgeAsObj(){const n=this.edge(...arguments);return typeof n!="object"?{label:n}:n}hasEdge(n,t,r){var o=arguments.length===1?Ye(u(this,A),arguments[0]):Te(u(this,A),n,t,r);return u(this,ae).hasOwnProperty(o)}removeEdge(n,t,r){var o=arguments.length===1?Ye(u(this,A),arguments[0]):Te(u(this,A),n,t,r),s=u(this,ie)[o];return s&&(n=s.v,t=s.w,delete u(this,ae)[o],delete u(this,ie)[o],Nn(u(this,he)[t],n),Nn(u(this,ue)[n],t),delete u(this,te)[t][o],delete u(this,re)[n][o],$e(this,Ce)._--),this}inEdges(n,t){var r=u(this,te)[n];if(r){var o=Object.values(r);return t?o.filter(s=>s.v===t):o}}outEdges(n,t){var r=u(this,re)[n];if(r){var o=Object.values(r);return t?o.filter(s=>s.w===t):o}}nodeEdges(n,t){var r=this.inEdges(n,t);if(r)return r.concat(this.outEdges(n,t))}},A=new WeakMap,ve=new WeakMap,z=new WeakMap,Pe=new WeakMap,Ne=new WeakMap,_e=new WeakMap,U=new WeakMap,te=new WeakMap,he=new WeakMap,re=new WeakMap,ue=new WeakMap,ie=new WeakMap,ae=new WeakMap,xe=new WeakMap,Ce=new WeakMap,ce=new WeakMap,K=new WeakMap,Me=new WeakSet,rn=function(n){delete u(this,K)[u(this,ce)[n]][n]},Dn);function En(e,n){e[n]?e[n]++:e[n]=1}function Nn(e,n){--e[n]||delete e[n]}function Te(e,n,t,r){var o=""+n,s=""+t;if(!e&&o>s){var i=o;o=s,s=i}return o+kn+s+kn+(r===void 0?Is:r)}function $s(e,n,t,r){var o=""+n,s=""+t;if(!e&&o>s){var i=o;o=s,s=i}var a={v:o,w:s};return r&&(a.name=r),a}function Ye(e,n){return Te(e,n.v,n.w,n.name)}var un=Ss,js="2.1.13",Ts={Graph:un,version:js},Os=un,Ls={write:Ps,read:Fs};function Ps(e){var n={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:Ms(e),edges:Bs(e)};return e.graph()!==void 0&&(n.value=structuredClone(e.graph())),n}function Ms(e){return e.nodes().map(function(n){var t=e.node(n),r=e.parent(n),o={v:n};return t!==void 0&&(o.value=t),r!==void 0&&(o.parent=r),o})}function Bs(e){return e.edges().map(function(n){var t=e.edge(n),r={v:n.v,w:n.w};return n.name!==void 0&&(r.name=n.name),t!==void 0&&(r.value=t),r})}function Fs(e){var n=new Os(e.options).setGraph(e.value);return e.nodes.forEach(function(t){n.setNode(t.v,t.value),t.parent&&n.setParent(t.v,t.parent)}),e.edges.forEach(function(t){n.setEdge({v:t.v,w:t.w,name:t.name},t.value)}),n}var Gs=Vs;function Vs(e){var n={},t=[],r;function o(s){n.hasOwnProperty(s)||(n[s]=!0,r.push(s),e.successors(s).forEach(o),e.predecessors(s).forEach(o))}return e.nodes().forEach(function(s){r=[],o(s),r.length&&t.push(r)}),t}var G,le,Be,on,Fe,sn,Ie,Ve,zn;let Rs=(zn=class{constructor(){S(this,Be);S(this,Fe);S(this,Ie);S(this,G,[]);S(this,le,{})}size(){return u(this,G).length}keys(){return u(this,G).map(function(n){return n.key})}has(n){return u(this,le).hasOwnProperty(n)}priority(n){var t=u(this,le)[n];if(t!==void 0)return u(this,G)[t].priority}min(){if(this.size()===0)throw new Error("Queue underflow");return u(this,G)[0].key}add(n,t){var r=u(this,le);if(n=String(n),!r.hasOwnProperty(n)){var o=u(this,G),s=o.length;return r[n]=s,o.push({key:n,priority:t}),ee(this,Fe,sn).call(this,s),!0}return!1}removeMin(){ee(this,Ie,Ve).call(this,0,u(this,G).length-1);var n=u(this,G).pop();return delete u(this,le)[n.key],ee(this,Be,on).call(this,0),n.key}decrease(n,t){var r=u(this,le)[n];if(t>u(this,G)[r].priority)throw new Error("New priority is greater than current priority. Key: "+n+" Old: "+u(this,G)[r].priority+" New: "+t);u(this,G)[r].priority=t,ee(this,Fe,sn).call(this,r)}},G=new WeakMap,le=new WeakMap,Be=new WeakSet,on=function(n){var t=u(this,G),r=2*n,o=r+1,s=n;r<t.length&&(s=t[r].priority<t[s].priority?r:s,o<t.length&&(s=t[o].priority<t[s].priority?o:s),s!==n&&(ee(this,Ie,Ve).call(this,n,s),ee(this,Be,on).call(this,s)))},Fe=new WeakSet,sn=function(n){for(var t=u(this,G),r=t[n].priority,o;n!==0&&(o=n>>1,!(t[o].priority<r));)ee(this,Ie,Ve).call(this,n,o),n=o},Ie=new WeakSet,Ve=function(n,t){var r=u(this,G),o=u(this,le),s=r[n],i=r[t];r[n]=i,r[t]=s,o[i.key]=n,o[s.key]=t},zn);var pt=Rs,As=pt,mt=zs,Ds=()=>1;function zs(e,n,t,r){return Hs(e,String(n),t||Ds,r||function(o){return e.outEdges(o)})}function Hs(e,n,t,r){var o={},s=new As,i,a,c=function(l){var d=l.v!==i?l.v:l.w,h=o[d],f=t(l),p=a.distance+f;if(f<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+l+" Weight: "+f);p<h.distance&&(h.distance=p,h.predecessor=i,s.decrease(d,p))};for(e.nodes().forEach(function(l){var d=l===n?0:Number.POSITIVE_INFINITY;o[l]={distance:d},s.add(l,d)});s.size()>0&&(i=s.removeMin(),a=o[i],a.distance!==Number.POSITIVE_INFINITY);)r(i).forEach(c);return o}var Ws=mt,Us=qs;function qs(e,n,t){return e.nodes().reduce(function(r,o){return r[o]=Ws(e,o,n,t),r},{})}var gt=Ys;function Ys(e){var n=0,t=[],r={},o=[];function s(i){var a=r[i]={onStack:!0,lowlink:n,index:n++};if(t.push(i),e.successors(i).forEach(function(d){r.hasOwnProperty(d)?r[d].onStack&&(a.lowlink=Math.min(a.lowlink,r[d].index)):(s(d),a.lowlink=Math.min(a.lowlink,r[d].lowlink))}),a.lowlink===a.index){var c=[],l;do l=t.pop(),r[l].onStack=!1,c.push(l);while(i!==l);o.push(c)}}return e.nodes().forEach(function(i){r.hasOwnProperty(i)||s(i)}),o}var Xs=gt,Ks=Qs;function Qs(e){return Xs(e).filter(function(n){return n.length>1||n.length===1&&e.hasEdge(n[0],n[0])})}var Zs=ei,Js=()=>1;function ei(e,n,t){return ni(e,n||Js,t||function(r){return e.outEdges(r)})}function ni(e,n,t){var r={},o=e.nodes();return o.forEach(function(s){r[s]={},r[s][s]={distance:0},o.forEach(function(i){s!==i&&(r[s][i]={distance:Number.POSITIVE_INFINITY})}),t(s).forEach(function(i){var a=i.v===s?i.w:i.v,c=n(i);r[s][a]={distance:c,predecessor:s}})}),o.forEach(function(s){var i=r[s];o.forEach(function(a){var c=r[a];o.forEach(function(l){var d=c[s],h=i[l],f=c[l],p=d.distance+h.distance;p<f.distance&&(f.distance=p,f.predecessor=h.predecessor)})})}),r}function wt(e){var n={},t={},r=[];function o(s){if(t.hasOwnProperty(s))throw new an;n.hasOwnProperty(s)||(t[s]=!0,n[s]=!0,e.predecessors(s).forEach(o),delete t[s],r.push(s))}if(e.sinks().forEach(o),Object.keys(n).length!==e.nodeCount())throw new an;return r}class an extends Error{constructor(){super(...arguments)}}var vt=wt;wt.CycleException=an;var _n=vt,ti=ri;function ri(e){try{_n(e)}catch(n){if(n instanceof _n.CycleException)return!1;throw n}return!0}var bt=oi;function oi(e,n,t){Array.isArray(n)||(n=[n]);var r=e.isDirected()?a=>e.successors(a):a=>e.neighbors(a),o=t==="post"?si:ii,s=[],i={};return n.forEach(a=>{if(!e.hasNode(a))throw new Error("Graph does not have node: "+a);o(a,r,i,s)}),s}function si(e,n,t,r){for(var o=[[e,!1]];o.length>0;){var s=o.pop();s[1]?r.push(s[0]):t.hasOwnProperty(s[0])||(t[s[0]]=!0,o.push([s[0],!0]),yt(n(s[0]),i=>o.push([i,!1])))}}function ii(e,n,t,r){for(var o=[e];o.length>0;){var s=o.pop();t.hasOwnProperty(s)||(t[s]=!0,r.push(s),yt(n(s),i=>o.push(i)))}}function yt(e,n){for(var t=e.length;t--;)n(e[t],t,e);return e}var ai=bt,ci=li;function li(e,n){return ai(e,n,"post")}var di=bt,hi=ui;function ui(e,n){return di(e,n,"pre")}var fi=un,pi=pt,mi=gi;function gi(e,n){var t=new fi,r={},o=new pi,s;function i(c){var l=c.v===s?c.w:c.v,d=o.priority(l);if(d!==void 0){var h=n(c);h<d&&(r[l]=s,o.decrease(l,h))}}if(e.nodeCount()===0)return t;e.nodes().forEach(function(c){o.add(c,Number.POSITIVE_INFINITY),t.setNode(c)}),o.decrease(e.nodes()[0],0);for(var a=!1;o.size()>0;){if(s=o.removeMin(),r.hasOwnProperty(s))t.setEdge(s,r[s]);else{if(a)throw new Error("Input graph is not connected: "+e);a=!0}e.nodeEdges(s).forEach(i)}return t}var wi={components:Gs,dijkstra:mt,dijkstraAll:Us,findCycles:Ks,floydWarshall:Zs,isAcyclic:ti,postorder:ci,preorder:hi,prim:mi,tarjan:gt,topsort:vt},xn=Ts,Z={Graph:xn.Graph,json:Ls,alg:wi,version:xn.version};let vi=class{constructor(){let n={};n._next=n._prev=n,this._sentinel=n}dequeue(){let n=this._sentinel,t=n._prev;if(t!==n)return Cn(t),t}enqueue(n){let t=this._sentinel;n._prev&&n._next&&Cn(n),n._next=t._next,t._next._prev=n,t._next=n,n._prev=t}toString(){let n=[],t=this._sentinel,r=t._prev;for(;r!==t;)n.push(JSON.stringify(r,bi)),r=r._prev;return"["+n.join(", ")+"]"}};function Cn(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function bi(e,n){if(e!=="_next"&&e!=="_prev")return n}var yi=vi;let ki=Z.Graph,Ei=yi;var Ni=xi;let _i=()=>1;function xi(e,n){if(e.nodeCount()<=1)return[];let t=Ii(e,n||_i);return Ci(t.graph,t.buckets,t.zeroIdx).flatMap(o=>e.outEdges(o.v,o.w))}function Ci(e,n,t){let r=[],o=n[n.length-1],s=n[0],i;for(;e.nodeCount();){for(;i=s.dequeue();)Xe(e,n,t,i);for(;i=o.dequeue();)Xe(e,n,t,i);if(e.nodeCount()){for(let a=n.length-2;a>0;--a)if(i=n[a].dequeue(),i){r=r.concat(Xe(e,n,t,i,!0));break}}}return r}function Xe(e,n,t,r,o){let s=o?[]:void 0;return e.inEdges(r.v).forEach(i=>{let a=e.edge(i),c=e.node(i.v);o&&s.push({v:i.v,w:i.w}),c.out-=a,cn(n,t,c)}),e.outEdges(r.v).forEach(i=>{let a=e.edge(i),c=i.w,l=e.node(c);l.in-=a,cn(n,t,l)}),e.removeNode(r.v),s}function Ii(e,n){let t=new ki,r=0,o=0;e.nodes().forEach(a=>{t.setNode(a,{v:a,in:0,out:0})}),e.edges().forEach(a=>{let c=t.edge(a.v,a.w)||0,l=n(a),d=c+l;t.setEdge(a.v,a.w,d),o=Math.max(o,t.node(a.v).out+=l),r=Math.max(r,t.node(a.w).in+=l)});let s=Si(o+r+3).map(()=>new Ei),i=r+1;return t.nodes().forEach(a=>{cn(s,i,t.node(a))}),{graph:t,buckets:s,zeroIdx:i}}function cn(e,n,t){t.out?t.in?e[t.out-t.in+n].enqueue(t):e[e.length-1].enqueue(t):e[0].enqueue(t)}function Si(e){const n=[];for(let t=0;t<e;t++)n.push(t);return n}let kt=Z.Graph;var F={addBorderNode:Fi,addDummyNode:Et,asNonCompoundGraph:ji,buildLayerMatrix:Pi,intersectRect:Li,mapValues:zi,maxRank:Nt,normalizeRanks:Mi,notime:Ri,partition:Gi,pick:Di,predecessorWeights:Oi,range:xt,removeEmptyRanks:Bi,simplify:$i,successorWeights:Ti,time:Vi,uniqueId:_t,zipObject:fn};function Et(e,n,t,r){let o;do o=_t(r);while(e.hasNode(o));return t.dummy=n,e.setNode(o,t),o}function $i(e){let n=new kt().setGraph(e.graph());return e.nodes().forEach(t=>n.setNode(t,e.node(t))),e.edges().forEach(t=>{let r=n.edge(t.v,t.w)||{weight:0,minlen:1},o=e.edge(t);n.setEdge(t.v,t.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})}),n}function ji(e){let n=new kt({multigraph:e.isMultigraph()}).setGraph(e.graph());return e.nodes().forEach(t=>{e.children(t).length||n.setNode(t,e.node(t))}),e.edges().forEach(t=>{n.setEdge(t,e.edge(t))}),n}function Ti(e){let n=e.nodes().map(t=>{let r={};return e.outEdges(t).forEach(o=>{r[o.w]=(r[o.w]||0)+e.edge(o).weight}),r});return fn(e.nodes(),n)}function Oi(e){let n=e.nodes().map(t=>{let r={};return e.inEdges(t).forEach(o=>{r[o.v]=(r[o.v]||0)+e.edge(o).weight}),r});return fn(e.nodes(),n)}function Li(e,n){let t=e.x,r=e.y,o=n.x-t,s=n.y-r,i=e.width/2,a=e.height/2;if(!o&&!s)throw new Error("Not possible to find intersection inside of the rectangle");let c,l;return Math.abs(s)*i>Math.abs(o)*a?(s<0&&(a=-a),c=a*o/s,l=a):(o<0&&(i=-i),c=i,l=i*s/o),{x:t+c,y:r+l}}function Pi(e){let n=xt(Nt(e)+1).map(()=>[]);return e.nodes().forEach(t=>{let r=e.node(t),o=r.rank;o!==void 0&&(n[o][r.order]=t)}),n}function Mi(e){let n=Math.min(...e.nodes().map(t=>{let r=e.node(t).rank;return r===void 0?Number.MAX_VALUE:r}));e.nodes().forEach(t=>{let r=e.node(t);r.hasOwnProperty("rank")&&(r.rank-=n)})}function Bi(e){let n=Math.min(...e.nodes().map(s=>e.node(s).rank)),t=[];e.nodes().forEach(s=>{let i=e.node(s).rank-n;t[i]||(t[i]=[]),t[i].push(s)});let r=0,o=e.graph().nodeRankFactor;Array.from(t).forEach((s,i)=>{s===void 0&&i%o!==0?--r:s!==void 0&&r&&s.forEach(a=>e.node(a).rank+=r)})}function Fi(e,n,t,r){let o={width:0,height:0};return arguments.length>=4&&(o.rank=t,o.order=r),Et(e,"border",o,n)}function Nt(e){return Math.max(...e.nodes().map(n=>{let t=e.node(n).rank;return t===void 0?Number.MIN_VALUE:t}))}function Gi(e,n){let t={lhs:[],rhs:[]};return e.forEach(r=>{n(r)?t.lhs.push(r):t.rhs.push(r)}),t}function Vi(e,n){let t=Date.now();try{return n()}finally{console.log(e+" time: "+(Date.now()-t)+"ms")}}function Ri(e,n){return n()}let Ai=0;function _t(e){var n=++Ai;return toString(e)+n}function xt(e,n,t=1){n==null&&(n=e,e=0);let r=s=>s<n;t<0&&(r=s=>n<s);const o=[];for(let s=e;r(s);s+=t)o.push(s);return o}function Di(e,n){const t={};for(const r of n)e[r]!==void 0&&(t[r]=e[r]);return t}function zi(e,n){let t=n;return typeof n=="string"&&(t=r=>r[n]),Object.entries(e).reduce((r,[o,s])=>(r[o]=t(s,o),r),{})}function fn(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}let Hi=Ni,Wi=F.uniqueId;var Ui={run:qi,undo:Xi};function qi(e){(e.graph().acyclicer==="greedy"?Hi(e,t(e)):Yi(e)).forEach(r=>{let o=e.edge(r);e.removeEdge(r),o.forwardName=r.name,o.reversed=!0,e.setEdge(r.w,r.v,o,Wi("rev"))});function t(r){return o=>r.edge(o).weight}}function Yi(e){let n=[],t={},r={};function o(s){r.hasOwnProperty(s)||(r[s]=!0,t[s]=!0,e.outEdges(s).forEach(i=>{t.hasOwnProperty(i.w)?n.push(i):o(i.w)}),delete t[s])}return e.nodes().forEach(o),n}function Xi(e){e.edges().forEach(n=>{let t=e.edge(n);if(t.reversed){e.removeEdge(n);let r=t.forwardName;delete t.reversed,delete t.forwardName,e.setEdge(n.w,n.v,t,r)}})}let Ki=F;var Qi={run:Zi,undo:ea};function Zi(e){e.graph().dummyChains=[],e.edges().forEach(n=>Ji(e,n))}function Ji(e,n){let t=n.v,r=e.node(t).rank,o=n.w,s=e.node(o).rank,i=n.name,a=e.edge(n),c=a.labelRank;if(s===r+1)return;e.removeEdge(n);let l,d,h;for(h=0,++r;r<s;++h,++r)a.points=[],d={width:0,height:0,edgeLabel:a,edgeObj:n,rank:r},l=Ki.addDummyNode(e,"edge",d,"_d"),r===c&&(d.width=a.width,d.height=a.height,d.dummy="edge-label",d.labelpos=a.labelpos),e.setEdge(t,l,{weight:a.weight},i),h===0&&e.graph().dummyChains.push(l),t=l;e.setEdge(t,o,{weight:a.weight},i)}function ea(e){e.graph().dummyChains.forEach(n=>{let t=e.node(n),r=t.edgeLabel,o;for(e.setEdge(t.edgeObj,r);t.dummy;)o=e.successors(n)[0],e.removeNode(n),r.points.push({x:t.x,y:t.y}),t.dummy==="edge-label"&&(r.x=t.x,r.y=t.y,r.width=t.width,r.height=t.height),n=o,t=e.node(n)})}var Ue={longestPath:na,slack:ta};function na(e){var n={};function t(r){var o=e.node(r);if(n.hasOwnProperty(r))return o.rank;n[r]=!0;var s=Math.min(...e.outEdges(r).map(i=>i==null?Number.POSITIVE_INFINITY:t(i.w)-e.edge(i).minlen));return s===Number.POSITIVE_INFINITY&&(s=0),o.rank=s}e.sources().forEach(t)}function ta(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}var ra=Z.Graph,Ae=Ue.slack,Ct=oa;function oa(e){var n=new ra({directed:!1}),t=e.nodes()[0],r=e.nodeCount();n.setNode(t,{});for(var o,s;sa(n,e)<r;)o=ia(n,e),s=n.hasNode(o.v)?Ae(e,o):-Ae(e,o),aa(n,e,s);return n}function sa(e,n){function t(r){n.nodeEdges(r).forEach(o=>{var s=o.v,i=r===s?o.w:s;!e.hasNode(i)&&!Ae(n,o)&&(e.setNode(i,{}),e.setEdge(r,i,{}),t(i))})}return e.nodes().forEach(t),e.nodeCount()}function ia(e,n){return n.edges().reduce((r,o)=>{let s=Number.POSITIVE_INFINITY;return e.hasNode(o.v)!==e.hasNode(o.w)&&(s=Ae(n,o)),s<r[0]?[s,o]:r},[Number.POSITIVE_INFINITY,null])[1]}function aa(e,n,t){e.nodes().forEach(r=>n.node(r).rank+=t)}var ca=Ct,In=Ue.slack,la=Ue.longestPath,da=Z.alg.preorder,ha=Z.alg.postorder,ua=F.simplify,fa=ye;ye.initLowLimValues=mn;ye.initCutValues=pn;ye.calcCutValue=It;ye.leaveEdge=$t;ye.enterEdge=jt;ye.exchangeEdges=Tt;function ye(e){e=ua(e),la(e);var n=ca(e);mn(n),pn(n,e);for(var t,r;t=$t(n);)r=jt(n,e,t),Tt(n,e,t,r)}function pn(e,n){var t=ha(e,e.nodes());t=t.slice(0,t.length-1),t.forEach(r=>pa(e,n,r))}function pa(e,n,t){var r=e.node(t),o=r.parent;e.edge(t,o).cutvalue=It(e,n,t)}function It(e,n,t){var r=e.node(t),o=r.parent,s=!0,i=n.edge(t,o),a=0;return i||(s=!1,i=n.edge(o,t)),a=i.weight,n.nodeEdges(t).forEach(c=>{var l=c.v===t,d=l?c.w:c.v;if(d!==o){var h=l===s,f=n.edge(c).weight;if(a+=h?f:-f,ga(e,t,d)){var p=e.edge(t,d).cutvalue;a+=h?-p:p}}}),a}function mn(e,n){arguments.length<2&&(n=e.nodes()[0]),St(e,{},1,n)}function St(e,n,t,r,o){var s=t,i=e.node(r);return n[r]=!0,e.neighbors(r).forEach(a=>{n.hasOwnProperty(a)||(t=St(e,n,t,a,r))}),i.low=s,i.lim=t++,o?i.parent=o:delete i.parent,t}function $t(e){return e.edges().find(n=>e.edge(n).cutvalue<0)}function jt(e,n,t){var r=t.v,o=t.w;n.hasEdge(r,o)||(r=t.w,o=t.v);var s=e.node(r),i=e.node(o),a=s,c=!1;s.lim>i.lim&&(a=i,c=!0);var l=n.edges().filter(d=>c===Sn(e,e.node(d.v),a)&&c!==Sn(e,e.node(d.w),a));return l.reduce((d,h)=>In(n,h)<In(n,d)?h:d)}function Tt(e,n,t,r){var o=t.v,s=t.w;e.removeEdge(o,s),e.setEdge(r.v,r.w,{}),mn(e),pn(e,n),ma(e,n)}function ma(e,n){var t=e.nodes().find(o=>!n.node(o).parent),r=da(e,t);r=r.slice(1),r.forEach(o=>{var s=e.node(o).parent,i=n.edge(o,s),a=!1;i||(i=n.edge(s,o),a=!0),n.node(o).rank=n.node(s).rank+(a?i.minlen:-i.minlen)})}function ga(e,n,t){return e.hasEdge(n,t)}function Sn(e,n,t){return t.low<=n.lim&&n.lim<=t.lim}var wa=Ue,Ot=wa.longestPath,va=Ct,ba=fa,ya=ka;function ka(e){switch(e.graph().ranker){case"network-simplex":$n(e);break;case"tight-tree":Na(e);break;case"longest-path":Ea(e);break;default:$n(e)}}var Ea=Ot;function Na(e){Ot(e),va(e)}function $n(e){ba(e)}var _a=xa;function xa(e){let n=Ia(e);e.graph().dummyChains.forEach(t=>{let r=e.node(t),o=r.edgeObj,s=Ca(e,n,o.v,o.w),i=s.path,a=s.lca,c=0,l=i[c],d=!0;for(;t!==o.w;){if(r=e.node(t),d){for(;(l=i[c])!==a&&e.node(l).maxRank<r.rank;)c++;l===a&&(d=!1)}if(!d){for(;c<i.length-1&&e.node(l=i[c+1]).minRank<=r.rank;)c++;l=i[c]}e.setParent(t,l),t=e.successors(t)[0]}})}function Ca(e,n,t,r){let o=[],s=[],i=Math.min(n[t].low,n[r].low),a=Math.max(n[t].lim,n[r].lim),c,l;c=t;do c=e.parent(c),o.push(c);while(c&&(n[c].low>i||a>n[c].lim));for(l=c,c=r;(c=e.parent(c))!==l;)s.push(c);return{path:o.concat(s.reverse()),lca:l}}function Ia(e){let n={},t=0;function r(o){let s=t;e.children(o).forEach(r),n[o]={low:s,lim:t++}}return e.children().forEach(r),n}let ln=F;var Sa={run:$a,cleanup:Oa};function $a(e){let n=ln.addDummyNode(e,"root",{},"_root"),t=ja(e),r=Math.max(...Object.values(t))-1,o=2*r+1;e.graph().nestingRoot=n,e.edges().forEach(i=>e.edge(i).minlen*=o);let s=Ta(e)+1;e.children().forEach(i=>Lt(e,n,o,s,r,t,i)),e.graph().nodeRankFactor=o}function Lt(e,n,t,r,o,s,i){let a=e.children(i);if(!a.length){i!==n&&e.setEdge(n,i,{weight:0,minlen:t});return}let c=ln.addBorderNode(e,"_bt"),l=ln.addBorderNode(e,"_bb"),d=e.node(i);e.setParent(c,i),d.borderTop=c,e.setParent(l,i),d.borderBottom=l,a.forEach(h=>{Lt(e,n,t,r,o,s,h);let f=e.node(h),p=f.borderTop?f.borderTop:h,g=f.borderBottom?f.borderBottom:h,v=f.borderTop?r:2*r,w=p!==g?1:o-s[i]+1;e.setEdge(c,p,{weight:v,minlen:w,nestingEdge:!0}),e.setEdge(g,l,{weight:v,minlen:w,nestingEdge:!0})}),e.parent(i)||e.setEdge(n,c,{weight:0,minlen:o+s[i]})}function ja(e){var n={};function t(r,o){var s=e.children(r);s&&s.length&&s.forEach(i=>t(i,o+1)),n[r]=o}return e.children().forEach(r=>t(r,1)),n}function Ta(e){return e.edges().reduce((n,t)=>n+e.edge(t).weight,0)}function Oa(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,e.edges().forEach(t=>{var r=e.edge(t);r.nestingEdge&&e.removeEdge(t)})}let La=F;var Pa=Ma;function Ma(e){function n(t){let r=e.children(t),o=e.node(t);if(r.length&&r.forEach(n),o.hasOwnProperty("minRank")){o.borderLeft=[],o.borderRight=[];for(let s=o.minRank,i=o.maxRank+1;s<i;++s)jn(e,"borderLeft","_bl",t,o,s),jn(e,"borderRight","_br",t,o,s)}}e.children().forEach(n)}function jn(e,n,t,r,o,s){let i={width:0,height:0,rank:s,borderType:n},a=o[n][s-1],c=La.addDummyNode(e,"border",i,t);o[n][s]=c,e.setParent(c,r),a&&e.setEdge(a,c,{weight:1})}var Ba={adjust:Fa,undo:Ga};function Fa(e){let n=e.graph().rankdir.toLowerCase();(n==="lr"||n==="rl")&&Pt(e)}function Ga(e){let n=e.graph().rankdir.toLowerCase();(n==="bt"||n==="rl")&&Va(e),(n==="lr"||n==="rl")&&(Ra(e),Pt(e))}function Pt(e){e.nodes().forEach(n=>Tn(e.node(n))),e.edges().forEach(n=>Tn(e.edge(n)))}function Tn(e){let n=e.width;e.width=e.height,e.height=n}function Va(e){e.nodes().forEach(n=>Ke(e.node(n))),e.edges().forEach(n=>{let t=e.edge(n);t.points.forEach(Ke),t.hasOwnProperty("y")&&Ke(t)})}function Ke(e){e.y=-e.y}function Ra(e){e.nodes().forEach(n=>Qe(e.node(n))),e.edges().forEach(n=>{let t=e.edge(n);t.points.forEach(Qe),t.hasOwnProperty("x")&&Qe(t)})}function Qe(e){let n=e.x;e.x=e.y,e.y=n}let Aa=F;var Da=za;function za(e){let n={},t=e.nodes().filter(a=>!e.children(a).length),r=Math.max(...t.map(a=>e.node(a).rank)),o=Aa.range(r+1).map(()=>[]);function s(a){if(n[a])return;n[a]=!0;let c=e.node(a);o[c.rank].push(a),e.successors(a).forEach(s)}return t.sort((a,c)=>e.node(a).rank-e.node(c).rank).forEach(s),o}let Ha=F.zipObject;var Wa=Ua;function Ua(e,n){let t=0;for(let r=1;r<n.length;++r)t+=qa(e,n[r-1],n[r]);return t}function qa(e,n,t){let r=Ha(t,t.map((l,d)=>d)),o=n.flatMap(l=>e.outEdges(l).map(d=>({pos:r[d.w],weight:e.edge(d).weight})).sort((d,h)=>d.pos-h.pos)),s=1;for(;s<t.length;)s<<=1;let i=2*s-1;s-=1;let a=new Array(i).fill(0),c=0;return o.forEach(l=>{let d=l.pos+s;a[d]+=l.weight;let h=0;for(;d>0;)d%2&&(h+=a[d+1]),d=d-1>>1,a[d]+=l.weight;c+=l.weight*h}),c}var Ya=Xa;function Xa(e,n=[]){return n.map(t=>{let r=e.inEdges(t);if(r.length){let o=r.reduce((s,i)=>{let a=e.edge(i),c=e.node(i.v);return{sum:s.sum+a.weight*c.order,weight:s.weight+a.weight}},{sum:0,weight:0});return{v:t,barycenter:o.sum/o.weight,weight:o.weight}}else return{v:t}})}let Ka=F;var Qa=Za;function Za(e,n){let t={};e.forEach((o,s)=>{let i=t[o.v]={indegree:0,in:[],out:[],vs:[o.v],i:s};o.barycenter!==void 0&&(i.barycenter=o.barycenter,i.weight=o.weight)}),n.edges().forEach(o=>{let s=t[o.v],i=t[o.w];s!==void 0&&i!==void 0&&(i.indegree++,s.out.push(t[o.w]))});let r=Object.values(t).filter(o=>!o.indegree);return Ja(r)}function Ja(e){let n=[];function t(o){return s=>{s.merged||(s.barycenter===void 0||o.barycenter===void 0||s.barycenter>=o.barycenter)&&ec(o,s)}}function r(o){return s=>{s.in.push(o),--s.indegree===0&&e.push(s)}}for(;e.length;){let o=e.pop();n.push(o),o.in.reverse().forEach(t(o)),o.out.forEach(r(o))}return n.filter(o=>!o.merged).map(o=>Ka.pick(o,["vs","i","barycenter","weight"]))}function ec(e,n){let t=0,r=0;e.weight&&(t+=e.barycenter*e.weight,r+=e.weight),n.weight&&(t+=n.barycenter*n.weight,r+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=t/r,e.weight=r,e.i=Math.min(n.i,e.i),n.merged=!0}let nc=F;var tc=rc;function rc(e,n){let t=nc.partition(e,d=>d.hasOwnProperty("barycenter")),r=t.lhs,o=t.rhs.sort((d,h)=>h.i-d.i),s=[],i=0,a=0,c=0;r.sort(oc(!!n)),c=On(s,o,c),r.forEach(d=>{c+=d.vs.length,s.push(d.vs),i+=d.barycenter*d.weight,a+=d.weight,c=On(s,o,c)});let l={vs:s.flat(!0)};return a&&(l.barycenter=i/a,l.weight=a),l}function On(e,n,t){let r;for(;n.length&&(r=n[n.length-1]).i<=t;)n.pop(),e.push(r.vs),t++;return t}function oc(e){return(n,t)=>n.barycenter<t.barycenter?-1:n.barycenter>t.barycenter?1:e?t.i-n.i:n.i-t.i}let sc=Ya,ic=Qa,ac=tc;var cc=Mt;function Mt(e,n,t,r){let o=e.children(n),s=e.node(n),i=s?s.borderLeft:void 0,a=s?s.borderRight:void 0,c={};i&&(o=o.filter(f=>f!==i&&f!==a));let l=sc(e,o);l.forEach(f=>{if(e.children(f.v).length){let p=Mt(e,f.v,t,r);c[f.v]=p,p.hasOwnProperty("barycenter")&&dc(f,p)}});let d=ic(l,t);lc(d,c);let h=ac(d,r);if(i&&(h.vs=[i,h.vs,a].flat(!0),e.predecessors(i).length)){let f=e.node(e.predecessors(i)[0]),p=e.node(e.predecessors(a)[0]);h.hasOwnProperty("barycenter")||(h.barycenter=0,h.weight=0),h.barycenter=(h.barycenter*h.weight+f.order+p.order)/(h.weight+2),h.weight+=2}return h}function lc(e,n){e.forEach(t=>{t.vs=t.vs.flatMap(r=>n[r]?n[r].vs:r)})}function dc(e,n){e.barycenter!==void 0?(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight):(e.barycenter=n.barycenter,e.weight=n.weight)}let hc=Z.Graph,uc=F;var fc=pc;function pc(e,n,t){let r=mc(e),o=new hc({compound:!0}).setGraph({root:r}).setDefaultNodeLabel(s=>e.node(s));return e.nodes().forEach(s=>{let i=e.node(s),a=e.parent(s);(i.rank===n||i.minRank<=n&&n<=i.maxRank)&&(o.setNode(s),o.setParent(s,a||r),e[t](s).forEach(c=>{let l=c.v===s?c.w:c.v,d=o.edge(l,s),h=d!==void 0?d.weight:0;o.setEdge(l,s,{weight:e.edge(c).weight+h})}),i.hasOwnProperty("minRank")&&o.setNode(s,{borderLeft:i.borderLeft[n],borderRight:i.borderRight[n]}))}),o}function mc(e){for(var n;e.hasNode(n=uc.uniqueId("_root")););return n}var gc=wc;function wc(e,n,t){let r={},o;t.forEach(s=>{let i=e.parent(s),a,c;for(;i;){if(a=e.parent(i),a?(c=r[a],r[a]=i):(c=o,o=i),c&&c!==i){n.setEdge(c,i);return}i=a}})}let vc=Da,bc=Wa,yc=cc,kc=fc,Ec=gc,Nc=Z.Graph,Ge=F;var _c=xc;function xc(e){let n=Ge.maxRank(e),t=Ln(e,Ge.range(1,n+1),"inEdges"),r=Ln(e,Ge.range(n-1,-1,-1),"outEdges"),o=vc(e);Pn(e,o);let s=Number.POSITIVE_INFINITY,i;for(let a=0,c=0;c<4;++a,++c){Cc(a%2?t:r,a%4>=2),o=Ge.buildLayerMatrix(e);let l=bc(e,o);l<s&&(c=0,i=Object.assign({},o),s=l)}Pn(e,i)}function Ln(e,n,t){return n.map(function(r){return kc(e,r,t)})}function Cc(e,n){let t=new Nc;e.forEach(function(r){let o=r.graph().root,s=yc(r,o,t,n);s.vs.forEach((i,a)=>r.node(i).order=a),Ec(r,t,s.vs)})}function Pn(e,n){Object.values(n).forEach(t=>t.forEach((r,o)=>e.node(r).order=o))}let Ic=Z.Graph,Le=F;var Sc={positionX:Tc,findType1Conflicts:Bt,findType2Conflicts:Ft,addConflict:gn,hasConflict:Gt,verticalAlignment:Vt,horizontalCompaction:Rt,alignCoordinates:Dt,findSmallestWidthAlignment:At,balance:zt};function Bt(e,n){let t={};function r(o,s){let i=0,a=0,c=o.length,l=s[s.length-1];return s.forEach((d,h)=>{let f=$c(e,d),p=f?e.node(f).order:c;(f||d===l)&&(s.slice(a,h+1).forEach(g=>{e.predecessors(g).forEach(v=>{let w=e.node(v),y=w.order;(y<i||p<y)&&!(w.dummy&&e.node(g).dummy)&&gn(t,v,g)})}),a=h+1,i=p)}),s}return n.reduce(r),t}function Ft(e,n){let t={};function r(s,i,a,c,l){let d;Le.range(i,a).forEach(h=>{d=s[h],e.node(d).dummy&&e.predecessors(d).forEach(f=>{let p=e.node(f);p.dummy&&(p.order<c||p.order>l)&&gn(t,f,d)})})}function o(s,i){let a=-1,c,l=0;return i.forEach((d,h)=>{if(e.node(d).dummy==="border"){let f=e.predecessors(d);f.length&&(c=e.node(f[0]).order,r(i,l,h,a,c),l=h,a=c)}r(i,l,i.length,c,s.length)}),i}return n.reduce(o),t}function $c(e,n){if(e.node(n).dummy)return e.predecessors(n).find(t=>e.node(t).dummy)}function gn(e,n,t){if(n>t){let o=n;n=t,t=o}let r=e[n];r||(e[n]=r={}),r[t]=!0}function Gt(e,n,t){if(n>t){let r=n;n=t,t=r}return!!e[n]&&e[n].hasOwnProperty(t)}function Vt(e,n,t,r){let o={},s={},i={};return n.forEach(a=>{a.forEach((c,l)=>{o[c]=c,s[c]=c,i[c]=l})}),n.forEach(a=>{let c=-1;a.forEach(l=>{let d=r(l);if(d.length){d=d.sort((f,p)=>i[f]-i[p]);let h=(d.length-1)/2;for(let f=Math.floor(h),p=Math.ceil(h);f<=p;++f){let g=d[f];s[l]===l&&c<i[g]&&!Gt(t,l,g)&&(s[g]=l,s[l]=o[l]=o[g],c=i[g])}}})}),{root:o,align:s}}function Rt(e,n,t,r,o){let s={},i=jc(e,n,t,o),a=o?"borderLeft":"borderRight";function c(h,f){let p=i.nodes(),g=p.pop(),v={};for(;g;)v[g]?h(g):(v[g]=!0,p.push(g),p=p.concat(f(g))),g=p.pop()}function l(h){s[h]=i.inEdges(h).reduce((f,p)=>Math.max(f,s[p.v]+i.edge(p)),0)}function d(h){let f=i.outEdges(h).reduce((g,v)=>Math.min(g,s[v.w]-i.edge(v)),Number.POSITIVE_INFINITY),p=e.node(h);f!==Number.POSITIVE_INFINITY&&p.borderType!==a&&(s[h]=Math.max(s[h],f))}return c(l,i.predecessors.bind(i)),c(d,i.successors.bind(i)),Object.keys(r).forEach(h=>s[h]=s[t[h]]),s}function jc(e,n,t,r){let o=new Ic,s=e.graph(),i=Oc(s.nodesep,s.edgesep,r);return n.forEach(a=>{let c;a.forEach(l=>{let d=t[l];if(o.setNode(d),c){var h=t[c],f=o.edge(h,d);o.setEdge(h,d,Math.max(i(e,l,c),f||0))}c=l})}),o}function At(e,n){return Object.values(n).reduce((t,r)=>{let o=Number.NEGATIVE_INFINITY,s=Number.POSITIVE_INFINITY;Object.entries(r).forEach(([a,c])=>{let l=Lc(e,a)/2;o=Math.max(c+l,o),s=Math.min(c-l,s)});const i=o-s;return i<t[0]&&(t=[i,r]),t},[Number.POSITIVE_INFINITY,null])[1]}function Dt(e,n){let t=Object.values(n),r=Math.min(...t),o=Math.max(...t);["u","d"].forEach(s=>{["l","r"].forEach(i=>{let a=s+i,c=e[a];if(c===n)return;let l=Object.values(c),d=r-Math.min(...l);i!=="l"&&(d=o-Math.max(...l)),d&&(e[a]=Le.mapValues(c,h=>h+d))})})}function zt(e,n){return Le.mapValues(e.ul,(t,r)=>{if(n)return e[n.toLowerCase()][r];{let o=Object.values(e).map(s=>s[r]).sort((s,i)=>s-i);return(o[1]+o[2])/2}})}function Tc(e){let n=Le.buildLayerMatrix(e),t=Object.assign(Bt(e,n),Ft(e,n)),r={},o;["u","d"].forEach(i=>{o=i==="u"?n:Object.values(n).reverse(),["l","r"].forEach(a=>{a==="r"&&(o=o.map(h=>Object.values(h).reverse()));let c=(i==="u"?e.predecessors:e.successors).bind(e),l=Vt(e,o,t,c),d=Rt(e,o,l.root,l.align,a==="r");a==="r"&&(d=Le.mapValues(d,h=>-h)),r[i+a]=d})});let s=At(e,r);return Dt(r,s),zt(r,e.graph().align)}function Oc(e,n,t){return(r,o,s)=>{let i=r.node(o),a=r.node(s),c=0,l;if(c+=i.width/2,i.hasOwnProperty("labelpos"))switch(i.labelpos.toLowerCase()){case"l":l=-i.width/2;break;case"r":l=i.width/2;break}if(l&&(c+=t?l:-l),l=0,c+=(i.dummy?n:e)/2,c+=(a.dummy?n:e)/2,c+=a.width/2,a.hasOwnProperty("labelpos"))switch(a.labelpos.toLowerCase()){case"l":l=a.width/2;break;case"r":l=-a.width/2;break}return l&&(c+=t?l:-l),l=0,c}}function Lc(e,n){return e.node(n).width}let Ht=F,Pc=Sc.positionX;var Mc=Bc;function Bc(e){e=Ht.asNonCompoundGraph(e),Fc(e),Object.entries(Pc(e)).forEach(([n,t])=>e.node(n).x=t)}function Fc(e){let n=Ht.buildLayerMatrix(e),t=e.graph().ranksep,r=0;n.forEach(o=>{const s=o.reduce((i,a)=>{const c=e.node(a).height;return i>c?i:c},0);o.forEach(i=>e.node(i).y=r+s/2),r+=s+t})}let Mn=Ui,Bn=Qi,Gc=ya,Vc=F.normalizeRanks,Rc=_a,Ac=F.removeEmptyRanks,Fn=Sa,Dc=Pa,Gn=Ba,zc=_c,Hc=Mc,q=F,Wc=Z.Graph;var Uc=qc;function qc(e,n){let t=n&&n.debugTiming?q.time:q.notime;t("layout",()=>{let r=t(" buildLayoutGraph",()=>rl(e));t(" runLayout",()=>Yc(r,t)),t(" updateInputGraph",()=>Xc(e,r))})}function Yc(e,n){n(" makeSpaceForEdgeLabels",()=>ol(e)),n(" removeSelfEdges",()=>fl(e)),n(" acyclic",()=>Mn.run(e)),n(" nestingGraph.run",()=>Fn.run(e)),n(" rank",()=>Gc(q.asNonCompoundGraph(e))),n(" injectEdgeLabelProxies",()=>sl(e)),n(" removeEmptyRanks",()=>Ac(e)),n(" nestingGraph.cleanup",()=>Fn.cleanup(e)),n(" normalizeRanks",()=>Vc(e)),n(" assignRankMinMax",()=>il(e)),n(" removeEdgeLabelProxies",()=>al(e)),n(" normalize.run",()=>Bn.run(e)),n(" parentDummyChains",()=>Rc(e)),n(" addBorderSegments",()=>Dc(e)),n(" order",()=>zc(e)),n(" insertSelfEdges",()=>pl(e)),n(" adjustCoordinateSystem",()=>Gn.adjust(e)),n(" position",()=>Hc(e)),n(" positionSelfEdges",()=>ml(e)),n(" removeBorderNodes",()=>ul(e)),n(" normalize.undo",()=>Bn.undo(e)),n(" fixupEdgeLabelCoords",()=>dl(e)),n(" undoCoordinateSystem",()=>Gn.undo(e)),n(" translateGraph",()=>cl(e)),n(" assignNodeIntersects",()=>ll(e)),n(" reversePoints",()=>hl(e)),n(" acyclic.undo",()=>Mn.undo(e))}function Xc(e,n){e.nodes().forEach(t=>{let r=e.node(t),o=n.node(t);r&&(r.x=o.x,r.y=o.y,r.rank=o.rank,n.children(t).length&&(r.width=o.width,r.height=o.height))}),e.edges().forEach(t=>{let r=e.edge(t),o=n.edge(t);r.points=o.points,o.hasOwnProperty("x")&&(r.x=o.x,r.y=o.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height}let Kc=["nodesep","edgesep","ranksep","marginx","marginy"],Qc={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Zc=["acyclicer","ranker","rankdir","align"],Jc=["width","height"],Vn={width:0,height:0},el=["minlen","weight","width","height","labeloffset"],nl={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},tl=["labelpos"];function rl(e){let n=new Wc({multigraph:!0,compound:!0}),t=Je(e.graph());return n.setGraph(Object.assign({},Qc,Ze(t,Kc),q.pick(t,Zc))),e.nodes().forEach(r=>{let o=Je(e.node(r));const s=Ze(o,Jc);Object.keys(Vn).forEach(i=>{s[i]===void 0&&(s[i]=Vn[i])}),n.setNode(r,s),n.setParent(r,e.parent(r))}),e.edges().forEach(r=>{let o=Je(e.edge(r));n.setEdge(r,Object.assign({},nl,Ze(o,el),q.pick(o,tl)))}),n}function ol(e){let n=e.graph();n.ranksep/=2,e.edges().forEach(t=>{let r=e.edge(t);r.minlen*=2,r.labelpos.toLowerCase()!=="c"&&(n.rankdir==="TB"||n.rankdir==="BT"?r.width+=r.labeloffset:r.height+=r.labeloffset)})}function sl(e){e.edges().forEach(n=>{let t=e.edge(n);if(t.width&&t.height){let r=e.node(n.v),s={rank:(e.node(n.w).rank-r.rank)/2+r.rank,e:n};q.addDummyNode(e,"edge-proxy",s,"_ep")}})}function il(e){let n=0;e.nodes().forEach(t=>{let r=e.node(t);r.borderTop&&(r.minRank=e.node(r.borderTop).rank,r.maxRank=e.node(r.borderBottom).rank,n=Math.max(n,r.maxRank))}),e.graph().maxRank=n}function al(e){e.nodes().forEach(n=>{let t=e.node(n);t.dummy==="edge-proxy"&&(e.edge(t.e).labelRank=t.rank,e.removeNode(n))})}function cl(e){let n=Number.POSITIVE_INFINITY,t=0,r=Number.POSITIVE_INFINITY,o=0,s=e.graph(),i=s.marginx||0,a=s.marginy||0;function c(l){let d=l.x,h=l.y,f=l.width,p=l.height;n=Math.min(n,d-f/2),t=Math.max(t,d+f/2),r=Math.min(r,h-p/2),o=Math.max(o,h+p/2)}e.nodes().forEach(l=>c(e.node(l))),e.edges().forEach(l=>{let d=e.edge(l);d.hasOwnProperty("x")&&c(d)}),n-=i,r-=a,e.nodes().forEach(l=>{let d=e.node(l);d.x-=n,d.y-=r}),e.edges().forEach(l=>{let d=e.edge(l);d.points.forEach(h=>{h.x-=n,h.y-=r}),d.hasOwnProperty("x")&&(d.x-=n),d.hasOwnProperty("y")&&(d.y-=r)}),s.width=t-n+i,s.height=o-r+a}function ll(e){e.edges().forEach(n=>{let t=e.edge(n),r=e.node(n.v),o=e.node(n.w),s,i;t.points?(s=t.points[0],i=t.points[t.points.length-1]):(t.points=[],s=o,i=r),t.points.unshift(q.intersectRect(r,s)),t.points.push(q.intersectRect(o,i))})}function dl(e){e.edges().forEach(n=>{let t=e.edge(n);if(t.hasOwnProperty("x"))switch((t.labelpos==="l"||t.labelpos==="r")&&(t.width-=t.labeloffset),t.labelpos){case"l":t.x-=t.width/2+t.labeloffset;break;case"r":t.x+=t.width/2+t.labeloffset;break}})}function hl(e){e.edges().forEach(n=>{let t=e.edge(n);t.reversed&&t.points.reverse()})}function ul(e){e.nodes().forEach(n=>{if(e.children(n).length){let t=e.node(n),r=e.node(t.borderTop),o=e.node(t.borderBottom),s=e.node(t.borderLeft[t.borderLeft.length-1]),i=e.node(t.borderRight[t.borderRight.length-1]);t.width=Math.abs(i.x-s.x),t.height=Math.abs(o.y-r.y),t.x=s.x+t.width/2,t.y=r.y+t.height/2}}),e.nodes().forEach(n=>{e.node(n).dummy==="border"&&e.removeNode(n)})}function fl(e){e.edges().forEach(n=>{if(n.v===n.w){var t=e.node(n.v);t.selfEdges||(t.selfEdges=[]),t.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})}function pl(e){var n=q.buildLayerMatrix(e);n.forEach(t=>{var r=0;t.forEach((o,s)=>{var i=e.node(o);i.order=s+r,(i.selfEdges||[]).forEach(a=>{q.addDummyNode(e,"selfedge",{width:a.label.width,height:a.label.height,rank:i.rank,order:s+ ++r,e:a.e,label:a.label},"_se")}),delete i.selfEdges})})}function ml(e){e.nodes().forEach(n=>{var t=e.node(n);if(t.dummy==="selfedge"){var r=e.node(t.e.v),o=r.x+r.width/2,s=r.y,i=t.x-o,a=r.height/2;e.setEdge(t.e,t.label),e.removeNode(n),t.label.points=[{x:o+2*i/3,y:s-a},{x:o+5*i/6,y:s-a},{x:o+i,y:s},{x:o+5*i/6,y:s+a},{x:o+2*i/3,y:s+a}],t.label.x=t.x,t.label.y=t.y}})}function Ze(e,n){return q.mapValues(q.pick(e,n),Number)}function Je(e){var n={};return e&&Object.entries(e).forEach(([t,r])=>{typeof t=="string"&&(t=t.toLowerCase()),n[t]=r}),n}let gl=F,wl=Z.Graph;var vl={debugOrdering:bl};function bl(e){let n=gl.buildLayerMatrix(e),t=new wl({compound:!0,multigraph:!0}).setGraph({});return e.nodes().forEach(r=>{t.setNode(r,{label:r}),t.setParent(r,"layer"+e.node(r).rank)}),e.edges().forEach(r=>t.setEdge(r.v,r.w,{},r.name)),n.forEach((r,o)=>{let s="layer"+o;t.setNode(s,{rank:"same"}),r.reduce((i,a)=>(t.setEdge(i,a,{style:"invis"}),a))}),t}var yl="1.0.4",Ee={graphlib:Z,layout:Uc,debug:vl,util:{time:F.time,notime:F.notime},version:yl};function kl(e,n){let t=[],r=[e];for(;r&&r.length;){let o=[];for(const s of r){const i=n.node(s);(i==null?void 0:i.type)==="Benchmark_Result"&&t.push(s),((i==null?void 0:i.type)!=="Model"||e===s)&&o.push(...n.successors(s))}r=o}return t}const Rn={data:{width:200,height:84},computation:{width:60,height:60},default:{width:150,height:88}};function El(e,n,t){var l;if(e.length===0)return{nodes:[],edges:[],sinks:{},graph:new Ee.graphlib.Graph,noBenchmarkNodes:[],noBenchmarkEdges:[],noBenchmarkGraph:new Ee.graphlib.Graph,graphName:""};let r=Pr[t];r||(r={label:t,url:"",sourceNodes:[],filterNodes:[]});const o=new Ee.graphlib.Graph;o.setGraph({rankdir:"LR",nodesep:30,ranksep:300,align:"UL"});for(const d of e){const h=Rn[d.data.displayType]||Rn.default;o.setNode(d.id,{...h,label:d.data.label,type:(l=d.data.enrichments.asset_hub)==null?void 0:l.asset_type})}for(const d of n)o.setEdge(d.source,d.target,{label:d.id});const s=_l(o),i=e.filter(d=>s.hasNode(d.id)),a=n.filter(d=>s.hasEdge(d.source,d.target)),c=Nl(s,r.filterNodes);for(const[d,h]of Object.entries(c)){const f=kl(d,o),p=e.find(g=>g.id===d);if(f.length){const g=`${d}-benchmarks`;s.setNode(g,{type:"Benchmarks",label:"Benchmarks",width:200,height:60+f.length*40}),s.setEdge(d,g,{label:`${g}-edge`,weight:.5,minlen:10});const v=e.filter(b=>f.includes(b.id));for(const b of v)b.data.model=p;p.data.benchmarks=v;const w={id:g,type:"BenchmarkNode",position:{x:0,y:0},data:{label:p.data.label,nodeColor:cr.benchmark,icon:"BenchmarkIcon",displayType:"Benchmarks",typeLabel:"Benchmark_Result",governanceNodes:[],isSourceForConnection:!1,isTargetForConnection:!0,properties:{},enrichments:{},nodeType:"data",registeredBy:"",benchmarks:v}},y={id:`${g}-edge`,source:d,target:g,animated:!1,markerEnd:{type:it.Arrow,strokeWidth:0,color:be.black},style:{stroke:be.black,strokeWidth:2},type:"CustomEdge",data:{benchmarks:f}};i.push(w),a.push(y),h.nodes.add(g),h.edges.add(`${g}-edge`)}}return{nodes:e,edges:n,sinks:c,graph:o,noBenchmarkGraph:s,noBenchmarkNodes:i,noBenchmarkEdges:a,graphName:t}}function Wt(e,n,t,r=30,o=300,s=!0){if(n.length===0)return console.log("no nodes to layout"),0;const i=t.getState().nodeInternals;Ee.layout(e,{minlen:10});for(const c of n){const l=e.node(c.id),d=i.get(c.id);d&&(l.width=d.width??l.width,l.height=d.height??l.height)}const a=new Map;for(const c of n){const l=e.node(c.id),d=a.get(l.rank);d?d.push(c):a.set(l.rank,[c]),s||(c.data.sourcePosition=We.Right,c.data.rank=l.rank,c.position={x:l.x-l.width/2,y:l.y-l.height/2})}if(s){const c=new Map,l=new Map;let d=0;for(const[p,g]of a){g.sort((y,b)=>{const k=e.node(y.id),x=e.node(b.id);return k.y-x.y});let v=0,w=0;for(const y of g){const b=e.node(y.id);v+=b.height,w=Math.max(w,b.width)}v+=(g.length-1)*r,d=Math.max(d,v),c.set(p,v),l.set(p,w)}let h=0;const f=Array.from(a.entries());f.sort((p,g)=>p[0]-g[0]);for(const[p,g]of f){const v=c.get(p)||0,w=l.get(p)||0,y=(d-v)/2;let b=0;for(const[k,x]of g.entries()){const L=e.node(x.id);x.position={x:h+w/2-L.width/2,y:b+y},b+=L.height+r}h+=w+o}}}function Nl(e,n=[]){var o;const t=n.length>0?n:e.sinks(),r={};for(const s of t){const i=e.node(s);if(((o=i.type)==null?void 0:o.toLowerCase())!=="model")continue;r[s]={nodes:new Set,edges:new Set,label:i.label};let a=e.predecessors(s);if(a)for(const c of a){const l=e.edge(c,s);l&&r[s].edges.add(l.label)}for(;a&&a.length;){let c=[];for(const l of a){r[s].nodes.add(l);const d=e.predecessors(l);if(d&&d.length){for(const h of d){const f=e.edge(h,l);f&&r[s].edges.add(f.label)}c.push(...d)}}a=c}}return r}function _l(e){const n=new Ee.graphlib.Graph;n.setGraph(e.graph());for(const i of e.nodes())n.setNode(i,e.node(i));for(const i of e.edges())n.setEdge(i,e.edge(i));const t=new Set,r=new Set;let o=e.nodes().filter(i=>{const a=e.node(i);return(a==null?void 0:a.type)==="Benchmark_Result"});for(;o&&o.length;){let i=[];for(const a of o)if(e.node(a).type!=="Model"&&!t.has(a)){t.add(a);const l=e.successors(a);for(const d of l)r.add(d);i.push(...e.predecessors(a))}o=i}for(const i of t){let a=!0,c=e.successors(i);for(const l of c)if(!t.has(l)){a=!1;break}a&&n.removeNode(i)}for(const i of r)t.has(i)&&r.delete(i);const s=Ee.graphlib.alg.components(n);s.sort((i,a)=>a.length-i.length);for(const i of s)if(i.filter(a=>r.has(a)).length)for(const a of i)n.removeNode(a);return n}const xl={CustomNode:xr,BenchmarkNode:Fo,ComputationNode:Cs},Cl={CustomEdge:Do},Il={hidden:{x:"100%",transition:{ease:"circIn",duration:.4}},visible:{x:0,transition:{ease:"circOut",duration:.4}}};function Sl(){const e=hr(),[n]=_.useState(e);return m.jsx(_.Suspense,{fallback:m.jsx("div",{children:"Suspense"}),children:n})}const $l=()=>{const{graphName:e,nodes:n,edges:t,getNodeById:r,graphState:o,setGraphState:s,governanceFilter:i,activeSink:a,pretty:c,getNodeFromFullGraph:l,hasMeasured:d,onNodesChange:h,onEdgesChange:f,noBenchmarksGraph:p}=Se(I=>({nodes:I.nodes,edges:I.edges,graphState:I.graphState,setGraphState:I.setGraphState,onNodesChange:I.onNodesChange,onEdgesChange:I.onEdgesChange,getNodeById:I.getNodeById,setGovernanceFilter:I.setGovernanceFilter,governanceFilter:I.governanceFilter,activeSink:I.activeSink,pretty:I.pretty,setPretty:I.setPretty,getNodeFromFullGraph:I.getNodeFromFullGraph,hasMeasured:I.hasMeasured,noBenchmarksGraph:I.noBenchmarksGraph,setNodes:I.setNodes,graphName:I.graphName}));lr();const g=_.useRef(null),v=De(),w=ze(),[y]=dn(),b=w.nodeCid,{setCenter:k,fitView:x}=Nr(),L=at(),E=ct();_.useEffect(()=>{L&&x({duration:1e3})},[n.length,L]);const P=!!w.nodeCid;_.useEffect(()=>{i&&N()},[i]);const N=()=>{b&&v(`/explorer/lineage/${w.owner}/${w.repo}?${y.toString()}`)};_.useEffect(()=>{const O=l(b||"");if(O&&d){let J;if(O.data.typeLabel==="Benchmark_Result"){const R=O.data.model;R&&(J=r(`${R.id}-benchmarks`))}else J=r(b||"");if(J){const R=E.getState().nodeInternals.get(J.id);if(J.type==="BenchmarkNode"){const se=document.querySelector(`[data-id="${J.id}"]`);if(se){const $=se.querySelector(`[data-benchmark="${O.id}"]`),j=R.position.x,Y=R.position.y+$.offsetTop+$.offsetHeight/2,X=R.width||0,me=j+300+X/2/.95,wn=Y/.95;k(me,wn,{zoom:.95,duration:1500})}}else{const se=R.position.x,$=R.position.y,j=R.width||0,Y=R.height||0,D=se+300+j/2/.95,me=$+Y/2/.95;k(D,me,{zoom:.95,duration:1500})}}}},[b,k,E,d,n]);const V=()=>{s(o==="vc-off"?"vc-on":"vc-off")},T=e.startsWith("https://")?e:`https://huggingface.co/${e}`,oe=e.length>30?e.slice(0,30)+"...":e,pe="";return m.jsx(m.Fragment,{children:m.jsxs("div",{ref:g,className:H(je.container,{[je.dim]:!!a}),children:[m.jsx(_r,{nodes:n,edges:t,onNodesChange:I=>{p&&n.length&&Wt(p,n,E,30,250,c),h(I)},onEdgesChange:f,onPaneClick:N,snapToGrid:!1,defaultViewport:{x:0,y:0,zoom:.75},minZoom:.05,attributionPosition:"bottom-right",nodeTypes:xl,edgeTypes:Cl,nodesDraggable:!1,nodesConnectable:!1,edgesFocusable:!1,children:m.jsx(Zr,{gap:12,size:1})}),m.jsx(dr,{initial:!1,mode:"wait",children:m.jsx(He.div,{className:je.sidebar,initial:"hidden",animate:"visible",exit:"hidden",variants:Il,children:m.jsx(Sl,{})},P?"drawer-visible":"drawer-hidden")}),m.jsxs("a",{className:je.graphNameHeader,target:"_blank",href:T,children:[pe,m.jsx("span",{children:oe})]}),m.jsx("div",{className:je.switchContainer,children:m.jsx(ls,{selected:o==="vc-on",onClick:V})})]})})},An="#000000",jl=(e,n)=>n.find(({node:t})=>t.id===e),Tl=(e,n)=>!!n.find(({edge:t})=>t.target_id===e.id&&t.label!=="subject"),Ol=(e,n)=>!!n.find(({edge:t})=>t.source_id===e.id),Ut=(e,n,t)=>{var h,f;const r=e.enrichments||{},o=e.node.properties.nodeType||"unknown",s=o==="computation"?"":((h=e.enrichments.asset_hub)==null?void 0:h.asset_type)||"",{iconId:i,displayType:a,color:c}=Cr(s||o),l=(f=r.asset_hub)!=null&&f.asset_name?r.asset_hub.asset_name:o;return{id:e.node.id,type:o==="computation"?"ComputationNode":"CustomNode",data:{label:l,nodeColor:c,icon:i,displayType:a,typeLabel:s,governanceNodes:Ll(e,"governance",n,t),isSourceForConnection:Ol(e.node,n),isTargetForConnection:Tl(e.node,n),properties:e.node.properties,sourcePosition:We.Right,enrichments:r,nodeType:o,registeredBy:"CHECK API"},position:{x:0,y:0}}},Ll=(e,n,t,r)=>t.filter(({edge:i})=>i.target_id===e.node.id).map(({edge:i})=>{const a=jl(i.source_id,r);return a&&a.node.properties.nodeType===n?Ut(a,t,r):null}).filter(i=>!!i);function Pl(e,n){return e.filter(({node:s})=>s.properties.nodeType!=="governance").map(s=>Ut(s,n,e)).filter(s=>!!s)}function Ml(e){return e.map(({edge:t})=>({id:t.id,source:t.source_id,target:t.target_id,animated:!1,markerEnd:{type:it.Arrow,strokeWidth:0,color:An},style:{stroke:An,strokeWidth:2},type:"CustomEdge"})).filter(Boolean)}async function Bl(e){const n=await Ir(),t=new Map;for(const r of n)t.set(r.did,r);return t}const en=new Map;async function Fl(e){let n=[];const t=new Set;for(const{node:i}of e)if(i.properties.vcRegistrationsJcs)for(const a of i.properties.vcRegistrationsJcs)t.has(a)||(t.add(a),n.push((async()=>{if(en.has(a))return[a,en.get(a)];const c=await Sr(`text/${$r(a,"urn:cid:")}`);return[a,await c.json()]})()));const r=await Promise.all(n);for(const[i,a]of r)en.set(i,a);const o=new Map(r),s=await Bl();for(const[i,a]of o){const c=s.get(a.credential.issuer);let l="unknown";c&&(l=c.status),a.issuerStatus=l}return o}function Gl(e,n){const t=new Map(n.nodes.map(s=>[s.node.id,s])),r=new Map;for(const s of n.edges){const i=r.get(s.edge.source_id)||[],a=r.get(s.edge.target_id)||[];i.push(s),a.push(s),r.set(s.edge.source_id,i),r.set(s.edge.target_id,a)}const o=new Map;for(const[s,i]of e){const a=i.credential.credentialSubject.id,c=t.get(a),l=r.get(a);if(c){const d=[],h=[c];if(c.node.properties.nodeType==="computation")for(const f of l)d.push(f),f.edge.target_id===a&&h.push(t.get(f.edge.source_id)),f.edge.source_id===a&&h.push(t.get(f.edge.target_id));o.set(s,{edges:d,nodes:h,vc:i})}}return o}const Vl="_searchWrapper_1hcue_6",Rl="_logo_1hcue_39",Al="_searchBar_1hcue_57",nn={"lineage-page-container":"_lineage-page-container_1hcue_1",searchWrapper:Vl,logo:Rl,searchBar:Al};function Jl(){const[e,n]=_.useState(null),t=De();return m.jsx(Hn,{theme:{components:{Button:{colorPrimary:"rgb(0, 0, 100)",colorBgContainer:be.grey600,colorText:be.grey600,defaultBorderColor:"rgb(0, 0, 0)",colorPrimaryHover:be.grey600}}},children:m.jsxs(jr,{children:[m.jsxs("div",{className:nn.searchWrapper,children:[m.jsx("div",{className:nn.logo,children:m.jsx("button",{style:{border:"none",background:"none"},onClick:()=>t("/"),children:m.jsx(Mr,{})})}),m.jsx(Br,{className:nn.searchBar,onSearch:()=>{},isLandingPage:!1})]}),m.jsx(Dl,{searchedOrUploadedGraph:e,navigate:t})]})})}function Dl({searchedOrUploadedGraph:e,navigate:n}){const t=at(),r=ct(),{vcGraph:o,edges:s,nodes:i,noBenchmarkEdges:a,noBenchmarkNodes:c,sinks:l,noBenchmarkGraph:d,graph:h,graphName:f,manifestNotFound:p}=ur();_.useEffect(()=>{p&&n("/not-found")},[p]);const{setVcsToGraph:g,setNodes:v,setEdges:w,setSinkMap:y,setAllNodes:b,setHasMeasured:k,setNoBenchmarksGraph:x,setGraphName:L}=Se(E=>({setGraphName:E.setGraphName,setNodes:E.setNodes,setEdges:E.setEdges,setVcsToGraph:E.setVcsToGraph,setSinkMap:E.setSinkMap,setAllNodes:E.setAllNodes,setHasMeasured:E.setHasMeasured,setNoBenchmarksGraph:E.setNoBenchmarksGraph}));return _.useEffect(()=>{o.then(E=>g(E))},[o]),_.useEffect(()=>{b(i)},[i]),_.useEffect(()=>{t&&k(!0)},[t]),_.useEffect(()=>{e!==null&&(v(e.noBenchmarkNodes),w(e.noBenchmarkEdges),x(e.noBenchmarkGraph),e.sinks&&y(e.sinks),L(e.graphName))},[e]),_.useEffect(()=>{e===null&&(Wt(d,c,r),v(c),w(a),x(d),l&&y(l),L(f))},[a,c,l,d,r,f,e]),m.jsx($l,{})}async function ed({request:e,params:n}){const t=new URL(e.url),o=t.searchParams.get("search");let s=null,i=null;if(o?(i=o,Tr(o),s=await eo(o,"integrity.json")):(i=t.pathname.split("/").slice(3).join("/"),s=await Jr(i,"integrity.json")),s.nodes.length===0||s.edges.length===0)return yn({manifestNotFound:!0});const a=Pl(s.nodes,s.edges),c=Ml(s.edges),l=El(a,c,i),d=(async()=>{const h=await Fl(s.nodes);return Gl(h,s)})();return yn({graph:l.graph,vcGraph:d,nodes:l.nodes,edges:l.edges,noBenchmarkNodes:l.noBenchmarkNodes,noBenchmarkEdges:l.noBenchmarkEdges,sinks:l.sinks,noBenchmarkGraph:l.noBenchmarkGraph,graphName:l.graphName})}export{Jl as Component,ed as loader};
 
1
+ var qe=(e,n,t)=>{if(!n.has(e))throw TypeError("Cannot "+t)};var u=(e,n,t)=>(qe(e,n,"read from private field"),t?t.call(e):n.get(e)),S=(e,n,t)=>{if(n.has(e))throw TypeError("Cannot add the same private member more than once");n instanceof WeakSet?n.add(e):n.set(e,t)},W=(e,n,t,r)=>(qe(e,n,"write to private field"),r?r.call(e,t):n.set(e,t),t);var $e=(e,n,t,r)=>({set _(o){W(e,n,o,t)},get _(){return u(e,n,r)}}),ee=(e,n,t)=>(qe(e,n,"access private method"),t);import{r as _,p as Xt,q as Kt,c as H,s as vn,_ as Qt,K as bn,b as Zt,n as Jt,u as fe,v as er,w as nr,T as tr,C as rr,D as or,x as sr,W as ir,y as ar,R as we,i as De,z as ze,B as dn,j as m,E as He,l as Hn,m as be,F as cr,G as lr,H as dr,I as hr,J as ur,M as yn}from"./index-c062f015.js";/* empty css */import{u as tn,s as fr,c as pr,g as mr,a as gr,b as Wn,d as wr,e as Se,f as hn,r as Un,N as Oe,H as Re,P as We,D as qn,M as Yn,C as Xn,h as Kn,T as Qn,A as Zn,B as Jn,i as et,j as nt,k as tt,l as rt,m as ot,n as st,o as vr,p as br,q as yr,E as kr,G as Er,t as it,v as Nr,w as at,x as ct,R as _r,y as xr,z as Cr,F as Ir,I as Sr,J as $r,K as jr,L as Tr}from"./stripPrefix-e3f3bf0d.js";import{g as lt,Z as Or,a as Lr,G as Pr}from"./routes-17d4ed4d.js";import{u as dt}from"./index-0bfe7458.js";import{A as Mr,S as Br}from"./AILineageExplorerLogo-4258f229.js";var Fr=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ht=_.forwardRef(function(e,n){var t,r=e.prefixCls,o=r===void 0?"rc-switch":r,s=e.className,i=e.checked,a=e.defaultChecked,c=e.disabled,l=e.loadingIcon,d=e.checkedChildren,h=e.unCheckedChildren,f=e.onClick,p=e.onChange,g=e.onKeyDown,v=Xt(e,Fr),w=dt(!1,{value:i,defaultValue:a}),y=Kt(w,2),b=y[0],k=y[1];function x(N,V){var T=b;return c||(T=N,k(T),p==null||p(T,V)),T}function L(N){N.which===bn.LEFT?x(!1,N):N.which===bn.RIGHT&&x(!0,N),g==null||g(N)}function E(N){var V=x(!b,N);f==null||f(V,N)}var P=H(o,s,(t={},vn(t,"".concat(o,"-checked"),b),vn(t,"".concat(o,"-disabled"),c),t));return _.createElement("button",Qt({},v,{type:"button",role:"switch","aria-checked":b,disabled:c,className:P,ref:n,onKeyDown:L,onClick:E}),l,_.createElement("span",{className:"".concat(o,"-inner")},_.createElement("span",{className:"".concat(o,"-inner-checked")},d),_.createElement("span",{className:"".concat(o,"-inner-unchecked")},h)))});ht.displayName="Switch";const Gr=e=>{const{componentCls:n,trackHeightSM:t,trackPadding:r,trackMinWidthSM:o,innerMinMarginSM:s,innerMaxMarginSM:i,handleSizeSM:a,calc:c}=e,l=`${n}-inner`,d=fe(c(a).add(c(r).mul(2)).equal()),h=fe(c(i).mul(2).equal());return{[n]:{[`&${n}-small`]:{minWidth:o,height:t,lineHeight:fe(t),[`${n}-inner`]:{paddingInlineStart:i,paddingInlineEnd:s,[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${h})`,marginInlineEnd:`calc(100% - ${d} + ${h})`},[`${l}-unchecked`]:{marginTop:c(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${n}-handle`]:{width:a,height:a},[`${n}-loading-icon`]:{top:c(c(a).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${n}-checked`]:{[`${n}-inner`]:{paddingInlineStart:s,paddingInlineEnd:i,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${h})`,marginInlineEnd:`calc(-100% + ${d} - ${h})`}},[`${n}-handle`]:{insetInlineStart:`calc(100% - ${fe(c(a).add(r).equal())})`}},[`&:not(${n}-disabled):active`]:{[`&:not(${n}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:c(e.marginXXS).div(2).equal(),marginInlineEnd:c(e.marginXXS).mul(-1).div(2).equal()}},[`&${n}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:c(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(e.marginXXS).div(2).equal()}}}}}}},Vr=e=>{const{componentCls:n,handleSize:t,calc:r}=e;return{[n]:{[`${n}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(t).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${n}-checked ${n}-loading-icon`]:{color:e.switchColor}}}},Rr=e=>{const{componentCls:n,trackPadding:t,handleBg:r,handleShadow:o,handleSize:s,calc:i}=e,a=`${n}-handle`;return{[n]:{[a]:{position:"absolute",top:t,insetInlineStart:t,width:s,height:s,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:i(s).div(2).equal(),boxShadow:o,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${n}-checked ${a}`]:{insetInlineStart:`calc(100% - ${fe(i(s).add(t).equal())})`},[`&:not(${n}-disabled):active`]:{[`${a}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${n}-checked ${a}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},Ar=e=>{const{componentCls:n,trackHeight:t,trackPadding:r,innerMinMargin:o,innerMaxMargin:s,handleSize:i,calc:a}=e,c=`${n}-inner`,l=fe(a(i).add(a(r).mul(2)).equal()),d=fe(a(s).mul(2).equal());return{[n]:{[c]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:s,paddingInlineEnd:o,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${c}-checked, ${c}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${l} - ${d})`,marginInlineEnd:`calc(100% - ${l} + ${d})`},[`${c}-unchecked`]:{marginTop:a(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${n}-checked ${c}`]:{paddingInlineStart:o,paddingInlineEnd:s,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${l} + ${d})`,marginInlineEnd:`calc(-100% + ${l} - ${d})`}},[`&:not(${n}-disabled):active`]:{[`&:not(${n}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:a(r).mul(2).equal(),marginInlineEnd:a(r).mul(-1).mul(2).equal()}},[`&${n}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:a(r).mul(-1).mul(2).equal(),marginInlineEnd:a(r).mul(2).equal()}}}}}},Dr=e=>{const{componentCls:n,trackHeight:t,trackMinWidth:r}=e;return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},er(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:t,lineHeight:`${fe(t)}`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${n}-disabled)`]:{background:e.colorTextTertiary}}),nr(e)),{[`&${n}-checked`]:{background:e.switchColor,[`&:hover:not(${n}-disabled)`]:{background:e.colorPrimaryHover}},[`&${n}-loading, &${n}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${n}-rtl`]:{direction:"rtl"}})}},zr=e=>{const{fontSize:n,lineHeight:t,controlHeight:r,colorWhite:o}=e,s=n*t,i=r/2,a=2,c=s-a*2,l=i-a*2;return{trackHeight:s,trackHeightSM:i,trackMinWidth:c*2+a*4,trackMinWidthSM:l*2+a*2,trackPadding:a,handleBg:o,handleSize:c,handleSizeSM:l,handleShadow:`0 2px 4px 0 ${new tr("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:c/2,innerMaxMargin:c+a+a*2,innerMinMarginSM:l/2,innerMaxMarginSM:l+a+a*2}},Hr=Zt("Switch",e=>{const n=Jt(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Dr(n),Ar(n),Rr(n),Vr(n),Gr(n)]},zr);var Wr=globalThis&&globalThis.__rest||function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t};const ut=_.forwardRef((e,n)=>{const{prefixCls:t,size:r,disabled:o,loading:s,className:i,rootClassName:a,style:c,checked:l,value:d,defaultChecked:h,defaultValue:f,onChange:p}=e,g=Wr(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[v,w]=dt(!1,{value:l??d,defaultValue:h??f}),{getPrefixCls:y,direction:b,switch:k}=_.useContext(rr),x=_.useContext(or),L=(o??x)||s,E=y("switch",t),P=_.createElement("div",{className:`${E}-handle`},s&&_.createElement(ar,{className:`${E}-loading-icon`})),[N,V,T]=Hr(E),oe=sr(r),pe=H(k==null?void 0:k.className,{[`${E}-small`]:oe==="small",[`${E}-loading`]:s,[`${E}-rtl`]:b==="rtl"},i,a,V,T),I=Object.assign(Object.assign({},k==null?void 0:k.style),c),O=function(){w(arguments.length<=0?void 0:arguments[0]),p==null||p.apply(void 0,arguments)};return N(_.createElement(ir,{component:"Switch"},_.createElement(ht,Object.assign({},g,{checked:v,onChange:O,prefixCls:E,className:pe,style:I,disabled:L,ref:n,loadingIcon:P}))))});ut.__ANT_SWITCH=!0;const Ur=ut;var Q;(function(e){e.Lines="lines",e.Dots="dots",e.Cross="cross"})(Q||(Q={}));function qr({color:e,dimensions:n,lineWidth:t}){return we.createElement("path",{stroke:e,strokeWidth:t,d:`M${n[0]/2} 0 V${n[1]} M0 ${n[1]/2} H${n[0]}`})}function Yr({color:e,radius:n}){return we.createElement("circle",{cx:n,cy:n,r:n,fill:e})}const Xr={[Q.Dots]:"#91919a",[Q.Lines]:"#eee",[Q.Cross]:"#e2e2e2"},Kr={[Q.Dots]:1,[Q.Lines]:1,[Q.Cross]:6},Qr=e=>({transform:e.transform,patternId:`pattern-${e.rfId}`});function ft({id:e,variant:n=Q.Dots,gap:t=20,size:r,lineWidth:o=1,offset:s=2,color:i,style:a,className:c}){const l=_.useRef(null),{transform:d,patternId:h}=tn(Qr,fr),f=i||Xr[n],p=r||Kr[n],g=n===Q.Dots,v=n===Q.Cross,w=Array.isArray(t)?t:[t,t],y=[w[0]*d[2]||1,w[1]*d[2]||1],b=p*d[2],k=v?[b,b]:y,x=g?[b/s,b/s]:[k[0]/s,k[1]/s];return we.createElement("svg",{className:pr(["react-flow__background",c]),style:{...a,position:"absolute",width:"100%",height:"100%",top:0,left:0},ref:l,"data-testid":"rf__background"},we.createElement("pattern",{id:h+e,x:d[0]%y[0],y:d[1]%y[1],width:y[0],height:y[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${x[0]},-${x[1]})`},g?we.createElement(Yr,{color:f,radius:b/s}):we.createElement(qr,{dimensions:k,color:f,lineWidth:o})),we.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${h+e})`}))}ft.displayName="Background";var Zr=_.memo(ft);async function Jr(e,n){e||(e="ClimateGPT-13B"),Wn(e);const t=`${mr()}/${n}`,r=await fetch(t,{});return r.status===404||r.status===401?{nodes:[],edges:[]}:(await r.json()).graph}async function eo(e,n){Wn(e);const t=`${gr()}/${n}`,r=await fetch(t,{});return r.status===404||r.status===401?{nodes:[],edges:[]}:(await r.json()).graph}const no="_container_icmxu_8",to="_topBar_icmxu_19",ro="_vcModeOn_icmxu_32",oo="_labelContainer_icmxu_36",so="_nodeType_icmxu_41",io="_nodeLabel_icmxu_47",ao="_nodeTypeLarge_icmxu_54",co="_topBarIsVCUnknown_icmxu_68",lo="_bottomBarIsVCUnknown_icmxu_70",ho="_topBarIsVCNone_icmxu_73",uo="_bottomBarIsVCNone_icmxu_77",fo="_zoomedOutFar_icmxu_82",po="_icon_icmxu_82",mo="_badge_icmxu_87",go="_iconContainer_icmxu_94",wo="_vcNone_icmxu_105",vo="_containerIsPill_icmxu_119",bo="_displayType_icmxu_123",yo="_displayTypeZoomed_icmxu_127",ko="_bottomBar_icmxu_70",Eo="_clickableArea_icmxu_142",No="_flex_icmxu_145",_o="_benchmark_icmxu_149",xo="_active_icmxu_174",Co="_benchmarkVc_icmxu_179",Io="_benchmarkNone_icmxu_182",So="_vcTrusted_icmxu_191",$o="_vcUntrusted_icmxu_193",jo="_vcUnknown_icmxu_195",C={"selected-node":"_selected-node_icmxu_5",container:no,topBar:to,vcModeOn:ro,labelContainer:oo,nodeType:so,nodeLabel:io,nodeTypeLarge:ao,topBarIsVCUnknown:co,bottomBarIsVCUnknown:lo,topBarIsVCNone:ho,bottomBarIsVCNone:uo,zoomedOutFar:fo,icon:po,badge:mo,iconContainer:go,vcNone:wo,containerIsPill:vo,displayType:bo,displayTypeZoomed:yo,bottomBar:ko,clickableArea:Eo,flex:No,benchmark:_o,active:xo,benchmarkVc:Co,benchmarkNone:Io,vcTrusted:So,vcUntrusted:$o,vcUnknown:jo},To={DataIcon:qn,ModelIcon:Yn,ComputationIcon:Xn,DocumentIcon:Kn,TokenIcon:Qn,AttributionIcon:Zn,BenchmarkIcon:Jn,Benchmark_resultIcon:et,CertificateIcon:nt,CodeIcon:tt,DatabaseIcon:rt,DatasetIcon:ot,Media_fileIcon:st},Oo=e=>To[e]||null,Lo=({top:e,bottom:n})=>({"--node-color-top":e,"--node-color-bottom":n}),Po=e=>e.transform[2]>=Or,Mo=e=>e.transform[2]>=Lr,Bo=({id:e,data:n})=>{const{nodeColor:t,label:r,icon:o,sourcePosition:s,displayType:i,typeLabel:a,governanceNodes:c,isSourceForConnection:l,isTargetForConnection:d,benchmarks:h}=n;wr();const f=De(),p=ze(),[g,v]=dn(),w=p.nodeCid,{graphState:y,vcsToGraph:b,governanceFilter:k,setGovernanceFilter:x,sinks:L,activeSink:E}=Se(M=>({graphState:M.graphState,vcsToGraph:M.vcsToGraph,governanceFilter:M.governanceFilter,setGovernanceFilter:M.setGovernanceFilter,sinks:M.sinks,activeSink:M.activeSink})),P=E?L[E]:null,N=P?P.nodes.has(e)||E===e:!1,V=new Map(h==null?void 0:h.map(M=>[M.id,hn(M.id,b)])),T=Un(Array.from(V.values())),oe=h?h.find(M=>M.id===w):!1,pe=M=>{let de=1;return P&&!w&&(de=N?1:.1),P&&w&&(P.nodes.has(w)||E===w?N?oe?de=1:de=.5:de=.1:de=oe?1:.1),!P&&w&&(de=oe?1:.1),k?{opacity:k.find(qt=>c.some(Yt=>Yt.id===qt))?1:.2}:{opacity:de}},I={"vc-off":{top:t,bottom:"white"},"vc-on":{top:Oe[T],bottom:Oe[T]}},O=y==="vc-on",J={...Lo(I[y])},R=H(C.container,{[C.vcModeOn]:O,[C.vcTrusted]:O&&T==="trusted",[C.vcUntrusted]:O&&T==="untrusted",[C.vcUnknown]:O&&T==="unknown",[C.vcNone]:O&&T==="none"}),se=H(C.topBar,{[C.topBarIsVCUnknown]:T==="unknown"&&y==="vc-on",[C.topBarIsVCNone]:T==="none"&&y==="vc-on"}),$=H(C.bottomBar,{[C.bottomBarIsVCUnknown]:T==="unknown"&&y==="vc-on",[C.bottomBarIsVCNone]:T==="none"&&y==="vc-on"});H(C.zoomedOut,{});const j=Oo(o),Y=r.replace(/.{1,20}/g,`$&
2
  `);_.useEffect(()=>{w&&x(null)},[w]);const X={top:"30px"},D=tn(Po);tn(Mo);const[me,wn]=_.useState(!0);return m.jsxs(He.div,{style:J,className:R,animate:{...pe()},initial:{opacity:0},transition:{duration:1},children:[m.jsxs("div",{className:C.clickableArea,children:[m.jsxs("div",{className:se,children:[m.jsx("span",{className:C.iconContainer,children:j&&m.jsx(j,{className:C.icon})}),m.jsxs("div",{className:C.labelContainer,children:[m.jsx("div",{className:C.nodeType,style:{visibility:D?"visible":"hidden"},children:i}),m.jsx("div",{className:C.nodeLabel,style:{visibility:D?"visible":"hidden"},children:Y}),m.jsx("div",{className:C.nodeTypeLarge,style:{display:D?"none":"flex"},children:i})]})]}),m.jsx("div",{className:$,style:{display:me?"block":"none"},children:h==null?void 0:h.map((M,de)=>{const ke=V.get(M.id);return m.jsx("div",{"data-benchmark":M.id,style:{"--node-color-top":O?Oe[ke]:t},className:H(C.benchmark,{[C.active]:w===M.id,[C.benchmarkVc]:O,[C.benchmarkTrusted]:O&&ke==="trusted",[C.benchmarkUntrusted]:O&&ke==="untrusted",[C.benchmarkUnknown]:O&&ke==="unknown",[C.benchmarkNone]:O&&ke==="none"}),onClick:()=>{w!==M.id&&f(lt(`${p.owner}/${p.repo}`)+"/"+M.id+`?${g.toString()}`)},children:M.data.label},M.id)})})]}),d&&m.jsx(Re,{type:"target",position:We.Left,id:"left",style:X}),l&&m.jsx(Re,{type:"source",position:s,id:"source",style:X})]})},Fo=_.memo(Bo),Go="_edge_1ljkl_4",Vo="_icon_1ljkl_9",Ro="_iconVisible_1ljkl_16",Ao={edge:Go,icon:Vo,iconVisible:Ro};function Do(e){var x,L,E,P;const n=ze(),{governanceFilter:t,graphState:r,sinks:o,activeSink:s,getNodeFromFullGraph:i}=Se(N=>({governanceFilter:N.governanceFilter,graphState:N.graphState,sinks:N.sinks,activeSink:N.activeSink,getNodeFromFullGraph:N.getNodeFromFullGraph})),a=s?o[s]:null,c=a?a.edges.has(e.id)||s===e.id:!1;let l=n.nodeCid;if(l){const N=i(l);l=(x=N==null?void 0:N.data.model)!=null&&x.id?`${N.data.model.id}-benchmarks`:l}const[d]=vr(e),{vcsToGraph:h}=Se(N=>({vcsToGraph:N.vcsToGraph}));let f=br(e.id,h);if((L=e.data)!=null&&L.benchmarks){const N=new Map(e.data.benchmarks.map(V=>[V,hn(V,h)]));f=Un(Array.from(N.values()))}const p=r==="vc-on",g=p?kr[f]:"#475569",v={...e.style},w=t,y=((P=(E=e.data)==null?void 0:E.benchmarks)==null?void 0:P.includes(l))||l===e.target||l===e.source,b=l&&!y||w;v.stroke=g,f==="none"&&p&&(v.strokeDasharray="5");let k=1;return a&&!l&&(k=c?1:.05),a&&l&&(a.nodes.has(l)||s==l?c?y?k=1:k=.5:k=.05:k=b?.05:1),!a&&l&&(k=b?.05:1),w&&(k=.05),m.jsx(He.g,{className:Ao.edge,animate:{opacity:k},initial:{opacity:0},transition:{duration:1},children:m.jsx(yr,{path:d,style:v})})}const zo="_container_mx72m_1",Ho="_dim_mx72m_9",Wo="_sidebar_mx72m_12",Uo="_switchContainer_mx72m_21",qo="_modelFilterContainer_mx72m_32",Yo="_graphNameHeader_mx72m_40",Xo="_graphNameHeaderImg_mx72m_63",je={container:zo,dim:Ho,sidebar:Wo,switchContainer:Uo,modelFilterContainer:qo,graphNameHeader:Yo,graphNameHeaderImg:Xo},Ko="_legendContainer_132y0_1",Qo="_switchContainer_132y0_18",Zo="_isActive_132y0_34",Jo="_clipContainer_132y0_38",es="_contentContainer_132y0_42",ns="_icon_132y0_56",ts="_iconLabel_132y0_60",rs="_icons_132y0_70",os="_switchLabel_132y0_83",B={legendContainer:Ko,switchContainer:Qo,isActive:Zo,clipContainer:Jo,contentContainer:es,icon:ns,iconLabel:ts,icons:rs,switchLabel:os},ss=({className:e})=>m.jsx("svg",{className:`${e}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:m.jsx("circle",{cx:"16",cy:"16",r:"16",fill:"#26D958"})}),is=({className:e})=>m.jsx("svg",{className:`${e}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 33 33",children:m.jsx("circle",{cx:"16.3206",cy:"16",r:"15",fill:"white",stroke:"#475569",strokeWidth:"2",strokeDasharray:"15 5"})}),as=({className:e})=>m.jsx("svg",{className:`${e}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 33",children:m.jsx("circle",{cx:"16",cy:"16.5285",r:"16",fill:"#E2E8F0"})}),cs=({className:e})=>m.jsx("svg",{className:`${e}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 33",children:m.jsx("circle",{cx:"16",cy:"16.9263",r:"16",fill:"#FF6682"})}),ls=({selected:e,onClick:n})=>{const t=H(B.legendContainer,{[B.isActive]:e});return H(B.pill,{[B.isActive]:!0}),H(B.secondLabel,{[B.secondLabelActive]:e}),m.jsxs(m.Fragment,{children:[m.jsx("div",{className:t,children:m.jsxs("div",{className:B.icons,children:[m.jsxs("span",{className:B.iconLabel,children:["Trusted",m.jsx(ss,{className:B.icon})]}),m.jsxs("span",{className:B.iconLabel,children:["Untrusted ",m.jsx(cs,{className:B.icon})]}),m.jsxs("span",{className:B.iconLabel,children:["Unknown ",m.jsx(as,{className:B.icon})]}),m.jsxs("span",{className:B.iconLabel,children:["None ",m.jsx(is,{className:B.icon})]})]})}),m.jsxs("div",{className:B.switchContainer,children:[m.jsx("div",{className:B.clipContainer,children:m.jsx("div",{className:B.contentContainer,children:m.jsx("span",{className:B.switchLabel,children:"Verified Certificate View"})})}),m.jsx(Hn,{theme:{components:{Switch:{handleSize:8,trackPadding:5,trackHeight:18,trackMinWidth:33,colorPrimary:be.darkBlue,colorTextQuaternary:"#CECECF",colorPrimaryBorder:"rgb(0, 0, 0)",colorPrimaryHover:be.violet,handleBg:"rgb(255, 255, 255)",colorTextTertiary:"rgba(30, 30, 30, 0.45)",colorText:"rgba(110, 110, 110, 0.88)",colorTextLightSolid:"rgb(225, 225, 225)",colorWhite:"rgb(255, 255, 255)",opacityLoading:1}}},children:m.jsx(Ur,{defaultChecked:e,onChange:n})})]})]})},ds="_container_1e22t_5",hs="_topBar_1e22t_18",us="_vcModeOn_1e22t_35",fs="_selectedNode_1e22t_41",ps="_topBarIsVCNone_1e22t_45",ms="_bottomBarIsVCUnknown_1e22t_49",gs="_bottomBarIsVCNone_1e22t_56",ws="_badge_1e22t_65",vs="_iconContainer_1e22t_73",bs="_icon_1e22t_73",ys="_clickableArea_1e22t_94",ks="_flex_1e22t_100",ne={container:ds,topBar:hs,vcModeOn:us,selectedNode:fs,topBarIsVCNone:ps,bottomBarIsVCUnknown:ms,bottomBarIsVCNone:gs,badge:ws,iconContainer:vs,icon:bs,clickableArea:ys,flex:ks},Es={DataIcon:qn,ModelIcon:Yn,ComputationIcon:Xn,DocumentIcon:Kn,TokenIcon:Qn,AttributionIcon:Zn,BenchmarkIcon:Jn,Benchmark_resultIcon:et,CertificateIcon:nt,CodeIcon:tt,DatabaseIcon:rt,DatasetIcon:ot,Media_fileIcon:st},Ns=e=>Es[e]||null,_s=({top:e,bottom:n})=>({"--node-color-top":e,"--node-color-bottom":n}),xs=({id:e,data:n})=>{const{nodeColor:t,icon:r,sourcePosition:o,governanceNodes:s,isSourceForConnection:i,isTargetForConnection:a}=n,c=De(),l=ze(),[d,h]=dn(),f=l.nodeCid,{graphState:p,vcsToGraph:g,governanceFilter:v,setGovernanceFilter:w,sinks:y,activeSink:b,getNodeFromFullGraph:k}=Se($=>({graphState:$.graphState,vcsToGraph:$.vcsToGraph,governanceFilter:$.governanceFilter,setGovernanceFilter:$.setGovernanceFilter,sinks:$.sinks,activeSink:$.activeSink,getNodeFromFullGraph:$.getNodeFromFullGraph})),x=b?y[b]:null,L=x?x.nodes.has(e)||b===e:!1,E=f===e,P=hn(e,g),N=$=>{var Y;let j=1;if(x&&!f&&(j=L?1:.1),x&&f){const X=k(f),D=(Y=X==null?void 0:X.data.model)!=null&&Y.id?`${X.data.model.id}-benchmarks`:f;x.nodes.has(D)||b===D?L?D===$?j=1:j=.5:j=.1:j=D!==$?.1:1}return!x&&f&&(j=f!==$?.1:1),v?{opacity:v.find(D=>s.some(me=>me.id===D))?1:.2}:{opacity:j}},V=$=>{$.altKey?h(j=>({...j,sourceNode:e})):E||c(lt(`${l.owner}/${l.repo}`)+"/"+e+`?${d.toString()}`)},T={"vc-off":{top:t,bottom:"white"},"vc-on":{top:Oe[P],bottom:Oe[P]}},oe={..._s(T[p])},pe=H(ne.container,{[ne.selectedNode]:E,[ne.vcModeOn]:p==="vc-on"}),I=H(ne.topBar,{[ne.topBarIsVCUnknown]:P==="unknown"&&p==="vc-on",[ne.topBarIsVCNone]:P==="none"&&p==="vc-on"}),O=Ns(r),J=$=>{const j=[...v||[]],Y=j.indexOf($);Y>-1?j.splice(Y,1):j.push($),j.length===0?w(null):w(j)},R=()=>{w(null)};_.useEffect(()=>{f&&w(null)},[f]);const se={top:"50%"};return m.jsxs(He.div,{style:oe,className:pe,animate:{...N(e)},initial:{opacity:0},transition:{duration:1},children:[m.jsx("div",{className:"popup-container"}),m.jsx("div",{className:ne.badge,children:s.length>0&&m.jsx(Er,{governanceNodes:s,onGovernanceSelect:J,onGovernanceClose:R,governanceFilter:v})}),m.jsx("div",{className:ne.clickableArea,onClick:V,children:m.jsx("div",{className:I,children:m.jsx("span",{className:ne.iconContainer,children:O&&m.jsx(O,{className:ne.icon})})})}),a&&m.jsx(Re,{type:"target",position:We.Left,id:"left",style:se}),i&&m.jsx(Re,{type:"source",position:o,id:"source",style:se})]})},Cs=_.memo(xs);var Is="\0",ge="\0",kn="",A,ve,z,Pe,Ne,_e,U,te,he,re,ue,ie,ae,xe,Ce,ce,K,Me,rn,Dn;let Ss=(Dn=class{constructor(n){S(this,Me);S(this,A,!0);S(this,ve,!1);S(this,z,!1);S(this,Pe,void 0);S(this,Ne,()=>{});S(this,_e,()=>{});S(this,U,{});S(this,te,{});S(this,he,{});S(this,re,{});S(this,ue,{});S(this,ie,{});S(this,ae,{});S(this,xe,0);S(this,Ce,0);S(this,ce,void 0);S(this,K,void 0);n&&(W(this,A,n.hasOwnProperty("directed")?n.directed:!0),W(this,ve,n.hasOwnProperty("multigraph")?n.multigraph:!1),W(this,z,n.hasOwnProperty("compound")?n.compound:!1)),u(this,z)&&(W(this,ce,{}),W(this,K,{}),u(this,K)[ge]={})}isDirected(){return u(this,A)}isMultigraph(){return u(this,ve)}isCompound(){return u(this,z)}setGraph(n){return W(this,Pe,n),this}graph(){return u(this,Pe)}setDefaultNodeLabel(n){return W(this,Ne,n),typeof n!="function"&&W(this,Ne,()=>n),this}nodeCount(){return u(this,xe)}nodes(){return Object.keys(u(this,U))}sources(){var n=this;return this.nodes().filter(t=>Object.keys(u(n,te)[t]).length===0)}sinks(){var n=this;return this.nodes().filter(t=>Object.keys(u(n,re)[t]).length===0)}setNodes(n,t){var r=arguments,o=this;return n.forEach(function(s){r.length>1?o.setNode(s,t):o.setNode(s)}),this}setNode(n,t){return u(this,U).hasOwnProperty(n)?(arguments.length>1&&(u(this,U)[n]=t),this):(u(this,U)[n]=arguments.length>1?t:u(this,Ne).call(this,n),u(this,z)&&(u(this,ce)[n]=ge,u(this,K)[n]={},u(this,K)[ge][n]=!0),u(this,te)[n]={},u(this,he)[n]={},u(this,re)[n]={},u(this,ue)[n]={},++$e(this,xe)._,this)}node(n){return u(this,U)[n]}hasNode(n){return u(this,U).hasOwnProperty(n)}removeNode(n){var t=this;if(u(this,U).hasOwnProperty(n)){var r=o=>t.removeEdge(u(t,ie)[o]);delete u(this,U)[n],u(this,z)&&(ee(this,Me,rn).call(this,n),delete u(this,ce)[n],this.children(n).forEach(function(o){t.setParent(o)}),delete u(this,K)[n]),Object.keys(u(this,te)[n]).forEach(r),delete u(this,te)[n],delete u(this,he)[n],Object.keys(u(this,re)[n]).forEach(r),delete u(this,re)[n],delete u(this,ue)[n],--$e(this,xe)._}return this}setParent(n,t){if(!u(this,z))throw new Error("Cannot set parent in a non-compound graph");if(t===void 0)t=ge;else{t+="";for(var r=t;r!==void 0;r=this.parent(r))if(r===n)throw new Error("Setting "+t+" as parent of "+n+" would create a cycle");this.setNode(t)}return this.setNode(n),ee(this,Me,rn).call(this,n),u(this,ce)[n]=t,u(this,K)[t][n]=!0,this}parent(n){if(u(this,z)){var t=u(this,ce)[n];if(t!==ge)return t}}children(n=ge){if(u(this,z)){var t=u(this,K)[n];if(t)return Object.keys(t)}else{if(n===ge)return this.nodes();if(this.hasNode(n))return[]}}predecessors(n){var t=u(this,he)[n];if(t)return Object.keys(t)}successors(n){var t=u(this,ue)[n];if(t)return Object.keys(t)}neighbors(n){var t=this.predecessors(n);if(t){const o=new Set(t);for(var r of this.successors(n))o.add(r);return Array.from(o.values())}}isLeaf(n){var t;return this.isDirected()?t=this.successors(n):t=this.neighbors(n),t.length===0}filterNodes(n){var t=new this.constructor({directed:u(this,A),multigraph:u(this,ve),compound:u(this,z)});t.setGraph(this.graph());var r=this;Object.entries(u(this,U)).forEach(function([i,a]){n(i)&&t.setNode(i,a)}),Object.values(u(this,ie)).forEach(function(i){t.hasNode(i.v)&&t.hasNode(i.w)&&t.setEdge(i,r.edge(i))});var o={};function s(i){var a=r.parent(i);return a===void 0||t.hasNode(a)?(o[i]=a,a):a in o?o[a]:s(a)}return u(this,z)&&t.nodes().forEach(i=>t.setParent(i,s(i))),t}setDefaultEdgeLabel(n){return W(this,_e,n),typeof n!="function"&&W(this,_e,()=>n),this}edgeCount(){return u(this,Ce)}edges(){return Object.values(u(this,ie))}setPath(n,t){var r=this,o=arguments;return n.reduce(function(s,i){return o.length>1?r.setEdge(s,i,t):r.setEdge(s,i),i}),this}setEdge(){var n,t,r,o,s=!1,i=arguments[0];typeof i=="object"&&i!==null&&"v"in i?(n=i.v,t=i.w,r=i.name,arguments.length===2&&(o=arguments[1],s=!0)):(n=i,t=arguments[1],r=arguments[3],arguments.length>2&&(o=arguments[2],s=!0)),n=""+n,t=""+t,r!==void 0&&(r=""+r);var a=Te(u(this,A),n,t,r);if(u(this,ae).hasOwnProperty(a))return s&&(u(this,ae)[a]=o),this;if(r!==void 0&&!u(this,ve))throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(t),u(this,ae)[a]=s?o:u(this,_e).call(this,n,t,r);var c=$s(u(this,A),n,t,r);return n=c.v,t=c.w,Object.freeze(c),u(this,ie)[a]=c,En(u(this,he)[t],n),En(u(this,ue)[n],t),u(this,te)[t][a]=c,u(this,re)[n][a]=c,$e(this,Ce)._++,this}edge(n,t,r){var o=arguments.length===1?Ye(u(this,A),arguments[0]):Te(u(this,A),n,t,r);return u(this,ae)[o]}edgeAsObj(){const n=this.edge(...arguments);return typeof n!="object"?{label:n}:n}hasEdge(n,t,r){var o=arguments.length===1?Ye(u(this,A),arguments[0]):Te(u(this,A),n,t,r);return u(this,ae).hasOwnProperty(o)}removeEdge(n,t,r){var o=arguments.length===1?Ye(u(this,A),arguments[0]):Te(u(this,A),n,t,r),s=u(this,ie)[o];return s&&(n=s.v,t=s.w,delete u(this,ae)[o],delete u(this,ie)[o],Nn(u(this,he)[t],n),Nn(u(this,ue)[n],t),delete u(this,te)[t][o],delete u(this,re)[n][o],$e(this,Ce)._--),this}inEdges(n,t){var r=u(this,te)[n];if(r){var o=Object.values(r);return t?o.filter(s=>s.v===t):o}}outEdges(n,t){var r=u(this,re)[n];if(r){var o=Object.values(r);return t?o.filter(s=>s.w===t):o}}nodeEdges(n,t){var r=this.inEdges(n,t);if(r)return r.concat(this.outEdges(n,t))}},A=new WeakMap,ve=new WeakMap,z=new WeakMap,Pe=new WeakMap,Ne=new WeakMap,_e=new WeakMap,U=new WeakMap,te=new WeakMap,he=new WeakMap,re=new WeakMap,ue=new WeakMap,ie=new WeakMap,ae=new WeakMap,xe=new WeakMap,Ce=new WeakMap,ce=new WeakMap,K=new WeakMap,Me=new WeakSet,rn=function(n){delete u(this,K)[u(this,ce)[n]][n]},Dn);function En(e,n){e[n]?e[n]++:e[n]=1}function Nn(e,n){--e[n]||delete e[n]}function Te(e,n,t,r){var o=""+n,s=""+t;if(!e&&o>s){var i=o;o=s,s=i}return o+kn+s+kn+(r===void 0?Is:r)}function $s(e,n,t,r){var o=""+n,s=""+t;if(!e&&o>s){var i=o;o=s,s=i}var a={v:o,w:s};return r&&(a.name=r),a}function Ye(e,n){return Te(e,n.v,n.w,n.name)}var un=Ss,js="2.1.13",Ts={Graph:un,version:js},Os=un,Ls={write:Ps,read:Fs};function Ps(e){var n={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:Ms(e),edges:Bs(e)};return e.graph()!==void 0&&(n.value=structuredClone(e.graph())),n}function Ms(e){return e.nodes().map(function(n){var t=e.node(n),r=e.parent(n),o={v:n};return t!==void 0&&(o.value=t),r!==void 0&&(o.parent=r),o})}function Bs(e){return e.edges().map(function(n){var t=e.edge(n),r={v:n.v,w:n.w};return n.name!==void 0&&(r.name=n.name),t!==void 0&&(r.value=t),r})}function Fs(e){var n=new Os(e.options).setGraph(e.value);return e.nodes.forEach(function(t){n.setNode(t.v,t.value),t.parent&&n.setParent(t.v,t.parent)}),e.edges.forEach(function(t){n.setEdge({v:t.v,w:t.w,name:t.name},t.value)}),n}var Gs=Vs;function Vs(e){var n={},t=[],r;function o(s){n.hasOwnProperty(s)||(n[s]=!0,r.push(s),e.successors(s).forEach(o),e.predecessors(s).forEach(o))}return e.nodes().forEach(function(s){r=[],o(s),r.length&&t.push(r)}),t}var G,le,Be,on,Fe,sn,Ie,Ve,zn;let Rs=(zn=class{constructor(){S(this,Be);S(this,Fe);S(this,Ie);S(this,G,[]);S(this,le,{})}size(){return u(this,G).length}keys(){return u(this,G).map(function(n){return n.key})}has(n){return u(this,le).hasOwnProperty(n)}priority(n){var t=u(this,le)[n];if(t!==void 0)return u(this,G)[t].priority}min(){if(this.size()===0)throw new Error("Queue underflow");return u(this,G)[0].key}add(n,t){var r=u(this,le);if(n=String(n),!r.hasOwnProperty(n)){var o=u(this,G),s=o.length;return r[n]=s,o.push({key:n,priority:t}),ee(this,Fe,sn).call(this,s),!0}return!1}removeMin(){ee(this,Ie,Ve).call(this,0,u(this,G).length-1);var n=u(this,G).pop();return delete u(this,le)[n.key],ee(this,Be,on).call(this,0),n.key}decrease(n,t){var r=u(this,le)[n];if(t>u(this,G)[r].priority)throw new Error("New priority is greater than current priority. Key: "+n+" Old: "+u(this,G)[r].priority+" New: "+t);u(this,G)[r].priority=t,ee(this,Fe,sn).call(this,r)}},G=new WeakMap,le=new WeakMap,Be=new WeakSet,on=function(n){var t=u(this,G),r=2*n,o=r+1,s=n;r<t.length&&(s=t[r].priority<t[s].priority?r:s,o<t.length&&(s=t[o].priority<t[s].priority?o:s),s!==n&&(ee(this,Ie,Ve).call(this,n,s),ee(this,Be,on).call(this,s)))},Fe=new WeakSet,sn=function(n){for(var t=u(this,G),r=t[n].priority,o;n!==0&&(o=n>>1,!(t[o].priority<r));)ee(this,Ie,Ve).call(this,n,o),n=o},Ie=new WeakSet,Ve=function(n,t){var r=u(this,G),o=u(this,le),s=r[n],i=r[t];r[n]=i,r[t]=s,o[i.key]=n,o[s.key]=t},zn);var pt=Rs,As=pt,mt=zs,Ds=()=>1;function zs(e,n,t,r){return Hs(e,String(n),t||Ds,r||function(o){return e.outEdges(o)})}function Hs(e,n,t,r){var o={},s=new As,i,a,c=function(l){var d=l.v!==i?l.v:l.w,h=o[d],f=t(l),p=a.distance+f;if(f<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+l+" Weight: "+f);p<h.distance&&(h.distance=p,h.predecessor=i,s.decrease(d,p))};for(e.nodes().forEach(function(l){var d=l===n?0:Number.POSITIVE_INFINITY;o[l]={distance:d},s.add(l,d)});s.size()>0&&(i=s.removeMin(),a=o[i],a.distance!==Number.POSITIVE_INFINITY);)r(i).forEach(c);return o}var Ws=mt,Us=qs;function qs(e,n,t){return e.nodes().reduce(function(r,o){return r[o]=Ws(e,o,n,t),r},{})}var gt=Ys;function Ys(e){var n=0,t=[],r={},o=[];function s(i){var a=r[i]={onStack:!0,lowlink:n,index:n++};if(t.push(i),e.successors(i).forEach(function(d){r.hasOwnProperty(d)?r[d].onStack&&(a.lowlink=Math.min(a.lowlink,r[d].index)):(s(d),a.lowlink=Math.min(a.lowlink,r[d].lowlink))}),a.lowlink===a.index){var c=[],l;do l=t.pop(),r[l].onStack=!1,c.push(l);while(i!==l);o.push(c)}}return e.nodes().forEach(function(i){r.hasOwnProperty(i)||s(i)}),o}var Xs=gt,Ks=Qs;function Qs(e){return Xs(e).filter(function(n){return n.length>1||n.length===1&&e.hasEdge(n[0],n[0])})}var Zs=ei,Js=()=>1;function ei(e,n,t){return ni(e,n||Js,t||function(r){return e.outEdges(r)})}function ni(e,n,t){var r={},o=e.nodes();return o.forEach(function(s){r[s]={},r[s][s]={distance:0},o.forEach(function(i){s!==i&&(r[s][i]={distance:Number.POSITIVE_INFINITY})}),t(s).forEach(function(i){var a=i.v===s?i.w:i.v,c=n(i);r[s][a]={distance:c,predecessor:s}})}),o.forEach(function(s){var i=r[s];o.forEach(function(a){var c=r[a];o.forEach(function(l){var d=c[s],h=i[l],f=c[l],p=d.distance+h.distance;p<f.distance&&(f.distance=p,f.predecessor=h.predecessor)})})}),r}function wt(e){var n={},t={},r=[];function o(s){if(t.hasOwnProperty(s))throw new an;n.hasOwnProperty(s)||(t[s]=!0,n[s]=!0,e.predecessors(s).forEach(o),delete t[s],r.push(s))}if(e.sinks().forEach(o),Object.keys(n).length!==e.nodeCount())throw new an;return r}class an extends Error{constructor(){super(...arguments)}}var vt=wt;wt.CycleException=an;var _n=vt,ti=ri;function ri(e){try{_n(e)}catch(n){if(n instanceof _n.CycleException)return!1;throw n}return!0}var bt=oi;function oi(e,n,t){Array.isArray(n)||(n=[n]);var r=e.isDirected()?a=>e.successors(a):a=>e.neighbors(a),o=t==="post"?si:ii,s=[],i={};return n.forEach(a=>{if(!e.hasNode(a))throw new Error("Graph does not have node: "+a);o(a,r,i,s)}),s}function si(e,n,t,r){for(var o=[[e,!1]];o.length>0;){var s=o.pop();s[1]?r.push(s[0]):t.hasOwnProperty(s[0])||(t[s[0]]=!0,o.push([s[0],!0]),yt(n(s[0]),i=>o.push([i,!1])))}}function ii(e,n,t,r){for(var o=[e];o.length>0;){var s=o.pop();t.hasOwnProperty(s)||(t[s]=!0,r.push(s),yt(n(s),i=>o.push(i)))}}function yt(e,n){for(var t=e.length;t--;)n(e[t],t,e);return e}var ai=bt,ci=li;function li(e,n){return ai(e,n,"post")}var di=bt,hi=ui;function ui(e,n){return di(e,n,"pre")}var fi=un,pi=pt,mi=gi;function gi(e,n){var t=new fi,r={},o=new pi,s;function i(c){var l=c.v===s?c.w:c.v,d=o.priority(l);if(d!==void 0){var h=n(c);h<d&&(r[l]=s,o.decrease(l,h))}}if(e.nodeCount()===0)return t;e.nodes().forEach(function(c){o.add(c,Number.POSITIVE_INFINITY),t.setNode(c)}),o.decrease(e.nodes()[0],0);for(var a=!1;o.size()>0;){if(s=o.removeMin(),r.hasOwnProperty(s))t.setEdge(s,r[s]);else{if(a)throw new Error("Input graph is not connected: "+e);a=!0}e.nodeEdges(s).forEach(i)}return t}var wi={components:Gs,dijkstra:mt,dijkstraAll:Us,findCycles:Ks,floydWarshall:Zs,isAcyclic:ti,postorder:ci,preorder:hi,prim:mi,tarjan:gt,topsort:vt},xn=Ts,Z={Graph:xn.Graph,json:Ls,alg:wi,version:xn.version};let vi=class{constructor(){let n={};n._next=n._prev=n,this._sentinel=n}dequeue(){let n=this._sentinel,t=n._prev;if(t!==n)return Cn(t),t}enqueue(n){let t=this._sentinel;n._prev&&n._next&&Cn(n),n._next=t._next,t._next._prev=n,t._next=n,n._prev=t}toString(){let n=[],t=this._sentinel,r=t._prev;for(;r!==t;)n.push(JSON.stringify(r,bi)),r=r._prev;return"["+n.join(", ")+"]"}};function Cn(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function bi(e,n){if(e!=="_next"&&e!=="_prev")return n}var yi=vi;let ki=Z.Graph,Ei=yi;var Ni=xi;let _i=()=>1;function xi(e,n){if(e.nodeCount()<=1)return[];let t=Ii(e,n||_i);return Ci(t.graph,t.buckets,t.zeroIdx).flatMap(o=>e.outEdges(o.v,o.w))}function Ci(e,n,t){let r=[],o=n[n.length-1],s=n[0],i;for(;e.nodeCount();){for(;i=s.dequeue();)Xe(e,n,t,i);for(;i=o.dequeue();)Xe(e,n,t,i);if(e.nodeCount()){for(let a=n.length-2;a>0;--a)if(i=n[a].dequeue(),i){r=r.concat(Xe(e,n,t,i,!0));break}}}return r}function Xe(e,n,t,r,o){let s=o?[]:void 0;return e.inEdges(r.v).forEach(i=>{let a=e.edge(i),c=e.node(i.v);o&&s.push({v:i.v,w:i.w}),c.out-=a,cn(n,t,c)}),e.outEdges(r.v).forEach(i=>{let a=e.edge(i),c=i.w,l=e.node(c);l.in-=a,cn(n,t,l)}),e.removeNode(r.v),s}function Ii(e,n){let t=new ki,r=0,o=0;e.nodes().forEach(a=>{t.setNode(a,{v:a,in:0,out:0})}),e.edges().forEach(a=>{let c=t.edge(a.v,a.w)||0,l=n(a),d=c+l;t.setEdge(a.v,a.w,d),o=Math.max(o,t.node(a.v).out+=l),r=Math.max(r,t.node(a.w).in+=l)});let s=Si(o+r+3).map(()=>new Ei),i=r+1;return t.nodes().forEach(a=>{cn(s,i,t.node(a))}),{graph:t,buckets:s,zeroIdx:i}}function cn(e,n,t){t.out?t.in?e[t.out-t.in+n].enqueue(t):e[e.length-1].enqueue(t):e[0].enqueue(t)}function Si(e){const n=[];for(let t=0;t<e;t++)n.push(t);return n}let kt=Z.Graph;var F={addBorderNode:Fi,addDummyNode:Et,asNonCompoundGraph:ji,buildLayerMatrix:Pi,intersectRect:Li,mapValues:zi,maxRank:Nt,normalizeRanks:Mi,notime:Ri,partition:Gi,pick:Di,predecessorWeights:Oi,range:xt,removeEmptyRanks:Bi,simplify:$i,successorWeights:Ti,time:Vi,uniqueId:_t,zipObject:fn};function Et(e,n,t,r){let o;do o=_t(r);while(e.hasNode(o));return t.dummy=n,e.setNode(o,t),o}function $i(e){let n=new kt().setGraph(e.graph());return e.nodes().forEach(t=>n.setNode(t,e.node(t))),e.edges().forEach(t=>{let r=n.edge(t.v,t.w)||{weight:0,minlen:1},o=e.edge(t);n.setEdge(t.v,t.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})}),n}function ji(e){let n=new kt({multigraph:e.isMultigraph()}).setGraph(e.graph());return e.nodes().forEach(t=>{e.children(t).length||n.setNode(t,e.node(t))}),e.edges().forEach(t=>{n.setEdge(t,e.edge(t))}),n}function Ti(e){let n=e.nodes().map(t=>{let r={};return e.outEdges(t).forEach(o=>{r[o.w]=(r[o.w]||0)+e.edge(o).weight}),r});return fn(e.nodes(),n)}function Oi(e){let n=e.nodes().map(t=>{let r={};return e.inEdges(t).forEach(o=>{r[o.v]=(r[o.v]||0)+e.edge(o).weight}),r});return fn(e.nodes(),n)}function Li(e,n){let t=e.x,r=e.y,o=n.x-t,s=n.y-r,i=e.width/2,a=e.height/2;if(!o&&!s)throw new Error("Not possible to find intersection inside of the rectangle");let c,l;return Math.abs(s)*i>Math.abs(o)*a?(s<0&&(a=-a),c=a*o/s,l=a):(o<0&&(i=-i),c=i,l=i*s/o),{x:t+c,y:r+l}}function Pi(e){let n=xt(Nt(e)+1).map(()=>[]);return e.nodes().forEach(t=>{let r=e.node(t),o=r.rank;o!==void 0&&(n[o][r.order]=t)}),n}function Mi(e){let n=Math.min(...e.nodes().map(t=>{let r=e.node(t).rank;return r===void 0?Number.MAX_VALUE:r}));e.nodes().forEach(t=>{let r=e.node(t);r.hasOwnProperty("rank")&&(r.rank-=n)})}function Bi(e){let n=Math.min(...e.nodes().map(s=>e.node(s).rank)),t=[];e.nodes().forEach(s=>{let i=e.node(s).rank-n;t[i]||(t[i]=[]),t[i].push(s)});let r=0,o=e.graph().nodeRankFactor;Array.from(t).forEach((s,i)=>{s===void 0&&i%o!==0?--r:s!==void 0&&r&&s.forEach(a=>e.node(a).rank+=r)})}function Fi(e,n,t,r){let o={width:0,height:0};return arguments.length>=4&&(o.rank=t,o.order=r),Et(e,"border",o,n)}function Nt(e){return Math.max(...e.nodes().map(n=>{let t=e.node(n).rank;return t===void 0?Number.MIN_VALUE:t}))}function Gi(e,n){let t={lhs:[],rhs:[]};return e.forEach(r=>{n(r)?t.lhs.push(r):t.rhs.push(r)}),t}function Vi(e,n){let t=Date.now();try{return n()}finally{console.log(e+" time: "+(Date.now()-t)+"ms")}}function Ri(e,n){return n()}let Ai=0;function _t(e){var n=++Ai;return toString(e)+n}function xt(e,n,t=1){n==null&&(n=e,e=0);let r=s=>s<n;t<0&&(r=s=>n<s);const o=[];for(let s=e;r(s);s+=t)o.push(s);return o}function Di(e,n){const t={};for(const r of n)e[r]!==void 0&&(t[r]=e[r]);return t}function zi(e,n){let t=n;return typeof n=="string"&&(t=r=>r[n]),Object.entries(e).reduce((r,[o,s])=>(r[o]=t(s,o),r),{})}function fn(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}let Hi=Ni,Wi=F.uniqueId;var Ui={run:qi,undo:Xi};function qi(e){(e.graph().acyclicer==="greedy"?Hi(e,t(e)):Yi(e)).forEach(r=>{let o=e.edge(r);e.removeEdge(r),o.forwardName=r.name,o.reversed=!0,e.setEdge(r.w,r.v,o,Wi("rev"))});function t(r){return o=>r.edge(o).weight}}function Yi(e){let n=[],t={},r={};function o(s){r.hasOwnProperty(s)||(r[s]=!0,t[s]=!0,e.outEdges(s).forEach(i=>{t.hasOwnProperty(i.w)?n.push(i):o(i.w)}),delete t[s])}return e.nodes().forEach(o),n}function Xi(e){e.edges().forEach(n=>{let t=e.edge(n);if(t.reversed){e.removeEdge(n);let r=t.forwardName;delete t.reversed,delete t.forwardName,e.setEdge(n.w,n.v,t,r)}})}let Ki=F;var Qi={run:Zi,undo:ea};function Zi(e){e.graph().dummyChains=[],e.edges().forEach(n=>Ji(e,n))}function Ji(e,n){let t=n.v,r=e.node(t).rank,o=n.w,s=e.node(o).rank,i=n.name,a=e.edge(n),c=a.labelRank;if(s===r+1)return;e.removeEdge(n);let l,d,h;for(h=0,++r;r<s;++h,++r)a.points=[],d={width:0,height:0,edgeLabel:a,edgeObj:n,rank:r},l=Ki.addDummyNode(e,"edge",d,"_d"),r===c&&(d.width=a.width,d.height=a.height,d.dummy="edge-label",d.labelpos=a.labelpos),e.setEdge(t,l,{weight:a.weight},i),h===0&&e.graph().dummyChains.push(l),t=l;e.setEdge(t,o,{weight:a.weight},i)}function ea(e){e.graph().dummyChains.forEach(n=>{let t=e.node(n),r=t.edgeLabel,o;for(e.setEdge(t.edgeObj,r);t.dummy;)o=e.successors(n)[0],e.removeNode(n),r.points.push({x:t.x,y:t.y}),t.dummy==="edge-label"&&(r.x=t.x,r.y=t.y,r.width=t.width,r.height=t.height),n=o,t=e.node(n)})}var Ue={longestPath:na,slack:ta};function na(e){var n={};function t(r){var o=e.node(r);if(n.hasOwnProperty(r))return o.rank;n[r]=!0;var s=Math.min(...e.outEdges(r).map(i=>i==null?Number.POSITIVE_INFINITY:t(i.w)-e.edge(i).minlen));return s===Number.POSITIVE_INFINITY&&(s=0),o.rank=s}e.sources().forEach(t)}function ta(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}var ra=Z.Graph,Ae=Ue.slack,Ct=oa;function oa(e){var n=new ra({directed:!1}),t=e.nodes()[0],r=e.nodeCount();n.setNode(t,{});for(var o,s;sa(n,e)<r;)o=ia(n,e),s=n.hasNode(o.v)?Ae(e,o):-Ae(e,o),aa(n,e,s);return n}function sa(e,n){function t(r){n.nodeEdges(r).forEach(o=>{var s=o.v,i=r===s?o.w:s;!e.hasNode(i)&&!Ae(n,o)&&(e.setNode(i,{}),e.setEdge(r,i,{}),t(i))})}return e.nodes().forEach(t),e.nodeCount()}function ia(e,n){return n.edges().reduce((r,o)=>{let s=Number.POSITIVE_INFINITY;return e.hasNode(o.v)!==e.hasNode(o.w)&&(s=Ae(n,o)),s<r[0]?[s,o]:r},[Number.POSITIVE_INFINITY,null])[1]}function aa(e,n,t){e.nodes().forEach(r=>n.node(r).rank+=t)}var ca=Ct,In=Ue.slack,la=Ue.longestPath,da=Z.alg.preorder,ha=Z.alg.postorder,ua=F.simplify,fa=ye;ye.initLowLimValues=mn;ye.initCutValues=pn;ye.calcCutValue=It;ye.leaveEdge=$t;ye.enterEdge=jt;ye.exchangeEdges=Tt;function ye(e){e=ua(e),la(e);var n=ca(e);mn(n),pn(n,e);for(var t,r;t=$t(n);)r=jt(n,e,t),Tt(n,e,t,r)}function pn(e,n){var t=ha(e,e.nodes());t=t.slice(0,t.length-1),t.forEach(r=>pa(e,n,r))}function pa(e,n,t){var r=e.node(t),o=r.parent;e.edge(t,o).cutvalue=It(e,n,t)}function It(e,n,t){var r=e.node(t),o=r.parent,s=!0,i=n.edge(t,o),a=0;return i||(s=!1,i=n.edge(o,t)),a=i.weight,n.nodeEdges(t).forEach(c=>{var l=c.v===t,d=l?c.w:c.v;if(d!==o){var h=l===s,f=n.edge(c).weight;if(a+=h?f:-f,ga(e,t,d)){var p=e.edge(t,d).cutvalue;a+=h?-p:p}}}),a}function mn(e,n){arguments.length<2&&(n=e.nodes()[0]),St(e,{},1,n)}function St(e,n,t,r,o){var s=t,i=e.node(r);return n[r]=!0,e.neighbors(r).forEach(a=>{n.hasOwnProperty(a)||(t=St(e,n,t,a,r))}),i.low=s,i.lim=t++,o?i.parent=o:delete i.parent,t}function $t(e){return e.edges().find(n=>e.edge(n).cutvalue<0)}function jt(e,n,t){var r=t.v,o=t.w;n.hasEdge(r,o)||(r=t.w,o=t.v);var s=e.node(r),i=e.node(o),a=s,c=!1;s.lim>i.lim&&(a=i,c=!0);var l=n.edges().filter(d=>c===Sn(e,e.node(d.v),a)&&c!==Sn(e,e.node(d.w),a));return l.reduce((d,h)=>In(n,h)<In(n,d)?h:d)}function Tt(e,n,t,r){var o=t.v,s=t.w;e.removeEdge(o,s),e.setEdge(r.v,r.w,{}),mn(e),pn(e,n),ma(e,n)}function ma(e,n){var t=e.nodes().find(o=>!n.node(o).parent),r=da(e,t);r=r.slice(1),r.forEach(o=>{var s=e.node(o).parent,i=n.edge(o,s),a=!1;i||(i=n.edge(s,o),a=!0),n.node(o).rank=n.node(s).rank+(a?i.minlen:-i.minlen)})}function ga(e,n,t){return e.hasEdge(n,t)}function Sn(e,n,t){return t.low<=n.lim&&n.lim<=t.lim}var wa=Ue,Ot=wa.longestPath,va=Ct,ba=fa,ya=ka;function ka(e){switch(e.graph().ranker){case"network-simplex":$n(e);break;case"tight-tree":Na(e);break;case"longest-path":Ea(e);break;default:$n(e)}}var Ea=Ot;function Na(e){Ot(e),va(e)}function $n(e){ba(e)}var _a=xa;function xa(e){let n=Ia(e);e.graph().dummyChains.forEach(t=>{let r=e.node(t),o=r.edgeObj,s=Ca(e,n,o.v,o.w),i=s.path,a=s.lca,c=0,l=i[c],d=!0;for(;t!==o.w;){if(r=e.node(t),d){for(;(l=i[c])!==a&&e.node(l).maxRank<r.rank;)c++;l===a&&(d=!1)}if(!d){for(;c<i.length-1&&e.node(l=i[c+1]).minRank<=r.rank;)c++;l=i[c]}e.setParent(t,l),t=e.successors(t)[0]}})}function Ca(e,n,t,r){let o=[],s=[],i=Math.min(n[t].low,n[r].low),a=Math.max(n[t].lim,n[r].lim),c,l;c=t;do c=e.parent(c),o.push(c);while(c&&(n[c].low>i||a>n[c].lim));for(l=c,c=r;(c=e.parent(c))!==l;)s.push(c);return{path:o.concat(s.reverse()),lca:l}}function Ia(e){let n={},t=0;function r(o){let s=t;e.children(o).forEach(r),n[o]={low:s,lim:t++}}return e.children().forEach(r),n}let ln=F;var Sa={run:$a,cleanup:Oa};function $a(e){let n=ln.addDummyNode(e,"root",{},"_root"),t=ja(e),r=Math.max(...Object.values(t))-1,o=2*r+1;e.graph().nestingRoot=n,e.edges().forEach(i=>e.edge(i).minlen*=o);let s=Ta(e)+1;e.children().forEach(i=>Lt(e,n,o,s,r,t,i)),e.graph().nodeRankFactor=o}function Lt(e,n,t,r,o,s,i){let a=e.children(i);if(!a.length){i!==n&&e.setEdge(n,i,{weight:0,minlen:t});return}let c=ln.addBorderNode(e,"_bt"),l=ln.addBorderNode(e,"_bb"),d=e.node(i);e.setParent(c,i),d.borderTop=c,e.setParent(l,i),d.borderBottom=l,a.forEach(h=>{Lt(e,n,t,r,o,s,h);let f=e.node(h),p=f.borderTop?f.borderTop:h,g=f.borderBottom?f.borderBottom:h,v=f.borderTop?r:2*r,w=p!==g?1:o-s[i]+1;e.setEdge(c,p,{weight:v,minlen:w,nestingEdge:!0}),e.setEdge(g,l,{weight:v,minlen:w,nestingEdge:!0})}),e.parent(i)||e.setEdge(n,c,{weight:0,minlen:o+s[i]})}function ja(e){var n={};function t(r,o){var s=e.children(r);s&&s.length&&s.forEach(i=>t(i,o+1)),n[r]=o}return e.children().forEach(r=>t(r,1)),n}function Ta(e){return e.edges().reduce((n,t)=>n+e.edge(t).weight,0)}function Oa(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,e.edges().forEach(t=>{var r=e.edge(t);r.nestingEdge&&e.removeEdge(t)})}let La=F;var Pa=Ma;function Ma(e){function n(t){let r=e.children(t),o=e.node(t);if(r.length&&r.forEach(n),o.hasOwnProperty("minRank")){o.borderLeft=[],o.borderRight=[];for(let s=o.minRank,i=o.maxRank+1;s<i;++s)jn(e,"borderLeft","_bl",t,o,s),jn(e,"borderRight","_br",t,o,s)}}e.children().forEach(n)}function jn(e,n,t,r,o,s){let i={width:0,height:0,rank:s,borderType:n},a=o[n][s-1],c=La.addDummyNode(e,"border",i,t);o[n][s]=c,e.setParent(c,r),a&&e.setEdge(a,c,{weight:1})}var Ba={adjust:Fa,undo:Ga};function Fa(e){let n=e.graph().rankdir.toLowerCase();(n==="lr"||n==="rl")&&Pt(e)}function Ga(e){let n=e.graph().rankdir.toLowerCase();(n==="bt"||n==="rl")&&Va(e),(n==="lr"||n==="rl")&&(Ra(e),Pt(e))}function Pt(e){e.nodes().forEach(n=>Tn(e.node(n))),e.edges().forEach(n=>Tn(e.edge(n)))}function Tn(e){let n=e.width;e.width=e.height,e.height=n}function Va(e){e.nodes().forEach(n=>Ke(e.node(n))),e.edges().forEach(n=>{let t=e.edge(n);t.points.forEach(Ke),t.hasOwnProperty("y")&&Ke(t)})}function Ke(e){e.y=-e.y}function Ra(e){e.nodes().forEach(n=>Qe(e.node(n))),e.edges().forEach(n=>{let t=e.edge(n);t.points.forEach(Qe),t.hasOwnProperty("x")&&Qe(t)})}function Qe(e){let n=e.x;e.x=e.y,e.y=n}let Aa=F;var Da=za;function za(e){let n={},t=e.nodes().filter(a=>!e.children(a).length),r=Math.max(...t.map(a=>e.node(a).rank)),o=Aa.range(r+1).map(()=>[]);function s(a){if(n[a])return;n[a]=!0;let c=e.node(a);o[c.rank].push(a),e.successors(a).forEach(s)}return t.sort((a,c)=>e.node(a).rank-e.node(c).rank).forEach(s),o}let Ha=F.zipObject;var Wa=Ua;function Ua(e,n){let t=0;for(let r=1;r<n.length;++r)t+=qa(e,n[r-1],n[r]);return t}function qa(e,n,t){let r=Ha(t,t.map((l,d)=>d)),o=n.flatMap(l=>e.outEdges(l).map(d=>({pos:r[d.w],weight:e.edge(d).weight})).sort((d,h)=>d.pos-h.pos)),s=1;for(;s<t.length;)s<<=1;let i=2*s-1;s-=1;let a=new Array(i).fill(0),c=0;return o.forEach(l=>{let d=l.pos+s;a[d]+=l.weight;let h=0;for(;d>0;)d%2&&(h+=a[d+1]),d=d-1>>1,a[d]+=l.weight;c+=l.weight*h}),c}var Ya=Xa;function Xa(e,n=[]){return n.map(t=>{let r=e.inEdges(t);if(r.length){let o=r.reduce((s,i)=>{let a=e.edge(i),c=e.node(i.v);return{sum:s.sum+a.weight*c.order,weight:s.weight+a.weight}},{sum:0,weight:0});return{v:t,barycenter:o.sum/o.weight,weight:o.weight}}else return{v:t}})}let Ka=F;var Qa=Za;function Za(e,n){let t={};e.forEach((o,s)=>{let i=t[o.v]={indegree:0,in:[],out:[],vs:[o.v],i:s};o.barycenter!==void 0&&(i.barycenter=o.barycenter,i.weight=o.weight)}),n.edges().forEach(o=>{let s=t[o.v],i=t[o.w];s!==void 0&&i!==void 0&&(i.indegree++,s.out.push(t[o.w]))});let r=Object.values(t).filter(o=>!o.indegree);return Ja(r)}function Ja(e){let n=[];function t(o){return s=>{s.merged||(s.barycenter===void 0||o.barycenter===void 0||s.barycenter>=o.barycenter)&&ec(o,s)}}function r(o){return s=>{s.in.push(o),--s.indegree===0&&e.push(s)}}for(;e.length;){let o=e.pop();n.push(o),o.in.reverse().forEach(t(o)),o.out.forEach(r(o))}return n.filter(o=>!o.merged).map(o=>Ka.pick(o,["vs","i","barycenter","weight"]))}function ec(e,n){let t=0,r=0;e.weight&&(t+=e.barycenter*e.weight,r+=e.weight),n.weight&&(t+=n.barycenter*n.weight,r+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=t/r,e.weight=r,e.i=Math.min(n.i,e.i),n.merged=!0}let nc=F;var tc=rc;function rc(e,n){let t=nc.partition(e,d=>d.hasOwnProperty("barycenter")),r=t.lhs,o=t.rhs.sort((d,h)=>h.i-d.i),s=[],i=0,a=0,c=0;r.sort(oc(!!n)),c=On(s,o,c),r.forEach(d=>{c+=d.vs.length,s.push(d.vs),i+=d.barycenter*d.weight,a+=d.weight,c=On(s,o,c)});let l={vs:s.flat(!0)};return a&&(l.barycenter=i/a,l.weight=a),l}function On(e,n,t){let r;for(;n.length&&(r=n[n.length-1]).i<=t;)n.pop(),e.push(r.vs),t++;return t}function oc(e){return(n,t)=>n.barycenter<t.barycenter?-1:n.barycenter>t.barycenter?1:e?t.i-n.i:n.i-t.i}let sc=Ya,ic=Qa,ac=tc;var cc=Mt;function Mt(e,n,t,r){let o=e.children(n),s=e.node(n),i=s?s.borderLeft:void 0,a=s?s.borderRight:void 0,c={};i&&(o=o.filter(f=>f!==i&&f!==a));let l=sc(e,o);l.forEach(f=>{if(e.children(f.v).length){let p=Mt(e,f.v,t,r);c[f.v]=p,p.hasOwnProperty("barycenter")&&dc(f,p)}});let d=ic(l,t);lc(d,c);let h=ac(d,r);if(i&&(h.vs=[i,h.vs,a].flat(!0),e.predecessors(i).length)){let f=e.node(e.predecessors(i)[0]),p=e.node(e.predecessors(a)[0]);h.hasOwnProperty("barycenter")||(h.barycenter=0,h.weight=0),h.barycenter=(h.barycenter*h.weight+f.order+p.order)/(h.weight+2),h.weight+=2}return h}function lc(e,n){e.forEach(t=>{t.vs=t.vs.flatMap(r=>n[r]?n[r].vs:r)})}function dc(e,n){e.barycenter!==void 0?(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight):(e.barycenter=n.barycenter,e.weight=n.weight)}let hc=Z.Graph,uc=F;var fc=pc;function pc(e,n,t){let r=mc(e),o=new hc({compound:!0}).setGraph({root:r}).setDefaultNodeLabel(s=>e.node(s));return e.nodes().forEach(s=>{let i=e.node(s),a=e.parent(s);(i.rank===n||i.minRank<=n&&n<=i.maxRank)&&(o.setNode(s),o.setParent(s,a||r),e[t](s).forEach(c=>{let l=c.v===s?c.w:c.v,d=o.edge(l,s),h=d!==void 0?d.weight:0;o.setEdge(l,s,{weight:e.edge(c).weight+h})}),i.hasOwnProperty("minRank")&&o.setNode(s,{borderLeft:i.borderLeft[n],borderRight:i.borderRight[n]}))}),o}function mc(e){for(var n;e.hasNode(n=uc.uniqueId("_root")););return n}var gc=wc;function wc(e,n,t){let r={},o;t.forEach(s=>{let i=e.parent(s),a,c;for(;i;){if(a=e.parent(i),a?(c=r[a],r[a]=i):(c=o,o=i),c&&c!==i){n.setEdge(c,i);return}i=a}})}let vc=Da,bc=Wa,yc=cc,kc=fc,Ec=gc,Nc=Z.Graph,Ge=F;var _c=xc;function xc(e){let n=Ge.maxRank(e),t=Ln(e,Ge.range(1,n+1),"inEdges"),r=Ln(e,Ge.range(n-1,-1,-1),"outEdges"),o=vc(e);Pn(e,o);let s=Number.POSITIVE_INFINITY,i;for(let a=0,c=0;c<4;++a,++c){Cc(a%2?t:r,a%4>=2),o=Ge.buildLayerMatrix(e);let l=bc(e,o);l<s&&(c=0,i=Object.assign({},o),s=l)}Pn(e,i)}function Ln(e,n,t){return n.map(function(r){return kc(e,r,t)})}function Cc(e,n){let t=new Nc;e.forEach(function(r){let o=r.graph().root,s=yc(r,o,t,n);s.vs.forEach((i,a)=>r.node(i).order=a),Ec(r,t,s.vs)})}function Pn(e,n){Object.values(n).forEach(t=>t.forEach((r,o)=>e.node(r).order=o))}let Ic=Z.Graph,Le=F;var Sc={positionX:Tc,findType1Conflicts:Bt,findType2Conflicts:Ft,addConflict:gn,hasConflict:Gt,verticalAlignment:Vt,horizontalCompaction:Rt,alignCoordinates:Dt,findSmallestWidthAlignment:At,balance:zt};function Bt(e,n){let t={};function r(o,s){let i=0,a=0,c=o.length,l=s[s.length-1];return s.forEach((d,h)=>{let f=$c(e,d),p=f?e.node(f).order:c;(f||d===l)&&(s.slice(a,h+1).forEach(g=>{e.predecessors(g).forEach(v=>{let w=e.node(v),y=w.order;(y<i||p<y)&&!(w.dummy&&e.node(g).dummy)&&gn(t,v,g)})}),a=h+1,i=p)}),s}return n.reduce(r),t}function Ft(e,n){let t={};function r(s,i,a,c,l){let d;Le.range(i,a).forEach(h=>{d=s[h],e.node(d).dummy&&e.predecessors(d).forEach(f=>{let p=e.node(f);p.dummy&&(p.order<c||p.order>l)&&gn(t,f,d)})})}function o(s,i){let a=-1,c,l=0;return i.forEach((d,h)=>{if(e.node(d).dummy==="border"){let f=e.predecessors(d);f.length&&(c=e.node(f[0]).order,r(i,l,h,a,c),l=h,a=c)}r(i,l,i.length,c,s.length)}),i}return n.reduce(o),t}function $c(e,n){if(e.node(n).dummy)return e.predecessors(n).find(t=>e.node(t).dummy)}function gn(e,n,t){if(n>t){let o=n;n=t,t=o}let r=e[n];r||(e[n]=r={}),r[t]=!0}function Gt(e,n,t){if(n>t){let r=n;n=t,t=r}return!!e[n]&&e[n].hasOwnProperty(t)}function Vt(e,n,t,r){let o={},s={},i={};return n.forEach(a=>{a.forEach((c,l)=>{o[c]=c,s[c]=c,i[c]=l})}),n.forEach(a=>{let c=-1;a.forEach(l=>{let d=r(l);if(d.length){d=d.sort((f,p)=>i[f]-i[p]);let h=(d.length-1)/2;for(let f=Math.floor(h),p=Math.ceil(h);f<=p;++f){let g=d[f];s[l]===l&&c<i[g]&&!Gt(t,l,g)&&(s[g]=l,s[l]=o[l]=o[g],c=i[g])}}})}),{root:o,align:s}}function Rt(e,n,t,r,o){let s={},i=jc(e,n,t,o),a=o?"borderLeft":"borderRight";function c(h,f){let p=i.nodes(),g=p.pop(),v={};for(;g;)v[g]?h(g):(v[g]=!0,p.push(g),p=p.concat(f(g))),g=p.pop()}function l(h){s[h]=i.inEdges(h).reduce((f,p)=>Math.max(f,s[p.v]+i.edge(p)),0)}function d(h){let f=i.outEdges(h).reduce((g,v)=>Math.min(g,s[v.w]-i.edge(v)),Number.POSITIVE_INFINITY),p=e.node(h);f!==Number.POSITIVE_INFINITY&&p.borderType!==a&&(s[h]=Math.max(s[h],f))}return c(l,i.predecessors.bind(i)),c(d,i.successors.bind(i)),Object.keys(r).forEach(h=>s[h]=s[t[h]]),s}function jc(e,n,t,r){let o=new Ic,s=e.graph(),i=Oc(s.nodesep,s.edgesep,r);return n.forEach(a=>{let c;a.forEach(l=>{let d=t[l];if(o.setNode(d),c){var h=t[c],f=o.edge(h,d);o.setEdge(h,d,Math.max(i(e,l,c),f||0))}c=l})}),o}function At(e,n){return Object.values(n).reduce((t,r)=>{let o=Number.NEGATIVE_INFINITY,s=Number.POSITIVE_INFINITY;Object.entries(r).forEach(([a,c])=>{let l=Lc(e,a)/2;o=Math.max(c+l,o),s=Math.min(c-l,s)});const i=o-s;return i<t[0]&&(t=[i,r]),t},[Number.POSITIVE_INFINITY,null])[1]}function Dt(e,n){let t=Object.values(n),r=Math.min(...t),o=Math.max(...t);["u","d"].forEach(s=>{["l","r"].forEach(i=>{let a=s+i,c=e[a];if(c===n)return;let l=Object.values(c),d=r-Math.min(...l);i!=="l"&&(d=o-Math.max(...l)),d&&(e[a]=Le.mapValues(c,h=>h+d))})})}function zt(e,n){return Le.mapValues(e.ul,(t,r)=>{if(n)return e[n.toLowerCase()][r];{let o=Object.values(e).map(s=>s[r]).sort((s,i)=>s-i);return(o[1]+o[2])/2}})}function Tc(e){let n=Le.buildLayerMatrix(e),t=Object.assign(Bt(e,n),Ft(e,n)),r={},o;["u","d"].forEach(i=>{o=i==="u"?n:Object.values(n).reverse(),["l","r"].forEach(a=>{a==="r"&&(o=o.map(h=>Object.values(h).reverse()));let c=(i==="u"?e.predecessors:e.successors).bind(e),l=Vt(e,o,t,c),d=Rt(e,o,l.root,l.align,a==="r");a==="r"&&(d=Le.mapValues(d,h=>-h)),r[i+a]=d})});let s=At(e,r);return Dt(r,s),zt(r,e.graph().align)}function Oc(e,n,t){return(r,o,s)=>{let i=r.node(o),a=r.node(s),c=0,l;if(c+=i.width/2,i.hasOwnProperty("labelpos"))switch(i.labelpos.toLowerCase()){case"l":l=-i.width/2;break;case"r":l=i.width/2;break}if(l&&(c+=t?l:-l),l=0,c+=(i.dummy?n:e)/2,c+=(a.dummy?n:e)/2,c+=a.width/2,a.hasOwnProperty("labelpos"))switch(a.labelpos.toLowerCase()){case"l":l=a.width/2;break;case"r":l=-a.width/2;break}return l&&(c+=t?l:-l),l=0,c}}function Lc(e,n){return e.node(n).width}let Ht=F,Pc=Sc.positionX;var Mc=Bc;function Bc(e){e=Ht.asNonCompoundGraph(e),Fc(e),Object.entries(Pc(e)).forEach(([n,t])=>e.node(n).x=t)}function Fc(e){let n=Ht.buildLayerMatrix(e),t=e.graph().ranksep,r=0;n.forEach(o=>{const s=o.reduce((i,a)=>{const c=e.node(a).height;return i>c?i:c},0);o.forEach(i=>e.node(i).y=r+s/2),r+=s+t})}let Mn=Ui,Bn=Qi,Gc=ya,Vc=F.normalizeRanks,Rc=_a,Ac=F.removeEmptyRanks,Fn=Sa,Dc=Pa,Gn=Ba,zc=_c,Hc=Mc,q=F,Wc=Z.Graph;var Uc=qc;function qc(e,n){let t=n&&n.debugTiming?q.time:q.notime;t("layout",()=>{let r=t(" buildLayoutGraph",()=>rl(e));t(" runLayout",()=>Yc(r,t)),t(" updateInputGraph",()=>Xc(e,r))})}function Yc(e,n){n(" makeSpaceForEdgeLabels",()=>ol(e)),n(" removeSelfEdges",()=>fl(e)),n(" acyclic",()=>Mn.run(e)),n(" nestingGraph.run",()=>Fn.run(e)),n(" rank",()=>Gc(q.asNonCompoundGraph(e))),n(" injectEdgeLabelProxies",()=>sl(e)),n(" removeEmptyRanks",()=>Ac(e)),n(" nestingGraph.cleanup",()=>Fn.cleanup(e)),n(" normalizeRanks",()=>Vc(e)),n(" assignRankMinMax",()=>il(e)),n(" removeEdgeLabelProxies",()=>al(e)),n(" normalize.run",()=>Bn.run(e)),n(" parentDummyChains",()=>Rc(e)),n(" addBorderSegments",()=>Dc(e)),n(" order",()=>zc(e)),n(" insertSelfEdges",()=>pl(e)),n(" adjustCoordinateSystem",()=>Gn.adjust(e)),n(" position",()=>Hc(e)),n(" positionSelfEdges",()=>ml(e)),n(" removeBorderNodes",()=>ul(e)),n(" normalize.undo",()=>Bn.undo(e)),n(" fixupEdgeLabelCoords",()=>dl(e)),n(" undoCoordinateSystem",()=>Gn.undo(e)),n(" translateGraph",()=>cl(e)),n(" assignNodeIntersects",()=>ll(e)),n(" reversePoints",()=>hl(e)),n(" acyclic.undo",()=>Mn.undo(e))}function Xc(e,n){e.nodes().forEach(t=>{let r=e.node(t),o=n.node(t);r&&(r.x=o.x,r.y=o.y,r.rank=o.rank,n.children(t).length&&(r.width=o.width,r.height=o.height))}),e.edges().forEach(t=>{let r=e.edge(t),o=n.edge(t);r.points=o.points,o.hasOwnProperty("x")&&(r.x=o.x,r.y=o.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height}let Kc=["nodesep","edgesep","ranksep","marginx","marginy"],Qc={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Zc=["acyclicer","ranker","rankdir","align"],Jc=["width","height"],Vn={width:0,height:0},el=["minlen","weight","width","height","labeloffset"],nl={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},tl=["labelpos"];function rl(e){let n=new Wc({multigraph:!0,compound:!0}),t=Je(e.graph());return n.setGraph(Object.assign({},Qc,Ze(t,Kc),q.pick(t,Zc))),e.nodes().forEach(r=>{let o=Je(e.node(r));const s=Ze(o,Jc);Object.keys(Vn).forEach(i=>{s[i]===void 0&&(s[i]=Vn[i])}),n.setNode(r,s),n.setParent(r,e.parent(r))}),e.edges().forEach(r=>{let o=Je(e.edge(r));n.setEdge(r,Object.assign({},nl,Ze(o,el),q.pick(o,tl)))}),n}function ol(e){let n=e.graph();n.ranksep/=2,e.edges().forEach(t=>{let r=e.edge(t);r.minlen*=2,r.labelpos.toLowerCase()!=="c"&&(n.rankdir==="TB"||n.rankdir==="BT"?r.width+=r.labeloffset:r.height+=r.labeloffset)})}function sl(e){e.edges().forEach(n=>{let t=e.edge(n);if(t.width&&t.height){let r=e.node(n.v),s={rank:(e.node(n.w).rank-r.rank)/2+r.rank,e:n};q.addDummyNode(e,"edge-proxy",s,"_ep")}})}function il(e){let n=0;e.nodes().forEach(t=>{let r=e.node(t);r.borderTop&&(r.minRank=e.node(r.borderTop).rank,r.maxRank=e.node(r.borderBottom).rank,n=Math.max(n,r.maxRank))}),e.graph().maxRank=n}function al(e){e.nodes().forEach(n=>{let t=e.node(n);t.dummy==="edge-proxy"&&(e.edge(t.e).labelRank=t.rank,e.removeNode(n))})}function cl(e){let n=Number.POSITIVE_INFINITY,t=0,r=Number.POSITIVE_INFINITY,o=0,s=e.graph(),i=s.marginx||0,a=s.marginy||0;function c(l){let d=l.x,h=l.y,f=l.width,p=l.height;n=Math.min(n,d-f/2),t=Math.max(t,d+f/2),r=Math.min(r,h-p/2),o=Math.max(o,h+p/2)}e.nodes().forEach(l=>c(e.node(l))),e.edges().forEach(l=>{let d=e.edge(l);d.hasOwnProperty("x")&&c(d)}),n-=i,r-=a,e.nodes().forEach(l=>{let d=e.node(l);d.x-=n,d.y-=r}),e.edges().forEach(l=>{let d=e.edge(l);d.points.forEach(h=>{h.x-=n,h.y-=r}),d.hasOwnProperty("x")&&(d.x-=n),d.hasOwnProperty("y")&&(d.y-=r)}),s.width=t-n+i,s.height=o-r+a}function ll(e){e.edges().forEach(n=>{let t=e.edge(n),r=e.node(n.v),o=e.node(n.w),s,i;t.points?(s=t.points[0],i=t.points[t.points.length-1]):(t.points=[],s=o,i=r),t.points.unshift(q.intersectRect(r,s)),t.points.push(q.intersectRect(o,i))})}function dl(e){e.edges().forEach(n=>{let t=e.edge(n);if(t.hasOwnProperty("x"))switch((t.labelpos==="l"||t.labelpos==="r")&&(t.width-=t.labeloffset),t.labelpos){case"l":t.x-=t.width/2+t.labeloffset;break;case"r":t.x+=t.width/2+t.labeloffset;break}})}function hl(e){e.edges().forEach(n=>{let t=e.edge(n);t.reversed&&t.points.reverse()})}function ul(e){e.nodes().forEach(n=>{if(e.children(n).length){let t=e.node(n),r=e.node(t.borderTop),o=e.node(t.borderBottom),s=e.node(t.borderLeft[t.borderLeft.length-1]),i=e.node(t.borderRight[t.borderRight.length-1]);t.width=Math.abs(i.x-s.x),t.height=Math.abs(o.y-r.y),t.x=s.x+t.width/2,t.y=r.y+t.height/2}}),e.nodes().forEach(n=>{e.node(n).dummy==="border"&&e.removeNode(n)})}function fl(e){e.edges().forEach(n=>{if(n.v===n.w){var t=e.node(n.v);t.selfEdges||(t.selfEdges=[]),t.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})}function pl(e){var n=q.buildLayerMatrix(e);n.forEach(t=>{var r=0;t.forEach((o,s)=>{var i=e.node(o);i.order=s+r,(i.selfEdges||[]).forEach(a=>{q.addDummyNode(e,"selfedge",{width:a.label.width,height:a.label.height,rank:i.rank,order:s+ ++r,e:a.e,label:a.label},"_se")}),delete i.selfEdges})})}function ml(e){e.nodes().forEach(n=>{var t=e.node(n);if(t.dummy==="selfedge"){var r=e.node(t.e.v),o=r.x+r.width/2,s=r.y,i=t.x-o,a=r.height/2;e.setEdge(t.e,t.label),e.removeNode(n),t.label.points=[{x:o+2*i/3,y:s-a},{x:o+5*i/6,y:s-a},{x:o+i,y:s},{x:o+5*i/6,y:s+a},{x:o+2*i/3,y:s+a}],t.label.x=t.x,t.label.y=t.y}})}function Ze(e,n){return q.mapValues(q.pick(e,n),Number)}function Je(e){var n={};return e&&Object.entries(e).forEach(([t,r])=>{typeof t=="string"&&(t=t.toLowerCase()),n[t]=r}),n}let gl=F,wl=Z.Graph;var vl={debugOrdering:bl};function bl(e){let n=gl.buildLayerMatrix(e),t=new wl({compound:!0,multigraph:!0}).setGraph({});return e.nodes().forEach(r=>{t.setNode(r,{label:r}),t.setParent(r,"layer"+e.node(r).rank)}),e.edges().forEach(r=>t.setEdge(r.v,r.w,{},r.name)),n.forEach((r,o)=>{let s="layer"+o;t.setNode(s,{rank:"same"}),r.reduce((i,a)=>(t.setEdge(i,a,{style:"invis"}),a))}),t}var yl="1.0.4",Ee={graphlib:Z,layout:Uc,debug:vl,util:{time:F.time,notime:F.notime},version:yl};function kl(e,n){let t=[],r=[e];for(;r&&r.length;){let o=[];for(const s of r){const i=n.node(s);(i==null?void 0:i.type)==="Benchmark_Result"&&t.push(s),((i==null?void 0:i.type)!=="Model"||e===s)&&o.push(...n.successors(s))}r=o}return t}const Rn={data:{width:200,height:84},computation:{width:60,height:60},default:{width:150,height:88}};function El(e,n,t){var l;if(e.length===0)return{nodes:[],edges:[],sinks:{},graph:new Ee.graphlib.Graph,noBenchmarkNodes:[],noBenchmarkEdges:[],noBenchmarkGraph:new Ee.graphlib.Graph,graphName:""};let r=Pr[t];r||(r={label:t,url:"",sourceNodes:[],filterNodes:[]});const o=new Ee.graphlib.Graph;o.setGraph({rankdir:"LR",nodesep:30,ranksep:300,align:"UL"});for(const d of e){const h=Rn[d.data.displayType]||Rn.default;o.setNode(d.id,{...h,label:d.data.label,type:(l=d.data.enrichments.asset_hub)==null?void 0:l.asset_type})}for(const d of n)o.setEdge(d.source,d.target,{label:d.id});const s=_l(o),i=e.filter(d=>s.hasNode(d.id)),a=n.filter(d=>s.hasEdge(d.source,d.target)),c=Nl(s,r.filterNodes);for(const[d,h]of Object.entries(c)){const f=kl(d,o),p=e.find(g=>g.id===d);if(f.length){const g=`${d}-benchmarks`;s.setNode(g,{type:"Benchmarks",label:"Benchmarks",width:200,height:60+f.length*40}),s.setEdge(d,g,{label:`${g}-edge`,weight:.5,minlen:10});const v=e.filter(b=>f.includes(b.id));for(const b of v)b.data.model=p;p.data.benchmarks=v;const w={id:g,type:"BenchmarkNode",position:{x:0,y:0},data:{label:p.data.label,nodeColor:cr.benchmark,icon:"BenchmarkIcon",displayType:"Benchmarks",typeLabel:"Benchmark_Result",governanceNodes:[],isSourceForConnection:!1,isTargetForConnection:!0,properties:{},enrichments:{},nodeType:"data",registeredBy:"",benchmarks:v}},y={id:`${g}-edge`,source:d,target:g,animated:!1,markerEnd:{type:it.Arrow,strokeWidth:0,color:be.black},style:{stroke:be.black,strokeWidth:2},type:"CustomEdge",data:{benchmarks:f}};i.push(w),a.push(y),h.nodes.add(g),h.edges.add(`${g}-edge`)}}return{nodes:e,edges:n,sinks:c,graph:o,noBenchmarkGraph:s,noBenchmarkNodes:i,noBenchmarkEdges:a,graphName:t}}function Wt(e,n,t,r=30,o=300,s=!0){if(n.length===0)return console.log("no nodes to layout"),0;const i=t.getState().nodeInternals;Ee.layout(e,{minlen:10});for(const c of n){const l=e.node(c.id),d=i.get(c.id);d&&(l.width=d.width??l.width,l.height=d.height??l.height)}const a=new Map;for(const c of n){const l=e.node(c.id),d=a.get(l.rank);d?d.push(c):a.set(l.rank,[c]),s||(c.data.sourcePosition=We.Right,c.data.rank=l.rank,c.position={x:l.x-l.width/2,y:l.y-l.height/2})}if(s){const c=new Map,l=new Map;let d=0;for(const[p,g]of a){g.sort((y,b)=>{const k=e.node(y.id),x=e.node(b.id);return k.y-x.y});let v=0,w=0;for(const y of g){const b=e.node(y.id);v+=b.height,w=Math.max(w,b.width)}v+=(g.length-1)*r,d=Math.max(d,v),c.set(p,v),l.set(p,w)}let h=0;const f=Array.from(a.entries());f.sort((p,g)=>p[0]-g[0]);for(const[p,g]of f){const v=c.get(p)||0,w=l.get(p)||0,y=(d-v)/2;let b=0;for(const[k,x]of g.entries()){const L=e.node(x.id);x.position={x:h+w/2-L.width/2,y:b+y},b+=L.height+r}h+=w+o}}}function Nl(e,n=[]){var o;const t=n.length>0?n:e.sinks(),r={};for(const s of t){const i=e.node(s);if(((o=i.type)==null?void 0:o.toLowerCase())!=="model")continue;r[s]={nodes:new Set,edges:new Set,label:i.label};let a=e.predecessors(s);if(a)for(const c of a){const l=e.edge(c,s);l&&r[s].edges.add(l.label)}for(;a&&a.length;){let c=[];for(const l of a){r[s].nodes.add(l);const d=e.predecessors(l);if(d&&d.length){for(const h of d){const f=e.edge(h,l);f&&r[s].edges.add(f.label)}c.push(...d)}}a=c}}return r}function _l(e){const n=new Ee.graphlib.Graph;n.setGraph(e.graph());for(const i of e.nodes())n.setNode(i,e.node(i));for(const i of e.edges())n.setEdge(i,e.edge(i));const t=new Set,r=new Set;let o=e.nodes().filter(i=>{const a=e.node(i);return(a==null?void 0:a.type)==="Benchmark_Result"});for(;o&&o.length;){let i=[];for(const a of o)if(e.node(a).type!=="Model"&&!t.has(a)){t.add(a);const l=e.successors(a);for(const d of l)r.add(d);i.push(...e.predecessors(a))}o=i}for(const i of t){let a=!0,c=e.successors(i);for(const l of c)if(!t.has(l)){a=!1;break}a&&n.removeNode(i)}for(const i of r)t.has(i)&&r.delete(i);const s=Ee.graphlib.alg.components(n);s.sort((i,a)=>a.length-i.length);for(const i of s)if(i.filter(a=>r.has(a)).length)for(const a of i)n.removeNode(a);return n}const xl={CustomNode:xr,BenchmarkNode:Fo,ComputationNode:Cs},Cl={CustomEdge:Do},Il={hidden:{x:"100%",transition:{ease:"circIn",duration:.4}},visible:{x:0,transition:{ease:"circOut",duration:.4}}};function Sl(){const e=hr(),[n]=_.useState(e);return m.jsx(_.Suspense,{fallback:m.jsx("div",{children:"Suspense"}),children:n})}const $l=()=>{const{graphName:e,nodes:n,edges:t,getNodeById:r,graphState:o,setGraphState:s,governanceFilter:i,activeSink:a,pretty:c,getNodeFromFullGraph:l,hasMeasured:d,onNodesChange:h,onEdgesChange:f,noBenchmarksGraph:p}=Se(I=>({nodes:I.nodes,edges:I.edges,graphState:I.graphState,setGraphState:I.setGraphState,onNodesChange:I.onNodesChange,onEdgesChange:I.onEdgesChange,getNodeById:I.getNodeById,setGovernanceFilter:I.setGovernanceFilter,governanceFilter:I.governanceFilter,activeSink:I.activeSink,pretty:I.pretty,setPretty:I.setPretty,getNodeFromFullGraph:I.getNodeFromFullGraph,hasMeasured:I.hasMeasured,noBenchmarksGraph:I.noBenchmarksGraph,setNodes:I.setNodes,graphName:I.graphName}));lr();const g=_.useRef(null),v=De(),w=ze(),[y]=dn(),b=w.nodeCid,{setCenter:k,fitView:x}=Nr(),L=at(),E=ct();_.useEffect(()=>{L&&x({duration:1e3})},[n.length,L]);const P=!!w.nodeCid;_.useEffect(()=>{i&&N()},[i]);const N=()=>{b&&v(`/explorer/lineage/${w.owner}/${w.repo}?${y.toString()}`)};_.useEffect(()=>{const O=l(b||"");if(O&&d){let J;if(O.data.typeLabel==="Benchmark_Result"){const R=O.data.model;R&&(J=r(`${R.id}-benchmarks`))}else J=r(b||"");if(J){const R=E.getState().nodeInternals.get(J.id);if(J.type==="BenchmarkNode"){const se=document.querySelector(`[data-id="${J.id}"]`);if(se){const $=se.querySelector(`[data-benchmark="${O.id}"]`),j=R.position.x,Y=R.position.y+$.offsetTop+$.offsetHeight/2,X=R.width||0,me=j+300+X/2/.95,wn=Y/.95;k(me,wn,{zoom:.95,duration:1500})}}else{const se=R.position.x,$=R.position.y,j=R.width||0,Y=R.height||0,D=se+300+j/2/.95,me=$+Y/2/.95;k(D,me,{zoom:.95,duration:1500})}}}},[b,k,E,d,n]);const V=()=>{s(o==="vc-off"?"vc-on":"vc-off")},T=e.startsWith("https://")?e:`https://huggingface.co/${e}`,oe=e.length>30?e.slice(0,30)+"...":e,pe="";return m.jsx(m.Fragment,{children:m.jsxs("div",{ref:g,className:H(je.container,{[je.dim]:!!a}),children:[m.jsx(_r,{nodes:n,edges:t,onNodesChange:I=>{p&&n.length&&Wt(p,n,E,30,250,c),h(I)},onEdgesChange:f,onPaneClick:N,snapToGrid:!1,defaultViewport:{x:0,y:0,zoom:.75},minZoom:.05,attributionPosition:"bottom-right",nodeTypes:xl,edgeTypes:Cl,nodesDraggable:!1,nodesConnectable:!1,edgesFocusable:!1,children:m.jsx(Zr,{gap:12,size:1})}),m.jsx(dr,{initial:!1,mode:"wait",children:m.jsx(He.div,{className:je.sidebar,initial:"hidden",animate:"visible",exit:"hidden",variants:Il,children:m.jsx(Sl,{})},P?"drawer-visible":"drawer-hidden")}),m.jsxs("a",{className:je.graphNameHeader,target:"_blank",href:T,children:[pe,m.jsx("span",{children:oe})]}),m.jsx("div",{className:je.switchContainer,children:m.jsx(ls,{selected:o==="vc-on",onClick:V})})]})})},An="#000000",jl=(e,n)=>n.find(({node:t})=>t.id===e),Tl=(e,n)=>!!n.find(({edge:t})=>t.target_id===e.id&&t.label!=="subject"),Ol=(e,n)=>!!n.find(({edge:t})=>t.source_id===e.id),Ut=(e,n,t)=>{var h,f;const r=e.enrichments||{},o=e.node.properties.nodeType||"unknown",s=o==="computation"?"":((h=e.enrichments.asset_hub)==null?void 0:h.asset_type)||"",{iconId:i,displayType:a,color:c}=Cr(s||o),l=(f=r.asset_hub)!=null&&f.asset_name?r.asset_hub.asset_name:o;return{id:e.node.id,type:o==="computation"?"ComputationNode":"CustomNode",data:{label:l,nodeColor:c,icon:i,displayType:a,typeLabel:s,governanceNodes:Ll(e,"governance",n,t),isSourceForConnection:Ol(e.node,n),isTargetForConnection:Tl(e.node,n),properties:e.node.properties,sourcePosition:We.Right,enrichments:r,nodeType:o,registeredBy:"CHECK API"},position:{x:0,y:0}}},Ll=(e,n,t,r)=>t.filter(({edge:i})=>i.target_id===e.node.id).map(({edge:i})=>{const a=jl(i.source_id,r);return a&&a.node.properties.nodeType===n?Ut(a,t,r):null}).filter(i=>!!i);function Pl(e,n){return e.filter(({node:s})=>s.properties.nodeType!=="governance").map(s=>Ut(s,n,e)).filter(s=>!!s)}function Ml(e){return e.map(({edge:t})=>({id:t.id,source:t.source_id,target:t.target_id,animated:!1,markerEnd:{type:it.Arrow,strokeWidth:0,color:An},style:{stroke:An,strokeWidth:2},type:"CustomEdge"})).filter(Boolean)}async function Bl(e){const n=await Ir(),t=new Map;for(const r of n)t.set(r.did,r);return t}const en=new Map;async function Fl(e){let n=[];const t=new Set;for(const{node:i}of e)if(i.properties.vcRegistrationsJcs)for(const a of i.properties.vcRegistrationsJcs)t.has(a)||(t.add(a),n.push((async()=>{if(en.has(a))return[a,en.get(a)];const c=await Sr(`text/${$r(a,"urn:cid:")}`);return[a,await c.json()]})()));const r=await Promise.all(n);for(const[i,a]of r)en.set(i,a);const o=new Map(r),s=await Bl();for(const[i,a]of o){const c=s.get(a.credential.issuer);let l="unknown";c&&(l=c.status),a.issuerStatus=l}return o}function Gl(e,n){const t=new Map(n.nodes.map(s=>[s.node.id,s])),r=new Map;for(const s of n.edges){const i=r.get(s.edge.source_id)||[],a=r.get(s.edge.target_id)||[];i.push(s),a.push(s),r.set(s.edge.source_id,i),r.set(s.edge.target_id,a)}const o=new Map;for(const[s,i]of e){const a=i.credential.credentialSubject.id,c=t.get(a),l=r.get(a);if(c){const d=[],h=[c];if(c.node.properties.nodeType==="computation")for(const f of l)d.push(f),f.edge.target_id===a&&h.push(t.get(f.edge.source_id)),f.edge.source_id===a&&h.push(t.get(f.edge.target_id));o.set(s,{edges:d,nodes:h,vc:i})}}return o}const Vl="_searchWrapper_1hcue_6",Rl="_logo_1hcue_39",Al="_searchBar_1hcue_57",nn={"lineage-page-container":"_lineage-page-container_1hcue_1",searchWrapper:Vl,logo:Rl,searchBar:Al};function Jl(){const[e,n]=_.useState(null),t=De();return m.jsx(Hn,{theme:{components:{Button:{colorPrimary:"rgb(0, 0, 100)",colorBgContainer:be.grey600,colorText:be.grey600,defaultBorderColor:"rgb(0, 0, 0)",colorPrimaryHover:be.grey600}}},children:m.jsxs(jr,{children:[m.jsxs("div",{className:nn.searchWrapper,children:[m.jsx("div",{className:nn.logo,children:m.jsx("button",{style:{border:"none",background:"none"},onClick:()=>t("/"),children:m.jsx(Mr,{})})}),m.jsx(Br,{className:nn.searchBar,onSearch:()=>{},isLandingPage:!1})]}),m.jsx(Dl,{searchedOrUploadedGraph:e,navigate:t})]})})}function Dl({searchedOrUploadedGraph:e,navigate:n}){const t=at(),r=ct(),{vcGraph:o,edges:s,nodes:i,noBenchmarkEdges:a,noBenchmarkNodes:c,sinks:l,noBenchmarkGraph:d,graph:h,graphName:f,manifestNotFound:p}=ur();_.useEffect(()=>{p&&n("/not-found")},[p]);const{setVcsToGraph:g,setNodes:v,setEdges:w,setSinkMap:y,setAllNodes:b,setHasMeasured:k,setNoBenchmarksGraph:x,setGraphName:L}=Se(E=>({setGraphName:E.setGraphName,setNodes:E.setNodes,setEdges:E.setEdges,setVcsToGraph:E.setVcsToGraph,setSinkMap:E.setSinkMap,setAllNodes:E.setAllNodes,setHasMeasured:E.setHasMeasured,setNoBenchmarksGraph:E.setNoBenchmarksGraph}));return _.useEffect(()=>{o.then(E=>g(E))},[o]),_.useEffect(()=>{b(i)},[i]),_.useEffect(()=>{t&&k(!0)},[t]),_.useEffect(()=>{e!==null&&(v(e.noBenchmarkNodes),w(e.noBenchmarkEdges),x(e.noBenchmarkGraph),e.sinks&&y(e.sinks),L(e.graphName))},[e]),_.useEffect(()=>{e===null&&(Wt(d,c,r),v(c),w(a),x(d),l&&y(l),L(f))},[a,c,l,d,r,f,e]),m.jsx($l,{})}async function ed({request:e,params:n}){const t=new URL(e.url),o=t.searchParams.get("search");let s=null,i=null;if(o?(i=o,Tr(o),s=await eo(o,"integrity.json")):(i=t.pathname.split("/").slice(3).join("/"),s=await Jr(i,"integrity.json")),s.nodes.length===0||s.edges.length===0)return yn({manifestNotFound:!0});const a=Pl(s.nodes,s.edges),c=Ml(s.edges),l=El(a,c,i),d=(async()=>{const h=await Fl(s.nodes);return Gl(h,s)})();return yn({graph:l.graph,vcGraph:d,nodes:l.nodes,edges:l.edges,noBenchmarkNodes:l.noBenchmarkNodes,noBenchmarkEdges:l.noBenchmarkEdges,sinks:l.sinks,noBenchmarkGraph:l.noBenchmarkGraph,graphName:l.graphName})}export{Jl as Component,ed as loader};
static/assets/{index-911b15ef.js β†’ index-c062f015.js} RENAMED
@@ -235,4 +235,4 @@ html body {
235
  top: ${s}px !important;
236
  left: ${l}px !important;
237
  }
238
- `),()=>{document.head.removeChild(u)}},[t]),h.createElement($$,{isPresent:t,childRef:r,sizeRef:o},h.cloneElement(e,{ref:r}))}const kf=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:a})=>{const s=HC(j$),l=h.useId(),u=h.useMemo(()=>({id:l,initial:t,isPresent:n,custom:o,onExitComplete:c=>{s.set(c,!0);for(const f of s.values())if(!f)return;r&&r()},register:c=>(s.set(c,!1),()=>s.delete(c))}),i?void 0:[n]);return h.useMemo(()=>{s.forEach((c,f)=>s.set(f,!1))},[n]),h.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),a==="popLayout"&&(e=h.createElement(A$,{isPresent:n},e)),h.createElement(sc.Provider,{value:u},e)};function j$(){return new Map}function N$(e){return h.useEffect(()=>()=>e(),[])}const ao=e=>e.key||"";function I$(e,t){e.forEach(n=>{const r=ao(n);t.set(r,n)})}function _$(e){const t=[];return h.Children.forEach(e,n=>{h.isValidElement(n)&&t.push(n)}),t}const D$=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:a="sync"})=>{const s=h.useContext(am).forceRender||F$()[0],l=K4(),u=_$(e);let c=u;const f=h.useRef(new Map).current,d=h.useRef(c),y=h.useRef(new Map).current,C=h.useRef(!0);if(nm(()=>{C.current=!1,I$(u,y),d.current=c}),N$(()=>{C.current=!0,y.clear(),f.clear()}),C.current)return h.createElement(h.Fragment,null,c.map(p=>h.createElement(kf,{key:ao(p),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:i,mode:a},p)));c=[...c];const v=d.current.map(ao),S=u.map(ao),g=v.length;for(let p=0;p<g;p++){const m=v[p];S.indexOf(m)===-1&&!f.has(m)&&f.set(m,void 0)}return a==="wait"&&f.size&&(c=[]),f.forEach((p,m)=>{if(S.indexOf(m)!==-1)return;const w=y.get(m);if(!w)return;const E=v.indexOf(m);let x=p;if(!x){const b=()=>{f.delete(m);const T=Array.from(y.keys()).filter(P=>!S.includes(P));if(T.forEach(P=>y.delete(P)),d.current=u.filter(P=>{const O=ao(P);return O===m||T.includes(O)}),!f.size){if(l.current===!1)return;s(),r&&r()}};x=h.createElement(kf,{key:ao(w),isPresent:!1,onExitComplete:b,custom:t,presenceAffectsLayout:i,mode:a},w),f.set(m,x)}c.splice(E,0,x)}),c=c.map(p=>{const m=p.key;return f.has(m)?p:h.createElement(kf,{key:ao(p),isPresent:!0,presenceAffectsLayout:i,mode:a},p)}),h.createElement(h.Fragment,null,f.size?c:c.map(p=>h.cloneElement(p)))};function V$(){return L.jsx(D$,{mode:"sync",children:L.jsx(L$.div,{exit:{opacity:0},animate:{opacity:1},transition:{duration:3},className:xR.loaderContainer,children:L.jsx(gR,{})})})}const B$=D9([{element:L.jsx(mR,{}),children:[{path:"/",lazy:()=>zo(()=>import("./index-03bbb574.js"),["assets/index-03bbb574.js","assets/Header-9a64b6bd.js","assets/index-8976ce36.js","assets/Header-0ca6d921.css","assets/AILineageExplorerLogo-b3c24471.js","assets/routes-17d4ed4d.js","assets/AILineageExplorerLogo-d7a79808.css","assets/index-07236b78.js","assets/gapSize-a2278ff3.js","assets/index-e53189d4.css"])},{path:"/not-found",lazy:()=>zo(()=>import("./notFound-2c694b04.js"),["assets/notFound-2c694b04.js","assets/AILineageExplorerLogo-b3c24471.js","assets/routes-17d4ed4d.js","assets/AILineageExplorerLogo-d7a79808.css","assets/index-07236b78.js","assets/gapSize-a2278ff3.js","assets/notFound-e97b3f4d.css","assets/style-fb1f0fdc.css"])},{path:"/explorer/lineage/:owner/:repo",lazy:()=>zo(()=>import("./index-23dc4629.js"),["assets/index-23dc4629.js","assets/stripPrefix-d6a1507e.js","assets/index-8976ce36.js","assets/routes-17d4ed4d.js","assets/stripPrefix-caaf2285.css","assets/AILineageExplorerLogo-b3c24471.js","assets/AILineageExplorerLogo-d7a79808.css","assets/index-fe1978ec.css","assets/style-fb1f0fdc.css"]),id:"graph",children:[{path:":nodeCid/expanded?",lazy:()=>zo(()=>import("./drawer-497d3ebd.js"),["assets/drawer-497d3ebd.js","assets/stripPrefix-d6a1507e.js","assets/index-8976ce36.js","assets/routes-17d4ed4d.js","assets/stripPrefix-caaf2285.css","assets/Header-9a64b6bd.js","assets/Header-0ca6d921.css","assets/gapSize-a2278ff3.js","assets/drawer-47a83320.css"])}]},{path:"/explorer/lineage",lazy:()=>zo(()=>import("./index-23dc4629.js"),["assets/index-23dc4629.js","assets/stripPrefix-d6a1507e.js","assets/index-8976ce36.js","assets/routes-17d4ed4d.js","assets/stripPrefix-caaf2285.css","assets/AILineageExplorerLogo-b3c24471.js","assets/AILineageExplorerLogo-d7a79808.css","assets/index-fe1978ec.css","assets/style-fb1f0fdc.css"]),id:"view",children:[{path:":nodeCid/expanded?",lazy:()=>zo(()=>import("./drawer-497d3ebd.js"),["assets/drawer-497d3ebd.js","assets/stripPrefix-d6a1507e.js","assets/index-8976ce36.js","assets/routes-17d4ed4d.js","assets/stripPrefix-caaf2285.css","assets/Header-9a64b6bd.js","assets/Header-0ca6d921.css","assets/gapSize-a2278ff3.js","assets/drawer-47a83320.css"])}]}]}]);Y2(document.getElementById("root")).render(L.jsx(Z.StrictMode,{children:L.jsx(NM,{children:L.jsx(Z9,{router:B$,fallbackElement:L.jsx(V$,{})})})}));export{Cw as $,pr as A,Z$ as B,ft as C,l5 as D,L$ as E,tA as F,gs as G,D$ as H,v9 as I,W$ as J,oe as K,K$ as L,H$ as M,Ro as N,Je as O,pC as P,Ee as Q,Z as R,U as S,Kt as T,h5 as U,ps as V,tP as W,r8 as X,Qb as Y,Xt as Z,$e as _,Q$ as a,ee as a0,w3 as a1,yn as a2,vn as a3,u8 as a4,Mp as a5,Rt as a6,Fn as a7,Y$ as a8,b7 as a9,Jp as aA,eA as aB,sP as aC,X2 as aD,x5 as aE,Pw as aF,Mv as aG,Vn as aH,x3 as aI,XP as aJ,QP as aK,Ce as aL,ko as aM,G$ as aN,lO as aO,z$ as aP,Pa as aQ,X$ as aR,l8 as aS,bb as aT,oT as aU,nT as aV,Yb as aW,IP as aa,Gp as ab,xs as ac,lP as ad,qp as ae,vv as af,gE as ag,uu as ah,Zu as ai,$3 as aj,WE as ak,ys as al,Cs as am,Ss as an,xC as ao,_5 as ap,q$ as aq,uP as ar,O7 as as,LO as at,E7 as au,J$ as av,_p as aw,U5 as ax,Ov as ay,G5 as az,jo as b,le as c,D5 as d,Rp as e,es as f,Ph as g,Vp as h,kv as i,L as j,h3 as k,$5 as l,Wt as m,Wn as n,kp as o,Un as p,Y as q,h as r,V as s,Ya as t,xe as u,Bp as v,p5 as w,K5 as x,H5 as y,U$ as z};
 
235
  top: ${s}px !important;
236
  left: ${l}px !important;
237
  }
238
+ `),()=>{document.head.removeChild(u)}},[t]),h.createElement($$,{isPresent:t,childRef:r,sizeRef:o},h.cloneElement(e,{ref:r}))}const kf=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:a})=>{const s=HC(j$),l=h.useId(),u=h.useMemo(()=>({id:l,initial:t,isPresent:n,custom:o,onExitComplete:c=>{s.set(c,!0);for(const f of s.values())if(!f)return;r&&r()},register:c=>(s.set(c,!1),()=>s.delete(c))}),i?void 0:[n]);return h.useMemo(()=>{s.forEach((c,f)=>s.set(f,!1))},[n]),h.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),a==="popLayout"&&(e=h.createElement(A$,{isPresent:n},e)),h.createElement(sc.Provider,{value:u},e)};function j$(){return new Map}function N$(e){return h.useEffect(()=>()=>e(),[])}const ao=e=>e.key||"";function I$(e,t){e.forEach(n=>{const r=ao(n);t.set(r,n)})}function _$(e){const t=[];return h.Children.forEach(e,n=>{h.isValidElement(n)&&t.push(n)}),t}const D$=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:a="sync"})=>{const s=h.useContext(am).forceRender||F$()[0],l=K4(),u=_$(e);let c=u;const f=h.useRef(new Map).current,d=h.useRef(c),y=h.useRef(new Map).current,C=h.useRef(!0);if(nm(()=>{C.current=!1,I$(u,y),d.current=c}),N$(()=>{C.current=!0,y.clear(),f.clear()}),C.current)return h.createElement(h.Fragment,null,c.map(p=>h.createElement(kf,{key:ao(p),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:i,mode:a},p)));c=[...c];const v=d.current.map(ao),S=u.map(ao),g=v.length;for(let p=0;p<g;p++){const m=v[p];S.indexOf(m)===-1&&!f.has(m)&&f.set(m,void 0)}return a==="wait"&&f.size&&(c=[]),f.forEach((p,m)=>{if(S.indexOf(m)!==-1)return;const w=y.get(m);if(!w)return;const E=v.indexOf(m);let x=p;if(!x){const b=()=>{f.delete(m);const T=Array.from(y.keys()).filter(P=>!S.includes(P));if(T.forEach(P=>y.delete(P)),d.current=u.filter(P=>{const O=ao(P);return O===m||T.includes(O)}),!f.size){if(l.current===!1)return;s(),r&&r()}};x=h.createElement(kf,{key:ao(w),isPresent:!1,onExitComplete:b,custom:t,presenceAffectsLayout:i,mode:a},w),f.set(m,x)}c.splice(E,0,x)}),c=c.map(p=>{const m=p.key;return f.has(m)?p:h.createElement(kf,{key:ao(p),isPresent:!0,presenceAffectsLayout:i,mode:a},p)}),h.createElement(h.Fragment,null,f.size?c:c.map(p=>h.cloneElement(p)))};function V$(){return L.jsx(D$,{mode:"sync",children:L.jsx(L$.div,{exit:{opacity:0},animate:{opacity:1},transition:{duration:3},className:xR.loaderContainer,children:L.jsx(gR,{})})})}const B$=D9([{element:L.jsx(mR,{}),children:[{path:"/",lazy:()=>zo(()=>import("./index-78e1e530.js"),["assets/index-78e1e530.js","assets/Header-146bfe97.js","assets/index-0bfe7458.js","assets/Header-0ca6d921.css","assets/AILineageExplorerLogo-4258f229.js","assets/routes-17d4ed4d.js","assets/AILineageExplorerLogo-d7a79808.css","assets/index-16084821.js","assets/gapSize-a2278ff3.js","assets/index-e53189d4.css"])},{path:"/not-found",lazy:()=>zo(()=>import("./notFound-d720cf73.js"),["assets/notFound-d720cf73.js","assets/AILineageExplorerLogo-4258f229.js","assets/routes-17d4ed4d.js","assets/AILineageExplorerLogo-d7a79808.css","assets/index-16084821.js","assets/gapSize-a2278ff3.js","assets/notFound-e97b3f4d.css","assets/style-fb1f0fdc.css"])},{path:"/explorer/lineage/:owner/:repo",lazy:()=>zo(()=>import("./index-be54f8cb.js"),["assets/index-be54f8cb.js","assets/stripPrefix-e3f3bf0d.js","assets/index-0bfe7458.js","assets/routes-17d4ed4d.js","assets/stripPrefix-caaf2285.css","assets/AILineageExplorerLogo-4258f229.js","assets/AILineageExplorerLogo-d7a79808.css","assets/index-fe1978ec.css","assets/style-fb1f0fdc.css"]),id:"graph",children:[{path:":nodeCid/expanded?",lazy:()=>zo(()=>import("./drawer-0e0e61af.js"),["assets/drawer-0e0e61af.js","assets/stripPrefix-e3f3bf0d.js","assets/index-0bfe7458.js","assets/routes-17d4ed4d.js","assets/stripPrefix-caaf2285.css","assets/Header-146bfe97.js","assets/Header-0ca6d921.css","assets/gapSize-a2278ff3.js","assets/drawer-47a83320.css"])}]},{path:"/explorer/lineage",lazy:()=>zo(()=>import("./index-be54f8cb.js"),["assets/index-be54f8cb.js","assets/stripPrefix-e3f3bf0d.js","assets/index-0bfe7458.js","assets/routes-17d4ed4d.js","assets/stripPrefix-caaf2285.css","assets/AILineageExplorerLogo-4258f229.js","assets/AILineageExplorerLogo-d7a79808.css","assets/index-fe1978ec.css","assets/style-fb1f0fdc.css"]),id:"view",children:[{path:":nodeCid/expanded?",lazy:()=>zo(()=>import("./drawer-0e0e61af.js"),["assets/drawer-0e0e61af.js","assets/stripPrefix-e3f3bf0d.js","assets/index-0bfe7458.js","assets/routes-17d4ed4d.js","assets/stripPrefix-caaf2285.css","assets/Header-146bfe97.js","assets/Header-0ca6d921.css","assets/gapSize-a2278ff3.js","assets/drawer-47a83320.css"])}]}]}]);Y2(document.getElementById("root")).render(L.jsx(Z.StrictMode,{children:L.jsx(NM,{children:L.jsx(Z9,{router:B$,fallbackElement:L.jsx(V$,{})})})}));export{Cw as $,pr as A,Z$ as B,ft as C,l5 as D,L$ as E,tA as F,gs as G,D$ as H,v9 as I,W$ as J,oe as K,K$ as L,H$ as M,Ro as N,Je as O,pC as P,Ee as Q,Z as R,U as S,Kt as T,h5 as U,ps as V,tP as W,r8 as X,Qb as Y,Xt as Z,$e as _,Q$ as a,ee as a0,w3 as a1,yn as a2,vn as a3,u8 as a4,Mp as a5,Rt as a6,Fn as a7,Y$ as a8,b7 as a9,Jp as aA,eA as aB,sP as aC,X2 as aD,x5 as aE,Pw as aF,Mv as aG,Vn as aH,x3 as aI,XP as aJ,QP as aK,Ce as aL,ko as aM,G$ as aN,lO as aO,z$ as aP,Pa as aQ,X$ as aR,l8 as aS,bb as aT,oT as aU,nT as aV,Yb as aW,IP as aa,Gp as ab,xs as ac,lP as ad,qp as ae,vv as af,gE as ag,uu as ah,Zu as ai,$3 as aj,WE as ak,ys as al,Cs as am,Ss as an,xC as ao,_5 as ap,q$ as aq,uP as ar,O7 as as,LO as at,E7 as au,J$ as av,_p as aw,U5 as ax,Ov as ay,G5 as az,jo as b,le as c,D5 as d,Rp as e,es as f,Ph as g,Vp as h,h3 as i,L as j,kv as k,$5 as l,Wt as m,Wn as n,kp as o,Un as p,Y as q,h as r,V as s,Ya as t,xe as u,Bp as v,p5 as w,K5 as x,H5 as y,U$ as z};
static/assets/{notFound-2c694b04.js β†’ notFound-d720cf73.js} RENAMED
@@ -1 +1 @@
1
- import{j as e,k as n,l as c,m as r}from"./index-911b15ef.js";/* empty css */import{A as t,S as i}from"./AILineageExplorerLogo-b3c24471.js";import{F as l}from"./index-07236b78.js";import"./routes-17d4ed4d.js";import"./gapSize-a2278ff3.js";const g="/assets/not-found-face-6e443a8e.svg",h="_container_1omc0_1",p="_description_1omc0_10",s={container:h,description:p};function m(){return e.jsxs("section",{className:s.container,children:[e.jsx(l,{justify:"center",children:e.jsx("img",{style:{maxWidth:"70%",maxHeight:"70%"},src:g,alt:""})}),e.jsxs("p",{className:s.description,children:["No manifest found. ",e.jsx("br",{}),e.jsx("br",{}),e.jsx("a",{href:"https://mailchi.mp/ec627cc04cf2/huggingface-ai-lineage-explorer",target:"_blank",children:"Stay tuned"})," ","for updates regarding the open source SDK release. ",e.jsx("br",{}),e.jsx("br",{}),e.jsx("a",{href:"https://huggingface.co/spaces/EQTYLab/lineage-explorer/blob/main/README.md",target:"_blank",children:"Blog Post"})]})]})}const d="_searchWrapper_1hcue_6",x="_logo_1hcue_39",u="_searchBar_1hcue_57",o={"lineage-page-container":"_lineage-page-container_1hcue_1",searchWrapper:d,logo:x,searchBar:u};function N(){const a=n();return e.jsxs(c,{theme:{components:{Button:{colorPrimary:"rgb(0, 0, 100)",colorBgContainer:r.grey600,colorText:r.grey600,defaultBorderColor:"rgb(0, 0, 0)",colorPrimaryHover:r.grey600}}},children:[e.jsxs("div",{className:o.searchWrapper,children:[e.jsx("div",{className:o.logo,children:e.jsx("button",{style:{border:"none",background:"none"},onClick:()=>a("/"),children:e.jsx(t,{})})}),e.jsx(i,{className:o.searchBar,onSearch:()=>{},isLandingPage:!1})]}),e.jsx(m,{})]})}export{N as Component};
 
1
+ import{j as e,i as n,l as c,m as r}from"./index-c062f015.js";/* empty css */import{A as t,S as i}from"./AILineageExplorerLogo-4258f229.js";import{F as l}from"./index-16084821.js";import"./routes-17d4ed4d.js";import"./gapSize-a2278ff3.js";const g="/assets/not-found-face-6e443a8e.svg",h="_container_1omc0_1",p="_description_1omc0_10",s={container:h,description:p};function m(){return e.jsxs("section",{className:s.container,children:[e.jsx(l,{justify:"center",children:e.jsx("img",{style:{maxWidth:"70%",maxHeight:"70%"},src:g,alt:""})}),e.jsxs("p",{className:s.description,children:["No manifest found. ",e.jsx("br",{}),e.jsx("br",{}),e.jsx("a",{href:"https://mailchi.mp/ec627cc04cf2/huggingface-ai-lineage-explorer",target:"_blank",children:"Stay tuned"})," ","for updates regarding the open source SDK release. ",e.jsx("br",{}),e.jsx("br",{}),e.jsx("a",{href:"https://huggingface.co/spaces/EQTYLab/lineage-explorer/blob/main/README.md",target:"_blank",children:"Blog Post"})]})]})}const d="_searchWrapper_1hcue_6",x="_logo_1hcue_39",u="_searchBar_1hcue_57",o={"lineage-page-container":"_lineage-page-container_1hcue_1",searchWrapper:d,logo:x,searchBar:u};function N(){const a=n();return e.jsxs(c,{theme:{components:{Button:{colorPrimary:"rgb(0, 0, 100)",colorBgContainer:r.grey600,colorText:r.grey600,defaultBorderColor:"rgb(0, 0, 0)",colorPrimaryHover:r.grey600}}},children:[e.jsxs("div",{className:o.searchWrapper,children:[e.jsx("div",{className:o.logo,children:e.jsx("button",{style:{border:"none",background:"none"},onClick:()=>a("/"),children:e.jsx(t,{})})}),e.jsx(i,{className:o.searchBar,onSearch:()=>{},isLandingPage:!1})]}),e.jsx(m,{})]})}export{N as Component};
static/assets/{stripPrefix-d6a1507e.js β†’ stripPrefix-e3f3bf0d.js} RENAMED
The diff for this file is too large to render. See raw diff
 
static/index.html CHANGED
@@ -4,7 +4,7 @@
4
  <meta charset="UTF-8" />
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
  <title>Lineage Explorer</title>
7
- <script type="module" crossorigin src="/assets/index-911b15ef.js"></script>
8
  <link rel="stylesheet" href="/assets/index-516c5e14.css">
9
  </head>
10
  <body>
 
4
  <meta charset="UTF-8" />
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
  <title>Lineage Explorer</title>
7
+ <script type="module" crossorigin src="/assets/index-c062f015.js"></script>
8
  <link rel="stylesheet" href="/assets/index-516c5e14.css">
9
  </head>
10
  <body>