
/* Smart UI v9.1.69 (2021-03-15) 
Copyright (c) 2011-2021 jQWidgets. 
License: https://htmlelements.com/license/ */ //

!function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=11)}({11:function(t,e){!function(){"use strict";Smart.Chart&&(Smart.Chart.prototype._moduleAnnotations=!0,Smart.Chart.prototype._renderAnnotation=function(t,e){const n=this.seriesGroups[t],i=this.renderer;if(isNaN(t))return;let o=this._get([this.getXAxisDataPointOffset(e.xValue,t),e.x]),r=this._get([this.getValueAxisDataPointOffset(e.yValue,t),e.y]),a=this._get([this.getXAxisDataPointOffset(e.xValue2,t),e.x2]),s=this._get([this.getValueAxisDataPointOffset(e.yValue2,t),e.y2]);if(n.polar||n.spider){const n=this.getPolarDataPointOffset(e.xValue,e.yValue,t);!n||isNaN(n.x)||isNaN(n.y)?(o=e.x,r=e.y):(o=n.x,r=n.y)}if(isNaN(r)||isNaN(o))return!1;if("horizontal"===n.orientation){let t=o;o=r,r=t,t=a,a=s,s=t}e.offset&&(isNaN(e.offset.x)||(o+=e.offset.x,a+=e.offset.x),isNaN(e.offset.y)||(r+=e.offset.y,s+=e.offset.y));const l=this._get([e.width,a-o]),f=this._get([e.height,s-r]);let c,u;switch(e.type){case"rect":c=i.rect(o,r,l,f);break;case"circle":c=i.rect(o,r,e.radius);break;case"line":c=i.rect(o,r,a,s);break;case"path":c=i.path(e.path)}if(c&&i.attr(c,{fill:e.fillColor,stroke:e.lineColor,opacity:this._get([e.fillOpacity,e.opacity]),"stroke-opacity":this._get([e.lineOpacity,e.opacity]),"stroke-width":e.lineWidth,"stroke-dasharray":e.dashStyle||"none"}),e.text){const t=e.text;let n=0,a=0;t.offset&&(isNaN(t.offset.x)||(n+=t.offset.x),isNaN(t.offset.y)||(a+=t.offset.y)),u=i.text(t.value,o+n,r+a,NaN,NaN,t.angle,{},!0===t.clip,t.horizontalAlignment||"center",t.verticalAlignment||"center",t.rotationPoint||"centermiddle"),i.attr(u,{fill:t.fillColor,stroke:t.lineColor,class:"smart-chart-annotation-text "+(t.class||"")})}const h=["click","mouseenter","mouseleave"],p=this;for(let t=0;t<h.length;t++){const n=h[t];c&&this.renderer.addHandler(c,n,(function(){p._raiseAnnotationEvent(e,n)})),u&&this.renderer.addHandler(u,n,(function(){p._raiseAnnotationEvent(e,n)}))}},Smart.Chart.prototype._raiseAnnotationEvent=function(t,e){this.$.fireEvent("annotation"+e.charAt(0).toUpperCase()+e.slice(1),{annotation:t})})}()}});