import{d4 as S,d5 as C,d6 as Y,d7 as U,d8 as _,d9 as P,da as H,db as T,dc as N,dd as V,de as j,df as w,dg as z,dh as W,di as R,dj as K,dk as q,dl as F,dm as A,dn as O,dp as X,dq as I,dr as $}from"./index.76214426.js";function J(l){if(l){for(var i=[],r=0;r=0&&a.attr(o.oldLayoutSelect),O(g,"emphasis")>=0&&a.attr(o.oldLayoutEmphasis)),X(a,v,r,d)}else if(a.attr(v),!q(a).valueAnimation){var c=F(a.style.opacity,1);a.style.opacity=0,A(a,{style:{opacity:c}},r,d)}if(o.oldLayout=v,a.states.select){var L=o.oldLayoutSelect={};y(L,v,x),y(L,a.states.select,x)}if(a.states.emphasis){var u=o.oldLayoutEmphasis={};y(u,v,x),y(u,a.states.emphasis,x)}I(a,d,s,r,r)}if(e&&!e.ignore&&!e.invisible){var o=Z(e),t=o.oldLayout,p={points:e.shape.points};t?(e.attr({shape:t}),X(e,{shape:p},r)):(e.setShape(p),e.style.strokePercent=0,A(e,{style:{strokePercent:1}},r)),o.oldLayout=p}},l}();const ee=k;var m=S();function te(l){l.registerUpdateLifecycle("series:beforeupdate",function(i,r,a){var e=m(r).labelManager;e||(e=m(r).labelManager=new ee),e.clearLabels()}),l.registerUpdateLifecycle("series:layoutlabels",function(i,r,a){var e=m(r).labelManager;a.updatedSeries.forEach(function(o){e.addLabelsOfSeries(r.getViewOfSeriesModel(o))}),e.updateLayoutConfig(r),e.layout(r),e.processLabelsOverall()})}export{te as i};