chunk-vendors-53534d1f.392d012d.js 18 KB

12
  1. (self["webpackChunkapp"]=self["webpackChunkapp"]||[]).push([[2107],{22881:function(t,e,i){i(26884),i(48681),i(15229)},15229:function(t,e,i){var n=i(38175),o=(n.__DEV__,i(70492)),r=i(33051),a=i(58608),l=i(51177),s=["axisLine","axisTickLabel","axisName"],c=o.extendComponentView({type:"radar",render:function(t,e,i){var n=this.group;n.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes(),n=r.map(i,(function(t){var i=new a(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return i}));r.each(n,(function(t){r.each(s,t.add,t),this.group.add(t.getGroup())}),this)},_buildSplitLineAndArea:function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes();if(i.length){var n=t.get("shape"),o=t.getModel("splitLine"),a=t.getModel("splitArea"),s=o.getModel("lineStyle"),c=a.getModel("areaStyle"),h=o.get("show"),g=a.get("show"),d=s.get("color"),u=c.get("color");d=r.isArray(d)?d:[d],u=r.isArray(u)?u:[u];var p=[],m=[];if("circle"===n)for(var y=i[0].getTicksCoords(),f=e.cx,v=e.cy,x=0;x<y.length;x++){if(h){var b=I(p,d,x);p[b].push(new l.Circle({shape:{cx:f,cy:v,r:y[x].coord}}))}if(g&&x<y.length-1){b=I(m,u,x);m[b].push(new l.Ring({shape:{cx:f,cy:v,r0:y[x].coord,r:y[x+1].coord}}))}}else{var _,S=r.map(i,(function(t,i){var n=t.getTicksCoords();return _=null==_?n.length-1:Math.min(n.length-1,_),r.map(n,(function(t){return e.coordToPoint(t.coord,i)}))})),C=[];for(x=0;x<=_;x++){for(var w=[],P=0;P<i.length;P++)w.push(S[P][x]);if(w[0]&&w.push(w[0].slice()),h){b=I(p,d,x);p[b].push(new l.Polyline({shape:{points:w}}))}if(g&&C){b=I(m,u,x-1);m[b].push(new l.Polygon({shape:{points:w.concat(C)}}))}C=w.slice().reverse()}}var T=s.getLineStyle(),A=c.getAreaStyle();r.each(m,(function(t,e){this.group.add(l.mergePath(t,{style:r.defaults({stroke:"none",fill:u[e%u.length]},A),silent:!0}))}),this),r.each(p,(function(t,e){this.group.add(l.mergePath(t,{style:r.defaults({fill:"none",stroke:d[e%d.length]},T),silent:!0}))}),this)}function I(t,e,i){var n=i%e.length;return t[n]=t[n]||[],n}}});t.exports=c},48540:function(t,e,i){i(90580),i(81832)},84066:function(t,e,i){var n=i(70492);i(2798),i(55165),i(35203),i(52528),i(16795),n.extendComponentView({type:"single"})},56913:function(t,e,i){var n=i(70492),o=i(28642);i(94015),i(4569),i(13142),i(99032),n.registerPreprocessor(o)},13142:function(t,e,i){var n=i(33051),o=i(84355),r=i(61219),a=o.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});n.mixin(a,r);var l=a;t.exports=l},99032:function(t,e,i){var n=i(33051),o=i(60479),r=i(32892),a=i(51177),l=i(76172),s=i(51640),c=i(22631),h=i(41525),g=h.createSymbol,d=i(97980),u=i(85669),p=i(78988),m=p.encodeHTML,y=n.bind,f=n.each,v=Math.PI,x=s.extend({type:"timeline.slider",init:function(t,e){this.api=e,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(t,e,i,n){if(this.model=t,this.api=i,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var o=this._layout(t,i),r=this._createGroup("mainGroup"),a=this._createGroup("labelGroup"),l=this._axis=this._createAxis(o,t);t.formatTooltip=function(t){return m(l.scale.getLabel(t))},f(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](o,r,l,t)}),this),this._renderAxisLabel(o,a,l,t),this._position(o,t)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(t,e){var i=t.get("label.position"),n=t.get("orient"),o=b(t,e);null==i||"auto"===i?i="horizontal"===n?o.y+o.height/2<e.getHeight()/2?"-":"+":o.x+o.width/2<e.getWidth()/2?"+":"-":isNaN(i)&&(i={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[n][i]);var r,a,l,s,c={horizontal:"center",vertical:i>=0||"+"===i?"left":"right"},h={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},g={horizontal:0,vertical:v/2},d="vertical"===n?o.height:o.width,u=t.getModel("controlStyle"),p=u.get("show",!0),m=p?u.get("itemSize"):0,y=p?u.get("itemGap"):0,f=m+y,x=t.get("label.rotate")||0;x=x*v/180;var _=u.get("position",!0),S=p&&u.get("showPlayBtn",!0),C=p&&u.get("showPrevBtn",!0),w=p&&u.get("showNextBtn",!0),P=0,T=d;return"left"===_||"bottom"===_?(S&&(r=[0,0],P+=f),C&&(a=[P,0],P+=f),w&&(l=[T-m,0],T-=f)):(S&&(r=[T-m,0],T-=f),C&&(a=[0,0],P+=f),w&&(l=[T-m,0],T-=f)),s=[P,T],t.get("inverse")&&s.reverse(),{viewRect:o,mainLength:d,orient:n,rotation:g[n],labelRotation:x,labelPosOpt:i,labelAlign:t.get("label.align")||c[n],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||h[n],playPosition:r,prevBtnPosition:a,nextBtnPosition:l,axisExtent:s,controlSize:m,controlGap:y}},_position:function(t,e){var i=this._mainGroup,n=this._labelGroup,o=t.viewRect;if("vertical"===t.orient){var a=r.create(),l=o.x,s=o.y+o.height;r.translate(a,a,[-l,-s]),r.rotate(a,a,-v/2),r.translate(a,a,[l,s]),o=o.clone(),o.applyTransform(a)}var c=f(o),h=f(i.getBoundingRect()),g=f(n.getBoundingRect()),d=i.position,u=n.position;u[0]=d[0]=c[0][0];var p=t.labelPosOpt;if(isNaN(p)){var m="+"===p?0:1;x(d,h,c,1,m),x(u,g,c,1,1-m)}else{m=p>=0?0:1;x(d,h,c,1,m),u[1]=d[1]+p}function y(t){var e=t.position;t.origin=[c[0][0]-e[0],c[1][0]-e[1]]}function f(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function x(t,e,i,n,o){t[n]+=i[n][o]-e[n][o]}i.attr("position",d),n.attr("position",u),i.rotation=n.rotation=t.rotation,y(i),y(n)},_createAxis:function(t,e){var i=e.getData(),n=e.get("axisType"),o=d.createScaleByModel(e,n);o.getTicks=function(){return i.mapArray(["value"],(function(t){return t}))};var r=i.getDataExtent("value");o.setExtent(r[0],r[1]),o.niceTicks();var a=new c("value",o,t.axisExtent,n);return a.model=e,a},_createGroup:function(t){var e=this["_"+t]=new a.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,i,o){var r=i.getExtent();o.get("lineStyle.show")&&e.add(new a.Line({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:n.extend({lineCap:"round"},o.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,i,n){var o=n.getData(),r=i.scale.getTicks();f(r,(function(t){var r=i.dataToCoord(t),l=o.getItemModel(t),s=l.getModel("itemStyle"),c=l.getModel("emphasis.itemStyle"),h={position:[r,0],onclick:y(this._changeTimeline,this,t)},g=S(l,s,e,h);a.setHoverStyle(g,c.getItemStyle()),l.get("tooltip")?(g.dataIndex=t,g.dataModel=n):g.dataIndex=g.dataModel=null}),this)},_renderAxisLabel:function(t,e,i,n){var o=i.getLabelModel();if(o.get("show")){var r=n.getData(),l=i.getViewLabels();f(l,(function(n){var o=n.tickValue,l=r.getItemModel(o),s=l.getModel("label"),c=l.getModel("emphasis.label"),h=i.dataToCoord(n.tickValue),g=new a.Text({position:[h,0],rotation:t.labelRotation-t.rotation,onclick:y(this._changeTimeline,this,o),silent:!1});a.setTextStyle(g.style,s,{text:n.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(g),a.setHoverStyle(g,a.setTextStyle({},c))}),this)}},_renderControl:function(t,e,i,n){var o=t.controlSize,r=t.rotation,l=n.getModel("controlStyle").getItemStyle(),s=n.getModel("emphasis.controlStyle").getItemStyle(),c=[0,-o/2,o,o],h=n.getPlayState(),g=n.get("inverse",!0);function d(t,i,h,g){if(t){var d={position:t,origin:[o/2,0],rotation:g?-r:0,rectHover:!0,style:l,onclick:h},u=_(n,i,c,d);e.add(u),a.setHoverStyle(u,s)}}d(t.nextBtnPosition,"controlStyle.nextIcon",y(this._changeTimeline,this,g?"-":"+")),d(t.prevBtnPosition,"controlStyle.prevIcon",y(this._changeTimeline,this,g?"+":"-")),d(t.playPosition,"controlStyle."+(h?"stopIcon":"playIcon"),y(this._handlePlayClick,this,!h),!0)},_renderCurrentPointer:function(t,e,i,n){var o=n.getData(),r=n.getCurrentIndex(),a=o.getItemModel(r).getModel("checkpointStyle"),l=this,s={onCreate:function(t){t.draggable=!0,t.drift=y(l._handlePointerDrag,l),t.ondragend=y(l._handlePointerDragend,l),C(t,r,i,n,!0)},onUpdate:function(t){C(t,r,i,n)}};this._currentPointer=S(a,a,this._mainGroup,{},this._currentPointer,s)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var i=this._toAxisCoord(t)[0],n=this._axis,o=u.asc(n.getExtent().slice());i>o[1]&&(i=o[1]),i<o[0]&&(i=o[0]),this._currentPointer.position[0]=i,this._currentPointer.dirty();var r=this._findNearestTick(i),a=this.model;(e||r!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(r)},_doPlayStop:function(){function t(){var t=this.model;this._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))}this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(y(t,this),this.model.get("playInterval")))},_toAxisCoord:function(t){var e=this._mainGroup.getLocalTransform();return a.applyTransform(t,e,!0)},_findNearestTick:function(t){var e,i=this.model.getData(),n=1/0,o=this._axis;return i.each(["value"],(function(i,r){var a=o.dataToCoord(i),l=Math.abs(a-t);l<n&&(n=l,e=r)})),e},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})}});function b(t,e){return l.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}function _(t,e,i,r){var l=a.makePath(t.get(e).replace(/^path:\/\//,""),n.clone(r||{}),new o(i[0],i[1],i[2],i[3]),"center");return l}function S(t,e,i,o,r,a){var l=e.get("color");if(r)r.setColor(l),i.add(r),a&&a.onUpdate(r);else{var s=t.get("symbol");r=g(s,-1,-1,2,2,l),r.setStyle("strokeNoScale",!0),i.add(r),a&&a.onCreate(r)}var c=e.getItemStyle(["color","symbol","symbolSize"]);r.setStyle(c),o=n.merge({rectHover:!0,z2:100},o,!0);var h=t.get("symbolSize");h=h instanceof Array?h.slice():[+h,+h],h[0]/=2,h[1]/=2,o.scale=h;var d=t.get("symbolOffset");if(d){var p=o.position=o.position||[0,0];p[0]+=u.parsePercent(d[0],h[0]),p[1]+=u.parsePercent(d[1],h[1])}var m=t.get("symbolRotate");return o.rotation=(m||0)*Math.PI/180||0,r.attr(o),r.updateTransform(),r}function C(t,e,i,n,o){if(!t.dragging){var r=n.getModel("checkpointStyle"),a=i.dataToCoord(n.getData().get(["value"],e));o||!r.get("animation",!0)?t.attr({position:[a,0]}):(t.stopAnimation(!0),t.animateTo({position:[a,0]},r.get("animationDuration",!0),r.get("animationEasing",!0)))}}t.exports=x},22631:function(t,e,i){var n=i(33051),o=i(3245),r=function(t,e,i,n){o.call(this,t,e,i),this.type=n||"value",this.model=null};r.prototype={constructor:r,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},n.inherits(r,o);var a=r;t.exports=a},84355:function(t,e,i){var n=i(33051),o=i(98071),r=i(87587),a=i(32234),l=o.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(t,e,i){this._data,this._names,this.mergeDefaultAndTheme(t,i),this._initData()},mergeOption:function(t){l.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t=this.option,e=t.data||[],i=t.axisType,o=this._names=[];if("category"===i){var l=[];n.each(e,(function(t,e){var i,r=a.getDataItemValue(t);n.isObject(t)?(i=n.clone(t),i.value=e):i=e,l.push(i),n.isString(r)||null!=r&&!isNaN(r)||(r=""),o.push(r+"")})),e=l}var s={category:"ordinal",time:"time"}[i]||"number",c=this._data=new r([{name:"value",type:s}],this);c.initData(e,o)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),s=l;t.exports=s},51640:function(t,e,i){var n=i(33166),o=n.extend({type:"timeline"});t.exports=o},28642:function(t,e,i){var n=i(33051);function o(t){var e=t&&t.timeline;n.isArray(e)||(e=e?[e]:[]),n.each(e,(function(t){t&&r(t)}))}function r(t){var e=t.type,i={number:"value",time:"time"};if(i[e]&&(t.axisType=i[e],delete t.type),a(t),l(t,"controlPosition")){var o=t.controlStyle||(t.controlStyle={});l(o,"position")||(o.position=t.controlPosition),"none"!==o.position||l(o,"show")||(o.show=!1,delete o.position),delete t.controlPosition}n.each(t.data||[],(function(t){n.isObject(t)&&!n.isArray(t)&&(!l(t,"value")&&l(t,"name")&&(t.value=t.name),a(t))}))}function a(t){var e=t.itemStyle||(t.itemStyle={}),i=e.emphasis||(e.emphasis={}),o=t.label||t.label||{},r=o.normal||(o.normal={}),a={normal:1,emphasis:1};n.each(o,(function(t,e){a[e]||l(r,e)||(r[e]=t)})),i.label&&!l(o,"emphasis")&&(o.emphasis=i.label,delete i.label)}function l(t,e){return t.hasOwnProperty(e)}t.exports=o},4569:function(t,e,i){var n=i(70492),o=i(33051);n.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e){var i=e.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.setPlayState(!1)),e.resetOption("timeline"),o.defaults({currentIndex:i.option.currentIndex},t)})),n.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var i=e.getComponent("timeline");i&&null!=t.playState&&i.setPlayState(t.playState)}))},94015:function(t,e,i){var n=i(98071);n.registerSubTypeDefaulter("timeline",(function(){return"slider"}))},21865:function(t,e,i){var n=i(33051),o=i(70492),r=i(51177),a=i(76172),l=a.getLayoutRect,s=i(78988),c=s.windowOpen;o.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),o.extendComponentView({type:"title",render:function(t,e,i){if(this.group.removeAll(),t.get("show")){var o=this.group,a=t.getModel("textStyle"),s=t.getModel("subtextStyle"),h=t.get("textAlign"),g=n.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),d=new r.Text({style:r.setTextStyle({},a,{text:t.get("text"),textFill:a.getTextColor()},{disableBox:!0}),z2:10}),u=d.getBoundingRect(),p=t.get("subtext"),m=new r.Text({style:r.setTextStyle({},s,{text:p,textFill:s.getTextColor(),y:u.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),y=t.get("link"),f=t.get("sublink"),v=t.get("triggerEvent",!0);d.silent=!y&&!v,m.silent=!f&&!v,y&&d.on("click",(function(){c(y,"_"+t.get("target"))})),f&&m.on("click",(function(){c(y,"_"+t.get("subtarget"))})),d.eventData=m.eventData=v?{componentType:"title",componentIndex:t.componentIndex}:null,o.add(d),p&&o.add(m);var x=o.getBoundingRect(),b=t.getBoxLayoutParams();b.width=x.width,b.height=x.height;var _=l(b,{width:i.getWidth(),height:i.getHeight()},t.get("padding"));h||(h=t.get("left")||t.get("right"),"middle"===h&&(h="center"),"right"===h?_.x+=_.width:"center"===h&&(_.x+=_.width/2)),g||(g=t.get("top")||t.get("bottom"),"center"===g&&(g="middle"),"bottom"===g?_.y+=_.height:"middle"===g&&(_.y+=_.height/2),g=g||"top"),o.attr("position",[_.x,_.y]);var S={textAlign:h,textVerticalAlign:g};d.setStyle(S),m.setStyle(S),x=o.getBoundingRect();var C=_.margin,w=t.getItemStyle(["color","opacity"]);w.fill=t.get("backgroundColor");var P=new r.Rect({shape:{x:x.x-C[3],y:x.y-C[0],width:x.width+C[1]+C[3],height:x.height+C[0]+C[2],r:t.get("borderRadius")},style:w,subPixelOptimize:!0,silent:!0});o.add(P)}}})}}]);
  2. //# sourceMappingURL=chunk-vendors-53534d1f.392d012d.js.map