@decocms/mesh 1.0.13 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{AlertCircle-zCOLtXNG.js → AlertCircle-DaEUMwle.js} +1 -1
- package/dist/client/assets/{ArrowLeft-b0UM4Vui.js → ArrowLeft-CvFDkdiU.js} +1 -1
- package/dist/client/assets/{Calendar-Cxw5FKll.js → Calendar-DBqzL4c-.js} +1 -1
- package/dist/client/assets/{CheckCircle-U8-nit8x.js → CheckCircle-CILz6OCh.js} +1 -1
- package/dist/client/assets/{ChevronDown-BFYjmmoG.js → ChevronDown-g4L12M9A.js} +1 -1
- package/dist/client/assets/{Clock-qZko4uak.js → Clock-C-uwthk9.js} +1 -1
- package/dist/client/assets/{Copy01-XN5V21c6.js → Copy01-CHjgpWtl.js} +1 -1
- package/dist/client/assets/{CpuChip02-Nhk4zHXl.js → CpuChip02-DlCI7cQJ.js} +1 -1
- package/dist/client/assets/{DotsVertical-CcNQsTaW.js → DotsVertical-CIfapH0j.js} +1 -1
- package/dist/client/assets/{File06-DB55FK-Z.js → File06-CBkqKj5m.js} +1 -1
- package/dist/client/assets/{GitBranch01-CM-ab6hS.js → GitBranch01-Ci5lqvRi.js} +1 -1
- package/dist/client/assets/{Inbox01-CIzt2AdR.js → Inbox01-DCkU3Xgq.js} +1 -1
- package/dist/client/assets/{InfoCircle-ChxTTkMX.js → InfoCircle-BwNsGATl.js} +1 -1
- package/dist/client/assets/{Key01-DYiMWoz_.js → Key01-5nxXQgMM.js} +1 -1
- package/dist/client/assets/{LinkExternal01-CBZhTXC0.js → LinkExternal01-ISpHuMJE.js} +1 -1
- package/dist/client/assets/{Loading01-Dtm2TLlA.js → Loading01-r04aEG5T.js} +1 -1
- package/dist/client/assets/{Plus-DF_I5mml.js → Plus-CS_Y2Vnc.js} +1 -1
- package/dist/client/assets/{SearchMd-C_ak4ze3.js → SearchMd-1Gq7nypQ.js} +1 -1
- package/dist/client/assets/{Terminal-4DdepWh9.js → Terminal-DYN6gEAz.js} +1 -1
- package/dist/client/assets/{Trash01-FYPMjpVf.js → Trash01-DVxmznxT.js} +1 -1
- package/dist/client/assets/{Upload01-BYeEw9Vy.js → Upload01-Da0sGkRE.js} +1 -1
- package/dist/client/assets/{X-BTsWwO_U.js → X-BX0rl0N7.js} +1 -1
- package/dist/client/assets/{XClose-CY6vd_0A.js → XClose-BUuGHVgA.js} +1 -1
- package/dist/client/assets/{alert-dialog-DhxQ40TA.js → alert-dialog-DdP064l-.js} +1 -1
- package/dist/client/assets/{auth-CfgXQhXI.js → auth-AUS48lXs.js} +1 -1
- package/dist/client/assets/{auth-catchall-CohlC3Pb.js → auth-catchall-DqCIX1bA.js} +1 -1
- package/dist/client/assets/{avatar-CcUZFpwU.js → avatar-bcdjVFyi.js} +1 -1
- package/dist/client/assets/{badge-CgUwfcKq.js → badge-1WraHGEG.js} +1 -1
- package/dist/client/assets/{button-DuitHSR8.js → button-DodNLkpL.js} +1 -1
- package/dist/client/assets/{card-DkEpNms8.js → card-BHz-BqEu.js} +1 -1
- package/dist/client/assets/{checkbox-DTaSeum9.js → checkbox-Bj9jBMQF.js} +1 -1
- package/dist/client/assets/{collection-detail-Dvc6iyHF.js → collection-detail-QGbMDWA7.js} +1 -1
- package/dist/client/assets/{collection-display-button-DgDdVSTg.js → collection-display-button-475jHotV.js} +1 -1
- package/dist/client/assets/{collection-header-D-wXFMG4.js → collection-header-DcpyPzrC.js} +1 -1
- package/dist/client/assets/{collection-page-AFIAghtr.js → collection-page-DpUZNbpd.js} +1 -1
- package/dist/client/assets/{collection-search-OoKPetka.js → collection-search-DVBnlN6E.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-DEVlTpj8.js → collection-table-wrapper-DQ4F9pbh.js} +1 -1
- package/dist/client/assets/{connection-card-CVX6Dj6b.js → connection-card-opsQBUfD.js} +1 -1
- package/dist/client/assets/{connection-detail-C_uPOJ6z.js → connection-detail-DpiL6xjK.js} +1 -1
- package/dist/client/assets/{connections-DoAE9QhX.js → connections-CeDc3J_o.js} +1 -1
- package/dist/client/assets/{core-BMfBj0bw.js → core-DJoPglro.js} +1 -1
- package/dist/client/assets/{create-organization-dialog-C_xVF_Jl.js → create-organization-dialog-fbCy_hNu.js} +1 -1
- package/dist/client/assets/{dialog-Dl9CupEb.js → dialog-BqvvzTa7.js} +1 -1
- package/dist/client/assets/{dropdown-menu-CPQpNQmn.js → dropdown-menu-DrQKdl4f.js} +1 -1
- package/dist/client/assets/{env-vars-editor-BcyBU5xA.js → env-vars-editor-DEYac6H7.js} +1 -1
- package/dist/client/assets/{error-boundary-DMJQCmxn.js → error-boundary-CdmYlIj7.js} +1 -1
- package/dist/client/assets/{extract-connection-data-Bt1_1dQ8.js → extract-connection-data-Ty2DjF1e.js} +1 -1
- package/dist/client/assets/{form-BfiwCHdz.js → form-Bus-fIfC.js} +1 -1
- package/dist/client/assets/{formatDistanceToNow-BmkU67cZ.js → formatDistanceToNow-D46rGC8T.js} +1 -1
- package/dist/client/assets/{gateway-detail-ZknLelfM.js → gateway-detail-fCVh3_nF.js} +1 -1
- package/dist/client/assets/{gateways-BAQA-e5y.js → gateways-DQmZoxNy.js} +1 -1
- package/dist/client/assets/{home-BzOK0WeX.js → home-heelYyW2.js} +1 -1
- package/dist/client/assets/{index-CCNaUj2A.js → index-A52jfksK.js} +2 -2
- package/dist/client/assets/{index-DR-B7Y1Z.js → index-DDiLOLYT.js} +1 -1
- package/dist/client/assets/index-DKrh5SL2.css +1 -0
- package/dist/client/assets/{index-T7OaHK12.js → index-JV0IIYp6.js} +1 -1
- package/dist/client/assets/{index-be58e1VX.js → index-td_4XAxf.js} +1 -1
- package/dist/client/assets/{input-YU6lpVgW.js → input-BXHWk19m.js} +1 -1
- package/dist/client/assets/json-gPxhilNK.js +1 -0
- package/dist/client/assets/{json-syntax-highlighter-Dve1WRV4.js → json-syntax-highlighter-i1hiMNnF.js} +2 -2
- package/dist/client/assets/{layout-n40g10Oh.js → layout-dxbGsEKV.js} +1 -1
- package/dist/client/assets/{lazy-highlighter-BY_mRZdt.js → lazy-highlighter-QDCjbXst.js} +1 -1
- package/dist/client/assets/{localstorage-keys-BphvZ-YX.js → localstorage-keys-D7pZSS7H.js} +1 -1
- package/dist/client/assets/{login-CJi6KFGq.js → login-CcnR2b1q.js} +1 -1
- package/dist/client/assets/{mcp-oauth-CvO1Z13d.js → mcp-oauth-D7V7V-GS.js} +1 -1
- package/dist/client/assets/{members-UHyk3Nn4.js → members-D5QtYSzf.js} +1 -1
- package/dist/client/assets/{monitoring-65mgE8O0.js → monitoring-Cp92YRPy.js} +1 -1
- package/dist/client/assets/{oauth-callback-KqixmXKf.js → oauth-callback-1_PgXFG_.js} +1 -1
- package/dist/client/assets/{page-DmmG4y1n.js → page-C8KGQPlY.js} +1 -1
- package/dist/client/assets/{popover-PTQF8Dbg.js → popover-MhzpcVkW.js} +1 -1
- package/dist/client/assets/prism-light-C-ukkBST.js +1 -0
- package/dist/client/assets/{resizable-BF9gWgPg.js → resizable-B3HA_CX4.js} +3 -3
- package/dist/client/assets/{resource-tabs-Dx5v9tHv.js → resource-tabs-ru5yaRIE.js} +1 -1
- package/dist/client/assets/{select-C4QWjnSz.js → select-Be0LRVWn.js} +1 -1
- package/dist/client/assets/{settings-UndPSfwX.js → settings-gZFi_2QA.js} +1 -1
- package/dist/client/assets/shell-layout-adVEIdhn.js +17 -0
- package/dist/client/assets/{spinner-CNb2mD_9.js → spinner-oZ2DO2-U.js} +1 -1
- package/dist/client/assets/store-DzO4PTg0.js +1 -0
- package/dist/client/assets/{store-app-detail-BQ4UUaoG.js → store-app-detail-BIXt1EdE.js} +1 -1
- package/dist/client/assets/{switch-BmVnuO_C.js → switch-DsCvClV8.js} +1 -1
- package/dist/client/assets/{tools-list-BV-qlQqF.js → tools-list-BsHebq88.js} +1 -1
- package/dist/client/assets/{tooltip-CqCXb38Z.js → tooltip-BjhP6ibY.js} +1 -1
- package/dist/client/assets/{types-Bm46njUN.js → types-D4T3qWDr.js} +1 -1
- package/dist/client/assets/{use-binding-DdwsXkNS.js → use-binding-CapMpNVF.js} +1 -1
- package/dist/client/assets/{use-connection-BbvAiBvg.js → use-connection-BX5-4xHw.js} +1 -1
- package/dist/client/assets/{use-connection-resources-D-1-SK-8.js → use-connection-resources-FqHsvBSA.js} +1 -1
- package/dist/client/assets/{use-gateway-L1UQyU7-.js → use-gateway-CseaalWF.js} +1 -1
- package/dist/client/assets/{use-list-state-DVYCFUpb.js → use-list-state-7NLbXyOC.js} +1 -1
- package/dist/client/assets/{use-mcp-CWOlOW9q.js → use-mcp-M6XXMHar.js} +1 -1
- package/dist/client/assets/{use-members-Dyh_-7GU.js → use-members-DzZB15s9.js} +1 -1
- package/dist/client/assets/{use-mobile-B0xRFGhT.js → use-mobile-TpeNqylz.js} +1 -1
- package/dist/client/assets/{use-organization-settings-fWTyw7VB.js → use-organization-settings-BAhAEDx8.js} +1 -1
- package/dist/client/assets/{use-tool-call-CVPTtLoG.js → use-tool-call-CQCb5PBf.js} +1 -1
- package/dist/client/assets/useQuery-ojqdZMTH.js +1 -0
- package/dist/client/assets/utils-DgLfrg3u.js +1 -0
- package/dist/client/assets/{view-mode-toggle-DOtHoBLN.js → view-mode-toggle-DAXMt6ZW.js} +1 -1
- package/dist/client/assets/well-known-mcp-BPQQU1v0.js +1 -0
- package/dist/client/empty-state-openrouter.svg +320 -0
- package/dist/client/emptystate-mcp.svg +26 -70
- package/dist/client/index.html +2 -2
- package/dist/client/store-empty-state.svg +96 -349
- package/dist/server/cli.js +112 -112
- package/dist/server/server.js +105 -105
- package/package.json +1 -1
- package/dist/client/assets/index-Dgn6D_6Q.css +0 -1
- package/dist/client/assets/json-BnmF_c7J.js +0 -1
- package/dist/client/assets/prism-light-0RxCg8xt.js +0 -1
- package/dist/client/assets/shell-layout-BLjMALRt.js +0 -17
- package/dist/client/assets/store-CGyOcqhE.js +0 -1
- package/dist/client/assets/useQuery-C4GPpw7d.js +0 -1
- package/dist/client/assets/utils-o1atviYh.js +0 -1
- package/dist/client/assets/well-known-mcp-d1wcdFCF.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{K as B,j as t,c as O,f as Q,r as k}from"./index-
|
|
1
|
+
import{K as B,j as t,c as O,f as Q,r as k}from"./index-A52jfksK.js";import{u as U}from"./useQuery-ojqdZMTH.js";import{i as W}from"./File06-CBkqKj5m.js";import{i as Y}from"./Loading01-r04aEG5T.js";import{e as J}from"./registry-utils-ulDDT0d8.js";import{C as P}from"./collection-display-button-475jHotV.js";import{C as X}from"./collection-search-DVBnlN6E.js";import{C as Z}from"./collection-table-wrapper-DQ4F9pbh.js";import{E as z}from"./SearchMd-1Gq7nypQ.js";import{I as ee}from"./use-connection-BX5-4xHw.js";import{C as te}from"./card-BHz-BqEu.js";import{V as se}from"./layout-dxbGsEKV.js";function oe(s){return s.replace(/<a[^>]*class="[^"]*anchor[^"]*"[^>]*>.*?<\/a>/gi,"")}function re(s){return s.replace(/<a\s+([^>]*href="[^"]*"[^>]*)>/gi,(e,i)=>i.includes("target=")?e.replace(/target="[^"]*"/gi,'target="_blank"'):`<a ${i} target="_blank" rel="noopener noreferrer">`)}function ne(s){let e=oe(s);return e=re(e),e}function ve({repository:s}){const e=s?J(s):null,{data:i,isLoading:c}=U({queryKey:B.githubReadme(e?.owner,e?.repo),queryFn:async()=>{if(!e)return null;try{const l=await fetch(`https://api.github.com/repos/${e.owner}/${e.repo}/readme`,{headers:{Accept:"application/vnd.github.v3.html"}});if(!l.ok){if(l.status===404)return null;throw new Error(`Failed to fetch README: ${l.statusText}`)}const m=await l.text();return ne(m)}catch(l){return console.error("Error fetching README:",l),null}},enabled:!!e&&!!s,staleTime:3600*1e3,gcTime:1440*60*1e3});return c?t.jsx("div",{className:"flex items-center justify-center h-full",children:t.jsx(Y,{size:32,className:"animate-spin text-muted-foreground"})}):i?t.jsx("div",{className:"p-5 markdown-body",style:{backgroundColor:"transparent"},dangerouslySetInnerHTML:{__html:i}}):t.jsxs("div",{className:"flex flex-col items-center justify-center h-full text-center p-6",children:[t.jsx(W,{size:48,className:"text-muted-foreground mb-4"}),t.jsx("h3",{className:"text-lg font-medium mb-2",children:"README not found"}),t.jsx("p",{className:"text-muted-foreground max-w-md",children:"This repository doesn't have a README file, or it's not publicly accessible."})]})}function Ce(s){const e=O.c(39),{tools:i,connectionId:c,org:l,onToolClick:m,showToolbar:L,emptyMessage:M}=s,D=L===void 0?!0:L,j=M===void 0?"This connection doesn't have any tools yet.":M,I=Q(),[n,$]=k.useState(""),[d,H]=k.useState("table"),[r,A]=k.useState("name"),[a,_]=k.useState("asc");let y;e[0]!==a||e[1]!==r?(y=o=>{r===o?(_(me),a==="desc"&&A(void 0)):(A(o),_("asc"))},e[0]=a,e[1]=r,e[2]=y):y=e[2];const u=y;let N;e[3]!==c||e[4]!==I||e[5]!==m||e[6]!==l?(N=o=>{m?m(o):c&&l&&I({to:"/$org/mcps/$connectionId/$collectionName/$itemId",params:{org:l,connectionId:c,collectionName:"tools",itemId:encodeURIComponent(o.name)}})},e[3]=c,e[4]=I,e[5]=m,e[6]=l,e[7]=N):N=e[7];const w=N;let v;if(e[8]!==n||e[9]!==a||e[10]!==r||e[11]!==i){const o=!i||i.length===0?[]:n.trim()?(()=>{const R=n.toLowerCase();return i.filter(b=>b.name.toLowerCase().includes(R)||b.description&&b.description.toLowerCase().includes(R))})():i;v=!r||!a?o:[...o].sort((R,b)=>{const q=R[r]||"",G=b[r]||"",K=String(q).localeCompare(String(G));return a==="asc"?K:-K}),e[8]=n,e[9]=a,e[10]=r,e[11]=i,e[12]=v}else v=e[12];const g=v;let C;e[13]===Symbol.for("react.memo_cache_sentinel")?(C=[{id:"name",header:"Name",render:ce,sortable:!0},{id:"description",header:"Description",render:le,cellClassName:"flex-1",sortable:!0}],e[13]=C):C=e[13];const V=C;let S;e[14]===Symbol.for("react.memo_cache_sentinel")?(S=V.filter(ie).map(ae),e[14]=S):S=e[14];const F=S;let f;e[15]!==u||e[16]!==D||e[17]!==a||e[18]!==r||e[19]!==d?(f=D&&t.jsx(se,{children:t.jsx(P,{viewMode:d,onViewModeChange:H,sortKey:r,sortDirection:a,onSort:u,sortOptions:F})}),e[15]=u,e[16]=D,e[17]=a,e[18]=r,e[19]=d,e[20]=f):f=e[20];let E;e[21]===Symbol.for("react.memo_cache_sentinel")?(E=o=>{o.key==="Escape"&&($(""),o.target.blur())},e[21]=E):E=e[21];let p;e[22]!==n?(p=t.jsx(X,{value:n,onChange:$,placeholder:"Search tools...",onKeyDown:E}),e[22]=n,e[23]=p):p=e[23];let h;e[24]!==j||e[25]!==u||e[26]!==w||e[27]!==n||e[28]!==a||e[29]!==r||e[30]!==g||e[31]!==d?(h=d==="cards"?t.jsx("div",{className:"flex-1 overflow-auto p-5",children:g.length===0?t.jsx(z,{image:null,title:n?"No tools found":"No tools available",description:n?"Try adjusting your search terms":j}):t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-4",children:g.map(o=>t.jsx(te,{className:"cursor-pointer transition-colors",onClick:()=>w(o),children:t.jsxs("div",{className:"flex flex-col gap-4 p-6",children:[t.jsx(ee,{icon:null,name:o.name,size:"md",className:"shrink-0 shadow-sm"}),t.jsxs("div",{className:"flex flex-col gap-0",children:[t.jsx("h3",{className:"text-base font-medium text-foreground truncate",children:o.name}),t.jsx("p",{className:"text-base text-muted-foreground line-clamp-2",children:o.description||"No description"})]})]})},o.name))})}):t.jsx(Z,{columns:V,data:g,isLoading:!1,sortKey:r,sortDirection:a,onSort:u,onRowClick:o=>w(o),emptyState:t.jsx(z,{image:null,title:n?"No tools found":"No tools available",description:n?"Try adjusting your search terms":j})}),e[24]=j,e[25]=u,e[26]=w,e[27]=n,e[28]=a,e[29]=r,e[30]=g,e[31]=d,e[32]=h):h=e[32];let x;e[33]!==p||e[34]!==h?(x=t.jsxs("div",{className:"flex flex-col h-full overflow-hidden",children:[p,h]}),e[33]=p,e[34]=h,e[35]=x):x=e[35];let T;return e[36]!==x||e[37]!==f?(T=t.jsxs(t.Fragment,{children:[f,x]}),e[36]=x,e[37]=f,e[38]=T):T=e[38],T}function ae(s){return{id:s.id,label:typeof s.header=="string"?s.header:s.id}}function ie(s){return s.sortable}function le(s){return t.jsx("span",{className:"text-sm text-foreground",children:s.description||"—"})}function ce(s){return t.jsx("span",{className:"text-sm font-medium font-mono text-foreground",children:s.name})}function me(s){return s==="asc"?"desc":s==="desc"?null:"asc"}export{ve as R,Ce as T};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,j as d,z as H,c as j,F as Z,a5 as $,a1 as G,a8 as ee,B as C,a2 as z,a9 as te,af as oe,ag as re,bg as ne,a7 as se,y as ae,a6 as ie,ah as le}from"./index-CCNaUj2A.js";import{c as ce}from"./utils-o1atviYh.js";var ue=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),de="VisuallyHidden",F=a.forwardRef((o,e)=>d.jsx(H.span,{...o,ref:e,style:{...ue,...o.style}}));F.displayName=de;var pe=F;const fe=({size:o=24,color:e="currentColor",...t})=>a.createElement("svg",{viewBox:"0 0 24 24",width:o,height:o,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},a.createElement("path",{d:"M20 6 9 17l-5-5"}));fe.displayName="Check";const S="org-admin",ve={from({org:o,project:e}){if(o?.includes("/")||e.includes("/"))throw new Error("Org or project cannot contain slashes");return`${o}/${e}`},parse(o){o.startsWith("/")&&(o=o.slice(1));const[e,t]=o.split("/");if(!e||!t)throw new Error("Invalid locator");return{org:e,project:t}},isOrgAdminProject(o){return o.split("/")[1]===S},adminProject(o){return`${o}/${S}`}},V=a.createContext(void 0),$e=()=>{const o=a.useContext(V);if(!o)throw new Error("useProjectContext must be used within a ProjectContextProvider");return o},Ge=o=>{const e=j.c(10),{children:t,org:r,project:n}=o;let s;e[0]!==r.slug||e[1]!==n.slug?(s=ve.from({org:r.slug,project:n.slug}),e[0]=r.slug,e[1]=n.slug,e[2]=s):s=e[2];const l=s;let c;e[3]!==l||e[4]!==r||e[5]!==n?(c={org:r,project:n,locator:l},e[3]=l,e[4]=r,e[5]=n,e[6]=c):c=e[6];const i=c;let u;return e[7]!==t||e[8]!==i?(u=d.jsx(V.Provider,{value:i,children:t}),e[7]=t,e[8]=i,e[9]=u):u=e[9],u};var[O]=Z("Tooltip",[$]),L=$(),B="TooltipProvider",he=700,D="tooltip.open",[xe,A]=O(B),U=o=>{const{__scopeTooltip:e,delayDuration:t=he,skipDelayDuration:r=300,disableHoverableContent:n=!1,children:s}=o,l=a.useRef(!0),c=a.useRef(!1),i=a.useRef(0);return a.useEffect(()=>{const u=i.current;return()=>window.clearTimeout(u)},[]),d.jsx(xe,{scope:e,isOpenDelayedRef:l,delayDuration:t,onOpen:a.useCallback(()=>{window.clearTimeout(i.current),l.current=!1},[]),onClose:a.useCallback(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(()=>l.current=!0,r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:a.useCallback(u=>{c.current=u},[]),disableHoverableContent:n,children:s})};U.displayName=B;var R="Tooltip",[ge,_]=O(R),Y=o=>{const{__scopeTooltip:e,children:t,open:r,defaultOpen:n,onOpenChange:s,disableHoverableContent:l,delayDuration:c}=o,i=A(R,o.__scopeTooltip),u=L(e),[p,v]=a.useState(null),h=se(),f=a.useRef(0),x=l??i.disableHoverableContent,m=c??i.delayDuration,g=a.useRef(!1),[y,T]=ae({prop:r,defaultProp:n??!1,onChange:M=>{M?(i.onOpen(),document.dispatchEvent(new CustomEvent(D))):i.onClose(),s?.(M)},caller:R}),b=a.useMemo(()=>y?g.current?"delayed-open":"instant-open":"closed",[y]),P=a.useCallback(()=>{window.clearTimeout(f.current),f.current=0,g.current=!1,T(!0)},[T]),E=a.useCallback(()=>{window.clearTimeout(f.current),f.current=0,T(!1)},[T]),I=a.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>{g.current=!0,T(!0),f.current=0},m)},[m,T]);return a.useEffect(()=>()=>{f.current&&(window.clearTimeout(f.current),f.current=0)},[]),d.jsx(ie,{...u,children:d.jsx(ge,{scope:e,contentId:h,open:y,stateAttribute:b,trigger:p,onTriggerChange:v,onTriggerEnter:a.useCallback(()=>{i.isOpenDelayedRef.current?I():P()},[i.isOpenDelayedRef,I,P]),onTriggerLeave:a.useCallback(()=>{x?E():(window.clearTimeout(f.current),f.current=0)},[E,x]),onOpen:P,onClose:E,disableHoverableContent:x,children:t})})};Y.displayName=R;var k="TooltipTrigger",W=a.forwardRef((o,e)=>{const{__scopeTooltip:t,...r}=o,n=_(k,t),s=A(k,t),l=L(t),c=a.useRef(null),i=G(e,c,n.onTriggerChange),u=a.useRef(!1),p=a.useRef(!1),v=a.useCallback(()=>u.current=!1,[]);return a.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),d.jsx(ee,{asChild:!0,...l,children:d.jsx(H.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...r,ref:i,onPointerMove:C(o.onPointerMove,h=>{h.pointerType!=="touch"&&!p.current&&!s.isPointerInTransitRef.current&&(n.onTriggerEnter(),p.current=!0)}),onPointerLeave:C(o.onPointerLeave,()=>{n.onTriggerLeave(),p.current=!1}),onPointerDown:C(o.onPointerDown,()=>{n.open&&n.onClose(),u.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:C(o.onFocus,()=>{u.current||n.onOpen()}),onBlur:C(o.onBlur,n.onClose),onClick:C(o.onClick,n.onClose)})})});W.displayName=k;var N="TooltipPortal",[me,Te]=O(N,{forceMount:void 0}),q=o=>{const{__scopeTooltip:e,forceMount:t,children:r,container:n}=o,s=_(N,e);return d.jsx(me,{scope:e,forceMount:t,children:d.jsx(z,{present:t||s.open,children:d.jsx(te,{asChild:!0,container:n,children:r})})})};q.displayName=N;var w="TooltipContent",X=a.forwardRef((o,e)=>{const t=Te(w,o.__scopeTooltip),{forceMount:r=t.forceMount,side:n="top",...s}=o,l=_(w,o.__scopeTooltip);return d.jsx(z,{present:r||l.open,children:l.disableHoverableContent?d.jsx(J,{side:n,...s,ref:e}):d.jsx(ye,{side:n,...s,ref:e})})}),ye=a.forwardRef((o,e)=>{const t=_(w,o.__scopeTooltip),r=A(w,o.__scopeTooltip),n=a.useRef(null),s=G(e,n),[l,c]=a.useState(null),{trigger:i,onClose:u}=t,p=n.current,{onPointerInTransitChange:v}=r,h=a.useCallback(()=>{c(null),v(!1)},[v]),f=a.useCallback((x,m)=>{const g=x.currentTarget,y={x:x.clientX,y:x.clientY},T=Pe(y,g.getBoundingClientRect()),b=Ee(y,T),P=Re(m.getBoundingClientRect()),E=_e([...b,...P]);c(E),v(!0)},[v]);return a.useEffect(()=>()=>h(),[h]),a.useEffect(()=>{if(i&&p){const x=g=>f(g,p),m=g=>f(g,i);return i.addEventListener("pointerleave",x),p.addEventListener("pointerleave",m),()=>{i.removeEventListener("pointerleave",x),p.removeEventListener("pointerleave",m)}}},[i,p,f,h]),a.useEffect(()=>{if(l){const x=m=>{const g=m.target,y={x:m.clientX,y:m.clientY},T=i?.contains(g)||p?.contains(g),b=!je(y,l);T?h():b&&(h(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[i,p,l,u,h]),d.jsx(J,{...o,ref:s})}),[Ce,we]=O(R,{isInside:!1}),be=ne("TooltipContent"),J=a.forwardRef((o,e)=>{const{__scopeTooltip:t,children:r,"aria-label":n,onEscapeKeyDown:s,onPointerDownOutside:l,...c}=o,i=_(w,t),u=L(t),{onClose:p}=i;return a.useEffect(()=>(document.addEventListener(D,p),()=>document.removeEventListener(D,p)),[p]),a.useEffect(()=>{if(i.trigger){const v=h=>{h.target?.contains(i.trigger)&&p()};return window.addEventListener("scroll",v,{capture:!0}),()=>window.removeEventListener("scroll",v,{capture:!0})}},[i.trigger,p]),d.jsx(oe,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:v=>v.preventDefault(),onDismiss:p,children:d.jsxs(re,{"data-state":i.stateAttribute,...u,...c,ref:e,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[d.jsx(be,{children:r}),d.jsx(Ce,{scope:t,isInside:!0,children:d.jsx(pe,{id:i.contentId,role:"tooltip",children:n||r})})]})})});X.displayName=w;var K="TooltipArrow",Q=a.forwardRef((o,e)=>{const{__scopeTooltip:t,...r}=o,n=L(t);return we(K,t).isInside?null:d.jsx(le,{...n,...r,ref:e})});Q.displayName=K;function Pe(o,e){const t=Math.abs(e.top-o.y),r=Math.abs(e.bottom-o.y),n=Math.abs(e.right-o.x),s=Math.abs(e.left-o.x);switch(Math.min(t,r,n,s)){case s:return"left";case n:return"right";case t:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Ee(o,e,t=5){const r=[];switch(e){case"top":r.push({x:o.x-t,y:o.y+t},{x:o.x+t,y:o.y+t});break;case"bottom":r.push({x:o.x-t,y:o.y-t},{x:o.x+t,y:o.y-t});break;case"left":r.push({x:o.x+t,y:o.y-t},{x:o.x+t,y:o.y+t});break;case"right":r.push({x:o.x-t,y:o.y-t},{x:o.x-t,y:o.y+t});break}return r}function Re(o){const{top:e,right:t,bottom:r,left:n}=o;return[{x:n,y:e},{x:t,y:e},{x:t,y:r},{x:n,y:r}]}function je(o,e){const{x:t,y:r}=o;let n=!1;for(let s=0,l=e.length-1;s<e.length;l=s++){const c=e[s],i=e[l],u=c.x,p=c.y,v=i.x,h=i.y;p>r!=h>r&&t<(v-u)*(r-p)/(h-p)+u&&(n=!n)}return n}function _e(o){const e=o.slice();return e.sort((t,r)=>t.x<r.x?-1:t.x>r.x?1:t.y<r.y?-1:t.y>r.y?1:0),Oe(e)}function Oe(o){if(o.length<=1)return o.slice();const e=[];for(let r=0;r<o.length;r++){const n=o[r];for(;e.length>=2;){const s=e[e.length-1],l=e[e.length-2];if((s.x-l.x)*(n.y-l.y)>=(s.y-l.y)*(n.x-l.x))e.pop();else break}e.push(n)}e.pop();const t=[];for(let r=o.length-1;r>=0;r--){const n=o[r];for(;t.length>=2;){const s=t[t.length-1],l=t[t.length-2];if((s.x-l.x)*(n.y-l.y)>=(s.y-l.y)*(n.x-l.x))t.pop();else break}t.push(n)}return t.pop(),e.length===1&&t.length===1&&e[0].x===t[0].x&&e[0].y===t[0].y?e:e.concat(t)}var Le=U,De=Y,ke=W,Ae=q,Ne=X,Ie=Q;function Me(o){const e=j.c(6);let t,r;e[0]!==o?({delayDuration:r,...t}=o,e[0]=o,e[1]=t,e[2]=r):(t=e[1],r=e[2]);const n=r===void 0?0:r;let s;return e[3]!==n||e[4]!==t?(s=d.jsx(Le,{"data-slot":"tooltip-provider",delayDuration:n,...t}),e[3]=n,e[4]=t,e[5]=s):s=e[5],s}function ze(o){const e=j.c(4);let t;e[0]!==o?({...t}=o,e[0]=o,e[1]=t):t=e[1];let r;return e[2]!==t?(r=d.jsx(Me,{children:d.jsx(De,{"data-slot":"tooltip",...t})}),e[2]=t,e[3]=r):r=e[3],r}function Fe(o){const e=j.c(4);let t;e[0]!==o?({...t}=o,e[0]=o,e[1]=t):t=e[1];let r;return e[2]!==t?(r=d.jsx(ke,{"data-slot":"tooltip-trigger",...t}),e[2]=t,e[3]=r):r=e[3],r}function Ve(o){const e=j.c(13);let t,r,n,s;e[0]!==o?({className:r,sideOffset:s,children:t,...n}=o,e[0]=o,e[1]=t,e[2]=r,e[3]=n,e[4]=s):(t=e[1],r=e[2],n=e[3],s=e[4]);const l=s===void 0?0:s;let c;e[5]!==r?(c=ce("bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",r),e[5]=r,e[6]=c):c=e[6];let i;e[7]===Symbol.for("react.memo_cache_sentinel")?(i=d.jsx(Ie,{className:"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"}),e[7]=i):i=e[7];let u;return e[8]!==t||e[9]!==n||e[10]!==l||e[11]!==c?(u=d.jsx(Ae,{children:d.jsxs(Ne,{"data-slot":"tooltip-content",sideOffset:l,className:c,...n,children:[t,i]})}),e[8]=t,e[9]=n,e[10]=l,e[11]=c,e[12]=u):u=e[12],u}export{ve as L,S as O,Ge as P,Ve as T,ue as V,Me as a,Fe as b,ze as c,fe as i,$e as u};
|
|
1
|
+
import{r as a,j as d,z as H,c as j,F as Z,a5 as $,a1 as G,a8 as ee,B as C,a2 as z,a9 as te,af as oe,ag as re,bg as ne,a7 as se,y as ae,a6 as ie,ah as le}from"./index-A52jfksK.js";import{c as ce}from"./utils-DgLfrg3u.js";var ue=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),de="VisuallyHidden",F=a.forwardRef((o,e)=>d.jsx(H.span,{...o,ref:e,style:{...ue,...o.style}}));F.displayName=de;var pe=F;const fe=({size:o=24,color:e="currentColor",...t})=>a.createElement("svg",{viewBox:"0 0 24 24",width:o,height:o,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},a.createElement("path",{d:"M20 6 9 17l-5-5"}));fe.displayName="Check";const S="org-admin",ve={from({org:o,project:e}){if(o?.includes("/")||e.includes("/"))throw new Error("Org or project cannot contain slashes");return`${o}/${e}`},parse(o){o.startsWith("/")&&(o=o.slice(1));const[e,t]=o.split("/");if(!e||!t)throw new Error("Invalid locator");return{org:e,project:t}},isOrgAdminProject(o){return o.split("/")[1]===S},adminProject(o){return`${o}/${S}`}},V=a.createContext(void 0),$e=()=>{const o=a.useContext(V);if(!o)throw new Error("useProjectContext must be used within a ProjectContextProvider");return o},Ge=o=>{const e=j.c(10),{children:t,org:r,project:n}=o;let s;e[0]!==r.slug||e[1]!==n.slug?(s=ve.from({org:r.slug,project:n.slug}),e[0]=r.slug,e[1]=n.slug,e[2]=s):s=e[2];const l=s;let c;e[3]!==l||e[4]!==r||e[5]!==n?(c={org:r,project:n,locator:l},e[3]=l,e[4]=r,e[5]=n,e[6]=c):c=e[6];const i=c;let u;return e[7]!==t||e[8]!==i?(u=d.jsx(V.Provider,{value:i,children:t}),e[7]=t,e[8]=i,e[9]=u):u=e[9],u};var[O]=Z("Tooltip",[$]),L=$(),B="TooltipProvider",he=700,D="tooltip.open",[xe,A]=O(B),U=o=>{const{__scopeTooltip:e,delayDuration:t=he,skipDelayDuration:r=300,disableHoverableContent:n=!1,children:s}=o,l=a.useRef(!0),c=a.useRef(!1),i=a.useRef(0);return a.useEffect(()=>{const u=i.current;return()=>window.clearTimeout(u)},[]),d.jsx(xe,{scope:e,isOpenDelayedRef:l,delayDuration:t,onOpen:a.useCallback(()=>{window.clearTimeout(i.current),l.current=!1},[]),onClose:a.useCallback(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(()=>l.current=!0,r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:a.useCallback(u=>{c.current=u},[]),disableHoverableContent:n,children:s})};U.displayName=B;var R="Tooltip",[ge,_]=O(R),Y=o=>{const{__scopeTooltip:e,children:t,open:r,defaultOpen:n,onOpenChange:s,disableHoverableContent:l,delayDuration:c}=o,i=A(R,o.__scopeTooltip),u=L(e),[p,v]=a.useState(null),h=se(),f=a.useRef(0),x=l??i.disableHoverableContent,m=c??i.delayDuration,g=a.useRef(!1),[y,T]=ae({prop:r,defaultProp:n??!1,onChange:M=>{M?(i.onOpen(),document.dispatchEvent(new CustomEvent(D))):i.onClose(),s?.(M)},caller:R}),b=a.useMemo(()=>y?g.current?"delayed-open":"instant-open":"closed",[y]),P=a.useCallback(()=>{window.clearTimeout(f.current),f.current=0,g.current=!1,T(!0)},[T]),E=a.useCallback(()=>{window.clearTimeout(f.current),f.current=0,T(!1)},[T]),I=a.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>{g.current=!0,T(!0),f.current=0},m)},[m,T]);return a.useEffect(()=>()=>{f.current&&(window.clearTimeout(f.current),f.current=0)},[]),d.jsx(ie,{...u,children:d.jsx(ge,{scope:e,contentId:h,open:y,stateAttribute:b,trigger:p,onTriggerChange:v,onTriggerEnter:a.useCallback(()=>{i.isOpenDelayedRef.current?I():P()},[i.isOpenDelayedRef,I,P]),onTriggerLeave:a.useCallback(()=>{x?E():(window.clearTimeout(f.current),f.current=0)},[E,x]),onOpen:P,onClose:E,disableHoverableContent:x,children:t})})};Y.displayName=R;var k="TooltipTrigger",W=a.forwardRef((o,e)=>{const{__scopeTooltip:t,...r}=o,n=_(k,t),s=A(k,t),l=L(t),c=a.useRef(null),i=G(e,c,n.onTriggerChange),u=a.useRef(!1),p=a.useRef(!1),v=a.useCallback(()=>u.current=!1,[]);return a.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),d.jsx(ee,{asChild:!0,...l,children:d.jsx(H.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...r,ref:i,onPointerMove:C(o.onPointerMove,h=>{h.pointerType!=="touch"&&!p.current&&!s.isPointerInTransitRef.current&&(n.onTriggerEnter(),p.current=!0)}),onPointerLeave:C(o.onPointerLeave,()=>{n.onTriggerLeave(),p.current=!1}),onPointerDown:C(o.onPointerDown,()=>{n.open&&n.onClose(),u.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:C(o.onFocus,()=>{u.current||n.onOpen()}),onBlur:C(o.onBlur,n.onClose),onClick:C(o.onClick,n.onClose)})})});W.displayName=k;var N="TooltipPortal",[me,Te]=O(N,{forceMount:void 0}),q=o=>{const{__scopeTooltip:e,forceMount:t,children:r,container:n}=o,s=_(N,e);return d.jsx(me,{scope:e,forceMount:t,children:d.jsx(z,{present:t||s.open,children:d.jsx(te,{asChild:!0,container:n,children:r})})})};q.displayName=N;var w="TooltipContent",X=a.forwardRef((o,e)=>{const t=Te(w,o.__scopeTooltip),{forceMount:r=t.forceMount,side:n="top",...s}=o,l=_(w,o.__scopeTooltip);return d.jsx(z,{present:r||l.open,children:l.disableHoverableContent?d.jsx(J,{side:n,...s,ref:e}):d.jsx(ye,{side:n,...s,ref:e})})}),ye=a.forwardRef((o,e)=>{const t=_(w,o.__scopeTooltip),r=A(w,o.__scopeTooltip),n=a.useRef(null),s=G(e,n),[l,c]=a.useState(null),{trigger:i,onClose:u}=t,p=n.current,{onPointerInTransitChange:v}=r,h=a.useCallback(()=>{c(null),v(!1)},[v]),f=a.useCallback((x,m)=>{const g=x.currentTarget,y={x:x.clientX,y:x.clientY},T=Pe(y,g.getBoundingClientRect()),b=Ee(y,T),P=Re(m.getBoundingClientRect()),E=_e([...b,...P]);c(E),v(!0)},[v]);return a.useEffect(()=>()=>h(),[h]),a.useEffect(()=>{if(i&&p){const x=g=>f(g,p),m=g=>f(g,i);return i.addEventListener("pointerleave",x),p.addEventListener("pointerleave",m),()=>{i.removeEventListener("pointerleave",x),p.removeEventListener("pointerleave",m)}}},[i,p,f,h]),a.useEffect(()=>{if(l){const x=m=>{const g=m.target,y={x:m.clientX,y:m.clientY},T=i?.contains(g)||p?.contains(g),b=!je(y,l);T?h():b&&(h(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[i,p,l,u,h]),d.jsx(J,{...o,ref:s})}),[Ce,we]=O(R,{isInside:!1}),be=ne("TooltipContent"),J=a.forwardRef((o,e)=>{const{__scopeTooltip:t,children:r,"aria-label":n,onEscapeKeyDown:s,onPointerDownOutside:l,...c}=o,i=_(w,t),u=L(t),{onClose:p}=i;return a.useEffect(()=>(document.addEventListener(D,p),()=>document.removeEventListener(D,p)),[p]),a.useEffect(()=>{if(i.trigger){const v=h=>{h.target?.contains(i.trigger)&&p()};return window.addEventListener("scroll",v,{capture:!0}),()=>window.removeEventListener("scroll",v,{capture:!0})}},[i.trigger,p]),d.jsx(oe,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:v=>v.preventDefault(),onDismiss:p,children:d.jsxs(re,{"data-state":i.stateAttribute,...u,...c,ref:e,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[d.jsx(be,{children:r}),d.jsx(Ce,{scope:t,isInside:!0,children:d.jsx(pe,{id:i.contentId,role:"tooltip",children:n||r})})]})})});X.displayName=w;var K="TooltipArrow",Q=a.forwardRef((o,e)=>{const{__scopeTooltip:t,...r}=o,n=L(t);return we(K,t).isInside?null:d.jsx(le,{...n,...r,ref:e})});Q.displayName=K;function Pe(o,e){const t=Math.abs(e.top-o.y),r=Math.abs(e.bottom-o.y),n=Math.abs(e.right-o.x),s=Math.abs(e.left-o.x);switch(Math.min(t,r,n,s)){case s:return"left";case n:return"right";case t:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Ee(o,e,t=5){const r=[];switch(e){case"top":r.push({x:o.x-t,y:o.y+t},{x:o.x+t,y:o.y+t});break;case"bottom":r.push({x:o.x-t,y:o.y-t},{x:o.x+t,y:o.y-t});break;case"left":r.push({x:o.x+t,y:o.y-t},{x:o.x+t,y:o.y+t});break;case"right":r.push({x:o.x-t,y:o.y-t},{x:o.x-t,y:o.y+t});break}return r}function Re(o){const{top:e,right:t,bottom:r,left:n}=o;return[{x:n,y:e},{x:t,y:e},{x:t,y:r},{x:n,y:r}]}function je(o,e){const{x:t,y:r}=o;let n=!1;for(let s=0,l=e.length-1;s<e.length;l=s++){const c=e[s],i=e[l],u=c.x,p=c.y,v=i.x,h=i.y;p>r!=h>r&&t<(v-u)*(r-p)/(h-p)+u&&(n=!n)}return n}function _e(o){const e=o.slice();return e.sort((t,r)=>t.x<r.x?-1:t.x>r.x?1:t.y<r.y?-1:t.y>r.y?1:0),Oe(e)}function Oe(o){if(o.length<=1)return o.slice();const e=[];for(let r=0;r<o.length;r++){const n=o[r];for(;e.length>=2;){const s=e[e.length-1],l=e[e.length-2];if((s.x-l.x)*(n.y-l.y)>=(s.y-l.y)*(n.x-l.x))e.pop();else break}e.push(n)}e.pop();const t=[];for(let r=o.length-1;r>=0;r--){const n=o[r];for(;t.length>=2;){const s=t[t.length-1],l=t[t.length-2];if((s.x-l.x)*(n.y-l.y)>=(s.y-l.y)*(n.x-l.x))t.pop();else break}t.push(n)}return t.pop(),e.length===1&&t.length===1&&e[0].x===t[0].x&&e[0].y===t[0].y?e:e.concat(t)}var Le=U,De=Y,ke=W,Ae=q,Ne=X,Ie=Q;function Me(o){const e=j.c(6);let t,r;e[0]!==o?({delayDuration:r,...t}=o,e[0]=o,e[1]=t,e[2]=r):(t=e[1],r=e[2]);const n=r===void 0?0:r;let s;return e[3]!==n||e[4]!==t?(s=d.jsx(Le,{"data-slot":"tooltip-provider",delayDuration:n,...t}),e[3]=n,e[4]=t,e[5]=s):s=e[5],s}function ze(o){const e=j.c(4);let t;e[0]!==o?({...t}=o,e[0]=o,e[1]=t):t=e[1];let r;return e[2]!==t?(r=d.jsx(Me,{children:d.jsx(De,{"data-slot":"tooltip",...t})}),e[2]=t,e[3]=r):r=e[3],r}function Fe(o){const e=j.c(4);let t;e[0]!==o?({...t}=o,e[0]=o,e[1]=t):t=e[1];let r;return e[2]!==t?(r=d.jsx(ke,{"data-slot":"tooltip-trigger",...t}),e[2]=t,e[3]=r):r=e[3],r}function Ve(o){const e=j.c(13);let t,r,n,s;e[0]!==o?({className:r,sideOffset:s,children:t,...n}=o,e[0]=o,e[1]=t,e[2]=r,e[3]=n,e[4]=s):(t=e[1],r=e[2],n=e[3],s=e[4]);const l=s===void 0?0:s;let c;e[5]!==r?(c=ce("bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",r),e[5]=r,e[6]=c):c=e[6];let i;e[7]===Symbol.for("react.memo_cache_sentinel")?(i=d.jsx(Ie,{className:"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"}),e[7]=i):i=e[7];let u;return e[8]!==t||e[9]!==n||e[10]!==l||e[11]!==c?(u=d.jsx(Ae,{children:d.jsxs(Ne,{"data-slot":"tooltip-content",sideOffset:l,className:c,...n,children:[t,i]})}),e[8]=t,e[9]=n,e[10]=l,e[11]=c,e[12]=u):u=e[12],u}export{ve as L,S as O,Ge as P,Ve as T,ue as V,Me as a,Fe as b,ze as c,fe as i,$e as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as y,ai as Hn,aj as Ne,Q as Ae,E as he,c as zr,j as T,ak as h_,al as p_,am as m_,an as y_,ao as g_,f as b_,t as x_}from"./index-CCNaUj2A.js";import{c as Dr}from"./utils-o1atviYh.js";import{r as w_}from"./index-DR-B7Y1Z.js";import{u as __,c as to,b as no,T as io,i as _d}from"./tooltip-CqCXb38Z.js";import{B as Kt}from"./button-DuitHSR8.js";import{a as Od}from"./Copy01-XN5V21c6.js";import{i as O_,J as Pd}from"./json-syntax-highlighter-Dve1WRV4.js";const Ql=({size:e=24,color:r="currentColor",...t})=>y.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},y.createElement("path",{d:"M21 15v1.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V15m14-5-5 5m0 0-5-5m5 5V3"}));Ql.displayName="Download01";function Gc(e,r,t){e.prototype=r.prototype=t,t.constructor=e}function m0(e,r){var t=Object.create(e.prototype);for(var n in r)t[n]=r[n];return t}function On(){}var nn=.7,hi=1/nn,Pt="\\s*([+-]?\\d+)\\s*",an="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",vr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",P_=/^#([0-9a-f]{3,8})$/,S_=new RegExp(`^rgb\\(${Pt},${Pt},${Pt}\\)$`),A_=new RegExp(`^rgb\\(${vr},${vr},${vr}\\)$`),C_=new RegExp(`^rgba\\(${Pt},${Pt},${Pt},${an}\\)$`),E_=new RegExp(`^rgba\\(${vr},${vr},${vr},${an}\\)$`),T_=new RegExp(`^hsl\\(${an},${vr},${vr}\\)$`),I_=new RegExp(`^hsla\\(${an},${vr},${vr},${an}\\)$`),Sd={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Gc(On,on,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Ad,formatHex:Ad,formatHex8:M_,formatHsl:j_,formatRgb:Cd,toString:Cd});function Ad(){return this.rgb().formatHex()}function M_(){return this.rgb().formatHex8()}function j_(){return y0(this).formatHsl()}function Cd(){return this.rgb().formatRgb()}function on(e){var r,t;return e=(e+"").trim().toLowerCase(),(r=P_.exec(e))?(t=r[1].length,r=parseInt(r[1],16),t===6?Ed(r):t===3?new je(r>>8&15|r>>4&240,r>>4&15|r&240,(r&15)<<4|r&15,1):t===8?Wn(r>>24&255,r>>16&255,r>>8&255,(r&255)/255):t===4?Wn(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|r&240,((r&15)<<4|r&15)/255):null):(r=S_.exec(e))?new je(r[1],r[2],r[3],1):(r=A_.exec(e))?new je(r[1]*255/100,r[2]*255/100,r[3]*255/100,1):(r=C_.exec(e))?Wn(r[1],r[2],r[3],r[4]):(r=E_.exec(e))?Wn(r[1]*255/100,r[2]*255/100,r[3]*255/100,r[4]):(r=T_.exec(e))?Md(r[1],r[2]/100,r[3]/100,1):(r=I_.exec(e))?Md(r[1],r[2]/100,r[3]/100,r[4]):Sd.hasOwnProperty(e)?Ed(Sd[e]):e==="transparent"?new je(NaN,NaN,NaN,0):null}function Ed(e){return new je(e>>16&255,e>>8&255,e&255,1)}function Wn(e,r,t,n){return n<=0&&(e=r=t=NaN),new je(e,r,t,n)}function N_(e){return e instanceof On||(e=on(e)),e?(e=e.rgb(),new je(e.r,e.g,e.b,e.opacity)):new je}function ec(e,r,t,n){return arguments.length===1?N_(e):new je(e,r,t,n??1)}function je(e,r,t,n){this.r=+e,this.g=+r,this.b=+t,this.opacity=+n}Gc(je,ec,m0(On,{brighter(e){return e=e==null?hi:Math.pow(hi,e),new je(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?nn:Math.pow(nn,e),new je(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new je(et(this.r),et(this.g),et(this.b),pi(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Td,formatHex:Td,formatHex8:k_,formatRgb:Id,toString:Id}));function Td(){return`#${Zr(this.r)}${Zr(this.g)}${Zr(this.b)}`}function k_(){return`#${Zr(this.r)}${Zr(this.g)}${Zr(this.b)}${Zr((isNaN(this.opacity)?1:this.opacity)*255)}`}function Id(){const e=pi(this.opacity);return`${e===1?"rgb(":"rgba("}${et(this.r)}, ${et(this.g)}, ${et(this.b)}${e===1?")":`, ${e})`}`}function pi(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function et(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Zr(e){return e=et(e),(e<16?"0":"")+e.toString(16)}function Md(e,r,t,n){return n<=0?e=r=t=NaN:t<=0||t>=1?e=r=NaN:r<=0&&(e=NaN),new Ze(e,r,t,n)}function y0(e){if(e instanceof Ze)return new Ze(e.h,e.s,e.l,e.opacity);if(e instanceof On||(e=on(e)),!e)return new Ze;if(e instanceof Ze)return e;e=e.rgb();var r=e.r/255,t=e.g/255,n=e.b/255,i=Math.min(r,t,n),a=Math.max(r,t,n),o=NaN,u=a-i,s=(a+i)/2;return u?(r===a?o=(t-n)/u+(t<n)*6:t===a?o=(n-r)/u+2:o=(r-t)/u+4,u/=s<.5?a+i:2-a-i,o*=60):u=s>0&&s<1?0:o,new Ze(o,u,s,e.opacity)}function D_(e,r,t,n){return arguments.length===1?y0(e):new Ze(e,r,t,n??1)}function Ze(e,r,t,n){this.h=+e,this.s=+r,this.l=+t,this.opacity=+n}Gc(Ze,D_,m0(On,{brighter(e){return e=e==null?hi:Math.pow(hi,e),new Ze(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?nn:Math.pow(nn,e),new Ze(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,r=isNaN(e)||isNaN(this.s)?0:this.s,t=this.l,n=t+(t<.5?t:1-t)*r,i=2*t-n;return new je(ao(e>=240?e-240:e+120,i,n),ao(e,i,n),ao(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new Ze(jd(this.h),Gn(this.s),Gn(this.l),pi(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=pi(this.opacity);return`${e===1?"hsl(":"hsla("}${jd(this.h)}, ${Gn(this.s)*100}%, ${Gn(this.l)*100}%${e===1?")":`, ${e})`}`}}));function jd(e){return e=(e||0)%360,e<0?e+360:e}function Gn(e){return Math.max(0,Math.min(1,e||0))}function ao(e,r,t){return(e<60?r+(t-r)*e/60:e<180?t:e<240?r+(t-r)*(240-e)/60:r)*255}const Yc=e=>()=>e;function R_(e,r){return function(t){return e+t*r}}function $_(e,r,t){return e=Math.pow(e,t),r=Math.pow(r,t)-e,t=1/t,function(n){return Math.pow(e+n*r,t)}}function q_(e){return(e=+e)==1?g0:function(r,t){return t-r?$_(r,t,e):Yc(isNaN(r)?t:r)}}function g0(e,r){var t=r-e;return t?R_(e,t):Yc(isNaN(e)?r:e)}const Nd=(function e(r){var t=q_(r);function n(i,a){var o=t((i=ec(i)).r,(a=ec(a)).r),u=t(i.g,a.g),s=t(i.b,a.b),l=g0(i.opacity,a.opacity);return function(c){return i.r=o(c),i.g=u(c),i.b=s(c),i.opacity=l(c),i+""}}return n.gamma=e,n})(1);function L_(e,r){r||(r=[]);var t=e?Math.min(r.length,e.length):0,n=r.slice(),i;return function(a){for(i=0;i<t;++i)n[i]=e[i]*(1-a)+r[i]*a;return n}}function B_(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function z_(e,r){var t=r?r.length:0,n=e?Math.min(t,e.length):0,i=new Array(n),a=new Array(t),o;for(o=0;o<n;++o)i[o]=$t(e[o],r[o]);for(;o<t;++o)a[o]=r[o];return function(u){for(o=0;o<n;++o)a[o]=i[o](u);return a}}function F_(e,r){var t=new Date;return e=+e,r=+r,function(n){return t.setTime(e*(1-n)+r*n),t}}function mi(e,r){return e=+e,r=+r,function(t){return e*(1-t)+r*t}}function U_(e,r){var t={},n={},i;(e===null||typeof e!="object")&&(e={}),(r===null||typeof r!="object")&&(r={});for(i in r)i in e?t[i]=$t(e[i],r[i]):n[i]=r[i];return function(a){for(i in t)n[i]=t[i](a);return n}}var rc=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,oo=new RegExp(rc.source,"g");function K_(e){return function(){return e}}function H_(e){return function(r){return e(r)+""}}function W_(e,r){var t=rc.lastIndex=oo.lastIndex=0,n,i,a,o=-1,u=[],s=[];for(e=e+"",r=r+"";(n=rc.exec(e))&&(i=oo.exec(r));)(a=i.index)>t&&(a=r.slice(t,a),u[o]?u[o]+=a:u[++o]=a),(n=n[0])===(i=i[0])?u[o]?u[o]+=i:u[++o]=i:(u[++o]=null,s.push({i:o,x:mi(n,i)})),t=oo.lastIndex;return t<r.length&&(a=r.slice(t),u[o]?u[o]+=a:u[++o]=a),u.length<2?s[0]?H_(s[0].x):K_(r):(r=s.length,function(l){for(var c=0,f;c<r;++c)u[(f=s[c]).i]=f.x(l);return u.join("")})}function $t(e,r){var t=typeof r,n;return r==null||t==="boolean"?Yc(r):(t==="number"?mi:t==="string"?(n=on(r))?(r=n,Nd):W_:r instanceof on?Nd:r instanceof Date?F_:B_(r)?L_:Array.isArray(r)?z_:typeof r.valueOf!="function"&&typeof r.toString!="function"||isNaN(r)?U_:mi)(e,r)}function Vc(e,r){return e=+e,r=+r,function(t){return Math.round(e*(1-t)+r*t)}}function G_(e,r){r===void 0&&(r=e,e=$t);for(var t=0,n=r.length-1,i=r[0],a=new Array(n<0?0:n);t<n;)a[t]=e(i,i=r[++t]);return function(o){var u=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return a[u](o-u)}}var uo,kd;function nr(){if(kd)return uo;kd=1;var e=Array.isArray;return uo=e,uo}var so,Dd;function b0(){if(Dd)return so;Dd=1;var e=typeof Hn=="object"&&Hn&&Hn.Object===Object&&Hn;return so=e,so}var lo,Rd;function mr(){if(Rd)return lo;Rd=1;var e=b0(),r=typeof self=="object"&&self&&self.Object===Object&&self,t=e||r||Function("return this")();return lo=t,lo}var co,$d;function Pn(){if($d)return co;$d=1;var e=mr(),r=e.Symbol;return co=r,co}var fo,qd;function Y_(){if(qd)return fo;qd=1;var e=Pn(),r=Object.prototype,t=r.hasOwnProperty,n=r.toString,i=e?e.toStringTag:void 0;function a(o){var u=t.call(o,i),s=o[i];try{o[i]=void 0;var l=!0}catch{}var c=n.call(o);return l&&(u?o[i]=s:delete o[i]),c}return fo=a,fo}var vo,Ld;function V_(){if(Ld)return vo;Ld=1;var e=Object.prototype,r=e.toString;function t(n){return r.call(n)}return vo=t,vo}var ho,Bd;function lt(){if(Bd)return ho;Bd=1;var e=Pn(),r=Y_(),t=V_(),n="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(u){return u==null?u===void 0?i:n:a&&a in Object(u)?r(u):t(u)}return ho=o,ho}var po,zd;function ct(){if(zd)return po;zd=1;function e(r){return r!=null&&typeof r=="object"}return po=e,po}var mo,Fd;function Sn(){if(Fd)return mo;Fd=1;var e=lt(),r=ct(),t="[object Symbol]";function n(i){return typeof i=="symbol"||r(i)&&e(i)==t}return mo=n,mo}var yo,Ud;function Xc(){if(Ud)return yo;Ud=1;var e=nr(),r=Sn(),t=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,o){if(e(a))return!1;var u=typeof a;return u=="number"||u=="symbol"||u=="boolean"||a==null||r(a)?!0:n.test(a)||!t.test(a)||o!=null&&a in Object(o)}return yo=i,yo}var go,Kd;function Fr(){if(Kd)return go;Kd=1;function e(r){var t=typeof r;return r!=null&&(t=="object"||t=="function")}return go=e,go}var bo,Hd;function Zc(){if(Hd)return bo;Hd=1;var e=lt(),r=Fr(),t="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",a="[object Proxy]";function o(u){if(!r(u))return!1;var s=e(u);return s==n||s==i||s==t||s==a}return bo=o,bo}var xo,Wd;function X_(){if(Wd)return xo;Wd=1;var e=mr(),r=e["__core-js_shared__"];return xo=r,xo}var wo,Gd;function Z_(){if(Gd)return wo;Gd=1;var e=X_(),r=(function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function t(n){return!!r&&r in n}return wo=t,wo}var _o,Yd;function x0(){if(Yd)return _o;Yd=1;var e=Function.prototype,r=e.toString;function t(n){if(n!=null){try{return r.call(n)}catch{}try{return n+""}catch{}}return""}return _o=t,_o}var Oo,Vd;function J_(){if(Vd)return Oo;Vd=1;var e=Zc(),r=Z_(),t=Fr(),n=x0(),i=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,u=Object.prototype,s=o.toString,l=u.hasOwnProperty,c=RegExp("^"+s.call(l).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(d){if(!t(d)||r(d))return!1;var v=e(d)?c:a;return v.test(n(d))}return Oo=f,Oo}var Po,Xd;function Q_(){if(Xd)return Po;Xd=1;function e(r,t){return r?.[t]}return Po=e,Po}var So,Zd;function ft(){if(Zd)return So;Zd=1;var e=J_(),r=Q_();function t(n,i){var a=r(n,i);return e(a)?a:void 0}return So=t,So}var Ao,Jd;function ca(){if(Jd)return Ao;Jd=1;var e=ft(),r=e(Object,"create");return Ao=r,Ao}var Co,Qd;function eO(){if(Qd)return Co;Qd=1;var e=ca();function r(){this.__data__=e?e(null):{},this.size=0}return Co=r,Co}var Eo,ev;function rO(){if(ev)return Eo;ev=1;function e(r){var t=this.has(r)&&delete this.__data__[r];return this.size-=t?1:0,t}return Eo=e,Eo}var To,rv;function tO(){if(rv)return To;rv=1;var e=ca(),r="__lodash_hash_undefined__",t=Object.prototype,n=t.hasOwnProperty;function i(a){var o=this.__data__;if(e){var u=o[a];return u===r?void 0:u}return n.call(o,a)?o[a]:void 0}return To=i,To}var Io,tv;function nO(){if(tv)return Io;tv=1;var e=ca(),r=Object.prototype,t=r.hasOwnProperty;function n(i){var a=this.__data__;return e?a[i]!==void 0:t.call(a,i)}return Io=n,Io}var Mo,nv;function iO(){if(nv)return Mo;nv=1;var e=ca(),r="__lodash_hash_undefined__";function t(n,i){var a=this.__data__;return this.size+=this.has(n)?0:1,a[n]=e&&i===void 0?r:i,this}return Mo=t,Mo}var jo,iv;function aO(){if(iv)return jo;iv=1;var e=eO(),r=rO(),t=tO(),n=nO(),i=iO();function a(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var l=o[u];this.set(l[0],l[1])}}return a.prototype.clear=e,a.prototype.delete=r,a.prototype.get=t,a.prototype.has=n,a.prototype.set=i,jo=a,jo}var No,av;function oO(){if(av)return No;av=1;function e(){this.__data__=[],this.size=0}return No=e,No}var ko,ov;function Jc(){if(ov)return ko;ov=1;function e(r,t){return r===t||r!==r&&t!==t}return ko=e,ko}var Do,uv;function fa(){if(uv)return Do;uv=1;var e=Jc();function r(t,n){for(var i=t.length;i--;)if(e(t[i][0],n))return i;return-1}return Do=r,Do}var Ro,sv;function uO(){if(sv)return Ro;sv=1;var e=fa(),r=Array.prototype,t=r.splice;function n(i){var a=this.__data__,o=e(a,i);if(o<0)return!1;var u=a.length-1;return o==u?a.pop():t.call(a,o,1),--this.size,!0}return Ro=n,Ro}var $o,lv;function sO(){if(lv)return $o;lv=1;var e=fa();function r(t){var n=this.__data__,i=e(n,t);return i<0?void 0:n[i][1]}return $o=r,$o}var qo,cv;function lO(){if(cv)return qo;cv=1;var e=fa();function r(t){return e(this.__data__,t)>-1}return qo=r,qo}var Lo,fv;function cO(){if(fv)return Lo;fv=1;var e=fa();function r(t,n){var i=this.__data__,a=e(i,t);return a<0?(++this.size,i.push([t,n])):i[a][1]=n,this}return Lo=r,Lo}var Bo,dv;function da(){if(dv)return Bo;dv=1;var e=oO(),r=uO(),t=sO(),n=lO(),i=cO();function a(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var l=o[u];this.set(l[0],l[1])}}return a.prototype.clear=e,a.prototype.delete=r,a.prototype.get=t,a.prototype.has=n,a.prototype.set=i,Bo=a,Bo}var zo,vv;function Qc(){if(vv)return zo;vv=1;var e=ft(),r=mr(),t=e(r,"Map");return zo=t,zo}var Fo,hv;function fO(){if(hv)return Fo;hv=1;var e=aO(),r=da(),t=Qc();function n(){this.size=0,this.__data__={hash:new e,map:new(t||r),string:new e}}return Fo=n,Fo}var Uo,pv;function dO(){if(pv)return Uo;pv=1;function e(r){var t=typeof r;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?r!=="__proto__":r===null}return Uo=e,Uo}var Ko,mv;function va(){if(mv)return Ko;mv=1;var e=dO();function r(t,n){var i=t.__data__;return e(n)?i[typeof n=="string"?"string":"hash"]:i.map}return Ko=r,Ko}var Ho,yv;function vO(){if(yv)return Ho;yv=1;var e=va();function r(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}return Ho=r,Ho}var Wo,gv;function hO(){if(gv)return Wo;gv=1;var e=va();function r(t){return e(this,t).get(t)}return Wo=r,Wo}var Go,bv;function pO(){if(bv)return Go;bv=1;var e=va();function r(t){return e(this,t).has(t)}return Go=r,Go}var Yo,xv;function mO(){if(xv)return Yo;xv=1;var e=va();function r(t,n){var i=e(this,t),a=i.size;return i.set(t,n),this.size+=i.size==a?0:1,this}return Yo=r,Yo}var Vo,wv;function ef(){if(wv)return Vo;wv=1;var e=fO(),r=vO(),t=hO(),n=pO(),i=mO();function a(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var l=o[u];this.set(l[0],l[1])}}return a.prototype.clear=e,a.prototype.delete=r,a.prototype.get=t,a.prototype.has=n,a.prototype.set=i,Vo=a,Vo}var Xo,_v;function yO(){if(_v)return Xo;_v=1;var e=ef(),r="Expected a function";function t(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(r);var a=function(){var o=arguments,u=i?i.apply(this,o):o[0],s=a.cache;if(s.has(u))return s.get(u);var l=n.apply(this,o);return a.cache=s.set(u,l)||s,l};return a.cache=new(t.Cache||e),a}return t.Cache=e,Xo=t,Xo}var Zo,Ov;function gO(){if(Ov)return Zo;Ov=1;var e=yO(),r=500;function t(n){var i=e(n,function(o){return a.size===r&&a.clear(),o}),a=i.cache;return i}return Zo=t,Zo}var Jo,Pv;function bO(){if(Pv)return Jo;Pv=1;var e=gO(),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,t=/\\(\\)?/g,n=e(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(r,function(o,u,s,l){a.push(s?l.replace(t,"$1"):u||o)}),a});return Jo=n,Jo}var Qo,Sv;function w0(){if(Sv)return Qo;Sv=1;function e(r,t){for(var n=-1,i=r==null?0:r.length,a=Array(i);++n<i;)a[n]=t(r[n],n,r);return a}return Qo=e,Qo}var eu,Av;function xO(){if(Av)return eu;Av=1;var e=Pn(),r=w0(),t=nr(),n=Sn(),i=e?e.prototype:void 0,a=i?i.toString:void 0;function o(u){if(typeof u=="string")return u;if(t(u))return r(u,o)+"";if(n(u))return a?a.call(u):"";var s=u+"";return s=="0"&&1/u==-1/0?"-0":s}return eu=o,eu}var ru,Cv;function wO(){if(Cv)return ru;Cv=1;var e=xO();function r(t){return t==null?"":e(t)}return ru=r,ru}var tu,Ev;function _0(){if(Ev)return tu;Ev=1;var e=nr(),r=Xc(),t=bO(),n=wO();function i(a,o){return e(a)?a:r(a,o)?[a]:t(n(a))}return tu=i,tu}var nu,Tv;function ha(){if(Tv)return nu;Tv=1;var e=Sn();function r(t){if(typeof t=="string"||e(t))return t;var n=t+"";return n=="0"&&1/t==-1/0?"-0":n}return nu=r,nu}var iu,Iv;function rf(){if(Iv)return iu;Iv=1;var e=_0(),r=ha();function t(n,i){i=e(i,n);for(var a=0,o=i.length;n!=null&&a<o;)n=n[r(i[a++])];return a&&a==o?n:void 0}return iu=t,iu}var au,Mv;function O0(){if(Mv)return au;Mv=1;var e=rf();function r(t,n,i){var a=t==null?void 0:e(t,n);return a===void 0?i:a}return au=r,au}O0();var ou,jv;function _O(){if(jv)return ou;jv=1;function e(r){return r==null}return ou=e,ou}var OO=_O();const PO=Ne(OO);var uu,Nv;function SO(){if(Nv)return uu;Nv=1;var e=lt(),r=nr(),t=ct(),n="[object String]";function i(a){return typeof a=="string"||!r(a)&&t(a)&&e(a)==n}return uu=i,uu}var AO=SO();const P0=Ne(AO);var CO=Zc();const EO=Ne(CO);Fr();var su,kv;function S0(){if(kv)return su;kv=1;var e=lt(),r=ct(),t="[object Number]";function n(i){return typeof i=="number"||r(i)&&e(i)==t}return su=n,su}var lu,Dv;function TO(){if(Dv)return lu;Dv=1;var e=S0();function r(t){return e(t)&&t!=+t}return lu=r,lu}var IO=TO();const MO=Ne(IO);var jO=S0();const NO=Ne(jO);var Yn=function(r){return P0(r)&&r.indexOf("%")===r.length-1},fr=function(r){return NO(r)&&!MO(r)},yi=function(r){return fr(r)||P0(r)},kO=function(r){return typeof r=="string"?r:r?r.displayName||r.name||"Component":""},cu=function(r,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a]};function ee(e){return function(){return e}}const A0=Math.cos,gi=Math.sin,ir=Math.sqrt,bi=Math.PI,pa=2*bi,tc=Math.PI,nc=2*tc,Yr=1e-6,DO=nc-Yr;function C0(e){this._+=e[0];for(let r=1,t=e.length;r<t;++r)this._+=arguments[r]+e[r]}function RO(e){let r=Math.floor(e);if(!(r>=0))throw new Error(`invalid digits: ${e}`);if(r>15)return C0;const t=10**r;return function(n){this._+=n[0];for(let i=1,a=n.length;i<a;++i)this._+=Math.round(arguments[i]*t)/t+n[i]}}class $O{constructor(r){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=r==null?C0:RO(r)}moveTo(r,t){this._append`M${this._x0=this._x1=+r},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(r,t){this._append`L${this._x1=+r},${this._y1=+t}`}quadraticCurveTo(r,t,n,i){this._append`Q${+r},${+t},${this._x1=+n},${this._y1=+i}`}bezierCurveTo(r,t,n,i,a,o){this._append`C${+r},${+t},${+n},${+i},${this._x1=+a},${this._y1=+o}`}arcTo(r,t,n,i,a){if(r=+r,t=+t,n=+n,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let o=this._x1,u=this._y1,s=n-r,l=i-t,c=o-r,f=u-t,d=c*c+f*f;if(this._x1===null)this._append`M${this._x1=r},${this._y1=t}`;else if(d>Yr)if(!(Math.abs(f*s-l*c)>Yr)||!a)this._append`L${this._x1=r},${this._y1=t}`;else{let v=n-o,h=i-u,p=s*s+l*l,m=v*v+h*h,g=Math.sqrt(p),b=Math.sqrt(d),x=a*Math.tan((tc-Math.acos((p+d-m)/(2*g*b)))/2),_=x/b,w=x/g;Math.abs(_-1)>Yr&&this._append`L${r+_*c},${t+_*f}`,this._append`A${a},${a},0,0,${+(f*v>c*h)},${this._x1=r+w*s},${this._y1=t+w*l}`}}arc(r,t,n,i,a,o){if(r=+r,t=+t,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let u=n*Math.cos(i),s=n*Math.sin(i),l=r+u,c=t+s,f=1^o,d=o?i-a:a-i;this._x1===null?this._append`M${l},${c}`:(Math.abs(this._x1-l)>Yr||Math.abs(this._y1-c)>Yr)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%nc+nc),d>DO?this._append`A${n},${n},0,1,${f},${r-u},${t-s}A${n},${n},0,1,${f},${this._x1=l},${this._y1=c}`:d>Yr&&this._append`A${n},${n},0,${+(d>=tc)},${f},${this._x1=r+n*Math.cos(a)},${this._y1=t+n*Math.sin(a)}`)}rect(r,t,n,i){this._append`M${this._x0=this._x1=+r},${this._y0=this._y1=+t}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function tf(e){let r=3;return e.digits=function(t){if(!arguments.length)return r;if(t==null)r=null;else{const n=Math.floor(t);if(!(n>=0))throw new RangeError(`invalid digits: ${t}`);r=n}return e},()=>new $O(r)}function nf(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function E0(e){this._context=e}E0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;default:this._context.lineTo(e,r);break}}};function ma(e){return new E0(e)}function T0(e){return e[0]}function I0(e){return e[1]}function M0(e,r){var t=ee(!0),n=null,i=ma,a=null,o=tf(u);e=typeof e=="function"?e:e===void 0?T0:ee(e),r=typeof r=="function"?r:r===void 0?I0:ee(r);function u(s){var l,c=(s=nf(s)).length,f,d=!1,v;for(n==null&&(a=i(v=o())),l=0;l<=c;++l)!(l<c&&t(f=s[l],l,s))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(f,l,s),+r(f,l,s));if(v)return a=null,v+""||null}return u.x=function(s){return arguments.length?(e=typeof s=="function"?s:ee(+s),u):e},u.y=function(s){return arguments.length?(r=typeof s=="function"?s:ee(+s),u):r},u.defined=function(s){return arguments.length?(t=typeof s=="function"?s:ee(!!s),u):t},u.curve=function(s){return arguments.length?(i=s,n!=null&&(a=i(n)),u):i},u.context=function(s){return arguments.length?(s==null?n=a=null:a=i(n=s),u):n},u}function Vn(e,r,t){var n=null,i=ee(!0),a=null,o=ma,u=null,s=tf(l);e=typeof e=="function"?e:e===void 0?T0:ee(+e),r=typeof r=="function"?r:ee(r===void 0?0:+r),t=typeof t=="function"?t:t===void 0?I0:ee(+t);function l(f){var d,v,h,p=(f=nf(f)).length,m,g=!1,b,x=new Array(p),_=new Array(p);for(a==null&&(u=o(b=s())),d=0;d<=p;++d){if(!(d<p&&i(m=f[d],d,f))===g)if(g=!g)v=d,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),h=d-1;h>=v;--h)u.point(x[h],_[h]);u.lineEnd(),u.areaEnd()}g&&(x[d]=+e(m,d,f),_[d]=+r(m,d,f),u.point(n?+n(m,d,f):x[d],t?+t(m,d,f):_[d]))}if(b)return u=null,b+""||null}function c(){return M0().defined(i).curve(o).context(a)}return l.x=function(f){return arguments.length?(e=typeof f=="function"?f:ee(+f),n=null,l):e},l.x0=function(f){return arguments.length?(e=typeof f=="function"?f:ee(+f),l):e},l.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:ee(+f),l):n},l.y=function(f){return arguments.length?(r=typeof f=="function"?f:ee(+f),t=null,l):r},l.y0=function(f){return arguments.length?(r=typeof f=="function"?f:ee(+f),l):r},l.y1=function(f){return arguments.length?(t=f==null?null:typeof f=="function"?f:ee(+f),l):t},l.lineX0=l.lineY0=function(){return c().x(e).y(r)},l.lineY1=function(){return c().x(e).y(t)},l.lineX1=function(){return c().x(n).y(r)},l.defined=function(f){return arguments.length?(i=typeof f=="function"?f:ee(!!f),l):i},l.curve=function(f){return arguments.length?(o=f,a!=null&&(u=o(a)),l):o},l.context=function(f){return arguments.length?(f==null?a=u=null:u=o(a=f),l):a},l}class j0{constructor(r,t){this._context=r,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(r,t){switch(r=+r,t=+t,this._point){case 0:{this._point=1,this._line?this._context.lineTo(r,t):this._context.moveTo(r,t);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+r)/2,this._y0,this._x0,t,r,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,r,this._y0,r,t);break}}this._x0=r,this._y0=t}}function qO(e){return new j0(e,!0)}function LO(e){return new j0(e,!1)}const af={draw(e,r){const t=ir(r/bi);e.moveTo(t,0),e.arc(0,0,t,0,pa)}},BO={draw(e,r){const t=ir(r/5)/2;e.moveTo(-3*t,-t),e.lineTo(-t,-t),e.lineTo(-t,-3*t),e.lineTo(t,-3*t),e.lineTo(t,-t),e.lineTo(3*t,-t),e.lineTo(3*t,t),e.lineTo(t,t),e.lineTo(t,3*t),e.lineTo(-t,3*t),e.lineTo(-t,t),e.lineTo(-3*t,t),e.closePath()}},N0=ir(1/3),zO=N0*2,FO={draw(e,r){const t=ir(r/zO),n=t*N0;e.moveTo(0,-t),e.lineTo(n,0),e.lineTo(0,t),e.lineTo(-n,0),e.closePath()}},UO={draw(e,r){const t=ir(r),n=-t/2;e.rect(n,n,t,t)}},KO=.8908130915292852,k0=gi(bi/10)/gi(7*bi/10),HO=gi(pa/10)*k0,WO=-A0(pa/10)*k0,GO={draw(e,r){const t=ir(r*KO),n=HO*t,i=WO*t;e.moveTo(0,-t),e.lineTo(n,i);for(let a=1;a<5;++a){const o=pa*a/5,u=A0(o),s=gi(o);e.lineTo(s*t,-u*t),e.lineTo(u*n-s*i,s*n+u*i)}e.closePath()}},fu=ir(3),YO={draw(e,r){const t=-ir(r/(fu*3));e.moveTo(0,t*2),e.lineTo(-fu*t,-t),e.lineTo(fu*t,-t),e.closePath()}},Ue=-.5,Ke=ir(3)/2,ic=1/ir(12),VO=(ic/2+1)*3,XO={draw(e,r){const t=ir(r/VO),n=t/2,i=t*ic,a=n,o=t*ic+t,u=-a,s=o;e.moveTo(n,i),e.lineTo(a,o),e.lineTo(u,s),e.lineTo(Ue*n-Ke*i,Ke*n+Ue*i),e.lineTo(Ue*a-Ke*o,Ke*a+Ue*o),e.lineTo(Ue*u-Ke*s,Ke*u+Ue*s),e.lineTo(Ue*n+Ke*i,Ue*i-Ke*n),e.lineTo(Ue*a+Ke*o,Ue*o-Ke*a),e.lineTo(Ue*u+Ke*s,Ue*s-Ke*u),e.closePath()}};function ZO(e,r){let t=null,n=tf(i);e=typeof e=="function"?e:ee(e||af),r=typeof r=="function"?r:ee(r===void 0?64:+r);function i(){let a;if(t||(t=a=n()),e.apply(this,arguments).draw(t,+r.apply(this,arguments)),a)return t=null,a+""||null}return i.type=function(a){return arguments.length?(e=typeof a=="function"?a:ee(a),i):e},i.size=function(a){return arguments.length?(r=typeof a=="function"?a:ee(+a),i):r},i.context=function(a){return arguments.length?(t=a??null,i):t},i}function xi(){}function wi(e,r,t){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+r)/6,(e._y0+4*e._y1+t)/6)}function D0(e){this._context=e}D0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:wi(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:wi(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function JO(e){return new D0(e)}function R0(e){this._context=e}R0.prototype={areaStart:xi,areaEnd:xi,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._x2=e,this._y2=r;break;case 1:this._point=2,this._x3=e,this._y3=r;break;case 2:this._point=3,this._x4=e,this._y4=r,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+r)/6);break;default:wi(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function QO(e){return new R0(e)}function $0(e){this._context=e}$0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var t=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+r)/6;this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 3:this._point=4;default:wi(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function eP(e){return new $0(e)}function q0(e){this._context=e}q0.prototype={areaStart:xi,areaEnd:xi,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,r){e=+e,r=+r,this._point?this._context.lineTo(e,r):(this._point=1,this._context.moveTo(e,r))}};function rP(e){return new q0(e)}function Rv(e){return e<0?-1:1}function $v(e,r,t){var n=e._x1-e._x0,i=r-e._x1,a=(e._y1-e._y0)/(n||i<0&&-0),o=(t-e._y1)/(i||n<0&&-0),u=(a*i+o*n)/(n+i);return(Rv(a)+Rv(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(u))||0}function qv(e,r){var t=e._x1-e._x0;return t?(3*(e._y1-e._y0)/t-r)/2:r}function du(e,r,t){var n=e._x0,i=e._y0,a=e._x1,o=e._y1,u=(a-n)/3;e._context.bezierCurveTo(n+u,i+u*r,a-u,o-u*t,a,o)}function _i(e){this._context=e}_i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:du(this,this._t0,qv(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,r){var t=NaN;if(e=+e,r=+r,!(e===this._x1&&r===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;break;case 2:this._point=3,du(this,qv(this,t=$v(this,e,r)),t);break;default:du(this,this._t0,t=$v(this,e,r));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r,this._t0=t}}};function L0(e){this._context=new B0(e)}(L0.prototype=Object.create(_i.prototype)).point=function(e,r){_i.prototype.point.call(this,r,e)};function B0(e){this._context=e}B0.prototype={moveTo:function(e,r){this._context.moveTo(r,e)},closePath:function(){this._context.closePath()},lineTo:function(e,r){this._context.lineTo(r,e)},bezierCurveTo:function(e,r,t,n,i,a){this._context.bezierCurveTo(r,e,n,t,a,i)}};function tP(e){return new _i(e)}function nP(e){return new L0(e)}function z0(e){this._context=e}z0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,r=this._y,t=e.length;if(t)if(this._line?this._context.lineTo(e[0],r[0]):this._context.moveTo(e[0],r[0]),t===2)this._context.lineTo(e[1],r[1]);else for(var n=Lv(e),i=Lv(r),a=0,o=1;o<t;++a,++o)this._context.bezierCurveTo(n[0][a],i[0][a],n[1][a],i[1][a],e[o],r[o]);(this._line||this._line!==0&&t===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,r){this._x.push(+e),this._y.push(+r)}};function Lv(e){var r,t=e.length-1,n,i=new Array(t),a=new Array(t),o=new Array(t);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],r=1;r<t-1;++r)i[r]=1,a[r]=4,o[r]=4*e[r]+2*e[r+1];for(i[t-1]=2,a[t-1]=7,o[t-1]=8*e[t-1]+e[t],r=1;r<t;++r)n=i[r]/a[r-1],a[r]-=n,o[r]-=n*o[r-1];for(i[t-1]=o[t-1]/a[t-1],r=t-2;r>=0;--r)i[r]=(o[r]-i[r+1])/a[r];for(a[t-1]=(e[t]+i[t-1])/2,r=0;r<t-1;++r)a[r]=2*e[r+1]-i[r+1];return[i,a]}function iP(e){return new z0(e)}function ya(e,r){this._context=e,this._t=r}ya.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,r),this._context.lineTo(e,r);else{var t=this._x*(1-this._t)+e*this._t;this._context.lineTo(t,this._y),this._context.lineTo(t,r)}break}}this._x=e,this._y=r}};function aP(e){return new ya(e,.5)}function oP(e){return new ya(e,0)}function uP(e){return new ya(e,1)}function nt(e,r){if((o=e.length)>1)for(var t=1,n,i,a=e[r[0]],o,u=a.length;t<o;++t)for(i=a,a=e[r[t]],n=0;n<u;++n)a[n][1]+=a[n][0]=isNaN(i[n][1])?i[n][0]:i[n][1]}function ac(e){for(var r=e.length,t=new Array(r);--r>=0;)t[r]=r;return t}function sP(e,r){return e[r]}function lP(e){const r=[];return r.key=e,r}function cP(){var e=ee([]),r=ac,t=nt,n=sP;function i(a){var o=Array.from(e.apply(this,arguments),lP),u,s=o.length,l=-1,c;for(const f of a)for(u=0,++l;u<s;++u)(o[u][l]=[0,+n(f,o[u].key,l,a)]).data=f;for(u=0,c=nf(r(o));u<s;++u)o[c[u]].index=u;return t(o,c),o}return i.keys=function(a){return arguments.length?(e=typeof a=="function"?a:ee(Array.from(a)),i):e},i.value=function(a){return arguments.length?(n=typeof a=="function"?a:ee(+a),i):n},i.order=function(a){return arguments.length?(r=a==null?ac:typeof a=="function"?a:ee(Array.from(a)),i):r},i.offset=function(a){return arguments.length?(t=a??nt,i):t},i}function fP(e,r){if((n=e.length)>0){for(var t,n,i=0,a=e[0].length,o;i<a;++i){for(o=t=0;t<n;++t)o+=e[t][i][1]||0;if(o)for(t=0;t<n;++t)e[t][i][1]/=o}nt(e,r)}}function dP(e,r){if((i=e.length)>0){for(var t=0,n=e[r[0]],i,a=n.length;t<a;++t){for(var o=0,u=0;o<i;++o)u+=e[o][t][1]||0;n[t][1]+=n[t][0]=-u/2}nt(e,r)}}function vP(e,r){if(!(!((o=e.length)>0)||!((a=(i=e[r[0]]).length)>0))){for(var t=0,n=1,i,a,o;n<a;++n){for(var u=0,s=0,l=0;u<o;++u){for(var c=e[r[u]],f=c[n][1]||0,d=c[n-1][1]||0,v=(f-d)/2,h=0;h<u;++h){var p=e[r[h]],m=p[n][1]||0,g=p[n-1][1]||0;v+=m-g}s+=f,l+=v*f}i[n-1][1]+=i[n-1][0]=t,s&&(t-=l/s)}i[n-1][1]+=i[n-1][0]=t,nt(e,r)}}var vu,Bv;function hP(){if(Bv)return vu;Bv=1;var e=da();function r(){this.__data__=new e,this.size=0}return vu=r,vu}var hu,zv;function pP(){if(zv)return hu;zv=1;function e(r){var t=this.__data__,n=t.delete(r);return this.size=t.size,n}return hu=e,hu}var pu,Fv;function mP(){if(Fv)return pu;Fv=1;function e(r){return this.__data__.get(r)}return pu=e,pu}var mu,Uv;function yP(){if(Uv)return mu;Uv=1;function e(r){return this.__data__.has(r)}return mu=e,mu}var yu,Kv;function gP(){if(Kv)return yu;Kv=1;var e=da(),r=Qc(),t=ef(),n=200;function i(a,o){var u=this.__data__;if(u instanceof e){var s=u.__data__;if(!r||s.length<n-1)return s.push([a,o]),this.size=++u.size,this;u=this.__data__=new t(s)}return u.set(a,o),this.size=u.size,this}return yu=i,yu}var gu,Hv;function F0(){if(Hv)return gu;Hv=1;var e=da(),r=hP(),t=pP(),n=mP(),i=yP(),a=gP();function o(u){var s=this.__data__=new e(u);this.size=s.size}return o.prototype.clear=r,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=i,o.prototype.set=a,gu=o,gu}var bu,Wv;function bP(){if(Wv)return bu;Wv=1;var e="__lodash_hash_undefined__";function r(t){return this.__data__.set(t,e),this}return bu=r,bu}var xu,Gv;function xP(){if(Gv)return xu;Gv=1;function e(r){return this.__data__.has(r)}return xu=e,xu}var wu,Yv;function U0(){if(Yv)return wu;Yv=1;var e=ef(),r=bP(),t=xP();function n(i){var a=-1,o=i==null?0:i.length;for(this.__data__=new e;++a<o;)this.add(i[a])}return n.prototype.add=n.prototype.push=r,n.prototype.has=t,wu=n,wu}var _u,Vv;function wP(){if(Vv)return _u;Vv=1;function e(r,t){for(var n=-1,i=r==null?0:r.length;++n<i;)if(t(r[n],n,r))return!0;return!1}return _u=e,_u}var Ou,Xv;function K0(){if(Xv)return Ou;Xv=1;function e(r,t){return r.has(t)}return Ou=e,Ou}var Pu,Zv;function H0(){if(Zv)return Pu;Zv=1;var e=U0(),r=wP(),t=K0(),n=1,i=2;function a(o,u,s,l,c,f){var d=s&n,v=o.length,h=u.length;if(v!=h&&!(d&&h>v))return!1;var p=f.get(o),m=f.get(u);if(p&&m)return p==u&&m==o;var g=-1,b=!0,x=s&i?new e:void 0;for(f.set(o,u),f.set(u,o);++g<v;){var _=o[g],w=u[g];if(l)var O=d?l(w,_,g,u,o,f):l(_,w,g,o,u,f);if(O!==void 0){if(O)continue;b=!1;break}if(x){if(!r(u,function(P,E){if(!t(x,E)&&(_===P||c(_,P,s,l,f)))return x.push(E)})){b=!1;break}}else if(!(_===w||c(_,w,s,l,f))){b=!1;break}}return f.delete(o),f.delete(u),b}return Pu=a,Pu}var Su,Jv;function _P(){if(Jv)return Su;Jv=1;var e=mr(),r=e.Uint8Array;return Su=r,Su}var Au,Qv;function OP(){if(Qv)return Au;Qv=1;function e(r){var t=-1,n=Array(r.size);return r.forEach(function(i,a){n[++t]=[a,i]}),n}return Au=e,Au}var Cu,eh;function of(){if(eh)return Cu;eh=1;function e(r){var t=-1,n=Array(r.size);return r.forEach(function(i){n[++t]=i}),n}return Cu=e,Cu}var Eu,rh;function PP(){if(rh)return Eu;rh=1;var e=Pn(),r=_P(),t=Jc(),n=H0(),i=OP(),a=of(),o=1,u=2,s="[object Boolean]",l="[object Date]",c="[object Error]",f="[object Map]",d="[object Number]",v="[object RegExp]",h="[object Set]",p="[object String]",m="[object Symbol]",g="[object ArrayBuffer]",b="[object DataView]",x=e?e.prototype:void 0,_=x?x.valueOf:void 0;function w(O,P,E,N,D,A,j){switch(E){case b:if(O.byteLength!=P.byteLength||O.byteOffset!=P.byteOffset)return!1;O=O.buffer,P=P.buffer;case g:return!(O.byteLength!=P.byteLength||!A(new r(O),new r(P)));case s:case l:case d:return t(+O,+P);case c:return O.name==P.name&&O.message==P.message;case v:case p:return O==P+"";case f:var M=i;case h:var k=N&o;if(M||(M=a),O.size!=P.size&&!k)return!1;var $=j.get(O);if($)return $==P;N|=u,j.set(O,P);var L=n(M(O),M(P),N,D,A,j);return j.delete(O),L;case m:if(_)return _.call(O)==_.call(P)}return!1}return Eu=w,Eu}var Tu,th;function W0(){if(th)return Tu;th=1;function e(r,t){for(var n=-1,i=t.length,a=r.length;++n<i;)r[a+n]=t[n];return r}return Tu=e,Tu}var Iu,nh;function SP(){if(nh)return Iu;nh=1;var e=W0(),r=nr();function t(n,i,a){var o=i(n);return r(n)?o:e(o,a(n))}return Iu=t,Iu}var Mu,ih;function AP(){if(ih)return Mu;ih=1;function e(r,t){for(var n=-1,i=r==null?0:r.length,a=0,o=[];++n<i;){var u=r[n];t(u,n,r)&&(o[a++]=u)}return o}return Mu=e,Mu}var ju,ah;function CP(){if(ah)return ju;ah=1;function e(){return[]}return ju=e,ju}var Nu,oh;function EP(){if(oh)return Nu;oh=1;var e=AP(),r=CP(),t=Object.prototype,n=t.propertyIsEnumerable,i=Object.getOwnPropertySymbols,a=i?function(o){return o==null?[]:(o=Object(o),e(i(o),function(u){return n.call(o,u)}))}:r;return Nu=a,Nu}var ku,uh;function TP(){if(uh)return ku;uh=1;function e(r,t){for(var n=-1,i=Array(r);++n<r;)i[n]=t(n);return i}return ku=e,ku}var Du,sh;function IP(){if(sh)return Du;sh=1;var e=lt(),r=ct(),t="[object Arguments]";function n(i){return r(i)&&e(i)==t}return Du=n,Du}var Ru,lh;function uf(){if(lh)return Ru;lh=1;var e=IP(),r=ct(),t=Object.prototype,n=t.hasOwnProperty,i=t.propertyIsEnumerable,a=e((function(){return arguments})())?e:function(o){return r(o)&&n.call(o,"callee")&&!i.call(o,"callee")};return Ru=a,Ru}var Qt={exports:{}},$u,ch;function MP(){if(ch)return $u;ch=1;function e(){return!1}return $u=e,$u}Qt.exports;var fh;function G0(){return fh||(fh=1,(function(e,r){var t=mr(),n=MP(),i=r&&!r.nodeType&&r,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,u=o?t.Buffer:void 0,s=u?u.isBuffer:void 0,l=s||n;e.exports=l})(Qt,Qt.exports)),Qt.exports}var qu,dh;function sf(){if(dh)return qu;dh=1;var e=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function t(n,i){var a=typeof n;return i=i??e,!!i&&(a=="number"||a!="symbol"&&r.test(n))&&n>-1&&n%1==0&&n<i}return qu=t,qu}var Lu,vh;function lf(){if(vh)return Lu;vh=1;var e=9007199254740991;function r(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=e}return Lu=r,Lu}var Bu,hh;function jP(){if(hh)return Bu;hh=1;var e=lt(),r=lf(),t=ct(),n="[object Arguments]",i="[object Array]",a="[object Boolean]",o="[object Date]",u="[object Error]",s="[object Function]",l="[object Map]",c="[object Number]",f="[object Object]",d="[object RegExp]",v="[object Set]",h="[object String]",p="[object WeakMap]",m="[object ArrayBuffer]",g="[object DataView]",b="[object Float32Array]",x="[object Float64Array]",_="[object Int8Array]",w="[object Int16Array]",O="[object Int32Array]",P="[object Uint8Array]",E="[object Uint8ClampedArray]",N="[object Uint16Array]",D="[object Uint32Array]",A={};A[b]=A[x]=A[_]=A[w]=A[O]=A[P]=A[E]=A[N]=A[D]=!0,A[n]=A[i]=A[m]=A[a]=A[g]=A[o]=A[u]=A[s]=A[l]=A[c]=A[f]=A[d]=A[v]=A[h]=A[p]=!1;function j(M){return t(M)&&r(M.length)&&!!A[e(M)]}return Bu=j,Bu}var zu,ph;function Y0(){if(ph)return zu;ph=1;function e(r){return function(t){return r(t)}}return zu=e,zu}var en={exports:{}};en.exports;var mh;function NP(){return mh||(mh=1,(function(e,r){var t=b0(),n=r&&!r.nodeType&&r,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a&&t.process,u=(function(){try{var s=i&&i.require&&i.require("util").types;return s||o&&o.binding&&o.binding("util")}catch{}})();e.exports=u})(en,en.exports)),en.exports}var Fu,yh;function V0(){if(yh)return Fu;yh=1;var e=jP(),r=Y0(),t=NP(),n=t&&t.isTypedArray,i=n?r(n):e;return Fu=i,Fu}var Uu,gh;function kP(){if(gh)return Uu;gh=1;var e=TP(),r=uf(),t=nr(),n=G0(),i=sf(),a=V0(),o=Object.prototype,u=o.hasOwnProperty;function s(l,c){var f=t(l),d=!f&&r(l),v=!f&&!d&&n(l),h=!f&&!d&&!v&&a(l),p=f||d||v||h,m=p?e(l.length,String):[],g=m.length;for(var b in l)(c||u.call(l,b))&&!(p&&(b=="length"||v&&(b=="offset"||b=="parent")||h&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||i(b,g)))&&m.push(b);return m}return Uu=s,Uu}var Ku,bh;function DP(){if(bh)return Ku;bh=1;var e=Object.prototype;function r(t){var n=t&&t.constructor,i=typeof n=="function"&&n.prototype||e;return t===i}return Ku=r,Ku}var Hu,xh;function RP(){if(xh)return Hu;xh=1;function e(r,t){return function(n){return r(t(n))}}return Hu=e,Hu}var Wu,wh;function $P(){if(wh)return Wu;wh=1;var e=RP(),r=e(Object.keys,Object);return Wu=r,Wu}var Gu,_h;function qP(){if(_h)return Gu;_h=1;var e=DP(),r=$P(),t=Object.prototype,n=t.hasOwnProperty;function i(a){if(!e(a))return r(a);var o=[];for(var u in Object(a))n.call(a,u)&&u!="constructor"&&o.push(u);return o}return Gu=i,Gu}var Yu,Oh;function ga(){if(Oh)return Yu;Oh=1;var e=Zc(),r=lf();function t(n){return n!=null&&r(n.length)&&!e(n)}return Yu=t,Yu}var Vu,Ph;function cf(){if(Ph)return Vu;Ph=1;var e=kP(),r=qP(),t=ga();function n(i){return t(i)?e(i):r(i)}return Vu=n,Vu}var Xu,Sh;function LP(){if(Sh)return Xu;Sh=1;var e=SP(),r=EP(),t=cf();function n(i){return e(i,t,r)}return Xu=n,Xu}var Zu,Ah;function BP(){if(Ah)return Zu;Ah=1;var e=LP(),r=1,t=Object.prototype,n=t.hasOwnProperty;function i(a,o,u,s,l,c){var f=u&r,d=e(a),v=d.length,h=e(o),p=h.length;if(v!=p&&!f)return!1;for(var m=v;m--;){var g=d[m];if(!(f?g in o:n.call(o,g)))return!1}var b=c.get(a),x=c.get(o);if(b&&x)return b==o&&x==a;var _=!0;c.set(a,o),c.set(o,a);for(var w=f;++m<v;){g=d[m];var O=a[g],P=o[g];if(s)var E=f?s(P,O,g,o,a,c):s(O,P,g,a,o,c);if(!(E===void 0?O===P||l(O,P,u,s,c):E)){_=!1;break}w||(w=g=="constructor")}if(_&&!w){var N=a.constructor,D=o.constructor;N!=D&&"constructor"in a&&"constructor"in o&&!(typeof N=="function"&&N instanceof N&&typeof D=="function"&&D instanceof D)&&(_=!1)}return c.delete(a),c.delete(o),_}return Zu=i,Zu}var Ju,Ch;function zP(){if(Ch)return Ju;Ch=1;var e=ft(),r=mr(),t=e(r,"DataView");return Ju=t,Ju}var Qu,Eh;function FP(){if(Eh)return Qu;Eh=1;var e=ft(),r=mr(),t=e(r,"Promise");return Qu=t,Qu}var es,Th;function X0(){if(Th)return es;Th=1;var e=ft(),r=mr(),t=e(r,"Set");return es=t,es}var rs,Ih;function UP(){if(Ih)return rs;Ih=1;var e=ft(),r=mr(),t=e(r,"WeakMap");return rs=t,rs}var ts,Mh;function KP(){if(Mh)return ts;Mh=1;var e=zP(),r=Qc(),t=FP(),n=X0(),i=UP(),a=lt(),o=x0(),u="[object Map]",s="[object Object]",l="[object Promise]",c="[object Set]",f="[object WeakMap]",d="[object DataView]",v=o(e),h=o(r),p=o(t),m=o(n),g=o(i),b=a;return(e&&b(new e(new ArrayBuffer(1)))!=d||r&&b(new r)!=u||t&&b(t.resolve())!=l||n&&b(new n)!=c||i&&b(new i)!=f)&&(b=function(x){var _=a(x),w=_==s?x.constructor:void 0,O=w?o(w):"";if(O)switch(O){case v:return d;case h:return u;case p:return l;case m:return c;case g:return f}return _}),ts=b,ts}var ns,jh;function HP(){if(jh)return ns;jh=1;var e=F0(),r=H0(),t=PP(),n=BP(),i=KP(),a=nr(),o=G0(),u=V0(),s=1,l="[object Arguments]",c="[object Array]",f="[object Object]",d=Object.prototype,v=d.hasOwnProperty;function h(p,m,g,b,x,_){var w=a(p),O=a(m),P=w?c:i(p),E=O?c:i(m);P=P==l?f:P,E=E==l?f:E;var N=P==f,D=E==f,A=P==E;if(A&&o(p)){if(!o(m))return!1;w=!0,N=!1}if(A&&!N)return _||(_=new e),w||u(p)?r(p,m,g,b,x,_):t(p,m,P,g,b,x,_);if(!(g&s)){var j=N&&v.call(p,"__wrapped__"),M=D&&v.call(m,"__wrapped__");if(j||M){var k=j?p.value():p,$=M?m.value():m;return _||(_=new e),x(k,$,g,b,_)}}return A?(_||(_=new e),n(p,m,g,b,x,_)):!1}return ns=h,ns}var is,Nh;function Z0(){if(Nh)return is;Nh=1;var e=HP(),r=ct();function t(n,i,a,o,u){return n===i?!0:n==null||i==null||!r(n)&&!r(i)?n!==n&&i!==i:e(n,i,a,o,t,u)}return is=t,is}var as,kh;function WP(){if(kh)return as;kh=1;var e=F0(),r=Z0(),t=1,n=2;function i(a,o,u,s){var l=u.length,c=l,f=!s;if(a==null)return!c;for(a=Object(a);l--;){var d=u[l];if(f&&d[2]?d[1]!==a[d[0]]:!(d[0]in a))return!1}for(;++l<c;){d=u[l];var v=d[0],h=a[v],p=d[1];if(f&&d[2]){if(h===void 0&&!(v in a))return!1}else{var m=new e;if(s)var g=s(h,p,v,a,o,m);if(!(g===void 0?r(p,h,t|n,s,m):g))return!1}}return!0}return as=i,as}var os,Dh;function J0(){if(Dh)return os;Dh=1;var e=Fr();function r(t){return t===t&&!e(t)}return os=r,os}var us,Rh;function GP(){if(Rh)return us;Rh=1;var e=J0(),r=cf();function t(n){for(var i=r(n),a=i.length;a--;){var o=i[a],u=n[o];i[a]=[o,u,e(u)]}return i}return us=t,us}var ss,$h;function Q0(){if($h)return ss;$h=1;function e(r,t){return function(n){return n==null?!1:n[r]===t&&(t!==void 0||r in Object(n))}}return ss=e,ss}var ls,qh;function YP(){if(qh)return ls;qh=1;var e=WP(),r=GP(),t=Q0();function n(i){var a=r(i);return a.length==1&&a[0][2]?t(a[0][0],a[0][1]):function(o){return o===i||e(o,i,a)}}return ls=n,ls}var cs,Lh;function VP(){if(Lh)return cs;Lh=1;function e(r,t){return r!=null&&t in Object(r)}return cs=e,cs}var fs,Bh;function XP(){if(Bh)return fs;Bh=1;var e=_0(),r=uf(),t=nr(),n=sf(),i=lf(),a=ha();function o(u,s,l){s=e(s,u);for(var c=-1,f=s.length,d=!1;++c<f;){var v=a(s[c]);if(!(d=u!=null&&l(u,v)))break;u=u[v]}return d||++c!=f?d:(f=u==null?0:u.length,!!f&&i(f)&&n(v,f)&&(t(u)||r(u)))}return fs=o,fs}var ds,zh;function ZP(){if(zh)return ds;zh=1;var e=VP(),r=XP();function t(n,i){return n!=null&&r(n,i,e)}return ds=t,ds}var vs,Fh;function JP(){if(Fh)return vs;Fh=1;var e=Z0(),r=O0(),t=ZP(),n=Xc(),i=J0(),a=Q0(),o=ha(),u=1,s=2;function l(c,f){return n(c)&&i(f)?a(o(c),f):function(d){var v=r(d,c);return v===void 0&&v===f?t(d,c):e(f,v,u|s)}}return vs=l,vs}var hs,Uh;function ba(){if(Uh)return hs;Uh=1;function e(r){return r}return hs=e,hs}var ps,Kh;function QP(){if(Kh)return ps;Kh=1;function e(r){return function(t){return t?.[r]}}return ps=e,ps}var ms,Hh;function eS(){if(Hh)return ms;Hh=1;var e=rf();function r(t){return function(n){return e(n,t)}}return ms=r,ms}var ys,Wh;function rS(){if(Wh)return ys;Wh=1;var e=QP(),r=eS(),t=Xc(),n=ha();function i(a){return t(a)?e(n(a)):r(a)}return ys=i,ys}var gs,Gh;function eb(){if(Gh)return gs;Gh=1;var e=YP(),r=JP(),t=ba(),n=nr(),i=rS();function a(o){return typeof o=="function"?o:o==null?t:typeof o=="object"?n(o)?r(o[0],o[1]):e(o):i(o)}return gs=a,gs}var bs,Yh;function tS(){if(Yh)return bs;Yh=1;function e(r,t,n,i){for(var a=r.length,o=n+(i?1:-1);i?o--:++o<a;)if(t(r[o],o,r))return o;return-1}return bs=e,bs}var xs,Vh;function nS(){if(Vh)return xs;Vh=1;function e(r){return r!==r}return xs=e,xs}var ws,Xh;function iS(){if(Xh)return ws;Xh=1;function e(r,t,n){for(var i=n-1,a=r.length;++i<a;)if(r[i]===t)return i;return-1}return ws=e,ws}var _s,Zh;function aS(){if(Zh)return _s;Zh=1;var e=tS(),r=nS(),t=iS();function n(i,a,o){return a===a?t(i,a,o):e(i,r,o)}return _s=n,_s}var Os,Jh;function oS(){if(Jh)return Os;Jh=1;var e=aS();function r(t,n){var i=t==null?0:t.length;return!!i&&e(t,n,0)>-1}return Os=r,Os}var Ps,Qh;function uS(){if(Qh)return Ps;Qh=1;function e(r,t,n){for(var i=-1,a=r==null?0:r.length;++i<a;)if(n(t,r[i]))return!0;return!1}return Ps=e,Ps}var Ss,ep;function sS(){if(ep)return Ss;ep=1;function e(){}return Ss=e,Ss}var As,rp;function lS(){if(rp)return As;rp=1;var e=X0(),r=sS(),t=of(),n=1/0,i=e&&1/t(new e([,-0]))[1]==n?function(a){return new e(a)}:r;return As=i,As}var Cs,tp;function cS(){if(tp)return Cs;tp=1;var e=U0(),r=oS(),t=uS(),n=K0(),i=lS(),a=of(),o=200;function u(s,l,c){var f=-1,d=r,v=s.length,h=!0,p=[],m=p;if(c)h=!1,d=t;else if(v>=o){var g=l?null:i(s);if(g)return a(g);h=!1,d=n,m=new e}else m=l?[]:p;e:for(;++f<v;){var b=s[f],x=l?l(b):b;if(b=c||b!==0?b:0,h&&x===x){for(var _=m.length;_--;)if(m[_]===x)continue e;l&&m.push(x),p.push(b)}else d(m,x,c)||(m!==p&&m.push(x),p.push(b))}return p}return Cs=u,Cs}var Es,np;function fS(){if(np)return Es;np=1;var e=eb(),r=cS();function t(n,i){return n&&n.length?r(n,e(i,2)):[]}return Es=t,Es}var dS=fS();const ip=Ne(dS);function vS(e,r,t){return r===!0?ip(e,t):EO(r)?ip(e,r):e}var Ts,ap;function hS(){if(ap)return Ts;ap=1;var e=Pn(),r=uf(),t=nr(),n=e?e.isConcatSpreadable:void 0;function i(a){return t(a)||r(a)||!!(n&&a&&a[n])}return Ts=i,Ts}var Is,op;function pS(){if(op)return Is;op=1;var e=W0(),r=hS();function t(n,i,a,o,u){var s=-1,l=n.length;for(a||(a=r),u||(u=[]);++s<l;){var c=n[s];i>0&&a(c)?i>1?t(c,i-1,a,o,u):e(u,c):o||(u[u.length]=c)}return u}return Is=t,Is}var Ms,up;function mS(){if(up)return Ms;up=1;function e(r){return function(t,n,i){for(var a=-1,o=Object(t),u=i(t),s=u.length;s--;){var l=u[r?s:++a];if(n(o[l],l,o)===!1)break}return t}}return Ms=e,Ms}var js,sp;function yS(){if(sp)return js;sp=1;var e=mS(),r=e();return js=r,js}var Ns,lp;function gS(){if(lp)return Ns;lp=1;var e=yS(),r=cf();function t(n,i){return n&&e(n,i,r)}return Ns=t,Ns}var ks,cp;function bS(){if(cp)return ks;cp=1;var e=ga();function r(t,n){return function(i,a){if(i==null)return i;if(!e(i))return t(i,a);for(var o=i.length,u=n?o:-1,s=Object(i);(n?u--:++u<o)&&a(s[u],u,s)!==!1;);return i}}return ks=r,ks}var Ds,fp;function xS(){if(fp)return Ds;fp=1;var e=gS(),r=bS(),t=r(e);return Ds=t,Ds}var Rs,dp;function wS(){if(dp)return Rs;dp=1;var e=xS(),r=ga();function t(n,i){var a=-1,o=r(n)?Array(n.length):[];return e(n,function(u,s,l){o[++a]=i(u,s,l)}),o}return Rs=t,Rs}var $s,vp;function _S(){if(vp)return $s;vp=1;function e(r,t){var n=r.length;for(r.sort(t);n--;)r[n]=r[n].value;return r}return $s=e,$s}var qs,hp;function OS(){if(hp)return qs;hp=1;var e=Sn();function r(t,n){if(t!==n){var i=t!==void 0,a=t===null,o=t===t,u=e(t),s=n!==void 0,l=n===null,c=n===n,f=e(n);if(!l&&!f&&!u&&t>n||u&&s&&c&&!l&&!f||a&&s&&c||!i&&c||!o)return 1;if(!a&&!u&&!f&&t<n||f&&i&&o&&!a&&!u||l&&i&&o||!s&&o||!c)return-1}return 0}return qs=r,qs}var Ls,pp;function PS(){if(pp)return Ls;pp=1;var e=OS();function r(t,n,i){for(var a=-1,o=t.criteria,u=n.criteria,s=o.length,l=i.length;++a<s;){var c=e(o[a],u[a]);if(c){if(a>=l)return c;var f=i[a];return c*(f=="desc"?-1:1)}}return t.index-n.index}return Ls=r,Ls}var Bs,mp;function SS(){if(mp)return Bs;mp=1;var e=w0(),r=rf(),t=eb(),n=wS(),i=_S(),a=Y0(),o=PS(),u=ba(),s=nr();function l(c,f,d){f.length?f=e(f,function(p){return s(p)?function(m){return r(m,p.length===1?p[0]:p)}:p}):f=[u];var v=-1;f=e(f,a(t));var h=n(c,function(p,m,g){var b=e(f,function(x){return x(p)});return{criteria:b,index:++v,value:p}});return i(h,function(p,m){return o(p,m,d)})}return Bs=l,Bs}var zs,yp;function AS(){if(yp)return zs;yp=1;function e(r,t,n){switch(n.length){case 0:return r.call(t);case 1:return r.call(t,n[0]);case 2:return r.call(t,n[0],n[1]);case 3:return r.call(t,n[0],n[1],n[2])}return r.apply(t,n)}return zs=e,zs}var Fs,gp;function CS(){if(gp)return Fs;gp=1;var e=AS(),r=Math.max;function t(n,i,a){return i=r(i===void 0?n.length-1:i,0),function(){for(var o=arguments,u=-1,s=r(o.length-i,0),l=Array(s);++u<s;)l[u]=o[i+u];u=-1;for(var c=Array(i+1);++u<i;)c[u]=o[u];return c[i]=a(l),e(n,this,c)}}return Fs=t,Fs}var Us,bp;function ES(){if(bp)return Us;bp=1;function e(r){return function(){return r}}return Us=e,Us}var Ks,xp;function TS(){if(xp)return Ks;xp=1;var e=ft(),r=(function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch{}})();return Ks=r,Ks}var Hs,wp;function IS(){if(wp)return Hs;wp=1;var e=ES(),r=TS(),t=ba(),n=r?function(i,a){return r(i,"toString",{configurable:!0,enumerable:!1,value:e(a),writable:!0})}:t;return Hs=n,Hs}var Ws,_p;function MS(){if(_p)return Ws;_p=1;var e=800,r=16,t=Date.now;function n(i){var a=0,o=0;return function(){var u=t(),s=r-(u-o);if(o=u,s>0){if(++a>=e)return arguments[0]}else a=0;return i.apply(void 0,arguments)}}return Ws=n,Ws}var Gs,Op;function jS(){if(Op)return Gs;Op=1;var e=IS(),r=MS(),t=r(e);return Gs=t,Gs}var Ys,Pp;function NS(){if(Pp)return Ys;Pp=1;var e=ba(),r=CS(),t=jS();function n(i,a){return t(r(i,a,e),i+"")}return Ys=n,Ys}var Vs,Sp;function kS(){if(Sp)return Vs;Sp=1;var e=Jc(),r=ga(),t=sf(),n=Fr();function i(a,o,u){if(!n(u))return!1;var s=typeof o;return(s=="number"?r(u)&&t(o,u.length):s=="string"&&o in u)?e(u[o],a):!1}return Vs=i,Vs}var Xs,Ap;function DS(){if(Ap)return Xs;Ap=1;var e=pS(),r=SS(),t=NS(),n=kS(),i=t(function(a,o){if(a==null)return[];var u=o.length;return u>1&&n(a,o[0],o[1])?o=[]:u>2&&n(o[0],o[1],o[2])&&(o=[o[0]]),r(a,e(o,1),[])});return Xs=i,Xs}var RS=DS();const $S=Ne(RS);function un(e){"@babel/helpers - typeof";return un=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},un(e)}function oc(){return oc=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},oc.apply(this,arguments)}function qS(e,r){return FS(e)||zS(e,r)||BS(e,r)||LS()}function LS(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1
|
+
import{r as y,ai as Hn,aj as Ne,Q as Ae,E as he,c as zr,j as T,ak as h_,al as p_,am as m_,an as y_,ao as g_,f as b_,t as x_}from"./index-A52jfksK.js";import{c as Dr}from"./utils-DgLfrg3u.js";import{r as w_}from"./index-DDiLOLYT.js";import{u as __,c as to,b as no,T as io,i as _d}from"./tooltip-BjhP6ibY.js";import{B as Kt}from"./button-DodNLkpL.js";import{a as Od}from"./Copy01-CHjgpWtl.js";import{i as O_,J as Pd}from"./json-syntax-highlighter-i1hiMNnF.js";const Ql=({size:e=24,color:r="currentColor",...t})=>y.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},y.createElement("path",{d:"M21 15v1.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V15m14-5-5 5m0 0-5-5m5 5V3"}));Ql.displayName="Download01";function Gc(e,r,t){e.prototype=r.prototype=t,t.constructor=e}function m0(e,r){var t=Object.create(e.prototype);for(var n in r)t[n]=r[n];return t}function On(){}var nn=.7,hi=1/nn,Pt="\\s*([+-]?\\d+)\\s*",an="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",vr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",P_=/^#([0-9a-f]{3,8})$/,S_=new RegExp(`^rgb\\(${Pt},${Pt},${Pt}\\)$`),A_=new RegExp(`^rgb\\(${vr},${vr},${vr}\\)$`),C_=new RegExp(`^rgba\\(${Pt},${Pt},${Pt},${an}\\)$`),E_=new RegExp(`^rgba\\(${vr},${vr},${vr},${an}\\)$`),T_=new RegExp(`^hsl\\(${an},${vr},${vr}\\)$`),I_=new RegExp(`^hsla\\(${an},${vr},${vr},${an}\\)$`),Sd={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Gc(On,on,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Ad,formatHex:Ad,formatHex8:M_,formatHsl:j_,formatRgb:Cd,toString:Cd});function Ad(){return this.rgb().formatHex()}function M_(){return this.rgb().formatHex8()}function j_(){return y0(this).formatHsl()}function Cd(){return this.rgb().formatRgb()}function on(e){var r,t;return e=(e+"").trim().toLowerCase(),(r=P_.exec(e))?(t=r[1].length,r=parseInt(r[1],16),t===6?Ed(r):t===3?new je(r>>8&15|r>>4&240,r>>4&15|r&240,(r&15)<<4|r&15,1):t===8?Wn(r>>24&255,r>>16&255,r>>8&255,(r&255)/255):t===4?Wn(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|r&240,((r&15)<<4|r&15)/255):null):(r=S_.exec(e))?new je(r[1],r[2],r[3],1):(r=A_.exec(e))?new je(r[1]*255/100,r[2]*255/100,r[3]*255/100,1):(r=C_.exec(e))?Wn(r[1],r[2],r[3],r[4]):(r=E_.exec(e))?Wn(r[1]*255/100,r[2]*255/100,r[3]*255/100,r[4]):(r=T_.exec(e))?Md(r[1],r[2]/100,r[3]/100,1):(r=I_.exec(e))?Md(r[1],r[2]/100,r[3]/100,r[4]):Sd.hasOwnProperty(e)?Ed(Sd[e]):e==="transparent"?new je(NaN,NaN,NaN,0):null}function Ed(e){return new je(e>>16&255,e>>8&255,e&255,1)}function Wn(e,r,t,n){return n<=0&&(e=r=t=NaN),new je(e,r,t,n)}function N_(e){return e instanceof On||(e=on(e)),e?(e=e.rgb(),new je(e.r,e.g,e.b,e.opacity)):new je}function ec(e,r,t,n){return arguments.length===1?N_(e):new je(e,r,t,n??1)}function je(e,r,t,n){this.r=+e,this.g=+r,this.b=+t,this.opacity=+n}Gc(je,ec,m0(On,{brighter(e){return e=e==null?hi:Math.pow(hi,e),new je(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?nn:Math.pow(nn,e),new je(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new je(et(this.r),et(this.g),et(this.b),pi(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Td,formatHex:Td,formatHex8:k_,formatRgb:Id,toString:Id}));function Td(){return`#${Zr(this.r)}${Zr(this.g)}${Zr(this.b)}`}function k_(){return`#${Zr(this.r)}${Zr(this.g)}${Zr(this.b)}${Zr((isNaN(this.opacity)?1:this.opacity)*255)}`}function Id(){const e=pi(this.opacity);return`${e===1?"rgb(":"rgba("}${et(this.r)}, ${et(this.g)}, ${et(this.b)}${e===1?")":`, ${e})`}`}function pi(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function et(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Zr(e){return e=et(e),(e<16?"0":"")+e.toString(16)}function Md(e,r,t,n){return n<=0?e=r=t=NaN:t<=0||t>=1?e=r=NaN:r<=0&&(e=NaN),new Ze(e,r,t,n)}function y0(e){if(e instanceof Ze)return new Ze(e.h,e.s,e.l,e.opacity);if(e instanceof On||(e=on(e)),!e)return new Ze;if(e instanceof Ze)return e;e=e.rgb();var r=e.r/255,t=e.g/255,n=e.b/255,i=Math.min(r,t,n),a=Math.max(r,t,n),o=NaN,u=a-i,s=(a+i)/2;return u?(r===a?o=(t-n)/u+(t<n)*6:t===a?o=(n-r)/u+2:o=(r-t)/u+4,u/=s<.5?a+i:2-a-i,o*=60):u=s>0&&s<1?0:o,new Ze(o,u,s,e.opacity)}function D_(e,r,t,n){return arguments.length===1?y0(e):new Ze(e,r,t,n??1)}function Ze(e,r,t,n){this.h=+e,this.s=+r,this.l=+t,this.opacity=+n}Gc(Ze,D_,m0(On,{brighter(e){return e=e==null?hi:Math.pow(hi,e),new Ze(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?nn:Math.pow(nn,e),new Ze(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,r=isNaN(e)||isNaN(this.s)?0:this.s,t=this.l,n=t+(t<.5?t:1-t)*r,i=2*t-n;return new je(ao(e>=240?e-240:e+120,i,n),ao(e,i,n),ao(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new Ze(jd(this.h),Gn(this.s),Gn(this.l),pi(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=pi(this.opacity);return`${e===1?"hsl(":"hsla("}${jd(this.h)}, ${Gn(this.s)*100}%, ${Gn(this.l)*100}%${e===1?")":`, ${e})`}`}}));function jd(e){return e=(e||0)%360,e<0?e+360:e}function Gn(e){return Math.max(0,Math.min(1,e||0))}function ao(e,r,t){return(e<60?r+(t-r)*e/60:e<180?t:e<240?r+(t-r)*(240-e)/60:r)*255}const Yc=e=>()=>e;function R_(e,r){return function(t){return e+t*r}}function $_(e,r,t){return e=Math.pow(e,t),r=Math.pow(r,t)-e,t=1/t,function(n){return Math.pow(e+n*r,t)}}function q_(e){return(e=+e)==1?g0:function(r,t){return t-r?$_(r,t,e):Yc(isNaN(r)?t:r)}}function g0(e,r){var t=r-e;return t?R_(e,t):Yc(isNaN(e)?r:e)}const Nd=(function e(r){var t=q_(r);function n(i,a){var o=t((i=ec(i)).r,(a=ec(a)).r),u=t(i.g,a.g),s=t(i.b,a.b),l=g0(i.opacity,a.opacity);return function(c){return i.r=o(c),i.g=u(c),i.b=s(c),i.opacity=l(c),i+""}}return n.gamma=e,n})(1);function L_(e,r){r||(r=[]);var t=e?Math.min(r.length,e.length):0,n=r.slice(),i;return function(a){for(i=0;i<t;++i)n[i]=e[i]*(1-a)+r[i]*a;return n}}function B_(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function z_(e,r){var t=r?r.length:0,n=e?Math.min(t,e.length):0,i=new Array(n),a=new Array(t),o;for(o=0;o<n;++o)i[o]=$t(e[o],r[o]);for(;o<t;++o)a[o]=r[o];return function(u){for(o=0;o<n;++o)a[o]=i[o](u);return a}}function F_(e,r){var t=new Date;return e=+e,r=+r,function(n){return t.setTime(e*(1-n)+r*n),t}}function mi(e,r){return e=+e,r=+r,function(t){return e*(1-t)+r*t}}function U_(e,r){var t={},n={},i;(e===null||typeof e!="object")&&(e={}),(r===null||typeof r!="object")&&(r={});for(i in r)i in e?t[i]=$t(e[i],r[i]):n[i]=r[i];return function(a){for(i in t)n[i]=t[i](a);return n}}var rc=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,oo=new RegExp(rc.source,"g");function K_(e){return function(){return e}}function H_(e){return function(r){return e(r)+""}}function W_(e,r){var t=rc.lastIndex=oo.lastIndex=0,n,i,a,o=-1,u=[],s=[];for(e=e+"",r=r+"";(n=rc.exec(e))&&(i=oo.exec(r));)(a=i.index)>t&&(a=r.slice(t,a),u[o]?u[o]+=a:u[++o]=a),(n=n[0])===(i=i[0])?u[o]?u[o]+=i:u[++o]=i:(u[++o]=null,s.push({i:o,x:mi(n,i)})),t=oo.lastIndex;return t<r.length&&(a=r.slice(t),u[o]?u[o]+=a:u[++o]=a),u.length<2?s[0]?H_(s[0].x):K_(r):(r=s.length,function(l){for(var c=0,f;c<r;++c)u[(f=s[c]).i]=f.x(l);return u.join("")})}function $t(e,r){var t=typeof r,n;return r==null||t==="boolean"?Yc(r):(t==="number"?mi:t==="string"?(n=on(r))?(r=n,Nd):W_:r instanceof on?Nd:r instanceof Date?F_:B_(r)?L_:Array.isArray(r)?z_:typeof r.valueOf!="function"&&typeof r.toString!="function"||isNaN(r)?U_:mi)(e,r)}function Vc(e,r){return e=+e,r=+r,function(t){return Math.round(e*(1-t)+r*t)}}function G_(e,r){r===void 0&&(r=e,e=$t);for(var t=0,n=r.length-1,i=r[0],a=new Array(n<0?0:n);t<n;)a[t]=e(i,i=r[++t]);return function(o){var u=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return a[u](o-u)}}var uo,kd;function nr(){if(kd)return uo;kd=1;var e=Array.isArray;return uo=e,uo}var so,Dd;function b0(){if(Dd)return so;Dd=1;var e=typeof Hn=="object"&&Hn&&Hn.Object===Object&&Hn;return so=e,so}var lo,Rd;function mr(){if(Rd)return lo;Rd=1;var e=b0(),r=typeof self=="object"&&self&&self.Object===Object&&self,t=e||r||Function("return this")();return lo=t,lo}var co,$d;function Pn(){if($d)return co;$d=1;var e=mr(),r=e.Symbol;return co=r,co}var fo,qd;function Y_(){if(qd)return fo;qd=1;var e=Pn(),r=Object.prototype,t=r.hasOwnProperty,n=r.toString,i=e?e.toStringTag:void 0;function a(o){var u=t.call(o,i),s=o[i];try{o[i]=void 0;var l=!0}catch{}var c=n.call(o);return l&&(u?o[i]=s:delete o[i]),c}return fo=a,fo}var vo,Ld;function V_(){if(Ld)return vo;Ld=1;var e=Object.prototype,r=e.toString;function t(n){return r.call(n)}return vo=t,vo}var ho,Bd;function lt(){if(Bd)return ho;Bd=1;var e=Pn(),r=Y_(),t=V_(),n="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(u){return u==null?u===void 0?i:n:a&&a in Object(u)?r(u):t(u)}return ho=o,ho}var po,zd;function ct(){if(zd)return po;zd=1;function e(r){return r!=null&&typeof r=="object"}return po=e,po}var mo,Fd;function Sn(){if(Fd)return mo;Fd=1;var e=lt(),r=ct(),t="[object Symbol]";function n(i){return typeof i=="symbol"||r(i)&&e(i)==t}return mo=n,mo}var yo,Ud;function Xc(){if(Ud)return yo;Ud=1;var e=nr(),r=Sn(),t=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,o){if(e(a))return!1;var u=typeof a;return u=="number"||u=="symbol"||u=="boolean"||a==null||r(a)?!0:n.test(a)||!t.test(a)||o!=null&&a in Object(o)}return yo=i,yo}var go,Kd;function Fr(){if(Kd)return go;Kd=1;function e(r){var t=typeof r;return r!=null&&(t=="object"||t=="function")}return go=e,go}var bo,Hd;function Zc(){if(Hd)return bo;Hd=1;var e=lt(),r=Fr(),t="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",a="[object Proxy]";function o(u){if(!r(u))return!1;var s=e(u);return s==n||s==i||s==t||s==a}return bo=o,bo}var xo,Wd;function X_(){if(Wd)return xo;Wd=1;var e=mr(),r=e["__core-js_shared__"];return xo=r,xo}var wo,Gd;function Z_(){if(Gd)return wo;Gd=1;var e=X_(),r=(function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function t(n){return!!r&&r in n}return wo=t,wo}var _o,Yd;function x0(){if(Yd)return _o;Yd=1;var e=Function.prototype,r=e.toString;function t(n){if(n!=null){try{return r.call(n)}catch{}try{return n+""}catch{}}return""}return _o=t,_o}var Oo,Vd;function J_(){if(Vd)return Oo;Vd=1;var e=Zc(),r=Z_(),t=Fr(),n=x0(),i=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,u=Object.prototype,s=o.toString,l=u.hasOwnProperty,c=RegExp("^"+s.call(l).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(d){if(!t(d)||r(d))return!1;var v=e(d)?c:a;return v.test(n(d))}return Oo=f,Oo}var Po,Xd;function Q_(){if(Xd)return Po;Xd=1;function e(r,t){return r?.[t]}return Po=e,Po}var So,Zd;function ft(){if(Zd)return So;Zd=1;var e=J_(),r=Q_();function t(n,i){var a=r(n,i);return e(a)?a:void 0}return So=t,So}var Ao,Jd;function ca(){if(Jd)return Ao;Jd=1;var e=ft(),r=e(Object,"create");return Ao=r,Ao}var Co,Qd;function eO(){if(Qd)return Co;Qd=1;var e=ca();function r(){this.__data__=e?e(null):{},this.size=0}return Co=r,Co}var Eo,ev;function rO(){if(ev)return Eo;ev=1;function e(r){var t=this.has(r)&&delete this.__data__[r];return this.size-=t?1:0,t}return Eo=e,Eo}var To,rv;function tO(){if(rv)return To;rv=1;var e=ca(),r="__lodash_hash_undefined__",t=Object.prototype,n=t.hasOwnProperty;function i(a){var o=this.__data__;if(e){var u=o[a];return u===r?void 0:u}return n.call(o,a)?o[a]:void 0}return To=i,To}var Io,tv;function nO(){if(tv)return Io;tv=1;var e=ca(),r=Object.prototype,t=r.hasOwnProperty;function n(i){var a=this.__data__;return e?a[i]!==void 0:t.call(a,i)}return Io=n,Io}var Mo,nv;function iO(){if(nv)return Mo;nv=1;var e=ca(),r="__lodash_hash_undefined__";function t(n,i){var a=this.__data__;return this.size+=this.has(n)?0:1,a[n]=e&&i===void 0?r:i,this}return Mo=t,Mo}var jo,iv;function aO(){if(iv)return jo;iv=1;var e=eO(),r=rO(),t=tO(),n=nO(),i=iO();function a(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var l=o[u];this.set(l[0],l[1])}}return a.prototype.clear=e,a.prototype.delete=r,a.prototype.get=t,a.prototype.has=n,a.prototype.set=i,jo=a,jo}var No,av;function oO(){if(av)return No;av=1;function e(){this.__data__=[],this.size=0}return No=e,No}var ko,ov;function Jc(){if(ov)return ko;ov=1;function e(r,t){return r===t||r!==r&&t!==t}return ko=e,ko}var Do,uv;function fa(){if(uv)return Do;uv=1;var e=Jc();function r(t,n){for(var i=t.length;i--;)if(e(t[i][0],n))return i;return-1}return Do=r,Do}var Ro,sv;function uO(){if(sv)return Ro;sv=1;var e=fa(),r=Array.prototype,t=r.splice;function n(i){var a=this.__data__,o=e(a,i);if(o<0)return!1;var u=a.length-1;return o==u?a.pop():t.call(a,o,1),--this.size,!0}return Ro=n,Ro}var $o,lv;function sO(){if(lv)return $o;lv=1;var e=fa();function r(t){var n=this.__data__,i=e(n,t);return i<0?void 0:n[i][1]}return $o=r,$o}var qo,cv;function lO(){if(cv)return qo;cv=1;var e=fa();function r(t){return e(this.__data__,t)>-1}return qo=r,qo}var Lo,fv;function cO(){if(fv)return Lo;fv=1;var e=fa();function r(t,n){var i=this.__data__,a=e(i,t);return a<0?(++this.size,i.push([t,n])):i[a][1]=n,this}return Lo=r,Lo}var Bo,dv;function da(){if(dv)return Bo;dv=1;var e=oO(),r=uO(),t=sO(),n=lO(),i=cO();function a(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var l=o[u];this.set(l[0],l[1])}}return a.prototype.clear=e,a.prototype.delete=r,a.prototype.get=t,a.prototype.has=n,a.prototype.set=i,Bo=a,Bo}var zo,vv;function Qc(){if(vv)return zo;vv=1;var e=ft(),r=mr(),t=e(r,"Map");return zo=t,zo}var Fo,hv;function fO(){if(hv)return Fo;hv=1;var e=aO(),r=da(),t=Qc();function n(){this.size=0,this.__data__={hash:new e,map:new(t||r),string:new e}}return Fo=n,Fo}var Uo,pv;function dO(){if(pv)return Uo;pv=1;function e(r){var t=typeof r;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?r!=="__proto__":r===null}return Uo=e,Uo}var Ko,mv;function va(){if(mv)return Ko;mv=1;var e=dO();function r(t,n){var i=t.__data__;return e(n)?i[typeof n=="string"?"string":"hash"]:i.map}return Ko=r,Ko}var Ho,yv;function vO(){if(yv)return Ho;yv=1;var e=va();function r(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}return Ho=r,Ho}var Wo,gv;function hO(){if(gv)return Wo;gv=1;var e=va();function r(t){return e(this,t).get(t)}return Wo=r,Wo}var Go,bv;function pO(){if(bv)return Go;bv=1;var e=va();function r(t){return e(this,t).has(t)}return Go=r,Go}var Yo,xv;function mO(){if(xv)return Yo;xv=1;var e=va();function r(t,n){var i=e(this,t),a=i.size;return i.set(t,n),this.size+=i.size==a?0:1,this}return Yo=r,Yo}var Vo,wv;function ef(){if(wv)return Vo;wv=1;var e=fO(),r=vO(),t=hO(),n=pO(),i=mO();function a(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var l=o[u];this.set(l[0],l[1])}}return a.prototype.clear=e,a.prototype.delete=r,a.prototype.get=t,a.prototype.has=n,a.prototype.set=i,Vo=a,Vo}var Xo,_v;function yO(){if(_v)return Xo;_v=1;var e=ef(),r="Expected a function";function t(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(r);var a=function(){var o=arguments,u=i?i.apply(this,o):o[0],s=a.cache;if(s.has(u))return s.get(u);var l=n.apply(this,o);return a.cache=s.set(u,l)||s,l};return a.cache=new(t.Cache||e),a}return t.Cache=e,Xo=t,Xo}var Zo,Ov;function gO(){if(Ov)return Zo;Ov=1;var e=yO(),r=500;function t(n){var i=e(n,function(o){return a.size===r&&a.clear(),o}),a=i.cache;return i}return Zo=t,Zo}var Jo,Pv;function bO(){if(Pv)return Jo;Pv=1;var e=gO(),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,t=/\\(\\)?/g,n=e(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(r,function(o,u,s,l){a.push(s?l.replace(t,"$1"):u||o)}),a});return Jo=n,Jo}var Qo,Sv;function w0(){if(Sv)return Qo;Sv=1;function e(r,t){for(var n=-1,i=r==null?0:r.length,a=Array(i);++n<i;)a[n]=t(r[n],n,r);return a}return Qo=e,Qo}var eu,Av;function xO(){if(Av)return eu;Av=1;var e=Pn(),r=w0(),t=nr(),n=Sn(),i=e?e.prototype:void 0,a=i?i.toString:void 0;function o(u){if(typeof u=="string")return u;if(t(u))return r(u,o)+"";if(n(u))return a?a.call(u):"";var s=u+"";return s=="0"&&1/u==-1/0?"-0":s}return eu=o,eu}var ru,Cv;function wO(){if(Cv)return ru;Cv=1;var e=xO();function r(t){return t==null?"":e(t)}return ru=r,ru}var tu,Ev;function _0(){if(Ev)return tu;Ev=1;var e=nr(),r=Xc(),t=bO(),n=wO();function i(a,o){return e(a)?a:r(a,o)?[a]:t(n(a))}return tu=i,tu}var nu,Tv;function ha(){if(Tv)return nu;Tv=1;var e=Sn();function r(t){if(typeof t=="string"||e(t))return t;var n=t+"";return n=="0"&&1/t==-1/0?"-0":n}return nu=r,nu}var iu,Iv;function rf(){if(Iv)return iu;Iv=1;var e=_0(),r=ha();function t(n,i){i=e(i,n);for(var a=0,o=i.length;n!=null&&a<o;)n=n[r(i[a++])];return a&&a==o?n:void 0}return iu=t,iu}var au,Mv;function O0(){if(Mv)return au;Mv=1;var e=rf();function r(t,n,i){var a=t==null?void 0:e(t,n);return a===void 0?i:a}return au=r,au}O0();var ou,jv;function _O(){if(jv)return ou;jv=1;function e(r){return r==null}return ou=e,ou}var OO=_O();const PO=Ne(OO);var uu,Nv;function SO(){if(Nv)return uu;Nv=1;var e=lt(),r=nr(),t=ct(),n="[object String]";function i(a){return typeof a=="string"||!r(a)&&t(a)&&e(a)==n}return uu=i,uu}var AO=SO();const P0=Ne(AO);var CO=Zc();const EO=Ne(CO);Fr();var su,kv;function S0(){if(kv)return su;kv=1;var e=lt(),r=ct(),t="[object Number]";function n(i){return typeof i=="number"||r(i)&&e(i)==t}return su=n,su}var lu,Dv;function TO(){if(Dv)return lu;Dv=1;var e=S0();function r(t){return e(t)&&t!=+t}return lu=r,lu}var IO=TO();const MO=Ne(IO);var jO=S0();const NO=Ne(jO);var Yn=function(r){return P0(r)&&r.indexOf("%")===r.length-1},fr=function(r){return NO(r)&&!MO(r)},yi=function(r){return fr(r)||P0(r)},kO=function(r){return typeof r=="string"?r:r?r.displayName||r.name||"Component":""},cu=function(r,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a]};function ee(e){return function(){return e}}const A0=Math.cos,gi=Math.sin,ir=Math.sqrt,bi=Math.PI,pa=2*bi,tc=Math.PI,nc=2*tc,Yr=1e-6,DO=nc-Yr;function C0(e){this._+=e[0];for(let r=1,t=e.length;r<t;++r)this._+=arguments[r]+e[r]}function RO(e){let r=Math.floor(e);if(!(r>=0))throw new Error(`invalid digits: ${e}`);if(r>15)return C0;const t=10**r;return function(n){this._+=n[0];for(let i=1,a=n.length;i<a;++i)this._+=Math.round(arguments[i]*t)/t+n[i]}}class $O{constructor(r){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=r==null?C0:RO(r)}moveTo(r,t){this._append`M${this._x0=this._x1=+r},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(r,t){this._append`L${this._x1=+r},${this._y1=+t}`}quadraticCurveTo(r,t,n,i){this._append`Q${+r},${+t},${this._x1=+n},${this._y1=+i}`}bezierCurveTo(r,t,n,i,a,o){this._append`C${+r},${+t},${+n},${+i},${this._x1=+a},${this._y1=+o}`}arcTo(r,t,n,i,a){if(r=+r,t=+t,n=+n,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let o=this._x1,u=this._y1,s=n-r,l=i-t,c=o-r,f=u-t,d=c*c+f*f;if(this._x1===null)this._append`M${this._x1=r},${this._y1=t}`;else if(d>Yr)if(!(Math.abs(f*s-l*c)>Yr)||!a)this._append`L${this._x1=r},${this._y1=t}`;else{let v=n-o,h=i-u,p=s*s+l*l,m=v*v+h*h,g=Math.sqrt(p),b=Math.sqrt(d),x=a*Math.tan((tc-Math.acos((p+d-m)/(2*g*b)))/2),_=x/b,w=x/g;Math.abs(_-1)>Yr&&this._append`L${r+_*c},${t+_*f}`,this._append`A${a},${a},0,0,${+(f*v>c*h)},${this._x1=r+w*s},${this._y1=t+w*l}`}}arc(r,t,n,i,a,o){if(r=+r,t=+t,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let u=n*Math.cos(i),s=n*Math.sin(i),l=r+u,c=t+s,f=1^o,d=o?i-a:a-i;this._x1===null?this._append`M${l},${c}`:(Math.abs(this._x1-l)>Yr||Math.abs(this._y1-c)>Yr)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%nc+nc),d>DO?this._append`A${n},${n},0,1,${f},${r-u},${t-s}A${n},${n},0,1,${f},${this._x1=l},${this._y1=c}`:d>Yr&&this._append`A${n},${n},0,${+(d>=tc)},${f},${this._x1=r+n*Math.cos(a)},${this._y1=t+n*Math.sin(a)}`)}rect(r,t,n,i){this._append`M${this._x0=this._x1=+r},${this._y0=this._y1=+t}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function tf(e){let r=3;return e.digits=function(t){if(!arguments.length)return r;if(t==null)r=null;else{const n=Math.floor(t);if(!(n>=0))throw new RangeError(`invalid digits: ${t}`);r=n}return e},()=>new $O(r)}function nf(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function E0(e){this._context=e}E0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;default:this._context.lineTo(e,r);break}}};function ma(e){return new E0(e)}function T0(e){return e[0]}function I0(e){return e[1]}function M0(e,r){var t=ee(!0),n=null,i=ma,a=null,o=tf(u);e=typeof e=="function"?e:e===void 0?T0:ee(e),r=typeof r=="function"?r:r===void 0?I0:ee(r);function u(s){var l,c=(s=nf(s)).length,f,d=!1,v;for(n==null&&(a=i(v=o())),l=0;l<=c;++l)!(l<c&&t(f=s[l],l,s))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(f,l,s),+r(f,l,s));if(v)return a=null,v+""||null}return u.x=function(s){return arguments.length?(e=typeof s=="function"?s:ee(+s),u):e},u.y=function(s){return arguments.length?(r=typeof s=="function"?s:ee(+s),u):r},u.defined=function(s){return arguments.length?(t=typeof s=="function"?s:ee(!!s),u):t},u.curve=function(s){return arguments.length?(i=s,n!=null&&(a=i(n)),u):i},u.context=function(s){return arguments.length?(s==null?n=a=null:a=i(n=s),u):n},u}function Vn(e,r,t){var n=null,i=ee(!0),a=null,o=ma,u=null,s=tf(l);e=typeof e=="function"?e:e===void 0?T0:ee(+e),r=typeof r=="function"?r:ee(r===void 0?0:+r),t=typeof t=="function"?t:t===void 0?I0:ee(+t);function l(f){var d,v,h,p=(f=nf(f)).length,m,g=!1,b,x=new Array(p),_=new Array(p);for(a==null&&(u=o(b=s())),d=0;d<=p;++d){if(!(d<p&&i(m=f[d],d,f))===g)if(g=!g)v=d,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),h=d-1;h>=v;--h)u.point(x[h],_[h]);u.lineEnd(),u.areaEnd()}g&&(x[d]=+e(m,d,f),_[d]=+r(m,d,f),u.point(n?+n(m,d,f):x[d],t?+t(m,d,f):_[d]))}if(b)return u=null,b+""||null}function c(){return M0().defined(i).curve(o).context(a)}return l.x=function(f){return arguments.length?(e=typeof f=="function"?f:ee(+f),n=null,l):e},l.x0=function(f){return arguments.length?(e=typeof f=="function"?f:ee(+f),l):e},l.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:ee(+f),l):n},l.y=function(f){return arguments.length?(r=typeof f=="function"?f:ee(+f),t=null,l):r},l.y0=function(f){return arguments.length?(r=typeof f=="function"?f:ee(+f),l):r},l.y1=function(f){return arguments.length?(t=f==null?null:typeof f=="function"?f:ee(+f),l):t},l.lineX0=l.lineY0=function(){return c().x(e).y(r)},l.lineY1=function(){return c().x(e).y(t)},l.lineX1=function(){return c().x(n).y(r)},l.defined=function(f){return arguments.length?(i=typeof f=="function"?f:ee(!!f),l):i},l.curve=function(f){return arguments.length?(o=f,a!=null&&(u=o(a)),l):o},l.context=function(f){return arguments.length?(f==null?a=u=null:u=o(a=f),l):a},l}class j0{constructor(r,t){this._context=r,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(r,t){switch(r=+r,t=+t,this._point){case 0:{this._point=1,this._line?this._context.lineTo(r,t):this._context.moveTo(r,t);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+r)/2,this._y0,this._x0,t,r,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,r,this._y0,r,t);break}}this._x0=r,this._y0=t}}function qO(e){return new j0(e,!0)}function LO(e){return new j0(e,!1)}const af={draw(e,r){const t=ir(r/bi);e.moveTo(t,0),e.arc(0,0,t,0,pa)}},BO={draw(e,r){const t=ir(r/5)/2;e.moveTo(-3*t,-t),e.lineTo(-t,-t),e.lineTo(-t,-3*t),e.lineTo(t,-3*t),e.lineTo(t,-t),e.lineTo(3*t,-t),e.lineTo(3*t,t),e.lineTo(t,t),e.lineTo(t,3*t),e.lineTo(-t,3*t),e.lineTo(-t,t),e.lineTo(-3*t,t),e.closePath()}},N0=ir(1/3),zO=N0*2,FO={draw(e,r){const t=ir(r/zO),n=t*N0;e.moveTo(0,-t),e.lineTo(n,0),e.lineTo(0,t),e.lineTo(-n,0),e.closePath()}},UO={draw(e,r){const t=ir(r),n=-t/2;e.rect(n,n,t,t)}},KO=.8908130915292852,k0=gi(bi/10)/gi(7*bi/10),HO=gi(pa/10)*k0,WO=-A0(pa/10)*k0,GO={draw(e,r){const t=ir(r*KO),n=HO*t,i=WO*t;e.moveTo(0,-t),e.lineTo(n,i);for(let a=1;a<5;++a){const o=pa*a/5,u=A0(o),s=gi(o);e.lineTo(s*t,-u*t),e.lineTo(u*n-s*i,s*n+u*i)}e.closePath()}},fu=ir(3),YO={draw(e,r){const t=-ir(r/(fu*3));e.moveTo(0,t*2),e.lineTo(-fu*t,-t),e.lineTo(fu*t,-t),e.closePath()}},Ue=-.5,Ke=ir(3)/2,ic=1/ir(12),VO=(ic/2+1)*3,XO={draw(e,r){const t=ir(r/VO),n=t/2,i=t*ic,a=n,o=t*ic+t,u=-a,s=o;e.moveTo(n,i),e.lineTo(a,o),e.lineTo(u,s),e.lineTo(Ue*n-Ke*i,Ke*n+Ue*i),e.lineTo(Ue*a-Ke*o,Ke*a+Ue*o),e.lineTo(Ue*u-Ke*s,Ke*u+Ue*s),e.lineTo(Ue*n+Ke*i,Ue*i-Ke*n),e.lineTo(Ue*a+Ke*o,Ue*o-Ke*a),e.lineTo(Ue*u+Ke*s,Ue*s-Ke*u),e.closePath()}};function ZO(e,r){let t=null,n=tf(i);e=typeof e=="function"?e:ee(e||af),r=typeof r=="function"?r:ee(r===void 0?64:+r);function i(){let a;if(t||(t=a=n()),e.apply(this,arguments).draw(t,+r.apply(this,arguments)),a)return t=null,a+""||null}return i.type=function(a){return arguments.length?(e=typeof a=="function"?a:ee(a),i):e},i.size=function(a){return arguments.length?(r=typeof a=="function"?a:ee(+a),i):r},i.context=function(a){return arguments.length?(t=a??null,i):t},i}function xi(){}function wi(e,r,t){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+r)/6,(e._y0+4*e._y1+t)/6)}function D0(e){this._context=e}D0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:wi(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:wi(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function JO(e){return new D0(e)}function R0(e){this._context=e}R0.prototype={areaStart:xi,areaEnd:xi,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._x2=e,this._y2=r;break;case 1:this._point=2,this._x3=e,this._y3=r;break;case 2:this._point=3,this._x4=e,this._y4=r,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+r)/6);break;default:wi(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function QO(e){return new R0(e)}function $0(e){this._context=e}$0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var t=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+r)/6;this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 3:this._point=4;default:wi(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function eP(e){return new $0(e)}function q0(e){this._context=e}q0.prototype={areaStart:xi,areaEnd:xi,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,r){e=+e,r=+r,this._point?this._context.lineTo(e,r):(this._point=1,this._context.moveTo(e,r))}};function rP(e){return new q0(e)}function Rv(e){return e<0?-1:1}function $v(e,r,t){var n=e._x1-e._x0,i=r-e._x1,a=(e._y1-e._y0)/(n||i<0&&-0),o=(t-e._y1)/(i||n<0&&-0),u=(a*i+o*n)/(n+i);return(Rv(a)+Rv(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(u))||0}function qv(e,r){var t=e._x1-e._x0;return t?(3*(e._y1-e._y0)/t-r)/2:r}function du(e,r,t){var n=e._x0,i=e._y0,a=e._x1,o=e._y1,u=(a-n)/3;e._context.bezierCurveTo(n+u,i+u*r,a-u,o-u*t,a,o)}function _i(e){this._context=e}_i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:du(this,this._t0,qv(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,r){var t=NaN;if(e=+e,r=+r,!(e===this._x1&&r===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;break;case 2:this._point=3,du(this,qv(this,t=$v(this,e,r)),t);break;default:du(this,this._t0,t=$v(this,e,r));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r,this._t0=t}}};function L0(e){this._context=new B0(e)}(L0.prototype=Object.create(_i.prototype)).point=function(e,r){_i.prototype.point.call(this,r,e)};function B0(e){this._context=e}B0.prototype={moveTo:function(e,r){this._context.moveTo(r,e)},closePath:function(){this._context.closePath()},lineTo:function(e,r){this._context.lineTo(r,e)},bezierCurveTo:function(e,r,t,n,i,a){this._context.bezierCurveTo(r,e,n,t,a,i)}};function tP(e){return new _i(e)}function nP(e){return new L0(e)}function z0(e){this._context=e}z0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,r=this._y,t=e.length;if(t)if(this._line?this._context.lineTo(e[0],r[0]):this._context.moveTo(e[0],r[0]),t===2)this._context.lineTo(e[1],r[1]);else for(var n=Lv(e),i=Lv(r),a=0,o=1;o<t;++a,++o)this._context.bezierCurveTo(n[0][a],i[0][a],n[1][a],i[1][a],e[o],r[o]);(this._line||this._line!==0&&t===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,r){this._x.push(+e),this._y.push(+r)}};function Lv(e){var r,t=e.length-1,n,i=new Array(t),a=new Array(t),o=new Array(t);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],r=1;r<t-1;++r)i[r]=1,a[r]=4,o[r]=4*e[r]+2*e[r+1];for(i[t-1]=2,a[t-1]=7,o[t-1]=8*e[t-1]+e[t],r=1;r<t;++r)n=i[r]/a[r-1],a[r]-=n,o[r]-=n*o[r-1];for(i[t-1]=o[t-1]/a[t-1],r=t-2;r>=0;--r)i[r]=(o[r]-i[r+1])/a[r];for(a[t-1]=(e[t]+i[t-1])/2,r=0;r<t-1;++r)a[r]=2*e[r+1]-i[r+1];return[i,a]}function iP(e){return new z0(e)}function ya(e,r){this._context=e,this._t=r}ya.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,r),this._context.lineTo(e,r);else{var t=this._x*(1-this._t)+e*this._t;this._context.lineTo(t,this._y),this._context.lineTo(t,r)}break}}this._x=e,this._y=r}};function aP(e){return new ya(e,.5)}function oP(e){return new ya(e,0)}function uP(e){return new ya(e,1)}function nt(e,r){if((o=e.length)>1)for(var t=1,n,i,a=e[r[0]],o,u=a.length;t<o;++t)for(i=a,a=e[r[t]],n=0;n<u;++n)a[n][1]+=a[n][0]=isNaN(i[n][1])?i[n][0]:i[n][1]}function ac(e){for(var r=e.length,t=new Array(r);--r>=0;)t[r]=r;return t}function sP(e,r){return e[r]}function lP(e){const r=[];return r.key=e,r}function cP(){var e=ee([]),r=ac,t=nt,n=sP;function i(a){var o=Array.from(e.apply(this,arguments),lP),u,s=o.length,l=-1,c;for(const f of a)for(u=0,++l;u<s;++u)(o[u][l]=[0,+n(f,o[u].key,l,a)]).data=f;for(u=0,c=nf(r(o));u<s;++u)o[c[u]].index=u;return t(o,c),o}return i.keys=function(a){return arguments.length?(e=typeof a=="function"?a:ee(Array.from(a)),i):e},i.value=function(a){return arguments.length?(n=typeof a=="function"?a:ee(+a),i):n},i.order=function(a){return arguments.length?(r=a==null?ac:typeof a=="function"?a:ee(Array.from(a)),i):r},i.offset=function(a){return arguments.length?(t=a??nt,i):t},i}function fP(e,r){if((n=e.length)>0){for(var t,n,i=0,a=e[0].length,o;i<a;++i){for(o=t=0;t<n;++t)o+=e[t][i][1]||0;if(o)for(t=0;t<n;++t)e[t][i][1]/=o}nt(e,r)}}function dP(e,r){if((i=e.length)>0){for(var t=0,n=e[r[0]],i,a=n.length;t<a;++t){for(var o=0,u=0;o<i;++o)u+=e[o][t][1]||0;n[t][1]+=n[t][0]=-u/2}nt(e,r)}}function vP(e,r){if(!(!((o=e.length)>0)||!((a=(i=e[r[0]]).length)>0))){for(var t=0,n=1,i,a,o;n<a;++n){for(var u=0,s=0,l=0;u<o;++u){for(var c=e[r[u]],f=c[n][1]||0,d=c[n-1][1]||0,v=(f-d)/2,h=0;h<u;++h){var p=e[r[h]],m=p[n][1]||0,g=p[n-1][1]||0;v+=m-g}s+=f,l+=v*f}i[n-1][1]+=i[n-1][0]=t,s&&(t-=l/s)}i[n-1][1]+=i[n-1][0]=t,nt(e,r)}}var vu,Bv;function hP(){if(Bv)return vu;Bv=1;var e=da();function r(){this.__data__=new e,this.size=0}return vu=r,vu}var hu,zv;function pP(){if(zv)return hu;zv=1;function e(r){var t=this.__data__,n=t.delete(r);return this.size=t.size,n}return hu=e,hu}var pu,Fv;function mP(){if(Fv)return pu;Fv=1;function e(r){return this.__data__.get(r)}return pu=e,pu}var mu,Uv;function yP(){if(Uv)return mu;Uv=1;function e(r){return this.__data__.has(r)}return mu=e,mu}var yu,Kv;function gP(){if(Kv)return yu;Kv=1;var e=da(),r=Qc(),t=ef(),n=200;function i(a,o){var u=this.__data__;if(u instanceof e){var s=u.__data__;if(!r||s.length<n-1)return s.push([a,o]),this.size=++u.size,this;u=this.__data__=new t(s)}return u.set(a,o),this.size=u.size,this}return yu=i,yu}var gu,Hv;function F0(){if(Hv)return gu;Hv=1;var e=da(),r=hP(),t=pP(),n=mP(),i=yP(),a=gP();function o(u){var s=this.__data__=new e(u);this.size=s.size}return o.prototype.clear=r,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=i,o.prototype.set=a,gu=o,gu}var bu,Wv;function bP(){if(Wv)return bu;Wv=1;var e="__lodash_hash_undefined__";function r(t){return this.__data__.set(t,e),this}return bu=r,bu}var xu,Gv;function xP(){if(Gv)return xu;Gv=1;function e(r){return this.__data__.has(r)}return xu=e,xu}var wu,Yv;function U0(){if(Yv)return wu;Yv=1;var e=ef(),r=bP(),t=xP();function n(i){var a=-1,o=i==null?0:i.length;for(this.__data__=new e;++a<o;)this.add(i[a])}return n.prototype.add=n.prototype.push=r,n.prototype.has=t,wu=n,wu}var _u,Vv;function wP(){if(Vv)return _u;Vv=1;function e(r,t){for(var n=-1,i=r==null?0:r.length;++n<i;)if(t(r[n],n,r))return!0;return!1}return _u=e,_u}var Ou,Xv;function K0(){if(Xv)return Ou;Xv=1;function e(r,t){return r.has(t)}return Ou=e,Ou}var Pu,Zv;function H0(){if(Zv)return Pu;Zv=1;var e=U0(),r=wP(),t=K0(),n=1,i=2;function a(o,u,s,l,c,f){var d=s&n,v=o.length,h=u.length;if(v!=h&&!(d&&h>v))return!1;var p=f.get(o),m=f.get(u);if(p&&m)return p==u&&m==o;var g=-1,b=!0,x=s&i?new e:void 0;for(f.set(o,u),f.set(u,o);++g<v;){var _=o[g],w=u[g];if(l)var O=d?l(w,_,g,u,o,f):l(_,w,g,o,u,f);if(O!==void 0){if(O)continue;b=!1;break}if(x){if(!r(u,function(P,E){if(!t(x,E)&&(_===P||c(_,P,s,l,f)))return x.push(E)})){b=!1;break}}else if(!(_===w||c(_,w,s,l,f))){b=!1;break}}return f.delete(o),f.delete(u),b}return Pu=a,Pu}var Su,Jv;function _P(){if(Jv)return Su;Jv=1;var e=mr(),r=e.Uint8Array;return Su=r,Su}var Au,Qv;function OP(){if(Qv)return Au;Qv=1;function e(r){var t=-1,n=Array(r.size);return r.forEach(function(i,a){n[++t]=[a,i]}),n}return Au=e,Au}var Cu,eh;function of(){if(eh)return Cu;eh=1;function e(r){var t=-1,n=Array(r.size);return r.forEach(function(i){n[++t]=i}),n}return Cu=e,Cu}var Eu,rh;function PP(){if(rh)return Eu;rh=1;var e=Pn(),r=_P(),t=Jc(),n=H0(),i=OP(),a=of(),o=1,u=2,s="[object Boolean]",l="[object Date]",c="[object Error]",f="[object Map]",d="[object Number]",v="[object RegExp]",h="[object Set]",p="[object String]",m="[object Symbol]",g="[object ArrayBuffer]",b="[object DataView]",x=e?e.prototype:void 0,_=x?x.valueOf:void 0;function w(O,P,E,N,D,A,j){switch(E){case b:if(O.byteLength!=P.byteLength||O.byteOffset!=P.byteOffset)return!1;O=O.buffer,P=P.buffer;case g:return!(O.byteLength!=P.byteLength||!A(new r(O),new r(P)));case s:case l:case d:return t(+O,+P);case c:return O.name==P.name&&O.message==P.message;case v:case p:return O==P+"";case f:var M=i;case h:var k=N&o;if(M||(M=a),O.size!=P.size&&!k)return!1;var $=j.get(O);if($)return $==P;N|=u,j.set(O,P);var L=n(M(O),M(P),N,D,A,j);return j.delete(O),L;case m:if(_)return _.call(O)==_.call(P)}return!1}return Eu=w,Eu}var Tu,th;function W0(){if(th)return Tu;th=1;function e(r,t){for(var n=-1,i=t.length,a=r.length;++n<i;)r[a+n]=t[n];return r}return Tu=e,Tu}var Iu,nh;function SP(){if(nh)return Iu;nh=1;var e=W0(),r=nr();function t(n,i,a){var o=i(n);return r(n)?o:e(o,a(n))}return Iu=t,Iu}var Mu,ih;function AP(){if(ih)return Mu;ih=1;function e(r,t){for(var n=-1,i=r==null?0:r.length,a=0,o=[];++n<i;){var u=r[n];t(u,n,r)&&(o[a++]=u)}return o}return Mu=e,Mu}var ju,ah;function CP(){if(ah)return ju;ah=1;function e(){return[]}return ju=e,ju}var Nu,oh;function EP(){if(oh)return Nu;oh=1;var e=AP(),r=CP(),t=Object.prototype,n=t.propertyIsEnumerable,i=Object.getOwnPropertySymbols,a=i?function(o){return o==null?[]:(o=Object(o),e(i(o),function(u){return n.call(o,u)}))}:r;return Nu=a,Nu}var ku,uh;function TP(){if(uh)return ku;uh=1;function e(r,t){for(var n=-1,i=Array(r);++n<r;)i[n]=t(n);return i}return ku=e,ku}var Du,sh;function IP(){if(sh)return Du;sh=1;var e=lt(),r=ct(),t="[object Arguments]";function n(i){return r(i)&&e(i)==t}return Du=n,Du}var Ru,lh;function uf(){if(lh)return Ru;lh=1;var e=IP(),r=ct(),t=Object.prototype,n=t.hasOwnProperty,i=t.propertyIsEnumerable,a=e((function(){return arguments})())?e:function(o){return r(o)&&n.call(o,"callee")&&!i.call(o,"callee")};return Ru=a,Ru}var Qt={exports:{}},$u,ch;function MP(){if(ch)return $u;ch=1;function e(){return!1}return $u=e,$u}Qt.exports;var fh;function G0(){return fh||(fh=1,(function(e,r){var t=mr(),n=MP(),i=r&&!r.nodeType&&r,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,u=o?t.Buffer:void 0,s=u?u.isBuffer:void 0,l=s||n;e.exports=l})(Qt,Qt.exports)),Qt.exports}var qu,dh;function sf(){if(dh)return qu;dh=1;var e=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function t(n,i){var a=typeof n;return i=i??e,!!i&&(a=="number"||a!="symbol"&&r.test(n))&&n>-1&&n%1==0&&n<i}return qu=t,qu}var Lu,vh;function lf(){if(vh)return Lu;vh=1;var e=9007199254740991;function r(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=e}return Lu=r,Lu}var Bu,hh;function jP(){if(hh)return Bu;hh=1;var e=lt(),r=lf(),t=ct(),n="[object Arguments]",i="[object Array]",a="[object Boolean]",o="[object Date]",u="[object Error]",s="[object Function]",l="[object Map]",c="[object Number]",f="[object Object]",d="[object RegExp]",v="[object Set]",h="[object String]",p="[object WeakMap]",m="[object ArrayBuffer]",g="[object DataView]",b="[object Float32Array]",x="[object Float64Array]",_="[object Int8Array]",w="[object Int16Array]",O="[object Int32Array]",P="[object Uint8Array]",E="[object Uint8ClampedArray]",N="[object Uint16Array]",D="[object Uint32Array]",A={};A[b]=A[x]=A[_]=A[w]=A[O]=A[P]=A[E]=A[N]=A[D]=!0,A[n]=A[i]=A[m]=A[a]=A[g]=A[o]=A[u]=A[s]=A[l]=A[c]=A[f]=A[d]=A[v]=A[h]=A[p]=!1;function j(M){return t(M)&&r(M.length)&&!!A[e(M)]}return Bu=j,Bu}var zu,ph;function Y0(){if(ph)return zu;ph=1;function e(r){return function(t){return r(t)}}return zu=e,zu}var en={exports:{}};en.exports;var mh;function NP(){return mh||(mh=1,(function(e,r){var t=b0(),n=r&&!r.nodeType&&r,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a&&t.process,u=(function(){try{var s=i&&i.require&&i.require("util").types;return s||o&&o.binding&&o.binding("util")}catch{}})();e.exports=u})(en,en.exports)),en.exports}var Fu,yh;function V0(){if(yh)return Fu;yh=1;var e=jP(),r=Y0(),t=NP(),n=t&&t.isTypedArray,i=n?r(n):e;return Fu=i,Fu}var Uu,gh;function kP(){if(gh)return Uu;gh=1;var e=TP(),r=uf(),t=nr(),n=G0(),i=sf(),a=V0(),o=Object.prototype,u=o.hasOwnProperty;function s(l,c){var f=t(l),d=!f&&r(l),v=!f&&!d&&n(l),h=!f&&!d&&!v&&a(l),p=f||d||v||h,m=p?e(l.length,String):[],g=m.length;for(var b in l)(c||u.call(l,b))&&!(p&&(b=="length"||v&&(b=="offset"||b=="parent")||h&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||i(b,g)))&&m.push(b);return m}return Uu=s,Uu}var Ku,bh;function DP(){if(bh)return Ku;bh=1;var e=Object.prototype;function r(t){var n=t&&t.constructor,i=typeof n=="function"&&n.prototype||e;return t===i}return Ku=r,Ku}var Hu,xh;function RP(){if(xh)return Hu;xh=1;function e(r,t){return function(n){return r(t(n))}}return Hu=e,Hu}var Wu,wh;function $P(){if(wh)return Wu;wh=1;var e=RP(),r=e(Object.keys,Object);return Wu=r,Wu}var Gu,_h;function qP(){if(_h)return Gu;_h=1;var e=DP(),r=$P(),t=Object.prototype,n=t.hasOwnProperty;function i(a){if(!e(a))return r(a);var o=[];for(var u in Object(a))n.call(a,u)&&u!="constructor"&&o.push(u);return o}return Gu=i,Gu}var Yu,Oh;function ga(){if(Oh)return Yu;Oh=1;var e=Zc(),r=lf();function t(n){return n!=null&&r(n.length)&&!e(n)}return Yu=t,Yu}var Vu,Ph;function cf(){if(Ph)return Vu;Ph=1;var e=kP(),r=qP(),t=ga();function n(i){return t(i)?e(i):r(i)}return Vu=n,Vu}var Xu,Sh;function LP(){if(Sh)return Xu;Sh=1;var e=SP(),r=EP(),t=cf();function n(i){return e(i,t,r)}return Xu=n,Xu}var Zu,Ah;function BP(){if(Ah)return Zu;Ah=1;var e=LP(),r=1,t=Object.prototype,n=t.hasOwnProperty;function i(a,o,u,s,l,c){var f=u&r,d=e(a),v=d.length,h=e(o),p=h.length;if(v!=p&&!f)return!1;for(var m=v;m--;){var g=d[m];if(!(f?g in o:n.call(o,g)))return!1}var b=c.get(a),x=c.get(o);if(b&&x)return b==o&&x==a;var _=!0;c.set(a,o),c.set(o,a);for(var w=f;++m<v;){g=d[m];var O=a[g],P=o[g];if(s)var E=f?s(P,O,g,o,a,c):s(O,P,g,a,o,c);if(!(E===void 0?O===P||l(O,P,u,s,c):E)){_=!1;break}w||(w=g=="constructor")}if(_&&!w){var N=a.constructor,D=o.constructor;N!=D&&"constructor"in a&&"constructor"in o&&!(typeof N=="function"&&N instanceof N&&typeof D=="function"&&D instanceof D)&&(_=!1)}return c.delete(a),c.delete(o),_}return Zu=i,Zu}var Ju,Ch;function zP(){if(Ch)return Ju;Ch=1;var e=ft(),r=mr(),t=e(r,"DataView");return Ju=t,Ju}var Qu,Eh;function FP(){if(Eh)return Qu;Eh=1;var e=ft(),r=mr(),t=e(r,"Promise");return Qu=t,Qu}var es,Th;function X0(){if(Th)return es;Th=1;var e=ft(),r=mr(),t=e(r,"Set");return es=t,es}var rs,Ih;function UP(){if(Ih)return rs;Ih=1;var e=ft(),r=mr(),t=e(r,"WeakMap");return rs=t,rs}var ts,Mh;function KP(){if(Mh)return ts;Mh=1;var e=zP(),r=Qc(),t=FP(),n=X0(),i=UP(),a=lt(),o=x0(),u="[object Map]",s="[object Object]",l="[object Promise]",c="[object Set]",f="[object WeakMap]",d="[object DataView]",v=o(e),h=o(r),p=o(t),m=o(n),g=o(i),b=a;return(e&&b(new e(new ArrayBuffer(1)))!=d||r&&b(new r)!=u||t&&b(t.resolve())!=l||n&&b(new n)!=c||i&&b(new i)!=f)&&(b=function(x){var _=a(x),w=_==s?x.constructor:void 0,O=w?o(w):"";if(O)switch(O){case v:return d;case h:return u;case p:return l;case m:return c;case g:return f}return _}),ts=b,ts}var ns,jh;function HP(){if(jh)return ns;jh=1;var e=F0(),r=H0(),t=PP(),n=BP(),i=KP(),a=nr(),o=G0(),u=V0(),s=1,l="[object Arguments]",c="[object Array]",f="[object Object]",d=Object.prototype,v=d.hasOwnProperty;function h(p,m,g,b,x,_){var w=a(p),O=a(m),P=w?c:i(p),E=O?c:i(m);P=P==l?f:P,E=E==l?f:E;var N=P==f,D=E==f,A=P==E;if(A&&o(p)){if(!o(m))return!1;w=!0,N=!1}if(A&&!N)return _||(_=new e),w||u(p)?r(p,m,g,b,x,_):t(p,m,P,g,b,x,_);if(!(g&s)){var j=N&&v.call(p,"__wrapped__"),M=D&&v.call(m,"__wrapped__");if(j||M){var k=j?p.value():p,$=M?m.value():m;return _||(_=new e),x(k,$,g,b,_)}}return A?(_||(_=new e),n(p,m,g,b,x,_)):!1}return ns=h,ns}var is,Nh;function Z0(){if(Nh)return is;Nh=1;var e=HP(),r=ct();function t(n,i,a,o,u){return n===i?!0:n==null||i==null||!r(n)&&!r(i)?n!==n&&i!==i:e(n,i,a,o,t,u)}return is=t,is}var as,kh;function WP(){if(kh)return as;kh=1;var e=F0(),r=Z0(),t=1,n=2;function i(a,o,u,s){var l=u.length,c=l,f=!s;if(a==null)return!c;for(a=Object(a);l--;){var d=u[l];if(f&&d[2]?d[1]!==a[d[0]]:!(d[0]in a))return!1}for(;++l<c;){d=u[l];var v=d[0],h=a[v],p=d[1];if(f&&d[2]){if(h===void 0&&!(v in a))return!1}else{var m=new e;if(s)var g=s(h,p,v,a,o,m);if(!(g===void 0?r(p,h,t|n,s,m):g))return!1}}return!0}return as=i,as}var os,Dh;function J0(){if(Dh)return os;Dh=1;var e=Fr();function r(t){return t===t&&!e(t)}return os=r,os}var us,Rh;function GP(){if(Rh)return us;Rh=1;var e=J0(),r=cf();function t(n){for(var i=r(n),a=i.length;a--;){var o=i[a],u=n[o];i[a]=[o,u,e(u)]}return i}return us=t,us}var ss,$h;function Q0(){if($h)return ss;$h=1;function e(r,t){return function(n){return n==null?!1:n[r]===t&&(t!==void 0||r in Object(n))}}return ss=e,ss}var ls,qh;function YP(){if(qh)return ls;qh=1;var e=WP(),r=GP(),t=Q0();function n(i){var a=r(i);return a.length==1&&a[0][2]?t(a[0][0],a[0][1]):function(o){return o===i||e(o,i,a)}}return ls=n,ls}var cs,Lh;function VP(){if(Lh)return cs;Lh=1;function e(r,t){return r!=null&&t in Object(r)}return cs=e,cs}var fs,Bh;function XP(){if(Bh)return fs;Bh=1;var e=_0(),r=uf(),t=nr(),n=sf(),i=lf(),a=ha();function o(u,s,l){s=e(s,u);for(var c=-1,f=s.length,d=!1;++c<f;){var v=a(s[c]);if(!(d=u!=null&&l(u,v)))break;u=u[v]}return d||++c!=f?d:(f=u==null?0:u.length,!!f&&i(f)&&n(v,f)&&(t(u)||r(u)))}return fs=o,fs}var ds,zh;function ZP(){if(zh)return ds;zh=1;var e=VP(),r=XP();function t(n,i){return n!=null&&r(n,i,e)}return ds=t,ds}var vs,Fh;function JP(){if(Fh)return vs;Fh=1;var e=Z0(),r=O0(),t=ZP(),n=Xc(),i=J0(),a=Q0(),o=ha(),u=1,s=2;function l(c,f){return n(c)&&i(f)?a(o(c),f):function(d){var v=r(d,c);return v===void 0&&v===f?t(d,c):e(f,v,u|s)}}return vs=l,vs}var hs,Uh;function ba(){if(Uh)return hs;Uh=1;function e(r){return r}return hs=e,hs}var ps,Kh;function QP(){if(Kh)return ps;Kh=1;function e(r){return function(t){return t?.[r]}}return ps=e,ps}var ms,Hh;function eS(){if(Hh)return ms;Hh=1;var e=rf();function r(t){return function(n){return e(n,t)}}return ms=r,ms}var ys,Wh;function rS(){if(Wh)return ys;Wh=1;var e=QP(),r=eS(),t=Xc(),n=ha();function i(a){return t(a)?e(n(a)):r(a)}return ys=i,ys}var gs,Gh;function eb(){if(Gh)return gs;Gh=1;var e=YP(),r=JP(),t=ba(),n=nr(),i=rS();function a(o){return typeof o=="function"?o:o==null?t:typeof o=="object"?n(o)?r(o[0],o[1]):e(o):i(o)}return gs=a,gs}var bs,Yh;function tS(){if(Yh)return bs;Yh=1;function e(r,t,n,i){for(var a=r.length,o=n+(i?1:-1);i?o--:++o<a;)if(t(r[o],o,r))return o;return-1}return bs=e,bs}var xs,Vh;function nS(){if(Vh)return xs;Vh=1;function e(r){return r!==r}return xs=e,xs}var ws,Xh;function iS(){if(Xh)return ws;Xh=1;function e(r,t,n){for(var i=n-1,a=r.length;++i<a;)if(r[i]===t)return i;return-1}return ws=e,ws}var _s,Zh;function aS(){if(Zh)return _s;Zh=1;var e=tS(),r=nS(),t=iS();function n(i,a,o){return a===a?t(i,a,o):e(i,r,o)}return _s=n,_s}var Os,Jh;function oS(){if(Jh)return Os;Jh=1;var e=aS();function r(t,n){var i=t==null?0:t.length;return!!i&&e(t,n,0)>-1}return Os=r,Os}var Ps,Qh;function uS(){if(Qh)return Ps;Qh=1;function e(r,t,n){for(var i=-1,a=r==null?0:r.length;++i<a;)if(n(t,r[i]))return!0;return!1}return Ps=e,Ps}var Ss,ep;function sS(){if(ep)return Ss;ep=1;function e(){}return Ss=e,Ss}var As,rp;function lS(){if(rp)return As;rp=1;var e=X0(),r=sS(),t=of(),n=1/0,i=e&&1/t(new e([,-0]))[1]==n?function(a){return new e(a)}:r;return As=i,As}var Cs,tp;function cS(){if(tp)return Cs;tp=1;var e=U0(),r=oS(),t=uS(),n=K0(),i=lS(),a=of(),o=200;function u(s,l,c){var f=-1,d=r,v=s.length,h=!0,p=[],m=p;if(c)h=!1,d=t;else if(v>=o){var g=l?null:i(s);if(g)return a(g);h=!1,d=n,m=new e}else m=l?[]:p;e:for(;++f<v;){var b=s[f],x=l?l(b):b;if(b=c||b!==0?b:0,h&&x===x){for(var _=m.length;_--;)if(m[_]===x)continue e;l&&m.push(x),p.push(b)}else d(m,x,c)||(m!==p&&m.push(x),p.push(b))}return p}return Cs=u,Cs}var Es,np;function fS(){if(np)return Es;np=1;var e=eb(),r=cS();function t(n,i){return n&&n.length?r(n,e(i,2)):[]}return Es=t,Es}var dS=fS();const ip=Ne(dS);function vS(e,r,t){return r===!0?ip(e,t):EO(r)?ip(e,r):e}var Ts,ap;function hS(){if(ap)return Ts;ap=1;var e=Pn(),r=uf(),t=nr(),n=e?e.isConcatSpreadable:void 0;function i(a){return t(a)||r(a)||!!(n&&a&&a[n])}return Ts=i,Ts}var Is,op;function pS(){if(op)return Is;op=1;var e=W0(),r=hS();function t(n,i,a,o,u){var s=-1,l=n.length;for(a||(a=r),u||(u=[]);++s<l;){var c=n[s];i>0&&a(c)?i>1?t(c,i-1,a,o,u):e(u,c):o||(u[u.length]=c)}return u}return Is=t,Is}var Ms,up;function mS(){if(up)return Ms;up=1;function e(r){return function(t,n,i){for(var a=-1,o=Object(t),u=i(t),s=u.length;s--;){var l=u[r?s:++a];if(n(o[l],l,o)===!1)break}return t}}return Ms=e,Ms}var js,sp;function yS(){if(sp)return js;sp=1;var e=mS(),r=e();return js=r,js}var Ns,lp;function gS(){if(lp)return Ns;lp=1;var e=yS(),r=cf();function t(n,i){return n&&e(n,i,r)}return Ns=t,Ns}var ks,cp;function bS(){if(cp)return ks;cp=1;var e=ga();function r(t,n){return function(i,a){if(i==null)return i;if(!e(i))return t(i,a);for(var o=i.length,u=n?o:-1,s=Object(i);(n?u--:++u<o)&&a(s[u],u,s)!==!1;);return i}}return ks=r,ks}var Ds,fp;function xS(){if(fp)return Ds;fp=1;var e=gS(),r=bS(),t=r(e);return Ds=t,Ds}var Rs,dp;function wS(){if(dp)return Rs;dp=1;var e=xS(),r=ga();function t(n,i){var a=-1,o=r(n)?Array(n.length):[];return e(n,function(u,s,l){o[++a]=i(u,s,l)}),o}return Rs=t,Rs}var $s,vp;function _S(){if(vp)return $s;vp=1;function e(r,t){var n=r.length;for(r.sort(t);n--;)r[n]=r[n].value;return r}return $s=e,$s}var qs,hp;function OS(){if(hp)return qs;hp=1;var e=Sn();function r(t,n){if(t!==n){var i=t!==void 0,a=t===null,o=t===t,u=e(t),s=n!==void 0,l=n===null,c=n===n,f=e(n);if(!l&&!f&&!u&&t>n||u&&s&&c&&!l&&!f||a&&s&&c||!i&&c||!o)return 1;if(!a&&!u&&!f&&t<n||f&&i&&o&&!a&&!u||l&&i&&o||!s&&o||!c)return-1}return 0}return qs=r,qs}var Ls,pp;function PS(){if(pp)return Ls;pp=1;var e=OS();function r(t,n,i){for(var a=-1,o=t.criteria,u=n.criteria,s=o.length,l=i.length;++a<s;){var c=e(o[a],u[a]);if(c){if(a>=l)return c;var f=i[a];return c*(f=="desc"?-1:1)}}return t.index-n.index}return Ls=r,Ls}var Bs,mp;function SS(){if(mp)return Bs;mp=1;var e=w0(),r=rf(),t=eb(),n=wS(),i=_S(),a=Y0(),o=PS(),u=ba(),s=nr();function l(c,f,d){f.length?f=e(f,function(p){return s(p)?function(m){return r(m,p.length===1?p[0]:p)}:p}):f=[u];var v=-1;f=e(f,a(t));var h=n(c,function(p,m,g){var b=e(f,function(x){return x(p)});return{criteria:b,index:++v,value:p}});return i(h,function(p,m){return o(p,m,d)})}return Bs=l,Bs}var zs,yp;function AS(){if(yp)return zs;yp=1;function e(r,t,n){switch(n.length){case 0:return r.call(t);case 1:return r.call(t,n[0]);case 2:return r.call(t,n[0],n[1]);case 3:return r.call(t,n[0],n[1],n[2])}return r.apply(t,n)}return zs=e,zs}var Fs,gp;function CS(){if(gp)return Fs;gp=1;var e=AS(),r=Math.max;function t(n,i,a){return i=r(i===void 0?n.length-1:i,0),function(){for(var o=arguments,u=-1,s=r(o.length-i,0),l=Array(s);++u<s;)l[u]=o[i+u];u=-1;for(var c=Array(i+1);++u<i;)c[u]=o[u];return c[i]=a(l),e(n,this,c)}}return Fs=t,Fs}var Us,bp;function ES(){if(bp)return Us;bp=1;function e(r){return function(){return r}}return Us=e,Us}var Ks,xp;function TS(){if(xp)return Ks;xp=1;var e=ft(),r=(function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch{}})();return Ks=r,Ks}var Hs,wp;function IS(){if(wp)return Hs;wp=1;var e=ES(),r=TS(),t=ba(),n=r?function(i,a){return r(i,"toString",{configurable:!0,enumerable:!1,value:e(a),writable:!0})}:t;return Hs=n,Hs}var Ws,_p;function MS(){if(_p)return Ws;_p=1;var e=800,r=16,t=Date.now;function n(i){var a=0,o=0;return function(){var u=t(),s=r-(u-o);if(o=u,s>0){if(++a>=e)return arguments[0]}else a=0;return i.apply(void 0,arguments)}}return Ws=n,Ws}var Gs,Op;function jS(){if(Op)return Gs;Op=1;var e=IS(),r=MS(),t=r(e);return Gs=t,Gs}var Ys,Pp;function NS(){if(Pp)return Ys;Pp=1;var e=ba(),r=CS(),t=jS();function n(i,a){return t(r(i,a,e),i+"")}return Ys=n,Ys}var Vs,Sp;function kS(){if(Sp)return Vs;Sp=1;var e=Jc(),r=ga(),t=sf(),n=Fr();function i(a,o,u){if(!n(u))return!1;var s=typeof o;return(s=="number"?r(u)&&t(o,u.length):s=="string"&&o in u)?e(u[o],a):!1}return Vs=i,Vs}var Xs,Ap;function DS(){if(Ap)return Xs;Ap=1;var e=pS(),r=SS(),t=NS(),n=kS(),i=t(function(a,o){if(a==null)return[];var u=o.length;return u>1&&n(a,o[0],o[1])?o=[]:u>2&&n(o[0],o[1],o[2])&&(o=[o[0]]),r(a,e(o,1),[])});return Xs=i,Xs}var RS=DS();const $S=Ne(RS);function un(e){"@babel/helpers - typeof";return un=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},un(e)}function oc(){return oc=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},oc.apply(this,arguments)}function qS(e,r){return FS(e)||zS(e,r)||BS(e,r)||LS()}function LS(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function BS(e,r){if(e){if(typeof e=="string")return Cp(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Cp(e,r)}}function Cp(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function zS(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,i,a,o,u=[],s=!0,l=!1;try{if(a=(t=t.call(e)).next,r!==0)for(;!(s=(n=a.call(t)).done)&&(u.push(n.value),u.length!==r);s=!0);}catch(c){l=!0,i=c}finally{try{if(!s&&t.return!=null&&(o=t.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}function FS(e){if(Array.isArray(e))return e}function Ep(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n)}return t}function Zs(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Ep(Object(t),!0).forEach(function(n){US(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ep(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function US(e,r,t){return r=KS(r),r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function KS(e){var r=HS(e,"string");return un(r)=="symbol"?r:r+""}function HS(e,r){if(un(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(un(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function WS(e){return Array.isArray(e)&&yi(e[0])&&yi(e[1])?e.join(" ~ "):e}var GS=function(r){var t=r.separator,n=t===void 0?" : ":t,i=r.contentStyle,a=i===void 0?{}:i,o=r.itemStyle,u=o===void 0?{}:o,s=r.labelStyle,l=s===void 0?{}:s,c=r.payload,f=r.formatter,d=r.itemSorter,v=r.wrapperClassName,h=r.labelClassName,p=r.label,m=r.labelFormatter,g=r.accessibilityLayer,b=g===void 0?!1:g,x=function(){if(c&&c.length){var j={padding:0,margin:0},M=(d?$S(c,d):c).map(function(k,$){if(k.type==="none")return null;var L=Zs({display:"block",paddingTop:4,paddingBottom:4,color:k.color||"#000"},u),q=k.formatter||f||WS,z=k.value,U=k.name,G=z,Y=U;if(q&&G!=null&&Y!=null){var Q=q(z,U,k,$,c);if(Array.isArray(Q)){var be=qS(Q,2);G=be[0],Y=be[1]}else G=Q}return he.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat($),style:L},yi(Y)?he.createElement("span",{className:"recharts-tooltip-item-name"},Y):null,yi(Y)?he.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,he.createElement("span",{className:"recharts-tooltip-item-value"},G),he.createElement("span",{className:"recharts-tooltip-item-unit"},k.unit||""))});return he.createElement("ul",{className:"recharts-tooltip-item-list",style:j},M)}return null},_=Zs({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},a),w=Zs({margin:0},l),O=!PO(p),P=O?p:"",E=Ae("recharts-default-tooltip",v),N=Ae("recharts-tooltip-label",h);O&&m&&c!==void 0&&c!==null&&(P=m(p,c));var D=b?{role:"status","aria-live":"assertive"}:{};return he.createElement("div",oc({className:E,style:_},D),he.createElement("p",{className:N,style:w},he.isValidElement(P)?P:"".concat(P)),x())};function sn(e){"@babel/helpers - typeof";return sn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},sn(e)}function Xn(e,r,t){return r=YS(r),r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function YS(e){var r=VS(e,"string");return sn(r)=="symbol"?r:r+""}function VS(e,r){if(sn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(sn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}var Ht="recharts-tooltip-wrapper",XS={visibility:"hidden"};function ZS(e){var r=e.coordinate,t=e.translateX,n=e.translateY;return Ae(Ht,Xn(Xn(Xn(Xn({},"".concat(Ht,"-right"),fr(t)&&r&&fr(r.x)&&t>=r.x),"".concat(Ht,"-left"),fr(t)&&r&&fr(r.x)&&t<r.x),"".concat(Ht,"-bottom"),fr(n)&&r&&fr(r.y)&&n>=r.y),"".concat(Ht,"-top"),fr(n)&&r&&fr(r.y)&&n<r.y))}function Tp(e){var r=e.allowEscapeViewBox,t=e.coordinate,n=e.key,i=e.offsetTopLeft,a=e.position,o=e.reverseDirection,u=e.tooltipDimension,s=e.viewBox,l=e.viewBoxDimension;if(a&&fr(a[n]))return a[n];var c=t[n]-u-i,f=t[n]+i;if(r[n])return o[n]?c:f;if(o[n]){var d=c,v=s[n];return d<v?Math.max(f,s[n]):Math.max(c,s[n])}var h=f+u,p=s[n]+l;return h>p?Math.max(c,s[n]):Math.max(f,s[n])}function JS(e){var r=e.translateX,t=e.translateY,n=e.useTranslate3d;return{transform:n?"translate3d(".concat(r,"px, ").concat(t,"px, 0)"):"translate(".concat(r,"px, ").concat(t,"px)")}}function QS(e){var r=e.allowEscapeViewBox,t=e.coordinate,n=e.offsetTopLeft,i=e.position,a=e.reverseDirection,o=e.tooltipBox,u=e.useTranslate3d,s=e.viewBox,l,c,f;return o.height>0&&o.width>0&&t?(c=Tp({allowEscapeViewBox:r,coordinate:t,key:"x",offsetTopLeft:n,position:i,reverseDirection:a,tooltipDimension:o.width,viewBox:s,viewBoxDimension:s.width}),f=Tp({allowEscapeViewBox:r,coordinate:t,key:"y",offsetTopLeft:n,position:i,reverseDirection:a,tooltipDimension:o.height,viewBox:s,viewBoxDimension:s.height}),l=JS({translateX:c,translateY:f,useTranslate3d:u})):l=XS,{cssProperties:l,cssClasses:ZS({translateX:c,translateY:f,coordinate:t})}}function At(e){"@babel/helpers - typeof";return At=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},At(e)}function Ip(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n)}return t}function Mp(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Ip(Object(t),!0).forEach(function(n){sc(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ip(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function eA(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function rA(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,tb(n.key),n)}}function tA(e,r,t){return r&&rA(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function nA(e,r,t){return r=Oi(r),iA(e,rb()?Reflect.construct(r,t||[],Oi(e).constructor):r.apply(e,t))}function iA(e,r){if(r&&(At(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return aA(e)}function aA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(rb=function(){return!!e})()}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Oi(e)}function oA(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),r&&uc(e,r)}function uc(e,r){return uc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},uc(e,r)}function sc(e,r,t){return r=tb(r),r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function tb(e){var r=uA(e,"string");return At(r)=="symbol"?r:r+""}function uA(e,r){if(At(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(At(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var jp=1,sA=(function(e){function r(){var t;eA(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return t=nA(this,r,[].concat(i)),sc(t,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),sc(t,"handleKeyDown",function(o){if(o.key==="Escape"){var u,s,l,c;t.setState({dismissed:!0,dismissedAtCoordinate:{x:(u=(s=t.props.coordinate)===null||s===void 0?void 0:s.x)!==null&&u!==void 0?u:0,y:(l=(c=t.props.coordinate)===null||c===void 0?void 0:c.y)!==null&&l!==void 0?l:0}})}}),t}return oA(r,e),tA(r,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-this.state.lastBoundingBox.width)>jp||Math.abs(n.height-this.state.lastBoundingBox.height)>jp)&&this.setState({lastBoundingBox:{width:n.width,height:n.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var n,i;this.props.active&&this.updateBBox(),this.state.dismissed&&(((n=this.props.coordinate)===null||n===void 0?void 0:n.x)!==this.state.dismissedAtCoordinate.x||((i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var n=this,i=this.props,a=i.active,o=i.allowEscapeViewBox,u=i.animationDuration,s=i.animationEasing,l=i.children,c=i.coordinate,f=i.hasPayload,d=i.isAnimationActive,v=i.offset,h=i.position,p=i.reverseDirection,m=i.useTranslate3d,g=i.viewBox,b=i.wrapperStyle,x=QS({allowEscapeViewBox:o,coordinate:c,offsetTopLeft:v,position:h,reverseDirection:p,tooltipBox:this.state.lastBoundingBox,useTranslate3d:m,viewBox:g}),_=x.cssClasses,w=x.cssProperties,O=Mp(Mp({transition:d&&a?"transform ".concat(u,"ms ").concat(s):void 0},w),{},{pointerEvents:"none",visibility:!this.state.dismissed&&a&&f?"visible":"hidden",position:"absolute",top:0,left:0},b);return he.createElement("div",{tabIndex:-1,className:_,style:O,ref:function(E){n.wrapperNode=E}},l)}}])})(y.PureComponent),lA=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},cA={isSsr:lA()};function Ct(e){"@babel/helpers - typeof";return Ct=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ct(e)}function Np(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n)}return t}function kp(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Np(Object(t),!0).forEach(function(n){ff(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Np(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function fA(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function dA(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ib(n.key),n)}}function vA(e,r,t){return r&&dA(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function hA(e,r,t){return r=Pi(r),pA(e,nb()?Reflect.construct(r,t||[],Pi(e).constructor):r.apply(e,t))}function pA(e,r){if(r&&(Ct(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return mA(e)}function mA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(nb=function(){return!!e})()}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Pi(e)}function yA(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),r&&lc(e,r)}function lc(e,r){return lc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},lc(e,r)}function ff(e,r,t){return r=ib(r),r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function ib(e){var r=gA(e,"string");return Ct(r)=="symbol"?r:r+""}function gA(e,r){if(Ct(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(Ct(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function bA(e){return e.dataKey}function xA(e,r){return he.isValidElement(e)?he.cloneElement(e,r):typeof e=="function"?he.createElement(e,r):he.createElement(GS,r)}var df=(function(e){function r(){return fA(this,r),hA(this,r,arguments)}return yA(r,e),vA(r,[{key:"render",value:function(){var n=this,i=this.props,a=i.active,o=i.allowEscapeViewBox,u=i.animationDuration,s=i.animationEasing,l=i.content,c=i.coordinate,f=i.filterNull,d=i.isAnimationActive,v=i.offset,h=i.payload,p=i.payloadUniqBy,m=i.position,g=i.reverseDirection,b=i.useTranslate3d,x=i.viewBox,_=i.wrapperStyle,w=h??[];f&&w.length&&(w=vS(h.filter(function(P){return P.value!=null&&(P.hide!==!0||n.props.includeHidden)}),p,bA));var O=w.length>0;return he.createElement(sA,{allowEscapeViewBox:o,animationDuration:u,animationEasing:s,isAnimationActive:d,active:a,coordinate:c,hasPayload:O,offset:v,position:m,reverseDirection:g,useTranslate3d:b,viewBox:x,wrapperStyle:_},xA(l,kp(kp({},this.props),{},{payload:w})))}}])})(y.PureComponent);ff(df,"displayName","Tooltip");ff(df,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!cA.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var Js,Dp;function wA(){if(Dp)return Js;Dp=1;var e=mr(),r=function(){return e.Date.now()};return Js=r,Js}var Qs,Rp;function _A(){if(Rp)return Qs;Rp=1;var e=/\s/;function r(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}return Qs=r,Qs}var el,$p;function OA(){if($p)return el;$p=1;var e=_A(),r=/^\s+/;function t(n){return n&&n.slice(0,e(n)+1).replace(r,"")}return el=t,el}var rl,qp;function PA(){if(qp)return rl;qp=1;var e=OA(),r=Fr(),t=Sn(),n=NaN,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,u=parseInt;function s(l){if(typeof l=="number")return l;if(t(l))return n;if(r(l)){var c=typeof l.valueOf=="function"?l.valueOf():l;l=r(c)?c+"":c}if(typeof l!="string")return l===0?l:+l;l=e(l);var f=a.test(l);return f||o.test(l)?u(l.slice(2),f?2:8):i.test(l)?n:+l}return rl=s,rl}var tl,Lp;function SA(){if(Lp)return tl;Lp=1;var e=Fr(),r=wA(),t=PA(),n="Expected a function",i=Math.max,a=Math.min;function o(u,s,l){var c,f,d,v,h,p,m=0,g=!1,b=!1,x=!0;if(typeof u!="function")throw new TypeError(n);s=t(s)||0,e(l)&&(g=!!l.leading,b="maxWait"in l,d=b?i(t(l.maxWait)||0,s):d,x="trailing"in l?!!l.trailing:x);function _(M){var k=c,$=f;return c=f=void 0,m=M,v=u.apply($,k),v}function w(M){return m=M,h=setTimeout(E,s),g?_(M):v}function O(M){var k=M-p,$=M-m,L=s-k;return b?a(L,d-$):L}function P(M){var k=M-p,$=M-m;return p===void 0||k>=s||k<0||b&&$>=d}function E(){var M=r();if(P(M))return N(M);h=setTimeout(E,O(M))}function N(M){return h=void 0,x&&c?_(M):(c=f=void 0,v)}function D(){h!==void 0&&clearTimeout(h),m=0,c=p=f=h=void 0}function A(){return h===void 0?v:N(r())}function j(){var M=r(),k=P(M);if(c=arguments,f=this,p=M,k){if(h===void 0)return w(p);if(b)return clearTimeout(h),h=setTimeout(E,s),_(p)}return h===void 0&&(h=setTimeout(E,s)),v}return j.cancel=D,j.flush=A,j}return tl=o,tl}var nl,Bp;function AA(){if(Bp)return nl;Bp=1;var e=SA(),r=Fr(),t="Expected a function";function n(i,a,o){var u=!0,s=!0;if(typeof i!="function")throw new TypeError(t);return r(o)&&(u="leading"in o?!!o.leading:u,s="trailing"in o?!!o.trailing:s),e(i,a,{leading:u,maxWait:a,trailing:s})}return nl=n,nl}var CA=AA();const EA=Ne(CA);function ln(e){"@babel/helpers - typeof";return ln=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ln(e)}function zp(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n)}return t}function Zn(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?zp(Object(t),!0).forEach(function(n){TA(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):zp(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function TA(e,r,t){return r=IA(r),r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function IA(e){var r=MA(e,"string");return ln(r)=="symbol"?r:r+""}function MA(e,r){if(ln(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(ln(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function jA(e,r){return RA(e)||DA(e,r)||kA(e,r)||NA()}function NA(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kA(e,r){if(e){if(typeof e=="string")return Fp(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Fp(e,r)}}function Fp(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function DA(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,i,a,o,u=[],s=!0,l=!1;try{if(a=(t=t.call(e)).next,r!==0)for(;!(s=(n=a.call(t)).done)&&(u.push(n.value),u.length!==r);s=!0);}catch(c){l=!0,i=c}finally{try{if(!s&&t.return!=null&&(o=t.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}function RA(e){if(Array.isArray(e))return e}var $A=y.forwardRef(function(e,r){var t=e.aspect,n=e.initialDimension,i=n===void 0?{width:-1,height:-1}:n,a=e.width,o=a===void 0?"100%":a,u=e.height,s=u===void 0?"100%":u,l=e.minWidth,c=l===void 0?0:l,f=e.minHeight,d=e.maxHeight,v=e.children,h=e.debounce,p=h===void 0?0:h,m=e.id,g=e.className,b=e.onResize,x=e.style,_=x===void 0?{}:x,w=y.useRef(null),O=y.useRef();O.current=b,y.useImperativeHandle(r,function(){return Object.defineProperty(w.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),w.current},configurable:!0})});var P=y.useState({containerWidth:i.width,containerHeight:i.height}),E=jA(P,2),N=E[0],D=E[1],A=y.useCallback(function(M,k){D(function($){var L=Math.round(M),q=Math.round(k);return $.containerWidth===L&&$.containerHeight===q?$:{containerWidth:L,containerHeight:q}})},[]);y.useEffect(function(){var M=function(U){var G,Y=U[0].contentRect,Q=Y.width,be=Y.height;A(Q,be),(G=O.current)===null||G===void 0||G.call(O,Q,be)};p>0&&(M=EA(M,p,{trailing:!0,leading:!1}));var k=new ResizeObserver(M),$=w.current.getBoundingClientRect(),L=$.width,q=$.height;return A(L,q),k.observe(w.current),function(){k.disconnect()}},[A,p]);var j=y.useMemo(function(){var M=N.containerWidth,k=N.containerHeight;if(M<0||k<0)return null;cu(Yn(o)||Yn(s),`The width(%s) and height(%s) are both fixed numbers,
|
|
4
4
|
maybe you don't need to use a ResponsiveContainer.`,o,s),cu(!t||t>0,"The aspect(%s) must be greater than zero.",t);var $=Yn(o)?M:o,L=Yn(s)?k:s;t&&t>0&&($?L=$/t:L&&($=L*t),d&&L>d&&(L=d)),cu($>0||L>0,`The width(%s) and height(%s) of chart should be greater than 0,
|