import{p as l,bE as o,r as e,j as c,bF as p,bG as b,bH as u,bJ as m,bK as f,bP as h,bL as E,bM as d}from"./index-CKIL6d0V.js";const x=l.div`
  height: 100%;

`;o([p,b,u,m,f,h]);let s=null;const $=e.memo(a=>{const{option:n}=a,t=e.useRef(null),i=r=>{s=E(t.current),s||(s=d(t.current)),s.setOption(r),window.addEventListener("onresize",()=>{s.resize()})};return e.useEffect(()=>{i(n)}),c.jsx(x,{ref:t})});$.displayName="PieCharts";export{$ as P};
