@fudanda/admin-antd 2.20261109.1-beta.1 → 2.20261109.1-beta.2

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.
Files changed (97) hide show
  1. package/dist/chunks/ApiTokensPage-w3JGRNQC.js +2 -0
  2. package/dist/chunks/ApiTokensPage-w3JGRNQC.js.map +1 -0
  3. package/dist/chunks/{App-CfQx7jWq.js → App-nh6_qOo8.js} +5 -5
  4. package/dist/chunks/{App-CfQx7jWq.js.map → App-nh6_qOo8.js.map} +1 -1
  5. package/dist/chunks/{AppModal-CVoUC2t3.js → AppModal-CEouaU03.js} +2 -2
  6. package/dist/chunks/{AppModal-CVoUC2t3.js.map → AppModal-CEouaU03.js.map} +1 -1
  7. package/dist/chunks/{ArcBaseAdmin-DQyddbFC.js → ArcBaseAdmin-CX7fQz4x.js} +2 -2
  8. package/dist/chunks/{ArcBaseAdmin-DQyddbFC.js.map → ArcBaseAdmin-CX7fQz4x.js.map} +1 -1
  9. package/dist/chunks/{DepartmentsPage-CQx53QGE.js → DepartmentsPage-BdD9VfDI.js} +2 -2
  10. package/dist/chunks/{DepartmentsPage-CQx53QGE.js.map → DepartmentsPage-BdD9VfDI.js.map} +1 -1
  11. package/dist/chunks/{DictsPage-BGnamkWk.js → DictsPage-fxBdV1-3.js} +2 -2
  12. package/dist/chunks/{DictsPage-BGnamkWk.js.map → DictsPage-fxBdV1-3.js.map} +1 -1
  13. package/dist/chunks/{EntityContextRuntime-CbzeMNXR.js → EntityContextRuntime-CMhoj6qe.js} +2 -2
  14. package/dist/chunks/{EntityContextRuntime-CbzeMNXR.js.map → EntityContextRuntime-CMhoj6qe.js.map} +1 -1
  15. package/dist/chunks/EntityContextRuntime-Dc89ZSnM.js +1 -0
  16. package/dist/chunks/{ExportButton-sMPAV2hd.js → ExportButton-DGxB2tcu.js} +2 -2
  17. package/dist/chunks/{ExportButton-sMPAV2hd.js.map → ExportButton-DGxB2tcu.js.map} +1 -1
  18. package/dist/chunks/{FileViewerPreviewPanel-Rti7pUhU.js → FileViewerPreviewPanel-BMZ7FdKV.js} +3 -3
  19. package/dist/chunks/{FileViewerPreviewPanel-Rti7pUhU.js.map → FileViewerPreviewPanel-BMZ7FdKV.js.map} +1 -1
  20. package/dist/chunks/{FilesPage-D_iYsUwl.js → FilesPage-DrgWELKy.js} +3 -3
  21. package/dist/chunks/{FilesPage-D_iYsUwl.js.map → FilesPage-DrgWELKy.js.map} +1 -1
  22. package/dist/chunks/{IdentitySecurityPage-rDYX5ksX.js → IdentitySecurityPage-BjTKvr-O.js} +2 -2
  23. package/dist/chunks/{IdentitySecurityPage-rDYX5ksX.js.map → IdentitySecurityPage-BjTKvr-O.js.map} +1 -1
  24. package/dist/chunks/{LogStatsScaffold-CMIz4z0a.js → LogStatsScaffold-DaB0JeAN.js} +2 -2
  25. package/dist/chunks/{LogStatsScaffold-CMIz4z0a.js.map → LogStatsScaffold-DaB0JeAN.js.map} +1 -1
  26. package/dist/chunks/{LoginLogsPage-Bv5pPJb2.js → LoginLogsPage-VmYC7i6q.js} +2 -2
  27. package/dist/chunks/{LoginLogsPage-Bv5pPJb2.js.map → LoginLogsPage-VmYC7i6q.js.map} +1 -1
  28. package/dist/chunks/{LoginLogsTable-DYcTx2oR.js → LoginLogsTable-CULcc_e8.js} +2 -2
  29. package/dist/chunks/{LoginLogsTable-DYcTx2oR.js.map → LoginLogsTable-CULcc_e8.js.map} +1 -1
  30. package/dist/chunks/{MarkdownPreviewPanel-lqs6AsoN.js → MarkdownPreviewPanel-CBcPc7Wv.js} +2 -2
  31. package/dist/chunks/{MarkdownPreviewPanel-lqs6AsoN.js.map → MarkdownPreviewPanel-CBcPc7Wv.js.map} +1 -1
  32. package/dist/chunks/{MasterDetailLayout-B5uqvh98.js → MasterDetailLayout-ByIBpmkZ.js} +2 -2
  33. package/dist/chunks/{MasterDetailLayout-B5uqvh98.js.map → MasterDetailLayout-ByIBpmkZ.js.map} +1 -1
  34. package/dist/chunks/{McpSettingsPage-Cdej9Evi.js → McpSettingsPage-C5V_rj2V.js} +2 -2
  35. package/dist/chunks/{McpSettingsPage-Cdej9Evi.js.map → McpSettingsPage-C5V_rj2V.js.map} +1 -1
  36. package/dist/chunks/{MemberAssignmentSheet-AKvLbbYW.js → MemberAssignmentSheet-DL0fg1Yf.js} +2 -2
  37. package/dist/chunks/{MemberAssignmentSheet-AKvLbbYW.js.map → MemberAssignmentSheet-DL0fg1Yf.js.map} +1 -1
  38. package/dist/chunks/{MenuCommandPalette-ia0pSIFg.js → MenuCommandPalette-C2PvK3Gh.js} +2 -2
  39. package/dist/chunks/{MenuCommandPalette-ia0pSIFg.js.map → MenuCommandPalette-C2PvK3Gh.js.map} +1 -1
  40. package/dist/chunks/{MenusPage-Bh55bvKH.js → MenusPage-Bytd1HlW.js} +2 -2
  41. package/dist/chunks/{MenusPage-Bh55bvKH.js.map → MenusPage-Bytd1HlW.js.map} +1 -1
  42. package/dist/chunks/{MonacoPreviewPanel-CT_sjf7Z.js → MonacoPreviewPanel-BZrNIcFZ.js} +2 -2
  43. package/dist/chunks/{MonacoPreviewPanel-CT_sjf7Z.js.map → MonacoPreviewPanel-BZrNIcFZ.js.map} +1 -1
  44. package/dist/chunks/{NavListPanel-DMIUMh7q.js → NavListPanel-zwUDIYSP.js} +2 -2
  45. package/dist/chunks/{NavListPanel-DMIUMh7q.js.map → NavListPanel-zwUDIYSP.js.map} +1 -1
  46. package/dist/chunks/{OperationLogsPage-7XVfmhxP.js → OperationLogsPage-D2BQdGNp.js} +2 -2
  47. package/dist/chunks/{OperationLogsPage-7XVfmhxP.js.map → OperationLogsPage-D2BQdGNp.js.map} +1 -1
  48. package/dist/chunks/{OperationLogsTable-gp-WZxiF.js → OperationLogsTable-DaaON4QR.js} +3 -3
  49. package/dist/chunks/{OperationLogsTable-gp-WZxiF.js.map → OperationLogsTable-DaaON4QR.js.map} +1 -1
  50. package/dist/chunks/{PDFPreviewPanel-CyfhyWav.js → PDFPreviewPanel-CMmnWBKW.js} +3 -3
  51. package/dist/chunks/{PDFPreviewPanel-CyfhyWav.js.map → PDFPreviewPanel-CMmnWBKW.js.map} +1 -1
  52. package/dist/chunks/{PositionsPage-Bwua1vNV.js → PositionsPage-CBZITssT.js} +2 -2
  53. package/dist/chunks/{PositionsPage-Bwua1vNV.js.map → PositionsPage-CBZITssT.js.map} +1 -1
  54. package/dist/chunks/{PreferencesSheetBody-C80D3dOM.js → PreferencesSheetBody-B0poTPEA.js} +2 -2
  55. package/dist/chunks/{PreferencesSheetBody-C80D3dOM.js.map → PreferencesSheetBody-B0poTPEA.js.map} +1 -1
  56. package/dist/chunks/{ProfilePage-DeTw-59a.js → ProfilePage-DLhacdWt.js} +2 -2
  57. package/dist/chunks/{ProfilePage-DeTw-59a.js.map → ProfilePage-DLhacdWt.js.map} +1 -1
  58. package/dist/chunks/{ProjectInfoPage-Bqn3gfXa.js → ProjectInfoPage-CJpGxpu5.js} +2 -2
  59. package/dist/chunks/{ProjectInfoPage-Bqn3gfXa.js.map → ProjectInfoPage-CJpGxpu5.js.map} +1 -1
  60. package/dist/chunks/{RelationPanel-Bio-ig-l.js → RelationPanel-BsbfEDo2.js} +2 -2
  61. package/dist/chunks/{RelationPanel-Bio-ig-l.js.map → RelationPanel-BsbfEDo2.js.map} +1 -1
  62. package/dist/chunks/{RolesPage-fwUSs2HR.js → RolesPage-46dzdiah.js} +2 -2
  63. package/dist/chunks/{RolesPage-fwUSs2HR.js.map → RolesPage-46dzdiah.js.map} +1 -1
  64. package/dist/chunks/{SessionConflictModal-Dw4opoNP.js → SessionConflictModal-Bm38eExL.js} +2 -2
  65. package/dist/chunks/{SessionConflictModal-Dw4opoNP.js.map → SessionConflictModal-Bm38eExL.js.map} +1 -1
  66. package/dist/chunks/SettingModuleDetail-BjxUJeH5.js +17 -0
  67. package/dist/chunks/SettingModuleDetail-BjxUJeH5.js.map +1 -0
  68. package/dist/chunks/{SettingsPage-Cy5-q-P6.js → SettingsPage-C32Vuizm.js} +2 -2
  69. package/dist/chunks/{SettingsPage-Cy5-q-P6.js.map → SettingsPage-C32Vuizm.js.map} +1 -1
  70. package/dist/chunks/{StatCard-BROG4NSp.js → StatCard-CRPfkSBY.js} +2 -2
  71. package/dist/chunks/{StatCard-BROG4NSp.js.map → StatCard-CRPfkSBY.js.map} +1 -1
  72. package/dist/chunks/{UserGroupsPage-CsTBkUPy.js → UserGroupsPage-08G5MdGm.js} +2 -2
  73. package/dist/chunks/{UserGroupsPage-CsTBkUPy.js.map → UserGroupsPage-08G5MdGm.js.map} +1 -1
  74. package/dist/chunks/{UserLogsPanels-3u8Z93YU.js → UserLogsPanels-nbIrMym9.js} +2 -2
  75. package/dist/chunks/{UserLogsPanels-3u8Z93YU.js.map → UserLogsPanels-nbIrMym9.js.map} +1 -1
  76. package/dist/chunks/{UserTransferSelect-ChLj4EkS.js → UserTransferSelect-C8betaWG.js} +2 -2
  77. package/dist/chunks/{UserTransferSelect-ChLj4EkS.js.map → UserTransferSelect-C8betaWG.js.map} +1 -1
  78. package/dist/chunks/{UsersPage-CfNnQJi4.js → UsersPage-BjTiNEqF.js} +2 -2
  79. package/dist/chunks/{UsersPage-CfNnQJi4.js.map → UsersPage-BjTiNEqF.js.map} +1 -1
  80. package/dist/chunks/{browser-BKLM0ThC-D0TgzKTC.js → browser-BKLM0ThC-Cp7Gi4-F.js} +1 -1
  81. package/dist/chunks/{code-BkkeN2fd.js → code-LswxAr98.js} +1 -1
  82. package/dist/chunks/{direct-engine-m32m22nx.js → direct-engine-Dv_6v4sx.js} +1 -1
  83. package/dist/chunks/{html-BGNWR_Bp.js → html-BokjxlLb.js} +1 -1
  84. package/dist/chunks/{line-CsTeuEcK.js → line-Bqh6atHH.js} +1 -1
  85. package/dist/chunks/{lrc-D6gjnGZ5.js → lrc-T5e1svZG.js} +1 -1
  86. package/dist/chunks/{markdown-BglUe9j8.js → markdown-BpWokN1s.js} +1 -1
  87. package/dist/chunks/{patch-C97Yl3jr.js → patch-BYVX5C9G.js} +1 -1
  88. package/dist/chunks/{worker-engine-B7_3qQVS.js → worker-engine-CtUAeI4G.js} +1 -1
  89. package/dist/index.js +1 -1
  90. package/dist/{src-DAkFn9SG.js → src-D6UlLiVN.js} +2 -2
  91. package/dist/{src-DAkFn9SG.js.map → src-D6UlLiVN.js.map} +1 -1
  92. package/package.json +9 -9
  93. package/dist/chunks/ApiTokensPage-DiRMgViD.js +0 -2
  94. package/dist/chunks/ApiTokensPage-DiRMgViD.js.map +0 -1
  95. package/dist/chunks/EntityContextRuntime-C9q95WDf.js +0 -1
  96. package/dist/chunks/SettingModuleDetail-I9CSJ-fh.js +0 -17
  97. package/dist/chunks/SettingModuleDetail-I9CSJ-fh.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-Bruge11p.js";import{bt as t,xt as n}from"./clipboard-dpqHdCyy.js";import{c as r,s as i}from"./App-CfQx7jWq.js";import{$ as a,A as o,An as s,Ar as c,B as l,Bn as u,Bt as d,C as f,Cr as p,Ct as m,D as h,Dn as g,Dr as _,E as ee,En as v,Er as y,Et as te,F as b,Ft as x,Gn as ne,H as re,Hn as S,In as C,Jn as ie,Jt as ae,K as oe,Kn as se,Ln as w,Lt as ce,M as le,Mn as ue,Mr as de,N as fe,Nn as T,Nr as pe,O as me,Or as E,P as he,Pt as ge,Q as _e,Rn as ve,S as ye,Sn as be,Sr as xe,T as Se,Tn as Ce,Tr as D,U as we,Un as Te,V as Ee,Vt as De,Wn as O,X as Oe,Xn as ke,Xt as Ae,Yn as je,Z as Me,Zn as Ne,_ as k,_r as A,a as Pe,b as Fe,bn as Ie,br as Le,bt as Re,c as ze,cr as Be,ct as Ve,d as He,er as Ue,et as We,f as Ge,fn as Ke,fr as qe,g as Je,gr as j,hn as Ye,hr as Xe,i as Ze,j as Qe,jn as $e,jr as M,jt as et,k as tt,kr as N,kt as nt,l as rt,lr as P,m as it,mn as at,mr as ot,n as st,nn as ct,nr as lt,o as ut,on as dt,p as ft,pn as pt,pr as mt,q as ht,r as gt,rr as F,s as _t,sn as vt,t as yt,tr as bt,tt as xt,u as St,ut as Ct,v as wt,vr as Tt,w as Et,wr as Dt,x as Ot,xn as kt,xr as At,y as jt,yr as I,z as Mt,zn as Nt,zt as Pt}from"./chart-data-DI8rr6W3.js";import{$ as Ft,$t as It,A as Lt,An as Rt,Ar as zt,At as Bt,B as Vt,Bn as Ht,Br as Ut,Bt as Wt,C as Gt,Cn as Kt,Cr as qt,Ct as Jt,D as Yt,Dn as Xt,Dr as Zt,Dt as Qt,E as $t,En as en,Er as tn,Et as nn,F as rn,Fn as an,Fr as on,Ft as sn,G as cn,Gn as ln,Gt as un,H as dn,Hn as fn,Hr as pn,Ht as mn,I as hn,In as gn,Ir as _n,It as vn,J as yn,Jn as bn,Jt as xn,K as Sn,Kn as Cn,Kt as wn,L as Tn,Ln as En,Lr as Dn,Lt as On,M as kn,Mn as An,Mr as jn,Mt as Mn,N as Nn,Nn as Pn,Nr as Fn,Nt as In,O as Ln,On as Rn,Or as zn,Ot as Bn,P as Vn,Pn as Hn,Pr as Un,Pt as Wn,Q as Gn,Qn as Kn,Qt as qn,Rn as Jn,Rr as Yn,Rt as Xn,S as Zn,Sn as Qn,Sr as $n,St as er,T as tr,Tn as nr,Tr as rr,Tt as ir,U as ar,Un as or,Ur as sr,Ut as cr,V as lr,Vn as ur,Vr as dr,Vt as fr,W as pr,Wn as mr,Wr as hr,Wt as gr,X as _r,Xn as vr,Xt as yr,Y as br,Yn as xr,Yt as Sr,Z as Cr,Zn as wr,Zt as Tr,_ as Er,_n as Dr,_r as Or,_t as kr,an as Ar,ar as jr,at as Mr,b as Nr,bn as Pr,br as Fr,bt as Ir,c as Lr,cn as Rr,cr as zr,ct as Br,d as Vr,dn as Hr,dr as Ur,dt as Wr,en as Gr,er as Kr,et as qr,f as Jr,fn as Yr,fr as Xr,ft as Zr,g as Qr,gn as $r,gr as ei,gt as ti,h as ni,hn as ri,hr as ii,ht as ai,i as oi,in as si,ir as ci,it as li,j as ui,jn as di,jr as fi,jt as pi,k as mi,kn as hi,kr as gi,kt as _i,l as vi,ln as yi,lr as bi,lt as xi,m as Si,mn as Ci,mr as wi,mt as Ti,n as Ei,nn as Di,nr as L,nt as Oi,on as ki,or as Ai,ot as ji,p as Mi,pn as Ni,pr as Pi,pt as Fi,q as Ii,qn as Li,qt as Ri,r as zi,rn as Bi,rr as Vi,rt as Hi,s as Ui,sn as Wi,sr as Gi,st as Ki,t as qi,tn as Ji,tr as Yi,tt as Xi,u as Zi,un as R,ur as Qi,ut as $i,v as ea,vn as ta,vr as na,vt as ra,w as ia,wn as aa,wr as oa,wt as sa,x as ca,xn as la,xr as ua,xt as da,y as fa,yn as pa,yr as ma,yt as ha,zn as ga,zr as _a,zt as va}from"./chart-renderer-Dl8qlg1n.js";import{t as ya}from"./react-runtime-n55sWCXN.js";import ba,{useEffect as xa,useImperativeHandle as Sa,useLayoutEffect as Ca,useRef as wa,useState as Ta}from"react";import{Fragment as Ea,jsx as Da,jsxs as Oa}from"react/jsx-runtime";import{createPortal as ka}from"react-dom";var Aa,ja;function Ma(){return(Ma=e((()=>{
1
+ import{n as e}from"./rolldown-runtime-Bruge11p.js";import{bt as t,xt as n}from"./clipboard-dpqHdCyy.js";import{c as r,s as i}from"./App-nh6_qOo8.js";import{$ as a,A as o,An as s,Ar as c,B as l,Bn as u,Bt as d,C as f,Cr as p,Ct as m,D as h,Dn as g,Dr as _,E as ee,En as v,Er as y,Et as te,F as b,Ft as x,Gn as ne,H as re,Hn as S,In as C,Jn as ie,Jt as ae,K as oe,Kn as se,Ln as w,Lt as ce,M as le,Mn as ue,Mr as de,N as fe,Nn as T,Nr as pe,O as me,Or as E,P as he,Pt as ge,Q as _e,Rn as ve,S as ye,Sn as be,Sr as xe,T as Se,Tn as Ce,Tr as D,U as we,Un as Te,V as Ee,Vt as De,Wn as O,X as Oe,Xn as ke,Xt as Ae,Yn as je,Z as Me,Zn as Ne,_ as k,_r as A,a as Pe,b as Fe,bn as Ie,br as Le,bt as Re,c as ze,cr as Be,ct as Ve,d as He,er as Ue,et as We,f as Ge,fn as Ke,fr as qe,g as Je,gr as j,hn as Ye,hr as Xe,i as Ze,j as Qe,jn as $e,jr as M,jt as et,k as tt,kr as N,kt as nt,l as rt,lr as P,m as it,mn as at,mr as ot,n as st,nn as ct,nr as lt,o as ut,on as dt,p as ft,pn as pt,pr as mt,q as ht,r as gt,rr as F,s as _t,sn as vt,t as yt,tr as bt,tt as xt,u as St,ut as Ct,v as wt,vr as Tt,w as Et,wr as Dt,x as Ot,xn as kt,xr as At,y as jt,yr as I,z as Mt,zn as Nt,zt as Pt}from"./chart-data-DI8rr6W3.js";import{$ as Ft,$t as It,A as Lt,An as Rt,Ar as zt,At as Bt,B as Vt,Bn as Ht,Br as Ut,Bt as Wt,C as Gt,Cn as Kt,Cr as qt,Ct as Jt,D as Yt,Dn as Xt,Dr as Zt,Dt as Qt,E as $t,En as en,Er as tn,Et as nn,F as rn,Fn as an,Fr as on,Ft as sn,G as cn,Gn as ln,Gt as un,H as dn,Hn as fn,Hr as pn,Ht as mn,I as hn,In as gn,Ir as _n,It as vn,J as yn,Jn as bn,Jt as xn,K as Sn,Kn as Cn,Kt as wn,L as Tn,Ln as En,Lr as Dn,Lt as On,M as kn,Mn as An,Mr as jn,Mt as Mn,N as Nn,Nn as Pn,Nr as Fn,Nt as In,O as Ln,On as Rn,Or as zn,Ot as Bn,P as Vn,Pn as Hn,Pr as Un,Pt as Wn,Q as Gn,Qn as Kn,Qt as qn,Rn as Jn,Rr as Yn,Rt as Xn,S as Zn,Sn as Qn,Sr as $n,St as er,T as tr,Tn as nr,Tr as rr,Tt as ir,U as ar,Un as or,Ur as sr,Ut as cr,V as lr,Vn as ur,Vr as dr,Vt as fr,W as pr,Wn as mr,Wr as hr,Wt as gr,X as _r,Xn as vr,Xt as yr,Y as br,Yn as xr,Yt as Sr,Z as Cr,Zn as wr,Zt as Tr,_ as Er,_n as Dr,_r as Or,_t as kr,an as Ar,ar as jr,at as Mr,b as Nr,bn as Pr,br as Fr,bt as Ir,c as Lr,cn as Rr,cr as zr,ct as Br,d as Vr,dn as Hr,dr as Ur,dt as Wr,en as Gr,er as Kr,et as qr,f as Jr,fn as Yr,fr as Xr,ft as Zr,g as Qr,gn as $r,gr as ei,gt as ti,h as ni,hn as ri,hr as ii,ht as ai,i as oi,in as si,ir as ci,it as li,j as ui,jn as di,jr as fi,jt as pi,k as mi,kn as hi,kr as gi,kt as _i,l as vi,ln as yi,lr as bi,lt as xi,m as Si,mn as Ci,mr as wi,mt as Ti,n as Ei,nn as Di,nr as L,nt as Oi,on as ki,or as Ai,ot as ji,p as Mi,pn as Ni,pr as Pi,pt as Fi,q as Ii,qn as Li,qt as Ri,r as zi,rn as Bi,rr as Vi,rt as Hi,s as Ui,sn as Wi,sr as Gi,st as Ki,t as qi,tn as Ji,tr as Yi,tt as Xi,u as Zi,un as R,ur as Qi,ut as $i,v as ea,vn as ta,vr as na,vt as ra,w as ia,wn as aa,wr as oa,wt as sa,x as ca,xn as la,xr as ua,xt as da,y as fa,yn as pa,yr as ma,yt as ha,zn as ga,zr as _a,zt as va}from"./chart-renderer-Dl8qlg1n.js";import{t as ya}from"./react-runtime-n55sWCXN.js";import ba,{useEffect as xa,useImperativeHandle as Sa,useLayoutEffect as Ca,useRef as wa,useState as Ta}from"react";import{Fragment as Ea,jsx as Da,jsxs as Oa}from"react/jsx-runtime";import{createPortal as ka}from"react-dom";var Aa,ja;function Ma(){return(Ma=e((()=>{
2
2
  /**
3
3
  * @license lucide-react v1.67.0 - ISC
4
4
  *
@@ -9,4 +9,4 @@ n(),Aa={name:`chart-column`,size:24,node:[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,
9
9
  C-1.2-2-0.9-2.4-0.5-2.4z M-0.4-1.4L-0.4-1.4c0,0,0,0.1,0,0.1v2.6c0,0.1,0,0.1,0,0.1l0,0c0,0,0-0.1,0-0.1v-2.6
10
10
  C-0.4-1.4-0.4-1.4-0.4-1.4z M0.3-1.4L0.3-1.4c0,0,0,0.1,0,0.1v2.6c0,0.1,0,0.1,0,0.1l0,0c0,0,0-0.1,0-0.1v-2.6
11
11
  C0.3-1.4,0.3-1.4,0.3-1.4z;`,fS=()=>({style:{symbolType:dS,fill:{type:`palette`,key:`sliderHandleColor`},scaleX:1.2,scaleY:1.2,stroke:{type:`palette`,key:`dataZoomHandleStrokeColor`},lineWidth:1}}),pS=e=>({area:{style:{visible:e,stroke:!1,fill:{type:`palette`,key:`dataZoomChartColor`}}},line:{style:{visible:e,stroke:{type:`palette`,key:`dataZoomChartColor`},lineWidth:1}}}),mS={padding:[12,0],showDetail:`auto`,brushSelect:!1,middleHandler:{visible:!1,background:{size:6,style:{stroke:{type:`palette`,key:`dataZoomHandleStrokeColor`},cornerRadius:2}},icon:{style:{size:4,fill:{type:`palette`,key:`sliderHandleColor`},stroke:{type:`palette`,key:`dataZoomHandleStrokeColor`},symbolType:`M 0.3 -0.5 C 0.41 -0.5 0.5 -0.41 0.5 -0.3 C 0.5 -0.3 0.5 0.3 0.5 0.3 C 0.5 0.41 0.41 0.5 0.3 0.5 C 0.3 0.5 -0.3 0.5 -0.3 0.5 C -0.41 0.5 -0.5 0.41 -0.5 0.3 C -0.5 0.3 -0.5 -0.3 -0.5 -0.3 C -0.5 -0.41 -0.41 -0.5 -0.3 -0.5 C -0.3 -0.5 0.3 -0.5 0.3 -0.5 Z`,lineWidth:.5}}},background:{size:20,style:{fill:{type:`palette`,key:`sliderRailColor`},lineWidth:0}},selectedBackground:{style:{fill:{type:`palette`,key:`sliderTrackColor`},fillOpacity:.1,outerBorder:{stroke:{type:`palette`,key:`sliderTrackColor`},strokeOpacity:.2,distance:-.5,lineWidth:1}}},selectedBackgroundChart:pS(!1),startHandler:fS(),endHandler:fS(),startText:{padding:8,style:{fontSize:{type:`token`,key:`l5FontSize`},lineHeight:{type:`token`,key:`l5LineHeight`},fill:{type:`palette`,key:`secondaryFontColor`,default:`#89909d`}}},endText:{padding:8,style:{fontSize:{type:`token`,key:`l5FontSize`},lineHeight:{type:`token`,key:`l5LineHeight`},fill:{type:`palette`,key:`secondaryFontColor`,default:`#89909d`}}},backgroundChart:pS(!0)}})))()}var gS,_S,vS;function yS(){return(yS=e((()=>{c(),E(),qe(),y(),C(),yi(),V(),cS(),Yt(),el(),ze(),Je(),xu(),Y(),U(),uS(),ip(),hS(),iS(),gS={width:!0,height:!0,showDetail:!0,middleHandler:!0,background:!0,startHandler:!0,endHandler:!0,startText:!0,endText:!0,dragMask:!0,selectedBackground:!0,backgroundChart:!0,selectedBackgroundChart:!0,showBackgroundChart:!0},_S=class extends sS{constructor(e,t){super(e,t),this.type=B.dataZoom,this.name=B.dataZoom,this.transformerConstructor=lS,this.specKey=`dataZoom`,this.layoutZIndex=yu.DataZoom,this.layoutLevel=bu.DataZoom,this.layoutType=`region-relative`,this._isReverseCache=!1,this._dataToPositionX=e=>{let t=this._isHorizontal?0:this._middleHandlerSize,n=this._isHorizontal?this._startHandlerSize/2:0,r=this._isHorizontal?this._stateScale:this._valueScale,i=this._isHorizontal?this._stateField:this._valueField;return r.scale(e[i])+this.getLayoutStartPoint().x+t+n},this._dataToPositionX2=e=>{let t=this._isHorizontal?0:this._middleHandlerSize,n=this._isHorizontal?this._startHandlerSize/2:0,r=this._isHorizontal?this._stateScale:this._valueScale,i=r.domain()[0];return r.scale(i)+this.getLayoutStartPoint().x+t+n},this._dataToPositionY=e=>{let t=this._isHorizontal?this._middleHandlerSize:0,n=this._isHorizontal?0:this._startHandlerSize/2,r=this._isHorizontal?this._valueScale:this._getPreviewStateScale(),i=this._isHorizontal?this._valueField:this._stateField;return r.scale(e[i])+this.getLayoutStartPoint().y+t+n},this._dataToPositionY2=e=>{let t=this._isHorizontal?this._middleHandlerSize:0,n=this._isHorizontal?0:this._startHandlerSize/2,r=this._isHorizontal?this._valueScale:this._getPreviewStateScale(),i=r.domain()[0];return r.scale(i)+this.getLayoutStartPoint().y+t+n},this._valueField=`y`,this._filterMode=e.filterMode??`filter`}_handleChange(e,t,n,r){if(super._handleChange(e,t,n),this._shouldChange){if(n&&this._component)this._component.setStartAndEnd(e,t);else{let n=this._relatedAxisComponent,i=Zx(e,this._stateScale,$x(n,this._isHorizontal)),a=Zx(t,this._stateScale,$x(n,this._isHorizontal));if(!_(i)||!_(a))return;this._start=e,this._end=t,(M(this._spec.updateDataAfterChange)?this._spec.updateDataAfterChange(e,t,i,a):this._handleStateChange(i,a,r))&&this.event.emit(K.dataZoomChange,{model:this,value:{filterData:this._filterMode!==`axis`,start:e,end:t,startValue:this._startValue,endValue:this._endValue,newDomain:this._newDomain}})}}}_handleDataCollectionChange(){this._data.getDataView().reRunAllTransform(),this._initAfterLayout();let e=this._computeDomainOfValueScale();e&&(this._valueScale||=new _t,this._valueScale.domain(e),this._updateValueScaleRange(),this._component&&this._createOrUpdateComponent(!0))}created(){super.created(),this._initValueScale()}updateLayoutAttribute(){!1!==this._cacheVisibility&&super.updateLayoutAttribute()}_beforeLayoutEnd(){super._beforeLayoutEnd();let e=this._relatedAxisComponent;($x(e,this._isHorizontal)&&!this._isReverseCache||this._auto)&&(this._isReverseCache=$x(e,this._isHorizontal),this.effect.onZoomChange())}_getComponentOnlySpecKeys(){return gS}clear(){if(this._component){let e=this.getContainer();this._component.removeAllChild(),e&&e.removeChild(this._component),this._component=null}super.clear()}getBoundsInRect(e){let t={x1:this.getLayoutStartPoint().x,y1:this.getLayoutStartPoint().y,x2:0,y2:0},n=this._startHandlerSize*(this._spec.startHandler.style.scaleX??1),r=this._startHandlerSize*(this._spec.startHandler.style.scaleY??1),i=this._endHandlerSize*(this._spec.endHandler.style.scaleX??1),a=this._endHandlerSize*(this._spec.endHandler.style.scaleY??1),o=this._visible?this._isHorizontal?(n-this._startHandlerSize)/2+(i-this._endHandlerSize)/2:(Math.max(n,i)-this._width)/2:0,s=this._visible?this._isHorizontal?(Math.max(r,a)-this._height)/2:(r-this._startHandlerSize)/2+(a-this._endHandlerSize)/2:0;return this._isHorizontal?(t.y2=t.y1+this._height+s,t.x2=t.x1+e.width+o):(t.x2=t.x1+this._width+o,t.y2=t.y1+e.height+s),t}setAttrFromSpec(){var e,t;super.setAttrFromSpec();let n=this._isHorizontal?Number(this._spec.height):Number(this._spec.width);this._backgroundSize=this._spec.background?.size??30,this._middleHandlerSize=this._computeMiddleHandlerSize(),N(this._spec?.startHandler?.style?.size)&&(this._spec.startHandler.style.size=isNaN(n)?this._backgroundSize:n-this._middleHandlerSize),N(this._spec?.endHandler?.style?.size)&&(this._spec.endHandler.style.size=isNaN(n)?this._backgroundSize:n-this._middleHandlerSize);let r=(e=this._spec.startHandler.style.visible)==null||e,i=(t=this._spec.endHandler.style.visible)==null||t;this._startHandlerSize=r?this._spec.startHandler.style.size:0,this._endHandlerSize=i?this._spec.endHandler.style.size:0,this._width=this._computeWidth(),this._height=this._computeHeight()}_initValueScale(){let e=this._computeDomainOfValueScale();if(e){let t=new _t;t.domain(e),this._valueScale=t}}_updateScaleRange(){this._updateStateScaleRange(),this._updateValueScaleRange()}_updateStateScaleRange(){var e;let t=this._startHandlerSize+this._endHandlerSize;if(!this._stateScale)return;let n,r=this._isHorizontal?this.getLayoutRect().width-t:this.getLayoutRect().height-t,i=this._relatedAxisComponent?.getScale().range()??[this._startHandlerSize/2,r+this._startHandlerSize/2],a=this._computeWidth(),o=this._computeHeight();n=this._isHorizontal?this._visible?[this._startHandlerSize/2,a-t+this._startHandlerSize/2]:i:this._visible?[this._startHandlerSize/2,o-t+this._startHandlerSize/2]:i,this._stateScale.range(n),(e=this._previewStateScale)==null||e.range($x(this._relatedAxisComponent,this._isHorizontal)?n.reverse():n)}_updateValueScaleRange(){if(!this._valueScale)return;let e=this._computeWidth(),t=this._computeHeight();this._isHorizontal?this._valueScale.range([t-this._middleHandlerSize,0]):this.layoutOrient===`left`?this._valueScale.range([e-this._middleHandlerSize,0]):this._valueScale.range([0,e-this._middleHandlerSize])}_computeDomainOfValueScale(){let e=this._data.getLatestData().map((e=>e[this._valueField])),t=e.map((e=>1*e));return e.length?[Nt(t),ve(t)]:null}_isScaleValid(e){if(!e||!e.domain())return!1;let t=e.domain();return(!k(e.type)||t[0]!==w(t))&&(!wt(e.type)||u(t).length!==1)}_getXScale(){return this._relatedAxisComponent.getScale().type===this.stateScale.type&&this._isHorizontal?this.stateScale:this._isHorizontal?this._stateScale:this._valueScale}_getYScale(){return this._isHorizontal?this._valueScale:this._stateScale}_computeMiddleHandlerSize(){let e=0;if(this._spec?.middleHandler?.visible){let t=this._spec.middleHandler.icon.style.size??8,n=this._spec.middleHandler.background.size??40;e+=Math.max(t,n)}return e}_computeWidth(){return!1===this._visible?0:mt(this._spec.width)?this._spec.width:this._isHorizontal?this.getLayoutRect().width:Math.max(this._startHandlerSize||0,this._endHandlerSize||0,this._backgroundSize||0)+this._middleHandlerSize}_computeHeight(){return!1===this._visible?0:mt(this._spec.height)?this._spec.height:this._isHorizontal?Math.max(this._startHandlerSize||0,this._endHandlerSize||0,this._backgroundSize||0)+this._middleHandlerSize:this.getLayoutRect().height}_getAttrs(e){var t,n,r;let i=this._spec??{};return Object.assign({zIndex:this.layoutZIndex,start:this._start,end:this._end,position:{x:this.getLayoutStartPoint().x,y:this.getLayoutStartPoint().y},orient:this._orient,size:{width:this._computeWidth(),height:this._computeHeight()},showDetail:i.showDetail,brushSelect:(t=i.brushSelect)!=null&&t,zoomLock:(n=i.zoomLock)!=null&&n,minSpan:this._minSpan,maxSpan:this._maxSpan,delayType:i.delayType,delayTime:_(i.delayType)?i.delayTime??30:0,realTime:(r=i.realTime)==null||r,previewData:e&&this._data.getLatestData(),previewPointsX:e&&this._dataToPositionX,previewPointsY:e&&this._dataToPositionY,tolerance:this._spec.tolerance,isReverse:$x(this._relatedAxisComponent,this._isHorizontal)},this._getComponentAttrs(e))}_getLayoutAttrs(){return{position:{x:this.getLayoutStartPoint().x,y:this.getLayoutStartPoint().y},size:{width:this._computeWidth(),height:this._computeHeight()}}}_createOrUpdateComponent(e){if(this._visible){let t=this._isHorizontal?this._stateScale:this._valueScale,n=this._isHorizontal?this._valueScale:this._stateScale,r=this._isScaleValid(t)&&this._isScaleValid(n)&&!1!==this._spec.showBackgroundChart,i=this._getAttrs(r),a=this._relatedAxisComponent;if(this._component)this._component.setAttributes(i),e&&(this._component.setPreviewData(this._data.getDataView().latestData),r&&(this._isHorizontal?this._component.setPreviewPointsY1(this._dataToPositionY2):this._component.setPreviewPointsX1(this._dataToPositionX2),this._component.setStatePointToData((e=>Zx(e,this._stateScale,$x(a,this._isHorizontal))))));else{let e=this.getContainer();this._component=new $t(i),this._component.setPreviewData(this._data.getDataView().latestData),this._isHorizontal?r&&this._component.setPreviewPointsY1(this._dataToPositionY2):r&&this._component.setPreviewPointsX1(this._dataToPositionX2),this._component.setStatePointToData((e=>Zx(e,this._stateScale,$x(a,this._isHorizontal)))),this._component.addEventListener(`dataZoomChange`,(e=>{let{start:t,end:n,tag:r}=e.detail;this._handleChange(t,n,void 0,r)})),e.add(this._component)}}}_getComponentAttrs(e){let{middleHandler:t={},startText:n={},endText:r={},backgroundChart:i={},selectedBackgroundChart:a={}}=this._spec;return{backgroundStyle:G(this._spec.background?.style),startHandlerStyle:G(this._spec.startHandler?.style),middleHandlerStyle:t.visible?{visible:!0,icon:G(t.icon?.style),background:{size:t.background?.size,style:G(t.background?.style)}}:{visible:!1},endHandlerStyle:G(this._spec.endHandler?.style),startTextStyle:{padding:n.padding,formatMethod:this._getHandlerTextFormatMethod(n),textStyle:G(n.style)},endTextStyle:{padding:r.padding,formatMethod:this._getHandlerTextFormatMethod(r),textStyle:G(r.style)},selectedBackgroundStyle:G(this._spec.selectedBackground.style),dragMaskStyle:G(this._spec.dragMask?.style),backgroundChartStyle:e?{line:R(G(i.line?.style),{fill:!1}),area:Object.assign({curveType:`basis`,visible:!0},G(i.area?.style))}:{line:{visible:!1},area:{visible:!1}},selectedBackgroundChartStyle:e?{line:R(G(a.line?.style),{fill:!1}),area:Object.assign({curveType:`basis`,visible:!0},G(a.area?.style))}:{line:{visible:!1},area:{visible:!1}},disableTriggerEvent:this._option.disableTriggerEvent}}_getHandlerTextFormatMethod(e){let{formatMethod:t,formatter:n}=e,{formatFunc:r}=np(t,n);return r?e=>r(e,{label:e},n):void 0}_getNeedClearVRenderComponents(){return[this._component]}onDataUpdate(){super.onDataUpdate(),this._previewStateScale!==this._stateScale&&(this._previewStateScale=null)}_getPreviewStateScale(){return this._previewStateScale||($x(this._relatedAxisComponent,this._isHorizontal)?(this._previewStateScale=this._stateScale.clone(),this._previewStateScale.range(this._stateScale.range().reverse())):this._previewStateScale=this._stateScale),this._previewStateScale}},_S.type=B.dataZoom,_S.transformerConstructor=lS,_S.builtInTheme={dataZoom:mS},_S.specKey=`dataZoom`,vS=()=>{H.registerComponent(_S.type,_S)}})))()}var bS;function xS(){return(xS=e((()=>{bS={horizontal:{height:10,slider:{style:{fill:{type:`palette`,key:`scrollBarSliderColor`}}}},vertical:{width:10,slider:{style:{fill:{type:`palette`,key:`scrollBarSliderColor`}}}}}})))()}var SS,CS,wS;function TS(){return(TS=e((()=>{lt(),c(),E(),qe(),y(),V(),cS(),lr(),el(),xu(),Y(),U(),bo(),xS(),iS(),SS={width:!0,height:!0,rail:!0,slider:!0,round:!0,innerPadding:!0,minSliderSize:!0},CS=class extends sS{constructor(e,t){super(e,t),this.type=B.scrollBar,this.name=B.scrollBar,this.specKey=`scrollBar`,this.layoutZIndex=yu.DataZoom,this.layoutLevel=bu.DataZoom,this.layoutType=`region-relative`,this._filterMode=e.filterMode??`axis`}_handleChange(e,t,n){super._handleChange(e,t,n);let r=yo(this._start,e)&&yo(this._end,t);if(this._shouldChange&&(!r||!1===this._spec.realTime)){n&&this._component&&this._component.setAttribute(`range`,[e,t]),this._start=e,this._end=t;let r=this._relatedAxisComponent,i=$x(r,this._isHorizontal),a=Zx(e,this._stateScale,i),o=Zx(t,this._stateScale,i);(M(this._spec.updateDataAfterChange)?this._spec.updateDataAfterChange(e,t,a,o):this._handleStateChange(a,o))&&this.event.emit(K.scrollBarChange,{model:this,value:{filterData:this._filterMode!==`axis`,start:this._start,end:this._end,startValue:this._startValue,endValue:this._endValue,newDomain:this._newDomain}})}}_handleDataCollectionChange(){this._spec.auto&&this._data.getDataView().reRunAllTransform()}_getComponentOnlySpecKeys(){return SS}_beforeLayoutEnd(){var e,t;super._beforeLayoutEnd(),(t=(e=this.effect).onZoomChange)==null||t.call(e)}onLayoutEnd(){this._updateComponentBounds(),super.onLayoutEnd()}_updateScaleRange(){}_updateComponentBounds(){this._component&&this._component.setAttributes({x:this.getLayoutStartPoint().x,y:this.getLayoutStartPoint().y,width:this.getLayoutRect().width,height:this.getLayoutRect().height})}_computeWidth(){return!1===this._visible?0:mt(this._spec.width)?this._spec.width:this._isHorizontal?this.getLayoutRect().width:12}_computeHeight(){return!1===this._visible?0:mt(this._spec.height)?this._spec.height:this._isHorizontal?12:this.getLayoutRect().height}_getAttrs(){var e;return Object.assign({zIndex:this.layoutZIndex,x:this.getLayoutStartPoint().x,y:this.getLayoutStartPoint().y,width:this.getLayoutRect().width,height:this.getLayoutRect().height,range:[this._start,this._end],direction:this._isHorizontal?`horizontal`:`vertical`,delayType:this._spec?.delayType,delayTime:_(this._spec?.delayType)?this._spec?.delayTime??30:0,realTime:(e=this._spec?.realTime)==null||e,minSliderSize:this._spec?.minSliderSize},this._getComponentAttrs())}_createOrUpdateComponent(){let e=this._getAttrs();if(this._component)this._component.setAttributes(e);else{let t=this.getContainer();this._component=new Vt(e),this._component.addEventListener(`scrollDrag`,(e=>{let t=e.detail.value;this._handleChange(t[0],t[1])})),this._component.addEventListener(`scrollUp`,(e=>{let t=e.detail.value;this._handleChange(t[0],t[1])})),t.add(this._component)}}_getComponentAttrs(){let{rail:e,slider:t,innerPadding:n}=this._spec,r={};return N(n)||(r.padding=n),F(e?.style)||(r.railStyle=G(e.style)),F(t?.style)||(r.sliderStyle=G(t.style)),r.disableTriggerEvent=this._option.disableTriggerEvent,r}_getNeedClearVRenderComponents(){return[this._component]}},CS.type=B.scrollBar,CS.builtInTheme={scrollBar:bS},CS.specKey=`scrollBar`,wS=()=>{H.registerComponent(CS.type,CS)}})))()}var ES;function DS(){return(DS=e((()=>{ES=[`sum`,`average`,`min`,`max`,`variance`,`standardDeviation`,`median`]})))()}function OS(e,t,n){if(!n)return!1;let r=e.map((e=>1*e)),i=Nt(r),a=ve(r);return t<i||t>a}function kS(e,t){return e?`${e}_${t}_extend`:`marker_${t}_extend`}function AS(e,t,n,r,i,a,o){var s,c;let{relativeSeries:l}=r,u;return mt(e.x)&&OS(t,e.x,n)&&((c=l==null?void 0:(s=l.getXAxisHelper()).setExtendDomain)==null||c.call(s,kS(o,`xAxis`),e.x)),u=rs(e.x)?MS(e.x,i)+a.x:NS(l.getXAxisHelper(),[e.x])+a.x,u}function jS(e,t,n,r,i,a,o){var s,c;let{relativeSeries:l}=r,u;return mt(e.y)&&OS(t,e.y,n)&&((c=(s=l.getYAxisHelper())?.setExtendDomain)==null||c.call(s,kS(o,`yAxis`),e.y)),u=rs(e.y)?MS(e.y,i)+a.y:NS(l.getYAxisHelper(),[e.y])+a.y,u}function MS(e,t){return Number(e.substring(0,e.length-1))*t/100}function NS(e,t){let n=e.getScale(0);return k(n.type)&&n.domain()[0]===n.domain()[1]&&t[0]!==n.domain()[0]?NaN:e.dataToPosition(t)}function PS(e){return ES.includes(e)}function FS(e,t,n,r,i,a=!1,o){let s=t.getRegion(),c=s.getLayoutStartPoint(),l=n.getRegion(),u=l.getLayoutStartPoint(),d=Math.abs(Math.min(c.x,u.x)-Math.max(c.x+s.getLayoutRect().width,u.x+l.getLayoutRect().width)),f=Math.abs(Math.min(c.y,u.y)-Math.max(c.y+s.getLayoutRect().height,u.y+l.getLayoutRect().height)),p={relativeSeries:r,startRelativeSeries:t,endRelativeSeries:n},m=[],h=e.latestData[0]&&e.latestData[0].latestData?e.latestData[0].latestData:e.latestData,g=r.getXAxisHelper(),ee=r.getYAxisHelper(),v=g.getScale(0).domain(),y=ee.getScale(0).domain(),te=a&&!g.isContinuous&&!!g.getBandwidth,b=a&&!ee.isContinuous&&!!ee.getBandwidth,x={min:null,max:null},ne={min:null,max:null};return h.forEach((e=>{let t=_(e.x),n=_(e.y),r,a;if(t&&n)r=AS(e,v,i,p,d,c,o),a=jS(e,y,i,p,f,c,o),LS(r,te,x,m.length),LS(a,b,ne,m.length),m.push([{x:r,y:a}]);else if(t){r=AS(e,v,i,p,d,c,o),a=Math.max(c.y+s.getLayoutRect().height,u.y+l.getLayoutRect().height);let t=Math.min(c.y,u.y);LS(r,te,x,m.length),m.push([{x:r,y:a},{x:r,y:t}])}else if(n){r=Math.min(c.x,u.x),a=jS(e,y,i,p,f,c,o);let t=Math.max(c.x+s.getLayoutRect().width,u.x+l.getLayoutRect().width);LS(a,b,ne,m.length),m.push([{x:r,y:a},{x:t,y:a}])}})),IS(m,g,ee,x,ne),m}function IS(e,t,n,r,i){if(r.min||r.max){let n=t.getBandwidth(0)*(1+t.getScale(0).paddingInner());r.min&&e[r.min.index].forEach((e=>e.x-=n/2)),r.max&&e[r.max.index].forEach((e=>e.x+=n/2))}if(i.min||i.max){let t=n.getBandwidth(0)*(1+n.getScale(0).paddingInner());i.min&&e[i.min.index].forEach((e=>e.y-=t/2)),i.max&&e[i.max.index].forEach((e=>e.y+=t/2))}}function LS(e,t,n,r){return t&&((n.min===null||n.min.value>e)&&(n.min={value:e,index:r}),(n.max===null||n.max.value<e)&&(n.max={value:e,index:r})),e}function RS(e,t){return e?.getRefRelativeSeries?e.getRefRelativeSeries():t}function zS(e,t,n,r){var i,a,o,s;let c=t.getXAxisHelper().getScale(0).domain(),l=t.getYAxisHelper().getScale(0).domain(),u=T(e.x),d=T(e.y);u.length===1&&mt(u[0])&&OS(c,u[0],n)&&((a=(i=t.getXAxisHelper())?.setExtendDomain)==null||a.call(i,kS(r,`xAxis`),u[0])),d.length===1&&mt(d[0])&&OS(l,d[0],n)&&((s=(o=t.getYAxisHelper())?.setExtendDomain)==null||s.call(o,kS(r,`yAxis`),d[0]))}function BS(e,t,n,r,i){let a=[],o=e.latestData[0]&&e.latestData[0].latestData?e.latestData[0].latestData:e.latestData,s=A(r);return n&&o.forEach((e=>{zS(e,RS(e,t),n,i)})),o.forEach(((e,n)=>{let i=RS(e,t),o=i.getRegion(),c=o.getLayoutStartPoint(),{width:l,height:u}=o.getLayoutRect(),d=0,f=0;if(r){let e=s?r[n]:r,t=e.x,i=e.y;t&&(d=rs(t)?Number(t.substring(0,t.length-1))*l/100:t),i&&(f=rs(i)?Number(i.substring(0,i.length-1))*u/100:i)}let p=T(e.x),m=T(e.y);a.push({x:NS(i.getXAxisHelper(),p)+c.x+d,y:NS(i.getYAxisHelper(),m)+c.y+f})})),a}function VS(e,t,n){let{x:r,y:i}=e;return rs(r)&&(r=MS(r,t)),rs(i)&&(i=MS(i,n)),{x:r,y:i}}function HS(e,t,n){let r;if(r=M(e)?T(e(t.getData().getLatestData(),t)):T(e),n){let e=t.getRegion(),{x:n,y:i}=e.getLayoutStartPoint(),{width:a,height:o}=e.getLayoutRect();return r.map((e=>{let{x:t,y:r}=VS(e,a,o);return t+=n,r+=i,{x:t,y:r}}))}let{width:i,height:a}=t.getOption().getChart().getViewRect();return r.map((e=>VS(e,i,a)))}function US(e){let t=1/0,n=-1/0,r=1/0,i=-1/0;return e.forEach((e=>{let a=e.getLayoutStartPoint(),o=e.getLayoutRect();a.x<t&&(t=a.x),a.x+o.width>n&&(n=a.x+o.width),a.y<r&&(r=a.y),a.y+o.height>i&&(i=a.y+o.height)})),{minX:t,maxX:n,minY:r,maxY:i}}function WS(e,t,n){let{labelBackground:r={},style:i,shape:a}=e,o=$S(e,[`labelBackground`,`style`,`shape`]);if(!1!==e.visible){let e=o;return e.shape=a?.visible?Object.assign({visible:!0},G(a.style)):{visible:!1},!1===r.visible?(e.panel={visible:!1},e.padding=0):(e.panel=Object.assign({visible:!0,customShape:r.customShape},KS(G(r.style),t,n)),_(r.padding)&&(e.padding=ht(r.padding))),i&&(e.textStyle=KS(G(i),t,n)),e}return{visible:!1}}function GS(e,t,n){for(let r in e)M(e[r])&&(e[r]=e[r](t,n));return e}function KS(e,t,n){return M(e)?e(t,n):e}function qS(e,t){return M(e)?e(t):e}function JS(e,t,n){return _(e)?t===`regionLeft`?n.getLayoutStartPoint().x-e.x:t===`regionRight`?n.getLayoutStartPoint().x+n.getLayoutRect().width-e.x:t===`regionTop`?n.getLayoutStartPoint().y-e.y:t===`regionBottom`?n.getLayoutStartPoint().y+n.getLayoutRect().height-e.y:t:t}function YS(e){return{isXProcess:_(e.x),isYProcess:_(e.y),isX1Process:_(e.x1),isY1Process:_(e.y1),isAngleProcess:_(e.angle),isRadiusProcess:_(e.radius),isAngle1Process:_(e.angle1),isRadius1Process:_(e.radius1),isCoordinatesProcess:_(e.coordinates),isValidProcess:_(e.process)}}function XS(e){let{isXProcess:t,isYProcess:n,isX1Process:r,isY1Process:i,isAngleProcess:a,isRadiusProcess:o,isAngle1Process:s,isRadius1Process:c,isCoordinatesProcess:l,isValidProcess:u}=YS(e);return{doXProcess:t&&!n&&!i,doXYY1Process:t&&n&&i,doYProcess:n&&!t&&!r,doYXX1Process:n&&t&&r,doXYProcess:t&&n&&r&&i,doAngleProcess:a&&!s&&!o&&!c,doRadiusProcess:o&&!c&&!a&&!s,doAngRadRad1Process:a&&!s&&o&&c,doRadAngAng1Process:o&&a&&s&&!c,doRadAngProcess:a&&o&&s&&c,doCoordinatesProcess:l&&(!u||`process`in e&&`xy`in e.process)}}function ZS(e){let{isXProcess:t,isYProcess:n,isX1Process:r,isY1Process:i,isAngleProcess:a,isRadiusProcess:o,isAngle1Process:s,isRadius1Process:c,isCoordinatesProcess:l}=YS(e);return{doXProcess:t&&r&&!n&&!i,doYProcess:n&&i&&!t&&!r,doXYProcess:t&&r&&n&&i,doAngleProcess:a&&s&&!o&&!c,doRadiusProcess:o&&c&&!a&&!s,doRadAngProcess:a&&o&&s&&c,doCoordinatesProcess:l}}function QS(e){return{doXYProcess:_(e.x)&&_(e.y),doPolarProcess:_(e.angle)&&_(e.radius),doGeoProcess:_(e.areaName)}}var $S;function eC(){return(eC=e((()=>{y(),qe(),C(),j(),c(),oe(),ds(),el(),DS(),Je(),$S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}})))()}function tC(e,t,n,r=0){let i=[],a=e.y-t.y,o=e.x-t.x;switch(n){case`top`:i.push(e),i.push({x:e.x,y:a>0?e.y-r-Math.abs(a):e.y-r}),i.push({x:t.x,y:a>0?t.y-r:t.y-r-Math.abs(a)}),i.push(t);break;case`bottom`:i.push(e),i.push({x:e.x,y:a<0?e.y+r+Math.abs(a):e.y+r}),i.push({x:t.x,y:a<0?t.y+r:t.y+r+Math.abs(a)}),i.push(t);break;case`left`:i.push(e),i.push({x:o>0?e.x-r-Math.abs(o):e.x-r,y:e.y}),i.push({x:o>0?t.x-r:t.x-r-Math.abs(o),y:t.y}),i.push(t);break;case`right`:i.push(e),i.push({x:o>0?e.x+r:e.x+r+Math.abs(o),y:e.y}),i.push({x:o>0?t.x+r+Math.abs(o):t.x+r,y:t.y}),i.push(t)}return i}function nC(e,t,n,r=0){let i=e.y-t.y,a=e.x-t.x;return n===`bottom`?{dx:a>0?-a/2:Math.abs(a/2),dy:i>0?r:Math.abs(i)+r}:n===`top`?{dx:a>0?-Math.abs(a/2):+Math.abs(a/2),dy:i>0?-(Math.abs(i)+r):-r}:n===`left`?{dx:a>0?-a-r:-r,dy:i>0?-i/2:Math.abs(i/2)}:n===`right`?{dx:a>0?r:Math.abs(a)+r,dy:i>0?-i/2:Math.abs(i/2)}:{}}function rC(e,t){let n=e[0].latestData;return lo(n,t.field)}function iC(e,t){let n=e[0].latestData;return uo(n,t.field)}function aC(e,t){let n=e[0].latestData;return fo(n,t.field)}function oC(e,t){let n=e[0].latestData;return po(n,t.field)}function sC(e,t){let n=e[0].latestData;return mo(n,t.field)}function cC(e,t){let n;if(t.coordinates){let e=t,{coordinates:r,coordinateType:i,getSeriesByIdOrIndex:a}=e,o=uC(e,[`coordinates`,`coordinateType`,`getSeriesByIdOrIndex`]),s,c;if(M(r)){let e=t.getRelativeSeries();s=r(e.getData().getLatestData(),e)}else s=r;s=T(s),n=s.map((e=>{let t=a(e.refRelativeSeriesId,e.refRelativeSeriesIndex);if(i===`cartesian`){let{xField:n,yField:r}=t.getSpec(),{xFieldDim:i,xFieldIndex:a,yFieldDim:s,yFieldIndex:l}=e,u=n;_(a)&&(u=T(n)[a]),i&&T(n).includes(i)&&(u=i);let d=r;_(l)&&(d=T(r)[l]),s&&T(r).includes(s)&&(d=s),c=Object.assign({x:void 0,y:void 0},o),I(e[u])&&PS(e[u])?c.x={field:u,aggrType:e[u]}:c.x=T(u).map((t=>e[t])),I(e[d])&&PS(e[d])?c.y={field:d,aggrType:e[d]}:c.y=T(d).map((t=>e[t]))}else if(i===`polar`){let{valueField:n,categoryField:r}=t.getSpec(),{angleFieldDim:i,angleFieldIndex:a}=e,s=r;_(a)&&(s=T(r)[a]),i&&T(r).includes(i)&&(s=i);let l=n;c=Object.assign({angle:void 0,radius:void 0},o),I(e[s])&&PS(e[s])?c.angle={field:s,aggrType:e[s]}:c.angle=T(s).map((t=>e[t])),I(e[l])&&PS(e[l])?c.radius={field:l,aggrType:e[l]}:c.radius=T(l).map((t=>e[t]))}return c.getRefRelativeSeries=()=>t,c}))}else n=t;let r=[];return n.forEach((t=>{let n={x:null,y:null,angle:null,radius:null,areaName:null};if(_(t.x)){let r=t.x;n.x=A(r)?r.map((n=>lC(n,e,t))):lC(r,e,t)}if(_(t.y)){let r=t.y;n.y=A(r)?r.map((n=>lC(n,e,t))):lC(r,e,t)}if(_(t.angle)){let r=t.angle;n.angle=A(r)?r.map((n=>lC(n,e,t))):lC(r,e,t)}if(_(t.radius)){let r=t.radius;n.radius=A(r)?r.map((n=>lC(n,e,t))):lC(r,e,t)}if(_(t.areaName)){let r=t.areaName;n.areaName=lC(r,e,t)}t.getRefRelativeSeries&&(n.getRefRelativeSeries=t.getRefRelativeSeries),r.push(n)})),r}function lC(e,t,n){let r=n.getRelativeSeries(),i=n.getStartRelativeSeries(),a=n.getEndRelativeSeries(),o=r.getData().getLatestData(),s=i.getData().getLatestData(),c=a.getData().getLatestData();if(M(e))return e(o,s,c,r,i,a);if(p(e)){let{aggrType:n,field:r}=e;return pC[n](t,{field:r})}return e}var uC,dC,fC,pC;function mC(){return(mC=e((()=>{C(),j(),c(),xe(),Tt(),y(),bo(),eC(),uC=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},dC=(e,t)=>{let n=e[0].latestData;return so(n,t.field)},fC=(e,t)=>{let n=e[0].latestData;return co(n,t.field)},pC={min:dC,max:fC,sum:rC,average:iC,variance:aC,standardDeviation:oC,median:sC}})))()}function hC(e,t){if(t&&t.getRelativeSeries){let n=t.getRelativeSeries();if(n){let t=n.getViewData();return t&&t.latestData&&t.latestData.length?e:[]}}return e}var gC,_C,vC,yC,bC;function xC(){return(xC=e((()=>{gC=e=>{let t=e?.dataSet?.dataViewMap;return t?Object.values(t).filter(Boolean):[]},_C=(e,t)=>{var n,r;(n=e?.target)==null||n.removeListener(`change`,t.reRunAllTransform),(r=e?.target)==null||r.removeListener(`markRunning`,t.markRunning)},vC=e=>{if(!e)return;gC(e).forEach((t=>{_C(t,e)}));let t=e?.rawData;Array.isArray(t)&&t.forEach((t=>{_C(t,e)}))},yC=e=>{let t=Array.from(new Set(e.filter(Boolean)));t.length&&(t.forEach(vC),t.forEach((e=>{var t;(t=e.destroy)==null||t.call(e)})))},bC=(e,t)=>{if(!e)return;let n=new Set(gC(e)),r=[],i=e=>{let a=e?.rawData;Array.isArray(a)&&a.forEach((e=>{n.has(e)&&t(e)&&!r.includes(e)&&(r.push(e),i(e))}))};i(e),yC([e,...r])}})))()}var SC,CC,wC,TC,EC,DC,OC,kC,AC,jC,MC,NC;function PC(){return(PC=e((()=>{f(),Ot(),C(),y(),E(),Tt(),Te(),_g(),ds(),eC(),wo(),Pa(),ip(),mC(),xC(),SC=`__vchart_marker_format_method__`,CC=`__vchart_marker_coordinate__`,wC=`__vchart_marker_text__`,TC=`__vchart_marker_auto_range__`,EC=`__vchart_marker_style__`,DC=[`coordinate`,`coordinates`,`x`,`y`,`x1`,`y1`,`angle`,`angle1`,`radius`,`radius1`],OC=[`position`,`positions`,`coordinatesOffset`,`regionRelative`],kC=[`offsetX`,`offsetY`,`confine`],AC=e=>Array.isArray(e)?e.map(AC):e&&typeof e==`object`&&typeof e.formatMethod==`function`?Object.assign(Object.assign({},e),{formatMethod:SC}):e,jC=e=>{if(Array.isArray(e))return e.map(jC);if(!e||typeof e!=`object`)return e;let t=Object.assign({},e);return Object.keys(t).forEach((e=>{e===`style`||e.endsWith(`Style`)?t[e]=EC:t[e]=jC(t[e])})),t},MC=(e,t)=>{if(!e||typeof e!=`object`)return e;let n=Object.assign({},e);t.normalizeDomainPosition&&DC.forEach((e=>{n[e]=CC})),t.normalizeAutoRange&&`autoRange`in n&&(n.autoRange=TC),OC.forEach((e=>{e in n&&(n[e]=CC)})),`label`in n&&(n.label=AC(n.label)),Object.keys(n).forEach((e=>{n[e]=jC(n[e])}));let r=n.itemContent;if(r&&typeof r==`object`){n.itemContent=Object.assign({},r),kC.forEach((e=>{e in n.itemContent&&(n.itemContent[e]=CC)}));let e=n.itemContent.text;e&&typeof e==`object`&&(n.itemContent.text=Object.assign(Object.assign({},AC(e)),{text:wC}))}return n},NC=class extends gg{constructor(){super(...arguments),this.layoutType=`none`,this._markerDataChangeHandler=null,this._markerDataOwned=!1,this._layoutOffsetX=0,this._layoutOffsetY=0}getRelativeSeries(){return this._relativeSeries}getMarkerData(){return this._markerData}static _getMarkerCoordinateType(e){return`cartesian`}static getSpecInfo(e){return rp(e,this.specKey,this.type,(e=>!1!==e.visible&&this._getMarkerCoordinateType(e)===this.coordinateType))}getMarkAttributeContext(){return this._markAttributeContext}_buildMarkerAttributeContext(){this._markAttributeContext={relativeSeries:this._relativeSeries,startRelativeSeries:this._startRelativeSeries,endRelativeSeries:this._endRelativeSeries,vchart:this._option.globalInstance}}created(){super.created(),this._bindSeries(),this._initDataView(),this.initEvent(),this._buildMarkerAttributeContext()}_getAllRelativeSeries(){return{getRelativeSeries:()=>this._relativeSeries,getStartRelativeSeries:()=>this._startRelativeSeries,getEndRelativeSeries:()=>this._endRelativeSeries}}_getAutoRangeExtendDomainKeyPrefix(){return`marker_${this.type}_${this.id}`}_getAutoRangeExtendDomainKey(e){return`${this._getAutoRangeExtendDomainKeyPrefix()}_${e}_extend`}_clearAutoRangeExtendDomain(){var e;T((e=this._option).getAllSeries?.call(e)).forEach((e=>{var t,n,r,i,a,o,s,c;(n=(t=(e?.getXAxisHelper)?.call(e))?.setExtendDomain)==null||n.call(t,this._getAutoRangeExtendDomainKey(`xAxis`),void 0),(i=(r=(e?.getYAxisHelper)?.call(e))?.setExtendDomain)==null||i.call(r,this._getAutoRangeExtendDomainKey(`yAxis`),void 0),(o=(a=e?.angleAxisHelper)?.setExtendDomain)==null||o.call(a,this._getAutoRangeExtendDomainKey(`angleAxis`),void 0),(c=(s=e?.radiusAxisHelper)?.setExtendDomain)==null||c.call(s,this._getAutoRangeExtendDomainKey(`radiusAxis`),void 0)}))}_updateMarkerLayout(){this._clearAutoRangeExtendDomain(),this._markerLayout()}_getFieldInfoFromSpec(e,t,n){return I(t)&&PS(t)?{field:n.getSpec()[{x:`xField`,y:`yField`,radius:`valueField`,angle:`categoryField`,areaName:`nameField`}[e]],aggrType:t}:t}_processSpecByDims(e){let t=this._relativeSeries,n={};return e.forEach((e=>n[e.dim]=this._getFieldInfoFromSpec(e.dim,e.specValue,t))),Object.assign(Object.assign({},n),this._getAllRelativeSeries())}_processSpecCoo(e){return Object.assign(Object.assign({coordinates:e.coordinates||e.coordinate},this._getAllRelativeSeries()),{getSeriesByIdOrIndex:(e,t)=>this._getSeriesByIdOrIndex(e,t),coordinateType:this.coordinateType})}_getRelativeDataView(){if(this._specifiedDataSeries){let e=[];T(this._specifiedDataSeries).forEach((t=>{e=e.concat(t.getViewData().latestData)}));let t=new ye;return t.registerParser(`array`,Na),new Fe(t).parse(e,{type:`array`})}return this._relativeSeries.getViewData()}_setMarkerData(e,t=!1){this._releaseMarkerData(),this._markerData=e,this._markerDataOwned=t}_bindMarkerDataChange(){var e;(e=this._markerData)!=null&&e.target&&(this._markerDataChangeHandler=()=>{this._updateMarkerLayout()},this._markerData.target.on(`change`,this._markerDataChangeHandler))}_releaseMarkerData(){let e=this._markerData;e!=null&&e.target&&this._markerDataChangeHandler&&e.target.removeListener(`change`,this._markerDataChangeHandler),this._markerDataChangeHandler=null,this._markerDataOwned&&bC(e,(e=>e.name===`${this.type}_${this.id}_data`)),this._markerData=null,this._markerDataOwned=!1}updateLayoutAttribute(){var e;if((e=this._spec.visible)==null||e){if(!this._markerComponent){let e=this._createMarkerComponent();e.name=this._spec.name??this.type,e.id=this._spec.id??`${this.type}-${this.id}`,this._markerComponent=e,this.getContainer().add(this._markerComponent),this._markerComponent.on(`*`,((e,t)=>{this._delegateEvent(this._markerComponent,e,t,null,this.getMarkerData.bind(this))}))}this._updateMarkerLayout()}super.updateLayoutAttribute()}_getSeriesByIdOrIndex(e,t){let n;return n=this._option.getSeriesInUserIdOrIndex(_(e)?[e]:[],[t])?.[0],n||=this._relativeSeries??this._getFirstSeries(),n}_bindSeries(){let e=this._spec;this._relativeSeries=this._getSeriesByIdOrIndex(e.relativeSeriesId,e.relativeSeriesIndex),this._startRelativeSeries=this._getSeriesByIdOrIndex(e.startRelativeSeriesId,e.startRelativeSeriesIndex),this._endRelativeSeries=this._getSeriesByIdOrIndex(e.endRelativeSeriesId,e.endRelativeSeriesIndex),e.specifiedDataSeriesIndex&&e.specifiedDataSeriesIndex===`all`||e.specifiedDataSeriesId&&e.specifiedDataSeriesId===`all`?this._specifiedDataSeries=this._option.getAllSeries():(e.specifiedDataSeriesIndex||e.specifiedDataSeriesId)&&(this._specifiedDataSeries=this._getSeriesByIdOrIndex(e.specifiedDataSeriesId,e.specifiedDataSeriesIndex))}initEvent(){this._relativeSeries.coordinate!==`cartesian`&&(this._relativeSeries.event.on(`zoom`,this._updateMarkerLayout.bind(this)),this._relativeSeries.event.on(`panmove`,this._updateMarkerLayout.bind(this)),this._relativeSeries.event.on(`scroll`,this._updateMarkerLayout.bind(this)))}clear(){super.clear(),this._markerComponent=null,this._firstSeries=null}release(){this._releaseMarkerData(),super.release()}_getFirstSeries(){var e;if(this._firstSeries)return this._firstSeries;let t=Co(this._regions);return t?(this._firstSeries=t,t):((e=this._option)==null||e.onError(`need at least one series`),null)}_getNeedClearVRenderComponents(){return[this._markerComponent]}onLayoutStart(e,t){N(this._spec.offsetX)||(this._layoutOffsetX=as(this._spec.offsetX,t.width,t)),N(this._spec.offsetY)||(this._layoutOffsetY=as(this._spec.offsetY,t.height,t)),super.onLayoutStart(e,t)}_compareSpec(e,t){let n=super._compareSpec(e,t);return O(t,e)||(n.reRender=!0,n.change=!0,n.reMake||n.reCompile||!this._isComponentOnlySpecChange(e,t)?n.reMake||n.reCompile||!this._isAutoRangeSpecChange(e,t)?n.reMake=!0:n.effects=Object.assign(Object.assign({},n.effects),{component:!0,scaleDomain:!0,layout:!0,render:!0}):n.effects=Object.assign(Object.assign({},n.effects),{component:!0,layout:!0,render:!0})),n}_isComponentOnlySpecChange(e,t){let n=!e?.autoRange&&!t?.autoRange;return O(MC(t,{normalizeDomainPosition:n}),MC(e,{normalizeDomainPosition:n}))}_isAutoRangeSpecChange(e,t){return!(!e?.autoRange&&!t?.autoRange)&&O(MC(t,{normalizeDomainPosition:!0,normalizeAutoRange:!0}),MC(e,{normalizeDomainPosition:!0,normalizeAutoRange:!0}))}reInit(e){super.reInit(e),this._releaseMarkerData(),this._bindSeries(),this._initDataView(),this._buildMarkerAttributeContext(),this._markerComponent&&this._updateMarkerLayout()}_initCommonDataView(){let{options:e}=this._computeOptions(),t=this._getRelativeDataView();X(this._option.dataSet,`markerAggregation`,cC),X(this._option.dataSet,`markerFilter`,hC),this._releaseMarkerData();let n=new Fe(this._option.dataSet,{name:`${this.type}_${this.id}_data`});n.parse([t],{type:`dataview`}),n.transform({type:`markerAggregation`,options:e}),n.transform({type:`markerFilter`,options:this._getAllRelativeSeries()}),this._setMarkerData(n,!0),this._bindMarkerDataChange()}}})))()}function FC(e,t){let n=e[0].latestData;return ho(n,t.fieldX,t.fieldY)}function IC(){return(IC=e((()=>{bo()})))()}var LC;function RC(){return(RC=e((()=>{Ot(),mC(),eC(),el(),PC(),IC(),xu(),C(),LC=class extends NC{constructor(){super(...arguments),this.specKey=`markLine`,this.layoutZIndex=yu.MarkLine}static _getMarkerCoordinateType(e){let{doAngleProcess:t,doRadiusProcess:n,doAngRadRad1Process:r,doRadAngAng1Process:i,doRadAngProcess:a}=XS(e);return e.coordinateType===`polar`||t||n||r||i||a?`polar`:`cartesian`}_createMarkerComponent(){var e,t,n,r,i;let{startSymbol:a={},endSymbol:o={}}=this._spec,s=T(this._spec.label??{}),c={zIndex:this.layoutZIndex,interactive:(e=this._spec.interactive)==null||e,hover:(t=this._spec.interactive)==null||t,select:(n=this._spec.interactive)==null||n,points:[{x:0,y:0},{x:0,y:0}],center:{x:0,y:0},radius:0,startAngle:0,endAngle:0,lineStyle:KS(G(this._spec.line?.style),this._markerData,this._markAttributeContext),clipInRange:(r=this._spec.clip)!=null&&r,label:s.map((e=>WS(e,this._markerData,this._markAttributeContext))),state:{line:GS(this._spec.line?.state??{},this._markerData,this._markAttributeContext),lineStartSymbol:GS(this._spec.startSymbol?.state??{},this._markerData,this._markAttributeContext),lineEndSymbol:GS(this._spec.endSymbol?.state??{},this._markerData,this._markAttributeContext),label:s.map((e=>GS(e.state??{},this._markerData,this._markAttributeContext))),labelBackground:s.map((e=>GS(e.labelBackground?.state??{},this._markerData,this._markAttributeContext)))},animation:(i=this._spec.animation)!=null&&i,animationEnter:this._spec.animationEnter,animationExit:this._spec.animationExit,animationUpdate:this._spec.animationUpdate};return c.startSymbol=a.visible?Object.assign(Object.assign({},a),{visible:!0,style:KS(G(a.style),this._markerData,this._markAttributeContext)}):{visible:!1},c.endSymbol=o.visible?Object.assign(Object.assign({},o),{visible:!0,style:KS(G(o.style),this._markerData,this._markAttributeContext)}):{visible:!1},this._newMarkLineComponent(c)}_getUpdateMarkerAttrs(){let e=this._spec,t=this._markerData,n=this._startRelativeSeries,r=this._endRelativeSeries,i=this._relativeSeries,a=this._computePointsAttr(),o=i.getViewData().latestData,s=t.latestData[0]&&t.latestData[0].latestData?t.latestData[0].latestData:t.latestData,c;if(e.clip||T(e.label).some((e=>e?.confine))){let{minX:e,maxX:t,minY:a,maxY:o}=US([n.getRegion(),r.getRegion(),i.getRegion()]);c={x:e,y:a,width:t-e,height:o-a}}let l=this._markerComponent?.attribute??{},u=T(l.label),d=T(this._spec.label),f=u.map(((e,t)=>{let n=d[t]||{};return Object.assign(Object.assign({},e),{text:n.formatMethod?n.formatMethod(s,o):e?.text})}));return Object.assign(Object.assign({},a),{label:f,limitRect:c,dx:this._layoutOffsetX,dy:this._layoutOffsetY})}_markerLayout(){var e;let t=this._getUpdateMarkerAttrs();(e=this._markerComponent)==null||e.setAttributes(t)}_initDataView(){let e=this._spec,t=`coordinates`in e,{doXProcess:n,doYProcess:r,doXYY1Process:i,doYXX1Process:a,doXYProcess:o,doAngleProcess:s,doRadiusProcess:c,doAngRadRad1Process:l,doRadAngAng1Process:u,doRadAngProcess:d}=XS(e);if(this._setMarkerData(this._getRelativeDataView()),!(n||r||i||a||o||s||c||l||u||d||t))return;X(this._option.dataSet,`markerAggregation`,cC),X(this._option.dataSet,`markerRegression`,FC),X(this._option.dataSet,`markerFilter`,hC);let{options:f,needAggr:p,needRegr:m,processData:h}=this._computeOptions(),g=new Fe(this._option.dataSet);g.parse([h],{type:`dataview`}),p&&g.transform({type:`markerAggregation`,options:f}),m&&g.transform({type:`markerRegression`,options:f}),g.transform({type:`markerFilter`,options:this._getAllRelativeSeries()}),this._setMarkerData(g,!0),this._bindMarkerDataChange()}},LC.specKey=`markLine`})))()}var zC;function BC(){return(BC=e((()=>{zC=()=>({style:{fontSize:{type:`token`,key:`l4FontSize`},fontWeight:`normal`,fontStyle:`normal`,fill:{type:`palette`,key:`primaryFontColor`}},labelBackground:{padding:{top:2,bottom:2,right:4,left:4},style:{cornerRadius:3,fill:{type:`palette`,key:`markLabelBackgroundColor`}}}})})))()}var VC,HC,UC;function WC(){return(WC=e((()=>{BC(),VC=e=>({visible:e,symbolType:`triangle`,size:10,style:{fill:{type:`palette`,key:`markLineStrokeColor`},stroke:null,lineWidth:0}}),HC=zC(),HC.refY=5,UC={line:{style:{lineDash:[3,3],stroke:{type:`palette`,key:`markLineStrokeColor`}}},startSymbol:VC(!1),endSymbol:VC(!0),label:HC}})))()}var GC,KC;function qC(){return(qC=e((()=>{Ot(),V(),eC(),ia(),C(),c(),y(),Be(),U(),ds(),RC(),WC(),GC=class extends LC{constructor(){super(...arguments),this.type=B.markLine,this.name=B.markLine,this.coordinateType=`cartesian`}_newMarkLineComponent(e){return new Gt(e)}_computePointsAttr(){var e;let t=this._spec,n=this._markerData,r=this._startRelativeSeries,i=this._endRelativeSeries,a=this._relativeSeries,o=_(t.coordinates),s=_(t.process),c=s&&_(t.process.x),l=s&&_(t.process.y),u=_(t.positions),d=(e=t.autoRange)!=null&&e,{doXProcess:f,doYProcess:p,doXYY1Process:m,doYXX1Process:h,doXYProcess:g,doCoordinatesProcess:ee}=XS(t),v=[];if(f||m||p||h||g||o&&c||o&&l){let e=FS(n,r,i,a,d,!1,this._getAutoRangeExtendDomainKeyPrefix());v=e.length===1?e[0]:e.map((e=>e[0]))}else ee?v=BS(n,a,d,t.coordinatesOffset,this._getAutoRangeExtendDomainKeyPrefix()):u&&(v=HS(t.positions,a,t.regionRelative));return{points:v}}_markerLayout(){var e,t,n,r;let i=this._getUpdateMarkerAttrs();if(this._spec.type===`type-step`){let r=this._startRelativeSeries,a=this._endRelativeSeries,{multiSegment:o,mainSegmentIndex:s}=this._spec.line||{},{connectDirection:c}=this._spec,{expandDistance:l=0}=this._spec,{points:u,limitRect:d}=i,f=T(u).filter(Boolean);if(M(l)){let t=(r?.getRegion)?.call(r),n=(a?.getRegion)?.call(a);l=l(this._markerData,Object.assign(Object.assign({},this.getMarkAttributeContext()),{region:((e=this._relativeSeries)?.getRegion)?.call(e),startRegion:t,endRegion:n,coordinatePoints:f}))}let p;if(rs(l)){let e=r.getRegion(),t=e.getLayoutStartPoint(),n=a.getRegion(),i=n.getLayoutStartPoint();if(c===`bottom`||c===`top`){let r=Math.abs(Math.min(t.y,i.y)-Math.max(t.y+e.getLayoutRect().height,i.y+n.getLayoutRect().height));p=Number(l.substring(0,l.length-1))*r/100}else{let r=Math.abs(Math.min(t.x,i.x)-Math.max(t.x+e.getLayoutRect().width,i.x+n.getLayoutRect().width));p=Number(l.substring(0,l.length-1))*r/100}}else p=l;if(!u||u.length<2)return void((t=this._markerComponent)==null||t.setAttributes(i));let m=tC(u[0],u[1],c,p),h;h=o&&_(s)?{position:`middle`,autoRotate:!1}:Object.assign({position:`start`,autoRotate:!1},nC(u[0],u[1],c,p));let g=this._markerComponent?.attribute??{},ee=T(g.label),v=T(i.label),y=T(this._spec.label);(n=this._markerComponent)==null||n.setAttributes({points:o?[[m[0],m[1]],[m[1],m[2]],[m[2],m[3]]]:m,label:v.map(((e,t)=>{let n=0,r=0,i=h.dx??0,a=h.dy??0,o=y[t]??y[0];return P(o?.refX)&&(n+=o.refX),P(o?.refY)&&(r+=o.refY),P(o?.dx)&&(i+=o.dx),P(o?.dy)&&(a+=o.dy),Object.assign(Object.assign(Object.assign({},e),h),{refX:n,refY:r,dx:i,dy:a,textStyle:Object.assign(Object.assign({},ee[t]?.textStyle),{textAlign:`center`,textBaseline:`middle`})})})),limitRect:d,multiSegment:o,mainSegmentIndex:s,dx:this._layoutOffsetX,dy:this._layoutOffsetY})}else(r=this._markerComponent)==null||r.setAttributes(i)}_computeOptions(){let e,t=this._getRelativeDataView(),n=!0,r=!1,i=this._spec,a=this._relativeSeries,{doXProcess:o,doYProcess:s,doXYY1Process:c,doYXX1Process:l,doXYProcess:u,doCoordinatesProcess:d}=XS(i);if(u)e=[this._processSpecByDims([{dim:`x`,specValue:i.x},{dim:`y`,specValue:i.y}]),this._processSpecByDims([{dim:`x`,specValue:i.x1},{dim:`y`,specValue:i.y1}])];else if(o)e=[this._processSpecByDims([{dim:`x`,specValue:i.x}])];else if(s)e=[this._processSpecByDims([{dim:`y`,specValue:i.y}])];else if(c)e=[this._processSpecByDims([{dim:`x`,specValue:i.x},{dim:`y`,specValue:i.y}]),this._processSpecByDims([{dim:`x`,specValue:i.x},{dim:`y`,specValue:i.y1}])];else if(l)e=[this._processSpecByDims([{dim:`x`,specValue:i.x},{dim:`y`,specValue:i.y}]),this._processSpecByDims([{dim:`x`,specValue:i.x1},{dim:`y`,specValue:i.y}])];else if(d){if(e=this._processSpecCoo(i),n=!1,t=new Fe(this._option.dataSet,{name:`${this.type}_${this.id}_data`}).parse([a.getViewData()],{type:`dataview`}).transform({type:`markerAggregation`,options:e}),i.process&&_(i.process.x)&&(e=[this._processSpecByDims([{dim:`x`,specValue:i.process.x}])],n=!0),i.process&&_(i.process.y)&&(e=e=[this._processSpecByDims([{dim:`y`,specValue:i.process.y}])],n=!0),i.process&&_(i.process.xy)){let{xField:t,yField:n}=a.getSpec();e={fieldX:t,fieldY:n},r=!0}}else n=!1;return{options:e,needAggr:n,needRegr:r,processData:t}}},GC.type=B.markLine,GC.coordinateType=`cartesian`,GC.builtInTheme={markLine:UC},KC=()=>{H.registerComponent(GC.type,GC),tr()}})))()}var JC;function YC(){return(YC=e((()=>{JC={padding:{top:4,bottom:20},textStyle:{fontSize:{type:`token`,key:`l3FontSize`},lineHeight:{type:`token`,key:`l3LineHeight`},fill:{type:`palette`,key:`primaryFontColor`}},subtextStyle:{fontSize:{type:`token`,key:`l4FontSize`},lineHeight:{type:`token`,key:`l4LineHeight`},fill:{type:`palette`,key:`tertiaryFontColor`}}}})))()}var XC,ZC;function QC(){return(QC=e((()=>{xu(),U(),ds(),_g(),V(),Lr(),Te(),Be(),ne(),y(),E(),ip(),YC(),XC=class extends gg{get orient(){return this._orient}constructor(e,t){super(e,t),this.type=B.title,this.specKey=B.title,this.layoutType=`normal`,this.layoutZIndex=yu.Title,this.layoutLevel=bu.Title,this._orient=`top`,this._orient=ns(e.orient)?e.orient:`top`}initLayout(){super.initLayout(),this._layout&&(this._layout.layoutOrient=this._orient)}static getSpecInfo(e){return rp(e,this.specKey,B.title,(e=>!1!==e.visible))}_compareSpec(e,t){let n=super._compareSpec(e,t),r=!O(t,e);return t?.orient===e?.orient&&t?.visible===e.visible||(n.reMake=!0),n.change=!0,n.reRender=!0,r&&!n.reMake&&(n.effects=Object.assign(Object.assign({},n.effects),{component:!0,layout:!0,render:!0})),n}afterSetLayoutStartPoint(e){P(e.x)&&this._titleComponent&&this._titleComponent.setAttribute(`x`,e.x),P(e.y)&&this._titleComponent&&this._titleComponent.setAttribute(`y`,e.y),super.afterSetLayoutStartPoint(e)}getBoundsInRect(e){let t={};this.setLayoutRect(e);let n=this._getTitleAttrs();this._createOrUpdateTitleComponent(n),t=this._getTitleLayoutRect();let{x:r,y:i}=this.getLayoutStartPoint();return{x1:r,y1:i,x2:r+t.width,y2:i+t.height}}_calcSpecSize(e,t){if(N(e))return;let n=this._option.getChartViewRect();return as(e,t?n.width:n.height,n)}_getTitleLayoutRect(){let e=this._titleComponent.AABBBounds,t=this._calcSpecSize(this._spec.width,!0),n=this._calcSpecSize(this._spec.height,!1);return{width:t||(P(e.width())?e.width():0),height:n||(P(e.height())?e.height():0)}}_getTitleAttrs(){if(!1===this._spec.visible)return{visible:!1};let e=this.getLayoutRect(),t=this._calcSpecSize(this._spec.width,!0),n=this._calcSpecSize(this._spec.maxWidth,!0),r=Math.max(Math.min(t??e.width,n??e.width,e.width),0),i=_(this._spec.text)&&this._spec.text!==``,a=_(this._spec.subtext)&&this._spec.subtext!==``,o=Object.assign(Object.assign({},se(this._spec,[`padding`])),{textType:this._spec.textType??`text`,text:i?this._spec.text:void 0,subtextType:this._spec.subtextType??`text`,subtext:a?this._spec.subtext:void 0,x:this._spec.x??0,y:this._spec.y??0,width:t,height:this._calcSpecSize(this._spec.height,!1),minWidth:this._calcSpecSize(this._spec.minWidth,!0),maxWidth:r,minHeight:this._calcSpecSize(this._spec.minHeight,!1),maxHeight:this._calcSpecSize(this._spec.maxHeight,!1),padding:this._spec.innerPadding,align:this._spec.align??`left`,verticalAlign:this._spec.verticalAlign??`top`,textStyle:Object.assign({maxLineWidth:r},this._spec.textStyle),subtextStyle:Object.assign({maxLineWidth:r},this._spec.subtextStyle)});if(i&&(o.textStyle.width=r),a&&(o.subtextStyle.width=r),_(this._spec.width)){let n=Math.max(Math.min(t,e.width),0);i?o.textStyle.width=n:delete o.textStyle.width,a&&(o.subtextStyle.width=n)}return o}_createOrUpdateTitleComponent(e){if(this._titleComponent)O(e,this._cacheAttrs)||this._titleComponent.setAttributes(e);else{let t=this.getContainer(),n=new Ui(e);n.name=`title`,t.add(n),this._titleComponent=n,n.on(`*`,((e,t)=>this._delegateEvent(n,e,t)))}return this._cacheAttrs=e,this._titleComponent}_getNeedClearVRenderComponents(){return[this._titleComponent]}clear(){super.clear(),this._cacheAttrs=null}},XC.type=B.title,XC.specKey=B.title,XC.builtInTheme={title:JC},ZC=()=>{H.registerComponent(XC.type,XC)}})))()}var $C;function ew(){return(ew=e((()=>{eC(),el(),PC(),xu(),C(),$C=class extends NC{constructor(){super(...arguments),this.specKey=`markArea`,this.layoutZIndex=yu.MarkArea}static _getMarkerCoordinateType(e){let{doAngleProcess:t,doRadiusProcess:n,doRadAngProcess:r}=ZS(e);return e.coordinateType===`polar`||t||n||r?`polar`:`cartesian`}_createMarkerComponent(){var e,t,n,r,i;let a=T(this._spec.label??{}),o={zIndex:this.layoutZIndex,interactive:(e=this._spec.interactive)==null||e,hover:(t=this._spec.interactive)==null||t,select:(n=this._spec.interactive)==null||n,points:[{x:0,y:0}],center:{x:0,y:0},innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,areaStyle:KS(G(this._spec.area?.style),this._markerData,this._markAttributeContext),clipInRange:(r=this._spec.clip)!=null&&r,label:a.map((e=>WS(e,this._markerData,this._markAttributeContext))),state:{area:GS(this._spec.area?.state,this._markerData,this._markAttributeContext),label:a.map((e=>GS(e.state,this._markerData,this._markAttributeContext))),labelBackground:a.map((e=>GS(e.labelBackground?.state,this._markerData,this._markAttributeContext)))},animation:(i=this._spec.animation)!=null&&i,animationEnter:this._spec.animationEnter,animationExit:this._spec.animationExit,animationUpdate:this._spec.animationUpdate};return this._newMarkAreaComponent(o)}_markerLayout(){let e=this._spec,t=this._markerData,n=this._startRelativeSeries,r=this._endRelativeSeries,i=this._relativeSeries,a=this._computePointsAttr(),o=this._getRelativeDataView().latestData,s=t?t.latestData[0]&&t.latestData[0].latestData?t.latestData[0].latestData:t.latestData:o,c;if(e.clip||T(e.label).some((e=>e?.confine))){let{minX:e,maxX:t,minY:a,maxY:o}=US([n.getRegion(),r.getRegion(),i.getRegion()]);c={x:e,y:a,width:t-e,height:o-a}}if(this._markerComponent){let e=T(this._markerComponent.attribute?.label),t=T(this._spec.label);this._markerComponent.setAttributes(Object.assign(Object.assign({},a),{label:e.map(((e,n)=>{let r=t[n]||{};return Object.assign(Object.assign({},e),{text:r.formatMethod?r.formatMethod(s,o):e?.text})})),limitRect:c,dx:this._layoutOffsetX,dy:this._layoutOffsetY}))}}_initDataView(){let e=this._spec,{doXProcess:t,doYProcess:n,doXYProcess:r,doAngleProcess:i,doRadiusProcess:a,doRadAngProcess:o,doCoordinatesProcess:s}=ZS(e);if(!(t||n||r||i||a||o||s))return null;this._initCommonDataView()}},$C.specKey=`markArea`})))()}var tw;function nw(){return(nw=e((()=>{BC(),tw={area:{style:{fill:{type:`palette`,key:`axisDomainColor`,a:.25}}},label:zC()}})))()}var rw,iw;function aw(){return(aw=e((()=>{V(),eC(),ca(),y(),U(),ew(),nw(),rw=class extends $C{constructor(){super(...arguments),this.type=B.markArea,this.name=B.markArea,this.coordinateType=`cartesian`}_newMarkAreaComponent(e){return new Nr(e)}_computePointsAttr(){var e,t;let n=this._spec,r=this._markerData,i=this._startRelativeSeries,a=this._endRelativeSeries,o=this._relativeSeries,{doXProcess:s,doYProcess:c,doXYProcess:l,doCoordinatesProcess:u}=ZS(n),d=_(n.positions),f=(e=n.autoRange)!=null&&e,p=(t=n.includeFullBand)!=null&&t,m=[],h=[];if(l){h=FS(r,i,a,o,f,p,this._getAutoRangeExtendDomainKeyPrefix());let[e,t]=h;e&&e.length&&t&&t.length&&(m=[{x:e[0].x,y:t[0].y},e[0],{x:t[0].x,y:e[0].y},t[0]])}else if(s||c){h=FS(r,i,a,o,f,p,this._getAutoRangeExtendDomainKeyPrefix());let[e,t]=h;e&&e.length&&t&&t.length&&(m=[...e,t[1],t[0]])}else u?m=BS(r,o,f,n.coordinatesOffset,this._getAutoRangeExtendDomainKeyPrefix()):d&&(m=HS(n.positions,o,n.regionRelative));return{points:m}}_computeOptions(){let e=this._spec,{doXProcess:t,doYProcess:n,doXYProcess:r,doCoordinatesProcess:i}=ZS(e),a;return r?a=[this._processSpecByDims([{dim:`x`,specValue:e.x},{dim:`y`,specValue:e.y}]),this._processSpecByDims([{dim:`x`,specValue:e.x1},{dim:`y`,specValue:e.y1}])]:t?a=[this._processSpecByDims([{dim:`x`,specValue:e.x}]),this._processSpecByDims([{dim:`x`,specValue:e.x1}])]:n?a=[this._processSpecByDims([{dim:`y`,specValue:e.y}]),this._processSpecByDims([{dim:`y`,specValue:e.y1}])]:i&&(a=this._processSpecCoo(e)),{options:a}}},rw.type=B.markArea,rw.coordinateType=`cartesian`,rw.builtInTheme={markArea:tw},iw=()=>{H.registerComponent(rw.type,rw),Zn()}})))()}var ow;function sw(){return(sw=e((()=>{_g(),V(),xu(),C(),Te(),E(),xe(),nd(),Go(),ow=class extends gg{constructor(e,t){super(e,t),this.type=B.label,this.name=B.label,this.layoutType=`none`,this.layoutZIndex=yu.Label,this._regions=t.getRegionsInIndex(t.regionIndexes)}_interactiveConfig(e){let{interactive:t}=e,n={hover:!1,select:!1,state:e.state};if(!0!==t)return n;let{hover:r,select:i}=this._option.getChart().getSpec();return!1===r&&!1===r.enable||(n.hover=!0),!1===i&&!1===i.enable||(n.select=!0),n}_compareSpec(e,t){let n=super._compareSpec(e,t);return n.reRender=!0,O(t,e)||(n.change=!0,n.reMake||n.reCompile?n.reMake=!0:n.effects=Object.assign(Object.assign({},n.effects),{component:!0,layout:!0,render:!0})),n}_getDataLabelType(e,t){let n=e.type;return n===`line`||n===`area`?t??`line-data`:n===`rect`?`rect`:n===`arc`?`arc`:n===`symbol`||n===`cell`?`symbol`:e.setDataLabelType?e.setDataLabelType():``}_setTransformOfComponent(e,t){e.setAttributeTransform((({labelStyle:e,size:n,itemEncoder:r})=>{let i=n(),a=Wo({type:`palette`,key:`secondaryFontColor`},this.getColorScheme());return{dataLabels:T(t).map(((t,n)=>{let o=e(n),s=[],c=t.getGraphics();if(c)return o.data&&o.data.length?o.data.forEach(((e,t)=>{if(c[t]){let t=r(e,{labelIndex:n});N(t.fill)&&(t.fill=a),N(t.data)&&(t.data=e),s.push(t)}})):c.forEach((e=>{let{data:t,diffState:i}=e.context;i!==td.exit&&t.forEach(((e,{})=>{let t=r(e,{labelIndex:n});N(t.fill)&&(t.fill=a),N(t.data)&&(t.data=e),s.push(t)}))})),p(o.overlap)&&N(o.overlap.size)&&(o.overlap.size=Object.assign({},i)),Object.assign(Object.assign({smartInvert:!1,baseMarkGroupName:t.getProductId(),getBaseMarks:()=>c},o),{type:this._getDataLabelType(t,o.type),data:s})})),size:i}}))}getVRenderComponents(){let e=[];return this.getMarks().forEach((t=>{let n=t.getComponent();n&&e.push(n)})),e}clear(){super.clear(),this.getMarks().forEach((e=>{e&&e.clearComponent()}))}},ow.type=B.label})))()}var cw,lw;function uw(){return(uw=e((()=>{U(),pb(),cw=class extends db{constructor(){super(...arguments),this.skipEncode=!1}getRule(){return this._rule}setRule(e){this._rule=e}getTarget(){return this._target}setTarget(e){this._target=e,this._rule||this.setRule(e.type)}getComponent(){return this._component}setComponent(e){this._component=e}render(){}},cw.type=`text`,cw.constructorType=`label`,lw=()=>{fb(),H.registerMark(cw.constructorType,cw)}})))()}var dw;function fw(){return(fw=e((()=>{mg(),dw=class extends pg{_initTheme(e,t){return{spec:e,theme:this._theme}}}})))()}var pw,mw;function hw(){return(hw=e((()=>{V(),Ac(),Y(),Su(),xu(),yi(),wo(),sb(),Cg(),sw(),C(),j(),c(),y(),ne(),U(),uw(),fw(),mi(),pw=class extends ow{constructor(e,t){super(e,t),this.type=B.label,this.name=B.label,this.specKey=`label`,this.transformerConstructor=dw,this.layoutZIndex=yu.Label,this._layoutRule=e.labelLayout||`series`}static getSpecInfo(e,t){let n=[];return(t?.region||[]).forEach(((r,i)=>{(r.seriesIndexes||[]).some((e=>{let{markLabelSpec:n={}}=t.series[e];return Object.values(n).some((e=>Array.isArray(e)&&(e=>e.some((e=>e.visible)))(e)))}))&&n.push({spec:e,type:B.label,specInfoPath:[`component`,this.specKey,i],regionIndexes:[i]})})),n}init(e){super.init(e),this.initEvent(),this._initTextMark(),this._initLabelComponent(),this._initTextMarkStyle()}reInit(e){super.reInit(e),this._labelInfoMap&&(this._labelInfoMap.forEach((e=>{e.forEach((({labelMark:e})=>{e.release()}))})),this._labelInfoMap.clear()),this._labelInfoMap&&this._labelInfoMap.clear(),this._initTextMark(),this._initLabelComponent(),this._initTextMarkStyle()}initEvent(){this.event.on(K.dataZoomChange,(()=>{this._labelComponentMap.forEach(((e,t)=>{let n=t.getComponent();n&&n.disableAnimation()})),this.event.on(ll.AFTER_MARK_RENDER_END,e)}));let e=()=>{this._labelComponentMap.forEach(((e,t)=>{let n=t.getComponent();n&&n.enableAnimation()})),this.event.off(ll.AFTER_MARK_RENDER_END,e)}}_initTextMark(){this._labelInfoMap||=/* @__PURE__ */ new Map,this._labelComponentMap||=/* @__PURE__ */ new Map,xo(this._regions,(e=>{let{markLabelSpec:t={}}=e.getSpecInfo(),n=Object.keys(t),r=e.getRegion();this._labelInfoMap.get(r)||this._labelInfoMap.set(r,[]);for(let i=0;i<n.length;i++){let a=n[i],o=e.getMarkInName(a);o&&t[a].forEach(((t,n)=>{var i;if(t.visible){let s=this._labelInfoMap.get(r),c=this._createMark({type:`label`,name:`${e.userId??e.id}-${a}-label-${n}`},{attributeContext:e.getMarkAttributeContext()});t.showRelatedMarkTooltip&&((i=e.tooltipHelper?.activeTriggerSet.mark)==null||i.add(c)),c.setTarget(o),s.push({labelMark:c,baseMark:o,series:e,labelSpec:t})}}))}}))}_initLabelComponent(){let e={};this._labelComponentMap.forEach(((t,n)=>{e[n.name]=n})),this._labelInfoMap.forEach(((t,n)=>{if(this._layoutRule===`region`){let r=!1,i=`${n.getGroupMark().name}-label-component`,a=e[i];a||=(r=!0,this._createMark({type:`component`,name:i},{componentType:`label`},{support3d:this._spec.support3d})),a&&(r&&(a.setSkipBeforeLayouted(!0),this._marks.addMark(a),t.forEach((e=>{var t;(t=e.baseMark.getData())==null||t.addRelatedMark(a)}))),t[0]&&_(t[0].labelSpec.zIndex)&&a.setMarkConfig({zIndex:t[0].labelSpec.zIndex}),this._labelComponentMap.set(a,(()=>this._labelInfoMap.get(n))),e[i]=null)}else t.forEach(((t,r)=>{var i;let a=!1,o=`${t.labelMark.name}-component`,s=e[o];s||=(a=!0,this._createMark({type:`component`,name:o},{componentType:`label`,noSeparateStyle:!0},{support3d:t.baseMark.getMarkConfig().support3d})),s&&(_(t.labelSpec.zIndex)&&s.setMarkConfig({zIndex:t.labelSpec.zIndex}),a&&(s.setSkipBeforeLayouted(!0),this._marks.addMark(s),(i=t.baseMark.getData())==null||i.addRelatedMark(s)),this._labelComponentMap.set(s,(()=>this._labelInfoMap.get(n)[r])),e[o]=null)}))})),Object.keys(e).forEach((t=>{let n=e[t];n&&(n.releaseWithExitAnimation()||n.release(),this._labelComponentMap.delete(n))}))}_initTextMarkStyle(){this._labelComponentMap.forEach(((e,t)=>{T(e()).forEach((({labelMark:e})=>{e.setComponent(t)}))})),this._labelInfoMap.forEach((e=>{e.forEach((e=>{var t;let{labelMark:n,labelSpec:r,series:i}=e;this.initMarkStyleWithSpec(n,r),M(r?.getStyleHandler)&&r.getStyleHandler(i)?.call(i,n,r),(t=n.stateStyle?.normal)!=null&&t.lineWidth&&n.setAttribute(`stroke`,i.getColorAttribute(),`normal`,Z.Base_Series)}))}))}updateLayoutAttribute(){super.updateLayoutAttribute(),this._labelComponentMap.forEach(((e,t)=>{let n=e();A(n)?this._updateMultiLabelAttribute(n,t):this._updateSingleLabelAttribute(n,t)}))}_updateMultiLabelAttribute(e,t){this._updateLabelComponentAttribute(t,e.map((({baseMark:e})=>e)),e)}_updateSingleLabelAttribute(e,t){let{baseMark:n}=e;this._updateLabelComponentAttribute(t,n,[e])}_updateLabelComponentAttribute(e,t,n){let r=this._option.getComponentsByType(`totalLabel`);e.setMarkConfig({interactive:!1}),e.setSimpleStyle({labelStyle:e=>{let t=n[e],{labelSpec:i,labelMark:a,series:o}=t,s=a.getRule(),c=this._interactiveConfig(i),l=this._spec?.centerOffset??0,u=R({textStyle:Object.assign({pickable:!0===i.interactive},i.style),overlap:{avoidMarks:r.map((e=>e.getMarks()[0].getProductId()))}},Vy(s,t),Object.assign(Object.assign(Object.assign({},se(i,[`position`,`style`,`state`,`type`,`stackDataFilterType`,`getStyleHandler`])),c),{centerOffset:l}),i.stackDataFilterType?{dataFilter:i.stackDataFilterType===`min`?e=>e.filter((e=>e.data[Oc])):e=>e.filter((e=>e.data[Dc]))}:{});return o&&o.parseLabelStyle&&(u=o.parseLabelStyle(u,i,a)),s!==`line`&&s!==`area`||(u.type=s),u},size:()=>Object.assign({padding:n[0].labelSpec.overlap?.padding},n[0].series.getRegion().getLayoutRect()),itemEncoder:(e,{labelIndex:t})=>n[t]&&!n[t].labelMark.skipEncode?Hy(n[t],e,n[t].labelSpec.formatMethod,n[t].labelSpec.formatter):{data:e}}),this._setTransformOfComponent(e,t)}compileMarks(){this.getMarks().forEach((e=>{let t=this._labelComponentMap.get(e)(),n;n=A(t)?t[0].series.getRegion().getGroupMark().getProduct():t.series.getRegion().getGroupMark().getProduct(),e.compile({group:n})}))}getLabelInfoByTextGraphic(e){let t,n=e?.parent,r=n?.parent;if(r){let e=r.getChildren().indexOf(n);this._labelComponentMap.forEach(((n,i)=>{i.getComponent()===r&&(t=T(n())[e])}))}return t}},pw.type=B.label,pw.specKey=`label`,pw.transformerConstructor=dw,mw=()=>{H.registerGraphicComponent(pw.type,(e=>new Ln(e))),lw(),Sg(),H.registerComponent(pw.type,pw,!0,1/0)}})))()}var gw;function _w(){return(_w=e((()=>{gw={visible:!1,offset:5,overlap:{clampForce:!0,strategy:[]},smartInvert:!1,animation:!1,style:{fontSize:{type:`token`,key:`l4FontSize`},fill:{type:`palette`,key:`primaryFontColor`}}}})))()}function vw(e,t,n=`top`){let r,{direction:i}=e,a;a=n===`bottom`?{vertical:[`bottom`,`top`],horizontal:[`left`,`right`]}:{vertical:[`top`,`bottom`],horizontal:[`right`,`left`]};let o=(i===`horizontal`?e.getXAxisHelper()?.isInverse():e.getYAxisHelper()?.isInverse())?1:0;switch(t){case`rect`:case`symbol`:r=a[i][o];break;default:r=`top`}return r}var yw,bw;function xw(){return(xw=e((()=>{uw(),V(),Ac(),xu(),Su(),yi(),sb(),sw(),U(),Cg(),mi(),_w(),yw=class extends ow{constructor(){super(...arguments),this.type=B.totalLabel,this.name=B.totalLabel,this.specKey=`totalLabel`,this.layoutZIndex=yu.Label}static getSpecInfo(e,t){var n;let r=[];return(n=t?.region)==null||n.forEach(((e,n)=>{var i;(i=e.seriesIndexes)==null||i.forEach((e=>{let{spec:i}=t.series[e],a=i[this.specKey];a!=null&&a.visible&&r.push({spec:a,type:B.totalLabel,specPath:[`series`,e,this.specKey],specInfoPath:[`component`,this.specKey,e],regionIndexes:[n],seriesIndexes:[e]})}))})),r}init(e){super.init(e),this._initTextMark(),this._initLabelComponent()}reInit(e){super.reInit(e),this._initTextMark()}_initTextMark(){let e=this._getSeries();if(e.getSpec().totalLabel?.visible){let t=e.getSeriesMark();if(t){let e=this._createMark({type:`label`,name:`${t.name}-total-label`});this._baseMark=t,this._textMark=e,this._initTextMarkStyle()}}}_initTextMarkStyle(){var e;super.initMarkStyleWithSpec(this._textMark,this._spec),this.setMarkStyle(this._textMark,{text:e=>e[Tc]},`normal`,Z.Default);let t=this._getSeries();(e=t.initTotalLabelMarkStyle)==null||e.call(t,this._textMark)}_initLabelComponent(){let e=this._getSeries(),t=this._createMark({type:`component`,name:`${e.name??e.type}-total-label-component`},{componentType:`label`},{support3d:this._spec.support3d});t&&(this._marks.addMark(t),e.getData().addRelatedMark(t))}updateLayoutAttribute(){super.updateLayoutAttribute();let e=this._getSeries();this._marks.forEach(((t,n)=>{t.setMarkConfig({interactive:!1}),t.setSimpleStyle({labelStyle:()=>{if(this._baseMark){let{offset:t,animation:n,overlap:r,position:i=`top`}=this._spec,a=this._interactiveConfig(this._spec);return R({textStyle:{pickable:!0===this._spec.interactive},position:vw(e,this._baseMark.type,i),x:0,y:0},e.getTotalLabelComponentStyle?.call(e,{baseMark:this._baseMark,labelMark:this._textMark})??{},Object.assign({offset:t,animation:n,overlap:r,dataFilter:e=>e.filter((e=>i===`bottom`?e.data[Oc]:e.data[Dc]))},a))}},size:()=>Object.assign({padding:this._spec.overlap?.padding},this._regions[0].getLayoutRect()),itemEncoder:t=>Hy({baseMark:this._baseMark,labelMark:this._textMark,series:e,labelSpec:e.getSpec().totalLabel},t,this._spec.formatMethod)}),this._setTransformOfComponent(t,this._baseMark)}))}compileMarks(){this.getMarks().forEach((e=>{let t=this._regions[0].getGroupMark().getProduct();e.compile({group:t,context:{model:this}})}))}_getSeries(){return this._option.getSeriesInIndex([this.getSpecPath()[1]])[0]}},yw.type=B.totalLabel,yw.builtInTheme={totalLabel:gw},yw.specKey=`totalLabel`,bw=()=>{H.registerGraphicComponent(yw.type,(e=>new Ln(e))),lw(),Sg(),H.registerComponent(yw.type,yw,!0)}})))()}var Sw,Cw,ww,Tw;function Ew(){return(Ew=e((()=>{eC(),ea(),C(),y(),ie(),el(),PC(),xu(),id(),Xm(),Sw=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},Cw=e=>e?.type===`rich`,ww=e=>{if(!e)return e;let{type:t,text:n,textConfig:r}=e,i=Sw(e,[`type`,`text`,`textConfig`]),a=Object.assign({},i),o=_(r)?r:n;return _(o)&&(a.textConfig=o),a},Tw=class extends NC{constructor(){super(...arguments),this.specKey=`markPoint`,this.layoutZIndex=yu.MarkPoint,this._handleDimensionHover=e=>{var t;let n=this._getTargetSymbolGraphic();if(n)switch(e.action){case`enter`:n.removeState(Q.STATE_DIMENSION_HOVER),n.removeState(Q.STATE_DIMENSION_HOVER_REVERSE),this._isDimensionHoverTarget(e)?n.addState(Q.STATE_DIMENSION_HOVER,!0):(t=this._spec.targetSymbol?.state)!=null&&t.dimension_hover_reverse&&n.addState(Q.STATE_DIMENSION_HOVER_REVERSE,!0);break;case`leave`:n.removeState(Q.STATE_DIMENSION_HOVER),n.removeState(Q.STATE_DIMENSION_HOVER_REVERSE)}}}initEvent(){super.initEvent();let e=this._spec.targetSymbol?.state;this.coordinateType===`cartesian`&&(e!=null&&e.dimension_hover||e!=null&&e.dimension_hover_reverse)&&this.event.on(Ym.dimensionHover,this._handleDimensionHover)}_getTargetSymbolGraphic(){return this._markerComponent?.find((e=>e.name===`mark-point-targetItem`),!0)}_isDimensionHoverTarget(e){let t=this._markerData?.latestData,n=t?.[0]?.latestData??t;return T(n?.[0]?.x).filter(_).some((t=>e.dimensionInfo.some((e=>e.value===t))))}static _getMarkerCoordinateType(e){let{doPolarProcess:t,doGeoProcess:n}=QS(e);return e.coordinateType===`polar`||t?`polar`:e.coordinateType===`geo`||n?`geo`:`cartesian`}_createMarkerComponent(){var e,t,n,r,i,a;let{itemContent:o={},itemLine:s={},targetSymbol:c={}}=this._spec,l=this._relativeSeries.getRegion(),u=o,{type:d=`text`,text:f,symbol:p,image:m,richText:h,customMark:g,textStyle:_,symbolStyle:ee,imageStyle:v,richTextStyle:y,customMarkStyle:te,style:b={},state:x={}}=u,ne=Sw(u,[`type`,`text`,`symbol`,`image`,`richText`,`customMark`,`textStyle`,`symbolStyle`,`imageStyle`,`richTextStyle`,`customMarkStyle`,`style`,`state`]),re=null,S=null,C=d,ie={};if(d===`text`){re=f?.state??x;let e=f?.style??f?.textStyle??_??b;Cw(e)?(C=`richText`,ie={width:100,height:100},S=KS(je(ie,ww(e)),this._markerData,this._markAttributeContext)):(ie={dx:0,dy:0},S=WS(Object.assign(Object.assign({},f),{style:je(ie,e)}),this._markerData,this._markAttributeContext))}else d===`richText`?(re=h?.state??x,ie={width:100,height:100},S=KS(je(ie,h?.style??y??b),this._markerData,this._markAttributeContext)):d===`symbol`?(re=p?.state??x,ie={symbolType:`star`,fill:`rgb(48, 115, 242)`,fillOpacity:.8,size:20},S=G(KS(je(ie,p?.style??ee??b),this._markerData,this._markAttributeContext))):d===`image`?(re=m?.state??x,ie={width:80,height:80},S=KS(je(ie,m?.style??v??b),this._markerData,this._markAttributeContext)):d===`custom`&&(re=g?.state??x,S=KS(g?.style??te??b,this._markerData,this._markAttributeContext));let ae={zIndex:this.layoutZIndex,interactive:(e=this._spec.interactive)==null||e,hover:(t=this._spec.interactive)==null||t,select:(n=this._spec.interactive)==null||n,position:{x:0,y:0},clipInRange:(r=this._spec.clip)!=null&&r,itemContent:Object.assign(Object.assign({type:C,offsetX:qS(o.offsetX,l),offsetY:qS(o.offsetY,l)},ne),{style:KS(S,this._markerData,this._markAttributeContext)}),targetSymbol:{offset:c.offset??0,visible:(i=c.visible)!=null&&i,size:c.size??20,style:KS(c.style,this._markerData,this._markAttributeContext)},state:{line:GS(this._spec.itemLine.line?.state??{},this._markerData,this._markAttributeContext),lineStartSymbol:GS(this._spec.itemLine.startSymbol?.state??{},this._markerData,this._markAttributeContext),lineEndSymbol:GS(this._spec.itemLine.endSymbol?.state??{},this._markerData,this._markAttributeContext),itemContent:GS(re,this._markerData,this._markAttributeContext),textBackground:GS(this._spec.itemContent.text?.labelBackground?.state,this._markerData,this._markAttributeContext),targetItem:GS(this._spec.targetSymbol?.state??{},this._markerData,this._markAttributeContext)},animation:(a=this._spec.animation)!=null&&a,animationEnter:this._spec.animationEnter,animationExit:this._spec.animationExit,animationUpdate:this._spec.animationUpdate},{visible:oe,line:se={}}=s,w=Sw(s,[`visible`,`line`]);return ae.itemLine=!1===oe?{visible:!1}:Object.assign(Object.assign({},w),{visible:!0,lineStyle:G(se.style)}),new Er(ae)}_markerLayout(){let e=this._spec,t=this._markerData,n=this._relativeSeries,{point:r}=this._computePointsAttr(),i=this._getRelativeDataView().latestData,a=t?t.latestData[0]&&t.latestData[0].latestData?t.latestData[0].latestData:t.latestData:i,{itemLine:o={},itemContent:s={}}=this._spec,c=this._relativeSeries.getRegion(),{visible:l,line:u={}}=o,d=Sw(o,[`visible`,`line`]),f=!1===l?{visible:!1}:Object.assign(Object.assign({},d),{visible:!0,lineStyle:G(u.style)}),p=WS(Object.assign(Object.assign({},s.text),{style:je({dx:0,dy:0},s.text?.style??s.style)}),t,this._markAttributeContext),m;if(e.clip||e.itemContent?.confine){let{minX:e,maxX:t,minY:r,maxY:i}=US([n.getRegion()]);m={x:e,y:r,width:t-e,height:i-r}}if(this._markerComponent){let e=this._markerComponent.attribute??{},t=e.itemContent?.textStyle??{},n=this._spec.itemContent.text?.text,o=qS(s.offsetX,c),l=qS(s.offsetY,c);this._markerComponent.setAttributes({position:r===void 0?{x:null,y:null}:r,itemContent:Object.assign(Object.assign({},e.itemContent),{panel:p.panel??e.itemContent?.panel,padding:p.padding??e.itemContent?.padding,textStyle:Object.assign(Object.assign(Object.assign({},t),p.textStyle??{}),{text:this._spec.itemContent.text?.formatMethod?this._spec.itemContent.text.formatMethod(a,i):_(n)?n:t.text}),offsetX:JS(r,o,c),offsetY:JS(r,l,c)}),itemLine:f,limitRect:m,dx:this._layoutOffsetX,dy:this._layoutOffsetY})}}_initDataView(){let e=this._spec,{doXYProcess:t,doPolarProcess:n,doGeoProcess:r}=QS(e);(_(e.coordinate)||t||n||r)&&this._initCommonDataView()}},Tw.specKey=`markPoint`})))()}var Dw;function Ow(){return(Ow=e((()=>{Dw={itemLine:{decorativeLine:{visible:!1},startSymbol:{size:5,visible:!0,style:{fill:{type:`palette`,key:`markLineStrokeColor`},stroke:null,lineWidth:0}},endSymbol:{style:{fill:{type:`palette`,key:`markLineStrokeColor`},stroke:null,lineWidth:0}},line:{style:{stroke:{type:`palette`,key:`markLineStrokeColor`}}}},itemContent:{offsetY:-50}}})))()}var kw,Aw;function jw(){return(jw=e((()=>{V(),eC(),ea(),y(),U(),Ew(),Ow(),kw=class extends Tw{constructor(){super(...arguments),this.type=B.markPoint,this.name=B.markPoint,this.coordinateType=`cartesian`}_computePointsAttr(){var e;let t=this._spec,n=this._markerData,r=this._relativeSeries,i=_(t.x)&&_(t.y),a=_(t.coordinate),o=_(t.position),s=(e=t?.autoRange)!=null&&e,c;return i?c=FS(n,r,r,r,s,!1,this._getAutoRangeExtendDomainKeyPrefix())?.[0]?.[0]:a?c=BS(n,r,s,t.coordinatesOffset,this._getAutoRangeExtendDomainKeyPrefix())[0]:o&&(c=HS(t.position,r,t.regionRelative)[0]),{point:c}}_computeOptions(){let e=this._spec,{doXYProcess:t}=QS(e),n=_(e.coordinate),r;return t?r=[this._processSpecByDims([{dim:`x`,specValue:e.x},{dim:`y`,specValue:e.y}])]:n&&(r=this._processSpecCoo(e)),{options:r}}},kw.type=B.markPoint,kw.coordinateType=`cartesian`,kw.builtInTheme={markPoint:Dw},Aw=()=>{H.registerComponent(kw.type,kw),fa()}})))()}var Mw;function Nw(){return(Nw=e((()=>{Mw={style:{fill:`#B0C8F9`,fillOpacity:.2,stroke:`#B0C8F9`,lineWidth:2},brushMode:`single`,brushType:`rect`,brushMoved:!0,removeOnClick:!0,delayType:`throttle`,delayTime:0}})))()}var Pw,Fw,Iw;function Lw(){return(Lw=e((()=>{Y(),Su(),xu(),_g(),V(),Ei(),oi(),C(),y(),Te(),Re(),el(),U(),ip(),Nw(),iS(),Fd(),Pw={style:!0,inBrush:!0,outOfBrush:!0},Fw=class extends gg{constructor(){super(...arguments),this.layoutType=`none`,this.type=B.brush,this.name=B.brush,this.specKey=`brush`,this.layoutZIndex=yu.Brush,this._linkedSeries=[],this._itemMap={},this._linkedItemMap={},this._inBrushElementsMap={},this._outOfBrushElementsMap={},this._linkedInBrushElementsMap={},this._linkedOutOfBrushElementsMap={},this._cacheInteractiveRangeAttrs=[],this._releatedAxes=[],this._regionAxisMap={},this._axisDataZoomMap={},this._zoomRecord=[]}static getSpecInfo(e){return rp(e,this.specKey,this.type,(e=>!1!==e.visible))}init(){let e=this._transformBrushedMarkAttr(this._spec.inBrush),t=this._transformBrushedMarkAttr(this._spec.outOfBrush);this._option.getAllSeries().forEach((n=>{n.getActiveMarks().forEach((r=>{r&&(n.setMarkStyle(r,Object.assign({},e),`inBrush`,Z.Series),n.setMarkStyle(r,Object.assign({},t),`outOfBrush`,Z.Series))}))}))}reInit(e){super.reInit(e),this.init()}_initNeedOperatedItem(){let e=this._spec.seriesId,t=this._spec.seriesIndex;this._relativeRegions.forEach((n=>{let r=[];n.getSeries().forEach((i=>{(e&&T(e).includes(i.userId.toString())||t&&T(t).includes(i.getSpecIndex())||!t&&!e)&&r.push(...i.getMarksWithoutRoot()),this._itemMap[n.id]=r}))})),this._linkedSeries.forEach((e=>{this._linkedItemMap[e.id]=e.getMarksWithoutRoot()}))}created(){super.created(),this.initEvent(),this._bindRegions(),this._bindLinkedSeries(),this._initRegionAxisMap(),this._initAxisDataZoomMap(),this._initNeedOperatedItem()}_bindRegions(){this._relativeRegions=_(this._spec.regionId)||_(this._spec.regionIndex)?this._option.getRegionsInUserIdOrIndex(T(this._spec.regionId),T(this._spec.regionIndex)):this._option.getAllRegions()}_bindLinkedSeries(){(_(this._spec.brushLinkSeriesId)||_(this._spec.brushLinkSeriesIndex))&&(this._linkedSeries=this._option.getSeriesInUserIdOrIndex(T(this._spec.brushLinkSeriesId),T(this._spec.brushLinkSeriesIndex)))}_initRegionAxisMap(){_(this._spec.axisId)?T(this._spec.axisId).forEach((e=>{this._releatedAxes.push(this._option.getComponentByUserId(e))})):_(this._spec.axisIndex)?T(this._spec.axisIndex).forEach((e=>{this._releatedAxes.push(this._option.getComponentByIndex(`axes`,e))})):this._releatedAxes=this._option.getComponentsByKey(`axes`),this._releatedAxes.forEach((e=>{e?.getRegions().forEach((t=>{this._regionAxisMap[`region_`+t.id]?this._regionAxisMap[`region_`+t.id].push(e):this._regionAxisMap[`region_`+t.id]=[e]}))}))}_initAxisDataZoomMap(){this._option.getComponentsByKey(`dataZoom`).forEach((e=>{e.relatedAxisComponent&&(this._axisDataZoomMap[e.relatedAxisComponent.id]=e)}))}initEvent(){}_compareSpec(e,t){this._brushComponents&&this._relativeRegions.forEach(((e,t)=>{this._updateBrushComponent(e,t)}));let n=super._compareSpec(e,t);return O(t,e)||(n.change=!0,n.reRender=!0,n.reMake||n.reCompile||!this._isComponentOnlySpecChange(e,t)?n.reMake=!0:n.effects=Object.assign(Object.assign({},n.effects),{component:!0,layout:!0,render:!0})),n}_isComponentOnlySpecChange(e,t){return Object.keys(Object.assign(Object.assign({},t),e)).every((n=>O(t?.[n],e?.[n])||Pw[n]))}onLayoutEnd(){var e;super.onLayoutEnd(),this._option.disableTriggerEvent||((e=this._spec.visible)==null||e)&&(this._brushComponents?this._relativeRegions.forEach(((e,t)=>{this._updateBrushComponent(e,t)})):(this._brushComponents=[],this._relativeRegions.forEach(((e,t)=>{this._createBrushComponent(e,t)}))))}_updateBrushComponent(e,t){let n=this._getBrushInteractiveAttr(e),r=this._brushComponents[t];r.setAttributes(Object.assign({brushStyle:G(this._spec?.style)},n)),this._initMarkBrushState(t,``),r.children[0].removeAllChild()}_shouldEnableInteractive(){return!1!==this.getOption().getCompiler().getOption().interactive}_createBrushComponent(e,t){let n=this._getBrushInteractiveAttr(e),r=new qi(Object.assign(Object.assign(Object.assign({zIndex:this.layoutZIndex,brushStyle:G(this._spec?.style)},n),this._spec),{disableTriggerEvent:this._option.disableTriggerEvent}));r.id=this._spec.id??`brush-${this.id}`,this.getContainer().add(r),this._brushComponents.push(r),this._cacheInteractiveRangeAttrs.push(n),r.addEventListener(zi.brushActive,(n=>{this._initMarkBrushState(t,`outOfBrush`),this._emitEvent(K.brushActive,e,n)})),r.addEventListener(zi.drawStart,(t=>{this._spec.disableDimensionHoverWhenBrushing&&this._option.globalInstance.disableDimensionHoverEvent(!0),this._setRegionMarkPickable(e,!0),this._emitEvent(K.brushStart,e,t)})),r.addEventListener(zi.moveStart,(t=>{this._spec.disableDimensionHoverWhenBrushing&&this._option.globalInstance.disableDimensionHoverEvent(!0),this._setRegionMarkPickable(e,!0),this._emitEvent(K.brushStart,e,t)})),r.addEventListener(zi.drawing,(t=>{this._setRegionMarkPickable(e,!1),this._handleBrushChange(e,t),this._emitEvent(K.brushChange,e,t)})),r.addEventListener(zi.moving,(t=>{this._setRegionMarkPickable(e,!1),this._handleBrushChange(e,t),this._emitEvent(K.brushChange,e,t)})),r.addEventListener(zi.brushClear,(n=>{this._spec.disableDimensionHoverWhenBrushing&&this._option.globalInstance.disableDimensionHoverEvent(!1),this._setRegionMarkPickable(e,!0),this._initMarkBrushState(t,``),this._emitEvent(K.brushClear,e,n)})),r.addEventListener(zi.drawEnd,(n=>{this._spec.disableDimensionHoverWhenBrushing&&this._option.globalInstance.disableDimensionHoverEvent(!1),this._setRegionMarkPickable(e,!0);let{operateMask:r}=n.detail,{updateElementsState:i=!0}=this._spec;if(i&&this._handleBrushChange(e,n),this._spec?.onBrushEnd)!0===this._spec.onBrushEnd(n)?(this.clearGraphic(),this._initMarkBrushState(t,``),this._emitEvent(K.brushClear,e,n)):(this._spec.onBrushEnd(n),this._emitEvent(K.brushEnd,e,n));else{let t=this._extendDataInBrush(this._inBrushElementsMap);(!this._spec.zoomWhenEmpty&&t.length>0||!i)&&this._setAxisAndDataZoom(r,e),this._emitEvent(K.brushEnd,e,n)}})),r.addEventListener(zi.moveEnd,(t=>{this._spec.disableDimensionHoverWhenBrushing&&this._option.globalInstance.disableDimensionHoverEvent(!1),this._setRegionMarkPickable(e,!0);let{operateMask:n}=t.detail,{updateElementsState:r=!0}=this._spec;r&&this._handleBrushChange(e,t);let i=this._extendDataInBrush(this._inBrushElementsMap);(!this._spec.zoomWhenEmpty&&i.length>0||r)&&this._setAxisAndDataZoom(n,e),this._emitEvent(K.brushEnd,e,t)}))}_getBrushInteractiveAttr(e){let t=e.getLayoutStartPoint(),n=e.getLayoutRect(),r=t.x,i=r+n.width,a=t.y,o=a+n.height;return{interactiveRange:{minY:a,maxY:o,minX:r,maxX:i},xRange:[r,i],yRange:[a,o],interactive:this._shouldEnableInteractive()}}_transformBrushedMarkAttr(e){let t={};return e!=null&&e.symbol&&(t.symbolType=e.symbol),e!=null&&e.symbolSize&&(t.size=e.symbolSize),e!=null&&e.color&&(t.fill=e.color),e!=null&&e.colorAlpha&&(t.fillOpacity=e.colorAlpha),Object.assign(Object.assign({},G(e)),t)}_handleBrushChange(e,t){let{operateMask:n}=t.detail;this._operateMask=n;let{updateElementsState:r=!0}=this._spec;r&&(this._reconfigItem(n,e),this._reconfigLinkedItem(n,e))}_extendDataInBrush(e){let t=[];for(let n in e)for(let r in e[n])t.push(Object.assign({},e[n][r].context?.data?.[0]));return t}_extendDatumOutOfBrush(e){let t=[];for(let n in e)t.push(e[n].context?.data?.[0]);return t}_emitEvent(e,t,n){this.event.emit(e,{model:this,value:{operateType:e,operateRegion:t,inBrushData:this._extendDataInBrush(this._inBrushElementsMap),outOfBrushData:this._extendDatumOutOfBrush(this._outOfBrushElementsMap),linkInBrushData:this._extendDataInBrush(this._linkedInBrushElementsMap),linkOutOfBrushData:this._extendDatumOutOfBrush(this._linkedOutOfBrushElementsMap),inBrushElementsMap:this._inBrushElementsMap,outOfBrushElementsMap:this._outOfBrushElementsMap,linkedInBrushElementsMap:this._linkedInBrushElementsMap,linkedOutOfBrushElementsMap:this._linkedOutOfBrushElementsMap,zoomRecord:this._zoomRecord},vchart:this._option?.globalInstance,event:n})}_setBrushState(e,t){let n=e.currentStates??[];Md(e,[...n.filter((e=>e!==`inBrush`&&e!==`outOfBrush`)),t])}_reconfigItem(e,t){if(!e?.globalTransMatrix||!e?.attribute?.points)return;let n=e?.attribute?.points??[],{a:r,b:i,c:a,d:o,e:s,f:c}=e.globalTransMatrix,l=n.map((e=>({x:r*e.x+a*e.y+s,y:i*e.x+o*e.y+c}))),{markTypeFilter:u=[]}=this._spec;this._itemMap[t.id].forEach((t=>{if(u.includes(t.type))return;let n=t.getGraphics();n&&n.length&&n.forEach((n=>{var r;let i=t.id+`_`+n.context.key,a=this._isBrushContainItem(e.globalAABBBounds,l,n);this._outOfBrushElementsMap?.[i]&&a?(this._setBrushState(n,`inBrush`),this._inBrushElementsMap[e?.name]||(this._inBrushElementsMap[e?.name]={}),this._inBrushElementsMap[e?.name][i]=n,delete this._outOfBrushElementsMap[i]):(r=this._inBrushElementsMap?.[e?.name])!=null&&r[i]&&!a&&(this._setBrushState(n,`outOfBrush`),this._outOfBrushElementsMap[i]=n,delete this._inBrushElementsMap[e.name][i])}))}))}_reconfigLinkedItem(e,t){if(!e?.globalTransMatrix||!e?.attribute?.points)return;let n=this._spec.brushLinkDataKey,r=n?new Set(Object.values(this._inBrushElementsMap[e.name]??{}).map((e=>e.context.data[0][n])).filter((e=>e!=null))):void 0,i=t.getLayoutStartPoint(),a=t.getSeries().map((e=>e.id));this._linkedSeries.forEach((t=>{if(!a.includes(t.id)){let a=t.getRegion().getLayoutStartPoint(),o=a.x-i.x,s=a.y-i.y,c=e?.attribute?.points??[],{a:l,b:u,c:d,d:f,e:p,f:m}=e.globalTransMatrix,h=o||0,g=s||0,_=c.map((e=>({x:l*e.x+d*e.y+p+h,y:u*e.x+f*e.y+m+g})));e.globalAABBBounds.clone().set(e.globalAABBBounds.x1+h,e.globalAABBBounds.y1+g,e.globalAABBBounds.x2+h,e.globalAABBBounds.y2+g);let{markTypeFilter:ee=[]}=this._spec;this._linkedItemMap[t.id].forEach((t=>{if(ee.includes(t.type))return;let i=t.getGraphics();i&&i.length&&i.forEach((i=>{var a;let o=r?r.has(i.context.data[0][n]):this._isBrushContainItem(e.globalAABBBounds,_,i),s=t.id+`_`+i.context.key;this._linkedOutOfBrushElementsMap?.[s]&&o?(this._setBrushState(i,`inBrush`),this._linkedInBrushElementsMap[e?.name]||(this._linkedInBrushElementsMap[e?.name]={}),this._linkedInBrushElementsMap[e?.name][s]=i,delete this._linkedOutOfBrushElementsMap[s]):(a=this._linkedInBrushElementsMap?.[e?.name])!=null&&a[s]&&!o&&(this._setBrushState(i,`outOfBrush`),this._linkedOutOfBrushElementsMap[s]=i,delete this._linkedInBrushElementsMap[e.name][s])}))}))}}))}_isBrushContainItem(e,t,n){let r=[];if([`symbol`,`rect`].includes(n.type)){let{x1:e,x2:i,y1:a,y2:o}=n?.globalAABBBounds;return r=[{x:e,y:a},{x:i,y:a},{x:i,y:o},{x:e,y:o}],m(t,r)}return e.intersects(n.globalAABBBounds)}_initItemMap(e,t,n){let{markTypeFilter:r=[]}=this._spec;Object.entries(e).forEach((([e,i])=>{i.forEach((e=>{if(r.includes(e.type))return;let i=e.getGraphics();i&&i.length&&i.forEach((r=>{let i=e.id+`_`+r.context.key;Pd(r,[`inBrush`,`outOfBrush`]),n&&Nd(r,n,!0),t[i]=r}))}))}))}_initMarkBrushState(e,t){this._brushComponents.forEach(((t,n)=>{n!==e&&t.children[0].removeAllChild()})),this._inBrushElementsMap={},this._outOfBrushElementsMap={},this._linkedInBrushElementsMap={},this._linkedOutOfBrushElementsMap={},this._initItemMap(this._itemMap,this._outOfBrushElementsMap,t),this._initItemMap(this._linkedItemMap,this._linkedOutOfBrushElementsMap,t)}_setRegionMarkPickable(e,t){e.getGroupMark().getGraphics().forEach((e=>e.setAttribute(`childrenPickable`,t)))}_stateClamp(e){return Math.min(Math.max(0,e),1)}_setAxisAndDataZoom(e,t){var n;if(this._zoomRecord=[],this._spec.zoomAfterBrush){let r=e.AABBBounds;(n=this._regionAxisMap[`region_`+t.id])==null||n.forEach((e=>{let n=e.layoutOrient===`bottom`||e.layoutOrient===`top`,i=this._spec.axisRangeExpand??0,{x1:a,x2:o,y1:s,y2:c}=r,l=n?`x`:`y`,u=n?a:s,d=n?o:c,f=e.getScale().range(),p=e.scaleRangeFactor()??[0,1],m=w(f)<f[0],h=u-t.getLayoutStartPoint()[l],g=d-t.getLayoutStartPoint()[l],_=m?Math.min(h,g):Math.max(h,g),ee=m?Math.max(h,g):Math.min(h,g),v=(ee-f[0])/(w(f)-f[0])*(p[1]-p[0])+p[0],y=(_-f[0])/(w(f)-f[0])*(p[1]-p[0])+p[0],te=this._stateClamp(v-i),b=this._stateClamp(y+i);if(this._axisDataZoomMap[e.id]){let t=this._axisDataZoomMap[e.id],n=m?1-te:te,r=m?1-b:b;t.setStartAndEnd(Math.min(n,r),Math.max(n,r),[`percent`,`percent`]),this._zoomRecord.push({operateComponent:t,start:n,end:r,startValue:Zx(n,t.stateScale,$x(t.relatedAxisComponent,t.isHorizontal)),endValue:Zx(r,t.stateScale,$x(t.relatedAxisComponent,t.isHorizontal))})}else e.scaleRangeFactor([te,b]),e.effect.scaleUpdate(),this._zoomRecord.push({operateComponent:e,start:te,end:b,startValue:e.getScale().invert(ee),endValue:e.getScale().invert(_)})}))}}_getNeedClearVRenderComponents(){return this._brushComponents}clearGraphic(){this._brushComponents&&this._brushComponents.forEach((e=>{e._container.incrementalClearChild()}))}clear(){if(this._brushComponents){let e=this.getContainer();this._initMarkBrushState(-1,``),this._brushComponents.forEach((t=>{t.removeAllChild(),t.releaseBrushEvents(),e&&e.removeChild(t)})),this._brushComponents=null}}clearBrushStateAndMask(){this._initMarkBrushState(-1,``)}},Fw.type=B.brush,Fw.builtInTheme={brush:Mw},Fw.specKey=`brush`,Iw=()=>{H.registerComponent(Fw.type,Fw)}})))()}var Rw,zw,Bw;function Vw(){return(Vw=e((()=>{_g(),V(),xu(),pc(),Te(),E(),y(),Be(),Ct(),U(),om(),Rw={style:!0,state:!0},zw=class extends gg{constructor(){super(...arguments),this.type=B.customMark,this.specKey=`customMark`,this.layoutType=`none`,this.layoutZIndex=yu.CustomMark,this.layoutLevel=bu.CustomMark}created(){super.created(),this.initMarks(),this.initEvent()}getMarkAttributeContext(){return this._markAttributeContext}_buildMarkAttributeContext(){this._markAttributeContext={vchart:this._option.globalInstance,globalScale:(e,t)=>this._option.globalScale.getScale(e)?.scale(t)}}initMarks(){if(!this._spec)return;let e=null;if(this._spec.parent){let t=this.getChart().getAllMarks().find((e=>e.getUserId()===this._spec.parent));t.type===`group`&&(e=t)}this._createExtensionMark(this._spec,e,`${W}_series_${this.id}_extensionMark`,0)}_createExtensionMark(e,t,n,r=0){var i;let a=this._createMark({type:e.type,name:_(e.name)?`${e.name}`:`${n}_${r}`},{skipBeforeLayouted:!0,attributeContext:this._getMarkAttributeContext(),componentType:e.componentType,key:e.dataKey});if(a){if(_(e.id)&&a.setUserId(e.id),this._option.globalInstance?.isAnimationEnable()&&e.animation){let t=Yp({},Xp(e.type,e,this._markAttributeContext));a.setAnimationConfig(t)}if(N(t)?this._marks.addMark(a):t&&t.addMark(a),this.initMarkStyleWithSpec(a,e),e.type===`group`&&(n=`${n}_${r}`,(i=e.children)==null||i.forEach(((e,t)=>{this._createExtensionMark(e,a,n,t)}))),_(e.dataId)||P(e.dataIndex)){let t=this.getChart().getSeriesData(e.dataId,e.dataIndex);t&&(a.setDataView(t),t.target.addListener(`change`,(()=>{a.getData().updateData()})))}}}initEvent(){}_compareSpec(e,t){let n=super._compareSpec(e,t);return O(t,e)||(n.reMake||n.reCompile||!this._isComponentOnlySpecChange(e,t)?n.reMake=!0:n.effects=Object.assign(Object.assign({},n.effects),{component:!0,render:!0})),n.change=!0,n.reRender=!0,n}_isComponentOnlySpecChange(e,t){return Object.keys(Object.assign(Object.assign({},t),e)).every((n=>O(t?.[n],e?.[n])||Rw[n]))}reInit(e){super.reInit(e),this._updateMarkStyleWithSpec(this._spec,this.getMarks()[0]),this.getMarks().forEach((e=>{e.commit(!1,!0)}))}_updateMarkStyleWithSpec(e,t){var n,r;if(e&&t&&(this.initMarkStyleWithSpec(t,e),e.type===`group`)){let i=(n=t).getMarks?.call(n)??[];(r=e.children)==null||r.forEach(((e,t)=>{this._updateMarkStyleWithSpec(e,i[t])}))}}_getMarkAttributeContext(){return{vchart:this._option.globalInstance,chart:this.getChart(),globalScale:(e,t)=>this._option.globalScale.getScale(e)?.scale(t),getLayoutBounds:()=>{let{x:e,y:t}=this.getLayoutStartPoint(),{width:n,height:r}=this.getLayoutRect();return new Ve().set(e,t,e+n,t+r)}}}_getLayoutRect(){let e=new Ve;return this.getMarks().forEach((t=>{let n=t.getProduct();n&&e.union(n.AABBBounds)})),e.empty()?{width:0,height:0}:{width:e.width(),height:e.height()}}getBoundsInRect(e){this.setLayoutRect(e);let t=this._getLayoutRect(),{x:n,y:r}=this.getLayoutStartPoint();return{x1:n,y1:r,x2:n+t.width,y2:r+t.height}}getVRenderComponents(){let e=[],t=n=>{if(n&&n.type===`group`)n.getMarks().forEach((e=>{t(e)}));else if(n.type===`component`){let t=n?.getComponent();t&&e.push(t)}};return this.getMarks().forEach((e=>{t(e)})),e}},zw.type=B.customMark,zw.specKey=`customMark`,Bw=()=>{H.registerComponent(zw.type,zw)}})))()}var Hw,Uw,Ww,Gw,Kw;function qw(){return(qw=e((()=>{Hw=`vchart-tooltip`,`${Hw}`,Uw=`${Hw}-title`,Ww=`${Hw}-content-box`,Gw={offsetX:10,offsetY:10},Kw=`99999999999999`})))()}function Jw(e){return String(e).replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/\(/g,`&#40;`).replace(/ /g,` &nbsp;`)}var Yw,Xw;function Zw(){return(Zw=e((()=>{Tt(),qe(),qw(),Yw=(e,t)=>e?(t||=e.getBoundingClientRect(),e.offsetWidth>0?t.width/e.offsetWidth:e.offsetHeight>0?t.height/e.offsetHeight:1):1,Xw=e=>I(e)&&e?.trim()!==``||mt(e)?Jw(e):``})))()}var Qw,$w,eT,tT,nT;function rT(){return(rT=e((()=>{c(),qe(),Dt(),y(),Qw=(e,t)=>{let n;if(_(e)){if(mt(e))n=e;else if(M(e)){let r=e(t);mt(r)&&(n=r)}}return n},$w={left:[-2,0],right:[2,0],top:[0,-2],bottom:[0,2],insideTop:[0,-1.5],insideBottom:[0,1.5],insideLeft:[-1.5,0],insideRight:[1.5,0],insideTopLeft:[-1.5,-1.5],insideTopRight:[1.5,-1.5],insideBottomLeft:[-1.5,1.5],insideBottomRight:[1.5,1.5],lt:[-2,-2],tl:[-2,-2],rt:[2,-2],tr:[2,-2],bl:[-2,2],lb:[-2,2],br:[2,2],rb:[2,2],inside:[0,0],center:[0,0],centerBottom:[0,1],centerTop:[0,-1],centerLeft:[-1,0],centerRight:[1,0]},eT=(e,t,n=2)=>$w[e]?.[t===`x`?0:1]??n,tT=e=>D(e)&&(_(e.left)||_(e.right)||_(e.top)||_(e.bottom)),nT=e=>D(e)&&(_(e.x)||_(e.y))})))()}var iT;function aT(){return(aT=e((()=>{pc(),qw(),Xa(),Zw(),rT(),qe(),Dt(),Be(),y(),c(),Ah(),fp(),iT=class extends kh{constructor(){super(...arguments),this._visible=!0,this._isReleased=!1,this.showTooltip=(e,t,n)=>{let{changePositionOnly:r}=n;return r?this.changeTooltipPosition(n,t):this.changeTooltip(!0,n,t)},this.changeTooltip=(e,t,n)=>this._isReleased?1:e?this.changeTooltipPosition(t,n):(this._updateTooltip(!1,t),0),this.changeTooltipPosition=(e,t)=>{var n;if(this._isReleased)return 1;let r=e.event,{tooltipSpec:i,activeTooltipSpec:a,changePositionOnly:o}=e;if(!a)return 1;let s=a.activeType;if(a.handler)return(n=a.handler).showTooltip?.call(n,s,t,e)??0;let c=a;a.position=this._getActualTooltipPosition(a,e,this._getTooltipBoxSize(a,o));let l=a.updatePosition??i[s]?.updatePosition;l&&(a.position=l(a.position,t,e));let u=!1!==c?.visible;return t&&r.type!==`pointerout`&&a.visible&&(a.title||a.content)||(u=!1),this._updateTooltip(u,Object.assign(Object.assign({},e),{changePositionOnly:o})),0},this._getActualTooltipPosition=(e,t,n)=>{let r=this._chartOption.getRectByDimensionData,{tooltipSpec:i}=t,a={x:1/0,y:1/0};if(!i)return a;let o=t.event,{activeType:s,data:c}=e,l=s===`dimension`?c[0]?.data?.[0]:c?.[0],{offsetX:u,offsetY:d}=this._option,f=i[s],p=dp(f?.position,c,t),m=dp(f?.positionMode,c,t)??(s===`mark`?`mark`:`pointer`),{width:h=0,height:g=0}=n??{},ee=i.renderMode===`canvas`,v=(t?.chart)?.getCanvasRect(),y=v?.width??500,te=v?.height??500,b=!1,x={width:0,height:0},ne,re={x:0,y:0},S={x:0,y:0},C=1,ie=1,ae=Ga(this._env);if(ae&&!i.confine?(x.width=window.innerWidth,x.height=window.innerHeight):(x.width=y,x.height=te),ae&&!ee){let e=this._getParentElement(i);S=(e?.getBoundingClientRect)?.call(e)??a;let t=this._compiler.getCanvas()??this._chartContainer;ne=t?.getBoundingClientRect(),re={x:ne.x-S.x,y:ne.y-S.y},C=Yw(t,ne),ie=Yw(e,S)}let oe=ie/C,se={},w={x:p,y:p},ce={x:[`left`,`right`],y:[`top`,`bottom`]},le=({orient:e,mode:n,offset:i},a)=>{let o,s,c=t.model?.getLayoutStartPoint(),f=i??(a===`x`?u:d);if(n===`mark`){b=!0;let e=t.item?.AABBBounds;e&&c&&(o=(a===`x`?e.x1:e.y1)+c[a],s=(a===`x`?e.x2:e.y2)+c[a])}else if(r&&n===`crosshair`&&l?.series?.coordinate===`cartesian`&&l.datum&&l.datum.length){b=!0;let e=r(l,c);e&&(o=e.start[a],s=e.end[a])}else w[a]=e;if(b){let t=ce[a][0],n=a===`x`?h:g;switch(eT(e,a)){case-2:se[t]=o-n*oe-f;break;case-1.5:se[t]=o+f;break;case 0:se[t]=(o+s)/2-n*oe/2;break;case-1:se[t]=(o+s)/2-n*oe-f;break;case 1:se[t]=(o+s)/2+f;break;case 1.5:se[t]=s-n*oe-f;break;case 2:se[t]=s+f}}},ue=[`x`,`y`];if(D(p)){if(tT(p)){let{left:e,right:t,top:n,bottom:r}=p;se.left=Qw(e,o),se.top=Qw(n,o),se.right=Qw(t,o),se.bottom=Qw(r,o)}else nT(p)&&ue.forEach((e=>{let t=p[e];mt(t)||M(t)?se[ce[e][0]]=Qw(t,o):le(t,e)}))}else _(p)&&(le({orient:p,mode:m},`x`),le({orient:p,mode:m},`y`));let de={x:null,y:null};return ue.forEach((e=>{let t=e===`x`?h:g,n=e===`x`?y:te,r=e===`x`?u:d,a=eT(w[e],e);if(P(se[ce[e][0]]))de[e]=se[ce[e][0]];else if(P(se[ce[e][1]]))de[e]=n-t*oe-se[ce[e][1]];else{let n=e===`x`?o.canvasX:o.canvasY;de[e]=a>0?n+r:a===0?n-t*oe/2:n-t*oe-r}de[e]*=C,ae&&(de[e]+=re[e]),de[e]/=ie;let s=e===`x`?x.width:x.height,c=i.confine?-(S[e]-(ne?.[e]??0)/C)/ie:-S[e]/ie,l=s/ie+c-t;a!==2&&de[e]<c?b?de[e]=c:(de[e]+=a===0?r+t/2:2*r+t,de[e]>l&&(de[e]=l)):a!==-2&&de[e]>l&&(b?de[e]=l:(de[e]-=a===0?r+t/2:2*r+t,de[e]<c&&(de[e]=c)))})),de}}get env(){return this._env}onAdd(e){super.onAdd(e);let t=e.component;this._component=t,this._chartOption=t.getOption(),this._env=this._chartOption.mode,this._chartContainer=this._chartOption.globalInstance.getContainer(),this._compiler=t.getCompiler(),this._initFromSpec()}hideTooltip(e){return this.changeTooltip(!1,e)}release(){var e,t;let n=this._component?.getSpec()??{};n.handler?(t=(e=n.handler).release)==null||t.call(e):(this._removeTooltip(),this._isReleased=!0,this._chartOption=null,this._component=null)}_getDefaultOption(){let{offset:e}=this._component.getSpec();return e?{offsetX:e.x??Gw.offsetX,offsetY:e.y??Gw.offsetY}:Gw}_getParentElement(e){return e.parentElement}getTooltipContainer(){return this._container}_initFromSpec(){this._option=this._getDefaultOption()}reInit(){this._initFromSpec()}},iT.specKey=`tooltip`})))()}function oT(e,t){e&&e.style&&t&&Object.keys(t).forEach((n=>{e.style[n]=t[n]}))}var sT,cT,lT,uT,dT;function fT(){return(fT=e((()=>{j(),E(),y(),Be(),oe(),ds(),sT=(e,t)=>_(e)?A(e)?e.map((e=>`${e}px`)).join(` `):`${e}px`:t??`initial`,cT=(e={},t={})=>{_(e.fontFamily)&&(t.fontFamily=e.fontFamily);let n=e.fill??e.fontColor;return _(n)&&(t.color=n),_(e.fontWeight)&&(t.fontWeight=e.fontWeight),_(e.textAlign)&&(t.textAlign=e.textAlign),_(e.fontSize)&&(t.fontSize=sT(e.fontSize)),_(e.maxWidth)&&(t.maxWidth=sT(e.maxWidth)),e.multiLine||_(e.maxWidth)&&!1!==e.multiLine?(t.whiteSpace=`initial`,t.wordBreak=e.wordBreak??`break-word`):(t.wordBreak=`normal`,t.whiteSpace=`nowrap`),t},lT=(e={})=>{let{lineHeight:t}=e;return e.fontSize?as(t,e.fontSize):0},uT=(e={})=>{let{style:t={},enterable:n,transitionDuration:r}=e,{panel:i={},titleLabel:a,shape:o,keyLabel:s,valueLabel:c,spaceRow:l,align:u}=t,{panelStyle:d,panelPadding:f}=dT(i),p={marginTop:`0px`,marginBottom:`0px`};d.pointerEvents=n?`auto`:`none`,r&&(d.transitionDuration=r?`${r}ms`:`initial`,d.transitionProperty=r?`transform`:`initial`,d.transitionTimingFunction=r?`ease-out`:`initial`),P(l)&&(p.marginBottom=`${l}px`);let m={width:sT(o?.size??8)},h=cT(a),g=cT(s),_=cT(c),ee=u===`right`?`marginLeft`:`marginRight`;u===`right`&&(d.direction=`rtl`),N(h.textAlign)&&(h.textAlign=u===`right`?`right`:`left`),N(g.textAlign)&&(g.textAlign=u===`right`?`right`:`left`),N(_.textAlign)&&(_.textAlign=u===`right`?`left`:`right`),m[ee]=sT(o.spacing??8),g[ee]=sT(s.spacing??26),_[ee]=sT(c.spacing??0);let v=Math.max(lT(c),lT(s));return p.lineHeight=v>0?`${v}px`:`20px`,{panelPadding:f,row:p,panel:d,title:h,shape:m,key:g,value:_}},dT=e=>{let{backgroundColor:t,border:n,shadow:r,padding:i}=e,a={borderWidth:`${n?.width??0}px`},o=null;n!=null&&n.color&&(a.borderColor=n.color),t&&(a.backgroundColor=t),a.boxShadow=r?`${r.x}px ${r.y}px ${r.blur}px ${r.spread}px ${r.color}`:`initial`;let{radius:s}=n??{};return _(s)&&(a.borderRadius=P(s)?`${s}px`:`${s}`),_(i)&&(o=ht(i),a.padding=sT(o)),{panelStyle:a,panelPadding:o}}})))()}var pT;function mT(){return(mT=e((()=>{U(),pT=e=>{H.registerComponentPlugin(e.type,e)}})))()}function hT(e,t){if(!e||!e.hasShape||!e.shapeType)return``;let n=`style="display:inline-block;vertical-align:middle;"`,{shapeType:r,shapeStroke:i,shapeHollow:a=!1,shapeFill:o}=e,s=e.shapeSize??8,c=e.shapeLineWidth?Jw(e.shapeLineWidth)+`px`:`0px`,l=`currentColor`,u=()=>i?Jw(i):l,d=s,f=e=>new wi({symbolType:e,size:d,fill:!0}),p=f(r),m=p.getParsedPath(),h,g;if(!m.path&&m.pathStr&&(p=f(m.pathStr)),p.getParsedPath().path){let e=p.getParsedPath().path;g=e.toString(),h=e.bounds}else m.isSvg&&m.svgCache&&(g=m.svgCache.map((e=>e.path.toString())).join(),h=m.svgCache.reduce(((e,t)=>e.union(t.path.bounds)),new Ve));let _=`${h.x1} ${h.y1} ${h.width()} ${h.height()}`;if(c!==`0px`){let[e,t,n,r]=_.split(` `).map((e=>Number(e))),i=Number(c.slice(0,-2));_=`${e-i/2} ${t-i/2} ${n+i} ${r+i}`}let ee=Dn.IsGradientStr(o);if(!o||I(o)&&!ee||a)return l=a?`none`:o?Jw(o):`currentColor`,`\n <svg ${n} width="${s}" height="${s}" viewBox="${_}">\n <path\n d="${g}"\n style="fill: ${l}; stroke: ${u()}; stroke-width: ${c}"\n >\n </path>\n </svg>`;let v=ee?Dn.Parse(o):D(o)?o:null;if(v){l=`gradientColor`+(t??``);let e=``,r=(v.stops??[]).map((e=>`<stop offset="${Jw(e.offset.toString())}" stop-color="${Jw(e.color)}"/>`)).join(``);return v.gradient===`radial`?e=`<radialGradient id="${l}" cx="50%" cy="50%" r="50%" fx="0%" fy="0%">\n ${r}\n </radialGradient>`:v.gradient===`linear`&&(e=`<linearGradient id="${l}" x1="${100*(v.x0??0)}%" y1="${100*(v.y0??0)}%" x2="${100*(v.x1??0)}%" y2="${100*(v.y1??0)}%">\n ${r}\n </linearGradient>`),`\n <svg ${n} width="${s}" height="${s}" viewBox="-0.5 -0.5 1 1">\n ${e}\n <path\n d="${g}"\n style="fill: url(#${l}); stroke: ${u()}; stroke-width: ${c}"\n >\n </path>\n </svg>`}return``}function gT(){return(gT=e((()=>{Zw(),ei(),Yn(),Dt(),Tt(),Ct()})))()}var _T,vT,yT;function bT(){return(bT=e((()=>{aT(),fT(),qw(),y(),Xa(),mT(),Ov(),gT(),Zw(),Ss(),ds(),_T=e=>!!e&&e.nodeType===1&&typeof e.appendChild==`function`&&!!e.children,vT=class e extends iT{getVisibility(){return!!this._rootDom&&this._rootDom.style.visibility===`visible`}setVisibility(e){e!==this.getVisibility()&&this._rootDom&&(this._rootDom.style.visibility=e?`visible`:`hidden`)}getRootDom(){return this._rootDom}constructor(){super(e.type),this.type=wv.dom,this._tooltipContainer=Ya?.body}onAdd(e){super.onAdd(e),this._initStyle(),this.initEl()}_getTooltipParentElement(e){return _T(e.parentElement)?e.parentElement:_T(this._chartContainer)?this._chartContainer:_T(Ya?.body)?Ya.body:void 0}initEl(){let e=this._component.getSpec(),t=this._getTooltipParentElement(e);if(Ya&&t){for(let e=0;e<t.children.length;e++)if(t.children[e].classList.contains(`vchart-tooltip-container`)){this._container=t.children[e];break}this._container||(this._container=Ya.createElement(`div`),this._container.style.position=`relative`,this._container.style.zIndex=`99999999999999`,this._container.classList.add(`vchart-tooltip-container`),t.appendChild(this._container))}}initRootDom(){if(this._container||this.initEl(),!this._container)return;let e=this._component.getSpec(),t=Ya.createElement(`div`),n=this._chartOption?.getTheme(`fontFamily`);oT(t,Object.assign({left:`0`,top:`0`,pointerEvents:`none`,padding:`12px`,position:`absolute`,zIndex:Kw,fontFamily:n??xs.fontFamily,fontSize:`11px`,borderRadius:`3px`,borderStyle:`solid`,lineHeight:`initial`,background:`#fff`,boxShadow:`2px 2px 4px rgba(0, 0, 0, 0.1)`,maxWidth:`100wh`,maxHeight:`100vh`,visibility:`hidden`},this._domStyle.panel)),t.classList.add(e.className),t.setAttribute(`vchart-tooltip-id`,`${this.id}`),this._container.appendChild(t),this._rootDom=t}_getTooltipBoxSize(e,t){this._rootDom||this.initRootDom(),t||this._updateDomStringByCol(e),this._updateDomStyle(`height`,t);let n=this._rootDom?.getBoundingClientRect();return{width:n?.width,height:n?.height}}_removeTooltip(){this._rootDom&&this._rootDom.parentNode&&(this._rootDom.parentNode.removeChild(this._rootDom),this._rootDom=null),this._container=null}_updateTooltip(e,t){if(e&&this._rootDom){let{tooltipSpec:n,activeTooltipSpec:r}=t;t.changePositionOnly||(this._tooltipActual=r);let i=this._rootDom;if(i){let{x:a=0,y:o=0}=r.position??{},s={x:a,y:o},c=this.getVisibility();n.updateElement&&(this._updatePosition(this._cacheCustomTooltipPosition??{x:a,y:o}),n.updateElement(i,r,t),s=this._getActualTooltipPosition(r,t,{width:i.offsetWidth,height:i.offsetHeight}),this._cacheCustomTooltipPosition=s),!c&&e&&(this._rootDom.style.transition=`none`,this._updatePosition(s,!1),this._rootDom.getBoundingClientRect()),this._updatePosition(s)}this.setVisibility(e)}else this.setVisibility(e),this._cacheCustomTooltipPosition=void 0}_initStyle(){let e=this._component.getSpec();this._domStyle=uT(e)}_updateDomStringByCol(e){let{title:t={},content:n}=e,r=n&&n.length,i=this._domStyle.row,a=[...this._rootDom.children],o=a.find((e=>e.className.includes(Uw))),s=a.find((e=>e.className.includes(Ww)));if(!o&&!1!==t.visible){o=document.createElement(`h2`);let e=document.createElement(`span`);o.appendChild(e),o.classList.add(Uw),this._rootDom.firstChild?this._rootDom.insertBefore(o,this._rootDom.firstChild):this._rootDom.appendChild(o)}o&&!1!==t.visible?(oT(o,Object.assign(Object.assign(Object.assign({},this._domStyle.title),r?i:{marginBottom:`0px`}),{marginTop:`0px`})),o.firstChild.textContent=`${t.value??``}`):o&&!1===t.visible&&o.parentNode.removeChild(o);let c=[`shape`,`key`,`value`];if(!s&&r&&(s=document.createElement(`div`),c.forEach((e=>{let t=document.createElement(`div`);t.classList.add(`vchart-tooltip-column`),t.classList.add(`vchart-tooltip-${e}-column`),t.setAttribute(`data-col`,e),s.appendChild(t)})),s.classList.add(`vchart-tooltip-content-box`),this._rootDom.appendChild(s)),s&&r){let e=[...s.children];oT(s,{whiteSpace:`nowrap`}),e.forEach(((e,t)=>{let r=e.getAttribute(`data-col`);if(r&&c.includes(r)){let t=r===`shape`&&n.every((e=>!e.hasShape||!e.shapeType));oT(e,Object.assign(Object.assign({},this._domStyle[r]),{display:t?`none`:`inline-block`,verticalAlign:`top`}));let a=[...e.children];a.slice(n.length).forEach((e=>{e.parentNode.removeChild(e)})),n.forEach(((t,o)=>{let s=a[o];s||(s=document.createElement(`div`),s.classList.add(`vchart-tooltip-${r}`),e.appendChild(s));let c=Object.assign({},i);o===n.length-1&&(c.marginBottom=`0px`),c.display=!1===t.visible?`none`:`block`,c.height=`initial`,r===`key`?(s.innerHTML=Xw(t.key),t.keyStyle&&cT(t.keyStyle,c)):r===`value`?(s.innerHTML=Xw(t.value),t.valueStyle&&cT(t.valueStyle,c)):r===`shape`&&(s.innerHTML=hT(t,`${this.id}_${o}`)),oT(s,c)}))}}))}else s&&!r&&s.parentNode.removeChild(s)}_updateDomStyle(e=`width`,t){let n=this._rootDom,r=[...n.children].find((e=>e.className.includes(Ww))),i=[...n.children].find((e=>e.className.includes(Uw)));if(r){let n=this._component.getSpec(),a={},o=n.style?.titleLabel;if(o&&o.autoWidth&&!1!==o.multiLine&&i){let t=[...r.children].reduce(((t,n)=>e===`height`?t+n.getBoundingClientRect().width:Math.max(t,n.getBoundingClientRect().width)),0);t>0&&(i.style.maxWidth=`${t}px`,i.style.maxWidth=`${Math.ceil(r.getBoundingClientRect().width)}px`)}if(_(n?.style?.maxContentHeight)){let e=i&&i.className.includes(`vchart-tooltip-title`)?i.getBoundingClientRect().height+(n.style.spaceRow??0):0,t=this._chartOption.getChartViewRect(),o=as(n.style.maxContentHeight,Math.min(t.height,document.body.clientHeight)-e-(this._domStyle.panelPadding?this._domStyle.panelPadding[0]+this._domStyle.panelPadding[1]:0));o>0&&(a.maxHeight=`${o}px`,a.overflowY=`auto`,a.width=`calc(100% + ${this._domStyle.panelPadding?this._domStyle.panelPadding[1]+`px`:`10px`})`,oT(r,a))}let s=r.children,c=[];if(s){for(let n=0;n<s.length;n++){let r=s[n].children??[];for(let n=0;n<r.length;n++){t&&(r[n].style[e]=`initial`);let i=r[n].getBoundingClientRect()[e];(c[n]===void 0||c[n]<i)&&(c[n]=i)}}for(let t=0;t<s.length;t++){let n=s[t].children??[];for(let t=0;t<n.length;t++)n[t].style[e]=`${c[t]}px`}}}}_getParentElement(e){return this._container??this._getTooltipParentElement(e)}isTooltipShown(){return this.getVisibility()}reInit(){super.reInit(),this._initStyle(),this._rootDom&&oT(this._rootDom,this._domStyle.panel),this.getVisibility()&&(this._updateDomStringByCol(this._tooltipActual),this._updateDomStyle(`height`,!1))}_updatePosition({x:e,y:t},n=!0){this._rootDom&&(this._rootDom.style.transform=`translate3d(${e}px, ${t}px, 0)`,n&&this._rootDom.style.transition!==``&&(this._rootDom.style.transition=``,Object.assign(this._rootDom.style,this._domStyle.panel)))}},vT.type=wv.dom,yT=()=>{pT(vT)}})))()}var xT,ST;function CT(){return(CT=e((()=>{U(),zd(),La(),xT=class e extends Rd{constructor(){super(...arguments),this.type=e.type}_getDefaultStyle(){return Object.assign(Object.assign({},super._getDefaultStyle()),{width:void 0,height:void 0,lineWidth:0})}},xT.type=`image`,ST=()=>{H.registerMark(xT.type,xT),Kt(),En(),H.registerGraphicComponent(`image`,Zt)}})))()}var wT;function TT(){return(TT=e((()=>{fh(),hh(),Hd(),By(),pb(),Uv(),oy(),Dy(),_b(),Cg(),kb(),ub(),zd(),Sb(),CT(),wb(),Eb(),yb(),wT=()=>{Vd(),dh(),mh(),zy(),fb(),Hv(),ay(),Ey(),gb(),xb(),ST(),Ob(),Sg()}})))()}function ET(e,t=`ChartContainer`,n){let r=ba.forwardRef(((t,r)=>{let i=wa(null),[a,o]=Ta(!1),{className:s,style:c,width:l,height:u,id:d}=t,f=DT(t,[`className`,`style`,`width`,`height`,`id`]);return Ca((()=>{o(!0)}),[]),ba.createElement(`div`,{ref:i,id:d?.toString(),className:s,style:Object.assign({position:`relative`,height:u||`100%`,width:l||`100%`},c)},a?ba.createElement(e,Object.assign({ref:r,container:i.current},n?n(f):f)):ba.createElement(ba.Fragment,null))}));return r.displayName=t||e.name,r}var DT;function OT(){return(OT=e((()=>{DT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}})))()}var kT;function AT(){return(AT=e((()=>{kT=ba.createContext(null),kT.displayName=`ChartContext`})))()}var jT,MT;function NT(){return(NT=e((()=>{E(),jT=ya(),MT=e=>{let t=[];return ba.Children.forEach(e,(e=>{N(e)||((0,jT.isFragment)(e)?t=t.concat(MT(e.props.children)):t.push(e))})),t}})))()}var PT;function FT(){return(FT=e((()=>{PT=[`children`,`hooks`,`ref`]})))()}var IT,LT,RT,zT,BT,VT,HT,UT,WT,GT,KT,qT,JT;function YT(){return(YT=e((()=>{IT={onPointerDown:`pointerdown`,onPointerUp:`pointerup`,onPointerUpOutside:`pointerupoutside`,onPointerTap:`pointertap`,onPointerOver:`pointerover`,onPointerMove:`pointermove`,onPointerEnter:`pointerenter`,onPointerLeave:`pointerleave`,onPointerOut:`pointerout`,onMouseDown:`mousedown`,onMouseUp:`mouseup`,onMouseUpOutside:`mouseupoutside`,onMouseMove:`mousemove`,onMouseOver:`mouseover`,onMouseOut:`mouseout`,onMouseEnter:`mouseenter`,onMouseLeave:`mouseleave`,onPinch:`pinch`,onPinchStart:`pinchstart`,onPinchEnd:`pinchend`,onPan:`pan`,onPanStart:`panstart`,onPanEnd:`panend`,onDrag:`drag`,onDragStart:`dragstart`,onDragEnter:`dragenter`,onDragLeave:`dragleave`,onDragOver:`dragover`,onDragEnd:`dragend`,onRightDown:`rightdown`,onRightUp:`rightup`,onRightUpOutside:`rightupoutside`,onTouchStart:`touchstart`,onTouchEnd:`touchend`,onTouchEndOutside:`touchendoutside`,onTouchMove:`touchmove`,onTouchCancel:`touchcancel`,onPress:`press`,onPressUp:`pressup`,onPressEnd:`pressend`,onSwipe:`swipe`,onDrop:`drop`,onWeel:`wheel`,onClick:`click`,onDblClick:`dblclick`},LT={onLegendItemHover:`legendItemHover`,onLegendItemUnHover:`legendItemUnHover`,onLegendItemClick:`legendItemClick`,onLegendFilter:`legendFilter`,onLegendSelectedDataChange:`legendSelectedDataChange`},RT={onBrushStart:`brushStart`,onBrushChange:`brushChange`,onBrushEnd:`brushEnd`,onBrushClear:`brushClear`},zT={onDataZoomChange:`dataZoomChange`},BT={onPlayerPlay:`playerPlay`,onPlayerPause:`playerPause`,onPlayerEnd:`playerEnd`,onPlayerChange:`playerChange`,onPlayerForward:`playerForward`,onPlayerBackward:`playerBackward`},VT={onScrollBarChange:`scrollBarChange`},HT={onDimensionHover:`dimensionHover`,onDimensionClick:`dimensionClick`},UT={onDrill:`drill`},WT={onInitialized:`initialized`,onRendered:`rendered`,onRenderFinished:`renderFinished`,onAnimationFinished:`animationFinished`,onLayoutStart:`layoutStart`,onLayoutEnd:`layoutEnd`},GT=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},LT),RT),BT),zT),VT),HT),WT),UT),IT),KT=Object.keys(GT).concat(Object.keys(IT).map((e=>`${e}Filter`))),Object.keys(IT),Object.keys(IT).reduce(((e,t)=>(e[IT[t]]=t,e)),{}),qT=(e,t=IT)=>{let n={};return Object.keys(e).forEach((r=>{t[r]&&e[r]&&(n[r]=e[r])})),n},JT=(e,t,n,r=IT)=>{if(!t&&!n||!e)return!1;let i=n?qT(n,r):null,a=t?qT(t,r):null;return i&&Object.keys(i).forEach((t=>{a&&a[t]&&a[t]===i[t]||e.off(r[t],i[t])})),a&&Object.keys(a).forEach((n=>{if(!i||!i[n]||i[n]!==a[n]){let i=t[`${n}Filter`];i?e.on(r[n],i,a[n]):e.on(r[n],a[n])}})),!0}})))()}var XT;function ZT(){return(ZT=e((()=>{pc(),XT=`${W}_REACT_TOOLTIP`})))()}var QT;function $T(){return($T=e((()=>{ZT(),QT=(e,t,n)=>{let r=Object.assign({},n??{}),i;if(n?.tooltipRender?(i=n.tooltipRender,delete r.tooltipRender):t.tooltipRender&&(i=t.tooltipRender),i){let a;if(n?.reserveDefaultTooltip?(a=n.reserveDefaultTooltip,delete r.reserveDefaultTooltip):a=t.reserveDefaultTooltip,!a){let e=Object.assign({},r.style?.panel??{});e.padding=0,e.border=Object.assign(Object.assign({},e.border),{radius:0}),e.backgroundColor=`unset`,r.style=Object.assign(Object.assign({},r.style??{}),{panel:e})}return Object.assign(Object.assign({},r),{updateElement:(t,n,r)=>{let{changePositionOnly:o}=r;if(!o){if(!a){t.style.width=`auto`,t.style.height=`auto`,t.style.minHeight=`auto`;for(let e=0;e<t.children.length;e++){let n=t.children[e];n.className!==XT&&n.style.display!==`none`&&(n.style.display=`none`)}}e(ka(ba.createElement(`div`,{className:XT},i(t,n,r)),t))}}})}return n}})))()}var eE,tE,nE,rE,iE,aE;function oE(){return(oE=e((()=>{OT(),AT(),Te(),E(),y(),ne(),NT(),FT(),YT(),$T(),eE=[...PT,...KT,`vchartConstructor`,`vchartConstrouctor`,`useSyncRender`,`skipFunctionDiff`,`onError`,`onReady`,`spec`,`container`,`options`,`morphConfig`],tE={morph:!1,enableExitAnimation:!1},nE=(e,t)=>`${e&&e.type&&(e.type.displayName||e.type.name)}-${t}`,rE=e=>{let t={};return MT(e.children).map(((e,n)=>{let r=e&&e.type&&e.type.parseSpec;if(r&&e.props){let i=r(N(e.props.componentId)?Object.assign(Object.assign({},e.props),{componentId:nE(e,n)}):e.props);i.isSingle?t[i.specName]=i.spec:(t[i.specName]||(t[i.specName]=[]),t[i.specName].push(i.spec))}})),t},iE=ba.forwardRef(((e,t)=>{let[n,r]=Ta(0),i=wa({});Sa(t,(()=>i.current?.chart));let a=!!e.spec,o=wa(!1),s=wa(se(e,eE)),c=wa(null),l=ba.useRef(null),u=!!e.skipFunctionDiff,[d,f]=Ta(null),p=e=>{let t;a&&e.spec?(t=e.spec,_(e.data)&&(t=Object.assign(Object.assign({},e.spec),{data:e.data}))):t=Object.assign(Object.assign({},s.current),c.current);let n=QT(f,e,t.tooltip);return n&&(t.tooltip=n),t},m=t=>{if(!o.current){if(!i.current||!i.current.chart)return;t&&JT(i.current.chart,e,l.current,GT),r(n+1),e.onReady&&e.onReady(i.current.chart,n===0)}};return xa((()=>{let t=a?null:rE(e);if(!i.current?.chart)return a||(c.current=t),(e=>{let t=new(e.vchartConstructor??e.vchartConstrouctor)(p(e),Object.assign(Object.assign({},e.options),{onError:e.onError,autoFit:!0,dom:e.container}));i.current=Object.assign(Object.assign({},i.current),{chart:t}),o.current=!1})(e),i.current.chart&&(JT(i.current.chart,e,l.current,GT),i.current.chart.renderSync({reuse:!1}),m()),void(l.current=e);if(a)return void(O(l.current.spec,e.spec,{skipFunction:u})?l.current.data!==e.data&&(i.current.chart.updateFullDataSync(e.data),m(!0),l.current=e):(i.current.chart.updateSpecSync(p(e),void 0,e.morphConfig??tE),m(!0),l.current=e));let n=se(e,eE);O(n,s.current,{skipFunction:u})&&O(t,c.current,{skipFunction:u})||(s.current=n,c.current=t,i.current.chart.updateSpecSync(p(e),void 0,e.morphConfig??tE),m(!0),l.current=e)}),[e]),xa((()=>()=>{i&&i.current&&i.current.chart&&(i.current.chart.release(),i.current.chart=null),l.current=null,o.current=!0}),[]),ba.createElement(kT.Provider,{value:i.current},MT(e.children).map(((e,t)=>{if(typeof e==`string`)return null;let r=nE(e,t);return ba.createElement(ba.Fragment,{key:r},ba.cloneElement(e,{updateId:n,componentId:r}))})),d)})),aE=(e,t,n)=>{n&&n.length&&t.vchartConstructor&&t.vchartConstructor.useRegisters(n);let r=ET(iE,e,(e=>t?Object.assign(e,t):e));return r.displayName=e,r}})))()}var sE;function cE(){return(cE=e((()=>{d_(),Jg(),Kv(),Yv(),hx(),qb(),Mx(),qx(),yS(),TS(),qC(),QC(),aw(),jw(),Lw(),Vw(),bT(),TT(),Tf(),ci(),sE=[Cf,jr,jx,yT,u_,qg,Gv,Jv,Kx,Iw,mx,vS,Kb,Bw,wT,iw,KC,Aw,wS,ZC]})))()}var lE;function uE(){return(uE=e((()=>{Yf(),wy(),hw(),xw(),oE(),cE(),lE=aE(`BarChart`,{type:`bar`,vchartConstructor:Jf},[Cy,mw,bw,...sE])})))()}function dE(e,t){return getComputedStyle(document.body).getPropertyValue(e).trim()||getComputedStyle(document.documentElement).getPropertyValue(e).trim()||t}function fE(e){let t=dE(`--arc-antd-color-primary`,e?`#6aa1ff`:`#1664ff`),n=dE(`--arc-antd-color-fill-0`,e?`rgba(255, 255, 255, 0.04)`:`rgba(28, 31, 35, 0.03)`),r=dE(`--arc-antd-color-fill-1`,e?`rgba(255, 255, 255, 0.08)`:`rgba(28, 31, 35, 0.06)`);return{success:dE(`--arc-antd-color-success`,e?`#37d196`:`#00b42a`),danger:dE(`--arc-antd-color-danger`,e?`#ff7875`:`#f53f3f`),warning:dE(`--arc-antd-color-warning`,e?`#ffb44b`:`#ff7d00`),risk:e?`#ff6b8a`:mE,active:dE(`--arc-antd-color-data-2`,e?`#74d8ff`:`#1ac6ff`),primary:t,text0:dE(`--arc-antd-color-text-0`,e?`rgba(255, 255, 255, 0.9)`:`rgba(0, 0, 0, 0.9)`),text1:dE(`--arc-antd-color-text-1`,e?`rgba(255, 255, 255, 0.75)`:`rgba(0, 0, 0, 0.62)`),text2:dE(`--arc-antd-color-text-2`,e?`rgba(255, 255, 255, 0.55)`:`rgba(0, 0, 0, 0.36)`),border:dE(`--arc-antd-color-border`,e?`rgba(255, 255, 255, 0.12)`:`rgba(28, 31, 35, 0.12)`),fill0:n,fill1:r,grid:e?`rgba(255, 255, 255, 0.12)`:`rgba(28, 31, 35, 0.10)`,bg1:dE(`--arc-antd-color-bg-1`,e?`#16161a`:`#ffffff`),tooltipBg:dE(`--arc-antd-color-bg-2`,e?`#2f3037`:`#ffffff`),tooltipShadow:e?`rgba(0, 0, 0, 0.35)`:`rgba(0, 0, 0, 0.10)`,dataColors:hE.map((e,t)=>dE(`--arc-antd-color-data-${e}`,gE[t]))}}function pE(){let{isDark:e,themeColor:t}=r(),[n,i]=Ta(()=>fE(e));return xa(()=>{let t=()=>i(fE(e));t();let n=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(n)},[e,t]),n}var mE,hE,gE;function _E(){return(_E=e((()=>{i(),mE=`#f43f5e`,hE=[0,2,4,6,8,10,12,14,16,18],gE=[`#1664ff`,`#1ac6ff`,`#ff8a00`,`#3cc780`,`#7442d4`,`#ffc400`,`#304d77`,`#b48deb`,`#009488`,`#ff7dda`]})))()}function vE(e){return e>=1e4?`${(e/1e4).toFixed(1)}万`:String(e)}function yE(e){return Array.isArray(e)?e.join(``):e}function bE(e){return Number(yE(e))||0}function xE(e,t){let n=e?.[t];return typeof n==`string`||typeof n==`number`?String(n):``}function SE(e,t){let n=e?.[t];return typeof n==`number`?n:Number(n)||0}function CE(e){return{style:{panel:{backgroundColor:e.tooltipBg,border:{color:e.border,width:1},shadow:{x:0,y:8,blur:10,spread:0,color:e.tooltipShadow}},titleLabel:{fill:e.text1},keyLabel:{fill:e.text2},valueLabel:{fill:e.text0}}}}function wE(e){return{padding:{top:8,right:12,bottom:8,left:8},background:`transparent`,animation:!0,tooltip:CE(e)}}function TE(e){return e.length===0||e.every(e=>(e.count??e.value??0)===0)}function EE(e,t,n){let r=[];for(let i of e){let e=i[t],a=typeof e==`string`||typeof e==`number`?String(e):``;for(let e of n){let t=i[e.field];r.push({...i,__x:a,__type:e.name,__value:typeof t==`number`?t:Number(t)||0})}}return r}function DE(e,t){return e.map((e,n)=>e.color??t.dataColors[n%t.dataColors.length])}var OE,kE;function AE(){return(AE=e((()=>{OE={mode:`desktop-browser`,dpr:typeof window>`u`?1:window.devicePixelRatio},kE={fontSize:14,fontWeight:600,color:`var(--arc-antd-color-text-0)`,marginBottom:12}})))()}function jE(e,t,n){return{orient:e,type:`band`,tick:{visible:!1},domainLine:{visible:!1},grid:{visible:!1},label:{style:{fill:t.text2,fontSize:11},autoLimit:!0,...n?{formatMethod:e=>n(yE(e))}:{}}}}function ME(e,t,n){return{orient:e,type:`linear`,tick:{visible:!1},domainLine:{visible:!1},grid:{visible:!0,style:{stroke:t.grid,lineDash:[3,4],lineWidth:1}},label:{style:{fill:t.text2,fontSize:12},formatMethod:e=>n?n(bE(e)):vE(bE(e))}}}function NE(e){return Array.isArray(e)?e[0]:e}function PE(e){return{visible:!0,orient:`bottom`,position:`middle`,item:{label:{style:{fill:e.text1,fontSize:12}}}}}function FE(e){return{...CE(e.palette),mark:{title:{value:t=>xE(t,e.categoryField)},content:[{key:e.tooltipKey??`数值`,value:t=>e.valueFmt(SE(t,e.valueField))}]}}}function IE({palette:e,multi:t,xField:n,singleName:r,singleField:i,valueFmt:a,titleFmt:o}){return{...CE(e),...t?{dimension:{title:{value:e=>{let t=xE(NE(e),`__x`);return o?o(t):t}}},mark:{content:[{key:e=>xE(e,`__type`),value:e=>a(SE(e,`__value`),xE(e,`__type`),e)}]}}:{mark:{title:{value:e=>o?o(xE(e,n)):xE(e,n)},content:[{key:r,value:e=>a(SE(e,i),r,e)}]}}}}function LE(e,t){let{palette:n,series:r,xField:i,data:a}=e,o=r.length>1,s=e.smooth??!0?`monotone`:`linear`,c=e.legend??o,l=DE(r,n),u=r[0],d=u?.field??`__value`,f=u?.name??``,p=o?`__x`:i,m=o?`__value`:d,h=o?EE(a,i,r):[...a],g=e.tooltip?.value??(e=>vE(e)),_=e.tooltip?.title,ee={...wE(n),data:[{id:`series`,values:h}],xField:p,yField:m,color:l,...o?{seriesField:`__type`,stack:e.stack??!1}:{},line:{style:{lineWidth:2,curveType:s}},point:{visible:e.point??!1,style:{size:e.pointSize??5}},axes:[jE(`bottom`,n,e.axis?.xLabel),ME(`left`,n,e.axis?.yLabel)],...c?{legends:PE(n)}:{},tooltip:IE({palette:n,multi:o,xField:i,singleName:f,singleField:d,valueFmt:g,titleFmt:_})};return t?{...ee,area:{style:{fillOpacity:e.fillOpacity??.2,curveType:s}}}:ee}function RE(e){return LE(e,!1)}function zE(e){return LE(e,!0)}function BE(e){let{palette:t,series:n,xField:r,data:i,horizontal:a}=e,o=n.length>1,s=e.legend??o,c=DE(n,t),l=o?`__x`:r,u=o?`__value`:n[0]?.field??`__value`,d=n[0]?.name??``,f=o?EE(i,r,n):[...i],p=e.tooltip?.value??(e=>vE(e)),m=e.tooltip?.title,h=e.cornerRadius??4,g=a?[0,h,h,0]:[h,h,0,0],_=jE(a?`left`:`bottom`,t,e.axis?.xLabel),ee=ME(a?`bottom`:`left`,t,e.axis?.yLabel);a&&e.categoryAxisWidth&&(_.width=e.categoryAxisWidth);let v={cornerRadius:g,fillOpacity:.92};return!o&&e.colorByDatum&&(v.fill=t=>e.colorByDatum(t)),{...wE(t),data:[{id:`bar`,values:f}],...a?{direction:`horizontal`}:{},xField:a?u:l,yField:a?l:u,color:c,...o?{seriesField:`__type`,stack:e.stack??!1}:{},barMaxWidth:e.barMaxWidth??(a?16:22),...e.barMinHeight==null?{}:{barMinHeight:e.barMinHeight},bar:{style:v},...e.showLabel?{label:{visible:!0,position:a?`right`:`top`,formatMethod:(e,t)=>vE(SE(t,u)),style:{fill:e.labelColor??t.text2,fontSize:11}}}:{},axes:[_,ee],...s?{legends:PE(t)}:{},tooltip:IE({palette:t,multi:o,xField:r,singleName:d,singleField:u,valueFmt:p,titleFmt:m})}}function VE(e){let{palette:t,data:n,categoryField:r,valueField:i}=e,a=e.donut??!0,o=e.label??`percent`,s=e.labelPosition??`outside`,c=e.colors?[...e.colors]:t.dataColors,l=n.reduce((e,t)=>{let n=t[i];return e+(typeof n==`number`?n:Number(n)||0)},0),u=e.valueFormatter??(t=>`${vE(t)}${e.valueUnit?` ${e.valueUnit}`:``}`),d={type:`pie`,background:`transparent`,animation:!0,data:[{id:`pie`,values:[...n]}],categoryField:r,valueField:i,color:c,outerRadius:e.outerRadius??.82,innerRadius:e.innerRadius??(a?.55:0),padAngle:e.padAngle??(a?1.2:0),cornerRadius:e.cornerRadius??(a?4:0),...e.legend===!1?{}:{legends:{visible:!0,orient:`bottom`,position:`middle`,item:{label:{style:{fill:t.text1,fontSize:e.legendLabelFontSize??12}}}}},label:{visible:o!==`none`,position:s,line:{visible:e.labelLine??s===`outside`},style:{fill:e.labelColor??t.text1,fontSize:e.labelFontSize??11,fontWeight:s===`inside`?600:400},formatMethod:(e,t)=>{let n=SE(t,i),a=xE(t,r);return o===`value`?n>0?vE(n):``:l<=0||n/l<.05?``:`${a} ${Math.round(n/l*100)}%`}},tooltip:FE({palette:t,categoryField:r,valueField:i,valueFmt:u,tooltipKey:e.tooltipKey})};return a&&e.indicator&&(d.indicator={visible:!0,title:{visible:!0,autoLimit:!0,style:{text:e.indicator.title,fill:t.text0,fontSize:e.indicatorTitleFontSize??26,fontWeight:700}},content:e.indicator.subtitle?[{visible:!0,style:{text:e.indicator.subtitle,fill:t.text2,fontSize:12}}]:[]}),d}function HE(e){let t=e?.datum;return Array.isArray(t)?t.map(e=>typeof e?.name==`string`||typeof e?.name==`number`?String(e.name):``).filter(Boolean).join(` / `):xE(e,`name`)}function UE(e){return Array.isArray(e)}function WE(e){let t=e.categoryField??`name`,n=e.valueField??`value`,r=e.valueFormatter??(e=>vE(e)),i=UE(e.data)?[...e.data]:[...e.data.children??[]],a=e.tooltipItems??[{key:`使用次数`,value:e=>r(SE(e,n))}];return{type:`treemap`,background:`transparent`,animation:!0,data:{id:`treemap`,values:i},categoryField:t,valueField:n,color:e.colors?[...e.colors]:e.palette.dataColors,drill:e.drill??!0,gapWidth:2,nodePadding:2,minVisibleArea:e.minVisibleArea??8,minChildrenVisibleArea:e.minChildrenVisibleArea??36,leaf:{style:{fillOpacity:.9,stroke:e.palette.bg1,lineWidth:1}},nonLeaf:{visible:!0,style:{fillOpacity:.1,stroke:e.palette.border,lineWidth:1}},label:{visible:!0,style:{fill:`#ffffff`,fontSize:e.labelFontSize??12,fontWeight:600}},nonLeafLabel:{visible:!0,position:`top`,padding:22,style:{fill:e.palette.text1,fontSize:12,fontWeight:600,textAlign:`left`,x:e=>(e?.labelRect?.x0??0)+4}},tooltip:{...CE(e.palette),mark:{title:{value:e=>HE(e)},content:a}}}}function GE(e){let t=e.valueFormatter??(e=>vE(e)),n=e.colors??e.palette.dataColors,r=(t,r)=>e.nodeColor?e.nodeColor(t,r):n[r%n.length],i=e.nodes.map((e,t)=>({...e,name:e.label,fill:r(e,t)})),a=new Map(i.map(e=>[e.id,e.fill])),o=new Map(i.map(e=>[e.id,e])),s=e=>{if(!e)return{};let t=e.datum,n=Array.isArray(t)?t[0]:t,r=n&&typeof n==`object`?{...n,...e}:{...e},i=r.key??r.id,a=typeof i==`string`?o.get(i):void 0;return a?{...a,...r}:r},c=t=>a.get(xE(t,`source`))??e.palette.primary,l=(e,t)=>e.map(e=>({key:e.key,value:t=>e.value(s(t)),visible:e=>KE(e)===t})),u=[{key:`流量`,value:e=>t(SE(e,`value`))}];return{type:`sankey`,background:`transparent`,animation:!0,data:[{id:`sankey`,values:[{nodes:i,links:[...e.links]}]}],categoryField:`id`,valueField:`value`,sourceField:`source`,targetField:`target`,nodeKey:`id`,nodeAlign:`justify`,...e.nodeLayer?{setNodeLayer:t=>e.nodeLayer(s(t))}:{},nodeGap:e.nodeGap??8,nodeWidth:e.nodeWidth??12,minLinkHeight:1,dropIsolatedNode:!1,node:{style:{fill:t=>xE(s(t),`fill`)||e.palette.primary}},link:{style:{fill:c,fillOpacity:.28}},label:{visible:!0,limit:e.labelLimit??140,style:{fill:e.palette.text1,fontSize:11,text:t=>{let n=s(t);return e.nodeLabel?e.nodeLabel(n):xE(n,`name`)}}},emphasis:{enable:!0,trigger:`hover`,effect:`adjacency`},tooltip:{...CE(e.palette),mark:{title:{value:t=>{let n=s(t);return KE(t)?e.tooltip?.linkTitle?.(n)??qE(n):e.tooltip?.nodeTitle?.(n)??xE(n,`name`)}},content:[...l(e.tooltip?.nodeItems??u,!1),...l(e.tooltip?.linkItems??u,!0)]}}}}function KE(e){return!!xE(e,`source`)&&!!xE(e,`target`)}function qE(e){return`${xE(e,`source`)} → ${xE(e,`target`)}`}function JE(e){let{palette:t}=e,n=[e.bar,...e.stackedBars??[]],r=[e.line,...e.extraLines??[]],i=n.length>1,a=e=>e.id??e.field,o=(e,n)=>e.color??t.dataColors[n]??t.primary,s=(e,n)=>e.color??t.dataColors[2+n]??t.active,c=e.tooltip?.titleField??e.xField,l=e.tooltip?.barValue??(e=>vE(e)),u=e.tooltip?.lineValue??(e=>vE(e)),d=[...e.data],f=e.dataId??`mixed`,p=`${a(e.bar)}-stack`,m={...ME(`left`,t,e.axis?.leftLabel),seriesId:i?[p]:[a(e.bar)]},h={...ME(`right`,t,e.axis?.rightLabel),seriesId:r.map(a),grid:{visible:!1}},g=i?[{type:`bar`,id:p,dataId:`${f}-bars`,xField:`__x`,yField:`__value`,seriesField:`__type`,stack:!0,bar:{style:{fill:e=>{let t=n.findIndex(t=>t.name===xE(e,`__type`));return o(n[Math.max(t,0)],Math.max(t,0))},fillOpacity:e.bar.fillOpacity??.92}}}]:[{type:`bar`,id:a(e.bar),dataId:f,xField:e.xField,yField:e.bar.field,name:e.bar.name,bar:{style:{fill:o(e.bar,0),cornerRadius:e.bar.cornerRadius??[4,4,0,0],fillOpacity:e.bar.fillOpacity??.92}}}];return{...wE(t),data:[{id:f,values:d},...i?[{id:`${f}-bars`,values:EE(d,e.xField,n.map(e=>({field:e.field,name:e.name})))}]:[]],series:[...g,...r.map((t,n)=>{let r=s(t,n);return{type:`line`,id:a(t),dataId:f,xField:e.xField,yField:t.field,name:t.name,line:{style:{stroke:r,lineWidth:t.lineWidth??2,curveType:t.smooth??!0?`monotone`:`linear`}},point:{visible:t.showPoint??!0,style:{fill:r,size:t.pointSize??5}}}})],axes:[jE(`bottom`,t,e.axis?.xLabel),m,h],...e.legend===!1?{}:{legends:PE(t)},tooltip:{...CE(t),dimension:{title:{value:t=>{let n=NE(t),r=xE(n,c);return e.tooltip?.title?e.tooltip.title(r,n):r}},content:[...n.map(e=>({key:e.name,value:t=>{let n=NE(t);return(e.format??l)(SE(n,e.field),n)}})),...r.map(e=>({key:e.name,value:t=>{let n=NE(t);return(e.format??u)(SE(n,e.field),n)}}))]}}}}function YE(e,t,n){return{...ME(e,t,n?.label),...n?.min==null?{}:{min:n.min},...n?.max==null?{}:{max:n.max},...n?.inverse==null?{}:{inverse:n.inverse}}}function XE(e){let t=e.point??{};return{...wE(e.palette),...e.padding?{padding:e.padding}:{},data:[{id:e.dataId??`scatter`,values:[...e.data]}],xField:e.xField,yField:e.yField,point:{style:{...t.size==null?{}:{size:t.size},...t.fill==null?{}:{fill:t.fill},...t.fillOpacity==null?{}:{fillOpacity:t.fillOpacity},...t.stroke==null?{}:{stroke:t.stroke},...t.lineWidth==null?{}:{lineWidth:t.lineWidth}}},axes:[YE(`bottom`,e.palette,e.xAxis),YE(`left`,e.palette,e.yAxis)],tooltip:{...CE(e.palette),mark:{...e.tooltip?.title?{title:{value:t=>e.tooltip.title(t)}}:{},...e.tooltip?.items?{content:e.tooltip.items.map(e=>({key:e.key,value:t=>e.value(t)}))}:{}}}}}function ZE(e){let t=e.dataId??`heatmap`,n=e.colorRange?[...e.colorRange]:[e.palette.fill1,e.palette.dataColors[0]??e.palette.primary],r=e.tooltip?.value??(e=>vE(e)),i=e.tooltip?.valueName??`次数`;return{type:`heatmap`,background:`transparent`,animation:!0,data:[{id:t,values:[...e.data]}],xField:e.xField,yField:e.yField,valueField:e.valueField,cell:{style:{fill:{field:e.valueField,scale:`color`},stroke:e.palette.bg1,lineWidth:1}},color:{type:`linear`,domain:[{dataId:t,fields:[e.valueField]}],range:n},axes:[jE(`bottom`,e.palette,e.axis?.xLabel),{...jE(`left`,e.palette,e.axis?.yLabel),bandPadding:0}],legends:e.colorLegend===!1?void 0:{visible:!0,type:`color`,field:e.valueField,orient:`bottom`,position:`start`,railHeight:8,railWidth:160,handlerText:{style:{fill:e.palette.text2,fontSize:11}}},tooltip:{...CE(e.palette),mark:{title:{value:t=>e.tooltip?.title?e.tooltip.title(t):`${xE(t,e.yField)} ${xE(t,e.xField)}`},content:[{key:i,value:t=>r(SE(t,e.valueField),t)}]}}}}function QE(){return(QE=e((()=>{AE()})))()}function $E({children:e,minItemWidth:t=180,gap:n=14,className:r,style:i}){return/* @__PURE__ */ Da(`div`,{className:[`zx-stat-wrap`,r].filter(Boolean).join(` `),style:i,children:/* @__PURE__ */ Da(`div`,{className:`zx-stat-grid`,style:{"--zx-stat-min":`${t}px`,"--zx-stat-row-pad":`${n}px`},children:e})})}function eD({title:e,value:t,sub:n,icon:r,accent:i,delta:a,deltaLabel:o=`较昨日`,deltaFormat:s=`absolute`,onClick:c,active:l=!1,className:u}){let d=typeof c==`function`,f=/* @__PURE__ */ Oa(Ea,{children:[/* @__PURE__ */ Da(`span`,{className:`zx-stat__value`,style:i?{color:i}:void 0,children:t}),/* @__PURE__ */ Oa(`span`,{className:`zx-stat__title`,children:[r&&/* @__PURE__ */ Da(`span`,{className:`zx-stat__icon`,style:i?{color:i}:void 0,children:r}),e]}),n!=null&&n!==``&&/* @__PURE__ */ Da(`span`,{className:`zx-stat__sub`,children:n}),a!=null&&Number.isFinite(a)&&/* @__PURE__ */ Oa(`span`,{className:`zx-stat__delta zx-stat__delta--${a>=0?`up`:`down`}`,children:[o,` `,a>=0?`+`:``,s===`ratio`?`${(a*100).toFixed(1)}%`:a]})]}),p=[`zx-stat`,d&&`zx-stat--interactive`,d&&l&&`zx-stat--active`,u].filter(Boolean).join(` `);return d?/* @__PURE__ */ Da(`button`,{type:`button`,className:p,onClick:c,"aria-pressed":l,style:l&&i?{boxShadow:`inset 0 -2px 0 ${i}`}:void 0,children:f}):/* @__PURE__ */ Da(`div`,{className:p,children:f})}function tD(){return(tD=e((()=>{})))()}export{gb as $,wp as $n,Kc as $r,ig as $t,bT as A,ja as Ai,xm as An,bu as Ar,rv as At,qx as B,Bp as Bn,vl as Br,L_ as Bt,uE as C,ao as Ci,Gm as Cn,Pd as Cr,Nv as Ct,oE as D,La as Di,Tm as Dn,id as Dr,lv as Dt,aE as E,io as Ei,wm as En,Q as Er,yv as Et,bw as F,Yp as Fn,uu as Fr,Z_ as Ft,mx as G,Fp as Gn,Y as Gr,g_ as Gt,Mx as H,Ip as Hn,K as Hr,D_ as Ht,hw as I,om as In,Al as Ir,G_ as It,Eb as J,Mp as Jn,el as Jr,Jg as Jt,qb as K,zp as Kn,rl as Kr,d_ as Kt,mw as L,im as Ln,jl as Lr,K_ as Lt,Vw as M,bm as Mn,xu as Mr,tv as Mt,Bw as N,sm as Nn,gu as Nr,ev as Nt,TT as O,B as Oi,Sm as On,Z as Or,dv as Ot,xw as P,cm as Pn,vu as Pr,X_ as Pt,_b as Q,Cp as Qn,Gc as Qr,ng as Qt,QC as R,$p as Rn,Ol as Rr,U_ as Rt,lE as S,bo as Si,Zm as Sn,Fd as Sr,Fv as St,sE as T,eo as Ti,Km as Tn,Cd as Tr,vv as Tt,jx as U,Rp as Un,J as Ur,E_ as Ut,Kx as V,Jp as Vn,X as Vr,R_ as Vt,hx as W,Lp as Wn,ll as Wr,__ as Wt,wb as X,Ep as Xn,Uc as Xr,gg as Xt,Tb as Y,Pp as Yn,$c as Yr,qg as Yt,Cb as Z,Op as Zn,Wc as Zr,_g as Zt,AE as _,Ao as _i,dh as _n,mf as _r,Uv as _t,zE as a,pc as ai,Gh as an,Xf as ar,Fy as at,_E as b,_o as bi,th as bn,zd as br,Rv as bt,RE as c,as as ci,eg as cn,Yf as cr,Ny as ct,GE as d,ts as di,tg as dn,cf as dr,oy as dt,mc as ei,qh as en,sp as er,pb as et,XE as f,$o as fi,gh as fn,uf as fr,ay as ft,xE as g,Oo as gi,fh as gn,ff as gr,Gv as gt,SE as h,qo as hi,mh as hn,hf as hr,Kv as ht,QE as i,W as ii,Zh as in,ip as ir,lb as it,yT as j,Ma as ji,ym as jn,yu as jr,nv as jt,wT as k,V as ki,Cm as kn,Su as kr,fv as kt,JE as l,us as li,$h as ln,Tf as lr,yy as lt,OE as m,Ko as mi,hh as mn,Sf as mr,Jv as mt,$E as n,bc as ni,Yh as nn,np as nr,cb as nt,BE as o,H as oi,Kh as on,Qf as or,Iy as ot,WE as p,Zo as pi,_h as pn,lf as pr,Yv as pt,Kb as q,jp as qn,ol as qr,u_ as qt,tD as r,Ac as ri,Xh as rn,rp as rr,ub as rt,ZE as s,U as si,Wh as sn,Jf as sr,My as st,eD as t,hc as ti,Jh as tn,cp as tr,fb as tt,VE as u,ds as ui,Qh as un,Cf as ur,vy as ut,TE as v,To as vi,$m as vn,df as vr,Hv as vt,cE as w,go as wi,Um as wn,Sd as wr,Mv as wt,pE as x,vo as xi,Qm as xn,Nd as xr,Iv as xt,kE as y,Do as yi,eh as yn,Rd as yr,zv as yt,ZC as z,Xp as zn,kl as zr,W_ as zt};
12
- //# sourceMappingURL=StatCard-BROG4NSp.js.map
12
+ //# sourceMappingURL=StatCard-CRPfkSBY.js.map